arthub-table 0.2.69 → 0.2.70-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/adapters/rowDataAdapter.d.ts +4 -0
- package/dist/types/core/StyleManager.d.ts +4 -0
- package/dist/types/core/viewers/HyperlinkTextViewer.d.ts +4 -0
- package/package.json +1 -1
|
@@ -26,6 +26,10 @@ export interface PreprocessedRow {
|
|
|
26
26
|
_searchMatch: SearchMatchResult;
|
|
27
27
|
_cellBgColors: Record<string, string>;
|
|
28
28
|
_bgColor?: string;
|
|
29
|
+
/** CP 行高亮标记 */
|
|
30
|
+
_cpHighLight?: boolean;
|
|
31
|
+
/** CP 高亮行中需要使用高亮文字色的列 key */
|
|
32
|
+
_cpHighLightFields?: string[];
|
|
29
33
|
_isTopLevelEntity?: boolean;
|
|
30
34
|
_isEmpty?: boolean;
|
|
31
35
|
_isGroup?: boolean;
|
|
@@ -173,6 +173,10 @@ export interface ThemeTokens {
|
|
|
173
173
|
bgTopLevelEntity: string;
|
|
174
174
|
/** 顶层实体行 hover 背景色 */
|
|
175
175
|
bgTopLevelEntityHover: string;
|
|
176
|
+
/** CP 高亮行背景色 */
|
|
177
|
+
bgCpHighlight: string;
|
|
178
|
+
/** CP 高亮行文字色 */
|
|
179
|
+
textCpHighlight: string;
|
|
176
180
|
/** 需求变更-新增需求背景色 */
|
|
177
181
|
bgDemandChangeAdd: string;
|
|
178
182
|
/** 需求变更-新增需求 hover 背景色 */
|
|
@@ -49,6 +49,10 @@ declare class HyperlinkTextViewer implements CellViewer<HyperlinkTextViewerData>
|
|
|
49
49
|
* 每两个元素为一组链接,返回解析后的数组
|
|
50
50
|
*/
|
|
51
51
|
private parseValues;
|
|
52
|
+
/**
|
|
53
|
+
* 在已确认内容溢出的场景中,计算 maxWidth 能容纳的最长文本前缀并追加省略号。
|
|
54
|
+
*/
|
|
55
|
+
private fitTextWithEllipsis;
|
|
52
56
|
/**
|
|
53
57
|
* 绘制超链接文本(支持多条以逗号间隔)
|
|
54
58
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arthub-table",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.70-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",
|