eru-grid 0.0.66 → 0.0.68
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/fesm2022/eru-grid.mjs +32 -2
- package/fesm2022/eru-grid.mjs.map +1 -1
- package/package.json +1 -1
- package/types/eru-grid.d.ts +15 -5
package/package.json
CHANGED
package/types/eru-grid.d.ts
CHANGED
|
@@ -1745,8 +1745,8 @@ declare class EruGridStore {
|
|
|
1745
1745
|
setActiveBoardRow(row: any): void;
|
|
1746
1746
|
deselectRow(rowId: string): void;
|
|
1747
1747
|
toggleRowSelection(rowId: string): void;
|
|
1748
|
-
selectAllRowsInGroup(groupId: string): void;
|
|
1749
|
-
deselectAllRowsInGroup(groupId: string): void;
|
|
1748
|
+
selectAllRowsInGroup(groupId: string | null | undefined): void;
|
|
1749
|
+
deselectAllRowsInGroup(groupId: string | null | undefined): void;
|
|
1750
1750
|
/** Select every row loaded so far, across all groups. Stage one of select-all. */
|
|
1751
1751
|
selectAllLoadedRows(): void;
|
|
1752
1752
|
/**
|
|
@@ -1776,7 +1776,7 @@ declare class EruGridStore {
|
|
|
1776
1776
|
setLoading(isLoading: boolean): void;
|
|
1777
1777
|
setError(error: string | null): void;
|
|
1778
1778
|
isRowSelected(rowId: string): boolean;
|
|
1779
|
-
isGroupSelected(groupId: string): boolean;
|
|
1779
|
+
isGroupSelected(groupId: string | null | undefined): boolean;
|
|
1780
1780
|
getRowsForGroup(groupId: string | null | undefined): Row[];
|
|
1781
1781
|
setGridMode(mode: GridMode): void;
|
|
1782
1782
|
updateGridConfiguration(updates: Partial<GridConfiguration>): void;
|
|
@@ -2503,7 +2503,16 @@ declare class EruGridComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
2503
2503
|
getPivotGridColumns(): string;
|
|
2504
2504
|
private initializeColumnWidths;
|
|
2505
2505
|
toggleRowSelection(event: Event, row: any): void;
|
|
2506
|
-
toggleGroupSelection(event: Event, groupId: string): void;
|
|
2506
|
+
toggleGroupSelection(event: Event, groupId: string | null | undefined): void;
|
|
2507
|
+
/** Selection is on for the board too: the same flag that adds the table's checkbox column. */
|
|
2508
|
+
boardSelectionEnabled: _angular_core.Signal<boolean>;
|
|
2509
|
+
rowKey(row: any): string;
|
|
2510
|
+
/**
|
|
2511
|
+
* `toggleSelect` for a custom boardCardTemplate, so a card that draws its own
|
|
2512
|
+
* checkbox selects through the same store as the built-in one.
|
|
2513
|
+
*/
|
|
2514
|
+
toggleRowCheckedFn(row: any): () => void;
|
|
2515
|
+
isGroupPartlySelected(groupId: string | null | undefined): boolean;
|
|
2507
2516
|
/**
|
|
2508
2517
|
* A row action was clicked. Announced two ways, because the two kinds of
|
|
2509
2518
|
* consumer read the grid differently: the store signal is what processo's
|
|
@@ -2631,7 +2640,7 @@ declare class EruGridComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
2631
2640
|
selectAllMatchingRows(): void;
|
|
2632
2641
|
clearRowSelection(): void;
|
|
2633
2642
|
isRowSelected(rowId?: string): boolean;
|
|
2634
|
-
isGroupSelected(groupId: string): boolean;
|
|
2643
|
+
isGroupSelected(groupId: string | null | undefined): boolean;
|
|
2635
2644
|
isAllGroupsSelected(): boolean;
|
|
2636
2645
|
getSelectedRows(): Row[];
|
|
2637
2646
|
getSelectedRowIds(): string[];
|
|
@@ -2747,6 +2756,7 @@ declare class EruGridComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
2747
2756
|
readonly boardWrapColumns: _angular_core.Signal<boolean>;
|
|
2748
2757
|
readonly visibleBoardFields: _angular_core.Signal<Field[]>;
|
|
2749
2758
|
readonly visibleColumns: _angular_core.Signal<Field[]>;
|
|
2759
|
+
readonly isEmptyTable: _angular_core.Signal<boolean>;
|
|
2750
2760
|
readonly hiddenColumns: _angular_core.Signal<Field[]>;
|
|
2751
2761
|
readonly hasHiddenColumns: _angular_core.Signal<boolean>;
|
|
2752
2762
|
readonly expandedRows: _angular_core.WritableSignal<Set<string>>;
|