@smartsoft001/angular 1.1.676 → 1.1.680
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/smartsoft001-angular.umd.js +186 -151
- package/bundles/smartsoft001-angular.umd.js.map +1 -1
- package/esm2015/lib/components/base/base.component.js +30 -21
- package/esm2015/lib/components/button/button.component.js +2 -2
- package/esm2015/lib/components/form/form.component.js +2 -2
- package/esm2015/lib/components/list/list.component.js +2 -2
- package/esm2015/lib/components/page/page.component.js +2 -2
- package/esm2015/lib/directives/directives.module.js +4 -2
- package/esm2015/lib/directives/dynamic-content/dynamic-content.directive.js +24 -0
- package/esm2015/lib/directives/index.js +2 -1
- package/esm2015/smartsoft001-angular.js +6 -5
- package/fesm2015/smartsoft001-angular.js +158 -126
- package/fesm2015/smartsoft001-angular.js.map +1 -1
- package/lib/components/components.module.d.ts +2 -2
- package/lib/directives/dynamic-content/dynamic-content.directive.d.ts +5 -0
- package/lib/directives/index.d.ts +1 -0
- package/package.json +5 -5
- package/smartsoft001-angular.d.ts +5 -4
- package/smartsoft001-angular.metadata.json +1 -1
|
@@ -2815,6 +2815,154 @@
|
|
|
2815
2815
|
return DynamicComponentStorageService;
|
|
2816
2816
|
}());
|
|
2817
2817
|
|
|
2818
|
+
var DetailsDirective = /** @class */ (function () {
|
|
2819
|
+
function DetailsDirective(modalService, hardwareService) {
|
|
2820
|
+
this.modalService = modalService;
|
|
2821
|
+
this.hardwareService = hardwareService;
|
|
2822
|
+
this.smartDetailsShowed = new i0.EventEmitter();
|
|
2823
|
+
this.smartDetailsDismissed = new i0.EventEmitter();
|
|
2824
|
+
}
|
|
2825
|
+
DetailsDirective.prototype.click = function () {
|
|
2826
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2827
|
+
var modal, handler;
|
|
2828
|
+
var _this = this;
|
|
2829
|
+
return __generator(this, function (_a) {
|
|
2830
|
+
switch (_a.label) {
|
|
2831
|
+
case 0:
|
|
2832
|
+
if (!this.options || !this.options.component)
|
|
2833
|
+
return [2 /*return*/];
|
|
2834
|
+
return [4 /*yield*/, this.modalService.show({
|
|
2835
|
+
component: this.options.component,
|
|
2836
|
+
props: {
|
|
2837
|
+
value: this.options.params
|
|
2838
|
+
},
|
|
2839
|
+
mode: this.options.mode ? this.options.mode : "bottom"
|
|
2840
|
+
})];
|
|
2841
|
+
case 1:
|
|
2842
|
+
modal = _a.sent();
|
|
2843
|
+
this.smartDetailsShowed.emit();
|
|
2844
|
+
handler = this.hardwareService.onBackButtonClick(function () { return __awaiter(_this, void 0, void 0, function () {
|
|
2845
|
+
return __generator(this, function (_a) {
|
|
2846
|
+
switch (_a.label) {
|
|
2847
|
+
case 0:
|
|
2848
|
+
if (!modal) return [3 /*break*/, 2];
|
|
2849
|
+
return [4 /*yield*/, modal.dismiss()];
|
|
2850
|
+
case 1:
|
|
2851
|
+
_a.sent();
|
|
2852
|
+
_a.label = 2;
|
|
2853
|
+
case 2: return [2 /*return*/];
|
|
2854
|
+
}
|
|
2855
|
+
});
|
|
2856
|
+
}); });
|
|
2857
|
+
return [4 /*yield*/, modal.onDidDismiss()];
|
|
2858
|
+
case 2:
|
|
2859
|
+
_a.sent();
|
|
2860
|
+
handler.remove();
|
|
2861
|
+
modal = null;
|
|
2862
|
+
this.smartDetailsDismissed.emit();
|
|
2863
|
+
return [2 /*return*/];
|
|
2864
|
+
}
|
|
2865
|
+
});
|
|
2866
|
+
});
|
|
2867
|
+
};
|
|
2868
|
+
return DetailsDirective;
|
|
2869
|
+
}());
|
|
2870
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
2871
|
+
DetailsDirective.decorators = [
|
|
2872
|
+
{ type: i0.Directive, args: [{
|
|
2873
|
+
selector: "[smartDetails]"
|
|
2874
|
+
},] }
|
|
2875
|
+
];
|
|
2876
|
+
/**
|
|
2877
|
+
* @type {function(): !Array<(null|{
|
|
2878
|
+
* type: ?,
|
|
2879
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
2880
|
+
* })>}
|
|
2881
|
+
* @nocollapse
|
|
2882
|
+
*/
|
|
2883
|
+
DetailsDirective.ctorParameters = function () { return [
|
|
2884
|
+
{ type: ModalService },
|
|
2885
|
+
{ type: HardwareService }
|
|
2886
|
+
]; };
|
|
2887
|
+
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
2888
|
+
DetailsDirective.propDecorators = {
|
|
2889
|
+
options: [{ type: i0.Input, args: ["smartDetails",] }],
|
|
2890
|
+
smartDetailsShowed: [{ type: i0.Output }],
|
|
2891
|
+
smartDetailsDismissed: [{ type: i0.Output }],
|
|
2892
|
+
click: [{ type: i0.HostListener, args: ["click",] }]
|
|
2893
|
+
};
|
|
2894
|
+
|
|
2895
|
+
var DATE_VALIDATOR = {
|
|
2896
|
+
provide: forms.NG_VALIDATORS,
|
|
2897
|
+
useExisting: i0.forwardRef(function () { return DateValidator; }),
|
|
2898
|
+
multi: true
|
|
2899
|
+
};
|
|
2900
|
+
var DateValidator = /** @class */ (function () {
|
|
2901
|
+
function DateValidator() {
|
|
2902
|
+
}
|
|
2903
|
+
DateValidator.prototype.validate = function (c) {
|
|
2904
|
+
if (!moment__namespace(c.value).isValid()) {
|
|
2905
|
+
return {
|
|
2906
|
+
date: true
|
|
2907
|
+
};
|
|
2908
|
+
}
|
|
2909
|
+
return null;
|
|
2910
|
+
};
|
|
2911
|
+
return DateValidator;
|
|
2912
|
+
}());
|
|
2913
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
2914
|
+
DateValidator.decorators = [
|
|
2915
|
+
{ type: i0.Directive, args: [{
|
|
2916
|
+
selector: '[smartDateValidator][formControlName],[smartDateValidator][formControl],[smartDateValidator][ngModel]',
|
|
2917
|
+
providers: [DATE_VALIDATOR]
|
|
2918
|
+
},] }
|
|
2919
|
+
];
|
|
2920
|
+
|
|
2921
|
+
var DynamicContentDirective = /** @class */ (function () {
|
|
2922
|
+
function DynamicContentDirective(container) {
|
|
2923
|
+
this.container = container;
|
|
2924
|
+
}
|
|
2925
|
+
return DynamicContentDirective;
|
|
2926
|
+
}());
|
|
2927
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
2928
|
+
DynamicContentDirective.decorators = [
|
|
2929
|
+
{ type: i0.Directive, args: [{
|
|
2930
|
+
// tslint:disable-next-line:directive-selector
|
|
2931
|
+
selector: ".dynamic-content"
|
|
2932
|
+
},] }
|
|
2933
|
+
];
|
|
2934
|
+
/**
|
|
2935
|
+
* @type {function(): !Array<(null|{
|
|
2936
|
+
* type: ?,
|
|
2937
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
2938
|
+
* })>}
|
|
2939
|
+
* @nocollapse
|
|
2940
|
+
*/
|
|
2941
|
+
DynamicContentDirective.ctorParameters = function () { return [
|
|
2942
|
+
{ type: i0.ViewContainerRef }
|
|
2943
|
+
]; };
|
|
2944
|
+
|
|
2945
|
+
var DIRECTIVES = [
|
|
2946
|
+
DetailsDirective,
|
|
2947
|
+
DateValidator,
|
|
2948
|
+
DynamicContentDirective
|
|
2949
|
+
];
|
|
2950
|
+
var SharedDirectivesModule = /** @class */ (function () {
|
|
2951
|
+
function SharedDirectivesModule() {
|
|
2952
|
+
}
|
|
2953
|
+
return SharedDirectivesModule;
|
|
2954
|
+
}());
|
|
2955
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
2956
|
+
SharedDirectivesModule.decorators = [
|
|
2957
|
+
{ type: i0.NgModule, args: [{
|
|
2958
|
+
imports: [
|
|
2959
|
+
SharedServicesModule
|
|
2960
|
+
],
|
|
2961
|
+
declarations: __spreadArray([], __read(DIRECTIVES)),
|
|
2962
|
+
exports: __spreadArray([], __read(DIRECTIVES))
|
|
2963
|
+
},] }
|
|
2964
|
+
];
|
|
2965
|
+
|
|
2818
2966
|
var BaseComponent = /** @class */ (function () {
|
|
2819
2967
|
function BaseComponent() {
|
|
2820
2968
|
this.destroy$ = new rxjs.Subject();
|
|
@@ -2844,35 +2992,43 @@
|
|
|
2844
2992
|
_this.cd = cd;
|
|
2845
2993
|
_this.moduleRef = moduleRef;
|
|
2846
2994
|
_this.componentFactoryResolver = componentFactoryResolver;
|
|
2995
|
+
_this._renderCustom = false;
|
|
2996
|
+
_this._findDynamicContent = false;
|
|
2847
2997
|
_this.dynamicType = type;
|
|
2998
|
+
_this.dynamicContents = new i0.QueryList();
|
|
2848
2999
|
return _this;
|
|
2849
3000
|
}
|
|
2850
|
-
Component.prototype.ngAfterViewInit = function () {
|
|
2851
|
-
this.init();
|
|
2852
|
-
};
|
|
2853
3001
|
Component.prototype.refreshDynamicInstance = function () {
|
|
2854
3002
|
this.init();
|
|
2855
3003
|
if (!this.baseInstance)
|
|
2856
3004
|
return;
|
|
2857
3005
|
this.refreshProperties();
|
|
2858
3006
|
};
|
|
2859
|
-
Component.prototype.
|
|
3007
|
+
Component.prototype.ngDoCheck = function () {
|
|
2860
3008
|
var _this = this;
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
var factory = _this.componentFactoryResolver.resolveComponentFactory(component);
|
|
2867
|
-
if (_this.customTpl && !_this.customTpl.get(0)) {
|
|
2868
|
-
_this.baseInstance = _this.customTpl.createComponent(factory).instance;
|
|
2869
|
-
_this.refreshDynamicInstance();
|
|
2870
|
-
(_a = _this.baseInstance.contentTpl) === null || _a === void 0 ? void 0 : _a.createEmbeddedView(_this.contentTpl);
|
|
2871
|
-
}
|
|
2872
|
-
}
|
|
2873
|
-
if (_this.cd)
|
|
2874
|
-
_this.cd.detectChanges();
|
|
3009
|
+
if (this._findDynamicContent || !this.dynamicContents)
|
|
3010
|
+
return;
|
|
3011
|
+
this._findDynamicContent = true;
|
|
3012
|
+
this.dynamicContents.changes.pipe(this.takeUntilDestroy).subscribe(function () {
|
|
3013
|
+
_this.init();
|
|
2875
3014
|
});
|
|
3015
|
+
this.init();
|
|
3016
|
+
};
|
|
3017
|
+
Component.prototype.init = function () {
|
|
3018
|
+
var _a, _b;
|
|
3019
|
+
var component = DynamicComponentStorageService.get(this.dynamicType, this.moduleRef)[0];
|
|
3020
|
+
this.template = component ? "custom" : "default";
|
|
3021
|
+
if (component && !this._renderCustom) {
|
|
3022
|
+
var factory = this.componentFactoryResolver.resolveComponentFactory(component);
|
|
3023
|
+
if ((_a = this.dynamicContents) === null || _a === void 0 ? void 0 : _a.first) {
|
|
3024
|
+
this._renderCustom = true;
|
|
3025
|
+
this.baseInstance = this.dynamicContents.first.container.createComponent(factory).instance;
|
|
3026
|
+
this.refreshDynamicInstance();
|
|
3027
|
+
(_b = this.baseInstance.contentTpl) === null || _b === void 0 ? void 0 : _b.createEmbeddedView(this.contentTpl);
|
|
3028
|
+
}
|
|
3029
|
+
}
|
|
3030
|
+
if (this.cd)
|
|
3031
|
+
this.cd.detectChanges();
|
|
2876
3032
|
};
|
|
2877
3033
|
return Component;
|
|
2878
3034
|
}(BaseComponent));
|
|
@@ -2894,8 +3050,8 @@
|
|
|
2894
3050
|
]; };
|
|
2895
3051
|
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
2896
3052
|
Component.propDecorators = {
|
|
2897
|
-
|
|
2898
|
-
|
|
3053
|
+
contentTpl: [{ type: i0.ViewChild, args: ["contentTpl", { read: i0.TemplateRef, static: false },] }],
|
|
3054
|
+
dynamicContents: [{ type: i0.ViewChildren, args: [DynamicContentDirective, { read: DynamicContentDirective },] }]
|
|
2899
3055
|
};
|
|
2900
3056
|
return Component;
|
|
2901
3057
|
}
|
|
@@ -2933,7 +3089,7 @@
|
|
|
2933
3089
|
ButtonComponent.decorators = [
|
|
2934
3090
|
{ type: i0.Component, args: [{
|
|
2935
3091
|
selector: 'smart-button',
|
|
2936
|
-
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
|
|
3092
|
+
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 class=\"dynamic-content\"></div>\n ",
|
|
2937
3093
|
encapsulation: i0.ViewEncapsulation.None,
|
|
2938
3094
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
2939
3095
|
},] }
|
|
@@ -3664,7 +3820,7 @@
|
|
|
3664
3820
|
FormComponent.decorators = [
|
|
3665
3821
|
{ type: i0.Component, args: [{
|
|
3666
3822
|
selector: "smart-form",
|
|
3667
|
-
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
|
|
3823
|
+
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 class=\"dynamic-content\"></div>\n </form>\n ",
|
|
3668
3824
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
3669
3825
|
},] }
|
|
3670
3826
|
];
|
|
@@ -4709,7 +4865,7 @@
|
|
|
4709
4865
|
ListComponent.decorators = [
|
|
4710
4866
|
{ type: i0.Component, args: [{
|
|
4711
4867
|
selector: 'smart-list',
|
|
4712
|
-
template: "<ng-container *ngIf=\"template === 'default'\">\n <ng-container [ngSwitch]=\"mode\">\n <smart-list-desktop *ngSwitchCase=\"ListMode.desktop\" [options]=\"internalOptions\"></smart-list-desktop>\n <smart-list-mobile *ngSwitchCase=\"ListMode.mobile\" [options]=\"internalOptions\"></smart-list-mobile>\n <smart-list-masonry-grid *ngSwitchCase=\"ListMode.masonryGrid\" [options]=\"internalOptions\"></smart-list-masonry-grid>\n </ng-container>\n\n <ion-row>\n <ion-col></ion-col>\n <ion-col size=\"auto\">\n <smart-loader [show]=\"internalOptions?.provider?.loading$ | async\"></smart-loader>\n <h2 *ngIf=\"!(internalOptions?.provider?.loading$ | async) && !(internalOptions.provider.list$ | async)?.length\">\n <br/>\n {{ 'noResults' | translate }}\n </h2>\n </ion-col>\n <ion-col></ion-col>\n </ion-row>\n\n <ng-container [ngTemplateOutlet]=\"contentTpl\"></ng-container>\n</ng-container>\n<ng-template #contentTpl>\n <ng-content></ng-content>\n</ng-template>\n<div
|
|
4868
|
+
template: "<ng-container *ngIf=\"template === 'default'\">\n <ng-container [ngSwitch]=\"mode\">\n <smart-list-desktop *ngSwitchCase=\"ListMode.desktop\" [options]=\"internalOptions\"></smart-list-desktop>\n <smart-list-mobile *ngSwitchCase=\"ListMode.mobile\" [options]=\"internalOptions\"></smart-list-mobile>\n <smart-list-masonry-grid *ngSwitchCase=\"ListMode.masonryGrid\" [options]=\"internalOptions\"></smart-list-masonry-grid>\n </ng-container>\n\n <ion-row>\n <ion-col></ion-col>\n <ion-col size=\"auto\">\n <smart-loader [show]=\"internalOptions?.provider?.loading$ | async\"></smart-loader>\n <h2 *ngIf=\"!(internalOptions?.provider?.loading$ | async) && !(internalOptions.provider.list$ | async)?.length\">\n <br/>\n {{ 'noResults' | translate }}\n </h2>\n </ion-col>\n <ion-col></ion-col>\n </ion-row>\n\n <ng-container [ngTemplateOutlet]=\"contentTpl\"></ng-container>\n</ng-container>\n<ng-template #contentTpl>\n <ng-content></ng-content>\n</ng-template>\n<div class=\"dynamic-content\"></div>\n",
|
|
4713
4869
|
encapsulation: i0.ViewEncapsulation.None,
|
|
4714
4870
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
4715
4871
|
styles: ["", "span{--error-color: #f04141}.smart-modal-bottom .modal-wrapper{position:fixed;height:75%;bottom:0}.alert-tappable.alert-radio{height:auto;contain:content}.alert-radio-label.sc-ion-alert-md,.alert-radio-label.sc-ion-alert-ios{white-space:normal}: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)}\n"]
|
|
@@ -5133,7 +5289,7 @@
|
|
|
5133
5289
|
PageComponent.decorators = [
|
|
5134
5290
|
{ type: i0.Component, args: [{
|
|
5135
5291
|
selector: 'smart-page',
|
|
5136
|
-
template: "\n <smart-page-standard *ngIf=\"template === 'default'\" [options]=\"options\">\n <ng-container [ngTemplateOutlet]=\"contentTpl\"></ng-container>\n </smart-page-standard>\n <ng-template #contentTpl>\n <ng-content></ng-content>\n </ng-template>\n <div
|
|
5292
|
+
template: "\n <smart-page-standard *ngIf=\"template === 'default'\" [options]=\"options\">\n <ng-container [ngTemplateOutlet]=\"contentTpl\"></ng-container>\n </smart-page-standard>\n <ng-template #contentTpl>\n <ng-content></ng-content>\n </ng-template>\n <div class=\"dynamic-content\"></div>\n ",
|
|
5137
5293
|
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
5138
5294
|
},] }
|
|
5139
5295
|
];
|
|
@@ -5344,129 +5500,6 @@
|
|
|
5344
5500
|
searchEl: [{ type: i0.ViewChild, args: ["searchbar", { static: true, read: i1.IonSearchbar },] }]
|
|
5345
5501
|
};
|
|
5346
5502
|
|
|
5347
|
-
var DetailsDirective = /** @class */ (function () {
|
|
5348
|
-
function DetailsDirective(modalService, hardwareService) {
|
|
5349
|
-
this.modalService = modalService;
|
|
5350
|
-
this.hardwareService = hardwareService;
|
|
5351
|
-
this.smartDetailsShowed = new i0.EventEmitter();
|
|
5352
|
-
this.smartDetailsDismissed = new i0.EventEmitter();
|
|
5353
|
-
}
|
|
5354
|
-
DetailsDirective.prototype.click = function () {
|
|
5355
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
5356
|
-
var modal, handler;
|
|
5357
|
-
var _this = this;
|
|
5358
|
-
return __generator(this, function (_a) {
|
|
5359
|
-
switch (_a.label) {
|
|
5360
|
-
case 0:
|
|
5361
|
-
if (!this.options || !this.options.component)
|
|
5362
|
-
return [2 /*return*/];
|
|
5363
|
-
return [4 /*yield*/, this.modalService.show({
|
|
5364
|
-
component: this.options.component,
|
|
5365
|
-
props: {
|
|
5366
|
-
value: this.options.params
|
|
5367
|
-
},
|
|
5368
|
-
mode: this.options.mode ? this.options.mode : "bottom"
|
|
5369
|
-
})];
|
|
5370
|
-
case 1:
|
|
5371
|
-
modal = _a.sent();
|
|
5372
|
-
this.smartDetailsShowed.emit();
|
|
5373
|
-
handler = this.hardwareService.onBackButtonClick(function () { return __awaiter(_this, void 0, void 0, function () {
|
|
5374
|
-
return __generator(this, function (_a) {
|
|
5375
|
-
switch (_a.label) {
|
|
5376
|
-
case 0:
|
|
5377
|
-
if (!modal) return [3 /*break*/, 2];
|
|
5378
|
-
return [4 /*yield*/, modal.dismiss()];
|
|
5379
|
-
case 1:
|
|
5380
|
-
_a.sent();
|
|
5381
|
-
_a.label = 2;
|
|
5382
|
-
case 2: return [2 /*return*/];
|
|
5383
|
-
}
|
|
5384
|
-
});
|
|
5385
|
-
}); });
|
|
5386
|
-
return [4 /*yield*/, modal.onDidDismiss()];
|
|
5387
|
-
case 2:
|
|
5388
|
-
_a.sent();
|
|
5389
|
-
handler.remove();
|
|
5390
|
-
modal = null;
|
|
5391
|
-
this.smartDetailsDismissed.emit();
|
|
5392
|
-
return [2 /*return*/];
|
|
5393
|
-
}
|
|
5394
|
-
});
|
|
5395
|
-
});
|
|
5396
|
-
};
|
|
5397
|
-
return DetailsDirective;
|
|
5398
|
-
}());
|
|
5399
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
5400
|
-
DetailsDirective.decorators = [
|
|
5401
|
-
{ type: i0.Directive, args: [{
|
|
5402
|
-
selector: "[smartDetails]"
|
|
5403
|
-
},] }
|
|
5404
|
-
];
|
|
5405
|
-
/**
|
|
5406
|
-
* @type {function(): !Array<(null|{
|
|
5407
|
-
* type: ?,
|
|
5408
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
5409
|
-
* })>}
|
|
5410
|
-
* @nocollapse
|
|
5411
|
-
*/
|
|
5412
|
-
DetailsDirective.ctorParameters = function () { return [
|
|
5413
|
-
{ type: ModalService },
|
|
5414
|
-
{ type: HardwareService }
|
|
5415
|
-
]; };
|
|
5416
|
-
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
5417
|
-
DetailsDirective.propDecorators = {
|
|
5418
|
-
options: [{ type: i0.Input, args: ["smartDetails",] }],
|
|
5419
|
-
smartDetailsShowed: [{ type: i0.Output }],
|
|
5420
|
-
smartDetailsDismissed: [{ type: i0.Output }],
|
|
5421
|
-
click: [{ type: i0.HostListener, args: ["click",] }]
|
|
5422
|
-
};
|
|
5423
|
-
|
|
5424
|
-
var DATE_VALIDATOR = {
|
|
5425
|
-
provide: forms.NG_VALIDATORS,
|
|
5426
|
-
useExisting: i0.forwardRef(function () { return DateValidator; }),
|
|
5427
|
-
multi: true
|
|
5428
|
-
};
|
|
5429
|
-
var DateValidator = /** @class */ (function () {
|
|
5430
|
-
function DateValidator() {
|
|
5431
|
-
}
|
|
5432
|
-
DateValidator.prototype.validate = function (c) {
|
|
5433
|
-
if (!moment__namespace(c.value).isValid()) {
|
|
5434
|
-
return {
|
|
5435
|
-
date: true
|
|
5436
|
-
};
|
|
5437
|
-
}
|
|
5438
|
-
return null;
|
|
5439
|
-
};
|
|
5440
|
-
return DateValidator;
|
|
5441
|
-
}());
|
|
5442
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
5443
|
-
DateValidator.decorators = [
|
|
5444
|
-
{ type: i0.Directive, args: [{
|
|
5445
|
-
selector: '[smartDateValidator][formControlName],[smartDateValidator][formControl],[smartDateValidator][ngModel]',
|
|
5446
|
-
providers: [DATE_VALIDATOR]
|
|
5447
|
-
},] }
|
|
5448
|
-
];
|
|
5449
|
-
|
|
5450
|
-
var DIRECTIVES = [
|
|
5451
|
-
DetailsDirective,
|
|
5452
|
-
DateValidator
|
|
5453
|
-
];
|
|
5454
|
-
var SharedDirectivesModule = /** @class */ (function () {
|
|
5455
|
-
function SharedDirectivesModule() {
|
|
5456
|
-
}
|
|
5457
|
-
return SharedDirectivesModule;
|
|
5458
|
-
}());
|
|
5459
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
5460
|
-
SharedDirectivesModule.decorators = [
|
|
5461
|
-
{ type: i0.NgModule, args: [{
|
|
5462
|
-
imports: [
|
|
5463
|
-
SharedServicesModule
|
|
5464
|
-
],
|
|
5465
|
-
declarations: __spreadArray([], __read(DIRECTIVES)),
|
|
5466
|
-
exports: __spreadArray([], __read(DIRECTIVES))
|
|
5467
|
-
},] }
|
|
5468
|
-
];
|
|
5469
|
-
|
|
5470
5503
|
var TabComponent = /** @class */ (function () {
|
|
5471
5504
|
function TabComponent(container) {
|
|
5472
5505
|
this.container = container;
|
|
@@ -8410,6 +8443,7 @@
|
|
|
8410
8443
|
exports.DetailsStandardComponent = DetailsStandardComponent;
|
|
8411
8444
|
exports.DynamicComponent = DynamicComponent;
|
|
8412
8445
|
exports.DynamicComponentLoader = DynamicComponentLoader;
|
|
8446
|
+
exports.DynamicContentDirective = DynamicContentDirective;
|
|
8413
8447
|
exports.EnumToListPipe = EnumToListPipe;
|
|
8414
8448
|
exports.ErrorContextComponent = ErrorContextComponent;
|
|
8415
8449
|
exports.ErrorService = ErrorService;
|
|
@@ -8667,10 +8701,11 @@
|
|
|
8667
8701
|
exports["ɵgc"] = SharedDirectivesModule;
|
|
8668
8702
|
exports["ɵgd"] = DetailsDirective;
|
|
8669
8703
|
exports["ɵge"] = DateValidator;
|
|
8670
|
-
exports["ɵgf"] =
|
|
8671
|
-
exports["ɵgg"] =
|
|
8672
|
-
exports["ɵgh"] =
|
|
8673
|
-
exports["ɵgi"] =
|
|
8704
|
+
exports["ɵgf"] = DynamicContentDirective;
|
|
8705
|
+
exports["ɵgg"] = SharedPagesModule;
|
|
8706
|
+
exports["ɵgh"] = DetailsPage;
|
|
8707
|
+
exports["ɵgi"] = NgrxStoreService;
|
|
8708
|
+
exports["ɵgj"] = ErrorEffects;
|
|
8674
8709
|
exports["ɵh"] = ToastService;
|
|
8675
8710
|
exports["ɵi"] = ErrorService;
|
|
8676
8711
|
exports["ɵj"] = HardwareService;
|