arthub-table 0.2.0-beta.21 → 0.2.0-beta.23
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/NestedGrid.d.ts +13 -0
- package/dist/types/core/viewers/FileViewer.d.ts +3 -3
- package/dist/types/core/viewers/ImageViewer.d.ts +3 -3
- package/package.json +1 -1
|
@@ -79,6 +79,8 @@ declare class NestedGrid {
|
|
|
79
79
|
parentRowBgColor: string | undefined;
|
|
80
80
|
private redrawScheduled;
|
|
81
81
|
private redrawTimer;
|
|
82
|
+
private _lastHoverViewerType;
|
|
83
|
+
private _lastHoverViewerData;
|
|
82
84
|
selectionRange: SelectionRange | null;
|
|
83
85
|
selectionAnchor: SelectionAnchor | null;
|
|
84
86
|
selectionEnd: SelectionAnchor | null;
|
|
@@ -125,6 +127,11 @@ declare class NestedGrid {
|
|
|
125
127
|
row: number;
|
|
126
128
|
} | null;
|
|
127
129
|
handleMouseMove(mouseX: number, mouseY: number): boolean;
|
|
130
|
+
/**
|
|
131
|
+
* Reset the last hovered viewer's state (e.g. hide image popper).
|
|
132
|
+
* Called when mouse leaves the nested grid or moves to non-cell areas.
|
|
133
|
+
*/
|
|
134
|
+
resetLastHoverViewer(): void;
|
|
128
135
|
private isProgressCell;
|
|
129
136
|
private isMouseOnProgressBar;
|
|
130
137
|
handleMouseDown(mouseX: number, mouseY: number, e?: {
|
|
@@ -192,6 +199,12 @@ declare class NestedGrid {
|
|
|
192
199
|
parentColKey: string;
|
|
193
200
|
};
|
|
194
201
|
} | null;
|
|
202
|
+
/**
|
|
203
|
+
* Handle double-click inside nested grid.
|
|
204
|
+
* Delegates to viewer.onDblClick (e.g. FileViewer opens file detail on dblclick).
|
|
205
|
+
* Returns true if the double-click was handled by a viewer.
|
|
206
|
+
*/
|
|
207
|
+
handleDblClick(mouseX: number, mouseY: number): boolean;
|
|
195
208
|
/**
|
|
196
209
|
* Check if mouse is on the boolean checkbox area within a cell
|
|
197
210
|
*/
|
|
@@ -110,9 +110,9 @@ declare class FileViewer implements CellViewer<FileViewerData> {
|
|
|
110
110
|
*/
|
|
111
111
|
/**
|
|
112
112
|
* 绘制交付物角标(右下角圆形图标)
|
|
113
|
-
* 与 DOM .mark-icon
|
|
114
|
-
* - ah-icon_finish1:
|
|
115
|
-
* - ah-icon_help2:
|
|
113
|
+
* 与 DOM .mark-icon iconfont 图标对齐:
|
|
114
|
+
* - ah-icon_finish1: 绿色 #00bd77 圆形背景 + 白色勾(已完成)
|
|
115
|
+
* - ah-icon_help2: 橙色 #ed954f 圆形背景 + 白色问号(待验收)
|
|
116
116
|
*/
|
|
117
117
|
private drawMarkIcon;
|
|
118
118
|
private drawIconByFileStatus;
|
|
@@ -62,9 +62,9 @@ declare class ImageViewer implements CellViewer<ImageViewerData> {
|
|
|
62
62
|
private drawSinglePlaceholder;
|
|
63
63
|
/**
|
|
64
64
|
* 绘制交付物角标(右下角圆形图标)
|
|
65
|
-
* 与 DOM .mark-icon
|
|
66
|
-
* - ah-icon_finish1:
|
|
67
|
-
* - ah-icon_help2:
|
|
65
|
+
* 与 DOM .mark-icon iconfont 图标对齐:
|
|
66
|
+
* - ah-icon_finish1: 绿色 #00bd77 圆形背景 + 白色勾(已完成)
|
|
67
|
+
* - ah-icon_help2: 橙色 #ed954f 圆形背景 + 白色问号(待验收)
|
|
68
68
|
*/
|
|
69
69
|
private drawMarkIcon;
|
|
70
70
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arthub-table",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.23",
|
|
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",
|