@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/fesm2020/abp-ng.core.mjs
CHANGED
|
@@ -55,9 +55,9 @@ class AbstractNgModelComponent {
|
|
|
55
55
|
this.disabled = isDisabled;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
AbstractNgModelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
59
|
-
AbstractNgModelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
58
|
+
AbstractNgModelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbstractNgModelComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
59
|
+
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 });
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbstractNgModelComponent, decorators: [{
|
|
61
61
|
type: Component,
|
|
62
62
|
args: [{ template: '' }]
|
|
63
63
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; }, propDecorators: { disabled: [{
|
|
@@ -176,6 +176,9 @@ function isUndefinedOrEmptyString(value) {
|
|
|
176
176
|
function isNullOrUndefined(obj) {
|
|
177
177
|
return obj === null || obj === undefined;
|
|
178
178
|
}
|
|
179
|
+
function isNullOrEmpty(obj) {
|
|
180
|
+
return obj === null || obj === undefined || obj === '';
|
|
181
|
+
}
|
|
179
182
|
function exists(obj) {
|
|
180
183
|
return !isNullOrUndefined(obj);
|
|
181
184
|
}
|
|
@@ -300,9 +303,9 @@ class EnvironmentService {
|
|
|
300
303
|
return this.store.sliceState(state => state.oAuthConfig.issuer).pipe(map(mapToIssuer));
|
|
301
304
|
}
|
|
302
305
|
}
|
|
303
|
-
EnvironmentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
304
|
-
EnvironmentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
305
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
306
|
+
EnvironmentService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: EnvironmentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
307
|
+
EnvironmentService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: EnvironmentService, providedIn: 'root' });
|
|
308
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: EnvironmentService, decorators: [{
|
|
306
309
|
type: Injectable,
|
|
307
310
|
args: [{ providedIn: 'root' }]
|
|
308
311
|
}] });
|
|
@@ -326,9 +329,9 @@ class HttpErrorReporterService {
|
|
|
326
329
|
return this._errors$.value;
|
|
327
330
|
}
|
|
328
331
|
}
|
|
329
|
-
HttpErrorReporterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
330
|
-
HttpErrorReporterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
331
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
332
|
+
HttpErrorReporterService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: HttpErrorReporterService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
333
|
+
HttpErrorReporterService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: HttpErrorReporterService, providedIn: 'root' });
|
|
334
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: HttpErrorReporterService, decorators: [{
|
|
332
335
|
type: Injectable,
|
|
333
336
|
args: [{ providedIn: 'root' }]
|
|
334
337
|
}] });
|
|
@@ -351,7 +354,7 @@ class RestService {
|
|
|
351
354
|
config = config || {};
|
|
352
355
|
api = api || this.getApiFromStore(config.apiName);
|
|
353
356
|
const { method, params, ...options } = request;
|
|
354
|
-
const { observe = "body" /* Body */, skipHandleError } = config;
|
|
357
|
+
const { observe = "body" /* Rest.Observe.Body */, skipHandleError } = config;
|
|
355
358
|
const url = this.removeDuplicateSlashes(api + request.url);
|
|
356
359
|
return this.http
|
|
357
360
|
.request(method, url, {
|
|
@@ -381,9 +384,9 @@ class RestService {
|
|
|
381
384
|
return url.replace(/([^:]\/)\/+/g, '$1');
|
|
382
385
|
}
|
|
383
386
|
}
|
|
384
|
-
RestService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
385
|
-
RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
386
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
387
|
+
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 });
|
|
388
|
+
RestService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RestService, providedIn: 'root' });
|
|
389
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RestService, decorators: [{
|
|
387
390
|
type: Injectable,
|
|
388
391
|
args: [{
|
|
389
392
|
providedIn: 'root',
|
|
@@ -403,9 +406,9 @@ class AbpApplicationConfigurationService {
|
|
|
403
406
|
}, { apiName: this.apiName });
|
|
404
407
|
}
|
|
405
408
|
}
|
|
406
|
-
AbpApplicationConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
407
|
-
AbpApplicationConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
408
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
409
|
+
AbpApplicationConfigurationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbpApplicationConfigurationService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
410
|
+
AbpApplicationConfigurationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbpApplicationConfigurationService, providedIn: 'root' });
|
|
411
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbpApplicationConfigurationService, decorators: [{
|
|
409
412
|
type: Injectable,
|
|
410
413
|
args: [{
|
|
411
414
|
providedIn: 'root',
|
|
@@ -530,9 +533,9 @@ class ConfigStateService {
|
|
|
530
533
|
return this.store.sliceState(state => this.isGlobalFeatureEnabled(key, state.globalFeatures));
|
|
531
534
|
}
|
|
532
535
|
}
|
|
533
|
-
ConfigStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
534
|
-
ConfigStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
535
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
536
|
+
ConfigStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ConfigStateService, deps: [{ token: AbpApplicationConfigurationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
537
|
+
ConfigStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ConfigStateService, providedIn: 'root' });
|
|
538
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ConfigStateService, decorators: [{
|
|
536
539
|
type: Injectable,
|
|
537
540
|
args: [{
|
|
538
541
|
providedIn: 'root',
|
|
@@ -608,9 +611,9 @@ class SessionStateService {
|
|
|
608
611
|
document.documentElement.setAttribute('lang', language);
|
|
609
612
|
}
|
|
610
613
|
}
|
|
611
|
-
SessionStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
612
|
-
SessionStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
613
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
614
|
+
SessionStateService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: SessionStateService, deps: [{ token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
615
|
+
SessionStateService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: SessionStateService, providedIn: 'root' });
|
|
616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: SessionStateService, decorators: [{
|
|
614
617
|
type: Injectable,
|
|
615
618
|
args: [{
|
|
616
619
|
providedIn: 'root',
|
|
@@ -781,9 +784,9 @@ class LocalizationService {
|
|
|
781
784
|
return localization || defaultValue || key;
|
|
782
785
|
}
|
|
783
786
|
}
|
|
784
|
-
LocalizationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
785
|
-
LocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
786
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
787
|
+
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 });
|
|
788
|
+
LocalizationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LocalizationService, providedIn: 'root' });
|
|
789
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LocalizationService, decorators: [{
|
|
787
790
|
type: Injectable,
|
|
788
791
|
args: [{ providedIn: 'root' }]
|
|
789
792
|
}], ctorParameters: function () { return [{ type: SessionStateService }, { type: i0.Injector }, { type: LocalizationService, decorators: [{
|
|
@@ -851,9 +854,9 @@ class ReplaceableComponentsService {
|
|
|
851
854
|
return this.replaceableComponents$.pipe(map(components => components.find(component => component.key === replaceableComponentKey)));
|
|
852
855
|
}
|
|
853
856
|
}
|
|
854
|
-
ReplaceableComponentsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
855
|
-
ReplaceableComponentsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
856
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
857
|
+
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 });
|
|
858
|
+
ReplaceableComponentsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ReplaceableComponentsService, providedIn: 'root' });
|
|
859
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ReplaceableComponentsService, decorators: [{
|
|
857
860
|
type: Injectable,
|
|
858
861
|
args: [{ providedIn: 'root' }]
|
|
859
862
|
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1$1.Router }]; } });
|
|
@@ -884,9 +887,9 @@ class RouterEvents {
|
|
|
884
887
|
return this.getNavigationEvents(...keys);
|
|
885
888
|
}
|
|
886
889
|
}
|
|
887
|
-
RouterEvents.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
888
|
-
RouterEvents.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
889
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
890
|
+
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 });
|
|
891
|
+
RouterEvents.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RouterEvents, providedIn: 'root' });
|
|
892
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RouterEvents, decorators: [{
|
|
890
893
|
type: Injectable,
|
|
891
894
|
args: [{ providedIn: 'root' }]
|
|
892
895
|
}], ctorParameters: function () { return [{ type: i1$1.Router }]; } });
|
|
@@ -1003,9 +1006,9 @@ class PermissionService {
|
|
|
1003
1006
|
return grantedPolicies[key] || false;
|
|
1004
1007
|
}
|
|
1005
1008
|
}
|
|
1006
|
-
PermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1007
|
-
PermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1008
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1009
|
+
PermissionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: PermissionService, deps: [{ token: ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1010
|
+
PermissionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: PermissionService, providedIn: 'root' });
|
|
1011
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: PermissionService, decorators: [{
|
|
1009
1012
|
type: Injectable,
|
|
1010
1013
|
args: [{ providedIn: 'root' }]
|
|
1011
1014
|
}], ctorParameters: function () { return [{ type: ConfigStateService }]; } });
|
|
@@ -1134,16 +1137,16 @@ class AbstractNavTreeService extends AbstractTreeService {
|
|
|
1134
1137
|
this.subscription.unsubscribe();
|
|
1135
1138
|
}
|
|
1136
1139
|
}
|
|
1137
|
-
AbstractNavTreeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1138
|
-
AbstractNavTreeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1140
|
+
AbstractNavTreeService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbstractNavTreeService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1141
|
+
AbstractNavTreeService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbstractNavTreeService });
|
|
1142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbstractNavTreeService, decorators: [{
|
|
1140
1143
|
type: Injectable
|
|
1141
1144
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
1142
1145
|
class RoutesService extends AbstractNavTreeService {
|
|
1143
1146
|
}
|
|
1144
|
-
RoutesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1145
|
-
RoutesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1146
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1147
|
+
RoutesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RoutesService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
1148
|
+
RoutesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RoutesService, providedIn: 'root' });
|
|
1149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RoutesService, decorators: [{
|
|
1147
1150
|
type: Injectable,
|
|
1148
1151
|
args: [{ providedIn: 'root' }]
|
|
1149
1152
|
}] });
|
|
@@ -1180,9 +1183,9 @@ class SubscriptionService {
|
|
|
1180
1183
|
this.subscription = new Subscription();
|
|
1181
1184
|
}
|
|
1182
1185
|
}
|
|
1183
|
-
SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1184
|
-
SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1186
|
+
SubscriptionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: SubscriptionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1187
|
+
SubscriptionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: SubscriptionService });
|
|
1188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: SubscriptionService, decorators: [{
|
|
1186
1189
|
type: Injectable
|
|
1187
1190
|
}] });
|
|
1188
1191
|
|
|
@@ -1228,7 +1231,7 @@ class DynamicLayoutComponent {
|
|
|
1228
1231
|
}
|
|
1229
1232
|
}
|
|
1230
1233
|
if (!expectedLayout)
|
|
1231
|
-
expectedLayout = "empty" /* empty */;
|
|
1234
|
+
expectedLayout = "empty" /* eLayoutType.empty */;
|
|
1232
1235
|
if (this.layoutKey === expectedLayout)
|
|
1233
1236
|
return;
|
|
1234
1237
|
const key = this.layouts.get(expectedLayout);
|
|
@@ -1245,9 +1248,9 @@ class DynamicLayoutComponent {
|
|
|
1245
1248
|
return this.replaceableComponents.get(key);
|
|
1246
1249
|
}
|
|
1247
1250
|
}
|
|
1248
|
-
DynamicLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1249
|
-
DynamicLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1250
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1251
|
+
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 });
|
|
1252
|
+
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"] }] });
|
|
1253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: DynamicLayoutComponent, decorators: [{
|
|
1251
1254
|
type: Component,
|
|
1252
1255
|
args: [{
|
|
1253
1256
|
selector: 'abp-dynamic-layout',
|
|
@@ -1277,11 +1280,11 @@ class ReplaceableRouteContainerComponent {
|
|
|
1277
1280
|
});
|
|
1278
1281
|
}
|
|
1279
1282
|
}
|
|
1280
|
-
ReplaceableRouteContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1281
|
-
ReplaceableRouteContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1283
|
+
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 });
|
|
1284
|
+
ReplaceableRouteContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: ReplaceableRouteContainerComponent, selector: "abp-replaceable-route-container", providers: [SubscriptionService], ngImport: i0, template: `
|
|
1282
1285
|
<ng-container *ngComponentOutlet="externalComponent || defaultComponent"></ng-container>
|
|
1283
|
-
`, isInline: true,
|
|
1284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1286
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i5.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }] });
|
|
1287
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ReplaceableRouteContainerComponent, decorators: [{
|
|
1285
1288
|
type: Component,
|
|
1286
1289
|
args: [{
|
|
1287
1290
|
selector: 'abp-replaceable-route-container',
|
|
@@ -1294,9 +1297,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImpor
|
|
|
1294
1297
|
|
|
1295
1298
|
class RouterOutletComponent {
|
|
1296
1299
|
}
|
|
1297
|
-
RouterOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1298
|
-
RouterOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1299
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1300
|
+
RouterOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RouterOutletComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1301
|
+
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"] }] });
|
|
1302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RouterOutletComponent, decorators: [{
|
|
1300
1303
|
type: Component,
|
|
1301
1304
|
args: [{
|
|
1302
1305
|
selector: 'abp-router-outlet',
|
|
@@ -1656,9 +1659,9 @@ class AutofocusDirective {
|
|
|
1656
1659
|
setTimeout(() => this.elRef.nativeElement.focus(), this.delay);
|
|
1657
1660
|
}
|
|
1658
1661
|
}
|
|
1659
|
-
AutofocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1660
|
-
AutofocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1661
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1662
|
+
AutofocusDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AutofocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1663
|
+
AutofocusDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.1", type: AutofocusDirective, selector: "[autofocus]", inputs: { delay: ["autofocus", "delay"] }, ngImport: i0 });
|
|
1664
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AutofocusDirective, decorators: [{
|
|
1662
1665
|
type: Directive,
|
|
1663
1666
|
args: [{
|
|
1664
1667
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -1683,9 +1686,9 @@ class InputEventDebounceDirective {
|
|
|
1683
1686
|
});
|
|
1684
1687
|
}
|
|
1685
1688
|
}
|
|
1686
|
-
InputEventDebounceDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1687
|
-
InputEventDebounceDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1688
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1689
|
+
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 });
|
|
1690
|
+
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 });
|
|
1691
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: InputEventDebounceDirective, decorators: [{
|
|
1689
1692
|
type: Directive,
|
|
1690
1693
|
args: [{
|
|
1691
1694
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -1813,9 +1816,9 @@ class ForDirective {
|
|
|
1813
1816
|
}
|
|
1814
1817
|
}
|
|
1815
1818
|
}
|
|
1816
|
-
ForDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1817
|
-
ForDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1818
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1819
|
+
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 });
|
|
1820
|
+
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 });
|
|
1821
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ForDirective, decorators: [{
|
|
1819
1822
|
type: Directive,
|
|
1820
1823
|
args: [{
|
|
1821
1824
|
selector: '[abpFor]',
|
|
@@ -1846,6 +1849,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImpor
|
|
|
1846
1849
|
args: ['abpForEmptyRef']
|
|
1847
1850
|
}] } });
|
|
1848
1851
|
|
|
1852
|
+
/**
|
|
1853
|
+
* @deprecated FormSubmitDirective will be removed in V7.0.0. Use `ngSubmit` instead.
|
|
1854
|
+
*/
|
|
1849
1855
|
class FormSubmitDirective {
|
|
1850
1856
|
constructor(formGroupDirective, host, cdRef, subscription) {
|
|
1851
1857
|
this.formGroupDirective = formGroupDirective;
|
|
@@ -1879,9 +1885,9 @@ class FormSubmitDirective {
|
|
|
1879
1885
|
this.cdRef.detectChanges();
|
|
1880
1886
|
}
|
|
1881
1887
|
}
|
|
1882
|
-
FormSubmitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1883
|
-
FormSubmitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1884
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1888
|
+
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 });
|
|
1889
|
+
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 });
|
|
1890
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormSubmitDirective, decorators: [{
|
|
1885
1891
|
type: Directive,
|
|
1886
1892
|
args: [{
|
|
1887
1893
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -1921,9 +1927,9 @@ class InitDirective {
|
|
|
1921
1927
|
this.init.emit(this.elRef);
|
|
1922
1928
|
}
|
|
1923
1929
|
}
|
|
1924
|
-
InitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1925
|
-
InitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1926
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1930
|
+
InitDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: InitDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1931
|
+
InitDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.1", type: InitDirective, selector: "[abpInit]", outputs: { init: "abpInit" }, ngImport: i0 });
|
|
1932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: InitDirective, decorators: [{
|
|
1927
1933
|
type: Directive,
|
|
1928
1934
|
args: [{ selector: '[abpInit]' }]
|
|
1929
1935
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { init: [{
|
|
@@ -1977,9 +1983,9 @@ class PermissionDirective {
|
|
|
1977
1983
|
this.rendered = true;
|
|
1978
1984
|
}
|
|
1979
1985
|
}
|
|
1980
|
-
PermissionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1981
|
-
PermissionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
1982
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1986
|
+
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 });
|
|
1987
|
+
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 });
|
|
1988
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: PermissionDirective, decorators: [{
|
|
1983
1989
|
type: Directive,
|
|
1984
1990
|
args: [{
|
|
1985
1991
|
selector: '[abpPermission]',
|
|
@@ -2099,9 +2105,9 @@ class ReplaceableTemplateDirective {
|
|
|
2099
2105
|
this.defaultComponentRef = null;
|
|
2100
2106
|
}
|
|
2101
2107
|
}
|
|
2102
|
-
ReplaceableTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2103
|
-
ReplaceableTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2108
|
+
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 });
|
|
2109
|
+
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 });
|
|
2110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ReplaceableTemplateDirective, decorators: [{
|
|
2105
2111
|
type: Directive,
|
|
2106
2112
|
args: [{
|
|
2107
2113
|
selector: '[abpReplaceableTemplate]',
|
|
@@ -2125,9 +2131,9 @@ class StopPropagationDirective {
|
|
|
2125
2131
|
});
|
|
2126
2132
|
}
|
|
2127
2133
|
}
|
|
2128
|
-
StopPropagationDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2129
|
-
StopPropagationDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
2130
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2134
|
+
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 });
|
|
2135
|
+
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 });
|
|
2136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: StopPropagationDirective, decorators: [{
|
|
2131
2137
|
type: Directive,
|
|
2132
2138
|
args: [{
|
|
2133
2139
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -2155,9 +2161,9 @@ class OAuthConfigurationHandler {
|
|
|
2155
2161
|
});
|
|
2156
2162
|
}
|
|
2157
2163
|
}
|
|
2158
|
-
OAuthConfigurationHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2159
|
-
OAuthConfigurationHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2160
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2164
|
+
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 });
|
|
2165
|
+
OAuthConfigurationHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: OAuthConfigurationHandler, providedIn: 'root' });
|
|
2166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: OAuthConfigurationHandler, decorators: [{
|
|
2161
2167
|
type: Injectable,
|
|
2162
2168
|
args: [{
|
|
2163
2169
|
providedIn: 'root',
|
|
@@ -2186,9 +2192,9 @@ class RoutesHandler {
|
|
|
2186
2192
|
});
|
|
2187
2193
|
}
|
|
2188
2194
|
}
|
|
2189
|
-
RoutesHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2190
|
-
RoutesHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2195
|
+
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 });
|
|
2196
|
+
RoutesHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RoutesHandler, providedIn: 'root' });
|
|
2197
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RoutesHandler, decorators: [{
|
|
2192
2198
|
type: Injectable,
|
|
2193
2199
|
args: [{
|
|
2194
2200
|
providedIn: 'root',
|
|
@@ -2287,9 +2293,9 @@ class HttpWaitService {
|
|
|
2287
2293
|
return endpoint === request.endpoint && method === request.method;
|
|
2288
2294
|
}
|
|
2289
2295
|
}
|
|
2290
|
-
HttpWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2291
|
-
HttpWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2292
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2296
|
+
HttpWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: HttpWaitService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2297
|
+
HttpWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: HttpWaitService, providedIn: 'root' });
|
|
2298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: HttpWaitService, decorators: [{
|
|
2293
2299
|
type: Injectable,
|
|
2294
2300
|
args: [{
|
|
2295
2301
|
providedIn: 'root',
|
|
@@ -2331,9 +2337,9 @@ class ApiInterceptor {
|
|
|
2331
2337
|
return headers;
|
|
2332
2338
|
}
|
|
2333
2339
|
}
|
|
2334
|
-
ApiInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2335
|
-
ApiInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2336
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2340
|
+
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 });
|
|
2341
|
+
ApiInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ApiInterceptor, providedIn: 'root' });
|
|
2342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ApiInterceptor, decorators: [{
|
|
2337
2343
|
type: Injectable,
|
|
2338
2344
|
args: [{
|
|
2339
2345
|
providedIn: 'root',
|
|
@@ -2360,10 +2366,10 @@ class LocalizationPipe {
|
|
|
2360
2366
|
return this.localization.instant(value, ...params);
|
|
2361
2367
|
}
|
|
2362
2368
|
}
|
|
2363
|
-
LocalizationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2364
|
-
LocalizationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "
|
|
2365
|
-
LocalizationPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2366
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2369
|
+
LocalizationPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LocalizationPipe, deps: [{ token: LocalizationService }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2370
|
+
LocalizationPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: LocalizationPipe, name: "abpLocalization" });
|
|
2371
|
+
LocalizationPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LocalizationPipe });
|
|
2372
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LocalizationPipe, decorators: [{
|
|
2367
2373
|
type: Injectable
|
|
2368
2374
|
}, {
|
|
2369
2375
|
type: Pipe,
|
|
@@ -2374,10 +2380,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImpor
|
|
|
2374
2380
|
|
|
2375
2381
|
class LocalizationModule {
|
|
2376
2382
|
}
|
|
2377
|
-
LocalizationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2378
|
-
LocalizationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
2379
|
-
LocalizationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2383
|
+
LocalizationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LocalizationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2384
|
+
LocalizationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: LocalizationModule, declarations: [LocalizationPipe], exports: [LocalizationPipe] });
|
|
2385
|
+
LocalizationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LocalizationModule });
|
|
2386
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LocalizationModule, decorators: [{
|
|
2381
2387
|
type: NgModule,
|
|
2382
2388
|
args: [{
|
|
2383
2389
|
exports: [LocalizationPipe],
|
|
@@ -2420,10 +2426,10 @@ class SortPipe {
|
|
|
2420
2426
|
return sortOrder === 'asc' ? sorted : sorted.reverse();
|
|
2421
2427
|
}
|
|
2422
2428
|
}
|
|
2423
|
-
SortPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2424
|
-
SortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "
|
|
2425
|
-
SortPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2429
|
+
SortPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: SortPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2430
|
+
SortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: SortPipe, name: "abpSort" });
|
|
2431
|
+
SortPipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: SortPipe });
|
|
2432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: SortPipe, decorators: [{
|
|
2427
2433
|
type: Injectable
|
|
2428
2434
|
}, {
|
|
2429
2435
|
type: Pipe,
|
|
@@ -2450,9 +2456,9 @@ class ToInjectorPipe {
|
|
|
2450
2456
|
});
|
|
2451
2457
|
}
|
|
2452
2458
|
}
|
|
2453
|
-
ToInjectorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2454
|
-
ToInjectorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "
|
|
2455
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2459
|
+
ToInjectorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ToInjectorPipe, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
2460
|
+
ToInjectorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: ToInjectorPipe, name: "toInjector" });
|
|
2461
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ToInjectorPipe, decorators: [{
|
|
2456
2462
|
type: Pipe,
|
|
2457
2463
|
args: [{
|
|
2458
2464
|
name: 'toInjector',
|
|
@@ -2749,9 +2755,9 @@ class AuthService {
|
|
|
2749
2755
|
return this.strategy.login(params);
|
|
2750
2756
|
}
|
|
2751
2757
|
}
|
|
2752
|
-
AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2753
|
-
AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2754
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2758
|
+
AuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AuthService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2759
|
+
AuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AuthService, providedIn: 'root' });
|
|
2760
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AuthService, decorators: [{
|
|
2755
2761
|
type: Injectable,
|
|
2756
2762
|
args: [{
|
|
2757
2763
|
providedIn: 'root',
|
|
@@ -2804,9 +2810,9 @@ class AbpTenantService {
|
|
|
2804
2810
|
}, { apiName: this.apiName });
|
|
2805
2811
|
}
|
|
2806
2812
|
}
|
|
2807
|
-
AbpTenantService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2808
|
-
AbpTenantService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2809
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2813
|
+
AbpTenantService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbpTenantService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2814
|
+
AbpTenantService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbpTenantService, providedIn: 'root' });
|
|
2815
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbpTenantService, decorators: [{
|
|
2810
2816
|
type: Injectable,
|
|
2811
2817
|
args: [{
|
|
2812
2818
|
providedIn: 'root',
|
|
@@ -2839,9 +2845,9 @@ class MultiTenancyService {
|
|
|
2839
2845
|
.pipe(switchMap(this.setTenantToState));
|
|
2840
2846
|
}
|
|
2841
2847
|
}
|
|
2842
|
-
MultiTenancyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2843
|
-
MultiTenancyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2844
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2848
|
+
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 });
|
|
2849
|
+
MultiTenancyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: MultiTenancyService, providedIn: 'root' });
|
|
2850
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: MultiTenancyService, decorators: [{
|
|
2845
2851
|
type: Injectable,
|
|
2846
2852
|
args: [{ providedIn: 'root' }]
|
|
2847
2853
|
}], ctorParameters: function () { return [{ type: RestService }, { type: SessionStateService }, { type: AbpTenantService }, { type: ConfigStateService }, { type: undefined, decorators: [{
|
|
@@ -2980,9 +2986,9 @@ class ContentProjectionService {
|
|
|
2980
2986
|
return projectionStrategy.injectContent(injector);
|
|
2981
2987
|
}
|
|
2982
2988
|
}
|
|
2983
|
-
ContentProjectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2984
|
-
ContentProjectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2985
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2989
|
+
ContentProjectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ContentProjectionService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2990
|
+
ContentProjectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ContentProjectionService, providedIn: 'root' });
|
|
2991
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ContentProjectionService, decorators: [{
|
|
2986
2992
|
type: Injectable,
|
|
2987
2993
|
args: [{ providedIn: 'root' }]
|
|
2988
2994
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
@@ -3197,9 +3203,9 @@ class DomInsertionService {
|
|
|
3197
3203
|
return this.inserted.has(hash);
|
|
3198
3204
|
}
|
|
3199
3205
|
}
|
|
3200
|
-
DomInsertionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3201
|
-
DomInsertionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3202
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3206
|
+
DomInsertionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: DomInsertionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3207
|
+
DomInsertionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: DomInsertionService, providedIn: 'root' });
|
|
3208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: DomInsertionService, decorators: [{
|
|
3203
3209
|
type: Injectable,
|
|
3204
3210
|
args: [{ providedIn: 'root' }]
|
|
3205
3211
|
}] });
|
|
@@ -3231,9 +3237,9 @@ class ResourceWaitService {
|
|
|
3231
3237
|
this.store.patch({ resources });
|
|
3232
3238
|
}
|
|
3233
3239
|
}
|
|
3234
|
-
ResourceWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3235
|
-
ResourceWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3236
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3240
|
+
ResourceWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ResourceWaitService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3241
|
+
ResourceWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ResourceWaitService, providedIn: 'root' });
|
|
3242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ResourceWaitService, decorators: [{
|
|
3237
3243
|
type: Injectable,
|
|
3238
3244
|
args: [{
|
|
3239
3245
|
providedIn: 'root',
|
|
@@ -3263,9 +3269,9 @@ class LazyLoadService {
|
|
|
3263
3269
|
return true;
|
|
3264
3270
|
}
|
|
3265
3271
|
}
|
|
3266
|
-
LazyLoadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3267
|
-
LazyLoadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3268
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3272
|
+
LazyLoadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LazyLoadService, deps: [{ token: ResourceWaitService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3273
|
+
LazyLoadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LazyLoadService, providedIn: 'root' });
|
|
3274
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: LazyLoadService, decorators: [{
|
|
3269
3275
|
type: Injectable,
|
|
3270
3276
|
args: [{
|
|
3271
3277
|
providedIn: 'root',
|
|
@@ -3365,9 +3371,9 @@ class ListService {
|
|
|
3365
3371
|
});
|
|
3366
3372
|
}
|
|
3367
3373
|
}
|
|
3368
|
-
ListService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3369
|
-
ListService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3370
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3374
|
+
ListService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ListService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3375
|
+
ListService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ListService });
|
|
3376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ListService, decorators: [{
|
|
3371
3377
|
type: Injectable
|
|
3372
3378
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
3373
3379
|
|
|
@@ -3404,9 +3410,9 @@ class RouterWaitService {
|
|
|
3404
3410
|
this.store.patch({ loading });
|
|
3405
3411
|
}
|
|
3406
3412
|
}
|
|
3407
|
-
RouterWaitService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3408
|
-
RouterWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3409
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3413
|
+
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 });
|
|
3414
|
+
RouterWaitService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RouterWaitService, providedIn: 'root' });
|
|
3415
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RouterWaitService, decorators: [{
|
|
3410
3416
|
type: Injectable,
|
|
3411
3417
|
args: [{
|
|
3412
3418
|
providedIn: 'root',
|
|
@@ -3423,15 +3429,28 @@ class TrackByService {
|
|
|
3423
3429
|
this.byDeep = trackByDeep;
|
|
3424
3430
|
}
|
|
3425
3431
|
}
|
|
3426
|
-
TrackByService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3427
|
-
TrackByService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3428
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3432
|
+
TrackByService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TrackByService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3433
|
+
TrackByService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TrackByService, providedIn: 'root' });
|
|
3434
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TrackByService, decorators: [{
|
|
3429
3435
|
type: Injectable,
|
|
3430
3436
|
args: [{
|
|
3431
3437
|
providedIn: 'root',
|
|
3432
3438
|
}]
|
|
3433
3439
|
}] });
|
|
3434
3440
|
|
|
3441
|
+
class TimeoutLimitedOAuthService extends OAuthService {
|
|
3442
|
+
calcTimeout(storedAt, expiration) {
|
|
3443
|
+
const result = super.calcTimeout(storedAt, expiration);
|
|
3444
|
+
const MAX_TIMEOUT_DURATION = 2147483647;
|
|
3445
|
+
return result < MAX_TIMEOUT_DURATION ? result : MAX_TIMEOUT_DURATION - 1;
|
|
3446
|
+
}
|
|
3447
|
+
}
|
|
3448
|
+
TimeoutLimitedOAuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TimeoutLimitedOAuthService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
3449
|
+
TimeoutLimitedOAuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TimeoutLimitedOAuthService });
|
|
3450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: TimeoutLimitedOAuthService, decorators: [{
|
|
3451
|
+
type: Injectable
|
|
3452
|
+
}] });
|
|
3453
|
+
|
|
3435
3454
|
class ShortDateTimePipe extends DatePipe {
|
|
3436
3455
|
constructor(configStateService, locale, defaultTimezone) {
|
|
3437
3456
|
super(locale, defaultTimezone);
|
|
@@ -3442,9 +3461,9 @@ class ShortDateTimePipe extends DatePipe {
|
|
|
3442
3461
|
return super.transform(value, format, timezone, locale);
|
|
3443
3462
|
}
|
|
3444
3463
|
}
|
|
3445
|
-
ShortDateTimePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3446
|
-
ShortDateTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "
|
|
3447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3464
|
+
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 });
|
|
3465
|
+
ShortDateTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: ShortDateTimePipe, name: "shortDateTime" });
|
|
3466
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ShortDateTimePipe, decorators: [{
|
|
3448
3467
|
type: Pipe,
|
|
3449
3468
|
args: [{
|
|
3450
3469
|
name: 'shortDateTime',
|
|
@@ -3470,9 +3489,9 @@ class ShortTimePipe extends DatePipe {
|
|
|
3470
3489
|
return super.transform(value, format, timezone, locale);
|
|
3471
3490
|
}
|
|
3472
3491
|
}
|
|
3473
|
-
ShortTimePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3474
|
-
ShortTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "
|
|
3475
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3492
|
+
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 });
|
|
3493
|
+
ShortTimePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: ShortTimePipe, name: "shortTime" });
|
|
3494
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ShortTimePipe, decorators: [{
|
|
3476
3495
|
type: Pipe,
|
|
3477
3496
|
args: [{
|
|
3478
3497
|
name: 'shortTime',
|
|
@@ -3498,9 +3517,9 @@ class ShortDatePipe extends DatePipe {
|
|
|
3498
3517
|
return super.transform(value, format, timezone, locale);
|
|
3499
3518
|
}
|
|
3500
3519
|
}
|
|
3501
|
-
ShortDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3502
|
-
ShortDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "
|
|
3503
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3520
|
+
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 });
|
|
3521
|
+
ShortDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: ShortDatePipe, name: "shortDate" });
|
|
3522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: ShortDatePipe, decorators: [{
|
|
3504
3523
|
type: Pipe,
|
|
3505
3524
|
args: [{
|
|
3506
3525
|
name: 'shortDate',
|
|
@@ -3527,8 +3546,8 @@ function storageFactory() {
|
|
|
3527
3546
|
*/
|
|
3528
3547
|
class BaseCoreModule {
|
|
3529
3548
|
}
|
|
3530
|
-
BaseCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3531
|
-
BaseCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
3549
|
+
BaseCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: BaseCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3550
|
+
BaseCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: BaseCoreModule, declarations: [AbstractNgModelComponent,
|
|
3532
3551
|
AutofocusDirective,
|
|
3533
3552
|
DynamicLayoutComponent,
|
|
3534
3553
|
ForDirective,
|
|
@@ -3573,21 +3592,19 @@ BaseCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
3573
3592
|
ShortDateTimePipe,
|
|
3574
3593
|
ShortTimePipe,
|
|
3575
3594
|
ShortDatePipe] });
|
|
3576
|
-
BaseCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
LocalizationModule,
|
|
3584
|
-
], CommonModule,
|
|
3595
|
+
BaseCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: BaseCoreModule, providers: [LocalizationPipe], imports: [OAuthModule,
|
|
3596
|
+
CommonModule,
|
|
3597
|
+
HttpClientModule,
|
|
3598
|
+
FormsModule,
|
|
3599
|
+
ReactiveFormsModule,
|
|
3600
|
+
RouterModule,
|
|
3601
|
+
LocalizationModule, CommonModule,
|
|
3585
3602
|
HttpClientModule,
|
|
3586
3603
|
FormsModule,
|
|
3587
3604
|
ReactiveFormsModule,
|
|
3588
3605
|
RouterModule,
|
|
3589
3606
|
LocalizationModule] });
|
|
3590
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3607
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: BaseCoreModule, decorators: [{
|
|
3591
3608
|
type: NgModule,
|
|
3592
3609
|
args: [{
|
|
3593
3610
|
exports: [
|
|
@@ -3652,19 +3669,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImpor
|
|
|
3652
3669
|
*/
|
|
3653
3670
|
class RootCoreModule {
|
|
3654
3671
|
}
|
|
3655
|
-
RootCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3656
|
-
RootCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
3672
|
+
RootCoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RootCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3673
|
+
RootCoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: RootCoreModule, imports: [BaseCoreModule, LocalizationModule,
|
|
3657
3674
|
OAuthModule, i1.HttpClientXsrfModule], exports: [BaseCoreModule, LocalizationModule] });
|
|
3658
|
-
RootCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
], BaseCoreModule, LocalizationModule] });
|
|
3667
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.6", ngImport: i0, type: RootCoreModule, decorators: [{
|
|
3675
|
+
RootCoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RootCoreModule, imports: [BaseCoreModule,
|
|
3676
|
+
LocalizationModule,
|
|
3677
|
+
OAuthModule,
|
|
3678
|
+
HttpClientXsrfModule.withOptions({
|
|
3679
|
+
cookieName: 'XSRF-TOKEN',
|
|
3680
|
+
headerName: 'RequestVerificationToken',
|
|
3681
|
+
}), BaseCoreModule, LocalizationModule] });
|
|
3682
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: RootCoreModule, decorators: [{
|
|
3668
3683
|
type: NgModule,
|
|
3669
3684
|
args: [{
|
|
3670
3685
|
exports: [BaseCoreModule, LocalizationModule],
|
|
@@ -3735,6 +3750,7 @@ class CoreModule {
|
|
|
3735
3750
|
useFactory: noop,
|
|
3736
3751
|
},
|
|
3737
3752
|
{ provide: OAuthStorage, useFactory: storageFactory },
|
|
3753
|
+
{ provide: OAuthService, useClass: TimeoutLimitedOAuthService },
|
|
3738
3754
|
{ provide: TENANT_KEY, useValue: options.tenantKey || '__tenant' },
|
|
3739
3755
|
{
|
|
3740
3756
|
provide: LOCALIZATIONS,
|
|
@@ -3759,10 +3775,10 @@ class CoreModule {
|
|
|
3759
3775
|
};
|
|
3760
3776
|
}
|
|
3761
3777
|
}
|
|
3762
|
-
CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3763
|
-
CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
3764
|
-
CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3765
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3778
|
+
CoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: CoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3779
|
+
CoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: CoreModule, imports: [BaseCoreModule], exports: [BaseCoreModule] });
|
|
3780
|
+
CoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: CoreModule, imports: [BaseCoreModule, BaseCoreModule] });
|
|
3781
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: CoreModule, decorators: [{
|
|
3766
3782
|
type: NgModule,
|
|
3767
3783
|
args: [{
|
|
3768
3784
|
exports: [BaseCoreModule],
|
|
@@ -3784,9 +3800,9 @@ class AuthGuard {
|
|
|
3784
3800
|
return false;
|
|
3785
3801
|
}
|
|
3786
3802
|
}
|
|
3787
|
-
AuthGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3788
|
-
AuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3789
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3803
|
+
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 });
|
|
3804
|
+
AuthGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AuthGuard, providedIn: 'root' });
|
|
3805
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AuthGuard, decorators: [{
|
|
3790
3806
|
type: Injectable,
|
|
3791
3807
|
args: [{
|
|
3792
3808
|
providedIn: 'root',
|
|
@@ -3815,9 +3831,9 @@ class PermissionGuard {
|
|
|
3815
3831
|
}));
|
|
3816
3832
|
}
|
|
3817
3833
|
}
|
|
3818
|
-
PermissionGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3819
|
-
PermissionGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3820
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3834
|
+
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 });
|
|
3835
|
+
PermissionGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: PermissionGuard, providedIn: 'root' });
|
|
3836
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: PermissionGuard, decorators: [{
|
|
3821
3837
|
type: Injectable,
|
|
3822
3838
|
args: [{
|
|
3823
3839
|
providedIn: 'root',
|
|
@@ -3954,9 +3970,9 @@ class AbpApiDefinitionService {
|
|
|
3954
3970
|
}, { apiName: this.apiName });
|
|
3955
3971
|
}
|
|
3956
3972
|
}
|
|
3957
|
-
AbpApiDefinitionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3958
|
-
AbpApiDefinitionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3959
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3973
|
+
AbpApiDefinitionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbpApiDefinitionService, deps: [{ token: RestService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3974
|
+
AbpApiDefinitionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbpApiDefinitionService, providedIn: 'root' });
|
|
3975
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: AbpApiDefinitionService, decorators: [{
|
|
3960
3976
|
type: Injectable,
|
|
3961
3977
|
args: [{
|
|
3962
3978
|
providedIn: 'root',
|
|
@@ -4306,9 +4322,11 @@ function getMinError(value, min, max) {
|
|
|
4306
4322
|
}
|
|
4307
4323
|
|
|
4308
4324
|
function validateRequired({ allowEmptyStrings } = {}) {
|
|
4309
|
-
|
|
4325
|
+
// note: please do not remove name of the function, it is used in function compare with type 'RequiredError'
|
|
4326
|
+
const required = (control) => {
|
|
4310
4327
|
return isValidRequired(control.value, allowEmptyStrings) ? null : { required: true };
|
|
4311
4328
|
};
|
|
4329
|
+
return required;
|
|
4312
4330
|
}
|
|
4313
4331
|
function isValidRequired(value, allowEmptyStrings) {
|
|
4314
4332
|
if (value || value === 0 || value === false)
|
|
@@ -4335,7 +4353,7 @@ function getMinLengthError(value, requiredLength) {
|
|
|
4335
4353
|
|
|
4336
4354
|
function validateUrl() {
|
|
4337
4355
|
return (control) => {
|
|
4338
|
-
if (
|
|
4356
|
+
if (isNullOrEmpty(control.value))
|
|
4339
4357
|
return null;
|
|
4340
4358
|
return isValidUrl(control.value) ? null : { url: true };
|
|
4341
4359
|
};
|
|
@@ -4349,6 +4367,19 @@ function isValidUrl(value) {
|
|
|
4349
4367
|
return false;
|
|
4350
4368
|
}
|
|
4351
4369
|
|
|
4370
|
+
const onlyLetterAndNumberRegex = /^[a-zA-Z0-9]+$/;
|
|
4371
|
+
function validateUsername({ pattern } = { pattern: onlyLetterAndNumberRegex }) {
|
|
4372
|
+
return (control) => {
|
|
4373
|
+
const isValid = isValidUserName(control.value, pattern);
|
|
4374
|
+
return isValid ? null : { usernamePattern: { actualValue: control.value } };
|
|
4375
|
+
};
|
|
4376
|
+
}
|
|
4377
|
+
function isValidUserName(value, pattern) {
|
|
4378
|
+
if (isNullOrEmpty(value))
|
|
4379
|
+
return true;
|
|
4380
|
+
return pattern.test(value);
|
|
4381
|
+
}
|
|
4382
|
+
|
|
4352
4383
|
const AbpValidators = {
|
|
4353
4384
|
creditCard: validateCreditCard,
|
|
4354
4385
|
emailAddress: () => Validators.email,
|
|
@@ -4357,6 +4388,7 @@ const AbpValidators = {
|
|
|
4357
4388
|
required: validateRequired,
|
|
4358
4389
|
stringLength: validateStringLength,
|
|
4359
4390
|
url: validateUrl,
|
|
4391
|
+
username: validateUsername,
|
|
4360
4392
|
};
|
|
4361
4393
|
|
|
4362
4394
|
// export * from './lib/handlers';
|
|
@@ -4365,5 +4397,5 @@ const AbpValidators = {
|
|
|
4365
4397
|
* Generated bundle index. Do not edit.
|
|
4366
4398
|
*/
|
|
4367
4399
|
|
|
4368
|
-
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 };
|
|
4400
|
+
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 };
|
|
4369
4401
|
//# sourceMappingURL=abp-ng.core.mjs.map
|