@sumaris-net/ngx-components 18.8.4 → 18.8.6

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.8.4",
4
+ "version": "18.8.6",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -56,6 +56,7 @@ export declare class AppImageGalleryComponent<T extends Image> implements OnInit
56
56
  showTitle: boolean;
57
57
  showAddTextButton: boolean;
58
58
  showAddCardButton: boolean;
59
+ showCardToolbar: boolean;
59
60
  addButtonColor: AppColors;
60
61
  addButtonText: string;
61
62
  cardTemplate: TemplateRef<{
@@ -90,7 +91,7 @@ export declare class AppImageGalleryComponent<T extends Image> implements OnInit
90
91
  toggleViewMode(_?: Event): void;
91
92
  trackByFn(index: number, row: TableElement<T>): number;
92
93
  editTitle(event: MouseEvent, row: TableElement<T>, cardToolbar: any): Promise<void>;
93
- protected showCardToolbar(cardToolbar: any): void;
94
+ protected focusCardToolbar(cardToolbar: any): void;
94
95
  protected hideCardToolbar(cardToolbar: any): void;
95
96
  protected _switchDataSource(dataSource: TableDataSource<T>): void;
96
97
  protected _observeRenderChanges(): void;
@@ -112,7 +113,7 @@ export declare class AppImageGalleryComponent<T extends Image> implements OnInit
112
113
  };
113
114
  protected markForCheck(): void;
114
115
  static ɵfac: i0.ɵɵFactoryDeclaration<AppImageGalleryComponent<any>, [null, null, null, null, null, { optional: true; }]>;
115
- static ɵcmp: i0.ɵɵComponentDeclaration<AppImageGalleryComponent<any>, "app-image-gallery", never, { "cardColor": { "alias": "cardColor"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "mobile": { "alias": "mobile"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "confirmBeforeDelete": { "alias": "confirmBeforeDelete"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "showFabButton": { "alias": "showFabButton"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showAddTextButton": { "alias": "showAddTextButton"; "required": false; }; "showAddCardButton": { "alias": "showAddCardButton"; "required": false; }; "addButtonColor": { "alias": "addButtonColor"; "required": false; }; "addButtonText": { "alias": "addButtonText"; "required": false; }; "cardTemplate": { "alias": "cardTemplate"; "required": false; }; "imageSizes": { "alias": "imageSizes"; "required": false; }; "imageSizeQueryParam": { "alias": "imageSizeQueryParam"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; }, { "onBeforeDeleteRows": "onBeforeDeleteRows"; "onAfterAddRows": "onAfterAddRows"; "onAfterEditRow": "onAfterEditRow"; "click": "click"; }, never, never, false, never>;
116
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppImageGalleryComponent<any>, "app-image-gallery", never, { "cardColor": { "alias": "cardColor"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "mobile": { "alias": "mobile"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "confirmBeforeDelete": { "alias": "confirmBeforeDelete"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "showFabButton": { "alias": "showFabButton"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showAddTextButton": { "alias": "showAddTextButton"; "required": false; }; "showAddCardButton": { "alias": "showAddCardButton"; "required": false; }; "showCardToolbar": { "alias": "showCardToolbar"; "required": false; }; "addButtonColor": { "alias": "addButtonColor"; "required": false; }; "addButtonText": { "alias": "addButtonText"; "required": false; }; "cardTemplate": { "alias": "cardTemplate"; "required": false; }; "imageSizes": { "alias": "imageSizes"; "required": false; }; "imageSizeQueryParam": { "alias": "imageSizeQueryParam"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; }, { "onBeforeDeleteRows": "onBeforeDeleteRows"; "onAfterAddRows": "onAfterAddRows"; "onAfterEditRow": "onAfterEditRow"; "click": "click"; }, never, never, false, never>;
116
117
  static ngAcceptInputType_debug: unknown;
117
118
  static ngAcceptInputType_disabled: unknown;
118
119
  static ngAcceptInputType_readOnly: unknown;
@@ -122,4 +123,5 @@ export declare class AppImageGalleryComponent<T extends Image> implements OnInit
122
123
  static ngAcceptInputType_showTitle: unknown;
123
124
  static ngAcceptInputType_showAddTextButton: unknown;
124
125
  static ngAcceptInputType_showAddCardButton: unknown;
126
+ static ngAcceptInputType_showCardToolbar: unknown;
125
127
  }
@@ -2,5 +2,6 @@ export interface Image {
2
2
  dataUrl: string;
3
3
  url: string;
4
4
  title?: string;
5
+ exif?: any;
5
6
  }
6
7
  export type ImageSize = 'small' | 'medium' | 'large';
@@ -1,4 +1,4 @@
1
- import { ActionSheetController, PopoverController } from '@ionic/angular';
1
+ import { PopoverController } from '@ionic/angular';
2
2
  import { TranslateService } from '@ngx-translate/core';
3
3
  import { StartableService } from '../services/startable-service.class';
4
4
  import { Environment } from '../../../environments/environment.class';
@@ -12,22 +12,23 @@ export declare class ImageService extends StartableService {
12
12
  protected settings: LocalSettingsService;
13
13
  protected translate: TranslateService;
14
14
  protected popoverController: PopoverController;
15
- protected actionSheetController: ActionSheetController;
16
15
  protected environment?: Environment;
17
16
  private defaultMaxHeight;
18
17
  private defaultMaxWidth;
19
- constructor(platform: PlatformService, settings: LocalSettingsService, translate: TranslateService, popoverController: PopoverController, actionSheetController: ActionSheetController, environment?: Environment);
18
+ constructor(platform: PlatformService, settings: LocalSettingsService, translate: TranslateService, popoverController: PopoverController, environment?: Environment);
20
19
  protected ngOnStart(): Promise<any>;
21
20
  add(event?: Event, opts?: {
22
21
  maxHeight?: number;
23
22
  mawWidth?: number;
24
23
  quality?: number;
24
+ multiple?: boolean;
25
25
  } & ImageOptions): Promise<Image[] | undefined>;
26
26
  protected addUploadedImages(event?: Event, opts?: {
27
27
  maxHeight?: number;
28
28
  mawWidth?: number;
29
29
  quality?: number;
30
+ multiple?: boolean;
30
31
  }): Promise<Image[] | undefined>;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<ImageService, [null, null, null, null, null, { optional: true; }]>;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageService, [null, null, null, null, { optional: true; }]>;
32
33
  static ɵprov: i0.ɵɵInjectableDeclaration<ImageService>;
33
34
  }
@@ -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.8.4",
5
+ "version": "18.8.6",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{