@smartsoft001/angular 1.1.653 → 1.1.657

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/bundles/smartsoft001-angular.umd.js +311 -194
  2. package/bundles/smartsoft001-angular.umd.js.map +1 -1
  3. package/esm2015/lib/components/base/base.component.js +58 -1
  4. package/esm2015/lib/components/base/base.component.js.map +1 -1
  5. package/esm2015/lib/components/base/base.component.metadata.json +1 -1
  6. package/esm2015/lib/components/button/base/base.component.js +36 -0
  7. package/esm2015/lib/components/button/base/base.component.js.map +1 -0
  8. package/esm2015/lib/components/button/base/base.component.metadata.json +1 -0
  9. package/esm2015/lib/components/button/button.component.js +23 -33
  10. package/esm2015/lib/components/button/button.component.js.map +1 -1
  11. package/esm2015/lib/components/button/button.component.metadata.json +1 -1
  12. package/esm2015/lib/components/button/index.js +2 -0
  13. package/esm2015/lib/components/button/index.js.map +1 -1
  14. package/esm2015/lib/components/button/index.metadata.json +1 -1
  15. package/esm2015/lib/components/button/standard/standard.component.js +15 -0
  16. package/esm2015/lib/components/button/standard/standard.component.js.map +1 -0
  17. package/esm2015/lib/components/button/standard/standard.component.metadata.json +1 -0
  18. package/esm2015/lib/components/button/standard/standard.component.ngfactory.js.map +1 -0
  19. package/esm2015/lib/components/button/standard/standard.component.scss.ngstyle.js.map +1 -0
  20. package/esm2015/lib/components/components.module.js +2 -1
  21. package/esm2015/lib/components/components.module.js.map +1 -1
  22. package/esm2015/lib/components/components.module.metadata.json +1 -1
  23. package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
  24. package/esm2015/lib/components/details/base/base.component.js +2 -0
  25. package/esm2015/lib/components/details/base/base.component.js.map +1 -1
  26. package/esm2015/lib/components/details/base/base.component.metadata.json +1 -1
  27. package/esm2015/lib/components/details/details.component.js +13 -6
  28. package/esm2015/lib/components/details/details.component.js.map +1 -1
  29. package/esm2015/lib/components/details/details.component.metadata.json +1 -1
  30. package/esm2015/lib/components/details/index.js +1 -0
  31. package/esm2015/lib/components/details/index.js.map +1 -1
  32. package/esm2015/lib/components/details/index.metadata.json +1 -1
  33. package/esm2015/lib/components/form/base/base.component.js +3 -2
  34. package/esm2015/lib/components/form/base/base.component.js.map +1 -1
  35. package/esm2015/lib/components/form/base/base.component.metadata.json +1 -1
  36. package/esm2015/lib/components/form/form.component.js +25 -28
  37. package/esm2015/lib/components/form/form.component.js.map +1 -1
  38. package/esm2015/lib/components/form/form.component.metadata.json +1 -1
  39. package/esm2015/lib/components/page/page.component.js +8 -18
  40. package/esm2015/lib/components/page/page.component.js.map +1 -1
  41. package/esm2015/lib/components/page/page.component.metadata.json +1 -1
  42. package/esm2015/lib/models/interfaces.js.map +1 -1
  43. package/esm2015/lib/ngrx-shared.module.ngfactory.js.map +1 -1
  44. package/esm2015/lib/pages/pages.module.ngfactory.js.map +1 -1
  45. package/esm2015/lib/services/dynamic-component-storage/dynamic-component-storage.service.js +8 -3
  46. package/esm2015/lib/services/dynamic-component-storage/dynamic-component-storage.service.js.map +1 -1
  47. package/esm2015/smartsoft001-angular.js +56 -54
  48. package/esm2015/smartsoft001-angular.js.map +1 -1
  49. package/esm2015/smartsoft001-angular.metadata.json +1 -1
  50. package/fesm2015/smartsoft001-angular.js +217 -123
  51. package/fesm2015/smartsoft001-angular.js.map +1 -1
  52. package/lib/components/base/base.component.d.ts +13 -3
  53. package/lib/components/button/base/base.component.d.ts +12 -0
  54. package/lib/components/button/button.component.d.ts +12 -10
  55. package/lib/components/button/index.d.ts +2 -0
  56. package/lib/components/button/standard/standard.component.d.ts +3 -0
  57. package/lib/components/components.module.d.ts +3 -2
  58. package/lib/components/details/base/base.component.d.ts +3 -1
  59. package/lib/components/details/details.component.d.ts +5 -1
  60. package/lib/components/details/index.d.ts +1 -0
  61. package/lib/components/form/base/base.component.d.ts +2 -1
  62. package/lib/components/form/form.component.d.ts +5 -1
  63. package/lib/components/page/page.component.d.ts +6 -6
  64. package/lib/models/interfaces.d.ts +1 -1
  65. package/package.json +5 -5
  66. package/smartsoft001-angular.d.ts +56 -54
  67. package/smartsoft001-angular.metadata.json +1 -1
  68. package/esm2015/lib/components/button/button.component.scss.ngstyle.js.map +0 -1
@@ -2781,52 +2781,155 @@
2781
2781
  listRef: [{ type: i0.ViewChild, args: ['listRef', { read: i0.ElementRef },] }]
2782
2782
  };
2783
2783
 
