@abp/ng.core 7.0.0-rc.4 → 7.0.0-rc.6

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 (101) hide show
  1. package/esm2020/lib/abstracts/auth.guard.mjs +17 -0
  2. package/esm2020/lib/abstracts/auth.service.mjs +42 -0
  3. package/esm2020/lib/abstracts/index.mjs +3 -1
  4. package/esm2020/lib/abstracts/ng-model.component.mjs +3 -3
  5. package/esm2020/lib/components/dynamic-layout.component.mjs +3 -3
  6. package/esm2020/lib/components/replaceable-route-container.component.mjs +3 -3
  7. package/esm2020/lib/components/router-outlet.component.mjs +3 -3
  8. package/esm2020/lib/core.module.mjs +16 -44
  9. package/esm2020/lib/directives/autofocus.directive.mjs +3 -3
  10. package/esm2020/lib/directives/debounce.directive.mjs +3 -3
  11. package/esm2020/lib/directives/for.directive.mjs +3 -3
  12. package/esm2020/lib/directives/form-submit.directive.mjs +3 -3
  13. package/esm2020/lib/directives/init.directive.mjs +3 -3
  14. package/esm2020/lib/directives/permission.directive.mjs +3 -3
  15. package/esm2020/lib/directives/replaceable-template.directive.mjs +11 -9
  16. package/esm2020/lib/directives/stop-propagation.directive.mjs +3 -3
  17. package/esm2020/lib/guards/index.mjs +1 -2
  18. package/esm2020/lib/guards/permission.guard.mjs +3 -3
  19. package/esm2020/lib/handlers/routes.handler.mjs +3 -3
  20. package/esm2020/lib/interceptors/api.interceptor.mjs +13 -42
  21. package/esm2020/lib/localization.module.mjs +4 -4
  22. package/esm2020/lib/models/auth.mjs +1 -1
  23. package/esm2020/lib/models/environment.mjs +1 -1
  24. package/esm2020/lib/models/index.mjs +2 -2
  25. package/esm2020/lib/pipes/localization.pipe.mjs +4 -4
  26. package/esm2020/lib/pipes/short-date-time.pipe.mjs +3 -3
  27. package/esm2020/lib/pipes/short-date.pipe.mjs +3 -3
  28. package/esm2020/lib/pipes/short-time.pipe.mjs +3 -3
  29. package/esm2020/lib/pipes/sort.pipe.mjs +4 -4
  30. package/esm2020/lib/pipes/to-injector.pipe.mjs +3 -3
  31. package/esm2020/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.mjs +3 -3
  32. package/esm2020/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.mjs +3 -3
  33. package/esm2020/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.mjs +3 -3
  34. package/esm2020/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-localization.service.mjs +3 -3
  35. package/esm2020/lib/services/config-state.service.mjs +3 -3
  36. package/esm2020/lib/services/content-projection.service.mjs +3 -3
  37. package/esm2020/lib/services/dom-insertion.service.mjs +3 -3
  38. package/esm2020/lib/services/environment.service.mjs +3 -3
  39. package/esm2020/lib/services/http-error-reporter.service.mjs +3 -3
  40. package/esm2020/lib/services/http-wait.service.mjs +3 -3
  41. package/esm2020/lib/services/index.mjs +1 -3
  42. package/esm2020/lib/services/lazy-load.service.mjs +3 -3
  43. package/esm2020/lib/services/list.service.mjs +3 -3
  44. package/esm2020/lib/services/localization.service.mjs +3 -3
  45. package/esm2020/lib/services/multi-tenancy.service.mjs +3 -3
  46. package/esm2020/lib/services/permission.service.mjs +3 -3
  47. package/esm2020/lib/services/replaceable-components.service.mjs +3 -3
  48. package/esm2020/lib/services/resource-wait.service.mjs +3 -3
  49. package/esm2020/lib/services/rest.service.mjs +3 -3
  50. package/esm2020/lib/services/router-events.service.mjs +3 -3
  51. package/esm2020/lib/services/router-wait.service.mjs +3 -3
  52. package/esm2020/lib/services/routes.service.mjs +6 -6
  53. package/esm2020/lib/services/session-state.service.mjs +3 -3
  54. package/esm2020/lib/services/subscription.service.mjs +3 -3
  55. package/esm2020/lib/services/track-by.service.mjs +3 -3
  56. package/esm2020/lib/tokens/check-authentication-state.mjs +3 -0
  57. package/esm2020/lib/tokens/index.mjs +4 -1
  58. package/esm2020/lib/tokens/manage-profile.token.mjs +3 -12
  59. package/esm2020/lib/tokens/pipe-to-login.token.mjs +3 -0
  60. package/esm2020/lib/tokens/set-token-response-to-storage.token.mjs +3 -0
  61. package/esm2020/lib/utils/index.mjs +1 -2
  62. package/esm2020/lib/utils/initial-utils.mjs +15 -18
  63. package/esm2020/public-api.mjs +2 -2
  64. package/esm2020/testing/lib/core-testing.module.mjs +4 -4
  65. package/esm2020/testing/lib/services/mock-permission.service.mjs +3 -3
  66. package/esm2020/testing/lib/services/mock-rest.service.mjs +3 -3
  67. package/fesm2015/abp-ng.core-testing.mjs +10 -10
  68. package/fesm2015/abp-ng.core.mjs +342 -674
  69. package/fesm2015/abp-ng.core.mjs.map +1 -1
  70. package/fesm2020/abp-ng.core-testing.mjs +10 -10
  71. package/fesm2020/abp-ng.core.mjs +342 -657
  72. package/fesm2020/abp-ng.core.mjs.map +1 -1
  73. package/lib/{guards → abstracts}/auth.guard.d.ts +3 -6
  74. package/lib/{services → abstracts}/auth.service.d.ts +17 -7
  75. package/lib/abstracts/index.d.ts +2 -0
  76. package/lib/core.module.d.ts +7 -10
  77. package/lib/directives/replaceable-template.directive.d.ts +2 -3
  78. package/lib/guards/index.d.ts +0 -1
  79. package/lib/interceptors/api.interceptor.d.ts +7 -9
  80. package/lib/models/auth.d.ts +5 -0
  81. package/lib/models/environment.d.ts +1 -1
  82. package/lib/models/index.d.ts +1 -1
  83. package/lib/services/index.d.ts +0 -2
  84. package/lib/tokens/check-authentication-state.d.ts +3 -0
  85. package/lib/tokens/index.d.ts +3 -0
  86. package/lib/tokens/pipe-to-login.token.d.ts +3 -0
  87. package/lib/tokens/set-token-response-to-storage.token.d.ts +3 -0
  88. package/lib/utils/index.d.ts +0 -1
  89. package/lib/utils/initial-utils.d.ts +1 -170
  90. package/package.json +3 -3
  91. package/public-api.d.ts +1 -1
  92. package/esm2020/lib/guards/auth.guard.mjs +0 -29
  93. package/esm2020/lib/handlers/oauth-configuration.handler.mjs +0 -37
  94. package/esm2020/lib/services/auth.service.mjs +0 -44
  95. package/esm2020/lib/services/timeout-limited-oauth.service.mjs +0 -16
  96. package/esm2020/lib/strategies/auth-flow.strategy.mjs +0 -190
  97. package/esm2020/lib/utils/auth-utils.mjs +0 -42
  98. package/lib/handlers/oauth-configuration.handler.d.ts +0 -13
  99. package/lib/services/timeout-limited-oauth.service.d.ts +0 -7
  100. package/lib/strategies/auth-flow.strategy.d.ts +0 -393
  101. package/lib/utils/auth-utils.d.ts +0 -175
@@ -1,18 +1,16 @@
1
1
  import * as i0 from '@angular/core';
2
- import { ChangeDetectorRef, Component, Input, InjectionToken, Injectable, Inject, isDevMode, Optional, SkipSelf, Directive, EventEmitter, Output, Self, Injector, Pipe, NgModule, APP_INITIALIZER, LOCALE_ID, NgModuleFactory, Compiler, ComponentFactoryResolver, ApplicationRef, inject } from '@angular/core';
2
+ import { ChangeDetectorRef, Component, Input, Injectable, InjectionToken, Inject, isDevMode, Optional, SkipSelf, Directive, EventEmitter, Output, Self, Injector, Pipe, NgModule, APP_INITIALIZER, LOCALE_ID, NgModuleFactory, Compiler, ComponentFactoryResolver, ApplicationRef } from '@angular/core';
3
+ import { of, BehaviorSubject, Subject, throwError, combineLatest, from, Subscription, fromEvent, ReplaySubject, lastValueFrom, Observable, timer, concat } from 'rxjs';
3
4
  import * as i1$1 from '@angular/router';
4
5
  import { PRIMARY_OUTLET, NavigationCancel, NavigationEnd, NavigationError, NavigationStart, ActivatedRoute, Router, RouterModule } from '@angular/router';
5
6
  import * as i5 from '@angular/common';
6
7
  import { registerLocaleData, DOCUMENT, DatePipe, DATE_PIPE_DEFAULT_TIMEZONE, CommonModule } from '@angular/common';
7
- import { BehaviorSubject, Subject, throwError, combineLatest, from, Subscription, fromEvent, ReplaySubject, of, timer, pipe, Observable, concat } from 'rxjs';
8
- import { map, distinctUntilChanged, filter, catchError, switchMap, take, tap, debounceTime, mapTo, takeUntil, finalize, retryWhen, delay, shareReplay } from 'rxjs/operators';
8
+ import { map, distinctUntilChanged, filter, catchError, switchMap, take, tap, debounceTime, mapTo, takeUntil, retryWhen, delay, shareReplay, finalize } from 'rxjs/operators';
9
9
  import * as i1 from '@angular/common/http';
10
- import { HttpParams, HttpHeaders, HttpClient, HttpClientModule, HttpClientXsrfModule, HTTP_INTERCEPTORS } from '@angular/common/http';
10
+ import { HttpParams, HttpClient, HttpClientModule, HttpClientXsrfModule } from '@angular/common/http';
11
11
  import compare from 'just-compare';
12
12
  import * as i1$2 from '@angular/forms';
13
13
  import { FormsModule, ReactiveFormsModule, Validators } from '@angular/forms';
14
- import * as i1$3 from 'angular-oauth2-oidc';
15
- import { OAuthStorage, OAuthService, OAuthErrorEvent, OAuthInfoEvent, OAuthModule } from 'angular-oauth2-oidc';
16
14
  import clone from 'just-clone';
17
15
 
18
16
  // Not an abstract class on purpose. Do not change!
@@ -55,9 +53,9 @@ class AbstractNgModelComponent {
55
53
  this.disabled = isDisabled;
56
54
  }
57
55
  }
58
- AbstractNgModelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AbstractNgModelComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
59
- AbstractNgModelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: AbstractNgModelComponent, selector: "ng-component", inputs: { disabled: "disabled", readonly: "readonly", valueFn: "valueFn", valueLimitFn: "valueLimitFn", value: "value" }, ngImport: i0, template: '', isInline: true });
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AbstractNgModelComponent, decorators: [{
56
+ AbstractNgModelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbstractNgModelComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
57
+ AbstractNgModelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AbstractNgModelComponent, selector: "ng-component", inputs: { disabled: "disabled", readonly: "readonly", valueFn: "valueFn", valueLimitFn: "valueLimitFn", value: "value" }, ngImport: i0, template: '', isInline: true });
58
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbstractNgModelComponent, decorators: [{
61
59
  type: Component,
62
60
  args: [{ template: '' }]
63
61
  }], ctorParameters: function () { return [{ type: i0.Injector }]; }, propDecorators: { disabled: [{
@@ -72,6 +70,60 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
72
70
  type: Input
73
71
  }] } });
