@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/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.22.8",
4
+ "version": "18.22.9",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -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>): Promise<boolean>;
219
- confirmAndForward(event?: Event, row?: AsyncTableElement<T>): Promise<boolean>;
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?: Event, row?: TableElement<T>): boolean | Promise<boolean>;
224
- confirmAndForward(event?: Event, row?: TableElement<T>): boolean | Promise<boolean>;
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): 0 | 1 | -1;
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;
@@ -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.8",
5
+ "version": "18.22.9",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{