dts-backoffice-util 3.0.0 → 6.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 (71) hide show
  1. package/README.md +1 -1
  2. package/dts-backoffice-util.d.ts +1 -0
  3. package/esm2020/dts-backoffice-util.mjs +5 -0
  4. package/esm2020/lib/components/totvs-schedule-execution/totvs-schedule-execution.component.mjs +269 -0
  5. package/esm2020/lib/components/totvs-schedule-execution/totvs-schedule-execution.model.mjs +7 -0
  6. package/esm2020/lib/components/totvs-schedule-execution/totvs-schedule-execution.service.mjs +183 -0
  7. package/esm2020/lib/dts-backoffice-util.module.mjs +56 -0
  8. package/esm2020/lib/interfaces/filter-range.interface.mjs +2 -0
  9. package/esm2020/lib/interfaces/totvs-response.interface.mjs +2 -0
  10. package/esm2020/lib/model/session-info.model.mjs +67 -0
  11. package/esm2020/lib/pipes/dts-date-format.pipe.mjs +20 -0
  12. package/esm2020/lib/services/breadcrumb-control.service.mjs +82 -0
  13. package/esm2020/lib/services/cache-params.service.mjs +25 -0
  14. package/esm2020/lib/services/menu-datasul.service.mjs +41 -0
  15. package/esm2020/lib/services/profile.service.mjs +55 -0
  16. package/esm2020/lib/services/report.service.mjs +57 -0
  17. package/esm2020/lib/services/session-info.service.mjs +36 -0
  18. package/esm2020/lib/services/translate.service.mjs +23 -0
  19. package/esm2020/lib/utils/date.util.mjs +56 -0
  20. package/esm2020/lib/utils/disclaimer.util.mjs +453 -0
  21. package/esm2020/lib/utils/field-validation.util.mjs +179 -0
  22. package/esm2020/lib/utils/file.util.mjs +122 -0
  23. package/esm2020/lib/utils/filter-range.util.mjs +33 -0
  24. package/esm2020/lib/utils/generic-functions.utils.mjs +170 -0
  25. package/esm2020/public-api.mjs +34 -0
  26. package/fesm2015/{dts-backoffice-util.js → dts-backoffice-util.mjs} +230 -1626
  27. package/fesm2015/dts-backoffice-util.mjs.map +1 -0
  28. package/fesm2020/dts-backoffice-util.mjs +1844 -0
  29. package/fesm2020/dts-backoffice-util.mjs.map +1 -0
  30. package/lib/components/totvs-schedule-execution/totvs-schedule-execution.component.d.ts +3 -0
  31. package/lib/components/totvs-schedule-execution/totvs-schedule-execution.service.d.ts +3 -0
  32. package/lib/dts-backoffice-util.module.d.ts +10 -0
  33. package/lib/pipes/dts-date-format.pipe.d.ts +3 -0
  34. package/lib/services/breadcrumb-control.service.d.ts +3 -0
  35. package/lib/services/cache-params.service.d.ts +3 -0
  36. package/lib/services/menu-datasul.service.d.ts +3 -0
  37. package/lib/services/profile.service.d.ts +3 -0
  38. package/lib/services/report.service.d.ts +3 -0
  39. package/lib/services/session-info.service.d.ts +3 -0
  40. package/lib/services/translate.service.d.ts +3 -0
  41. package/package.json +23 -11
  42. package/CHANGELOG.md +0 -159
  43. package/bundles/dts-backoffice-util.umd.js +0 -3296
  44. package/bundles/dts-backoffice-util.umd.js.map +0 -1
  45. package/bundles/dts-backoffice-util.umd.min.js +0 -2
  46. package/bundles/dts-backoffice-util.umd.min.js.map +0 -1
  47. package/dts-backoffice-util.metadata.json +0 -1
  48. package/esm2015/dts-backoffice-util.js +0 -10
  49. package/esm2015/lib/components/totvs-schedule-execution/totvs-schedule-execution.component.js +0 -391
  50. package/esm2015/lib/components/totvs-schedule-execution/totvs-schedule-execution.model.js +0 -132
  51. package/esm2015/lib/components/totvs-schedule-execution/totvs-schedule-execution.service.js +0 -344
  52. package/esm2015/lib/dts-backoffice-util.module.js +0 -47
  53. package/esm2015/lib/interfaces/filter-range.interface.js +0 -48
  54. package/esm2015/lib/interfaces/totvs-response.interface.js +0 -17
  55. package/esm2015/lib/model/session-info.model.js +0 -183
  56. package/esm2015/lib/pipes/dts-date-format.pipe.js +0 -27
  57. package/esm2015/lib/services/breadcrumb-control.service.js +0 -124
  58. package/esm2015/lib/services/cache-params.service.js +0 -47
  59. package/esm2015/lib/services/menu-datasul.service.js +0 -57
  60. package/esm2015/lib/services/profile.service.js +0 -127
  61. package/esm2015/lib/services/report.service.js +0 -127
  62. package/esm2015/lib/services/session-info.service.js +0 -62
  63. package/esm2015/lib/services/translate.service.js +0 -35
  64. package/esm2015/lib/utils/date.util.js +0 -95
  65. package/esm2015/lib/utils/disclaimer.util.js +0 -738
  66. package/esm2015/lib/utils/field-validation.util.js +0 -275
  67. package/esm2015/lib/utils/file.util.js +0 -224
  68. package/esm2015/lib/utils/filter-range.util.js +0 -53
  69. package/esm2015/lib/utils/generic-functions.utils.js +0 -296
  70. package/esm2015/public-api.js +0 -38
  71. package/fesm2015/dts-backoffice-util.js.map +0 -1
@@ -1,28 +1,22 @@
1
- import { Injectable, ɵɵdefineInjectable, ɵɵinject, EventEmitter, Component, ViewChild, Input, Output, Pipe, NgModule } from '@angular/core';
2
- import { HttpClient, HttpErrorResponse, HttpClientModule } from '@angular/common/http';
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable, EventEmitter, Component, ViewChild, Input, Output, Pipe, NgModule } from '@angular/core';
3
3
  import { of } from 'rxjs';
4
4
  import { map } from 'rxjs/operators';
5
- import { PoI18nService, PoNotificationService, PoModule } from '@po-ui/ng-components';
5
+ import * as i1 from '@angular/common/http';
6
+ import { HttpErrorResponse, HttpClientModule } from '@angular/common/http';
7
+ import * as i1$1 from '@po-ui/ng-components';
8
+ import { PoModule } from '@po-ui/ng-components';
9
+ import * as i3 from '@angular/forms';
6
10
  import { FormsModule } from '@angular/forms';
11
+ import * as i4 from '@angular/common';
7
12
  import { CommonModule } from '@angular/common';
8
13
 
9
- /**
10
- * @fileoverview added by tsickle
11
- * Generated from: lib/services/session-info.service.ts
12
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
13
- */
14
14
  class UserLoginService {
15
- /**
16
- * @param {?} http
17
- */
18
15
  constructor(http) {
19
16
  this.http = http;
20
17
  this.apiUrl = '/totvs-menu/rest/getSessionInfo';
21
18
  this.userLogin = undefined;
22
19
  }
23
- /**
24
- * @return {?}
25
- */
26
20
  getUserLogin() {
27
21
  if (localStorage.getItem('username')) {
28
22
  return of(localStorage.getItem('username'));
@@ -32,127 +26,50 @@ class UserLoginService {
32
26
  }
33
27
  else {
34
28
  return this.http.get(`${this.apiUrl}`)
35
- .pipe(map((/**
36
- * @param {?} response
37
- * @return {?}
38
- */
39
- (response) => {
29
+ .pipe(map((response) => {
40
30
  this.userLogin = response.userName;
41
31
  return response.userName;
42
- })));
32
+ }));
43
33
  }
44
34
  }
45
35
  }
46
- UserLoginService.decorators = [
47
- { type: Injectable, args: [{
48
- providedIn: 'root'
49
- },] }
50
- ];
51
- /** @nocollapse */
52
- UserLoginService.ctorParameters = () => [
53
- { type: HttpClient }
54
- ];
55
- /** @nocollapse */ UserLoginService.ɵprov = ɵɵdefineInjectable({ factory: function UserLoginService_Factory() { return new UserLoginService(ɵɵinject(HttpClient)); }, token: UserLoginService, providedIn: "root" });
56
- if (false) {
57
- /** @type {?} */
58
- UserLoginService.prototype.apiUrl;
59
- /** @type {?} */
60
- UserLoginService.prototype.userLogin;
61
- /** @type {?} */
62
- UserLoginService.prototype.http;
63
- }
36
+ /** @nocollapse */ UserLoginService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UserLoginService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
37
+ /** @nocollapse */ UserLoginService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UserLoginService, providedIn: 'root' });
38
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: UserLoginService, decorators: [{
39
+ type: Injectable,
40
+ args: [{
41
+ providedIn: 'root'
42
+ }]
43
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }]; } });
64
44
 
65
- /**
66
- * @fileoverview added by tsickle
67
- * Generated from: lib/services/profile.service.ts
68
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
69
- */
70
- /**
71
- * @record
72
- */
73
- function IProfile() { }
74
- if (false) {
75
- /** @type {?} */
76
- IProfile.prototype.pageId;
77
- /** @type {?} */
78
- IProfile.prototype.dataCode;
79
- /** @type {?} */
80
- IProfile.prototype.userCode;
81
- /** @type {?|undefined} */
82
- IProfile.prototype.dataValue;
83
- }
84
- /**
85
- * @record
86
- */
87
- function IProfileResponse() { }
88
- if (false) {
89
- /** @type {?} */
90
- IProfileResponse.prototype.message;
91
- /** @type {?} */
92
- IProfileResponse.prototype.length;
93
- /** @type {?} */
94
- IProfileResponse.prototype.data;
95
- }
96
- /** @enum {number} */
97
- const EDataType = {
98
- STRING: 1,
99
- JSON: 2,
100
- };
101
- EDataType[EDataType.STRING] = 'STRING';
102
- EDataType[EDataType.JSON] = 'JSON';
45
+ var EDataType;
46
+ (function (EDataType) {
47
+ EDataType[EDataType["STRING"] = 1] = "STRING";
48
+ EDataType[EDataType["JSON"] = 2] = "JSON";
49
+ })(EDataType || (EDataType = {}));
103
50
  class ProfileService {
104
- /**
105
- * @param {?} http
106
- */
107
51
  constructor(http) {
108
52
  this.http = http;
109
53
  this.apiURL = '/dts/datasul-rest/resources/api/btb/btapi930za';
110
54
  }
111
- /**
112
- * @param {?} profile
113
- * @return {?}
114
- */
115
55
  setProfile(profile) {
116
- /** @type {?} */
117
56
  const headers = { 'X-PO-Screen-Lock': 'true' };
118
57
  const { pageId, userCode } = profile;
119
58
  return this.http
120
59
  .post(`${this.apiURL}/setProfile?userCode=${userCode}&pageId=${pageId}`, profile, { headers });
121
60
  }
122
- /**
123
- * @param {?} profile
124
- * @param {?=} showLoading
125
- * @return {?}
126
- */
127
61
  getProfileAsString(profile, showLoading) {
128
62
  return this.getProfile(profile, EDataType.STRING, showLoading ? 'true' : 'false');
129
63
  }
130
- /**
131
- * @param {?} profile
132
- * @param {?=} showLoading
133
- * @return {?}
134
- */
135
64
  getProfileAsJSON(profile, showLoading) {
136
65
  return this.getProfile(profile, EDataType.JSON, showLoading ? 'true' : 'false');
137
66
  }
138
- /**
139
- * @private
140
- * @param {?} profile
141
- * @param {?} dataType
142
- * @param {?=} showLoading
143
- * @return {?}
144
- */
145
67
  getProfile(profile, dataType, showLoading) {
146
- /** @type {?} */
147
68
  const headers = { 'X-PO-Screen-Lock': showLoading };
148
69
  const { pageId, dataCode, userCode } = profile;
149
70
  return this.http
150
71
  .get(`${this.apiURL}/getProfile?userCode=${userCode}&pageId=${pageId}&dataCode=${dataCode}`, { headers })
151
- .pipe(map((/**
152
- * @param {?} preference
153
- * @return {?}
154
- */
155
- preference => {
72
+ .pipe(map(preference => {
156
73
  if (preference.data[0]) {
157
74
  if (dataType === EDataType.STRING) {
158
75
  return preference.data[0].dataValue;
@@ -164,126 +81,56 @@ class ProfileService {
164
81
  else {
165
82
  return undefined;
166
83
  }
167
- })));
84
+ }));
168
85
  }
169
86
  }
170
- ProfileService.decorators = [
171
- { type: Injectable, args: [{
172
- providedIn: 'root'
173
- },] }
174
- ];
175
- /** @nocollapse */
176
- ProfileService.ctorParameters = () => [
177
- { type: HttpClient }
178
- ];
179
- /** @nocollapse */ ProfileService.ɵprov = ɵɵdefineInjectable({ factory: function ProfileService_Factory() { return new ProfileService(ɵɵinject(HttpClient)); }, token: ProfileService, providedIn: "root" });
180
- if (false) {
181
- /** @type {?} */
182
- ProfileService.prototype.apiURL;
183
- /** @type {?} */
184
- ProfileService.prototype.http;
185
- }
87
+ /** @nocollapse */ ProfileService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ProfileService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
88
+ /** @nocollapse */ ProfileService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ProfileService, providedIn: 'root' });
89
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ProfileService, decorators: [{
90
+ type: Injectable,
91
+ args: [{
92
+ providedIn: 'root'
93
+ }]
94
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }]; } });
186
95
 
