oxpi-nglib 3.0.0 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/fesm2022/oxpi-nglib.mjs +88 -66
  2. package/fesm2022/oxpi-nglib.mjs.map +1 -1
  3. package/package.json +1 -1
  4. package/types/oxpi-nglib.d.ts +4 -0
  5. package/esm2022/lib/animations/animations.mjs +0 -22
  6. package/esm2022/lib/cadastros/clientes/clientes/clientes-form.component.mjs +0 -32
  7. package/esm2022/lib/cadastros/clientes/clientes/clientes.component.mjs +0 -165
  8. package/esm2022/lib/cadastros/clientes/clientes-add-dialog/clientes-add-dialog.component.mjs +0 -73
  9. package/esm2022/lib/cadastros/clientes/clientes-edit-dialog/clientes-edit-dialog.component.mjs +0 -71
  10. package/esm2022/lib/cadastros/clientes/selecao-cliente-dialog/selecao-cliente-dialog.component.mjs +0 -113
  11. package/esm2022/lib/cadastros/fornecedores/fornecedores/fornecedores-form.component.mjs +0 -44
  12. package/esm2022/lib/cadastros/fornecedores/fornecedores/fornecedores.component.mjs +0 -165
  13. package/esm2022/lib/cadastros/fornecedores/fornecedores-add-dialog/fornecedores-add-dialog.component.mjs +0 -73
  14. package/esm2022/lib/cadastros/fornecedores/fornecedores-edit-dialog/fornecedores-edit-dialog.component.mjs +0 -71
  15. package/esm2022/lib/cadastros/fornecedores/selecao-fornecedor-dialog/selecao-fornecedor-dialog.component.mjs +0 -108
  16. package/esm2022/lib/cadastros/funcionarios/funcionario-add-dialog/funcionario-add-dialog.component.mjs +0 -79
  17. package/esm2022/lib/cadastros/funcionarios/funcionario-edit-dialog/funcionario-edit-dialog.component.mjs +0 -68
  18. package/esm2022/lib/cadastros/funcionarios/funcionario-form/funcionario-form.component.mjs +0 -50
  19. package/esm2022/lib/cadastros/funcionarios/funcionarios/funcionarios.component.mjs +0 -157
  20. package/esm2022/lib/controls/alert-dialog/alert-dialog.component.mjs +0 -23
  21. package/esm2022/lib/controls/busy-indicator/busy-indicator.component.mjs +0 -19
  22. package/esm2022/lib/controls/check-button/check-button.component.mjs +0 -35
  23. package/esm2022/lib/controls/image-viewer/image-viewer.component.mjs +0 -73
  24. package/esm2022/lib/controls/item-card/item-card.component.mjs +0 -38
  25. package/esm2022/lib/controls/month-year-picker/month-year-picker.component.mjs +0 -125
  26. package/esm2022/lib/controls/numeric-picker/numeric-picker.component.mjs +0 -102
  27. package/esm2022/lib/controls/paginator/paginator.component.mjs +0 -70
  28. package/esm2022/lib/controls/radio-button-group/radio-button-group.component.mjs +0 -40
  29. package/esm2022/lib/controls/selecao-list-item/selecao-list-item.component.mjs +0 -17
  30. package/esm2022/lib/models/entidades/funcionario.mjs +0 -12
  31. package/esm2022/lib/models/entidades/id-nome-model.mjs +0 -2
  32. package/esm2022/lib/models/entidades/login-item.mjs +0 -2
  33. package/esm2022/lib/models/entidades/login-result.mjs +0 -2
  34. package/esm2022/lib/models/entidades/operador.mjs +0 -17
  35. package/esm2022/lib/models/entidades/ownership.mjs +0 -15
  36. package/esm2022/lib/models/entidades/permissoes.mjs +0 -2
  37. package/esm2022/lib/models/entidades/pessoa.mjs +0 -9
  38. package/esm2022/lib/models/entidades/sensores-def.mjs +0 -2
  39. package/esm2022/lib/models/entidades/setor-estoque.mjs +0 -9
  40. package/esm2022/lib/models/entidades/suite-base.mjs +0 -2
  41. package/esm2022/lib/models/entidades/usuario.mjs +0 -2
  42. package/esm2022/lib/models/infra/busy-state.mjs +0 -26
  43. package/esm2022/lib/models/infra/convert-setting-to-string.mjs +0 -29
  44. package/esm2022/lib/models/infra/lazy-trigger.mjs +0 -17
  45. package/esm2022/lib/models/infra/number-parser.mjs +0 -67
  46. package/esm2022/lib/models/infra/ordem.mjs +0 -17
  47. package/esm2022/lib/models/infra/paging-result.mjs +0 -2
  48. package/esm2022/lib/models/infra/selecao-utils.mjs +0 -47
  49. package/esm2022/lib/models/infra/utils-methods.mjs +0 -99
  50. package/esm2022/lib/models/infra/validations.mjs +0 -25
  51. package/esm2022/lib/models/settings/PagamentoRecebimentoSearchSetting.mjs +0 -13
  52. package/esm2022/lib/models/settings/consumo-produto-search-setting.mjs +0 -18
  53. package/esm2022/lib/models/settings/duplicata-search-setting.mjs +0 -13
  54. package/esm2022/lib/models/settings/ocupacao-filter-setting.mjs +0 -14
  55. package/esm2022/lib/models/settings/ocupacao-search-setting.mjs +0 -37
  56. package/esm2022/lib/models/settings/produto-search-setting.mjs +0 -13
  57. package/esm2022/lib/models/settings/search-setting.mjs +0 -60
  58. package/esm2022/lib/models/settings/suites-intervencoes-setting.mjs +0 -4
  59. package/esm2022/lib/models/tuple.mjs +0 -2
  60. package/esm2022/lib/oxpi-nglib.module.mjs +0 -173
  61. package/esm2022/lib/providers/auth-data.service.mjs +0 -242
  62. package/esm2022/lib/providers/common-web-service.mjs +0 -206
  63. package/esm2022/lib/providers/export.file.service.mjs +0 -29
  64. package/esm2022/lib/providers/focus.service.mjs +0 -84
  65. package/esm2022/lib/providers/notification.service.mjs +0 -39
  66. package/esm2022/lib/providers/preference.service.mjs +0 -42
  67. package/esm2022/lib/providers/safe-html.pipe.mjs +0 -20
  68. package/esm2022/lib/providers/screen-helper.service.mjs +0 -97
  69. package/esm2022/oxpi-nglib.mjs +0 -5
  70. package/esm2022/public-api.mjs +0 -69
  71. package/index.d.ts +0 -5
  72. package/lib/animations/animations.d.ts +0 -2
  73. package/lib/cadastros/clientes/clientes/clientes-form.component.d.ts +0 -13
  74. package/lib/cadastros/clientes/clientes/clientes.component.d.ts +0 -36
  75. package/lib/cadastros/clientes/clientes-add-dialog/clientes-add-dialog.component.d.ts +0 -27
  76. package/lib/cadastros/clientes/clientes-edit-dialog/clientes-edit-dialog.component.d.ts +0 -27
  77. package/lib/cadastros/clientes/selecao-cliente-dialog/selecao-cliente-dialog.component.d.ts +0 -35
  78. package/lib/cadastros/fornecedores/fornecedores/fornecedores-form.component.d.ts +0 -14
  79. package/lib/cadastros/fornecedores/fornecedores/fornecedores.component.d.ts +0 -36
  80. package/lib/cadastros/fornecedores/fornecedores-add-dialog/fornecedores-add-dialog.component.d.ts +0 -27
  81. package/lib/cadastros/fornecedores/fornecedores-edit-dialog/fornecedores-edit-dialog.component.d.ts +0 -27
  82. package/lib/cadastros/fornecedores/selecao-fornecedor-dialog/selecao-fornecedor-dialog.component.d.ts +0 -35
  83. package/lib/cadastros/funcionarios/funcionario-add-dialog/funcionario-add-dialog.component.d.ts +0 -27
  84. package/lib/cadastros/funcionarios/funcionario-edit-dialog/funcionario-edit-dialog.component.d.ts +0 -27
  85. package/lib/cadastros/funcionarios/funcionario-form/funcionario-form.component.d.ts +0 -19
  86. package/lib/cadastros/funcionarios/funcionarios/funcionarios.component.d.ts +0 -36
  87. package/lib/controls/alert-dialog/alert-dialog.component.d.ts +0 -15
  88. package/lib/controls/busy-indicator/busy-indicator.component.d.ts +0 -9
  89. package/lib/controls/check-button/check-button.component.d.ts +0 -12
  90. package/lib/controls/image-viewer/image-viewer.component.d.ts +0 -27
  91. package/lib/controls/item-card/item-card.component.d.ts +0 -19
  92. package/lib/controls/month-year-picker/month-year-picker.component.d.ts +0 -33
  93. package/lib/controls/numeric-picker/numeric-picker.component.d.ts +0 -28
  94. package/lib/controls/paginator/paginator.component.d.ts +0 -24
  95. package/lib/controls/radio-button-group/radio-button-group.component.d.ts +0 -19
  96. package/lib/controls/selecao-list-item/selecao-list-item.component.d.ts +0 -6
  97. package/lib/models/entidades/funcionario.d.ts +0 -20
  98. package/lib/models/entidades/id-nome-model.d.ts +0 -8
  99. package/lib/models/entidades/login-item.d.ts +0 -6
  100. package/lib/models/entidades/login-result.d.ts +0 -20
  101. package/lib/models/entidades/operador.d.ts +0 -10
  102. package/lib/models/entidades/ownership.d.ts +0 -20
  103. package/lib/models/entidades/permissoes.d.ts +0 -196
  104. package/lib/models/entidades/pessoa.d.ts +0 -41
  105. package/lib/models/entidades/sensores-def.d.ts +0 -6
  106. package/lib/models/entidades/setor-estoque.d.ts +0 -9
  107. package/lib/models/entidades/suite-base.d.ts +0 -10
  108. package/lib/models/entidades/usuario.d.ts +0 -34
  109. package/lib/models/infra/busy-state.d.ts +0 -7
  110. package/lib/models/infra/convert-setting-to-string.d.ts +0 -5
  111. package/lib/models/infra/lazy-trigger.d.ts +0 -8
  112. package/lib/models/infra/number-parser.d.ts +0 -15
  113. package/lib/models/infra/ordem.d.ts +0 -13
  114. package/lib/models/infra/paging-result.d.ts +0 -11
  115. package/lib/models/infra/selecao-utils.d.ts +0 -12
  116. package/lib/models/infra/utils-methods.d.ts +0 -6
  117. package/lib/models/infra/validations.d.ts +0 -6
  118. package/lib/models/settings/PagamentoRecebimentoSearchSetting.d.ts +0 -10
  119. package/lib/models/settings/consumo-produto-search-setting.d.ts +0 -26
  120. package/lib/models/settings/duplicata-search-setting.d.ts +0 -18
  121. package/lib/models/settings/ocupacao-filter-setting.d.ts +0 -14
  122. package/lib/models/settings/ocupacao-search-setting.d.ts +0 -62
  123. package/lib/models/settings/produto-search-setting.d.ts +0 -14
  124. package/lib/models/settings/search-setting.d.ts +0 -27
  125. package/lib/models/settings/suites-intervencoes-setting.d.ts +0 -7
  126. package/lib/models/tuple.d.ts +0 -4
  127. package/lib/oxpi-nglib.module.d.ts +0 -54
  128. package/lib/providers/auth-data.service.d.ts +0 -26
  129. package/lib/providers/common-web-service.d.ts +0 -81
  130. package/lib/providers/export.file.service.d.ts +0 -10
  131. package/lib/providers/focus.service.d.ts +0 -15
  132. package/lib/providers/notification.service.d.ts +0 -12
  133. package/lib/providers/preference.service.d.ts +0 -11
  134. package/lib/providers/safe-html.pipe.d.ts +0 -10
  135. package/lib/providers/screen-helper.service.d.ts +0 -28
  136. package/public-api.d.ts +0 -64
@@ -24,9 +24,9 @@ import * as i2$2 from '@angular/material/checkbox';
24
24
  import { MatCheckboxModule } from '@angular/material/checkbox';
25
25
  import * as i4$1 from '@angular/material/datepicker';
26
26
  import { MatDatepickerModule } from '@angular/material/datepicker';
27
+ import * as FileSaver from 'file-saver';
27
28
  import { MatAutocompleteModule } from '@angular/material/autocomplete';
28
29
  import { DomSanitizer } from '@angular/platform-browser';
29
- import * as FileSaver from 'file-saver';
30
30
 
