@abp/ng.core 6.0.0-rc.3 → 6.0.0-rc.5
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 +5 -5
- package/esm2020/lib/components/replaceable-route-container.component.mjs +4 -4
- package/esm2020/lib/components/router-outlet.component.mjs +3 -3
- package/esm2020/lib/core.module.mjs +28 -30
- 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 +7 -4
- package/esm2020/lib/directives/init.directive.mjs +3 -3
- package/esm2020/lib/directives/permission.directive.mjs +4 -4
- 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 +4 -4
- package/esm2020/lib/interceptors/api.interceptor.mjs +3 -3
- package/esm2020/lib/localization.module.mjs +4 -4
- package/esm2020/lib/pipes/localization.pipe.mjs +4 -4
- package/esm2020/lib/pipes/short-date-time.pipe.mjs +3 -3
- package/esm2020/lib/pipes/short-date.pipe.mjs +3 -3
- package/esm2020/lib/pipes/short-time.pipe.mjs +3 -3
- 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 +4 -4
- 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 +4 -4
- package/esm2020/lib/services/index.mjs +2 -1
- package/esm2020/lib/services/lazy-load.service.mjs +3 -3
- package/esm2020/lib/services/list.service.mjs +4 -4
- package/esm2020/lib/services/localization.service.mjs +4 -4
- 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 +5 -5
- package/esm2020/lib/services/router-events.service.mjs +3 -3
- package/esm2020/lib/services/router-wait.service.mjs +4 -4
- 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/timeout-limited-oauth.service.mjs +16 -0
- package/esm2020/lib/services/track-by.service.mjs +3 -3
- package/esm2020/lib/utils/common-utils.mjs +4 -1
- package/esm2020/lib/validators/index.mjs +3 -1
- package/esm2020/lib/validators/required.validator.mjs +4 -2
- package/esm2020/lib/validators/url.validator.mjs +3 -2
- package/esm2020/lib/validators/username.validator.mjs +14 -0
- package/esm2020/testing/lib/core-testing.module.mjs +5 -5
- 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-testing.mjs +10 -10
- package/fesm2015/abp-ng.core-testing.mjs.map +1 -1
- package/fesm2015/abp-ng.core.mjs +216 -184
- package/fesm2015/abp-ng.core.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 +216 -184
- package/fesm2020/abp-ng.core.mjs.map +1 -1
- package/{abp-ng.core.d.ts → index.d.ts} +0 -0
- package/lib/abstracts/ng-model.component.d.ts +1 -1
- package/lib/components/dynamic-layout.component.d.ts +1 -1
- package/lib/components/replaceable-route-container.component.d.ts +1 -1
- package/lib/components/router-outlet.component.d.ts +1 -1
- package/lib/directives/autofocus.directive.d.ts +1 -1
- package/lib/directives/debounce.directive.d.ts +1 -1
- package/lib/directives/for.directive.d.ts +1 -1
- package/lib/directives/form-submit.directive.d.ts +4 -1
- package/lib/directives/init.directive.d.ts +1 -1
- package/lib/directives/permission.directive.d.ts +2 -2
- package/lib/directives/replaceable-template.directive.d.ts +1 -1
- package/lib/directives/stop-propagation.directive.d.ts +1 -1
- package/lib/pipes/localization.pipe.d.ts +1 -1
- package/lib/pipes/short-date-time.pipe.d.ts +1 -1
- package/lib/pipes/short-date.pipe.d.ts +1 -1
- package/lib/pipes/short-time.pipe.d.ts +1 -1
- package/lib/pipes/sort.pipe.d.ts +1 -1
- package/lib/pipes/to-injector.pipe.d.ts +1 -1
- package/lib/services/index.d.ts +1 -0
- package/lib/services/router-events.service.d.ts +1 -1
- package/lib/services/timeout-limited-oauth.service.d.ts +7 -0
- package/lib/strategies/auth-flow.strategy.d.ts +1 -1
- package/lib/utils/common-utils.d.ts +1 -0
- package/lib/utils/environment-utils.d.ts +1 -1
- package/lib/validators/index.d.ts +2 -0
- package/lib/validators/username.validator.d.ts +10 -0
- package/locale/{abp-ng.core-locale.d.ts → index.d.ts} +0 -0
- package/package.json +6 -6
- package/testing/{abp-ng.core-testing.d.ts → index.d.ts} +0 -0
- package/locale/package.json +0 -10
- package/testing/package.json +0 -10
package/fesm2015/abp-ng.core.mjs
CHANGED
|
@@ -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: "
|
|
60
|
-
AbstractNgModelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
59
|
+
AbstractNgModelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbstractNgModelComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
60
|
+
AbstractNgModelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", 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: "14.2.1", ngImport: i0, type: AbstractNgModelComponent, decorators: [{
|
|
62
62
|
type: Component,
|
|
63
63
|
args: [{ template: '' }]
|
|
64
64
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; }, propDecorators: { disabled: [{
|
|
@@ -144,6 +144,9 @@ function isUndefinedOrEmptyString(value) {
|
|
|
144
144
|
function isNullOrUndefined(obj) {
|
|
145
145
|
return obj === null || obj === undefined;
|
|
146
146
|
}
|
|
147
|
+
function isNullOrEmpty(obj) {
|
|
148
|
+
return obj === null || obj === undefined || obj === '';
|
|
149
|
+
}
|
|
147
150
|
function exists(obj) {
|
|
148
151
|
return !isNullOrUndefined(obj);
|
|
149
152
|
}
|
|
@@ -274,9 +277,9 @@ class EnvironmentService {
|
|
|
274
277
|
return this.store.sliceState(state => state.oAuthConfig.issuer).pipe(map(mapToIssuer));
|
|
275
278
|
}
|
|
276
279
|
}
|
|
277
|
-
EnvironmentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
278
|
-
EnvironmentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
279
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
280
|
+
EnvironmentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: EnvironmentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
281
|
+
EnvironmentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: EnvironmentService, providedIn: 'root' });
|
|
282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: EnvironmentService, decorators: [{
|
|
280
283
|
type: Injectable,
|
|
281
284
|
args: [{ providedIn: 'root' }]
|
|
282
285
|
}] });
|
|
@@ -300,9 +303,9 @@ class HttpErrorReporterService {
|
|
|
300
303
|
return this._errors$.value;
|
|
301
304
|
}
|
|
302
305
|
}
|
|
303
|
-
HttpErrorReporterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
304
|
-
HttpErrorReporterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
305
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
306
|
+
HttpErrorReporterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: HttpErrorReporterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
307
|
+
HttpErrorReporterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: HttpErrorReporterService, providedIn: 'root' });
|
|
308
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: HttpErrorReporterService, decorators: [{
|
|
306
309
|
type: Injectable,
|
|
307
310
|
args: [{ providedIn: 'root' }]
|
|
308
311
|
}] });
|
|
@@ -325,7 +328,7 @@ class RestService {
|
|
|
325
328
|
config = config || {};
|
|
326
329
|
api = api || this.getApiFromStore(config.apiName);
|
|
327
330
|
const { method, params } = request, options = __rest(request, ["method", "params"]);
|
|
328
|
-
const { observe = "body" /* Body */, skipHandleError } = config;
|
|
331
|
+
const { observe = "body" /* Rest.Observe.Body */, skipHandleError } = config;
|
|
329
332
|
const url = this.removeDuplicateSlashes(api + request.url);
|
|
330
333
|
return this.http
|
|
331
334
|
.request(method, url, Object.assign(Object.assign({ observe }, (params && {
|
|
@@ -351,9 +354,9 @@ class RestService {
|
|
|
351
354
|
return url.replace(/([^:]\/)\/+/g, '$1');
|
|
352
355
|
}
|
|
353
356
|
}
|
|
354
|
-
RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
355
|
-
RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
356
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
357
|
+
RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RestService, deps: [{ token: CORE_OPTIONS }, { token: i1.HttpClient }, { token: EnvironmentService }, { token: HttpErrorReporterService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
358
|
+
RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RestService, providedIn: 'root' });
|
|
359
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RestService, decorators: [{
|
|
357
360
|
type: Injectable,
|
|
358
361
|
args: [{
|
|
359
362
|
providedIn: 'root',
|
|
@@ -375,9 +378,9 @@ class AbpApplicationConfigurationService {
|
|
|
375
378
|
}, { apiName: this.apiName });
|
|
376
379
|
}
|
|
377
380
|
}
|
|
378
|
-
AbpApplicationConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
379
|
-
AbpApplicationConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
381
|
+
AbpApplicationConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbpApplicationConfigurationService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
382
|
+
AbpApplicationConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbpApplicationConfigurationService, providedIn: 'root' });
|
|
383
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbpApplicationConfigurationService, decorators: [{
|
|
381
384
|
type: Injectable,
|
|
382
385
|
args: [{
|
|
383
386
|
providedIn: 'root',
|
|
@@ -505,9 +508,9 @@ class ConfigStateService {
|
|
|
505
508
|
return this.store.sliceState(state => this.isGlobalFeatureEnabled(key, state.globalFeatures));
|
|
506
509
|
}
|
|
507
510
|
}
|
|
508
|
-
ConfigStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
509
|
-
ConfigStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
510
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
511
|
+
ConfigStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ConfigStateService, deps: [{ token: AbpApplicationConfigurationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
512
|
+
ConfigStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ConfigStateService, providedIn: 'root' });
|
|
513
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ConfigStateService, decorators: [{
|
|
511
514
|
type: Injectable,
|
|
512
515
|
args: [{
|
|
513
516
|
providedIn: 'root',
|
|
@@ -575,9 +578,9 @@ class PermissionService {
|
|
|
575
578
|
return grantedPolicies[key] || false;
|
|
576
579
|
}
|
|
577
580
|
}
|
|
578
|
-
PermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
579
|
-
PermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
580
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
581
|
+
PermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: PermissionService, deps: [{ token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
582
|
+
PermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: PermissionService, providedIn: 'root' });
|
|
583
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: PermissionService, decorators: [{
|
|
581
584
|
type: Injectable,
|
|
582
585
|
args: [{ providedIn: 'root' }]
|
|
583
586
|
}], ctorParameters: function () { return [{ type: ConfigStateService }]; } });
|
|
@@ -708,16 +711,16 @@ class AbstractNavTreeService extends AbstractTreeService {
|
|
|
708
711
|
this.subscription.unsubscribe();
|
|
709
712
|
}
|
|
710
713
|
}
|
|
711
|
-
AbstractNavTreeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
712
|
-
AbstractNavTreeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
713
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
714
|
+
AbstractNavTreeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbstractNavTreeService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
715
|
+
AbstractNavTreeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbstractNavTreeService });
|
|
716
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbstractNavTreeService, decorators: [{
|
|
714
717
|
type: Injectable
|
|
715
718
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
716
719
|
class RoutesService extends AbstractNavTreeService {
|
|
717
720
|
}
|
|
718
|
-
RoutesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
719
|
-
RoutesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
720
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
721
|
+
RoutesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RoutesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
722
|
+
RoutesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RoutesService, providedIn: 'root' });
|
|
723
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RoutesService, decorators: [{
|
|
721
724
|
type: Injectable,
|
|
722
725
|
args: [{ providedIn: 'root' }]
|
|
723
726
|
}] });
|
|
@@ -754,9 +757,9 @@ class SubscriptionService {
|
|
|
754
757
|
this.subscription = new Subscription();
|
|
755
758
|
}
|
|
756
759
|
}
|
|
757
|
-
SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
758
|
-
SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
759
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
760
|
+
SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: SubscriptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
761
|
+
SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: SubscriptionService });
|
|
762
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: SubscriptionService, decorators: [{
|
|
760
763
|
type: Injectable
|
|
761
764
|
}] });
|
|
762
765
|
|
|
@@ -932,9 +935,9 @@ class SessionStateService {
|
|
|
932
935
|
document.documentElement.setAttribute('lang', language);
|
|
933
936
|
}
|
|
934
937
|
}
|
|
935
|
-
SessionStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
936
|
-
SessionStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
937
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
938
|
+
SessionStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: SessionStateService, deps: [{ token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
939
|
+
SessionStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: SessionStateService, providedIn: 'root' });
|
|
940
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: SessionStateService, decorators: [{
|
|
938
941
|
type: Injectable,
|
|
939
942
|
args: [{
|
|
940
943
|
providedIn: 'root',
|
|
@@ -1105,9 +1108,9 @@ class LocalizationService {
|
|
|
1105
1108
|
return localization || defaultValue || key;
|
|
1106
1109
|
}
|
|
1107
1110
|
}
|
|
1108
|
-
LocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1109
|
-
LocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1111
|
+
LocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LocalizationService, deps: [{ token: SessionStateService }, { token: i0.Injector }, { token: LocalizationService, optional: true, skipSelf: true }, { token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1112
|
+
LocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LocalizationService, providedIn: 'root' });
|
|
1113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LocalizationService, decorators: [{
|
|
1111
1114
|
type: Injectable,
|
|
1112
1115
|
args: [{ providedIn: 'root' }]
|
|
1113
1116
|
}], ctorParameters: function () {
|
|
@@ -1153,9 +1156,9 @@ class ReplaceableComponentsService {
|
|
|
1153
1156
|
return this.replaceableComponents$.pipe(map(components => components.find(component => component.key === replaceableComponentKey)));
|
|
1154
1157
|
}
|
|
1155
1158
|
}
|
|
1156
|
-
ReplaceableComponentsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1157
|
-
ReplaceableComponentsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1158
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1159
|
+
ReplaceableComponentsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ReplaceableComponentsService, deps: [{ token: i0.NgZone }, { token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1160
|
+
ReplaceableComponentsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ReplaceableComponentsService, providedIn: 'root' });
|
|
1161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ReplaceableComponentsService, decorators: [{
|
|
1159
1162
|
type: Injectable,
|
|
1160
1163
|
args: [{ providedIn: 'root' }]
|
|
1161
1164
|
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1$1.Router }]; } });
|
|
@@ -1186,9 +1189,9 @@ class RouterEvents {
|
|
|
1186
1189
|
return this.getNavigationEvents(...keys);
|
|
1187
1190
|
}
|
|
1188
1191
|
}
|
|
1189
|
-
RouterEvents.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1190
|
-
RouterEvents.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1192
|
+
RouterEvents.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RouterEvents, deps: [{ token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1193
|
+
RouterEvents.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RouterEvents, providedIn: 'root' });
|
|
1194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RouterEvents, decorators: [{
|
|
1192
1195
|
type: Injectable,
|
|
1193
1196
|
args: [{ providedIn: 'root' }]
|
|
1194
1197
|
}], ctorParameters: function () { return [{ type: i1$1.Router }]; } });
|
|
@@ -1236,7 +1239,7 @@ class DynamicLayoutComponent {
|
|
|
1236
1239
|
}
|
|
1237
1240
|
}
|
|
1238
1241
|
if (!expectedLayout)
|
|
1239
|
-
expectedLayout = "empty" /* empty */;
|
|
1242
|
+
expectedLayout = "empty" /* eLayoutType.empty */;
|
|
1240
1243
|
if (this.layoutKey === expectedLayout)
|
|
1241
1244
|
return;
|
|
1242
1245
|
const key = this.layouts.get(expectedLayout);
|
|
@@ -1253,9 +1256,9 @@ class DynamicLayoutComponent {
|
|
|
1253
1256
|
return this.replaceableComponents.get(key);
|
|
1254
1257
|
}
|
|
1255
1258
|
}
|
|
1256
|
-
DynamicLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1257
|
-
DynamicLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1259
|
+
DynamicLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: DynamicLayoutComponent, deps: [{ token: i0.Injector }, { token: LocalizationService }, { token: ReplaceableComponentsService }, { token: SubscriptionService }, { token: RouterEvents }, { token: DynamicLayoutComponent, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1260
|
+
DynamicLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: DynamicLayoutComponent, selector: "abp-dynamic-layout", providers: [SubscriptionService], ngImport: i0, template: ` <ng-container *ngIf="isLayoutVisible" [ngComponentOutlet]="layout"></ng-container> `, isInline: true, dependencies: [{ kind: "directive", type: i5.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
1261
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: DynamicLayoutComponent, decorators: [{
|
|
1259
1262
|
type: Component,
|
|
1260
1263
|
args: [{
|
|
1261
1264
|
selector: 'abp-dynamic-layout',
|
|
@@ -1287,11 +1290,11 @@ class ReplaceableRouteContainerComponent {
|
|
|
1287
1290
|
});
|
|
1288
1291
|
}
|
|
1289
1292
|
}
|
|
1290
|
-
ReplaceableRouteContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1291
|
-
ReplaceableRouteContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1293
|
+
ReplaceableRouteContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ReplaceableRouteContainerComponent, deps: [{ token: i1$1.ActivatedRoute }, { token: ReplaceableComponentsService }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1294
|
+
ReplaceableRouteContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: ReplaceableRouteContainerComponent, selector: "abp-replaceable-route-container", providers: [SubscriptionService], ngImport: i0, template: `
|
|
1292
1295
|
<ng-container *ngComponentOutlet="externalComponent || defaultComponent"></ng-container>
|
|
1293
|
-
`, isInline: true,
|
|
1294
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1296
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i5.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }] });
|
|
1297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ReplaceableRouteContainerComponent, decorators: [{
|
|
1295
1298
|
type: Component,
|
|
1296
1299
|
args: [{
|
|
1297
1300
|
selector: 'abp-replaceable-route-container',
|
|
@@ -1304,9 +1307,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImpor
|
|
|
1304
1307
|
|
|
1305
1308
|
class RouterOutletComponent {
|
|
1306
1309
|
}
|
|
1307
|
-
RouterOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1308
|
-
RouterOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1309
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1310
|
+
RouterOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RouterOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1311
|
+
RouterOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: RouterOutletComponent, selector: "abp-router-outlet", ngImport: i0, template: ` <router-outlet></router-outlet> `, isInline: true, dependencies: [{ kind: "directive", type: i1$1.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }] });
|
|
1312
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RouterOutletComponent, decorators: [{
|
|
1310
1313
|
type: Component,
|
|
1311
1314
|
args: [{
|
|
1312
1315
|
selector: 'abp-router-outlet',
|
|
@@ -1666,9 +1669,9 @@ class AutofocusDirective {
|
|
|
1666
1669
|
setTimeout(() => this.elRef.nativeElement.focus(), this.delay);
|
|
1667
1670
|
}
|
|
1668
1671
|
}
|
|
1669
|
-
AutofocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1670
|
-
AutofocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1671
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1672
|
+
AutofocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AutofocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1673
|
+
AutofocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.1", type: AutofocusDirective, selector: "[autofocus]", inputs: { delay: ["autofocus", "delay"] }, ngImport: i0 });
|
|
1674
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AutofocusDirective, decorators: [{
|
|
1672
1675
|
type: Directive,
|
|
1673
1676
|
args: [{
|
|
1674
1677
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -1693,9 +1696,9 @@ class InputEventDebounceDirective {
|
|
|
1693
1696
|
});
|
|
1694
1697
|
}
|
|
1695
1698
|
}
|
|
1696
|
-
InputEventDebounceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1697
|
-
InputEventDebounceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1698
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1699
|
+
InputEventDebounceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: InputEventDebounceDirective, deps: [{ token: i0.ElementRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1700
|
+
InputEventDebounceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.1", type: InputEventDebounceDirective, selector: "[input.debounce]", inputs: { debounce: "debounce" }, outputs: { debounceEvent: "input.debounce" }, providers: [SubscriptionService], ngImport: i0 });
|
|
1701
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: InputEventDebounceDirective, decorators: [{
|
|
1699
1702
|
type: Directive,
|
|
1700
1703
|
args: [{
|
|
1701
1704
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -1823,9 +1826,9 @@ class ForDirective {
|
|
|
1823
1826
|
}
|
|
1824
1827
|
}
|
|
1825
1828
|
}
|
|
1826
|
-
ForDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1827
|
-
ForDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1828
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1829
|
+
ForDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ForDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1830
|
+
ForDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.1", type: ForDirective, selector: "[abpFor]", inputs: { items: ["abpForOf", "items"], orderBy: ["abpForOrderBy", "orderBy"], orderDir: ["abpForOrderDir", "orderDir"], filterBy: ["abpForFilterBy", "filterBy"], filterVal: ["abpForFilterVal", "filterVal"], trackBy: ["abpForTrackBy", "trackBy"], compareBy: ["abpForCompareBy", "compareBy"], emptyRef: ["abpForEmptyRef", "emptyRef"] }, usesOnChanges: true, ngImport: i0 });
|
|
1831
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ForDirective, decorators: [{
|
|
1829
1832
|
type: Directive,
|
|
1830
1833
|
args: [{
|
|
1831
1834
|
selector: '[abpFor]',
|
|
@@ -1856,6 +1859,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImpor
|
|
|
1856
1859
|
args: ['abpForEmptyRef']
|
|
1857
1860
|
}] } });
|
|
1858
1861
|
|
|
1862
|
+
/**
|
|
1863
|
+
* @deprecated FormSubmitDirective will be removed in V7.0.0. Use `ngSubmit` instead.
|
|
1864
|
+
*/
|
|
1859
1865
|
class FormSubmitDirective {
|
|
1860
1866
|
constructor(formGroupDirective, host, cdRef, subscription) {
|
|
1861
1867
|
this.formGroupDirective = formGroupDirective;
|
|
@@ -1889,9 +1895,9 @@ class FormSubmitDirective {
|
|
|
1889
1895
|
this.cdRef.detectChanges();
|
|
1890
1896
|
}
|
|
1891
1897
|
}
|
|
1892
|
-
FormSubmitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1893
|
-
FormSubmitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1894
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1898
|
+
FormSubmitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormSubmitDirective, deps: [{ token: i1$2.FormGroupDirective, self: true }, { token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1899
|
+
FormSubmitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.1", type: FormSubmitDirective, selector: "form[ngSubmit][formGroup]", inputs: { debounce: "debounce", notValidateOnSubmit: "notValidateOnSubmit", markAsDirtyWhenSubmit: "markAsDirtyWhenSubmit" }, outputs: { ngSubmit: "ngSubmit" }, providers: [SubscriptionService], ngImport: i0 });
|
|
1900
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormSubmitDirective, decorators: [{
|
|
1895
1901
|
type: Directive,
|
|
1896
1902
|
args: [{
|
|
1897
1903
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -1933,9 +1939,9 @@ class InitDirective {
|
|
|
1933
1939
|
this.init.emit(this.elRef);
|
|
1934
1940
|
}
|
|
1935
1941
|
}
|
|
1936
|
-
InitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1937
|
-
InitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1938
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1942
|
+
InitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: InitDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1943
|
+
InitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.1", type: InitDirective, selector: "[abpInit]", outputs: { init: "abpInit" }, ngImport: i0 });
|
|
1944
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: InitDirective, decorators: [{
|
|
1939
1945
|
type: Directive,
|
|
1940
1946
|
args: [{ selector: '[abpInit]' }]
|
|
1941
1947
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { init: [{
|
|
@@ -1989,9 +1995,9 @@ class PermissionDirective {
|
|
|
1989
1995
|
this.rendered = true;
|
|
1990
1996
|
}
|
|
1991
1997
|
}
|
|
1992
|
-
PermissionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1993
|
-
PermissionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1994
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1998
|
+
PermissionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: PermissionDirective, deps: [{ token: i0.TemplateRef, optional: true }, { token: i0.ViewContainerRef }, { token: PermissionService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1999
|
+
PermissionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.1", type: PermissionDirective, selector: "[abpPermission]", inputs: { condition: ["abpPermission", "condition"], runChangeDetection: ["abpPermissionRunChangeDetection", "runChangeDetection"] }, usesOnChanges: true, ngImport: i0 });
|
|
2000
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: PermissionDirective, decorators: [{
|
|
1995
2001
|
type: Directive,
|
|
1996
2002
|
args: [{
|
|
1997
2003
|
selector: '[abpPermission]',
|
|
@@ -2108,9 +2114,9 @@ class ReplaceableTemplateDirective {
|
|
|
2108
2114
|
this.defaultComponentRef = null;
|
|
2109
2115
|
}
|
|
2110
2116
|
}
|
|
2111
|
-
ReplaceableTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2112
|
-
ReplaceableTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2117
|
+
ReplaceableTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ReplaceableTemplateDirective, deps: [{ token: i0.Injector }, { token: i0.TemplateRef }, { token: i0.ComponentFactoryResolver }, { token: i0.ViewContainerRef }, { token: ReplaceableComponentsService }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2118
|
+
ReplaceableTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.1", type: ReplaceableTemplateDirective, selector: "[abpReplaceableTemplate]", inputs: { data: ["abpReplaceableTemplate", "data"] }, providers: [SubscriptionService], usesOnChanges: true, ngImport: i0 });
|
|
2119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ReplaceableTemplateDirective, decorators: [{
|
|
2114
2120
|
type: Directive,
|
|
2115
2121
|
args: [{
|
|
2116
2122
|
selector: '[abpReplaceableTemplate]',
|
|
@@ -2134,9 +2140,9 @@ class StopPropagationDirective {
|
|
|
2134
2140
|
});
|
|
2135
2141
|
}
|
|
2136
2142
|
}
|
|
2137
|
-
StopPropagationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2138
|
-
StopPropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2143
|
+
StopPropagationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: StopPropagationDirective, deps: [{ token: i0.ElementRef }, { token: SubscriptionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2144
|
+
StopPropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.1", type: StopPropagationDirective, selector: "[click.stop]", outputs: { stopPropEvent: "click.stop" }, providers: [SubscriptionService], ngImport: i0 });
|
|
2145
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: StopPropagationDirective, decorators: [{
|
|
2140
2146
|
type: Directive,
|
|
2141
2147
|
args: [{
|
|
2142
2148
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2164,9 +2170,9 @@ class OAuthConfigurationHandler {
|
|
|
2164
2170
|
});
|
|
2165
2171
|
}
|
|
2166
2172
|
}
|
|
2167
|
-
OAuthConfigurationHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2168
|
-
OAuthConfigurationHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2169
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2173
|
+
OAuthConfigurationHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: OAuthConfigurationHandler, deps: [{ token: i1$3.OAuthService }, { token: EnvironmentService }, { token: CORE_OPTIONS }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2174
|
+
OAuthConfigurationHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: OAuthConfigurationHandler, providedIn: 'root' });
|
|
2175
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: OAuthConfigurationHandler, decorators: [{
|
|
2170
2176
|
type: Injectable,
|
|
2171
2177
|
args: [{
|
|
2172
2178
|
providedIn: 'root',
|
|
@@ -2198,9 +2204,9 @@ class RoutesHandler {
|
|
|
2198
2204
|
});
|
|
2199
2205
|
}
|
|
2200
2206
|
}
|
|
2201
|
-
RoutesHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2202
|
-
RoutesHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2203
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2207
|
+
RoutesHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RoutesHandler, deps: [{ token: RoutesService }, { token: i1$1.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2208
|
+
RoutesHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RoutesHandler, providedIn: 'root' });
|
|
2209
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RoutesHandler, decorators: [{
|
|
2204
2210
|
type: Injectable,
|
|
2205
2211
|
args: [{
|
|
2206
2212
|
providedIn: 'root',
|
|
@@ -2299,9 +2305,9 @@ class HttpWaitService {
|
|
|
2299
2305
|
return endpoint === request.endpoint && method === request.method;
|
|
2300
2306
|
}
|
|
2301
2307
|
}
|
|
2302
|
-
HttpWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2303
|
-
HttpWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2308
|
+
HttpWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: HttpWaitService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2309
|
+
HttpWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: HttpWaitService, providedIn: 'root' });
|
|
2310
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: HttpWaitService, decorators: [{
|
|
2305
2311
|
type: Injectable,
|
|
2306
2312
|
args: [{
|
|
2307
2313
|
providedIn: 'root',
|
|
@@ -2341,9 +2347,9 @@ class ApiInterceptor {
|
|
|
2341
2347
|
return headers;
|
|
2342
2348
|
}
|
|
2343
2349
|
}
|
|
2344
|
-
ApiInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2345
|
-
ApiInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2346
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2350
|
+
ApiInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ApiInterceptor, deps: [{ token: i1$3.OAuthService }, { token: SessionStateService }, { token: HttpWaitService }, { token: TENANT_KEY }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2351
|
+
ApiInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ApiInterceptor, providedIn: 'root' });
|
|
2352
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ApiInterceptor, decorators: [{
|
|
2347
2353
|
type: Injectable,
|
|
2348
2354
|
args: [{
|
|
2349
2355
|
providedIn: 'root',
|
|
@@ -2372,10 +2378,10 @@ class LocalizationPipe {
|
|
|
2372
2378
|
return this.localization.instant(value, ...params);
|
|
2373
2379
|
}
|
|
2374
2380
|
}
|
|
2375
|
-
LocalizationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2376
|
-
LocalizationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "
|
|
2377
|
-
LocalizationPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2381
|
+
LocalizationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LocalizationPipe, deps: [{ token: LocalizationService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2382
|
+
LocalizationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: LocalizationPipe, name: "abpLocalization" });
|
|
2383
|
+
LocalizationPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LocalizationPipe });
|
|
2384
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LocalizationPipe, decorators: [{
|
|
2379
2385
|
type: Injectable
|
|
2380
2386
|
}, {
|
|
2381
2387
|
type: Pipe,
|
|
@@ -2386,10 +2392,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImpor
|
|
|
2386
2392
|
|
|
2387
2393
|
class LocalizationModule {
|
|
2388
2394
|
}
|
|
2389
|
-
LocalizationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2390
|
-
LocalizationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
2391
|
-
LocalizationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2395
|
+
LocalizationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LocalizationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2396
|
+
LocalizationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: LocalizationModule, declarations: [LocalizationPipe], exports: [LocalizationPipe] });
|
|
2397
|
+
LocalizationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LocalizationModule });
|
|
2398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LocalizationModule, decorators: [{
|
|
2393
2399
|
type: NgModule,
|
|
2394
2400
|
args: [{
|
|
2395
2401
|
exports: [LocalizationPipe],
|
|
@@ -2432,10 +2438,10 @@ class SortPipe {
|
|
|
2432
2438
|
return sortOrder === 'asc' ? sorted : sorted.reverse();
|
|
2433
2439
|
}
|
|
2434
2440
|
}
|
|
2435
|
-
SortPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2436
|
-
SortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "
|
|
2437
|
-
SortPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2438
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2441
|
+
SortPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: SortPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2442
|
+
SortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: SortPipe, name: "abpSort" });
|
|
2443
|
+
SortPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: SortPipe });
|
|
2444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: SortPipe, decorators: [{
|
|
2439
2445
|
type: Injectable
|
|
2440
2446
|
}, {
|
|
2441
2447
|
type: Pipe,
|
|
@@ -2462,9 +2468,9 @@ class ToInjectorPipe {
|
|
|
2462
2468
|
});
|
|
2463
2469
|
}
|
|
2464
2470
|
}
|
|
2465
|
-
ToInjectorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2466
|
-
ToInjectorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "
|
|
2467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2471
|
+
ToInjectorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ToInjectorPipe, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2472
|
+
ToInjectorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: ToInjectorPipe, name: "toInjector" });
|
|
2473
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ToInjectorPipe, decorators: [{
|
|
2468
2474
|
type: Pipe,
|
|
2469
2475
|
args: [{
|
|
2470
2476
|
name: 'toInjector',
|
|
@@ -2774,9 +2780,9 @@ class AuthService {
|
|
|
2774
2780
|
return this.strategy.login(params);
|
|
2775
2781
|
}
|
|
2776
2782
|
}
|
|
2777
|
-
AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2778
|
-
AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2779
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2783
|
+
AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AuthService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2784
|
+
AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AuthService, providedIn: 'root' });
|
|
2785
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AuthService, decorators: [{
|
|
2780
2786
|
type: Injectable,
|
|
2781
2787
|
args: [{
|
|
2782
2788
|
providedIn: 'root',
|
|
@@ -2829,9 +2835,9 @@ class AbpTenantService {
|
|
|
2829
2835
|
}, { apiName: this.apiName });
|
|
2830
2836
|
}
|
|
2831
2837
|
}
|
|
2832
|
-
AbpTenantService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2833
|
-
AbpTenantService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2834
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2838
|
+
AbpTenantService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbpTenantService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2839
|
+
AbpTenantService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbpTenantService, providedIn: 'root' });
|
|
2840
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbpTenantService, decorators: [{
|
|
2835
2841
|
type: Injectable,
|
|
2836
2842
|
args: [{
|
|
2837
2843
|
providedIn: 'root',
|
|
@@ -2864,9 +2870,9 @@ class MultiTenancyService {
|
|
|
2864
2870
|
.pipe(switchMap(this.setTenantToState));
|
|
2865
2871
|
}
|
|
2866
2872
|
}
|
|
2867
|
-
MultiTenancyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2868
|
-
MultiTenancyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2869
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2873
|
+
MultiTenancyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: MultiTenancyService, deps: [{ token: RestService }, { token: SessionStateService }, { token: AbpTenantService }, { token: ConfigStateService }, { token: TENANT_KEY }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2874
|
+
MultiTenancyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: MultiTenancyService, providedIn: 'root' });
|
|
2875
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: MultiTenancyService, decorators: [{
|
|
2870
2876
|
type: Injectable,
|
|
2871
2877
|
args: [{ providedIn: 'root' }]
|
|
2872
2878
|
}], ctorParameters: function () {
|
|
@@ -3024,9 +3030,9 @@ class ContentProjectionService {
|
|
|
3024
3030
|
return projectionStrategy.injectContent(injector);
|
|
3025
3031
|
}
|
|
3026
3032
|
}
|
|
3027
|
-
ContentProjectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3028
|
-
ContentProjectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3029
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3033
|
+
ContentProjectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ContentProjectionService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3034
|
+
ContentProjectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ContentProjectionService, providedIn: 'root' });
|
|
3035
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ContentProjectionService, decorators: [{
|
|
3030
3036
|
type: Injectable,
|
|
3031
3037
|
args: [{ providedIn: 'root' }]
|
|
3032
3038
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
@@ -3228,9 +3234,9 @@ class DomInsertionService {
|
|
|
3228
3234
|
return this.inserted.has(hash);
|
|
3229
3235
|
}
|
|
3230
3236
|
}
|
|
3231
|
-
DomInsertionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3232
|
-
DomInsertionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3233
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3237
|
+
DomInsertionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: DomInsertionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3238
|
+
DomInsertionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: DomInsertionService, providedIn: 'root' });
|
|
3239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: DomInsertionService, decorators: [{
|
|
3234
3240
|
type: Injectable,
|
|
3235
3241
|
args: [{ providedIn: 'root' }]
|
|
3236
3242
|
}] });
|
|
@@ -3262,9 +3268,9 @@ class ResourceWaitService {
|
|
|
3262
3268
|
this.store.patch({ resources });
|
|
3263
3269
|
}
|
|
3264
3270
|
}
|
|
3265
|
-
ResourceWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3266
|
-
ResourceWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3267
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3271
|
+
ResourceWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ResourceWaitService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3272
|
+
ResourceWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ResourceWaitService, providedIn: 'root' });
|
|
3273
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ResourceWaitService, decorators: [{
|
|
3268
3274
|
type: Injectable,
|
|
3269
3275
|
args: [{
|
|
3270
3276
|
providedIn: 'root',
|
|
@@ -3294,9 +3300,9 @@ class LazyLoadService {
|
|
|
3294
3300
|
return true;
|
|
3295
3301
|
}
|
|
3296
3302
|
}
|
|
3297
|
-
LazyLoadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3298
|
-
LazyLoadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3303
|
+
LazyLoadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LazyLoadService, deps: [{ token: ResourceWaitService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3304
|
+
LazyLoadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LazyLoadService, providedIn: 'root' });
|
|
3305
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LazyLoadService, decorators: [{
|
|
3300
3306
|
type: Injectable,
|
|
3301
3307
|
args: [{
|
|
3302
3308
|
providedIn: 'root',
|
|
@@ -3396,9 +3402,9 @@ class ListService {
|
|
|
3396
3402
|
});
|
|
3397
3403
|
}
|
|
3398
3404
|
}
|
|
3399
|
-
ListService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3400
|
-
ListService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3401
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3405
|
+
ListService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ListService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3406
|
+
ListService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ListService });
|
|
3407
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ListService, decorators: [{
|
|
3402
3408
|
type: Injectable
|
|
3403
3409
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
3404
3410
|
|
|
@@ -3435,9 +3441,9 @@ class RouterWaitService {
|
|
|
3435
3441
|
this.store.patch({ loading });
|
|
3436
3442
|
}
|
|
3437
3443
|
}
|
|
3438
|
-
RouterWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3439
|
-
RouterWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3440
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3444
|
+
RouterWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RouterWaitService, deps: [{ token: RouterEvents }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3445
|
+
RouterWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RouterWaitService, providedIn: 'root' });
|
|
3446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RouterWaitService, decorators: [{
|
|
3441
3447
|
type: Injectable,
|
|
3442
3448
|
args: [{
|
|
3443
3449
|
providedIn: 'root',
|
|
@@ -3454,15 +3460,28 @@ class TrackByService {
|
|
|
3454
3460
|
this.byDeep = trackByDeep;
|
|
3455
3461
|
}
|
|
3456
3462
|
}
|
|
3457
|
-
TrackByService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3458
|
-
TrackByService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3459
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3463
|
+
TrackByService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TrackByService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3464
|
+
TrackByService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TrackByService, providedIn: 'root' });
|
|
3465
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TrackByService, decorators: [{
|
|
3460
3466
|
type: Injectable,
|
|
3461
3467
|
args: [{
|
|
3462
3468
|
providedIn: 'root',
|
|
3463
3469
|
}]
|
|
3464
3470
|
}] });
|
|
3465
3471
|
|
|
3472
|
+
class TimeoutLimitedOAuthService extends OAuthService {
|
|
3473
|
+
calcTimeout(storedAt, expiration) {
|
|
3474
|
+
const result = super.calcTimeout(storedAt, expiration);
|
|
3475
|
+
const MAX_TIMEOUT_DURATION = 2147483647;
|
|
3476
|
+
return result < MAX_TIMEOUT_DURATION ? result : MAX_TIMEOUT_DURATION - 1;
|
|
3477
|
+
}
|
|
3478
|
+
}
|
|
3479
|
+
TimeoutLimitedOAuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TimeoutLimitedOAuthService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
3480
|
+
TimeoutLimitedOAuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TimeoutLimitedOAuthService });
|
|
3481
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TimeoutLimitedOAuthService, decorators: [{
|
|
3482
|
+
type: Injectable
|
|
3483
|
+
}] });
|
|
3484
|
+
|
|
3466
3485
|
class ShortDateTimePipe extends DatePipe {
|
|
3467
3486
|
constructor(configStateService, locale, defaultTimezone) {
|
|
3468
3487
|
super(locale, defaultTimezone);
|
|
@@ -3473,9 +3492,9 @@ class ShortDateTimePipe extends DatePipe {
|
|
|
3473
3492
|
return super.transform(value, format, timezone, locale);
|
|
3474
3493
|
}
|
|
3475
3494
|
}
|
|
3476
|
-
ShortDateTimePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3477
|
-
ShortDateTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "
|
|
3478
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3495
|
+
ShortDateTimePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ShortDateTimePipe, deps: [{ token: ConfigStateService }, { token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3496
|
+
ShortDateTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: ShortDateTimePipe, name: "shortDateTime" });
|
|
3497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ShortDateTimePipe, decorators: [{
|
|
3479
3498
|
type: Pipe,
|
|
3480
3499
|
args: [{
|
|
3481
3500
|
name: 'shortDateTime',
|
|
@@ -3503,9 +3522,9 @@ class ShortTimePipe extends DatePipe {
|
|
|
3503
3522
|
return super.transform(value, format, timezone, locale);
|
|
3504
3523
|
}
|
|
3505
3524
|
}
|
|
3506
|
-
ShortTimePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3507
|
-
ShortTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "
|
|
3508
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3525
|
+
ShortTimePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ShortTimePipe, deps: [{ token: ConfigStateService }, { token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3526
|
+
ShortTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: ShortTimePipe, name: "shortTime" });
|
|
3527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ShortTimePipe, decorators: [{
|
|
3509
3528
|
type: Pipe,
|
|
3510
3529
|
args: [{
|
|
3511
3530
|
name: 'shortTime',
|
|
@@ -3533,9 +3552,9 @@ class ShortDatePipe extends DatePipe {
|
|
|
3533
3552
|
return super.transform(value, format, timezone, locale);
|
|
3534
3553
|
}
|
|
3535
3554
|
}
|
|
3536
|
-
ShortDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3537
|
-
ShortDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "
|
|
3538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3555
|
+
ShortDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ShortDatePipe, deps: [{ token: ConfigStateService }, { token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
3556
|
+
ShortDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: ShortDatePipe, name: "shortDate" });
|
|
3557
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ShortDatePipe, decorators: [{
|
|
3539
3558
|
type: Pipe,
|
|
3540
3559
|
args: [{
|
|
3541
3560
|
name: 'shortDate',
|
|
@@ -3564,8 +3583,8 @@ function storageFactory() {
|
|
|
3564
3583
|
*/
|
|
3565
3584
|
class BaseCoreModule {
|
|
3566
3585
|
}
|
|
3567
|
-
BaseCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3568
|
-
BaseCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
3586
|
+
BaseCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: BaseCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3587
|
+
BaseCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: BaseCoreModule, declarations: [AbstractNgModelComponent,
|
|
3569
3588
|
AutofocusDirective,
|
|
3570
3589
|
DynamicLayoutComponent,
|
|
3571
3590
|
ForDirective,
|
|
@@ -3610,21 +3629,19 @@ BaseCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
3610
3629
|
ShortDateTimePipe,
|
|
3611
3630
|
ShortTimePipe,
|
|
3612
3631
|
ShortDatePipe] });
|
|
3613
|
-
BaseCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
LocalizationModule,
|
|
3621
|
-
], CommonModule,
|
|
3632
|
+
BaseCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: BaseCoreModule, providers: [LocalizationPipe], imports: [OAuthModule,
|
|
3633
|
+
CommonModule,
|
|
3634
|
+
HttpClientModule,
|
|
3635
|
+
FormsModule,
|
|
3636
|
+
ReactiveFormsModule,
|
|
3637
|
+
RouterModule,
|
|
3638
|
+
LocalizationModule, CommonModule,
|
|
3622
3639
|
HttpClientModule,
|
|
3623
3640
|
FormsModule,
|
|
3624
3641
|
ReactiveFormsModule,
|
|
3625
3642
|
RouterModule,
|
|
3626
3643
|
LocalizationModule] });
|
|
3627
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3644
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: BaseCoreModule, decorators: [{
|
|
3628
3645
|
type: NgModule,
|
|
3629
3646
|
args: [{
|
|
3630
3647
|
exports: [
|
|
@@ -3689,19 +3706,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImpor
|
|
|
3689
3706
|
*/
|
|
3690
3707
|
class RootCoreModule {
|
|
3691
3708
|
}
|
|
3692
|
-
RootCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3693
|
-
RootCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
3709
|
+
RootCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RootCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3710
|
+
RootCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: RootCoreModule, imports: [BaseCoreModule, LocalizationModule,
|
|
3694
3711
|
OAuthModule, i1.HttpClientXsrfModule], exports: [BaseCoreModule, LocalizationModule] });
|
|
3695
|
-
RootCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
], BaseCoreModule, LocalizationModule] });
|
|
3704
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RootCoreModule, decorators: [{
|
|
3712
|
+
RootCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RootCoreModule, imports: [BaseCoreModule,
|
|
3713
|
+
LocalizationModule,
|
|
3714
|
+
OAuthModule,
|
|
3715
|
+
HttpClientXsrfModule.withOptions({
|
|
3716
|
+
cookieName: 'XSRF-TOKEN',
|
|
3717
|
+
headerName: 'RequestVerificationToken',
|
|
3718
|
+
}), BaseCoreModule, LocalizationModule] });
|
|
3719
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RootCoreModule, decorators: [{
|
|
3705
3720
|
type: NgModule,
|
|
3706
3721
|
args: [{
|
|
3707
3722
|
exports: [BaseCoreModule, LocalizationModule],
|
|
@@ -3772,6 +3787,7 @@ class CoreModule {
|
|
|
3772
3787
|
useFactory: noop,
|
|
3773
3788
|
},
|
|
3774
3789
|
{ provide: OAuthStorage, useFactory: storageFactory },
|
|
3790
|
+
{ provide: OAuthService, useClass: TimeoutLimitedOAuthService },
|
|
3775
3791
|
{ provide: TENANT_KEY, useValue: options.tenantKey || '__tenant' },
|
|
3776
3792
|
{
|
|
3777
3793
|
provide: LOCALIZATIONS,
|
|
@@ -3796,10 +3812,10 @@ class CoreModule {
|
|
|
3796
3812
|
};
|
|
3797
3813
|
}
|
|
3798
3814
|
}
|
|
3799
|
-
CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3800
|
-
CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
3801
|
-
CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3802
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3815
|
+
CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3816
|
+
CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: CoreModule, imports: [BaseCoreModule], exports: [BaseCoreModule] });
|
|
3817
|
+
CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: CoreModule, imports: [BaseCoreModule, BaseCoreModule] });
|
|
3818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: CoreModule, decorators: [{
|
|
3803
3819
|
type: NgModule,
|
|
3804
3820
|
args: [{
|
|
3805
3821
|
exports: [BaseCoreModule],
|
|
@@ -3821,9 +3837,9 @@ class AuthGuard {
|
|
|
3821
3837
|
return false;
|
|
3822
3838
|
}
|
|
3823
3839
|
}
|
|
3824
|
-
AuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3825
|
-
AuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3826
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3840
|
+
AuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AuthGuard, deps: [{ token: i1$3.OAuthService }, { token: AuthService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3841
|
+
AuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AuthGuard, providedIn: 'root' });
|
|
3842
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AuthGuard, decorators: [{
|
|
3827
3843
|
type: Injectable,
|
|
3828
3844
|
args: [{
|
|
3829
3845
|
providedIn: 'root',
|
|
@@ -3852,9 +3868,9 @@ class PermissionGuard {
|
|
|
3852
3868
|
}));
|
|
3853
3869
|
}
|
|
3854
3870
|
}
|
|
3855
|
-
PermissionGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3856
|
-
PermissionGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3857
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3871
|
+
PermissionGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: PermissionGuard, deps: [{ token: i1$1.Router }, { token: RoutesService }, { token: PermissionService }, { token: HttpErrorReporterService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3872
|
+
PermissionGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: PermissionGuard, providedIn: 'root' });
|
|
3873
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: PermissionGuard, decorators: [{
|
|
3858
3874
|
type: Injectable,
|
|
3859
3875
|
args: [{
|
|
3860
3876
|
providedIn: 'root',
|
|
@@ -3991,9 +4007,9 @@ class AbpApiDefinitionService {
|
|
|
3991
4007
|
}, { apiName: this.apiName });
|
|
3992
4008
|
}
|
|
3993
4009
|
}
|
|
3994
|
-
AbpApiDefinitionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3995
|
-
AbpApiDefinitionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3996
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4010
|
+
AbpApiDefinitionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbpApiDefinitionService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4011
|
+
AbpApiDefinitionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbpApiDefinitionService, providedIn: 'root' });
|
|
4012
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbpApiDefinitionService, decorators: [{
|
|
3997
4013
|
type: Injectable,
|
|
3998
4014
|
args: [{
|
|
3999
4015
|
providedIn: 'root',
|
|
@@ -4343,9 +4359,11 @@ function getMinError(value, min, max) {
|
|
|
4343
4359
|
}
|
|
4344
4360
|
|
|
4345
4361
|
function validateRequired({ allowEmptyStrings } = {}) {
|
|
4346
|
-
|
|
4362
|
+
// note: please do not remove name of the function, it is used in function compare with type 'RequiredError'
|
|
4363
|
+
const required = (control) => {
|
|
4347
4364
|
return isValidRequired(control.value, allowEmptyStrings) ? null : { required: true };
|
|
4348
4365
|
};
|
|
4366
|
+
return required;
|
|
4349
4367
|
}
|
|
4350
4368
|
function isValidRequired(value, allowEmptyStrings) {
|
|
4351
4369
|
if (value || value === 0 || value === false)
|
|
@@ -4372,7 +4390,7 @@ function getMinLengthError(value, requiredLength) {
|
|
|
4372
4390
|
|
|
4373
4391
|
function validateUrl() {
|
|
4374
4392
|
return (control) => {
|
|
4375
|
-
if (
|
|
4393
|
+
if (isNullOrEmpty(control.value))
|
|
4376
4394
|
return null;
|
|
4377
4395
|
return isValidUrl(control.value) ? null : { url: true };
|
|
4378
4396
|
};
|
|
@@ -4386,6 +4404,19 @@ function isValidUrl(value) {
|
|
|
4386
4404
|
return false;
|
|
4387
4405
|
}
|
|
4388
4406
|
|
|
4407
|
+
const onlyLetterAndNumberRegex = /^[a-zA-Z0-9]+$/;
|
|
4408
|
+
function validateUsername({ pattern } = { pattern: onlyLetterAndNumberRegex }) {
|
|
4409
|
+
return (control) => {
|
|
4410
|
+
const isValid = isValidUserName(control.value, pattern);
|
|
4411
|
+
return isValid ? null : { usernamePattern: { actualValue: control.value } };
|
|
4412
|
+
};
|
|
4413
|
+
}
|
|
4414
|
+
function isValidUserName(value, pattern) {
|
|
4415
|
+
if (isNullOrEmpty(value))
|
|
4416
|
+
return true;
|
|
4417
|
+
return pattern.test(value);
|
|
4418
|
+
}
|
|
4419
|
+
|
|
4389
4420
|
const AbpValidators = {
|
|
4390
4421
|
creditCard: validateCreditCard,
|
|
4391
4422
|
emailAddress: () => Validators.email,
|
|
@@ -4394,6 +4425,7 @@ const AbpValidators = {
|
|
|
4394
4425
|
required: validateRequired,
|
|
4395
4426
|
stringLength: validateStringLength,
|
|
4396
4427
|
url: validateUrl,
|
|
4428
|
+
username: validateUsername,
|
|
4397
4429
|
};
|
|
4398
4430
|
|
|
4399
4431
|
// export * from './lib/handlers';
|
|
@@ -4402,5 +4434,5 @@ const AbpValidators = {
|
|
|
4402
4434
|
* Generated bundle index. Do not edit.
|
|
4403
4435
|
*/
|
|
4404
4436
|
|
|
4405
|
-
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, noop, parseTenantFromUrl, pipeToLogin, pushValueTo, reloadRoute, removeRememberMe, setRememberMe, setTokenResponseToStorage, storageFactory, trackBy, trackByDeep, uuid, validateCreditCard, validateMinAge, validateRange, validateRequired, validateStringLength, validateUrl };
|
|
4437
|
+
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, TimeoutLimitedOAuthService, ToInjectorPipe, TrackByService, WebHttpUrlEncodingCodec, checkAccessToken, coreOptionsFactory, createLocalizationPipeKeyGenerator, createLocalizer, createLocalizerWithFallback, createMapFromList, createTokenParser, createTreeFromList, createTreeNodeFilterCreator, deepMerge, differentLocales, downloadBlob, escapeHtmlChars, exists, featuresFactory, findRoute, fromLazyLoad, generateHash, generatePassword, getInitialData, getLocaleDirection, getPathName, getRemoteEnv, getRoutePath, getShortDateFormat, getShortDateShortTimeFormat, getShortTimeFormat, interpolate, isArray, isNode, isNullOrEmpty, isNullOrUndefined, isNumber, isObject, isObjectAndNotArray, isObjectAndNotArrayNotNode, isUndefinedOrEmptyString, localeInitializer, localizationContributor, localizations$, mapEnumToOptions, noop, parseTenantFromUrl, pipeToLogin, pushValueTo, reloadRoute, removeRememberMe, setRememberMe, setTokenResponseToStorage, storageFactory, trackBy, trackByDeep, uuid, validateCreditCard, validateMinAge, validateRange, validateRequired, validateStringLength, validateUrl };
|
|
4406
4438
|
//# sourceMappingURL=abp-ng.core.mjs.map
|