@dao-style/core 1.12.3-beta.1 → 1.12.3-beta.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/components/action-icon/action-icon.d.ts +68 -1
- package/dist/components/action-icon/action-icon.vue.d.ts +26 -0
- package/dist/components/action-icon/props.d.ts +5 -0
- package/dist/components/button/button.d.ts +72 -5
- package/dist/components/button/button.vue.d.ts +28 -2
- package/dist/components/button/props.d.ts +6 -1
- package/dist/components/dropdown/dropdown-item.d.ts +68 -1
- package/dist/components/dropdown/dropdown-item.vue.d.ts +26 -0
- package/dist/components/dropdown/props.d.ts +5 -0
- package/dist/components/table/column-setting.vue.d.ts +68 -1
- package/dist/dao-style.js +6 -6
- package/dist/dao-style.mjs +1734 -1720
- package/package.json +1 -1
|
@@ -12,6 +12,22 @@ declare const DaoActionIcon: {
|
|
|
12
12
|
active: boolean;
|
|
13
13
|
tooltipContent: string;
|
|
14
14
|
tooltipDisabled: boolean;
|
|
15
|
+
tooltipOption: {
|
|
16
|
+
modelValue: boolean;
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
offset: string | number;
|
|
19
|
+
placement: import("@popperjs/core").Placement;
|
|
20
|
+
content: string;
|
|
21
|
+
appendTo: string | false | HTMLElement;
|
|
22
|
+
boundary: import("@popperjs/core").Boundary;
|
|
23
|
+
delay: import("..").DelayProp;
|
|
24
|
+
width: string | number;
|
|
25
|
+
trigger: "manual" | import("..").PopperTrigger | import("..").PopperTrigger[];
|
|
26
|
+
visibleArrow: boolean;
|
|
27
|
+
popperClass: string;
|
|
28
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
29
|
+
transition: string;
|
|
30
|
+
};
|
|
15
31
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
16
32
|
name: {
|
|
17
33
|
type: StringConstructor;
|
|
@@ -38,11 +54,15 @@ declare const DaoActionIcon: {
|
|
|
38
54
|
type: BooleanConstructor;
|
|
39
55
|
default: boolean;
|
|
40
56
|
};
|
|
57
|
+
tooltipOption: {
|
|
58
|
+
type: import("vue").PropType<import("..").TooltipProps>;
|
|
59
|
+
default: () => {};
|
|
60
|
+
};
|
|
41
61
|
active: {
|
|
42
62
|
type: BooleanConstructor;
|
|
43
63
|
default: boolean;
|
|
44
64
|
};
|
|
45
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "name" | "size" | "active" | "tooltipContent" | "tooltipDisabled">;
|
|
65
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "name" | "size" | "active" | "tooltipContent" | "tooltipDisabled" | "tooltipOption">;
|
|
46
66
|
$attrs: {
|
|
47
67
|
[x: string]: unknown;
|
|
48
68
|
};
|
|
@@ -82,6 +102,10 @@ declare const DaoActionIcon: {
|
|
|
82
102
|
type: BooleanConstructor;
|
|
83
103
|
default: boolean;
|
|
84
104
|
};
|
|
105
|
+
tooltipOption: {
|
|
106
|
+
type: import("vue").PropType<import("..").TooltipProps>;
|
|
107
|
+
default: () => {};
|
|
108
|
+
};
|
|
85
109
|
active: {
|
|
86
110
|
type: BooleanConstructor;
|
|
87
111
|
default: boolean;
|
|
@@ -90,6 +114,7 @@ declare const DaoActionIcon: {
|
|
|
90
114
|
isDivider: boolean;
|
|
91
115
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
92
116
|
classList: import("vue").ComputedRef<string[]>;
|
|
117
|
+
actualTooltipOption: import("vue").ComputedRef<import("..").TooltipProps>;
|
|
93
118
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
94
119
|
type: import("./props").ActionIconType;
|
|
95
120
|
disabled: boolean;
|
|
@@ -98,6 +123,22 @@ declare const DaoActionIcon: {
|
|
|
98
123
|
active: boolean;
|
|
99
124
|
tooltipContent: string;
|
|
100
125
|
tooltipDisabled: boolean;
|
|
126
|
+
tooltipOption: {
|
|
127
|
+
modelValue: boolean;
|
|
128
|
+
disabled: boolean;
|
|
129
|
+
offset: string | number;
|
|
130
|
+
placement: import("@popperjs/core").Placement;
|
|
131
|
+
content: string;
|
|
132
|
+
appendTo: string | false | HTMLElement;
|
|
133
|
+
boundary: import("@popperjs/core").Boundary;
|
|
134
|
+
delay: import("..").DelayProp;
|
|
135
|
+
width: string | number;
|
|
136
|
+
trigger: "manual" | import("..").PopperTrigger | import("..").PopperTrigger[];
|
|
137
|
+
visibleArrow: boolean;
|
|
138
|
+
popperClass: string;
|
|
139
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
140
|
+
transition: string;
|
|
141
|
+
};
|
|
101
142
|
}, {}, string> & {
|
|
102
143
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
103
144
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -144,6 +185,10 @@ declare const DaoActionIcon: {
|
|
|
144
185
|
type: BooleanConstructor;
|
|
145
186
|
default: boolean;
|
|
146
187
|
};
|
|
188
|
+
tooltipOption: {
|
|
189
|
+
type: import("vue").PropType<import("..").TooltipProps>;
|
|
190
|
+
default: () => {};
|
|
191
|
+
};
|
|
147
192
|
active: {
|
|
148
193
|
type: BooleanConstructor;
|
|
149
194
|
default: boolean;
|
|
@@ -152,6 +197,7 @@ declare const DaoActionIcon: {
|
|
|
152
197
|
isDivider: boolean;
|
|
153
198
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
154
199
|
classList: import("vue").ComputedRef<string[]>;
|
|
200
|
+
actualTooltipOption: import("vue").ComputedRef<import("..").TooltipProps>;
|
|
155
201
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
156
202
|
__isFragment?: undefined;
|
|
157
203
|
__isTeleport?: undefined;
|
|
@@ -182,6 +228,10 @@ declare const DaoActionIcon: {
|
|
|
182
228
|
type: BooleanConstructor;
|
|
183
229
|
default: boolean;
|
|
184
230
|
};
|
|
231
|
+
tooltipOption: {
|
|
232
|
+
type: import("vue").PropType<import("..").TooltipProps>;
|
|
233
|
+
default: () => {};
|
|
234
|
+
};
|
|
185
235
|
active: {
|
|
186
236
|
type: BooleanConstructor;
|
|
187
237
|
default: boolean;
|
|
@@ -190,6 +240,7 @@ declare const DaoActionIcon: {
|
|
|
190
240
|
isDivider: boolean;
|
|
191
241
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
192
242
|
classList: import("vue").ComputedRef<string[]>;
|
|
243
|
+
actualTooltipOption: import("vue").ComputedRef<import("..").TooltipProps>;
|
|
193
244
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
194
245
|
type: import("./props").ActionIconType;
|
|
195
246
|
disabled: boolean;
|
|
@@ -198,6 +249,22 @@ declare const DaoActionIcon: {
|
|
|
198
249
|
active: boolean;
|
|
199
250
|
tooltipContent: string;
|
|
200
251
|
tooltipDisabled: boolean;
|
|
252
|
+
tooltipOption: {
|
|
253
|
+
modelValue: boolean;
|
|
254
|
+
disabled: boolean;
|
|
255
|
+
offset: string | number;
|
|
256
|
+
placement: import("@popperjs/core").Placement;
|
|
257
|
+
content: string;
|
|
258
|
+
appendTo: string | false | HTMLElement;
|
|
259
|
+
boundary: import("@popperjs/core").Boundary;
|
|
260
|
+
delay: import("..").DelayProp;
|
|
261
|
+
width: string | number;
|
|
262
|
+
trigger: "manual" | import("..").PopperTrigger | import("..").PopperTrigger[];
|
|
263
|
+
visibleArrow: boolean;
|
|
264
|
+
popperClass: string;
|
|
265
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
266
|
+
transition: string;
|
|
267
|
+
};
|
|
201
268
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
202
269
|
$props: Partial<ActionIconProps>;
|
|
203
270
|
$slots: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type TooltipProps } from '../tooltip';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
|
2
3
|
name: {
|
|
3
4
|
type: StringConstructor;
|
|
@@ -24,6 +25,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
25
|
type: BooleanConstructor;
|
|
25
26
|
default: boolean;
|
|
26
27
|
};
|
|
28
|
+
tooltipOption: {
|
|
29
|
+
type: import("vue").PropType<TooltipProps>;
|
|
30
|
+
default: () => {};
|
|
31
|
+
};
|
|
27
32
|
active: {
|
|
28
33
|
type: BooleanConstructor;
|
|
29
34
|
default: boolean;
|
|
@@ -32,6 +37,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
37
|
isDivider: boolean;
|
|
33
38
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
34
39
|
classList: import("vue").ComputedRef<string[]>;
|
|
40
|
+
actualTooltipOption: import("vue").ComputedRef<TooltipProps>;
|
|
35
41
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
42
|
name: {
|
|
37
43
|
type: StringConstructor;
|
|
@@ -58,6 +64,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
58
64
|
type: BooleanConstructor;
|
|
59
65
|
default: boolean;
|
|
60
66
|
};
|
|
67
|
+
tooltipOption: {
|
|
68
|
+
type: import("vue").PropType<TooltipProps>;
|
|
69
|
+
default: () => {};
|
|
70
|
+
};
|
|
61
71
|
active: {
|
|
62
72
|
type: BooleanConstructor;
|
|
63
73
|
default: boolean;
|
|
@@ -70,5 +80,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
80
|
active: boolean;
|
|
71
81
|
tooltipContent: string;
|
|
72
82
|
tooltipDisabled: boolean;
|
|
83
|
+
tooltipOption: {
|
|
84
|
+
modelValue: boolean;
|
|
85
|
+
disabled: boolean;
|
|
86
|
+
offset: string | number;
|
|
87
|
+
placement: import("@popperjs/core").Placement;
|
|
88
|
+
content: string;
|
|
89
|
+
appendTo: string | false | HTMLElement;
|
|
90
|
+
boundary: import("@popperjs/core").Boundary;
|
|
91
|
+
delay: import("..").DelayProp;
|
|
92
|
+
width: string | number;
|
|
93
|
+
trigger: "manual" | import("..").PopperTrigger | import("..").PopperTrigger[];
|
|
94
|
+
visibleArrow: boolean;
|
|
95
|
+
popperClass: string;
|
|
96
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
97
|
+
transition: string;
|
|
98
|
+
};
|
|
73
99
|
}>;
|
|
74
100
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type PropType, ExtractPropTypes } from 'vue';
|
|
2
|
+
import { type TooltipProps } from '../tooltip';
|
|
2
3
|
export type ActionIconType = 'button' | 'divider' | 'simple';
|
|
3
4
|
export type ActionIconSize = 'md' | 'sm' | 'xs';
|
|
4
5
|
export declare const actionIconProps: {
|
|
@@ -27,6 +28,10 @@ export declare const actionIconProps: {
|
|
|
27
28
|
type: BooleanConstructor;
|
|
28
29
|
default: boolean;
|
|
29
30
|
};
|
|
31
|
+
tooltipOption: {
|
|
32
|
+
type: PropType<TooltipProps>;
|
|
33
|
+
default: () => {};
|
|
34
|
+
};
|
|
30
35
|
active: {
|
|
31
36
|
type: BooleanConstructor;
|
|
32
37
|
default: boolean;
|
|
@@ -13,6 +13,22 @@ declare const DaoButton: {
|
|
|
13
13
|
active: boolean;
|
|
14
14
|
tooltipContent: string;
|
|
15
15
|
tooltipDisabled: boolean;
|
|
16
|
+
tooltipOption: {
|
|
17
|
+
modelValue: boolean;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
offset: string | number;
|
|
20
|
+
placement: import("@popperjs/core").Placement;
|
|
21
|
+
content: string;
|
|
22
|
+
appendTo: string | false | HTMLElement;
|
|
23
|
+
boundary: import("@popperjs/core").Boundary;
|
|
24
|
+
delay: import("..").DelayProp;
|
|
25
|
+
width: string | number;
|
|
26
|
+
trigger: "manual" | import("..").PopperTrigger | import("..").PopperTrigger[];
|
|
27
|
+
visibleArrow: boolean;
|
|
28
|
+
popperClass: string;
|
|
29
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
30
|
+
transition: string;
|
|
31
|
+
};
|
|
16
32
|
loading: boolean;
|
|
17
33
|
iconLeft: string;
|
|
18
34
|
iconRight: string;
|
|
@@ -53,17 +69,21 @@ declare const DaoButton: {
|
|
|
53
69
|
};
|
|
54
70
|
tooltipContent: {
|
|
55
71
|
type: StringConstructor;
|
|
56
|
-
default:
|
|
72
|
+
default: string;
|
|
57
73
|
};
|
|
58
74
|
tooltipDisabled: {
|
|
59
75
|
type: BooleanConstructor;
|
|
60
76
|
default: boolean;
|
|
61
77
|
};
|
|
78
|
+
tooltipOption: {
|
|
79
|
+
type: import("vue").PropType<import("..").TooltipProps>;
|
|
80
|
+
default: () => {};
|
|
81
|
+
};
|
|
62
82
|
active: {
|
|
63
83
|
type: BooleanConstructor;
|
|
64
84
|
default: boolean;
|
|
65
85
|
};
|
|
66
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "useFont" | "size" | "block" | "active" | "tooltipContent" | "tooltipDisabled" | "loading" | "iconLeft" | "iconRight">;
|
|
86
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "useFont" | "size" | "block" | "active" | "tooltipContent" | "tooltipDisabled" | "tooltipOption" | "loading" | "iconLeft" | "iconRight">;
|
|
67
87
|
$attrs: {
|
|
68
88
|
[x: string]: unknown;
|
|
69
89
|
};
|
|
@@ -114,12 +134,16 @@ declare const DaoButton: {
|
|
|
114
134
|
};
|
|
115
135
|
tooltipContent: {
|
|
116
136
|
type: StringConstructor;
|
|
117
|
-
default:
|
|
137
|
+
default: string;
|
|
118
138
|
};
|
|
119
139
|
tooltipDisabled: {
|
|
120
140
|
type: BooleanConstructor;
|
|
121
141
|
default: boolean;
|
|
122
142
|
};
|
|
143
|
+
tooltipOption: {
|
|
144
|
+
type: import("vue").PropType<import("..").TooltipProps>;
|
|
145
|
+
default: () => {};
|
|
146
|
+
};
|
|
123
147
|
active: {
|
|
124
148
|
type: BooleanConstructor;
|
|
125
149
|
default: boolean;
|
|
@@ -134,6 +158,7 @@ declare const DaoButton: {
|
|
|
134
158
|
realIconRight: import("vue").ComputedRef<string>;
|
|
135
159
|
leftIconClassName: import("vue").ComputedRef<"dao-btn__iconfont" | "dao-btn__icon">;
|
|
136
160
|
rightIconClassName: import("vue").ComputedRef<"dao-btn__iconfont" | "dao-btn__icon">;
|
|
161
|
+
actualTooltipOption: import("vue").ComputedRef<import("..").TooltipProps>;
|
|
137
162
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
138
163
|
type: import("./props").ButtonType;
|
|
139
164
|
disabled: boolean;
|
|
@@ -143,6 +168,22 @@ declare const DaoButton: {
|
|
|
143
168
|
active: boolean;
|
|
144
169
|
tooltipContent: string;
|
|
145
170
|
tooltipDisabled: boolean;
|
|
171
|
+
tooltipOption: {
|
|
172
|
+
modelValue: boolean;
|
|
173
|
+
disabled: boolean;
|
|
174
|
+
offset: string | number;
|
|
175
|
+
placement: import("@popperjs/core").Placement;
|
|
176
|
+
content: string;
|
|
177
|
+
appendTo: string | false | HTMLElement;
|
|
178
|
+
boundary: import("@popperjs/core").Boundary;
|
|
179
|
+
delay: import("..").DelayProp;
|
|
180
|
+
width: string | number;
|
|
181
|
+
trigger: "manual" | import("..").PopperTrigger | import("..").PopperTrigger[];
|
|
182
|
+
visibleArrow: boolean;
|
|
183
|
+
popperClass: string;
|
|
184
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
185
|
+
transition: string;
|
|
186
|
+
};
|
|
146
187
|
loading: boolean;
|
|
147
188
|
iconLeft: string;
|
|
148
189
|
iconRight: string;
|
|
@@ -203,12 +244,16 @@ declare const DaoButton: {
|
|
|
203
244
|
};
|
|
204
245
|
tooltipContent: {
|
|
205
246
|
type: StringConstructor;
|
|
206
|
-
default:
|
|
247
|
+
default: string;
|
|
207
248
|
};
|
|
208
249
|
tooltipDisabled: {
|
|
209
250
|
type: BooleanConstructor;
|
|
210
251
|
default: boolean;
|
|
211
252
|
};
|
|
253
|
+
tooltipOption: {
|
|
254
|
+
type: import("vue").PropType<import("..").TooltipProps>;
|
|
255
|
+
default: () => {};
|
|
256
|
+
};
|
|
212
257
|
active: {
|
|
213
258
|
type: BooleanConstructor;
|
|
214
259
|
default: boolean;
|
|
@@ -223,6 +268,7 @@ declare const DaoButton: {
|
|
|
223
268
|
realIconRight: import("vue").ComputedRef<string>;
|
|
224
269
|
leftIconClassName: import("vue").ComputedRef<"dao-btn__iconfont" | "dao-btn__icon">;
|
|
225
270
|
rightIconClassName: import("vue").ComputedRef<"dao-btn__iconfont" | "dao-btn__icon">;
|
|
271
|
+
actualTooltipOption: import("vue").ComputedRef<import("..").TooltipProps>;
|
|
226
272
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
227
273
|
__isFragment?: undefined;
|
|
228
274
|
__isTeleport?: undefined;
|
|
@@ -264,12 +310,16 @@ declare const DaoButton: {
|
|
|
264
310
|
};
|
|
265
311
|
tooltipContent: {
|
|
266
312
|
type: StringConstructor;
|
|
267
|
-
default:
|
|
313
|
+
default: string;
|
|
268
314
|
};
|
|
269
315
|
tooltipDisabled: {
|
|
270
316
|
type: BooleanConstructor;
|
|
271
317
|
default: boolean;
|
|
272
318
|
};
|
|
319
|
+
tooltipOption: {
|
|
320
|
+
type: import("vue").PropType<import("..").TooltipProps>;
|
|
321
|
+
default: () => {};
|
|
322
|
+
};
|
|
273
323
|
active: {
|
|
274
324
|
type: BooleanConstructor;
|
|
275
325
|
default: boolean;
|
|
@@ -284,6 +334,7 @@ declare const DaoButton: {
|
|
|
284
334
|
realIconRight: import("vue").ComputedRef<string>;
|
|
285
335
|
leftIconClassName: import("vue").ComputedRef<"dao-btn__iconfont" | "dao-btn__icon">;
|
|
286
336
|
rightIconClassName: import("vue").ComputedRef<"dao-btn__iconfont" | "dao-btn__icon">;
|
|
337
|
+
actualTooltipOption: import("vue").ComputedRef<import("..").TooltipProps>;
|
|
287
338
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
288
339
|
type: import("./props").ButtonType;
|
|
289
340
|
disabled: boolean;
|
|
@@ -293,6 +344,22 @@ declare const DaoButton: {
|
|
|
293
344
|
active: boolean;
|
|
294
345
|
tooltipContent: string;
|
|
295
346
|
tooltipDisabled: boolean;
|
|
347
|
+
tooltipOption: {
|
|
348
|
+
modelValue: boolean;
|
|
349
|
+
disabled: boolean;
|
|
350
|
+
offset: string | number;
|
|
351
|
+
placement: import("@popperjs/core").Placement;
|
|
352
|
+
content: string;
|
|
353
|
+
appendTo: string | false | HTMLElement;
|
|
354
|
+
boundary: import("@popperjs/core").Boundary;
|
|
355
|
+
delay: import("..").DelayProp;
|
|
356
|
+
width: string | number;
|
|
357
|
+
trigger: "manual" | import("..").PopperTrigger | import("..").PopperTrigger[];
|
|
358
|
+
visibleArrow: boolean;
|
|
359
|
+
popperClass: string;
|
|
360
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
361
|
+
transition: string;
|
|
362
|
+
};
|
|
296
363
|
loading: boolean;
|
|
297
364
|
iconLeft: string;
|
|
298
365
|
iconRight: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type TooltipProps } from '../tooltip';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
|
2
3
|
type: {
|
|
3
4
|
type: import("vue").PropType<import("./props").ButtonType>;
|
|
@@ -35,12 +36,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
36
|
};
|
|
36
37
|
tooltipContent: {
|
|
37
38
|
type: StringConstructor;
|
|
38
|
-
default:
|
|
39
|
+
default: string;
|
|
39
40
|
};
|
|
40
41
|
tooltipDisabled: {
|
|
41
42
|
type: BooleanConstructor;
|
|
42
43
|
default: boolean;
|
|
43
44
|
};
|
|
45
|
+
tooltipOption: {
|
|
46
|
+
type: import("vue").PropType<TooltipProps>;
|
|
47
|
+
default: () => {};
|
|
48
|
+
};
|
|
44
49
|
active: {
|
|
45
50
|
type: BooleanConstructor;
|
|
46
51
|
default: boolean;
|
|
@@ -55,6 +60,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
55
60
|
realIconRight: import("vue").ComputedRef<string>;
|
|
56
61
|
leftIconClassName: import("vue").ComputedRef<"dao-btn__iconfont" | "dao-btn__icon">;
|
|
57
62
|
rightIconClassName: import("vue").ComputedRef<"dao-btn__iconfont" | "dao-btn__icon">;
|
|
63
|
+
actualTooltipOption: import("vue").ComputedRef<TooltipProps>;
|
|
58
64
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
59
65
|
type: {
|
|
60
66
|
type: import("vue").PropType<import("./props").ButtonType>;
|
|
@@ -92,12 +98,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
92
98
|
};
|
|
93
99
|
tooltipContent: {
|
|
94
100
|
type: StringConstructor;
|
|
95
|
-
default:
|
|
101
|
+
default: string;
|
|
96
102
|
};
|
|
97
103
|
tooltipDisabled: {
|
|
98
104
|
type: BooleanConstructor;
|
|
99
105
|
default: boolean;
|
|
100
106
|
};
|
|
107
|
+
tooltipOption: {
|
|
108
|
+
type: import("vue").PropType<TooltipProps>;
|
|
109
|
+
default: () => {};
|
|
110
|
+
};
|
|
101
111
|
active: {
|
|
102
112
|
type: BooleanConstructor;
|
|
103
113
|
default: boolean;
|
|
@@ -111,6 +121,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
111
121
|
active: boolean;
|
|
112
122
|
tooltipContent: string;
|
|
113
123
|
tooltipDisabled: boolean;
|
|
124
|
+
tooltipOption: {
|
|
125
|
+
modelValue: boolean;
|
|
126
|
+
disabled: boolean;
|
|
127
|
+
offset: string | number;
|
|
128
|
+
placement: import("@popperjs/core").Placement;
|
|
129
|
+
content: string;
|
|
130
|
+
appendTo: string | false | HTMLElement;
|
|
131
|
+
boundary: import("@popperjs/core").Boundary;
|
|
132
|
+
delay: import("..").DelayProp;
|
|
133
|
+
width: string | number;
|
|
134
|
+
trigger: "manual" | import("..").PopperTrigger | import("..").PopperTrigger[];
|
|
135
|
+
visibleArrow: boolean;
|
|
136
|
+
popperClass: string;
|
|
137
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
138
|
+
transition: string;
|
|
139
|
+
};
|
|
114
140
|
loading: boolean;
|
|
115
141
|
iconLeft: string;
|
|
116
142
|
iconRight: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { type TooltipProps } from '../tooltip';
|
|
2
3
|
export type ButtonType = 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'danger';
|
|
3
4
|
export declare const BUTTON_TYPES: ButtonType[];
|
|
4
5
|
export declare const buttonProps: {
|
|
@@ -38,12 +39,16 @@ export declare const buttonProps: {
|
|
|
38
39
|
};
|
|
39
40
|
tooltipContent: {
|
|
40
41
|
type: StringConstructor;
|
|
41
|
-
default:
|
|
42
|
+
default: string;
|
|
42
43
|
};
|
|
43
44
|
tooltipDisabled: {
|
|
44
45
|
type: BooleanConstructor;
|
|
45
46
|
default: boolean;
|
|
46
47
|
};
|
|
48
|
+
tooltipOption: {
|
|
49
|
+
type: PropType<TooltipProps>;
|
|
50
|
+
default: () => {};
|
|
51
|
+
};
|
|
47
52
|
active: {
|
|
48
53
|
type: BooleanConstructor;
|
|
49
54
|
default: boolean;
|
|
@@ -10,6 +10,22 @@ declare const DaoDropdownItem: {
|
|
|
10
10
|
color: import("./props").DropdownItemColor;
|
|
11
11
|
tooltipContent: string;
|
|
12
12
|
tooltipDisabled: boolean;
|
|
13
|
+
tooltipOption: {
|
|
14
|
+
modelValue: boolean;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
offset: string | number;
|
|
17
|
+
placement: import("@popperjs/core").Placement;
|
|
18
|
+
content: string;
|
|
19
|
+
appendTo: string | false | HTMLElement;
|
|
20
|
+
boundary: import("@popperjs/core").Boundary;
|
|
21
|
+
delay: import("..").DelayProp;
|
|
22
|
+
width: string | number;
|
|
23
|
+
trigger: "manual" | import("..").PopperTrigger | import("..").PopperTrigger[];
|
|
24
|
+
visibleArrow: boolean;
|
|
25
|
+
popperClass: string;
|
|
26
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
27
|
+
transition: string;
|
|
28
|
+
};
|
|
13
29
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
14
30
|
type: {
|
|
15
31
|
type: import("vue").PropType<import("./props").DropdownItemType>;
|
|
@@ -33,9 +49,13 @@ declare const DaoDropdownItem: {
|
|
|
33
49
|
type: BooleanConstructor;
|
|
34
50
|
default: boolean;
|
|
35
51
|
};
|
|
52
|
+
tooltipOption: {
|
|
53
|
+
type: import("vue").PropType<import("..").TooltipProps>;
|
|
54
|
+
default: () => {};
|
|
55
|
+
};
|
|
36
56
|
}>> & {
|
|
37
57
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
38
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "color" | "tooltipContent" | "tooltipDisabled">;
|
|
58
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "color" | "tooltipContent" | "tooltipDisabled" | "tooltipOption">;
|
|
39
59
|
$attrs: {
|
|
40
60
|
[x: string]: unknown;
|
|
41
61
|
};
|
|
@@ -72,6 +92,10 @@ declare const DaoDropdownItem: {
|
|
|
72
92
|
type: BooleanConstructor;
|
|
73
93
|
default: boolean;
|
|
74
94
|
};
|
|
95
|
+
tooltipOption: {
|
|
96
|
+
type: import("vue").PropType<import("..").TooltipProps>;
|
|
97
|
+
default: () => {};
|
|
98
|
+
};
|
|
75
99
|
}>> & {
|
|
76
100
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
77
101
|
}, {
|
|
@@ -79,12 +103,29 @@ declare const DaoDropdownItem: {
|
|
|
79
103
|
itemAttrs: import("vue").ComputedRef<{
|
|
80
104
|
onClick(event: Event): void;
|
|
81
105
|
}>;
|
|
106
|
+
actualTooltipOption: import("vue").ComputedRef<import("..").TooltipProps>;
|
|
82
107
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], string, {
|
|
83
108
|
type: import("./props").DropdownItemType;
|
|
84
109
|
disabled: boolean;
|
|
85
110
|
color: import("./props").DropdownItemColor;
|
|
86
111
|
tooltipContent: string;
|
|
87
112
|
tooltipDisabled: boolean;
|
|
113
|
+
tooltipOption: {
|
|
114
|
+
modelValue: boolean;
|
|
115
|
+
disabled: boolean;
|
|
116
|
+
offset: string | number;
|
|
117
|
+
placement: import("@popperjs/core").Placement;
|
|
118
|
+
content: string;
|
|
119
|
+
appendTo: string | false | HTMLElement;
|
|
120
|
+
boundary: import("@popperjs/core").Boundary;
|
|
121
|
+
delay: import("..").DelayProp;
|
|
122
|
+
width: string | number;
|
|
123
|
+
trigger: "manual" | import("..").PopperTrigger | import("..").PopperTrigger[];
|
|
124
|
+
visibleArrow: boolean;
|
|
125
|
+
popperClass: string;
|
|
126
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
127
|
+
transition: string;
|
|
128
|
+
};
|
|
88
129
|
}, {}, string> & {
|
|
89
130
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
90
131
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -128,6 +169,10 @@ declare const DaoDropdownItem: {
|
|
|
128
169
|
type: BooleanConstructor;
|
|
129
170
|
default: boolean;
|
|
130
171
|
};
|
|
172
|
+
tooltipOption: {
|
|
173
|
+
type: import("vue").PropType<import("..").TooltipProps>;
|
|
174
|
+
default: () => {};
|
|
175
|
+
};
|
|
131
176
|
}>> & {
|
|
132
177
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
133
178
|
} & import("vue").ShallowUnwrapRef<{
|
|
@@ -135,6 +180,7 @@ declare const DaoDropdownItem: {
|
|
|
135
180
|
itemAttrs: import("vue").ComputedRef<{
|
|
136
181
|
onClick(event: Event): void;
|
|
137
182
|
}>;
|
|
183
|
+
actualTooltipOption: import("vue").ComputedRef<import("..").TooltipProps>;
|
|
138
184
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
139
185
|
__isFragment?: undefined;
|
|
140
186
|
__isTeleport?: undefined;
|
|
@@ -162,6 +208,10 @@ declare const DaoDropdownItem: {
|
|
|
162
208
|
type: BooleanConstructor;
|
|
163
209
|
default: boolean;
|
|
164
210
|
};
|
|
211
|
+
tooltipOption: {
|
|
212
|
+
type: import("vue").PropType<import("..").TooltipProps>;
|
|
213
|
+
default: () => {};
|
|
214
|
+
};
|
|
165
215
|
}>> & {
|
|
166
216
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
167
217
|
}, {
|
|
@@ -169,12 +219,29 @@ declare const DaoDropdownItem: {
|
|
|
169
219
|
itemAttrs: import("vue").ComputedRef<{
|
|
170
220
|
onClick(event: Event): void;
|
|
171
221
|
}>;
|
|
222
|
+
actualTooltipOption: import("vue").ComputedRef<import("..").TooltipProps>;
|
|
172
223
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", {
|
|
173
224
|
type: import("./props").DropdownItemType;
|
|
174
225
|
disabled: boolean;
|
|
175
226
|
color: import("./props").DropdownItemColor;
|
|
176
227
|
tooltipContent: string;
|
|
177
228
|
tooltipDisabled: boolean;
|
|
229
|
+
tooltipOption: {
|
|
230
|
+
modelValue: boolean;
|
|
231
|
+
disabled: boolean;
|
|
232
|
+
offset: string | number;
|
|
233
|
+
placement: import("@popperjs/core").Placement;
|
|
234
|
+
content: string;
|
|
235
|
+
appendTo: string | false | HTMLElement;
|
|
236
|
+
boundary: import("@popperjs/core").Boundary;
|
|
237
|
+
delay: import("..").DelayProp;
|
|
238
|
+
width: string | number;
|
|
239
|
+
trigger: "manual" | import("..").PopperTrigger | import("..").PopperTrigger[];
|
|
240
|
+
visibleArrow: boolean;
|
|
241
|
+
popperClass: string;
|
|
242
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
243
|
+
transition: string;
|
|
244
|
+
};
|
|
178
245
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
179
246
|
$props: Partial<DropdownItemProps>;
|
|
180
247
|
$slots: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type TooltipProps } from '../tooltip';
|
|
1
2
|
declare const _default: import("vue").DefineComponent<{
|
|
2
3
|
type: {
|
|
3
4
|
type: import("vue").PropType<import("./props").DropdownItemType>;
|
|
@@ -21,11 +22,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
22
|
type: BooleanConstructor;
|
|
22
23
|
default: boolean;
|
|
23
24
|
};
|
|
25
|
+
tooltipOption: {
|
|
26
|
+
type: import("vue").PropType<TooltipProps>;
|
|
27
|
+
default: () => {};
|
|
28
|
+
};
|
|
24
29
|
}, {
|
|
25
30
|
classList: import("vue").ComputedRef<string[]>;
|
|
26
31
|
itemAttrs: import("vue").ComputedRef<{
|
|
27
32
|
onClick(event: Event): void;
|
|
28
33
|
}>;
|
|
34
|
+
actualTooltipOption: import("vue").ComputedRef<TooltipProps>;
|
|
29
35
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
36
|
type: {
|
|
31
37
|
type: import("vue").PropType<import("./props").DropdownItemType>;
|
|
@@ -49,6 +55,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
55
|
type: BooleanConstructor;
|
|
50
56
|
default: boolean;
|
|
51
57
|
};
|
|
58
|
+
tooltipOption: {
|
|
59
|
+
type: import("vue").PropType<TooltipProps>;
|
|
60
|
+
default: () => {};
|
|
61
|
+
};
|
|
52
62
|
}>> & {
|
|
53
63
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
54
64
|
}, {
|
|
@@ -57,5 +67,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
57
67
|
color: import("./props").DropdownItemColor;
|
|
58
68
|
tooltipContent: string;
|
|
59
69
|
tooltipDisabled: boolean;
|
|
70
|
+
tooltipOption: {
|
|
71
|
+
modelValue: boolean;
|
|
72
|
+
disabled: boolean;
|
|
73
|
+
offset: string | number;
|
|
74
|
+
placement: import("@popperjs/core").Placement;
|
|
75
|
+
content: string;
|
|
76
|
+
appendTo: string | false | HTMLElement;
|
|
77
|
+
boundary: import("@popperjs/core").Boundary;
|
|
78
|
+
delay: import("..").DelayProp;
|
|
79
|
+
width: string | number;
|
|
80
|
+
trigger: "manual" | import("..").PopperTrigger | import("..").PopperTrigger[];
|
|
81
|
+
visibleArrow: boolean;
|
|
82
|
+
popperClass: string;
|
|
83
|
+
popperOptions: Partial<import("@popperjs/core").OptionsGeneric<import("..").DaoModifiers>>;
|
|
84
|
+
transition: string;
|
|
85
|
+
};
|
|
60
86
|
}>;
|
|
61
87
|
export default _default;
|