@stemy/ngx-utils 13.0.1 → 13.0.2
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/esm2020/ngx-utils/components/dynamic-table/dynamic-table.component.mjs +296 -67
- package/esm2020/ngx-utils/components/pagination-menu/pagination-menu.component.mjs +108 -18
- package/esm2020/ngx-utils/components/unordered-list/unordered-list.component.mjs +227 -31
- package/esm2020/ngx-utils/directives/async-method.base.mjs +23 -23
- package/esm2020/ngx-utils/directives/async-method.directive.mjs +16 -16
- package/esm2020/ngx-utils/directives/background.directive.mjs +13 -13
- package/esm2020/ngx-utils/directives/dynamic-table-template.directive.mjs +13 -13
- package/esm2020/ngx-utils/directives/global-template.directive.mjs +15 -15
- package/esm2020/ngx-utils/directives/icon.directive.mjs +30 -26
- package/esm2020/ngx-utils/directives/ngx-template-outlet.directive.mjs +15 -15
- package/esm2020/ngx-utils/directives/pagination-item.directive.mjs +9 -9
- package/esm2020/ngx-utils/directives/pagination.directive.mjs +25 -25
- package/esm2020/ngx-utils/directives/resource-if.directive.mjs +12 -12
- package/esm2020/ngx-utils/directives/sticky-class.directive.mjs +11 -11
- package/esm2020/ngx-utils/directives/sticky.directive.mjs +25 -21
- package/esm2020/ngx-utils/directives/unordered-list-item.directive.mjs +28 -28
- package/esm2020/ngx-utils/directives/unordered-list-template.directive.mjs +13 -13
- package/esm2020/ngx-utils/ngx-utils.module.mjs +30 -29
- package/esm2020/ngx-utils/pipes/chunk.pipe.mjs +9 -9
- package/esm2020/ngx-utils/pipes/entries.pipe.mjs +9 -9
- package/esm2020/ngx-utils/pipes/extra-item-properties.pipe.mjs +9 -9
- package/esm2020/ngx-utils/pipes/filter.pipe.mjs +9 -9
- package/esm2020/ngx-utils/pipes/find.pipe.mjs +9 -9
- package/esm2020/ngx-utils/pipes/format-number.pipe.mjs +9 -9
- package/esm2020/ngx-utils/pipes/get-offset.pipe.mjs +9 -9
- package/esm2020/ngx-utils/pipes/get-type.pipe.mjs +9 -9
- package/esm2020/ngx-utils/pipes/global-template.pipe.mjs +13 -13
- package/esm2020/ngx-utils/pipes/group-by.pipe.mjs +9 -9
- package/esm2020/ngx-utils/pipes/is-type.pipe.mjs +9 -9
- package/esm2020/ngx-utils/pipes/join.pipe.mjs +9 -9
- package/esm2020/ngx-utils/pipes/keys.pipe.mjs +9 -9
- package/esm2020/ngx-utils/pipes/map.pipe.mjs +9 -9
- package/esm2020/ngx-utils/pipes/max.pipe.mjs +9 -9
- package/esm2020/ngx-utils/pipes/min.pipe.mjs +9 -9
- package/esm2020/ngx-utils/pipes/reduce.pipe.mjs +9 -9
- package/esm2020/ngx-utils/pipes/remap.pipe.mjs +9 -9
- package/esm2020/ngx-utils/pipes/replace.pipe.mjs +9 -9
- package/esm2020/ngx-utils/pipes/reverse.pipe.mjs +9 -9
- package/esm2020/ngx-utils/pipes/round.pipe.mjs +9 -9
- package/esm2020/ngx-utils/pipes/safe-html.pipe.mjs +9 -9
- package/esm2020/ngx-utils/pipes/translate.pipe.mjs +16 -16
- package/esm2020/ngx-utils/pipes/values.pipe.mjs +9 -9
- package/esm2020/ngx-utils/plugins/resize-event.plugin.mjs +9 -9
- package/esm2020/ngx-utils/plugins/scroll-event.plugin.mjs +9 -9
- package/esm2020/ngx-utils/services/acl.service.mjs +9 -9
- package/esm2020/ngx-utils/services/api.service.mjs +6 -6
- package/esm2020/ngx-utils/services/base-http.client.mjs +6 -6
- package/esm2020/ngx-utils/services/base-http.service.mjs +26 -26
- package/esm2020/ngx-utils/services/config.service.mjs +19 -19
- package/esm2020/ngx-utils/services/error-handler.service.mjs +6 -6
- package/esm2020/ngx-utils/services/events.service.mjs +6 -6
- package/esm2020/ngx-utils/services/formatter.service.mjs +9 -9
- package/esm2020/ngx-utils/services/global-template.service.mjs +6 -6
- package/esm2020/ngx-utils/services/icon.service.mjs +6 -6
- package/esm2020/ngx-utils/services/language.service.mjs +6 -6
- package/esm2020/ngx-utils/services/open-api.service.mjs +9 -9
- package/esm2020/ngx-utils/services/promise.service.mjs +9 -9
- package/esm2020/ngx-utils/services/state.service.mjs +8 -8
- package/esm2020/ngx-utils/services/static-language.service.mjs +21 -21
- package/esm2020/ngx-utils/services/storage.service.mjs +6 -6
- package/esm2020/ngx-utils/services/toaster.service.mjs +9 -9
- package/esm2020/ngx-utils/services/translated-url.serializer.mjs +9 -9
- package/esm2020/ngx-utils/services/universal.service.mjs +9 -9
- package/esm2020/ngx-utils/utils/auth.guard.mjs +15 -15
- package/fesm2015/stemy-ngx-utils.mjs +1165 -370
- package/fesm2015/stemy-ngx-utils.mjs.map +1 -1
- package/fesm2020/stemy-ngx-utils.mjs +1286 -762
- package/fesm2020/stemy-ngx-utils.mjs.map +1 -1
- package/package.json +4 -1
|
@@ -17,7 +17,7 @@ import { HttpClient, HttpHeaders, HttpParams, HttpUrlEncodingCodec, HttpEventTyp
|
|
|
17
17
|
import * as i1$2 from '@angular/platform-browser';
|
|
18
18
|
import { ɵDomEventsPlugin, EVENT_MANAGER_PLUGINS } from '@angular/platform-browser';
|
|
19
19
|
import { addListener, removeListener } from 'resize-detector';
|
|
20
|
-
import * as
|
|
20
|
+
import * as i3 from '@angular/forms';
|
|
21
21
|
import { FormsModule } from '@angular/forms';
|
|
22
22
|
|
|
23
23
|
const defaultPredicate = () => true;
|
|
@@ -1269,16 +1269,18 @@ class UniversalService {
|
|
|
1269
1269
|
return this.crawler;
|
|
1270
1270
|
}
|
|
1271
1271
|
}
|
|
1272
|
-
UniversalService.ɵfac =
|
|
1273
|
-
UniversalService.ɵprov = i0.ɵɵ
|
|
1274
|
-
|
|
1272
|
+
UniversalService.ɵfac = function UniversalService_Factory(t) { return new (t || UniversalService)(i0.ɵɵinject(PLATFORM_ID), i0.ɵɵinject(i1.DeviceDetectorService)); };
|
|
1273
|
+
UniversalService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: UniversalService, factory: UniversalService.ɵfac });
|
|
1274
|
+
(function () {
|
|
1275
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UniversalService, [{
|
|
1275
1276
|
type: Injectable
|
|
1276
|
-
}],
|
|
1277
|
+
}], function () {
|
|
1277
1278
|
return [{ type: undefined, decorators: [{
|
|
1278
1279
|
type: Inject,
|
|
1279
1280
|
args: [PLATFORM_ID]
|
|
1280
1281
|
}] }, { type: i1.DeviceDetectorService }];
|
|
1281
|
-
}
|
|
1282
|
+
}, null);
|
|
1283
|
+
})();
|
|
1282
1284
|
|
|
1283
1285
|
const emptySnapshot = new ActivatedRouteSnapshot();
|
|
1284
1286
|
const emptyData = { id: "" };
|
|
@@ -1444,15 +1446,17 @@ class StateService extends BehaviorSubject {
|
|
|
1444
1446
|
return [url, extras];
|
|
1445
1447
|
}
|
|
1446
1448
|
}
|
|
1447
|
-
StateService.ɵfac =
|
|
1448
|
-
StateService.ɵprov = i0.ɵɵ
|
|
1449
|
-
|
|
1449
|
+
StateService.ɵfac = function StateService_Factory(t) { return new (t || StateService)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(i0.NgZone), i0.ɵɵinject(UniversalService), i0.ɵɵinject(i2.Router, 8)); };
|
|
1450
|
+
StateService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: StateService, factory: StateService.ɵfac });
|
|
1451
|
+
(function () {
|
|
1452
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StateService, [{
|
|
1450
1453
|
type: Injectable
|
|
1451
|
-
}],
|
|
1454
|
+
}], function () {
|
|
1452
1455
|
return [{ type: i0.Injector }, { type: i0.NgZone }, { type: UniversalService }, { type: i2.Router, decorators: [{
|
|
1453
1456
|
type: Optional
|
|
1454
1457
|
}] }];
|
|
1455
|
-
}
|
|
1458
|
+
}, null);
|
|
1459
|
+
})();
|
|
1456
1460
|
|
|
1457
1461
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1458
1462
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -1600,8 +1604,8 @@ class AuthGuard {
|
|
|
1600
1604
|
});
|
|
1601
1605
|
}
|
|
1602
1606
|
}
|
|
1603
|
-
AuthGuard.ɵfac =
|
|
1604
|
-
AuthGuard.ɵprov = i0.ɵɵ
|
|
1607
|
+
AuthGuard.ɵfac = function AuthGuard_Factory(t) { return new (t || AuthGuard)(i0.ɵɵinject(Injector), i0.ɵɵinject(StateService), i0.ɵɵinject(AUTH_SERVICE)); };
|
|
1608
|
+
AuthGuard.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AuthGuard, factory: AuthGuard.ɵfac });
|
|
1605
1609
|
__decorate([
|
|
1606
1610
|
FactoryDependencies(AUTH_SERVICE),
|
|
1607
1611
|
__metadata("design:type", Function),
|
|
@@ -1620,9 +1624,10 @@ __decorate([
|
|
|
1620
1624
|
__metadata("design:paramtypes", [Object, StateService, String]),
|
|
1621
1625
|
__metadata("design:returntype", Function)
|
|
1622
1626
|
], AuthGuard, "guardAuthStateField", null);
|
|
1623
|
-
|
|
1627
|
+
(function () {
|
|
1628
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthGuard, [{
|
|
1624
1629
|
type: Injectable
|
|
1625
|
-
}],
|
|
1630
|
+
}], function () {
|
|
1626
1631
|
return [{ type: i0.Injector, decorators: [{
|
|
1627
1632
|
type: Inject,
|
|
1628
1633
|
args: [Injector]
|
|
@@ -1633,7 +1638,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
1633
1638
|
type: Inject,
|
|
1634
1639
|
args: [AUTH_SERVICE]
|
|
1635
1640
|
}] }];
|
|
1636
|
-
}
|
|
1641
|
+
}, null);
|
|
1642
|
+
})();
|
|
1637
1643
|
|
|
1638
1644
|
class TimerUtils {
|
|
1639
1645
|
static createTimeout(func, time) {
|
|
@@ -2058,16 +2064,18 @@ class AclService {
|
|
|
2058
2064
|
return info;
|
|
2059
2065
|
}
|
|
2060
2066
|
}
|
|
2061
|
-
AclService.ɵfac =
|
|
2062
|
-
AclService.ɵprov = i0.ɵɵ
|
|
2063
|
-
|
|
2067
|
+
AclService.ɵfac = function AclService_Factory(t) { return new (t || AclService)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(StateService), i0.ɵɵinject(AUTH_SERVICE)); };
|
|
2068
|
+
AclService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AclService, factory: AclService.ɵfac });
|
|
2069
|
+
(function () {
|
|
2070
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AclService, [{
|
|
2064
2071
|
type: Injectable
|
|
2065
|
-
}],
|
|
2072
|
+
}], function () {
|
|
2066
2073
|
return [{ type: i0.Injector }, { type: StateService }, { type: undefined, decorators: [{
|
|
2067
2074
|
type: Inject,
|
|
2068
2075
|
args: [AUTH_SERVICE]
|
|
2069
2076
|
}] }];
|
|
2070
|
-
}
|
|
2077
|
+
}, null);
|
|
2078
|
+
})();
|
|
2071
2079
|
|
|
2072
2080
|
class BaseHttpClient extends HttpClient {
|
|
2073
2081
|
constructor(handler) {
|
|
@@ -2105,11 +2113,13 @@ class BaseHttpClient extends HttpClient {
|
|
|
2105
2113
|
this.extraRequestParams[name] = value;
|
|
2106
2114
|
}
|
|
2107
2115
|
}
|
|
2108
|
-
BaseHttpClient.ɵfac =
|
|
2109
|
-
BaseHttpClient.ɵprov = i0.ɵɵ
|
|
2110
|
-
|
|
2116
|
+
BaseHttpClient.ɵfac = function BaseHttpClient_Factory(t) { return new (t || BaseHttpClient)(i0.ɵɵinject(i1$1.HttpHandler)); };
|
|
2117
|
+
BaseHttpClient.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BaseHttpClient, factory: BaseHttpClient.ɵfac });
|
|
2118
|
+
(function () {
|
|
2119
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseHttpClient, [{
|
|
2111
2120
|
type: Injectable
|
|
2112
|
-
}],
|
|
2121
|
+
}], function () { return [{ type: i1$1.HttpHandler }]; }, null);
|
|
2122
|
+
})();
|
|
2113
2123
|
|
|
2114
2124
|
/**
|
|
2115
2125
|
* Use this service instead of Storage to avoid Angular Universal breaks on server environment
|
|
@@ -2149,11 +2159,13 @@ class StorageService {
|
|
|
2149
2159
|
storage.removeItem(key);
|
|
2150
2160
|
}
|
|
2151
2161
|
}
|
|
2152
|
-
StorageService.ɵfac =
|
|
2153
|
-
StorageService.ɵprov = i0.ɵɵ
|
|
2154
|
-
|
|
2162
|
+
StorageService.ɵfac = function StorageService_Factory(t) { return new (t || StorageService)(i0.ɵɵinject(UniversalService)); };
|
|
2163
|
+
StorageService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: StorageService, factory: StorageService.ɵfac });
|
|
2164
|
+
(function () {
|
|
2165
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StorageService, [{
|
|
2155
2166
|
type: Injectable
|
|
2156
|
-
}],
|
|
2167
|
+
}], function () { return [{ type: UniversalService }]; }, null);
|
|
2168
|
+
})();
|
|
2157
2169
|
|
|
2158
2170
|
class BaseHttpService {
|
|
2159
2171
|
constructor(client, storage, language, toaster, configs, request = null) {
|
|
@@ -2418,11 +2430,12 @@ class BaseHttpService {
|
|
|
2418
2430
|
}
|
|
2419
2431
|
}
|
|
2420
2432
|
BaseHttpService.failedRequests = [];
|
|
2421
|
-
BaseHttpService.ɵfac =
|
|
2422
|
-
BaseHttpService.ɵprov = i0.ɵɵ
|
|
2423
|
-
|
|
2433
|
+
BaseHttpService.ɵfac = function BaseHttpService_Factory(t) { return new (t || BaseHttpService)(i0.ɵɵinject(BaseHttpClient), i0.ɵɵinject(StorageService), i0.ɵɵinject(LANGUAGE_SERVICE), i0.ɵɵinject(TOASTER_SERVICE), i0.ɵɵinject(CONFIG_SERVICE), i0.ɵɵinject(EXPRESS_REQUEST, 8)); };
|
|
2434
|
+
BaseHttpService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BaseHttpService, factory: BaseHttpService.ɵfac });
|
|
2435
|
+
(function () {
|
|
2436
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseHttpService, [{
|
|
2424
2437
|
type: Injectable
|
|
2425
|
-
}],
|
|
2438
|
+
}], function () {
|
|
2426
2439
|
return [{ type: BaseHttpClient, decorators: [{
|
|
2427
2440
|
type: Inject,
|
|
2428
2441
|
args: [BaseHttpClient]
|
|
@@ -2444,7 +2457,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
2444
2457
|
type: Inject,
|
|
2445
2458
|
args: [EXPRESS_REQUEST]
|
|
2446
2459
|
}] }];
|
|
2447
|
-
}
|
|
2460
|
+
}, null);
|
|
2461
|
+
})();
|
|
2448
2462
|
|
|
2449
2463
|
class ApiService extends BaseHttpService {
|
|
2450
2464
|
get name() {
|
|
@@ -2475,11 +2489,13 @@ class ApiService extends BaseHttpService {
|
|
|
2475
2489
|
return this.listPromise(url, params);
|
|
2476
2490
|
}
|
|
2477
2491
|
}
|
|
2478
|
-
ApiService.ɵfac =
|
|
2479
|
-
ApiService.ɵprov = i0.ɵɵ
|
|
2480
|
-
|
|
2492
|
+
ApiService.ɵfac = /*@__PURE__*/ function () { let ɵApiService_BaseFactory; return function ApiService_Factory(t) { return (ɵApiService_BaseFactory || (ɵApiService_BaseFactory = i0.ɵɵgetInheritedFactory(ApiService)))(t || ApiService); }; }();
|
|
2493
|
+
ApiService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ApiService, factory: ApiService.ɵfac });
|
|
2494
|
+
(function () {
|
|
2495
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ApiService, [{
|
|
2481
2496
|
type: Injectable
|
|
2482
|
-
}]
|
|
2497
|
+
}], null, null);
|
|
2498
|
+
})();
|
|
2483
2499
|
|
|
2484
2500
|
class StaticAuthService {
|
|
2485
2501
|
constructor() {
|
|
@@ -2599,11 +2615,12 @@ class ConfigService {
|
|
|
2599
2615
|
return decodeURIComponent(results[2].replace(/\+/g, " "));
|
|
2600
2616
|
}
|
|
2601
2617
|
}
|
|
2602
|
-
ConfigService.ɵfac =
|
|
2603
|
-
ConfigService.ɵprov = i0.ɵɵ
|
|
2604
|
-
|
|
2618
|
+
ConfigService.ɵfac = function ConfigService_Factory(t) { return new (t || ConfigService)(i0.ɵɵinject(i1$1.HttpClient), i0.ɵɵinject(UniversalService), i0.ɵɵinject(ROOT_ELEMENT), i0.ɵɵinject(BASE_CONFIG, 8), i0.ɵɵinject(SCRIPT_PARAMS, 8)); };
|
|
2619
|
+
ConfigService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ConfigService, factory: ConfigService.ɵfac });
|
|
2620
|
+
(function () {
|
|
2621
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfigService, [{
|
|
2605
2622
|
type: Injectable
|
|
2606
|
-
}],
|
|
2623
|
+
}], function () {
|
|
2607
2624
|
return [{ type: i1$1.HttpClient }, { type: UniversalService }, { type: undefined, decorators: [{
|
|
2608
2625
|
type: Inject,
|
|
2609
2626
|
args: [ROOT_ELEMENT]
|
|
@@ -2618,7 +2635,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
2618
2635
|
type: Inject,
|
|
2619
2636
|
args: [SCRIPT_PARAMS]
|
|
2620
2637
|
}] }];
|
|
2621
|
-
}
|
|
2638
|
+
}, null);
|
|
2639
|
+
})();
|
|
2622
2640
|
|
|
2623
2641
|
class ErrorHandlerService extends ErrorHandler {
|
|
2624
2642
|
constructor(injector) {
|
|
@@ -2659,11 +2677,13 @@ class ErrorHandlerService extends ErrorHandler {
|
|
|
2659
2677
|
console.error(`[${date}]: ${error.message}\n${error.stack}`);
|
|
2660
2678
|
}
|
|
2661
2679
|
}
|
|
2662
|
-
ErrorHandlerService.ɵfac =
|
|
2663
|
-
ErrorHandlerService.ɵprov = i0.ɵɵ
|
|
2664
|
-
|
|
2680
|
+
ErrorHandlerService.ɵfac = function ErrorHandlerService_Factory(t) { return new (t || ErrorHandlerService)(i0.ɵɵinject(i0.Injector)); };
|
|
2681
|
+
ErrorHandlerService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ErrorHandlerService, factory: ErrorHandlerService.ɵfac });
|
|
2682
|
+
(function () {
|
|
2683
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ErrorHandlerService, [{
|
|
2665
2684
|
type: Injectable
|
|
2666
|
-
}],
|
|
2685
|
+
}], function () { return [{ type: i0.Injector }]; }, null);
|
|
2686
|
+
})();
|
|
2667
2687
|
|
|
2668
2688
|
class EventsService {
|
|
2669
2689
|
constructor() {
|
|
@@ -2683,11 +2703,13 @@ class EventsService {
|
|
|
2683
2703
|
this.stickyUpdated.emit(sticky);
|
|
2684
2704
|
}
|
|
2685
2705
|
}
|
|
2686
|
-
EventsService.ɵfac =
|
|
2687
|
-
EventsService.ɵprov = i0.ɵɵ
|
|
2688
|
-
|
|
2706
|
+
EventsService.ɵfac = function EventsService_Factory(t) { return new (t || EventsService)(); };
|
|
2707
|
+
EventsService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: EventsService, factory: EventsService.ɵfac });
|
|
2708
|
+
(function () {
|
|
2709
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventsService, [{
|
|
2689
2710
|
type: Injectable
|
|
2690
|
-
}],
|
|
2711
|
+
}], function () { return []; }, null);
|
|
2712
|
+
})();
|
|
2691
2713
|
|
|
2692
2714
|
class FormatterService {
|
|
2693
2715
|
constructor(language) {
|
|
@@ -2722,16 +2744,18 @@ class FormatterService {
|
|
|
2722
2744
|
return ObjectUtils.isNumber(precision) ? precision : this.defaultPrecision;
|
|
2723
2745
|
}
|
|
2724
2746
|
}
|
|
2725
|
-
FormatterService.ɵfac =
|
|
2726
|
-
FormatterService.ɵprov = i0.ɵɵ
|
|
2727
|
-
|
|
2747
|
+
FormatterService.ɵfac = function FormatterService_Factory(t) { return new (t || FormatterService)(i0.ɵɵinject(LANGUAGE_SERVICE)); };
|
|
2748
|
+
FormatterService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormatterService, factory: FormatterService.ɵfac });
|
|
2749
|
+
(function () {
|
|
2750
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormatterService, [{
|
|
2728
2751
|
type: Injectable
|
|
2729
|
-
}],
|
|
2752
|
+
}], function () {
|
|
2730
2753
|
return [{ type: undefined, decorators: [{
|
|
2731
2754
|
type: Inject,
|
|
2732
2755
|
args: [LANGUAGE_SERVICE]
|
|
2733
2756
|
}] }];
|
|
2734
|
-
}
|
|
2757
|
+
}, null);
|
|
2758
|
+
})();
|
|
2735
2759
|
|
|
2736
2760
|
class GlobalTemplateService {
|
|
2737
2761
|
constructor() {
|
|
@@ -2761,11 +2785,13 @@ class GlobalTemplateService {
|
|
|
2761
2785
|
this.componentModifiers[id] = modifier;
|
|
2762
2786
|
}
|
|
2763
2787
|
}
|
|
2764
|
-
GlobalTemplateService.ɵfac =
|
|
2765
|
-
GlobalTemplateService.ɵprov = i0.ɵɵ
|
|
2766
|
-
|
|
2788
|
+
GlobalTemplateService.ɵfac = function GlobalTemplateService_Factory(t) { return new (t || GlobalTemplateService)(); };
|
|
2789
|
+
GlobalTemplateService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: GlobalTemplateService, factory: GlobalTemplateService.ɵfac });
|
|
2790
|
+
(function () {
|
|
2791
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GlobalTemplateService, [{
|
|
2767
2792
|
type: Injectable
|
|
2768
|
-
}],
|
|
2793
|
+
}], function () { return []; }, null);
|
|
2794
|
+
})();
|
|
2769
2795
|
|
|
2770
2796
|
class IconService {
|
|
2771
2797
|
constructor() {
|
|
@@ -2785,11 +2811,13 @@ class IconService {
|
|
|
2785
2811
|
return Promise.resolve(active ? activeIcon : icon);
|
|
2786
2812
|
}
|
|
2787
2813
|
}
|
|
2788
|
-
IconService.ɵfac =
|
|
2789
|
-
IconService.ɵprov = i0.ɵɵ
|
|
2790
|
-
|
|
2814
|
+
IconService.ɵfac = function IconService_Factory(t) { return new (t || IconService)(); };
|
|
2815
|
+
IconService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: IconService, factory: IconService.ɵfac });
|
|
2816
|
+
(function () {
|
|
2817
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IconService, [{
|
|
2791
2818
|
type: Injectable
|
|
2792
|
-
}],
|
|
2819
|
+
}], function () { return []; }, null);
|
|
2820
|
+
})();
|
|
2793
2821
|
|
|
2794
2822
|
class StaticLanguageService {
|
|
2795
2823
|
constructor(events, storage, configs, promises, client) {
|
|
@@ -2926,11 +2954,12 @@ class StaticLanguageService {
|
|
|
2926
2954
|
return browserLang;
|
|
2927
2955
|
}
|
|
2928
2956
|
}
|
|
2929
|
-
StaticLanguageService.ɵfac =
|
|
2930
|
-
StaticLanguageService.ɵprov = i0.ɵɵ
|
|
2931
|
-
|
|
2957
|
+
StaticLanguageService.ɵfac = function StaticLanguageService_Factory(t) { return new (t || StaticLanguageService)(i0.ɵɵinject(EventsService), i0.ɵɵinject(StorageService), i0.ɵɵinject(CONFIG_SERVICE), i0.ɵɵinject(PROMISE_SERVICE), i0.ɵɵinject(BaseHttpClient)); };
|
|
2958
|
+
StaticLanguageService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: StaticLanguageService, factory: StaticLanguageService.ɵfac });
|
|
2959
|
+
(function () {
|
|
2960
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StaticLanguageService, [{
|
|
2932
2961
|
type: Injectable
|
|
2933
|
-
}],
|
|
2962
|
+
}], function () {
|
|
2934
2963
|
return [{ type: EventsService, decorators: [{
|
|
2935
2964
|
type: Inject,
|
|
2936
2965
|
args: [EventsService]
|
|
@@ -2947,7 +2976,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
2947
2976
|
type: Inject,
|
|
2948
2977
|
args: [BaseHttpClient]
|
|
2949
2978
|
}] }];
|
|
2950
|
-
}
|
|
2979
|
+
}, null);
|
|
2980
|
+
})();
|
|
2951
2981
|
|
|
2952
2982
|
class LanguageService extends StaticLanguageService {
|
|
2953
2983
|
get currentLanguage() {
|
|
@@ -3057,11 +3087,13 @@ class LanguageService extends StaticLanguageService {
|
|
|
3057
3087
|
return this.settingsPromise;
|
|
3058
3088
|
}
|
|
3059
3089
|
}
|
|
3060
|
-
LanguageService.ɵfac =
|
|
3061
|
-
LanguageService.ɵprov = i0.ɵɵ
|
|
3062
|
-
|
|
3090
|
+
LanguageService.ɵfac = /*@__PURE__*/ function () { let ɵLanguageService_BaseFactory; return function LanguageService_Factory(t) { return (ɵLanguageService_BaseFactory || (ɵLanguageService_BaseFactory = i0.ɵɵgetInheritedFactory(LanguageService)))(t || LanguageService); }; }();
|
|
3091
|
+
LanguageService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: LanguageService, factory: LanguageService.ɵfac });
|
|
3092
|
+
(function () {
|
|
3093
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LanguageService, [{
|
|
3063
3094
|
type: Injectable
|
|
3064
|
-
}]
|
|
3095
|
+
}], null, null);
|
|
3096
|
+
})();
|
|
3065
3097
|
|
|
3066
3098
|
class OpenApiService {
|
|
3067
3099
|
constructor(api) {
|
|
@@ -3094,16 +3126,18 @@ class OpenApiService {
|
|
|
3094
3126
|
});
|
|
3095
3127
|
}
|
|
3096
3128
|
}
|
|
3097
|
-
OpenApiService.ɵfac =
|
|
3098
|
-
OpenApiService.ɵprov = i0.ɵɵ
|
|
3099
|
-
|
|
3129
|
+
OpenApiService.ɵfac = function OpenApiService_Factory(t) { return new (t || OpenApiService)(i0.ɵɵinject(API_SERVICE)); };
|
|
3130
|
+
OpenApiService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: OpenApiService, factory: OpenApiService.ɵfac });
|
|
3131
|
+
(function () {
|
|
3132
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OpenApiService, [{
|
|
3100
3133
|
type: Injectable
|
|
3101
|
-
}],
|
|
3134
|
+
}], function () {
|
|
3102
3135
|
return [{ type: undefined, decorators: [{
|
|
3103
3136
|
type: Inject,
|
|
3104
3137
|
args: [API_SERVICE]
|
|
3105
3138
|
}] }];
|
|
3106
|
-
}
|
|
3139
|
+
}, null);
|
|
3140
|
+
})();
|
|
3107
3141
|
|
|
3108
3142
|
class ConsoleToasterService {
|
|
3109
3143
|
constructor(language) {
|
|
@@ -3125,16 +3159,18 @@ class ConsoleToasterService {
|
|
|
3125
3159
|
this.language.getTranslation(message, params).then(callback);
|
|
3126
3160
|
}
|
|
3127
3161
|
}
|
|
3128
|
-
ConsoleToasterService.ɵfac =
|
|
3129
|
-
ConsoleToasterService.ɵprov = i0.ɵɵ
|
|
3130
|
-
|
|
3162
|
+
ConsoleToasterService.ɵfac = function ConsoleToasterService_Factory(t) { return new (t || ConsoleToasterService)(i0.ɵɵinject(LANGUAGE_SERVICE)); };
|
|
3163
|
+
ConsoleToasterService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ConsoleToasterService, factory: ConsoleToasterService.ɵfac });
|
|
3164
|
+
(function () {
|
|
3165
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConsoleToasterService, [{
|
|
3131
3166
|
type: Injectable
|
|
3132
|
-
}],
|
|
3167
|
+
}], function () {
|
|
3133
3168
|
return [{ type: undefined, decorators: [{
|
|
3134
3169
|
type: Inject,
|
|
3135
3170
|
args: [LANGUAGE_SERVICE]
|
|
3136
3171
|
}] }];
|
|
3137
|
-
}
|
|
3172
|
+
}, null);
|
|
3173
|
+
})();
|
|
3138
3174
|
|
|
3139
3175
|
class TranslatedUrlSerializer extends DefaultUrlSerializer {
|
|
3140
3176
|
constructor(language) {
|
|
@@ -3196,16 +3232,18 @@ class TranslatedUrlSerializer extends DefaultUrlSerializer {
|
|
|
3196
3232
|
return newGroup;
|
|
3197
3233
|
}
|
|
3198
3234
|
}
|
|
3199
|
-
TranslatedUrlSerializer.ɵfac =
|
|
3200
|
-
TranslatedUrlSerializer.ɵprov = i0.ɵɵ
|
|
3201
|
-
|
|
3235
|
+
TranslatedUrlSerializer.ɵfac = function TranslatedUrlSerializer_Factory(t) { return new (t || TranslatedUrlSerializer)(i0.ɵɵinject(LANGUAGE_SERVICE)); };
|
|
3236
|
+
TranslatedUrlSerializer.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: TranslatedUrlSerializer, factory: TranslatedUrlSerializer.ɵfac });
|
|
3237
|
+
(function () {
|
|
3238
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TranslatedUrlSerializer, [{
|
|
3202
3239
|
type: Injectable
|
|
3203
|
-
}],
|
|
3240
|
+
}], function () {
|
|
3204
3241
|
return [{ type: undefined, decorators: [{
|
|
3205
3242
|
type: Inject,
|
|
3206
3243
|
args: [LANGUAGE_SERVICE]
|
|
3207
3244
|
}] }];
|
|
3208
|
-
}
|
|
3245
|
+
}, null);
|
|
3246
|
+
})();
|
|
3209
3247
|
|
|
3210
3248
|
class PromiseService {
|
|
3211
3249
|
constructor(zone) {
|
|
@@ -3251,16 +3289,18 @@ class PromiseService {
|
|
|
3251
3289
|
});
|
|
3252
3290
|
}
|
|
3253
3291
|
}
|
|
3254
|
-
PromiseService.ɵfac =
|
|
3255
|
-
PromiseService.ɵprov = i0.ɵɵ
|
|
3256
|
-
|
|
3292
|
+
PromiseService.ɵfac = function PromiseService_Factory(t) { return new (t || PromiseService)(i0.ɵɵinject(NgZone)); };
|
|
3293
|
+
PromiseService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PromiseService, factory: PromiseService.ɵfac });
|
|
3294
|
+
(function () {
|
|
3295
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PromiseService, [{
|
|
3257
3296
|
type: Injectable
|
|
3258
|
-
}],
|
|
3297
|
+
}], function () {
|
|
3259
3298
|
return [{ type: i0.NgZone, decorators: [{
|
|
3260
3299
|
type: Inject,
|
|
3261
3300
|
args: [NgZone]
|
|
3262
3301
|
}] }];
|
|
3263
|
-
}
|
|
3302
|
+
}, null);
|
|
3303
|
+
})();
|
|
3264
3304
|
|
|
3265
3305
|
function emptyRemove$1() {
|
|
3266
3306
|
}
|
|
@@ -3305,16 +3345,18 @@ class ResizeEventPlugin extends ɵDomEventsPlugin {
|
|
|
3305
3345
|
}
|
|
3306
3346
|
}
|
|
3307
3347
|
ResizeEventPlugin.EVENT_NAME = "resize";
|
|
3308
|
-
ResizeEventPlugin.ɵfac =
|
|
3309
|
-
ResizeEventPlugin.ɵprov = i0.ɵɵ
|
|
3310
|
-
|
|
3348
|
+
ResizeEventPlugin.ɵfac = function ResizeEventPlugin_Factory(t) { return new (t || ResizeEventPlugin)(i0.ɵɵinject(DOCUMENT), i0.ɵɵinject(UniversalService)); };
|
|
3349
|
+
ResizeEventPlugin.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ResizeEventPlugin, factory: ResizeEventPlugin.ɵfac });
|
|
3350
|
+
(function () {
|
|
3351
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ResizeEventPlugin, [{
|
|
3311
3352
|
type: Injectable
|
|
3312
|
-
}],
|
|
3353
|
+
}], function () {
|
|
3313
3354
|
return [{ type: undefined, decorators: [{
|
|
3314
3355
|
type: Inject,
|
|
3315
3356
|
args: [DOCUMENT]
|
|
3316
3357
|
}] }, { type: UniversalService }];
|
|
3317
|
-
}
|
|
3358
|
+
}, null);
|
|
3359
|
+
})();
|
|
3318
3360
|
|
|
3319
3361
|
function emptyRemove() {
|
|
3320
3362
|
}
|
|
@@ -3340,16 +3382,18 @@ class ScrollEventPlugin extends ɵDomEventsPlugin {
|
|
|
3340
3382
|
}
|
|
3341
3383
|
}
|
|
3342
3384
|
ScrollEventPlugin.EVENT_NAME = "scroll";
|
|
3343
|
-
ScrollEventPlugin.ɵfac =
|
|
3344
|
-
ScrollEventPlugin.ɵprov = i0.ɵɵ
|
|
3345
|
-
|
|
3385
|
+
ScrollEventPlugin.ɵfac = function ScrollEventPlugin_Factory(t) { return new (t || ScrollEventPlugin)(i0.ɵɵinject(DOCUMENT), i0.ɵɵinject(UniversalService)); };
|
|
3386
|
+
ScrollEventPlugin.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ScrollEventPlugin, factory: ScrollEventPlugin.ɵfac });
|
|
3387
|
+
(function () {
|
|
3388
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ScrollEventPlugin, [{
|
|
3346
3389
|
type: Injectable
|
|
3347
|
-
}],
|
|
3390
|
+
}], function () {
|
|
3348
3391
|
return [{ type: undefined, decorators: [{
|
|
3349
3392
|
type: Inject,
|
|
3350
3393
|
args: [DOCUMENT]
|
|
3351
3394
|
}] }, { type: UniversalService }];
|
|
3352
|
-
}
|
|
3395
|
+
}, null);
|
|
3396
|
+
})();
|
|
3353
3397
|
|
|
3354
3398
|
class ChunkPipe {
|
|
3355
3399
|
transform(items, count) {
|
|
@@ -3365,14 +3409,16 @@ class ChunkPipe {
|
|
|
3365
3409
|
return result;
|
|
3366
3410
|
}
|
|
3367
3411
|
}
|
|
3368
|
-
ChunkPipe.ɵfac =
|
|
3369
|
-
ChunkPipe.ɵpipe = i0.ɵɵ
|
|
3370
|
-
|
|
3412
|
+
ChunkPipe.ɵfac = function ChunkPipe_Factory(t) { return new (t || ChunkPipe)(); };
|
|
3413
|
+
ChunkPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "chunk", type: ChunkPipe, pure: true });
|
|
3414
|
+
(function () {
|
|
3415
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ChunkPipe, [{
|
|
3371
3416
|
type: Pipe,
|
|
3372
3417
|
args: [{
|
|
3373
3418
|
name: "chunk"
|
|
3374
3419
|
}]
|
|
3375
|
-
}]
|
|
3420
|
+
}], null, null);
|
|
3421
|
+
})();
|
|
3376
3422
|
|
|
3377
3423
|
const emptyEntries = [];
|
|
3378
3424
|
class EntriesPipe {
|
|
@@ -3390,14 +3436,16 @@ class EntriesPipe {
|
|
|
3390
3436
|
return entries;
|
|
3391
3437
|
}
|
|
3392
3438
|
}
|
|
3393
|
-
EntriesPipe.ɵfac =
|
|
3394
|
-
EntriesPipe.ɵpipe = i0.ɵɵ
|
|
3395
|
-
|
|
3439
|
+
EntriesPipe.ɵfac = function EntriesPipe_Factory(t) { return new (t || EntriesPipe)(); };
|
|
3440
|
+
EntriesPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "entries", type: EntriesPipe, pure: true });
|
|
3441
|
+
(function () {
|
|
3442
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntriesPipe, [{
|
|
3396
3443
|
type: Pipe,
|
|
3397
3444
|
args: [{
|
|
3398
3445
|
name: "entries"
|
|
3399
3446
|
}]
|
|
3400
|
-
}]
|
|
3447
|
+
}], null, null);
|
|
3448
|
+
})();
|
|
3401
3449
|
|
|
3402
3450
|
class ExtraItemPropertiesPipe {
|
|
3403
3451
|
transform(items, properties, params = {}) {
|
|
@@ -3418,14 +3466,16 @@ class ExtraItemPropertiesPipe {
|
|
|
3418
3466
|
}, Object.assign({}, item)));
|
|
3419
3467
|
}
|
|
3420
3468
|
}
|
|
3421
|
-
ExtraItemPropertiesPipe.ɵfac =
|
|
3422
|
-
ExtraItemPropertiesPipe.ɵpipe = i0.ɵɵ
|
|
3423
|
-
|
|
3469
|
+
ExtraItemPropertiesPipe.ɵfac = function ExtraItemPropertiesPipe_Factory(t) { return new (t || ExtraItemPropertiesPipe)(); };
|
|
3470
|
+
ExtraItemPropertiesPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "extraItemProperties", type: ExtraItemPropertiesPipe, pure: true });
|
|
3471
|
+
(function () {
|
|
3472
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ExtraItemPropertiesPipe, [{
|
|
3424
3473
|
type: Pipe,
|
|
3425
3474
|
args: [{
|
|
3426
3475
|
name: "extraItemProperties"
|
|
3427
3476
|
}]
|
|
3428
|
-
}]
|
|
3477
|
+
}], null, null);
|
|
3478
|
+
})();
|
|
3429
3479
|
|
|
3430
3480
|
function defaultFilter$1() {
|
|
3431
3481
|
return true;
|
|
@@ -3457,14 +3507,16 @@ class FilterPipe {
|
|
|
3457
3507
|
});
|
|
3458
3508
|
}
|
|
3459
3509
|
}
|
|
3460
|
-
FilterPipe.ɵfac =
|
|
3461
|
-
FilterPipe.ɵpipe = i0.ɵɵ
|
|
3462
|
-
|
|
3510
|
+
FilterPipe.ɵfac = function FilterPipe_Factory(t) { return new (t || FilterPipe)(); };
|
|
3511
|
+
FilterPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "filter", type: FilterPipe, pure: true });
|
|
3512
|
+
(function () {
|
|
3513
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FilterPipe, [{
|
|
3463
3514
|
type: Pipe,
|
|
3464
3515
|
args: [{
|
|
3465
3516
|
name: "filter"
|
|
3466
3517
|
}]
|
|
3467
|
-
}]
|
|
3518
|
+
}], null, null);
|
|
3519
|
+
})();
|
|
3468
3520
|
|
|
3469
3521
|
function defaultFilter() {
|
|
3470
3522
|
return true;
|
|
@@ -3483,14 +3535,16 @@ class FindPipe {
|
|
|
3483
3535
|
return values.find((value, index) => filterFunc(value, index, params));
|
|
3484
3536
|
}
|
|
3485
3537
|
}
|
|
3486
|
-
FindPipe.ɵfac =
|
|
3487
|
-
FindPipe.ɵpipe = i0.ɵɵ
|
|
3488
|
-
|
|
3538
|
+
FindPipe.ɵfac = function FindPipe_Factory(t) { return new (t || FindPipe)(); };
|
|
3539
|
+
FindPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "find", type: FindPipe, pure: true });
|
|
3540
|
+
(function () {
|
|
3541
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FindPipe, [{
|
|
3489
3542
|
type: Pipe,
|
|
3490
3543
|
args: [{
|
|
3491
3544
|
name: "find"
|
|
3492
3545
|
}]
|
|
3493
|
-
}]
|
|
3546
|
+
}], null, null);
|
|
3547
|
+
})();
|
|
3494
3548
|
|
|
3495
3549
|
class FormatNumberPipe {
|
|
3496
3550
|
constructor(formatter) {
|
|
@@ -3500,42 +3554,48 @@ class FormatNumberPipe {
|
|
|
3500
3554
|
return this.formatter.formatNumber(value, format, precision, divider);
|
|
3501
3555
|
}
|
|
3502
3556
|
}
|
|
3503
|
-
FormatNumberPipe.ɵfac =
|
|
3504
|
-
FormatNumberPipe.ɵpipe = i0.ɵɵ
|
|
3505
|
-
|
|
3557
|
+
FormatNumberPipe.ɵfac = function FormatNumberPipe_Factory(t) { return new (t || FormatNumberPipe)(i0.ɵɵdirectiveInject(FormatterService, 16)); };
|
|
3558
|
+
FormatNumberPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "formatNumber", type: FormatNumberPipe, pure: true });
|
|
3559
|
+
(function () {
|
|
3560
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormatNumberPipe, [{
|
|
3506
3561
|
type: Pipe,
|
|
3507
3562
|
args: [{
|
|
3508
3563
|
name: "formatNumber"
|
|
3509
3564
|
}]
|
|
3510
|
-
}],
|
|
3565
|
+
}], function () { return [{ type: FormatterService }]; }, null);
|
|
3566
|
+
})();
|
|
3511
3567
|
|
|
3512
3568
|
class GetOffsetPipe {
|
|
3513
3569
|
transform(value, offset) {
|
|
3514
3570
|
return value ? (ObjectUtils.isNullOrUndefined(offset) ? value : value[offset]) : null;
|
|
3515
3571
|
}
|
|
3516
3572
|
}
|
|
3517
|
-
GetOffsetPipe.ɵfac =
|
|
3518
|
-
GetOffsetPipe.ɵpipe = i0.ɵɵ
|
|
3519
|
-
|
|
3573
|
+
GetOffsetPipe.ɵfac = function GetOffsetPipe_Factory(t) { return new (t || GetOffsetPipe)(); };
|
|
3574
|
+
GetOffsetPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "getOffset", type: GetOffsetPipe, pure: true });
|
|
3575
|
+
(function () {
|
|
3576
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GetOffsetPipe, [{
|
|
3520
3577
|
type: Pipe,
|
|
3521
3578
|
args: [{
|
|
3522
3579
|
name: "getOffset"
|
|
3523
3580
|
}]
|
|
3524
|
-
}]
|
|
3581
|
+
}], null, null);
|
|
3582
|
+
})();
|
|
3525
3583
|
|
|
3526
3584
|
class GetTypePipe {
|
|
3527
3585
|
transform(value) {
|
|
3528
3586
|
return typeof value;
|
|
3529
3587
|
}
|
|
3530
3588
|
}
|
|
3531
|
-
GetTypePipe.ɵfac =
|
|
3532
|
-
GetTypePipe.ɵpipe = i0.ɵɵ
|
|
3533
|
-
|
|
3589
|
+
GetTypePipe.ɵfac = function GetTypePipe_Factory(t) { return new (t || GetTypePipe)(); };
|
|
3590
|
+
GetTypePipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "getType", type: GetTypePipe, pure: true });
|
|
3591
|
+
(function () {
|
|
3592
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GetTypePipe, [{
|
|
3534
3593
|
type: Pipe,
|
|
3535
3594
|
args: [{
|
|
3536
3595
|
name: "getType"
|
|
3537
3596
|
}]
|
|
3538
|
-
}]
|
|
3597
|
+
}], null, null);
|
|
3598
|
+
})();
|
|
3539
3599
|
|
|
3540
3600
|
class GlobalTemplatePipe {
|
|
3541
3601
|
constructor(globalTemplates) {
|
|
@@ -3562,20 +3622,22 @@ class GlobalTemplatePipe {
|
|
|
3562
3622
|
return this.cachedTemplate;
|
|
3563
3623
|
}
|
|
3564
3624
|
}
|
|
3565
|
-
GlobalTemplatePipe.ɵfac =
|
|
3566
|
-
GlobalTemplatePipe.ɵpipe = i0.ɵɵ
|
|
3567
|
-
|
|
3625
|
+
GlobalTemplatePipe.ɵfac = function GlobalTemplatePipe_Factory(t) { return new (t || GlobalTemplatePipe)(i0.ɵɵdirectiveInject(GLOBAL_TEMPLATES, 16)); };
|
|
3626
|
+
GlobalTemplatePipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "globalTemplate", type: GlobalTemplatePipe, pure: false });
|
|
3627
|
+
(function () {
|
|
3628
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GlobalTemplatePipe, [{
|
|
3568
3629
|
type: Pipe,
|
|
3569
3630
|
args: [{
|
|
3570
3631
|
pure: false,
|
|
3571
3632
|
name: "globalTemplate"
|
|
3572
3633
|
}]
|
|
3573
|
-
}],
|
|
3634
|
+
}], function () {
|
|
3574
3635
|
return [{ type: undefined, decorators: [{
|
|
3575
3636
|
type: Inject,
|
|
3576
3637
|
args: [GLOBAL_TEMPLATES]
|
|
3577
3638
|
}] }];
|
|
3578
|
-
}
|
|
3639
|
+
}, null);
|
|
3640
|
+
})();
|
|
3579
3641
|
|
|
3580
3642
|
class GroupByPipe {
|
|
3581
3643
|
transform(records, column, map = null) {
|
|
@@ -3592,28 +3654,32 @@ class GroupByPipe {
|
|
|
3592
3654
|
});
|
|
3593
3655
|
}
|
|
3594
3656
|
}
|
|
3595
|
-
GroupByPipe.ɵfac =
|
|
3596
|
-
GroupByPipe.ɵpipe = i0.ɵɵ
|
|
3597
|
-
|
|
3657
|
+
GroupByPipe.ɵfac = function GroupByPipe_Factory(t) { return new (t || GroupByPipe)(); };
|
|
3658
|
+
GroupByPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "groupBy", type: GroupByPipe, pure: true });
|
|
3659
|
+
(function () {
|
|
3660
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GroupByPipe, [{
|
|
3598
3661
|
type: Pipe,
|
|
3599
3662
|
args: [{
|
|
3600
3663
|
name: "groupBy"
|
|
3601
3664
|
}]
|
|
3602
|
-
}]
|
|
3665
|
+
}], null, null);
|
|
3666
|
+
})();
|
|
3603
3667
|
|
|
3604
3668
|
class IsTypePipe {
|
|
3605
3669
|
transform(value, type) {
|
|
3606
3670
|
return (typeof value) === type;
|
|
3607
3671
|
}
|
|
3608
3672
|
}
|
|
3609
|
-
IsTypePipe.ɵfac =
|
|
3610
|
-
IsTypePipe.ɵpipe = i0.ɵɵ
|
|
3611
|
-
|
|
3673
|
+
IsTypePipe.ɵfac = function IsTypePipe_Factory(t) { return new (t || IsTypePipe)(); };
|
|
3674
|
+
IsTypePipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "isType", type: IsTypePipe, pure: true });
|
|
3675
|
+
(function () {
|
|
3676
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IsTypePipe, [{
|
|
3612
3677
|
type: Pipe,
|
|
3613
3678
|
args: [{
|
|
3614
3679
|
name: "isType"
|
|
3615
3680
|
}]
|
|
3616
|
-
}]
|
|
3681
|
+
}], null, null);
|
|
3682
|
+
})();
|
|
3617
3683
|
|
|
3618
3684
|
class JoinPipe {
|
|
3619
3685
|
transform(value, separator = ", ") {
|
|
@@ -3622,14 +3688,16 @@ class JoinPipe {
|
|
|
3622
3688
|
: "";
|
|
3623
3689
|
}
|
|
3624
3690
|
}
|
|
3625
|
-
JoinPipe.ɵfac =
|
|
3626
|
-
JoinPipe.ɵpipe = i0.ɵɵ
|
|
3627
|
-
|
|
3691
|
+
JoinPipe.ɵfac = function JoinPipe_Factory(t) { return new (t || JoinPipe)(); };
|
|
3692
|
+
JoinPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "join", type: JoinPipe, pure: true });
|
|
3693
|
+
(function () {
|
|
3694
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(JoinPipe, [{
|
|
3628
3695
|
type: Pipe,
|
|
3629
3696
|
args: [{
|
|
3630
3697
|
name: "join"
|
|
3631
3698
|
}]
|
|
3632
|
-
}]
|
|
3699
|
+
}], null, null);
|
|
3700
|
+
})();
|
|
3633
3701
|
|
|
3634
3702
|
const emptyKeys = [];
|
|
3635
3703
|
class KeysPipe {
|
|
@@ -3641,14 +3709,16 @@ class KeysPipe {
|
|
|
3641
3709
|
: Object.keys(value);
|
|
3642
3710
|
}
|
|
3643
3711
|
}
|
|
3644
|
-
KeysPipe.ɵfac =
|
|
3645
|
-
KeysPipe.ɵpipe = i0.ɵɵ
|
|
3646
|
-
|
|
3712
|
+
KeysPipe.ɵfac = function KeysPipe_Factory(t) { return new (t || KeysPipe)(); };
|
|
3713
|
+
KeysPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "keys", type: KeysPipe, pure: true });
|
|
3714
|
+
(function () {
|
|
3715
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(KeysPipe, [{
|
|
3647
3716
|
type: Pipe,
|
|
3648
3717
|
args: [{
|
|
3649
3718
|
name: "keys"
|
|
3650
3719
|
}]
|
|
3651
|
-
}]
|
|
3720
|
+
}], null, null);
|
|
3721
|
+
})();
|
|
3652
3722
|
|
|
3653
3723
|
function defaultMapper(item) {
|
|
3654
3724
|
return item;
|
|
@@ -3667,14 +3737,16 @@ class MapPipe {
|
|
|
3667
3737
|
return values.map((value, index) => mapperFunc(value, index, params));
|
|
3668
3738
|
}
|
|
3669
3739
|
}
|
|
3670
|
-
MapPipe.ɵfac =
|
|
3671
|
-
MapPipe.ɵpipe = i0.ɵɵ
|
|
3672
|
-
|
|
3740
|
+
MapPipe.ɵfac = function MapPipe_Factory(t) { return new (t || MapPipe)(); };
|
|
3741
|
+
MapPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "map", type: MapPipe, pure: true });
|
|
3742
|
+
(function () {
|
|
3743
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapPipe, [{
|
|
3673
3744
|
type: Pipe,
|
|
3674
3745
|
args: [{
|
|
3675
3746
|
name: "map"
|
|
3676
3747
|
}]
|
|
3677
|
-
}]
|
|
3748
|
+
}], null, null);
|
|
3749
|
+
})();
|
|
3678
3750
|
|
|
3679
3751
|
class MaxPipe {
|
|
3680
3752
|
transform(value, selector = null, params = {}) {
|
|
@@ -3689,14 +3761,16 @@ class MaxPipe {
|
|
|
3689
3761
|
return ArrayUtils.max(value, (item, index) => maxSelector(item, index, params));
|
|
3690
3762
|
}
|
|
3691
3763
|
}
|
|
3692
|
-
MaxPipe.ɵfac =
|
|
3693
|
-
MaxPipe.ɵpipe = i0.ɵɵ
|
|
3694
|
-
|
|
3764
|
+
MaxPipe.ɵfac = function MaxPipe_Factory(t) { return new (t || MaxPipe)(); };
|
|
3765
|
+
MaxPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "max", type: MaxPipe, pure: true });
|
|
3766
|
+
(function () {
|
|
3767
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MaxPipe, [{
|
|
3695
3768
|
type: Pipe,
|
|
3696
3769
|
args: [{
|
|
3697
3770
|
name: "max"
|
|
3698
3771
|
}]
|
|
3699
|
-
}]
|
|
3772
|
+
}], null, null);
|
|
3773
|
+
})();
|
|
3700
3774
|
|
|
3701
3775
|
class MinPipe {
|
|
3702
3776
|
transform(value, selector = null, params = {}) {
|
|
@@ -3711,14 +3785,16 @@ class MinPipe {
|
|
|
3711
3785
|
return ArrayUtils.min(value, (item, index) => minSelector(item, index, params));
|
|
3712
3786
|
}
|
|
3713
3787
|
}
|
|
3714
|
-
MinPipe.ɵfac =
|
|
3715
|
-
MinPipe.ɵpipe = i0.ɵɵ
|
|
3716
|
-
|
|
3788
|
+
MinPipe.ɵfac = function MinPipe_Factory(t) { return new (t || MinPipe)(); };
|
|
3789
|
+
MinPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "min", type: MinPipe, pure: true });
|
|
3790
|
+
(function () {
|
|
3791
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MinPipe, [{
|
|
3717
3792
|
type: Pipe,
|
|
3718
3793
|
args: [{
|
|
3719
3794
|
name: "min"
|
|
3720
3795
|
}]
|
|
3721
|
-
}]
|
|
3796
|
+
}], null, null);
|
|
3797
|
+
})();
|
|
3722
3798
|
|
|
3723
3799
|
function defaultReducer(result) {
|
|
3724
3800
|
return result;
|
|
@@ -3738,14 +3814,16 @@ class ReducePipe {
|
|
|
3738
3814
|
return values.reduce((result, value, index) => mapperFunc(result, value, index, params), source);
|
|
3739
3815
|
}
|
|
3740
3816
|
}
|
|
3741
|
-
ReducePipe.ɵfac =
|
|
3742
|
-
ReducePipe.ɵpipe = i0.ɵɵ
|
|
3743
|
-
|
|
3817
|
+
ReducePipe.ɵfac = function ReducePipe_Factory(t) { return new (t || ReducePipe)(); };
|
|
3818
|
+
ReducePipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "reduce", type: ReducePipe, pure: true });
|
|
3819
|
+
(function () {
|
|
3820
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReducePipe, [{
|
|
3744
3821
|
type: Pipe,
|
|
3745
3822
|
args: [{
|
|
3746
3823
|
name: "reduce"
|
|
3747
3824
|
}]
|
|
3748
|
-
}]
|
|
3825
|
+
}], null, null);
|
|
3826
|
+
})();
|
|
3749
3827
|
|
|
3750
3828
|
const empty = {};
|
|
3751
3829
|
class RemapPipe {
|
|
@@ -3767,28 +3845,32 @@ class RemapPipe {
|
|
|
3767
3845
|
return remapped.map;
|
|
3768
3846
|
}
|
|
3769
3847
|
}
|
|
3770
|
-
RemapPipe.ɵfac =
|
|
3771
|
-
RemapPipe.ɵpipe = i0.ɵɵ
|
|
3772
|
-
|
|
3848
|
+
RemapPipe.ɵfac = function RemapPipe_Factory(t) { return new (t || RemapPipe)(); };
|
|
3849
|
+
RemapPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "remap", type: RemapPipe, pure: true });
|
|
3850
|
+
(function () {
|
|
3851
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RemapPipe, [{
|
|
3773
3852
|
type: Pipe,
|
|
3774
3853
|
args: [{
|
|
3775
3854
|
name: "remap"
|
|
3776
3855
|
}]
|
|
3777
|
-
}]
|
|
3856
|
+
}], null, null);
|
|
3857
|
+
})();
|
|
3778
3858
|
|
|
3779
3859
|
class ReplacePipe {
|
|
3780
3860
|
transform(value, from, to) {
|
|
3781
3861
|
return value ? value.replace(from, to) : value;
|
|
3782
3862
|
}
|
|
3783
3863
|
}
|
|
3784
|
-
ReplacePipe.ɵfac =
|
|
3785
|
-
ReplacePipe.ɵpipe = i0.ɵɵ
|
|
3786
|
-
|
|
3864
|
+
ReplacePipe.ɵfac = function ReplacePipe_Factory(t) { return new (t || ReplacePipe)(); };
|
|
3865
|
+
ReplacePipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "replace", type: ReplacePipe, pure: true });
|
|
3866
|
+
(function () {
|
|
3867
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReplacePipe, [{
|
|
3787
3868
|
type: Pipe,
|
|
3788
3869
|
args: [{
|
|
3789
3870
|
name: "replace"
|
|
3790
3871
|
}]
|
|
3791
|
-
}]
|
|
3872
|
+
}], null, null);
|
|
3873
|
+
})();
|
|
3792
3874
|
|
|
3793
3875
|
const emptyArray = [];
|
|
3794
3876
|
class ReversePipe {
|
|
@@ -3802,14 +3884,16 @@ class ReversePipe {
|
|
|
3802
3884
|
return result;
|
|
3803
3885
|
}
|
|
3804
3886
|
}
|
|
3805
|
-
ReversePipe.ɵfac =
|
|
3806
|
-
ReversePipe.ɵpipe = i0.ɵɵ
|
|
3807
|
-
|
|
3887
|
+
ReversePipe.ɵfac = function ReversePipe_Factory(t) { return new (t || ReversePipe)(); };
|
|
3888
|
+
ReversePipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "reverse", type: ReversePipe, pure: true });
|
|
3889
|
+
(function () {
|
|
3890
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReversePipe, [{
|
|
3808
3891
|
type: Pipe,
|
|
3809
3892
|
args: [{
|
|
3810
3893
|
name: "reverse"
|
|
3811
3894
|
}]
|
|
3812
|
-
}]
|
|
3895
|
+
}], null, null);
|
|
3896
|
+
})();
|
|
3813
3897
|
|
|
3814
3898
|
class RoundPipe {
|
|
3815
3899
|
constructor(formatter) {
|
|
@@ -3819,14 +3903,16 @@ class RoundPipe {
|
|
|
3819
3903
|
return this.formatter.roundNumber(value, precision, divider);
|
|
3820
3904
|
}
|
|
3821
3905
|
}
|
|
3822
|
-
RoundPipe.ɵfac =
|
|
3823
|
-
RoundPipe.ɵpipe = i0.ɵɵ
|
|
3824
|
-
|
|
3906
|
+
RoundPipe.ɵfac = function RoundPipe_Factory(t) { return new (t || RoundPipe)(i0.ɵɵdirectiveInject(FormatterService, 16)); };
|
|
3907
|
+
RoundPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "round", type: RoundPipe, pure: true });
|
|
3908
|
+
(function () {
|
|
3909
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RoundPipe, [{
|
|
3825
3910
|
type: Pipe,
|
|
3826
3911
|
args: [{
|
|
3827
3912
|
name: "round"
|
|
3828
3913
|
}]
|
|
3829
|
-
}],
|
|
3914
|
+
}], function () { return [{ type: FormatterService }]; }, null);
|
|
3915
|
+
})();
|
|
3830
3916
|
|
|
3831
3917
|
class SafeHtmlPipe {
|
|
3832
3918
|
constructor(sanitizer) {
|
|
@@ -3849,14 +3935,16 @@ class SafeHtmlPipe {
|
|
|
3849
3935
|
}
|
|
3850
3936
|
}
|
|
3851
3937
|
}
|
|
3852
|
-
SafeHtmlPipe.ɵfac =
|
|
3853
|
-
SafeHtmlPipe.ɵpipe = i0.ɵɵ
|
|
3854
|
-
|
|
3938
|
+
SafeHtmlPipe.ɵfac = function SafeHtmlPipe_Factory(t) { return new (t || SafeHtmlPipe)(i0.ɵɵdirectiveInject(i1$2.DomSanitizer, 16)); };
|
|
3939
|
+
SafeHtmlPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "safe", type: SafeHtmlPipe, pure: true });
|
|
3940
|
+
(function () {
|
|
3941
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SafeHtmlPipe, [{
|
|
3855
3942
|
type: Pipe,
|
|
3856
3943
|
args: [{
|
|
3857
3944
|
name: "safe"
|
|
3858
3945
|
}]
|
|
3859
|
-
}],
|
|
3946
|
+
}], function () { return [{ type: i1$2.DomSanitizer }]; }, null);
|
|
3947
|
+
})();
|
|
3860
3948
|
|
|
3861
3949
|
class TranslatePipe {
|
|
3862
3950
|
constructor(cdr, language) {
|
|
@@ -3924,10 +4012,11 @@ class TranslatePipe {
|
|
|
3924
4012
|
return this.lastValue;
|
|
3925
4013
|
}
|
|
3926
4014
|
}
|
|
3927
|
-
TranslatePipe.ɵfac =
|
|
3928
|
-
TranslatePipe.ɵpipe = i0.ɵɵ
|
|
3929
|
-
TranslatePipe.ɵprov = i0.ɵɵ
|
|
3930
|
-
|
|
4015
|
+
TranslatePipe.ɵfac = function TranslatePipe_Factory(t) { return new (t || TranslatePipe)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef, 16), i0.ɵɵdirectiveInject(LANGUAGE_SERVICE, 16)); };
|
|
4016
|
+
TranslatePipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "translate", type: TranslatePipe, pure: false });
|
|
4017
|
+
TranslatePipe.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: TranslatePipe, factory: TranslatePipe.ɵfac });
|
|
4018
|
+
(function () {
|
|
4019
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TranslatePipe, [{
|
|
3931
4020
|
type: Injectable
|
|
3932
4021
|
}, {
|
|
3933
4022
|
type: Pipe,
|
|
@@ -3935,12 +4024,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
3935
4024
|
name: "translate",
|
|
3936
4025
|
pure: false
|
|
3937
4026
|
}]
|
|
3938
|
-
}],
|
|
4027
|
+
}], function () {
|
|
3939
4028
|
return [{ type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
3940
4029
|
type: Inject,
|
|
3941
4030
|
args: [LANGUAGE_SERVICE]
|
|
3942
4031
|
}] }];
|
|
3943
|
-
}
|
|
4032
|
+
}, null);
|
|
4033
|
+
})();
|
|
3944
4034
|
|
|
3945
4035
|
const emptyValues = [];
|
|
3946
4036
|
class ValuesPipe {
|
|
@@ -3952,14 +4042,16 @@ class ValuesPipe {
|
|
|
3952
4042
|
: Object.keys(value).map(key => value[key]);
|
|
3953
4043
|
}
|
|
3954
4044
|
}
|
|
3955
|
-
ValuesPipe.ɵfac =
|
|
3956
|
-
ValuesPipe.ɵpipe = i0.ɵɵ
|
|
3957
|
-
|
|
4045
|
+
ValuesPipe.ɵfac = function ValuesPipe_Factory(t) { return new (t || ValuesPipe)(); };
|
|
4046
|
+
ValuesPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "values", type: ValuesPipe, pure: true });
|
|
4047
|
+
(function () {
|
|
4048
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ValuesPipe, [{
|
|
3958
4049
|
type: Pipe,
|
|
3959
4050
|
args: [{
|
|
3960
4051
|
name: "values"
|
|
3961
4052
|
}]
|
|
3962
|
-
}]
|
|
4053
|
+
}], null, null);
|
|
4054
|
+
})();
|
|
3963
4055
|
|
|
3964
4056
|
class AsyncMethodBase {
|
|
3965
4057
|
constructor(toaster) {
|
|
@@ -4004,11 +4096,12 @@ class AsyncMethodBase {
|
|
|
4004
4096
|
return true;
|
|
4005
4097
|
}
|
|
4006
4098
|
}
|
|
4007
|
-
AsyncMethodBase.ɵfac =
|
|
4008
|
-
AsyncMethodBase.ɵprov = i0.ɵɵ
|
|
4009
|
-
|
|
4099
|
+
AsyncMethodBase.ɵfac = function AsyncMethodBase_Factory(t) { i0.ɵɵinvalidFactory(); };
|
|
4100
|
+
AsyncMethodBase.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AsyncMethodBase, factory: AsyncMethodBase.ɵfac });
|
|
4101
|
+
(function () {
|
|
4102
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AsyncMethodBase, [{
|
|
4010
4103
|
type: Injectable
|
|
4011
|
-
}],
|
|
4104
|
+
}], function () { return [{ type: undefined }]; }, { disabled: [{
|
|
4012
4105
|
type: Input
|
|
4013
4106
|
}], context: [{
|
|
4014
4107
|
type: Input
|
|
@@ -4025,7 +4118,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
4025
4118
|
}], click: [{
|
|
4026
4119
|
type: HostListener,
|
|
4027
4120
|
args: ["click"]
|
|
4028
|
-
}] }
|
|
4121
|
+
}] });
|
|
4122
|
+
})();
|
|
4029
4123
|
|
|
4030
4124
|
class AsyncMethodDirective extends AsyncMethodBase {
|
|
4031
4125
|
constructor(toaster) {
|
|
@@ -4035,23 +4129,25 @@ class AsyncMethodDirective extends AsyncMethodBase {
|
|
|
4035
4129
|
return this.method;
|
|
4036
4130
|
}
|
|
4037
4131
|
}
|
|
4038
|
-
AsyncMethodDirective.ɵfac =
|
|
4039
|
-
AsyncMethodDirective.ɵdir = i0.ɵɵ
|
|
4040
|
-
|
|
4132
|
+
AsyncMethodDirective.ɵfac = function AsyncMethodDirective_Factory(t) { return new (t || AsyncMethodDirective)(i0.ɵɵdirectiveInject(TOASTER_SERVICE)); };
|
|
4133
|
+
AsyncMethodDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AsyncMethodDirective, selectors: [["", "async-method", ""]], inputs: { method: ["async-method", "method"] }, exportAs: ["async-method"], features: [i0.ɵɵInheritDefinitionFeature] });
|
|
4134
|
+
(function () {
|
|
4135
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AsyncMethodDirective, [{
|
|
4041
4136
|
type: Directive,
|
|
4042
4137
|
args: [{
|
|
4043
4138
|
selector: "[async-method]",
|
|
4044
4139
|
exportAs: "async-method"
|
|
4045
4140
|
}]
|
|
4046
|
-
}],
|
|
4141
|
+
}], function () {
|
|
4047
4142
|
return [{ type: undefined, decorators: [{
|
|
4048
4143
|
type: Inject,
|
|
4049
4144
|
args: [TOASTER_SERVICE]
|
|
4050
4145
|
}] }];
|
|
4051
|
-
},
|
|
4146
|
+
}, { method: [{
|
|
4052
4147
|
type: Input,
|
|
4053
4148
|
args: ["async-method"]
|
|
4054
|
-
}] }
|
|
4149
|
+
}] });
|
|
4150
|
+
})();
|
|
4055
4151
|
|
|
4056
4152
|
const defaultClass = "default-image";
|
|
4057
4153
|
const loadingClass = "loading-image";
|
|
@@ -4084,36 +4180,40 @@ class BackgroundDirective {
|
|
|
4084
4180
|
this.renderer.setStyle(this.element.nativeElement, "background-size", this.backgroundSize);
|
|
4085
4181
|
}
|
|
4086
4182
|
}
|
|
4087
|
-
BackgroundDirective.ɵfac =
|
|
4088
|
-
BackgroundDirective.ɵdir = i0.ɵɵ
|
|
4089
|
-
|
|
4183
|
+
BackgroundDirective.ɵfac = function BackgroundDirective_Factory(t) { return new (t || BackgroundDirective)(i0.ɵɵdirectiveInject(i1$1.HttpClient), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(UniversalService)); };
|
|
4184
|
+
BackgroundDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: BackgroundDirective, selectors: [["", "background", ""]], inputs: { background: "background", backgroundSize: "backgroundSize" }, features: [i0.ɵɵNgOnChangesFeature] });
|
|
4185
|
+
(function () {
|
|
4186
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BackgroundDirective, [{
|
|
4090
4187
|
type: Directive,
|
|
4091
4188
|
args: [{
|
|
4092
4189
|
selector: "[background]"
|
|
4093
4190
|
}]
|
|
4094
|
-
}],
|
|
4191
|
+
}], function () { return [{ type: i1$1.HttpClient }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: UniversalService }]; }, { background: [{
|
|
4095
4192
|
type: Input
|
|
4096
4193
|
}], backgroundSize: [{
|
|
4097
4194
|
type: Input
|
|
4098
|
-
}] }
|
|
4195
|
+
}] });
|
|
4196
|
+
})();
|
|
4099
4197
|
|
|
4100
4198
|
class DynamicTableTemplateDirective {
|
|
4101
4199
|
constructor(ref) {
|
|
4102
4200
|
this.ref = ref;
|
|
4103
4201
|
}
|
|
4104
4202
|
}
|
|
4105
|
-
DynamicTableTemplateDirective.ɵfac =
|
|
4106
|
-
DynamicTableTemplateDirective.ɵdir = i0.ɵɵ
|
|
4107
|
-
|
|
4203
|
+
DynamicTableTemplateDirective.ɵfac = function DynamicTableTemplateDirective_Factory(t) { return new (t || DynamicTableTemplateDirective)(i0.ɵɵdirectiveInject(i0.TemplateRef)); };
|
|
4204
|
+
DynamicTableTemplateDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: DynamicTableTemplateDirective, selectors: [["ng-template", "column", ""]], inputs: { column: "column", pure: "pure" } });
|
|
4205
|
+
(function () {
|
|
4206
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DynamicTableTemplateDirective, [{
|
|
4108
4207
|
type: Directive,
|
|
4109
4208
|
args: [{
|
|
4110
4209
|
selector: "ng-template[column]"
|
|
4111
4210
|
}]
|
|
4112
|
-
}],
|
|
4211
|
+
}], function () { return [{ type: i0.TemplateRef }]; }, { column: [{
|
|
4113
4212
|
type: Input
|
|
4114
4213
|
}], pure: [{
|
|
4115
4214
|
type: Input
|
|
4116
|
-
}] }
|
|
4215
|
+
}] });
|
|
4216
|
+
})();
|
|
4117
4217
|
|
|
4118
4218
|
class GlobalTemplateDirective {
|
|
4119
4219
|
constructor(globalTemplates, template) {
|
|
@@ -4127,22 +4227,24 @@ class GlobalTemplateDirective {
|
|
|
4127
4227
|
this.globalTemplates.remove(this.id);
|
|
4128
4228
|
}
|
|
4129
4229
|
}
|
|
4130
|
-
GlobalTemplateDirective.ɵfac =
|
|
4131
|
-
GlobalTemplateDirective.ɵdir = i0.ɵɵ
|
|
4132
|
-
|
|
4230
|
+
GlobalTemplateDirective.ɵfac = function GlobalTemplateDirective_Factory(t) { return new (t || GlobalTemplateDirective)(i0.ɵɵdirectiveInject(GLOBAL_TEMPLATES), i0.ɵɵdirectiveInject(i0.TemplateRef)); };
|
|
4231
|
+
GlobalTemplateDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: GlobalTemplateDirective, selectors: [["", "globalTemplate", ""]], inputs: { id: ["globalTemplate", "id"] } });
|
|
4232
|
+
(function () {
|
|
4233
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GlobalTemplateDirective, [{
|
|
4133
4234
|
type: Directive,
|
|
4134
4235
|
args: [{
|
|
4135
4236
|
selector: "[globalTemplate]"
|
|
4136
4237
|
}]
|
|
4137
|
-
}],
|
|
4238
|
+
}], function () {
|
|
4138
4239
|
return [{ type: undefined, decorators: [{
|
|
4139
4240
|
type: Inject,
|
|
4140
4241
|
args: [GLOBAL_TEMPLATES]
|
|
4141
4242
|
}] }, { type: i0.TemplateRef }];
|
|
4142
|
-
},
|
|
4243
|
+
}, { id: [{
|
|
4143
4244
|
type: Input,
|
|
4144
4245
|
args: ["globalTemplate"]
|
|
4145
|
-
}] }
|
|
4246
|
+
}] });
|
|
4247
|
+
})();
|
|
4146
4248
|
|
|
4147
4249
|
class IconDirective {
|
|
4148
4250
|
constructor(element, renderer, icons) {
|
|
@@ -4182,19 +4284,27 @@ class IconDirective {
|
|
|
4182
4284
|
});
|
|
4183
4285
|
}
|
|
4184
4286
|
}
|
|
4185
|
-
IconDirective.ɵfac =
|
|
4186
|
-
IconDirective.ɵdir = i0.ɵɵ
|
|
4187
|
-
|
|
4287
|
+
IconDirective.ɵfac = function IconDirective_Factory(t) { return new (t || IconDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(ICON_SERVICE)); };
|
|
4288
|
+
IconDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: IconDirective, selectors: [["", "icon", ""]], hostVars: 2, hostBindings: function IconDirective_HostBindings(rf, ctx) {
|
|
4289
|
+
if (rf & 1) {
|
|
4290
|
+
i0.ɵɵlistener("click", function IconDirective_click_HostBindingHandler() { return ctx.click(); });
|
|
4291
|
+
}
|
|
4292
|
+
if (rf & 2) {
|
|
4293
|
+
i0.ɵɵclassProp("active", ctx.isActive);
|
|
4294
|
+
}
|
|
4295
|
+
}, inputs: { icon: "icon", activeIcon: "activeIcon", active: "active" }, outputs: { activeChange: "activeChange" }, features: [i0.ɵɵNgOnChangesFeature] });
|
|
4296
|
+
(function () {
|
|
4297
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IconDirective, [{
|
|
4188
4298
|
type: Directive,
|
|
4189
4299
|
args: [{
|
|
4190
4300
|
selector: "[icon]"
|
|
4191
4301
|
}]
|
|
4192
|
-
}],
|
|
4302
|
+
}], function () {
|
|
4193
4303
|
return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
|
|
4194
4304
|
type: Inject,
|
|
4195
4305
|
args: [ICON_SERVICE]
|
|
4196
4306
|
}] }];
|
|
4197
|
-
},
|
|
4307
|
+
}, { icon: [{
|
|
4198
4308
|
type: Input
|
|
4199
4309
|
}], activeIcon: [{
|
|
4200
4310
|
type: Input
|
|
@@ -4208,7 +4318,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
4208
4318
|
}], click: [{
|
|
4209
4319
|
type: HostListener,
|
|
4210
4320
|
args: ["click"]
|
|
4211
|
-
}] }
|
|
4321
|
+
}] });
|
|
4322
|
+
})();
|
|
4212
4323
|
|
|
4213
4324
|
class NgxTemplateOutletDirective {
|
|
4214
4325
|
constructor(_viewContainerRef) {
|
|
@@ -4282,20 +4393,22 @@ class NgxTemplateOutletDirective {
|
|
|
4282
4393
|
}
|
|
4283
4394
|
}
|
|
4284
4395
|
}
|
|
4285
|
-
NgxTemplateOutletDirective.ɵfac =
|
|
4286
|
-
NgxTemplateOutletDirective.ɵdir = i0.ɵɵ
|
|
4287
|
-
|
|
4396
|
+
NgxTemplateOutletDirective.ɵfac = function NgxTemplateOutletDirective_Factory(t) { return new (t || NgxTemplateOutletDirective)(i0.ɵɵdirectiveInject(i0.ViewContainerRef)); };
|
|
4397
|
+
NgxTemplateOutletDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: NgxTemplateOutletDirective, selectors: [["", "ngxTemplateOutlet", ""]], inputs: { context: "context", additionalContext: "additionalContext", ngxTemplateOutlet: "ngxTemplateOutlet" }, features: [i0.ɵɵNgOnChangesFeature] });
|
|
4398
|
+
(function () {
|
|
4399
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NgxTemplateOutletDirective, [{
|
|
4288
4400
|
type: Directive,
|
|
4289
4401
|
args: [{
|
|
4290
4402
|
selector: "[ngxTemplateOutlet]"
|
|
4291
4403
|
}]
|
|
4292
|
-
}],
|
|
4404
|
+
}], function () { return [{ type: i0.ViewContainerRef }]; }, { context: [{
|
|
4293
4405
|
type: Input
|
|
4294
4406
|
}], additionalContext: [{
|
|
4295
4407
|
type: Input
|
|
4296
4408
|
}], ngxTemplateOutlet: [{
|
|
4297
4409
|
type: Input
|
|
4298
|
-
}] }
|
|
4410
|
+
}] });
|
|
4411
|
+
})();
|
|
4299
4412
|
|
|
4300
4413
|
class PaginationDirective {
|
|
4301
4414
|
constructor(zone) {
|
|
@@ -4351,15 +4464,16 @@ class PaginationDirective {
|
|
|
4351
4464
|
});
|
|
4352
4465
|
}
|
|
4353
4466
|
}
|
|
4354
|
-
PaginationDirective.ɵfac =
|
|
4355
|
-
PaginationDirective.ɵdir = i0.ɵɵ
|
|
4356
|
-
|
|
4467
|
+
PaginationDirective.ɵfac = function PaginationDirective_Factory(t) { return new (t || PaginationDirective)(i0.ɵɵdirectiveInject(i0.NgZone)); };
|
|
4468
|
+
PaginationDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PaginationDirective, selectors: [["", "pagination", ""]], inputs: { loader: ["pagination", "loader"], page: "page", itemsPerPage: "itemsPerPage", updateTime: "updateTime", waitFor: "waitFor" }, outputs: { pageChange: "pageChange", onRefresh: "onRefresh" }, exportAs: ["pagination"], features: [i0.ɵɵNgOnChangesFeature] });
|
|
4469
|
+
(function () {
|
|
4470
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationDirective, [{
|
|
4357
4471
|
type: Directive,
|
|
4358
4472
|
args: [{
|
|
4359
4473
|
selector: "[pagination]",
|
|
4360
4474
|
exportAs: "pagination"
|
|
4361
4475
|
}]
|
|
4362
|
-
}],
|
|
4476
|
+
}], function () { return [{ type: i0.NgZone }]; }, { loader: [{
|
|
4363
4477
|
type: Input,
|
|
4364
4478
|
args: ["pagination"]
|
|
4365
4479
|
}], page: [{
|
|
@@ -4374,7 +4488,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
4374
4488
|
type: Output
|
|
4375
4489
|
}], onRefresh: [{
|
|
4376
4490
|
type: Output
|
|
4377
|
-
}] }
|
|
4491
|
+
}] });
|
|
4492
|
+
})();
|
|
4378
4493
|
|
|
4379
4494
|
class PaginationItemDirective {
|
|
4380
4495
|
constructor(pagination, viewContainer, templateRef) {
|
|
@@ -4396,14 +4511,16 @@ class PaginationItemDirective {
|
|
|
4396
4511
|
});
|
|
4397
4512
|
}
|
|
4398
4513
|
}
|
|
4399
|
-
PaginationItemDirective.ɵfac =
|
|
4400
|
-
PaginationItemDirective.ɵdir = i0.ɵɵ
|
|
4401
|
-
|
|
4514
|
+
PaginationItemDirective.ɵfac = function PaginationItemDirective_Factory(t) { return new (t || PaginationItemDirective)(i0.ɵɵdirectiveInject(PaginationDirective), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.TemplateRef)); };
|
|
4515
|
+
PaginationItemDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PaginationItemDirective, selectors: [["", "paginationItem", ""]] });
|
|
4516
|
+
(function () {
|
|
4517
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationItemDirective, [{
|
|
4402
4518
|
type: Directive,
|
|
4403
4519
|
args: [{
|
|
4404
4520
|
selector: "[paginationItem]"
|
|
4405
4521
|
}]
|
|
4406
|
-
}],
|
|
4522
|
+
}], function () { return [{ type: PaginationDirective }, { type: i0.ViewContainerRef }, { type: i0.TemplateRef }]; }, null);
|
|
4523
|
+
})();
|
|
4407
4524
|
|
|
4408
4525
|
class ResourceIfDirective {
|
|
4409
4526
|
constructor(http, viewContainer, templateRef, universal) {
|
|
@@ -4435,17 +4552,19 @@ class ResourceIfDirective {
|
|
|
4435
4552
|
}
|
|
4436
4553
|
}
|
|
4437
4554
|
}
|
|
4438
|
-
ResourceIfDirective.ɵfac =
|
|
4439
|
-
ResourceIfDirective.ɵdir = i0.ɵɵ
|
|
4440
|
-
|
|
4555
|
+
ResourceIfDirective.ɵfac = function ResourceIfDirective_Factory(t) { return new (t || ResourceIfDirective)(i0.ɵɵdirectiveInject(i1$1.HttpClient), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.TemplateRef), i0.ɵɵdirectiveInject(UniversalService)); };
|
|
4556
|
+
ResourceIfDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ResourceIfDirective, selectors: [["", "resourceIf", ""]], inputs: { resourceIf: "resourceIf" }, exportAs: ["resourceIf"] });
|
|
4557
|
+
(function () {
|
|
4558
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ResourceIfDirective, [{
|
|
4441
4559
|
type: Directive,
|
|
4442
4560
|
args: [{
|
|
4443
4561
|
selector: "[resourceIf]",
|
|
4444
4562
|
exportAs: "resourceIf"
|
|
4445
4563
|
}]
|
|
4446
|
-
}],
|
|
4564
|
+
}], function () { return [{ type: i1$1.HttpClient }, { type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: UniversalService }]; }, { resourceIf: [{
|
|
4447
4565
|
type: Input
|
|
4448
|
-
}] }
|
|
4566
|
+
}] });
|
|
4567
|
+
})();
|
|
4449
4568
|
|
|
4450
4569
|
class StickyDirective {
|
|
4451
4570
|
constructor(cdr, events, element) {
|
|
@@ -4476,14 +4595,22 @@ class StickyDirective {
|
|
|
4476
4595
|
this.updateTimer.run();
|
|
4477
4596
|
}
|
|
4478
4597
|
}
|
|
4479
|
-
StickyDirective.ɵfac =
|
|
4480
|
-
StickyDirective.ɵdir = i0.ɵɵ
|
|
4481
|
-
|
|
4598
|
+
StickyDirective.ɵfac = function StickyDirective_Factory(t) { return new (t || StickyDirective)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(EventsService), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
4599
|
+
StickyDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: StickyDirective, selectors: [["", "sticky", ""]], hostVars: 4, hostBindings: function StickyDirective_HostBindings(rf, ctx) {
|
|
4600
|
+
if (rf & 1) {
|
|
4601
|
+
i0.ɵɵlistener("resize", function StickyDirective_resize_HostBindingHandler() { return ctx.updateSticky(); }, false, i0.ɵɵresolveWindow)("scroll", function StickyDirective_scroll_HostBindingHandler() { return ctx.updateSticky(); }, false, i0.ɵɵresolveWindow);
|
|
4602
|
+
}
|
|
4603
|
+
if (rf & 2) {
|
|
4604
|
+
i0.ɵɵclassProp("sticky", ctx.isSticky)("sticky-update", ctx.isUpdating);
|
|
4605
|
+
}
|
|
4606
|
+
} });
|
|
4607
|
+
(function () {
|
|
4608
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StickyDirective, [{
|
|
4482
4609
|
type: Directive,
|
|
4483
4610
|
args: [{
|
|
4484
4611
|
selector: "[sticky]"
|
|
4485
4612
|
}]
|
|
4486
|
-
}],
|
|
4613
|
+
}], function () { return [{ type: i0.ChangeDetectorRef }, { type: EventsService }, { type: i0.ElementRef }]; }, { isSticky: [{
|
|
4487
4614
|
type: HostBinding,
|
|
4488
4615
|
args: ["class.sticky"]
|
|
4489
4616
|
}], isUpdating: [{
|
|
@@ -4495,7 +4622,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
4495
4622
|
}, {
|
|
4496
4623
|
type: HostListener,
|
|
4497
4624
|
args: ["window:scroll"]
|
|
4498
|
-
}] }
|
|
4625
|
+
}] });
|
|
4626
|
+
})();
|
|
4499
4627
|
|
|
4500
4628
|
class StickyClassDirective {
|
|
4501
4629
|
constructor(events, element, renderer) {
|
|
@@ -4516,16 +4644,18 @@ class StickyClassDirective {
|
|
|
4516
4644
|
this.stickyUpdated.unsubscribe();
|
|
4517
4645
|
}
|
|
4518
4646
|
}
|
|
4519
|
-
StickyClassDirective.ɵfac =
|
|
4520
|
-
StickyClassDirective.ɵdir = i0.ɵɵ
|
|
4521
|
-
|
|
4647
|
+
StickyClassDirective.ɵfac = function StickyClassDirective_Factory(t) { return new (t || StickyClassDirective)(i0.ɵɵdirectiveInject(EventsService), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
4648
|
+
StickyClassDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: StickyClassDirective, selectors: [["", "stickyClass", ""]], inputs: { stickyClass: "stickyClass" } });
|
|
4649
|
+
(function () {
|
|
4650
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StickyClassDirective, [{
|
|
4522
4651
|
type: Directive,
|
|
4523
4652
|
args: [{
|
|
4524
4653
|
selector: "[stickyClass]"
|
|
4525
4654
|
}]
|
|
4526
|
-
}],
|
|
4655
|
+
}], function () { return [{ type: EventsService }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, { stickyClass: [{
|
|
4527
4656
|
type: Input
|
|
4528
|
-
}] }
|
|
4657
|
+
}] });
|
|
4658
|
+
})();
|
|
4529
4659
|
|
|
4530
4660
|
class UnorderedListItemDirective {
|
|
4531
4661
|
constructor(elementRef, renderer, viewContainer) {
|
|
@@ -4573,14 +4703,15 @@ class UnorderedListItemDirective {
|
|
|
4573
4703
|
this.item.classList.push(className);
|
|
4574
4704
|
}
|
|
4575
4705
|
}
|
|
4576
|
-
UnorderedListItemDirective.ɵfac =
|
|
4577
|
-
UnorderedListItemDirective.ɵdir = i0.ɵɵ
|
|
4578
|
-
|
|
4706
|
+
UnorderedListItemDirective.ɵfac = function UnorderedListItemDirective_Factory(t) { return new (t || UnorderedListItemDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ViewContainerRef)); };
|
|
4707
|
+
UnorderedListItemDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: UnorderedListItemDirective, selectors: [["", "unorderedListItem", ""]], inputs: { item: ["unorderedListItem", "item"], type: "type", data: "data", keyPrefix: "keyPrefix", listStyle: "listStyle", path: "path", level: "level", templates: "templates", defaultTemplates: "defaultTemplates" }, features: [i0.ɵɵNgOnChangesFeature] });
|
|
4708
|
+
(function () {
|
|
4709
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UnorderedListItemDirective, [{
|
|
4579
4710
|
type: Directive,
|
|
4580
4711
|
args: [{
|
|
4581
4712
|
selector: "[unorderedListItem]"
|
|
4582
4713
|
}]
|
|
4583
|
-
}],
|
|
4714
|
+
}], function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }]; }, { item: [{
|
|
4584
4715
|
type: Input,
|
|
4585
4716
|
args: ["unorderedListItem"]
|
|
4586
4717
|
}], type: [{
|
|
@@ -4599,7 +4730,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
4599
4730
|
type: Input
|
|
4600
4731
|
}], defaultTemplates: [{
|
|
4601
4732
|
type: Input
|
|
4602
|
-
}] }
|
|
4733
|
+
}] });
|
|
4734
|
+
})();
|
|
4603
4735
|
|
|
4604
4736
|
class UnorderedListTemplateDirective extends UnorederedListTemplate {
|
|
4605
4737
|
constructor(elementRef, templateRef) {
|
|
@@ -4611,19 +4743,241 @@ class UnorderedListTemplateDirective extends UnorederedListTemplate {
|
|
|
4611
4743
|
return this.templateRef.createEmbeddedView(context);
|
|
4612
4744
|
}
|
|
4613
4745
|
}
|
|
4614
|
-
UnorderedListTemplateDirective.ɵfac =
|
|
4615
|
-
UnorderedListTemplateDirective.ɵdir = i0.ɵɵ
|
|
4616
|
-
|
|
4746
|
+
UnorderedListTemplateDirective.ɵfac = function UnorderedListTemplateDirective_Factory(t) { return new (t || UnorderedListTemplateDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.TemplateRef)); };
|
|
4747
|
+
UnorderedListTemplateDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: UnorderedListTemplateDirective, selectors: [["ng-template", "type", "", "selector", ""]], inputs: { type: "type", selector: "selector" }, features: [i0.ɵɵInheritDefinitionFeature] });
|
|
4748
|
+
(function () {
|
|
4749
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UnorderedListTemplateDirective, [{
|
|
4617
4750
|
type: Directive,
|
|
4618
4751
|
args: [{
|
|
4619
4752
|
selector: "ng-template[type][selector]"
|
|
4620
4753
|
}]
|
|
4621
|
-
}],
|
|
4754
|
+
}], function () { return [{ type: i0.ElementRef }, { type: i0.TemplateRef }]; }, { type: [{
|
|
4622
4755
|
type: Input
|
|
4623
4756
|
}], selector: [{
|
|
4624
4757
|
type: Input
|
|
4625
|
-
}] }
|
|
4758
|
+
}] });
|
|
4759
|
+
})();
|
|
4626
4760
|
|
|
4761
|
+
const _c0$2 = ["defaultKeyTemplate"];
|
|
4762
|
+
const _c1$2 = ["defaultValueTemplate"];
|
|
4763
|
+
const _c2$1 = ["defaultItemTemplate"];
|
|
4764
|
+
function UnorderedListComponent_ng_template_0_Template(rf, ctx) {
|
|
4765
|
+
if (rf & 1) {
|
|
4766
|
+
i0.ɵɵtext(0);
|
|
4767
|
+
i0.ɵɵpipe(1, "translate");
|
|
4768
|
+
}
|
|
4769
|
+
if (rf & 2) {
|
|
4770
|
+
const keyPrefix_r9 = ctx.keyPrefix;
|
|
4771
|
+
const key_r10 = ctx.item.key;
|
|
4772
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(1, 1, keyPrefix_r9 ? keyPrefix_r9 + key_r10 : key_r10), ":\n");
|
|
4773
|
+
}
|
|
4774
|
+
}
|
|
4775
|
+
function UnorderedListComponent_ng_template_2_ng_template_0_Template(rf, ctx) {
|
|
4776
|
+
if (rf & 1) {
|
|
4777
|
+
i0.ɵɵtext(0);
|
|
4778
|
+
}
|
|
4779
|
+
if (rf & 2) {
|
|
4780
|
+
const val_r14 = i0.ɵɵnextContext().item.value;
|
|
4781
|
+
i0.ɵɵtextInterpolate(val_r14);
|
|
4782
|
+
}
|
|
4783
|
+
}
|
|
4784
|
+
function UnorderedListComponent_ng_template_2_unordered_list_2_Template(rf, ctx) {
|
|
4785
|
+
if (rf & 1) {
|
|
4786
|
+
i0.ɵɵelement(0, "unordered-list", 6);
|
|
4787
|
+
}
|
|
4788
|
+
if (rf & 2) {
|
|
4789
|
+
const ctx_r23 = i0.ɵɵnextContext();
|
|
4790
|
+
const val_r14 = ctx_r23.item.value;
|
|
4791
|
+
const keyPrefix_r12 = ctx_r23.keyPrefix;
|
|
4792
|
+
const listStyle_r13 = ctx_r23.listStyle;
|
|
4793
|
+
const path_r15 = ctx_r23.path;
|
|
4794
|
+
const templates_r16 = ctx_r23.templates;
|
|
4795
|
+
const ctx_r21 = i0.ɵɵnextContext();
|
|
4796
|
+
i0.ɵɵproperty("data", val_r14)("keyPrefix", keyPrefix_r12)("listStyle", listStyle_r13)("path", path_r15)("level", ctx_r21.level + 1)("templates", templates_r16);
|
|
4797
|
+
}
|
|
4798
|
+
}
|
|
4799
|
+
function UnorderedListComponent_ng_template_2_Template(rf, ctx) {
|
|
4800
|
+
if (rf & 1) {
|
|
4801
|
+
i0.ɵɵtemplate(0, UnorderedListComponent_ng_template_2_ng_template_0_Template, 1, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
4802
|
+
i0.ɵɵtemplate(2, UnorderedListComponent_ng_template_2_unordered_list_2_Template, 1, 6, "unordered-list", 5);
|
|
4803
|
+
}
|
|
4804
|
+
if (rf & 2) {
|
|
4805
|
+
const isObject_r17 = ctx.valueIsObject;
|
|
4806
|
+
const isArray_r18 = ctx.valueIsArray;
|
|
4807
|
+
const _r19 = i0.ɵɵreference(1);
|
|
4808
|
+
i0.ɵɵadvance(2);
|
|
4809
|
+
i0.ɵɵproperty("ngIf", isObject_r17 || isArray_r18)("ngIfElse", _r19);
|
|
4810
|
+
}
|
|
4811
|
+
}
|
|
4812
|
+
function UnorderedListComponent_ng_template_4_ng_template_0_Template(rf, ctx) {
|
|
4813
|
+
if (rf & 1) {
|
|
4814
|
+
i0.ɵɵelementContainer(0, 11);
|
|
4815
|
+
}
|
|
4816
|
+
if (rf & 2) {
|
|
4817
|
+
const ctx_r37 = i0.ɵɵnextContext();
|
|
4818
|
+
const item_r24 = ctx_r37.item;
|
|
4819
|
+
const data_r25 = ctx_r37.data;
|
|
4820
|
+
const keyPrefix_r26 = ctx_r37.keyPrefix;
|
|
4821
|
+
const listStyle_r27 = ctx_r37.listStyle;
|
|
4822
|
+
const path_r28 = ctx_r37.path;
|
|
4823
|
+
const level_r29 = ctx_r37.level;
|
|
4824
|
+
const templates_r30 = ctx_r37.templates;
|
|
4825
|
+
const ctx_r32 = i0.ɵɵnextContext();
|
|
4826
|
+
i0.ɵɵproperty("unorderedListItem", item_r24)("data", data_r25)("keyPrefix", keyPrefix_r26)("listStyle", listStyle_r27)("path", path_r28)("level", level_r29)("templates", templates_r30)("defaultTemplates", ctx_r32.defaultTemplates);
|
|
4827
|
+
}
|
|
4828
|
+
}
|
|
4829
|
+
function UnorderedListComponent_ng_template_4_ng_template_2_Template(rf, ctx) {
|
|
4830
|
+
if (rf & 1) {
|
|
4831
|
+
i0.ɵɵelementContainer(0, 12);
|
|
4832
|
+
}
|
|
4833
|
+
if (rf & 2) {
|
|
4834
|
+
const ctx_r38 = i0.ɵɵnextContext();
|
|
4835
|
+
const item_r24 = ctx_r38.item;
|
|
4836
|
+
const data_r25 = ctx_r38.data;
|
|
4837
|
+
const keyPrefix_r26 = ctx_r38.keyPrefix;
|
|
4838
|
+
const listStyle_r27 = ctx_r38.listStyle;
|
|
4839
|
+
const path_r28 = ctx_r38.path;
|
|
4840
|
+
const level_r29 = ctx_r38.level;
|
|
4841
|
+
const templates_r30 = ctx_r38.templates;
|
|
4842
|
+
const ctx_r34 = i0.ɵɵnextContext();
|
|
4843
|
+
i0.ɵɵproperty("unorderedListItem", item_r24)("data", data_r25)("keyPrefix", keyPrefix_r26)("listStyle", listStyle_r27)("path", path_r28)("level", level_r29)("templates", templates_r30)("defaultTemplates", ctx_r34.defaultTemplates);
|
|
4844
|
+
}
|
|
4845
|
+
}
|
|
4846
|
+
function UnorderedListComponent_ng_template_4_ng_container_4_th_1_Template(rf, ctx) {
|
|
4847
|
+
if (rf & 1) {
|
|
4848
|
+
i0.ɵɵelementStart(0, "th");
|
|
4849
|
+
i0.ɵɵelementContainer(1, 13);
|
|
4850
|
+
i0.ɵɵelementEnd();
|
|
4851
|
+
}
|
|
4852
|
+
if (rf & 2) {
|
|
4853
|
+
i0.ɵɵnextContext(2);
|
|
4854
|
+
const _r31 = i0.ɵɵreference(1);
|
|
4855
|
+
i0.ɵɵadvance(1);
|
|
4856
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r31);
|
|
4857
|
+
}
|
|
4858
|
+
}
|
|
4859
|
+
function UnorderedListComponent_ng_template_4_ng_container_4_Template(rf, ctx) {
|
|
4860
|
+
if (rf & 1) {
|
|
4861
|
+
i0.ɵɵelementContainerStart(0);
|
|
4862
|
+
i0.ɵɵtemplate(1, UnorderedListComponent_ng_template_4_ng_container_4_th_1_Template, 2, 1, "th", 10);
|
|
4863
|
+
i0.ɵɵelementContainerEnd();
|
|
4864
|
+
}
|
|
4865
|
+
if (rf & 2) {
|
|
4866
|
+
const listStyle_r27 = i0.ɵɵnextContext().listStyle;
|
|
4867
|
+
const _r31 = i0.ɵɵreference(1);
|
|
4868
|
+
i0.ɵɵadvance(1);
|
|
4869
|
+
i0.ɵɵproperty("ngIf", listStyle_r27 == "table")("ngIfElse", _r31);
|
|
4870
|
+
}
|
|
4871
|
+
}
|
|
4872
|
+
function UnorderedListComponent_ng_template_4_td_5_Template(rf, ctx) {
|
|
4873
|
+
if (rf & 1) {
|
|
4874
|
+
i0.ɵɵelementStart(0, "td");
|
|
4875
|
+
i0.ɵɵelementContainer(1, 13);
|
|
4876
|
+
i0.ɵɵelementEnd();
|
|
4877
|
+
}
|
|
4878
|
+
if (rf & 2) {
|
|
4879
|
+
i0.ɵɵnextContext();
|
|
4880
|
+
const _r33 = i0.ɵɵreference(3);
|
|
4881
|
+
i0.ɵɵadvance(1);
|
|
4882
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r33);
|
|
4883
|
+
}
|
|
4884
|
+
}
|
|
4885
|
+
function UnorderedListComponent_ng_template_4_Template(rf, ctx) {
|
|
4886
|
+
if (rf & 1) {
|
|
4887
|
+
i0.ɵɵtemplate(0, UnorderedListComponent_ng_template_4_ng_template_0_Template, 1, 8, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
|
|
4888
|
+
i0.ɵɵtemplate(2, UnorderedListComponent_ng_template_4_ng_template_2_Template, 1, 8, "ng-template", null, 8, i0.ɵɵtemplateRefExtractor);
|
|
4889
|
+
i0.ɵɵtemplate(4, UnorderedListComponent_ng_template_4_ng_container_4_Template, 2, 2, "ng-container", 9);
|
|
4890
|
+
i0.ɵɵtemplate(5, UnorderedListComponent_ng_template_4_td_5_Template, 2, 1, "td", 10);
|
|
4891
|
+
}
|
|
4892
|
+
if (rf & 2) {
|
|
4893
|
+
const listStyle_r27 = ctx.listStyle;
|
|
4894
|
+
const _r33 = i0.ɵɵreference(3);
|
|
4895
|
+
const ctx_r5 = i0.ɵɵnextContext();
|
|
4896
|
+
i0.ɵɵadvance(4);
|
|
4897
|
+
i0.ɵɵproperty("ngIf", !ctx_r5.isArray);
|
|
4898
|
+
i0.ɵɵadvance(1);
|
|
4899
|
+
i0.ɵɵproperty("ngIf", listStyle_r27 == "table")("ngIfElse", _r33);
|
|
4900
|
+
}
|
|
4901
|
+
}
|
|
4902
|
+
function UnorderedListComponent_ng_template_6_Template(rf, ctx) {
|
|
4903
|
+
if (rf & 1) {
|
|
4904
|
+
i0.ɵɵtext(0);
|
|
4905
|
+
}
|
|
4906
|
+
if (rf & 2) {
|
|
4907
|
+
const ctx_r7 = i0.ɵɵnextContext();
|
|
4908
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r7.data, "\n");
|
|
4909
|
+
}
|
|
4910
|
+
}
|
|
4911
|
+
function UnorderedListComponent_ng_container_8_ul_1_li_1_Template(rf, ctx) {
|
|
4912
|
+
if (rf & 1) {
|
|
4913
|
+
i0.ɵɵelementStart(0, "li", 17);
|
|
4914
|
+
i0.ɵɵelementContainer(1, 19);
|
|
4915
|
+
i0.ɵɵelementEnd();
|
|
4916
|
+
}
|
|
4917
|
+
if (rf & 2) {
|
|
4918
|
+
const item_r44 = ctx.$implicit;
|
|
4919
|
+
const ctx_r43 = i0.ɵɵnextContext(3);
|
|
4920
|
+
i0.ɵɵproperty("ngClass", item_r44.classList);
|
|
4921
|
+
i0.ɵɵadvance(1);
|
|
4922
|
+
i0.ɵɵproperty("unorderedListItem", item_r44)("data", ctx_r43.data)("keyPrefix", ctx_r43.keyPrefix)("listStyle", ctx_r43.listStyle)("path", ctx_r43.path ? ctx_r43.path + "." + item_r44.key : item_r44.key)("level", ctx_r43.level)("templates", ctx_r43.templates)("defaultTemplates", ctx_r43.defaultTemplates);
|
|
4923
|
+
}
|
|
4924
|
+
}
|
|
4925
|
+
function UnorderedListComponent_ng_container_8_ul_1_Template(rf, ctx) {
|
|
4926
|
+
if (rf & 1) {
|
|
4927
|
+
i0.ɵɵelementStart(0, "ul", 17);
|
|
4928
|
+
i0.ɵɵtemplate(1, UnorderedListComponent_ng_container_8_ul_1_li_1_Template, 2, 9, "li", 18);
|
|
4929
|
+
i0.ɵɵpipe(2, "entries");
|
|
4930
|
+
i0.ɵɵelementEnd();
|
|
4931
|
+
}
|
|
4932
|
+
if (rf & 2) {
|
|
4933
|
+
const ctx_r41 = i0.ɵɵnextContext(2);
|
|
4934
|
+
i0.ɵɵproperty("ngClass", "level-" + ctx_r41.level);
|
|
4935
|
+
i0.ɵɵadvance(1);
|
|
4936
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 2, ctx_r41.data));
|
|
4937
|
+
}
|
|
4938
|
+
}
|
|
4939
|
+
function UnorderedListComponent_ng_container_8_table_2_tr_1_Template(rf, ctx) {
|
|
4940
|
+
if (rf & 1) {
|
|
4941
|
+
i0.ɵɵelementStart(0, "tr", 17);
|
|
4942
|
+
i0.ɵɵelementContainer(1, 19);
|
|
4943
|
+
i0.ɵɵelementEnd();
|
|
4944
|
+
}
|
|
4945
|
+
if (rf & 2) {
|
|
4946
|
+
const item_r46 = ctx.$implicit;
|
|
4947
|
+
const ctx_r45 = i0.ɵɵnextContext(3);
|
|
4948
|
+
i0.ɵɵproperty("ngClass", item_r46.classList);
|
|
4949
|
+
i0.ɵɵadvance(1);
|
|
4950
|
+
i0.ɵɵproperty("unorderedListItem", item_r46)("data", ctx_r45.data)("keyPrefix", ctx_r45.keyPrefix)("listStyle", ctx_r45.listStyle)("path", ctx_r45.path ? ctx_r45.path + "." + item_r46.key : item_r46.key)("level", ctx_r45.level)("templates", ctx_r45.templates)("defaultTemplates", ctx_r45.defaultTemplates);
|
|
4951
|
+
}
|
|
4952
|
+
}
|
|
4953
|
+
function UnorderedListComponent_ng_container_8_table_2_Template(rf, ctx) {
|
|
4954
|
+
if (rf & 1) {
|
|
4955
|
+
i0.ɵɵelementStart(0, "table", 17);
|
|
4956
|
+
i0.ɵɵtemplate(1, UnorderedListComponent_ng_container_8_table_2_tr_1_Template, 2, 9, "tr", 18);
|
|
4957
|
+
i0.ɵɵpipe(2, "entries");
|
|
4958
|
+
i0.ɵɵelementEnd();
|
|
4959
|
+
}
|
|
4960
|
+
if (rf & 2) {
|
|
4961
|
+
const ctx_r42 = i0.ɵɵnextContext(2);
|
|
4962
|
+
i0.ɵɵproperty("ngClass", "level-" + ctx_r42.level);
|
|
4963
|
+
i0.ɵɵadvance(1);
|
|
4964
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 2, ctx_r42.data));
|
|
4965
|
+
}
|
|
4966
|
+
}
|
|
4967
|
+
function UnorderedListComponent_ng_container_8_Template(rf, ctx) {
|
|
4968
|
+
if (rf & 1) {
|
|
4969
|
+
i0.ɵɵelementContainerStart(0, 14);
|
|
4970
|
+
i0.ɵɵtemplate(1, UnorderedListComponent_ng_container_8_ul_1_Template, 3, 4, "ul", 15);
|
|
4971
|
+
i0.ɵɵtemplate(2, UnorderedListComponent_ng_container_8_table_2_Template, 3, 4, "table", 16);
|
|
4972
|
+
i0.ɵɵelementContainerEnd();
|
|
4973
|
+
}
|
|
4974
|
+
if (rf & 2) {
|
|
4975
|
+
const ctx_r8 = i0.ɵɵnextContext();
|
|
4976
|
+
i0.ɵɵproperty("ngSwitch", ctx_r8.listStyle);
|
|
4977
|
+
i0.ɵɵadvance(1);
|
|
4978
|
+
i0.ɵɵproperty("ngSwitchCase", "list");
|
|
4979
|
+
}
|
|
4980
|
+
}
|
|
4627
4981
|
class UnorderedListComponent {
|
|
4628
4982
|
constructor(cdr) {
|
|
4629
4983
|
this.cdr = cdr;
|
|
@@ -4650,12 +5004,46 @@ class UnorderedListComponent {
|
|
|
4650
5004
|
this.cdr.detectChanges();
|
|
4651
5005
|
}
|
|
4652
5006
|
}
|
|
4653
|
-
UnorderedListComponent.ɵfac =
|
|
4654
|
-
UnorderedListComponent.ɵcmp = i0.ɵɵ
|
|
4655
|
-
|
|
5007
|
+
UnorderedListComponent.ɵfac = function UnorderedListComponent_Factory(t) { return new (t || UnorderedListComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
5008
|
+
UnorderedListComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UnorderedListComponent, selectors: [["unordered-list"]], contentQueries: function UnorderedListComponent_ContentQueries(rf, ctx, dirIndex) {
|
|
5009
|
+
if (rf & 1) {
|
|
5010
|
+
i0.ɵɵcontentQuery(dirIndex, UnorderedListTemplateDirective, 4);
|
|
5011
|
+
}
|
|
5012
|
+
if (rf & 2) {
|
|
5013
|
+
let _t;
|
|
5014
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templateDirectives = _t);
|
|
5015
|
+
}
|
|
5016
|
+
}, viewQuery: function UnorderedListComponent_Query(rf, ctx) {
|
|
5017
|
+
if (rf & 1) {
|
|
5018
|
+
i0.ɵɵviewQuery(_c0$2, 5);
|
|
5019
|
+
i0.ɵɵviewQuery(_c1$2, 5);
|
|
5020
|
+
i0.ɵɵviewQuery(_c2$1, 5);
|
|
5021
|
+
}
|
|
5022
|
+
if (rf & 2) {
|
|
5023
|
+
let _t;
|
|
5024
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.defaultKeyTemplate = _t.first);
|
|
5025
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.defaultValueTemplate = _t.first);
|
|
5026
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.defaultItemTemplate = _t.first);
|
|
5027
|
+
}
|
|
5028
|
+
}, inputs: { data: "data", keyPrefix: "keyPrefix", listStyle: "listStyle", path: "path", level: "level", templates: "templates" }, features: [i0.ɵɵNgOnChangesFeature], decls: 9, vars: 2, consts: [["defaultKeyTemplate", ""], ["defaultValueTemplate", ""], ["defaultItemTemplate", ""], ["value", ""], [3, "ngSwitch", 4, "ngIf", "ngIfElse"], [3, "data", "keyPrefix", "listStyle", "path", "level", "templates", 4, "ngIf", "ngIfElse"], [3, "data", "keyPrefix", "listStyle", "path", "level", "templates"], ["itemKey", ""], ["itemValue", ""], [4, "ngIf"], [4, "ngIf", "ngIfElse"], ["type", "key", 3, "unorderedListItem", "data", "keyPrefix", "listStyle", "path", "level", "templates", "defaultTemplates"], ["type", "value", 3, "unorderedListItem", "data", "keyPrefix", "listStyle", "path", "level", "templates", "defaultTemplates"], [3, "ngTemplateOutlet"], [3, "ngSwitch"], [3, "ngClass", 4, "ngSwitchCase"], [3, "ngClass", 4, "ngSwitchDefault"], [3, "ngClass"], [3, "ngClass", 4, "ngFor", "ngForOf"], ["type", "item", 3, "unorderedListItem", "data", "keyPrefix", "listStyle", "path", "level", "templates", "defaultTemplates"]], template: function UnorderedListComponent_Template(rf, ctx) {
|
|
5029
|
+
if (rf & 1) {
|
|
5030
|
+
i0.ɵɵtemplate(0, UnorderedListComponent_ng_template_0_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
5031
|
+
i0.ɵɵtemplate(2, UnorderedListComponent_ng_template_2_Template, 3, 2, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
5032
|
+
i0.ɵɵtemplate(4, UnorderedListComponent_ng_template_4_Template, 6, 3, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
|
5033
|
+
i0.ɵɵtemplate(6, UnorderedListComponent_ng_template_6_Template, 1, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
5034
|
+
i0.ɵɵtemplate(8, UnorderedListComponent_ng_container_8_Template, 3, 2, "ng-container", 4);
|
|
5035
|
+
}
|
|
5036
|
+
if (rf & 2) {
|
|
5037
|
+
const _r6 = i0.ɵɵreference(7);
|
|
5038
|
+
i0.ɵɵadvance(8);
|
|
5039
|
+
i0.ɵɵproperty("ngIf", ctx.isObject || ctx.isArray)("ngIfElse", _r6);
|
|
5040
|
+
}
|
|
5041
|
+
}, directives: [i1$3.NgIf, UnorderedListComponent, UnorderedListItemDirective, i1$3.NgTemplateOutlet, i1$3.NgSwitch, i1$3.NgSwitchCase, i1$3.NgClass, i1$3.NgForOf, i1$3.NgSwitchDefault], pipes: [TranslatePipe, EntriesPipe], encapsulation: 2 });
|
|
5042
|
+
(function () {
|
|
5043
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UnorderedListComponent, [{
|
|
4656
5044
|
type: Component,
|
|
4657
5045
|
args: [{ selector: "unordered-list", template: "<ng-template let-keyPrefix=\"keyPrefix\" let-key=\"item.key\" let-isArray=\"isArray\" #defaultKeyTemplate>\r\n {{ (keyPrefix ? keyPrefix + key : key) | translate }}:\r\n</ng-template>\r\n<ng-template let-keyPrefix=\"keyPrefix\" let-listStyle=\"listStyle\" let-val=\"item.value\" let-path=\"path\"\r\n let-templates=\"templates\" let-isObject=\"valueIsObject\" let-isArray=\"valueIsArray\" #defaultValueTemplate>\r\n <ng-template #value>{{ val }}</ng-template>\r\n <unordered-list [data]=\"val\"\r\n [keyPrefix]=\"keyPrefix\"\r\n [listStyle]=\"listStyle\"\r\n [path]=\"path\"\r\n [level]=\"level + 1\"\r\n [templates]=\"templates\"\r\n *ngIf=\"(isObject || isArray); else value\"></unordered-list>\r\n</ng-template>\r\n<ng-template let-item=\"item\" let-data=\"data\" let-keyPrefix=\"keyPrefix\" let-listStyle=\"listStyle\" let-path=\"path\" let-level=\"level\" let-templates=\"templates\" #defaultItemTemplate>\r\n <ng-template #itemKey>\r\n <ng-container [unorderedListItem]=\"item\"\r\n type=\"key\"\r\n [data]=\"data\"\r\n [keyPrefix]=\"keyPrefix\"\r\n [listStyle]=\"listStyle\"\r\n [path]=\"path\"\r\n [level]=\"level\"\r\n [templates]=\"templates\"\r\n [defaultTemplates]=\"defaultTemplates\"></ng-container>\r\n </ng-template>\r\n <ng-template #itemValue>\r\n <ng-container [unorderedListItem]=\"item\"\r\n type=\"value\"\r\n [data]=\"data\"\r\n [keyPrefix]=\"keyPrefix\"\r\n [listStyle]=\"listStyle\"\r\n [path]=\"path\"\r\n [level]=\"level\"\r\n [templates]=\"templates\"\r\n [defaultTemplates]=\"defaultTemplates\"></ng-container>\r\n </ng-template>\r\n <ng-container *ngIf=\"!isArray\">\r\n <th *ngIf=\"listStyle == 'table'; else itemKey\">\r\n <ng-container [ngTemplateOutlet]=\"itemKey\"></ng-container>\r\n </th>\r\n </ng-container>\r\n <td *ngIf=\"listStyle == 'table'; else itemValue\">\r\n <ng-container [ngTemplateOutlet]=\"itemValue\"></ng-container>\r\n </td>\r\n</ng-template>\r\n<ng-template #value>\r\n {{ data }}\r\n</ng-template>\r\n<ng-container *ngIf=\"(isObject || isArray); else value\" [ngSwitch]=\"listStyle\">\r\n <ul [ngClass]=\"'level-' + level\" *ngSwitchCase=\"'list'\">\r\n <li *ngFor=\"let item of data | entries\" [ngClass]=\"item.classList\">\r\n <ng-container [unorderedListItem]=\"item\"\r\n type=\"item\"\r\n [data]=\"data\"\r\n [keyPrefix]=\"keyPrefix\"\r\n [listStyle]=\"listStyle\"\r\n [path]=\"path ? path + '.' + item.key : item.key\"\r\n [level]=\"level\"\r\n [templates]=\"templates\"\r\n [defaultTemplates]=\"defaultTemplates\"></ng-container>\r\n </li>\r\n </ul>\r\n <table [ngClass]=\"'level-' + level\" *ngSwitchDefault>\r\n <tr *ngFor=\"let item of data | entries\" [ngClass]=\"item.classList\">\r\n <ng-container [unorderedListItem]=\"item\"\r\n type=\"item\"\r\n [data]=\"data\"\r\n [keyPrefix]=\"keyPrefix\"\r\n [listStyle]=\"listStyle\"\r\n [path]=\"path ? path + '.' + item.key : item.key\"\r\n [level]=\"level\"\r\n [templates]=\"templates\"\r\n [defaultTemplates]=\"defaultTemplates\"></ng-container>\r\n </tr>\r\n </table>\r\n</ng-container>\r\n" }]
|
|
4658
|
-
}],
|
|
5046
|
+
}], function () { return [{ type: i0.ChangeDetectorRef }]; }, { data: [{
|
|
4659
5047
|
type: Input
|
|
4660
5048
|
}], keyPrefix: [{
|
|
4661
5049
|
type: Input
|
|
@@ -4679,8 +5067,113 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
4679
5067
|
}], defaultItemTemplate: [{
|
|
4680
5068
|
type: ViewChild,
|
|
4681
5069
|
args: ["defaultItemTemplate"]
|
|
4682
|
-
}] }
|
|
5070
|
+
}] });
|
|
5071
|
+
})();
|
|
4683
5072
|
|
|
5073
|
+
const _c0$1 = function (a0) { return { disabled: a0 }; };
|
|
5074
|
+
function PaginationMenuComponent_div_0_li_2_Template(rf, ctx) {
|
|
5075
|
+
if (rf & 1) {
|
|
5076
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
5077
|
+
i0.ɵɵelementStart(0, "li", 5)(1, "a", 6);
|
|
5078
|
+
i0.ɵɵlistener("click", function PaginationMenuComponent_div_0_li_2_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(2); return ctx_r6.paginate(1); });
|
|
5079
|
+
i0.ɵɵpipe(2, "safe");
|
|
5080
|
+
i0.ɵɵelementEnd()();
|
|
5081
|
+
}
|
|
5082
|
+
if (rf & 2) {
|
|
5083
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
5084
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$1, !ctx_r1.hasPrev));
|
|
5085
|
+
i0.ɵɵadvance(1);
|
|
5086
|
+
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(2, 2, ctx_r1.firstLabel), i0.ɵɵsanitizeHtml);
|
|
5087
|
+
}
|
|
5088
|
+
}
|
|
5089
|
+
function PaginationMenuComponent_div_0_li_3_Template(rf, ctx) {
|
|
5090
|
+
if (rf & 1) {
|
|
5091
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
5092
|
+
i0.ɵɵelementStart(0, "li", 5)(1, "a", 6);
|
|
5093
|
+
i0.ɵɵlistener("click", function PaginationMenuComponent_div_0_li_3_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r9); const ctx_r8 = i0.ɵɵnextContext(2); return ctx_r8.paginate(ctx_r8.pagination.page - 1); });
|
|
5094
|
+
i0.ɵɵpipe(2, "safe");
|
|
5095
|
+
i0.ɵɵelementEnd()();
|
|
5096
|
+
}
|
|
5097
|
+
if (rf & 2) {
|
|
5098
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
5099
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$1, !ctx_r2.hasPrev));
|
|
5100
|
+
i0.ɵɵadvance(1);
|
|
5101
|
+
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(2, 2, ctx_r2.prevLabel), i0.ɵɵsanitizeHtml);
|
|
5102
|
+
}
|
|
5103
|
+
}
|
|
5104
|
+
const _c1$1 = function (a0) { return { active: a0 }; };
|
|
5105
|
+
function PaginationMenuComponent_div_0_li_4_Template(rf, ctx) {
|
|
5106
|
+
if (rf & 1) {
|
|
5107
|
+
const _r12 = i0.ɵɵgetCurrentView();
|
|
5108
|
+
i0.ɵɵelementStart(0, "li", 5)(1, "a", 7);
|
|
5109
|
+
i0.ɵɵlistener("click", function PaginationMenuComponent_div_0_li_4_Template_a_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r12); const page_r10 = restoredCtx.$implicit; const ctx_r11 = i0.ɵɵnextContext(2); return ctx_r11.paginate(page_r10); });
|
|
5110
|
+
i0.ɵɵtext(2);
|
|
5111
|
+
i0.ɵɵelementEnd()();
|
|
5112
|
+
}
|
|
5113
|
+
if (rf & 2) {
|
|
5114
|
+
const page_r10 = ctx.$implicit;
|
|
5115
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
5116
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c1$1, ctx_r3.pagination.page == page_r10));
|
|
5117
|
+
i0.ɵɵadvance(1);
|
|
5118
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1$1, ctx_r3.pagination.page == page_r10));
|
|
5119
|
+
i0.ɵɵadvance(1);
|
|
5120
|
+
i0.ɵɵtextInterpolate(page_r10);
|
|
5121
|
+
}
|
|
5122
|
+
}
|
|
5123
|
+
function PaginationMenuComponent_div_0_li_5_Template(rf, ctx) {
|
|
5124
|
+
if (rf & 1) {
|
|
5125
|
+
const _r14 = i0.ɵɵgetCurrentView();
|
|
5126
|
+
i0.ɵɵelementStart(0, "li", 5)(1, "a", 6);
|
|
5127
|
+
i0.ɵɵlistener("click", function PaginationMenuComponent_div_0_li_5_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(2); return ctx_r13.paginate(ctx_r13.pagination.page + 1); });
|
|
5128
|
+
i0.ɵɵpipe(2, "safe");
|
|
5129
|
+
i0.ɵɵelementEnd()();
|
|
5130
|
+
}
|
|
5131
|
+
if (rf & 2) {
|
|
5132
|
+
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
5133
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$1, !ctx_r4.hasNext));
|
|
5134
|
+
i0.ɵɵadvance(1);
|
|
5135
|
+
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(2, 2, ctx_r4.nextLabel), i0.ɵɵsanitizeHtml);
|
|
5136
|
+
}
|
|
5137
|
+
}
|
|
5138
|
+
function PaginationMenuComponent_div_0_li_6_Template(rf, ctx) {
|
|
5139
|
+
if (rf & 1) {
|
|
5140
|
+
const _r16 = i0.ɵɵgetCurrentView();
|
|
5141
|
+
i0.ɵɵelementStart(0, "li", 5)(1, "a", 6);
|
|
5142
|
+
i0.ɵɵlistener("click", function PaginationMenuComponent_div_0_li_6_Template_a_click_1_listener() { i0.ɵɵrestoreView(_r16); const ctx_r15 = i0.ɵɵnextContext(2); return ctx_r15.paginate(ctx_r15.pagination.maxPage); });
|
|
5143
|
+
i0.ɵɵpipe(2, "safe");
|
|
5144
|
+
i0.ɵɵelementEnd()();
|
|
5145
|
+
}
|
|
5146
|
+
if (rf & 2) {
|
|
5147
|
+
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
5148
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$1, !ctx_r5.hasNext));
|
|
5149
|
+
i0.ɵɵadvance(1);
|
|
5150
|
+
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(2, 2, ctx_r5.lastLabel), i0.ɵɵsanitizeHtml);
|
|
5151
|
+
}
|
|
5152
|
+
}
|
|
5153
|
+
function PaginationMenuComponent_div_0_Template(rf, ctx) {
|
|
5154
|
+
if (rf & 1) {
|
|
5155
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "ul", 2);
|
|
5156
|
+
i0.ɵɵtemplate(2, PaginationMenuComponent_div_0_li_2_Template, 3, 6, "li", 3);
|
|
5157
|
+
i0.ɵɵtemplate(3, PaginationMenuComponent_div_0_li_3_Template, 3, 6, "li", 3);
|
|
5158
|
+
i0.ɵɵtemplate(4, PaginationMenuComponent_div_0_li_4_Template, 3, 7, "li", 4);
|
|
5159
|
+
i0.ɵɵtemplate(5, PaginationMenuComponent_div_0_li_5_Template, 3, 6, "li", 3);
|
|
5160
|
+
i0.ɵɵtemplate(6, PaginationMenuComponent_div_0_li_6_Template, 3, 6, "li", 3);
|
|
5161
|
+
i0.ɵɵelementEnd()();
|
|
5162
|
+
}
|
|
5163
|
+
if (rf & 2) {
|
|
5164
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
5165
|
+
i0.ɵɵadvance(2);
|
|
5166
|
+
i0.ɵɵproperty("ngIf", ctx_r0.boundaryLinks);
|
|
5167
|
+
i0.ɵɵadvance(1);
|
|
5168
|
+
i0.ɵɵproperty("ngIf", ctx_r0.directionLinks);
|
|
5169
|
+
i0.ɵɵadvance(1);
|
|
5170
|
+
i0.ɵɵproperty("ngForOf", ctx_r0.pages);
|
|
5171
|
+
i0.ɵɵadvance(1);
|
|
5172
|
+
i0.ɵɵproperty("ngIf", ctx_r0.directionLinks);
|
|
5173
|
+
i0.ɵɵadvance(1);
|
|
5174
|
+
i0.ɵɵproperty("ngIf", ctx_r0.boundaryLinks);
|
|
5175
|
+
}
|
|
5176
|
+
}
|
|
4684
5177
|
class PaginationMenuComponent {
|
|
4685
5178
|
constructor(state, pagination, icons) {
|
|
4686
5179
|
this.state = state;
|
|
@@ -4754,17 +5247,25 @@ class PaginationMenuComponent {
|
|
|
4754
5247
|
this.pages = pages;
|
|
4755
5248
|
}
|
|
4756
5249
|
}
|
|
4757
|
-
PaginationMenuComponent.ɵfac =
|
|
4758
|
-
PaginationMenuComponent.ɵcmp = i0.ɵɵ
|
|
4759
|
-
|
|
5250
|
+
PaginationMenuComponent.ɵfac = function PaginationMenuComponent_Factory(t) { return new (t || PaginationMenuComponent)(i0.ɵɵdirectiveInject(StateService), i0.ɵɵdirectiveInject(PaginationDirective), i0.ɵɵdirectiveInject(ICON_SERVICE)); };
|
|
5251
|
+
PaginationMenuComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PaginationMenuComponent, selectors: [["pagination-menu"]], inputs: { maxSize: "maxSize", urlParam: "urlParam", directionLinks: "directionLinks", boundaryLinks: "boundaryLinks" }, features: [i0.ɵɵNgOnChangesFeature], decls: 1, vars: 1, consts: [["class", "pagination-menu", 4, "ngIf"], [1, "pagination-menu"], [1, "pagination"], ["class", "page-item", 3, "ngClass", 4, "ngIf"], ["class", "page-item", 3, "ngClass", 4, "ngFor", "ngForOf"], [1, "page-item", 3, "ngClass"], [1, "page-link", 3, "innerHTML", "click"], [1, "page-link", 3, "ngClass", "click"]], template: function PaginationMenuComponent_Template(rf, ctx) {
|
|
5252
|
+
if (rf & 1) {
|
|
5253
|
+
i0.ɵɵtemplate(0, PaginationMenuComponent_div_0_Template, 7, 5, "div", 0);
|
|
5254
|
+
}
|
|
5255
|
+
if (rf & 2) {
|
|
5256
|
+
i0.ɵɵproperty("ngIf", ctx.pagination.total > ctx.pagination.itemsPerPage);
|
|
5257
|
+
}
|
|
5258
|
+
}, directives: [i1$3.NgIf, i1$3.NgClass, i1$3.NgForOf], pipes: [SafeHtmlPipe], encapsulation: 2 });
|
|
5259
|
+
(function () {
|
|
5260
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationMenuComponent, [{
|
|
4760
5261
|
type: Component,
|
|
4761
5262
|
args: [{ selector: "pagination-menu", template: "<div class=\"pagination-menu\" *ngIf=\"pagination.total > pagination.itemsPerPage\">\r\n <ul class=\"pagination\">\r\n <li class=\"page-item\" [ngClass]=\"{disabled: !hasPrev}\" *ngIf=\"boundaryLinks\">\r\n <a class=\"page-link\" (click)=\"paginate(1)\" [innerHTML]=\"firstLabel | safe\"></a>\r\n </li>\r\n <li class=\"page-item\" [ngClass]=\"{disabled: !hasPrev}\" *ngIf=\"directionLinks\">\r\n <a class=\"page-link\" (click)=\"paginate(pagination.page - 1)\" [innerHTML]=\"prevLabel | safe\"></a>\r\n </li>\r\n <li class=\"page-item\" [ngClass]=\"{active: pagination.page == page}\" *ngFor=\"let page of pages\">\r\n <a class=\"page-link\" [ngClass]=\"{active: pagination.page == page}\" (click)=\"paginate(page)\">{{ page }}</a>\r\n </li>\r\n <li class=\"page-item\" [ngClass]=\"{disabled: !hasNext}\" *ngIf=\"directionLinks\">\r\n <a class=\"page-link\" (click)=\"paginate(pagination.page + 1)\" [innerHTML]=\"nextLabel | safe\"></a>\r\n </li>\r\n <li class=\"page-item\" [ngClass]=\"{disabled: !hasNext}\" *ngIf=\"boundaryLinks\">\r\n <a class=\"page-link\" (click)=\"paginate(pagination.maxPage)\" [innerHTML]=\"lastLabel | safe\"></a>\r\n </li>\r\n </ul>\r\n</div>\r\n" }]
|
|
4762
|
-
}],
|
|
5263
|
+
}], function () {
|
|
4763
5264
|
return [{ type: StateService }, { type: PaginationDirective }, { type: undefined, decorators: [{
|
|
4764
5265
|
type: Inject,
|
|
4765
5266
|
args: [ICON_SERVICE]
|
|
4766
5267
|
}] }];
|
|
4767
|
-
},
|
|
5268
|
+
}, { maxSize: [{
|
|
4768
5269
|
type: Input
|
|
4769
5270
|
}], urlParam: [{
|
|
4770
5271
|
type: Input
|
|
@@ -4772,8 +5273,236 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
4772
5273
|
type: Input
|
|
4773
5274
|
}], boundaryLinks: [{
|
|
4774
5275
|
type: Input
|
|
4775
|
-
}] }
|
|
5276
|
+
}] });
|
|
5277
|
+
})();
|
|
4776
5278
|
|
|
5279
|
+
const _c0 = ["rowTemplate"];
|
|
5280
|
+
const _c1 = ["wrapperTemplate"];
|
|
5281
|
+
const _c2 = ["filterTemplate"];
|
|
5282
|
+
const _c3 = ["columnsTemplate"];
|
|
5283
|
+
const _c4 = ["defaultRowTemplate"];
|
|
5284
|
+
const _c5 = ["defaultWrapperTemplate"];
|
|
5285
|
+
const _c6 = ["defaultFilterTemplate"];
|
|
5286
|
+
const _c7 = ["pagination"];
|
|
5287
|
+
function DynamicTableComponent_ng_template_2_div_0_label_1_Template(rf, ctx) {
|
|
5288
|
+
if (rf & 1) {
|
|
5289
|
+
i0.ɵɵelementStart(0, "label");
|
|
5290
|
+
i0.ɵɵtext(1);
|
|
5291
|
+
i0.ɵɵpipe(2, "translate");
|
|
5292
|
+
i0.ɵɵelementEnd();
|
|
5293
|
+
}
|
|
5294
|
+
if (rf & 2) {
|
|
5295
|
+
const ctx_r13 = i0.ɵɵnextContext(3);
|
|
5296
|
+
i0.ɵɵattribute("for", ctx_r13.tableId);
|
|
5297
|
+
i0.ɵɵadvance(1);
|
|
5298
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, ctx_r13.label));
|
|
5299
|
+
}
|
|
5300
|
+
}
|
|
5301
|
+
function DynamicTableComponent_ng_template_2_div_0_Template(rf, ctx) {
|
|
5302
|
+
if (rf & 1) {
|
|
5303
|
+
const _r16 = i0.ɵɵgetCurrentView();
|
|
5304
|
+
i0.ɵɵelementStart(0, "div", 11);
|
|
5305
|
+
i0.ɵɵtemplate(1, DynamicTableComponent_ng_template_2_div_0_label_1_Template, 3, 4, "label", 12);
|
|
5306
|
+
i0.ɵɵelementStart(2, "input", 13);
|
|
5307
|
+
i0.ɵɵlistener("ngModelChange", function DynamicTableComponent_ng_template_2_div_0_Template_input_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r16); const table_r11 = i0.ɵɵnextContext().$implicit; return table_r11.setFilter($event); });
|
|
5308
|
+
i0.ɵɵpipe(3, "translate");
|
|
5309
|
+
i0.ɵɵelementEnd()();
|
|
5310
|
+
}
|
|
5311
|
+
if (rf & 2) {
|
|
5312
|
+
const table_r11 = i0.ɵɵnextContext().$implicit;
|
|
5313
|
+
const ctx_r12 = i0.ɵɵnextContext();
|
|
5314
|
+
i0.ɵɵadvance(1);
|
|
5315
|
+
i0.ɵɵproperty("ngIf", ctx_r12.label);
|
|
5316
|
+
i0.ɵɵadvance(1);
|
|
5317
|
+
i0.ɵɵproperty("placeholder", i0.ɵɵpipeBind1(3, 4, ctx_r12.placeholder))("ngModel", table_r11.filter);
|
|
5318
|
+
i0.ɵɵattribute("id", ctx_r12.tableId);
|
|
5319
|
+
}
|
|
5320
|
+
}
|
|
5321
|
+
function DynamicTableComponent_ng_template_2_Template(rf, ctx) {
|
|
5322
|
+
if (rf & 1) {
|
|
5323
|
+
i0.ɵɵtemplate(0, DynamicTableComponent_ng_template_2_div_0_Template, 4, 6, "div", 10);
|
|
5324
|
+
}
|
|
5325
|
+
if (rf & 2) {
|
|
5326
|
+
const table_r11 = ctx.$implicit;
|
|
5327
|
+
i0.ɵɵproperty("ngIf", table_r11.showFilter);
|
|
5328
|
+
}
|
|
5329
|
+
}
|
|
5330
|
+
function DynamicTableComponent_ng_template_7_ng_template_0_Template(rf, ctx) {
|
|
5331
|
+
if (rf & 1) {
|
|
5332
|
+
i0.ɵɵelementStart(0, "span");
|
|
5333
|
+
i0.ɵɵtext(1);
|
|
5334
|
+
i0.ɵɵelementEnd();
|
|
5335
|
+
}
|
|
5336
|
+
if (rf & 2) {
|
|
5337
|
+
const column_r26 = ctx.column;
|
|
5338
|
+
const item_r27 = ctx.item;
|
|
5339
|
+
i0.ɵɵadvance(1);
|
|
5340
|
+
i0.ɵɵtextInterpolate(item_r27[column_r26] == undefined || item_r27[column_r26] == null ? "-" : item_r27[column_r26]);
|
|
5341
|
+
}
|
|
5342
|
+
}
|
|
5343
|
+
function DynamicTableComponent_ng_template_7_ng_template_2_Template(rf, ctx) {
|
|
5344
|
+
if (rf & 1) {
|
|
5345
|
+
i0.ɵɵelementContainer(0, 3);
|
|
5346
|
+
}
|
|
5347
|
+
if (rf & 2) {
|
|
5348
|
+
const ctx_r28 = i0.ɵɵnextContext();
|
|
5349
|
+
const template_r20 = ctx_r28.template;
|
|
5350
|
+
const context_r18 = ctx_r28.$implicit;
|
|
5351
|
+
i0.ɵɵproperty("ngxTemplateOutlet", template_r20.ref)("context", context_r18);
|
|
5352
|
+
}
|
|
5353
|
+
}
|
|
5354
|
+
function DynamicTableComponent_ng_template_7_td_4_Template(rf, ctx) {
|
|
5355
|
+
if (rf & 1) {
|
|
5356
|
+
i0.ɵɵelementStart(0, "td", 17);
|
|
5357
|
+
i0.ɵɵelementContainer(1, 3);
|
|
5358
|
+
i0.ɵɵelementEnd();
|
|
5359
|
+
}
|
|
5360
|
+
if (rf & 2) {
|
|
5361
|
+
const ctx_r29 = i0.ɵɵnextContext();
|
|
5362
|
+
const column_r19 = ctx_r29.column;
|
|
5363
|
+
const template_r20 = ctx_r29.template;
|
|
5364
|
+
const context_r18 = ctx_r29.$implicit;
|
|
5365
|
+
const _r21 = i0.ɵɵreference(1);
|
|
5366
|
+
i0.ɵɵproperty("ngClass", "column-" + column_r19);
|
|
5367
|
+
i0.ɵɵadvance(1);
|
|
5368
|
+
i0.ɵɵproperty("ngxTemplateOutlet", !template_r20 ? _r21 : template_r20.ref)("context", context_r18);
|
|
5369
|
+
}
|
|
5370
|
+
}
|
|
5371
|
+
function DynamicTableComponent_ng_template_7_Template(rf, ctx) {
|
|
5372
|
+
if (rf & 1) {
|
|
5373
|
+
i0.ɵɵtemplate(0, DynamicTableComponent_ng_template_7_ng_template_0_Template, 2, 1, "ng-template", null, 14, i0.ɵɵtemplateRefExtractor);
|
|
5374
|
+
i0.ɵɵtemplate(2, DynamicTableComponent_ng_template_7_ng_template_2_Template, 1, 2, "ng-template", null, 15, i0.ɵɵtemplateRefExtractor);
|
|
5375
|
+
i0.ɵɵtemplate(4, DynamicTableComponent_ng_template_7_td_4_Template, 2, 3, "td", 16);
|
|
5376
|
+
}
|
|
5377
|
+
if (rf & 2) {
|
|
5378
|
+
const template_r20 = ctx.template;
|
|
5379
|
+
const _r23 = i0.ɵɵreference(3);
|
|
5380
|
+
i0.ɵɵadvance(4);
|
|
5381
|
+
i0.ɵɵproperty("ngIf", !template_r20 || !template_r20.pure)("ngIfElse", _r23);
|
|
5382
|
+
}
|
|
5383
|
+
}
|
|
5384
|
+
const _c8 = function (a0, a1) { return { template: a0, column: a1 }; };
|
|
5385
|
+
function DynamicTableComponent_ng_template_9_ng_container_0_Template(rf, ctx) {
|
|
5386
|
+
if (rf & 1) {
|
|
5387
|
+
i0.ɵɵelementContainer(0, 19);
|
|
5388
|
+
}
|
|
5389
|
+
if (rf & 2) {
|
|
5390
|
+
const column_r32 = ctx.$implicit;
|
|
5391
|
+
const context_r30 = i0.ɵɵnextContext().$implicit;
|
|
5392
|
+
const ctx_r31 = i0.ɵɵnextContext();
|
|
5393
|
+
const _r3 = i0.ɵɵreference(8);
|
|
5394
|
+
i0.ɵɵproperty("ngxTemplateOutlet", _r3)("context", context_r30)("additionalContext", i0.ɵɵpureFunction2(3, _c8, ctx_r31.templates[column_r32], column_r32));
|
|
5395
|
+
}
|
|
5396
|
+
}
|
|
5397
|
+
function DynamicTableComponent_ng_template_9_Template(rf, ctx) {
|
|
5398
|
+
if (rf & 1) {
|
|
5399
|
+
i0.ɵɵtemplate(0, DynamicTableComponent_ng_template_9_ng_container_0_Template, 1, 6, "ng-container", 18);
|
|
5400
|
+
}
|
|
5401
|
+
if (rf & 2) {
|
|
5402
|
+
const ctx_r6 = i0.ɵɵnextContext();
|
|
5403
|
+
i0.ɵɵproperty("ngForOf", ctx_r6.cols);
|
|
5404
|
+
}
|
|
5405
|
+
}
|
|
5406
|
+
function DynamicTableComponent_ng_template_11_Template(rf, ctx) {
|
|
5407
|
+
if (rf & 1) {
|
|
5408
|
+
i0.ɵɵelementStart(0, "tr");
|
|
5409
|
+
i0.ɵɵelementContainer(1, 3);
|
|
5410
|
+
i0.ɵɵelementEnd();
|
|
5411
|
+
}
|
|
5412
|
+
if (rf & 2) {
|
|
5413
|
+
const context_r34 = ctx.$implicit;
|
|
5414
|
+
i0.ɵɵnextContext();
|
|
5415
|
+
const _r5 = i0.ɵɵreference(10);
|
|
5416
|
+
i0.ɵɵadvance(1);
|
|
5417
|
+
i0.ɵɵproperty("ngxTemplateOutlet", _r5)("context", context_r34);
|
|
5418
|
+
}
|
|
5419
|
+
}
|
|
5420
|
+
function DynamicTableComponent_ng_template_13_th_3_a_1_i_4_Template(rf, ctx) {
|
|
5421
|
+
if (rf & 1) {
|
|
5422
|
+
i0.ɵɵelement(0, "i", 26);
|
|
5423
|
+
}
|
|
5424
|
+
if (rf & 2) {
|
|
5425
|
+
const column_r37 = i0.ɵɵnextContext(2).$implicit;
|
|
5426
|
+
const ctx_r40 = i0.ɵɵnextContext(2);
|
|
5427
|
+
i0.ɵɵproperty("icon", ctx_r40.orderDescending ? "sort-desc" : "sort-asc")("ngClass", ctx_r40.orderBy == column_r37 ? ctx_r40.orderDescending ? "sort-desc" : "sort-asc" : "");
|
|
5428
|
+
}
|
|
5429
|
+
}
|
|
5430
|
+
function DynamicTableComponent_ng_template_13_th_3_a_1_Template(rf, ctx) {
|
|
5431
|
+
if (rf & 1) {
|
|
5432
|
+
const _r44 = i0.ɵɵgetCurrentView();
|
|
5433
|
+
i0.ɵɵelementStart(0, "a", 24);
|
|
5434
|
+
i0.ɵɵlistener("click", function DynamicTableComponent_ng_template_13_th_3_a_1_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r44); const column_r37 = i0.ɵɵnextContext().$implicit; const ctx_r42 = i0.ɵɵnextContext(2); return ctx_r42.setOrder(column_r37); });
|
|
5435
|
+
i0.ɵɵelementStart(1, "span");
|
|
5436
|
+
i0.ɵɵtext(2);
|
|
5437
|
+
i0.ɵɵpipe(3, "translate");
|
|
5438
|
+
i0.ɵɵelementEnd();
|
|
5439
|
+
i0.ɵɵtemplate(4, DynamicTableComponent_ng_template_13_th_3_a_1_i_4_Template, 1, 2, "i", 25);
|
|
5440
|
+
i0.ɵɵelementEnd();
|
|
5441
|
+
}
|
|
5442
|
+
if (rf & 2) {
|
|
5443
|
+
const column_r37 = i0.ɵɵnextContext().$implicit;
|
|
5444
|
+
const ctx_r38 = i0.ɵɵnextContext(2);
|
|
5445
|
+
i0.ɵɵadvance(2);
|
|
5446
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "label." + column_r37));
|
|
5447
|
+
i0.ɵɵadvance(2);
|
|
5448
|
+
i0.ɵɵproperty("ngIf", ctx_r38.orderBy == column_r37);
|
|
5449
|
+
}
|
|
5450
|
+
}
|
|
5451
|
+
function DynamicTableComponent_ng_template_13_th_3_span_2_Template(rf, ctx) {
|
|
5452
|
+
if (rf & 1) {
|
|
5453
|
+
i0.ɵɵelementStart(0, "span");
|
|
5454
|
+
i0.ɵɵtext(1);
|
|
5455
|
+
i0.ɵɵpipe(2, "translate");
|
|
5456
|
+
i0.ɵɵelementEnd();
|
|
5457
|
+
}
|
|
5458
|
+
if (rf & 2) {
|
|
5459
|
+
const column_r37 = i0.ɵɵnextContext().$implicit;
|
|
5460
|
+
i0.ɵɵadvance(1);
|
|
5461
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "label." + column_r37));
|
|
5462
|
+
}
|
|
5463
|
+
}
|
|
5464
|
+
function DynamicTableComponent_ng_template_13_th_3_Template(rf, ctx) {
|
|
5465
|
+
if (rf & 1) {
|
|
5466
|
+
i0.ɵɵelementStart(0, "th", 17);
|
|
5467
|
+
i0.ɵɵtemplate(1, DynamicTableComponent_ng_template_13_th_3_a_1_Template, 5, 4, "a", 23);
|
|
5468
|
+
i0.ɵɵtemplate(2, DynamicTableComponent_ng_template_13_th_3_span_2_Template, 3, 3, "span", 12);
|
|
5469
|
+
i0.ɵɵelementEnd();
|
|
5470
|
+
}
|
|
5471
|
+
if (rf & 2) {
|
|
5472
|
+
const column_r37 = ctx.$implicit;
|
|
5473
|
+
const ctx_r35 = i0.ɵɵnextContext(2);
|
|
5474
|
+
i0.ɵɵproperty("ngClass", "column-" + column_r37);
|
|
5475
|
+
i0.ɵɵadvance(1);
|
|
5476
|
+
i0.ɵɵproperty("ngIf", ctx_r35.orders[column_r37]);
|
|
5477
|
+
i0.ɵɵadvance(1);
|
|
5478
|
+
i0.ɵɵproperty("ngIf", !ctx_r35.orders[column_r37]);
|
|
5479
|
+
}
|
|
5480
|
+
}
|
|
5481
|
+
function DynamicTableComponent_ng_template_13_ng_container_5_Template(rf, ctx) {
|
|
5482
|
+
if (rf & 1) {
|
|
5483
|
+
i0.ɵɵelementContainer(0, 19);
|
|
5484
|
+
}
|
|
5485
|
+
if (rf & 2) {
|
|
5486
|
+
const context_r47 = ctx.$implicit;
|
|
5487
|
+
const ctx_r36 = i0.ɵɵnextContext(2);
|
|
5488
|
+
i0.ɵɵproperty("ngxTemplateOutlet", ctx_r36.rowTemplate)("context", context_r47)("additionalContext", ctx_r36);
|
|
5489
|
+
}
|
|
5490
|
+
}
|
|
5491
|
+
function DynamicTableComponent_ng_template_13_Template(rf, ctx) {
|
|
5492
|
+
if (rf & 1) {
|
|
5493
|
+
i0.ɵɵelementStart(0, "table", 20)(1, "thead")(2, "tr");
|
|
5494
|
+
i0.ɵɵtemplate(3, DynamicTableComponent_ng_template_13_th_3_Template, 3, 3, "th", 21);
|
|
5495
|
+
i0.ɵɵelementEnd()();
|
|
5496
|
+
i0.ɵɵelementStart(4, "tbody");
|
|
5497
|
+
i0.ɵɵtemplate(5, DynamicTableComponent_ng_template_13_ng_container_5_Template, 1, 3, "ng-container", 22);
|
|
5498
|
+
i0.ɵɵelementEnd()();
|
|
5499
|
+
}
|
|
5500
|
+
if (rf & 2) {
|
|
5501
|
+
const ctx_r10 = i0.ɵɵnextContext();
|
|
5502
|
+
i0.ɵɵadvance(3);
|
|
5503
|
+
i0.ɵɵproperty("ngForOf", ctx_r10.cols);
|
|
5504
|
+
}
|
|
5505
|
+
}
|
|
4777
5506
|
class DynamicTableComponent {
|
|
4778
5507
|
constructor() {
|
|
4779
5508
|
this.loadData = (page, itemsPerPage) => {
|
|
@@ -4875,12 +5604,72 @@ class DynamicTableComponent {
|
|
|
4875
5604
|
});
|
|
4876
5605
|
}
|
|
4877
5606
|
}
|
|
4878
|
-
DynamicTableComponent.ɵfac =
|
|
4879
|
-
DynamicTableComponent.ɵcmp = i0.ɵɵ
|
|
4880
|
-
|
|
5607
|
+
DynamicTableComponent.ɵfac = function DynamicTableComponent_Factory(t) { return new (t || DynamicTableComponent)(); };
|
|
5608
|
+
DynamicTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DynamicTableComponent, selectors: [["dynamic-table"]], contentQueries: function DynamicTableComponent_ContentQueries(rf, ctx, dirIndex) {
|
|
5609
|
+
if (rf & 1) {
|
|
5610
|
+
i0.ɵɵcontentQuery(dirIndex, _c0, 7);
|
|
5611
|
+
i0.ɵɵcontentQuery(dirIndex, _c1, 7);
|
|
5612
|
+
i0.ɵɵcontentQuery(dirIndex, _c2, 7);
|
|
5613
|
+
i0.ɵɵcontentQuery(dirIndex, DynamicTableTemplateDirective, 4);
|
|
5614
|
+
}
|
|
5615
|
+
if (rf & 2) {
|
|
5616
|
+
let _t;
|
|
5617
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.rowTemplate = _t.first);
|
|
5618
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.wrapperTemplate = _t.first);
|
|
5619
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterTemplate = _t.first);
|
|
5620
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templateDirectives = _t);
|
|
5621
|
+
}
|
|
5622
|
+
}, viewQuery: function DynamicTableComponent_Query(rf, ctx) {
|
|
5623
|
+
if (rf & 1) {
|
|
5624
|
+
i0.ɵɵviewQuery(_c3, 7);
|
|
5625
|
+
i0.ɵɵviewQuery(_c4, 7);
|
|
5626
|
+
i0.ɵɵviewQuery(_c5, 7);
|
|
5627
|
+
i0.ɵɵviewQuery(_c6, 7);
|
|
5628
|
+
i0.ɵɵviewQuery(_c7, 5);
|
|
5629
|
+
}
|
|
5630
|
+
if (rf & 2) {
|
|
5631
|
+
let _t;
|
|
5632
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnsTemplate = _t.first);
|
|
5633
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.defaultRowTemplate = _t.first);
|
|
5634
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.defaultWrapperTemplate = _t.first);
|
|
5635
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.defaultFilterTemplate = _t.first);
|
|
5636
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.pagination = _t.first);
|
|
5637
|
+
}
|
|
5638
|
+
}, inputs: { label: "label", placeholder: "placeholder", dataLoader: "dataLoader", data: "data", parallelData: "parallelData", columns: "columns", showFilter: "showFilter", itemsPerPage: "itemsPerPage", updateTime: "updateTime", maxPages: "maxPages", directionLinks: "directionLinks", boundaryLinks: "boundaryLinks", orderBy: "orderBy", orderDescending: "orderDescending" }, features: [i0.ɵɵNgOnChangesFeature], decls: 17, vars: 13, consts: [[1, "dynamic-table", 3, "pagination", "itemsPerPage", "updateTime"], ["pagination", "pagination"], ["defaultFilterTemplate", ""], [3, "ngxTemplateOutlet", "context"], [3, "maxSize", "directionLinks", "boundaryLinks"], [1, "table-responsive"], ["columnTemplate", ""], ["columnsTemplate", ""], ["defaultRowTemplate", ""], ["defaultWrapperTemplate", ""], ["class", "table-search", 4, "ngIf"], [1, "table-search"], [4, "ngIf"], ["type", "text", 1, "form-control", 3, "placeholder", "ngModel", "ngModelChange"], ["defaultTemplate", ""], ["pureTemplate", ""], [3, "ngClass", 4, "ngIf", "ngIfElse"], [3, "ngClass"], [3, "ngxTemplateOutlet", "context", "additionalContext", 4, "ngFor", "ngForOf"], [3, "ngxTemplateOutlet", "context", "additionalContext"], [1, "table", "table-striped"], [3, "ngClass", 4, "ngFor", "ngForOf"], [3, "ngxTemplateOutlet", "context", "additionalContext", 4, "paginationItem"], [3, "click", 4, "ngIf"], [3, "click"], [3, "icon", "ngClass", 4, "ngIf"], [3, "icon", "ngClass"]], template: function DynamicTableComponent_Template(rf, ctx) {
|
|
5639
|
+
if (rf & 1) {
|
|
5640
|
+
i0.ɵɵelementStart(0, "div", 0, 1);
|
|
5641
|
+
i0.ɵɵtemplate(2, DynamicTableComponent_ng_template_2_Template, 1, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
|
5642
|
+
i0.ɵɵelementContainer(4, 3);
|
|
5643
|
+
i0.ɵɵelement(5, "pagination-menu", 4);
|
|
5644
|
+
i0.ɵɵelementStart(6, "div", 5);
|
|
5645
|
+
i0.ɵɵtemplate(7, DynamicTableComponent_ng_template_7_Template, 5, 2, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
|
|
5646
|
+
i0.ɵɵtemplate(9, DynamicTableComponent_ng_template_9_Template, 1, 1, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
|
|
5647
|
+
i0.ɵɵtemplate(11, DynamicTableComponent_ng_template_11_Template, 2, 2, "ng-template", null, 8, i0.ɵɵtemplateRefExtractor);
|
|
5648
|
+
i0.ɵɵtemplate(13, DynamicTableComponent_ng_template_13_Template, 6, 1, "ng-template", null, 9, i0.ɵɵtemplateRefExtractor);
|
|
5649
|
+
i0.ɵɵelementContainer(15, 3);
|
|
5650
|
+
i0.ɵɵelementEnd();
|
|
5651
|
+
i0.ɵɵelement(16, "pagination-menu", 4);
|
|
5652
|
+
i0.ɵɵelementEnd();
|
|
5653
|
+
}
|
|
5654
|
+
if (rf & 2) {
|
|
5655
|
+
const _r1 = i0.ɵɵreference(3);
|
|
5656
|
+
const _r9 = i0.ɵɵreference(14);
|
|
5657
|
+
i0.ɵɵproperty("pagination", ctx.loadData)("itemsPerPage", ctx.itemsPerPage)("updateTime", ctx.updateTime);
|
|
5658
|
+
i0.ɵɵadvance(4);
|
|
5659
|
+
i0.ɵɵproperty("ngxTemplateOutlet", ctx.filterTemplate || _r1)("context", ctx);
|
|
5660
|
+
i0.ɵɵadvance(1);
|
|
5661
|
+
i0.ɵɵproperty("maxSize", ctx.maxPages)("directionLinks", ctx.directionLinks)("boundaryLinks", ctx.boundaryLinks);
|
|
5662
|
+
i0.ɵɵadvance(10);
|
|
5663
|
+
i0.ɵɵproperty("ngxTemplateOutlet", ctx.wrapperTemplate || _r9)("context", ctx);
|
|
5664
|
+
i0.ɵɵadvance(1);
|
|
5665
|
+
i0.ɵɵproperty("maxSize", ctx.maxPages)("directionLinks", ctx.directionLinks)("boundaryLinks", ctx.boundaryLinks);
|
|
5666
|
+
}
|
|
5667
|
+
}, directives: [PaginationDirective, i1$3.NgIf, i3.DefaultValueAccessor, i3.NgControlStatus, i3.NgModel, NgxTemplateOutletDirective, PaginationMenuComponent, i1$3.NgClass, i1$3.NgForOf, IconDirective, PaginationItemDirective], pipes: [TranslatePipe], encapsulation: 2 });
|
|
5668
|
+
(function () {
|
|
5669
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DynamicTableComponent, [{
|
|
4881
5670
|
type: Component,
|
|
4882
5671
|
args: [{ selector: "dynamic-table", template: "<div class=\"dynamic-table\" #pagination=\"pagination\" [pagination]=\"loadData\" [itemsPerPage]=\"itemsPerPage\" [updateTime]=\"updateTime\">\r\n <ng-template #defaultFilterTemplate let-table>\r\n <div class=\"table-search\" *ngIf=\"table.showFilter\">\r\n <label *ngIf=\"label\" [attr.for]=\"tableId\">{{ label | translate }}</label>\r\n <input type=\"text\"\r\n class=\"form-control\"\r\n [attr.id]=\"tableId\"\r\n [placeholder]=\"placeholder | translate\"\r\n [ngModel]=\"table.filter\"\r\n (ngModelChange)=\"table.setFilter($event)\"/>\r\n </div>\r\n </ng-template>\r\n <ng-container [ngxTemplateOutlet]=\"filterTemplate || defaultFilterTemplate\" [context]=\"this\"></ng-container>\r\n <pagination-menu [maxSize]=\"maxPages\" [directionLinks]=\"directionLinks\" [boundaryLinks]=\"boundaryLinks\"></pagination-menu>\r\n <div class=\"table-responsive\">\r\n\r\n <ng-template #columnTemplate let-context let-column=\"column\" let-template=\"template\">\r\n <ng-template #defaultTemplate let-column=\"column\" let-item=\"item\">\r\n <span>{{ item[column] == undefined || item[column] == null ? '-' : item[column] }}</span>\r\n </ng-template>\r\n <ng-template #pureTemplate>\r\n <ng-container [ngxTemplateOutlet]=\"template.ref\" [context]=\"context\"></ng-container>\r\n </ng-template>\r\n <td [ngClass]=\"'column-' + column\" *ngIf=\"!template || !template.pure; else pureTemplate\">\r\n <ng-container [ngxTemplateOutlet]=\"!template ? defaultTemplate : template.ref\" [context]=\"context\"></ng-container>\r\n </td>\r\n </ng-template>\r\n\r\n <ng-template #columnsTemplate let-context>\r\n <ng-container *ngFor=\"let column of cols\"\r\n [ngxTemplateOutlet]=\"columnTemplate\"\r\n [context]=\"context\"\r\n [additionalContext]=\"{\r\n template: templates[column],\r\n column: column\r\n }\"></ng-container>\r\n </ng-template>\r\n\r\n <ng-template #defaultRowTemplate let-context>\r\n <tr>\r\n <ng-container [ngxTemplateOutlet]=\"columnsTemplate\" [context]=\"context\"></ng-container>\r\n </tr>\r\n </ng-template>\r\n\r\n <ng-template #defaultWrapperTemplate>\r\n <table class=\"table table-striped\">\r\n <thead>\r\n <tr>\r\n <th *ngFor=\"let column of cols\" [ngClass]=\"'column-' + column\">\r\n <a *ngIf=\"orders[column]\" (click)=\"setOrder(column)\">\r\n <span>{{ 'label.' + column | translate }}</span>\r\n <i *ngIf=\"orderBy == column\"\r\n [icon]=\"orderDescending ? 'sort-desc' : 'sort-asc'\"\r\n [ngClass]=\"orderBy == column ? (orderDescending ? 'sort-desc': 'sort-asc') : ''\"></i>\r\n </a>\r\n <span *ngIf=\"!orders[column]\">{{ 'label.' + column | translate }}</span>\r\n </th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <ng-container *paginationItem=\"let context\"\r\n [ngxTemplateOutlet]=\"rowTemplate\"\r\n [context]=\"context\"\r\n [additionalContext]=\"this\"></ng-container>\r\n </tbody>\r\n </table>\r\n </ng-template>\r\n\r\n <ng-container [ngxTemplateOutlet]=\"wrapperTemplate || defaultWrapperTemplate\"\r\n [context]=\"this\"></ng-container>\r\n </div>\r\n <pagination-menu [maxSize]=\"maxPages\" [directionLinks]=\"directionLinks\" [boundaryLinks]=\"boundaryLinks\"></pagination-menu>\r\n</div>\r\n" }]
|
|
4883
|
-
}],
|
|
5672
|
+
}], function () { return []; }, { label: [{
|
|
4884
5673
|
type: Input
|
|
4885
5674
|
}], placeholder: [{
|
|
4886
5675
|
type: Input
|
|
@@ -4935,7 +5724,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
4935
5724
|
}], templateDirectives: [{
|
|
4936
5725
|
type: ContentChildren,
|
|
4937
5726
|
args: [DynamicTableTemplateDirective]
|
|
4938
|
-
}] }
|
|
5727
|
+
}] });
|
|
5728
|
+
})();
|
|
4939
5729
|
|
|
4940
5730
|
// --- Pipes ---
|
|
4941
5731
|
const pipes = [
|
|
@@ -5084,88 +5874,14 @@ class NgxUtilsModule {
|
|
|
5084
5874
|
};
|
|
5085
5875
|
}
|
|
5086
5876
|
}
|
|
5087
|
-
NgxUtilsModule.ɵfac =
|
|
5088
|
-
NgxUtilsModule.ɵmod = i0.ɵɵ
|
|
5089
|
-
|
|
5090
|
-
ExtraItemPropertiesPipe,
|
|
5091
|
-
FilterPipe,
|
|
5092
|
-
FindPipe,
|
|
5093
|
-
FormatNumberPipe,
|
|
5094
|
-
GetOffsetPipe,
|
|
5095
|
-
GetTypePipe,
|
|
5096
|
-
GlobalTemplatePipe,
|
|
5097
|
-
GroupByPipe,
|
|
5098
|
-
IsTypePipe,
|
|
5099
|
-
JoinPipe,
|
|
5100
|
-
KeysPipe,
|
|
5101
|
-
MapPipe,
|
|
5102
|
-
MaxPipe,
|
|
5103
|
-
MinPipe,
|
|
5104
|
-
ReducePipe,
|
|
5105
|
-
RemapPipe,
|
|
5106
|
-
ReplacePipe,
|
|
5107
|
-
ReversePipe,
|
|
5108
|
-
RoundPipe,
|
|
5109
|
-
SafeHtmlPipe,
|
|
5110
|
-
TranslatePipe,
|
|
5111
|
-
ValuesPipe, AsyncMethodDirective,
|
|
5112
|
-
BackgroundDirective,
|
|
5113
|
-
DynamicTableTemplateDirective,
|
|
5114
|
-
GlobalTemplateDirective,
|
|
5115
|
-
IconDirective,
|
|
5116
|
-
NgxTemplateOutletDirective,
|
|
5117
|
-
PaginationDirective,
|
|
5118
|
-
PaginationItemDirective,
|
|
5119
|
-
ResourceIfDirective,
|
|
5120
|
-
StickyDirective,
|
|
5121
|
-
StickyClassDirective,
|
|
5122
|
-
UnorderedListItemDirective,
|
|
5123
|
-
UnorderedListTemplateDirective, DynamicTableComponent,
|
|
5124
|
-
PaginationMenuComponent,
|
|
5125
|
-
UnorderedListComponent], imports: [CommonModule,
|
|
5126
|
-
FormsModule], exports: [ChunkPipe,
|
|
5127
|
-
EntriesPipe,
|
|
5128
|
-
ExtraItemPropertiesPipe,
|
|
5129
|
-
FilterPipe,
|
|
5130
|
-
FindPipe,
|
|
5131
|
-
FormatNumberPipe,
|
|
5132
|
-
GetOffsetPipe,
|
|
5133
|
-
GetTypePipe,
|
|
5134
|
-
GlobalTemplatePipe,
|
|
5135
|
-
GroupByPipe,
|
|
5136
|
-
IsTypePipe,
|
|
5137
|
-
JoinPipe,
|
|
5138
|
-
KeysPipe,
|
|
5139
|
-
MapPipe,
|
|
5140
|
-
MaxPipe,
|
|
5141
|
-
MinPipe,
|
|
5142
|
-
ReducePipe,
|
|
5143
|
-
RemapPipe,
|
|
5144
|
-
ReplacePipe,
|
|
5145
|
-
ReversePipe,
|
|
5146
|
-
RoundPipe,
|
|
5147
|
-
SafeHtmlPipe,
|
|
5148
|
-
TranslatePipe,
|
|
5149
|
-
ValuesPipe, AsyncMethodDirective,
|
|
5150
|
-
BackgroundDirective,
|
|
5151
|
-
DynamicTableTemplateDirective,
|
|
5152
|
-
GlobalTemplateDirective,
|
|
5153
|
-
IconDirective,
|
|
5154
|
-
NgxTemplateOutletDirective,
|
|
5155
|
-
PaginationDirective,
|
|
5156
|
-
PaginationItemDirective,
|
|
5157
|
-
ResourceIfDirective,
|
|
5158
|
-
StickyDirective,
|
|
5159
|
-
StickyClassDirective,
|
|
5160
|
-
UnorderedListItemDirective,
|
|
5161
|
-
UnorderedListTemplateDirective, DynamicTableComponent,
|
|
5162
|
-
PaginationMenuComponent,
|
|
5163
|
-
UnorderedListComponent, FormsModule] });
|
|
5164
|
-
NgxUtilsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: NgxUtilsModule, providers: pipes, imports: [[
|
|
5877
|
+
NgxUtilsModule.ɵfac = function NgxUtilsModule_Factory(t) { return new (t || NgxUtilsModule)(); };
|
|
5878
|
+
NgxUtilsModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: NgxUtilsModule });
|
|
5879
|
+
NgxUtilsModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: pipes, imports: [[
|
|
5165
5880
|
CommonModule,
|
|
5166
5881
|
FormsModule
|
|
5167
5882
|
], FormsModule] });
|
|
5168
|
-
|
|
5883
|
+
(function () {
|
|
5884
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NgxUtilsModule, [{
|
|
5169
5885
|
type: NgModule,
|
|
5170
5886
|
args: [{
|
|
5171
5887
|
declarations: [
|
|
@@ -5185,7 +5901,86 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
5185
5901
|
],
|
|
5186
5902
|
providers: pipes
|
|
5187
5903
|
}]
|
|
5188
|
-
}]
|
|
5904
|
+
}], null, null);
|
|
5905
|
+
})();
|
|
5906
|
+
(function () {
|
|
5907
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(NgxUtilsModule, { declarations: [ChunkPipe,
|
|
5908
|
+
EntriesPipe,
|
|
5909
|
+
ExtraItemPropertiesPipe,
|
|
5910
|
+
FilterPipe,
|
|
5911
|
+
FindPipe,
|
|
5912
|
+
FormatNumberPipe,
|
|
5913
|
+
GetOffsetPipe,
|
|
5914
|
+
GetTypePipe,
|
|
5915
|
+
GlobalTemplatePipe,
|
|
5916
|
+
GroupByPipe,
|
|
5917
|
+
IsTypePipe,
|
|
5918
|
+
JoinPipe,
|
|
5919
|
+
KeysPipe,
|
|
5920
|
+
MapPipe,
|
|
5921
|
+
MaxPipe,
|
|
5922
|
+
MinPipe,
|
|
5923
|
+
ReducePipe,
|
|
5924
|
+
RemapPipe,
|
|
5925
|
+
ReplacePipe,
|
|
5926
|
+
ReversePipe,
|
|
5927
|
+
RoundPipe,
|
|
5928
|
+
SafeHtmlPipe,
|
|
5929
|
+
TranslatePipe,
|
|
5930
|
+
ValuesPipe, AsyncMethodDirective,
|
|
5931
|
+
BackgroundDirective,
|
|
5932
|
+
DynamicTableTemplateDirective,
|
|
5933
|
+
GlobalTemplateDirective,
|
|
5934
|
+
IconDirective,
|
|
5935
|
+
NgxTemplateOutletDirective,
|
|
5936
|
+
PaginationDirective,
|
|
5937
|
+
PaginationItemDirective,
|
|
5938
|
+
ResourceIfDirective,
|
|
5939
|
+
StickyDirective,
|
|
5940
|
+
StickyClassDirective,
|
|
5941
|
+
UnorderedListItemDirective,
|
|
5942
|
+
UnorderedListTemplateDirective, DynamicTableComponent,
|
|
5943
|
+
PaginationMenuComponent,
|
|
5944
|
+
UnorderedListComponent], imports: [CommonModule,
|
|
5945
|
+
FormsModule], exports: [ChunkPipe,
|
|
5946
|
+
EntriesPipe,
|
|
5947
|
+
ExtraItemPropertiesPipe,
|
|
5948
|
+
FilterPipe,
|
|
5949
|
+
FindPipe,
|
|
5950
|
+
FormatNumberPipe,
|
|
5951
|
+
GetOffsetPipe,
|
|
5952
|
+
GetTypePipe,
|
|
5953
|
+
GlobalTemplatePipe,
|
|
5954
|
+
GroupByPipe,
|
|
5955
|
+
IsTypePipe,
|
|
5956
|
+
JoinPipe,
|
|
5957
|
+
KeysPipe,
|
|
5958
|
+
MapPipe,
|
|
5959
|
+
MaxPipe,
|
|
5960
|
+
MinPipe,
|
|
5961
|
+
ReducePipe,
|
|
5962
|
+
RemapPipe,
|
|
5963
|
+
ReplacePipe,
|
|
5964
|
+
ReversePipe,
|
|
5965
|
+
RoundPipe,
|
|
5966
|
+
SafeHtmlPipe,
|
|
5967
|
+
TranslatePipe,
|
|
5968
|
+
ValuesPipe, AsyncMethodDirective,
|
|
5969
|
+
BackgroundDirective,
|
|
5970
|
+
DynamicTableTemplateDirective,
|
|
5971
|
+
GlobalTemplateDirective,
|
|
5972
|
+
IconDirective,
|
|
5973
|
+
NgxTemplateOutletDirective,
|
|
5974
|
+
PaginationDirective,
|
|
5975
|
+
PaginationItemDirective,
|
|
5976
|
+
ResourceIfDirective,
|
|
5977
|
+
StickyDirective,
|
|
5978
|
+
StickyClassDirective,
|
|
5979
|
+
UnorderedListItemDirective,
|
|
5980
|
+
UnorderedListTemplateDirective, DynamicTableComponent,
|
|
5981
|
+
PaginationMenuComponent,
|
|
5982
|
+
UnorderedListComponent, FormsModule] });
|
|
5983
|
+
})();
|
|
5189
5984
|
|
|
5190
5985
|
/**
|
|
5191
5986
|
* Generated bundle index. Do not edit.
|