@senior-gestao-pessoas/payroll-core 9.2.0 → 9.3.0-3956a1cf-41cb-4c73-952b-4f96be631787

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 (34) hide show
  1. package/bundles/senior-gestao-pessoas-payroll-core.umd.js +435 -28
  2. package/bundles/senior-gestao-pessoas-payroll-core.umd.js.map +1 -1
  3. package/bundles/senior-gestao-pessoas-payroll-core.umd.min.js +1 -1
  4. package/bundles/senior-gestao-pessoas-payroll-core.umd.min.js.map +1 -1
  5. package/components/historical-pix-account/historical-pix-account-form/historical-pix-account-form.component.d.ts +3 -1
  6. package/components/historical-pix-account/historical-pix-account.component.d.ts +11 -1
  7. package/components/historical-pix-account-list/historical-pix-account-list.component.d.ts +51 -0
  8. package/components/historical-pix-account-list/historical-pix-account-list.module.d.ts +2 -0
  9. package/components/historical-pix-account-list/historical-pix-account-list.service.d.ts +9 -0
  10. package/components/historical-pix-account-list/index.d.ts +3 -0
  11. package/esm2015/components/historical-pix-account/historical-pix-account-form/historical-pix-account-form.component.js +39 -18
  12. package/esm2015/components/historical-pix-account/historical-pix-account.component.js +61 -12
  13. package/esm2015/components/historical-pix-account-list/historical-pix-account-list.component.js +249 -0
  14. package/esm2015/components/historical-pix-account-list/historical-pix-account-list.module.js +39 -0
  15. package/esm2015/components/historical-pix-account-list/historical-pix-account-list.service.js +35 -0
  16. package/esm2015/components/historical-pix-account-list/index.js +4 -0
  17. package/esm2015/public_api.js +2 -1
  18. package/esm5/components/historical-pix-account/historical-pix-account-form/historical-pix-account-form.component.js +40 -18
  19. package/esm5/components/historical-pix-account/historical-pix-account.component.js +77 -12
  20. package/esm5/components/historical-pix-account-list/historical-pix-account-list.component.js +273 -0
  21. package/esm5/components/historical-pix-account-list/historical-pix-account-list.module.js +42 -0
  22. package/esm5/components/historical-pix-account-list/historical-pix-account-list.service.js +37 -0
  23. package/esm5/components/historical-pix-account-list/index.js +4 -0
  24. package/esm5/public_api.js +2 -1
  25. package/fesm2015/senior-gestao-pessoas-payroll-core.js +387 -29
  26. package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
  27. package/fesm5/senior-gestao-pessoas-payroll-core.js +433 -29
  28. package/fesm5/senior-gestao-pessoas-payroll-core.js.map +1 -1
  29. package/locale/en-US.json +8 -1
  30. package/locale/es-ES.json +8 -1
  31. package/locale/pt-BR.json +8 -1
  32. package/package.json +1 -1
  33. package/public_api.d.ts +1 -0
  34. package/senior-gestao-pessoas-payroll-core.metadata.json +1 -1
@@ -9256,16 +9256,18 @@ var FormatUtilsService = /** @class */ (function () {
9256
9256
  }());
9257
9257
 
