@sumaris-net/ngx-components 2.6.29 → 2.6.30
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/esm2020/src/app/shared/image/gallery/image-gallery.component.mjs +22 -16
- package/esm2020/src/app/shared/image/gallery/image-gallery.module.mjs +9 -6
- package/esm2020/src/app/shared/image/gallery/testing/gallery.testing.mjs +4 -3
- package/esm2020/src/app/shared/image/gallery/testing/gallery.testing.module.mjs +7 -4
- package/fesm2015/sumaris-net.ngx-components.mjs +42 -32
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +41 -32
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/image/gallery/image-gallery.component.d.ts +10 -10
- package/src/app/shared/image/gallery/image-gallery.module.d.ts +2 -1
- package/src/app/shared/image/gallery/testing/gallery.testing.module.d.ts +2 -1
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@ import { TableDataSource, TableElement } from '@e-is/ngx-material-table';
|
|
|
4
4
|
import { Environment } from '../../../../environments/environment.class';
|
|
5
5
|
import { ImageService } from '../image.service';
|
|
6
6
|
import { Image } from '../image.model';
|
|
7
|
-
import { AlertController, IonModal, IonPopover, Platform
|
|
7
|
+
import { AlertController, IonModal, IonPopover, Platform } from '@ionic/angular';
|
|
8
8
|
import { CollectionViewer, ListRange } from '@angular/cdk/collections';
|
|
9
9
|
import { TranslateService } from '@ngx-translate/core';
|
|
10
10
|
import { AppColors } from '../../types';
|
|
@@ -21,24 +21,23 @@ export declare class AppImageGalleryComponent<T extends Image> implements OnInit
|
|
|
21
21
|
protected image: ImageService;
|
|
22
22
|
protected platform: Platform;
|
|
23
23
|
protected alterCtrl: AlertController;
|
|
24
|
-
protected popoverCtrl: PopoverController;
|
|
25
24
|
protected translate: TranslateService;
|
|
26
25
|
protected cd: ChangeDetectorRef;
|
|
27
26
|
protected _destroySubject: Subject<void>;
|
|
28
27
|
protected _renderChangeSubscription: Subscription;
|
|
29
28
|
protected _subscription: Subscription;
|
|
30
29
|
protected _dataSource: TableDataSource<T>;
|
|
31
|
-
protected _data
|
|
30
|
+
protected _data$: BehaviorSubject<readonly TableElement<T>[] | TableElement<T>[]>;
|
|
32
31
|
protected _colSize: number;
|
|
33
32
|
protected _selectedRowIndex: number;
|
|
34
33
|
protected _presentingElement: Element;
|
|
35
34
|
protected _titleForm: FormGroup;
|
|
36
35
|
protected _titleAutofocus: boolean;
|
|
37
36
|
protected _slidesSubscription: Subscription;
|
|
38
|
-
protected swiperModules: ((opts: any) => void)[];
|
|
39
37
|
protected _swiper: Swiper;
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
protected swiperModules: ((opts: any) => void)[];
|
|
39
|
+
protected zoomActive: boolean;
|
|
40
|
+
protected zoomScale: number;
|
|
42
41
|
viewChange: BehaviorSubject<ListRange>;
|
|
43
42
|
cardColor: string | PredefinedColors;
|
|
44
43
|
debug: boolean;
|
|
@@ -55,7 +54,7 @@ export declare class AppImageGalleryComponent<T extends Image> implements OnInit
|
|
|
55
54
|
set dataSource(dataSource: TableDataSource<T>);
|
|
56
55
|
get dataSource(): TableDataSource<T>;
|
|
57
56
|
get enabled(): boolean;
|
|
58
|
-
get rows(): TableElement<T>[]
|
|
57
|
+
get rows(): TableElement<T>[] | ReadonlyArray<TableElement<T>>;
|
|
59
58
|
get rowCount(): number;
|
|
60
59
|
get activeIndex(): number;
|
|
61
60
|
zoomModal: IonModal;
|
|
@@ -65,7 +64,8 @@ export declare class AppImageGalleryComponent<T extends Image> implements OnInit
|
|
|
65
64
|
rows: TableElement<T>[];
|
|
66
65
|
}>>;
|
|
67
66
|
onAfterAddRows: EventEmitter<TableElement<T>[]>;
|
|
68
|
-
|
|
67
|
+
onAfterEditRow: EventEmitter<TableElement<T>>;
|
|
68
|
+
constructor(image: ImageService, platform: Platform, alterCtrl: AlertController, translate: TranslateService, cd: ChangeDetectorRef, environment?: Environment);
|
|
69
69
|
ngOnInit(): void;
|
|
70
70
|
ngAfterContentChecked(): void;
|
|
71
71
|
ngOnDestroy(): void;
|
|
@@ -93,6 +93,6 @@ export declare class AppImageGalleryComponent<T extends Image> implements OnInit
|
|
|
93
93
|
interactive?: boolean;
|
|
94
94
|
}): Promise<boolean>;
|
|
95
95
|
protected markForCheck(): void;
|
|
96
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AppImageGalleryComponent<any>, [null, null, null, null, null,
|
|
97
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppImageGalleryComponent<any>, "app-image-gallery", never, { "cardColor": "cardColor"; "debug": "debug"; "disabled": "disabled"; "readOnly": "readOnly"; "mobile": "mobile"; "mode": "mode"; "confirmBeforeDelete": "confirmBeforeDelete"; "showToolbar": "showToolbar"; "showFabButton": "showFabButton"; "showTitle": "showTitle"; "showAddCardButton": "showAddCardButton"; "addButtonColor": "addButtonColor"; "dataSource": "dataSource"; }, { "onBeforeDeleteRows": "onBeforeDeleteRows"; "onAfterAddRows": "onAfterAddRows"; }, never, never, false>;
|
|
96
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AppImageGalleryComponent<any>, [null, null, null, null, null, { optional: true; }]>;
|
|
97
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppImageGalleryComponent<any>, "app-image-gallery", never, { "cardColor": "cardColor"; "debug": "debug"; "disabled": "disabled"; "readOnly": "readOnly"; "mobile": "mobile"; "mode": "mode"; "confirmBeforeDelete": "confirmBeforeDelete"; "showToolbar": "showToolbar"; "showFabButton": "showFabButton"; "showTitle": "showTitle"; "showAddCardButton": "showAddCardButton"; "addButtonColor": "addButtonColor"; "dataSource": "dataSource"; }, { "onBeforeDeleteRows": "onBeforeDeleteRows"; "onAfterAddRows": "onAfterAddRows"; "onAfterEditRow": "onAfterEditRow"; }, never, never, false>;
|
|
98
98
|
}
|
|
@@ -7,8 +7,9 @@ import * as i5 from "../../material/material.module";
|
|
|
7
7
|
import * as i6 from "../../pipes/pipes.module";
|
|
8
8
|
import * as i7 from "../../directives/directives.module";
|
|
9
9
|
import * as i8 from "@ngx-translate/core";
|
|
10
|
+
import * as i9 from "@rx-angular/template/for";
|
|
10
11
|
export declare class ImageGalleryModule {
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageGalleryModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageGalleryModule, [typeof i1.AppImageGalleryComponent], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.ReactiveFormsModule, typeof i5.SharedMaterialModule, typeof i6.SharedPipesModule, typeof i7.SharedDirectivesModule, typeof i8.TranslateModule], [typeof i3.IonicModule, typeof i8.TranslateModule, typeof i1.AppImageGalleryComponent]>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageGalleryModule, [typeof i1.AppImageGalleryComponent], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.ReactiveFormsModule, typeof i5.SharedMaterialModule, typeof i6.SharedPipesModule, typeof i7.SharedDirectivesModule, typeof i8.TranslateModule, typeof i9.ForModule], [typeof i3.IonicModule, typeof i8.TranslateModule, typeof i1.AppImageGalleryComponent]>;
|
|
13
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<ImageGalleryModule>;
|
|
14
15
|
}
|
|
@@ -5,8 +5,9 @@ import * as i3 from "@ionic/angular";
|
|
|
5
5
|
import * as i4 from "../image-gallery.module";
|
|
6
6
|
import * as i5 from "@ngx-translate/core";
|
|
7
7
|
import * as i6 from "@angular/router";
|
|
8
|
+
import * as i7 from "../../../debug/debug.module";
|
|
8
9
|
export declare class ImageGalleryTestingModule {
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageGalleryTestingModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageGalleryTestingModule, [typeof i1.GalleryTestPage], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.ImageGalleryModule, typeof i5.TranslateModule, typeof i6.RouterModule, typeof i5.TranslateModule], [typeof i6.RouterModule, typeof i1.GalleryTestPage]>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageGalleryTestingModule, [typeof i1.GalleryTestPage], [typeof i2.CommonModule, typeof i3.IonicModule, typeof i4.ImageGalleryModule, typeof i5.TranslateModule, typeof i6.RouterModule, typeof i5.TranslateModule, typeof i7.SharedDebugModule], [typeof i6.RouterModule, typeof i1.GalleryTestPage]>;
|
|
11
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<ImageGalleryTestingModule>;
|
|
12
13
|
}
|
package/src/assets/manifest.json
CHANGED
|
@@ -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.
|
|
5
|
+
"version": "2.6.30",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|