dts-backoffice-util 4.0.0 → 5.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.
- package/bundles/dts-backoffice-util.umd.js +96 -14
- package/bundles/dts-backoffice-util.umd.js.map +1 -1
- package/esm2015/lib/components/totvs-schedule-execution/totvs-schedule-execution.component.js +10 -2
- package/esm2015/lib/components/totvs-schedule-execution/totvs-schedule-execution.service.js +9 -2
- package/esm2015/lib/dts-backoffice-util.module.js +2 -1
- package/esm2015/lib/pipes/dts-date-format.pipe.js +2 -1
- package/esm2015/lib/services/breadcrumb-control.service.js +9 -2
- package/esm2015/lib/services/cache-params.service.js +9 -2
- package/esm2015/lib/services/menu-datasul.service.js +9 -2
- package/esm2015/lib/services/profile.service.js +9 -2
- package/esm2015/lib/services/report.service.js +9 -2
- package/esm2015/lib/services/session-info.service.js +9 -2
- package/esm2015/lib/services/translate.service.js +2 -1
- package/fesm2015/dts-backoffice-util.js +74 -12
- package/fesm2015/dts-backoffice-util.js.map +1 -1
- package/package.json +4 -4
- package/bundles/dts-backoffice-util.umd.min.js +0 -2
- package/bundles/dts-backoffice-util.umd.min.js.map +0 -1
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Injectable, EventEmitter, Component, ViewChild, Input, Output, Pipe, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common/http';
|
|
2
4
|
import { HttpClient, HttpErrorResponse, HttpClientModule } from '@angular/common/http';
|
|
3
5
|
import { of } from 'rxjs';
|
|
4
6
|
import { map } from 'rxjs/operators';
|
|
@@ -28,13 +30,20 @@ class UserLoginService {
|
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
}
|
|
31
|
-
/** @nocollapse */ UserLoginService.ɵprov =
|
|
33
|
+
/** @nocollapse */ UserLoginService.ɵprov = i0.ɵɵdefineInjectable({ factory: function UserLoginService_Factory() { return new UserLoginService(i0.ɵɵinject(i1.HttpClient)); }, token: UserLoginService, providedIn: "root" });
|
|
34
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
32
35
|
UserLoginService.decorators = [
|
|
33
36
|
{ type: Injectable, args: [{
|
|
34
37
|
providedIn: 'root'
|
|
35
38
|
},] }
|
|
36
39
|
];
|
|
37
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* @type {function(): !Array<(null|{
|
|
42
|
+
* type: ?,
|
|
43
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
44
|
+
* })>}
|
|
45
|
+
* @nocollapse
|
|
46
|
+
*/
|
|
38
47
|
UserLoginService.ctorParameters = () => [
|
|
39
48
|
{ type: HttpClient }
|
|
40
49
|
];
|
|
@@ -81,13 +90,20 @@ class ProfileService {
|
|
|
81
90
|
}));
|
|
82
91
|
}
|
|
83
92
|
}
|
|
84
|
-
/** @nocollapse */ ProfileService.ɵprov =
|
|
93
|
+
/** @nocollapse */ ProfileService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ProfileService_Factory() { return new ProfileService(i0.ɵɵinject(i1.HttpClient)); }, token: ProfileService, providedIn: "root" });
|
|
94
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
85
95
|
ProfileService.decorators = [
|
|
86
96
|
{ type: Injectable, args: [{
|
|
87
97
|
providedIn: 'root'
|
|
88
98
|
},] }
|
|
89
99
|
];
|
|
90
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* @type {function(): !Array<(null|{
|
|
102
|
+
* type: ?,
|
|
103
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
104
|
+
* })>}
|
|
105
|
+
* @nocollapse
|
|
106
|
+
*/
|
|
91
107
|
ProfileService.ctorParameters = () => [
|
|
92
108
|
{ type: HttpClient }
|
|
93
109
|
];
|
|
@@ -139,10 +155,17 @@ class ReportService {
|
|
|
139
155
|
downloadLink.remove();
|
|
140
156
|
}
|
|
141
157
|
}
|
|
158
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
142
159
|
ReportService.decorators = [
|
|
143
160
|
{ type: Injectable }
|
|
144
161
|
];
|
|
145
|
-
/**
|
|
162
|
+
/**
|
|
163
|
+
* @type {function(): !Array<(null|{
|
|
164
|
+
* type: ?,
|
|
165
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
166
|
+
* })>}
|
|
167
|
+
* @nocollapse
|
|
168
|
+
*/
|
|
146
169
|
ReportService.ctorParameters = () => [
|
|
147
170
|
{ type: HttpClient }
|
|
148
171
|
];
|
|
@@ -221,10 +244,17 @@ class BreadcrumbControlService {
|
|
|
221
244
|
return this.breadcrumb.items.length > 1;
|
|
222
245
|
}
|
|
223
246
|
}
|
|
247
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
224
248
|
BreadcrumbControlService.decorators = [
|
|
225
249
|
{ type: Injectable }
|
|
226
250
|
];
|
|
227
|
-
/**
|
|
251
|
+
/**
|
|
252
|
+
* @type {function(): !Array<(null|{
|
|
253
|
+
* type: ?,
|
|
254
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
255
|
+
* })>}
|
|
256
|
+
* @nocollapse
|
|
257
|
+
*/
|
|
228
258
|
BreadcrumbControlService.ctorParameters = () => [];
|
|
229
259
|
|
|
230
260
|
class MenuDatasulService {
|
|
@@ -260,10 +290,17 @@ class MenuDatasulService {
|
|
|
260
290
|
}
|
|
261
291
|
}
|
|
262
292
|
}
|
|
293
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
263
294
|
MenuDatasulService.decorators = [
|
|
264
295
|
{ type: Injectable }
|
|
265
296
|
];
|
|
266
|
-
/**
|
|
297
|
+
/**
|
|
298
|
+
* @type {function(): !Array<(null|{
|
|
299
|
+
* type: ?,
|
|
300
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
301
|
+
* })>}
|
|
302
|
+
* @nocollapse
|
|
303
|
+
*/
|
|
267
304
|
MenuDatasulService.ctorParameters = () => [];
|
|
268
305
|
|
|
269
306
|
class CacheParamsService {
|
|
@@ -280,13 +317,20 @@ class CacheParamsService {
|
|
|
280
317
|
delete this.values[key];
|
|
281
318
|
}
|
|
282
319
|
}
|
|
283
|
-
/** @nocollapse */ CacheParamsService.ɵprov =
|
|
320
|
+
/** @nocollapse */ CacheParamsService.ɵprov = i0.ɵɵdefineInjectable({ factory: function CacheParamsService_Factory() { return new CacheParamsService(); }, token: CacheParamsService, providedIn: "root" });
|
|
321
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
284
322
|
CacheParamsService.decorators = [
|
|
285
323
|
{ type: Injectable, args: [{
|
|
286
324
|
providedIn: 'root'
|
|
287
325
|
},] }
|
|
288
326
|
];
|
|
289
|
-
/**
|
|
327
|
+
/**
|
|
328
|
+
* @type {function(): !Array<(null|{
|
|
329
|
+
* type: ?,
|
|
330
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
331
|
+
* })>}
|
|
332
|
+
* @nocollapse
|
|
333
|
+
*/
|
|
290
334
|
CacheParamsService.ctorParameters = () => [];
|
|
291
335
|
|
|
292
336
|
class TranslateService {
|
|
@@ -304,6 +348,7 @@ class TranslateService {
|
|
|
304
348
|
return 'en-US';
|
|
305
349
|
}
|
|
306
350
|
}
|
|
351
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
307
352
|
TranslateService.decorators = [
|
|
308
353
|
{ type: Injectable }
|
|
309
354
|
];
|
|
@@ -1504,10 +1549,17 @@ class TotvsScheduleExecutionService {
|
|
|
1504
1549
|
return str;
|
|
1505
1550
|
}
|
|
1506
1551
|
}
|
|
1552
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
1507
1553
|
TotvsScheduleExecutionService.decorators = [
|
|
1508
1554
|
{ type: Injectable }
|
|
1509
1555
|
];
|
|
1510
|
-
/**
|
|
1556
|
+
/**
|
|
1557
|
+
* @type {function(): !Array<(null|{
|
|
1558
|
+
* type: ?,
|
|
1559
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
1560
|
+
* })>}
|
|
1561
|
+
* @nocollapse
|
|
1562
|
+
*/
|
|
1511
1563
|
TotvsScheduleExecutionService.ctorParameters = () => [
|
|
1512
1564
|
{ type: HttpClient }
|
|
1513
1565
|
];
|
|
@@ -1748,6 +1800,7 @@ class TotvsScheduleExecutionComponent {
|
|
|
1748
1800
|
return true;
|
|
1749
1801
|
}
|
|
1750
1802
|
}
|
|
1803
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
1751
1804
|
TotvsScheduleExecutionComponent.decorators = [
|
|
1752
1805
|
{ type: Component, args: [{
|
|
1753
1806
|
selector: 'app-totvs-schedule-execution',
|
|
@@ -1755,12 +1808,19 @@ TotvsScheduleExecutionComponent.decorators = [
|
|
|
1755
1808
|
styles: [""]
|
|
1756
1809
|
},] }
|
|
1757
1810
|
];
|
|
1758
|
-
/**
|
|
1811
|
+
/**
|
|
1812
|
+
* @type {function(): !Array<(null|{
|
|
1813
|
+
* type: ?,
|
|
1814
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
1815
|
+
* })>}
|
|
1816
|
+
* @nocollapse
|
|
1817
|
+
*/
|
|
1759
1818
|
TotvsScheduleExecutionComponent.ctorParameters = () => [
|
|
1760
1819
|
{ type: PoI18nService },
|
|
1761
1820
|
{ type: TotvsScheduleExecutionService },
|
|
1762
1821
|
{ type: PoNotificationService }
|
|
1763
1822
|
];
|
|
1823
|
+
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
1764
1824
|
TotvsScheduleExecutionComponent.propDecorators = {
|
|
1765
1825
|
scheduleExecutionForm: [{ type: ViewChild, args: ['scheduleExecutionForm', { static: true },] }],
|
|
1766
1826
|
programName: [{ type: Input }],
|
|
@@ -1782,6 +1842,7 @@ class DtsDateFormatPipe {
|
|
|
1782
1842
|
return formattedDate;
|
|
1783
1843
|
}
|
|
1784
1844
|
}
|
|
1845
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
1785
1846
|
DtsDateFormatPipe.decorators = [
|
|
1786
1847
|
{ type: Pipe, args: [{
|
|
1787
1848
|
name: 'dtsDateFormat'
|
|
@@ -1796,6 +1857,7 @@ class DtsBackofficeUtilsModule {
|
|
|
1796
1857
|
};
|
|
1797
1858
|
}
|
|
1798
1859
|
}
|
|
1860
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
1799
1861
|
DtsBackofficeUtilsModule.decorators = [
|
|
1800
1862
|
{ type: NgModule, args: [{
|
|
1801
1863
|
declarations: [
|