187
- /**
188
- * @fileoverview added by tsickle
189
- * Generated from: lib/services/report.service.ts
190
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
191
- */
192
- /**
193
- * @record
194
- */
195
- function IProperty() { }
196
- if (false) {
197
- /** @type {?} */
198
- IProperty.prototype.name;
199
- /** @type {?} */
200
- IProperty.prototype.value;
201
- }
202
- /**
203
- * @record
204
- */
205
- function IReportServiceParams() { }
206
- if (false) {
207
- /** @type {?} */
208
- IReportServiceParams.prototype.reportName;
209
- /** @type {?} */
210
- IReportServiceParams.prototype.programName;
211
- /** @type {?} */
212
- IReportServiceParams.prototype.properties;
213
- /** @type {?} */
214
- IReportServiceParams.prototype.dialect;
215
- /** @type {?} */
216
- IReportServiceParams.prototype.downloadName;
217
- /** @type {?} */
218
- IReportServiceParams.prototype.download;
219
- /** @type {?} */
220
- IReportServiceParams.prototype.format;
221
- }
222
- /** @enum {string} */
223
- const ReportFormats = {
224
- XLSX: "xlsx",
225
- PDF: "pdf",
226
- DOCX: "docx",
227
- HTML: "html",
228
- };
96
+ var ReportFormats;
97
+ (function (ReportFormats) {
98
+ ReportFormats["XLSX"] = "xlsx";
99
+ ReportFormats["PDF"] = "pdf";
100
+ ReportFormats["DOCX"] = "docx";
101
+ ReportFormats["HTML"] = "html";
102
+ })(ReportFormats || (ReportFormats = {}));
229
103
  class ReportService {
230
- /**
231
- * @param {?} httpClient
232
- */
233
104
  constructor(httpClient) {
234
105
  this.httpClient = httpClient;
235
106
  this.URL = window.location.href.indexOf('totvs-menu') > 0 ? '/totvs-menu/rest/report/run/'
236
107
  : '/dts/datasul-report/resources/run/';
237
108
  }
238
- /**
239
- * @param {?} params
240
- * @param {?=} showLoading
241
- * @return {?}
242
- */
243
109
  generate(params, showLoading = true) {
244
- /** @type {?} */
245
110
  const headers = { 'X-PO-Screen-Lock': showLoading ? 'true' : 'false' };
246
- /** @type {?} */
247
111
  let reportURL = `${this.URL}${params.reportName}`;
248
112
  if (params.properties.length > 0) {
249
113
  reportURL += '?';
250
- params.properties.forEach((/**
251
- * @param {?} property
252
- * @param {?} index
253
- * @return {?}
254
- */
255
- (property, index) => {
114
+ params.properties.forEach((property, index) => {
256
115
  if (index > 0) {
257
116
  reportURL += '&';
258
117
  }
259
118
  reportURL += `c_properties=${property.name}&c_values=${property.value}`;
260
- }));
119
+ });
261
120
  }
262
121
  reportURL += `&dialect=${params.dialect}&format=${params.format}`;
263
122
  reportURL += `&program=${params.programName}&resultFileName=${params.downloadName}`;
264
123
  return this.httpClient.post(reportURL, {}, { headers, responseType: 'blob' })
265
- .pipe(map((/**
266
- * @param {?} report
267
- * @return {?}
268
- */
269
- report => {
124
+ .pipe(map(report => {
270
125
  if (params.download) {
271
126
  this.download(report, `${params.downloadName}.${params.format}`);
272
127
  }
273
128
  return report;
274
- })));
129
+ }));
275
130
  }
276
- /**
277
- * @param {?} file
278
- * @param {?} fileName
279
- * @return {?}
280
- */
281
131
  download(file, fileName) {
282
- /** @type {?} */
283
132
  const binaryData = [file];
284
- /** @type {?} */
285
133
  const downloadLink = document.createElement('a');
286
- /** @type {?} */
287
134
  const urlDownload = window.URL.createObjectURL(new Blob(binaryData, { type: file.type }));
288
135
  downloadLink.href = urlDownload;
289
136
  downloadLink.setAttribute('download', fileName);
@@ -293,46 +140,24 @@ class ReportService {
293
140
  downloadLink.remove();
294
141
  }
295
142
  }
296
- ReportService.decorators = [
297
- { type: Injectable }
298
- ];
299
- /** @nocollapse */
300
- ReportService.ctorParameters = () => [
301
- { type: HttpClient }
302
- ];
303
- if (false) {
304
- /** @type {?} */
305
- ReportService.prototype.URL;
306
- /** @type {?} */
307
- ReportService.prototype.httpClient;
308
- }
143
+ /** @nocollapse */ ReportService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ReportService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
144
+ /** @nocollapse */ ReportService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ReportService });
145
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ReportService, decorators: [{
146
+ type: Injectable
147
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }]; } });
309
148
 
310
- /**
311
- * @fileoverview added by tsickle
312
- * Generated from: lib/services/breadcrumb-control.service.ts
313
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
314
- */
149
+ /*
150
+ Versão: 1.003
151
+ Data Criação: 06/08/2018
152
+ */
315
153
  class BreadcrumbControlService {
316
154
  constructor() { }
317
- /**
318
- * @return {?}
319
- */
320
155
  newBreadcrumb() {
321
156
  this.breadcrumb = { items: [] };
322
157
  }
323
- /**
324
- * @param {?} literal
325
- * @param {?} activatedRoute
326
- * @return {?}
327
- */
328
158
  addBreadcrumb(literal, activatedRoute) {
329
159
  this.addBreadcrumbURL(literal, decodeURIComponent(activatedRoute.snapshot['_routerState'].url));
330
160
  }
331
- /**
332
- * @param {?} literal
333
- * @param {?} url
334
- * @return {?}
335
- */
336
161
  addBreadcrumbURL(literal, url) {
337
162
  if (!literal || literal === '') {
338
163
  return;
@@ -340,9 +165,7 @@ class BreadcrumbControlService {
340
165
  if (!this.breadcrumb) {
341
166
  this.newBreadcrumb();
342
167
  }
343
- /** @type {?} */
344
168
  const breadcrumbAux = { items: [] };
345
- /** @type {?} */
346
169
  let idx = 0;
347
170
  for (idx = 0; idx < this.breadcrumb.items.length; idx++) {
348
171
  if (this.breadcrumb.items[idx].label !== literal) {
@@ -355,14 +178,7 @@ class BreadcrumbControlService {
355
178
  breadcrumbAux.items.push({ label: literal, link: url });
356
179
  this.breadcrumb = breadcrumbAux;
357
180
  }
358
- /**
359
- * @param {?} literal
360
- * @param {?} valueOld
361
- * @param {?} valueNew
362
- * @return {?}
363
- */
364
181
  updBreadcrumbURL(literal, valueOld, valueNew) {
365
- /** @type {?} */
366
182
  let currentRouterURL = this.getCurrentRouter();
367
183
  if (!currentRouterURL) {
368
184
  return;
@@ -376,18 +192,12 @@ class BreadcrumbControlService {
376
192
  currentRouterURL = currentRouterURL.replace(valueOld, valueNew);
377
193
  this.addBreadcrumbURL(literal, currentRouterURL);
378
194
  }
379
- /**
380
- * @return {?}
381
- */
382
195
  getBreadcrumb() {
383
196
  if (!this.breadcrumb) {
384
197
  this.newBreadcrumb();
385
198
  }
386
199
  return this.breadcrumb;
387
200
  }
388
- /**
389
- * @return {?}
390
- */
391
201
  getCurrentRouter() {
392
202
  if (!this.breadcrumb) {
393
203
  this.newBreadcrumb();
@@ -397,9 +207,6 @@ class BreadcrumbControlService {
397
207
  }
398
208
  return this.breadcrumb.items[this.breadcrumb.items.length - 1].link;
399
209
  }
400
- /**
401
- * @return {?}
402
- */
403
210
  getPrevRouter() {
404
211
  if (!this.breadcrumb) {
405
212
  this.newBreadcrumb();
@@ -409,36 +216,22 @@ class BreadcrumbControlService {
409
216
  }
410
217
  return this.breadcrumb.items[this.breadcrumb.items.length - 2].link;
411
218
  }
412
- /**
413
- * @return {?}
414
- */
415
219
  hasPreviousRouter() {
416
220
  return this.breadcrumb.items.length > 1;
417
221
  }
418
222
  }
419
- BreadcrumbControlService.decorators = [
420
- { type: Injectable }
421
- ];
422
- /** @nocollapse */
423
- BreadcrumbControlService.ctorParameters = () => [];
424
- if (false) {
425
- /** @type {?} */
426
- BreadcrumbControlService.prototype.breadcrumb;
427
- }
223
+ /** @nocollapse */ BreadcrumbControlService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BreadcrumbControlService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
224
+ /** @nocollapse */ BreadcrumbControlService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BreadcrumbControlService });
225
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BreadcrumbControlService, decorators: [{
226
+ type: Injectable
227
+ }], ctorParameters: function () { return []; } });
428
228
 
429
- /**
430
- * @fileoverview added by tsickle
431
- * Generated from: lib/services/menu-datasul.service.ts
432
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
433
- */
434
229
  class MenuDatasulService {
435
230
  constructor() { }
436
231
  /**
437
232
  * var program = {};
438
233
  * program['prg'] = "cd0210";
439
234
  * program['params'] = '01|123456'
440
- * @param {?} program
441
- * @return {?}
442
235
  */
443
236
  callProgress(program) {
444
237
  parent.postMessage({ program }, '*');
@@ -448,22 +241,12 @@ class MenuDatasulService {
448
241
  * notification['type'] = 'success';
449
242
  * notification['title'] = 'Notification Title'
450
243
  * notification['detail'] = 'Notification Detail'
451
- * @param {?} notification
452
- * @return {?}
453
244
  */
454
245
  sendNotification(notification) {
455
246
  parent.postMessage({ notification }, '*');
456
247
  }
457
- /**
458
- * @param {?} programName
459
- * @param {?} params
460
- * @param {?=} parent
461
- * @return {?}
462
- */
463
248
  openPath(programName, params, parent = true) {
464
- /** @type {?} */
465
249
  const datasulPath = document.referrer.indexOf('totvs-menu') > 0 ? 'totvs-menu' : 'menu-html';
466
- /** @type {?} */
467
250
  let baseUrl = `/${datasulPath}/#/${datasulPath}/program-html/${programName}/#`;
468
251
  if (params) {
469
252
  baseUrl = `${baseUrl}/${params}`;
@@ -476,80 +259,43 @@ class MenuDatasulService {
476
259
  }
477
260
  }
478
261
  }
479
- MenuDatasulService.decorators = [
480
- { type: Injectable }
481
- ];
482
- /** @nocollapse */
483
- MenuDatasulService.ctorParameters = () => [];
262
+ /** @nocollapse */ MenuDatasulService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuDatasulService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
263
+ /** @nocollapse */ MenuDatasulService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuDatasulService });
264
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuDatasulService, decorators: [{
265
+ type: Injectable
266
+ }], ctorParameters: function () { return []; } });
484
267
 
485
- /**
486
- * @fileoverview added by tsickle
487
- * Generated from: lib/services/cache-params.service.ts
488
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
489
- */
490
268
  class CacheParamsService {
491
269
  constructor() {
492
270
  this.values = {};
493
271
  }
494
- /**
495
- * @param {?} key
496
- * @param {?} value
497
- * @return {?}
498
- */
499
272
  setValue(key, value) {
500
273
  this.values[key] = value;
501
274
  }
502
- /**
503
- * @param {?} key
504
- * @return {?}
505
- */
506
275
  getValue(key) {
507
276
  return this.values[key];
508
277
  }
509
- /**
510
- * @param {?} key
511
- * @return {?}
512
- */
513
278
  removeValue(key) {
514
279
  delete this.values[key];
515
280
  }
516
281
  }
517
- CacheParamsService.decorators = [
518
- { type: Injectable, args: [{
519
- providedIn: 'root'
520
- },] }
521
- ];
522
- /** @nocollapse */
523
- CacheParamsService.ctorParameters = () => [];
524
- /** @nocollapse */ CacheParamsService.ɵprov = ɵɵdefineInjectable({ factory: function CacheParamsService_Factory() { return new CacheParamsService(); }, token: CacheParamsService, providedIn: "root" });
525
- if (false) {
526
- /** @type {?} */
527
- CacheParamsService.prototype.values;
528
- }
282
+ /** @nocollapse */ CacheParamsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CacheParamsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
283
+ /** @nocollapse */ CacheParamsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CacheParamsService, providedIn: 'root' });
284
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CacheParamsService, decorators: [{
285
+ type: Injectable,
286
+ args: [{
287
+ providedIn: 'root'
288
+ }]
289
+ }], ctorParameters: function () { return []; } });
529
290
 
530
- /**
531
- * @fileoverview added by tsickle
532
- * Generated from: lib/services/translate.service.ts
533
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
534
- */
535
291
  class TranslateService {
536
- /**
537
- * @return {?}
538
- */
539
292
  static getSuportLanguage() {
540
293
  return ['pt-BR', 'pt', 'en-US', 'en', 'es'];
541
294
  }
542
- /**
543
- * @return {?}
544
- */
545
295
  static getDefaultCurrencyCode() {
546
296
  return '$';
547
297
  }
548
- /**
549
- * @return {?}
550
- */
551
298
  static getCurrentLanguage() {
552
- /** @type {?} */
553
299
  const locale = localStorage.getItem('user.language') || navigator.language;
554
300
  if (locale && this.getSuportLanguage().includes(locale)) {
555
301
  return locale;
@@ -557,15 +303,12 @@ class TranslateService {
557
303
  return 'en-US';
558
304
  }
559
305
  }
560
- TranslateService.decorators = [
561
- { type: Injectable }
562
- ];
306
+ /** @nocollapse */ TranslateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TranslateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
307
+ /** @nocollapse */ TranslateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TranslateService });
308
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TranslateService, decorators: [{
309
+ type: Injectable
310
+ }] });
563
311
 
564
- /**
565
- * @fileoverview added by tsickle
566
- * Generated from: lib/utils/date.util.ts
567
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
568
- */
569
312
  /*
570
313
  Versão: 1.000
571
314
  Data Criação: 18/04/2019
@@ -573,46 +316,24 @@ Data Criação: 18/04/2019
573
316
  class DateUtil {
574
317
  constructor() { }
575
318
  /* Transforma data para o padrão YYYY-MM-DD */
576
- /**
577
- * @param {?} date
578
- * @return {?}
579
- */
580
319
  static dateToQueryParam(date) {
581
- /** @type {?} */
582
320
  const iDay = date.getDate();
583
- /** @type {?} */
584
321
  const iMonth = date.getMonth() + 1;
585
- /** @type {?} */
586
322
  const iYear = date.getFullYear();
587
323
  return `${iYear}-${this.pad(iMonth)}-${this.pad(iDay)}`;
588
324
  }
589
325
  /* Transforma data no padrão YYYY-MM-DD para DATE */
590
- /**
591
- * @param {?} param
592
- * @return {?}
593
- */
594
326
  static queryParamToDate(param) {
595
- /** @type {?} */
596
327
  const iDay = +param.split('-')[2];
597
- /** @type {?} */
598
328
  const iMonth = +param.split('-')[1];
599
- /** @type {?} */
600
329
  const iYear = +param.split('-')[0];
601
330
  return new Date(iYear, iMonth - 1, iDay);
602
331
  }
603
332
  /* Valida se foi informado uma data válida */
604
- /**
605
- * @param {?} date
606
- * @return {?}
607
- */
608
333
  static isValidDate(date) {
609
334
  return date instanceof Date && !isNaN(date.getTime());
610
335
  }
611
336
  /* Ajusta a data retornando o padrão DATE */
