@smartsoft001/angular 1.1.678 → 1.1.683
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 +352 -300
- package/bundles/smartsoft001-angular.umd.js.map +1 -1
- package/esm2015/lib/components/base/base.component.js +5 -11
- package/esm2015/lib/components/button/button.component.js +10 -3
- package/esm2015/lib/components/components.module.js +3 -1
- package/esm2015/lib/components/details/details.component.js +7 -3
- package/esm2015/lib/components/form/form.component.js +7 -3
- package/esm2015/lib/components/index.js +2 -1
- package/esm2015/lib/components/list/base/base.component.js +9 -5
- package/esm2015/lib/components/list/desktop/desktop.component.js +2 -2
- package/esm2015/lib/components/list/list.component.js +7 -3
- package/esm2015/lib/components/list/masonry-grid/masonry-grid.component.js +2 -2
- package/esm2015/lib/components/list/mobile/mobile.component.js +2 -2
- package/esm2015/lib/components/page/page.component.js +7 -3
- package/esm2015/lib/components/paging/index.js +2 -0
- package/esm2015/lib/components/paging/paging.component.js +24 -0
- package/esm2015/lib/models/interfaces.js +6 -1
- package/esm2015/smartsoft001-angular.js +105 -104
- package/fesm2015/smartsoft001-angular.js +192 -147
- package/fesm2015/smartsoft001-angular.js.map +1 -1
- package/lib/components/base/base.component.d.ts +4 -1
- package/lib/components/button/button.component.d.ts +4 -0
- package/lib/components/components.module.d.ts +2 -1
- package/lib/components/details/details.component.d.ts +4 -1
- package/lib/components/form/form.component.d.ts +4 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/list/base/base.component.d.ts +4 -3
- package/lib/components/list/list.component.d.ts +4 -1
- package/lib/components/page/page.component.d.ts +4 -1
- package/lib/components/paging/index.d.ts +1 -0
- package/lib/components/paging/paging.component.d.ts +7 -0
- package/lib/models/interfaces.d.ts +5 -0
- package/package.json +5 -5
- package/smartsoft001-angular.d.ts +104 -103
- package/smartsoft001-angular.metadata.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __awaiter, __decorate, __metadata } from 'tslib';
|
|
2
2
|
import 'reflect-metadata';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { Injectable, Injector, Inject, PLATFORM_ID, InjectionToken, Optional, ComponentFactoryResolver, NgModule, Pipe, Type, Component, ElementRef, EventEmitter, Input, Output, Directive, ChangeDetectorRef, ViewChild, ViewContainerRef, ChangeDetectionStrategy, ApplicationRef, NgModuleRef,
|
|
5
|
-
import { FormGroup, Validators, FormBuilder, ReactiveFormsModule,
|
|
4
|
+
import { Injectable, Injector, Inject, PLATFORM_ID, InjectionToken, Optional, ComponentFactoryResolver, NgModule, Pipe, Type, Component, ElementRef, EventEmitter, Input, Output, Directive, ChangeDetectorRef, ViewChild, ViewContainerRef, ChangeDetectionStrategy, ApplicationRef, NgModuleRef, QueryList, ViewEncapsulation, TemplateRef, ViewChildren, HostBinding, Renderer2, HostListener, forwardRef, ContentChildren, NgZone } from '@angular/core';
|
|
5
|
+
import { FormGroup, Validators, FormBuilder, ReactiveFormsModule, FormArray, FormControl, NG_VALIDATORS, NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
|
6
6
|
import * as _ from 'lodash';
|
|
7
7
|
import { map, tap, delay, first, filter, takeUntil, debounceTime, distinctUntilChanged, catchError } from 'rxjs/operators';
|
|
8
8
|
import { SYMBOL_MODEL, SYMBOL_FIELD, getModelFieldsWithOptions, FieldType, getModelFieldOptions, getModelOptions } from '@smartsoft001/models';
|
|
@@ -2144,130 +2144,6 @@ class DynamicComponentStorageService {
|
|
|
2144
2144
|
}
|
|
2145
2145
|
}
|
|
2146
2146
|
|
|
2147
|
-
class DetailsDirective {
|
|
2148
|
-
constructor(modalService, hardwareService) {
|
|
2149
|
-
this.modalService = modalService;
|
|
2150
|
-
this.hardwareService = hardwareService;
|
|
2151
|
-
this.smartDetailsShowed = new EventEmitter();
|
|
2152
|
-
this.smartDetailsDismissed = new EventEmitter();
|
|
2153
|
-
}
|
|
2154
|
-
click() {
|
|
2155
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2156
|
-
if (!this.options || !this.options.component)
|
|
2157
|
-
return;
|
|
2158
|
-
let modal = yield this.modalService.show({
|
|
2159
|
-
component: this.options.component,
|
|
2160
|
-
props: {
|
|
2161
|
-
value: this.options.params
|
|
2162
|
-
},
|
|
2163
|
-
mode: this.options.mode ? this.options.mode : "bottom"
|
|
2164
|
-
});
|
|
2165
|
-
this.smartDetailsShowed.emit();
|
|
2166
|
-
const handler = this.hardwareService.onBackButtonClick(() => __awaiter(this, void 0, void 0, function* () {
|
|
2167
|
-
if (modal) {
|
|
2168
|
-
yield modal.dismiss();
|
|
2169
|
-
}
|
|
2170
|
-
}));
|
|
2171
|
-
yield modal.onDidDismiss();
|
|
2172
|
-
handler.remove();
|
|
2173
|
-
modal = null;
|
|
2174
|
-
this.smartDetailsDismissed.emit();
|
|
2175
|
-
});
|
|
2176
|
-
}
|
|
2177
|
-
}
|
|
2178
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
2179
|
-
DetailsDirective.decorators = [
|
|
2180
|
-
{ type: Directive, args: [{
|
|
2181
|
-
selector: "[smartDetails]"
|
|
2182
|
-
},] }
|
|
2183
|
-
];
|
|
2184
|
-
/**
|
|
2185
|
-
* @type {function(): !Array<(null|{
|
|
2186
|
-
* type: ?,
|
|
2187
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
2188
|
-
* })>}
|
|
2189
|
-
* @nocollapse
|
|
2190
|
-
*/
|
|
2191
|
-
DetailsDirective.ctorParameters = () => [
|
|
2192
|
-
{ type: ModalService },
|
|
2193
|
-
{ type: HardwareService }
|
|
2194
|
-
];
|
|
2195
|
-
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
2196
|
-
DetailsDirective.propDecorators = {
|
|
2197
|
-
options: [{ type: Input, args: ["smartDetails",] }],
|
|
2198
|
-
smartDetailsShowed: [{ type: Output }],
|
|
2199
|
-
smartDetailsDismissed: [{ type: Output }],
|
|
2200
|
-
click: [{ type: HostListener, args: ["click",] }]
|
|
2201
|
-
};
|
|
2202
|
-
|
|
2203
|
-
const DATE_VALIDATOR = {
|
|
2204
|
-
provide: NG_VALIDATORS,
|
|
2205
|
-
useExisting: forwardRef(() => DateValidator),
|
|
2206
|
-
multi: true
|
|
2207
|
-
};
|
|
2208
|
-
class DateValidator {
|
|
2209
|
-
validate(c) {
|
|
2210
|
-
if (!moment$1(c.value).isValid()) {
|
|
2211
|
-
return {
|
|
2212
|
-
date: true
|
|
2213
|
-
};
|
|
2214
|
-
}
|
|
2215
|
-
return null;
|
|
2216
|
-
}
|
|
2217
|
-
}
|
|
2218
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
2219
|
-
DateValidator.decorators = [
|
|
2220
|
-
{ type: Directive, args: [{
|
|
2221
|
-
selector: '[smartDateValidator][formControlName],[smartDateValidator][formControl],[smartDateValidator][ngModel]',
|
|
2222
|
-
providers: [DATE_VALIDATOR]
|
|
2223
|
-
},] }
|
|
2224
|
-
];
|
|
2225
|
-
|
|
2226
|
-
class DynamicContentDirective {
|
|
2227
|
-
constructor(container) {
|
|
2228
|
-
this.container = container;
|
|
2229
|
-
}
|
|
2230
|
-
}
|
|
2231
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
2232
|
-
DynamicContentDirective.decorators = [
|
|
2233
|
-
{ type: Directive, args: [{
|
|
2234
|
-
// tslint:disable-next-line:directive-selector
|
|
2235
|
-
selector: ".dynamic-content"
|
|
2236
|
-
},] }
|
|
2237
|
-
];
|
|
2238
|
-
/**
|
|
2239
|
-
* @type {function(): !Array<(null|{
|
|
2240
|
-
* type: ?,
|
|
2241
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
2242
|
-
* })>}
|
|
2243
|
-
* @nocollapse
|
|
2244
|
-
*/
|
|
2245
|
-
DynamicContentDirective.ctorParameters = () => [
|
|
2246
|
-
{ type: ViewContainerRef }
|
|
2247
|
-
];
|
|
2248
|
-
|
|
2249
|
-
const DIRECTIVES = [
|
|
2250
|
-
DetailsDirective,
|
|
2251
|
-
DateValidator,
|
|
2252
|
-
DynamicContentDirective
|
|
2253
|
-
];
|
|
2254
|
-
class SharedDirectivesModule {
|
|
2255
|
-
}
|
|
2256
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
2257
|
-
SharedDirectivesModule.decorators = [
|
|
2258
|
-
{ type: NgModule, args: [{
|
|
2259
|
-
imports: [
|
|
2260
|
-
SharedServicesModule
|
|
2261
|
-
],
|
|
2262
|
-
declarations: [
|
|
2263
|
-
...DIRECTIVES
|
|
2264
|
-
],
|
|
2265
|
-
exports: [
|
|
2266
|
-
...DIRECTIVES
|
|
2267
|
-
]
|
|
2268
|
-
},] }
|
|
2269
|
-
];
|
|
2270
|
-
|
|
2271
2147
|
class BaseComponent {
|
|
2272
2148
|
constructor() {
|
|
2273
2149
|
this.destroy$ = new Subject();
|
|
@@ -2311,16 +2187,16 @@ function CreateDynamicComponent(type) {
|
|
|
2311
2187
|
this.init();
|
|
2312
2188
|
}
|
|
2313
2189
|
init() {
|
|
2314
|
-
var _a;
|
|
2190
|
+
var _a, _b;
|
|
2315
2191
|
const component = DynamicComponentStorageService.get(this.dynamicType, this.moduleRef)[0];
|
|
2316
2192
|
this.template = component ? "custom" : "default";
|
|
2317
2193
|
if (component && !this._renderCustom) {
|
|
2318
2194
|
const factory = this.componentFactoryResolver.resolveComponentFactory(component);
|
|
2319
|
-
if (this.dynamicContents.first) {
|
|
2195
|
+
if ((_a = this.dynamicContents) === null || _a === void 0 ? void 0 : _a.first) {
|
|
2320
2196
|
this._renderCustom = true;
|
|
2321
2197
|
this.baseInstance = this.dynamicContents.first.container.createComponent(factory).instance;
|
|
2322
2198
|
this.refreshDynamicInstance();
|
|
2323
|
-
(
|
|
2199
|
+
(_b = this.baseInstance.contentTpl) === null || _b === void 0 ? void 0 : _b.createEmbeddedView(this.contentTpl);
|
|
2324
2200
|
}
|
|
2325
2201
|
}
|
|
2326
2202
|
if (this.cd)
|
|
@@ -2343,15 +2219,37 @@ function CreateDynamicComponent(type) {
|
|
|
2343
2219
|
{ type: NgModuleRef },
|
|
2344
2220
|
{ type: ComponentFactoryResolver }
|
|
2345
2221
|
];
|
|
2346
|
-
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
2347
|
-
Component.propDecorators = {
|
|
2348
|
-
contentTpl: [{ type: ViewChild, args: ["contentTpl", { read: TemplateRef, static: false },] }],
|
|
2349
|
-
dynamicContents: [{ type: ViewChildren, args: [DynamicContentDirective, { read: DynamicContentDirective },] }]
|
|
2350
|
-
};
|
|
2351
2222
|
return Component;
|
|
2352
2223
|
}
|
|
2353
2224
|
|
|
2225
|
+
class DynamicContentDirective {
|
|
2226
|
+
constructor(container) {
|
|
2227
|
+
this.container = container;
|
|
2228
|
+
}
|
|
2229
|
+
}
|
|
2230
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
2231
|
+
DynamicContentDirective.decorators = [
|
|
2232
|
+
{ type: Directive, args: [{
|
|
2233
|
+
// tslint:disable-next-line:directive-selector
|
|
2234
|
+
selector: ".dynamic-content"
|
|
2235
|
+
},] }
|
|
2236
|
+
];
|
|
2237
|
+
/**
|
|
2238
|
+
* @type {function(): !Array<(null|{
|
|
2239
|
+
* type: ?,
|
|
2240
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
2241
|
+
* })>}
|
|
2242
|
+
* @nocollapse
|
|
2243
|
+
*/
|
|
2244
|
+
DynamicContentDirective.ctorParameters = () => [
|
|
2245
|
+
{ type: ViewContainerRef }
|
|
2246
|
+
];
|
|
2247
|
+
|
|
2354
2248
|
class ButtonComponent extends CreateDynamicComponent("button") {
|
|
2249
|
+
constructor() {
|
|
2250
|
+
super(...arguments);
|
|
2251
|
+
this.dynamicContents = new QueryList();
|
|
2252
|
+
}
|
|
2355
2253
|
set options(val) {
|
|
2356
2254
|
this._options = val;
|
|
2357
2255
|
this.refreshDynamicInstance();
|
|
@@ -2387,7 +2285,9 @@ ButtonComponent.decorators = [
|
|
|
2387
2285
|
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
2388
2286
|
ButtonComponent.propDecorators = {
|
|
2389
2287
|
options: [{ type: Input }],
|
|
2390
|
-
disabled: [{ type: Input }]
|
|
2288
|
+
disabled: [{ type: Input }],
|
|
2289
|
+
contentTpl: [{ type: ViewChild, args: ["contentTpl", { read: TemplateRef, static: false },] }],
|
|
2290
|
+
dynamicContents: [{ type: ViewChildren, args: [DynamicContentDirective, { read: DynamicContentDirective },] }]
|
|
2391
2291
|
};
|
|
2392
2292
|
|
|
2393
2293
|
class CardComponent {
|
|
@@ -2711,6 +2611,7 @@ class DetailsComponent extends CreateDynamicComponent("details") {
|
|
|
2711
2611
|
constructor() {
|
|
2712
2612
|
super(...arguments);
|
|
2713
2613
|
this._subscription = new Subscription();
|
|
2614
|
+
this.dynamicContents = new QueryList();
|
|
2714
2615
|
}
|
|
2715
2616
|
set options(val) {
|
|
2716
2617
|
this._options = val;
|
|
@@ -2747,7 +2648,9 @@ DetailsComponent.decorators = [
|
|
|
2747
2648
|
];
|
|
2748
2649
|
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
2749
2650
|
DetailsComponent.propDecorators = {
|
|
2750
|
-
options: [{ type: Input }]
|
|
2651
|
+
options: [{ type: Input }],
|
|
2652
|
+
contentTpl: [{ type: ViewChild, args: ["contentTpl", { read: TemplateRef, static: false },] }],
|
|
2653
|
+
dynamicContents: [{ type: ViewChildren, args: [DynamicContentDirective, { read: DynamicContentDirective },] }]
|
|
2751
2654
|
};
|
|
2752
2655
|
|
|
2753
2656
|
class DetailsBaseComponent {
|
|
@@ -2880,6 +2783,7 @@ class FormComponent extends CreateDynamicComponent("form") {
|
|
|
2880
2783
|
this.valueChange = new EventEmitter();
|
|
2881
2784
|
this.valuePartialChange = new EventEmitter();
|
|
2882
2785
|
this.validChange = new EventEmitter();
|
|
2786
|
+
this.dynamicContents = new QueryList();
|
|
2883
2787
|
}
|
|
2884
2788
|
set options(val) {
|
|
2885
2789
|
if (!val)
|
|
@@ -3064,7 +2968,9 @@ FormComponent.propDecorators = {
|
|
|
3064
2968
|
invokeSubmit: [{ type: Output }],
|
|
3065
2969
|
valueChange: [{ type: Output }],
|
|
3066
2970
|
valuePartialChange: [{ type: Output }],
|
|
3067
|
-
validChange: [{ type: Output }]
|
|
2971
|
+
validChange: [{ type: Output }],
|
|
2972
|
+
contentTpl: [{ type: ViewChild, args: ["contentTpl", { read: TemplateRef, static: false },] }],
|
|
2973
|
+
dynamicContents: [{ type: ViewChildren, args: [DynamicContentDirective, { read: DynamicContentDirective },] }]
|
|
3068
2974
|
};
|
|
3069
2975
|
|
|
3070
2976
|
class FormBaseComponent extends BaseComponent {
|
|
@@ -3906,6 +3812,11 @@ InputTextComponent.ctorParameters = () => [
|
|
|
3906
3812
|
{ type: ChangeDetectorRef }
|
|
3907
3813
|
];
|
|
3908
3814
|
|
|
3815
|
+
var PaginationMode;
|
|
3816
|
+
(function (PaginationMode) {
|
|
3817
|
+
PaginationMode["infiniteScroll"] = "infiniteScroll";
|
|
3818
|
+
PaginationMode["singlePage"] = "singlePage";
|
|
3819
|
+
})(PaginationMode || (PaginationMode = {}));
|
|
3909
3820
|
var ListMode;
|
|
3910
3821
|
(function (ListMode) {
|
|
3911
3822
|
ListMode["mobile"] = "mobile";
|
|
@@ -3921,6 +3832,7 @@ class ListComponent extends CreateDynamicComponent('list') {
|
|
|
3921
3832
|
this.moduleRef = moduleRef;
|
|
3922
3833
|
this.componentFactoryResolver = componentFactoryResolver;
|
|
3923
3834
|
this.ListMode = ListMode;
|
|
3835
|
+
this.dynamicContents = new QueryList();
|
|
3924
3836
|
}
|
|
3925
3837
|
set options(val) {
|
|
3926
3838
|
this._options = val;
|
|
@@ -3973,7 +3885,9 @@ ListComponent.ctorParameters = () => [
|
|
|
3973
3885
|
];
|
|
3974
3886
|
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
3975
3887
|
ListComponent.propDecorators = {
|
|
3976
|
-
options: [{ type: Input }]
|
|
3888
|
+
options: [{ type: Input }],
|
|
3889
|
+
contentTpl: [{ type: ViewChild, args: ["contentTpl", { read: TemplateRef, static: false },] }],
|
|
3890
|
+
dynamicContents: [{ type: ViewChildren, args: [DynamicContentDirective, { read: DynamicContentDirective },] }]
|
|
3977
3891
|
};
|
|
3978
3892
|
|
|
3979
3893
|
class ListBaseComponent {
|
|
@@ -3985,6 +3899,7 @@ class ListBaseComponent {
|
|
|
3985
3899
|
this.translateService = translateService;
|
|
3986
3900
|
this.removed = new Set();
|
|
3987
3901
|
this.FieldType = FieldType;
|
|
3902
|
+
this.PaginationMode = PaginationMode;
|
|
3988
3903
|
this.detailsButtonOptions = {
|
|
3989
3904
|
loading$: this.loading$,
|
|
3990
3905
|
click: () => {
|
|
@@ -4049,16 +3964,18 @@ class ListBaseComponent {
|
|
|
4049
3964
|
this.unselect = val.details["provider"].clearData;
|
|
4050
3965
|
}
|
|
4051
3966
|
if (val.pagination) {
|
|
4052
|
-
this.loadNextPage = (event) => __awaiter(this, void 0, void 0, function* () {
|
|
3967
|
+
this.loadNextPage = (event = null) => __awaiter(this, void 0, void 0, function* () {
|
|
4053
3968
|
yield val.pagination.loadNextPage();
|
|
4054
|
-
event
|
|
3969
|
+
if (event)
|
|
3970
|
+
event.target.complete();
|
|
4055
3971
|
setTimeout(() => {
|
|
4056
3972
|
window.scrollTo(0, 0);
|
|
4057
3973
|
});
|
|
4058
3974
|
});
|
|
4059
|
-
this.loadPrevPage = (event) => __awaiter(this, void 0, void 0, function* () {
|
|
3975
|
+
this.loadPrevPage = (event = null) => __awaiter(this, void 0, void 0, function* () {
|
|
4060
3976
|
yield val.pagination.loadPrevPage();
|
|
4061
|
-
event
|
|
3977
|
+
if (event)
|
|
3978
|
+
event.target.complete();
|
|
4062
3979
|
setTimeout(() => {
|
|
4063
3980
|
window.scrollTo(0, 10000);
|
|
4064
3981
|
});
|
|
@@ -4216,7 +4133,7 @@ class ListDesktopComponent extends ListBaseComponent {
|
|
|
4216
4133
|
ListDesktopComponent.decorators = [
|
|
4217
4134
|
{ type: Component, args: [{
|
|
4218
4135
|
selector: "smart-list-desktop",
|
|
4219
|
-
template: "<div #topTpl></div>\n\n<table mat-table matSort [dataSource]=\"list$ | async\" style=\"width: 100%\">\n <ng-container\n *ngFor=\"let key of desktopKeys; let last = last\"\n matColumnDef=\"{{ key }}\"\n >\n <div [ngSwitch]=\"key\">\n\n <ng-container *ngSwitchCase=\"'selectMulti'\">\n <th mat-header-cell class=\"cell-details\" *matHeaderCellDef>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <ion-checkbox style=\"margin-right: 15px\" *ngIf=\"list$ | async; let list\" (ionChange)=\"onChangeMultiselect($event.detail.checked, element, list)\"></ion-checkbox>\n </td>\n </ng-container>\n\n\n <ng-container *ngSwitchCase=\"'removeAction'\">\n <th mat-header-cell class=\"cell-details\" *matHeaderCellDef>\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <ion-button (click)=\"removeHandler(element)\">\n <ion-icon slot=\"icon-only\" name=\"trash\"></ion-icon>\n </ion-button>\n </td>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'detailsAction'\">\n <th mat-header-cell class=\"cell-details\" *matHeaderCellDef>\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <ion-button\n (click)=\"detailsButtonOptions.click()\"\n [smartDetails]=\"{\n component: detailsComponent,\n params: detailsComponentProps,\n mode: 'bottom'\n }\"\n (smartDetailsShowed)=\"select && select(element.id)\"\n >\n <ion-icon slot=\"icon-only\" name=\"ellipsis-vertical-outline\"></ion-icon>\n </ion-button>\n </td>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'itemAction'\">\n <th mat-header-cell class=\"cell-details\" *matHeaderCellDef>\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <ion-button (click)=\"itemHandler(element.id)\">\n <ion-icon slot=\"icon-only\" name=\"arrow-forward-outline\"></ion-icon>\n </ion-button>\n </td>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <th mat-header-cell *matHeaderCellDef mat-sort-header=\"{{ key }}\">\n {{ (list$ | async) | smartListHeader : key : type | async }}\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <ng-container *matCellDef=\"let element\">\n <td mat-cell [attr.smart-item-key]=\"key\"\n *ngIf=\"element | smartListCell : key : cellPipe : type; else blankCellTpl; let cell\"\n [style.width.px]=\"cell.type === FieldType.image ? 60 : null\"\n [style.textAlign]=\"cell.type === FieldType.image ? 'center' : null\"\n >\n <ng-container [ngSwitch]=\"cell.type\">\n <img *ngSwitchCase=\"FieldType.image\" height=\"50\" [lazyLoad]=\"cell.value | smartFileUrl\">\n <div *ngSwitchDefault [innerHTML]=\"cell.value\"></div>\n </ng-container>\n </td>\n <ng-template #blankCellTpl><td mat-cell></td></ng-template>\n </ng-container>\n </ng-container>\n </div>\n\n <ng-template #pagination>\n <ng-container *ngIf=\"last && loadNextPage && (totalPages$ | async)\">\n {{ \"page\" | translate }}:\n <b>{{ page$ | async }}/{{ totalPages$ | async }}</b>\n </ng-container>\n </ng-template>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"desktopKeys; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: desktopKeys\"></tr>\n</table>\n\n<ion-infinite-scroll\n threshold=\"100px\"\n *ngIf=\"loadNextPage && (list$ | async)?.length\"\n (ionInfinite)=\"loadNextPage($event)\"\n>\n <ion-infinite-scroll-content loadingSpinner=\"circles\">\n </ion-infinite-scroll-content>\n</ion-infinite-scroll>\n",
|
|
4136
|
+
template: "<div #topTpl></div>\n\n<table mat-table matSort [dataSource]=\"list$ | async\" style=\"width: 100%\">\n <ng-container\n *ngFor=\"let key of desktopKeys; let last = last\"\n matColumnDef=\"{{ key }}\"\n >\n <div [ngSwitch]=\"key\">\n\n <ng-container *ngSwitchCase=\"'selectMulti'\">\n <th mat-header-cell class=\"cell-details\" *matHeaderCellDef>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <ion-checkbox style=\"margin-right: 15px\" *ngIf=\"list$ | async; let list\" (ionChange)=\"onChangeMultiselect($event.detail.checked, element, list)\"></ion-checkbox>\n </td>\n </ng-container>\n\n\n <ng-container *ngSwitchCase=\"'removeAction'\">\n <th mat-header-cell class=\"cell-details\" *matHeaderCellDef>\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <ion-button (click)=\"removeHandler(element)\">\n <ion-icon slot=\"icon-only\" name=\"trash\"></ion-icon>\n </ion-button>\n </td>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'detailsAction'\">\n <th mat-header-cell class=\"cell-details\" *matHeaderCellDef>\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <ion-button\n (click)=\"detailsButtonOptions.click()\"\n [smartDetails]=\"{\n component: detailsComponent,\n params: detailsComponentProps,\n mode: 'bottom'\n }\"\n (smartDetailsShowed)=\"select && select(element.id)\"\n >\n <ion-icon slot=\"icon-only\" name=\"ellipsis-vertical-outline\"></ion-icon>\n </ion-button>\n </td>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'itemAction'\">\n <th mat-header-cell class=\"cell-details\" *matHeaderCellDef>\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td mat-cell *matCellDef=\"let element\">\n <ion-button (click)=\"itemHandler(element.id)\">\n <ion-icon slot=\"icon-only\" name=\"arrow-forward-outline\"></ion-icon>\n </ion-button>\n </td>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <th mat-header-cell *matHeaderCellDef mat-sort-header=\"{{ key }}\">\n {{ (list$ | async) | smartListHeader : key : type | async }}\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <ng-container *matCellDef=\"let element\">\n <td mat-cell [attr.smart-item-key]=\"key\"\n *ngIf=\"element | smartListCell : key : cellPipe : type; else blankCellTpl; let cell\"\n [style.width.px]=\"cell.type === FieldType.image ? 60 : null\"\n [style.textAlign]=\"cell.type === FieldType.image ? 'center' : null\"\n >\n <ng-container [ngSwitch]=\"cell.type\">\n <img *ngSwitchCase=\"FieldType.image\" height=\"50\" [lazyLoad]=\"cell.value | smartFileUrl\">\n <div *ngSwitchDefault [innerHTML]=\"cell.value\"></div>\n </ng-container>\n </td>\n <ng-template #blankCellTpl><td mat-cell></td></ng-template>\n </ng-container>\n </ng-container>\n </div>\n\n <ng-template #pagination>\n <ng-container *ngIf=\"last && loadNextPage && (totalPages$ | async)\">\n {{ \"page\" | translate }}:\n <b>{{ page$ | async }}/{{ totalPages$ | async }}</b>\n </ng-container>\n </ng-template>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"desktopKeys; sticky: true\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: desktopKeys\"></tr>\n</table>\n\n<ion-infinite-scroll\n threshold=\"100px\"\n *ngIf=\"loadNextPage && (list$ | async)?.length && options.pagination?.mode !== PaginationMode.singlePage\"\n (ionInfinite)=\"loadNextPage($event)\"\n>\n <ion-infinite-scroll-content loadingSpinner=\"circles\">\n </ion-infinite-scroll-content>\n</ion-infinite-scroll>\n\n<smart-paging *ngIf=\"options?.pagination?.mode === PaginationMode.singlePage\"\n [page]=\"page$ | async\"\n [totalPages]=\"totalPages$ | async\"\n (prevPage)=\"loadPrevPage()\"\n (nextPage)=\"loadNextPage()\"\n></smart-paging>\n",
|
|
4220
4137
|
styles: [".cell-details{width:20px}\n", ""]
|
|
4221
4138
|
},] }
|
|
4222
4139
|
];
|
|
@@ -4266,7 +4183,7 @@ class ListMobileComponent extends ListBaseComponent {
|
|
|
4266
4183
|
ListMobileComponent.decorators = [
|
|
4267
4184
|
{ type: Component, args: [{
|
|
4268
4185
|
selector: "smart-list-mobile",
|
|
4269
|
-
template: "<div #topTpl></div>\n\n<ion-list>\n <ion-item-sliding *ngFor=\"let item of list$ | async\">\n <ion-item-options side=\"start\" (ionSwipe)=\"removeHandler && removeHandler(item)\" *ngIf=\"removeHandler\">\n <ion-item-option color=\"danger\" expandable (click)=\"removeHandler && removeHandler(item)\">\n {{ 'delete' | translate }}\n </ion-item-option>\n </ion-item-options>\n\n <ion-item (click)='itemHandler ? itemHandler(item.id) : unselect && unselect()'>\n <ion-label>\n <ng-container *ngFor=\"let key of keys; let first = first\">\n <ng-container *ngIf=\"item | smartListCell : key : cellPipe : type; let cell\">\n <ng-container [ngSwitch]=\"cell.type\">\n <img [attr.smart-item-key]=\"key\" *ngSwitchCase=\"FieldType.image\" height=\"100\" [lazyLoad]=\"cell.value | smartFileUrl\"> \n <ng-container *ngSwitchDefault>\n <h2 [attr.smart-item-key]=\"key\" *ngIf='first' [innerHTML]=\"cell.value\"></h2>\n <p [attr.smart-item-key]=\"key\" *ngIf='!first' [innerHTML]=\"cell.value\"></p>\n </ng-container> \n </ng-container>\n </ng-container>\n </ng-container>\n </ion-label>\n </ion-item>\n </ion-item-sliding>\n</ion-list>\n\n<ion-infinite-scroll threshold=\"100px\"
|
|
4186
|
+
template: "<div #topTpl></div>\n\n<ion-list>\n <ion-item-sliding *ngFor=\"let item of list$ | async\">\n <ion-item-options side=\"start\" (ionSwipe)=\"removeHandler && removeHandler(item)\" *ngIf=\"removeHandler\">\n <ion-item-option color=\"danger\" expandable (click)=\"removeHandler && removeHandler(item)\">\n {{ 'delete' | translate }}\n </ion-item-option>\n </ion-item-options>\n\n <ion-item (click)='itemHandler ? itemHandler(item.id) : unselect && unselect()'>\n <ion-label>\n <ng-container *ngFor=\"let key of keys; let first = first\">\n <ng-container *ngIf=\"item | smartListCell : key : cellPipe : type; let cell\">\n <ng-container [ngSwitch]=\"cell.type\">\n <img [attr.smart-item-key]=\"key\" *ngSwitchCase=\"FieldType.image\" height=\"100\" [lazyLoad]=\"cell.value | smartFileUrl\"> \n <ng-container *ngSwitchDefault>\n <h2 [attr.smart-item-key]=\"key\" *ngIf='first' [innerHTML]=\"cell.value\"></h2>\n <p [attr.smart-item-key]=\"key\" *ngIf='!first' [innerHTML]=\"cell.value\"></p>\n </ng-container> \n </ng-container>\n </ng-container>\n </ng-container>\n </ion-label>\n </ion-item>\n </ion-item-sliding>\n</ion-list>\n\n<ion-infinite-scroll threshold=\"100px\"\n *ngIf=\"loadNextPage && (list$ | async)?.length && options.pagination?.mode !== PaginationMode.singlePage\"\n (ionInfinite)=\"loadNextPage($event)\"\n>\n <ion-infinite-scroll-content loadingSpinner=\"circles\">\n </ion-infinite-scroll-content>\n</ion-infinite-scroll>\n\n<smart-paging *ngIf=\"options?.pagination?.mode === PaginationMode.singlePage\"\n [page]=\"page$ | async\"\n [totalPages]=\"totalPages$ | async\"\n (prevPage)=\"loadPrevPage()\"\n (nextPage)=\"loadNextPage()\"\n></smart-paging>",
|
|
4270
4187
|
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-item{padding-left:1.2rem}\n"]
|
|
4271
4188
|
},] }
|
|
4272
4189
|
];
|
|
@@ -4312,6 +4229,7 @@ class PageComponent extends CreateDynamicComponent('page') {
|
|
|
4312
4229
|
this.renderer = renderer;
|
|
4313
4230
|
this.moduleRef = moduleRef;
|
|
4314
4231
|
this.componentFactoryResolver = componentFactoryResolver;
|
|
4232
|
+
this.dynamicContents = new QueryList();
|
|
4315
4233
|
}
|
|
4316
4234
|
set options(val) {
|
|
4317
4235
|
this._options = val;
|
|
@@ -4359,7 +4277,9 @@ PageComponent.ctorParameters = () => [
|
|
|
4359
4277
|
];
|
|
4360
4278
|
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
4361
4279
|
PageComponent.propDecorators = {
|
|
4362
|
-
options: [{ type: Input }]
|
|
4280
|
+
options: [{ type: Input }],
|
|
4281
|
+
contentTpl: [{ type: ViewChild, args: ["contentTpl", { read: TemplateRef, static: false },] }],
|
|
4282
|
+
dynamicContents: [{ type: ViewChildren, args: [DynamicContentDirective, { read: DynamicContentDirective },] }]
|
|
4363
4283
|
};
|
|
4364
4284
|
|
|
4365
4285
|
class PageBaseComponent {
|
|
@@ -4515,6 +4435,107 @@ SearchbarComponent.propDecorators = {
|
|
|
4515
4435
|
searchEl: [{ type: ViewChild, args: ["searchbar", { static: true, read: IonSearchbar },] }]
|
|
4516
4436
|
};
|
|
4517
4437
|
|
|
4438
|
+
class DetailsDirective {
|
|
4439
|
+
constructor(modalService, hardwareService) {
|
|
4440
|
+
this.modalService = modalService;
|
|
4441
|
+
this.hardwareService = hardwareService;
|
|
4442
|
+
this.smartDetailsShowed = new EventEmitter();
|
|
4443
|
+
this.smartDetailsDismissed = new EventEmitter();
|
|
4444
|
+
}
|
|
4445
|
+
click() {
|
|
4446
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4447
|
+
if (!this.options || !this.options.component)
|
|
4448
|
+
return;
|
|
4449
|
+
let modal = yield this.modalService.show({
|
|
4450
|
+
component: this.options.component,
|
|
4451
|
+
props: {
|
|
4452
|
+
value: this.options.params
|
|
4453
|
+
},
|
|
4454
|
+
mode: this.options.mode ? this.options.mode : "bottom"
|
|
4455
|
+
});
|
|
4456
|
+
this.smartDetailsShowed.emit();
|
|
4457
|
+
const handler = this.hardwareService.onBackButtonClick(() => __awaiter(this, void 0, void 0, function* () {
|
|
4458
|
+
if (modal) {
|
|
4459
|
+
yield modal.dismiss();
|
|
4460
|
+
}
|
|
4461
|
+
}));
|
|
4462
|
+
yield modal.onDidDismiss();
|
|
4463
|
+
handler.remove();
|
|
4464
|
+
modal = null;
|
|
4465
|
+
this.smartDetailsDismissed.emit();
|
|
4466
|
+
});
|
|
4467
|
+
}
|
|
4468
|
+
}
|
|
4469
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
4470
|
+
DetailsDirective.decorators = [
|
|
4471
|
+
{ type: Directive, args: [{
|
|
4472
|
+
selector: "[smartDetails]"
|
|
4473
|
+
},] }
|
|
4474
|
+
];
|
|
4475
|
+
/**
|
|
4476
|
+
* @type {function(): !Array<(null|{
|
|
4477
|
+
* type: ?,
|
|
4478
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
4479
|
+
* })>}
|
|
4480
|
+
* @nocollapse
|
|
4481
|
+
*/
|
|
4482
|
+
DetailsDirective.ctorParameters = () => [
|
|
4483
|
+
{ type: ModalService },
|
|
4484
|
+
{ type: HardwareService }
|
|
4485
|
+
];
|
|
4486
|
+
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
4487
|
+
DetailsDirective.propDecorators = {
|
|
4488
|
+
options: [{ type: Input, args: ["smartDetails",] }],
|
|
4489
|
+
smartDetailsShowed: [{ type: Output }],
|
|
4490
|
+
smartDetailsDismissed: [{ type: Output }],
|
|
4491
|
+
click: [{ type: HostListener, args: ["click",] }]
|
|
4492
|
+
};
|
|
4493
|
+
|
|
4494
|
+
const DATE_VALIDATOR = {
|
|
4495
|
+
provide: NG_VALIDATORS,
|
|
4496
|
+
useExisting: forwardRef(() => DateValidator),
|
|
4497
|
+
multi: true
|
|
4498
|
+
};
|
|
4499
|
+
class DateValidator {
|
|
4500
|
+
validate(c) {
|
|
4501
|
+
if (!moment$1(c.value).isValid()) {
|
|
4502
|
+
return {
|
|
4503
|
+
date: true
|
|
4504
|
+
};
|
|
4505
|
+
}
|
|
4506
|
+
return null;
|
|
4507
|
+
}
|
|
4508
|
+
}
|
|
4509
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
4510
|
+
DateValidator.decorators = [
|
|
4511
|
+
{ type: Directive, args: [{
|
|
4512
|
+
selector: '[smartDateValidator][formControlName],[smartDateValidator][formControl],[smartDateValidator][ngModel]',
|
|
4513
|
+
providers: [DATE_VALIDATOR]
|
|
4514
|
+
},] }
|
|
4515
|
+
];
|
|
4516
|
+
|
|
4517
|
+
const DIRECTIVES = [
|
|
4518
|
+
DetailsDirective,
|
|
4519
|
+
DateValidator,
|
|
4520
|
+
DynamicContentDirective
|
|
4521
|
+
];
|
|
4522
|
+
class SharedDirectivesModule {
|
|
4523
|
+
}
|
|
4524
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
4525
|
+
SharedDirectivesModule.decorators = [
|
|
4526
|
+
{ type: NgModule, args: [{
|
|
4527
|
+
imports: [
|
|
4528
|
+
SharedServicesModule
|
|
4529
|
+
],
|
|
4530
|
+
declarations: [
|
|
4531
|
+
...DIRECTIVES
|
|
4532
|
+
],
|
|
4533
|
+
exports: [
|
|
4534
|
+
...DIRECTIVES
|
|
4535
|
+
]
|
|
4536
|
+
},] }
|
|
4537
|
+
];
|
|
4538
|
+
|
|
4518
4539
|
class TabComponent {
|
|
4519
4540
|
constructor(container) {
|
|
4520
4541
|
this.container = container;
|
|
@@ -6386,7 +6407,7 @@ class ListMasonryGridComponent extends ListBaseComponent {
|
|
|
6386
6407
|
ListMasonryGridComponent.decorators = [
|
|
6387
6408
|
{ type: Component, args: [{
|
|
6388
6409
|
selector: "smart-list-masonry-grid",
|
|
6389
|
-
template: "<div #topTpl></div>\n\n<div class=\"ion-padding\">\n <div id=\"container\">\n <ion-card *ngFor=\"let item of listWithImages$ | async\" (click)='unselect && unselect()'>\n <img *ngIf=\"item.image\" [src]=\"item.image | smartFileUrl\">\n\n <ion-card-content>\n <ng-container *ngFor=\"let key of keys; let index = index\">\n <ng-container *ngIf=\"item.data | smartListCell : key : cellPipe : type; let cell\">\n <ng-container *ngIf=\"cell.value != item.image\">\n <h3 [attr.smart-item-key]=\"key\" *ngIf='index < 2' [innerHTML]=\"cell.value\"></h3>\n <p [attr.smart-item-key]=\"key\" *ngIf='index >= 2' [innerHTML]=\"cell.value\"></p>\n </ng-container>\n </ng-container>\n </ng-container>\n </ion-card-content>\n\n <ion-row>\n <ion-col size=\"auto\" *ngIf=\"removeHandler\">\n <ion-button (click)=\"removeHandler && removeHandler(item.data)\">\n <ion-icon slot=\"icon-only\" name=\"trash\"></ion-icon>\n </ion-button>\n </ion-col>\n <ion-col>\n\n </ion-col>\n <ion-col size=\"auto\" *ngIf=\"itemHandler\">\n <ion-button (click)=\"itemHandler && itemHandler(item.data.id)\">\n <ion-icon slot=\"icon-only\" name=\"arrow-forward-outline\"></ion-icon>\n </ion-button>\n </ion-col>\n </ion-row>\n </ion-card>\n </div>\n</div>\n\n<ion-infinite-scroll threshold=\"100px\"
|
|
6410
|
+
template: "<div #topTpl></div>\n\n<div class=\"ion-padding\">\n <div id=\"container\">\n <ion-card *ngFor=\"let item of listWithImages$ | async\" (click)='unselect && unselect()'>\n <img *ngIf=\"item.image\" [src]=\"item.image | smartFileUrl\">\n\n <ion-card-content>\n <ng-container *ngFor=\"let key of keys; let index = index\">\n <ng-container *ngIf=\"item.data | smartListCell : key : cellPipe : type; let cell\">\n <ng-container *ngIf=\"cell.value != item.image\">\n <h3 [attr.smart-item-key]=\"key\" *ngIf='index < 2' [innerHTML]=\"cell.value\"></h3>\n <p [attr.smart-item-key]=\"key\" *ngIf='index >= 2' [innerHTML]=\"cell.value\"></p>\n </ng-container>\n </ng-container>\n </ng-container>\n </ion-card-content>\n\n <ion-row>\n <ion-col size=\"auto\" *ngIf=\"removeHandler\">\n <ion-button (click)=\"removeHandler && removeHandler(item.data)\">\n <ion-icon slot=\"icon-only\" name=\"trash\"></ion-icon>\n </ion-button>\n </ion-col>\n <ion-col>\n\n </ion-col>\n <ion-col size=\"auto\" *ngIf=\"itemHandler\">\n <ion-button (click)=\"itemHandler && itemHandler(item.data.id)\">\n <ion-icon slot=\"icon-only\" name=\"arrow-forward-outline\"></ion-icon>\n </ion-button>\n </ion-col>\n </ion-row>\n </ion-card>\n </div>\n</div>\n\n<ion-infinite-scroll threshold=\"100px\"\n *ngIf=\"loadNextPage && (list$ | async)?.length && options.pagination?.mode !== PaginationMode.singlePage\"\n (ionInfinite)=\"loadNextPage($event)\"\n>\n <ion-infinite-scroll-content loadingSpinner=\"circles\">\n </ion-infinite-scroll-content>\n</ion-infinite-scroll>\n\n<smart-paging *ngIf=\"options?.pagination?.mode === PaginationMode.singlePage\"\n [page]=\"page$ | async\"\n [totalPages]=\"totalPages$ | async\"\n (prevPage)=\"loadPrevPage()\"\n (nextPage)=\"loadNextPage()\"\n></smart-paging>",
|
|
6390
6411
|
styles: ["#container{grid-row-gap:12px;row-gap:12px;grid-column-gap:12px;-moz-column-gap:12px;column-gap:12px}#container ion-card{width:100%;margin:.6rem 0;page-break-inside:avoid;-moz-column-break-inside:avoid;break-inside:avoid;border:.1rem solid #f4f4f4}#container ion-card h3{color:#333}#container ion-card p{color:#666}#container ion-card ion-card-content{max-height:48rem;overflow:hidden}#container ion-card ion-card-content:after{content:\"\";display:block;width:100%;height:3.2rem;background-image:linear-gradient(90deg,transparent,#FFF);position:absolute;bottom:0}@media screen and (max-width: 480px){#container{-moz-columns:1;columns:1}}@media screen and (min-width: 481px) and (max-width: 768px){#container{-moz-columns:2;columns:2}}@media screen and (min-width: 769px) and (max-width: 1023px){#container{-moz-columns:3;columns:3}}@media screen and (min-width: 1024px) and (max-width: 1599px){#container{-moz-columns:4;columns:4}}@media screen and (min-width: 1600px){#container{-moz-columns:6;columns:6}}\n"]
|
|
6391
6412
|
},] }
|
|
6392
6413
|
];
|
|
@@ -6700,6 +6721,29 @@ ButtonStandardComponent.decorators = [
|
|
|
6700
6721
|
},] }
|
|
6701
6722
|
];
|
|
6702
6723
|
|
|
6724
|
+
class PagingComponent {
|
|
6725
|
+
constructor() {
|
|
6726
|
+
this.nextPage = new EventEmitter();
|
|
6727
|
+
this.prevPage = new EventEmitter();
|
|
6728
|
+
}
|
|
6729
|
+
}
|
|
6730
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
6731
|
+
PagingComponent.decorators = [
|
|
6732
|
+
{ type: Component, args: [{
|
|
6733
|
+
selector: "smart-paging",
|
|
6734
|
+
template: "<ion-grid>\n <ion-row>\n <ion-col>\n <ion-button [disabled]=\"page <= 1\" (click)=\"prevPage.emit()\">{{ 'prev' | translate }}</ion-button>\n </ion-col>\n <ion-col>\n {{ 'page' | translate }} {{ page }} / {{ totalPages }}\n </ion-col>\n <ion-col>\n <ion-button [disabled]=\"page >= totalPages\" (click)=\"nextPage.emit()\">{{ 'next' | translate }}</ion-button>\n </ion-col>\n </ion-row>\n</ion-grid>",
|
|
6735
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
6736
|
+
styles: [":host{width:100%}\n"]
|
|
6737
|
+
},] }
|
|
6738
|
+
];
|
|
6739
|
+
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
6740
|
+
PagingComponent.propDecorators = {
|
|
6741
|
+
page: [{ type: Input }],
|
|
6742
|
+
totalPages: [{ type: Input }],
|
|
6743
|
+
nextPage: [{ type: Output }],
|
|
6744
|
+
prevPage: [{ type: Output }]
|
|
6745
|
+
};
|
|
6746
|
+
|
|
6703
6747
|
const APP_COMPONENTS = [AppSplitPanelComponent];
|
|
6704
6748
|
const ACCORDION_COMPONENTS = [
|
|
6705
6749
|
AccordionComponent,
|
|
@@ -6807,6 +6851,7 @@ const COMPONENTS$1 = [
|
|
|
6807
6851
|
...DATE_EDIT_COMPONENTS,
|
|
6808
6852
|
ErrorContextComponent,
|
|
6809
6853
|
ExportComponent,
|
|
6854
|
+
PagingComponent,
|
|
6810
6855
|
ImportComponent
|
|
6811
6856
|
];
|
|
6812
6857
|
const IMPORTS = [
|
|
@@ -7146,5 +7191,5 @@ function fastPropGetter(paths) {
|
|
|
7146
7191
|
* Generated bundle index. Do not edit.
|
|
7147
7192
|
*/
|
|
7148
7193
|
|
|
7149
|
-
export { ACCORDION_COMPONENTS, APP_COMPONENTS, AUTH_TOKEN, AccordionBodyComponent, AccordionComponent, AccordionHeaderComponent, AlertService, AppBaseComponent, AppService, AppSplitPanelComponent, AuthService, BUTTON_COMPONENTS, BaseComponent, ButtonBaseComponent, ButtonComponent, ButtonStandardComponent, CARD_COMPONENTS, CHART_COMPONENTS, COMPONENTS$1 as COMPONENTS, CalendarService, CameraService, CardComponent, ChartBarComponent, ChartComponent, ChartLineComponent, ChartType, CreateDynamicComponent, DATE_EDIT_COMPONENTS, DATE_RANGE_COMPONENTS, DETAILS_COMPONENTS, DETAIL_COMPONENTS, DYNAMIC_COMPONENTS, DateEditComponent, DateRangeComponent, DateRangeModalComponent, DateValidator, DetailAddressComponent, DetailArrayComponent, DetailAttachmentComponent, DetailBaseComponent, DetailColorComponent, DetailComponent, DetailDateRangeComponent, DetailEmailComponent, DetailEnumComponent, DetailFlagComponent, DetailImageComponent, DetailLogoComponent, DetailObjectComponent, DetailPdfComponent, DetailTextComponent, DetailVideoComponent, DetailsBaseComponent, DetailsComponent, DetailsDirective, DetailsPage, DetailsStandardComponent, DynamicComponent, DynamicComponentLoader, DynamicContentDirective, EnumToListPipe, ErrorContextComponent, ErrorService, ExportComponent, FILE_SERVICE_CONFIG, FINGERPRINT_PLATFORMS, FORM_COMPONENTS, FileService, FileUrlPipe, FilterBtnConstants, FingerprintService, FormBaseComponent, FormComponent, FormFactory, FormStandardComponent, FormStepperComponent, GRID_COMPONENTS, GridColumnComponent, GridComponent, GridRowComponent, HardwareService, IMPORTS, IModelExportProvider, IModelImportProvider, IModelLabelProvider, IModelPossibilitiesProvider, IModelValidatorsProvider, INFO_COMPONENTS, INPUT_COMPONENTS, ImportComponent, InfoComponent, InfoModalComponent, InputAddressComponent, InputArrayComponent, InputAttachmentComponent, InputBaseComponent, InputCheckComponent, InputColorComponent, InputComponent, InputCurrencyComponent, InputDateComponent, InputDateRangeComponent, InputDateWithEditComponent, InputEmailComponent, InputEnumComponent, InputErrorComponent, InputFileComponent, InputFlagComponent, InputFloatComponent, InputImageComponent, InputIntComponent, InputIntsComponent, InputLogoComponent, InputLongTextComponent, InputNipComponent, InputObjectComponent, InputPasswordComponent, InputPdfComponent, InputPeselComponent, InputPhoneNumberComponent, InputRadioComponent, InputStringsComponent, InputTextComponent, InputVideoComponent, LIST_COMPONENTS, LOADER_COMPONENTS, ListBaseComponent, ListCellPipe, ListComponent, ListDesktopComponent, ListHeaderPipe, ListMasonryGridComponent, ListMobileComponent, ListMode, LoaderComponent, MODEL_EXPORT_PROVIDER, MODEL_IMPORT_PROVIDER, MODEL_LABEL_PROVIDER, MODEL_POSSIBILITIES_PROVIDER, MODEL_VALIDATORS_PROVIDER, MY_FORMATS, MenuService, ModalService, ModelLabelPipe, NgrxSharedModule, NgrxStoreService, PAGE_COMPONENTS, PIPES, PageBaseComponent, PageComponent, PageStandardComponent, PasswordStrengthComponent, PopoverService, ReduxAction, ReduxActionDecorator, ReduxSelect, SEARCHBAR_COMPONENTS, SearchbarComponent, SharedComponentsModule, SharedDirectivesModule, SharedFactoriesModule, SharedModule, SharedPagesModule, SharedPipesModule, SharedServicesModule, SmartFormGroup, StorageService, StyleService, TABS_COMPONENTS, TabComponent, TabsComponent, ToastService, UIService, UtilsSharedModule, fastPropGetter, modalFromBottomEnterAnimation, modalFromBottomLeaveAnimation, SharedFactoriesModule as ɵa, FormFactory as ɵb, ListHeaderPipe as ɵba, IModelLabelProvider as ɵbb, MODEL_LABEL_PROVIDER as ɵbc, ModelLabelPipe as ɵbd, APP_COMPONENTS as ɵbe, ACCORDION_COMPONENTS as ɵbf, BUTTON_COMPONENTS as ɵbg, CARD_COMPONENTS as ɵbh, CHART_COMPONENTS as ɵbi, DETAILS_COMPONENTS as ɵbj, DETAIL_COMPONENTS as ɵbk, FORM_COMPONENTS as ɵbl, INPUT_COMPONENTS as ɵbm, LIST_COMPONENTS as ɵbn, LOADER_COMPONENTS as ɵbo, PAGE_COMPONENTS as ɵbp, SEARCHBAR_COMPONENTS as ɵbq, TABS_COMPONENTS as ɵbr, GRID_COMPONENTS as ɵbs, INFO_COMPONENTS as ɵbt, DATE_RANGE_COMPONENTS as ɵbu, DATE_EDIT_COMPONENTS as ɵbv, DYNAMIC_COMPONENTS as ɵbw, COMPONENTS$1 as ɵbx, IMPORTS as ɵby, SharedComponentsModule as ɵbz, IModelValidatorsProvider as ɵc, FormStandardComponent as ɵca, FormBaseComponent as ɵcb, BaseComponent as ɵcc, FormStepperComponent as ɵcd, FormComponent as ɵce,
|
|
7194
|
+
export { ACCORDION_COMPONENTS, APP_COMPONENTS, AUTH_TOKEN, AccordionBodyComponent, AccordionComponent, AccordionHeaderComponent, AlertService, AppBaseComponent, AppService, AppSplitPanelComponent, AuthService, BUTTON_COMPONENTS, BaseComponent, ButtonBaseComponent, ButtonComponent, ButtonStandardComponent, CARD_COMPONENTS, CHART_COMPONENTS, COMPONENTS$1 as COMPONENTS, CalendarService, CameraService, CardComponent, ChartBarComponent, ChartComponent, ChartLineComponent, ChartType, CreateDynamicComponent, DATE_EDIT_COMPONENTS, DATE_RANGE_COMPONENTS, DETAILS_COMPONENTS, DETAIL_COMPONENTS, DYNAMIC_COMPONENTS, DateEditComponent, DateRangeComponent, DateRangeModalComponent, DateValidator, DetailAddressComponent, DetailArrayComponent, DetailAttachmentComponent, DetailBaseComponent, DetailColorComponent, DetailComponent, DetailDateRangeComponent, DetailEmailComponent, DetailEnumComponent, DetailFlagComponent, DetailImageComponent, DetailLogoComponent, DetailObjectComponent, DetailPdfComponent, DetailTextComponent, DetailVideoComponent, DetailsBaseComponent, DetailsComponent, DetailsDirective, DetailsPage, DetailsStandardComponent, DynamicComponent, DynamicComponentLoader, DynamicContentDirective, EnumToListPipe, ErrorContextComponent, ErrorService, ExportComponent, FILE_SERVICE_CONFIG, FINGERPRINT_PLATFORMS, FORM_COMPONENTS, FileService, FileUrlPipe, FilterBtnConstants, FingerprintService, FormBaseComponent, FormComponent, FormFactory, FormStandardComponent, FormStepperComponent, GRID_COMPONENTS, GridColumnComponent, GridComponent, GridRowComponent, HardwareService, IMPORTS, IModelExportProvider, IModelImportProvider, IModelLabelProvider, IModelPossibilitiesProvider, IModelValidatorsProvider, INFO_COMPONENTS, INPUT_COMPONENTS, ImportComponent, InfoComponent, InfoModalComponent, InputAddressComponent, InputArrayComponent, InputAttachmentComponent, InputBaseComponent, InputCheckComponent, InputColorComponent, InputComponent, InputCurrencyComponent, InputDateComponent, InputDateRangeComponent, InputDateWithEditComponent, InputEmailComponent, InputEnumComponent, InputErrorComponent, InputFileComponent, InputFlagComponent, InputFloatComponent, InputImageComponent, InputIntComponent, InputIntsComponent, InputLogoComponent, InputLongTextComponent, InputNipComponent, InputObjectComponent, InputPasswordComponent, InputPdfComponent, InputPeselComponent, InputPhoneNumberComponent, InputRadioComponent, InputStringsComponent, InputTextComponent, InputVideoComponent, LIST_COMPONENTS, LOADER_COMPONENTS, ListBaseComponent, ListCellPipe, ListComponent, ListDesktopComponent, ListHeaderPipe, ListMasonryGridComponent, ListMobileComponent, ListMode, LoaderComponent, MODEL_EXPORT_PROVIDER, MODEL_IMPORT_PROVIDER, MODEL_LABEL_PROVIDER, MODEL_POSSIBILITIES_PROVIDER, MODEL_VALIDATORS_PROVIDER, MY_FORMATS, MenuService, ModalService, ModelLabelPipe, NgrxSharedModule, NgrxStoreService, PAGE_COMPONENTS, PIPES, PageBaseComponent, PageComponent, PageStandardComponent, PaginationMode, PagingComponent, PasswordStrengthComponent, PopoverService, ReduxAction, ReduxActionDecorator, ReduxSelect, SEARCHBAR_COMPONENTS, SearchbarComponent, SharedComponentsModule, SharedDirectivesModule, SharedFactoriesModule, SharedModule, SharedPagesModule, SharedPipesModule, SharedServicesModule, SmartFormGroup, StorageService, StyleService, TABS_COMPONENTS, TabComponent, TabsComponent, ToastService, UIService, UtilsSharedModule, fastPropGetter, modalFromBottomEnterAnimation, modalFromBottomLeaveAnimation, SharedFactoriesModule as ɵa, FormFactory as ɵb, ListHeaderPipe as ɵba, IModelLabelProvider as ɵbb, MODEL_LABEL_PROVIDER as ɵbc, ModelLabelPipe as ɵbd, APP_COMPONENTS as ɵbe, ACCORDION_COMPONENTS as ɵbf, BUTTON_COMPONENTS as ɵbg, CARD_COMPONENTS as ɵbh, CHART_COMPONENTS as ɵbi, DETAILS_COMPONENTS as ɵbj, DETAIL_COMPONENTS as ɵbk, FORM_COMPONENTS as ɵbl, INPUT_COMPONENTS as ɵbm, LIST_COMPONENTS as ɵbn, LOADER_COMPONENTS as ɵbo, PAGE_COMPONENTS as ɵbp, SEARCHBAR_COMPONENTS as ɵbq, TABS_COMPONENTS as ɵbr, GRID_COMPONENTS as ɵbs, INFO_COMPONENTS as ɵbt, DATE_RANGE_COMPONENTS as ɵbu, DATE_EDIT_COMPONENTS as ɵbv, DYNAMIC_COMPONENTS as ɵbw, COMPONENTS$1 as ɵbx, IMPORTS as ɵby, SharedComponentsModule as ɵbz, IModelValidatorsProvider as ɵc, FormStandardComponent as ɵca, FormBaseComponent as ɵcb, BaseComponent as ɵcc, FormStepperComponent as ɵcd, FormComponent as ɵce, DynamicContentDirective as ɵcf, IModelExportProvider as ɵcg, MODEL_EXPORT_PROVIDER as ɵch, IModelImportProvider as ɵci, MODEL_IMPORT_PROVIDER as ɵcj, AppSplitPanelComponent as ɵck, AppBaseComponent as ɵcl, MenuService as ɵcm, PageStandardComponent as ɵcn, PageBaseComponent as ɵco, AppService as ɵcp, PageComponent as ɵcq, InputComponent as ɵcr, InputIntComponent as ɵcs, InputBaseComponent as ɵct, BaseComponent as ɵcu, InputErrorComponent as ɵcv, InputTextComponent as ɵcw, InputPasswordComponent as ɵcx, InputFlagComponent as ɵcy, InputEnumComponent as ɵcz, MODEL_VALIDATORS_PROVIDER as ɵd, InputEmailComponent as ɵda, InputCurrencyComponent as ɵdb, MY_FORMATS as ɵdc, InputDateComponent as ɵdd, InputDateWithEditComponent as ɵde, InputFileComponent as ɵdf, InputRadioComponent as ɵdg, InputPossibilitiesBaseComponent as ɵdh, IModelPossibilitiesProvider as ɵdi, MODEL_POSSIBILITIES_PROVIDER as ɵdj, InputNipComponent as ɵdk, InputStringsComponent as ɵdl, InputLongTextComponent as ɵdm, InputAddressComponent as ɵdn, InputObjectComponent as ɵdo, InputColorComponent as ɵdp, InputLogoComponent as ɵdq, InputCheckComponent as ɵdr, InputIntsComponent as ɵds, InputPhoneNumberComponent as ɵdt, InputPeselComponent as ɵdu, InputArrayComponent as ɵdv, InputPdfComponent as ɵdw, InputFileBaseComponent as ɵdx, InputVideoComponent as ɵdy, InputAttachmentComponent as ɵdz, AuthService as ɵe, InputDateRangeComponent as ɵea, InputImageComponent as ɵeb, InputFloatComponent as ɵec, ButtonComponent as ɵed, ButtonStandardComponent as ɵee, ButtonBaseComponent as ɵef, CardComponent as ɵeg, ListComponent as ɵeh, ListMobileComponent as ɵei, ListBaseComponent as ɵej, ListDesktopComponent as ɵek, ListMasonryGridComponent as ɵel, LoaderComponent as ɵem, DetailComponent as ɵen, DetailTextComponent as ɵeo, DetailBaseComponent as ɵep, DetailFlagComponent as ɵeq, DetailEnumComponent as ɵer, DetailEmailComponent as ɵes, DetailAddressComponent as ɵet, DetailObjectComponent as ɵeu, DetailColorComponent as ɵev, DetailLogoComponent as ɵew, DetailArrayComponent as ɵex, DetailPdfComponent as ɵey, DetailVideoComponent as ɵez, StorageService as ɵf, DetailAttachmentComponent as ɵfa, DetailDateRangeComponent as ɵfb, DetailImageComponent as ɵfc, DetailsComponent as ɵfd, DetailsStandardComponent as ɵfe, DetailsBaseComponent as ɵff, SearchbarComponent as ɵfg, TabsComponent as ɵfh, TabComponent as ɵfi, AccordionComponent as ɵfj, AccordionHeaderComponent as ɵfk, AccordionBodyComponent as ɵfl, ChartComponent as ɵfm, ChartLineComponent as ɵfn, ChartBaseComponent as ɵfo, ChartBarComponent as ɵfp, GridComponent as ɵfq, GridRowComponent as ɵfr, GridColumnComponent as ɵfs, DynamicComponent as ɵft, PasswordStrengthComponent as ɵfu, InfoComponent as ɵfv, InfoModalComponent as ɵfw, DateRangeComponent as ɵfx, DateRangeModalComponent as ɵfy, DateEditComponent as ɵfz, SharedServicesModule as ɵg, ErrorContextComponent as ɵga, ExportComponent as ɵgb, PagingComponent as ɵgc, ImportComponent as ɵgd, SharedDirectivesModule as ɵge, DetailsDirective as ɵgf, DateValidator as ɵgg, SharedPagesModule as ɵgh, DetailsPage as ɵgi, NgrxStoreService as ɵgj, ErrorEffects as ɵgk, ToastService as ɵh, ErrorService as ɵi, HardwareService as ɵj, ModalService as ɵk, DynamicComponentLoader as ɵl, PopoverService as ɵm, StyleService as ɵn, FingerprintService as ɵo, CameraService as ɵp, FILE_SERVICE_CONFIG as ɵq, FileService as ɵr, CalendarService as ɵs, UIService as ɵt, AlertService as ɵu, PIPES as ɵv, SharedPipesModule as ɵw, EnumToListPipe as ɵx, ListCellPipe as ɵy, FileUrlPipe as ɵz };
|
|
7150
7195
|
//# sourceMappingURL=smartsoft001-angular.js.map
|