@senior-gestao-pessoas/payroll-core 9.2.0 → 9.3.0-06156ffc-852c-4f04-8482-5c4f9317ecff
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.
- package/bundles/senior-gestao-pessoas-payroll-core.umd.js +419 -25
- package/bundles/senior-gestao-pessoas-payroll-core.umd.js.map +1 -1
- package/bundles/senior-gestao-pessoas-payroll-core.umd.min.js +1 -1
- package/bundles/senior-gestao-pessoas-payroll-core.umd.min.js.map +1 -1
- package/components/historical-pix-account/historical-pix-account-form/historical-pix-account-form.component.d.ts +3 -1
- package/components/historical-pix-account/historical-pix-account.component.d.ts +8 -1
- package/components/historical-pix-account-list/historical-pix-account-list.component.d.ts +51 -0
- package/components/historical-pix-account-list/historical-pix-account-list.module.d.ts +2 -0
- package/components/historical-pix-account-list/historical-pix-account-list.service.d.ts +9 -0
- package/components/historical-pix-account-list/index.d.ts +3 -0
- package/esm2015/components/historical-pix-account/historical-pix-account-form/historical-pix-account-form.component.js +39 -18
- package/esm2015/components/historical-pix-account/historical-pix-account.component.js +46 -9
- package/esm2015/components/historical-pix-account-list/historical-pix-account-list.component.js +252 -0
- package/esm2015/components/historical-pix-account-list/historical-pix-account-list.module.js +39 -0
- package/esm2015/components/historical-pix-account-list/historical-pix-account-list.service.js +35 -0
- package/esm2015/components/historical-pix-account-list/index.js +4 -0
- package/esm2015/public_api.js +2 -1
- package/esm5/components/historical-pix-account/historical-pix-account-form/historical-pix-account-form.component.js +40 -18
- package/esm5/components/historical-pix-account/historical-pix-account.component.js +58 -9
- package/esm5/components/historical-pix-account-list/historical-pix-account-list.component.js +276 -0
- package/esm5/components/historical-pix-account-list/historical-pix-account-list.module.js +42 -0
- package/esm5/components/historical-pix-account-list/historical-pix-account-list.service.js +37 -0
- package/esm5/components/historical-pix-account-list/index.js +4 -0
- package/esm5/public_api.js +2 -1
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +375 -26
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +417 -26
- package/fesm5/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/locale/en-US.json +8 -1
- package/locale/es-ES.json +8 -1
- package/locale/pt-BR.json +8 -1
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
- package/senior-gestao-pessoas-payroll-core.metadata.json +1 -1
|
@@ -8522,15 +8522,17 @@ class FormatUtilsService {
|
|
|
8522
8522
|
}
|
|
8523
8523
|
|
|
8524
8524
|
let HistoricalPixAccountComponent = class HistoricalPixAccountComponent {
|
|
8525
|
-
constructor(translateService, cd, formBuilder) {
|
|
8525
|
+
constructor(translateService, cd, formBuilder, messageService) {
|
|
8526
8526
|
this.translateService = translateService;
|
|
8527
8527
|
this.cd = cd;
|
|
8528
8528
|
this.formBuilder = formBuilder;
|
|
8529
|
+
this.messageService = messageService;
|
|
8529
8530
|
this.recordByRow = 1;
|
|
8530
8531
|
this.showDateChange = false;
|
|
8531
8532
|
this.isEditMode = false;
|
|
8532
8533
|
this.isViewMode = false;
|
|
8533
8534
|
this.withSideBar = true;
|
|
8535
|
+
this.defaultCpfNumber = null;
|
|
8534
8536
|
this.visibleChange = new EventEmitter();
|
|
8535
8537
|
this.ngUnsubscribe = new Subject();
|
|
8536
8538
|
this.orderBy = {
|
|
@@ -8572,17 +8574,35 @@ let HistoricalPixAccountComponent = class HistoricalPixAccountComponent {
|
|
|
8572
8574
|
visible: !!(!this.isEditMode && this.withSideBar),
|
|
8573
8575
|
label: this.translateService.instant("hcm.payroll.edit"),
|
|
8574
8576
|
command: () => {
|
|
8575
|
-
rowData
|
|
8576
|
-
|
|
8577
|
-
|
|
8577
|
+
if (this.isAllowToEditHistorical && rowData) {
|
|
8578
|
+
rowData["index"] = key;
|
|
8579
|
+
this.pixAccountItemInput = { currentItem: rowData, listData: this.listDataNoPage, isEditMode: true };
|
|
8580
|
+
this.visible = true;
|
|
8581
|
+
}
|
|
8582
|
+
else {
|
|
8583
|
+
this.messageService.add({
|
|
8584
|
+
severity: "error",
|
|
8585
|
+
summary: this.translateService.instant("hcm.payroll.error"),
|
|
8586
|
+
detail: this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
8587
|
+
});
|
|
8588
|
+
}
|
|
8578
8589
|
},
|
|
8579
8590
|
},
|
|
8580
8591
|
{
|
|
8581
8592
|
visible: !this.isEditMode,
|
|
8582
8593
|
label: this.translateService.instant("hcm.payroll.delete"),
|
|
8583
8594
|
command: () => {
|
|
8584
|
-
this.
|
|
8585
|
-
|
|
8595
|
+
if (this.isAllowToDeleteHistorical && rowData) {
|
|
8596
|
+
this.loading = true;
|
|
8597
|
+
this.deleteAnnuityItem(key);
|
|
8598
|
+
}
|
|
8599
|
+
else {
|
|
8600
|
+
this.messageService.add({
|
|
8601
|
+
severity: "error",
|
|
8602
|
+
summary: this.translateService.instant("hcm.payroll.error"),
|
|
8603
|
+
detail: this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
8604
|
+
});
|
|
8605
|
+
}
|
|
8586
8606
|
},
|
|
8587
8607
|
},
|
|
8588
8608
|
];
|
|
@@ -8762,11 +8782,21 @@ let HistoricalPixAccountComponent = class HistoricalPixAccountComponent {
|
|
|
8762
8782
|
getFormattedPercentage(value) {
|
|
8763
8783
|
return FormatUtilsService.getFormattedPercentage(value);
|
|
8764
8784
|
}
|
|
8785
|
+
get isAllowToDeleteHistorical() {
|
|
8786
|
+
return (this.permission["Excluir"]);
|
|
8787
|
+
}
|
|
8788
|
+
get isAllowToEditHistorical() {
|
|
8789
|
+
return (this.permission["Editar"]);
|
|
8790
|
+
}
|
|
8791
|
+
get isAllowToViewHistorical() {
|
|
8792
|
+
return (this.permission["Visualizar"]);
|
|
8793
|
+
}
|
|
8765
8794
|
};
|
|
8766
8795
|
HistoricalPixAccountComponent.ctorParameters = () => [
|
|
8767
8796
|
{ type: TranslateService },
|
|
8768
8797
|
{ type: ChangeDetectorRef },
|
|
8769
|
-
{ type: FormBuilder }
|
|
8798
|
+
{ type: FormBuilder },
|
|
8799
|
+
{ type: MessageService }
|
|
8770
8800
|
];
|
|
8771
8801
|
__decorate([
|
|
8772
8802
|
ViewChild(CustomFieldsComponent$1, { static: false })
|
|
@@ -8813,6 +8843,12 @@ __decorate([
|
|
|
8813
8843
|
__decorate([
|
|
8814
8844
|
Input()
|
|
8815
8845
|
], HistoricalPixAccountComponent.prototype, "paramsForm", void 0);
|
|
8846
|
+
__decorate([
|
|
8847
|
+
Input()
|
|
8848
|
+
], HistoricalPixAccountComponent.prototype, "defaultCpfNumber", void 0);
|
|
8849
|
+
__decorate([
|
|
8850
|
+
Input()
|
|
8851
|
+
], HistoricalPixAccountComponent.prototype, "permission", void 0);
|
|
8816
8852
|
__decorate([
|
|
8817
8853
|
Input()
|
|
8818
8854
|
], HistoricalPixAccountComponent.prototype, "dateChange", null);
|
|
@@ -8829,7 +8865,7 @@ HistoricalPixAccountComponent = __decorate([
|
|
|
8829
8865
|
Component({
|
|
8830
8866
|
// tslint:disable-next-line:component-selector
|
|
8831
8867
|
selector: "c-historical-pix-account",
|
|
8832
|
-
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",
|
|
8868
|
+
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",
|
|
8833
8869
|
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}"]
|
|
8834
8870
|
})
|
|
8835
8871
|
], HistoricalPixAccountComponent);
|
|
@@ -9005,6 +9041,7 @@ let HistoricalPixAccountFormComponent = class HistoricalPixAccountFormComponent
|
|
|
9005
9041
|
this.withSideBar = true;
|
|
9006
9042
|
this.isEditMode = false;
|
|
9007
9043
|
this.paramsForm = new FormGroup({});
|
|
9044
|
+
this.defaultCpfNumber = null;
|
|
9008
9045
|
this.visibleChange = new EventEmitter();
|
|
9009
9046
|
this.pixAccountItemToList = new EventEmitter();
|
|
9010
9047
|
this.ngUnsubscribe = new Subject();
|
|
@@ -9040,6 +9077,7 @@ let HistoricalPixAccountFormComponent = class HistoricalPixAccountFormComponent
|
|
|
9040
9077
|
...this.initialValidatorOfPercentage,
|
|
9041
9078
|
Validators.max(this.maxValuePercentage),
|
|
9042
9079
|
])),
|
|
9080
|
+
externalId: this.formBuilder.control(null),
|
|
9043
9081
|
customFields: this.formBuilder.control(null),
|
|
9044
9082
|
});
|
|
9045
9083
|
}
|
|
@@ -9048,7 +9086,7 @@ let HistoricalPixAccountFormComponent = class HistoricalPixAccountFormComponent
|
|
|
9048
9086
|
this.pixKeyType = item.key;
|
|
9049
9087
|
this.isShowPixKeyFieldValidatorMessage = true;
|
|
9050
9088
|
this.pixAccountFormGroup.get("pixKey").reset();
|
|
9051
|
-
this.setPixKeyValidators();
|
|
9089
|
+
this.setPixKeyValidators(true);
|
|
9052
9090
|
if (item.key === "CPF") {
|
|
9053
9091
|
this.setDefaultCpfPixKey();
|
|
9054
9092
|
}
|
|
@@ -9071,15 +9109,26 @@ let HistoricalPixAccountFormComponent = class HistoricalPixAccountFormComponent
|
|
|
9071
9109
|
if (value && value.currentItem && Object.keys(value.currentItem).length) {
|
|
9072
9110
|
this.pixAccountFormGroup.patchValue(this.convertDTOToShowWithCustomFields(Object.assign({}, value.currentItem)));
|
|
9073
9111
|
this.labelBtnAdd = "hcm.payroll.employees_update";
|
|
9074
|
-
this.setValidatorsAccordingList(value.listData, value.currentItem["index"]);
|
|
9112
|
+
this.setValidatorsAccordingList(value.listData, value.currentItem["index"], value && value["isEditMode"]);
|
|
9075
9113
|
if (!this.isView) {
|
|
9076
9114
|
this.configEnableFields(value && value["isEditMode"]);
|
|
9077
9115
|
}
|
|
9116
|
+
else {
|
|
9117
|
+
if (this.pixAccountFormGroup.get("pixKeyType").value) {
|
|
9118
|
+
this.pixKeyType = this.pixAccountFormGroup.get("pixKeyType").value.key;
|
|
9119
|
+
this.formatPixKeyTelephoneNumber();
|
|
9120
|
+
}
|
|
9121
|
+
}
|
|
9078
9122
|
}
|
|
9079
9123
|
else {
|
|
9080
9124
|
this.labelBtnAdd = "hcm.payroll.employees_add";
|
|
9081
9125
|
}
|
|
9082
9126
|
}
|
|
9127
|
+
formatPixKeyTelephoneNumber() {
|
|
9128
|
+
if (this.pixKeyType === "TELEPHONE") {
|
|
9129
|
+
this.pixAccountFormGroup.get("pixKey").setValue(FormatUtilsService.getFormattedTelephoneNumber(this.pixAccountFormGroup.get("pixKey").value));
|
|
9130
|
+
}
|
|
9131
|
+
}
|
|
9083
9132
|
convertDTOToShowWithCustomFields(data) {
|
|
9084
9133
|
const obj = Object.assign({}, data);
|
|
9085
9134
|
obj["customFields"] = mountCustomToShow(obj["customFields"]);
|
|
@@ -9089,10 +9138,8 @@ let HistoricalPixAccountFormComponent = class HistoricalPixAccountFormComponent
|
|
|
9089
9138
|
this.visibleBtnSave = isEditMode;
|
|
9090
9139
|
if (this.pixAccountFormGroup.get("pixKeyType").value) {
|
|
9091
9140
|
this.pixKeyType = this.pixAccountFormGroup.get("pixKeyType").value.key;
|
|
9092
|
-
this.setPixKeyValidators();
|
|
9093
|
-
|
|
9094
|
-
this.pixAccountFormGroup.get("pixKey").setValue(FormatUtilsService.getFormattedTelephoneNumber(this.pixAccountFormGroup.get("pixKey").value));
|
|
9095
|
-
}
|
|
9141
|
+
this.setPixKeyValidators(isEditMode);
|
|
9142
|
+
this.formatPixKeyTelephoneNumber();
|
|
9096
9143
|
}
|
|
9097
9144
|
configEnabledFields(this.pixAccountFormGroup, isEditMode, [
|
|
9098
9145
|
"pixKeyType",
|
|
@@ -9145,7 +9192,7 @@ let HistoricalPixAccountFormComponent = class HistoricalPixAccountFormComponent
|
|
|
9145
9192
|
*/
|
|
9146
9193
|
set getListPixAccount(pixAccountList) {
|
|
9147
9194
|
if (pixAccountList) {
|
|
9148
|
-
this.setValidatorsAccordingList(pixAccountList);
|
|
9195
|
+
this.setValidatorsAccordingList(pixAccountList, null, false);
|
|
9149
9196
|
}
|
|
9150
9197
|
else {
|
|
9151
9198
|
this.resetForm();
|
|
@@ -9159,7 +9206,7 @@ let HistoricalPixAccountFormComponent = class HistoricalPixAccountFormComponent
|
|
|
9159
9206
|
* @param pixAccountList
|
|
9160
9207
|
* @param index
|
|
9161
9208
|
*/
|
|
9162
|
-
setValidatorsAccordingList(pixAccountList, index = null) {
|
|
9209
|
+
setValidatorsAccordingList(pixAccountList, index = null, isEditMode = true) {
|
|
9163
9210
|
this.pixAccountList = pixAccountList && pixAccountList.length ? [...pixAccountList] : [];
|
|
9164
9211
|
const percentageIncluded = [];
|
|
9165
9212
|
if (this.pixAccountList && this.pixAccountList.length) {
|
|
@@ -9170,13 +9217,13 @@ let HistoricalPixAccountFormComponent = class HistoricalPixAccountFormComponent
|
|
|
9170
9217
|
});
|
|
9171
9218
|
}
|
|
9172
9219
|
this.beforeSetPixKeyTypeValidator();
|
|
9173
|
-
this.setPixKeyValidators();
|
|
9220
|
+
this.setPixKeyValidators(isEditMode);
|
|
9174
9221
|
this.validatePercentageValid(percentageIncluded);
|
|
9175
9222
|
}
|
|
9176
9223
|
/**
|
|
9177
9224
|
* Antes de setar o validator prepara as variáveis necessária para que seja feita a validação do campo.
|
|
9178
9225
|
*/
|
|
9179
|
-
setPixKeyValidators() {
|
|
9226
|
+
setPixKeyValidators(isEditMode) {
|
|
9180
9227
|
const genericPixKey = this.pixAccountFormGroup.get("pixKey");
|
|
9181
9228
|
if (this.pixKeyType) {
|
|
9182
9229
|
switch (this.pixKeyType) {
|
|
@@ -9207,7 +9254,9 @@ let HistoricalPixAccountFormComponent = class HistoricalPixAccountFormComponent
|
|
|
9207
9254
|
genericPixKey.setValidators(null);
|
|
9208
9255
|
break;
|
|
9209
9256
|
}
|
|
9210
|
-
|
|
9257
|
+
if (isEditMode) {
|
|
9258
|
+
genericPixKey.enable();
|
|
9259
|
+
}
|
|
9211
9260
|
genericPixKey.updateValueAndValidity();
|
|
9212
9261
|
}
|
|
9213
9262
|
}
|
|
@@ -9237,11 +9286,16 @@ let HistoricalPixAccountFormComponent = class HistoricalPixAccountFormComponent
|
|
|
9237
9286
|
FormatUtilsService.formatTelephoneInputEvent(event);
|
|
9238
9287
|
}
|
|
9239
9288
|
setDefaultCpfPixKey() {
|
|
9240
|
-
|
|
9241
|
-
|
|
9242
|
-
|
|
9243
|
-
|
|
9244
|
-
|
|
9289
|
+
if (this.defaultCpfNumber) {
|
|
9290
|
+
this.pixAccountFormGroup.get("pixKey").setValue(this.defaultCpfNumber);
|
|
9291
|
+
}
|
|
9292
|
+
else {
|
|
9293
|
+
const sheetDocument = this.paramsForm.get("sheetDocument");
|
|
9294
|
+
if (sheetDocument) {
|
|
9295
|
+
const cpf = sheetDocument.get("cpfNumber").value;
|
|
9296
|
+
if (cpf) {
|
|
9297
|
+
this.pixAccountFormGroup.get("pixKey").setValue(cpf);
|
|
9298
|
+
}
|
|
9245
9299
|
}
|
|
9246
9300
|
}
|
|
9247
9301
|
}
|
|
@@ -9303,6 +9357,9 @@ __decorate([
|
|
|
9303
9357
|
__decorate([
|
|
9304
9358
|
Input()
|
|
9305
9359
|
], HistoricalPixAccountFormComponent.prototype, "paramsForm", void 0);
|
|
9360
|
+
__decorate([
|
|
9361
|
+
Input()
|
|
9362
|
+
], HistoricalPixAccountFormComponent.prototype, "defaultCpfNumber", void 0);
|
|
9306
9363
|
__decorate([
|
|
9307
9364
|
Output()
|
|
9308
9365
|
], HistoricalPixAccountFormComponent.prototype, "visibleChange", void 0);
|
|
@@ -9324,7 +9381,7 @@ __decorate([
|
|
|
9324
9381
|
HistoricalPixAccountFormComponent = __decorate([
|
|
9325
9382
|
Component({
|
|
9326
9383
|
selector: "pix-account",
|
|
9327
|
-
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",
|
|
9384
|
+
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",
|
|
9328
9385
|
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}"]
|
|
9329
9386
|
})
|
|
9330
9387
|
], HistoricalPixAccountFormComponent);
|
|
@@ -9378,6 +9435,298 @@ HistoricalPixAccountModule = __decorate([
|
|
|
9378
9435
|
})
|
|
9379
9436
|
], HistoricalPixAccountModule);
|
|
9380
9437
|
|
|
9438
|
+
let HistoricalPixAccountListService = class HistoricalPixAccountListService {
|
|
9439
|
+
constructor(http, httpClient) {
|
|
9440
|
+
this.http = http;
|
|
9441
|
+
this.httpClient = httpClient;
|
|
9442
|
+
}
|
|
9443
|
+
remove(id, dateWhen, service = ServiceType.PAYROLL, dependentId) {
|
|
9444
|
+
if (service === ServiceType.DEPENDENT) {
|
|
9445
|
+
return this.httpClient
|
|
9446
|
+
.post("hcm/dependent/queries/historicalDependentJudicialPensionPixDelete", {
|
|
9447
|
+
dependentId: dependentId,
|
|
9448
|
+
dateWhen: dateWhen,
|
|
9449
|
+
});
|
|
9450
|
+
}
|
|
9451
|
+
else {
|
|
9452
|
+
return this.http.post("actions/historicalEmployeePixDelete", {
|
|
9453
|
+
employeeId: id,
|
|
9454
|
+
dateWhen: dateWhen
|
|
9455
|
+
});
|
|
9456
|
+
}
|
|
9457
|
+
}
|
|
9458
|
+
};
|
|
9459
|
+
HistoricalPixAccountListService.ctorParameters = () => [
|
|
9460
|
+
{ type: HttpClientService },
|
|
9461
|
+
{ type: HttpClient }
|
|
9462
|
+
];
|
|
9463
|
+
HistoricalPixAccountListService = __decorate([
|
|
9464
|
+
Injectable()
|
|
9465
|
+
], HistoricalPixAccountListService);
|
|
9466
|
+
|
|
9467
|
+
const moment$e = moment_;
|
|
9468
|
+
let HistoricalPixAccountListComponent = class HistoricalPixAccountListComponent {
|
|
9469
|
+
constructor(confirmationService, translateService, activatedRoute, cd, router, messageService, historicalPixAccountListService) {
|
|
9470
|
+
this.confirmationService = confirmationService;
|
|
9471
|
+
this.translateService = translateService;
|
|
9472
|
+
this.activatedRoute = activatedRoute;
|
|
9473
|
+
this.cd = cd;
|
|
9474
|
+
this.router = router;
|
|
9475
|
+
this.messageService = messageService;
|
|
9476
|
+
this.historicalPixAccountListService = historicalPixAccountListService;
|
|
9477
|
+
this.endPoint = "hcm/payroll/queries/historicalEmployeePixQuery";
|
|
9478
|
+
this.keyPayload = "historicalEmployeePix";
|
|
9479
|
+
this.withSidebar = true;
|
|
9480
|
+
this.enableView = new EventEmitter();
|
|
9481
|
+
this.ngUnsubscribe = new Subject();
|
|
9482
|
+
this.loading = true;
|
|
9483
|
+
this.columns = [
|
|
9484
|
+
{
|
|
9485
|
+
label: this.translateService.instant("hcm.payroll.historical_pix_account_label_date_change"),
|
|
9486
|
+
field: "dateChange",
|
|
9487
|
+
},
|
|
9488
|
+
{
|
|
9489
|
+
label: this.translateService.instant("hcm.payroll.historical_pix_account_label_pix_key_type"),
|
|
9490
|
+
field: "pixKeyType.value",
|
|
9491
|
+
},
|
|
9492
|
+
{
|
|
9493
|
+
label: this.translateService.instant("hcm.payroll.historical_pix_account_label_pix_key"),
|
|
9494
|
+
field: "pixKey",
|
|
9495
|
+
},
|
|
9496
|
+
{
|
|
9497
|
+
label: this.translateService.instant("hcm.payroll.historical_pix_account_label_percentage"),
|
|
9498
|
+
field: "percentage",
|
|
9499
|
+
},
|
|
9500
|
+
{
|
|
9501
|
+
label: this.translateService.instant("hcm.payroll.employees_movimentation_historical_pix_account_label_qtd_account"),
|
|
9502
|
+
field: "numberOfPixAccount",
|
|
9503
|
+
},
|
|
9504
|
+
];
|
|
9505
|
+
}
|
|
9506
|
+
ngOnInit() {
|
|
9507
|
+
this.initParameters = { employeeId: this.employeeId, dependentId: this.dependentId };
|
|
9508
|
+
}
|
|
9509
|
+
ngOnDestroy() {
|
|
9510
|
+
this.ngUnsubscribe.next();
|
|
9511
|
+
this.ngUnsubscribe.complete();
|
|
9512
|
+
}
|
|
9513
|
+
ngAfterViewInit() {
|
|
9514
|
+
this.cd.detectChanges();
|
|
9515
|
+
}
|
|
9516
|
+
onLazyLoad(payload) {
|
|
9517
|
+
payload.forEach((value) => {
|
|
9518
|
+
value.dateChange = moment$e(value.dateChange).format(this.dateFormat);
|
|
9519
|
+
value.pixKey = this.formatPixKeyByType(value.pixKeyType, value.pixKey);
|
|
9520
|
+
value.percentage = FormatUtilsService.getFormattedPercentage(value.percentage);
|
|
9521
|
+
});
|
|
9522
|
+
this.onGridLoad(payload);
|
|
9523
|
+
this.loading = false;
|
|
9524
|
+
}
|
|
9525
|
+
formatPixKeyByType(pixKeyType, pixKey) {
|
|
9526
|
+
const keyType = pixKeyType ? pixKeyType.key.toUpperCase() : "";
|
|
9527
|
+
if (keyType === "TELEPHONE") {
|
|
9528
|
+
return FormatUtilsService.getFormattedTelephoneNumber(pixKey);
|
|
9529
|
+
}
|
|
9530
|
+
else if (keyType === "CPF") {
|
|
9531
|
+
return FormatUtilsService.getFormattedCpf(pixKey);
|
|
9532
|
+
}
|
|
9533
|
+
else if (keyType === "CNPJ") {
|
|
9534
|
+
return FormatUtilsService.getFormattedCnpj(pixKey);
|
|
9535
|
+
}
|
|
9536
|
+
else {
|
|
9537
|
+
return pixKey;
|
|
9538
|
+
}
|
|
9539
|
+
}
|
|
9540
|
+
getMenuActions(rowData) {
|
|
9541
|
+
return [
|
|
9542
|
+
{
|
|
9543
|
+
label: this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
|
|
9544
|
+
command: () => {
|
|
9545
|
+
console.log(this.isAllowToViewHistorical);
|
|
9546
|
+
if (this.isAllowToViewHistorical && rowData) {
|
|
9547
|
+
const dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, this.dateFormat).format("YYYY-MM-DD");
|
|
9548
|
+
if (this.withSidebar) {
|
|
9549
|
+
this.router.navigate([`historical-pix-account/${dateChange}`], {
|
|
9550
|
+
relativeTo: this.activatedRoute,
|
|
9551
|
+
});
|
|
9552
|
+
}
|
|
9553
|
+
else {
|
|
9554
|
+
this.enableView.emit(dateChange);
|
|
9555
|
+
}
|
|
9556
|
+
}
|
|
9557
|
+
else {
|
|
9558
|
+
this.messageService.add({
|
|
9559
|
+
severity: "error",
|
|
9560
|
+
summary: this.translateService.instant("hcm.payroll.error"),
|
|
9561
|
+
detail: this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
9562
|
+
});
|
|
9563
|
+
}
|
|
9564
|
+
},
|
|
9565
|
+
},
|
|
9566
|
+
{
|
|
9567
|
+
label: this.translateService.instant("hcm.payroll.delete"),
|
|
9568
|
+
command: () => {
|
|
9569
|
+
if (this.isAllowToDeleteHistorical && rowData) {
|
|
9570
|
+
this.delete(rowData.id, rowData.dateChange);
|
|
9571
|
+
}
|
|
9572
|
+
else {
|
|
9573
|
+
this.messageService.add({
|
|
9574
|
+
severity: "error",
|
|
9575
|
+
summary: this.translateService.instant("hcm.payroll.error"),
|
|
9576
|
+
detail: this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
9577
|
+
});
|
|
9578
|
+
}
|
|
9579
|
+
},
|
|
9580
|
+
},
|
|
9581
|
+
];
|
|
9582
|
+
}
|
|
9583
|
+
delete(id, dateChange) {
|
|
9584
|
+
if (id === this.lastRecord.id) {
|
|
9585
|
+
const dateChangeToDto = moment$e(dateChange, this.dateFormat).format("YYYY-MM-DD");
|
|
9586
|
+
this.confirmationService.confirm({
|
|
9587
|
+
message: `${this.translateService.instant("hcm.payroll.employees_movimentation_historical_pix_account_question_confirm_delete")}?`,
|
|
9588
|
+
accept: () => {
|
|
9589
|
+
this.loading = true;
|
|
9590
|
+
const service = this.withSidebar ? ServiceType.PAYROLL : ServiceType.DEPENDENT;
|
|
9591
|
+
this.historicalPixAccountListService
|
|
9592
|
+
.remove(this.employeeId, dateChangeToDto, service, this.dependentId)
|
|
9593
|
+
.pipe(takeUntil(this.ngUnsubscribe))
|
|
9594
|
+
.subscribe(() => {
|
|
9595
|
+
this.messageService.add({
|
|
9596
|
+
severity: "success",
|
|
9597
|
+
summary: this.translateService.instant("hcm.payroll.success"),
|
|
9598
|
+
detail: this.translateService.instant("hcm.payroll.employees_movimentation_historical_pix_account_remove"),
|
|
9599
|
+
});
|
|
9600
|
+
this.parameters = (this.parameters && Object.assign({}, this.parameters)) || {};
|
|
9601
|
+
}, () => {
|
|
9602
|
+
this.messageService.add({
|
|
9603
|
+
severity: "error",
|
|
9604
|
+
summary: this.translateService.instant("hcm.payroll.error"),
|
|
9605
|
+
detail: this.translateService.instant("hcm.payroll.employees_movimentation_historical_pix_account_error_remove"),
|
|
9606
|
+
});
|
|
9607
|
+
this.loading = false;
|
|
9608
|
+
});
|
|
9609
|
+
},
|
|
9610
|
+
});
|
|
9611
|
+
}
|
|
9612
|
+
else {
|
|
9613
|
+
this.messageService.add({
|
|
9614
|
+
severity: "error",
|
|
9615
|
+
summary: this.translateService.instant("hcm.payroll.error"),
|
|
9616
|
+
detail: this.translateService.instant("hcm.payroll.not_allowed_delete_last"),
|
|
9617
|
+
});
|
|
9618
|
+
}
|
|
9619
|
+
}
|
|
9620
|
+
add() {
|
|
9621
|
+
if (this.isAllowToAddHistorical) {
|
|
9622
|
+
this.router.navigate(["historical-pix-account-new"], {
|
|
9623
|
+
relativeTo: this.activatedRoute,
|
|
9624
|
+
});
|
|
9625
|
+
}
|
|
9626
|
+
else {
|
|
9627
|
+
this.messageService.add({
|
|
9628
|
+
severity: "error",
|
|
9629
|
+
summary: this.translateService.instant("hcm.payroll.error"),
|
|
9630
|
+
detail: this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
9631
|
+
});
|
|
9632
|
+
}
|
|
9633
|
+
}
|
|
9634
|
+
onGridLoad(payload) {
|
|
9635
|
+
if (payload && payload.length) {
|
|
9636
|
+
this.lastRecord = payload[0];
|
|
9637
|
+
}
|
|
9638
|
+
}
|
|
9639
|
+
get isAllowToAddHistorical() {
|
|
9640
|
+
return (this.permission["Incluir"]);
|
|
9641
|
+
}
|
|
9642
|
+
get isAllowToDeleteHistorical() {
|
|
9643
|
+
return (this.permission["Excluir"]);
|
|
9644
|
+
}
|
|
9645
|
+
get isAllowToViewHistorical() {
|
|
9646
|
+
return (this.permission["Visualizar"]);
|
|
9647
|
+
}
|
|
9648
|
+
get scopedActions() {
|
|
9649
|
+
return this.getMenuActions.bind(this);
|
|
9650
|
+
}
|
|
9651
|
+
set reloadList(condition) {
|
|
9652
|
+
if (condition) {
|
|
9653
|
+
this.loading = true;
|
|
9654
|
+
this.parameters = (this.parameters && Object.assign({}, this.parameters)) || {};
|
|
9655
|
+
}
|
|
9656
|
+
}
|
|
9657
|
+
};
|
|
9658
|
+
HistoricalPixAccountListComponent.ctorParameters = () => [
|
|
9659
|
+
{ type: ConfirmationService },
|
|
9660
|
+
{ type: TranslateService },
|
|
9661
|
+
{ type: ActivatedRoute },
|
|
9662
|
+
{ type: ChangeDetectorRef },
|
|
9663
|
+
{ type: Router },
|
|
9664
|
+
{ type: MessageService },
|
|
9665
|
+
{ type: HistoricalPixAccountListService }
|
|
9666
|
+
];
|
|
9667
|
+
__decorate([
|
|
9668
|
+
ViewChild(CustomFieldsComponent$1, { static: false })
|
|
9669
|
+
], HistoricalPixAccountListComponent.prototype, "customFields", void 0);
|
|
9670
|
+
__decorate([
|
|
9671
|
+
Input()
|
|
9672
|
+
], HistoricalPixAccountListComponent.prototype, "permission", void 0);
|
|
9673
|
+
__decorate([
|
|
9674
|
+
Input()
|
|
9675
|
+
], HistoricalPixAccountListComponent.prototype, "employeeId", void 0);
|
|
9676
|
+
__decorate([
|
|
9677
|
+
Input()
|
|
9678
|
+
], HistoricalPixAccountListComponent.prototype, "dependentId", void 0);
|
|
9679
|
+
__decorate([
|
|
9680
|
+
Input()
|
|
9681
|
+
], HistoricalPixAccountListComponent.prototype, "dateFormat", void 0);
|
|
9682
|
+
__decorate([
|
|
9683
|
+
Input()
|
|
9684
|
+
], HistoricalPixAccountListComponent.prototype, "endPoint", void 0);
|
|
9685
|
+
__decorate([
|
|
9686
|
+
Input()
|
|
9687
|
+
], HistoricalPixAccountListComponent.prototype, "keyPayload", void 0);
|
|
9688
|
+
__decorate([
|
|
9689
|
+
Input()
|
|
9690
|
+
], HistoricalPixAccountListComponent.prototype, "withSidebar", void 0);
|
|
9691
|
+
__decorate([
|
|
9692
|
+
Output()
|
|
9693
|
+
], HistoricalPixAccountListComponent.prototype, "enableView", void 0);
|
|
9694
|
+
__decorate([
|
|
9695
|
+
Input()
|
|
9696
|
+
], HistoricalPixAccountListComponent.prototype, "reloadList", null);
|
|
9697
|
+
HistoricalPixAccountListComponent = __decorate([
|
|
9698
|
+
Component({
|
|
9699
|
+
// tslint:disable-next-line:component-selector
|
|
9700
|
+
selector: "c-historical-pix-account-list",
|
|
9701
|
+
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",
|
|
9702
|
+
styles: [""]
|
|
9703
|
+
})
|
|
9704
|
+
], HistoricalPixAccountListComponent);
|
|
9705
|
+
|
|
9706
|
+
let HistoricalPixAccountListModule = class HistoricalPixAccountListModule {
|
|
9707
|
+
};
|
|
9708
|
+
HistoricalPixAccountListModule = __decorate([
|
|
9709
|
+
NgModule({
|
|
9710
|
+
imports: [
|
|
9711
|
+
CommonModule,
|
|
9712
|
+
FormsModule,
|
|
9713
|
+
HttpClientModule,
|
|
9714
|
+
AutoCompleteModule,
|
|
9715
|
+
SharedModule,
|
|
9716
|
+
ReactiveFormsModule,
|
|
9717
|
+
TableModule,
|
|
9718
|
+
ButtonModule,
|
|
9719
|
+
TooltipModule,
|
|
9720
|
+
LoadingStateModule,
|
|
9721
|
+
DataListRestModule,
|
|
9722
|
+
ConfirmDialogModule,
|
|
9723
|
+
],
|
|
9724
|
+
declarations: [HistoricalPixAccountListComponent],
|
|
9725
|
+
providers: [HistoricalPixAccountListService],
|
|
9726
|
+
exports: [HistoricalPixAccountListComponent],
|
|
9727
|
+
})
|
|
9728
|
+
], HistoricalPixAccountListModule);
|
|
9729
|
+
|
|
9381
9730
|
/*
|
|
9382
9731
|
* Public API Surface of core
|
|
9383
9732
|
*/
|
|
@@ -9386,5 +9735,5 @@ HistoricalPixAccountModule = __decorate([
|
|
|
9386
9735
|
* Generated bundle index. Do not edit.
|
|
9387
9736
|
*/
|
|
9388
9737
|
|
|
9389
|
-
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 };
|
|
9738
|
+
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 };
|
|
9390
9739
|
//# sourceMappingURL=senior-gestao-pessoas-payroll-core.js.map
|