monkey-front-core 21.2.9 → 22.2.0
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/README.md +14 -17
- package/fesm2022/monkey-front-core.mjs +340 -205
- package/fesm2022/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-22.2.0.tgz +0 -0
- package/package.json +21 -21
- package/types/monkey-front-core.d.ts +116 -54
- package/monkey-front-core-21.2.9.tgz +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { __decorate } from 'tslib';
|
|
2
|
-
import { HttpContextToken, HttpErrorResponse, HttpClient, HttpParams, HttpContext, HttpHeaders, provideHttpClient, withInterceptors } from '@angular/common/http';
|
|
2
|
+
import { HttpContextToken, HttpErrorResponse, HttpClient, HttpParams, HttpContext, HttpHeaders, provideHttpClient, withXhr, withInterceptors } from '@angular/common/http';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
4
|
import { inject, InjectionToken, Injectable, LOCALE_ID, DestroyRef, DOCUMENT, Inject, Injector, EventEmitter, Input, Directive, ElementRef, ChangeDetectorRef, ErrorHandler, provideAppInitializer, NgModule, Pipe, DEFAULT_CURRENCY_CODE, signal } from '@angular/core';
|
|
5
5
|
import * as i2 from '@angular/router';
|
|
6
6
|
import { Router, NavigationStart } from '@angular/router';
|
|
7
7
|
import queryString from 'query-string';
|
|
8
|
-
import { BehaviorSubject, of, map, firstValueFrom, merge, fromEvent, interval, ReplaySubject, Subject, tap, catchError, throwError, finalize, switchMap, take,
|
|
8
|
+
import { BehaviorSubject, of, map, firstValueFrom, combineLatest, distinctUntilChanged, filter, merge, fromEvent, interval, ReplaySubject, Subject, tap, catchError, throwError, finalize, switchMap, take, Subscription, from, debounceTime } from 'rxjs';
|
|
9
9
|
import * as i1 from 'ngx-cookie-service';
|
|
10
10
|
import * as i1$1 from '@ngrx/store';
|
|
11
11
|
import { createAction, props, INIT, createReducer, on, createFeatureSelector, createSelector, provideStore, provideState } from '@ngrx/store';
|
|
@@ -25,11 +25,6 @@ import { DomSanitizer } from '@angular/platform-browser';
|
|
|
25
25
|
import { NgModel, TouchedChangeEvent, ValueChangeEvent, StatusChangeEvent } from '@angular/forms';
|
|
26
26
|
import { map as map$1, catchError as catchError$1, finalize as finalize$1 } from 'rxjs/operators';
|
|
27
27
|
|
|
28
|
-
/** ************************
|
|
29
|
-
* Copyright Monkey Exchange. All Rights Reserved
|
|
30
|
-
* This style guide was developed by Monkey Exchange Team
|
|
31
|
-
* MIT Licence
|
|
32
|
-
************************* */
|
|
33
28
|
function injectTokenWithWarning(token, name) {
|
|
34
29
|
const value = inject(token, { optional: true });
|
|
35
30
|
if (!value) {
|
|
@@ -88,6 +83,20 @@ const MECX_REFRESH_TOKEN_STRATEGY = new InjectionToken('MECX_REFRESH_TOKEN_STRAT
|
|
|
88
83
|
const MECX_REDIRECT_LOGIN_WELCOMEBACK_STRATEGY = new InjectionToken('MECX_REDIRECT_LOGIN_WELCOMEBACK_STRATEGY');
|
|
89
84
|
const MECX_I18N_PATH = new InjectionToken('MECX_I18N_PATH');
|
|
90
85
|
const MECX_I18N_ALIAS = new InjectionToken('MECX_I18N_ALIAS');
|
|
86
|
+
/**
|
|
87
|
+
* The native federation instance resolved by `initFederation` in the shell `main.ts`.
|
|
88
|
+
* Used by `MonkeyEcxFederationService` to register and load the remotes of `federationSettings`.
|
|
89
|
+
*
|
|
90
|
+
* ### Example
|
|
91
|
+
* ```
|
|
92
|
+
* // main.ts
|
|
93
|
+
* initFederation({}).then((federation) => import('./bootstrap').then((m) => m.bootstrap(federation)));
|
|
94
|
+
*
|
|
95
|
+
* // bootstrap.ts
|
|
96
|
+
* providers: [...appConfig.providers, provideMonkeyEcxFederation(federation)]
|
|
97
|
+
* ```
|
|
98
|
+
*/
|
|
99
|
+
const MECX_FEDERATION = new InjectionToken('MECX_FEDERATION');
|
|
91
100
|
|
|
92
101
|
/** ************************
|
|
93
102
|
* Copyright Monkey Exchange. All Rights Reserved
|
|
@@ -126,10 +135,10 @@ class MonkeyEcxCookieStorageService {
|
|
|
126
135
|
console.error('MonkeyEcxCookieStorageService -> setCookie', err);
|
|
127
136
|
}
|
|
128
137
|
}
|
|
129
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
130
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
138
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxCookieStorageService, deps: [{ token: i1.CookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
139
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxCookieStorageService, providedIn: 'root' }); }
|
|
131
140
|
}
|
|
132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxCookieStorageService, decorators: [{
|
|
133
142
|
type: Injectable,
|
|
134
143
|
args: [{
|
|
135
144
|
providedIn: 'root'
|
|
@@ -537,10 +546,10 @@ class MonkeyEcxTokenStorageService {
|
|
|
537
546
|
}));
|
|
538
547
|
}
|
|
539
548
|
}
|
|
540
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
541
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
549
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxTokenStorageService, deps: [{ token: i1$1.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
550
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxTokenStorageService, providedIn: 'root' }); }
|
|
542
551
|
}
|
|
543
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxTokenStorageService, decorators: [{
|
|
544
553
|
type: Injectable,
|
|
545
554
|
args: [{
|
|
546
555
|
providedIn: 'root'
|
|
@@ -1308,24 +1317,12 @@ class MonkeyEcxConfigsService {
|
|
|
1308
1317
|
this._styleGuide$.next(data);
|
|
1309
1318
|
}
|
|
1310
1319
|
federationSettings(key) {
|
|
1311
|
-
|
|
1312
|
-
const { value } = this._bootstrap$;
|
|
1313
|
-
if (value) {
|
|
1314
|
-
const { federationSettings } = value;
|
|
1315
|
-
if (key in federationSettings || {}) {
|
|
1316
|
-
return federationSettings[key];
|
|
1317
|
-
}
|
|
1318
|
-
}
|
|
1319
|
-
}
|
|
1320
|
-
catch (e) {
|
|
1321
|
-
// not to do
|
|
1322
|
-
}
|
|
1323
|
-
return null;
|
|
1320
|
+
return this._bootstrap$.value?.federationSettings?.[key] ?? null;
|
|
1324
1321
|
}
|
|
1325
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1326
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1322
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxConfigsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1323
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxConfigsService, providedIn: 'root' }); }
|
|
1327
1324
|
}
|
|
1328
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1325
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxConfigsService, decorators: [{
|
|
1329
1326
|
type: Injectable,
|
|
1330
1327
|
args: [{
|
|
1331
1328
|
providedIn: 'root'
|
|
@@ -1483,10 +1480,10 @@ class MonkeyEcxAlertsService {
|
|
|
1483
1480
|
apply() {
|
|
1484
1481
|
this.handleValidation();
|
|
1485
1482
|
}
|
|
1486
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1487
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1483
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxAlertsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1484
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxAlertsService, providedIn: 'root' }); }
|
|
1488
1485
|
}
|
|
1489
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1486
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxAlertsService, decorators: [{
|
|
1490
1487
|
type: Injectable,
|
|
1491
1488
|
args: [{
|
|
1492
1489
|
providedIn: 'root'
|
|
@@ -1628,10 +1625,10 @@ Using this console can allow attackers to pass through you and retrieve your inf
|
|
|
1628
1625
|
return data[locale]?.[key] ?? null;
|
|
1629
1626
|
}));
|
|
1630
1627
|
}
|
|
1631
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1632
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1628
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyDictionaryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1629
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyDictionaryService, providedIn: 'root' }); }
|
|
1633
1630
|
}
|
|
1634
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1631
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyDictionaryService, decorators: [{
|
|
1635
1632
|
type: Injectable,
|
|
1636
1633
|
args: [{
|
|
1637
1634
|
providedIn: 'root'
|
|
@@ -1676,10 +1673,10 @@ class MonkeyEcxSecurityConsoleService {
|
|
|
1676
1673
|
this.handleValidation();
|
|
1677
1674
|
}, 300);
|
|
1678
1675
|
}
|
|
1679
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1680
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1676
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxSecurityConsoleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1677
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxSecurityConsoleService, providedIn: 'root' }); }
|
|
1681
1678
|
}
|
|
1682
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1679
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxSecurityConsoleService, decorators: [{
|
|
1683
1680
|
type: Injectable,
|
|
1684
1681
|
args: [{
|
|
1685
1682
|
providedIn: 'root'
|
|
@@ -1785,10 +1782,10 @@ class MonkeyEcxDatadogService {
|
|
|
1785
1782
|
apply() {
|
|
1786
1783
|
this.handleValidation();
|
|
1787
1784
|
}
|
|
1788
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1789
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1785
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxDatadogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1786
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxDatadogService, providedIn: 'root' }); }
|
|
1790
1787
|
}
|
|
1791
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1788
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxDatadogService, decorators: [{
|
|
1792
1789
|
type: Injectable,
|
|
1793
1790
|
args: [{
|
|
1794
1791
|
providedIn: 'root'
|
|
@@ -1934,10 +1931,10 @@ class MonkeyEcxErrorService {
|
|
|
1934
1931
|
apply(e) {
|
|
1935
1932
|
this.handleValidation(e);
|
|
1936
1933
|
}
|
|
1937
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1938
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1934
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxErrorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1935
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxErrorService, providedIn: 'root' }); }
|
|
1939
1936
|
}
|
|
1940
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1937
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxErrorService, decorators: [{
|
|
1941
1938
|
type: Injectable,
|
|
1942
1939
|
args: [{
|
|
1943
1940
|
providedIn: 'root'
|
|
@@ -2006,16 +2003,143 @@ class MonkeyEcxFeatureToggleService {
|
|
|
2006
2003
|
return;
|
|
2007
2004
|
await this.handleValidation(environment.launchDarklyClientSideID, whiteLabel);
|
|
2008
2005
|
}
|
|
2009
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2010
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2006
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFeatureToggleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2007
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFeatureToggleService, providedIn: 'root' }); }
|
|
2011
2008
|
}
|
|
2012
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2009
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFeatureToggleService, decorators: [{
|
|
2013
2010
|
type: Injectable,
|
|
2014
2011
|
args: [{
|
|
2015
2012
|
providedIn: 'root'
|
|
2016
2013
|
}]
|
|
2017
2014
|
}] });
|
|
2018
2015
|
|
|
2016
|
+
/** ************************
|
|
2017
|
+
* Copyright Monkey Exchange. All Rights Reserved
|
|
2018
|
+
* This style guide was developed by Monkey Exchange Team
|
|
2019
|
+
* MIT Licence
|
|
2020
|
+
************************* */
|
|
2021
|
+
const DEFAULT_REMOTE_ENTRY = 'remoteEntry.json';
|
|
2022
|
+
const DEFAULT_EXPOSED_MODULE = './Routes';
|
|
2023
|
+
class MonkeyEcxFederationService {
|
|
2024
|
+
constructor() {
|
|
2025
|
+
this._configsService = inject(MonkeyEcxConfigsService);
|
|
2026
|
+
this._federation = injectTokenWithWarning(MECX_FEDERATION, 'MECX_FEDERATION');
|
|
2027
|
+
this._remotes$ = new BehaviorSubject({});
|
|
2028
|
+
this._initialized$ = new BehaviorSubject(false);
|
|
2029
|
+
this._loading = new Map();
|
|
2030
|
+
}
|
|
2031
|
+
get remotes$() {
|
|
2032
|
+
return this._remotes$.asObservable();
|
|
2033
|
+
}
|
|
2034
|
+
get allLoaded$() {
|
|
2035
|
+
return this.watchHoldSplash(['loaded']);
|
|
2036
|
+
}
|
|
2037
|
+
get allSettled$() {
|
|
2038
|
+
return this.watchHoldSplash(['loaded', 'error']);
|
|
2039
|
+
}
|
|
2040
|
+
watchHoldSplash(statuses) {
|
|
2041
|
+
return combineLatest([this._initialized$, this._remotes$]).pipe(map(([initialized, remotes]) => {
|
|
2042
|
+
return this.isHoldSplashIn(initialized, remotes, statuses);
|
|
2043
|
+
}), distinctUntilChanged());
|
|
2044
|
+
}
|
|
2045
|
+
isHoldSplashIn(initialized, remotes, statuses) {
|
|
2046
|
+
if (!initialized)
|
|
2047
|
+
return false;
|
|
2048
|
+
return Object.values(remotes)
|
|
2049
|
+
.filter(({ setting }) => {
|
|
2050
|
+
return setting.holdSplash;
|
|
2051
|
+
})
|
|
2052
|
+
.every(({ status }) => {
|
|
2053
|
+
return statuses.includes(status);
|
|
2054
|
+
});
|
|
2055
|
+
}
|
|
2056
|
+
updateRemote(name, data) {
|
|
2057
|
+
const remotes = this._remotes$.value;
|
|
2058
|
+
this._remotes$.next({
|
|
2059
|
+
...remotes,
|
|
2060
|
+
[name]: { ...remotes[name], ...data }
|
|
2061
|
+
});
|
|
2062
|
+
}
|
|
2063
|
+
async handleLoad(name) {
|
|
2064
|
+
const setting = this._configsService.federationSettings(name);
|
|
2065
|
+
if (!setting) {
|
|
2066
|
+
throw new Error(`MECXFederation -> Remote "${name}" not found in federationSettings`);
|
|
2067
|
+
}
|
|
2068
|
+
this.updateRemote(name, { name, setting, status: 'loading', error: undefined });
|
|
2069
|
+
try {
|
|
2070
|
+
if (!this._federation) {
|
|
2071
|
+
throw new Error(`MECXFederation -> Remote "${name}" could not be loaded`);
|
|
2072
|
+
}
|
|
2073
|
+
const { host, remoteEntry = DEFAULT_REMOTE_ENTRY, exposedModule = DEFAULT_EXPOSED_MODULE } = setting;
|
|
2074
|
+
const url = `${host.replace(/\/+$/, '')}/${remoteEntry.replace(/^\/+/, '')}`;
|
|
2075
|
+
this._federation = await this._federation.initRemoteEntry(url, name);
|
|
2076
|
+
const module = await this._federation.loadRemoteModule(name, exposedModule);
|
|
2077
|
+
this.updateRemote(name, { status: 'loaded', module });
|
|
2078
|
+
return module;
|
|
2079
|
+
}
|
|
2080
|
+
catch (e) {
|
|
2081
|
+
console.error(`MECXFederation -> Remote "${name}" failed to load: `, e);
|
|
2082
|
+
this.updateRemote(name, { status: 'error', error: e });
|
|
2083
|
+
throw e;
|
|
2084
|
+
}
|
|
2085
|
+
}
|
|
2086
|
+
apply() {
|
|
2087
|
+
const federationSettings = this._configsService.bootstrap?.federationSettings || {};
|
|
2088
|
+
const current = this._remotes$.value;
|
|
2089
|
+
const remotes = Object.entries(federationSettings).reduce((acc, [name, setting]) => {
|
|
2090
|
+
acc[name] = current[name] || { name, setting, status: 'idle' };
|
|
2091
|
+
return acc;
|
|
2092
|
+
}, {});
|
|
2093
|
+
this._remotes$.next(remotes);
|
|
2094
|
+
this._initialized$.next(true);
|
|
2095
|
+
Object.entries(federationSettings)
|
|
2096
|
+
.filter(([, setting]) => {
|
|
2097
|
+
return setting.preload || setting.holdSplash;
|
|
2098
|
+
})
|
|
2099
|
+
.forEach(([name]) => {
|
|
2100
|
+
this.load(name).catch(() => {
|
|
2101
|
+
// not to do
|
|
2102
|
+
});
|
|
2103
|
+
});
|
|
2104
|
+
}
|
|
2105
|
+
skip() {
|
|
2106
|
+
this._initialized$.next(true);
|
|
2107
|
+
}
|
|
2108
|
+
load(name) {
|
|
2109
|
+
let promise = this._loading.get(name);
|
|
2110
|
+
if (!promise) {
|
|
2111
|
+
promise = this.handleLoad(name).catch((e) => {
|
|
2112
|
+
this._loading.delete(name);
|
|
2113
|
+
throw e;
|
|
2114
|
+
});
|
|
2115
|
+
this._loading.set(name, promise);
|
|
2116
|
+
}
|
|
2117
|
+
return promise;
|
|
2118
|
+
}
|
|
2119
|
+
async loadRoutes(name) {
|
|
2120
|
+
const module = await this.load(name);
|
|
2121
|
+
return module.routes;
|
|
2122
|
+
}
|
|
2123
|
+
status(name) {
|
|
2124
|
+
return this._remotes$.value[name] || null;
|
|
2125
|
+
}
|
|
2126
|
+
isAllLoaded() {
|
|
2127
|
+
return this.isHoldSplashIn(this._initialized$.value, this._remotes$.value, ['loaded']);
|
|
2128
|
+
}
|
|
2129
|
+
isAllSettled() {
|
|
2130
|
+
return this.isHoldSplashIn(this._initialized$.value, this._remotes$.value, ['loaded', 'error']);
|
|
2131
|
+
}
|
|
2132
|
+
async whenAllSettled() {
|
|
2133
|
+
await firstValueFrom(this.allSettled$.pipe(filter(Boolean)));
|
|
2134
|
+
}
|
|
2135
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFederationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2136
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFederationService, providedIn: 'root' }); }
|
|
2137
|
+
}
|
|
2138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFederationService, decorators: [{
|
|
2139
|
+
type: Injectable,
|
|
2140
|
+
args: [{ providedIn: 'root' }]
|
|
2141
|
+
}] });
|
|
2142
|
+
|
|
2019
2143
|
/** ************************
|
|
2020
2144
|
* Copyright Monkey Exchange. All Rights Reserved
|
|
2021
2145
|
* This style guide was developed by Monkey Exchange Team
|
|
@@ -2062,10 +2186,10 @@ class MonkeyEcxGTMService {
|
|
|
2062
2186
|
apply() {
|
|
2063
2187
|
this.handleValidation();
|
|
2064
2188
|
}
|
|
2065
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2066
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2189
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxGTMService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2190
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxGTMService, providedIn: 'root' }); }
|
|
2067
2191
|
}
|
|
2068
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxGTMService, decorators: [{
|
|
2069
2193
|
type: Injectable,
|
|
2070
2194
|
args: [{
|
|
2071
2195
|
providedIn: 'root'
|
|
@@ -2130,10 +2254,10 @@ class MonkeyEcxNewVersionService {
|
|
|
2130
2254
|
apply() {
|
|
2131
2255
|
this.handleValidation();
|
|
2132
2256
|
}
|
|
2133
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2134
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2257
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxNewVersionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2258
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxNewVersionService, providedIn: 'root' }); }
|
|
2135
2259
|
}
|
|
2136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2260
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxNewVersionService, decorators: [{
|
|
2137
2261
|
type: Injectable,
|
|
2138
2262
|
args: [{
|
|
2139
2263
|
providedIn: 'root'
|
|
@@ -2278,10 +2402,10 @@ class MonkeyEcxConnectionService {
|
|
|
2278
2402
|
if (this._idleTimeoutHandle)
|
|
2279
2403
|
clearTimeout(this._idleTimeoutHandle);
|
|
2280
2404
|
}
|
|
2281
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2282
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2405
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxConnectionService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2406
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxConnectionService, providedIn: 'root' }); }
|
|
2283
2407
|
}
|
|
2284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2408
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxConnectionService, decorators: [{
|
|
2285
2409
|
type: Injectable,
|
|
2286
2410
|
args: [{ providedIn: 'root' }]
|
|
2287
2411
|
}], ctorParameters: () => [{ type: i0.NgZone }] });
|
|
@@ -2394,10 +2518,10 @@ class MonkeyEcxRequestErrorService {
|
|
|
2394
2518
|
}, timeout);
|
|
2395
2519
|
this.handleNetworkBlock(error);
|
|
2396
2520
|
}
|
|
2397
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2398
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2521
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxRequestErrorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2522
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxRequestErrorService, providedIn: 'root' }); }
|
|
2399
2523
|
}
|
|
2400
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2524
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxRequestErrorService, decorators: [{
|
|
2401
2525
|
type: Injectable,
|
|
2402
2526
|
args: [{ providedIn: 'root' }]
|
|
2403
2527
|
}] });
|
|
@@ -2503,10 +2627,10 @@ class MonkeyEcxRequestStateService {
|
|
|
2503
2627
|
}
|
|
2504
2628
|
return this.refreshSubject.pipe(take(1), switchMap(() => this.retryRequest(req, next)));
|
|
2505
2629
|
}
|
|
2506
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2507
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2630
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxRequestStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2631
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxRequestStateService, providedIn: 'root' }); }
|
|
2508
2632
|
}
|
|
2509
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2633
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxRequestStateService, decorators: [{
|
|
2510
2634
|
type: Injectable,
|
|
2511
2635
|
args: [{ providedIn: 'root' }]
|
|
2512
2636
|
}] });
|
|
@@ -2581,7 +2705,7 @@ class MonkeyEcxService {
|
|
|
2581
2705
|
options = this.getOptions(options);
|
|
2582
2706
|
options = {
|
|
2583
2707
|
...options,
|
|
2584
|
-
|
|
2708
|
+
reportDownloadProgress: true
|
|
2585
2709
|
};
|
|
2586
2710
|
return this.get(url, options);
|
|
2587
2711
|
}
|
|
@@ -2625,10 +2749,10 @@ class MonkeyEcxService {
|
|
|
2625
2749
|
options = this.getOptions(options);
|
|
2626
2750
|
return this._http.delete(url, options || {});
|
|
2627
2751
|
}
|
|
2628
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2629
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2752
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2753
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxService, providedIn: 'root' }); }
|
|
2630
2754
|
}
|
|
2631
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2755
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxService, decorators: [{
|
|
2632
2756
|
type: Injectable,
|
|
2633
2757
|
args: [{
|
|
2634
2758
|
providedIn: 'root'
|
|
@@ -2768,10 +2892,10 @@ class MonkeyEcxLocaleService {
|
|
|
2768
2892
|
async apply() {
|
|
2769
2893
|
await this.handleValidation();
|
|
2770
2894
|
}
|
|
2771
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2772
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2895
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxLocaleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2896
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxLocaleService, providedIn: 'root' }); }
|
|
2773
2897
|
}
|
|
2774
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2898
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxLocaleService, decorators: [{
|
|
2775
2899
|
type: Injectable,
|
|
2776
2900
|
args: [{
|
|
2777
2901
|
providedIn: 'root'
|
|
@@ -2932,10 +3056,10 @@ class MonkeyEcxMaintenanceService {
|
|
|
2932
3056
|
apply() {
|
|
2933
3057
|
this.handleValidation();
|
|
2934
3058
|
}
|
|
2935
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2936
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3059
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxMaintenanceService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3060
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxMaintenanceService, providedIn: 'root' }); }
|
|
2937
3061
|
}
|
|
2938
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3062
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxMaintenanceService, decorators: [{
|
|
2939
3063
|
type: Injectable,
|
|
2940
3064
|
args: [{
|
|
2941
3065
|
providedIn: 'root'
|
|
@@ -3005,10 +3129,10 @@ class MonkeyEcxStyleGuideService {
|
|
|
3005
3129
|
this.applyFonts(config);
|
|
3006
3130
|
this.applyTheme(config);
|
|
3007
3131
|
}
|
|
3008
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3009
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3132
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxStyleGuideService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3133
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxStyleGuideService, providedIn: 'root' }); }
|
|
3010
3134
|
}
|
|
3011
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxStyleGuideService, decorators: [{
|
|
3012
3136
|
type: Injectable,
|
|
3013
3137
|
args: [{
|
|
3014
3138
|
providedIn: 'root'
|
|
@@ -3045,10 +3169,10 @@ class MonkeyEcxUpdateService {
|
|
|
3045
3169
|
apply() {
|
|
3046
3170
|
this.handleValidation();
|
|
3047
3171
|
}
|
|
3048
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3049
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3172
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxUpdateService, deps: [{ token: i1$2.SwUpdate }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3173
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxUpdateService, providedIn: 'root' }); }
|
|
3050
3174
|
}
|
|
3051
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxUpdateService, decorators: [{
|
|
3052
3176
|
type: Injectable,
|
|
3053
3177
|
args: [{
|
|
3054
3178
|
providedIn: 'root'
|
|
@@ -3075,6 +3199,7 @@ class MonkeyEcxInitService {
|
|
|
3075
3199
|
this._maintenanceService = inject(MonkeyEcxMaintenanceService);
|
|
3076
3200
|
this._localeService = inject(MonkeyEcxLocaleService);
|
|
3077
3201
|
this._connectionService = inject(MonkeyEcxConnectionService);
|
|
3202
|
+
this._federationService = inject(MonkeyEcxFederationService);
|
|
3078
3203
|
this._bootstrapService = injectTokenWithWarning(MECX_BOOTSTRAP_SERVICE, 'MECX_BOOTSTRAP_SERVICE');
|
|
3079
3204
|
// not to do
|
|
3080
3205
|
}
|
|
@@ -3107,9 +3232,11 @@ class MonkeyEcxInitService {
|
|
|
3107
3232
|
async handleSettings(response, code) {
|
|
3108
3233
|
this._updateService.apply();
|
|
3109
3234
|
if (response.maintenance.closed) {
|
|
3235
|
+
this._federationService.skip();
|
|
3110
3236
|
this._maintenanceService.apply();
|
|
3111
3237
|
}
|
|
3112
3238
|
else {
|
|
3239
|
+
this._federationService.apply();
|
|
3113
3240
|
await this.handleWhiteLabel(code);
|
|
3114
3241
|
await this._featureToggleService.apply();
|
|
3115
3242
|
await this.handleStyleGuide(code);
|
|
@@ -3121,6 +3248,7 @@ class MonkeyEcxInitService {
|
|
|
3121
3248
|
async performValidation(response, code) {
|
|
3122
3249
|
this._configsService.bootstrap = response;
|
|
3123
3250
|
if (!code) {
|
|
3251
|
+
this._federationService.skip();
|
|
3124
3252
|
this._errorService.apply();
|
|
3125
3253
|
return;
|
|
3126
3254
|
}
|
|
@@ -3142,13 +3270,14 @@ class MonkeyEcxInitService {
|
|
|
3142
3270
|
}
|
|
3143
3271
|
catch (e) {
|
|
3144
3272
|
console.error('🤯 MECXInit -> Monkey app initialization failed: ', e);
|
|
3273
|
+
this._federationService.skip();
|
|
3145
3274
|
this._errorService.apply(e);
|
|
3146
3275
|
}
|
|
3147
3276
|
}
|
|
3148
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3149
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3277
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxInitService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3278
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxInitService, providedIn: 'root' }); }
|
|
3150
3279
|
}
|
|
3151
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3280
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxInitService, decorators: [{
|
|
3152
3281
|
type: Injectable,
|
|
3153
3282
|
args: [{ providedIn: 'root' }]
|
|
3154
3283
|
}], ctorParameters: () => [] });
|
|
@@ -3193,10 +3322,10 @@ class LService {
|
|
|
3193
3322
|
'decrypt'
|
|
3194
3323
|
]);
|
|
3195
3324
|
}
|
|
3196
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3197
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3325
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: LService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3326
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: LService, providedIn: 'root' }); }
|
|
3198
3327
|
}
|
|
3199
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3328
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: LService, decorators: [{
|
|
3200
3329
|
type: Injectable,
|
|
3201
3330
|
args: [{
|
|
3202
3331
|
providedIn: 'root'
|
|
@@ -3280,8 +3409,8 @@ class MonkeyEcxScheduleService {
|
|
|
3280
3409
|
});
|
|
3281
3410
|
this._routerSubscription.unsubscribe();
|
|
3282
3411
|
}
|
|
3283
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3284
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3412
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxScheduleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3413
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxScheduleService, providedIn: 'root' }); }
|
|
3285
3414
|
}
|
|
3286
3415
|
__decorate([
|
|
3287
3416
|
MonkeyEcxCoreService({
|
|
@@ -3291,7 +3420,7 @@ __decorate([
|
|
|
3291
3420
|
}
|
|
3292
3421
|
})
|
|
3293
3422
|
], MonkeyEcxScheduleService.prototype, "startWithRequest", null);
|
|
3294
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3423
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxScheduleService, decorators: [{
|
|
3295
3424
|
type: Injectable,
|
|
3296
3425
|
args: [{ providedIn: 'root' }]
|
|
3297
3426
|
}], propDecorators: { startWithRequest: [] } });
|
|
@@ -3324,10 +3453,10 @@ class MonkeyEcxLoggedHandleService {
|
|
|
3324
3453
|
this.destroyToken();
|
|
3325
3454
|
this.destroySchedule();
|
|
3326
3455
|
}
|
|
3327
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3328
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3456
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxLoggedHandleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3457
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxLoggedHandleService, providedIn: 'root' }); }
|
|
3329
3458
|
}
|
|
3330
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3459
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxLoggedHandleService, decorators: [{
|
|
3331
3460
|
type: Injectable,
|
|
3332
3461
|
args: [{
|
|
3333
3462
|
providedIn: 'root'
|
|
@@ -3606,8 +3735,8 @@ class MonkeyEcxAuthService {
|
|
|
3606
3735
|
});
|
|
3607
3736
|
localeService.apply();
|
|
3608
3737
|
}
|
|
3609
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3610
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3738
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxAuthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3739
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxAuthService, providedIn: 'root' }); }
|
|
3611
3740
|
}
|
|
3612
3741
|
__decorate([
|
|
3613
3742
|
MonkeyEcxCoreService({
|
|
@@ -3636,7 +3765,7 @@ __decorate([
|
|
|
3636
3765
|
}
|
|
3637
3766
|
})
|
|
3638
3767
|
], MonkeyEcxAuthService.prototype, "me", null);
|
|
3639
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3768
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxAuthService, decorators: [{
|
|
3640
3769
|
type: Injectable,
|
|
3641
3770
|
args: [{ providedIn: 'root' }]
|
|
3642
3771
|
}], propDecorators: { deleteToken: [], login: [], me: [] } });
|
|
@@ -3676,10 +3805,10 @@ class MonkeyEcxGlobalErrorHandler {
|
|
|
3676
3805
|
// not to
|
|
3677
3806
|
}
|
|
3678
3807
|
}
|
|
3679
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3680
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3808
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxGlobalErrorHandler, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3809
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxGlobalErrorHandler, providedIn: 'root' }); }
|
|
3681
3810
|
}
|
|
3682
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3811
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxGlobalErrorHandler, decorators: [{
|
|
3683
3812
|
type: Injectable,
|
|
3684
3813
|
args: [{
|
|
3685
3814
|
providedIn: 'root'
|
|
@@ -3738,10 +3867,10 @@ fill="#000000" stroke="none">
|
|
|
3738
3867
|
</svg>
|
|
3739
3868
|
`);
|
|
3740
3869
|
}
|
|
3741
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3742
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3870
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxIconsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3871
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxIconsService, providedIn: 'root' }); }
|
|
3743
3872
|
}
|
|
3744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3873
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxIconsService, decorators: [{
|
|
3745
3874
|
type: Injectable,
|
|
3746
3875
|
args: [{
|
|
3747
3876
|
providedIn: 'root'
|
|
@@ -4074,10 +4203,10 @@ class MonkeyEcxFormValidationService {
|
|
|
4074
4203
|
}
|
|
4075
4204
|
});
|
|
4076
4205
|
}
|
|
4077
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4078
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4206
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormValidationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4207
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormValidationService, providedIn: 'root' }); }
|
|
4079
4208
|
}
|
|
4080
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormValidationService, decorators: [{
|
|
4081
4210
|
type: Injectable,
|
|
4082
4211
|
args: [{ providedIn: 'root' }]
|
|
4083
4212
|
}] });
|
|
@@ -4215,10 +4344,10 @@ class MonkeyEcxErrorMessageDirective {
|
|
|
4215
4344
|
ngOnDestroy() {
|
|
4216
4345
|
this.sub?.unsubscribe();
|
|
4217
4346
|
}
|
|
4218
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4219
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4347
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxErrorMessageDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4348
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: MonkeyEcxErrorMessageDirective, isStandalone: true, selector: "[monkeyecxErrorMessage]", inputs: { errorMessage: ["monkeyecxErrorMessage", "errorMessage"] }, ngImport: i0 }); }
|
|
4220
4349
|
}
|
|
4221
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4350
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxErrorMessageDirective, decorators: [{
|
|
4222
4351
|
type: Directive,
|
|
4223
4352
|
args: [{
|
|
4224
4353
|
selector: '[monkeyecxErrorMessage]',
|
|
@@ -4268,10 +4397,10 @@ class MonkeyEcxFeatureByProgramDirective {
|
|
|
4268
4397
|
ngOnInit() {
|
|
4269
4398
|
this.init();
|
|
4270
4399
|
}
|
|
4271
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4272
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4400
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFeatureByProgramDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4401
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: MonkeyEcxFeatureByProgramDirective, isStandalone: true, selector: "[monkeyecxFeatureByProgram]", inputs: { feature: "feature" }, ngImport: i0 }); }
|
|
4273
4402
|
}
|
|
4274
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFeatureByProgramDirective, decorators: [{
|
|
4275
4404
|
type: Directive,
|
|
4276
4405
|
args: [{
|
|
4277
4406
|
selector: '[monkeyecxFeatureByProgram]'
|
|
@@ -4329,10 +4458,10 @@ class MonkeyEcxFeatureDirective {
|
|
|
4329
4458
|
}
|
|
4330
4459
|
});
|
|
4331
4460
|
}
|
|
4332
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4333
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4461
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFeatureDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4462
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: MonkeyEcxFeatureDirective, isStandalone: true, selector: "[monkeyecxFeature]", inputs: { feature: ["featureName", "feature"] }, ngImport: i0 }); }
|
|
4334
4463
|
}
|
|
4335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFeatureDirective, decorators: [{
|
|
4336
4465
|
type: Directive,
|
|
4337
4466
|
args: [{
|
|
4338
4467
|
selector: '[monkeyecxFeature]'
|
|
@@ -4381,10 +4510,10 @@ class MonkeyEcxLoadingDirective {
|
|
|
4381
4510
|
this._view = this.viewContainer.createEmbeddedView(this.templateRef);
|
|
4382
4511
|
}
|
|
4383
4512
|
}
|
|
4384
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4385
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4513
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxLoadingDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4514
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: MonkeyEcxLoadingDirective, isStandalone: true, selector: "[monkeyecxLoading]", inputs: { monkeyecxLoading: "monkeyecxLoading", monkeyecxLoadingSize: "monkeyecxLoadingSize" }, usesOnChanges: true, ngImport: i0 }); }
|
|
4386
4515
|
}
|
|
4387
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4516
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxLoadingDirective, decorators: [{
|
|
4388
4517
|
type: Directive,
|
|
4389
4518
|
args: [{
|
|
4390
4519
|
selector: '[monkeyecxLoading]'
|
|
@@ -4453,10 +4582,10 @@ class MonkeyEcxSecurityDirective {
|
|
|
4453
4582
|
this.changeDetectorRef.detectChanges();
|
|
4454
4583
|
this.handleData();
|
|
4455
4584
|
}
|
|
4456
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4457
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4585
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxSecurityDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4586
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.1.7", type: MonkeyEcxSecurityDirective, isStandalone: true, selector: "[monkeyecxSecurity]", inputs: { roles: ["securityRoles", "roles"], byExclusion: ["securityByExclusion", "byExclusion"] }, ngImport: i0 }); }
|
|
4458
4587
|
}
|
|
4459
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxSecurityDirective, decorators: [{
|
|
4460
4589
|
type: Directive,
|
|
4461
4590
|
args: [{
|
|
4462
4591
|
selector: '[monkeyecxSecurity]'
|
|
@@ -4824,10 +4953,10 @@ class MonkeyEcxAuthGuardCompany {
|
|
|
4824
4953
|
this._authService.redirectLoginWelcomeBack();
|
|
4825
4954
|
return false;
|
|
4826
4955
|
}
|
|
4827
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4828
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4956
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxAuthGuardCompany, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4957
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxAuthGuardCompany, providedIn: 'root' }); }
|
|
4829
4958
|
}
|
|
4830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4959
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxAuthGuardCompany, decorators: [{
|
|
4831
4960
|
type: Injectable,
|
|
4832
4961
|
args: [{ providedIn: 'root' }]
|
|
4833
4962
|
}] });
|
|
@@ -4847,10 +4976,10 @@ class MonkeyEcxAuthGuardLogin {
|
|
|
4847
4976
|
}
|
|
4848
4977
|
return true;
|
|
4849
4978
|
}
|
|
4850
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4851
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4979
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxAuthGuardLogin, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4980
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxAuthGuardLogin, providedIn: 'root' }); }
|
|
4852
4981
|
}
|
|
4853
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4982
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxAuthGuardLogin, decorators: [{
|
|
4854
4983
|
type: Injectable,
|
|
4855
4984
|
args: [{ providedIn: 'root' }]
|
|
4856
4985
|
}] });
|
|
@@ -4918,10 +5047,10 @@ class MonkeyEcxAuthGuardByRole {
|
|
|
4918
5047
|
}
|
|
4919
5048
|
return true;
|
|
4920
5049
|
}
|
|
4921
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4922
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5050
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxAuthGuardByRole, deps: [{ token: MonkeyEcxTokenStorageService }, { token: i2.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5051
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxAuthGuardByRole, providedIn: 'root' }); }
|
|
4923
5052
|
}
|
|
4924
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5053
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxAuthGuardByRole, decorators: [{
|
|
4925
5054
|
type: Injectable,
|
|
4926
5055
|
args: [{
|
|
4927
5056
|
providedIn: 'root'
|
|
@@ -4939,10 +5068,10 @@ class MonkeyEcxAuthGuard {
|
|
|
4939
5068
|
this._authService.redirectLoginWelcomeBack();
|
|
4940
5069
|
return false;
|
|
4941
5070
|
}
|
|
4942
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4943
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5071
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxAuthGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5072
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxAuthGuard, providedIn: 'root' }); }
|
|
4944
5073
|
}
|
|
4945
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5074
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxAuthGuard, decorators: [{
|
|
4946
5075
|
type: Injectable,
|
|
4947
5076
|
args: [{
|
|
4948
5077
|
providedIn: 'root'
|
|
@@ -5026,7 +5155,7 @@ class MonkeyEcxCoreModule {
|
|
|
5026
5155
|
provide: ErrorHandler,
|
|
5027
5156
|
useClass: MonkeyEcxGlobalErrorHandler
|
|
5028
5157
|
},
|
|
5029
|
-
provideHttpClient(withInterceptors([monkeyEcxHttpConfigInterceptor])),
|
|
5158
|
+
provideHttpClient(withXhr(), withInterceptors([monkeyEcxHttpConfigInterceptor])),
|
|
5030
5159
|
provideAppInitializer(() => {
|
|
5031
5160
|
const initializerFn = monkeyEcxInitializerFactory(inject(MonkeyEcxInitService));
|
|
5032
5161
|
return initializerFn();
|
|
@@ -5039,11 +5168,11 @@ class MonkeyEcxCoreModule {
|
|
|
5039
5168
|
]
|
|
5040
5169
|
};
|
|
5041
5170
|
}
|
|
5042
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5043
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5044
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5171
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5172
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxCoreModule, imports: [CommonModule] }); }
|
|
5173
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxCoreModule, imports: [CommonModule] }); }
|
|
5045
5174
|
}
|
|
5046
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxCoreModule, decorators: [{
|
|
5047
5176
|
type: NgModule,
|
|
5048
5177
|
args: [{
|
|
5049
5178
|
imports: [CommonModule]
|
|
@@ -5066,10 +5195,10 @@ class MonkeyEcxBlobSecurePipe {
|
|
|
5066
5195
|
return this._sanitizer.bypassSecurityTrustUrl(URL.createObjectURL(val));
|
|
5067
5196
|
}));
|
|
5068
5197
|
}
|
|
5069
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5070
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5198
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxBlobSecurePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5199
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxBlobSecurePipe, isStandalone: false, name: "monkeyecxBlobSecure" }); }
|
|
5071
5200
|
}
|
|
5072
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5201
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxBlobSecurePipe, decorators: [{
|
|
5073
5202
|
type: Pipe,
|
|
5074
5203
|
args: [{
|
|
5075
5204
|
name: 'monkeyecxBlobSecure',
|
|
@@ -5096,10 +5225,10 @@ class MonkeyEcxCurrencyCodePipe {
|
|
|
5096
5225
|
}[currency];
|
|
5097
5226
|
return `${value} (${type === 'symbol' ? symbol : currency})`;
|
|
5098
5227
|
}
|
|
5099
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5100
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5228
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxCurrencyCodePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5229
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxCurrencyCodePipe, isStandalone: false, name: "monkeyecxCurrencyCode" }); }
|
|
5101
5230
|
}
|
|
5102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5231
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxCurrencyCodePipe, decorators: [{
|
|
5103
5232
|
type: Pipe,
|
|
5104
5233
|
args: [{
|
|
5105
5234
|
name: 'monkeyecxCurrencyCode',
|
|
@@ -5118,10 +5247,10 @@ class MonkeyEcxDisplayFirstNamePipe {
|
|
|
5118
5247
|
return '';
|
|
5119
5248
|
return MonkeyEcxUtils.cutFirstLastName(name);
|
|
5120
5249
|
}
|
|
5121
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5122
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5250
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxDisplayFirstNamePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5251
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxDisplayFirstNamePipe, isStandalone: false, name: "monkeyecxDisplayFirstName" }); }
|
|
5123
5252
|
}
|
|
5124
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxDisplayFirstNamePipe, decorators: [{
|
|
5125
5254
|
type: Pipe,
|
|
5126
5255
|
args: [{
|
|
5127
5256
|
name: 'monkeyecxDisplayFirstName',
|
|
@@ -5142,10 +5271,10 @@ class MonkeyEcxDisplayInitialsPipe {
|
|
|
5142
5271
|
const second = MonkeyEcxUtils.cutFirstLastName(name, 'last');
|
|
5143
5272
|
return `${first?.charAt(0)} ${second?.charAt(0)}`;
|
|
5144
5273
|
}
|
|
5145
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5146
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5274
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxDisplayInitialsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5275
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxDisplayInitialsPipe, isStandalone: false, name: "monkeyecxDisplayInitials" }); }
|
|
5147
5276
|
}
|
|
5148
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5277
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxDisplayInitialsPipe, decorators: [{
|
|
5149
5278
|
type: Pipe,
|
|
5150
5279
|
args: [{
|
|
5151
5280
|
name: 'monkeyecxDisplayInitials',
|
|
@@ -5166,10 +5295,10 @@ class MonkeyEcxFormatAddressPipe {
|
|
|
5166
5295
|
})
|
|
5167
5296
|
.join(', ');
|
|
5168
5297
|
}
|
|
5169
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5170
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5298
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatAddressPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5299
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatAddressPipe, isStandalone: false, name: "monkeyecxFormatAddress" }); }
|
|
5171
5300
|
}
|
|
5172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5301
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatAddressPipe, decorators: [{
|
|
5173
5302
|
type: Pipe,
|
|
5174
5303
|
args: [{
|
|
5175
5304
|
name: 'monkeyecxFormatAddress',
|
|
@@ -5208,10 +5337,10 @@ class MonkeyEcxFormatBeaufityJSONPipe {
|
|
|
5208
5337
|
.replace(/>/g, '>')
|
|
5209
5338
|
.replace(jsonLine, replacer);
|
|
5210
5339
|
}
|
|
5211
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5212
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5340
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatBeaufityJSONPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5341
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatBeaufityJSONPipe, isStandalone: false, name: "monkeyecxFormatBeautifyJSON" }); }
|
|
5213
5342
|
}
|
|
5214
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatBeaufityJSONPipe, decorators: [{
|
|
5215
5344
|
type: Pipe,
|
|
5216
5345
|
args: [{
|
|
5217
5346
|
name: 'monkeyecxFormatBeautifyJSON',
|
|
@@ -5247,10 +5376,10 @@ class MonkeyEcxFormatCurrencyPipe {
|
|
|
5247
5376
|
}
|
|
5248
5377
|
return value;
|
|
5249
5378
|
}
|
|
5250
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5251
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5379
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatCurrencyPipe, deps: [{ token: i1$3.CurrencyPipe }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5380
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatCurrencyPipe, isStandalone: false, name: "monkeyecxFormatCurrency" }); }
|
|
5252
5381
|
}
|
|
5253
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5382
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatCurrencyPipe, decorators: [{
|
|
5254
5383
|
type: Pipe,
|
|
5255
5384
|
args: [{
|
|
5256
5385
|
name: 'monkeyecxFormatCurrency',
|
|
@@ -5274,10 +5403,10 @@ class MonkeyEcxFormatDatePipe {
|
|
|
5274
5403
|
}
|
|
5275
5404
|
return this.dt.transform(date, format, this._timezone.toString());
|
|
5276
5405
|
}
|
|
5277
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5278
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5406
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatDatePipe, deps: [{ token: i1$3.DatePipe }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5407
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatDatePipe, isStandalone: false, name: "monkeyecxFormatDate" }); }
|
|
5279
5408
|
}
|
|
5280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5409
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatDatePipe, decorators: [{
|
|
5281
5410
|
type: Pipe,
|
|
5282
5411
|
args: [{
|
|
5283
5412
|
name: 'monkeyecxFormatDate',
|
|
@@ -5300,10 +5429,10 @@ class MonkeyEcxFormatDocumentPipe {
|
|
|
5300
5429
|
}
|
|
5301
5430
|
return MonkeyEcxUtils.formatDocumentWithMask(document, withType, this._country);
|
|
5302
5431
|
}
|
|
5303
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5304
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5432
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatDocumentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5433
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatDocumentPipe, isStandalone: false, name: "monkeyecxFormatDocument" }); }
|
|
5305
5434
|
}
|
|
5306
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5435
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatDocumentPipe, decorators: [{
|
|
5307
5436
|
type: Pipe,
|
|
5308
5437
|
args: [{
|
|
5309
5438
|
name: 'monkeyecxFormatDocument',
|
|
@@ -5322,10 +5451,10 @@ class MonkeyEcxFormatNumberPipe {
|
|
|
5322
5451
|
return '';
|
|
5323
5452
|
return formatNumber(Number(number), 'ptbr');
|
|
5324
5453
|
}
|
|
5325
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5326
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5454
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5455
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatNumberPipe, isStandalone: false, name: "monkeyecxFormatNumber" }); }
|
|
5327
5456
|
}
|
|
5328
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5457
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatNumberPipe, decorators: [{
|
|
5329
5458
|
type: Pipe,
|
|
5330
5459
|
args: [{
|
|
5331
5460
|
name: 'monkeyecxFormatNumber',
|
|
@@ -5368,10 +5497,10 @@ class MonkeyEcxFormatPhonePipe {
|
|
|
5368
5497
|
}
|
|
5369
5498
|
return '';
|
|
5370
5499
|
}
|
|
5371
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5372
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5500
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatPhonePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5501
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatPhonePipe, isStandalone: false, name: "monkeyecxFormatPhone" }); }
|
|
5373
5502
|
}
|
|
5374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5503
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatPhonePipe, decorators: [{
|
|
5375
5504
|
type: Pipe,
|
|
5376
5505
|
args: [{
|
|
5377
5506
|
name: 'monkeyecxFormatPhone',
|
|
@@ -5391,10 +5520,10 @@ class MonkeyEcxFormatSizePipe {
|
|
|
5391
5520
|
const sizeNum = Number(size);
|
|
5392
5521
|
return MonkeyEcxUtils.formatFileSize(sizeNum);
|
|
5393
5522
|
}
|
|
5394
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5395
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5523
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatSizePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5524
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatSizePipe, isStandalone: false, name: "monkeyecxFormatSize" }); }
|
|
5396
5525
|
}
|
|
5397
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatSizePipe, decorators: [{
|
|
5398
5527
|
type: Pipe,
|
|
5399
5528
|
args: [{
|
|
5400
5529
|
name: 'monkeyecxFormatSize',
|
|
@@ -5422,10 +5551,10 @@ class MonkeyEcxFormatTaxPipe {
|
|
|
5422
5551
|
}[this._country || 'BR'];
|
|
5423
5552
|
return `${value} %`.replace('.', identifier || '.');
|
|
5424
5553
|
}
|
|
5425
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5426
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5554
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatTaxPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5555
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatTaxPipe, isStandalone: false, name: "monkeyecxFormatTax" }); }
|
|
5427
5556
|
}
|
|
5428
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5557
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatTaxPipe, decorators: [{
|
|
5429
5558
|
type: Pipe,
|
|
5430
5559
|
args: [{
|
|
5431
5560
|
name: 'monkeyecxFormatTax',
|
|
@@ -5447,10 +5576,10 @@ class MonkeyEcxFormatDocumentTypePipe {
|
|
|
5447
5576
|
return '';
|
|
5448
5577
|
return MonkeyEcxUtils.getDocumentType(document, this._country);
|
|
5449
5578
|
}
|
|
5450
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5451
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5579
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5580
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, isStandalone: false, name: "monkeyecxFormatDocumentType" }); }
|
|
5452
5581
|
}
|
|
5453
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5582
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatDocumentTypePipe, decorators: [{
|
|
5454
5583
|
type: Pipe,
|
|
5455
5584
|
args: [{
|
|
5456
5585
|
name: 'monkeyecxFormatDocumentType',
|
|
@@ -5469,10 +5598,10 @@ class MonkeyEcxFormatValue {
|
|
|
5469
5598
|
return '';
|
|
5470
5599
|
return number;
|
|
5471
5600
|
}
|
|
5472
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5473
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5601
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatValue, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5602
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatValue, isStandalone: false, name: "monkeyecxFormatValue" }); }
|
|
5474
5603
|
}
|
|
5475
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatValue, decorators: [{
|
|
5476
5605
|
type: Pipe,
|
|
5477
5606
|
args: [{
|
|
5478
5607
|
name: 'monkeyecxFormatValue',
|
|
@@ -5491,10 +5620,10 @@ class MonkeyEcxFormatZipCodePipe {
|
|
|
5491
5620
|
return '';
|
|
5492
5621
|
return MonkeyEcxUtils.formatZipCode(zipCode);
|
|
5493
5622
|
}
|
|
5494
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5495
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5623
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatZipCodePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5624
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatZipCodePipe, isStandalone: false, name: "monkeyecxFormatZipCode" }); }
|
|
5496
5625
|
}
|
|
5497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5626
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFormatZipCodePipe, decorators: [{
|
|
5498
5627
|
type: Pipe,
|
|
5499
5628
|
args: [{
|
|
5500
5629
|
name: 'monkeyecxFormatZipCode',
|
|
@@ -5518,10 +5647,10 @@ class MonkeyEcxTextTruncatePipe {
|
|
|
5518
5647
|
const right = text.length - left + 1;
|
|
5519
5648
|
return `${text.substr(0, left)} ${midChar} ${text.substring(right)}`;
|
|
5520
5649
|
}
|
|
5521
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5522
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5650
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxTextTruncatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5651
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxTextTruncatePipe, isStandalone: false, name: "monkeyecxTextTruncate" }); }
|
|
5523
5652
|
}
|
|
5524
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5653
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxTextTruncatePipe, decorators: [{
|
|
5525
5654
|
type: Pipe,
|
|
5526
5655
|
args: [{
|
|
5527
5656
|
name: 'monkeyecxTextTruncate',
|
|
@@ -5538,10 +5667,10 @@ class MonkeyEcxTruncateQtdPipe {
|
|
|
5538
5667
|
transform(number, threshold) {
|
|
5539
5668
|
return `${number > threshold ? `${threshold}+` : number}`;
|
|
5540
5669
|
}
|
|
5541
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5542
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
5670
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxTruncateQtdPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
5671
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxTruncateQtdPipe, isStandalone: false, name: "monkeyecxTruncateQtd" }); }
|
|
5543
5672
|
}
|
|
5544
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5673
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxTruncateQtdPipe, decorators: [{
|
|
5545
5674
|
type: Pipe,
|
|
5546
5675
|
args: [{
|
|
5547
5676
|
name: 'monkeyecxTruncateQtd',
|
|
@@ -5555,8 +5684,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
5555
5684
|
* MIT Licence
|
|
5556
5685
|
************************* */
|
|
5557
5686
|
class MonkeyEcxPipesModule {
|
|
5558
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5559
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5687
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxPipesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5688
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxPipesModule, declarations: [MonkeyEcxBlobSecurePipe,
|
|
5560
5689
|
MonkeyEcxDisplayFirstNamePipe,
|
|
5561
5690
|
MonkeyEcxDisplayInitialsPipe,
|
|
5562
5691
|
MonkeyEcxFormatAddressPipe,
|
|
@@ -5591,9 +5720,9 @@ class MonkeyEcxPipesModule {
|
|
|
5591
5720
|
MonkeyEcxTextTruncatePipe,
|
|
5592
5721
|
MonkeyEcxTruncateQtdPipe,
|
|
5593
5722
|
MonkeyEcxFormatDatePipe] }); }
|
|
5594
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5723
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxPipesModule, providers: [CurrencyPipe, DatePipe] }); }
|
|
5595
5724
|
}
|
|
5596
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5725
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxPipesModule, decorators: [{
|
|
5597
5726
|
type: NgModule,
|
|
5598
5727
|
args: [{
|
|
5599
5728
|
declarations: [
|
|
@@ -5646,7 +5775,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
5646
5775
|
* MIT Licence
|
|
5647
5776
|
************************* */
|
|
5648
5777
|
|
|
5649
|
-
function
|
|
5778
|
+
function provideMonkeyEcxFederation(federation) {
|
|
5779
|
+
return [{ provide: MECX_FEDERATION, useValue: federation }];
|
|
5780
|
+
}
|
|
5781
|
+
|
|
5782
|
+
function provideMonkeyEcxDomainServiceWorker(workerUrl, scope = '/') {
|
|
5650
5783
|
return provideServiceWorker(workerUrl, {
|
|
5651
5784
|
enabled: true,
|
|
5652
5785
|
scope,
|
|
@@ -5667,8 +5800,10 @@ class MonkeyEcxBaseResolver {
|
|
|
5667
5800
|
this.router = inject(Router);
|
|
5668
5801
|
this.paramsSubject = new BehaviorSubject({});
|
|
5669
5802
|
this.params$ = this.paramsSubject.asObservable();
|
|
5670
|
-
this.control = signal(initialControl,
|
|
5671
|
-
|
|
5803
|
+
this.control = signal(initialControl, /* @ts-ignore */
|
|
5804
|
+
...(ngDevMode ? [{ debugName: "control" }] : /* istanbul ignore next */ []));
|
|
5805
|
+
this.data = signal(initialData, /* @ts-ignore */
|
|
5806
|
+
...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
|
|
5672
5807
|
}
|
|
5673
5808
|
get pathParams() {
|
|
5674
5809
|
return this.paramsSubject.value.pathParams;
|
|
@@ -5743,10 +5878,10 @@ class MonkeyEcxI18nResolver {
|
|
|
5743
5878
|
getHost() {
|
|
5744
5879
|
return '';
|
|
5745
5880
|
}
|
|
5746
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5747
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5881
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxI18nResolver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5882
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxI18nResolver }); }
|
|
5748
5883
|
}
|
|
5749
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5884
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxI18nResolver, decorators: [{
|
|
5750
5885
|
type: Injectable
|
|
5751
5886
|
}], ctorParameters: () => [] });
|
|
5752
5887
|
|
|
@@ -5804,10 +5939,10 @@ class MonkeyEcxFileCacheService {
|
|
|
5804
5939
|
clear() {
|
|
5805
5940
|
this.cache.clear();
|
|
5806
5941
|
}
|
|
5807
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5808
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5942
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFileCacheService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5943
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFileCacheService, providedIn: 'root' }); }
|
|
5809
5944
|
}
|
|
5810
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5945
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxFileCacheService, decorators: [{
|
|
5811
5946
|
type: Injectable,
|
|
5812
5947
|
args: [{
|
|
5813
5948
|
providedIn: 'root'
|
|
@@ -5859,10 +5994,10 @@ class MonkeyEcxDiscoveryParamsService {
|
|
|
5859
5994
|
found = this.getData(param);
|
|
5860
5995
|
return found;
|
|
5861
5996
|
}
|
|
5862
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5863
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5997
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxDiscoveryParamsService, deps: [{ token: i2.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5998
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxDiscoveryParamsService, providedIn: 'root' }); }
|
|
5864
5999
|
}
|
|
5865
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.7", ngImport: i0, type: MonkeyEcxDiscoveryParamsService, decorators: [{
|
|
5866
6001
|
type: Injectable,
|
|
5867
6002
|
args: [{
|
|
5868
6003
|
providedIn: 'root'
|
|
@@ -5879,5 +6014,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
5879
6014
|
* Generated bundle index. Do not edit.
|
|
5880
6015
|
*/
|
|
5881
6016
|
|
|
5882
|
-
export { CACHE_LOCALE_EXPIRATION_MS, CountryMasks, LService, Link, MECX_ALPHA, MECX_BETA, MECX_BOOTSTRAP_SERVICE, MECX_CORE_I18N_WRAPPER, MECX_COUNTRY, MECX_DATE_FORMAT, MECX_I18N_ALIAS, MECX_I18N_PATH, MECX_REDIRECT_LOGIN_WELCOMEBACK_STRATEGY, MECX_REFRESH_TOKEN_STRATEGY, MECX_REQUEST_ID, MECX_TIMEZONEOFFSET, MonkeyEcxAuthGuard, MonkeyEcxAuthGuardByRole, MonkeyEcxAuthGuardCompany, MonkeyEcxAuthGuardLogin, MonkeyEcxBaseResolver, MonkeyEcxBlobSecurePipe, MonkeyEcxCommonsActions, MonkeyEcxCommonsSelectors, MonkeyEcxCommonsStoreService, MonkeyEcxConfigsService, MonkeyEcxCookieStorageService, MonkeyEcxCoreModule, MonkeyEcxCoreService, MonkeyEcxCurrencyCodePipe, MonkeyEcxDatadogService, MonkeyEcxDiscoveryParamsService, MonkeyEcxDisplayFirstNamePipe, MonkeyEcxDisplayInitialsPipe, MonkeyEcxErrorMessageDirective, MonkeyEcxFeatureByProgramDirective, MonkeyEcxFeatureDirective, MonkeyEcxFeatureToggleService, MonkeyEcxFileCacheService, MonkeyEcxFormValidationService, MonkeyEcxFormatAddressPipe, MonkeyEcxFormatBeaufityJSONPipe, MonkeyEcxFormatCurrencyPipe, MonkeyEcxFormatDatePipe, MonkeyEcxFormatDocumentPipe, MonkeyEcxFormatDocumentTypePipe, MonkeyEcxFormatNumberPipe, MonkeyEcxFormatPhonePipe, MonkeyEcxFormatSizePipe, MonkeyEcxFormatTaxPipe, MonkeyEcxFormatValue, MonkeyEcxFormatZipCodePipe, MonkeyEcxI18nResolver, MonkeyEcxLinksModel, MonkeyEcxLoadingDirective, MonkeyEcxLocaleService, MonkeyEcxLoggedHandleService, MonkeyEcxLogs, MonkeyEcxModel, MonkeyEcxPipesModule, MonkeyEcxScheduleService, MonkeyEcxSecurityDirective, MonkeyEcxService, MonkeyEcxTextTruncatePipe, MonkeyEcxTokenStorageService, MonkeyEcxTruncateQtdPipe, MonkeyEcxUtils, MonkeyValidators, comboValidator, containsNumber, dateRangeValidator, dateStartEndValidator, dateValidator, differentFromZero, documentValidator, documentValidatorByType, emailValidator, injectTokenWithWarning, minYearsValidator, monkeyEcxHttpConfigInterceptor, passwordConfirmValidator,
|
|
6017
|
+
export { CACHE_LOCALE_EXPIRATION_MS, CountryMasks, LService, Link, MECX_ALPHA, MECX_BETA, MECX_BOOTSTRAP_SERVICE, MECX_CORE_I18N_WRAPPER, MECX_COUNTRY, MECX_DATE_FORMAT, MECX_FEDERATION, MECX_I18N_ALIAS, MECX_I18N_PATH, MECX_REDIRECT_LOGIN_WELCOMEBACK_STRATEGY, MECX_REFRESH_TOKEN_STRATEGY, MECX_REQUEST_ID, MECX_TIMEZONEOFFSET, MonkeyEcxAuthGuard, MonkeyEcxAuthGuardByRole, MonkeyEcxAuthGuardCompany, MonkeyEcxAuthGuardLogin, MonkeyEcxBaseResolver, MonkeyEcxBlobSecurePipe, MonkeyEcxCommonsActions, MonkeyEcxCommonsSelectors, MonkeyEcxCommonsStoreService, MonkeyEcxConfigsService, MonkeyEcxCookieStorageService, MonkeyEcxCoreModule, MonkeyEcxCoreService, MonkeyEcxCurrencyCodePipe, MonkeyEcxDatadogService, MonkeyEcxDiscoveryParamsService, MonkeyEcxDisplayFirstNamePipe, MonkeyEcxDisplayInitialsPipe, MonkeyEcxErrorMessageDirective, MonkeyEcxFeatureByProgramDirective, MonkeyEcxFeatureDirective, MonkeyEcxFeatureToggleService, MonkeyEcxFederationService, MonkeyEcxFileCacheService, MonkeyEcxFormValidationService, MonkeyEcxFormatAddressPipe, MonkeyEcxFormatBeaufityJSONPipe, MonkeyEcxFormatCurrencyPipe, MonkeyEcxFormatDatePipe, MonkeyEcxFormatDocumentPipe, MonkeyEcxFormatDocumentTypePipe, MonkeyEcxFormatNumberPipe, MonkeyEcxFormatPhonePipe, MonkeyEcxFormatSizePipe, MonkeyEcxFormatTaxPipe, MonkeyEcxFormatValue, MonkeyEcxFormatZipCodePipe, MonkeyEcxI18nResolver, MonkeyEcxLinksModel, MonkeyEcxLoadingDirective, MonkeyEcxLocaleService, MonkeyEcxLoggedHandleService, MonkeyEcxLogs, MonkeyEcxModel, MonkeyEcxPipesModule, MonkeyEcxScheduleService, MonkeyEcxSecurityDirective, MonkeyEcxService, MonkeyEcxTextTruncatePipe, MonkeyEcxTokenStorageService, MonkeyEcxTruncateQtdPipe, MonkeyEcxUtils, MonkeyValidators, comboValidator, containsNumber, dateRangeValidator, dateStartEndValidator, dateValidator, differentFromZero, documentValidator, documentValidatorByType, emailValidator, injectTokenWithWarning, minYearsValidator, monkeyEcxHttpConfigInterceptor, passwordConfirmValidator, provideMonkeyEcxDomainServiceWorker, provideMonkeyEcxFederation, registerValidator, requiredWithTrimValidator, index as storage, index$1 as store, trueValidator, urlValidator, validateFullName, valueGreaterThanZero, zipCodeValidator };
|
|
5883
6018
|
//# sourceMappingURL=monkey-front-core.mjs.map
|