{"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/form-field\";\nimport * as i7 from \"@angular/material/input\";\nimport * as i8 from \"@angular/material/card\";\nimport * as i9 from \"@angular/material/button\";\nimport * as i10 from \"@angular/flex-layout/flex\";\nimport * as i11 from \"@angular/forms\";\nfunction UpdateOfficeComponent_mat_error_11_Template(rf, ctx) {\n  if (rf & 1) {\n    i0.ɵɵelementStart(0, \"mat-error\");\n    i0.ɵɵtext(1, \"Name is required\");\n    i0.ɵɵelementEnd();\n  }\n}\nfunction UpdateOfficeComponent_mat_error_12_Template(rf, ctx) {\n  if (rf & 1) {\n    i0.ɵɵelementStart(0, \"mat-error\");\n    i0.ɵɵtext(1, \"You have more than 60 characters\");\n    i0.ɵɵelementEnd();\n  }\n}\nfunction UpdateOfficeComponent_mat_error_17_Template(rf, ctx) {\n  if (rf & 1) {\n    i0.ɵɵelementStart(0, \"mat-error\");\n    i0.ɵɵtext(1, \"Location is required\");\n    i0.ɵɵelementEnd();\n  }\n}\nfunction UpdateOfficeComponent_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}\nexport class UpdateOfficeComponent {\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.officeId = '';\n    this.initializeForm = () => {\n      if (this.officeId) {\n        this.repository.getData(`api/offices/${this.officeId}`).subscribe({\n          next: office => {\n            this.officeForm = new FormGroup({\n              name: new FormControl(office.name, [Validators.required, Validators.maxLength(60)]),\n              location: new FormControl(office.location, [Validators.required, Validators.maxLength(100)])\n            });\n          },\n          error: err => {\n            this.errorHandler.handleError(err);\n            this.errorMessage = this.errorHandler.errorMessage;\n          }\n        });\n      }\n    };\n    this.validateControl = controlName => {\n      if (this.officeForm.get(controlName).invalid && this.officeForm.get(controlName).touched) return true;\n      return false;\n    };\n    this.hasError = (controlName, errorName) => {\n      if (this.officeForm.get(controlName).hasError(errorName)) return true;\n      return false;\n    };\n    this.updateOffice = officeFormValue => {\n      if (this.officeForm.valid) this.executeOfficeUpdate(officeFormValue);\n    };\n    this.executeOfficeUpdate = officeFormValue => {\n      const updatedOffice = {\n        id: this.officeId ? this.officeId : '',\n        name: officeFormValue.name,\n        location: officeFormValue.location\n      };\n      const apiUrl = `api/offices/${this.officeId}`;\n      this.repository.update(apiUrl, updatedOffice).subscribe({\n        next: () => {\n          const config = {\n            initialState: {\n              modalHeaderText: 'Success Message',\n              modalBodyText: `Office: ${updatedOffice.name} updated successfully`,\n              okButtonText: 'OK'\n            }\n          };\n          this.bsModalRef = this.modal.show(SuccessModalComponent, config);\n          this.bsModalRef.content.redirectOnOk.subscribe(() => this.redirectToOfficeList());\n        },\n        error: err => {\n          this.errorHandler.handleError(err);\n          this.errorMessage = this.errorHandler.errorMessage;\n        }\n      });\n    };\n    this.redirectToOfficeList = () => {\n      this.router.navigate(['/ui-components/office']);\n    };\n  }\n  ngOnInit() {\n    this.officeId = this.route.snapshot.paramMap.get('id');\n    this.officeForm = new FormGroup({\n      name: new FormControl('', [Validators.required, Validators.maxLength(60)]),\n      location: new FormControl('', [Validators.required, Validators.maxLength(100)])\n    });\n    this.initializeForm();\n  }\n  static #_ = this.ɵfac = function UpdateOfficeComponent_Factory(t) {\n    return new (t || UpdateOfficeComponent)(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: UpdateOfficeComponent,\n    selectors: [[\"app-update-office\"]],\n    decls: 24,\n    vars: 6,\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\", \"Office name\", \"formControlName\", \"name\", \"id\", \"name\"], [\"align\", \"end\"], [4, \"ngIf\"], [\"matInput\", \"\", \"type\", \"text\", \"placeholder\", \"Location\", \"formControlName\", \"location\", \"id\", \"location\"], [\"mat-flat-button\", \"\", \"color\", \"primary\", 1, \"w-100\", \"action-button\", 3, \"disabled\"], [\"type\", \"button\", \"mat-flat-button\", \"\", \"color\", \"warn\", 1, \"w-100\", 3, \"click\"]],\n    template: function UpdateOfficeComponent_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, \"Ofisi G\\u00FCncelle\");\n        i0.ɵɵelementEnd()();\n        i0.ɵɵelementStart(5, \"form\", 2);\n        i0.ɵɵlistener(\"ngSubmit\", function UpdateOfficeComponent_Template_form_ngSubmit_5_listener() {\n          return ctx.updateOffice(ctx.officeForm.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, UpdateOfficeComponent_mat_error_11_Template, 2, 0, \"mat-error\", 6)(12, UpdateOfficeComponent_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, UpdateOfficeComponent_mat_error_17_Template, 2, 0, \"mat-error\", 6)(18, UpdateOfficeComponent_mat_error_18_Template, 2, 0, \"mat-error\", 6);\n        i0.ɵɵelementEnd()();\n        i0.ɵɵelementStart(19, \"mat-card-actions\")(20, \"button\", 8);\n        i0.ɵɵtext(21, \"Update\");\n        i0.ɵɵelementEnd();\n        i0.ɵɵelementStart(22, \"button\", 9);\n        i0.ɵɵlistener(\"click\", function UpdateOfficeComponent_Template_button_click_22_listener() {\n          return ctx.redirectToOfficeList();\n        });\n        i0.ɵɵtext(23, \"Cancel\");\n        i0.ɵɵelementEnd()()()()();\n      }\n      if (rf & 2) {\n        i0.ɵɵadvance(5);\n        i0.ɵɵproperty(\"formGroup\", ctx.officeForm);\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(\"location\", \"required\"));\n        i0.ɵɵadvance();\n        i0.ɵɵproperty(\"ngIf\", ctx.hasError(\"location\", \"maxlength\"));\n        i0.ɵɵadvance(2);\n        i0.ɵɵproperty(\"disabled\", !ctx.officeForm.valid);\n      }\n    },\n    dependencies: [i5.NgIf, i6.MatFormField, i6.MatHint, i6.MatError, i7.MatInput, i8.MatCard, i8.MatCardActions, i8.MatCardContent, i8.MatCardHeader, i8.MatCardTitle, i9.MatButton, i10.DefaultLayoutDirective, i10.DefaultLayoutAlignDirective, i10.DefaultFlexDirective, i11.ɵNgNoValidate, i11.DefaultValueAccessor, i11.NgControlStatus, i11.NgControlStatusGroup, i11.FormGroupDirective, i11.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","UpdateOfficeComponent","constructor","repository","errorHandler","router","modal","route","errorMessage","officeId","initializeForm","getData","subscribe","next","office","officeForm","name","required","maxLength","location","error","err","handleError","validateControl","controlName","get","invalid","touched","hasError","errorName","updateOffice","officeFormValue","valid","executeOfficeUpdate","updatedOffice","id","apiUrl","update","config","initialState","modalHeaderText","modalBodyText","okButtonText","bsModalRef","show","content","redirectOnOk","redirectToOfficeList","navigate","ngOnInit","snapshot","paramMap","_","ɵɵdirectiveInject","i1","RepositoryService","i2","RepositoryErrorHandlerService","i3","Router","i4","BsModalService","ActivatedRoute","_2","selectors","decls","vars","consts","template","UpdateOfficeComponent_Template","rf","ctx","ɵɵlistener","UpdateOfficeComponent_Template_form_ngSubmit_5_listener","value","ɵɵelement","ɵɵtemplate","UpdateOfficeComponent_mat_error_11_Template","UpdateOfficeComponent_mat_error_12_Template","UpdateOfficeComponent_mat_error_17_Template","UpdateOfficeComponent_mat_error_18_Template","UpdateOfficeComponent_Template_button_click_22_listener","ɵɵadvance","ɵɵproperty"],"sources":["C:\\Users\\fsengul\\Desktop\\MendereIT\\InventoryManagement\\InventryUI-Client\\src\\app\\pages\\ui-components\\office\\update-office\\update-office.component.ts","C:\\Users\\fsengul\\Desktop\\MendereIT\\InventoryManagement\\InventryUI-Client\\src\\app\\pages\\ui-components\\office\\update-office\\update-office.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 { 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-office',\n  templateUrl: './update-office.component.html',\n  styleUrls: ['./update-office.component.css']\n})\nexport class UpdateOfficeComponent implements OnInit {\n\n  public officeForm: FormGroup | any;\n  public errorMessage: string = '';\n  public bsModalRef?: BsModalRef;\n  private officeId: string | null = '';\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.officeId = this.route.snapshot.paramMap.get('id');\n    this.officeForm = new FormGroup({\n      name: new FormControl('', [Validators.required, Validators.maxLength(60)]),\n      location: new FormControl('', [Validators.required, Validators.maxLength(100)])\n    });\n    this.initializeForm();\n  }\n\n  private initializeForm = () => {\n    if (this.officeId) {\n      this.repository.getData(`api/offices/${this.officeId}`)\n        .subscribe({\n          next: (office: any) => {\n            this.officeForm = new FormGroup({\n              name: new FormControl(office.name, [Validators.required, Validators.maxLength(60)]),\n              location: new FormControl(office.location, [Validators.required, Validators.maxLength(100)])\n            });\n          },\n          error: (err: HttpErrorResponse) => {\n            this.errorHandler.handleError(err);\n            this.errorMessage = this.errorHandler.errorMessage;\n          }\n        });\n    }\n  }\n\n  validateControl = (controlName: string) => {\n    if (this.officeForm.get(controlName).invalid && this.officeForm.get(controlName).touched)\n      return true;\n    \n    return false;\n  }\n\n  hasError = (controlName: string, errorName: string) => {\n    if (this.officeForm.get(controlName).hasError(errorName))\n      return true;\n    \n    return false;\n  }\n\n  updateOffice = (officeFormValue: any) => {\n    if (this.officeForm.valid)\n      this.executeOfficeUpdate(officeFormValue);\n  }\n\n  private executeOfficeUpdate = (officeFormValue: any) => {\n    const updatedOffice: any = {\n      id: this.officeId ? this.officeId : '',\n      name: officeFormValue.name,\n      location: officeFormValue.location\n    };\n\n    const apiUrl = `api/offices/${this.officeId}`;\n    this.repository.update(apiUrl, updatedOffice)\n      .subscribe({\n        next: () => {\n          const config: ModalOptions = {\n            initialState: {\n              modalHeaderText: 'Success Message',\n              modalBodyText: `Office: ${updatedOffice.name} updated successfully`,\n              okButtonText: 'OK'\n            }\n          };\n\n          this.bsModalRef = this.modal.show(SuccessModalComponent, config);\n          this.bsModalRef.content.redirectOnOk.subscribe(() => this.redirectToOfficeList());\n        },\n        error: (err: HttpErrorResponse) => {\n          this.errorHandler.handleError(err);\n          this.errorMessage = this.errorHandler.errorMessage;\n        }\n      });\n  }\n\n  redirectToOfficeList = () => {\n    this.router.navigate(['/ui-components/office']);\n  }\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>Ofisi Güncelle</mat-card-title>\n    </mat-card-header>\n    <form [formGroup]=\"officeForm\" autocomplete=\"off\" novalidate (ngSubmit)=\"updateOffice(officeForm.value)\">\n      <mat-card-content>\n        <mat-form-field appearance=\"outline\" class=\"w-100\" color=\"primary\">\n          <input matInput type=\"text\" placeholder=\"Office 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')\">Name is required</mat-error>\n          <mat-error *ngIf=\"hasError('name', 'maxlength')\">You have more than 60 characters</mat-error>\n        </mat-form-field>\n        <mat-form-field appearance=\"outline\" class=\"w-100\" color=\"primary\">\n          <input matInput type=\"text\" placeholder=\"Location\" formControlName=\"location\" id=\"location\">\n          <mat-hint align=\"end\">Not more than 100 characters long.</mat-hint>\n          <mat-error *ngIf=\"hasError('location', 'required')\">Location is required</mat-error>\n          <mat-error *ngIf=\"hasError('location', 'maxlength')\">You have more than 100 characters</mat-error>\n        </mat-form-field>\n      </mat-card-content>\n      <mat-card-actions>\n        <button mat-flat-button color=\"primary\" class=\"w-100 action-button\" [disabled]=\"!officeForm.valid\">Update</button>\n        <button type=\"button\" mat-flat-button color=\"warn\" class=\"w-100\" (click)=\"redirectToOfficeList()\">Cancel</button>\n      </mat-card-actions>\n    </form>\n  </mat-card>\n</section>\n"],"mappings":"AAEA,SAASA,SAAS,EAAEC,WAAW,EAAEC,UAAU,QAAQ,gBAAgB;AAGnE,SAASC,qBAAqB,QAAQ,6DAA6D;;;;;;;;;;;;;;;ICKzFC,EAAA,CAAAC,cAAA,gBAAgD;IAAAD,EAAA,CAAAE,MAAA,uBAAgB;IAAAF,EAAA,CAAAG,YAAA,EAAY;;;;;IAC5EH,EAAA,CAAAC,cAAA,gBAAiD;IAAAD,EAAA,CAAAE,MAAA,uCAAgC;IAAAF,EAAA,CAAAG,YAAA,EAAY;;;;;IAK7FH,EAAA,CAAAC,cAAA,gBAAoD;IAAAD,EAAA,CAAAE,MAAA,2BAAoB;IAAAF,EAAA,CAAAG,YAAA,EAAY;;;;;IACpFH,EAAA,CAAAC,cAAA,gBAAqD;IAAAD,EAAA,CAAAE,MAAA,wCAAiC;IAAAF,EAAA,CAAAG,YAAA,EAAY;;;ADH5G,OAAM,MAAOC,qBAAqB;EAOhCC,YACUC,UAA6B,EAC7BC,YAA2C,EAC3CC,MAAc,EACdC,KAAqB,EACrBC,KAAqB;IAJrB,KAAAJ,UAAU,GAAVA,UAAU;IACV,KAAAC,YAAY,GAAZA,YAAY;IACZ,KAAAC,MAAM,GAANA,MAAM;IACN,KAAAC,KAAK,GAALA,KAAK;IACL,KAA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