@senior-gestao-pessoas/payroll-core 8.5.4 → 8.6.1-ab5b70ca-0100-4d72-a714-b27af24c7a35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/bundles/senior-gestao-pessoas-payroll-core.umd.js +350 -2
  2. package/bundles/senior-gestao-pessoas-payroll-core.umd.js.map +1 -1
  3. package/bundles/senior-gestao-pessoas-payroll-core.umd.min.js +1 -1
  4. package/bundles/senior-gestao-pessoas-payroll-core.umd.min.js.map +1 -1
  5. package/esm2015/lib/components/data-list-rest/data-list-rest.component.js +10 -2
  6. package/esm2015/lib/components/from-to/from-to.component.js +25 -0
  7. package/esm2015/lib/components/from-to/from-to.module.js +22 -0
  8. package/esm2015/lib/components/from-to/index.js +8 -0
  9. package/esm2015/lib/components/utils/validations.js +11 -1
  10. package/esm2015/lib/services/form-comparator.service.js +208 -0
  11. package/esm2015/lib/services/services.module.js +4 -2
  12. package/esm2015/public_api.js +4 -2
  13. package/esm2015/senior-gestao-pessoas-payroll-core.js +2 -2
  14. package/esm5/lib/components/data-list-rest/data-list-rest.component.js +10 -2
  15. package/esm5/lib/components/from-to/from-to.component.js +28 -0
  16. package/esm5/lib/components/from-to/from-to.module.js +26 -0
  17. package/esm5/lib/components/from-to/index.js +8 -0
  18. package/esm5/lib/components/utils/validations.js +11 -1
  19. package/esm5/lib/services/form-comparator.service.js +278 -0
  20. package/esm5/lib/services/services.module.js +4 -2
  21. package/esm5/public_api.js +4 -2
  22. package/esm5/senior-gestao-pessoas-payroll-core.js +2 -2
  23. package/fesm2015/senior-gestao-pessoas-payroll-core.js +274 -3
  24. package/fesm2015/senior-gestao-pessoas-payroll-core.js.map +1 -1
  25. package/fesm5/senior-gestao-pessoas-payroll-core.js +347 -3
  26. package/fesm5/senior-gestao-pessoas-payroll-core.js.map +1 -1
  27. package/lib/components/data-list-rest/data-list-rest.component.d.ts +2 -0
  28. package/lib/components/from-to/from-to.component.d.ts +5 -0
  29. package/lib/components/from-to/from-to.module.d.ts +2 -0
  30. package/lib/components/from-to/index.d.ts +2 -0
  31. package/lib/components/utils/validations.d.ts +1 -0
  32. package/lib/services/form-comparator.service.d.ts +36 -0
  33. package/locale/en-US.json +4 -1
  34. package/locale/es-ES.json +4 -1
  35. package/locale/pt-BR.json +4 -1
  36. package/package.json +1 -1
  37. package/public_api.d.ts +2 -0
  38. package/senior-gestao-pessoas-payroll-core.metadata.json +1 -1
@@ -1559,6 +1559,8 @@
1559
1559
  this.first = 1;
1560
1560
  this.alwaysShowPaginator = true;
1561
1561
  this.sortMode = 'multiple';
1562
+ this.responsive = true;
1563
+ this.scrollable = false;
1562
1564
  this.lazyLoad = new core.EventEmitter();
1563
1565
  this.loadingChange = new core.EventEmitter();
1564
1566
  this.listDataChange = new core.EventEmitter();
