@davincihealthcare/elty-design-system-vue 1.0.0
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/README.md +40 -0
- package/dist/ElAccordion.vue.d.ts +140 -0
- package/dist/ElAvatar.vue.d.ts +33 -0
- package/dist/ElBadge.vue.d.ts +34 -0
- package/dist/ElButton.vue.d.ts +77 -0
- package/dist/ElCalendarCard.vue.d.ts +65 -0
- package/dist/ElCalendarCell.vue.d.ts +48 -0
- package/dist/ElDrawer.vue.d.ts +38 -0
- package/dist/ElDropdown.vue.d.ts +309 -0
- package/dist/ElFile.vue.d.ts +25 -0
- package/dist/ElFooter.vue.d.ts +2 -0
- package/dist/ElIcon.vue.d.ts +29 -0
- package/dist/ElIconButton.vue.d.ts +56 -0
- package/dist/ElItem.vue.d.ts +46 -0
- package/dist/ElLogo.vue.d.ts +38 -0
- package/dist/ElSortingHeader.vue.d.ts +31 -0
- package/dist/ElSuggestionChip.vue.d.ts +17 -0
- package/dist/ElTab.vue.d.ts +23 -0
- package/dist/ElTabGroup.vue.d.ts +25 -0
- package/dist/ElTableHead.vue.d.ts +54 -0
- package/dist/ElTabs.vue.d.ts +27 -0
- package/dist/ElTag.vue.d.ts +56 -0
- package/dist/ElTest.vue.d.ts +2 -0
- package/dist/ElTextCell.vue.d.ts +36 -0
- package/dist/ElToast.vue.d.ts +11 -0
- package/dist/_ClipToAnchor.vue.d.ts +27 -0
- package/dist/_CustomTransition.vue.d.ts +30 -0
- package/dist/_SimpleTooltip.vue.d.ts +25 -0
- package/dist/forms/ElInputCheckbox.vue.d.ts +120 -0
- package/dist/forms/ElInputContainer.vue.d.ts +71 -0
- package/dist/forms/ElInputDate.vue.d.ts +107 -0
- package/dist/forms/ElInputFile.vue.d.ts +104 -0
- package/dist/forms/ElInputMeasureUnit.vue.d.ts +132 -0
- package/dist/forms/ElInputNumber.vue.d.ts +106 -0
- package/dist/forms/ElInputPhone.vue.d.ts +85 -0
- package/dist/forms/ElInputSelect.vue.d.ts +130 -0
- package/dist/forms/ElInputText.vue.d.ts +120 -0
- package/dist/forms/ElInputTextarea.vue.d.ts +103 -0
- package/dist/forms/input.d.ts +245 -0
- package/dist/forms/utils.d.ts +24 -0
- package/dist/forms/validation-rules.d.ts +1 -0
- package/dist/index.d.ts +70 -0
- package/dist/index.mjs +22989 -0
- package/dist/index.mjs.map +1 -0
- package/dist/routes.d.ts +10 -0
- package/dist/style.css +1 -0
- package/dist/types.d.ts +83 -0
- package/dist/utils.d.ts +2 -0
- package/package.json +78 -0
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
items: ({
|
|
3
|
+
onClick?: (() => void) | undefined;
|
|
4
|
+
} & Partial<{
|
|
5
|
+
text: string;
|
|
6
|
+
avatar: import("./types").AvatarParameters;
|
|
7
|
+
check: boolean;
|
|
8
|
+
leadingIcon: import("./ElIcon.vue").ElIconProps;
|
|
9
|
+
}> & Omit<{
|
|
10
|
+
readonly text: string;
|
|
11
|
+
readonly check: boolean;
|
|
12
|
+
readonly avatar?: import("./types").AvatarParameters | undefined;
|
|
13
|
+
readonly leadingIcon?: import("./ElIcon.vue").ElIconProps | undefined;
|
|
14
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
text: {
|
|
16
|
+
type: import("vue").PropType<string>;
|
|
17
|
+
required: true;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
avatar: {
|
|
21
|
+
type: import("vue").PropType<import("./types").AvatarParameters>;
|
|
22
|
+
default: undefined;
|
|
23
|
+
};
|
|
24
|
+
check: {
|
|
25
|
+
type: import("vue").PropType<boolean>;
|
|
26
|
+
required: true;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
leadingIcon: {
|
|
30
|
+
type: import("vue").PropType<import("./ElIcon.vue").ElIconProps>;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
}>>, "text" | "avatar" | "check" | "leadingIcon">)[];
|
|
34
|
+
title?: string | undefined;
|
|
35
|
+
action?: Omit<Partial<{
|
|
36
|
+
disabled: boolean;
|
|
37
|
+
type: "button" | "submit" | "reset";
|
|
38
|
+
label: string;
|
|
39
|
+
icon: import("./ElIcon.vue").ElIconProps;
|
|
40
|
+
size: "base" | "xs" | "sm" | "l" | "xl";
|
|
41
|
+
loading: boolean;
|
|
42
|
+
error: boolean;
|
|
43
|
+
dark: boolean;
|
|
44
|
+
variant: "primary" | "secondary" | "tertiary";
|
|
45
|
+
}> & Omit<{
|
|
46
|
+
readonly disabled: boolean;
|
|
47
|
+
readonly type: "button" | "submit" | "reset";
|
|
48
|
+
readonly label: string;
|
|
49
|
+
readonly size: "base" | "xs" | "sm" | "l" | "xl";
|
|
50
|
+
readonly loading: boolean;
|
|
51
|
+
readonly error: boolean;
|
|
52
|
+
readonly dark: boolean;
|
|
53
|
+
readonly variant: "primary" | "secondary" | "tertiary";
|
|
54
|
+
readonly icon?: import("./ElIcon.vue").ElIconProps | undefined;
|
|
55
|
+
readonly iconRight?: boolean | undefined;
|
|
56
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
57
|
+
disabled: {
|
|
58
|
+
type: import("vue").PropType<boolean>;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
type: {
|
|
62
|
+
type: import("vue").PropType<"button" | "submit" | "reset">;
|
|
63
|
+
default: string;
|
|
64
|
+
};
|
|
65
|
+
label: {
|
|
66
|
+
type: import("vue").PropType<string>;
|
|
67
|
+
required: true;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
icon: {
|
|
71
|
+
type: import("vue").PropType<import("./ElIcon.vue").ElIconProps>;
|
|
72
|
+
default: undefined;
|
|
73
|
+
};
|
|
74
|
+
size: {
|
|
75
|
+
type: import("vue").PropType<"base" | "xs" | "sm" | "l" | "xl">;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
loading: {
|
|
79
|
+
type: import("vue").PropType<boolean>;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
error: {
|
|
83
|
+
type: import("vue").PropType<boolean>;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
86
|
+
dark: {
|
|
87
|
+
type: import("vue").PropType<boolean>;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
90
|
+
iconRight: {
|
|
91
|
+
type: import("vue").PropType<boolean>;
|
|
92
|
+
};
|
|
93
|
+
variant: {
|
|
94
|
+
type: import("vue").PropType<"primary" | "secondary" | "tertiary">;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
}>>, "disabled" | "type" | "label" | "icon" | "size" | "loading" | "error" | "dark" | "variant">, "size" | "variant"> | undefined;
|
|
98
|
+
left?: boolean | undefined;
|
|
99
|
+
isOpen?: boolean | undefined;
|
|
100
|
+
}>, {
|
|
101
|
+
title: undefined;
|
|
102
|
+
action: undefined;
|
|
103
|
+
isOpen: undefined;
|
|
104
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
105
|
+
"click:action": () => void;
|
|
106
|
+
"update:is-open": (isOpen: boolean) => void;
|
|
107
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
108
|
+
items: ({
|
|
109
|
+
onClick?: (() => void) | undefined;
|
|
110
|
+
} & Partial<{
|
|
111
|
+
text: string;
|
|
112
|
+
avatar: import("./types").AvatarParameters;
|
|
113
|
+
check: boolean;
|
|
114
|
+
leadingIcon: import("./ElIcon.vue").ElIconProps;
|
|
115
|
+
}> & Omit<{
|
|
116
|
+
readonly text: string;
|
|
117
|
+
readonly check: boolean;
|
|
118
|
+
readonly avatar?: import("./types").AvatarParameters | undefined;
|
|
119
|
+
readonly leadingIcon?: import("./ElIcon.vue").ElIconProps | undefined;
|
|
120
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
121
|
+
text: {
|
|
122
|
+
type: import("vue").PropType<string>;
|
|
123
|
+
required: true;
|
|
124
|
+
default: string;
|
|
125
|
+
};
|
|
126
|
+
avatar: {
|
|
127
|
+
type: import("vue").PropType<import("./types").AvatarParameters>;
|
|
128
|
+
default: undefined;
|
|
129
|
+
};
|
|
130
|
+
check: {
|
|
131
|
+
type: import("vue").PropType<boolean>;
|
|
132
|
+
required: true;
|
|
133
|
+
default: boolean;
|
|
134
|
+
};
|
|
135
|
+
leadingIcon: {
|
|
136
|
+
type: import("vue").PropType<import("./ElIcon.vue").ElIconProps>;
|
|
137
|
+
default: undefined;
|
|
138
|
+
};
|
|
139
|
+
}>>, "text" | "avatar" | "check" | "leadingIcon">)[];
|
|
140
|
+
title?: string | undefined;
|
|
141
|
+
action?: Omit<Partial<{
|
|
142
|
+
disabled: boolean;
|
|
143
|
+
type: "button" | "submit" | "reset";
|
|
144
|
+
label: string;
|
|
145
|
+
icon: import("./ElIcon.vue").ElIconProps;
|
|
146
|
+
size: "base" | "xs" | "sm" | "l" | "xl";
|
|
147
|
+
loading: boolean;
|
|
148
|
+
error: boolean;
|
|
149
|
+
dark: boolean;
|
|
150
|
+
variant: "primary" | "secondary" | "tertiary";
|
|
151
|
+
}> & Omit<{
|
|
152
|
+
readonly disabled: boolean;
|
|
153
|
+
readonly type: "button" | "submit" | "reset";
|
|
154
|
+
readonly label: string;
|
|
155
|
+
readonly size: "base" | "xs" | "sm" | "l" | "xl";
|
|
156
|
+
readonly loading: boolean;
|
|
157
|
+
readonly error: boolean;
|
|
158
|
+
readonly dark: boolean;
|
|
159
|
+
readonly variant: "primary" | "secondary" | "tertiary";
|
|
160
|
+
readonly icon?: import("./ElIcon.vue").ElIconProps | undefined;
|
|
161
|
+
readonly iconRight?: boolean | undefined;
|
|
162
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
163
|
+
disabled: {
|
|
164
|
+
type: import("vue").PropType<boolean>;
|
|
165
|
+
default: boolean;
|
|
166
|
+
};
|
|
167
|
+
type: {
|
|
168
|
+
type: import("vue").PropType<"button" | "submit" | "reset">;
|
|
169
|
+
default: string;
|
|
170
|
+
};
|
|
171
|
+
label: {
|
|
172
|
+
type: import("vue").PropType<string>;
|
|
173
|
+
required: true;
|
|
174
|
+
default: string;
|
|
175
|
+
};
|
|
176
|
+
icon: {
|
|
177
|
+
type: import("vue").PropType<import("./ElIcon.vue").ElIconProps>;
|
|
178
|
+
default: undefined;
|
|
179
|
+
};
|
|
180
|
+
size: {
|
|
181
|
+
type: import("vue").PropType<"base" | "xs" | "sm" | "l" | "xl">;
|
|
182
|
+
default: string;
|
|
183
|
+
};
|
|
184
|
+
loading: {
|
|
185
|
+
type: import("vue").PropType<boolean>;
|
|
186
|
+
default: boolean;
|
|
187
|
+
};
|
|
188
|
+
error: {
|
|
189
|
+
type: import("vue").PropType<boolean>;
|
|
190
|
+
default: boolean;
|
|
191
|
+
};
|
|
192
|
+
dark: {
|
|
193
|
+
type: import("vue").PropType<boolean>;
|
|
194
|
+
default: boolean;
|
|
195
|
+
};
|
|
196
|
+
iconRight: {
|
|
197
|
+
type: import("vue").PropType<boolean>;
|
|
198
|
+
};
|
|
199
|
+
variant: {
|
|
200
|
+
type: import("vue").PropType<"primary" | "secondary" | "tertiary">;
|
|
201
|
+
default: string;
|
|
202
|
+
};
|
|
203
|
+
}>>, "disabled" | "type" | "label" | "icon" | "size" | "loading" | "error" | "dark" | "variant">, "size" | "variant"> | undefined;
|
|
204
|
+
left?: boolean | undefined;
|
|
205
|
+
isOpen?: boolean | undefined;
|
|
206
|
+
}>, {
|
|
207
|
+
title: undefined;
|
|
208
|
+
action: undefined;
|
|
209
|
+
isOpen: undefined;
|
|
210
|
+
}>>> & {
|
|
211
|
+
"onClick:action"?: (() => any) | undefined;
|
|
212
|
+
"onUpdate:is-open"?: ((isOpen: boolean) => any) | undefined;
|
|
213
|
+
}, {
|
|
214
|
+
title: string;
|
|
215
|
+
action: Omit<Partial<{
|
|
216
|
+
disabled: boolean;
|
|
217
|
+
type: "button" | "submit" | "reset";
|
|
218
|
+
label: string;
|
|
219
|
+
icon: import("./ElIcon.vue").ElIconProps;
|
|
220
|
+
size: "base" | "xs" | "sm" | "l" | "xl";
|
|
221
|
+
loading: boolean;
|
|
222
|
+
error: boolean;
|
|
223
|
+
dark: boolean;
|
|
224
|
+
variant: "primary" | "secondary" | "tertiary";
|
|
225
|
+
}> & Omit<{
|
|
226
|
+
readonly disabled: boolean;
|
|
227
|
+
readonly type: "button" | "submit" | "reset";
|
|
228
|
+
readonly label: string;
|
|
229
|
+
readonly size: "base" | "xs" | "sm" | "l" | "xl";
|
|
230
|
+
readonly loading: boolean;
|
|
231
|
+
readonly error: boolean;
|
|
232
|
+
readonly dark: boolean;
|
|
233
|
+
readonly variant: "primary" | "secondary" | "tertiary";
|
|
234
|
+
readonly icon?: import("./ElIcon.vue").ElIconProps | undefined;
|
|
235
|
+
readonly iconRight?: boolean | undefined;
|
|
236
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
237
|
+
disabled: {
|
|
238
|
+
type: import("vue").PropType<boolean>;
|
|
239
|
+
default: boolean;
|
|
240
|
+
};
|
|
241
|
+
type: {
|
|
242
|
+
type: import("vue").PropType<"button" | "submit" | "reset">;
|
|
243
|
+
default: string;
|
|
244
|
+
};
|
|
245
|
+
label: {
|
|
246
|
+
type: import("vue").PropType<string>;
|
|
247
|
+
required: true;
|
|
248
|
+
default: string;
|
|
249
|
+
};
|
|
250
|
+
icon: {
|
|
251
|
+
type: import("vue").PropType<import("./ElIcon.vue").ElIconProps>;
|
|
252
|
+
default: undefined;
|
|
253
|
+
};
|
|
254
|
+
size: {
|
|
255
|
+
type: import("vue").PropType<"base" | "xs" | "sm" | "l" | "xl">;
|
|
256
|
+
default: string;
|
|
257
|
+
};
|
|
258
|
+
loading: {
|
|
259
|
+
type: import("vue").PropType<boolean>;
|
|
260
|
+
default: boolean;
|
|
261
|
+
};
|
|
262
|
+
error: {
|
|
263
|
+
type: import("vue").PropType<boolean>;
|
|
264
|
+
default: boolean;
|
|
265
|
+
};
|
|
266
|
+
dark: {
|
|
267
|
+
type: import("vue").PropType<boolean>;
|
|
268
|
+
default: boolean;
|
|
269
|
+
};
|
|
270
|
+
iconRight: {
|
|
271
|
+
type: import("vue").PropType<boolean>;
|
|
272
|
+
};
|
|
273
|
+
variant: {
|
|
274
|
+
type: import("vue").PropType<"primary" | "secondary" | "tertiary">;
|
|
275
|
+
default: string;
|
|
276
|
+
};
|
|
277
|
+
}>>, "disabled" | "type" | "label" | "icon" | "size" | "loading" | "error" | "dark" | "variant">, "size" | "variant">;
|
|
278
|
+
isOpen: boolean;
|
|
279
|
+
}, {}>, {
|
|
280
|
+
anchor?(_: {
|
|
281
|
+
isOpen: boolean;
|
|
282
|
+
toggle: () => boolean;
|
|
283
|
+
show: () => boolean;
|
|
284
|
+
hide: () => boolean;
|
|
285
|
+
}): any;
|
|
286
|
+
}>;
|
|
287
|
+
export default _default;
|
|
288
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
289
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
290
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
291
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
292
|
+
} : {
|
|
293
|
+
type: import('vue').PropType<T[K]>;
|
|
294
|
+
required: true;
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
type __VLS_WithDefaults<P, D> = {
|
|
298
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
299
|
+
default: D[K];
|
|
300
|
+
}> : P[K];
|
|
301
|
+
};
|
|
302
|
+
type __VLS_Prettify<T> = {
|
|
303
|
+
[K in keyof T]: T[K];
|
|
304
|
+
} & {};
|
|
305
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
306
|
+
new (): {
|
|
307
|
+
$slots: S;
|
|
308
|
+
};
|
|
309
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const elFileVariants: readonly ["primary", "alpha", "outlined"];
|
|
2
|
+
export type ElFileVariant = (typeof elFileVariants)[number];
|
|
3
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
variant: ElFileVariant;
|
|
5
|
+
name: string;
|
|
6
|
+
format?: string | undefined;
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
close: () => void;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
variant: ElFileVariant;
|
|
11
|
+
name: string;
|
|
12
|
+
format?: string | undefined;
|
|
13
|
+
}>>> & {
|
|
14
|
+
onClose?: (() => any) | undefined;
|
|
15
|
+
}, {}, {}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as outlineIcons from '@heroicons/vue/24/outline';
|
|
2
|
+
export declare const elIconColors: readonly ["pink", "yellow", "orange", "cyan", "rose", "green", "brand-blue", "brand-green", "red", "purple", "indigo"];
|
|
3
|
+
type ElIconColors = (typeof elIconColors)[number];
|
|
4
|
+
export type IconNames = keyof typeof outlineIcons | ElIconColors;
|
|
5
|
+
export type ElIconProps = {
|
|
6
|
+
name: IconNames;
|
|
7
|
+
solid?: boolean;
|
|
8
|
+
cursorPointer?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
name: IconNames;
|
|
13
|
+
solid?: boolean | undefined;
|
|
14
|
+
disabled?: boolean | undefined;
|
|
15
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
+
name: IconNames;
|
|
17
|
+
solid?: boolean | undefined;
|
|
18
|
+
disabled?: boolean | undefined;
|
|
19
|
+
}>>>, {}, {}>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: import('vue').PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { ElIconProps } from './ElIcon.vue';
|
|
2
|
+
export interface ElIconButtonProps {
|
|
3
|
+
icon: ElIconProps;
|
|
4
|
+
tooltip?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
size?: ElIconButtonSize;
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
badge?: string | boolean;
|
|
9
|
+
error?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const elIconButtonSizes: readonly ["xs", "sm", "base", "l", "xl"];
|
|
12
|
+
export type ElIconButtonSize = (typeof elIconButtonSizes)[number];
|
|
13
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ElIconButtonProps>, {
|
|
14
|
+
tooltip: undefined;
|
|
15
|
+
size: string;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
loading: boolean;
|
|
18
|
+
badge: boolean;
|
|
19
|
+
error: boolean;
|
|
20
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
click: () => void;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ElIconButtonProps>, {
|
|
23
|
+
tooltip: undefined;
|
|
24
|
+
size: string;
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
loading: boolean;
|
|
27
|
+
badge: boolean;
|
|
28
|
+
error: boolean;
|
|
29
|
+
}>>> & {
|
|
30
|
+
onClick?: (() => any) | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
tooltip: string;
|
|
34
|
+
size: "base" | "xs" | "sm" | "l" | "xl";
|
|
35
|
+
loading: boolean;
|
|
36
|
+
badge: string | boolean;
|
|
37
|
+
error: boolean;
|
|
38
|
+
}, {}>;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
42
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
44
|
+
} : {
|
|
45
|
+
type: import('vue').PropType<T[K]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
type __VLS_WithDefaults<P, D> = {
|
|
50
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
51
|
+
default: D[K];
|
|
52
|
+
}> : P[K];
|
|
53
|
+
};
|
|
54
|
+
type __VLS_Prettify<T> = {
|
|
55
|
+
[K in keyof T]: T[K];
|
|
56
|
+
} & {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ElIconProps } from './ElIcon.vue';
|
|
2
|
+
import { AvatarParameters } from './types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
text: string;
|
|
5
|
+
check: boolean;
|
|
6
|
+
leadingIcon?: ElIconProps | undefined;
|
|
7
|
+
avatar?: AvatarParameters | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
text: string;
|
|
10
|
+
check: boolean;
|
|
11
|
+
leadingIcon: undefined;
|
|
12
|
+
avatar: undefined;
|
|
13
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
14
|
+
text: string;
|
|
15
|
+
check: boolean;
|
|
16
|
+
leadingIcon?: ElIconProps | undefined;
|
|
17
|
+
avatar?: AvatarParameters | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
text: string;
|
|
20
|
+
check: boolean;
|
|
21
|
+
leadingIcon: undefined;
|
|
22
|
+
avatar: undefined;
|
|
23
|
+
}>>>, {
|
|
24
|
+
text: string;
|
|
25
|
+
avatar: AvatarParameters;
|
|
26
|
+
check: boolean;
|
|
27
|
+
leadingIcon: ElIconProps;
|
|
28
|
+
}, {}>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
32
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
+
} : {
|
|
35
|
+
type: import('vue').PropType<T[K]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
type __VLS_WithDefaults<P, D> = {
|
|
40
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
41
|
+
default: D[K];
|
|
42
|
+
}> : P[K];
|
|
43
|
+
};
|
|
44
|
+
type __VLS_Prettify<T> = {
|
|
45
|
+
[K in keyof T]: T[K];
|
|
46
|
+
} & {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const elLogoColors: readonly ["two-tone", "white", "dark"];
|
|
2
|
+
export type ElLogoColors = (typeof elLogoColors)[number];
|
|
3
|
+
export declare const elLogoVariants: readonly ["full", "compact", "basic"];
|
|
4
|
+
export type ElLogoVariants = (typeof elLogoVariants)[number];
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
color?: "dark" | "two-tone" | "white" | undefined;
|
|
7
|
+
variant?: "full" | "compact" | "basic" | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
color: string;
|
|
10
|
+
variant: string;
|
|
11
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
color?: "dark" | "two-tone" | "white" | undefined;
|
|
13
|
+
variant?: "full" | "compact" | "basic" | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
color: string;
|
|
16
|
+
variant: string;
|
|
17
|
+
}>>>, {
|
|
18
|
+
color: ElLogoColors;
|
|
19
|
+
variant: ElLogoVariants;
|
|
20
|
+
}, {}>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
+
} : {
|
|
27
|
+
type: import('vue').PropType<T[K]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
type __VLS_WithDefaults<P, D> = {
|
|
32
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
+
default: D[K];
|
|
34
|
+
}> : P[K];
|
|
35
|
+
};
|
|
36
|
+
type __VLS_Prettify<T> = {
|
|
37
|
+
[K in keyof T]: T[K];
|
|
38
|
+
} & {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const elSortingHeaderDirections: readonly ["down", "up"];
|
|
2
|
+
export type ElSortingHeaderDirection = (typeof elSortingHeaderDirections)[number];
|
|
3
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
direction: ElSortingHeaderDirection;
|
|
5
|
+
}>, {
|
|
6
|
+
direction: string;
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
+
direction: ElSortingHeaderDirection;
|
|
9
|
+
}>, {
|
|
10
|
+
direction: string;
|
|
11
|
+
}>>>, {
|
|
12
|
+
direction: ElSortingHeaderDirection;
|
|
13
|
+
}, {}>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
type __VLS_WithDefaults<P, D> = {
|
|
25
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
|
+
default: D[K];
|
|
27
|
+
}> : P[K];
|
|
28
|
+
};
|
|
29
|
+
type __VLS_Prettify<T> = {
|
|
30
|
+
[K in keyof T]: T[K];
|
|
31
|
+
} & {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
label: string;
|
|
3
|
+
focused?: boolean | undefined;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
label: string;
|
|
6
|
+
focused?: boolean | undefined;
|
|
7
|
+
}>>>, {}, {}>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
+
} : {
|
|
14
|
+
type: import('vue').PropType<T[K]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const elTabStatuses: readonly ["active", "inactive", "disabled"];
|
|
2
|
+
export type ElTabStatues = (typeof elTabStatuses)[number];
|
|
3
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
label: string;
|
|
5
|
+
status: ElTabStatues;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
click: () => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
label: string;
|
|
10
|
+
status: ElTabStatues;
|
|
11
|
+
}>>> & {
|
|
12
|
+
onClick?: (() => any) | undefined;
|
|
13
|
+
}, {}, {}>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type ElTabs = Array<{
|
|
2
|
+
label: string;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
}>;
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
modelValue: string;
|
|
7
|
+
tabs: ElTabs;
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (modelValue: string) => void;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
+
modelValue: string;
|
|
12
|
+
tabs: ElTabs;
|
|
13
|
+
}>>> & {
|
|
14
|
+
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
15
|
+
}, {}, {}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ElSortingHeaderDirection } from './ElSortingHeader.vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
label: string;
|
|
4
|
+
sortingDirection?: "down" | "up" | undefined;
|
|
5
|
+
alignRight?: boolean | undefined;
|
|
6
|
+
checkbox?: {
|
|
7
|
+
value: boolean;
|
|
8
|
+
intermediate: boolean;
|
|
9
|
+
} | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
label: string;
|
|
12
|
+
sortingDirection: undefined;
|
|
13
|
+
alignRight: boolean;
|
|
14
|
+
checkbox: undefined;
|
|
15
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
+
label: string;
|
|
17
|
+
sortingDirection?: "down" | "up" | undefined;
|
|
18
|
+
alignRight?: boolean | undefined;
|
|
19
|
+
checkbox?: {
|
|
20
|
+
value: boolean;
|
|
21
|
+
intermediate: boolean;
|
|
22
|
+
} | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
label: string;
|
|
25
|
+
sortingDirection: undefined;
|
|
26
|
+
alignRight: boolean;
|
|
27
|
+
checkbox: undefined;
|
|
28
|
+
}>>>, {
|
|
29
|
+
label: string;
|
|
30
|
+
checkbox: {
|
|
31
|
+
value: boolean;
|
|
32
|
+
intermediate: boolean;
|
|
33
|
+
};
|
|
34
|
+
sortingDirection: ElSortingHeaderDirection;
|
|
35
|
+
alignRight: boolean;
|
|
36
|
+
}, {}>;
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
40
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
41
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
42
|
+
} : {
|
|
43
|
+
type: import('vue').PropType<T[K]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
type __VLS_WithDefaults<P, D> = {
|
|
48
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
49
|
+
default: D[K];
|
|
50
|
+
}> : P[K];
|
|
51
|
+
};
|
|
52
|
+
type __VLS_Prettify<T> = {
|
|
53
|
+
[K in keyof T]: T[K];
|
|
54
|
+
} & {};
|