@dao-style/core 1.3.1-beta.5 → 1.3.1-beta.7
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/components/action-icon/action-icon.d.ts +9 -0
- package/dist/components/action-icon/action-icon.vue.d.ts +3 -0
- package/dist/components/nav/nav-item.d.ts +15 -7
- package/dist/components/nav/nav-item.vue.d.ts +4 -2
- package/dist/components/nav/nav-sub.d.ts +15 -7
- package/dist/components/nav/nav-sub.vue.d.ts +4 -2
- package/dist/components/nav/props.d.ts +8 -0
- package/dist/components/table/table-props.d.ts +11 -0
- package/dist/components/table/table.d.ts +57 -7
- package/dist/components/table/table.vue.d.ts +23 -2
- package/dist/dao-style.js +6 -6
- package/dist/dao-style.mjs +4568 -4491
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -76,6 +76,9 @@ declare const DaoActionIcon: {
|
|
|
76
76
|
handleClick: (event: MouseEvent) => void;
|
|
77
77
|
isDivider: boolean;
|
|
78
78
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
79
|
+
onMouseEnter: () => void;
|
|
80
|
+
onMouseLeave: () => void;
|
|
81
|
+
showTip: import("vue").Ref<boolean>;
|
|
79
82
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], string, {
|
|
80
83
|
type: import("./props").ActionIconType;
|
|
81
84
|
disabled: boolean;
|
|
@@ -130,6 +133,9 @@ declare const DaoActionIcon: {
|
|
|
130
133
|
handleClick: (event: MouseEvent) => void;
|
|
131
134
|
isDivider: boolean;
|
|
132
135
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
136
|
+
onMouseEnter: () => void;
|
|
137
|
+
onMouseLeave: () => void;
|
|
138
|
+
showTip: import("vue").Ref<boolean>;
|
|
133
139
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
134
140
|
__isFragment?: undefined;
|
|
135
141
|
__isTeleport?: undefined;
|
|
@@ -162,6 +168,9 @@ declare const DaoActionIcon: {
|
|
|
162
168
|
handleClick: (event: MouseEvent) => void;
|
|
163
169
|
isDivider: boolean;
|
|
164
170
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
171
|
+
onMouseEnter: () => void;
|
|
172
|
+
onMouseLeave: () => void;
|
|
173
|
+
showTip: import("vue").Ref<boolean>;
|
|
165
174
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", {
|
|
166
175
|
type: import("./props").ActionIconType;
|
|
167
176
|
disabled: boolean;
|
|
@@ -24,6 +24,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
handleClick: (event: MouseEvent) => void;
|
|
25
25
|
isDivider: boolean;
|
|
26
26
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
27
|
+
onMouseEnter: () => void;
|
|
28
|
+
onMouseLeave: () => void;
|
|
29
|
+
showTip: import("vue").Ref<boolean>;
|
|
27
30
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
31
|
name: {
|
|
29
32
|
type: StringConstructor;
|
|
@@ -45,7 +45,9 @@ declare const DaoNavItem: {
|
|
|
45
45
|
type: BooleanConstructor;
|
|
46
46
|
default: boolean;
|
|
47
47
|
};
|
|
48
|
-
}>> &
|
|
48
|
+
}>> & {
|
|
49
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "icon" | "title" | "useFont" | "index" | "isActive" | "isExactActive" | "external">;
|
|
49
51
|
$attrs: {
|
|
50
52
|
[x: string]: unknown;
|
|
51
53
|
};
|
|
@@ -57,7 +59,7 @@ declare const DaoNavItem: {
|
|
|
57
59
|
}>;
|
|
58
60
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
59
61
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
60
|
-
$emit: (event:
|
|
62
|
+
$emit: (event: "click", ...args: any[]) => void;
|
|
61
63
|
$el: any;
|
|
62
64
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
63
65
|
disabled: {
|
|
@@ -92,7 +94,9 @@ declare const DaoNavItem: {
|
|
|
92
94
|
type: BooleanConstructor;
|
|
93
95
|
default: boolean;
|
|
94
96
|
};
|
|
95
|
-
}
|
|
97
|
+
}>> & {
|
|
98
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
99
|
+
}, {
|
|
96
100
|
classItemList: import("vue").ComputedRef<(string | {
|
|
97
101
|
'dao-nav__item-disabled': boolean;
|
|
98
102
|
})[]>;
|
|
@@ -105,7 +109,7 @@ declare const DaoNavItem: {
|
|
|
105
109
|
title: import("vue").Ref<string>;
|
|
106
110
|
useFont: import("vue").Ref<boolean>;
|
|
107
111
|
handleClick: () => void;
|
|
108
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
112
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], string, {
|
|
109
113
|
disabled: boolean;
|
|
110
114
|
icon: string;
|
|
111
115
|
title: string;
|
|
@@ -167,7 +171,9 @@ declare const DaoNavItem: {
|
|
|
167
171
|
type: BooleanConstructor;
|
|
168
172
|
default: boolean;
|
|
169
173
|
};
|
|
170
|
-
}>> &
|
|
174
|
+
}>> & {
|
|
175
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
176
|
+
} & import("vue").ShallowUnwrapRef<{
|
|
171
177
|
classItemList: import("vue").ComputedRef<(string | {
|
|
172
178
|
'dao-nav__item-disabled': boolean;
|
|
173
179
|
})[]>;
|
|
@@ -217,7 +223,9 @@ declare const DaoNavItem: {
|
|
|
217
223
|
type: BooleanConstructor;
|
|
218
224
|
default: boolean;
|
|
219
225
|
};
|
|
220
|
-
}
|
|
226
|
+
}>> & {
|
|
227
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
228
|
+
}, {
|
|
221
229
|
classItemList: import("vue").ComputedRef<(string | {
|
|
222
230
|
'dao-nav__item-disabled': boolean;
|
|
223
231
|
})[]>;
|
|
@@ -230,7 +238,7 @@ declare const DaoNavItem: {
|
|
|
230
238
|
title: import("vue").Ref<string>;
|
|
231
239
|
useFont: import("vue").Ref<boolean>;
|
|
232
240
|
handleClick: () => void;
|
|
233
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
241
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", {
|
|
234
242
|
disabled: boolean;
|
|
235
243
|
icon: string;
|
|
236
244
|
title: string;
|
|
@@ -44,7 +44,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
title: import("vue").Ref<string>;
|
|
45
45
|
useFont: import("vue").Ref<boolean>;
|
|
46
46
|
handleClick: () => void;
|
|
47
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
47
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
48
|
disabled: {
|
|
49
49
|
type: BooleanConstructor;
|
|
50
50
|
default: boolean;
|
|
@@ -77,7 +77,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
77
77
|
type: BooleanConstructor;
|
|
78
78
|
default: boolean;
|
|
79
79
|
};
|
|
80
|
-
}
|
|
80
|
+
}>> & {
|
|
81
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
82
|
+
}, {
|
|
81
83
|
disabled: boolean;
|
|
82
84
|
icon: string;
|
|
83
85
|
title: string;
|
|
@@ -50,7 +50,9 @@ declare const DaoNavSub: {
|
|
|
50
50
|
type: BooleanConstructor;
|
|
51
51
|
default: boolean;
|
|
52
52
|
};
|
|
53
|
-
}>> &
|
|
53
|
+
}>> & {
|
|
54
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
55
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "icon" | "title" | "useFont" | "index" | "isActive" | "isExactActive" | "external" | "fold">;
|
|
54
56
|
$attrs: {
|
|
55
57
|
[x: string]: unknown;
|
|
56
58
|
};
|
|
@@ -62,7 +64,7 @@ declare const DaoNavSub: {
|
|
|
62
64
|
}>;
|
|
63
65
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
64
66
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
65
|
-
$emit: (event:
|
|
67
|
+
$emit: (event: "click", ...args: any[]) => void;
|
|
66
68
|
$el: any;
|
|
67
69
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
68
70
|
disabled: {
|
|
@@ -101,7 +103,9 @@ declare const DaoNavSub: {
|
|
|
101
103
|
type: BooleanConstructor;
|
|
102
104
|
default: boolean;
|
|
103
105
|
};
|
|
104
|
-
}
|
|
106
|
+
}>> & {
|
|
107
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
108
|
+
}, {
|
|
105
109
|
classSubList: import("vue").ComputedRef<(string | {
|
|
106
110
|
'dao-nav__sub-disabled': boolean;
|
|
107
111
|
})[]>;
|
|
@@ -119,7 +123,7 @@ declare const DaoNavSub: {
|
|
|
119
123
|
opened: import("vue").Ref<boolean>;
|
|
120
124
|
isExternal: import("vue").ComputedRef<boolean>;
|
|
121
125
|
handleClick: () => void;
|
|
122
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
126
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], string, {
|
|
123
127
|
disabled: boolean;
|
|
124
128
|
icon: string;
|
|
125
129
|
title: string;
|
|
@@ -186,7 +190,9 @@ declare const DaoNavSub: {
|
|
|
186
190
|
type: BooleanConstructor;
|
|
187
191
|
default: boolean;
|
|
188
192
|
};
|
|
189
|
-
}>> &
|
|
193
|
+
}>> & {
|
|
194
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
195
|
+
} & import("vue").ShallowUnwrapRef<{
|
|
190
196
|
classSubList: import("vue").ComputedRef<(string | {
|
|
191
197
|
'dao-nav__sub-disabled': boolean;
|
|
192
198
|
})[]>;
|
|
@@ -245,7 +251,9 @@ declare const DaoNavSub: {
|
|
|
245
251
|
type: BooleanConstructor;
|
|
246
252
|
default: boolean;
|
|
247
253
|
};
|
|
248
|
-
}
|
|
254
|
+
}>> & {
|
|
255
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
256
|
+
}, {
|
|
249
257
|
classSubList: import("vue").ComputedRef<(string | {
|
|
250
258
|
'dao-nav__sub-disabled': boolean;
|
|
251
259
|
})[]>;
|
|
@@ -263,7 +271,7 @@ declare const DaoNavSub: {
|
|
|
263
271
|
opened: import("vue").Ref<boolean>;
|
|
264
272
|
isExternal: import("vue").ComputedRef<boolean>;
|
|
265
273
|
handleClick: () => void;
|
|
266
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
274
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", {
|
|
267
275
|
disabled: boolean;
|
|
268
276
|
icon: string;
|
|
269
277
|
title: string;
|
|
@@ -54,7 +54,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
54
|
opened: import("vue").Ref<boolean>;
|
|
55
55
|
isExternal: import("vue").ComputedRef<boolean>;
|
|
56
56
|
handleClick: () => void;
|
|
57
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
57
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
58
58
|
disabled: {
|
|
59
59
|
type: BooleanConstructor;
|
|
60
60
|
default: boolean;
|
|
@@ -91,7 +91,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
91
91
|
type: BooleanConstructor;
|
|
92
92
|
default: boolean;
|
|
93
93
|
};
|
|
94
|
-
}
|
|
94
|
+
}>> & {
|
|
95
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
96
|
+
}, {
|
|
95
97
|
disabled: boolean;
|
|
96
98
|
icon: string;
|
|
97
99
|
title: string;
|
|
@@ -79,6 +79,10 @@ export declare const navSubProps: {
|
|
|
79
79
|
default: boolean;
|
|
80
80
|
};
|
|
81
81
|
};
|
|
82
|
+
export declare const navSubEmits: {
|
|
83
|
+
click: () => void;
|
|
84
|
+
};
|
|
85
|
+
export type NavSubEmits = typeof navSubEmits;
|
|
82
86
|
export declare const navItemProps: {
|
|
83
87
|
disabled: {
|
|
84
88
|
type: BooleanConstructor;
|
|
@@ -113,3 +117,7 @@ export declare const navItemProps: {
|
|
|
113
117
|
default: boolean;
|
|
114
118
|
};
|
|
115
119
|
};
|
|
120
|
+
export declare const navItemEmits: {
|
|
121
|
+
click: () => void;
|
|
122
|
+
};
|
|
123
|
+
export type NavItemEmits = typeof navItemEmits;
|
|
@@ -6,11 +6,14 @@ export declare const tableEmits: {
|
|
|
6
6
|
select: (rows: any[], deselectRow: any[], selectedRow: any[]) => void;
|
|
7
7
|
'update:selectedRows': (rows: any[]) => void;
|
|
8
8
|
'update:expandedRows': (rows: any[]) => void;
|
|
9
|
+
'update:highlightedRow': (row: any[]) => void;
|
|
9
10
|
sortChange: (sort: DaoTableSort) => void;
|
|
10
11
|
hideColumn: (columnIds: string[]) => void;
|
|
11
12
|
afterResize: (columnId: string) => void;
|
|
12
13
|
expandToggle: (row: Record<string, any>, rowIndex: number, expand: boolean) => void;
|
|
13
14
|
'row-click': (row: Record<string, any>, rowIndex: number) => void;
|
|
15
|
+
onHighlight: (row: Record<string, any>, rowIndex: number) => void;
|
|
16
|
+
offHighlight: (row: Record<string, any>, rowIndex: number) => void;
|
|
14
17
|
'update:page-size': (pageSize: number) => void;
|
|
15
18
|
'update:current-page': (curPage: number) => void;
|
|
16
19
|
next: (curPage: number) => void;
|
|
@@ -99,6 +102,14 @@ export declare const tableProps: {
|
|
|
99
102
|
type: PropType<boolean>;
|
|
100
103
|
default: boolean;
|
|
101
104
|
};
|
|
105
|
+
highlight: {
|
|
106
|
+
type: BooleanConstructor;
|
|
107
|
+
default: boolean;
|
|
108
|
+
};
|
|
109
|
+
highlightedRow: {
|
|
110
|
+
type: PropType<Record<string, unknown>>;
|
|
111
|
+
default: undefined;
|
|
112
|
+
};
|
|
102
113
|
pageSize: {
|
|
103
114
|
type: PropType<number>;
|
|
104
115
|
default: number;
|
|
@@ -33,6 +33,8 @@ declare const DaoTable: {
|
|
|
33
33
|
selectedRows: import("./table-props").DataPropType;
|
|
34
34
|
expandable: boolean;
|
|
35
35
|
expandedRows: import("./table-props").DataPropType;
|
|
36
|
+
highlight: boolean;
|
|
37
|
+
highlightedRow: Record<string, unknown>;
|
|
36
38
|
emptyText: string;
|
|
37
39
|
pageLayout: import("..").PaginationLayoutKey[];
|
|
38
40
|
hideBatchBar: boolean;
|
|
@@ -111,6 +113,14 @@ declare const DaoTable: {
|
|
|
111
113
|
type: import("vue").PropType<boolean>;
|
|
112
114
|
default: boolean;
|
|
113
115
|
};
|
|
116
|
+
highlight: {
|
|
117
|
+
type: BooleanConstructor;
|
|
118
|
+
default: boolean;
|
|
119
|
+
};
|
|
120
|
+
highlightedRow: {
|
|
121
|
+
type: import("vue").PropType<Record<string, unknown>>;
|
|
122
|
+
default: undefined;
|
|
123
|
+
};
|
|
114
124
|
pageSize: {
|
|
115
125
|
type: import("vue").PropType<number>;
|
|
116
126
|
default: number;
|
|
@@ -189,12 +199,15 @@ declare const DaoTable: {
|
|
|
189
199
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
190
200
|
"onUpdate:selectedRows"?: ((...args: any[]) => any) | undefined;
|
|
191
201
|
"onUpdate:expandedRows"?: ((...args: any[]) => any) | undefined;
|
|
202
|
+
"onUpdate:highlightedRow"?: ((...args: any[]) => any) | undefined;
|
|
192
203
|
onSortChange?: ((...args: any[]) => any) | undefined;
|
|
193
204
|
onHideColumn?: ((...args: any[]) => any) | undefined;
|
|
194
205
|
onAfterResize?: ((...args: any[]) => any) | undefined;
|
|
195
206
|
onExpandToggle?: ((...args: any[]) => any) | undefined;
|
|
196
207
|
"onRow-click"?: ((...args: any[]) => any) | undefined;
|
|
197
|
-
|
|
208
|
+
onOnHighlight?: ((...args: any[]) => any) | undefined;
|
|
209
|
+
onOffHighlight?: ((...args: any[]) => any) | undefined;
|
|
210
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "sort" | "data" | "compact" | "columns" | "total" | "selectedFormat" | "deselectText" | "removeText" | "showHeader" | "pageSize" | "pageSizeOptions" | "pageFormat" | "currentPage" | "pageSizerWidth" | "noShadow" | "searchPlaceholder" | "searchOptions" | "fuzzy" | "hideRefresh" | "hideSearch" | "noRounded" | "selectable" | "selectedRows" | "expandable" | "expandedRows" | "highlight" | "highlightedRow" | "emptyText" | "pageLayout" | "hideBatchBar" | "hideToolbar" | "hideSetting">;
|
|
198
211
|
$attrs: {
|
|
199
212
|
[x: string]: unknown;
|
|
200
213
|
};
|
|
@@ -206,7 +219,7 @@ declare const DaoTable: {
|
|
|
206
219
|
}>;
|
|
207
220
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
208
221
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
209
|
-
$emit: (event: "search" | "select" | "delete" | "deselect" | "next" | "prev" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange" | "update:search" | "refresh" | "update:selectedRows" | "update:expandedRows" | "sortChange" | "hideColumn" | "afterResize" | "expandToggle" | "row-click", ...args: any[]) => void;
|
|
222
|
+
$emit: (event: "search" | "select" | "delete" | "deselect" | "next" | "prev" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange" | "update:search" | "refresh" | "update:selectedRows" | "update:expandedRows" | "update:highlightedRow" | "sortChange" | "hideColumn" | "afterResize" | "expandToggle" | "row-click" | "onHighlight" | "offHighlight", ...args: any[]) => void;
|
|
210
223
|
$el: any;
|
|
211
224
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
212
225
|
search: {
|
|
@@ -281,6 +294,14 @@ declare const DaoTable: {
|
|
|
281
294
|
type: import("vue").PropType<boolean>;
|
|
282
295
|
default: boolean;
|
|
283
296
|
};
|
|
297
|
+
highlight: {
|
|
298
|
+
type: BooleanConstructor;
|
|
299
|
+
default: boolean;
|
|
300
|
+
};
|
|
301
|
+
highlightedRow: {
|
|
302
|
+
type: import("vue").PropType<Record<string, unknown>>;
|
|
303
|
+
default: undefined;
|
|
304
|
+
};
|
|
284
305
|
pageSize: {
|
|
285
306
|
type: import("vue").PropType<number>;
|
|
286
307
|
default: number;
|
|
@@ -359,11 +380,14 @@ declare const DaoTable: {
|
|
|
359
380
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
360
381
|
"onUpdate:selectedRows"?: ((...args: any[]) => any) | undefined;
|
|
361
382
|
"onUpdate:expandedRows"?: ((...args: any[]) => any) | undefined;
|
|
383
|
+
"onUpdate:highlightedRow"?: ((...args: any[]) => any) | undefined;
|
|
362
384
|
onSortChange?: ((...args: any[]) => any) | undefined;
|
|
363
385
|
onHideColumn?: ((...args: any[]) => any) | undefined;
|
|
364
386
|
onAfterResize?: ((...args: any[]) => any) | undefined;
|
|
365
387
|
onExpandToggle?: ((...args: any[]) => any) | undefined;
|
|
366
388
|
"onRow-click"?: ((...args: any[]) => any) | undefined;
|
|
389
|
+
onOnHighlight?: ((...args: any[]) => any) | undefined;
|
|
390
|
+
onOffHighlight?: ((...args: any[]) => any) | undefined;
|
|
367
391
|
}, {
|
|
368
392
|
textContent: import("vue").ComputedRef<{
|
|
369
393
|
emptyText: string | undefined;
|
|
@@ -440,8 +464,8 @@ declare const DaoTable: {
|
|
|
440
464
|
showToolbar: import("vue").ComputedRef<boolean>;
|
|
441
465
|
searchModel: import("vue").Ref<import("../toolbar").SearchModelType> | import("vue").WritableComputedRef<import("../toolbar").SearchModelType>;
|
|
442
466
|
selectColumns: (ids: Set<string>) => void;
|
|
443
|
-
|
|
444
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "select" | "delete" | "deselect" | "next" | "prev" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange" | "update:search" | "refresh" | "update:selectedRows" | "update:expandedRows" | "sortChange" | "hideColumn" | "afterResize" | "expandToggle" | "row-click")[], string, {
|
|
467
|
+
isRowHighlighted: (row: Record<string, unknown>) => boolean;
|
|
468
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "select" | "delete" | "deselect" | "next" | "prev" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange" | "update:search" | "refresh" | "update:selectedRows" | "update:expandedRows" | "update:highlightedRow" | "sortChange" | "hideColumn" | "afterResize" | "expandToggle" | "row-click" | "onHighlight" | "offHighlight")[], string, {
|
|
445
469
|
search: import("../toolbar").SearchModelType;
|
|
446
470
|
sort: import("./type").DaoTableSort;
|
|
447
471
|
data: import("./table-props").DataPropType;
|
|
@@ -468,6 +492,8 @@ declare const DaoTable: {
|
|
|
468
492
|
selectedRows: import("./table-props").DataPropType;
|
|
469
493
|
expandable: boolean;
|
|
470
494
|
expandedRows: import("./table-props").DataPropType;
|
|
495
|
+
highlight: boolean;
|
|
496
|
+
highlightedRow: Record<string, unknown>;
|
|
471
497
|
emptyText: string;
|
|
472
498
|
pageLayout: import("..").PaginationLayoutKey[];
|
|
473
499
|
hideBatchBar: boolean;
|
|
@@ -566,6 +592,14 @@ declare const DaoTable: {
|
|
|
566
592
|
type: import("vue").PropType<boolean>;
|
|
567
593
|
default: boolean;
|
|
568
594
|
};
|
|
595
|
+
highlight: {
|
|
596
|
+
type: BooleanConstructor;
|
|
597
|
+
default: boolean;
|
|
598
|
+
};
|
|
599
|
+
highlightedRow: {
|
|
600
|
+
type: import("vue").PropType<Record<string, unknown>>;
|
|
601
|
+
default: undefined;
|
|
602
|
+
};
|
|
569
603
|
pageSize: {
|
|
570
604
|
type: import("vue").PropType<number>;
|
|
571
605
|
default: number;
|
|
@@ -644,11 +678,14 @@ declare const DaoTable: {
|
|
|
644
678
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
645
679
|
"onUpdate:selectedRows"?: ((...args: any[]) => any) | undefined;
|
|
646
680
|
"onUpdate:expandedRows"?: ((...args: any[]) => any) | undefined;
|
|
681
|
+
"onUpdate:highlightedRow"?: ((...args: any[]) => any) | undefined;
|
|
647
682
|
onSortChange?: ((...args: any[]) => any) | undefined;
|
|
648
683
|
onHideColumn?: ((...args: any[]) => any) | undefined;
|
|
649
684
|
onAfterResize?: ((...args: any[]) => any) | undefined;
|
|
650
685
|
onExpandToggle?: ((...args: any[]) => any) | undefined;
|
|
651
686
|
"onRow-click"?: ((...args: any[]) => any) | undefined;
|
|
687
|
+
onOnHighlight?: ((...args: any[]) => any) | undefined;
|
|
688
|
+
onOffHighlight?: ((...args: any[]) => any) | undefined;
|
|
652
689
|
} & import("vue").ShallowUnwrapRef<{
|
|
653
690
|
textContent: import("vue").ComputedRef<{
|
|
654
691
|
emptyText: string | undefined;
|
|
@@ -725,7 +762,7 @@ declare const DaoTable: {
|
|
|
725
762
|
showToolbar: import("vue").ComputedRef<boolean>;
|
|
726
763
|
searchModel: import("vue").Ref<import("../toolbar").SearchModelType> | import("vue").WritableComputedRef<import("../toolbar").SearchModelType>;
|
|
727
764
|
selectColumns: (ids: Set<string>) => void;
|
|
728
|
-
|
|
765
|
+
isRowHighlighted: (row: Record<string, unknown>) => boolean;
|
|
729
766
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
730
767
|
__isFragment?: undefined;
|
|
731
768
|
__isTeleport?: undefined;
|
|
@@ -803,6 +840,14 @@ declare const DaoTable: {
|
|
|
803
840
|
type: import("vue").PropType<boolean>;
|
|
804
841
|
default: boolean;
|
|
805
842
|
};
|
|
843
|
+
highlight: {
|
|
844
|
+
type: BooleanConstructor;
|
|
845
|
+
default: boolean;
|
|
846
|
+
};
|
|
847
|
+
highlightedRow: {
|
|
848
|
+
type: import("vue").PropType<Record<string, unknown>>;
|
|
849
|
+
default: undefined;
|
|
850
|
+
};
|
|
806
851
|
pageSize: {
|
|
807
852
|
type: import("vue").PropType<number>;
|
|
808
853
|
default: number;
|
|
@@ -881,11 +926,14 @@ declare const DaoTable: {
|
|
|
881
926
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
882
927
|
"onUpdate:selectedRows"?: ((...args: any[]) => any) | undefined;
|
|
883
928
|
"onUpdate:expandedRows"?: ((...args: any[]) => any) | undefined;
|
|
929
|
+
"onUpdate:highlightedRow"?: ((...args: any[]) => any) | undefined;
|
|
884
930
|
onSortChange?: ((...args: any[]) => any) | undefined;
|
|
885
931
|
onHideColumn?: ((...args: any[]) => any) | undefined;
|
|
886
932
|
onAfterResize?: ((...args: any[]) => any) | undefined;
|
|
887
933
|
onExpandToggle?: ((...args: any[]) => any) | undefined;
|
|
888
934
|
"onRow-click"?: ((...args: any[]) => any) | undefined;
|
|
935
|
+
onOnHighlight?: ((...args: any[]) => any) | undefined;
|
|
936
|
+
onOffHighlight?: ((...args: any[]) => any) | undefined;
|
|
889
937
|
}, {
|
|
890
938
|
textContent: import("vue").ComputedRef<{
|
|
891
939
|
emptyText: string | undefined;
|
|
@@ -962,8 +1010,8 @@ declare const DaoTable: {
|
|
|
962
1010
|
showToolbar: import("vue").ComputedRef<boolean>;
|
|
963
1011
|
searchModel: import("vue").Ref<import("../toolbar").SearchModelType> | import("vue").WritableComputedRef<import("../toolbar").SearchModelType>;
|
|
964
1012
|
selectColumns: (ids: Set<string>) => void;
|
|
965
|
-
|
|
966
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "select" | "delete" | "deselect" | "next" | "prev" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange" | "update:search" | "refresh" | "update:selectedRows" | "update:expandedRows" | "sortChange" | "hideColumn" | "afterResize" | "expandToggle" | "row-click")[], "search" | "select" | "delete" | "deselect" | "next" | "prev" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange" | "update:search" | "refresh" | "update:selectedRows" | "update:expandedRows" | "sortChange" | "hideColumn" | "afterResize" | "expandToggle" | "row-click", {
|
|
1013
|
+
isRowHighlighted: (row: Record<string, unknown>) => boolean;
|
|
1014
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "select" | "delete" | "deselect" | "next" | "prev" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange" | "update:search" | "refresh" | "update:selectedRows" | "update:expandedRows" | "update:highlightedRow" | "sortChange" | "hideColumn" | "afterResize" | "expandToggle" | "row-click" | "onHighlight" | "offHighlight")[], "search" | "select" | "delete" | "deselect" | "next" | "prev" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange" | "update:search" | "refresh" | "update:selectedRows" | "update:expandedRows" | "update:highlightedRow" | "sortChange" | "hideColumn" | "afterResize" | "expandToggle" | "row-click" | "onHighlight" | "offHighlight", {
|
|
967
1015
|
search: import("../toolbar").SearchModelType;
|
|
968
1016
|
sort: import("./type").DaoTableSort;
|
|
969
1017
|
data: import("./table-props").DataPropType;
|
|
@@ -990,6 +1038,8 @@ declare const DaoTable: {
|
|
|
990
1038
|
selectedRows: import("./table-props").DataPropType;
|
|
991
1039
|
expandable: boolean;
|
|
992
1040
|
expandedRows: import("./table-props").DataPropType;
|
|
1041
|
+
highlight: boolean;
|
|
1042
|
+
highlightedRow: Record<string, unknown>;
|
|
993
1043
|
emptyText: string;
|
|
994
1044
|
pageLayout: import("..").PaginationLayoutKey[];
|
|
995
1045
|
hideBatchBar: boolean;
|
|
@@ -75,6 +75,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
75
75
|
type: import("vue").PropType<boolean>;
|
|
76
76
|
default: boolean;
|
|
77
77
|
};
|
|
78
|
+
highlight: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
highlightedRow: {
|
|
83
|
+
type: import("vue").PropType<Record<string, unknown>>;
|
|
84
|
+
default: undefined;
|
|
85
|
+
};
|
|
78
86
|
pageSize: {
|
|
79
87
|
type: import("vue").PropType<number>;
|
|
80
88
|
default: number;
|
|
@@ -212,8 +220,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
212
220
|
showToolbar: import("vue").ComputedRef<boolean>;
|
|
213
221
|
searchModel: import("vue").Ref<import("../toolbar").SearchModelType> | import("vue").WritableComputedRef<import("../toolbar").SearchModelType>;
|
|
214
222
|
selectColumns: (ids: Set<DaoTableColumn['id']>) => void;
|
|
215
|
-
|
|
216
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "select" | "delete" | "deselect" | "next" | "prev" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange" | "update:search" | "refresh" | "update:selectedRows" | "update:expandedRows" | "sortChange" | "hideColumn" | "afterResize" | "expandToggle" | "row-click")[], "search" | "select" | "delete" | "deselect" | "next" | "prev" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange" | "update:search" | "refresh" | "update:selectedRows" | "update:expandedRows" | "sortChange" | "hideColumn" | "afterResize" | "expandToggle" | "row-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
223
|
+
isRowHighlighted: (row: Record<string, unknown>) => boolean;
|
|
224
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "select" | "delete" | "deselect" | "next" | "prev" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange" | "update:search" | "refresh" | "update:selectedRows" | "update:expandedRows" | "update:highlightedRow" | "sortChange" | "hideColumn" | "afterResize" | "expandToggle" | "row-click" | "onHighlight" | "offHighlight")[], "search" | "select" | "delete" | "deselect" | "next" | "prev" | "update:page-size" | "update:current-page" | "page-change" | "size-change" | "pageChange" | "sizeChange" | "update:search" | "refresh" | "update:selectedRows" | "update:expandedRows" | "update:highlightedRow" | "sortChange" | "hideColumn" | "afterResize" | "expandToggle" | "row-click" | "onHighlight" | "offHighlight", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
217
225
|
search: {
|
|
218
226
|
type: import("vue").PropType<import("../toolbar").SearchModelType>;
|
|
219
227
|
default: () => {};
|
|
@@ -286,6 +294,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
286
294
|
type: import("vue").PropType<boolean>;
|
|
287
295
|
default: boolean;
|
|
288
296
|
};
|
|
297
|
+
highlight: {
|
|
298
|
+
type: BooleanConstructor;
|
|
299
|
+
default: boolean;
|
|
300
|
+
};
|
|
301
|
+
highlightedRow: {
|
|
302
|
+
type: import("vue").PropType<Record<string, unknown>>;
|
|
303
|
+
default: undefined;
|
|
304
|
+
};
|
|
289
305
|
pageSize: {
|
|
290
306
|
type: import("vue").PropType<number>;
|
|
291
307
|
default: number;
|
|
@@ -364,11 +380,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
364
380
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
365
381
|
"onUpdate:selectedRows"?: ((...args: any[]) => any) | undefined;
|
|
366
382
|
"onUpdate:expandedRows"?: ((...args: any[]) => any) | undefined;
|
|
383
|
+
"onUpdate:highlightedRow"?: ((...args: any[]) => any) | undefined;
|
|
367
384
|
onSortChange?: ((...args: any[]) => any) | undefined;
|
|
368
385
|
onHideColumn?: ((...args: any[]) => any) | undefined;
|
|
369
386
|
onAfterResize?: ((...args: any[]) => any) | undefined;
|
|
370
387
|
onExpandToggle?: ((...args: any[]) => any) | undefined;
|
|
371
388
|
"onRow-click"?: ((...args: any[]) => any) | undefined;
|
|
389
|
+
onOnHighlight?: ((...args: any[]) => any) | undefined;
|
|
390
|
+
onOffHighlight?: ((...args: any[]) => any) | undefined;
|
|
372
391
|
}, {
|
|
373
392
|
search: import("../toolbar").SearchModelType;
|
|
374
393
|
sort: import("./type").DaoTableSort;
|
|
@@ -396,6 +415,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
396
415
|
selectedRows: import("./table-props").DataPropType;
|
|
397
416
|
expandable: boolean;
|
|
398
417
|
expandedRows: import("./table-props").DataPropType;
|
|
418
|
+
highlight: boolean;
|
|
419
|
+
highlightedRow: Record<string, unknown>;
|
|
399
420
|
emptyText: string;
|
|
400
421
|
pageLayout: import("../pagination").PaginationLayoutKey[];
|
|
401
422
|
hideBatchBar: boolean;
|