@stemy/ngx-utils 12.2.10 → 12.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/stemy-ngx-utils.umd.js +34 -20
- package/bundles/stemy-ngx-utils.umd.js.map +1 -1
- package/esm2015/ngx-utils/common-types.js +1 -1
- package/esm2015/ngx-utils/services/formatter.service.js +4 -3
- package/esm2015/ngx-utils/services/language.service.js +16 -4
- package/esm2015/public_api.js +1 -1
- package/esm2020/ngx-utils/common-types.mjs +3 -1
- package/esm2020/ngx-utils/components/dynamic-table/dynamic-table.component.mjs +3 -3
- package/esm2020/ngx-utils/components/pagination-menu/pagination-menu.component.mjs +3 -3
- package/esm2020/ngx-utils/components/unordered-list/unordered-list.component.mjs +3 -3
- package/esm2020/ngx-utils/directives/async-method.base.mjs +3 -3
- package/esm2020/ngx-utils/directives/async-method.directive.mjs +3 -3
- package/esm2020/ngx-utils/directives/background.directive.mjs +3 -3
- package/esm2020/ngx-utils/directives/dynamic-table-template.directive.mjs +3 -3
- package/esm2020/ngx-utils/directives/global-template.directive.mjs +3 -3
- package/esm2020/ngx-utils/directives/icon.directive.mjs +3 -3
- package/esm2020/ngx-utils/directives/ngx-template-outlet.directive.mjs +3 -3
- package/esm2020/ngx-utils/directives/pagination-item.directive.mjs +3 -3
- package/esm2020/ngx-utils/directives/pagination.directive.mjs +3 -3
- package/esm2020/ngx-utils/directives/resource-if.directive.mjs +3 -3
- package/esm2020/ngx-utils/directives/sticky-class.directive.mjs +3 -3
- package/esm2020/ngx-utils/directives/sticky.directive.mjs +3 -3
- package/esm2020/ngx-utils/directives/unordered-list-item.directive.mjs +3 -3
- package/esm2020/ngx-utils/directives/unordered-list-template.directive.mjs +3 -3
- package/esm2020/ngx-utils/ngx-utils.imports.mjs +5 -1
- package/esm2020/ngx-utils/ngx-utils.module.mjs +15 -6
- package/esm2020/ngx-utils/pipes/chunk.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/entries.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/extra-item-properties.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/filter.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/find.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/format-number.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/get-offset.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/get-type.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/global-template.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/group-by.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/is-type.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/join.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/keys.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/map.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/max.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/min.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/pop.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/reduce.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/remap.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/replace.pipe.mjs +6 -5
- package/esm2020/ngx-utils/pipes/reverse.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/round.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/safe-html.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/shift.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/split.pipe.mjs +3 -3
- package/esm2020/ngx-utils/pipes/translate.pipe.mjs +4 -4
- package/esm2020/ngx-utils/pipes/values.pipe.mjs +3 -3
- package/esm2020/ngx-utils/plugins/resize-event.plugin.mjs +24 -9
- package/esm2020/ngx-utils/plugins/scroll-event.plugin.mjs +3 -3
- package/esm2020/ngx-utils/services/acl.service.mjs +3 -3
- package/esm2020/ngx-utils/services/api.service.mjs +3 -3
- package/esm2020/ngx-utils/services/base-http.client.mjs +3 -3
- package/esm2020/ngx-utils/services/base-http.service.mjs +12 -8
- package/esm2020/ngx-utils/services/config.service.mjs +3 -3
- package/esm2020/ngx-utils/services/error-handler.service.mjs +3 -3
- package/esm2020/ngx-utils/services/events.service.mjs +3 -3
- package/esm2020/ngx-utils/services/formatter.service.mjs +7 -6
- package/esm2020/ngx-utils/services/global-template.service.mjs +3 -3
- package/esm2020/ngx-utils/services/icon.service.mjs +3 -3
- package/esm2020/ngx-utils/services/language.service.mjs +3 -3
- package/esm2020/ngx-utils/services/local-http.service.mjs +47 -0
- package/esm2020/ngx-utils/services/open-api.service.mjs +3 -3
- package/esm2020/ngx-utils/services/promise.service.mjs +3 -3
- package/esm2020/ngx-utils/services/state.service.mjs +5 -5
- package/esm2020/ngx-utils/services/static-language.service.mjs +3 -3
- package/esm2020/ngx-utils/services/storage.service.mjs +3 -3
- package/esm2020/ngx-utils/services/toaster.service.mjs +3 -3
- package/esm2020/ngx-utils/services/translated-url.serializer.mjs +3 -3
- package/esm2020/ngx-utils/services/universal.service.mjs +5 -5
- package/esm2020/ngx-utils/services/wasm.service.mjs +46 -0
- package/esm2020/ngx-utils/utils/auth.guard.mjs +3 -3
- package/esm2020/ngx-utils/utils/date.utils.mjs +5 -4
- package/esm2020/ngx-utils/utils/jsonfn.mjs +45 -0
- package/esm2020/ngx-utils/utils/object.utils.mjs +3 -3
- package/esm2020/ngx-utils/utils/wasi.mjs +159 -0
- package/esm2020/ngx-utils/utils/wasm-worker-proxy.mjs +99 -0
- package/esm2020/public_api.mjs +5 -2
- package/fesm2015/stemy-ngx-utils.js +18 -5
- package/fesm2015/stemy-ngx-utils.js.map +1 -1
- package/fesm2015/stemy-ngx-utils.mjs +705 -288
- package/fesm2015/stemy-ngx-utils.mjs.map +1 -1
- package/fesm2020/stemy-ngx-utils.mjs +699 -286
- package/fesm2020/stemy-ngx-utils.mjs.map +1 -1
- package/ngx-utils/common-types.d.ts +7 -1
- package/ngx-utils/services/formatter.service.d.ts +1 -1
- package/ngx-utils/services/language.service.d.ts +3 -3
- package/ngx-utils/services/local-http.service.d.ts +14 -0
- package/ngx-utils/services/wasm.service.d.ts +25 -0
- package/ngx-utils/utils/jsonfn.d.ts +6 -0
- package/ngx-utils/utils/wasi.d.ts +26 -0
- package/ngx-utils/utils/wasm-worker-proxy.d.ts +17 -0
- package/package.json +1 -1
- package/public_api.d.ts +1 -1
- package/stemy-ngx-utils.metadata.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { InjectionToken, TemplateRef, PLATFORM_ID, Injectable, Inject, Optional, Injector, EventEmitter, isDevMode, ErrorHandler, NgZone, Pipe, Directive, Input, Output, HostBinding, HostListener, Component, ContentChildren, ViewChild, ContentChild, APP_INITIALIZER, NgModule } from '@angular/core';
|
|
3
3
|
import 'reflect-metadata';
|
|
4
|
-
import
|
|
4
|
+
import moment from 'moment';
|
|
5
5
|
import { first, skipWhile, mergeMap, timeout, map } from 'rxjs/operators';
|
|
6
6
|
import { Subject, BehaviorSubject, Observable, Subscription, from, TimeoutError, combineLatest } from 'rxjs';
|
|
7
7
|
import { Invokable } from 'invokable';
|
|
@@ -17,13 +17,13 @@ import { HttpClient, HttpHeaders, HttpParams, HttpUrlEncodingCodec, HttpEventTyp
|
|
|
17
17
|
import * as JSON5 from 'json5';
|
|
18
18
|
import * as i1$2 from '@angular/platform-browser';
|
|
19
19
|
import { ɵDomEventsPlugin, EVENT_MANAGER_PLUGINS } from '@angular/platform-browser';
|
|
20
|
-
import
|
|
20
|
+
import elementResizeDetectorMaker from 'element-resize-detector';
|
|
21
21
|
import * as i4 from '@angular/forms';
|
|
22
22
|
import { FormsModule } from '@angular/forms';
|
|
23
23
|
|
|
24
24
|
const defaultPredicate = () => true;
|
|
25
|
-
const hasBlob = typeof Blob !== "undefined";
|
|
26
|
-
const hasFile = typeof File !== "undefined";
|
|
25
|
+
const hasBlob = typeof Blob !== "undefined" && !!Blob;
|
|
26
|
+
const hasFile = typeof File !== "undefined" && !!File;
|
|
27
27
|
class ObjectUtils {
|
|
28
28
|
static compare(a, b) {
|
|
29
29
|
if ((a === null || b === null) || (typeof a != typeof b)) {
|
|
@@ -343,6 +343,7 @@ var StorageMode;
|
|
|
343
343
|
})(StorageMode || (StorageMode = {}));
|
|
344
344
|
const TOASTER_SERVICE = new InjectionToken("toaster-service");
|
|
345
345
|
const PROMISE_SERVICE = new InjectionToken("promise-service");
|
|
346
|
+
const WASI_IMPLEMENTATION = new InjectionToken("wasi-implementation");
|
|
346
347
|
// --- Unordered list ---
|
|
347
348
|
class UnorederedListTemplate extends TemplateRef {
|
|
348
349
|
}
|
|
@@ -432,6 +433,7 @@ const CONFIG_SERVICE = new InjectionToken("config-service");
|
|
|
432
433
|
const BASE_CONFIG = new InjectionToken("base-config");
|
|
433
434
|
const SCRIPT_PARAMS = new InjectionToken("script-params");
|
|
434
435
|
const ROOT_ELEMENT = new InjectionToken("app-root-element");
|
|
436
|
+
const RESIZE_DELAY = new InjectionToken("resize-event-delay");
|
|
435
437
|
const ERROR_HANDLER = new InjectionToken("error-handler-callback");
|
|
436
438
|
const GLOBAL_TEMPLATES = new InjectionToken("global-templates");
|
|
437
439
|
// --- Valued promise ---
|
|
@@ -488,13 +490,14 @@ class DateUtils {
|
|
|
488
490
|
static add(date, amount, unit) {
|
|
489
491
|
return moment(date).add(amount, unit).toDate();
|
|
490
492
|
}
|
|
491
|
-
static businessAdd(date, amount, unit) {
|
|
493
|
+
static businessAdd(date, amount, unit, freeDays = []) {
|
|
492
494
|
const signal = amount < 0 ? -1 : 1;
|
|
495
|
+
const freeMoments = freeDays.map(d => moment(d));
|
|
493
496
|
let remaining = Math.abs(amount);
|
|
494
497
|
let day = date;
|
|
495
498
|
while (remaining) {
|
|
496
499
|
day = DateUtils.add(day, signal, unit);
|
|
497
|
-
if (DateUtils.isBusinessDay(day)) {
|
|
500
|
+
if (DateUtils.isBusinessDay(day) && !freeMoments.some(m => m.isSame(day, "day"))) {
|
|
498
501
|
remaining--;
|
|
499
502
|
}
|
|
500
503
|
}
|
|
@@ -1174,6 +1177,51 @@ class Initializer {
|
|
|
1174
1177
|
}
|
|
1175
1178
|
}
|
|
1176
1179
|
|
|
1180
|
+
class JSONfn {
|
|
1181
|
+
static parse(text) {
|
|
1182
|
+
return JSON.parse(text, JSONfn.reviver);
|
|
1183
|
+
}
|
|
1184
|
+
static stringify(obj) {
|
|
1185
|
+
return JSON.stringify(obj, JSONfn.replacer);
|
|
1186
|
+
}
|
|
1187
|
+
static reviver(key, value) {
|
|
1188
|
+
const iso8061 = /^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:.\d+)?(?:Z|[+-]\d\d:\d\d)$/;
|
|
1189
|
+
if (typeof value !== "string")
|
|
1190
|
+
return value;
|
|
1191
|
+
if (value.length < 8) {
|
|
1192
|
+
return value;
|
|
1193
|
+
}
|
|
1194
|
+
if (value.match(iso8061)) {
|
|
1195
|
+
return new Date(value);
|
|
1196
|
+
}
|
|
1197
|
+
const prefix = value.substring(0, 8);
|
|
1198
|
+
if (prefix === "function") {
|
|
1199
|
+
return new Function(`return ${value}`)();
|
|
1200
|
+
}
|
|
1201
|
+
if (prefix === "_NuFrRa_") {
|
|
1202
|
+
return new Function(`return ${value.slice(8)}`)();
|
|
1203
|
+
}
|
|
1204
|
+
if (prefix === "_PxEgEr_") {
|
|
1205
|
+
return new Function(`return ${value.slice(8)}`)();
|
|
1206
|
+
}
|
|
1207
|
+
return value;
|
|
1208
|
+
}
|
|
1209
|
+
static replacer(key, value) {
|
|
1210
|
+
if (value instanceof Function || typeof value === "function") {
|
|
1211
|
+
const fnBody = value.toString();
|
|
1212
|
+
if (fnBody.length < 8 || fnBody.substring(0, 8) !== "function") {
|
|
1213
|
+
// this is ES6 Arrow Function
|
|
1214
|
+
return "_NuFrRa_" + fnBody;
|
|
1215
|
+
}
|
|
1216
|
+
return fnBody;
|
|
1217
|
+
}
|
|
1218
|
+
if (value instanceof RegExp) {
|
|
1219
|
+
return "_PxEgEr_" + value;
|
|
1220
|
+
}
|
|
1221
|
+
return value;
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1177
1225
|
class LoaderUtils {
|
|
1178
1226
|
static loadScript(src, async = false) {
|
|
1179
1227
|
this.scriptPromises[src] = this.scriptPromises[src] || new Promise((resolve, reject) => {
|
|
@@ -1281,7 +1329,7 @@ class UniversalService {
|
|
|
1281
1329
|
this.platformId = platformId;
|
|
1282
1330
|
this.dds = dds;
|
|
1283
1331
|
const info = this.dds.getDeviceInfo();
|
|
1284
|
-
this.crawler = /(bot|google|baidu|bing|msn|duckduckbot|teoma|slurp|yandex|lighthouse|angular-universal|PTST)/gi.test(info.userAgent);
|
|
1332
|
+
this.crawler = /(bot|google|baidu|bing|msn|duckduckbot|teoma|slurp|yandex|lighthouse|angular-universal|PTST|PostmanRuntime)/gi.test(info.userAgent);
|
|
1285
1333
|
}
|
|
1286
1334
|
get isBrowser() {
|
|
1287
1335
|
return isPlatformBrowser(this.platformId);
|
|
@@ -1337,9 +1385,9 @@ class UniversalService {
|
|
|
1337
1385
|
return this.crawler;
|
|
1338
1386
|
}
|
|
1339
1387
|
}
|
|
1340
|
-
UniversalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1341
|
-
UniversalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1342
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1388
|
+
UniversalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: UniversalService, deps: [{ token: PLATFORM_ID }, { token: i1.DeviceDetectorService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1389
|
+
UniversalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: UniversalService });
|
|
1390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: UniversalService, decorators: [{
|
|
1343
1391
|
type: Injectable
|
|
1344
1392
|
}], ctorParameters: function () {
|
|
1345
1393
|
return [{ type: undefined, decorators: [{
|
|
@@ -1361,11 +1409,12 @@ class StateService extends BehaviorSubject {
|
|
|
1361
1409
|
this.universal = universal;
|
|
1362
1410
|
this.router = router;
|
|
1363
1411
|
this.handleRouterEvent = (event) => {
|
|
1412
|
+
var _a;
|
|
1364
1413
|
if (!(event instanceof NavigationEnd))
|
|
1365
1414
|
return;
|
|
1366
1415
|
const routerStateSnapshot = this.router.routerState.snapshot;
|
|
1367
1416
|
let snapshot = routerStateSnapshot.root;
|
|
1368
|
-
let context = this.contexts.getContext("primary");
|
|
1417
|
+
let context = (_a = this.contexts) === null || _a === void 0 ? void 0 : _a.getContext("primary");
|
|
1369
1418
|
let segments = snapshot.url;
|
|
1370
1419
|
const components = [];
|
|
1371
1420
|
const snapshots = [];
|
|
@@ -1512,9 +1561,9 @@ class StateService extends BehaviorSubject {
|
|
|
1512
1561
|
return [url, extras];
|
|
1513
1562
|
}
|
|
1514
1563
|
}
|
|
1515
|
-
StateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1516
|
-
StateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1517
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1564
|
+
StateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: StateService, deps: [{ token: i0.Injector }, { token: i0.NgZone }, { token: UniversalService }, { token: i2.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1565
|
+
StateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: StateService });
|
|
1566
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: StateService, decorators: [{
|
|
1518
1567
|
type: Injectable
|
|
1519
1568
|
}], ctorParameters: function () {
|
|
1520
1569
|
return [{ type: i0.Injector }, { type: i0.NgZone }, { type: UniversalService }, { type: i2.Router, decorators: [{
|
|
@@ -1668,8 +1717,8 @@ class AuthGuard {
|
|
|
1668
1717
|
});
|
|
1669
1718
|
}
|
|
1670
1719
|
}
|
|
1671
|
-
AuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1672
|
-
AuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1720
|
+
AuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AuthGuard, deps: [{ token: Injector }, { token: StateService }, { token: AUTH_SERVICE }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1721
|
+
AuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AuthGuard });
|
|
1673
1722
|
__decorate([
|
|
1674
1723
|
FactoryDependencies(AUTH_SERVICE),
|
|
1675
1724
|
__metadata("design:type", Function),
|
|
@@ -1688,7 +1737,7 @@ __decorate([
|
|
|
1688
1737
|
__metadata("design:paramtypes", [Object, StateService, String]),
|
|
1689
1738
|
__metadata("design:returntype", Function)
|
|
1690
1739
|
], AuthGuard, "guardAuthStateField", null);
|
|
1691
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1740
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AuthGuard, decorators: [{
|
|
1692
1741
|
type: Injectable
|
|
1693
1742
|
}], ctorParameters: function () {
|
|
1694
1743
|
return [{ type: i0.Injector, decorators: [{
|
|
@@ -2081,83 +2130,105 @@ class Vector {
|
|
|
2081
2130
|
}
|
|
2082
2131
|
}
|
|
2083
2132
|
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
const
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2133
|
+
function workerFunction(JSONfn, logTimes) {
|
|
2134
|
+
let wasmResolve = null;
|
|
2135
|
+
const wasmInstance = new Promise(resolve => {
|
|
2136
|
+
wasmResolve = resolve;
|
|
2137
|
+
});
|
|
2138
|
+
self.onmessage = function (e) {
|
|
2139
|
+
const data = e.data;
|
|
2140
|
+
const { type, payload } = data;
|
|
2141
|
+
switch (type) {
|
|
2142
|
+
case "wasm":
|
|
2143
|
+
const { url, wasi } = payload;
|
|
2144
|
+
fetch(url).then(response => response.arrayBuffer()).then(bytes => {
|
|
2145
|
+
const wasiImpl = JSONfn.parse(wasi);
|
|
2146
|
+
return new wasiImpl().instantiate(bytes);
|
|
2147
|
+
}).then(instance => {
|
|
2148
|
+
wasmResolve(instance);
|
|
2149
|
+
const methods = Object.getOwnPropertyNames(instance).filter(key => typeof instance[key] === "function");
|
|
2150
|
+
self.postMessage({ type: "methods", payload: methods });
|
|
2151
|
+
});
|
|
2152
|
+
break;
|
|
2153
|
+
case "call":
|
|
2154
|
+
wasmInstance.then(instance => {
|
|
2155
|
+
const { name, id, args } = payload;
|
|
2156
|
+
if (logTimes) {
|
|
2157
|
+
console.time(id);
|
|
2158
|
+
console.timeLog(id, `Calling ${name} ...`);
|
|
2109
2159
|
}
|
|
2110
|
-
|
|
2111
|
-
|
|
2160
|
+
const func = instance[name];
|
|
2161
|
+
const result = func(...args);
|
|
2162
|
+
if (logTimes) {
|
|
2163
|
+
console.timeLog(id, `Called ${name}`);
|
|
2164
|
+
console.timeEnd(id);
|
|
2112
2165
|
}
|
|
2113
|
-
|
|
2114
|
-
}
|
|
2115
|
-
info.guard.getReturnState(info.route).then(returnState => {
|
|
2116
|
-
if (!returnState)
|
|
2117
|
-
return;
|
|
2118
|
-
this.state.navigate(returnState);
|
|
2166
|
+
self.postMessage({ type: "result", payload: { id, result } });
|
|
2119
2167
|
});
|
|
2120
|
-
|
|
2168
|
+
break;
|
|
2169
|
+
}
|
|
2170
|
+
};
|
|
2171
|
+
}
|
|
2172
|
+
class WasmWorkerProxy {
|
|
2173
|
+
constructor(wasmPath, wasi, logTimes = false) {
|
|
2174
|
+
this.methods = new Promise(resolve => {
|
|
2175
|
+
this.onMethods = resolve;
|
|
2121
2176
|
});
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2177
|
+
const lt = logTimes ? "true" : "false";
|
|
2178
|
+
const blob = new Blob([`${JSONfn.toString()} (${workerFunction.toString()})(JSONfn, ${lt})`], { type: 'application/javascript' });
|
|
2179
|
+
this.worker = new Worker(URL.createObjectURL(blob));
|
|
2180
|
+
this.worker.postMessage({
|
|
2181
|
+
type: "wasm",
|
|
2182
|
+
payload: { url: wasmPath, wasi: JSONfn.stringify(wasi), logTimes }
|
|
2183
|
+
});
|
|
2184
|
+
this.worker.onmessage = this.onMessage.bind(this);
|
|
2185
|
+
this.promises = new Map();
|
|
2186
|
+
return new Proxy(this, {
|
|
2187
|
+
get: (target, prop, receiver) => {
|
|
2188
|
+
const res = Reflect.get(target, prop, receiver);
|
|
2189
|
+
if (res) {
|
|
2190
|
+
return res;
|
|
2191
|
+
}
|
|
2192
|
+
return (...args) => {
|
|
2193
|
+
return this.call(prop.toString(), args);
|
|
2194
|
+
};
|
|
2129
2195
|
}
|
|
2130
2196
|
});
|
|
2131
2197
|
}
|
|
2132
|
-
|
|
2133
|
-
const
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2198
|
+
onMessage(e) {
|
|
2199
|
+
const data = e.data;
|
|
2200
|
+
const { type, payload } = data;
|
|
2201
|
+
switch (type) {
|
|
2202
|
+
case "methods":
|
|
2203
|
+
this.onMethods(payload);
|
|
2204
|
+
break;
|
|
2205
|
+
case "result":
|
|
2206
|
+
const { id, result } = payload;
|
|
2207
|
+
const promise = this.promises.get(id);
|
|
2208
|
+
if (promise) {
|
|
2209
|
+
promise.resolve(result);
|
|
2210
|
+
this.promises.delete(id);
|
|
2211
|
+
}
|
|
2212
|
+
break;
|
|
2146
2213
|
}
|
|
2147
|
-
info.component = this.state.component;
|
|
2148
|
-
return info;
|
|
2149
2214
|
}
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2215
|
+
call(method, args) {
|
|
2216
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2217
|
+
const methods = yield this.methods;
|
|
2218
|
+
if (!methods.includes(method)) {
|
|
2219
|
+
throw new Error(`Method ${method} not found`);
|
|
2220
|
+
}
|
|
2221
|
+
return new Promise((resolve, reject) => {
|
|
2222
|
+
const id = Math.random().toString(36).substring(2, 9);
|
|
2223
|
+
this.worker.postMessage({
|
|
2224
|
+
type: "call",
|
|
2225
|
+
payload: { name: method, id, args }
|
|
2226
|
+
});
|
|
2227
|
+
this.promises.set(id, { resolve, reject });
|
|
2228
|
+
});
|
|
2229
|
+
});
|
|
2230
|
+
}
|
|
2231
|
+
}
|
|
2161
2232
|
|
|
2162
2233
|
class BaseHttpClient extends HttpClient {
|
|
2163
2234
|
constructor(handler) {
|
|
@@ -2195,9 +2266,9 @@ class BaseHttpClient extends HttpClient {
|
|
|
2195
2266
|
this.extraRequestParams[name] = value;
|
|
2196
2267
|
}
|
|
2197
2268
|
}
|
|
2198
|
-
BaseHttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2199
|
-
BaseHttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2269
|
+
BaseHttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BaseHttpClient, deps: [{ token: i1$1.HttpHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2270
|
+
BaseHttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BaseHttpClient });
|
|
2271
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BaseHttpClient, decorators: [{
|
|
2201
2272
|
type: Injectable
|
|
2202
2273
|
}], ctorParameters: function () { return [{ type: i1$1.HttpHandler }]; } });
|
|
2203
2274
|
|
|
@@ -2239,9 +2310,9 @@ class StorageService {
|
|
|
2239
2310
|
storage.removeItem(key);
|
|
2240
2311
|
}
|
|
2241
2312
|
}
|
|
2242
|
-
StorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2243
|
-
StorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2244
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2313
|
+
StorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: StorageService, deps: [{ token: UniversalService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2314
|
+
StorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: StorageService });
|
|
2315
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: StorageService, decorators: [{
|
|
2245
2316
|
type: Injectable
|
|
2246
2317
|
}], ctorParameters: function () { return [{ type: UniversalService }]; } });
|
|
2247
2318
|
|
|
@@ -2256,6 +2327,7 @@ class BaseHttpService {
|
|
|
2256
2327
|
this.requestHeaders = {};
|
|
2257
2328
|
this.requestParams = {};
|
|
2258
2329
|
this.cache = {};
|
|
2330
|
+
this.initService();
|
|
2259
2331
|
}
|
|
2260
2332
|
get name() {
|
|
2261
2333
|
return "base";
|
|
@@ -2270,6 +2342,8 @@ class BaseHttpService {
|
|
|
2270
2342
|
get universal() {
|
|
2271
2343
|
return this.storage.universal;
|
|
2272
2344
|
}
|
|
2345
|
+
initService() {
|
|
2346
|
+
}
|
|
2273
2347
|
url(url) {
|
|
2274
2348
|
return url;
|
|
2275
2349
|
}
|
|
@@ -2434,15 +2508,16 @@ class BaseHttpService {
|
|
|
2434
2508
|
}
|
|
2435
2509
|
const headers = options.headers;
|
|
2436
2510
|
const authKey = "Authorization";
|
|
2437
|
-
// If an authorization header exists and we still have an Unauthorized response prompt the user to log in again
|
|
2511
|
+
// If an authorization header exists, and we still have an Unauthorized response prompt the user to log in again
|
|
2438
2512
|
if (headers.has(authKey) && response.status == 401) {
|
|
2439
2513
|
const pushed = this.pushFailedRequest(url, options, () => {
|
|
2440
2514
|
options.headers = this.makeHeaders(options.originalHeaders);
|
|
2441
2515
|
this.toPromise(url, options, listener).then(resolve, reject);
|
|
2442
2516
|
});
|
|
2443
|
-
if (pushed)
|
|
2517
|
+
if (pushed) {
|
|
2444
2518
|
this.handleUnauthorizedError(absoluteUrl, options, () => reject(response));
|
|
2445
|
-
|
|
2519
|
+
return;
|
|
2520
|
+
}
|
|
2446
2521
|
}
|
|
2447
2522
|
reject(response);
|
|
2448
2523
|
});
|
|
@@ -2450,7 +2525,7 @@ class BaseHttpService {
|
|
|
2450
2525
|
});
|
|
2451
2526
|
}
|
|
2452
2527
|
pushFailedRequest(url, options, req) {
|
|
2453
|
-
if (url.indexOf("
|
|
2528
|
+
if (url.indexOf("token") >= 0 || url === "user")
|
|
2454
2529
|
return false;
|
|
2455
2530
|
BaseHttpService.failedRequests.push(req);
|
|
2456
2531
|
return true;
|
|
@@ -2508,9 +2583,9 @@ class BaseHttpService {
|
|
|
2508
2583
|
}
|
|
2509
2584
|
}
|
|
2510
2585
|
BaseHttpService.failedRequests = [];
|
|
2511
|
-
BaseHttpService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2512
|
-
BaseHttpService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2513
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2586
|
+
BaseHttpService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BaseHttpService, deps: [{ token: BaseHttpClient }, { token: StorageService }, { token: LANGUAGE_SERVICE }, { token: TOASTER_SERVICE }, { token: CONFIG_SERVICE }, { token: EXPRESS_REQUEST, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2587
|
+
BaseHttpService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BaseHttpService });
|
|
2588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BaseHttpService, decorators: [{
|
|
2514
2589
|
type: Injectable
|
|
2515
2590
|
}], ctorParameters: function () {
|
|
2516
2591
|
return [{ type: BaseHttpClient, decorators: [{
|
|
@@ -2536,6 +2611,170 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
2536
2611
|
}] }];
|
|
2537
2612
|
} });
|
|
2538
2613
|
|
|
2614
|
+
class LocalHttpService extends BaseHttpService {
|
|
2615
|
+
get name() {
|
|
2616
|
+
return "local-http";
|
|
2617
|
+
}
|
|
2618
|
+
get withCredentials() {
|
|
2619
|
+
return false;
|
|
2620
|
+
}
|
|
2621
|
+
initService() {
|
|
2622
|
+
this.images = {};
|
|
2623
|
+
}
|
|
2624
|
+
url(url) {
|
|
2625
|
+
if (!url)
|
|
2626
|
+
return url;
|
|
2627
|
+
const config = this.configs.config;
|
|
2628
|
+
const baseUrl = config.cdnUrl || config.baseUrl || "";
|
|
2629
|
+
return url.startsWith("data:") || url.startsWith("http") || url.startsWith("//")
|
|
2630
|
+
? url
|
|
2631
|
+
: `${baseUrl}${url}`;
|
|
2632
|
+
}
|
|
2633
|
+
get(url, options) {
|
|
2634
|
+
this.cache[url] = this.cache[url] || this.getPromise(url, options);
|
|
2635
|
+
return this.cache[url];
|
|
2636
|
+
}
|
|
2637
|
+
getImage(url) {
|
|
2638
|
+
if (this.universal.isServer)
|
|
2639
|
+
return Promise.resolve(null);
|
|
2640
|
+
if (!url)
|
|
2641
|
+
return Promise.resolve(new Image());
|
|
2642
|
+
this.images[url] = this.images[url] || new Promise((resolve, reject) => {
|
|
2643
|
+
const image = new Image();
|
|
2644
|
+
image.crossOrigin = "Anonymous";
|
|
2645
|
+
image.src = this.url(url);
|
|
2646
|
+
image.onload = () => resolve(image);
|
|
2647
|
+
image.onerror = reject;
|
|
2648
|
+
});
|
|
2649
|
+
return this.images[url];
|
|
2650
|
+
}
|
|
2651
|
+
}
|
|
2652
|
+
LocalHttpService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: LocalHttpService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
2653
|
+
LocalHttpService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: LocalHttpService });
|
|
2654
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: LocalHttpService, decorators: [{
|
|
2655
|
+
type: Injectable
|
|
2656
|
+
}] });
|
|
2657
|
+
|
|
2658
|
+
/**
|
|
2659
|
+
* Use this service to load WebAssembly modules
|
|
2660
|
+
*/
|
|
2661
|
+
class WasmService {
|
|
2662
|
+
constructor(universal, http, wasi) {
|
|
2663
|
+
this.universal = universal;
|
|
2664
|
+
this.http = http;
|
|
2665
|
+
this.wasi = wasi.constructor;
|
|
2666
|
+
}
|
|
2667
|
+
getModule(name) {
|
|
2668
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2669
|
+
if (!this.universal.isBrowser || !name)
|
|
2670
|
+
return null;
|
|
2671
|
+
this.modules = this.modules || {};
|
|
2672
|
+
this.modules[name] = this.modules[name] || this.http.get(`wasm/${name}.wasm`, {
|
|
2673
|
+
responseType: "arraybuffer"
|
|
2674
|
+
}).then((bytes) => __awaiter(this, void 0, void 0, function* () {
|
|
2675
|
+
const wasi = new this.wasi();
|
|
2676
|
+
return yield wasi.instantiate(bytes);
|
|
2677
|
+
}));
|
|
2678
|
+
return this.modules[name];
|
|
2679
|
+
});
|
|
2680
|
+
}
|
|
2681
|
+
getWorkerModule(name) {
|
|
2682
|
+
if (!this.universal.isBrowser || !name)
|
|
2683
|
+
return null;
|
|
2684
|
+
this.workerModules = this.workerModules || {};
|
|
2685
|
+
this.workerModules[name] = new WasmWorkerProxy(this.http.url(`wasm/${name}.wasm`), this.wasi);
|
|
2686
|
+
return this.workerModules[name];
|
|
2687
|
+
}
|
|
2688
|
+
}
|
|
2689
|
+
WasmService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: WasmService, deps: [{ token: UniversalService }, { token: LocalHttpService }, { token: WASI_IMPLEMENTATION }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2690
|
+
WasmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: WasmService });
|
|
2691
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: WasmService, decorators: [{
|
|
2692
|
+
type: Injectable
|
|
2693
|
+
}], ctorParameters: function () {
|
|
2694
|
+
return [{ type: UniversalService }, { type: LocalHttpService }, { type: undefined, decorators: [{
|
|
2695
|
+
type: Inject,
|
|
2696
|
+
args: [WASI_IMPLEMENTATION]
|
|
2697
|
+
}] }];
|
|
2698
|
+
} });
|
|
2699
|
+
|
|
2700
|
+
const emptyGuards = [];
|
|
2701
|
+
class AclService {
|
|
2702
|
+
constructor(injector, state, auth) {
|
|
2703
|
+
this.injector = injector;
|
|
2704
|
+
this.state = state;
|
|
2705
|
+
this.auth = auth;
|
|
2706
|
+
this.components = [];
|
|
2707
|
+
this.auth.userChanged.subscribe(() => {
|
|
2708
|
+
this.components.forEach(t => t.dirty = true);
|
|
2709
|
+
const info = this.getStateInfo();
|
|
2710
|
+
const check = info && info.guard instanceof AuthGuard ? info.guard.checkRoute(info.route) : Promise.resolve(true);
|
|
2711
|
+
check.then(result => {
|
|
2712
|
+
if (result) {
|
|
2713
|
+
if (!info || !info.dirty)
|
|
2714
|
+
return;
|
|
2715
|
+
info.dirty = false;
|
|
2716
|
+
const component = info.component;
|
|
2717
|
+
if (!info.component)
|
|
2718
|
+
return;
|
|
2719
|
+
if (info.first) {
|
|
2720
|
+
if (ObjectUtils.isFunction(component.onUserInitialized)) {
|
|
2721
|
+
component.onUserInitialized();
|
|
2722
|
+
}
|
|
2723
|
+
info.first = false;
|
|
2724
|
+
return;
|
|
2725
|
+
}
|
|
2726
|
+
if (ObjectUtils.isFunction(component.onUserChanged)) {
|
|
2727
|
+
component.onUserChanged();
|
|
2728
|
+
}
|
|
2729
|
+
return;
|
|
2730
|
+
}
|
|
2731
|
+
info.guard.getReturnState(info.route).then(returnState => {
|
|
2732
|
+
if (!returnState)
|
|
2733
|
+
return;
|
|
2734
|
+
this.state.navigate(returnState);
|
|
2735
|
+
});
|
|
2736
|
+
});
|
|
2737
|
+
});
|
|
2738
|
+
this.state.subscribe(() => {
|
|
2739
|
+
const info = this.getStateInfo();
|
|
2740
|
+
if (!(info === null || info === void 0 ? void 0 : info.component))
|
|
2741
|
+
return;
|
|
2742
|
+
const component = info.component;
|
|
2743
|
+
if (ObjectUtils.isFunction(component.onUserInitialized)) {
|
|
2744
|
+
component.onUserInitialized();
|
|
2745
|
+
}
|
|
2746
|
+
});
|
|
2747
|
+
}
|
|
2748
|
+
getStateInfo() {
|
|
2749
|
+
const route = this.state.route;
|
|
2750
|
+
if (!route)
|
|
2751
|
+
return null;
|
|
2752
|
+
let info = this.components.find(t => t.route == this.state.route);
|
|
2753
|
+
if (!info) {
|
|
2754
|
+
const guardType = (route.canActivate || emptyGuards)[0];
|
|
2755
|
+
info = {
|
|
2756
|
+
route: this.state.route,
|
|
2757
|
+
guard: guardType ? this.injector.get(guardType) : null,
|
|
2758
|
+
dirty: true,
|
|
2759
|
+
first: true
|
|
2760
|
+
};
|
|
2761
|
+
this.components.push(info);
|
|
2762
|
+
}
|
|
2763
|
+
info.component = this.state.component;
|
|
2764
|
+
return info;
|
|
2765
|
+
}
|
|
2766
|
+
}
|
|
2767
|
+
AclService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AclService, deps: [{ token: i0.Injector }, { token: StateService }, { token: AUTH_SERVICE }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2768
|
+
AclService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AclService });
|
|
2769
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AclService, decorators: [{
|
|
2770
|
+
type: Injectable
|
|
2771
|
+
}], ctorParameters: function () {
|
|
2772
|
+
return [{ type: i0.Injector }, { type: StateService }, { type: undefined, decorators: [{
|
|
2773
|
+
type: Inject,
|
|
2774
|
+
args: [AUTH_SERVICE]
|
|
2775
|
+
}] }];
|
|
2776
|
+
} });
|
|
2777
|
+
|
|
2539
2778
|
class ApiService extends BaseHttpService {
|
|
2540
2779
|
get name() {
|
|
2541
2780
|
return "api";
|
|
@@ -2565,9 +2804,9 @@ class ApiService extends BaseHttpService {
|
|
|
2565
2804
|
return this.listPromise(url, params);
|
|
2566
2805
|
}
|
|
2567
2806
|
}
|
|
2568
|
-
ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2569
|
-
ApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2570
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2807
|
+
ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ApiService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
2808
|
+
ApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ApiService });
|
|
2809
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ApiService, decorators: [{
|
|
2571
2810
|
type: Injectable
|
|
2572
2811
|
}] });
|
|
2573
2812
|
|
|
@@ -2672,9 +2911,9 @@ class ConfigService {
|
|
|
2672
2911
|
return decodeURIComponent(results[2].replace(/\+/g, " "));
|
|
2673
2912
|
}
|
|
2674
2913
|
}
|
|
2675
|
-
ConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2676
|
-
ConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2677
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2914
|
+
ConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ConfigService, deps: [{ token: i1$1.HttpClient }, { token: UniversalService }, { token: i0.Injector }, { token: ROOT_ELEMENT }, { token: APP_BASE_URL }, { token: BASE_CONFIG, optional: true }, { token: SCRIPT_PARAMS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2915
|
+
ConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ConfigService });
|
|
2916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ConfigService, decorators: [{
|
|
2678
2917
|
type: Injectable
|
|
2679
2918
|
}], ctorParameters: function () {
|
|
2680
2919
|
return [{ type: i1$1.HttpClient }, { type: UniversalService }, { type: i0.Injector }, { type: undefined, decorators: [{
|
|
@@ -2735,9 +2974,9 @@ class ErrorHandlerService extends ErrorHandler {
|
|
|
2735
2974
|
console.error(`[${date}]: ${error.message}\n${error.stack}`);
|
|
2736
2975
|
}
|
|
2737
2976
|
}
|
|
2738
|
-
ErrorHandlerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2739
|
-
ErrorHandlerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2740
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2977
|
+
ErrorHandlerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ErrorHandlerService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2978
|
+
ErrorHandlerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ErrorHandlerService });
|
|
2979
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ErrorHandlerService, decorators: [{
|
|
2741
2980
|
type: Injectable
|
|
2742
2981
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
2743
2982
|
|
|
@@ -2759,9 +2998,9 @@ class EventsService {
|
|
|
2759
2998
|
this.stickyUpdated.emit(sticky);
|
|
2760
2999
|
}
|
|
2761
3000
|
}
|
|
2762
|
-
EventsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2763
|
-
EventsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2764
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3001
|
+
EventsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EventsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3002
|
+
EventsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EventsService });
|
|
3003
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EventsService, decorators: [{
|
|
2765
3004
|
type: Injectable
|
|
2766
3005
|
}], ctorParameters: function () { return []; } });
|
|
2767
3006
|
|
|
@@ -2781,12 +3020,13 @@ class FormatterService {
|
|
|
2781
3020
|
roundNumber(value, precision, divider) {
|
|
2782
3021
|
return MathUtils.round(value, this.getPrecision(precision), divider || this.defaultDivider);
|
|
2783
3022
|
}
|
|
2784
|
-
formatNumber(value, format, precision, divider) {
|
|
3023
|
+
formatNumber(value, format, precision, divider, minDigits) {
|
|
2785
3024
|
precision = this.getPrecision(precision);
|
|
3025
|
+
minDigits = minDigits !== null && minDigits !== void 0 ? minDigits : precision;
|
|
2786
3026
|
divider = divider || this.defaultDivider;
|
|
2787
3027
|
const num = ObjectUtils.isNumber(value) ? value : parseFloat(value) || 0;
|
|
2788
3028
|
const str = (num / divider).toLocaleString(this.language.currentLanguage, {
|
|
2789
|
-
minimumFractionDigits:
|
|
3029
|
+
minimumFractionDigits: minDigits,
|
|
2790
3030
|
maximumFractionDigits: precision,
|
|
2791
3031
|
useGrouping: false
|
|
2792
3032
|
});
|
|
@@ -2799,9 +3039,9 @@ class FormatterService {
|
|
|
2799
3039
|
return ObjectUtils.isNumber(precision) ? precision : this.defaultPrecision;
|
|
2800
3040
|
}
|
|
2801
3041
|
}
|
|
2802
|
-
FormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2803
|
-
FormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2804
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3042
|
+
FormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FormatterService, deps: [{ token: LANGUAGE_SERVICE }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3043
|
+
FormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FormatterService });
|
|
3044
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FormatterService, decorators: [{
|
|
2805
3045
|
type: Injectable
|
|
2806
3046
|
}], ctorParameters: function () {
|
|
2807
3047
|
return [{ type: undefined, decorators: [{
|
|
@@ -2838,9 +3078,9 @@ class GlobalTemplateService {
|
|
|
2838
3078
|
this.componentModifiers[id] = modifier;
|
|
2839
3079
|
}
|
|
2840
3080
|
}
|
|
2841
|
-
GlobalTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2842
|
-
GlobalTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2843
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3081
|
+
GlobalTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GlobalTemplateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3082
|
+
GlobalTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GlobalTemplateService });
|
|
3083
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GlobalTemplateService, decorators: [{
|
|
2844
3084
|
type: Injectable
|
|
2845
3085
|
}], ctorParameters: function () { return []; } });
|
|
2846
3086
|
|
|
@@ -2862,9 +3102,9 @@ class IconService {
|
|
|
2862
3102
|
return Promise.resolve(active ? activeIcon : icon);
|
|
2863
3103
|
}
|
|
2864
3104
|
}
|
|
2865
|
-
IconService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2866
|
-
IconService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2867
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3105
|
+
IconService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IconService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3106
|
+
IconService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IconService });
|
|
3107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IconService, decorators: [{
|
|
2868
3108
|
type: Injectable
|
|
2869
3109
|
}], ctorParameters: function () { return []; } });
|
|
2870
3110
|
|
|
@@ -3003,9 +3243,9 @@ class StaticLanguageService {
|
|
|
3003
3243
|
return browserLang;
|
|
3004
3244
|
}
|
|
3005
3245
|
}
|
|
3006
|
-
StaticLanguageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3007
|
-
StaticLanguageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3008
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3246
|
+
StaticLanguageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: StaticLanguageService, deps: [{ token: EventsService }, { token: StorageService }, { token: CONFIG_SERVICE }, { token: PROMISE_SERVICE }, { token: BaseHttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3247
|
+
StaticLanguageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: StaticLanguageService });
|
|
3248
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: StaticLanguageService, decorators: [{
|
|
3009
3249
|
type: Injectable
|
|
3010
3250
|
}], ctorParameters: function () {
|
|
3011
3251
|
return [{ type: EventsService, decorators: [{
|
|
@@ -3134,9 +3374,9 @@ class LanguageService extends StaticLanguageService {
|
|
|
3134
3374
|
return this.settingsPromise;
|
|
3135
3375
|
}
|
|
3136
3376
|
}
|
|
3137
|
-
LanguageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3138
|
-
LanguageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3377
|
+
LanguageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: LanguageService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
3378
|
+
LanguageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: LanguageService });
|
|
3379
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: LanguageService, decorators: [{
|
|
3140
3380
|
type: Injectable
|
|
3141
3381
|
}] });
|
|
3142
3382
|
|
|
@@ -3171,9 +3411,9 @@ class OpenApiService {
|
|
|
3171
3411
|
});
|
|
3172
3412
|
}
|
|
3173
3413
|
}
|
|
3174
|
-
OpenApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3175
|
-
OpenApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3414
|
+
OpenApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: OpenApiService, deps: [{ token: API_SERVICE }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3415
|
+
OpenApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: OpenApiService });
|
|
3416
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: OpenApiService, decorators: [{
|
|
3177
3417
|
type: Injectable
|
|
3178
3418
|
}], ctorParameters: function () {
|
|
3179
3419
|
return [{ type: undefined, decorators: [{
|
|
@@ -3202,9 +3442,9 @@ class ConsoleToasterService {
|
|
|
3202
3442
|
this.language.getTranslation(message, params).then(callback);
|
|
3203
3443
|
}
|
|
3204
3444
|
}
|
|
3205
|
-
ConsoleToasterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3206
|
-
ConsoleToasterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3207
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3445
|
+
ConsoleToasterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ConsoleToasterService, deps: [{ token: LANGUAGE_SERVICE }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3446
|
+
ConsoleToasterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ConsoleToasterService });
|
|
3447
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ConsoleToasterService, decorators: [{
|
|
3208
3448
|
type: Injectable
|
|
3209
3449
|
}], ctorParameters: function () {
|
|
3210
3450
|
return [{ type: undefined, decorators: [{
|
|
@@ -3273,9 +3513,9 @@ class TranslatedUrlSerializer extends DefaultUrlSerializer {
|
|
|
3273
3513
|
return newGroup;
|
|
3274
3514
|
}
|
|
3275
3515
|
}
|
|
3276
|
-
TranslatedUrlSerializer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3277
|
-
TranslatedUrlSerializer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3278
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3516
|
+
TranslatedUrlSerializer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TranslatedUrlSerializer, deps: [{ token: LANGUAGE_SERVICE }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3517
|
+
TranslatedUrlSerializer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TranslatedUrlSerializer });
|
|
3518
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TranslatedUrlSerializer, decorators: [{
|
|
3279
3519
|
type: Injectable
|
|
3280
3520
|
}], ctorParameters: function () {
|
|
3281
3521
|
return [{ type: undefined, decorators: [{
|
|
@@ -3328,9 +3568,9 @@ class PromiseService {
|
|
|
3328
3568
|
});
|
|
3329
3569
|
}
|
|
3330
3570
|
}
|
|
3331
|
-
PromiseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3332
|
-
PromiseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3333
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3571
|
+
PromiseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: PromiseService, deps: [{ token: NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3572
|
+
PromiseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: PromiseService });
|
|
3573
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: PromiseService, decorators: [{
|
|
3334
3574
|
type: Injectable
|
|
3335
3575
|
}], ctorParameters: function () {
|
|
3336
3576
|
return [{ type: i0.NgZone, decorators: [{
|
|
@@ -3344,9 +3584,13 @@ function emptyRemove$1() {
|
|
|
3344
3584
|
function isWindow(el) {
|
|
3345
3585
|
return typeof window !== "undefined" && el === window;
|
|
3346
3586
|
}
|
|
3587
|
+
const detector = elementResizeDetectorMaker({
|
|
3588
|
+
strategy: "scroll" // For ultra performance.
|
|
3589
|
+
});
|
|
3347
3590
|
class ResizeEventPlugin extends ɵDomEventsPlugin {
|
|
3348
|
-
constructor(doc, universal) {
|
|
3591
|
+
constructor(doc, resizeDelay, universal) {
|
|
3349
3592
|
super(doc);
|
|
3593
|
+
this.resizeDelay = resizeDelay;
|
|
3350
3594
|
this.universal = universal;
|
|
3351
3595
|
}
|
|
3352
3596
|
supports(eventName) {
|
|
@@ -3357,14 +3601,17 @@ class ResizeEventPlugin extends ɵDomEventsPlugin {
|
|
|
3357
3601
|
return zone.runOutsideAngular(() => {
|
|
3358
3602
|
if (this.universal.isServer)
|
|
3359
3603
|
return emptyRemove$1;
|
|
3604
|
+
const timer = TimerUtils.createTimeout();
|
|
3360
3605
|
const cb = el => {
|
|
3361
|
-
|
|
3606
|
+
timer.set(() => {
|
|
3607
|
+
zone.run(() => handler(el));
|
|
3608
|
+
}, this.resizeDelay);
|
|
3362
3609
|
};
|
|
3363
3610
|
if (isWindow(element)) {
|
|
3364
3611
|
element.addEventListener(eventName, cb);
|
|
3365
3612
|
}
|
|
3366
3613
|
else {
|
|
3367
|
-
detector.
|
|
3614
|
+
detector.listenTo(element, cb);
|
|
3368
3615
|
}
|
|
3369
3616
|
return () => {
|
|
3370
3617
|
try {
|
|
@@ -3372,24 +3619,30 @@ class ResizeEventPlugin extends ɵDomEventsPlugin {
|
|
|
3372
3619
|
element.removeEventListener(eventName, cb);
|
|
3373
3620
|
}
|
|
3374
3621
|
else {
|
|
3375
|
-
detector.
|
|
3622
|
+
detector.uninstall(element);
|
|
3376
3623
|
}
|
|
3377
3624
|
}
|
|
3378
3625
|
catch (e) {
|
|
3379
3626
|
}
|
|
3627
|
+
finally {
|
|
3628
|
+
timer.clear();
|
|
3629
|
+
}
|
|
3380
3630
|
};
|
|
3381
3631
|
});
|
|
3382
3632
|
}
|
|
3383
3633
|
}
|
|
3384
3634
|
ResizeEventPlugin.EVENT_NAME = "resize";
|
|
3385
|
-
ResizeEventPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3386
|
-
ResizeEventPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3387
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3635
|
+
ResizeEventPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ResizeEventPlugin, deps: [{ token: DOCUMENT }, { token: RESIZE_DELAY }, { token: UniversalService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3636
|
+
ResizeEventPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ResizeEventPlugin });
|
|
3637
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ResizeEventPlugin, decorators: [{
|
|
3388
3638
|
type: Injectable
|
|
3389
3639
|
}], ctorParameters: function () {
|
|
3390
3640
|
return [{ type: undefined, decorators: [{
|
|
3391
3641
|
type: Inject,
|
|
3392
3642
|
args: [DOCUMENT]
|
|
3643
|
+
}] }, { type: undefined, decorators: [{
|
|
3644
|
+
type: Inject,
|
|
3645
|
+
args: [RESIZE_DELAY]
|
|
3393
3646
|
}] }, { type: UniversalService }];
|
|
3394
3647
|
} });
|
|
3395
3648
|
|
|
@@ -3417,9 +3670,9 @@ class ScrollEventPlugin extends ɵDomEventsPlugin {
|
|
|
3417
3670
|
}
|
|
3418
3671
|
}
|
|
3419
3672
|
ScrollEventPlugin.EVENT_NAME = "scroll";
|
|
3420
|
-
ScrollEventPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3421
|
-
ScrollEventPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3422
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3673
|
+
ScrollEventPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ScrollEventPlugin, deps: [{ token: DOCUMENT }, { token: UniversalService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3674
|
+
ScrollEventPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ScrollEventPlugin });
|
|
3675
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ScrollEventPlugin, decorators: [{
|
|
3423
3676
|
type: Injectable
|
|
3424
3677
|
}], ctorParameters: function () {
|
|
3425
3678
|
return [{ type: undefined, decorators: [{
|
|
@@ -3442,9 +3695,9 @@ class ChunkPipe {
|
|
|
3442
3695
|
return result;
|
|
3443
3696
|
}
|
|
3444
3697
|
}
|
|
3445
|
-
ChunkPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3446
|
-
ChunkPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3698
|
+
ChunkPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ChunkPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3699
|
+
ChunkPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ChunkPipe, name: "chunk" });
|
|
3700
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ChunkPipe, decorators: [{
|
|
3448
3701
|
type: Pipe,
|
|
3449
3702
|
args: [{
|
|
3450
3703
|
name: "chunk"
|
|
@@ -3467,9 +3720,9 @@ class EntriesPipe {
|
|
|
3467
3720
|
return entries;
|
|
3468
3721
|
}
|
|
3469
3722
|
}
|
|
3470
|
-
EntriesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3471
|
-
EntriesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3472
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3723
|
+
EntriesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EntriesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3724
|
+
EntriesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EntriesPipe, name: "entries" });
|
|
3725
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EntriesPipe, decorators: [{
|
|
3473
3726
|
type: Pipe,
|
|
3474
3727
|
args: [{
|
|
3475
3728
|
name: "entries"
|
|
@@ -3495,9 +3748,9 @@ class ExtraItemPropertiesPipe {
|
|
|
3495
3748
|
}, Object.assign({}, item)));
|
|
3496
3749
|
}
|
|
3497
3750
|
}
|
|
3498
|
-
ExtraItemPropertiesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3499
|
-
ExtraItemPropertiesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3500
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3751
|
+
ExtraItemPropertiesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ExtraItemPropertiesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3752
|
+
ExtraItemPropertiesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ExtraItemPropertiesPipe, name: "extraItemProperties" });
|
|
3753
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ExtraItemPropertiesPipe, decorators: [{
|
|
3501
3754
|
type: Pipe,
|
|
3502
3755
|
args: [{
|
|
3503
3756
|
name: "extraItemProperties"
|
|
@@ -3534,9 +3787,9 @@ class FilterPipe {
|
|
|
3534
3787
|
});
|
|
3535
3788
|
}
|
|
3536
3789
|
}
|
|
3537
|
-
FilterPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3538
|
-
FilterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3539
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3790
|
+
FilterPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FilterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3791
|
+
FilterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FilterPipe, name: "filter" });
|
|
3792
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FilterPipe, decorators: [{
|
|
3540
3793
|
type: Pipe,
|
|
3541
3794
|
args: [{
|
|
3542
3795
|
name: "filter"
|
|
@@ -3560,9 +3813,9 @@ class FindPipe {
|
|
|
3560
3813
|
return values.find((value, index) => filterFunc(value, index, params));
|
|
3561
3814
|
}
|
|
3562
3815
|
}
|
|
3563
|
-
FindPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3564
|
-
FindPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3565
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3816
|
+
FindPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FindPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3817
|
+
FindPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FindPipe, name: "find" });
|
|
3818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FindPipe, decorators: [{
|
|
3566
3819
|
type: Pipe,
|
|
3567
3820
|
args: [{
|
|
3568
3821
|
name: "find"
|
|
@@ -3577,9 +3830,9 @@ class FormatNumberPipe {
|
|
|
3577
3830
|
return this.formatter.formatNumber(value, format, precision, divider);
|
|
3578
3831
|
}
|
|
3579
3832
|
}
|
|
3580
|
-
FormatNumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3581
|
-
FormatNumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3582
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3833
|
+
FormatNumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FormatNumberPipe, deps: [{ token: FormatterService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3834
|
+
FormatNumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FormatNumberPipe, name: "formatNumber" });
|
|
3835
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FormatNumberPipe, decorators: [{
|
|
3583
3836
|
type: Pipe,
|
|
3584
3837
|
args: [{
|
|
3585
3838
|
name: "formatNumber"
|
|
@@ -3591,9 +3844,9 @@ class GetOffsetPipe {
|
|
|
3591
3844
|
return value ? (ObjectUtils.isNullOrUndefined(offset) ? value : value[offset]) : null;
|
|
3592
3845
|
}
|
|
3593
3846
|
}
|
|
3594
|
-
GetOffsetPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3595
|
-
GetOffsetPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3596
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3847
|
+
GetOffsetPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GetOffsetPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3848
|
+
GetOffsetPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GetOffsetPipe, name: "getOffset" });
|
|
3849
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GetOffsetPipe, decorators: [{
|
|
3597
3850
|
type: Pipe,
|
|
3598
3851
|
args: [{
|
|
3599
3852
|
name: "getOffset"
|
|
@@ -3605,9 +3858,9 @@ class GetTypePipe {
|
|
|
3605
3858
|
return typeof value;
|
|
3606
3859
|
}
|
|
3607
3860
|
}
|
|
3608
|
-
GetTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3609
|
-
GetTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3610
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3861
|
+
GetTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GetTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3862
|
+
GetTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GetTypePipe, name: "getType" });
|
|
3863
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GetTypePipe, decorators: [{
|
|
3611
3864
|
type: Pipe,
|
|
3612
3865
|
args: [{
|
|
3613
3866
|
name: "getType"
|
|
@@ -3639,9 +3892,9 @@ class GlobalTemplatePipe {
|
|
|
3639
3892
|
return this.cachedTemplate;
|
|
3640
3893
|
}
|
|
3641
3894
|
}
|
|
3642
|
-
GlobalTemplatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3643
|
-
GlobalTemplatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3644
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3895
|
+
GlobalTemplatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GlobalTemplatePipe, deps: [{ token: GLOBAL_TEMPLATES }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3896
|
+
GlobalTemplatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GlobalTemplatePipe, name: "globalTemplate", pure: false });
|
|
3897
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GlobalTemplatePipe, decorators: [{
|
|
3645
3898
|
type: Pipe,
|
|
3646
3899
|
args: [{
|
|
3647
3900
|
pure: false,
|
|
@@ -3669,9 +3922,9 @@ class GroupByPipe {
|
|
|
3669
3922
|
});
|
|
3670
3923
|
}
|
|
3671
3924
|
}
|
|
3672
|
-
GroupByPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3673
|
-
GroupByPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3674
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3925
|
+
GroupByPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GroupByPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3926
|
+
GroupByPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GroupByPipe, name: "groupBy" });
|
|
3927
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GroupByPipe, decorators: [{
|
|
3675
3928
|
type: Pipe,
|
|
3676
3929
|
args: [{
|
|
3677
3930
|
name: "groupBy"
|
|
@@ -3683,9 +3936,9 @@ class IsTypePipe {
|
|
|
3683
3936
|
return (typeof value) === type;
|
|
3684
3937
|
}
|
|
3685
3938
|
}
|
|
3686
|
-
IsTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3687
|
-
IsTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3688
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3939
|
+
IsTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IsTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3940
|
+
IsTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IsTypePipe, name: "isType" });
|
|
3941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IsTypePipe, decorators: [{
|
|
3689
3942
|
type: Pipe,
|
|
3690
3943
|
args: [{
|
|
3691
3944
|
name: "isType"
|
|
@@ -3699,9 +3952,9 @@ class JoinPipe {
|
|
|
3699
3952
|
: "";
|
|
3700
3953
|
}
|
|
3701
3954
|
}
|
|
3702
|
-
JoinPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3703
|
-
JoinPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3704
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3955
|
+
JoinPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: JoinPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3956
|
+
JoinPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: JoinPipe, name: "join" });
|
|
3957
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: JoinPipe, decorators: [{
|
|
3705
3958
|
type: Pipe,
|
|
3706
3959
|
args: [{
|
|
3707
3960
|
name: "join"
|
|
@@ -3718,9 +3971,9 @@ class KeysPipe {
|
|
|
3718
3971
|
: Object.keys(value);
|
|
3719
3972
|
}
|
|
3720
3973
|
}
|
|
3721
|
-
KeysPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3722
|
-
KeysPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3723
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3974
|
+
KeysPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3975
|
+
KeysPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: KeysPipe, name: "keys" });
|
|
3976
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: KeysPipe, decorators: [{
|
|
3724
3977
|
type: Pipe,
|
|
3725
3978
|
args: [{
|
|
3726
3979
|
name: "keys"
|
|
@@ -3744,9 +3997,9 @@ class MapPipe {
|
|
|
3744
3997
|
return values.map((value, index) => mapperFunc(value, index, params));
|
|
3745
3998
|
}
|
|
3746
3999
|
}
|
|
3747
|
-
MapPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3748
|
-
MapPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3749
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4000
|
+
MapPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: MapPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4001
|
+
MapPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: MapPipe, name: "map" });
|
|
4002
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: MapPipe, decorators: [{
|
|
3750
4003
|
type: Pipe,
|
|
3751
4004
|
args: [{
|
|
3752
4005
|
name: "map"
|
|
@@ -3766,9 +4019,9 @@ class MaxPipe {
|
|
|
3766
4019
|
return ArrayUtils.max(value, (item, index) => maxSelector(item, index, params));
|
|
3767
4020
|
}
|
|
3768
4021
|
}
|
|
3769
|
-
MaxPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3770
|
-
MaxPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3771
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4022
|
+
MaxPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: MaxPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4023
|
+
MaxPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: MaxPipe, name: "max" });
|
|
4024
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: MaxPipe, decorators: [{
|
|
3772
4025
|
type: Pipe,
|
|
3773
4026
|
args: [{
|
|
3774
4027
|
name: "max"
|
|
@@ -3788,9 +4041,9 @@ class MinPipe {
|
|
|
3788
4041
|
return ArrayUtils.min(value, (item, index) => minSelector(item, index, params));
|
|
3789
4042
|
}
|
|
3790
4043
|
}
|
|
3791
|
-
MinPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3792
|
-
MinPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3793
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4044
|
+
MinPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: MinPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4045
|
+
MinPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: MinPipe, name: "min" });
|
|
4046
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: MinPipe, decorators: [{
|
|
3794
4047
|
type: Pipe,
|
|
3795
4048
|
args: [{
|
|
3796
4049
|
name: "min"
|
|
@@ -3802,9 +4055,9 @@ class PopPipe {
|
|
|
3802
4055
|
return !Array.isArray(value) ? null : Array.from(value).pop();
|
|
3803
4056
|
}
|
|
3804
4057
|
}
|
|
3805
|
-
PopPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3806
|
-
PopPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3807
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4058
|
+
PopPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: PopPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4059
|
+
PopPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: PopPipe, name: "pop" });
|
|
4060
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: PopPipe, decorators: [{
|
|
3808
4061
|
type: Pipe,
|
|
3809
4062
|
args: [{
|
|
3810
4063
|
name: "pop"
|
|
@@ -3829,9 +4082,9 @@ class ReducePipe {
|
|
|
3829
4082
|
return values.reduce((result, value, index) => mapperFunc(result, value, index, params), source);
|
|
3830
4083
|
}
|
|
3831
4084
|
}
|
|
3832
|
-
ReducePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3833
|
-
ReducePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3834
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4085
|
+
ReducePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ReducePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4086
|
+
ReducePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ReducePipe, name: "reduce" });
|
|
4087
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ReducePipe, decorators: [{
|
|
3835
4088
|
type: Pipe,
|
|
3836
4089
|
args: [{
|
|
3837
4090
|
name: "reduce"
|
|
@@ -3858,9 +4111,9 @@ class RemapPipe {
|
|
|
3858
4111
|
return remapped.map;
|
|
3859
4112
|
}
|
|
3860
4113
|
}
|
|
3861
|
-
RemapPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3862
|
-
RemapPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3863
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4114
|
+
RemapPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: RemapPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4115
|
+
RemapPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: RemapPipe, name: "remap" });
|
|
4116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: RemapPipe, decorators: [{
|
|
3864
4117
|
type: Pipe,
|
|
3865
4118
|
args: [{
|
|
3866
4119
|
name: "remap"
|
|
@@ -3869,12 +4122,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
3869
4122
|
|
|
3870
4123
|
class ReplacePipe {
|
|
3871
4124
|
transform(value, from, to) {
|
|
3872
|
-
return value ? value
|
|
4125
|
+
return ObjectUtils.isDefined(value) ? `${value}`.replace(from, to) : ``;
|
|
3873
4126
|
}
|
|
3874
4127
|
}
|
|
3875
|
-
ReplacePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3876
|
-
ReplacePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3877
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4128
|
+
ReplacePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ReplacePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4129
|
+
ReplacePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ReplacePipe, name: "replace" });
|
|
4130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ReplacePipe, decorators: [{
|
|
3878
4131
|
type: Pipe,
|
|
3879
4132
|
args: [{
|
|
3880
4133
|
name: "replace"
|
|
@@ -3893,9 +4146,9 @@ class ReversePipe {
|
|
|
3893
4146
|
return result;
|
|
3894
4147
|
}
|
|
3895
4148
|
}
|
|
3896
|
-
ReversePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3897
|
-
ReversePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3898
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4149
|
+
ReversePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ReversePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4150
|
+
ReversePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ReversePipe, name: "reverse" });
|
|
4151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ReversePipe, decorators: [{
|
|
3899
4152
|
type: Pipe,
|
|
3900
4153
|
args: [{
|
|
3901
4154
|
name: "reverse"
|
|
@@ -3910,9 +4163,9 @@ class RoundPipe {
|
|
|
3910
4163
|
return this.formatter.roundNumber(value, precision, divider);
|
|
3911
4164
|
}
|
|
3912
4165
|
}
|
|
3913
|
-
RoundPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3914
|
-
RoundPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3915
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4166
|
+
RoundPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: RoundPipe, deps: [{ token: FormatterService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4167
|
+
RoundPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: RoundPipe, name: "round" });
|
|
4168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: RoundPipe, decorators: [{
|
|
3916
4169
|
type: Pipe,
|
|
3917
4170
|
args: [{
|
|
3918
4171
|
name: "round"
|
|
@@ -3940,9 +4193,9 @@ class SafeHtmlPipe {
|
|
|
3940
4193
|
}
|
|
3941
4194
|
}
|
|
3942
4195
|
}
|
|
3943
|
-
SafeHtmlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3944
|
-
SafeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3945
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4196
|
+
SafeHtmlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SafeHtmlPipe, deps: [{ token: i1$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4197
|
+
SafeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SafeHtmlPipe, name: "safe" });
|
|
4198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SafeHtmlPipe, decorators: [{
|
|
3946
4199
|
type: Pipe,
|
|
3947
4200
|
args: [{
|
|
3948
4201
|
name: "safe"
|
|
@@ -3954,9 +4207,9 @@ class ShiftPipe {
|
|
|
3954
4207
|
return !Array.isArray(value) ? null : Array.from(value).shift();
|
|
3955
4208
|
}
|
|
3956
4209
|
}
|
|
3957
|
-
ShiftPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3958
|
-
ShiftPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3959
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4210
|
+
ShiftPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ShiftPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4211
|
+
ShiftPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ShiftPipe, name: "shift" });
|
|
4212
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ShiftPipe, decorators: [{
|
|
3960
4213
|
type: Pipe,
|
|
3961
4214
|
args: [{
|
|
3962
4215
|
name: "shift"
|
|
@@ -3968,9 +4221,9 @@ class SplitPipe {
|
|
|
3968
4221
|
return `${value}`.split(separator);
|
|
3969
4222
|
}
|
|
3970
4223
|
}
|
|
3971
|
-
SplitPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3972
|
-
SplitPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3973
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4224
|
+
SplitPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SplitPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4225
|
+
SplitPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SplitPipe, name: "split" });
|
|
4226
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SplitPipe, decorators: [{
|
|
3974
4227
|
type: Pipe,
|
|
3975
4228
|
args: [{
|
|
3976
4229
|
name: "split"
|
|
@@ -4043,10 +4296,10 @@ class TranslatePipe {
|
|
|
4043
4296
|
return this.lastValue;
|
|
4044
4297
|
}
|
|
4045
4298
|
}
|
|
4046
|
-
TranslatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4047
|
-
TranslatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
4048
|
-
TranslatePipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
4049
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4299
|
+
TranslatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TranslatePipe, deps: [{ token: i0.ChangeDetectorRef }, { token: LANGUAGE_SERVICE }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4300
|
+
TranslatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TranslatePipe, name: "translate", pure: false });
|
|
4301
|
+
TranslatePipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TranslatePipe });
|
|
4302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TranslatePipe, decorators: [{
|
|
4050
4303
|
type: Injectable
|
|
4051
4304
|
}, {
|
|
4052
4305
|
type: Pipe,
|
|
@@ -4071,9 +4324,9 @@ class ValuesPipe {
|
|
|
4071
4324
|
: Object.keys(value).map(key => value[key]);
|
|
4072
4325
|
}
|
|
4073
4326
|
}
|
|
4074
|
-
ValuesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4075
|
-
ValuesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
4076
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4327
|
+
ValuesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ValuesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4328
|
+
ValuesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ValuesPipe, name: "values" });
|
|
4329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ValuesPipe, decorators: [{
|
|
4077
4330
|
type: Pipe,
|
|
4078
4331
|
args: [{
|
|
4079
4332
|
name: "values"
|
|
@@ -4126,9 +4379,9 @@ class AsyncMethodBase {
|
|
|
4126
4379
|
return true;
|
|
4127
4380
|
}
|
|
4128
4381
|
}
|
|
4129
|
-
AsyncMethodBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4130
|
-
AsyncMethodBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4131
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4382
|
+
AsyncMethodBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AsyncMethodBase, deps: [{ token: TOASTER_SERVICE }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4383
|
+
AsyncMethodBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: AsyncMethodBase, selector: "[__asmb__]", inputs: { disabled: "disabled", context: "context" }, outputs: { onSuccess: "onSuccess", onError: "onError" }, host: { listeners: { "click": "click()" }, properties: { "class.disabled": "this.isDisabled", "class.loading": "this.isLoading" } }, ngImport: i0 });
|
|
4384
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AsyncMethodBase, decorators: [{
|
|
4132
4385
|
type: Directive,
|
|
4133
4386
|
args: [{
|
|
4134
4387
|
selector: "[__asmb__]"
|
|
@@ -4162,9 +4415,9 @@ class AsyncMethodDirective extends AsyncMethodBase {
|
|
|
4162
4415
|
return this.method;
|
|
4163
4416
|
}
|
|
4164
4417
|
}
|
|
4165
|
-
AsyncMethodDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4166
|
-
AsyncMethodDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4167
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4418
|
+
AsyncMethodDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AsyncMethodDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4419
|
+
AsyncMethodDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: AsyncMethodDirective, selector: "[async-method]", inputs: { method: ["async-method", "method"] }, exportAs: ["async-method"], usesInheritance: true, ngImport: i0 });
|
|
4420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AsyncMethodDirective, decorators: [{
|
|
4168
4421
|
type: Directive,
|
|
4169
4422
|
args: [{
|
|
4170
4423
|
selector: "[async-method]",
|
|
@@ -4206,9 +4459,9 @@ class BackgroundDirective {
|
|
|
4206
4459
|
this.renderer.setStyle(this.element.nativeElement, "background-size", this.backgroundSize);
|
|
4207
4460
|
}
|
|
4208
4461
|
}
|
|
4209
|
-
BackgroundDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4210
|
-
BackgroundDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4211
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4462
|
+
BackgroundDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BackgroundDirective, deps: [{ token: i1$1.HttpClient }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: UniversalService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4463
|
+
BackgroundDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: BackgroundDirective, selector: "[background]", inputs: { background: "background", backgroundSize: "backgroundSize" }, usesOnChanges: true, ngImport: i0 });
|
|
4464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BackgroundDirective, decorators: [{
|
|
4212
4465
|
type: Directive,
|
|
4213
4466
|
args: [{
|
|
4214
4467
|
selector: "[background]"
|
|
@@ -4224,9 +4477,9 @@ class DynamicTableTemplateDirective {
|
|
|
4224
4477
|
this.ref = ref;
|
|
4225
4478
|
}
|
|
4226
4479
|
}
|
|
4227
|
-
DynamicTableTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4228
|
-
DynamicTableTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4229
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4480
|
+
DynamicTableTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DynamicTableTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4481
|
+
DynamicTableTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: DynamicTableTemplateDirective, selector: "ng-template[column]", inputs: { column: "column", pure: "pure" }, ngImport: i0 });
|
|
4482
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DynamicTableTemplateDirective, decorators: [{
|
|
4230
4483
|
type: Directive,
|
|
4231
4484
|
args: [{
|
|
4232
4485
|
selector: "ng-template[column]"
|
|
@@ -4249,9 +4502,9 @@ class GlobalTemplateDirective {
|
|
|
4249
4502
|
this.globalTemplates.remove(this.id);
|
|
4250
4503
|
}
|
|
4251
4504
|
}
|
|
4252
|
-
GlobalTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4253
|
-
GlobalTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4254
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4505
|
+
GlobalTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GlobalTemplateDirective, deps: [{ token: GLOBAL_TEMPLATES }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4506
|
+
GlobalTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: GlobalTemplateDirective, selector: "[globalTemplate]", inputs: { id: ["globalTemplate", "id"] }, ngImport: i0 });
|
|
4507
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GlobalTemplateDirective, decorators: [{
|
|
4255
4508
|
type: Directive,
|
|
4256
4509
|
args: [{
|
|
4257
4510
|
selector: "[globalTemplate]"
|
|
@@ -4304,9 +4557,9 @@ class IconDirective {
|
|
|
4304
4557
|
});
|
|
4305
4558
|
}
|
|
4306
4559
|
}
|
|
4307
|
-
IconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4308
|
-
IconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4309
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4560
|
+
IconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IconDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: ICON_SERVICE }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4561
|
+
IconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: IconDirective, selector: "[icon]", inputs: { icon: "icon", activeIcon: "activeIcon", active: "active" }, outputs: { activeChange: "activeChange" }, host: { listeners: { "click": "click()" }, properties: { "class.active": "this.isActive" } }, usesOnChanges: true, ngImport: i0 });
|
|
4562
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IconDirective, decorators: [{
|
|
4310
4563
|
type: Directive,
|
|
4311
4564
|
args: [{
|
|
4312
4565
|
selector: "[icon]"
|
|
@@ -4404,9 +4657,9 @@ class NgxTemplateOutletDirective {
|
|
|
4404
4657
|
}
|
|
4405
4658
|
}
|
|
4406
4659
|
}
|
|
4407
|
-
NgxTemplateOutletDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4408
|
-
NgxTemplateOutletDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4409
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4660
|
+
NgxTemplateOutletDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: NgxTemplateOutletDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4661
|
+
NgxTemplateOutletDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: NgxTemplateOutletDirective, selector: "[ngxTemplateOutlet]", inputs: { context: "context", additionalContext: "additionalContext", ngxTemplateOutlet: "ngxTemplateOutlet" }, usesOnChanges: true, ngImport: i0 });
|
|
4662
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: NgxTemplateOutletDirective, decorators: [{
|
|
4410
4663
|
type: Directive,
|
|
4411
4664
|
args: [{
|
|
4412
4665
|
selector: "[ngxTemplateOutlet]"
|
|
@@ -4473,9 +4726,9 @@ class PaginationDirective {
|
|
|
4473
4726
|
});
|
|
4474
4727
|
}
|
|
4475
4728
|
}
|
|
4476
|
-
PaginationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4477
|
-
PaginationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4478
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4729
|
+
PaginationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: PaginationDirective, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4730
|
+
PaginationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: PaginationDirective, selector: "[pagination]", inputs: { loader: ["pagination", "loader"], page: "page", itemsPerPage: "itemsPerPage", updateTime: "updateTime", waitFor: "waitFor" }, outputs: { pageChange: "pageChange", onRefresh: "onRefresh" }, exportAs: ["pagination"], usesOnChanges: true, ngImport: i0 });
|
|
4731
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: PaginationDirective, decorators: [{
|
|
4479
4732
|
type: Directive,
|
|
4480
4733
|
args: [{
|
|
4481
4734
|
selector: "[pagination]",
|
|
@@ -4518,9 +4771,9 @@ class PaginationItemDirective {
|
|
|
4518
4771
|
});
|
|
4519
4772
|
}
|
|
4520
4773
|
}
|
|
4521
|
-
PaginationItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4522
|
-
PaginationItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4523
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4774
|
+
PaginationItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: PaginationItemDirective, deps: [{ token: PaginationDirective }, { token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4775
|
+
PaginationItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: PaginationItemDirective, selector: "[paginationItem]", ngImport: i0 });
|
|
4776
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: PaginationItemDirective, decorators: [{
|
|
4524
4777
|
type: Directive,
|
|
4525
4778
|
args: [{
|
|
4526
4779
|
selector: "[paginationItem]"
|
|
@@ -4557,9 +4810,9 @@ class ResourceIfDirective {
|
|
|
4557
4810
|
}
|
|
4558
4811
|
}
|
|
4559
4812
|
}
|
|
4560
|
-
ResourceIfDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4561
|
-
ResourceIfDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4562
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4813
|
+
ResourceIfDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ResourceIfDirective, deps: [{ token: i1$1.HttpClient }, { token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: UniversalService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4814
|
+
ResourceIfDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: ResourceIfDirective, selector: "[resourceIf]", inputs: { resourceIf: "resourceIf" }, exportAs: ["resourceIf"], ngImport: i0 });
|
|
4815
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ResourceIfDirective, decorators: [{
|
|
4563
4816
|
type: Directive,
|
|
4564
4817
|
args: [{
|
|
4565
4818
|
selector: "[resourceIf]",
|
|
@@ -4598,9 +4851,9 @@ class StickyDirective {
|
|
|
4598
4851
|
this.updateTimer.run();
|
|
4599
4852
|
}
|
|
4600
4853
|
}
|
|
4601
|
-
StickyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4602
|
-
StickyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4603
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4854
|
+
StickyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: StickyDirective, deps: [{ token: i0.ChangeDetectorRef }, { token: EventsService }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4855
|
+
StickyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: StickyDirective, selector: "[sticky]", host: { listeners: { "window:resize": "updateSticky()", "window:scroll": "updateSticky()" }, properties: { "class.sticky": "this.isSticky", "class.sticky-update": "this.isUpdating" } }, ngImport: i0 });
|
|
4856
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: StickyDirective, decorators: [{
|
|
4604
4857
|
type: Directive,
|
|
4605
4858
|
args: [{
|
|
4606
4859
|
selector: "[sticky]"
|
|
@@ -4638,9 +4891,9 @@ class StickyClassDirective {
|
|
|
4638
4891
|
this.stickyUpdated.unsubscribe();
|
|
4639
4892
|
}
|
|
4640
4893
|
}
|
|
4641
|
-
StickyClassDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4642
|
-
StickyClassDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4643
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4894
|
+
StickyClassDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: StickyClassDirective, deps: [{ token: EventsService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4895
|
+
StickyClassDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: StickyClassDirective, selector: "[stickyClass]", inputs: { stickyClass: "stickyClass" }, ngImport: i0 });
|
|
4896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: StickyClassDirective, decorators: [{
|
|
4644
4897
|
type: Directive,
|
|
4645
4898
|
args: [{
|
|
4646
4899
|
selector: "[stickyClass]"
|
|
@@ -4695,9 +4948,9 @@ class UnorderedListItemDirective {
|
|
|
4695
4948
|
this.item.classList.push(className);
|
|
4696
4949
|
}
|
|
4697
4950
|
}
|
|
4698
|
-
UnorderedListItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4699
|
-
UnorderedListItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4700
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4951
|
+
UnorderedListItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: UnorderedListItemDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4952
|
+
UnorderedListItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: UnorderedListItemDirective, selector: "[unorderedListItem]", inputs: { item: ["unorderedListItem", "item"], type: "type", data: "data", keyPrefix: "keyPrefix", listStyle: "listStyle", path: "path", level: "level", templates: "templates", defaultTemplates: "defaultTemplates" }, usesOnChanges: true, ngImport: i0 });
|
|
4953
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: UnorderedListItemDirective, decorators: [{
|
|
4701
4954
|
type: Directive,
|
|
4702
4955
|
args: [{
|
|
4703
4956
|
selector: "[unorderedListItem]"
|
|
@@ -4733,9 +4986,9 @@ class UnorderedListTemplateDirective extends UnorederedListTemplate {
|
|
|
4733
4986
|
return this.templateRef.createEmbeddedView(context);
|
|
4734
4987
|
}
|
|
4735
4988
|
}
|
|
4736
|
-
UnorderedListTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4737
|
-
UnorderedListTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4738
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4989
|
+
UnorderedListTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: UnorderedListTemplateDirective, deps: [{ token: i0.ElementRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4990
|
+
UnorderedListTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: UnorderedListTemplateDirective, selector: "ng-template[type][selector]", inputs: { type: "type", selector: "selector" }, usesInheritance: true, ngImport: i0 });
|
|
4991
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: UnorderedListTemplateDirective, decorators: [{
|
|
4739
4992
|
type: Directive,
|
|
4740
4993
|
args: [{
|
|
4741
4994
|
selector: "ng-template[type][selector]"
|
|
@@ -4772,9 +5025,9 @@ class UnorderedListComponent {
|
|
|
4772
5025
|
this.cdr.detectChanges();
|
|
4773
5026
|
}
|
|
4774
5027
|
}
|
|
4775
|
-
UnorderedListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4776
|
-
UnorderedListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
4777
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5028
|
+
UnorderedListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: UnorderedListComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
5029
|
+
UnorderedListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: UnorderedListComponent, selector: "unordered-list", inputs: { data: "data", keyPrefix: "keyPrefix", listStyle: "listStyle", path: "path", level: "level", templates: "templates" }, queries: [{ propertyName: "templateDirectives", predicate: UnorderedListTemplateDirective }], viewQueries: [{ propertyName: "defaultKeyTemplate", first: true, predicate: ["defaultKeyTemplate"], descendants: true }, { propertyName: "defaultValueTemplate", first: true, predicate: ["defaultValueTemplate"], descendants: true }, { propertyName: "defaultItemTemplate", first: true, predicate: ["defaultItemTemplate"], descendants: true }], usesOnChanges: true, ngImport: i0, 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>\r\n <span [innerHTML]=\"val\"></span>\r\n </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 <span [innerHTML]=\"data\"></span>\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", components: [{ type: UnorderedListComponent, selector: "unordered-list", inputs: ["data", "keyPrefix", "listStyle", "path", "level", "templates"] }], directives: [{ type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: UnorderedListItemDirective, selector: "[unorderedListItem]", inputs: ["unorderedListItem", "type", "data", "keyPrefix", "listStyle", "path", "level", "templates", "defaultTemplates"] }, { type: i1$3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i1$3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i1$3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1$3.NgSwitchDefault, selector: "[ngSwitchDefault]" }], pipes: { "translate": TranslatePipe, "entries": EntriesPipe } });
|
|
5030
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: UnorderedListComponent, decorators: [{
|
|
4778
5031
|
type: Component,
|
|
4779
5032
|
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>\r\n <span [innerHTML]=\"val\"></span>\r\n </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 <span [innerHTML]=\"data\"></span>\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" }]
|
|
4780
5033
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { data: [{
|
|
@@ -4876,9 +5129,9 @@ class PaginationMenuComponent {
|
|
|
4876
5129
|
this.pages = pages;
|
|
4877
5130
|
}
|
|
4878
5131
|
}
|
|
4879
|
-
PaginationMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4880
|
-
PaginationMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
4881
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5132
|
+
PaginationMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: PaginationMenuComponent, deps: [{ token: StateService }, { token: PaginationDirective }, { token: ICON_SERVICE }], target: i0.ɵɵFactoryTarget.Component });
|
|
5133
|
+
PaginationMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: PaginationMenuComponent, selector: "pagination-menu", inputs: { maxSize: "maxSize", urlParam: "urlParam", directionLinks: "directionLinks", boundaryLinks: "boundaryLinks" }, usesOnChanges: true, ngImport: i0, 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", directives: [{ type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "safe": SafeHtmlPipe } });
|
|
5134
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: PaginationMenuComponent, decorators: [{
|
|
4882
5135
|
type: Component,
|
|
4883
5136
|
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" }]
|
|
4884
5137
|
}], ctorParameters: function () {
|
|
@@ -4997,9 +5250,9 @@ class DynamicTableComponent {
|
|
|
4997
5250
|
});
|
|
4998
5251
|
}
|
|
4999
5252
|
}
|
|
5000
|
-
DynamicTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5001
|
-
DynamicTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
5002
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5253
|
+
DynamicTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DynamicTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5254
|
+
DynamicTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.4.0", type: DynamicTableComponent, selector: "dynamic-table", 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" }, queries: [{ propertyName: "rowTemplate", first: true, predicate: ["rowTemplate"], descendants: true, static: true }, { propertyName: "wrapperTemplate", first: true, predicate: ["wrapperTemplate"], descendants: true, static: true }, { propertyName: "filterTemplate", first: true, predicate: ["filterTemplate"], descendants: true, static: true }, { propertyName: "templateDirectives", predicate: DynamicTableTemplateDirective }], viewQueries: [{ propertyName: "columnsTemplate", first: true, predicate: ["columnsTemplate"], descendants: true, static: true }, { propertyName: "defaultRowTemplate", first: true, predicate: ["defaultRowTemplate"], descendants: true, static: true }, { propertyName: "defaultWrapperTemplate", first: true, predicate: ["defaultWrapperTemplate"], descendants: true, static: true }, { propertyName: "defaultFilterTemplate", first: true, predicate: ["defaultFilterTemplate"], descendants: true, static: true }, { propertyName: "pagination", first: true, predicate: ["pagination"], descendants: true }], usesOnChanges: true, ngImport: i0, 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", components: [{ type: PaginationMenuComponent, selector: "pagination-menu", inputs: ["maxSize", "urlParam", "directionLinks", "boundaryLinks"] }], directives: [{ type: PaginationDirective, selector: "[pagination]", inputs: ["pagination", "page", "itemsPerPage", "updateTime", "waitFor"], outputs: ["pageChange", "onRefresh"], exportAs: ["pagination"] }, { type: i1$3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: NgxTemplateOutletDirective, selector: "[ngxTemplateOutlet]", inputs: ["context", "additionalContext", "ngxTemplateOutlet"] }, { type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1$3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: IconDirective, selector: "[icon]", inputs: ["icon", "activeIcon", "active"], outputs: ["activeChange"] }, { type: PaginationItemDirective, selector: "[paginationItem]" }], pipes: { "translate": TranslatePipe } });
|
|
5255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DynamicTableComponent, decorators: [{
|
|
5003
5256
|
type: Component,
|
|
5004
5257
|
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" }]
|
|
5005
5258
|
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
@@ -5127,6 +5380,7 @@ const providers = [
|
|
|
5127
5380
|
GlobalTemplateService,
|
|
5128
5381
|
IconService,
|
|
5129
5382
|
LanguageService,
|
|
5383
|
+
LocalHttpService,
|
|
5130
5384
|
OpenApiService,
|
|
5131
5385
|
PromiseService,
|
|
5132
5386
|
StateService,
|
|
@@ -5135,6 +5389,7 @@ const providers = [
|
|
|
5135
5389
|
ConsoleToasterService,
|
|
5136
5390
|
TranslatedUrlSerializer,
|
|
5137
5391
|
UniversalService,
|
|
5392
|
+
WasmService,
|
|
5138
5393
|
DeviceDetectorService,
|
|
5139
5394
|
{
|
|
5140
5395
|
provide: EVENT_MANAGER_PLUGINS,
|
|
@@ -5159,6 +5414,159 @@ function loadConfig(config) {
|
|
|
5159
5414
|
return config.load;
|
|
5160
5415
|
}
|
|
5161
5416
|
|
|
5417
|
+
class Wasi {
|
|
5418
|
+
constructor() {
|
|
5419
|
+
this.env = {};
|
|
5420
|
+
this.instantiated = false;
|
|
5421
|
+
this.wasi = [
|
|
5422
|
+
"emscripten_notify_memory_growth",
|
|
5423
|
+
"proc_exit",
|
|
5424
|
+
"environ_get",
|
|
5425
|
+
"environ_sizes_get",
|
|
5426
|
+
"fd_close",
|
|
5427
|
+
"fd_write",
|
|
5428
|
+
"fd_read",
|
|
5429
|
+
"fd_seek",
|
|
5430
|
+
].reduce((res, key) => {
|
|
5431
|
+
if (typeof this[key] === "function") {
|
|
5432
|
+
res[key] = this[key].bind(this);
|
|
5433
|
+
}
|
|
5434
|
+
return res;
|
|
5435
|
+
}, {});
|
|
5436
|
+
}
|
|
5437
|
+
instantiate(bytes) {
|
|
5438
|
+
if (this.instantiated) {
|
|
5439
|
+
throw new Error("WASI already instantiated");
|
|
5440
|
+
}
|
|
5441
|
+
this.instantiated = true;
|
|
5442
|
+
return WebAssembly.instantiate(bytes, {
|
|
5443
|
+
wasi_snapshot_preview1: this.wasi,
|
|
5444
|
+
env: this.wasi
|
|
5445
|
+
}).then(module => {
|
|
5446
|
+
const exports = module.instance.exports;
|
|
5447
|
+
this.wasm = Object.assign(Object.assign({}, exports), { writeArrayToMemory: (array) => {
|
|
5448
|
+
const bytes = array.length * array.BYTES_PER_ELEMENT;
|
|
5449
|
+
const pointer = exports.malloc(bytes);
|
|
5450
|
+
const ctr = array.constructor;
|
|
5451
|
+
const heapArray = new ctr(this.wasm.memory.buffer, pointer, array.length);
|
|
5452
|
+
heapArray.set(array);
|
|
5453
|
+
return pointer;
|
|
5454
|
+
}, readArrayFromMemory: (pointer, array) => {
|
|
5455
|
+
const ctr = array.constructor;
|
|
5456
|
+
const heapArray = new ctr(this.wasm.memory.buffer, pointer, array.length);
|
|
5457
|
+
array.set(heapArray);
|
|
5458
|
+
return array;
|
|
5459
|
+
} });
|
|
5460
|
+
this.updateMemoryViews();
|
|
5461
|
+
return this.wasm;
|
|
5462
|
+
});
|
|
5463
|
+
}
|
|
5464
|
+
updateMemoryViews() {
|
|
5465
|
+
const buffer = this.wasm.memory.buffer;
|
|
5466
|
+
this.wasm.HEAP8 = new Int8Array(buffer);
|
|
5467
|
+
this.wasm.HEAP16 = new Int16Array(buffer);
|
|
5468
|
+
this.wasm.HEAP32 = new Int32Array(buffer);
|
|
5469
|
+
this.wasm.HEAPU8 = new Uint8Array(buffer);
|
|
5470
|
+
this.wasm.HEAPU16 = new Uint16Array(buffer);
|
|
5471
|
+
this.wasm.HEAPU32 = new Uint32Array(buffer);
|
|
5472
|
+
this.wasm.HEAPF32 = new Float32Array(buffer);
|
|
5473
|
+
this.wasm.HEAPF64 = new Float64Array(buffer);
|
|
5474
|
+
}
|
|
5475
|
+
getEnvStrings() {
|
|
5476
|
+
if (!this.envStrings) {
|
|
5477
|
+
let x;
|
|
5478
|
+
const env = {};
|
|
5479
|
+
for (x in this.env) {
|
|
5480
|
+
if (this.env[x] === undefined)
|
|
5481
|
+
delete env[x];
|
|
5482
|
+
else
|
|
5483
|
+
env[x] = this.env[x];
|
|
5484
|
+
}
|
|
5485
|
+
const strings = [];
|
|
5486
|
+
for (x in env) {
|
|
5487
|
+
strings.push(x + "=" + env[x]);
|
|
5488
|
+
}
|
|
5489
|
+
this.envStrings = strings;
|
|
5490
|
+
}
|
|
5491
|
+
return this.envStrings;
|
|
5492
|
+
}
|
|
5493
|
+
stringToAscii(str, buffer) {
|
|
5494
|
+
const HEAP8 = this.wasm.HEAP8;
|
|
5495
|
+
for (let i = 0; i < str.length; ++i) {
|
|
5496
|
+
HEAP8[buffer++ >> 0] = str.charCodeAt(i);
|
|
5497
|
+
}
|
|
5498
|
+
HEAP8[buffer >> 0] = 0;
|
|
5499
|
+
}
|
|
5500
|
+
emscripten_notify_memory_growth(memoryIndex) {
|
|
5501
|
+
this.updateMemoryViews();
|
|
5502
|
+
}
|
|
5503
|
+
proc_exit(rval) {
|
|
5504
|
+
console.log("proc_exit", rval);
|
|
5505
|
+
}
|
|
5506
|
+
environ_get(environ, environ_buf) {
|
|
5507
|
+
if (!this.wasm.HEAP8.byteLength) {
|
|
5508
|
+
this.emscripten_notify_memory_growth(0);
|
|
5509
|
+
}
|
|
5510
|
+
const HEAPU32 = this.wasm.HEAPU32;
|
|
5511
|
+
let bufSize = 0;
|
|
5512
|
+
this.getEnvStrings().forEach((str, i) => {
|
|
5513
|
+
const ptr = environ_buf + bufSize;
|
|
5514
|
+
HEAPU32[environ + i * 4 >> 2] = ptr;
|
|
5515
|
+
this.stringToAscii(str, ptr);
|
|
5516
|
+
bufSize += str.length + 1;
|
|
5517
|
+
});
|
|
5518
|
+
return 0;
|
|
5519
|
+
}
|
|
5520
|
+
environ_sizes_get(penviron_count, penviron_buf_size) {
|
|
5521
|
+
if (!this.wasm.HEAP8.byteLength) {
|
|
5522
|
+
this.emscripten_notify_memory_growth(0);
|
|
5523
|
+
}
|
|
5524
|
+
const HEAPU32 = this.wasm.HEAPU32;
|
|
5525
|
+
const strings = this.getEnvStrings();
|
|
5526
|
+
HEAPU32[penviron_count >> 2] = strings.length;
|
|
5527
|
+
let bufSize = 0;
|
|
5528
|
+
strings.forEach(function (string) {
|
|
5529
|
+
bufSize += string.length + 1;
|
|
5530
|
+
});
|
|
5531
|
+
HEAPU32[penviron_buf_size >> 2] = bufSize;
|
|
5532
|
+
// WASI_ESUCCESS
|
|
5533
|
+
return 0;
|
|
5534
|
+
}
|
|
5535
|
+
fd_close(fd) {
|
|
5536
|
+
// WASI_ESUCCESS
|
|
5537
|
+
return 0;
|
|
5538
|
+
}
|
|
5539
|
+
fd_write(fd, iovs, iovs_len, nwritten) {
|
|
5540
|
+
if (fd !== 1) {
|
|
5541
|
+
// WASI_EBADF
|
|
5542
|
+
return 8;
|
|
5543
|
+
}
|
|
5544
|
+
if (iovs_len !== 1) {
|
|
5545
|
+
// WASI_ENOSYS
|
|
5546
|
+
return 52;
|
|
5547
|
+
}
|
|
5548
|
+
this.wasm.HEAPU32[nwritten >> 2] = this.wasm.HEAPU32[iovs + 4 >> 2];
|
|
5549
|
+
// WASI_ESUCCESS
|
|
5550
|
+
return 0;
|
|
5551
|
+
}
|
|
5552
|
+
fd_read(fd, iovs, iovs_len, nread) {
|
|
5553
|
+
// WASI_EINVAL
|
|
5554
|
+
return 28;
|
|
5555
|
+
}
|
|
5556
|
+
fd_seek(fd, offset, whence, newOffset) {
|
|
5557
|
+
// WASI_EINVAL
|
|
5558
|
+
return 28;
|
|
5559
|
+
}
|
|
5560
|
+
}
|
|
5561
|
+
Wasi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: Wasi, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5562
|
+
Wasi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: Wasi, providedIn: "root" });
|
|
5563
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: Wasi, decorators: [{
|
|
5564
|
+
type: Injectable,
|
|
5565
|
+
args: [{
|
|
5566
|
+
providedIn: "root"
|
|
5567
|
+
}]
|
|
5568
|
+
}], ctorParameters: function () { return []; } });
|
|
5569
|
+
|
|
5162
5570
|
function loadBaseUrl() {
|
|
5163
5571
|
if (typeof (document) === "undefined" || typeof (location) === "undefined")
|
|
5164
5572
|
return "/";
|
|
@@ -5193,6 +5601,7 @@ class NgxUtilsModule {
|
|
|
5193
5601
|
constructor() {
|
|
5194
5602
|
}
|
|
5195
5603
|
static forRoot(config) {
|
|
5604
|
+
var _a;
|
|
5196
5605
|
return {
|
|
5197
5606
|
ngModule: NgxUtilsModule,
|
|
5198
5607
|
providers: [
|
|
@@ -5229,6 +5638,10 @@ class NgxUtilsModule {
|
|
|
5229
5638
|
provide: GLOBAL_TEMPLATES,
|
|
5230
5639
|
useExisting: (!config ? null : config.globalTemplates) || GlobalTemplateService
|
|
5231
5640
|
},
|
|
5641
|
+
{
|
|
5642
|
+
provide: WASI_IMPLEMENTATION,
|
|
5643
|
+
useExisting: (!config ? null : config.wasiImplementation) || Wasi
|
|
5644
|
+
},
|
|
5232
5645
|
{
|
|
5233
5646
|
provide: APP_BASE_URL,
|
|
5234
5647
|
useFactory: (!config ? null : config.baseUrl) || loadBaseUrl,
|
|
@@ -5238,6 +5651,10 @@ class NgxUtilsModule {
|
|
|
5238
5651
|
provide: ROOT_ELEMENT,
|
|
5239
5652
|
useValue: null
|
|
5240
5653
|
},
|
|
5654
|
+
{
|
|
5655
|
+
provide: RESIZE_DELAY,
|
|
5656
|
+
useValue: (_a = (!config ? null : config.resizeDelay)) !== null && _a !== void 0 ? _a : 200,
|
|
5657
|
+
},
|
|
5241
5658
|
{
|
|
5242
5659
|
provide: APP_INITIALIZER,
|
|
5243
5660
|
useFactory: (!config ? null : config.initializeApp) || loadConfig,
|
|
@@ -5253,14 +5670,14 @@ class NgxUtilsModule {
|
|
|
5253
5670
|
};
|
|
5254
5671
|
}
|
|
5255
5672
|
}
|
|
5256
|
-
NgxUtilsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5257
|
-
NgxUtilsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5673
|
+
NgxUtilsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: NgxUtilsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5674
|
+
NgxUtilsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: NgxUtilsModule, declarations: [ChunkPipe, EntriesPipe, ExtraItemPropertiesPipe, FilterPipe, FindPipe, FormatNumberPipe, GetOffsetPipe, GetTypePipe, GlobalTemplatePipe, GroupByPipe, IsTypePipe, JoinPipe, KeysPipe, MapPipe, MaxPipe, MinPipe, PopPipe, ReducePipe, RemapPipe, ReplacePipe, ReversePipe, RoundPipe, SafeHtmlPipe, ShiftPipe, SplitPipe, TranslatePipe, ValuesPipe, AsyncMethodBase, AsyncMethodDirective, BackgroundDirective, DynamicTableTemplateDirective, GlobalTemplateDirective, IconDirective, NgxTemplateOutletDirective, PaginationDirective, PaginationItemDirective, ResourceIfDirective, StickyDirective, StickyClassDirective, UnorderedListItemDirective, UnorderedListTemplateDirective, DynamicTableComponent, PaginationMenuComponent, UnorderedListComponent], imports: [CommonModule,
|
|
5258
5675
|
FormsModule], exports: [ChunkPipe, EntriesPipe, ExtraItemPropertiesPipe, FilterPipe, FindPipe, FormatNumberPipe, GetOffsetPipe, GetTypePipe, GlobalTemplatePipe, GroupByPipe, IsTypePipe, JoinPipe, KeysPipe, MapPipe, MaxPipe, MinPipe, PopPipe, ReducePipe, RemapPipe, ReplacePipe, ReversePipe, RoundPipe, SafeHtmlPipe, ShiftPipe, SplitPipe, TranslatePipe, ValuesPipe, AsyncMethodBase, AsyncMethodDirective, BackgroundDirective, DynamicTableTemplateDirective, GlobalTemplateDirective, IconDirective, NgxTemplateOutletDirective, PaginationDirective, PaginationItemDirective, ResourceIfDirective, StickyDirective, StickyClassDirective, UnorderedListItemDirective, UnorderedListTemplateDirective, DynamicTableComponent, PaginationMenuComponent, UnorderedListComponent, FormsModule] });
|
|
5259
|
-
NgxUtilsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5676
|
+
NgxUtilsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: NgxUtilsModule, providers: pipes, imports: [[
|
|
5260
5677
|
CommonModule,
|
|
5261
5678
|
FormsModule
|
|
5262
5679
|
], FormsModule] });
|
|
5263
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5680
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: NgxUtilsModule, decorators: [{
|
|
5264
5681
|
type: NgModule,
|
|
5265
5682
|
args: [{
|
|
5266
5683
|
declarations: [
|
|
@@ -5286,5 +5703,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
5286
5703
|
* Generated bundle index. Do not edit.
|
|
5287
5704
|
*/
|
|
5288
5705
|
|
|
5289
|
-
export { API_SERVICE, APP_BASE_URL, AUTH_SERVICE, AclService, AjaxRequestHandler, ApiService, ArrayUtils, AsyncMethodBase, AsyncMethodDirective, AuthGuard, BASE_CONFIG, BackgroundDirective, BaseHttpClient, BaseHttpService, CONFIG_SERVICE, CanvasColor, CanvasUtils, ChunkPipe, Circle, ConfigService, ConsoleToasterService, DateUtils, DynamicTableComponent, DynamicTableTemplateDirective, ERROR_HANDLER, EXPRESS_REQUEST, EntriesPipe, ErrorHandlerService, EventsService, ExtraItemPropertiesPipe, FactoryDependencies, FileSystemEntry, FileUtils, FilterPipe, FindPipe, FormatNumberPipe, FormatterService, GLOBAL_TEMPLATES, GenericValue, GetOffsetPipe, GetTypePipe, GlobalTemplateDirective, GlobalTemplatePipe, GlobalTemplateService, GroupByPipe, HttpPromise, ICON_SERVICE, IConfiguration, IconDirective, IconService, Initializer, IsTypePipe, JoinPipe, KeysPipe, LANGUAGE_SERVICE, LanguageService, LoaderUtils, MapPipe, MathUtils, MaxPipe, MinPipe, NgxTemplateOutletDirective, NgxUtilsModule, ObjectUtils, ObservableUtils, OpenApiService, PROMISE_SERVICE, PaginationDirective, PaginationItemContext, PaginationItemDirective, PaginationMenuComponent, Point, PopPipe, PromiseService, ROOT_ELEMENT, Rect, ReducePipe, ReflectUtils, RemapPipe, ReplacePipe, ResizeEventPlugin, ResourceIfContext, ResourceIfDirective, ReversePipe, RoundPipe, SCRIPT_PARAMS, SafeHtmlPipe, ScrollEventPlugin, SetUtils, ShiftPipe, SplitPipe, StateService, StaticAuthService, StaticLanguageService, StickyClassDirective, StickyDirective, StorageMode, StorageService, StringUtils, TOASTER_SERVICE, TimerUtils, TranslatePipe, TranslatedUrlSerializer, UniqueUtils, UniversalService, UnorderedListComponent, UnorderedListItemDirective, UnorderedListTemplateDirective, UnorederedListTemplate, ValuedPromise, ValuesPipe, Vector };
|
|
5706
|
+
export { API_SERVICE, APP_BASE_URL, AUTH_SERVICE, AclService, AjaxRequestHandler, ApiService, ArrayUtils, AsyncMethodBase, AsyncMethodDirective, AuthGuard, BASE_CONFIG, BackgroundDirective, BaseHttpClient, BaseHttpService, CONFIG_SERVICE, CanvasColor, CanvasUtils, ChunkPipe, Circle, ConfigService, ConsoleToasterService, DateUtils, DynamicTableComponent, DynamicTableTemplateDirective, ERROR_HANDLER, EXPRESS_REQUEST, EntriesPipe, ErrorHandlerService, EventsService, ExtraItemPropertiesPipe, FactoryDependencies, FileSystemEntry, FileUtils, FilterPipe, FindPipe, FormatNumberPipe, FormatterService, GLOBAL_TEMPLATES, GenericValue, GetOffsetPipe, GetTypePipe, GlobalTemplateDirective, GlobalTemplatePipe, GlobalTemplateService, GroupByPipe, HttpPromise, ICON_SERVICE, IConfiguration, IconDirective, IconService, Initializer, IsTypePipe, JSONfn, JoinPipe, KeysPipe, LANGUAGE_SERVICE, LanguageService, LoaderUtils, LocalHttpService, MapPipe, MathUtils, MaxPipe, MinPipe, NgxTemplateOutletDirective, NgxUtilsModule, ObjectUtils, ObservableUtils, OpenApiService, PROMISE_SERVICE, PaginationDirective, PaginationItemContext, PaginationItemDirective, PaginationMenuComponent, Point, PopPipe, PromiseService, RESIZE_DELAY, ROOT_ELEMENT, Rect, ReducePipe, ReflectUtils, RemapPipe, ReplacePipe, ResizeEventPlugin, ResourceIfContext, ResourceIfDirective, ReversePipe, RoundPipe, SCRIPT_PARAMS, SafeHtmlPipe, ScrollEventPlugin, SetUtils, ShiftPipe, SplitPipe, StateService, StaticAuthService, StaticLanguageService, StickyClassDirective, StickyDirective, StorageMode, StorageService, StringUtils, TOASTER_SERVICE, TimerUtils, TranslatePipe, TranslatedUrlSerializer, UniqueUtils, UniversalService, UnorderedListComponent, UnorderedListItemDirective, UnorderedListTemplateDirective, UnorederedListTemplate, ValuedPromise, ValuesPipe, Vector, WASI_IMPLEMENTATION, WasmService };
|
|
5290
5707
|
//# sourceMappingURL=stemy-ngx-utils.mjs.map
|