31
31
  function valTextEmpty(v) {
32
32
  return v === null ||
@@ -193,6 +193,10 @@ class CommonWebService {
193
193
  const url = this.FORNECEDOR_BASE_URL + id;
194
194
  return this.http.delete(url, this.getHttpOptions()).pipe(map(data => data));
195
195
  }
196
+ baixarExcelFornecedores(setting) {
197
+ const url = this.FORNECEDOR_BASE_URL + 'ExportaExcel/';
198
+ return this.http.post(url, JSON.stringify(setting), this.getExcelOptions());
199
+ }
196
200
  getOperadores() {
197
201
  const url = this.OPERADOR_BASE_URL;
198
202
  return this.http.get(url, this.getHttpOptions()).pipe(map(data => data));
@@ -484,11 +488,11 @@ class BusyIndicatorComponent {
484
488
  ngOnInit() {
485
489
  }
486
490
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: BusyIndicatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
487
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: BusyIndicatorComponent, isStandalone: true, selector: "ox-busy-indicator", inputs: { isBusy: { classPropertyName: "isBusy", publicName: "isBusy", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (isBusy()) {\n <div class=\"busy-indicator-container\">\n <div class=\"busy-indicator\"></div>\n </div>\n}", styles: [".busy-indicator-container{position:fixed;left:50%;top:35%;text-align:center;z-index:1000;margin-left:-47px;background:#fff;border-radius:8px;padding:20px;border:solid 2px transparent;background-clip:padding-box;box-shadow:10px 10px 10px #2e364414}.busy-indicator{border:10px solid #e2e2e2;border-top:10px solid var(--app-color, black);border-radius:50%;width:50px;height:50px;animation:spin .5s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
491
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: BusyIndicatorComponent, isStandalone: true, selector: "ox-busy-indicator", inputs: { isBusy: { classPropertyName: "isBusy", publicName: "isBusy", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (isBusy()) {\r\n <div class=\"busy-indicator-container\">\r\n <div class=\"busy-indicator\"></div>\r\n </div>\r\n}", styles: [".busy-indicator-container{position:fixed;left:50%;top:35%;text-align:center;z-index:1000;margin-left:-47px;background:#fff;border-radius:8px;padding:20px;border:solid 2px transparent;background-clip:padding-box;box-shadow:10px 10px 10px #2e364414}.busy-indicator{border:10px solid #e2e2e2;border-top:10px solid var(--app-color, black);border-radius:50%;width:50px;height:50px;animation:spin .5s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
488
492
  }
489
493
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: BusyIndicatorComponent, decorators: [{
490
494
  type: Component,
491
- args: [{ selector: 'ox-busy-indicator', changeDetection: ChangeDetectionStrategy.OnPush, imports: [], template: "@if (isBusy()) {\n <div class=\"busy-indicator-container\">\n <div class=\"busy-indicator\"></div>\n </div>\n}", styles: [".busy-indicator-container{position:fixed;left:50%;top:35%;text-align:center;z-index:1000;margin-left:-47px;background:#fff;border-radius:8px;padding:20px;border:solid 2px transparent;background-clip:padding-box;box-shadow:10px 10px 10px #2e364414}.busy-indicator{border:10px solid #e2e2e2;border-top:10px solid var(--app-color, black);border-radius:50%;width:50px;height:50px;animation:spin .5s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }]
495
+ args: [{ selector: 'ox-busy-indicator', changeDetection: ChangeDetectionStrategy.OnPush, imports: [], template: "@if (isBusy()) {\r\n <div class=\"busy-indicator-container\">\r\n <div class=\"busy-indicator\"></div>\r\n </div>\r\n}", styles: [".busy-indicator-container{position:fixed;left:50%;top:35%;text-align:center;z-index:1000;margin-left:-47px;background:#fff;border-radius:8px;padding:20px;border:solid 2px transparent;background-clip:padding-box;box-shadow:10px 10px 10px #2e364414}.busy-indicator{border:10px solid #e2e2e2;border-top:10px solid var(--app-color, black);border-radius:50%;width:50px;height:50px;animation:spin .5s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }]
492
496
  }], ctorParameters: () => [], propDecorators: { isBusy: [{ type: i0.Input, args: [{ isSignal: true, alias: "isBusy", required: false }] }] } });
493
497
 
494
498
  class FuncionarioFormComponent {
@@ -525,11 +529,11 @@ class FuncionarioFormComponent {
525
529
  this.exibeAtribuicoes = ev.value === 2;
526
530
  }
527
531
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FuncionarioFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
528
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: FuncionarioFormComponent, isStandalone: true, selector: "ox-funcionario-form", inputs: { model: "model" }, ngImport: i0, template: "<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\n@if (model) {\n <div class=\"form-group\">\n <label for=\"nome\">Nome</label>\n <input id=\"nome\" [(ngModel)]=\"model.nome\" required class=\"form-control input-300\" tabindex=\"2\">\n </div>\n}\n@if (model) {\n <div class=\"form-group\">\n <label for=\"cargo\">Cargo</label>\n <mat-select id=\"cargo\" (selectionChange)=\"cargoChanged($event)\" [(value)]=\"model.cargoId\" tabindex=\"2\"\n class=\"form-control input-300\" color=\"primary\">\n @for (m of cargos; track m) {\n <mat-option [value]=\"m.id\">\n {{m.nome}}\n </mat-option>\n }\n </mat-select>\n </div>\n}\n@if (model) {\n <div class=\"form-group\">\n <label for=\"nome\">Nome</label>\n <input id=\"nome\" [(ngModel)]=\"model.nome\" required class=\"form-control input-300\" tabindex=\"2\">\n </div>\n}\n@if (model && exibeAtribuicoes) {\n <div class=\"vbox margin-top-16\">\n <label>Atribui\u00E7\u00F5es</label>\n <div class=\"vbox gap-4 margin-top-8\">\n <mat-slide-toggle [(ngModel)]=\"model.atribuicaoConferenciaCheckout\" tabindex=-1>Confer\u00EAncia Checkout\n </mat-slide-toggle>\n <mat-slide-toggle [(ngModel)]=\"model.atribuicaoLimpeza\" tabindex=-1>Limpeza</mat-slide-toggle>\n <mat-slide-toggle [(ngModel)]=\"model.atribuicaoLiberacaoLimpeza\" tabindex=-1>Libera\u00E7\u00E3o de Limpeza</mat-slide-toggle>\n <mat-slide-toggle [(ngModel)]=\"model.atribuicaoRevisao\" tabindex=-1>Revis\u00E3o</mat-slide-toggle>\n <mat-slide-toggle [(ngModel)]=\"model.atribuicaoFinalizaPedido\" tabindex=-1>Finaliza Pedido</mat-slide-toggle>\n </div>\n <div class=\"form-group margin-top-16\">\n <label for=\"senha\">Senha (opcional)</label>\n <input id=\"senha\" [(ngModel)]=\"model.senha\" class=\"form-control input-120\" tabindex=\"3\">\n </div>\n </div>\n}", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i2.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i2.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i3.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
532
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: FuncionarioFormComponent, isStandalone: true, selector: "ox-funcionario-form", inputs: { model: "model" }, ngImport: i0, template: "<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\r\n@if (model) {\r\n <div class=\"form-group\">\r\n <label for=\"nome\">Nome</label>\r\n <input id=\"nome\" [(ngModel)]=\"model.nome\" required class=\"form-control input-300\" tabindex=\"2\">\r\n </div>\r\n}\r\n@if (model) {\r\n <div class=\"form-group\">\r\n <label for=\"cargo\">Cargo</label>\r\n <mat-select id=\"cargo\" (selectionChange)=\"cargoChanged($event)\" [(value)]=\"model.cargoId\" tabindex=\"2\"\r\n class=\"form-control input-300\" color=\"primary\">\r\n @for (m of cargos; track m) {\r\n <mat-option [value]=\"m.id\">\r\n {{m.nome}}\r\n </mat-option>\r\n }\r\n </mat-select>\r\n </div>\r\n}\r\n@if (model) {\r\n <div class=\"form-group\">\r\n <label for=\"nome\">Nome</label>\r\n <input id=\"nome\" [(ngModel)]=\"model.nome\" required class=\"form-control input-300\" tabindex=\"2\">\r\n </div>\r\n}\r\n@if (model && exibeAtribuicoes) {\r\n <div class=\"vbox margin-top-16\">\r\n <label>Atribui\u00E7\u00F5es</label>\r\n <div class=\"vbox gap-4 margin-top-8\">\r\n <mat-slide-toggle [(ngModel)]=\"model.atribuicaoConferenciaCheckout\" tabindex=-1>Confer\u00EAncia Checkout\r\n </mat-slide-toggle>\r\n <mat-slide-toggle [(ngModel)]=\"model.atribuicaoLimpeza\" tabindex=-1>Limpeza</mat-slide-toggle>\r\n <mat-slide-toggle [(ngModel)]=\"model.atribuicaoLiberacaoLimpeza\" tabindex=-1>Libera\u00E7\u00E3o de Limpeza</mat-slide-toggle>\r\n <mat-slide-toggle [(ngModel)]=\"model.atribuicaoRevisao\" tabindex=-1>Revis\u00E3o</mat-slide-toggle>\r\n <mat-slide-toggle [(ngModel)]=\"model.atribuicaoFinalizaPedido\" tabindex=-1>Finaliza Pedido</mat-slide-toggle>\r\n </div>\r\n <div class=\"form-group margin-top-16\">\r\n <label for=\"senha\">Senha (opcional)</label>\r\n <input id=\"senha\" [(ngModel)]=\"model.senha\" class=\"form-control input-120\" tabindex=\"3\">\r\n </div>\r\n </div>\r\n}", styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i2.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i2.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i3.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
529
533
  }
530
534
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FuncionarioFormComponent, decorators: [{
531
535
  type: Component,
532
- args: [{ selector: 'ox-funcionario-form', changeDetection: ChangeDetectionStrategy.OnPush, imports: [FormsModule, MatSelectModule, MatSlideToggleModule, BusyIndicatorComponent], template: "<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\n@if (model) {\n <div class=\"form-group\">\n <label for=\"nome\">Nome</label>\n <input id=\"nome\" [(ngModel)]=\"model.nome\" required class=\"form-control input-300\" tabindex=\"2\">\n </div>\n}\n@if (model) {\n <div class=\"form-group\">\n <label for=\"cargo\">Cargo</label>\n <mat-select id=\"cargo\" (selectionChange)=\"cargoChanged($event)\" [(value)]=\"model.cargoId\" tabindex=\"2\"\n class=\"form-control input-300\" color=\"primary\">\n @for (m of cargos; track m) {\n <mat-option [value]=\"m.id\">\n {{m.nome}}\n </mat-option>\n }\n </mat-select>\n </div>\n}\n@if (model) {\n <div class=\"form-group\">\n <label for=\"nome\">Nome</label>\n <input id=\"nome\" [(ngModel)]=\"model.nome\" required class=\"form-control input-300\" tabindex=\"2\">\n </div>\n}\n@if (model && exibeAtribuicoes) {\n <div class=\"vbox margin-top-16\">\n <label>Atribui\u00E7\u00F5es</label>\n <div class=\"vbox gap-4 margin-top-8\">\n <mat-slide-toggle [(ngModel)]=\"model.atribuicaoConferenciaCheckout\" tabindex=-1>Confer\u00EAncia Checkout\n </mat-slide-toggle>\n <mat-slide-toggle [(ngModel)]=\"model.atribuicaoLimpeza\" tabindex=-1>Limpeza</mat-slide-toggle>\n <mat-slide-toggle [(ngModel)]=\"model.atribuicaoLiberacaoLimpeza\" tabindex=-1>Libera\u00E7\u00E3o de Limpeza</mat-slide-toggle>\n <mat-slide-toggle [(ngModel)]=\"model.atribuicaoRevisao\" tabindex=-1>Revis\u00E3o</mat-slide-toggle>\n <mat-slide-toggle [(ngModel)]=\"model.atribuicaoFinalizaPedido\" tabindex=-1>Finaliza Pedido</mat-slide-toggle>\n </div>\n <div class=\"form-group margin-top-16\">\n <label for=\"senha\">Senha (opcional)</label>\n <input id=\"senha\" [(ngModel)]=\"model.senha\" class=\"form-control input-120\" tabindex=\"3\">\n </div>\n </div>\n}" }]
536
+ args: [{ selector: 'ox-funcionario-form', changeDetection: ChangeDetectionStrategy.OnPush, imports: [FormsModule, MatSelectModule, MatSlideToggleModule, BusyIndicatorComponent], template: "<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\r\n@if (model) {\r\n <div class=\"form-group\">\r\n <label for=\"nome\">Nome</label>\r\n <input id=\"nome\" [(ngModel)]=\"model.nome\" required class=\"form-control input-300\" tabindex=\"2\">\r\n </div>\r\n}\r\n@if (model) {\r\n <div class=\"form-group\">\r\n <label for=\"cargo\">Cargo</label>\r\n <mat-select id=\"cargo\" (selectionChange)=\"cargoChanged($event)\" [(value)]=\"model.cargoId\" tabindex=\"2\"\r\n class=\"form-control input-300\" color=\"primary\">\r\n @for (m of cargos; track m) {\r\n <mat-option [value]=\"m.id\">\r\n {{m.nome}}\r\n </mat-option>\r\n }\r\n </mat-select>\r\n </div>\r\n}\r\n@if (model) {\r\n <div class=\"form-group\">\r\n <label for=\"nome\">Nome</label>\r\n <input id=\"nome\" [(ngModel)]=\"model.nome\" required class=\"form-control input-300\" tabindex=\"2\">\r\n </div>\r\n}\r\n@if (model && exibeAtribuicoes) {\r\n <div class=\"vbox margin-top-16\">\r\n <label>Atribui\u00E7\u00F5es</label>\r\n <div class=\"vbox gap-4 margin-top-8\">\r\n <mat-slide-toggle [(ngModel)]=\"model.atribuicaoConferenciaCheckout\" tabindex=-1>Confer\u00EAncia Checkout\r\n </mat-slide-toggle>\r\n <mat-slide-toggle [(ngModel)]=\"model.atribuicaoLimpeza\" tabindex=-1>Limpeza</mat-slide-toggle>\r\n <mat-slide-toggle [(ngModel)]=\"model.atribuicaoLiberacaoLimpeza\" tabindex=-1>Libera\u00E7\u00E3o de Limpeza</mat-slide-toggle>\r\n <mat-slide-toggle [(ngModel)]=\"model.atribuicaoRevisao\" tabindex=-1>Revis\u00E3o</mat-slide-toggle>\r\n <mat-slide-toggle [(ngModel)]=\"model.atribuicaoFinalizaPedido\" tabindex=-1>Finaliza Pedido</mat-slide-toggle>\r\n </div>\r\n <div class=\"form-group margin-top-16\">\r\n <label for=\"senha\">Senha (opcional)</label>\r\n <input id=\"senha\" [(ngModel)]=\"model.senha\" class=\"form-control input-120\" tabindex=\"3\">\r\n </div>\r\n </div>\r\n}" }]
533
537
  }], propDecorators: { model: [{
534
538
  type: Input
535
539
  }] } });
@@ -594,11 +598,11 @@ class FuncionarioAddDialogComponent {
594
598
  });
595
599
  }
596
600
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FuncionarioAddDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
597
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: FuncionarioAddDialogComponent, isStandalone: true, selector: "ox-funcionario-add-dialog", ngImport: i0, template: "<div class=\"ox-header\">\n <h2 class=\"titulo\">Novo Funcion\u00E1rio</h2>\n <button mat-icon-button [mat-dialog-close]>\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"dialog-content\">\n @if (model) {\n <ox-funcionario-form [model]=\"model\"></ox-funcionario-form>\n }\n</div>\n<div class=\"dialog-footer\">\n <button mat-button color=\"primary\" (click)=\"salvar()\" tabindex=\"9\">SALVAR</button>\n <button mat-button [mat-dialog-close]>VOLTAR</button>\n</div>\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"], dependencies: [{ kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: FuncionarioFormComponent, selector: "ox-funcionario-form", inputs: ["model"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
601
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: FuncionarioAddDialogComponent, isStandalone: true, selector: "ox-funcionario-add-dialog", ngImport: i0, template: "<div class=\"ox-header\">\r\n <h2 class=\"titulo\">Novo Funcion\u00E1rio</h2>\r\n <button mat-icon-button [mat-dialog-close]>\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n</div>\r\n<div class=\"dialog-content\">\r\n @if (model) {\r\n <ox-funcionario-form [model]=\"model\"></ox-funcionario-form>\r\n }\r\n</div>\r\n<div class=\"dialog-footer\">\r\n <button mat-button color=\"primary\" (click)=\"salvar()\" tabindex=\"9\">SALVAR</button>\r\n <button mat-button [mat-dialog-close]>VOLTAR</button>\r\n</div>\r\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"], dependencies: [{ kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: FuncionarioFormComponent, selector: "ox-funcionario-form", inputs: ["model"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
598
602
  }
599
603
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FuncionarioAddDialogComponent, decorators: [{
600
604
  type: Component,
601
- args: [{ selector: 'ox-funcionario-add-dialog', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatDialogModule, MatButtonModule, MatIconModule, FuncionarioFormComponent, BusyIndicatorComponent], template: "<div class=\"ox-header\">\n <h2 class=\"titulo\">Novo Funcion\u00E1rio</h2>\n <button mat-icon-button [mat-dialog-close]>\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"dialog-content\">\n @if (model) {\n <ox-funcionario-form [model]=\"model\"></ox-funcionario-form>\n }\n</div>\n<div class=\"dialog-footer\">\n <button mat-button color=\"primary\" (click)=\"salvar()\" tabindex=\"9\">SALVAR</button>\n <button mat-button [mat-dialog-close]>VOLTAR</button>\n</div>\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"] }]
605
+ args: [{ selector: 'ox-funcionario-add-dialog', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatDialogModule, MatButtonModule, MatIconModule, FuncionarioFormComponent, BusyIndicatorComponent], template: "<div class=\"ox-header\">\r\n <h2 class=\"titulo\">Novo Funcion\u00E1rio</h2>\r\n <button mat-icon-button [mat-dialog-close]>\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n</div>\r\n<div class=\"dialog-content\">\r\n @if (model) {\r\n <ox-funcionario-form [model]=\"model\"></ox-funcionario-form>\r\n }\r\n</div>\r\n<div class=\"dialog-footer\">\r\n <button mat-button color=\"primary\" (click)=\"salvar()\" tabindex=\"9\">SALVAR</button>\r\n <button mat-button [mat-dialog-close]>VOLTAR</button>\r\n</div>\r\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"] }]
602
606
  }], ctorParameters: () => [] });
603
607
 
604
608
  class FuncionarioEditDialogComponent {
@@ -651,11 +655,11 @@ class FuncionarioEditDialogComponent {
651
655
  });
652
656
  }
653
657
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FuncionarioEditDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
654
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: FuncionarioEditDialogComponent, isStandalone: true, selector: "ox-funcionario-edit-dialog", ngImport: i0, template: "<div class=\"ox-header\">\n <h2 class=\"titulo\">Editando Funcion\u00E1rio</h2>\n <button mat-icon-button [mat-dialog-close]>\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"dialog-content\">\n @if (model) {\n <ox-funcionario-form [model]=\"model\"></ox-funcionario-form>\n }\n</div>\n<div class=\"dialog-footer\">\n <button mat-button color=\"primary\" (click)=\"salvar()\" tabindex=\"9\">SALVAR</button>\n <button mat-button [mat-dialog-close]>VOLTAR</button>\n</div>\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"], dependencies: [{ kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: FuncionarioFormComponent, selector: "ox-funcionario-form", inputs: ["model"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
658
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: FuncionarioEditDialogComponent, isStandalone: true, selector: "ox-funcionario-edit-dialog", ngImport: i0, template: "<div class=\"ox-header\">\r\n <h2 class=\"titulo\">Editando Funcion\u00E1rio</h2>\r\n <button mat-icon-button [mat-dialog-close]>\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n</div>\r\n<div class=\"dialog-content\">\r\n @if (model) {\r\n <ox-funcionario-form [model]=\"model\"></ox-funcionario-form>\r\n }\r\n</div>\r\n<div class=\"dialog-footer\">\r\n <button mat-button color=\"primary\" (click)=\"salvar()\" tabindex=\"9\">SALVAR</button>\r\n <button mat-button [mat-dialog-close]>VOLTAR</button>\r\n</div>\r\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"], dependencies: [{ kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: FuncionarioFormComponent, selector: "ox-funcionario-form", inputs: ["model"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
655
659
  }
656
660
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FuncionarioEditDialogComponent, decorators: [{
657
661
  type: Component,
658
- args: [{ selector: 'ox-funcionario-edit-dialog', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatDialogModule, MatButtonModule, MatIconModule, FuncionarioFormComponent, BusyIndicatorComponent], template: "<div class=\"ox-header\">\n <h2 class=\"titulo\">Editando Funcion\u00E1rio</h2>\n <button mat-icon-button [mat-dialog-close]>\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"dialog-content\">\n @if (model) {\n <ox-funcionario-form [model]=\"model\"></ox-funcionario-form>\n }\n</div>\n<div class=\"dialog-footer\">\n <button mat-button color=\"primary\" (click)=\"salvar()\" tabindex=\"9\">SALVAR</button>\n <button mat-button [mat-dialog-close]>VOLTAR</button>\n</div>\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"] }]
662
+ args: [{ selector: 'ox-funcionario-edit-dialog', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatDialogModule, MatButtonModule, MatIconModule, FuncionarioFormComponent, BusyIndicatorComponent], template: "<div class=\"ox-header\">\r\n <h2 class=\"titulo\">Editando Funcion\u00E1rio</h2>\r\n <button mat-icon-button [mat-dialog-close]>\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n</div>\r\n<div class=\"dialog-content\">\r\n @if (model) {\r\n <ox-funcionario-form [model]=\"model\"></ox-funcionario-form>\r\n }\r\n</div>\r\n<div class=\"dialog-footer\">\r\n <button mat-button color=\"primary\" (click)=\"salvar()\" tabindex=\"9\">SALVAR</button>\r\n <button mat-button [mat-dialog-close]>VOLTAR</button>\r\n</div>\r\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"] }]
659
663
  }], ctorParameters: () => [] });
660
664
 
661
665
  const fadeAnimation = trigger('fade', [
@@ -926,6 +930,7 @@ class AuthDataService {
926
930
  financasMensal: false,
927
931
  financasResumoDiario: false,
928
932
  financasConfiguracoes: false,
933
+ financasNewDashboard: false,
929
934
  recepcaoEnergizar: false,
930
935
  recepcaoConfiguracoes: false,
931
936
  recepcaoTrocaOperador: false,
@@ -1136,11 +1141,11 @@ class ItemCardComponent {
1136
1141
  ngOnInit() {
1137
1142
  }
1138
1143
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ItemCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1139
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: ItemCardComponent, isStandalone: true, selector: "ox-item-card", inputs: { nome: { classPropertyName: "nome", publicName: "nome", isSignal: true, isRequired: false, transformFunction: null }, codigo: { classPropertyName: "codigo", publicName: "codigo", isSignal: false, isRequired: false, transformFunction: null }, star: { classPropertyName: "star", publicName: "star", isSignal: true, isRequired: false, transformFunction: null }, cloud: { classPropertyName: "cloud", publicName: "cloud", isSignal: true, isRequired: false, transformFunction: null }, desativado: { classPropertyName: "desativado", publicName: "desativado", isSignal: true, isRequired: false, transformFunction: null }, ownership: { classPropertyName: "ownership", publicName: "ownership", isSignal: false, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"nome-codigo-row\">@if (codigo) {\n <span class=\"codigo\">{{codigo}}</span>\n}{{nome()}}</div>\n\n<div class=\"icons-row\">\n @if (ownership) {\n <div class=\"ownership\">\n @if (ownership?.usuarioLogin) {\n <span class=\"usuario\">{{ownership?.usuarioLogin}}</span>\n }\n @if (ownership?.startTime) {\n <span class=\"startEndTime\">\n <span class=\"startTime\">{{ownership?.startTime | date:\"dd/MM/yy\"}}</span>\n </span>\n }\n </div>\n }\n @if (star()) {\n <span class=\"material-icons star\">\n grade\n </span>\n }\n @if (desativado() === true) {\n <span class=\"material-icons desativado\">\n dangerous\n </span>\n }\n @if (cloud() === false) {\n <span class=\"material-icons sync-pendente\">\n cloud_queue\n </span>\n }\n @if (cloud() === true) {\n <span class=\"material-icons sync-concluido\">\n cloud_done\n </span>\n }\n</div>", styles: [":host{display:flex;flex-direction:row;border-bottom:1px solid #e6e9ec;border-left:3px solid #e6e9ec;padding:12px 16px;background:#fff;justify-content:space-between;cursor:pointer;flex-shrink:0;align-items:center;transition:border-left-color 1s;-webkit-user-select:none;user-select:none;font-size:small}:host:hover{box-shadow:0 0 16px #0000000f;background:transparent;z-index:1}:host(.selected){border-left-color:var(--app-color, black);z-index:1;box-shadow:0 0 8px 5px #00000008;flex-shrink:0;background:linear-gradient(45deg,var(--item-card-selected-bg, rgba(0, 0, 0, .05)),transparent)}.ownership{background:transparent;display:flex;flex-direction:column;align-items:center}.ownership .usuario{font-size:x-small;color:#515962;text-transform:lowercase}.ownership .startTime,.ownership .endTime{font-size:xx-small}.ownership .startEndTime{display:flex;flex-direction:row;color:#464646}.nome-codigo-row{display:flex;flex-direction:row;flex-grow:1;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin-right:8px}.icons-row{display:flex;flex-direction:row;align-items:center;gap:8px}.codigo{color:#666;font-size:x-small;border-radius:4px;padding:0 4px;width:50px;min-width:50px;text-align:center;border:1px solid #eee;margin-right:16px;display:flex;align-items:center;justify-content:center}.sync-pendente{color:#141212;font-size:16px}.sync-concluido{color:#dbdbdb;font-size:16px}.star{color:#000}.desativado{color:#8f07bb;font-size:16px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i4.DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1144
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: ItemCardComponent, isStandalone: true, selector: "ox-item-card", inputs: { nome: { classPropertyName: "nome", publicName: "nome", isSignal: true, isRequired: false, transformFunction: null }, codigo: { classPropertyName: "codigo", publicName: "codigo", isSignal: false, isRequired: false, transformFunction: null }, star: { classPropertyName: "star", publicName: "star", isSignal: true, isRequired: false, transformFunction: null }, cloud: { classPropertyName: "cloud", publicName: "cloud", isSignal: true, isRequired: false, transformFunction: null }, desativado: { classPropertyName: "desativado", publicName: "desativado", isSignal: true, isRequired: false, transformFunction: null }, ownership: { classPropertyName: "ownership", publicName: "ownership", isSignal: false, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"nome-codigo-row\">@if (codigo) {\r\n <span class=\"codigo\">{{codigo}}</span>\r\n}{{nome()}}</div>\r\n\r\n<div class=\"icons-row\">\r\n @if (ownership) {\r\n <div class=\"ownership\">\r\n @if (ownership?.usuarioLogin) {\r\n <span class=\"usuario\">{{ownership?.usuarioLogin}}</span>\r\n }\r\n @if (ownership?.startTime) {\r\n <span class=\"startEndTime\">\r\n <span class=\"startTime\">{{ownership?.startTime | date:\"dd/MM/yy\"}}</span>\r\n </span>\r\n }\r\n </div>\r\n }\r\n @if (star()) {\r\n <span class=\"material-icons star\">\r\n grade\r\n </span>\r\n }\r\n @if (desativado() === true) {\r\n <span class=\"material-icons desativado\">\r\n dangerous\r\n </span>\r\n }\r\n @if (cloud() === false) {\r\n <span class=\"material-icons sync-pendente\">\r\n cloud_queue\r\n </span>\r\n }\r\n @if (cloud() === true) {\r\n <span class=\"material-icons sync-concluido\">\r\n cloud_done\r\n </span>\r\n }\r\n</div>", styles: [":host{display:flex;flex-direction:row;border-bottom:1px solid #e6e9ec;border-left:3px solid #e6e9ec;padding:12px 16px;background:#fff;justify-content:space-between;cursor:pointer;flex-shrink:0;align-items:center;transition:border-left-color 1s;-webkit-user-select:none;user-select:none;font-size:small}:host:hover{box-shadow:0 0 16px #0000000f;background:transparent;z-index:1}:host(.selected){border-left-color:var(--app-color, black);z-index:1;box-shadow:0 0 8px 5px #00000008;flex-shrink:0;background:linear-gradient(45deg,var(--item-card-selected-bg, rgba(0, 0, 0, .05)),transparent)}.ownership{background:transparent;display:flex;flex-direction:column;align-items:center}.ownership .usuario{font-size:x-small;color:#515962;text-transform:lowercase}.ownership .startTime,.ownership .endTime{font-size:xx-small}.ownership .startEndTime{display:flex;flex-direction:row;color:#464646}.nome-codigo-row{display:flex;flex-direction:row;flex-grow:1;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin-right:8px}.icons-row{display:flex;flex-direction:row;align-items:center;gap:8px}.codigo{color:#666;font-size:x-small;border-radius:4px;padding:0 4px;width:50px;min-width:50px;text-align:center;border:1px solid #eee;margin-right:16px;display:flex;align-items:center;justify-content:center}.sync-pendente{color:#141212;font-size:16px}.sync-concluido{color:#dbdbdb;font-size:16px}.star{color:#000}.desativado{color:#8f07bb;font-size:16px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "pipe", type: i4.DatePipe, name: "date" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1140
1145
  }
1141
1146
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ItemCardComponent, decorators: [{
1142
1147
  type: Component,
1143
- args: [{ selector: 'ox-item-card', changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule], template: "<div class=\"nome-codigo-row\">@if (codigo) {\n <span class=\"codigo\">{{codigo}}</span>\n}{{nome()}}</div>\n\n<div class=\"icons-row\">\n @if (ownership) {\n <div class=\"ownership\">\n @if (ownership?.usuarioLogin) {\n <span class=\"usuario\">{{ownership?.usuarioLogin}}</span>\n }\n @if (ownership?.startTime) {\n <span class=\"startEndTime\">\n <span class=\"startTime\">{{ownership?.startTime | date:\"dd/MM/yy\"}}</span>\n </span>\n }\n </div>\n }\n @if (star()) {\n <span class=\"material-icons star\">\n grade\n </span>\n }\n @if (desativado() === true) {\n <span class=\"material-icons desativado\">\n dangerous\n </span>\n }\n @if (cloud() === false) {\n <span class=\"material-icons sync-pendente\">\n cloud_queue\n </span>\n }\n @if (cloud() === true) {\n <span class=\"material-icons sync-concluido\">\n cloud_done\n </span>\n }\n</div>", styles: [":host{display:flex;flex-direction:row;border-bottom:1px solid #e6e9ec;border-left:3px solid #e6e9ec;padding:12px 16px;background:#fff;justify-content:space-between;cursor:pointer;flex-shrink:0;align-items:center;transition:border-left-color 1s;-webkit-user-select:none;user-select:none;font-size:small}:host:hover{box-shadow:0 0 16px #0000000f;background:transparent;z-index:1}:host(.selected){border-left-color:var(--app-color, black);z-index:1;box-shadow:0 0 8px 5px #00000008;flex-shrink:0;background:linear-gradient(45deg,var(--item-card-selected-bg, rgba(0, 0, 0, .05)),transparent)}.ownership{background:transparent;display:flex;flex-direction:column;align-items:center}.ownership .usuario{font-size:x-small;color:#515962;text-transform:lowercase}.ownership .startTime,.ownership .endTime{font-size:xx-small}.ownership .startEndTime{display:flex;flex-direction:row;color:#464646}.nome-codigo-row{display:flex;flex-direction:row;flex-grow:1;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin-right:8px}.icons-row{display:flex;flex-direction:row;align-items:center;gap:8px}.codigo{color:#666;font-size:x-small;border-radius:4px;padding:0 4px;width:50px;min-width:50px;text-align:center;border:1px solid #eee;margin-right:16px;display:flex;align-items:center;justify-content:center}.sync-pendente{color:#141212;font-size:16px}.sync-concluido{color:#dbdbdb;font-size:16px}.star{color:#000}.desativado{color:#8f07bb;font-size:16px}\n"] }]
1148
+ args: [{ selector: 'ox-item-card', changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule], template: "<div class=\"nome-codigo-row\">@if (codigo) {\r\n <span class=\"codigo\">{{codigo}}</span>\r\n}{{nome()}}</div>\r\n\r\n<div class=\"icons-row\">\r\n @if (ownership) {\r\n <div class=\"ownership\">\r\n @if (ownership?.usuarioLogin) {\r\n <span class=\"usuario\">{{ownership?.usuarioLogin}}</span>\r\n }\r\n @if (ownership?.startTime) {\r\n <span class=\"startEndTime\">\r\n <span class=\"startTime\">{{ownership?.startTime | date:\"dd/MM/yy\"}}</span>\r\n </span>\r\n }\r\n </div>\r\n }\r\n @if (star()) {\r\n <span class=\"material-icons star\">\r\n grade\r\n </span>\r\n }\r\n @if (desativado() === true) {\r\n <span class=\"material-icons desativado\">\r\n dangerous\r\n </span>\r\n }\r\n @if (cloud() === false) {\r\n <span class=\"material-icons sync-pendente\">\r\n cloud_queue\r\n </span>\r\n }\r\n @if (cloud() === true) {\r\n <span class=\"material-icons sync-concluido\">\r\n cloud_done\r\n </span>\r\n }\r\n</div>", styles: [":host{display:flex;flex-direction:row;border-bottom:1px solid #e6e9ec;border-left:3px solid #e6e9ec;padding:12px 16px;background:#fff;justify-content:space-between;cursor:pointer;flex-shrink:0;align-items:center;transition:border-left-color 1s;-webkit-user-select:none;user-select:none;font-size:small}:host:hover{box-shadow:0 0 16px #0000000f;background:transparent;z-index:1}:host(.selected){border-left-color:var(--app-color, black);z-index:1;box-shadow:0 0 8px 5px #00000008;flex-shrink:0;background:linear-gradient(45deg,var(--item-card-selected-bg, rgba(0, 0, 0, .05)),transparent)}.ownership{background:transparent;display:flex;flex-direction:column;align-items:center}.ownership .usuario{font-size:x-small;color:#515962;text-transform:lowercase}.ownership .startTime,.ownership .endTime{font-size:xx-small}.ownership .startEndTime{display:flex;flex-direction:row;color:#464646}.nome-codigo-row{display:flex;flex-direction:row;flex-grow:1;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;margin-right:8px}.icons-row{display:flex;flex-direction:row;align-items:center;gap:8px}.codigo{color:#666;font-size:x-small;border-radius:4px;padding:0 4px;width:50px;min-width:50px;text-align:center;border:1px solid #eee;margin-right:16px;display:flex;align-items:center;justify-content:center}.sync-pendente{color:#141212;font-size:16px}.sync-concluido{color:#dbdbdb;font-size:16px}.star{color:#000}.desativado{color:#8f07bb;font-size:16px}\n"] }]
1144
1149
  }], propDecorators: { nome: [{ type: i0.Input, args: [{ isSignal: true, alias: "nome", required: false }] }], codigo: [{
1145
1150
  type: Input
1146
1151
  }], star: [{ type: i0.Input, args: [{ isSignal: true, alias: "star", required: false }] }], cloud: [{ type: i0.Input, args: [{ isSignal: true, alias: "cloud", required: false }] }], desativado: [{ type: i0.Input, args: [{ isSignal: true, alias: "desativado", required: false }] }], ownership: [{
@@ -1286,11 +1291,11 @@ class FuncionariosComponent {
1286
1291
  });
1287
1292
  }
1288
1293
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FuncionariosComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1289
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: FuncionariosComponent, isStandalone: true, selector: "ox-funcionarios", ngImport: i0, template: "<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\n@if (mobile) {\n <div class=\"tool-panel\">\n <div class=\"tool-section\">\n <label>Pesquisa</label>\n <div class=\"search-input-container\">\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\" (input)=\"lazyTrigger.fire()\">\n </div>\n </div>\n <div class=\"tool-section ordem-sm2\">\n <label>A\u00E7\u00F5es</label>\n <div class=\"tool-row\">\n <button mat-icon-button (click)=\"atualiza()\">\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\n </button>\n @if (allowAdd) {\n <button mat-icon-button (click)=\"novo()\">\n <mat-icon aria-label=\"Novo\">add</mat-icon>\n </button>\n }\n @if (selectedItem && allowExcluir) {\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\n <mat-icon aria-label=\"Excluir\">delete</mat-icon>\n </button>\n }\n </div>\n </div>\n </div>\n}\n@if (items) {\n <div class=\"result-container\">\n @if (mobile) {\n <div class=\"cards-container cards-container-shadow\">\n @for (i of items; track i) {\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" (click)=\"abreCadastro(i)\"></ox-item-card>\n }\n </div>\n }\n @if (!mobile) {\n <div class=\"listagem-desktop-grid\">\n <div class=\"listagem-column-container listagem-list-column\">\n <h3>Funcion\u00E1rios</h3>\n <div class=\"tool-panel tool-panel-float\">\n <div class=\"tool-section\">\n <label>Pesquisa</label>\n <div class=\"search-input-container\">\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\" (input)=\"lazyTrigger.fire()\">\n </div>\n </div>\n <div class=\"tool-section ordem-sm2\">\n <label>A\u00E7\u00F5es</label>\n <div class=\"tool-row\">\n <button mat-icon-button (click)=\"atualiza()\">\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\n </button>\n @if (allowAdd) {\n <button mat-icon-button (click)=\"novo()\">\n <mat-icon aria-label=\"Novo\">add</mat-icon>\n </button>\n }\n @if (selectedItem && allowExcluir) {\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\n <mat-icon aria-label=\"Excluir\">delete</mat-icon>\n </button>\n }\n </div>\n </div>\n </div>\n <div class=\"listagem-list-container\">\n @if (items.length === 0) {\n <h4 class=\"nenhum-item-msg\">A busca n\u00E3o retornou resultados</h4>\n }\n @for (i of items; track i) {\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" [class.selected]=\"i === selectedItem\"\n (click)=\"selectedItem = i;\"></ox-item-card>\n }\n </div>\n </div>\n <div class=\"listagem-column-container listagem-column-form\">\n @if (!selectedItem) {\n <h3>Selecione um funcion\u00E1rio no lado direito</h3>\n }\n @if (selectedItem) {\n <h3>{{selectedItem.nome | uppercase}}</h3>\n }\n <div class=\"listagem-form-container\">\n @if (selectedItem) {\n <ox-funcionario-form [@fade] [model]=\"selectedItem\">\n </ox-funcionario-form>\n }\n </div>\n <div class=\"listagem-form-acoes\">\n @if (selectedItem) {\n <button (click)=\"salvar()\" mat-fab color=\"primary\" tabindex=\"20\">\n <mat-icon>save</mat-icon>\n </button>\n }\n </div>\n </div>\n </div>\n }\n </div>\n}", styles: [":host{height:calc(100% - 48px);display:flex;flex-grow:1;flex-direction:column;background:#f0f0f0}:host{background-color:#fdfdfd}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatFabButton, selector: "button[mat-fab], a[mat-fab], button[matFab], a[matFab]", inputs: ["extended"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }, { kind: "component", type: ItemCardComponent, selector: "ox-item-card", inputs: ["nome", "codigo", "star", "cloud", "desativado", "ownership"] }, { kind: "component", type: FuncionarioFormComponent, selector: "ox-funcionario-form", inputs: ["model"] }, { kind: "pipe", type: i4.UpperCasePipe, name: "uppercase" }], animations: [fadeAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1294
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: FuncionariosComponent, isStandalone: true, selector: "ox-funcionarios", ngImport: i0, template: "<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\r\n@if (mobile) {\r\n <div class=\"tool-panel\">\r\n <div class=\"tool-section\">\r\n <label>Pesquisa</label>\r\n <div class=\"search-input-container\">\r\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\" (input)=\"lazyTrigger.fire()\">\r\n </div>\r\n </div>\r\n <div class=\"tool-section ordem-sm2\">\r\n <label>A\u00E7\u00F5es</label>\r\n <div class=\"tool-row\">\r\n <button mat-icon-button (click)=\"atualiza()\">\r\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\r\n </button>\r\n @if (allowAdd) {\r\n <button mat-icon-button (click)=\"novo()\">\r\n <mat-icon aria-label=\"Novo\">add</mat-icon>\r\n </button>\r\n }\r\n @if (selectedItem && allowExcluir) {\r\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\r\n <mat-icon aria-label=\"Excluir\">delete</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n}\r\n@if (items) {\r\n <div class=\"result-container\">\r\n @if (mobile) {\r\n <div class=\"cards-container cards-container-shadow\">\r\n @for (i of items; track i) {\r\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" (click)=\"abreCadastro(i)\"></ox-item-card>\r\n }\r\n </div>\r\n }\r\n @if (!mobile) {\r\n <div class=\"listagem-desktop-grid\">\r\n <div class=\"listagem-column-container listagem-list-column\">\r\n <h3>Funcion\u00E1rios</h3>\r\n <div class=\"tool-panel tool-panel-float\">\r\n <div class=\"tool-section\">\r\n <label>Pesquisa</label>\r\n <div class=\"search-input-container\">\r\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\" (input)=\"lazyTrigger.fire()\">\r\n </div>\r\n </div>\r\n <div class=\"tool-section ordem-sm2\">\r\n <label>A\u00E7\u00F5es</label>\r\n <div class=\"tool-row\">\r\n <button mat-icon-button (click)=\"atualiza()\">\r\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\r\n </button>\r\n @if (allowAdd) {\r\n <button mat-icon-button (click)=\"novo()\">\r\n <mat-icon aria-label=\"Novo\">add</mat-icon>\r\n </button>\r\n }\r\n @if (selectedItem && allowExcluir) {\r\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\r\n <mat-icon aria-label=\"Excluir\">delete</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"listagem-list-container\">\r\n @if (items.length === 0) {\r\n <h4 class=\"nenhum-item-msg\">A busca n\u00E3o retornou resultados</h4>\r\n }\r\n @for (i of items; track i) {\r\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" [class.selected]=\"i === selectedItem\"\r\n (click)=\"selectedItem = i;\"></ox-item-card>\r\n }\r\n </div>\r\n </div>\r\n <div class=\"listagem-column-container listagem-column-form\">\r\n @if (!selectedItem) {\r\n <h3>Selecione um funcion\u00E1rio no lado direito</h3>\r\n }\r\n @if (selectedItem) {\r\n <h3>{{selectedItem.nome | uppercase}}</h3>\r\n }\r\n <div class=\"listagem-form-container\">\r\n @if (selectedItem) {\r\n <ox-funcionario-form [@fade] [model]=\"selectedItem\">\r\n </ox-funcionario-form>\r\n }\r\n </div>\r\n <div class=\"listagem-form-acoes\">\r\n @if (selectedItem) {\r\n <button (click)=\"salvar()\" mat-fab color=\"primary\" tabindex=\"20\">\r\n <mat-icon>save</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n}", styles: [":host{height:calc(100% - 48px);display:flex;flex-grow:1;flex-direction:column;background:#f0f0f0}:host{background-color:#fdfdfd}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatFabButton, selector: "button[mat-fab], a[mat-fab], button[matFab], a[matFab]", inputs: ["extended"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }, { kind: "component", type: ItemCardComponent, selector: "ox-item-card", inputs: ["nome", "codigo", "star", "cloud", "desativado", "ownership"] }, { kind: "component", type: FuncionarioFormComponent, selector: "ox-funcionario-form", inputs: ["model"] }, { kind: "pipe", type: i4.UpperCasePipe, name: "uppercase" }], animations: [fadeAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1290
1295
  }
1291
1296
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FuncionariosComponent, decorators: [{
1292
1297
  type: Component,
1293
- args: [{ selector: 'ox-funcionarios', animations: [fadeAnimation], changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, FormsModule, MatButtonModule, MatIconModule, BusyIndicatorComponent, ItemCardComponent, FuncionarioFormComponent], template: "<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\n@if (mobile) {\n <div class=\"tool-panel\">\n <div class=\"tool-section\">\n <label>Pesquisa</label>\n <div class=\"search-input-container\">\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\" (input)=\"lazyTrigger.fire()\">\n </div>\n </div>\n <div class=\"tool-section ordem-sm2\">\n <label>A\u00E7\u00F5es</label>\n <div class=\"tool-row\">\n <button mat-icon-button (click)=\"atualiza()\">\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\n </button>\n @if (allowAdd) {\n <button mat-icon-button (click)=\"novo()\">\n <mat-icon aria-label=\"Novo\">add</mat-icon>\n </button>\n }\n @if (selectedItem && allowExcluir) {\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\n <mat-icon aria-label=\"Excluir\">delete</mat-icon>\n </button>\n }\n </div>\n </div>\n </div>\n}\n@if (items) {\n <div class=\"result-container\">\n @if (mobile) {\n <div class=\"cards-container cards-container-shadow\">\n @for (i of items; track i) {\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" (click)=\"abreCadastro(i)\"></ox-item-card>\n }\n </div>\n }\n @if (!mobile) {\n <div class=\"listagem-desktop-grid\">\n <div class=\"listagem-column-container listagem-list-column\">\n <h3>Funcion\u00E1rios</h3>\n <div class=\"tool-panel tool-panel-float\">\n <div class=\"tool-section\">\n <label>Pesquisa</label>\n <div class=\"search-input-container\">\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\" (input)=\"lazyTrigger.fire()\">\n </div>\n </div>\n <div class=\"tool-section ordem-sm2\">\n <label>A\u00E7\u00F5es</label>\n <div class=\"tool-row\">\n <button mat-icon-button (click)=\"atualiza()\">\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\n </button>\n @if (allowAdd) {\n <button mat-icon-button (click)=\"novo()\">\n <mat-icon aria-label=\"Novo\">add</mat-icon>\n </button>\n }\n @if (selectedItem && allowExcluir) {\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\n <mat-icon aria-label=\"Excluir\">delete</mat-icon>\n </button>\n }\n </div>\n </div>\n </div>\n <div class=\"listagem-list-container\">\n @if (items.length === 0) {\n <h4 class=\"nenhum-item-msg\">A busca n\u00E3o retornou resultados</h4>\n }\n @for (i of items; track i) {\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" [class.selected]=\"i === selectedItem\"\n (click)=\"selectedItem = i;\"></ox-item-card>\n }\n </div>\n </div>\n <div class=\"listagem-column-container listagem-column-form\">\n @if (!selectedItem) {\n <h3>Selecione um funcion\u00E1rio no lado direito</h3>\n }\n @if (selectedItem) {\n <h3>{{selectedItem.nome | uppercase}}</h3>\n }\n <div class=\"listagem-form-container\">\n @if (selectedItem) {\n <ox-funcionario-form [@fade] [model]=\"selectedItem\">\n </ox-funcionario-form>\n }\n </div>\n <div class=\"listagem-form-acoes\">\n @if (selectedItem) {\n <button (click)=\"salvar()\" mat-fab color=\"primary\" tabindex=\"20\">\n <mat-icon>save</mat-icon>\n </button>\n }\n </div>\n </div>\n </div>\n }\n </div>\n}", styles: [":host{height:calc(100% - 48px);display:flex;flex-grow:1;flex-direction:column;background:#f0f0f0}:host{background-color:#fdfdfd}\n"] }]
1298
+ args: [{ selector: 'ox-funcionarios', animations: [fadeAnimation], changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, FormsModule, MatButtonModule, MatIconModule, BusyIndicatorComponent, ItemCardComponent, FuncionarioFormComponent], template: "<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\r\n@if (mobile) {\r\n <div class=\"tool-panel\">\r\n <div class=\"tool-section\">\r\n <label>Pesquisa</label>\r\n <div class=\"search-input-container\">\r\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\" (input)=\"lazyTrigger.fire()\">\r\n </div>\r\n </div>\r\n <div class=\"tool-section ordem-sm2\">\r\n <label>A\u00E7\u00F5es</label>\r\n <div class=\"tool-row\">\r\n <button mat-icon-button (click)=\"atualiza()\">\r\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\r\n </button>\r\n @if (allowAdd) {\r\n <button mat-icon-button (click)=\"novo()\">\r\n <mat-icon aria-label=\"Novo\">add</mat-icon>\r\n </button>\r\n }\r\n @if (selectedItem && allowExcluir) {\r\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\r\n <mat-icon aria-label=\"Excluir\">delete</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n}\r\n@if (items) {\r\n <div class=\"result-container\">\r\n @if (mobile) {\r\n <div class=\"cards-container cards-container-shadow\">\r\n @for (i of items; track i) {\r\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" (click)=\"abreCadastro(i)\"></ox-item-card>\r\n }\r\n </div>\r\n }\r\n @if (!mobile) {\r\n <div class=\"listagem-desktop-grid\">\r\n <div class=\"listagem-column-container listagem-list-column\">\r\n <h3>Funcion\u00E1rios</h3>\r\n <div class=\"tool-panel tool-panel-float\">\r\n <div class=\"tool-section\">\r\n <label>Pesquisa</label>\r\n <div class=\"search-input-container\">\r\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\" (input)=\"lazyTrigger.fire()\">\r\n </div>\r\n </div>\r\n <div class=\"tool-section ordem-sm2\">\r\n <label>A\u00E7\u00F5es</label>\r\n <div class=\"tool-row\">\r\n <button mat-icon-button (click)=\"atualiza()\">\r\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\r\n </button>\r\n @if (allowAdd) {\r\n <button mat-icon-button (click)=\"novo()\">\r\n <mat-icon aria-label=\"Novo\">add</mat-icon>\r\n </button>\r\n }\r\n @if (selectedItem && allowExcluir) {\r\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\r\n <mat-icon aria-label=\"Excluir\">delete</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"listagem-list-container\">\r\n @if (items.length === 0) {\r\n <h4 class=\"nenhum-item-msg\">A busca n\u00E3o retornou resultados</h4>\r\n }\r\n @for (i of items; track i) {\r\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" [class.selected]=\"i === selectedItem\"\r\n (click)=\"selectedItem = i;\"></ox-item-card>\r\n }\r\n </div>\r\n </div>\r\n <div class=\"listagem-column-container listagem-column-form\">\r\n @if (!selectedItem) {\r\n <h3>Selecione um funcion\u00E1rio no lado direito</h3>\r\n }\r\n @if (selectedItem) {\r\n <h3>{{selectedItem.nome | uppercase}}</h3>\r\n }\r\n <div class=\"listagem-form-container\">\r\n @if (selectedItem) {\r\n <ox-funcionario-form [@fade] [model]=\"selectedItem\">\r\n </ox-funcionario-form>\r\n }\r\n </div>\r\n <div class=\"listagem-form-acoes\">\r\n @if (selectedItem) {\r\n <button (click)=\"salvar()\" mat-fab color=\"primary\" tabindex=\"20\">\r\n <mat-icon>save</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n}", styles: [":host{height:calc(100% - 48px);display:flex;flex-grow:1;flex-direction:column;background:#f0f0f0}:host{background-color:#fdfdfd}\n"] }]
1294
1299
  }], ctorParameters: () => [] });
1295
1300
 
1296
1301
  class ClientesFormComponent {
@@ -1307,11 +1312,11 @@ class ClientesFormComponent {
1307
1312
  }
1308
1313
  }
1309
1314
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ClientesFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1310
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: ClientesFormComponent, isStandalone: true, selector: "app-clientes-form", inputs: { model: "model" }, ngImport: i0, template: "@if (model) {\n <div class=\"form-section vbox\">\n <h4>Dados Principais</h4>\n <div class=\"hbox gap-16\">\n <div class=\"form-block\">\n <label>{{model.juridica ? 'CNPJ' : 'CPF' }}</label>\n <input [(ngModel)]=\"model.cnpjCpf\" class=\"form-control input-180\" mask=\"000.000.000-00||00.000.000/0000-00\"\n tabindex=\"3\">\n </div>\n <div class=\"form-block\">\n <label>{{model.juridica ? 'IE' : 'RG' }}</label>\n <input [(ngModel)]=\"model.ieRg\" class=\"form-control input-120\" tabindex=\"3\">\n </div>\n @if (!model.juridica) {\n <div class=\"form-block\">\n <label>Org\u00E3o Expeditor</label>\n <input [(ngModel)]=\"model.orgaoExpedidor\" class=\"form-control input-120\" tabindex=\"3\">\n </div>\n }\n </div>\n <div class=\"hbox gap-16\">\n <div class=\"form-block\">\n <label>{{model.juridica ? 'Nome' : 'Raz\u00E3o Social' }}</label>\n <input id=\"nome\" required cdkFocusInitial [(ngModel)]=\"model.nome\" class=\"form-control input-300\"\n tabindex=\"1\">\n </div>\n </div>\n @if (model.juridica) {\n <div class=\"form-block\">\n <label>Nome Fantasia</label>\n <input id=\"nome\" [(ngModel)]=\"model.fantasia\" class=\"form-control input-300\" tabindex=\"1\">\n </div>\n }\n <mat-checkbox [(ngModel)]=\"model.juridica\" tabindex=\"4\">Pessoa Jur\u00EDdica</mat-checkbox>\n </div>\n <div class=\"form-section vbox\">\n <h4>Contato</h4>\n <div class=\"hbox gap-16\">\n <div class=\"form-block\">\n <label>Telefone</label>\n <input [(ngModel)]=\"model.telefone\" mask=\"(00)00000-0000\" class=\"form-control input-180\" tabindex=\"3\">\n <mat-checkbox [(ngModel)]=\"model.recebeWhatsApp\" tabindex=\"4\"\n style=\"margin-top: 8px; max-width: 180px;\">Deseja receber WhatsApp</mat-checkbox>\n </div>\n <div class=\"form-block\">\n <label>E-mail</label>\n <input [(ngModel)]=\"model.email\" type=\"email\" class=\"form-control input-260\" tabindex=\"3\">\n <mat-checkbox [(ngModel)]=\"model.recebeEmail\" tabindex=\"4\" style=\"margin-top: 8px; max-width: 260px;\">Deseja\n receber E-mail</mat-checkbox>\n </div>\n </div>\n </div>\n <div class=\"form-section vbox\">\n <h4>Endere\u00E7o</h4>\n <div class=\"hbox gap-16\">\n <div class=\"form-block\">\n <label>Endere\u00E7o</label>\n <input [(ngModel)]=\"model.endereco\" class=\"form-control input-260\" tabindex=\"3\">\n </div>\n <div class=\"form-block\">\n <label>N\u00FAmero</label>\n <input [(ngModel)]=\"model.numero\" class=\"form-control input-120\" tabindex=\"3\">\n </div>\n </div>\n <div class=\"hbox gap-16\">\n <div class=\"form-block\">\n <label>CEP</label>\n <input [(ngModel)]=\"model.cep\" mask=\"00000-000\" class=\"form-control input-120\" tabindex=\"3\">\n </div>\n <div class=\"form-block\">\n <label>Bairro</label>\n <input [(ngModel)]=\"model.bairro\" class=\"form-control input-260\" tabindex=\"3\">\n </div>\n </div>\n <div class=\"hbox gap-16\">\n <div class=\"form-block\">\n <label>Complemento</label>\n <input [(ngModel)]=\"model.complemento\" class=\"form-control input-120\" tabindex=\"3\">\n </div>\n <div class=\"form-block\">\n <label>Cidade</label>\n <input [(ngModel)]=\"model.cidade\" class=\"form-control input-120\" tabindex=\"3\">\n </div>\n <div class=\"form-block\">\n <label>Estado</label>\n <mat-select [(ngModel)]=\"model.uf\" tabindex=\"3\" style=\"width: 80px;\" class=\"form-control\" color=\"primary\">\n @for (e of estados; track e) {\n <mat-option [value]=\"e\">\n {{e}}\n </mat-option>\n }\n </mat-select>\n </div>\n </div>\n </div>\n <div class=\"form-section vbox\">\n <h4>Complemento</h4>\n @if (!model.juridica) {\n <div class=\"hbox gap-16\">\n <div class=\"form-block\">\n <label>Data Nascimento</label>\n <div class=\"hbox\">\n <input id=\"vencimento\" [(ngModel)]=\"model.dataNascimento\" class=\"form-control input-small\"\n [matDatepicker]=\"pickerdataNascimento\" tabindex=\"8\">\n <mat-datepicker-toggle [for]=\"pickerdataNascimento\"></mat-datepicker-toggle>\n <mat-datepicker [touchUi]=\"false\" #pickerdataNascimento></mat-datepicker>\n </div>\n </div>\n <div class=\"form-block\">\n <label>Sexo</label>\n <mat-select id=\"sexo\" [(ngModel)]=\"model.sexo\" tabindex=\"8\" style=\"width: 80px;\" class=\"form-control\"\n color=\"primary\">\n @for (m of sexos; track m) {\n <mat-option [value]=\"m\">\n {{m}}\n </mat-option>\n }\n </mat-select>\n </div>\n </div>\n }\n <div class=\"hbox gap-16\">\n <div class=\"form-block\">\n <label>Observa\u00E7\u00F5es</label>\n <input [(ngModel)]=\"model.obs\" class=\"form-control input-300\" tabindex=\"3\">\n </div>\n <div class=\"form-block\">\n <label>Contato</label>\n <input [(ngModel)]=\"model.contato\" class=\"form-control input-120\" tabindex=\"3\">\n </div>\n </div>\n <div class=\"hbox gap-16\">\n <div class=\"form-block\">\n <label>Profiss\u00E3o</label>\n <input [(ngModel)]=\"model.profissao\" class=\"form-control input-120\" tabindex=\"3\">\n </div>\n <div class=\"form-block\">\n <label>\u00DAltimo Destino</label>\n <input [(ngModel)]=\"model.ultimoDestino\" class=\"form-control input-120\" tabindex=\"3\">\n </div>\n <div class=\"form-block\">\n <label>Pr\u00F3ximo Destino</label>\n <input [(ngModel)]=\"model.proximoDestino\" class=\"form-control input-120\" tabindex=\"3\">\n </div>\n </div>\n </div>\n}", styles: [":host{display:flex;flex-direction:column;gap:16px}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgxMaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime", "leadZero", "triggerOnMaskChange", "apm", "inputTransformFn", "outputTransformFn", "keepCharacterPositions"], outputs: ["maskFilled"], exportAs: ["mask", "ngxMask"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i2$2.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i2.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i2.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatDatepickerModule }, { kind: "component", type: i4$1.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i4$1.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i4$1.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1315
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: ClientesFormComponent, isStandalone: true, selector: "app-clientes-form", inputs: { model: "model" }, ngImport: i0, template: "@if (model) {\r\n <div class=\"form-section vbox\">\r\n <h4>Dados Principais</h4>\r\n <div class=\"hbox gap-16\">\r\n <div class=\"form-block\">\r\n <label>{{model.juridica ? 'CNPJ' : 'CPF' }}</label>\r\n <input [(ngModel)]=\"model.cnpjCpf\" class=\"form-control input-180\" mask=\"000.000.000-00||00.000.000/0000-00\"\r\n tabindex=\"3\">\r\n </div>\r\n <div class=\"form-block\">\r\n <label>{{model.juridica ? 'IE' : 'RG' }}</label>\r\n <input [(ngModel)]=\"model.ieRg\" class=\"form-control input-120\" tabindex=\"3\">\r\n </div>\r\n @if (!model.juridica) {\r\n <div class=\"form-block\">\r\n <label>Org\u00E3o Expeditor</label>\r\n <input [(ngModel)]=\"model.orgaoExpedidor\" class=\"form-control input-120\" tabindex=\"3\">\r\n </div>\r\n }\r\n </div>\r\n <div class=\"hbox gap-16\">\r\n <div class=\"form-block\">\r\n <label>{{model.juridica ? 'Nome' : 'Raz\u00E3o Social' }}</label>\r\n <input id=\"nome\" required cdkFocusInitial [(ngModel)]=\"model.nome\" class=\"form-control input-300\"\r\n tabindex=\"1\">\r\n </div>\r\n </div>\r\n @if (model.juridica) {\r\n <div class=\"form-block\">\r\n <label>Nome Fantasia</label>\r\n <input id=\"nome\" [(ngModel)]=\"model.fantasia\" class=\"form-control input-300\" tabindex=\"1\">\r\n </div>\r\n }\r\n <mat-checkbox [(ngModel)]=\"model.juridica\" tabindex=\"4\">Pessoa Jur\u00EDdica</mat-checkbox>\r\n </div>\r\n <div class=\"form-section vbox\">\r\n <h4>Contato</h4>\r\n <div class=\"hbox gap-16\">\r\n <div class=\"form-block\">\r\n <label>Telefone</label>\r\n <input [(ngModel)]=\"model.telefone\" mask=\"(00)00000-0000\" class=\"form-control input-180\" tabindex=\"3\">\r\n <mat-checkbox [(ngModel)]=\"model.recebeWhatsApp\" tabindex=\"4\"\r\n style=\"margin-top: 8px; max-width: 180px;\">Deseja receber WhatsApp</mat-checkbox>\r\n </div>\r\n <div class=\"form-block\">\r\n <label>E-mail</label>\r\n <input [(ngModel)]=\"model.email\" type=\"email\" class=\"form-control input-260\" tabindex=\"3\">\r\n <mat-checkbox [(ngModel)]=\"model.recebeEmail\" tabindex=\"4\" style=\"margin-top: 8px; max-width: 260px;\">Deseja\r\n receber E-mail</mat-checkbox>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"form-section vbox\">\r\n <h4>Endere\u00E7o</h4>\r\n <div class=\"hbox gap-16\">\r\n <div class=\"form-block\">\r\n <label>Endere\u00E7o</label>\r\n <input [(ngModel)]=\"model.endereco\" class=\"form-control input-260\" tabindex=\"3\">\r\n </div>\r\n <div class=\"form-block\">\r\n <label>N\u00FAmero</label>\r\n <input [(ngModel)]=\"model.numero\" class=\"form-control input-120\" tabindex=\"3\">\r\n </div>\r\n </div>\r\n <div class=\"hbox gap-16\">\r\n <div class=\"form-block\">\r\n <label>CEP</label>\r\n <input [(ngModel)]=\"model.cep\" mask=\"00000-000\" class=\"form-control input-120\" tabindex=\"3\">\r\n </div>\r\n <div class=\"form-block\">\r\n <label>Bairro</label>\r\n <input [(ngModel)]=\"model.bairro\" class=\"form-control input-260\" tabindex=\"3\">\r\n </div>\r\n </div>\r\n <div class=\"hbox gap-16\">\r\n <div class=\"form-block\">\r\n <label>Complemento</label>\r\n <input [(ngModel)]=\"model.complemento\" class=\"form-control input-120\" tabindex=\"3\">\r\n </div>\r\n <div class=\"form-block\">\r\n <label>Cidade</label>\r\n <input [(ngModel)]=\"model.cidade\" class=\"form-control input-120\" tabindex=\"3\">\r\n </div>\r\n <div class=\"form-block\">\r\n <label>Estado</label>\r\n <mat-select [(ngModel)]=\"model.uf\" tabindex=\"3\" style=\"width: 80px;\" class=\"form-control\" color=\"primary\">\r\n @for (e of estados; track e) {\r\n <mat-option [value]=\"e\">\r\n {{e}}\r\n </mat-option>\r\n }\r\n </mat-select>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"form-section vbox\">\r\n <h4>Complemento</h4>\r\n @if (!model.juridica) {\r\n <div class=\"hbox gap-16\">\r\n <div class=\"form-block\">\r\n <label>Data Nascimento</label>\r\n <div class=\"hbox\">\r\n <input id=\"vencimento\" [(ngModel)]=\"model.dataNascimento\" class=\"form-control input-small\"\r\n [matDatepicker]=\"pickerdataNascimento\" tabindex=\"8\">\r\n <mat-datepicker-toggle [for]=\"pickerdataNascimento\"></mat-datepicker-toggle>\r\n <mat-datepicker [touchUi]=\"false\" #pickerdataNascimento></mat-datepicker>\r\n </div>\r\n </div>\r\n <div class=\"form-block\">\r\n <label>Sexo</label>\r\n <mat-select id=\"sexo\" [(ngModel)]=\"model.sexo\" tabindex=\"8\" style=\"width: 80px;\" class=\"form-control\"\r\n color=\"primary\">\r\n @for (m of sexos; track m) {\r\n <mat-option [value]=\"m\">\r\n {{m}}\r\n </mat-option>\r\n }\r\n </mat-select>\r\n </div>\r\n </div>\r\n }\r\n <div class=\"hbox gap-16\">\r\n <div class=\"form-block\">\r\n <label>Observa\u00E7\u00F5es</label>\r\n <input [(ngModel)]=\"model.obs\" class=\"form-control input-300\" tabindex=\"3\">\r\n </div>\r\n <div class=\"form-block\">\r\n <label>Contato</label>\r\n <input [(ngModel)]=\"model.contato\" class=\"form-control input-120\" tabindex=\"3\">\r\n </div>\r\n </div>\r\n <div class=\"hbox gap-16\">\r\n <div class=\"form-block\">\r\n <label>Profiss\u00E3o</label>\r\n <input [(ngModel)]=\"model.profissao\" class=\"form-control input-120\" tabindex=\"3\">\r\n </div>\r\n <div class=\"form-block\">\r\n <label>\u00DAltimo Destino</label>\r\n <input [(ngModel)]=\"model.ultimoDestino\" class=\"form-control input-120\" tabindex=\"3\">\r\n </div>\r\n <div class=\"form-block\">\r\n <label>Pr\u00F3ximo Destino</label>\r\n <input [(ngModel)]=\"model.proximoDestino\" class=\"form-control input-120\" tabindex=\"3\">\r\n </div>\r\n </div>\r\n </div>\r\n}", styles: [":host{display:flex;flex-direction:column;gap:16px}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgxMaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime", "leadZero", "triggerOnMaskChange", "apm", "inputTransformFn", "outputTransformFn", "keepCharacterPositions"], outputs: ["maskFilled"], exportAs: ["mask", "ngxMask"] }, { kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i2$2.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i2.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i2.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatDatepickerModule }, { kind: "component", type: i4$1.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i4$1.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i4$1.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1311
1316
  }
1312
1317
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ClientesFormComponent, decorators: [{
1313
1318
  type: Component,
1314
- args: [{ selector: 'app-clientes-form', changeDetection: ChangeDetectionStrategy.OnPush, imports: [FormsModule, NgxMaskDirective, MatCheckboxModule, MatSelectModule, MatDatepickerModule], template: "@if (model) {\n <div class=\"form-section vbox\">\n <h4>Dados Principais</h4>\n <div class=\"hbox gap-16\">\n <div class=\"form-block\">\n <label>{{model.juridica ? 'CNPJ' : 'CPF' }}</label>\n <input [(ngModel)]=\"model.cnpjCpf\" class=\"form-control input-180\" mask=\"000.000.000-00||00.000.000/0000-00\"\n tabindex=\"3\">\n </div>\n <div class=\"form-block\">\n <label>{{model.juridica ? 'IE' : 'RG' }}</label>\n <input [(ngModel)]=\"model.ieRg\" class=\"form-control input-120\" tabindex=\"3\">\n </div>\n @if (!model.juridica) {\n <div class=\"form-block\">\n <label>Org\u00E3o Expeditor</label>\n <input [(ngModel)]=\"model.orgaoExpedidor\" class=\"form-control input-120\" tabindex=\"3\">\n </div>\n }\n </div>\n <div class=\"hbox gap-16\">\n <div class=\"form-block\">\n <label>{{model.juridica ? 'Nome' : 'Raz\u00E3o Social' }}</label>\n <input id=\"nome\" required cdkFocusInitial [(ngModel)]=\"model.nome\" class=\"form-control input-300\"\n tabindex=\"1\">\n </div>\n </div>\n @if (model.juridica) {\n <div class=\"form-block\">\n <label>Nome Fantasia</label>\n <input id=\"nome\" [(ngModel)]=\"model.fantasia\" class=\"form-control input-300\" tabindex=\"1\">\n </div>\n }\n <mat-checkbox [(ngModel)]=\"model.juridica\" tabindex=\"4\">Pessoa Jur\u00EDdica</mat-checkbox>\n </div>\n <div class=\"form-section vbox\">\n <h4>Contato</h4>\n <div class=\"hbox gap-16\">\n <div class=\"form-block\">\n <label>Telefone</label>\n <input [(ngModel)]=\"model.telefone\" mask=\"(00)00000-0000\" class=\"form-control input-180\" tabindex=\"3\">\n <mat-checkbox [(ngModel)]=\"model.recebeWhatsApp\" tabindex=\"4\"\n style=\"margin-top: 8px; max-width: 180px;\">Deseja receber WhatsApp</mat-checkbox>\n </div>\n <div class=\"form-block\">\n <label>E-mail</label>\n <input [(ngModel)]=\"model.email\" type=\"email\" class=\"form-control input-260\" tabindex=\"3\">\n <mat-checkbox [(ngModel)]=\"model.recebeEmail\" tabindex=\"4\" style=\"margin-top: 8px; max-width: 260px;\">Deseja\n receber E-mail</mat-checkbox>\n </div>\n </div>\n </div>\n <div class=\"form-section vbox\">\n <h4>Endere\u00E7o</h4>\n <div class=\"hbox gap-16\">\n <div class=\"form-block\">\n <label>Endere\u00E7o</label>\n <input [(ngModel)]=\"model.endereco\" class=\"form-control input-260\" tabindex=\"3\">\n </div>\n <div class=\"form-block\">\n <label>N\u00FAmero</label>\n <input [(ngModel)]=\"model.numero\" class=\"form-control input-120\" tabindex=\"3\">\n </div>\n </div>\n <div class=\"hbox gap-16\">\n <div class=\"form-block\">\n <label>CEP</label>\n <input [(ngModel)]=\"model.cep\" mask=\"00000-000\" class=\"form-control input-120\" tabindex=\"3\">\n </div>\n <div class=\"form-block\">\n <label>Bairro</label>\n <input [(ngModel)]=\"model.bairro\" class=\"form-control input-260\" tabindex=\"3\">\n </div>\n </div>\n <div class=\"hbox gap-16\">\n <div class=\"form-block\">\n <label>Complemento</label>\n <input [(ngModel)]=\"model.complemento\" class=\"form-control input-120\" tabindex=\"3\">\n </div>\n <div class=\"form-block\">\n <label>Cidade</label>\n <input [(ngModel)]=\"model.cidade\" class=\"form-control input-120\" tabindex=\"3\">\n </div>\n <div class=\"form-block\">\n <label>Estado</label>\n <mat-select [(ngModel)]=\"model.uf\" tabindex=\"3\" style=\"width: 80px;\" class=\"form-control\" color=\"primary\">\n @for (e of estados; track e) {\n <mat-option [value]=\"e\">\n {{e}}\n </mat-option>\n }\n </mat-select>\n </div>\n </div>\n </div>\n <div class=\"form-section vbox\">\n <h4>Complemento</h4>\n @if (!model.juridica) {\n <div class=\"hbox gap-16\">\n <div class=\"form-block\">\n <label>Data Nascimento</label>\n <div class=\"hbox\">\n <input id=\"vencimento\" [(ngModel)]=\"model.dataNascimento\" class=\"form-control input-small\"\n [matDatepicker]=\"pickerdataNascimento\" tabindex=\"8\">\n <mat-datepicker-toggle [for]=\"pickerdataNascimento\"></mat-datepicker-toggle>\n <mat-datepicker [touchUi]=\"false\" #pickerdataNascimento></mat-datepicker>\n </div>\n </div>\n <div class=\"form-block\">\n <label>Sexo</label>\n <mat-select id=\"sexo\" [(ngModel)]=\"model.sexo\" tabindex=\"8\" style=\"width: 80px;\" class=\"form-control\"\n color=\"primary\">\n @for (m of sexos; track m) {\n <mat-option [value]=\"m\">\n {{m}}\n </mat-option>\n }\n </mat-select>\n </div>\n </div>\n }\n <div class=\"hbox gap-16\">\n <div class=\"form-block\">\n <label>Observa\u00E7\u00F5es</label>\n <input [(ngModel)]=\"model.obs\" class=\"form-control input-300\" tabindex=\"3\">\n </div>\n <div class=\"form-block\">\n <label>Contato</label>\n <input [(ngModel)]=\"model.contato\" class=\"form-control input-120\" tabindex=\"3\">\n </div>\n </div>\n <div class=\"hbox gap-16\">\n <div class=\"form-block\">\n <label>Profiss\u00E3o</label>\n <input [(ngModel)]=\"model.profissao\" class=\"form-control input-120\" tabindex=\"3\">\n </div>\n <div class=\"form-block\">\n <label>\u00DAltimo Destino</label>\n <input [(ngModel)]=\"model.ultimoDestino\" class=\"form-control input-120\" tabindex=\"3\">\n </div>\n <div class=\"form-block\">\n <label>Pr\u00F3ximo Destino</label>\n <input [(ngModel)]=\"model.proximoDestino\" class=\"form-control input-120\" tabindex=\"3\">\n </div>\n </div>\n </div>\n}", styles: [":host{display:flex;flex-direction:column;gap:16px}\n"] }]
1319
+ args: [{ selector: 'app-clientes-form', changeDetection: ChangeDetectionStrategy.OnPush, imports: [FormsModule, NgxMaskDirective, MatCheckboxModule, MatSelectModule, MatDatepickerModule], template: "@if (model) {\r\n <div class=\"form-section vbox\">\r\n <h4>Dados Principais</h4>\r\n <div class=\"hbox gap-16\">\r\n <div class=\"form-block\">\r\n <label>{{model.juridica ? 'CNPJ' : 'CPF' }}</label>\r\n <input [(ngModel)]=\"model.cnpjCpf\" class=\"form-control input-180\" mask=\"000.000.000-00||00.000.000/0000-00\"\r\n tabindex=\"3\">\r\n </div>\r\n <div class=\"form-block\">\r\n <label>{{model.juridica ? 'IE' : 'RG' }}</label>\r\n <input [(ngModel)]=\"model.ieRg\" class=\"form-control input-120\" tabindex=\"3\">\r\n </div>\r\n @if (!model.juridica) {\r\n <div class=\"form-block\">\r\n <label>Org\u00E3o Expeditor</label>\r\n <input [(ngModel)]=\"model.orgaoExpedidor\" class=\"form-control input-120\" tabindex=\"3\">\r\n </div>\r\n }\r\n </div>\r\n <div class=\"hbox gap-16\">\r\n <div class=\"form-block\">\r\n <label>{{model.juridica ? 'Nome' : 'Raz\u00E3o Social' }}</label>\r\n <input id=\"nome\" required cdkFocusInitial [(ngModel)]=\"model.nome\" class=\"form-control input-300\"\r\n tabindex=\"1\">\r\n </div>\r\n </div>\r\n @if (model.juridica) {\r\n <div class=\"form-block\">\r\n <label>Nome Fantasia</label>\r\n <input id=\"nome\" [(ngModel)]=\"model.fantasia\" class=\"form-control input-300\" tabindex=\"1\">\r\n </div>\r\n }\r\n <mat-checkbox [(ngModel)]=\"model.juridica\" tabindex=\"4\">Pessoa Jur\u00EDdica</mat-checkbox>\r\n </div>\r\n <div class=\"form-section vbox\">\r\n <h4>Contato</h4>\r\n <div class=\"hbox gap-16\">\r\n <div class=\"form-block\">\r\n <label>Telefone</label>\r\n <input [(ngModel)]=\"model.telefone\" mask=\"(00)00000-0000\" class=\"form-control input-180\" tabindex=\"3\">\r\n <mat-checkbox [(ngModel)]=\"model.recebeWhatsApp\" tabindex=\"4\"\r\n style=\"margin-top: 8px; max-width: 180px;\">Deseja receber WhatsApp</mat-checkbox>\r\n </div>\r\n <div class=\"form-block\">\r\n <label>E-mail</label>\r\n <input [(ngModel)]=\"model.email\" type=\"email\" class=\"form-control input-260\" tabindex=\"3\">\r\n <mat-checkbox [(ngModel)]=\"model.recebeEmail\" tabindex=\"4\" style=\"margin-top: 8px; max-width: 260px;\">Deseja\r\n receber E-mail</mat-checkbox>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"form-section vbox\">\r\n <h4>Endere\u00E7o</h4>\r\n <div class=\"hbox gap-16\">\r\n <div class=\"form-block\">\r\n <label>Endere\u00E7o</label>\r\n <input [(ngModel)]=\"model.endereco\" class=\"form-control input-260\" tabindex=\"3\">\r\n </div>\r\n <div class=\"form-block\">\r\n <label>N\u00FAmero</label>\r\n <input [(ngModel)]=\"model.numero\" class=\"form-control input-120\" tabindex=\"3\">\r\n </div>\r\n </div>\r\n <div class=\"hbox gap-16\">\r\n <div class=\"form-block\">\r\n <label>CEP</label>\r\n <input [(ngModel)]=\"model.cep\" mask=\"00000-000\" class=\"form-control input-120\" tabindex=\"3\">\r\n </div>\r\n <div class=\"form-block\">\r\n <label>Bairro</label>\r\n <input [(ngModel)]=\"model.bairro\" class=\"form-control input-260\" tabindex=\"3\">\r\n </div>\r\n </div>\r\n <div class=\"hbox gap-16\">\r\n <div class=\"form-block\">\r\n <label>Complemento</label>\r\n <input [(ngModel)]=\"model.complemento\" class=\"form-control input-120\" tabindex=\"3\">\r\n </div>\r\n <div class=\"form-block\">\r\n <label>Cidade</label>\r\n <input [(ngModel)]=\"model.cidade\" class=\"form-control input-120\" tabindex=\"3\">\r\n </div>\r\n <div class=\"form-block\">\r\n <label>Estado</label>\r\n <mat-select [(ngModel)]=\"model.uf\" tabindex=\"3\" style=\"width: 80px;\" class=\"form-control\" color=\"primary\">\r\n @for (e of estados; track e) {\r\n <mat-option [value]=\"e\">\r\n {{e}}\r\n </mat-option>\r\n }\r\n </mat-select>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"form-section vbox\">\r\n <h4>Complemento</h4>\r\n @if (!model.juridica) {\r\n <div class=\"hbox gap-16\">\r\n <div class=\"form-block\">\r\n <label>Data Nascimento</label>\r\n <div class=\"hbox\">\r\n <input id=\"vencimento\" [(ngModel)]=\"model.dataNascimento\" class=\"form-control input-small\"\r\n [matDatepicker]=\"pickerdataNascimento\" tabindex=\"8\">\r\n <mat-datepicker-toggle [for]=\"pickerdataNascimento\"></mat-datepicker-toggle>\r\n <mat-datepicker [touchUi]=\"false\" #pickerdataNascimento></mat-datepicker>\r\n </div>\r\n </div>\r\n <div class=\"form-block\">\r\n <label>Sexo</label>\r\n <mat-select id=\"sexo\" [(ngModel)]=\"model.sexo\" tabindex=\"8\" style=\"width: 80px;\" class=\"form-control\"\r\n color=\"primary\">\r\n @for (m of sexos; track m) {\r\n <mat-option [value]=\"m\">\r\n {{m}}\r\n </mat-option>\r\n }\r\n </mat-select>\r\n </div>\r\n </div>\r\n }\r\n <div class=\"hbox gap-16\">\r\n <div class=\"form-block\">\r\n <label>Observa\u00E7\u00F5es</label>\r\n <input [(ngModel)]=\"model.obs\" class=\"form-control input-300\" tabindex=\"3\">\r\n </div>\r\n <div class=\"form-block\">\r\n <label>Contato</label>\r\n <input [(ngModel)]=\"model.contato\" class=\"form-control input-120\" tabindex=\"3\">\r\n </div>\r\n </div>\r\n <div class=\"hbox gap-16\">\r\n <div class=\"form-block\">\r\n <label>Profiss\u00E3o</label>\r\n <input [(ngModel)]=\"model.profissao\" class=\"form-control input-120\" tabindex=\"3\">\r\n </div>\r\n <div class=\"form-block\">\r\n <label>\u00DAltimo Destino</label>\r\n <input [(ngModel)]=\"model.ultimoDestino\" class=\"form-control input-120\" tabindex=\"3\">\r\n </div>\r\n <div class=\"form-block\">\r\n <label>Pr\u00F3ximo Destino</label>\r\n <input [(ngModel)]=\"model.proximoDestino\" class=\"form-control input-120\" tabindex=\"3\">\r\n </div>\r\n </div>\r\n </div>\r\n}", styles: [":host{display:flex;flex-direction:column;gap:16px}\n"] }]
1315
1320
  }], ctorParameters: () => [], propDecorators: { model: [{
1316
1321
  type: Input
1317
1322
  }] } });
@@ -1377,11 +1382,11 @@ class ClientesAddDialogComponent {
1377
1382
  });
1378
1383
  }
1379
1384
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ClientesAddDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1380
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: ClientesAddDialogComponent, isStandalone: true, selector: "app-clientes-add-dialog", ngImport: i0, template: "<div class=\"ox-header\">\n <h2 class=\"titulo\">Novo Cliente</h2>\n <button mat-icon-button [mat-dialog-close]>\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"dialog-content\">\n @if (model) {\n <app-clientes-form [model]=\"model\"></app-clientes-form>\n }\n</div>\n<div class=\"dialog-footer\">\n <button mat-button color=\"primary\" [disabled]=\"isBusy\" (click)=\"salvar()\" tabindex=\"100\">SALVAR</button>\n <button mat-button [mat-dialog-close] >VOLTAR</button>\n</div>\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"], dependencies: [{ kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: ClientesFormComponent, selector: "app-clientes-form", inputs: ["model"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1385
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: ClientesAddDialogComponent, isStandalone: true, selector: "app-clientes-add-dialog", ngImport: i0, template: "<div class=\"ox-header\">\r\n <h2 class=\"titulo\">Novo Cliente</h2>\r\n <button mat-icon-button [mat-dialog-close]>\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n</div>\r\n<div class=\"dialog-content\">\r\n @if (model) {\r\n <app-clientes-form [model]=\"model\"></app-clientes-form>\r\n }\r\n</div>\r\n<div class=\"dialog-footer\">\r\n <button mat-button color=\"primary\" [disabled]=\"isBusy\" (click)=\"salvar()\" tabindex=\"100\">SALVAR</button>\r\n <button mat-button [mat-dialog-close] >VOLTAR</button>\r\n</div>\r\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"], dependencies: [{ kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: ClientesFormComponent, selector: "app-clientes-form", inputs: ["model"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1381
1386
  }
1382
1387
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ClientesAddDialogComponent, decorators: [{
1383
1388
  type: Component,
1384
- args: [{ selector: 'app-clientes-add-dialog', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatDialogModule, MatButtonModule, MatIconModule, ClientesFormComponent, BusyIndicatorComponent], template: "<div class=\"ox-header\">\n <h2 class=\"titulo\">Novo Cliente</h2>\n <button mat-icon-button [mat-dialog-close]>\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"dialog-content\">\n @if (model) {\n <app-clientes-form [model]=\"model\"></app-clientes-form>\n }\n</div>\n<div class=\"dialog-footer\">\n <button mat-button color=\"primary\" [disabled]=\"isBusy\" (click)=\"salvar()\" tabindex=\"100\">SALVAR</button>\n <button mat-button [mat-dialog-close] >VOLTAR</button>\n</div>\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"] }]
1389
+ args: [{ selector: 'app-clientes-add-dialog', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatDialogModule, MatButtonModule, MatIconModule, ClientesFormComponent, BusyIndicatorComponent], template: "<div class=\"ox-header\">\r\n <h2 class=\"titulo\">Novo Cliente</h2>\r\n <button mat-icon-button [mat-dialog-close]>\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n</div>\r\n<div class=\"dialog-content\">\r\n @if (model) {\r\n <app-clientes-form [model]=\"model\"></app-clientes-form>\r\n }\r\n</div>\r\n<div class=\"dialog-footer\">\r\n <button mat-button color=\"primary\" [disabled]=\"isBusy\" (click)=\"salvar()\" tabindex=\"100\">SALVAR</button>\r\n <button mat-button [mat-dialog-close] >VOLTAR</button>\r\n</div>\r\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"] }]
1385
1390
  }], ctorParameters: () => [] });
1386
1391
 
1387
1392
  class ClientesEditDialogComponent {
@@ -1437,11 +1442,11 @@ class ClientesEditDialogComponent {
1437
1442
  });
1438
1443
  }
