@sumaris-net/ngx-components 18.10.26 → 18.10.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.
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": "18.10.26",
4
+ "version": "18.10.28",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -28,6 +28,7 @@ export declare class ImageService extends StartableService {
28
28
  mawWidth?: number;
29
29
  quality?: number;
30
30
  multiple?: boolean;
31
+ autoHideDropArea?: boolean;
31
32
  }): Promise<Image[] | undefined>;
32
33
  static ɵfac: i0.ɵɵFactoryDeclaration<ImageService, [null, null, null, null, { optional: true; }]>;
33
34
  static ɵprov: i0.ɵɵInjectableDeclaration<ImageService>;
@@ -17,7 +17,7 @@ export interface InputElement extends FocusableElement {
17
17
  }
18
18
  export declare function isInputElement(object: any): object is InputElement;
19
19
  export declare function asInputElement<T = any>(object: ElementRef<T>): InputElement | undefined;
20
- export declare function tabindexComparator(a: InputElement, b: InputElement): 0 | 1 | -1;
20
+ export declare function tabindexComparator(a: InputElement, b: InputElement): 1 | -1 | 0;
21
21
  export interface CanGainFocusOptions {
22
22
  minTabindex?: number;
23
23
  maxTabindex?: number;
@@ -12,6 +12,7 @@ export interface UploadFilePopoverOptions<T> {
12
12
  uniqueFile?: boolean;
13
13
  fileExtension?: string;
14
14
  maxParallelUpload?: number;
15
+ autoHideDropArea?: boolean;
15
16
  }
16
17
  export declare class UploadFilePopover implements UploadFilePopoverOptions<any> {
17
18
  protected popoverController: PopoverController;
@@ -25,6 +26,7 @@ export declare class UploadFilePopover implements UploadFilePopoverOptions<any>
25
26
  uploadFn: FileUploadFn<any>;
26
27
  deleteFn: FileDeleteFn<any>;
27
28
  maxParallelUpload: number;
29
+ autoHideDropArea: boolean;
28
30
  importing: boolean;
29
31
  error: string;
30
32
  get files(): UploadFile<any>[];
@@ -35,5 +37,5 @@ export declare class UploadFilePopover implements UploadFilePopoverOptions<any>
35
37
  cancel(): Promise<boolean>;
36
38
  protected resetError(): void;
37
39
  static ɵfac: i0.ɵɵFactoryDeclaration<UploadFilePopover, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<UploadFilePopover, "app-upload-file-popover", never, { "fileExtension": { "alias": "fileExtension"; "required": false; }; "title": { "alias": "title"; "required": false; }; "uniqueFile": { "alias": "uniqueFile"; "required": false; }; "instantUpload": { "alias": "instantUpload"; "required": false; }; "uploadFn": { "alias": "uploadFn"; "required": false; }; "deleteFn": { "alias": "deleteFn"; "required": false; }; "maxParallelUpload": { "alias": "maxParallelUpload"; "required": false; }; }, {}, never, never, false, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<UploadFilePopover, "app-upload-file-popover", never, { "fileExtension": { "alias": "fileExtension"; "required": false; }; "title": { "alias": "title"; "required": false; }; "uniqueFile": { "alias": "uniqueFile"; "required": false; }; "instantUpload": { "alias": "instantUpload"; "required": false; }; "uploadFn": { "alias": "uploadFn"; "required": false; }; "deleteFn": { "alias": "deleteFn"; "required": false; }; "maxParallelUpload": { "alias": "maxParallelUpload"; "required": false; }; "autoHideDropArea": { "alias": "autoHideDropArea"; "required": false; }; }, {}, never, never, false, never>;
39
41
  }
@@ -13,6 +13,7 @@ export declare class UploadFileComponent {
13
13
  uploadFn: FileUploadFn<any>;
14
14
  deleteFn: FileDeleteFn<any>;
15
15
  maxParallelUpload: number;
16
+ autoHideDropArea: boolean;
16
17
  files: UploadFile<any>[];
17
18
  uploading: boolean;
18
19
  get processingFiles(): UploadFile<any>[];
@@ -45,5 +46,5 @@ export declare class UploadFileComponent {
45
46
  uploadFiles(files?: File[]): Promise<UploadFile<any>[]>;
46
47
  waitIdle(opts?: WaitForOptions): Promise<void>;
47
48
  static ɵfac: i0.ɵɵFactoryDeclaration<UploadFileComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<UploadFileComponent, "app-upload-file", never, { "fileExtension": { "alias": "fileExtension"; "required": false; }; "uniqueFile": { "alias": "uniqueFile"; "required": false; }; "instantUpload": { "alias": "instantUpload"; "required": false; }; "uploadFn": { "alias": "uploadFn"; "required": false; }; "deleteFn": { "alias": "deleteFn"; "required": false; }; "maxParallelUpload": { "alias": "maxParallelUpload"; "required": false; }; }, {}, never, never, false, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<UploadFileComponent, "app-upload-file", never, { "fileExtension": { "alias": "fileExtension"; "required": false; }; "uniqueFile": { "alias": "uniqueFile"; "required": false; }; "instantUpload": { "alias": "instantUpload"; "required": false; }; "uploadFn": { "alias": "uploadFn"; "required": false; }; "deleteFn": { "alias": "deleteFn"; "required": false; }; "maxParallelUpload": { "alias": "maxParallelUpload"; "required": false; }; "autoHideDropArea": { "alias": "autoHideDropArea"; "required": false; }; }, {}, never, never, false, never>;
49
50
  }
@@ -2,7 +2,7 @@
2
2
  "name": "ngx-sumaris-components",
3
3
  "short_name": "ngx-sumaris-components",
4
4
  "manifest_version": 1,
5
- "version": "18.10.26",
5
+ "version": "18.10.28",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{