dts-backoffice-util 2.8.2 → 3.0.0

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 (55) hide show
  1. package/bundles/dts-backoffice-util.umd.js +464 -1125
  2. package/bundles/dts-backoffice-util.umd.js.map +1 -1
  3. package/bundles/dts-backoffice-util.umd.min.js +1 -1
  4. package/bundles/dts-backoffice-util.umd.min.js.map +1 -1
  5. package/esm2015/dts-backoffice-util.js +3 -2
  6. package/esm2015/lib/components/totvs-schedule-execution/totvs-schedule-execution.component.js +3 -2
  7. package/esm2015/lib/components/totvs-schedule-execution/totvs-schedule-execution.model.js +3 -2
  8. package/esm2015/lib/components/totvs-schedule-execution/totvs-schedule-execution.service.js +3 -2
  9. package/esm2015/lib/dts-backoffice-util.module.js +3 -2
  10. package/esm2015/lib/interfaces/filter-range.interface.js +3 -2
  11. package/esm2015/lib/interfaces/totvs-response.interface.js +3 -2
  12. package/esm2015/lib/model/session-info.model.js +3 -2
  13. package/esm2015/lib/pipes/dts-date-format.pipe.js +3 -2
  14. package/esm2015/lib/services/breadcrumb-control.service.js +3 -2
  15. package/esm2015/lib/services/cache-params.service.js +3 -2
  16. package/esm2015/lib/services/menu-datasul.service.js +3 -2
  17. package/esm2015/lib/services/profile.service.js +3 -2
  18. package/esm2015/lib/services/report.service.js +7 -6
  19. package/esm2015/lib/services/session-info.service.js +3 -2
  20. package/esm2015/lib/services/translate.service.js +3 -2
  21. package/esm2015/lib/utils/date.util.js +3 -2
  22. package/esm2015/lib/utils/disclaimer.util.js +3 -2
  23. package/esm2015/lib/utils/field-validation.util.js +3 -2
  24. package/esm2015/lib/utils/file.util.js +3 -2
  25. package/esm2015/lib/utils/filter-range.util.js +3 -2
  26. package/esm2015/lib/utils/generic-functions.utils.js +3 -2
  27. package/esm2015/public-api.js +3 -2
  28. package/fesm2015/dts-backoffice-util.js +48 -26
  29. package/fesm2015/dts-backoffice-util.js.map +1 -1
  30. package/package.json +8 -7
  31. package/esm5/dts-backoffice-util.js +0 -9
  32. package/esm5/lib/components/totvs-schedule-execution/totvs-schedule-execution.component.js +0 -448
  33. package/esm5/lib/components/totvs-schedule-execution/totvs-schedule-execution.model.js +0 -143
  34. package/esm5/lib/components/totvs-schedule-execution/totvs-schedule-execution.service.js +0 -434
  35. package/esm5/lib/dts-backoffice-util.module.js +0 -53
  36. package/esm5/lib/interfaces/filter-range.interface.js +0 -47
  37. package/esm5/lib/interfaces/totvs-response.interface.js +0 -16
  38. package/esm5/lib/model/session-info.model.js +0 -239
  39. package/esm5/lib/pipes/dts-date-format.pipe.js +0 -36
  40. package/esm5/lib/services/breadcrumb-control.service.js +0 -157
  41. package/esm5/lib/services/cache-params.service.js +0 -61
  42. package/esm5/lib/services/menu-datasul.service.js +0 -92
  43. package/esm5/lib/services/profile.service.js +0 -146
  44. package/esm5/lib/services/report.service.js +0 -137
  45. package/esm5/lib/services/session-info.service.js +0 -64
  46. package/esm5/lib/services/translate.service.js +0 -47
  47. package/esm5/lib/utils/date.util.js +0 -135
  48. package/esm5/lib/utils/disclaimer.util.js +0 -930
  49. package/esm5/lib/utils/field-validation.util.js +0 -358
  50. package/esm5/lib/utils/file.util.js +0 -262
  51. package/esm5/lib/utils/filter-range.util.js +0 -69
  52. package/esm5/lib/utils/generic-functions.utils.js +0 -358
  53. package/esm5/public-api.js +0 -37
  54. package/fesm5/dts-backoffice-util.js +0 -3944
  55. package/fesm5/dts-backoffice-util.js.map +0 -1
@@ -1,14 +1,18 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common/http'), require('rxjs'), require('rxjs/operators'), require('@po-ui/ng-components'), require('@angular/forms'), require('@angular/common')) :
3
3
  typeof define === 'function' && define.amd ? define('dts-backoffice-util', ['exports', '@angular/core', '@angular/common/http', 'rxjs', 'rxjs/operators', '@po-ui/ng-components', '@angular/forms', '@angular/common'], factory) :
