@abp/ng.core 10.0.2 → 10.1.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/abp-ng.core-locale.mjs.map +1 -1
- package/fesm2022/abp-ng.core-testing.mjs +14 -14
- package/fesm2022/abp-ng.core-testing.mjs.map +1 -1
- package/fesm2022/abp-ng.core.mjs +269 -236
- package/fesm2022/abp-ng.core.mjs.map +1 -1
- package/package.json +6 -6
- package/{index.d.ts → types/abp-ng.core.d.ts} +46 -34
- /package/{locale/index.d.ts → types/abp-ng.core-locale.d.ts} +0 -0
- /package/{testing/index.d.ts → types/abp-ng.core-testing.d.ts} +0 -0
package/fesm2022/abp-ng.core.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { inject, ChangeDetectorRef, Input, Component, Injectable, InjectionToken, Injector, NgModuleFactory, Compiler, PLATFORM_ID, makeStateKey, TransferState, REQUEST, NgZone, signal, computed, effect, LOCALE_ID, ComponentFactoryResolver, ApplicationRef, isDevMode, input, ElementRef, Directive, EventEmitter, Output, TemplateRef, ViewContainerRef, IterableDiffers, HostListener, provideAppInitializer, makeEnvironmentProviders, Pipe, SecurityContext, NgModule } from '@angular/core';
|
|
3
|
-
import { of, BehaviorSubject, Subject, firstValueFrom, throwError, timeout, lastValueFrom, Observable, timer, pipe, concat, ReplaySubject, EMPTY, map as map$1, Subscription, combineLatest, from, take as take$1, filter as filter$1, fromEvent, switchMap as switchMap$1, startWith, distinctUntilChanged as distinctUntilChanged$1 } from 'rxjs';
|
|
3
|
+
import { of, BehaviorSubject, Subject, firstValueFrom, throwError, timeout, lastValueFrom, Observable, timer, pipe, concat, ReplaySubject, defer, EMPTY, map as map$1, Subscription, combineLatest, from, take as take$1, filter as filter$1, fromEvent, switchMap as switchMap$1, startWith, distinctUntilChanged as distinctUntilChanged$1 } from 'rxjs';
|
|
4
4
|
import { PRIMARY_OUTLET, Router, NavigationStart, NavigationError, NavigationEnd, NavigationCancel, TitleStrategy, ActivatedRoute, RouterOutlet, RouterModule } from '@angular/router';
|
|
5
5
|
import { isPlatformBrowser, DOCUMENT, registerLocaleData, NgComponentOutlet, isPlatformServer, DatePipe, DATE_PIPE_DEFAULT_TIMEZONE, CommonModule } from '@angular/common';
|
|
6
6
|
import { map, distinctUntilChanged, filter, catchError, tap, take, switchMap, mapTo, takeUntil, delay, retryWhen, shareReplay, debounceTime, finalize } from 'rxjs/operators';
|
|
@@ -52,10 +52,10 @@ class AbstractNgModelComponent {
|
|
|
52
52
|
setDisabledState(isDisabled) {
|
|
53
53
|
this.disabled = isDisabled;
|
|
54
54
|
}
|
|
55
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
56
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
55
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbstractNgModelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
56
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: AbstractNgModelComponent, isStandalone: true, selector: "ng-component", inputs: { disabled: "disabled", readonly: "readonly", valueFn: "valueFn", valueLimitFn: "valueLimitFn", value: "value" }, ngImport: i0, template: '', isInline: true }); }
|
|
57
57
|
}
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbstractNgModelComponent, decorators: [{
|
|
59
59
|
type: Component,
|
|
60
60
|
args: [{
|
|
61
61
|
template: '',
|
|
@@ -80,10 +80,10 @@ class AuthGuard {
|
|
|
80
80
|
console.error('You should add @abp/ng-oauth packages or create your own auth packages.');
|
|
81
81
|
return false;
|
|
82
82
|
}
|
|
83
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
84
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
83
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AuthGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
84
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AuthGuard, providedIn: 'root' }); }
|
|
85
85
|
}
|
|
86
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
86
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AuthGuard, decorators: [{
|
|
87
87
|
type: Injectable,
|
|
88
88
|
args: [{
|
|
89
89
|
providedIn: 'root',
|
|
@@ -152,10 +152,10 @@ class AuthService {
|
|
|
152
152
|
this.warningMessage();
|
|
153
153
|
return Promise.resolve(undefined);
|
|
154
154
|
}
|
|
155
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
156
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
155
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AuthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
156
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AuthService, providedIn: 'root' }); }
|
|
157
157
|
}
|
|
158
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AuthService, decorators: [{
|
|
159
159
|
type: Injectable,
|
|
160
160
|
args: [{
|
|
161
161
|
providedIn: 'root',
|
|
@@ -288,10 +288,10 @@ class ContentProjectionService {
|
|
|
288
288
|
projectContent(projectionStrategy, injector = this.injector) {
|
|
289
289
|
return projectionStrategy.injectContent(injector);
|
|
290
290
|
}
|
|
291
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
292
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
291
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ContentProjectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
292
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ContentProjectionService, providedIn: 'root' }); }
|
|
293
293
|
}
|
|
294
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
294
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ContentProjectionService, decorators: [{
|
|
295
295
|
type: Injectable,
|
|
296
296
|
args: [{ providedIn: 'root' }]
|
|
297
297
|
}] });
|
|
@@ -462,10 +462,10 @@ class EnvironmentService {
|
|
|
462
462
|
getImpersonation$() {
|
|
463
463
|
return this.store.sliceState(state => state?.oAuthConfig?.impersonation || {});
|
|
464
464
|
}
|
|
465
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
466
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
465
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: EnvironmentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
466
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: EnvironmentService, providedIn: 'root' }); }
|
|
467
467
|
}
|
|
468
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
468
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: EnvironmentService, decorators: [{
|
|
469
469
|
type: Injectable,
|
|
470
470
|
args: [{ providedIn: 'root' }]
|
|
471
471
|
}] });
|
|
@@ -488,10 +488,10 @@ class HttpErrorReporterService {
|
|
|
488
488
|
this._reporter$.next(error);
|
|
489
489
|
this._errors$.next([...this.errors, error]);
|
|
490
490
|
}
|
|
491
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
492
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
491
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: HttpErrorReporterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
492
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: HttpErrorReporterService, providedIn: 'root' }); }
|
|
493
493
|
}
|
|
494
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
494
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: HttpErrorReporterService, decorators: [{
|
|
495
495
|
type: Injectable,
|
|
496
496
|
args: [{ providedIn: 'root' }]
|
|
497
497
|
}] });
|
|
@@ -673,10 +673,10 @@ class AbpLocalStorageService {
|
|
|
673
673
|
localStorage.setItem(key, value);
|
|
674
674
|
}
|
|
675
675
|
}
|
|
676
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
677
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
676
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpLocalStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
677
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpLocalStorageService, providedIn: 'root' }); }
|
|
678
678
|
}
|
|
679
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
679
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpLocalStorageService, decorators: [{
|
|
680
680
|
type: Injectable,
|
|
681
681
|
args: [{
|
|
682
682
|
providedIn: 'root',
|
|
@@ -855,10 +855,10 @@ class AbpCookieStorageService {
|
|
|
855
855
|
}
|
|
856
856
|
return cookies;
|
|
857
857
|
}
|
|
858
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
859
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
858
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpCookieStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
859
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpCookieStorageService, providedIn: 'root' }); }
|
|
860
860
|
}
|
|
861
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
861
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpCookieStorageService, decorators: [{
|
|
862
862
|
type: Injectable,
|
|
863
863
|
args: [{ providedIn: 'root' }]
|
|
864
864
|
}] });
|
|
@@ -935,10 +935,10 @@ class SessionStateService {
|
|
|
935
935
|
this.document.documentElement.setAttribute('lang', language);
|
|
936
936
|
}
|
|
937
937
|
}
|
|
938
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
939
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
938
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: SessionStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
939
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: SessionStateService, providedIn: 'root' }); }
|
|
940
940
|
}
|
|
941
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: SessionStateService, decorators: [{
|
|
942
942
|
type: Injectable,
|
|
943
943
|
args: [{
|
|
944
944
|
providedIn: 'root',
|
|
@@ -958,10 +958,10 @@ class AbpTenantService {
|
|
|
958
958
|
url: `/api/abp/multi-tenancy/tenants/by-name/${name}`,
|
|
959
959
|
}, { apiName: this.apiName, ...config });
|
|
960
960
|
}
|
|
961
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
962
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
961
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpTenantService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
962
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpTenantService, providedIn: 'root' }); }
|
|
963
963
|
}
|
|
964
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
964
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpTenantService, decorators: [{
|
|
965
965
|
type: Injectable,
|
|
966
966
|
args: [{
|
|
967
967
|
providedIn: 'root',
|
|
@@ -992,10 +992,10 @@ class MultiTenancyService {
|
|
|
992
992
|
.findTenantById(tenantId)
|
|
993
993
|
.pipe(switchMap(this.setTenantToState));
|
|
994
994
|
}
|
|
995
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
996
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
995
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: MultiTenancyService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
996
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: MultiTenancyService, providedIn: 'root' }); }
|
|
997
997
|
}
|
|
998
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
998
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: MultiTenancyService, decorators: [{
|
|
999
999
|
type: Injectable,
|
|
1000
1000
|
args: [{ providedIn: 'root' }]
|
|
1001
1001
|
}] });
|
|
@@ -1441,10 +1441,10 @@ class DomInsertionService {
|
|
|
1441
1441
|
const hash = generateHash(content);
|
|
1442
1442
|
return this.inserted.has(hash);
|
|
1443
1443
|
}
|
|
1444
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1445
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1444
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DomInsertionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1445
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DomInsertionService, providedIn: 'root' }); }
|
|
1446
1446
|
}
|
|
1447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1447
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DomInsertionService, decorators: [{
|
|
1448
1448
|
type: Injectable,
|
|
1449
1449
|
args: [{ providedIn: 'root' }]
|
|
1450
1450
|
}] });
|
|
@@ -1472,10 +1472,10 @@ class HtmlEncodingService {
|
|
|
1472
1472
|
.replace(/"/g, '"')
|
|
1473
1473
|
.replace(/'/g, "'");
|
|
1474
1474
|
}
|
|
1475
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1476
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1475
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: HtmlEncodingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1476
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: HtmlEncodingService, providedIn: 'root' }); }
|
|
1477
1477
|
}
|
|
1478
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: HtmlEncodingService, decorators: [{
|
|
1479
1479
|
type: Injectable,
|
|
1480
1480
|
args: [{
|
|
1481
1481
|
providedIn: 'root',
|
|
@@ -1541,10 +1541,10 @@ class HttpWaitService {
|
|
|
1541
1541
|
const { method, endpoint } = filteredRequest;
|
|
1542
1542
|
return endpoint === request.endpoint && method === request.method;
|
|
1543
1543
|
}
|
|
1544
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1545
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1544
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: HttpWaitService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1545
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: HttpWaitService, providedIn: 'root' }); }
|
|
1546
1546
|
}
|
|
1547
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1547
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: HttpWaitService, decorators: [{
|
|
1548
1548
|
type: Injectable,
|
|
1549
1549
|
args: [{
|
|
1550
1550
|
providedIn: 'root',
|
|
@@ -1577,10 +1577,10 @@ class ResourceWaitService {
|
|
|
1577
1577
|
resources.delete(resource);
|
|
1578
1578
|
this.store.patch({ resources });
|
|
1579
1579
|
}
|
|
1580
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1581
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1580
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ResourceWaitService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1581
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ResourceWaitService, providedIn: 'root' }); }
|
|
1582
1582
|
}
|
|
1583
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1583
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ResourceWaitService, decorators: [{
|
|
1584
1584
|
type: Injectable,
|
|
1585
1585
|
args: [{
|
|
1586
1586
|
providedIn: 'root',
|
|
@@ -1611,10 +1611,10 @@ class LazyLoadService {
|
|
|
1611
1611
|
this.loaded.delete(path);
|
|
1612
1612
|
return true;
|
|
1613
1613
|
}
|
|
1614
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1615
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1614
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: LazyLoadService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1615
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: LazyLoadService, providedIn: 'root' }); }
|
|
1616
1616
|
}
|
|
1617
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1617
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: LazyLoadService, decorators: [{
|
|
1618
1618
|
type: Injectable,
|
|
1619
1619
|
args: [{
|
|
1620
1620
|
providedIn: 'root',
|
|
@@ -1706,7 +1706,7 @@ class ListService {
|
|
|
1706
1706
|
this.get();
|
|
1707
1707
|
}
|
|
1708
1708
|
hookToQuery(streamCreatorCallback) {
|
|
1709
|
-
return this.query$.pipe(tap(() => this._isLoading$.next(true)), tap(() => this._requestStatus.next('loading')), switchMap(query => streamCreatorCallback(query).pipe(catchError(() => {
|
|
1709
|
+
return this.query$.pipe(tap(() => this._isLoading$.next(true)), tap(() => this._requestStatus.next('loading')), switchMap(query => defer(() => streamCreatorCallback(query)).pipe(catchError(() => {
|
|
1710
1710
|
this._requestStatus.next('error');
|
|
1711
1711
|
return EMPTY;
|
|
1712
1712
|
}), tap(() => this._requestStatus.next('success')), finalize(() => {
|
|
@@ -1735,10 +1735,10 @@ class ListService {
|
|
|
1735
1735
|
sorting: this._sortOrder ? `${this._sortKey} ${this._sortOrder}` : undefined,
|
|
1736
1736
|
});
|
|
1737
1737
|
}
|
|
1738
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1739
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1738
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ListService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1739
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ListService }); }
|
|
1740
1740
|
}
|
|
1741
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1741
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ListService, decorators: [{
|
|
1742
1742
|
type: Injectable
|
|
1743
1743
|
}], ctorParameters: () => [] });
|
|
1744
1744
|
|
|
@@ -1792,10 +1792,10 @@ class PermissionService {
|
|
|
1792
1792
|
getPolicy(key, grantedPolicies) {
|
|
1793
1793
|
return grantedPolicies[key] || false;
|
|
1794
1794
|
}
|
|
1795
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1796
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1795
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PermissionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1796
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PermissionService, providedIn: 'root' }); }
|
|
1797
1797
|
}
|
|
1798
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1798
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PermissionService, decorators: [{
|
|
1799
1799
|
type: Injectable,
|
|
1800
1800
|
args: [{ providedIn: 'root' }]
|
|
1801
1801
|
}] });
|
|
@@ -1834,10 +1834,10 @@ class ReplaceableComponentsService {
|
|
|
1834
1834
|
get$(replaceableComponentKey) {
|
|
1835
1835
|
return this.replaceableComponents$.pipe(map(components => components.find(component => component.key === replaceableComponentKey)));
|
|
1836
1836
|
}
|
|
1837
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1838
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1837
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ReplaceableComponentsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1838
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ReplaceableComponentsService, providedIn: 'root' }); }
|
|
1839
1839
|
}
|
|
1840
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1840
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ReplaceableComponentsService, decorators: [{
|
|
1841
1841
|
type: Injectable,
|
|
1842
1842
|
args: [{ providedIn: 'root' }]
|
|
1843
1843
|
}], ctorParameters: () => [] });
|
|
@@ -1856,10 +1856,10 @@ class ExternalHttpClient extends HttpClient {
|
|
|
1856
1856
|
optionsOrRequest.context ??= new HttpContext();
|
|
1857
1857
|
optionsOrRequest.context.set(IS_EXTERNAL_REQUEST, true);
|
|
1858
1858
|
}
|
|
1859
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1860
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1859
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ExternalHttpClient, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1860
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ExternalHttpClient, providedIn: 'root' }); }
|
|
1861
1861
|
}
|
|
1862
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1862
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ExternalHttpClient, decorators: [{
|
|
1863
1863
|
type: Injectable,
|
|
1864
1864
|
args: [{
|
|
1865
1865
|
providedIn: 'root',
|
|
@@ -1918,10 +1918,10 @@ class RestService {
|
|
|
1918
1918
|
removeDuplicateSlashes(url) {
|
|
1919
1919
|
return url.replace(/([^:]\/)\/+/g, '$1');
|
|
1920
1920
|
}
|
|
1921
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1922
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1921
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: RestService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1922
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: RestService, providedIn: 'root' }); }
|
|
1923
1923
|
}
|
|
1924
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1924
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: RestService, decorators: [{
|
|
1925
1925
|
type: Injectable,
|
|
1926
1926
|
args: [{
|
|
1927
1927
|
providedIn: 'root',
|
|
@@ -1939,14 +1939,14 @@ class RouterEvents {
|
|
|
1939
1939
|
#currentNavigation;
|
|
1940
1940
|
constructor() {
|
|
1941
1941
|
this.router = inject(Router);
|
|
1942
|
-
this.#previousNavigation = signal(undefined);
|
|
1942
|
+
this.#previousNavigation = signal(undefined, ...(ngDevMode ? [{ debugName: "#previousNavigation" }] : []));
|
|
1943
1943
|
this.previousNavigation = this.#previousNavigation.asReadonly();
|
|
1944
|
-
this.#currentNavigation = signal(undefined);
|
|
1944
|
+
this.#currentNavigation = signal(undefined, ...(ngDevMode ? [{ debugName: "#currentNavigation" }] : []));
|
|
1945
1945
|
this.currentNavigation = this.#currentNavigation.asReadonly();
|
|
1946
1946
|
this.listenToNavigation();
|
|
1947
1947
|
}
|
|
1948
1948
|
listenToNavigation() {
|
|
1949
|
-
const routerEvent$ = this.router.events.pipe(filter(e => e instanceof NavigationEvent.End && !e.url.includes('error')));
|
|
1949
|
+
const routerEvent$ = this.router.events.pipe(filter(e => e instanceof NavigationEvent.End && e.url != null && !e.url.includes('error')));
|
|
1950
1950
|
routerEvent$.subscribe(event => {
|
|
1951
1951
|
this.#previousNavigation.set(this.currentNavigation());
|
|
1952
1952
|
this.#currentNavigation.set(event.url);
|
|
@@ -1967,10 +1967,10 @@ class RouterEvents {
|
|
|
1967
1967
|
const keys = Object.keys(NavigationEvent);
|
|
1968
1968
|
return this.getNavigationEvents(...keys);
|
|
1969
1969
|
}
|
|
1970
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1971
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1970
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: RouterEvents, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1971
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: RouterEvents, providedIn: 'root' }); }
|
|
1972
1972
|
}
|
|
1973
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1973
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: RouterEvents, decorators: [{
|
|
1974
1974
|
type: Injectable,
|
|
1975
1975
|
args: [{ providedIn: 'root' }]
|
|
1976
1976
|
}], ctorParameters: () => [] });
|
|
@@ -2008,10 +2008,10 @@ class RouterWaitService {
|
|
|
2008
2008
|
setLoading(loading) {
|
|
2009
2009
|
this.store.patch({ loading });
|
|
2010
2010
|
}
|
|
2011
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2012
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2011
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: RouterWaitService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2012
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: RouterWaitService, providedIn: 'root' }); }
|
|
2013
2013
|
}
|
|
2014
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2014
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: RouterWaitService, decorators: [{
|
|
2015
2015
|
type: Injectable,
|
|
2016
2016
|
args: [{
|
|
2017
2017
|
providedIn: 'root',
|
|
@@ -2186,10 +2186,10 @@ class AbstractNavTreeService extends AbstractTreeService {
|
|
|
2186
2186
|
ngOnDestroy() {
|
|
2187
2187
|
this.subscription.unsubscribe();
|
|
2188
2188
|
}
|
|
2189
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2190
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2189
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbstractNavTreeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2190
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbstractNavTreeService }); }
|
|
2191
2191
|
}
|
|
2192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbstractNavTreeService, decorators: [{
|
|
2193
2193
|
type: Injectable
|
|
2194
2194
|
}], ctorParameters: () => [] });
|
|
2195
2195
|
class RoutesService extends AbstractNavTreeService {
|
|
@@ -2202,10 +2202,10 @@ class RoutesService extends AbstractNavTreeService {
|
|
|
2202
2202
|
get groupedVisible$() {
|
|
2203
2203
|
return this.visible$.pipe(map$1(items => items.filter(item => this.hasPathOrChild(item))), map$1(visible => this.createGroupedTree(visible)));
|
|
2204
2204
|
}
|
|
2205
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2206
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2205
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: RoutesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2206
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: RoutesService, providedIn: 'root' }); }
|
|
2207
2207
|
}
|
|
2208
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: RoutesService, decorators: [{
|
|
2209
2209
|
type: Injectable,
|
|
2210
2210
|
args: [{ providedIn: 'root' }]
|
|
2211
2211
|
}] });
|
|
@@ -2243,10 +2243,10 @@ class SubscriptionService {
|
|
|
2243
2243
|
this.subscription.unsubscribe();
|
|
2244
2244
|
this.subscription = new Subscription();
|
|
2245
2245
|
}
|
|
2246
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2247
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2246
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: SubscriptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2247
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: SubscriptionService }); }
|
|
2248
2248
|
}
|
|
2249
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2249
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: SubscriptionService, decorators: [{
|
|
2250
2250
|
type: Injectable
|
|
2251
2251
|
}] });
|
|
2252
2252
|
|
|
@@ -2259,10 +2259,10 @@ class TrackByService {
|
|
|
2259
2259
|
this.by = trackBy;
|
|
2260
2260
|
this.byDeep = trackByDeep;
|
|
2261
2261
|
}
|
|
2262
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2263
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2262
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TrackByService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2263
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TrackByService, providedIn: 'root' }); }
|
|
2264
2264
|
}
|
|
2265
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2265
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TrackByService, decorators: [{
|
|
2266
2266
|
type: Injectable,
|
|
2267
2267
|
args: [{
|
|
2268
2268
|
providedIn: 'root',
|
|
@@ -2299,10 +2299,10 @@ class AbpWindowService {
|
|
|
2299
2299
|
this.window.URL.revokeObjectURL(blobUrl);
|
|
2300
2300
|
this.document.body.removeChild(a);
|
|
2301
2301
|
}
|
|
2302
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2303
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2302
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpWindowService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2303
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpWindowService, providedIn: 'root' }); }
|
|
2304
2304
|
}
|
|
2305
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpWindowService, decorators: [{
|
|
2306
2306
|
type: Injectable,
|
|
2307
2307
|
args: [{ providedIn: 'root' }]
|
|
2308
2308
|
}] });
|
|
@@ -2313,8 +2313,8 @@ class InternetConnectionService {
|
|
|
2313
2313
|
this.window = this.document.defaultView;
|
|
2314
2314
|
this.navigator = this.window.navigator;
|
|
2315
2315
|
this.status$ = new BehaviorSubject(this.navigator.onLine);
|
|
2316
|
-
this.status = signal(this.navigator.onLine);
|
|
2317
|
-
this.networkStatus = computed(() => this.status());
|
|
2316
|
+
this.status = signal(this.navigator.onLine, ...(ngDevMode ? [{ debugName: "status" }] : []));
|
|
2317
|
+
this.networkStatus = computed(() => this.status(), ...(ngDevMode ? [{ debugName: "networkStatus" }] : []));
|
|
2318
2318
|
this.window.addEventListener('offline', () => this.setStatus(false));
|
|
2319
2319
|
this.window.addEventListener('online', () => this.setStatus(true));
|
|
2320
2320
|
}
|
|
@@ -2325,10 +2325,10 @@ class InternetConnectionService {
|
|
|
2325
2325
|
get networkStatus$() {
|
|
2326
2326
|
return this.status$.asObservable();
|
|
2327
2327
|
}
|
|
2328
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2329
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2328
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: InternetConnectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2329
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: InternetConnectionService, providedIn: 'root' }); }
|
|
2330
2330
|
}
|
|
2331
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2331
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: InternetConnectionService, decorators: [{
|
|
2332
2332
|
type: Injectable,
|
|
2333
2333
|
args: [{
|
|
2334
2334
|
providedIn: 'root',
|
|
@@ -2348,10 +2348,10 @@ class LocalStorageListenerService {
|
|
|
2348
2348
|
}
|
|
2349
2349
|
});
|
|
2350
2350
|
}
|
|
2351
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2352
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2351
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: LocalStorageListenerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2352
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: LocalStorageListenerService, providedIn: 'root' }); }
|
|
2353
2353
|
}
|
|
2354
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2354
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: LocalStorageListenerService, decorators: [{
|
|
2355
2355
|
type: Injectable,
|
|
2356
2356
|
args: [{
|
|
2357
2357
|
providedIn: 'root',
|
|
@@ -2387,10 +2387,10 @@ class AbpTitleStrategy extends TitleStrategy {
|
|
|
2387
2387
|
}
|
|
2388
2388
|
this.title.setTitle(localizedText);
|
|
2389
2389
|
}
|
|
2390
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2391
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2390
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpTitleStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2391
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpTitleStrategy, providedIn: 'root' }); }
|
|
2392
2392
|
}
|
|
2393
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2393
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpTitleStrategy, decorators: [{
|
|
2394
2394
|
type: Injectable,
|
|
2395
2395
|
args: [{
|
|
2396
2396
|
providedIn: 'root',
|
|
@@ -2446,10 +2446,10 @@ class TimezoneService {
|
|
|
2446
2446
|
this.document.cookie = `${this.cookieKey}=${timezone}; path=/`;
|
|
2447
2447
|
}
|
|
2448
2448
|
}
|
|
2449
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2450
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2449
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TimezoneService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2450
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TimezoneService, providedIn: 'root' }); }
|
|
2451
2451
|
}
|
|
2452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2452
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TimezoneService, decorators: [{
|
|
2453
2453
|
type: Injectable,
|
|
2454
2454
|
args: [{
|
|
2455
2455
|
providedIn: 'root',
|
|
@@ -2545,10 +2545,10 @@ class TimeService {
|
|
|
2545
2545
|
.setLocale(this.locale);
|
|
2546
2546
|
return dateTime.toFormat(format);
|
|
2547
2547
|
}
|
|
2548
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2549
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2548
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TimeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2549
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TimeService, providedIn: 'root' }); }
|
|
2550
2550
|
}
|
|
2551
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2551
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TimeService, decorators: [{
|
|
2552
2552
|
type: Injectable,
|
|
2553
2553
|
args: [{
|
|
2554
2554
|
providedIn: 'root',
|
|
@@ -2858,10 +2858,10 @@ class DomStrategyService {
|
|
|
2858
2858
|
prependToHead() {
|
|
2859
2859
|
return new DomStrategy(() => this.document.head, 'afterbegin');
|
|
2860
2860
|
}
|
|
2861
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2862
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2861
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DomStrategyService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2862
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DomStrategyService, providedIn: 'root' }); }
|
|
2863
2863
|
}
|
|
2864
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2864
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DomStrategyService, decorators: [{
|
|
2865
2865
|
type: Injectable,
|
|
2866
2866
|
args: [{ providedIn: 'root' }]
|
|
2867
2867
|
}] });
|
|
@@ -2876,10 +2876,10 @@ class AbpApplicationConfigurationService {
|
|
|
2876
2876
|
params: { includeLocalizationResources: options.includeLocalizationResources },
|
|
2877
2877
|
}, { apiName: this.apiName, ...config });
|
|
2878
2878
|
}
|
|
2879
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2880
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2879
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpApplicationConfigurationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2880
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpApplicationConfigurationService, providedIn: 'root' }); }
|
|
2881
2881
|
}
|
|
2882
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2882
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpApplicationConfigurationService, decorators: [{
|
|
2883
2883
|
type: Injectable,
|
|
2884
2884
|
args: [{
|
|
2885
2885
|
providedIn: 'root',
|
|
@@ -2896,10 +2896,10 @@ class AbpApplicationLocalizationService {
|
|
|
2896
2896
|
params: { cultureName: input.cultureName, onlyDynamics: input.onlyDynamics },
|
|
2897
2897
|
}, { apiName: this.apiName, ...config });
|
|
2898
2898
|
}
|
|
2899
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2900
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2899
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpApplicationLocalizationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2900
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpApplicationLocalizationService, providedIn: 'root' }); }
|
|
2901
2901
|
}
|
|
2902
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2902
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpApplicationLocalizationService, decorators: [{
|
|
2903
2903
|
type: Injectable,
|
|
2904
2904
|
args: [{
|
|
2905
2905
|
providedIn: 'root',
|
|
@@ -3061,10 +3061,10 @@ class ConfigStateService {
|
|
|
3061
3061
|
getGlobalFeatureIsEnabled$(key) {
|
|
3062
3062
|
return this.store.sliceState(state => this.isGlobalFeatureEnabled(key, state.globalFeatures));
|
|
3063
3063
|
}
|
|
3064
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3065
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3064
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ConfigStateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3065
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ConfigStateService, providedIn: 'root' }); }
|
|
3066
3066
|
}
|
|
3067
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3067
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ConfigStateService, decorators: [{
|
|
3068
3068
|
type: Injectable,
|
|
3069
3069
|
args: [{
|
|
3070
3070
|
providedIn: 'root',
|
|
@@ -3250,10 +3250,10 @@ class LocalizationService {
|
|
|
3250
3250
|
localization = '';
|
|
3251
3251
|
return localization || defaultValue || key;
|
|
3252
3252
|
}
|
|
3253
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3254
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3253
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: LocalizationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3254
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: LocalizationService, providedIn: 'root' }); }
|
|
3255
3255
|
}
|
|
3256
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3256
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: LocalizationService, decorators: [{
|
|
3257
3257
|
type: Injectable,
|
|
3258
3258
|
args: [{ providedIn: 'root' }]
|
|
3259
3259
|
}], ctorParameters: () => [] });
|
|
@@ -3286,7 +3286,7 @@ class DynamicLayoutComponent {
|
|
|
3286
3286
|
constructor() {
|
|
3287
3287
|
this.layouts = inject(DYNAMIC_LAYOUTS_TOKEN);
|
|
3288
3288
|
this.isLayoutVisible = true;
|
|
3289
|
-
this.defaultLayout = input(undefined);
|
|
3289
|
+
this.defaultLayout = input(undefined, ...(ngDevMode ? [{ debugName: "defaultLayout" }] : []));
|
|
3290
3290
|
this.router = inject(Router);
|
|
3291
3291
|
this.route = inject(ActivatedRoute);
|
|
3292
3292
|
this.routes = inject(RoutesService);
|
|
@@ -3366,14 +3366,14 @@ class DynamicLayoutComponent {
|
|
|
3366
3366
|
this.getLayout();
|
|
3367
3367
|
});
|
|
3368
3368
|
}
|
|
3369
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3370
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3369
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DynamicLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3370
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.9", type: DynamicLayoutComponent, isStandalone: true, selector: "abp-dynamic-layout", inputs: { defaultLayout: { classPropertyName: "defaultLayout", publicName: "defaultLayout", isSignal: true, isRequired: false, transformFunction: null } }, providers: [SubscriptionService], ngImport: i0, template: `
|
|
3371
3371
|
@if (isLayoutVisible) {
|
|
3372
3372
|
<ng-container [ngComponentOutlet]="layout"></ng-container>
|
|
3373
3373
|
}
|
|
3374
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "
|
|
3374
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }] }); }
|
|
3375
3375
|
}
|
|
3376
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: DynamicLayoutComponent, decorators: [{
|
|
3377
3377
|
type: Component,
|
|
3378
3378
|
args: [{
|
|
3379
3379
|
selector: 'abp-dynamic-layout',
|
|
@@ -3385,7 +3385,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
3385
3385
|
providers: [SubscriptionService],
|
|
3386
3386
|
imports: [NgComponentOutlet],
|
|
3387
3387
|
}]
|
|
3388
|
-
}], ctorParameters: () => [] });
|
|
3388
|
+
}], ctorParameters: () => [], propDecorators: { defaultLayout: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultLayout", required: false }] }] } });
|
|
3389
3389
|
|
|
3390
3390
|
class ReplaceableRouteContainerComponent {
|
|
3391
3391
|
constructor() {
|
|
@@ -3403,12 +3403,12 @@ class ReplaceableRouteContainerComponent {
|
|
|
3403
3403
|
this.externalComponent = res.component;
|
|
3404
3404
|
});
|
|
3405
3405
|
}
|
|
3406
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3407
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3406
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ReplaceableRouteContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3407
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: ReplaceableRouteContainerComponent, isStandalone: true, selector: "abp-replaceable-route-container", providers: [SubscriptionService], ngImport: i0, template: `
|
|
3408
3408
|
<ng-container *ngComponentOutlet="externalComponent || defaultComponent"></ng-container>
|
|
3409
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "
|
|
3409
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }] }); }
|
|
3410
3410
|
}
|
|
3411
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ReplaceableRouteContainerComponent, decorators: [{
|
|
3412
3412
|
type: Component,
|
|
3413
3413
|
args: [{
|
|
3414
3414
|
selector: 'abp-replaceable-route-container',
|
|
@@ -3421,10 +3421,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
3421
3421
|
}] });
|
|
3422
3422
|
|
|
3423
3423
|
class RouterOutletComponent {
|
|
3424
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3425
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3424
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: RouterOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3425
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.9", type: RouterOutletComponent, isStandalone: true, selector: "abp-router-outlet", ngImport: i0, template: ` <router-outlet></router-outlet> `, isInline: true, dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] }); }
|
|
3426
3426
|
}
|
|
3427
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: RouterOutletComponent, decorators: [{
|
|
3428
3428
|
type: Component,
|
|
3429
3429
|
args: [{
|
|
3430
3430
|
selector: 'abp-router-outlet',
|
|
@@ -3790,10 +3790,10 @@ class AutofocusDirective {
|
|
|
3790
3790
|
ngAfterViewInit() {
|
|
3791
3791
|
setTimeout(() => this.elRef.nativeElement.focus(), this.delay);
|
|
3792
3792
|
}
|
|
3793
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3794
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3793
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AutofocusDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3794
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: AutofocusDirective, isStandalone: true, selector: "[autofocus]", inputs: { delay: ["autofocus", "delay"] }, ngImport: i0 }); }
|
|
3795
3795
|
}
|
|
3796
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3796
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AutofocusDirective, decorators: [{
|
|
3797
3797
|
type: Directive,
|
|
3798
3798
|
args: [{
|
|
3799
3799
|
selector: '[autofocus]',
|
|
@@ -3816,10 +3816,10 @@ class InputEventDebounceDirective {
|
|
|
3816
3816
|
this.debounceEvent.emit(event);
|
|
3817
3817
|
});
|
|
3818
3818
|
}
|
|
3819
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3820
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3819
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: InputEventDebounceDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3820
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: InputEventDebounceDirective, isStandalone: true, selector: "[input.debounce]", inputs: { debounce: "debounce" }, outputs: { debounceEvent: "input.debounce" }, providers: [SubscriptionService], ngImport: i0 }); }
|
|
3821
3821
|
}
|
|
3822
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3822
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: InputEventDebounceDirective, decorators: [{
|
|
3823
3823
|
type: Directive,
|
|
3824
3824
|
args: [{
|
|
3825
3825
|
selector: '[input.debounce]',
|
|
@@ -3851,6 +3851,7 @@ class ForDirective {
|
|
|
3851
3851
|
this.tempRef = inject(TemplateRef);
|
|
3852
3852
|
this.vcRef = inject(ViewContainerRef);
|
|
3853
3853
|
this.differs = inject(IterableDiffers);
|
|
3854
|
+
this.lastItemsRef = null;
|
|
3854
3855
|
}
|
|
3855
3856
|
get compareFn() {
|
|
3856
3857
|
return this.compareBy || compare;
|
|
@@ -3902,6 +3903,7 @@ class ForDirective {
|
|
|
3902
3903
|
this.vcRef.createEmbeddedView(this.emptyRef).rootNodes;
|
|
3903
3904
|
this.isShowEmptyRef = true;
|
|
3904
3905
|
this.differ = null;
|
|
3906
|
+
this.lastItemsRef = null;
|
|
3905
3907
|
return;
|
|
3906
3908
|
}
|
|
3907
3909
|
if (this.emptyRef && this.isShowEmptyRef) {
|
|
@@ -3929,6 +3931,13 @@ class ForDirective {
|
|
|
3929
3931
|
}
|
|
3930
3932
|
}
|
|
3931
3933
|
ngOnChanges() {
|
|
3934
|
+
if (!this.items)
|
|
3935
|
+
return;
|
|
3936
|
+
// Recreate differ if items array reference changed
|
|
3937
|
+
if (this.lastItemsRef !== this.items) {
|
|
3938
|
+
this.differ = null;
|
|
3939
|
+
this.lastItemsRef = this.items;
|
|
3940
|
+
}
|
|
3932
3941
|
let items = clone(this.items);
|
|
3933
3942
|
if (!Array.isArray(items))
|
|
3934
3943
|
return;
|
|
@@ -3953,10 +3962,10 @@ class ForDirective {
|
|
|
3953
3962
|
this.projectItems(items);
|
|
3954
3963
|
}
|
|
3955
3964
|
}
|
|
3956
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3957
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
3965
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ForDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3966
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: ForDirective, isStandalone: true, selector: "[abpFor]", inputs: { items: ["abpForOf", "items"], orderBy: ["abpForOrderBy", "orderBy"], orderDir: ["abpForOrderDir", "orderDir"], filterBy: ["abpForFilterBy", "filterBy"], filterVal: ["abpForFilterVal", "filterVal"], trackBy: ["abpForTrackBy", "trackBy"], compareBy: ["abpForCompareBy", "compareBy"], emptyRef: ["abpForEmptyRef", "emptyRef"] }, usesOnChanges: true, ngImport: i0 }); }
|
|
3958
3967
|
}
|
|
3959
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3968
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ForDirective, decorators: [{
|
|
3960
3969
|
type: Directive,
|
|
3961
3970
|
args: [{
|
|
3962
3971
|
selector: '[abpFor]',
|
|
@@ -4022,10 +4031,10 @@ class FormSubmitDirective {
|
|
|
4022
4031
|
form.markAsDirty();
|
|
4023
4032
|
this.cdRef.detectChanges();
|
|
4024
4033
|
}
|
|
4025
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4026
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4034
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: FormSubmitDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4035
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: FormSubmitDirective, isStandalone: true, selector: "form[ngSubmit][formGroup]", inputs: { debounce: "debounce", notValidateOnSubmit: "notValidateOnSubmit", markAsDirtyWhenSubmit: "markAsDirtyWhenSubmit" }, outputs: { ngSubmit: "ngSubmit" }, providers: [SubscriptionService], ngImport: i0 }); }
|
|
4027
4036
|
}
|
|
4028
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4037
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: FormSubmitDirective, decorators: [{
|
|
4029
4038
|
type: Directive,
|
|
4030
4039
|
args: [{
|
|
4031
4040
|
selector: 'form[ngSubmit][formGroup]',
|
|
@@ -4061,10 +4070,10 @@ class InitDirective {
|
|
|
4061
4070
|
ngAfterViewInit() {
|
|
4062
4071
|
this.init.emit(this.elRef);
|
|
4063
4072
|
}
|
|
4064
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4065
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4073
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: InitDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4074
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: InitDirective, isStandalone: true, selector: "[abpInit]", outputs: { init: "abpInit" }, ngImport: i0 }); }
|
|
4066
4075
|
}
|
|
4067
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4076
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: InitDirective, decorators: [{
|
|
4068
4077
|
type: Directive,
|
|
4069
4078
|
args: [{
|
|
4070
4079
|
selector: '[abpInit]',
|
|
@@ -4094,8 +4103,9 @@ class PermissionDirective {
|
|
|
4094
4103
|
.pipe(distinctUntilChanged())
|
|
4095
4104
|
.subscribe(isGranted => {
|
|
4096
4105
|
this.vcRef.clear();
|
|
4097
|
-
if (isGranted)
|
|
4106
|
+
if (isGranted && this.templateRef) {
|
|
4098
4107
|
this.vcRef.createEmbeddedView(this.templateRef);
|
|
4108
|
+
}
|
|
4099
4109
|
if (this.runChangeDetection) {
|
|
4100
4110
|
if (!this.rendered) {
|
|
4101
4111
|
this.cdrSubject.next();
|
|
@@ -4120,10 +4130,10 @@ class PermissionDirective {
|
|
|
4120
4130
|
this.cdrSubject.pipe(take(1)).subscribe(() => this.queue.add(() => this.cdRef.detectChanges()));
|
|
4121
4131
|
this.rendered = true;
|
|
4122
4132
|
}
|
|
4123
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4124
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4133
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PermissionDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4134
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: PermissionDirective, isStandalone: true, selector: "[abpPermission]", inputs: { condition: ["abpPermission", "condition"], runChangeDetection: ["abpPermissionRunChangeDetection", "runChangeDetection"] }, usesOnChanges: true, ngImport: i0 }); }
|
|
4125
4135
|
}
|
|
4126
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PermissionDirective, decorators: [{
|
|
4127
4137
|
type: Directive,
|
|
4128
4138
|
args: [{
|
|
4129
4139
|
selector: '[abpPermission]',
|
|
@@ -4246,10 +4256,10 @@ class ReplaceableTemplateDirective {
|
|
|
4246
4256
|
this.defaultComponentSubscriptions = {};
|
|
4247
4257
|
this.defaultComponentRef = null;
|
|
4248
4258
|
}
|
|
4249
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4250
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4259
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ReplaceableTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4260
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: ReplaceableTemplateDirective, isStandalone: true, selector: "[abpReplaceableTemplate]", inputs: { data: ["abpReplaceableTemplate", "data"] }, providers: [SubscriptionService], usesOnChanges: true, ngImport: i0 }); }
|
|
4251
4261
|
}
|
|
4252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4262
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ReplaceableTemplateDirective, decorators: [{
|
|
4253
4263
|
type: Directive,
|
|
4254
4264
|
args: [{
|
|
4255
4265
|
selector: '[abpReplaceableTemplate]',
|
|
@@ -4272,10 +4282,10 @@ class StopPropagationDirective {
|
|
|
4272
4282
|
this.stopPropEvent.emit(event);
|
|
4273
4283
|
});
|
|
4274
4284
|
}
|
|
4275
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4276
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4285
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: StopPropagationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4286
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: StopPropagationDirective, isStandalone: true, selector: "[click.stop]", outputs: { stopPropEvent: "click.stop" }, providers: [SubscriptionService], ngImport: i0 }); }
|
|
4277
4287
|
}
|
|
4278
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4288
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: StopPropagationDirective, decorators: [{
|
|
4279
4289
|
type: Directive,
|
|
4280
4290
|
args: [{
|
|
4281
4291
|
selector: '[click.stop]',
|
|
@@ -4296,10 +4306,10 @@ class ShowPasswordDirective {
|
|
|
4296
4306
|
return;
|
|
4297
4307
|
element.type = visible ? 'text' : 'password';
|
|
4298
4308
|
}
|
|
4299
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4300
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4309
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ShowPasswordDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4310
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: ShowPasswordDirective, isStandalone: true, selector: "[abpShowPassword]", inputs: { abpShowPassword: "abpShowPassword" }, ngImport: i0 }); }
|
|
4301
4311
|
}
|
|
4302
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4312
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ShowPasswordDirective, decorators: [{
|
|
4303
4313
|
type: Directive,
|
|
4304
4314
|
args: [{
|
|
4305
4315
|
selector: '[abpShowPassword]',
|
|
@@ -4327,10 +4337,10 @@ class TrackCapsLockDirective {
|
|
|
4327
4337
|
}
|
|
4328
4338
|
return false;
|
|
4329
4339
|
}
|
|
4330
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4331
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
4340
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TrackCapsLockDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
4341
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.9", type: TrackCapsLockDirective, isStandalone: true, selector: "[abpCapsLock]", outputs: { capsLock: "abpCapsLock" }, host: { listeners: { "window:keydown": "onKeyDown($event)", "window:keyup": "onKeyUp($event)" } }, ngImport: i0 }); }
|
|
4332
4342
|
}
|
|
4333
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: TrackCapsLockDirective, decorators: [{
|
|
4334
4344
|
type: Directive,
|
|
4335
4345
|
args: [{
|
|
4336
4346
|
selector: '[abpCapsLock]',
|
|
@@ -4414,10 +4424,10 @@ class RoutesHandler {
|
|
|
4414
4424
|
}
|
|
4415
4425
|
});
|
|
4416
4426
|
}
|
|
4417
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4418
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4427
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: RoutesHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4428
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: RoutesHandler, providedIn: 'root' }); }
|
|
4419
4429
|
}
|
|
4420
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4430
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: RoutesHandler, decorators: [{
|
|
4421
4431
|
type: Injectable,
|
|
4422
4432
|
args: [{
|
|
4423
4433
|
providedIn: 'root',
|
|
@@ -4448,10 +4458,10 @@ class ApiInterceptor {
|
|
|
4448
4458
|
this.httpWaitService.addRequest(request);
|
|
4449
4459
|
return next.handle(request).pipe(finalize(() => this.httpWaitService.deleteRequest(request)));
|
|
4450
4460
|
}
|
|
4451
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4452
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4461
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ApiInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4462
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ApiInterceptor, providedIn: 'root' }); }
|
|
4453
4463
|
}
|
|
4454
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ApiInterceptor, decorators: [{
|
|
4455
4465
|
type: Injectable,
|
|
4456
4466
|
args: [{
|
|
4457
4467
|
providedIn: 'root',
|
|
@@ -4613,11 +4623,11 @@ class LocalizationPipe {
|
|
|
4613
4623
|
}, []) || [];
|
|
4614
4624
|
return this.localization.instant(value, ...params);
|
|
4615
4625
|
}
|
|
4616
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4617
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4618
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4626
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: LocalizationPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4627
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.9", ngImport: i0, type: LocalizationPipe, isStandalone: true, name: "abpLocalization" }); }
|
|
4628
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: LocalizationPipe }); }
|
|
4619
4629
|
}
|
|
4620
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4630
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: LocalizationPipe, decorators: [{
|
|
4621
4631
|
type: Injectable
|
|
4622
4632
|
}, {
|
|
4623
4633
|
type: Pipe,
|
|
@@ -4635,11 +4645,11 @@ class SafeHtmlPipe {
|
|
|
4635
4645
|
return '';
|
|
4636
4646
|
return this.sanitizer.sanitize(SecurityContext.HTML, value);
|
|
4637
4647
|
}
|
|
4638
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4639
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4640
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4648
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: SafeHtmlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4649
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.9", ngImport: i0, type: SafeHtmlPipe, isStandalone: true, name: "abpSafeHtml" }); }
|
|
4650
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: SafeHtmlPipe }); }
|
|
4641
4651
|
}
|
|
4642
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4652
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: SafeHtmlPipe, decorators: [{
|
|
4643
4653
|
type: Injectable
|
|
4644
4654
|
}, {
|
|
4645
4655
|
type: Pipe,
|
|
@@ -4682,11 +4692,11 @@ class SortPipe {
|
|
|
4682
4692
|
];
|
|
4683
4693
|
return sortOrder === 'asc' ? sorted : sorted.reverse();
|
|
4684
4694
|
}
|
|
4685
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4686
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4687
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4695
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: SortPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4696
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.9", ngImport: i0, type: SortPipe, isStandalone: true, name: "abpSort" }); }
|
|
4697
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: SortPipe }); }
|
|
4688
4698
|
}
|
|
4689
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4699
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: SortPipe, decorators: [{
|
|
4690
4700
|
type: Injectable
|
|
4691
4701
|
}, {
|
|
4692
4702
|
type: Pipe,
|
|
@@ -4712,10 +4722,10 @@ class ToInjectorPipe {
|
|
|
4712
4722
|
name,
|
|
4713
4723
|
});
|
|
4714
4724
|
}
|
|
4715
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4716
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4725
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ToInjectorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4726
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.9", ngImport: i0, type: ToInjectorPipe, isStandalone: true, name: "toInjector" }); }
|
|
4717
4727
|
}
|
|
4718
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4728
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ToInjectorPipe, decorators: [{
|
|
4719
4729
|
type: Pipe,
|
|
4720
4730
|
args: [{
|
|
4721
4731
|
name: 'toInjector',
|
|
@@ -4733,10 +4743,10 @@ class ShortDatePipe extends DatePipe {
|
|
|
4733
4743
|
const format = getShortDateFormat(this.configStateService);
|
|
4734
4744
|
return super.transform(value, format, timezone, locale);
|
|
4735
4745
|
}
|
|
4736
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4737
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4746
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ShortDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4747
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.9", ngImport: i0, type: ShortDatePipe, isStandalone: true, name: "shortDate" }); }
|
|
4738
4748
|
}
|
|
4739
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ShortDatePipe, decorators: [{
|
|
4740
4750
|
type: Pipe,
|
|
4741
4751
|
args: [{
|
|
4742
4752
|
name: 'shortDate',
|
|
@@ -4755,10 +4765,10 @@ class ShortTimePipe extends DatePipe {
|
|
|
4755
4765
|
const format = getShortTimeFormat(this.configStateService);
|
|
4756
4766
|
return super.transform(value, format, timezone, locale);
|
|
4757
4767
|
}
|
|
4758
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4759
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4768
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ShortTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4769
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.9", ngImport: i0, type: ShortTimePipe, isStandalone: true, name: "shortTime" }); }
|
|
4760
4770
|
}
|
|
4761
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4771
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ShortTimePipe, decorators: [{
|
|
4762
4772
|
type: Pipe,
|
|
4763
4773
|
args: [{
|
|
4764
4774
|
name: 'shortTime',
|
|
@@ -4777,10 +4787,10 @@ class ShortDateTimePipe extends DatePipe {
|
|
|
4777
4787
|
const format = getShortDateShortTimeFormat(this.configStateService);
|
|
4778
4788
|
return super.transform(value, format, timezone, locale);
|
|
4779
4789
|
}
|
|
4780
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4781
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4790
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ShortDateTimePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4791
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.9", ngImport: i0, type: ShortDateTimePipe, isStandalone: true, name: "shortDateTime" }); }
|
|
4782
4792
|
}
|
|
4783
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4793
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: ShortDateTimePipe, decorators: [{
|
|
4784
4794
|
type: Pipe,
|
|
4785
4795
|
args: [{
|
|
4786
4796
|
name: 'shortDateTime',
|
|
@@ -4827,11 +4837,11 @@ class UtcToLocalPipe {
|
|
|
4827
4837
|
return getShortDateShortTimeFormat(this.configState);
|
|
4828
4838
|
}
|
|
4829
4839
|
}
|
|
4830
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4831
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4832
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4840
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: UtcToLocalPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4841
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.9", ngImport: i0, type: UtcToLocalPipe, isStandalone: true, name: "abpUtcToLocal" }); }
|
|
4842
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: UtcToLocalPipe }); }
|
|
4833
4843
|
}
|
|
4834
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4844
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: UtcToLocalPipe, decorators: [{
|
|
4835
4845
|
type: Injectable
|
|
4836
4846
|
}, {
|
|
4837
4847
|
type: Pipe,
|
|
@@ -4840,7 +4850,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
4840
4850
|
}]
|
|
4841
4851
|
}] });
|
|
4842
4852
|
|
|
4843
|
-
class
|
|
4853
|
+
class AsyncLocalizationPipe {
|
|
4844
4854
|
constructor() {
|
|
4845
4855
|
this.localizationService = inject(LocalizationService);
|
|
4846
4856
|
this.configStateService = inject(ConfigStateService);
|
|
@@ -4852,11 +4862,29 @@ class LazyLocalizationPipe {
|
|
|
4852
4862
|
const flatParams = params.reduce((acc, val) => (Array.isArray(val) ? acc.concat(val) : [...acc, val]), []);
|
|
4853
4863
|
return this.configStateService.getAll$().pipe(filter$1(config => !!config.localization), take$1(1), switchMap$1(() => this.localizationService.get(key, ...flatParams)), map$1(translation => (translation && translation !== key ? translation : '')), startWith(''), distinctUntilChanged$1());
|
|
4854
4864
|
}
|
|
4855
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4856
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4857
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4865
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AsyncLocalizationPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4866
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.9", ngImport: i0, type: AsyncLocalizationPipe, isStandalone: true, name: "abpAsyncLocalization" }); }
|
|
4867
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AsyncLocalizationPipe }); }
|
|
4868
|
+
}
|
|
4869
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AsyncLocalizationPipe, decorators: [{
|
|
4870
|
+
type: Injectable
|
|
4871
|
+
}, {
|
|
4872
|
+
type: Pipe,
|
|
4873
|
+
args: [{
|
|
4874
|
+
name: 'abpAsyncLocalization',
|
|
4875
|
+
}]
|
|
4876
|
+
}] });
|
|
4877
|
+
|
|
4878
|
+
/**
|
|
4879
|
+
* @deprecated Use `AsyncLocalizationPipe` instead. This pipe will be removed in a future version.
|
|
4880
|
+
* LazyLocalizationPipe has been renamed to AsyncLocalizationPipe to better express its async nature.
|
|
4881
|
+
*/
|
|
4882
|
+
class LazyLocalizationPipe extends AsyncLocalizationPipe {
|
|
4883
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: LazyLocalizationPipe, deps: null, target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4884
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.9", ngImport: i0, type: LazyLocalizationPipe, isStandalone: true, name: "abpLazyLocalization" }); }
|
|
4885
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: LazyLocalizationPipe }); }
|
|
4858
4886
|
}
|
|
4859
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4887
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: LazyLocalizationPipe, decorators: [{
|
|
4860
4888
|
type: Injectable
|
|
4861
4889
|
}, {
|
|
4862
4890
|
type: Pipe,
|
|
@@ -4877,10 +4905,10 @@ class HtmlEncodePipe {
|
|
|
4877
4905
|
.replace(/"/g, '"')
|
|
4878
4906
|
.replace(/'/g, ''');
|
|
4879
4907
|
}
|
|
4880
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4881
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "
|
|
4908
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: HtmlEncodePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
4909
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.9", ngImport: i0, type: HtmlEncodePipe, isStandalone: true, name: "htmlEncode" }); }
|
|
4882
4910
|
}
|
|
4883
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4911
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: HtmlEncodePipe, decorators: [{
|
|
4884
4912
|
type: Pipe,
|
|
4885
4913
|
args: [{
|
|
4886
4914
|
name: 'htmlEncode',
|
|
@@ -4906,6 +4934,7 @@ const CORE_PIPES = [
|
|
|
4906
4934
|
ShortDatePipe,
|
|
4907
4935
|
ToInjectorPipe,
|
|
4908
4936
|
UtcToLocalPipe,
|
|
4937
|
+
AsyncLocalizationPipe,
|
|
4909
4938
|
LazyLocalizationPipe,
|
|
4910
4939
|
];
|
|
4911
4940
|
const CORE_COMPONENTS = [
|
|
@@ -4921,8 +4950,8 @@ const CORE_COMPONENTS = [
|
|
|
4921
4950
|
* This module will be imported and exported by all others.
|
|
4922
4951
|
*/
|
|
4923
4952
|
class BaseCoreModule {
|
|
4924
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4925
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4953
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: BaseCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
4954
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.9", ngImport: i0, type: BaseCoreModule, imports: [CommonModule,
|
|
4926
4955
|
FormsModule,
|
|
4927
4956
|
ReactiveFormsModule,
|
|
4928
4957
|
RouterModule,
|
|
@@ -4941,6 +4970,7 @@ class BaseCoreModule {
|
|
|
4941
4970
|
ShortDatePipe,
|
|
4942
4971
|
ToInjectorPipe,
|
|
4943
4972
|
UtcToLocalPipe,
|
|
4973
|
+
AsyncLocalizationPipe,
|
|
4944
4974
|
LazyLocalizationPipe, DynamicLayoutComponent,
|
|
4945
4975
|
ReplaceableRouteContainerComponent,
|
|
4946
4976
|
RouterOutletComponent,
|
|
@@ -4963,11 +4993,12 @@ class BaseCoreModule {
|
|
|
4963
4993
|
ShortDatePipe,
|
|
4964
4994
|
ToInjectorPipe,
|
|
4965
4995
|
UtcToLocalPipe,
|
|
4996
|
+
AsyncLocalizationPipe,
|
|
4966
4997
|
LazyLocalizationPipe, DynamicLayoutComponent,
|
|
4967
4998
|
ReplaceableRouteContainerComponent,
|
|
4968
4999
|
RouterOutletComponent,
|
|
4969
5000
|
AbstractNgModelComponent] }); }
|
|
4970
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5001
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: BaseCoreModule, providers: [LocalizationPipe, provideHttpClient(withInterceptorsFromDi(), withFetch())], imports: [CommonModule,
|
|
4971
5002
|
FormsModule,
|
|
4972
5003
|
ReactiveFormsModule,
|
|
4973
5004
|
RouterModule,
|
|
@@ -4977,7 +5008,7 @@ class BaseCoreModule {
|
|
|
4977
5008
|
RouterModule,
|
|
4978
5009
|
NgxValidateCoreModule] }); }
|
|
4979
5010
|
}
|
|
4980
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5011
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: BaseCoreModule, decorators: [{
|
|
4981
5012
|
type: NgModule,
|
|
4982
5013
|
args: [{
|
|
4983
5014
|
exports: [
|
|
@@ -5009,16 +5040,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
5009
5040
|
* and it introduces imports useful at root level (e.g. NGXS)
|
|
5010
5041
|
*/
|
|
5011
5042
|
class RootCoreModule {
|
|
5012
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5013
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5014
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5043
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: RootCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5044
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.9", ngImport: i0, type: RootCoreModule, imports: [BaseCoreModule], exports: [BaseCoreModule] }); }
|
|
5045
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: RootCoreModule, providers: [
|
|
5015
5046
|
provideHttpClient(withXsrfConfiguration({
|
|
5016
5047
|
cookieName: 'XSRF-TOKEN',
|
|
5017
5048
|
headerName: 'RequestVerificationToken',
|
|
5018
5049
|
})),
|
|
5019
5050
|
], imports: [BaseCoreModule, BaseCoreModule] }); }
|
|
5020
5051
|
}
|
|
5021
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5052
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: RootCoreModule, decorators: [{
|
|
5022
5053
|
type: NgModule,
|
|
5023
5054
|
args: [{
|
|
5024
5055
|
exports: [BaseCoreModule],
|
|
@@ -5053,11 +5084,11 @@ class CoreModule {
|
|
|
5053
5084
|
providers: [provideAbpCoreChild(options)],
|
|
5054
5085
|
};
|
|
5055
5086
|
}
|
|
5056
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5057
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5058
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5087
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5088
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.9", ngImport: i0, type: CoreModule, imports: [BaseCoreModule], exports: [BaseCoreModule] }); }
|
|
5089
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: CoreModule, imports: [BaseCoreModule, BaseCoreModule] }); }
|
|
5059
5090
|
}
|
|
5060
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5091
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: CoreModule, decorators: [{
|
|
5061
5092
|
type: NgModule,
|
|
5062
5093
|
args: [{
|
|
5063
5094
|
exports: [BaseCoreModule],
|
|
@@ -5075,6 +5106,7 @@ class PermissionGuard {
|
|
|
5075
5106
|
this.authService = inject(AuthService);
|
|
5076
5107
|
this.permissionService = inject(PermissionService);
|
|
5077
5108
|
this.httpErrorReporter = inject(HttpErrorReporterService);
|
|
5109
|
+
this.configStateService = inject(ConfigStateService);
|
|
5078
5110
|
}
|
|
5079
5111
|
canActivate(route, state) {
|
|
5080
5112
|
let { requiredPolicy } = route.data || {};
|
|
@@ -5085,7 +5117,7 @@ class PermissionGuard {
|
|
|
5085
5117
|
if (!requiredPolicy) {
|
|
5086
5118
|
return of(true);
|
|
5087
5119
|
}
|
|
5088
|
-
return this.
|
|
5120
|
+
return this.configStateService.getAll$().pipe(filter(config => !!config?.auth?.grantedPolicies), take(1), switchMap(() => this.permissionService.getGrantedPolicy$(requiredPolicy)), take(1), map(access => {
|
|
5089
5121
|
if (access)
|
|
5090
5122
|
return true;
|
|
5091
5123
|
if (route.data?.['redirectUrl']) {
|
|
@@ -5097,10 +5129,10 @@ class PermissionGuard {
|
|
|
5097
5129
|
return false;
|
|
5098
5130
|
}));
|
|
5099
5131
|
}
|
|
5100
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5101
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5132
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PermissionGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5133
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PermissionGuard, providedIn: 'root' }); }
|
|
5102
5134
|
}
|
|
5103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: PermissionGuard, decorators: [{
|
|
5104
5136
|
type: Injectable,
|
|
5105
5137
|
args: [{
|
|
5106
5138
|
providedIn: 'root',
|
|
@@ -5112,6 +5144,7 @@ const permissionGuard = (route, state) => {
|
|
|
5112
5144
|
const authService = inject(AuthService);
|
|
5113
5145
|
const permissionService = inject(PermissionService);
|
|
5114
5146
|
const httpErrorReporter = inject(HttpErrorReporterService);
|
|
5147
|
+
const configStateService = inject(ConfigStateService);
|
|
5115
5148
|
const platformId = inject(PLATFORM_ID);
|
|
5116
5149
|
let { requiredPolicy } = route.data || {};
|
|
5117
5150
|
if (!requiredPolicy) {
|
|
@@ -5125,7 +5158,7 @@ const permissionGuard = (route, state) => {
|
|
|
5125
5158
|
if (isPlatformServer(platformId)) {
|
|
5126
5159
|
return of(true);
|
|
5127
5160
|
}
|
|
5128
|
-
return
|
|
5161
|
+
return configStateService.getAll$().pipe(filter(config => !!config?.auth?.grantedPolicies), take(1), switchMap(() => permissionService.getGrantedPolicy$(requiredPolicy)), take(1), map(access => {
|
|
5129
5162
|
if (access)
|
|
5130
5163
|
return true;
|
|
5131
5164
|
if (route.data?.['redirectUrl']) {
|
|
@@ -5139,19 +5172,19 @@ const permissionGuard = (route, state) => {
|
|
|
5139
5172
|
};
|
|
5140
5173
|
|
|
5141
5174
|
/**
|
|
5142
|
-
* @deprecated Use `LocalizationPipe` and `LazyLocalizationPipe` directly as a standalone pipe.
|
|
5143
|
-
* This module is no longer necessary for using the `LocalizationPipe` and `LazyLocalizationPipe` pipes.
|
|
5175
|
+
* @deprecated Use `LocalizationPipe`, `AsyncLocalizationPipe` and `LazyLocalizationPipe` directly as a standalone pipe.
|
|
5176
|
+
* This module is no longer necessary for using the `LocalizationPipe`, `AsyncLocalizationPipe` and `LazyLocalizationPipe` pipes.
|
|
5144
5177
|
*/
|
|
5145
5178
|
class LocalizationModule {
|
|
5146
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5147
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5148
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5179
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: LocalizationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
5180
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.9", ngImport: i0, type: LocalizationModule, imports: [LocalizationPipe, AsyncLocalizationPipe, LazyLocalizationPipe], exports: [LocalizationPipe, AsyncLocalizationPipe, LazyLocalizationPipe] }); }
|
|
5181
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: LocalizationModule }); }
|
|
5149
5182
|
}
|
|
5150
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5183
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: LocalizationModule, decorators: [{
|
|
5151
5184
|
type: NgModule,
|
|
5152
5185
|
args: [{
|
|
5153
|
-
exports: [LocalizationPipe, LazyLocalizationPipe],
|
|
5154
|
-
imports: [LocalizationPipe, LazyLocalizationPipe],
|
|
5186
|
+
exports: [LocalizationPipe, AsyncLocalizationPipe, LazyLocalizationPipe],
|
|
5187
|
+
imports: [LocalizationPipe, AsyncLocalizationPipe, LazyLocalizationPipe],
|
|
5155
5188
|
}]
|
|
5156
5189
|
}] });
|
|
5157
5190
|
|
|
@@ -5330,10 +5363,10 @@ class AbpApiDefinitionService {
|
|
|
5330
5363
|
params: { includeTypes: model.includeTypes },
|
|
5331
5364
|
}, { apiName: this.apiName, ...config });
|
|
5332
5365
|
}
|
|
5333
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5334
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5366
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpApiDefinitionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
5367
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpApiDefinitionService, providedIn: 'root' }); }
|
|
5335
5368
|
}
|
|
5336
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5369
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.9", ngImport: i0, type: AbpApiDefinitionService, decorators: [{
|
|
5337
5370
|
type: Injectable,
|
|
5338
5371
|
args: [{
|
|
5339
5372
|
providedIn: 'root',
|
|
@@ -5483,5 +5516,5 @@ const AbpValidators = {
|
|
|
5483
5516
|
* Generated bundle index. Do not edit.
|
|
5484
5517
|
*/
|
|
5485
5518
|
|
|
5486
|
-
export { APP_INIT_ERROR_HANDLERS, APP_STARTED_WITH_SSR, AbpApiDefinitionService, AbpApplicationConfigurationService, AbpApplicationLocalizationService, AbpCookieStorageService, AbpLocalStorageService, AbpTenantService, AbpTitleStrategy, AbpValidators, AbpWindowService, AbstractAuthErrorFilter, AbstractNavTreeService, AbstractNgModelComponent, AbstractTreeService, ApiInterceptor, AuditedEntityDto, AuditedEntityWithUserDto, AuthErrorEvent, AuthErrorFilterService, AuthEvent, AuthGuard, AuthInfoEvent, AuthService, AuthSuccessEvent, AutofocusDirective, BaseCoreModule, BaseTreeNode, CHECK_AUTHENTICATION_STATE_FN_KEY, CONTAINER_STRATEGY, CONTENT_SECURITY_STRATEGY, CONTENT_STRATEGY, CONTEXT_STRATEGY, COOKIE_LANGUAGE_KEY, CORE_OPTIONS, CROSS_ORIGIN_STRATEGY, ClearContainerStrategy, ComponentContextStrategy, ComponentProjectionStrategy, ConfigStateService, ContainerStrategy, ContentProjectionService, ContentSecurityStrategy, ContentStrategy, ContextStrategy, CookieLanguageProvider, CoreFeatureKind, CoreModule, CreationAuditedEntityDto, CreationAuditedEntityWithUserDto, CrossOriginStrategy, DEFAULT_DYNAMIC_LAYOUTS, DISABLE_PROJECT_NAME, DOM_STRATEGY, DYNAMIC_LAYOUTS_TOKEN, DefaultQueueManager, DomInsertionService, DomStrategy, DomStrategyService, DynamicLayoutComponent, EntityDto, EnvironmentService, ExtensibleAuditedEntityDto, ExtensibleAuditedEntityWithUserDto, ExtensibleCreationAuditedEntityDto, ExtensibleCreationAuditedEntityWithUserDto, ExtensibleEntityDto, ExtensibleFullAuditedEntityDto, ExtensibleFullAuditedEntityWithUserDto, ExtensibleLimitedResultRequestDto, ExtensibleObject, ExtensiblePagedAndSortedResultRequestDto, ExtensiblePagedResultRequestDto, ExternalHttpClient, ForDirective, FormSubmitDirective, FullAuditedEntityDto, FullAuditedEntityWithUserDto, HtmlEncodePipe, HtmlEncodingService, HttpErrorReporterService, HttpWaitService, INCUDE_LOCALIZATION_RESOURCES_TOKEN, INJECTOR_PIPE_DATA_TOKEN, IS_EXTERNAL_REQUEST, IncludeLocalizationResourcesProvider, InitDirective, InputEventDebounceDirective, InsertIntoContainerStrategy, InternalStore, InternetConnectionService, LIST_QUERY_DEBOUNCE_TIME, LOADER_DELAY, LOADING_STRATEGY, LOCALIZATIONS, LazyLoadService, LazyLocalizationPipe, LazyModuleFactory, LimitedResultRequestDto, ListResultDto, ListService, LoadingStrategy, LocalStorageListenerService, LocaleId, LocaleProvider, LocalizationModule, LocalizationPipe, LocalizationService, LooseContentSecurityStrategy, MultiTenancyService, NAVIGATE_TO_MANAGE_PROFILE, NavigationEvent, NoContentSecurityStrategy, NoContextStrategy, NoCrossOriginStrategy, OTHERS_GROUP, index as ObjectExtending, PIPE_TO_LOGIN_FN_KEY, PROJECTION_STRATEGY, PagedAndSortedResultRequestDto, PagedResultDto, PagedResultRequestDto, PermissionDirective, PermissionGuard, PermissionService, ProjectionStrategy, QUEUE_MANAGER, ReplaceableComponentsService, ReplaceableRouteContainerComponent, ReplaceableTemplateDirective, ResourceWaitService, RestService, RootComponentProjectionStrategy, RootCoreModule, RouterEvents, RouterOutletComponent, RouterWaitService, RoutesService, SET_TOKEN_RESPONSE_TO_STORAGE_FN_KEY, SORT_COMPARE_FUNC, SSR_FLAG, SafeHtmlPipe, ScriptContentStrategy, ScriptLoadingStrategy, ServerCookieParser, SessionStateService, ShortDatePipe, ShortDateTimePipe, ShortTimePipe, ShowPasswordDirective, SortPipe, StopPropagationDirective, StyleContentStrategy, StyleLoadingStrategy, SubscriptionService, TENANT_KEY, TENANT_NOT_FOUND_BY_NAME, TemplateContextStrategy, TemplateProjectionStrategy, TimeService, TimezoneService, ToInjectorPipe, TrackByService, TrackCapsLockDirective, UtcToLocalPipe, WebHttpUrlEncodingCodec, asyncAuthGuard, authGuard, checkHasProp, compareFuncFactory, coreOptionsFactory, createGroupMap, createLocalizationPipeKeyGenerator, createLocalizer, createLocalizerWithFallback, createMapFromList, createTokenParser, createTreeFromList, createTreeNodeFilterCreator, deepMerge, differentLocales, downloadBlob, escapeHtmlChars, exists, featuresFactory, findRoute, fromLazyLoad, generateHash, generatePassword, getCurrentTenancyNameFromUrl, getInitialData, getLocaleDirection, getPathName, getRemoteEnv, getRoutePath, getShortDateFormat, getShortDateShortTimeFormat, getShortTimeFormat, interpolate, isArray, isNode, isNullOrEmpty, isNullOrUndefined, isNumber, isObject, isObjectAndNotArray, isObjectAndNotArrayNotNode, isUndefinedOrEmptyString, localeInitializer, localizationContributor, localizations$, mapEnumToOptions, noop, parseTenantFromUrl, permissionGuard, provideAbpCore, provideAbpCoreChild, pushValueTo, reloadRoute, setLanguageToCookie, timezoneInterceptor, trackBy, trackByDeep, transferStateInterceptor, uuid, validateCreditCard, validateMinAge, validateRange, validateRequired, validateStringLength, validateUniqueCharacter, validateUrl, withCompareFuncFactory, withOptions, withTitleStrategy };
|
|
5519
|
+
export { APP_INIT_ERROR_HANDLERS, APP_STARTED_WITH_SSR, AbpApiDefinitionService, AbpApplicationConfigurationService, AbpApplicationLocalizationService, AbpCookieStorageService, AbpLocalStorageService, AbpTenantService, AbpTitleStrategy, AbpValidators, AbpWindowService, AbstractAuthErrorFilter, AbstractNavTreeService, AbstractNgModelComponent, AbstractTreeService, ApiInterceptor, AsyncLocalizationPipe, AuditedEntityDto, AuditedEntityWithUserDto, AuthErrorEvent, AuthErrorFilterService, AuthEvent, AuthGuard, AuthInfoEvent, AuthService, AuthSuccessEvent, AutofocusDirective, BaseCoreModule, BaseTreeNode, CHECK_AUTHENTICATION_STATE_FN_KEY, CONTAINER_STRATEGY, CONTENT_SECURITY_STRATEGY, CONTENT_STRATEGY, CONTEXT_STRATEGY, COOKIE_LANGUAGE_KEY, CORE_OPTIONS, CROSS_ORIGIN_STRATEGY, ClearContainerStrategy, ComponentContextStrategy, ComponentProjectionStrategy, ConfigStateService, ContainerStrategy, ContentProjectionService, ContentSecurityStrategy, ContentStrategy, ContextStrategy, CookieLanguageProvider, CoreFeatureKind, CoreModule, CreationAuditedEntityDto, CreationAuditedEntityWithUserDto, CrossOriginStrategy, DEFAULT_DYNAMIC_LAYOUTS, DISABLE_PROJECT_NAME, DOM_STRATEGY, DYNAMIC_LAYOUTS_TOKEN, DefaultQueueManager, DomInsertionService, DomStrategy, DomStrategyService, DynamicLayoutComponent, EntityDto, EnvironmentService, ExtensibleAuditedEntityDto, ExtensibleAuditedEntityWithUserDto, ExtensibleCreationAuditedEntityDto, ExtensibleCreationAuditedEntityWithUserDto, ExtensibleEntityDto, ExtensibleFullAuditedEntityDto, ExtensibleFullAuditedEntityWithUserDto, ExtensibleLimitedResultRequestDto, ExtensibleObject, ExtensiblePagedAndSortedResultRequestDto, ExtensiblePagedResultRequestDto, ExternalHttpClient, ForDirective, FormSubmitDirective, FullAuditedEntityDto, FullAuditedEntityWithUserDto, HtmlEncodePipe, HtmlEncodingService, HttpErrorReporterService, HttpWaitService, INCUDE_LOCALIZATION_RESOURCES_TOKEN, INJECTOR_PIPE_DATA_TOKEN, IS_EXTERNAL_REQUEST, IncludeLocalizationResourcesProvider, InitDirective, InputEventDebounceDirective, InsertIntoContainerStrategy, InternalStore, InternetConnectionService, LIST_QUERY_DEBOUNCE_TIME, LOADER_DELAY, LOADING_STRATEGY, LOCALIZATIONS, LazyLoadService, LazyLocalizationPipe, LazyModuleFactory, LimitedResultRequestDto, ListResultDto, ListService, LoadingStrategy, LocalStorageListenerService, LocaleId, LocaleProvider, LocalizationModule, LocalizationPipe, LocalizationService, LooseContentSecurityStrategy, MultiTenancyService, NAVIGATE_TO_MANAGE_PROFILE, NavigationEvent, NoContentSecurityStrategy, NoContextStrategy, NoCrossOriginStrategy, OTHERS_GROUP, index as ObjectExtending, PIPE_TO_LOGIN_FN_KEY, PROJECTION_STRATEGY, PagedAndSortedResultRequestDto, PagedResultDto, PagedResultRequestDto, PermissionDirective, PermissionGuard, PermissionService, ProjectionStrategy, QUEUE_MANAGER, ReplaceableComponentsService, ReplaceableRouteContainerComponent, ReplaceableTemplateDirective, ResourceWaitService, RestService, RootComponentProjectionStrategy, RootCoreModule, RouterEvents, RouterOutletComponent, RouterWaitService, RoutesService, SET_TOKEN_RESPONSE_TO_STORAGE_FN_KEY, SORT_COMPARE_FUNC, SSR_FLAG, SafeHtmlPipe, ScriptContentStrategy, ScriptLoadingStrategy, ServerCookieParser, SessionStateService, ShortDatePipe, ShortDateTimePipe, ShortTimePipe, ShowPasswordDirective, SortPipe, StopPropagationDirective, StyleContentStrategy, StyleLoadingStrategy, SubscriptionService, TENANT_KEY, TENANT_NOT_FOUND_BY_NAME, TemplateContextStrategy, TemplateProjectionStrategy, TimeService, TimezoneService, ToInjectorPipe, TrackByService, TrackCapsLockDirective, UtcToLocalPipe, WebHttpUrlEncodingCodec, asyncAuthGuard, authGuard, checkHasProp, compareFuncFactory, coreOptionsFactory, createGroupMap, createLocalizationPipeKeyGenerator, createLocalizer, createLocalizerWithFallback, createMapFromList, createTokenParser, createTreeFromList, createTreeNodeFilterCreator, deepMerge, differentLocales, downloadBlob, escapeHtmlChars, exists, featuresFactory, findRoute, fromLazyLoad, generateHash, generatePassword, getCurrentTenancyNameFromUrl, getInitialData, getLocaleDirection, getPathName, getRemoteEnv, getRoutePath, getShortDateFormat, getShortDateShortTimeFormat, getShortTimeFormat, interpolate, isArray, isNode, isNullOrEmpty, isNullOrUndefined, isNumber, isObject, isObjectAndNotArray, isObjectAndNotArrayNotNode, isUndefinedOrEmptyString, localeInitializer, localizationContributor, localizations$, mapEnumToOptions, noop, parseTenantFromUrl, permissionGuard, provideAbpCore, provideAbpCoreChild, pushValueTo, reloadRoute, setLanguageToCookie, timezoneInterceptor, trackBy, trackByDeep, transferStateInterceptor, uuid, validateCreditCard, validateMinAge, validateRange, validateRequired, validateStringLength, validateUniqueCharacter, validateUrl, withCompareFuncFactory, withOptions, withTitleStrategy };
|
|
5487
5520
|
//# sourceMappingURL=abp-ng.core.mjs.map
|