@abp/ng.core 8.0.0-rc.3 → 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.
Files changed (76) hide show
  1. package/esm2022/lib/abstracts/auth.guard.mjs +3 -3
  2. package/esm2022/lib/abstracts/auth.service.mjs +3 -3
  3. package/esm2022/lib/abstracts/ng-model.component.mjs +3 -3
  4. package/esm2022/lib/clients/http.client.mjs +3 -3
  5. package/esm2022/lib/components/dynamic-layout.component.mjs +38 -38
  6. package/esm2022/lib/components/replaceable-route-container.component.mjs +3 -3
  7. package/esm2022/lib/components/router-outlet.component.mjs +3 -3
  8. package/esm2022/lib/constants/default-layouts.mjs +6 -0
  9. package/esm2022/lib/constants/index.mjs +2 -1
  10. package/esm2022/lib/core.module.mjs +19 -13
  11. package/esm2022/lib/directives/autofocus.directive.mjs +3 -3
  12. package/esm2022/lib/directives/caps-lock.directive.mjs +3 -3
  13. package/esm2022/lib/directives/debounce.directive.mjs +3 -3
  14. package/esm2022/lib/directives/for.directive.mjs +3 -3
  15. package/esm2022/lib/directives/form-submit.directive.mjs +3 -3
  16. package/esm2022/lib/directives/init.directive.mjs +3 -3
  17. package/esm2022/lib/directives/permission.directive.mjs +3 -3
  18. package/esm2022/lib/directives/replaceable-template.directive.mjs +3 -3
  19. package/esm2022/lib/directives/show-password.directive.mjs +3 -3
  20. package/esm2022/lib/directives/stop-propagation.directive.mjs +3 -3
  21. package/esm2022/lib/enums/common.mjs +1 -1
  22. package/esm2022/lib/guards/permission.guard.mjs +3 -3
  23. package/esm2022/lib/handlers/routes.handler.mjs +3 -3
  24. package/esm2022/lib/interceptors/api.interceptor.mjs +3 -3
  25. package/esm2022/lib/localization.module.mjs +4 -4
  26. package/esm2022/lib/models/common.mjs +1 -1
  27. package/esm2022/lib/pipes/localization.pipe.mjs +4 -4
  28. package/esm2022/lib/pipes/safe-html.pipe.mjs +4 -4
  29. package/esm2022/lib/pipes/short-date-time.pipe.mjs +3 -3
  30. package/esm2022/lib/pipes/short-date.pipe.mjs +3 -3
  31. package/esm2022/lib/pipes/short-time.pipe.mjs +3 -3
  32. package/esm2022/lib/pipes/sort.pipe.mjs +4 -4
  33. package/esm2022/lib/pipes/to-injector.pipe.mjs +3 -3
  34. package/esm2022/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.mjs +3 -3
  35. package/esm2022/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.mjs +3 -3
  36. package/esm2022/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.mjs +3 -3
  37. package/esm2022/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-localization.service.mjs +3 -3
  38. package/esm2022/lib/services/config-state.service.mjs +3 -3
  39. package/esm2022/lib/services/content-projection.service.mjs +3 -3
  40. package/esm2022/lib/services/dom-insertion.service.mjs +3 -3
  41. package/esm2022/lib/services/environment.service.mjs +3 -3
  42. package/esm2022/lib/services/http-error-reporter.service.mjs +3 -3
  43. package/esm2022/lib/services/http-wait.service.mjs +3 -3
  44. package/esm2022/lib/services/internet-connection-service.mjs +3 -3
  45. package/esm2022/lib/services/lazy-load.service.mjs +3 -3
  46. package/esm2022/lib/services/list.service.mjs +3 -3
  47. package/esm2022/lib/services/local-storage.service.mjs +3 -3
  48. package/esm2022/lib/services/localization.service.mjs +3 -3
  49. package/esm2022/lib/services/multi-tenancy.service.mjs +3 -3
  50. package/esm2022/lib/services/permission.service.mjs +3 -3
  51. package/esm2022/lib/services/replaceable-components.service.mjs +3 -3
  52. package/esm2022/lib/services/resource-wait.service.mjs +3 -3
  53. package/esm2022/lib/services/rest.service.mjs +3 -3
  54. package/esm2022/lib/services/router-events.service.mjs +3 -3
  55. package/esm2022/lib/services/router-wait.service.mjs +3 -3
  56. package/esm2022/lib/services/routes.service.mjs +6 -6
  57. package/esm2022/lib/services/session-state.service.mjs +3 -3
  58. package/esm2022/lib/services/subscription.service.mjs +3 -3
  59. package/esm2022/lib/services/track-by.service.mjs +3 -3
  60. package/esm2022/lib/services/window.service.mjs +3 -3
  61. package/esm2022/lib/tokens/dynamic-layout.token.mjs +3 -0
  62. package/esm2022/lib/tokens/index.mjs +2 -1
  63. package/esm2022/testing/lib/core-testing.module.mjs +4 -4
  64. package/esm2022/testing/lib/services/mock-permission.service.mjs +3 -3
  65. package/esm2022/testing/lib/services/mock-rest.service.mjs +3 -3
  66. package/fesm2022/abp-ng.core-testing.mjs +10 -10
  67. package/fesm2022/abp-ng.core.mjs +364 -349
  68. package/fesm2022/abp-ng.core.mjs.map +1 -1
  69. package/lib/components/dynamic-layout.component.d.ts +11 -14
  70. package/lib/constants/default-layouts.d.ts +1 -0
  71. package/lib/constants/index.d.ts +1 -0
  72. package/lib/enums/common.d.ts +5 -0
  73. package/lib/models/common.d.ts +1 -0
  74. package/lib/tokens/dynamic-layout.token.d.ts +2 -0
  75. package/lib/tokens/index.d.ts +1 -0
  76. package/package.json +2 -2
