dts-backoffice-util 4.0.1 → 5.0.1
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/README.md +1 -1
- 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
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Documentação dos Componentes e Utils
|
|
2
2
|
|
|
3
|
-
ÚLTIMA VERSÃO: **
|
|
3
|
+
ÚLTIMA VERSÃO: **5.0.1 (13-06-2022)** **([**VER CHANGE LOG**](https://github.com/ModernizaDatasul/dts-backoffice-util/blob/master/projects/dts-backoffice-util/CHANGELOG.md))**
|
|
4
4
|
|
|
5
5
|
<br>
|
|
6
6
|
|
|
@@ -1,8 +1,29 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common/http'), require('rxjs'), require('rxjs/operators'), require('@po-ui/ng-components'), require('@angular/forms'), require('@angular/common')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('dts-backoffice-util', ['exports', '@angular/core', '@angular/common/http', 'rxjs', 'rxjs/operators', '@po-ui/ng-components', '@angular/forms', '@angular/common'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global[
|
|
5
|
-
}(this, (function (exports, i0, i1, rxjs, operators, ngComponents, forms, common) { 'use strict';
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["dts-backoffice-util"] = {}, global.ng.core, global.ng.common.http, global.rxjs, global.rxjs.operators, global.ngComponents, global.ng.forms, global.ng.common));
|
|
5
|
+
})(this, (function (exports, i0, i1, rxjs, operators, ngComponents, forms, common) { 'use strict';
|
|
6
|
+
|
|
7
|
+
function _interopNamespace(e) {
|
|
8
|
+
if (e && e.__esModule) return e;
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return e[k]; }
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
n["default"] = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
6
27
|
|
|
7
28
|
var UserLoginService = /** @class */ (function () {
|
|
8
29
|
function UserLoginService(http) {
|
|
@@ -28,13 +49,20 @@
|
|
|
28
49
|
};
|
|
29
50
|
return UserLoginService;
|
|
30
51
|
}());
|
|
31
|
-
/** @nocollapse */ UserLoginService.ɵprov =
|
|
52
|
+
/** @nocollapse */ UserLoginService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function UserLoginService_Factory() { return new UserLoginService(i0__namespace.ɵɵinject(i1__namespace.HttpClient)); }, token: UserLoginService, providedIn: "root" });
|
|
53
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
32
54
|
UserLoginService.decorators = [
|
|
33
55
|
{ type: i0.Injectable, args: [{
|
|
34
56
|
providedIn: 'root'
|
|
35
57
|
},] }
|
|
36
58
|
];
|
|
37
|
-
/**
|
|
59
|
+
/**
|
|
60
|
+
* @type {function(): !Array<(null|{
|
|
61
|
+
* type: ?,
|
|
62
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
63
|
+
* })>}
|
|
64
|
+
* @nocollapse
|
|
65
|
+
*/
|
|
38
66
|
UserLoginService.ctorParameters = function () { return [
|
|
39
67
|
{ type: i1.HttpClient }
|
|
40
68
|
]; };
|
|
@@ -82,17 +110,25 @@
|
|
|
82
110
|
};
|
|
83
111
|
return ProfileService;
|
|
84
112
|
}());
|
|
85
|
-
/** @nocollapse */ ProfileService.ɵprov =
|
|
113
|
+
/** @nocollapse */ ProfileService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function ProfileService_Factory() { return new ProfileService(i0__namespace.ɵɵinject(i1__namespace.HttpClient)); }, token: ProfileService, providedIn: "root" });
|
|
114
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
86
115
|
ProfileService.decorators = [
|
|
87
116
|
{ type: i0.Injectable, args: [{
|
|
88
117
|
providedIn: 'root'
|
|
89
118
|
},] }
|
|
90
119
|
];
|
|
91
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* @type {function(): !Array<(null|{
|
|
122
|
+
* type: ?,
|
|
123
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
124
|
+
* })>}
|
|
125
|
+
* @nocollapse
|
|
126
|
+
*/
|
|
92
127
|
ProfileService.ctorParameters = function () { return [
|
|
93
128
|
{ type: i1.HttpClient }
|
|
94
129
|
]; };
|
|
95
130
|
|
|
131
|
+
exports.ReportFormats = void 0;
|
|
96
132
|
(function (ReportFormats) {
|
|
97
133
|
ReportFormats["XLSX"] = "xlsx";
|
|
98
134
|
ReportFormats["PDF"] = "pdf";
|
|
@@ -142,10 +178,17 @@
|
|
|
142
178
|
};
|
|
143
179
|
return ReportService;
|
|
144
180
|
}());
|
|
181
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
145
182
|
ReportService.decorators = [
|
|
146
183
|
{ type: i0.Injectable }
|
|
147
184
|
];
|
|
148
|
-
/**
|
|
185
|
+
/**
|
|
186
|
+
* @type {function(): !Array<(null|{
|
|
187
|
+
* type: ?,
|
|
188
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
189
|
+
* })>}
|
|
190
|
+
* @nocollapse
|
|
191
|
+
*/
|
|
149
192
|
ReportService.ctorParameters = function () { return [
|
|
150
193
|
{ type: i1.HttpClient }
|
|
151
194
|
]; };
|
|
@@ -226,10 +269,17 @@
|
|
|
226
269
|
};
|
|
227
270
|
return BreadcrumbControlService;
|
|
228
271
|
}());
|
|
272
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
229
273
|
BreadcrumbControlService.decorators = [
|
|
230
274
|
{ type: i0.Injectable }
|
|
231
275
|
];
|
|
232
|
-
/**
|
|
276
|
+
/**
|
|
277
|
+
* @type {function(): !Array<(null|{
|
|
278
|
+
* type: ?,
|
|
279
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
280
|
+
* })>}
|
|
281
|
+
* @nocollapse
|
|
282
|
+
*/
|
|
233
283
|
BreadcrumbControlService.ctorParameters = function () { return []; };
|
|
234
284
|
|
|
235
285
|
var MenuDatasulService = /** @class */ (function () {
|
|
@@ -268,10 +318,17 @@
|
|
|
268
318
|
};
|
|
269
319
|
return MenuDatasulService;
|
|
270
320
|
}());
|
|
321
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
271
322
|
MenuDatasulService.decorators = [
|
|
272
323
|
{ type: i0.Injectable }
|
|
273
324
|
];
|
|
274
|
-
/**
|
|
325
|
+
/**
|
|
326
|
+
* @type {function(): !Array<(null|{
|
|
327
|
+
* type: ?,
|
|
328
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
329
|
+
* })>}
|
|
330
|
+
* @nocollapse
|
|
331
|
+
*/
|
|
275
332
|
MenuDatasulService.ctorParameters = function () { return []; };
|
|
276
333
|
|
|
277
334
|
var CacheParamsService = /** @class */ (function () {
|
|
@@ -289,13 +346,20 @@
|
|
|
289
346
|
};
|
|
290
347
|
return CacheParamsService;
|
|
291
348
|
}());
|
|
292
|
-
/** @nocollapse */ CacheParamsService.ɵprov =
|
|
349
|
+
/** @nocollapse */ CacheParamsService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CacheParamsService_Factory() { return new CacheParamsService(); }, token: CacheParamsService, providedIn: "root" });
|
|
350
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
293
351
|
CacheParamsService.decorators = [
|
|
294
352
|
{ type: i0.Injectable, args: [{
|
|
295
353
|
providedIn: 'root'
|
|
296
354
|
},] }
|
|
297
355
|
];
|
|
298
|
-
/**
|
|
356
|
+
/**
|
|
357
|
+
* @type {function(): !Array<(null|{
|
|
358
|
+
* type: ?,
|
|
359
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
360
|
+
* })>}
|
|
361
|
+
* @nocollapse
|
|
362
|
+
*/
|
|
299
363
|
CacheParamsService.ctorParameters = function () { return []; };
|
|
300
364
|
|
|
301
365
|
var TranslateService = /** @class */ (function () {
|
|
@@ -316,6 +380,7 @@
|
|
|
316
380
|
};
|
|
317
381
|
return TranslateService;
|
|
318
382
|
}());
|
|
383
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
319
384
|
TranslateService.decorators = [
|
|
320
385
|
{ type: i0.Injectable }
|
|
321
386
|
];
|
|
@@ -1575,10 +1640,17 @@
|
|
|
1575
1640
|
};
|
|
1576
1641
|
return TotvsScheduleExecutionService;
|
|
1577
1642
|
}());
|
|
1643
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
1578
1644
|
TotvsScheduleExecutionService.decorators = [
|
|
1579
1645
|
{ type: i0.Injectable }
|
|
1580
1646
|
];
|
|
1581
|
-
/**
|
|
1647
|
+
/**
|
|
1648
|
+
* @type {function(): !Array<(null|{
|
|
1649
|
+
* type: ?,
|
|
1650
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
1651
|
+
* })>}
|
|
1652
|
+
* @nocollapse
|
|
1653
|
+
*/
|
|
1582
1654
|
TotvsScheduleExecutionService.ctorParameters = function () { return [
|
|
1583
1655
|
{ type: i1.HttpClient }
|
|
1584
1656
|
]; };
|
|
@@ -1821,6 +1893,7 @@
|
|
|
1821
1893
|
};
|
|
1822
1894
|
return TotvsScheduleExecutionComponent;
|
|
1823
1895
|
}());
|
|
1896
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
1824
1897
|
TotvsScheduleExecutionComponent.decorators = [
|
|
1825
1898
|
{ type: i0.Component, args: [{
|
|
1826
1899
|
selector: 'app-totvs-schedule-execution',
|
|
@@ -1828,12 +1901,19 @@
|
|
|
1828
1901
|
styles: [""]
|
|
1829
1902
|
},] }
|
|
1830
1903
|
];
|
|
1831
|
-
/**
|
|
1904
|
+
/**
|
|
1905
|
+
* @type {function(): !Array<(null|{
|
|
1906
|
+
* type: ?,
|
|
1907
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
1908
|
+
* })>}
|
|
1909
|
+
* @nocollapse
|
|
1910
|
+
*/
|
|
1832
1911
|
TotvsScheduleExecutionComponent.ctorParameters = function () { return [
|
|
1833
1912
|
{ type: ngComponents.PoI18nService },
|
|
1834
1913
|
{ type: TotvsScheduleExecutionService },
|
|
1835
1914
|
{ type: ngComponents.PoNotificationService }
|
|
1836
1915
|
]; };
|
|
1916
|
+
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
1837
1917
|
TotvsScheduleExecutionComponent.propDecorators = {
|
|
1838
1918
|
scheduleExecutionForm: [{ type: i0.ViewChild, args: ['scheduleExecutionForm', { static: true },] }],
|
|
1839
1919
|
programName: [{ type: i0.Input }],
|
|
@@ -1859,6 +1939,7 @@
|
|
|
1859
1939
|
};
|
|
1860
1940
|
return DtsDateFormatPipe;
|
|
1861
1941
|
}());
|
|
1942
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
1862
1943
|
DtsDateFormatPipe.decorators = [
|
|
1863
1944
|
{ type: i0.Pipe, args: [{
|
|
1864
1945
|
name: 'dtsDateFormat'
|
|
@@ -1876,6 +1957,7 @@
|
|
|
1876
1957
|
};
|
|
1877
1958
|
return DtsBackofficeUtilsModule;
|
|
1878
1959
|
}());
|
|
1960
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
1879
1961
|
DtsBackofficeUtilsModule.decorators = [
|
|
1880
1962
|
{ type: i0.NgModule, args: [{
|
|
1881
1963
|
declarations: [
|
|
@@ -1931,5 +2013,5 @@
|
|
|
1931
2013
|
|
|
1932
2014
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1933
2015
|
|
|
1934
|
-
}))
|
|
2016
|
+
}));
|
|
1935
2017
|
//# sourceMappingURL=dts-backoffice-util.umd.js.map
|