@abp/ng.core 8.0.0-rc.2 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/abstracts/auth.guard.mjs +3 -3
- package/esm2022/lib/abstracts/auth.service.mjs +3 -3
- package/esm2022/lib/abstracts/ng-model.component.mjs +5 -5
- package/esm2022/lib/clients/http.client.mjs +3 -3
- package/esm2022/lib/components/dynamic-layout.component.mjs +38 -38
- package/esm2022/lib/components/replaceable-route-container.component.mjs +3 -3
- package/esm2022/lib/components/router-outlet.component.mjs +3 -3
- package/esm2022/lib/constants/default-layouts.mjs +6 -0
- package/esm2022/lib/constants/index.mjs +2 -1
- package/esm2022/lib/core.module.mjs +48 -48
- package/esm2022/lib/directives/autofocus.directive.mjs +5 -5
- package/esm2022/lib/directives/caps-lock.directive.mjs +3 -3
- package/esm2022/lib/directives/debounce.directive.mjs +5 -5
- package/esm2022/lib/directives/for.directive.mjs +5 -4
- package/esm2022/lib/directives/form-submit.directive.mjs +5 -5
- package/esm2022/lib/directives/init.directive.mjs +8 -5
- package/esm2022/lib/directives/permission.directive.mjs +5 -4
- package/esm2022/lib/directives/replaceable-template.directive.mjs +5 -4
- package/esm2022/lib/directives/show-password.directive.mjs +3 -3
- package/esm2022/lib/directives/stop-propagation.directive.mjs +5 -5
- package/esm2022/lib/enums/common.mjs +1 -1
- package/esm2022/lib/guards/permission.guard.mjs +3 -3
- package/esm2022/lib/handlers/routes.handler.mjs +3 -3
- package/esm2022/lib/interceptors/api.interceptor.mjs +3 -3
- package/esm2022/lib/localization.module.mjs +4 -4
- package/esm2022/lib/models/common.mjs +1 -1
- package/esm2022/lib/pipes/localization.pipe.mjs +4 -4
- package/esm2022/lib/pipes/safe-html.pipe.mjs +4 -4
- package/esm2022/lib/pipes/short-date-time.pipe.mjs +3 -3
- package/esm2022/lib/pipes/short-date.pipe.mjs +3 -3
- package/esm2022/lib/pipes/short-time.pipe.mjs +3 -3
- package/esm2022/lib/pipes/sort.pipe.mjs +4 -4
- package/esm2022/lib/pipes/to-injector.pipe.mjs +3 -3
- package/esm2022/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.mjs +3 -3
- package/esm2022/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.mjs +3 -3
- package/esm2022/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.mjs +3 -3
- package/esm2022/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-localization.service.mjs +3 -3
- package/esm2022/lib/services/config-state.service.mjs +3 -3
- package/esm2022/lib/services/content-projection.service.mjs +3 -3
- package/esm2022/lib/services/dom-insertion.service.mjs +3 -3
- package/esm2022/lib/services/environment.service.mjs +3 -3
- package/esm2022/lib/services/http-error-reporter.service.mjs +3 -3
- package/esm2022/lib/services/http-wait.service.mjs +3 -3
- package/esm2022/lib/services/internet-connection-service.mjs +3 -3
- package/esm2022/lib/services/lazy-load.service.mjs +3 -3
- package/esm2022/lib/services/list.service.mjs +3 -3
- package/esm2022/lib/services/local-storage.service.mjs +3 -3
- package/esm2022/lib/services/localization.service.mjs +3 -3
- package/esm2022/lib/services/multi-tenancy.service.mjs +3 -3
- package/esm2022/lib/services/permission.service.mjs +3 -3
- package/esm2022/lib/services/replaceable-components.service.mjs +3 -3
- package/esm2022/lib/services/resource-wait.service.mjs +3 -3
- package/esm2022/lib/services/rest.service.mjs +3 -3
- package/esm2022/lib/services/router-events.service.mjs +3 -3
- package/esm2022/lib/services/router-wait.service.mjs +3 -3
- package/esm2022/lib/services/routes.service.mjs +6 -6
- package/esm2022/lib/services/session-state.service.mjs +3 -3
- package/esm2022/lib/services/subscription.service.mjs +3 -3
- package/esm2022/lib/services/track-by.service.mjs +3 -3
- package/esm2022/lib/services/window.service.mjs +3 -3
- package/esm2022/lib/tokens/dynamic-layout.token.mjs +3 -0
- package/esm2022/lib/tokens/index.mjs +2 -1
- package/esm2022/testing/lib/core-testing.module.mjs +4 -4
- package/esm2022/testing/lib/services/mock-permission.service.mjs +3 -3
- package/esm2022/testing/lib/services/mock-rest.service.mjs +3 -3
- package/fesm2022/abp-ng.core-testing.mjs +10 -10
- package/fesm2022/abp-ng.core.mjs +405 -390
- package/fesm2022/abp-ng.core.mjs.map +1 -1
- package/lib/components/dynamic-layout.component.d.ts +11 -14
- package/lib/constants/default-layouts.d.ts +1 -0
- package/lib/constants/index.d.ts +1 -0
- package/lib/core.module.d.ts +24 -24
- package/lib/directives/autofocus.directive.d.ts +1 -1
- package/lib/directives/debounce.directive.d.ts +1 -1
- package/lib/directives/for.directive.d.ts +1 -1
- package/lib/directives/form-submit.directive.d.ts +1 -1
- package/lib/directives/init.directive.d.ts +1 -1
- package/lib/directives/permission.directive.d.ts +1 -1
- package/lib/directives/replaceable-template.directive.d.ts +1 -1
- package/lib/directives/stop-propagation.directive.d.ts +1 -1
- package/lib/enums/common.d.ts +5 -0
- package/lib/models/common.d.ts +1 -0
- package/lib/tokens/dynamic-layout.token.d.ts +2 -0
- package/lib/tokens/index.d.ts +1 -0
- package/package.json +2 -2
package/fesm2022/abp-ng.core.mjs
CHANGED
|
@@ -2,15 +2,15 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { ChangeDetectorRef, inject, Component, Input, Injectable, InjectionToken, Inject, Optional, isDevMode, SkipSelf, NgModuleFactory, Injector, Compiler, signal, computed, Directive, EventEmitter, Output, Self, Pipe, NgModule, APP_INITIALIZER, LOCALE_ID, SecurityContext, ElementRef, HostListener, ComponentFactoryResolver, ApplicationRef } from '@angular/core';
|
|
3
3
|
import { of, BehaviorSubject, Subject, throwError, combineLatest, from, firstValueFrom, lastValueFrom, Observable, timer, pipe, concat, ReplaySubject, Subscription, map as map$1, fromEvent } from 'rxjs';
|
|
4
4
|
import * as i1$1 from '@angular/router';
|
|
5
|
-
import { PRIMARY_OUTLET, NavigationCancel, NavigationEnd, NavigationError, NavigationStart,
|
|
6
|
-
import * as
|
|
5
|
+
import { PRIMARY_OUTLET, NavigationCancel, NavigationEnd, NavigationError, NavigationStart, Router, ActivatedRoute, RouterModule } from '@angular/router';
|
|
6
|
+
import * as i1$2 from '@angular/common';
|
|
7
7
|
import { registerLocaleData, DOCUMENT, DatePipe, DATE_PIPE_DEFAULT_TIMEZONE, CommonModule } from '@angular/common';
|
|
8
8
|
import { map, distinctUntilChanged, filter, catchError, switchMap, take, tap, mapTo, takeUntil, delay, retryWhen, shareReplay, debounceTime, finalize } from 'rxjs/operators';
|
|
9
9
|
import * as i1 from '@angular/common/http';
|
|
10
10
|
import { HttpContextToken, HttpClient, HttpContext, HttpParams, HttpErrorResponse, HttpClientModule, HttpClientXsrfModule, HttpHeaders } from '@angular/common/http';
|
|
11
11
|
import compare from 'just-compare';
|
|
12
12
|
import clone from 'just-clone';
|
|
13
|
-
import * as i1$
|
|
13
|
+
import * as i1$3 from '@angular/forms';
|
|
14
14
|
import { FormsModule, ReactiveFormsModule, Validators } from '@angular/forms';
|
|
15
15
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
16
16
|
|
|
@@ -41,7 +41,7 @@ class AbstractNgModelComponent {
|
|
|
41
41
|
}
|
|
42
42
|
writeValue(value) {
|
|
43
43
|
this._value = this.valueLimitFn(value, this._value) || value;
|
|
44
|
-
|
|
44
|
+
this.cdRef.markForCheck();
|
|
45
45
|
}
|
|
46
46
|
registerOnChange(fn) {
|
|
47
47
|
this.onChange = fn;
|
|
@@ -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: "17.0.
|
|
56
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
55
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbstractNgModelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
56
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.7", type: AbstractNgModelComponent, 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: "17.0.
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbstractNgModelComponent, decorators: [{
|
|
59
59
|
type: Component,
|
|
60
60
|
args: [{ template: '' }]
|
|
61
61
|
}], propDecorators: { disabled: [{
|
|
@@ -78,10 +78,10 @@ class AuthGuard {
|
|
|
78
78
|
console.error('You should add @abp/ng-oauth packages or create your own auth packages.');
|
|
79
79
|
return false;
|
|
80
80
|
}
|
|
81
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
82
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
81
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AuthGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
82
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AuthGuard, providedIn: 'root' }); }
|
|
83
83
|
}
|
|
84
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
84
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AuthGuard, decorators: [{
|
|
85
85
|
type: Injectable,
|
|
86
86
|
args: [{
|
|
87
87
|
providedIn: 'root',
|
|
@@ -124,10 +124,10 @@ class AuthService {
|
|
|
124
124
|
console.log({ grantType, parameters, headers });
|
|
125
125
|
return Promise.reject(new Error('not implemented'));
|
|
126
126
|
}
|
|
127
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
128
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
127
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AuthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
128
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AuthService, providedIn: 'root' }); }
|
|
129
129
|
}
|
|
130
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AuthService, decorators: [{
|
|
131
131
|
type: Injectable,
|
|
132
132
|
args: [{
|
|
133
133
|
providedIn: 'root',
|
|
@@ -244,10 +244,10 @@ class ExternalHttpClient extends HttpClient {
|
|
|
244
244
|
optionsOrRequest.context ??= new HttpContext();
|
|
245
245
|
optionsOrRequest.context.set(IS_EXTERNAL_REQUEST, true);
|
|
246
246
|
}
|
|
247
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
248
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
247
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ExternalHttpClient, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
248
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ExternalHttpClient, providedIn: 'root' }); }
|
|
249
249
|
}
|
|
250
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
250
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ExternalHttpClient, decorators: [{
|
|
251
251
|
type: Injectable,
|
|
252
252
|
args: [{
|
|
253
253
|
providedIn: 'root',
|
|
@@ -394,10 +394,10 @@ class EnvironmentService {
|
|
|
394
394
|
getIssuer$() {
|
|
395
395
|
return this.store.sliceState(state => state?.oAuthConfig?.issuer).pipe(map(mapToIssuer));
|
|
396
396
|
}
|
|
397
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
398
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
397
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: EnvironmentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
398
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: EnvironmentService, providedIn: 'root' }); }
|
|
399
399
|
}
|
|
400
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
400
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: EnvironmentService, decorators: [{
|
|
401
401
|
type: Injectable,
|
|
402
402
|
args: [{ providedIn: 'root' }]
|
|
403
403
|
}] });
|
|
@@ -420,10 +420,10 @@ class HttpErrorReporterService {
|
|
|
420
420
|
this._reporter$.next(error);
|
|
421
421
|
this._errors$.next([...this.errors, error]);
|
|
422
422
|
}
|
|
423
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
424
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
423
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: HttpErrorReporterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
424
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: HttpErrorReporterService, providedIn: 'root' }); }
|
|
425
425
|
}
|
|
426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
426
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: HttpErrorReporterService, decorators: [{
|
|
427
427
|
type: Injectable,
|
|
428
428
|
args: [{ providedIn: 'root' }]
|
|
429
429
|
}] });
|
|
@@ -479,10 +479,10 @@ class RestService {
|
|
|
479
479
|
removeDuplicateSlashes(url) {
|
|
480
480
|
return url.replace(/([^:]\/)\/+/g, '$1');
|
|
481
481
|
}
|
|
482
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
483
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
482
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RestService, deps: [{ token: CORE_OPTIONS }, { token: i1.HttpClient }, { token: ExternalHttpClient }, { token: EnvironmentService }, { token: HttpErrorReporterService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
483
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RestService, providedIn: 'root' }); }
|
|
484
484
|
}
|
|
485
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
485
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RestService, decorators: [{
|
|
486
486
|
type: Injectable,
|
|
487
487
|
args: [{
|
|
488
488
|
providedIn: 'root',
|
|
@@ -502,10 +502,10 @@ class AbpApplicationConfigurationService {
|
|
|
502
502
|
params: { includeLocalizationResources: options.includeLocalizationResources },
|
|
503
503
|
}, { apiName: this.apiName });
|
|
504
504
|
}
|
|
505
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
506
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
505
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbpApplicationConfigurationService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
506
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbpApplicationConfigurationService, providedIn: 'root' }); }
|
|
507
507
|
}
|
|
508
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
508
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbpApplicationConfigurationService, decorators: [{
|
|
509
509
|
type: Injectable,
|
|
510
510
|
args: [{
|
|
511
511
|
providedIn: 'root',
|
|
@@ -522,10 +522,10 @@ class AbpApplicationLocalizationService {
|
|
|
522
522
|
params: { cultureName: input.cultureName, onlyDynamics: input.onlyDynamics },
|
|
523
523
|
}, { apiName: this.apiName });
|
|
524
524
|
}
|
|
525
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
526
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
525
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbpApplicationLocalizationService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
526
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbpApplicationLocalizationService, providedIn: 'root' }); }
|
|
527
527
|
}
|
|
528
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
528
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbpApplicationLocalizationService, decorators: [{
|
|
529
529
|
type: Injectable,
|
|
530
530
|
args: [{
|
|
531
531
|
providedIn: 'root',
|
|
@@ -681,10 +681,10 @@ class ConfigStateService {
|
|
|
681
681
|
getGlobalFeatureIsEnabled$(key) {
|
|
682
682
|
return this.store.sliceState(state => this.isGlobalFeatureEnabled(key, state.globalFeatures));
|
|
683
683
|
}
|
|
684
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
685
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
684
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ConfigStateService, deps: [{ token: AbpApplicationConfigurationService }, { token: AbpApplicationLocalizationService }, { token: INCUDE_LOCALIZATION_RESOURCES_TOKEN, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
685
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ConfigStateService, providedIn: 'root' }); }
|
|
686
686
|
}
|
|
687
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
687
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ConfigStateService, decorators: [{
|
|
688
688
|
type: Injectable,
|
|
689
689
|
args: [{
|
|
690
690
|
providedIn: 'root',
|
|
@@ -725,10 +725,10 @@ class AbpLocalStorageService {
|
|
|
725
725
|
setItem(key, value) {
|
|
726
726
|
localStorage.setItem(key, value);
|
|
727
727
|
}
|
|
728
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
729
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
728
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbpLocalStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
729
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbpLocalStorageService, providedIn: 'root' }); }
|
|
730
730
|
}
|
|
731
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
731
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbpLocalStorageService, decorators: [{
|
|
732
732
|
type: Injectable,
|
|
733
733
|
args: [{
|
|
734
734
|
providedIn: 'root',
|
|
@@ -796,10 +796,10 @@ class SessionStateService {
|
|
|
796
796
|
this.store.patch({ language });
|
|
797
797
|
document.documentElement.setAttribute('lang', language);
|
|
798
798
|
}
|
|
799
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
800
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
799
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: SessionStateService, deps: [{ token: ConfigStateService }, { token: AbpLocalStorageService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
800
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: SessionStateService, providedIn: 'root' }); }
|
|
801
801
|
}
|
|
802
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
802
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: SessionStateService, decorators: [{
|
|
803
803
|
type: Injectable,
|
|
804
804
|
args: [{
|
|
805
805
|
providedIn: 'root',
|
|
@@ -974,10 +974,10 @@ class LocalizationService {
|
|
|
974
974
|
localization = '';
|
|
975
975
|
return localization || defaultValue || key;
|
|
976
976
|
}
|
|
977
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
978
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
977
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: LocalizationService, deps: [{ token: SessionStateService }, { token: i0.Injector }, { token: LocalizationService, optional: true, skipSelf: true }, { token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
978
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: LocalizationService, providedIn: 'root' }); }
|
|
979
979
|
}
|
|
980
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: LocalizationService, decorators: [{
|
|
981
981
|
type: Injectable,
|
|
982
982
|
args: [{ providedIn: 'root' }]
|
|
983
983
|
}], ctorParameters: () => [{ type: SessionStateService }, { type: i0.Injector }, { type: LocalizationService, decorators: [{
|
|
@@ -1068,10 +1068,10 @@ class ReplaceableComponentsService {
|
|
|
1068
1068
|
get$(replaceableComponentKey) {
|
|
1069
1069
|
return this.replaceableComponents$.pipe(map(components => components.find(component => component.key === replaceableComponentKey)));
|
|
1070
1070
|
}
|
|
1071
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1072
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
1071
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ReplaceableComponentsService, deps: [{ token: i0.NgZone }, { token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1072
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ReplaceableComponentsService, providedIn: 'root' }); }
|
|
1073
1073
|
}
|
|
1074
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1074
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ReplaceableComponentsService, decorators: [{
|
|
1075
1075
|
type: Injectable,
|
|
1076
1076
|
args: [{ providedIn: 'root' }]
|
|
1077
1077
|
}], ctorParameters: () => [{ type: i0.NgZone }, { type: i1$1.Router }] });
|
|
@@ -1101,10 +1101,10 @@ class RouterEvents {
|
|
|
1101
1101
|
const keys = Object.keys(NavigationEvent);
|
|
1102
1102
|
return this.getNavigationEvents(...keys);
|
|
1103
1103
|
}
|
|
1104
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1105
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
1104
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterEvents, deps: [{ token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1105
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterEvents, providedIn: 'root' }); }
|
|
1106
1106
|
}
|
|
1107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterEvents, decorators: [{
|
|
1108
1108
|
type: Injectable,
|
|
1109
1109
|
args: [{ providedIn: 'root' }]
|
|
1110
1110
|
}], ctorParameters: () => [{ type: i1$1.Router }] });
|
|
@@ -1138,140 +1138,6 @@ const OTHERS_GROUP = new InjectionToken('OTHERS_GROUP');
|
|
|
1138
1138
|
|
|
1139
1139
|
const TENANT_NOT_FOUND_BY_NAME = new InjectionToken('TENANT_NOT_FOUND_BY_NAME');
|
|
1140
1140
|
|
|
1141
|
-
function pushValueTo(array) {
|
|
1142
|
-
return (element) => {
|
|
1143
|
-
array.push(element);
|
|
1144
|
-
return array;
|
|
1145
|
-
};
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
|
-
/* eslint-disable @typescript-eslint/ban-types */
|
|
1149
|
-
class BaseTreeNode {
|
|
1150
|
-
constructor(props) {
|
|
1151
|
-
this.children = [];
|
|
1152
|
-
this.isLeaf = true;
|
|
1153
|
-
Object.assign(this, props);
|
|
1154
|
-
}
|
|
1155
|
-
static create(props) {
|
|
1156
|
-
return new BaseTreeNode(props);
|
|
1157
|
-
}
|
|
1158
|
-
}
|
|
1159
|
-
function createTreeFromList(list, keySelector, parentKeySelector, valueMapper) {
|
|
1160
|
-
const map = createMapFromList(list, keySelector, valueMapper);
|
|
1161
|
-
const tree = [];
|
|
1162
|
-
list.forEach(row => {
|
|
1163
|
-
const id = keySelector(row);
|
|
1164
|
-
const parentId = parentKeySelector(row);
|
|
1165
|
-
const node = map.get(id);
|
|
1166
|
-
if (!node)
|
|
1167
|
-
return;
|
|
1168
|
-
if (parentId) {
|
|
1169
|
-
const parent = map.get(parentId);
|
|
1170
|
-
if (!parent)
|
|
1171
|
-
return;
|
|
1172
|
-
parent.children.push(node);
|
|
1173
|
-
parent.isLeaf = false;
|
|
1174
|
-
node.parent = parent;
|
|
1175
|
-
}
|
|
1176
|
-
else {
|
|
1177
|
-
tree.push(node);
|
|
1178
|
-
}
|
|
1179
|
-
});
|
|
1180
|
-
return tree;
|
|
1181
|
-
}
|
|
1182
|
-
function createMapFromList(list, keySelector, valueMapper) {
|
|
1183
|
-
const map = new Map();
|
|
1184
|
-
list.forEach(row => map.set(keySelector(row), valueMapper(row)));
|
|
1185
|
-
return map;
|
|
1186
|
-
}
|
|
1187
|
-
function createTreeNodeFilterCreator(key, mapperFn) {
|
|
1188
|
-
return (search) => {
|
|
1189
|
-
const regex = new RegExp('.*' + search + '.*', 'i');
|
|
1190
|
-
return function collectNodes(nodes, matches = []) {
|
|
1191
|
-
for (const node of nodes) {
|
|
1192
|
-
if (regex.test(mapperFn(node[key])))
|
|
1193
|
-
matches.push(node);
|
|
1194
|
-
if (node.children.length)
|
|
1195
|
-
collectNodes(node.children, matches);
|
|
1196
|
-
}
|
|
1197
|
-
return matches;
|
|
1198
|
-
};
|
|
1199
|
-
};
|
|
1200
|
-
}
|
|
1201
|
-
function createGroupMap(list, othersGroupKey) {
|
|
1202
|
-
if (!isArray(list) || !list.some(node => Boolean(node.group)))
|
|
1203
|
-
return undefined;
|
|
1204
|
-
const mapGroup = new Map();
|
|
1205
|
-
for (const node of list) {
|
|
1206
|
-
const group = node?.group || othersGroupKey;
|
|
1207
|
-
if (typeof group !== 'string') {
|
|
1208
|
-
throw new Error(`Invalid group: ${group}`);
|
|
1209
|
-
}
|
|
1210
|
-
const items = mapGroup.get(group) || [];
|
|
1211
|
-
items.push(node);
|
|
1212
|
-
mapGroup.set(group, items);
|
|
1213
|
-
}
|
|
1214
|
-
return mapGroup;
|
|
1215
|
-
}
|
|
1216
|
-
|
|
1217
|
-
class PermissionService {
|
|
1218
|
-
constructor(configState) {
|
|
1219
|
-
this.configState = configState;
|
|
1220
|
-
}
|
|
1221
|
-
getGrantedPolicy$(key) {
|
|
1222
|
-
return this.getStream().pipe(map(grantedPolicies => this.isPolicyGranted(key, grantedPolicies)));
|
|
1223
|
-
}
|
|
1224
|
-
getGrantedPolicy(key) {
|
|
1225
|
-
const policies = this.getSnapshot();
|
|
1226
|
-
return this.isPolicyGranted(key, policies);
|
|
1227
|
-
}
|
|
1228
|
-
filterItemsByPolicy(items) {
|
|
1229
|
-
const policies = this.getSnapshot();
|
|
1230
|
-
return items.filter(item => !item.requiredPolicy || this.isPolicyGranted(item.requiredPolicy, policies));
|
|
1231
|
-
}
|
|
1232
|
-
filterItemsByPolicy$(items) {
|
|
1233
|
-
return this.getStream().pipe(map(policies => items.filter(item => !item.requiredPolicy || this.isPolicyGranted(item.requiredPolicy, policies))));
|
|
1234
|
-
}
|
|
1235
|
-
isPolicyGranted(key, grantedPolicies) {
|
|
1236
|
-
if (!key)
|
|
1237
|
-
return true;
|
|
1238
|
-
const orRegexp = /\|\|/g;
|
|
1239
|
-
const andRegexp = /&&/g;
|
|
1240
|
-
// TODO: Allow combination of ANDs & ORs
|
|
1241
|
-
if (orRegexp.test(key)) {
|
|
1242
|
-
const keys = key.split('||').filter(Boolean);
|
|
1243
|
-
if (keys.length < 2)
|
|
1244
|
-
return false;
|
|
1245
|
-
return keys.some(k => this.getPolicy(k.trim(), grantedPolicies));
|
|
1246
|
-
}
|
|
1247
|
-
else if (andRegexp.test(key)) {
|
|
1248
|
-
const keys = key.split('&&').filter(Boolean);
|
|
1249
|
-
if (keys.length < 2)
|
|
1250
|
-
return false;
|
|
1251
|
-
return keys.every(k => this.getPolicy(k.trim(), grantedPolicies));
|
|
1252
|
-
}
|
|
1253
|
-
return this.getPolicy(key, grantedPolicies);
|
|
1254
|
-
}
|
|
1255
|
-
getStream() {
|
|
1256
|
-
return this.configState.getAll$().pipe(map(this.mapToPolicies));
|
|
1257
|
-
}
|
|
1258
|
-
getSnapshot() {
|
|
1259
|
-
return this.mapToPolicies(this.configState.getAll());
|
|
1260
|
-
}
|
|
1261
|
-
mapToPolicies(applicationConfiguration) {
|
|
1262
|
-
return applicationConfiguration?.auth?.grantedPolicies || {};
|
|
1263
|
-
}
|
|
1264
|
-
getPolicy(key, grantedPolicies) {
|
|
1265
|
-
return grantedPolicies[key] || false;
|
|
1266
|
-
}
|
|
1267
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: PermissionService, deps: [{ token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1268
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: PermissionService, providedIn: 'root' }); }
|
|
1269
|
-
}
|
|
1270
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: PermissionService, decorators: [{
|
|
1271
|
-
type: Injectable,
|
|
1272
|
-
args: [{ providedIn: 'root' }]
|
|
1273
|
-
}], ctorParameters: () => [{ type: ConfigStateService }] });
|
|
1274
|
-
|
|
1275
1141
|
class ContentProjectionService {
|
|
1276
1142
|
constructor(injector) {
|
|
1277
1143
|
this.injector = injector;
|
|
@@ -1279,14 +1145,21 @@ class ContentProjectionService {
|
|
|
1279
1145
|
projectContent(projectionStrategy, injector = this.injector) {
|
|
1280
1146
|
return projectionStrategy.injectContent(injector);
|
|
1281
1147
|
}
|
|
1282
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1283
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
1148
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ContentProjectionService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1149
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ContentProjectionService, providedIn: 'root' }); }
|
|
1284
1150
|
}
|
|
1285
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1151
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ContentProjectionService, decorators: [{
|
|
1286
1152
|
type: Injectable,
|
|
1287
1153
|
args: [{ providedIn: 'root' }]
|
|
1288
1154
|
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
1289
1155
|
|
|
1156
|
+
function pushValueTo(array) {
|
|
1157
|
+
return (element) => {
|
|
1158
|
+
array.push(element);
|
|
1159
|
+
return array;
|
|
1160
|
+
};
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1290
1163
|
function getShortDateFormat(configStateService) {
|
|
1291
1164
|
const dateTimeFormat = configStateService.getDeep('localization.currentCulture.dateTimeFormat');
|
|
1292
1165
|
return dateTimeFormat.shortDatePattern;
|
|
@@ -1448,10 +1321,10 @@ class AbpTenantService {
|
|
|
1448
1321
|
url: `/api/abp/multi-tenancy/tenants/by-name/${name}`,
|
|
1449
1322
|
}, { apiName: this.apiName });
|
|
1450
1323
|
}
|
|
1451
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1452
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
1324
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbpTenantService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1325
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbpTenantService, providedIn: 'root' }); }
|
|
1453
1326
|
}
|
|
1454
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbpTenantService, decorators: [{
|
|
1455
1328
|
type: Injectable,
|
|
1456
1329
|
args: [{
|
|
1457
1330
|
providedIn: 'root',
|
|
@@ -1483,10 +1356,10 @@ class MultiTenancyService {
|
|
|
1483
1356
|
.findTenantById(tenantId)
|
|
1484
1357
|
.pipe(switchMap(this.setTenantToState));
|
|
1485
1358
|
}
|
|
1486
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1487
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
1359
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: MultiTenancyService, deps: [{ token: RestService }, { token: SessionStateService }, { token: AbpTenantService }, { token: ConfigStateService }, { token: TENANT_KEY }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1360
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: MultiTenancyService, providedIn: 'root' }); }
|
|
1488
1361
|
}
|
|
1489
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1362
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: MultiTenancyService, decorators: [{
|
|
1490
1363
|
type: Injectable,
|
|
1491
1364
|
args: [{ providedIn: 'root' }]
|
|
1492
1365
|
}], ctorParameters: () => [{ type: RestService }, { type: SessionStateService }, { type: AbpTenantService }, { type: ConfigStateService }, { type: undefined, decorators: [{
|
|
@@ -1760,6 +1633,75 @@ class DefaultQueueManager {
|
|
|
1760
1633
|
}
|
|
1761
1634
|
}
|
|
1762
1635
|
|
|
1636
|
+
/* eslint-disable @typescript-eslint/ban-types */
|
|
1637
|
+
class BaseTreeNode {
|
|
1638
|
+
constructor(props) {
|
|
1639
|
+
this.children = [];
|
|
1640
|
+
this.isLeaf = true;
|
|
1641
|
+
Object.assign(this, props);
|
|
1642
|
+
}
|
|
1643
|
+
static create(props) {
|
|
1644
|
+
return new BaseTreeNode(props);
|
|
1645
|
+
}
|
|
1646
|
+
}
|
|
1647
|
+
function createTreeFromList(list, keySelector, parentKeySelector, valueMapper) {
|
|
1648
|
+
const map = createMapFromList(list, keySelector, valueMapper);
|
|
1649
|
+
const tree = [];
|
|
1650
|
+
list.forEach(row => {
|
|
1651
|
+
const id = keySelector(row);
|
|
1652
|
+
const parentId = parentKeySelector(row);
|
|
1653
|
+
const node = map.get(id);
|
|
1654
|
+
if (!node)
|
|
1655
|
+
return;
|
|
1656
|
+
if (parentId) {
|
|
1657
|
+
const parent = map.get(parentId);
|
|
1658
|
+
if (!parent)
|
|
1659
|
+
return;
|
|
1660
|
+
parent.children.push(node);
|
|
1661
|
+
parent.isLeaf = false;
|
|
1662
|
+
node.parent = parent;
|
|
1663
|
+
}
|
|
1664
|
+
else {
|
|
1665
|
+
tree.push(node);
|
|
1666
|
+
}
|
|
1667
|
+
});
|
|
1668
|
+
return tree;
|
|
1669
|
+
}
|
|
1670
|
+
function createMapFromList(list, keySelector, valueMapper) {
|
|
1671
|
+
const map = new Map();
|
|
1672
|
+
list.forEach(row => map.set(keySelector(row), valueMapper(row)));
|
|
1673
|
+
return map;
|
|
1674
|
+
}
|
|
1675
|
+
function createTreeNodeFilterCreator(key, mapperFn) {
|
|
1676
|
+
return (search) => {
|
|
1677
|
+
const regex = new RegExp('.*' + search + '.*', 'i');
|
|
1678
|
+
return function collectNodes(nodes, matches = []) {
|
|
1679
|
+
for (const node of nodes) {
|
|
1680
|
+
if (regex.test(mapperFn(node[key])))
|
|
1681
|
+
matches.push(node);
|
|
1682
|
+
if (node.children.length)
|
|
1683
|
+
collectNodes(node.children, matches);
|
|
1684
|
+
}
|
|
1685
|
+
return matches;
|
|
1686
|
+
};
|
|
1687
|
+
};
|
|
1688
|
+
}
|
|
1689
|
+
function createGroupMap(list, othersGroupKey) {
|
|
1690
|
+
if (!isArray(list) || !list.some(node => Boolean(node.group)))
|
|
1691
|
+
return undefined;
|
|
1692
|
+
const mapGroup = new Map();
|
|
1693
|
+
for (const node of list) {
|
|
1694
|
+
const group = node?.group || othersGroupKey;
|
|
1695
|
+
if (typeof group !== 'string') {
|
|
1696
|
+
throw new Error(`Invalid group: ${group}`);
|
|
1697
|
+
}
|
|
1698
|
+
const items = mapGroup.get(group) || [];
|
|
1699
|
+
items.push(node);
|
|
1700
|
+
mapGroup.set(group, items);
|
|
1701
|
+
}
|
|
1702
|
+
return mapGroup;
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1763
1705
|
class DomInsertionService {
|
|
1764
1706
|
constructor() {
|
|
1765
1707
|
this.inserted = new Set();
|
|
@@ -1783,10 +1725,10 @@ class DomInsertionService {
|
|
|
1783
1725
|
const hash = generateHash(content);
|
|
1784
1726
|
return this.inserted.has(hash);
|
|
1785
1727
|
}
|
|
1786
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1787
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
1728
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: DomInsertionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1729
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: DomInsertionService, providedIn: 'root' }); }
|
|
1788
1730
|
}
|
|
1789
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1731
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: DomInsertionService, decorators: [{
|
|
1790
1732
|
type: Injectable,
|
|
1791
1733
|
args: [{ providedIn: 'root' }]
|
|
1792
1734
|
}] });
|
|
@@ -1849,10 +1791,10 @@ class HttpWaitService {
|
|
|
1849
1791
|
const { method, endpoint } = filteredRequest;
|
|
1850
1792
|
return endpoint === request.endpoint && method === request.method;
|
|
1851
1793
|
}
|
|
1852
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1853
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
1794
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: HttpWaitService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1795
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: HttpWaitService, providedIn: 'root' }); }
|
|
1854
1796
|
}
|
|
1855
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: HttpWaitService, decorators: [{
|
|
1856
1798
|
type: Injectable,
|
|
1857
1799
|
args: [{
|
|
1858
1800
|
providedIn: 'root',
|
|
@@ -1885,10 +1827,10 @@ class ResourceWaitService {
|
|
|
1885
1827
|
resources.delete(resource);
|
|
1886
1828
|
this.store.patch({ resources });
|
|
1887
1829
|
}
|
|
1888
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1889
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
1830
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ResourceWaitService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1831
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ResourceWaitService, providedIn: 'root' }); }
|
|
1890
1832
|
}
|
|
1891
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1833
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ResourceWaitService, decorators: [{
|
|
1892
1834
|
type: Injectable,
|
|
1893
1835
|
args: [{
|
|
1894
1836
|
providedIn: 'root',
|
|
@@ -1919,10 +1861,10 @@ class LazyLoadService {
|
|
|
1919
1861
|
this.loaded.delete(path);
|
|
1920
1862
|
return true;
|
|
1921
1863
|
}
|
|
1922
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
1923
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
1864
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: LazyLoadService, deps: [{ token: ResourceWaitService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1865
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: LazyLoadService, providedIn: 'root' }); }
|
|
1924
1866
|
}
|
|
1925
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: LazyLoadService, decorators: [{
|
|
1926
1868
|
type: Injectable,
|
|
1927
1869
|
args: [{
|
|
1928
1870
|
providedIn: 'root',
|
|
@@ -2032,13 +1974,71 @@ class ListService {
|
|
|
2032
1974
|
sorting: this._sortOrder ? `${this._sortKey} ${this._sortOrder}` : undefined,
|
|
2033
1975
|
});
|
|
2034
1976
|
}
|
|
2035
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
2036
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
1977
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ListService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1978
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ListService }); }
|
|
2037
1979
|
}
|
|
2038
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
1980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ListService, decorators: [{
|
|
2039
1981
|
type: Injectable
|
|
2040
1982
|
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
2041
1983
|
|
|
1984
|
+
class PermissionService {
|
|
1985
|
+
constructor(configState) {
|
|
1986
|
+
this.configState = configState;
|
|
1987
|
+
}
|
|
1988
|
+
getGrantedPolicy$(key) {
|
|
1989
|
+
return this.getStream().pipe(map(grantedPolicies => this.isPolicyGranted(key, grantedPolicies)));
|
|
1990
|
+
}
|
|
1991
|
+
getGrantedPolicy(key) {
|
|
1992
|
+
const policies = this.getSnapshot();
|
|
1993
|
+
return this.isPolicyGranted(key, policies);
|
|
1994
|
+
}
|
|
1995
|
+
filterItemsByPolicy(items) {
|
|
1996
|
+
const policies = this.getSnapshot();
|
|
1997
|
+
return items.filter(item => !item.requiredPolicy || this.isPolicyGranted(item.requiredPolicy, policies));
|
|
1998
|
+
}
|
|
1999
|
+
filterItemsByPolicy$(items) {
|
|
2000
|
+
return this.getStream().pipe(map(policies => items.filter(item => !item.requiredPolicy || this.isPolicyGranted(item.requiredPolicy, policies))));
|
|
2001
|
+
}
|
|
2002
|
+
isPolicyGranted(key, grantedPolicies) {
|
|
2003
|
+
if (!key)
|
|
2004
|
+
return true;
|
|
2005
|
+
const orRegexp = /\|\|/g;
|
|
2006
|
+
const andRegexp = /&&/g;
|
|
2007
|
+
// TODO: Allow combination of ANDs & ORs
|
|
2008
|
+
if (orRegexp.test(key)) {
|
|
2009
|
+
const keys = key.split('||').filter(Boolean);
|
|
2010
|
+
if (keys.length < 2)
|
|
2011
|
+
return false;
|
|
2012
|
+
return keys.some(k => this.getPolicy(k.trim(), grantedPolicies));
|
|
2013
|
+
}
|
|
2014
|
+
else if (andRegexp.test(key)) {
|
|
2015
|
+
const keys = key.split('&&').filter(Boolean);
|
|
2016
|
+
if (keys.length < 2)
|
|
2017
|
+
return false;
|
|
2018
|
+
return keys.every(k => this.getPolicy(k.trim(), grantedPolicies));
|
|
2019
|
+
}
|
|
2020
|
+
return this.getPolicy(key, grantedPolicies);
|
|
2021
|
+
}
|
|
2022
|
+
getStream() {
|
|
2023
|
+
return this.configState.getAll$().pipe(map(this.mapToPolicies));
|
|
2024
|
+
}
|
|
2025
|
+
getSnapshot() {
|
|
2026
|
+
return this.mapToPolicies(this.configState.getAll());
|
|
2027
|
+
}
|
|
2028
|
+
mapToPolicies(applicationConfiguration) {
|
|
2029
|
+
return applicationConfiguration?.auth?.grantedPolicies || {};
|
|
2030
|
+
}
|
|
2031
|
+
getPolicy(key, grantedPolicies) {
|
|
2032
|
+
return grantedPolicies[key] || false;
|
|
2033
|
+
}
|
|
2034
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: PermissionService, deps: [{ token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2035
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: PermissionService, providedIn: 'root' }); }
|
|
2036
|
+
}
|
|
2037
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: PermissionService, decorators: [{
|
|
2038
|
+
type: Injectable,
|
|
2039
|
+
args: [{ providedIn: 'root' }]
|
|
2040
|
+
}], ctorParameters: () => [{ type: ConfigStateService }] });
|
|
2041
|
+
|
|
2042
2042
|
class RouterWaitService {
|
|
2043
2043
|
constructor(routerEvents, injector) {
|
|
2044
2044
|
this.routerEvents = routerEvents;
|
|
@@ -2071,10 +2071,10 @@ class RouterWaitService {
|
|
|
2071
2071
|
setLoading(loading) {
|
|
2072
2072
|
this.store.patch({ loading });
|
|
2073
2073
|
}
|
|
2074
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
2075
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
2074
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterWaitService, deps: [{ token: RouterEvents }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2075
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterWaitService, providedIn: 'root' }); }
|
|
2076
2076
|
}
|
|
2077
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
2077
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterWaitService, decorators: [{
|
|
2078
2078
|
type: Injectable,
|
|
2079
2079
|
args: [{
|
|
2080
2080
|
providedIn: 'root',
|
|
@@ -2114,10 +2114,10 @@ class SubscriptionService {
|
|
|
2114
2114
|
this.subscription.unsubscribe();
|
|
2115
2115
|
this.subscription = new Subscription();
|
|
2116
2116
|
}
|
|
2117
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
2118
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
2117
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: SubscriptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2118
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: SubscriptionService }); }
|
|
2119
2119
|
}
|
|
2120
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
2120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: SubscriptionService, decorators: [{
|
|
2121
2121
|
type: Injectable
|
|
2122
2122
|
}] });
|
|
2123
2123
|
|
|
@@ -2130,10 +2130,10 @@ class TrackByService {
|
|
|
2130
2130
|
this.by = trackBy;
|
|
2131
2131
|
this.byDeep = trackByDeep;
|
|
2132
2132
|
}
|
|
2133
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
2134
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
2133
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: TrackByService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2134
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: TrackByService, providedIn: 'root' }); }
|
|
2135
2135
|
}
|
|
2136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
2136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: TrackByService, decorators: [{
|
|
2137
2137
|
type: Injectable,
|
|
2138
2138
|
args: [{
|
|
2139
2139
|
providedIn: 'root',
|
|
@@ -2170,10 +2170,10 @@ class AbpWindowService {
|
|
|
2170
2170
|
this.window.URL.revokeObjectURL(blobUrl);
|
|
2171
2171
|
this.document.body.removeChild(a);
|
|
2172
2172
|
}
|
|
2173
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
2174
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
2173
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbpWindowService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2174
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbpWindowService, providedIn: 'root' }); }
|
|
2175
2175
|
}
|
|
2176
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
2176
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbpWindowService, decorators: [{
|
|
2177
2177
|
type: Injectable,
|
|
2178
2178
|
args: [{ providedIn: 'root' }]
|
|
2179
2179
|
}] });
|
|
@@ -2196,10 +2196,10 @@ class InternetConnectionService {
|
|
|
2196
2196
|
get networkStatus$() {
|
|
2197
2197
|
return this.status$.asObservable();
|
|
2198
2198
|
}
|
|
2199
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
2200
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
2199
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: InternetConnectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2200
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: InternetConnectionService, providedIn: 'root' }); }
|
|
2201
2201
|
}
|
|
2202
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
2202
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: InternetConnectionService, decorators: [{
|
|
2203
2203
|
type: Injectable,
|
|
2204
2204
|
args: [{
|
|
2205
2205
|
providedIn: 'root',
|
|
@@ -2359,10 +2359,10 @@ class AbstractNavTreeService extends AbstractTreeService {
|
|
|
2359
2359
|
ngOnDestroy() {
|
|
2360
2360
|
this.subscription.unsubscribe();
|
|
2361
2361
|
}
|
|
2362
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
2363
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
2362
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbstractNavTreeService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2363
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbstractNavTreeService }); }
|
|
2364
2364
|
}
|
|
2365
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
2365
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbstractNavTreeService, decorators: [{
|
|
2366
2366
|
type: Injectable
|
|
2367
2367
|
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
2368
2368
|
class RoutesService extends AbstractNavTreeService {
|
|
@@ -2375,35 +2375,32 @@ class RoutesService extends AbstractNavTreeService {
|
|
|
2375
2375
|
get groupedVisible$() {
|
|
2376
2376
|
return this.visible$.pipe(map$1(items => items.filter(item => this.hasPathOrChild(item))), map$1(visible => this.createGroupedTree(visible)));
|
|
2377
2377
|
}
|
|
2378
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
2379
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
2378
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RoutesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2379
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RoutesService, providedIn: 'root' }); }
|
|
2380
2380
|
}
|
|
2381
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
2381
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RoutesService, decorators: [{
|
|
2382
2382
|
type: Injectable,
|
|
2383
2383
|
args: [{ providedIn: 'root' }]
|
|
2384
2384
|
}] });
|
|
2385
2385
|
|
|
2386
|
+
const DYNAMIC_LAYOUTS_TOKEN = new InjectionToken('DYNAMIC_LAYOUTS');
|
|
2387
|
+
|
|
2386
2388
|
class DynamicLayoutComponent {
|
|
2387
|
-
constructor(
|
|
2388
|
-
this.
|
|
2389
|
-
this.replaceableComponents = replaceableComponents;
|
|
2390
|
-
this.subscription = subscription;
|
|
2391
|
-
this.routerEvents = routerEvents;
|
|
2392
|
-
// TODO: Consider a shared enum (eThemeSharedComponents) for known layouts
|
|
2393
|
-
this.layouts = new Map([
|
|
2394
|
-
['application', 'Theme.ApplicationLayoutComponent'],
|
|
2395
|
-
['account', 'Theme.AccountLayoutComponent'],
|
|
2396
|
-
['empty', 'Theme.EmptyLayoutComponent'],
|
|
2397
|
-
]);
|
|
2389
|
+
constructor(dynamicLayoutComponent) {
|
|
2390
|
+
this.layouts = inject(DYNAMIC_LAYOUTS_TOKEN);
|
|
2398
2391
|
this.isLayoutVisible = true;
|
|
2392
|
+
this.router = inject(Router);
|
|
2393
|
+
this.route = inject(ActivatedRoute);
|
|
2394
|
+
this.routes = inject(RoutesService);
|
|
2395
|
+
this.localizationService = inject(LocalizationService);
|
|
2396
|
+
this.replaceableComponents = inject(ReplaceableComponentsService);
|
|
2397
|
+
this.subscription = inject(SubscriptionService);
|
|
2398
|
+
this.routerEvents = inject(RouterEvents);
|
|
2399
2399
|
if (dynamicLayoutComponent) {
|
|
2400
2400
|
if (isDevMode())
|
|
2401
2401
|
console.warn('DynamicLayoutComponent must be used only in AppComponent.');
|
|
2402
2402
|
return;
|
|
2403
2403
|
}
|
|
2404
|
-
this.route = injector.get(ActivatedRoute);
|
|
2405
|
-
this.router = injector.get(Router);
|
|
2406
|
-
this.routes = injector.get(RoutesService);
|
|
2407
2404
|
this.checkLayoutOnNavigationEnd();
|
|
2408
2405
|
this.listenToLanguageChange();
|
|
2409
2406
|
}
|
|
@@ -2418,18 +2415,7 @@ class DynamicLayoutComponent {
|
|
|
2418
2415
|
this.subscription.addOne(navigationEnd$, () => this.getLayout());
|
|
2419
2416
|
}
|
|
2420
2417
|
getLayout() {
|
|
2421
|
-
let expectedLayout =
|
|
2422
|
-
if (!expectedLayout) {
|
|
2423
|
-
let node = findRoute(this.routes, getRoutePath(this.router));
|
|
2424
|
-
node = { parent: node };
|
|
2425
|
-
while (node.parent) {
|
|
2426
|
-
node = node.parent;
|
|
2427
|
-
if (node.layout) {
|
|
2428
|
-
expectedLayout = node.layout;
|
|
2429
|
-
break;
|
|
2430
|
-
}
|
|
2431
|
-
}
|
|
2432
|
-
}
|
|
2418
|
+
let expectedLayout = this.getExtractedLayout();
|
|
2433
2419
|
if (!expectedLayout)
|
|
2434
2420
|
expectedLayout = "empty" /* eLayoutType.empty */;
|
|
2435
2421
|
if (this.layoutKey === expectedLayout)
|
|
@@ -2443,6 +2429,23 @@ class DynamicLayoutComponent {
|
|
|
2443
2429
|
this.showLayoutNotFoundError(expectedLayout);
|
|
2444
2430
|
}
|
|
2445
2431
|
}
|
|
2432
|
+
getExtractedLayout() {
|
|
2433
|
+
const routeData = (this.route.snapshot.data || {});
|
|
2434
|
+
let expectedLayout = routeData['layout'];
|
|
2435
|
+
if (expectedLayout) {
|
|
2436
|
+
return expectedLayout;
|
|
2437
|
+
}
|
|
2438
|
+
let node = findRoute(this.routes, getRoutePath(this.router));
|
|
2439
|
+
node = { parent: node };
|
|
2440
|
+
while (node.parent) {
|
|
2441
|
+
node = node.parent;
|
|
2442
|
+
if (node.layout) {
|
|
2443
|
+
expectedLayout = node.layout;
|
|
2444
|
+
break;
|
|
2445
|
+
}
|
|
2446
|
+
}
|
|
2447
|
+
return expectedLayout;
|
|
2448
|
+
}
|
|
2446
2449
|
showLayoutNotFoundError(layoutName) {
|
|
2447
2450
|
let message = `Layout ${layoutName} not found.`;
|
|
2448
2451
|
if (layoutName === 'account') {
|
|
@@ -2459,17 +2462,19 @@ class DynamicLayoutComponent {
|
|
|
2459
2462
|
getComponent(key) {
|
|
2460
2463
|
return this.replaceableComponents.get(key);
|
|
2461
2464
|
}
|
|
2462
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
2463
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
2465
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: DynamicLayoutComponent, deps: [{ token: DynamicLayoutComponent, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2466
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.7", type: DynamicLayoutComponent, selector: "abp-dynamic-layout", providers: [SubscriptionService], ngImport: i0, template: `
|
|
2467
|
+
<ng-container *ngIf="isLayoutVisible" [ngComponentOutlet]="layout"></ng-container> `, isInline: true, dependencies: [{ kind: "directive", type: i1$2.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i1$2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
2464
2468
|
}
|
|
2465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
2469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: DynamicLayoutComponent, decorators: [{
|
|
2466
2470
|
type: Component,
|
|
2467
2471
|
args: [{
|
|
2468
2472
|
selector: 'abp-dynamic-layout',
|
|
2469
|
-
template: `
|
|
2473
|
+
template: `
|
|
2474
|
+
<ng-container *ngIf="isLayoutVisible" [ngComponentOutlet]="layout"></ng-container> `,
|
|
2470
2475
|
providers: [SubscriptionService],
|
|
2471
2476
|
}]
|
|
2472
|
-
}], ctorParameters: () => [{ type:
|
|
2477
|
+
}], ctorParameters: () => [{ type: DynamicLayoutComponent, decorators: [{
|
|
2473
2478
|
type: Optional
|
|
2474
2479
|
}, {
|
|
2475
2480
|
type: SkipSelf
|
|
@@ -2491,12 +2496,12 @@ class ReplaceableRouteContainerComponent {
|
|
|
2491
2496
|
this.externalComponent = res.component;
|
|
2492
2497
|
});
|
|
2493
2498
|
}
|
|
2494
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
2495
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
2499
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ReplaceableRouteContainerComponent, deps: [{ token: i1$1.ActivatedRoute }, { token: ReplaceableComponentsService }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2500
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.7", type: ReplaceableRouteContainerComponent, selector: "abp-replaceable-route-container", providers: [SubscriptionService], ngImport: i0, template: `
|
|
2496
2501
|
<ng-container *ngComponentOutlet="externalComponent || defaultComponent"></ng-container>
|
|
2497
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
2502
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1$2.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }] }); }
|
|
2498
2503
|
}
|
|
2499
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
2504
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ReplaceableRouteContainerComponent, decorators: [{
|
|
2500
2505
|
type: Component,
|
|
2501
2506
|
args: [{
|
|
2502
2507
|
selector: 'abp-replaceable-route-container',
|
|
@@ -2508,10 +2513,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
|
|
|
2508
2513
|
}], ctorParameters: () => [{ type: i1$1.ActivatedRoute }, { type: ReplaceableComponentsService }, { type: SubscriptionService }] });
|
|
2509
2514
|
|
|
2510
2515
|
class RouterOutletComponent {
|
|
2511
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
2512
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.
|
|
2516
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2517
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.7", type: RouterOutletComponent, selector: "abp-router-outlet", ngImport: i0, template: ` <router-outlet></router-outlet> `, isInline: true, dependencies: [{ kind: "directive", type: i1$1.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] }); }
|
|
2513
2518
|
}
|
|
2514
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
2519
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RouterOutletComponent, decorators: [{
|
|
2515
2520
|
type: Component,
|
|
2516
2521
|
args: [{
|
|
2517
2522
|
selector: 'abp-router-outlet',
|
|
@@ -2856,6 +2861,12 @@ const differentLocales = {
|
|
|
2856
2861
|
'zu-ZA': 'zu',
|
|
2857
2862
|
};
|
|
2858
2863
|
|
|
2864
|
+
const DEFAULT_DYNAMIC_LAYOUTS = new Map([
|
|
2865
|
+
["application" /* eLayoutType.application */, "Theme.ApplicationLayoutComponent" /* eThemeSharedComponents.ApplicationLayoutComponent */],
|
|
2866
|
+
["account" /* eLayoutType.account */, "Theme.AccountLayoutComponent" /* eThemeSharedComponents.AccountLayoutComponent */],
|
|
2867
|
+
["empty" /* eLayoutType.empty */, "Theme.EmptyLayoutComponent" /* eThemeSharedComponents.EmptyLayoutComponent */],
|
|
2868
|
+
]);
|
|
2869
|
+
|
|
2859
2870
|
class AutofocusDirective {
|
|
2860
2871
|
set delay(val) {
|
|
2861
2872
|
this._delay = Number(val) || 0;
|
|
@@ -2870,13 +2881,13 @@ class AutofocusDirective {
|
|
|
2870
2881
|
ngAfterViewInit() {
|
|
2871
2882
|
setTimeout(() => this.elRef.nativeElement.focus(), this.delay);
|
|
2872
2883
|
}
|
|
2873
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
2874
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
2884
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AutofocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2885
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", type: AutofocusDirective, isStandalone: true, selector: "[autofocus]", inputs: { delay: ["autofocus", "delay"] }, ngImport: i0 }); }
|
|
2875
2886
|
}
|
|
2876
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
2887
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AutofocusDirective, decorators: [{
|
|
2877
2888
|
type: Directive,
|
|
2878
2889
|
args: [{
|
|
2879
|
-
|
|
2890
|
+
standalone: true,
|
|
2880
2891
|
selector: '[autofocus]',
|
|
2881
2892
|
}]
|
|
2882
2893
|
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { delay: [{
|
|
@@ -2897,13 +2908,13 @@ class InputEventDebounceDirective {
|
|
|
2897
2908
|
this.debounceEvent.emit(event);
|
|
2898
2909
|
});
|
|
2899
2910
|
}
|
|
2900
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
2901
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
2911
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: InputEventDebounceDirective, deps: [{ token: i0.ElementRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2912
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", type: InputEventDebounceDirective, isStandalone: true, selector: "[input.debounce]", inputs: { debounce: "debounce" }, outputs: { debounceEvent: "input.debounce" }, providers: [SubscriptionService], ngImport: i0 }); }
|
|
2902
2913
|
}
|
|
2903
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
2914
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: InputEventDebounceDirective, decorators: [{
|
|
2904
2915
|
type: Directive,
|
|
2905
2916
|
args: [{
|
|
2906
|
-
|
|
2917
|
+
standalone: true,
|
|
2907
2918
|
selector: '[input.debounce]',
|
|
2908
2919
|
providers: [SubscriptionService],
|
|
2909
2920
|
}]
|
|
@@ -3035,12 +3046,13 @@ class ForDirective {
|
|
|
3035
3046
|
this.projectItems(items);
|
|
3036
3047
|
}
|
|
3037
3048
|
}
|
|
3038
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3039
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
3049
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ForDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3050
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", 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 }); }
|
|
3040
3051
|
}
|
|
3041
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3052
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ForDirective, decorators: [{
|
|
3042
3053
|
type: Directive,
|
|
3043
3054
|
args: [{
|
|
3055
|
+
standalone: true,
|
|
3044
3056
|
selector: '[abpFor]',
|
|
3045
3057
|
}]
|
|
3046
3058
|
}], ctorParameters: () => [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: i0.IterableDiffers }], propDecorators: { items: [{
|
|
@@ -3104,17 +3116,17 @@ class FormSubmitDirective {
|
|
|
3104
3116
|
form.markAsDirty();
|
|
3105
3117
|
this.cdRef.detectChanges();
|
|
3106
3118
|
}
|
|
3107
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3108
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
3119
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: FormSubmitDirective, deps: [{ token: i1$3.FormGroupDirective, self: true }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3120
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", type: FormSubmitDirective, isStandalone: true, selector: "form[ngSubmit][formGroup]", inputs: { debounce: "debounce", notValidateOnSubmit: "notValidateOnSubmit", markAsDirtyWhenSubmit: "markAsDirtyWhenSubmit" }, outputs: { ngSubmit: "ngSubmit" }, providers: [SubscriptionService], ngImport: i0 }); }
|
|
3109
3121
|
}
|
|
3110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: FormSubmitDirective, decorators: [{
|
|
3111
3123
|
type: Directive,
|
|
3112
3124
|
args: [{
|
|
3113
|
-
|
|
3125
|
+
standalone: true,
|
|
3114
3126
|
selector: 'form[ngSubmit][formGroup]',
|
|
3115
3127
|
providers: [SubscriptionService],
|
|
3116
3128
|
}]
|
|
3117
|
-
}], ctorParameters: () => [{ type: i1$
|
|
3129
|
+
}], ctorParameters: () => [{ type: i1$3.FormGroupDirective, decorators: [{
|
|
3118
3130
|
type: Self
|
|
3119
3131
|
}] }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: SubscriptionService }], propDecorators: { debounce: [{
|
|
3120
3132
|
type: Input
|
|
@@ -3146,12 +3158,15 @@ class InitDirective {
|
|
|
3146
3158
|
ngAfterViewInit() {
|
|
3147
3159
|
this.init.emit(this.elRef);
|
|
3148
3160
|
}
|
|
3149
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3150
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
3161
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: InitDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3162
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", type: InitDirective, isStandalone: true, selector: "[abpInit]", outputs: { init: "abpInit" }, ngImport: i0 }); }
|
|
3151
3163
|
}
|
|
3152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3164
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: InitDirective, decorators: [{
|
|
3153
3165
|
type: Directive,
|
|
3154
|
-
args: [{
|
|
3166
|
+
args: [{
|
|
3167
|
+
standalone: true,
|
|
3168
|
+
selector: '[abpInit]',
|
|
3169
|
+
}]
|
|
3155
3170
|
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { init: [{
|
|
3156
3171
|
type: Output,
|
|
3157
3172
|
args: ['abpInit']
|
|
@@ -3203,12 +3218,13 @@ class PermissionDirective {
|
|
|
3203
3218
|
this.cdrSubject.pipe(take(1)).subscribe(() => this.queue.add(() => this.cdRef.detectChanges()));
|
|
3204
3219
|
this.rendered = true;
|
|
3205
3220
|
}
|
|
3206
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3207
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
3221
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: PermissionDirective, deps: [{ token: i0.TemplateRef, optional: true }, { token: i0.ViewContainerRef }, { token: PermissionService }, { token: i0.ChangeDetectorRef }, { token: QUEUE_MANAGER }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3222
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", type: PermissionDirective, isStandalone: true, selector: "[abpPermission]", inputs: { condition: ["abpPermission", "condition"], runChangeDetection: ["abpPermissionRunChangeDetection", "runChangeDetection"] }, usesOnChanges: true, ngImport: i0 }); }
|
|
3208
3223
|
}
|
|
3209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: PermissionDirective, decorators: [{
|
|
3210
3225
|
type: Directive,
|
|
3211
3226
|
args: [{
|
|
3227
|
+
standalone: true,
|
|
3212
3228
|
selector: '[abpPermission]',
|
|
3213
3229
|
}]
|
|
3214
3230
|
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
@@ -3334,12 +3350,13 @@ class ReplaceableTemplateDirective {
|
|
|
3334
3350
|
this.defaultComponentSubscriptions = {};
|
|
3335
3351
|
this.defaultComponentRef = null;
|
|
3336
3352
|
}
|
|
3337
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3338
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
3353
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ReplaceableTemplateDirective, deps: [{ token: i0.Injector }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: ReplaceableComponentsService }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3354
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", type: ReplaceableTemplateDirective, isStandalone: true, selector: "[abpReplaceableTemplate]", inputs: { data: ["abpReplaceableTemplate", "data"] }, providers: [SubscriptionService], usesOnChanges: true, ngImport: i0 }); }
|
|
3339
3355
|
}
|
|
3340
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3356
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ReplaceableTemplateDirective, decorators: [{
|
|
3341
3357
|
type: Directive,
|
|
3342
3358
|
args: [{
|
|
3359
|
+
standalone: true,
|
|
3343
3360
|
selector: '[abpReplaceableTemplate]',
|
|
3344
3361
|
providers: [SubscriptionService],
|
|
3345
3362
|
}]
|
|
@@ -3360,13 +3377,13 @@ class StopPropagationDirective {
|
|
|
3360
3377
|
this.stopPropEvent.emit(event);
|
|
3361
3378
|
});
|
|
3362
3379
|
}
|
|
3363
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3364
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
3380
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: StopPropagationDirective, deps: [{ token: i0.ElementRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3381
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", type: StopPropagationDirective, isStandalone: true, selector: "[click.stop]", outputs: { stopPropEvent: "click.stop" }, providers: [SubscriptionService], ngImport: i0 }); }
|
|
3365
3382
|
}
|
|
3366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3383
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: StopPropagationDirective, decorators: [{
|
|
3367
3384
|
type: Directive,
|
|
3368
3385
|
args: [{
|
|
3369
|
-
|
|
3386
|
+
standalone: true,
|
|
3370
3387
|
selector: '[click.stop]',
|
|
3371
3388
|
providers: [SubscriptionService],
|
|
3372
3389
|
}]
|
|
@@ -3395,10 +3412,10 @@ class RoutesHandler {
|
|
|
3395
3412
|
}
|
|
3396
3413
|
});
|
|
3397
3414
|
}
|
|
3398
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3399
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
3415
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RoutesHandler, deps: [{ token: RoutesService }, { token: i1$1.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3416
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RoutesHandler, providedIn: 'root' }); }
|
|
3400
3417
|
}
|
|
3401
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3418
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RoutesHandler, decorators: [{
|
|
3402
3419
|
type: Injectable,
|
|
3403
3420
|
args: [{
|
|
3404
3421
|
providedIn: 'root',
|
|
@@ -3436,11 +3453,11 @@ class LocalizationPipe {
|
|
|
3436
3453
|
}, []) || [];
|
|
3437
3454
|
return this.localization.instant(value, ...params);
|
|
3438
3455
|
}
|
|
3439
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3440
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.
|
|
3441
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
3456
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: LocalizationPipe, deps: [{ token: LocalizationService }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3457
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.7", ngImport: i0, type: LocalizationPipe, name: "abpLocalization" }); }
|
|
3458
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: LocalizationPipe }); }
|
|
3442
3459
|
}
|
|
3443
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3460
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: LocalizationPipe, decorators: [{
|
|
3444
3461
|
type: Injectable
|
|
3445
3462
|
}, {
|
|
3446
3463
|
type: Pipe,
|
|
@@ -3450,11 +3467,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
|
|
|
3450
3467
|
}], ctorParameters: () => [{ type: LocalizationService }] });
|
|
3451
3468
|
|
|
3452
3469
|
class LocalizationModule {
|
|
3453
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3454
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
3455
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
3470
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: LocalizationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3471
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.7", ngImport: i0, type: LocalizationModule, declarations: [LocalizationPipe], exports: [LocalizationPipe] }); }
|
|
3472
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: LocalizationModule }); }
|
|
3456
3473
|
}
|
|
3457
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3474
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: LocalizationModule, decorators: [{
|
|
3458
3475
|
type: NgModule,
|
|
3459
3476
|
args: [{
|
|
3460
3477
|
exports: [LocalizationPipe],
|
|
@@ -3496,11 +3513,11 @@ class SortPipe {
|
|
|
3496
3513
|
];
|
|
3497
3514
|
return sortOrder === 'asc' ? sorted : sorted.reverse();
|
|
3498
3515
|
}
|
|
3499
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3500
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.
|
|
3501
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
3516
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: SortPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3517
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.7", ngImport: i0, type: SortPipe, name: "abpSort" }); }
|
|
3518
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: SortPipe }); }
|
|
3502
3519
|
}
|
|
3503
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: SortPipe, decorators: [{
|
|
3504
3521
|
type: Injectable
|
|
3505
3522
|
}, {
|
|
3506
3523
|
type: Pipe,
|
|
@@ -3526,10 +3543,10 @@ class ToInjectorPipe {
|
|
|
3526
3543
|
name,
|
|
3527
3544
|
});
|
|
3528
3545
|
}
|
|
3529
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3530
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.
|
|
3546
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ToInjectorPipe, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3547
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.7", ngImport: i0, type: ToInjectorPipe, name: "toInjector" }); }
|
|
3531
3548
|
}
|
|
3532
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ToInjectorPipe, decorators: [{
|
|
3533
3550
|
type: Pipe,
|
|
3534
3551
|
args: [{
|
|
3535
3552
|
name: 'toInjector',
|
|
@@ -3590,10 +3607,10 @@ class ShortDateTimePipe extends DatePipe {
|
|
|
3590
3607
|
const format = getShortDateShortTimeFormat(this.configStateService);
|
|
3591
3608
|
return super.transform(value, format, timezone, locale);
|
|
3592
3609
|
}
|
|
3593
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3594
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.
|
|
3610
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ShortDateTimePipe, deps: [{ token: ConfigStateService }, { token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3611
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.7", ngImport: i0, type: ShortDateTimePipe, name: "shortDateTime" }); }
|
|
3595
3612
|
}
|
|
3596
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3613
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ShortDateTimePipe, decorators: [{
|
|
3597
3614
|
type: Pipe,
|
|
3598
3615
|
args: [{
|
|
3599
3616
|
name: 'shortDateTime',
|
|
@@ -3618,10 +3635,10 @@ class ShortTimePipe extends DatePipe {
|
|
|
3618
3635
|
const format = getShortTimeFormat(this.configStateService);
|
|
3619
3636
|
return super.transform(value, format, timezone, locale);
|
|
3620
3637
|
}
|
|
3621
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3622
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.
|
|
3638
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ShortTimePipe, deps: [{ token: ConfigStateService }, { token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3639
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.7", ngImport: i0, type: ShortTimePipe, name: "shortTime" }); }
|
|
3623
3640
|
}
|
|
3624
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3641
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ShortTimePipe, decorators: [{
|
|
3625
3642
|
type: Pipe,
|
|
3626
3643
|
args: [{
|
|
3627
3644
|
name: 'shortTime',
|
|
@@ -3646,10 +3663,10 @@ class ShortDatePipe extends DatePipe {
|
|
|
3646
3663
|
const format = getShortDateFormat(this.configStateService);
|
|
3647
3664
|
return super.transform(value, format, timezone, locale);
|
|
3648
3665
|
}
|
|
3649
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3650
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.
|
|
3666
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ShortDatePipe, deps: [{ token: ConfigStateService }, { token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3667
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.7", ngImport: i0, type: ShortDatePipe, name: "shortDate" }); }
|
|
3651
3668
|
}
|
|
3652
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ShortDatePipe, decorators: [{
|
|
3653
3670
|
type: Pipe,
|
|
3654
3671
|
args: [{
|
|
3655
3672
|
name: 'shortDate',
|
|
@@ -3674,11 +3691,11 @@ class SafeHtmlPipe {
|
|
|
3674
3691
|
return '';
|
|
3675
3692
|
return this.sanitizer.sanitize(SecurityContext.HTML, value);
|
|
3676
3693
|
}
|
|
3677
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3678
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.
|
|
3679
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
3694
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: SafeHtmlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
3695
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.7", ngImport: i0, type: SafeHtmlPipe, name: "abpSafeHtml" }); }
|
|
3696
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: SafeHtmlPipe }); }
|
|
3680
3697
|
}
|
|
3681
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3698
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: SafeHtmlPipe, decorators: [{
|
|
3682
3699
|
type: Injectable
|
|
3683
3700
|
}, {
|
|
3684
3701
|
type: Pipe,
|
|
@@ -3690,6 +3707,16 @@ const IncludeLocalizationResourcesProvider = {
|
|
|
3690
3707
|
useValue: false,
|
|
3691
3708
|
};
|
|
3692
3709
|
|
|
3710
|
+
const standaloneDirectives = [
|
|
3711
|
+
AutofocusDirective,
|
|
3712
|
+
InputEventDebounceDirective,
|
|
3713
|
+
ForDirective,
|
|
3714
|
+
FormSubmitDirective,
|
|
3715
|
+
InitDirective,
|
|
3716
|
+
PermissionDirective,
|
|
3717
|
+
ReplaceableTemplateDirective,
|
|
3718
|
+
StopPropagationDirective,
|
|
3719
|
+
];
|
|
3693
3720
|
/**
|
|
3694
3721
|
* BaseCoreModule is the module that holds
|
|
3695
3722
|
* all imports, declarations, exports, and entryComponents
|
|
@@ -3697,21 +3724,13 @@ const IncludeLocalizationResourcesProvider = {
|
|
|
3697
3724
|
* This module will be imported and exported by all others.
|
|
3698
3725
|
*/
|
|
3699
3726
|
class BaseCoreModule {
|
|
3700
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3701
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
3702
|
-
AutofocusDirective,
|
|
3727
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: BaseCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3728
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.7", ngImport: i0, type: BaseCoreModule, declarations: [AbstractNgModelComponent,
|
|
3703
3729
|
DynamicLayoutComponent,
|
|
3704
|
-
ForDirective,
|
|
3705
|
-
FormSubmitDirective,
|
|
3706
|
-
InitDirective,
|
|
3707
|
-
InputEventDebounceDirective,
|
|
3708
|
-
PermissionDirective,
|
|
3709
3730
|
ReplaceableRouteContainerComponent,
|
|
3710
|
-
ReplaceableTemplateDirective,
|
|
3711
3731
|
RouterOutletComponent,
|
|
3712
3732
|
SortPipe,
|
|
3713
3733
|
SafeHtmlPipe,
|
|
3714
|
-
StopPropagationDirective,
|
|
3715
3734
|
ToInjectorPipe,
|
|
3716
3735
|
ShortDateTimePipe,
|
|
3717
3736
|
ShortTimePipe,
|
|
@@ -3720,31 +3739,37 @@ class BaseCoreModule {
|
|
|
3720
3739
|
FormsModule,
|
|
3721
3740
|
ReactiveFormsModule,
|
|
3722
3741
|
RouterModule,
|
|
3723
|
-
LocalizationModule
|
|
3742
|
+
LocalizationModule, AutofocusDirective,
|
|
3743
|
+
InputEventDebounceDirective,
|
|
3744
|
+
ForDirective,
|
|
3745
|
+
FormSubmitDirective,
|
|
3746
|
+
InitDirective,
|
|
3747
|
+
PermissionDirective,
|
|
3748
|
+
ReplaceableTemplateDirective,
|
|
3749
|
+
StopPropagationDirective], exports: [CommonModule,
|
|
3724
3750
|
HttpClientModule,
|
|
3725
3751
|
FormsModule,
|
|
3726
3752
|
ReactiveFormsModule,
|
|
3727
3753
|
RouterModule,
|
|
3728
3754
|
LocalizationModule,
|
|
3729
3755
|
AbstractNgModelComponent,
|
|
3730
|
-
AutofocusDirective,
|
|
3731
3756
|
DynamicLayoutComponent,
|
|
3732
|
-
ForDirective,
|
|
3733
|
-
FormSubmitDirective,
|
|
3734
|
-
InitDirective,
|
|
3735
|
-
InputEventDebounceDirective,
|
|
3736
|
-
PermissionDirective,
|
|
3737
3757
|
ReplaceableRouteContainerComponent,
|
|
3738
|
-
ReplaceableTemplateDirective,
|
|
3739
3758
|
RouterOutletComponent,
|
|
3740
3759
|
SortPipe,
|
|
3741
3760
|
SafeHtmlPipe,
|
|
3742
|
-
StopPropagationDirective,
|
|
3743
3761
|
ToInjectorPipe,
|
|
3744
3762
|
ShortDateTimePipe,
|
|
3745
3763
|
ShortTimePipe,
|
|
3746
|
-
ShortDatePipe
|
|
3747
|
-
|
|
3764
|
+
ShortDatePipe, AutofocusDirective,
|
|
3765
|
+
InputEventDebounceDirective,
|
|
3766
|
+
ForDirective,
|
|
3767
|
+
FormSubmitDirective,
|
|
3768
|
+
InitDirective,
|
|
3769
|
+
PermissionDirective,
|
|
3770
|
+
ReplaceableTemplateDirective,
|
|
3771
|
+
StopPropagationDirective] }); }
|
|
3772
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: BaseCoreModule, providers: [LocalizationPipe], imports: [CommonModule,
|
|
3748
3773
|
HttpClientModule,
|
|
3749
3774
|
FormsModule,
|
|
3750
3775
|
ReactiveFormsModule,
|
|
@@ -3756,7 +3781,7 @@ class BaseCoreModule {
|
|
|
3756
3781
|
RouterModule,
|
|
3757
3782
|
LocalizationModule] }); }
|
|
3758
3783
|
}
|
|
3759
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: BaseCoreModule, decorators: [{
|
|
3760
3785
|
type: NgModule,
|
|
3761
3786
|
args: [{
|
|
3762
3787
|
exports: [
|
|
@@ -3767,23 +3792,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
|
|
|
3767
3792
|
RouterModule,
|
|
3768
3793
|
LocalizationModule,
|
|
3769
3794
|
AbstractNgModelComponent,
|
|
3770
|
-
AutofocusDirective,
|
|
3771
3795
|
DynamicLayoutComponent,
|
|
3772
|
-
ForDirective,
|
|
3773
|
-
FormSubmitDirective,
|
|
3774
|
-
InitDirective,
|
|
3775
|
-
InputEventDebounceDirective,
|
|
3776
|
-
PermissionDirective,
|
|
3777
3796
|
ReplaceableRouteContainerComponent,
|
|
3778
|
-
ReplaceableTemplateDirective,
|
|
3779
3797
|
RouterOutletComponent,
|
|
3780
3798
|
SortPipe,
|
|
3781
3799
|
SafeHtmlPipe,
|
|
3782
|
-
StopPropagationDirective,
|
|
3783
3800
|
ToInjectorPipe,
|
|
3784
3801
|
ShortDateTimePipe,
|
|
3785
3802
|
ShortTimePipe,
|
|
3786
3803
|
ShortDatePipe,
|
|
3804
|
+
...standaloneDirectives,
|
|
3787
3805
|
],
|
|
3788
3806
|
imports: [
|
|
3789
3807
|
CommonModule,
|
|
@@ -3792,22 +3810,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
|
|
|
3792
3810
|
ReactiveFormsModule,
|
|
3793
3811
|
RouterModule,
|
|
3794
3812
|
LocalizationModule,
|
|
3813
|
+
...standaloneDirectives,
|
|
3795
3814
|
],
|
|
3796
3815
|
declarations: [
|
|
3797
3816
|
AbstractNgModelComponent,
|
|
3798
|
-
AutofocusDirective,
|
|
3799
3817
|
DynamicLayoutComponent,
|
|
3800
|
-
ForDirective,
|
|
3801
|
-
FormSubmitDirective,
|
|
3802
|
-
InitDirective,
|
|
3803
|
-
InputEventDebounceDirective,
|
|
3804
|
-
PermissionDirective,
|
|
3805
3818
|
ReplaceableRouteContainerComponent,
|
|
3806
|
-
ReplaceableTemplateDirective,
|
|
3807
3819
|
RouterOutletComponent,
|
|
3808
3820
|
SortPipe,
|
|
3809
3821
|
SafeHtmlPipe,
|
|
3810
|
-
StopPropagationDirective,
|
|
3811
3822
|
ToInjectorPipe,
|
|
3812
3823
|
ShortDateTimePipe,
|
|
3813
3824
|
ShortTimePipe,
|
|
@@ -3821,16 +3832,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
|
|
|
3821
3832
|
* and it introduces imports useful at root level (e.g. NGXS)
|
|
3822
3833
|
*/
|
|
3823
3834
|
class RootCoreModule {
|
|
3824
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3825
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
3826
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
3835
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RootCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3836
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.7", ngImport: i0, type: RootCoreModule, imports: [BaseCoreModule, LocalizationModule, i1.HttpClientXsrfModule], exports: [BaseCoreModule, LocalizationModule] }); }
|
|
3837
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RootCoreModule, imports: [BaseCoreModule,
|
|
3827
3838
|
LocalizationModule,
|
|
3828
3839
|
HttpClientXsrfModule.withOptions({
|
|
3829
3840
|
cookieName: 'XSRF-TOKEN',
|
|
3830
3841
|
headerName: 'RequestVerificationToken',
|
|
3831
3842
|
}), BaseCoreModule, LocalizationModule] }); }
|
|
3832
3843
|
}
|
|
3833
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3844
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RootCoreModule, decorators: [{
|
|
3834
3845
|
type: NgModule,
|
|
3835
3846
|
args: [{
|
|
3836
3847
|
exports: [BaseCoreModule, LocalizationModule],
|
|
@@ -3896,7 +3907,7 @@ class CoreModule {
|
|
|
3896
3907
|
},
|
|
3897
3908
|
{
|
|
3898
3909
|
provide: SORT_COMPARE_FUNC,
|
|
3899
|
-
useFactory: compareFuncFactory
|
|
3910
|
+
useFactory: compareFuncFactory,
|
|
3900
3911
|
},
|
|
3901
3912
|
{
|
|
3902
3913
|
provide: QUEUE_MANAGER,
|
|
@@ -3907,6 +3918,10 @@ class CoreModule {
|
|
|
3907
3918
|
useValue: options.othersGroup || 'AbpUi::OthersGroup',
|
|
3908
3919
|
},
|
|
3909
3920
|
IncludeLocalizationResourcesProvider,
|
|
3921
|
+
{
|
|
3922
|
+
provide: DYNAMIC_LAYOUTS_TOKEN,
|
|
3923
|
+
useValue: options.dynamicLayouts || DEFAULT_DYNAMIC_LAYOUTS
|
|
3924
|
+
}
|
|
3910
3925
|
],
|
|
3911
3926
|
};
|
|
3912
3927
|
}
|
|
@@ -3923,11 +3938,11 @@ class CoreModule {
|
|
|
3923
3938
|
],
|
|
3924
3939
|
};
|
|
3925
3940
|
}
|
|
3926
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3927
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
3928
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
3941
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3942
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.7", ngImport: i0, type: CoreModule, imports: [BaseCoreModule], exports: [BaseCoreModule] }); }
|
|
3943
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: CoreModule, imports: [BaseCoreModule, BaseCoreModule] }); }
|
|
3929
3944
|
}
|
|
3930
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3945
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: CoreModule, decorators: [{
|
|
3931
3946
|
type: NgModule,
|
|
3932
3947
|
args: [{
|
|
3933
3948
|
exports: [BaseCoreModule],
|
|
@@ -3945,10 +3960,10 @@ class ShowPasswordDirective {
|
|
|
3945
3960
|
return;
|
|
3946
3961
|
element.type = visible ? 'text' : 'password';
|
|
3947
3962
|
}
|
|
3948
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3949
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
3963
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ShowPasswordDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3964
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", type: ShowPasswordDirective, isStandalone: true, selector: "[abpShowPassword]", inputs: { abpShowPassword: "abpShowPassword" }, ngImport: i0 }); }
|
|
3950
3965
|
}
|
|
3951
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3966
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ShowPasswordDirective, decorators: [{
|
|
3952
3967
|
type: Directive,
|
|
3953
3968
|
args: [{
|
|
3954
3969
|
standalone: true,
|
|
@@ -3977,10 +3992,10 @@ class TrackCapsLockDirective {
|
|
|
3977
3992
|
}
|
|
3978
3993
|
return false;
|
|
3979
3994
|
}
|
|
3980
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
3981
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.
|
|
3995
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: TrackCapsLockDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
3996
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.7", type: TrackCapsLockDirective, isStandalone: true, selector: "[abpCapsLock]", outputs: { capsLock: "abpCapsLock" }, host: { listeners: { "window:keydown": "onKeyDown($event)", "window:keyup": "onKeyUp($event)" } }, ngImport: i0 }); }
|
|
3982
3997
|
}
|
|
3983
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
3998
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: TrackCapsLockDirective, decorators: [{
|
|
3984
3999
|
type: Directive,
|
|
3985
4000
|
args: [{
|
|
3986
4001
|
standalone: true,
|
|
@@ -4022,10 +4037,10 @@ class PermissionGuard {
|
|
|
4022
4037
|
}
|
|
4023
4038
|
}));
|
|
4024
4039
|
}
|
|
4025
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
4026
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
4040
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: PermissionGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4041
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: PermissionGuard, providedIn: 'root' }); }
|
|
4027
4042
|
}
|
|
4028
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
4043
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: PermissionGuard, decorators: [{
|
|
4029
4044
|
type: Injectable,
|
|
4030
4045
|
args: [{
|
|
4031
4046
|
providedIn: 'root',
|
|
@@ -4197,10 +4212,10 @@ class AbpApiDefinitionService {
|
|
|
4197
4212
|
params: { includeTypes: model.includeTypes },
|
|
4198
4213
|
}, { apiName: this.apiName });
|
|
4199
4214
|
}
|
|
4200
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
4201
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
4215
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbpApiDefinitionService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4216
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbpApiDefinitionService, providedIn: 'root' }); }
|
|
4202
4217
|
}
|
|
4203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
4218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: AbpApiDefinitionService, decorators: [{
|
|
4204
4219
|
type: Injectable,
|
|
4205
4220
|
args: [{
|
|
4206
4221
|
providedIn: 'root',
|
|
@@ -4639,10 +4654,10 @@ class ApiInterceptor {
|
|
|
4639
4654
|
this.httpWaitService.addRequest(request);
|
|
4640
4655
|
return next.handle(request).pipe(finalize(() => this.httpWaitService.deleteRequest(request)));
|
|
4641
4656
|
}
|
|
4642
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
4643
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
4657
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ApiInterceptor, deps: [{ token: HttpWaitService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4658
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ApiInterceptor, providedIn: 'root' }); }
|
|
4644
4659
|
}
|
|
4645
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
4660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ApiInterceptor, decorators: [{
|
|
4646
4661
|
type: Injectable,
|
|
4647
4662
|
args: [{
|
|
4648
4663
|
providedIn: 'root',
|
|
@@ -4655,5 +4670,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImpor
|
|
|
4655
4670
|
* Generated bundle index. Do not edit.
|
|
4656
4671
|
*/
|
|
4657
4672
|
|
|
4658
|
-
export { APP_INIT_ERROR_HANDLERS, AbpApiDefinitionService, AbpApplicationConfigurationService, AbpApplicationLocalizationService, AbpLocalStorageService, AbpTenantService, AbpValidators, AbpWindowService, AbstractNavTreeService, AbstractNgModelComponent, AbstractTreeService, ApiInterceptor, AuditedEntityDto, AuditedEntityWithUserDto, AuthGuard, AuthService, 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, CoreModule, CreationAuditedEntityDto, CreationAuditedEntityWithUserDto, CrossOriginStrategy, DOM_STRATEGY, DefaultQueueManager, DomInsertionService, DomStrategy, DynamicLayoutComponent, EntityDto, EnvironmentService, ExtensibleAuditedEntityDto, ExtensibleAuditedEntityWithUserDto, ExtensibleCreationAuditedEntityDto, ExtensibleCreationAuditedEntityWithUserDto, ExtensibleEntityDto, ExtensibleFullAuditedEntityDto, ExtensibleFullAuditedEntityWithUserDto, ExtensibleLimitedResultRequestDto, ExtensibleObject, ExtensiblePagedAndSortedResultRequestDto, ExtensiblePagedResultRequestDto, ExternalHttpClient, ForDirective, FormSubmitDirective, FullAuditedEntityDto, FullAuditedEntityWithUserDto, HttpErrorReporterService, HttpWaitService, INCUDE_LOCALIZATION_RESOURCES_TOKEN, INJECTOR_PIPE_DATA_TOKEN, IS_EXTERNAL_REQUEST, InitDirective, InputEventDebounceDirective, InsertIntoContainerStrategy, InternalStore, InternetConnectionService, LIST_QUERY_DEBOUNCE_TIME, LOADER_DELAY, LOADING_STRATEGY, LOCALIZATIONS, LazyLoadService, LazyModuleFactory, LimitedResultRequestDto, ListResultDto, ListService, LoadingStrategy, 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, SafeHtmlPipe, ScriptContentStrategy, ScriptLoadingStrategy, SessionStateService, ShortDatePipe, ShortDateTimePipe, ShortTimePipe, ShowPasswordDirective, SortPipe, StopPropagationDirective, StyleContentStrategy, StyleLoadingStrategy, SubscriptionService, TENANT_KEY, TENANT_NOT_FOUND_BY_NAME, TemplateContextStrategy, TemplateProjectionStrategy, ToInjectorPipe, TrackByService, TrackCapsLockDirective, WebHttpUrlEncodingCodec, authGuard, checkHasProp, coreOptionsFactory, createGroupMap, createLocalizationPipeKeyGenerator, createLocalizer, createLocalizerWithFallback, createMapFromList, createTokenParser, createTreeFromList, createTreeNodeFilterCreator, deepMerge, differentLocales, downloadBlob, escapeHtmlChars, exists, featuresFactory, findRoute, fromLazyLoad, generateHash, generatePassword, 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, pushValueTo, reloadRoute, trackBy, trackByDeep, uuid, validateCreditCard, validateMinAge, validateRange, validateRequired, validateStringLength, validateUniqueCharacter, validateUrl };
|
|
4673
|
+
export { APP_INIT_ERROR_HANDLERS, AbpApiDefinitionService, AbpApplicationConfigurationService, AbpApplicationLocalizationService, AbpLocalStorageService, AbpTenantService, AbpValidators, AbpWindowService, AbstractNavTreeService, AbstractNgModelComponent, AbstractTreeService, ApiInterceptor, AuditedEntityDto, AuditedEntityWithUserDto, AuthGuard, AuthService, 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, CoreModule, CreationAuditedEntityDto, CreationAuditedEntityWithUserDto, CrossOriginStrategy, DEFAULT_DYNAMIC_LAYOUTS, DOM_STRATEGY, DefaultQueueManager, DomInsertionService, DomStrategy, DynamicLayoutComponent, EntityDto, EnvironmentService, ExtensibleAuditedEntityDto, ExtensibleAuditedEntityWithUserDto, ExtensibleCreationAuditedEntityDto, ExtensibleCreationAuditedEntityWithUserDto, ExtensibleEntityDto, ExtensibleFullAuditedEntityDto, ExtensibleFullAuditedEntityWithUserDto, ExtensibleLimitedResultRequestDto, ExtensibleObject, ExtensiblePagedAndSortedResultRequestDto, ExtensiblePagedResultRequestDto, ExternalHttpClient, ForDirective, FormSubmitDirective, FullAuditedEntityDto, FullAuditedEntityWithUserDto, HttpErrorReporterService, HttpWaitService, INCUDE_LOCALIZATION_RESOURCES_TOKEN, INJECTOR_PIPE_DATA_TOKEN, IS_EXTERNAL_REQUEST, InitDirective, InputEventDebounceDirective, InsertIntoContainerStrategy, InternalStore, InternetConnectionService, LIST_QUERY_DEBOUNCE_TIME, LOADER_DELAY, LOADING_STRATEGY, LOCALIZATIONS, LazyLoadService, LazyModuleFactory, LimitedResultRequestDto, ListResultDto, ListService, LoadingStrategy, 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, SafeHtmlPipe, ScriptContentStrategy, ScriptLoadingStrategy, SessionStateService, ShortDatePipe, ShortDateTimePipe, ShortTimePipe, ShowPasswordDirective, SortPipe, StopPropagationDirective, StyleContentStrategy, StyleLoadingStrategy, SubscriptionService, TENANT_KEY, TENANT_NOT_FOUND_BY_NAME, TemplateContextStrategy, TemplateProjectionStrategy, ToInjectorPipe, TrackByService, TrackCapsLockDirective, WebHttpUrlEncodingCodec, authGuard, checkHasProp, compareFuncFactory, coreOptionsFactory, createGroupMap, createLocalizationPipeKeyGenerator, createLocalizer, createLocalizerWithFallback, createMapFromList, createTokenParser, createTreeFromList, createTreeNodeFilterCreator, deepMerge, differentLocales, downloadBlob, escapeHtmlChars, exists, featuresFactory, findRoute, fromLazyLoad, generateHash, generatePassword, 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, pushValueTo, reloadRoute, trackBy, trackByDeep, uuid, validateCreditCard, validateMinAge, validateRange, validateRequired, validateStringLength, validateUniqueCharacter, validateUrl };
|
|
4659
4674
|
//# sourceMappingURL=abp-ng.core.mjs.map
|