2784
- var ButtonComponent = /** @class */ (function () {
2785
- function ButtonComponent() {
2784
+ var DynamicComponentStorageService = /** @class */ (function () {
2785
+ function DynamicComponentStorageService() {
2786
2786
  }
2787
- ButtonComponent.prototype.ngOnInit = function () {
2788
- };
2789
- ButtonComponent.prototype.invoke = function () {
2790
- if (!this.options)
2791
- return;
2792
- if (this.options.confirm) {
2793
- this.mode = 'confirm';
2794
- }
2795
- else {
2796
- this.options.click();
2787
+ DynamicComponentStorageService.get = function (key, moduleRef) {
2788
+ var _a, _b;
2789
+ var getComponents = function (k, m) {
2790
+ if (!m)
2791
+ return [];
2792
+ return m.instance.constructor['ɵmod'].declarations
2793
+ .filter(function (c) { return c['smartType'] === k; });
2794
+ };
2795
+ var components = getComponents(key, moduleRef);
2796
+ if (!components.length && moduleRef) {
2797
+ var applicationRef = moduleRef.injector.get(i0.ApplicationRef);
2798
+ var appComponentInjector = (_a = applicationRef.components
2799
+ .find(function (t) { return t.componentType.name === "AppComponent"; })) === null || _a === void 0 ? void 0 : _a.injector;
2800
+ if (!appComponentInjector) {
2801
+ appComponentInjector = (_b = applicationRef.components[0]) === null || _b === void 0 ? void 0 : _b.injector;
2802
+ }
2803
+ if (!appComponentInjector) {
2804
+ throw new Error(DynamicComponentStorageService.name + " not found AppComponent");
2805
+ }
2806
+ var appModuleRef = appComponentInjector.get(i0.NgModuleRef);
2807
+ components = getComponents(key, appModuleRef);
2797
2808
  }
2809
+ return components;
2798
2810
  };
2799
- ButtonComponent.prototype.confirmInvoke = function () {
2800
- if (!this.options)
2801
- return;
2802
- this.options.click();
2803
- this.mode = 'default';
2811
+ return DynamicComponentStorageService;
2812
+ }());
2813
+
2814
+ var BaseComponent = /** @class */ (function () {
2815
+ function BaseComponent() {
2816
+ this.destroy$ = new rxjs.Subject();
2817
+ }
2818
+ Object.defineProperty(BaseComponent.prototype, "takeUntilDestroy", {
2819
+ get: function () {
2820
+ return operators.takeUntil(this.destroy$);
2821
+ },
2822
+ enumerable: false,
2823
+ configurable: true
2824
+ });
2825
+ BaseComponent.prototype.ngOnDestroy = function () {
2826
+ this.destroy$.next(true);
2827
+ this.destroy$.unsubscribe();
2804
2828
  };
2805
- ButtonComponent.prototype.confirmCancel = function () {
2806
- if (!this.options)
2807
- return;
2808
- this.mode = 'default';
2829
+ return BaseComponent;
2830
+ }());
2831
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
2832
+ BaseComponent.decorators = [
2833
+ { type: i0.Directive }
2834
+ ];
2835
+ function CreateDynamicComponent(type) {
2836
+ var Component = /** @class */ (function (_super) {
2837
+ __extends(Component, _super);
2838
+ function Component(cd, moduleRef, componentFactoryResolver) {
2839
+ var _this = _super.call(this) || this;
2840
+ _this.cd = cd;
2841
+ _this.moduleRef = moduleRef;
2842
+ _this.componentFactoryResolver = componentFactoryResolver;
2843
+ _this.dynamicType = type;
2844
+ return _this;
2845
+ }
2846
+ Component.prototype.ngAfterViewInit = function () {
2847
+ this.init();
2848
+ };
2849
+ Component.prototype.refreshDynamicInstance = function () {
2850
+ this.init();
2851
+ if (!this.baseInstance)
2852
+ return;
2853
+ this.refreshProperties();
2854
+ };
2855
+ Component.prototype.init = function () {
2856
+ var _a;
2857
+ var component = DynamicComponentStorageService.get(this.dynamicType, this.moduleRef)[0];
2858
+ this.template = component ? "custom" : "default";
2859
+ if (component) {
2860
+ var factory = this.componentFactoryResolver.resolveComponentFactory(component);
2861
+ if (this.customTpl && !this.customTpl.get(0)) {
2862
+ this.baseInstance = this.customTpl.createComponent(factory).instance;
2863
+ this.refreshDynamicInstance();
2864
+ (_a = this.baseInstance.contentTpl) === null || _a === void 0 ? void 0 : _a.createEmbeddedView(this.contentTpl);
2865
+ this.cd.detectChanges();
2866
+ }
2867
+ }
2868
+ };
2869
+ return Component;
2870
+ }(BaseComponent));
2871
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
2872
+ Component.decorators = [
2873
+ { type: i0.Directive }
2874
+ ];
2875
+ /**
2876
+ * @type {function(): !Array<(null|{
2877
+ * type: ?,
2878
+ * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
2879
+ * })>}
2880
+ * @nocollapse
2881
+ */
2882
+ Component.ctorParameters = function () { return [
2883
+ { type: i0.ChangeDetectorRef },
2884
+ { type: i0.NgModuleRef },
2885
+ { type: i0.ComponentFactoryResolver }
2886
+ ]; };
2887
+ /** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
2888
+ Component.propDecorators = {
2889
+ customTpl: [{ type: i0.ViewChild, args: ["customTpl", { read: i0.ViewContainerRef, static: false },] }],
2890
+ contentTpl: [{ type: i0.ViewChild, args: ["contentTpl", { read: i0.TemplateRef, static: false },] }]
2891
+ };
2892
+ return Component;
2893
+ }
2894
+
2895
+ var ButtonComponent = /** @class */ (function (_super) {
2896
+ __extends(ButtonComponent, _super);
2897
+ function ButtonComponent() {
2898
+ return _super !== null && _super.apply(this, arguments) || this;
2899
+ }
2900
+ Object.defineProperty(ButtonComponent.prototype, "options", {
2901
+ get: function () { return this._options; },
2902
+ set: function (val) {
2903
+ this._options = val;
2904
+ this.refreshDynamicInstance();
2905
+ },
2906
+ enumerable: false,
2907
+ configurable: true
2908
+ });
2909
+ Object.defineProperty(ButtonComponent.prototype, "disabled", {
2910
+ get: function () { return this._disabled; },
2911
+ set: function (val) {
2912
+ this._disabled = val;
2913
+ this.refreshDynamicInstance();
2914
+ },
2915
+ enumerable: false,
2916
+ configurable: true
2917
+ });
2918
+ ButtonComponent.prototype.refreshProperties = function () {
2919
+ this.baseInstance.options = this.options;
2920
+ this.baseInstance.disabled = this.disabled;
2809
2921
  };
2810
2922
  return ButtonComponent;
2811
- }());
2923
+ }(CreateDynamicComponent("button")));
2812
2924
  /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
2813
2925
  ButtonComponent.decorators = [
2814
2926
  { type: i0.Component, args: [{
2815
2927
  selector: 'smart-button',
2816
- template: "<ng-container *ngIf=\"mode != 'confirm'; else confirmTpl\">\n <ion-button [color]=\"options?.color\" [expand]=\"options?.expand\" [type]=\"options?.type\" (click)=\"invoke()\" [disabled]=\"disabled || (options?.loading$ | async)\">\n <ion-spinner *ngIf=\"options?.loading$ | async; else content\"></ion-spinner>\n <ng-template #content>\n <ng-content></ng-content>\n </ng-template>\n </ion-button>\n</ng-container>\n\n<ng-template #confirmTpl>\n <ion-button [expand]=\"options?.expand\" color=\"light\" (click)=\"confirmCancel()\">{{'cancel' | translate}}</ion-button>\n <ion-button [expand]=\"options?.expand\" color=\"primary\" (click)=\"confirmInvoke()\">{{'confirm' | translate}}</ion-button>\n</ng-template>",
2928
+ template: "\n <smart-button-standard *ngIf=\"template === 'default'\" [options]=\"options\" [disabled]=\"disabled\">\n <ng-container [ngTemplateOutlet]=\"contentTpl\"></ng-container>\n </smart-button-standard>\n <ng-template #contentTpl>\n <ng-content></ng-content>\n </ng-template>\n <div #customTpl></div>\n ",
2817
2929
  encapsulation: i0.ViewEncapsulation.None,
2818
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
2819
- 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)}ion-button{height:3.6rem;height:var(--smart-button-height);min-width:3.6rem;min-width:var(--smart-button-min-width);vertical-align:middle;border-radius:0;--border-radius: 0;--padding-bottom: var(--smart-button-padding-bottom);--padding-end: var(--smart-button-padding-right);--padding-start: var(--smart-button-padding-left);--padding-top: var(--smart-button-padding-top)}ion-button[color=light]{--background: var(--ion-color-light)}ion-button ion-icon{font-size:1.8rem!important;font-size:var(--smart-button-icon-size)!important}ion-button.squere-button{height:3.6rem;height:var(--smart-button-height);width:3.6rem;width:var(--smart-button-min-width);--padding-bottom: var(--smart-button-padding-bottom)/2;--padding-end: var(--smart-button-padding-right)/2;--padding-start: var(--smart-button-padding-left)/2;--padding-top: var(--smart-button-padding-top)/2}ion-button.button-clear{height:3.6rem;height:var(--smart-button-height);--padding-bottom: var(--smart-button-padding-bottom)/2;--padding-top: var(--smart-button-padding-top)/2}ion-button.button-clear.in-toolbar ion-icon{font-size:2.2rem!important;vertical-align:middle}ion-button.button-clear.ios.in-toolbar ion-icon{font-size:2.2rem!important;vertical-align:middle;color:#f4f5f8;color:var(--ion-color-light)}.button-container ion-button{margin-left:1.2rem}ion-button.smart-fingerprint{--background: transparent}\n"]
2930
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
2820
2931
  },] }
2821
2932
  ];
2822
- /**
2823
- * @type {function(): !Array<(null|{
2824
- * type: ?,
2825
- * decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
2826
- * })>}
2827
- * @nocollapse
2828
- */
2829
- ButtonComponent.ctorParameters = function () { return []; };
2830
2933
  /** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
2831
2934
  ButtonComponent.propDecorators = {
2832
2935
  options: [{ type: i0.Input }],
@@ -3195,9 +3298,12 @@
3195
3298
  },] }
3196
3299
  ];
3197
3300
 
3198
- var DetailsComponent = /** @class */ (function () {
3301
+ var DetailsComponent = /** @class */ (function (_super) {
3302
+ __extends(DetailsComponent, _super);
3199
3303
  function DetailsComponent() {
3200
- this._subscription = new rxjs.Subscription();
3304
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
3305
+ _this._subscription = new rxjs.Subscription();
3306
+ return _this;
3201
3307
  }
3202
3308
  Object.defineProperty(DetailsComponent.prototype, "options", {
3203
3309
  get: function () {
@@ -3209,6 +3315,7 @@
3209
3315
  this._subscription.add(this._options.item$.subscribe(function (item) {
3210
3316
  _this.item = item;
3211
3317
  }));
3318
+ this.refreshDynamicInstance();
3212
3319
  },
3213
3320
  enumerable: false,
3214
3321
  configurable: true
@@ -3218,13 +3325,16 @@
3218
3325
  this._subscription.unsubscribe();
3219
3326
  }
3220
3327
  };
3328
+ DetailsComponent.prototype.refreshProperties = function () {
3329
+ this.baseInstance.options = this.options;
3330
+ };
3221
3331
  return DetailsComponent;
3222
- }());
3332
+ }(CreateDynamicComponent("details")));
3223
3333
  /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
3224
3334
  DetailsComponent.decorators = [
3225
3335
  { type: i0.Component, args: [{
3226
3336
  selector: "smart-details",
3227
- template: "\n <smart-details-standard\n *ngIf=\"options\"\n [options]=\"options\"\n ></smart-details-standard>\n ",
3337
+ template: "\n <smart-details-standard\n *ngIf=\"options && template === 'default'\"\n [options]=\"options\"\n ></smart-details-standard>\n <div #customTpl></div>\n ",
3228
3338
  changeDetection: i0.ChangeDetectionStrategy.OnPush
3229
3339
  },] }
3230
3340
  ];
@@ -3318,6 +3428,7 @@
3318
3428
  };
3319
3429
  return DetailsBaseComponent;
3320
3430
  }());
3431
+ DetailsBaseComponent.smartType = 'details';
3321
3432
  /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
3322
3433
  DetailsBaseComponent.decorators = [
3323
3434
  { type: i0.Directive }
@@ -3334,6 +3445,7 @@
3334
3445
  ]; };
3335
3446
  /** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
3336
3447
  DetailsBaseComponent.propDecorators = {
3448
+ contentTpl: [{ type: i0.ViewChild, args: ["contentTpl", { read: i0.ViewContainerRef, static: true },] }],
3337
3449
  topTpl: [{ type: i0.ViewChild, args: ["topTpl", { read: i0.ViewContainerRef, static: true },] }],
3338
3450
  bottomTpl: [{ type: i0.ViewChild, args: ["bottomTpl", { read: i0.ViewContainerRef, static: true },] }],
3339
3451
  options: [{ type: i0.Input }]
@@ -3371,45 +3483,23 @@
3371
3483
  }());
3372
3484
  var MODEL_IMPORT_PROVIDER = new i0.InjectionToken("MODEL_IMPORT_PROVIDER");
3373
3485
 
3374
- var DynamicComponentStorageService = /** @class */ (function () {
3375
- function DynamicComponentStorageService() {
3376
- }
3377
- DynamicComponentStorageService.get = function (key, moduleRef) {
3378
- var _a;
3379
- var getComponents = function (k, m) {
3380
- return m.instance.constructor['ɵmod'].declarations
3381
- .filter(function (c) { return c['smartType'] === k; });
3382
- };
3383
- var components = getComponents(key, moduleRef);
3384
- if (!components.length) {
3385
- var applicationRef = moduleRef.injector.get(i0.ApplicationRef);
3386
- var appComponentInjector = (_a = applicationRef.components
3387
- .find(function (t) { return t.componentType.name === "AppComponent"; })) === null || _a === void 0 ? void 0 : _a.injector;
3388
- if (!appComponentInjector) {
3389
- throw new Error(DynamicComponentStorageService.name + " not found AppComponent");
3390
- }
3391
- var appModuleRef = appComponentInjector.get(i0.NgModuleRef);
3392
- components = getComponents(key, appModuleRef);
3393
- }
3394
- return components;
3395
- };
3396
- return DynamicComponentStorageService;
3397
- }());
3398
-
3399
- var FormComponent = /** @class */ (function () {
3486
+ var FormComponent = /** @class */ (function (_super) {
3487
+ __extends(FormComponent, _super);
3400
3488
  function FormComponent(formFactory, cd, elementRef, exportProvider, importProvider, moduleRef, componentFactoryResolver) {
3401
- this.formFactory = formFactory;
3402
- this.cd = cd;
3403
- this.elementRef = elementRef;
3404
- this.exportProvider = exportProvider;
3405
- this.importProvider = importProvider;
3406
- this.moduleRef = moduleRef;
3407
- this.componentFactoryResolver = componentFactoryResolver;
3408
- this._subscription = new rxjs.Subscription();
3409
- this.invokeSubmit = new i0.EventEmitter();
3410
- this.valueChange = new i0.EventEmitter();
3411
- this.valuePartialChange = new i0.EventEmitter();
3412
- this.validChange = new i0.EventEmitter();
3489
+ var _this = _super.call(this, cd, moduleRef, componentFactoryResolver) || this;
3490
+ _this.formFactory = formFactory;
3491
+ _this.cd = cd;
3492
+ _this.elementRef = elementRef;
3493
+ _this.exportProvider = exportProvider;
3494
+ _this.importProvider = importProvider;
3495
+ _this.moduleRef = moduleRef;
3496
+ _this.componentFactoryResolver = componentFactoryResolver;
3497
+ _this._subscription = new rxjs.Subscription();
3498
+ _this.invokeSubmit = new i0.EventEmitter();
3499
+ _this.valueChange = new i0.EventEmitter();
3500
+ _this.valuePartialChange = new i0.EventEmitter();
3501
+ _this.validChange = new i0.EventEmitter();
3502
+ return _this;
3413
3503
  }
3414
3504
  Object.defineProperty(FormComponent.prototype, "options", {
3415
3505
  get: function () {
@@ -3444,6 +3534,9 @@
3444
3534
  _this.cd.detectChanges();
3445
3535
  });
3446
3536
  }
3537
+ setTimeout(function () {
3538
+ _this.refreshDynamicInstance();
3539
+ });
3447
3540
  },
3448
3541
  enumerable: false,
3449
3542
  configurable: true
@@ -3472,6 +3565,12 @@
3472
3565
  });
3473
3566
  });
