@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/bundles/sumaris-net.ngx-components.umd.js +10 -10
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +2 -2
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/core/table/table.class.js +7 -7
- package/esm2015/src/app/shared/material/autocomplete/material.autocomplete.js +5 -5
- package/fesm2015/sumaris-net.ngx-components.js +10 -10
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/core/table/table.class.d.ts +6 -2
package/package.json
CHANGED
|
@@ -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
|
|
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
|
|
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;
|