@abp/ng.core 5.2.2 → 5.3.0-rc.3

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 (70) hide show
  1. package/esm2020/lib/abstracts/ng-model.component.mjs +3 -3
  2. package/esm2020/lib/components/dynamic-layout.component.mjs +3 -3
  3. package/esm2020/lib/components/replaceable-route-container.component.mjs +3 -3
  4. package/esm2020/lib/components/router-outlet.component.mjs +3 -3
  5. package/esm2020/lib/core.module.mjs +30 -15
  6. package/esm2020/lib/directives/autofocus.directive.mjs +3 -3
  7. package/esm2020/lib/directives/debounce.directive.mjs +3 -3
  8. package/esm2020/lib/directives/for.directive.mjs +3 -3
  9. package/esm2020/lib/directives/form-submit.directive.mjs +10 -5
  10. package/esm2020/lib/directives/init.directive.mjs +3 -3
  11. package/esm2020/lib/directives/permission.directive.mjs +3 -3
  12. package/esm2020/lib/directives/replaceable-template.directive.mjs +3 -3
  13. package/esm2020/lib/directives/stop-propagation.directive.mjs +3 -3
  14. package/esm2020/lib/guards/auth.guard.mjs +3 -3
  15. package/esm2020/lib/guards/permission.guard.mjs +3 -3
  16. package/esm2020/lib/handlers/oauth-configuration.handler.mjs +3 -3
  17. package/esm2020/lib/handlers/routes.handler.mjs +3 -3
  18. package/esm2020/lib/interceptors/api.interceptor.mjs +3 -3
  19. package/esm2020/lib/localization.module.mjs +4 -4
  20. package/esm2020/lib/pipes/index.mjs +4 -1
  21. package/esm2020/lib/pipes/localization.pipe.mjs +4 -4
  22. package/esm2020/lib/pipes/short-date-time.pipe.mjs +34 -0
  23. package/esm2020/lib/pipes/short-date.pipe.mjs +34 -0
  24. package/esm2020/lib/pipes/short-time.pipe.mjs +34 -0
  25. package/esm2020/lib/pipes/sort.pipe.mjs +4 -4
  26. package/esm2020/lib/pipes/to-injector.pipe.mjs +3 -3
  27. package/esm2020/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.mjs +3 -3
  28. package/esm2020/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.mjs +3 -3
  29. package/esm2020/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.mjs +3 -3
  30. package/esm2020/lib/services/auth.service.mjs +3 -3
  31. package/esm2020/lib/services/config-state.service.mjs +3 -3
  32. package/esm2020/lib/services/content-projection.service.mjs +3 -3
  33. package/esm2020/lib/services/dom-insertion.service.mjs +3 -3
  34. package/esm2020/lib/services/environment.service.mjs +3 -3
  35. package/esm2020/lib/services/http-error-reporter.service.mjs +3 -3
  36. package/esm2020/lib/services/http-wait.service.mjs +3 -3
  37. package/esm2020/lib/services/lazy-load.service.mjs +3 -3
  38. package/esm2020/lib/services/list.service.mjs +3 -3
  39. package/esm2020/lib/services/localization.service.mjs +3 -3
  40. package/esm2020/lib/services/multi-tenancy.service.mjs +3 -3
  41. package/esm2020/lib/services/permission.service.mjs +3 -3
  42. package/esm2020/lib/services/replaceable-components.service.mjs +3 -3
  43. package/esm2020/lib/services/resource-wait.service.mjs +3 -3
  44. package/esm2020/lib/services/rest.service.mjs +3 -3
  45. package/esm2020/lib/services/router-events.service.mjs +3 -3
  46. package/esm2020/lib/services/router-wait.service.mjs +3 -3
  47. package/esm2020/lib/services/routes.service.mjs +6 -6
  48. package/esm2020/lib/services/session-state.service.mjs +3 -3
  49. package/esm2020/lib/services/subscription.service.mjs +3 -3
  50. package/esm2020/lib/services/track-by.service.mjs +3 -3
  51. package/esm2020/testing/lib/core-testing.module.mjs +4 -4
  52. package/esm2020/testing/lib/services/mock-permission.service.mjs +3 -3
  53. package/esm2020/testing/lib/services/mock-rest.service.mjs +3 -3
  54. package/fesm2015/abp-ng.core-locale.mjs.map +1 -1
  55. package/fesm2015/abp-ng.core-testing.mjs +10 -10
  56. package/fesm2015/abp-ng.core-testing.mjs.map +1 -1
  57. package/fesm2015/abp-ng.core.mjs +696 -589
  58. package/fesm2015/abp-ng.core.mjs.map +1 -1
  59. package/fesm2020/abp-ng.core-locale.mjs.map +1 -1
  60. package/fesm2020/abp-ng.core-testing.mjs +10 -10
  61. package/fesm2020/abp-ng.core-testing.mjs.map +1 -1
  62. package/fesm2020/abp-ng.core.mjs +704 -603
  63. package/fesm2020/abp-ng.core.mjs.map +1 -1
  64. package/lib/core.module.d.ts +11 -8
  65. package/lib/directives/form-submit.directive.d.ts +2 -1
  66. package/lib/pipes/index.d.ts +3 -0
  67. package/lib/pipes/short-date-time.pipe.d.ts +12 -0
  68. package/lib/pipes/short-date.pipe.d.ts +12 -0
  69. package/lib/pipes/short-time.pipe.d.ts +12 -0
  70. package/package.json +2 -2
@@ -3,7 +3,7 @@ import { ChangeDetectorRef, Component, Input, InjectionToken, Injectable, Inject
3
3
  import * as i1$1 from '@angular/router';
4
4
  import { PRIMARY_OUTLET, NavigationCancel, NavigationEnd, NavigationError, NavigationStart, ActivatedRoute, Router, RouterModule } from '@angular/router';
5
5
  import * as i5 from '@angular/common';
6
- import { registerLocaleData, DOCUMENT, CommonModule } from '@angular/common';
6
+ import { registerLocaleData, DOCUMENT, DatePipe, DATE_PIPE_DEFAULT_TIMEZONE, CommonModule } from '@angular/common';
7
7
  import { BehaviorSubject, Subject, throwError, combineLatest, from, Subscription, fromEvent, of, timer, pipe, Observable, concat, ReplaySubject } from 'rxjs';
8
8
  import { map, distinctUntilChanged, filter, catchError, switchMap, take, mapTo, debounceTime, takeUntil, tap, finalize, retryWhen, delay, shareReplay } from 'rxjs/operators';
9
9
  import * as i1 from '@angular/common/http';
@@ -55,9 +55,9 @@ class AbstractNgModelComponent {
55
55
  this.disabled = isDisabled;
56
56
  }
57
57
  }
58
- AbstractNgModelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AbstractNgModelComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
59
- AbstractNgModelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", 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: "13.1.1", ngImport: i0, type: AbstractNgModelComponent, decorators: [{
58
+ AbstractNgModelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbstractNgModelComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
59
+ AbstractNgModelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.6", 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: "13.3.6", ngImport: i0, type: AbstractNgModelComponent, decorators: [{
61
61
  type: Component,
62
62
  args: [{ template: '' }]
63
63
  }], ctorParameters: function () { return [{ type: i0.Injector }]; }, propDecorators: { disabled: [{
@@ -287,9 +287,9 @@ class EnvironmentService {
287
287
  this.store.set(environment);
288
288
  }
289
289
  }
290
- EnvironmentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: EnvironmentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
291
- EnvironmentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: EnvironmentService, providedIn: 'root' });
292
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: EnvironmentService, decorators: [{
290
+ EnvironmentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: EnvironmentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
291
+ EnvironmentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: EnvironmentService, providedIn: 'root' });
292
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: EnvironmentService, decorators: [{
293
293
  type: Injectable,
294
294
  args: [{ providedIn: 'root' }]
295
295
  }] });
@@ -313,9 +313,9 @@ class HttpErrorReporterService {
313
313
  return this._errors$.value;
314
314
  }
315
315
  }
316
- HttpErrorReporterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: HttpErrorReporterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
317
- HttpErrorReporterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: HttpErrorReporterService, providedIn: 'root' });
318
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: HttpErrorReporterService, decorators: [{
316
+ HttpErrorReporterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: HttpErrorReporterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
317
+ HttpErrorReporterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: HttpErrorReporterService, providedIn: 'root' });
318
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: HttpErrorReporterService, decorators: [{
319
319
  type: Injectable,
320
320
  args: [{ providedIn: 'root' }]
321
321
  }] });
@@ -364,9 +364,9 @@ class RestService {
364
364
  : new HttpParams({ fromObject: filteredParams });
365
365
  }
366
366
  }
367
- RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RestService, deps: [{ token: CORE_OPTIONS }, { token: i1.HttpClient }, { token: EnvironmentService }, { token: HttpErrorReporterService }], target: i0.ɵɵFactoryTarget.Injectable });
368
- RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RestService, providedIn: 'root' });
369
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RestService, decorators: [{
367
+ RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RestService, deps: [{ token: CORE_OPTIONS }, { token: i1.HttpClient }, { token: EnvironmentService }, { token: HttpErrorReporterService }], target: i0.ɵɵFactoryTarget.Injectable });
368
+ RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RestService, providedIn: 'root' });
369
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RestService, decorators: [{
370
370
  type: Injectable,
371
371
  args: [{
372
372
  providedIn: 'root',
@@ -388,9 +388,9 @@ class AbpApplicationConfigurationService {
388
388
  }, { apiName: this.apiName });
389
389
  }
390
390
  }
391
- AbpApplicationConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AbpApplicationConfigurationService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
392
- AbpApplicationConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AbpApplicationConfigurationService, providedIn: 'root' });
393
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AbpApplicationConfigurationService, decorators: [{
391
+ AbpApplicationConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbpApplicationConfigurationService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
392
+ AbpApplicationConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbpApplicationConfigurationService, providedIn: 'root' });
393
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbpApplicationConfigurationService, decorators: [{
394
394
  type: Injectable,
395
395
  args: [{
396
396
  providedIn: 'root',
@@ -499,9 +499,9 @@ class ConfigStateService {
499
499
  }));
500
500
  }
501
501
  }