74
72
 
73
+ class AuthGuard {
74
+ canActivate() {
75
+ console.error('You should add @abp/ng-oauth packages or create your own auth packages.');
76
+ return false;
77
+ }
78
+ }
79
+ AuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AuthGuard, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
80
+ AuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AuthGuard, providedIn: 'root' });
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AuthGuard, decorators: [{
82
+ type: Injectable,
83
+ args: [{
84
+ providedIn: 'root',
85
+ }]
86
+ }] });
87
+
88
+ /**
89
+ * Abstract service for Authentication.
90
+ */
91
+ class AuthService {
92
+ constructor() { }
93
+ warningMessage() {
94
+ console.error('You should add @abp/ng-oauth packages or create your own auth packages.');
95
+ }
96
+ init() {
97
+ this.warningMessage();
98
+ return Promise.resolve(undefined);
99
+ }
100
+ login(params) {
101
+ this.warningMessage();
102
+ return of(undefined);
103
+ }
104
+ logout(queryParams) {
105
+ this.warningMessage();
106
+ return of(undefined);
107
+ }
108
+ navigateToLogin(queryParams) { }
109
+ get isInternalAuth() {
110
+ throw new Error('not implemented');
111
+ return false;
112
+ }
113
+ get isAuthenticated() {
114
+ this.warningMessage();
115
+ return false;
116
+ }
117
+ }
118
+ AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AuthService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
119
+ AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AuthService, providedIn: 'root' });
120
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AuthService, decorators: [{
121
+ type: Injectable,
122
+ args: [{
123
+ providedIn: 'root',
124
+ }]
125
+ }], ctorParameters: function () { return []; } });
126
+
75
127
  const LOCALIZATIONS = new InjectionToken('LOCALIZATIONS');
76
128
  function localizationContributor(localizations) {
77
129
  if (localizations) {
@@ -303,9 +355,9 @@ class EnvironmentService {
303
355
  return this.store.sliceState(state => state.oAuthConfig.issuer).pipe(map(mapToIssuer));
304
356
  }
305
357
  }
306
- EnvironmentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: EnvironmentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
307
- EnvironmentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: EnvironmentService, providedIn: 'root' });
308
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: EnvironmentService, decorators: [{
358
+ EnvironmentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EnvironmentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
359
+ EnvironmentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EnvironmentService, providedIn: 'root' });
360
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: EnvironmentService, decorators: [{
309
361
  type: Injectable,
310
362
  args: [{ providedIn: 'root' }]
311
363
  }] });
@@ -329,9 +381,9 @@ class HttpErrorReporterService {
329
381
  return this._errors$.value;
330
382
  }
331
383
  }
332
- HttpErrorReporterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: HttpErrorReporterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
333
- HttpErrorReporterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: HttpErrorReporterService, providedIn: 'root' });
334
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: HttpErrorReporterService, decorators: [{
384
+ HttpErrorReporterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: HttpErrorReporterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
385
+ HttpErrorReporterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: HttpErrorReporterService, providedIn: 'root' });
386
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: HttpErrorReporterService, decorators: [{
335
387
  type: Injectable,
336
388
  args: [{ providedIn: 'root' }]
337
389
  }] });
@@ -384,9 +436,9 @@ class RestService {
384
436
  return url.replace(/([^:]\/)\/+/g, '$1');
385
437
  }
386
438
  }
387
- RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RestService, deps: [{ token: CORE_OPTIONS }, { token: i1.HttpClient }, { token: EnvironmentService }, { token: HttpErrorReporterService }], target: i0.ɵɵFactoryTarget.Injectable });
388
- RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RestService, providedIn: 'root' });
389
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RestService, decorators: [{
439
+ RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RestService, deps: [{ token: CORE_OPTIONS }, { token: i1.HttpClient }, { token: EnvironmentService }, { token: HttpErrorReporterService }], target: i0.ɵɵFactoryTarget.Injectable });
440
+ RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RestService, providedIn: 'root' });
441
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RestService, decorators: [{
390
442
  type: Injectable,
391
443
  args: [{
392
444
  providedIn: 'root',
@@ -407,9 +459,9 @@ class AbpApplicationConfigurationService {
407
459
  }, { apiName: this.apiName });
408
460
  }
409
461
  }
410
- AbpApplicationConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AbpApplicationConfigurationService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
411
- AbpApplicationConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AbpApplicationConfigurationService, providedIn: 'root' });
412
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AbpApplicationConfigurationService, decorators: [{
462
+ AbpApplicationConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpApplicationConfigurationService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
463
+ AbpApplicationConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpApplicationConfigurationService, providedIn: 'root' });
464
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpApplicationConfigurationService, decorators: [{
413
465
  type: Injectable,
414
466
  args: [{
415
467
  providedIn: 'root',
@@ -427,9 +479,9 @@ class AbpApplicationLocalizationService {
427
479
  }, { apiName: this.apiName });
428
480
  }
429
481
  }
430
- AbpApplicationLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AbpApplicationLocalizationService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
431
- AbpApplicationLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AbpApplicationLocalizationService, providedIn: 'root' });
432
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AbpApplicationLocalizationService, decorators: [{
482
+ AbpApplicationLocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpApplicationLocalizationService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
483
+ AbpApplicationLocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpApplicationLocalizationService, providedIn: 'root' });
484
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpApplicationLocalizationService, decorators: [{
433
485
  type: Injectable,
434
486
  args: [{
435
487
  providedIn: 'root',
@@ -580,9 +632,9 @@ class ConfigStateService {
580
632
  return this.store.sliceState(state => this.isGlobalFeatureEnabled(key, state.globalFeatures));
581
633
  }
582
634
  }
583
- ConfigStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfigStateService, deps: [{ token: AbpApplicationConfigurationService }, { token: AbpApplicationLocalizationService }, { token: INCUDE_LOCALIZATION_RESOURCES_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
584
- ConfigStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfigStateService, providedIn: 'root' });
585
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ConfigStateService, decorators: [{
635
+ ConfigStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ConfigStateService, deps: [{ token: AbpApplicationConfigurationService }, { token: AbpApplicationLocalizationService }, { token: INCUDE_LOCALIZATION_RESOURCES_TOKEN }], target: i0.ɵɵFactoryTarget.Injectable });
636
+ ConfigStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ConfigStateService, providedIn: 'root' });
637
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ConfigStateService, decorators: [{
586
638
  type: Injectable,
587
639
  args: [{
588
640
  providedIn: 'root',
@@ -662,9 +714,9 @@ class SessionStateService {
662
714
  document.documentElement.setAttribute('lang', language);
663
715
  }
664
716
  }
665
- SessionStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: SessionStateService, deps: [{ token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
666
- SessionStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: SessionStateService, providedIn: 'root' });
667
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: SessionStateService, decorators: [{
717
+ SessionStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SessionStateService, deps: [{ token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
718
+ SessionStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SessionStateService, providedIn: 'root' });
719
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SessionStateService, decorators: [{
668
720
  type: Injectable,
669
721
  args: [{
670
722
  providedIn: 'root',
@@ -840,9 +892,9 @@ class LocalizationService {
840
892
  return localization || defaultValue || key;
841
893
  }
842
894
  }
843
- LocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: LocalizationService, deps: [{ token: SessionStateService }, { token: i0.Injector }, { token: LocalizationService, optional: true, skipSelf: true }, { token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
844
- LocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: LocalizationService, providedIn: 'root' });
845
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: LocalizationService, decorators: [{
895
+ LocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizationService, deps: [{ token: SessionStateService }, { token: i0.Injector }, { token: LocalizationService, optional: true, skipSelf: true }, { token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
896
+ LocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizationService, providedIn: 'root' });
897
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizationService, decorators: [{
846
898
  type: Injectable,
847
899
  args: [{ providedIn: 'root' }]
848
900
  }], ctorParameters: function () { return [{ type: SessionStateService }, { type: i0.Injector }, { type: LocalizationService, decorators: [{
@@ -934,9 +986,9 @@ class ReplaceableComponentsService {
934
986
  return this.replaceableComponents$.pipe(map(components => components.find(component => component.key === replaceableComponentKey)));
935
987
  }
936
988
  }
937
- ReplaceableComponentsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ReplaceableComponentsService, deps: [{ token: i0.NgZone }, { token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
938
- ReplaceableComponentsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ReplaceableComponentsService, providedIn: 'root' });
939
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ReplaceableComponentsService, decorators: [{
989
+ ReplaceableComponentsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ReplaceableComponentsService, deps: [{ token: i0.NgZone }, { token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
990
+ ReplaceableComponentsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ReplaceableComponentsService, providedIn: 'root' });
991
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ReplaceableComponentsService, decorators: [{
940
992
  type: Injectable,
941
993
  args: [{ providedIn: 'root' }]
942
994
  }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1$1.Router }]; } });
@@ -967,9 +1019,9 @@ class RouterEvents {
967
1019
  return this.getNavigationEvents(...keys);
968
1020
  }
969
1021
  }
970
- RouterEvents.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterEvents, deps: [{ token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
971
- RouterEvents.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterEvents, providedIn: 'root' });
972
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterEvents, decorators: [{
1022
+ RouterEvents.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RouterEvents, deps: [{ token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
1023
+ RouterEvents.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RouterEvents, providedIn: 'root' });
1024
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RouterEvents, decorators: [{
973
1025
  type: Injectable,
974
1026
  args: [{ providedIn: 'root' }]
975
1027
  }], ctorParameters: function () { return [{ type: i1$1.Router }]; } });
@@ -1086,9 +1138,9 @@ class PermissionService {
1086
1138
  return grantedPolicies[key] || false;
1087
1139
  }
1088
1140
  }
1089
- PermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: PermissionService, deps: [{ token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
1090
- PermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: PermissionService, providedIn: 'root' });
1091
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: PermissionService, decorators: [{
1141
+ PermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PermissionService, deps: [{ token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
1142
+ PermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PermissionService, providedIn: 'root' });
1143
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PermissionService, decorators: [{
1092
1144
  type: Injectable,
1093
1145
  args: [{ providedIn: 'root' }]
1094
1146
  }], ctorParameters: function () { return [{ type: ConfigStateService }]; } });
@@ -1217,16 +1269,16 @@ class AbstractNavTreeService extends AbstractTreeService {
1217
1269
  this.subscription.unsubscribe();
1218
1270
  }
1219
1271
  }
1220
- AbstractNavTreeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AbstractNavTreeService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
1221
- AbstractNavTreeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AbstractNavTreeService });
1222
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AbstractNavTreeService, decorators: [{
1272
+ AbstractNavTreeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbstractNavTreeService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
1273
+ AbstractNavTreeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbstractNavTreeService });
1274
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbstractNavTreeService, decorators: [{
1223
1275
  type: Injectable
1224
1276
  }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
1225
1277
  class RoutesService extends AbstractNavTreeService {
1226
1278
  }
1227
- RoutesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RoutesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1228
- RoutesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RoutesService, providedIn: 'root' });
1229
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RoutesService, decorators: [{
1279
+ RoutesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RoutesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1280
+ RoutesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RoutesService, providedIn: 'root' });
1281
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RoutesService, decorators: [{
1230
1282
  type: Injectable,
1231
1283
  args: [{ providedIn: 'root' }]
1232
1284
  }] });
@@ -1263,9 +1315,9 @@ class SubscriptionService {
1263
1315
  this.subscription = new Subscription();
1264
1316
  }
1265
1317
  }
1266
- SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: SubscriptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1267
- SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: SubscriptionService });
1268
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: SubscriptionService, decorators: [{
1318
+ SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SubscriptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1319
+ SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SubscriptionService });
1320
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SubscriptionService, decorators: [{
1269
1321
  type: Injectable
1270
1322
  }] });
