@sumaris-net/ngx-components 18.27.13 → 18.27.14-rc1

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.27.13",
4
+ "version": "18.27.14-rc1",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -271,9 +271,21 @@ export declare abstract class AppAsyncTable<T extends IEntity<T, ID>, F = any, I
271
271
  focusColumn?: string;
272
272
  editing?: boolean;
273
273
  }): Promise<boolean>;
274
+ /**
275
+ * Save the table
276
+ *
277
+ * @param opts.keepEditing if true, the edited row will be kept after save (defaulting to this.keepEditedRowOnSave)
278
+ * @param opts.keepSelection if true, the selected row will be kept after save (no effect if opts.keepEditing is true)
279
+ * @param opts.confirmRow if true or not provided, the edited row will be confirmed before save
280
+ * @param opts.throwIfNotConfirmed if true or not provided, an error will be thrown if the edited row is not confirmed
281
+ */
274
282
  save(opts?: {
275
283
  keepEditing?: boolean;
284
+ keepSelection?: boolean;
285
+ confirmRow?: boolean;
286
+ throwIfNotConfirmed?: boolean;
276
287
  }): Promise<boolean>;
288
+ protected selectRowsByIds(rowIds: number[]): Promise<void>;
277
289
  cancel(event?: Event, opts?: {
278
290
  interactive?: boolean;
279
291
  }): Promise<void>;
@@ -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): 1 | 0 | -1;
21
+ export declare function tabindexComparator(a: InputElement, b: InputElement): 0 | 1 | -1;
22
22
  export interface CanGainFocusOptions {
23
23
  minTabindex?: number;
24
24
  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.27.13",
5
+ "version": "18.27.14-rc1",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{