@ts-core/angular 15.0.26 → 15.0.28
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/VIModule.d.ts +2 -0
- package/esm2020/VIModule.mjs +6 -1
- package/esm2020/cookie/CookieService.mjs +1 -1
- package/esm2020/login/LoginRequireResolver.mjs +2 -2
- package/esm2020/public-api.mjs +3 -1
- package/esm2020/storage/StorageService.mjs +57 -0
- package/esm2020/util/ViewUtil.mjs +3 -3
- package/fesm2015/ts-core-angular.mjs +63 -4
- package/fesm2015/ts-core-angular.mjs.map +1 -1
- package/fesm2020/ts-core-angular.mjs +63 -4
- package/fesm2020/ts-core-angular.mjs.map +1 -1
- package/login/LoginRequireResolver.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/storage/StorageService.d.ts +14 -0
|
@@ -3,6 +3,6 @@ import { LoginBaseService } from './LoginBaseService';
|
|
|
3
3
|
export declare class LoginRequireResolver<U extends LoginBaseService = LoginBaseService, V = void> implements Resolve<V> {
|
|
4
4
|
protected login: U;
|
|
5
5
|
constructor(login: U);
|
|
6
|
-
resolve(): Promise<V>;
|
|
6
|
+
resolve(...params: any[]): Promise<V>;
|
|
7
7
|
isLoggedIn(): boolean;
|
|
8
8
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -100,6 +100,7 @@ export * from './notification/NotificationConfig';
|
|
|
100
100
|
export * from './notification/NotificationService';
|
|
101
101
|
export * from './notification/NotificationServiceEvent';
|
|
102
102
|
export * from './bottomSheet/BottomSheetService';
|
|
103
|
+
export * from './storage/StorageService';
|
|
103
104
|
export * from './module/LazyModuleLoader';
|
|
104
105
|
export * from './transport/TransportLazy';
|
|
105
106
|
export * from './transport/TransportLazyModule';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DestroyableContainer } from '@ts-core/common';
|
|
2
|
+
import { NativeWindowService } from '@ts-core/frontend';
|
|
3
|
+
export declare class StorageService extends DestroyableContainer {
|
|
4
|
+
private nativeWindow;
|
|
5
|
+
constructor(nativeWindow: NativeWindowService);
|
|
6
|
+
get(key: string, defaultValue?: string): string;
|
|
7
|
+
has(key: string): boolean;
|
|
8
|
+
set(key: string, value: string): void;
|
|
9
|
+
remove(key: string): void;
|
|
10
|
+
clear(): void;
|
|
11
|
+
destroy(): void;
|
|
12
|
+
protected get length(): number;
|
|
13
|
+
protected get storage(): Storage;
|
|
14
|
+
}
|