@@ -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, ActivatedRoute, Router, RouterModule } from '@angular/router';
6
- import * as i5 from '@angular/common';
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$2 from '@angular/forms';
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
 
@@ -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.6", ngImport: i0, type: AbstractNgModelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
56
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: AbstractNgModelComponent, selector: "ng-component", inputs: { disabled: "disabled", readonly: "readonly", valueFn: "valueFn", valueLimitFn: "valueLimitFn", value: "value" }, ngImport: i0, template: '', isInline: true }); }
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.6", ngImport: i0, type: AbstractNgModelComponent, decorators: [{
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.6", ngImport: i0, type: AuthGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
82
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuthGuard, providedIn: 'root' }); }
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.6", ngImport: i0, type: AuthGuard, decorators: [{
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.6", ngImport: i0, type: AuthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
128
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AuthService, providedIn: 'root' }); }
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.6", ngImport: i0, type: AuthService, decorators: [{
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.6", ngImport: i0, type: ExternalHttpClient, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
248
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ExternalHttpClient, providedIn: 'root' }); }
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.6", ngImport: i0, type: ExternalHttpClient, decorators: [{
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.6", ngImport: i0, type: EnvironmentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
398
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: EnvironmentService, providedIn: 'root' }); }
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.6", ngImport: i0, type: EnvironmentService, decorators: [{
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.6", ngImport: i0, type: HttpErrorReporterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
424
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: HttpErrorReporterService, providedIn: 'root' }); }
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.6", ngImport: i0, type: HttpErrorReporterService, decorators: [{
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.6", 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.6", ngImport: i0, type: RestService, providedIn: 'root' }); }
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.6", ngImport: i0, type: RestService, decorators: [{
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.6", ngImport: i0, type: AbpApplicationConfigurationService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
506
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AbpApplicationConfigurationService, providedIn: 'root' }); }
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.6", ngImport: i0, type: AbpApplicationConfigurationService, decorators: [{
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.6", ngImport: i0, type: AbpApplicationLocalizationService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
526
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AbpApplicationLocalizationService, providedIn: 'root' }); }
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.6", ngImport: i0, type: AbpApplicationLocalizationService, decorators: [{
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.6", 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.6", ngImport: i0, type: ConfigStateService, providedIn: 'root' }); }
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.6", ngImport: i0, type: ConfigStateService, decorators: [{
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.6", ngImport: i0, type: AbpLocalStorageService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
729
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AbpLocalStorageService, providedIn: 'root' }); }
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.6", ngImport: i0, type: AbpLocalStorageService, decorators: [{
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.6", 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.6", ngImport: i0, type: SessionStateService, providedIn: 'root' }); }
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.6", ngImport: i0, type: SessionStateService, decorators: [{
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.6", 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.6", ngImport: i0, type: LocalizationService, providedIn: 'root' }); }
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.6", ngImport: i0, type: LocalizationService, decorators: [{
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.6", 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.6", ngImport: i0, type: ReplaceableComponentsService, providedIn: 'root' }); }
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.6", ngImport: i0, type: ReplaceableComponentsService, decorators: [{
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.6", 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.6", ngImport: i0, type: RouterEvents, providedIn: 'root' }); }
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.6", ngImport: i0, type: RouterEvents, decorators: [{
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.6", ngImport: i0, type: PermissionService, deps: [{ token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1268
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: PermissionService, providedIn: 'root' }); }
1269
- }
1270
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", 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.6", ngImport: i0, type: ContentProjectionService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
1283
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ContentProjectionService, providedIn: 'root' }); }
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.6", ngImport: i0, type: ContentProjectionService, decorators: [{
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.6", ngImport: i0, type: AbpTenantService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1452
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AbpTenantService, providedIn: 'root' }); }
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.6", ngImport: i0, type: AbpTenantService, decorators: [{
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.6", ngImport: i0, type: MultiTenancyService, deps: [{ token: RestService }, { token: SessionStateService }, { token: AbpTenantService }, { token: ConfigStateService }, { token: TENANT_KEY }], target: i0.ɵɵFactoryTarget.Injectable }); }
1487
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: MultiTenancyService, providedIn: 'root' }); }
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.6", ngImport: i0, type: MultiTenancyService, decorators: [{
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.6", ngImport: i0, type: DomInsertionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1787
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: DomInsertionService, providedIn: 'root' }); }
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.6", ngImport: i0, type: DomInsertionService, decorators: [{
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.6", ngImport: i0, type: HttpWaitService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
1853
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: HttpWaitService, providedIn: 'root' }); }
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.6", ngImport: i0, type: HttpWaitService, decorators: [{
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.6", ngImport: i0, type: ResourceWaitService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1889
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ResourceWaitService, providedIn: 'root' }); }
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.6", ngImport: i0, type: ResourceWaitService, decorators: [{
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.6", ngImport: i0, type: LazyLoadService, deps: [{ token: ResourceWaitService }], target: i0.ɵɵFactoryTarget.Injectable }); }
1923
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: LazyLoadService, providedIn: 'root' }); }
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.6", ngImport: i0, type: LazyLoadService, decorators: [{
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.6", ngImport: i0, type: ListService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
2036
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ListService }); }
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.6", ngImport: i0, type: ListService, decorators: [{
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.6", 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.6", ngImport: i0, type: RouterWaitService, providedIn: 'root' }); }
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.6", ngImport: i0, type: RouterWaitService, decorators: [{
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.6", ngImport: i0, type: SubscriptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2118
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: SubscriptionService }); }
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.6", ngImport: i0, type: SubscriptionService, decorators: [{
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.6", ngImport: i0, type: TrackByService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2134
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: TrackByService, providedIn: 'root' }); }
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.6", ngImport: i0, type: TrackByService, decorators: [{
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.6", ngImport: i0, type: AbpWindowService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2174
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AbpWindowService, providedIn: 'root' }); }
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.6", ngImport: i0, type: AbpWindowService, decorators: [{
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.6", ngImport: i0, type: InternetConnectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2200
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: InternetConnectionService, providedIn: 'root' }); }
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.6", ngImport: i0, type: InternetConnectionService, decorators: [{
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.6", 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.6", ngImport: i0, type: AbstractNavTreeService }); }
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.6", ngImport: i0, type: AbstractNavTreeService, decorators: [{
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.6", ngImport: i0, type: RoutesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
2379
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RoutesService, providedIn: 'root' }); }
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.6", ngImport: i0, type: RoutesService, decorators: [{
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(injector, localizationService, replaceableComponents, subscription, routerEvents, dynamicLayoutComponent) {
2388
- this.localizationService = localizationService;
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 = (this.route.snapshot.data || {}).layout;
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.6", ngImport: i0, type: DynamicLayoutComponent, deps: [{ token: i0.Injector }, { token: LocalizationService }, { token: ReplaceableComponentsService }, { token: SubscriptionService }, { token: RouterEvents }, { token: DynamicLayoutComponent, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component }); }
2463
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: DynamicLayoutComponent, selector: "abp-dynamic-layout", providers: [SubscriptionService], ngImport: i0, template: ` <ng-container *ngIf="isLayoutVisible" [ngComponentOutlet]="layout"></ng-container> `, isInline: true, dependencies: [{ kind: "directive", type: i5.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
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.6", ngImport: i0, type: DynamicLayoutComponent, decorators: [{
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: ` <ng-container *ngIf="isLayoutVisible" [ngComponentOutlet]="layout"></ng-container> `,
2473
+ template: `
2474
+ <ng-container *ngIf="isLayoutVisible" [ngComponentOutlet]="layout"></ng-container> `,
2470
2475
  providers: [SubscriptionService],
2471
2476
  }]
2472
- }], ctorParameters: () => [{ type: i0.Injector }, { type: LocalizationService }, { type: ReplaceableComponentsService }, { type: SubscriptionService }, { type: RouterEvents }, { type: DynamicLayoutComponent, decorators: [{
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.6", ngImport: i0, type: ReplaceableRouteContainerComponent, deps: [{ token: i1$1.ActivatedRoute }, { token: ReplaceableComponentsService }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Component }); }
2495
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", type: ReplaceableRouteContainerComponent, selector: "abp-replaceable-route-container", providers: [SubscriptionService], ngImport: i0, template: `
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: i5.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }] }); }
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.6", ngImport: i0, type: ReplaceableRouteContainerComponent, decorators: [{
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.6", 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.6", ngImport: i0, type: RouterOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
2512
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.6", 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"] }] }); }
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.6", ngImport: i0, type: RouterOutletComponent, decorators: [{
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,10 +2881,10 @@ 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.6", ngImport: i0, type: AutofocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
2874
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.6", type: AutofocusDirective, isStandalone: true, selector: "[autofocus]", inputs: { delay: ["autofocus", "delay"] }, ngImport: i0 }); }
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.6", ngImport: i0, type: AutofocusDirective, decorators: [{
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,
@@ -2897,10 +2908,10 @@ 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.6", ngImport: i0, type: InputEventDebounceDirective, deps: [{ token: i0.ElementRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive }); }
2901
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.6", type: InputEventDebounceDirective, isStandalone: true, selector: "[input.debounce]", inputs: { debounce: "debounce" }, outputs: { debounceEvent: "input.debounce" }, providers: [SubscriptionService], ngImport: i0 }); }
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.6", ngImport: i0, type: InputEventDebounceDirective, decorators: [{
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,
@@ -3035,10 +3046,10 @@ class ForDirective {
3035
3046
  this.projectItems(items);
3036
3047
  }
