@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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ts-core/angular",
3
- "version": "15.0.26",
3
+ "version": "15.0.28",
4
4
  "description": "Modules for frontend based on angular",
5
5
  "main": "public-api.js",
6
6
  "author": {
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
+ }