@smartsoft001/angular 1.1.689 → 1.1.693
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/smartsoft001-angular.umd.js +144 -108
- package/bundles/smartsoft001-angular.umd.js.map +1 -1
- package/esm2015/lib/components/app/base/base.component.js +6 -2
- package/esm2015/lib/components/app/split-panel/split-panel.component.js +5 -3
- package/esm2015/lib/components/input/array/array.component.js +5 -2
- package/esm2015/lib/factories/form/form.factory.js +2 -3
- package/esm2015/lib/services/app/app.service.js +41 -3
- package/esm2015/smartsoft001-angular.js +4 -4
- package/fesm2015/smartsoft001-angular.js +90 -48
- package/fesm2015/smartsoft001-angular.js.map +1 -1
- package/lib/components/app/base/base.component.d.ts +3 -1
- package/lib/components/app/split-panel/split-panel.component.d.ts +2 -1
- package/lib/factories/form/form.factory.d.ts +2 -2
- package/lib/services/app/app.service.d.ts +9 -0
- package/package.json +6 -5
- package/smartsoft001-angular.d.ts +3 -3
- package/smartsoft001-angular.metadata.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('reflect-metadata'), require('@angular/core'), require('@angular/forms'), require('lodash'), require('rxjs/operators'), require('@smartsoft001/models'), require('@smartsoft001/utils'), require('jwt-decode'), require('ngx-cookie'), require('@ionic/angular'), require('@angular/common'), require('@ionic/storage'), require('@ngx-translate/core'), require('@angular/common/http'), require('@ionic-native/fingerprint-aio/ngx'), require('@capacitor/core'), require('moment'), require('lodash-decorators'), require('rxjs'), require('@angular/router'), require('ng2-charts'), require('@angular/material/table'), require('@angular/material/sort'), require('ngx-color-picker'), require('@angular/cdk/drag-drop'), require('ngx-editor'), require('ng-lazyload-image'), require('@angular/material/stepper'), require('@angular/material/button'), require('@angular/material/datepicker'), require('@angular/material/core'), require('@angular/material-moment-adapter'), require('@ngrx/effects'), require('@ngrx/store'), require('@ngrx/router-store'), require('@ionic/core'), require('guid-typescript')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@smartsoft001/angular', ['exports', 'reflect-metadata', '@angular/core', '@angular/forms', 'lodash', 'rxjs/operators', '@smartsoft001/models', '@smartsoft001/utils', 'jwt-decode', 'ngx-cookie', '@ionic/angular', '@angular/common', '@ionic/storage', '@ngx-translate/core', '@angular/common/http', '@ionic-native/fingerprint-aio/ngx', '@capacitor/core', 'moment', 'lodash-decorators', 'rxjs', '@angular/router', 'ng2-charts', '@angular/material/table', '@angular/material/sort', 'ngx-color-picker', '@angular/cdk/drag-drop', 'ngx-editor', 'ng-lazyload-image', '@angular/material/stepper', '@angular/material/button', '@angular/material/datepicker', '@angular/material/core', '@angular/material-moment-adapter', '@ngrx/effects', '@ngrx/store', '@ngrx/router-store', '@ionic/core', 'guid-typescript'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.smartsoft001 = global.smartsoft001 || {}, global.smartsoft001.angular = {}), null, global.ng.core, global.ng.forms, global._, global.rxjs.operators, global.models, global.utils, global.decode, global.ngxCookie, global.i1, global.ng.common, global.storage, global.
|
|
5
|
-
})(this, (function (exports, reflectMetadata, i0, forms, _, operators, models, utils, decode, ngxCookie, i1, common, storage,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('reflect-metadata'), require('@angular/core'), require('@angular/forms'), require('lodash'), require('rxjs/operators'), require('@smartsoft001/models'), require('@smartsoft001/utils'), require('jwt-decode'), require('ngx-cookie'), require('@ionic/angular'), require('@angular/common'), require('@ionic/storage'), require('@ngx-translate/core'), require('@angular/common/http'), require('@ionic-native/fingerprint-aio/ngx'), require('@capacitor/core'), require('moment'), require('lodash-decorators'), require('rxjs'), require('@angular/router'), require('ng2-charts'), require('@angular/material/table'), require('@angular/material/sort'), require('ngx-color-picker'), require('@angular/cdk/drag-drop'), require('ngx-editor'), require('ng-lazyload-image'), require('@angular/material/stepper'), require('@angular/material/button'), require('@angular/material/datepicker'), require('@angular/material/core'), require('@angular/material-moment-adapter'), require('@angular/platform-browser'), require('@ngrx/effects'), require('@ngrx/store'), require('@ngrx/router-store'), require('@ionic/core'), require('guid-typescript')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@smartsoft001/angular', ['exports', 'reflect-metadata', '@angular/core', '@angular/forms', 'lodash', 'rxjs/operators', '@smartsoft001/models', '@smartsoft001/utils', 'jwt-decode', 'ngx-cookie', '@ionic/angular', '@angular/common', '@ionic/storage', '@ngx-translate/core', '@angular/common/http', '@ionic-native/fingerprint-aio/ngx', '@capacitor/core', 'moment', 'lodash-decorators', 'rxjs', '@angular/router', 'ng2-charts', '@angular/material/table', '@angular/material/sort', 'ngx-color-picker', '@angular/cdk/drag-drop', 'ngx-editor', 'ng-lazyload-image', '@angular/material/stepper', '@angular/material/button', '@angular/material/datepicker', '@angular/material/core', '@angular/material-moment-adapter', '@angular/platform-browser', '@ngrx/effects', '@ngrx/store', '@ngrx/router-store', '@ionic/core', 'guid-typescript'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.smartsoft001 = global.smartsoft001 || {}, global.smartsoft001.angular = {}), null, global.ng.core, global.ng.forms, global._, global.rxjs.operators, global.models, global.utils, global.decode, global.ngxCookie, global.i1, global.ng.common, global.storage, global.i2, global.ng.common.http, global.ngx, global.core, global.moment$1, global.lodashDecorators, global.rxjs, global.ng.router, global.ng2Charts, global.ng.material.table, global.ng.material.sort, global.ngxColorPicker, global.ng.cdk.dragDrop, global.ngxEditor, global.ngLazyloadImage, global.ng.material.stepper, global.ng.material.button, global.ng.material.datepicker, global.ng.material.core, global.ng.materialMomentAdapter, global.ng.platformBrowser, global.effects, global.store, global.routerStore, global.core$2, global.guidTypescript));
|
|
5
|
+
})(this, (function (exports, reflectMetadata, i0, forms, _, operators, models, utils, decode, ngxCookie, i1, common, storage, i2, http, ngx, core, moment$1, lodashDecorators, rxjs, i3, ng2Charts, table, sort, ngxColorPicker, dragDrop, ngxEditor, ngLazyloadImage, stepper, button, datepicker, core$1, materialMomentAdapter, i1$1, effects, store, routerStore, core$2, guidTypescript) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -28,7 +28,10 @@
|
|
|
28
28
|
var ___namespace = /*#__PURE__*/_interopNamespace(_);
|
|
29
29
|
var decode__default = /*#__PURE__*/_interopDefaultLegacy(decode);
|
|
30
30
|
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
31
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
31
32
|
var moment__namespace = /*#__PURE__*/_interopNamespace(moment$1);
|
|
33
|
+
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
34
|
+
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
|
|
32
35
|
|
|
33
36
|
/*! *****************************************************************************
|
|
34
37
|
Copyright (c) Microsoft Corporation.
|
|
@@ -256,16 +259,10 @@
|
|
|
256
259
|
r[k] = a[j];
|
|
257
260
|
return r;
|
|
258
261
|
}
|
|
259
|
-
function __spreadArray(to, from
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
if (!ar)
|
|
264
|
-
ar = Array.prototype.slice.call(from, 0, i);
|
|
265
|
-
ar[i] = from[i];
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
262
|
+
function __spreadArray(to, from) {
|
|
263
|
+
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
|
|
264
|
+
to[j] = from[i];
|
|
265
|
+
return to;
|
|
269
266
|
}
|
|
270
267
|
function __await(v) {
|
|
271
268
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
@@ -746,9 +743,8 @@
|
|
|
746
743
|
(rootCheck ? rootCheck : result).valueChanges.pipe(operators.tap(function () {
|
|
747
744
|
enabledDefinitions.forEach(function (def) {
|
|
748
745
|
var enabled = utils.SpecificationService.valid(result.value, def.enabled, {
|
|
749
|
-
$root: rootCheck.value
|
|
746
|
+
$root: rootCheck === null || rootCheck === void 0 ? void 0 : rootCheck.value
|
|
750
747
|
});
|
|
751
|
-
console.log(rootCheck.value, result.value);
|
|
752
748
|
def.control['__smartDisabled'] = !enabled;
|
|
753
749
|
});
|
|
754
750
|
}), operators.delay(0)).subscribe(function () {
|
|
@@ -1307,7 +1303,7 @@
|
|
|
1307
1303
|
*/
|
|
1308
1304
|
ErrorService.ctorParameters = function () { return [
|
|
1309
1305
|
{ type: ToastService },
|
|
1310
|
-
{ type:
|
|
1306
|
+
{ type: i2.TranslateService }
|
|
1311
1307
|
]; };
|
|
1312
1308
|
|
|
1313
1309
|
var HardwareService = /** @class */ (function () {
|
|
@@ -1329,7 +1325,7 @@
|
|
|
1329
1325
|
configurable: true
|
|
1330
1326
|
});
|
|
1331
1327
|
HardwareService.prototype.onBackButtonClick = function (callback) {
|
|
1332
|
-
return core
|
|
1328
|
+
return core.App.addListener('backButton', function () {
|
|
1333
1329
|
callback();
|
|
1334
1330
|
});
|
|
1335
1331
|
};
|
|
@@ -1691,11 +1687,11 @@
|
|
|
1691
1687
|
FingerprintService.ctorParameters = function () { return [
|
|
1692
1688
|
{ type: i1.Platform },
|
|
1693
1689
|
{ type: ngx.FingerprintAIO },
|
|
1694
|
-
{ type:
|
|
1690
|
+
{ type: i2.TranslateService },
|
|
1695
1691
|
{ type: StorageService }
|
|
1696
1692
|
]; };
|
|
1697
1693
|
|
|
1698
|
-
var Camera = core
|
|
1694
|
+
var Camera = core.Plugins.Camera;
|
|
1699
1695
|
var CameraService = /** @class */ (function () {
|
|
1700
1696
|
function CameraService() {
|
|
1701
1697
|
}
|
|
@@ -1707,7 +1703,7 @@
|
|
|
1707
1703
|
switch (_a.label) {
|
|
1708
1704
|
case 0: return [4 /*yield*/, Camera.getPhoto({
|
|
1709
1705
|
quality: options.quality ? options.quality : 100,
|
|
1710
|
-
resultType: core
|
|
1706
|
+
resultType: core.CameraResultType.Base64
|
|
1711
1707
|
})];
|
|
1712
1708
|
case 1:
|
|
1713
1709
|
image = _a.sent();
|
|
@@ -2034,7 +2030,7 @@
|
|
|
2034
2030
|
{ type: i0.NgModule, args: [{
|
|
2035
2031
|
imports: [
|
|
2036
2032
|
i1.IonicModule,
|
|
2037
|
-
|
|
2033
|
+
i2.TranslateModule.forChild(),
|
|
2038
2034
|
ngxCookie.CookieModule.forRoot(),
|
|
2039
2035
|
],
|
|
2040
2036
|
providers: [
|
|
@@ -2134,7 +2130,7 @@
|
|
|
2134
2130
|
* @nocollapse
|
|
2135
2131
|
*/
|
|
2136
2132
|
ListCellPipe.ctorParameters = function () { return [
|
|
2137
|
-
{ type:
|
|
2133
|
+
{ type: i2.TranslateService }
|
|
2138
2134
|
]; };
|
|
2139
2135
|
__decorate([
|
|
2140
2136
|
lodashDecorators.Memoize(),
|
|
@@ -2212,7 +2208,7 @@
|
|
|
2212
2208
|
* @nocollapse
|
|
2213
2209
|
*/
|
|
2214
2210
|
ListHeaderPipe.ctorParameters = function () { return [
|
|
2215
|
-
{ type:
|
|
2211
|
+
{ type: i2.TranslateService },
|
|
2216
2212
|
{ type: IModelLabelProvider, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MODEL_LABEL_PROVIDER,] }] }
|
|
2217
2213
|
]; };
|
|
2218
2214
|
|
|
@@ -2249,7 +2245,7 @@
|
|
|
2249
2245
|
* @nocollapse
|
|
2250
2246
|
*/
|
|
2251
2247
|
ModelLabelPipe.ctorParameters = function () { return [
|
|
2252
|
-
{ type:
|
|
2248
|
+
{ type: i2.TranslateService },
|
|
2253
2249
|
{ type: IModelLabelProvider, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MODEL_LABEL_PROVIDER,] }] }
|
|
2254
2250
|
]; };
|
|
2255
2251
|
|
|
@@ -2570,14 +2566,86 @@
|
|
|
2570
2566
|
{ type: i0.ComponentFactoryResolver }
|
|
2571
2567
|
]; };
|
|
2572
2568
|
|
|
2569
|
+
var AppService = /** @class */ (function () {
|
|
2570
|
+
function AppService(titleService, translate, router) {
|
|
2571
|
+
this.titleService = titleService;
|
|
2572
|
+
this.translate = translate;
|
|
2573
|
+
this.router = router;
|
|
2574
|
+
this.endButtons$ = AppService._endButtonsSource$.asObservable();
|
|
2575
|
+
}
|
|
2576
|
+
AppService.prototype.addEndButton = function (button) {
|
|
2577
|
+
if (button.id) {
|
|
2578
|
+
var exist_1 = AppService._endButtonsSource$.value.find(function (e) { return e.id === button.id; });
|
|
2579
|
+
if (exist_1) {
|
|
2580
|
+
Object.keys(button).filter(function (k) { return k !== 'id'; }).forEach(function (key) {
|
|
2581
|
+
exist_1[key] = button[key];
|
|
2582
|
+
});
|
|
2583
|
+
AppService._endButtonsSource$.next(__spreadArray([], __read(AppService._endButtonsSource$.value)));
|
|
2584
|
+
return;
|
|
2585
|
+
}
|
|
2586
|
+
}
|
|
2587
|
+
AppService._endButtonsSource$.next(utils.ArrayService.addItem(AppService._endButtonsSource$.value, button));
|
|
2588
|
+
};
|
|
2589
|
+
AppService.prototype.removeEndButton = function (buttonOrId) {
|
|
2590
|
+
if (typeof buttonOrId === 'object') {
|
|
2591
|
+
var button = buttonOrId.id ?
|
|
2592
|
+
AppService._endButtonsSource$.value.find(function (e) { return e.id === buttonOrId.id; })
|
|
2593
|
+
: buttonOrId;
|
|
2594
|
+
AppService._endButtonsSource$.next(utils.ArrayService.removeItem(AppService._endButtonsSource$.value, button));
|
|
2595
|
+
return;
|
|
2596
|
+
}
|
|
2597
|
+
AppService._endButtonsSource$.next(__spreadArray([], __read(AppService._endButtonsSource$.value.filter(function (e) { return e.id !== buttonOrId; }))));
|
|
2598
|
+
};
|
|
2599
|
+
AppService.prototype.initTitle = function () {
|
|
2600
|
+
var _this = this;
|
|
2601
|
+
this._baseTitle = this.titleService.getTitle();
|
|
2602
|
+
this.router.events.subscribe(function (event) {
|
|
2603
|
+
if (event instanceof i3.NavigationEnd) {
|
|
2604
|
+
var data = event;
|
|
2605
|
+
_this.titleService.setTitle(_this._baseTitle + ' | '
|
|
2606
|
+
+ data.urlAfterRedirects.split('/')
|
|
2607
|
+
.filter(function (x) { return x && x.trim(); })
|
|
2608
|
+
.map(function (x) {
|
|
2609
|
+
var key = 'ROUTES.' + x;
|
|
2610
|
+
var translate = _this.translate.instant(key);
|
|
2611
|
+
return key === translate ? x : translate;
|
|
2612
|
+
})
|
|
2613
|
+
.join(' | '));
|
|
2614
|
+
}
|
|
2615
|
+
});
|
|
2616
|
+
};
|
|
2617
|
+
return AppService;
|
|
2618
|
+
}());
|
|
2619
|
+
AppService._endButtonsSource$ = new rxjs.BehaviorSubject([]);
|
|
2620
|
+
/** @nocollapse */ AppService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function AppService_Factory() { return new AppService(i0__namespace.ɵɵinject(i1__namespace$1.Title), i0__namespace.ɵɵinject(i2__namespace.TranslateService), i0__namespace.ɵɵinject(i3__namespace.Router)); }, token: AppService, providedIn: "root" });
|
|
2621
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
2622
|
+
AppService.decorators = [
|
|
2623
|
+
{ type: i0.Injectable, args: [{
|
|
2624
|
+
providedIn: 'root'
|
|
2625
|
+
},] }
|
|
2626
|
+
];
|
|
2627
|
+
/**
|
|
2628
|
+
* @type {function(): !Array<(null|{
|
|
2629
|
+
* type: ?,
|
|
2630
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
2631
|
+
* })>}
|
|
2632
|
+
* @nocollapse
|
|
2633
|
+
*/
|
|
2634
|
+
AppService.ctorParameters = function () { return [
|
|
2635
|
+
{ type: i1$1.Title },
|
|
2636
|
+
{ type: i2.TranslateService },
|
|
2637
|
+
{ type: i3.Router }
|
|
2638
|
+
]; };
|
|
2639
|
+
|
|
2573
2640
|
var AppBaseComponent = /** @class */ (function () {
|
|
2574
|
-
function AppBaseComponent(router, cd, elementRef, styleService, menuService, authService, platformId, document) {
|
|
2641
|
+
function AppBaseComponent(router, cd, elementRef, styleService, menuService, authService, appService, platformId, document) {
|
|
2575
2642
|
this.router = router;
|
|
2576
2643
|
this.cd = cd;
|
|
2577
2644
|
this.elementRef = elementRef;
|
|
2578
2645
|
this.styleService = styleService;
|
|
2579
2646
|
this.menuService = menuService;
|
|
2580
2647
|
this.authService = authService;
|
|
2648
|
+
this.appService = appService;
|
|
2581
2649
|
this.platformId = platformId;
|
|
2582
2650
|
this.document = document;
|
|
2583
2651
|
this._subscriptions = new rxjs.Subscription();
|
|
@@ -2585,6 +2653,7 @@
|
|
|
2585
2653
|
this.initSelectedPath();
|
|
2586
2654
|
if (common.isPlatformBrowser(this.platformId)) {
|
|
2587
2655
|
this.styleService.init(elementRef);
|
|
2656
|
+
this.appService.initTitle();
|
|
2588
2657
|
}
|
|
2589
2658
|
}
|
|
2590
2659
|
Object.defineProperty(AppBaseComponent.prototype, "options", {
|
|
@@ -2641,7 +2710,7 @@
|
|
|
2641
2710
|
AppBaseComponent.prototype.initSelectedPath = function () {
|
|
2642
2711
|
var _this = this;
|
|
2643
2712
|
this._subscriptions.add(this.router.events
|
|
2644
|
-
.pipe(operators.filter(function (event) { return event && event instanceof
|
|
2713
|
+
.pipe(operators.filter(function (event) { return event && event instanceof i3.NavigationEnd; }))
|
|
2645
2714
|
.subscribe(function (event) {
|
|
2646
2715
|
if (event.urlAfterRedirects)
|
|
2647
2716
|
_this.selectedPath = event.urlAfterRedirects;
|
|
@@ -2657,13 +2726,13 @@
|
|
|
2657
2726
|
.pipe()
|
|
2658
2727
|
.subscribe(function (routerEvent) { return __awaiter(_this, void 0, void 0, function () {
|
|
2659
2728
|
return __generator(this, function (_a) {
|
|
2660
|
-
if (routerEvent instanceof
|
|
2729
|
+
if (routerEvent instanceof i3.NavigationStart) {
|
|
2661
2730
|
this.loadingPage = true;
|
|
2662
2731
|
this.cd.detectChanges();
|
|
2663
2732
|
}
|
|
2664
|
-
else if (routerEvent instanceof
|
|
2665
|
-
routerEvent instanceof
|
|
2666
|
-
routerEvent instanceof
|
|
2733
|
+
else if (routerEvent instanceof i3.NavigationEnd ||
|
|
2734
|
+
routerEvent instanceof i3.NavigationCancel ||
|
|
2735
|
+
routerEvent instanceof i3.NavigationError) {
|
|
2667
2736
|
this.loadingPage = false;
|
|
2668
2737
|
this.cd.detectChanges();
|
|
2669
2738
|
}
|
|
@@ -2708,12 +2777,13 @@
|
|
|
2708
2777
|
* @nocollapse
|
|
2709
2778
|
*/
|
|
2710
2779
|
AppBaseComponent.ctorParameters = function () { return [
|
|
2711
|
-
{ type:
|
|
2780
|
+
{ type: i3.Router },
|
|
2712
2781
|
{ type: i0.ChangeDetectorRef },
|
|
2713
2782
|
{ type: i0.ElementRef },
|
|
2714
2783
|
{ type: StyleService },
|
|
2715
2784
|
{ type: MenuService },
|
|
2716
2785
|
{ type: AuthService },
|
|
2786
|
+
{ type: AppService },
|
|
2717
2787
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [i0.PLATFORM_ID,] }] },
|
|
2718
2788
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [common.DOCUMENT,] }] }
|
|
2719
2789
|
]; };
|
|
@@ -2725,8 +2795,8 @@
|
|
|
2725
2795
|
|
|
2726
2796
|
var AppSplitPanelComponent = /** @class */ (function (_super_1) {
|
|
2727
2797
|
__extends(AppSplitPanelComponent, _super_1);
|
|
2728
|
-
function AppSplitPanelComponent(router, cd, elementRef, styleService, menuService, authService, platform, document) {
|
|
2729
|
-
var _this = _super_1.call(this, router, cd, elementRef, styleService, menuService, authService, platform, document) || this;
|
|
2798
|
+
function AppSplitPanelComponent(router, cd, elementRef, styleService, menuService, authService, appService, platform, document) {
|
|
2799
|
+
var _this = _super_1.call(this, router, cd, elementRef, styleService, menuService, authService, appService, platform, document) || this;
|
|
2730
2800
|
_this.platform = platform;
|
|
2731
2801
|
return _this;
|
|
2732
2802
|
}
|
|
@@ -2767,12 +2837,13 @@
|
|
|
2767
2837
|
* @nocollapse
|
|
2768
2838
|
*/
|
|
2769
2839
|
AppSplitPanelComponent.ctorParameters = function () { return [
|
|
2770
|
-
{ type:
|
|
2840
|
+
{ type: i3.Router },
|
|
2771
2841
|
{ type: i0.ChangeDetectorRef },
|
|
2772
2842
|
{ type: i0.ElementRef },
|
|
2773
2843
|
{ type: StyleService },
|
|
2774
2844
|
{ type: MenuService },
|
|
2775
2845
|
{ type: AuthService },
|
|
2846
|
+
{ type: AppService },
|
|
2776
2847
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [i0.PLATFORM_ID,] }] },
|
|
2777
2848
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [common.DOCUMENT,] }] }
|
|
2778
2849
|
]; };
|
|
@@ -3972,44 +4043,6 @@
|
|
|
3972
4043
|
{ type: i0.Injectable }
|
|
3973
4044
|
];
|
|
3974
4045
|
|
|
3975
|
-
var AppService = /** @class */ (function () {
|
|
3976
|
-
function AppService() {
|
|
3977
|
-
this.endButtons$ = AppService._endButtonsSource$.asObservable();
|
|
3978
|
-
}
|
|
3979
|
-
AppService.prototype.addEndButton = function (button) {
|
|
3980
|
-
if (button.id) {
|
|
3981
|
-
var exist_1 = AppService._endButtonsSource$.value.find(function (e) { return e.id === button.id; });
|
|
3982
|
-
if (exist_1) {
|
|
3983
|
-
Object.keys(button).filter(function (k) { return k !== 'id'; }).forEach(function (key) {
|
|
3984
|
-
exist_1[key] = button[key];
|
|
3985
|
-
});
|
|
3986
|
-
AppService._endButtonsSource$.next(__spreadArray([], __read(AppService._endButtonsSource$.value)));
|
|
3987
|
-
return;
|
|
3988
|
-
}
|
|
3989
|
-
}
|
|
3990
|
-
AppService._endButtonsSource$.next(utils.ArrayService.addItem(AppService._endButtonsSource$.value, button));
|
|
3991
|
-
};
|
|
3992
|
-
AppService.prototype.removeEndButton = function (buttonOrId) {
|
|
3993
|
-
if (typeof buttonOrId === 'object') {
|
|
3994
|
-
var button = buttonOrId.id ?
|
|
3995
|
-
AppService._endButtonsSource$.value.find(function (e) { return e.id === buttonOrId.id; })
|
|
3996
|
-
: buttonOrId;
|
|
3997
|
-
AppService._endButtonsSource$.next(utils.ArrayService.removeItem(AppService._endButtonsSource$.value, button));
|
|
3998
|
-
return;
|
|
3999
|
-
}
|
|
4000
|
-
AppService._endButtonsSource$.next(__spreadArray([], __read(AppService._endButtonsSource$.value.filter(function (e) { return e.id !== buttonOrId; }))));
|
|
4001
|
-
};
|
|
4002
|
-
return AppService;
|
|
4003
|
-
}());
|
|
4004
|
-
AppService._endButtonsSource$ = new rxjs.BehaviorSubject([]);
|
|
4005
|
-
/** @nocollapse */ AppService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function AppService_Factory() { return new AppService(); }, token: AppService, providedIn: "root" });
|
|
4006
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
4007
|
-
AppService.decorators = [
|
|
4008
|
-
{ type: i0.Injectable, args: [{
|
|
4009
|
-
providedIn: 'root'
|
|
4010
|
-
},] }
|
|
4011
|
-
];
|
|
4012
|
-
|
|
4013
4046
|
var InputComponent = /** @class */ (function () {
|
|
4014
4047
|
function InputComponent(componentFactoryResolver, injector) {
|
|
4015
4048
|
this.componentFactoryResolver = componentFactoryResolver;
|
|
@@ -4260,11 +4293,11 @@
|
|
|
4260
4293
|
// application's root module. We provide it at the component level here, due to limitations of
|
|
4261
4294
|
// our example generation script.
|
|
4262
4295
|
{
|
|
4263
|
-
provide: core$
|
|
4296
|
+
provide: core$1.DateAdapter,
|
|
4264
4297
|
useClass: materialMomentAdapter.MomentDateAdapter,
|
|
4265
|
-
deps: [core$
|
|
4298
|
+
deps: [core$1.MAT_DATE_LOCALE, materialMomentAdapter.MAT_MOMENT_DATE_ADAPTER_OPTIONS]
|
|
4266
4299
|
},
|
|
4267
|
-
{ provide: core$
|
|
4300
|
+
{ provide: core$1.MAT_DATE_FORMATS, useValue: MY_FORMATS },
|
|
4268
4301
|
],
|
|
4269
4302
|
styles: [":root{--smart-color-primary: #0f4c81;--smart-color-primary-rgb: 15, 76, 129;--smart-color-primary-contrast: #ffffff;--smart-color-primary-contrast-rgb: 255, 255, 255;--smart-color-primary-shade: #0d4372;--smart-color-primary-tint: #275e8e;--smart-color-secondary: #1568b0;--smart-color-secondary-rgb: 21, 104, 176;--smart-color-secondary-contrast: #ffffff;--smart-color-secondary-contrast-rgb: 255, 255, 255;--smart-color-secondary-shade: #125c9b;--smart-color-secondary-tint: #2c77b8;--smart-color-tertiary: #0c2949;--smart-color-tertiary-rgb: 12, 41, 73;--smart-color-tertiary-contrast: #ffffff;--smart-color-tertiary-contrast-rgb: 255, 255, 255;--smart-color-tertiary-shade: #0b2440;--smart-color-tertiary-tint: #243e5b;--smart-color-success: #2dd36f;--smart-color-success-rgb: 45, 211, 111;--smart-color-success-contrast: #ffffff;--smart-color-success-contrast-rgb: 255, 255, 255;--smart-color-success-shade: #28ba62;--smart-color-success-tint: #42d77d;--smart-color-warning: #ffc409;--smart-color-warning-rgb: 255, 196, 9;--smart-color-warning-contrast: #000000;--smart-color-warning-contrast-rgb: 0, 0, 0;--smart-color-warning-shade: #e0ac08;--smart-color-warning-tint: #ffca22;--smart-color-danger: #eb445a;--smart-color-danger-rgb: 235, 68, 90;--smart-color-danger-contrast: #ffffff;--smart-color-danger-contrast-rgb: 255, 255, 255;--smart-color-danger-shade: #cf3c4f;--smart-color-danger-tint: #ed576b;--smart-color-dark: #222428;--smart-color-dark-rgb: 34, 36, 40;--smart-color-dark-contrast: #ffffff;--smart-color-dark-contrast-rgb: 255, 255, 255;--smart-color-dark-shade: #1e2023;--smart-color-dark-tint: #383a3e;--smart-color-medium: #92949c;--smart-color-medium-rgb: 146, 148, 156;--smart-color-medium-contrast: #ffffff;--smart-color-medium-contrast-rgb: 255, 255, 255;--smart-color-medium-shade: #808289;--smart-color-medium-tint: #9d9fa6;--smart-color-light: #f4f5f8;--smart-color-light-rgb: 244, 245, 248;--smart-color-light-contrast: #000000;--smart-color-light-contrast-rgb: 0, 0, 0;--smart-color-light-shade: #d7d8da;--smart-color-light-tint: #f5f6f9}:root{--smart-button-height: 3.6rem;--smart-button-min-width: 3.6rem;--smart-button-padding-right: 1.6rem;--smart-button-padding-left: 1.6rem;--smart-button-padding-top: .9rem;--smart-button-padding-bottom: .9rem;--smart-button-icon-size: 1.8rem}@font-face{font-family:\"SF Display\";font-weight:900;src:url(https://sf.abarba.me/SF-UI-Display-Black.otf)}@font-face{font-family:\"SF Display\";font-weight:700;src:url(https://sf.abarba.me/SF-UI-Display-Bold.otf)}@font-face{font-family:\"SF Display\";font-weight:800;src:url(https://sf.abarba.me/SF-UI-Display-Heavy.otf)}@font-face{font-family:\"SF Display\";font-weight:200;src:url(https://sf.abarba.me/SF-UI-Display-Light.otf)}@font-face{font-family:\"SF Display\";font-weight:500;src:url(https://sf.abarba.me/SF-UI-Display-Medium.otf)}@font-face{font-family:\"SF Display\";font-weight:400;src:url(https://sf.abarba.me/SF-UI-Display-Regular.otf)}@font-face{font-family:\"SF Display\";font-weight:600;src:url(https://sf.abarba.me/SF-UI-Display-Semibold.otf)}@font-face{font-family:\"SF Display\";font-weight:300;src:url(https://sf.abarba.me/SF-UI-Display-Thin.otf)}@font-face{font-family:\"SF Display\";font-weight:100;src:url(https://sf.abarba.me/SF-UI-Display-Ultralight.otf)}@font-face{font-family:\"SF Text\";font-weight:700;src:url(https://sf.abarba.me/SF-UI-Text-Bold.otf)}@font-face{font-family:\"SF Text\";font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-BoldItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:800;src:url(https://sf.abarba.me/SF-UI-Text-Heavy.otf)}@font-face{font-family:\"SF Text\";font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-HeavyItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:200;src:url(https://sf.abarba.me/SF-UI-Text-Light.otf)}@font-face{font-family:\"SF Text\";font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-LightItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:500;src:url(https://sf.abarba.me/SF-UI-Text-Medium.otf)}@font-face{font-family:\"SF Text\";font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-MediumItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:400;src:url(https://sf.abarba.me/SF-UI-Text-Regular.otf)}@font-face{font-family:\"SF Text\";font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-RegularItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:600;src:url(https://sf.abarba.me/SF-UI-Text-Semibold.otf)}@font-face{font-family:\"SF Text\";font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-SemiboldItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:100;src:url(https://sf.abarba.me/SF-UI-Text-Ultrathin.otf)}@font-face{font-family:\"SF Text\";font-weight:100;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-UltrathinItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:700;src:url(https://sf.abarba.me/SFMono-Bold.otf)}@font-face{font-family:\"SF Mono\";font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SFMono-BoldItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:800;src:url(https://sf.abarba.me/SFMono-Heavy.otf)}@font-face{font-family:\"SF Mono\";font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SFMono-HeavyItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:200;src:url(https://sf.abarba.me/SFMono-Light.otf)}@font-face{font-family:\"SF Mono\";font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SFMono-LightItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:500;src:url(https://sf.abarba.me/SFMono-Medium.otf)}@font-face{font-family:\"SF Mono\";font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SFMono-MediumItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:400;src:url(https://sf.abarba.me/SFMono-Regular.otf)}@font-face{font-family:\"SF Mono\";font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SFMono-RegularItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:600;src:url(https://sf.abarba.me/SFMono-Semibold.otf)}@font-face{font-family:\"SF Mono\";font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SFMono-SemiboldItalic.otf)}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=biUEjW7P-lfzIZFXrcy-wQ) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=7KXg6nyyqN8gyMoNwQ7aOQ) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=daIfzbEw-lbjMyv4rMUUTj8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=iE8HhaRzdhPxC93dOdA05z8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=jB4HYzUnEmLtjz-UHQe60fesZW2xOQ-xsNqO47m55DA) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=vxNK-E6B13CyehuDCmvQvw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=1_sFLBJZ_MiiGcnkjN_Mgg) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=MMDEOSa6i6T9gBocjYCJkQ) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=owYYXKukxFDFjr0ZO8NXhz8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=b9PWBSMHrT2zM5FgUdtu0T8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=d-QWLnp4didxos_6urzFtg) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=grlryt2bdKIyfMSOhzd1eA) format(\"woff\")}:root{--default-smart-font: \"Roboto\";--default-smart-font-size: 2.4rem;--default-smart-font-weight: 200;--default-smart-font-style: italic;--default-md-smart-font: \"Roboto\";--default-md-smart-font-size: 2.4rem;--default-md-smart-font-weight: bold;--default-md-smart-font-style: normal;--default-ios-smart-font: \"SF Text\";--default-ios-smart-font-size: 2.4rem;--default-ios-smart-font-weight: thin;--default-ios-smart-font-style: italic;--default-font-size: 14px;--small-font-size: 12px}:root{--smart-phone-breakpoint: 420px;--smart-tablet-breakpoint: 860px}.smart-bg-container{background:url(../assets/smart-bg.png) no-repeat center center}:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint);--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style);font-size:14px;font-size:var(--default-font-size);--ion-statusbar-padding: 0;--ion-safe-area-top: 0;--ion-safe-area-right: 0;--ion-safe-area-bottom: 0;--ion-safe-area-left: 0;--phone-breakpoint: var(--smart-phone-breakpoint);--tablet-breakpoint: var(--smart-tablet-breakpoint)}@media (prefers-color-scheme: dark){:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint)}.ios body{--ion-background-color: #ffffff;--ion-background-color-rgb: 255, 255, 255;--ion-text-color: #000000;--ion-text-color-rgb: 0, 0, 0;--ion-color-step-50: #f2f2f2;--ion-color-step-100: #e6e6e6;--ion-color-step-150: #d9d9d9;--ion-color-step-200: #cccccc;--ion-color-step-250: #bfbfbf;--ion-color-step-300: #b3b3b3;--ion-color-step-350: #a6a6a6;--ion-color-step-400: #999999;--ion-color-step-450: #8c8c8c;--ion-color-step-500: #808080;--ion-color-step-550: #737373;--ion-color-step-600: #666666;--ion-color-step-650: #595959;--ion-color-step-700: #4d4d4d;--ion-color-step-750: #404040;--ion-color-step-800: #333333;--ion-color-step-850: #262626;--ion-color-step-900: #191919;--ion-color-step-950: #0d0d0d;--ion-toolbar-background: inherit;--ion-item-background: #FFF;--ion-card-background: #FFF}.md body{--ion-background-color: #ffffff;--ion-background-color-rgb: 255, 255, 255;--ion-text-color: #000000;--ion-text-color-rgb: 0, 0, 0;--ion-color-step-50: #f2f2f2;--ion-color-step-100: #e6e6e6;--ion-color-step-150: #d9d9d9;--ion-color-step-200: #cccccc;--ion-color-step-250: #bfbfbf;--ion-color-step-300: #b3b3b3;--ion-color-step-350: #a6a6a6;--ion-color-step-400: #999999;--ion-color-step-450: #8c8c8c;--ion-color-step-500: #808080;--ion-color-step-550: #737373;--ion-color-step-600: #666666;--ion-color-step-650: #595959;--ion-color-step-700: #4d4d4d;--ion-color-step-750: #404040;--ion-color-step-800: #333333;--ion-color-step-850: #262626;--ion-color-step-900: #191919;--ion-color-step-950: #0d0d0d;--ion-toolbar-background: inherit;--ion-item-background: #FFF;--ion-card-background: #FFF}}:root[mode=md]{--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style)}:root[mode=ios]{--ion-font-family: var(--default-ios-smart-font);--default-font-weight: var(--default-ios-smart-font-weight);--default-font-style: var(--$default-ios-smart-font-style)}*{box-sizing:border-box}html{font-family:\"Roboto\";font-family:var(--ion-font-family);font-weight:bold;font-weight:var(--default-font-weight);font-style:normal;font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:14px;font-size:var(--default-font-size)}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#1568b0;background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:#0f4c81;background-color:var(--smart-color-primary);border:.1rem solid #0f4c81;border:.1rem solid var(--smart-color-primary);color:#f4f5f8;color:var(--smart-color-light);height:3.6rem;padding:0 .9rem;vertical-align:middle}.mat-stepper-previous{height:3.6rem;border:.1rem solid #dedede;color:#777;margin-right:.6rem;padding:0 .9rem;vertical-align:middle}ion-alert .alert-checkbox-group .alert-tappable{height:7rem!important;border:.1rem solid #efefef}ion-alert .alert-checkbox-group .alert-tappable .alert-checkbox-label{padding:.6rem 2.4rem .6rem 5.2rem!important;font-size:1.5rem!important}ion-alert .alert-checkbox-group .alert-checkbox-label{white-space:normal!important;word-wrap:break-word!important}tr.mat-row:nth-child(even){background-color:#fdfdfd}tr.mat-row:hover{background-color:#0f4c810d!important;background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.mat-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.mat-cell:last-child{border-right:0}td.mat-cell:first-child{padding-left:1.2rem!important}th{background-color:#f4f5f8;background-color:var(--smart-color-light);padding-left:.6rem!important}th.mat-header-cell{color:#1568b0!important;color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .mat-sort-header-button{color:#1568b0;color:var(--smart-color-secondary)}.label-floating{--color: var(--smart-color-medium)}.label-floating.ios{--color: var(--smart-color-medium);margin-top:.6rem!important}ion-row{padding:0}ion-row ion-col{padding-left:0;vertical-align:middle}.squere-button{height:3.6rem!important;height:var(--smart-button-height)!important}.desktop-row{width:calc(100% - 40px)}\n"]
|
|
4270
4303
|
},] }
|
|
@@ -4279,8 +4312,8 @@
|
|
|
4279
4312
|
InputDateComponent.ctorParameters = function () { return [
|
|
4280
4313
|
{ type: i0.ChangeDetectorRef },
|
|
4281
4314
|
{ type: HardwareService },
|
|
4282
|
-
{ type: core$
|
|
4283
|
-
{ type:
|
|
4315
|
+
{ type: core$1.DateAdapter },
|
|
4316
|
+
{ type: i2.TranslateService }
|
|
4284
4317
|
]; };
|
|
4285
4318
|
|
|
4286
4319
|
var moment = moment__namespace;
|
|
@@ -5044,10 +5077,10 @@
|
|
|
5044
5077
|
*/
|
|
5045
5078
|
ListBaseComponent.ctorParameters = function () { return [
|
|
5046
5079
|
{ type: AuthService },
|
|
5047
|
-
{ type:
|
|
5080
|
+
{ type: i3.Router },
|
|
5048
5081
|
{ type: AlertService },
|
|
5049
5082
|
{ type: i0.ChangeDetectorRef },
|
|
5050
|
-
{ type:
|
|
5083
|
+
{ type: i2.TranslateService }
|
|
5051
5084
|
]; };
|
|
5052
5085
|
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
5053
5086
|
ListBaseComponent.propDecorators = {
|
|
@@ -5147,10 +5180,10 @@
|
|
|
5147
5180
|
*/
|
|
5148
5181
|
ListDesktopComponent.ctorParameters = function () { return [
|
|
5149
5182
|
{ type: AuthService },
|
|
5150
|
-
{ type:
|
|
5183
|
+
{ type: i3.Router },
|
|
5151
5184
|
{ type: AlertService },
|
|
5152
5185
|
{ type: i0.ChangeDetectorRef },
|
|
5153
|
-
{ type:
|
|
5186
|
+
{ type: i2.TranslateService }
|
|
5154
5187
|
]; };
|
|
5155
5188
|
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
5156
5189
|
ListDesktopComponent.propDecorators = {
|
|
@@ -5199,10 +5232,10 @@
|
|
|
5199
5232
|
*/
|
|
5200
5233
|
ListMobileComponent.ctorParameters = function () { return [
|
|
5201
5234
|
{ type: AuthService },
|
|
5202
|
-
{ type:
|
|
5235
|
+
{ type: i3.Router },
|
|
5203
5236
|
{ type: AlertService },
|
|
5204
5237
|
{ type: i0.ChangeDetectorRef },
|
|
5205
|
-
{ type:
|
|
5238
|
+
{ type: i2.TranslateService }
|
|
5206
5239
|
]; };
|
|
5207
5240
|
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
5208
5241
|
ListMobileComponent.propDecorators = {
|
|
@@ -5798,7 +5831,7 @@
|
|
|
5798
5831
|
*/
|
|
5799
5832
|
InputLongTextComponent.ctorParameters = function () { return [
|
|
5800
5833
|
{ type: i0.ChangeDetectorRef },
|
|
5801
|
-
{ type:
|
|
5834
|
+
{ type: i2.TranslateService },
|
|
5802
5835
|
{ type: HardwareService }
|
|
5803
5836
|
]; };
|
|
5804
5837
|
|
|
@@ -6615,7 +6648,10 @@
|
|
|
6615
6648
|
case 0:
|
|
6616
6649
|
options = this.getOptions();
|
|
6617
6650
|
modelOptions = models.getModelOptions(options.classType);
|
|
6618
|
-
return [4 /*yield*/, this.factory.create(new this.fieldOptions.classType(), {
|
|
6651
|
+
return [4 /*yield*/, this.factory.create(new this.fieldOptions.classType(), {
|
|
6652
|
+
mode: this.internalOptions.mode,
|
|
6653
|
+
root: this.internalOptions.control.root
|
|
6654
|
+
})];
|
|
6619
6655
|
case 1:
|
|
6620
6656
|
control = _a.sent();
|
|
6621
6657
|
this.internalOptions.control.push(control);
|
|
@@ -6828,7 +6864,7 @@
|
|
|
6828
6864
|
{ type: i0.Renderer2 },
|
|
6829
6865
|
{ type: FileService },
|
|
6830
6866
|
{ type: ToastService },
|
|
6831
|
-
{ type:
|
|
6867
|
+
{ type: i2.TranslateService }
|
|
6832
6868
|
]; };
|
|
6833
6869
|
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
6834
6870
|
InputFileBaseComponent.propDecorators = {
|
|
@@ -6863,7 +6899,7 @@
|
|
|
6863
6899
|
{ type: i0.Renderer2 },
|
|
6864
6900
|
{ type: FileService },
|
|
6865
6901
|
{ type: ToastService },
|
|
6866
|
-
{ type:
|
|
6902
|
+
{ type: i2.TranslateService }
|
|
6867
6903
|
]; };
|
|
6868
6904
|
|
|
6869
6905
|
var DetailPdfComponent = /** @class */ (function (_super) {
|
|
@@ -6952,7 +6988,7 @@
|
|
|
6952
6988
|
{ type: i0.Renderer2 },
|
|
6953
6989
|
{ type: FileService },
|
|
6954
6990
|
{ type: ToastService },
|
|
6955
|
-
{ type:
|
|
6991
|
+
{ type: i2.TranslateService }
|
|
6956
6992
|
]; };
|
|
6957
6993
|
|
|
6958
6994
|
var DetailVideoComponent = /** @class */ (function (_super) {
|
|
@@ -7015,7 +7051,7 @@
|
|
|
7015
7051
|
{ type: i0.Renderer2 },
|
|
7016
7052
|
{ type: FileService },
|
|
7017
7053
|
{ type: ToastService },
|
|
7018
|
-
{ type:
|
|
7054
|
+
{ type: i2.TranslateService }
|
|
7019
7055
|
]; };
|
|
7020
7056
|
|
|
7021
7057
|
var DetailAttachmentComponent = /** @class */ (function (_super) {
|
|
@@ -7542,7 +7578,7 @@
|
|
|
7542
7578
|
{ type: i0.Renderer2 },
|
|
7543
7579
|
{ type: FileService },
|
|
7544
7580
|
{ type: ToastService },
|
|
7545
|
-
{ type:
|
|
7581
|
+
{ type: i2.TranslateService }
|
|
7546
7582
|
]; };
|
|
7547
7583
|
|
|
7548
7584
|
var DetailImageComponent = /** @class */ (function (_super) {
|
|
@@ -7669,10 +7705,10 @@
|
|
|
7669
7705
|
*/
|
|
7670
7706
|
ListMasonryGridComponent.ctorParameters = function () { return [
|
|
7671
7707
|
{ type: AuthService },
|
|
7672
|
-
{ type:
|
|
7708
|
+
{ type: i3.Router },
|
|
7673
7709
|
{ type: AlertService },
|
|
7674
7710
|
{ type: i0.ChangeDetectorRef },
|
|
7675
|
-
{ type:
|
|
7711
|
+
{ type: i2.TranslateService }
|
|
7676
7712
|
]; };
|
|
7677
7713
|
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
7678
7714
|
ListMasonryGridComponent.propDecorators = {
|
|
@@ -8163,8 +8199,8 @@
|
|
|
8163
8199
|
i1.IonicModule,
|
|
8164
8200
|
forms.ReactiveFormsModule,
|
|
8165
8201
|
forms.FormsModule,
|
|
8166
|
-
|
|
8167
|
-
|
|
8202
|
+
i2.TranslateModule,
|
|
8203
|
+
i3.RouterModule,
|
|
8168
8204
|
SharedPipesModule,
|
|
8169
8205
|
SharedDirectivesModule,
|
|
8170
8206
|
http.HttpClientModule,
|
|
@@ -8178,7 +8214,7 @@
|
|
|
8178
8214
|
stepper.MatStepperModule,
|
|
8179
8215
|
button.MatButtonModule,
|
|
8180
8216
|
datepicker.MatDatepickerModule,
|
|
8181
|
-
core$
|
|
8217
|
+
core$1.MatNativeDateModule,
|
|
8182
8218
|
materialMomentAdapter.MomentDateModule
|
|
8183
8219
|
];
|
|
8184
8220
|
var SharedComponentsModule = /** @class */ (function () {
|
|
@@ -8230,10 +8266,10 @@
|
|
|
8230
8266
|
SharedModule.decorators = [
|
|
8231
8267
|
{ type: i0.NgModule, args: [{
|
|
8232
8268
|
imports: [
|
|
8233
|
-
|
|
8269
|
+
i2.TranslateModule
|
|
8234
8270
|
],
|
|
8235
8271
|
exports: [
|
|
8236
|
-
|
|
8272
|
+
i2.TranslateModule,
|
|
8237
8273
|
http.HttpClientModule,
|
|
8238
8274
|
forms.ReactiveFormsModule,
|
|
8239
8275
|
i1.IonicModule,
|
|
@@ -8255,7 +8291,7 @@
|
|
|
8255
8291
|
* @nocollapse
|
|
8256
8292
|
*/
|
|
8257
8293
|
SharedModule.ctorParameters = function () { return [
|
|
8258
|
-
{ type:
|
|
8294
|
+
{ type: i2.TranslateService },
|
|
8259
8295
|
{ type: StorageService }
|
|
8260
8296
|
]; };
|
|
8261
8297
|
|
|
@@ -8333,10 +8369,10 @@
|
|
|
8333
8369
|
];
|
|
8334
8370
|
|
|
8335
8371
|
function modalFromBottomEnterAnimation(AnimationC, baseEl) {
|
|
8336
|
-
var baseAnimation = core$
|
|
8337
|
-
var backdropAnimation = core$
|
|
8372
|
+
var baseAnimation = core$2.createAnimation();
|
|
8373
|
+
var backdropAnimation = core$2.createAnimation();
|
|
8338
8374
|
backdropAnimation.addElement(baseEl.querySelector("ion-backdrop"));
|
|
8339
|
-
var wrapperAnimation = core$
|
|
8375
|
+
var wrapperAnimation = core$2.createAnimation();
|
|
8340
8376
|
wrapperAnimation.addElement(baseEl.querySelector(".modal-wrapper"));
|
|
8341
8377
|
wrapperAnimation
|
|
8342
8378
|
.beforeStyles({ opacity: 1 })
|
|
@@ -8351,10 +8387,10 @@
|
|
|
8351
8387
|
.addAnimation(wrapperAnimation));
|
|
8352
8388
|
}
|
|
8353
8389
|
function modalFromBottomLeaveAnimation(AnimationC, baseEl) {
|
|
8354
|
-
var baseAnimation = core$
|
|
8355
|
-
var backdropAnimation = core$
|
|
8390
|
+
var baseAnimation = core$2.createAnimation();
|
|
8391
|
+
var backdropAnimation = core$2.createAnimation();
|
|
8356
8392
|
backdropAnimation.addElement(baseEl.querySelector("ion-backdrop"));
|
|
8357
|
-
var wrapperAnimation = core$
|
|
8393
|
+
var wrapperAnimation = core$2.createAnimation();
|
|
8358
8394
|
var wrapperEl = baseEl.querySelector(".modal-wrapper");
|
|
8359
8395
|
wrapperAnimation.addElement(wrapperEl);
|
|
8360
8396
|
var wrapperElRect = wrapperEl ? wrapperEl.getBoundingClientRect() : null;
|
|
@@ -8728,9 +8764,9 @@
|
|
|
8728
8764
|
exports["ɵcl"] = AppSplitPanelComponent;
|
|
8729
8765
|
exports["ɵcm"] = AppBaseComponent;
|
|
8730
8766
|
exports["ɵcn"] = MenuService;
|
|
8731
|
-
exports["ɵco"] =
|
|
8732
|
-
exports["ɵcp"] =
|
|
8733
|
-
exports["ɵcq"] =
|
|
8767
|
+
exports["ɵco"] = AppService;
|
|
8768
|
+
exports["ɵcp"] = PageStandardComponent;
|
|
8769
|
+
exports["ɵcq"] = PageBaseComponent;
|
|
8734
8770
|
exports["ɵcr"] = PageComponent;
|
|
8735
8771
|
exports["ɵcs"] = InputComponent;
|
|
8736
8772
|
exports["ɵct"] = InputIntComponent;
|