arthub-table 0.2.72-next.1 → 0.2.72-next.2
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/viewers/FileViewer.d.ts +2 -1
- package/dist/types/core/viewers/ImageViewer.d.ts +2 -1
- package/dist/types/core/viewers/RelatedTaskViewer.d.ts +2 -1
- package/dist/types/core/viewers/types.d.ts +2 -2
- package/package.json +1 -1
|
@@ -112,7 +112,8 @@ declare class FileViewer implements CellViewer<FileViewerData> {
|
|
|
112
112
|
* 绘制交付物角标(右下角圆形图标)
|
|
113
113
|
* 与 DOM .mark-icon iconfont 图标对齐:
|
|
114
114
|
* - ah-icon_finish1: 绿色 #00bd77 圆形背景 + 白色勾(已完成)
|
|
115
|
-
* - ah-icon_help2: 橙色 #
|
|
115
|
+
* - ah-icon_help2: 橙色 #FB4B51 圆形背景 + 白色问号(待验收)
|
|
116
|
+
* - ah-icon_help2: 橙色 #FAB300 圆形背景 + 白色L(待优化)
|
|
116
117
|
*/
|
|
117
118
|
private drawMarkIcon;
|
|
118
119
|
private drawIconByFileStatus;
|
|
@@ -77,7 +77,8 @@ declare class ImageViewer implements CellViewer<ImageViewerData> {
|
|
|
77
77
|
* 绘制交付物角标(右下角圆形图标)
|
|
78
78
|
* 与 DOM .mark-icon iconfont 图标对齐:
|
|
79
79
|
* - ah-icon_finish1: 绿色 #00bd77 圆形背景 + 白色勾(已完成)
|
|
80
|
-
* - ah-icon_help2: 橙色 #
|
|
80
|
+
* - ah-icon_help2: 橙色 #FB4B51 圆形背景 + 白色问号(待验收)
|
|
81
|
+
* - ah-icon_help2: 橙色 #FAB300 圆形背景 + 白色L(待优化)
|
|
81
82
|
*/
|
|
82
83
|
private drawMarkIcon;
|
|
83
84
|
/**
|
|
@@ -88,7 +88,8 @@ declare class RelatedTaskViewer implements CellViewer<RelatedTaskViewerData> {
|
|
|
88
88
|
* Draw the deliverable acceptance mark badge (bottom-right circle) on a thumbnail.
|
|
89
89
|
* Aligned with FileViewer.drawMarkIcon / ImageViewer.drawMarkIcon:
|
|
90
90
|
* - ah-icon_finish1: green circle + white check (已验收)
|
|
91
|
-
* - ah-icon_help2:
|
|
91
|
+
* - ah-icon_help2: redhon circle + white question mark (待验收)
|
|
92
|
+
* - ah-icon_wait1: yellow circle + white L mark ()
|
|
92
93
|
*
|
|
93
94
|
* Only invoked when the related-task display field's fileData item carries a `mark`
|
|
94
95
|
* (the business layer gates it by 被引用字段.showAcceptanceRemind && 节点关联任务列.isAcceptanceRemind).
|
|
@@ -315,7 +315,7 @@ export interface ImageViewerData extends CellViewerData {
|
|
|
315
315
|
statuses?: Record<string | number, number | string | undefined>;
|
|
316
316
|
/** 每个 assetId 对应的文件格式,用于加载失败时显示文件类型图标 */
|
|
317
317
|
fileFormats?: Record<string | number, string | undefined>;
|
|
318
|
-
/** 每个 assetId 对应的交付物角标标记(如 'ah-icon_finish1' / 'ah-icon_help2') */
|
|
318
|
+
/** 每个 assetId 对应的交付物角标标记(如 'ah-icon_finish1' / 'ah-icon_help2' / 'ah-icon_wait1') */
|
|
319
319
|
marks?: Record<string | number, string | undefined>;
|
|
320
320
|
/** Alternative text */
|
|
321
321
|
alt?: string;
|
|
@@ -754,7 +754,7 @@ export interface FileItem {
|
|
|
754
754
|
assetId?: number;
|
|
755
755
|
/** 文件状态 */
|
|
756
756
|
status?: number;
|
|
757
|
-
/** 交付物角标标记(如 'ah-icon_finish1' / 'ah-icon_help2') */
|
|
757
|
+
/** 交付物角标标记(如 'ah-icon_finish1' / 'ah-icon_help2' / 'ah-icon_wait1') */
|
|
758
758
|
mark?: string;
|
|
759
759
|
/**
|
|
760
760
|
* 是否是外部 OS 文件 drop 触发的上传中占位项。
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arthub-table",
|
|
3
|
-
"version": "0.2.72-next.
|
|
3
|
+
"version": "0.2.72-next.2",
|
|
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",
|