@sumaris-net/ngx-components 18.22.8 → 18.22.10
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/table/async-table.class.mjs +23 -11
- package/esm2022/src/app/core/table/table.class.mjs +40 -16
- package/fesm2022/sumaris-net.ngx-components.mjs +61 -25
- 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 +9 -3
- package/src/app/core/table/table.class.d.ts +9 -3
- package/src/app/shared/inputs.d.ts +1 -1
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -214,9 +214,15 @@ export declare abstract class AppAsyncTable<T extends IEntity<T, ID>, F = any, I
|
|
|
214
214
|
emitEvent?: boolean;
|
|
215
215
|
permanentSelectionChangedPrevented?: boolean;
|
|
216
216
|
}): Promise<void>;
|
|
217
|
-
confirmAndAdd(event?: Event, row?: AsyncTableElement<T
|
|
218
|
-
|
|
219
|
-
|
|
217
|
+
confirmAndAdd(event?: Event, row?: AsyncTableElement<T>, opts?: {
|
|
218
|
+
focusColumn?: string;
|
|
219
|
+
}): Promise<boolean>;
|
|
220
|
+
confirmAndBackward(event?: Event, row?: AsyncTableElement<T>, opts?: {
|
|
221
|
+
focusColumn?: string;
|
|
222
|
+
}): Promise<boolean>;
|
|
223
|
+
confirmAndForward(event: Event | undefined, row?: AsyncTableElement<T>, opts?: {
|
|
224
|
+
focusColumn?: string;
|
|
225
|
+
}): Promise<boolean>;
|
|
220
226
|
/**
|
|
221
227
|
* Confirm the creation of the given row, or if not specified the currently edited row
|
|
222
228
|
*
|
|
@@ -219,9 +219,15 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
219
219
|
emitEvent?: boolean;
|
|
220
220
|
permanentSelectionChangedPrevented?: boolean;
|
|
221
221
|
}): void;
|
|
222
|
-
confirmAndAdd(event?: Event, row?: TableElement<T
|
|
223
|
-
|
|
224
|
-
|
|
222
|
+
confirmAndAdd(event?: Event, row?: TableElement<T>, opts?: {
|
|
223
|
+
focusColumn?: string;
|
|
224
|
+
}): Promise<boolean>;
|
|
225
|
+
confirmAndBackward(event: Event | undefined, row?: TableElement<T>, opts?: {
|
|
226
|
+
focusColumn?: string;
|
|
227
|
+
}): boolean | Promise<boolean>;
|
|
228
|
+
confirmAndForward(event: Event | undefined, row?: TableElement<T>, opts?: {
|
|
229
|
+
focusColumn?: string;
|
|
230
|
+
}): boolean | Promise<boolean>;
|
|
225
231
|
/**
|
|
226
232
|
* Confirm the creation of the given row, or if not specified the currently edited row
|
|
227
233
|
*
|
|
@@ -17,7 +17,7 @@ export interface InputElement extends FocusableElement {
|
|
|
17
17
|
}
|
|
18
18
|
export declare function isInputElement(object: any): object is InputElement;
|
|
19
19
|
export declare function asInputElement<T = any>(object: ElementRef<T>): InputElement | undefined;
|
|
20
|
-
export declare function tabindexComparator(a: InputElement, b: InputElement):
|
|
20
|
+
export declare function tabindexComparator(a: InputElement, b: InputElement): 1 | 0 | -1;
|
|
21
21
|
export interface CanGainFocusOptions {
|
|
22
22
|
minTabindex?: number;
|
|
23
23
|
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.22.
|
|
5
|
+
"version": "18.22.10",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|