@sumaris-net/ngx-components 18.23.0-beta.3 → 18.23.0-beta.5

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.23.0-beta.3",
4
+ "version": "18.23.0-beta.5",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -34,6 +34,7 @@ export declare class AppListForm<T = any> extends AppForm<T[]> implements OnInit
34
34
  options: AppListFormOptions<T>;
35
35
  displayWithFn: (item: any) => string;
36
36
  equalsFn: (v1: T, v2: T) => boolean;
37
+ isEmptyFn: (item: T) => boolean;
37
38
  onNewItem: EventEmitter<Event>;
38
39
  selectionChanges: EventEmitter<T[]>;
39
40
  set value(data: T[]);
@@ -77,5 +78,5 @@ export declare class AppListForm<T = any> extends AppForm<T[]> implements OnInit
77
78
  protected createControl(data?: any): AbstractControl;
78
79
  protected markForCheck(): void;
79
80
  static ɵfac: i0.ɵɵFactoryDeclaration<AppListForm<any>, [null, null, null, null, null, { optional: true; }]>;
80
- static ɵcmp: i0.ɵɵComponentDeclaration<AppListForm<any>, "app-list-form", never, { "formArrayName": { "alias": "formArrayName"; "required": false; }; "formArray": { "alias": "formArray"; "required": false; }; "options": { "alias": "options"; "required": false; }; "displayWithFn": { "alias": "displayWith"; "required": false; }; "equalsFn": { "alias": "equals"; "required": false; }; }, { "onNewItem": "onNewItem"; "selectionChanges": "selectionChanges"; }, never, never, false, never>;
81
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppListForm<any>, "app-list-form", never, { "formArrayName": { "alias": "formArrayName"; "required": false; }; "formArray": { "alias": "formArray"; "required": false; }; "options": { "alias": "options"; "required": false; }; "displayWithFn": { "alias": "displayWith"; "required": false; }; "equalsFn": { "alias": "equals"; "required": false; }; "isEmptyFn": { "alias": "isEmpty"; "required": false; }; }, { "onNewItem": "onNewItem"; "selectionChanges": "selectionChanges"; }, never, never, false, never>;
81
82
  }
@@ -25,7 +25,7 @@ export interface CellSelectionServiceConfig<C extends ICellId> {
25
25
  export declare class CellSelectionService<C extends ICellId = ICellId> {
26
26
  config: CellSelectionServiceConfig<any>;
27
27
  selectableColumns: string[];
28
- selectedCells: C[];
28
+ private _selectedCells;
29
29
  private selectionStartCell;
30
30
  private isSelecting;
31
31
  draggedCells: C[];
@@ -38,6 +38,8 @@ export declare class CellSelectionService<C extends ICellId = ICellId> {
38
38
  constructor();
39
39
  equals(cell1: C, cell2: C): boolean;
40
40
  new(cellId: ICellId): C;
41
+ get selectedCells(): C[];
42
+ set selectedCells(value: C[]);
41
43
  isCellSelected(cellId: C): boolean;
42
44
  isCellDragged(cellId: C): boolean;
43
45
  handleCellMouseDown(event: MouseEvent, cellId: C): Promise<void>;