@abp/ng.core 8.0.0-rc.2 → 8.0.0
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/esm2022/lib/abstracts/auth.guard.mjs +3 -3
- package/esm2022/lib/abstracts/auth.service.mjs +3 -3
- package/esm2022/lib/abstracts/ng-model.component.mjs +5 -5
- package/esm2022/lib/clients/http.client.mjs +3 -3
- package/esm2022/lib/components/dynamic-layout.component.mjs +38 -38
- package/esm2022/lib/components/replaceable-route-container.component.mjs +3 -3
- package/esm2022/lib/components/router-outlet.component.mjs +3 -3
- package/esm2022/lib/constants/default-layouts.mjs +6 -0
- package/esm2022/lib/constants/index.mjs +2 -1
- package/esm2022/lib/core.module.mjs +48 -48
- package/esm2022/lib/directives/autofocus.directive.mjs +5 -5
- package/esm2022/lib/directives/caps-lock.directive.mjs +3 -3
- package/esm2022/lib/directives/debounce.directive.mjs +5 -5
- package/esm2022/lib/directives/for.directive.mjs +5 -4
- package/esm2022/lib/directives/form-submit.directive.mjs +5 -5
- package/esm2022/lib/directives/init.directive.mjs +8 -5
- package/esm2022/lib/directives/permission.directive.mjs +5 -4
- package/esm2022/lib/directives/replaceable-template.directive.mjs +5 -4
- package/esm2022/lib/directives/show-password.directive.mjs +3 -3
- package/esm2022/lib/directives/stop-propagation.directive.mjs +5 -5
- package/esm2022/lib/enums/common.mjs +1 -1
- package/esm2022/lib/guards/permission.guard.mjs +3 -3
- package/esm2022/lib/handlers/routes.handler.mjs +3 -3
- package/esm2022/lib/interceptors/api.interceptor.mjs +3 -3
- package/esm2022/lib/localization.module.mjs +4 -4
- package/esm2022/lib/models/common.mjs +1 -1
- package/esm2022/lib/pipes/localization.pipe.mjs +4 -4
- package/esm2022/lib/pipes/safe-html.pipe.mjs +4 -4
- package/esm2022/lib/pipes/short-date-time.pipe.mjs +3 -3
- package/esm2022/lib/pipes/short-date.pipe.mjs +3 -3
- package/esm2022/lib/pipes/short-time.pipe.mjs +3 -3
- package/esm2022/lib/pipes/sort.pipe.mjs +4 -4
- package/esm2022/lib/pipes/to-injector.pipe.mjs +3 -3
- package/esm2022/lib/proxy/pages/abp/multi-tenancy/abp-tenant.service.mjs +3 -3
- package/esm2022/lib/proxy/volo/abp/asp-net-core/mvc/api-exploring/abp-api-definition.service.mjs +3 -3
- package/esm2022/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-configuration.service.mjs +3 -3
- package/esm2022/lib/proxy/volo/abp/asp-net-core/mvc/application-configurations/abp-application-localization.service.mjs +3 -3
- package/esm2022/lib/services/config-state.service.mjs +3 -3
- package/esm2022/lib/services/content-projection.service.mjs +3 -3
- package/esm2022/lib/services/dom-insertion.service.mjs +3 -3
- package/esm2022/lib/services/environment.service.mjs +3 -3
- package/esm2022/lib/services/http-error-reporter.service.mjs +3 -3
- package/esm2022/lib/services/http-wait.service.mjs +3 -3
- package/esm2022/lib/services/internet-connection-service.mjs +3 -3
- package/esm2022/lib/services/lazy-load.service.mjs +3 -3
- package/esm2022/lib/services/list.service.mjs +3 -3
- package/esm2022/lib/services/local-storage.service.mjs +3 -3
- package/esm2022/lib/services/localization.service.mjs +3 -3
- package/esm2022/lib/services/multi-tenancy.service.mjs +3 -3
- package/esm2022/lib/services/permission.service.mjs +3 -3
- package/esm2022/lib/services/replaceable-components.service.mjs +3 -3
- package/esm2022/lib/services/resource-wait.service.mjs +3 -3
- package/esm2022/lib/services/rest.service.mjs +3 -3
- package/esm2022/lib/services/router-events.service.mjs +3 -3
- package/esm2022/lib/services/router-wait.service.mjs +3 -3
- package/esm2022/lib/services/routes.service.mjs +6 -6
- package/esm2022/lib/services/session-state.service.mjs +3 -3
- package/esm2022/lib/services/subscription.service.mjs +3 -3
- package/esm2022/lib/services/track-by.service.mjs +3 -3
- package/esm2022/lib/services/window.service.mjs +3 -3
- package/esm2022/lib/tokens/dynamic-layout.token.mjs +3 -0
- package/esm2022/lib/tokens/index.mjs +2 -1
- package/esm2022/testing/lib/core-testing.module.mjs +4 -4
- package/esm2022/testing/lib/services/mock-permission.service.mjs +3 -3
- package/esm2022/testing/lib/services/mock-rest.service.mjs +3 -3
- package/fesm2022/abp-ng.core-testing.mjs +10 -10
- package/fesm2022/abp-ng.core.mjs +405 -390
- package/fesm2022/abp-ng.core.mjs.map +1 -1
- package/lib/components/dynamic-layout.component.d.ts +11 -14
- package/lib/constants/default-layouts.d.ts +1 -0
- package/lib/constants/index.d.ts +1 -0
- package/lib/core.module.d.ts +24 -24
- 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 +1 -1
- package/lib/directives/init.directive.d.ts +1 -1
- package/lib/directives/permission.directive.d.ts +1 -1
- package/lib/directives/replaceable-template.directive.d.ts +1 -1
- package/lib/directives/stop-propagation.directive.d.ts +1 -1
- package/lib/enums/common.d.ts +5 -0
- package/lib/models/common.d.ts +1 -0
- package/lib/tokens/dynamic-layout.token.d.ts +2 -0
- package/lib/tokens/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -53,11 +53,11 @@ export class CoreTestingModule {
|
|
|
53
53
|
],
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
57
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
58
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
56
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: CoreTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
57
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.7", ngImport: i0, type: CoreTestingModule, imports: [NoopAnimationsModule, RouterTestingModule, BaseCoreModule], exports: [RouterTestingModule, BaseCoreModule] }); }
|
|
58
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: CoreTestingModule, imports: [NoopAnimationsModule, RouterTestingModule, BaseCoreModule, RouterTestingModule, BaseCoreModule] }); }
|
|
59
59
|
}
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
60
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: CoreTestingModule, decorators: [{
|
|
61
61
|
type: NgModule,
|
|
62
62
|
args: [{
|
|
63
63
|
exports: [RouterTestingModule, BaseCoreModule],
|
|
@@ -23,10 +23,10 @@ export class MockPermissionService extends PermissionService {
|
|
|
23
23
|
}, {});
|
|
24
24
|
this.configState['store'].deepPatch({ auth: { grantedPolicies } });
|
|
25
25
|
}
|
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
27
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: MockPermissionService, deps: [{ token: i1.ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
27
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: MockPermissionService, providedIn: 'root' }); }
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: MockPermissionService, decorators: [{
|
|
30
30
|
type: Injectable,
|
|
31
31
|
args: [{
|
|
32
32
|
providedIn: 'root',
|
|
@@ -16,10 +16,10 @@ export class MockRestService extends RestService {
|
|
|
16
16
|
handleError(err) {
|
|
17
17
|
return throwError(err);
|
|
18
18
|
}
|
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
20
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: MockRestService, deps: [{ token: CORE_OPTIONS }, { token: i1.HttpClient }, { token: i2.ExternalHttpClient }, { token: i2.EnvironmentService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
20
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: MockRestService, providedIn: 'root' }); }
|
|
21
21
|
}
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: MockRestService, decorators: [{
|
|
23
23
|
type: Injectable,
|
|
24
24
|
args: [{
|
|
25
25
|
providedIn: 'root',
|
|
@@ -30,10 +30,10 @@ class MockPermissionService extends PermissionService {
|
|
|
30
30
|
}, {});
|
|
31
31
|
this.configState['store'].deepPatch({ auth: { grantedPolicies } });
|
|
32
32
|
}
|
|
33
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
34
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
33
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: MockPermissionService, deps: [{ token: i2.ConfigStateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
34
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: MockPermissionService, providedIn: 'root' }); }
|
|
35
35
|
}
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: MockPermissionService, decorators: [{
|
|
37
37
|
type: Injectable,
|
|
38
38
|
args: [{
|
|
39
39
|
providedIn: 'root',
|
|
@@ -51,10 +51,10 @@ class MockRestService extends RestService {
|
|
|
51
51
|
handleError(err) {
|
|
52
52
|
return throwError(err);
|
|
53
53
|
}
|
|
54
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
55
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.
|
|
54
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: MockRestService, deps: [{ token: CORE_OPTIONS }, { token: i1.HttpClient }, { token: i2.ExternalHttpClient }, { token: i2.EnvironmentService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
55
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: MockRestService, providedIn: 'root' }); }
|
|
56
56
|
}
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: MockRestService, decorators: [{
|
|
58
58
|
type: Injectable,
|
|
59
59
|
args: [{
|
|
60
60
|
providedIn: 'root',
|
|
@@ -110,11 +110,11 @@ class CoreTestingModule {
|
|
|
110
110
|
],
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.
|
|
114
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.
|
|
115
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.
|
|
113
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: CoreTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
114
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.7", ngImport: i0, type: CoreTestingModule, imports: [NoopAnimationsModule, RouterTestingModule, BaseCoreModule], exports: [RouterTestingModule, BaseCoreModule] }); }
|
|
115
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: CoreTestingModule, imports: [NoopAnimationsModule, RouterTestingModule, BaseCoreModule, RouterTestingModule, BaseCoreModule] }); }
|
|
116
116
|
}
|
|
117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.
|
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.7", ngImport: i0, type: CoreTestingModule, decorators: [{
|
|
118
118
|
type: NgModule,
|
|
119
119
|
args: [{
|
|
120
120
|
exports: [RouterTestingModule, BaseCoreModule],
|