@sumaris-net/ngx-components 2.4.10 → 2.4.12-rc1

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.4.10",
4
+ "version": "2.4.12-rc1",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -10,6 +10,9 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "@noble/ed25519": "^1.7.1",
13
+ "@rx-angular/cdk": "^1.0.0-rc.4",
14
+ "@rx-angular/state": "^1.7.0",
15
+ "@rx-angular/template": "^1.0.0-rc.5",
13
16
  "clone": "~2.1.2",
14
17
  "tslib": "~2.3.1"
15
18
  },
@@ -7,6 +7,17 @@ export interface IEntityFilter<F extends IEntityFilter<F, T, ID, AO, FO>, T exte
7
7
  countNotEmptyCriteria(): number;
8
8
  }
9
9
  export declare abstract class EntityFilter<F extends EntityFilter<F, T, ID, AO, FO>, T extends IEntity<T, any>, ID = number, AO extends EntityAsObjectOptions = EntityAsObjectOptions, FO = any> extends Entity<F, ID, AO, FO> implements IEntityFilter<F, T, ID, AO, FO> {
10
+ /**
11
+ * Compose some filter functions: all should return true
12
+ * @param filterFns
13
+ */
14
+ static composeFilters<T extends IEntity<T, any>>(filterFns: FilterFn<T>[]): FilterFn<T>;
15
+ static compose<F extends EntityFilter<F, T>, T extends IEntity<T>>(filters: F[]): FilterFn<T>;
16
+ /**
17
+ * Compose some filter functions: all should return true
18
+ * @param filterFns
19
+ */
20
+ static composeFns<T extends IEntity<T, any>>(filterFns: FilterFn<T>[]): FilterFn<T>;
10
21
  constructor(__typename?: string);
11
22
  /**
12
23
  * Clean a filter, before sending to the pod (e.g convert dates, remove internal properties, etc.)
@@ -4,6 +4,5 @@ export declare const isWindows: (win?: Window) => boolean;
4
4
  export declare const isTouchUi: (win?: Window) => boolean;
5
5
  export declare const isIOS: (win: Window) => boolean;
6
6
  export declare const isAndroid: (win: Window) => boolean;
7
- export declare const isCordova: (win: any) => boolean;
8
7
  export declare const isCapacitor: (win: any) => boolean;
9
8
  export declare const isMobile: (win: Window) => any;