3037
3048
  }
3038
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ForDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive }); }
3039
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.6", 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 }); }
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.6", ngImport: i0, type: ForDirective, decorators: [{
3052
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ForDirective, decorators: [{
3042
3053
  type: Directive,
3043
3054
  args: [{
3044
3055
  standalone: true,
@@ -3105,17 +3116,17 @@ class FormSubmitDirective {
3105
3116
  form.markAsDirty();
3106
3117
  this.cdRef.detectChanges();
3107
3118
  }
3108
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormSubmitDirective, deps: [{ token: i1$2.FormGroupDirective, self: true }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive }); }
3109
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.6", type: FormSubmitDirective, isStandalone: true, selector: "form[ngSubmit][formGroup]", inputs: { debounce: "debounce", notValidateOnSubmit: "notValidateOnSubmit", markAsDirtyWhenSubmit: "markAsDirtyWhenSubmit" }, outputs: { ngSubmit: "ngSubmit" }, providers: [SubscriptionService], ngImport: i0 }); }
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 }); }
3110
3121
  }
3111
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: FormSubmitDirective, decorators: [{
3122
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: FormSubmitDirective, decorators: [{
3112
3123
  type: Directive,
3113
3124
  args: [{
3114
3125
  standalone: true,
3115
3126
  selector: 'form[ngSubmit][formGroup]',
3116
3127
  providers: [SubscriptionService],
3117
3128
  }]
3118
- }], ctorParameters: () => [{ type: i1$2.FormGroupDirective, decorators: [{
3129
+ }], ctorParameters: () => [{ type: i1$3.FormGroupDirective, decorators: [{
3119
3130
  type: Self
3120
3131
  }] }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: SubscriptionService }], propDecorators: { debounce: [{
3121
3132
  type: Input
@@ -3147,10 +3158,10 @@ class InitDirective {
3147
3158
  ngAfterViewInit() {
3148
3159
  this.init.emit(this.elRef);
3149
3160
  }
3150
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: InitDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
3151
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.6", type: InitDirective, isStandalone: true, selector: "[abpInit]", outputs: { init: "abpInit" }, ngImport: i0 }); }
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 }); }
3152
3163
  }
3153
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: InitDirective, decorators: [{
3164
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: InitDirective, decorators: [{
3154
3165
  type: Directive,
3155
3166
  args: [{
3156
3167
  standalone: true,
@@ -3207,10 +3218,10 @@ class PermissionDirective {
3207
3218
  this.cdrSubject.pipe(take(1)).subscribe(() => this.queue.add(() => this.cdRef.detectChanges()));
3208
3219
  this.rendered = true;
3209
3220
  }
3210
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", 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 }); }
3211
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.6", type: PermissionDirective, isStandalone: true, selector: "[abpPermission]", inputs: { condition: ["abpPermission", "condition"], runChangeDetection: ["abpPermissionRunChangeDetection", "runChangeDetection"] }, usesOnChanges: true, ngImport: i0 }); }
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 }); }
3212
3223
  }
3213
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: PermissionDirective, decorators: [{
3224
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: PermissionDirective, decorators: [{
3214
3225
  type: Directive,
3215
3226
  args: [{
3216
3227
  standalone: true,
@@ -3339,10 +3350,10 @@ class ReplaceableTemplateDirective {
3339
3350
  this.defaultComponentSubscriptions = {};
3340
3351
  this.defaultComponentRef = null;
3341
3352
  }
3342
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ReplaceableTemplateDirective, deps: [{ token: i0.Injector }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: ReplaceableComponentsService }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive }); }
3343
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.6", type: ReplaceableTemplateDirective, isStandalone: true, selector: "[abpReplaceableTemplate]", inputs: { data: ["abpReplaceableTemplate", "data"] }, providers: [SubscriptionService], usesOnChanges: true, ngImport: i0 }); }
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 }); }
3344
3355
  }
3345
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ReplaceableTemplateDirective, decorators: [{
3356
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ReplaceableTemplateDirective, decorators: [{
3346
3357
  type: Directive,
3347
3358
  args: [{
3348
3359
  standalone: true,
@@ -3366,10 +3377,10 @@ class StopPropagationDirective {
3366
3377
  this.stopPropEvent.emit(event);
3367
3378
  });
3368
3379
  }
3369
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: StopPropagationDirective, deps: [{ token: i0.ElementRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive }); }
3370
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.6", type: StopPropagationDirective, isStandalone: true, selector: "[click.stop]", outputs: { stopPropEvent: "click.stop" }, providers: [SubscriptionService], ngImport: i0 }); }
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 }); }
3371
3382
  }
3372
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: StopPropagationDirective, decorators: [{
3383
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: StopPropagationDirective, decorators: [{
3373
3384
  type: Directive,
3374
3385
  args: [{
3375
3386
  standalone: true,
@@ -3401,10 +3412,10 @@ class RoutesHandler {
3401
3412
  }
3402
3413
  });
3403
3414
  }
3404
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RoutesHandler, deps: [{ token: RoutesService }, { token: i1$1.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
3405
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RoutesHandler, providedIn: 'root' }); }
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' }); }
3406
3417
  }
3407
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RoutesHandler, decorators: [{
3418
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: RoutesHandler, decorators: [{
3408
3419
  type: Injectable,
3409
3420
  args: [{
3410
3421
  providedIn: 'root',
@@ -3442,11 +3453,11 @@ class LocalizationPipe {
3442
3453
  }, []) || [];
3443
3454
  return this.localization.instant(value, ...params);
3444
3455
  }
3445
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: LocalizationPipe, deps: [{ token: LocalizationService }], target: i0.ɵɵFactoryTarget.Pipe }); }
3446
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.6", ngImport: i0, type: LocalizationPipe, name: "abpLocalization" }); }
3447
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: LocalizationPipe }); }
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 }); }
3448
3459
  }