3474
3567
  };
3568
+ FormComponent.prototype.refreshProperties = function () {
3569
+ var _this = this;
3570
+ this.baseInstance.options = this.options;
3571
+ this.baseInstance.form = this.form;
3572
+ this._subscription.add(this.baseInstance.invokeSubmit.subscribe(function (e) { return _this.invokeSubmit.emit(e); }));
3573
+ };
3475
3574
  FormComponent.prototype.ngOnDestroy = function () {
3476
3575
  if (this._subscription) {
3477
3576
  this._subscription.unsubscribe();
@@ -3508,22 +3607,7 @@
3508
3607
  this.form.updateValueAndValidity();
3509
3608
  };
3510
3609
  FormComponent.prototype.initType = function () {
3511
- var _this = this;
3512
3610
  var fieldWithOptions = models.getModelFieldsWithOptions(this._options.model);
3513
- var component = DynamicComponentStorageService.get("form", this.moduleRef)[0];
3514
- if (component) {
3515
- setTimeout(function () {
3516
- var factory = _this.componentFactoryResolver.resolveComponentFactory(component);
3517
- if (!_this.customTpl.get(0)) {
3518
- var instance = _this.customTpl.createComponent(factory).instance;
3519
- instance.options = _this.options;
3520
- instance.form = _this.form;
3521
- _this._subscription.add(instance.invokeSubmit.subscribe(function (e) { return _this.invokeSubmit.emit(e); }));
3522
- _this.cd.detectChanges();
3523
- }
3524
- });
3525
- return;
3526
- }
3527
3611
  if (fieldWithOptions.some(function (fwo) { return fwo.options.step; })) {
3528
3612
  this.type = "stepper";
3529
3613
  return;
@@ -3567,12 +3651,12 @@
3567
3651
  });
3568
3652
  };
