@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
|
@@ -16,7 +16,7 @@ import { HttpClient, HttpHeaders, HttpParams, HttpUrlEncodingCodec, HttpEventTyp
|
|
|
16
16
|
import * as i1$2 from '@angular/platform-browser';
|
|
17
17
|
import { ɵDomEventsPlugin, EVENT_MANAGER_PLUGINS } from '@angular/platform-browser';
|
|
18
18
|
import { addListener, removeListener } from 'resize-detector';
|
|
19
|
-
import * as
|
|
19
|
+
import * as i3 from '@angular/forms';
|
|
20
20
|
import { FormsModule } from '@angular/forms';
|
|
21
21
|
|
|
22
22
|
const defaultPredicate = () => true;
|
|
@@ -1268,14 +1268,14 @@ class UniversalService {
|
|
|
1268
1268
|
return this.crawler;
|
|
1269
1269
|
}
|
|
1270
1270
|
}
|
|
1271
|
-
UniversalService.ɵfac =
|
|
1272
|
-
UniversalService.ɵprov = i0.ɵɵ
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1271
|
+
UniversalService.ɵfac = function UniversalService_Factory(t) { return new (t || UniversalService)(i0.ɵɵinject(PLATFORM_ID), i0.ɵɵinject(i1.DeviceDetectorService)); };
|
|
1272
|
+
UniversalService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: UniversalService, factory: UniversalService.ɵfac });
|
|
1273
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UniversalService, [{
|
|
1274
|
+
type: Injectable
|
|
1275
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
1276
|
+
type: Inject,
|
|
1277
|
+
args: [PLATFORM_ID]
|
|
1278
|
+
}] }, { type: i1.DeviceDetectorService }]; }, null); })();
|
|
1279
1279
|
|
|
1280
1280
|
const emptySnapshot = new ActivatedRouteSnapshot();
|
|
1281
1281
|
const emptyData = { id: "" };
|
|
@@ -1433,13 +1433,13 @@ class StateService extends BehaviorSubject {
|
|
|
1433
1433
|
return [url, extras];
|
|
1434
1434
|
}
|
|
1435
1435
|
}
|
|
1436
|
-
StateService.ɵfac =
|
|
1437
|
-
StateService.ɵprov = i0.ɵɵ
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1436
|
+
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)); };
|
|
1437
|
+
StateService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: StateService, factory: StateService.ɵfac });
|
|
1438
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StateService, [{
|
|
1439
|
+
type: Injectable
|
|
1440
|
+
}], function () { return [{ type: i0.Injector }, { type: i0.NgZone }, { type: UniversalService }, { type: i2.Router, decorators: [{
|
|
1441
|
+
type: Optional
|
|
1442
|
+
}] }]; }, null); })();
|
|
1443
1443
|
|
|
1444
1444
|
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1445
1445
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -1582,8 +1582,8 @@ class AuthGuard {
|
|
|
1582
1582
|
});
|
|
1583
1583
|
}
|
|
1584
1584
|
}
|
|
1585
|
-
AuthGuard.ɵfac =
|
|
1586
|
-
AuthGuard.ɵprov = i0.ɵɵ
|
|
1585
|
+
AuthGuard.ɵfac = function AuthGuard_Factory(t) { return new (t || AuthGuard)(i0.ɵɵinject(Injector), i0.ɵɵinject(StateService), i0.ɵɵinject(AUTH_SERVICE)); };
|
|
1586
|
+
AuthGuard.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AuthGuard, factory: AuthGuard.ɵfac });
|
|
1587
1587
|
__decorate([
|
|
1588
1588
|
FactoryDependencies(AUTH_SERVICE),
|
|
1589
1589
|
__metadata("design:type", Function),
|
|
@@ -1602,18 +1602,18 @@ __decorate([
|
|
|
1602
1602
|
__metadata("design:paramtypes", [Object, StateService, String]),
|
|
1603
1603
|
__metadata("design:returntype", Function)
|
|
1604
1604
|
], AuthGuard, "guardAuthStateField", null);
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1605
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthGuard, [{
|
|
1606
|
+
type: Injectable
|
|
1607
|
+
}], function () { return [{ type: i0.Injector, decorators: [{
|
|
1608
|
+
type: Inject,
|
|
1609
|
+
args: [Injector]
|
|
1610
|
+
}] }, { type: StateService, decorators: [{
|
|
1611
|
+
type: Inject,
|
|
1612
|
+
args: [StateService]
|
|
1613
|
+
}] }, { type: undefined, decorators: [{
|
|
1614
|
+
type: Inject,
|
|
1615
|
+
args: [AUTH_SERVICE]
|
|
1616
|
+
}] }]; }, null); })();
|
|
1617
1617
|
|
|
1618
1618
|
class TimerUtils {
|
|
1619
1619
|
static createTimeout(func, time) {
|
|
@@ -2038,14 +2038,14 @@ class AclService {
|
|
|
2038
2038
|
return info;
|
|
2039
2039
|
}
|
|
2040
2040
|
}
|
|
2041
|
-
AclService.ɵfac =
|
|
2042
|
-
AclService.ɵprov = i0.ɵɵ
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2041
|
+
AclService.ɵfac = function AclService_Factory(t) { return new (t || AclService)(i0.ɵɵinject(i0.Injector), i0.ɵɵinject(StateService), i0.ɵɵinject(AUTH_SERVICE)); };
|
|
2042
|
+
AclService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AclService, factory: AclService.ɵfac });
|
|
2043
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AclService, [{
|
|
2044
|
+
type: Injectable
|
|
2045
|
+
}], function () { return [{ type: i0.Injector }, { type: StateService }, { type: undefined, decorators: [{
|
|
2046
|
+
type: Inject,
|
|
2047
|
+
args: [AUTH_SERVICE]
|
|
2048
|
+
}] }]; }, null); })();
|
|
2049
2049
|
|
|
2050
2050
|
class BaseHttpClient extends HttpClient {
|
|
2051
2051
|
constructor(handler) {
|
|
@@ -2083,11 +2083,11 @@ class BaseHttpClient extends HttpClient {
|
|
|
2083
2083
|
this.extraRequestParams[name] = value;
|
|
2084
2084
|
}
|
|
2085
2085
|
}
|
|
2086
|
-
BaseHttpClient.ɵfac =
|
|
2087
|
-
BaseHttpClient.ɵprov = i0.ɵɵ
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2086
|
+
BaseHttpClient.ɵfac = function BaseHttpClient_Factory(t) { return new (t || BaseHttpClient)(i0.ɵɵinject(i1$1.HttpHandler)); };
|
|
2087
|
+
BaseHttpClient.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BaseHttpClient, factory: BaseHttpClient.ɵfac });
|
|
2088
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseHttpClient, [{
|
|
2089
|
+
type: Injectable
|
|
2090
|
+
}], function () { return [{ type: i1$1.HttpHandler }]; }, null); })();
|
|
2091
2091
|
|
|
2092
2092
|
/**
|
|
2093
2093
|
* Use this service instead of Storage to avoid Angular Universal breaks on server environment
|
|
@@ -2127,11 +2127,11 @@ class StorageService {
|
|
|
2127
2127
|
storage.removeItem(key);
|
|
2128
2128
|
}
|
|
2129
2129
|
}
|
|
2130
|
-
StorageService.ɵfac =
|
|
2131
|
-
StorageService.ɵprov = i0.ɵɵ
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2130
|
+
StorageService.ɵfac = function StorageService_Factory(t) { return new (t || StorageService)(i0.ɵɵinject(UniversalService)); };
|
|
2131
|
+
StorageService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: StorageService, factory: StorageService.ɵfac });
|
|
2132
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StorageService, [{
|
|
2133
|
+
type: Injectable
|
|
2134
|
+
}], function () { return [{ type: UniversalService }]; }, null); })();
|
|
2135
2135
|
|
|
2136
2136
|
class BaseHttpService {
|
|
2137
2137
|
constructor(client, storage, language, toaster, configs, request = null) {
|
|
@@ -2393,31 +2393,31 @@ class BaseHttpService {
|
|
|
2393
2393
|
}
|
|
2394
2394
|
}
|
|
2395
2395
|
BaseHttpService.failedRequests = [];
|
|
2396
|
-
BaseHttpService.ɵfac =
|
|
2397
|
-
BaseHttpService.ɵprov = i0.ɵɵ
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2396
|
+
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)); };
|
|
2397
|
+
BaseHttpService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: BaseHttpService, factory: BaseHttpService.ɵfac });
|
|
2398
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BaseHttpService, [{
|
|
2399
|
+
type: Injectable
|
|
2400
|
+
}], function () { return [{ type: BaseHttpClient, decorators: [{
|
|
2401
|
+
type: Inject,
|
|
2402
|
+
args: [BaseHttpClient]
|
|
2403
|
+
}] }, { type: StorageService, decorators: [{
|
|
2404
|
+
type: Inject,
|
|
2405
|
+
args: [StorageService]
|
|
2406
|
+
}] }, { type: undefined, decorators: [{
|
|
2407
|
+
type: Inject,
|
|
2408
|
+
args: [LANGUAGE_SERVICE]
|
|
2409
|
+
}] }, { type: undefined, decorators: [{
|
|
2410
|
+
type: Inject,
|
|
2411
|
+
args: [TOASTER_SERVICE]
|
|
2412
|
+
}] }, { type: undefined, decorators: [{
|
|
2413
|
+
type: Inject,
|
|
2414
|
+
args: [CONFIG_SERVICE]
|
|
2415
|
+
}] }, { type: undefined, decorators: [{
|
|
2416
|
+
type: Optional
|
|
2417
|
+
}, {
|
|
2418
|
+
type: Inject,
|
|
2419
|
+
args: [EXPRESS_REQUEST]
|
|
2420
|
+
}] }]; }, null); })();
|
|
2421
2421
|
|
|
2422
2422
|
class ApiService extends BaseHttpService {
|
|
2423
2423
|
get name() {
|
|
@@ -2448,11 +2448,11 @@ class ApiService extends BaseHttpService {
|
|
|
2448
2448
|
return this.listPromise(url, params);
|
|
2449
2449
|
}
|
|
2450
2450
|
}
|
|
2451
|
-
ApiService.ɵfac =
|
|
2452
|
-
ApiService.ɵprov = i0.ɵɵ
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2451
|
+
ApiService.ɵfac = /*@__PURE__*/ function () { let ɵApiService_BaseFactory; return function ApiService_Factory(t) { return (ɵApiService_BaseFactory || (ɵApiService_BaseFactory = i0.ɵɵgetInheritedFactory(ApiService)))(t || ApiService); }; }();
|
|
2452
|
+
ApiService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ApiService, factory: ApiService.ɵfac });
|
|
2453
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ApiService, [{
|
|
2454
|
+
type: Injectable
|
|
2455
|
+
}], null, null); })();
|
|
2456
2456
|
|
|
2457
2457
|
class StaticAuthService {
|
|
2458
2458
|
constructor() {
|
|
@@ -2569,24 +2569,24 @@ class ConfigService {
|
|
|
2569
2569
|
return decodeURIComponent(results[2].replace(/\+/g, " "));
|
|
2570
2570
|
}
|
|
2571
2571
|
}
|
|
2572
|
-
ConfigService.ɵfac =
|
|
2573
|
-
ConfigService.ɵprov = i0.ɵɵ
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2572
|
+
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)); };
|
|
2573
|
+
ConfigService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ConfigService, factory: ConfigService.ɵfac });
|
|
2574
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConfigService, [{
|
|
2575
|
+
type: Injectable
|
|
2576
|
+
}], function () { return [{ type: i1$1.HttpClient }, { type: UniversalService }, { type: undefined, decorators: [{
|
|
2577
|
+
type: Inject,
|
|
2578
|
+
args: [ROOT_ELEMENT]
|
|
2579
|
+
}] }, { type: IConfiguration, decorators: [{
|
|
2580
|
+
type: Optional
|
|
2581
|
+
}, {
|
|
2582
|
+
type: Inject,
|
|
2583
|
+
args: [BASE_CONFIG]
|
|
2584
|
+
}] }, { type: undefined, decorators: [{
|
|
2585
|
+
type: Optional
|
|
2586
|
+
}, {
|
|
2587
|
+
type: Inject,
|
|
2588
|
+
args: [SCRIPT_PARAMS]
|
|
2589
|
+
}] }]; }, null); })();
|
|
2590
2590
|
|
|
2591
2591
|
class ErrorHandlerService extends ErrorHandler {
|
|
2592
2592
|
constructor(injector) {
|
|
@@ -2627,11 +2627,11 @@ class ErrorHandlerService extends ErrorHandler {
|
|
|
2627
2627
|
console.error(`[${date}]: ${error.message}\n${error.stack}`);
|
|
2628
2628
|
}
|
|
2629
2629
|
}
|
|
2630
|
-
ErrorHandlerService.ɵfac =
|
|
2631
|
-
ErrorHandlerService.ɵprov = i0.ɵɵ
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2630
|
+
ErrorHandlerService.ɵfac = function ErrorHandlerService_Factory(t) { return new (t || ErrorHandlerService)(i0.ɵɵinject(i0.Injector)); };
|
|
2631
|
+
ErrorHandlerService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ErrorHandlerService, factory: ErrorHandlerService.ɵfac });
|
|
2632
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ErrorHandlerService, [{
|
|
2633
|
+
type: Injectable
|
|
2634
|
+
}], function () { return [{ type: i0.Injector }]; }, null); })();
|
|
2635
2635
|
|
|
2636
2636
|
class EventsService {
|
|
2637
2637
|
constructor() {
|
|
@@ -2651,11 +2651,11 @@ class EventsService {
|
|
|
2651
2651
|
this.stickyUpdated.emit(sticky);
|
|
2652
2652
|
}
|
|
2653
2653
|
}
|
|
2654
|
-
EventsService.ɵfac =
|
|
2655
|
-
EventsService.ɵprov = i0.ɵɵ
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2654
|
+
EventsService.ɵfac = function EventsService_Factory(t) { return new (t || EventsService)(); };
|
|
2655
|
+
EventsService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: EventsService, factory: EventsService.ɵfac });
|
|
2656
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EventsService, [{
|
|
2657
|
+
type: Injectable
|
|
2658
|
+
}], function () { return []; }, null); })();
|
|
2659
2659
|
|
|
2660
2660
|
class FormatterService {
|
|
2661
2661
|
constructor(language) {
|
|
@@ -2690,14 +2690,14 @@ class FormatterService {
|
|
|
2690
2690
|
return ObjectUtils.isNumber(precision) ? precision : this.defaultPrecision;
|
|
2691
2691
|
}
|
|
2692
2692
|
}
|
|
2693
|
-
FormatterService.ɵfac =
|
|
2694
|
-
FormatterService.ɵprov = i0.ɵɵ
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2693
|
+
FormatterService.ɵfac = function FormatterService_Factory(t) { return new (t || FormatterService)(i0.ɵɵinject(LANGUAGE_SERVICE)); };
|
|
2694
|
+
FormatterService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormatterService, factory: FormatterService.ɵfac });
|
|
2695
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormatterService, [{
|
|
2696
|
+
type: Injectable
|
|
2697
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
2698
|
+
type: Inject,
|
|
2699
|
+
args: [LANGUAGE_SERVICE]
|
|
2700
|
+
}] }]; }, null); })();
|
|
2701
2701
|
|
|
2702
2702
|
class GlobalTemplateService {
|
|
2703
2703
|
constructor() {
|
|
@@ -2727,11 +2727,11 @@ class GlobalTemplateService {
|
|
|
2727
2727
|
this.componentModifiers[id] = modifier;
|
|
2728
2728
|
}
|
|
2729
2729
|
}
|
|
2730
|
-
GlobalTemplateService.ɵfac =
|
|
2731
|
-
GlobalTemplateService.ɵprov = i0.ɵɵ
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2730
|
+
GlobalTemplateService.ɵfac = function GlobalTemplateService_Factory(t) { return new (t || GlobalTemplateService)(); };
|
|
2731
|
+
GlobalTemplateService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: GlobalTemplateService, factory: GlobalTemplateService.ɵfac });
|
|
2732
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GlobalTemplateService, [{
|
|
2733
|
+
type: Injectable
|
|
2734
|
+
}], function () { return []; }, null); })();
|
|
2735
2735
|
|
|
2736
2736
|
class IconService {
|
|
2737
2737
|
constructor() {
|
|
@@ -2751,11 +2751,11 @@ class IconService {
|
|
|
2751
2751
|
return Promise.resolve(active ? activeIcon : icon);
|
|
2752
2752
|
}
|
|
2753
2753
|
}
|
|
2754
|
-
IconService.ɵfac =
|
|
2755
|
-
IconService.ɵprov = i0.ɵɵ
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2754
|
+
IconService.ɵfac = function IconService_Factory(t) { return new (t || IconService)(); };
|
|
2755
|
+
IconService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: IconService, factory: IconService.ɵfac });
|
|
2756
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IconService, [{
|
|
2757
|
+
type: Injectable
|
|
2758
|
+
}], function () { return []; }, null); })();
|
|
2759
2759
|
|
|
2760
2760
|
class StaticLanguageService {
|
|
2761
2761
|
constructor(events, storage, configs, promises, client) {
|
|
@@ -2892,26 +2892,26 @@ class StaticLanguageService {
|
|
|
2892
2892
|
return browserLang;
|
|
2893
2893
|
}
|
|
2894
2894
|
}
|
|
2895
|
-
StaticLanguageService.ɵfac =
|
|
2896
|
-
StaticLanguageService.ɵprov = i0.ɵɵ
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2905
|
-
|
|
2906
|
-
|
|
2907
|
-
|
|
2908
|
-
|
|
2909
|
-
|
|
2910
|
-
|
|
2911
|
-
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
|
|
2895
|
+
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)); };
|
|
2896
|
+
StaticLanguageService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: StaticLanguageService, factory: StaticLanguageService.ɵfac });
|
|
2897
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StaticLanguageService, [{
|
|
2898
|
+
type: Injectable
|
|
2899
|
+
}], function () { return [{ type: EventsService, decorators: [{
|
|
2900
|
+
type: Inject,
|
|
2901
|
+
args: [EventsService]
|
|
2902
|
+
}] }, { type: StorageService, decorators: [{
|
|
2903
|
+
type: Inject,
|
|
2904
|
+
args: [StorageService]
|
|
2905
|
+
}] }, { type: undefined, decorators: [{
|
|
2906
|
+
type: Inject,
|
|
2907
|
+
args: [CONFIG_SERVICE]
|
|
2908
|
+
}] }, { type: undefined, decorators: [{
|
|
2909
|
+
type: Inject,
|
|
2910
|
+
args: [PROMISE_SERVICE]
|
|
2911
|
+
}] }, { type: BaseHttpClient, decorators: [{
|
|
2912
|
+
type: Inject,
|
|
2913
|
+
args: [BaseHttpClient]
|
|
2914
|
+
}] }]; }, null); })();
|
|
2915
2915
|
|
|
2916
2916
|
class LanguageService extends StaticLanguageService {
|
|
2917
2917
|
get currentLanguage() {
|
|
@@ -3015,11 +3015,11 @@ class LanguageService extends StaticLanguageService {
|
|
|
3015
3015
|
return this.settingsPromise;
|
|
3016
3016
|
}
|
|
3017
3017
|
}
|
|
3018
|
-
LanguageService.ɵfac =
|
|
3019
|
-
LanguageService.ɵprov = i0.ɵɵ
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3018
|
+
LanguageService.ɵfac = /*@__PURE__*/ function () { let ɵLanguageService_BaseFactory; return function LanguageService_Factory(t) { return (ɵLanguageService_BaseFactory || (ɵLanguageService_BaseFactory = i0.ɵɵgetInheritedFactory(LanguageService)))(t || LanguageService); }; }();
|
|
3019
|
+
LanguageService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: LanguageService, factory: LanguageService.ɵfac });
|
|
3020
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LanguageService, [{
|
|
3021
|
+
type: Injectable
|
|
3022
|
+
}], null, null); })();
|
|
3023
3023
|
|
|
3024
3024
|
class OpenApiService {
|
|
3025
3025
|
constructor(api) {
|
|
@@ -3049,14 +3049,14 @@ class OpenApiService {
|
|
|
3049
3049
|
return schemas[name];
|
|
3050
3050
|
}
|
|
3051
3051
|
}
|
|
3052
|
-
OpenApiService.ɵfac =
|
|
3053
|
-
OpenApiService.ɵprov = i0.ɵɵ
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3052
|
+
OpenApiService.ɵfac = function OpenApiService_Factory(t) { return new (t || OpenApiService)(i0.ɵɵinject(API_SERVICE)); };
|
|
3053
|
+
OpenApiService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: OpenApiService, factory: OpenApiService.ɵfac });
|
|
3054
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OpenApiService, [{
|
|
3055
|
+
type: Injectable
|
|
3056
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
3057
|
+
type: Inject,
|
|
3058
|
+
args: [API_SERVICE]
|
|
3059
|
+
}] }]; }, null); })();
|
|
3060
3060
|
|
|
3061
3061
|
class ConsoleToasterService {
|
|
3062
3062
|
constructor(language) {
|
|
@@ -3078,14 +3078,14 @@ class ConsoleToasterService {
|
|
|
3078
3078
|
this.language.getTranslation(message, params).then(callback);
|
|
3079
3079
|
}
|
|
3080
3080
|
}
|
|
3081
|
-
ConsoleToasterService.ɵfac =
|
|
3082
|
-
ConsoleToasterService.ɵprov = i0.ɵɵ
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3081
|
+
ConsoleToasterService.ɵfac = function ConsoleToasterService_Factory(t) { return new (t || ConsoleToasterService)(i0.ɵɵinject(LANGUAGE_SERVICE)); };
|
|
3082
|
+
ConsoleToasterService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ConsoleToasterService, factory: ConsoleToasterService.ɵfac });
|
|
3083
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConsoleToasterService, [{
|
|
3084
|
+
type: Injectable
|
|
3085
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
3086
|
+
type: Inject,
|
|
3087
|
+
args: [LANGUAGE_SERVICE]
|
|
3088
|
+
}] }]; }, null); })();
|
|
3089
3089
|
|
|
3090
3090
|
class TranslatedUrlSerializer extends DefaultUrlSerializer {
|
|
3091
3091
|
constructor(language) {
|
|
@@ -3147,14 +3147,14 @@ class TranslatedUrlSerializer extends DefaultUrlSerializer {
|
|
|
3147
3147
|
return newGroup;
|
|
3148
3148
|
}
|
|
3149
3149
|
}
|
|
3150
|
-
TranslatedUrlSerializer.ɵfac =
|
|
3151
|
-
TranslatedUrlSerializer.ɵprov = i0.ɵɵ
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3150
|
+
TranslatedUrlSerializer.ɵfac = function TranslatedUrlSerializer_Factory(t) { return new (t || TranslatedUrlSerializer)(i0.ɵɵinject(LANGUAGE_SERVICE)); };
|
|
3151
|
+
TranslatedUrlSerializer.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: TranslatedUrlSerializer, factory: TranslatedUrlSerializer.ɵfac });
|
|
3152
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TranslatedUrlSerializer, [{
|
|
3153
|
+
type: Injectable
|
|
3154
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
3155
|
+
type: Inject,
|
|
3156
|
+
args: [LANGUAGE_SERVICE]
|
|
3157
|
+
}] }]; }, null); })();
|
|
3158
3158
|
|
|
3159
3159
|
class PromiseService {
|
|
3160
3160
|
constructor(zone) {
|
|
@@ -3200,14 +3200,14 @@ class PromiseService {
|
|
|
3200
3200
|
});
|
|
3201
3201
|
}
|
|
3202
3202
|
}
|
|
3203
|
-
PromiseService.ɵfac =
|
|
3204
|
-
PromiseService.ɵprov = i0.ɵɵ
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3203
|
+
PromiseService.ɵfac = function PromiseService_Factory(t) { return new (t || PromiseService)(i0.ɵɵinject(NgZone)); };
|
|
3204
|
+
PromiseService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: PromiseService, factory: PromiseService.ɵfac });
|
|
3205
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PromiseService, [{
|
|
3206
|
+
type: Injectable
|
|
3207
|
+
}], function () { return [{ type: i0.NgZone, decorators: [{
|
|
3208
|
+
type: Inject,
|
|
3209
|
+
args: [NgZone]
|
|
3210
|
+
}] }]; }, null); })();
|
|
3211
3211
|
|
|
3212
3212
|
function emptyRemove$1() {
|
|
3213
3213
|
}
|
|
@@ -3252,14 +3252,14 @@ class ResizeEventPlugin extends ɵDomEventsPlugin {
|
|
|
3252
3252
|
}
|
|
3253
3253
|
}
|
|
3254
3254
|
ResizeEventPlugin.EVENT_NAME = "resize";
|
|
3255
|
-
ResizeEventPlugin.ɵfac =
|
|
3256
|
-
ResizeEventPlugin.ɵprov = i0.ɵɵ
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3255
|
+
ResizeEventPlugin.ɵfac = function ResizeEventPlugin_Factory(t) { return new (t || ResizeEventPlugin)(i0.ɵɵinject(DOCUMENT), i0.ɵɵinject(UniversalService)); };
|
|
3256
|
+
ResizeEventPlugin.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ResizeEventPlugin, factory: ResizeEventPlugin.ɵfac });
|
|
3257
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ResizeEventPlugin, [{
|
|
3258
|
+
type: Injectable
|
|
3259
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
3260
|
+
type: Inject,
|
|
3261
|
+
args: [DOCUMENT]
|
|
3262
|
+
}] }, { type: UniversalService }]; }, null); })();
|
|
3263
3263
|
|
|
3264
3264
|
function emptyRemove() {
|
|
3265
3265
|
}
|
|
@@ -3285,14 +3285,14 @@ class ScrollEventPlugin extends ɵDomEventsPlugin {
|
|
|
3285
3285
|
}
|
|
3286
3286
|
}
|
|
3287
3287
|
ScrollEventPlugin.EVENT_NAME = "scroll";
|
|
3288
|
-
ScrollEventPlugin.ɵfac =
|
|
3289
|
-
ScrollEventPlugin.ɵprov = i0.ɵɵ
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3288
|
+
ScrollEventPlugin.ɵfac = function ScrollEventPlugin_Factory(t) { return new (t || ScrollEventPlugin)(i0.ɵɵinject(DOCUMENT), i0.ɵɵinject(UniversalService)); };
|
|
3289
|
+
ScrollEventPlugin.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: ScrollEventPlugin, factory: ScrollEventPlugin.ɵfac });
|
|
3290
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ScrollEventPlugin, [{
|
|
3291
|
+
type: Injectable
|
|
3292
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
3293
|
+
type: Inject,
|
|
3294
|
+
args: [DOCUMENT]
|
|
3295
|
+
}] }, { type: UniversalService }]; }, null); })();
|
|
3296
3296
|
|
|
3297
3297
|
class ChunkPipe {
|
|
3298
3298
|
transform(items, count) {
|
|
@@ -3308,14 +3308,14 @@ class ChunkPipe {
|
|
|
3308
3308
|
return result;
|
|
3309
3309
|
}
|
|
3310
3310
|
}
|
|
3311
|
-
ChunkPipe.ɵfac =
|
|
3312
|
-
ChunkPipe.ɵpipe = i0.ɵɵ
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3311
|
+
ChunkPipe.ɵfac = function ChunkPipe_Factory(t) { return new (t || ChunkPipe)(); };
|
|
3312
|
+
ChunkPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "chunk", type: ChunkPipe, pure: true });
|
|
3313
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ChunkPipe, [{
|
|
3314
|
+
type: Pipe,
|
|
3315
|
+
args: [{
|
|
3316
|
+
name: "chunk"
|
|
3317
|
+
}]
|
|
3318
|
+
}], null, null); })();
|
|
3319
3319
|
|
|
3320
3320
|
const emptyEntries = [];
|
|
3321
3321
|
class EntriesPipe {
|
|
@@ -3333,14 +3333,14 @@ class EntriesPipe {
|
|
|
3333
3333
|
return entries;
|
|
3334
3334
|
}
|
|
3335
3335
|
}
|
|
3336
|
-
EntriesPipe.ɵfac =
|
|
3337
|
-
EntriesPipe.ɵpipe = i0.ɵɵ
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3336
|
+
EntriesPipe.ɵfac = function EntriesPipe_Factory(t) { return new (t || EntriesPipe)(); };
|
|
3337
|
+
EntriesPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "entries", type: EntriesPipe, pure: true });
|
|
3338
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntriesPipe, [{
|
|
3339
|
+
type: Pipe,
|
|
3340
|
+
args: [{
|
|
3341
|
+
name: "entries"
|
|
3342
|
+
}]
|
|
3343
|
+
}], null, null); })();
|
|
3344
3344
|
|
|
3345
3345
|
class ExtraItemPropertiesPipe {
|
|
3346
3346
|
transform(items, properties, params = {}) {
|
|
@@ -3361,14 +3361,14 @@ class ExtraItemPropertiesPipe {
|
|
|
3361
3361
|
}, { ...item }));
|
|
3362
3362
|
}
|
|
3363
3363
|
}
|
|
3364
|
-
ExtraItemPropertiesPipe.ɵfac =
|
|
3365
|
-
ExtraItemPropertiesPipe.ɵpipe = i0.ɵɵ
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3364
|
+
ExtraItemPropertiesPipe.ɵfac = function ExtraItemPropertiesPipe_Factory(t) { return new (t || ExtraItemPropertiesPipe)(); };
|
|
3365
|
+
ExtraItemPropertiesPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "extraItemProperties", type: ExtraItemPropertiesPipe, pure: true });
|
|
3366
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ExtraItemPropertiesPipe, [{
|
|
3367
|
+
type: Pipe,
|
|
3368
|
+
args: [{
|
|
3369
|
+
name: "extraItemProperties"
|
|
3370
|
+
}]
|
|
3371
|
+
}], null, null); })();
|
|
3372
3372
|
|
|
3373
3373
|
function defaultFilter$1() {
|
|
3374
3374
|
return true;
|
|
@@ -3400,14 +3400,14 @@ class FilterPipe {
|
|
|
3400
3400
|
});
|
|
3401
3401
|
}
|
|
3402
3402
|
}
|
|
3403
|
-
FilterPipe.ɵfac =
|
|
3404
|
-
FilterPipe.ɵpipe = i0.ɵɵ
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3403
|
+
FilterPipe.ɵfac = function FilterPipe_Factory(t) { return new (t || FilterPipe)(); };
|
|
3404
|
+
FilterPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "filter", type: FilterPipe, pure: true });
|
|
3405
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FilterPipe, [{
|
|
3406
|
+
type: Pipe,
|
|
3407
|
+
args: [{
|
|
3408
|
+
name: "filter"
|
|
3409
|
+
}]
|
|
3410
|
+
}], null, null); })();
|
|
3411
3411
|
|
|
3412
3412
|
function defaultFilter() {
|
|
3413
3413
|
return true;
|
|
@@ -3426,14 +3426,14 @@ class FindPipe {
|
|
|
3426
3426
|
return values.find((value, index) => filterFunc(value, index, params));
|
|
3427
3427
|
}
|
|
3428
3428
|
}
|
|
3429
|
-
FindPipe.ɵfac =
|
|
3430
|
-
FindPipe.ɵpipe = i0.ɵɵ
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3429
|
+
FindPipe.ɵfac = function FindPipe_Factory(t) { return new (t || FindPipe)(); };
|
|
3430
|
+
FindPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "find", type: FindPipe, pure: true });
|
|
3431
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FindPipe, [{
|
|
3432
|
+
type: Pipe,
|
|
3433
|
+
args: [{
|
|
3434
|
+
name: "find"
|
|
3435
|
+
}]
|
|
3436
|
+
}], null, null); })();
|
|
3437
3437
|
|
|
3438
3438
|
class FormatNumberPipe {
|
|
3439
3439
|
constructor(formatter) {
|
|
@@ -3443,42 +3443,42 @@ class FormatNumberPipe {
|
|
|
3443
3443
|
return this.formatter.formatNumber(value, format, precision, divider);
|
|
3444
3444
|
}
|
|
3445
3445
|
}
|
|
3446
|
-
FormatNumberPipe.ɵfac =
|
|
3447
|
-
FormatNumberPipe.ɵpipe = i0.ɵɵ
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3446
|
+
FormatNumberPipe.ɵfac = function FormatNumberPipe_Factory(t) { return new (t || FormatNumberPipe)(i0.ɵɵdirectiveInject(FormatterService, 16)); };
|
|
3447
|
+
FormatNumberPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "formatNumber", type: FormatNumberPipe, pure: true });
|
|
3448
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormatNumberPipe, [{
|
|
3449
|
+
type: Pipe,
|
|
3450
|
+
args: [{
|
|
3451
|
+
name: "formatNumber"
|
|
3452
|
+
}]
|
|
3453
|
+
}], function () { return [{ type: FormatterService }]; }, null); })();
|
|
3454
3454
|
|
|
3455
3455
|
class GetOffsetPipe {
|
|
3456
3456
|
transform(value, offset) {
|
|
3457
3457
|
return value ? (ObjectUtils.isNullOrUndefined(offset) ? value : value[offset]) : null;
|
|
3458
3458
|
}
|
|
3459
3459
|
}
|
|
3460
|
-
GetOffsetPipe.ɵfac =
|
|
3461
|
-
GetOffsetPipe.ɵpipe = i0.ɵɵ
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3460
|
+
GetOffsetPipe.ɵfac = function GetOffsetPipe_Factory(t) { return new (t || GetOffsetPipe)(); };
|
|
3461
|
+
GetOffsetPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "getOffset", type: GetOffsetPipe, pure: true });
|
|
3462
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GetOffsetPipe, [{
|
|
3463
|
+
type: Pipe,
|
|
3464
|
+
args: [{
|
|
3465
|
+
name: "getOffset"
|
|
3466
|
+
}]
|
|
3467
|
+
}], null, null); })();
|
|
3468
3468
|
|
|
3469
3469
|
class GetTypePipe {
|
|
3470
3470
|
transform(value) {
|
|
3471
3471
|
return typeof value;
|
|
3472
3472
|
}
|
|
3473
3473
|
}
|
|
3474
|
-
GetTypePipe.ɵfac =
|
|
3475
|
-
GetTypePipe.ɵpipe = i0.ɵɵ
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3474
|
+
GetTypePipe.ɵfac = function GetTypePipe_Factory(t) { return new (t || GetTypePipe)(); };
|
|
3475
|
+
GetTypePipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "getType", type: GetTypePipe, pure: true });
|
|
3476
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GetTypePipe, [{
|
|
3477
|
+
type: Pipe,
|
|
3478
|
+
args: [{
|
|
3479
|
+
name: "getType"
|
|
3480
|
+
}]
|
|
3481
|
+
}], null, null); })();
|
|
3482
3482
|
|
|
3483
3483
|
class GlobalTemplatePipe {
|
|
3484
3484
|
constructor(globalTemplates) {
|
|
@@ -3505,18 +3505,18 @@ class GlobalTemplatePipe {
|
|
|
3505
3505
|
return this.cachedTemplate;
|
|
3506
3506
|
}
|
|
3507
3507
|
}
|
|
3508
|
-
GlobalTemplatePipe.ɵfac =
|
|
3509
|
-
GlobalTemplatePipe.ɵpipe = i0.ɵɵ
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3508
|
+
GlobalTemplatePipe.ɵfac = function GlobalTemplatePipe_Factory(t) { return new (t || GlobalTemplatePipe)(i0.ɵɵdirectiveInject(GLOBAL_TEMPLATES, 16)); };
|
|
3509
|
+
GlobalTemplatePipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "globalTemplate", type: GlobalTemplatePipe, pure: false });
|
|
3510
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GlobalTemplatePipe, [{
|
|
3511
|
+
type: Pipe,
|
|
3512
|
+
args: [{
|
|
3513
|
+
pure: false,
|
|
3514
|
+
name: "globalTemplate"
|
|
3515
|
+
}]
|
|
3516
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
3517
|
+
type: Inject,
|
|
3518
|
+
args: [GLOBAL_TEMPLATES]
|
|
3519
|
+
}] }]; }, null); })();
|
|
3520
3520
|
|
|
3521
3521
|
class GroupByPipe {
|
|
3522
3522
|
transform(records, column, map = null) {
|
|
@@ -3533,28 +3533,28 @@ class GroupByPipe {
|
|
|
3533
3533
|
});
|
|
3534
3534
|
}
|
|
3535
3535
|
}
|
|
3536
|
-
GroupByPipe.ɵfac =
|
|
3537
|
-
GroupByPipe.ɵpipe = i0.ɵɵ
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3536
|
+
GroupByPipe.ɵfac = function GroupByPipe_Factory(t) { return new (t || GroupByPipe)(); };
|
|
3537
|
+
GroupByPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "groupBy", type: GroupByPipe, pure: true });
|
|
3538
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GroupByPipe, [{
|
|
3539
|
+
type: Pipe,
|
|
3540
|
+
args: [{
|
|
3541
|
+
name: "groupBy"
|
|
3542
|
+
}]
|
|
3543
|
+
}], null, null); })();
|
|
3544
3544
|
|
|
3545
3545
|
class IsTypePipe {
|
|
3546
3546
|
transform(value, type) {
|
|
3547
3547
|
return (typeof value) === type;
|
|
3548
3548
|
}
|
|
3549
3549
|
}
|
|
3550
|
-
IsTypePipe.ɵfac =
|
|
3551
|
-
IsTypePipe.ɵpipe = i0.ɵɵ
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3550
|
+
IsTypePipe.ɵfac = function IsTypePipe_Factory(t) { return new (t || IsTypePipe)(); };
|
|
3551
|
+
IsTypePipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "isType", type: IsTypePipe, pure: true });
|
|
3552
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IsTypePipe, [{
|
|
3553
|
+
type: Pipe,
|
|
3554
|
+
args: [{
|
|
3555
|
+
name: "isType"
|
|
3556
|
+
}]
|
|
3557
|
+
}], null, null); })();
|
|
3558
3558
|
|
|
3559
3559
|
class JoinPipe {
|
|
3560
3560
|
transform(value, separator = ", ") {
|
|
@@ -3563,14 +3563,14 @@ class JoinPipe {
|
|
|
3563
3563
|
: "";
|
|
3564
3564
|
}
|
|
3565
3565
|
}
|
|
3566
|
-
JoinPipe.ɵfac =
|
|
3567
|
-
JoinPipe.ɵpipe = i0.ɵɵ
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3566
|
+
JoinPipe.ɵfac = function JoinPipe_Factory(t) { return new (t || JoinPipe)(); };
|
|
3567
|
+
JoinPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "join", type: JoinPipe, pure: true });
|
|
3568
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(JoinPipe, [{
|
|
3569
|
+
type: Pipe,
|
|
3570
|
+
args: [{
|
|
3571
|
+
name: "join"
|
|
3572
|
+
}]
|
|
3573
|
+
}], null, null); })();
|
|
3574
3574
|
|
|
3575
3575
|
const emptyKeys = [];
|
|
3576
3576
|
class KeysPipe {
|
|
@@ -3582,14 +3582,14 @@ class KeysPipe {
|
|
|
3582
3582
|
: Object.keys(value);
|
|
3583
3583
|
}
|
|
3584
3584
|
}
|
|
3585
|
-
KeysPipe.ɵfac =
|
|
3586
|
-
KeysPipe.ɵpipe = i0.ɵɵ
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3585
|
+
KeysPipe.ɵfac = function KeysPipe_Factory(t) { return new (t || KeysPipe)(); };
|
|
3586
|
+
KeysPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "keys", type: KeysPipe, pure: true });
|
|
3587
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(KeysPipe, [{
|
|
3588
|
+
type: Pipe,
|
|
3589
|
+
args: [{
|
|
3590
|
+
name: "keys"
|
|
3591
|
+
}]
|
|
3592
|
+
}], null, null); })();
|
|
3593
3593
|
|
|
3594
3594
|
function defaultMapper(item) {
|
|
3595
3595
|
return item;
|
|
@@ -3608,14 +3608,14 @@ class MapPipe {
|
|
|
3608
3608
|
return values.map((value, index) => mapperFunc(value, index, params));
|
|
3609
3609
|
}
|
|
3610
3610
|
}
|
|
3611
|
-
MapPipe.ɵfac =
|
|
3612
|
-
MapPipe.ɵpipe = i0.ɵɵ
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3611
|
+
MapPipe.ɵfac = function MapPipe_Factory(t) { return new (t || MapPipe)(); };
|
|
3612
|
+
MapPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "map", type: MapPipe, pure: true });
|
|
3613
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MapPipe, [{
|
|
3614
|
+
type: Pipe,
|
|
3615
|
+
args: [{
|
|
3616
|
+
name: "map"
|
|
3617
|
+
}]
|
|
3618
|
+
}], null, null); })();
|
|
3619
3619
|
|
|
3620
3620
|
class MaxPipe {
|
|
3621
3621
|
transform(value, selector = null, params = {}) {
|
|
@@ -3630,14 +3630,14 @@ class MaxPipe {
|
|
|
3630
3630
|
return ArrayUtils.max(value, (item, index) => maxSelector(item, index, params));
|
|
3631
3631
|
}
|
|
3632
3632
|
}
|
|
3633
|
-
MaxPipe.ɵfac =
|
|
3634
|
-
MaxPipe.ɵpipe = i0.ɵɵ
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3633
|
+
MaxPipe.ɵfac = function MaxPipe_Factory(t) { return new (t || MaxPipe)(); };
|
|
3634
|
+
MaxPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "max", type: MaxPipe, pure: true });
|
|
3635
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MaxPipe, [{
|
|
3636
|
+
type: Pipe,
|
|
3637
|
+
args: [{
|
|
3638
|
+
name: "max"
|
|
3639
|
+
}]
|
|
3640
|
+
}], null, null); })();
|
|
3641
3641
|
|
|
3642
3642
|
class MinPipe {
|
|
3643
3643
|
transform(value, selector = null, params = {}) {
|
|
@@ -3652,14 +3652,14 @@ class MinPipe {
|
|
|
3652
3652
|
return ArrayUtils.min(value, (item, index) => minSelector(item, index, params));
|
|
3653
3653
|
}
|
|
3654
3654
|
}
|
|
3655
|
-
MinPipe.ɵfac =
|
|
3656
|
-
MinPipe.ɵpipe = i0.ɵɵ
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3655
|
+
MinPipe.ɵfac = function MinPipe_Factory(t) { return new (t || MinPipe)(); };
|
|
3656
|
+
MinPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "min", type: MinPipe, pure: true });
|
|
3657
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MinPipe, [{
|
|
3658
|
+
type: Pipe,
|
|
3659
|
+
args: [{
|
|
3660
|
+
name: "min"
|
|
3661
|
+
}]
|
|
3662
|
+
}], null, null); })();
|
|
3663
3663
|
|
|
3664
3664
|
function defaultReducer(result) {
|
|
3665
3665
|
return result;
|
|
@@ -3679,14 +3679,14 @@ class ReducePipe {
|
|
|
3679
3679
|
return values.reduce((result, value, index) => mapperFunc(result, value, index, params), source);
|
|
3680
3680
|
}
|
|
3681
3681
|
}
|
|
3682
|
-
ReducePipe.ɵfac =
|
|
3683
|
-
ReducePipe.ɵpipe = i0.ɵɵ
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3682
|
+
ReducePipe.ɵfac = function ReducePipe_Factory(t) { return new (t || ReducePipe)(); };
|
|
3683
|
+
ReducePipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "reduce", type: ReducePipe, pure: true });
|
|
3684
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReducePipe, [{
|
|
3685
|
+
type: Pipe,
|
|
3686
|
+
args: [{
|
|
3687
|
+
name: "reduce"
|
|
3688
|
+
}]
|
|
3689
|
+
}], null, null); })();
|
|
3690
3690
|
|
|
3691
3691
|
const empty = {};
|
|
3692
3692
|
class RemapPipe {
|
|
@@ -3708,28 +3708,28 @@ class RemapPipe {
|
|
|
3708
3708
|
return remapped.map;
|
|
3709
3709
|
}
|
|
3710
3710
|
}
|
|
3711
|
-
RemapPipe.ɵfac =
|
|
3712
|
-
RemapPipe.ɵpipe = i0.ɵɵ
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3711
|
+
RemapPipe.ɵfac = function RemapPipe_Factory(t) { return new (t || RemapPipe)(); };
|
|
3712
|
+
RemapPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "remap", type: RemapPipe, pure: true });
|
|
3713
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RemapPipe, [{
|
|
3714
|
+
type: Pipe,
|
|
3715
|
+
args: [{
|
|
3716
|
+
name: "remap"
|
|
3717
|
+
}]
|
|
3718
|
+
}], null, null); })();
|
|
3719
3719
|
|
|
3720
3720
|
class ReplacePipe {
|
|
3721
3721
|
transform(value, from, to) {
|
|
3722
3722
|
return value ? value.replace(from, to) : value;
|
|
3723
3723
|
}
|
|
3724
3724
|
}
|
|
3725
|
-
ReplacePipe.ɵfac =
|
|
3726
|
-
ReplacePipe.ɵpipe = i0.ɵɵ
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3725
|
+
ReplacePipe.ɵfac = function ReplacePipe_Factory(t) { return new (t || ReplacePipe)(); };
|
|
3726
|
+
ReplacePipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "replace", type: ReplacePipe, pure: true });
|
|
3727
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReplacePipe, [{
|
|
3728
|
+
type: Pipe,
|
|
3729
|
+
args: [{
|
|
3730
|
+
name: "replace"
|
|
3731
|
+
}]
|
|
3732
|
+
}], null, null); })();
|
|
3733
3733
|
|
|
3734
3734
|
const emptyArray = [];
|
|
3735
3735
|
class ReversePipe {
|
|
@@ -3743,14 +3743,14 @@ class ReversePipe {
|
|
|
3743
3743
|
return result;
|
|
3744
3744
|
}
|
|
3745
3745
|
}
|
|
3746
|
-
ReversePipe.ɵfac =
|
|
3747
|
-
ReversePipe.ɵpipe = i0.ɵɵ
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3746
|
+
ReversePipe.ɵfac = function ReversePipe_Factory(t) { return new (t || ReversePipe)(); };
|
|
3747
|
+
ReversePipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "reverse", type: ReversePipe, pure: true });
|
|
3748
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReversePipe, [{
|
|
3749
|
+
type: Pipe,
|
|
3750
|
+
args: [{
|
|
3751
|
+
name: "reverse"
|
|
3752
|
+
}]
|
|
3753
|
+
}], null, null); })();
|
|
3754
3754
|
|
|
3755
3755
|
class RoundPipe {
|
|
3756
3756
|
constructor(formatter) {
|
|
@@ -3760,14 +3760,14 @@ class RoundPipe {
|
|
|
3760
3760
|
return this.formatter.roundNumber(value, precision, divider);
|
|
3761
3761
|
}
|
|
3762
3762
|
}
|
|
3763
|
-
RoundPipe.ɵfac =
|
|
3764
|
-
RoundPipe.ɵpipe = i0.ɵɵ
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3763
|
+
RoundPipe.ɵfac = function RoundPipe_Factory(t) { return new (t || RoundPipe)(i0.ɵɵdirectiveInject(FormatterService, 16)); };
|
|
3764
|
+
RoundPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "round", type: RoundPipe, pure: true });
|
|
3765
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RoundPipe, [{
|
|
3766
|
+
type: Pipe,
|
|
3767
|
+
args: [{
|
|
3768
|
+
name: "round"
|
|
3769
|
+
}]
|
|
3770
|
+
}], function () { return [{ type: FormatterService }]; }, null); })();
|
|
3771
3771
|
|
|
3772
3772
|
class SafeHtmlPipe {
|
|
3773
3773
|
constructor(sanitizer) {
|
|
@@ -3790,14 +3790,14 @@ class SafeHtmlPipe {
|
|
|
3790
3790
|
}
|
|
3791
3791
|
}
|
|
3792
3792
|
}
|
|
3793
|
-
SafeHtmlPipe.ɵfac =
|
|
3794
|
-
SafeHtmlPipe.ɵpipe = i0.ɵɵ
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3793
|
+
SafeHtmlPipe.ɵfac = function SafeHtmlPipe_Factory(t) { return new (t || SafeHtmlPipe)(i0.ɵɵdirectiveInject(i1$2.DomSanitizer, 16)); };
|
|
3794
|
+
SafeHtmlPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "safe", type: SafeHtmlPipe, pure: true });
|
|
3795
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SafeHtmlPipe, [{
|
|
3796
|
+
type: Pipe,
|
|
3797
|
+
args: [{
|
|
3798
|
+
name: "safe"
|
|
3799
|
+
}]
|
|
3800
|
+
}], function () { return [{ type: i1$2.DomSanitizer }]; }, null); })();
|
|
3801
3801
|
|
|
3802
3802
|
class TranslatePipe {
|
|
3803
3803
|
constructor(cdr, language) {
|
|
@@ -3865,21 +3865,21 @@ class TranslatePipe {
|
|
|
3865
3865
|
return this.lastValue;
|
|
3866
3866
|
}
|
|
3867
3867
|
}
|
|
3868
|
-
TranslatePipe.ɵfac =
|
|
3869
|
-
TranslatePipe.ɵpipe = i0.ɵɵ
|
|
3870
|
-
TranslatePipe.ɵprov = i0.ɵɵ
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3868
|
+
TranslatePipe.ɵfac = function TranslatePipe_Factory(t) { return new (t || TranslatePipe)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef, 16), i0.ɵɵdirectiveInject(LANGUAGE_SERVICE, 16)); };
|
|
3869
|
+
TranslatePipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "translate", type: TranslatePipe, pure: false });
|
|
3870
|
+
TranslatePipe.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: TranslatePipe, factory: TranslatePipe.ɵfac });
|
|
3871
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TranslatePipe, [{
|
|
3872
|
+
type: Injectable
|
|
3873
|
+
}, {
|
|
3874
|
+
type: Pipe,
|
|
3875
|
+
args: [{
|
|
3876
|
+
name: "translate",
|
|
3877
|
+
pure: false
|
|
3878
|
+
}]
|
|
3879
|
+
}], function () { return [{ type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
|
|
3880
|
+
type: Inject,
|
|
3881
|
+
args: [LANGUAGE_SERVICE]
|
|
3882
|
+
}] }]; }, null); })();
|
|
3883
3883
|
|
|
3884
3884
|
const emptyValues = [];
|
|
3885
3885
|
class ValuesPipe {
|
|
@@ -3891,14 +3891,14 @@ class ValuesPipe {
|
|
|
3891
3891
|
: Object.keys(value).map(key => value[key]);
|
|
3892
3892
|
}
|
|
3893
3893
|
}
|
|
3894
|
-
ValuesPipe.ɵfac =
|
|
3895
|
-
ValuesPipe.ɵpipe = i0.ɵɵ
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3894
|
+
ValuesPipe.ɵfac = function ValuesPipe_Factory(t) { return new (t || ValuesPipe)(); };
|
|
3895
|
+
ValuesPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "values", type: ValuesPipe, pure: true });
|
|
3896
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ValuesPipe, [{
|
|
3897
|
+
type: Pipe,
|
|
3898
|
+
args: [{
|
|
3899
|
+
name: "values"
|
|
3900
|
+
}]
|
|
3901
|
+
}], null, null); })();
|
|
3902
3902
|
|
|
3903
3903
|
class AsyncMethodBase {
|
|
3904
3904
|
constructor(toaster) {
|
|
@@ -3943,28 +3943,28 @@ class AsyncMethodBase {
|
|
|
3943
3943
|
return true;
|
|
3944
3944
|
}
|
|
3945
3945
|
}
|
|
3946
|
-
AsyncMethodBase.ɵfac =
|
|
3947
|
-
AsyncMethodBase.ɵprov = i0.ɵɵ
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3946
|
+
AsyncMethodBase.ɵfac = function AsyncMethodBase_Factory(t) { i0.ɵɵinvalidFactory(); };
|
|
3947
|
+
AsyncMethodBase.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: AsyncMethodBase, factory: AsyncMethodBase.ɵfac });
|
|
3948
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AsyncMethodBase, [{
|
|
3949
|
+
type: Injectable
|
|
3950
|
+
}], function () { return [{ type: undefined }]; }, { disabled: [{
|
|
3951
|
+
type: Input
|
|
3952
|
+
}], context: [{
|
|
3953
|
+
type: Input
|
|
3954
|
+
}], onSuccess: [{
|
|
3955
|
+
type: Output
|
|
3956
|
+
}], onError: [{
|
|
3957
|
+
type: Output
|
|
3958
|
+
}], isDisabled: [{
|
|
3959
|
+
type: HostBinding,
|
|
3960
|
+
args: ["class.disabled"]
|
|
3961
|
+
}], isLoading: [{
|
|
3962
|
+
type: HostBinding,
|
|
3963
|
+
args: ["class.loading"]
|
|
3964
|
+
}], click: [{
|
|
3965
|
+
type: HostListener,
|
|
3966
|
+
args: ["click"]
|
|
3967
|
+
}] }); })();
|
|
3968
3968
|
|
|
3969
3969
|
class AsyncMethodDirective extends AsyncMethodBase {
|
|
3970
3970
|
constructor(toaster) {
|
|
@@ -3974,21 +3974,21 @@ class AsyncMethodDirective extends AsyncMethodBase {
|
|
|
3974
3974
|
return this.method;
|
|
3975
3975
|
}
|
|
3976
3976
|
}
|
|
3977
|
-
AsyncMethodDirective.ɵfac =
|
|
3978
|
-
AsyncMethodDirective.ɵdir = i0.ɵɵ
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3977
|
+
AsyncMethodDirective.ɵfac = function AsyncMethodDirective_Factory(t) { return new (t || AsyncMethodDirective)(i0.ɵɵdirectiveInject(TOASTER_SERVICE)); };
|
|
3978
|
+
AsyncMethodDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: AsyncMethodDirective, selectors: [["", "async-method", ""]], inputs: { method: ["async-method", "method"] }, exportAs: ["async-method"], features: [i0.ɵɵInheritDefinitionFeature] });
|
|
3979
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AsyncMethodDirective, [{
|
|
3980
|
+
type: Directive,
|
|
3981
|
+
args: [{
|
|
3982
|
+
selector: "[async-method]",
|
|
3983
|
+
exportAs: "async-method"
|
|
3984
|
+
}]
|
|
3985
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
3986
|
+
type: Inject,
|
|
3987
|
+
args: [TOASTER_SERVICE]
|
|
3988
|
+
}] }]; }, { method: [{
|
|
3989
|
+
type: Input,
|
|
3990
|
+
args: ["async-method"]
|
|
3991
|
+
}] }); })();
|
|
3992
3992
|
|
|
3993
3993
|
const defaultClass = "default-image";
|
|
3994
3994
|
const loadingClass = "loading-image";
|
|
@@ -4021,36 +4021,36 @@ class BackgroundDirective {
|
|
|
4021
4021
|
this.renderer.setStyle(this.element.nativeElement, "background-size", this.backgroundSize);
|
|
4022
4022
|
}
|
|
4023
4023
|
}
|
|
4024
|
-
BackgroundDirective.ɵfac =
|
|
4025
|
-
BackgroundDirective.ɵdir = i0.ɵɵ
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4024
|
+
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)); };
|
|
4025
|
+
BackgroundDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: BackgroundDirective, selectors: [["", "background", ""]], inputs: { background: "background", backgroundSize: "backgroundSize" }, features: [i0.ɵɵNgOnChangesFeature] });
|
|
4026
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BackgroundDirective, [{
|
|
4027
|
+
type: Directive,
|
|
4028
|
+
args: [{
|
|
4029
|
+
selector: "[background]"
|
|
4030
|
+
}]
|
|
4031
|
+
}], function () { return [{ type: i1$1.HttpClient }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: UniversalService }]; }, { background: [{
|
|
4032
|
+
type: Input
|
|
4033
|
+
}], backgroundSize: [{
|
|
4034
|
+
type: Input
|
|
4035
|
+
}] }); })();
|
|
4036
4036
|
|
|
4037
4037
|
class DynamicTableTemplateDirective {
|
|
4038
4038
|
constructor(ref) {
|
|
4039
4039
|
this.ref = ref;
|
|
4040
4040
|
}
|
|
4041
4041
|
}
|
|
4042
|
-
DynamicTableTemplateDirective.ɵfac =
|
|
4043
|
-
DynamicTableTemplateDirective.ɵdir = i0.ɵɵ
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4042
|
+
DynamicTableTemplateDirective.ɵfac = function DynamicTableTemplateDirective_Factory(t) { return new (t || DynamicTableTemplateDirective)(i0.ɵɵdirectiveInject(i0.TemplateRef)); };
|
|
4043
|
+
DynamicTableTemplateDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: DynamicTableTemplateDirective, selectors: [["ng-template", "column", ""]], inputs: { column: "column", pure: "pure" } });
|
|
4044
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DynamicTableTemplateDirective, [{
|
|
4045
|
+
type: Directive,
|
|
4046
|
+
args: [{
|
|
4047
|
+
selector: "ng-template[column]"
|
|
4048
|
+
}]
|
|
4049
|
+
}], function () { return [{ type: i0.TemplateRef }]; }, { column: [{
|
|
4050
|
+
type: Input
|
|
4051
|
+
}], pure: [{
|
|
4052
|
+
type: Input
|
|
4053
|
+
}] }); })();
|
|
4054
4054
|
|
|
4055
4055
|
class GlobalTemplateDirective {
|
|
4056
4056
|
constructor(globalTemplates, template) {
|
|
@@ -4064,20 +4064,20 @@ class GlobalTemplateDirective {
|
|
|
4064
4064
|
this.globalTemplates.remove(this.id);
|
|
4065
4065
|
}
|
|
4066
4066
|
}
|
|
4067
|
-
GlobalTemplateDirective.ɵfac =
|
|
4068
|
-
GlobalTemplateDirective.ɵdir = i0.ɵɵ
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4067
|
+
GlobalTemplateDirective.ɵfac = function GlobalTemplateDirective_Factory(t) { return new (t || GlobalTemplateDirective)(i0.ɵɵdirectiveInject(GLOBAL_TEMPLATES), i0.ɵɵdirectiveInject(i0.TemplateRef)); };
|
|
4068
|
+
GlobalTemplateDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: GlobalTemplateDirective, selectors: [["", "globalTemplate", ""]], inputs: { id: ["globalTemplate", "id"] } });
|
|
4069
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GlobalTemplateDirective, [{
|
|
4070
|
+
type: Directive,
|
|
4071
|
+
args: [{
|
|
4072
|
+
selector: "[globalTemplate]"
|
|
4073
|
+
}]
|
|
4074
|
+
}], function () { return [{ type: undefined, decorators: [{
|
|
4075
|
+
type: Inject,
|
|
4076
|
+
args: [GLOBAL_TEMPLATES]
|
|
4077
|
+
}] }, { type: i0.TemplateRef }]; }, { id: [{
|
|
4078
|
+
type: Input,
|
|
4079
|
+
args: ["globalTemplate"]
|
|
4080
|
+
}] }); })();
|
|
4081
4081
|
|
|
4082
4082
|
class IconDirective {
|
|
4083
4083
|
constructor(element, renderer, icons) {
|
|
@@ -4117,31 +4117,35 @@ class IconDirective {
|
|
|
4117
4117
|
});
|
|
4118
4118
|
}
|
|
4119
4119
|
}
|
|
4120
|
-
IconDirective.ɵfac =
|
|
4121
|
-
IconDirective.ɵdir = i0.ɵɵ
|
|
4122
|
-
i0.ɵɵ
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
}],
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4120
|
+
IconDirective.ɵfac = function IconDirective_Factory(t) { return new (t || IconDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(ICON_SERVICE)); };
|
|
4121
|
+
IconDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: IconDirective, selectors: [["", "icon", ""]], hostVars: 2, hostBindings: function IconDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
4122
|
+
i0.ɵɵlistener("click", function IconDirective_click_HostBindingHandler() { return ctx.click(); });
|
|
4123
|
+
} if (rf & 2) {
|
|
4124
|
+
i0.ɵɵclassProp("active", ctx.isActive);
|
|
4125
|
+
} }, inputs: { icon: "icon", activeIcon: "activeIcon", active: "active" }, outputs: { activeChange: "activeChange" }, features: [i0.ɵɵNgOnChangesFeature] });
|
|
4126
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IconDirective, [{
|
|
4127
|
+
type: Directive,
|
|
4128
|
+
args: [{
|
|
4129
|
+
selector: "[icon]"
|
|
4130
|
+
}]
|
|
4131
|
+
}], function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: undefined, decorators: [{
|
|
4132
|
+
type: Inject,
|
|
4133
|
+
args: [ICON_SERVICE]
|
|
4134
|
+
}] }]; }, { icon: [{
|
|
4135
|
+
type: Input
|
|
4136
|
+
}], activeIcon: [{
|
|
4137
|
+
type: Input
|
|
4138
|
+
}], active: [{
|
|
4139
|
+
type: Input
|
|
4140
|
+
}], activeChange: [{
|
|
4141
|
+
type: Output
|
|
4142
|
+
}], isActive: [{
|
|
4143
|
+
type: HostBinding,
|
|
4144
|
+
args: ["class.active"]
|
|
4145
|
+
}], click: [{
|
|
4146
|
+
type: HostListener,
|
|
4147
|
+
args: ["click"]
|
|
4148
|
+
}] }); })();
|
|
4145
4149
|
|
|
4146
4150
|
class NgxTemplateOutletDirective {
|
|
4147
4151
|
constructor(_viewContainerRef) {
|
|
@@ -4215,20 +4219,20 @@ class NgxTemplateOutletDirective {
|
|
|
4215
4219
|
}
|
|
4216
4220
|
}
|
|
4217
4221
|
}
|
|
4218
|
-
NgxTemplateOutletDirective.ɵfac =
|
|
4219
|
-
NgxTemplateOutletDirective.ɵdir = i0.ɵɵ
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4222
|
+
NgxTemplateOutletDirective.ɵfac = function NgxTemplateOutletDirective_Factory(t) { return new (t || NgxTemplateOutletDirective)(i0.ɵɵdirectiveInject(i0.ViewContainerRef)); };
|
|
4223
|
+
NgxTemplateOutletDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: NgxTemplateOutletDirective, selectors: [["", "ngxTemplateOutlet", ""]], inputs: { context: "context", additionalContext: "additionalContext", ngxTemplateOutlet: "ngxTemplateOutlet" }, features: [i0.ɵɵNgOnChangesFeature] });
|
|
4224
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NgxTemplateOutletDirective, [{
|
|
4225
|
+
type: Directive,
|
|
4226
|
+
args: [{
|
|
4227
|
+
selector: "[ngxTemplateOutlet]"
|
|
4228
|
+
}]
|
|
4229
|
+
}], function () { return [{ type: i0.ViewContainerRef }]; }, { context: [{
|
|
4230
|
+
type: Input
|
|
4231
|
+
}], additionalContext: [{
|
|
4232
|
+
type: Input
|
|
4233
|
+
}], ngxTemplateOutlet: [{
|
|
4234
|
+
type: Input
|
|
4235
|
+
}] }); })();
|
|
4232
4236
|
|
|
4233
4237
|
class PaginationDirective {
|
|
4234
4238
|
constructor(zone) {
|
|
@@ -4284,30 +4288,30 @@ class PaginationDirective {
|
|
|
4284
4288
|
});
|
|
4285
4289
|
}
|
|
4286
4290
|
}
|
|
4287
|
-
PaginationDirective.ɵfac =
|
|
4288
|
-
PaginationDirective.ɵdir = i0.ɵɵ
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4291
|
+
PaginationDirective.ɵfac = function PaginationDirective_Factory(t) { return new (t || PaginationDirective)(i0.ɵɵdirectiveInject(i0.NgZone)); };
|
|
4292
|
+
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] });
|
|
4293
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationDirective, [{
|
|
4294
|
+
type: Directive,
|
|
4295
|
+
args: [{
|
|
4296
|
+
selector: "[pagination]",
|
|
4297
|
+
exportAs: "pagination"
|
|
4298
|
+
}]
|
|
4299
|
+
}], function () { return [{ type: i0.NgZone }]; }, { loader: [{
|
|
4300
|
+
type: Input,
|
|
4301
|
+
args: ["pagination"]
|
|
4302
|
+
}], page: [{
|
|
4303
|
+
type: Input
|
|
4304
|
+
}], itemsPerPage: [{
|
|
4305
|
+
type: Input
|
|
4306
|
+
}], updateTime: [{
|
|
4307
|
+
type: Input
|
|
4308
|
+
}], waitFor: [{
|
|
4309
|
+
type: Input
|
|
4310
|
+
}], pageChange: [{
|
|
4311
|
+
type: Output
|
|
4312
|
+
}], onRefresh: [{
|
|
4313
|
+
type: Output
|
|
4314
|
+
}] }); })();
|
|
4311
4315
|
|
|
4312
4316
|
class PaginationItemDirective {
|
|
4313
4317
|
constructor(pagination, viewContainer, templateRef) {
|
|
@@ -4329,14 +4333,14 @@ class PaginationItemDirective {
|
|
|
4329
4333
|
});
|
|
4330
4334
|
}
|
|
4331
4335
|
}
|
|
4332
|
-
PaginationItemDirective.ɵfac =
|
|
4333
|
-
PaginationItemDirective.ɵdir = i0.ɵɵ
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4336
|
+
PaginationItemDirective.ɵfac = function PaginationItemDirective_Factory(t) { return new (t || PaginationItemDirective)(i0.ɵɵdirectiveInject(PaginationDirective), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.TemplateRef)); };
|
|
4337
|
+
PaginationItemDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: PaginationItemDirective, selectors: [["", "paginationItem", ""]] });
|
|
4338
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationItemDirective, [{
|
|
4339
|
+
type: Directive,
|
|
4340
|
+
args: [{
|
|
4341
|
+
selector: "[paginationItem]"
|
|
4342
|
+
}]
|
|
4343
|
+
}], function () { return [{ type: PaginationDirective }, { type: i0.ViewContainerRef }, { type: i0.TemplateRef }]; }, null); })();
|
|
4340
4344
|
|
|
4341
4345
|
class ResourceIfDirective {
|
|
4342
4346
|
constructor(http, viewContainer, templateRef, universal) {
|
|
@@ -4368,17 +4372,17 @@ class ResourceIfDirective {
|
|
|
4368
4372
|
}
|
|
4369
4373
|
}
|
|
4370
4374
|
}
|
|
4371
|
-
ResourceIfDirective.ɵfac =
|
|
4372
|
-
ResourceIfDirective.ɵdir = i0.ɵɵ
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4375
|
+
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)); };
|
|
4376
|
+
ResourceIfDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ResourceIfDirective, selectors: [["", "resourceIf", ""]], inputs: { resourceIf: "resourceIf" }, exportAs: ["resourceIf"] });
|
|
4377
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ResourceIfDirective, [{
|
|
4378
|
+
type: Directive,
|
|
4379
|
+
args: [{
|
|
4380
|
+
selector: "[resourceIf]",
|
|
4381
|
+
exportAs: "resourceIf"
|
|
4382
|
+
}]
|
|
4383
|
+
}], function () { return [{ type: i1$1.HttpClient }, { type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: UniversalService }]; }, { resourceIf: [{
|
|
4384
|
+
type: Input
|
|
4385
|
+
}] }); })();
|
|
4382
4386
|
|
|
4383
4387
|
class StickyDirective {
|
|
4384
4388
|
constructor(cdr, events, element) {
|
|
@@ -4409,26 +4413,30 @@ class StickyDirective {
|
|
|
4409
4413
|
this.updateTimer.run();
|
|
4410
4414
|
}
|
|
4411
4415
|
}
|
|
4412
|
-
StickyDirective.ɵfac =
|
|
4413
|
-
StickyDirective.ɵdir = i0.ɵɵ
|
|
4414
|
-
i0.ɵɵ
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4422
|
-
}]
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4416
|
+
StickyDirective.ɵfac = function StickyDirective_Factory(t) { return new (t || StickyDirective)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(EventsService), i0.ɵɵdirectiveInject(i0.ElementRef)); };
|
|
4417
|
+
StickyDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: StickyDirective, selectors: [["", "sticky", ""]], hostVars: 4, hostBindings: function StickyDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
4418
|
+
i0.ɵɵlistener("resize", function StickyDirective_resize_HostBindingHandler() { return ctx.updateSticky(); }, false, i0.ɵɵresolveWindow)("scroll", function StickyDirective_scroll_HostBindingHandler() { return ctx.updateSticky(); }, false, i0.ɵɵresolveWindow);
|
|
4419
|
+
} if (rf & 2) {
|
|
4420
|
+
i0.ɵɵclassProp("sticky", ctx.isSticky)("sticky-update", ctx.isUpdating);
|
|
4421
|
+
} } });
|
|
4422
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StickyDirective, [{
|
|
4423
|
+
type: Directive,
|
|
4424
|
+
args: [{
|
|
4425
|
+
selector: "[sticky]"
|
|
4426
|
+
}]
|
|
4427
|
+
}], function () { return [{ type: i0.ChangeDetectorRef }, { type: EventsService }, { type: i0.ElementRef }]; }, { isSticky: [{
|
|
4428
|
+
type: HostBinding,
|
|
4429
|
+
args: ["class.sticky"]
|
|
4430
|
+
}], isUpdating: [{
|
|
4431
|
+
type: HostBinding,
|
|
4432
|
+
args: ["class.sticky-update"]
|
|
4433
|
+
}], updateSticky: [{
|
|
4434
|
+
type: HostListener,
|
|
4435
|
+
args: ["window:resize"]
|
|
4436
|
+
}, {
|
|
4437
|
+
type: HostListener,
|
|
4438
|
+
args: ["window:scroll"]
|
|
4439
|
+
}] }); })();
|
|
4432
4440
|
|
|
4433
4441
|
class StickyClassDirective {
|
|
4434
4442
|
constructor(events, element, renderer) {
|
|
@@ -4449,16 +4457,16 @@ class StickyClassDirective {
|
|
|
4449
4457
|
this.stickyUpdated.unsubscribe();
|
|
4450
4458
|
}
|
|
4451
4459
|
}
|
|
4452
|
-
StickyClassDirective.ɵfac =
|
|
4453
|
-
StickyClassDirective.ɵdir = i0.ɵɵ
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4460
|
+
StickyClassDirective.ɵfac = function StickyClassDirective_Factory(t) { return new (t || StickyClassDirective)(i0.ɵɵdirectiveInject(EventsService), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
4461
|
+
StickyClassDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: StickyClassDirective, selectors: [["", "stickyClass", ""]], inputs: { stickyClass: "stickyClass" } });
|
|
4462
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StickyClassDirective, [{
|
|
4463
|
+
type: Directive,
|
|
4464
|
+
args: [{
|
|
4465
|
+
selector: "[stickyClass]"
|
|
4466
|
+
}]
|
|
4467
|
+
}], function () { return [{ type: EventsService }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, { stickyClass: [{
|
|
4468
|
+
type: Input
|
|
4469
|
+
}] }); })();
|
|
4462
4470
|
|
|
4463
4471
|
class UnorderedListItemDirective {
|
|
4464
4472
|
constructor(elementRef, renderer, viewContainer) {
|
|
@@ -4506,33 +4514,33 @@ class UnorderedListItemDirective {
|
|
|
4506
4514
|
this.item.classList.push(className);
|
|
4507
4515
|
}
|
|
4508
4516
|
}
|
|
4509
|
-
UnorderedListItemDirective.ɵfac =
|
|
4510
|
-
UnorderedListItemDirective.ɵdir = i0.ɵɵ
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4517
|
+
UnorderedListItemDirective.ɵfac = function UnorderedListItemDirective_Factory(t) { return new (t || UnorderedListItemDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ViewContainerRef)); };
|
|
4518
|
+
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] });
|
|
4519
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UnorderedListItemDirective, [{
|
|
4520
|
+
type: Directive,
|
|
4521
|
+
args: [{
|
|
4522
|
+
selector: "[unorderedListItem]"
|
|
4523
|
+
}]
|
|
4524
|
+
}], function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }]; }, { item: [{
|
|
4525
|
+
type: Input,
|
|
4526
|
+
args: ["unorderedListItem"]
|
|
4527
|
+
}], type: [{
|
|
4528
|
+
type: Input
|
|
4529
|
+
}], data: [{
|
|
4530
|
+
type: Input
|
|
4531
|
+
}], keyPrefix: [{
|
|
4532
|
+
type: Input
|
|
4533
|
+
}], listStyle: [{
|
|
4534
|
+
type: Input
|
|
4535
|
+
}], path: [{
|
|
4536
|
+
type: Input
|
|
4537
|
+
}], level: [{
|
|
4538
|
+
type: Input
|
|
4539
|
+
}], templates: [{
|
|
4540
|
+
type: Input
|
|
4541
|
+
}], defaultTemplates: [{
|
|
4542
|
+
type: Input
|
|
4543
|
+
}] }); })();
|
|
4536
4544
|
|
|
4537
4545
|
class UnorderedListTemplateDirective extends UnorederedListTemplate {
|
|
4538
4546
|
constructor(elementRef, templateRef) {
|
|
@@ -4544,19 +4552,191 @@ class UnorderedListTemplateDirective extends UnorederedListTemplate {
|
|
|
4544
4552
|
return this.templateRef.createEmbeddedView(context);
|
|
4545
4553
|
}
|
|
4546
4554
|
}
|
|
4547
|
-
UnorderedListTemplateDirective.ɵfac =
|
|
4548
|
-
UnorderedListTemplateDirective.ɵdir = i0.ɵɵ
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4555
|
+
UnorderedListTemplateDirective.ɵfac = function UnorderedListTemplateDirective_Factory(t) { return new (t || UnorderedListTemplateDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.TemplateRef)); };
|
|
4556
|
+
UnorderedListTemplateDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: UnorderedListTemplateDirective, selectors: [["ng-template", "type", "", "selector", ""]], inputs: { type: "type", selector: "selector" }, features: [i0.ɵɵInheritDefinitionFeature] });
|
|
4557
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UnorderedListTemplateDirective, [{
|
|
4558
|
+
type: Directive,
|
|
4559
|
+
args: [{
|
|
4560
|
+
selector: "ng-template[type][selector]"
|
|
4561
|
+
}]
|
|
4562
|
+
}], function () { return [{ type: i0.ElementRef }, { type: i0.TemplateRef }]; }, { type: [{
|
|
4563
|
+
type: Input
|
|
4564
|
+
}], selector: [{
|
|
4565
|
+
type: Input
|
|
4566
|
+
}] }); })();
|
|
4559
4567
|
|
|
4568
|
+
const _c0$2 = ["defaultKeyTemplate"];
|
|
4569
|
+
const _c1$2 = ["defaultValueTemplate"];
|
|
4570
|
+
const _c2$1 = ["defaultItemTemplate"];
|
|
4571
|
+
function UnorderedListComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
4572
|
+
i0.ɵɵtext(0);
|
|
4573
|
+
i0.ɵɵpipe(1, "translate");
|
|
4574
|
+
} if (rf & 2) {
|
|
4575
|
+
const keyPrefix_r9 = ctx.keyPrefix;
|
|
4576
|
+
const key_r10 = ctx.item.key;
|
|
4577
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(1, 1, keyPrefix_r9 ? keyPrefix_r9 + key_r10 : key_r10), ":\n");
|
|
4578
|
+
} }
|
|
4579
|
+
function UnorderedListComponent_ng_template_2_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
4580
|
+
i0.ɵɵtext(0);
|
|
4581
|
+
} if (rf & 2) {
|
|
4582
|
+
const val_r14 = i0.ɵɵnextContext().item.value;
|
|
4583
|
+
i0.ɵɵtextInterpolate(val_r14);
|
|
4584
|
+
} }
|
|
4585
|
+
function UnorderedListComponent_ng_template_2_unordered_list_2_Template(rf, ctx) { if (rf & 1) {
|
|
4586
|
+
i0.ɵɵelement(0, "unordered-list", 6);
|
|
4587
|
+
} if (rf & 2) {
|
|
4588
|
+
const ctx_r23 = i0.ɵɵnextContext();
|
|
4589
|
+
const val_r14 = ctx_r23.item.value;
|
|
4590
|
+
const keyPrefix_r12 = ctx_r23.keyPrefix;
|
|
4591
|
+
const listStyle_r13 = ctx_r23.listStyle;
|
|
4592
|
+
const path_r15 = ctx_r23.path;
|
|
4593
|
+
const templates_r16 = ctx_r23.templates;
|
|
4594
|
+
const ctx_r21 = i0.ɵɵnextContext();
|
|
4595
|
+
i0.ɵɵproperty("data", val_r14)("keyPrefix", keyPrefix_r12)("listStyle", listStyle_r13)("path", path_r15)("level", ctx_r21.level + 1)("templates", templates_r16);
|
|
4596
|
+
} }
|
|
4597
|
+
function UnorderedListComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
4598
|
+
i0.ɵɵtemplate(0, UnorderedListComponent_ng_template_2_ng_template_0_Template, 1, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
4599
|
+
i0.ɵɵtemplate(2, UnorderedListComponent_ng_template_2_unordered_list_2_Template, 1, 6, "unordered-list", 5);
|
|
4600
|
+
} if (rf & 2) {
|
|
4601
|
+
const isObject_r17 = ctx.valueIsObject;
|
|
4602
|
+
const isArray_r18 = ctx.valueIsArray;
|
|
4603
|
+
const _r19 = i0.ɵɵreference(1);
|
|
4604
|
+
i0.ɵɵadvance(2);
|
|
4605
|
+
i0.ɵɵproperty("ngIf", isObject_r17 || isArray_r18)("ngIfElse", _r19);
|
|
4606
|
+
} }
|
|
4607
|
+
function UnorderedListComponent_ng_template_4_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
4608
|
+
i0.ɵɵelementContainer(0, 11);
|
|
4609
|
+
} if (rf & 2) {
|
|
4610
|
+
const ctx_r37 = i0.ɵɵnextContext();
|
|
4611
|
+
const item_r24 = ctx_r37.item;
|
|
4612
|
+
const data_r25 = ctx_r37.data;
|
|
4613
|
+
const keyPrefix_r26 = ctx_r37.keyPrefix;
|
|
4614
|
+
const listStyle_r27 = ctx_r37.listStyle;
|
|
4615
|
+
const path_r28 = ctx_r37.path;
|
|
4616
|
+
const level_r29 = ctx_r37.level;
|
|
4617
|
+
const templates_r30 = ctx_r37.templates;
|
|
4618
|
+
const ctx_r32 = i0.ɵɵnextContext();
|
|
4619
|
+
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);
|
|
4620
|
+
} }
|
|
4621
|
+
function UnorderedListComponent_ng_template_4_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
4622
|
+
i0.ɵɵelementContainer(0, 12);
|
|
4623
|
+
} if (rf & 2) {
|
|
4624
|
+
const ctx_r38 = i0.ɵɵnextContext();
|
|
4625
|
+
const item_r24 = ctx_r38.item;
|
|
4626
|
+
const data_r25 = ctx_r38.data;
|
|
4627
|
+
const keyPrefix_r26 = ctx_r38.keyPrefix;
|
|
4628
|
+
const listStyle_r27 = ctx_r38.listStyle;
|
|
4629
|
+
const path_r28 = ctx_r38.path;
|
|
4630
|
+
const level_r29 = ctx_r38.level;
|
|
4631
|
+
const templates_r30 = ctx_r38.templates;
|
|
4632
|
+
const ctx_r34 = i0.ɵɵnextContext();
|
|
4633
|
+
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);
|
|
4634
|
+
} }
|
|
4635
|
+
function UnorderedListComponent_ng_template_4_ng_container_4_th_1_Template(rf, ctx) { if (rf & 1) {
|
|
4636
|
+
i0.ɵɵelementStart(0, "th");
|
|
4637
|
+
i0.ɵɵelementContainer(1, 13);
|
|
4638
|
+
i0.ɵɵelementEnd();
|
|
4639
|
+
} if (rf & 2) {
|
|
4640
|
+
i0.ɵɵnextContext(2);
|
|
4641
|
+
const _r31 = i0.ɵɵreference(1);
|
|
4642
|
+
i0.ɵɵadvance(1);
|
|
4643
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r31);
|
|
4644
|
+
} }
|
|
4645
|
+
function UnorderedListComponent_ng_template_4_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
4646
|
+
i0.ɵɵelementContainerStart(0);
|
|
4647
|
+
i0.ɵɵtemplate(1, UnorderedListComponent_ng_template_4_ng_container_4_th_1_Template, 2, 1, "th", 10);
|
|
4648
|
+
i0.ɵɵelementContainerEnd();
|
|
4649
|
+
} if (rf & 2) {
|
|
4650
|
+
const listStyle_r27 = i0.ɵɵnextContext().listStyle;
|
|
4651
|
+
const _r31 = i0.ɵɵreference(1);
|
|
4652
|
+
i0.ɵɵadvance(1);
|
|
4653
|
+
i0.ɵɵproperty("ngIf", listStyle_r27 == "table")("ngIfElse", _r31);
|
|
4654
|
+
} }
|
|
4655
|
+
function UnorderedListComponent_ng_template_4_td_5_Template(rf, ctx) { if (rf & 1) {
|
|
4656
|
+
i0.ɵɵelementStart(0, "td");
|
|
4657
|
+
i0.ɵɵelementContainer(1, 13);
|
|
4658
|
+
i0.ɵɵelementEnd();
|
|
4659
|
+
} if (rf & 2) {
|
|
4660
|
+
i0.ɵɵnextContext();
|
|
4661
|
+
const _r33 = i0.ɵɵreference(3);
|
|
4662
|
+
i0.ɵɵadvance(1);
|
|
4663
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r33);
|
|
4664
|
+
} }
|
|
4665
|
+
function UnorderedListComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
4666
|
+
i0.ɵɵtemplate(0, UnorderedListComponent_ng_template_4_ng_template_0_Template, 1, 8, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
|
|
4667
|
+
i0.ɵɵtemplate(2, UnorderedListComponent_ng_template_4_ng_template_2_Template, 1, 8, "ng-template", null, 8, i0.ɵɵtemplateRefExtractor);
|
|
4668
|
+
i0.ɵɵtemplate(4, UnorderedListComponent_ng_template_4_ng_container_4_Template, 2, 2, "ng-container", 9);
|
|
4669
|
+
i0.ɵɵtemplate(5, UnorderedListComponent_ng_template_4_td_5_Template, 2, 1, "td", 10);
|
|
4670
|
+
} if (rf & 2) {
|
|
4671
|
+
const listStyle_r27 = ctx.listStyle;
|
|
4672
|
+
const _r33 = i0.ɵɵreference(3);
|
|
4673
|
+
const ctx_r5 = i0.ɵɵnextContext();
|
|
4674
|
+
i0.ɵɵadvance(4);
|
|
4675
|
+
i0.ɵɵproperty("ngIf", !ctx_r5.isArray);
|
|
4676
|
+
i0.ɵɵadvance(1);
|
|
4677
|
+
i0.ɵɵproperty("ngIf", listStyle_r27 == "table")("ngIfElse", _r33);
|
|
4678
|
+
} }
|
|
4679
|
+
function UnorderedListComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
4680
|
+
i0.ɵɵtext(0);
|
|
4681
|
+
} if (rf & 2) {
|
|
4682
|
+
const ctx_r7 = i0.ɵɵnextContext();
|
|
4683
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r7.data, "\n");
|
|
4684
|
+
} }
|
|
4685
|
+
function UnorderedListComponent_ng_container_8_ul_1_li_1_Template(rf, ctx) { if (rf & 1) {
|
|
4686
|
+
i0.ɵɵelementStart(0, "li", 17);
|
|
4687
|
+
i0.ɵɵelementContainer(1, 19);
|
|
4688
|
+
i0.ɵɵelementEnd();
|
|
4689
|
+
} if (rf & 2) {
|
|
4690
|
+
const item_r44 = ctx.$implicit;
|
|
4691
|
+
const ctx_r43 = i0.ɵɵnextContext(3);
|
|
4692
|
+
i0.ɵɵproperty("ngClass", item_r44.classList);
|
|
4693
|
+
i0.ɵɵadvance(1);
|
|
4694
|
+
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);
|
|
4695
|
+
} }
|
|
4696
|
+
function UnorderedListComponent_ng_container_8_ul_1_Template(rf, ctx) { if (rf & 1) {
|
|
4697
|
+
i0.ɵɵelementStart(0, "ul", 17);
|
|
4698
|
+
i0.ɵɵtemplate(1, UnorderedListComponent_ng_container_8_ul_1_li_1_Template, 2, 9, "li", 18);
|
|
4699
|
+
i0.ɵɵpipe(2, "entries");
|
|
4700
|
+
i0.ɵɵelementEnd();
|
|
4701
|
+
} if (rf & 2) {
|
|
4702
|
+
const ctx_r41 = i0.ɵɵnextContext(2);
|
|
4703
|
+
i0.ɵɵproperty("ngClass", "level-" + ctx_r41.level);
|
|
4704
|
+
i0.ɵɵadvance(1);
|
|
4705
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 2, ctx_r41.data));
|
|
4706
|
+
} }
|
|
4707
|
+
function UnorderedListComponent_ng_container_8_table_2_tr_1_Template(rf, ctx) { if (rf & 1) {
|
|
4708
|
+
i0.ɵɵelementStart(0, "tr", 17);
|
|
4709
|
+
i0.ɵɵelementContainer(1, 19);
|
|
4710
|
+
i0.ɵɵelementEnd();
|
|
4711
|
+
} if (rf & 2) {
|
|
4712
|
+
const item_r46 = ctx.$implicit;
|
|
4713
|
+
const ctx_r45 = i0.ɵɵnextContext(3);
|
|
4714
|
+
i0.ɵɵproperty("ngClass", item_r46.classList);
|
|
4715
|
+
i0.ɵɵadvance(1);
|
|
4716
|
+
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);
|
|
4717
|
+
} }
|
|
4718
|
+
function UnorderedListComponent_ng_container_8_table_2_Template(rf, ctx) { if (rf & 1) {
|
|
4719
|
+
i0.ɵɵelementStart(0, "table", 17);
|
|
4720
|
+
i0.ɵɵtemplate(1, UnorderedListComponent_ng_container_8_table_2_tr_1_Template, 2, 9, "tr", 18);
|
|
4721
|
+
i0.ɵɵpipe(2, "entries");
|
|
4722
|
+
i0.ɵɵelementEnd();
|
|
4723
|
+
} if (rf & 2) {
|
|
4724
|
+
const ctx_r42 = i0.ɵɵnextContext(2);
|
|
4725
|
+
i0.ɵɵproperty("ngClass", "level-" + ctx_r42.level);
|
|
4726
|
+
i0.ɵɵadvance(1);
|
|
4727
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 2, ctx_r42.data));
|
|
4728
|
+
} }
|
|
4729
|
+
function UnorderedListComponent_ng_container_8_Template(rf, ctx) { if (rf & 1) {
|
|
4730
|
+
i0.ɵɵelementContainerStart(0, 14);
|
|
4731
|
+
i0.ɵɵtemplate(1, UnorderedListComponent_ng_container_8_ul_1_Template, 3, 4, "ul", 15);
|
|
4732
|
+
i0.ɵɵtemplate(2, UnorderedListComponent_ng_container_8_table_2_Template, 3, 4, "table", 16);
|
|
4733
|
+
i0.ɵɵelementContainerEnd();
|
|
4734
|
+
} if (rf & 2) {
|
|
4735
|
+
const ctx_r8 = i0.ɵɵnextContext();
|
|
4736
|
+
i0.ɵɵproperty("ngSwitch", ctx_r8.listStyle);
|
|
4737
|
+
i0.ɵɵadvance(1);
|
|
4738
|
+
i0.ɵɵproperty("ngSwitchCase", "list");
|
|
4739
|
+
} }
|
|
4560
4740
|
class UnorderedListComponent {
|
|
4561
4741
|
constructor(cdr) {
|
|
4562
4742
|
this.cdr = cdr;
|
|
@@ -4583,37 +4763,147 @@ class UnorderedListComponent {
|
|
|
4583
4763
|
this.cdr.detectChanges();
|
|
4584
4764
|
}
|
|
4585
4765
|
}
|
|
4586
|
-
UnorderedListComponent.ɵfac =
|
|
4587
|
-
UnorderedListComponent.ɵcmp = i0.ɵɵ
|
|
4588
|
-
i0.ɵɵ
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4766
|
+
UnorderedListComponent.ɵfac = function UnorderedListComponent_Factory(t) { return new (t || UnorderedListComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
4767
|
+
UnorderedListComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: UnorderedListComponent, selectors: [["unordered-list"]], contentQueries: function UnorderedListComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
4768
|
+
i0.ɵɵcontentQuery(dirIndex, UnorderedListTemplateDirective, 4);
|
|
4769
|
+
} if (rf & 2) {
|
|
4770
|
+
let _t;
|
|
4771
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templateDirectives = _t);
|
|
4772
|
+
} }, viewQuery: function UnorderedListComponent_Query(rf, ctx) { if (rf & 1) {
|
|
4773
|
+
i0.ɵɵviewQuery(_c0$2, 5);
|
|
4774
|
+
i0.ɵɵviewQuery(_c1$2, 5);
|
|
4775
|
+
i0.ɵɵviewQuery(_c2$1, 5);
|
|
4776
|
+
} if (rf & 2) {
|
|
4777
|
+
let _t;
|
|
4778
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.defaultKeyTemplate = _t.first);
|
|
4779
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.defaultValueTemplate = _t.first);
|
|
4780
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.defaultItemTemplate = _t.first);
|
|
4781
|
+
} }, 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) { if (rf & 1) {
|
|
4782
|
+
i0.ɵɵtemplate(0, UnorderedListComponent_ng_template_0_Template, 2, 3, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
|
|
4783
|
+
i0.ɵɵtemplate(2, UnorderedListComponent_ng_template_2_Template, 3, 2, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
4784
|
+
i0.ɵɵtemplate(4, UnorderedListComponent_ng_template_4_Template, 6, 3, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
|
4785
|
+
i0.ɵɵtemplate(6, UnorderedListComponent_ng_template_6_Template, 1, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
4786
|
+
i0.ɵɵtemplate(8, UnorderedListComponent_ng_container_8_Template, 3, 2, "ng-container", 4);
|
|
4787
|
+
} if (rf & 2) {
|
|
4788
|
+
const _r6 = i0.ɵɵreference(7);
|
|
4789
|
+
i0.ɵɵadvance(8);
|
|
4790
|
+
i0.ɵɵproperty("ngIf", ctx.isObject || ctx.isArray)("ngIfElse", _r6);
|
|
4791
|
+
} }, 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 });
|
|
4792
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UnorderedListComponent, [{
|
|
4793
|
+
type: Component,
|
|
4794
|
+
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" }]
|
|
4795
|
+
}], function () { return [{ type: i0.ChangeDetectorRef }]; }, { data: [{
|
|
4796
|
+
type: Input
|
|
4797
|
+
}], keyPrefix: [{
|
|
4798
|
+
type: Input
|
|
4799
|
+
}], listStyle: [{
|
|
4800
|
+
type: Input
|
|
4801
|
+
}], path: [{
|
|
4802
|
+
type: Input
|
|
4803
|
+
}], level: [{
|
|
4804
|
+
type: Input
|
|
4805
|
+
}], templates: [{
|
|
4806
|
+
type: Input
|
|
4807
|
+
}], templateDirectives: [{
|
|
4808
|
+
type: ContentChildren,
|
|
4809
|
+
args: [UnorderedListTemplateDirective]
|
|
4810
|
+
}], defaultKeyTemplate: [{
|
|
4811
|
+
type: ViewChild,
|
|
4812
|
+
args: ["defaultKeyTemplate"]
|
|
4813
|
+
}], defaultValueTemplate: [{
|
|
4814
|
+
type: ViewChild,
|
|
4815
|
+
args: ["defaultValueTemplate"]
|
|
4816
|
+
}], defaultItemTemplate: [{
|
|
4817
|
+
type: ViewChild,
|
|
4818
|
+
args: ["defaultItemTemplate"]
|
|
4819
|
+
}] }); })();
|
|
4616
4820
|
|
|
4821
|
+
const _c0$1 = function (a0) { return { disabled: a0 }; };
|
|
4822
|
+
function PaginationMenuComponent_div_0_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
4823
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
4824
|
+
i0.ɵɵelementStart(0, "li", 5)(1, "a", 6);
|
|
4825
|
+
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); });
|
|
4826
|
+
i0.ɵɵpipe(2, "safe");
|
|
4827
|
+
i0.ɵɵelementEnd()();
|
|
4828
|
+
} if (rf & 2) {
|
|
4829
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
4830
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$1, !ctx_r1.hasPrev));
|
|
4831
|
+
i0.ɵɵadvance(1);
|
|
4832
|
+
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(2, 2, ctx_r1.firstLabel), i0.ɵɵsanitizeHtml);
|
|
4833
|
+
} }
|
|
4834
|
+
function PaginationMenuComponent_div_0_li_3_Template(rf, ctx) { if (rf & 1) {
|
|
4835
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
4836
|
+
i0.ɵɵelementStart(0, "li", 5)(1, "a", 6);
|
|
4837
|
+
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); });
|
|
4838
|
+
i0.ɵɵpipe(2, "safe");
|
|
4839
|
+
i0.ɵɵelementEnd()();
|
|
4840
|
+
} if (rf & 2) {
|
|
4841
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
4842
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$1, !ctx_r2.hasPrev));
|
|
4843
|
+
i0.ɵɵadvance(1);
|
|
4844
|
+
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(2, 2, ctx_r2.prevLabel), i0.ɵɵsanitizeHtml);
|
|
4845
|
+
} }
|
|
4846
|
+
const _c1$1 = function (a0) { return { active: a0 }; };
|
|
4847
|
+
function PaginationMenuComponent_div_0_li_4_Template(rf, ctx) { if (rf & 1) {
|
|
4848
|
+
const _r12 = i0.ɵɵgetCurrentView();
|
|
4849
|
+
i0.ɵɵelementStart(0, "li", 5)(1, "a", 7);
|
|
4850
|
+
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); });
|
|
4851
|
+
i0.ɵɵtext(2);
|
|
4852
|
+
i0.ɵɵelementEnd()();
|
|
4853
|
+
} if (rf & 2) {
|
|
4854
|
+
const page_r10 = ctx.$implicit;
|
|
4855
|
+
const ctx_r3 = i0.ɵɵnextContext(2);
|
|
4856
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c1$1, ctx_r3.pagination.page == page_r10));
|
|
4857
|
+
i0.ɵɵadvance(1);
|
|
4858
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(5, _c1$1, ctx_r3.pagination.page == page_r10));
|
|
4859
|
+
i0.ɵɵadvance(1);
|
|
4860
|
+
i0.ɵɵtextInterpolate(page_r10);
|
|
4861
|
+
} }
|
|
4862
|
+
function PaginationMenuComponent_div_0_li_5_Template(rf, ctx) { if (rf & 1) {
|
|
4863
|
+
const _r14 = i0.ɵɵgetCurrentView();
|
|
4864
|
+
i0.ɵɵelementStart(0, "li", 5)(1, "a", 6);
|
|
4865
|
+
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); });
|
|
4866
|
+
i0.ɵɵpipe(2, "safe");
|
|
4867
|
+
i0.ɵɵelementEnd()();
|
|
4868
|
+
} if (rf & 2) {
|
|
4869
|
+
const ctx_r4 = i0.ɵɵnextContext(2);
|
|
4870
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$1, !ctx_r4.hasNext));
|
|
4871
|
+
i0.ɵɵadvance(1);
|
|
4872
|
+
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(2, 2, ctx_r4.nextLabel), i0.ɵɵsanitizeHtml);
|
|
4873
|
+
} }
|
|
4874
|
+
function PaginationMenuComponent_div_0_li_6_Template(rf, ctx) { if (rf & 1) {
|
|
4875
|
+
const _r16 = i0.ɵɵgetCurrentView();
|
|
4876
|
+
i0.ɵɵelementStart(0, "li", 5)(1, "a", 6);
|
|
4877
|
+
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); });
|
|
4878
|
+
i0.ɵɵpipe(2, "safe");
|
|
4879
|
+
i0.ɵɵelementEnd()();
|
|
4880
|
+
} if (rf & 2) {
|
|
4881
|
+
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
4882
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c0$1, !ctx_r5.hasNext));
|
|
4883
|
+
i0.ɵɵadvance(1);
|
|
4884
|
+
i0.ɵɵproperty("innerHTML", i0.ɵɵpipeBind1(2, 2, ctx_r5.lastLabel), i0.ɵɵsanitizeHtml);
|
|
4885
|
+
} }
|
|
4886
|
+
function PaginationMenuComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
4887
|
+
i0.ɵɵelementStart(0, "div", 1)(1, "ul", 2);
|
|
4888
|
+
i0.ɵɵtemplate(2, PaginationMenuComponent_div_0_li_2_Template, 3, 6, "li", 3);
|
|
4889
|
+
i0.ɵɵtemplate(3, PaginationMenuComponent_div_0_li_3_Template, 3, 6, "li", 3);
|
|
4890
|
+
i0.ɵɵtemplate(4, PaginationMenuComponent_div_0_li_4_Template, 3, 7, "li", 4);
|
|
4891
|
+
i0.ɵɵtemplate(5, PaginationMenuComponent_div_0_li_5_Template, 3, 6, "li", 3);
|
|
4892
|
+
i0.ɵɵtemplate(6, PaginationMenuComponent_div_0_li_6_Template, 3, 6, "li", 3);
|
|
4893
|
+
i0.ɵɵelementEnd()();
|
|
4894
|
+
} if (rf & 2) {
|
|
4895
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
4896
|
+
i0.ɵɵadvance(2);
|
|
4897
|
+
i0.ɵɵproperty("ngIf", ctx_r0.boundaryLinks);
|
|
4898
|
+
i0.ɵɵadvance(1);
|
|
4899
|
+
i0.ɵɵproperty("ngIf", ctx_r0.directionLinks);
|
|
4900
|
+
i0.ɵɵadvance(1);
|
|
4901
|
+
i0.ɵɵproperty("ngForOf", ctx_r0.pages);
|
|
4902
|
+
i0.ɵɵadvance(1);
|
|
4903
|
+
i0.ɵɵproperty("ngIf", ctx_r0.directionLinks);
|
|
4904
|
+
i0.ɵɵadvance(1);
|
|
4905
|
+
i0.ɵɵproperty("ngIf", ctx_r0.boundaryLinks);
|
|
4906
|
+
} }
|
|
4617
4907
|
class PaginationMenuComponent {
|
|
4618
4908
|
constructor(state, pagination, icons) {
|
|
4619
4909
|
this.state = state;
|
|
@@ -4687,24 +4977,207 @@ class PaginationMenuComponent {
|
|
|
4687
4977
|
this.pages = pages;
|
|
4688
4978
|
}
|
|
4689
4979
|
}
|
|
4690
|
-
PaginationMenuComponent.ɵfac =
|
|
4691
|
-
PaginationMenuComponent.ɵcmp = i0.ɵɵ
|
|
4692
|
-
i0.ɵɵ
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
}],
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4980
|
+
PaginationMenuComponent.ɵfac = function PaginationMenuComponent_Factory(t) { return new (t || PaginationMenuComponent)(i0.ɵɵdirectiveInject(StateService), i0.ɵɵdirectiveInject(PaginationDirective), i0.ɵɵdirectiveInject(ICON_SERVICE)); };
|
|
4981
|
+
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) { if (rf & 1) {
|
|
4982
|
+
i0.ɵɵtemplate(0, PaginationMenuComponent_div_0_Template, 7, 5, "div", 0);
|
|
4983
|
+
} if (rf & 2) {
|
|
4984
|
+
i0.ɵɵproperty("ngIf", ctx.pagination.total > ctx.pagination.itemsPerPage);
|
|
4985
|
+
} }, directives: [i1$3.NgIf, i1$3.NgClass, i1$3.NgForOf], pipes: [SafeHtmlPipe], encapsulation: 2 });
|
|
4986
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationMenuComponent, [{
|
|
4987
|
+
type: Component,
|
|
4988
|
+
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" }]
|
|
4989
|
+
}], function () { return [{ type: StateService }, { type: PaginationDirective }, { type: undefined, decorators: [{
|
|
4990
|
+
type: Inject,
|
|
4991
|
+
args: [ICON_SERVICE]
|
|
4992
|
+
}] }]; }, { maxSize: [{
|
|
4993
|
+
type: Input
|
|
4994
|
+
}], urlParam: [{
|
|
4995
|
+
type: Input
|
|
4996
|
+
}], directionLinks: [{
|
|
4997
|
+
type: Input
|
|
4998
|
+
}], boundaryLinks: [{
|
|
4999
|
+
type: Input
|
|
5000
|
+
}] }); })();
|
|
4707
5001
|
|
|
5002
|
+
const _c0 = ["rowTemplate"];
|
|
5003
|
+
const _c1 = ["wrapperTemplate"];
|
|
5004
|
+
const _c2 = ["filterTemplate"];
|
|
5005
|
+
const _c3 = ["columnsTemplate"];
|
|
5006
|
+
const _c4 = ["defaultRowTemplate"];
|
|
5007
|
+
const _c5 = ["defaultWrapperTemplate"];
|
|
5008
|
+
const _c6 = ["defaultFilterTemplate"];
|
|
5009
|
+
const _c7 = ["pagination"];
|
|
5010
|
+
function DynamicTableComponent_ng_template_2_div_0_label_1_Template(rf, ctx) { if (rf & 1) {
|
|
5011
|
+
i0.ɵɵelementStart(0, "label");
|
|
5012
|
+
i0.ɵɵtext(1);
|
|
5013
|
+
i0.ɵɵpipe(2, "translate");
|
|
5014
|
+
i0.ɵɵelementEnd();
|
|
5015
|
+
} if (rf & 2) {
|
|
5016
|
+
const ctx_r13 = i0.ɵɵnextContext(3);
|
|
5017
|
+
i0.ɵɵattribute("for", ctx_r13.tableId);
|
|
5018
|
+
i0.ɵɵadvance(1);
|
|
5019
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, ctx_r13.label));
|
|
5020
|
+
} }
|
|
5021
|
+
function DynamicTableComponent_ng_template_2_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
5022
|
+
const _r16 = i0.ɵɵgetCurrentView();
|
|
5023
|
+
i0.ɵɵelementStart(0, "div", 11);
|
|
5024
|
+
i0.ɵɵtemplate(1, DynamicTableComponent_ng_template_2_div_0_label_1_Template, 3, 4, "label", 12);
|
|
5025
|
+
i0.ɵɵelementStart(2, "input", 13);
|
|
5026
|
+
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); });
|
|
5027
|
+
i0.ɵɵpipe(3, "translate");
|
|
5028
|
+
i0.ɵɵelementEnd()();
|
|
5029
|
+
} if (rf & 2) {
|
|
5030
|
+
const table_r11 = i0.ɵɵnextContext().$implicit;
|
|
5031
|
+
const ctx_r12 = i0.ɵɵnextContext();
|
|
5032
|
+
i0.ɵɵadvance(1);
|
|
5033
|
+
i0.ɵɵproperty("ngIf", ctx_r12.label);
|
|
5034
|
+
i0.ɵɵadvance(1);
|
|
5035
|
+
i0.ɵɵproperty("placeholder", i0.ɵɵpipeBind1(3, 4, ctx_r12.placeholder))("ngModel", table_r11.filter);
|
|
5036
|
+
i0.ɵɵattribute("id", ctx_r12.tableId);
|
|
5037
|
+
} }
|
|
5038
|
+
function DynamicTableComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
5039
|
+
i0.ɵɵtemplate(0, DynamicTableComponent_ng_template_2_div_0_Template, 4, 6, "div", 10);
|
|
5040
|
+
} if (rf & 2) {
|
|
5041
|
+
const table_r11 = ctx.$implicit;
|
|
5042
|
+
i0.ɵɵproperty("ngIf", table_r11.showFilter);
|
|
5043
|
+
} }
|
|
5044
|
+
function DynamicTableComponent_ng_template_7_ng_template_0_Template(rf, ctx) { if (rf & 1) {
|
|
5045
|
+
i0.ɵɵelementStart(0, "span");
|
|
5046
|
+
i0.ɵɵtext(1);
|
|
5047
|
+
i0.ɵɵelementEnd();
|
|
5048
|
+
} if (rf & 2) {
|
|
5049
|
+
const column_r26 = ctx.column;
|
|
5050
|
+
const item_r27 = ctx.item;
|
|
5051
|
+
i0.ɵɵadvance(1);
|
|
5052
|
+
i0.ɵɵtextInterpolate(item_r27[column_r26] == undefined || item_r27[column_r26] == null ? "-" : item_r27[column_r26]);
|
|
5053
|
+
} }
|
|
5054
|
+
function DynamicTableComponent_ng_template_7_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
5055
|
+
i0.ɵɵelementContainer(0, 3);
|
|
5056
|
+
} if (rf & 2) {
|
|
5057
|
+
const ctx_r28 = i0.ɵɵnextContext();
|
|
5058
|
+
const template_r20 = ctx_r28.template;
|
|
5059
|
+
const context_r18 = ctx_r28.$implicit;
|
|
5060
|
+
i0.ɵɵproperty("ngxTemplateOutlet", template_r20.ref)("context", context_r18);
|
|
5061
|
+
} }
|
|
5062
|
+
function DynamicTableComponent_ng_template_7_td_4_Template(rf, ctx) { if (rf & 1) {
|
|
5063
|
+
i0.ɵɵelementStart(0, "td", 17);
|
|
5064
|
+
i0.ɵɵelementContainer(1, 3);
|
|
5065
|
+
i0.ɵɵelementEnd();
|
|
5066
|
+
} if (rf & 2) {
|
|
5067
|
+
const ctx_r29 = i0.ɵɵnextContext();
|
|
5068
|
+
const column_r19 = ctx_r29.column;
|
|
5069
|
+
const template_r20 = ctx_r29.template;
|
|
5070
|
+
const context_r18 = ctx_r29.$implicit;
|
|
5071
|
+
const _r21 = i0.ɵɵreference(1);
|
|
5072
|
+
i0.ɵɵproperty("ngClass", "column-" + column_r19);
|
|
5073
|
+
i0.ɵɵadvance(1);
|
|
5074
|
+
i0.ɵɵproperty("ngxTemplateOutlet", !template_r20 ? _r21 : template_r20.ref)("context", context_r18);
|
|
5075
|
+
} }
|
|
5076
|
+
function DynamicTableComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
5077
|
+
i0.ɵɵtemplate(0, DynamicTableComponent_ng_template_7_ng_template_0_Template, 2, 1, "ng-template", null, 14, i0.ɵɵtemplateRefExtractor);
|
|
5078
|
+
i0.ɵɵtemplate(2, DynamicTableComponent_ng_template_7_ng_template_2_Template, 1, 2, "ng-template", null, 15, i0.ɵɵtemplateRefExtractor);
|
|
5079
|
+
i0.ɵɵtemplate(4, DynamicTableComponent_ng_template_7_td_4_Template, 2, 3, "td", 16);
|
|
5080
|
+
} if (rf & 2) {
|
|
5081
|
+
const template_r20 = ctx.template;
|
|
5082
|
+
const _r23 = i0.ɵɵreference(3);
|
|
5083
|
+
i0.ɵɵadvance(4);
|
|
5084
|
+
i0.ɵɵproperty("ngIf", !template_r20 || !template_r20.pure)("ngIfElse", _r23);
|
|
5085
|
+
} }
|
|
5086
|
+
const _c8 = function (a0, a1) { return { template: a0, column: a1 }; };
|
|
5087
|
+
function DynamicTableComponent_ng_template_9_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
5088
|
+
i0.ɵɵelementContainer(0, 19);
|
|
5089
|
+
} if (rf & 2) {
|
|
5090
|
+
const column_r32 = ctx.$implicit;
|
|
5091
|
+
const context_r30 = i0.ɵɵnextContext().$implicit;
|
|
5092
|
+
const ctx_r31 = i0.ɵɵnextContext();
|
|
5093
|
+
const _r3 = i0.ɵɵreference(8);
|
|
5094
|
+
i0.ɵɵproperty("ngxTemplateOutlet", _r3)("context", context_r30)("additionalContext", i0.ɵɵpureFunction2(3, _c8, ctx_r31.templates[column_r32], column_r32));
|
|
5095
|
+
} }
|
|
5096
|
+
function DynamicTableComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
5097
|
+
i0.ɵɵtemplate(0, DynamicTableComponent_ng_template_9_ng_container_0_Template, 1, 6, "ng-container", 18);
|
|
5098
|
+
} if (rf & 2) {
|
|
5099
|
+
const ctx_r6 = i0.ɵɵnextContext();
|
|
5100
|
+
i0.ɵɵproperty("ngForOf", ctx_r6.cols);
|
|
5101
|
+
} }
|
|
5102
|
+
function DynamicTableComponent_ng_template_11_Template(rf, ctx) { if (rf & 1) {
|
|
5103
|
+
i0.ɵɵelementStart(0, "tr");
|
|
5104
|
+
i0.ɵɵelementContainer(1, 3);
|
|
5105
|
+
i0.ɵɵelementEnd();
|
|
5106
|
+
} if (rf & 2) {
|
|
5107
|
+
const context_r34 = ctx.$implicit;
|
|
5108
|
+
i0.ɵɵnextContext();
|
|
5109
|
+
const _r5 = i0.ɵɵreference(10);
|
|
5110
|
+
i0.ɵɵadvance(1);
|
|
5111
|
+
i0.ɵɵproperty("ngxTemplateOutlet", _r5)("context", context_r34);
|
|
5112
|
+
} }
|
|
5113
|
+
function DynamicTableComponent_ng_template_13_th_3_a_1_i_4_Template(rf, ctx) { if (rf & 1) {
|
|
5114
|
+
i0.ɵɵelement(0, "i", 26);
|
|
5115
|
+
} if (rf & 2) {
|
|
5116
|
+
const column_r37 = i0.ɵɵnextContext(2).$implicit;
|
|
5117
|
+
const ctx_r40 = i0.ɵɵnextContext(2);
|
|
5118
|
+
i0.ɵɵproperty("icon", ctx_r40.orderDescending ? "sort-desc" : "sort-asc")("ngClass", ctx_r40.orderBy == column_r37 ? ctx_r40.orderDescending ? "sort-desc" : "sort-asc" : "");
|
|
5119
|
+
} }
|
|
5120
|
+
function DynamicTableComponent_ng_template_13_th_3_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
5121
|
+
const _r44 = i0.ɵɵgetCurrentView();
|
|
5122
|
+
i0.ɵɵelementStart(0, "a", 24);
|
|
5123
|
+
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); });
|
|
5124
|
+
i0.ɵɵelementStart(1, "span");
|
|
5125
|
+
i0.ɵɵtext(2);
|
|
5126
|
+
i0.ɵɵpipe(3, "translate");
|
|
5127
|
+
i0.ɵɵelementEnd();
|
|
5128
|
+
i0.ɵɵtemplate(4, DynamicTableComponent_ng_template_13_th_3_a_1_i_4_Template, 1, 2, "i", 25);
|
|
5129
|
+
i0.ɵɵelementEnd();
|
|
5130
|
+
} if (rf & 2) {
|
|
5131
|
+
const column_r37 = i0.ɵɵnextContext().$implicit;
|
|
5132
|
+
const ctx_r38 = i0.ɵɵnextContext(2);
|
|
5133
|
+
i0.ɵɵadvance(2);
|
|
5134
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(3, 2, "label." + column_r37));
|
|
5135
|
+
i0.ɵɵadvance(2);
|
|
5136
|
+
i0.ɵɵproperty("ngIf", ctx_r38.orderBy == column_r37);
|
|
5137
|
+
} }
|
|
5138
|
+
function DynamicTableComponent_ng_template_13_th_3_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
5139
|
+
i0.ɵɵelementStart(0, "span");
|
|
5140
|
+
i0.ɵɵtext(1);
|
|
5141
|
+
i0.ɵɵpipe(2, "translate");
|
|
5142
|
+
i0.ɵɵelementEnd();
|
|
5143
|
+
} if (rf & 2) {
|
|
5144
|
+
const column_r37 = i0.ɵɵnextContext().$implicit;
|
|
5145
|
+
i0.ɵɵadvance(1);
|
|
5146
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "label." + column_r37));
|
|
5147
|
+
} }
|
|
5148
|
+
function DynamicTableComponent_ng_template_13_th_3_Template(rf, ctx) { if (rf & 1) {
|
|
5149
|
+
i0.ɵɵelementStart(0, "th", 17);
|
|
5150
|
+
i0.ɵɵtemplate(1, DynamicTableComponent_ng_template_13_th_3_a_1_Template, 5, 4, "a", 23);
|
|
5151
|
+
i0.ɵɵtemplate(2, DynamicTableComponent_ng_template_13_th_3_span_2_Template, 3, 3, "span", 12);
|
|
5152
|
+
i0.ɵɵelementEnd();
|
|
5153
|
+
} if (rf & 2) {
|
|
5154
|
+
const column_r37 = ctx.$implicit;
|
|
5155
|
+
const ctx_r35 = i0.ɵɵnextContext(2);
|
|
5156
|
+
i0.ɵɵproperty("ngClass", "column-" + column_r37);
|
|
5157
|
+
i0.ɵɵadvance(1);
|
|
5158
|
+
i0.ɵɵproperty("ngIf", ctx_r35.orders[column_r37]);
|
|
5159
|
+
i0.ɵɵadvance(1);
|
|
5160
|
+
i0.ɵɵproperty("ngIf", !ctx_r35.orders[column_r37]);
|
|
5161
|
+
} }
|
|
5162
|
+
function DynamicTableComponent_ng_template_13_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
5163
|
+
i0.ɵɵelementContainer(0, 19);
|
|
5164
|
+
} if (rf & 2) {
|
|
5165
|
+
const context_r47 = ctx.$implicit;
|
|
5166
|
+
const ctx_r36 = i0.ɵɵnextContext(2);
|
|
5167
|
+
i0.ɵɵproperty("ngxTemplateOutlet", ctx_r36.rowTemplate)("context", context_r47)("additionalContext", ctx_r36);
|
|
5168
|
+
} }
|
|
5169
|
+
function DynamicTableComponent_ng_template_13_Template(rf, ctx) { if (rf & 1) {
|
|
5170
|
+
i0.ɵɵelementStart(0, "table", 20)(1, "thead")(2, "tr");
|
|
5171
|
+
i0.ɵɵtemplate(3, DynamicTableComponent_ng_template_13_th_3_Template, 3, 3, "th", 21);
|
|
5172
|
+
i0.ɵɵelementEnd()();
|
|
5173
|
+
i0.ɵɵelementStart(4, "tbody");
|
|
5174
|
+
i0.ɵɵtemplate(5, DynamicTableComponent_ng_template_13_ng_container_5_Template, 1, 3, "ng-container", 22);
|
|
5175
|
+
i0.ɵɵelementEnd()();
|
|
5176
|
+
} if (rf & 2) {
|
|
5177
|
+
const ctx_r10 = i0.ɵɵnextContext();
|
|
5178
|
+
i0.ɵɵadvance(3);
|
|
5179
|
+
i0.ɵɵproperty("ngForOf", ctx_r10.cols);
|
|
5180
|
+
} }
|
|
4708
5181
|
class DynamicTableComponent {
|
|
4709
5182
|
constructor() {
|
|
4710
5183
|
this.loadData = (page, itemsPerPage) => {
|
|
@@ -4806,67 +5279,117 @@ class DynamicTableComponent {
|
|
|
4806
5279
|
});
|
|
4807
5280
|
}
|
|
4808
5281
|
}
|
|
4809
|
-
DynamicTableComponent.ɵfac =
|
|
4810
|
-
DynamicTableComponent.ɵcmp = i0.ɵɵ
|
|
4811
|
-
i0.ɵɵ
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
}]
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
5282
|
+
DynamicTableComponent.ɵfac = function DynamicTableComponent_Factory(t) { return new (t || DynamicTableComponent)(); };
|
|
5283
|
+
DynamicTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DynamicTableComponent, selectors: [["dynamic-table"]], contentQueries: function DynamicTableComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
5284
|
+
i0.ɵɵcontentQuery(dirIndex, _c0, 7);
|
|
5285
|
+
i0.ɵɵcontentQuery(dirIndex, _c1, 7);
|
|
5286
|
+
i0.ɵɵcontentQuery(dirIndex, _c2, 7);
|
|
5287
|
+
i0.ɵɵcontentQuery(dirIndex, DynamicTableTemplateDirective, 4);
|
|
5288
|
+
} if (rf & 2) {
|
|
5289
|
+
let _t;
|
|
5290
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.rowTemplate = _t.first);
|
|
5291
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.wrapperTemplate = _t.first);
|
|
5292
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filterTemplate = _t.first);
|
|
5293
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templateDirectives = _t);
|
|
5294
|
+
} }, viewQuery: function DynamicTableComponent_Query(rf, ctx) { if (rf & 1) {
|
|
5295
|
+
i0.ɵɵviewQuery(_c3, 7);
|
|
5296
|
+
i0.ɵɵviewQuery(_c4, 7);
|
|
5297
|
+
i0.ɵɵviewQuery(_c5, 7);
|
|
5298
|
+
i0.ɵɵviewQuery(_c6, 7);
|
|
5299
|
+
i0.ɵɵviewQuery(_c7, 5);
|
|
5300
|
+
} if (rf & 2) {
|
|
5301
|
+
let _t;
|
|
5302
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.columnsTemplate = _t.first);
|
|
5303
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.defaultRowTemplate = _t.first);
|
|
5304
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.defaultWrapperTemplate = _t.first);
|
|
5305
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.defaultFilterTemplate = _t.first);
|
|
5306
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.pagination = _t.first);
|
|
5307
|
+
} }, 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) { if (rf & 1) {
|
|
5308
|
+
i0.ɵɵelementStart(0, "div", 0, 1);
|
|
5309
|
+
i0.ɵɵtemplate(2, DynamicTableComponent_ng_template_2_Template, 1, 1, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
|
5310
|
+
i0.ɵɵelementContainer(4, 3);
|
|
5311
|
+
i0.ɵɵelement(5, "pagination-menu", 4);
|
|
5312
|
+
i0.ɵɵelementStart(6, "div", 5);
|
|
5313
|
+
i0.ɵɵtemplate(7, DynamicTableComponent_ng_template_7_Template, 5, 2, "ng-template", null, 6, i0.ɵɵtemplateRefExtractor);
|
|
5314
|
+
i0.ɵɵtemplate(9, DynamicTableComponent_ng_template_9_Template, 1, 1, "ng-template", null, 7, i0.ɵɵtemplateRefExtractor);
|
|
5315
|
+
i0.ɵɵtemplate(11, DynamicTableComponent_ng_template_11_Template, 2, 2, "ng-template", null, 8, i0.ɵɵtemplateRefExtractor);
|
|
5316
|
+
i0.ɵɵtemplate(13, DynamicTableComponent_ng_template_13_Template, 6, 1, "ng-template", null, 9, i0.ɵɵtemplateRefExtractor);
|
|
5317
|
+
i0.ɵɵelementContainer(15, 3);
|
|
5318
|
+
i0.ɵɵelementEnd();
|
|
5319
|
+
i0.ɵɵelement(16, "pagination-menu", 4);
|
|
5320
|
+
i0.ɵɵelementEnd();
|
|
5321
|
+
} if (rf & 2) {
|
|
5322
|
+
const _r1 = i0.ɵɵreference(3);
|
|
5323
|
+
const _r9 = i0.ɵɵreference(14);
|
|
5324
|
+
i0.ɵɵproperty("pagination", ctx.loadData)("itemsPerPage", ctx.itemsPerPage)("updateTime", ctx.updateTime);
|
|
5325
|
+
i0.ɵɵadvance(4);
|
|
5326
|
+
i0.ɵɵproperty("ngxTemplateOutlet", ctx.filterTemplate || _r1)("context", ctx);
|
|
5327
|
+
i0.ɵɵadvance(1);
|
|
5328
|
+
i0.ɵɵproperty("maxSize", ctx.maxPages)("directionLinks", ctx.directionLinks)("boundaryLinks", ctx.boundaryLinks);
|
|
5329
|
+
i0.ɵɵadvance(10);
|
|
5330
|
+
i0.ɵɵproperty("ngxTemplateOutlet", ctx.wrapperTemplate || _r9)("context", ctx);
|
|
5331
|
+
i0.ɵɵadvance(1);
|
|
5332
|
+
i0.ɵɵproperty("maxSize", ctx.maxPages)("directionLinks", ctx.directionLinks)("boundaryLinks", ctx.boundaryLinks);
|
|
5333
|
+
} }, 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 });
|
|
5334
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DynamicTableComponent, [{
|
|
5335
|
+
type: Component,
|
|
5336
|
+
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" }]
|
|
5337
|
+
}], function () { return []; }, { label: [{
|
|
5338
|
+
type: Input
|
|
5339
|
+
}], placeholder: [{
|
|
5340
|
+
type: Input
|
|
5341
|
+
}], dataLoader: [{
|
|
5342
|
+
type: Input
|
|
5343
|
+
}], data: [{
|
|
5344
|
+
type: Input
|
|
5345
|
+
}], parallelData: [{
|
|
5346
|
+
type: Input
|
|
5347
|
+
}], columns: [{
|
|
5348
|
+
type: Input
|
|
5349
|
+
}], showFilter: [{
|
|
5350
|
+
type: Input
|
|
5351
|
+
}], itemsPerPage: [{
|
|
5352
|
+
type: Input
|
|
5353
|
+
}], updateTime: [{
|
|
5354
|
+
type: Input
|
|
5355
|
+
}], maxPages: [{
|
|
5356
|
+
type: Input
|
|
5357
|
+
}], directionLinks: [{
|
|
5358
|
+
type: Input
|
|
5359
|
+
}], boundaryLinks: [{
|
|
5360
|
+
type: Input
|
|
5361
|
+
}], orderBy: [{
|
|
5362
|
+
type: Input
|
|
5363
|
+
}], orderDescending: [{
|
|
5364
|
+
type: Input
|
|
5365
|
+
}], rowTemplate: [{
|
|
5366
|
+
type: ContentChild,
|
|
5367
|
+
args: ["rowTemplate", { static: true }]
|
|
5368
|
+
}], wrapperTemplate: [{
|
|
5369
|
+
type: ContentChild,
|
|
5370
|
+
args: ["wrapperTemplate", { static: true }]
|
|
5371
|
+
}], filterTemplate: [{
|
|
5372
|
+
type: ContentChild,
|
|
5373
|
+
args: ["filterTemplate", { static: true }]
|
|
5374
|
+
}], columnsTemplate: [{
|
|
5375
|
+
type: ViewChild,
|
|
5376
|
+
args: ["columnsTemplate", { static: true }]
|
|
5377
|
+
}], defaultRowTemplate: [{
|
|
5378
|
+
type: ViewChild,
|
|
5379
|
+
args: ["defaultRowTemplate", { static: true }]
|
|
5380
|
+
}], defaultWrapperTemplate: [{
|
|
5381
|
+
type: ViewChild,
|
|
5382
|
+
args: ["defaultWrapperTemplate", { static: true }]
|
|
5383
|
+
}], defaultFilterTemplate: [{
|
|
5384
|
+
type: ViewChild,
|
|
5385
|
+
args: ["defaultFilterTemplate", { static: true }]
|
|
5386
|
+
}], pagination: [{
|
|
5387
|
+
type: ViewChild,
|
|
5388
|
+
args: ["pagination"]
|
|
5389
|
+
}], templateDirectives: [{
|
|
5390
|
+
type: ContentChildren,
|
|
5391
|
+
args: [DynamicTableTemplateDirective]
|
|
5392
|
+
}] }); })();
|
|
4870
5393
|
|
|
4871
5394
|
// --- Pipes ---
|
|
4872
5395
|
const pipes = [
|
|
@@ -5015,8 +5538,34 @@ class NgxUtilsModule {
|
|
|
5015
5538
|
};
|
|
5016
5539
|
}
|
|
5017
5540
|
}
|
|
5018
|
-
NgxUtilsModule.ɵfac =
|
|
5019
|
-
NgxUtilsModule.ɵmod = i0.ɵɵ
|
|
5541
|
+
NgxUtilsModule.ɵfac = function NgxUtilsModule_Factory(t) { return new (t || NgxUtilsModule)(); };
|
|
5542
|
+
NgxUtilsModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: NgxUtilsModule });
|
|
5543
|
+
NgxUtilsModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: pipes, imports: [[
|
|
5544
|
+
CommonModule,
|
|
5545
|
+
FormsModule
|
|
5546
|
+
], FormsModule] });
|
|
5547
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NgxUtilsModule, [{
|
|
5548
|
+
type: NgModule,
|
|
5549
|
+
args: [{
|
|
5550
|
+
declarations: [
|
|
5551
|
+
...pipes,
|
|
5552
|
+
...directives,
|
|
5553
|
+
...components
|
|
5554
|
+
],
|
|
5555
|
+
imports: [
|
|
5556
|
+
CommonModule,
|
|
5557
|
+
FormsModule
|
|
5558
|
+
],
|
|
5559
|
+
exports: [
|
|
5560
|
+
...pipes,
|
|
5561
|
+
...directives,
|
|
5562
|
+
...components,
|
|
5563
|
+
FormsModule
|
|
5564
|
+
],
|
|
5565
|
+
providers: pipes
|
|
5566
|
+
}]
|
|
5567
|
+
}], null, null); })();
|
|
5568
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(NgxUtilsModule, { declarations: [ChunkPipe,
|
|
5020
5569
|
EntriesPipe,
|
|
5021
5570
|
ExtraItemPropertiesPipe,
|
|
5022
5571
|
FilterPipe,
|
|
@@ -5091,32 +5640,7 @@ NgxUtilsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
5091
5640
|
UnorderedListItemDirective,
|
|
5092
5641
|
UnorderedListTemplateDirective, DynamicTableComponent,
|
|
5093
5642
|
PaginationMenuComponent,
|
|
5094
|
-
UnorderedListComponent, FormsModule] });
|
|
5095
|
-
NgxUtilsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: NgxUtilsModule, providers: pipes, imports: [[
|
|
5096
|
-
CommonModule,
|
|
5097
|
-
FormsModule
|
|
5098
|
-
], FormsModule] });
|
|
5099
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: NgxUtilsModule, decorators: [{
|
|
5100
|
-
type: NgModule,
|
|
5101
|
-
args: [{
|
|
5102
|
-
declarations: [
|
|
5103
|
-
...pipes,
|
|
5104
|
-
...directives,
|
|
5105
|
-
...components
|
|
5106
|
-
],
|
|
5107
|
-
imports: [
|
|
5108
|
-
CommonModule,
|
|
5109
|
-
FormsModule
|
|
5110
|
-
],
|
|
5111
|
-
exports: [
|
|
5112
|
-
...pipes,
|
|
5113
|
-
...directives,
|
|
5114
|
-
...components,
|
|
5115
|
-
FormsModule
|
|
5116
|
-
],
|
|
5117
|
-
providers: pipes
|
|
5118
|
-
}]
|
|
5119
|
-
}] });
|
|
5643
|
+
UnorderedListComponent, FormsModule] }); })();
|
|
5120
5644
|
|
|
5121
5645
|
/**
|
|
5122
5646
|
* Generated bundle index. Do not edit.
|