@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';
|
|
@@ -16,13 +16,13 @@ import { HttpClient, HttpHeaders, HttpParams, HttpUrlEncodingCodec, HttpEventTyp
|
|
|
16
16
|
import * as JSON5 from 'json5';
|
|
17
17
|
import * as i1$2 from '@angular/platform-browser';
|
|
18
18
|
import { ɵDomEventsPlugin, EVENT_MANAGER_PLUGINS } from '@angular/platform-browser';
|
|
19
|
-
import
|
|
19
|
+
import elementResizeDetectorMaker from 'element-resize-detector';
|
|
20
20
|
import * as i4 from '@angular/forms';
|
|
21
21
|
import { FormsModule } from '@angular/forms';
|
|
22
22
|
|
|
23
23
|
const defaultPredicate = () => true;
|
|
24
|
-
const hasBlob = typeof Blob !== "undefined";
|
|
25
|
-
const hasFile = typeof File !== "undefined";
|
|
24
|
+
const hasBlob = typeof Blob !== "undefined" && !!Blob;
|
|
25
|
+
const hasFile = typeof File !== "undefined" && !!File;
|
|
26
26
|
class ObjectUtils {
|
|
27
27
|
static compare(a, b) {
|
|
28
28
|
if ((a === null || b === null) || (typeof a != typeof b)) {
|
|
@@ -342,6 +342,7 @@ var StorageMode;
|
|
|
342
342
|
})(StorageMode || (StorageMode = {}));
|
|
343
343
|
const TOASTER_SERVICE = new InjectionToken("toaster-service");
|
|
344
344
|
const PROMISE_SERVICE = new InjectionToken("promise-service");
|
|
345
|
+
const WASI_IMPLEMENTATION = new InjectionToken("wasi-implementation");
|
|
345
346
|
// --- Unordered list ---
|
|
346
347
|
class UnorederedListTemplate extends TemplateRef {
|
|
347
348
|
}
|
|
@@ -431,6 +432,7 @@ const CONFIG_SERVICE = new InjectionToken("config-service");
|
|
|
431
432
|
const BASE_CONFIG = new InjectionToken("base-config");
|
|
432
433
|
const SCRIPT_PARAMS = new InjectionToken("script-params");
|
|
433
434
|
const ROOT_ELEMENT = new InjectionToken("app-root-element");
|
|
435
|
+
const RESIZE_DELAY = new InjectionToken("resize-event-delay");
|
|
434
436
|
const ERROR_HANDLER = new InjectionToken("error-handler-callback");
|
|
435
437
|
const GLOBAL_TEMPLATES = new InjectionToken("global-templates");
|
|
436
438
|
// --- Valued promise ---
|
|
@@ -487,13 +489,14 @@ class DateUtils {
|
|
|
487
489
|
static add(date, amount, unit) {
|
|
488
490
|
return moment(date).add(amount, unit).toDate();
|
|
489
491
|
}
|
|
490
|
-
static businessAdd(date, amount, unit) {
|
|
492
|
+
static businessAdd(date, amount, unit, freeDays = []) {
|
|
491
493
|
const signal = amount < 0 ? -1 : 1;
|
|
494
|
+
const freeMoments = freeDays.map(d => moment(d));
|
|
492
495
|
let remaining = Math.abs(amount);
|
|
493
496
|
let day = date;
|
|
494
497
|
while (remaining) {
|
|
495
498
|
day = DateUtils.add(day, signal, unit);
|
|
496
|
-
if (DateUtils.isBusinessDay(day)) {
|
|
499
|
+
if (DateUtils.isBusinessDay(day) && !freeMoments.some(m => m.isSame(day, "day"))) {
|
|
497
500
|
remaining--;
|
|
498
501
|
}
|
|
499
502
|
}
|
|
@@ -1173,6 +1176,51 @@ class Initializer {
|
|
|
1173
1176
|
}
|
|
1174
1177
|
}
|
|
1175
1178
|
|
|
1179
|
+
class JSONfn {
|
|
1180
|
+
static parse(text) {
|
|
1181
|
+
return JSON.parse(text, JSONfn.reviver);
|
|
1182
|
+
}
|
|
1183
|
+
static stringify(obj) {
|
|
1184
|
+
return JSON.stringify(obj, JSONfn.replacer);
|
|
1185
|
+
}
|
|
1186
|
+
static reviver(key, value) {
|
|
1187
|
+
const iso8061 = /^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(?:.\d+)?(?:Z|[+-]\d\d:\d\d)$/;
|
|
1188
|
+
if (typeof value !== "string")
|
|
1189
|
+
return value;
|
|
1190
|
+
if (value.length < 8) {
|
|
1191
|
+
return value;
|
|
1192
|
+
}
|
|
1193
|
+
if (value.match(iso8061)) {
|
|
1194
|
+
return new Date(value);
|
|
1195
|
+
}
|
|
1196
|
+
const prefix = value.substring(0, 8);
|
|
1197
|
+
if (prefix === "function") {
|
|
1198
|
+
return new Function(`return ${value}`)();
|
|
1199
|
+
}
|
|
1200
|
+
if (prefix === "_NuFrRa_") {
|
|
1201
|
+
return new Function(`return ${value.slice(8)}`)();
|
|
1202
|
+
}
|
|
1203
|
+
if (prefix === "_PxEgEr_") {
|
|
1204
|
+
return new Function(`return ${value.slice(8)}`)();
|
|
1205
|
+
}
|
|
1206
|
+
return value;
|
|
1207
|
+
}
|
|
1208
|
+
static replacer(key, value) {
|
|
1209
|
+
if (value instanceof Function || typeof value === "function") {
|
|
1210
|
+
const fnBody = value.toString();
|
|
1211
|
+
if (fnBody.length < 8 || fnBody.substring(0, 8) !== "function") {
|
|
1212
|
+
// this is ES6 Arrow Function
|
|
1213
|
+
return "_NuFrRa_" + fnBody;
|
|
1214
|
+
}
|
|
1215
|
+
return fnBody;
|
|
1216
|
+
}
|
|
1217
|
+
if (value instanceof RegExp) {
|
|
1218
|
+
return "_PxEgEr_" + value;
|
|
1219
|
+
}
|
|
1220
|
+
return value;
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1176
1224
|
class LoaderUtils {
|
|
1177
1225
|
static loadScript(src, async = false) {
|
|
1178
1226
|
this.scriptPromises[src] = this.scriptPromises[src] || new Promise((resolve, reject) => {
|
|
@@ -1279,7 +1327,7 @@ class UniversalService {
|
|
|
1279
1327
|
this.platformId = platformId;
|
|
1280
1328
|
this.dds = dds;
|
|
1281
1329
|
const info = this.dds.getDeviceInfo();
|
|
1282
|
-
this.crawler = /(bot|google|baidu|bing|msn|duckduckbot|teoma|slurp|yandex|lighthouse|angular-universal|PTST)/gi.test(info.userAgent);
|
|
1330
|
+
this.crawler = /(bot|google|baidu|bing|msn|duckduckbot|teoma|slurp|yandex|lighthouse|angular-universal|PTST|PostmanRuntime)/gi.test(info.userAgent);
|
|
1283
1331
|
}
|
|
1284
1332
|
get isBrowser() {
|
|
1285
1333
|
return isPlatformBrowser(this.platformId);
|
|
@@ -1335,9 +1383,9 @@ class UniversalService {
|
|
|
1335
1383
|
return this.crawler;
|
|
1336
1384
|
}
|
|
1337
1385
|
}
|
|
1338
|
-
UniversalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1339
|
-
UniversalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1340
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1386
|
+
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 });
|
|
1387
|
+
UniversalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: UniversalService });
|
|
1388
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: UniversalService, decorators: [{
|
|
1341
1389
|
type: Injectable
|
|
1342
1390
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
1343
1391
|
type: Inject,
|
|
@@ -1361,7 +1409,7 @@ class StateService extends BehaviorSubject {
|
|
|
1361
1409
|
return;
|
|
1362
1410
|
const routerStateSnapshot = this.router.routerState.snapshot;
|
|
1363
1411
|
let snapshot = routerStateSnapshot.root;
|
|
1364
|
-
let context = this.contexts
|
|
1412
|
+
let context = this.contexts?.getContext("primary");
|
|
1365
1413
|
let segments = snapshot.url;
|
|
1366
1414
|
const components = [];
|
|
1367
1415
|
const snapshots = [];
|
|
@@ -1500,9 +1548,9 @@ class StateService extends BehaviorSubject {
|
|
|
1500
1548
|
return [url, extras];
|
|
1501
1549
|
}
|
|
1502
1550
|
}
|
|
1503
|
-
StateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1504
|
-
StateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1551
|
+
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 });
|
|
1552
|
+
StateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: StateService });
|
|
1553
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: StateService, decorators: [{
|
|
1506
1554
|
type: Injectable
|
|
1507
1555
|
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.NgZone }, { type: UniversalService }, { type: i2.Router, decorators: [{
|
|
1508
1556
|
type: Optional
|
|
@@ -1649,8 +1697,8 @@ class AuthGuard {
|
|
|
1649
1697
|
});
|
|
1650
1698
|
}
|
|
1651
1699
|
}
|
|
1652
|
-
AuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1653
|
-
AuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1700
|
+
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 });
|
|
1701
|
+
AuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AuthGuard });
|
|
1654
1702
|
__decorate([
|
|
1655
1703
|
FactoryDependencies(AUTH_SERVICE),
|
|
1656
1704
|
__metadata("design:type", Function),
|
|
@@ -1669,7 +1717,7 @@ __decorate([
|
|
|
1669
1717
|
__metadata("design:paramtypes", [Object, StateService, String]),
|
|
1670
1718
|
__metadata("design:returntype", Function)
|
|
1671
1719
|
], AuthGuard, "guardAuthStateField", null);
|
|
1672
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1720
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AuthGuard, decorators: [{
|
|
1673
1721
|
type: Injectable
|
|
1674
1722
|
}], ctorParameters: function () { return [{ type: i0.Injector, decorators: [{
|
|
1675
1723
|
type: Inject,
|
|
@@ -2060,81 +2108,103 @@ class Vector {
|
|
|
2060
2108
|
}
|
|
2061
2109
|
}
|
|
2062
2110
|
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
const
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2111
|
+
function workerFunction(JSONfn, logTimes) {
|
|
2112
|
+
let wasmResolve = null;
|
|
2113
|
+
const wasmInstance = new Promise(resolve => {
|
|
2114
|
+
wasmResolve = resolve;
|
|
2115
|
+
});
|
|
2116
|
+
self.onmessage = function (e) {
|
|
2117
|
+
const data = e.data;
|
|
2118
|
+
const { type, payload } = data;
|
|
2119
|
+
switch (type) {
|
|
2120
|
+
case "wasm":
|
|
2121
|
+
const { url, wasi } = payload;
|
|
2122
|
+
fetch(url).then(response => response.arrayBuffer()).then(bytes => {
|
|
2123
|
+
const wasiImpl = JSONfn.parse(wasi);
|
|
2124
|
+
return new wasiImpl().instantiate(bytes);
|
|
2125
|
+
}).then(instance => {
|
|
2126
|
+
wasmResolve(instance);
|
|
2127
|
+
const methods = Object.getOwnPropertyNames(instance).filter(key => typeof instance[key] === "function");
|
|
2128
|
+
self.postMessage({ type: "methods", payload: methods });
|
|
2129
|
+
});
|
|
2130
|
+
break;
|
|
2131
|
+
case "call":
|
|
2132
|
+
wasmInstance.then(instance => {
|
|
2133
|
+
const { name, id, args } = payload;
|
|
2134
|
+
if (logTimes) {
|
|
2135
|
+
console.time(id);
|
|
2136
|
+
console.timeLog(id, `Calling ${name} ...`);
|
|
2088
2137
|
}
|
|
2089
|
-
|
|
2090
|
-
|
|
2138
|
+
const func = instance[name];
|
|
2139
|
+
const result = func(...args);
|
|
2140
|
+
if (logTimes) {
|
|
2141
|
+
console.timeLog(id, `Called ${name}`);
|
|
2142
|
+
console.timeEnd(id);
|
|
2091
2143
|
}
|
|
2092
|
-
|
|
2093
|
-
}
|
|
2094
|
-
info.guard.getReturnState(info.route).then(returnState => {
|
|
2095
|
-
if (!returnState)
|
|
2096
|
-
return;
|
|
2097
|
-
this.state.navigate(returnState);
|
|
2144
|
+
self.postMessage({ type: "result", payload: { id, result } });
|
|
2098
2145
|
});
|
|
2099
|
-
|
|
2146
|
+
break;
|
|
2147
|
+
}
|
|
2148
|
+
};
|
|
2149
|
+
}
|
|
2150
|
+
class WasmWorkerProxy {
|
|
2151
|
+
constructor(wasmPath, wasi, logTimes = false) {
|
|
2152
|
+
this.methods = new Promise(resolve => {
|
|
2153
|
+
this.onMethods = resolve;
|
|
2100
2154
|
});
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2155
|
+
const lt = logTimes ? "true" : "false";
|
|
2156
|
+
const blob = new Blob([`${JSONfn.toString()} (${workerFunction.toString()})(JSONfn, ${lt})`], { type: 'application/javascript' });
|
|
2157
|
+
this.worker = new Worker(URL.createObjectURL(blob));
|
|
2158
|
+
this.worker.postMessage({
|
|
2159
|
+
type: "wasm",
|
|
2160
|
+
payload: { url: wasmPath, wasi: JSONfn.stringify(wasi), logTimes }
|
|
2161
|
+
});
|
|
2162
|
+
this.worker.onmessage = this.onMessage.bind(this);
|
|
2163
|
+
this.promises = new Map();
|
|
2164
|
+
return new Proxy(this, {
|
|
2165
|
+
get: (target, prop, receiver) => {
|
|
2166
|
+
const res = Reflect.get(target, prop, receiver);
|
|
2167
|
+
if (res) {
|
|
2168
|
+
return res;
|
|
2169
|
+
}
|
|
2170
|
+
return (...args) => {
|
|
2171
|
+
return this.call(prop.toString(), args);
|
|
2172
|
+
};
|
|
2108
2173
|
}
|
|
2109
2174
|
});
|
|
2110
2175
|
}
|
|
2111
|
-
|
|
2112
|
-
const
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2176
|
+
onMessage(e) {
|
|
2177
|
+
const data = e.data;
|
|
2178
|
+
const { type, payload } = data;
|
|
2179
|
+
switch (type) {
|
|
2180
|
+
case "methods":
|
|
2181
|
+
this.onMethods(payload);
|
|
2182
|
+
break;
|
|
2183
|
+
case "result":
|
|
2184
|
+
const { id, result } = payload;
|
|
2185
|
+
const promise = this.promises.get(id);
|
|
2186
|
+
if (promise) {
|
|
2187
|
+
promise.resolve(result);
|
|
2188
|
+
this.promises.delete(id);
|
|
2189
|
+
}
|
|
2190
|
+
break;
|
|
2125
2191
|
}
|
|
2126
|
-
info.component = this.state.component;
|
|
2127
|
-
return info;
|
|
2128
2192
|
}
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2193
|
+
async call(method, args) {
|
|
2194
|
+
const methods = await this.methods;
|
|
2195
|
+
if (!methods.includes(method)) {
|
|
2196
|
+
throw new Error(`Method ${method} not found`);
|
|
2197
|
+
}
|
|
2198
|
+
return new Promise((resolve, reject) => {
|
|
2199
|
+
const id = Math.random().toString(36).substring(2, 9);
|
|
2200
|
+
this.worker.postMessage({
|
|
2201
|
+
type: "call",
|
|
2202
|
+
payload: { name: method, id, args }
|
|
2203
|
+
});
|
|
2204
|
+
this.promises.set(id, { resolve, reject });
|
|
2205
|
+
});
|
|
2206
|
+
}
|
|
2207
|
+
}
|
|
2138
2208
|
|
|
2139
2209
|
class BaseHttpClient extends HttpClient {
|
|
2140
2210
|
constructor(handler) {
|
|
@@ -2172,9 +2242,9 @@ class BaseHttpClient extends HttpClient {
|
|
|
2172
2242
|
this.extraRequestParams[name] = value;
|
|
2173
2243
|
}
|
|
2174
2244
|
}
|
|
2175
|
-
BaseHttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2176
|
-
BaseHttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2177
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2245
|
+
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 });
|
|
2246
|
+
BaseHttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BaseHttpClient });
|
|
2247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BaseHttpClient, decorators: [{
|
|
2178
2248
|
type: Injectable
|
|
2179
2249
|
}], ctorParameters: function () { return [{ type: i1$1.HttpHandler }]; } });
|
|
2180
2250
|
|
|
@@ -2216,9 +2286,9 @@ class StorageService {
|
|
|
2216
2286
|
storage.removeItem(key);
|
|
2217
2287
|
}
|
|
2218
2288
|
}
|
|
2219
|
-
StorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2220
|
-
StorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2221
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2289
|
+
StorageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: StorageService, deps: [{ token: UniversalService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2290
|
+
StorageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: StorageService });
|
|
2291
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: StorageService, decorators: [{
|
|
2222
2292
|
type: Injectable
|
|
2223
2293
|
}], ctorParameters: function () { return [{ type: UniversalService }]; } });
|
|
2224
2294
|
|
|
@@ -2233,6 +2303,7 @@ class BaseHttpService {
|
|
|
2233
2303
|
this.requestHeaders = {};
|
|
2234
2304
|
this.requestParams = {};
|
|
2235
2305
|
this.cache = {};
|
|
2306
|
+
this.initService();
|
|
2236
2307
|
}
|
|
2237
2308
|
get name() {
|
|
2238
2309
|
return "base";
|
|
@@ -2247,6 +2318,8 @@ class BaseHttpService {
|
|
|
2247
2318
|
get universal() {
|
|
2248
2319
|
return this.storage.universal;
|
|
2249
2320
|
}
|
|
2321
|
+
initService() {
|
|
2322
|
+
}
|
|
2250
2323
|
url(url) {
|
|
2251
2324
|
return url;
|
|
2252
2325
|
}
|
|
@@ -2410,15 +2483,16 @@ class BaseHttpService {
|
|
|
2410
2483
|
}
|
|
2411
2484
|
const headers = options.headers;
|
|
2412
2485
|
const authKey = "Authorization";
|
|
2413
|
-
// If an authorization header exists and we still have an Unauthorized response prompt the user to log in again
|
|
2486
|
+
// If an authorization header exists, and we still have an Unauthorized response prompt the user to log in again
|
|
2414
2487
|
if (headers.has(authKey) && response.status == 401) {
|
|
2415
2488
|
const pushed = this.pushFailedRequest(url, options, () => {
|
|
2416
2489
|
options.headers = this.makeHeaders(options.originalHeaders);
|
|
2417
2490
|
this.toPromise(url, options, listener).then(resolve, reject);
|
|
2418
2491
|
});
|
|
2419
|
-
if (pushed)
|
|
2492
|
+
if (pushed) {
|
|
2420
2493
|
this.handleUnauthorizedError(absoluteUrl, options, () => reject(response));
|
|
2421
|
-
|
|
2494
|
+
return;
|
|
2495
|
+
}
|
|
2422
2496
|
}
|
|
2423
2497
|
reject(response);
|
|
2424
2498
|
});
|
|
@@ -2426,7 +2500,7 @@ class BaseHttpService {
|
|
|
2426
2500
|
});
|
|
2427
2501
|
}
|
|
2428
2502
|
pushFailedRequest(url, options, req) {
|
|
2429
|
-
if (url.indexOf("
|
|
2503
|
+
if (url.indexOf("token") >= 0 || url === "user")
|
|
2430
2504
|
return false;
|
|
2431
2505
|
BaseHttpService.failedRequests.push(req);
|
|
2432
2506
|
return true;
|
|
@@ -2482,9 +2556,9 @@ class BaseHttpService {
|
|
|
2482
2556
|
}
|
|
2483
2557
|
}
|
|
2484
2558
|
BaseHttpService.failedRequests = [];
|
|
2485
|
-
BaseHttpService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2486
|
-
BaseHttpService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2487
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2559
|
+
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 });
|
|
2560
|
+
BaseHttpService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BaseHttpService });
|
|
2561
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BaseHttpService, decorators: [{
|
|
2488
2562
|
type: Injectable
|
|
2489
2563
|
}], ctorParameters: function () { return [{ type: BaseHttpClient, decorators: [{
|
|
2490
2564
|
type: Inject,
|
|
@@ -2508,6 +2582,164 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
2508
2582
|
args: [EXPRESS_REQUEST]
|
|
2509
2583
|
}] }]; } });
|
|
2510
2584
|
|
|
2585
|
+
class LocalHttpService extends BaseHttpService {
|
|
2586
|
+
get name() {
|
|
2587
|
+
return "local-http";
|
|
2588
|
+
}
|
|
2589
|
+
get withCredentials() {
|
|
2590
|
+
return false;
|
|
2591
|
+
}
|
|
2592
|
+
initService() {
|
|
2593
|
+
this.images = {};
|
|
2594
|
+
}
|
|
2595
|
+
url(url) {
|
|
2596
|
+
if (!url)
|
|
2597
|
+
return url;
|
|
2598
|
+
const config = this.configs.config;
|
|
2599
|
+
const baseUrl = config.cdnUrl || config.baseUrl || "";
|
|
2600
|
+
return url.startsWith("data:") || url.startsWith("http") || url.startsWith("//")
|
|
2601
|
+
? url
|
|
2602
|
+
: `${baseUrl}${url}`;
|
|
2603
|
+
}
|
|
2604
|
+
get(url, options) {
|
|
2605
|
+
this.cache[url] = this.cache[url] || this.getPromise(url, options);
|
|
2606
|
+
return this.cache[url];
|
|
2607
|
+
}
|
|
2608
|
+
getImage(url) {
|
|
2609
|
+
if (this.universal.isServer)
|
|
2610
|
+
return Promise.resolve(null);
|
|
2611
|
+
if (!url)
|
|
2612
|
+
return Promise.resolve(new Image());
|
|
2613
|
+
this.images[url] = this.images[url] || new Promise((resolve, reject) => {
|
|
2614
|
+
const image = new Image();
|
|
2615
|
+
image.crossOrigin = "Anonymous";
|
|
2616
|
+
image.src = this.url(url);
|
|
2617
|
+
image.onload = () => resolve(image);
|
|
2618
|
+
image.onerror = reject;
|
|
2619
|
+
});
|
|
2620
|
+
return this.images[url];
|
|
2621
|
+
}
|
|
2622
|
+
}
|
|
2623
|
+
LocalHttpService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: LocalHttpService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
2624
|
+
LocalHttpService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: LocalHttpService });
|
|
2625
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: LocalHttpService, decorators: [{
|
|
2626
|
+
type: Injectable
|
|
2627
|
+
}] });
|
|
2628
|
+
|
|
2629
|
+
/**
|
|
2630
|
+
* Use this service to load WebAssembly modules
|
|
2631
|
+
*/
|
|
2632
|
+
class WasmService {
|
|
2633
|
+
constructor(universal, http, wasi) {
|
|
2634
|
+
this.universal = universal;
|
|
2635
|
+
this.http = http;
|
|
2636
|
+
this.wasi = wasi.constructor;
|
|
2637
|
+
}
|
|
2638
|
+
async getModule(name) {
|
|
2639
|
+
if (!this.universal.isBrowser || !name)
|
|
2640
|
+
return null;
|
|
2641
|
+
this.modules = this.modules || {};
|
|
2642
|
+
this.modules[name] = this.modules[name] || this.http.get(`wasm/${name}.wasm`, {
|
|
2643
|
+
responseType: "arraybuffer"
|
|
2644
|
+
}).then(async (bytes) => {
|
|
2645
|
+
const wasi = new this.wasi();
|
|
2646
|
+
return await wasi.instantiate(bytes);
|
|
2647
|
+
});
|
|
2648
|
+
return this.modules[name];
|
|
2649
|
+
}
|
|
2650
|
+
getWorkerModule(name) {
|
|
2651
|
+
if (!this.universal.isBrowser || !name)
|
|
2652
|
+
return null;
|
|
2653
|
+
this.workerModules = this.workerModules || {};
|
|
2654
|
+
this.workerModules[name] = new WasmWorkerProxy(this.http.url(`wasm/${name}.wasm`), this.wasi);
|
|
2655
|
+
return this.workerModules[name];
|
|
2656
|
+
}
|
|
2657
|
+
}
|
|
2658
|
+
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 });
|
|
2659
|
+
WasmService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: WasmService });
|
|
2660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: WasmService, decorators: [{
|
|
2661
|
+
type: Injectable
|
|
2662
|
+
}], ctorParameters: function () { return [{ type: UniversalService }, { type: LocalHttpService }, { type: undefined, decorators: [{
|
|
2663
|
+
type: Inject,
|
|
2664
|
+
args: [WASI_IMPLEMENTATION]
|
|
2665
|
+
}] }]; } });
|
|
2666
|
+
|
|
2667
|
+
const emptyGuards = [];
|
|
2668
|
+
class AclService {
|
|
2669
|
+
constructor(injector, state, auth) {
|
|
2670
|
+
this.injector = injector;
|
|
2671
|
+
this.state = state;
|
|
2672
|
+
this.auth = auth;
|
|
2673
|
+
this.components = [];
|
|
2674
|
+
this.auth.userChanged.subscribe(() => {
|
|
2675
|
+
this.components.forEach(t => t.dirty = true);
|
|
2676
|
+
const info = this.getStateInfo();
|
|
2677
|
+
const check = info && info.guard instanceof AuthGuard ? info.guard.checkRoute(info.route) : Promise.resolve(true);
|
|
2678
|
+
check.then(result => {
|
|
2679
|
+
if (result) {
|
|
2680
|
+
if (!info || !info.dirty)
|
|
2681
|
+
return;
|
|
2682
|
+
info.dirty = false;
|
|
2683
|
+
const component = info.component;
|
|
2684
|
+
if (!info.component)
|
|
2685
|
+
return;
|
|
2686
|
+
if (info.first) {
|
|
2687
|
+
if (ObjectUtils.isFunction(component.onUserInitialized)) {
|
|
2688
|
+
component.onUserInitialized();
|
|
2689
|
+
}
|
|
2690
|
+
info.first = false;
|
|
2691
|
+
return;
|
|
2692
|
+
}
|
|
2693
|
+
if (ObjectUtils.isFunction(component.onUserChanged)) {
|
|
2694
|
+
component.onUserChanged();
|
|
2695
|
+
}
|
|
2696
|
+
return;
|
|
2697
|
+
}
|
|
2698
|
+
info.guard.getReturnState(info.route).then(returnState => {
|
|
2699
|
+
if (!returnState)
|
|
2700
|
+
return;
|
|
2701
|
+
this.state.navigate(returnState);
|
|
2702
|
+
});
|
|
2703
|
+
});
|
|
2704
|
+
});
|
|
2705
|
+
this.state.subscribe(() => {
|
|
2706
|
+
const info = this.getStateInfo();
|
|
2707
|
+
if (!info?.component)
|
|
2708
|
+
return;
|
|
2709
|
+
const component = info.component;
|
|
2710
|
+
if (ObjectUtils.isFunction(component.onUserInitialized)) {
|
|
2711
|
+
component.onUserInitialized();
|
|
2712
|
+
}
|
|
2713
|
+
});
|
|
2714
|
+
}
|
|
2715
|
+
getStateInfo() {
|
|
2716
|
+
const route = this.state.route;
|
|
2717
|
+
if (!route)
|
|
2718
|
+
return null;
|
|
2719
|
+
let info = this.components.find(t => t.route == this.state.route);
|
|
2720
|
+
if (!info) {
|
|
2721
|
+
const guardType = (route.canActivate || emptyGuards)[0];
|
|
2722
|
+
info = {
|
|
2723
|
+
route: this.state.route,
|
|
2724
|
+
guard: guardType ? this.injector.get(guardType) : null,
|
|
2725
|
+
dirty: true,
|
|
2726
|
+
first: true
|
|
2727
|
+
};
|
|
2728
|
+
this.components.push(info);
|
|
2729
|
+
}
|
|
2730
|
+
info.component = this.state.component;
|
|
2731
|
+
return info;
|
|
2732
|
+
}
|
|
2733
|
+
}
|
|
2734
|
+
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 });
|
|
2735
|
+
AclService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AclService });
|
|
2736
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AclService, decorators: [{
|
|
2737
|
+
type: Injectable
|
|
2738
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: StateService }, { type: undefined, decorators: [{
|
|
2739
|
+
type: Inject,
|
|
2740
|
+
args: [AUTH_SERVICE]
|
|
2741
|
+
}] }]; } });
|
|
2742
|
+
|
|
2511
2743
|
class ApiService extends BaseHttpService {
|
|
2512
2744
|
get name() {
|
|
2513
2745
|
return "api";
|
|
@@ -2537,9 +2769,9 @@ class ApiService extends BaseHttpService {
|
|
|
2537
2769
|
return this.listPromise(url, params);
|
|
2538
2770
|
}
|
|
2539
2771
|
}
|
|
2540
|
-
ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2541
|
-
ApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2542
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2772
|
+
ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ApiService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
2773
|
+
ApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ApiService });
|
|
2774
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ApiService, decorators: [{
|
|
2543
2775
|
type: Injectable
|
|
2544
2776
|
}] });
|
|
2545
2777
|
|
|
@@ -2641,9 +2873,9 @@ class ConfigService {
|
|
|
2641
2873
|
return decodeURIComponent(results[2].replace(/\+/g, " "));
|
|
2642
2874
|
}
|
|
2643
2875
|
}
|
|
2644
|
-
ConfigService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2645
|
-
ConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2646
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2876
|
+
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 });
|
|
2877
|
+
ConfigService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ConfigService });
|
|
2878
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ConfigService, decorators: [{
|
|
2647
2879
|
type: Injectable
|
|
2648
2880
|
}], ctorParameters: function () { return [{ type: i1$1.HttpClient }, { type: UniversalService }, { type: i0.Injector }, { type: undefined, decorators: [{
|
|
2649
2881
|
type: Inject,
|
|
@@ -2702,9 +2934,9 @@ class ErrorHandlerService extends ErrorHandler {
|
|
|
2702
2934
|
console.error(`[${date}]: ${error.message}\n${error.stack}`);
|
|
2703
2935
|
}
|
|
2704
2936
|
}
|
|
2705
|
-
ErrorHandlerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2706
|
-
ErrorHandlerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2707
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2937
|
+
ErrorHandlerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ErrorHandlerService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2938
|
+
ErrorHandlerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ErrorHandlerService });
|
|
2939
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ErrorHandlerService, decorators: [{
|
|
2708
2940
|
type: Injectable
|
|
2709
2941
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
2710
2942
|
|
|
@@ -2726,9 +2958,9 @@ class EventsService {
|
|
|
2726
2958
|
this.stickyUpdated.emit(sticky);
|
|
2727
2959
|
}
|
|
2728
2960
|
}
|
|
2729
|
-
EventsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2730
|
-
EventsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2731
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2961
|
+
EventsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EventsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2962
|
+
EventsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EventsService });
|
|
2963
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EventsService, decorators: [{
|
|
2732
2964
|
type: Injectable
|
|
2733
2965
|
}], ctorParameters: function () { return []; } });
|
|
2734
2966
|
|
|
@@ -2748,12 +2980,13 @@ class FormatterService {
|
|
|
2748
2980
|
roundNumber(value, precision, divider) {
|
|
2749
2981
|
return MathUtils.round(value, this.getPrecision(precision), divider || this.defaultDivider);
|
|
2750
2982
|
}
|
|
2751
|
-
formatNumber(value, format, precision, divider) {
|
|
2983
|
+
formatNumber(value, format, precision, divider, minDigits) {
|
|
2752
2984
|
precision = this.getPrecision(precision);
|
|
2985
|
+
minDigits = minDigits ?? precision;
|
|
2753
2986
|
divider = divider || this.defaultDivider;
|
|
2754
2987
|
const num = ObjectUtils.isNumber(value) ? value : parseFloat(value) || 0;
|
|
2755
2988
|
const str = (num / divider).toLocaleString(this.language.currentLanguage, {
|
|
2756
|
-
minimumFractionDigits:
|
|
2989
|
+
minimumFractionDigits: minDigits,
|
|
2757
2990
|
maximumFractionDigits: precision,
|
|
2758
2991
|
useGrouping: false
|
|
2759
2992
|
});
|
|
@@ -2766,9 +2999,9 @@ class FormatterService {
|
|
|
2766
2999
|
return ObjectUtils.isNumber(precision) ? precision : this.defaultPrecision;
|
|
2767
3000
|
}
|
|
2768
3001
|
}
|
|
2769
|
-
FormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2770
|
-
FormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2771
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3002
|
+
FormatterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FormatterService, deps: [{ token: LANGUAGE_SERVICE }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3003
|
+
FormatterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FormatterService });
|
|
3004
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FormatterService, decorators: [{
|
|
2772
3005
|
type: Injectable
|
|
2773
3006
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
2774
3007
|
type: Inject,
|
|
@@ -2803,9 +3036,9 @@ class GlobalTemplateService {
|
|
|
2803
3036
|
this.componentModifiers[id] = modifier;
|
|
2804
3037
|
}
|
|
2805
3038
|
}
|
|
2806
|
-
GlobalTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2807
|
-
GlobalTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2808
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3039
|
+
GlobalTemplateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GlobalTemplateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3040
|
+
GlobalTemplateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GlobalTemplateService });
|
|
3041
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GlobalTemplateService, decorators: [{
|
|
2809
3042
|
type: Injectable
|
|
2810
3043
|
}], ctorParameters: function () { return []; } });
|
|
2811
3044
|
|
|
@@ -2827,9 +3060,9 @@ class IconService {
|
|
|
2827
3060
|
return Promise.resolve(active ? activeIcon : icon);
|
|
2828
3061
|
}
|
|
2829
3062
|
}
|
|
2830
|
-
IconService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2831
|
-
IconService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2832
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3063
|
+
IconService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IconService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3064
|
+
IconService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IconService });
|
|
3065
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IconService, decorators: [{
|
|
2833
3066
|
type: Injectable
|
|
2834
3067
|
}], ctorParameters: function () { return []; } });
|
|
2835
3068
|
|
|
@@ -2968,9 +3201,9 @@ class StaticLanguageService {
|
|
|
2968
3201
|
return browserLang;
|
|
2969
3202
|
}
|
|
2970
3203
|
}
|
|
2971
|
-
StaticLanguageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2972
|
-
StaticLanguageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2973
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3204
|
+
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 });
|
|
3205
|
+
StaticLanguageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: StaticLanguageService });
|
|
3206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: StaticLanguageService, decorators: [{
|
|
2974
3207
|
type: Injectable
|
|
2975
3208
|
}], ctorParameters: function () { return [{ type: EventsService, decorators: [{
|
|
2976
3209
|
type: Inject,
|
|
@@ -3091,9 +3324,9 @@ class LanguageService extends StaticLanguageService {
|
|
|
3091
3324
|
return this.settingsPromise;
|
|
3092
3325
|
}
|
|
3093
3326
|
}
|
|
3094
|
-
LanguageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3095
|
-
LanguageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3096
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3327
|
+
LanguageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: LanguageService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
3328
|
+
LanguageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: LanguageService });
|
|
3329
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: LanguageService, decorators: [{
|
|
3097
3330
|
type: Injectable
|
|
3098
3331
|
}] });
|
|
3099
3332
|
|
|
@@ -3125,9 +3358,9 @@ class OpenApiService {
|
|
|
3125
3358
|
return schemas[name];
|
|
3126
3359
|
}
|
|
3127
3360
|
}
|
|
3128
|
-
OpenApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3129
|
-
OpenApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3130
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3361
|
+
OpenApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: OpenApiService, deps: [{ token: API_SERVICE }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3362
|
+
OpenApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: OpenApiService });
|
|
3363
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: OpenApiService, decorators: [{
|
|
3131
3364
|
type: Injectable
|
|
3132
3365
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
3133
3366
|
type: Inject,
|
|
@@ -3154,9 +3387,9 @@ class ConsoleToasterService {
|
|
|
3154
3387
|
this.language.getTranslation(message, params).then(callback);
|
|
3155
3388
|
}
|
|
3156
3389
|
}
|
|
3157
|
-
ConsoleToasterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3158
|
-
ConsoleToasterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3390
|
+
ConsoleToasterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ConsoleToasterService, deps: [{ token: LANGUAGE_SERVICE }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3391
|
+
ConsoleToasterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ConsoleToasterService });
|
|
3392
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ConsoleToasterService, decorators: [{
|
|
3160
3393
|
type: Injectable
|
|
3161
3394
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
3162
3395
|
type: Inject,
|
|
@@ -3223,9 +3456,9 @@ class TranslatedUrlSerializer extends DefaultUrlSerializer {
|
|
|
3223
3456
|
return newGroup;
|
|
3224
3457
|
}
|
|
3225
3458
|
}
|
|
3226
|
-
TranslatedUrlSerializer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3227
|
-
TranslatedUrlSerializer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3459
|
+
TranslatedUrlSerializer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TranslatedUrlSerializer, deps: [{ token: LANGUAGE_SERVICE }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3460
|
+
TranslatedUrlSerializer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TranslatedUrlSerializer });
|
|
3461
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TranslatedUrlSerializer, decorators: [{
|
|
3229
3462
|
type: Injectable
|
|
3230
3463
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
3231
3464
|
type: Inject,
|
|
@@ -3276,9 +3509,9 @@ class PromiseService {
|
|
|
3276
3509
|
});
|
|
3277
3510
|
}
|
|
3278
3511
|
}
|
|
3279
|
-
PromiseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3280
|
-
PromiseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3281
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3512
|
+
PromiseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: PromiseService, deps: [{ token: NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3513
|
+
PromiseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: PromiseService });
|
|
3514
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: PromiseService, decorators: [{
|
|
3282
3515
|
type: Injectable
|
|
3283
3516
|
}], ctorParameters: function () { return [{ type: i0.NgZone, decorators: [{
|
|
3284
3517
|
type: Inject,
|
|
@@ -3290,9 +3523,13 @@ function emptyRemove$1() {
|
|
|
3290
3523
|
function isWindow(el) {
|
|
3291
3524
|
return typeof window !== "undefined" && el === window;
|
|
3292
3525
|
}
|
|
3526
|
+
const detector = elementResizeDetectorMaker({
|
|
3527
|
+
strategy: "scroll" // For ultra performance.
|
|
3528
|
+
});
|
|
3293
3529
|
class ResizeEventPlugin extends ɵDomEventsPlugin {
|
|
3294
|
-
constructor(doc, universal) {
|
|
3530
|
+
constructor(doc, resizeDelay, universal) {
|
|
3295
3531
|
super(doc);
|
|
3532
|
+
this.resizeDelay = resizeDelay;
|
|
3296
3533
|
this.universal = universal;
|
|
3297
3534
|
}
|
|
3298
3535
|
supports(eventName) {
|
|
@@ -3303,14 +3540,17 @@ class ResizeEventPlugin extends ɵDomEventsPlugin {
|
|
|
3303
3540
|
return zone.runOutsideAngular(() => {
|
|
3304
3541
|
if (this.universal.isServer)
|
|
3305
3542
|
return emptyRemove$1;
|
|
3543
|
+
const timer = TimerUtils.createTimeout();
|
|
3306
3544
|
const cb = el => {
|
|
3307
|
-
|
|
3545
|
+
timer.set(() => {
|
|
3546
|
+
zone.run(() => handler(el));
|
|
3547
|
+
}, this.resizeDelay);
|
|
3308
3548
|
};
|
|
3309
3549
|
if (isWindow(element)) {
|
|
3310
3550
|
element.addEventListener(eventName, cb);
|
|
3311
3551
|
}
|
|
3312
3552
|
else {
|
|
3313
|
-
detector.
|
|
3553
|
+
detector.listenTo(element, cb);
|
|
3314
3554
|
}
|
|
3315
3555
|
return () => {
|
|
3316
3556
|
try {
|
|
@@ -3318,23 +3558,29 @@ class ResizeEventPlugin extends ɵDomEventsPlugin {
|
|
|
3318
3558
|
element.removeEventListener(eventName, cb);
|
|
3319
3559
|
}
|
|
3320
3560
|
else {
|
|
3321
|
-
detector.
|
|
3561
|
+
detector.uninstall(element);
|
|
3322
3562
|
}
|
|
3323
3563
|
}
|
|
3324
3564
|
catch (e) {
|
|
3325
3565
|
}
|
|
3566
|
+
finally {
|
|
3567
|
+
timer.clear();
|
|
3568
|
+
}
|
|
3326
3569
|
};
|
|
3327
3570
|
});
|
|
3328
3571
|
}
|
|
3329
3572
|
}
|
|
3330
3573
|
ResizeEventPlugin.EVENT_NAME = "resize";
|
|
3331
|
-
ResizeEventPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3332
|
-
ResizeEventPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3333
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3574
|
+
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 });
|
|
3575
|
+
ResizeEventPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ResizeEventPlugin });
|
|
3576
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ResizeEventPlugin, decorators: [{
|
|
3334
3577
|
type: Injectable
|
|
3335
3578
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
3336
3579
|
type: Inject,
|
|
3337
3580
|
args: [DOCUMENT]
|
|
3581
|
+
}] }, { type: undefined, decorators: [{
|
|
3582
|
+
type: Inject,
|
|
3583
|
+
args: [RESIZE_DELAY]
|
|
3338
3584
|
}] }, { type: UniversalService }]; } });
|
|
3339
3585
|
|
|
3340
3586
|
function emptyRemove() {
|
|
@@ -3361,9 +3607,9 @@ class ScrollEventPlugin extends ɵDomEventsPlugin {
|
|
|
3361
3607
|
}
|
|
3362
3608
|
}
|
|
3363
3609
|
ScrollEventPlugin.EVENT_NAME = "scroll";
|
|
3364
|
-
ScrollEventPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3365
|
-
ScrollEventPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3610
|
+
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 });
|
|
3611
|
+
ScrollEventPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ScrollEventPlugin });
|
|
3612
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ScrollEventPlugin, decorators: [{
|
|
3367
3613
|
type: Injectable
|
|
3368
3614
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
3369
3615
|
type: Inject,
|
|
@@ -3384,9 +3630,9 @@ class ChunkPipe {
|
|
|
3384
3630
|
return result;
|
|
3385
3631
|
}
|
|
3386
3632
|
}
|
|
3387
|
-
ChunkPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3388
|
-
ChunkPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3633
|
+
ChunkPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ChunkPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3634
|
+
ChunkPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ChunkPipe, name: "chunk" });
|
|
3635
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ChunkPipe, decorators: [{
|
|
3390
3636
|
type: Pipe,
|
|
3391
3637
|
args: [{
|
|
3392
3638
|
name: "chunk"
|
|
@@ -3409,9 +3655,9 @@ class EntriesPipe {
|
|
|
3409
3655
|
return entries;
|
|
3410
3656
|
}
|
|
3411
3657
|
}
|
|
3412
|
-
EntriesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3413
|
-
EntriesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3414
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3658
|
+
EntriesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EntriesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3659
|
+
EntriesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EntriesPipe, name: "entries" });
|
|
3660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: EntriesPipe, decorators: [{
|
|
3415
3661
|
type: Pipe,
|
|
3416
3662
|
args: [{
|
|
3417
3663
|
name: "entries"
|
|
@@ -3437,9 +3683,9 @@ class ExtraItemPropertiesPipe {
|
|
|
3437
3683
|
}, { ...item }));
|
|
3438
3684
|
}
|
|
3439
3685
|
}
|
|
3440
|
-
ExtraItemPropertiesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3441
|
-
ExtraItemPropertiesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3686
|
+
ExtraItemPropertiesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ExtraItemPropertiesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3687
|
+
ExtraItemPropertiesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ExtraItemPropertiesPipe, name: "extraItemProperties" });
|
|
3688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ExtraItemPropertiesPipe, decorators: [{
|
|
3443
3689
|
type: Pipe,
|
|
3444
3690
|
args: [{
|
|
3445
3691
|
name: "extraItemProperties"
|
|
@@ -3476,9 +3722,9 @@ class FilterPipe {
|
|
|
3476
3722
|
});
|
|
3477
3723
|
}
|
|
3478
3724
|
}
|
|
3479
|
-
FilterPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3480
|
-
FilterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3481
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3725
|
+
FilterPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FilterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3726
|
+
FilterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FilterPipe, name: "filter" });
|
|
3727
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FilterPipe, decorators: [{
|
|
3482
3728
|
type: Pipe,
|
|
3483
3729
|
args: [{
|
|
3484
3730
|
name: "filter"
|
|
@@ -3502,9 +3748,9 @@ class FindPipe {
|
|
|
3502
3748
|
return values.find((value, index) => filterFunc(value, index, params));
|
|
3503
3749
|
}
|
|
3504
3750
|
}
|
|
3505
|
-
FindPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3506
|
-
FindPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3507
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3751
|
+
FindPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FindPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3752
|
+
FindPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FindPipe, name: "find" });
|
|
3753
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FindPipe, decorators: [{
|
|
3508
3754
|
type: Pipe,
|
|
3509
3755
|
args: [{
|
|
3510
3756
|
name: "find"
|
|
@@ -3519,9 +3765,9 @@ class FormatNumberPipe {
|
|
|
3519
3765
|
return this.formatter.formatNumber(value, format, precision, divider);
|
|
3520
3766
|
}
|
|
3521
3767
|
}
|
|
3522
|
-
FormatNumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3523
|
-
FormatNumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3524
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3768
|
+
FormatNumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FormatNumberPipe, deps: [{ token: FormatterService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3769
|
+
FormatNumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FormatNumberPipe, name: "formatNumber" });
|
|
3770
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: FormatNumberPipe, decorators: [{
|
|
3525
3771
|
type: Pipe,
|
|
3526
3772
|
args: [{
|
|
3527
3773
|
name: "formatNumber"
|
|
@@ -3533,9 +3779,9 @@ class GetOffsetPipe {
|
|
|
3533
3779
|
return value ? (ObjectUtils.isNullOrUndefined(offset) ? value : value[offset]) : null;
|
|
3534
3780
|
}
|
|
3535
3781
|
}
|
|
3536
|
-
GetOffsetPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3537
|
-
GetOffsetPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3782
|
+
GetOffsetPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GetOffsetPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3783
|
+
GetOffsetPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GetOffsetPipe, name: "getOffset" });
|
|
3784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GetOffsetPipe, decorators: [{
|
|
3539
3785
|
type: Pipe,
|
|
3540
3786
|
args: [{
|
|
3541
3787
|
name: "getOffset"
|
|
@@ -3547,9 +3793,9 @@ class GetTypePipe {
|
|
|
3547
3793
|
return typeof value;
|
|
3548
3794
|
}
|
|
3549
3795
|
}
|
|
3550
|
-
GetTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3551
|
-
GetTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3552
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3796
|
+
GetTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GetTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3797
|
+
GetTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GetTypePipe, name: "getType" });
|
|
3798
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GetTypePipe, decorators: [{
|
|
3553
3799
|
type: Pipe,
|
|
3554
3800
|
args: [{
|
|
3555
3801
|
name: "getType"
|
|
@@ -3581,9 +3827,9 @@ class GlobalTemplatePipe {
|
|
|
3581
3827
|
return this.cachedTemplate;
|
|
3582
3828
|
}
|
|
3583
3829
|
}
|
|
3584
|
-
GlobalTemplatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3585
|
-
GlobalTemplatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3586
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3830
|
+
GlobalTemplatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GlobalTemplatePipe, deps: [{ token: GLOBAL_TEMPLATES }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3831
|
+
GlobalTemplatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GlobalTemplatePipe, name: "globalTemplate", pure: false });
|
|
3832
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GlobalTemplatePipe, decorators: [{
|
|
3587
3833
|
type: Pipe,
|
|
3588
3834
|
args: [{
|
|
3589
3835
|
pure: false,
|
|
@@ -3609,9 +3855,9 @@ class GroupByPipe {
|
|
|
3609
3855
|
});
|
|
3610
3856
|
}
|
|
3611
3857
|
}
|
|
3612
|
-
GroupByPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3613
|
-
GroupByPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3614
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3858
|
+
GroupByPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GroupByPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3859
|
+
GroupByPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GroupByPipe, name: "groupBy" });
|
|
3860
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GroupByPipe, decorators: [{
|
|
3615
3861
|
type: Pipe,
|
|
3616
3862
|
args: [{
|
|
3617
3863
|
name: "groupBy"
|
|
@@ -3623,9 +3869,9 @@ class IsTypePipe {
|
|
|
3623
3869
|
return (typeof value) === type;
|
|
3624
3870
|
}
|
|
3625
3871
|
}
|
|
3626
|
-
IsTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3627
|
-
IsTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3628
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3872
|
+
IsTypePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IsTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3873
|
+
IsTypePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IsTypePipe, name: "isType" });
|
|
3874
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IsTypePipe, decorators: [{
|
|
3629
3875
|
type: Pipe,
|
|
3630
3876
|
args: [{
|
|
3631
3877
|
name: "isType"
|
|
@@ -3639,9 +3885,9 @@ class JoinPipe {
|
|
|
3639
3885
|
: "";
|
|
3640
3886
|
}
|
|
3641
3887
|
}
|
|
3642
|
-
JoinPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3643
|
-
JoinPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3644
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3888
|
+
JoinPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: JoinPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3889
|
+
JoinPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: JoinPipe, name: "join" });
|
|
3890
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: JoinPipe, decorators: [{
|
|
3645
3891
|
type: Pipe,
|
|
3646
3892
|
args: [{
|
|
3647
3893
|
name: "join"
|
|
@@ -3658,9 +3904,9 @@ class KeysPipe {
|
|
|
3658
3904
|
: Object.keys(value);
|
|
3659
3905
|
}
|
|
3660
3906
|
}
|
|
3661
|
-
KeysPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3662
|
-
KeysPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3663
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3907
|
+
KeysPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: KeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3908
|
+
KeysPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: KeysPipe, name: "keys" });
|
|
3909
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: KeysPipe, decorators: [{
|
|
3664
3910
|
type: Pipe,
|
|
3665
3911
|
args: [{
|
|
3666
3912
|
name: "keys"
|
|
@@ -3684,9 +3930,9 @@ class MapPipe {
|
|
|
3684
3930
|
return values.map((value, index) => mapperFunc(value, index, params));
|
|
3685
3931
|
}
|
|
3686
3932
|
}
|
|
3687
|
-
MapPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3688
|
-
MapPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3689
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3933
|
+
MapPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: MapPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3934
|
+
MapPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: MapPipe, name: "map" });
|
|
3935
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: MapPipe, decorators: [{
|
|
3690
3936
|
type: Pipe,
|
|
3691
3937
|
args: [{
|
|
3692
3938
|
name: "map"
|
|
@@ -3706,9 +3952,9 @@ class MaxPipe {
|
|
|
3706
3952
|
return ArrayUtils.max(value, (item, index) => maxSelector(item, index, params));
|
|
3707
3953
|
}
|
|
3708
3954
|
}
|
|
3709
|
-
MaxPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3710
|
-
MaxPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3711
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3955
|
+
MaxPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: MaxPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3956
|
+
MaxPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: MaxPipe, name: "max" });
|
|
3957
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: MaxPipe, decorators: [{
|
|
3712
3958
|
type: Pipe,
|
|
3713
3959
|
args: [{
|
|
3714
3960
|
name: "max"
|
|
@@ -3728,9 +3974,9 @@ class MinPipe {
|
|
|
3728
3974
|
return ArrayUtils.min(value, (item, index) => minSelector(item, index, params));
|
|
3729
3975
|
}
|
|
3730
3976
|
}
|
|
3731
|
-
MinPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3732
|
-
MinPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3733
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3977
|
+
MinPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: MinPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3978
|
+
MinPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: MinPipe, name: "min" });
|
|
3979
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: MinPipe, decorators: [{
|
|
3734
3980
|
type: Pipe,
|
|
3735
3981
|
args: [{
|
|
3736
3982
|
name: "min"
|
|
@@ -3742,9 +3988,9 @@ class PopPipe {
|
|
|
3742
3988
|
return !Array.isArray(value) ? null : Array.from(value).pop();
|
|
3743
3989
|
}
|
|
3744
3990
|
}
|
|
3745
|
-
PopPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3746
|
-
PopPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3747
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3991
|
+
PopPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: PopPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3992
|
+
PopPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: PopPipe, name: "pop" });
|
|
3993
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: PopPipe, decorators: [{
|
|
3748
3994
|
type: Pipe,
|
|
3749
3995
|
args: [{
|
|
3750
3996
|
name: "pop"
|
|
@@ -3769,9 +4015,9 @@ class ReducePipe {
|
|
|
3769
4015
|
return values.reduce((result, value, index) => mapperFunc(result, value, index, params), source);
|
|
3770
4016
|
}
|
|
3771
4017
|
}
|
|
3772
|
-
ReducePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3773
|
-
ReducePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3774
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4018
|
+
ReducePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ReducePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4019
|
+
ReducePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ReducePipe, name: "reduce" });
|
|
4020
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ReducePipe, decorators: [{
|
|
3775
4021
|
type: Pipe,
|
|
3776
4022
|
args: [{
|
|
3777
4023
|
name: "reduce"
|
|
@@ -3798,9 +4044,9 @@ class RemapPipe {
|
|
|
3798
4044
|
return remapped.map;
|
|
3799
4045
|
}
|
|
3800
4046
|
}
|
|
3801
|
-
RemapPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3802
|
-
RemapPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3803
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4047
|
+
RemapPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: RemapPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4048
|
+
RemapPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: RemapPipe, name: "remap" });
|
|
4049
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: RemapPipe, decorators: [{
|
|
3804
4050
|
type: Pipe,
|
|
3805
4051
|
args: [{
|
|
3806
4052
|
name: "remap"
|
|
@@ -3809,12 +4055,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
3809
4055
|
|
|
3810
4056
|
class ReplacePipe {
|
|
3811
4057
|
transform(value, from, to) {
|
|
3812
|
-
return value ? value
|
|
4058
|
+
return ObjectUtils.isDefined(value) ? `${value}`.replace(from, to) : ``;
|
|
3813
4059
|
}
|
|
3814
4060
|
}
|
|
3815
|
-
ReplacePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3816
|
-
ReplacePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3817
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4061
|
+
ReplacePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ReplacePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4062
|
+
ReplacePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ReplacePipe, name: "replace" });
|
|
4063
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ReplacePipe, decorators: [{
|
|
3818
4064
|
type: Pipe,
|
|
3819
4065
|
args: [{
|
|
3820
4066
|
name: "replace"
|
|
@@ -3833,9 +4079,9 @@ class ReversePipe {
|
|
|
3833
4079
|
return result;
|
|
3834
4080
|
}
|
|
3835
4081
|
}
|
|
3836
|
-
ReversePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3837
|
-
ReversePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3838
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4082
|
+
ReversePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ReversePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4083
|
+
ReversePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ReversePipe, name: "reverse" });
|
|
4084
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ReversePipe, decorators: [{
|
|
3839
4085
|
type: Pipe,
|
|
3840
4086
|
args: [{
|
|
3841
4087
|
name: "reverse"
|
|
@@ -3850,9 +4096,9 @@ class RoundPipe {
|
|
|
3850
4096
|
return this.formatter.roundNumber(value, precision, divider);
|
|
3851
4097
|
}
|
|
3852
4098
|
}
|
|
3853
|
-
RoundPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3854
|
-
RoundPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3855
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4099
|
+
RoundPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: RoundPipe, deps: [{ token: FormatterService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4100
|
+
RoundPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: RoundPipe, name: "round" });
|
|
4101
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: RoundPipe, decorators: [{
|
|
3856
4102
|
type: Pipe,
|
|
3857
4103
|
args: [{
|
|
3858
4104
|
name: "round"
|
|
@@ -3880,9 +4126,9 @@ class SafeHtmlPipe {
|
|
|
3880
4126
|
}
|
|
3881
4127
|
}
|
|
3882
4128
|
}
|
|
3883
|
-
SafeHtmlPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3884
|
-
SafeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3885
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4129
|
+
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 });
|
|
4130
|
+
SafeHtmlPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SafeHtmlPipe, name: "safe" });
|
|
4131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SafeHtmlPipe, decorators: [{
|
|
3886
4132
|
type: Pipe,
|
|
3887
4133
|
args: [{
|
|
3888
4134
|
name: "safe"
|
|
@@ -3894,9 +4140,9 @@ class ShiftPipe {
|
|
|
3894
4140
|
return !Array.isArray(value) ? null : Array.from(value).shift();
|
|
3895
4141
|
}
|
|
3896
4142
|
}
|
|
3897
|
-
ShiftPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3898
|
-
ShiftPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3899
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4143
|
+
ShiftPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ShiftPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4144
|
+
ShiftPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ShiftPipe, name: "shift" });
|
|
4145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ShiftPipe, decorators: [{
|
|
3900
4146
|
type: Pipe,
|
|
3901
4147
|
args: [{
|
|
3902
4148
|
name: "shift"
|
|
@@ -3908,9 +4154,9 @@ class SplitPipe {
|
|
|
3908
4154
|
return `${value}`.split(separator);
|
|
3909
4155
|
}
|
|
3910
4156
|
}
|
|
3911
|
-
SplitPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3912
|
-
SplitPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3913
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4157
|
+
SplitPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SplitPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4158
|
+
SplitPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SplitPipe, name: "split" });
|
|
4159
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SplitPipe, decorators: [{
|
|
3914
4160
|
type: Pipe,
|
|
3915
4161
|
args: [{
|
|
3916
4162
|
name: "split"
|
|
@@ -3983,10 +4229,10 @@ class TranslatePipe {
|
|
|
3983
4229
|
return this.lastValue;
|
|
3984
4230
|
}
|
|
3985
4231
|
}
|
|
3986
|
-
TranslatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3987
|
-
TranslatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
3988
|
-
TranslatePipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3989
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4232
|
+
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 });
|
|
4233
|
+
TranslatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TranslatePipe, name: "translate", pure: false });
|
|
4234
|
+
TranslatePipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TranslatePipe });
|
|
4235
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: TranslatePipe, decorators: [{
|
|
3990
4236
|
type: Injectable
|
|
3991
4237
|
}, {
|
|
3992
4238
|
type: Pipe,
|
|
@@ -4009,9 +4255,9 @@ class ValuesPipe {
|
|
|
4009
4255
|
: Object.keys(value).map(key => value[key]);
|
|
4010
4256
|
}
|
|
4011
4257
|
}
|
|
4012
|
-
ValuesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4013
|
-
ValuesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
4014
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4258
|
+
ValuesPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ValuesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
4259
|
+
ValuesPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ValuesPipe, name: "values" });
|
|
4260
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ValuesPipe, decorators: [{
|
|
4015
4261
|
type: Pipe,
|
|
4016
4262
|
args: [{
|
|
4017
4263
|
name: "values"
|
|
@@ -4064,9 +4310,9 @@ class AsyncMethodBase {
|
|
|
4064
4310
|
return true;
|
|
4065
4311
|
}
|
|
4066
4312
|
}
|
|
4067
|
-
AsyncMethodBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4068
|
-
AsyncMethodBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4069
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4313
|
+
AsyncMethodBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AsyncMethodBase, deps: [{ token: TOASTER_SERVICE }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4314
|
+
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 });
|
|
4315
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AsyncMethodBase, decorators: [{
|
|
4070
4316
|
type: Directive,
|
|
4071
4317
|
args: [{
|
|
4072
4318
|
selector: "[__asmb__]"
|
|
@@ -4098,9 +4344,9 @@ class AsyncMethodDirective extends AsyncMethodBase {
|
|
|
4098
4344
|
return this.method;
|
|
4099
4345
|
}
|
|
4100
4346
|
}
|
|
4101
|
-
AsyncMethodDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4102
|
-
AsyncMethodDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4347
|
+
AsyncMethodDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AsyncMethodDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
4348
|
+
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 });
|
|
4349
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: AsyncMethodDirective, decorators: [{
|
|
4104
4350
|
type: Directive,
|
|
4105
4351
|
args: [{
|
|
4106
4352
|
selector: "[async-method]",
|
|
@@ -4142,9 +4388,9 @@ class BackgroundDirective {
|
|
|
4142
4388
|
this.renderer.setStyle(this.element.nativeElement, "background-size", this.backgroundSize);
|
|
4143
4389
|
}
|
|
4144
4390
|
}
|
|
4145
|
-
BackgroundDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4146
|
-
BackgroundDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4147
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4391
|
+
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 });
|
|
4392
|
+
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 });
|
|
4393
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: BackgroundDirective, decorators: [{
|
|
4148
4394
|
type: Directive,
|
|
4149
4395
|
args: [{
|
|
4150
4396
|
selector: "[background]"
|
|
@@ -4160,9 +4406,9 @@ class DynamicTableTemplateDirective {
|
|
|
4160
4406
|
this.ref = ref;
|
|
4161
4407
|
}
|
|
4162
4408
|
}
|
|
4163
|
-
DynamicTableTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4164
|
-
DynamicTableTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4409
|
+
DynamicTableTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DynamicTableTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4410
|
+
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 });
|
|
4411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DynamicTableTemplateDirective, decorators: [{
|
|
4166
4412
|
type: Directive,
|
|
4167
4413
|
args: [{
|
|
4168
4414
|
selector: "ng-template[column]"
|
|
@@ -4185,9 +4431,9 @@ class GlobalTemplateDirective {
|
|
|
4185
4431
|
this.globalTemplates.remove(this.id);
|
|
4186
4432
|
}
|
|
4187
4433
|
}
|
|
4188
|
-
GlobalTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4189
|
-
GlobalTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4190
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4434
|
+
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 });
|
|
4435
|
+
GlobalTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: GlobalTemplateDirective, selector: "[globalTemplate]", inputs: { id: ["globalTemplate", "id"] }, ngImport: i0 });
|
|
4436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: GlobalTemplateDirective, decorators: [{
|
|
4191
4437
|
type: Directive,
|
|
4192
4438
|
args: [{
|
|
4193
4439
|
selector: "[globalTemplate]"
|
|
@@ -4238,9 +4484,9 @@ class IconDirective {
|
|
|
4238
4484
|
});
|
|
4239
4485
|
}
|
|
4240
4486
|
}
|
|
4241
|
-
IconDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4242
|
-
IconDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4243
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4487
|
+
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 });
|
|
4488
|
+
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 });
|
|
4489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: IconDirective, decorators: [{
|
|
4244
4490
|
type: Directive,
|
|
4245
4491
|
args: [{
|
|
4246
4492
|
selector: "[icon]"
|
|
@@ -4336,9 +4582,9 @@ class NgxTemplateOutletDirective {
|
|
|
4336
4582
|
}
|
|
4337
4583
|
}
|
|
4338
4584
|
}
|
|
4339
|
-
NgxTemplateOutletDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4340
|
-
NgxTemplateOutletDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4341
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4585
|
+
NgxTemplateOutletDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: NgxTemplateOutletDirective, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4586
|
+
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 });
|
|
4587
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: NgxTemplateOutletDirective, decorators: [{
|
|
4342
4588
|
type: Directive,
|
|
4343
4589
|
args: [{
|
|
4344
4590
|
selector: "[ngxTemplateOutlet]"
|
|
@@ -4405,9 +4651,9 @@ class PaginationDirective {
|
|
|
4405
4651
|
});
|
|
4406
4652
|
}
|
|
4407
4653
|
}
|
|
4408
|
-
PaginationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4409
|
-
PaginationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4410
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4654
|
+
PaginationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: PaginationDirective, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4655
|
+
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 });
|
|
4656
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: PaginationDirective, decorators: [{
|
|
4411
4657
|
type: Directive,
|
|
4412
4658
|
args: [{
|
|
4413
4659
|
selector: "[pagination]",
|
|
@@ -4450,9 +4696,9 @@ class PaginationItemDirective {
|
|
|
4450
4696
|
});
|
|
4451
4697
|
}
|
|
4452
4698
|
}
|
|
4453
|
-
PaginationItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4454
|
-
PaginationItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4455
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4699
|
+
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 });
|
|
4700
|
+
PaginationItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: PaginationItemDirective, selector: "[paginationItem]", ngImport: i0 });
|
|
4701
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: PaginationItemDirective, decorators: [{
|
|
4456
4702
|
type: Directive,
|
|
4457
4703
|
args: [{
|
|
4458
4704
|
selector: "[paginationItem]"
|
|
@@ -4489,9 +4735,9 @@ class ResourceIfDirective {
|
|
|
4489
4735
|
}
|
|
4490
4736
|
}
|
|
4491
4737
|
}
|
|
4492
|
-
ResourceIfDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4493
|
-
ResourceIfDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4494
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4738
|
+
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 });
|
|
4739
|
+
ResourceIfDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: ResourceIfDirective, selector: "[resourceIf]", inputs: { resourceIf: "resourceIf" }, exportAs: ["resourceIf"], ngImport: i0 });
|
|
4740
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ResourceIfDirective, decorators: [{
|
|
4495
4741
|
type: Directive,
|
|
4496
4742
|
args: [{
|
|
4497
4743
|
selector: "[resourceIf]",
|
|
@@ -4530,9 +4776,9 @@ class StickyDirective {
|
|
|
4530
4776
|
this.updateTimer.run();
|
|
4531
4777
|
}
|
|
4532
4778
|
}
|
|
4533
|
-
StickyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4534
|
-
StickyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4535
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4779
|
+
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 });
|
|
4780
|
+
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 });
|
|
4781
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: StickyDirective, decorators: [{
|
|
4536
4782
|
type: Directive,
|
|
4537
4783
|
args: [{
|
|
4538
4784
|
selector: "[sticky]"
|
|
@@ -4570,9 +4816,9 @@ class StickyClassDirective {
|
|
|
4570
4816
|
this.stickyUpdated.unsubscribe();
|
|
4571
4817
|
}
|
|
4572
4818
|
}
|
|
4573
|
-
StickyClassDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4574
|
-
StickyClassDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4575
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4819
|
+
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 });
|
|
4820
|
+
StickyClassDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: StickyClassDirective, selector: "[stickyClass]", inputs: { stickyClass: "stickyClass" }, ngImport: i0 });
|
|
4821
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: StickyClassDirective, decorators: [{
|
|
4576
4822
|
type: Directive,
|
|
4577
4823
|
args: [{
|
|
4578
4824
|
selector: "[stickyClass]"
|
|
@@ -4627,9 +4873,9 @@ class UnorderedListItemDirective {
|
|
|
4627
4873
|
this.item.classList.push(className);
|
|
4628
4874
|
}
|
|
4629
4875
|
}
|
|
4630
|
-
UnorderedListItemDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4631
|
-
UnorderedListItemDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4632
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4876
|
+
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 });
|
|
4877
|
+
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 });
|
|
4878
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: UnorderedListItemDirective, decorators: [{
|
|
4633
4879
|
type: Directive,
|
|
4634
4880
|
args: [{
|
|
4635
4881
|
selector: "[unorderedListItem]"
|
|
@@ -4665,9 +4911,9 @@ class UnorderedListTemplateDirective extends UnorederedListTemplate {
|
|
|
4665
4911
|
return this.templateRef.createEmbeddedView(context);
|
|
4666
4912
|
}
|
|
4667
4913
|
}
|
|
4668
|
-
UnorderedListTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4669
|
-
UnorderedListTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
4670
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4914
|
+
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 });
|
|
4915
|
+
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 });
|
|
4916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: UnorderedListTemplateDirective, decorators: [{
|
|
4671
4917
|
type: Directive,
|
|
4672
4918
|
args: [{
|
|
4673
4919
|
selector: "ng-template[type][selector]"
|
|
@@ -4704,9 +4950,9 @@ class UnorderedListComponent {
|
|
|
4704
4950
|
this.cdr.detectChanges();
|
|
4705
4951
|
}
|
|
4706
4952
|
}
|
|
4707
|
-
UnorderedListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4708
|
-
UnorderedListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
4709
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
4953
|
+
UnorderedListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: UnorderedListComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
4954
|
+
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 } });
|
|
4955
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: UnorderedListComponent, decorators: [{
|
|
4710
4956
|
type: Component,
|
|
4711
4957
|
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" }]
|
|
4712
4958
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { data: [{
|
|
@@ -4808,9 +5054,9 @@ class PaginationMenuComponent {
|
|
|
4808
5054
|
this.pages = pages;
|
|
4809
5055
|
}
|
|
4810
5056
|
}
|
|
4811
|
-
PaginationMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4812
|
-
PaginationMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
4813
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5057
|
+
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 });
|
|
5058
|
+
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 } });
|
|
5059
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: PaginationMenuComponent, decorators: [{
|
|
4814
5060
|
type: Component,
|
|
4815
5061
|
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" }]
|
|
4816
5062
|
}], ctorParameters: function () { return [{ type: StateService }, { type: PaginationDirective }, { type: undefined, decorators: [{
|
|
@@ -4927,9 +5173,9 @@ class DynamicTableComponent {
|
|
|
4927
5173
|
});
|
|
4928
5174
|
}
|
|
4929
5175
|
}
|
|
4930
|
-
DynamicTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
4931
|
-
DynamicTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
4932
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5176
|
+
DynamicTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DynamicTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5177
|
+
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 } });
|
|
5178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: DynamicTableComponent, decorators: [{
|
|
4933
5179
|
type: Component,
|
|
4934
5180
|
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" }]
|
|
4935
5181
|
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
@@ -5057,6 +5303,7 @@ const providers = [
|
|
|
5057
5303
|
GlobalTemplateService,
|
|
5058
5304
|
IconService,
|
|
5059
5305
|
LanguageService,
|
|
5306
|
+
LocalHttpService,
|
|
5060
5307
|
OpenApiService,
|
|
5061
5308
|
PromiseService,
|
|
5062
5309
|
StateService,
|
|
@@ -5065,6 +5312,7 @@ const providers = [
|
|
|
5065
5312
|
ConsoleToasterService,
|
|
5066
5313
|
TranslatedUrlSerializer,
|
|
5067
5314
|
UniversalService,
|
|
5315
|
+
WasmService,
|
|
5068
5316
|
DeviceDetectorService,
|
|
5069
5317
|
{
|
|
5070
5318
|
provide: EVENT_MANAGER_PLUGINS,
|
|
@@ -5089,6 +5337,163 @@ function loadConfig(config) {
|
|
|
5089
5337
|
return config.load;
|
|
5090
5338
|
}
|
|
5091
5339
|
|
|
5340
|
+
class Wasi {
|
|
5341
|
+
constructor() {
|
|
5342
|
+
this.env = {};
|
|
5343
|
+
this.instantiated = false;
|
|
5344
|
+
this.wasi = [
|
|
5345
|
+
"emscripten_notify_memory_growth",
|
|
5346
|
+
"proc_exit",
|
|
5347
|
+
"environ_get",
|
|
5348
|
+
"environ_sizes_get",
|
|
5349
|
+
"fd_close",
|
|
5350
|
+
"fd_write",
|
|
5351
|
+
"fd_read",
|
|
5352
|
+
"fd_seek",
|
|
5353
|
+
].reduce((res, key) => {
|
|
5354
|
+
if (typeof this[key] === "function") {
|
|
5355
|
+
res[key] = this[key].bind(this);
|
|
5356
|
+
}
|
|
5357
|
+
return res;
|
|
5358
|
+
}, {});
|
|
5359
|
+
}
|
|
5360
|
+
instantiate(bytes) {
|
|
5361
|
+
if (this.instantiated) {
|
|
5362
|
+
throw new Error("WASI already instantiated");
|
|
5363
|
+
}
|
|
5364
|
+
this.instantiated = true;
|
|
5365
|
+
return WebAssembly.instantiate(bytes, {
|
|
5366
|
+
wasi_snapshot_preview1: this.wasi,
|
|
5367
|
+
env: this.wasi
|
|
5368
|
+
}).then(module => {
|
|
5369
|
+
const exports = module.instance.exports;
|
|
5370
|
+
this.wasm = {
|
|
5371
|
+
...exports,
|
|
5372
|
+
writeArrayToMemory: (array) => {
|
|
5373
|
+
const bytes = array.length * array.BYTES_PER_ELEMENT;
|
|
5374
|
+
const pointer = exports.malloc(bytes);
|
|
5375
|
+
const ctr = array.constructor;
|
|
5376
|
+
const heapArray = new ctr(this.wasm.memory.buffer, pointer, array.length);
|
|
5377
|
+
heapArray.set(array);
|
|
5378
|
+
return pointer;
|
|
5379
|
+
},
|
|
5380
|
+
readArrayFromMemory: (pointer, array) => {
|
|
5381
|
+
const ctr = array.constructor;
|
|
5382
|
+
const heapArray = new ctr(this.wasm.memory.buffer, pointer, array.length);
|
|
5383
|
+
array.set(heapArray);
|
|
5384
|
+
return array;
|
|
5385
|
+
}
|
|
5386
|
+
};
|
|
5387
|
+
this.updateMemoryViews();
|
|
5388
|
+
return this.wasm;
|
|
5389
|
+
});
|
|
5390
|
+
}
|
|
5391
|
+
updateMemoryViews() {
|
|
5392
|
+
const buffer = this.wasm.memory.buffer;
|
|
5393
|
+
this.wasm.HEAP8 = new Int8Array(buffer);
|
|
5394
|
+
this.wasm.HEAP16 = new Int16Array(buffer);
|
|
5395
|
+
this.wasm.HEAP32 = new Int32Array(buffer);
|
|
5396
|
+
this.wasm.HEAPU8 = new Uint8Array(buffer);
|
|
5397
|
+
this.wasm.HEAPU16 = new Uint16Array(buffer);
|
|
5398
|
+
this.wasm.HEAPU32 = new Uint32Array(buffer);
|
|
5399
|
+
this.wasm.HEAPF32 = new Float32Array(buffer);
|
|
5400
|
+
this.wasm.HEAPF64 = new Float64Array(buffer);
|
|
5401
|
+
}
|
|
5402
|
+
getEnvStrings() {
|
|
5403
|
+
if (!this.envStrings) {
|
|
5404
|
+
let x;
|
|
5405
|
+
const env = {};
|
|
5406
|
+
for (x in this.env) {
|
|
5407
|
+
if (this.env[x] === undefined)
|
|
5408
|
+
delete env[x];
|
|
5409
|
+
else
|
|
5410
|
+
env[x] = this.env[x];
|
|
5411
|
+
}
|
|
5412
|
+
const strings = [];
|
|
5413
|
+
for (x in env) {
|
|
5414
|
+
strings.push(x + "=" + env[x]);
|
|
5415
|
+
}
|
|
5416
|
+
this.envStrings = strings;
|
|
5417
|
+
}
|
|
5418
|
+
return this.envStrings;
|
|
5419
|
+
}
|
|
5420
|
+
stringToAscii(str, buffer) {
|
|
5421
|
+
const HEAP8 = this.wasm.HEAP8;
|
|
5422
|
+
for (let i = 0; i < str.length; ++i) {
|
|
5423
|
+
HEAP8[buffer++ >> 0] = str.charCodeAt(i);
|
|
5424
|
+
}
|
|
5425
|
+
HEAP8[buffer >> 0] = 0;
|
|
5426
|
+
}
|
|
5427
|
+
emscripten_notify_memory_growth(memoryIndex) {
|
|
5428
|
+
this.updateMemoryViews();
|
|
5429
|
+
}
|
|
5430
|
+
proc_exit(rval) {
|
|
5431
|
+
console.log("proc_exit", rval);
|
|
5432
|
+
}
|
|
5433
|
+
environ_get(environ, environ_buf) {
|
|
5434
|
+
if (!this.wasm.HEAP8.byteLength) {
|
|
5435
|
+
this.emscripten_notify_memory_growth(0);
|
|
5436
|
+
}
|
|
5437
|
+
const HEAPU32 = this.wasm.HEAPU32;
|
|
5438
|
+
let bufSize = 0;
|
|
5439
|
+
this.getEnvStrings().forEach((str, i) => {
|
|
5440
|
+
const ptr = environ_buf + bufSize;
|
|
5441
|
+
HEAPU32[environ + i * 4 >> 2] = ptr;
|
|
5442
|
+
this.stringToAscii(str, ptr);
|
|
5443
|
+
bufSize += str.length + 1;
|
|
5444
|
+
});
|
|
5445
|
+
return 0;
|
|
5446
|
+
}
|
|
5447
|
+
environ_sizes_get(penviron_count, penviron_buf_size) {
|
|
5448
|
+
if (!this.wasm.HEAP8.byteLength) {
|
|
5449
|
+
this.emscripten_notify_memory_growth(0);
|
|
5450
|
+
}
|
|
5451
|
+
const HEAPU32 = this.wasm.HEAPU32;
|
|
5452
|
+
const strings = this.getEnvStrings();
|
|
5453
|
+
HEAPU32[penviron_count >> 2] = strings.length;
|
|
5454
|
+
let bufSize = 0;
|
|
5455
|
+
strings.forEach(function (string) {
|
|
5456
|
+
bufSize += string.length + 1;
|
|
5457
|
+
});
|
|
5458
|
+
HEAPU32[penviron_buf_size >> 2] = bufSize;
|
|
5459
|
+
// WASI_ESUCCESS
|
|
5460
|
+
return 0;
|
|
5461
|
+
}
|
|
5462
|
+
fd_close(fd) {
|
|
5463
|
+
// WASI_ESUCCESS
|
|
5464
|
+
return 0;
|
|
5465
|
+
}
|
|
5466
|
+
fd_write(fd, iovs, iovs_len, nwritten) {
|
|
5467
|
+
if (fd !== 1) {
|
|
5468
|
+
// WASI_EBADF
|
|
5469
|
+
return 8;
|
|
5470
|
+
}
|
|
5471
|
+
if (iovs_len !== 1) {
|
|
5472
|
+
// WASI_ENOSYS
|
|
5473
|
+
return 52;
|
|
5474
|
+
}
|
|
5475
|
+
this.wasm.HEAPU32[nwritten >> 2] = this.wasm.HEAPU32[iovs + 4 >> 2];
|
|
5476
|
+
// WASI_ESUCCESS
|
|
5477
|
+
return 0;
|
|
5478
|
+
}
|
|
5479
|
+
fd_read(fd, iovs, iovs_len, nread) {
|
|
5480
|
+
// WASI_EINVAL
|
|
5481
|
+
return 28;
|
|
5482
|
+
}
|
|
5483
|
+
fd_seek(fd, offset, whence, newOffset) {
|
|
5484
|
+
// WASI_EINVAL
|
|
5485
|
+
return 28;
|
|
5486
|
+
}
|
|
5487
|
+
}
|
|
5488
|
+
Wasi.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: Wasi, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5489
|
+
Wasi.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: Wasi, providedIn: "root" });
|
|
5490
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: Wasi, decorators: [{
|
|
5491
|
+
type: Injectable,
|
|
5492
|
+
args: [{
|
|
5493
|
+
providedIn: "root"
|
|
5494
|
+
}]
|
|
5495
|
+
}], ctorParameters: function () { return []; } });
|
|
5496
|
+
|
|
5092
5497
|
function loadBaseUrl() {
|
|
5093
5498
|
if (typeof (document) === "undefined" || typeof (location) === "undefined")
|
|
5094
5499
|
return "/";
|
|
@@ -5159,6 +5564,10 @@ class NgxUtilsModule {
|
|
|
5159
5564
|
provide: GLOBAL_TEMPLATES,
|
|
5160
5565
|
useExisting: (!config ? null : config.globalTemplates) || GlobalTemplateService
|
|
5161
5566
|
},
|
|
5567
|
+
{
|
|
5568
|
+
provide: WASI_IMPLEMENTATION,
|
|
5569
|
+
useExisting: (!config ? null : config.wasiImplementation) || Wasi
|
|
5570
|
+
},
|
|
5162
5571
|
{
|
|
5163
5572
|
provide: APP_BASE_URL,
|
|
5164
5573
|
useFactory: (!config ? null : config.baseUrl) || loadBaseUrl,
|
|
@@ -5168,6 +5577,10 @@ class NgxUtilsModule {
|
|
|
5168
5577
|
provide: ROOT_ELEMENT,
|
|
5169
5578
|
useValue: null
|
|
5170
5579
|
},
|
|
5580
|
+
{
|
|
5581
|
+
provide: RESIZE_DELAY,
|
|
5582
|
+
useValue: (!config ? null : config.resizeDelay) ?? 200,
|
|
5583
|
+
},
|
|
5171
5584
|
{
|
|
5172
5585
|
provide: APP_INITIALIZER,
|
|
5173
5586
|
useFactory: (!config ? null : config.initializeApp) || loadConfig,
|
|
@@ -5183,14 +5596,14 @@ class NgxUtilsModule {
|
|
|
5183
5596
|
};
|
|
5184
5597
|
}
|
|
5185
5598
|
}
|
|
5186
|
-
NgxUtilsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
5187
|
-
NgxUtilsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
5599
|
+
NgxUtilsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: NgxUtilsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5600
|
+
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,
|
|
5188
5601
|
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] });
|
|
5189
|
-
NgxUtilsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
5602
|
+
NgxUtilsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: NgxUtilsModule, providers: pipes, imports: [[
|
|
5190
5603
|
CommonModule,
|
|
5191
5604
|
FormsModule
|
|
5192
5605
|
], FormsModule] });
|
|
5193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
5606
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: NgxUtilsModule, decorators: [{
|
|
5194
5607
|
type: NgModule,
|
|
5195
5608
|
args: [{
|
|
5196
5609
|
declarations: [
|
|
@@ -5216,5 +5629,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImpor
|
|
|
5216
5629
|
* Generated bundle index. Do not edit.
|
|
5217
5630
|
*/
|
|
5218
5631
|
|
|
5219
|
-
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 };
|
|
5632
|
+
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 };
|
|
5220
5633
|
//# sourceMappingURL=stemy-ngx-utils.mjs.map
|