@sumaris-net/ngx-components 18.10.25 → 18.10.26
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/esm2022/src/app/core/table/table.class.mjs +2 -2
- package/esm2022/src/app/shared/image/gallery/image-gallery.component.mjs +6 -6
- package/esm2022/src/app/shared/image/image.service.mjs +1 -1
- package/fesm2022/sumaris-net.ngx-components.mjs +6 -6
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/image/gallery/image-gallery.component.d.ts +9 -3
- package/src/app/shared/image/image.service.d.ts +1 -1
- package/src/assets/manifest.json +1 -1
- package/src/theme/_ngx-components.table.scss +1 -4
package/package.json
CHANGED
|
@@ -11,6 +11,7 @@ import { AppColors } from '../../types';
|
|
|
11
11
|
import { FormGroup } from '@angular/forms';
|
|
12
12
|
import { PredefinedColors } from '@ionic/core';
|
|
13
13
|
import { Swiper } from 'swiper/types';
|
|
14
|
+
import { ImageOptions } from '@capacitor/camera';
|
|
14
15
|
import * as i0 from "@angular/core";
|
|
15
16
|
export declare type GalleryMode = 'mosaic' | 'list';
|
|
16
17
|
export interface ISwiper extends Swiper {
|
|
@@ -23,7 +24,7 @@ export interface ImageGallerySizes {
|
|
|
23
24
|
modal: ImageSize | string;
|
|
24
25
|
}
|
|
25
26
|
export declare class AppImageGalleryComponent<T extends Image> implements OnInit, OnDestroy, CollectionViewer, AfterContentChecked {
|
|
26
|
-
protected
|
|
27
|
+
protected imageService: ImageService;
|
|
27
28
|
protected platform: Platform;
|
|
28
29
|
protected alterCtrl: AlertController;
|
|
29
30
|
protected translate: TranslateService;
|
|
@@ -82,11 +83,16 @@ export declare class AppImageGalleryComponent<T extends Image> implements OnInit
|
|
|
82
83
|
onAfterAddRows: EventEmitter<TableElement<T>[]>;
|
|
83
84
|
onAfterEditRow: EventEmitter<TableElement<T>>;
|
|
84
85
|
click: EventEmitter<T>;
|
|
85
|
-
constructor(
|
|
86
|
+
constructor(imageService: ImageService, platform: Platform, alterCtrl: AlertController, translate: TranslateService, cd: ChangeDetectorRef, environment?: Environment);
|
|
86
87
|
ngOnInit(): void;
|
|
87
88
|
ngAfterContentChecked(): void;
|
|
88
89
|
ngOnDestroy(): void;
|
|
89
|
-
add(event?: Event
|
|
90
|
+
add(event?: Event, opts?: {
|
|
91
|
+
maxHeight?: number;
|
|
92
|
+
mawWidth?: number;
|
|
93
|
+
quality?: number;
|
|
94
|
+
multiple?: boolean;
|
|
95
|
+
} & Omit<ImageOptions, 'resultType'>): Promise<void>;
|
|
90
96
|
delete(event: Event, row: TableElement<T>, opts?: {
|
|
91
97
|
interactive?: boolean;
|
|
92
98
|
}): Promise<boolean>;
|
|
@@ -22,7 +22,7 @@ export declare class ImageService extends StartableService {
|
|
|
22
22
|
mawWidth?: number;
|
|
23
23
|
quality?: number;
|
|
24
24
|
multiple?: boolean;
|
|
25
|
-
} & ImageOptions): Promise<Image[] | undefined>;
|
|
25
|
+
} & Omit<ImageOptions, 'resultType'>): Promise<Image[] | undefined>;
|
|
26
26
|
protected addUploadedImages(event?: Event, opts?: {
|
|
27
27
|
maxHeight?: number;
|
|
28
28
|
mawWidth?: number;
|
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": "18.10.
|
|
5
|
+
"version": "18.10.26",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|
|
@@ -249,7 +249,7 @@
|
|
|
249
249
|
|
|
250
250
|
.mat-mdc-row,
|
|
251
251
|
.mat-mdc-footer-row {
|
|
252
|
-
|
|
252
|
+
|
|
253
253
|
// Disabled row
|
|
254
254
|
&.mat-mdc-row-disabled *,
|
|
255
255
|
&.mat-row-disabled * {
|
|
@@ -316,9 +316,6 @@
|
|
|
316
316
|
|
|
317
317
|
.mat-mdc-input-element:disabled,
|
|
318
318
|
.mat-form-field-disabled {
|
|
319
|
-
//.mat-mdc-form-field-label {
|
|
320
|
-
// visibility: hidden;
|
|
321
|
-
//}
|
|
322
319
|
color: inherit;
|
|
323
320
|
|
|
324
321
|
.mdc-floating-label {
|