3569
3653
  return FormComponent;
3570
- }());
3654
+ }(CreateDynamicComponent("form")));
3571
3655
  /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
3572
3656
  FormComponent.decorators = [
3573
3657
  { type: i0.Component, args: [{
3574
3658
  selector: "smart-form",
3575
- template: "\n <div *ngIf=\"export || import\" style=\"text-align: right\">\n <smart-export *ngIf=\"export\"\n [value]=\"options?.control?.value\"\n [handler]=\"exportHandler\"\n ></smart-export>\n <smart-import *ngIf=\"import\"\n (set)=\"onSetValue($event)\"\n [accept]=\"importAccept\"\n ></smart-import>\n </div>\n <form *ngIf=\"form\" [formGroup]=\"form\" (ngSubmit)=\"invokeSubmit.emit(form.value)\" (keyup.enter)=\"invokeSubmit.emit(form.value)\">\n <smart-form-standard\n *ngIf=\"options && type === 'standard'\"\n [options]=\"options\"\n [form]=\"form\"\n (invokeSubmit)=\"invokeSubmit.emit($event)\"\n ></smart-form-standard>\n\n <smart-form-stepper\n *ngIf=\"options && type === 'stepper'\"\n [options]=\"options\"\n [form]=\"form\"\n (invokeSubmit)=\"invokeSubmit.emit($event)\"\n ></smart-form-stepper>\n \n <div #customTpl></div>\n </form>\n ",
3659
+ template: "\n <div *ngIf=\"export || import\" style=\"text-align: right\">\n <smart-export *ngIf=\"export\"\n [value]=\"options?.control?.value\"\n [handler]=\"exportHandler\"\n ></smart-export>\n <smart-import *ngIf=\"import\"\n (set)=\"onSetValue($event)\"\n [accept]=\"importAccept\"\n ></smart-import>\n </div>\n <form *ngIf=\"form\" [formGroup]=\"form\" (ngSubmit)=\"invokeSubmit.emit(form.value)\" (keyup.enter)=\"invokeSubmit.emit(form.value)\">\n <ng-container *ngIf=\"template === 'default'\">\n <smart-form-standard\n *ngIf=\"options && type === 'standard'\"\n [options]=\"options\"\n [form]=\"form\"\n (invokeSubmit)=\"invokeSubmit.emit($event)\"\n ></smart-form-standard>\n\n <smart-form-stepper\n *ngIf=\"options && type === 'stepper'\"\n [options]=\"options\"\n [form]=\"form\"\n (invokeSubmit)=\"invokeSubmit.emit($event)\"\n ></smart-form-stepper>\n </ng-container>\n \n <div #customTpl></div>\n </form>\n ",
3576
3660
  changeDetection: i0.ChangeDetectionStrategy.OnPush
3577
3661
  },] }
3578
3662
  ];