9258
9258
  var HistoricalPixAccountComponent = /** @class */ (function () {
9259
- function HistoricalPixAccountComponent(translateService, cd, formBuilder) {
9259
+ function HistoricalPixAccountComponent(translateService, cd, formBuilder, messageService) {
9260
9260
  var _this = this;
9261
9261
  this.translateService = translateService;
9262
9262
  this.cd = cd;
9263
9263
  this.formBuilder = formBuilder;
9264
+ this.messageService = messageService;
9264
9265
  this.recordByRow = 1;
9265
9266
  this.showDateChange = false;
9266
9267
  this.isEditMode = false;
9267
9268
  this.isViewMode = false;
9268
9269
  this.withSideBar = true;
9270
+ this.defaultCpfNumber = null;
9269
9271
  this.visibleChange = new EventEmitter();
9270
9272
  this.ngUnsubscribe = new Subject();
9271
9273
  this.orderBy = {
@@ -9296,29 +9298,47 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
9296
9298
  if (rowData === void 0) { rowData = {}; }
9297
9299
  return [
9298
9300
  {
9301
+ isNotAllowMessage: _this.isNotAllowMessage(_this.isAllowToViewHistorical),
9299
9302
  visible: _this.isEditMode,
9300
9303
  label: _this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
9301
9304
  command: function () {
9302
- rowData["index"] = key;
9303
- _this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: false };
9304
- _this.visible = true;
9305
+ if (_this.isAllowToViewHistorical) {
9306
+ rowData["index"] = key;
9307
+ _this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: false };
9308
+ _this.visible = true;
9309
+ }
9310
+ else {
9311
+ return;
9312
+ }
9305
9313
  },
9306
9314
  },
9307
9315
  {
9316
+ isNotAllowMessage: _this.isNotAllowMessage(_this.isAllowToEditHistorical),
9308
9317
  visible: !!(!_this.isEditMode && _this.withSideBar),
9309
9318
  label: _this.translateService.instant("hcm.payroll.edit"),
9310
9319
  command: function () {
9311
- rowData["index"] = key;
9312
- _this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: true };
9313
- _this.visible = true;
9320
+ if (_this.isAllowToEditHistorical) {
9321
+ rowData["index"] = key;
9322
+ _this.pixAccountItemInput = { currentItem: rowData, listData: _this.listDataNoPage, isEditMode: true };
9323
+ _this.visible = true;
9324
+ }
9325
+ else {
9326
+ return;
9327
+ }
9314
9328
  },
9315
9329
  },
9316
9330
  {
9331
+ isNotAllowMessage: _this.isNotAllowMessage(_this.isAllowToDeleteHistorical),
9317
9332
  visible: !_this.isEditMode,
9318
9333
  label: _this.translateService.instant("hcm.payroll.delete"),
9319
9334
  command: function () {
9320
- _this.loading = true;
9321
- _this.deleteAnnuityItem(key);
9335
+ if (_this.isAllowToDeleteHistorical) {
9336
+ _this.loading = true;
9337
+ _this.deleteAnnuityItem(key);
9338
+ }
9339
+ else {
9340
+ return;
9341
+ }
9322
9342
  },
9323
9343
  },
9324
9344
  ];
@@ -9384,6 +9404,15 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
9384
9404
  this.pixAccountItemInput = {};
9385
9405
  this.visible = true;
9386
9406
  };
9407
+ HistoricalPixAccountComponent.prototype.isNotAllowMessage = function (isAllowHistorical) {
9408
+ if (!isAllowHistorical) {
9409
+ this.messageService.add({
9410
+ severity: "error",
9411
+ summary: this.translateService.instant("hcm.payroll.error"),
9412
+ detail: this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
9413
+ });
9414
+ }
9415
+ };
9387
9416
  HistoricalPixAccountComponent.prototype.deleteAnnuityItem = function (index) {
9388
9417
  var newlist = __spread(this.getHistoricalPixAccountList());
9389
9418
  newlist.sort(compareValues(this.orderBy.field, this.orderBy.direction));
@@ -9529,10 +9558,39 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
9529
9558
  HistoricalPixAccountComponent.prototype.getFormattedPercentage = function (value) {
9530
9559
  return FormatUtilsService.getFormattedPercentage(value);
9531
9560
  };
9561
+ Object.defineProperty(HistoricalPixAccountComponent.prototype, "isAllowToAddHistorical", {
9562
+ get: function () {
9563
+ return (this.permission["incluir"]);
9564
+ },
9565
+ enumerable: true,
9566
+ configurable: true
9567
+ });
9568
+ Object.defineProperty(HistoricalPixAccountComponent.prototype, "isAllowToDeleteHistorical", {
9569
+ get: function () {
9570
+ return (this.permission["excluir"]);
9571
+ },
9572
+ enumerable: true,
9573
+ configurable: true
9574
+ });
9575
+ Object.defineProperty(HistoricalPixAccountComponent.prototype, "isAllowToEditHistorical", {
9576
+ get: function () {
9577
+ return (this.permission["editar"]);
9578
+ },
9579
+ enumerable: true,
9580
+ configurable: true
9581
+ });
9582
+ Object.defineProperty(HistoricalPixAccountComponent.prototype, "isAllowToViewHistorical", {
9583
+ get: function () {
9584
+ return (this.permission["visualizar"]);
9585
+ },
9586
+ enumerable: true,
9587
+ configurable: true
9588
+ });
9532
9589
  HistoricalPixAccountComponent.ctorParameters = function () { return [
9533
9590
  { type: TranslateService },
9534
9591
  { type: ChangeDetectorRef },
9535
- { type: FormBuilder }
9592
+ { type: FormBuilder },
9593
+ { type: MessageService }
9536
9594
  ]; };
9537
9595
  __decorate([
9538
9596
  ViewChild(CustomFieldsComponent$1, { static: false })
@@ -9579,6 +9637,12 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
9579
9637
  __decorate([
9580
9638
  Input()
9581
9639
  ], HistoricalPixAccountComponent.prototype, "paramsForm", void 0);
9640
+ __decorate([
9641
+ Input()
9642
+ ], HistoricalPixAccountComponent.prototype, "defaultCpfNumber", void 0);
9643
+ __decorate([
9644
+ Input()
9645
+ ], HistoricalPixAccountComponent.prototype, "permission", void 0);
9582
9646
  __decorate([
9583
9647
  Input()
9584
9648
  ], HistoricalPixAccountComponent.prototype, "dateChange", null);
@@ -9595,7 +9659,7 @@ var HistoricalPixAccountComponent = /** @class */ (function () {
9595
9659
  Component({
9596
9660
  // tslint:disable-next-line:component-selector
9597
9661
  selector: "c-historical-pix-account",
9598
- template: "<s-sidebar *ngIf=\"withSideBar\" [visible]=\"visible\" (visibleChange)=\"close()\"\n header=\"{{'hcm.payroll.historical_pix_account_title_form'|translate}}\">\n<pix-account [(visible)]=\"visible\"\n [isEditAndViewValue]=\"pixAccountItemInput\"\n [currency]=\"currency\"\n [customEntity]=\"customEntity\"\n [customService]=\"customService\"\n [getListPixAccount]=\"listDataNoPage\"\n [paramsForm]=\"paramsForm\"\n (pixAccountItemToList)=\"addItemInList($event)\"></pix-account>\n</s-sidebar>\n\n<div *ngIf=\"!withSideBar\">\n <pix-account [(visible)]=\"visible\"\n [isEditAndViewValue]=\"pixAccountItemInput\"\n [currency]=\"currency\"\n [customEntity]=\"customEntity\"\n [customService]=\"customService\"\n [getListPixAccount]=\"listDataNoPage\"\n [withSideBar]=\"false\"\n [isViewMode]=\"isViewMode\"\n [paramsForm]=\"paramsForm\"\n (pixAccountItemToList)=\"addItemInList($event)\"></pix-account>\n</div>\n\n<div class=\"ui-g-1\" *ngIf=\"withSideBar && !isEditMode\">\n <div class=\"form-group \">\n <s-button id=\"ta-addPayAnnuity\"\n [disabled]=\"getTooltipAndDisableButtonAdd || msgTotalLimitByPercentage\"\n (onClick)=\"add()\"\n [pTooltip]=\"getTooltipAndDisableButtonAdd || msgTotalLimitByPercentage\"\n tooltipPosition=\"top\"\n label=\"{{'hcm.payroll.historical_pix_account_add'|translate}}\"></s-button>\n </div>\n</div>\n<div class=\"ui-g-12\">\n <p-table\n id=\"table-annuity\"\n [value]=\"listData\"\n [columns]=\"cols\"\n (onLazyLoad)=\"onLazyLoad($event)\"\n [lazy]=\"true\"\n [scrollable]=\"true\"\n [paginator]=\"true\"\n [totalRecords]=\"totalRecords\"\n [sortMode]=\"'multiple'\"\n *sLoadingState=\"loading\"\n [rows]=\"recordByRow\"\n dataKey=\"id\">\n <ng-template pTemplate=\"colgroup\" let-coumns>\n <colgroup>\n <col [ngClass]=\"'col-default-m'\">\n <col [ngClass]=\"'col-default-m'\">\n <col [ngClass]=\"'col-default-s'\">\n <col [ngClass]=\"'col-action'\">\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <!-- Cabe\u00E7alhos quando da table \u00E9 permitido ordenar as colunas -->\n <tr>\n <!-- Cabe\u00E7alhos das colunas da tabela -->\n <th\n [pSortableColumn]=\"'pixKeyType'\"\n [pTooltip]=\"'hcm.payroll.employees_addition_pix_key_type' | translate\"\n tooltipPosition=\"top\"\n showDelay=\"500\"\n >\n <div class=\"senior-header\" id=\"table-0\">\n <span\n id=\"table-annuity-s-0\">{{ 'hcm.payroll.employees_addition_pix_key_type' | translate }}</span>\n <p-sortIcon class=\"p-sorticon-status\"\n [field]=\"'hcm.payroll.employees_addition_pix_key_type' | translate\"></p-sortIcon>\n </div>\n </th>\n\n <th\n [pSortableColumn]=\"'pixKey'\"\n [pTooltip]=\"'hcm.payroll.employees_addition_pix_key' | translate\"\n tooltipPosition=\"top\"\n showDelay=\"500\"\n >\n <div class=\"senior-header\">\n <span>{{ 'hcm.payroll.employees_addition_pix_key' | translate }}</span>\n <p-sortIcon class=\"p-sorticon-status\"\n [field]=\"'hcm.payroll.employees_addition_pix_key' | translate\"></p-sortIcon>\n </div>\n </th>\n\n <th\n [pSortableColumn]=\"'percentage'\"\n [pTooltip]=\"'hcm.payroll.historical_pix_account_label_percentage' | translate\"\n tooltipPosition=\"top\"\n showDelay=\"500\"\n >\n <div class=\"senior-header\">\n <span>{{ 'hcm.payroll.historical_pix_account_label_percentage' | translate }}</span>\n <p-sortIcon class=\"p-sorticon-status\"\n [field]=\"'hcm.payroll.historical_pix_account_label_percentage' | translate\"></p-sortIcon>\n </div>\n </th>\n <!-- Cabe\u00E7alho da coluna de a\u00E7\u00F5es -->\n <th id=\"col-actions\"></th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-key=\"rowIndex\">\n\n <tr [ngClass]=\"'row'+key\" [pSelectableRow]=\"rowData\">\n <td [pTooltip]=\"rowData?.pixKeyType.value\" tooltipPosition=\"top\"\n showDelay=\"500\">\n <span>{{ rowData?.pixKeyType.value }}</span>\n </td>\n\n <ng-container [ngSwitch]=\"rowData?.pixKeyType.key\">\n <td *ngSwitchCase=\"'TELEPHONE'\"\n [pTooltip]=\"getFormattedTelephoneNumber(rowData?.pixKey)\" tooltipPosition=\"top\"\n showDelay=\"500\">\n <span>{{ getFormattedTelephoneNumber(rowData?.pixKey) }}</span>\n </td>\n <td *ngSwitchCase=\"'CPF'\"\n [pTooltip]=\"getFormattedCpf(rowData?.pixKey)\" tooltipPosition=\"top\"\n showDelay=\"500\">\n <span>{{ getFormattedCpf(rowData?.pixKey) }}</span>\n </td>\n <td *ngSwitchCase=\"'CNPJ'\"\n [pTooltip]=\"getFormattedCnpj(rowData?.pixKey)\" tooltipPosition=\"top\"\n showDelay=\"500\">\n <span>{{ getFormattedCnpj(rowData?.pixKey) }}</span>\n </td>\n <td *ngSwitchDefault\n [pTooltip]=\"rowData?.pixKey\" tooltipPosition=\"top\"\n showDelay=\"500\">\n <span>{{ rowData?.pixKey }}</span>\n </td>\n </ng-container>\n <td [pTooltip]=\"getFormattedPercentage(rowData?.percentage)\" tooltipPosition=\"top\"\n showDelay=\"500\">\n <span>{{ getFormattedPercentage(rowData?.percentage) }}</span>\n </td>\n <td id=\"col-actions-{{key}}\" class=\"col-actions \"\n *ngIf=\"actions && actions(rowData, key)?.length\">\n <s-button id=\"table-admission-btn-actions-{{key}}\"\n *ngIf=\"actions(rowData, key).length > 1\" [label]=\"actionLabel\"\n priority=\"default\" [model]=\"scopedActions(rowData, key)\"\n [disabled]=\"false\" [auxiliary]=\"true\"></s-button>\n\n <s-button id=\"table-admission-btn-action-{{key}}\"\n *ngIf=\"actions(rowData, key).length <= 1\"\n [label]=\"scopedActions(rowData, key)[0].label\"\n priority=\"default\"\n (click)=\"scopedActions(rowData, key)[0].command()\"\n [disabled]=\"false\" [auxiliary]=\"true\"></s-button>\n </td>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"emptymessage\" let-columns>\n <tr>\n <td [attr.colspan]=\"columns.length +2\">\n {{'hcm.payroll.admission_empty_message'|translate}}\n </td>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"paginatorright\">\n <span *ngIf=\"totalRecords\">{{recordsMessage}}</span>\n </ng-template>\n </p-table>\n</div>\n",
9662
+ template: "<s-sidebar *ngIf=\"withSideBar\" [visible]=\"visible\" (visibleChange)=\"close()\"\n header=\"{{'hcm.payroll.historical_pix_account_title_form'|translate}}\">\n<pix-account [(visible)]=\"visible\"\n [isEditAndViewValue]=\"pixAccountItemInput\"\n [currency]=\"currency\"\n [customEntity]=\"customEntity\"\n [customService]=\"customService\"\n [getListPixAccount]=\"listDataNoPage\"\n [paramsForm]=\"paramsForm\"\n (pixAccountItemToList)=\"addItemInList($event)\"\n [defaultCpfNumber]=\"defaultCpfNumber\"></pix-account>\n</s-sidebar>\n\n<div *ngIf=\"!withSideBar\">\n <pix-account [(visible)]=\"visible\"\n [isEditAndViewValue]=\"pixAccountItemInput\"\n [currency]=\"currency\"\n [customEntity]=\"customEntity\"\n [customService]=\"customService\"\n [getListPixAccount]=\"listDataNoPage\"\n [withSideBar]=\"false\"\n [isViewMode]=\"isViewMode\"\n [paramsForm]=\"paramsForm\"\n (pixAccountItemToList)=\"addItemInList($event)\"\n [defaultCpfNumber]=\"defaultCpfNumber\"></pix-account>\n</div>\n\n<div class=\"ui-g-1\" *ngIf=\"withSideBar && !isEditMode\">\n <div class=\"form-group \">\n <s-button id=\"ta-addPayAnnuity\"\n [disabled]=\"getTooltipAndDisableButtonAdd || msgTotalLimitByPercentage\"\n (onClick)=\"add()\"\n [pTooltip]=\"getTooltipAndDisableButtonAdd || msgTotalLimitByPercentage\"\n tooltipPosition=\"top\"\n label=\"{{'hcm.payroll.historical_pix_account_add'|translate}}\"></s-button>\n </div>\n</div>\n<div class=\"ui-g-12\">\n <p-table\n id=\"table-annuity\"\n [value]=\"listData\"\n [columns]=\"cols\"\n (onLazyLoad)=\"onLazyLoad($event)\"\n [lazy]=\"true\"\n [scrollable]=\"true\"\n [paginator]=\"true\"\n [totalRecords]=\"totalRecords\"\n [sortMode]=\"'multiple'\"\n *sLoadingState=\"loading\"\n [rows]=\"recordByRow\"\n dataKey=\"id\">\n <ng-template pTemplate=\"colgroup\" let-coumns>\n <colgroup>\n <col [ngClass]=\"'col-default-m'\">\n <col [ngClass]=\"'col-default-m'\">\n <col [ngClass]=\"'col-default-s'\">\n <col [ngClass]=\"'col-action'\">\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <!-- Cabe\u00E7alhos quando da table \u00E9 permitido ordenar as colunas -->\n <tr>\n <!-- Cabe\u00E7alhos das colunas da tabela -->\n <th\n [pSortableColumn]=\"'pixKeyType'\"\n [pTooltip]=\"'hcm.payroll.employees_addition_pix_key_type' | translate\"\n tooltipPosition=\"top\"\n showDelay=\"500\"\n >\n <div class=\"senior-header\" id=\"table-0\">\n <span\n id=\"table-annuity-s-0\">{{ 'hcm.payroll.employees_addition_pix_key_type' | translate }}</span>\n <p-sortIcon class=\"p-sorticon-status\"\n [field]=\"'hcm.payroll.employees_addition_pix_key_type' | translate\"></p-sortIcon>\n </div>\n </th>\n\n <th\n [pSortableColumn]=\"'pixKey'\"\n [pTooltip]=\"'hcm.payroll.employees_addition_pix_key' | translate\"\n tooltipPosition=\"top\"\n showDelay=\"500\"\n >\n <div class=\"senior-header\">\n <span>{{ 'hcm.payroll.employees_addition_pix_key' | translate }}</span>\n <p-sortIcon class=\"p-sorticon-status\"\n [field]=\"'hcm.payroll.employees_addition_pix_key' | translate\"></p-sortIcon>\n </div>\n </th>\n\n <th\n [pSortableColumn]=\"'percentage'\"\n [pTooltip]=\"'hcm.payroll.historical_pix_account_label_percentage' | translate\"\n tooltipPosition=\"top\"\n showDelay=\"500\"\n >\n <div class=\"senior-header\">\n <span>{{ 'hcm.payroll.historical_pix_account_label_percentage' | translate }}</span>\n <p-sortIcon class=\"p-sorticon-status\"\n [field]=\"'hcm.payroll.historical_pix_account_label_percentage' | translate\"></p-sortIcon>\n </div>\n </th>\n <!-- Cabe\u00E7alho da coluna de a\u00E7\u00F5es -->\n <th id=\"col-actions\"></th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-key=\"rowIndex\">\n\n <tr [ngClass]=\"'row'+key\" [pSelectableRow]=\"rowData\">\n <td [pTooltip]=\"rowData?.pixKeyType.value\" tooltipPosition=\"top\"\n showDelay=\"500\">\n <span>{{ rowData?.pixKeyType.value }}</span>\n </td>\n\n <ng-container [ngSwitch]=\"rowData?.pixKeyType.key\">\n <td *ngSwitchCase=\"'TELEPHONE'\"\n [pTooltip]=\"getFormattedTelephoneNumber(rowData?.pixKey)\" tooltipPosition=\"top\"\n showDelay=\"500\">\n <span>{{ getFormattedTelephoneNumber(rowData?.pixKey) }}</span>\n </td>\n <td *ngSwitchCase=\"'CPF'\"\n [pTooltip]=\"getFormattedCpf(rowData?.pixKey)\" tooltipPosition=\"top\"\n showDelay=\"500\">\n <span>{{ getFormattedCpf(rowData?.pixKey) }}</span>\n </td>\n <td *ngSwitchCase=\"'CNPJ'\"\n [pTooltip]=\"getFormattedCnpj(rowData?.pixKey)\" tooltipPosition=\"top\"\n showDelay=\"500\">\n <span>{{ getFormattedCnpj(rowData?.pixKey) }}</span>\n </td>\n <td *ngSwitchDefault\n [pTooltip]=\"rowData?.pixKey\" tooltipPosition=\"top\"\n showDelay=\"500\">\n <span>{{ rowData?.pixKey }}</span>\n </td>\n </ng-container>\n <td [pTooltip]=\"getFormattedPercentage(rowData?.percentage)\" tooltipPosition=\"top\"\n showDelay=\"500\">\n <span>{{ getFormattedPercentage(rowData?.percentage) }}</span>\n </td>\n <td id=\"col-actions-{{key}}\" class=\"col-actions \"\n *ngIf=\"actions && actions(rowData, key)?.length\">\n <s-button id=\"table-admission-btn-actions-{{key}}\"\n *ngIf=\"actions(rowData, key).length > 1\" [label]=\"actionLabel\"\n priority=\"default\" [model]=\"scopedActions(rowData, key)\"\n [disabled]=\"false\" [auxiliary]=\"true\"></s-button>\n\n <s-button id=\"table-admission-btn-action-{{key}}\"\n *ngIf=\"actions(rowData, key).length <= 1\"\n [label]=\"scopedActions(rowData, key)[0].label\"\n priority=\"default\"\n (click)=\"scopedActions(rowData, key)[0].command()\"\n [disabled]=\"false\" [auxiliary]=\"true\"></s-button>\n </td>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"emptymessage\" let-columns>\n <tr>\n <td [attr.colspan]=\"columns.length +2\">\n {{'hcm.payroll.admission_empty_message'|translate}}\n </td>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"paginatorright\">\n <span *ngIf=\"totalRecords\">{{recordsMessage}}</span>\n </ng-template>\n </p-table>\n</div>\n",
9599
9663
  styles: [".refresh{width:100%!important}#table-annuity .col-default-s{width:10%}#table-annuity .col-default-m{width:12%}#table-annuity .col-default-l{width:16%}#table-annuity .col-action{width:10%}#table-annuity .icon-warning{text-align:center!important;color:#ff6d00c7!important}@media screen and (max-width:612px){#table-annuity .col-default-1,#table-annuity .col-default-2{width:16%}#table-annuity .col-default-3{width:26%}#table-annuity .col-icon{width:10%}#table-annuity .col-action{width:27%}}#main{display:-webkit-box;display:flex;height:100%;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}#main form{height:100%}#main .footer{border-top:1px solid #ccc;padding-top:15px;margin-top:15px;flex-shrink:0;margin-bottom:-18px}#main .footer-s-border{padding-left:7px;flex-shrink:0;margin-bottom:-18px}"]
9600
9664
  })
9601
9665
  ], HistoricalPixAccountComponent);
@@ -9775,6 +9839,7 @@ var HistoricalPixAccountFormComponent = /** @class */ (function () {
9775
9839
  this.withSideBar = true;
9776
9840
  this.isEditMode = false;
9777
9841
  this.paramsForm = new FormGroup({});
9842
+ this.defaultCpfNumber = null;
9778
9843
  this.visibleChange = new EventEmitter();
9779
9844
  this.pixAccountItemToList = new EventEmitter();
9780
9845
  this.ngUnsubscribe = new Subject();
@@ -9809,6 +9874,7 @@ var HistoricalPixAccountFormComponent = /** @class */ (function () {
9809
9874
  percentage: this.formBuilder.control(null, Validators.compose(__spread(this.initialValidatorOfPercentage, [
9810
9875
  Validators.max(this.maxValuePercentage),
9811
9876
  ]))),
9877
+ externalId: this.formBuilder.control(null),
9812
9878
  customFields: this.formBuilder.control(null),
9813
9879
  });
9814
9880
  };
@@ -9817,7 +9883,7 @@ var HistoricalPixAccountFormComponent = /** @class */ (function () {
9817
9883
  this.pixKeyType = item.key;
9818
9884
  this.isShowPixKeyFieldValidatorMessage = true;
9819
9885
  this.pixAccountFormGroup.get("pixKey").reset();
9820
- this.setPixKeyValidators();
9886
+ this.setPixKeyValidators(true);
9821
9887
  if (item.key === "CPF") {
9822
9888
  this.setDefaultCpfPixKey();
9823
9889
  }
@@ -9845,10 +9911,16 @@ var HistoricalPixAccountFormComponent = /** @class */ (function () {
9845
9911
  if (value && value.currentItem && Object.keys(value.currentItem).length) {
9846
9912
  this.pixAccountFormGroup.patchValue(this.convertDTOToShowWithCustomFields(__assign({}, value.currentItem)));
9847
9913
  this.labelBtnAdd = "hcm.payroll.employees_update";
9848
- this.setValidatorsAccordingList(value.listData, value.currentItem["index"]);
9914
+ this.setValidatorsAccordingList(value.listData, value.currentItem["index"], value && value["isEditMode"]);
9849
9915
  if (!this.isView) {
9850
9916
  this.configEnableFields(value && value["isEditMode"]);
9851
9917
  }
9918
+ else {
9919
+ if (this.pixAccountFormGroup.get("pixKeyType").value) {
9920
+ this.pixKeyType = this.pixAccountFormGroup.get("pixKeyType").value.key;
9921
+ this.formatPixKeyTelephoneNumber();
9922
+ }
9923
+ }
9852
9924
  }
9853
9925
  else {
9854
9926
  this.labelBtnAdd = "hcm.payroll.employees_add";
@@ -9857,6 +9929,11 @@ var HistoricalPixAccountFormComponent = /** @class */ (function () {
9857
9929
  enumerable: true,
9858
9930
  configurable: true
9859
9931
  });
9932
+ HistoricalPixAccountFormComponent.prototype.formatPixKeyTelephoneNumber = function () {
9933
+ if (this.pixKeyType === "TELEPHONE") {
9934
+ this.pixAccountFormGroup.get("pixKey").setValue(FormatUtilsService.getFormattedTelephoneNumber(this.pixAccountFormGroup.get("pixKey").value));
9935
+ }
9936
+ };
9860
9937
  HistoricalPixAccountFormComponent.prototype.convertDTOToShowWithCustomFields = function (data) {
9861
9938
  var obj = __assign({}, data);
9862
9939
  obj["customFields"] = mountCustomToShow(obj["customFields"]);
@@ -9866,10 +9943,8 @@ var HistoricalPixAccountFormComponent = /** @class */ (function () {
9866
9943
  this.visibleBtnSave = isEditMode;
9867
9944
  if (this.pixAccountFormGroup.get("pixKeyType").value) {
9868
9945
  this.pixKeyType = this.pixAccountFormGroup.get("pixKeyType").value.key;
9869
- this.setPixKeyValidators();
9870
- if (this.pixKeyType === "TELEPHONE") {
9871
- this.pixAccountFormGroup.get("pixKey").setValue(FormatUtilsService.getFormattedTelephoneNumber(this.pixAccountFormGroup.get("pixKey").value));
9872
- }
9946
+ this.setPixKeyValidators(isEditMode);
9947
+ this.formatPixKeyTelephoneNumber();
9873
9948
  }
9874
9949
  configEnabledFields(this.pixAccountFormGroup, isEditMode, [
9875
9950
  "pixKeyType",
@@ -9931,7 +10006,7 @@ var HistoricalPixAccountFormComponent = /** @class */ (function () {
9931
10006
  */
9932
10007
  set: function (pixAccountList) {
9933
10008
  if (pixAccountList) {
9934
- this.setValidatorsAccordingList(pixAccountList);
10009
+ this.setValidatorsAccordingList(pixAccountList, null, false);
9935
10010
  }
9936
10011
  else {
9937
10012
  this.resetForm();
@@ -9948,8 +10023,9 @@ var HistoricalPixAccountFormComponent = /** @class */ (function () {
9948
10023
  * @param pixAccountList
9949
10024
  * @param index
9950
10025
  */
9951
- HistoricalPixAccountFormComponent.prototype.setValidatorsAccordingList = function (pixAccountList, index) {
10026
+ HistoricalPixAccountFormComponent.prototype.setValidatorsAccordingList = function (pixAccountList, index, isEditMode) {
9952
10027
  if (index === void 0) { index = null; }
10028
+ if (isEditMode === void 0) { isEditMode = true; }
9953
10029
  this.pixAccountList = pixAccountList && pixAccountList.length ? __spread(pixAccountList) : [];
9954
10030
  var percentageIncluded = [];
9955
10031
  if (this.pixAccountList && this.pixAccountList.length) {
@@ -9960,13 +10036,13 @@ var HistoricalPixAccountFormComponent = /** @class */ (function () {
9960
10036
  });
9961
10037
  }
9962
10038
  this.beforeSetPixKeyTypeValidator();
9963
- this.setPixKeyValidators();
10039
+ this.setPixKeyValidators(isEditMode);
9964
10040
  this.validatePercentageValid(percentageIncluded);
9965
10041
  };
9966
10042
  /**
9967
10043
  * Antes de setar o validator prepara as variáveis necessária para que seja feita a validação do campo.
9968
10044
  */
9969
- HistoricalPixAccountFormComponent.prototype.setPixKeyValidators = function () {
10045
+ HistoricalPixAccountFormComponent.prototype.setPixKeyValidators = function (isEditMode) {
9970
10046
  var genericPixKey = this.pixAccountFormGroup.get("pixKey");
9971
10047
  if (this.pixKeyType) {
9972
10048
  switch (this.pixKeyType) {
@@ -9997,7 +10073,9 @@ var HistoricalPixAccountFormComponent = /** @class */ (function () {
9997
10073
  genericPixKey.setValidators(null);
9998
10074
  break;
9999
10075
  }
10000
- genericPixKey.enable();
10076
+ if (isEditMode) {
10077
+ genericPixKey.enable();
10078
+ }
10001
10079
  genericPixKey.updateValueAndValidity();
10002
10080
  }
10003
10081
  };
@@ -10030,11 +10108,16 @@ var HistoricalPixAccountFormComponent = /** @class */ (function () {
10030
10108
  FormatUtilsService.formatTelephoneInputEvent(event);
10031
10109
  };
10032
10110
  HistoricalPixAccountFormComponent.prototype.setDefaultCpfPixKey = function () {
10033
- var sheetDocument = this.paramsForm.get("sheetDocument");
10034
- if (sheetDocument) {
10035
- var cpf = sheetDocument.get("cpfNumber").value;
10036
- if (cpf) {
10037
- this.pixAccountFormGroup.get("pixKey").setValue(cpf);
10111
+ if (this.defaultCpfNumber) {
10112
+ this.pixAccountFormGroup.get("pixKey").setValue(this.defaultCpfNumber);
10113
+ }
10114
+ else {
10115
+ var sheetDocument = this.paramsForm.get("sheetDocument");
10116
+ if (sheetDocument) {
10117
+ var cpf = sheetDocument.get("cpfNumber").value;
10118
+ if (cpf) {
10119
+ this.pixAccountFormGroup.get("pixKey").setValue(cpf);
10120
+ }
10038
10121
  }
10039
10122
  }
10040
10123
  };
@@ -10095,6 +10178,9 @@ var HistoricalPixAccountFormComponent = /** @class */ (function () {
10095
10178
  __decorate([
10096
10179
  Input()
10097
10180
  ], HistoricalPixAccountFormComponent.prototype, "paramsForm", void 0);
10181
+ __decorate([
10182
+ Input()
10183
+ ], HistoricalPixAccountFormComponent.prototype, "defaultCpfNumber", void 0);
10098
10184
  __decorate([
10099
10185
  Output()
10100
10186
  ], HistoricalPixAccountFormComponent.prototype, "visibleChange", void 0);
@@ -10116,7 +10202,7 @@ var HistoricalPixAccountFormComponent = /** @class */ (function () {
10116
10202
  HistoricalPixAccountFormComponent = __decorate([
10117
10203
  Component({
10118
10204
  selector: "pix-account",
10119
- template: "<div id=\"main\">\n <form [formGroup]=\"pixAccountFormGroup\" autocomplete=\"off\">\n <div class=\"ui-fluid\">\n <div class=\"ui-g\">\n <!-- Tipo de chave -->\n <div class=\"ui-md-6 ui-sm-12 required\">\n <label>{{'hcm.payroll.employees_addition_pix_key_type'|translate}}</label>\n <input-rest-auto-complete-enum [dropdown]=\"true\" server=\"payroll\"\n enumeration=\"PixKeyType\"\n placeholder=\"{{'hcm.payroll.select' | translate}}\"\n name=\"pixKeyType\" [form]=\"pixAccountFormGroup\"\n (onSelect)=\"onChangePixKeyType($event)\"\n (onClear)=\"onClearPixKeyType()\"\n id=\"ta-pixKeyType\"></input-rest-auto-complete-enum>\n <s-control-errors [control]=\"pixAccountFormGroup.get('pixKeyType')\"\n [errorMessages]=\"{\n required: 'hcm.payroll.required' | translate,\n pixKeyTypeBankAccountDuplicate: 'hcm.payroll.historical_pix_key_type_bank_account_duplicate' | translate\n }\">\n </s-control-errors>\n </div>\n <!--Chave Pix-->\n <div class=\"ui-md-6 ui-sm-12\" [ngClass]=\"{'required': pixKeyType !== 'BANK_ACCOUNT'}\">\n <label>{{'hcm.payroll.employees_addition_pix_key' | translate}}</label>\n <ng-container [ngSwitch]=\"pixKeyType\">\n <input *ngSwitchCase=\"'TELEPHONE'\" only-number\n pInputText id=\"ta-pixKey\" name=\"pixKey\" formControlName=\"pixKey\"\n (keyup)=\"phoneMask($event)\" maxlength=\"15\"\n placeholder=\"(__) ____-____\">\n <p-inputMask *ngSwitchCase=\"'CPF'\"\n id=\"ta-pixKey\" name=\"pixKey\" formControlName=\"pixKey\"\n placeholder=\"___.___.___-__\"\n mask=\"999.999.999-99\" [unmask]=\"true\"></p-inputMask>\n <p-inputMask *ngSwitchCase=\"'CNPJ'\"\n id=\"ta-pixKey\" name=\"pixKey\" formControlName=\"pixKey\"\n placeholder=\"__.___.___/____-__\"\n mask=\"99.999.999/9999-99\" [unmask]=\"true\"></p-inputMask>\n <input *ngSwitchCase=\"'EMAIL'\"\n pInputText id=\"ta-pixKey\" name=\"pixKey\" formControlName=\"pixKey\"\n placeholder=\"{{'hcm.payroll.employees_addition_email'|translate}}\"/>\n <input *ngSwitchCase=\"'BANK_ACCOUNT'\" disabled\n pInputText id=\"ta-pixKey\" name=\"pixKey\" formControlName=\"pixKey\"/>\n <input *ngSwitchDefault\n pInputText id=\"ta-pixKey\" name=\"pixKey\" formControlName=\"pixKey\"/>\n </ng-container>\n <s-control-errors *ngIf=\"isShowPixKeyFieldValidatorMessage\" id=\"er-pix-key\"\n [control]=\"pixAccountFormGroup.get('pixKey')\"\n [errorMessages]=\"{\n required: 'hcm.payroll.required' | translate,\n invalidPhoneNumber: 'hcm.payroll.employees_addition_invalid_phone_number' | translate: { value: pixAccountFormGroup.get('pixKey').value },\n invalidEmail: 'hcm.payroll.employees_addition_email_invalid' | translate,\n cpfNotValid: 'hcm.payroll.employees_addition_cpf_error' | translate,\n cnpjNotValid: 'hcm.payroll.employees_addition_cnpj_error' | translate\n }\">\n </s-control-errors>\n </div>\n <!--Percentual-->\n <div class=\"ui-md-6 ui-sm-12 required\">\n <label id=\"lb-percentage\"\n for=\"ff-percentage\">{{ 'hcm.payroll.historical_bank_account_label_percentage' | translate }}</label>\n <div class=\"ui-inputgroup\">\n <span class=\"ui-inputgroup-addon\">%</span>\n <input pInputText id=\"ff-percentage\" name=\"percentage\"\n formControlName=\"percentage\"\n currencyMask\n [options]=\"optionsPercentage\"\n [placeholder]=\"percentagePlaceholder\"/>\n </div>\n <s-control-errors [control]=\"pixAccountFormGroup.get('percentage')\"\n [errorMessages]=\"{\n required: 'hcm.payroll.required' | translate,\n maxlength: 'hcm.payroll.error_max_length' | translate: { value: '6' },\n max: 'hcm.payroll.error_max_value_number' | translate: { value: maxValuePercentage },\n min: 'hcm.payroll.error_min_value_number' | translate: { value: '0,01' }\n }\">\n </s-control-errors>\n </div>\n <div class=\"ui-g-12\">\n <p-fieldset\n legend=\"{{ 'hcm.payroll.custom_fields' | translate }}\"\n [attr.data-hidden]=\"!customFields || !customFields.fields.length\"\n >\n <s-custom-fields\n domain=\"hcm\"\n service=\"{{customService}}\"\n entity=\"{{customEntity}}\"\n formControlName=\"customFields\"\n [invalidErrorLabel]=\"'hcm.payroll.employees_invalid_field' | translate\"\n >\n </s-custom-fields>\n </p-fieldset>\n </div>\n </div>\n </div>\n </form>\n\n <div [ngClass]=\"withSideBar ? 'footer' : 'footer-s-border'\">\n <div class=\"form-group\">\n <s-button id=\"btn-save\" label=\"{{ labelBtnAdd | translate}}\" priority=\"primary\"\n (onClick)=\"addItem()\" *ngIf=\"visibleBtnSave && !this.isView\"></s-button>\n <s-button *ngIf=\"withSideBar\" id=\"btn-close\" label=\"{{'hcm.payroll.cancel'|translate}}\" priority=\"secondary\"\n priority=\"link\" (onClick)=\"close()\"></s-button>\n </div>\n </div>\n</div>\n",
10205
+ template: "<div id=\"main\">\n <form [formGroup]=\"pixAccountFormGroup\" autocomplete=\"off\">\n <div class=\"ui-fluid\">\n <div class=\"ui-g\">\n <!-- Tipo de chave -->\n <div class=\"ui-md-6 ui-sm-12 required\">\n <label>{{'hcm.payroll.employees_addition_pix_key_type'|translate}}</label>\n <input-rest-auto-complete-enum [dropdown]=\"true\" server=\"payroll\"\n enumeration=\"PixKeyType\"\n placeholder=\"{{'hcm.payroll.select' | translate}}\"\n name=\"pixKeyType\" [form]=\"pixAccountFormGroup\"\n (onSelect)=\"onChangePixKeyType($event)\"\n (onClear)=\"onClearPixKeyType()\"\n id=\"ta-pixKeyType\"></input-rest-auto-complete-enum>\n <s-control-errors [control]=\"pixAccountFormGroup.get('pixKeyType')\"\n [errorMessages]=\"{\n required: 'hcm.payroll.required' | translate,\n pixKeyTypeBankAccountDuplicate: 'hcm.payroll.historical_pix_key_type_bank_account_duplicate' | translate\n }\">\n </s-control-errors>\n </div>\n <!--Chave Pix-->\n <div class=\"ui-md-6 ui-sm-12\" [ngClass]=\"{'required': pixKeyType !== 'BANK_ACCOUNT'}\">\n <label>{{'hcm.payroll.employees_addition_pix_key' | translate}}</label>\n <ng-container [ngSwitch]=\"pixKeyType\">\n <input *ngSwitchCase=\"'TELEPHONE'\" only-number\n pInputText id=\"ta-pixKey\" name=\"pixKey\" formControlName=\"pixKey\"\n (keyup)=\"phoneMask($event)\" maxlength=\"15\"\n placeholder=\"(__) ____-____\">\n <p-inputMask *ngSwitchCase=\"'CPF'\"\n id=\"ta-pixKey\" name=\"pixKey\" formControlName=\"pixKey\"\n placeholder=\"___.___.___-__\"\n mask=\"999.999.999-99\" [unmask]=\"true\"></p-inputMask>\n <p-inputMask *ngSwitchCase=\"'CNPJ'\"\n id=\"ta-pixKey\" name=\"pixKey\" formControlName=\"pixKey\"\n placeholder=\"__.___.___/____-__\"\n mask=\"99.999.999/9999-99\" [unmask]=\"true\"></p-inputMask>\n <input *ngSwitchCase=\"'EMAIL'\"\n pInputText id=\"ta-pixKey\" name=\"pixKey\" formControlName=\"pixKey\"\n placeholder=\"{{'hcm.payroll.employees_addition_email'|translate}}\"/>\n <input *ngSwitchCase=\"'BANK_ACCOUNT'\" disabled\n pInputText id=\"ta-pixKey\" name=\"pixKey\" formControlName=\"pixKey\"/>\n <input *ngSwitchDefault\n pInputText id=\"ta-pixKey\" name=\"pixKey\" formControlName=\"pixKey\" maxlength=\"100\" />\n </ng-container>\n <s-control-errors *ngIf=\"isShowPixKeyFieldValidatorMessage\" id=\"er-pix-key\"\n [control]=\"pixAccountFormGroup.get('pixKey')\"\n [errorMessages]=\"{\n required: 'hcm.payroll.required' | translate,\n invalidPhoneNumber: 'hcm.payroll.employees_addition_invalid_phone_number' | translate: { value: pixAccountFormGroup.get('pixKey').value },\n invalidEmail: 'hcm.payroll.employees_addition_email_invalid' | translate,\n cpfNotValid: 'hcm.payroll.employees_addition_cpf_error' | translate,\n cnpjNotValid: 'hcm.payroll.employees_addition_cnpj_error' | translate\n }\">\n </s-control-errors>\n </div>\n <!--Percentual-->\n <div class=\"ui-md-6 ui-sm-12 required\">\n <label id=\"lb-percentage\"\n for=\"ff-percentage\">{{ 'hcm.payroll.historical_bank_account_label_percentage' | translate }}</label>\n <div class=\"ui-inputgroup\">\n <span class=\"ui-inputgroup-addon\">%</span>\n <input pInputText id=\"ff-percentage\" name=\"percentage\"\n formControlName=\"percentage\"\n currencyMask\n [options]=\"optionsPercentage\"\n [placeholder]=\"percentagePlaceholder\"/>\n </div>\n <s-control-errors [control]=\"pixAccountFormGroup.get('percentage')\"\n [errorMessages]=\"{\n required: 'hcm.payroll.required' | translate,\n maxlength: 'hcm.payroll.error_max_length' | translate: { value: '6' },\n max: 'hcm.payroll.error_max_value_number' | translate: { value: maxValuePercentage },\n min: 'hcm.payroll.error_min_value_number' | translate: { value: '0,01' }\n }\">\n </s-control-errors>\n </div>\n <div class=\"ui-g-12\">\n <p-fieldset\n legend=\"{{ 'hcm.payroll.custom_fields' | translate }}\"\n [attr.data-hidden]=\"!customFields || !customFields.fields.length\"\n >\n <s-custom-fields\n domain=\"hcm\"\n service=\"{{customService}}\"\n entity=\"{{customEntity}}\"\n formControlName=\"customFields\"\n [invalidErrorLabel]=\"'hcm.payroll.employees_invalid_field' | translate\"\n >\n </s-custom-fields>\n </p-fieldset>\n </div>\n </div>\n </div>\n </form>\n\n <div [ngClass]=\"withSideBar ? 'footer' : 'footer-s-border'\">\n <div class=\"form-group\">\n <s-button id=\"btn-save\" label=\"{{ labelBtnAdd | translate}}\" priority=\"primary\"\n (onClick)=\"addItem()\" *ngIf=\"visibleBtnSave && !this.isView\"></s-button>\n <s-button *ngIf=\"withSideBar\" id=\"btn-close\" label=\"{{'hcm.payroll.cancel'|translate}}\" priority=\"secondary\"\n priority=\"link\" (onClick)=\"close()\"></s-button>\n </div>\n </div>\n</div>\n",
10120
10206
  styles: [".refresh{width:100%!important}#table-annuity .col-default-s{width:10%}#table-annuity .col-default-m{width:12%}#table-annuity .col-default-l{width:16%}#table-annuity .col-action{width:10%}#table-annuity .icon-warning{text-align:center!important;color:#ff6d00c7!important}@media screen and (max-width:612px){#table-annuity .col-default-1,#table-annuity .col-default-2{width:16%}#table-annuity .col-default-3{width:26%}#table-annuity .col-icon{width:10%}#table-annuity .col-action{width:27%}}#main{display:-webkit-box;display:flex;height:100%;width:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}#main form{height:100%}#main .footer{border-top:1px solid #ccc;padding-top:15px;margin-top:15px;flex-shrink:0;margin-bottom:-18px}#main .footer-s-border{padding-left:7px;flex-shrink:0;margin-bottom:-18px}"]
10121
10207
  })
10122
10208
  ], HistoricalPixAccountFormComponent);
@@ -10177,6 +10263,324 @@ var HistoricalPixAccountModule = /** @class */ (function () {
10177
10263
  return HistoricalPixAccountModule;
10178
10264
  }());
10179
10265
 
10266
+ var HistoricalPixAccountListService = /** @class */ (function () {
10267
+ function HistoricalPixAccountListService(http, httpClient) {
10268
+ this.http = http;
10269
+ this.httpClient = httpClient;
10270
+ }
10271
+ HistoricalPixAccountListService.prototype.remove = function (id, dateWhen, service, dependentId) {
10272
+ if (service === void 0) { service = ServiceType.PAYROLL; }
10273
+ if (service === ServiceType.DEPENDENT) {
10274
+ return this.httpClient
10275
+ .post("hcm/dependent/queries/historicalDependentJudicialPensionPixDelete", {
10276
+ dependentId: dependentId,
10277
+ dateWhen: dateWhen,
10278
+ });
10279
+ }
10280
+ else {
10281
+ return this.http.post("actions/historicalEmployeePixDelete", {
10282
+ employeeId: id,
10283
+ dateWhen: dateWhen
10284
+ });
10285
+ }
10286
+ };
10287
+ HistoricalPixAccountListService.ctorParameters = function () { return [
10288
+ { type: HttpClientService },
10289
+ { type: HttpClient }
10290
+ ]; };
10291
+ HistoricalPixAccountListService = __decorate([
10292
+ Injectable()
10293
+ ], HistoricalPixAccountListService);
10294
+ return HistoricalPixAccountListService;
10295
+ }());
10296
+
10297
+ var moment$e = moment_;
10298
+ var HistoricalPixAccountListComponent = /** @class */ (function () {
10299
+ function HistoricalPixAccountListComponent(confirmationService, translateService, activatedRoute, cd, router, messageService, historicalPixAccountListService) {
10300
+ this.confirmationService = confirmationService;
10301
+ this.translateService = translateService;
10302
+ this.activatedRoute = activatedRoute;
10303
+ this.cd = cd;
10304
+ this.router = router;
10305
+ this.messageService = messageService;
10306
+ this.historicalPixAccountListService = historicalPixAccountListService;
10307
+ this.endPoint = "hcm/payroll/queries/historicalEmployeePixQuery";
10308
+ this.keyPayload = "historicalEmployeePix";
10309
+ this.withSidebar = true;
10310
+ this.enableView = new EventEmitter();
10311
+ this.ngUnsubscribe = new Subject();
10312
+ this.loading = true;
10313
+ this.columns = [
10314
+ {
10315
+ label: this.translateService.instant("hcm.payroll.historical_pix_account_label_date_change"),
10316
+ field: "dateChange",
10317
+ },
10318
+ {
10319
+ label: this.translateService.instant("hcm.payroll.historical_pix_account_label_pix_key_type"),
10320
+ field: "pixKeyType.value",
10321
+ },
10322
+ {
10323
+ label: this.translateService.instant("hcm.payroll.historical_pix_account_label_pix_key"),
10324
+ field: "pixKey",
10325
+ },
10326
+ {
10327
+ label: this.translateService.instant("hcm.payroll.historical_pix_account_label_percentage"),
10328
+ field: "percentage",
10329
+ },
10330
+ {
10331
+ label: this.translateService.instant("hcm.payroll.employees_movimentation_historical_pix_account_label_qtd_account"),
10332
+ field: "numberOfPixAccount",
10333
+ },
10334
+ ];
10335
+ }
10336
+ HistoricalPixAccountListComponent.prototype.ngOnInit = function () {
10337
+ this.initParameters = { employeeId: this.employeeId, dependentId: this.dependentId };
10338
+ };
10339
+ HistoricalPixAccountListComponent.prototype.ngOnDestroy = function () {
10340
+ this.ngUnsubscribe.next();
10341
+ this.ngUnsubscribe.complete();
10342
+ };
10343
+ HistoricalPixAccountListComponent.prototype.ngAfterViewInit = function () {
10344
+ this.cd.detectChanges();
10345
+ };
10346
+ HistoricalPixAccountListComponent.prototype.onLazyLoad = function (payload) {
10347
+ var _this = this;
10348
+ payload.forEach(function (value) {
10349
+ value.dateChange = moment$e(value.dateChange).format(_this.dateFormat);
10350
+ value.pixKey = _this.formatPixKeyByType(value.pixKeyType, value.pixKey);
10351
+ value.percentage = FormatUtilsService.getFormattedPercentage(value.percentage);
10352
+ });
10353
+ this.onGridLoad(payload);
10354
+ this.loading = false;
10355
+ };
10356
+ HistoricalPixAccountListComponent.prototype.formatPixKeyByType = function (pixKeyType, pixKey) {
10357
+ var keyType = pixKeyType ? pixKeyType.key.toUpperCase() : "";
10358
+ if (keyType === "TELEPHONE") {
10359
+ return FormatUtilsService.getFormattedTelephoneNumber(pixKey);
10360
+ }
10361
+ else if (keyType === "CPF") {
10362
+ return FormatUtilsService.getFormattedCpf(pixKey);
10363
+ }
10364
+ else if (keyType === "CNPJ") {
10365
+ return FormatUtilsService.getFormattedCnpj(pixKey);
10366
+ }
10367
+ else {
10368
+ return pixKey;
10369
+ }
10370
+ };
10371
+ HistoricalPixAccountListComponent.prototype.getMenuActions = function (rowData) {
10372
+ var _this = this;
10373
+ return [
10374
+ {
10375
+ label: this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
10376
+ command: function () {
10377
+ if (_this.isAllowToViewHistorical) {
10378
+ var dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, _this.dateFormat).format("YYYY-MM-DD");
10379
+ if (_this.withSidebar)
10380
+ _this.router.navigate(["historical-pix-account/" + dateChange], {
10381
+ relativeTo: _this.activatedRoute,
10382
+ });
10383
+ else
10384
+ _this.enableView.emit(dateChange);
10385
+ }
10386
+ else {
10387
+ _this.messageService.add({
10388
+ severity: "error",
10389
+ summary: _this.translateService.instant("hcm.payroll.error"),
10390
+ detail: _this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
10391
+ });
10392
+ }
10393
+ },
10394
+ },
10395
+ {
10396
+ label: this.translateService.instant("hcm.payroll.delete"),
10397
+ command: function () {
10398
+ if (_this.isAllowToDeleteHistorical && rowData) {
10399
+ _this.delete(rowData.id, rowData.dateChange);
10400
+ }
10401
+ else {
10402
+ _this.messageService.add({
10403
+ severity: "error",
10404
+ summary: _this.translateService.instant("hcm.payroll.error"),
10405
+ detail: _this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
10406
+ });
10407
+ }
10408
+ },
10409
+ },
10410
+ ];
10411
+ };
10412
+ HistoricalPixAccountListComponent.prototype.delete = function (id, dateChange) {
10413
+ var _this = this;
10414
+ if (id === this.lastRecord.id) {
10415
+ var dateChangeToDto_1 = moment$e(dateChange, this.dateFormat).format("YYYY-MM-DD");
10416
+ this.confirmationService.confirm({
10417
+ message: this.translateService.instant("hcm.payroll.employees_movimentation_historical_pix_account_question_confirm_delete") + "?",
10418
+ accept: function () {
10419
+ _this.loading = true;
10420
+ var service = _this.withSidebar ? ServiceType.PAYROLL : ServiceType.DEPENDENT;
10421
+ _this.historicalPixAccountListService
10422
+ .remove(_this.employeeId, dateChangeToDto_1, service, _this.dependentId)
10423
+ .pipe(takeUntil(_this.ngUnsubscribe))
10424
+ .subscribe(function () {
10425
+ _this.messageService.add({
10426
+ severity: "success",
10427
+ summary: _this.translateService.instant("hcm.payroll.success"),
10428
+ detail: _this.translateService.instant("hcm.payroll.employees_movimentation_historical_pix_account_remove"),
10429
+ });
10430
+ _this.parameters = (_this.parameters && __assign({}, _this.parameters)) || {};
10431
+ }, function () {
10432
+ _this.messageService.add({
10433
+ severity: "error",
10434
+ summary: _this.translateService.instant("hcm.payroll.error"),
10435
+ detail: _this.translateService.instant("hcm.payroll.employees_movimentation_historical_pix_account_error_remove"),
10436
+ });
10437
+ _this.loading = false;
10438
+ });
10439
+ },
10440
+ });
10441
+ }
10442
+ else {
10443
+ this.messageService.add({
10444
+ severity: "error",
10445
+ summary: this.translateService.instant("hcm.payroll.error"),
10446
+ detail: this.translateService.instant("hcm.payroll.not_allowed_delete_last"),
10447
+ });
10448
+ }
10449
+ };
10450
+ HistoricalPixAccountListComponent.prototype.add = function () {
10451
+ if (this.isAllowToAddHistorical) {
10452
+ this.router.navigate(["historical-pix-account-new"], {
10453
+ relativeTo: this.activatedRoute,
10454
+ });
10455
+ }
10456
+ else {
10457
+ this.messageService.add({
10458
+ severity: "error",
10459
+ summary: this.translateService.instant("hcm.payroll.error"),
10460
+ detail: this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
10461
+ });
10462
+ }
10463
+ };
10464
+ HistoricalPixAccountListComponent.prototype.onGridLoad = function (payload) {
10465
+ if (payload && payload.length) {
10466
+ this.lastRecord = payload[0];
10467
+ }
10468
+ };
10469
+ Object.defineProperty(HistoricalPixAccountListComponent.prototype, "isAllowToAddHistorical", {
10470
+ get: function () {
10471
+ return (this.permission["incluir"]);
10472
+ },
10473
+ enumerable: true,
10474
+ configurable: true
10475
+ });
10476
+ Object.defineProperty(HistoricalPixAccountListComponent.prototype, "isAllowToDeleteHistorical", {
10477
+ get: function () {
10478
+ return (this.permission["excluir"]);
10479
+ },
10480
+ enumerable: true,
10481
+ configurable: true
10482
+ });
10483
+ Object.defineProperty(HistoricalPixAccountListComponent.prototype, "isAllowToViewHistorical", {
10484
+ get: function () {
10485
+ return (this.permission["visualizar"]);
10486
+ },
10487
+ enumerable: true,
10488
+ configurable: true
10489
+ });
10490
+ Object.defineProperty(HistoricalPixAccountListComponent.prototype, "scopedActions", {
10491
+ get: function () {
10492
+ return this.getMenuActions.bind(this);
10493
+ },
10494
+ enumerable: true,
10495
+ configurable: true
10496
+ });
10497
+ Object.defineProperty(HistoricalPixAccountListComponent.prototype, "reloadList", {
10498
+ set: function (condition) {
10499
+ if (condition) {
10500
+ this.loading = true;
10501
+ this.parameters = (this.parameters && __assign({}, this.parameters)) || {};
10502
+ }
10503
+ },
10504
+ enumerable: true,
10505
+ configurable: true
10506
+ });
10507
+ HistoricalPixAccountListComponent.ctorParameters = function () { return [
10508
+ { type: ConfirmationService },
10509
+ { type: TranslateService },
10510
+ { type: ActivatedRoute },
10511
+ { type: ChangeDetectorRef },
10512
+ { type: Router },
10513
+ { type: MessageService },
10514
+ { type: HistoricalPixAccountListService }
10515
+ ]; };
10516
+ __decorate([
10517
+ ViewChild(CustomFieldsComponent$1, { static: false })
10518
+ ], HistoricalPixAccountListComponent.prototype, "customFields", void 0);
10519
+ __decorate([
10520
+ Input()
10521
+ ], HistoricalPixAccountListComponent.prototype, "permission", void 0);
10522
+ __decorate([
10523
+ Input()
10524
+ ], HistoricalPixAccountListComponent.prototype, "employeeId", void 0);
10525
+ __decorate([
10526
+ Input()
10527
+ ], HistoricalPixAccountListComponent.prototype, "dependentId", void 0);
10528
+ __decorate([
10529
+ Input()
10530
+ ], HistoricalPixAccountListComponent.prototype, "dateFormat", void 0);
10531
+ __decorate([
10532
+ Input()
10533
+ ], HistoricalPixAccountListComponent.prototype, "endPoint", void 0);
10534
+ __decorate([
10535
+ Input()
10536
+ ], HistoricalPixAccountListComponent.prototype, "keyPayload", void 0);
10537
+ __decorate([
10538
+ Input()
10539
+ ], HistoricalPixAccountListComponent.prototype, "withSidebar", void 0);
10540
+ __decorate([
10541
+ Output()
10542
+ ], HistoricalPixAccountListComponent.prototype, "enableView", void 0);
10543
+ __decorate([
10544
+ Input()
10545
+ ], HistoricalPixAccountListComponent.prototype, "reloadList", null);
10546
+ HistoricalPixAccountListComponent = __decorate([
10547
+ Component({
10548
+ // tslint:disable-next-line:component-selector
10549
+ selector: "c-historical-pix-account-list",
10550
+ template: "<div class=\"ui-g\">\n <div class=\"ui-g-12\">\n <c-data-list-rest\n id=\"ta-historical-pix-account-list\"\n [columns]=\"columns\"\n actionLabel=\"{{ 'hcm.payroll.movimentation_generic_action' | translate }}\"\n emptyMessage=\"{{ 'hcm.payroll.admission_empty_message' | translate }}\"\n [endpoint]=\"endPoint\"\n singularMessageRecords=\"{{\n 'hcm.payroll.admission_register' | translate\n }}\"\n [actions]=\"scopedActions\"\n pluralMessageRecords=\"{{\n 'hcm.payroll.admission_registers' | translate\n }}\"\n [keyPayload]=\"keyPayload\"\n [lazy]=\"true\"\n (lazyLoad)=\"onLazyLoad($event)\"\n [(loading)]=\"loading\"\n [initParameters]=\"initParameters\"\n [parameters]=\"parameters\"\n [isSortable]=\"false\"\n ></c-data-list-rest>\n </div>\n</div>\n\n",
10551
+ styles: [""]
10552
+ })
10553
+ ], HistoricalPixAccountListComponent);
10554
+ return HistoricalPixAccountListComponent;
10555
+ }());
10556
+
10557
+ var HistoricalPixAccountListModule = /** @class */ (function () {
10558
+ function HistoricalPixAccountListModule() {
10559
+ }
10560
+ HistoricalPixAccountListModule = __decorate([
10561
+ NgModule({
10562
+ imports: [
10563
+ CommonModule,
10564
+ FormsModule,
10565
+ HttpClientModule,
10566
+ AutoCompleteModule,
10567
+ SharedModule,
10568
+ ReactiveFormsModule,
10569
+ TableModule,
10570
+ ButtonModule,
10571
+ TooltipModule,
10572
+ LoadingStateModule,
10573
+ DataListRestModule,
10574
+ ConfirmDialogModule,
10575
+ ],
10576
+ declarations: [HistoricalPixAccountListComponent],
10577
+ providers: [HistoricalPixAccountListService],
10578
+ exports: [HistoricalPixAccountListComponent],
10579
+ })
10580
+ ], HistoricalPixAccountListModule);
10581
+ return HistoricalPixAccountListModule;
10582
+ }());
10583
+
10180
10584
  /*
10181
10585
  * Public API Surface of core
10182
10586
  */
@@ -10185,5 +10589,5 @@ var HistoricalPixAccountModule = /** @class */ (function () {
10185
10589
  * Generated bundle index. Do not edit.
10186
10590
  */
10187
10591
 
10188
- export { AdmissionDraftSummaryComponent, AdmissionDraftSummaryModule, AdmissionDraftSummaryService, AutocompleteParametersService, BlockUiComponent, BlockUiModule, BreadcrumbComponent, BreadcrumbSDSModule, CNPJValidator, CPFValidator, CompanyIndicationType, CompanyIndicationsService, CompareType, ControlMessagesErrorComponent, ControlMessagesErrorModule, CoreDirectives, CoreFieldType, CustomFieldsComponent, CustomFieldsModule, DataListModule, DataListRestModule, DateValidator, DirectionEnumeration, EmployeeSelectorComponent, EmployeeSelectorModule, EmployeeSummaryComponent, EmployeeSummaryModule, EmployeeSummaryService, EntityODataParameter, ErrorPageComponent, ErrorPageModule, FieldValidatorComponent, FieldValidatorModule, FileUploadComponent, FileUploadCoreModule, FormComparatorService, FromToComponent, FromToModule, HistoricalBankAccountComponent, HistoricalBankAccountListComponent, HistoricalBankAccountListModule, HistoricalBankAccountListService, HistoricalBankAccountModule, HistoricalBankAccountService, HistoricalPixAccountComponent, HistoricalPixAccountModule, HistoricalPixAccountService, HttpClientService, HttpRequestType, ImageCropComponent, ImageCropModule, ImageCropService, InputDateComponent, InputDateModelComponent, InputDateModelModule, InputDateModule, InputRestAutoCompleteComponent, InputRestAutoCompleteEmployeeModelModule, InputRestAutoCompleteEmployeeModelService, InputRestAutoCompleteEmployeeModule, InputRestAutoCompleteEmployeeService, InputRestAutoCompleteEnumComponent, InputRestAutoCompleteEnumModule, InputRestAutoCompleteEnumService, InputRestAutoCompleteJobpositionComponent, InputRestAutoCompleteJobpositionModule, InputRestAutoCompleteJobpositionService, InputRestAutoCompleteModelEnumModule, InputRestAutoCompleteModelEnumService, InputRestAutoCompleteModelModule, InputRestAutoCompleteModelService, InputRestAutoCompleteModule, InputRestAutoCompleteService, IntegrationService, ListRestComponent, ListRestModule, LookupModule, LookupParametersService, MenuType, ModuleType, NameNotSpacesDirective, OnlyNumberDirective, Operators, ParameterType, PermissionService, ReportFormat, ReportService, ReportStage, ServiceType, ServicesModule, SpinnerLoaderComponent, SpinnerLoaderModule, StringMethods, ToastComponent, ToastModule, ToastService, TypeAdmissionModule, TypeAdmissionServices, UsingType, WorkflowDataService, WorkflowIntegrator, WorkstationgroupLookupDto, WorkstationgroupLookupModule, _moment, assign, autoCompleteObjectForIdObject, clearValues, cnpjValidator, compareValues, configEnabledFields, containsMoreThanOneConsecutiveAbbreviation, containsMoreThanOneConsecutiveBlankSpace, containsMoreThanTwoRepeatedCharacters, containsSpecialCharacters, convertBooleanString, convertStringToBoolean, cpfValidator, firstNameIsValid, firstNameLengthIsValid, formatMoney, fullNameLengthIsValid, getAddWeekDaysBusiness, getFormat, getFormatDate, getMoment, getNowDate, getObjValids, getQueryParams, getWeekDaysBusiness, getYears, invertFieldDate, isBirthDayValid, isDateCompare, isDateExpirationBeforeExpeditionDate, isDateField, isDateSameOrAfterCurrentDate, isFullDate, isMax, isNumber, isObject, isRequired, isShallow, isValid, isValidDate, isValidPIS, mountCustomForSave, mountCustomForShow, mountCustomToSave, mountCustomToShow, mountGeneratedCustomToSave, ngCalendarFormat, notEmpty, numberOrZero, removeCharacteresSpecials, removeEmpty, removeWhiteSpaces, setCustonFields, setDisableField, setErrors, setRequired, setRequiredFields, setValidator, setValidatorsAndDisableFields, setValueCustom, stringMethods, sun, uiid, validateBirthDate, verifyValidationsForm, SharedModule as ɵa, DataListRestComponent as ɵb, DataListRestService as ɵc, FileUploadService as ɵd, InputRestAutoCompleteEmployeeComponent as ɵe, InputRestAutoCompleteEmployeeModelComponent as ɵf, InputRestAutoCompleteModelComponent as ɵg, InputRestAutoCompleteModelEnumComponent as ɵh, ListRestService as ɵi, DataListComponent as ɵj, DataListService as ɵk, LookupComponent as ɵl, LookupService as ɵm, WorkstationgroupLookupComponent as ɵn, AutocompleteService as ɵo, LookupService$1 as ɵp, HistoricalBankAccountFormComponent as ɵq, HistoricalPixAccountFormComponent as ɵr };
10592
+ export { AdmissionDraftSummaryComponent, AdmissionDraftSummaryModule, AdmissionDraftSummaryService, AutocompleteParametersService, BlockUiComponent, BlockUiModule, BreadcrumbComponent, BreadcrumbSDSModule, CNPJValidator, CPFValidator, CompanyIndicationType, CompanyIndicationsService, CompareType, ControlMessagesErrorComponent, ControlMessagesErrorModule, CoreDirectives, CoreFieldType, CustomFieldsComponent, CustomFieldsModule, DataListModule, DataListRestModule, DateValidator, DirectionEnumeration, EmployeeSelectorComponent, EmployeeSelectorModule, EmployeeSummaryComponent, EmployeeSummaryModule, EmployeeSummaryService, EntityODataParameter, ErrorPageComponent, ErrorPageModule, FieldValidatorComponent, FieldValidatorModule, FileUploadComponent, FileUploadCoreModule, FormComparatorService, FromToComponent, FromToModule, HistoricalBankAccountComponent, HistoricalBankAccountListComponent, HistoricalBankAccountListModule, HistoricalBankAccountListService, HistoricalBankAccountModule, HistoricalBankAccountService, HistoricalPixAccountComponent, HistoricalPixAccountListComponent, HistoricalPixAccountListModule, HistoricalPixAccountListService, HistoricalPixAccountModule, HistoricalPixAccountService, HttpClientService, HttpRequestType, ImageCropComponent, ImageCropModule, ImageCropService, InputDateComponent, InputDateModelComponent, InputDateModelModule, InputDateModule, InputRestAutoCompleteComponent, InputRestAutoCompleteEmployeeModelModule, InputRestAutoCompleteEmployeeModelService, InputRestAutoCompleteEmployeeModule, InputRestAutoCompleteEmployeeService, InputRestAutoCompleteEnumComponent, InputRestAutoCompleteEnumModule, InputRestAutoCompleteEnumService, InputRestAutoCompleteJobpositionComponent, InputRestAutoCompleteJobpositionModule, InputRestAutoCompleteJobpositionService, InputRestAutoCompleteModelEnumModule, InputRestAutoCompleteModelEnumService, InputRestAutoCompleteModelModule, InputRestAutoCompleteModelService, InputRestAutoCompleteModule, InputRestAutoCompleteService, IntegrationService, ListRestComponent, ListRestModule, LookupModule, LookupParametersService, MenuType, ModuleType, NameNotSpacesDirective, OnlyNumberDirective, Operators, ParameterType, PermissionService, ReportFormat, ReportService, ReportStage, ServiceType, ServicesModule, SpinnerLoaderComponent, SpinnerLoaderModule, StringMethods, ToastComponent, ToastModule, ToastService, TypeAdmissionModule, TypeAdmissionServices, UsingType, WorkflowDataService, WorkflowIntegrator, WorkstationgroupLookupDto, WorkstationgroupLookupModule, _moment, assign, autoCompleteObjectForIdObject, clearValues, cnpjValidator, compareValues, configEnabledFields, containsMoreThanOneConsecutiveAbbreviation, containsMoreThanOneConsecutiveBlankSpace, containsMoreThanTwoRepeatedCharacters, containsSpecialCharacters, convertBooleanString, convertStringToBoolean, cpfValidator, firstNameIsValid, firstNameLengthIsValid, formatMoney, fullNameLengthIsValid, getAddWeekDaysBusiness, getFormat, getFormatDate, getMoment, getNowDate, getObjValids, getQueryParams, getWeekDaysBusiness, getYears, invertFieldDate, isBirthDayValid, isDateCompare, isDateExpirationBeforeExpeditionDate, isDateField, isDateSameOrAfterCurrentDate, isFullDate, isMax, isNumber, isObject, isRequired, isShallow, isValid, isValidDate, isValidPIS, mountCustomForSave, mountCustomForShow, mountCustomToSave, mountCustomToShow, mountGeneratedCustomToSave, ngCalendarFormat, notEmpty, numberOrZero, removeCharacteresSpecials, removeEmpty, removeWhiteSpaces, setCustonFields, setDisableField, setErrors, setRequired, setRequiredFields, setValidator, setValidatorsAndDisableFields, setValueCustom, stringMethods, sun, uiid, validateBirthDate, verifyValidationsForm, SharedModule as ɵa, DataListRestComponent as ɵb, DataListRestService as ɵc, FileUploadService as ɵd, InputRestAutoCompleteEmployeeComponent as ɵe, InputRestAutoCompleteEmployeeModelComponent as ɵf, InputRestAutoCompleteModelComponent as ɵg, InputRestAutoCompleteModelEnumComponent as ɵh, ListRestService as ɵi, DataListComponent as ɵj, DataListService as ɵk, LookupComponent as ɵl, LookupService as ɵm, WorkstationgroupLookupComponent as ɵn, AutocompleteService as ɵo, LookupService$1 as ɵp, HistoricalBankAccountFormComponent as ɵq, HistoricalPixAccountFormComponent as ɵr };
10189
10593
  //# sourceMappingURL=senior-gestao-pessoas-payroll-core.js.map