{"ast":null,"code":"import { FormGroup, FormControl, Validators } from '@angular/forms';\nimport { SuccessModalComponent } from 'src/app/shared/modals/success-modal/success-modal.component';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"src/app/shared/services/repository.service\";\nimport * as i2 from \"src/app/shared/services/repository-error-handler.service\";\nimport * as i3 from \"@angular/router\";\nimport * as i4 from \"ngx-bootstrap/modal\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"@angular/material/core\";\nimport * as i7 from \"@angular/material/checkbox\";\nimport * as i8 from \"@angular/material/form-field\";\nimport * as i9 from \"@angular/material/input\";\nimport * as i10 from \"@angular/material/select\";\nimport * as i11 from \"@angular/material/card\";\nimport * as i12 from \"@angular/material/button\";\nimport * as i13 from \"@angular/flex-layout/flex\";\nimport * as i14 from \"@angular/forms\";\nfunction UpdateDeviceComponent_mat_error_11_Template(rf, ctx) {\n  if (rf & 1) {\n    i0.ɵɵelementStart(0, \"mat-error\");\n    i0.ɵɵtext(1, \"\\u0130sim Gerekli\");\n    i0.ɵɵelementEnd();\n  }\n}\nfunction UpdateDeviceComponent_mat_error_12_Template(rf, ctx) {\n  if (rf & 1) {\n    i0.ɵɵelementStart(0, \"mat-error\");\n    i0.ɵɵtext(1, \"60'tan fazla karakteriniz var\");\n    i0.ɵɵelementEnd();\n  }\n}\nfunction UpdateDeviceComponent_mat_error_17_Template(rf, ctx) {\n  if (rf & 1) {\n    i0.ɵɵelementStart(0, \"mat-error\");\n    i0.ɵɵtext(1, \"Seri Numaras\\u0131 gerekli\");\n    i0.ɵɵelementEnd();\n  }\n}\nfunction UpdateDeviceComponent_mat_error_18_Template(rf, ctx) {\n  if (rf & 1) {\n    i0.ɵɵelementStart(0, \"mat-error\");\n    i0.ɵɵtext(1, \"You have more than 100 characters\");\n    i0.ɵɵelementEnd();\n  }\n}\nfunction UpdateDeviceComponent_mat_option_21_Template(rf, ctx) {\n  if (rf & 1) {\n    i0.ɵɵelementStart(0, \"mat-option\", 15);\n    i0.ɵɵtext(1);\n    i0.ɵɵelementEnd();\n  }\n  if (rf & 2) {\n    const category_r1 = ctx.$implicit;\n    i0.ɵɵproperty(\"value\", category_r1.id);\n    i0.ɵɵadvance();\n    i0.ɵɵtextInterpolate1(\" \", category_r1.name, \" \");\n  }\n}\nfunction UpdateDeviceComponent_mat_error_22_Template(rf, ctx) {\n  if (rf & 1) {\n    i0.ɵɵelementStart(0, \"mat-error\");\n    i0.ɵɵtext(1, \"Category is required\");\n    i0.ɵɵelementEnd();\n  }\n}\nfunction UpdateDeviceComponent_mat_option_25_Template(rf, ctx) {\n  if (rf & 1) {\n    i0.ɵɵelementStart(0, \"mat-option\", 15);\n    i0.ɵɵtext(1);\n    i0.ɵɵelementEnd();\n  }\n  if (rf & 2) {\n    const brand_r2 = ctx.$implicit;\n    i0.ɵɵproperty(\"value\", brand_r2.id);\n    i0.ɵɵadvance();\n    i0.ɵɵtextInterpolate1(\" \", brand_r2.name, \" \");\n  }\n}\nfunction UpdateDeviceComponent_mat_error_26_Template(rf, ctx) {\n  if (rf & 1) {\n    i0.ɵɵelementStart(0, \"mat-error\");\n    i0.ɵɵtext(1, \"Brand is required\");\n    i0.ɵɵelementEnd();\n  }\n}\nfunction UpdateDeviceComponent_mat_option_29_Template(rf, ctx) {\n  if (rf & 1) {\n    i0.ɵɵelementStart(0, \"mat-option\", 15);\n    i0.ɵɵtext(1);\n    i0.ɵɵelementEnd();\n  }\n  if (rf & 2) {\n    const supplier_r3 = ctx.$implicit;\n    i0.ɵɵproperty(\"value\", supplier_r3.id);\n    i0.ɵɵadvance();\n    i0.ɵɵtextInterpolate1(\" \", supplier_r3.name, \" \");\n  }\n}\nfunction UpdateDeviceComponent_mat_error_30_Template(rf, ctx) {\n  if (rf & 1) {\n    i0.ɵɵelementStart(0, \"mat-error\");\n    i0.ɵɵtext(1, \"Supplier is required\");\n    i0.ɵɵelementEnd();\n  }\n}\nexport class UpdateDeviceComponent {\n  constructor(repository, errorHandler, router, modal, route) {\n    this.repository = repository;\n    this.errorHandler = errorHandler;\n    this.router = router;\n    this.modal = modal;\n    this.route = route;\n    this.errorMessage = '';\n    this.deviceId = '';\n    this.categories = [];\n    this.brands = [];\n    this.suppliers = [];\n    this.initializeForm = () => {\n      if (this.deviceId) {\n        this.repository.getData(`api/devices/${this.deviceId}`).subscribe({\n          next: device => {\n            this.deviceForm.patchValue({\n              name: device.name,\n              serialNumber: device.serialNumber,\n              categoryId: device.categoryId,\n              brandId: device.brandId,\n              supplierId: device.supplierId,\n              isFaulty: device.isFaulty\n            });\n          },\n          error: err => {\n            this.errorHandler.handleError(err);\n            this.errorMessage = this.errorHandler.errorMessage;\n          }\n        });\n      }\n    };\n    this.getCategories = () => {\n      this.repository.getData('api/categories').subscribe({\n        next: categories => this.categories = categories,\n        error: err => {\n          this.errorHandler.handleError(err);\n          this.errorMessage = this.errorHandler.errorMessage;\n        }\n      });\n    };\n    this.getBrands = () => {\n      this.repository.getData('api/brands').subscribe({\n        next: brands => this.brands = brands,\n        error: err => {\n          this.errorHandler.handleError(err);\n          this.errorMessage = this.errorHandler.errorMessage;\n        }\n      });\n    };\n    this.getSuppliers = () => {\n      this.repository.getData('api/suppliers').subscribe({\n        next: suppliers => this.suppliers = suppliers,\n        error: err => {\n          this.errorHandler.handleError(err);\n          this.errorMessage = this.errorHandler.errorMessage;\n        }\n      });\n    };\n    this.validateControl = controlName => {\n      if (this.deviceForm.get(controlName).invalid && this.deviceForm.get(controlName).touched) return true;\n      return false;\n    };\n    this.hasError = (controlName, errorName) => {\n      if (this.deviceForm.get(controlName).hasError(errorName)) return true;\n      return false;\n    };\n    this.updateDevice = deviceFormValue => {\n      if (this.deviceForm.valid) this.executeDeviceUpdate(deviceFormValue);\n    };\n    this.executeDeviceUpdate = deviceFormValue => {\n      const updatedDevice = {\n        id: this.deviceId ? this.deviceId : '',\n        name: deviceFormValue.name,\n        serialNumber: deviceFormValue.serialNumber,\n        categoryId: deviceFormValue.categoryId,\n        brandId: deviceFormValue.brandId,\n        supplierId: deviceFormValue.supplierId,\n        isFaulty: deviceFormValue.isFaulty\n      };\n      const apiUrl = `api/devices/${this.deviceId}`;\n      this.repository.update(apiUrl, updatedDevice).subscribe({\n        next: () => {\n          const config = {\n            initialState: {\n              modalHeaderText: 'Success Message',\n              modalBodyText: `Device: ${updatedDevice.name} updated successfully`,\n              okButtonText: 'OK'\n            }\n          };\n          this.bsModalRef = this.modal.show(SuccessModalComponent, config);\n          this.bsModalRef.content.redirectOnOk.subscribe(() => this.redirectToDeviceList());\n        },\n        error: err => {\n          this.errorHandler.handleError(err);\n          this.errorMessage = this.errorHandler.errorMessage;\n        }\n      });\n    };\n    this.redirectToDeviceList = () => {\n      this.router.navigate(['/ui-components/device']);\n    };\n  }\n  ngOnInit() {\n    this.deviceId = this.route.snapshot.paramMap.get('id');\n    this.deviceForm = new FormGroup({\n      name: new FormControl('', [Validators.required, Validators.maxLength(60)]),\n      serialNumber: new FormControl('', [Validators.required, Validators.maxLength(100)]),\n      categoryId: new FormControl('', [Validators.required]),\n      brandId: new FormControl('', [Validators.required]),\n      supplierId: new FormControl('', [Validators.required]),\n      isFaulty: new FormControl(false)\n    });\n    this.initializeForm();\n    this.getCategories();\n    this.getBrands();\n    this.getSuppliers();\n  }\n  static #_ = this.ɵfac = function UpdateDeviceComponent_Factory(t) {\n    return new (t || UpdateDeviceComponent)(i0.ɵɵdirectiveInject(i1.RepositoryService), i0.ɵɵdirectiveInject(i2.RepositoryErrorHandlerService), i0.ɵɵdirectiveInject(i3.Router), i0.ɵɵdirectiveInject(i4.BsModalService), i0.ɵɵdirectiveInject(i3.ActivatedRoute));\n  };\n  static #_2 = this.ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n    type: UpdateDeviceComponent,\n    selectors: [[\"app-update-device\"]],\n    decls: 38,\n    vars: 12,\n    consts: [[\"fxLayout\", \"row wrap\", \"fxLayoutAlign\", \"center center\"], [\"fxFlex\", \"500px\", \"fxFlex.xs\", \"100%\", 1, \"b-1\", \"shadow-none\"], [\"autocomplete\", \"off\", \"novalidate\", \"\", 3, \"ngSubmit\", \"formGroup\"], [\"appearance\", \"outline\", \"color\", \"primary\", 1, \"w-100\"], [\"matInput\", \"\", \"type\", \"text\", \"placeholder\", \"Device name\", \"formControlName\", \"name\", \"id\", \"name\"], [\"align\", \"end\"], [4, \"ngIf\"], [\"matInput\", \"\", \"type\", \"text\", \"placeholder\", \"Serial number\", \"formControlName\", \"serialNumber\", \"id\", \"serialNumber\"], [\"placeholder\", \"Select Category\", \"formControlName\", \"categoryId\", \"id\", \"categoryId\"], [3, \"value\", 4, \"ngFor\", \"ngForOf\"], [\"placeholder\", \"Select Brand\", \"formControlName\", \"brandId\", \"id\", \"brandId\"], [\"placeholder\", \"Select Supplier\", \"formControlName\", \"supplierId\", \"id\", \"supplierId\"], [\"formControlName\", \"isFaulty\"], [\"mat-flat-button\", \"\", \"color\", \"primary\", 1, \"w-100\", \"action-button\", 3, \"disabled\"], [\"type\", \"button\", \"mat-flat-button\", \"\", \"color\", \"warn\", 1, \"w-100\", 3, \"click\"], [3, \"value\"]],\n    template: function UpdateDeviceComponent_Template(rf, ctx) {\n      if (rf & 1) {\n        i0.ɵɵelementStart(0, \"section\", 0)(1, \"mat-card\", 1)(2, \"mat-card-header\")(3, \"mat-card-title\");\n        i0.ɵɵtext(4, \"Cihaz G\\u00FCncelle\");\n        i0.ɵɵelementEnd()();\n        i0.ɵɵelementStart(5, \"form\", 2);\n        i0.ɵɵlistener(\"ngSubmit\", function UpdateDeviceComponent_Template_form_ngSubmit_5_listener() {\n          return ctx.updateDevice(ctx.deviceForm.value);\n        });\n        i0.ɵɵelementStart(6, \"mat-card-content\")(7, \"mat-form-field\", 3);\n        i0.ɵɵelement(8, \"input\", 4);\n        i0.ɵɵelementStart(9, \"mat-hint\", 5);\n        i0.ɵɵtext(10, \"60 karakterden uzun olmamal\\u0131d\\u0131r.\");\n        i0.ɵɵelementEnd();\n        i0.ɵɵtemplate(11, UpdateDeviceComponent_mat_error_11_Template, 2, 0, \"mat-error\", 6)(12, UpdateDeviceComponent_mat_error_12_Template, 2, 0, \"mat-error\", 6);\n        i0.ɵɵelementEnd();\n        i0.ɵɵelementStart(13, \"mat-form-field\", 3);\n        i0.ɵɵelement(14, \"input\", 7);\n        i0.ɵɵelementStart(15, \"mat-hint\", 5);\n        i0.ɵɵtext(16, \"Not more than 100 characters long.\");\n        i0.ɵɵelementEnd();\n        i0.ɵɵtemplate(17, UpdateDeviceComponent_mat_error_17_Template, 2, 0, \"mat-error\", 6)(18, UpdateDeviceComponent_mat_error_18_Template, 2, 0, \"mat-error\", 6);\n        i0.ɵɵelementEnd();\n        i0.ɵɵelementStart(19, \"mat-form-field\", 3)(20, \"mat-select\", 8);\n        i0.ɵɵtemplate(21, UpdateDeviceComponent_mat_option_21_Template, 2, 2, \"mat-option\", 9);\n        i0.ɵɵelementEnd();\n        i0.ɵɵtemplate(22, UpdateDeviceComponent_mat_error_22_Template, 2, 0, \"mat-error\", 6);\n        i0.ɵɵelementEnd();\n        i0.ɵɵelementStart(23, \"mat-form-field\", 3)(24, \"mat-select\", 10);\n        i0.ɵɵtemplate(25, UpdateDeviceComponent_mat_option_25_Template, 2, 2, \"mat-option\", 9);\n        i0.ɵɵelementEnd();\n        i0.ɵɵtemplate(26, UpdateDeviceComponent_mat_error_26_Template, 2, 0, \"mat-error\", 6);\n        i0.ɵɵelementEnd();\n        i0.ɵɵelementStart(27, \"mat-form-field\", 3)(28, \"mat-select\", 11);\n        i0.ɵɵtemplate(29, UpdateDeviceComponent_mat_option_29_Template, 2, 2, \"mat-option\", 9);\n        i0.ɵɵelementEnd();\n        i0.ɵɵtemplate(30, UpdateDeviceComponent_mat_error_30_Template, 2, 0, \"mat-error\", 6);\n        i0.ɵɵelementEnd();\n        i0.ɵɵelementStart(31, \"mat-checkbox\", 12);\n        i0.ɵɵtext(32, \"Is Faulty\");\n        i0.ɵɵelementEnd()();\n        i0.ɵɵelementStart(33, \"mat-card-actions\")(34, \"button\", 13);\n        i0.ɵɵtext(35, \"Update Device\");\n        i0.ɵɵelementEnd();\n        i0.ɵɵelementStart(36, \"button\", 14);\n        i0.ɵɵlistener(\"click\", function UpdateDeviceComponent_Template_button_click_36_listener() {\n          return ctx.redirectToDeviceList();\n        });\n        i0.ɵɵtext(37, \"Cancel\");\n        i0.ɵɵelementEnd()()()()();\n      }\n      if (rf & 2) {\n        i0.ɵɵadvance(5);\n        i0.ɵɵproperty(\"formGroup\", ctx.deviceForm);\n        i0.ɵɵadvance(6);\n        i0.ɵɵproperty(\"ngIf\", ctx.hasError(\"name\", \"required\"));\n        i0.ɵɵadvance();\n        i0.ɵɵproperty(\"ngIf\", ctx.hasError(\"name\", \"maxlength\"));\n        i0.ɵɵadvance(5);\n        i0.ɵɵproperty(\"ngIf\", ctx.hasError(\"serialNumber\", \"required\"));\n        i0.ɵɵadvance();\n        i0.ɵɵproperty(\"ngIf\", ctx.hasError(\"serialNumber\", \"maxlength\"));\n        i0.ɵɵadvance(3);\n        i0.ɵɵproperty(\"ngForOf\", ctx.categories);\n        i0.ɵɵadvance();\n        i0.ɵɵproperty(\"ngIf\", ctx.hasError(\"categoryId\", \"required\"));\n        i0.ɵɵadvance(3);\n        i0.ɵɵproperty(\"ngForOf\", ctx.brands);\n        i0.ɵɵadvance();\n        i0.ɵɵproperty(\"ngIf\", ctx.hasError(\"brandId\", \"required\"));\n        i0.ɵɵadvance(3);\n        i0.ɵɵproperty(\"ngForOf\", ctx.suppliers);\n        i0.ɵɵadvance();\n        i0.ɵɵproperty(\"ngIf\", ctx.hasError(\"supplierId\", \"required\"));\n        i0.ɵɵadvance(4);\n        i0.ɵɵproperty(\"disabled\", !ctx.deviceForm.valid);\n      }\n    },\n    dependencies: [i5.NgForOf, i5.NgIf, i6.MatOption, i7.MatCheckbox, i8.MatFormField, i8.MatHint, i8.MatError, i9.MatInput, i10.MatSelect, i11.MatCard, i11.MatCardActions, i11.MatCardContent, i11.MatCardHeader, i11.MatCardTitle, i12.MatButton, i13.DefaultLayoutDirective, i13.DefaultLayoutAlignDirective, i13.DefaultFlexDirective, i14.ɵNgNoValidate, i14.DefaultValueAccessor, i14.NgControlStatus, i14.NgControlStatusGroup, i14.FormGroupDirective, i14.FormControlName],\n    styles: [\"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZVJvb3QiOiIifQ== */\"]\n  });\n}","map":{"version":3,"names":["FormGroup","FormControl","Validators","SuccessModalComponent","i0","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵproperty","category_r1","id","ɵɵadvance","ɵɵtextInterpolate1","name","brand_r2","supplier_r3","UpdateDeviceComponent","constructor","repository","errorHandler","router","modal","route","errorMessage","deviceId","categories","brands","suppliers","initializeForm","getData","subscribe","next","device","deviceForm","patchValue","serialNumber","categoryId","brandId","supplierId","isFaulty","error","err","handleError","getCategories","getBrands","getSuppliers","validateControl","controlName","get","invalid","touched","hasError","errorName","updateDevice","deviceFormValue","valid","executeDeviceUpdate","updatedDevice","apiUrl","update","config","initialState","modalHeaderText","modalBodyText","okButtonText","bsModalRef","show","content","redirectOnOk","redirectToDeviceList","navigate","ngOnInit","snapshot","paramMap","required","maxLength","_","ɵɵdirectiveInject","i1","RepositoryService","i2","RepositoryErrorHandlerService","i3","Router","i4","BsModalService","ActivatedRoute","_2","selectors","decls","vars","consts","template","UpdateDeviceComponent_Template","rf","ctx","ɵɵlistener","UpdateDeviceComponent_Template_form_ngSubmit_5_listener","value","ɵɵelement","ɵɵtemplate","UpdateDeviceComponent_mat_error_11_Template","UpdateDeviceComponent_mat_error_12_Template","UpdateDeviceComponent_mat_error_17_Template","UpdateDeviceComponent_mat_error_18_Template","UpdateDeviceComponent_mat_option_21_Template","UpdateDeviceComponent_mat_error_22_Template","UpdateDeviceComponent_mat_option_25_Template","UpdateDeviceComponent_mat_error_26_Template","UpdateDeviceComponent_mat_option_29_Template","UpdateDeviceComponent_mat_error_30_Template","UpdateDeviceComponent_Template_button_click_36_listener"],"sources":["C:\\Users\\fsengul\\Desktop\\MendereIT\\InventoryManagement\\InventryUI-Client\\src\\app\\pages\\ui-components\\device\\update-device\\update-device.component.ts","C:\\Users\\fsengul\\Desktop\\MendereIT\\InventoryManagement\\InventryUI-Client\\src\\app\\pages\\ui-components\\device\\update-device\\update-device.component.html"],"sourcesContent":["import { HttpErrorResponse } from '@angular/common/http';\nimport { Component, OnInit } from '@angular/core';\nimport { FormGroup, FormControl, Validators } from '@angular/forms';\nimport { Router, ActivatedRoute } from '@angular/router';\nimport { BsModalRef, BsModalService, ModalOptions } from 'ngx-bootstrap/modal';\nimport { Device } from 'src/app/_interface/inventory/device';\nimport { SuccessModalComponent } from 'src/app/shared/modals/success-modal/success-modal.component';\nimport { RepositoryErrorHandlerService } from 'src/app/shared/services/repository-error-handler.service';\nimport { RepositoryService } from 'src/app/shared/services/repository.service';\n\n@Component({\n  selector: 'app-update-device',\n  templateUrl: './update-device.component.html',\n  styleUrls: ['./update-device.component.css']\n})\nexport class UpdateDeviceComponent implements OnInit {\n\n  public deviceForm: FormGroup | any;\n  public errorMessage: string = '';\n  public bsModalRef?: BsModalRef;\n  private deviceId: string | null = '';\n  public categories: any[] = [];\n  public brands: any[] = [];\n  public suppliers: any[] = [];\n\n  constructor(\n    private repository: RepositoryService,\n    private errorHandler: RepositoryErrorHandlerService,\n    private router: Router,\n    private modal: BsModalService,\n    private route: ActivatedRoute\n  ) { }\n\n  ngOnInit(): void {\n    this.deviceId = this.route.snapshot.paramMap.get('id');\n    this.deviceForm = new FormGroup({\n      name: new FormControl('', [Validators.required, Validators.maxLength(60)]),\n      serialNumber: new FormControl('', [Validators.required, Validators.maxLength(100)]),\n      categoryId: new FormControl('', [Validators.required]),\n      brandId: new FormControl('', [Validators.required]),\n      supplierId: new FormControl('', [Validators.required]),\n      isFaulty: new FormControl(false)\n    });\n    this.initializeForm();\n    this.getCategories();\n    this.getBrands();\n    this.getSuppliers();\n  }\n\n  private initializeForm = () => {\n    if (this.deviceId) {\n      this.repository.getData(`api/devices/${this.deviceId}`)\n        .subscribe({\n          next: (device: any) => {\n            this.deviceForm.patchValue({\n              name: device.name,\n              serialNumber: device.serialNumber,\n              categoryId: device.categoryId,\n              brandId: device.brandId,\n              supplierId: device.supplierId,\n              isFaulty: device.isFaulty\n            });\n          },\n          error: (err: HttpErrorResponse) => {\n            this.errorHandler.handleError(err);\n            this.errorMessage = this.errorHandler.errorMessage;\n          }\n        });\n    }\n  }\n\n  private getCategories = () => {\n    this.repository.getData('api/categories')\n      .subscribe({\n        next: (categories: any[]|any) => this.categories = categories,\n        error: (err: HttpErrorResponse) => {\n          this.errorHandler.handleError(err);\n          this.errorMessage = this.errorHandler.errorMessage;\n        }\n      });\n  }\n\n  private getBrands = () => {\n    this.repository.getData('api/brands')\n      .subscribe({\n        next: (brands: any[] |any) => this.brands = brands,\n        error: (err: HttpErrorResponse) => {\n          this.errorHandler.handleError(err);\n          this.errorMessage = this.errorHandler.errorMessage;\n        }\n      });\n  }\n\n  private getSuppliers = () => {\n    this.repository.getData('api/suppliers')\n      .subscribe({\n        next: (suppliers: any[]|any) => this.suppliers = suppliers,\n        error: (err: HttpErrorResponse) => {\n          this.errorHandler.handleError(err);\n          this.errorMessage = this.errorHandler.errorMessage;\n        }\n      });\n  }\n\n  validateControl = (controlName: string) => {\n    if (this.deviceForm.get(controlName).invalid && this.deviceForm.get(controlName).touched)\n      return true;\n\n    return false;\n  }\n\n  hasError = (controlName: string, errorName: string) => {\n    if (this.deviceForm.get(controlName).hasError(errorName))\n      return true;\n\n    return false;\n  }\n\n  updateDevice = (deviceFormValue: any) => {\n    if (this.deviceForm.valid)\n      this.executeDeviceUpdate(deviceFormValue);\n  }\n\n  private executeDeviceUpdate = (deviceFormValue: any) => {\n    const updatedDevice: any = {\n      id: this.deviceId ? this.deviceId : '',\n      name: deviceFormValue.name,\n      serialNumber: deviceFormValue.serialNumber,\n      categoryId: deviceFormValue.categoryId,\n      brandId: deviceFormValue.brandId,\n      supplierId: deviceFormValue.supplierId,\n      isFaulty: deviceFormValue.isFaulty\n    };\n\n    const apiUrl = `api/devices/${this.deviceId}`;\n    this.repository.update(apiUrl, updatedDevice)\n      .subscribe({\n        next: () => {\n          const config: ModalOptions = {\n            initialState: {\n              modalHeaderText: 'Success Message',\n              modalBodyText: `Device: ${updatedDevice.name} updated successfully`,\n              okButtonText: 'OK'\n            }\n          };\n\n          this.bsModalRef = this.modal.show(SuccessModalComponent, config);\n          this.bsModalRef.content.redirectOnOk.subscribe(() => this.redirectToDeviceList());\n        },\n        error: (err: HttpErrorResponse) => {\n          this.errorHandler.handleError(err);\n          this.errorMessage = this.errorHandler.errorMessage;\n        }\n      });\n  }\n\n  redirectToDeviceList = () => {\n    this.router.navigate(['/ui-components/device']);\n  }\n}\n","<section fxLayout=\"row wrap\" fxLayoutAlign=\"center center\">\n  <mat-card fxFlex=\"500px\" fxFlex.xs=\"100%\" class=\"b-1 shadow-none\">\n    <mat-card-header>\n      <mat-card-title>Cihaz Güncelle</mat-card-title>\n    </mat-card-header>\n    <form [formGroup]=\"deviceForm\" autocomplete=\"off\" novalidate (ngSubmit)=\"updateDevice(deviceForm.value)\">\n      <mat-card-content>\n        <!-- Name Input -->\n        <mat-form-field appearance=\"outline\" class=\"w-100\" color=\"primary\">\n          <input matInput type=\"text\" placeholder=\"Device name\" formControlName=\"name\" id=\"name\">\n          <mat-hint align=\"end\">60 karakterden uzun olmamalıdır.</mat-hint>\n          <mat-error *ngIf=\"hasError('name', 'required')\">İsim Gerekli</mat-error>\n          <mat-error *ngIf=\"hasError('name', 'maxlength')\">60'tan fazla karakteriniz var</mat-error>\n        </mat-form-field>\n\n        <!-- Serial Number Input -->\n        <mat-form-field appearance=\"outline\" class=\"w-100\" color=\"primary\">\n          <input matInput type=\"text\" placeholder=\"Serial number\" formControlName=\"serialNumber\" id=\"serialNumber\">\n          <mat-hint align=\"end\">Not more than 100 characters long.</mat-hint>\n          <mat-error *ngIf=\"hasError('serialNumber', 'required')\">Seri Numarası gerekli</mat-error>\n          <mat-error *ngIf=\"hasError('serialNumber', 'maxlength')\">You have more than 100 characters</mat-error>\n        </mat-form-field>\n\n        <!-- Category Dropdown -->\n        <mat-form-field appearance=\"outline\" class=\"w-100\" color=\"primary\">\n          <mat-select placeholder=\"Select Category\" formControlName=\"categoryId\" id=\"categoryId\">\n            <mat-option *ngFor=\"let category of categories\" [value]=\"category.id\">\n              {{ category.name }}\n            </mat-option>\n          </mat-select>\n          <mat-error *ngIf=\"hasError('categoryId', 'required')\">Category is required</mat-error>\n        </mat-form-field>\n\n        <!-- Brand Dropdown -->\n        <mat-form-field appearance=\"outline\" class=\"w-100\" color=\"primary\">\n          <mat-select placeholder=\"Select Brand\" formControlName=\"brandId\" id=\"brandId\">\n            <mat-option *ngFor=\"let brand of brands\" [value]=\"brand.id\">\n              {{ brand.name }}\n            </mat-option>\n          </mat-select>\n          <mat-error *ngIf=\"hasError('brandId', 'required')\">Brand is required</mat-error>\n        </mat-form-field>\n\n        <!-- Supplier Dropdown -->\n        <mat-form-field appearance=\"outline\" class=\"w-100\" color=\"primary\">\n          <mat-select placeholder=\"Select Supplier\" formControlName=\"supplierId\" id=\"supplierId\">\n            <mat-option *ngFor=\"let supplier of suppliers\" [value]=\"supplier.id\">\n              {{ supplier.name }}\n            </mat-option>\n          </mat-select>\n          <mat-error *ngIf=\"hasError('supplierId', 'required')\">Supplier is required</mat-error>\n        </mat-form-field>\n\n        <!-- Is Faulty Checkbox -->\n        <mat-checkbox formControlName=\"isFaulty\">Is Faulty</mat-checkbox>\n      </mat-card-content>\n      <mat-card-actions>\n        <button mat-flat-button color=\"primary\" class=\"w-100 action-button\" [disabled]=\"!deviceForm.valid\">Update Device</button>\n        <button type=\"button\" mat-flat-button color=\"warn\" class=\"w-100\" (click)=\"redirectToDeviceList()\">Cancel</button>\n      </mat-card-actions>\n    </form>\n  </mat-card>\n</section>\n\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