3449
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: LocalizationPipe, decorators: [{
3460
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: LocalizationPipe, decorators: [{
3450
3461
  type: Injectable
3451
3462
  }, {
3452
3463
  type: Pipe,
@@ -3456,11 +3467,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImpor
3456
3467
  }], ctorParameters: () => [{ type: LocalizationService }] });
3457
3468
 
3458
3469
  class LocalizationModule {
3459
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: LocalizationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
3460
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.6", ngImport: i0, type: LocalizationModule, declarations: [LocalizationPipe], exports: [LocalizationPipe] }); }
3461
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: LocalizationModule }); }
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 }); }
3462
3473
  }
3463
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: LocalizationModule, decorators: [{
3474
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: LocalizationModule, decorators: [{
3464
3475
  type: NgModule,
3465
3476
  args: [{
3466
3477
  exports: [LocalizationPipe],
@@ -3502,11 +3513,11 @@ class SortPipe {
3502
3513
  ];
3503
3514
  return sortOrder === 'asc' ? sorted : sorted.reverse();
3504
3515
  }
3505
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: SortPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
3506
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.6", ngImport: i0, type: SortPipe, name: "abpSort" }); }
3507
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: SortPipe }); }
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 }); }
3508
3519
  }
3509
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: SortPipe, decorators: [{
3520
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: SortPipe, decorators: [{
3510
3521
  type: Injectable
3511
3522
  }, {
3512
3523
  type: Pipe,
@@ -3532,10 +3543,10 @@ class ToInjectorPipe {
3532
3543
  name,
3533
3544
  });
3534
3545
  }
3535
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ToInjectorPipe, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Pipe }); }
3536
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.6", ngImport: i0, type: ToInjectorPipe, name: "toInjector" }); }
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" }); }
3537
3548
  }
