@stemy/ngx-utils 11.2.1 → 11.2.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/bundles/stemy-ngx-utils.umd.js +30 -20
- package/bundles/stemy-ngx-utils.umd.js.map +1 -1
- package/bundles/stemy-ngx-utils.umd.min.js +1 -1
- package/bundles/stemy-ngx-utils.umd.min.js.map +1 -1
- package/esm2015/ngx-utils/common-types.js +1 -1
- package/esm2015/ngx-utils/services/acl.service.js +20 -18
- package/esm2015/ngx-utils/services/config.service.js +11 -3
- package/fesm2015/stemy-ngx-utils.js +29 -19
- package/fesm2015/stemy-ngx-utils.js.map +1 -1
- package/ngx-utils/common-types.d.ts +2 -1
- package/ngx-utils/services/acl.service.d.ts +3 -4
- package/package.json +1 -1
- package/stemy-ngx-utils.metadata.json +1 -1
|
@@ -70,10 +70,10 @@ export interface IAclComponent {
|
|
|
70
70
|
}
|
|
71
71
|
export interface IRouteStateInfo {
|
|
72
72
|
route: IRoute;
|
|
73
|
-
component: any;
|
|
74
73
|
guard: any;
|
|
75
74
|
dirty: boolean;
|
|
76
75
|
first: boolean;
|
|
76
|
+
component?: any;
|
|
77
77
|
}
|
|
78
78
|
export declare enum StorageMode {
|
|
79
79
|
Local = 0,
|
|
@@ -260,6 +260,7 @@ export declare class ResourceIfContext {
|
|
|
260
260
|
}
|
|
261
261
|
export declare class IConfiguration {
|
|
262
262
|
baseUrl?: string;
|
|
263
|
+
baseDomain?: string;
|
|
263
264
|
translationUrl?: string;
|
|
264
265
|
[key: string]: any;
|
|
265
266
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { Injector } from "@angular/core";
|
|
2
2
|
import { StateService } from "./state.service";
|
|
3
|
-
import { IAuthService } from "../common-types";
|
|
3
|
+
import { IAuthService, IRouteStateInfo } from "../common-types";
|
|
4
4
|
export declare class AclService {
|
|
5
5
|
readonly injector: Injector;
|
|
6
6
|
readonly state: StateService;
|
|
7
7
|
readonly auth: IAuthService;
|
|
8
|
-
|
|
9
|
-
private static checkStateDirty;
|
|
8
|
+
protected components: IRouteStateInfo[];
|
|
10
9
|
constructor(injector: Injector, state: StateService, auth: IAuthService);
|
|
11
|
-
|
|
10
|
+
protected getStateInfo(): IRouteStateInfo;
|
|
12
11
|
}
|