@sumaris-net/ngx-components 1.19.17 → 1.19.18

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "1.19.17",
4
+ "version": "1.19.18",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -75,6 +75,7 @@ export declare class PlatformService extends StartableService {
75
75
  filename?: string;
76
76
  } & Partial<DownloadRequest>): Observable<string>;
77
77
  openFile(filePath: string, fileMimeType: string): Promise<any>;
78
+ protected configureHtmlClassList(mobile: boolean, win?: any): void;
78
79
  protected configureCordovaPlugins(): void;
79
80
  protected configureTranslate(): void;
80
81
  protected configureCache(online?: boolean): void;
@@ -20,8 +20,8 @@ export declare class EntitiesStorage extends StartableService<EntityStorageMap>
20
20
  private progressBarService;
21
21
  private storage;
22
22
  protected environment: Environment;
23
- static TRASH_PREFIX: string;
24
- static REMOTE_PREFIX: string;
23
+ static readonly TRASH_PREFIX = "Trash#";
24
+ static readonly REMOTE_PREFIX = "Remote#";
25
25
  private readonly _typePolicies;
26
26
  private readonly _saveTimerPeriod;
27
27
  private _$save;
@@ -29,6 +29,8 @@ export declare class EntitiesStorage extends StartableService<EntityStorageMap>
29
29
  private _saving;
30
30
  get dirty(): boolean;
31
31
  constructor(platform: Platform, progressBarService: ProgressBarService, storage: Storage, environment: Environment, typePolicies: EntitiesStorageTypePolicies);
32
+ ngOnStart(): Promise<EntityStorageMap>;
33
+ protected ngOnStop(): Promise<void>;
32
34
  watchAll<T extends Entity<T>>(entityName: string, variables: {
33
35
  offset?: number;
34
36
  size?: number;
@@ -91,8 +93,6 @@ export declare class EntitiesStorage extends StartableService<EntityStorageMap>
91
93
  persist(opts?: {
92
94
  skipIfPristine: boolean;
93
95
  }): Promise<void>;
94
- ngOnStart(): Promise<EntityStorageMap>;
95
- protected ngOnStop(): Promise<void>;
96
96
  protected getEntityStore<T extends IEntity<T, ID>, ID = number>(name: string, opts?: {
97
97
  create?: boolean;
98
98
  }): EntityStore<T, ID>;
@@ -100,6 +100,6 @@ export declare class EntitiesStorage extends StartableService<EntityStorageMap>
100
100
  protected restoreLocally(): Promise<void>;
101
101
  protected storeLocally(opts?: {
102
102
  skipIfPristine: boolean;
103
- }): Promise<any>;
103
+ }): Promise<void>;
104
104
  }
105
105
  export {};