3538
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ToInjectorPipe, decorators: [{
3549
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ToInjectorPipe, decorators: [{
3539
3550
  type: Pipe,
3540
3551
  args: [{
3541
3552
  name: 'toInjector',
@@ -3596,10 +3607,10 @@ class ShortDateTimePipe extends DatePipe {
3596
3607
  const format = getShortDateShortTimeFormat(this.configStateService);
3597
3608
  return super.transform(value, format, timezone, locale);
3598
3609
  }
3599
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ShortDateTimePipe, deps: [{ token: ConfigStateService }, { token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }
3600
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.6", ngImport: i0, type: ShortDateTimePipe, name: "shortDateTime" }); }
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" }); }
3601
3612
  }
3602
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ShortDateTimePipe, decorators: [{
3613
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ShortDateTimePipe, decorators: [{
3603
3614
  type: Pipe,
3604
3615
  args: [{
3605
3616
  name: 'shortDateTime',
@@ -3624,10 +3635,10 @@ class ShortTimePipe extends DatePipe {
3624
3635
  const format = getShortTimeFormat(this.configStateService);
3625
3636
  return super.transform(value, format, timezone, locale);
3626
3637
  }
3627
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ShortTimePipe, deps: [{ token: ConfigStateService }, { token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }
3628
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.6", ngImport: i0, type: ShortTimePipe, name: "shortTime" }); }
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" }); }
3629
3640
  }
3630
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ShortTimePipe, decorators: [{
3641
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ShortTimePipe, decorators: [{
3631
3642
  type: Pipe,
3632
3643
  args: [{
3633
3644
  name: 'shortTime',
@@ -3652,10 +3663,10 @@ class ShortDatePipe extends DatePipe {
3652
3663
  const format = getShortDateFormat(this.configStateService);
3653
3664
  return super.transform(value, format, timezone, locale);
3654
3665
  }
3655
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ShortDatePipe, deps: [{ token: ConfigStateService }, { token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe }); }
3656
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.6", ngImport: i0, type: ShortDatePipe, name: "shortDate" }); }
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" }); }
3657
3668
  }
3658
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ShortDatePipe, decorators: [{
3669
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: ShortDatePipe, decorators: [{
3659
3670
  type: Pipe,
3660
3671
  args: [{
3661
3672
  name: 'shortDate',
@@ -3680,11 +3691,11 @@ class SafeHtmlPipe {
3680
3691
  return '';
3681
3692
  return this.sanitizer.sanitize(SecurityContext.HTML, value);
3682
3693
  }
3683
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: SafeHtmlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
3684
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.6", ngImport: i0, type: SafeHtmlPipe, name: "abpSafeHtml" }); }
3685
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: SafeHtmlPipe }); }
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 }); }
3686
3697
  }
3687
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: SafeHtmlPipe, decorators: [{
3698
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: SafeHtmlPipe, decorators: [{
3688
3699
  type: Injectable
3689
3700
  }, {
3690
3701
  type: Pipe,
@@ -3713,8 +3724,8 @@ const standaloneDirectives = [
3713
3724
  * This module will be imported and exported by all others.
3714
3725
  */
3715
3726
  class BaseCoreModule {
3716
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: BaseCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
3717
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.6", ngImport: i0, type: BaseCoreModule, declarations: [AbstractNgModelComponent,
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,
3718
3729
  DynamicLayoutComponent,
3719
3730
  ReplaceableRouteContainerComponent,
3720
3731
  RouterOutletComponent,
@@ -3758,7 +3769,7 @@ class BaseCoreModule {
3758
3769
  PermissionDirective,
3759
3770
  ReplaceableTemplateDirective,
3760
3771
  StopPropagationDirective] }); }
3761
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: BaseCoreModule, providers: [LocalizationPipe], imports: [CommonModule,
3772
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: BaseCoreModule, providers: [LocalizationPipe], imports: [CommonModule,
3762
3773
  HttpClientModule,
3763
3774
  FormsModule,
3764
3775
  ReactiveFormsModule,
@@ -3770,7 +3781,7 @@ class BaseCoreModule {
3770
3781
  RouterModule,
3771
3782
  LocalizationModule] }); }
3772
3783
  }
3773
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: BaseCoreModule, decorators: [{
3784
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: BaseCoreModule, decorators: [{
3774
3785
  type: NgModule,
3775
3786
  args: [{
3776
3787
  exports: [
@@ -3821,16 +3832,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.6", 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.6", ngImport: i0, type: RootCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
3825
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.6", ngImport: i0, type: RootCoreModule, imports: [BaseCoreModule, LocalizationModule, i1.HttpClientXsrfModule], exports: [BaseCoreModule, LocalizationModule] }); }
3826
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: RootCoreModule, imports: [BaseCoreModule,
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.6", ngImport: i0, type: RootCoreModule, decorators: [{
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],
@@ -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.6", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
3927
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.6", ngImport: i0, type: CoreModule, imports: [BaseCoreModule], exports: [BaseCoreModule] }); }
3928
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: CoreModule, imports: [BaseCoreModule, BaseCoreModule] }); }
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.6", ngImport: i0, type: CoreModule, decorators: [{
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.6", ngImport: i0, type: ShowPasswordDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
3949
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.6", type: ShowPasswordDirective, isStandalone: true, selector: "[abpShowPassword]", inputs: { abpShowPassword: "abpShowPassword" }, ngImport: i0 }); }
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.6", ngImport: i0, type: ShowPasswordDirective, decorators: [{
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.6", ngImport: i0, type: TrackCapsLockDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
3981
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.6", type: TrackCapsLockDirective, isStandalone: true, selector: "[abpCapsLock]", outputs: { capsLock: "abpCapsLock" }, host: { listeners: { "window:keydown": "onKeyDown($event)", "window:keyup": "onKeyUp($event)" } }, ngImport: i0 }); }
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.6", ngImport: i0, type: TrackCapsLockDirective, decorators: [{
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.6", ngImport: i0, type: PermissionGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4026
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: PermissionGuard, providedIn: 'root' }); }
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.6", ngImport: i0, type: PermissionGuard, decorators: [{
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.6", ngImport: i0, type: AbpApiDefinitionService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable }); }
4201
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: AbpApiDefinitionService, providedIn: 'root' }); }
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.6", ngImport: i0, type: AbpApiDefinitionService, decorators: [{
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.6", ngImport: i0, type: ApiInterceptor, deps: [{ token: HttpWaitService }], target: i0.ɵɵFactoryTarget.Injectable }); }
4643
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.6", ngImport: i0, type: ApiInterceptor, providedIn: 'root' }); }
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.6", ngImport: i0, type: ApiInterceptor, decorators: [{
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.6", 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