1439
1444
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ClientesEditDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1440
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: ClientesEditDialogComponent, isStandalone: true, selector: "app-clientes-edit-dialog", ngImport: i0, template: "<div class=\"ox-header\">\n <h2 class=\"titulo\">Editando Cliente</h2>\n <button mat-icon-button [mat-dialog-close]>\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"dialog-content\">\n @if (model) {\n <app-clientes-form [model]=\"model\"></app-clientes-form>\n }\n</div>\n<div class=\"dialog-footer\">\n <button mat-button color=\"primary\" (click)=\"salvar()\" tabindex=\"9\">SALVAR</button>\n <button mat-button [mat-dialog-close]>VOLTAR</button>\n</div>\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"], dependencies: [{ kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: ClientesFormComponent, selector: "app-clientes-form", inputs: ["model"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1445
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: ClientesEditDialogComponent, isStandalone: true, selector: "app-clientes-edit-dialog", ngImport: i0, template: "<div class=\"ox-header\">\r\n <h2 class=\"titulo\">Editando Cliente</h2>\r\n <button mat-icon-button [mat-dialog-close]>\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n</div>\r\n<div class=\"dialog-content\">\r\n @if (model) {\r\n <app-clientes-form [model]=\"model\"></app-clientes-form>\r\n }\r\n</div>\r\n<div class=\"dialog-footer\">\r\n <button mat-button color=\"primary\" (click)=\"salvar()\" tabindex=\"9\">SALVAR</button>\r\n <button mat-button [mat-dialog-close]>VOLTAR</button>\r\n</div>\r\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"], dependencies: [{ kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: ClientesFormComponent, selector: "app-clientes-form", inputs: ["model"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1441
1446
  }
1442
1447
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ClientesEditDialogComponent, decorators: [{
1443
1448
  type: Component,
1444
- args: [{ selector: 'app-clientes-edit-dialog', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatDialogModule, MatButtonModule, MatIconModule, ClientesFormComponent, BusyIndicatorComponent], template: "<div class=\"ox-header\">\n <h2 class=\"titulo\">Editando Cliente</h2>\n <button mat-icon-button [mat-dialog-close]>\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"dialog-content\">\n @if (model) {\n <app-clientes-form [model]=\"model\"></app-clientes-form>\n }\n</div>\n<div class=\"dialog-footer\">\n <button mat-button color=\"primary\" (click)=\"salvar()\" tabindex=\"9\">SALVAR</button>\n <button mat-button [mat-dialog-close]>VOLTAR</button>\n</div>\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"] }]
1449
+ args: [{ selector: 'app-clientes-edit-dialog', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatDialogModule, MatButtonModule, MatIconModule, ClientesFormComponent, BusyIndicatorComponent], template: "<div class=\"ox-header\">\r\n <h2 class=\"titulo\">Editando Cliente</h2>\r\n <button mat-icon-button [mat-dialog-close]>\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n</div>\r\n<div class=\"dialog-content\">\r\n @if (model) {\r\n <app-clientes-form [model]=\"model\"></app-clientes-form>\r\n }\r\n</div>\r\n<div class=\"dialog-footer\">\r\n <button mat-button color=\"primary\" (click)=\"salvar()\" tabindex=\"9\">SALVAR</button>\r\n <button mat-button [mat-dialog-close]>VOLTAR</button>\r\n</div>\r\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"] }]
1445
1450
  }], ctorParameters: () => [] });