1271
1323
 
@@ -1338,9 +1390,9 @@ class DynamicLayoutComponent {
1338
1390
  return this.replaceableComponents.get(key);
1339
1391
  }
1340
1392
  }
1341
- DynamicLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", 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 });
1342
- DynamicLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", 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", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1343
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DynamicLayoutComponent, decorators: [{
1393
+ DynamicLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", 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 });
1394
+ DynamicLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
1395
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DynamicLayoutComponent, decorators: [{
1344
1396
  type: Component,
1345
1397
  args: [{
1346
1398
  selector: 'abp-dynamic-layout',
@@ -1370,11 +1422,11 @@ class ReplaceableRouteContainerComponent {
1370
1422
  });
1371
1423
  }
1372
1424
  }
1373
- ReplaceableRouteContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ReplaceableRouteContainerComponent, deps: [{ token: i1$1.ActivatedRoute }, { token: ReplaceableComponentsService }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Component });
1374
- ReplaceableRouteContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: ReplaceableRouteContainerComponent, selector: "abp-replaceable-route-container", providers: [SubscriptionService], ngImport: i0, template: `
1425
+ ReplaceableRouteContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ReplaceableRouteContainerComponent, deps: [{ token: i1$1.ActivatedRoute }, { token: ReplaceableComponentsService }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Component });
1426
+ ReplaceableRouteContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: ReplaceableRouteContainerComponent, selector: "abp-replaceable-route-container", providers: [SubscriptionService], ngImport: i0, template: `
1375
1427
  <ng-container *ngComponentOutlet="externalComponent || defaultComponent"></ng-container>
1376
1428
  `, isInline: true, dependencies: [{ kind: "directive", type: i5.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }] });
1377
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ReplaceableRouteContainerComponent, decorators: [{
1429
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ReplaceableRouteContainerComponent, decorators: [{
1378
1430
  type: Component,
1379
1431
  args: [{
1380
1432
  selector: 'abp-replaceable-route-container',
@@ -1387,9 +1439,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
1387
1439
 
1388
1440
  class RouterOutletComponent {
1389
1441
  }
1390
- RouterOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1391
- RouterOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", 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"] }] });
1392
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterOutletComponent, decorators: [{
1442
+ RouterOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RouterOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1443
+ RouterOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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"] }] });
1444
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RouterOutletComponent, decorators: [{
1393
1445
  type: Component,
1394
1446
  args: [{
1395
1447
  selector: 'abp-router-outlet',
@@ -1749,9 +1801,9 @@ class AutofocusDirective {
1749
1801
  setTimeout(() => this.elRef.nativeElement.focus(), this.delay);
1750
1802
  }
1751
1803
  }
1752
- AutofocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AutofocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1753
- AutofocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: AutofocusDirective, selector: "[autofocus]", inputs: { delay: ["autofocus", "delay"] }, ngImport: i0 });
1754
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AutofocusDirective, decorators: [{
1804
+ AutofocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AutofocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1805
+ AutofocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: AutofocusDirective, selector: "[autofocus]", inputs: { delay: ["autofocus", "delay"] }, ngImport: i0 });
1806
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AutofocusDirective, decorators: [{
1755
1807
  type: Directive,
1756
1808
  args: [{
1757
1809
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -1776,9 +1828,9 @@ class InputEventDebounceDirective {
1776
1828
  });
1777
1829
  }
1778
1830
  }
1779
- InputEventDebounceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: InputEventDebounceDirective, deps: [{ token: i0.ElementRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
1780
- InputEventDebounceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: InputEventDebounceDirective, selector: "[input.debounce]", inputs: { debounce: "debounce" }, outputs: { debounceEvent: "input.debounce" }, providers: [SubscriptionService], ngImport: i0 });
1781
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: InputEventDebounceDirective, decorators: [{
1831
+ InputEventDebounceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: InputEventDebounceDirective, deps: [{ token: i0.ElementRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
1832
+ InputEventDebounceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: InputEventDebounceDirective, selector: "[input.debounce]", inputs: { debounce: "debounce" }, outputs: { debounceEvent: "input.debounce" }, providers: [SubscriptionService], ngImport: i0 });
1833
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: InputEventDebounceDirective, decorators: [{
1782
1834
  type: Directive,
1783
1835
  args: [{
1784
1836
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -1906,9 +1958,9 @@ class ForDirective {
1906
1958
  }
1907
1959
  }
1908
1960
  }
1909
- ForDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ForDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
1910
- ForDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: ForDirective, 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 });
1911
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ForDirective, decorators: [{
1961
+ ForDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ForDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
1962
+ ForDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: ForDirective, 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 });
1963
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ForDirective, decorators: [{
1912
1964
  type: Directive,
1913
1965
  args: [{
1914
1966
  selector: '[abpFor]',
@@ -1975,9 +2027,9 @@ class FormSubmitDirective {
1975
2027
  this.cdRef.detectChanges();
1976
2028
  }
1977
2029
  }
1978
- FormSubmitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: FormSubmitDirective, deps: [{ token: i1$2.FormGroupDirective, self: true }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
1979
- FormSubmitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: { debounce: "debounce", notValidateOnSubmit: "notValidateOnSubmit", markAsDirtyWhenSubmit: "markAsDirtyWhenSubmit" }, outputs: { ngSubmit: "ngSubmit" }, providers: [SubscriptionService], ngImport: i0 });
1980
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: FormSubmitDirective, decorators: [{
2030
+ FormSubmitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormSubmitDirective, deps: [{ token: i1$2.FormGroupDirective, self: true }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
2031
+ FormSubmitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: { debounce: "debounce", notValidateOnSubmit: "notValidateOnSubmit", markAsDirtyWhenSubmit: "markAsDirtyWhenSubmit" }, outputs: { ngSubmit: "ngSubmit" }, providers: [SubscriptionService], ngImport: i0 });
2032
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: FormSubmitDirective, decorators: [{
1981
2033
  type: Directive,
1982
2034
  args: [{
1983
2035
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -2017,9 +2069,9 @@ class InitDirective {
2017
2069
  this.init.emit(this.elRef);
2018
2070
  }
2019
2071
  }
2020
- InitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: InitDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2021
- InitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: InitDirective, selector: "[abpInit]", outputs: { init: "abpInit" }, ngImport: i0 });
2022
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: InitDirective, decorators: [{
2072
+ InitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: InitDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2073
+ InitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: InitDirective, selector: "[abpInit]", outputs: { init: "abpInit" }, ngImport: i0 });
2074
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: InitDirective, decorators: [{
2023
2075
  type: Directive,
2024
2076
  args: [{ selector: '[abpInit]' }]
2025
2077
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { init: [{
@@ -2073,9 +2125,9 @@ class PermissionDirective {
2073
2125
  this.rendered = true;
2074
2126
  }
2075
2127
  }
2076
- PermissionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: PermissionDirective, deps: [{ token: i0.TemplateRef, optional: true }, { token: i0.ViewContainerRef }, { token: PermissionService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
2077
- PermissionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: PermissionDirective, selector: "[abpPermission]", inputs: { condition: ["abpPermission", "condition"], runChangeDetection: ["abpPermissionRunChangeDetection", "runChangeDetection"] }, usesOnChanges: true, ngImport: i0 });
2078
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: PermissionDirective, decorators: [{
2128
+ PermissionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PermissionDirective, deps: [{ token: i0.TemplateRef, optional: true }, { token: i0.ViewContainerRef }, { token: PermissionService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
2129
+ PermissionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: PermissionDirective, selector: "[abpPermission]", inputs: { condition: ["abpPermission", "condition"], runChangeDetection: ["abpPermissionRunChangeDetection", "runChangeDetection"] }, usesOnChanges: true, ngImport: i0 });
2130
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PermissionDirective, decorators: [{
2079
2131
  type: Directive,
2080
2132
  args: [{
2081
2133
  selector: '[abpPermission]',
@@ -2091,10 +2143,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
2091
2143
  }] } });
2092
2144
 
2093
2145
  class ReplaceableTemplateDirective {
2094
- constructor(injector, templateRef, cfRes, vcRef, replaceableComponents, subscription) {
2146
+ constructor(injector, templateRef, vcRef, replaceableComponents, subscription) {
2095
2147
  this.injector = injector;
2096
2148
  this.templateRef = templateRef;
2097
- this.cfRes = cfRes;
2098
2149
  this.vcRef = vcRef;
2099
2150
  this.replaceableComponents = replaceableComponents;
2100
2151
  this.subscription = subscription;
@@ -2129,7 +2180,10 @@ class ReplaceableTemplateDirective {
2129
2180
  providers: [{ provide: 'REPLACEABLE_DATA', useValue: this.providedData }],
2130
2181
  parent: this.injector,
2131
2182
  });
2132
- this.vcRef.createComponent(this.cfRes.resolveComponentFactory(res.component), 0, customInjector);
2183
+ const ref = this.vcRef.createComponent(res.component, {
2184
+ index: 0,
2185
+ injector: customInjector,
2186
+ });
2133
2187
  }
2134
2188
  else {
2135
2189
  this.vcRef.createEmbeddedView(this.templateRef, this.context);
@@ -2195,15 +2249,15 @@ class ReplaceableTemplateDirective {
2195
2249
  this.defaultComponentRef = null;
2196
2250
  }
2197
2251
  }
2198
- ReplaceableTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ReplaceableTemplateDirective, deps: [{ token: i0.Injector }, { token: i0.TemplateRef }, { token: i0.ComponentFactoryResolver }, { token: i0.ViewContainerRef }, { token: ReplaceableComponentsService }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
2199
- ReplaceableTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: { data: ["abpReplaceableTemplate", "data"] }, providers: [SubscriptionService], usesOnChanges: true, ngImport: i0 });
2200
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ReplaceableTemplateDirective, decorators: [{
2252
+ ReplaceableTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ReplaceableTemplateDirective, deps: [{ token: i0.Injector }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: ReplaceableComponentsService }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
2253
+ ReplaceableTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: { data: ["abpReplaceableTemplate", "data"] }, providers: [SubscriptionService], usesOnChanges: true, ngImport: i0 });
2254
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ReplaceableTemplateDirective, decorators: [{
2201
2255
  type: Directive,
2202
2256
  args: [{
2203
2257
  selector: '[abpReplaceableTemplate]',
2204
2258
  providers: [SubscriptionService],
2205
2259
  }]
2206
- }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.TemplateRef }, { type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: ReplaceableComponentsService }, { type: SubscriptionService }]; }, propDecorators: { data: [{
2260
+ }], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: ReplaceableComponentsService }, { type: SubscriptionService }]; }, propDecorators: { data: [{
2207
2261
  type: Input,
2208
2262
  args: ['abpReplaceableTemplate']
2209
2263
  }] } });
@@ -2221,9 +2275,9 @@ class StopPropagationDirective {
2221
2275
  });
2222
2276
  }
2223
2277
  }
2224
- StopPropagationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: StopPropagationDirective, deps: [{ token: i0.ElementRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
2225
- StopPropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: StopPropagationDirective, selector: "[click.stop]", outputs: { stopPropEvent: "click.stop" }, providers: [SubscriptionService], ngImport: i0 });
2226
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: StopPropagationDirective, decorators: [{
2278
+ StopPropagationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StopPropagationDirective, deps: [{ token: i0.ElementRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
2279
+ StopPropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: StopPropagationDirective, selector: "[click.stop]", outputs: { stopPropEvent: "click.stop" }, providers: [SubscriptionService], ngImport: i0 });
2280
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: StopPropagationDirective, decorators: [{
2227
2281
  type: Directive,
2228
2282
  args: [{
2229
2283
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -2235,34 +2289,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
2235
2289
  args: ['click.stop']
2236
2290
  }] } });
2237
2291
 
2238
- class OAuthConfigurationHandler {
2239
- constructor(oAuthService, environmentService, options) {
2240
- this.oAuthService = oAuthService;
2241
- this.environmentService = environmentService;
2242
- this.options = options;
2243
- this.listenToSetEnvironment();
2244
- }
2245
- listenToSetEnvironment() {
2246
- this.environmentService
2247
- .createOnUpdateStream(state => state)
2248
- .pipe(map(environment => environment.oAuthConfig), filter(config => !compare(config, this.options.environment.oAuthConfig)))
2249
- .subscribe(config => {
2250
- this.oAuthService.configure(config);
2251
- });
2252
- }
2253
- }
2254
- OAuthConfigurationHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: OAuthConfigurationHandler, deps: [{ token: i1$3.OAuthService }, { token: EnvironmentService }, { token: CORE_OPTIONS }], target: i0.ɵɵFactoryTarget.Injectable });
2255
- OAuthConfigurationHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: OAuthConfigurationHandler, providedIn: 'root' });
2256
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: OAuthConfigurationHandler, decorators: [{
2257
- type: Injectable,
2258
- args: [{
2259
- providedIn: 'root',
2260
- }]
2261
- }], ctorParameters: function () { return [{ type: i1$3.OAuthService }, { type: EnvironmentService }, { type: undefined, decorators: [{
2262
- type: Inject,
2263
- args: [CORE_OPTIONS]
2264
- }] }]; } });
2265
-
2266
2292
  class RoutesHandler {
2267
2293
  constructor(routes, router) {
2268
2294
  this.routes = routes;
@@ -2282,9 +2308,9 @@ class RoutesHandler {
2282
2308
  });
2283
2309
  }
2284
2310
  }
2285
- RoutesHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RoutesHandler, deps: [{ token: RoutesService }, { token: i1$1.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2286
- RoutesHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RoutesHandler, providedIn: 'root' });
2287
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RoutesHandler, decorators: [{
2311
+ RoutesHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RoutesHandler, deps: [{ token: RoutesService }, { token: i1$1.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2312
+ RoutesHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RoutesHandler, providedIn: 'root' });
2313
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RoutesHandler, decorators: [{
2288
2314
  type: Injectable,
2289
2315
  args: [{
2290
2316
  providedIn: 'root',
@@ -2306,139 +2332,6 @@ function flatRoutes(routes, parent) {
2306
2332
  }, []);
2307
2333
  }
2308
2334
 
2309
- function getPathName(url) {
2310
- const { pathname } = new URL(url, window.location.origin);
2311
- return pathname;
2312
- }
2313
- class WebHttpUrlEncodingCodec {
2314
- encodeKey(k) {
2315
- return encodeURIComponent(k);
2316
- }
2317
- encodeValue(v) {
2318
- return encodeURIComponent(v);
2319
- }
2320
- decodeKey(k) {
2321
- return decodeURIComponent(k);
2322
- }
2323
- decodeValue(v) {
2324
- return decodeURIComponent(v);
2325
- }
2326
- }
2327
-
2328
- const LOADER_DELAY = new InjectionToken('LOADER_DELAY');
2329
-
2330
- class HttpWaitService {
2331
- constructor(injector) {
2332
- this.store = new InternalStore({
2333
- requests: [],
2334
- filteredRequests: [],
2335
- });
2336
- this.destroy$ = new Subject();
2337
- this.delay = injector.get(LOADER_DELAY, 500);
2338
- }
2339
- getLoading() {
2340
- return !!this.applyFilter(this.store.state.requests).length;
2341
- }
2342
- getLoading$() {
2343
- return this.store
2344
- .sliceState(({ requests }) => requests)
2345
- .pipe(map(requests => !!this.applyFilter(requests).length), switchMap(condition => condition
2346
- ? this.delay === 0
2347
- ? of(true)
2348
- : timer(this.delay).pipe(mapTo(true), takeUntil(this.destroy$))
2349
- : of(false)), tap(() => this.destroy$.next()));
2350
- }
2351
- updateLoading$() {
2352
- return this.store.sliceUpdate(({ requests }) => !!this.applyFilter(requests).length);
2353
- }
2354
- clearLoading() {
2355
- this.store.patch({ requests: [] });
2356
- }
2357
- addRequest(request) {
2358
- this.store.patch({ requests: [...this.store.state.requests, request] });
2359
- }
2360
- deleteRequest(request) {
2361
- const requests = this.store.state.requests.filter(r => r !== request);
2362
- this.store.patch({ requests });
2363
- }
2364
- addFilter(request) {
2365
- const requests = Array.isArray(request) ? request : [request];
2366
- const filteredRequests = [
2367
- ...this.store.state.filteredRequests.filter(f => !requests.some(r => this.isSameRequest(f, r))),
2368
- ...requests,
2369
- ];
2370
- this.store.patch({ filteredRequests });
2371
- }
2372
- removeFilter(request) {
2373
- const requests = Array.isArray(request) ? request : [request];
2374
- const filteredRequests = this.store.state.filteredRequests.filter(f => !requests.some(r => this.isSameRequest(f, r)));
2375
- this.store.patch({ filteredRequests });
2376
- }
2377
- applyFilter(requests) {
2378
- const { filteredRequests } = this.store.state;
2379
- return requests.filter(({ method, url }) => !filteredRequests.find(filteredRequest => this.isSameRequest(filteredRequest, { method, endpoint: getPathName(url) })));
2380
- }
2381
- isSameRequest(filteredRequest, request) {
2382
- const { method, endpoint } = filteredRequest;
2383
- return endpoint === request.endpoint && method === request.method;
2384
- }
2385
- }
2386
- HttpWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: HttpWaitService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2387
- HttpWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: HttpWaitService, providedIn: 'root' });
2388
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: HttpWaitService, decorators: [{
2389
- type: Injectable,
2390
- args: [{
2391
- providedIn: 'root',
2392
- }]
2393
- }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
2394
-
2395
- const TENANT_KEY = new InjectionToken('TENANT_KEY');
2396
-
2397
- class ApiInterceptor {
2398
- constructor(oAuthService, sessionState, httpWaitService, tenantKey) {
2399
- this.oAuthService = oAuthService;
2400
- this.sessionState = sessionState;
2401
- this.httpWaitService = httpWaitService;
2402
- this.tenantKey = tenantKey;
2403
- }
2404
- intercept(request, next) {
2405
- this.httpWaitService.addRequest(request);
2406
- return next
2407
- .handle(request.clone({
2408
- setHeaders: this.getAdditionalHeaders(request.headers),
2409
- }))
2410
- .pipe(finalize(() => this.httpWaitService.deleteRequest(request)));
2411
- }
2412
- getAdditionalHeaders(existingHeaders) {
2413
- const headers = {};
2414
- const token = this.oAuthService.getAccessToken();
2415
- if (!existingHeaders?.has('Authorization') && token) {
2416
- headers['Authorization'] = `Bearer ${token}`;
2417
- }
2418
- const lang = this.sessionState.getLanguage();
2419
- if (!existingHeaders?.has('Accept-Language') && lang) {
2420
- headers['Accept-Language'] = lang;
2421
- }
2422
- const tenant = this.sessionState.getTenant();
2423
- if (!existingHeaders?.has(this.tenantKey) && tenant?.id) {
2424
- headers[this.tenantKey] = tenant.id;
2425
- }
2426
- headers['X-Requested-With'] = 'XMLHttpRequest';
2427
- return headers;
2428
- }
2429
- }
2430
- ApiInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ApiInterceptor, deps: [{ token: i1$3.OAuthService }, { token: SessionStateService }, { token: HttpWaitService }, { token: TENANT_KEY }], target: i0.ɵɵFactoryTarget.Injectable });
2431
- ApiInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ApiInterceptor, providedIn: 'root' });
2432
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ApiInterceptor, decorators: [{
2433
- type: Injectable,
2434
- args: [{
2435
- providedIn: 'root',
2436
- }]
2437
- }], ctorParameters: function () { return [{ type: i1$3.OAuthService }, { type: SessionStateService }, { type: HttpWaitService }, { type: undefined, decorators: [{
2438
- type: Inject,
2439
- args: [TENANT_KEY]
2440
- }] }]; } });
2441
-
2442
2335
  class LocalizationPipe {
2443
2336
  constructor(localization) {
2444
2337
  this.localization = localization;
@@ -2456,10 +2349,10 @@ class LocalizationPipe {
2456
2349
  return this.localization.instant(value, ...params);
2457
2350
  }
2458
2351
  }
2459
- LocalizationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: LocalizationPipe, deps: [{ token: LocalizationService }], target: i0.ɵɵFactoryTarget.Pipe });
2460
- LocalizationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: LocalizationPipe, name: "abpLocalization" });
2461
- LocalizationPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: LocalizationPipe });
2462
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: LocalizationPipe, decorators: [{
2352
+ LocalizationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizationPipe, deps: [{ token: LocalizationService }], target: i0.ɵɵFactoryTarget.Pipe });
2353
+ LocalizationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: LocalizationPipe, name: "abpLocalization" });
2354
+ LocalizationPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizationPipe });
2355
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizationPipe, decorators: [{
2463
2356
  type: Injectable
2464
2357
  }, {
2465
2358
  type: Pipe,
@@ -2470,10 +2363,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
2470
2363
 
2471
2364
  class LocalizationModule {
2472
2365
  }
2473
- LocalizationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: LocalizationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2474
- LocalizationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: LocalizationModule, declarations: [LocalizationPipe], exports: [LocalizationPipe] });
2475
- LocalizationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: LocalizationModule });
2476
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: LocalizationModule, decorators: [{
2366
+ LocalizationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2367
+ LocalizationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: LocalizationModule, declarations: [LocalizationPipe], exports: [LocalizationPipe] });
2368
+ LocalizationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizationModule });
2369
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LocalizationModule, decorators: [{
2477
2370
  type: NgModule,
2478
2371
  args: [{
2479
2372
  exports: [LocalizationPipe],
@@ -2516,10 +2409,10 @@ class SortPipe {
2516
2409
  return sortOrder === 'asc' ? sorted : sorted.reverse();
2517
2410
  }
2518
2411
  }
2519
- SortPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: SortPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
2520
- SortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: SortPipe, name: "abpSort" });
2521
- SortPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: SortPipe });
2522
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: SortPipe, decorators: [{
2412
+ SortPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SortPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
2413
+ SortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: SortPipe, name: "abpSort" });
2414
+ SortPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SortPipe });
2415
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: SortPipe, decorators: [{
2523
2416
  type: Injectable
2524
2417
  }, {
2525
2418
  type: Pipe,
@@ -2546,9 +2439,9 @@ class ToInjectorPipe {
2546
2439
  });
2547
2440
  }
2548
2441
  }
2549
- ToInjectorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ToInjectorPipe, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Pipe });
2550
- ToInjectorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: ToInjectorPipe, name: "toInjector" });
2551
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ToInjectorPipe, decorators: [{
2442
+ ToInjectorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ToInjectorPipe, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Pipe });
2443
+ ToInjectorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: ToInjectorPipe, name: "toInjector" });
2444
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ToInjectorPipe, decorators: [{
2552
2445
  type: Pipe,
2553
2446
  args: [{
2554
2447
  name: 'toInjector',
@@ -2596,264 +2489,13 @@ const LocaleProvider = {
2596
2489
  deps: [LocalizationService],
2597
2490
  };
2598
2491
 
2599
- const cookieKey = 'rememberMe';
2600
- const storageKey = 'passwordFlow';
2601
- function pipeToLogin(params, injector) {
2602
- const configState = injector.get(ConfigStateService);
2603
- const router = injector.get(Router);
2604
- return pipe(switchMap(() => configState.refreshAppState()), tap(() => {
2605
- setRememberMe(params.rememberMe);
2606
- if (params.redirectUrl)
2607
- router.navigate([params.redirectUrl]);
2608
- }));
2609
- }
2610
- function setTokenResponseToStorage(injector, tokenRes) {
2611
- const { access_token, refresh_token, scope: grantedScopes, expires_in } = tokenRes;
2612
- const storage = injector.get(OAuthStorage);
2613
- storage.setItem('access_token', access_token);
2614
- storage.setItem('refresh_token', refresh_token);
2615
- storage.setItem('access_token_stored_at', '' + Date.now());
2616
- if (grantedScopes) {
2617
- storage.setItem('granted_scopes', JSON.stringify(grantedScopes.split(' ')));
2618
- }
2619
- if (expires_in) {
2620
- const expiresInMilliSeconds = expires_in * 1000;
2621
- const now = new Date();
2622
- const expiresAt = now.getTime() + expiresInMilliSeconds;
2623
- storage.setItem('expires_at', '' + expiresAt);
2624
- }
2625
- }
2626
- function setRememberMe(remember) {
2627
- removeRememberMe();
2628
- localStorage.setItem(storageKey, 'true');
2629
- document.cookie = `${cookieKey}=true; path=/${remember ? ' ;expires=Fri, 31 Dec 9999 23:59:59 GMT' : ''}`;
2630
- }
2631
- function removeRememberMe() {
2632
- localStorage.removeItem(storageKey);
2633
- document.cookie = cookieKey + '= ; path=/; expires = Thu, 01 Jan 1970 00:00:00 GMT';
2634
- }
2635
-
2636
- const oAuthStorage = localStorage;
2637
- class AuthFlowStrategy {
2638
- constructor(injector) {
2639
- this.injector = injector;
2640
- this.catchError = err => {
2641
- this.httpErrorReporter.reportError(err);
2642
- return of(null);
2643
- };
2644
- this.httpErrorReporter = injector.get(HttpErrorReporterService);
2645
- this.environment = injector.get(EnvironmentService);
2646
- this.configState = injector.get(ConfigStateService);
2647
- this.oAuthService = injector.get(OAuthService);
2648
- this.sessionState = injector.get(SessionStateService);
2649
- this.oAuthConfig = this.environment.getEnvironment().oAuthConfig;
2650
- this.tenantKey = injector.get(TENANT_KEY);
2651
- this.listenToOauthErrors();
2652
- }
2653
- async init() {
2654
- const shouldClear = shouldStorageClear(this.environment.getEnvironment().oAuthConfig.clientId, oAuthStorage);
2655
- if (shouldClear)
2656
- clearOAuthStorage(oAuthStorage);
2657
- this.oAuthService.configure(this.oAuthConfig);
2658
- this.oAuthService.events
2659
- .pipe(filter(event => event.type === 'token_refresh_error'))
2660
- .subscribe(() => this.navigateToLogin());
2661
- return this.oAuthService
2662
- .loadDiscoveryDocument()
2663
- .then(() => {
2664
- if (this.oAuthService.hasValidAccessToken() || !this.oAuthService.getRefreshToken()) {
2665
- return Promise.resolve();
2666
- }
2667
- return this.refreshToken();
2668
- })
2669
- .catch(this.catchError);
2670
- }
2671
- refreshToken() {
2672
- return this.oAuthService.refreshToken().catch(() => clearOAuthStorage());
2673
- }
2674
- listenToOauthErrors() {
2675
- this.oAuthService.events
2676
- .pipe(filter(event => event instanceof OAuthErrorEvent), tap(() => clearOAuthStorage()), switchMap(() => this.configState.refreshAppState()))
2677
- .subscribe();
2678
- }
2679
- }
2680
- class AuthCodeFlowStrategy extends AuthFlowStrategy {
2681
- constructor() {
2682
- super(...arguments);
2683
- this.isInternalAuth = false;
2684
- }
2685
- async init() {
2686
- return super
2687
- .init()
2688
- .then(() => this.oAuthService.tryLogin().catch(noop))
2689
- .then(() => this.oAuthService.setupAutomaticSilentRefresh({}, 'access_token'));
2690
- }
2691
- navigateToLogin(queryParams) {
2692
- this.oAuthService.initCodeFlow('', this.getCultureParams(queryParams));
2693
- }
2694
- checkIfInternalAuth(queryParams) {
2695
- this.oAuthService.initCodeFlow('', this.getCultureParams(queryParams));
2696
- return false;
2697
- }
2698
- logout(queryParams) {
2699
- return from(this.oAuthService.revokeTokenAndLogout(this.getCultureParams(queryParams)));
2700
- }
2701
- login(queryParams) {
2702
- this.oAuthService.initCodeFlow('', this.getCultureParams(queryParams));
2703
- return of(null);
2704
- }
2705
- getCultureParams(queryParams) {
2706
- const lang = this.sessionState.getLanguage();
2707
- const culture = { culture: lang, 'ui-culture': lang };
2708
- return { ...(lang && culture), ...queryParams };
2709
- }
2710
- }
2711
- class AuthPasswordFlowStrategy extends AuthFlowStrategy {
2712
- constructor() {
2713
- super(...arguments);
2714
- this.isInternalAuth = true;
2715
- this.cookieKey = 'rememberMe';
2716
- this.storageKey = 'passwordFlow';
2717
- }
2718
- listenToTokenExpiration() {
2719
- this.oAuthService.events
2720
- .pipe(filter(event => event instanceof OAuthInfoEvent &&
2721
- event.type === 'token_expires' &&
2722
- event.info === 'access_token'))
2723
- .subscribe(() => {
2724
- if (this.oAuthService.getRefreshToken()) {
2725
- this.refreshToken();
2726
- }
2727
- else {
2728
- this.oAuthService.logOut();
2729
- removeRememberMe();
2730
- this.configState.refreshAppState().subscribe();
2731
- }
2732
- });
2733
- }
2734
- async init() {
2735
- if (!getCookieValueByName(this.cookieKey) && localStorage.getItem(this.storageKey)) {
2736
- this.oAuthService.logOut();
2737
- }
2738
- return super.init().then(() => this.listenToTokenExpiration());
2739
- }
2740
- navigateToLogin(queryParams) {
2741
- const router = this.injector.get(Router);
2742
- router.navigate(['/account/login'], { queryParams });
2743
- }
2744
- checkIfInternalAuth() {
2745
- return true;
2746
- }
2747
- login(params) {
2748
- const tenant = this.sessionState.getTenant();
2749
- return from(this.oAuthService.fetchTokenUsingPasswordFlow(params.username, params.password, new HttpHeaders({ ...(tenant && tenant.id && { [this.tenantKey]: tenant.id }) }))).pipe(this.pipeToLogin(params));
2750
- }
2751
- pipeToLogin(params) {
2752
- const router = this.injector.get(Router);
2753
- return pipe(switchMap(() => this.configState.refreshAppState()), tap(() => {
2754
- setRememberMe(params.rememberMe);
2755
- if (params.redirectUrl)
2756
- router.navigate([params.redirectUrl]);
2757
- }));
2758
- }
2759
- logout(queryParams) {
2760
- const router = this.injector.get(Router);
2761
- return from(this.oAuthService.revokeTokenAndLogout(queryParams)).pipe(switchMap(() => this.configState.refreshAppState()), tap(() => {
2762
- router.navigateByUrl('/');
2763
- removeRememberMe();
2764
- }));
2765
- }
2766
- refreshToken() {
2767
- return this.oAuthService.refreshToken().catch(() => {
2768
- clearOAuthStorage();
2769
- removeRememberMe();
2770
- });
2771
- }
2772
- }
2773
- const AUTH_FLOW_STRATEGY = {
2774
- Code(injector) {
2775
- return new AuthCodeFlowStrategy(injector);
2776
- },
2777
- Password(injector) {
2778
- return new AuthPasswordFlowStrategy(injector);
2779
- },
2780
- };
2781
- function clearOAuthStorage(storage = oAuthStorage) {
2782
- const keys = [
2783
- 'access_token',
2784
- 'id_token',
2785
- 'refresh_token',
2786
- 'nonce',
2787
- 'PKCE_verifier',
2788
- 'expires_at',
2789
- 'id_token_claims_obj',
2790
- 'id_token_expires_at',
2791
- 'id_token_stored_at',
2792
- 'access_token_stored_at',
2793
- 'granted_scopes',
2794
- 'session_state',
2795
- ];
2796
- keys.forEach(key => storage.removeItem(key));
2797
- }
2798
- function shouldStorageClear(clientId, storage) {
2799
- const key = 'abpOAuthClientId';
2800
- if (!storage.getItem(key)) {
2801
- storage.setItem(key, clientId);
2802
- return false;
2803
- }
2804
- const shouldClear = storage.getItem(key) !== clientId;
2805
- if (shouldClear)
2806
- storage.setItem(key, clientId);
2807
- return shouldClear;
2808
- }
2809
- function getCookieValueByName(name) {
2810
- const match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)'));
2811
- return match ? match[2] : '';
2812
- }
2492
+ const TENANT_KEY = new InjectionToken('TENANT_KEY');
2813
2493
 
2814
2494
  Date.prototype.toLocalISOString = function () {
2815
2495
  const timezoneOffset = this.getTimezoneOffset();
2816
2496
  return new Date(this.getTime() - timezoneOffset * 60000).toISOString();
2817
2497
  };
2818
2498
 
2819
- class AuthService {
2820
- constructor(injector) {
2821
- this.injector = injector;
2822
- }
2823
- get isInternalAuth() {
2824
- return this.strategy.isInternalAuth;
2825
- }
2826
- async init() {
2827
- const environmentService = this.injector.get(EnvironmentService);
2828
- return environmentService
2829
- .getEnvironment$()
2830
- .pipe(map(env => env?.oAuthConfig), filter(oAuthConfig => !!oAuthConfig), tap(oAuthConfig => {
2831
- this.strategy =
2832
- oAuthConfig.responseType === 'code'
2833
- ? AUTH_FLOW_STRATEGY.Code(this.injector)
2834
- : AUTH_FLOW_STRATEGY.Password(this.injector);
2835
- }), switchMap(() => from(this.strategy.init())), take(1))
2836
- .toPromise();
2837
- }
2838
- logout(queryParams) {
2839
- return this.strategy.logout(queryParams);
2840
- }
2841
- navigateToLogin(queryParams) {
2842
- this.strategy.navigateToLogin(queryParams);
2843
- }
2844
- login(params) {
2845
- return this.strategy.login(params);
2846
- }
2847
- }
2848
- AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AuthService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2849
- AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AuthService, providedIn: 'root' });
2850
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AuthService, decorators: [{
2851
- type: Injectable,
2852
- args: [{
2853
- providedIn: 'root',
2854
- }]
2855
- }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
2856
-
2857
2499
  const APP_INIT_ERROR_HANDLERS = new InjectionToken('APP_INIT_ERROR_HANDLERS');
2858
2500
 
2859
2501
  function getRemoteEnv(injector, environment) {
@@ -2900,9 +2542,9 @@ class AbpTenantService {
2900
2542
  }, { apiName: this.apiName });
2901
2543
  }
2902
2544
  }
2903
- AbpTenantService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AbpTenantService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
2904
- AbpTenantService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AbpTenantService, providedIn: 'root' });
2905
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AbpTenantService, decorators: [{
2545
+ AbpTenantService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpTenantService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
2546
+ AbpTenantService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpTenantService, providedIn: 'root' });
2547
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpTenantService, decorators: [{
2906
2548
  type: Injectable,
2907
2549
  args: [{
2908
2550
  providedIn: 'root',
@@ -2935,9 +2577,9 @@ class MultiTenancyService {
2935
2577
  .pipe(switchMap(this.setTenantToState));
2936
2578
  }
2937
2579
  }
2938
- MultiTenancyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: MultiTenancyService, deps: [{ token: RestService }, { token: SessionStateService }, { token: AbpTenantService }, { token: ConfigStateService }, { token: TENANT_KEY }], target: i0.ɵɵFactoryTarget.Injectable });
2939
- MultiTenancyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: MultiTenancyService, providedIn: 'root' });
2940
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: MultiTenancyService, decorators: [{
2580
+ MultiTenancyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MultiTenancyService, deps: [{ token: RestService }, { token: SessionStateService }, { token: AbpTenantService }, { token: ConfigStateService }, { token: TENANT_KEY }], target: i0.ɵɵFactoryTarget.Injectable });
2581
+ MultiTenancyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MultiTenancyService, providedIn: 'root' });
2582
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: MultiTenancyService, decorators: [{
2941
2583
  type: Injectable,
2942
2584
  args: [{ providedIn: 'root' }]
2943
2585
  }], ctorParameters: function () { return [{ type: RestService }, { type: SessionStateService }, { type: AbpTenantService }, { type: ConfigStateService }, { type: undefined, decorators: [{
@@ -3018,6 +2660,8 @@ function replaceTenantNameWithinEnvironment(injector, tenancyName, placeholder =
3018
2660
  return environmentService.setState(environment);
3019
2661
  }
3020
2662
 
2663
+ const CHECK_AUTHENTICATION_STATE_FN_KEY = new InjectionToken('CHECK_AUTHENTICATION_STATE_FN_KEY');
2664
+
3021
2665
  function getInitialData(injector) {
3022
2666
  const fn = async () => {
3023
2667
  const environmentService = injector.get(EnvironmentService);
@@ -3026,12 +2670,16 @@ function getInitialData(injector) {
3026
2670
  environmentService.setState(options.environment);
3027
2671
  await getRemoteEnv(injector, options.environment);
3028
2672
  await parseTenantFromUrl(injector);
3029
- await injector.get(AuthService).init();
2673
+ const authService = injector.get(AuthService, undefined, { optional: true });
2674
+ const checkAuthenticationState = injector.get(CHECK_AUTHENTICATION_STATE_FN_KEY, noop, {
2675
+ optional: true,
2676
+ });
2677
+ if (authService) {
2678
+ await authService.init();
2679
+ }
3030
2680
  if (options.skipGetAppConfiguration)
3031
2681
  return;
3032
- return configState
3033
- .refreshAppState()
3034
- .pipe(tap(() => checkAccessToken(injector)), tap(() => {
2682
+ const result$ = configState.refreshAppState().pipe(tap(() => checkAuthenticationState(injector)), tap(() => {
3035
2683
  const currentTenant = configState.getOne('currentTenant');
3036
2684
  injector.get(SessionStateService).setTenant(currentTenant);
3037
2685
  }), catchError(error => {
@@ -3040,18 +2688,11 @@ function getInitialData(injector) {
3040
2688
  appInitErrorHandlers.forEach(func => func(error));
3041
2689
  }
3042
2690
  return throwError(error);
3043
- }))
3044
- .toPromise();
2691
+ }));
2692
+ await lastValueFrom(result$);
3045
2693
  };
3046
2694
  return fn;
3047
2695
  }
3048
- function checkAccessToken(injector) {
3049
- const configState = injector.get(ConfigStateService);
3050
- const oAuth = injector.get(OAuthService);
3051
- if (oAuth.hasValidAccessToken() && !configState.getDeep('currentUser.id')) {
3052
- clearOAuthStorage();
3053
- }
3054
- }
3055
2696
  function localeInitializer(injector) {
3056
2697
  const fn = () => {
3057
2698
  const sessionState = injector.get(SessionStateService);
@@ -3076,9 +2717,9 @@ class ContentProjectionService {
3076
2717
  return projectionStrategy.injectContent(injector);
3077
2718
  }
3078
2719
  }
3079
- ContentProjectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ContentProjectionService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
3080
- ContentProjectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ContentProjectionService, providedIn: 'root' });
3081
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ContentProjectionService, decorators: [{
2720
+ ContentProjectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ContentProjectionService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2721
+ ContentProjectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ContentProjectionService, providedIn: 'root' });
2722
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ContentProjectionService, decorators: [{
3082
2723
  type: Injectable,
3083
2724
  args: [{ providedIn: 'root' }]
3084
2725
  }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
@@ -3181,6 +2822,25 @@ function generatePassword(length = 8) {
3181
2822
  return password.sort(() => 0.5 - Math.random()).join('');
3182
2823
  }
3183
2824
 
2825
+ function getPathName(url) {
2826
+ const { pathname } = new URL(url, window.location.origin);
2827
+ return pathname;
2828
+ }
2829
+ class WebHttpUrlEncodingCodec {
2830
+ encodeKey(k) {
2831
+ return encodeURIComponent(k);
2832
+ }
2833
+ encodeValue(v) {
2834
+ return encodeURIComponent(v);
2835
+ }
2836
+ decodeKey(k) {
2837
+ return decodeURIComponent(k);
2838
+ }
2839
+ decodeValue(v) {
2840
+ return decodeURIComponent(v);
2841
+ }
2842
+ }
2843
+
3184
2844
  class CrossOriginStrategy {
3185
2845
  constructor(crossorigin, integrity) {
3186
2846
  this.crossorigin = crossorigin;
@@ -3293,13 +2953,80 @@ class DomInsertionService {
3293
2953
  return this.inserted.has(hash);
3294
2954
  }
3295
2955
  }
3296
- DomInsertionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DomInsertionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3297
- DomInsertionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DomInsertionService, providedIn: 'root' });
3298
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: DomInsertionService, decorators: [{
2956
+ DomInsertionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DomInsertionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2957
+ DomInsertionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DomInsertionService, providedIn: 'root' });
2958
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DomInsertionService, decorators: [{
3299
2959
  type: Injectable,
3300
2960
  args: [{ providedIn: 'root' }]
3301
2961
  }] });
3302
2962
 
2963
+ const LOADER_DELAY = new InjectionToken('LOADER_DELAY');
2964
+
2965
+ class HttpWaitService {
2966
+ constructor(injector) {
2967
+ this.store = new InternalStore({
2968
+ requests: [],
2969
+ filteredRequests: [],
2970
+ });
2971
+ this.destroy$ = new Subject();
2972
+ this.delay = injector.get(LOADER_DELAY, 500);
2973
+ }
2974
+ getLoading() {
2975
+ return !!this.applyFilter(this.store.state.requests).length;
2976
+ }
2977
+ getLoading$() {
2978
+ return this.store
2979
+ .sliceState(({ requests }) => requests)
2980
+ .pipe(map(requests => !!this.applyFilter(requests).length), switchMap(condition => condition
2981
+ ? this.delay === 0
2982
+ ? of(true)
2983
+ : timer(this.delay).pipe(mapTo(true), takeUntil(this.destroy$))
2984
+ : of(false)), tap(() => this.destroy$.next()));
2985
+ }
2986
+ updateLoading$() {
2987
+ return this.store.sliceUpdate(({ requests }) => !!this.applyFilter(requests).length);
2988
+ }
2989
+ clearLoading() {
2990
+ this.store.patch({ requests: [] });
2991
+ }
2992
+ addRequest(request) {
2993
+ this.store.patch({ requests: [...this.store.state.requests, request] });
2994
+ }
2995
+ deleteRequest(request) {
2996
+ const requests = this.store.state.requests.filter(r => r !== request);
2997
+ this.store.patch({ requests });
2998
+ }
2999
+ addFilter(request) {
3000
+ const requests = Array.isArray(request) ? request : [request];
3001
+ const filteredRequests = [
3002
+ ...this.store.state.filteredRequests.filter(f => !requests.some(r => this.isSameRequest(f, r))),
3003
+ ...requests,
3004
+ ];
3005
+ this.store.patch({ filteredRequests });
3006
+ }
3007
+ removeFilter(request) {
3008
+ const requests = Array.isArray(request) ? request : [request];
3009
+ const filteredRequests = this.store.state.filteredRequests.filter(f => !requests.some(r => this.isSameRequest(f, r)));
3010
+ this.store.patch({ filteredRequests });
3011
+ }
3012
+ applyFilter(requests) {
3013
+ const { filteredRequests } = this.store.state;
3014
+ return requests.filter(({ method, url }) => !filteredRequests.find(filteredRequest => this.isSameRequest(filteredRequest, { method, endpoint: getPathName(url) })));
3015
+ }
3016
+ isSameRequest(filteredRequest, request) {
3017
+ const { method, endpoint } = filteredRequest;
3018
+ return endpoint === request.endpoint && method === request.method;
3019
+ }
3020
+ }
3021
+ HttpWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: HttpWaitService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
3022
+ HttpWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: HttpWaitService, providedIn: 'root' });
3023
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: HttpWaitService, decorators: [{
3024
+ type: Injectable,
3025
+ args: [{
3026
+ providedIn: 'root',
3027
+ }]
3028
+ }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
3029
+
3303
3030
  class ResourceWaitService {
3304
3031
  constructor() {
3305
3032
  this.store = new InternalStore({ resources: new Set() });
@@ -3327,9 +3054,9 @@ class ResourceWaitService {
3327
3054
  this.store.patch({ resources });
3328
3055
  }
3329
3056
  }
3330
- ResourceWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ResourceWaitService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3331
- ResourceWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ResourceWaitService, providedIn: 'root' });
3332
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ResourceWaitService, decorators: [{
3057
+ ResourceWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ResourceWaitService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3058
+ ResourceWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ResourceWaitService, providedIn: 'root' });
3059
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ResourceWaitService, decorators: [{
3333
3060
  type: Injectable,
3334
3061
  args: [{
3335
3062
  providedIn: 'root',
@@ -3359,9 +3086,9 @@ class LazyLoadService {
3359
3086
  return true;
3360
3087
  }
3361
3088
  }
3362
- LazyLoadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: LazyLoadService, deps: [{ token: ResourceWaitService }], target: i0.ɵɵFactoryTarget.Injectable });
3363
- LazyLoadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: LazyLoadService, providedIn: 'root' });
3364
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: LazyLoadService, decorators: [{
3089
+ LazyLoadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LazyLoadService, deps: [{ token: ResourceWaitService }], target: i0.ɵɵFactoryTarget.Injectable });
3090
+ LazyLoadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LazyLoadService, providedIn: 'root' });
3091
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: LazyLoadService, decorators: [{
3365
3092
  type: Injectable,
3366
3093
  args: [{
3367
3094
  providedIn: 'root',
@@ -3461,9 +3188,9 @@ class ListService {
3461
3188
  });
3462
3189
  }
3463
3190
  }
3464
- ListService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ListService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
3465
- ListService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ListService });
3466
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ListService, decorators: [{
3191
+ ListService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ListService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
3192
+ ListService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ListService });
3193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ListService, decorators: [{
3467
3194
  type: Injectable
3468
3195
  }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
3469
3196
 
@@ -3500,9 +3227,9 @@ class RouterWaitService {
3500
3227
  this.store.patch({ loading });
3501
3228
  }
3502
3229
  }
3503
- RouterWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterWaitService, deps: [{ token: RouterEvents }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
3504
- RouterWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterWaitService, providedIn: 'root' });
3505
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RouterWaitService, decorators: [{
3230
+ RouterWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RouterWaitService, deps: [{ token: RouterEvents }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
3231
+ RouterWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RouterWaitService, providedIn: 'root' });
3232
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RouterWaitService, decorators: [{
3506
3233
  type: Injectable,
3507
3234
  args: [{
3508
3235
  providedIn: 'root',
@@ -3519,28 +3246,15 @@ class TrackByService {
3519
3246
  this.byDeep = trackByDeep;
3520
3247
  }
3521
3248
  }
3522
- TrackByService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TrackByService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3523
- TrackByService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TrackByService, providedIn: 'root' });
3524
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TrackByService, decorators: [{
3249
+ TrackByService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TrackByService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3250
+ TrackByService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TrackByService, providedIn: 'root' });
3251
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: TrackByService, decorators: [{
3525
3252
  type: Injectable,
3526
3253
  args: [{
3527
3254
  providedIn: 'root',
3528
3255
  }]
3529
3256
  }] });
3530
3257
 
3531
- class TimeoutLimitedOAuthService extends OAuthService {
3532
- calcTimeout(storedAt, expiration) {
3533
- const result = super.calcTimeout(storedAt, expiration);
3534
- const MAX_TIMEOUT_DURATION = 2147483647;
3535
- return result < MAX_TIMEOUT_DURATION ? result : MAX_TIMEOUT_DURATION - 1;
3536
- }
3537
- }
3538
- TimeoutLimitedOAuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TimeoutLimitedOAuthService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
3539
- TimeoutLimitedOAuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TimeoutLimitedOAuthService });
3540
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: TimeoutLimitedOAuthService, decorators: [{
3541
- type: Injectable
3542
- }] });
3543
-
3544
3258
  class ShortDateTimePipe extends DatePipe {
3545
3259
  constructor(configStateService, locale, defaultTimezone) {
3546
3260
  super(locale, defaultTimezone);
@@ -3551,9 +3265,9 @@ class ShortDateTimePipe extends DatePipe {
3551
3265
  return super.transform(value, format, timezone, locale);
3552
3266
  }
3553
3267
  }
3554
- ShortDateTimePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ShortDateTimePipe, deps: [{ token: ConfigStateService }, { token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
3555
- ShortDateTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: ShortDateTimePipe, name: "shortDateTime" });
3556
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ShortDateTimePipe, decorators: [{
3268
+ ShortDateTimePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ShortDateTimePipe, deps: [{ token: ConfigStateService }, { token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
3269
+ ShortDateTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: ShortDateTimePipe, name: "shortDateTime" });
3270
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ShortDateTimePipe, decorators: [{
3557
3271
  type: Pipe,
3558
3272
  args: [{
3559
3273
  name: 'shortDateTime',
@@ -3579,9 +3293,9 @@ class ShortTimePipe extends DatePipe {
3579
3293
  return super.transform(value, format, timezone, locale);
3580
3294
  }
3581
3295
  }
3582
- ShortTimePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ShortTimePipe, deps: [{ token: ConfigStateService }, { token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
3583
- ShortTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: ShortTimePipe, name: "shortTime" });
3584
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ShortTimePipe, decorators: [{
3296
+ ShortTimePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ShortTimePipe, deps: [{ token: ConfigStateService }, { token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
3297
+ ShortTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: ShortTimePipe, name: "shortTime" });
3298
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ShortTimePipe, decorators: [{
3585
3299
  type: Pipe,
3586
3300
  args: [{
3587
3301
  name: 'shortTime',
@@ -3607,9 +3321,9 @@ class ShortDatePipe extends DatePipe {
3607
3321
  return super.transform(value, format, timezone, locale);
3608
3322
  }
3609
3323
  }
3610
- ShortDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ShortDatePipe, deps: [{ token: ConfigStateService }, { token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
3611
- ShortDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: ShortDatePipe, name: "shortDate" });
3612
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: ShortDatePipe, decorators: [{
3324
+ ShortDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ShortDatePipe, deps: [{ token: ConfigStateService }, { token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
3325
+ ShortDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: ShortDatePipe, name: "shortDate" });
3326
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ShortDatePipe, decorators: [{
3613
3327
  type: Pipe,
3614
3328
  args: [{
3615
3329
  name: 'shortDate',
@@ -3630,9 +3344,6 @@ const IncludeLocalizationResourcesProvider = {
3630
3344
  useValue: false,
3631
3345
  };
3632
3346
 
3633
- function storageFactory() {
3634
- return oAuthStorage;
3635
- }
3636
3347
  /**
3637
3348
  * BaseCoreModule is the module that holds
3638
3349
  * all imports, declarations, exports, and entryComponents
@@ -3641,8 +3352,8 @@ function storageFactory() {
3641
3352
  */
3642
3353
  class BaseCoreModule {
3643
3354
  }
3644
- BaseCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BaseCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3645
- BaseCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: BaseCoreModule, declarations: [AbstractNgModelComponent,
3355
+ BaseCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BaseCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3356
+ BaseCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: BaseCoreModule, declarations: [AbstractNgModelComponent,
3646
3357
  AutofocusDirective,
3647
3358
  DynamicLayoutComponent,
3648
3359
  ForDirective,
@@ -3658,8 +3369,7 @@ BaseCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
3658
3369
  ToInjectorPipe,
3659
3370
  ShortDateTimePipe,
3660
3371
  ShortTimePipe,
3661
- ShortDatePipe], imports: [OAuthModule,
3662
- CommonModule,
3372
+ ShortDatePipe], imports: [CommonModule,
3663
3373
  HttpClientModule,
3664
3374
  FormsModule,
3665
3375
  ReactiveFormsModule,
@@ -3687,8 +3397,7 @@ BaseCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
3687
3397
  ShortDateTimePipe,
3688
3398
  ShortTimePipe,
3689
3399
  ShortDatePipe] });
3690
- BaseCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BaseCoreModule, providers: [LocalizationPipe], imports: [OAuthModule,
3691
- CommonModule,
3400
+ BaseCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BaseCoreModule, providers: [LocalizationPipe], imports: [CommonModule,
3692
3401
  HttpClientModule,
3693
3402
  FormsModule,
3694
3403
  ReactiveFormsModule,
@@ -3699,7 +3408,7 @@ BaseCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version:
3699
3408
  ReactiveFormsModule,
3700
3409
  RouterModule,
3701
3410
  LocalizationModule] });
3702
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: BaseCoreModule, decorators: [{
3411
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BaseCoreModule, decorators: [{
3703
3412
  type: NgModule,
3704
3413
  args: [{
3705
3414
  exports: [
@@ -3728,7 +3437,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
3728
3437
  ShortDatePipe,
3729
3438
  ],
3730
3439
  imports: [
3731
- OAuthModule,
3732
3440
  CommonModule,
3733
3441
  HttpClientModule,
3734
3442
  FormsModule,
@@ -3764,24 +3472,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
3764
3472
  */
3765
3473
  class RootCoreModule {
3766
3474
  }
3767
- RootCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RootCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3768
- RootCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: RootCoreModule, imports: [BaseCoreModule, LocalizationModule,
3769
- OAuthModule, i1.HttpClientXsrfModule], exports: [BaseCoreModule, LocalizationModule] });
3770
- RootCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RootCoreModule, imports: [BaseCoreModule,
3475
+ RootCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RootCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3476
+ RootCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: RootCoreModule, imports: [BaseCoreModule, LocalizationModule, i1.HttpClientXsrfModule], exports: [BaseCoreModule, LocalizationModule] });
3477
+ RootCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RootCoreModule, imports: [BaseCoreModule,
3771
3478
  LocalizationModule,
3772
- OAuthModule,
3773
3479
  HttpClientXsrfModule.withOptions({
3774
3480
  cookieName: 'XSRF-TOKEN',
3775
3481
  headerName: 'RequestVerificationToken',
3776
3482
  }), BaseCoreModule, LocalizationModule] });
3777
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: RootCoreModule, decorators: [{
3483
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: RootCoreModule, decorators: [{
3778
3484
  type: NgModule,
3779
3485
  args: [{
3780
3486
  exports: [BaseCoreModule, LocalizationModule],
3781
3487
  imports: [
3782
3488
  BaseCoreModule,
3783
3489
  LocalizationModule,
3784
- OAuthModule,
3785
3490
  HttpClientXsrfModule.withOptions({
3786
3491
  cookieName: 'XSRF-TOKEN',
3787
3492
  headerName: 'RequestVerificationToken',
@@ -3797,7 +3502,6 @@ class CoreModule {
3797
3502
  return {
3798
3503
  ngModule: RootCoreModule,
3799
3504
  providers: [
3800
- OAuthModule.forRoot().providers,
3801
3505
  LocaleProvider,
3802
3506
  CookieLanguageProvider,
3803
3507
  {
@@ -3809,17 +3513,6 @@ class CoreModule {
3809
3513
  useFactory: coreOptionsFactory,
3810
3514
  deps: ['CORE_OPTIONS'],
3811
3515
  },
3812
- {
3813
- provide: HTTP_INTERCEPTORS,
3814
- useExisting: ApiInterceptor,
3815
- multi: true,
3816
- },
3817
- {
3818
- provide: APP_INITIALIZER,
3819
- multi: true,
3820
- deps: [OAuthConfigurationHandler],
3821
- useFactory: noop,
3822
- },
3823
3516
  {
3824
3517
  provide: APP_INITIALIZER,
3825
3518
  multi: true,
@@ -3844,8 +3537,6 @@ class CoreModule {
3844
3537
  deps: [RoutesHandler],
3845
3538
  useFactory: noop,
3846
3539
  },
3847
- { provide: OAuthStorage, useFactory: storageFactory },
3848
- { provide: OAuthService, useClass: TimeoutLimitedOAuthService },
3849
3540
  { provide: TENANT_KEY, useValue: options.tenantKey || '__tenant' },
3850
3541
  {
3851
3542
  provide: LOCALIZATIONS,
@@ -3853,7 +3544,7 @@ class CoreModule {
3853
3544
  useValue: localizationContributor(options.localizations),
3854
3545
  deps: [LocalizationService],
3855
3546
  },
3856
- IncludeLocalizationResourcesProvider
3547
+ IncludeLocalizationResourcesProvider,
3857
3548
  ],
3858
3549
  };
3859
3550
  }
@@ -3871,10 +3562,10 @@ class CoreModule {
3871
3562
  };
3872
3563
  }
3873
3564
  }
3874
- CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3875
- CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: CoreModule, imports: [BaseCoreModule], exports: [BaseCoreModule] });
3876
- CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CoreModule, imports: [BaseCoreModule, BaseCoreModule] });
3877
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: CoreModule, decorators: [{
3565
+ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3566
+ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: CoreModule, imports: [BaseCoreModule], exports: [BaseCoreModule] });
3567
+ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CoreModule, imports: [BaseCoreModule, BaseCoreModule] });
3568
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CoreModule, decorators: [{
3878
3569
  type: NgModule,
3879
3570
  args: [{
3880
3571
  exports: [BaseCoreModule],
@@ -3882,29 +3573,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
3882
3573
  }]
3883
3574
  }] });
3884
3575
 
3885
- class AuthGuard {
3886
- constructor(oauthService, authService) {
3887
- this.oauthService = oauthService;
3888
- this.authService = authService;
3889
- }
3890
- canActivate() {
3891
- const hasValidAccessToken = this.oauthService.hasValidAccessToken();
3892
- if (hasValidAccessToken) {
3893
- return true;
3894
- }
3895
- this.authService.navigateToLogin();
3896
- return false;
3897
- }
3898
- }
3899
- AuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AuthGuard, deps: [{ token: i1$3.OAuthService }, { token: AuthService }], target: i0.ɵɵFactoryTarget.Injectable });
3900
- AuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AuthGuard, providedIn: 'root' });
3901
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AuthGuard, decorators: [{
3902
- type: Injectable,
3903
- args: [{
3904
- providedIn: 'root',
3905
- }]
3906
- }], ctorParameters: function () { return [{ type: i1$3.OAuthService }, { type: AuthService }]; } });
3907
-
3908
3576
  class PermissionGuard {
3909
3577
  constructor(router, routesService, permissionService, httpErrorReporter) {
3910
3578
  this.router = router;
@@ -3927,9 +3595,9 @@ class PermissionGuard {
3927
3595
  }));
3928
3596
  }
3929
3597
  }
3930
- PermissionGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: PermissionGuard, deps: [{ token: i1$1.Router }, { token: RoutesService }, { token: PermissionService }, { token: HttpErrorReporterService }], target: i0.ɵɵFactoryTarget.Injectable });
3931
- PermissionGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: PermissionGuard, providedIn: 'root' });
3932
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: PermissionGuard, decorators: [{
3598
+ PermissionGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PermissionGuard, deps: [{ token: i1$1.Router }, { token: RoutesService }, { token: PermissionService }, { token: HttpErrorReporterService }], target: i0.ɵɵFactoryTarget.Injectable });
3599
+ PermissionGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PermissionGuard, providedIn: 'root' });
3600
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: PermissionGuard, decorators: [{
3933
3601
  type: Injectable,
3934
3602
  args: [{
3935
3603
  providedIn: 'root',
@@ -4066,9 +3734,9 @@ class AbpApiDefinitionService {
4066
3734
  }, { apiName: this.apiName });
4067
3735
  }
4068
3736
  }
4069
- AbpApiDefinitionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AbpApiDefinitionService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
4070
- AbpApiDefinitionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AbpApiDefinitionService, providedIn: 'root' });
4071
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: AbpApiDefinitionService, decorators: [{
3737
+ AbpApiDefinitionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpApiDefinitionService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
3738
+ AbpApiDefinitionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpApiDefinitionService, providedIn: 'root' });
3739
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AbpApiDefinitionService, decorators: [{
4072
3740
  type: Injectable,
4073
3741
  args: [{
4074
3742
  providedIn: 'root',
@@ -4357,15 +4025,11 @@ const PROJECTION_STRATEGY = {
4357
4025
  },
4358
4026
  };
4359
4027
 
4360
- const NAVIGATE_TO_MANAGE_PROFILE = new InjectionToken('NAVIGATE_TO_MANAGE_PROFILE', {
4361
- providedIn: 'root',
4362
- factory: () => {
4363
- const environment = inject(EnvironmentService);
4364
- return () => {
4365
- window.open(`${environment.getEnvironment().oAuthConfig.issuer}/Account/Manage?returnUrl=${window.location.href}`, '_self');
4366
- };
4367
- },
4368
- });
4028
+ const NAVIGATE_TO_MANAGE_PROFILE = new InjectionToken('NAVIGATE_TO_MANAGE_PROFILE');
4029
+
4030
+ const PIPE_TO_LOGIN_FN_KEY = new InjectionToken('PIPE_TO_LOGIN_FN_KEY');
4031
+
4032
+ const SET_TOKEN_RESPONSE_TO_STORAGE_FN_KEY = new InjectionToken('SET_TOKEN_RESPONSE_TO_STORAGE_FN_KEY');
4369
4033
 
4370
4034
  function validateMinAge({ age = 18 } = {}) {
4371
4035
  return (control) => {
@@ -4487,11 +4151,32 @@ const AbpValidators = {
4487
4151
  username: validateUsername,
4488
4152
  };
4489
4153
 
4154
+ class ApiInterceptor {
4155
+ constructor(httpWaitService) {
4156
+ this.httpWaitService = httpWaitService;
4157
+ }
4158
+ getAdditionalHeaders(existingHeaders) {
4159
+ return existingHeaders;
4160
+ }
4161
+ intercept(request, next) {
4162
+ this.httpWaitService.addRequest(request);
4163
+ return next.handle(request).pipe(finalize(() => this.httpWaitService.deleteRequest(request)));
4164
+ }
4165
+ }
4166
+ ApiInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ApiInterceptor, deps: [{ token: HttpWaitService }], target: i0.ɵɵFactoryTarget.Injectable });
4167
+ ApiInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ApiInterceptor, providedIn: 'root' });
4168
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: ApiInterceptor, decorators: [{
4169
+ type: Injectable,
4170
+ args: [{
4171
+ providedIn: 'root',
4172
+ }]
4173
+ }], ctorParameters: function () { return [{ type: HttpWaitService }]; } });
4174
+
4490
4175
  // export * from './lib/handlers';
4491
4176
 
4492
4177
  /**
4493
4178
  * Generated bundle index. Do not edit.
4494
4179
  */
4495
4180
 
4496
- export { APP_INIT_ERROR_HANDLERS, AbpApiDefinitionService, AbpApplicationConfigurationService, AbpApplicationLocalizationService, AbpTenantService, AbpValidators, AbstractNavTreeService, AbstractNgModelComponent, AbstractTreeService, ApiInterceptor, AuditedEntityDto, AuditedEntityWithUserDto, AuthGuard, AuthService, AutofocusDirective, BaseCoreModule, BaseTreeNode, 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, DomInsertionService, DomStrategy, DynamicLayoutComponent, EntityDto, EnvironmentService, ExtensibleAuditedEntityDto, ExtensibleAuditedEntityWithUserDto, ExtensibleCreationAuditedEntityDto, ExtensibleCreationAuditedEntityWithUserDto, ExtensibleEntityDto, ExtensibleFullAuditedEntityDto, ExtensibleFullAuditedEntityWithUserDto, ExtensibleObject, ForDirective, FormSubmitDirective, FullAuditedEntityDto, FullAuditedEntityWithUserDto, HttpErrorReporterService, HttpWaitService, INCUDE_LOCALIZATION_RESOURCES_TOKEN, INJECTOR_PIPE_DATA_TOKEN, InitDirective, InputEventDebounceDirective, InsertIntoContainerStrategy, InternalStore, 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, index as ObjectExtending, PROJECTION_STRATEGY, PagedAndSortedResultRequestDto, PagedResultDto, PagedResultRequestDto, PermissionDirective, PermissionGuard, PermissionService, ProjectionStrategy, ReplaceableComponentsService, ReplaceableRouteContainerComponent, ReplaceableTemplateDirective, ResourceWaitService, RestService, RootComponentProjectionStrategy, RootCoreModule, RouterEvents, RouterOutletComponent, RouterWaitService, RoutesService, ScriptContentStrategy, ScriptLoadingStrategy, SessionStateService, ShortDatePipe, ShortDateTimePipe, ShortTimePipe, SortPipe, StopPropagationDirective, StyleContentStrategy, StyleLoadingStrategy, SubscriptionService, TENANT_KEY, TemplateContextStrategy, TemplateProjectionStrategy, TimeoutLimitedOAuthService, ToInjectorPipe, TrackByService, WebHttpUrlEncodingCodec, checkAccessToken, coreOptionsFactory, 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, pipeToLogin, pushValueTo, reloadRoute, removeRememberMe, setRememberMe, setTokenResponseToStorage, storageFactory, trackBy, trackByDeep, uuid, validateCreditCard, validateMinAge, validateRange, validateRequired, validateStringLength, validateUrl };
4181
+ export { APP_INIT_ERROR_HANDLERS, AbpApiDefinitionService, AbpApplicationConfigurationService, AbpApplicationLocalizationService, AbpTenantService, AbpValidators, 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, DomInsertionService, DomStrategy, DynamicLayoutComponent, EntityDto, EnvironmentService, ExtensibleAuditedEntityDto, ExtensibleAuditedEntityWithUserDto, ExtensibleCreationAuditedEntityDto, ExtensibleCreationAuditedEntityWithUserDto, ExtensibleEntityDto, ExtensibleFullAuditedEntityDto, ExtensibleFullAuditedEntityWithUserDto, ExtensibleObject, ForDirective, FormSubmitDirective, FullAuditedEntityDto, FullAuditedEntityWithUserDto, HttpErrorReporterService, HttpWaitService, INCUDE_LOCALIZATION_RESOURCES_TOKEN, INJECTOR_PIPE_DATA_TOKEN, InitDirective, InputEventDebounceDirective, InsertIntoContainerStrategy, InternalStore, 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, index as ObjectExtending, PIPE_TO_LOGIN_FN_KEY, PROJECTION_STRATEGY, PagedAndSortedResultRequestDto, PagedResultDto, PagedResultRequestDto, PermissionDirective, PermissionGuard, PermissionService, ProjectionStrategy, ReplaceableComponentsService, ReplaceableRouteContainerComponent, ReplaceableTemplateDirective, ResourceWaitService, RestService, RootComponentProjectionStrategy, RootCoreModule, RouterEvents, RouterOutletComponent, RouterWaitService, RoutesService, SET_TOKEN_RESPONSE_TO_STORAGE_FN_KEY, ScriptContentStrategy, ScriptLoadingStrategy, SessionStateService, ShortDatePipe, ShortDateTimePipe, ShortTimePipe, SortPipe, StopPropagationDirective, StyleContentStrategy, StyleLoadingStrategy, SubscriptionService, TENANT_KEY, TemplateContextStrategy, TemplateProjectionStrategy, ToInjectorPipe, TrackByService, WebHttpUrlEncodingCodec, coreOptionsFactory, 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, pushValueTo, reloadRoute, trackBy, trackByDeep, uuid, validateCreditCard, validateMinAge, validateRange, validateRequired, validateStringLength, validateUrl };
4497
4182
  //# sourceMappingURL=abp-ng.core.mjs.map