@smartsoft001/angular 1.1.691 → 1.1.695

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.
@@ -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.core, global.ng.common.http, global.ngx, global.core$1, 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.effects, global.store, global.routerStore, global.core$3, global.guidTypescript));
5
- })(this, (function (exports, reflectMetadata, i0, forms, _, operators, models, utils, decode, ngxCookie, i1, common, storage, core, http, ngx, core$1, moment$1, lodashDecorators, rxjs, router, ng2Charts, table, sort, ngxColorPicker, dragDrop, ngxEditor, ngLazyloadImage, stepper, button, datepicker, core$2, materialMomentAdapter, effects, store, routerStore, core$3, guidTypescript) { 'use strict';
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.
@@ -1300,7 +1303,7 @@
1300
1303
  */
1301
1304
  ErrorService.ctorParameters = function () { return [
1302
1305
  { type: ToastService },
1303
- { type: core.TranslateService }
1306
+ { type: i2.TranslateService }
1304
1307
  ]; };
1305
1308
 
1306
1309
  var HardwareService = /** @class */ (function () {
@@ -1322,7 +1325,7 @@
1322
1325
  configurable: true
1323
1326
  });
1324
1327
  HardwareService.prototype.onBackButtonClick = function (callback) {
1325
- return core$1.App.addListener('backButton', function () {
1328
+ return core.App.addListener('backButton', function () {
1326
1329
  callback();
1327
1330
  });
1328
1331
  };
@@ -1684,11 +1687,11 @@
1684
1687
  FingerprintService.ctorParameters = function () { return [
1685
1688
  { type: i1.Platform },
1686
1689
  { type: ngx.FingerprintAIO },
1687
- { type: core.TranslateService },
1690
+ { type: i2.TranslateService },
1688
1691
  { type: StorageService }
1689
1692
  ]; };
1690
1693
 
1691
- var Camera = core$1.Plugins.Camera;
1694
+ var Camera = core.Plugins.Camera;
1692
1695
  var CameraService = /** @class */ (function () {
1693
1696
  function CameraService() {
1694
1697
  }
@@ -1700,7 +1703,7 @@
1700
1703
  switch (_a.label) {
1701
1704
  case 0: return [4 /*yield*/, Camera.getPhoto({
1702
1705
  quality: options.quality ? options.quality : 100,
1703
- resultType: core$1.CameraResultType.Base64
1706
+ resultType: core.CameraResultType.Base64
1704
1707
  })];
1705
1708
  case 1:
1706
1709
  image = _a.sent();
@@ -2027,7 +2030,7 @@
2027
2030
  { type: i0.NgModule, args: [{
2028
2031
  imports: [
2029
2032
  i1.IonicModule,
2030
- core.TranslateModule.forChild(),
2033
+ i2.TranslateModule.forChild(),
2031
2034
  ngxCookie.CookieModule.forRoot(),
2032
2035
  ],
2033
2036
  providers: [
@@ -2127,7 +2130,7 @@
2127
2130
  * @nocollapse
2128
2131
  */
2129
2132
  ListCellPipe.ctorParameters = function () { return [
2130
- { type: core.TranslateService }
2133
+ { type: i2.TranslateService }
2131
2134
  ]; };
2132
2135
  __decorate([
2133
2136
  lodashDecorators.Memoize(),
@@ -2205,7 +2208,7 @@
2205
2208
  * @nocollapse
2206
2209
  */
2207
2210
  ListHeaderPipe.ctorParameters = function () { return [
2208
- { type: core.TranslateService },
2211
+ { type: i2.TranslateService },
2209
2212
  { type: IModelLabelProvider, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MODEL_LABEL_PROVIDER,] }] }
2210
2213
  ]; };
2211
2214
 
@@ -2242,7 +2245,7 @@
2242
2245
  * @nocollapse
2243
2246
  */
2244
2247
  ModelLabelPipe.ctorParameters = function () { return [
2245
- { type: core.TranslateService },
2248
+ { type: i2.TranslateService },
2246
2249
  { type: IModelLabelProvider, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [MODEL_LABEL_PROVIDER,] }] }
2247
2250
  ]; };
2248
2251
 
@@ -2563,14 +2566,90 @@
2563
2566
  { type: i0.ComponentFactoryResolver }
2564
2567
  ]; };
2565
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
+ this.title$ = AppService._titleSource$.asObservable();
2576
+ }
2577
+ AppService.prototype.addEndButton = function (button) {
2578
+ if (button.id) {
2579
+ var exist_1 = AppService._endButtonsSource$.value.find(function (e) { return e.id === button.id; });
2580
+ if (exist_1) {
2581
+ Object.keys(button).filter(function (k) { return k !== 'id'; }).forEach(function (key) {
2582
+ exist_1[key] = button[key];
2583
+ });
2584
+ AppService._endButtonsSource$.next(__spreadArray([], __read(AppService._endButtonsSource$.value)));
2585
+ return;
2586
+ }
2587
+ }
2588
+ AppService._endButtonsSource$.next(utils.ArrayService.addItem(AppService._endButtonsSource$.value, button));
2589
+ };
2590
+ AppService.prototype.removeEndButton = function (buttonOrId) {
2591
+ if (typeof buttonOrId === 'object') {
2592
+ var button = buttonOrId.id ?
2593
+ AppService._endButtonsSource$.value.find(function (e) { return e.id === buttonOrId.id; })
2594
+ : buttonOrId;
2595
+ AppService._endButtonsSource$.next(utils.ArrayService.removeItem(AppService._endButtonsSource$.value, button));
2596
+ return;
2597
+ }
2598
+ AppService._endButtonsSource$.next(__spreadArray([], __read(AppService._endButtonsSource$.value.filter(function (e) { return e.id !== buttonOrId; }))));
2599
+ };
2600
+ AppService.prototype.initTitle = function () {
2601
+ var _this = this;
2602
+ this._baseTitle = this.titleService.getTitle();
2603
+ this.router.events.subscribe(function (event) {
2604
+ if (event instanceof i3.NavigationEnd) {
2605
+ var data = event;
2606
+ var title = _this._baseTitle + ' | '
2607
+ + data.urlAfterRedirects.split('/')
2608
+ .filter(function (x) { return x && x.trim(); })
2609
+ .map(function (x) {
2610
+ var key = 'ROUTES.' + x;
2611
+ var translate = _this.translate.instant(key);
2612
+ return key === translate ? x : translate;
2613
+ })
2614
+ .join(' | ');
2615
+ _this.titleService.setTitle(title);
2616
+ AppService._titleSource$.next(title);
2617
+ }
2618
+ });
2619
+ };
2620
+ return AppService;
2621
+ }());
2622
+ AppService._endButtonsSource$ = new rxjs.BehaviorSubject([]);
2623
+ AppService._titleSource$ = new rxjs.BehaviorSubject('');
2624
+ /** @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" });
2625
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
2626
+ AppService.decorators = [
2627
+ { type: i0.Injectable, args: [{
2628
+ providedIn: 'root'
2629
+ },] }
2630
+ ];
2631
+ /**
2632
+ * @type {function(): !Array<(null|{
2633
+ * type: ?,
2634
+ * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
2635
+ * })>}
2636
+ * @nocollapse
2637
+ */
2638
+ AppService.ctorParameters = function () { return [
2639
+ { type: i1$1.Title },
2640
+ { type: i2.TranslateService },
2641
+ { type: i3.Router }
2642
+ ]; };
2643
+
2566
2644
  var AppBaseComponent = /** @class */ (function () {
2567
- function AppBaseComponent(router, cd, elementRef, styleService, menuService, authService, platformId, document) {
2645
+ function AppBaseComponent(router, cd, elementRef, styleService, menuService, authService, appService, platformId, document) {
2568
2646
  this.router = router;
2569
2647
  this.cd = cd;
2570
2648
  this.elementRef = elementRef;
2571
2649
  this.styleService = styleService;
2572
2650
  this.menuService = menuService;
2573
2651
  this.authService = authService;
2652
+ this.appService = appService;
2574
2653
  this.platformId = platformId;
2575
2654
  this.document = document;
2576
2655
  this._subscriptions = new rxjs.Subscription();
@@ -2578,6 +2657,7 @@
2578
2657
  this.initSelectedPath();
2579
2658
  if (common.isPlatformBrowser(this.platformId)) {
2580
2659
  this.styleService.init(elementRef);
2660
+ this.appService.initTitle();
2581
2661
  }
2582
2662
  }
2583
2663
  Object.defineProperty(AppBaseComponent.prototype, "options", {
@@ -2634,7 +2714,7 @@
2634
2714
  AppBaseComponent.prototype.initSelectedPath = function () {
2635
2715
  var _this = this;
2636
2716
  this._subscriptions.add(this.router.events
2637
- .pipe(operators.filter(function (event) { return event && event instanceof router.NavigationEnd; }))
2717
+ .pipe(operators.filter(function (event) { return event && event instanceof i3.NavigationEnd; }))
2638
2718
  .subscribe(function (event) {
2639
2719
  if (event.urlAfterRedirects)
2640
2720
  _this.selectedPath = event.urlAfterRedirects;
@@ -2650,13 +2730,13 @@
2650
2730
  .pipe()
2651
2731
  .subscribe(function (routerEvent) { return __awaiter(_this, void 0, void 0, function () {
2652
2732
  return __generator(this, function (_a) {
2653
- if (routerEvent instanceof router.NavigationStart) {
2733
+ if (routerEvent instanceof i3.NavigationStart) {
2654
2734
  this.loadingPage = true;
2655
2735
  this.cd.detectChanges();
2656
2736
  }
2657
- else if (routerEvent instanceof router.NavigationEnd ||
2658
- routerEvent instanceof router.NavigationCancel ||
2659
- routerEvent instanceof router.NavigationError) {
2737
+ else if (routerEvent instanceof i3.NavigationEnd ||
2738
+ routerEvent instanceof i3.NavigationCancel ||
2739
+ routerEvent instanceof i3.NavigationError) {
2660
2740
  this.loadingPage = false;
2661
2741
  this.cd.detectChanges();
2662
2742
  }
@@ -2701,12 +2781,13 @@
2701
2781
  * @nocollapse
2702
2782
  */
2703
2783
  AppBaseComponent.ctorParameters = function () { return [
2704
- { type: router.Router },
2784
+ { type: i3.Router },
2705
2785
  { type: i0.ChangeDetectorRef },
2706
2786
  { type: i0.ElementRef },
2707
2787
  { type: StyleService },
2708
2788
  { type: MenuService },
2709
2789
  { type: AuthService },
2790
+ { type: AppService },
2710
2791
  { type: undefined, decorators: [{ type: i0.Inject, args: [i0.PLATFORM_ID,] }] },
2711
2792
  { type: undefined, decorators: [{ type: i0.Inject, args: [common.DOCUMENT,] }] }
2712
2793
  ]; };
@@ -2718,8 +2799,8 @@
2718
2799
 
2719
2800
  var AppSplitPanelComponent = /** @class */ (function (_super_1) {
2720
2801
  __extends(AppSplitPanelComponent, _super_1);
2721
- function AppSplitPanelComponent(router, cd, elementRef, styleService, menuService, authService, platform, document) {
2722
- var _this = _super_1.call(this, router, cd, elementRef, styleService, menuService, authService, platform, document) || this;
2802
+ function AppSplitPanelComponent(router, cd, elementRef, styleService, menuService, authService, appService, platform, document) {
2803
+ var _this = _super_1.call(this, router, cd, elementRef, styleService, menuService, authService, appService, platform, document) || this;
2723
2804
  _this.platform = platform;
2724
2805
  return _this;
2725
2806
  }
@@ -2746,10 +2827,10 @@
2746
2827
  AppSplitPanelComponent.decorators = [
2747
2828
  { type: i0.Component, args: [{
2748
2829
  selector: "smart-app-split-panel",
2749
- template: "<!-- <ion-progress-bar *ngIf=\"loadingPage\" color=\"primary\" type=\"indeterminate\"></ion-progress-bar> -->\n<!-- <ion-split-pane contentId=\"menu-content\" [ngStyle]=\"{'margin-top': loadingPage ? '4px' : '0'}\"> -->\n<ion-split-pane contentId=\"menu-content\">\n <!-- our side menu -->\n <ion-menu menuId=\"start\" contentId=\"menu-content\" [hidden]=\"!(showMenu$ | async) || (!(menuItems$ | async)?.length && !(logged$ | async))\">\n <ion-header>\n <ion-toolbar>\n <ion-title>\n <ion-col size=\"auto\" *ngIf=\"logo\" class=\"smart-logo-container\">\n <ion-img *ngIf=\"logo\" [src]=\"logo\" class=\"smart-logo\"></ion-img>\n </ion-col>\n <ng-container *ngIf=\"!logo\">MENU</ng-container>\n </ion-title>\n </ion-toolbar>\n </ion-header>\n\n <ion-content>\n <ion-list #listRef>\n <ng-container *ngFor=\"let item of menuItems$ | async\">\n <ion-menu-toggle auto-hide=\"false\" *ngIf=\"item.mode !== 'divider'\">\n <ion-item *ngIf=\"!item.component\"\n [routerDirection]=\"'root'\"\n [routerLink]=\"[item.route]\"\n [class.active-item]=\"selectedPath == item.route\"\n >\n <ion-icon *ngIf=\"item.icon\" [color]=\"selectedPath == item.route ? 'primary' : ''\" [name]=\"item.icon\" slot=\"start\"></ion-icon>\n <ng-container *ngIf=\"item.caption\">{{ item.caption | translate }}\n </ng-container>\n\n <ng-container *ngIf=\"item.infos\">\n <ion-chip slot=\"end\" *ngFor=\"let info of item.infos\">{{ info.text }}</ion-chip>\n </ng-container>\n </ion-item>\n <ion-item *ngIf=\"item.component\">\n <smart-dynamic [component]=\"item.component\"></smart-dynamic>\n </ion-item>\n </ion-menu-toggle>\n\n <ion-item-divider *ngIf=\"item.mode === 'divider'\">\n <ion-label *ngIf=\"item.caption\">\n {{ item.caption }}\n </ion-label>\n\n <ng-container *ngIf=\"item.component\">\n <smart-dynamic [component]=\"item.component\"></smart-dynamic>\n </ng-container>\n </ion-item-divider>\n </ng-container>\n </ion-list>\n </ion-content>\n\n <ion-footer>\n <ion-list *ngIf=\"logged$ | async\">\n <ion-item-divider>\n <ion-icon name=\"person\" slot=\"start\"></ion-icon>\n {{ \"APP.logged\" | translate }}:&nbsp;<b>{{ username$ | async }}</b>\n </ion-item-divider>\n <ion-item button (click)=\"logout()\">\n <ion-icon name=\"log-out\" slot=\"start\"></ion-icon>\n {{ \"APP.logout\" | translate }}\n </ion-item>\n </ion-list>\n </ion-footer>\n </ion-menu>\n\n <!-- the main content -->\n <ion-router-outlet id=\"menu-content\"></ion-router-outlet>\n\n <ion-progress-bar *ngIf=\"loadingPage\" color=\"primary\" type=\"indeterminate\"></ion-progress-bar>\n\n <ion-menu side=\"end\" disabled=\"true\" menuId=\"end\" type=\"overlay\" contentId=\"menu-content\" swipeGesture=\"false\">\n <ng-template #endMenuContainer></ng-template>\n </ion-menu>\n</ion-split-pane>",
2830
+ template: "<!-- <ion-progress-bar *ngIf=\"loadingPage\" color=\"primary\" type=\"indeterminate\"></ion-progress-bar> -->\n<!-- <ion-split-pane contentId=\"menu-content\" [ngStyle]=\"{'margin-top': loadingPage ? '4px' : '0'}\"> -->\n<ion-split-pane contentId=\"menu-content\">\n <!-- our side menu -->\n <ion-menu menuId=\"start\" contentId=\"menu-content\" [hidden]=\"!(showMenu$ | async) || (!(menuItems$ | async)?.length && !(logged$ | async))\">\n <ion-header>\n <ion-toolbar>\n <ion-title>\n <ion-col size=\"auto\" *ngIf=\"logo\" class=\"smart-logo-container\">\n <ion-img *ngIf=\"logo\" [src]=\"logo\" class=\"smart-logo\"></ion-img>\n </ion-col>\n <ng-container *ngIf=\"!logo\">MENU</ng-container>\n </ion-title>\n </ion-toolbar>\n </ion-header>\n\n <ion-content>\n <ion-list #listRef>\n <ng-container *ngFor=\"let item of menuItems$ | async\">\n <ion-menu-toggle auto-hide=\"false\" *ngIf=\"item.mode !== 'divider'\">\n <ion-item *ngIf=\"!item.component\"\n [routerDirection]=\"'root'\"\n [routerLink]=\"[item.route]\"\n [class.active-item]=\"selectedPath == item.route\"\n >\n <ion-icon *ngIf=\"item.icon\" [color]=\"selectedPath == item.route ? 'primary' : ''\" [name]=\"item.icon\" slot=\"start\"></ion-icon>\n <ng-container *ngIf=\"item.caption\">{{ item.caption | translate }}\n </ng-container>\n\n <ng-container *ngIf=\"item.infos\">\n <ion-chip slot=\"end\" *ngFor=\"let info of item.infos\">{{ info.text }}</ion-chip>\n </ng-container>\n </ion-item>\n <ion-item *ngIf=\"item.component\">\n <smart-dynamic [component]=\"item.component\"></smart-dynamic>\n </ion-item>\n </ion-menu-toggle>\n\n <ion-item-divider *ngIf=\"item.mode === 'divider'\">\n <ion-label *ngIf=\"item.caption\">\n {{ item.caption }}\n </ion-label>\n\n <ng-container *ngIf=\"item.component\">\n <smart-dynamic [component]=\"item.component\"></smart-dynamic>\n </ng-container>\n </ion-item-divider>\n </ng-container>\n </ion-list>\n </ion-content>\n\n <ion-footer>\n <ion-list *ngIf=\"logged$ | async\">\n <ion-item-divider>\n <ion-icon name=\"person\" slot=\"start\"></ion-icon>\n {{ \"APP.logged\" | translate }}:&nbsp;<b>{{ username$ | async }}</b>\n </ion-item-divider>\n <ion-item button (click)=\"logout()\">\n <ion-icon name=\"log-out\" slot=\"start\"></ion-icon>\n {{ \"APP.logout\" | translate }}\n </ion-item>\n </ion-list>\n </ion-footer>\n </ion-menu>\n\n <!-- the main content -->\n <ion-router-outlet id=\"menu-content\"></ion-router-outlet>\n\n <ion-progress-bar *ngIf=\"loadingPage\" color=\"primary\" type=\"indeterminate\"></ion-progress-bar>\n\n <ion-menu side=\"end\" disabled=\"true\" menuId=\"end\" type=\"overlay\" contentId=\"menu-content\" swipeGesture=\"false\">\n <ng-template #endMenuContainer></ng-template>\n <div class=\"menu-bottom-space\">\n &nbsp;\n </div>\n </ion-menu>\n</ion-split-pane>",
2750
2831
  //encapsulation: ViewEncapsulation.ShadowDom,
2751
2832
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
2752
- styles: [".active-item{--border-width: .5px;--border-color: var(--ion-text-color) }smart-app-split-panel,ion-progress-bar{width:100%!important}ion-progress-bar{position:absolute;top:0}ion-backdrop{opacity:.5!important}ion-menu{--ion-background-color: linear-gradient(90deg, #FFF, #ededed) !important}ion-menu ion-toolbar{--ion-background-color: linear-gradient(33deg, var(--ion-color-primary), var(--ion-color-tertiary));--color: var(--ion-color-light)}ion-menu ion-toolbar.ios{--background: linear-gradient(33deg, var(--ion-color-primary), var(--ion-color-tertiary));--color: var(--ion-color-light)}ion-menu ion-toolbar .smart-logo{text-align:left;max-width:100%;height:6rem;width:auto}ion-menu ion-toolbar .smart-logo img{height:100%!important;width:auto!important}ion-menu ion-list{--ion-background-color: linear-gradient(90deg, #FFF, #ededed) !important;padding:0}ion-menu ion-item{--background: linear-gradient(90deg, #FFF, #ededed) !important;--background-hover: linear-gradient(90deg, transparent, var(--smart-color-primary))}ion-menu ion-item ion-icon{margin-left:1.6rem;margin-right:1.6rem}ion-menu ion-item.active-item{--border-width: 0;--border-color: var(--ion-color-light-shade);--ion-background-color: linear-gradient(90deg, transparent, var(--ion-background-color));--color: var(--ion-color-primary);--background: var(--ion-background-color, #fff) !important;font-weight:500}ion-menu ion-item.active-item ion-icon{--ion-text-color: var(--ion-color-primary)}ion-menu ion-item.active-item .item-native{--ion-background-color: linear-gradient(90deg, #FFF, #ededed)}ion-menu ion-item-divider{font-weight:300;font-size:1.2rem}ion-menu ion-item-divider ion-icon{margin-left:1.6rem;margin-right:1.6rem;font-size:1.6rem;--ion-text-color: var(--ion-color-primary)}ion-menu ion-item-divider ion-label{margin-left:1.6rem;--padding: var(--smart-button-padding-left)/2 var(--smart-button-padding-top)/2 var(--smart-button-padding-right)/2 var(--smart-button-padding-bottom)/2}\n"]
2833
+ styles: [".active-item{--border-width: .5px;--border-color: var(--ion-text-color) }smart-app-split-panel,ion-progress-bar{width:100%!important}ion-progress-bar{position:absolute;top:0}ion-backdrop{opacity:.5!important}ion-menu{--ion-background-color: linear-gradient(90deg, #FFF, #ededed) !important}ion-menu ion-toolbar{--ion-background-color: linear-gradient(33deg, var(--ion-color-primary), var(--ion-color-tertiary));--color: var(--ion-color-light)}ion-menu ion-toolbar.ios{--background: linear-gradient(33deg, var(--ion-color-primary), var(--ion-color-tertiary));--color: var(--ion-color-light)}ion-menu ion-toolbar .smart-logo{text-align:left;max-width:100%;height:6rem;width:auto}ion-menu ion-toolbar .smart-logo img{height:100%!important;width:auto!important}ion-menu ion-list{--ion-background-color: linear-gradient(90deg, #FFF, #ededed) !important;padding:0}ion-menu ion-item{--background: linear-gradient(90deg, #FFF, #ededed) !important;--background-hover: linear-gradient(90deg, transparent, var(--smart-color-primary))}ion-menu ion-item ion-icon{margin-left:1.6rem;margin-right:1.6rem}ion-menu ion-item.active-item{--border-width: 0;--border-color: var(--ion-color-light-shade);--ion-background-color: linear-gradient(90deg, transparent, var(--ion-background-color));--color: var(--ion-color-primary);--background: var(--ion-background-color, #fff) !important;font-weight:500}ion-menu ion-item.active-item ion-icon{--ion-text-color: var(--ion-color-primary)}ion-menu ion-item.active-item .item-native{--ion-background-color: linear-gradient(90deg, #FFF, #ededed)}ion-menu ion-item-divider{font-weight:300;font-size:1.2rem}ion-menu ion-item-divider ion-icon{margin-left:1.6rem;margin-right:1.6rem;font-size:1.6rem;--ion-text-color: var(--ion-color-primary)}ion-menu ion-item-divider ion-label{margin-left:1.6rem;--padding: var(--smart-button-padding-left)/2 var(--smart-button-padding-top)/2 var(--smart-button-padding-right)/2 var(--smart-button-padding-bottom)/2}ion-menu .menu-bottom-space{height:75px}\n"]
2753
2834
  },] }
2754
2835
  ];
2755
2836
  /**
@@ -2760,12 +2841,13 @@
2760
2841
  * @nocollapse
2761
2842
  */
2762
2843
  AppSplitPanelComponent.ctorParameters = function () { return [
2763
- { type: router.Router },
2844
+ { type: i3.Router },
2764
2845
  { type: i0.ChangeDetectorRef },
2765
2846
  { type: i0.ElementRef },
2766
2847
  { type: StyleService },
2767
2848
  { type: MenuService },
2768
2849
  { type: AuthService },
2850
+ { type: AppService },
2769
2851
  { type: undefined, decorators: [{ type: i0.Inject, args: [i0.PLATFORM_ID,] }] },
2770
2852
  { type: undefined, decorators: [{ type: i0.Inject, args: [common.DOCUMENT,] }] }
2771
2853
  ]; };
@@ -3965,44 +4047,6 @@
3965
4047
  { type: i0.Injectable }
3966
4048
  ];
3967
4049
 
3968
- var AppService = /** @class */ (function () {
3969
- function AppService() {
3970
- this.endButtons$ = AppService._endButtonsSource$.asObservable();
3971
- }
3972
- AppService.prototype.addEndButton = function (button) {
3973
- if (button.id) {
3974
- var exist_1 = AppService._endButtonsSource$.value.find(function (e) { return e.id === button.id; });
3975
- if (exist_1) {
3976
- Object.keys(button).filter(function (k) { return k !== 'id'; }).forEach(function (key) {
3977
- exist_1[key] = button[key];
3978
- });
3979
- AppService._endButtonsSource$.next(__spreadArray([], __read(AppService._endButtonsSource$.value)));
3980
- return;
3981
- }
3982
- }
3983
- AppService._endButtonsSource$.next(utils.ArrayService.addItem(AppService._endButtonsSource$.value, button));
3984
- };
3985
- AppService.prototype.removeEndButton = function (buttonOrId) {
3986
- if (typeof buttonOrId === 'object') {
3987
- var button = buttonOrId.id ?
3988
- AppService._endButtonsSource$.value.find(function (e) { return e.id === buttonOrId.id; })
3989
- : buttonOrId;
3990
- AppService._endButtonsSource$.next(utils.ArrayService.removeItem(AppService._endButtonsSource$.value, button));
3991
- return;
3992
- }
3993
- AppService._endButtonsSource$.next(__spreadArray([], __read(AppService._endButtonsSource$.value.filter(function (e) { return e.id !== buttonOrId; }))));
3994
- };
3995
- return AppService;
3996
- }());
3997
- AppService._endButtonsSource$ = new rxjs.BehaviorSubject([]);
3998
- /** @nocollapse */ AppService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function AppService_Factory() { return new AppService(); }, token: AppService, providedIn: "root" });
3999
- /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
4000
- AppService.decorators = [
4001
- { type: i0.Injectable, args: [{
4002
- providedIn: 'root'
4003
- },] }
4004
- ];
4005
-
4006
4050
  var InputComponent = /** @class */ (function () {
4007
4051
  function InputComponent(componentFactoryResolver, injector) {
4008
4052
  this.componentFactoryResolver = componentFactoryResolver;
@@ -4253,11 +4297,11 @@
4253
4297
  // application's root module. We provide it at the component level here, due to limitations of
4254
4298
  // our example generation script.
4255
4299
  {
4256
- provide: core$2.DateAdapter,
4300
+ provide: core$1.DateAdapter,
4257
4301
  useClass: materialMomentAdapter.MomentDateAdapter,
4258
- deps: [core$2.MAT_DATE_LOCALE, materialMomentAdapter.MAT_MOMENT_DATE_ADAPTER_OPTIONS]
4302
+ deps: [core$1.MAT_DATE_LOCALE, materialMomentAdapter.MAT_MOMENT_DATE_ADAPTER_OPTIONS]
4259
4303
  },
4260
- { provide: core$2.MAT_DATE_FORMATS, useValue: MY_FORMATS },
4304
+ { provide: core$1.MAT_DATE_FORMATS, useValue: MY_FORMATS },
4261
4305
  ],
4262
4306
  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"]
4263
4307
  },] }
@@ -4272,8 +4316,8 @@
4272
4316
  InputDateComponent.ctorParameters = function () { return [
4273
4317
  { type: i0.ChangeDetectorRef },
4274
4318
  { type: HardwareService },
4275
- { type: core$2.DateAdapter },
4276
- { type: core.TranslateService }
4319
+ { type: core$1.DateAdapter },
4320
+ { type: i2.TranslateService }
4277
4321
  ]; };
4278
4322
 
4279
4323
  var moment = moment__namespace;
@@ -5037,10 +5081,10 @@
5037
5081
  */
5038
5082
  ListBaseComponent.ctorParameters = function () { return [
5039
5083
  { type: AuthService },
5040
- { type: router.Router },
5084
+ { type: i3.Router },
5041
5085
  { type: AlertService },
5042
5086
  { type: i0.ChangeDetectorRef },
5043
- { type: core.TranslateService }
5087
+ { type: i2.TranslateService }
5044
5088
  ]; };
5045
5089
  /** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
5046
5090
  ListBaseComponent.propDecorators = {
@@ -5140,10 +5184,10 @@
5140
5184
  */
5141
5185
  ListDesktopComponent.ctorParameters = function () { return [
5142
5186
  { type: AuthService },
5143
- { type: router.Router },
5187
+ { type: i3.Router },
5144
5188
  { type: AlertService },
5145
5189
  { type: i0.ChangeDetectorRef },
5146
- { type: core.TranslateService }
5190
+ { type: i2.TranslateService }
5147
5191
  ]; };
5148
5192
  /** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
5149
5193
  ListDesktopComponent.propDecorators = {
@@ -5192,10 +5236,10 @@
5192
5236
  */
5193
5237
  ListMobileComponent.ctorParameters = function () { return [
5194
5238
  { type: AuthService },
5195
- { type: router.Router },
5239
+ { type: i3.Router },
5196
5240
  { type: AlertService },
5197
5241
  { type: i0.ChangeDetectorRef },
5198
- { type: core.TranslateService }
5242
+ { type: i2.TranslateService }
5199
5243
  ]; };
5200
5244
  /** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
5201
5245
  ListMobileComponent.propDecorators = {
@@ -5791,7 +5835,7 @@
5791
5835
  */
5792
5836
  InputLongTextComponent.ctorParameters = function () { return [
5793
5837
  { type: i0.ChangeDetectorRef },
5794
- { type: core.TranslateService },
5838
+ { type: i2.TranslateService },
5795
5839
  { type: HardwareService }
5796
5840
  ]; };
5797
5841
 
@@ -6608,7 +6652,10 @@
6608
6652
  case 0:
6609
6653
  options = this.getOptions();
6610
6654
  modelOptions = models.getModelOptions(options.classType);
6611
- return [4 /*yield*/, this.factory.create(new this.fieldOptions.classType(), { mode: this.internalOptions.mode })];
6655
+ return [4 /*yield*/, this.factory.create(new this.fieldOptions.classType(), {
6656
+ mode: this.internalOptions.mode,
6657
+ root: this.internalOptions.control.root
6658
+ })];
6612
6659
  case 1:
6613
6660
  control = _a.sent();
6614
6661
  this.internalOptions.control.push(control);
@@ -6821,7 +6868,7 @@
6821
6868
  { type: i0.Renderer2 },
6822
6869
  { type: FileService },
6823
6870
  { type: ToastService },
6824
- { type: core.TranslateService }
6871
+ { type: i2.TranslateService }
6825
6872
  ]; };
6826
6873
  /** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
6827
6874
  InputFileBaseComponent.propDecorators = {
@@ -6856,7 +6903,7 @@
6856
6903
  { type: i0.Renderer2 },
6857
6904
  { type: FileService },
6858
6905
  { type: ToastService },
6859
- { type: core.TranslateService }
6906
+ { type: i2.TranslateService }
6860
6907
  ]; };
6861
6908
 
6862
6909
  var DetailPdfComponent = /** @class */ (function (_super) {
@@ -6945,7 +6992,7 @@
6945
6992
  { type: i0.Renderer2 },
6946
6993
  { type: FileService },
6947
6994
  { type: ToastService },
6948
- { type: core.TranslateService }
6995
+ { type: i2.TranslateService }
6949
6996
  ]; };
6950
6997
 
6951
6998
  var DetailVideoComponent = /** @class */ (function (_super) {
@@ -7008,7 +7055,7 @@
7008
7055
  { type: i0.Renderer2 },
7009
7056
  { type: FileService },
7010
7057
  { type: ToastService },
7011
- { type: core.TranslateService }
7058
+ { type: i2.TranslateService }
7012
7059
  ]; };
7013
7060
 
7014
7061
  var DetailAttachmentComponent = /** @class */ (function (_super) {
@@ -7535,7 +7582,7 @@
7535
7582
  { type: i0.Renderer2 },
7536
7583
  { type: FileService },
7537
7584
  { type: ToastService },
7538
- { type: core.TranslateService }
7585
+ { type: i2.TranslateService }
7539
7586
  ]; };
7540
7587
 
7541
7588
  var DetailImageComponent = /** @class */ (function (_super) {
@@ -7662,10 +7709,10 @@
7662
7709
  */
7663
7710
  ListMasonryGridComponent.ctorParameters = function () { return [
7664
7711
  { type: AuthService },
7665
- { type: router.Router },
7712
+ { type: i3.Router },
7666
7713
  { type: AlertService },
7667
7714
  { type: i0.ChangeDetectorRef },
7668
- { type: core.TranslateService }
7715
+ { type: i2.TranslateService }
7669
7716
  ]; };
7670
7717
  /** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
7671
7718
  ListMasonryGridComponent.propDecorators = {
@@ -8156,8 +8203,8 @@
8156
8203
  i1.IonicModule,
8157
8204
  forms.ReactiveFormsModule,
8158
8205
  forms.FormsModule,
8159
- core.TranslateModule,
8160
- router.RouterModule,
8206
+ i2.TranslateModule,
8207
+ i3.RouterModule,
8161
8208
  SharedPipesModule,
8162
8209
  SharedDirectivesModule,
8163
8210
  http.HttpClientModule,
@@ -8171,7 +8218,7 @@
8171
8218
  stepper.MatStepperModule,
8172
8219
  button.MatButtonModule,
8173
8220
  datepicker.MatDatepickerModule,
8174
- core$2.MatNativeDateModule,
8221
+ core$1.MatNativeDateModule,
8175
8222
  materialMomentAdapter.MomentDateModule
8176
8223
  ];
8177
8224
  var SharedComponentsModule = /** @class */ (function () {
@@ -8223,10 +8270,10 @@
8223
8270
  SharedModule.decorators = [
8224
8271
  { type: i0.NgModule, args: [{
8225
8272
  imports: [
8226
- core.TranslateModule
8273
+ i2.TranslateModule
8227
8274
  ],
8228
8275
  exports: [
8229
- core.TranslateModule,
8276
+ i2.TranslateModule,
8230
8277
  http.HttpClientModule,
8231
8278
  forms.ReactiveFormsModule,
8232
8279
  i1.IonicModule,
@@ -8248,7 +8295,7 @@
8248
8295
  * @nocollapse
8249
8296
  */
8250
8297
  SharedModule.ctorParameters = function () { return [
8251
- { type: core.TranslateService },
8298
+ { type: i2.TranslateService },
8252
8299
  { type: StorageService }
8253
8300
  ]; };
8254
8301
 
@@ -8326,10 +8373,10 @@
8326
8373
  ];
8327
8374
 
8328
8375
  function modalFromBottomEnterAnimation(AnimationC, baseEl) {
8329
- var baseAnimation = core$3.createAnimation();
8330
- var backdropAnimation = core$3.createAnimation();
8376
+ var baseAnimation = core$2.createAnimation();
8377
+ var backdropAnimation = core$2.createAnimation();
8331
8378
  backdropAnimation.addElement(baseEl.querySelector("ion-backdrop"));
8332
- var wrapperAnimation = core$3.createAnimation();
8379
+ var wrapperAnimation = core$2.createAnimation();
8333
8380
  wrapperAnimation.addElement(baseEl.querySelector(".modal-wrapper"));
8334
8381
  wrapperAnimation
8335
8382
  .beforeStyles({ opacity: 1 })
@@ -8344,10 +8391,10 @@
8344
8391
  .addAnimation(wrapperAnimation));
8345
8392
  }
8346
8393
  function modalFromBottomLeaveAnimation(AnimationC, baseEl) {
8347
- var baseAnimation = core$3.createAnimation();
8348
- var backdropAnimation = core$3.createAnimation();
8394
+ var baseAnimation = core$2.createAnimation();
8395
+ var backdropAnimation = core$2.createAnimation();
8349
8396
  backdropAnimation.addElement(baseEl.querySelector("ion-backdrop"));
8350
- var wrapperAnimation = core$3.createAnimation();
8397
+ var wrapperAnimation = core$2.createAnimation();
8351
8398
  var wrapperEl = baseEl.querySelector(".modal-wrapper");
8352
8399
  wrapperAnimation.addElement(wrapperEl);
8353
8400
  var wrapperElRect = wrapperEl ? wrapperEl.getBoundingClientRect() : null;
@@ -8721,9 +8768,9 @@
8721
8768
  exports["ɵcl"] = AppSplitPanelComponent;
8722
8769
  exports["ɵcm"] = AppBaseComponent;
8723
8770
  exports["ɵcn"] = MenuService;
8724
- exports["ɵco"] = PageStandardComponent;
8725
- exports["ɵcp"] = PageBaseComponent;
8726
- exports["ɵcq"] = AppService;
8771
+ exports["ɵco"] = AppService;
8772
+ exports["ɵcp"] = PageStandardComponent;
8773
+ exports["ɵcq"] = PageBaseComponent;
8727
8774
  exports["ɵcr"] = PageComponent;
8728
8775
  exports["ɵcs"] = InputComponent;
8729
8776
  exports["ɵct"] = InputIntComponent;