1446
1451
 
1447
1452
  class ClientesComponent {
@@ -1591,11 +1596,11 @@ class ClientesComponent {
1591
1596
  });
1592
1597
  }
1593
1598
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ClientesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1594
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: ClientesComponent, isStandalone: true, selector: "app-clientes", ngImport: i0, template: "<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\n@if (mobile) {\n <div class=\"tool-panel\">\n <div class=\"tool-section ordem-sm2\">\n <label>A\u00E7\u00F5es</label>\n <div class=\"tool-row\">\n <button mat-icon-button (click)=\"atualiza()\">\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\n </button>\n @if (allowAdd) {\n <button mat-icon-button (click)=\"novo()\">\n <mat-icon aria-label=\"Novo Grupo\">add</mat-icon>\n </button>\n }\n @if (selectedItem && allowExcluir) {\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\n <mat-icon aria-label=\"Excluir Grupo\">delete</mat-icon>\n </button>\n }\n </div>\n </div>\n <div class=\"tool-section\">\n <label>Pesquisa</label>\n <div class=\"search-input-container\">\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\"\n (input)=\"lazyTrigger.fire()\">\n </div>\n </div>\n </div>\n}\n@if (items) {\n <div class=\"result-container\">\n @if (mobile) {\n <div class=\"cards-container cards-container-shadow\">\n @for (i of items; track i) {\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" (click)=\"abreCadastro(i)\"></ox-item-card>\n }\n </div>\n }\n @if (!mobile) {\n <div class=\"listagem-desktop-grid\">\n <div class=\"listagem-column-container listagem-list-column\">\n <h3>Clientes</h3>\n <div class=\"tool-panel tool-panel-float\">\n <div class=\"tool-section\">\n <label>Pesquisa</label>\n <div class=\"search-input-container\">\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\"\n (input)=\"lazyTrigger.fire()\">\n </div>\n </div>\n <div class=\"tool-section ordem-sm2\">\n <label>A\u00E7\u00F5es</label>\n <div class=\"tool-row\">\n <button mat-icon-button (click)=\"atualiza()\">\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\n </button>\n @if (allowAdd) {\n <button mat-icon-button (click)=\"novo()\">\n <mat-icon aria-label=\"Novo\">add</mat-icon>\n </button>\n }\n @if (selectedItem && allowExcluir) {\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\n <mat-icon aria-label=\"Excluir\">delete</mat-icon>\n </button>\n }\n </div>\n </div>\n </div>\n <div class=\"listagem-list-container\">\n @if (items.length === 0) {\n <h4 class=\"nenhum-item-msg\">A busca n\u00E3o retornou resultados</h4>\n }\n @for (i of items; track i) {\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" [class.selected]=\"i === selectedItem\"\n (click)=\"selectedItem = i; onSelectItem();\"></ox-item-card >\n }\n </div>\n </div>\n <div id=\"form-column\" class=\"listagem-column-container listagem-column-form\">\n @if (!selectedItem) {\n <h3 class=\"selecione-um-item-msg\">Selecione um cliente no lado direito</h3>\n }\n @if (selectedItem) {\n <h3>{{selectedItem.nome | uppercase}}</h3>\n }\n <div class=\"listagem-form-container\">\n @if (selectedItem) {\n <app-clientes-form [@fade] [model]=\"selectedItem\"></app-clientes-form>\n }\n </div>\n <div class=\"listagem-form-acoes\">\n @if (selectedItem) {\n <button (click)=\"salvar()\" mat-fab color=\"primary\" tabindex=\"20\">\n <mat-icon>save</mat-icon>\n </button>\n }\n </div>\n </div>\n </div>\n }\n </div>\n}", styles: [":host{height:calc(100% - 48px);display:flex;flex-grow:1;flex-direction:column;background:#f0f0f0}:host{background-color:#fafafa}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatFabButton, selector: "button[mat-fab], a[mat-fab], button[matFab], a[matFab]", inputs: ["extended"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }, { kind: "component", type: ItemCardComponent, selector: "ox-item-card", inputs: ["nome", "codigo", "star", "cloud", "desativado", "ownership"] }, { kind: "component", type: ClientesFormComponent, selector: "app-clientes-form", inputs: ["model"] }, { kind: "pipe", type: i4.UpperCasePipe, name: "uppercase" }], animations: [fadeAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1599
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: ClientesComponent, isStandalone: true, selector: "app-clientes", ngImport: i0, template: "<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\r\n@if (mobile) {\r\n <div class=\"tool-panel\">\r\n <div class=\"tool-section ordem-sm2\">\r\n <label>A\u00E7\u00F5es</label>\r\n <div class=\"tool-row\">\r\n <button mat-icon-button (click)=\"atualiza()\">\r\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\r\n </button>\r\n @if (allowAdd) {\r\n <button mat-icon-button (click)=\"novo()\">\r\n <mat-icon aria-label=\"Novo Grupo\">add</mat-icon>\r\n </button>\r\n }\r\n @if (selectedItem && allowExcluir) {\r\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\r\n <mat-icon aria-label=\"Excluir Grupo\">delete</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n <div class=\"tool-section\">\r\n <label>Pesquisa</label>\r\n <div class=\"search-input-container\">\r\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\"\r\n (input)=\"lazyTrigger.fire()\">\r\n </div>\r\n </div>\r\n </div>\r\n}\r\n@if (items) {\r\n <div class=\"result-container\">\r\n @if (mobile) {\r\n <div class=\"cards-container cards-container-shadow\">\r\n @for (i of items; track i) {\r\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" (click)=\"abreCadastro(i)\"></ox-item-card>\r\n }\r\n </div>\r\n }\r\n @if (!mobile) {\r\n <div class=\"listagem-desktop-grid\">\r\n <div class=\"listagem-column-container listagem-list-column\">\r\n <h3>Clientes</h3>\r\n <div class=\"tool-panel tool-panel-float\">\r\n <div class=\"tool-section\">\r\n <label>Pesquisa</label>\r\n <div class=\"search-input-container\">\r\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\"\r\n (input)=\"lazyTrigger.fire()\">\r\n </div>\r\n </div>\r\n <div class=\"tool-section ordem-sm2\">\r\n <label>A\u00E7\u00F5es</label>\r\n <div class=\"tool-row\">\r\n <button mat-icon-button (click)=\"atualiza()\">\r\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\r\n </button>\r\n @if (allowAdd) {\r\n <button mat-icon-button (click)=\"novo()\">\r\n <mat-icon aria-label=\"Novo\">add</mat-icon>\r\n </button>\r\n }\r\n @if (selectedItem && allowExcluir) {\r\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\r\n <mat-icon aria-label=\"Excluir\">delete</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"listagem-list-container\">\r\n @if (items.length === 0) {\r\n <h4 class=\"nenhum-item-msg\">A busca n\u00E3o retornou resultados</h4>\r\n }\r\n @for (i of items; track i) {\r\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" [class.selected]=\"i === selectedItem\"\r\n (click)=\"selectedItem = i; onSelectItem();\"></ox-item-card >\r\n }\r\n </div>\r\n </div>\r\n <div id=\"form-column\" class=\"listagem-column-container listagem-column-form\">\r\n @if (!selectedItem) {\r\n <h3 class=\"selecione-um-item-msg\">Selecione um cliente no lado direito</h3>\r\n }\r\n @if (selectedItem) {\r\n <h3>{{selectedItem.nome | uppercase}}</h3>\r\n }\r\n <div class=\"listagem-form-container\">\r\n @if (selectedItem) {\r\n <app-clientes-form [@fade] [model]=\"selectedItem\"></app-clientes-form>\r\n }\r\n </div>\r\n <div class=\"listagem-form-acoes\">\r\n @if (selectedItem) {\r\n <button (click)=\"salvar()\" mat-fab color=\"primary\" tabindex=\"20\">\r\n <mat-icon>save</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n}", styles: [":host{height:calc(100% - 48px);display:flex;flex-grow:1;flex-direction:column;background:#f0f0f0}:host{background-color:#fafafa}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatFabButton, selector: "button[mat-fab], a[mat-fab], button[matFab], a[matFab]", inputs: ["extended"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }, { kind: "component", type: ItemCardComponent, selector: "ox-item-card", inputs: ["nome", "codigo", "star", "cloud", "desativado", "ownership"] }, { kind: "component", type: ClientesFormComponent, selector: "app-clientes-form", inputs: ["model"] }, { kind: "pipe", type: i4.UpperCasePipe, name: "uppercase" }], animations: [fadeAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1595
1600
  }
1596
1601
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ClientesComponent, decorators: [{
1597
1602
  type: Component,
1598
- args: [{ selector: 'app-clientes', animations: [fadeAnimation], changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, FormsModule, MatButtonModule, MatIconModule, BusyIndicatorComponent, ItemCardComponent, ClientesFormComponent], template: "<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\n@if (mobile) {\n <div class=\"tool-panel\">\n <div class=\"tool-section ordem-sm2\">\n <label>A\u00E7\u00F5es</label>\n <div class=\"tool-row\">\n <button mat-icon-button (click)=\"atualiza()\">\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\n </button>\n @if (allowAdd) {\n <button mat-icon-button (click)=\"novo()\">\n <mat-icon aria-label=\"Novo Grupo\">add</mat-icon>\n </button>\n }\n @if (selectedItem && allowExcluir) {\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\n <mat-icon aria-label=\"Excluir Grupo\">delete</mat-icon>\n </button>\n }\n </div>\n </div>\n <div class=\"tool-section\">\n <label>Pesquisa</label>\n <div class=\"search-input-container\">\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\"\n (input)=\"lazyTrigger.fire()\">\n </div>\n </div>\n </div>\n}\n@if (items) {\n <div class=\"result-container\">\n @if (mobile) {\n <div class=\"cards-container cards-container-shadow\">\n @for (i of items; track i) {\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" (click)=\"abreCadastro(i)\"></ox-item-card>\n }\n </div>\n }\n @if (!mobile) {\n <div class=\"listagem-desktop-grid\">\n <div class=\"listagem-column-container listagem-list-column\">\n <h3>Clientes</h3>\n <div class=\"tool-panel tool-panel-float\">\n <div class=\"tool-section\">\n <label>Pesquisa</label>\n <div class=\"search-input-container\">\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\"\n (input)=\"lazyTrigger.fire()\">\n </div>\n </div>\n <div class=\"tool-section ordem-sm2\">\n <label>A\u00E7\u00F5es</label>\n <div class=\"tool-row\">\n <button mat-icon-button (click)=\"atualiza()\">\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\n </button>\n @if (allowAdd) {\n <button mat-icon-button (click)=\"novo()\">\n <mat-icon aria-label=\"Novo\">add</mat-icon>\n </button>\n }\n @if (selectedItem && allowExcluir) {\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\n <mat-icon aria-label=\"Excluir\">delete</mat-icon>\n </button>\n }\n </div>\n </div>\n </div>\n <div class=\"listagem-list-container\">\n @if (items.length === 0) {\n <h4 class=\"nenhum-item-msg\">A busca n\u00E3o retornou resultados</h4>\n }\n @for (i of items; track i) {\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" [class.selected]=\"i === selectedItem\"\n (click)=\"selectedItem = i; onSelectItem();\"></ox-item-card >\n }\n </div>\n </div>\n <div id=\"form-column\" class=\"listagem-column-container listagem-column-form\">\n @if (!selectedItem) {\n <h3 class=\"selecione-um-item-msg\">Selecione um cliente no lado direito</h3>\n }\n @if (selectedItem) {\n <h3>{{selectedItem.nome | uppercase}}</h3>\n }\n <div class=\"listagem-form-container\">\n @if (selectedItem) {\n <app-clientes-form [@fade] [model]=\"selectedItem\"></app-clientes-form>\n }\n </div>\n <div class=\"listagem-form-acoes\">\n @if (selectedItem) {\n <button (click)=\"salvar()\" mat-fab color=\"primary\" tabindex=\"20\">\n <mat-icon>save</mat-icon>\n </button>\n }\n </div>\n </div>\n </div>\n }\n </div>\n}", styles: [":host{height:calc(100% - 48px);display:flex;flex-grow:1;flex-direction:column;background:#f0f0f0}:host{background-color:#fafafa}\n"] }]
1603
+ args: [{ selector: 'app-clientes', animations: [fadeAnimation], changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, FormsModule, MatButtonModule, MatIconModule, BusyIndicatorComponent, ItemCardComponent, ClientesFormComponent], template: "<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\r\n@if (mobile) {\r\n <div class=\"tool-panel\">\r\n <div class=\"tool-section ordem-sm2\">\r\n <label>A\u00E7\u00F5es</label>\r\n <div class=\"tool-row\">\r\n <button mat-icon-button (click)=\"atualiza()\">\r\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\r\n </button>\r\n @if (allowAdd) {\r\n <button mat-icon-button (click)=\"novo()\">\r\n <mat-icon aria-label=\"Novo Grupo\">add</mat-icon>\r\n </button>\r\n }\r\n @if (selectedItem && allowExcluir) {\r\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\r\n <mat-icon aria-label=\"Excluir Grupo\">delete</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n <div class=\"tool-section\">\r\n <label>Pesquisa</label>\r\n <div class=\"search-input-container\">\r\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\"\r\n (input)=\"lazyTrigger.fire()\">\r\n </div>\r\n </div>\r\n </div>\r\n}\r\n@if (items) {\r\n <div class=\"result-container\">\r\n @if (mobile) {\r\n <div class=\"cards-container cards-container-shadow\">\r\n @for (i of items; track i) {\r\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" (click)=\"abreCadastro(i)\"></ox-item-card>\r\n }\r\n </div>\r\n }\r\n @if (!mobile) {\r\n <div class=\"listagem-desktop-grid\">\r\n <div class=\"listagem-column-container listagem-list-column\">\r\n <h3>Clientes</h3>\r\n <div class=\"tool-panel tool-panel-float\">\r\n <div class=\"tool-section\">\r\n <label>Pesquisa</label>\r\n <div class=\"search-input-container\">\r\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\"\r\n (input)=\"lazyTrigger.fire()\">\r\n </div>\r\n </div>\r\n <div class=\"tool-section ordem-sm2\">\r\n <label>A\u00E7\u00F5es</label>\r\n <div class=\"tool-row\">\r\n <button mat-icon-button (click)=\"atualiza()\">\r\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\r\n </button>\r\n @if (allowAdd) {\r\n <button mat-icon-button (click)=\"novo()\">\r\n <mat-icon aria-label=\"Novo\">add</mat-icon>\r\n </button>\r\n }\r\n @if (selectedItem && allowExcluir) {\r\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\r\n <mat-icon aria-label=\"Excluir\">delete</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"listagem-list-container\">\r\n @if (items.length === 0) {\r\n <h4 class=\"nenhum-item-msg\">A busca n\u00E3o retornou resultados</h4>\r\n }\r\n @for (i of items; track i) {\r\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" [class.selected]=\"i === selectedItem\"\r\n (click)=\"selectedItem = i; onSelectItem();\"></ox-item-card >\r\n }\r\n </div>\r\n </div>\r\n <div id=\"form-column\" class=\"listagem-column-container listagem-column-form\">\r\n @if (!selectedItem) {\r\n <h3 class=\"selecione-um-item-msg\">Selecione um cliente no lado direito</h3>\r\n }\r\n @if (selectedItem) {\r\n <h3>{{selectedItem.nome | uppercase}}</h3>\r\n }\r\n <div class=\"listagem-form-container\">\r\n @if (selectedItem) {\r\n <app-clientes-form [@fade] [model]=\"selectedItem\"></app-clientes-form>\r\n }\r\n </div>\r\n <div class=\"listagem-form-acoes\">\r\n @if (selectedItem) {\r\n <button (click)=\"salvar()\" mat-fab color=\"primary\" tabindex=\"20\">\r\n <mat-icon>save</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n}", styles: [":host{height:calc(100% - 48px);display:flex;flex-grow:1;flex-direction:column;background:#f0f0f0}:host{background-color:#fafafa}\n"] }]
1599
1604
  }], ctorParameters: () => [] });
