holyes-table 1.0.24 → 1.0.25
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.
|
@@ -15,7 +15,7 @@ export type HolyesTableColumnPropsTypeOption = {
|
|
|
15
15
|
sortField?: string;
|
|
16
16
|
/** 列类型 */
|
|
17
17
|
type?: "seq" | "checkbox" | "expand";
|
|
18
|
-
/**
|
|
18
|
+
/** 表头列样式 */
|
|
19
19
|
style?: any;
|
|
20
20
|
/** 列是否可筛选 */
|
|
21
21
|
isFilter?: {
|
|
@@ -141,6 +141,13 @@ export type HolyesTableColumnPropsTypeOption = {
|
|
|
141
141
|
/** 表尾插槽 */
|
|
142
142
|
footer?: string;
|
|
143
143
|
};
|
|
144
|
+
/** 单元格类名,最好里面不要涉及到改字体大小 */
|
|
145
|
+
cellClassName?: string | ((obj: {
|
|
146
|
+
column: HolyesTableColumnPropsType;
|
|
147
|
+
row: any;
|
|
148
|
+
index: number;
|
|
149
|
+
}) => string);
|
|
150
|
+
/** 表尾配置 */
|
|
144
151
|
footer?: {
|
|
145
152
|
/** 表尾行高度 */
|
|
146
153
|
height?: number;
|
|
@@ -65,6 +65,11 @@ export declare const useHolyesTable: (dataObj: {
|
|
|
65
65
|
headerClick: (column: any) => void;
|
|
66
66
|
hoverRow: import('vue').ShallowRef<any, any>;
|
|
67
67
|
cellMousemove: (item: any) => void;
|
|
68
|
+
resolveCellClassName: (obj: {
|
|
69
|
+
column: HolyesTableColumnPropsType;
|
|
70
|
+
row: any;
|
|
71
|
+
index: number;
|
|
72
|
+
}) => string;
|
|
68
73
|
headerChecked: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
|
|
69
74
|
headerCheckedIndeterminate: import('vue').Ref<Record<string, boolean>, Record<string, boolean>>;
|
|
70
75
|
onHeaderChecked: (field: string) => void;
|
package/package.json
CHANGED