@sumaris-net/ngx-components 1.19.0 → 1.19.1

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.0",
4
+ "version": "1.19.1",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -9,6 +9,13 @@ export declare interface IStatus {
9
9
  }
10
10
  export declare const StatusList: Readonly<IStatus[]>;
11
11
  export declare const StatusById: Readonly<import("../../../shared/types").KeyValueType<IStatus>>;
12
+ export declare interface IReferentialRef<T extends IEntity<T, ID> = IEntity<any, any>, ID = number> extends IEntity<T, ID> {
13
+ label: string;
14
+ name: string;
15
+ levelId?: number;
16
+ statusId: number;
17
+ entityName: string;
18
+ }
12
19
  export declare abstract class BaseReferential<T extends BaseReferential<T, ID, AO>, ID = number, AO extends ReferentialAsObjectOptions = ReferentialAsObjectOptions, FO = any> extends Entity<T, ID, AO, FO> implements IReferentialRef<T, ID> {
13
20
  label: string;
14
21
  name: string;
@@ -35,13 +42,6 @@ export declare class ReferentialUtils {
35
42
  static isEmpty<T extends BaseReferential<any> | ReferentialRef>(obj: T | any): boolean;
36
43
  static equals<T extends BaseReferential<any> | ReferentialRef>(o1: T | any, o2: T | any): boolean;
37
44
  }
38
- export declare interface IReferentialRef<T extends IEntity<T, ID> = IEntity<any, any>, ID = number> extends IEntity<T, ID> {
39
- label: string;
40
- name: string;
41
- levelId?: number;
42
- statusId: number;
43
- entityName: string;
44
- }
45
45
  export interface ReferentialAsObjectOptions extends EntityAsObjectOptions {
46
46
  keepEntityName?: boolean;
47
47
  }
@@ -2,7 +2,7 @@ export declare const matchMedia: (win: Window, query: string) => boolean;
2
2
  export declare const testUserAgent: (win: Window, expr: RegExp) => boolean;
3
3
  export declare const isWindows: (win?: Window) => boolean;
4
4
  export declare const isTouchUi: (win?: Window) => boolean;
5
- export declare const isMobile: (win: Window) => boolean;
6
5
  export declare const isIOS: (win: Window) => boolean;
7
6
  export declare const isAndroid: (win: Window) => boolean;
8
7
  export declare const isCordova: (win: any) => boolean;
8
+ export declare const isMobile: (win: Window) => any;