4
- (global = global || self, factory(global['dts-backoffice-util'] = {}, global.ng.core, global.ng.common.http, global.rxjs, global.rxjs.operators, global.ngComponents, global.ng.forms, global.ng.common));
5
- }(this, (function (exports, core, http, rxjs, operators, ngComponents, forms, common) { 'use strict';
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global['dts-backoffice-util'] = {}, global.ng.core, global.ng.common.http, global.rxjs, global.rxjs.operators, global.ngComponents, global.ng.forms, global.ng.common));
5
+ }(this, (function (exports, i0, i1, rxjs, operators, ngComponents, forms, common) { 'use strict';
6
6
 
7
7
  /**
8
8
  * @fileoverview added by tsickle
9
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
9
+ * Generated from: lib/services/session-info.service.ts
10
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
10
11
  */
11
12
  var UserLoginService = /** @class */ (function () {
13
+ /**
14
+ * @param {?} http
15
+ */
12
16
  function UserLoginService(http) {
13
17
  this.http = http;
14
18
  this.apiUrl = '/totvs-menu/rest/getSessionInfo';
@@ -17,10 +21,7 @@
17
21
  /**
18
22
  * @return {?}
19
23
  */
20
- UserLoginService.prototype.getUserLogin = /**
21
- * @return {?}
22
- */
23
- function () {
24
+ UserLoginService.prototype.getUserLogin = function () {
24
25
  var _this = this;
25
26
  if (localStorage.getItem('username')) {
26
27
  return rxjs.of(localStorage.getItem('username'));
@@ -30,28 +31,27 @@
30
31
  }
31
32
  else {
32
33
  return this.http.get("" + this.apiUrl)
33
- .pipe(operators.map((/**
34
- * @param {?} response
35
- * @return {?}
36
- */
37
- function (response) {
34
+ .pipe(operators.map(( /**
35
+ * @param {?} response
36
+ * @return {?}
37
+ */function (response) {
38
38
  _this.userLogin = response.userName;
39
39
  return response.userName;
40
40
  })));
41
41
  }
42
42
  };
43
- UserLoginService.decorators = [
44
- { type: core.Injectable, args: [{
45
- providedIn: 'root'
46
- },] }
47
- ];
48
- /** @nocollapse */
49
- UserLoginService.ctorParameters = function () { return [
50
- { type: http.HttpClient }
51
- ]; };
52
- /** @nocollapse */ UserLoginService.ɵprov = core.ɵɵdefineInjectable({ factory: function UserLoginService_Factory() { return new UserLoginService(core.ɵɵinject(http.HttpClient)); }, token: UserLoginService, providedIn: "root" });
53
43
  return UserLoginService;
54
44
  }());
45
+ UserLoginService.decorators = [
46
+ { type: i0.Injectable, args: [{
47
+ providedIn: 'root'
48
+ },] }
49
+ ];
50
+ /** @nocollapse */
51
+ UserLoginService.ctorParameters = function () { return [
52
+ { type: i1.HttpClient }
53
+ ]; };
54
+ /** @nocollapse */ UserLoginService.ɵprov = i0.ɵɵdefineInjectable({ factory: function UserLoginService_Factory() { return new UserLoginService(i0.ɵɵinject(i1.HttpClient)); }, token: UserLoginService, providedIn: "root" });
55
55
  if (false) {
56
56
  /** @type {?} */
57
57
  UserLoginService.prototype.apiUrl;
@@ -63,7 +63,8 @@
63
63
 
64
64
  /**
65
65
  * @fileoverview added by tsickle
66
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
66
+ * Generated from: lib/services/profile.service.ts
67
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
67
68
  */
68
69
  /**
69
70
  * @record
@@ -99,6 +100,9 @@
99
100
  EDataType[EDataType.STRING] = 'STRING';
100
101
  EDataType[EDataType.JSON] = 'JSON';
101
102
  var ProfileService = /** @class */ (function () {
103
+ /**
104
+ * @param {?} http
105
+ */
102
106
  function ProfileService(http) {
103
107
  this.http = http;
104
108
  this.apiURL = '/dts/datasul-rest/resources/api/btb/btapi930za';
@@ -107,11 +111,7 @@
107
111
  * @param {?} profile
108
112
  * @return {?}
109
113
  */
110
- ProfileService.prototype.setProfile = /**
111
- * @param {?} profile
112
- * @return {?}
113
- */
114
- function (profile) {
114
+ ProfileService.prototype.setProfile = function (profile) {
115
115
  /** @type {?} */
116
116
  var headers = { 'X-PO-Screen-Lock': 'true' };
117
117
  var pageId = profile.pageId, userCode = profile.userCode;
@@ -123,12 +123,7 @@
123
123
  * @param {?=} showLoading
124
124
  * @return {?}
125
125
  */
126
- ProfileService.prototype.getProfileAsString = /**
127
- * @param {?} profile
128
- * @param {?=} showLoading
129
- * @return {?}
130
- */
131
- function (profile, showLoading) {
126
+ ProfileService.prototype.getProfileAsString = function (profile, showLoading) {
132
127
  return this.getProfile(profile, EDataType.STRING, showLoading ? 'true' : 'false');
133
128
  };
134
129
  /**
@@ -136,12 +131,7 @@
136
131
  * @param {?=} showLoading
137
132
  * @return {?}
138
133
  */
139
- ProfileService.prototype.getProfileAsJSON = /**
140
- * @param {?} profile
141
- * @param {?=} showLoading
142
- * @return {?}
143
- */
144
- function (profile, showLoading) {
134
+ ProfileService.prototype.getProfileAsJSON = function (profile, showLoading) {
145
135
  return this.getProfile(profile, EDataType.JSON, showLoading ? 'true' : 'false');
146
136
  };
147
137
  /**
@@ -151,24 +141,19 @@
151
141
  * @param {?=} showLoading
152
142
  * @return {?}
153
143
  */
154
- ProfileService.prototype.getProfile = /**
155
- * @private
156
- * @param {?} profile
157
- * @param {?} dataType
158
- * @param {?=} showLoading
159
- * @return {?}
160
- */
161
- function (profile, dataType, showLoading) {
144
+ ProfileService.prototype.getProfile = function (profile, dataType, showLoading) {
162
145
  /** @type {?} */
163
146
  var headers = { 'X-PO-Screen-Lock': showLoading };
164
147
  var pageId = profile.pageId, dataCode = profile.dataCode, userCode = profile.userCode;
165
148
  return this.http
166
149
  .get(this.apiURL + "/getProfile?userCode=" + userCode + "&pageId=" + pageId + "&dataCode=" + dataCode, { headers: headers })
167
- .pipe(operators.map((/**
168
- * @param {?} preference
169
- * @return {?}
170
- */
171
- function (preference) {
150
+ .pipe(operators.map(( /**
151
+ * @param {?} preference
152
+ * @return {?}
153
+ */function (/**
154
+ * @param {?} preference
155
+ * @return {?}
156
+ */ preference) {
172
157
  if (preference.data[0]) {
173
158
  if (dataType === EDataType.STRING) {
174
159
  return preference.data[0].dataValue;
@@ -182,18 +167,18 @@
182
167
  }
183
168
  })));
184
169
  };
185
- ProfileService.decorators = [
186
- { type: core.Injectable, args: [{
187
- providedIn: 'root'
188
- },] }
189
- ];
190
- /** @nocollapse */
191
- ProfileService.ctorParameters = function () { return [
192
- { type: http.HttpClient }
193
- ]; };
194
- /** @nocollapse */ ProfileService.ɵprov = core.ɵɵdefineInjectable({ factory: function ProfileService_Factory() { return new ProfileService(core.ɵɵinject(http.HttpClient)); }, token: ProfileService, providedIn: "root" });
195
170
  return ProfileService;
196
171
  }());
172
+ ProfileService.decorators = [
173
+ { type: i0.Injectable, args: [{
174
+ providedIn: 'root'
175
+ },] }
176
+ ];
177
+ /** @nocollapse */
178
+ ProfileService.ctorParameters = function () { return [
179
+ { type: i1.HttpClient }
180
+ ]; };
181
+ /** @nocollapse */ ProfileService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ProfileService_Factory() { return new ProfileService(i0.ɵɵinject(i1.HttpClient)); }, token: ProfileService, providedIn: "root" });
197
182
  if (false) {
198
183
  /** @type {?} */
199
184
  ProfileService.prototype.apiURL;
@@ -203,7 +188,8 @@
203
188
 
204
189
  /**
205
190
  * @fileoverview added by tsickle
206
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
191
+ * Generated from: lib/services/report.service.ts
192
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
207
193
  */
208
194
  /**
209
195
  * @record
@@ -237,12 +223,15 @@
237
223
  }
238
224
  /** @enum {string} */
239
225
  var ReportFormats = {
240
- XLSX: 'xlsx',
241
- PDF: 'pdf',
242
- DOCX: 'docx',
243
- HTML: 'html',
226
+ XLSX: "xlsx",
227
+ PDF: "pdf",
228
+ DOCX: "docx",
229
+ HTML: "html",
244
230
  };
245
231
  var ReportService = /** @class */ (function () {
232
+ /**
233
+ * @param {?} httpClient
234
+ */
246
235
  function ReportService(httpClient) {
247
236
  this.httpClient = httpClient;
248
237
  this.URL = window.location.href.indexOf('totvs-menu') > 0 ? '/totvs-menu/rest/report/run/'
@@ -253,12 +242,7 @@
253
242
  * @param {?=} showLoading
254
243
  * @return {?}
255
244
  */
256
- ReportService.prototype.generate = /**
257
- * @param {?} params
258
- * @param {?=} showLoading
259
- * @return {?}
260
- */
261
- function (params, showLoading) {
245
+ ReportService.prototype.generate = function (params, showLoading) {
262
246
  var _this = this;
263
247
  if (showLoading === void 0) { showLoading = true; }
264
248
  /** @type {?} */
@@ -267,12 +251,11 @@
267
251
  var reportURL = "" + this.URL + params.reportName;
268
252
  if (params.properties.length > 0) {
269
253
  reportURL += '?';
270
- params.properties.forEach((/**
254
+ params.properties.forEach(( /**
271
255
  * @param {?} property
272
256
  * @param {?} index
273
257
  * @return {?}
274
- */
275
- function (property, index) {
258
+ */function (property, index) {
276
259
  if (index > 0) {
277
260
  reportURL += '&';
278
261
  }
@@ -282,11 +265,13 @@
282
265
  reportURL += "&dialect=" + params.dialect + "&format=" + params.format;
283
266
  reportURL += "&program=" + params.programName + "&resultFileName=" + params.downloadName;
284
267
  return this.httpClient.post(reportURL, {}, { headers: headers, responseType: 'blob' })
285
- .pipe(operators.map((/**
286
- * @param {?} report
287
- * @return {?}
288
- */
289
- function (report) {
268
+ .pipe(operators.map(( /**
269
+ * @param {?} report
270
+ * @return {?}
271
+ */function (/**
272
+ * @param {?} report
273
+ * @return {?}
274
+ */ report) {
290
275
  if (params.download) {
291
276
  _this.download(report, params.downloadName + "." + params.format);
292
277
  }
@@ -298,12 +283,7 @@
298
283
  * @param {?} fileName
299
284
  * @return {?}
300
285
  */
301
- ReportService.prototype.download = /**
302
- * @param {?} file
303
- * @param {?} fileName
304
- * @return {?}
305
- */
306
- function (file, fileName) {
286
+ ReportService.prototype.download = function (file, fileName) {
307
287
  /** @type {?} */
308
288
  var binaryData = [file];
309
289
  /** @type {?} */
@@ -317,15 +297,15 @@
317
297
  window.URL.revokeObjectURL(urlDownload);
318
298
  downloadLink.remove();
319
299
  };
320
- ReportService.decorators = [
321
- { type: core.Injectable }
322
- ];
323
- /** @nocollapse */
324
- ReportService.ctorParameters = function () { return [
325
- { type: http.HttpClient }
326
- ]; };
327
300
  return ReportService;
328
301
  }());
302
+ ReportService.decorators = [
303
+ { type: i0.Injectable }
304
+ ];
305
+ /** @nocollapse */
306
+ ReportService.ctorParameters = function () { return [
307
+ { type: i1.HttpClient }
308
+ ]; };
329
309
  if (false) {
330
310
  /** @type {?} */
331
311
  ReportService.prototype.URL;
@@ -335,7 +315,8 @@
335
315
 
336
316
  /**
337
317
  * @fileoverview added by tsickle
338
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
318
+ * Generated from: lib/services/breadcrumb-control.service.ts
319
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
339
320
  */
340
321
  var BreadcrumbControlService = /** @class */ (function () {
341
322
  function BreadcrumbControlService() {
@@ -343,10 +324,7 @@
343
324
  /**
344
325
  * @return {?}
345
326
  */
346
- BreadcrumbControlService.prototype.newBreadcrumb = /**
347
- * @return {?}
348
- */
349
- function () {
327
+ BreadcrumbControlService.prototype.newBreadcrumb = function () {
350
328
  this.breadcrumb = { items: [] };
351
329
  };
352
330
  /**
@@ -354,12 +332,7 @@
354
332
  * @param {?} activatedRoute
355
333
  * @return {?}
356
334
  */
357
- BreadcrumbControlService.prototype.addBreadcrumb = /**
358
- * @param {?} literal
359
- * @param {?} activatedRoute
360
- * @return {?}
361
- */
362
- function (literal, activatedRoute) {
335
+ BreadcrumbControlService.prototype.addBreadcrumb = function (literal, activatedRoute) {
363
336
  this.addBreadcrumbURL(literal, decodeURIComponent(activatedRoute.snapshot['_routerState'].url));
364
337
  };
365
338
  /**
@@ -367,12 +340,7 @@
367
340
  * @param {?} url
368
341
  * @return {?}
369
342
  */
370
- BreadcrumbControlService.prototype.addBreadcrumbURL = /**
371
- * @param {?} literal
372
- * @param {?} url
373
- * @return {?}
374
- */
375
- function (literal, url) {
343
+ BreadcrumbControlService.prototype.addBreadcrumbURL = function (literal, url) {
376
344
  if (!literal || literal === '') {
377
345
  return;
378
346
  }
@@ -400,13 +368,7 @@
400
368
  * @param {?} valueNew
401
369
  * @return {?}
402
370
  */
403
- BreadcrumbControlService.prototype.updBreadcrumbURL = /**
404
- * @param {?} literal
405
- * @param {?} valueOld
406
- * @param {?} valueNew
407
- * @return {?}
408
- */
409
- function (literal, valueOld, valueNew) {
371
+ BreadcrumbControlService.prototype.updBreadcrumbURL = function (literal, valueOld, valueNew) {
410
372
  /** @type {?} */
411
373
  var currentRouterURL = this.getCurrentRouter();
412
374
  if (!currentRouterURL) {
@@ -424,10 +386,7 @@
424
386
  /**
425
387
  * @return {?}
426
388
  */
427
- BreadcrumbControlService.prototype.getBreadcrumb = /**
428
- * @return {?}
429
- */
430
- function () {
389
+ BreadcrumbControlService.prototype.getBreadcrumb = function () {
431
390
  if (!this.breadcrumb) {
432
391
  this.newBreadcrumb();
433
392
  }
@@ -436,10 +395,7 @@
436
395
  /**
437
396
  * @return {?}
438
397
  */
439
- BreadcrumbControlService.prototype.getCurrentRouter = /**
440
- * @return {?}
441
- */
442
- function () {
398
+ BreadcrumbControlService.prototype.getCurrentRouter = function () {
443
399
  if (!this.breadcrumb) {
444
400
  this.newBreadcrumb();
445
401
  }
@@ -451,10 +407,7 @@
451
407
  /**
452
408
  * @return {?}
453
409
  */
454
- BreadcrumbControlService.prototype.getPrevRouter = /**
455
- * @return {?}
456
- */
457
- function () {
410
+ BreadcrumbControlService.prototype.getPrevRouter = function () {
458
411
  if (!this.breadcrumb) {
459
412
  this.newBreadcrumb();
460
413
  }
@@ -466,19 +419,16 @@
466
419
  /**
467
420
  * @return {?}
468
421
  */
469
- BreadcrumbControlService.prototype.hasPreviousRouter = /**
470
- * @return {?}
471
- */
472
- function () {
422
+ BreadcrumbControlService.prototype.hasPreviousRouter = function () {
473
423
  return this.breadcrumb.items.length > 1;
474
424
  };
475
- BreadcrumbControlService.decorators = [
476
- { type: core.Injectable }
477
- ];
478
- /** @nocollapse */
479
- BreadcrumbControlService.ctorParameters = function () { return []; };
480
425
  return BreadcrumbControlService;
481
426
  }());
427
+ BreadcrumbControlService.decorators = [
428
+ { type: i0.Injectable }
429
+ ];
430
+ /** @nocollapse */
431
+ BreadcrumbControlService.ctorParameters = function () { return []; };
482
432
  if (false) {
483
433
  /** @type {?} */
484
434
  BreadcrumbControlService.prototype.breadcrumb;
@@ -486,16 +436,12 @@
486
436
 
487
437
  /**
488
438
  * @fileoverview added by tsickle
489
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
439
+ * Generated from: lib/services/menu-datasul.service.ts
440
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
490
441
  */
491
442
  var MenuDatasulService = /** @class */ (function () {
492
443
  function MenuDatasulService() {
493
444
  }
494
- /**
495
- * var program = {};
496
- * program['prg'] = "cd0210";
497
- * program['params'] = '01|123456'
498
- */
499
445
  /**
500
446
  * var program = {};
501
447
  * program['prg'] = "cd0210";
@@ -503,22 +449,9 @@
503
449
  * @param {?} program
504
450
  * @return {?}
505
451
  */
506
- MenuDatasulService.prototype.callProgress = /**
507
- * var program = {};
508
- * program['prg'] = "cd0210";
509
- * program['params'] = '01|123456'
510
- * @param {?} program
511
- * @return {?}
512
- */
513
- function (program) {
452
+ MenuDatasulService.prototype.callProgress = function (program) {
514
453
  parent.postMessage({ program: program }, '*');
515
454
  };
516
- /**
517
- * var notification = {};
518
- * notification['type'] = 'success';
519
- * notification['title'] = 'Notification Title'
520
- * notification['detail'] = 'Notification Detail'
521
- */
522
455
  /**
523
456
  * var notification = {};
524
457
  * notification['type'] = 'success';
@@ -527,15 +460,7 @@
527
460
  * @param {?} notification
528
461
  * @return {?}
529
462
  */
530
- MenuDatasulService.prototype.sendNotification = /**
531
- * var notification = {};
532
- * notification['type'] = 'success';
533
- * notification['title'] = 'Notification Title'
534
- * notification['detail'] = 'Notification Detail'
535
- * @param {?} notification
536
- * @return {?}
537
- */
538
- function (notification) {
463
+ MenuDatasulService.prototype.sendNotification = function (notification) {
539
464
  parent.postMessage({ notification: notification }, '*');
540
465
  };
541
466
  /**
@@ -544,13 +469,7 @@
544
469
  * @param {?=} parent
545
470
  * @return {?}
546
471
  */
547
- MenuDatasulService.prototype.openPath = /**
548
- * @param {?} programName
549
- * @param {?} params
550
- * @param {?=} parent
551
- * @return {?}
552
- */
553
- function (programName, params, parent) {
472
+ MenuDatasulService.prototype.openPath = function (programName, params, parent) {
554
473
  if (parent === void 0) { parent = true; }
555
474
  /** @type {?} */
556
475
  var datasulPath = document.referrer.indexOf('totvs-menu') > 0 ? 'totvs-menu' : 'menu-html';
@@ -566,17 +485,18 @@
566
485
  window.open(baseUrl);
567
486
  }
568
487
  };
569
- MenuDatasulService.decorators = [
570
- { type: core.Injectable }
571
- ];
572
- /** @nocollapse */
573
- MenuDatasulService.ctorParameters = function () { return []; };
574
488
  return MenuDatasulService;
575
- }());
489
+ }());
490
+ MenuDatasulService.decorators = [
491
+ { type: i0.Injectable }
492
+ ];
493
+ /** @nocollapse */
494
+ MenuDatasulService.ctorParameters = function () { return []; };
576
495
 
577
496
  /**
578
497
  * @fileoverview added by tsickle
579
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
498
+ * Generated from: lib/services/cache-params.service.ts
499
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
580
500
  */
581
501
  var CacheParamsService = /** @class */ (function () {
582
502
  function CacheParamsService() {
@@ -587,46 +507,33 @@
587
507
  * @param {?} value
588
508
  * @return {?}
589
509
  */
590
- CacheParamsService.prototype.setValue = /**
591
- * @param {?} key
592
- * @param {?} value
593
- * @return {?}
594
- */
595
- function (key, value) {
510
+ CacheParamsService.prototype.setValue = function (key, value) {
596
511
  this.values[key] = value;
597
512
  };
598
513
  /**
599
514
  * @param {?} key
600
515
  * @return {?}
601
516
  */
602
- CacheParamsService.prototype.getValue = /**
603
- * @param {?} key
604
- * @return {?}
605
- */
606
- function (key) {
517
+ CacheParamsService.prototype.getValue = function (key) {
607
518
  return this.values[key];
608
519
  };
609
520
  /**
610
521
  * @param {?} key
611
522
  * @return {?}
612
523
  */
613
- CacheParamsService.prototype.removeValue = /**
614
- * @param {?} key
615
- * @return {?}
616
- */
617
- function (key) {
524
+ CacheParamsService.prototype.removeValue = function (key) {
618
525
  delete this.values[key];
619
526
  };
620
- CacheParamsService.decorators = [
621
- { type: core.Injectable, args: [{
622
- providedIn: 'root'
623
- },] }
624
- ];
625
- /** @nocollapse */
626
- CacheParamsService.ctorParameters = function () { return []; };
627
- /** @nocollapse */ CacheParamsService.ɵprov = core.ɵɵdefineInjectable({ factory: function CacheParamsService_Factory() { return new CacheParamsService(); }, token: CacheParamsService, providedIn: "root" });
628
527
  return CacheParamsService;
629
528
  }());
529
+ CacheParamsService.decorators = [
530
+ { type: i0.Injectable, args: [{
531
+ providedIn: 'root'
532
+ },] }
533
+ ];
534
+ /** @nocollapse */
535
+ CacheParamsService.ctorParameters = function () { return []; };
536
+ /** @nocollapse */ CacheParamsService.ɵprov = i0.ɵɵdefineInjectable({ factory: function CacheParamsService_Factory() { return new CacheParamsService(); }, token: CacheParamsService, providedIn: "root" });
630
537
  if (false) {
631
538
  /** @type {?} */
632
539
  CacheParamsService.prototype.values;
@@ -634,7 +541,8 @@
634
541
 
635
542
  /**
636
543
  * @fileoverview added by tsickle
637
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
544
+ * Generated from: lib/services/translate.service.ts
545
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
638
546
  */
639
547
  var TranslateService = /** @class */ (function () {
640
548
  function TranslateService() {
@@ -642,28 +550,19 @@
642
550
  /**
643
551
  * @return {?}
644
552
  */
645
- TranslateService.getSuportLanguage = /**
646
- * @return {?}
647
- */
648
- function () {
553
+ TranslateService.getSuportLanguage = function () {
649
554
  return ['pt-BR', 'pt', 'en-US', 'en', 'es'];
650
555
  };
651
556
  /**
652
557
  * @return {?}
653
558
  */
654
- TranslateService.getDefaultCurrencyCode = /**
655
- * @return {?}
656
- */
657
- function () {
559
+ TranslateService.getDefaultCurrencyCode = function () {
658
560
  return '$';
659
561
  };
660
562
  /**
661
563
  * @return {?}
662
564
  */
663
- TranslateService.getCurrentLanguage = /**
664
- * @return {?}
665
- */
666
- function () {
565
+ TranslateService.getCurrentLanguage = function () {
667
566
  /** @type {?} */
668
567
  var locale = localStorage.getItem('user.language') || navigator.language;
669
568
  if (locale && this.getSuportLanguage().includes(locale)) {
@@ -671,15 +570,16 @@
671
570
  }
672
571
  return 'en-US';
673
572
  };
674
- TranslateService.decorators = [
675
- { type: core.Injectable }
676
- ];
677
573
  return TranslateService;
678
- }());
574
+ }());
575
+ TranslateService.decorators = [
576
+ { type: i0.Injectable }
577
+ ];
679
578
 
680
579
  /**
681
580
  * @fileoverview added by tsickle
682
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
581
+ * Generated from: lib/utils/date.util.ts
582
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
683
583
  */
684
584
  /*
685
585
  Versão: 1.000
@@ -689,17 +589,11 @@
689
589
  function DateUtil() {
690
590
  }
691
591
  /* Transforma data para o padrão YYYY-MM-DD */
692
- /* Transforma data para o padrão YYYY-MM-DD */
693
- /**
694
- * @param {?} date
695
- * @return {?}
696
- */
697
- DateUtil.dateToQueryParam = /* Transforma data para o padrão YYYY-MM-DD */
698
592
  /**
699
593
  * @param {?} date
700
594
  * @return {?}
701
595
  */
702
- function (date) {
596
+ DateUtil.dateToQueryParam = function (date) {
703
597
  /** @type {?} */
704
598
  var iDay = date.getDate();
705
599
  /** @type {?} */
@@ -709,17 +603,11 @@
709
603
  return iYear + "-" + this.pad(iMonth) + "-" + this.pad(iDay);
710
604
  };
711
605
  /* Transforma data no padrão YYYY-MM-DD para DATE */
712
- /* Transforma data no padrão YYYY-MM-DD para DATE */
713
606
  /**
714
607
  * @param {?} param
715
608
  * @return {?}
716
609
  */
717
- DateUtil.queryParamToDate = /* Transforma data no padrão YYYY-MM-DD para DATE */
718
- /**
719
- * @param {?} param
720
- * @return {?}
721
- */
722
- function (param) {
610
+ DateUtil.queryParamToDate = function (param) {
723
611
  /** @type {?} */
724
612
  var iDay = +param.split('-')[2];
725
613
  /** @type {?} */
@@ -729,31 +617,19 @@
729
617
  return new Date(iYear, iMonth - 1, iDay);
730
618
  };
731
619
  /* Valida se foi informado uma data válida */
732
- /* Valida se foi informado uma data válida */
733
620
  /**
734
621
  * @param {?} date
735
622
  * @return {?}
736
623
  */
737
- DateUtil.isValidDate = /* Valida se foi informado uma data válida */
738
- /**
739
- * @param {?} date
740
- * @return {?}
741
- */
742
- function (date) {
624
+ DateUtil.isValidDate = function (date) {
743
625
  return date instanceof Date && !isNaN(date.getTime());
744
626
  };
745
627
  /* Ajusta a data retornando o padrão DATE */
746
- /* Ajusta a data retornando o padrão DATE */
747
628
  /**
748
629
  * @param {?} param
749
630
  * @return {?}
750
631
  */
751
- DateUtil.ajustDate = /* Ajusta a data retornando o padrão DATE */
752
- /**
753
- * @param {?} param
754
- * @return {?}
755
- */
756
- function (param) {
632
+ DateUtil.ajustDate = function (param) {
757
633
  if (param instanceof Date) {
758
634
  return param;
759
635
  }
@@ -763,19 +639,12 @@
763
639
  return this.queryParamToDate(param.split('T')[0]);
764
640
  };
765
641
  /* Ajusta a data para o padrão DATE - utilizada nos construtores dos modelos */
766
- /* Ajusta a data para o padrão DATE - utilizada nos construtores dos modelos */
767
642
  /**
768
643
  * @param {?=} values
769
644
  * @param {?=} fieldName
770
645
  * @return {?}
771
646
  */
772
- DateUtil.ajustDateToModel = /* Ajusta a data para o padrão DATE - utilizada nos construtores dos modelos */
773
- /**
774
- * @param {?=} values
775
- * @param {?=} fieldName
776
- * @return {?}
777
- */
778
- function (values, fieldName) {
647
+ DateUtil.ajustDateToModel = function (values, fieldName) {
779
648
  if (values === void 0) { values = {}; }
780
649
  if (values.hasOwnProperty(fieldName) && (values[fieldName])) {
781
650
  if (values[fieldName].indexOf('T') >= 0) {
@@ -792,17 +661,11 @@
792
661
  return null;
793
662
  };
794
663
  /* Adicona zero a esquerda do número */
795
- /* Adicona zero a esquerda do número */
796
- /**
797
- * @param {?} number
798
- * @return {?}
799
- */
800
- DateUtil.pad = /* Adicona zero a esquerda do número */
801
664
  /**
802
665
  * @param {?} number
803
666
  * @return {?}
804
667
  */
805
- function (number) {
668
+ DateUtil.pad = function (number) {
806
669
  if (number < 10) {
807
670
  return '0' + number;
808
671
  }
@@ -813,13 +676,19 @@
813
676
 
814
677
  /**
815
678
  * @fileoverview added by tsickle
816
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
679
+ * Generated from: lib/utils/disclaimer.util.ts
680
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
817
681
  */
818
682
  /*
819
683
  Versão: 1.009
820
684
  Data Criação: 06/08/2018
821
685
  */
822
686
  var DisclaimerUtil = /** @class */ (function () {
687
+ /**
688
+ * @param {?} poNotification
689
+ * @param {?} poI18nPipe
690
+ * @param {?} literals
691
+ */
823
692
  function DisclaimerUtil(poNotification, poI18nPipe, literals) {
824
693
  this.literals = {};
825
694
  this.poNotification = poNotification;
@@ -834,15 +703,7 @@
834
703
  * @param {?=} vldBlank
835
704
  * @return {?}
836
705
  */
837
- DisclaimerUtil.prototype.makeDisclaimer = /**
838
- * @param {?} property
839
- * @param {?} value
840
- * @param {?=} hideClose
841
- * @param {?=} tradValue
842
- * @param {?=} vldBlank
843
- * @return {?}
844
- */
845
- function (property, value, hideClose, tradValue, vldBlank) {
706
+ DisclaimerUtil.prototype.makeDisclaimer = function (property, value, hideClose, tradValue, vldBlank) {
846
707
  if (hideClose === void 0) { hideClose = false; }
847
708
  if (tradValue === void 0) { tradValue = false; }
848
709
  if (vldBlank === void 0) { vldBlank = false; }
@@ -866,14 +727,7 @@
866
727
  * @param {?=} vldBlank
867
728
  * @return {?}
868
729
  */
869
- DisclaimerUtil.prototype.makeDisclaimerFromNumber = /**
870
- * @param {?} property
871
- * @param {?} value
872
- * @param {?=} hideClose
873
- * @param {?=} vldBlank
874
- * @return {?}
875
- */
876
- function (property, value, hideClose, vldBlank) {
730
+ DisclaimerUtil.prototype.makeDisclaimerFromNumber = function (property, value, hideClose, vldBlank) {
877
731
  if (hideClose === void 0) { hideClose = false; }
878
732
  if (vldBlank === void 0) { vldBlank = false; }
879
733
  if (value === null || value === undefined) {
@@ -895,13 +749,7 @@
895
749
  * @param {?=} hideClose
896
750
  * @return {?}
897
751
  */
898
- DisclaimerUtil.prototype.makeDisclaimerFromBoolean = /**
899
- * @param {?} property
900
- * @param {?} value
901
- * @param {?=} hideClose
902
- * @return {?}
903
- */
904
- function (property, value, hideClose) {
752
+ DisclaimerUtil.prototype.makeDisclaimerFromBoolean = function (property, value, hideClose) {
905
753
  if (hideClose === void 0) { hideClose = false; }
906
754
  if (value === null || value === undefined) {
907
755
  return { label: '', property: '', value: '' };
@@ -919,13 +767,7 @@
919
767
  * @param {?=} hideClose
920
768
  * @return {?}
921
769
  */
922
- DisclaimerUtil.prototype.makeDisclaimerFromDate = /**
923
- * @param {?} property
924
- * @param {?} value
925
- * @param {?=} hideClose
926
- * @return {?}
927
- */
928
- function (property, value, hideClose) {
770
+ DisclaimerUtil.prototype.makeDisclaimerFromDate = function (property, value, hideClose) {
929
771
  if (hideClose === void 0) { hideClose = false; }
930
772
  /** @type {?} */
931
773
  var dDate = this.ajustDate(value);
@@ -947,15 +789,7 @@
947
789
  * @param {?=} tradValue
948
790
  * @return {?}
949
791
  */
950
- DisclaimerUtil.prototype.makeDisclaimerFromMultiSelect = /**
951
- * @param {?} property
952
- * @param {?} value
953
- * @param {?=} length
954
- * @param {?=} hideClose
955
- * @param {?=} tradValue
956
- * @return {?}
957
- */
958
- function (property, value, length, hideClose, tradValue) {
792
+ DisclaimerUtil.prototype.makeDisclaimerFromMultiSelect = function (property, value, length, hideClose, tradValue) {
959
793
  var _this = this;
960
794
  if (length === void 0) { length = 0; }
961
795
  if (hideClose === void 0) { hideClose = false; }
@@ -972,11 +806,13 @@
972
806
  lstValues = 'all';
973
807
  }
974
808
  else {
975
- value.map((/**
809
+ value.map(( /**
976
810
  * @param {?} item
977
811
  * @return {?}
978
- */
979
- function (item) {
812
+ */function (/**
813
+ * @param {?} item
814
+ * @return {?}
815
+ */ item) {
980
816
  if (lstLabels !== '') {
981
817
  lstLabels = lstLabels + ", ";
982
818
  }
@@ -1002,15 +838,7 @@
1002
838
  * @param {?=} hideClose
1003
839
  * @return {?}
1004
840
  */
1005
- DisclaimerUtil.prototype.makeDisclaimerFromMultiSelectNumber = /**
1006
- * @param {?} property
1007
- * @param {?} value
1008
- * @param {?} options
1009
- * @param {?=} length
1010
- * @param {?=} hideClose
1011
- * @return {?}
1012
- */
1013
- function (property, value, options, length, hideClose) {
841
+ DisclaimerUtil.prototype.makeDisclaimerFromMultiSelectNumber = function (property, value, options, length, hideClose) {
1014
842
  if (length === void 0) { length = 0; }
1015
843
  if (hideClose === void 0) { hideClose = false; }
1016
844
  /** @type {?} */
@@ -1027,22 +855,26 @@
1027
855
  lstValues = 'all';
1028
856
  }
1029
857
  else {
1030
- value.map((/**
858
+ value.map(( /**
859
+ * @param {?} item
860
+ * @return {?}
861
+ */function (/**
1031
862
  * @param {?} item
1032
863
  * @return {?}
1033
- */
1034
- function (item) {
864
+ */ item) {
1035
865
  if (lstLabels !== '') {
1036
866
  lstLabels = lstLabels + ", ";
1037
867
  }
1038
868
  if (lstValues !== '') {
1039
869
  lstValues = lstValues + ",";
1040
870
  }
1041
- opt = options.find((/**
871
+ opt = options.find(( /**
1042
872
  * @param {?} itOpt
1043
873
  * @return {?}
1044
- */
1045
- function (itOpt) { return itOpt.value === item; }));
874
+ */function (/**
875
+ * @param {?} itOpt
876
+ * @return {?}
877
+ */ itOpt) { return itOpt.value === item; }));
1046
878
  lstLabels = "" + lstLabels + (opt ? opt.label : item);
1047
879
  lstValues = "" + lstValues + item;
1048
880
  }));
@@ -1061,14 +893,7 @@
1061
893
  * @param {?=} hideClose
1062
894
  * @return {?}
1063
895
  */
1064
- DisclaimerUtil.prototype.makeDisclaimerFromCheckboxGroup = /**
1065
- * @param {?} property
1066
- * @param {?} value
1067
- * @param {?=} length
1068
- * @param {?=} hideClose
1069
- * @return {?}
1070
- */
1071
- function (property, value, length, hideClose) {
896
+ DisclaimerUtil.prototype.makeDisclaimerFromCheckboxGroup = function (property, value, length, hideClose) {
1072
897
  var _this = this;
1073
898
  if (length === void 0) { length = 0; }
1074
899
  if (hideClose === void 0) { hideClose = false; }
@@ -1088,11 +913,13 @@
1088
913
  lstValues = 'all';
1089
914
  }
1090
915
  else {
1091
- value.map((/**
916
+ value.map(( /**
917
+ * @param {?} checkParam
918
+ * @return {?}
919
+ */function (/**
1092
920
  * @param {?} checkParam
1093
921
  * @return {?}
1094
- */
1095
- function (checkParam) {
922
+ */ checkParam) {
1096
923
  if (lstLabels !== '') {
1097
924
  lstLabels = lstLabels + ", ";
1098
925
  }
@@ -1117,14 +944,7 @@
1117
944
  * @param {?=} validateEqual
1118
945
  * @return {?}
1119
946
  */
1120
- DisclaimerUtil.prototype.makeDisclaimerFromRangeCharacter = /**
1121
- * @param {?} property
1122
- * @param {?} value
1123
- * @param {?=} hideClose
1124
- * @param {?=} validateEqual
1125
- * @return {?}
1126
- */
1127
- function (property, value, hideClose, validateEqual) {
947
+ DisclaimerUtil.prototype.makeDisclaimerFromRangeCharacter = function (property, value, hideClose, validateEqual) {
1128
948
  if (hideClose === void 0) { hideClose = false; }
1129
949
  if (validateEqual === void 0) { validateEqual = true; }
1130
950
  if (value.valInitial === null || value.valInitial === undefined) {
@@ -1152,14 +972,7 @@
1152
972
  * @param {?=} validateEqual
1153
973
  * @return {?}
1154
974
  */
1155
- DisclaimerUtil.prototype.makeDisclaimerFromRangeNumber = /**
1156
- * @param {?} property
1157
- * @param {?} value
1158
- * @param {?=} hideClose
1159
- * @param {?=} validateEqual
1160
- * @return {?}
1161
- */
1162
- function (property, value, hideClose, validateEqual) {
975
+ DisclaimerUtil.prototype.makeDisclaimerFromRangeNumber = function (property, value, hideClose, validateEqual) {
1163
976
  if (hideClose === void 0) { hideClose = false; }
1164
977
  if (validateEqual === void 0) { validateEqual = true; }
1165
978
  if (value.valInitial === null || value.valInitial === undefined) {
@@ -1187,14 +1000,7 @@
1187
1000
  * @param {?=} validateEqual
1188
1001
  * @return {?}
1189
1002
  */
1190
- DisclaimerUtil.prototype.makeDisclaimerFromRangeDate = /**
1191
- * @param {?} property
1192
- * @param {?} value
1193
- * @param {?=} hideClose
1194
- * @param {?=} validateEqual
1195
- * @return {?}
1196
- */
1197
- function (property, value, hideClose, validateEqual) {
1003
+ DisclaimerUtil.prototype.makeDisclaimerFromRangeDate = function (property, value, hideClose, validateEqual) {
1198
1004
  if (hideClose === void 0) { hideClose = false; }
1199
1005
  if (validateEqual === void 0) { validateEqual = true; }
1200
1006
  /** @type {?} */
@@ -1227,21 +1033,14 @@
1227
1033
  * @param {?} defaultValue
1228
1034
  * @return {?}
1229
1035
  */
1230
- DisclaimerUtil.prototype.atzCharFromDisclamer = /**
1231
- * @param {?} disclaimers
1232
- * @param {?} property
1233
- * @param {?} defaultValue
1234
- * @return {?}
1235
- */
1236
- function (disclaimers, property, defaultValue) {
1036
+ DisclaimerUtil.prototype.atzCharFromDisclamer = function (disclaimers, property, defaultValue) {
1237
1037
  /** @type {?} */
1238
1038
  var returnValue = defaultValue;
1239
1039
  if (disclaimers && disclaimers.length > 0) {
1240
- disclaimers.find((/**
1040
+ disclaimers.find(( /**
1241
1041
  * @param {?} item
1242
1042
  * @return {?}
1243
- */
1244
- function (item) {
1043
+ */function (item) {
1245
1044
  if (item.property === property) {
1246
1045
  if (item.value === null) {
1247
1046
  return false;
@@ -1260,21 +1059,14 @@
1260
1059
  * @param {?} defaultValue
1261
1060
  * @return {?}
1262
1061
  */
1263
- DisclaimerUtil.prototype.atzNumberFromDisclamer = /**
1264
- * @param {?} disclaimers
1265
- * @param {?} property
1266
- * @param {?} defaultValue
1267
- * @return {?}
1268
- */
1269
- function (disclaimers, property, defaultValue) {
1062
+ DisclaimerUtil.prototype.atzNumberFromDisclamer = function (disclaimers, property, defaultValue) {
1270
1063
  /** @type {?} */
1271
1064
  var returnValue = defaultValue;
1272
1065
  if (disclaimers && disclaimers.length > 0) {
1273
- disclaimers.find((/**
1066
+ disclaimers.find(( /**
1274
1067
  * @param {?} item
1275
1068
  * @return {?}
1276
- */
1277
- function (item) {
1069
+ */function (item) {
1278
1070
  if (item.property === property) {
1279
1071
  if (item.value === null) {
1280
1072
  return false;
@@ -1293,22 +1085,15 @@
1293
1085
  * @param {?} defaultValue
1294
1086
  * @return {?}
1295
1087
  */
1296
- DisclaimerUtil.prototype.atzBooleanFromDisclamer = /**
1297
- * @param {?} disclaimers
1298
- * @param {?} property
1299
- * @param {?} defaultValue
1300
- * @return {?}
1301
- */
1302
- function (disclaimers, property, defaultValue) {
1088
+ DisclaimerUtil.prototype.atzBooleanFromDisclamer = function (disclaimers, property, defaultValue) {
1303
1089
  /** @type {?} */
1304
1090
  var returnValue = defaultValue;
1305
1091
  if (disclaimers && disclaimers.length > 0) {
1306
1092
  /** @type {?} */
1307
- var disclaimerFind = disclaimers.find((/**
1093
+ var disclaimerFind = disclaimers.find(( /**
1308
1094
  * @param {?} item
1309
1095
  * @return {?}
1310
- */
1311
- function (item) { return item.property === property; }));
1096
+ */function (item) { return item.property === property; }));
1312
1097
  if (disclaimerFind && disclaimerFind.value !== null && disclaimerFind.value !== undefined) {
1313
1098
  if (disclaimerFind.value === 'true') {
1314
1099
  return true;
@@ -1326,22 +1111,15 @@
1326
1111
  * @param {?} defaultValue
1327
1112
  * @return {?}
1328
1113
  */
1329
- DisclaimerUtil.prototype.atzDateFromDisclamer = /**
1330
- * @param {?} disclaimers
1331
- * @param {?} property
1332
- * @param {?} defaultValue
1333
- * @return {?}
1334
- */
1335
- function (disclaimers, property, defaultValue) {
1114
+ DisclaimerUtil.prototype.atzDateFromDisclamer = function (disclaimers, property, defaultValue) {
1336
1115
  var _this = this;
1337
1116
  /** @type {?} */
1338
1117
  var returnValue = this.ajustDate(defaultValue);
1339
1118
  if (disclaimers && disclaimers.length > 0) {
1340
- disclaimers.find((/**
1119
+ disclaimers.find(( /**
1341
1120
  * @param {?} item
1342
1121
  * @return {?}
1343
- */
1344
- function (item) {
1122
+ */function (item) {
1345
1123
  if (item.property === property) {
1346
1124
  if (item.value === null) {
1347
1125
  return false;
@@ -1360,13 +1138,7 @@
1360
1138
  * @param {?} defaultValue
1361
1139
  * @return {?}
1362
1140
  */
1363
- DisclaimerUtil.prototype.atzMultiSelectCharFromDisclamer = /**
1364
- * @param {?} disclaimers
1365
- * @param {?} property
1366
- * @param {?} defaultValue
1367
- * @return {?}
1368
- */
1369
- function (disclaimers, property, defaultValue) {
1141
+ DisclaimerUtil.prototype.atzMultiSelectCharFromDisclamer = function (disclaimers, property, defaultValue) {
1370
1142
  return this.atzMultiSelectFromDisclamer('char', disclaimers, property, defaultValue);
1371
1143
  };
1372
1144
  /**
@@ -1375,13 +1147,7 @@
1375
1147
  * @param {?} defaultValue
1376
1148
  * @return {?}
1377
1149
  */
1378
- DisclaimerUtil.prototype.atzMultiSelectNumberFromDisclamer = /**
1379
- * @param {?} disclaimers
1380
- * @param {?} property
1381
- * @param {?} defaultValue
1382
- * @return {?}
1383
- */
1384
- function (disclaimers, property, defaultValue) {
1150
+ DisclaimerUtil.prototype.atzMultiSelectNumberFromDisclamer = function (disclaimers, property, defaultValue) {
1385
1151
  return this.atzMultiSelectFromDisclamer('number', disclaimers, property, defaultValue);
1386
1152
  };
1387
1153
  /**
@@ -1391,39 +1157,35 @@
1391
1157
  * @param {?} defaultValue
1392
1158
  * @return {?}
1393
1159
  */
1394
- DisclaimerUtil.prototype.atzMultiSelectFromDisclamer = /**
1395
- * @param {?} type
1396
- * @param {?} disclaimers
1397
- * @param {?} property
1398
- * @param {?} defaultValue
1399
- * @return {?}
1400
- */
1401
- function (type, disclaimers, property, defaultValue) {
1160
+ DisclaimerUtil.prototype.atzMultiSelectFromDisclamer = function (type, disclaimers, property, defaultValue) {
1402
1161
  /** @type {?} */
1403
1162
  var returnValue = [];
1404
- defaultValue.map((/**
1163
+ defaultValue.map(( /**
1164
+ * @param {?} item
1165
+ * @return {?}
1166
+ */function (/**
1405
1167
  * @param {?} item
1406
1168
  * @return {?}
1407
- */
1408
- function (item) {
1169
+ */ item) {
1409
1170
  returnValue.push(item.value);
1410
1171
  }));
1411
1172
  if (disclaimers && disclaimers.length > 0) {
1412
- disclaimers.find((/**
1173
+ disclaimers.find(( /**
1413
1174
  * @param {?} item
1414
1175
  * @return {?}
1415
- */
1416
- function (item) {
1176
+ */function (item) {
1417
1177
  if (item.property === property) {
1418
1178
  if (item.value === null || item.value === 'all' || item.value === 'none') {
1419
1179
  return false;
1420
1180
  }
1421
1181
  returnValue = [];
1422
- item.value.split(',').forEach((/**
1182
+ item.value.split(',').forEach(( /**
1423
1183
  * @param {?} itemOpt
1424
1184
  * @return {?}
1425
- */
1426
- function (itemOpt) {
1185
+ */function (/**
1186
+ * @param {?} itemOpt
1187
+ * @return {?}
1188
+ */ itemOpt) {
1427
1189
  if (type === 'char') {
1428
1190
  returnValue.push(itemOpt);
1429
1191
  }
@@ -1444,38 +1206,35 @@
1444
1206
  * @param {?} options
1445
1207
  * @return {?}
1446
1208
  */
1447
- DisclaimerUtil.prototype.atzCheckboxFromDisclamer = /**
1448
- * @param {?} disclaimers
1449
- * @param {?} property
1450
- * @param {?} options
1451
- * @return {?}
1452
- */
1453
- function (disclaimers, property, options) {
1209
+ DisclaimerUtil.prototype.atzCheckboxFromDisclamer = function (disclaimers, property, options) {
1454
1210
  /** @type {?} */
1455
1211
  var returnValue = [];
1456
- options.map((/**
1212
+ options.map(( /**
1213
+ * @param {?} item
1214
+ * @return {?}
1215
+ */function (/**
1457
1216
  * @param {?} item
1458
1217
  * @return {?}
1459
- */
1460
- function (item) {
1218
+ */ item) {
1461
1219
  returnValue.push(item.value);
1462
1220
  }));
1463
1221
  if (disclaimers && disclaimers.length > 0) {
1464
- disclaimers.find((/**
1222
+ disclaimers.find(( /**
1465
1223
  * @param {?} item
1466
1224
  * @return {?}
1467
- */
1468
- function (item) {
1225
+ */function (item) {
1469
1226
  if (item.property === property) {
1470
1227
  if (item.value === null || item.value === 'all' || item.value === 'none') {
1471
1228
  return false;
1472
1229
  }
1473
1230
  returnValue = [];
1474
- item.value.split(',').forEach((/**
1231
+ item.value.split(',').forEach(( /**
1475
1232
  * @param {?} itemOpt
1476
1233
  * @return {?}
1477
- */
1478
- function (itemOpt) {
1234
+ */function (/**
1235
+ * @param {?} itemOpt
1236
+ * @return {?}
1237
+ */ itemOpt) {
1479
1238
  returnValue.push(itemOpt);
1480
1239
  }));
1481
1240
  return true;
@@ -1491,21 +1250,14 @@
1491
1250
  * @param {?} rangeChar
1492
1251
  * @return {?}
1493
1252
  */
1494
- DisclaimerUtil.prototype.atzRangeCharFromDisclamer = /**
1495
- * @param {?} disclaimers
1496
- * @param {?} property
1497
- * @param {?} rangeChar
1498
- * @return {?}
1499
- */
1500
- function (disclaimers, property, rangeChar) {
1253
+ DisclaimerUtil.prototype.atzRangeCharFromDisclamer = function (disclaimers, property, rangeChar) {
1501
1254
  /** @type {?} */
1502
1255
  var value = '';
1503
1256
  if (disclaimers && disclaimers.length > 0) {
1504
- disclaimers.find((/**
1257
+ disclaimers.find(( /**
1505
1258
  * @param {?} item
1506
1259
  * @return {?}
1507
- */
1508
- function (item) {
1260
+ */function (item) {
1509
1261
  if (item.property === property) {
1510
1262
  if (item.value === null) {
1511
1263
  return false;
@@ -1524,21 +1276,14 @@
1524
1276
  * @param {?} rangeNum
1525
1277
  * @return {?}
1526
1278
  */
1527
- DisclaimerUtil.prototype.atzRangeNumFromDisclamer = /**
1528
- * @param {?} disclaimers
1529
- * @param {?} property
1530
- * @param {?} rangeNum
1531
- * @return {?}
1532
- */
1533
- function (disclaimers, property, rangeNum) {
1279
+ DisclaimerUtil.prototype.atzRangeNumFromDisclamer = function (disclaimers, property, rangeNum) {
1534
1280
  /** @type {?} */
1535
1281
  var value = '';
1536
1282
  if (disclaimers && disclaimers.length > 0) {
1537
- disclaimers.find((/**
1283
+ disclaimers.find(( /**
1538
1284
  * @param {?} item
1539
1285
  * @return {?}
1540
- */
1541
- function (item) {
1286
+ */function (item) {
1542
1287
  if (item.property === property) {
1543
1288
  if (item.value === null) {
1544
1289
  return false;
@@ -1557,21 +1302,14 @@
1557
1302
  * @param {?} rangeDate
1558
1303
  * @return {?}
1559
1304
  */
1560
- DisclaimerUtil.prototype.atzRangeDateFromDisclamer = /**
1561
- * @param {?} disclaimers
1562
- * @param {?} property
1563
- * @param {?} rangeDate
1564
- * @return {?}
1565
- */
1566
- function (disclaimers, property, rangeDate) {
1305
+ DisclaimerUtil.prototype.atzRangeDateFromDisclamer = function (disclaimers, property, rangeDate) {
1567
1306
  /** @type {?} */
1568
1307
  var value = '';
1569
1308
  if (disclaimers && disclaimers.length > 0) {
1570
- disclaimers.find((/**
1309
+ disclaimers.find(( /**
1571
1310
  * @param {?} item
1572
1311
  * @return {?}
1573
- */
1574
- function (item) {
1312
+ */function (item) {
1575
1313
  if (item.property === property) {
1576
1314
  if (item.value === null) {
1577
1315
  return false;
@@ -1589,12 +1327,7 @@
1589
1327
  * @param {?} rangeChar
1590
1328
  * @return {?}
1591
1329
  */
1592
- DisclaimerUtil.prototype.atzRangeCharFromQueryParam = /**
1593
- * @param {?} value
1594
- * @param {?} rangeChar
1595
- * @return {?}
1596
- */
1597
- function (value, rangeChar) {
1330
+ DisclaimerUtil.prototype.atzRangeCharFromQueryParam = function (value, rangeChar) {
1598
1331
  rangeChar.valInitial = rangeChar.iniInitial;
1599
1332
  rangeChar.valFinal = rangeChar.iniFinal;
1600
1333
  if (!value || value === '') {
@@ -1612,12 +1345,7 @@
1612
1345
  * @param {?} rangeNum
1613
1346
  * @return {?}
1614
1347
  */
1615
- DisclaimerUtil.prototype.atzRangeNumFromQueryParam = /**
1616
- * @param {?} value
1617
- * @param {?} rangeNum
1618
- * @return {?}
1619
- */
1620
- function (value, rangeNum) {
1348
+ DisclaimerUtil.prototype.atzRangeNumFromQueryParam = function (value, rangeNum) {
1621
1349
  rangeNum.valInitial = rangeNum.iniInitial;
1622
1350
  rangeNum.valFinal = rangeNum.iniFinal;
1623
1351
  if (!value || value === '') {
@@ -1635,12 +1363,7 @@
1635
1363
  * @param {?} rangeDate
1636
1364
  * @return {?}
1637
1365
  */
1638
- DisclaimerUtil.prototype.atzRangeDateFromQueryParam = /**
1639
- * @param {?} value
1640
- * @param {?} rangeDate
1641
- * @return {?}
1642
- */
1643
- function (value, rangeDate) {
1366
+ DisclaimerUtil.prototype.atzRangeDateFromQueryParam = function (value, rangeDate) {
1644
1367
  rangeDate.valInitial = rangeDate.iniInitial;
1645
1368
  rangeDate.valFinal = rangeDate.iniFinal;
1646
1369
  if (!value || value === '') {
@@ -1657,11 +1380,7 @@
1657
1380
  * @param {?} date
1658
1381
  * @return {?}
1659
1382
  */
1660
- DisclaimerUtil.prototype.dateToQueryParam = /**
1661
- * @param {?} date
1662
- * @return {?}
1663
- */
1664
- function (date) {
1383
+ DisclaimerUtil.prototype.dateToQueryParam = function (date) {
1665
1384
  /** @type {?} */
1666
1385
  var iDay = date.getDate();
1667
1386
  /** @type {?} */
@@ -1674,11 +1393,7 @@
1674
1393
  * @param {?} param
1675
1394
  * @return {?}
1676
1395
  */
1677
- DisclaimerUtil.prototype.queryParamToDate = /**
1678
- * @param {?} param
1679
- * @return {?}
1680
- */
1681
- function (param) {
1396
+ DisclaimerUtil.prototype.queryParamToDate = function (param) {
1682
1397
  /** @type {?} */
1683
1398
  var iDay = +param.split('-')[2];
1684
1399
  /** @type {?} */
@@ -1691,22 +1406,14 @@
1691
1406
  * @param {?} date
1692
1407
  * @return {?}
1693
1408
  */
1694
- DisclaimerUtil.prototype.isValidDate = /**
1695
- * @param {?} date
1696
- * @return {?}
1697
- */
1698
- function (date) {
1409
+ DisclaimerUtil.prototype.isValidDate = function (date) {
1699
1410
  return date instanceof Date && !isNaN(date.getTime());
1700
1411
  };
1701
1412
  /**
1702
1413
  * @param {?} param
1703
1414
  * @return {?}
1704
1415
  */
1705
- DisclaimerUtil.prototype.ajustDate = /**
1706
- * @param {?} param
1707
- * @return {?}
1708
- */
1709
- function (param) {
1416
+ DisclaimerUtil.prototype.ajustDate = function (param) {
1710
1417
  if (param instanceof Date) {
1711
1418
  return param;
1712
1419
  }
@@ -1719,11 +1426,7 @@
1719
1426
  * @param {?} number
1720
1427
  * @return {?}
1721
1428
  */
1722
- DisclaimerUtil.prototype.pad = /**
1723
- * @param {?} number
1724
- * @return {?}
1725
- */
1726
- function (number) {
1429
+ DisclaimerUtil.prototype.pad = function (number) {
1727
1430
  if (number < 10) {
1728
1431
  return '0' + number;
1729
1432
  }
@@ -1742,9 +1445,15 @@
1742
1445
 
1743
1446
  /**
1744
1447
  * @fileoverview added by tsickle
1745
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1448
+ * Generated from: lib/utils/field-validation.util.ts
1449
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1746
1450
  */
1747
1451
  var FieldValidationUtil = /** @class */ (function () {
1452
+ /**
1453
+ * @param {?} poNotification
1454
+ * @param {?} poI18nPipe
1455
+ * @param {?} literals
1456
+ */
1748
1457
  function FieldValidationUtil(poNotification, poI18nPipe, literals) {
1749
1458
  this.literals = {};
1750
1459
  this.poNotification = poNotification;
@@ -1757,12 +1466,7 @@
1757
1466
  * @param {?} value
1758
1467
  * @return {?}
1759
1468
  */
1760
- FieldValidationUtil.prototype.vldFieldCharacter = /**
1761
- * @param {?} field
1762
- * @param {?} value
1763
- * @return {?}
1764
- */
1765
- function (field, value) {
1469
+ FieldValidationUtil.prototype.vldFieldCharacter = function (field, value) {
1766
1470
  if (!value || value.trim() === '') {
1767
1471
  this.poNotification.error({
1768
1472
  message: this.poI18nPipe.transform(this.literals['fieldVldRequered'], [this.literals[field]])
@@ -1772,7 +1476,6 @@
1772
1476
  return true;
1773
1477
  };
1774
1478
  // Valida uma faixa de caracteres se o inicial é menor que final
1775
- // Valida uma faixa de caracteres se o inicial é menor que final
1776
1479
  /**
1777
1480
  * @param {?} initialField
1778
1481
  * @param {?} finalField
@@ -1780,16 +1483,7 @@
1780
1483
  * @param {?} finalValue
1781
1484
  * @return {?}
1782
1485
  */
1783
- FieldValidationUtil.prototype.vldRangeCharacter =
1784
- // Valida uma faixa de caracteres se o inicial é menor que final
1785
- /**
1786
- * @param {?} initialField
1787
- * @param {?} finalField
1788
- * @param {?} initialValue
1789
- * @param {?} finalValue
1790
- * @return {?}
1791
- */
1792
- function (initialField, finalField, initialValue, finalValue) {
1486
+ FieldValidationUtil.prototype.vldRangeCharacter = function (initialField, finalField, initialValue, finalValue) {
1793
1487
  if (!initialValue || !finalValue) {
1794
1488
  return true;
1795
1489
  }
@@ -1808,14 +1502,7 @@
1808
1502
  * @param {?=} zeroAccept
1809
1503
  * @return {?}
1810
1504
  */
1811
- FieldValidationUtil.prototype.vldFieldNumber = /**
1812
- * @param {?} field
1813
- * @param {?} value
1814
- * @param {?=} vldValue
1815
- * @param {?=} zeroAccept
1816
- * @return {?}
1817
- */
1818
- function (field, value, vldValue, zeroAccept) {
1505
+ FieldValidationUtil.prototype.vldFieldNumber = function (field, value, vldValue, zeroAccept) {
1819
1506
  if (vldValue === void 0) { vldValue = false; }
1820
1507
  if (zeroAccept === void 0) { zeroAccept = false; }
1821
1508
  if (vldValue && !this.vldValueOfNumber(field, value)) {
@@ -1837,12 +1524,7 @@
1837
1524
  * @param {?} value
1838
1525
  * @return {?}
1839
1526
  */
1840
- FieldValidationUtil.prototype.vldValueOfNumber = /**
1841
- * @param {?} field
1842
- * @param {?} value
1843
- * @return {?}
1844
- */
1845
- function (field, value) {
1527
+ FieldValidationUtil.prototype.vldValueOfNumber = function (field, value) {
1846
1528
  if (value && value < 0) {
1847
1529
  this.poNotification.error({ message: this.poI18nPipe.transform(this.literals['fieldVldNumber'], [value.toString(), this.literals[field]]) });
1848
1530
  return false;
@@ -1855,13 +1537,7 @@
1855
1537
  * @param {?=} vldValue
1856
1538
  * @return {?}
1857
1539
  */
1858
- FieldValidationUtil.prototype.vldFieldPercent = /**
1859
- * @param {?} field
1860
- * @param {?} value
1861
- * @param {?=} vldValue
1862
- * @return {?}
1863
- */
1864
- function (field, value, vldValue) {
1540
+ FieldValidationUtil.prototype.vldFieldPercent = function (field, value, vldValue) {
1865
1541
  if (vldValue === void 0) { vldValue = false; }
1866
1542
  if (vldValue && !this.vldValueOfPercent(field, value)) {
1867
1543
  return false;
@@ -1876,12 +1552,7 @@
1876
1552
  * @param {?} value
1877
1553
  * @return {?}
1878
1554
  */
1879
- FieldValidationUtil.prototype.vldValueOfPercent = /**
1880
- * @param {?} field
1881
- * @param {?} value
1882
- * @return {?}
1883
- */
1884
- function (field, value) {
1555
+ FieldValidationUtil.prototype.vldValueOfPercent = function (field, value) {
1885
1556
  if (value && value < 0) {
1886
1557
  this.poNotification.error({ message: this.poI18nPipe.transform(this.literals['fieldVldNumber'], [value.toString(), this.literals[field]]) });
1887
1558
  return false;
@@ -1893,7 +1564,6 @@
1893
1564
  return true;
1894
1565
  };
1895
1566
  // Valida uma faixa de números se o inicial é menor que final
1896
- // Valida uma faixa de números se o inicial é menor que final
1897
1567
  /**
1898
1568
  * @param {?} initialField
1899
1569
  * @param {?} finalField
@@ -1901,16 +1571,7 @@
1901
1571
  * @param {?} finalValue
1902
1572
  * @return {?}
1903
1573
  */
1904
- FieldValidationUtil.prototype.vldRangeNumber =
1905
- // Valida uma faixa de números se o inicial é menor que final
1906
- /**
1907
- * @param {?} initialField
1908
- * @param {?} finalField
1909
- * @param {?} initialValue
1910
- * @param {?} finalValue
1911
- * @return {?}
1912
- */
1913
- function (initialField, finalField, initialValue, finalValue) {
1574
+ FieldValidationUtil.prototype.vldRangeNumber = function (initialField, finalField, initialValue, finalValue) {
1914
1575
  if (!initialValue) {
1915
1576
  initialValue = 0;
1916
1577
  }
@@ -1930,12 +1591,7 @@
1930
1591
  * @param {?} value
1931
1592
  * @return {?}
1932
1593
  */
1933
- FieldValidationUtil.prototype.vldFieldDate = /**
1934
- * @param {?} field
1935
- * @param {?} value
1936
- * @return {?}
1937
- */
1938
- function (field, value) {
1594
+ FieldValidationUtil.prototype.vldFieldDate = function (field, value) {
1939
1595
  /** @type {?} */
1940
1596
  var valDate = this.disclaimerUtil.ajustDate(value);
1941
1597
  if (!this.disclaimerUtil.isValidDate(valDate)) {
@@ -1947,16 +1603,6 @@
1947
1603
  return true;
1948
1604
  };
1949
1605
  // Valida uma faixa de datas se o inicial é menor que final
1950
- // Valida uma faixa de datas se o inicial é menor que final
1951
- /**
1952
- * @param {?} initialField
1953
- * @param {?} finalField
1954
- * @param {?} initialValue
1955
- * @param {?} finalValue
1956
- * @return {?}
1957
- */
1958
- FieldValidationUtil.prototype.vldRangeDate =
1959
- // Valida uma faixa de datas se o inicial é menor que final
1960
1606
  /**
1961
1607
  * @param {?} initialField
1962
1608
  * @param {?} finalField
@@ -1964,7 +1610,7 @@
1964
1610
  * @param {?} finalValue
1965
1611
  * @return {?}
1966
1612
  */
1967
- function (initialField, finalField, initialValue, finalValue) {
1613
+ FieldValidationUtil.prototype.vldRangeDate = function (initialField, finalField, initialValue, finalValue) {
1968
1614
  if (!initialValue || !finalValue) {
1969
1615
  return true;
1970
1616
  }
@@ -1985,12 +1631,7 @@
1985
1631
  * @param {?} value
1986
1632
  * @return {?}
1987
1633
  */
1988
- FieldValidationUtil.prototype.vldFieldMultiSelect = /**
1989
- * @param {?} field
1990
- * @param {?} value
1991
- * @return {?}
1992
- */
1993
- function (field, value) {
1634
+ FieldValidationUtil.prototype.vldFieldMultiSelect = function (field, value) {
1994
1635
  if (!value || value.length === 0) {
1995
1636
  this.poNotification.error({
1996
1637
  message: this.poI18nPipe.transform(this.literals['fieldVldSelected'], [this.literals[field]])
@@ -2004,12 +1645,7 @@
2004
1645
  * @param {?} value
2005
1646
  * @return {?}
2006
1647
  */
2007
- FieldValidationUtil.prototype.vldFieldCheckbox = /**
2008
- * @param {?} field
2009
- * @param {?} value
2010
- * @return {?}
2011
- */
2012
- function (field, value) {
1648
+ FieldValidationUtil.prototype.vldFieldCheckbox = function (field, value) {
2013
1649
  if (!value || value.length === 0) {
2014
1650
  this.poNotification.error({
2015
1651
  message: this.poI18nPipe.transform(this.literals['fieldVldSelected'], [this.literals[field]])
@@ -2019,7 +1655,6 @@
2019
1655
  return true;
2020
1656
  };
2021
1657
  // Valida formato conforme regra: "9" apenas números, "X" qualquer caracter, "!" apenas letras maiúsculas
2022
- // Valida formato conforme regra: "9" apenas números, "X" qualquer caracter, "!" apenas letras maiúsculas
2023
1658
  /**
2024
1659
  * @param {?} field
2025
1660
  * @param {?} value
@@ -2027,16 +1662,7 @@
2027
1662
  * @param {?=} replacePoint
2028
1663
  * @return {?}
2029
1664
  */
2030
- FieldValidationUtil.prototype.vldFieldFormat =
2031
- // Valida formato conforme regra: "9" apenas números, "X" qualquer caracter, "!" apenas letras maiúsculas
2032
- /**
2033
- * @param {?} field
2034
- * @param {?} value
2035
- * @param {?} format
2036
- * @param {?=} replacePoint
2037
- * @return {?}
2038
- */
2039
- function (field, value, format, replacePoint) {
1665
+ FieldValidationUtil.prototype.vldFieldFormat = function (field, value, format, replacePoint) {
2040
1666
  if (replacePoint === void 0) { replacePoint = false; }
2041
1667
  /** @type {?} */
2042
1668
  var lOK = true;
@@ -2094,7 +1720,8 @@
2094
1720
 
2095
1721
  /**
2096
1722
  * @fileoverview added by tsickle
2097
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1723
+ * Generated from: lib/utils/filter-range.util.ts
1724
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2098
1725
  */
2099
1726
  /*
2100
1727
  Versão: 1.000
@@ -2108,12 +1735,7 @@
2108
1735
  * @param {?} iniFinal
2109
1736
  * @return {?}
2110
1737
  */
2111
- FilterRangeUtil.makeFilterRangeCharacter = /**
2112
- * @param {?} iniInitial
2113
- * @param {?} iniFinal
2114
- * @return {?}
2115
- */
2116
- function (iniInitial, iniFinal) {
1738
+ FilterRangeUtil.makeFilterRangeCharacter = function (iniInitial, iniFinal) {
2117
1739
  return {
2118
1740
  iniInitial: iniInitial,
2119
1741
  iniFinal: iniFinal,
@@ -2126,12 +1748,7 @@
2126
1748
  * @param {?} iniFinal
2127
1749
  * @return {?}
2128
1750
  */
2129
- FilterRangeUtil.makeFilterRangeNumber = /**
2130
- * @param {?} iniInitial
2131
- * @param {?} iniFinal
2132
- * @return {?}
2133
- */
2134
- function (iniInitial, iniFinal) {
1751
+ FilterRangeUtil.makeFilterRangeNumber = function (iniInitial, iniFinal) {
2135
1752
  return {
2136
1753
  iniInitial: iniInitial,
2137
1754
  iniFinal: iniFinal,
@@ -2144,12 +1761,7 @@
2144
1761
  * @param {?} iniFinal
2145
1762
  * @return {?}
2146
1763
  */
2147
- FilterRangeUtil.makeFilterRangeDate = /**
2148
- * @param {?} iniInitial
2149
- * @param {?} iniFinal
2150
- * @return {?}
2151
- */
2152
- function (iniInitial, iniFinal) {
1764
+ FilterRangeUtil.makeFilterRangeDate = function (iniInitial, iniFinal) {
2153
1765
  return {
2154
1766
  iniInitial: iniInitial,
2155
1767
  iniFinal: iniFinal,
@@ -2162,7 +1774,8 @@
2162
1774
 
2163
1775
  /**
2164
1776
  * @fileoverview added by tsickle
2165
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1777
+ * Generated from: lib/utils/generic-functions.utils.ts
1778
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2166
1779
  */
2167
1780
  /*
2168
1781
  Versão: 1.003
@@ -2189,22 +1802,19 @@
2189
1802
  ChartValues.prototype.maxValue;
2190
1803
  }
2191
1804
  var GenericFunctionsUtils = /** @class */ (function () {
1805
+ /**
1806
+ * @param {?} literals
1807
+ */
2192
1808
  function GenericFunctionsUtils(literals) {
2193
1809
  this.literals = {};
2194
1810
  this.literals = literals;
2195
1811
  }
2196
1812
  /* Transforma uma Lista separada por "," em um Array */
2197
- /* Transforma uma Lista separada por "," em um Array */
2198
1813
  /**
2199
1814
  * @param {?} list
2200
1815
  * @return {?}
2201
1816
  */
2202
- GenericFunctionsUtils.listToArrayCharacter = /* Transforma uma Lista separada por "," em um Array */
2203
- /**
2204
- * @param {?} list
2205
- * @return {?}
2206
- */
2207
- function (list) {
1817
+ GenericFunctionsUtils.listToArrayCharacter = function (list) {
2208
1818
  /** @type {?} */
2209
1819
  var returnArray = new Array();
2210
1820
  if (list && list !== '') {
@@ -2213,17 +1823,11 @@
2213
1823
  return returnArray;
2214
1824
  };
2215
1825
  /* Transforma um Array em uma Lista separada por "," */
2216
- /* Transforma um Array em uma Lista separada por "," */
2217
1826
  /**
2218
1827
  * @param {?} array
2219
1828
  * @return {?}
2220
1829
  */
2221
- GenericFunctionsUtils.ArrayToListCharacter = /* Transforma um Array em uma Lista separada por "," */
2222
- /**
2223
- * @param {?} array
2224
- * @return {?}
2225
- */
2226
- function (array) {
1830
+ GenericFunctionsUtils.ArrayToListCharacter = function (array) {
2227
1831
  /** @type {?} */
2228
1832
  var list = '';
2229
1833
  if (array && array.length > 0) {
@@ -2235,11 +1839,7 @@
2235
1839
  * @param {?} object
2236
1840
  * @return {?}
2237
1841
  */
2238
- GenericFunctionsUtils.isEmpty = /**
2239
- * @param {?} object
2240
- * @return {?}
2241
- */
2242
- function (object) {
1842
+ GenericFunctionsUtils.isEmpty = function (object) {
2243
1843
  /** @type {?} */
2244
1844
  var isEmpty = true;
2245
1845
  for (var content in object) {
@@ -2253,11 +1853,7 @@
2253
1853
  * @param {?} chartData
2254
1854
  * @return {?}
2255
1855
  */
2256
- GenericFunctionsUtils.getChartValues = /**
2257
- * @param {?} chartData
2258
- * @return {?}
2259
- */
2260
- function (chartData) {
1856
+ GenericFunctionsUtils.getChartValues = function (chartData) {
2261
1857
  /** @type {?} */
2262
1858
  var chartValues;
2263
1859
  /** @type {?} */
@@ -2266,11 +1862,13 @@
2266
1862
  var minValue;
2267
1863
  maxValue = undefined;
2268
1864
  minValue = undefined;
2269
- chartData.map((/**
1865
+ chartData.map(( /**
1866
+ * @param {?} item
1867
+ * @return {?}
1868
+ */function (/**
2270
1869
  * @param {?} item
2271
1870
  * @return {?}
2272
- */
2273
- function (item) {
1871
+ */ item) {
2274
1872
  if (maxValue === undefined && minValue === undefined) {
2275
1873
  maxValue = item.data[0];
2276
1874
  minValue = item.data[0];
@@ -2308,22 +1906,15 @@
2308
1906
  }
2309
1907
  chartValues.maxValue = Math.round(chartValues.maxValue);
2310
1908
  chartValues.minValue = Math.round(chartValues.minValue);
2311
- return chartValues;
2312
- };
2313
- /*Deixa no list apenas o itens que existem no options*/
2314
- /*Deixa no list apenas o itens que existem no options*/
2315
- /**
2316
- * @param {?} options
2317
- * @param {?} list
2318
- * @return {?}
2319
- */
2320
- GenericFunctionsUtils.atzMultiSelectListByOptions = /*Deixa no list apenas o itens que existem no options*/
1909
+ return chartValues;
1910
+ };
1911
+ /*Deixa no list apenas o itens que existem no options*/
2321
1912
  /**
2322
1913
  * @param {?} options
2323
1914
  * @param {?} list
2324
1915
  * @return {?}
2325
1916
  */
2326
- function (options, list) {
1917
+ GenericFunctionsUtils.atzMultiSelectListByOptions = function (options, list) {
2327
1918
  /** @type {?} */
2328
1919
  var idx;
2329
1920
  /** @type {?} */
@@ -2332,17 +1923,21 @@
2332
1923
  return list;
2333
1924
  }
2334
1925
  newList = new Array();
2335
- list.map((/**
1926
+ list.map(( /**
1927
+ * @param {?} item
1928
+ * @return {?}
1929
+ */function (/**
2336
1930
  * @param {?} item
2337
1931
  * @return {?}
2338
- */
2339
- function (item) {
1932
+ */ item) {
2340
1933
  if (item) {
2341
- idx = options.findIndex((/**
1934
+ idx = options.findIndex(( /**
1935
+ * @param {?} itemOptions
1936
+ * @return {?}
1937
+ */function (/**
2342
1938
  * @param {?} itemOptions
2343
1939
  * @return {?}
2344
- */
2345
- function (itemOptions) { return itemOptions.value === item; }));
1940
+ */ itemOptions) { return itemOptions.value === item; }));
2346
1941
  if (idx >= 0) {
2347
1942
  newList.push(item);
2348
1943
  }
@@ -2351,36 +1946,33 @@
2351
1946
  return newList;
2352
1947
  };
2353
1948
  /*Carrega o Options com os valores defaults passados como parâmetro (list)*/
2354
- /*Carrega o Options com os valores defaults passados como parâmetro (list)*/
2355
1949
  /**
2356
1950
  * @param {?} options
2357
1951
  * @param {?} list
2358
1952
  * @return {?}
2359
1953
  */
2360
- GenericFunctionsUtils.prototype.loadOptionsMultiSelect = /*Carrega o Options com os valores defaults passados como parâmetro (list)*/
2361
- /**
2362
- * @param {?} options
2363
- * @param {?} list
2364
- * @return {?}
2365
- */
2366
- function (options, list) {
1954
+ GenericFunctionsUtils.prototype.loadOptionsMultiSelect = function (options, list) {
2367
1955
  var _this = this;
2368
1956
  /** @type {?} */
2369
1957
  var idx;
2370
1958
  if (!list) {
2371
1959
  return;
2372
1960
  }
2373
- list.map((/**
1961
+ list.map(( /**
1962
+ * @param {?} item
1963
+ * @return {?}
1964
+ */function (/**
2374
1965
  * @param {?} item
2375
1966
  * @return {?}
2376
- */
2377
- function (item) {
1967
+ */ item) {
2378
1968
  if (item) {
2379
- idx = options.findIndex((/**
1969
+ idx = options.findIndex(( /**
1970
+ * @param {?} itemOptions
1971
+ * @return {?}
1972
+ */function (/**
2380
1973
  * @param {?} itemOptions
2381
1974
  * @return {?}
2382
- */
2383
- function (itemOptions) { return itemOptions.value === item; }));
1975
+ */ itemOptions) { return itemOptions.value === item; }));
2384
1976
  if (idx === -1) {
2385
1977
  options.push({ label: item === 'all' ? _this.literals['all'] : item, value: item });
2386
1978
  }
@@ -2388,21 +1980,13 @@
2388
1980
  }));
2389
1981
  };
2390
1982
  /*Carrega o Options com os valores defaults passados como parâmetro (list)*/
2391
- /*Carrega o Options com os valores defaults passados como parâmetro (list)*/
2392
- /**
2393
- * @param {?} options
2394
- * @param {?} selectValue
2395
- * @param {?=} tradValue
2396
- * @return {?}
2397
- */
2398
- GenericFunctionsUtils.prototype.loadOptionsSelect = /*Carrega o Options com os valores defaults passados como parâmetro (list)*/
2399
1983
  /**
2400
1984
  * @param {?} options
2401
1985
  * @param {?} selectValue
2402
1986
  * @param {?=} tradValue
2403
1987
  * @return {?}
2404
1988
  */
2405
- function (options, selectValue, tradValue) {
1989
+ GenericFunctionsUtils.prototype.loadOptionsSelect = function (options, selectValue, tradValue) {
2406
1990
  if (tradValue === void 0) { tradValue = false; }
2407
1991
  /** @type {?} */
2408
1992
  var idx;
@@ -2410,30 +1994,25 @@
2410
1994
  return;
2411
1995
  }
2412
1996
  if (selectValue) {
2413
- idx = options.findIndex((/**
1997
+ idx = options.findIndex(( /**
2414
1998
  * @param {?} itemOptions
2415
1999
  * @return {?}
2416
- */
2417
- function (itemOptions) { return itemOptions.value === selectValue; }));
2000
+ */function (/**
2001
+ * @param {?} itemOptions
2002
+ * @return {?}
2003
+ */ itemOptions) { return itemOptions.value === selectValue; }));
2418
2004
  if (idx === -1) {
2419
2005
  options.push({ label: tradValue ? this.literals[selectValue] : selectValue, value: selectValue });
2420
2006
  }
2421
2007
  }
2422
2008
  };
2423
2009
  /*Método que compara 2 objetos e retorna se são iguais ou diferentes*/
2424
- /*Método que compara 2 objetos e retorna se são iguais ou diferentes*/
2425
- /**
2426
- * @param {?} firstObject
2427
- * @param {?} secondObject
2428
- * @return {?}
2429
- */
2430
- GenericFunctionsUtils.prototype.compareObjects = /*Método que compara 2 objetos e retorna se são iguais ou diferentes*/
2431
2010
  /**
2432
2011
  * @param {?} firstObject
2433
2012
  * @param {?} secondObject
2434
2013
  * @return {?}
2435
2014
  */
2436
- function (firstObject, secondObject) {
2015
+ GenericFunctionsUtils.prototype.compareObjects = function (firstObject, secondObject) {
2437
2016
  if (!firstObject || !secondObject) {
2438
2017
  return false;
2439
2018
  }
@@ -2456,12 +2035,7 @@
2456
2035
  * @param {?} dateRef
2457
2036
  * @return {?}
2458
2037
  */
2459
- GenericFunctionsUtils.prototype.referenceGeneration = /**
2460
- * @param {?} charInd
2461
- * @param {?} dateRef
2462
- * @return {?}
2463
- */
2464
- function (charInd, dateRef) {
2038
+ GenericFunctionsUtils.prototype.referenceGeneration = function (charInd, dateRef) {
2465
2039
  /** @type {?} */
2466
2040
  var reference;
2467
2041
  /** @type {?} */
@@ -2482,11 +2056,7 @@
2482
2056
  * @param {?} number
2483
2057
  * @return {?}
2484
2058
  */
2485
- GenericFunctionsUtils.prototype.pad = /**
2486
- * @param {?} number
2487
- * @return {?}
2488
- */
2489
- function (number) {
2059
+ GenericFunctionsUtils.prototype.pad = function (number) {
2490
2060
  if (number < 10) {
2491
2061
  return '0' + number;
2492
2062
  }
@@ -2499,15 +2069,11 @@
2499
2069
  * @param {?} idField
2500
2070
  * @return {?}
2501
2071
  */
2502
- GenericFunctionsUtils.prototype.focusInternalInput = /**
2503
- * @param {?} idField
2504
- * @return {?}
2505
- */
2506
- function (idField) {
2072
+ GenericFunctionsUtils.prototype.focusInternalInput = function (idField) {
2507
2073
  /** @type {?} */
2508
2074
  var fieldComponent = document.getElementById(idField);
2509
2075
  /** @type {?} */
2510
- var fieldInput = ((/** @type {?} */ ((/** @type {?} */ (fieldComponent.getElementsByClassName('po-input'))))))[0];
2076
+ var fieldInput = (( /** @type {?} */(( /** @type {?} */(fieldComponent.getElementsByClassName('po-input'))))))[0];
2511
2077
  fieldInput.focus();
2512
2078
  };
2513
2079
  return GenericFunctionsUtils;
@@ -2519,7 +2085,8 @@
2519
2085
 
2520
2086
  /**
2521
2087
  * @fileoverview added by tsickle
2522
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2088
+ * Generated from: lib/utils/file.util.ts
2089
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2523
2090
  */
2524
2091
  var FileUtil = /** @class */ (function () {
2525
2092
  function FileUtil() {
@@ -2531,14 +2098,7 @@
2531
2098
  * @param {?=} base64
2532
2099
  * @return {?}
2533
2100
  */
2534
- FileUtil.downloadFile = /**
2535
- * @param {?} data
2536
- * @param {?} fileName
2537
- * @param {?=} contentType
2538
- * @param {?=} base64
2539
- * @return {?}
2540
- */
2541
- function (data, fileName, contentType, base64) {
2101
+ FileUtil.downloadFile = function (data, fileName, contentType, base64) {
2542
2102
  base64 = (base64 === false) ? false : true;
2543
2103
  /** @type {?} */
2544
2104
  var dataBlob = base64 ? this.b64toBlob(data, contentType) : data;
@@ -2549,12 +2109,7 @@
2549
2109
  * @param {?=} dwldDataParam
2550
2110
  * @return {?}
2551
2111
  */
2552
- FileUtil.downloadData = /**
2553
- * @param {?} data
2554
- * @param {?=} dwldDataParam
2555
- * @return {?}
2556
- */
2557
- function (data, dwldDataParam) {
2112
+ FileUtil.downloadData = function (data, dwldDataParam) {
2558
2113
  if (dwldDataParam === void 0) { dwldDataParam = null; }
2559
2114
  if (!data) {
2560
2115
  return;
@@ -2587,13 +2142,7 @@
2587
2142
  * @param {?} fileName
2588
2143
  * @return {?}
2589
2144
  */
2590
- FileUtil.download = /**
2591
- * @private
2592
- * @param {?} file
2593
- * @param {?} fileName
2594
- * @return {?}
2595
- */
2596
- function (file, fileName) {
2145
+ FileUtil.download = function (file, fileName) {
2597
2146
  /** @type {?} */
2598
2147
  var binaryData = [file];
2599
2148
  /** @type {?} */
@@ -2620,14 +2169,7 @@
2620
2169
  * @param {?=} sliceSize
2621
2170
  * @return {?}
2622
2171
  */
2623
- FileUtil.b64toBlob = /**
2624
- * @private
2625
- * @param {?} b64Data
2626
- * @param {?=} contentType
2627
- * @param {?=} sliceSize
2628
- * @return {?}
2629
- */
2630
- function (b64Data, contentType, sliceSize) {
2172
+ FileUtil.b64toBlob = function (b64Data, contentType, sliceSize) {
2631
2173
  contentType = contentType || '';
2632
2174
  sliceSize = sliceSize || 512;
2633
2175
  /** @type {?} */
@@ -2656,13 +2198,7 @@
2656
2198
  * @param {?} dwldDataParam
2657
2199
  * @return {?}
2658
2200
  */
2659
- FileUtil.jsonToString = /**
2660
- * @private
2661
- * @param {?} jsonData
2662
- * @param {?} dwldDataParam
2663
- * @return {?}
2664
- */
2665
- function (jsonData, dwldDataParam) {
2201
+ FileUtil.jsonToString = function (jsonData, dwldDataParam) {
2666
2202
  if (!jsonData || jsonData.length === 0) {
2667
2203
  return '';
2668
2204
  }
@@ -2683,11 +2219,13 @@
2683
2219
  else {
2684
2220
  columnOrig = Object.keys(jsonData[0]);
2685
2221
  }
2686
- columnOrig.forEach((/**
2222
+ columnOrig.forEach(( /**
2687
2223
  * @param {?} key
2688
2224
  * @return {?}
2689
- */
2690
- function (key) {
2225
+ */function (/**
2226
+ * @param {?} key
2227
+ * @return {?}
2228
+ */ key) {
2691
2229
  includeKey = true;
2692
2230
  if (dwldDataParam.columnExclude &&
2693
2231
  dwldDataParam.columnExclude.length > 0 &&
@@ -2701,21 +2239,22 @@
2701
2239
  }
2702
2240
  }));
2703
2241
  /** @type {?} */
2704
- var lineStr = jsonData.reduce((/**
2242
+ var lineStr = jsonData.reduce(( /**
2705
2243
  * @param {?} accLineStr
2706
2244
  * @param {?} currentItem
2707
2245
  * @return {?}
2708
- */
2709
- function (accLineStr, currentItem) {
2246
+ */function (accLineStr, currentItem) {
2710
2247
  /** @type {?} */
2711
2248
  var first = true;
2712
2249
  /** @type {?} */
2713
2250
  var columnValue = null;
2714
- keys.forEach((/**
2251
+ keys.forEach(( /**
2252
+ * @param {?} key
2253
+ * @return {?}
2254
+ */function (/**
2715
2255
  * @param {?} key
2716
2256
  * @return {?}
2717
- */
2718
- function (key) {
2257
+ */ key) {
2719
2258
  if (!first) {
2720
2259
  accLineStr += dwldDataParam.columnDelimiter;
2721
2260
  }
@@ -2779,70 +2318,8 @@
2779
2318
 
2780
2319
  /**
2781
2320
  * @fileoverview added by tsickle
2782
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2783
- */
2784
- /**
2785
- * @record
2786
- * @template T
2787
- */
2788
- function TotvsResponse() { }
2789
- if (false) {
2790
- /** @type {?} */
2791
- TotvsResponse.prototype.items;
2792
- /** @type {?|undefined} */
2793
- TotvsResponse.prototype.hasNext;
2794
- }
2795
-
2796
- /**
2797
- * @fileoverview added by tsickle
2798
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2799
- */
2800
- /**
2801
- * @record
2802
- */
2803
- function IFilterRangeCharacter() { }
2804
- if (false) {
2805
- /** @type {?} */
2806
- IFilterRangeCharacter.prototype.iniInitial;
2807
- /** @type {?} */
2808
- IFilterRangeCharacter.prototype.iniFinal;
2809
- /** @type {?} */
2810
- IFilterRangeCharacter.prototype.valInitial;
2811
- /** @type {?} */
2812
- IFilterRangeCharacter.prototype.valFinal;
2813
- }
2814
- /**
2815
- * @record
2816
- */
2817
- function IFilterRangeNumber() { }
2818
- if (false) {
2819
- /** @type {?} */
2820
- IFilterRangeNumber.prototype.iniInitial;
2821
- /** @type {?} */
2822
- IFilterRangeNumber.prototype.iniFinal;
2823
- /** @type {?} */
2824
- IFilterRangeNumber.prototype.valInitial;
2825
- /** @type {?} */
2826
- IFilterRangeNumber.prototype.valFinal;
2827
- }
2828
- /**
2829
- * @record
2830
- */
2831
- function IFilterRangeDate() { }
2832
- if (false) {
2833
- /** @type {?} */
2834
- IFilterRangeDate.prototype.iniInitial;
2835
- /** @type {?} */
2836
- IFilterRangeDate.prototype.iniFinal;
2837
- /** @type {?} */
2838
- IFilterRangeDate.prototype.valInitial;
2839
- /** @type {?} */
2840
- IFilterRangeDate.prototype.valFinal;
2841
- }
2842
-
2843
- /**
2844
- * @fileoverview added by tsickle
2845
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2321
+ * Generated from: lib/components/totvs-schedule-execution/totvs-schedule-execution.model.ts
2322
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2846
2323
  */
2847
2324
  /**
2848
2325
  * @record
@@ -2982,9 +2459,13 @@
2982
2459
 
2983
2460
  /**
2984
2461
  * @fileoverview added by tsickle
2985
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2462
+ * Generated from: lib/components/totvs-schedule-execution/totvs-schedule-execution.service.ts
2463
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2986
2464
  */
2987
2465
  var TotvsScheduleExecutionService = /** @class */ (function () {
2466
+ /**
2467
+ * @param {?} http
2468
+ */
2988
2469
  function TotvsScheduleExecutionService(http) {
2989
2470
  this.http = http;
2990
2471
  this.headers = { headers: { 'X-PO-Screen-Lock': 'true' } };
@@ -2996,11 +2477,7 @@
2996
2477
  * @param {?} params
2997
2478
  * @return {?}
2998
2479
  */
2999
- TotvsScheduleExecutionService.prototype.getFilteredItems = /**
3000
- * @param {?} params
3001
- * @return {?}
3002
- */
3003
- function (params) {
2480
+ TotvsScheduleExecutionService.prototype.getFilteredItems = function (params) {
3004
2481
  /** @type {?} */
3005
2482
  var urlParams = new Array();
3006
2483
  urlParams.push("pageSize=" + params.pageSize.toString());
@@ -3014,11 +2491,7 @@
3014
2491
  * @param {?} id
3015
2492
  * @return {?}
3016
2493
  */
3017
- TotvsScheduleExecutionService.prototype.getObjectByValue = /**
3018
- * @param {?} id
3019
- * @return {?}
3020
- */
3021
- function (id) {
2494
+ TotvsScheduleExecutionService.prototype.getObjectByValue = function (id) {
3022
2495
  return this.http.get(this.urlCadServidor + "/" + id, this.headers);
3023
2496
  };
3024
2497
  /**
@@ -3026,12 +2499,7 @@
3026
2499
  * @param {?} loading
3027
2500
  * @return {?}
3028
2501
  */
3029
- TotvsScheduleExecutionService.prototype.createExecution = /**
3030
- * @param {?} parameters
3031
- * @param {?} loading
3032
- * @return {?}
3033
- */
3034
- function (parameters, loading) {
2502
+ TotvsScheduleExecutionService.prototype.createExecution = function (parameters, loading) {
3035
2503
  /** @type {?} */
3036
2504
  var params = JSON.parse(JSON.stringify(parameters).replace(/\\\\/g, '*|'));
3037
2505
  if (loading) {
@@ -3046,12 +2514,7 @@
3046
2514
  * @param {?} loading
3047
2515
  * @return {?}
3048
2516
  */
3049
- TotvsScheduleExecutionService.prototype.createExecutionForNow = /**
3050
- * @param {?} executionParams
3051
- * @param {?} loading
3052
- * @return {?}
3053
- */
3054
- function (executionParams, loading) {
2517
+ TotvsScheduleExecutionService.prototype.createExecutionForNow = function (executionParams, loading) {
3055
2518
  /** @type {?} */
3056
2519
  var jobScheduleParams;
3057
2520
  /** @type {?} */
@@ -3087,42 +2550,30 @@
3087
2550
  * @param {?=} loading
3088
2551
  * @return {?}
3089
2552
  */
3090
- TotvsScheduleExecutionService.prototype.getExecutionByJobScheduleID = /**
3091
- * @param {?} jobScheduleID
3092
- * @param {?=} loading
3093
- * @return {?}
3094
- */
3095
- function (jobScheduleID, loading) {
2553
+ TotvsScheduleExecutionService.prototype.getExecutionByJobScheduleID = function (jobScheduleID, loading) {
3096
2554
  var _this = this;
3097
2555
  if (loading === void 0) { loading = false; }
3098
2556
  /** @type {?} */
3099
2557
  var url = this.urlJobExecution + "?jobScheduleID=" + jobScheduleID;
3100
- return this.getExecution(url, loading).pipe(operators.map((/**
2558
+ return this.getExecution(url, loading).pipe(operators.map(( /**
3101
2559
  * @param {?} response
3102
2560
  * @return {?}
3103
- */
3104
- function (response) { return _this.transformExecution('jobScheduleID', response); })));
2561
+ */function (response) { return _this.transformExecution('jobScheduleID', response); })));
3105
2562
  };
3106
2563
  /**
3107
2564
  * @param {?} executionID
3108
2565
  * @param {?=} loading
3109
2566
  * @return {?}
3110
2567
  */
3111
- TotvsScheduleExecutionService.prototype.getExecutionByExecutionID = /**
3112
- * @param {?} executionID
3113
- * @param {?=} loading
3114
- * @return {?}
3115
- */
3116
- function (executionID, loading) {
2568
+ TotvsScheduleExecutionService.prototype.getExecutionByExecutionID = function (executionID, loading) {
3117
2569
  var _this = this;
3118
2570
  if (loading === void 0) { loading = false; }
3119
2571
  /** @type {?} */
3120
2572
  var url = this.urlJobExecution + "/" + executionID;
3121
- return this.getExecution(url, loading).pipe(operators.map((/**
2573
+ return this.getExecution(url, loading).pipe(operators.map(( /**
3122
2574
  * @param {?} response
3123
2575
  * @return {?}
3124
- */
3125
- function (response) { return _this.transformExecution('executionID', response); })));
2576
+ */function (response) { return _this.transformExecution('executionID', response); })));
3126
2577
  };
3127
2578
  /**
3128
2579
  * @private
@@ -3130,13 +2581,7 @@
3130
2581
  * @param {?} loading
3131
2582
  * @return {?}
3132
2583
  */
3133
- TotvsScheduleExecutionService.prototype.getExecution = /**
3134
- * @private
3135
- * @param {?} url
3136
- * @param {?} loading
3137
- * @return {?}
3138
- */
3139
- function (url, loading) {
2584
+ TotvsScheduleExecutionService.prototype.getExecution = function (url, loading) {
3140
2585
  if (loading) {
3141
2586
  return this.http.get(url, this.headers);
3142
2587
  }
@@ -3150,13 +2595,7 @@
3150
2595
  * @param {?} response
3151
2596
  * @return {?}
3152
2597
  */
3153
- TotvsScheduleExecutionService.prototype.transformExecution = /**
3154
- * @private
3155
- * @param {?} type
3156
- * @param {?} response
3157
- * @return {?}
3158
- */
3159
- function (type, response) {
2598
+ TotvsScheduleExecutionService.prototype.transformExecution = function (type, response) {
3160
2599
  if (!response || !response.items || response.items.length === 0) {
3161
2600
  return;
3162
2601
  }
@@ -3177,14 +2616,7 @@
3177
2616
  * @param {?=} loading
3178
2617
  * @return {?}
3179
2618
  */
3180
- TotvsScheduleExecutionService.prototype.followUpExcByJobScheduleID = /**
3181
- * @param {?} jobScheduleID
3182
- * @param {?} intervalNum
3183
- * @param {?} fncCallBack
3184
- * @param {?=} loading
3185
- * @return {?}
3186
- */
3187
- function (jobScheduleID, intervalNum, fncCallBack, loading) {
2619
+ TotvsScheduleExecutionService.prototype.followUpExcByJobScheduleID = function (jobScheduleID, intervalNum, fncCallBack, loading) {
3188
2620
  if (loading === void 0) { loading = false; }
3189
2621
  this.followUpExecution('jobScheduleID', jobScheduleID, intervalNum, fncCallBack, loading);
3190
2622
  };
@@ -3195,14 +2627,7 @@
3195
2627
  * @param {?=} loading
3196
2628
  * @return {?}
3197
2629
  */
3198
- TotvsScheduleExecutionService.prototype.followUpExcByExecutionID = /**
3199
- * @param {?} executionID
3200
- * @param {?} intervalNum
3201
- * @param {?} fncCallBack
3202
- * @param {?=} loading
3203
- * @return {?}
3204
- */
3205
- function (executionID, intervalNum, fncCallBack, loading) {
2630
+ TotvsScheduleExecutionService.prototype.followUpExcByExecutionID = function (executionID, intervalNum, fncCallBack, loading) {
3206
2631
  if (loading === void 0) { loading = false; }
3207
2632
  this.followUpExecution('executionID', executionID, intervalNum, fncCallBack, loading);
3208
2633
  };
@@ -3215,23 +2640,13 @@
3215
2640
  * @param {?} loading
3216
2641
  * @return {?}
3217
2642
  */
3218
- TotvsScheduleExecutionService.prototype.followUpExecution = /**
3219
- * @private
3220
- * @param {?} type
3221
- * @param {?} execID
3222
- * @param {?} intervalNum
3223
- * @param {?} fncCallBack
3224
- * @param {?} loading
3225
- * @return {?}
3226
- */
3227
- function (type, execID, intervalNum, fncCallBack, loading) {
2643
+ TotvsScheduleExecutionService.prototype.followUpExecution = function (type, execID, intervalNum, fncCallBack, loading) {
3228
2644
  var _this = this;
3229
2645
  this.jobExecutionSubscription$ = null;
3230
2646
  /** @type {?} */
3231
- var intervalID = setInterval((/**
2647
+ var intervalID = setInterval(( /**
3232
2648
  * @return {?}
3233
- */
3234
- function () {
2649
+ */function () {
3235
2650
  /** @type {?} */
3236
2651
  var execStatus = new ExecutionStatus();
3237
2652
  execStatus.jobScheduleID = (type === 'jobScheduleID') ? execID : '';
@@ -3244,33 +2659,29 @@
3244
2659
  }
3245
2660
  if (type === 'jobScheduleID') {
3246
2661
  _this.jobExecutionSubscription$ = _this.getExecutionByJobScheduleID(execID, loading)
3247
- .subscribe((/**
3248
- * @param {?} response
3249
- * @return {?}
3250
- */
3251
- function (response) {
2662
+ .subscribe(( /**
2663
+ * @param {?} response
2664
+ * @return {?}
2665
+ */function (response) {
3252
2666
  _this.followUpExecReturnOk(execID, execStatus, response, intervalID, fncCallBack);
3253
- }), (/**
2667
+ }), ( /**
3254
2668
  * @param {?} error
3255
2669
  * @return {?}
3256
- */
3257
- function (error) {
2670
+ */function (error) {
3258
2671
  _this.followUpExecReturnError(error, execStatus, intervalID, fncCallBack);
3259
2672
  }));
3260
2673
  }
3261
2674
  if (type === 'executionID') {
3262
2675
  _this.jobExecutionSubscription$ = _this.getExecutionByExecutionID(execID, loading)
3263
- .subscribe((/**
3264
- * @param {?} response
3265
- * @return {?}
3266
- */
3267
- function (response) {
2676
+ .subscribe(( /**
2677
+ * @param {?} response
2678
+ * @return {?}
2679
+ */function (response) {
3268
2680
  _this.followUpExecReturnOk(execID, execStatus, response, intervalID, fncCallBack);
3269
- }), (/**
2681
+ }), ( /**
3270
2682
  * @param {?} error
3271
2683
  * @return {?}
3272
- */
3273
- function (error) {
2684
+ */function (error) {
3274
2685
  _this.followUpExecReturnError(error, execStatus, intervalID, fncCallBack);
3275
2686
  }));
3276
2687
  }
@@ -3285,16 +2696,7 @@
3285
2696
  * @param {?} fncCallBack
3286
2697
  * @return {?}
3287
2698
  */
3288
- TotvsScheduleExecutionService.prototype.followUpExecReturnOk = /**
3289
- * @private
3290
- * @param {?} execID
3291
- * @param {?} execStatus
3292
- * @param {?} response
3293
- * @param {?} intervalID
3294
- * @param {?} fncCallBack
3295
- * @return {?}
3296
- */
3297
- function (execID, execStatus, response, intervalID, fncCallBack) {
2699
+ TotvsScheduleExecutionService.prototype.followUpExecReturnOk = function (execID, execStatus, response, intervalID, fncCallBack) {
3298
2700
  if (response) {
3299
2701
  execStatus = response;
3300
2702
  }
@@ -3317,18 +2719,10 @@
3317
2719
  * @param {?} fncCallBack
3318
2720
  * @return {?}
3319
2721
  */
3320
- TotvsScheduleExecutionService.prototype.followUpExecReturnError = /**
3321
- * @private
3322
- * @param {?} error
3323
- * @param {?} execStatus
3324
- * @param {?} intervalID
3325
- * @param {?} fncCallBack
3326
- * @return {?}
3327
- */
3328
- function (error, execStatus, intervalID, fncCallBack) {
2722
+ TotvsScheduleExecutionService.prototype.followUpExecReturnError = function (error, execStatus, intervalID, fncCallBack) {
3329
2723
  /** @type {?} */
3330
2724
  var erroDesc = '';
3331
- if (error instanceof http.HttpErrorResponse) {
2725
+ if (error instanceof i1.HttpErrorResponse) {
3332
2726
  erroDesc = error.message;
3333
2727
  if (error.error) {
3334
2728
  erroDesc = '';
@@ -3357,12 +2751,7 @@
3357
2751
  * @param {?} num
3358
2752
  * @return {?}
3359
2753
  */
3360
- TotvsScheduleExecutionService.prototype.addZero = /**
3361
- * @private
3362
- * @param {?} num
3363
- * @return {?}
3364
- */
3365
- function (num) {
2754
+ TotvsScheduleExecutionService.prototype.addZero = function (num) {
3366
2755
  /** @type {?} */
3367
2756
  var str = "" + num;
3368
2757
  if (num < 10) {
@@ -3370,15 +2759,15 @@
3370
2759
  }
3371
2760
  return str;
3372
2761
  };
3373
- TotvsScheduleExecutionService.decorators = [
3374
- { type: core.Injectable }
3375
- ];
3376
- /** @nocollapse */
3377
- TotvsScheduleExecutionService.ctorParameters = function () { return [
3378
- { type: http.HttpClient }
3379
- ]; };
3380
2762
  return TotvsScheduleExecutionService;
3381
2763
  }());
2764
+ TotvsScheduleExecutionService.decorators = [
2765
+ { type: i0.Injectable }
2766
+ ];
2767
+ /** @nocollapse */
2768
+ TotvsScheduleExecutionService.ctorParameters = function () { return [
2769
+ { type: i1.HttpClient }
2770
+ ]; };
3382
2771
  if (false) {
3383
2772
  /**
3384
2773
  * @type {?}
@@ -3411,9 +2800,15 @@
3411
2800
 
3412
2801
  /**
3413
2802
  * @fileoverview added by tsickle
3414
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2803
+ * Generated from: lib/components/totvs-schedule-execution/totvs-schedule-execution.component.ts
2804
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3415
2805
  */
3416
2806
  var TotvsScheduleExecutionComponent = /** @class */ (function () {
2807
+ /**
2808
+ * @param {?} poI18nService
2809
+ * @param {?} rpwService
2810
+ * @param {?} poNotification
2811
+ */
3417
2812
  function TotvsScheduleExecutionComponent(poI18nService, rpwService, poNotification) {
3418
2813
  this.poI18nService = poI18nService;
3419
2814
  this.rpwService = rpwService;
@@ -3422,17 +2817,14 @@
3422
2817
  this.programVersion = '';
3423
2818
  this.disabledParams = false;
3424
2819
  this.loading = false;
3425
- this.endExecution = new core.EventEmitter();
2820
+ this.endExecution = new i0.EventEmitter();
3426
2821
  this.jsonObject = {};
3427
2822
  this.literals = {};
3428
2823
  }
3429
2824
  /**
3430
2825
  * @return {?}
3431
2826
  */
3432
- TotvsScheduleExecutionComponent.prototype.ngOnInit = /**
3433
- * @return {?}
3434
- */
3435
- function () {
2827
+ TotvsScheduleExecutionComponent.prototype.ngOnInit = function () {
3436
2828
  /* VERIFICAR COMO FICARÁ A TRADUÇÃO
3437
2829
  forkJoin(
3438
2830
  this.poI18nService.getLiterals(),
@@ -3446,10 +2838,7 @@
3446
2838
  /**
3447
2839
  * @return {?}
3448
2840
  */
3449
- TotvsScheduleExecutionComponent.prototype.setupComponents = /**
3450
- * @return {?}
3451
- */
3452
- function () {
2841
+ TotvsScheduleExecutionComponent.prototype.setupComponents = function () {
3453
2842
  this.executionTypeOptions = [
3454
2843
  { label: 'Executar Hoje', value: 1 },
3455
2844
  { label: 'Agendar Execução', value: 2 }
@@ -3484,11 +2873,7 @@
3484
2873
  * @param {?} schParam
3485
2874
  * @return {?}
3486
2875
  */
3487
- TotvsScheduleExecutionComponent.prototype.setScheduleParameters = /**
3488
- * @param {?} schParam
3489
- * @return {?}
3490
- */
3491
- function (schParam) {
2876
+ TotvsScheduleExecutionComponent.prototype.setScheduleParameters = function (schParam) {
3492
2877
  if (!schParam) {
3493
2878
  return;
3494
2879
  }
@@ -3498,47 +2883,31 @@
3498
2883
  * @param {?} value
3499
2884
  * @return {?}
3500
2885
  */
3501
- TotvsScheduleExecutionComponent.prototype.fieldRpwServiceFormat = /**
3502
- * @param {?} value
3503
- * @return {?}
3504
- */
3505
- function (value) {
2886
+ TotvsScheduleExecutionComponent.prototype.fieldRpwServiceFormat = function (value) {
3506
2887
  return value.code + " - " + value.name;
3507
2888
  };
3508
2889
  /**
3509
2890
  * @return {?}
3510
2891
  */
3511
- TotvsScheduleExecutionComponent.prototype.isExecutionSchedule = /**
3512
- * @return {?}
3513
- */
3514
- function () {
2892
+ TotvsScheduleExecutionComponent.prototype.isExecutionSchedule = function () {
3515
2893
  return (this.model.executionType === 2);
3516
2894
  };
3517
2895
  /**
3518
2896
  * @return {?}
3519
2897
  */
3520
- TotvsScheduleExecutionComponent.prototype.isRepeatExecution = /**
3521
- * @return {?}
3522
- */
3523
- function () {
2898
+ TotvsScheduleExecutionComponent.prototype.isRepeatExecution = function () {
3524
2899
  return this.model.repeatExecution;
3525
2900
  };
3526
2901
  /**
3527
2902
  * @return {?}
3528
2903
  */
3529
- TotvsScheduleExecutionComponent.prototype.isFrenquency = /**
3530
- * @return {?}
3531
- */
3532
- function () {
2904
+ TotvsScheduleExecutionComponent.prototype.isFrenquency = function () {
3533
2905
  return (this.model.frequency === 'yes');
3534
2906
  };
3535
2907
  /**
3536
2908
  * @return {?}
3537
2909
  */
3538
- TotvsScheduleExecutionComponent.prototype.changeRepeatExecution = /**
3539
- * @return {?}
3540
- */
3541
- function () {
2910
+ TotvsScheduleExecutionComponent.prototype.changeRepeatExecution = function () {
3542
2911
  /** @type {?} */
3543
2912
  var date = new Date();
3544
2913
  if (!this.model.execAppointHourInit) {
@@ -3556,10 +2925,7 @@
3556
2925
  /**
3557
2926
  * @return {?}
3558
2927
  */
3559
- TotvsScheduleExecutionComponent.prototype.changeExecutionType = /**
3560
- * @return {?}
3561
- */
3562
- function () {
2928
+ TotvsScheduleExecutionComponent.prototype.changeExecutionType = function () {
3563
2929
  /** @type {?} */
3564
2930
  var date = new Date();
3565
2931
  this.model.execAppointDate = date;
@@ -3568,42 +2934,27 @@
3568
2934
  /**
3569
2935
  * @return {?}
3570
2936
  */
3571
- TotvsScheduleExecutionComponent.prototype.changeTypeFrequency = /**
3572
- * @return {?}
3573
- */
3574
- function () {
2937
+ TotvsScheduleExecutionComponent.prototype.changeTypeFrequency = function () {
3575
2938
  };
3576
2939
  /**
3577
2940
  * @param {?} codTab
3578
2941
  * @return {?}
3579
2942
  */
3580
- TotvsScheduleExecutionComponent.prototype.getActiveTab = /**
3581
- * @param {?} codTab
3582
- * @return {?}
3583
- */
3584
- function (codTab) {
2943
+ TotvsScheduleExecutionComponent.prototype.getActiveTab = function (codTab) {
3585
2944
  return (this.model.repeatType === codTab);
3586
2945
  };
3587
2946
  /**
3588
2947
  * @param {?} codTab
3589
2948
  * @return {?}
3590
2949
  */
3591
- TotvsScheduleExecutionComponent.prototype.setActiveTab = /**
3592
- * @param {?} codTab
3593
- * @return {?}
3594
- */
3595
- function (codTab) {
2950
+ TotvsScheduleExecutionComponent.prototype.setActiveTab = function (codTab) {
3596
2951
  this.model.repeatType = codTab;
3597
2952
  };
3598
2953
  /**
3599
2954
  * @param {?} num
3600
2955
  * @return {?}
3601
2956
  */
3602
- TotvsScheduleExecutionComponent.prototype.addZero = /**
3603
- * @param {?} num
3604
- * @return {?}
3605
- */
3606
- function (num) {
2957
+ TotvsScheduleExecutionComponent.prototype.addZero = function (num) {
3607
2958
  /** @type {?} */
3608
2959
  var str = "" + num;
3609
2960
  if (num < 10) {
@@ -3614,10 +2965,7 @@
3614
2965
  /**
3615
2966
  * @return {?}
3616
2967
  */
3617
- TotvsScheduleExecutionComponent.prototype.executeSchedule = /**
3618
- * @return {?}
3619
- */
3620
- function () {
2968
+ TotvsScheduleExecutionComponent.prototype.executeSchedule = function () {
3621
2969
  var _this = this;
3622
2970
  if (this.disabledParams) {
3623
2971
  return;
@@ -3646,10 +2994,9 @@
3646
2994
  this.jsonObject.executionParameter.parametros[4] = {};
3647
2995
  this.jsonObject.executionParameter.parametros[4].parametros_negocio = this.parameters;
3648
2996
  // Executa hoje ou agendada
3649
- this.rpwService.createExecution(this.jsonObject, this.loading).subscribe((/**
2997
+ this.rpwService.createExecution(this.jsonObject, this.loading).subscribe(( /**
3650
2998
  * @return {?}
3651
- */
3652
- function () {
2999
+ */function () {
3653
3000
  _this.poNotification.success('Agendamento realizado com sucesso !');
3654
3001
  }));
3655
3002
  if (this.model.repeatExecution) {
@@ -3686,10 +3033,9 @@
3686
3033
  };
3687
3034
  }
3688
3035
  // Executa a diária, semanal ou mensal
3689
- this.rpwService.createExecution(this.jsonObject, this.loading).subscribe((/**
3036
+ this.rpwService.createExecution(this.jsonObject, this.loading).subscribe(( /**
3690
3037
  * @return {?}
3691
- */
3692
- function () {
3038
+ */function () {
3693
3039
  }));
3694
3040
  }
3695
3041
  this.endExecution.emit(this.model);
@@ -3699,12 +3045,7 @@
3699
3045
  * @param {?} type
3700
3046
  * @return {?}
3701
3047
  */
3702
- TotvsScheduleExecutionComponent.prototype.getHourOrMinute = /**
3703
- * @param {?} value
3704
- * @param {?} type
3705
- * @return {?}
3706
- */
3707
- function (value, type) {
3048
+ TotvsScheduleExecutionComponent.prototype.getHourOrMinute = function (value, type) {
3708
3049
  if (type === 'h') {
3709
3050
  return +value.substring(0, 2);
3710
3051
  }
@@ -3717,12 +3058,7 @@
3717
3058
  * @param {?} hourFinal
3718
3059
  * @return {?}
3719
3060
  */
3720
- TotvsScheduleExecutionComponent.prototype.compareHour = /**
3721
- * @param {?} hourInit
3722
- * @param {?} hourFinal
3723
- * @return {?}
3724
- */
3725
- function (hourInit, hourFinal) {
3061
+ TotvsScheduleExecutionComponent.prototype.compareHour = function (hourInit, hourFinal) {
3726
3062
  if (hourInit === hourFinal) {
3727
3063
  return false;
3728
3064
  }
@@ -3737,10 +3073,7 @@
3737
3073
  /**
3738
3074
  * @return {?}
3739
3075
  */
3740
- TotvsScheduleExecutionComponent.prototype.validate = /**
3741
- * @return {?}
3742
- */
3743
- function () {
3076
+ TotvsScheduleExecutionComponent.prototype.validate = function () {
3744
3077
  if (!this.scheduleExecutionForm.valid) {
3745
3078
  this.poNotification.error('Verifique as inconsistências em tela.');
3746
3079
  return false;
@@ -3779,32 +3112,32 @@
3779
3112
  }
3780
3113
  return true;
3781
3114
  };
3782
- TotvsScheduleExecutionComponent.decorators = [
3783
- { type: core.Component, args: [{
3784
- selector: 'app-totvs-schedule-execution',
3785
- template: "<form #scheduleExecutionForm=\"ngForm\">\r\n <div class=\"po-row po-sm-12 po-md-12 po-lg-12 po-xl-12\">\r\n <po-radio-group \r\n class=\"po-sm-12 po-md-12 po-lg-12 po-xl-12\"\r\n name=\"executionType\"\r\n p-label=\"Data de Execu\u00E7\u00E3o\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.executionType\"\r\n [p-options]=\"executionTypeOptions\"\r\n (p-change)=\"changeExecutionType()\">\r\n </po-radio-group>\r\n\r\n <po-datepicker *ngIf=isExecutionSchedule()\r\n class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\"\r\n name=\"model.execAppointDate\"\r\n p-label=\"Agendar para\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.execAppointDate\">\r\n </po-datepicker>\r\n\r\n <po-input *ngIf=isExecutionSchedule()\r\n class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\"\r\n name=\"execAppointHour\"\r\n p-label=\"Hora\"\r\n p-mask=\"99:99\"\r\n p-mask-format-model=\"true\"\r\n p-pattern=\"^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$\"\r\n p-error-pattern=\"Hora inv\u00E1lida\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.execAppointHour\">\r\n </po-input>\r\n </div>\r\n\r\n <div class=\"po-row po-sm-12 po-md-12 po-lg-12 po-xl-12\">\r\n <po-lookup\r\n class=\"po-sm-12 po-md-12 po-lg-12 po-xl-12\"\r\n name=\"executionServer\"\r\n p-label=\"Servidor de Execu\u00E7\u00E3o\"\r\n p-placeholder=\"Servidor de Execu\u00E7\u00E3o\"\r\n [p-columns]=\"zoomRpwServiceColumns\"\r\n [p-field-format]=\"fieldRpwServiceFormat\"\r\n [p-filter-service]=\"rpwService\"\r\n p-field-label=\"name\"\r\n p-field-value=\"code\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.executionServer\">\r\n </po-lookup>\r\n </div>\r\n\r\n <div class=\"po-row po-sm-12 po-md-12 po-lg-12 po-xl-12\">\r\n <po-switch\r\n class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\"\r\n name=\"repeatExecution\"\r\n p-label=\"Repetir ocorr\u00EAncia ?\"\r\n p-label-off=\"N\u00E3o\"\r\n p-label-on=\"Sim\"\r\n [(ngModel)]=\"model.repeatExecution\"\r\n [p-disabled]=\"disabledParams\"\r\n (click)=\"changeRepeatExecution()\">\r\n </po-switch>\r\n </div>\r\n\r\n <div class=\"po-row\" *ngIf=\"isRepeatExecution()\">\r\n \r\n <po-tabs>\r\n\r\n <po-tab \r\n p-label=\"Di\u00E1ria\" \r\n [p-active]=\"getActiveTab(1)\" \r\n (p-click)=\"setActiveTab(1)\">\r\n\r\n <div class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\">\r\n <po-radio-group \r\n class=\"po-sm-12 po-md-12 po-lg-12 po-xl-12\"\r\n name=\"frequencyDaily\"\r\n p-label=\"Frequ\u00EAncia\"\r\n p-columns=1\r\n [(ngModel)]=\"model.frequency\"\r\n [p-disabled]=\"disabledParams\"\r\n [p-options]=\"frequencyOptions\"\r\n (p-change)=\"changeTypeFrequency()\">\r\n </po-radio-group>\r\n </div>\r\n \r\n <div class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\"> \r\n <po-input\r\n class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\"\r\n name=\"execAppointHourInitDaily\"\r\n p-label=\"Hora In\u00EDcio\"\r\n p-mask=\"99:99\"\r\n p-mask-format-model=\"true\"\r\n p-pattern=\"^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$\"\r\n p-error-pattern=\"Hora inv\u00E1lida\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.execAppointHourInit\">\r\n </po-input>\r\n \r\n <po-input *ngIf=\"isFrenquency()\"\r\n class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\"\r\n name=\"execAppointHourFinalDaily\"\r\n p-label=\"Hora Fim\"\r\n p-mask=\"99:99\"\r\n p-mask-format-model=\"true\"\r\n p-pattern=\"^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$\"\r\n p-error-pattern=\"Hora inv\u00E1lida\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.execAppointHourFinal\">\r\n </po-input>\r\n \r\n <po-number *ngIf=\"isFrenquency()\"\r\n class=\"po-sm-5 po-md-5 po-lg-5 po-xl-5\"\r\n name=\"frequencyValueDaily\"\r\n p-label=\"A cada\"\r\n p-minlength=\"1\"\r\n p-maxlength=\"3\"\r\n p-min=\"0\"\r\n p-max=\"999\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.frequencyValue\">\r\n </po-number>\r\n \r\n <po-select *ngIf=\"isFrenquency()\"\r\n class=\"po-mt-3 po-sm-7 po-md-7 po-lg-7 po-xl-7\"\r\n name=\"frequencyTypeDaily\"\r\n p-label=\"\"\r\n [p-options]=\"frequencyTypeOptions\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.frequencyType\">\r\n </po-select>\r\n </div>\r\n </po-tab>\r\n\r\n <po-tab \r\n p-label=\"Semanal\"\r\n [p-active]=\"getActiveTab(2)\"\r\n (p-click)=\"setActiveTab(2)\">\r\n\r\n <div class=\"po-row po-sm-12 po-md-12 po-lg-12 po-xl-12\">\r\n <po-multiselect\r\n class=\"po-sm-12 po-md-12 po-lg-12 po-xl-12\"\r\n name=\"selectWeeklys\"\r\n p-label=\"Dias da Semana\"\r\n p-placeholder=\"Escolha os dias da semana\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.selectWeeklys\"\r\n [p-options]=\"weeklyOptions\">\r\n </po-multiselect>\r\n </div>\r\n\r\n <div class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\">\r\n <po-radio-group \r\n class=\"po-sm-12 po-md-12 po-lg-12 po-xl-12\"\r\n name=\"frequencyWeekly\"\r\n p-label=\"Frequ\u00EAncia\"\r\n p-columns=1\r\n [(ngModel)]=\"model.frequency\"\r\n [p-disabled]=\"disabledParams\"\r\n [p-options]=\"frequencyOptions\"\r\n (p-change)=\"changeTypeFrequency()\">\r\n </po-radio-group>\r\n </div>\r\n\r\n <div class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\">\r\n <po-input\r\n class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\"\r\n name=\"execAppointHourInitWeekly\"\r\n p-label=\"Hora In\u00EDcio\"\r\n p-mask=\"99:99\"\r\n p-mask-format-model=\"true\"\r\n p-pattern=\"^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$\"\r\n p-error-pattern=\"Hora inv\u00E1lida\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.execAppointHourInit\">\r\n </po-input>\r\n\r\n <po-input *ngIf=\"isFrenquency()\"\r\n class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\"\r\n name=\"execAppointHourFinalWeekly\"\r\n p-label=\"Hora Fim\"\r\n p-mask=\"99:99\"\r\n p-mask-format-model=\"true\"\r\n p-pattern=\"^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$\"\r\n p-error-pattern=\"Hora inv\u00E1lida\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.execAppointHourFinal\">\r\n </po-input>\r\n\r\n <po-number *ngIf=\"isFrenquency()\"\r\n class=\"po-sm-5 po-md-5 po-lg-5 po-xl-5\"\r\n name=\"frequencyValueWeekly\"\r\n p-label=\"A cada\"\r\n p-minlength=\"1\"\r\n p-maxlength=\"3\"\r\n p-min=\"0\"\r\n p-max=\"999\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.frequencyValue\">\r\n </po-number>\r\n\r\n <po-select *ngIf=\"isFrenquency()\"\r\n class=\"po-mt-3 po-sm-7 po-md-7 po-lg-7 po-xl-7\"\r\n name=\"frequencyTypeWeekly\"\r\n p-label=\"\"\r\n [p-options]=\"frequencyTypeOptions\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.frequencyType\">\r\n </po-select>\r\n </div>\r\n </po-tab>\r\n\r\n <po-tab \r\n p-label=\"Mensal\" \r\n [p-active]=\"getActiveTab(3)\" \r\n (p-click)=\"setActiveTab(3)\">\r\n\r\n <div class=\"po-row po-sm-12 po-md-12 po-lg-12 po-xl-12\">\r\n <po-number\r\n class=\"po-sm-3 po-md-3 po-lg-3 po-xl-3\"\r\n name=\"dayOfMonth\"\r\n p-label=\"Dia do m\u00EAs\"\r\n p-minlength=\"1\"\r\n p-maxlength=\"2\"\r\n p-min=\"0\"\r\n p-max=\"31\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.dayOfMonth\">\r\n </po-number>\r\n </div>\r\n\r\n <div class=\"po-row po-sm-6 po-md-6 po-lg-6 po-xl-6\">\r\n <po-radio-group \r\n class=\"po-sm-12 po-md-12 po-lg-12 po-xl-12\"\r\n name=\"frequencyMonthly\"\r\n p-label=\"Frequ\u00EAncia\"\r\n p-columns=1\r\n [(ngModel)]=\"model.frequency\"\r\n [p-disabled]=\"disabledParams\"\r\n [p-options]=\"frequencyOptions\"\r\n (p-change)=\"changeTypeFrequency()\">\r\n </po-radio-group>\r\n </div>\r\n\r\n <div class=\"po-row po-sm-6 po-md-6 po-lg-6 po-xl-6\">\r\n <po-input\r\n class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\"\r\n name=\"execAppointHourInitMonthly\"\r\n p-label=\"Hora In\u00EDcio\"\r\n p-mask=\"99:99\"\r\n p-mask-format-model=\"true\"\r\n p-pattern=\"^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$\"\r\n p-error-pattern=\"Hora inv\u00E1lida\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.execAppointHourInit\">\r\n </po-input>\r\n\r\n <po-input *ngIf=\"isFrenquency()\"\r\n class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\"\r\n name=\"execAppointHourFinalWeekly\"\r\n p-label=\"Hora Fim\"\r\n p-mask=\"99:99\"\r\n p-mask-format-model=\"true\"\r\n p-pattern=\"^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$\"\r\n p-error-pattern=\"Hora inv\u00E1lida\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.execAppointHourFinal\">\r\n </po-input>\r\n\r\n <po-number *ngIf=\"isFrenquency()\"\r\n class=\"po-sm-5 po-md-5 po-lg-5 po-xl-5\"\r\n name=\"frequencyValueWeekly\"\r\n p-label=\"A cada\"\r\n p-minlength=\"1\"\r\n p-maxlength=\"3\"\r\n p-min=\"0\"\r\n p-max=\"999\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.frequencyValue\">\r\n </po-number>\r\n\r\n <po-select *ngIf=\"isFrenquency()\"\r\n class=\"po-mt-3 po-sm-7 po-md-7 po-lg-7 po-xl-7\"\r\n name=\"frequencyTypeWeekly\"\r\n p-label=\"\"\r\n [p-options]=\"frequencyTypeOptions\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.frequencyType\">\r\n </po-select>\r\n </div>\r\n </po-tab>\r\n </po-tabs>\r\n </div>\r\n\r\n <div class=\"po-sm-12 po-md-12 po-lg-12 po-xl-12\" style=\"padding-top: 15px;\">\r\n <po-button\r\n style=\"float: right;\"\r\n p-label=\"Gerar Agendamento RPW\"\r\n [p-disabled]=\"disabledParams\"\r\n (click)=\"executeSchedule()\">\r\n </po-button>\r\n </div>\r\n</form>\r\n",
3786
- styles: [""]
3787
- }] }
3788
- ];
3789
- /** @nocollapse */
3790
- TotvsScheduleExecutionComponent.ctorParameters = function () { return [
3791
- { type: ngComponents.PoI18nService },
3792
- { type: TotvsScheduleExecutionService },
3793
- { type: ngComponents.PoNotificationService }
3794
- ]; };
3795
- TotvsScheduleExecutionComponent.propDecorators = {
3796
- scheduleExecutionForm: [{ type: core.ViewChild, args: ['scheduleExecutionForm', { static: true },] }],
3797
- programName: [{ type: core.Input }],
3798
- externalName: [{ type: core.Input }],
3799
- programEMS5: [{ type: core.Input }],
3800
- programVersion: [{ type: core.Input }],
3801
- parameters: [{ type: core.Input }],
3802
- disabledParams: [{ type: core.Input }],
3803
- loading: [{ type: core.Input }],
3804
- endExecution: [{ type: core.Output }]
3805
- };
3806
3115
  return TotvsScheduleExecutionComponent;
3807
3116
  }());
3117
+ TotvsScheduleExecutionComponent.decorators = [
3118
+ { type: i0.Component, args: [{
3119
+ selector: 'app-totvs-schedule-execution',
3120
+ template: "<form #scheduleExecutionForm=\"ngForm\">\r\n <div class=\"po-row po-sm-12 po-md-12 po-lg-12 po-xl-12\">\r\n <po-radio-group \r\n class=\"po-sm-12 po-md-12 po-lg-12 po-xl-12\"\r\n name=\"executionType\"\r\n p-label=\"Data de Execu\u00E7\u00E3o\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.executionType\"\r\n [p-options]=\"executionTypeOptions\"\r\n (p-change)=\"changeExecutionType()\">\r\n </po-radio-group>\r\n\r\n <po-datepicker *ngIf=isExecutionSchedule()\r\n class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\"\r\n name=\"model.execAppointDate\"\r\n p-label=\"Agendar para\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.execAppointDate\">\r\n </po-datepicker>\r\n\r\n <po-input *ngIf=isExecutionSchedule()\r\n class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\"\r\n name=\"execAppointHour\"\r\n p-label=\"Hora\"\r\n p-mask=\"99:99\"\r\n p-mask-format-model=\"true\"\r\n p-pattern=\"^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$\"\r\n p-error-pattern=\"Hora inv\u00E1lida\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.execAppointHour\">\r\n </po-input>\r\n </div>\r\n\r\n <div class=\"po-row po-sm-12 po-md-12 po-lg-12 po-xl-12\">\r\n <po-lookup\r\n class=\"po-sm-12 po-md-12 po-lg-12 po-xl-12\"\r\n name=\"executionServer\"\r\n p-label=\"Servidor de Execu\u00E7\u00E3o\"\r\n p-placeholder=\"Servidor de Execu\u00E7\u00E3o\"\r\n [p-columns]=\"zoomRpwServiceColumns\"\r\n [p-field-format]=\"fieldRpwServiceFormat\"\r\n [p-filter-service]=\"rpwService\"\r\n p-field-label=\"name\"\r\n p-field-value=\"code\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.executionServer\">\r\n </po-lookup>\r\n </div>\r\n\r\n <div class=\"po-row po-sm-12 po-md-12 po-lg-12 po-xl-12\">\r\n <po-switch\r\n class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\"\r\n name=\"repeatExecution\"\r\n p-label=\"Repetir ocorr\u00EAncia ?\"\r\n p-label-off=\"N\u00E3o\"\r\n p-label-on=\"Sim\"\r\n [(ngModel)]=\"model.repeatExecution\"\r\n [p-disabled]=\"disabledParams\"\r\n (click)=\"changeRepeatExecution()\">\r\n </po-switch>\r\n </div>\r\n\r\n <div class=\"po-row\" *ngIf=\"isRepeatExecution()\">\r\n \r\n <po-tabs>\r\n\r\n <po-tab \r\n p-label=\"Di\u00E1ria\" \r\n [p-active]=\"getActiveTab(1)\" \r\n (p-click)=\"setActiveTab(1)\">\r\n\r\n <div class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\">\r\n <po-radio-group \r\n class=\"po-sm-12 po-md-12 po-lg-12 po-xl-12\"\r\n name=\"frequencyDaily\"\r\n p-label=\"Frequ\u00EAncia\"\r\n p-columns=1\r\n [(ngModel)]=\"model.frequency\"\r\n [p-disabled]=\"disabledParams\"\r\n [p-options]=\"frequencyOptions\"\r\n (p-change)=\"changeTypeFrequency()\">\r\n </po-radio-group>\r\n </div>\r\n \r\n <div class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\"> \r\n <po-input\r\n class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\"\r\n name=\"execAppointHourInitDaily\"\r\n p-label=\"Hora In\u00EDcio\"\r\n p-mask=\"99:99\"\r\n p-mask-format-model=\"true\"\r\n p-pattern=\"^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$\"\r\n p-error-pattern=\"Hora inv\u00E1lida\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.execAppointHourInit\">\r\n </po-input>\r\n \r\n <po-input *ngIf=\"isFrenquency()\"\r\n class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\"\r\n name=\"execAppointHourFinalDaily\"\r\n p-label=\"Hora Fim\"\r\n p-mask=\"99:99\"\r\n p-mask-format-model=\"true\"\r\n p-pattern=\"^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$\"\r\n p-error-pattern=\"Hora inv\u00E1lida\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.execAppointHourFinal\">\r\n </po-input>\r\n \r\n <po-number *ngIf=\"isFrenquency()\"\r\n class=\"po-sm-5 po-md-5 po-lg-5 po-xl-5\"\r\n name=\"frequencyValueDaily\"\r\n p-label=\"A cada\"\r\n p-minlength=\"1\"\r\n p-maxlength=\"3\"\r\n p-min=\"0\"\r\n p-max=\"999\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.frequencyValue\">\r\n </po-number>\r\n \r\n <po-select *ngIf=\"isFrenquency()\"\r\n class=\"po-mt-3 po-sm-7 po-md-7 po-lg-7 po-xl-7\"\r\n name=\"frequencyTypeDaily\"\r\n p-label=\"\"\r\n [p-options]=\"frequencyTypeOptions\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.frequencyType\">\r\n </po-select>\r\n </div>\r\n </po-tab>\r\n\r\n <po-tab \r\n p-label=\"Semanal\"\r\n [p-active]=\"getActiveTab(2)\"\r\n (p-click)=\"setActiveTab(2)\">\r\n\r\n <div class=\"po-row po-sm-12 po-md-12 po-lg-12 po-xl-12\">\r\n <po-multiselect\r\n class=\"po-sm-12 po-md-12 po-lg-12 po-xl-12\"\r\n name=\"selectWeeklys\"\r\n p-label=\"Dias da Semana\"\r\n p-placeholder=\"Escolha os dias da semana\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.selectWeeklys\"\r\n [p-options]=\"weeklyOptions\">\r\n </po-multiselect>\r\n </div>\r\n\r\n <div class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\">\r\n <po-radio-group \r\n class=\"po-sm-12 po-md-12 po-lg-12 po-xl-12\"\r\n name=\"frequencyWeekly\"\r\n p-label=\"Frequ\u00EAncia\"\r\n p-columns=1\r\n [(ngModel)]=\"model.frequency\"\r\n [p-disabled]=\"disabledParams\"\r\n [p-options]=\"frequencyOptions\"\r\n (p-change)=\"changeTypeFrequency()\">\r\n </po-radio-group>\r\n </div>\r\n\r\n <div class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\">\r\n <po-input\r\n class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\"\r\n name=\"execAppointHourInitWeekly\"\r\n p-label=\"Hora In\u00EDcio\"\r\n p-mask=\"99:99\"\r\n p-mask-format-model=\"true\"\r\n p-pattern=\"^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$\"\r\n p-error-pattern=\"Hora inv\u00E1lida\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.execAppointHourInit\">\r\n </po-input>\r\n\r\n <po-input *ngIf=\"isFrenquency()\"\r\n class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\"\r\n name=\"execAppointHourFinalWeekly\"\r\n p-label=\"Hora Fim\"\r\n p-mask=\"99:99\"\r\n p-mask-format-model=\"true\"\r\n p-pattern=\"^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$\"\r\n p-error-pattern=\"Hora inv\u00E1lida\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.execAppointHourFinal\">\r\n </po-input>\r\n\r\n <po-number *ngIf=\"isFrenquency()\"\r\n class=\"po-sm-5 po-md-5 po-lg-5 po-xl-5\"\r\n name=\"frequencyValueWeekly\"\r\n p-label=\"A cada\"\r\n p-minlength=\"1\"\r\n p-maxlength=\"3\"\r\n p-min=\"0\"\r\n p-max=\"999\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.frequencyValue\">\r\n </po-number>\r\n\r\n <po-select *ngIf=\"isFrenquency()\"\r\n class=\"po-mt-3 po-sm-7 po-md-7 po-lg-7 po-xl-7\"\r\n name=\"frequencyTypeWeekly\"\r\n p-label=\"\"\r\n [p-options]=\"frequencyTypeOptions\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.frequencyType\">\r\n </po-select>\r\n </div>\r\n </po-tab>\r\n\r\n <po-tab \r\n p-label=\"Mensal\" \r\n [p-active]=\"getActiveTab(3)\" \r\n (p-click)=\"setActiveTab(3)\">\r\n\r\n <div class=\"po-row po-sm-12 po-md-12 po-lg-12 po-xl-12\">\r\n <po-number\r\n class=\"po-sm-3 po-md-3 po-lg-3 po-xl-3\"\r\n name=\"dayOfMonth\"\r\n p-label=\"Dia do m\u00EAs\"\r\n p-minlength=\"1\"\r\n p-maxlength=\"2\"\r\n p-min=\"0\"\r\n p-max=\"31\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.dayOfMonth\">\r\n </po-number>\r\n </div>\r\n\r\n <div class=\"po-row po-sm-6 po-md-6 po-lg-6 po-xl-6\">\r\n <po-radio-group \r\n class=\"po-sm-12 po-md-12 po-lg-12 po-xl-12\"\r\n name=\"frequencyMonthly\"\r\n p-label=\"Frequ\u00EAncia\"\r\n p-columns=1\r\n [(ngModel)]=\"model.frequency\"\r\n [p-disabled]=\"disabledParams\"\r\n [p-options]=\"frequencyOptions\"\r\n (p-change)=\"changeTypeFrequency()\">\r\n </po-radio-group>\r\n </div>\r\n\r\n <div class=\"po-row po-sm-6 po-md-6 po-lg-6 po-xl-6\">\r\n <po-input\r\n class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\"\r\n name=\"execAppointHourInitMonthly\"\r\n p-label=\"Hora In\u00EDcio\"\r\n p-mask=\"99:99\"\r\n p-mask-format-model=\"true\"\r\n p-pattern=\"^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$\"\r\n p-error-pattern=\"Hora inv\u00E1lida\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.execAppointHourInit\">\r\n </po-input>\r\n\r\n <po-input *ngIf=\"isFrenquency()\"\r\n class=\"po-sm-6 po-md-6 po-lg-6 po-xl-6\"\r\n name=\"execAppointHourFinalWeekly\"\r\n p-label=\"Hora Fim\"\r\n p-mask=\"99:99\"\r\n p-mask-format-model=\"true\"\r\n p-pattern=\"^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$\"\r\n p-error-pattern=\"Hora inv\u00E1lida\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.execAppointHourFinal\">\r\n </po-input>\r\n\r\n <po-number *ngIf=\"isFrenquency()\"\r\n class=\"po-sm-5 po-md-5 po-lg-5 po-xl-5\"\r\n name=\"frequencyValueWeekly\"\r\n p-label=\"A cada\"\r\n p-minlength=\"1\"\r\n p-maxlength=\"3\"\r\n p-min=\"0\"\r\n p-max=\"999\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.frequencyValue\">\r\n </po-number>\r\n\r\n <po-select *ngIf=\"isFrenquency()\"\r\n class=\"po-mt-3 po-sm-7 po-md-7 po-lg-7 po-xl-7\"\r\n name=\"frequencyTypeWeekly\"\r\n p-label=\"\"\r\n [p-options]=\"frequencyTypeOptions\"\r\n [p-disabled]=\"disabledParams\"\r\n [(ngModel)]=\"model.frequencyType\">\r\n </po-select>\r\n </div>\r\n </po-tab>\r\n </po-tabs>\r\n </div>\r\n\r\n <div class=\"po-sm-12 po-md-12 po-lg-12 po-xl-12\" style=\"padding-top: 15px;\">\r\n <po-button\r\n style=\"float: right;\"\r\n p-label=\"Gerar Agendamento RPW\"\r\n [p-disabled]=\"disabledParams\"\r\n (click)=\"executeSchedule()\">\r\n </po-button>\r\n </div>\r\n</form>\r\n",
3121
+ styles: [""]
3122
+ }] }
3123
+ ];
3124
+ /** @nocollapse */
3125
+ TotvsScheduleExecutionComponent.ctorParameters = function () { return [
3126
+ { type: ngComponents.PoI18nService },
3127
+ { type: TotvsScheduleExecutionService },
3128
+ { type: ngComponents.PoNotificationService }
3129
+ ]; };
3130
+ TotvsScheduleExecutionComponent.propDecorators = {
3131
+ scheduleExecutionForm: [{ type: i0.ViewChild, args: ['scheduleExecutionForm', { static: true },] }],
3132
+ programName: [{ type: i0.Input }],
3133
+ externalName: [{ type: i0.Input }],
3134
+ programEMS5: [{ type: i0.Input }],
3135
+ programVersion: [{ type: i0.Input }],
3136
+ parameters: [{ type: i0.Input }],
3137
+ disabledParams: [{ type: i0.Input }],
3138
+ loading: [{ type: i0.Input }],
3139
+ endExecution: [{ type: i0.Output }]
3140
+ };
3808
3141
  if (false) {
3809
3142
  /** @type {?} */
3810
3143
  TotvsScheduleExecutionComponent.prototype.scheduleExecutionForm;
@@ -3853,7 +3186,8 @@
3853
3186
 
3854
3187
  /**
3855
3188
  * @fileoverview added by tsickle
3856
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3189
+ * Generated from: lib/pipes/dts-date-format.pipe.ts
3190
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3857
3191
  */
3858
3192
  var DtsDateFormatPipe = /** @class */ (function () {
3859
3193
  function DtsDateFormatPipe() {
@@ -3863,12 +3197,7 @@
3863
3197
  * @param {?=} format
3864
3198
  * @return {?}
3865
3199
  */
3866
- DtsDateFormatPipe.prototype.transform = /**
3867
- * @param {?} value
3868
- * @param {?=} format
3869
- * @return {?}
3870
- */
3871
- function (value, format) {
3200
+ DtsDateFormatPipe.prototype.transform = function (value, format) {
3872
3201
  if (format === void 0) { format = 'dd/MM/yyyy'; }
3873
3202
  var _a = value.split('-'), year = _a[0], month = _a[1], day = _a[2];
3874
3203
  /** @type {?} */
@@ -3877,17 +3206,18 @@
3877
3206
  .replace('yyyy', year);
3878
3207
  return formattedDate;
3879
3208
  };
3880
- DtsDateFormatPipe.decorators = [
3881
- { type: core.Pipe, args: [{
3882
- name: 'dtsDateFormat'
3883
- },] }
3884
- ];
3885
3209
  return DtsDateFormatPipe;
3886
- }());
3210
+ }());
3211
+ DtsDateFormatPipe.decorators = [
3212
+ { type: i0.Pipe, args: [{
3213
+ name: 'dtsDateFormat'
3214
+ },] }
3215
+ ];
3887
3216
 
3888
3217
  /**
3889
3218
  * @fileoverview added by tsickle
3890
- * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3219
+ * Generated from: lib/dts-backoffice-util.module.ts
3220
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3891
3221
  */
3892
3222
  var DtsBackofficeUtilsModule = /** @class */ (function () {
3893
3223
  function DtsBackofficeUtilsModule() {
@@ -3895,38 +3225,47 @@
3895
3225
  /**
3896
3226
  * @return {?}
3897
3227
  */
3898
- DtsBackofficeUtilsModule.forRoot = /**
3899
- * @return {?}
3900
- */
3901
- function () {
3228
+ DtsBackofficeUtilsModule.forRoot = function () {
3902
3229
  return {
3903
3230
  ngModule: DtsBackofficeUtilsModule,
3904
3231
  providers: [TotvsScheduleExecutionService]
3905
3232
  };
3906
3233
  };
3907
- DtsBackofficeUtilsModule.decorators = [
3908
- { type: core.NgModule, args: [{
3909
- declarations: [
3910
- TotvsScheduleExecutionComponent,
3911
- DtsDateFormatPipe
3912
- ],
3913
- imports: [
3914
- common.CommonModule,
3915
- ngComponents.PoModule,
3916
- forms.FormsModule,
3917
- http.HttpClientModule
3918
- ],
3919
- exports: [
3920
- TotvsScheduleExecutionComponent,
3921
- DtsDateFormatPipe
3922
- ],
3923
- providers: [
3924
- TotvsScheduleExecutionService
3925
- ]
3926
- },] }
3927
- ];
3928
3234
  return DtsBackofficeUtilsModule;
3929
- }());
3235
+ }());
3236
+ DtsBackofficeUtilsModule.decorators = [
3237
+ { type: i0.NgModule, args: [{
3238
+ declarations: [
3239
+ TotvsScheduleExecutionComponent,
3240
+ DtsDateFormatPipe
3241
+ ],
3242
+ imports: [
3243
+ common.CommonModule,
3244
+ ngComponents.PoModule,
3245
+ forms.FormsModule,
3246
+ i1.HttpClientModule
3247
+ ],
3248
+ exports: [
3249
+ TotvsScheduleExecutionComponent,
3250
+ DtsDateFormatPipe
3251
+ ],
3252
+ providers: [
3253
+ TotvsScheduleExecutionService
3254
+ ]
3255
+ },] }
3256
+ ];
3257
+
3258
+ /**
3259
+ * @fileoverview added by tsickle
3260
+ * Generated from: public-api.ts
3261
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3262
+ */
3263
+
3264
+ /**
3265
+ * @fileoverview added by tsickle
3266
+ * Generated from: dts-backoffice-util.ts
3267
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3268
+ */
3930
3269
 
3931
3270
  exports.BreadcrumbControlService = BreadcrumbControlService;
3932
3271
  exports.CacheParamsService = CacheParamsService;