1600
1605
 
1601
1606
  function printTxt(txt) {
@@ -1700,11 +1705,11 @@ function validaCnpj(cnpj) {
1700
1705
  class SelecaoListItemComponent {
1701
1706
  text = '';
1702
1707
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: SelecaoListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1703
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: SelecaoListItemComponent, isStandalone: true, selector: "ox-selecao-list-item", inputs: { text: "text" }, ngImport: i0, template: "@if (text) {\n <span>{{text}}</span>\n}\n@if (!text) {\n <ng-content></ng-content>\n}\n", styles: [":host{background:#fff;padding:8px;border-bottom:1px solid #eceeef;border-left:4px solid white;flex-wrap:nowrap;cursor:pointer}:host span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:85%;color:#000}:host:hover{box-shadow:0 0 16px #0000000f;background:transparent;z-index:1}@media(max-width:576px){:host{padding:16px}}:host(.selected){border-left-color:var(--app-color, black);z-index:1;box-shadow:0 0 8px 5px #00000008;flex-shrink:0;background:linear-gradient(45deg,var(--item-card-selected-bg, rgba(0, 0, 0, .05)),transparent)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1708
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: SelecaoListItemComponent, isStandalone: true, selector: "ox-selecao-list-item", inputs: { text: "text" }, ngImport: i0, template: "@if (text) {\r\n <span>{{text}}</span>\r\n}\r\n@if (!text) {\r\n <ng-content></ng-content>\r\n}\r\n", styles: [":host{background:#fff;padding:8px;border-bottom:1px solid #eceeef;border-left:4px solid white;flex-wrap:nowrap;cursor:pointer}:host span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:85%;color:#000}:host:hover{box-shadow:0 0 16px #0000000f;background:transparent;z-index:1}@media(max-width:576px){:host{padding:16px}}:host(.selected){border-left-color:var(--app-color, black);z-index:1;box-shadow:0 0 8px 5px #00000008;flex-shrink:0;background:linear-gradient(45deg,var(--item-card-selected-bg, rgba(0, 0, 0, .05)),transparent)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1704
1709
  }
1705
1710
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: SelecaoListItemComponent, decorators: [{
1706
1711
  type: Component,
1707
- args: [{ selector: 'ox-selecao-list-item', changeDetection: ChangeDetectionStrategy.OnPush, imports: [], template: "@if (text) {\n <span>{{text}}</span>\n}\n@if (!text) {\n <ng-content></ng-content>\n}\n", styles: [":host{background:#fff;padding:8px;border-bottom:1px solid #eceeef;border-left:4px solid white;flex-wrap:nowrap;cursor:pointer}:host span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:85%;color:#000}:host:hover{box-shadow:0 0 16px #0000000f;background:transparent;z-index:1}@media(max-width:576px){:host{padding:16px}}:host(.selected){border-left-color:var(--app-color, black);z-index:1;box-shadow:0 0 8px 5px #00000008;flex-shrink:0;background:linear-gradient(45deg,var(--item-card-selected-bg, rgba(0, 0, 0, .05)),transparent)}\n"] }]
1712
+ args: [{ selector: 'ox-selecao-list-item', changeDetection: ChangeDetectionStrategy.OnPush, imports: [], template: "@if (text) {\r\n <span>{{text}}</span>\r\n}\r\n@if (!text) {\r\n <ng-content></ng-content>\r\n}\r\n", styles: [":host{background:#fff;padding:8px;border-bottom:1px solid #eceeef;border-left:4px solid white;flex-wrap:nowrap;cursor:pointer}:host span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:85%;color:#000}:host:hover{box-shadow:0 0 16px #0000000f;background:transparent;z-index:1}@media(max-width:576px){:host{padding:16px}}:host(.selected){border-left-color:var(--app-color, black);z-index:1;box-shadow:0 0 8px 5px #00000008;flex-shrink:0;background:linear-gradient(45deg,var(--item-card-selected-bg, rgba(0, 0, 0, .05)),transparent)}\n"] }]
1708
1713
  }], propDecorators: { text: [{
1709
1714
  type: Input
1710
1715
  }] } });
@@ -1803,11 +1808,11 @@ class SelecaoClienteDialogComponent {
1803
1808
  });
1804
1809
  }
