arthub-table 0.2.13 → 0.2.15-next.0
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/dist/arthub-table.common.js +1 -1
- package/dist/arthub-table.common.js.map +1 -1
- package/dist/arthub-table.umd.js +1 -1
- package/dist/arthub-table.umd.js.map +1 -1
- package/dist/arthub-table.umd.min.js +1 -1
- package/dist/arthub-table.umd.min.js.map +1 -1
- package/dist/types/core/DataGrid.d.ts +8 -0
- package/package.json +1 -1
|
@@ -793,6 +793,8 @@ declare class DataGrid {
|
|
|
793
793
|
edgeScroller: EdgeScroller;
|
|
794
794
|
rowIdMap: Map<string, number>;
|
|
795
795
|
selectedRowIds: Set<string>;
|
|
796
|
+
selectedGroupIds: Set<string>;
|
|
797
|
+
_groupSelectedRowIds: Map<string, string[]>;
|
|
796
798
|
lastSelectedRowIndex: number;
|
|
797
799
|
/** Footer 行高度(showFooter 为 false 时返回 0) */
|
|
798
800
|
get footerHeight(): number;
|
|
@@ -2276,6 +2278,12 @@ declare class DataGrid {
|
|
|
2276
2278
|
*/
|
|
2277
2279
|
private ensureRowIds;
|
|
2278
2280
|
syncGroupCheckedState(): void;
|
|
2281
|
+
/**
|
|
2282
|
+
* 受控模式下:计算组头应有的 checked 状态,如果与当前不一致则通过回调通知外部修改。
|
|
2283
|
+
* 逻辑与 syncGroupCheckedState 的计算一致,但不直接修改 data.checked 和 selectedGroupIds,
|
|
2284
|
+
* 而是通过 onGroupCheckboxChange 回调让外部决定是否更新。
|
|
2285
|
+
*/
|
|
2286
|
+
private _notifyGroupCheckedChanges;
|
|
2279
2287
|
/**
|
|
2280
2288
|
* 折叠所有任务(受控模式下触发 onCollapseAll 回调,由外部操作 tableTaskList 后刷新)
|
|
2281
2289
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arthub-table",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.15-next.0",
|
|
4
4
|
"description": "High-performance canvas-based table/grid component for Vue 3 with TypeScript support, featuring virtual scrolling, cell viewers, grouped rows, and nested grids.",
|
|
5
5
|
"main": "dist/arthub-table.common.js",
|
|
6
6
|
"module": "dist/arthub-table.umd.min.js",
|