@abp/ng.core 8.0.0-rc.3 → 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 +3 -3
- 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 +19 -13
- package/esm2022/lib/directives/autofocus.directive.mjs +3 -3
- package/esm2022/lib/directives/caps-lock.directive.mjs +3 -3
- package/esm2022/lib/directives/debounce.directive.mjs +3 -3
- package/esm2022/lib/directives/for.directive.mjs +3 -3
- package/esm2022/lib/directives/form-submit.directive.mjs +3 -3
- package/esm2022/lib/directives/init.directive.mjs +3 -3
- package/esm2022/lib/directives/permission.directive.mjs +3 -3
- package/esm2022/lib/directives/replaceable-template.directive.mjs +3 -3
- package/esm2022/lib/directives/show-password.directive.mjs +3 -3
- package/esm2022/lib/directives/stop-propagation.directive.mjs +3 -3
- 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 +364 -349
- 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/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
|
@@ -1,29 +1,26 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, Type } from '@angular/core';
|
|
2
2
|
import { eLayoutType } from '../enums/common';
|
|
3
|
-
import { LocalizationService } from '../services/localization.service';
|
|
4
|
-
import { ReplaceableComponentsService } from '../services/replaceable-components.service';
|
|
5
|
-
import { RouterEvents } from '../services/router-events.service';
|
|
6
|
-
import { SubscriptionService } from '../services/subscription.service';
|
|
7
3
|
import * as i0 from "@angular/core";
|
|
8
4
|
export declare class DynamicLayoutComponent implements OnInit {
|
|
9
|
-
private localizationService;
|
|
10
|
-
private replaceableComponents;
|
|
11
|
-
private subscription;
|
|
12
|
-
private routerEvents;
|
|
13
5
|
layout?: Type<any>;
|
|
14
6
|
layoutKey?: eLayoutType;
|
|
15
7
|
readonly layouts: Map<string, string>;
|
|
16
8
|
isLayoutVisible: boolean;
|
|
17
|
-
private router;
|
|
18
|
-
private route;
|
|
19
|
-
private routes;
|
|
20
|
-
|
|
9
|
+
private readonly router;
|
|
10
|
+
private readonly route;
|
|
11
|
+
private readonly routes;
|
|
12
|
+
private localizationService;
|
|
13
|
+
private replaceableComponents;
|
|
14
|
+
private subscription;
|
|
15
|
+
private routerEvents;
|
|
16
|
+
constructor(dynamicLayoutComponent: DynamicLayoutComponent);
|
|
21
17
|
ngOnInit(): void;
|
|
22
18
|
private checkLayoutOnNavigationEnd;
|
|
23
19
|
private getLayout;
|
|
20
|
+
private getExtractedLayout;
|
|
24
21
|
showLayoutNotFoundError(layoutName: string): void;
|
|
25
22
|
private listenToLanguageChange;
|
|
26
23
|
private getComponent;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicLayoutComponent, [
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicLayoutComponent, [{ optional: true; skipSelf: true; }]>;
|
|
28
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicLayoutComponent, "abp-dynamic-layout", never, {}, {}, never, never, false, never>;
|
|
29
26
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DEFAULT_DYNAMIC_LAYOUTS: Map<string, string>;
|
package/lib/constants/index.d.ts
CHANGED
package/lib/enums/common.d.ts
CHANGED
|
@@ -3,3 +3,8 @@ export declare const enum eLayoutType {
|
|
|
3
3
|
application = "application",
|
|
4
4
|
empty = "empty"
|
|
5
5
|
}
|
|
6
|
+
export declare const enum eThemeSharedComponents {
|
|
7
|
+
ApplicationLayoutComponent = "Theme.ApplicationLayoutComponent",
|
|
8
|
+
AccountLayoutComponent = "Theme.AccountLayoutComponent",
|
|
9
|
+
EmptyLayoutComponent = "Theme.EmptyLayoutComponent"
|
|
10
|
+
}
|
package/lib/models/common.d.ts
CHANGED
package/lib/tokens/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abp/ng.core",
|
|
3
|
-
"version": "8.0.0
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"homepage": "https://abp.io",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/abpframework/abp.git"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@abp/utils": "~8.0.0
|
|
10
|
+
"@abp/utils": "~8.0.0",
|
|
11
11
|
"angular-oauth2-oidc": "^15.0.1",
|
|
12
12
|
"just-clone": "^6.1.1",
|
|
13
13
|
"just-compare": "^2.3.0",
|