@sumaris-net/ngx-components 2.12.25-rc2 → 2.12.25-rc4

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": "2.12.25-rc2",
4
+ "version": "2.12.25-rc4",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -8,7 +8,7 @@ import { EntitiesServiceWatchOptions, FetchMoreFn, IEntitiesService, LoadResult
8
8
  import { IEntitiesTableDataSource } from './table.model';
9
9
  import * as i0 from "@angular/core";
10
10
  export interface EntitiesAsyncTableDataSourceConfig<T extends Entity<T, ID>, ID = number, WO extends EntitiesServiceWatchOptions = EntitiesServiceWatchOptions, SO = any> extends TableDataSourceConfig {
11
- onRowCreated?: (row: AsyncTableElement<T>) => Promise<void>;
11
+ onRowCreated?: (row: AsyncTableElement<T>) => Promise<void> | void;
12
12
  saveOnlyDirtyRows?: boolean;
13
13
  readOnly?: boolean;
14
14
  /**
@@ -8,7 +8,7 @@ import { EntitiesServiceWatchOptions, FetchMoreFn, IEntitiesService, LoadResult
8
8
  import { IEntitiesTableDataSource } from './table.model';
9
9
  import * as i0 from "@angular/core";
10
10
  export interface EntitiesTableDataSourceConfig<T extends Entity<T, ID>, ID = number, WO extends EntitiesServiceWatchOptions = EntitiesServiceWatchOptions, SO = any> extends TableDataSourceConfig {
11
- onRowCreated?: (row: TableElement<T>) => Promise<void>;
11
+ onRowCreated?: (row: TableElement<T>) => Promise<void> | void;
12
12
  saveOnlyDirtyRows?: boolean;
13
13
  saveBeforeDelete?: boolean;
14
14
  readOnly?: boolean;
@@ -46,6 +46,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
46
46
  protected previouslyEditedRowId: number;
47
47
  protected formErrorAdapter: FormErrorTranslator;
48
48
  protected readonly destroySubject: Subject<void>;
49
+ protected forceDetectChanges: boolean;
49
50
  excludesColumns: string[];
50
51
  displayedColumns: string[];
51
52
  totalRowCount: number | null;
@@ -342,6 +343,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
342
343
  protected getShowColumn(columnName: string): boolean;
343
344
  protected startsWithUpperCase(input: string, search: string): boolean;
344
345
  protected markForCheck(): void;
346
+ protected detectChanges(): void;
345
347
  protected askDeleteConfirmation(event?: Event, rows?: TableElement<T>[]): Promise<boolean>;
346
348
  protected askCancelConfirmation(event?: Event, rows?: TableElement<T>[]): Promise<boolean>;
347
349
  protected askRestoreConfirmation(event?: Event): Promise<boolean>;
@@ -16,7 +16,7 @@ export interface InputElement extends FocusableElement {
16
16
  }
17
17
  export declare function isInputElement(object: any): object is InputElement;
18
18
  export declare function asInputElement(object: ElementRef): InputElement | undefined;
19
- export declare function tabindexComparator(a: InputElement, b: InputElement): 0 | 1 | -1;
19
+ export declare function tabindexComparator(a: InputElement, b: InputElement): 1 | 0 | -1;
20
20
  export interface CanGainFocusOptions {
21
21
  minTabindex?: number;
22
22
  maxTabindex?: number;