@sumaris-net/ngx-components 18.23.37 → 18.23.39
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/form/entity/entity-editor.class.mjs +2 -2
- package/esm2022/src/app/core/form/properties/properties.table.mjs +3 -3
- package/esm2022/src/app/core/services/testing/referential.validator.mjs +11 -11
- package/esm2022/src/app/core/table/async-table.class.mjs +7 -4
- package/esm2022/src/app/core/table/table.class.mjs +6 -3
- package/esm2022/src/app/social/feed/feed.component.mjs +3 -3
- package/fesm2022/sumaris-net.ngx-components.mjs +25 -19
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/table/async-table.class.d.ts +6 -1
- package/src/app/core/table/table.class.d.ts +6 -1
- package/src/app/shared/inputs.d.ts +1 -1
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -283,6 +283,7 @@ export declare abstract class AppAsyncTable<T extends IEntity<T, ID>, F = any, I
|
|
|
283
283
|
masterToggle(): Promise<void>;
|
|
284
284
|
deleteSelection(event: Event, opts?: {
|
|
285
285
|
interactive?: boolean;
|
|
286
|
+
messageKey?: string;
|
|
286
287
|
}): Promise<number>;
|
|
287
288
|
/**
|
|
288
289
|
*
|
|
@@ -303,6 +304,7 @@ export declare abstract class AppAsyncTable<T extends IEntity<T, ID>, F = any, I
|
|
|
303
304
|
*/
|
|
304
305
|
deleteRows(event: Event | null, rows: AsyncTableElement<T>[], opts?: {
|
|
305
306
|
interactive?: boolean;
|
|
307
|
+
messageKey?: string;
|
|
306
308
|
}): Promise<number>;
|
|
307
309
|
selectRowById(id: number): Promise<boolean>;
|
|
308
310
|
/**
|
|
@@ -341,6 +343,7 @@ export declare abstract class AppAsyncTable<T extends IEntity<T, ID>, F = any, I
|
|
|
341
343
|
protected get singleSelectedRow(): AsyncTableElement<T>;
|
|
342
344
|
protected canDeleteRows(rows: AsyncTableElement<T>[], opts?: {
|
|
343
345
|
interactive?: boolean;
|
|
346
|
+
messageKey?: string;
|
|
344
347
|
}): Promise<boolean>;
|
|
345
348
|
protected canCancelRows(rows?: AsyncTableElement<T>[], opts?: {
|
|
346
349
|
interactive?: boolean;
|
|
@@ -384,7 +387,9 @@ export declare abstract class AppAsyncTable<T extends IEntity<T, ID>, F = any, I
|
|
|
384
387
|
protected getShowColumn(columnName: string): boolean;
|
|
385
388
|
protected markForCheck(): void;
|
|
386
389
|
protected detectChanges(): void;
|
|
387
|
-
protected askDeleteConfirmation(event?: Event, rows?: AsyncTableElement<T>[]
|
|
390
|
+
protected askDeleteConfirmation(event?: Event, rows?: AsyncTableElement<T>[], opts?: {
|
|
391
|
+
messageKey?: string;
|
|
392
|
+
}): Promise<boolean>;
|
|
388
393
|
protected askCancelConfirmation(event?: Event, rows?: AsyncTableElement<T>[]): Promise<boolean>;
|
|
389
394
|
protected askRestoreConfirmation(event?: Event): Promise<boolean>;
|
|
390
395
|
protected showToast(opts: ShowToastOptions): Promise<import("@ionic/core").OverlayEventDetail<any>>;
|
|
@@ -267,6 +267,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
267
267
|
masterToggle(): Promise<void>;
|
|
268
268
|
deleteSelection(event: Event, opts?: {
|
|
269
269
|
interactive?: boolean;
|
|
270
|
+
messageKey?: string;
|
|
270
271
|
}): Promise<number>;
|
|
271
272
|
/**
|
|
272
273
|
*
|
|
@@ -287,6 +288,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
287
288
|
*/
|
|
288
289
|
deleteRows(event: Event | null, rows: TableElement<T>[], opts?: {
|
|
289
290
|
interactive?: boolean;
|
|
291
|
+
messageKey?: string;
|
|
290
292
|
}): Promise<number>;
|
|
291
293
|
selectRowById(id: number): Promise<boolean>;
|
|
292
294
|
/**
|
|
@@ -325,6 +327,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
325
327
|
protected get singleSelectedRow(): TableElement<T>;
|
|
326
328
|
protected canDeleteRows(rows: TableElement<T>[], opts?: {
|
|
327
329
|
interactive?: boolean;
|
|
330
|
+
messageKey?: string;
|
|
328
331
|
}): Promise<boolean>;
|
|
329
332
|
protected canCancelRows(rows?: TableElement<T>[], opts?: {
|
|
330
333
|
interactive?: boolean;
|
|
@@ -368,7 +371,9 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
368
371
|
protected getShowColumn(columnName: string): boolean;
|
|
369
372
|
protected markForCheck(): void;
|
|
370
373
|
protected detectChanges(): void;
|
|
371
|
-
protected askDeleteConfirmation(event?: Event, rows?: TableElement<T>[]
|
|
374
|
+
protected askDeleteConfirmation(event?: Event, rows?: TableElement<T>[], opts?: {
|
|
375
|
+
messageKey?: string;
|
|
376
|
+
}): Promise<boolean>;
|
|
372
377
|
protected askCancelConfirmation(event?: Event, rows?: TableElement<T>[]): Promise<boolean>;
|
|
373
378
|
protected askRestoreConfirmation(event?: Event): Promise<boolean>;
|
|
374
379
|
protected showToast(opts: ShowToastOptions): Promise<import("@ionic/core").OverlayEventDetail<any>>;
|
|
@@ -18,7 +18,7 @@ export interface InputElement extends FocusableElement {
|
|
|
18
18
|
}
|
|
19
19
|
export declare function isInputElement(object: any): object is InputElement;
|
|
20
20
|
export declare function asInputElement<T = any>(object: ElementRef<T>): InputElement | undefined;
|
|
21
|
-
export declare function tabindexComparator(a: InputElement, b: InputElement):
|
|
21
|
+
export declare function tabindexComparator(a: InputElement, b: InputElement): 1 | 0 | -1;
|
|
22
22
|
export interface CanGainFocusOptions {
|
|
23
23
|
minTabindex?: number;
|
|
24
24
|
maxTabindex?: 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.23.
|
|
5
|
+
"version": "18.23.39",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|