@sumaris-net/ngx-components 18.22.8 → 18.22.9
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 +3 -0
- package/esm2022/src/app/core/table/async-table.class.mjs +14 -9
- package/esm2022/src/app/core/table/table.class.mjs +16 -11
- package/fesm2022/sumaris-net.ngx-components.mjs +28 -18
- 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 -2
- package/src/app/core/table/table.class.d.ts +6 -2
- package/src/app/shared/inputs.d.ts +1 -1
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -215,8 +215,12 @@ export declare abstract class AppAsyncTable<T extends IEntity<T, ID>, F = any, I
|
|
|
215
215
|
permanentSelectionChangedPrevented?: boolean;
|
|
216
216
|
}): Promise<void>;
|
|
217
217
|
confirmAndAdd(event?: Event, row?: AsyncTableElement<T>): Promise<boolean>;
|
|
218
|
-
confirmAndBackward(event?: Event, row?: AsyncTableElement<T
|
|
219
|
-
|
|
218
|
+
confirmAndBackward(event?: Event, row?: AsyncTableElement<T>, opts?: {
|
|
219
|
+
focusColumn?: string;
|
|
220
|
+
}): Promise<boolean>;
|
|
221
|
+
confirmAndForward(event?: Event, row?: AsyncTableElement<T>, opts?: {
|
|
222
|
+
focusColumn?: string;
|
|
223
|
+
}): Promise<boolean>;
|
|
220
224
|
/**
|
|
221
225
|
* Confirm the creation of the given row, or if not specified the currently edited row
|
|
222
226
|
*
|
|
@@ -220,8 +220,12 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
220
220
|
permanentSelectionChangedPrevented?: boolean;
|
|
221
221
|
}): void;
|
|
222
222
|
confirmAndAdd(event?: Event, row?: TableElement<T>): Promise<boolean>;
|
|
223
|
-
confirmAndBackward(event
|
|
224
|
-
|
|
223
|
+
confirmAndBackward(event: Event | undefined, row?: TableElement<T>, opts?: {
|
|
224
|
+
focusColumn?: string;
|
|
225
|
+
}): boolean | Promise<boolean>;
|
|
226
|
+
confirmAndForward(event: Event | undefined, row?: TableElement<T>, opts?: {
|
|
227
|
+
focusColumn?: string;
|
|
228
|
+
}): boolean | Promise<boolean>;
|
|
225
229
|
/**
|
|
226
230
|
* Confirm the creation of the given row, or if not specified the currently edited row
|
|
227
231
|
*
|
|
@@ -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.9",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|