502
- ConfigStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ConfigStateService, deps: [{ token: AbpApplicationConfigurationService }], target: i0.ɵɵFactoryTarget.Injectable });
503
- ConfigStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ConfigStateService, providedIn: 'root' });
504
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ConfigStateService, decorators: [{
502
+ ConfigStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ConfigStateService, deps: [{ token: AbpApplicationConfigurationService }], target: i0.ɵɵFactoryTarget.Injectable });
503
+ ConfigStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ConfigStateService, providedIn: 'root' });
504
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ConfigStateService, decorators: [{
505
505
  type: Injectable,
506
506
  args: [{
507
507
  providedIn: 'root',
@@ -577,9 +577,9 @@ class SessionStateService {
577
577
  document.documentElement.setAttribute('lang', language);
578
578
  }
579
579
  }
580
- SessionStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: SessionStateService, deps: [{ token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
581
- SessionStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: SessionStateService, providedIn: 'root' });
582
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: SessionStateService, decorators: [{
580
+ SessionStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: SessionStateService, deps: [{ token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
581
+ SessionStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: SessionStateService, providedIn: 'root' });
582
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: SessionStateService, decorators: [{
583
583
  type: Injectable,
584
584
  args: [{
585
585
  providedIn: 'root',
@@ -750,9 +750,9 @@ class LocalizationService {
750
750
  return localization || defaultValue || key;
751
751
  }
752
752
  }
753
- LocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: LocalizationService, deps: [{ token: SessionStateService }, { token: i0.Injector }, { token: LocalizationService, optional: true, skipSelf: true }, { token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
754
- LocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: LocalizationService, providedIn: 'root' });
755
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: LocalizationService, decorators: [{
753
+ LocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LocalizationService, deps: [{ token: SessionStateService }, { token: i0.Injector }, { token: LocalizationService, optional: true, skipSelf: true }, { token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
754
+ LocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LocalizationService, providedIn: 'root' });
755
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LocalizationService, decorators: [{
756
756
  type: Injectable,
757
757
  args: [{ providedIn: 'root' }]
758
758
  }], ctorParameters: function () { return [{ type: SessionStateService }, { type: i0.Injector }, { type: LocalizationService, decorators: [{
@@ -820,9 +820,9 @@ class ReplaceableComponentsService {
820
820
  return this.replaceableComponents$.pipe(map(components => components.find(component => component.key === replaceableComponentKey)));
821
821
  }
822
822
  }
823
- ReplaceableComponentsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ReplaceableComponentsService, deps: [{ token: i0.NgZone }, { token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
824
- ReplaceableComponentsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ReplaceableComponentsService, providedIn: 'root' });
825
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ReplaceableComponentsService, decorators: [{
823
+ ReplaceableComponentsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ReplaceableComponentsService, deps: [{ token: i0.NgZone }, { token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
824
+ ReplaceableComponentsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ReplaceableComponentsService, providedIn: 'root' });
825
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ReplaceableComponentsService, decorators: [{
826
826
  type: Injectable,
827
827
  args: [{ providedIn: 'root' }]
828
828
  }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1$1.Router }]; } });
@@ -853,9 +853,9 @@ class RouterEvents {
853
853
  return this.getNavigationEvents(...keys);
854
854
  }
855
855
  }
856
- RouterEvents.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RouterEvents, deps: [{ token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
857
- RouterEvents.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RouterEvents, providedIn: 'root' });
858
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RouterEvents, decorators: [{
856
+ RouterEvents.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RouterEvents, deps: [{ token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
857
+ RouterEvents.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RouterEvents, providedIn: 'root' });
858
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RouterEvents, decorators: [{
859
859
  type: Injectable,
860
860
  args: [{ providedIn: 'root' }]
861
861
  }], ctorParameters: function () { return [{ type: i1$1.Router }]; } });
@@ -972,9 +972,9 @@ class PermissionService {
972
972
  return grantedPolicies[key] || false;
973
973
  }
974
974
  }
975
- PermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PermissionService, deps: [{ token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
976
- PermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PermissionService, providedIn: 'root' });
977
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PermissionService, decorators: [{
975
+ PermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: PermissionService, deps: [{ token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
976
+ PermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: PermissionService, providedIn: 'root' });
977
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: PermissionService, decorators: [{
978
978
  type: Injectable,
979
979
  args: [{ providedIn: 'root' }]
980
980
  }], ctorParameters: function () { return [{ type: ConfigStateService }]; } });
@@ -1103,16 +1103,16 @@ class AbstractNavTreeService extends AbstractTreeService {
1103
1103
  this.subscription.unsubscribe();
1104
1104
  }
1105
1105
  }
1106
- AbstractNavTreeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AbstractNavTreeService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
1107
- AbstractNavTreeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AbstractNavTreeService });
1108
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AbstractNavTreeService, decorators: [{
1106
+ AbstractNavTreeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbstractNavTreeService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
1107
+ AbstractNavTreeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbstractNavTreeService });
1108
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbstractNavTreeService, decorators: [{
1109
1109
  type: Injectable
1110
1110
  }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
1111
1111
  class RoutesService extends AbstractNavTreeService {
1112
1112
  }
1113
- RoutesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RoutesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1114
- RoutesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RoutesService, providedIn: 'root' });
1115
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RoutesService, decorators: [{
1113
+ RoutesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RoutesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1114
+ RoutesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RoutesService, providedIn: 'root' });
1115
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RoutesService, decorators: [{
1116
1116
  type: Injectable,
1117
1117
  args: [{ providedIn: 'root' }]
1118
1118
  }] });
@@ -1149,9 +1149,9 @@ class SubscriptionService {
1149
1149
  this.subscription = new Subscription();
1150
1150
  }
1151
1151
  }
1152
- SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: SubscriptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1153
- SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: SubscriptionService });
1154
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: SubscriptionService, decorators: [{
1152
+ SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: SubscriptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1153
+ SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: SubscriptionService });
1154
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: SubscriptionService, decorators: [{
1155
1155
  type: Injectable
1156
1156
  }] });
1157
1157
 
@@ -1214,9 +1214,9 @@ class DynamicLayoutComponent {
1214
1214
  return this.replaceableComponents.get(key);
1215
1215
  }
1216
1216
  }
1217
- DynamicLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", 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 });
1218
- DynamicLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: DynamicLayoutComponent, selector: "abp-dynamic-layout", providers: [SubscriptionService], ngImport: i0, template: ` <ng-container *ngIf="isLayoutVisible" [ngComponentOutlet]="layout"></ng-container> `, isInline: true, directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModuleFactory"] }] });
1219
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: DynamicLayoutComponent, decorators: [{
1217
+ DynamicLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: DynamicLayoutComponent, deps: [{ token: i0.Injector }, { token: LocalizationService }, { token: ReplaceableComponentsService }, { token: SubscriptionService }, { token: RouterEvents }, { token: DynamicLayoutComponent, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
1218
+ DynamicLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.6", type: DynamicLayoutComponent, selector: "abp-dynamic-layout", providers: [SubscriptionService], ngImport: i0, template: ` <ng-container *ngIf="isLayoutVisible" [ngComponentOutlet]="layout"></ng-container> `, isInline: true, directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModuleFactory"] }] });
1219
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: DynamicLayoutComponent, decorators: [{
1220
1220
  type: Component,
1221
1221
  args: [{
1222
1222
  selector: 'abp-dynamic-layout',
@@ -1246,11 +1246,11 @@ class ReplaceableRouteContainerComponent {
1246
1246
  });
1247
1247
  }
1248
1248
  }
1249
- ReplaceableRouteContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ReplaceableRouteContainerComponent, deps: [{ token: i1$1.ActivatedRoute }, { token: ReplaceableComponentsService }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Component });
1250
- ReplaceableRouteContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: ReplaceableRouteContainerComponent, selector: "abp-replaceable-route-container", providers: [SubscriptionService], ngImport: i0, template: `
1249
+ ReplaceableRouteContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ReplaceableRouteContainerComponent, deps: [{ token: i1$1.ActivatedRoute }, { token: ReplaceableComponentsService }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Component });
1250
+ ReplaceableRouteContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.6", type: ReplaceableRouteContainerComponent, selector: "abp-replaceable-route-container", providers: [SubscriptionService], ngImport: i0, template: `
1251
1251
  <ng-container *ngComponentOutlet="externalComponent || defaultComponent"></ng-container>