1805
1810
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: SelecaoClienteDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1806
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: SelecaoClienteDialogComponent, isStandalone: true, selector: "app-selecao-cliente-dialog", ngImport: i0, template: "<div class=\"dialog-header\">\n <h2>Sele\u00E7\u00E3o de Clientes</h2>\n</div>\n<div class=\"tool-panel\">\n <div class=\"tool-section\">\n <label>Pesquisa</label>\n <div class=\"search-input-container\">\n <input (keydown)=\"nav.onKeyDown($event)\" cdkFocusInitial [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\" (input)=\"lazyTrigger.fire()\">\n </div>\n </div>\n <div class=\"tool-section\">\n <label>A\u00E7\u00F5es</label>\n <div class=\"tool-row\">\n <button color=\"primary\" mat-icon-button (click)=\"atualiza()\">\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\n </button>\n @if (allowAdd) {\n <button color=\"primary\" mat-icon-button (click)=\"novo()\">\n <mat-icon aria-label=\"novo\">add</mat-icon>\n </button>\n }\n @if (selectedItem) {\n <button color=\"primary\" mat-icon-button (click)=\"editar()\">\n <mat-icon aria-label=\"editar\">edit</mat-icon>\n </button>\n }\n </div>\n </div>\n</div>\n<div class=\"dialog-content\">\n @for (i of items; track i) {\n <ox-selecao-list-item (click)=\"selectItem(i)\" [class.selected]=\"i === selectedItem\">\n <div class=\"hbox gap-16\">\n <span class=\"grow-1\">{{i.nome}}</span> @if (i.cnpjCpf) {\n <span class=\"cnpj-badge\" >{{i.cnpjCpfFormatado}}</span>\n }\n </div>\n </ox-selecao-list-item>\n}\n</div>\n<div class=\"dialog-footer\">\n <button mat-button [disabled]=\"selectedItem == undefined\" color=\"primary\" [mat-dialog-close]=\"selectedItem\">CONFIRMAR</button>\n <button mat-button [mat-dialog-close]=\"undefined\">VOLTAR</button>\n</div>\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\n", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}.cnpj-badge{padding:4px 8px;font-size:9px;border-radius:9px;background:#e6f9f7;color:#0040ff;font-weight:500}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: SelecaoListItemComponent, selector: "ox-selecao-list-item", inputs: ["text"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1811
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: SelecaoClienteDialogComponent, isStandalone: true, selector: "app-selecao-cliente-dialog", ngImport: i0, template: "<div class=\"dialog-header\">\r\n <h2>Sele\u00E7\u00E3o de Clientes</h2>\r\n</div>\r\n<div class=\"tool-panel\">\r\n <div class=\"tool-section\">\r\n <label>Pesquisa</label>\r\n <div class=\"search-input-container\">\r\n <input (keydown)=\"nav.onKeyDown($event)\" cdkFocusInitial [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\" (input)=\"lazyTrigger.fire()\">\r\n </div>\r\n </div>\r\n <div class=\"tool-section\">\r\n <label>A\u00E7\u00F5es</label>\r\n <div class=\"tool-row\">\r\n <button color=\"primary\" mat-icon-button (click)=\"atualiza()\">\r\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\r\n </button>\r\n @if (allowAdd) {\r\n <button color=\"primary\" mat-icon-button (click)=\"novo()\">\r\n <mat-icon aria-label=\"novo\">add</mat-icon>\r\n </button>\r\n }\r\n @if (selectedItem) {\r\n <button color=\"primary\" mat-icon-button (click)=\"editar()\">\r\n <mat-icon aria-label=\"editar\">edit</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n</div>\r\n<div class=\"dialog-content\">\r\n @for (i of items; track i) {\r\n <ox-selecao-list-item (click)=\"selectItem(i)\" [class.selected]=\"i === selectedItem\">\r\n <div class=\"hbox gap-16\">\r\n <span class=\"grow-1\">{{i.nome}}</span> @if (i.cnpjCpf) {\r\n <span class=\"cnpj-badge\" >{{i.cnpjCpfFormatado}}</span>\r\n }\r\n </div>\r\n </ox-selecao-list-item>\r\n}\r\n</div>\r\n<div class=\"dialog-footer\">\r\n <button mat-button [disabled]=\"selectedItem == undefined\" color=\"primary\" [mat-dialog-close]=\"selectedItem\">CONFIRMAR</button>\r\n <button mat-button [mat-dialog-close]=\"undefined\">VOLTAR</button>\r\n</div>\r\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\r\n", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}.cnpj-badge{padding:4px 8px;font-size:9px;border-radius:9px;background:#e6f9f7;color:#0040ff;font-weight:500}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: SelecaoListItemComponent, selector: "ox-selecao-list-item", inputs: ["text"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1807
1812
  }
1808
1813
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: SelecaoClienteDialogComponent, decorators: [{
1809
1814
  type: Component,
1810
- args: [{ selector: 'app-selecao-cliente-dialog', changeDetection: ChangeDetectionStrategy.OnPush, imports: [FormsModule, MatDialogModule, MatButtonModule, MatIconModule, SelecaoListItemComponent, BusyIndicatorComponent], template: "<div class=\"dialog-header\">\n <h2>Sele\u00E7\u00E3o de Clientes</h2>\n</div>\n<div class=\"tool-panel\">\n <div class=\"tool-section\">\n <label>Pesquisa</label>\n <div class=\"search-input-container\">\n <input (keydown)=\"nav.onKeyDown($event)\" cdkFocusInitial [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\" (input)=\"lazyTrigger.fire()\">\n </div>\n </div>\n <div class=\"tool-section\">\n <label>A\u00E7\u00F5es</label>\n <div class=\"tool-row\">\n <button color=\"primary\" mat-icon-button (click)=\"atualiza()\">\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\n </button>\n @if (allowAdd) {\n <button color=\"primary\" mat-icon-button (click)=\"novo()\">\n <mat-icon aria-label=\"novo\">add</mat-icon>\n </button>\n }\n @if (selectedItem) {\n <button color=\"primary\" mat-icon-button (click)=\"editar()\">\n <mat-icon aria-label=\"editar\">edit</mat-icon>\n </button>\n }\n </div>\n </div>\n</div>\n<div class=\"dialog-content\">\n @for (i of items; track i) {\n <ox-selecao-list-item (click)=\"selectItem(i)\" [class.selected]=\"i === selectedItem\">\n <div class=\"hbox gap-16\">\n <span class=\"grow-1\">{{i.nome}}</span> @if (i.cnpjCpf) {\n <span class=\"cnpj-badge\" >{{i.cnpjCpfFormatado}}</span>\n }\n </div>\n </ox-selecao-list-item>\n}\n</div>\n<div class=\"dialog-footer\">\n <button mat-button [disabled]=\"selectedItem == undefined\" color=\"primary\" [mat-dialog-close]=\"selectedItem\">CONFIRMAR</button>\n <button mat-button [mat-dialog-close]=\"undefined\">VOLTAR</button>\n</div>\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\n", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}.cnpj-badge{padding:4px 8px;font-size:9px;border-radius:9px;background:#e6f9f7;color:#0040ff;font-weight:500}\n"] }]
1815
+ args: [{ selector: 'app-selecao-cliente-dialog', changeDetection: ChangeDetectionStrategy.OnPush, imports: [FormsModule, MatDialogModule, MatButtonModule, MatIconModule, SelecaoListItemComponent, BusyIndicatorComponent], template: "<div class=\"dialog-header\">\r\n <h2>Sele\u00E7\u00E3o de Clientes</h2>\r\n</div>\r\n<div class=\"tool-panel\">\r\n <div class=\"tool-section\">\r\n <label>Pesquisa</label>\r\n <div class=\"search-input-container\">\r\n <input (keydown)=\"nav.onKeyDown($event)\" cdkFocusInitial [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\" (input)=\"lazyTrigger.fire()\">\r\n </div>\r\n </div>\r\n <div class=\"tool-section\">\r\n <label>A\u00E7\u00F5es</label>\r\n <div class=\"tool-row\">\r\n <button color=\"primary\" mat-icon-button (click)=\"atualiza()\">\r\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\r\n </button>\r\n @if (allowAdd) {\r\n <button color=\"primary\" mat-icon-button (click)=\"novo()\">\r\n <mat-icon aria-label=\"novo\">add</mat-icon>\r\n </button>\r\n }\r\n @if (selectedItem) {\r\n <button color=\"primary\" mat-icon-button (click)=\"editar()\">\r\n <mat-icon aria-label=\"editar\">edit</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n</div>\r\n<div class=\"dialog-content\">\r\n @for (i of items; track i) {\r\n <ox-selecao-list-item (click)=\"selectItem(i)\" [class.selected]=\"i === selectedItem\">\r\n <div class=\"hbox gap-16\">\r\n <span class=\"grow-1\">{{i.nome}}</span> @if (i.cnpjCpf) {\r\n <span class=\"cnpj-badge\" >{{i.cnpjCpfFormatado}}</span>\r\n }\r\n </div>\r\n </ox-selecao-list-item>\r\n}\r\n</div>\r\n<div class=\"dialog-footer\">\r\n <button mat-button [disabled]=\"selectedItem == undefined\" color=\"primary\" [mat-dialog-close]=\"selectedItem\">CONFIRMAR</button>\r\n <button mat-button [mat-dialog-close]=\"undefined\">VOLTAR</button>\r\n</div>\r\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\r\n", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}.cnpj-badge{padding:4px 8px;font-size:9px;border-radius:9px;background:#e6f9f7;color:#0040ff;font-weight:500}\n"] }]
1811
1816
  }], ctorParameters: () => [] });
1812
1817
 
1813
1818
  class FornecedoresFormComponent {
@@ -1840,15 +1845,42 @@ class FornecedoresFormComponent {
1840
1845
  }
1841
1846
  }
1842
1847
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FornecedoresFormComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1843
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: FornecedoresFormComponent, isStandalone: true, selector: "app-fornecedores-form", inputs: { model: "model" }, ngImport: i0, template: "@if (model) {\n <div class=\"form-block\">\n <label>Nome</label>\n <input id=\"nome\" maxlength=\"60\" required cdkFocusInitial [(ngModel)]=\"model.nome\" class=\"form-control input-300\" tabindex=\"1\">\n </div>\n <h4 class=\"margin-top-16\">Dados Complementares</h4>\n <div class=\"form-group\">\n <label>Nome Fantasia</label>\n <input [(ngModel)]=\"model.fantasia\" maxlength=\"60\" class=\"form-control input-300\" tabindex=\"2\">\n </div>\n <div class=\"form-group\">\n <label>CPF/CNPJ</label>\n <div class=\"hbox gap-4\">\n <input [(ngModel)]=\"model.cnpjCpf\" (change)=\"validarCpfCnpj()\" mask=\"000.000.000-00||00.000.000/0000-00\"\n class=\"form-control input-180\" tabindex=\"3\">\n @if (boolCpfCnpjValidado === true) {\n <i class=\"material-icons\" style=\"align-self: center; color: #03a928;\">\n check_circle\n </i>\n }\n @if (boolCpfCnpjValidado === false) {\n <i class=\"material-icons\" style=\"align-self: center; color: #a98203;\">\n cancel\n </i>\n }\n </div>\n </div>\n <div class=\"form-group\">\n <label>Observa\u00E7\u00F5es</label>\n <input [(ngModel)]=\"model.obs\" maxlength=\"60\" class=\"form-control input-300\">\n </div>\n <div class=\"hbox gap-8\">\n <div class=\"form-group\">\n <label>Telefone</label>\n <input [(ngModel)]=\"model.telefone\" maxlength=\"30\" class=\"form-control input-180\">\n </div>\n <div class=\"form-group\">\n <label>Fax</label>\n <input [(ngModel)]=\"model.fax\" maxlength=\"15\" class=\"form-control input-120\">\n </div>\n </div>\n <div class=\"hbox gap-8\">\n <div class=\"form-group\">\n <label>Contato</label>\n <input [(ngModel)]=\"model.contato\" maxlength=\"30\" class=\"form-control input-120\">\n </div>\n <div class=\"form-group\">\n <label>E-mail</label>\n <input [(ngModel)]=\"model.email\" maxlength=\"60\" class=\"form-control input-200\">\n </div>\n </div>\n <div class=\"form-group\">\n <label>Endere\u00E7o</label>\n <input [(ngModel)]=\"model.endereco\" maxlength=\"60\" class=\"form-control input-300\">\n </div>\n <div class=\"hbox gap-8\">\n <div class=\"form-group\">\n <label>N\u00FAmero</label>\n <input [(ngModel)]=\"model.numero\" maxlength=\"15\" class=\"form-control input-120\">\n </div>\n <div class=\"form-group\">\n <label>CEP</label>\n <input [(ngModel)]=\"model.cep\" maxlength=\"9\" class=\"form-control input-120\">\n </div>\n <div class=\"form-group\">\n <label>Bairro</label>\n <input [(ngModel)]=\"model.bairro\" maxlength=\"60\" class=\"form-control input-120\">\n </div>\n </div>\n <div class=\"hbox gap-8\">\n <div class=\"form-group\">\n <label>Complemento</label>\n <input [(ngModel)]=\"model.complemento\" maxlength=\"30\" class=\"form-control input-200\">\n </div>\n <div class=\"form-group\">\n <label>IE/RG</label>\n <input [(ngModel)]=\"model.ieRg\" maxlength=\"20\" class=\"form-control input-120\">\n </div>\n </div>\n}", styles: [":host{display:flex;flex-direction:column}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgxMaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime", "leadZero", "triggerOnMaskChange", "apm", "inputTransformFn", "outputTransformFn", "keepCharacterPositions"], outputs: ["maskFilled"], exportAs: ["mask", "ngxMask"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1848
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: FornecedoresFormComponent, isStandalone: true, selector: "app-fornecedores-form", inputs: { model: "model" }, ngImport: i0, template: "@if (model) {\r\n <div class=\"form-block\">\r\n <label>Nome</label>\r\n <input id=\"nome\" maxlength=\"60\" required cdkFocusInitial [(ngModel)]=\"model.nome\" class=\"form-control input-300\" tabindex=\"1\">\r\n </div>\r\n <h4 class=\"margin-top-16\">Dados Complementares</h4>\r\n <div class=\"form-group\">\r\n <label>Nome Fantasia</label>\r\n <input [(ngModel)]=\"model.fantasia\" maxlength=\"60\" class=\"form-control input-300\" tabindex=\"2\">\r\n </div>\r\n <div class=\"form-group\">\r\n <label>CPF/CNPJ</label>\r\n <div class=\"hbox gap-4\">\r\n <input [(ngModel)]=\"model.cnpjCpf\" (change)=\"validarCpfCnpj()\" mask=\"000.000.000-00||00.000.000/0000-00\"\r\n class=\"form-control input-180\" tabindex=\"3\">\r\n @if (boolCpfCnpjValidado === true) {\r\n <i class=\"material-icons\" style=\"align-self: center; color: #03a928;\">\r\n check_circle\r\n </i>\r\n }\r\n @if (boolCpfCnpjValidado === false) {\r\n <i class=\"material-icons\" style=\"align-self: center; color: #a98203;\">\r\n cancel\r\n </i>\r\n }\r\n </div>\r\n </div>\r\n <div class=\"form-group\">\r\n <label>Observa\u00E7\u00F5es</label>\r\n <input [(ngModel)]=\"model.obs\" maxlength=\"60\" class=\"form-control input-300\">\r\n </div>\r\n <div class=\"hbox gap-8\">\r\n <div class=\"form-group\">\r\n <label>Telefone</label>\r\n <input [(ngModel)]=\"model.telefone\" maxlength=\"30\" class=\"form-control input-180\">\r\n </div>\r\n <div class=\"form-group\">\r\n <label>Fax</label>\r\n <input [(ngModel)]=\"model.fax\" maxlength=\"15\" class=\"form-control input-120\">\r\n </div>\r\n </div>\r\n <div class=\"hbox gap-8\">\r\n <div class=\"form-group\">\r\n <label>Contato</label>\r\n <input [(ngModel)]=\"model.contato\" maxlength=\"30\" class=\"form-control input-120\">\r\n </div>\r\n <div class=\"form-group\">\r\n <label>E-mail</label>\r\n <input [(ngModel)]=\"model.email\" maxlength=\"60\" class=\"form-control input-200\">\r\n </div>\r\n </div>\r\n <div class=\"form-group\">\r\n <label>Endere\u00E7o</label>\r\n <input [(ngModel)]=\"model.endereco\" maxlength=\"60\" class=\"form-control input-300\">\r\n </div>\r\n <div class=\"hbox gap-8\">\r\n <div class=\"form-group\">\r\n <label>N\u00FAmero</label>\r\n <input [(ngModel)]=\"model.numero\" maxlength=\"15\" class=\"form-control input-120\">\r\n </div>\r\n <div class=\"form-group\">\r\n <label>CEP</label>\r\n <input [(ngModel)]=\"model.cep\" maxlength=\"9\" class=\"form-control input-120\">\r\n </div>\r\n <div class=\"form-group\">\r\n <label>Bairro</label>\r\n <input [(ngModel)]=\"model.bairro\" maxlength=\"60\" class=\"form-control input-120\">\r\n </div>\r\n </div>\r\n <div class=\"hbox gap-8\">\r\n <div class=\"form-group\">\r\n <label>Complemento</label>\r\n <input [(ngModel)]=\"model.complemento\" maxlength=\"30\" class=\"form-control input-200\">\r\n </div>\r\n <div class=\"form-group\">\r\n <label>IE/RG</label>\r\n <input [(ngModel)]=\"model.ieRg\" maxlength=\"20\" class=\"form-control input-120\">\r\n </div>\r\n </div>\r\n}", styles: [":host{display:flex;flex-direction:column}\n"], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: NgxMaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime", "leadZero", "triggerOnMaskChange", "apm", "inputTransformFn", "outputTransformFn", "keepCharacterPositions"], outputs: ["maskFilled"], exportAs: ["mask", "ngxMask"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1844
1849
  }
1845
1850
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FornecedoresFormComponent, decorators: [{
1846
1851
  type: Component,
1847
- args: [{ selector: 'app-fornecedores-form', changeDetection: ChangeDetectionStrategy.OnPush, imports: [FormsModule, NgxMaskDirective], template: "@if (model) {\n <div class=\"form-block\">\n <label>Nome</label>\n <input id=\"nome\" maxlength=\"60\" required cdkFocusInitial [(ngModel)]=\"model.nome\" class=\"form-control input-300\" tabindex=\"1\">\n </div>\n <h4 class=\"margin-top-16\">Dados Complementares</h4>\n <div class=\"form-group\">\n <label>Nome Fantasia</label>\n <input [(ngModel)]=\"model.fantasia\" maxlength=\"60\" class=\"form-control input-300\" tabindex=\"2\">\n </div>\n <div class=\"form-group\">\n <label>CPF/CNPJ</label>\n <div class=\"hbox gap-4\">\n <input [(ngModel)]=\"model.cnpjCpf\" (change)=\"validarCpfCnpj()\" mask=\"000.000.000-00||00.000.000/0000-00\"\n class=\"form-control input-180\" tabindex=\"3\">\n @if (boolCpfCnpjValidado === true) {\n <i class=\"material-icons\" style=\"align-self: center; color: #03a928;\">\n check_circle\n </i>\n }\n @if (boolCpfCnpjValidado === false) {\n <i class=\"material-icons\" style=\"align-self: center; color: #a98203;\">\n cancel\n </i>\n }\n </div>\n </div>\n <div class=\"form-group\">\n <label>Observa\u00E7\u00F5es</label>\n <input [(ngModel)]=\"model.obs\" maxlength=\"60\" class=\"form-control input-300\">\n </div>\n <div class=\"hbox gap-8\">\n <div class=\"form-group\">\n <label>Telefone</label>\n <input [(ngModel)]=\"model.telefone\" maxlength=\"30\" class=\"form-control input-180\">\n </div>\n <div class=\"form-group\">\n <label>Fax</label>\n <input [(ngModel)]=\"model.fax\" maxlength=\"15\" class=\"form-control input-120\">\n </div>\n </div>\n <div class=\"hbox gap-8\">\n <div class=\"form-group\">\n <label>Contato</label>\n <input [(ngModel)]=\"model.contato\" maxlength=\"30\" class=\"form-control input-120\">\n </div>\n <div class=\"form-group\">\n <label>E-mail</label>\n <input [(ngModel)]=\"model.email\" maxlength=\"60\" class=\"form-control input-200\">\n </div>\n </div>\n <div class=\"form-group\">\n <label>Endere\u00E7o</label>\n <input [(ngModel)]=\"model.endereco\" maxlength=\"60\" class=\"form-control input-300\">\n </div>\n <div class=\"hbox gap-8\">\n <div class=\"form-group\">\n <label>N\u00FAmero</label>\n <input [(ngModel)]=\"model.numero\" maxlength=\"15\" class=\"form-control input-120\">\n </div>\n <div class=\"form-group\">\n <label>CEP</label>\n <input [(ngModel)]=\"model.cep\" maxlength=\"9\" class=\"form-control input-120\">\n </div>\n <div class=\"form-group\">\n <label>Bairro</label>\n <input [(ngModel)]=\"model.bairro\" maxlength=\"60\" class=\"form-control input-120\">\n </div>\n </div>\n <div class=\"hbox gap-8\">\n <div class=\"form-group\">\n <label>Complemento</label>\n <input [(ngModel)]=\"model.complemento\" maxlength=\"30\" class=\"form-control input-200\">\n </div>\n <div class=\"form-group\">\n <label>IE/RG</label>\n <input [(ngModel)]=\"model.ieRg\" maxlength=\"20\" class=\"form-control input-120\">\n </div>\n </div>\n}", styles: [":host{display:flex;flex-direction:column}\n"] }]
1852
+ args: [{ selector: 'app-fornecedores-form', changeDetection: ChangeDetectionStrategy.OnPush, imports: [FormsModule, NgxMaskDirective], template: "@if (model) {\r\n <div class=\"form-block\">\r\n <label>Nome</label>\r\n <input id=\"nome\" maxlength=\"60\" required cdkFocusInitial [(ngModel)]=\"model.nome\" class=\"form-control input-300\" tabindex=\"1\">\r\n </div>\r\n <h4 class=\"margin-top-16\">Dados Complementares</h4>\r\n <div class=\"form-group\">\r\n <label>Nome Fantasia</label>\r\n <input [(ngModel)]=\"model.fantasia\" maxlength=\"60\" class=\"form-control input-300\" tabindex=\"2\">\r\n </div>\r\n <div class=\"form-group\">\r\n <label>CPF/CNPJ</label>\r\n <div class=\"hbox gap-4\">\r\n <input [(ngModel)]=\"model.cnpjCpf\" (change)=\"validarCpfCnpj()\" mask=\"000.000.000-00||00.000.000/0000-00\"\r\n class=\"form-control input-180\" tabindex=\"3\">\r\n @if (boolCpfCnpjValidado === true) {\r\n <i class=\"material-icons\" style=\"align-self: center; color: #03a928;\">\r\n check_circle\r\n </i>\r\n }\r\n @if (boolCpfCnpjValidado === false) {\r\n <i class=\"material-icons\" style=\"align-self: center; color: #a98203;\">\r\n cancel\r\n </i>\r\n }\r\n </div>\r\n </div>\r\n <div class=\"form-group\">\r\n <label>Observa\u00E7\u00F5es</label>\r\n <input [(ngModel)]=\"model.obs\" maxlength=\"60\" class=\"form-control input-300\">\r\n </div>\r\n <div class=\"hbox gap-8\">\r\n <div class=\"form-group\">\r\n <label>Telefone</label>\r\n <input [(ngModel)]=\"model.telefone\" maxlength=\"30\" class=\"form-control input-180\">\r\n </div>\r\n <div class=\"form-group\">\r\n <label>Fax</label>\r\n <input [(ngModel)]=\"model.fax\" maxlength=\"15\" class=\"form-control input-120\">\r\n </div>\r\n </div>\r\n <div class=\"hbox gap-8\">\r\n <div class=\"form-group\">\r\n <label>Contato</label>\r\n <input [(ngModel)]=\"model.contato\" maxlength=\"30\" class=\"form-control input-120\">\r\n </div>\r\n <div class=\"form-group\">\r\n <label>E-mail</label>\r\n <input [(ngModel)]=\"model.email\" maxlength=\"60\" class=\"form-control input-200\">\r\n </div>\r\n </div>\r\n <div class=\"form-group\">\r\n <label>Endere\u00E7o</label>\r\n <input [(ngModel)]=\"model.endereco\" maxlength=\"60\" class=\"form-control input-300\">\r\n </div>\r\n <div class=\"hbox gap-8\">\r\n <div class=\"form-group\">\r\n <label>N\u00FAmero</label>\r\n <input [(ngModel)]=\"model.numero\" maxlength=\"15\" class=\"form-control input-120\">\r\n </div>\r\n <div class=\"form-group\">\r\n <label>CEP</label>\r\n <input [(ngModel)]=\"model.cep\" maxlength=\"9\" class=\"form-control input-120\">\r\n </div>\r\n <div class=\"form-group\">\r\n <label>Bairro</label>\r\n <input [(ngModel)]=\"model.bairro\" maxlength=\"60\" class=\"form-control input-120\">\r\n </div>\r\n </div>\r\n <div class=\"hbox gap-8\">\r\n <div class=\"form-group\">\r\n <label>Complemento</label>\r\n <input [(ngModel)]=\"model.complemento\" maxlength=\"30\" class=\"form-control input-200\">\r\n </div>\r\n <div class=\"form-group\">\r\n <label>IE/RG</label>\r\n <input [(ngModel)]=\"model.ieRg\" maxlength=\"20\" class=\"form-control input-120\">\r\n </div>\r\n </div>\r\n}", styles: [":host{display:flex;flex-direction:column}\n"] }]
1848
1853
  }], ctorParameters: () => [], propDecorators: { model: [{
1849
1854
  type: Input
1850
1855
  }] } });
