@mozaic-ds/angular 2.0.42 → 2.0.44
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
|
@@ -2674,12 +2674,24 @@ declare class RowSelectionEngine<T = unknown> {
|
|
|
2674
2674
|
private readonly engine;
|
|
2675
2675
|
readonly selectedIds: _angular_core.Signal<Set<unknown>>;
|
|
2676
2676
|
readonly excludedIds: _angular_core.Signal<Set<unknown>>;
|
|
2677
|
-
|
|
2677
|
+
/**
|
|
2678
|
+
* Anchor row for shift-click range selection. We track the row object
|
|
2679
|
+
* (not its index) so the anchor stays valid across grouping, sorting and
|
|
2680
|
+
* filtering — where display indices shift without the underlying row
|
|
2681
|
+
* changing.
|
|
2682
|
+
*/
|
|
2683
|
+
readonly lastToggledRow: _angular_core.WritableSignal<T | null>;
|
|
2678
2684
|
readonly count: _angular_core.Signal<number>;
|
|
2679
2685
|
readonly pageSelectedCount: _angular_core.Signal<number>;
|
|
2680
2686
|
readonly isAllSelected: _angular_core.Signal<boolean>;
|
|
2681
2687
|
readonly isIndeterminate: _angular_core.Signal<boolean>;
|
|
2682
|
-
|
|
2688
|
+
/**
|
|
2689
|
+
* Extends the selection from the last-toggled row (the anchor) to `endRow`,
|
|
2690
|
+
* resolving positions by object identity against the currently paginated
|
|
2691
|
+
* data. This is robust to grouping / sorting / filtering because we don't
|
|
2692
|
+
* rely on numeric indices, and works across any visible page slice.
|
|
2693
|
+
*/
|
|
2694
|
+
selectRowRangeToRow(endRow: T): void;
|
|
2683
2695
|
toggleRow(row: T): void;
|
|
2684
2696
|
isRowSelected(row: T): boolean;
|
|
2685
2697
|
selectAllPage(): void;
|
|
@@ -2837,6 +2849,7 @@ declare class MozGridComponent<T = unknown> {
|
|
|
2837
2849
|
onExportCsv(): void;
|
|
2838
2850
|
onGroupClick(): void;
|
|
2839
2851
|
private applyGroupResult;
|
|
2852
|
+
onKeyboardShortcutsClick(): void;
|
|
2840
2853
|
private static readonly DENSITY_ROW_HEIGHT;
|
|
2841
2854
|
onSettingsClick(): void;
|
|
2842
2855
|
private applySettings;
|
|
@@ -2979,6 +2992,13 @@ declare class GridEngine<T = unknown> {
|
|
|
2979
2992
|
* Total items count for pagination.
|
|
2980
2993
|
*/
|
|
2981
2994
|
readonly computedTotalItems: _angular_core.Signal<number>;
|
|
2995
|
+
/**
|
|
2996
|
+
* Resolves a display row index (as emitted via `DisplayRow.index`) to the
|
|
2997
|
+
* actual index in `sourceData()`. When sort/filter/group is active these do
|
|
2998
|
+
* not match, so we look up the display row's data object and search for it
|
|
2999
|
+
* in sourceData. Returns -1 when the display index is unknown.
|
|
3000
|
+
*/
|
|
3001
|
+
displayIndexToSourceIndex(displayIndex: number): number;
|
|
2982
3002
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<GridEngine<any>, never>;
|
|
2983
3003
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<GridEngine<any>>;
|
|
2984
3004
|
}
|
|
@@ -3015,6 +3035,7 @@ declare class ColumnResizeEngine<T = unknown> {
|
|
|
3015
3035
|
declare class InlineEditEngine<T = unknown> {
|
|
3016
3036
|
private readonly state;
|
|
3017
3037
|
private readonly history;
|
|
3038
|
+
private readonly gridEngine;
|
|
3018
3039
|
startEdit(rowIndex: number, field: string): void;
|
|
3019
3040
|
/**
|
|
3020
3041
|
* Excel-style "typing-to-edit": starts the editor with the cell value replaced
|
|
@@ -3480,6 +3501,7 @@ declare class MozGridCellComponent<T = unknown> {
|
|
|
3480
3501
|
private readonly cellSelectionEngine;
|
|
3481
3502
|
private readonly validationEngine;
|
|
3482
3503
|
private readonly clipboard;
|
|
3504
|
+
private readonly gridEngine;
|
|
3483
3505
|
private readonly elRef;
|
|
3484
3506
|
private preEditWidth;
|
|
3485
3507
|
constructor();
|