@senior-gestao-pessoas/payroll-core 9.4.0-1673d953-7827-4c17-8763-0a32e0cd5e71 → 9.4.0-7edf395b-4614-46bb-b8d5-62ac5f1423d5
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 +111 -48
- 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 +4 -1
- package/components/historical-pix-account/historical-pix-account.component.d.ts +4 -4
- package/components/historical-pix-account-list/historical-pix-account-list.component.d.ts +10 -2
- package/components/shared/index.d.ts +1 -0
- package/components/shared/shared-state.service.d.ts +11 -0
- package/esm2015/components/historical-pix-account/historical-pix-account-form/historical-pix-account-form.component.js +9 -5
- package/esm2015/components/historical-pix-account/historical-pix-account.component.js +12 -15
- package/esm2015/components/historical-pix-account-list/historical-pix-account-list.component.js +58 -33
- package/esm2015/components/shared/index.js +2 -0
- package/esm2015/components/shared/shared-state.service.js +31 -0
- package/esm2015/public_api.js +2 -1
- package/esm5/components/historical-pix-account/historical-pix-account-form/historical-pix-account-form.component.js +9 -5
- package/esm5/components/historical-pix-account/historical-pix-account.component.js +13 -15
- package/esm5/components/historical-pix-account-list/historical-pix-account-list.component.js +67 -33
- package/esm5/components/shared/index.js +2 -0
- package/esm5/components/shared/shared-state.service.js +32 -0
- package/esm5/public_api.js +2 -1
- package/fesm2015/senior-gestao-pessoas-payroll-core.js +100 -49
- package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/fesm5/senior-gestao-pessoas-payroll-core.js +111 -49
- package/fesm5/senior-gestao-pessoas-payroll-core.js.map +1 -1
- package/locale/en-US.json +1 -1
- package/locale/es-ES.json +1 -1
- package/locale/pt-BR.json +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
- package/senior-gestao-pessoas-payroll-core.metadata.json +1 -1
|
@@ -8521,12 +8521,38 @@ class FormatUtilsService {
|
|
|
8521
8521
|
}
|
|
8522
8522
|
}
|
|
8523
8523
|
|
|
8524
|
+
let SharedStateService = class SharedStateService {
|
|
8525
|
+
constructor() {
|
|
8526
|
+
this.hideFieldSubject = new BehaviorSubject(true);
|
|
8527
|
+
this.hideField$ = this.hideFieldSubject.asObservable();
|
|
8528
|
+
this.showButtonSubject = new BehaviorSubject(true);
|
|
8529
|
+
this.showButton$ = this.showButtonSubject.asObservable();
|
|
8530
|
+
this.saveButtonSubject = new BehaviorSubject(true);
|
|
8531
|
+
this.saveButton$ = this.saveButtonSubject.asObservable();
|
|
8532
|
+
}
|
|
8533
|
+
setHideField(value) {
|
|
8534
|
+
this.hideFieldSubject.next(value);
|
|
8535
|
+
}
|
|
8536
|
+
setShowButton(value) {
|
|
8537
|
+
this.showButtonSubject.next(value);
|
|
8538
|
+
}
|
|
8539
|
+
setSaveButton(value) {
|
|
8540
|
+
this.saveButtonSubject.next(value);
|
|
8541
|
+
}
|
|
8542
|
+
};
|
|
8543
|
+
SharedStateService.ngInjectableDef = ɵɵdefineInjectable({ factory: function SharedStateService_Factory() { return new SharedStateService(); }, token: SharedStateService, providedIn: "root" });
|
|
8544
|
+
SharedStateService = __decorate([
|
|
8545
|
+
Injectable({
|
|
8546
|
+
providedIn: 'root',
|
|
8547
|
+
})
|
|
8548
|
+
], SharedStateService);
|
|
8549
|
+
|
|
8524
8550
|
let HistoricalPixAccountComponent = class HistoricalPixAccountComponent {
|
|
8525
|
-
constructor(translateService, cd, formBuilder,
|
|
8551
|
+
constructor(translateService, cd, formBuilder, sharedStateService) {
|
|
8526
8552
|
this.translateService = translateService;
|
|
8527
8553
|
this.cd = cd;
|
|
8528
8554
|
this.formBuilder = formBuilder;
|
|
8529
|
-
this.
|
|
8555
|
+
this.sharedStateService = sharedStateService;
|
|
8530
8556
|
this.recordByRow = 1;
|
|
8531
8557
|
this.showDateChange = false;
|
|
8532
8558
|
this.isEditMode = false;
|
|
@@ -8550,6 +8576,7 @@ let HistoricalPixAccountComponent = class HistoricalPixAccountComponent {
|
|
|
8550
8576
|
this.loading = true;
|
|
8551
8577
|
this.listData = [];
|
|
8552
8578
|
this.listDataNoPage = [];
|
|
8579
|
+
this.showButtonView = true;
|
|
8553
8580
|
this.cols = [
|
|
8554
8581
|
{
|
|
8555
8582
|
label: this.translateService.instant("hcm.payroll.employees_addition_pix_key_type"),
|
|
@@ -8581,7 +8608,7 @@ let HistoricalPixAccountComponent = class HistoricalPixAccountComponent {
|
|
|
8581
8608
|
},
|
|
8582
8609
|
},
|
|
8583
8610
|
{
|
|
8584
|
-
visible: !!(this.isEditMode && this.withSideBar),
|
|
8611
|
+
visible: !!(!this.isEditMode && this.withSideBar),
|
|
8585
8612
|
label: this.translateService.instant("hcm.payroll.edit"),
|
|
8586
8613
|
command: () => {
|
|
8587
8614
|
if (this.isAllowToEditHistorical) {
|
|
@@ -8622,6 +8649,9 @@ let HistoricalPixAccountComponent = class HistoricalPixAccountComponent {
|
|
|
8622
8649
|
}
|
|
8623
8650
|
ngOnInit() {
|
|
8624
8651
|
this.formGroup.setControl(this.fieldFormGroup, this.historicalPixAccountList);
|
|
8652
|
+
this.sharedStateService.showButton$.subscribe((value) => {
|
|
8653
|
+
this.showButtonView = value;
|
|
8654
|
+
});
|
|
8625
8655
|
}
|
|
8626
8656
|
ngOnChanges(changes) {
|
|
8627
8657
|
if (changes['listDataReciever'] && changes['listDataReciever'].currentValue) {
|
|
@@ -8683,13 +8713,6 @@ let HistoricalPixAccountComponent = class HistoricalPixAccountComponent {
|
|
|
8683
8713
|
this.pixAccountItemInput = {};
|
|
8684
8714
|
this.visible = true;
|
|
8685
8715
|
}
|
|
8686
|
-
isNotAllowMessage() {
|
|
8687
|
-
this.messageService.add({
|
|
8688
|
-
severity: "error",
|
|
8689
|
-
summary: this.translateService.instant("hcm.payroll.error"),
|
|
8690
|
-
detail: this.translateService.instant("hcm.payroll.permission_error_not_allowed"),
|
|
8691
|
-
});
|
|
8692
|
-
}
|
|
8693
8716
|
deleteAnnuityItem(index) {
|
|
8694
8717
|
let newlist = [...this.getHistoricalPixAccountList()];
|
|
8695
8718
|
newlist.sort(compareValues(this.orderBy.field, this.orderBy.direction));
|
|
@@ -8822,7 +8845,7 @@ HistoricalPixAccountComponent.ctorParameters = () => [
|
|
|
8822
8845
|
{ type: TranslateService },
|
|
8823
8846
|
{ type: ChangeDetectorRef },
|
|
8824
8847
|
{ type: FormBuilder },
|
|
8825
|
-
{ type:
|
|
8848
|
+
{ type: SharedStateService }
|
|
8826
8849
|
];
|
|
8827
8850
|
__decorate([
|
|
8828
8851
|
ViewChild(CustomFieldsComponent$1, { static: false })
|
|
@@ -8903,8 +8926,8 @@ HistoricalPixAccountComponent = __decorate([
|
|
|
8903
8926
|
Component({
|
|
8904
8927
|
// tslint:disable-next-line:component-selector
|
|
8905
8928
|
selector: "c-historical-pix-account",
|
|
8906
|
-
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\"
|
|
8907
|
-
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}"]
|
|
8929
|
+
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 *ngIf=\"showButtonView\" [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 *ngIf=\"showButtonView\" 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 <!-- Campo pixKeyType -->\n <td [pTooltip]=\"rowData?.pixKeyType.value\" tooltipPosition=\"top\" showDelay=\"500\">\n <input type=\"text\" [(ngModel)]=\"rowData.pixKeyType.value\" class=\"editable-input\" />\n </td>\n\n <!-- Campo pixKey -->\n <ng-container [ngSwitch]=\"rowData?.pixKeyType.key\">\n <td *ngSwitchCase=\"'TELEPHONE'\" [pTooltip]=\"getFormattedTelephoneNumber(rowData?.pixKey)\" tooltipPosition=\"top\" showDelay=\"500\">\n <input type=\"text\" [(ngModel)]=\"rowData.pixKey\" class=\"editable-input\" />\n </td>\n <td *ngSwitchCase=\"'CPF'\" [pTooltip]=\"getFormattedCpf(rowData?.pixKey)\" tooltipPosition=\"top\" showDelay=\"500\">\n <input type=\"text\" [(ngModel)]=\"rowData.pixKey\" class=\"editable-input\" />\n </td>\n <td *ngSwitchCase=\"'CNPJ'\" [pTooltip]=\"getFormattedCnpj(rowData?.pixKey)\" tooltipPosition=\"top\" showDelay=\"500\">\n <input type=\"text\" [(ngModel)]=\"rowData.pixKey\" class=\"editable-input\" />\n </td>\n <td *ngSwitchDefault [pTooltip]=\"rowData?.pixKey\" tooltipPosition=\"top\" showDelay=\"500\">\n <input type=\"text\" [(ngModel)]=\"rowData.pixKey\" class=\"editable-input\" />\n </td>\n </ng-container>\n\n <!-- Campo percentage -->\n <td [pTooltip]=\"getFormattedPercentage(rowData?.percentage)\" tooltipPosition=\"top\" showDelay=\"500\">\n <input type=\"number\" [(ngModel)]=\"rowData.percentage\" class=\"editable-input\" />\n </td>\n </tr>\n <td id=\"col-actions-{{key}}\" class=\"col-actions \"\n *ngIf=\"actions && actions(rowData, key)?.length && showButtonView\">\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\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",
|
|
8930
|
+
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}.editable-input{width:100%;border:1px solid #ccc;padding:8px;border-radius:4px;font-size:14px;box-sizing:border-box;height:36px}"]
|
|
8908
8931
|
})
|
|
8909
8932
|
], HistoricalPixAccountComponent);
|
|
8910
8933
|
|
|
@@ -9073,9 +9096,10 @@ class GenericValidator {
|
|
|
9073
9096
|
}
|
|
9074
9097
|
|
|
9075
9098
|
let HistoricalPixAccountFormComponent = class HistoricalPixAccountFormComponent {
|
|
9076
|
-
constructor(formBuilder, cd) {
|
|
9099
|
+
constructor(formBuilder, cd, sharedStateService) {
|
|
9077
9100
|
this.formBuilder = formBuilder;
|
|
9078
9101
|
this.cd = cd;
|
|
9102
|
+
this.sharedStateService = sharedStateService;
|
|
9079
9103
|
this.withSideBar = true;
|
|
9080
9104
|
this.isEditMode = false;
|
|
9081
9105
|
this.paramsForm = new FormGroup({});
|
|
@@ -9089,6 +9113,7 @@ let HistoricalPixAccountFormComponent = class HistoricalPixAccountFormComponent
|
|
|
9089
9113
|
this.visibleBtnSave = true;
|
|
9090
9114
|
this.isView = false;
|
|
9091
9115
|
this.isShowPixKeyFieldValidatorMessage = false;
|
|
9116
|
+
this.hideFields = this.sharedStateService.hideField$;
|
|
9092
9117
|
this.createFormGroup();
|
|
9093
9118
|
this.registerSubjects();
|
|
9094
9119
|
}
|
|
@@ -9372,7 +9397,8 @@ let HistoricalPixAccountFormComponent = class HistoricalPixAccountFormComponent
|
|
|
9372
9397
|
};
|
|
9373
9398
|
HistoricalPixAccountFormComponent.ctorParameters = () => [
|
|
9374
9399
|
{ type: FormBuilder },
|
|
9375
|
-
{ type: ChangeDetectorRef }
|
|
9400
|
+
{ type: ChangeDetectorRef },
|
|
9401
|
+
{ type: SharedStateService }
|
|
9376
9402
|
];
|
|
9377
9403
|
__decorate([
|
|
9378
9404
|
ViewChild(CustomFieldsComponent$1, { static: true })
|
|
@@ -9419,8 +9445,8 @@ __decorate([
|
|
|
9419
9445
|
HistoricalPixAccountFormComponent = __decorate([
|
|
9420
9446
|
Component({
|
|
9421
9447
|
selector: "pix-account",
|
|
9422
|
-
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",
|
|
9423
|
-
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}"]
|
|
9448
|
+
template: "<div id=\"main\">\n <form *ngIf=\"!(hideFields | async)\" [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",
|
|
9449
|
+
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}.editable-input{width:100%;border:1px solid #ccc;padding:8px;border-radius:4px;font-size:14px;box-sizing:border-box;height:36px}"]
|
|
9424
9450
|
})
|
|
9425
9451
|
], HistoricalPixAccountFormComponent);
|
|
9426
9452
|
|
|
@@ -9504,7 +9530,7 @@ HistoricalPixAccountListService = __decorate([
|
|
|
9504
9530
|
|
|
9505
9531
|
const moment$e = moment_;
|
|
9506
9532
|
let HistoricalPixAccountListComponent = class HistoricalPixAccountListComponent {
|
|
9507
|
-
constructor(confirmationService, translateService, activatedRoute, cd, router, messageService, historicalPixAccountListService) {
|
|
9533
|
+
constructor(confirmationService, translateService, activatedRoute, cd, router, messageService, historicalPixAccountListService, sharedStateService) {
|
|
9508
9534
|
this.confirmationService = confirmationService;
|
|
9509
9535
|
this.translateService = translateService;
|
|
9510
9536
|
this.activatedRoute = activatedRoute;
|
|
@@ -9512,11 +9538,13 @@ let HistoricalPixAccountListComponent = class HistoricalPixAccountListComponent
|
|
|
9512
9538
|
this.router = router;
|
|
9513
9539
|
this.messageService = messageService;
|
|
9514
9540
|
this.historicalPixAccountListService = historicalPixAccountListService;
|
|
9541
|
+
this.sharedStateService = sharedStateService;
|
|
9515
9542
|
this.endPoint = "hcm/payroll/queries/historicalEmployeePixQuery";
|
|
9516
9543
|
this.keyPayload = "historicalEmployeePix";
|
|
9517
9544
|
this.withSidebar = true;
|
|
9518
9545
|
this.isOnlyView = new EventEmitter();
|
|
9519
9546
|
this.enableView = new EventEmitter();
|
|
9547
|
+
this.isEditJudicialDependentPix = new EventEmitter();
|
|
9520
9548
|
this.ngUnsubscribe = new Subject();
|
|
9521
9549
|
this.loading = true;
|
|
9522
9550
|
this.columns = [
|
|
@@ -9524,18 +9552,6 @@ let HistoricalPixAccountListComponent = class HistoricalPixAccountListComponent
|
|
|
9524
9552
|
label: this.translateService.instant("hcm.payroll.historical_pix_account_label_date_change"),
|
|
9525
9553
|
field: "dateChange",
|
|
9526
9554
|
},
|
|
9527
|
-
{
|
|
9528
|
-
label: this.translateService.instant("hcm.payroll.historical_pix_account_label_pix_key_type"),
|
|
9529
|
-
field: "pixKeyType.value",
|
|
9530
|
-
},
|
|
9531
|
-
{
|
|
9532
|
-
label: this.translateService.instant("hcm.payroll.historical_pix_account_label_pix_key"),
|
|
9533
|
-
field: "pixKey",
|
|
9534
|
-
},
|
|
9535
|
-
{
|
|
9536
|
-
label: this.translateService.instant("hcm.payroll.historical_pix_account_label_percentage"),
|
|
9537
|
-
field: "percentage",
|
|
9538
|
-
},
|
|
9539
9555
|
{
|
|
9540
9556
|
label: this.translateService.instant("hcm.payroll.employees_movimentation_historical_pix_account_label_qtd_account"),
|
|
9541
9557
|
field: "numberOfPixAccount",
|
|
@@ -9548,6 +9564,7 @@ let HistoricalPixAccountListComponent = class HistoricalPixAccountListComponent
|
|
|
9548
9564
|
ngOnDestroy() {
|
|
9549
9565
|
this.ngUnsubscribe.next();
|
|
9550
9566
|
this.ngUnsubscribe.complete();
|
|
9567
|
+
this.unsubscribe();
|
|
9551
9568
|
}
|
|
9552
9569
|
ngAfterViewInit() {
|
|
9553
9570
|
this.cd.detectChanges();
|
|
@@ -9555,33 +9572,18 @@ let HistoricalPixAccountListComponent = class HistoricalPixAccountListComponent
|
|
|
9555
9572
|
onLazyLoad(payload) {
|
|
9556
9573
|
payload.forEach((value) => {
|
|
9557
9574
|
value.dateChange = moment$e(value.dateChange).format(this.dateFormat);
|
|
9558
|
-
value.pixKey = this.formatPixKeyByType(value.pixKeyType, value.pixKey);
|
|
9559
|
-
value.percentage = FormatUtilsService.getFormattedPercentage(value.percentage);
|
|
9560
9575
|
});
|
|
9561
9576
|
this.onGridLoad(payload);
|
|
9562
9577
|
this.loading = false;
|
|
9563
9578
|
}
|
|
9564
|
-
formatPixKeyByType(pixKeyType, pixKey) {
|
|
9565
|
-
const keyType = pixKeyType ? pixKeyType.key.toUpperCase() : "";
|
|
9566
|
-
if (keyType === "TELEPHONE") {
|
|
9567
|
-
return FormatUtilsService.getFormattedTelephoneNumber(pixKey);
|
|
9568
|
-
}
|
|
9569
|
-
else if (keyType === "CPF") {
|
|
9570
|
-
return FormatUtilsService.getFormattedCpf(pixKey);
|
|
9571
|
-
}
|
|
9572
|
-
else if (keyType === "CNPJ") {
|
|
9573
|
-
return FormatUtilsService.getFormattedCnpj(pixKey);
|
|
9574
|
-
}
|
|
9575
|
-
else {
|
|
9576
|
-
return pixKey;
|
|
9577
|
-
}
|
|
9578
|
-
}
|
|
9579
9579
|
getMenuActions(rowData) {
|
|
9580
9580
|
return [
|
|
9581
9581
|
{
|
|
9582
9582
|
label: this.translateService.instant("hcm.payroll.employees_image_cropper_view"),
|
|
9583
9583
|
command: () => {
|
|
9584
9584
|
if (this.isAllowToViewHistorical) {
|
|
9585
|
+
this.sharedStateService.setHideField(true);
|
|
9586
|
+
this.sharedStateService.setShowButton(false);
|
|
9585
9587
|
const dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, this.dateFormat).format("YYYY-MM-DD");
|
|
9586
9588
|
if (this.withSidebar) {
|
|
9587
9589
|
this.isOnlyView.emit(true);
|
|
@@ -9590,6 +9592,29 @@ let HistoricalPixAccountListComponent = class HistoricalPixAccountListComponent
|
|
|
9590
9592
|
});
|
|
9591
9593
|
}
|
|
9592
9594
|
else {
|
|
9595
|
+
this.sharedStateService.setSaveButton(false);
|
|
9596
|
+
this.enableView.emit(dateChange);
|
|
9597
|
+
}
|
|
9598
|
+
}
|
|
9599
|
+
else {
|
|
9600
|
+
this.isNotAllowMessage();
|
|
9601
|
+
}
|
|
9602
|
+
},
|
|
9603
|
+
},
|
|
9604
|
+
{
|
|
9605
|
+
label: this.translateService.instant("hcm.payroll.edit"),
|
|
9606
|
+
command: () => {
|
|
9607
|
+
if (this.isAllowToEditHistorical) {
|
|
9608
|
+
this.sharedStateService.setHideField(true);
|
|
9609
|
+
this.sharedStateService.setShowButton(false);
|
|
9610
|
+
const dateChange = rowData && rowData.dateChange && moment$e(rowData.dateChange, this.dateFormat).format("YYYY-MM-DD");
|
|
9611
|
+
if (this.withSidebar) {
|
|
9612
|
+
this.router.navigate([`historical-pix-account/${dateChange}`], {
|
|
9613
|
+
relativeTo: this.activatedRoute,
|
|
9614
|
+
});
|
|
9615
|
+
}
|
|
9616
|
+
else {
|
|
9617
|
+
this.sharedStateService.setSaveButton(true);
|
|
9593
9618
|
this.enableView.emit(dateChange);
|
|
9594
9619
|
}
|
|
9595
9620
|
}
|
|
@@ -9674,9 +9699,25 @@ let HistoricalPixAccountListComponent = class HistoricalPixAccountListComponent
|
|
|
9674
9699
|
this.lastRecord = payload[0];
|
|
9675
9700
|
}
|
|
9676
9701
|
}
|
|
9702
|
+
unsubscribe() {
|
|
9703
|
+
if (this._subscription) {
|
|
9704
|
+
this._subscription.unsubscribe();
|
|
9705
|
+
}
|
|
9706
|
+
}
|
|
9707
|
+
set hideFieldsOnAdd$(subject) {
|
|
9708
|
+
this.unsubscribe();
|
|
9709
|
+
if (subject) {
|
|
9710
|
+
this._subscription = subject.subscribe((value) => {
|
|
9711
|
+
this.sharedStateService.setHideField(value);
|
|
9712
|
+
});
|
|
9713
|
+
}
|
|
9714
|
+
}
|
|
9677
9715
|
get isAllowToAddHistorical() {
|
|
9678
9716
|
return (this.permission["incluir"]);
|
|
9679
9717
|
}
|
|
9718
|
+
get isAllowToEditHistorical() {
|
|
9719
|
+
return (this.permission["editar"]);
|
|
9720
|
+
}
|
|
9680
9721
|
get isAllowToDeleteHistorical() {
|
|
9681
9722
|
return (this.permission["excluir"]);
|
|
9682
9723
|
}
|
|
@@ -9700,7 +9741,8 @@ HistoricalPixAccountListComponent.ctorParameters = () => [
|
|
|
9700
9741
|
{ type: ChangeDetectorRef },
|
|
9701
9742
|
{ type: Router },
|
|
9702
9743
|
{ type: MessageService },
|
|
9703
|
-
{ type: HistoricalPixAccountListService }
|
|
9744
|
+
{ type: HistoricalPixAccountListService },
|
|
9745
|
+
{ type: SharedStateService }
|
|
9704
9746
|
];
|
|
9705
9747
|
__decorate([
|
|
9706
9748
|
ViewChild(CustomFieldsComponent$1, { static: false })
|
|
@@ -9726,12 +9768,21 @@ __decorate([
|
|
|
9726
9768
|
__decorate([
|
|
9727
9769
|
Input()
|
|
9728
9770
|
], HistoricalPixAccountListComponent.prototype, "withSidebar", void 0);
|
|
9771
|
+
__decorate([
|
|
9772
|
+
Input()
|
|
9773
|
+
], HistoricalPixAccountListComponent.prototype, "hideField", void 0);
|
|
9729
9774
|
__decorate([
|
|
9730
9775
|
Output()
|
|
9731
9776
|
], HistoricalPixAccountListComponent.prototype, "isOnlyView", void 0);
|
|
9732
9777
|
__decorate([
|
|
9733
9778
|
Output()
|
|
9734
9779
|
], HistoricalPixAccountListComponent.prototype, "enableView", void 0);
|
|
9780
|
+
__decorate([
|
|
9781
|
+
Output()
|
|
9782
|
+
], HistoricalPixAccountListComponent.prototype, "isEditJudicialDependentPix", void 0);
|
|
9783
|
+
__decorate([
|
|
9784
|
+
Input()
|
|
9785
|
+
], HistoricalPixAccountListComponent.prototype, "hideFieldsOnAdd$", null);
|
|
9735
9786
|
__decorate([
|
|
9736
9787
|
Input()
|
|
9737
9788
|
], HistoricalPixAccountListComponent.prototype, "reloadList", null);
|
|
@@ -9776,5 +9827,5 @@ HistoricalPixAccountListModule = __decorate([
|
|
|
9776
9827
|
* Generated bundle index. Do not edit.
|
|
9777
9828
|
*/
|
|
9778
9829
|
|
|
9779
|
-
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 };
|
|
9830
|
+
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, SharedStateService, 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 };
|
|
9780
9831
|
//# sourceMappingURL=senior-gestao-pessoas-payroll-core.js.map
|