@dao-style/core 1.3.1-beta.6 → 1.3.1-beta.8
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/autocomplete/autocomplete.d.ts +1283 -0
- package/dist/components/autocomplete/autocomplete.vue.d.ts +451 -0
- package/dist/components/autocomplete/index.d.ts +2 -0
- package/dist/components/autocomplete/props.d.ts +79 -0
- package/dist/components/drawer/drawer.d.ts +4 -4
- package/dist/components/drawer/drawer.vue.d.ts +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/input/input.d.ts +2 -1
- 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/select/select.d.ts +4 -4
- package/dist/components/select/select.vue.d.ts +1 -1
- package/dist/components/table/table-props.d.ts +11 -0
- package/dist/components/table/table.d.ts +60 -10
- package/dist/components/table/table.vue.d.ts +24 -3
- package/dist/components/toolbar/toolbar.d.ts +4 -4
- package/dist/components/toolbar/toolbar.vue.d.ts +1 -1
- package/dist/dao-style.js +6 -6
- package/dist/dao-style.mjs +7439 -6929
- package/dist/font/DaoCloudIconFont/DaoCloudIconFont.woff2 +0 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/volar.d.ts +1 -0
|
@@ -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;
|
|
@@ -72,8 +72,8 @@ declare const DaoSelect: {
|
|
|
72
72
|
}>> & {
|
|
73
73
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
74
74
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
75
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
76
75
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
76
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
77
77
|
"onSearch-change"?: ((...args: any[]) => any) | undefined;
|
|
78
78
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "modelValue" | "disabled" | "appendTo" | "size" | "multiple" | "loading" | "status" | "placeholder" | "optionsPlaceholder" | "searchPlaceholder" | "menuClass">;
|
|
79
79
|
$attrs: {
|
|
@@ -143,8 +143,8 @@ declare const DaoSelect: {
|
|
|
143
143
|
}>> & {
|
|
144
144
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
145
145
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
146
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
147
146
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
147
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
148
148
|
"onSearch-change"?: ((...args: any[]) => any) | undefined;
|
|
149
149
|
}, {
|
|
150
150
|
t: import("vue-i18n").ComposerTranslation<{
|
|
@@ -660,8 +660,8 @@ declare const DaoSelect: {
|
|
|
660
660
|
}>> & {
|
|
661
661
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
662
662
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
663
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
664
663
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
664
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
665
665
|
"onSearch-change"?: ((...args: any[]) => any) | undefined;
|
|
666
666
|
} & import("vue").ShallowUnwrapRef<{
|
|
667
667
|
t: import("vue-i18n").ComposerTranslation<{
|
|
@@ -1148,8 +1148,8 @@ declare const DaoSelect: {
|
|
|
1148
1148
|
}>> & {
|
|
1149
1149
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1150
1150
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1151
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
1152
1151
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
1152
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
1153
1153
|
"onSearch-change"?: ((...args: any[]) => any) | undefined;
|
|
1154
1154
|
}, {
|
|
1155
1155
|
t: import("vue-i18n").ComposerTranslation<{
|
|
@@ -532,8 +532,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
532
532
|
}>> & {
|
|
533
533
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
534
534
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
535
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
536
535
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
536
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
537
537
|
"onSearch-change"?: ((...args: any[]) => any) | undefined;
|
|
538
538
|
}, {
|
|
539
539
|
search: boolean | import("./types").DaoSelectSearchFn;
|
|
@@ -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;
|
|
@@ -12,6 +12,7 @@ declare const DaoTable: {
|
|
|
12
12
|
data: import("./table-props").DataPropType;
|
|
13
13
|
compact: boolean;
|
|
14
14
|
columns: DaoTableColumn[];
|
|
15
|
+
searchPlaceholder: string;
|
|
15
16
|
total: number;
|
|
16
17
|
selectedFormat: (total: number) => string;
|
|
17
18
|
deselectText: string;
|
|
@@ -23,7 +24,6 @@ declare const DaoTable: {
|
|
|
23
24
|
currentPage: number;
|
|
24
25
|
pageSizerWidth: number;
|
|
25
26
|
noShadow: boolean;
|
|
26
|
-
searchPlaceholder: string;
|
|
27
27
|
searchOptions: import("../toolbar").SearchOption[];
|
|
28
28
|
fuzzy: import("../toolbar").FuzzyOption;
|
|
29
29
|
hideRefresh: boolean;
|
|
@@ -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" | "searchPlaceholder" | "total" | "selectedFormat" | "deselectText" | "removeText" | "showHeader" | "pageSize" | "pageSizeOptions" | "pageFormat" | "currentPage" | "pageSizerWidth" | "noShadow" | "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" | "
|
|
222
|
+
$emit: (event: "search" | "select" | "next" | "prev" | "delete" | "deselect" | "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,13 +464,14 @@ 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" | "
|
|
467
|
+
isRowHighlighted: (row: Record<string, unknown>) => boolean;
|
|
468
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "select" | "next" | "prev" | "delete" | "deselect" | "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;
|
|
448
472
|
compact: boolean;
|
|
449
473
|
columns: DaoTableColumn[];
|
|
474
|
+
searchPlaceholder: string;
|
|
450
475
|
total: number;
|
|
451
476
|
selectedFormat: (total: number) => string;
|
|
452
477
|
deselectText: string;
|
|
@@ -458,7 +483,6 @@ declare const DaoTable: {
|
|
|
458
483
|
currentPage: number;
|
|
459
484
|
pageSizerWidth: number;
|
|
460
485
|
noShadow: boolean;
|
|
461
|
-
searchPlaceholder: string;
|
|
462
486
|
searchOptions: import("../toolbar").SearchOption[];
|
|
463
487
|
fuzzy: import("../toolbar").FuzzyOption;
|
|
464
488
|
hideRefresh: boolean;
|
|
@@ -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,13 +1010,14 @@ 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" | "
|
|
1013
|
+
isRowHighlighted: (row: Record<string, unknown>) => boolean;
|
|
1014
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "select" | "next" | "prev" | "delete" | "deselect" | "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" | "next" | "prev" | "delete" | "deselect" | "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;
|
|
970
1018
|
compact: boolean;
|
|
971
1019
|
columns: DaoTableColumn[];
|
|
1020
|
+
searchPlaceholder: string;
|
|
972
1021
|
total: number;
|
|
973
1022
|
selectedFormat: (total: number) => string;
|
|
974
1023
|
deselectText: string;
|
|
@@ -980,7 +1029,6 @@ declare const DaoTable: {
|
|
|
980
1029
|
currentPage: number;
|
|
981
1030
|
pageSizerWidth: number;
|
|
982
1031
|
noShadow: boolean;
|
|
983
|
-
searchPlaceholder: string;
|
|
984
1032
|
searchOptions: import("../toolbar").SearchOption[];
|
|
985
1033
|
fuzzy: import("../toolbar").FuzzyOption;
|
|
986
1034
|
hideRefresh: boolean;
|
|
@@ -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" | "
|
|
223
|
+
isRowHighlighted: (row: Record<string, unknown>) => boolean;
|
|
224
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "select" | "next" | "prev" | "delete" | "deselect" | "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" | "next" | "prev" | "delete" | "deselect" | "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,17 +380,21 @@ 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;
|
|
375
394
|
data: import("./table-props").DataPropType;
|
|
376
395
|
compact: boolean;
|
|
377
396
|
columns: DaoTableColumn[];
|
|
397
|
+
searchPlaceholder: string;
|
|
378
398
|
total: number;
|
|
379
399
|
selectedFormat: (total: number) => string;
|
|
380
400
|
deselectText: string;
|
|
@@ -386,7 +406,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
386
406
|
currentPage: number;
|
|
387
407
|
pageSizerWidth: number;
|
|
388
408
|
noShadow: boolean;
|
|
389
|
-
searchPlaceholder: string;
|
|
390
409
|
searchOptions: import("../toolbar").SearchOption[];
|
|
391
410
|
fuzzy: import("../toolbar").FuzzyOption;
|
|
392
411
|
hideRefresh: boolean;
|
|
@@ -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;
|
|
@@ -6,8 +6,8 @@ declare const _default: {
|
|
|
6
6
|
$data: {};
|
|
7
7
|
$props: Partial<{
|
|
8
8
|
search: import("./toolbar-props").SearchModelType;
|
|
9
|
-
noShadow: boolean;
|
|
10
9
|
searchPlaceholder: string;
|
|
10
|
+
noShadow: boolean;
|
|
11
11
|
searchOptions: import("./types").SearchOption[];
|
|
12
12
|
fuzzy: import("./types").FuzzyOption;
|
|
13
13
|
hideRefresh: boolean;
|
|
@@ -50,7 +50,7 @@ declare const _default: {
|
|
|
50
50
|
onSearch?: ((...args: any[]) => any) | undefined;
|
|
51
51
|
"onUpdate:search"?: ((...args: any[]) => any) | undefined;
|
|
52
52
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
53
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "
|
|
53
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "searchPlaceholder" | "noShadow" | "searchOptions" | "fuzzy" | "hideRefresh" | "hideSearch" | "noRounded">;
|
|
54
54
|
$attrs: {
|
|
55
55
|
[x: string]: unknown;
|
|
56
56
|
};
|
|
@@ -119,8 +119,8 @@ declare const _default: {
|
|
|
119
119
|
getValueLabel: (key: string, value: import("./types").SearchValue) => import("./types").SearchValue;
|
|
120
120
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:search" | "refresh")[], string, {
|
|
121
121
|
search: import("./toolbar-props").SearchModelType;
|
|
122
|
-
noShadow: boolean;
|
|
123
122
|
searchPlaceholder: string;
|
|
123
|
+
noShadow: boolean;
|
|
124
124
|
searchOptions: import("./types").SearchOption[];
|
|
125
125
|
fuzzy: import("./types").FuzzyOption;
|
|
126
126
|
hideRefresh: boolean;
|
|
@@ -258,8 +258,8 @@ declare const _default: {
|
|
|
258
258
|
getValueLabel: (key: string, value: import("./types").SearchValue) => import("./types").SearchValue;
|
|
259
259
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:search" | "refresh")[], "search" | "update:search" | "refresh", {
|
|
260
260
|
search: import("./toolbar-props").SearchModelType;
|
|
261
|
-
noShadow: boolean;
|
|
262
261
|
searchPlaceholder: string;
|
|
262
|
+
noShadow: boolean;
|
|
263
263
|
searchOptions: import("./types").SearchOption[];
|
|
264
264
|
fuzzy: import("./types").FuzzyOption;
|
|
265
265
|
hideRefresh: boolean;
|
|
@@ -87,8 +87,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
87
87
|
onRefresh?: ((...args: any[]) => any) | undefined;
|
|
88
88
|
}, {
|
|
89
89
|
search: import("./toolbar-props").SearchModelType;
|
|
90
|
-
noShadow: boolean;
|
|
91
90
|
searchPlaceholder: string;
|
|
91
|
+
noShadow: boolean;
|
|
92
92
|
searchOptions: import("./types").SearchOption[];
|
|
93
93
|
fuzzy: import("./types").FuzzyOption;
|
|
94
94
|
hideRefresh: boolean;
|