@dao-style/core 1.4.2-beta.7 → 1.4.2-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.
|
@@ -53,9 +53,7 @@ declare const DaoButton: {
|
|
|
53
53
|
type: StringConstructor;
|
|
54
54
|
default: undefined;
|
|
55
55
|
};
|
|
56
|
-
}>> &
|
|
57
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
58
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "useFont" | "size" | "block" | "tooltipContent" | "loading" | "iconLeft" | "iconRight">;
|
|
56
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "disabled" | "useFont" | "size" | "block" | "tooltipContent" | "loading" | "iconLeft" | "iconRight">;
|
|
59
57
|
$attrs: {
|
|
60
58
|
[x: string]: unknown;
|
|
61
59
|
};
|
|
@@ -67,7 +65,7 @@ declare const DaoButton: {
|
|
|
67
65
|
}>;
|
|
68
66
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
69
67
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
70
|
-
$emit: (event:
|
|
68
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
71
69
|
$el: any;
|
|
72
70
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
73
71
|
type: {
|
|
@@ -108,11 +106,8 @@ declare const DaoButton: {
|
|
|
108
106
|
type: StringConstructor;
|
|
109
107
|
default: undefined;
|
|
110
108
|
};
|
|
111
|
-
}
|
|
112
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
113
|
-
}, {
|
|
109
|
+
}>>, {
|
|
114
110
|
classList: import("vue").ComputedRef<string[]>;
|
|
115
|
-
handleClick: (event: MouseEvent) => void;
|
|
116
111
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
117
112
|
isSimpleButton: import("vue").ComputedRef<boolean | undefined>;
|
|
118
113
|
isIconLeftFont: import("vue").ComputedRef<boolean>;
|
|
@@ -124,7 +119,7 @@ declare const DaoButton: {
|
|
|
124
119
|
onMouseEnter: () => void;
|
|
125
120
|
onMouseLeave: () => void;
|
|
126
121
|
showTip: import("vue").Ref<boolean>;
|
|
127
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
122
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
128
123
|
type: import("./props").ButtonType;
|
|
129
124
|
disabled: boolean;
|
|
130
125
|
useFont: boolean;
|
|
@@ -193,11 +188,8 @@ declare const DaoButton: {
|
|
|
193
188
|
type: StringConstructor;
|
|
194
189
|
default: undefined;
|
|
195
190
|
};
|
|
196
|
-
}>> & {
|
|
197
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
198
|
-
} & import("vue").ShallowUnwrapRef<{
|
|
191
|
+
}>> & import("vue").ShallowUnwrapRef<{
|
|
199
192
|
classList: import("vue").ComputedRef<string[]>;
|
|
200
|
-
handleClick: (event: MouseEvent) => void;
|
|
201
193
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
202
194
|
isSimpleButton: import("vue").ComputedRef<boolean | undefined>;
|
|
203
195
|
isIconLeftFont: import("vue").ComputedRef<boolean>;
|
|
@@ -252,11 +244,8 @@ declare const DaoButton: {
|
|
|
252
244
|
type: StringConstructor;
|
|
253
245
|
default: undefined;
|
|
254
246
|
};
|
|
255
|
-
}
|
|
256
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
257
|
-
}, {
|
|
247
|
+
}>>, {
|
|
258
248
|
classList: import("vue").ComputedRef<string[]>;
|
|
259
|
-
handleClick: (event: MouseEvent) => void;
|
|
260
249
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
261
250
|
isSimpleButton: import("vue").ComputedRef<boolean | undefined>;
|
|
262
251
|
isIconLeftFont: import("vue").ComputedRef<boolean>;
|
|
@@ -268,7 +257,7 @@ declare const DaoButton: {
|
|
|
268
257
|
onMouseEnter: () => void;
|
|
269
258
|
onMouseLeave: () => void;
|
|
270
259
|
showTip: import("vue").Ref<boolean>;
|
|
271
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
260
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
272
261
|
type: import("./props").ButtonType;
|
|
273
262
|
disabled: boolean;
|
|
274
263
|
useFont: boolean;
|
|
@@ -39,7 +39,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
39
39
|
};
|
|
40
40
|
}, {
|
|
41
41
|
classList: import("vue").ComputedRef<string[]>;
|
|
42
|
-
handleClick: (event: MouseEvent) => void;
|
|
43
42
|
realDisabled: import("vue").ComputedRef<boolean>;
|
|
44
43
|
isSimpleButton: import("vue").ComputedRef<boolean | undefined>;
|
|
45
44
|
isIconLeftFont: import("vue").ComputedRef<boolean>;
|
|
@@ -51,7 +50,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
51
50
|
onMouseEnter: () => void;
|
|
52
51
|
onMouseLeave: () => void;
|
|
53
52
|
showTip: import("vue").Ref<boolean>;
|
|
54
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
53
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
54
|
type: {
|
|
56
55
|
type: import("vue").PropType<import("./props").ButtonType>;
|
|
57
56
|
default: string;
|
|
@@ -90,9 +89,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
90
89
|
type: StringConstructor;
|
|
91
90
|
default: undefined;
|
|
92
91
|
};
|
|
93
|
-
}
|
|
94
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
95
|
-
}, {
|
|
92
|
+
}>>, {
|
|
96
93
|
type: import("./props").ButtonType;
|
|
97
94
|
disabled: boolean;
|
|
98
95
|
useFont: boolean;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
export type ButtonType = 'primary' | 'secondary' | 'tertiary' | 'ghost' | 'danger';
|
|
3
3
|
export declare const BUTTON_TYPES: ButtonType[];
|
|
4
|
-
export declare const buttonEmits: {
|
|
5
|
-
click: (event: MouseEvent) => void;
|
|
6
|
-
};
|
|
7
|
-
export type ButtonEmits = typeof buttonEmits;
|
|
8
4
|
export declare const buttonProps: {
|
|
9
5
|
type: {
|
|
10
6
|
type: PropType<ButtonType>;
|