1851
1856
 
1857
+ class ExportFileService {
1858
+ empresaNomeFile;
1859
+ constructor() { }
1860
+ start(empresaNomeFile) {
1861
+ this.empresaNomeFile = empresaNomeFile.replace(' ', "_").toLowerCase();
1862
+ ;
1863
+ }
1864
+ exportarExcel(r, fileName) {
1865
+ const blob = new Blob([r], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' });
1866
+ FileSaver.saveAs(blob, `${fileName}.${this.empresaNomeFile}.xlsx`);
1867
+ }
1868
+ printHtml(r) {
1869
+ const s = r + '<script>window.onload = function() { window.print(); }</script>';
1870
+ const blob = new Blob([s], { type: 'text/html' });
1871
+ const url = window.URL.createObjectURL(blob);
1872
+ const w = window.open(url, '_blank', 'noreferrer');
1873
+ }
1874
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ExportFileService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1875
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ExportFileService, providedIn: 'root' });
1876
+ }
1877
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ExportFileService, decorators: [{
1878
+ type: Injectable,
1879
+ args: [{
1880
+ providedIn: 'root'
1881
+ }]
1882
+ }], ctorParameters: () => [] });
1883
+
1852
1884
  class FornecedoresAddDialogComponent {
1853
1885
  ws = inject(CommonWebService);
1854
1886
  notification = inject(NotificationService);
@@ -1902,11 +1934,11 @@ class FornecedoresAddDialogComponent {
1902
1934
  });
1903
1935
  }
1904
1936
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FornecedoresAddDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1905
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: FornecedoresAddDialogComponent, isStandalone: true, selector: "app-fornecedores-add-dialog", ngImport: i0, template: "<div class=\"ox-header\">\n <h2 class=\"titulo\">Novo Fornecedor</h2>\n <button mat-icon-button [mat-dialog-close]>\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"dialog-content\">\n @if (model) {\n <app-fornecedores-form [model]=\"model\"></app-fornecedores-form>\n }\n</div>\n<div class=\"dialog-footer\">\n <button mat-button color=\"primary\" [disabled]=\"isBusy\" (click)=\"salvar()\" tabindex=\"100\">SALVAR</button>\n <button mat-button [mat-dialog-close] >VOLTAR</button>\n</div>\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"], dependencies: [{ kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: FornecedoresFormComponent, selector: "app-fornecedores-form", inputs: ["model"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1937
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: FornecedoresAddDialogComponent, isStandalone: true, selector: "app-fornecedores-add-dialog", ngImport: i0, template: "<div class=\"ox-header\">\r\n <h2 class=\"titulo\">Novo Fornecedor</h2>\r\n <button mat-icon-button [mat-dialog-close]>\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n</div>\r\n<div class=\"dialog-content\">\r\n @if (model) {\r\n <app-fornecedores-form [model]=\"model\"></app-fornecedores-form>\r\n }\r\n</div>\r\n<div class=\"dialog-footer\">\r\n <button mat-button color=\"primary\" [disabled]=\"isBusy\" (click)=\"salvar()\" tabindex=\"100\">SALVAR</button>\r\n <button mat-button [mat-dialog-close] >VOLTAR</button>\r\n</div>\r\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"], dependencies: [{ kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: FornecedoresFormComponent, selector: "app-fornecedores-form", inputs: ["model"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1906
1938
  }
1907
1939
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FornecedoresAddDialogComponent, decorators: [{
1908
1940
  type: Component,
1909
- args: [{ selector: 'app-fornecedores-add-dialog', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatDialogModule, MatButtonModule, MatIconModule, FornecedoresFormComponent, BusyIndicatorComponent], template: "<div class=\"ox-header\">\n <h2 class=\"titulo\">Novo Fornecedor</h2>\n <button mat-icon-button [mat-dialog-close]>\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"dialog-content\">\n @if (model) {\n <app-fornecedores-form [model]=\"model\"></app-fornecedores-form>\n }\n</div>\n<div class=\"dialog-footer\">\n <button mat-button color=\"primary\" [disabled]=\"isBusy\" (click)=\"salvar()\" tabindex=\"100\">SALVAR</button>\n <button mat-button [mat-dialog-close] >VOLTAR</button>\n</div>\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"] }]
1941
+ args: [{ selector: 'app-fornecedores-add-dialog', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatDialogModule, MatButtonModule, MatIconModule, FornecedoresFormComponent, BusyIndicatorComponent], template: "<div class=\"ox-header\">\r\n <h2 class=\"titulo\">Novo Fornecedor</h2>\r\n <button mat-icon-button [mat-dialog-close]>\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n</div>\r\n<div class=\"dialog-content\">\r\n @if (model) {\r\n <app-fornecedores-form [model]=\"model\"></app-fornecedores-form>\r\n }\r\n</div>\r\n<div class=\"dialog-footer\">\r\n <button mat-button color=\"primary\" [disabled]=\"isBusy\" (click)=\"salvar()\" tabindex=\"100\">SALVAR</button>\r\n <button mat-button [mat-dialog-close] >VOLTAR</button>\r\n</div>\r\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"] }]
1910
1942
  }], ctorParameters: () => [] });
1911
1943
 
1912
1944
  class FornecedoresEditDialogComponent {
@@ -1962,11 +1994,11 @@ class FornecedoresEditDialogComponent {
1962
1994
  });
1963
1995
  }
1964
1996
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FornecedoresEditDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1965
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: FornecedoresEditDialogComponent, isStandalone: true, selector: "app-fornecedores-edit-dialog", ngImport: i0, template: "<div class=\"ox-header\">\n <h2 class=\"titulo\">Editando Fornecedor</h2>\n <button mat-icon-button [mat-dialog-close]>\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"dialog-content\">\n @if (model) {\n <app-fornecedores-form [model]=\"model\"></app-fornecedores-form>\n }\n</div>\n<div class=\"dialog-footer\">\n <button mat-button color=\"primary\" (click)=\"salvar()\" tabindex=\"9\">SALVAR</button>\n <button mat-button [mat-dialog-close]>VOLTAR</button>\n</div>\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"], dependencies: [{ kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: FornecedoresFormComponent, selector: "app-fornecedores-form", inputs: ["model"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1997
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: FornecedoresEditDialogComponent, isStandalone: true, selector: "app-fornecedores-edit-dialog", ngImport: i0, template: "<div class=\"ox-header\">\r\n <h2 class=\"titulo\">Editando Fornecedor</h2>\r\n <button mat-icon-button [mat-dialog-close]>\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n</div>\r\n<div class=\"dialog-content\">\r\n @if (model) {\r\n <app-fornecedores-form [model]=\"model\"></app-fornecedores-form>\r\n }\r\n</div>\r\n<div class=\"dialog-footer\">\r\n <button mat-button color=\"primary\" (click)=\"salvar()\" tabindex=\"9\">SALVAR</button>\r\n <button mat-button [mat-dialog-close]>VOLTAR</button>\r\n</div>\r\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"], dependencies: [{ kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: FornecedoresFormComponent, selector: "app-fornecedores-form", inputs: ["model"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1966
1998
  }
1967
1999
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FornecedoresEditDialogComponent, decorators: [{
1968
2000
  type: Component,
1969
- args: [{ selector: 'app-fornecedores-edit-dialog', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatDialogModule, MatButtonModule, MatIconModule, FornecedoresFormComponent, BusyIndicatorComponent], template: "<div class=\"ox-header\">\n <h2 class=\"titulo\">Editando Fornecedor</h2>\n <button mat-icon-button [mat-dialog-close]>\n <mat-icon>close</mat-icon>\n </button>\n</div>\n<div class=\"dialog-content\">\n @if (model) {\n <app-fornecedores-form [model]=\"model\"></app-fornecedores-form>\n }\n</div>\n<div class=\"dialog-footer\">\n <button mat-button color=\"primary\" (click)=\"salvar()\" tabindex=\"9\">SALVAR</button>\n <button mat-button [mat-dialog-close]>VOLTAR</button>\n</div>\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"] }]
2001
+ args: [{ selector: 'app-fornecedores-edit-dialog', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatDialogModule, MatButtonModule, MatIconModule, FornecedoresFormComponent, BusyIndicatorComponent], template: "<div class=\"ox-header\">\r\n <h2 class=\"titulo\">Editando Fornecedor</h2>\r\n <button mat-icon-button [mat-dialog-close]>\r\n <mat-icon>close</mat-icon>\r\n </button>\r\n</div>\r\n<div class=\"dialog-content\">\r\n @if (model) {\r\n <app-fornecedores-form [model]=\"model\"></app-fornecedores-form>\r\n }\r\n</div>\r\n<div class=\"dialog-footer\">\r\n <button mat-button color=\"primary\" (click)=\"salvar()\" tabindex=\"9\">SALVAR</button>\r\n <button mat-button [mat-dialog-close]>VOLTAR</button>\r\n</div>\r\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"] }]
1970
2002
  }], ctorParameters: () => [] });
1971
2003
 
1972
2004
  class FornecedoresComponent {
@@ -1974,6 +2006,7 @@ class FornecedoresComponent {
1974
2006
  notification = inject(NotificationService);
1975
2007
  dialog = inject(MatDialog);
1976
2008
  screenHelper = inject(ScreenHelperService);
2009
+ exFile = inject(ExportFileService);
1977
2010
  cdr = inject(ChangeDetectorRef);
1978
2011
  mobile;
1979
2012
  isBusy = false;
@@ -2091,6 +2124,22 @@ class FornecedoresComponent {
2091
2124
  this.atualiza();
2092
2125
  });
2093
2126
  }
2127
+ baixarExcel() {
2128
+ this.isBusy = true;
2129
+ this.ws.baixarExcelFornecedores(this.setting)
2130
+ .subscribe({
2131
+ next: r => {
2132
+ this.exFile.exportarExcel(r, 'fornecedores');
2133
+ this.isBusy = false;
2134
+ this.cdr.markForCheck();
2135
+ },
2136
+ error: err => {
2137
+ this.isBusy = false;
2138
+ this.notification.showHttpError(err);
2139
+ this.cdr.markForCheck();
2140
+ }
2141
+ });
2142
+ }
2094
2143
  salvar() {
2095
2144
  const item = this.selectedItem;
2096
2145
  if (!item)
@@ -2116,11 +2165,11 @@ class FornecedoresComponent {
2116
2165
  });
2117
2166
  }
2118
2167
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FornecedoresComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2119
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: FornecedoresComponent, isStandalone: true, selector: "app-fornecedores", ngImport: i0, template: "<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\n@if (mobile) {\n <div class=\"tool-panel\">\n <div class=\"tool-section ordem-sm2\">\n <label>A\u00E7\u00F5es</label>\n <div class=\"tool-row\">\n <button mat-icon-button (click)=\"atualiza()\">\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\n </button>\n @if (allowAdd) {\n <button mat-icon-button (click)=\"novo()\">\n <mat-icon aria-label=\"Novo Grupo\">add</mat-icon>\n </button>\n }\n @if (selectedItem && allowExcluir) {\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\n <mat-icon aria-label=\"Excluir Grupo\">delete</mat-icon>\n </button>\n }\n </div>\n </div>\n <div class=\"tool-section\">\n <label>Pesquisa</label>\n <div class=\"search-input-container\">\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\"\n (input)=\"lazyTrigger.fire()\">\n </div>\n </div>\n </div>\n}\n@if (items) {\n <div class=\"result-container\">\n @if (mobile) {\n <div class=\"cards-container cards-container-shadow\">\n @for (i of items; track i) {\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" (click)=\"abreCadastro(i)\"></ox-item-card>\n }\n </div>\n }\n @if (!mobile) {\n <div class=\"listagem-desktop-grid\">\n <div class=\"listagem-column-container listagem-list-column\">\n <h3>Fornecedores</h3>\n <div class=\"tool-panel tool-panel-float\">\n <div class=\"tool-section\">\n <label>Pesquisa</label>\n <div class=\"search-input-container\">\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\"\n (input)=\"lazyTrigger.fire()\">\n </div>\n </div>\n <div class=\"tool-section ordem-sm2\">\n <label>A\u00E7\u00F5es</label>\n <div class=\"tool-row\">\n <button mat-icon-button (click)=\"atualiza()\">\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\n </button>\n @if (allowAdd) {\n <button mat-icon-button (click)=\"novo()\">\n <mat-icon aria-label=\"Novo\">add</mat-icon>\n </button>\n }\n @if (selectedItem && allowExcluir) {\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\n <mat-icon aria-label=\"Excluir\">delete</mat-icon>\n </button>\n }\n </div>\n </div>\n </div>\n <div class=\"listagem-list-container\">\n @if (items.length === 0) {\n <h4 class=\"nenhum-item-msg\">A busca n\u00E3o retornou resultados</h4>\n }\n @for (i of items; track i) {\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" [class.selected]=\"i === selectedItem\"\n (click)=\"selectedItem = i; onSelectItem();\"></ox-item-card >\n }\n </div>\n </div>\n <div id=\"form-column\" class=\"listagem-column-container listagem-column-form\">\n @if (!selectedItem) {\n <h3 class=\"selecione-um-item-msg\">Selecione um fornecedor no lado direito</h3>\n }\n @if (selectedItem) {\n <h3>{{selectedItem.nome | uppercase}}</h3>\n }\n <div class=\"listagem-form-container\">\n @if (selectedItem) {\n <app-fornecedores-form [@fade] [model]=\"selectedItem\"></app-fornecedores-form>\n }\n </div>\n <div class=\"listagem-form-acoes\">\n @if (selectedItem) {\n <button (click)=\"salvar()\" mat-fab color=\"primary\" tabindex=\"20\">\n <mat-icon>save</mat-icon>\n </button>\n }\n </div>\n </div>\n </div>\n }\n </div>\n}", styles: [":host{height:calc(100% - 48px);display:flex;flex-grow:1;flex-direction:column;background:#f0f0f0}:host{background-color:#fafafa}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatFabButton, selector: "button[mat-fab], a[mat-fab], button[matFab], a[matFab]", inputs: ["extended"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }, { kind: "component", type: ItemCardComponent, selector: "ox-item-card", inputs: ["nome", "codigo", "star", "cloud", "desativado", "ownership"] }, { kind: "component", type: FornecedoresFormComponent, selector: "app-fornecedores-form", inputs: ["model"] }, { kind: "pipe", type: i4.UpperCasePipe, name: "uppercase" }], animations: [fadeAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2168
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: FornecedoresComponent, isStandalone: true, selector: "app-fornecedores", ngImport: i0, template: "<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\r\n@if (mobile) {\r\n <div class=\"tool-panel\">\r\n <div class=\"tool-section ordem-sm2\">\r\n <label>A\u00E7\u00F5es</label>\r\n <div class=\"tool-row\">\r\n <button mat-icon-button (click)=\"atualiza()\">\r\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\r\n </button>\r\n @if (allowAdd) {\r\n <button mat-icon-button (click)=\"novo()\">\r\n <mat-icon aria-label=\"Novo Grupo\">add</mat-icon>\r\n </button>\r\n }\r\n @if (selectedItem && allowExcluir) {\r\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\r\n <mat-icon aria-label=\"Excluir Grupo\">delete</mat-icon>\r\n </button>\r\n }\r\n <button mat-icon-button (click)=\"baixarExcel()\">\r\n <mat-icon aria-label=\"Exportar Excel\">file_download</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"tool-section\">\r\n <label>Pesquisa</label>\r\n <div class=\"search-input-container\">\r\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\"\r\n (input)=\"lazyTrigger.fire()\">\r\n </div>\r\n </div>\r\n </div>\r\n}\r\n@if (items) {\r\n <div class=\"result-container\">\r\n @if (mobile) {\r\n <div class=\"cards-container cards-container-shadow\">\r\n @for (i of items; track i) {\r\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" (click)=\"abreCadastro(i)\"></ox-item-card>\r\n }\r\n </div>\r\n }\r\n @if (!mobile) {\r\n <div class=\"listagem-desktop-grid\">\r\n <div class=\"listagem-column-container listagem-list-column\">\r\n <h3>Fornecedores</h3>\r\n <div class=\"tool-panel tool-panel-float\">\r\n <div class=\"tool-section\">\r\n <label>Pesquisa</label>\r\n <div class=\"search-input-container\">\r\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\"\r\n (input)=\"lazyTrigger.fire()\">\r\n </div>\r\n </div>\r\n <div class=\"tool-section ordem-sm2\">\r\n <label>A\u00E7\u00F5es</label>\r\n <div class=\"tool-row\">\r\n <button mat-icon-button (click)=\"atualiza()\">\r\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\r\n </button>\r\n @if (allowAdd) {\r\n <button mat-icon-button (click)=\"novo()\">\r\n <mat-icon aria-label=\"Novo\">add</mat-icon>\r\n </button>\r\n }\r\n @if (selectedItem && allowExcluir) {\r\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\r\n <mat-icon aria-label=\"Excluir\">delete</mat-icon>\r\n </button>\r\n }\r\n <button mat-icon-button (click)=\"baixarExcel()\">\r\n <mat-icon aria-label=\"Exportar Excel\">file_download</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"listagem-list-container\">\r\n @if (items.length === 0) {\r\n <h4 class=\"nenhum-item-msg\">A busca n\u00E3o retornou resultados</h4>\r\n }\r\n @for (i of items; track i) {\r\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" [class.selected]=\"i === selectedItem\"\r\n (click)=\"selectedItem = i; onSelectItem();\"></ox-item-card >\r\n }\r\n </div>\r\n </div>\r\n <div id=\"form-column\" class=\"listagem-column-container listagem-column-form\">\r\n @if (!selectedItem) {\r\n <h3 class=\"selecione-um-item-msg\">Selecione um fornecedor no lado direito</h3>\r\n }\r\n @if (selectedItem) {\r\n <h3>{{selectedItem.nome | uppercase}}</h3>\r\n }\r\n <div class=\"listagem-form-container\">\r\n @if (selectedItem) {\r\n <app-fornecedores-form [@fade] [model]=\"selectedItem\"></app-fornecedores-form>\r\n }\r\n </div>\r\n <div class=\"listagem-form-acoes\">\r\n @if (selectedItem) {\r\n <button (click)=\"salvar()\" mat-fab color=\"primary\" tabindex=\"20\">\r\n <mat-icon>save</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n}", styles: [":host{height:calc(100% - 48px);display:flex;flex-grow:1;flex-direction:column;background:#f0f0f0}:host{background-color:#fafafa}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatFabButton, selector: "button[mat-fab], a[mat-fab], button[matFab], a[matFab]", inputs: ["extended"], exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }, { kind: "component", type: ItemCardComponent, selector: "ox-item-card", inputs: ["nome", "codigo", "star", "cloud", "desativado", "ownership"] }, { kind: "component", type: FornecedoresFormComponent, selector: "app-fornecedores-form", inputs: ["model"] }, { kind: "pipe", type: i4.UpperCasePipe, name: "uppercase" }], animations: [fadeAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2120
2169
  }
2121
2170
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: FornecedoresComponent, decorators: [{
2122
2171
  type: Component,
2123
- args: [{ selector: 'app-fornecedores', animations: [fadeAnimation], changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, FormsModule, MatButtonModule, MatIconModule, BusyIndicatorComponent, ItemCardComponent, FornecedoresFormComponent], template: "<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\n@if (mobile) {\n <div class=\"tool-panel\">\n <div class=\"tool-section ordem-sm2\">\n <label>A\u00E7\u00F5es</label>\n <div class=\"tool-row\">\n <button mat-icon-button (click)=\"atualiza()\">\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\n </button>\n @if (allowAdd) {\n <button mat-icon-button (click)=\"novo()\">\n <mat-icon aria-label=\"Novo Grupo\">add</mat-icon>\n </button>\n }\n @if (selectedItem && allowExcluir) {\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\n <mat-icon aria-label=\"Excluir Grupo\">delete</mat-icon>\n </button>\n }\n </div>\n </div>\n <div class=\"tool-section\">\n <label>Pesquisa</label>\n <div class=\"search-input-container\">\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\"\n (input)=\"lazyTrigger.fire()\">\n </div>\n </div>\n </div>\n}\n@if (items) {\n <div class=\"result-container\">\n @if (mobile) {\n <div class=\"cards-container cards-container-shadow\">\n @for (i of items; track i) {\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" (click)=\"abreCadastro(i)\"></ox-item-card>\n }\n </div>\n }\n @if (!mobile) {\n <div class=\"listagem-desktop-grid\">\n <div class=\"listagem-column-container listagem-list-column\">\n <h3>Fornecedores</h3>\n <div class=\"tool-panel tool-panel-float\">\n <div class=\"tool-section\">\n <label>Pesquisa</label>\n <div class=\"search-input-container\">\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\"\n (input)=\"lazyTrigger.fire()\">\n </div>\n </div>\n <div class=\"tool-section ordem-sm2\">\n <label>A\u00E7\u00F5es</label>\n <div class=\"tool-row\">\n <button mat-icon-button (click)=\"atualiza()\">\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\n </button>\n @if (allowAdd) {\n <button mat-icon-button (click)=\"novo()\">\n <mat-icon aria-label=\"Novo\">add</mat-icon>\n </button>\n }\n @if (selectedItem && allowExcluir) {\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\n <mat-icon aria-label=\"Excluir\">delete</mat-icon>\n </button>\n }\n </div>\n </div>\n </div>\n <div class=\"listagem-list-container\">\n @if (items.length === 0) {\n <h4 class=\"nenhum-item-msg\">A busca n\u00E3o retornou resultados</h4>\n }\n @for (i of items; track i) {\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" [class.selected]=\"i === selectedItem\"\n (click)=\"selectedItem = i; onSelectItem();\"></ox-item-card >\n }\n </div>\n </div>\n <div id=\"form-column\" class=\"listagem-column-container listagem-column-form\">\n @if (!selectedItem) {\n <h3 class=\"selecione-um-item-msg\">Selecione um fornecedor no lado direito</h3>\n }\n @if (selectedItem) {\n <h3>{{selectedItem.nome | uppercase}}</h3>\n }\n <div class=\"listagem-form-container\">\n @if (selectedItem) {\n <app-fornecedores-form [@fade] [model]=\"selectedItem\"></app-fornecedores-form>\n }\n </div>\n <div class=\"listagem-form-acoes\">\n @if (selectedItem) {\n <button (click)=\"salvar()\" mat-fab color=\"primary\" tabindex=\"20\">\n <mat-icon>save</mat-icon>\n </button>\n }\n </div>\n </div>\n </div>\n }\n </div>\n}", styles: [":host{height:calc(100% - 48px);display:flex;flex-grow:1;flex-direction:column;background:#f0f0f0}:host{background-color:#fafafa}\n"] }]
2172
+ args: [{ selector: 'app-fornecedores', animations: [fadeAnimation], changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, FormsModule, MatButtonModule, MatIconModule, BusyIndicatorComponent, ItemCardComponent, FornecedoresFormComponent], template: "<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\r\n@if (mobile) {\r\n <div class=\"tool-panel\">\r\n <div class=\"tool-section ordem-sm2\">\r\n <label>A\u00E7\u00F5es</label>\r\n <div class=\"tool-row\">\r\n <button mat-icon-button (click)=\"atualiza()\">\r\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\r\n </button>\r\n @if (allowAdd) {\r\n <button mat-icon-button (click)=\"novo()\">\r\n <mat-icon aria-label=\"Novo Grupo\">add</mat-icon>\r\n </button>\r\n }\r\n @if (selectedItem && allowExcluir) {\r\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\r\n <mat-icon aria-label=\"Excluir Grupo\">delete</mat-icon>\r\n </button>\r\n }\r\n <button mat-icon-button (click)=\"baixarExcel()\">\r\n <mat-icon aria-label=\"Exportar Excel\">file_download</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n <div class=\"tool-section\">\r\n <label>Pesquisa</label>\r\n <div class=\"search-input-container\">\r\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\"\r\n (input)=\"lazyTrigger.fire()\">\r\n </div>\r\n </div>\r\n </div>\r\n}\r\n@if (items) {\r\n <div class=\"result-container\">\r\n @if (mobile) {\r\n <div class=\"cards-container cards-container-shadow\">\r\n @for (i of items; track i) {\r\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" (click)=\"abreCadastro(i)\"></ox-item-card>\r\n }\r\n </div>\r\n }\r\n @if (!mobile) {\r\n <div class=\"listagem-desktop-grid\">\r\n <div class=\"listagem-column-container listagem-list-column\">\r\n <h3>Fornecedores</h3>\r\n <div class=\"tool-panel tool-panel-float\">\r\n <div class=\"tool-section\">\r\n <label>Pesquisa</label>\r\n <div class=\"search-input-container\">\r\n <input [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\"\r\n (input)=\"lazyTrigger.fire()\">\r\n </div>\r\n </div>\r\n <div class=\"tool-section ordem-sm2\">\r\n <label>A\u00E7\u00F5es</label>\r\n <div class=\"tool-row\">\r\n <button mat-icon-button (click)=\"atualiza()\">\r\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\r\n </button>\r\n @if (allowAdd) {\r\n <button mat-icon-button (click)=\"novo()\">\r\n <mat-icon aria-label=\"Novo\">add</mat-icon>\r\n </button>\r\n }\r\n @if (selectedItem && allowExcluir) {\r\n <button mat-icon-button (click)=\"excluir()\" [@fade]>\r\n <mat-icon aria-label=\"Excluir\">delete</mat-icon>\r\n </button>\r\n }\r\n <button mat-icon-button (click)=\"baixarExcel()\">\r\n <mat-icon aria-label=\"Exportar Excel\">file_download</mat-icon>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"listagem-list-container\">\r\n @if (items.length === 0) {\r\n <h4 class=\"nenhum-item-msg\">A busca n\u00E3o retornou resultados</h4>\r\n }\r\n @for (i of items; track i) {\r\n <ox-item-card [cloud]=\"i.enviadoPC\" [nome]=\"i.nome\" [class.selected]=\"i === selectedItem\"\r\n (click)=\"selectedItem = i; onSelectItem();\"></ox-item-card >\r\n }\r\n </div>\r\n </div>\r\n <div id=\"form-column\" class=\"listagem-column-container listagem-column-form\">\r\n @if (!selectedItem) {\r\n <h3 class=\"selecione-um-item-msg\">Selecione um fornecedor no lado direito</h3>\r\n }\r\n @if (selectedItem) {\r\n <h3>{{selectedItem.nome | uppercase}}</h3>\r\n }\r\n <div class=\"listagem-form-container\">\r\n @if (selectedItem) {\r\n <app-fornecedores-form [@fade] [model]=\"selectedItem\"></app-fornecedores-form>\r\n }\r\n </div>\r\n <div class=\"listagem-form-acoes\">\r\n @if (selectedItem) {\r\n <button (click)=\"salvar()\" mat-fab color=\"primary\" tabindex=\"20\">\r\n <mat-icon>save</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n}", styles: [":host{height:calc(100% - 48px);display:flex;flex-grow:1;flex-direction:column;background:#f0f0f0}:host{background-color:#fafafa}\n"] }]
2124
2173
  }], ctorParameters: () => [] });
