prizm-ui-vue 2.3.16 → 3.0.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/PrizmAvatar.vue.d.ts +2 -2
- package/dist/components/PrizmButton.vue.d.ts +128 -182
- package/dist/components/PrizmCheckbox/PrizmCheckbox.vue.d.ts +75 -93
- package/dist/components/PrizmCheckbox/PrizmCheckboxGroup.vue.d.ts +50 -181
- package/dist/components/PrizmCollapse/PrizmCollapse.vue.d.ts +15 -41
- package/dist/components/PrizmCollapse/PrizmCollapseItem.vue.d.ts +37 -48
- package/dist/components/PrizmDatePicker.vue.d.ts +31 -259
- package/dist/components/PrizmDateTimePicker.vue.d.ts +32 -260
- package/dist/components/PrizmDialog.vue.d.ts +191 -291
- package/dist/components/PrizmDrawer.vue.d.ts +224 -365
- package/dist/components/PrizmDropdown/PrizmDropdown.vue.d.ts +3 -3
- package/dist/components/PrizmForm/PrizmForm.vue.d.ts +131 -218
- package/dist/components/PrizmForm/PrizmFormItem.vue.d.ts +97 -124
- package/dist/components/PrizmIcon.vue.d.ts +1 -1
- package/dist/components/PrizmInput.vue.d.ts +261 -307
- package/dist/components/PrizmRadio/PrizmRadio.vue.d.ts +1 -1
- package/dist/components/PrizmSelect/PrizmOption.vue.d.ts +19 -33
- package/dist/components/PrizmSelect/PrizmSelect.vue.d.ts +127 -255
- package/dist/components/PrizmTable/PrizmTable.vue.d.ts +91 -1151
- package/dist/components/PrizmTabs/PrizmTabPane.vue.d.ts +38 -46
- package/dist/components/PrizmTabs/PrizmTabs.vue.d.ts +19 -39
- package/dist/components/PrizmTag.vue.d.ts +57 -72
- package/dist/components/PrizmTimePicker.vue.d.ts +35 -257
- package/dist/components/PrizmTooltip.vue.d.ts +759 -454
- package/dist/index.d.ts +1 -0
- package/dist/main.d.ts +1 -0
- package/dist/prizm-ui.es.js +254 -254
- package/package.json +1 -1
|
@@ -16,8 +16,8 @@ type Slots = {
|
|
|
16
16
|
};
|
|
17
17
|
type __VLS_Slots = Slots;
|
|
18
18
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
19
|
-
size:
|
|
20
|
-
icon: string | import("vue").Component
|
|
19
|
+
size: import("element-plus/es/utils").EpPropMergeType<readonly [NumberConstructor, StringConstructor], "" | "small" | "default" | "large", number>;
|
|
20
|
+
icon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
21
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
23
23
|
export default _default;
|
|
@@ -35,36 +35,42 @@ declare const __VLS_component: import("vue").DefineComponent<ButtonProps, {
|
|
|
35
35
|
$: import("vue").ComponentInternalInstance;
|
|
36
36
|
$data: {};
|
|
37
37
|
$props: Partial<{
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
38
|
+
readonly link: boolean;
|
|
39
|
+
readonly circle: boolean;
|
|
40
|
+
readonly text: boolean;
|
|
41
|
+
readonly disabled: boolean;
|
|
42
|
+
readonly round: boolean;
|
|
43
|
+
readonly dark: boolean;
|
|
44
|
+
readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
45
|
+
readonly bg: boolean;
|
|
46
|
+
readonly loading: boolean;
|
|
47
|
+
readonly autofocus: boolean;
|
|
48
|
+
readonly tag: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
49
|
+
readonly nativeType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
50
|
+
readonly loadingIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
51
|
+
readonly autoInsertSpace: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
52
|
+
readonly plain: boolean;
|
|
47
53
|
}> & Omit<{
|
|
48
|
-
readonly
|
|
49
|
-
readonly
|
|
50
|
-
readonly
|
|
51
|
-
readonly
|
|
52
|
-
readonly
|
|
53
|
-
readonly
|
|
54
|
-
readonly
|
|
55
|
-
readonly
|
|
56
|
-
readonly
|
|
57
|
-
readonly
|
|
58
|
-
readonly
|
|
59
|
-
readonly
|
|
60
|
-
readonly
|
|
61
|
-
readonly
|
|
62
|
-
readonly
|
|
54
|
+
readonly disabled: boolean;
|
|
55
|
+
readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
56
|
+
readonly nativeType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
57
|
+
readonly loading: boolean;
|
|
58
|
+
readonly plain: boolean;
|
|
59
|
+
readonly text: boolean;
|
|
60
|
+
readonly link: boolean;
|
|
61
|
+
readonly bg: boolean;
|
|
62
|
+
readonly autofocus: boolean;
|
|
63
|
+
readonly round: boolean;
|
|
64
|
+
readonly circle: boolean;
|
|
65
|
+
readonly dark: boolean;
|
|
66
|
+
readonly tag: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
67
|
+
readonly size?: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never> | undefined;
|
|
68
|
+
readonly icon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
69
|
+
readonly loadingIcon?: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown> | undefined;
|
|
63
70
|
readonly color?: string | undefined;
|
|
64
|
-
readonly
|
|
65
|
-
readonly autoInsertSpace?: boolean | undefined;
|
|
71
|
+
readonly autoInsertSpace?: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
66
72
|
onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
67
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "type" | "nativeType" | "loadingIcon" | "plain" | "text" | "round" | "autoInsertSpace" | "tag">;
|
|
73
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "type" | "nativeType" | "loading" | "loadingIcon" | "plain" | "text" | "link" | "bg" | "autofocus" | "round" | "circle" | "dark" | "autoInsertSpace" | "tag">;
|
|
68
74
|
$attrs: {
|
|
69
75
|
[x: string]: unknown;
|
|
70
76
|
};
|
|
@@ -80,89 +86,60 @@ declare const __VLS_component: import("vue").DefineComponent<ButtonProps, {
|
|
|
80
86
|
$emit: (event: "click", evt: MouseEvent) => void;
|
|
81
87
|
$el: any;
|
|
82
88
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
83
|
-
size: {
|
|
84
|
-
type: import("vue").PropType<"" | "
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
type:
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
};
|
|
97
|
-
nativeType:
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
};
|
|
112
|
-
text: {
|
|
113
|
-
type: import("vue").PropType<boolean>;
|
|
114
|
-
default: undefined;
|
|
115
|
-
};
|
|
116
|
-
link: {
|
|
117
|
-
type: import("vue").PropType<boolean>;
|
|
118
|
-
};
|
|
119
|
-
bg: {
|
|
120
|
-
type: import("vue").PropType<boolean>;
|
|
121
|
-
};
|
|
122
|
-
autofocus: {
|
|
123
|
-
type: import("vue").PropType<boolean>;
|
|
124
|
-
};
|
|
125
|
-
round: {
|
|
126
|
-
type: import("vue").PropType<boolean>;
|
|
127
|
-
default: undefined;
|
|
128
|
-
};
|
|
129
|
-
circle: {
|
|
130
|
-
type: import("vue").PropType<boolean>;
|
|
131
|
-
};
|
|
132
|
-
color: {
|
|
133
|
-
type: import("vue").PropType<string>;
|
|
134
|
-
};
|
|
135
|
-
dark: {
|
|
136
|
-
type: import("vue").PropType<boolean>;
|
|
137
|
-
};
|
|
138
|
-
autoInsertSpace: {
|
|
139
|
-
type: import("vue").PropType<boolean>;
|
|
140
|
-
default: undefined;
|
|
141
|
-
};
|
|
142
|
-
tag: {
|
|
143
|
-
type: import("vue").PropType<string | import("vue").Component>;
|
|
144
|
-
default: string;
|
|
145
|
-
};
|
|
89
|
+
readonly size: {
|
|
90
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
91
|
+
readonly required: false;
|
|
92
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
93
|
+
__epPropKey: true;
|
|
94
|
+
};
|
|
95
|
+
readonly disabled: BooleanConstructor;
|
|
96
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown, "", boolean>;
|
|
97
|
+
readonly icon: {
|
|
98
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
99
|
+
readonly required: false;
|
|
100
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
101
|
+
__epPropKey: true;
|
|
102
|
+
};
|
|
103
|
+
readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
104
|
+
readonly loading: BooleanConstructor;
|
|
105
|
+
readonly loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown, () => any, boolean>;
|
|
106
|
+
readonly plain: BooleanConstructor;
|
|
107
|
+
readonly text: BooleanConstructor;
|
|
108
|
+
readonly link: BooleanConstructor;
|
|
109
|
+
readonly bg: BooleanConstructor;
|
|
110
|
+
readonly autofocus: BooleanConstructor;
|
|
111
|
+
readonly round: BooleanConstructor;
|
|
112
|
+
readonly circle: BooleanConstructor;
|
|
113
|
+
readonly color: StringConstructor;
|
|
114
|
+
readonly dark: BooleanConstructor;
|
|
115
|
+
readonly autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
116
|
+
readonly tag: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown, "button", boolean>;
|
|
146
117
|
}>> & {
|
|
147
118
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
148
119
|
}, {
|
|
149
120
|
ref: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
150
121
|
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
151
|
-
type: import("vue").ComputedRef<"text" | "" | "default" | "
|
|
122
|
+
type: import("vue").ComputedRef<"text" | "" | "default" | "success" | "warning" | "info" | "primary" | "danger">;
|
|
152
123
|
disabled: import("vue").ComputedRef<boolean>;
|
|
153
124
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
154
125
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
155
126
|
click: (evt: MouseEvent) => void;
|
|
156
127
|
}, string, {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
128
|
+
readonly link: boolean;
|
|
129
|
+
readonly circle: boolean;
|
|
130
|
+
readonly text: boolean;
|
|
131
|
+
readonly disabled: boolean;
|
|
132
|
+
readonly round: boolean;
|
|
133
|
+
readonly dark: boolean;
|
|
134
|
+
readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
135
|
+
readonly bg: boolean;
|
|
136
|
+
readonly loading: boolean;
|
|
137
|
+
readonly autofocus: boolean;
|
|
138
|
+
readonly tag: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
139
|
+
readonly nativeType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
140
|
+
readonly loadingIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
141
|
+
readonly autoInsertSpace: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
142
|
+
readonly plain: boolean;
|
|
166
143
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
167
144
|
beforeCreate?: (() => void) | (() => void)[];
|
|
168
145
|
created?: (() => void) | (() => void)[];
|
|
@@ -184,100 +161,69 @@ declare const __VLS_component: import("vue").DefineComponent<ButtonProps, {
|
|
|
184
161
|
$nextTick: typeof import("vue").nextTick;
|
|
185
162
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
186
163
|
} & Readonly<{
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
164
|
+
readonly link: boolean;
|
|
165
|
+
readonly circle: boolean;
|
|
166
|
+
readonly text: boolean;
|
|
167
|
+
readonly disabled: boolean;
|
|
168
|
+
readonly round: boolean;
|
|
169
|
+
readonly dark: boolean;
|
|
170
|
+
readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
171
|
+
readonly bg: boolean;
|
|
172
|
+
readonly loading: boolean;
|
|
173
|
+
readonly autofocus: boolean;
|
|
174
|
+
readonly tag: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
175
|
+
readonly nativeType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
176
|
+
readonly loadingIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>;
|
|
177
|
+
readonly autoInsertSpace: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
178
|
+
readonly plain: boolean;
|
|
196
179
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
197
|
-
size: {
|
|
198
|
-
type: import("vue").PropType<"" | "
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
type:
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
};
|
|
211
|
-
nativeType:
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
};
|
|
226
|
-
text: {
|
|
227
|
-
type: import("vue").PropType<boolean>;
|
|
228
|
-
default: undefined;
|
|
229
|
-
};
|
|
230
|
-
link: {
|
|
231
|
-
type: import("vue").PropType<boolean>;
|
|
232
|
-
};
|
|
233
|
-
bg: {
|
|
234
|
-
type: import("vue").PropType<boolean>;
|
|
235
|
-
};
|
|
236
|
-
autofocus: {
|
|
237
|
-
type: import("vue").PropType<boolean>;
|
|
238
|
-
};
|
|
239
|
-
round: {
|
|
240
|
-
type: import("vue").PropType<boolean>;
|
|
241
|
-
default: undefined;
|
|
242
|
-
};
|
|
243
|
-
circle: {
|
|
244
|
-
type: import("vue").PropType<boolean>;
|
|
245
|
-
};
|
|
246
|
-
color: {
|
|
247
|
-
type: import("vue").PropType<string>;
|
|
248
|
-
};
|
|
249
|
-
dark: {
|
|
250
|
-
type: import("vue").PropType<boolean>;
|
|
251
|
-
};
|
|
252
|
-
autoInsertSpace: {
|
|
253
|
-
type: import("vue").PropType<boolean>;
|
|
254
|
-
default: undefined;
|
|
255
|
-
};
|
|
256
|
-
tag: {
|
|
257
|
-
type: import("vue").PropType<string | import("vue").Component>;
|
|
258
|
-
default: string;
|
|
259
|
-
};
|
|
180
|
+
readonly size: {
|
|
181
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
182
|
+
readonly required: false;
|
|
183
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
184
|
+
__epPropKey: true;
|
|
185
|
+
};
|
|
186
|
+
readonly disabled: BooleanConstructor;
|
|
187
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown, "", boolean>;
|
|
188
|
+
readonly icon: {
|
|
189
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
|
|
190
|
+
readonly required: false;
|
|
191
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
192
|
+
__epPropKey: true;
|
|
193
|
+
};
|
|
194
|
+
readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
195
|
+
readonly loading: BooleanConstructor;
|
|
196
|
+
readonly loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown, () => any, boolean>;
|
|
197
|
+
readonly plain: BooleanConstructor;
|
|
198
|
+
readonly text: BooleanConstructor;
|
|
199
|
+
readonly link: BooleanConstructor;
|
|
200
|
+
readonly bg: BooleanConstructor;
|
|
201
|
+
readonly autofocus: BooleanConstructor;
|
|
202
|
+
readonly round: BooleanConstructor;
|
|
203
|
+
readonly circle: BooleanConstructor;
|
|
204
|
+
readonly color: StringConstructor;
|
|
205
|
+
readonly dark: BooleanConstructor;
|
|
206
|
+
readonly autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
207
|
+
readonly tag: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown, "button", boolean>;
|
|
260
208
|
}>> & {
|
|
261
209
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
262
|
-
}, "size" | "disabled" | "type" | "nativeType" | "loadingIcon" | "plain" | "text" | "round" | "autoInsertSpace" | "tag" | "ref" | "shouldAddSpace"> & import("vue").ShallowUnwrapRef<{
|
|
210
|
+
}, "size" | "disabled" | "type" | "nativeType" | "loading" | "loadingIcon" | "plain" | "text" | "link" | "bg" | "autofocus" | "round" | "circle" | "dark" | "autoInsertSpace" | "tag" | "ref" | "shouldAddSpace"> & import("vue").ShallowUnwrapRef<{
|
|
263
211
|
ref: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
264
212
|
size: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
265
|
-
type: import("vue").ComputedRef<"text" | "" | "default" | "
|
|
213
|
+
type: import("vue").ComputedRef<"text" | "" | "default" | "success" | "warning" | "info" | "primary" | "danger">;
|
|
266
214
|
disabled: import("vue").ComputedRef<boolean>;
|
|
267
215
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
268
216
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
269
217
|
$slots: {
|
|
270
|
-
loading
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
} & {
|
|
274
|
-
default?: (props: {}) => any;
|
|
218
|
+
loading?(_: {}): any;
|
|
219
|
+
icon?(_: {}): any;
|
|
220
|
+
default?(_: {}): any;
|
|
275
221
|
};
|
|
276
222
|
}) | null>>;
|
|
277
223
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
|
|
278
|
-
size: "" | "
|
|
279
|
-
type: "" | "text" | "default" | "
|
|
280
|
-
nativeType: "button" | "
|
|
224
|
+
size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>;
|
|
225
|
+
type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
226
|
+
nativeType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
281
227
|
plain: boolean;
|
|
282
228
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
283
229
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|