@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.
- package/esm2020/lib/abstracts/ng-model.component.mjs +3 -3
- package/esm2020/lib/components/dynamic-layout.component.mjs +3 -3
- package/esm2020/lib/components/replaceable-route-container.component.mjs +3 -3
- package/esm2020/lib/components/router-outlet.component.mjs +3 -3
- package/esm2020/lib/core.module.mjs +30 -15
- package/esm2020/lib/directives/autofocus.directive.mjs +3 -3
- package/esm2020/lib/directives/debounce.directive.mjs +3 -3
- package/esm2020/lib/directives/for.directive.mjs +3 -3
- package/esm2020/lib/directives/form-submit.directive.mjs +10 -5
- package/esm2020/lib/directives/init.directive.mjs +3 -3
- package/esm2020/lib/directives/permission.directive.mjs +3 -3
- package/esm2020/lib/directives/replaceable-template.directive.mjs +3 -3
- package/esm2020/lib/directives/stop-propagation.directive.mjs +3 -3
- package/esm2020/lib/guards/auth.guard.mjs +3 -3
- package/esm2020/lib/guards/permission.guard.mjs +3 -3
- package/esm2020/lib/handlers/oauth-configuration.handler.mjs +3 -3
- package/esm2020/lib/handlers/routes.handler.mjs +3 -3
- package/esm2020/lib/interceptors/api.interceptor.mjs +3 -3
- package/esm2020/lib/localization.module.mjs +4 -4
- package/esm2020/lib/pipes/index.mjs +4 -1
- package/esm2020/lib/pipes/localization.pipe.mjs +4 -4
- package/esm2020/lib/pipes/short-date-time.pipe.mjs +34 -0
- package/esm2020/lib/pipes/short-date.pipe.mjs +34 -0
- package/esm2020/lib/pipes/short-time.pipe.mjs +34 -0
- package/esm2020/lib/pipes/sort.pipe.mjs +4 -4
- package/esm2020/lib/pipes/to-injector.pipe.mjs +3 -3
- package/esm2020/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.mjs +3 -3
- package/esm2020/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.mjs +3 -3
- package/esm2020/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.mjs +3 -3
- package/esm2020/lib/services/auth.service.mjs +3 -3
- package/esm2020/lib/services/config-state.service.mjs +3 -3
- package/esm2020/lib/services/content-projection.service.mjs +3 -3
- package/esm2020/lib/services/dom-insertion.service.mjs +3 -3
- package/esm2020/lib/services/environment.service.mjs +3 -3
- package/esm2020/lib/services/http-error-reporter.service.mjs +3 -3
- package/esm2020/lib/services/http-wait.service.mjs +3 -3
- package/esm2020/lib/services/lazy-load.service.mjs +3 -3
- package/esm2020/lib/services/list.service.mjs +3 -3
- package/esm2020/lib/services/localization.service.mjs +3 -3
- package/esm2020/lib/services/multi-tenancy.service.mjs +3 -3
- package/esm2020/lib/services/permission.service.mjs +3 -3
- package/esm2020/lib/services/replaceable-components.service.mjs +3 -3
- package/esm2020/lib/services/resource-wait.service.mjs +3 -3
- package/esm2020/lib/services/rest.service.mjs +3 -3
- package/esm2020/lib/services/router-events.service.mjs +3 -3
- package/esm2020/lib/services/router-wait.service.mjs +3 -3
- package/esm2020/lib/services/routes.service.mjs +6 -6
- package/esm2020/lib/services/session-state.service.mjs +3 -3
- package/esm2020/lib/services/subscription.service.mjs +3 -3
- package/esm2020/lib/services/track-by.service.mjs +3 -3
- package/esm2020/testing/lib/core-testing.module.mjs +4 -4
- package/esm2020/testing/lib/services/mock-permission.service.mjs +3 -3
- package/esm2020/testing/lib/services/mock-rest.service.mjs +3 -3
- package/fesm2015/abp-ng.core-locale.mjs.map +1 -1
- package/fesm2015/abp-ng.core-testing.mjs +10 -10
- package/fesm2015/abp-ng.core-testing.mjs.map +1 -1
- package/fesm2015/abp-ng.core.mjs +696 -589
- package/fesm2015/abp-ng.core.mjs.map +1 -1
- package/fesm2020/abp-ng.core-locale.mjs.map +1 -1
- package/fesm2020/abp-ng.core-testing.mjs +10 -10
- package/fesm2020/abp-ng.core-testing.mjs.map +1 -1
- package/fesm2020/abp-ng.core.mjs +704 -603
- package/fesm2020/abp-ng.core.mjs.map +1 -1
- package/lib/core.module.d.ts +11 -8
- package/lib/directives/form-submit.directive.d.ts +2 -1
- package/lib/pipes/index.d.ts +3 -0
- package/lib/pipes/short-date-time.pipe.d.ts +12 -0
- package/lib/pipes/short-date.pipe.d.ts +12 -0
- package/lib/pipes/short-time.pipe.d.ts +12 -0
- package/package.json +2 -2
package/fesm2015/abp-ng.core.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import { __rest, __awaiter } from 'tslib';
|
|
|
9
9
|
import * as i1 from '@angular/common/http';
|
|
10
10
|
import { HttpParams, HttpHeaders, HttpClient, HttpClientModule, HttpClientXsrfModule, HTTP_INTERCEPTORS } from '@angular/common/http';
|
|
11
11
|
import * as i5 from '@angular/common';
|
|
12
|
-
import { registerLocaleData, DOCUMENT, CommonModule } from '@angular/common';
|
|
12
|
+
import { registerLocaleData, DOCUMENT, DatePipe, DATE_PIPE_DEFAULT_TIMEZONE, CommonModule } from '@angular/common';
|
|
13
13
|
import * as i1$2 from '@angular/forms';
|
|
14
14
|
import { FormsModule, ReactiveFormsModule, Validators } from '@angular/forms';
|
|
15
15
|
import * as i1$3 from 'angular-oauth2-oidc';
|
|
@@ -56,9 +56,9 @@ class AbstractNgModelComponent {
|
|
|
56
56
|
this.disabled = isDisabled;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
AbstractNgModelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
60
|
-
AbstractNgModelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
59
|
+
AbstractNgModelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbstractNgModelComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
60
|
+
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 });
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbstractNgModelComponent, decorators: [{
|
|
62
62
|
type: Component,
|
|
63
63
|
args: [{ template: '' }]
|
|
64
64
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; }, propDecorators: { disabled: [{
|
|
@@ -261,9 +261,9 @@ class EnvironmentService {
|
|
|
261
261
|
this.store.set(environment);
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
|
-
EnvironmentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
265
|
-
EnvironmentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
266
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
264
|
+
EnvironmentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: EnvironmentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
265
|
+
EnvironmentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: EnvironmentService, providedIn: 'root' });
|
|
266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: EnvironmentService, decorators: [{
|
|
267
267
|
type: Injectable,
|
|
268
268
|
args: [{ providedIn: 'root' }]
|
|
269
269
|
}] });
|
|
@@ -287,9 +287,9 @@ class HttpErrorReporterService {
|
|
|
287
287
|
return this._errors$.value;
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
|
-
HttpErrorReporterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
291
|
-
HttpErrorReporterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
292
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
290
|
+
HttpErrorReporterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: HttpErrorReporterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
291
|
+
HttpErrorReporterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: HttpErrorReporterService, providedIn: 'root' });
|
|
292
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: HttpErrorReporterService, decorators: [{
|
|
293
293
|
type: Injectable,
|
|
294
294
|
args: [{ providedIn: 'root' }]
|
|
295
295
|
}] });
|
|
@@ -334,9 +334,9 @@ class RestService {
|
|
|
334
334
|
: new HttpParams({ fromObject: filteredParams });
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
|
-
RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
338
|
-
RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
339
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
337
|
+
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 });
|
|
338
|
+
RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RestService, providedIn: 'root' });
|
|
339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RestService, decorators: [{
|
|
340
340
|
type: Injectable,
|
|
341
341
|
args: [{
|
|
342
342
|
providedIn: 'root',
|
|
@@ -360,9 +360,9 @@ class AbpApplicationConfigurationService {
|
|
|
360
360
|
}, { apiName: this.apiName });
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
|
-
AbpApplicationConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
364
|
-
AbpApplicationConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
365
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
363
|
+
AbpApplicationConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbpApplicationConfigurationService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
364
|
+
AbpApplicationConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbpApplicationConfigurationService, providedIn: 'root' });
|
|
365
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbpApplicationConfigurationService, decorators: [{
|
|
366
366
|
type: Injectable,
|
|
367
367
|
args: [{
|
|
368
368
|
providedIn: 'root',
|
|
@@ -474,9 +474,9 @@ class ConfigStateService {
|
|
|
474
474
|
}));
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
|
-
ConfigStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
478
|
-
ConfigStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
479
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
477
|
+
ConfigStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ConfigStateService, deps: [{ token: AbpApplicationConfigurationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
478
|
+
ConfigStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ConfigStateService, providedIn: 'root' });
|
|
479
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ConfigStateService, decorators: [{
|
|
480
480
|
type: Injectable,
|
|
481
481
|
args: [{
|
|
482
482
|
providedIn: 'root',
|
|
@@ -544,9 +544,9 @@ class PermissionService {
|
|
|
544
544
|
return grantedPolicies[key] || false;
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
|
-
PermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
548
|
-
PermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
549
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
547
|
+
PermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: PermissionService, deps: [{ token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
548
|
+
PermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: PermissionService, providedIn: 'root' });
|
|
549
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: PermissionService, decorators: [{
|
|
550
550
|
type: Injectable,
|
|
551
551
|
args: [{ providedIn: 'root' }]
|
|
552
552
|
}], ctorParameters: function () { return [{ type: ConfigStateService }]; } });
|
|
@@ -677,16 +677,16 @@ class AbstractNavTreeService extends AbstractTreeService {
|
|
|
677
677
|
this.subscription.unsubscribe();
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
|
-
AbstractNavTreeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
681
|
-
AbstractNavTreeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
682
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
680
|
+
AbstractNavTreeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbstractNavTreeService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
681
|
+
AbstractNavTreeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbstractNavTreeService });
|
|
682
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbstractNavTreeService, decorators: [{
|
|
683
683
|
type: Injectable
|
|
684
684
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
685
685
|
class RoutesService extends AbstractNavTreeService {
|
|
686
686
|
}
|
|
687
|
-
RoutesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
688
|
-
RoutesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
689
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
687
|
+
RoutesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RoutesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
688
|
+
RoutesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RoutesService, providedIn: 'root' });
|
|
689
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RoutesService, decorators: [{
|
|
690
690
|
type: Injectable,
|
|
691
691
|
args: [{ providedIn: 'root' }]
|
|
692
692
|
}] });
|
|
@@ -723,9 +723,9 @@ class SubscriptionService {
|
|
|
723
723
|
this.subscription = new Subscription();
|
|
724
724
|
}
|
|
725
725
|
}
|
|
726
|
-
SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
727
|
-
SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
728
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
726
|
+
SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: SubscriptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
727
|
+
SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: SubscriptionService });
|
|
728
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: SubscriptionService, decorators: [{
|
|
729
729
|
type: Injectable
|
|
730
730
|
}] });
|
|
731
731
|
|
|
@@ -901,9 +901,9 @@ class SessionStateService {
|
|
|
901
901
|
document.documentElement.setAttribute('lang', language);
|
|
902
902
|
}
|
|
903
903
|
}
|
|
904
|
-
SessionStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
905
|
-
SessionStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
906
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
904
|
+
SessionStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: SessionStateService, deps: [{ token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
905
|
+
SessionStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: SessionStateService, providedIn: 'root' });
|
|
906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: SessionStateService, decorators: [{
|
|
907
907
|
type: Injectable,
|
|
908
908
|
args: [{
|
|
909
909
|
providedIn: 'root',
|
|
@@ -1074,9 +1074,9 @@ class LocalizationService {
|
|
|
1074
1074
|
return localization || defaultValue || key;
|
|
1075
1075
|
}
|
|
1076
1076
|
}
|
|
1077
|
-
LocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1078
|
-
LocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1079
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1077
|
+
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 });
|
|
1078
|
+
LocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LocalizationService, providedIn: 'root' });
|
|
1079
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LocalizationService, decorators: [{
|
|
1080
1080
|
type: Injectable,
|
|
1081
1081
|
args: [{ providedIn: 'root' }]
|
|
1082
1082
|
}], ctorParameters: function () {
|
|
@@ -1122,9 +1122,9 @@ class ReplaceableComponentsService {
|
|
|
1122
1122
|
return this.replaceableComponents$.pipe(map(components => components.find(component => component.key === replaceableComponentKey)));
|
|
1123
1123
|
}
|
|
1124
1124
|
}
|
|
1125
|
-
ReplaceableComponentsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1126
|
-
ReplaceableComponentsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1125
|
+
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 });
|
|
1126
|
+
ReplaceableComponentsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ReplaceableComponentsService, providedIn: 'root' });
|
|
1127
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ReplaceableComponentsService, decorators: [{
|
|
1128
1128
|
type: Injectable,
|
|
1129
1129
|
args: [{ providedIn: 'root' }]
|
|
1130
1130
|
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1$1.Router }]; } });
|
|
@@ -1155,9 +1155,9 @@ class RouterEvents {
|
|
|
1155
1155
|
return this.getNavigationEvents(...keys);
|
|
1156
1156
|
}
|
|
1157
1157
|
}
|
|
1158
|
-
RouterEvents.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1159
|
-
RouterEvents.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
1160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1158
|
+
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 });
|
|
1159
|
+
RouterEvents.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RouterEvents, providedIn: 'root' });
|
|
1160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RouterEvents, decorators: [{
|
|
1161
1161
|
type: Injectable,
|
|
1162
1162
|
args: [{ providedIn: 'root' }]
|
|
1163
1163
|
}], ctorParameters: function () { return [{ type: i1$1.Router }]; } });
|
|
@@ -1222,9 +1222,9 @@ class DynamicLayoutComponent {
|
|
|
1222
1222
|
return this.replaceableComponents.get(key);
|
|
1223
1223
|
}
|
|
1224
1224
|
}
|
|
1225
|
-
DynamicLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1226
|
-
DynamicLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1227
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1225
|
+
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 });
|
|
1226
|
+
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"] }] });
|
|
1227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: DynamicLayoutComponent, decorators: [{
|
|
1228
1228
|
type: Component,
|
|
1229
1229
|
args: [{
|
|
1230
1230
|
selector: 'abp-dynamic-layout',
|
|
@@ -1256,11 +1256,11 @@ class ReplaceableRouteContainerComponent {
|
|
|
1256
1256
|
});
|
|
1257
1257
|
}
|
|
1258
1258
|
}
|
|
1259
|
-
ReplaceableRouteContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1260
|
-
ReplaceableRouteContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1259
|
+
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 });
|
|
1260
|
+
ReplaceableRouteContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.6", type: ReplaceableRouteContainerComponent, selector: "abp-replaceable-route-container", providers: [SubscriptionService], ngImport: i0, template: `
|
|
1261
1261
|
<ng-container *ngComponentOutlet="externalComponent || defaultComponent"></ng-container>
|
|
1262
1262
|
`, isInline: true, directives: [{ type: i5.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModuleFactory"] }] });
|
|
1263
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1263
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ReplaceableRouteContainerComponent, decorators: [{
|
|
1264
1264
|
type: Component,
|
|
1265
1265
|
args: [{
|
|
1266
1266
|
selector: 'abp-replaceable-route-container',
|
|
@@ -1273,9 +1273,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
1273
1273
|
|
|
1274
1274
|
class RouterOutletComponent {
|
|
1275
1275
|
}
|
|
1276
|
-
RouterOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1277
|
-
RouterOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.
|
|
1278
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1276
|
+
RouterOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RouterOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1277
|
+
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"] }] });
|
|
1278
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RouterOutletComponent, decorators: [{
|
|
1279
1279
|
type: Component,
|
|
1280
1280
|
args: [{
|
|
1281
1281
|
selector: 'abp-router-outlet',
|
|
@@ -1635,9 +1635,9 @@ class AutofocusDirective {
|
|
|
1635
1635
|
setTimeout(() => this.elRef.nativeElement.focus(), this.delay);
|
|
1636
1636
|
}
|
|
1637
1637
|
}
|
|
1638
|
-
AutofocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1639
|
-
AutofocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
1640
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1638
|
+
AutofocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AutofocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1639
|
+
AutofocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.6", type: AutofocusDirective, selector: "[autofocus]", inputs: { delay: ["autofocus", "delay"] }, ngImport: i0 });
|
|
1640
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AutofocusDirective, decorators: [{
|
|
1641
1641
|
type: Directive,
|
|
1642
1642
|
args: [{
|
|
1643
1643
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -1662,9 +1662,9 @@ class InputEventDebounceDirective {
|
|
|
1662
1662
|
});
|
|
1663
1663
|
}
|
|
1664
1664
|
}
|
|
1665
|
-
InputEventDebounceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1666
|
-
InputEventDebounceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
1667
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1665
|
+
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 });
|
|
1666
|
+
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 });
|
|
1667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: InputEventDebounceDirective, decorators: [{
|
|
1668
1668
|
type: Directive,
|
|
1669
1669
|
args: [{
|
|
1670
1670
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -1792,9 +1792,9 @@ class ForDirective {
|
|
|
1792
1792
|
}
|
|
1793
1793
|
}
|
|
1794
1794
|
}
|
|
1795
|
-
ForDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1796
|
-
ForDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
1797
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1795
|
+
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 });
|
|
1796
|
+
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 });
|
|
1797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ForDirective, decorators: [{
|
|
1798
1798
|
type: Directive,
|
|
1799
1799
|
args: [{
|
|
1800
1800
|
selector: '[abpFor]',
|
|
@@ -1832,12 +1832,15 @@ class FormSubmitDirective {
|
|
|
1832
1832
|
this.cdRef = cdRef;
|
|
1833
1833
|
this.subscription = subscription;
|
|
1834
1834
|
this.debounce = 200;
|
|
1835
|
+
this.markAsDirtyWhenSubmit = true;
|
|
1835
1836
|
this.ngSubmit = new EventEmitter();
|
|
1836
1837
|
this.executedNgSubmit = false;
|
|
1837
1838
|
}
|
|
1838
1839
|
ngOnInit() {
|
|
1839
1840
|
this.subscription.addOne(this.formGroupDirective.ngSubmit, () => {
|
|
1840
|
-
this.
|
|
1841
|
+
if (this.markAsDirtyWhenSubmit) {
|
|
1842
|
+
this.markAsDirty();
|
|
1843
|
+
}
|
|
1841
1844
|
this.executedNgSubmit = true;
|
|
1842
1845
|
});
|
|
1843
1846
|
const keyup$ = fromEvent(this.host.nativeElement, 'keyup').pipe(debounceTime(this.debounce), filter(event => !(event.target instanceof HTMLTextAreaElement)), filter((event) => event && event.key === 'Enter'));
|
|
@@ -1855,9 +1858,9 @@ class FormSubmitDirective {
|
|
|
1855
1858
|
this.cdRef.detectChanges();
|
|
1856
1859
|
}
|
|
1857
1860
|
}
|
|
1858
|
-
FormSubmitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1859
|
-
FormSubmitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
1860
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1861
|
+
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 });
|
|
1862
|
+
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 });
|
|
1863
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: FormSubmitDirective, decorators: [{
|
|
1861
1864
|
type: Directive,
|
|
1862
1865
|
args: [{
|
|
1863
1866
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -1872,6 +1875,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
1872
1875
|
type: Input
|
|
1873
1876
|
}], notValidateOnSubmit: [{
|
|
1874
1877
|
type: Input
|
|
1878
|
+
}], markAsDirtyWhenSubmit: [{
|
|
1879
|
+
type: Input
|
|
1875
1880
|
}], ngSubmit: [{
|
|
1876
1881
|
type: Output
|
|
1877
1882
|
}] } });
|
|
@@ -1897,9 +1902,9 @@ class InitDirective {
|
|
|
1897
1902
|
this.init.emit(this.elRef);
|
|
1898
1903
|
}
|
|
1899
1904
|
}
|
|
1900
|
-
InitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1901
|
-
InitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
1902
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1905
|
+
InitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: InitDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1906
|
+
InitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.6", type: InitDirective, selector: "[abpInit]", outputs: { init: "abpInit" }, ngImport: i0 });
|
|
1907
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: InitDirective, decorators: [{
|
|
1903
1908
|
type: Directive,
|
|
1904
1909
|
args: [{ selector: '[abpInit]' }]
|
|
1905
1910
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { init: [{
|
|
@@ -1936,9 +1941,9 @@ class PermissionDirective {
|
|
|
1936
1941
|
this.check();
|
|
1937
1942
|
}
|
|
1938
1943
|
}
|
|
1939
|
-
PermissionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
1940
|
-
PermissionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
1941
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
1944
|
+
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 });
|
|
1945
|
+
PermissionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.6", type: PermissionDirective, selector: "[abpPermission]", inputs: { condition: ["abpPermission", "condition"] }, usesOnChanges: true, ngImport: i0 });
|
|
1946
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: PermissionDirective, decorators: [{
|
|
1942
1947
|
type: Directive,
|
|
1943
1948
|
args: [{
|
|
1944
1949
|
selector: '[abpPermission]',
|
|
@@ -2052,9 +2057,9 @@ class ReplaceableTemplateDirective {
|
|
|
2052
2057
|
this.defaultComponentRef = null;
|
|
2053
2058
|
}
|
|
2054
2059
|
}
|
|
2055
|
-
ReplaceableTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2056
|
-
ReplaceableTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
2057
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2060
|
+
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 });
|
|
2061
|
+
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 });
|
|
2062
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ReplaceableTemplateDirective, decorators: [{
|
|
2058
2063
|
type: Directive,
|
|
2059
2064
|
args: [{
|
|
2060
2065
|
selector: '[abpReplaceableTemplate]',
|
|
@@ -2078,9 +2083,9 @@ class StopPropagationDirective {
|
|
|
2078
2083
|
});
|
|
2079
2084
|
}
|
|
2080
2085
|
}
|
|
2081
|
-
StopPropagationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2082
|
-
StopPropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.
|
|
2083
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2086
|
+
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 });
|
|
2087
|
+
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 });
|
|
2088
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: StopPropagationDirective, decorators: [{
|
|
2084
2089
|
type: Directive,
|
|
2085
2090
|
args: [{
|
|
2086
2091
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2108,9 +2113,9 @@ class OAuthConfigurationHandler {
|
|
|
2108
2113
|
});
|
|
2109
2114
|
}
|
|
2110
2115
|
}
|
|
2111
|
-
OAuthConfigurationHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2112
|
-
OAuthConfigurationHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2116
|
+
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 });
|
|
2117
|
+
OAuthConfigurationHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: OAuthConfigurationHandler, providedIn: 'root' });
|
|
2118
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: OAuthConfigurationHandler, decorators: [{
|
|
2114
2119
|
type: Injectable,
|
|
2115
2120
|
args: [{
|
|
2116
2121
|
providedIn: 'root',
|
|
@@ -2142,9 +2147,9 @@ class RoutesHandler {
|
|
|
2142
2147
|
});
|
|
2143
2148
|
}
|
|
2144
2149
|
}
|
|
2145
|
-
RoutesHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2146
|
-
RoutesHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2147
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2150
|
+
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 });
|
|
2151
|
+
RoutesHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RoutesHandler, providedIn: 'root' });
|
|
2152
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RoutesHandler, decorators: [{
|
|
2148
2153
|
type: Injectable,
|
|
2149
2154
|
args: [{
|
|
2150
2155
|
providedIn: 'root',
|
|
@@ -2243,9 +2248,9 @@ class HttpWaitService {
|
|
|
2243
2248
|
return endpoint === request.endpoint && method === request.method;
|
|
2244
2249
|
}
|
|
2245
2250
|
}
|
|
2246
|
-
HttpWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2247
|
-
HttpWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2251
|
+
HttpWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: HttpWaitService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2252
|
+
HttpWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: HttpWaitService, providedIn: 'root' });
|
|
2253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: HttpWaitService, decorators: [{
|
|
2249
2254
|
type: Injectable,
|
|
2250
2255
|
args: [{
|
|
2251
2256
|
providedIn: 'root',
|
|
@@ -2284,9 +2289,9 @@ class ApiInterceptor {
|
|
|
2284
2289
|
return headers;
|
|
2285
2290
|
}
|
|
2286
2291
|
}
|
|
2287
|
-
ApiInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2288
|
-
ApiInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2292
|
+
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 });
|
|
2293
|
+
ApiInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ApiInterceptor, providedIn: 'root' });
|
|
2294
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ApiInterceptor, decorators: [{
|
|
2290
2295
|
type: Injectable,
|
|
2291
2296
|
args: [{
|
|
2292
2297
|
providedIn: 'root',
|
|
@@ -2315,10 +2320,10 @@ class LocalizationPipe {
|
|
|
2315
2320
|
return this.localization.instant(value, ...params);
|
|
2316
2321
|
}
|
|
2317
2322
|
}
|
|
2318
|
-
LocalizationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2319
|
-
LocalizationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
2320
|
-
LocalizationPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2321
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2323
|
+
LocalizationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LocalizationPipe, deps: [{ token: LocalizationService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2324
|
+
LocalizationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LocalizationPipe, name: "abpLocalization" });
|
|
2325
|
+
LocalizationPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LocalizationPipe });
|
|
2326
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LocalizationPipe, decorators: [{
|
|
2322
2327
|
type: Injectable
|
|
2323
2328
|
}, {
|
|
2324
2329
|
type: Pipe,
|
|
@@ -2329,10 +2334,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
2329
2334
|
|
|
2330
2335
|
class LocalizationModule {
|
|
2331
2336
|
}
|
|
2332
|
-
LocalizationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2333
|
-
LocalizationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.
|
|
2334
|
-
LocalizationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.
|
|
2335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2337
|
+
LocalizationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LocalizationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2338
|
+
LocalizationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LocalizationModule, declarations: [LocalizationPipe], exports: [LocalizationPipe] });
|
|
2339
|
+
LocalizationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LocalizationModule });
|
|
2340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LocalizationModule, decorators: [{
|
|
2336
2341
|
type: NgModule,
|
|
2337
2342
|
args: [{
|
|
2338
2343
|
exports: [LocalizationPipe],
|
|
@@ -2375,10 +2380,10 @@ class SortPipe {
|
|
|
2375
2380
|
return sortOrder === 'asc' ? sorted : sorted.reverse();
|
|
2376
2381
|
}
|
|
2377
2382
|
}
|
|
2378
|
-
SortPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2379
|
-
SortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
2380
|
-
SortPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2381
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2383
|
+
SortPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: SortPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2384
|
+
SortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: SortPipe, name: "abpSort" });
|
|
2385
|
+
SortPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: SortPipe });
|
|
2386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: SortPipe, decorators: [{
|
|
2382
2387
|
type: Injectable
|
|
2383
2388
|
}, {
|
|
2384
2389
|
type: Pipe,
|
|
@@ -2405,9 +2410,9 @@ class ToInjectorPipe {
|
|
|
2405
2410
|
});
|
|
2406
2411
|
}
|
|
2407
2412
|
}
|
|
2408
|
-
ToInjectorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2409
|
-
ToInjectorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.
|
|
2410
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2413
|
+
ToInjectorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ToInjectorPipe, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2414
|
+
ToInjectorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ToInjectorPipe, name: "toInjector" });
|
|
2415
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ToInjectorPipe, decorators: [{
|
|
2411
2416
|
type: Pipe,
|
|
2412
2417
|
args: [{
|
|
2413
2418
|
name: 'toInjector',
|
|
@@ -2717,9 +2722,9 @@ class AuthService {
|
|
|
2717
2722
|
return this.strategy.login(params);
|
|
2718
2723
|
}
|
|
2719
2724
|
}
|
|
2720
|
-
AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2721
|
-
AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2722
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2725
|
+
AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AuthService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2726
|
+
AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AuthService, providedIn: 'root' });
|
|
2727
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AuthService, decorators: [{
|
|
2723
2728
|
type: Injectable,
|
|
2724
2729
|
args: [{
|
|
2725
2730
|
providedIn: 'root',
|
|
@@ -2774,9 +2779,9 @@ class AbpTenantService {
|
|
|
2774
2779
|
}, { apiName: this.apiName });
|
|
2775
2780
|
}
|
|
2776
2781
|
}
|
|
2777
|
-
AbpTenantService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2778
|
-
AbpTenantService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2779
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2782
|
+
AbpTenantService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbpTenantService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2783
|
+
AbpTenantService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbpTenantService, providedIn: 'root' });
|
|
2784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbpTenantService, decorators: [{
|
|
2780
2785
|
type: Injectable,
|
|
2781
2786
|
args: [{
|
|
2782
2787
|
providedIn: 'root',
|
|
@@ -2809,9 +2814,9 @@ class MultiTenancyService {
|
|
|
2809
2814
|
.pipe(switchMap(this.setTenantToState));
|
|
2810
2815
|
}
|
|
2811
2816
|
}
|
|
2812
|
-
MultiTenancyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
2813
|
-
MultiTenancyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
2814
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
2817
|
+
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 });
|
|
2818
|
+
MultiTenancyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: MultiTenancyService, providedIn: 'root' });
|
|
2819
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: MultiTenancyService, decorators: [{
|
|
2815
2820
|
type: Injectable,
|
|
2816
2821
|
args: [{ providedIn: 'root' }]
|
|
2817
2822
|
}], ctorParameters: function () {
|
|
@@ -2948,474 +2953,34 @@ function localeInitializer(injector) {
|
|
|
2948
2953
|
return fn;
|
|
2949
2954
|
}
|
|
2950
2955
|
|
|
2951
|
-
function
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
/**
|
|
2955
|
-
* BaseCoreModule is the module that holds
|
|
2956
|
-
* all imports, declarations, exports, and entryComponents
|
|
2957
|
-
* but not the providers.
|
|
2958
|
-
* This module will be imported and exported by all others.
|
|
2959
|
-
*/
|
|
2960
|
-
class BaseCoreModule {
|
|
2961
|
-
}
|
|
2962
|
-
BaseCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BaseCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2963
|
-
BaseCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BaseCoreModule, declarations: [AbstractNgModelComponent,
|
|
2964
|
-
AutofocusDirective,
|
|
2965
|
-
DynamicLayoutComponent,
|
|
2966
|
-
ForDirective,
|
|
2967
|
-
FormSubmitDirective,
|
|
2968
|
-
InitDirective,
|
|
2969
|
-
InputEventDebounceDirective,
|
|
2970
|
-
PermissionDirective,
|
|
2971
|
-
ReplaceableRouteContainerComponent,
|
|
2972
|
-
ReplaceableTemplateDirective,
|
|
2973
|
-
RouterOutletComponent,
|
|
2974
|
-
SortPipe,
|
|
2975
|
-
StopPropagationDirective,
|
|
2976
|
-
ToInjectorPipe], imports: [OAuthModule,
|
|
2977
|
-
CommonModule,
|
|
2978
|
-
HttpClientModule,
|
|
2979
|
-
FormsModule,
|
|
2980
|
-
ReactiveFormsModule,
|
|
2981
|
-
RouterModule,
|
|
2982
|
-
LocalizationModule], exports: [CommonModule,
|
|
2983
|
-
HttpClientModule,
|
|
2984
|
-
FormsModule,
|
|
2985
|
-
ReactiveFormsModule,
|
|
2986
|
-
RouterModule,
|
|
2987
|
-
LocalizationModule,
|
|
2988
|
-
AbstractNgModelComponent,
|
|
2989
|
-
AutofocusDirective,
|
|
2990
|
-
DynamicLayoutComponent,
|
|
2991
|
-
ForDirective,
|
|
2992
|
-
FormSubmitDirective,
|
|
2993
|
-
InitDirective,
|
|
2994
|
-
InputEventDebounceDirective,
|
|
2995
|
-
PermissionDirective,
|
|
2996
|
-
ReplaceableRouteContainerComponent,
|
|
2997
|
-
ReplaceableTemplateDirective,
|
|
2998
|
-
RouterOutletComponent,
|
|
2999
|
-
SortPipe,
|
|
3000
|
-
StopPropagationDirective,
|
|
3001
|
-
ToInjectorPipe] });
|
|
3002
|
-
BaseCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BaseCoreModule, providers: [LocalizationPipe], imports: [[
|
|
3003
|
-
OAuthModule,
|
|
3004
|
-
CommonModule,
|
|
3005
|
-
HttpClientModule,
|
|
3006
|
-
FormsModule,
|
|
3007
|
-
ReactiveFormsModule,
|
|
3008
|
-
RouterModule,
|
|
3009
|
-
LocalizationModule,
|
|
3010
|
-
], CommonModule,
|
|
3011
|
-
HttpClientModule,
|
|
3012
|
-
FormsModule,
|
|
3013
|
-
ReactiveFormsModule,
|
|
3014
|
-
RouterModule,
|
|
3015
|
-
LocalizationModule] });
|
|
3016
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: BaseCoreModule, decorators: [{
|
|
3017
|
-
type: NgModule,
|
|
3018
|
-
args: [{
|
|
3019
|
-
exports: [
|
|
3020
|
-
CommonModule,
|
|
3021
|
-
HttpClientModule,
|
|
3022
|
-
FormsModule,
|
|
3023
|
-
ReactiveFormsModule,
|
|
3024
|
-
RouterModule,
|
|
3025
|
-
LocalizationModule,
|
|
3026
|
-
AbstractNgModelComponent,
|
|
3027
|
-
AutofocusDirective,
|
|
3028
|
-
DynamicLayoutComponent,
|
|
3029
|
-
ForDirective,
|
|
3030
|
-
FormSubmitDirective,
|
|
3031
|
-
InitDirective,
|
|
3032
|
-
InputEventDebounceDirective,
|
|
3033
|
-
PermissionDirective,
|
|
3034
|
-
ReplaceableRouteContainerComponent,
|
|
3035
|
-
ReplaceableTemplateDirective,
|
|
3036
|
-
RouterOutletComponent,
|
|
3037
|
-
SortPipe,
|
|
3038
|
-
StopPropagationDirective,
|
|
3039
|
-
ToInjectorPipe,
|
|
3040
|
-
],
|
|
3041
|
-
imports: [
|
|
3042
|
-
OAuthModule,
|
|
3043
|
-
CommonModule,
|
|
3044
|
-
HttpClientModule,
|
|
3045
|
-
FormsModule,
|
|
3046
|
-
ReactiveFormsModule,
|
|
3047
|
-
RouterModule,
|
|
3048
|
-
LocalizationModule,
|
|
3049
|
-
],
|
|
3050
|
-
declarations: [
|
|
3051
|
-
AbstractNgModelComponent,
|
|
3052
|
-
AutofocusDirective,
|
|
3053
|
-
DynamicLayoutComponent,
|
|
3054
|
-
ForDirective,
|
|
3055
|
-
FormSubmitDirective,
|
|
3056
|
-
InitDirective,
|
|
3057
|
-
InputEventDebounceDirective,
|
|
3058
|
-
PermissionDirective,
|
|
3059
|
-
ReplaceableRouteContainerComponent,
|
|
3060
|
-
ReplaceableTemplateDirective,
|
|
3061
|
-
RouterOutletComponent,
|
|
3062
|
-
SortPipe,
|
|
3063
|
-
StopPropagationDirective,
|
|
3064
|
-
ToInjectorPipe,
|
|
3065
|
-
],
|
|
3066
|
-
providers: [LocalizationPipe]
|
|
3067
|
-
}]
|
|
3068
|
-
}] });
|
|
3069
|
-
/**
|
|
3070
|
-
* RootCoreModule is the module that will be used at root level
|
|
3071
|
-
* and it introduces imports useful at root level (e.g. NGXS)
|
|
3072
|
-
*/
|
|
3073
|
-
class RootCoreModule {
|
|
2956
|
+
function getShortDateFormat(configStateService) {
|
|
2957
|
+
const dateTimeFormat = configStateService.getDeep('localization.currentCulture.dateTimeFormat');
|
|
2958
|
+
return dateTimeFormat.shortDatePattern;
|
|
3074
2959
|
}
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
BaseCoreModule,
|
|
3079
|
-
LocalizationModule,
|
|
3080
|
-
OAuthModule.forRoot(),
|
|
3081
|
-
HttpClientXsrfModule.withOptions({
|
|
3082
|
-
cookieName: 'XSRF-TOKEN',
|
|
3083
|
-
headerName: 'RequestVerificationToken',
|
|
3084
|
-
}),
|
|
3085
|
-
], BaseCoreModule, LocalizationModule] });
|
|
3086
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: RootCoreModule, decorators: [{
|
|
3087
|
-
type: NgModule,
|
|
3088
|
-
args: [{
|
|
3089
|
-
exports: [BaseCoreModule, LocalizationModule],
|
|
3090
|
-
imports: [
|
|
3091
|
-
BaseCoreModule,
|
|
3092
|
-
LocalizationModule,
|
|
3093
|
-
OAuthModule.forRoot(),
|
|
3094
|
-
HttpClientXsrfModule.withOptions({
|
|
3095
|
-
cookieName: 'XSRF-TOKEN',
|
|
3096
|
-
headerName: 'RequestVerificationToken',
|
|
3097
|
-
}),
|
|
3098
|
-
],
|
|
3099
|
-
}]
|
|
3100
|
-
}] });
|
|
3101
|
-
/**
|
|
3102
|
-
* CoreModule is the module that is publicly available
|
|
3103
|
-
*/
|
|
3104
|
-
class CoreModule {
|
|
3105
|
-
static forRoot(options = {}) {
|
|
3106
|
-
return {
|
|
3107
|
-
ngModule: RootCoreModule,
|
|
3108
|
-
providers: [
|
|
3109
|
-
LocaleProvider,
|
|
3110
|
-
CookieLanguageProvider,
|
|
3111
|
-
{
|
|
3112
|
-
provide: 'CORE_OPTIONS',
|
|
3113
|
-
useValue: options,
|
|
3114
|
-
},
|
|
3115
|
-
{
|
|
3116
|
-
provide: CORE_OPTIONS,
|
|
3117
|
-
useFactory: coreOptionsFactory,
|
|
3118
|
-
deps: ['CORE_OPTIONS'],
|
|
3119
|
-
},
|
|
3120
|
-
{
|
|
3121
|
-
provide: HTTP_INTERCEPTORS,
|
|
3122
|
-
useExisting: ApiInterceptor,
|
|
3123
|
-
multi: true,
|
|
3124
|
-
},
|
|
3125
|
-
{
|
|
3126
|
-
provide: APP_INITIALIZER,
|
|
3127
|
-
multi: true,
|
|
3128
|
-
deps: [OAuthConfigurationHandler],
|
|
3129
|
-
useFactory: noop,
|
|
3130
|
-
},
|
|
3131
|
-
{
|
|
3132
|
-
provide: APP_INITIALIZER,
|
|
3133
|
-
multi: true,
|
|
3134
|
-
deps: [Injector],
|
|
3135
|
-
useFactory: getInitialData,
|
|
3136
|
-
},
|
|
3137
|
-
{
|
|
3138
|
-
provide: APP_INITIALIZER,
|
|
3139
|
-
multi: true,
|
|
3140
|
-
deps: [Injector],
|
|
3141
|
-
useFactory: localeInitializer,
|
|
3142
|
-
},
|
|
3143
|
-
{
|
|
3144
|
-
provide: APP_INITIALIZER,
|
|
3145
|
-
multi: true,
|
|
3146
|
-
deps: [LocalizationService],
|
|
3147
|
-
useFactory: noop,
|
|
3148
|
-
},
|
|
3149
|
-
{
|
|
3150
|
-
provide: APP_INITIALIZER,
|
|
3151
|
-
multi: true,
|
|
3152
|
-
deps: [RoutesHandler],
|
|
3153
|
-
useFactory: noop,
|
|
3154
|
-
},
|
|
3155
|
-
{ provide: OAuthStorage, useFactory: storageFactory },
|
|
3156
|
-
{ provide: TENANT_KEY, useValue: options.tenantKey || '__tenant' },
|
|
3157
|
-
{
|
|
3158
|
-
provide: LOCALIZATIONS,
|
|
3159
|
-
multi: true,
|
|
3160
|
-
useValue: localizationContributor(options.localizations),
|
|
3161
|
-
deps: [LocalizationService],
|
|
3162
|
-
},
|
|
3163
|
-
],
|
|
3164
|
-
};
|
|
3165
|
-
}
|
|
3166
|
-
static forChild(options = {}) {
|
|
3167
|
-
return {
|
|
3168
|
-
ngModule: RootCoreModule,
|
|
3169
|
-
providers: [
|
|
3170
|
-
{
|
|
3171
|
-
provide: LOCALIZATIONS,
|
|
3172
|
-
multi: true,
|
|
3173
|
-
useValue: localizationContributor(options.localizations),
|
|
3174
|
-
deps: [LocalizationService],
|
|
3175
|
-
},
|
|
3176
|
-
],
|
|
3177
|
-
};
|
|
3178
|
-
}
|
|
2960
|
+
function getShortTimeFormat(configStateService) {
|
|
2961
|
+
const dateTimeFormat = configStateService.getDeep('localization.currentCulture.dateTimeFormat');
|
|
2962
|
+
return dateTimeFormat.shortTimePattern.replace('tt', 'a');
|
|
3179
2963
|
}
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: CoreModule, decorators: [{
|
|
3184
|
-
type: NgModule,
|
|
3185
|
-
args: [{
|
|
3186
|
-
exports: [BaseCoreModule],
|
|
3187
|
-
imports: [BaseCoreModule],
|
|
3188
|
-
}]
|
|
3189
|
-
}] });
|
|
3190
|
-
function ngxsStoragePluginSerialize(data) {
|
|
3191
|
-
return data;
|
|
2964
|
+
function getShortDateShortTimeFormat(configStateService) {
|
|
2965
|
+
const dateTimeFormat = configStateService.getDeep('localization.currentCulture.dateTimeFormat');
|
|
2966
|
+
return `${dateTimeFormat.shortDatePattern} ${dateTimeFormat.shortTimePattern.replace('tt', 'a')}`;
|
|
3192
2967
|
}
|
|
3193
2968
|
|
|
3194
|
-
class
|
|
3195
|
-
constructor(
|
|
3196
|
-
this.
|
|
3197
|
-
this.authService = authService;
|
|
2969
|
+
class ContentProjectionService {
|
|
2970
|
+
constructor(injector) {
|
|
2971
|
+
this.injector = injector;
|
|
3198
2972
|
}
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
if (hasValidAccessToken) {
|
|
3202
|
-
return true;
|
|
3203
|
-
}
|
|
3204
|
-
this.authService.navigateToLogin();
|
|
3205
|
-
return false;
|
|
2973
|
+
projectContent(projectionStrategy, injector = this.injector) {
|
|
2974
|
+
return projectionStrategy.injectContent(injector);
|
|
3206
2975
|
}
|
|
3207
2976
|
}
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3211
|
-
type: Injectable,
|
|
3212
|
-
args: [{
|
|
3213
|
-
providedIn: 'root',
|
|
3214
|
-
}]
|
|
3215
|
-
}], ctorParameters: function () { return [{ type: i1$3.OAuthService }, { type: AuthService }]; } });
|
|
3216
|
-
|
|
3217
|
-
class PermissionGuard {
|
|
3218
|
-
constructor(router, routesService, permissionService, httpErrorReporter) {
|
|
3219
|
-
this.router = router;
|
|
3220
|
-
this.routesService = routesService;
|
|
3221
|
-
this.permissionService = permissionService;
|
|
3222
|
-
this.httpErrorReporter = httpErrorReporter;
|
|
3223
|
-
}
|
|
3224
|
-
canActivate(route, state) {
|
|
3225
|
-
let { requiredPolicy } = route.data || {};
|
|
3226
|
-
if (!requiredPolicy) {
|
|
3227
|
-
const routeFound = findRoute(this.routesService, getRoutePath(this.router, state.url));
|
|
3228
|
-
requiredPolicy = routeFound === null || routeFound === void 0 ? void 0 : routeFound.requiredPolicy;
|
|
3229
|
-
}
|
|
3230
|
-
if (!requiredPolicy)
|
|
3231
|
-
return of(true);
|
|
3232
|
-
return this.permissionService.getGrantedPolicy$(requiredPolicy).pipe(tap(access => {
|
|
3233
|
-
if (!access) {
|
|
3234
|
-
this.httpErrorReporter.reportError({ status: 403 });
|
|
3235
|
-
}
|
|
3236
|
-
}));
|
|
3237
|
-
}
|
|
3238
|
-
}
|
|
3239
|
-
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 });
|
|
3240
|
-
PermissionGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PermissionGuard, providedIn: 'root' });
|
|
3241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: PermissionGuard, decorators: [{
|
|
3242
|
-
type: Injectable,
|
|
3243
|
-
args: [{
|
|
3244
|
-
providedIn: 'root',
|
|
3245
|
-
}]
|
|
3246
|
-
}], ctorParameters: function () { return [{ type: i1$1.Router }, { type: RoutesService }, { type: PermissionService }, { type: HttpErrorReporterService }]; } });
|
|
3247
|
-
|
|
3248
|
-
class ListResultDto {
|
|
3249
|
-
constructor(initialValues = {}) {
|
|
3250
|
-
for (const key in initialValues) {
|
|
3251
|
-
if (Object.prototype.hasOwnProperty.call(initialValues, key)) {
|
|
3252
|
-
this[key] = initialValues[key];
|
|
3253
|
-
}
|
|
3254
|
-
}
|
|
3255
|
-
}
|
|
3256
|
-
}
|
|
3257
|
-
class PagedResultDto extends ListResultDto {
|
|
3258
|
-
constructor(initialValues = {}) {
|
|
3259
|
-
super(initialValues);
|
|
3260
|
-
}
|
|
3261
|
-
}
|
|
3262
|
-
class LimitedResultRequestDto {
|
|
3263
|
-
constructor(initialValues = {}) {
|
|
3264
|
-
this.maxResultCount = 10;
|
|
3265
|
-
for (const key in initialValues) {
|
|
3266
|
-
if (Object.prototype.hasOwnProperty.call(initialValues, key) &&
|
|
3267
|
-
initialValues[key] !== undefined) {
|
|
3268
|
-
this[key] = initialValues[key];
|
|
3269
|
-
}
|
|
3270
|
-
}
|
|
3271
|
-
}
|
|
3272
|
-
}
|
|
3273
|
-
class PagedResultRequestDto extends LimitedResultRequestDto {
|
|
3274
|
-
constructor(initialValues = {}) {
|
|
3275
|
-
super(initialValues);
|
|
3276
|
-
}
|
|
3277
|
-
}
|
|
3278
|
-
class PagedAndSortedResultRequestDto extends PagedResultRequestDto {
|
|
3279
|
-
constructor(initialValues = {}) {
|
|
3280
|
-
super(initialValues);
|
|
3281
|
-
}
|
|
3282
|
-
}
|
|
3283
|
-
class EntityDto {
|
|
3284
|
-
constructor(initialValues = {}) {
|
|
3285
|
-
for (const key in initialValues) {
|
|
3286
|
-
if (Object.prototype.hasOwnProperty.call(initialValues, key)) {
|
|
3287
|
-
this[key] = initialValues[key];
|
|
3288
|
-
}
|
|
3289
|
-
}
|
|
3290
|
-
}
|
|
3291
|
-
}
|
|
3292
|
-
class CreationAuditedEntityDto extends EntityDto {
|
|
3293
|
-
constructor(initialValues = {}) {
|
|
3294
|
-
super(initialValues);
|
|
3295
|
-
}
|
|
3296
|
-
}
|
|
3297
|
-
class CreationAuditedEntityWithUserDto extends CreationAuditedEntityDto {
|
|
3298
|
-
constructor(initialValues = {}) {
|
|
3299
|
-
super(initialValues);
|
|
3300
|
-
}
|
|
3301
|
-
}
|
|
3302
|
-
class AuditedEntityDto extends CreationAuditedEntityDto {
|
|
3303
|
-
constructor(initialValues = {}) {
|
|
3304
|
-
super(initialValues);
|
|
3305
|
-
}
|
|
3306
|
-
}
|
|
3307
|
-
class AuditedEntityWithUserDto extends AuditedEntityDto {
|
|
3308
|
-
constructor(initialValues = {}) {
|
|
3309
|
-
super(initialValues);
|
|
3310
|
-
}
|
|
3311
|
-
}
|
|
3312
|
-
class FullAuditedEntityDto extends AuditedEntityDto {
|
|
3313
|
-
constructor(initialValues = {}) {
|
|
3314
|
-
super(initialValues);
|
|
3315
|
-
}
|
|
3316
|
-
}
|
|
3317
|
-
class FullAuditedEntityWithUserDto extends FullAuditedEntityDto {
|
|
3318
|
-
constructor(initialValues = {}) {
|
|
3319
|
-
super(initialValues);
|
|
3320
|
-
}
|
|
3321
|
-
}
|
|
3322
|
-
class ExtensibleObject {
|
|
3323
|
-
constructor(initialValues = {}) {
|
|
3324
|
-
for (const key in initialValues) {
|
|
3325
|
-
if (Object.prototype.hasOwnProperty.call(initialValues, key)) {
|
|
3326
|
-
this[key] = initialValues[key];
|
|
3327
|
-
}
|
|
3328
|
-
}
|
|
3329
|
-
}
|
|
3330
|
-
}
|
|
3331
|
-
class ExtensibleEntityDto extends ExtensibleObject {
|
|
3332
|
-
constructor(initialValues = {}) {
|
|
3333
|
-
super(initialValues);
|
|
3334
|
-
}
|
|
3335
|
-
}
|
|
3336
|
-
class ExtensibleCreationAuditedEntityDto extends ExtensibleEntityDto {
|
|
3337
|
-
constructor(initialValues = {}) {
|
|
3338
|
-
super(initialValues);
|
|
3339
|
-
}
|
|
3340
|
-
}
|
|
3341
|
-
class ExtensibleAuditedEntityDto extends ExtensibleCreationAuditedEntityDto {
|
|
3342
|
-
constructor(initialValues = {}) {
|
|
3343
|
-
super(initialValues);
|
|
3344
|
-
}
|
|
3345
|
-
}
|
|
3346
|
-
class ExtensibleAuditedEntityWithUserDto extends ExtensibleAuditedEntityDto {
|
|
3347
|
-
constructor(initialValues = {}) {
|
|
3348
|
-
super(initialValues);
|
|
3349
|
-
}
|
|
3350
|
-
}
|
|
3351
|
-
class ExtensibleCreationAuditedEntityWithUserDto extends ExtensibleCreationAuditedEntityDto {
|
|
3352
|
-
constructor(initialValues = {}) {
|
|
3353
|
-
super(initialValues);
|
|
3354
|
-
}
|
|
3355
|
-
}
|
|
3356
|
-
class ExtensibleFullAuditedEntityDto extends ExtensibleAuditedEntityDto {
|
|
3357
|
-
constructor(initialValues = {}) {
|
|
3358
|
-
super(initialValues);
|
|
3359
|
-
}
|
|
3360
|
-
}
|
|
3361
|
-
class ExtensibleFullAuditedEntityWithUserDto extends ExtensibleFullAuditedEntityDto {
|
|
3362
|
-
constructor(initialValues = {}) {
|
|
3363
|
-
super(initialValues);
|
|
3364
|
-
}
|
|
3365
|
-
}
|
|
3366
|
-
|
|
3367
|
-
class AbpApiDefinitionService {
|
|
3368
|
-
constructor(restService) {
|
|
3369
|
-
this.restService = restService;
|
|
3370
|
-
this.apiName = 'abp';
|
|
3371
|
-
this.getByModel = (model) => this.restService.request({
|
|
3372
|
-
method: 'GET',
|
|
3373
|
-
url: '/api/abp/api-definition',
|
|
3374
|
-
params: { includeTypes: model.includeTypes },
|
|
3375
|
-
}, { apiName: this.apiName });
|
|
3376
|
-
}
|
|
3377
|
-
}
|
|
3378
|
-
AbpApiDefinitionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AbpApiDefinitionService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3379
|
-
AbpApiDefinitionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AbpApiDefinitionService, providedIn: 'root' });
|
|
3380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: AbpApiDefinitionService, decorators: [{
|
|
3381
|
-
type: Injectable,
|
|
3382
|
-
args: [{
|
|
3383
|
-
providedIn: 'root',
|
|
3384
|
-
}]
|
|
3385
|
-
}], ctorParameters: function () { return [{ type: RestService }]; } });
|
|
3386
|
-
|
|
3387
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
3388
|
-
__proto__: null
|
|
3389
|
-
});
|
|
3390
|
-
|
|
3391
|
-
class ContentProjectionService {
|
|
3392
|
-
constructor(injector) {
|
|
3393
|
-
this.injector = injector;
|
|
3394
|
-
}
|
|
3395
|
-
projectContent(projectionStrategy, injector = this.injector) {
|
|
3396
|
-
return projectionStrategy.injectContent(injector);
|
|
3397
|
-
}
|
|
3398
|
-
}
|
|
3399
|
-
ContentProjectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ContentProjectionService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3400
|
-
ContentProjectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ContentProjectionService, providedIn: 'root' });
|
|
3401
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: ContentProjectionService, decorators: [{
|
|
2977
|
+
ContentProjectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ContentProjectionService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2978
|
+
ContentProjectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ContentProjectionService, providedIn: 'root' });
|
|
2979
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ContentProjectionService, decorators: [{
|
|
3402
2980
|
type: Injectable,
|
|
3403
2981
|
args: [{ providedIn: 'root' }]
|
|
3404
2982
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
3405
2983
|
|
|
3406
|
-
function getShortDateFormat(configStateService) {
|
|
3407
|
-
const dateTimeFormat = configStateService.getDeep('localization.currentCulture.dateTimeFormat');
|
|
3408
|
-
return dateTimeFormat.shortDatePattern;
|
|
3409
|
-
}
|
|
3410
|
-
function getShortTimeFormat(configStateService) {
|
|
3411
|
-
const dateTimeFormat = configStateService.getDeep('localization.currentCulture.dateTimeFormat');
|
|
3412
|
-
return dateTimeFormat.shortTimePattern.replace('tt', 'a');
|
|
3413
|
-
}
|
|
3414
|
-
function getShortDateShortTimeFormat(configStateService) {
|
|
3415
|
-
const dateTimeFormat = configStateService.getDeep('localization.currentCulture.dateTimeFormat');
|
|
3416
|
-
return `${dateTimeFormat.shortDatePattern} ${dateTimeFormat.shortTimePattern.replace('tt', 'a')}`;
|
|
3417
|
-
}
|
|
3418
|
-
|
|
3419
2984
|
class LazyModuleFactory extends NgModuleFactory {
|
|
3420
2985
|
constructor(moduleWithProviders) {
|
|
3421
2986
|
super();
|
|
@@ -3613,9 +3178,9 @@ class DomInsertionService {
|
|
|
3613
3178
|
return this.inserted.has(hash);
|
|
3614
3179
|
}
|
|
3615
3180
|
}
|
|
3616
|
-
DomInsertionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3617
|
-
DomInsertionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3618
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3181
|
+
DomInsertionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: DomInsertionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3182
|
+
DomInsertionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: DomInsertionService, providedIn: 'root' });
|
|
3183
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: DomInsertionService, decorators: [{
|
|
3619
3184
|
type: Injectable,
|
|
3620
3185
|
args: [{ providedIn: 'root' }]
|
|
3621
3186
|
}] });
|
|
@@ -3647,9 +3212,9 @@ class ResourceWaitService {
|
|
|
3647
3212
|
this.store.patch({ resources });
|
|
3648
3213
|
}
|
|
3649
3214
|
}
|
|
3650
|
-
ResourceWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3651
|
-
ResourceWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3652
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3215
|
+
ResourceWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ResourceWaitService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3216
|
+
ResourceWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ResourceWaitService, providedIn: 'root' });
|
|
3217
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ResourceWaitService, decorators: [{
|
|
3653
3218
|
type: Injectable,
|
|
3654
3219
|
args: [{
|
|
3655
3220
|
providedIn: 'root',
|
|
@@ -3679,9 +3244,9 @@ class LazyLoadService {
|
|
|
3679
3244
|
return true;
|
|
3680
3245
|
}
|
|
3681
3246
|
}
|
|
3682
|
-
LazyLoadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3683
|
-
LazyLoadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3684
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3247
|
+
LazyLoadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LazyLoadService, deps: [{ token: ResourceWaitService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3248
|
+
LazyLoadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LazyLoadService, providedIn: 'root' });
|
|
3249
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: LazyLoadService, decorators: [{
|
|
3685
3250
|
type: Injectable,
|
|
3686
3251
|
args: [{
|
|
3687
3252
|
providedIn: 'root',
|
|
@@ -3782,9 +3347,9 @@ class ListService {
|
|
|
3782
3347
|
});
|
|
3783
3348
|
}
|
|
3784
3349
|
}
|
|
3785
|
-
ListService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3786
|
-
ListService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3350
|
+
ListService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ListService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3351
|
+
ListService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ListService });
|
|
3352
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ListService, decorators: [{
|
|
3788
3353
|
type: Injectable
|
|
3789
3354
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
3790
3355
|
|
|
@@ -3821,9 +3386,9 @@ class RouterWaitService {
|
|
|
3821
3386
|
this.store.patch({ loading });
|
|
3822
3387
|
}
|
|
3823
3388
|
}
|
|
3824
|
-
RouterWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3825
|
-
RouterWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3826
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3389
|
+
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 });
|
|
3390
|
+
RouterWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RouterWaitService, providedIn: 'root' });
|
|
3391
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RouterWaitService, decorators: [{
|
|
3827
3392
|
type: Injectable,
|
|
3828
3393
|
args: [{
|
|
3829
3394
|
providedIn: 'root',
|
|
@@ -3840,15 +3405,557 @@ class TrackByService {
|
|
|
3840
3405
|
this.byDeep = trackByDeep;
|
|
3841
3406
|
}
|
|
3842
3407
|
}
|
|
3843
|
-
TrackByService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.
|
|
3844
|
-
TrackByService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.
|
|
3845
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.
|
|
3408
|
+
TrackByService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: TrackByService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3409
|
+
TrackByService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: TrackByService, providedIn: 'root' });
|
|
3410
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: TrackByService, decorators: [{
|
|
3846
3411
|
type: Injectable,
|
|
3847
3412
|
args: [{
|
|
3848
3413
|
providedIn: 'root',
|
|
3849
3414
|
}]
|
|
3850
3415
|
}] });
|
|
3851
3416
|
|
|
3417
|
+
class ShortDateTimePipe extends DatePipe {
|
|
3418
|
+
constructor(configStateService, locale, defaultTimezone) {
|
|
3419
|
+
super(locale, defaultTimezone);
|
|
3420
|
+
this.configStateService = configStateService;
|
|
3421
|
+
}
|
|
3422
|
+
transform(value, timezone, locale) {
|
|
3423
|
+
const format = getShortDateShortTimeFormat(this.configStateService);
|
|
3424
|
+
return super.transform(value, format, timezone, locale);
|
|
3425
|
+
}
|
|
3426
|
+
}
|
|
3427
|
+
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 });
|
|
3428
|
+
ShortDateTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ShortDateTimePipe, name: "shortDateTime" });
|
|
3429
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ShortDateTimePipe, decorators: [{
|
|
3430
|
+
type: Pipe,
|
|
3431
|
+
args: [{
|
|
3432
|
+
name: 'shortDateTime',
|
|
3433
|
+
pure: true,
|
|
3434
|
+
}]
|
|
3435
|
+
}], ctorParameters: function () {
|
|
3436
|
+
return [{ type: ConfigStateService }, { type: undefined, decorators: [{
|
|
3437
|
+
type: Inject,
|
|
3438
|
+
args: [LOCALE_ID]
|
|
3439
|
+
}] }, { type: undefined, decorators: [{
|
|
3440
|
+
type: Inject,
|
|
3441
|
+
args: [DATE_PIPE_DEFAULT_TIMEZONE]
|
|
3442
|
+
}, {
|
|
3443
|
+
type: Optional
|
|
3444
|
+
}] }];
|
|
3445
|
+
} });
|
|
3446
|
+
|
|
3447
|
+
class ShortTimePipe extends DatePipe {
|
|
3448
|
+
constructor(configStateService, locale, defaultTimezone) {
|
|
3449
|
+
super(locale, defaultTimezone);
|
|
3450
|
+
this.configStateService = configStateService;
|
|
3451
|
+
}
|
|
3452
|
+
transform(value, timezone, locale) {
|
|
3453
|
+
const format = getShortTimeFormat(this.configStateService);
|
|
3454
|
+
return super.transform(value, format, timezone, locale);
|
|
3455
|
+
}
|
|
3456
|
+
}
|
|
3457
|
+
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 });
|
|
3458
|
+
ShortTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ShortTimePipe, name: "shortTime" });
|
|
3459
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ShortTimePipe, decorators: [{
|
|
3460
|
+
type: Pipe,
|
|
3461
|
+
args: [{
|
|
3462
|
+
name: 'shortTime',
|
|
3463
|
+
pure: true,
|
|
3464
|
+
}]
|
|
3465
|
+
}], ctorParameters: function () {
|
|
3466
|
+
return [{ type: ConfigStateService }, { type: undefined, decorators: [{
|
|
3467
|
+
type: Inject,
|
|
3468
|
+
args: [LOCALE_ID]
|
|
3469
|
+
}] }, { type: undefined, decorators: [{
|
|
3470
|
+
type: Inject,
|
|
3471
|
+
args: [DATE_PIPE_DEFAULT_TIMEZONE]
|
|
3472
|
+
}, {
|
|
3473
|
+
type: Optional
|
|
3474
|
+
}] }];
|
|
3475
|
+
} });
|
|
3476
|
+
|
|
3477
|
+
class ShortDatePipe extends DatePipe {
|
|
3478
|
+
constructor(configStateService, locale, defaultTimezone) {
|
|
3479
|
+
super(locale, defaultTimezone);
|
|
3480
|
+
this.configStateService = configStateService;
|
|
3481
|
+
}
|
|
3482
|
+
transform(value, timezone, locale) {
|
|
3483
|
+
const format = getShortDateFormat(this.configStateService);
|
|
3484
|
+
return super.transform(value, format, timezone, locale);
|
|
3485
|
+
}
|
|
3486
|
+
}
|
|
3487
|
+
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 });
|
|
3488
|
+
ShortDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ShortDatePipe, name: "shortDate" });
|
|
3489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: ShortDatePipe, decorators: [{
|
|
3490
|
+
type: Pipe,
|
|
3491
|
+
args: [{
|
|
3492
|
+
name: 'shortDate',
|
|
3493
|
+
pure: true,
|
|
3494
|
+
}]
|
|
3495
|
+
}], ctorParameters: function () {
|
|
3496
|
+
return [{ type: ConfigStateService }, { type: undefined, decorators: [{
|
|
3497
|
+
type: Inject,
|
|
3498
|
+
args: [LOCALE_ID]
|
|
3499
|
+
}] }, { type: undefined, decorators: [{
|
|
3500
|
+
type: Inject,
|
|
3501
|
+
args: [DATE_PIPE_DEFAULT_TIMEZONE]
|
|
3502
|
+
}, {
|
|
3503
|
+
type: Optional
|
|
3504
|
+
}] }];
|
|
3505
|
+
} });
|
|
3506
|
+
|
|
3507
|
+
function storageFactory() {
|
|
3508
|
+
return oAuthStorage;
|
|
3509
|
+
}
|
|
3510
|
+
/**
|
|
3511
|
+
* BaseCoreModule is the module that holds
|
|
3512
|
+
* all imports, declarations, exports, and entryComponents
|
|
3513
|
+
* but not the providers.
|
|
3514
|
+
* This module will be imported and exported by all others.
|
|
3515
|
+
*/
|
|
3516
|
+
class BaseCoreModule {
|
|
3517
|
+
}
|
|
3518
|
+
BaseCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: BaseCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3519
|
+
BaseCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: BaseCoreModule, declarations: [AbstractNgModelComponent,
|
|
3520
|
+
AutofocusDirective,
|
|
3521
|
+
DynamicLayoutComponent,
|
|
3522
|
+
ForDirective,
|
|
3523
|
+
FormSubmitDirective,
|
|
3524
|
+
InitDirective,
|
|
3525
|
+
InputEventDebounceDirective,
|
|
3526
|
+
PermissionDirective,
|
|
3527
|
+
ReplaceableRouteContainerComponent,
|
|
3528
|
+
ReplaceableTemplateDirective,
|
|
3529
|
+
RouterOutletComponent,
|
|
3530
|
+
SortPipe,
|
|
3531
|
+
StopPropagationDirective,
|
|
3532
|
+
ToInjectorPipe,
|
|
3533
|
+
ShortDateTimePipe,
|
|
3534
|
+
ShortTimePipe,
|
|
3535
|
+
ShortDatePipe], imports: [OAuthModule,
|
|
3536
|
+
CommonModule,
|
|
3537
|
+
HttpClientModule,
|
|
3538
|
+
FormsModule,
|
|
3539
|
+
ReactiveFormsModule,
|
|
3540
|
+
RouterModule,
|
|
3541
|
+
LocalizationModule], exports: [CommonModule,
|
|
3542
|
+
HttpClientModule,
|
|
3543
|
+
FormsModule,
|
|
3544
|
+
ReactiveFormsModule,
|
|
3545
|
+
RouterModule,
|
|
3546
|
+
LocalizationModule,
|
|
3547
|
+
AbstractNgModelComponent,
|
|
3548
|
+
AutofocusDirective,
|
|
3549
|
+
DynamicLayoutComponent,
|
|
3550
|
+
ForDirective,
|
|
3551
|
+
FormSubmitDirective,
|
|
3552
|
+
InitDirective,
|
|
3553
|
+
InputEventDebounceDirective,
|
|
3554
|
+
PermissionDirective,
|
|
3555
|
+
ReplaceableRouteContainerComponent,
|
|
3556
|
+
ReplaceableTemplateDirective,
|
|
3557
|
+
RouterOutletComponent,
|
|
3558
|
+
SortPipe,
|
|
3559
|
+
StopPropagationDirective,
|
|
3560
|
+
ToInjectorPipe,
|
|
3561
|
+
ShortDateTimePipe,
|
|
3562
|
+
ShortTimePipe,
|
|
3563
|
+
ShortDatePipe] });
|
|
3564
|
+
BaseCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: BaseCoreModule, providers: [LocalizationPipe], imports: [[
|
|
3565
|
+
OAuthModule,
|
|
3566
|
+
CommonModule,
|
|
3567
|
+
HttpClientModule,
|
|
3568
|
+
FormsModule,
|
|
3569
|
+
ReactiveFormsModule,
|
|
3570
|
+
RouterModule,
|
|
3571
|
+
LocalizationModule,
|
|
3572
|
+
], CommonModule,
|
|
3573
|
+
HttpClientModule,
|
|
3574
|
+
FormsModule,
|
|
3575
|
+
ReactiveFormsModule,
|
|
3576
|
+
RouterModule,
|
|
3577
|
+
LocalizationModule] });
|
|
3578
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: BaseCoreModule, decorators: [{
|
|
3579
|
+
type: NgModule,
|
|
3580
|
+
args: [{
|
|
3581
|
+
exports: [
|
|
3582
|
+
CommonModule,
|
|
3583
|
+
HttpClientModule,
|
|
3584
|
+
FormsModule,
|
|
3585
|
+
ReactiveFormsModule,
|
|
3586
|
+
RouterModule,
|
|
3587
|
+
LocalizationModule,
|
|
3588
|
+
AbstractNgModelComponent,
|
|
3589
|
+
AutofocusDirective,
|
|
3590
|
+
DynamicLayoutComponent,
|
|
3591
|
+
ForDirective,
|
|
3592
|
+
FormSubmitDirective,
|
|
3593
|
+
InitDirective,
|
|
3594
|
+
InputEventDebounceDirective,
|
|
3595
|
+
PermissionDirective,
|
|
3596
|
+
ReplaceableRouteContainerComponent,
|
|
3597
|
+
ReplaceableTemplateDirective,
|
|
3598
|
+
RouterOutletComponent,
|
|
3599
|
+
SortPipe,
|
|
3600
|
+
StopPropagationDirective,
|
|
3601
|
+
ToInjectorPipe,
|
|
3602
|
+
ShortDateTimePipe,
|
|
3603
|
+
ShortTimePipe,
|
|
3604
|
+
ShortDatePipe
|
|
3605
|
+
],
|
|
3606
|
+
imports: [
|
|
3607
|
+
OAuthModule,
|
|
3608
|
+
CommonModule,
|
|
3609
|
+
HttpClientModule,
|
|
3610
|
+
FormsModule,
|
|
3611
|
+
ReactiveFormsModule,
|
|
3612
|
+
RouterModule,
|
|
3613
|
+
LocalizationModule,
|
|
3614
|
+
],
|
|
3615
|
+
declarations: [
|
|
3616
|
+
AbstractNgModelComponent,
|
|
3617
|
+
AutofocusDirective,
|
|
3618
|
+
DynamicLayoutComponent,
|
|
3619
|
+
ForDirective,
|
|
3620
|
+
FormSubmitDirective,
|
|
3621
|
+
InitDirective,
|
|
3622
|
+
InputEventDebounceDirective,
|
|
3623
|
+
PermissionDirective,
|
|
3624
|
+
ReplaceableRouteContainerComponent,
|
|
3625
|
+
ReplaceableTemplateDirective,
|
|
3626
|
+
RouterOutletComponent,
|
|
3627
|
+
SortPipe,
|
|
3628
|
+
StopPropagationDirective,
|
|
3629
|
+
ToInjectorPipe,
|
|
3630
|
+
ShortDateTimePipe,
|
|
3631
|
+
ShortTimePipe,
|
|
3632
|
+
ShortDatePipe
|
|
3633
|
+
],
|
|
3634
|
+
providers: [LocalizationPipe]
|
|
3635
|
+
}]
|
|
3636
|
+
}] });
|
|
3637
|
+
/**
|
|
3638
|
+
* RootCoreModule is the module that will be used at root level
|
|
3639
|
+
* and it introduces imports useful at root level (e.g. NGXS)
|
|
3640
|
+
*/
|
|
3641
|
+
class RootCoreModule {
|
|
3642
|
+
}
|
|
3643
|
+
RootCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RootCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3644
|
+
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] });
|
|
3645
|
+
RootCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RootCoreModule, imports: [[
|
|
3646
|
+
BaseCoreModule,
|
|
3647
|
+
LocalizationModule,
|
|
3648
|
+
OAuthModule.forRoot(),
|
|
3649
|
+
HttpClientXsrfModule.withOptions({
|
|
3650
|
+
cookieName: 'XSRF-TOKEN',
|
|
3651
|
+
headerName: 'RequestVerificationToken',
|
|
3652
|
+
}),
|
|
3653
|
+
], BaseCoreModule, LocalizationModule] });
|
|
3654
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RootCoreModule, decorators: [{
|
|
3655
|
+
type: NgModule,
|
|
3656
|
+
args: [{
|
|
3657
|
+
exports: [BaseCoreModule, LocalizationModule],
|
|
3658
|
+
imports: [
|
|
3659
|
+
BaseCoreModule,
|
|
3660
|
+
LocalizationModule,
|
|
3661
|
+
OAuthModule.forRoot(),
|
|
3662
|
+
HttpClientXsrfModule.withOptions({
|
|
3663
|
+
cookieName: 'XSRF-TOKEN',
|
|
3664
|
+
headerName: 'RequestVerificationToken',
|
|
3665
|
+
}),
|
|
3666
|
+
],
|
|
3667
|
+
}]
|
|
3668
|
+
}] });
|
|
3669
|
+
/**
|
|
3670
|
+
* CoreModule is the module that is publicly available
|
|
3671
|
+
*/
|
|
3672
|
+
class CoreModule {
|
|
3673
|
+
static forRoot(options = {}) {
|
|
3674
|
+
return {
|
|
3675
|
+
ngModule: RootCoreModule,
|
|
3676
|
+
providers: [
|
|
3677
|
+
LocaleProvider,
|
|
3678
|
+
CookieLanguageProvider,
|
|
3679
|
+
{
|
|
3680
|
+
provide: 'CORE_OPTIONS',
|
|
3681
|
+
useValue: options,
|
|
3682
|
+
},
|
|
3683
|
+
{
|
|
3684
|
+
provide: CORE_OPTIONS,
|
|
3685
|
+
useFactory: coreOptionsFactory,
|
|
3686
|
+
deps: ['CORE_OPTIONS'],
|
|
3687
|
+
},
|
|
3688
|
+
{
|
|
3689
|
+
provide: HTTP_INTERCEPTORS,
|
|
3690
|
+
useExisting: ApiInterceptor,
|
|
3691
|
+
multi: true,
|
|
3692
|
+
},
|
|
3693
|
+
{
|
|
3694
|
+
provide: APP_INITIALIZER,
|
|
3695
|
+
multi: true,
|
|
3696
|
+
deps: [OAuthConfigurationHandler],
|
|
3697
|
+
useFactory: noop,
|
|
3698
|
+
},
|
|
3699
|
+
{
|
|
3700
|
+
provide: APP_INITIALIZER,
|
|
3701
|
+
multi: true,
|
|
3702
|
+
deps: [Injector],
|
|
3703
|
+
useFactory: getInitialData,
|
|
3704
|
+
},
|
|
3705
|
+
{
|
|
3706
|
+
provide: APP_INITIALIZER,
|
|
3707
|
+
multi: true,
|
|
3708
|
+
deps: [Injector],
|
|
3709
|
+
useFactory: localeInitializer,
|
|
3710
|
+
},
|
|
3711
|
+
{
|
|
3712
|
+
provide: APP_INITIALIZER,
|
|
3713
|
+
multi: true,
|
|
3714
|
+
deps: [LocalizationService],
|
|
3715
|
+
useFactory: noop,
|
|
3716
|
+
},
|
|
3717
|
+
{
|
|
3718
|
+
provide: APP_INITIALIZER,
|
|
3719
|
+
multi: true,
|
|
3720
|
+
deps: [RoutesHandler],
|
|
3721
|
+
useFactory: noop,
|
|
3722
|
+
},
|
|
3723
|
+
{ provide: OAuthStorage, useFactory: storageFactory },
|
|
3724
|
+
{ provide: TENANT_KEY, useValue: options.tenantKey || '__tenant' },
|
|
3725
|
+
{
|
|
3726
|
+
provide: LOCALIZATIONS,
|
|
3727
|
+
multi: true,
|
|
3728
|
+
useValue: localizationContributor(options.localizations),
|
|
3729
|
+
deps: [LocalizationService],
|
|
3730
|
+
},
|
|
3731
|
+
],
|
|
3732
|
+
};
|
|
3733
|
+
}
|
|
3734
|
+
static forChild(options = {}) {
|
|
3735
|
+
return {
|
|
3736
|
+
ngModule: RootCoreModule,
|
|
3737
|
+
providers: [
|
|
3738
|
+
{
|
|
3739
|
+
provide: LOCALIZATIONS,
|
|
3740
|
+
multi: true,
|
|
3741
|
+
useValue: localizationContributor(options.localizations),
|
|
3742
|
+
deps: [LocalizationService],
|
|
3743
|
+
},
|
|
3744
|
+
],
|
|
3745
|
+
};
|
|
3746
|
+
}
|
|
3747
|
+
}
|
|
3748
|
+
CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3749
|
+
CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: CoreModule, imports: [BaseCoreModule], exports: [BaseCoreModule] });
|
|
3750
|
+
CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: CoreModule, imports: [[BaseCoreModule], BaseCoreModule] });
|
|
3751
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: CoreModule, decorators: [{
|
|
3752
|
+
type: NgModule,
|
|
3753
|
+
args: [{
|
|
3754
|
+
exports: [BaseCoreModule],
|
|
3755
|
+
imports: [BaseCoreModule],
|
|
3756
|
+
}]
|
|
3757
|
+
}] });
|
|
3758
|
+
function ngxsStoragePluginSerialize(data) {
|
|
3759
|
+
return data;
|
|
3760
|
+
}
|
|
3761
|
+
|
|
3762
|
+
class AuthGuard {
|
|
3763
|
+
constructor(oauthService, authService) {
|
|
3764
|
+
this.oauthService = oauthService;
|
|
3765
|
+
this.authService = authService;
|
|
3766
|
+
}
|
|
3767
|
+
canActivate() {
|
|
3768
|
+
const hasValidAccessToken = this.oauthService.hasValidAccessToken();
|
|
3769
|
+
if (hasValidAccessToken) {
|
|
3770
|
+
return true;
|
|
3771
|
+
}
|
|
3772
|
+
this.authService.navigateToLogin();
|
|
3773
|
+
return false;
|
|
3774
|
+
}
|
|
3775
|
+
}
|
|
3776
|
+
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 });
|
|
3777
|
+
AuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AuthGuard, providedIn: 'root' });
|
|
3778
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AuthGuard, decorators: [{
|
|
3779
|
+
type: Injectable,
|
|
3780
|
+
args: [{
|
|
3781
|
+
providedIn: 'root',
|
|
3782
|
+
}]
|
|
3783
|
+
}], ctorParameters: function () { return [{ type: i1$3.OAuthService }, { type: AuthService }]; } });
|
|
3784
|
+
|
|
3785
|
+
class PermissionGuard {
|
|
3786
|
+
constructor(router, routesService, permissionService, httpErrorReporter) {
|
|
3787
|
+
this.router = router;
|
|
3788
|
+
this.routesService = routesService;
|
|
3789
|
+
this.permissionService = permissionService;
|
|
3790
|
+
this.httpErrorReporter = httpErrorReporter;
|
|
3791
|
+
}
|
|
3792
|
+
canActivate(route, state) {
|
|
3793
|
+
let { requiredPolicy } = route.data || {};
|
|
3794
|
+
if (!requiredPolicy) {
|
|
3795
|
+
const routeFound = findRoute(this.routesService, getRoutePath(this.router, state.url));
|
|
3796
|
+
requiredPolicy = routeFound === null || routeFound === void 0 ? void 0 : routeFound.requiredPolicy;
|
|
3797
|
+
}
|
|
3798
|
+
if (!requiredPolicy)
|
|
3799
|
+
return of(true);
|
|
3800
|
+
return this.permissionService.getGrantedPolicy$(requiredPolicy).pipe(tap(access => {
|
|
3801
|
+
if (!access) {
|
|
3802
|
+
this.httpErrorReporter.reportError({ status: 403 });
|
|
3803
|
+
}
|
|
3804
|
+
}));
|
|
3805
|
+
}
|
|
3806
|
+
}
|
|
3807
|
+
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 });
|
|
3808
|
+
PermissionGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: PermissionGuard, providedIn: 'root' });
|
|
3809
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: PermissionGuard, decorators: [{
|
|
3810
|
+
type: Injectable,
|
|
3811
|
+
args: [{
|
|
3812
|
+
providedIn: 'root',
|
|
3813
|
+
}]
|
|
3814
|
+
}], ctorParameters: function () { return [{ type: i1$1.Router }, { type: RoutesService }, { type: PermissionService }, { type: HttpErrorReporterService }]; } });
|
|
3815
|
+
|
|
3816
|
+
class ListResultDto {
|
|
3817
|
+
constructor(initialValues = {}) {
|
|
3818
|
+
for (const key in initialValues) {
|
|
3819
|
+
if (Object.prototype.hasOwnProperty.call(initialValues, key)) {
|
|
3820
|
+
this[key] = initialValues[key];
|
|
3821
|
+
}
|
|
3822
|
+
}
|
|
3823
|
+
}
|
|
3824
|
+
}
|
|
3825
|
+
class PagedResultDto extends ListResultDto {
|
|
3826
|
+
constructor(initialValues = {}) {
|
|
3827
|
+
super(initialValues);
|
|
3828
|
+
}
|
|
3829
|
+
}
|
|
3830
|
+
class LimitedResultRequestDto {
|
|
3831
|
+
constructor(initialValues = {}) {
|
|
3832
|
+
this.maxResultCount = 10;
|
|
3833
|
+
for (const key in initialValues) {
|
|
3834
|
+
if (Object.prototype.hasOwnProperty.call(initialValues, key) &&
|
|
3835
|
+
initialValues[key] !== undefined) {
|
|
3836
|
+
this[key] = initialValues[key];
|
|
3837
|
+
}
|
|
3838
|
+
}
|
|
3839
|
+
}
|
|
3840
|
+
}
|
|
3841
|
+
class PagedResultRequestDto extends LimitedResultRequestDto {
|
|
3842
|
+
constructor(initialValues = {}) {
|
|
3843
|
+
super(initialValues);
|
|
3844
|
+
}
|
|
3845
|
+
}
|
|
3846
|
+
class PagedAndSortedResultRequestDto extends PagedResultRequestDto {
|
|
3847
|
+
constructor(initialValues = {}) {
|
|
3848
|
+
super(initialValues);
|
|
3849
|
+
}
|
|
3850
|
+
}
|
|
3851
|
+
class EntityDto {
|
|
3852
|
+
constructor(initialValues = {}) {
|
|
3853
|
+
for (const key in initialValues) {
|
|
3854
|
+
if (Object.prototype.hasOwnProperty.call(initialValues, key)) {
|
|
3855
|
+
this[key] = initialValues[key];
|
|
3856
|
+
}
|
|
3857
|
+
}
|
|
3858
|
+
}
|
|
3859
|
+
}
|
|
3860
|
+
class CreationAuditedEntityDto extends EntityDto {
|
|
3861
|
+
constructor(initialValues = {}) {
|
|
3862
|
+
super(initialValues);
|
|
3863
|
+
}
|
|
3864
|
+
}
|
|
3865
|
+
class CreationAuditedEntityWithUserDto extends CreationAuditedEntityDto {
|
|
3866
|
+
constructor(initialValues = {}) {
|
|
3867
|
+
super(initialValues);
|
|
3868
|
+
}
|
|
3869
|
+
}
|
|
3870
|
+
class AuditedEntityDto extends CreationAuditedEntityDto {
|
|
3871
|
+
constructor(initialValues = {}) {
|
|
3872
|
+
super(initialValues);
|
|
3873
|
+
}
|
|
3874
|
+
}
|
|
3875
|
+
class AuditedEntityWithUserDto extends AuditedEntityDto {
|
|
3876
|
+
constructor(initialValues = {}) {
|
|
3877
|
+
super(initialValues);
|
|
3878
|
+
}
|
|
3879
|
+
}
|
|
3880
|
+
class FullAuditedEntityDto extends AuditedEntityDto {
|
|
3881
|
+
constructor(initialValues = {}) {
|
|
3882
|
+
super(initialValues);
|
|
3883
|
+
}
|
|
3884
|
+
}
|
|
3885
|
+
class FullAuditedEntityWithUserDto extends FullAuditedEntityDto {
|
|
3886
|
+
constructor(initialValues = {}) {
|
|
3887
|
+
super(initialValues);
|
|
3888
|
+
}
|
|
3889
|
+
}
|
|
3890
|
+
class ExtensibleObject {
|
|
3891
|
+
constructor(initialValues = {}) {
|
|
3892
|
+
for (const key in initialValues) {
|
|
3893
|
+
if (Object.prototype.hasOwnProperty.call(initialValues, key)) {
|
|
3894
|
+
this[key] = initialValues[key];
|
|
3895
|
+
}
|
|
3896
|
+
}
|
|
3897
|
+
}
|
|
3898
|
+
}
|
|
3899
|
+
class ExtensibleEntityDto extends ExtensibleObject {
|
|
3900
|
+
constructor(initialValues = {}) {
|
|
3901
|
+
super(initialValues);
|
|
3902
|
+
}
|
|
3903
|
+
}
|
|
3904
|
+
class ExtensibleCreationAuditedEntityDto extends ExtensibleEntityDto {
|
|
3905
|
+
constructor(initialValues = {}) {
|
|
3906
|
+
super(initialValues);
|
|
3907
|
+
}
|
|
3908
|
+
}
|
|
3909
|
+
class ExtensibleAuditedEntityDto extends ExtensibleCreationAuditedEntityDto {
|
|
3910
|
+
constructor(initialValues = {}) {
|
|
3911
|
+
super(initialValues);
|
|
3912
|
+
}
|
|
3913
|
+
}
|
|
3914
|
+
class ExtensibleAuditedEntityWithUserDto extends ExtensibleAuditedEntityDto {
|
|
3915
|
+
constructor(initialValues = {}) {
|
|
3916
|
+
super(initialValues);
|
|
3917
|
+
}
|
|
3918
|
+
}
|
|
3919
|
+
class ExtensibleCreationAuditedEntityWithUserDto extends ExtensibleCreationAuditedEntityDto {
|
|
3920
|
+
constructor(initialValues = {}) {
|
|
3921
|
+
super(initialValues);
|
|
3922
|
+
}
|
|
3923
|
+
}
|
|
3924
|
+
class ExtensibleFullAuditedEntityDto extends ExtensibleAuditedEntityDto {
|
|
3925
|
+
constructor(initialValues = {}) {
|
|
3926
|
+
super(initialValues);
|
|
3927
|
+
}
|
|
3928
|
+
}
|
|
3929
|
+
class ExtensibleFullAuditedEntityWithUserDto extends ExtensibleFullAuditedEntityDto {
|
|
3930
|
+
constructor(initialValues = {}) {
|
|
3931
|
+
super(initialValues);
|
|
3932
|
+
}
|
|
3933
|
+
}
|
|
3934
|
+
|
|
3935
|
+
class AbpApiDefinitionService {
|
|
3936
|
+
constructor(restService) {
|
|
3937
|
+
this.restService = restService;
|
|
3938
|
+
this.apiName = 'abp';
|
|
3939
|
+
this.getByModel = (model) => this.restService.request({
|
|
3940
|
+
method: 'GET',
|
|
3941
|
+
url: '/api/abp/api-definition',
|
|
3942
|
+
params: { includeTypes: model.includeTypes },
|
|
3943
|
+
}, { apiName: this.apiName });
|
|
3944
|
+
}
|
|
3945
|
+
}
|
|
3946
|
+
AbpApiDefinitionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbpApiDefinitionService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3947
|
+
AbpApiDefinitionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbpApiDefinitionService, providedIn: 'root' });
|
|
3948
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: AbpApiDefinitionService, decorators: [{
|
|
3949
|
+
type: Injectable,
|
|
3950
|
+
args: [{
|
|
3951
|
+
providedIn: 'root',
|
|
3952
|
+
}]
|
|
3953
|
+
}], ctorParameters: function () { return [{ type: RestService }]; } });
|
|
3954
|
+
|
|
3955
|
+
var index = /*#__PURE__*/Object.freeze({
|
|
3956
|
+
__proto__: null
|
|
3957
|
+
});
|
|
3958
|
+
|
|
3852
3959
|
class ContainerStrategy {
|
|
3853
3960
|
constructor(containerRef) {
|
|
3854
3961
|
this.containerRef = containerRef;
|
|
@@ -4247,5 +4354,5 @@ const AbpValidators = {
|
|
|
4247
4354
|
* Generated bundle index. Do not edit.
|
|
4248
4355
|
*/
|
|
4249
4356
|
|
|
4250
|
-
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 };
|
|
4357
|
+
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 };
|
|
4251
4358
|
//# sourceMappingURL=abp-ng.core.mjs.map
|