@sumaris-net/ngx-components 18.27.3 → 18.27.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/doc/changelog.md +6 -0
- package/esm2022/src/app/core/about/about.modal.mjs +1 -1
- package/esm2022/src/app/core/form/entity/entity-editor.class.mjs +2 -2
- package/esm2022/src/app/core/table/async-table.class.mjs +10 -10
- package/esm2022/src/app/core/table/table.class.mjs +8 -8
- package/esm2022/src/app/shared/image/gallery/image-gallery.component.mjs +3 -3
- package/fesm2022/sumaris-net-ngx-components-testing.mjs.map +1 -1
- package/fesm2022/sumaris-net.ngx-components.mjs +19 -19
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +2 -19
- package/src/app/core/form/entity/entity-editor.class.d.ts +4 -1
- package/src/app/core/table/async-table.class.d.ts +12 -2
- package/src/app/core/table/table.class.d.ts +10 -2
- package/src/app/shared/image/gallery/image-gallery.component.d.ts +4 -0
- package/src/assets/manifest.json +1 -1
- package/testing/package.json +3 -0
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.27.
|
|
4
|
+
"version": "18.27.6",
|
|
5
5
|
"author": "contact@e-is.pro",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
7
7
|
"readmeFilename": "README.md",
|
|
@@ -39,11 +39,6 @@
|
|
|
39
39
|
"zone.js": "~0.14.10"
|
|
40
40
|
},
|
|
41
41
|
"optionalDependencies": {
|
|
42
|
-
"apollo-angular": "~7.2.1",
|
|
43
|
-
"apollo-link-logger": "~2.0.1",
|
|
44
|
-
"apollo-link-queue": "~3.1.0",
|
|
45
|
-
"apollo-link-serialize": "~4.0.0",
|
|
46
|
-
"apollo3-cache-persist": "~0.14.1",
|
|
47
42
|
"@awesome-cordova-plugins/audio-management": "^6.16.0",
|
|
48
43
|
"@awesome-cordova-plugins/core": "^6.16.0",
|
|
49
44
|
"@awesome-cordova-plugins/downloader": "^6.16.0",
|
|
@@ -69,19 +64,7 @@
|
|
|
69
64
|
"cordova-sqlite-storage": "~6.0.0",
|
|
70
65
|
"emoji-toolkit": ">= 8.0.0 < 10.0.0",
|
|
71
66
|
"localforage-cordovasqlitedriver": "~1.8.0",
|
|
72
|
-
"
|
|
73
|
-
"ionicons": "~7.4.0",
|
|
74
|
-
"jdenticon": "~3.3.0",
|
|
75
|
-
"ngx-markdown": "^18.1.0",
|
|
76
|
-
"ngx-color-picker": "~17.0.0",
|
|
77
|
-
"ngx-jdenticon": "~2.0.0",
|
|
78
|
-
"ngx-mat-timepicker": "^18.0.1",
|
|
79
|
-
"prismjs": "^1.28.0",
|
|
80
|
-
"rxjs": "~7.8.2",
|
|
81
|
-
"swiper": "^14.0.1",
|
|
82
|
-
"uuid": "~7.0.3",
|
|
83
|
-
"moment": "~2.30.1",
|
|
84
|
-
"moment-timezone": "~0.5.46"
|
|
67
|
+
"prismjs": "^1.28.0"
|
|
85
68
|
},
|
|
86
69
|
"repository": {
|
|
87
70
|
"type": "git",
|
|
@@ -139,7 +139,10 @@ export declare abstract class AppEntityEditor<T extends Entity<T, ID>, S extends
|
|
|
139
139
|
* Save data (if dirty and valid), and return it. Otherwise, return nil value.
|
|
140
140
|
*/
|
|
141
141
|
saveAndGetDataIfValid(): Promise<T | undefined>;
|
|
142
|
-
delete(event?: Event, opts?: DO
|
|
142
|
+
delete(event?: Event, opts?: DO & {
|
|
143
|
+
backdropDismiss?: boolean;
|
|
144
|
+
keyboardClose?: boolean;
|
|
145
|
+
}): Promise<boolean>;
|
|
143
146
|
reload(): Promise<void>;
|
|
144
147
|
unload(opts?: {
|
|
145
148
|
emitEvent?: boolean;
|
|
@@ -350,6 +350,8 @@ export declare abstract class AppAsyncTable<T extends IEntity<T, ID>, F = any, I
|
|
|
350
350
|
}): Promise<boolean>;
|
|
351
351
|
protected canCancelRows(rows?: AsyncTableElement<T>[], opts?: {
|
|
352
352
|
interactive?: boolean;
|
|
353
|
+
backdropDismiss?: boolean;
|
|
354
|
+
keyboardClose?: boolean;
|
|
353
355
|
}): Promise<boolean>;
|
|
354
356
|
protected saveBeforeAction(saveAction: SaveActionType): Promise<boolean>;
|
|
355
357
|
/**
|
|
@@ -392,9 +394,17 @@ export declare abstract class AppAsyncTable<T extends IEntity<T, ID>, F = any, I
|
|
|
392
394
|
protected detectChanges(): void;
|
|
393
395
|
protected askDeleteConfirmation(event?: Event, rows?: AsyncTableElement<T>[], opts?: {
|
|
394
396
|
messageKey?: string;
|
|
397
|
+
backdropDismiss?: boolean;
|
|
398
|
+
keyboardClose?: boolean;
|
|
399
|
+
}): Promise<boolean>;
|
|
400
|
+
protected askCancelConfirmation(event?: Event, rows?: AsyncTableElement<T>[], opts?: {
|
|
401
|
+
backdropDismiss?: boolean;
|
|
402
|
+
keyboardClose?: boolean;
|
|
403
|
+
}): Promise<boolean>;
|
|
404
|
+
protected askRestoreConfirmation(event?: Event, opts?: {
|
|
405
|
+
backdropDismiss?: boolean;
|
|
406
|
+
keyboardClose?: boolean;
|
|
395
407
|
}): Promise<boolean>;
|
|
396
|
-
protected askCancelConfirmation(event?: Event, rows?: AsyncTableElement<T>[]): Promise<boolean>;
|
|
397
|
-
protected askRestoreConfirmation(event?: Event): Promise<boolean>;
|
|
398
408
|
protected showToast(opts: ShowToastOptions): Promise<import("@ionic/core").OverlayEventDetail<any>>;
|
|
399
409
|
protected resetError(opts?: {
|
|
400
410
|
emitEvent?: boolean;
|
|
@@ -373,9 +373,17 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
373
373
|
protected detectChanges(): void;
|
|
374
374
|
protected askDeleteConfirmation(event?: Event, rows?: TableElement<T>[], opts?: {
|
|
375
375
|
messageKey?: string;
|
|
376
|
+
backdropDismiss?: boolean;
|
|
377
|
+
keyboardClose?: boolean;
|
|
378
|
+
}): Promise<boolean>;
|
|
379
|
+
protected askCancelConfirmation(event?: Event, rows?: TableElement<T>[], opts?: {
|
|
380
|
+
backdropDismiss?: boolean;
|
|
381
|
+
keyboardClose?: boolean;
|
|
382
|
+
}): Promise<boolean>;
|
|
383
|
+
protected askRestoreConfirmation(event?: Event, opts?: {
|
|
384
|
+
backdropDismiss?: boolean;
|
|
385
|
+
keyboardClose?: boolean;
|
|
376
386
|
}): Promise<boolean>;
|
|
377
|
-
protected askCancelConfirmation(event?: Event, rows?: TableElement<T>[]): Promise<boolean>;
|
|
378
|
-
protected askRestoreConfirmation(event?: Event): Promise<boolean>;
|
|
379
387
|
protected showToast(opts: ShowToastOptions): Promise<import("@ionic/core").OverlayEventDetail<any>>;
|
|
380
388
|
protected resetError(opts?: {
|
|
381
389
|
emitEvent?: boolean;
|
|
@@ -140,6 +140,8 @@ export declare class AppImageGalleryComponent<T extends Image> implements OnInit
|
|
|
140
140
|
} & Omit<ImageOptions, 'resultType'>): Promise<void>;
|
|
141
141
|
delete(event: Event, row: TableElement<T>, opts?: {
|
|
142
142
|
interactive?: boolean;
|
|
143
|
+
backdropDismiss?: boolean;
|
|
144
|
+
keyboardClose?: boolean;
|
|
143
145
|
}): Promise<boolean>;
|
|
144
146
|
toggleViewMode(_?: Event): void;
|
|
145
147
|
setViewMode(mode: GalleryMode): void;
|
|
@@ -171,6 +173,8 @@ export declare class AppImageGalleryComponent<T extends Image> implements OnInit
|
|
|
171
173
|
}>): Promise<void>;
|
|
172
174
|
protected canDeleteRows(rows: TableElement<T>[], opts?: {
|
|
173
175
|
interactive?: boolean;
|
|
176
|
+
backdropDismiss?: boolean;
|
|
177
|
+
keyboardClose?: boolean;
|
|
174
178
|
}): Promise<boolean>;
|
|
175
179
|
protected getImageSizeQueryParams(mode?: GalleryMode | 'modal'): {
|
|
176
180
|
[key: string]: any;
|
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.27.
|
|
5
|
+
"version": "18.27.6",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|