@@ -3602,28 +3686,6 @@
3602
3686
  validChange: [{ type: i0.Output }]
3603
3687
  };
3604
3688
 
3605
- var BaseComponent = /** @class */ (function () {
3606
- function BaseComponent() {
3607
- this.destroy$ = new rxjs.Subject();
3608
- }
3609
- Object.defineProperty(BaseComponent.prototype, "takeUntilDestroy", {
3610
- get: function () {
3611
- return operators.takeUntil(this.destroy$);
3612
- },
3613
- enumerable: false,
3614
- configurable: true
3615
- });
3616
- BaseComponent.prototype.ngOnDestroy = function () {
3617
- this.destroy$.next(true);
3618
- this.destroy$.unsubscribe();
3619
- };
3620
- return BaseComponent;
3621
- }());
3622
- /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
3623
- BaseComponent.decorators = [
3624
- { type: i0.Directive }
3625
- ];
3626
-
3627
3689
  var FormBaseComponent = /** @class */ (function (_super) {
3628
3690
  __extends(FormBaseComponent, _super);
3629
3691
  function FormBaseComponent(cd) {
@@ -3718,7 +3780,8 @@
3718
3780
  FormBaseComponent.propDecorators = {
3719
3781
  form: [{ type: i0.Input }],
3720
3782
  options: [{ type: i0.Input }],
3721
- invokeSubmit: [{ type: i0.Output }]
3783
+ invokeSubmit: [{ type: i0.Output }],
3784
+ contentTpl: [{ type: i0.ViewChild, args: ["contentTpl", { read: i0.ViewContainerRef, static: true },] }]
3722
3785
  };
3723
3786
 
3724
3787
  var FormStandardComponent = /** @class */ (function (_super) {
@@ -5008,13 +5071,16 @@
5008
5071
  show: [{ type: i0.Input }]
5009
5072
  };
5010
5073
 
5011
- var PageComponent = /** @class */ (function () {
5074
+ var PageComponent = /** @class */ (function (_super) {
5075
+ __extends(PageComponent, _super);
5012
5076
  function PageComponent(el, cd, renderer, moduleRef, componentFactoryResolver) {
5013
- this.el = el;
5014
- this.cd = cd;
5015
- this.renderer = renderer;
5016
- this.moduleRef = moduleRef;
5017
- this.componentFactoryResolver = componentFactoryResolver;
5077
+ var _this = _super.call(this, cd, moduleRef, componentFactoryResolver) || this;
5078
+ _this.el = el;
5079
+ _this.cd = cd;
5080
+ _this.renderer = renderer;
5081
+ _this.moduleRef = moduleRef;
5082
+ _this.componentFactoryResolver = componentFactoryResolver;
5083
+ return _this;
5018
5084
  }
5019
5085
  Object.defineProperty(PageComponent.prototype, "options", {
5020
5086
  get: function () {
@@ -5022,6 +5088,7 @@
5022
5088
  },
5023
5089
  set: function (val) {
5024
5090
  this._options = val;
5091
+ this.refreshDynamicInstance();
5025
5092
  },
5026
5093
  enumerable: false,
5027
5094
  configurable: true
@@ -5029,21 +5096,11 @@
5029
5096
  PageComponent.prototype.ngOnInit = function () {
5030
5097
  this.renderer.setStyle(this.el.nativeElement, 'height', '100%');
5031
5098
  };
5032
- PageComponent.prototype.ngAfterViewInit = function () {
5033
- var component = DynamicComponentStorageService.get("page", this.moduleRef)[0];
5034
- this.template = component ? "custom" : "default";
5035
- if (component) {
5036
- var factory = this.componentFactoryResolver.resolveComponentFactory(component);
5037
- if (!this.customTpl.get(0)) {
5038
- var instance = this.customTpl.createComponent(factory).instance;
5039
- instance.options = this.options;
5040
- instance.contentTpl.createEmbeddedView(this.contentTpl);
5041
- }
5042
- }
5043
- this.cd.detectChanges();
5099
+ PageComponent.prototype.refreshProperties = function () {
5100
+ this.baseInstance.options = this.options;
5044
5101
  };
5045
5102
  return PageComponent;
5046
- }());
5103
+ }(CreateDynamicComponent('page')));
5047
5104
  /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
5048
5105
  PageComponent.decorators = [
5049
5106
  { type: i0.Component, args: [{
@@ -5068,9 +5125,7 @@
5068
5125
  ]; };
5069
5126
  /** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
5070
5127
  PageComponent.propDecorators = {
5071
- options: [{ type: i0.Input }],
5072
- customTpl: [{ type: i0.ViewChild, args: ["customTpl", { read: i0.ViewContainerRef, static: false },] }],
5073
- contentTpl: [{ type: i0.ViewChild, args: ["contentTpl", { read: i0.TemplateRef, static: false },] }]
5128
+ options: [{ type: i0.Input }]
5074
5129
  };
5075
5130
 
5076
5131
  var PageBaseComponent = /** @class */ (function () {
@@ -7755,13 +7810,69 @@
7755
7810
  validChange: [{ type: i0.Output }]
7756
7811
  };
7757
7812
 
7813
+ var ButtonBaseComponent = /** @class */ (function () {
7814
+ function ButtonBaseComponent() {
7815
+ }
7816
+ ButtonBaseComponent.prototype.invoke = function () {
7817
+ if (!this.options)
7818
+ return;
7819
+ if (this.options.confirm) {
7820
+ this.mode = 'confirm';
7821
+ }
7822
+ else {
7823
+ this.options.click();
7824
+ }
7825
+ };
7826
+ ButtonBaseComponent.prototype.confirmInvoke = function () {
7827
+ if (!this.options)
7828
+ return;
7829
+ this.options.click();
7830
+ this.mode = 'default';
7831
+ };
7832
+ ButtonBaseComponent.prototype.confirmCancel = function () {
7833
+ if (!this.options)
7834
+ return;
7835
+ this.mode = 'default';
7836
+ };
7837
+ return ButtonBaseComponent;
7838
+ }());
7839
+ ButtonBaseComponent.smartType = "button";
7840
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
7841
+ ButtonBaseComponent.decorators = [
7842
+ { type: i0.Directive }
7843
+ ];
7844
+ /** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
7845
+ ButtonBaseComponent.propDecorators = {
7846
+ options: [{ type: i0.Input }],
7847
+ disabled: [{ type: i0.Input }],
7848
+ contentTpl: [{ type: i0.ViewChild, args: ["contentTpl", { read: i0.ViewContainerRef, static: true },] }]
7849
+ };
7850
+
7851
+ var ButtonStandardComponent = /** @class */ (function (_super) {
7852
+ __extends(ButtonStandardComponent, _super);
7853
+ function ButtonStandardComponent() {
7854
+ return _super !== null && _super.apply(this, arguments) || this;
7855
+ }
7856
+ return ButtonStandardComponent;
7857
+ }(ButtonBaseComponent));
7858
+ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
7859
+ ButtonStandardComponent.decorators = [
7860
+ { type: i0.Component, args: [{
7861
+ selector: 'smart-button-standard',
7862
+ template: "<ng-container *ngIf=\"mode != 'confirm'; else confirmTpl\">\n <ion-button [color]=\"options?.color\" [expand]=\"options?.expand\" [type]=\"options?.type\" (click)=\"invoke()\" [disabled]=\"disabled || (options?.loading$ | async)\">\n <ion-spinner *ngIf=\"options?.loading$ | async; else content\"></ion-spinner>\n <ng-template #content>\n <ng-content></ng-content>\n </ng-template>\n </ion-button>\n</ng-container>\n\n<ng-template #confirmTpl>\n <ion-button [expand]=\"options?.expand\" color=\"light\" (click)=\"confirmCancel()\">{{'cancel' | translate}}</ion-button>\n <ion-button [expand]=\"options?.expand\" color=\"primary\" (click)=\"confirmInvoke()\">{{'confirm' | translate}}</ion-button>\n</ng-template>",
7863
+ encapsulation: i0.ViewEncapsulation.None,
7864
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
7865
+ 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)}ion-button{height:3.6rem;height:var(--smart-button-height);min-width:3.6rem;min-width:var(--smart-button-min-width);vertical-align:middle;border-radius:0;--border-radius: 0;--padding-bottom: var(--smart-button-padding-bottom);--padding-end: var(--smart-button-padding-right);--padding-start: var(--smart-button-padding-left);--padding-top: var(--smart-button-padding-top)}ion-button[color=light]{--background: var(--ion-color-light)}ion-button ion-icon{font-size:1.8rem!important;font-size:var(--smart-button-icon-size)!important}ion-button.squere-button{height:3.6rem;height:var(--smart-button-height);width:3.6rem;width:var(--smart-button-min-width);--padding-bottom: var(--smart-button-padding-bottom)/2;--padding-end: var(--smart-button-padding-right)/2;--padding-start: var(--smart-button-padding-left)/2;--padding-top: var(--smart-button-padding-top)/2}ion-button.button-clear{height:3.6rem;height:var(--smart-button-height);--padding-bottom: var(--smart-button-padding-bottom)/2;--padding-top: var(--smart-button-padding-top)/2}ion-button.button-clear.in-toolbar ion-icon{font-size:2.2rem!important;vertical-align:middle}ion-button.button-clear.ios.in-toolbar ion-icon{font-size:2.2rem!important;vertical-align:middle;color:#f4f5f8;color:var(--ion-color-light)}.button-container ion-button{margin-left:1.2rem}ion-button.smart-fingerprint{--background: transparent}\n"]
7866
+ },] }
7867
+ ];
7868
+
7758
7869
  var APP_COMPONENTS = [AppSplitPanelComponent];
7759
7870
  var ACCORDION_COMPONENTS = [
7760
7871
  AccordionComponent,
7761
7872
  AccordionHeaderComponent,
7762
7873
  AccordionBodyComponent,
7763
7874
  ];
7764
- var BUTTON_COMPONENTS = [ButtonComponent];
7875
+ var BUTTON_COMPONENTS = [ButtonComponent, ButtonStandardComponent];
7765
7876
  var CARD_COMPONENTS = [CardComponent];
7766
7877
  var CHART_COMPONENTS = [
7767
7878
  ChartComponent,
@@ -8210,7 +8321,9 @@
8210
8321
  exports.AuthService = AuthService;
8211
8322
  exports.BUTTON_COMPONENTS = BUTTON_COMPONENTS;
8212
8323
  exports.BaseComponent = BaseComponent;
8324
+ exports.ButtonBaseComponent = ButtonBaseComponent;
8213
8325
  exports.ButtonComponent = ButtonComponent;
8326
+ exports.ButtonStandardComponent = ButtonStandardComponent;
8214
8327
  exports.CARD_COMPONENTS = CARD_COMPONENTS;
8215
8328
  exports.CHART_COMPONENTS = CHART_COMPONENTS;
8216
8329
  exports.COMPONENTS = COMPONENTS$1;
@@ -8220,6 +8333,7 @@
8220
8333
  exports.ChartBarComponent = ChartBarComponent;
8221
8334
  exports.ChartComponent = ChartComponent;
8222
8335
  exports.ChartLineComponent = ChartLineComponent;
8336
+ exports.CreateDynamicComponent = CreateDynamicComponent;
8223
8337
  exports.DATE_EDIT_COMPONENTS = DATE_EDIT_COMPONENTS;
8224
8338
  exports.DATE_RANGE_COMPONENTS = DATE_RANGE_COMPONENTS;
8225
8339
  exports.DETAILS_COMPONENTS = DETAILS_COMPONENTS;
@@ -8245,6 +8359,7 @@
8245
8359
  exports.DetailPdfComponent = DetailPdfComponent;
8246
8360
  exports.DetailTextComponent = DetailTextComponent;
8247
8361
  exports.DetailVideoComponent = DetailVideoComponent;
8362
+ exports.DetailsBaseComponent = DetailsBaseComponent;
8248
8363
  exports.DetailsComponent = DetailsComponent;
8249
8364
  exports.DetailsDirective = DetailsDirective;
8250
8365
  exports.DetailsPage = DetailsPage;
@@ -8451,64 +8566,66 @@
8451
8566
  exports["ɵea"] = InputImageComponent;
8452
8567
  exports["ɵeb"] = InputFloatComponent;
8453
8568
  exports["ɵec"] = ButtonComponent;
8454
- exports["ɵed"] = CardComponent;
8455
- exports["ɵee"] = ListComponent;
8456
- exports["ɵef"] = ListMobileComponent;
8457
- exports["ɵeg"] = ListBaseComponent;
8458
- exports["ɵeh"] = ListDesktopComponent;
8459
- exports["ɵei"] = ListMasonryGridComponent;
8460
- exports["ɵej"] = LoaderComponent;
8461
- exports["ɵek"] = DetailComponent;
8462
- exports["ɵel"] = DetailTextComponent;
8463
- exports["ɵem"] = DetailBaseComponent;
8464
- exports["ɵen"] = DetailFlagComponent;
8465
- exports["ɵeo"] = DetailEnumComponent;
8466
- exports["ɵep"] = DetailEmailComponent;
8467
- exports["ɵeq"] = DetailAddressComponent;
8468
- exports["ɵer"] = DetailObjectComponent;
8469
- exports["ɵes"] = DetailColorComponent;
8470
- exports["ɵet"] = DetailLogoComponent;
8471
- exports["ɵeu"] = DetailArrayComponent;
8472
- exports["ɵev"] = DetailPdfComponent;
8473
- exports["ɵew"] = DetailVideoComponent;
8474
- exports["ɵex"] = DetailAttachmentComponent;
8475
- exports["ɵey"] = DetailDateRangeComponent;
8476
- exports["ɵez"] = DetailImageComponent;
8569
+ exports["ɵed"] = ButtonStandardComponent;
8570
+ exports["ɵee"] = ButtonBaseComponent;
8571
+ exports["ɵef"] = CardComponent;
8572
+ exports["ɵeg"] = ListComponent;
8573
+ exports["ɵeh"] = ListMobileComponent;
8574
+ exports["ɵei"] = ListBaseComponent;
8575
+ exports["ɵej"] = ListDesktopComponent;
8576
+ exports["ɵek"] = ListMasonryGridComponent;
8577
+ exports["ɵel"] = LoaderComponent;
8578
+ exports["ɵem"] = DetailComponent;
8579
+ exports["ɵen"] = DetailTextComponent;
8580
+ exports["ɵeo"] = DetailBaseComponent;
8581
+ exports["ɵep"] = DetailFlagComponent;
8582
+ exports["ɵeq"] = DetailEnumComponent;
8583
+ exports["ɵer"] = DetailEmailComponent;
8584
+ exports["ɵes"] = DetailAddressComponent;
8585
+ exports["ɵet"] = DetailObjectComponent;
8586
+ exports["ɵeu"] = DetailColorComponent;
8587
+ exports["ɵev"] = DetailLogoComponent;
8588
+ exports["ɵew"] = DetailArrayComponent;
8589
+ exports["ɵex"] = DetailPdfComponent;
8590
+ exports["ɵey"] = DetailVideoComponent;
8591
+ exports["ɵez"] = DetailAttachmentComponent;
8477
8592
  exports["ɵf"] = StorageService;
8478
- exports["ɵfa"] = DetailsComponent;
8479
- exports["ɵfb"] = DetailsStandardComponent;
8480
- exports["ɵfc"] = DetailsBaseComponent;
8481
- exports["ɵfd"] = SearchbarComponent;
8482
- exports["ɵfe"] = TabsComponent;
8483
- exports["ɵff"] = TabComponent;
8484
- exports["ɵfg"] = AccordionComponent;
8485
- exports["ɵfh"] = AccordionHeaderComponent;
8486
- exports["ɵfi"] = AccordionBodyComponent;
8487
- exports["ɵfj"] = ChartComponent;
8488
- exports["ɵfk"] = ChartLineComponent;
8489
- exports["ɵfl"] = ChartBaseComponent;
8490
- exports["ɵfm"] = ChartBarComponent;
8491
- exports["ɵfn"] = GridComponent;
8492
- exports["ɵfo"] = GridRowComponent;
8493
- exports["ɵfp"] = GridColumnComponent;
8494
- exports["ɵfq"] = DynamicComponent;
8495
- exports["ɵfr"] = PasswordStrengthComponent;
8496
- exports["ɵfs"] = InfoComponent;
8497
- exports["ɵft"] = InfoModalComponent;
8498
- exports["ɵfu"] = DateRangeComponent;
8499
- exports["ɵfv"] = DateRangeModalComponent;
8500
- exports["ɵfw"] = DateEditComponent;
8501
- exports["ɵfx"] = ErrorContextComponent;
8502
- exports["ɵfy"] = ExportComponent;
8503
- exports["ɵfz"] = ImportComponent;
8593
+ exports["ɵfa"] = DetailDateRangeComponent;
8594
+ exports["ɵfb"] = DetailImageComponent;
8595
+ exports["ɵfc"] = DetailsComponent;
8596
+ exports["ɵfd"] = DetailsStandardComponent;
8597
+ exports["ɵfe"] = DetailsBaseComponent;
8598
+ exports["ɵff"] = SearchbarComponent;
8599
+ exports["ɵfg"] = TabsComponent;
8600
+ exports["ɵfh"] = TabComponent;
8601
+ exports["ɵfi"] = AccordionComponent;
8602
+ exports["ɵfj"] = AccordionHeaderComponent;
8603
+ exports["ɵfk"] = AccordionBodyComponent;
8604
+ exports["ɵfl"] = ChartComponent;
8605
+ exports["ɵfm"] = ChartLineComponent;
8606
+ exports["ɵfn"] = ChartBaseComponent;
8607
+ exports["ɵfo"] = ChartBarComponent;
8608
+ exports["ɵfp"] = GridComponent;
8609
+ exports["ɵfq"] = GridRowComponent;
8610
+ exports["ɵfr"] = GridColumnComponent;
8611
+ exports["ɵfs"] = DynamicComponent;
8612
+ exports["ɵft"] = PasswordStrengthComponent;
8613
+ exports["ɵfu"] = InfoComponent;
8614
+ exports["ɵfv"] = InfoModalComponent;
8615
+ exports["ɵfw"] = DateRangeComponent;
8616
+ exports["ɵfx"] = DateRangeModalComponent;
8617
+ exports["ɵfy"] = DateEditComponent;
8618
+ exports["ɵfz"] = ErrorContextComponent;
8504
8619
  exports["ɵg"] = SharedServicesModule;
8505
- exports["ɵga"] = SharedDirectivesModule;
8506
- exports["ɵgb"] = DetailsDirective;
8507
- exports["ɵgc"] = DateValidator;
8508
- exports["ɵgd"] = SharedPagesModule;
8509
- exports["ɵge"] = DetailsPage;
8510
- exports["ɵgf"] = NgrxStoreService;
8511
- exports["ɵgg"] = ErrorEffects;
8620
+ exports["ɵga"] = ExportComponent;
8621
+ exports["ɵgb"] = ImportComponent;
8622
+ exports["ɵgc"] = SharedDirectivesModule;
8623
+ exports["ɵgd"] = DetailsDirective;
8624
+ exports["ɵge"] = DateValidator;
8625
+ exports["ɵgf"] = SharedPagesModule;
8626
+ exports["ɵgg"] = DetailsPage;
8627
+ exports["ɵgh"] = NgrxStoreService;
8628
+ exports["ɵgi"] = ErrorEffects;
8512
8629
  exports["ɵh"] = ToastService;
8513
8630
  exports["ɵi"] = ErrorService;
8514
8631
  exports["ɵj"] = HardwareService;