1252
1252
  `, isInline: true, directives: [{ type: i5.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModuleFactory"] }] });
1253
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ReplaceableRouteContainerComponent, decorators: [{
1253
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ReplaceableRouteContainerComponent, decorators: [{
1254
1254
  type: Component,
1255
1255
  args: [{
1256
1256
  selector: 'abp-replaceable-route-container',
@@ -1263,9 +1263,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1263
1263
 
1264
1264
  class RouterOutletComponent {
1265
1265
  }
1266
- RouterOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RouterOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1267
- RouterOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.1", type: RouterOutletComponent, selector: "abp-router-outlet", ngImport: i0, template: ` <router-outlet></router-outlet> `, isInline: true, directives: [{ type: i1$1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] });
1268
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RouterOutletComponent, decorators: [{
1266
+ RouterOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RouterOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1267
+ RouterOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.6", type: RouterOutletComponent, selector: "abp-router-outlet", ngImport: i0, template: ` <router-outlet></router-outlet> `, isInline: true, directives: [{ type: i1$1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] });
1268
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RouterOutletComponent, decorators: [{
1269
1269
  type: Component,
1270
1270
  args: [{
1271
1271
  selector: 'abp-router-outlet',
@@ -1625,9 +1625,9 @@ class AutofocusDirective {
1625
1625
  setTimeout(() => this.elRef.nativeElement.focus(), this.delay);
1626
1626
  }
1627
1627
  }
1628
- AutofocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AutofocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1629
- AutofocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: AutofocusDirective, selector: "[autofocus]", inputs: { delay: ["autofocus", "delay"] }, ngImport: i0 });
1630
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AutofocusDirective, decorators: [{
1628
+ AutofocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AutofocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1629
+ AutofocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.6", type: AutofocusDirective, selector: "[autofocus]", inputs: { delay: ["autofocus", "delay"] }, ngImport: i0 });
1630
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AutofocusDirective, decorators: [{
1631
1631
  type: Directive,
1632
1632
  args: [{
1633
1633
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -1652,9 +1652,9 @@ class InputEventDebounceDirective {
1652
1652
  });
1653
1653
  }
1654
1654
  }
1655
- InputEventDebounceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InputEventDebounceDirective, deps: [{ token: i0.ElementRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
1656
- InputEventDebounceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: InputEventDebounceDirective, selector: "[input.debounce]", inputs: { debounce: "debounce" }, outputs: { debounceEvent: "input.debounce" }, providers: [SubscriptionService], ngImport: i0 });
1657
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InputEventDebounceDirective, decorators: [{
1655
+ InputEventDebounceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: InputEventDebounceDirective, deps: [{ token: i0.ElementRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
1656
+ InputEventDebounceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.6", type: InputEventDebounceDirective, selector: "[input.debounce]", inputs: { debounce: "debounce" }, outputs: { debounceEvent: "input.debounce" }, providers: [SubscriptionService], ngImport: i0 });
1657
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: InputEventDebounceDirective, decorators: [{
1658
1658
  type: Directive,
1659
1659
  args: [{
1660
1660
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -1782,9 +1782,9 @@ class ForDirective {
1782
1782
  }
1783
1783
  }
1784
1784
  }
1785
- ForDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ForDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
1786
- ForDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", 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 });
1787
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ForDirective, decorators: [{
1785
+ ForDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ForDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
1786
+ ForDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.6", 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 });
1787
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ForDirective, decorators: [{
1788
1788
  type: Directive,
1789
1789
  args: [{
1790
1790
  selector: '[abpFor]',
@@ -1822,12 +1822,15 @@ class FormSubmitDirective {
1822
1822
  this.cdRef = cdRef;
1823
1823
  this.subscription = subscription;
1824
1824
  this.debounce = 200;
1825
+ this.markAsDirtyWhenSubmit = true;
1825
1826
  this.ngSubmit = new EventEmitter();
1826
1827
  this.executedNgSubmit = false;
1827
1828
  }
1828
1829
  ngOnInit() {
1829
1830
  this.subscription.addOne(this.formGroupDirective.ngSubmit, () => {
1830
- this.markAsDirty();
1831
+ if (this.markAsDirtyWhenSubmit) {
1832
+ this.markAsDirty();
1833
+ }
1831
1834
  this.executedNgSubmit = true;
1832
1835
  });
1833
1836
  const keyup$ = fromEvent(this.host.nativeElement, 'keyup').pipe(debounceTime(this.debounce), filter(event => !(event.target instanceof HTMLTextAreaElement)), filter((event) => event && event.key === 'Enter'));
@@ -1845,9 +1848,9 @@ class FormSubmitDirective {
1845
1848
  this.cdRef.detectChanges();
1846
1849
  }
1847
1850
  }
1848
- FormSubmitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FormSubmitDirective, deps: [{ token: i1$2.FormGroupDirective, self: true }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
1849
- FormSubmitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: { debounce: "debounce", notValidateOnSubmit: "notValidateOnSubmit" }, outputs: { ngSubmit: "ngSubmit" }, providers: [SubscriptionService], ngImport: i0 });
1850
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: FormSubmitDirective, decorators: [{
1851
+ FormSubmitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: FormSubmitDirective, deps: [{ token: i1$2.FormGroupDirective, self: true }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
1852
+ FormSubmitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.6", type: FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: { debounce: "debounce", notValidateOnSubmit: "notValidateOnSubmit", markAsDirtyWhenSubmit: "markAsDirtyWhenSubmit" }, outputs: { ngSubmit: "ngSubmit" }, providers: [SubscriptionService], ngImport: i0 });
1853
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: FormSubmitDirective, decorators: [{
1851
1854
  type: Directive,
1852
1855
  args: [{
1853
1856
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -1860,6 +1863,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
1860
1863
  type: Input
1861
1864
  }], notValidateOnSubmit: [{
1862
1865
  type: Input
1866
+ }], markAsDirtyWhenSubmit: [{
1867
+ type: Input
1863
1868
  }], ngSubmit: [{
1864
1869
  type: Output
1865
1870
  }] } });
@@ -1885,9 +1890,9 @@ class InitDirective {
1885
1890
  this.init.emit(this.elRef);
1886
1891
  }
1887
1892
  }
1888
- InitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InitDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1889
- InitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: InitDirective, selector: "[abpInit]", outputs: { init: "abpInit" }, ngImport: i0 });
1890
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: InitDirective, decorators: [{
1893
+ InitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: InitDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
1894
+ InitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.6", type: InitDirective, selector: "[abpInit]", outputs: { init: "abpInit" }, ngImport: i0 });
1895
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: InitDirective, decorators: [{
1891
1896
  type: Directive,
1892
1897
  args: [{ selector: '[abpInit]' }]
1893
1898
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { init: [{
@@ -1924,9 +1929,9 @@ class PermissionDirective {
1924
1929
  this.check();
1925
1930
  }
1926
1931
  }
1927
- PermissionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PermissionDirective, deps: [{ token: i0.TemplateRef, optional: true }, { token: i0.ViewContainerRef }, { token: PermissionService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
1928
- PermissionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: PermissionDirective, selector: "[abpPermission]", inputs: { condition: ["abpPermission", "condition"] }, usesOnChanges: true, ngImport: i0 });
1929
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PermissionDirective, decorators: [{
1932
+ PermissionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: PermissionDirective, deps: [{ token: i0.TemplateRef, optional: true }, { token: i0.ViewContainerRef }, { token: PermissionService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
1933
+ PermissionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.6", type: PermissionDirective, selector: "[abpPermission]", inputs: { condition: ["abpPermission", "condition"] }, usesOnChanges: true, ngImport: i0 });
1934
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: PermissionDirective, decorators: [{
1930
1935
  type: Directive,
1931
1936
  args: [{
1932
1937
  selector: '[abpPermission]',
@@ -2043,9 +2048,9 @@ class ReplaceableTemplateDirective {
2043
2048
  this.defaultComponentRef = null;
2044
2049
  }
2045
2050
  }
2046
- ReplaceableTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", 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 });
2047
- ReplaceableTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: { data: ["abpReplaceableTemplate", "data"] }, providers: [SubscriptionService], usesOnChanges: true, ngImport: i0 });
2048
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ReplaceableTemplateDirective, decorators: [{
2051
+ ReplaceableTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", 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 });
2052
+ ReplaceableTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.6", type: ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: { data: ["abpReplaceableTemplate", "data"] }, providers: [SubscriptionService], usesOnChanges: true, ngImport: i0 });
2053
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ReplaceableTemplateDirective, decorators: [{
2049
2054
  type: Directive,
2050
2055
  args: [{
2051
2056
  selector: '[abpReplaceableTemplate]',
@@ -2069,9 +2074,9 @@ class StopPropagationDirective {
2069
2074
  });
2070
2075
  }
2071
2076
  }
2072
- StopPropagationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: StopPropagationDirective, deps: [{ token: i0.ElementRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
2073
- StopPropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: StopPropagationDirective, selector: "[click.stop]", outputs: { stopPropEvent: "click.stop" }, providers: [SubscriptionService], ngImport: i0 });
2074
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: StopPropagationDirective, decorators: [{
2077
+ StopPropagationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: StopPropagationDirective, deps: [{ token: i0.ElementRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
2078
+ StopPropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.6", type: StopPropagationDirective, selector: "[click.stop]", outputs: { stopPropEvent: "click.stop" }, providers: [SubscriptionService], ngImport: i0 });
2079
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: StopPropagationDirective, decorators: [{
2075
2080
  type: Directive,
2076
2081
  args: [{
2077
2082
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -2099,9 +2104,9 @@ class OAuthConfigurationHandler {
2099
2104
  });
2100
2105
  }
2101
2106
  }
2102
- OAuthConfigurationHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: OAuthConfigurationHandler, deps: [{ token: i1$3.OAuthService }, { token: EnvironmentService }, { token: CORE_OPTIONS }], target: i0.ɵɵFactoryTarget.Injectable });
2103
- OAuthConfigurationHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: OAuthConfigurationHandler, providedIn: 'root' });
2104
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: OAuthConfigurationHandler, decorators: [{
2107
+ OAuthConfigurationHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: OAuthConfigurationHandler, deps: [{ token: i1$3.OAuthService }, { token: EnvironmentService }, { token: CORE_OPTIONS }], target: i0.ɵɵFactoryTarget.Injectable });
2108
+ OAuthConfigurationHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: OAuthConfigurationHandler, providedIn: 'root' });
2109
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: OAuthConfigurationHandler, decorators: [{
2105
2110
  type: Injectable,
2106
2111
  args: [{
2107
2112
  providedIn: 'root',
@@ -2130,9 +2135,9 @@ class RoutesHandler {
2130
2135
  });
2131
2136
  }
2132
2137
  }
2133
- RoutesHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RoutesHandler, deps: [{ token: RoutesService }, { token: i1$1.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2134
- RoutesHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RoutesHandler, providedIn: 'root' });
2135
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RoutesHandler, decorators: [{
2138
+ RoutesHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RoutesHandler, deps: [{ token: RoutesService }, { token: i1$1.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2139
+ RoutesHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RoutesHandler, providedIn: 'root' });
2140
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RoutesHandler, decorators: [{
2136
2141
  type: Injectable,
2137
2142
  args: [{
2138
2143
  providedIn: 'root',
@@ -2231,9 +2236,9 @@ class HttpWaitService {
2231
2236
  return endpoint === request.endpoint && method === request.method;
2232
2237
  }
2233
2238
  }
2234
- HttpWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: HttpWaitService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2235
- HttpWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: HttpWaitService, providedIn: 'root' });
2236
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: HttpWaitService, decorators: [{
2239
+ HttpWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: HttpWaitService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2240
+ HttpWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: HttpWaitService, providedIn: 'root' });
2241
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: HttpWaitService, decorators: [{
2237
2242
  type: Injectable,
2238
2243
  args: [{
2239
2244
  providedIn: 'root',
@@ -2274,9 +2279,9 @@ class ApiInterceptor {
2274
2279
  return headers;
2275
2280
  }
2276
2281
  }
2277
- ApiInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ApiInterceptor, deps: [{ token: i1$3.OAuthService }, { token: SessionStateService }, { token: HttpWaitService }, { token: TENANT_KEY }], target: i0.ɵɵFactoryTarget.Injectable });
2278
- ApiInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ApiInterceptor, providedIn: 'root' });
2279
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ApiInterceptor, decorators: [{
2282
+ ApiInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ApiInterceptor, deps: [{ token: i1$3.OAuthService }, { token: SessionStateService }, { token: HttpWaitService }, { token: TENANT_KEY }], target: i0.ɵɵFactoryTarget.Injectable });
2283
+ ApiInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ApiInterceptor, providedIn: 'root' });
2284
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ApiInterceptor, decorators: [{
2280
2285
  type: Injectable,
2281
2286
  args: [{
2282
2287
  providedIn: 'root',
@@ -2303,10 +2308,10 @@ class LocalizationPipe {
2303
2308
  return this.localization.instant(value, ...params);
2304
2309
  }
2305
2310
  }
2306
- LocalizationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: LocalizationPipe, deps: [{ token: LocalizationService }], target: i0.ɵɵFactoryTarget.Pipe });
2307
- LocalizationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: LocalizationPipe, name: "abpLocalization" });
2308
- LocalizationPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: LocalizationPipe });
2309
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: LocalizationPipe, decorators: [{
2311
+ LocalizationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LocalizationPipe, deps: [{ token: LocalizationService }], target: i0.ɵɵFactoryTarget.Pipe });
2312
+ LocalizationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LocalizationPipe, name: "abpLocalization" });
2313
+ LocalizationPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LocalizationPipe });
2314
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LocalizationPipe, decorators: [{
2310
2315
  type: Injectable
2311
2316
  }, {
2312
2317
  type: Pipe,
@@ -2317,10 +2322,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
2317
2322
 
2318
2323
  class LocalizationModule {
2319
2324
  }
2320
- LocalizationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: LocalizationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2321
- LocalizationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: LocalizationModule, declarations: [LocalizationPipe], exports: [LocalizationPipe] });
2322
- LocalizationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: LocalizationModule });
2323
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: LocalizationModule, decorators: [{
2325
+ LocalizationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LocalizationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2326
+ LocalizationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LocalizationModule, declarations: [LocalizationPipe], exports: [LocalizationPipe] });
2327
+ LocalizationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LocalizationModule });
2328
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LocalizationModule, decorators: [{
2324
2329
  type: NgModule,
2325
2330
  args: [{
2326
2331
  exports: [LocalizationPipe],
@@ -2363,10 +2368,10 @@ class SortPipe {
2363
2368
  return sortOrder === 'asc' ? sorted : sorted.reverse();
2364
2369
  }
2365
2370
  }
2366
- SortPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: SortPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
2367
- SortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: SortPipe, name: "abpSort" });
2368
- SortPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: SortPipe });
2369
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: SortPipe, decorators: [{
2371
+ SortPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: SortPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
2372
+ SortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: SortPipe, name: "abpSort" });
2373
+ SortPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: SortPipe });
2374
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: SortPipe, decorators: [{
2370
2375
  type: Injectable
2371
2376
  }, {
2372
2377
  type: Pipe,
@@ -2393,9 +2398,9 @@ class ToInjectorPipe {
2393
2398
  });
2394
2399
  }
2395
2400
  }
2396
- ToInjectorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ToInjectorPipe, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Pipe });
2397
- ToInjectorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ToInjectorPipe, name: "toInjector" });
2398
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ToInjectorPipe, decorators: [{
2401
+ ToInjectorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ToInjectorPipe, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Pipe });
2402
+ ToInjectorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ToInjectorPipe, name: "toInjector" });
2403
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ToInjectorPipe, decorators: [{
2399
2404
  type: Pipe,
2400
2405
  args: [{
2401
2406
  name: 'toInjector',
@@ -2692,9 +2697,9 @@ class AuthService {
2692
2697
  return this.strategy.login(params);
2693
2698
  }
2694
2699
  }
2695
- AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AuthService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2696
- AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AuthService, providedIn: 'root' });
2697
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AuthService, decorators: [{
2700
+ AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AuthService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2701
+ AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AuthService, providedIn: 'root' });
2702
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AuthService, decorators: [{
2698
2703
  type: Injectable,
2699
2704
  args: [{
2700
2705
  providedIn: 'root',
@@ -2749,9 +2754,9 @@ class AbpTenantService {
2749
2754
  }, { apiName: this.apiName });
2750
2755
  }
2751
2756
  }
2752
- AbpTenantService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AbpTenantService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
2753
- AbpTenantService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AbpTenantService, providedIn: 'root' });
2754
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AbpTenantService, decorators: [{
2757
+ AbpTenantService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbpTenantService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
2758
+ AbpTenantService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbpTenantService, providedIn: 'root' });
2759
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbpTenantService, decorators: [{
2755
2760
  type: Injectable,
2756
2761
  args: [{
2757
2762
  providedIn: 'root',
@@ -2784,9 +2789,9 @@ class MultiTenancyService {
2784
2789
  .pipe(switchMap(this.setTenantToState));
2785
2790
  }
2786
2791
  }
2787
- MultiTenancyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MultiTenancyService, deps: [{ token: RestService }, { token: SessionStateService }, { token: AbpTenantService }, { token: ConfigStateService }, { token: TENANT_KEY }], target: i0.ɵɵFactoryTarget.Injectable });
2788
- MultiTenancyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MultiTenancyService, providedIn: 'root' });
2789
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MultiTenancyService, decorators: [{
2792
+ MultiTenancyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: MultiTenancyService, deps: [{ token: RestService }, { token: SessionStateService }, { token: AbpTenantService }, { token: ConfigStateService }, { token: TENANT_KEY }], target: i0.ɵɵFactoryTarget.Injectable });
2793
+ MultiTenancyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: MultiTenancyService, providedIn: 'root' });
2794
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: MultiTenancyService, decorators: [{
2790
2795
  type: Injectable,
2791
2796
  args: [{ providedIn: 'root' }]
2792
2797
  }], ctorParameters: function () { return [{ type: RestService }, { type: SessionStateService }, { type: AbpTenantService }, { type: ConfigStateService }, { type: undefined, decorators: [{
@@ -2917,482 +2922,38 @@ function localeInitializer(injector) {
2917
2922
  return fn;
2918
2923
  }
2919
2924
 
2920
- function storageFactory() {
2921
- return oAuthStorage;
2922
- }
2923
- /**
2924
- * BaseCoreModule is the module that holds
2925
- * all imports, declarations, exports, and entryComponents
2926
- * but not the providers.
2927
- * This module will be imported and exported by all others.
2928
- */
2929
- class BaseCoreModule {
2930
- }
2931
- BaseCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BaseCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2932
- BaseCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BaseCoreModule, declarations: [AbstractNgModelComponent,
2933
- AutofocusDirective,
2934
- DynamicLayoutComponent,
2935
- ForDirective,
2936
- FormSubmitDirective,
2937
- InitDirective,
2938
- InputEventDebounceDirective,
2939
- PermissionDirective,
2940
- ReplaceableRouteContainerComponent,
2941
- ReplaceableTemplateDirective,
2942
- RouterOutletComponent,
2943
- SortPipe,
2944
- StopPropagationDirective,
2945
- ToInjectorPipe], imports: [OAuthModule,
2946
- CommonModule,
2947
- HttpClientModule,
2948
- FormsModule,
2949
- ReactiveFormsModule,
2950
- RouterModule,
2951
- LocalizationModule], exports: [CommonModule,
2952
- HttpClientModule,
2953
- FormsModule,
2954
- ReactiveFormsModule,
2955
- RouterModule,
2956
- LocalizationModule,
2957
- AbstractNgModelComponent,
2958
- AutofocusDirective,
2959
- DynamicLayoutComponent,
2960
- ForDirective,
2961
- FormSubmitDirective,
2962
- InitDirective,
2963
- InputEventDebounceDirective,
2964
- PermissionDirective,
2965
- ReplaceableRouteContainerComponent,
2966
- ReplaceableTemplateDirective,
2967
- RouterOutletComponent,
2968
- SortPipe,
2969
- StopPropagationDirective,
2970
- ToInjectorPipe] });
2971
- BaseCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BaseCoreModule, providers: [LocalizationPipe], imports: [[
2972
- OAuthModule,
2973
- CommonModule,
2974
- HttpClientModule,
2975
- FormsModule,
2976
- ReactiveFormsModule,
2977
- RouterModule,
2978
- LocalizationModule,
2979
- ], CommonModule,
2980
- HttpClientModule,
2981
- FormsModule,
2982
- ReactiveFormsModule,
2983
- RouterModule,
2984
- LocalizationModule] });
2985
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BaseCoreModule, decorators: [{
2986
- type: NgModule,
2987
- args: [{
2988
- exports: [
2989
- CommonModule,
2990
- HttpClientModule,
2991
- FormsModule,
2992
- ReactiveFormsModule,
2993
- RouterModule,
2994
- LocalizationModule,
2995
- AbstractNgModelComponent,
2996
- AutofocusDirective,
2997
- DynamicLayoutComponent,
2998
- ForDirective,
2999
- FormSubmitDirective,
3000
- InitDirective,
3001
- InputEventDebounceDirective,
3002
- PermissionDirective,
3003
- ReplaceableRouteContainerComponent,
3004
- ReplaceableTemplateDirective,
3005
- RouterOutletComponent,
3006
- SortPipe,
3007
- StopPropagationDirective,
3008
- ToInjectorPipe,
3009
- ],
3010
- imports: [
3011
- OAuthModule,
3012
- CommonModule,
3013
- HttpClientModule,
3014
- FormsModule,
3015
- ReactiveFormsModule,
3016
- RouterModule,
3017
- LocalizationModule,
3018
- ],
3019
- declarations: [
3020
- AbstractNgModelComponent,
3021
- AutofocusDirective,
3022
- DynamicLayoutComponent,
3023
- ForDirective,
3024
- FormSubmitDirective,
3025
- InitDirective,
3026
- InputEventDebounceDirective,
3027
- PermissionDirective,
3028
- ReplaceableRouteContainerComponent,
3029
- ReplaceableTemplateDirective,
3030
- RouterOutletComponent,
3031
- SortPipe,
3032
- StopPropagationDirective,
3033
- ToInjectorPipe,
3034
- ],
3035
- providers: [LocalizationPipe]
3036
- }]
3037
- }] });
3038
- /**
3039
- * RootCoreModule is the module that will be used at root level
3040
- * and it introduces imports useful at root level (e.g. NGXS)
3041
- */
3042
- class RootCoreModule {
3043
- }
3044
- RootCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RootCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3045
- RootCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RootCoreModule, imports: [BaseCoreModule, LocalizationModule, i1$3.OAuthModule, i1.HttpClientXsrfModule], exports: [BaseCoreModule, LocalizationModule] });
3046
- RootCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RootCoreModule, imports: [[
3047
- BaseCoreModule,
3048
- LocalizationModule,
3049
- OAuthModule.forRoot(),
3050
- HttpClientXsrfModule.withOptions({
3051
- cookieName: 'XSRF-TOKEN',
3052
- headerName: 'RequestVerificationToken',
3053
- }),
3054
- ], BaseCoreModule, LocalizationModule] });
3055
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RootCoreModule, decorators: [{
3056
- type: NgModule,
3057
- args: [{
3058
- exports: [BaseCoreModule, LocalizationModule],
3059
- imports: [
3060
- BaseCoreModule,
3061
- LocalizationModule,
3062
- OAuthModule.forRoot(),
3063
- HttpClientXsrfModule.withOptions({
3064
- cookieName: 'XSRF-TOKEN',
3065
- headerName: 'RequestVerificationToken',
3066
- }),
3067
- ],
3068
- }]
3069
- }] });
3070
- /**
3071
- * CoreModule is the module that is publicly available
3072
- */
3073
- class CoreModule {
3074
- static forRoot(options = {}) {
3075
- return {
3076
- ngModule: RootCoreModule,
3077
- providers: [
3078
- LocaleProvider,
3079
- CookieLanguageProvider,
3080
- {
3081
- provide: 'CORE_OPTIONS',
3082
- useValue: options,
3083
- },
3084
- {
3085
- provide: CORE_OPTIONS,
3086
- useFactory: coreOptionsFactory,
3087
- deps: ['CORE_OPTIONS'],
3088
- },
3089
- {
3090
- provide: HTTP_INTERCEPTORS,
3091
- useExisting: ApiInterceptor,
3092
- multi: true,
3093
- },
3094
- {
3095
- provide: APP_INITIALIZER,
3096
- multi: true,
3097
- deps: [OAuthConfigurationHandler],
3098
- useFactory: noop,
3099
- },
3100
- {
3101
- provide: APP_INITIALIZER,
3102
- multi: true,
3103
- deps: [Injector],
3104
- useFactory: getInitialData,
3105
- },
3106
- {
3107
- provide: APP_INITIALIZER,
3108
- multi: true,
3109
- deps: [Injector],
3110
- useFactory: localeInitializer,
3111
- },
3112
- {
3113
- provide: APP_INITIALIZER,
3114
- multi: true,
3115
- deps: [LocalizationService],
3116
- useFactory: noop,
3117
- },
3118
- {
3119
- provide: APP_INITIALIZER,
3120
- multi: true,
3121
- deps: [RoutesHandler],
3122
- useFactory: noop,
3123
- },
3124
- { provide: OAuthStorage, useFactory: storageFactory },
3125
- { provide: TENANT_KEY, useValue: options.tenantKey || '__tenant' },
3126
- {
3127
- provide: LOCALIZATIONS,
3128
- multi: true,
3129
- useValue: localizationContributor(options.localizations),
3130
- deps: [LocalizationService],
3131
- },
3132
- ],
3133
- };
2925
+ class ContentProjectionService {
2926
+ constructor(injector) {
2927
+ this.injector = injector;
3134
2928
  }
3135
- static forChild(options = {}) {
3136
- return {
3137
- ngModule: RootCoreModule,
3138
- providers: [
3139
- {
3140
- provide: LOCALIZATIONS,
3141
- multi: true,
3142
- useValue: localizationContributor(options.localizations),
3143
- deps: [LocalizationService],
3144
- },
3145
- ],
3146
- };
2929
+ projectContent(projectionStrategy, injector = this.injector) {
2930
+ return projectionStrategy.injectContent(injector);
3147
2931
  }
3148
2932
  }
3149
- CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3150
- CoreModulemod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: CoreModule, imports: [BaseCoreModule], exports: [BaseCoreModule] });
3151
- CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: CoreModule, imports: [[BaseCoreModule], BaseCoreModule] });
3152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: CoreModule, decorators: [{
3153
- type: NgModule,
3154
- args: [{
3155
- exports: [BaseCoreModule],
3156
- imports: [BaseCoreModule],
3157
- }]
3158
- }] });
3159
- function ngxsStoragePluginSerialize(data) {
3160
- return data;
2933
+ ContentProjectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ContentProjectionService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
2934
+ ContentProjectionServiceprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ContentProjectionService, providedIn: 'root' });
2935
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ContentProjectionService, decorators: [{
2936
+ type: Injectable,
2937
+ args: [{ providedIn: 'root' }]
2938
+ }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
2939
+
2940
+ function getShortDateFormat(configStateService) {
2941
+ const dateTimeFormat = configStateService.getDeep('localization.currentCulture.dateTimeFormat');
2942
+ return dateTimeFormat.shortDatePattern;
2943
+ }
2944
+ function getShortTimeFormat(configStateService) {
2945
+ const dateTimeFormat = configStateService.getDeep('localization.currentCulture.dateTimeFormat');
2946
+ return dateTimeFormat.shortTimePattern.replace('tt', 'a');
2947
+ }
2948
+ function getShortDateShortTimeFormat(configStateService) {
2949
+ const dateTimeFormat = configStateService.getDeep('localization.currentCulture.dateTimeFormat');
2950
+ return `${dateTimeFormat.shortDatePattern} ${dateTimeFormat.shortTimePattern.replace('tt', 'a')}`;
3161
2951
  }
3162
2952
 
3163
- class AuthGuard {
3164
- constructor(oauthService, authService) {
3165
- this.oauthService = oauthService;
3166
- this.authService = authService;
3167
- }
3168
- canActivate() {
3169
- const hasValidAccessToken = this.oauthService.hasValidAccessToken();
3170
- if (hasValidAccessToken) {
3171
- return true;
3172
- }
3173
- this.authService.navigateToLogin();
3174
- return false;
3175
- }
3176
- }
3177
- AuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AuthGuard, deps: [{ token: i1$3.OAuthService }, { token: AuthService }], target: i0.ɵɵFactoryTarget.Injectable });
3178
- AuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AuthGuard, providedIn: 'root' });
3179
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AuthGuard, decorators: [{
3180
- type: Injectable,
3181
- args: [{
3182
- providedIn: 'root',
3183
- }]
3184
- }], ctorParameters: function () { return [{ type: i1$3.OAuthService }, { type: AuthService }]; } });
3185
-
3186
- class PermissionGuard {
3187
- constructor(router, routesService, permissionService, httpErrorReporter) {
3188
- this.router = router;
3189
- this.routesService = routesService;
3190
- this.permissionService = permissionService;
3191
- this.httpErrorReporter = httpErrorReporter;
3192
- }
3193
- canActivate(route, state) {
3194
- let { requiredPolicy } = route.data || {};
3195
- if (!requiredPolicy) {
3196
- const routeFound = findRoute(this.routesService, getRoutePath(this.router, state.url));
3197
- requiredPolicy = routeFound?.requiredPolicy;
3198
- }
3199
- if (!requiredPolicy)
3200
- return of(true);
3201
- return this.permissionService.getGrantedPolicy$(requiredPolicy).pipe(tap(access => {
3202
- if (!access) {
3203
- this.httpErrorReporter.reportError({ status: 403 });
3204
- }
3205
- }));
3206
- }
3207
- }
3208
- PermissionGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PermissionGuard, deps: [{ token: i1$1.Router }, { token: RoutesService }, { token: PermissionService }, { token: HttpErrorReporterService }], target: i0.ɵɵFactoryTarget.Injectable });
3209
- PermissionGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PermissionGuard, providedIn: 'root' });
3210
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PermissionGuard, decorators: [{
3211
- type: Injectable,
3212
- args: [{
3213
- providedIn: 'root',
3214
- }]
3215
- }], ctorParameters: function () { return [{ type: i1$1.Router }, { type: RoutesService }, { type: PermissionService }, { type: HttpErrorReporterService }]; } });
3216
-
3217
- class ListResultDto {
3218
- constructor(initialValues = {}) {
3219
- for (const key in initialValues) {
3220
- if (Object.prototype.hasOwnProperty.call(initialValues, key)) {
3221
- this[key] = initialValues[key];
3222
- }
3223
- }
3224
- }
3225
- }
3226
- class PagedResultDto extends ListResultDto {
3227
- constructor(initialValues = {}) {
3228
- super(initialValues);
3229
- }
3230
- }
3231
- class LimitedResultRequestDto {
3232
- constructor(initialValues = {}) {
3233
- this.maxResultCount = 10;
3234
- for (const key in initialValues) {
3235
- if (Object.prototype.hasOwnProperty.call(initialValues, key) &&
3236
- initialValues[key] !== undefined) {
3237
- this[key] = initialValues[key];
3238
- }
3239
- }
3240
- }
3241
- }
3242
- class PagedResultRequestDto extends LimitedResultRequestDto {
3243
- constructor(initialValues = {}) {
3244
- super(initialValues);
3245
- }
3246
- }
3247
- class PagedAndSortedResultRequestDto extends PagedResultRequestDto {
3248
- constructor(initialValues = {}) {
3249
- super(initialValues);
3250
- }
3251
- }
3252
- class EntityDto {
3253
- constructor(initialValues = {}) {
3254
- for (const key in initialValues) {
3255
- if (Object.prototype.hasOwnProperty.call(initialValues, key)) {
3256
- this[key] = initialValues[key];
3257
- }
3258
- }
3259
- }
3260
- }
3261
- class CreationAuditedEntityDto extends EntityDto {
3262
- constructor(initialValues = {}) {
3263
- super(initialValues);
3264
- }
3265
- }
3266
- class CreationAuditedEntityWithUserDto extends CreationAuditedEntityDto {
3267
- constructor(initialValues = {}) {
3268
- super(initialValues);
3269
- }
3270
- }
3271
- class AuditedEntityDto extends CreationAuditedEntityDto {
3272
- constructor(initialValues = {}) {
3273
- super(initialValues);
3274
- }
3275
- }
3276
- class AuditedEntityWithUserDto extends AuditedEntityDto {
3277
- constructor(initialValues = {}) {
3278
- super(initialValues);
3279
- }
3280
- }
3281
- class FullAuditedEntityDto extends AuditedEntityDto {
3282
- constructor(initialValues = {}) {
3283
- super(initialValues);
3284
- }
3285
- }
3286
- class FullAuditedEntityWithUserDto extends FullAuditedEntityDto {
3287
- constructor(initialValues = {}) {
3288
- super(initialValues);
3289
- }
3290
- }
3291
- class ExtensibleObject {
3292
- constructor(initialValues = {}) {
3293
- for (const key in initialValues) {
3294
- if (Object.prototype.hasOwnProperty.call(initialValues, key)) {
3295
- this[key] = initialValues[key];
3296
- }
3297
- }
3298
- }
3299
- }
3300
- class ExtensibleEntityDto extends ExtensibleObject {
3301
- constructor(initialValues = {}) {
3302
- super(initialValues);
3303
- }
3304
- }
3305
- class ExtensibleCreationAuditedEntityDto extends ExtensibleEntityDto {
3306
- constructor(initialValues = {}) {
3307
- super(initialValues);
3308
- }
3309
- }
3310
- class ExtensibleAuditedEntityDto extends ExtensibleCreationAuditedEntityDto {
3311
- constructor(initialValues = {}) {
3312
- super(initialValues);
3313
- }
3314
- }
3315
- class ExtensibleAuditedEntityWithUserDto extends ExtensibleAuditedEntityDto {
3316
- constructor(initialValues = {}) {
3317
- super(initialValues);
3318
- }
3319
- }
3320
- class ExtensibleCreationAuditedEntityWithUserDto extends ExtensibleCreationAuditedEntityDto {
3321
- constructor(initialValues = {}) {
3322
- super(initialValues);
3323
- }
3324
- }
3325
- class ExtensibleFullAuditedEntityDto extends ExtensibleAuditedEntityDto {
3326
- constructor(initialValues = {}) {
3327
- super(initialValues);
3328
- }
3329
- }
3330
- class ExtensibleFullAuditedEntityWithUserDto extends ExtensibleFullAuditedEntityDto {
3331
- constructor(initialValues = {}) {
3332
- super(initialValues);
3333
- }
3334
- }
3335
-
3336
- class AbpApiDefinitionService {
3337
- constructor(restService) {
3338
- this.restService = restService;
3339
- this.apiName = 'abp';
3340
- this.getByModel = (model) => this.restService.request({
3341
- method: 'GET',
3342
- url: '/api/abp/api-definition',
3343
- params: { includeTypes: model.includeTypes },
3344
- }, { apiName: this.apiName });
3345
- }
3346
- }
3347
- AbpApiDefinitionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AbpApiDefinitionService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
3348
- AbpApiDefinitionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AbpApiDefinitionService, providedIn: 'root' });
3349
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AbpApiDefinitionService, decorators: [{
3350
- type: Injectable,
3351
- args: [{
3352
- providedIn: 'root',
3353
- }]
3354
- }], ctorParameters: function () { return [{ type: RestService }]; } });
3355
-
3356
- /* eslint-disable @typescript-eslint/ban-types */
3357
-
3358
- var index = /*#__PURE__*/Object.freeze({
3359
- __proto__: null
3360
- });
3361
-
3362
- /* eslint-disable @typescript-eslint/ban-types */
3363
-
3364
- class ContentProjectionService {
3365
- constructor(injector) {
3366
- this.injector = injector;
3367
- }
3368
- projectContent(projectionStrategy, injector = this.injector) {
3369
- return projectionStrategy.injectContent(injector);
3370
- }
3371
- }
3372
- ContentProjectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ContentProjectionService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
3373
- ContentProjectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ContentProjectionService, providedIn: 'root' });
3374
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ContentProjectionService, decorators: [{
3375
- type: Injectable,
3376
- args: [{ providedIn: 'root' }]
3377
- }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
3378
-
3379
- function getShortDateFormat(configStateService) {
3380
- const dateTimeFormat = configStateService.getDeep('localization.currentCulture.dateTimeFormat');
3381
- return dateTimeFormat.shortDatePattern;
3382
- }
3383
- function getShortTimeFormat(configStateService) {
3384
- const dateTimeFormat = configStateService.getDeep('localization.currentCulture.dateTimeFormat');
3385
- return dateTimeFormat.shortTimePattern.replace('tt', 'a');
3386
- }
3387
- function getShortDateShortTimeFormat(configStateService) {
3388
- const dateTimeFormat = configStateService.getDeep('localization.currentCulture.dateTimeFormat');
3389
- return `${dateTimeFormat.shortDatePattern} ${dateTimeFormat.shortTimePattern.replace('tt', 'a')}`;
3390
- }
3391
-
3392
- class LazyModuleFactory extends NgModuleFactory {
3393
- constructor(moduleWithProviders) {
3394
- super();
3395
- this.moduleWithProviders = moduleWithProviders;
2953
+ class LazyModuleFactory extends NgModuleFactory {
2954
+ constructor(moduleWithProviders) {
2955
+ super();
2956
+ this.moduleWithProviders = moduleWithProviders;
3396
2957
  }
3397
2958
  get moduleType() {
3398
2959
  return this.moduleWithProviders.ngModule;
@@ -3586,9 +3147,9 @@ class DomInsertionService {
3586
3147
  return this.inserted.has(hash);
3587
3148
  }
3588
3149
  }
3589
- DomInsertionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: DomInsertionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3590
- DomInsertionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: DomInsertionService, providedIn: 'root' });
3591
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: DomInsertionService, decorators: [{
3150
+ DomInsertionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: DomInsertionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3151
+ DomInsertionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: DomInsertionService, providedIn: 'root' });
3152
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: DomInsertionService, decorators: [{
3592
3153
  type: Injectable,
3593
3154
  args: [{ providedIn: 'root' }]
3594
3155
  }] });
@@ -3620,9 +3181,9 @@ class ResourceWaitService {
3620
3181
  this.store.patch({ resources });
3621
3182
  }
3622
3183
  }
3623
- ResourceWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ResourceWaitService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3624
- ResourceWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ResourceWaitService, providedIn: 'root' });
3625
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ResourceWaitService, decorators: [{
3184
+ ResourceWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ResourceWaitService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3185
+ ResourceWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ResourceWaitService, providedIn: 'root' });
3186
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ResourceWaitService, decorators: [{
3626
3187
  type: Injectable,
3627
3188
  args: [{
3628
3189
  providedIn: 'root',
@@ -3652,9 +3213,9 @@ class LazyLoadService {
3652
3213
  return true;
3653
3214
  }
3654
3215
  }
3655
- LazyLoadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: LazyLoadService, deps: [{ token: ResourceWaitService }], target: i0.ɵɵFactoryTarget.Injectable });
3656
- LazyLoadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: LazyLoadService, providedIn: 'root' });
3657
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: LazyLoadService, decorators: [{
3216
+ LazyLoadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LazyLoadService, deps: [{ token: ResourceWaitService }], target: i0.ɵɵFactoryTarget.Injectable });
3217
+ LazyLoadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LazyLoadService, providedIn: 'root' });
3218
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LazyLoadService, decorators: [{
3658
3219
  type: Injectable,
3659
3220
  args: [{
3660
3221
  providedIn: 'root',
@@ -3755,9 +3316,9 @@ class ListService {
3755
3316
  });
3756
3317
  }
3757
3318
  }
3758
- ListService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ListService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
3759
- ListService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ListService });
3760
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ListService, decorators: [{
3319
+ ListService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ListService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
3320
+ ListService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ListService });
3321
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ListService, decorators: [{
3761
3322
  type: Injectable
3762
3323
  }], ctorParameters: function () { return [{ type: i0.Injector }]; } });
3763
3324
 
@@ -3794,9 +3355,9 @@ class RouterWaitService {
3794
3355
  this.store.patch({ loading });
3795
3356
  }
3796
3357
  }
3797
- RouterWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RouterWaitService, deps: [{ token: RouterEvents }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
3798
- RouterWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RouterWaitService, providedIn: 'root' });
3799
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RouterWaitService, decorators: [{
3358
+ RouterWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RouterWaitService, deps: [{ token: RouterEvents }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
3359
+ RouterWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RouterWaitService, providedIn: 'root' });
3360
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RouterWaitService, decorators: [{
3800
3361
  type: Injectable,
3801
3362
  args: [{
3802
3363
  providedIn: 'root',
@@ -3813,15 +3374,555 @@ class TrackByService {
3813
3374
  this.byDeep = trackByDeep;
3814
3375
  }
3815
3376
  }
3816
- TrackByService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: TrackByService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3817
- TrackByService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: TrackByService, providedIn: 'root' });
3818
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: TrackByService, decorators: [{
3377
+ TrackByService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: TrackByService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3378
+ TrackByService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: TrackByService, providedIn: 'root' });
3379
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: TrackByService, decorators: [{
3819
3380
  type: Injectable,
3820
3381
  args: [{
3821
3382
  providedIn: 'root',
3822
3383
  }]
3823
3384
  }] });
3824
3385
 
3386
+ class ShortDateTimePipe extends DatePipe {
3387
+ constructor(configStateService, locale, defaultTimezone) {
3388
+ super(locale, defaultTimezone);
3389
+ this.configStateService = configStateService;
3390
+ }
3391
+ transform(value, timezone, locale) {
3392
+ const format = getShortDateShortTimeFormat(this.configStateService);
3393
+ return super.transform(value, format, timezone, locale);
3394
+ }
3395
+ }
3396
+ ShortDateTimePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ShortDateTimePipe, deps: [{ token: ConfigStateService }, { token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
3397
+ ShortDateTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ShortDateTimePipe, name: "shortDateTime" });
3398
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ShortDateTimePipe, decorators: [{
3399
+ type: Pipe,
3400
+ args: [{
3401
+ name: 'shortDateTime',
3402
+ pure: true,
3403
+ }]
3404
+ }], ctorParameters: function () { return [{ type: ConfigStateService }, { type: undefined, decorators: [{
3405
+ type: Inject,
3406
+ args: [LOCALE_ID]
3407
+ }] }, { type: undefined, decorators: [{
3408
+ type: Inject,
3409
+ args: [DATE_PIPE_DEFAULT_TIMEZONE]
3410
+ }, {
3411
+ type: Optional
3412
+ }] }]; } });
3413
+
3414
+ class ShortTimePipe extends DatePipe {
3415
+ constructor(configStateService, locale, defaultTimezone) {
3416
+ super(locale, defaultTimezone);
3417
+ this.configStateService = configStateService;
3418
+ }
3419
+ transform(value, timezone, locale) {
3420
+ const format = getShortTimeFormat(this.configStateService);
3421
+ return super.transform(value, format, timezone, locale);
3422
+ }
3423
+ }
3424
+ ShortTimePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ShortTimePipe, deps: [{ token: ConfigStateService }, { token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
3425
+ ShortTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ShortTimePipe, name: "shortTime" });
3426
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ShortTimePipe, decorators: [{
3427
+ type: Pipe,
3428
+ args: [{
3429
+ name: 'shortTime',
3430
+ pure: true,
3431
+ }]
3432
+ }], ctorParameters: function () { return [{ type: ConfigStateService }, { type: undefined, decorators: [{
3433
+ type: Inject,
3434
+ args: [LOCALE_ID]
3435
+ }] }, { type: undefined, decorators: [{
3436
+ type: Inject,
3437
+ args: [DATE_PIPE_DEFAULT_TIMEZONE]
3438
+ }, {
3439
+ type: Optional
3440
+ }] }]; } });
3441
+
3442
+ class ShortDatePipe extends DatePipe {
3443
+ constructor(configStateService, locale, defaultTimezone) {
3444
+ super(locale, defaultTimezone);
3445
+ this.configStateService = configStateService;
3446
+ }
3447
+ transform(value, timezone, locale) {
3448
+ const format = getShortDateFormat(this.configStateService);
3449
+ return super.transform(value, format, timezone, locale);
3450
+ }
3451
+ }
3452
+ ShortDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ShortDatePipe, deps: [{ token: ConfigStateService }, { token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
3453
+ ShortDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ShortDatePipe, name: "shortDate" });
3454
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ShortDatePipe, decorators: [{
3455
+ type: Pipe,
3456
+ args: [{
3457
+ name: 'shortDate',
3458
+ pure: true,
3459
+ }]
3460
+ }], ctorParameters: function () { return [{ type: ConfigStateService }, { type: undefined, decorators: [{
3461
+ type: Inject,
3462
+ args: [LOCALE_ID]
3463
+ }] }, { type: undefined, decorators: [{
3464
+ type: Inject,
3465
+ args: [DATE_PIPE_DEFAULT_TIMEZONE]
3466
+ }, {
3467
+ type: Optional
3468
+ }] }]; } });
3469
+
3470
+ function storageFactory() {
3471
+ return oAuthStorage;
3472
+ }
3473
+ /**
3474
+ * BaseCoreModule is the module that holds
3475
+ * all imports, declarations, exports, and entryComponents
3476
+ * but not the providers.
3477
+ * This module will be imported and exported by all others.
3478
+ */
3479
+ class BaseCoreModule {
3480
+ }
3481
+ BaseCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: BaseCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3482
+ BaseCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: BaseCoreModule, declarations: [AbstractNgModelComponent,
3483
+ AutofocusDirective,
3484
+ DynamicLayoutComponent,
3485
+ ForDirective,
3486
+ FormSubmitDirective,
3487
+ InitDirective,
3488
+ InputEventDebounceDirective,
3489
+ PermissionDirective,
3490
+ ReplaceableRouteContainerComponent,
3491
+ ReplaceableTemplateDirective,
3492
+ RouterOutletComponent,
3493
+ SortPipe,
3494
+ StopPropagationDirective,
3495
+ ToInjectorPipe,
3496
+ ShortDateTimePipe,
3497
+ ShortTimePipe,
3498
+ ShortDatePipe], imports: [OAuthModule,
3499
+ CommonModule,
3500
+ HttpClientModule,
3501
+ FormsModule,
3502
+ ReactiveFormsModule,
3503
+ RouterModule,
3504
+ LocalizationModule], exports: [CommonModule,
3505
+ HttpClientModule,
3506
+ FormsModule,
3507
+ ReactiveFormsModule,
3508
+ RouterModule,
3509
+ LocalizationModule,
3510
+ AbstractNgModelComponent,
3511
+ AutofocusDirective,
3512
+ DynamicLayoutComponent,
3513
+ ForDirective,
3514
+ FormSubmitDirective,
3515
+ InitDirective,
3516
+ InputEventDebounceDirective,
3517
+ PermissionDirective,
3518
+ ReplaceableRouteContainerComponent,
3519
+ ReplaceableTemplateDirective,
3520
+ RouterOutletComponent,
3521
+ SortPipe,
3522
+ StopPropagationDirective,
3523
+ ToInjectorPipe,
3524
+ ShortDateTimePipe,
3525
+ ShortTimePipe,
3526
+ ShortDatePipe] });
3527
+ BaseCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: BaseCoreModule, providers: [LocalizationPipe], imports: [[
3528
+ OAuthModule,
3529
+ CommonModule,
3530
+ HttpClientModule,
3531
+ FormsModule,
3532
+ ReactiveFormsModule,
3533
+ RouterModule,
3534
+ LocalizationModule,
3535
+ ], CommonModule,
3536
+ HttpClientModule,
3537
+ FormsModule,
3538
+ ReactiveFormsModule,
3539
+ RouterModule,
3540
+ LocalizationModule] });
3541
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: BaseCoreModule, decorators: [{
3542
+ type: NgModule,
3543
+ args: [{
3544
+ exports: [
3545
+ CommonModule,
3546
+ HttpClientModule,
3547
+ FormsModule,
3548
+ ReactiveFormsModule,
3549
+ RouterModule,
3550
+ LocalizationModule,
3551
+ AbstractNgModelComponent,
3552
+ AutofocusDirective,
3553
+ DynamicLayoutComponent,
3554
+ ForDirective,
3555
+ FormSubmitDirective,
3556
+ InitDirective,
3557
+ InputEventDebounceDirective,
3558
+ PermissionDirective,
3559
+ ReplaceableRouteContainerComponent,
3560
+ ReplaceableTemplateDirective,
3561
+ RouterOutletComponent,
3562
+ SortPipe,
3563
+ StopPropagationDirective,
3564
+ ToInjectorPipe,
3565
+ ShortDateTimePipe,
3566
+ ShortTimePipe,
3567
+ ShortDatePipe
3568
+ ],
3569
+ imports: [
3570
+ OAuthModule,
3571
+ CommonModule,
3572
+ HttpClientModule,
3573
+ FormsModule,
3574
+ ReactiveFormsModule,
3575
+ RouterModule,
3576
+ LocalizationModule,
3577
+ ],
3578
+ declarations: [
3579
+ AbstractNgModelComponent,
3580
+ AutofocusDirective,
3581
+ DynamicLayoutComponent,
3582
+ ForDirective,
3583
+ FormSubmitDirective,
3584
+ InitDirective,
3585
+ InputEventDebounceDirective,
3586
+ PermissionDirective,
3587
+ ReplaceableRouteContainerComponent,
3588
+ ReplaceableTemplateDirective,
3589
+ RouterOutletComponent,
3590
+ SortPipe,
3591
+ StopPropagationDirective,
3592
+ ToInjectorPipe,
3593
+ ShortDateTimePipe,
3594
+ ShortTimePipe,
3595
+ ShortDatePipe
3596
+ ],
3597
+ providers: [LocalizationPipe]
3598
+ }]
3599
+ }] });
3600
+ /**
3601
+ * RootCoreModule is the module that will be used at root level
3602
+ * and it introduces imports useful at root level (e.g. NGXS)
3603
+ */
3604
+ class RootCoreModule {
3605
+ }
3606
+ RootCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RootCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3607
+ RootCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RootCoreModule, imports: [BaseCoreModule, LocalizationModule, i1$3.OAuthModule, i1.HttpClientXsrfModule], exports: [BaseCoreModule, LocalizationModule] });
3608
+ RootCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RootCoreModule, imports: [[
3609
+ BaseCoreModule,
3610
+ LocalizationModule,
3611
+ OAuthModule.forRoot(),
3612
+ HttpClientXsrfModule.withOptions({
3613
+ cookieName: 'XSRF-TOKEN',
3614
+ headerName: 'RequestVerificationToken',
3615
+ }),
3616
+ ], BaseCoreModule, LocalizationModule] });
3617
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RootCoreModule, decorators: [{
3618
+ type: NgModule,
3619
+ args: [{
3620
+ exports: [BaseCoreModule, LocalizationModule],
3621
+ imports: [
3622
+ BaseCoreModule,
3623
+ LocalizationModule,
3624
+ OAuthModule.forRoot(),
3625
+ HttpClientXsrfModule.withOptions({
3626
+ cookieName: 'XSRF-TOKEN',
3627
+ headerName: 'RequestVerificationToken',
3628
+ }),
3629
+ ],
3630
+ }]
3631
+ }] });
3632
+ /**
3633
+ * CoreModule is the module that is publicly available
3634
+ */
3635
+ class CoreModule {
3636
+ static forRoot(options = {}) {
3637
+ return {
3638
+ ngModule: RootCoreModule,
3639
+ providers: [
3640
+ LocaleProvider,
3641
+ CookieLanguageProvider,
3642
+ {
3643
+ provide: 'CORE_OPTIONS',
3644
+ useValue: options,
3645
+ },
3646
+ {
3647
+ provide: CORE_OPTIONS,
3648
+ useFactory: coreOptionsFactory,
3649
+ deps: ['CORE_OPTIONS'],
3650
+ },
3651
+ {
3652
+ provide: HTTP_INTERCEPTORS,
3653
+ useExisting: ApiInterceptor,
3654
+ multi: true,
3655
+ },
3656
+ {
3657
+ provide: APP_INITIALIZER,
3658
+ multi: true,
3659
+ deps: [OAuthConfigurationHandler],
3660
+ useFactory: noop,
3661
+ },
3662
+ {
3663
+ provide: APP_INITIALIZER,
3664
+ multi: true,
3665
+ deps: [Injector],
3666
+ useFactory: getInitialData,
3667
+ },
3668
+ {
3669
+ provide: APP_INITIALIZER,
3670
+ multi: true,
3671
+ deps: [Injector],
3672
+ useFactory: localeInitializer,
3673
+ },
3674
+ {
3675
+ provide: APP_INITIALIZER,
3676
+ multi: true,
3677
+ deps: [LocalizationService],
3678
+ useFactory: noop,
3679
+ },
3680
+ {
3681
+ provide: APP_INITIALIZER,
3682
+ multi: true,
3683
+ deps: [RoutesHandler],
3684
+ useFactory: noop,
3685
+ },
3686
+ { provide: OAuthStorage, useFactory: storageFactory },
3687
+ { provide: TENANT_KEY, useValue: options.tenantKey || '__tenant' },
3688
+ {
3689
+ provide: LOCALIZATIONS,
3690
+ multi: true,
3691
+ useValue: localizationContributor(options.localizations),
3692
+ deps: [LocalizationService],
3693
+ },
3694
+ ],
3695
+ };
3696
+ }
3697
+ static forChild(options = {}) {
3698
+ return {
3699
+ ngModule: RootCoreModule,
3700
+ providers: [
3701
+ {
3702
+ provide: LOCALIZATIONS,
3703
+ multi: true,
3704
+ useValue: localizationContributor(options.localizations),
3705
+ deps: [LocalizationService],
3706
+ },
3707
+ ],
3708
+ };
3709
+ }
3710
+ }
3711
+ CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3712
+ CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: CoreModule, imports: [BaseCoreModule], exports: [BaseCoreModule] });
3713
+ CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: CoreModule, imports: [[BaseCoreModule], BaseCoreModule] });
3714
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: CoreModule, decorators: [{
3715
+ type: NgModule,
3716
+ args: [{
3717
+ exports: [BaseCoreModule],
3718
+ imports: [BaseCoreModule],
3719
+ }]
3720
+ }] });
3721
+ function ngxsStoragePluginSerialize(data) {
3722
+ return data;
3723
+ }
3724
+
3725
+ class AuthGuard {
3726
+ constructor(oauthService, authService) {
3727
+ this.oauthService = oauthService;
3728
+ this.authService = authService;
3729
+ }
3730
+ canActivate() {
3731
+ const hasValidAccessToken = this.oauthService.hasValidAccessToken();
3732
+ if (hasValidAccessToken) {
3733
+ return true;
3734
+ }
3735
+ this.authService.navigateToLogin();
3736
+ return false;
3737
+ }
3738
+ }
3739
+ AuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AuthGuard, deps: [{ token: i1$3.OAuthService }, { token: AuthService }], target: i0.ɵɵFactoryTarget.Injectable });
3740
+ AuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AuthGuard, providedIn: 'root' });
3741
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AuthGuard, decorators: [{
3742
+ type: Injectable,
3743
+ args: [{
3744
+ providedIn: 'root',
3745
+ }]
3746
+ }], ctorParameters: function () { return [{ type: i1$3.OAuthService }, { type: AuthService }]; } });
3747
+
3748
+ class PermissionGuard {
3749
+ constructor(router, routesService, permissionService, httpErrorReporter) {
3750
+ this.router = router;
3751
+ this.routesService = routesService;
3752
+ this.permissionService = permissionService;
3753
+ this.httpErrorReporter = httpErrorReporter;
3754
+ }
3755
+ canActivate(route, state) {
3756
+ let { requiredPolicy } = route.data || {};
3757
+ if (!requiredPolicy) {
3758
+ const routeFound = findRoute(this.routesService, getRoutePath(this.router, state.url));
3759
+ requiredPolicy = routeFound?.requiredPolicy;
3760
+ }
3761
+ if (!requiredPolicy)
3762
+ return of(true);
3763
+ return this.permissionService.getGrantedPolicy$(requiredPolicy).pipe(tap(access => {
3764
+ if (!access) {
3765
+ this.httpErrorReporter.reportError({ status: 403 });
3766
+ }
3767
+ }));
3768
+ }
3769
+ }
3770
+ PermissionGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: PermissionGuard, deps: [{ token: i1$1.Router }, { token: RoutesService }, { token: PermissionService }, { token: HttpErrorReporterService }], target: i0.ɵɵFactoryTarget.Injectable });
3771
+ PermissionGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: PermissionGuard, providedIn: 'root' });
3772
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: PermissionGuard, decorators: [{
3773
+ type: Injectable,
3774
+ args: [{
3775
+ providedIn: 'root',
3776
+ }]
3777
+ }], ctorParameters: function () { return [{ type: i1$1.Router }, { type: RoutesService }, { type: PermissionService }, { type: HttpErrorReporterService }]; } });
3778
+
3779
+ class ListResultDto {
3780
+ constructor(initialValues = {}) {
3781
+ for (const key in initialValues) {
3782
+ if (Object.prototype.hasOwnProperty.call(initialValues, key)) {
3783
+ this[key] = initialValues[key];
3784
+ }
3785
+ }
3786
+ }
3787
+ }
3788
+ class PagedResultDto extends ListResultDto {
3789
+ constructor(initialValues = {}) {
3790
+ super(initialValues);
3791
+ }
3792
+ }
3793
+ class LimitedResultRequestDto {
3794
+ constructor(initialValues = {}) {
3795
+ this.maxResultCount = 10;
3796
+ for (const key in initialValues) {
3797
+ if (Object.prototype.hasOwnProperty.call(initialValues, key) &&
3798
+ initialValues[key] !== undefined) {
3799
+ this[key] = initialValues[key];
3800
+ }
3801
+ }
3802
+ }
3803
+ }
3804
+ class PagedResultRequestDto extends LimitedResultRequestDto {
3805
+ constructor(initialValues = {}) {
3806
+ super(initialValues);
3807
+ }
3808
+ }
3809
+ class PagedAndSortedResultRequestDto extends PagedResultRequestDto {
3810
+ constructor(initialValues = {}) {
3811
+ super(initialValues);
3812
+ }
3813
+ }
3814
+ class EntityDto {
3815
+ constructor(initialValues = {}) {
3816
+ for (const key in initialValues) {
3817
+ if (Object.prototype.hasOwnProperty.call(initialValues, key)) {
3818
+ this[key] = initialValues[key];
3819
+ }
3820
+ }
3821
+ }
3822
+ }
3823
+ class CreationAuditedEntityDto extends EntityDto {
3824
+ constructor(initialValues = {}) {
3825
+ super(initialValues);
3826
+ }
3827
+ }
3828
+ class CreationAuditedEntityWithUserDto extends CreationAuditedEntityDto {
3829
+ constructor(initialValues = {}) {
3830
+ super(initialValues);
3831
+ }
3832
+ }
3833
+ class AuditedEntityDto extends CreationAuditedEntityDto {
3834
+ constructor(initialValues = {}) {
3835
+ super(initialValues);
3836
+ }
3837
+ }
3838
+ class AuditedEntityWithUserDto extends AuditedEntityDto {
3839
+ constructor(initialValues = {}) {
3840
+ super(initialValues);
3841
+ }
3842
+ }
3843
+ class FullAuditedEntityDto extends AuditedEntityDto {
3844
+ constructor(initialValues = {}) {
3845
+ super(initialValues);
3846
+ }
3847
+ }
3848
+ class FullAuditedEntityWithUserDto extends FullAuditedEntityDto {
3849
+ constructor(initialValues = {}) {
3850
+ super(initialValues);
3851
+ }
3852
+ }
3853
+ class ExtensibleObject {
3854
+ constructor(initialValues = {}) {
3855
+ for (const key in initialValues) {
3856
+ if (Object.prototype.hasOwnProperty.call(initialValues, key)) {
3857
+ this[key] = initialValues[key];
3858
+ }
3859
+ }
3860
+ }
3861
+ }
3862
+ class ExtensibleEntityDto extends ExtensibleObject {
3863
+ constructor(initialValues = {}) {
3864
+ super(initialValues);
3865
+ }
3866
+ }
3867
+ class ExtensibleCreationAuditedEntityDto extends ExtensibleEntityDto {
3868
+ constructor(initialValues = {}) {
3869
+ super(initialValues);
3870
+ }
3871
+ }
3872
+ class ExtensibleAuditedEntityDto extends ExtensibleCreationAuditedEntityDto {
3873
+ constructor(initialValues = {}) {
3874
+ super(initialValues);
3875
+ }
3876
+ }
3877
+ class ExtensibleAuditedEntityWithUserDto extends ExtensibleAuditedEntityDto {
3878
+ constructor(initialValues = {}) {
3879
+ super(initialValues);
3880
+ }
3881
+ }
3882
+ class ExtensibleCreationAuditedEntityWithUserDto extends ExtensibleCreationAuditedEntityDto {
3883
+ constructor(initialValues = {}) {
3884
+ super(initialValues);
3885
+ }
3886
+ }
3887
+ class ExtensibleFullAuditedEntityDto extends ExtensibleAuditedEntityDto {
3888
+ constructor(initialValues = {}) {
3889
+ super(initialValues);
3890
+ }
3891
+ }
3892
+ class ExtensibleFullAuditedEntityWithUserDto extends ExtensibleFullAuditedEntityDto {
3893
+ constructor(initialValues = {}) {
3894
+ super(initialValues);
3895
+ }
3896
+ }
3897
+
3898
+ class AbpApiDefinitionService {
3899
+ constructor(restService) {
3900
+ this.restService = restService;
3901
+ this.apiName = 'abp';
3902
+ this.getByModel = (model) => this.restService.request({
3903
+ method: 'GET',
3904
+ url: '/api/abp/api-definition',
3905
+ params: { includeTypes: model.includeTypes },
3906
+ }, { apiName: this.apiName });
3907
+ }
3908
+ }
3909
+ AbpApiDefinitionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbpApiDefinitionService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
3910
+ AbpApiDefinitionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbpApiDefinitionService, providedIn: 'root' });
3911
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbpApiDefinitionService, decorators: [{
3912
+ type: Injectable,
3913
+ args: [{
3914
+ providedIn: 'root',
3915
+ }]
3916
+ }], ctorParameters: function () { return [{ type: RestService }]; } });
3917
+
3918
+ /* eslint-disable @typescript-eslint/ban-types */
3919
+
3920
+ var index = /*#__PURE__*/Object.freeze({
3921
+ __proto__: null
3922
+ });
3923
+
3924
+ /* eslint-disable @typescript-eslint/ban-types */
3925
+
3825
3926
  class ContainerStrategy {
3826
3927
  constructor(containerRef) {
3827
3928
  this.containerRef = containerRef;
@@ -4220,5 +4321,5 @@ const AbpValidators = {
4220
4321
  * Generated bundle index. Do not edit.
4221
4322
  */
4222
4323
 
4223
- export { APP_INIT_ERROR_HANDLERS, AbpApiDefinitionService, AbpApplicationConfigurationService, 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, 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, SortPipe, StopPropagationDirective, StyleContentStrategy, StyleLoadingStrategy, SubscriptionService, TENANT_KEY, TemplateContextStrategy, TemplateProjectionStrategy, 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, isNullOrUndefined, isNumber, isObject, isObjectAndNotArray, isObjectAndNotArrayNotNode, isUndefinedOrEmptyString, localeInitializer, localizationContributor, localizations$, mapEnumToOptions, ngxsStoragePluginSerialize, noop, parseTenantFromUrl, pipeToLogin, pushValueTo, reloadRoute, removeRememberMe, setRememberMe, setTokenResponseToStorage, storageFactory, trackBy, trackByDeep, uuid, validateCreditCard, validateMinAge, validateRange, validateRequired, validateStringLength, validateUrl };
4324
+ export { APP_INIT_ERROR_HANDLERS, AbpApiDefinitionService, AbpApplicationConfigurationService, 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, 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, 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, isNullOrUndefined, isNumber, isObject, isObjectAndNotArray, isObjectAndNotArrayNotNode, isUndefinedOrEmptyString, localeInitializer, localizationContributor, localizations$, mapEnumToOptions, ngxsStoragePluginSerialize, noop, parseTenantFromUrl, pipeToLogin, pushValueTo, reloadRoute, removeRememberMe, setRememberMe, setTokenResponseToStorage, storageFactory, trackBy, trackByDeep, uuid, validateCreditCard, validateMinAge, validateRange, validateRequired, validateStringLength, validateUrl };
4224
4325
  //# sourceMappingURL=abp-ng.core.mjs.map