@abp/ng.core 7.3.2 → 7.4.0-rc.2
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/core.module.mjs +6 -1
- package/esm2022/lib/services/index.mjs +2 -1
- package/esm2022/lib/services/internet-connection-service.mjs +33 -0
- package/esm2022/lib/services/list.service.mjs +19 -6
- package/esm2022/lib/services/routes.service.mjs +4 -6
- package/esm2022/lib/tokens/compare-func.token.mjs +27 -0
- package/fesm2022/abp-ng.core.mjs +2058 -1991
- package/fesm2022/abp-ng.core.mjs.map +1 -1
- package/lib/services/index.d.ts +1 -0
- package/lib/services/internet-connection-service.d.ts +14 -0
- package/lib/services/list.service.d.ts +3 -0
- package/lib/services/routes.service.d.ts +2 -1
- package/lib/tokens/compare-func.token.d.ts +3 -0
- package/package.json +2 -2
package/lib/services/index.d.ts
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class InternetConnectionService {
|
|
3
|
+
readonly document: Document;
|
|
4
|
+
readonly window: Window & typeof globalThis;
|
|
5
|
+
readonly navigator: Navigator;
|
|
6
|
+
private status$;
|
|
7
|
+
private status;
|
|
8
|
+
networkStatus: import("@angular/core").Signal<boolean>;
|
|
9
|
+
constructor();
|
|
10
|
+
setStatus(val: boolean): void;
|
|
11
|
+
get networkStatus$(): import("rxjs").Observable<boolean>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InternetConnectionService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InternetConnectionService>;
|
|
14
|
+
}
|
|
@@ -14,6 +14,9 @@ export declare class ListService<QueryParamsType = ABP.PageQueryParams | any> im
|
|
|
14
14
|
private _page;
|
|
15
15
|
set page(value: number);
|
|
16
16
|
get page(): number;
|
|
17
|
+
private _totalCount;
|
|
18
|
+
set totalCount(value: number);
|
|
19
|
+
get totalCount(): number;
|
|
17
20
|
private _sortKey;
|
|
18
21
|
set sortKey(value: string);
|
|
19
22
|
get sortKey(): string;
|
|
@@ -36,10 +36,11 @@ export declare abstract class AbstractNavTreeService<T extends ABP.Nav> extends
|
|
|
36
36
|
protected injector: Injector;
|
|
37
37
|
private subscription;
|
|
38
38
|
private permissionService;
|
|
39
|
+
private compareFunc;
|
|
39
40
|
readonly id = "name";
|
|
40
41
|
readonly parentId = "parentName";
|
|
41
42
|
readonly hide: (item: T) => boolean;
|
|
42
|
-
readonly sort: (a: T, b: T) =>
|
|
43
|
+
readonly sort: (a: T, b: T) => any;
|
|
43
44
|
constructor(injector: Injector);
|
|
44
45
|
protected isGranted({ requiredPolicy }: T): boolean;
|
|
45
46
|
hasChildren(identifier: string): boolean;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abp/ng.core",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.4.0-rc.2",
|
|
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": "~7.
|
|
10
|
+
"@abp/utils": "~7.4.0-rc.2",
|
|
11
11
|
"angular-oauth2-oidc": "^15.0.1",
|
|
12
12
|
"just-clone": "^6.1.1",
|
|
13
13
|
"just-compare": "^2.3.0",
|