2125
2174
 
2126
2175
  class SelecaoFornecedorDialogComponent {
@@ -2214,11 +2263,11 @@ class SelecaoFornecedorDialogComponent {
2214
2263
  });
2215
2264
  }
2216
2265
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: SelecaoFornecedorDialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2217
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: SelecaoFornecedorDialogComponent, isStandalone: true, selector: "app-selecao-fornecedor-dialog", ngImport: i0, template: "<div class=\"dialog-header\">\n <h2>Sele\u00E7\u00E3o de Fornecedores</h2>\n</div>\n<div class=\"tool-panel\">\n <div class=\"tool-section\">\n <label>Pesquisa</label>\n <div class=\"search-input-container\">\n <input (keydown)=\"nav.onKeyDown($event)\" cdkFocusInitial [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\" (input)=\"lazyTrigger.fire()\">\n </div>\n </div>\n <div class=\"tool-section\">\n <label>A\u00E7\u00F5es</label>\n <div class=\"tool-row\">\n <button color=\"primary\" mat-icon-button (click)=\"atualiza()\">\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\n </button>\n @if (allowAdd) {\n <button color=\"primary\" mat-icon-button (click)=\"novo()\">\n <mat-icon aria-label=\"novo\">add</mat-icon>\n </button>\n }\n @if (selectedItem) {\n <button color=\"primary\" mat-icon-button (click)=\"editar()\">\n <mat-icon aria-label=\"editar\">edit</mat-icon>\n </button>\n }\n </div>\n </div>\n</div>\n<div class=\"dialog-content\">\n @for (i of items; track i) {\n <div (click)=\"selectItem(i)\" [ngClass]=\"{selected: selectedItem === i}\" class=\"list-item\">\n <span>{{i.nome}}</span>\n </div>\n }\n</div>\n<div class=\"dialog-footer\">\n <button mat-button [disabled]=\"selectedItem == undefined\" color=\"primary\" [mat-dialog-close]=\"selectedItem\">CONFIRMAR</button>\n <button mat-button [mat-dialog-close]=\"undefined\">VOLTAR</button>\n</div>\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\n", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2266
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: SelecaoFornecedorDialogComponent, isStandalone: true, selector: "app-selecao-fornecedor-dialog", ngImport: i0, template: "<div class=\"dialog-header\">\r\n <h2>Sele\u00E7\u00E3o de Fornecedores</h2>\r\n</div>\r\n<div class=\"tool-panel\">\r\n <div class=\"tool-section\">\r\n <label>Pesquisa</label>\r\n <div class=\"search-input-container\">\r\n <input (keydown)=\"nav.onKeyDown($event)\" cdkFocusInitial [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\" (input)=\"lazyTrigger.fire()\">\r\n </div>\r\n </div>\r\n <div class=\"tool-section\">\r\n <label>A\u00E7\u00F5es</label>\r\n <div class=\"tool-row\">\r\n <button color=\"primary\" mat-icon-button (click)=\"atualiza()\">\r\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\r\n </button>\r\n @if (allowAdd) {\r\n <button color=\"primary\" mat-icon-button (click)=\"novo()\">\r\n <mat-icon aria-label=\"novo\">add</mat-icon>\r\n </button>\r\n }\r\n @if (selectedItem) {\r\n <button color=\"primary\" mat-icon-button (click)=\"editar()\">\r\n <mat-icon aria-label=\"editar\">edit</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n</div>\r\n<div class=\"dialog-content\">\r\n @for (i of items; track i) {\r\n <div (click)=\"selectItem(i)\" [ngClass]=\"{selected: selectedItem === i}\" class=\"list-item\">\r\n <span>{{i.nome}}</span>\r\n </div>\r\n }\r\n</div>\r\n<div class=\"dialog-footer\">\r\n <button mat-button [disabled]=\"selectedItem == undefined\" color=\"primary\" [mat-dialog-close]=\"selectedItem\">CONFIRMAR</button>\r\n <button mat-button [mat-dialog-close]=\"undefined\">VOLTAR</button>\r\n</div>\r\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\r\n", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: BusyIndicatorComponent, selector: "ox-busy-indicator", inputs: ["isBusy"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2218
2267
  }
2219
2268
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: SelecaoFornecedorDialogComponent, decorators: [{
2220
2269
  type: Component,
2221
- args: [{ selector: 'app-selecao-fornecedor-dialog', changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, FormsModule, MatDialogModule, MatButtonModule, MatIconModule, BusyIndicatorComponent], template: "<div class=\"dialog-header\">\n <h2>Sele\u00E7\u00E3o de Fornecedores</h2>\n</div>\n<div class=\"tool-panel\">\n <div class=\"tool-section\">\n <label>Pesquisa</label>\n <div class=\"search-input-container\">\n <input (keydown)=\"nav.onKeyDown($event)\" cdkFocusInitial [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\" (input)=\"lazyTrigger.fire()\">\n </div>\n </div>\n <div class=\"tool-section\">\n <label>A\u00E7\u00F5es</label>\n <div class=\"tool-row\">\n <button color=\"primary\" mat-icon-button (click)=\"atualiza()\">\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\n </button>\n @if (allowAdd) {\n <button color=\"primary\" mat-icon-button (click)=\"novo()\">\n <mat-icon aria-label=\"novo\">add</mat-icon>\n </button>\n }\n @if (selectedItem) {\n <button color=\"primary\" mat-icon-button (click)=\"editar()\">\n <mat-icon aria-label=\"editar\">edit</mat-icon>\n </button>\n }\n </div>\n </div>\n</div>\n<div class=\"dialog-content\">\n @for (i of items; track i) {\n <div (click)=\"selectItem(i)\" [ngClass]=\"{selected: selectedItem === i}\" class=\"list-item\">\n <span>{{i.nome}}</span>\n </div>\n }\n</div>\n<div class=\"dialog-footer\">\n <button mat-button [disabled]=\"selectedItem == undefined\" color=\"primary\" [mat-dialog-close]=\"selectedItem\">CONFIRMAR</button>\n <button mat-button [mat-dialog-close]=\"undefined\">VOLTAR</button>\n</div>\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\n", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"] }]
2270
+ args: [{ selector: 'app-selecao-fornecedor-dialog', changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, FormsModule, MatDialogModule, MatButtonModule, MatIconModule, BusyIndicatorComponent], template: "<div class=\"dialog-header\">\r\n <h2>Sele\u00E7\u00E3o de Fornecedores</h2>\r\n</div>\r\n<div class=\"tool-panel\">\r\n <div class=\"tool-section\">\r\n <label>Pesquisa</label>\r\n <div class=\"search-input-container\">\r\n <input (keydown)=\"nav.onKeyDown($event)\" cdkFocusInitial [(ngModel)]=\"setting.frase\" placeholder=\"Digite um termo de busca...\" (input)=\"lazyTrigger.fire()\">\r\n </div>\r\n </div>\r\n <div class=\"tool-section\">\r\n <label>A\u00E7\u00F5es</label>\r\n <div class=\"tool-row\">\r\n <button color=\"primary\" mat-icon-button (click)=\"atualiza()\">\r\n <mat-icon aria-label=\"Atualizar\">refresh</mat-icon>\r\n </button>\r\n @if (allowAdd) {\r\n <button color=\"primary\" mat-icon-button (click)=\"novo()\">\r\n <mat-icon aria-label=\"novo\">add</mat-icon>\r\n </button>\r\n }\r\n @if (selectedItem) {\r\n <button color=\"primary\" mat-icon-button (click)=\"editar()\">\r\n <mat-icon aria-label=\"editar\">edit</mat-icon>\r\n </button>\r\n }\r\n </div>\r\n </div>\r\n</div>\r\n<div class=\"dialog-content\">\r\n @for (i of items; track i) {\r\n <div (click)=\"selectItem(i)\" [ngClass]=\"{selected: selectedItem === i}\" class=\"list-item\">\r\n <span>{{i.nome}}</span>\r\n </div>\r\n }\r\n</div>\r\n<div class=\"dialog-footer\">\r\n <button mat-button [disabled]=\"selectedItem == undefined\" color=\"primary\" [mat-dialog-close]=\"selectedItem\">CONFIRMAR</button>\r\n <button mat-button [mat-dialog-close]=\"undefined\">VOLTAR</button>\r\n</div>\r\n<ox-busy-indicator [isBusy]=\"isBusy\"></ox-busy-indicator>\r\n", styles: [":host{background:#fafafa;display:flex;flex-direction:column;height:100%;max-height:99vh}\n"] }]
2222
2271
  }], ctorParameters: () => [] });
2223
2272
 
2224
2273
  class CheckButtonComponent {
@@ -2300,11 +2349,11 @@ class ImageViewerComponent {
2300
2349
  this.disableNext = this.paginaAtual == this.infos.length;
2301
2350
  }
2302
2351
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ImageViewerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2303
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: ImageViewerComponent, isStandalone: true, selector: "ox-image-viewer", inputs: { info: "info", infos: "infos", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, host: { listeners: { "click": "onClick($event)" } }, ngImport: i0, template: "@if (isOpen) {\n <div class=\"image-fullsize\">\n <div class=\"titulo\">\n {{info?.titulo}}\n </div>\n <div class=\"img-container\" (click)=\"isOpen = !isOpen\">\n @if (info) {\n <img class=\"image\" [src]=\"info?.url\" />\n }\n </div>\n @if (infos) {\n <div class=\"action-bar\">\n <button (click)=\"goBack()\" [disabled]=\"disableBack\" mat-icon-button>\n <mat-icon>chevron_left</mat-icon>\n </button>\n <span class=\"picker-text\">\n {{paginaAtual}}/{{infos?.length}}\n </span>\n <button (click)=\"goNext()\" [disabled]=\"disableNext\" mat-icon-button>\n <mat-icon>chevron_right</mat-icon>\n </button>\n </div>\n }\n </div>\n}\n", styles: [".image-fullsize{position:absolute;left:0;top:0;background:#000c;width:100%;height:100%;display:flex;flex-flow:column}.titulo{color:#fff;text-align:center;padding:16px;font-size:large;font-weight:300}.action-bar{background:linear-gradient(135deg,#000c,#000000e6,#000c);color:#fff;padding:8px}.img-container{flex-grow:1;display:flex;justify-content:center;align-items:center}.image{box-shadow:0 5px 35px #000000a6;max-width:100%;height:auto}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2352
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: ImageViewerComponent, isStandalone: true, selector: "ox-image-viewer", inputs: { info: "info", infos: "infos", isOpen: "isOpen" }, outputs: { isOpenChange: "isOpenChange" }, host: { listeners: { "click": "onClick($event)" } }, ngImport: i0, template: "@if (isOpen) {\r\n <div class=\"image-fullsize\">\r\n <div class=\"titulo\">\r\n {{info?.titulo}}\r\n </div>\r\n <div class=\"img-container\" (click)=\"isOpen = !isOpen\">\r\n @if (info) {\r\n <img class=\"image\" [src]=\"info?.url\" />\r\n }\r\n </div>\r\n @if (infos) {\r\n <div class=\"action-bar\">\r\n <button (click)=\"goBack()\" [disabled]=\"disableBack\" mat-icon-button>\r\n <mat-icon>chevron_left</mat-icon>\r\n </button>\r\n <span class=\"picker-text\">\r\n {{paginaAtual}}/{{infos?.length}}\r\n </span>\r\n <button (click)=\"goNext()\" [disabled]=\"disableNext\" mat-icon-button>\r\n <mat-icon>chevron_right</mat-icon>\r\n </button>\r\n </div>\r\n }\r\n </div>\r\n}\r\n", styles: [".image-fullsize{position:absolute;left:0;top:0;background:#000c;width:100%;height:100%;display:flex;flex-flow:column}.titulo{color:#fff;text-align:center;padding:16px;font-size:large;font-weight:300}.action-bar{background:linear-gradient(135deg,#000c,#000000e6,#000c);color:#fff;padding:8px}.img-container{flex-grow:1;display:flex;justify-content:center;align-items:center}.image{box-shadow:0 5px 35px #000000a6;max-width:100%;height:auto}\n"], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i3$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2$1.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2304
2353
  }
2305
2354
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ImageViewerComponent, decorators: [{
2306
2355
  type: Component,
2307
- args: [{ selector: 'ox-image-viewer', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatIconModule, MatButtonModule], template: "@if (isOpen) {\n <div class=\"image-fullsize\">\n <div class=\"titulo\">\n {{info?.titulo}}\n </div>\n <div class=\"img-container\" (click)=\"isOpen = !isOpen\">\n @if (info) {\n <img class=\"image\" [src]=\"info?.url\" />\n }\n </div>\n @if (infos) {\n <div class=\"action-bar\">\n <button (click)=\"goBack()\" [disabled]=\"disableBack\" mat-icon-button>\n <mat-icon>chevron_left</mat-icon>\n </button>\n <span class=\"picker-text\">\n {{paginaAtual}}/{{infos?.length}}\n </span>\n <button (click)=\"goNext()\" [disabled]=\"disableNext\" mat-icon-button>\n <mat-icon>chevron_right</mat-icon>\n </button>\n </div>\n }\n </div>\n}\n", styles: [".image-fullsize{position:absolute;left:0;top:0;background:#000c;width:100%;height:100%;display:flex;flex-flow:column}.titulo{color:#fff;text-align:center;padding:16px;font-size:large;font-weight:300}.action-bar{background:linear-gradient(135deg,#000c,#000000e6,#000c);color:#fff;padding:8px}.img-container{flex-grow:1;display:flex;justify-content:center;align-items:center}.image{box-shadow:0 5px 35px #000000a6;max-width:100%;height:auto}\n"] }]
2356
+ args: [{ selector: 'ox-image-viewer', changeDetection: ChangeDetectionStrategy.OnPush, imports: [MatIconModule, MatButtonModule], template: "@if (isOpen) {\r\n <div class=\"image-fullsize\">\r\n <div class=\"titulo\">\r\n {{info?.titulo}}\r\n </div>\r\n <div class=\"img-container\" (click)=\"isOpen = !isOpen\">\r\n @if (info) {\r\n <img class=\"image\" [src]=\"info?.url\" />\r\n }\r\n </div>\r\n @if (infos) {\r\n <div class=\"action-bar\">\r\n <button (click)=\"goBack()\" [disabled]=\"disableBack\" mat-icon-button>\r\n <mat-icon>chevron_left</mat-icon>\r\n </button>\r\n <span class=\"picker-text\">\r\n {{paginaAtual}}/{{infos?.length}}\r\n </span>\r\n <button (click)=\"goNext()\" [disabled]=\"disableNext\" mat-icon-button>\r\n <mat-icon>chevron_right</mat-icon>\r\n </button>\r\n </div>\r\n }\r\n </div>\r\n}\r\n", styles: [".image-fullsize{position:absolute;left:0;top:0;background:#000c;width:100%;height:100%;display:flex;flex-flow:column}.titulo{color:#fff;text-align:center;padding:16px;font-size:large;font-weight:300}.action-bar{background:linear-gradient(135deg,#000c,#000000e6,#000c);color:#fff;padding:8px}.img-container{flex-grow:1;display:flex;justify-content:center;align-items:center}.image{box-shadow:0 5px 35px #000000a6;max-width:100%;height:auto}\n"] }]
2308
2357
  }], ctorParameters: () => [], propDecorators: { info: [{
2309
2358
  type: Input
2310
2359
  }], infos: [{
@@ -2602,11 +2651,11 @@ class RadioButtonGroupComponent {
2602
2651
  this.change.emit(this.selectedItem);
2603
2652
  }
2604
2653
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: RadioButtonGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2605
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: RadioButtonGroupComponent, isStandalone: true, selector: "ox-radio-button-group", inputs: { selectedItem: "selectedItem", items: "items" }, outputs: { change: "change" }, ngImport: i0, template: "@for (item of items; track item) {\n <ox-check-button [radioBehavior]=\"true\" (changed)=\"raiseChange(item)\" [checked]=\"item == selectedItem\">\n {{item.name}}\n </ox-check-button>\n}", styles: [":host>:first-child{border-radius:4px 0 0 4px}:host>:last-child{border-radius:0 4px 4px 0}\n"], dependencies: [{ kind: "component", type: CheckButtonComponent, selector: "ox-check-button", inputs: ["checked", "radioBehavior"], outputs: ["changed"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2654
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: RadioButtonGroupComponent, isStandalone: true, selector: "ox-radio-button-group", inputs: { selectedItem: "selectedItem", items: "items" }, outputs: { change: "change" }, ngImport: i0, template: "@for (item of items; track item) {\r\n <ox-check-button [radioBehavior]=\"true\" (changed)=\"raiseChange(item)\" [checked]=\"item == selectedItem\">\r\n {{item.name}}\r\n </ox-check-button>\r\n}", styles: [":host>:first-child{border-radius:4px 0 0 4px}:host>:last-child{border-radius:0 4px 4px 0}\n"], dependencies: [{ kind: "component", type: CheckButtonComponent, selector: "ox-check-button", inputs: ["checked", "radioBehavior"], outputs: ["changed"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2606
2655
  }
2607
2656
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: RadioButtonGroupComponent, decorators: [{
2608
2657
  type: Component,
2609
- args: [{ selector: 'ox-radio-button-group', changeDetection: ChangeDetectionStrategy.OnPush, imports: [CheckButtonComponent], template: "@for (item of items; track item) {\n <ox-check-button [radioBehavior]=\"true\" (changed)=\"raiseChange(item)\" [checked]=\"item == selectedItem\">\n {{item.name}}\n </ox-check-button>\n}", styles: [":host>:first-child{border-radius:4px 0 0 4px}:host>:last-child{border-radius:0 4px 4px 0}\n"] }]
2658
+ args: [{ selector: 'ox-radio-button-group', changeDetection: ChangeDetectionStrategy.OnPush, imports: [CheckButtonComponent], template: "@for (item of items; track item) {\r\n <ox-check-button [radioBehavior]=\"true\" (changed)=\"raiseChange(item)\" [checked]=\"item == selectedItem\">\r\n {{item.name}}\r\n </ox-check-button>\r\n}", styles: [":host>:first-child{border-radius:4px 0 0 4px}:host>:last-child{border-radius:0 4px 4px 0}\n"] }]
2610
2659
  }], ctorParameters: () => [], propDecorators: { change: [{ type: i0.Output, args: ["change"] }], selectedItem: [{
2611
2660
  type: Input
2612
2661
  }], items: [{
@@ -3118,33 +3167,6 @@ class SuitesIntervencoesSetting extends SearchSetting {
3118
3167
  status;
3119
3168
  }
3120
3169
 
3121
- class ExportFileService {
3122
- empresaNomeFile;
3123
- constructor() { }
3124
- start(empresaNomeFile) {
3125
- this.empresaNomeFile = empresaNomeFile.replace(' ', "_").toLowerCase();
3126
- ;
3127
- }
3128
- exportarExcel(r, fileName) {
3129
- const blob = new Blob([r], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' });
3130
- FileSaver.saveAs(blob, `${fileName}.${this.empresaNomeFile}.xlsx`);
3131
- }
3132
- printHtml(r) {
3133
- const s = r + '<script>window.onload = function() { window.print(); }</script>';
3134
- const blob = new Blob([s], { type: 'text/html' });
3135
- const url = window.URL.createObjectURL(blob);
3136
- const w = window.open(url, '_blank', 'noreferrer');
3137
- }
3138
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ExportFileService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3139
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ExportFileService, providedIn: 'root' });
3140
- }
3141
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ExportFileService, decorators: [{
3142
- type: Injectable,
3143
- args: [{
3144
- providedIn: 'root'
3145
- }]
3146
- }], ctorParameters: () => [] });
3147
-
3148
3170
  class Preferences {
3149
3171
  constructor() {
3150
3172
  }