612
- /**
613
- * @param {?} param
614
- * @return {?}
615
- */
616
337
  static ajustDate(param) {
617
338
  if (param instanceof Date) {
618
339
  return param;
@@ -623,31 +344,19 @@ class DateUtil {
623
344
  return this.queryParamToDate(param.split('T')[0]);
624
345
  }
625
346
  /* Ajusta a data para o padrão DATE - utilizada nos construtores dos modelos */
626
- /**
627
- * @param {?=} values
628
- * @param {?=} fieldName
629
- * @return {?}
630
- */
631
347
  static ajustDateToModel(values = {}, fieldName) {
632
348
  if (values.hasOwnProperty(fieldName) && (values[fieldName])) {
633
349
  if (values[fieldName].indexOf('T') >= 0) {
634
350
  return new Date(values[fieldName]);
635
351
  }
636
- /** @type {?} */
637
352
  const iDay = +values[fieldName].split('-')[2];
638
- /** @type {?} */
639
353
  const iMonth = +values[fieldName].split('-')[1];
640
- /** @type {?} */
641
354
  const iYear = +values[fieldName].split('-')[0];
642
355
  return new Date(iYear, iMonth - 1, iDay);
643
356
  }
644
357
  return null;
645
358
  }
646
359
  /* Adicona zero a esquerda do número */
647
- /**
648
- * @param {?} number
649
- * @return {?}
650
- */
651
360
  static pad(number) {
652
361
  if (number < 10) {
653
362
  return '0' + number;
@@ -656,35 +365,17 @@ class DateUtil {
656
365
  }
657
366
  }
658
367
 
659
- /**
660
- * @fileoverview added by tsickle
661
- * Generated from: lib/utils/disclaimer.util.ts
662
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
663
- */
664
368
  /*
665
369
  Versão: 1.009
666
370
  Data Criação: 06/08/2018
667
371
  */
668
372
  class DisclaimerUtil {
669
- /**
670
- * @param {?} poNotification
671
- * @param {?} poI18nPipe
672
- * @param {?} literals
673
- */
674
373
  constructor(poNotification, poI18nPipe, literals) {
675
374
  this.literals = {};
676
375
  this.poNotification = poNotification;
677
376
  this.poI18nPipe = poI18nPipe;
678
377
  this.literals = literals;
679
378
  }
680
- /**
681
- * @param {?} property
682
- * @param {?} value
683
- * @param {?=} hideClose
684
- * @param {?=} tradValue
685
- * @param {?=} vldBlank
686
- * @return {?}
687
- */
688
379
  makeDisclaimer(property, value, hideClose = false, tradValue = false, vldBlank = false) {
689
380
  if (value === null || value === undefined) {
690
381
  return { label: '', property: '', value: '' };
@@ -699,13 +390,6 @@ class DisclaimerUtil {
699
390
  value: `${value}`
700
391
  };
701
392
  }
702
- /**
703
- * @param {?} property
704
- * @param {?} value
705
- * @param {?=} hideClose
706
- * @param {?=} vldBlank
707
- * @return {?}
708
- */
709
393
  makeDisclaimerFromNumber(property, value, hideClose = false, vldBlank = false) {
710
394
  if (value === null || value === undefined) {
711
395
  return { label: '', property: '', value: '' };
@@ -720,12 +404,6 @@ class DisclaimerUtil {
720
404
  value: `${value}`
721
405
  };
722
406
  }
723
- /**
724
- * @param {?} property
725
- * @param {?} value
726
- * @param {?=} hideClose
727
- * @return {?}
728
- */
729
407
  makeDisclaimerFromBoolean(property, value, hideClose = false) {
730
408
  if (value === null || value === undefined) {
731
409
  return { label: '', property: '', value: '' };
@@ -737,14 +415,7 @@ class DisclaimerUtil {
737
415
  value: `${value}`
738
416
  };
739
417
  }
740
- /**
741
- * @param {?} property
742
- * @param {?} value
743
- * @param {?=} hideClose
744
- * @return {?}
745
- */
746
418
  makeDisclaimerFromDate(property, value, hideClose = false) {
747
- /** @type {?} */
748
419
  const dDate = this.ajustDate(value);
749
420
  if (!this.isValidDate(dDate)) {
750
421
  return { label: '', property: '', value: '' };
@@ -756,18 +427,8 @@ class DisclaimerUtil {
756
427
  value: `${this.dateToQueryParam(dDate)}`
757
428
  };
758
429
  }
759
- /**
760
- * @param {?} property
761
- * @param {?} value
762
- * @param {?=} length
763
- * @param {?=} hideClose
764
- * @param {?=} tradValue
765
- * @return {?}
766
- */
767
430
  makeDisclaimerFromMultiSelect(property, value, length = 0, hideClose = false, tradValue = false) {
768
- /** @type {?} */
769
431
  let lstLabels = '';
770
- /** @type {?} */
771
432
  let lstValues = '';
772
433
  if (!value) {
773
434
  return { label: '', property: '', value: '' };
@@ -777,11 +438,7 @@ class DisclaimerUtil {
777
438
  lstValues = 'all';
778
439
  }
779
440
  else {
780
- value.map((/**
781
- * @param {?} item
782
- * @return {?}
783
- */
784
- item => {
441
+ value.map(item => {
785
442
  if (lstLabels !== '') {
786
443
  lstLabels = `${lstLabels}, `;
787
444
  }
@@ -790,7 +447,7 @@ class DisclaimerUtil {
790
447
  }
791
448
  lstLabels = `${lstLabels}${tradValue ? this.literals[item] : item}`;
792
449
  lstValues = `${lstValues}${item}`;
793
- }));
450
+ });
794
451
  }
795
452
  return {
796
453
  hideClose,
@@ -799,20 +456,9 @@ class DisclaimerUtil {
799
456
  value: `${lstValues}`
800
457
  };
801
458
  }
802
- /**
803
- * @param {?} property
804
- * @param {?} value
805
- * @param {?} options
806
- * @param {?=} length
807
- * @param {?=} hideClose
808
- * @return {?}
809
- */
810
459
  makeDisclaimerFromMultiSelectNumber(property, value, options, length = 0, hideClose = false) {
811
- /** @type {?} */
812
460
  let lstLabels = '';
813
- /** @type {?} */
814
461
  let lstValues = '';
815
- /** @type {?} */
816
462
  let opt = null;
817
463
  if (!value || !options) {
818
464
  return { label: '', property: '', value: '' };
@@ -822,25 +468,17 @@ class DisclaimerUtil {
822
468
  lstValues = 'all';
823
469
  }
824
470
  else {
825
- value.map((/**
826
- * @param {?} item
827
- * @return {?}
828
- */
829
- item => {
471
+ value.map(item => {
830
472
  if (lstLabels !== '') {
831
473
  lstLabels = `${lstLabels}, `;
832
474
  }
833
475
  if (lstValues !== '') {
834
476
  lstValues = `${lstValues},`;
835
477
  }
836
- opt = options.find((/**
837
- * @param {?} itOpt
838
- * @return {?}
839
- */
840
- itOpt => itOpt.value === item));
478
+ opt = options.find(itOpt => itOpt.value === item);
841
479
  lstLabels = `${lstLabels}${opt ? opt.label : item}`;
842
480
  lstValues = `${lstValues}${item}`;
843
- }));
481
+ });
844
482
  }
845
483
  return {
846
484
  hideClose,
@@ -849,17 +487,8 @@ class DisclaimerUtil {
849
487
  value: `${lstValues}`
850
488
  };
851
489
  }
852
- /**
853
- * @param {?} property
854
- * @param {?} value
855
- * @param {?=} length
856
- * @param {?=} hideClose
857
- * @return {?}
858
- */
859
490
  makeDisclaimerFromCheckboxGroup(property, value, length = 0, hideClose = false) {
860
- /** @type {?} */
861
491
  let lstLabels = '';
862
- /** @type {?} */
863
492
  let lstValues = '';
864
493
  if (!value) {
865
494
  return { label: '', property: '', value: '' };
@@ -873,11 +502,7 @@ class DisclaimerUtil {
873
502
  lstValues = 'all';
874
503
  }
875
504
  else {
876
- value.map((/**
877
- * @param {?} checkParam
878
- * @return {?}
879
- */
880
- checkParam => {
505
+ value.map(checkParam => {
881
506
  if (lstLabels !== '') {
882
507
  lstLabels = `${lstLabels}, `;
883
508
  }
@@ -886,7 +511,7 @@ class DisclaimerUtil {
886
511
  }
887
512
  lstLabels = `${lstLabels}${this.literals[checkParam]}`;
888
513
  lstValues = `${lstValues}${checkParam}`;
889
- }));
514
+ });
890
515
  }
891
516
  return {
892
517
  hideClose,
@@ -895,13 +520,6 @@ class DisclaimerUtil {
895
520
  value: `${lstValues}`
896
521
  };
897
522
  }
898
- /**
899
- * @param {?} property
900
- * @param {?} value
901
- * @param {?=} hideClose
902
- * @param {?=} validateEqual
903
- * @return {?}
904
- */
905
523
  makeDisclaimerFromRangeCharacter(property, value, hideClose = false, validateEqual = true) {
906
524
  if (value.valInitial === null || value.valInitial === undefined) {
907
525
  value.valInitial = value.iniInitial;
@@ -921,13 +539,6 @@ class DisclaimerUtil {
921
539
  value: `${value.valInitial};${value.valFinal}`
922
540
  };
923
541
  }
924
- /**
925
- * @param {?} property
926
- * @param {?} value
927
- * @param {?=} hideClose
928
- * @param {?=} validateEqual
929
- * @return {?}
930
- */
931
542
  makeDisclaimerFromRangeNumber(property, value, hideClose = false, validateEqual = true) {
932
543
  if (value.valInitial === null || value.valInitial === undefined) {
933
544
  value.valInitial = value.iniInitial;
@@ -947,17 +558,8 @@ class DisclaimerUtil {
947
558
  value: `${value.valInitial};${value.valFinal}`
948
559
  };
949
560
  }
950
- /**
951
- * @param {?} property
952
- * @param {?} value
953
- * @param {?=} hideClose
954
- * @param {?=} validateEqual
955
- * @return {?}
956
- */
957
561
  makeDisclaimerFromRangeDate(property, value, hideClose = false, validateEqual = true) {
958
- /** @type {?} */
959
562
  let valInitDate = this.ajustDate(value.valInitial);
960
- /** @type {?} */
961
563
  let valFinalDate = this.ajustDate(value.valFinal);
962
564
  if (!this.isValidDate(valInitDate)) {
963
565
  valInitDate = value.iniInitial;
@@ -979,21 +581,10 @@ class DisclaimerUtil {
979
581
  value: `${this.dateToQueryParam(valInitDate)};${this.dateToQueryParam(valFinalDate)}`
980
582
  };
981
583
  }
982
- /**
983
- * @param {?} disclaimers
984
- * @param {?} property
985
- * @param {?} defaultValue
986
- * @return {?}
987
- */
988
584
  atzCharFromDisclamer(disclaimers, property, defaultValue) {
989
- /** @type {?} */
990
585
  let returnValue = defaultValue;
991
586
  if (disclaimers && disclaimers.length > 0) {
992
- disclaimers.find((/**
993
- * @param {?} item
994
- * @return {?}
995
- */
996
- (item) => {
587
+ disclaimers.find((item) => {
997
588
  if (item.property === property) {
998
589
  if (item.value === null) {
999
590
  return false;
@@ -1002,25 +593,14 @@ class DisclaimerUtil {
1002
593
  return true;
1003
594
  }
1004
595
  return false;
1005
- }));
596
+ });
1006
597
  }
1007
598
  return returnValue;
1008
599
  }
1009
- /**
1010
- * @param {?} disclaimers
1011
- * @param {?} property
1012
- * @param {?} defaultValue
1013
- * @return {?}
1014
- */
1015
600
  atzNumberFromDisclamer(disclaimers, property, defaultValue) {
1016
- /** @type {?} */
1017
601
  let returnValue = defaultValue;
1018
602
  if (disclaimers && disclaimers.length > 0) {
1019
- disclaimers.find((/**
1020
- * @param {?} item
1021
- * @return {?}
1022
- */
1023
- (item) => {
603
+ disclaimers.find((item) => {
1024
604
  if (item.property === property) {
1025
605
  if (item.value === null) {
1026
606
  return false;
@@ -1029,26 +609,14 @@ class DisclaimerUtil {
1029
609
  return true;
1030
610
  }
1031
611
  return false;
1032
- }));
612
+ });
1033
613
  }
1034
614
  return returnValue;
1035
615
  }
1036
- /**
1037
- * @param {?} disclaimers
1038
- * @param {?} property
1039
- * @param {?} defaultValue
1040
- * @return {?}
1041
- */
1042
616
  atzBooleanFromDisclamer(disclaimers, property, defaultValue) {
1043
- /** @type {?} */
1044
617
  const returnValue = defaultValue;
1045
618
  if (disclaimers && disclaimers.length > 0) {
1046
- /** @type {?} */
1047
- const disclaimerFind = disclaimers.find((/**
1048
- * @param {?} item
1049
- * @return {?}
1050
- */
1051
- (item) => item.property === property));
619
+ const disclaimerFind = disclaimers.find((item) => item.property === property);
1052
620
  if (disclaimerFind && disclaimerFind.value !== null && disclaimerFind.value !== undefined) {
1053
621
  if (disclaimerFind.value === 'true') {
1054
622
  return true;
@@ -1060,21 +628,10 @@ class DisclaimerUtil {
1060
628
  }
1061
629
  return returnValue;
1062
630
  }
1063
- /**
1064
- * @param {?} disclaimers
1065
- * @param {?} property
1066
- * @param {?} defaultValue
1067
- * @return {?}
1068
- */
1069
631
  atzDateFromDisclamer(disclaimers, property, defaultValue) {
1070
- /** @type {?} */
1071
632
  let returnValue = this.ajustDate(defaultValue);
1072
633
  if (disclaimers && disclaimers.length > 0) {
1073
- disclaimers.find((/**
1074
- * @param {?} item
1075
- * @return {?}
1076
- */
1077
- (item) => {
634
+ disclaimers.find((item) => {
1078
635
  if (item.property === property) {
1079
636
  if (item.value === null) {
1080
637
  return false;
@@ -1083,131 +640,69 @@ class DisclaimerUtil {
1083
640
  return true;
1084
641
  }
1085
642
  return false;
1086
- }));
643
+ });
1087
644
  }
1088
645
  return returnValue;
1089
646
  }
1090
- /**
1091
- * @param {?} disclaimers
1092
- * @param {?} property
1093
- * @param {?} defaultValue
1094
- * @return {?}
1095
- */
1096
647
  atzMultiSelectCharFromDisclamer(disclaimers, property, defaultValue) {
1097
648
  return this.atzMultiSelectFromDisclamer('char', disclaimers, property, defaultValue);
1098
649
  }
1099
- /**
1100
- * @param {?} disclaimers
1101
- * @param {?} property
1102
- * @param {?} defaultValue
1103
- * @return {?}
1104
- */
1105
650
  atzMultiSelectNumberFromDisclamer(disclaimers, property, defaultValue) {
1106
651
  return this.atzMultiSelectFromDisclamer('number', disclaimers, property, defaultValue);
1107
652
  }
1108
- /**
1109
- * @param {?} type
1110
- * @param {?} disclaimers
1111
- * @param {?} property
1112
- * @param {?} defaultValue
1113
- * @return {?}
1114
- */
1115
653
  atzMultiSelectFromDisclamer(type, disclaimers, property, defaultValue) {
1116
- /** @type {?} */
1117
654
  let returnValue = [];
1118
- defaultValue.map((/**
1119
- * @param {?} item
1120
- * @return {?}
1121
- */
1122
- item => {
655
+ defaultValue.map(item => {
1123
656
  returnValue.push(item.value);
1124
- }));
657
+ });
1125
658
  if (disclaimers && disclaimers.length > 0) {
1126
- disclaimers.find((/**
1127
- * @param {?} item
1128
- * @return {?}
1129
- */
1130
- (item) => {
659
+ disclaimers.find((item) => {
1131
660
  if (item.property === property) {
1132
661
  if (item.value === null || item.value === 'all' || item.value === 'none') {
1133
662
  return false;
1134
663
  }
1135
664
  returnValue = [];
1136
- item.value.split(',').forEach((/**
1137
- * @param {?} itemOpt
1138
- * @return {?}
1139
- */
1140
- itemOpt => {
665
+ item.value.split(',').forEach(itemOpt => {
1141
666
  if (type === 'char') {
1142
667
  returnValue.push(itemOpt);
1143
668
  }
1144
669
  if (type === 'number') {
1145
670
  returnValue.push(+itemOpt);
1146
671
  }
1147
- }));
672
+ });
1148
673
  return true;
1149
674
  }
1150
675
  return false;
1151
- }));
676
+ });
1152
677
  }
1153
678
  return returnValue;
1154
679
  }
1155
- /**
1156
- * @param {?} disclaimers
1157
- * @param {?} property
1158
- * @param {?} options
1159
- * @return {?}
1160
- */
1161
680
  atzCheckboxFromDisclamer(disclaimers, property, options) {
1162
- /** @type {?} */
1163
681
  let returnValue = [];
1164
- options.map((/**
1165
- * @param {?} item
1166
- * @return {?}
1167
- */
1168
- item => {
682
+ options.map(item => {
1169
683
  returnValue.push(item.value);
1170
- }));
684
+ });
1171
685
  if (disclaimers && disclaimers.length > 0) {
1172
- disclaimers.find((/**
1173
- * @param {?} item
1174
- * @return {?}
1175
- */
1176
- (item) => {
686
+ disclaimers.find((item) => {
1177
687
  if (item.property === property) {
1178
688
  if (item.value === null || item.value === 'all' || item.value === 'none') {
1179
689
  return false;
1180
690
  }
1181
691
  returnValue = [];
1182
- item.value.split(',').forEach((/**
1183
- * @param {?} itemOpt
1184
- * @return {?}
1185
- */
1186
- itemOpt => {
692
+ item.value.split(',').forEach(itemOpt => {
1187
693
  returnValue.push(itemOpt);
1188
- }));
694
+ });
1189
695
  return true;
1190
696
  }
1191
697
  return false;
1192
- }));
698
+ });
1193
699
  }
1194
700
  return returnValue;
1195
701
  }
1196
- /**
1197
- * @param {?} disclaimers
1198
- * @param {?} property
1199
- * @param {?} rangeChar
1200
- * @return {?}
1201
- */
1202
702
  atzRangeCharFromDisclamer(disclaimers, property, rangeChar) {
1203
- /** @type {?} */
1204
703
  let value = '';
1205
704
  if (disclaimers && disclaimers.length > 0) {
1206
- disclaimers.find((/**
1207
- * @param {?} item
1208
- * @return {?}
1209
- */
1210
- (item) => {
705
+ disclaimers.find((item) => {
1211
706
  if (item.property === property) {
1212
707
  if (item.value === null) {
1213
708
  return false;
@@ -1216,25 +711,14 @@ class DisclaimerUtil {
1216
711
  return true;
1217
712
  }
1218
713
  return false;
1219
- }));
714
+ });
1220
715
  }
1221
716
  return this.atzRangeCharFromQueryParam(value, rangeChar);
1222
717
  }
1223
- /**
1224
- * @param {?} disclaimers
1225
- * @param {?} property
1226
- * @param {?} rangeNum
1227
- * @return {?}
1228
- */
1229
718
  atzRangeNumFromDisclamer(disclaimers, property, rangeNum) {
1230
- /** @type {?} */
1231
719
  let value = '';
1232
720
  if (disclaimers && disclaimers.length > 0) {
1233
- disclaimers.find((/**
1234
- * @param {?} item
1235
- * @return {?}
1236
- */
1237
- (item) => {
721
+ disclaimers.find((item) => {
1238
722
  if (item.property === property) {
1239
723
  if (item.value === null) {
1240
724
  return false;
@@ -1243,25 +727,14 @@ class DisclaimerUtil {
1243
727
  return true;
1244
728
  }
1245
729
  return false;
1246
- }));
730
+ });
1247
731
  }
1248
732
  return this.atzRangeNumFromQueryParam(value, rangeNum);
1249
733
  }
1250
- /**
1251
- * @param {?} disclaimers
1252
- * @param {?} property
1253
- * @param {?} rangeDate
1254
- * @return {?}
1255
- */
1256
734
  atzRangeDateFromDisclamer(disclaimers, property, rangeDate) {
1257
- /** @type {?} */
1258
735
  let value = '';
1259
736
  if (disclaimers && disclaimers.length > 0) {
1260
- disclaimers.find((/**
1261
- * @param {?} item
1262
- * @return {?}
1263
- */
1264
- (item) => {
737
+ disclaimers.find((item) => {
1265
738
  if (item.property === property) {
1266
739
  if (item.value === null) {
1267
740
  return false;
@@ -1270,15 +743,10 @@ class DisclaimerUtil {
1270
743
  return true;
1271
744
  }
1272
745
  return false;
1273
- }));
746
+ });
1274
747
  }
1275
748
  return this.atzRangeDateFromQueryParam(value, rangeDate);
1276
749
  }
1277
- /**
1278
- * @param {?} value
1279
- * @param {?} rangeChar
1280
- * @return {?}
1281
- */
1282
750
  atzRangeCharFromQueryParam(value, rangeChar) {
1283
751
  rangeChar.valInitial = rangeChar.iniInitial;
1284
752
  rangeChar.valFinal = rangeChar.iniFinal;
@@ -1292,11 +760,6 @@ class DisclaimerUtil {
1292
760
  }
1293
761
  return rangeChar;
1294
762
  }
1295
- /**
1296
- * @param {?} value
1297
- * @param {?} rangeNum
1298
- * @return {?}
1299
- */
1300
763
  atzRangeNumFromQueryParam(value, rangeNum) {
1301
764
  rangeNum.valInitial = rangeNum.iniInitial;
1302
765
  rangeNum.valFinal = rangeNum.iniFinal;
@@ -1310,11 +773,6 @@ class DisclaimerUtil {
1310
773
  }
1311
774
  return rangeNum;
1312
775
  }
1313
- /**
1314
- * @param {?} value
1315
- * @param {?} rangeDate
1316
- * @return {?}
1317
- */
1318
776
  atzRangeDateFromQueryParam(value, rangeDate) {
1319
777
  rangeDate.valInitial = rangeDate.iniInitial;
1320
778
  rangeDate.valFinal = rangeDate.iniFinal;
@@ -1328,43 +786,21 @@ class DisclaimerUtil {
1328
786
  }
1329
787
  return rangeDate;
1330
788
  }
1331
- /**
1332
- * @param {?} date
1333
- * @return {?}
1334
- */
1335
789
  dateToQueryParam(date) {
1336
- /** @type {?} */
1337
790
  const iDay = date.getDate();
1338
- /** @type {?} */
1339
791
  const iMonth = date.getMonth() + 1;
1340
- /** @type {?} */
1341
792
  const iYear = date.getFullYear();
1342
793
  return `${iYear}-${this.pad(iMonth)}-${this.pad(iDay)}`;
1343
794
  }
1344
- /**
1345
- * @param {?} param
1346
- * @return {?}
1347
- */
1348
795
  queryParamToDate(param) {
1349
- /** @type {?} */
1350
796
  const iDay = +param.split('-')[2];
1351
- /** @type {?} */
1352
797
  const iMonth = +param.split('-')[1];
1353
- /** @type {?} */
1354
798
  const iYear = +param.split('-')[0];
1355
799
  return new Date(iYear, iMonth - 1, iDay);
1356
800
  }
1357
- /**
1358
- * @param {?} date
1359
- * @return {?}
1360
- */
1361
801
  isValidDate(date) {
1362
802
  return date instanceof Date && !isNaN(date.getTime());
1363
803
  }
1364
- /**
1365
- * @param {?} param
1366
- * @return {?}
1367
- */
1368
804
  ajustDate(param) {
1369
805
  if (param instanceof Date) {
1370
806
  return param;
@@ -1374,37 +810,19 @@ class DisclaimerUtil {
1374
810
  }
1375
811
  return this.queryParamToDate(param.split('T')[0]);
1376
812
  }
1377
- /**
1378
- * @param {?} number
1379
- * @return {?}
1380
- */
1381
813
  pad(number) {
1382
814
  if (number < 10) {
1383
815
  return '0' + number;
1384
816
  }
1385
817
  return number;
1386
818
  }
1387
- }
1388
- if (false) {
1389
- /** @type {?} */
1390
- DisclaimerUtil.prototype.poNotification;
1391
- /** @type {?} */
1392
- DisclaimerUtil.prototype.poI18nPipe;
1393
- /** @type {?} */
1394
- DisclaimerUtil.prototype.literals;
1395
819
  }
1396
820
 
1397
- /**
1398
- * @fileoverview added by tsickle
1399
- * Generated from: lib/utils/field-validation.util.ts
1400
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1401
- */
821
+ /*
822
+ Versão: 1.002
823
+ Data Criação: 19/02/2019
824
+ */
1402
825
  class FieldValidationUtil {
1403
- /**
1404
- * @param {?} poNotification
1405
- * @param {?} poI18nPipe
1406
- * @param {?} literals
1407
- */
1408
826
  constructor(poNotification, poI18nPipe, literals) {
1409
827
  this.literals = {};
1410
828
  this.poNotification = poNotification;
@@ -1412,11 +830,6 @@ class FieldValidationUtil {
1412
830
  this.literals = literals;
1413
831
  this.disclaimerUtil = new DisclaimerUtil(this.poNotification, this.poI18nPipe, this.literals);
1414
832
  }
1415
- /**
1416
- * @param {?} field
1417
- * @param {?} value
1418
- * @return {?}
1419
- */
1420
833
  vldFieldCharacter(field, value) {
1421
834
  if (!value || value.trim() === '') {
1422
835
  this.poNotification.error({
@@ -1427,13 +840,6 @@ class FieldValidationUtil {
1427
840
  return true;
1428
841
  }
1429
842
  // Valida uma faixa de caracteres se o inicial é menor que final
1430
- /**
1431
- * @param {?} initialField
1432
- * @param {?} finalField
1433
- * @param {?} initialValue
1434
- * @param {?} finalValue
1435
- * @return {?}
1436
- */
1437
843
  vldRangeCharacter(initialField, finalField, initialValue, finalValue) {
1438
844
  if (!initialValue || !finalValue) {
1439
845
  return true;
@@ -1446,13 +852,6 @@ class FieldValidationUtil {
1446
852
  }
1447
853
  return true;
1448
854
  }
1449
- /**
1450
- * @param {?} field
1451
- * @param {?} value
1452
- * @param {?=} vldValue
1453
- * @param {?=} zeroAccept
1454
- * @return {?}
1455
- */
1456
855
  vldFieldNumber(field, value, vldValue = false, zeroAccept = false) {
1457
856
  if (vldValue && !this.vldValueOfNumber(field, value)) {
1458
857
  return false;
@@ -1468,11 +867,6 @@ class FieldValidationUtil {
1468
867
  }
1469
868
  return true;
1470
869
  }
1471
- /**
1472
- * @param {?} field
1473
- * @param {?} value
1474
- * @return {?}
1475
- */
1476
870
  vldValueOfNumber(field, value) {
1477
871
  if (value && value < 0) {
1478
872
  this.poNotification.error({ message: this.poI18nPipe.transform(this.literals['fieldVldNumber'], [value.toString(), this.literals[field]]) });
@@ -1480,12 +874,6 @@ class FieldValidationUtil {
1480
874
  }
1481
875
  return true;
1482
876
  }
1483
- /**
1484
- * @param {?} field
1485
- * @param {?} value
1486
- * @param {?=} vldValue
1487
- * @return {?}
1488
- */
1489
877
  vldFieldPercent(field, value, vldValue = false) {
1490
878
  if (vldValue && !this.vldValueOfPercent(field, value)) {
1491
879
  return false;
@@ -1495,11 +883,6 @@ class FieldValidationUtil {
1495
883
  }
1496
884
  return true;
1497
885
  }
1498
- /**
1499
- * @param {?} field
1500
- * @param {?} value
1501
- * @return {?}
1502
- */
1503
886
  vldValueOfPercent(field, value) {
1504
887
  if (value && value < 0) {
1505
888
  this.poNotification.error({ message: this.poI18nPipe.transform(this.literals['fieldVldNumber'], [value.toString(), this.literals[field]]) });
@@ -1512,13 +895,6 @@ class FieldValidationUtil {
1512
895
  return true;
1513
896
  }
1514
897
  // Valida uma faixa de números se o inicial é menor que final
1515
- /**
1516
- * @param {?} initialField
1517
- * @param {?} finalField
1518
- * @param {?} initialValue
1519
- * @param {?} finalValue
1520
- * @return {?}
1521
- */
1522
898
  vldRangeNumber(initialField, finalField, initialValue, finalValue) {
1523
899
  if (!initialValue) {
1524
900
  initialValue = 0;
@@ -1534,13 +910,7 @@ class FieldValidationUtil {
1534
910
  }
1535
911
  return true;
1536
912
  }
1537
- /**
1538
- * @param {?} field
1539
- * @param {?} value
1540
- * @return {?}
1541
- */
1542
913
  vldFieldDate(field, value) {
1543
- /** @type {?} */
1544
914
  const valDate = this.disclaimerUtil.ajustDate(value);
1545
915
  if (!this.disclaimerUtil.isValidDate(valDate)) {
1546
916
  this.poNotification.error({
@@ -1551,20 +921,11 @@ class FieldValidationUtil {
1551
921
  return true;
1552
922
  }
1553
923
  // Valida uma faixa de datas se o inicial é menor que final
1554
- /**
1555
- * @param {?} initialField
1556
- * @param {?} finalField
1557
- * @param {?} initialValue
1558
- * @param {?} finalValue
1559
- * @return {?}
1560
- */
1561
924
  vldRangeDate(initialField, finalField, initialValue, finalValue) {
1562
925
  if (!initialValue || !finalValue) {
1563
926
  return true;
1564
927
  }
1565
- /** @type {?} */
1566
928
  const valInitialDate = this.disclaimerUtil.ajustDate(initialValue).getTime();
1567
- /** @type {?} */
1568
929
  const valFinalDate = this.disclaimerUtil.ajustDate(finalValue).getTime();
1569
930
  if (valInitialDate > valFinalDate) {
1570
931
  this.poNotification.error({
@@ -1574,11 +935,6 @@ class FieldValidationUtil {
1574
935
  }
1575
936
  return true;
1576
937
  }
1577
- /**
1578
- * @param {?} field
1579
- * @param {?} value
1580
- * @return {?}
1581
- */
1582
938
  vldFieldMultiSelect(field, value) {
1583
939
  if (!value || value.length === 0) {
1584
940
  this.poNotification.error({
@@ -1588,11 +944,6 @@ class FieldValidationUtil {
1588
944
  }
1589
945
  return true;
1590
946
  }
1591
- /**
1592
- * @param {?} field
1593
- * @param {?} value
1594
- * @return {?}
1595
- */
1596
947
  vldFieldCheckbox(field, value) {
1597
948
  if (!value || value.length === 0) {
1598
949
  this.poNotification.error({
@@ -1603,17 +954,8 @@ class FieldValidationUtil {
1603
954
  return true;
1604
955
  }
1605
956
  // Valida formato conforme regra: "9" apenas números, "X" qualquer caracter, "!" apenas letras maiúsculas
1606
- /**
1607
- * @param {?} field
1608
- * @param {?} value
1609
- * @param {?} format
1610
- * @param {?=} replacePoint
1611
- * @return {?}
1612
- */
1613
957
  vldFieldFormat(field, value, format, replacePoint = false) {
1614
- /** @type {?} */
1615
958
  let lOK = true;
1616
- /** @type {?} */
1617
959
  let oldFormat;
1618
960
  if (!value) {
1619
961
  return lOK;
@@ -1652,23 +994,8 @@ class FieldValidationUtil {
1652
994
  }
1653
995
  return lOK;
1654
996
  }
1655
- }
1656
- if (false) {
1657
- /** @type {?} */
1658
- FieldValidationUtil.prototype.poNotification;
1659
- /** @type {?} */
1660
- FieldValidationUtil.prototype.poI18nPipe;
1661
- /** @type {?} */
1662
- FieldValidationUtil.prototype.literals;
1663
- /** @type {?} */
1664
- FieldValidationUtil.prototype.disclaimerUtil;
1665
997
  }
1666
998
 
1667
- /**
1668
- * @fileoverview added by tsickle
1669
- * Generated from: lib/utils/filter-range.util.ts
1670
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1671
- */
1672
999
  /*
1673
1000
  Versão: 1.000
1674
1001
  Data Criação: 06/08/2018
@@ -1676,11 +1003,6 @@ Data Criação: 06/08/2018
1676
1003
  class FilterRangeUtil {
1677
1004
  constructor() {
1678
1005
  }
1679
- /**
1680
- * @param {?} iniInitial
1681
- * @param {?} iniFinal
1682
- * @return {?}
1683
- */
1684
1006
  static makeFilterRangeCharacter(iniInitial, iniFinal) {
1685
1007
  return {
1686
1008
  iniInitial,
@@ -1689,11 +1011,6 @@ class FilterRangeUtil {
1689
1011
  valFinal: iniFinal
1690
1012
  };
1691
1013
  }
1692
- /**
1693
- * @param {?} iniInitial
1694
- * @param {?} iniFinal
1695
- * @return {?}
1696
- */
1697
1014
  static makeFilterRangeNumber(iniInitial, iniFinal) {
1698
1015
  return {
1699
1016
  iniInitial,
@@ -1702,11 +1019,6 @@ class FilterRangeUtil {
1702
1019
  valFinal: iniFinal
1703
1020
  };
1704
1021
  }
1705
- /**
1706
- * @param {?} iniInitial
1707
- * @param {?} iniFinal
1708
- * @return {?}
1709
- */
1710
1022
  static makeFilterRangeDate(iniInitial, iniFinal) {
1711
1023
  return {
1712
1024
  iniInitial,
@@ -1717,50 +1029,17 @@ class FilterRangeUtil {
1717
1029
  }
1718
1030
  }
1719
1031
 
1720
- /**
1721
- * @fileoverview added by tsickle
1722
- * Generated from: lib/utils/generic-functions.utils.ts
1723
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1724
- */
1725
1032
  /*
1726
1033
  Versão: 1.003
1727
1034
  Data Criação: 18/04/2019
1728
1035
  */
1729
- /**
1730
- * @record
1731
- */
1732
- function ChartSeries() { }
1733
- if (false) {
1734
- /** @type {?|undefined} */
1735
- ChartSeries.prototype.name;
1736
- /** @type {?|undefined} */
1737
- ChartSeries.prototype.data;
1738
- }
1739
- /**
1740
- * @record
1741
- */
1742
- function ChartValues() { }
1743
- if (false) {
1744
- /** @type {?} */
1745
- ChartValues.prototype.minValue;
1746
- /** @type {?} */
1747
- ChartValues.prototype.maxValue;
1748
- }
1749
1036
  class GenericFunctionsUtils {
1750
- /**
1751
- * @param {?} literals
1752
- */
1753
1037
  constructor(literals) {
1754
1038
  this.literals = {};
1755
1039
  this.literals = literals;
1756
1040
  }
1757
1041
  /* Transforma uma Lista separada por "," em um Array */
1758
- /**
1759
- * @param {?} list
1760
- * @return {?}
1761
- */
1762
1042
  static listToArrayCharacter(list) {
1763
- /** @type {?} */
1764
1043
  let returnArray = new Array();
1765
1044
  if (list && list !== '') {
1766
1045
  returnArray = list.split(',');
@@ -1768,24 +1047,14 @@ class GenericFunctionsUtils {
1768
1047
  return returnArray;
1769
1048
  }
1770
1049
  /* Transforma um Array em uma Lista separada por "," */
1771
- /**
1772
- * @param {?} array
1773
- * @return {?}
1774
- */
1775
1050
  static ArrayToListCharacter(array) {
1776
- /** @type {?} */
1777
1051
  let list = '';
1778
1052
  if (array && array.length > 0) {
1779
1053
  list = array.join(',');
1780
1054
  }
1781
1055
  return list;
1782
1056
  }
1783
- /**
1784
- * @param {?} object
1785
- * @return {?}
1786
- */
1787
1057
  static isEmpty(object) {
1788
- /** @type {?} */
1789
1058
  let isEmpty = true;
1790
1059
  for (const content in object) {
1791
1060
  if (object.hasOwnProperty(content)) {
@@ -1794,24 +1063,12 @@ class GenericFunctionsUtils {
1794
1063
  }
1795
1064
  return isEmpty;
1796
1065
  }
1797
- /**
1798
- * @param {?} chartData
1799
- * @return {?}
1800
- */
1801
1066
  static getChartValues(chartData) {
1802
- /** @type {?} */
1803
1067
  let chartValues;
1804
- /** @type {?} */
1805
- let maxValue;
1806
- /** @type {?} */
1807
- let minValue;
1068
+ let maxValue, minValue;
1808
1069
  maxValue = undefined;
1809
1070
  minValue = undefined;
1810
- chartData.map((/**
1811
- * @param {?} item
1812
- * @return {?}
1813
- */
1814
- item => {
1071
+ chartData.map(item => {
1815
1072
  if (maxValue === undefined && minValue === undefined) {
1816
1073
  maxValue = item.data[0];
1817
1074
  minValue = item.data[0];
@@ -1824,7 +1081,7 @@ class GenericFunctionsUtils {
1824
1081
  maxValue = item.data[0];
1825
1082
  }
1826
1083
  }
1827
- }));
1084
+ });
1828
1085
  if (maxValue > 0 && minValue > 0) {
1829
1086
  chartValues = { maxValue: maxValue, minValue: 0 };
1830
1087
  }
@@ -1832,7 +1089,6 @@ class GenericFunctionsUtils {
1832
1089
  chartValues = { maxValue: maxValue, minValue: minValue };
1833
1090
  }
1834
1091
  if (maxValue < 0 && minValue < 0) {
1835
- /** @type {?} */
1836
1092
  const max = (minValue / 3) * (-1);
1837
1093
  chartValues = { maxValue: max, minValue: minValue };
1838
1094
  }
@@ -1840,7 +1096,6 @@ class GenericFunctionsUtils {
1840
1096
  chartValues = { maxValue: maxValue, minValue: 0 };
1841
1097
  }
1842
1098
  if (maxValue === 0 && minValue < 0) {
1843
- /** @type {?} */
1844
1099
  const max = (minValue / 3) * (-1);
1845
1100
  chartValues = { maxValue: max, minValue: minValue };
1846
1101
  }
@@ -1852,97 +1107,52 @@ class GenericFunctionsUtils {
1852
1107
  return chartValues;
1853
1108
  }
1854
1109
  /*Deixa no list apenas o itens que existem no options*/
1855
- /**
1856
- * @param {?} options
1857
- * @param {?} list
1858
- * @return {?}
1859
- */
1860
1110
  static atzMultiSelectListByOptions(options, list) {
1861
- /** @type {?} */
1862
1111
  let idx;
1863
- /** @type {?} */
1864
1112
  let newList;
1865
1113
  if (!list) {
1866
1114
  return list;
1867
1115
  }
1868
1116
  newList = new Array();
1869
- list.map((/**
1870
- * @param {?} item
1871
- * @return {?}
1872
- */
1873
- item => {
1117
+ list.map(item => {
1874
1118
  if (item) {
1875
- idx = options.findIndex((/**
1876
- * @param {?} itemOptions
1877
- * @return {?}
1878
- */
1879
- itemOptions => itemOptions.value === item));
1119
+ idx = options.findIndex(itemOptions => itemOptions.value === item);
1880
1120
  if (idx >= 0) {
1881
1121
  newList.push(item);
1882
1122
  }
1883
1123
  }
1884
- }));
1124
+ });
1885
1125
  return newList;
1886
1126
  }
1887
1127
  /*Carrega o Options com os valores defaults passados como parâmetro (list)*/
1888
- /**
1889
- * @param {?} options
1890
- * @param {?} list
1891
- * @return {?}
1892
- */
1893
1128
  loadOptionsMultiSelect(options, list) {
1894
- /** @type {?} */
1895
1129
  let idx;
1896
1130
  if (!list) {
1897
1131
  return;
1898
1132
  }
1899
- list.map((/**
1900
- * @param {?} item
1901
- * @return {?}
1902
- */
1903
- item => {
1133
+ list.map(item => {
1904
1134
  if (item) {
1905
- idx = options.findIndex((/**
1906
- * @param {?} itemOptions
1907
- * @return {?}
1908
- */
1909
- itemOptions => itemOptions.value === item));
1135
+ idx = options.findIndex(itemOptions => itemOptions.value === item);
1910
1136
  if (idx === -1) {
1911
1137
  options.push({ label: item === 'all' ? this.literals['all'] : item, value: item });
1912
1138
  }
1913
1139
  }
1914
- }));
1140
+ });
1915
1141
  }
1916
1142
  /*Carrega o Options com os valores defaults passados como parâmetro (list)*/
1917
- /**
1918
- * @param {?} options
1919
- * @param {?} selectValue
1920
- * @param {?=} tradValue
1921
- * @return {?}
1922
- */
1923
1143
  loadOptionsSelect(options, selectValue, tradValue = false) {
1924
- /** @type {?} */
1925
1144
  let idx;
1926
1145
  if (!selectValue) {
1927
1146
  return;
1928
1147
  }
1929
1148
  if (selectValue) {
1930
- idx = options.findIndex((/**
1931
- * @param {?} itemOptions
1932
- * @return {?}
1933
- */
1934
- itemOptions => itemOptions.value === selectValue));
1149
+ idx = options.findIndex(itemOptions => itemOptions.value === selectValue);
1935
1150
  if (idx === -1) {
1936
1151
  options.push({ label: tradValue ? this.literals[selectValue] : selectValue, value: selectValue });
1937
1152
  }
1938
1153
  }
1939
1154
  }
1940
1155
  /*Método que compara 2 objetos e retorna se são iguais ou diferentes*/
1941
- /**
1942
- * @param {?} firstObject
1943
- * @param {?} secondObject
1944
- * @return {?}
1945
- */
1946
1156
  compareObjects(firstObject, secondObject) {
1947
1157
  if (!firstObject || !secondObject) {
1948
1158
  return false;
@@ -1961,21 +1171,11 @@ class GenericFunctionsUtils {
1961
1171
  }
1962
1172
  return true;
1963
1173
  }
1964
- /**
1965
- * @param {?} charInd
1966
- * @param {?} dateRef
1967
- * @return {?}
1968
- */
1969
1174
  referenceGeneration(charInd, dateRef) {
1970
- /** @type {?} */
1971
1175
  let reference;
1972
- /** @type {?} */
1973
1176
  let random;
1974
- /** @type {?} */
1975
1177
  const iDay = dateRef.getDate();
1976
- /** @type {?} */
1977
1178
  const iMonth = dateRef.getMonth() + 1;
1978
- /** @type {?} */
1979
1179
  const iYear = dateRef.getFullYear();
1980
1180
  reference = `${this.pad(iYear)}${this.pad(iMonth)}${this.pad(iDay)}${charInd}`;
1981
1181
  random = btoa(`${(new Date()).getTime()}`);
@@ -1983,10 +1183,6 @@ class GenericFunctionsUtils {
1983
1183
  random = random.slice(random.length - 3, random.length);
1984
1184
  return `${reference}${random}`;
1985
1185
  }
1986
- /**
1987
- * @param {?} number
1988
- * @return {?}
1989
- */
1990
1186
  pad(number) {
1991
1187
  if (number < 10) {
1992
1188
  return '0' + number;
@@ -1996,48 +1192,20 @@ class GenericFunctionsUtils {
1996
1192
  }
1997
1193
  return number;
1998
1194
  }
1999
- /**
2000
- * @param {?} idField
2001
- * @return {?}
2002
- */
2003
1195
  focusInternalInput(idField) {
2004
- /** @type {?} */
2005
1196
  const fieldComponent = document.getElementById(idField);
2006
- /** @type {?} */
2007
- const fieldInput = ((/** @type {?} */ ((/** @type {?} */ (fieldComponent.getElementsByClassName('po-input'))))))[0];
1197
+ const fieldInput = fieldComponent.getElementsByClassName('po-input')[0];
2008
1198
  fieldInput.focus();
2009
1199
  }
2010
- }
2011
- if (false) {
2012
- /** @type {?} */
2013
- GenericFunctionsUtils.prototype.literals;
2014
1200
  }
2015
1201
 
2016
- /**
2017
- * @fileoverview added by tsickle
2018
- * Generated from: lib/utils/file.util.ts
2019
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2020
- */
2021
1202
  class FileUtil {
2022
1203
  constructor() { }
2023
- /**
2024
- * @param {?} data
2025
- * @param {?} fileName
2026
- * @param {?=} contentType
2027
- * @param {?=} base64
2028
- * @return {?}
2029
- */
2030
1204
  static downloadFile(data, fileName, contentType, base64) {
2031
1205
  base64 = (base64 === false) ? false : true;
2032
- /** @type {?} */
2033
1206
  const dataBlob = base64 ? this.b64toBlob(data, contentType) : data;
2034
1207
  this.download(dataBlob, fileName);
2035
1208
  }
2036
- /**
2037
- * @param {?} data
2038
- * @param {?=} dwldDataParam
2039
- * @return {?}
2040
- */
2041
1209
  static downloadData(data, dwldDataParam = null) {
2042
1210
  if (!data) {
2043
1211
  return;
@@ -2060,85 +1228,45 @@ class FileUtil {
2060
1228
  if (!dwldDataParam.columnExclude) {
2061
1229
  dwldDataParam.columnExclude = [];
2062
1230
  }
2063
- /** @type {?} */
2064
1231
  const datab64 = btoa(this.jsonToString(data, dwldDataParam));
2065
1232
  this.downloadFile(datab64, dwldDataParam.fileName, 'text/csv');
2066
1233
  }
2067
- /**
2068
- * @private
2069
- * @param {?} file
2070
- * @param {?} fileName
2071
- * @return {?}
2072
- */
2073
1234
  static download(file, fileName) {
2074
- /** @type {?} */
2075
1235
  const binaryData = [file];
2076
- /** @type {?} */
2077
1236
  const downloadLink = document.createElement('a');
2078
- /** @type {?} */
2079
1237
  const urlDownload = window.URL.createObjectURL(new Blob(binaryData, { type: file.type }));
2080
- /**Verifica se é ie ou edge, pois o mesmo tem tratamento próprio para arquivos blob */
2081
- if (navigator.userAgent.toUpperCase().indexOf('.NET') > 0 || navigator.userAgent.toUpperCase().indexOf('EDGE') > 0) {
2082
- window.navigator.msSaveOrOpenBlob(file, fileName);
2083
- }
2084
- else {
2085
- downloadLink.href = urlDownload;
2086
- downloadLink.setAttribute('download', fileName);
2087
- document.body.appendChild(downloadLink);
2088
- downloadLink.click();
2089
- window.URL.revokeObjectURL(urlDownload);
2090
- downloadLink.remove();
2091
- }
1238
+ downloadLink.href = urlDownload;
1239
+ downloadLink.setAttribute('download', fileName);
1240
+ document.body.appendChild(downloadLink);
1241
+ downloadLink.click();
1242
+ window.URL.revokeObjectURL(urlDownload);
1243
+ downloadLink.remove();
2092
1244
  }
2093
- /**
2094
- * @private
2095
- * @param {?} b64Data
2096
- * @param {?=} contentType
2097
- * @param {?=} sliceSize
2098
- * @return {?}
2099
- */
2100
1245
  static b64toBlob(b64Data, contentType, sliceSize) {
2101
1246
  contentType = contentType || '';
2102
1247
  sliceSize = sliceSize || 512;
2103
- /** @type {?} */
2104
1248
  const byteCharacters = atob(b64Data);
2105
- /** @type {?} */
2106
1249
  const byteArrays = [];
2107
1250
  for (let offset = 0; offset < byteCharacters.length; offset += sliceSize) {
2108
- /** @type {?} */
2109
1251
  const slice = byteCharacters.slice(offset, offset + sliceSize);
2110
- /** @type {?} */
2111
1252
  const byteNumbers = new Array(slice.length);
2112
1253
  for (let i = 0; i < slice.length; i++) {
2113
1254
  byteNumbers[i] = slice.charCodeAt(i);
2114
1255
  }
2115
- /** @type {?} */
2116
1256
  const byteArray = new Uint8Array(byteNumbers);
2117
1257
  byteArrays.push(byteArray);
2118
1258
  }
2119
- /** @type {?} */
2120
1259
  const blob = new Blob(byteArrays, { type: contentType });
2121
1260
  return blob;
2122
1261
  }
2123
- /**
2124
- * @private
2125
- * @param {?} jsonData
2126
- * @param {?} dwldDataParam
2127
- * @return {?}
2128
- */
2129
1262
  static jsonToString(jsonData, dwldDataParam) {
2130
1263
  if (!jsonData || jsonData.length === 0) {
2131
1264
  return '';
2132
1265
  }
2133
- /** @type {?} */
2134
1266
  const lineDelimiter = '\n';
2135
- /** @type {?} */
2136
1267
  let columnOrig = null;
2137
- /** @type {?} */
2138
1268
  let columnHeader = null;
2139
- /** @type {?} */
2140
1269
  const keys = [];
2141
- /** @type {?} */
2142
1270
  let includeKey;
2143
1271
  if (dwldDataParam.columnList &&
2144
1272
  dwldDataParam.columnList.length > 0) {
@@ -2147,11 +1275,7 @@ class FileUtil {
2147
1275
  else {
2148
1276
  columnOrig = Object.keys(jsonData[0]);
2149
1277
  }
2150
- columnOrig.forEach((/**
2151
- * @param {?} key
2152
- * @return {?}
2153
- */
2154
- key => {
1278
+ columnOrig.forEach(key => {
2155
1279
  includeKey = true;
2156
1280
  if (dwldDataParam.columnExclude &&
2157
1281
  dwldDataParam.columnExclude.length > 0 &&
@@ -2163,23 +1287,11 @@ class FileUtil {
2163
1287
  columnHeader = (!columnHeader) ? '' : columnHeader + dwldDataParam.columnDelimiter;
2164
1288
  columnHeader += (dwldDataParam.literals[key]) ? dwldDataParam.literals[key] : key;
2165
1289
  }
2166
- }));
2167
- /** @type {?} */
2168
- const lineStr = jsonData.reduce((/**
2169
- * @param {?} accLineStr
2170
- * @param {?} currentItem
2171
- * @return {?}
2172
- */
2173
- (accLineStr, currentItem) => {
2174
- /** @type {?} */
1290
+ });
1291
+ const lineStr = jsonData.reduce((accLineStr, currentItem) => {
2175
1292
  let first = true;
2176
- /** @type {?} */
2177
1293
  let columnValue = null;
2178
- keys.forEach((/**
2179
- * @param {?} key
2180
- * @return {?}
2181
- */
2182
- key => {
1294
+ keys.forEach(key => {
2183
1295
  if (!first) {
2184
1296
  accLineStr += dwldDataParam.columnDelimiter;
2185
1297
  }
@@ -2200,249 +1312,23 @@ class FileUtil {
2200
1312
  }
2201
1313
  accLineStr += columnValue;
2202
1314
  first = false;
2203
- }));
1315
+ });
2204
1316
  return accLineStr + lineDelimiter;
2205
- }), columnHeader + lineDelimiter);
1317
+ }, columnHeader + lineDelimiter);
2206
1318
  return lineStr;
2207
1319
  }
2208
1320
  }
2209
- /**
2210
- * @record
2211
- */
2212
- function IDownloadDataParams() { }
2213
- if (false) {
2214
- /** @type {?} */
2215
- IDownloadDataParams.prototype.fileName;
2216
- /** @type {?} */
2217
- IDownloadDataParams.prototype.literals;
2218
- /** @type {?} */
2219
- IDownloadDataParams.prototype.columnDelimiter;
2220
- /** @type {?} */
2221
- IDownloadDataParams.prototype.columnList;
2222
- /** @type {?} */
2223
- IDownloadDataParams.prototype.columnExclude;
2224
- }
2225
1321
  class DownloadDataParams {
2226
- }
2227
- if (false) {
2228
- /** @type {?} */
2229
- DownloadDataParams.prototype.fileName;
2230
- /** @type {?} */
2231
- DownloadDataParams.prototype.literals;
2232
- /** @type {?} */
2233
- DownloadDataParams.prototype.columnDelimiter;
2234
- /** @type {?} */
2235
- DownloadDataParams.prototype.columnList;
2236
- /** @type {?} */
2237
- DownloadDataParams.prototype.columnExclude;
2238
- }
2239
-
2240
- /**
2241
- * @fileoverview added by tsickle
2242
- * Generated from: lib/interfaces/totvs-response.interface.ts
2243
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2244
- */
2245
- /**
2246
- * @record
2247
- * @template T
2248
- */
2249
- function TotvsResponse() { }
2250
- if (false) {
2251
- /** @type {?} */
2252
- TotvsResponse.prototype.items;
2253
- /** @type {?|undefined} */
2254
- TotvsResponse.prototype.hasNext;
2255
- }
2256
-
2257
- /**
2258
- * @fileoverview added by tsickle
2259
- * Generated from: lib/interfaces/filter-range.interface.ts
2260
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2261
- */
2262
- /**
2263
- * @record
2264
- */
2265
- function IFilterRangeCharacter() { }
2266
- if (false) {
2267
- /** @type {?} */
2268
- IFilterRangeCharacter.prototype.iniInitial;
2269
- /** @type {?} */
2270
- IFilterRangeCharacter.prototype.iniFinal;
2271
- /** @type {?} */
2272
- IFilterRangeCharacter.prototype.valInitial;
2273
- /** @type {?} */
2274
- IFilterRangeCharacter.prototype.valFinal;
2275
- }
2276
- /**
2277
- * @record
2278
- */
2279
- function IFilterRangeNumber() { }
2280
- if (false) {
2281
- /** @type {?} */
2282
- IFilterRangeNumber.prototype.iniInitial;
2283
- /** @type {?} */
2284
- IFilterRangeNumber.prototype.iniFinal;
2285
- /** @type {?} */
2286
- IFilterRangeNumber.prototype.valInitial;
2287
- /** @type {?} */
2288
- IFilterRangeNumber.prototype.valFinal;
2289
- }
2290
- /**
2291
- * @record
2292
- */
2293
- function IFilterRangeDate() { }
2294
- if (false) {
2295
- /** @type {?} */
2296
- IFilterRangeDate.prototype.iniInitial;
2297
- /** @type {?} */
2298
- IFilterRangeDate.prototype.iniFinal;
2299
- /** @type {?} */
2300
- IFilterRangeDate.prototype.valInitial;
2301
- /** @type {?} */
2302
- IFilterRangeDate.prototype.valFinal;
2303
1322
  }
2304
1323
 
2305
- /**
2306
- * @fileoverview added by tsickle
2307
- * Generated from: lib/components/totvs-schedule-execution/totvs-schedule-execution.model.ts
2308
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2309
- */
2310
- /**
2311
- * @record
2312
- */
2313
- function IScheduleParameters() { }
2314
- if (false) {
2315
- /** @type {?} */
2316
- IScheduleParameters.prototype.executionType;
2317
- /** @type {?} */
2318
- IScheduleParameters.prototype.execAppointDate;
2319
- /** @type {?} */
2320
- IScheduleParameters.prototype.execAppointHour;
2321
- /** @type {?} */
2322
- IScheduleParameters.prototype.executionServer;
2323
- /** @type {?} */
2324
- IScheduleParameters.prototype.repeatExecution;
2325
- /** @type {?} */
2326
- IScheduleParameters.prototype.repeatType;
2327
- /** @type {?} */
2328
- IScheduleParameters.prototype.frequency;
2329
- /** @type {?} */
2330
- IScheduleParameters.prototype.frequencyValue;
2331
- /** @type {?} */
2332
- IScheduleParameters.prototype.frequencyType;
2333
- /** @type {?} */
2334
- IScheduleParameters.prototype.execAppointHourInit;
2335
- /** @type {?} */
2336
- IScheduleParameters.prototype.execAppointHourFinal;
2337
- /** @type {?} */
2338
- IScheduleParameters.prototype.selectWeeklys;
2339
- /** @type {?} */
2340
- IScheduleParameters.prototype.dayOfMonth;
2341
- }
2342
1324
  class ScheduleParameters {
2343
1325
  }
2344
- if (false) {
2345
- /** @type {?} */
2346
- ScheduleParameters.prototype.executionType;
2347
- /** @type {?} */
2348
- ScheduleParameters.prototype.execAppointDate;
2349
- /** @type {?} */
2350
- ScheduleParameters.prototype.execAppointHour;
2351
- /** @type {?} */
2352
- ScheduleParameters.prototype.executionServer;
2353
- /** @type {?} */
2354
- ScheduleParameters.prototype.repeatExecution;
2355
- /** @type {?} */
2356
- ScheduleParameters.prototype.repeatType;
2357
- /** @type {?} */
2358
- ScheduleParameters.prototype.frequency;
2359
- /** @type {?} */
2360
- ScheduleParameters.prototype.frequencyValue;
2361
- /** @type {?} */
2362
- ScheduleParameters.prototype.frequencyType;
2363
- /** @type {?} */
2364
- ScheduleParameters.prototype.execAppointHourInit;
2365
- /** @type {?} */
2366
- ScheduleParameters.prototype.execAppointHourFinal;
2367
- /** @type {?} */
2368
- ScheduleParameters.prototype.selectWeeklys;
2369
- /** @type {?} */
2370
- ScheduleParameters.prototype.dayOfMonth;
2371
- }
2372
- /**
2373
- * @record
2374
- */
2375
- function IExecutionStatus() { }
2376
- if (false) {
2377
- /** @type {?} */
2378
- IExecutionStatus.prototype.jobScheduleID;
2379
- /** @type {?} */
2380
- IExecutionStatus.prototype.executionID;
2381
- /** @type {?} */
2382
- IExecutionStatus.prototype.startedDate;
2383
- /** @type {?} */
2384
- IExecutionStatus.prototype.error;
2385
- /** @type {?} */
2386
- IExecutionStatus.prototype.status;
2387
- }
2388
1326
  class ExecutionStatus {
2389
1327
  }
2390
- if (false) {
2391
- /** @type {?} */
2392
- ExecutionStatus.prototype.jobScheduleID;
2393
- /** @type {?} */
2394
- ExecutionStatus.prototype.executionID;
2395
- /** @type {?} */
2396
- ExecutionStatus.prototype.startedDate;
2397
- /** @type {?} */
2398
- ExecutionStatus.prototype.error;
2399
- /** @type {?} */
2400
- ExecutionStatus.prototype.status;
2401
- }
2402
- /**
2403
- * @record
2404
- */
2405
- function IExecutionParameters() { }
2406
- if (false) {
2407
- /** @type {?} */
2408
- IExecutionParameters.prototype.executionServer;
2409
- /** @type {?} */
2410
- IExecutionParameters.prototype.programName;
2411
- /** @type {?} */
2412
- IExecutionParameters.prototype.externalName;
2413
- /** @type {?} */
2414
- IExecutionParameters.prototype.programEMS5;
2415
- /** @type {?} */
2416
- IExecutionParameters.prototype.programVersion;
2417
- /** @type {?} */
2418
- IExecutionParameters.prototype.businessParams;
2419
- }
2420
1328
  class ExecutionParameters {
2421
- }
2422
- if (false) {
2423
- /** @type {?} */
2424
- ExecutionParameters.prototype.executionServer;
2425
- /** @type {?} */
2426
- ExecutionParameters.prototype.programName;
2427
- /** @type {?} */
2428
- ExecutionParameters.prototype.externalName;
2429
- /** @type {?} */
2430
- ExecutionParameters.prototype.programEMS5;
2431
- /** @type {?} */
2432
- ExecutionParameters.prototype.programVersion;
2433
- /** @type {?} */
2434
- ExecutionParameters.prototype.businessParams;
2435
1329
  }
2436
1330
 
2437
- /**
2438
- * @fileoverview added by tsickle
2439
- * Generated from: lib/components/totvs-schedule-execution/totvs-schedule-execution.service.ts
2440
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2441
- */
2442
1331
  class TotvsScheduleExecutionService {
2443
- /**
2444
- * @param {?} http
2445
- */
2446
1332
  constructor(http) {
2447
1333
  this.http = http;
2448
1334
  this.headers = { headers: { 'X-PO-Screen-Lock': 'true' } };
@@ -2450,12 +1336,7 @@ class TotvsScheduleExecutionService {
2450
1336
  this.urlJobScheduler = '/dts/datasul-rest/resources/prg/framework/v1/jobScheduler';
2451
1337
  this.urlJobExecution = '/dts/datasul-rest/resources/prg/framework/v1/jobExecution';
2452
1338
  }
2453
- /**
2454
- * @param {?} params
2455
- * @return {?}
2456
- */
2457
1339
  getFilteredItems(params) {
2458
- /** @type {?} */
2459
1340
  const urlParams = new Array();
2460
1341
  urlParams.push(`pageSize=${params.pageSize.toString()}`);
2461
1342
  urlParams.push(`page=${params.page.toString()}`);
@@ -2464,20 +1345,10 @@ class TotvsScheduleExecutionService {
2464
1345
  }
2465
1346
  return this.http.get(`${this.urlCadServidor}?${urlParams.join('&')}`);
2466
1347
  }
2467
- /**
2468
- * @param {?} id
2469
- * @return {?}
2470
- */
2471
1348
  getObjectByValue(id) {
2472
1349
  return this.http.get(`${this.urlCadServidor}/${id}`, this.headers);
2473
1350
  }
2474
- /**
2475
- * @param {?} parameters
2476
- * @param {?} loading
2477
- * @return {?}
2478
- */
2479
1351
  createExecution(parameters, loading) {
2480
- /** @type {?} */
2481
1352
  const params = JSON.parse(JSON.stringify(parameters).replace(/\\\\/g, '*|'));
2482
1353
  if (loading) {
2483
1354
  return this.http.post(`${this.urlJobScheduler}`, params, this.headers);
@@ -2486,17 +1357,9 @@ class TotvsScheduleExecutionService {
2486
1357
  return this.http.post(`${this.urlJobScheduler}`, params);
2487
1358
  }
2488
1359
  }
2489
- /**
2490
- * @param {?} executionParams
2491
- * @param {?} loading
2492
- * @return {?}
2493
- */
2494
1360
  createExecutionForNow(executionParams, loading) {
2495
- /** @type {?} */
2496
1361
  let jobScheduleParams;
2497
- /** @type {?} */
2498
1362
  const date = new Date();
2499
- /** @type {?} */
2500
1363
  const params = JSON.parse(JSON.stringify(executionParams).replace(/\\\\/g, '*|'));
2501
1364
  if (!params.businessParams || params.businessParams.length === 0) {
2502
1365
  params.businessParams = [{ chave: '', valor: '' }];
@@ -2522,40 +1385,14 @@ class TotvsScheduleExecutionService {
2522
1385
  return this.http.post(`${this.urlJobScheduler}`, jobScheduleParams);
2523
1386
  }
2524
1387
  }
2525
- /**
2526
- * @param {?} jobScheduleID
2527
- * @param {?=} loading
2528
- * @return {?}
2529
- */
2530
1388
  getExecutionByJobScheduleID(jobScheduleID, loading = false) {
2531
- /** @type {?} */
2532
1389
  const url = `${this.urlJobExecution}?jobScheduleID=${jobScheduleID}`;
2533
- return this.getExecution(url, loading).pipe(map((/**
2534
- * @param {?} response
2535
- * @return {?}
2536
- */
2537
- (response) => this.transformExecution('jobScheduleID', response))));
1390
+ return this.getExecution(url, loading).pipe(map((response) => this.transformExecution('jobScheduleID', response)));
2538
1391
  }
2539
- /**
2540
- * @param {?} executionID
2541
- * @param {?=} loading
2542
- * @return {?}
2543
- */
2544
1392
  getExecutionByExecutionID(executionID, loading = false) {
2545
- /** @type {?} */
2546
1393
  const url = `${this.urlJobExecution}/${executionID}`;
2547
- return this.getExecution(url, loading).pipe(map((/**
2548
- * @param {?} response
2549
- * @return {?}
2550
- */
2551
- (response) => this.transformExecution('executionID', response))));
1394
+ return this.getExecution(url, loading).pipe(map((response) => this.transformExecution('executionID', response)));
2552
1395
  }
2553
- /**
2554
- * @private
2555
- * @param {?} url
2556
- * @param {?} loading
2557
- * @return {?}
2558
- */
2559
1396
  getExecution(url, loading) {
2560
1397
  if (loading) {
2561
1398
  return this.http.get(url, this.headers);
@@ -2564,18 +1401,11 @@ class TotvsScheduleExecutionService {
2564
1401
  return this.http.get(url);
2565
1402
  }
2566
1403
  }
2567
- /**
2568
- * @private
2569
- * @param {?} type
2570
- * @param {?} response
2571
- * @return {?}
2572
- */
2573
1404
  transformExecution(type, response) {
2574
1405
  if (!response || !response.items || response.items.length === 0) {
2575
1406
  return;
2576
1407
  }
2577
1408
  response = response.items[0];
2578
- /** @type {?} */
2579
1409
  const execStatus = new ExecutionStatus();
2580
1410
  execStatus.jobScheduleID = response.jobScheduleID;
2581
1411
  execStatus.executionID = response.executionID;
@@ -2584,43 +1414,15 @@ class TotvsScheduleExecutionService {
2584
1414
  execStatus.status = response.status;
2585
1415
  return execStatus;
2586
1416
  }
2587
- /**
2588
- * @param {?} jobScheduleID
2589
- * @param {?} intervalNum
2590
- * @param {?} fncCallBack
2591
- * @param {?=} loading
2592
- * @return {?}
2593
- */
2594
1417
  followUpExcByJobScheduleID(jobScheduleID, intervalNum, fncCallBack, loading = false) {
2595
1418
  this.followUpExecution('jobScheduleID', jobScheduleID, intervalNum, fncCallBack, loading);
2596
1419
  }
2597
- /**
2598
- * @param {?} executionID
2599
- * @param {?} intervalNum
2600
- * @param {?} fncCallBack
2601
- * @param {?=} loading
2602
- * @return {?}
2603
- */
2604
1420
  followUpExcByExecutionID(executionID, intervalNum, fncCallBack, loading = false) {
2605
1421
  this.followUpExecution('executionID', executionID, intervalNum, fncCallBack, loading);
2606
1422
  }
2607
- /**
2608
- * @private
2609
- * @param {?} type
2610
- * @param {?} execID
2611
- * @param {?} intervalNum
2612
- * @param {?} fncCallBack
2613
- * @param {?} loading
2614
- * @return {?}
2615
- */
2616
1423
  followUpExecution(type, execID, intervalNum, fncCallBack, loading) {
2617
1424
  this.jobExecutionSubscription$ = null;
2618
- /** @type {?} */
2619
- const intervalID = setInterval((/**
2620
- * @return {?}
2621
- */
2622
- () => {
2623
- /** @type {?} */
1425
+ const intervalID = setInterval(() => {
2624
1426
  const execStatus = new ExecutionStatus();
2625
1427
  execStatus.jobScheduleID = (type === 'jobScheduleID') ? execID : '';
2626
1428
  execStatus.executionID = (type === 'executionID') ? execID : '';
@@ -2632,47 +1434,22 @@ class TotvsScheduleExecutionService {
2632
1434
  }
2633
1435
  if (type === 'jobScheduleID') {
2634
1436
  this.jobExecutionSubscription$ = this.getExecutionByJobScheduleID(execID, loading)
2635
- .subscribe((/**
2636
- * @param {?} response
2637
- * @return {?}
2638
- */
2639
- (response) => {
1437
+ .subscribe((response) => {
2640
1438
  this.followUpExecReturnOk(execID, execStatus, response, intervalID, fncCallBack);
2641
- }), (/**
2642
- * @param {?} error
2643
- * @return {?}
2644
- */
2645
- (error) => {
1439
+ }, (error) => {
2646
1440
  this.followUpExecReturnError(error, execStatus, intervalID, fncCallBack);
2647
- }));
1441
+ });
2648
1442
  }
2649
1443
  if (type === 'executionID') {
2650
1444
  this.jobExecutionSubscription$ = this.getExecutionByExecutionID(execID, loading)
2651
- .subscribe((/**
2652
- * @param {?} response
2653
- * @return {?}
2654
- */
2655
- (response) => {
1445
+ .subscribe((response) => {
2656
1446
  this.followUpExecReturnOk(execID, execStatus, response, intervalID, fncCallBack);
2657
- }), (/**
2658
- * @param {?} error
2659
- * @return {?}
2660
- */
2661
- (error) => {
1447
+ }, (error) => {
2662
1448
  this.followUpExecReturnError(error, execStatus, intervalID, fncCallBack);
2663
- }));
1449
+ });
2664
1450
  }
2665
- }), intervalNum);
1451
+ }, intervalNum);
2666
1452
  }
2667
- /**
2668
- * @private
2669
- * @param {?} execID
2670
- * @param {?} execStatus
2671
- * @param {?} response
2672
- * @param {?} intervalID
2673
- * @param {?} fncCallBack
2674
- * @return {?}
2675
- */
2676
1453
  followUpExecReturnOk(execID, execStatus, response, intervalID, fncCallBack) {
2677
1454
  if (response) {
2678
1455
  execStatus = response;
@@ -2688,16 +1465,7 @@ class TotvsScheduleExecutionService {
2688
1465
  }
2689
1466
  this.jobExecutionSubscription$ = null;
2690
1467
  }
2691
- /**
2692
- * @private
2693
- * @param {?} error
2694
- * @param {?} execStatus
2695
- * @param {?} intervalID
2696
- * @param {?} fncCallBack
2697
- * @return {?}
2698
- */
2699
1468
  followUpExecReturnError(error, execStatus, intervalID, fncCallBack) {
2700
- /** @type {?} */
2701
1469
  let erroDesc = '';
2702
1470
  if (error instanceof HttpErrorResponse) {
2703
1471
  erroDesc = error.message;
@@ -2723,13 +1491,7 @@ class TotvsScheduleExecutionService {
2723
1491
  clearInterval(intervalID);
2724
1492
  this.jobExecutionSubscription$ = null;
2725
1493
  }
2726
- /**
2727
- * @private
2728
- * @param {?} num
2729
- * @return {?}
2730
- */
2731
1494
  addZero(num) {
2732
- /** @type {?} */
2733
1495
  let str = `${num}`;
2734
1496
  if (num < 10) {
2735
1497
  str = `0${num}`;
@@ -2737,54 +1499,13 @@ class TotvsScheduleExecutionService {
2737
1499
  return str;
2738
1500
  }
2739
1501
  }
2740
- TotvsScheduleExecutionService.decorators = [
2741
- { type: Injectable }
2742
- ];
2743
- /** @nocollapse */
2744
- TotvsScheduleExecutionService.ctorParameters = () => [
2745
- { type: HttpClient }
2746
- ];
2747
- if (false) {
2748
- /**
2749
- * @type {?}
2750
- * @private
2751
- */
2752
- TotvsScheduleExecutionService.prototype.headers;
2753
- /**
2754
- * @type {?}
2755
- * @private
2756
- */
2757
- TotvsScheduleExecutionService.prototype.urlCadServidor;
2758
- /**
2759
- * @type {?}
2760
- * @private
2761
- */
2762
- TotvsScheduleExecutionService.prototype.urlJobScheduler;
2763
- /**
2764
- * @type {?}
2765
- * @private
2766
- */
2767
- TotvsScheduleExecutionService.prototype.urlJobExecution;
2768
- /**
2769
- * @type {?}
2770
- * @private
2771
- */
2772
- TotvsScheduleExecutionService.prototype.jobExecutionSubscription$;
2773
- /** @type {?} */
2774
- TotvsScheduleExecutionService.prototype.http;
2775
- }
1502
+ /** @nocollapse */ TotvsScheduleExecutionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TotvsScheduleExecutionService, deps: [{ token: i1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
1503
+ /** @nocollapse */ TotvsScheduleExecutionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TotvsScheduleExecutionService });
1504
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TotvsScheduleExecutionService, decorators: [{
1505
+ type: Injectable
1506
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }]; } });
2776
1507
 
2777
- /**
2778
- * @fileoverview added by tsickle
2779
- * Generated from: lib/components/totvs-schedule-execution/totvs-schedule-execution.component.ts
2780
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
2781
- */
2782
1508
  class TotvsScheduleExecutionComponent {
2783
- /**
2784
- * @param {?} poI18nService
2785
- * @param {?} rpwService
2786
- * @param {?} poNotification
2787
- */
2788
1509
  constructor(poI18nService, rpwService, poNotification) {
2789
1510
  this.poI18nService = poI18nService;
2790
1511
  this.rpwService = rpwService;
@@ -2797,9 +1518,6 @@ class TotvsScheduleExecutionComponent {
2797
1518
  this.jsonObject = {};
2798
1519
  this.literals = {};
2799
1520
  }
2800
- /**
2801
- * @return {?}
2802
- */
2803
1521
  ngOnInit() {
2804
1522
  /* VERIFICAR COMO FICARÁ A TRADUÇÃO
2805
1523
  forkJoin(
@@ -2811,9 +1529,6 @@ class TotvsScheduleExecutionComponent {
2811
1529
  });*/
2812
1530
  this.setupComponents();
2813
1531
  }
2814
- /**
2815
- * @return {?}
2816
- */
2817
1532
  setupComponents() {
2818
1533
  this.executionTypeOptions = [
2819
1534
  { label: 'Executar Hoje', value: 1 },
@@ -2845,46 +1560,25 @@ class TotvsScheduleExecutionComponent {
2845
1560
  this.model.repeatType = 1;
2846
1561
  this.model.repeatExecution = false;
2847
1562
  }
2848
- /**
2849
- * @param {?} schParam
2850
- * @return {?}
2851
- */
2852
1563
  setScheduleParameters(schParam) {
2853
1564
  if (!schParam) {
2854
1565
  return;
2855
1566
  }
2856
1567
  this.model = schParam;
2857
1568
  }
2858
- /**
2859
- * @param {?} value
2860
- * @return {?}
2861
- */
2862
1569
  fieldRpwServiceFormat(value) {
2863
1570
  return `${value.code} - ${value.name}`;
2864
1571
  }
2865
- /**
2866
- * @return {?}
2867
- */
2868
1572
  isExecutionSchedule() {
2869
1573
  return (this.model.executionType === 2);
2870
1574
  }
2871
- /**
2872
- * @return {?}
2873
- */
2874
1575
  isRepeatExecution() {
2875
1576
  return this.model.repeatExecution;
2876
1577
  }
2877
- /**
2878
- * @return {?}
2879
- */
2880
1578
  isFrenquency() {
2881
1579
  return (this.model.frequency === 'yes');
2882
1580
  }
2883
- /**
2884
- * @return {?}
2885
- */
2886
1581
  changeRepeatExecution() {
2887
- /** @type {?} */
2888
1582
  const date = new Date();
2889
1583
  if (!this.model.execAppointHourInit) {
2890
1584
  this.model.execAppointHourInit = `${this.addZero(date.getHours())}:${this.addZero(date.getMinutes())}`;
@@ -2898,49 +1592,26 @@ class TotvsScheduleExecutionComponent {
2898
1592
  this.model.frequencyType = 'hour';
2899
1593
  this.model.frequencyValue = 0;
2900
1594
  }
2901
- /**
2902
- * @return {?}
2903
- */
2904
1595
  changeExecutionType() {
2905
- /** @type {?} */
2906
1596
  const date = new Date();
2907
1597
  this.model.execAppointDate = date;
2908
1598
  this.model.execAppointHour = `${this.addZero(date.getHours())}:${this.addZero(date.getMinutes())}`;
2909
1599
  }
2910
- /**
2911
- * @return {?}
2912
- */
2913
1600
  changeTypeFrequency() {
2914
1601
  }
2915
- /**
2916
- * @param {?} codTab
2917
- * @return {?}
2918
- */
2919
1602
  getActiveTab(codTab) {
2920
1603
  return (this.model.repeatType === codTab);
2921
1604
  }
2922
- /**
2923
- * @param {?} codTab
2924
- * @return {?}
2925
- */
2926
1605
  setActiveTab(codTab) {
2927
1606
  this.model.repeatType = codTab;
2928
1607
  }
2929
- /**
2930
- * @param {?} num
2931
- * @return {?}
2932
- */
2933
1608
  addZero(num) {
2934
- /** @type {?} */
2935
1609
  let str = `${num}`;
2936
1610
  if (num < 10) {
2937
1611
  str = `0${num}`;
2938
1612
  }
2939
1613
  return str;
2940
1614
  }
2941
- /**
2942
- * @return {?}
2943
- */
2944
1615
  executeSchedule() {
2945
1616
  if (this.disabledParams) {
2946
1617
  return;
@@ -2954,7 +1625,6 @@ class TotvsScheduleExecutionComponent {
2954
1625
  this.jsonObject.recurrent = this.model.repeatExecution;
2955
1626
  this.jsonObject.executionParameter = {};
2956
1627
  if (this.model.executionType === 1) {
2957
- /** @type {?} */
2958
1628
  const date = new Date();
2959
1629
  this.jsonObject.firstExecution = `${date.getFullYear()}-${(date.getMonth() + 1)}-${date.getDate()}T${this.addZero(date.getHours())}:${this.addZero(date.getMinutes())}:00.000Z`;
2960
1630
  }
@@ -2969,12 +1639,9 @@ class TotvsScheduleExecutionComponent {
2969
1639
  this.jsonObject.executionParameter.parametros[4] = {};
2970
1640
  this.jsonObject.executionParameter.parametros[4].parametros_negocio = this.parameters;
2971
1641
  // Executa hoje ou agendada
2972
- this.rpwService.createExecution(this.jsonObject, this.loading).subscribe((/**
2973
- * @return {?}
2974
- */
2975
- () => {
1642
+ this.rpwService.createExecution(this.jsonObject, this.loading).subscribe(() => {
2976
1643
  this.poNotification.success('Agendamento realizado com sucesso !');
2977
- }));
1644
+ });
2978
1645
  if (this.model.repeatExecution) {
2979
1646
  if (this.model.repeatType === 1) {
2980
1647
  this.jsonObject.daily = {
@@ -3009,19 +1676,11 @@ class TotvsScheduleExecutionComponent {
3009
1676
  };
3010
1677
  }
3011
1678
  // Executa a diária, semanal ou mensal
3012
- this.rpwService.createExecution(this.jsonObject, this.loading).subscribe((/**
3013
- * @return {?}
3014
- */
3015
- () => {
3016
- }));
1679
+ this.rpwService.createExecution(this.jsonObject, this.loading).subscribe(() => {
1680
+ });
3017
1681
  }
3018
1682
  this.endExecution.emit(this.model);
3019
1683
  }
3020
- /**
3021
- * @param {?} value
3022
- * @param {?} type
3023
- * @return {?}
3024
- */
3025
1684
  getHourOrMinute(value, type) {
3026
1685
  if (type === 'h') {
3027
1686
  return +value.substring(0, 2);
@@ -3030,11 +1689,6 @@ class TotvsScheduleExecutionComponent {
3030
1689
  return +value.substring(3, 6);
3031
1690
  }
3032
1691
  }
3033
- /**
3034
- * @param {?} hourInit
3035
- * @param {?} hourFinal
3036
- * @return {?}
3037
- */
3038
1692
  compareHour(hourInit, hourFinal) {
3039
1693
  if (hourInit === hourFinal) {
3040
1694
  return false;
@@ -3047,9 +1701,6 @@ class TotvsScheduleExecutionComponent {
3047
1701
  }
3048
1702
  return true;
3049
1703
  }
3050
- /**
3051
- * @return {?}
3052
- */
3053
1704
  validate() {
3054
1705
  if (!this.scheduleExecutionForm.valid) {
3055
1706
  this.poNotification.error('Verifique as inconsistências em tela.');
@@ -3090,111 +1741,51 @@ class TotvsScheduleExecutionComponent {
3090
1741
  return true;
3091
1742
  }
3092
1743
  }
3093
- TotvsScheduleExecutionComponent.decorators = [
3094
- { type: Component, args: [{
3095
- selector: 'app-totvs-schedule-execution',
3096
- 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",
3097
- styles: [""]
3098
- }] }
3099
- ];
3100
- /** @nocollapse */
3101
- TotvsScheduleExecutionComponent.ctorParameters = () => [
3102
- { type: PoI18nService },
3103
- { type: TotvsScheduleExecutionService },
3104
- { type: PoNotificationService }
3105
- ];
3106
- TotvsScheduleExecutionComponent.propDecorators = {
3107
- scheduleExecutionForm: [{ type: ViewChild, args: ['scheduleExecutionForm', { static: true },] }],
3108
- programName: [{ type: Input }],
3109
- externalName: [{ type: Input }],
3110
- programEMS5: [{ type: Input }],
3111
- programVersion: [{ type: Input }],
3112
- parameters: [{ type: Input }],
3113
- disabledParams: [{ type: Input }],
3114
- loading: [{ type: Input }],
3115
- endExecution: [{ type: Output }]
3116
- };
3117
- if (false) {
3118
- /** @type {?} */
3119
- TotvsScheduleExecutionComponent.prototype.scheduleExecutionForm;
3120
- /** @type {?} */
3121
- TotvsScheduleExecutionComponent.prototype.programName;
3122
- /** @type {?} */
3123
- TotvsScheduleExecutionComponent.prototype.externalName;
3124
- /** @type {?} */
3125
- TotvsScheduleExecutionComponent.prototype.programEMS5;
3126
- /** @type {?} */
3127
- TotvsScheduleExecutionComponent.prototype.programVersion;
3128
- /** @type {?} */
3129
- TotvsScheduleExecutionComponent.prototype.parameters;
3130
- /** @type {?} */
3131
- TotvsScheduleExecutionComponent.prototype.disabledParams;
3132
- /** @type {?} */
3133
- TotvsScheduleExecutionComponent.prototype.loading;
3134
- /** @type {?} */
3135
- TotvsScheduleExecutionComponent.prototype.endExecution;
3136
- /** @type {?} */
3137
- TotvsScheduleExecutionComponent.prototype.executionTypeOptions;
3138
- /** @type {?} */
3139
- TotvsScheduleExecutionComponent.prototype.frequencyOptions;
3140
- /** @type {?} */
3141
- TotvsScheduleExecutionComponent.prototype.frequencyTypeOptions;
3142
- /** @type {?} */
3143
- TotvsScheduleExecutionComponent.prototype.weeklyOptions;
3144
- /** @type {?} */
3145
- TotvsScheduleExecutionComponent.prototype.zoomRpwServiceColumns;
3146
- /** @type {?} */
3147
- TotvsScheduleExecutionComponent.prototype.model;
3148
- /**
3149
- * @type {?}
3150
- * @private
3151
- */
3152
- TotvsScheduleExecutionComponent.prototype.jsonObject;
3153
- /** @type {?} */
3154
- TotvsScheduleExecutionComponent.prototype.literals;
3155
- /** @type {?} */
3156
- TotvsScheduleExecutionComponent.prototype.poI18nService;
3157
- /** @type {?} */
3158
- TotvsScheduleExecutionComponent.prototype.rpwService;
3159
- /** @type {?} */
3160
- TotvsScheduleExecutionComponent.prototype.poNotification;
3161
- }
1744
+ /** @nocollapse */ TotvsScheduleExecutionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TotvsScheduleExecutionComponent, deps: [{ token: i1$1.PoI18nService }, { token: TotvsScheduleExecutionService }, { token: i1$1.PoNotificationService }], target: i0.ɵɵFactoryTarget.Component });
1745
+ /** @nocollapse */ TotvsScheduleExecutionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: TotvsScheduleExecutionComponent, selector: "app-totvs-schedule-execution", inputs: { programName: "programName", externalName: "externalName", programEMS5: "programEMS5", programVersion: "programVersion", parameters: "parameters", disabledParams: "disabledParams", loading: "loading" }, outputs: { endExecution: "endExecution" }, viewQueries: [{ propertyName: "scheduleExecutionForm", first: true, predicate: ["scheduleExecutionForm"], descendants: true, static: true }], ngImport: i0, 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", styles: [""], components: [{ type: i1$1.PoRadioGroupComponent, selector: "po-radio-group", inputs: ["p-label", "p-help"] }, { type: i1$1.PoDatepickerComponent, selector: "po-datepicker", inputs: ["p-label", "p-help"] }, { type: i1$1.PoInputComponent, selector: "po-input" }, { type: i1$1.PoLookupComponent, selector: "po-lookup" }, { type: i1$1.PoSwitchComponent, selector: "po-switch", inputs: ["p-label-position", "p-label-off", "p-label-on"] }, { type: i1$1.PoTabsComponent, selector: "po-tabs" }, { type: i1$1.PoTabComponent, selector: "po-tab" }, { type: i1$1.PoNumberComponent, selector: "po-number", inputs: ["p-step", "p-min", "p-max"] }, { type: i1$1.PoSelectComponent, selector: "po-select", inputs: ["p-readonly", "p-placeholder", "p-options"], outputs: ["ngModelChange"] }, { type: i1$1.PoMultiselectComponent, selector: "po-multiselect" }, { type: i1$1.PoButtonComponent, selector: "po-button" }], directives: [{ type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i3.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1746
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: TotvsScheduleExecutionComponent, decorators: [{
1747
+ type: Component,
1748
+ args: [{ selector: 'app-totvs-schedule-execution', 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", styles: [""] }]
1749
+ }], ctorParameters: function () { return [{ type: i1$1.PoI18nService }, { type: TotvsScheduleExecutionService }, { type: i1$1.PoNotificationService }]; }, propDecorators: { scheduleExecutionForm: [{
1750
+ type: ViewChild,
1751
+ args: ['scheduleExecutionForm', { static: true }]
1752
+ }], programName: [{
1753
+ type: Input
1754
+ }], externalName: [{
1755
+ type: Input
1756
+ }], programEMS5: [{
1757
+ type: Input
1758
+ }], programVersion: [{
1759
+ type: Input
1760
+ }], parameters: [{
1761
+ type: Input
1762
+ }], disabledParams: [{
1763
+ type: Input
1764
+ }], loading: [{
1765
+ type: Input
1766
+ }], endExecution: [{
1767
+ type: Output
1768
+ }] } });
3162
1769
 
3163
- /**
3164
- * @fileoverview added by tsickle
3165
- * Generated from: lib/pipes/dts-date-format.pipe.ts
3166
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3167
- */
3168
1770
  class DtsDateFormatPipe {
3169
- /**
3170
- * @param {?} value
3171
- * @param {?=} format
3172
- * @return {?}
3173
- */
3174
1771
  transform(value, format = 'dd/MM/yyyy') {
3175
1772
  const { 0: year, 1: month, 2: day } = value.split('-');
3176
- /** @type {?} */
3177
1773
  const formattedDate = format.replace('dd', day)
3178
1774
  .replace('MM', month)
3179
1775
  .replace('yyyy', year);
3180
1776
  return formattedDate;
3181
1777
  }
3182
1778
  }
3183
- DtsDateFormatPipe.decorators = [
3184
- { type: Pipe, args: [{
3185
- name: 'dtsDateFormat'
3186
- },] }
3187
- ];
1779
+ /** @nocollapse */ DtsDateFormatPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DtsDateFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
1780
+ /** @nocollapse */ DtsDateFormatPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DtsDateFormatPipe, name: "dtsDateFormat" });
1781
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DtsDateFormatPipe, decorators: [{
1782
+ type: Pipe,
1783
+ args: [{
1784
+ name: 'dtsDateFormat'
1785
+ }]
1786
+ }] });
3188
1787
 
3189
- /**
3190
- * @fileoverview added by tsickle
3191
- * Generated from: lib/dts-backoffice-util.module.ts
3192
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3193
- */
3194
1788
  class DtsBackofficeUtilsModule {
3195
- /**
3196
- * @return {?}
3197
- */
3198
1789
  static forRoot() {
3199
1790
  return {
3200
1791
  ngModule: DtsBackofficeUtilsModule,
@@ -3202,39 +1793,52 @@ class DtsBackofficeUtilsModule {
3202
1793
  };
3203
1794
  }
3204
1795
  }
3205
- DtsBackofficeUtilsModule.decorators = [
3206
- { type: NgModule, args: [{
3207
- declarations: [
3208
- TotvsScheduleExecutionComponent,
3209
- DtsDateFormatPipe
3210
- ],
3211
- imports: [
3212
- CommonModule,
3213
- PoModule,
3214
- FormsModule,
3215
- HttpClientModule
3216
- ],
3217
- exports: [
3218
- TotvsScheduleExecutionComponent,
3219
- DtsDateFormatPipe
3220
- ],
3221
- providers: [
3222
- TotvsScheduleExecutionService
3223
- ]
3224
- },] }
3225
- ];
1796
+ /** @nocollapse */ DtsBackofficeUtilsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DtsBackofficeUtilsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1797
+ /** @nocollapse */ DtsBackofficeUtilsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DtsBackofficeUtilsModule, declarations: [TotvsScheduleExecutionComponent,
1798
+ DtsDateFormatPipe], imports: [CommonModule,
1799
+ PoModule,
1800
+ FormsModule,
1801
+ HttpClientModule], exports: [TotvsScheduleExecutionComponent,
1802
+ DtsDateFormatPipe] });
1803
+ /** @nocollapse */ DtsBackofficeUtilsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DtsBackofficeUtilsModule, providers: [
1804
+ TotvsScheduleExecutionService
1805
+ ], imports: [[
1806
+ CommonModule,
1807
+ PoModule,
1808
+ FormsModule,
1809
+ HttpClientModule
1810
+ ]] });
1811
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: DtsBackofficeUtilsModule, decorators: [{
1812
+ type: NgModule,
1813
+ args: [{
1814
+ declarations: [
1815
+ TotvsScheduleExecutionComponent,
1816
+ DtsDateFormatPipe
1817
+ ],
1818
+ imports: [
1819
+ CommonModule,
1820
+ PoModule,
1821
+ FormsModule,
1822
+ HttpClientModule
1823
+ ],
1824
+ exports: [
1825
+ TotvsScheduleExecutionComponent,
1826
+ DtsDateFormatPipe
1827
+ ],
1828
+ providers: [
1829
+ TotvsScheduleExecutionService
1830
+ ]
1831
+ }]
1832
+ }] });
3226
1833
 
3227
- /**
3228
- * @fileoverview added by tsickle
3229
- * Generated from: public-api.ts
3230
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
3231
- */
1834
+ /*
1835
+ * Public API Surface of dts-backoffice-util
1836
+ */
1837
+ // Pipes
3232
1838
 
3233
1839
  /**
3234
- * @fileoverview added by tsickle
3235
- * Generated from: dts-backoffice-util.ts
3236
- * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1840
+ * Generated bundle index. Do not edit.
3237
1841
  */
3238
1842
 
3239
1843
  export { BreadcrumbControlService, CacheParamsService, DateUtil, DisclaimerUtil, DownloadDataParams, DtsBackofficeUtilsModule, DtsDateFormatPipe, ExecutionParameters, ExecutionStatus, FieldValidationUtil, FileUtil, FilterRangeUtil, GenericFunctionsUtils, MenuDatasulService, ProfileService, ReportFormats, ReportService, ScheduleParameters, TotvsScheduleExecutionComponent, TotvsScheduleExecutionService, TranslateService, UserLoginService };
3240
- //# sourceMappingURL=dts-backoffice-util.js.map
1844
+ //# sourceMappingURL=dts-backoffice-util.mjs.map