@sumaris-net/ngx-components 2.6.34 → 2.6.35

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": "2.6.34",
4
+ "version": "2.6.35",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -65,7 +65,7 @@ export declare class LocalSettingsService extends StartableService<LocalSettings
65
65
  }): Promise<void>;
66
66
  getPageSettings<T = any>(pageId: string, propertyName?: string): T;
67
67
  savePageSetting(pageId: string, value: any, propertyName?: string): Promise<void>;
68
- getOfflineFeature(featureName: string): OfflineFeature;
68
+ getOfflineFeature<F = any>(featureName: string): OfflineFeature<F>;
69
69
  getOfflineFeatureLastSyncDate(featureName: string): Moment;
70
70
  hasOfflineFeature(featureName?: string): boolean;
71
71
  saveOfflineFeature(feature: OfflineFeature): void;
@@ -6,10 +6,10 @@ export declare interface LocaleConfig extends Property {
6
6
  country?: string;
7
7
  }
8
8
  export declare const APP_LOCALES: InjectionToken<LocaleConfig[]>;
9
- export declare interface OfflineFeature {
9
+ export declare interface OfflineFeature<F = any> {
10
10
  name: string;
11
11
  lastSyncDate?: string;
12
- filter?: any;
12
+ filter?: F;
13
13
  }
14
14
  export declare interface LocalSettings {
15
15
  pages?: any;
@@ -2,7 +2,7 @@
2
2
  "name": "ngx-sumaris-components",
3
3
  "short_name": "ngx-sumaris-components",
4
4
  "manifest_version": 1,
5
- "version": "2.6.34",
5
+ "version": "2.6.35",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{