@@ -1806,7 +1808,7 @@
1806
1808
  DataListRestComponent.decorators = [
1807
1809
  { type: core.Component, args: [{
1808
1810
  selector: 'c-data-list-rest',
1809
- template: "<div *sLoadingState=\"loading\">\n <p-table #dataListTable [id]=\"id\" class=\"sds-list\" [value]=\"listData\" [columns]=\"columns\" [paginator]=\"paginator\" [rows]=\"rows\" [first]=\"first\"\n (onLazyLoad)=\"onLazyLoad($event)\" [lazy]=\"lazy\" [alwaysShowPaginator]=\"alwaysShowPaginator\" (onPage)=\"pagination($event)\"\n [totalRecords]=\"totalRecords\" [(selection)]=\"selectedData\" [dataKey]=\"dataKey\" [sortMode]=\"sortMode\" [responsive]=\"true\"\n pageLinks=\"3\" (onHeaderCheckboxToggle)=\"onHeaderCheckboxToggle($event)\" [selectionMode]=\"selectionMode\">\n <!-- Header -->\n <ng-template pTemplate=\"header\">\n <!-- Cabe\u00E7alhos quando da table \u00E9 permitido ordenar as colunas -->\n <tr>\n <!-- Checkbox quando h\u00E1 sele\u00E7\u00E3o de linhas -->\n <th id=\"{{id}}-checkbox-header\" *ngIf=\"isMultipleSelection\" style=\"width: 2.25em\">\n <p-tableHeaderCheckbox *ngIf=\"showHeaderCheckBox\"></p-tableHeaderCheckbox>\n </th>\n <!-- Cabe\u00E7alhos das colunas da tabela -->\n <th id=\"{{id}}-col-header-{{i}}\" *ngFor=\"let col of columns; let i = index\" [pSortableColumn]=\"col.field\" [pSortableColumnDisabled]=\"!isSortable || !!col.icon\"\n [style.width]=\"col.width\" [pTooltip]=\"col.tooltip || col.label\" tooltipPosition=\"top\" showDelay=\"500\">\n {{col['label']}}\n <!-- Quando a coluna \u00E9 um \u00EDcone n\u00E3o exibe o \u00EDcone de ordena\u00E7\u00E3o da mesma -->\n <p-sortIcon *ngIf=\"isSortable && !col.icon\" [field]=\"col.field\"></p-sortIcon>\n </th>\n <!-- Cabe\u00E7alho da coluna de a\u00E7\u00F5es -->\n <th id=\"col-actions\" *ngIf=\"actions && actions()?.length\" [ngClass]=\"{ actionsSize: actions().length > 1, actionSize: actions().length === 1 }\"></th>\n </tr>\n </ng-template>\n <!-- Body -->\n <ng-template pTemplate=\"body\" let-rowData let-key=\"rowIndex\">\n <tr [pSelectableRow]=\"rowData\">\n <td id=\"{{id}}-checkbox-body-{{key}}\" *ngIf=\"isMultipleSelection\">\n <p-tableCheckbox [value]=\"rowData\"></p-tableCheckbox>\n </td>\n <td id=\"{{id}}-col-body-{{i}}-{{key}}\" *ngFor=\"let col of columns;let i = index\" [pTooltip]=\"col.icon ? '' : getFieldValue(rowData, col)\"\n tooltipPosition=\"top\" showDelay=\"500\">\n <!-- Exibe o \u00EDcone caso exista. Para isso o valor da coluna deve ser { value: string, style: object } -->\n <i *ngIf=\"col.icon\" class=\"{{rowData[col['field']]?.value}}\" [ngStyle]=\"rowData[col['field']]?.style\" aria-hidden=\"true\"></i>\n <!-- Quando n\u00E3o h\u00E1 \u00EDcone exibe o valor normal da coluna -->\n <span>{{getFieldValue(rowData, col)}}</span>\n </td>\n\n <!-- Coluna das a\u00E7\u00F5es -->\n <td id=\"col-actions-{{key}}\" class=\"col-actions\" *ngIf=\"actions && actions(rowData)?.length\">\n <s-button id=\"{{id}}-btn-actions-{{key}}\" *ngIf=\"actions(rowData).length > 1\" [label]=\"actionLabel\" priority=\"default\" [model]=\"getActions(rowData, key)\"\n [disabled]=\"false\" [auxiliary]=\"true\"></s-button>\n\n <s-button id=\"{{id}}-btn-action-{{key}}\" *ngIf=\"actions(rowData).length <= 1\" [label]=\"actions(rowData, key)[0].label\" priority=\"default\"\n (click)=\"actions(rowData, key)[0].command()\" [disabled]=\"false\" [auxiliary]=\"true\"></s-button>\n </td>\n </tr>\n </ng-template>\n\n <ng-template pTemplate=\"paginatorright\">\n <span>{{recordsMessage}}</span>\n </ng-template>\n\n <ng-template pTemplate=\"emptymessage\" let-columns>\n <tr>\n <td id=\"{{id}}-empty-message\" [attr.colspan]=\"columns?.length + (isMultipleSelection ? 2 : 1)\">{{emptyMessage}}</td>\n </tr>\n </ng-template>\n </p-table>\n</div>\n",
1811
+ template: "<div *sLoadingState=\"loading\">\n <p-table #dataListTable [id]=\"id\" class=\"sds-list\" [value]=\"listData\" [columns]=\"columns\" [paginator]=\"paginator\" [rows]=\"rows\" [first]=\"first\"\n (onLazyLoad)=\"onLazyLoad($event)\" [lazy]=\"lazy\" [alwaysShowPaginator]=\"alwaysShowPaginator\" (onPage)=\"pagination($event)\"\n [totalRecords]=\"totalRecords\" [(selection)]=\"selectedData\" [dataKey]=\"dataKey\" [sortMode]=\"sortMode\" [responsive]=\"responsive\" [scrollable]=\"scrollable\"\n pageLinks=\"3\" (onHeaderCheckboxToggle)=\"onHeaderCheckboxToggle($event)\" [selectionMode]=\"selectionMode\">\n <!-- Colgroup -->\n <ng-template pTemplate=\"colgroup\" let-coumns>\n <colgroup>\n <col *ngFor=\"let col of columns; let i = index\"\n [ngClass]=\"'col-'+i+' col-scroll-resize'\"/>\n <col [ngClass]=\"'col-'+ (columns?.length || 0) +' col-scroll-resize'\"/>\n </colgroup>\n </ng-template>\n <!-- Header -->\n <ng-template pTemplate=\"header\">\n <!-- Cabe\u00E7alhos quando da table \u00E9 permitido ordenar as colunas -->\n <tr>\n <!-- Checkbox quando h\u00E1 sele\u00E7\u00E3o de linhas -->\n <th id=\"{{id}}-checkbox-header\" *ngIf=\"isMultipleSelection\" style=\"width: 2.25em\">\n <p-tableHeaderCheckbox *ngIf=\"showHeaderCheckBox\"></p-tableHeaderCheckbox>\n </th>\n <!-- Cabe\u00E7alhos das colunas da tabela -->\n <th id=\"{{id}}-col-header-{{i}}\" *ngFor=\"let col of columns; let i = index\" [pSortableColumn]=\"col.field\" [pSortableColumnDisabled]=\"!isSortable || !!col.icon\"\n [style.width]=\"col.width\" [pTooltip]=\"col.tooltip || col.label\" tooltipPosition=\"top\" showDelay=\"500\">\n {{col['label']}}\n <!-- Quando a coluna \u00E9 um \u00EDcone n\u00E3o exibe o \u00EDcone de ordena\u00E7\u00E3o da mesma -->\n <p-sortIcon *ngIf=\"isSortable && !col.icon\" [field]=\"col.field\"></p-sortIcon>\n </th>\n <!-- Cabe\u00E7alho da coluna de a\u00E7\u00F5es -->\n <th id=\"col-actions\" *ngIf=\"actions && actions()?.length\" [ngClass]=\"{ actionsSize: actions().length > 1, actionSize: actions().length === 1 }\"></th>\n </tr>\n </ng-template>\n <!-- Body -->\n <ng-template pTemplate=\"body\" let-rowData let-key=\"rowIndex\">\n <tr [pSelectableRow]=\"rowData\">\n <td id=\"{{id}}-checkbox-body-{{key}}\" *ngIf=\"isMultipleSelection\">\n <p-tableCheckbox [value]=\"rowData\"></p-tableCheckbox>\n </td>\n <td id=\"{{id}}-col-body-{{i}}-{{key}}\" *ngFor=\"let col of columns;let i = index\" [pTooltip]=\"col.icon ? '' : getFieldValue(rowData, col)\"\n tooltipPosition=\"top\" showDelay=\"500\">\n <!-- Exibe o \u00EDcone caso exista. Para isso o valor da coluna deve ser { value: string, style: object } -->\n <i *ngIf=\"col.icon\" class=\"{{rowData[col['field']]?.value}}\" [ngStyle]=\"rowData[col['field']]?.style\" aria-hidden=\"true\"></i>\n <!-- Quando n\u00E3o h\u00E1 \u00EDcone exibe o valor normal da coluna -->\n <span>{{getFieldValue(rowData, col)}}</span>\n </td>\n\n <!-- Coluna das a\u00E7\u00F5es -->\n <td id=\"col-actions-{{key}}\" class=\"col-actions\" *ngIf=\"actions && actions(rowData)?.length\">\n <s-button id=\"{{id}}-btn-actions-{{key}}\" *ngIf=\"actions(rowData).length > 1\" [label]=\"actionLabel\" priority=\"default\" [model]=\"getActions(rowData, key)\"\n [disabled]=\"false\" [auxiliary]=\"true\"></s-button>\n\n <s-button id=\"{{id}}-btn-action-{{key}}\" *ngIf=\"actions(rowData).length <= 1\" [label]=\"actions(rowData, key)[0].label\" priority=\"default\"\n (click)=\"actions(rowData, key)[0].command()\" [disabled]=\"false\" [auxiliary]=\"true\"></s-button>\n </td>\n </tr>\n </ng-template>\n\n <ng-template pTemplate=\"paginatorright\">\n <span>{{recordsMessage}}</span>\n </ng-template>\n\n <ng-template pTemplate=\"emptymessage\" let-columns>\n <tr>\n <td id=\"{{id}}-empty-message\" [attr.colspan]=\"columns?.length + (isMultipleSelection ? 2 : 1)\">{{emptyMessage}}</td>\n </tr>\n </ng-template>\n </p-table>\n</div>\n",
1810
1812
  encapsulation: core.ViewEncapsulation.None,
1811
1813
  providers: [DataListRestService],
1812
1814
  styles: ["app-data-list p-table .ui-table .ui-table-tbody>tr>td,app-data-list p-table .ui-table .ui-table-thead>tr>th{text-overflow:ellipsis;white-space:nowrap!important}app-data-list p-table .ui-paginator .ui-paginator-right-content{margin-left:auto}.actionsSize{width:11rem}.actionSize{width:18rem}body .ui-tooltip{max-width:22.3em!important}@media screen and (max-width:478px){.ui-paginator-right-content{display:none}}"]
@@ -1841,6 +1843,8 @@
1841
1843
  pluralMessageRecords: [{ type: core.Input }],
1842
1844
  keyPayload: [{ type: core.Input }],
1843
1845
  initParameters: [{ type: core.Input }],
1846
+ responsive: [{ type: core.Input }],
1847
+ scrollable: [{ type: core.Input }],
1844
1848
  lazyLoad: [{ type: core.Output }],
1845
1849
  loadingChange: [{ type: core.Output }],
1846
1850
  listDataChange: [{ type: core.Output }],
@@ -1903,6 +1907,10 @@
1903
1907
  /** @type {?} */
1904
1908
  DataListRestComponent.prototype.initParameters;
1905
1909
  /** @type {?} */
1910
+ DataListRestComponent.prototype.responsive;
1911
+ /** @type {?} */
1912
+ DataListRestComponent.prototype.scrollable;
1913
+ /** @type {?} */
1906
1914
  DataListRestComponent.prototype.lazyLoad;
1907
1915
  /** @type {?} */
1908
1916
  DataListRestComponent.prototype.loadingChange;
@@ -8482,6 +8490,16 @@
8482
8490
  var regex = /[[\]!@#$%&*_+=`´{}^~<>.,:;?|()\/\\-]/;
8483
8491
  return !regex.test(fullName);
8484
8492
  }
8493
+ /**
8494
+ * @param {?} msg
8495
+ * @return {?}
8496
+ */
8497
+ function removeWhiteSpaces(msg) {
8498
+ if (msg && String(msg)) {
8499
+ return String(msg).replace(/\s/g, "");
8500
+ }
8501
+ return String(msg);
8502
+ }
8485
8503
  /**
8486
8504
  * @param {?} pis
8487
8505
  * @return {?}
@@ -10021,6 +10039,281 @@
10021
10039
  WorkflowDataService.prototype._draftJSON;
10022
10040
  }
10023
10041
 
10042
+ /**
10043
+ * @fileoverview added by tsickle
10044
+ * Generated from: lib/services/form-comparator.service.ts
10045
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
10046
+ */
10047
+ /**
10048
+ * @record
10049
+ */
10050
+ function Divergence() { }
10051
+ if (false) {
10052
+ /** @type {?} */
10053
+ Divergence.prototype.oldValue;
10054
+ /** @type {?} */
10055
+ Divergence.prototype.newValue;
10056
+ }
10057
+ /**
10058
+ * @record
10059
+ */
10060
+ function DivergenceArray() { }
10061
+ if (false) {
10062
+ /** @type {?} */
10063
+ DivergenceArray.prototype.key;
10064
+ }
10065
+ var FormComparatorService = /** @class */ (function () {
10066
+ function FormComparatorService() {
10067
+ this.resetDivergentFormData();
10068
+ }
10069
+ /**
10070
+ * @return {?}
10071
+ */
10072
+ FormComparatorService.prototype.resetDivergentFormData = /**
10073
+ * @return {?}
10074
+ */
10075
+ function () {
10076
+ this._divergentFormData = {};
10077
+ };
10078
+ /**
10079
+ * checkFormDisagreements
10080
+ *
10081
+ * @description
10082
+ * Checa se existem divergẽncias entre os objetos armazenados nas
10083
+ * propriedades *oldFormData* e *newFormData*.
10084
+ *
10085
+ * `Se forem idênticos:`
10086
+ * levanta uma exceção.
10087
+ *
10088
+ * `Se houverem divergências:`
10089
+ * as armazena na propriedade divergentFormData.
10090
+ */
10091
+ /**
10092
+ * checkFormDisagreements
10093
+ *
10094
+ * \@description
10095
+ * Checa se existem divergẽncias entre os objetos armazenados nas
10096
+ * propriedades *oldFormData* e *newFormData*.
10097
+ *
10098
+ * `Se forem idênticos:`
10099
+ * levanta uma exceção.
10100
+ *
10101
+ * `Se houverem divergências:`
10102
+ * as armazena na propriedade divergentFormData.
10103
+ * @param {?=} ignoreId
10104
+ * @return {?}
10105
+ */
10106
+ FormComparatorService.prototype.checkFormDisagreements = /**
10107
+ * checkFormDisagreements
10108
+ *
10109
+ * \@description
10110
+ * Checa se existem divergẽncias entre os objetos armazenados nas
10111
+ * propriedades *oldFormData* e *newFormData*.
10112
+ *
10113
+ * `Se forem idênticos:`
10114
+ * levanta uma exceção.
10115
+ *
10116
+ * `Se houverem divergências:`
10117
+ * as armazena na propriedade divergentFormData.
10118
+ * @param {?=} ignoreId
10119
+ * @return {?}
10120
+ */
10121
+ function (ignoreId) {
10122
+ var _this = this;
10123
+ if (ignoreId === void 0) { ignoreId = false; }
10124
+ this.resetDivergentFormData();
10125
+ this._sanitizeEmptyStrings();
10126
+ if (ignoreId)
10127
+ this._removeIdsFromFormDatas();
10128
+ if (this._oldFormData === this._newFormData) {
10129
+ this._throwIdenticalMessage();
10130
+ }
10131
+ else {
10132
+ Object.keys(this._oldFormData).forEach((/**
10133
+ * @param {?} key
10134
+ * @return {?}
10135
+ */
10136
+ function (key) {
10137
+ if (_this._oldFormData[key] !== _this._newFormData[key]) {
10138
+ _this._divergentFormData[key] = _this._createDivergencePair(key);
10139
+ }
10140
+ }));
10141
+ Object.keys(this._newFormData).forEach((/**
10142
+ * @param {?} key
10143
+ * @return {?}
10144
+ */
10145
+ function (key) {
10146
+ if (_this._newFormData[key] !== _this._oldFormData[key]) {
10147
+ _this._divergentFormData[key] = _this._createDivergencePair(key);
10148
+ }
10149
+ }));
10150
+ if (this._isDivergentFormDataEmpty)
10151
+ this._throwIdenticalMessage();
10152
+ }
10153
+ };
10154
+ /**
10155
+ * @private
10156
+ * @return {?}
10157
+ */
10158
+ FormComparatorService.prototype._removeIdsFromFormDatas = /**
10159
+ * @private
10160
+ * @return {?}
10161
+ */
10162
+ function () {
10163
+ [this._oldFormData, this._newFormData].forEach((/**
10164
+ * @param {?} formData
10165
+ * @return {?}
10166
+ */
10167
+ function (formData) {
10168
+ delete formData["id"];
10169
+ }));
10170
+ };
10171
+ /**
10172
+ * @private
10173
+ * @return {?}
10174
+ */
10175
+ FormComparatorService.prototype._sanitizeEmptyStrings = /**
10176
+ * @private
10177
+ * @return {?}
10178
+ */
10179
+ function () {
10180
+ [this._oldFormData, this._newFormData].forEach((/**
10181
+ * @param {?} formData
10182
+ * @return {?}
10183
+ */
10184
+ function (formData) {
10185
+ Object.keys(formData).map((/**
10186
+ * @param {?} key
10187
+ * @return {?}
10188
+ */
10189
+ function (key) {
10190
+ if (formData[key] === "")
10191
+ formData[key] = null;
10192
+ }));
10193
+ }));
10194
+ };
10195
+ /**
10196
+ * @private
10197
+ * @param {?} key
10198
+ * @return {?}
10199
+ */
10200
+ FormComparatorService.prototype._createDivergencePair = /**
10201
+ * @private
10202
+ * @param {?} key
10203
+ * @return {?}
10204
+ */
10205
+ function (key) {
10206
+ /** @type {?} */
10207
+ var divergence = { oldValue: null, newValue: null };
10208
+ divergence.oldValue = this._oldFormData[key];
10209
+ divergence.newValue = this._newFormData[key];
10210
+ return divergence;
10211
+ };
10212
+ /**
10213
+ * @private
10214
+ * @return {?}
10215
+ */
10216
+ FormComparatorService.prototype._throwIdenticalMessage = /**
10217
+ * @private
10218
+ * @return {?}
10219
+ */
10220
+ function () {
10221
+ throw new Error("The objects oldFormData and newFormData are identical");
10222
+ };
10223
+ Object.defineProperty(FormComparatorService.prototype, "oldFormData", {
10224
+ get: /**
10225
+ * @return {?}
10226
+ */
10227
+ function () {
10228
+ return this._oldFormData;
10229
+ },
10230
+ set: /**
10231
+ * @param {?} v
10232
+ * @return {?}
10233
+ */
10234
+ function (v) {
10235
+ this._oldFormData = v;
10236
+ },
10237
+ enumerable: true,
10238
+ configurable: true
10239
+ });
10240
+ Object.defineProperty(FormComparatorService.prototype, "newFormData", {
10241
+ get: /**
10242
+ * @return {?}
10243
+ */
10244
+ function () {
10245
+ return this._newFormData;
10246
+ },
10247
+ set: /**
10248
+ * @param {?} v
10249
+ * @return {?}
10250
+ */
10251
+ function (v) {
10252
+ this._newFormData = v;
10253
+ },
10254
+ enumerable: true,
10255
+ configurable: true
10256
+ });
10257
+ Object.defineProperty(FormComparatorService.prototype, "divergentFormArray", {
10258
+ get: /**
10259
+ * @return {?}
10260
+ */
10261
+ function () {
10262
+ /** @type {?} */
10263
+ var divergentFormArray = [];
10264
+ Object.entries(this._divergentFormData).map((/**
10265
+ * @param {?} __0
10266
+ * @return {?}
10267
+ */
10268
+ function (_a) {
10269
+ var _b = __read(_a, 2), key = _b[0], divergence = _b[1];
10270
+ /** @type {?} */
10271
+ var object = { key: null, oldValue: null, newValue: null };
10272
+ object.key = key;
10273
+ object.oldValue = divergence.oldValue;
10274
+ object.newValue = divergence.newValue;
10275
+ divergentFormArray.push(object);
10276
+ }));
10277
+ return divergentFormArray;
10278
+ },
10279
+ enumerable: true,
10280
+ configurable: true
10281
+ });
10282
+ Object.defineProperty(FormComparatorService.prototype, "_isDivergentFormDataEmpty", {
10283
+ get: /**
10284
+ * @return {?}
10285
+ */
10286
+ function () {
10287
+ return Object.entries(this._divergentFormData).length === 0;
10288
+ },
10289
+ enumerable: true,
10290
+ configurable: true
10291
+ });
10292
+ FormComparatorService.decorators = [
10293
+ { type: core.Injectable }
10294
+ ];
10295
+ /** @nocollapse */
10296
+ FormComparatorService.ctorParameters = function () { return []; };
10297
+ return FormComparatorService;
10298
+ }());
10299
+ if (false) {
10300
+ /**
10301
+ * @type {?}
10302
+ * @private
10303
+ */
10304
+ FormComparatorService.prototype._oldFormData;
10305
+ /**
10306
+ * @type {?}
10307
+ * @private
10308
+ */
10309
+ FormComparatorService.prototype._newFormData;
10310
+ /**
10311
+ * @type {?}
10312
+ * @private
10313
+ */
10314
+ FormComparatorService.prototype._divergentFormData;
10315
+ }
10316
+
10024
10317
  /**
10025
10318
  * @fileoverview added by tsickle
10026
10319
  * Generated from: lib/services/services.module.ts
@@ -10038,7 +10331,8 @@
10038
10331
  LookupParametersService,
10039
10332
  AutocompleteParametersService,
10040
10333
  ReportService,
10041
- WorkflowDataService
10334
+ WorkflowDataService,
10335
+ FormComparatorService
10042
10336
  ]
10043
10337
  },] }
10044
10338
  ];
@@ -16830,6 +17124,56 @@
16830
17124
  return EmployeeSelectorModule;
16831
17125
  }());
16832
17126
 
17127
+ /**
17128
+ * @fileoverview added by tsickle
17129
+ * Generated from: lib/components/employee-selector/index.ts
17130
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
17131
+ */
17132
+
17133
+ /**
17134
+ * @fileoverview added by tsickle
17135
+ * Generated from: lib/components/from-to/from-to.component.ts
17136
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
17137
+ */
17138
+ var FromToComponent = /** @class */ (function () {
17139
+ function FromToComponent() {
17140
+ }
17141
+ FromToComponent.decorators = [
17142
+ { type: core.Component, args: [{
17143
+ selector: "from-to",
17144
+ template: "<div id=\"from-to\" class=\"ui-g ui-fluid\" *ngIf=\"divergentFormData\">\n <div class=\"ui-g-12\">\n <!-- Painel Collapsable -->\n <p-panel\n class=\"ui-g-12 ui-fluid form-group\"\n header=\"{{ 'hcm.payroll.disagreements' | translate }}\"\n [toggleable]=\"true\"\n [collapsed]=\"false\"\n >\n <section id=\"from-to-content\" class=\"ui-g ui-fluid form-group\">\n <!-- INICIO DE SE\u00C7\u00C3O: DE (ANTES): -->\n <p-panel class=\"ui-g-6 ui-fluid form-group\" header=\"{{ 'hcm.payroll.from' | translate }}\">\n <section id=\"from-content\" class=\"ui-g ui-fluid\">\n <ng-container *ngFor=\"let divergence of divergentFormData\">\n <div class=\"ui-g-6\">\n <label for=\"{{divergence.key}}-from\">{{ divergence.key }}</label>\n <input\n pInputText\n type=\"text\"\n name=\"{{divergence.key}}-from\"\n id=\"{{divergence.key}}-from\"\n value=\"{{ divergence.oldValue }}\"\n />\n\n </div>\n </ng-container>\n </section>\n </p-panel>\n <!-- FINAL DE SE\u00C7\u00C3O: DE (ANTES): -->\n\n <!-- INICIO DE SE\u00C7\u00C3O: PARA (DEPOIS): -->\n <p-panel class=\"ui-g-6 ui-fluid form-group\" header=\"{{ 'hcm.payroll.to' | translate }}\">\n <section id=\"to-content\" class=\"ui-g ui-fluid\">\n <ng-container *ngFor=\"let divergence of divergentFormData\">\n <div class=\"ui-g-6\">\n <label for=\"{{divergence.key}}-to\">{{ divergence.key }}</label>\n <input\n pInputText\n type=\"text\"\n name=\"{{divergence.key}}-to\"\n id=\"{{divergence.key}}-to\"\n value=\"{{ divergence.newValue }}\"\n />\n </div>\n </ng-container>\n </section>\n </p-panel>\n <!-- FINAL DE SE\u00C7\u00C3O: PARA (DEPOIS): -->\n </section>\n </p-panel>\n </div>\n</div>\n"
17145
+ }] }
17146
+ ];
17147
+ /** @nocollapse */
17148
+ FromToComponent.ctorParameters = function () { return []; };
17149
+ FromToComponent.propDecorators = {
17150
+ divergentFormData: [{ type: core.Input }]
17151
+ };
17152
+ return FromToComponent;
17153
+ }());
17154
+ if (false) {
17155
+ /** @type {?} */
17156
+ FromToComponent.prototype.divergentFormData;
17157
+ }
17158
+
17159
+ /**
17160
+ * @fileoverview added by tsickle
17161
+ * Generated from: lib/components/from-to/from-to.module.ts
17162
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
17163
+ */
17164
+ var FromToModule = /** @class */ (function () {
17165
+ function FromToModule() {
17166
+ }
17167
+ FromToModule.decorators = [
17168
+ { type: core.NgModule, args: [{
17169
+ imports: [common.CommonModule, panel.PanelModule, core$1.TranslateModule, forms.ReactiveFormsModule, inputtext.InputTextModule],
17170
+ declarations: [FromToComponent],
17171
+ exports: [FromToComponent],
17172
+ },] }
17173
+ ];
17174
+ return FromToModule;
17175
+ }());
17176
+
16833
17177
  exports.AdmissionDraftSummaryComponent = AdmissionDraftSummaryComponent;
16834
17178
  exports.AdmissionDraftSummaryModule = AdmissionDraftSummaryModule;
16835
17179
  exports.AdmissionDraftSummaryService = AdmissionDraftSummaryService;
@@ -16865,6 +17209,9 @@
16865
17209
  exports.FieldValidatorModule = FieldValidatorModule;
16866
17210
  exports.FileUploadComponent = FileUploadComponent;
16867
17211
  exports.FileUploadCoreModule = FileUploadCoreModule;
17212
+ exports.FormComparatorService = FormComparatorService;
17213
+ exports.FromToComponent = FromToComponent;
17214
+ exports.FromToModule = FromToModule;
16868
17215
  exports.HistoricalBankAccountComponent = HistoricalBankAccountComponent;
16869
17216
  exports.HistoricalBankAccountListComponent = HistoricalBankAccountListComponent;
16870
17217
  exports.HistoricalBankAccountListModule = HistoricalBankAccountListModule;
@@ -16979,6 +17326,7 @@
16979
17326
  exports.numberOrZero = numberOrZero;
16980
17327
  exports.removeCharacteresSpecials = removeCharacteresSpecials;
16981
17328
  exports.removeEmpty = removeEmpty;
17329
+ exports.removeWhiteSpaces = removeWhiteSpaces;
16982
17330
  exports.setCustonFields = setCustonFields;
16983
17331
  exports.setDisableField = setDisableField;
16984
17332
  exports.setErrors = setErrors;