@sumaris-net/ngx-components 1.20.34 → 1.20.35

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": "1.20.34",
4
+ "version": "1.20.35",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -244,7 +244,9 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
244
244
  interactive?: boolean;
245
245
  keepEditing?: boolean;
246
246
  }): void;
247
- addRow(event?: Event, insertAt?: number): boolean;
247
+ addRow(event?: Event, insertAt?: number, opts?: {
248
+ focusColumn?: string;
249
+ }): boolean;
248
250
  save(opts?: {
249
251
  keepEditing?: boolean;
250
252
  }): Promise<boolean>;
@@ -341,7 +343,9 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
341
343
  protected registerAutocompleteField<E = any, EF = any>(fieldName: string, options?: MatAutocompleteFieldAddOptions<E, EF>): MatAutocompleteFieldConfig<E, EF>;
342
344
  protected getI18nColumnName(columnName: string): string;
343
345
  protected generateTableId(): string;
344
- protected addRowToTable(insertAt?: number): Promise<TableElement<T>>;
346
+ protected addRowToTable(insertAt?: number, opts?: {
347
+ focusColumn?: string;
348
+ }): Promise<TableElement<T>>;
345
349
  protected registerCellValueChanges(name: string, formPath?: string, emitInitialValue?: boolean): Observable<any>;
346
350
  protected setShowColumn(columnName: string, show: boolean, opts?: {
347
351
  emitEvent?: boolean;