@dao-style/core 1.5.1-beta.7 → 1.5.1-beta.9
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 +27 -7
- package/dist/components/action-icon/action-icon.vue.d.ts +11 -2
- package/dist/components/action-icon/props.d.ts +4 -2
- package/dist/components/button/button.d.ts +20 -1
- package/dist/components/button/button.vue.d.ts +9 -0
- package/dist/components/button/props.d.ts +4 -0
- package/dist/components/plugin.d.ts +2 -1
- package/dist/dao-style.js +6 -6
- package/dist/dao-style.mjs +3175 -3046
- package/dist/directives/index.d.ts +1 -0
- package/dist/directives/plugin.d.ts +3 -0
- package/dist/directives/tooltip/directive.d.ts +3 -0
- package/dist/directives/tooltip/index.d.ts +4 -0
- package/dist/directives/tooltip/wrapper.d.ts +15 -0
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
- package/volar.d.ts +2 -0
|
@@ -10,6 +10,7 @@ declare const DaoActionIcon: {
|
|
|
10
10
|
name: string;
|
|
11
11
|
size: import("./props").ActionIconSize;
|
|
12
12
|
tooltipContent: string;
|
|
13
|
+
tooltipDisabled: boolean;
|
|
13
14
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
14
15
|
name: {
|
|
15
16
|
type: StringConstructor;
|
|
@@ -32,7 +33,11 @@ declare const DaoActionIcon: {
|
|
|
32
33
|
type: StringConstructor;
|
|
33
34
|
default: string;
|
|
34
35
|
};
|
|
35
|
-
|
|
36
|
+
tooltipDisabled: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: boolean;
|
|
39
|
+
};
|
|
40
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "name" | "size" | "tooltipContent" | "tooltipDisabled">;
|
|
36
41
|
$attrs: {
|
|
37
42
|
[x: string]: unknown;
|
|
38
43
|
};
|
|
@@ -44,7 +49,7 @@ declare const DaoActionIcon: {
|
|
|
44
49
|
}>;
|
|
45
50
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
46
51
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
47
|
-
$emit: (event:
|
|
52
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
48
53
|
$el: any;
|
|
49
54
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
50
55
|
name: {
|
|
@@ -68,18 +73,23 @@ declare const DaoActionIcon: {
|
|
|
68
73
|
type: StringConstructor;
|
|
69
74
|
default: string;
|
|
70
75
|
};
|
|
71
|
-
|
|
76
|
+
tooltipDisabled: {
|
|
77
|
+
type: BooleanConstructor;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
80
|
+
}>>, {
|
|
72
81
|
isDivider: boolean;
|
|
73
82
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
74
83
|
onMouseEnter: () => void;
|
|
75
84
|
onMouseLeave: () => void;
|
|
76
85
|
showTip: import("vue").Ref<boolean>;
|
|
77
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
86
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
78
87
|
type: import("./props").ActionIconType;
|
|
79
88
|
disabled: boolean;
|
|
80
89
|
name: string;
|
|
81
90
|
size: import("./props").ActionIconSize;
|
|
82
91
|
tooltipContent: string;
|
|
92
|
+
tooltipDisabled: boolean;
|
|
83
93
|
}, {}, string> & {
|
|
84
94
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
85
95
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -122,7 +132,11 @@ declare const DaoActionIcon: {
|
|
|
122
132
|
type: StringConstructor;
|
|
123
133
|
default: string;
|
|
124
134
|
};
|
|
125
|
-
|
|
135
|
+
tooltipDisabled: {
|
|
136
|
+
type: BooleanConstructor;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
139
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
|
126
140
|
isDivider: boolean;
|
|
127
141
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
128
142
|
onMouseEnter: () => void;
|
|
@@ -154,22 +168,28 @@ declare const DaoActionIcon: {
|
|
|
154
168
|
type: StringConstructor;
|
|
155
169
|
default: string;
|
|
156
170
|
};
|
|
157
|
-
|
|
171
|
+
tooltipDisabled: {
|
|
172
|
+
type: BooleanConstructor;
|
|
173
|
+
default: boolean;
|
|
174
|
+
};
|
|
175
|
+
}>>, {
|
|
158
176
|
isDivider: boolean;
|
|
159
177
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
160
178
|
onMouseEnter: () => void;
|
|
161
179
|
onMouseLeave: () => void;
|
|
162
180
|
showTip: import("vue").Ref<boolean>;
|
|
163
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
181
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
164
182
|
type: import("./props").ActionIconType;
|
|
165
183
|
disabled: boolean;
|
|
166
184
|
name: string;
|
|
167
185
|
size: import("./props").ActionIconSize;
|
|
168
186
|
tooltipContent: string;
|
|
187
|
+
tooltipDisabled: boolean;
|
|
169
188
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
170
189
|
$props: Partial<ActionIconProps>;
|
|
171
190
|
$slots: {
|
|
172
191
|
default: SlotFn;
|
|
192
|
+
tooltipContent: SlotFn;
|
|
173
193
|
};
|
|
174
194
|
});
|
|
175
195
|
export default DaoActionIcon;
|
|
@@ -20,13 +20,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
20
20
|
type: StringConstructor;
|
|
21
21
|
default: string;
|
|
22
22
|
};
|
|
23
|
+
tooltipDisabled: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
23
27
|
}, {
|
|
24
28
|
isDivider: boolean;
|
|
25
29
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
26
30
|
onMouseEnter: () => void;
|
|
27
31
|
onMouseLeave: () => void;
|
|
28
32
|
showTip: import("vue").Ref<boolean>;
|
|
29
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
33
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
34
|
name: {
|
|
31
35
|
type: StringConstructor;
|
|
32
36
|
default: string;
|
|
@@ -48,11 +52,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
52
|
type: StringConstructor;
|
|
49
53
|
default: string;
|
|
50
54
|
};
|
|
51
|
-
|
|
55
|
+
tooltipDisabled: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
}>>, {
|
|
52
60
|
type: import("./props").ActionIconType;
|
|
53
61
|
disabled: boolean;
|
|
54
62
|
name: string;
|
|
55
63
|
size: import("./props").ActionIconSize;
|
|
56
64
|
tooltipContent: string;
|
|
65
|
+
tooltipDisabled: boolean;
|
|
57
66
|
}>;
|
|
58
67
|
export default _default;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { type PropType, ExtractPropTypes } from 'vue';
|
|
2
2
|
export type ActionIconType = 'button' | 'divider';
|
|
3
3
|
export type ActionIconSize = 'md' | 'sm' | 'xs';
|
|
4
|
-
export declare const actionIconEmits: {};
|
|
5
|
-
export type ActionIconEmits = typeof actionIconEmits;
|
|
6
4
|
export declare const actionIconProps: {
|
|
7
5
|
name: {
|
|
8
6
|
type: StringConstructor;
|
|
@@ -25,5 +23,9 @@ export declare const actionIconProps: {
|
|
|
25
23
|
type: StringConstructor;
|
|
26
24
|
default: string;
|
|
27
25
|
};
|
|
26
|
+
tooltipDisabled: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
28
30
|
};
|
|
29
31
|
export type ActionIconProps = ExtractPropTypes<typeof actionIconProps>;
|
|
@@ -11,6 +11,7 @@ declare const DaoButton: {
|
|
|
11
11
|
size: "sm" | "md";
|
|
12
12
|
block: boolean;
|
|
13
13
|
tooltipContent: string;
|
|
14
|
+
tooltipDisabled: boolean;
|
|
14
15
|
loading: boolean;
|
|
15
16
|
iconLeft: string;
|
|
16
17
|
iconRight: string;
|
|
@@ -53,7 +54,11 @@ declare const DaoButton: {
|
|
|
53
54
|
type: StringConstructor;
|
|
54
55
|
default: undefined;
|
|
55
56
|
};
|
|
56
|
-
|
|
57
|
+
tooltipDisabled: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "useFont" | "size" | "block" | "tooltipContent" | "tooltipDisabled" | "loading" | "iconLeft" | "iconRight">;
|
|
57
62
|
$attrs: {
|
|
58
63
|
[x: string]: unknown;
|
|
59
64
|
};
|
|
@@ -106,6 +111,10 @@ declare const DaoButton: {
|
|
|
106
111
|
type: StringConstructor;
|
|
107
112
|
default: undefined;
|
|
108
113
|
};
|
|
114
|
+
tooltipDisabled: {
|
|
115
|
+
type: BooleanConstructor;
|
|
116
|
+
default: boolean;
|
|
117
|
+
};
|
|
109
118
|
}>>, {
|
|
110
119
|
classList: import("vue").ComputedRef<string[]>;
|
|
111
120
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -126,6 +135,7 @@ declare const DaoButton: {
|
|
|
126
135
|
size: "sm" | "md";
|
|
127
136
|
block: boolean;
|
|
128
137
|
tooltipContent: string;
|
|
138
|
+
tooltipDisabled: boolean;
|
|
129
139
|
loading: boolean;
|
|
130
140
|
iconLeft: string;
|
|
131
141
|
iconRight: string;
|
|
@@ -188,6 +198,10 @@ declare const DaoButton: {
|
|
|
188
198
|
type: StringConstructor;
|
|
189
199
|
default: undefined;
|
|
190
200
|
};
|
|
201
|
+
tooltipDisabled: {
|
|
202
|
+
type: BooleanConstructor;
|
|
203
|
+
default: boolean;
|
|
204
|
+
};
|
|
191
205
|
}>> & import("vue").ShallowUnwrapRef<{
|
|
192
206
|
classList: import("vue").ComputedRef<string[]>;
|
|
193
207
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -244,6 +258,10 @@ declare const DaoButton: {
|
|
|
244
258
|
type: StringConstructor;
|
|
245
259
|
default: undefined;
|
|
246
260
|
};
|
|
261
|
+
tooltipDisabled: {
|
|
262
|
+
type: BooleanConstructor;
|
|
263
|
+
default: boolean;
|
|
264
|
+
};
|
|
247
265
|
}>>, {
|
|
248
266
|
classList: import("vue").ComputedRef<string[]>;
|
|
249
267
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -264,6 +282,7 @@ declare const DaoButton: {
|
|
|
264
282
|
size: "sm" | "md";
|
|
265
283
|
block: boolean;
|
|
266
284
|
tooltipContent: string;
|
|
285
|
+
tooltipDisabled: boolean;
|
|
267
286
|
loading: boolean;
|
|
268
287
|
iconLeft: string;
|
|
269
288
|
iconRight: string;
|
|
@@ -37,6 +37,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
37
|
type: StringConstructor;
|
|
38
38
|
default: undefined;
|
|
39
39
|
};
|
|
40
|
+
tooltipDisabled: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
40
44
|
}, {
|
|
41
45
|
classList: import("vue").ComputedRef<string[]>;
|
|
42
46
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
@@ -89,6 +93,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
89
93
|
type: StringConstructor;
|
|
90
94
|
default: undefined;
|
|
91
95
|
};
|
|
96
|
+
tooltipDisabled: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
92
100
|
}>>, {
|
|
93
101
|
type: import("./props").ButtonType;
|
|
94
102
|
disabled: boolean;
|
|
@@ -96,6 +104,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
96
104
|
size: "sm" | "md";
|
|
97
105
|
block: boolean;
|
|
98
106
|
tooltipContent: string;
|
|
107
|
+
tooltipDisabled: boolean;
|
|
99
108
|
loading: boolean;
|
|
100
109
|
iconLeft: string;
|
|
101
110
|
iconRight: string;
|