ra-element 0.0.58 → 0.0.63

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.
Files changed (32) hide show
  1. package/docs/ra-tool-tip.md +3 -0
  2. package/lib/ExampleItem-DwhALQGq.js +18 -0
  3. package/lib/components/index.d.ts +21 -0
  4. package/lib/components/ra-auto-scroll/index.vue.d.ts +94 -0
  5. package/lib/{ra-button → components/ra-button}/index.vue.d.ts +28 -28
  6. package/lib/components/ra-checkbox-group/index.vue.d.ts +356 -0
  7. package/lib/{ra-date-picker → components/ra-date-picker}/index.vue.d.ts +4 -4
  8. package/lib/{ra-dialog → components/ra-dialog}/index.vue.d.ts +10 -10
  9. package/lib/components/ra-dialog-select/index.vue.d.ts +64 -0
  10. package/lib/components/ra-help-tip/index.vue.d.ts +56 -0
  11. package/lib/components/ra-input/index.vue.d.ts +1063 -0
  12. package/lib/components/ra-pagination/index.vue.d.ts +545 -0
  13. package/lib/components/ra-radio-group/index.vue.d.ts +452 -0
  14. package/lib/components/ra-select/index.vue.d.ts +1687 -0
  15. package/lib/components/ra-svg/index.vue.d.ts +12 -0
  16. package/lib/components/ra-table/component/pagination-group.vue.d.ts +96 -0
  17. package/lib/components/ra-tool-tip/index.vue.d.ts +30 -0
  18. package/lib/components/ra-tree-select/index.vue.d.ts +41 -0
  19. package/lib/components/ra-upload/index.vue.d.ts +151 -0
  20. package/lib/index-CkAUSFIX.js +4 -0
  21. package/lib/index-DE9tcA5I.js +4 -0
  22. package/lib/index-DN2aloZb.js +4 -0
  23. package/lib/index-DPST30-1.js +4 -0
  24. package/lib/index-DUdhhr_j.js +4 -0
  25. package/lib/index-hKxQUnh9.js +4 -0
  26. package/lib/index.d.ts +6 -7
  27. package/lib/ra-element.css +1 -1
  28. package/lib/ra-element.es.js +17399 -15758
  29. package/lib/ra-element.umd.js +19 -19
  30. package/package.json +4 -3
  31. /package/lib/{ra-form → components/ra-form}/type.d.ts +0 -0
  32. /package/lib/{ra-table → components/ra-table}/type.d.ts +0 -0
@@ -0,0 +1,356 @@
1
+ import { PropType } from 'vue';
2
+ interface SelectOptions {
3
+ label: string;
4
+ value: string;
5
+ [prop: string]: any;
6
+ }
7
+ declare function __VLS_template(): {
8
+ attrs: Partial<{}>;
9
+ slots: {
10
+ default?(_: {}): any;
11
+ };
12
+ refs: {
13
+ componentRef: unknown;
14
+ };
15
+ rootEl: any;
16
+ };
17
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
19
+ options: {
20
+ type: PropType<SelectOptions[]>;
21
+ default: () => never[];
22
+ };
23
+ isButton: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ }>, {
28
+ component: import('vue').Ref<({
29
+ $: import('vue').ComponentInternalInstance;
30
+ $data: {};
31
+ $props: Partial<{
32
+ readonly disabled: boolean;
33
+ readonly modelValue: import('element-plus').CheckboxGroupValueType;
34
+ readonly validateEvent: boolean;
35
+ readonly tag: string;
36
+ }> & Omit<{
37
+ readonly disabled: boolean;
38
+ readonly tag: string;
39
+ readonly modelValue: import('element-plus').CheckboxGroupValueType;
40
+ readonly validateEvent: boolean;
41
+ readonly fill?: string | undefined;
42
+ readonly size?: ("" | "default" | "small" | "large") | undefined;
43
+ readonly ariaLabel?: string | undefined;
44
+ readonly min?: number | undefined;
45
+ readonly max?: number | undefined;
46
+ readonly textColor?: string | undefined;
47
+ "onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined | undefined;
48
+ onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined | undefined;
49
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "tag" | "modelValue" | "validateEvent">;
50
+ $attrs: {
51
+ [x: string]: unknown;
52
+ };
53
+ $refs: {
54
+ [x: string]: unknown;
55
+ };
56
+ $slots: Readonly<{
57
+ [name: string]: import('vue').Slot<any> | undefined;
58
+ }>;
59
+ $root: import('vue').ComponentPublicInstance | null;
60
+ $parent: import('vue').ComponentPublicInstance | null;
61
+ $host: Element | null;
62
+ $emit: ((event: "change", val: import('element-plus').CheckboxValueType[]) => void) & ((event: "update:modelValue", val: import('element-plus').CheckboxGroupValueType) => void);
63
+ $el: any;
64
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
65
+ readonly ariaLabel: StringConstructor;
66
+ readonly modelValue: {
67
+ readonly type: PropType<import('element-plus').CheckboxGroupValueType>;
68
+ readonly required: false;
69
+ readonly validator: ((val: unknown) => boolean) | undefined;
70
+ __epPropKey: true;
71
+ } & {
72
+ readonly default: () => never[];
73
+ };
74
+ readonly disabled: BooleanConstructor;
75
+ readonly min: NumberConstructor;
76
+ readonly max: NumberConstructor;
77
+ readonly size: {
78
+ readonly type: PropType<"" | "default" | "small" | "large">;
79
+ readonly required: false;
80
+ readonly validator: ((val: unknown) => boolean) | undefined;
81
+ __epPropKey: true;
82
+ };
83
+ readonly fill: StringConstructor;
84
+ readonly textColor: StringConstructor;
85
+ readonly tag: {
86
+ readonly type: PropType<string>;
87
+ readonly required: false;
88
+ readonly validator: ((val: unknown) => boolean) | undefined;
89
+ __epPropKey: true;
90
+ } & {
91
+ readonly default: "div";
92
+ };
93
+ readonly validateEvent: {
94
+ readonly type: PropType<boolean>;
95
+ readonly required: false;
96
+ readonly validator: ((val: unknown) => boolean) | undefined;
97
+ __epPropKey: true;
98
+ } & {
99
+ readonly default: true;
100
+ };
101
+ }>> & {
102
+ "onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined;
103
+ onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined;
104
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
105
+ "update:modelValue": (val: import('element-plus').CheckboxGroupValueType) => void;
106
+ change: (val: import('element-plus').CheckboxValueType[]) => void;
107
+ }, string, {
108
+ readonly disabled: boolean;
109
+ readonly modelValue: import('element-plus').CheckboxGroupValueType;
110
+ readonly validateEvent: boolean;
111
+ readonly tag: string;
112
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
113
+ beforeCreate?: (() => void) | (() => void)[];
114
+ created?: (() => void) | (() => void)[];
115
+ beforeMount?: (() => void) | (() => void)[];
116
+ mounted?: (() => void) | (() => void)[];
117
+ beforeUpdate?: (() => void) | (() => void)[];
118
+ updated?: (() => void) | (() => void)[];
119
+ activated?: (() => void) | (() => void)[];
120
+ deactivated?: (() => void) | (() => void)[];
121
+ beforeDestroy?: (() => void) | (() => void)[];
122
+ beforeUnmount?: (() => void) | (() => void)[];
123
+ destroyed?: (() => void) | (() => void)[];
124
+ unmounted?: (() => void) | (() => void)[];
125
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
126
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
127
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
128
+ };
129
+ $forceUpdate: () => void;
130
+ $nextTick: typeof import('vue').nextTick;
131
+ $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;
132
+ } & Readonly<{
133
+ readonly disabled: boolean;
134
+ readonly modelValue: import('element-plus').CheckboxGroupValueType;
135
+ readonly validateEvent: boolean;
136
+ readonly tag: string;
137
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
138
+ readonly ariaLabel: StringConstructor;
139
+ readonly modelValue: {
140
+ readonly type: PropType<import('element-plus').CheckboxGroupValueType>;
141
+ readonly required: false;
142
+ readonly validator: ((val: unknown) => boolean) | undefined;
143
+ __epPropKey: true;
144
+ } & {
145
+ readonly default: () => never[];
146
+ };
147
+ readonly disabled: BooleanConstructor;
148
+ readonly min: NumberConstructor;
149
+ readonly max: NumberConstructor;
150
+ readonly size: {
151
+ readonly type: PropType<"" | "default" | "small" | "large">;
152
+ readonly required: false;
153
+ readonly validator: ((val: unknown) => boolean) | undefined;
154
+ __epPropKey: true;
155
+ };
156
+ readonly fill: StringConstructor;
157
+ readonly textColor: StringConstructor;
158
+ readonly tag: {
159
+ readonly type: PropType<string>;
160
+ readonly required: false;
161
+ readonly validator: ((val: unknown) => boolean) | undefined;
162
+ __epPropKey: true;
163
+ } & {
164
+ readonly default: "div";
165
+ };
166
+ readonly validateEvent: {
167
+ readonly type: PropType<boolean>;
168
+ readonly required: false;
169
+ readonly validator: ((val: unknown) => boolean) | undefined;
170
+ __epPropKey: true;
171
+ } & {
172
+ readonly default: true;
173
+ };
174
+ }>> & {
175
+ "onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined;
176
+ onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined;
177
+ }, "disabled" | "tag" | "modelValue" | "validateEvent"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
178
+ $slots: {
179
+ default?(_: {}): any;
180
+ };
181
+ }) | null, ({
182
+ $: import('vue').ComponentInternalInstance;
183
+ $data: {};
184
+ $props: Partial<{
185
+ readonly disabled: boolean;
186
+ readonly modelValue: import('element-plus').CheckboxGroupValueType;
187
+ readonly validateEvent: boolean;
188
+ readonly tag: string;
189
+ }> & Omit<{
190
+ readonly disabled: boolean;
191
+ readonly tag: string;
192
+ readonly modelValue: import('element-plus').CheckboxGroupValueType;
193
+ readonly validateEvent: boolean;
194
+ readonly fill?: string | undefined;
195
+ readonly size?: ("" | "default" | "small" | "large") | undefined;
196
+ readonly ariaLabel?: string | undefined;
197
+ readonly min?: number | undefined;
198
+ readonly max?: number | undefined;
199
+ readonly textColor?: string | undefined;
200
+ "onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined | undefined;
201
+ onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined | undefined;
202
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "tag" | "modelValue" | "validateEvent">;
203
+ $attrs: {
204
+ [x: string]: unknown;
205
+ };
206
+ $refs: {
207
+ [x: string]: unknown;
208
+ };
209
+ $slots: Readonly<{
210
+ [name: string]: import('vue').Slot<any> | undefined;
211
+ }>;
212
+ $root: import('vue').ComponentPublicInstance | null;
213
+ $parent: import('vue').ComponentPublicInstance | null;
214
+ $host: Element | null;
215
+ $emit: ((event: "change", val: import('element-plus').CheckboxValueType[]) => void) & ((event: "update:modelValue", val: import('element-plus').CheckboxGroupValueType) => void);
216
+ $el: any;
217
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
218
+ readonly ariaLabel: StringConstructor;
219
+ readonly modelValue: {
220
+ readonly type: PropType<import('element-plus').CheckboxGroupValueType>;
221
+ readonly required: false;
222
+ readonly validator: ((val: unknown) => boolean) | undefined;
223
+ __epPropKey: true;
224
+ } & {
225
+ readonly default: () => never[];
226
+ };
227
+ readonly disabled: BooleanConstructor;
228
+ readonly min: NumberConstructor;
229
+ readonly max: NumberConstructor;
230
+ readonly size: {
231
+ readonly type: PropType<"" | "default" | "small" | "large">;
232
+ readonly required: false;
233
+ readonly validator: ((val: unknown) => boolean) | undefined;
234
+ __epPropKey: true;
235
+ };
236
+ readonly fill: StringConstructor;
237
+ readonly textColor: StringConstructor;
238
+ readonly tag: {
239
+ readonly type: PropType<string>;
240
+ readonly required: false;
241
+ readonly validator: ((val: unknown) => boolean) | undefined;
242
+ __epPropKey: true;
243
+ } & {
244
+ readonly default: "div";
245
+ };
246
+ readonly validateEvent: {
247
+ readonly type: PropType<boolean>;
248
+ readonly required: false;
249
+ readonly validator: ((val: unknown) => boolean) | undefined;
250
+ __epPropKey: true;
251
+ } & {
252
+ readonly default: true;
253
+ };
254
+ }>> & {
255
+ "onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined;
256
+ onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined;
257
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
258
+ "update:modelValue": (val: import('element-plus').CheckboxGroupValueType) => void;
259
+ change: (val: import('element-plus').CheckboxValueType[]) => void;
260
+ }, string, {
261
+ readonly disabled: boolean;
262
+ readonly modelValue: import('element-plus').CheckboxGroupValueType;
263
+ readonly validateEvent: boolean;
264
+ readonly tag: string;
265
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
266
+ beforeCreate?: (() => void) | (() => void)[];
267
+ created?: (() => void) | (() => void)[];
268
+ beforeMount?: (() => void) | (() => void)[];
269
+ mounted?: (() => void) | (() => void)[];
270
+ beforeUpdate?: (() => void) | (() => void)[];
271
+ updated?: (() => void) | (() => void)[];
272
+ activated?: (() => void) | (() => void)[];
273
+ deactivated?: (() => void) | (() => void)[];
274
+ beforeDestroy?: (() => void) | (() => void)[];
275
+ beforeUnmount?: (() => void) | (() => void)[];
276
+ destroyed?: (() => void) | (() => void)[];
277
+ unmounted?: (() => void) | (() => void)[];
278
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
279
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
280
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
281
+ };
282
+ $forceUpdate: () => void;
283
+ $nextTick: typeof import('vue').nextTick;
284
+ $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;
285
+ } & Readonly<{
286
+ readonly disabled: boolean;
287
+ readonly modelValue: import('element-plus').CheckboxGroupValueType;
288
+ readonly validateEvent: boolean;
289
+ readonly tag: string;
290
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
291
+ readonly ariaLabel: StringConstructor;
292
+ readonly modelValue: {
293
+ readonly type: PropType<import('element-plus').CheckboxGroupValueType>;
294
+ readonly required: false;
295
+ readonly validator: ((val: unknown) => boolean) | undefined;
296
+ __epPropKey: true;
297
+ } & {
298
+ readonly default: () => never[];
299
+ };
300
+ readonly disabled: BooleanConstructor;
301
+ readonly min: NumberConstructor;
302
+ readonly max: NumberConstructor;
303
+ readonly size: {
304
+ readonly type: PropType<"" | "default" | "small" | "large">;
305
+ readonly required: false;
306
+ readonly validator: ((val: unknown) => boolean) | undefined;
307
+ __epPropKey: true;
308
+ };
309
+ readonly fill: StringConstructor;
310
+ readonly textColor: StringConstructor;
311
+ readonly tag: {
312
+ readonly type: PropType<string>;
313
+ readonly required: false;
314
+ readonly validator: ((val: unknown) => boolean) | undefined;
315
+ __epPropKey: true;
316
+ } & {
317
+ readonly default: "div";
318
+ };
319
+ readonly validateEvent: {
320
+ readonly type: PropType<boolean>;
321
+ readonly required: false;
322
+ readonly validator: ((val: unknown) => boolean) | undefined;
323
+ __epPropKey: true;
324
+ } & {
325
+ readonly default: true;
326
+ };
327
+ }>> & {
328
+ "onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined;
329
+ onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined;
330
+ }, "disabled" | "tag" | "modelValue" | "validateEvent"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
331
+ $slots: {
332
+ default?(_: {}): any;
333
+ };
334
+ }) | null>;
335
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
336
+ options: {
337
+ type: PropType<SelectOptions[]>;
338
+ default: () => never[];
339
+ };
340
+ isButton: {
341
+ type: BooleanConstructor;
342
+ default: boolean;
343
+ };
344
+ }>> & Readonly<{}>, {
345
+ options: SelectOptions[];
346
+ isButton: boolean;
347
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
348
+ componentRef: unknown;
349
+ }, any>;
350
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
351
+ export default _default;
352
+ type __VLS_WithTemplateSlots<T, S> = T & {
353
+ new (): {
354
+ $slots: S;
355
+ };
356
+ };
@@ -216,7 +216,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
216
216
  readonly default: "";
217
217
  };
218
218
  readonly size: {
219
- readonly type: import('vue').PropType<"" | "small" | "default" | "large">;
219
+ readonly type: import('vue').PropType<"" | "default" | "small" | "large">;
220
220
  readonly required: false;
221
221
  readonly validator: ((val: unknown) => boolean) | undefined;
222
222
  __epPropKey: true;
@@ -457,7 +457,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
457
457
  readonly default: "";
458
458
  };
459
459
  readonly size: {
460
- readonly type: import('vue').PropType<"" | "small" | "default" | "large">;
460
+ readonly type: import('vue').PropType<"" | "default" | "small" | "large">;
461
461
  readonly required: false;
462
462
  readonly validator: ((val: unknown) => boolean) | undefined;
463
463
  __epPropKey: true;
@@ -691,7 +691,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
691
691
  readonly default: "";
692
692
  };
693
693
  readonly size: {
694
- readonly type: import('vue').PropType<"" | "small" | "default" | "large">;
694
+ readonly type: import('vue').PropType<"" | "default" | "small" | "large">;
695
695
  readonly required: false;
696
696
  readonly validator: ((val: unknown) => boolean) | undefined;
697
697
  __epPropKey: true;
@@ -932,7 +932,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
932
932
  readonly default: "";
933
933
  };
934
934
  readonly size: {
935
- readonly type: import('vue').PropType<"" | "small" | "default" | "large">;
935
+ readonly type: import('vue').PropType<"" | "default" | "small" | "large">;
936
936
  readonly required: false;
937
937
  readonly validator: ((val: unknown) => boolean) | undefined;
938
938
  __epPropKey: true;
@@ -55,6 +55,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
55
55
  readonly trapFocus: boolean;
56
56
  }> & Omit<{
57
57
  readonly title: string;
58
+ readonly overflow: boolean;
58
59
  readonly modelValue: boolean;
59
60
  readonly appendToBody: boolean;
60
61
  readonly appendTo: string | HTMLElement;
@@ -70,17 +71,16 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
70
71
  readonly center: boolean;
71
72
  readonly alignCenter: boolean;
72
73
  readonly draggable: boolean;
73
- readonly overflow: boolean;
74
74
  readonly fullscreen: boolean;
75
75
  readonly showClose: boolean;
76
76
  readonly ariaLevel: string;
77
+ readonly width?: (string | number) | undefined;
77
78
  readonly top?: string | undefined;
78
79
  readonly beforeClose?: import('element-plus').DialogBeforeCloseFn | undefined;
79
80
  readonly modalClass?: string | undefined;
80
81
  readonly headerClass?: string | undefined;
81
82
  readonly bodyClass?: string | undefined;
82
83
  readonly footerClass?: string | undefined;
83
- readonly width?: (string | number) | undefined;
84
84
  readonly zIndex?: number | undefined;
85
85
  readonly closeIcon?: (string | import('vue').Component) | undefined;
86
86
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined | undefined;
@@ -90,7 +90,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
90
90
  onClosed?: (() => any) | undefined | undefined;
91
91
  onOpenAutoFocus?: (() => any) | undefined | undefined;
92
92
  onCloseAutoFocus?: (() => any) | undefined | undefined;
93
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "modelValue" | "appendToBody" | "appendTo" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "center" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel">;
93
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "overflow" | "modelValue" | "appendToBody" | "appendTo" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "center" | "alignCenter" | "draggable" | "fullscreen" | "showClose" | "ariaLevel">;
94
94
  $attrs: {
95
95
  [x: string]: unknown;
96
96
  };
@@ -103,7 +103,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
103
103
  $root: import('vue').ComponentPublicInstance | null;
104
104
  $parent: import('vue').ComponentPublicInstance | null;
105
105
  $host: Element | null;
106
- $emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void);
106
+ $emit: ((event: "close") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void);
107
107
  $el: any;
108
108
  $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
109
109
  readonly appendToBody: BooleanConstructor;
@@ -460,7 +460,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
460
460
  onClosed?: (() => any) | undefined;
461
461
  onOpenAutoFocus?: (() => any) | undefined;
462
462
  onCloseAutoFocus?: (() => any) | undefined;
463
- }, "title" | "modelValue" | "appendToBody" | "appendTo" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "center" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel" | "visible" | "dialogContentRef" | "resetPosition" | "handleClose"> & import('vue').ShallowUnwrapRef<{
463
+ }, "title" | "overflow" | "visible" | "modelValue" | "appendToBody" | "appendTo" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "center" | "alignCenter" | "draggable" | "fullscreen" | "showClose" | "ariaLevel" | "dialogContentRef" | "resetPosition" | "handleClose"> & import('vue').ShallowUnwrapRef<{
464
464
  visible: import('vue').Ref<boolean>;
465
465
  dialogContentRef: import('vue').Ref<any>;
466
466
  resetPosition: () => void;
@@ -502,6 +502,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
502
502
  readonly trapFocus: boolean;
503
503
  }> & Omit<{
504
504
  readonly title: string;
505
+ readonly overflow: boolean;
505
506
  readonly modelValue: boolean;
506
507
  readonly appendToBody: boolean;
507
508
  readonly appendTo: string | HTMLElement;
@@ -517,17 +518,16 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
517
518
  readonly center: boolean;
518
519
  readonly alignCenter: boolean;
519
520
  readonly draggable: boolean;
520
- readonly overflow: boolean;
521
521
  readonly fullscreen: boolean;
522
522
  readonly showClose: boolean;
523
523
  readonly ariaLevel: string;
524
+ readonly width?: (string | number) | undefined;
524
525
  readonly top?: string | undefined;
525
526
  readonly beforeClose?: import('element-plus').DialogBeforeCloseFn | undefined;
526
527
  readonly modalClass?: string | undefined;
527
528
  readonly headerClass?: string | undefined;
528
529
  readonly bodyClass?: string | undefined;
529
530
  readonly footerClass?: string | undefined;
530
- readonly width?: (string | number) | undefined;
531
531
  readonly zIndex?: number | undefined;
532
532
  readonly closeIcon?: (string | import('vue').Component) | undefined;
533
533
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined | undefined;
@@ -537,7 +537,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
537
537
  onClosed?: (() => any) | undefined | undefined;
538
538
  onOpenAutoFocus?: (() => any) | undefined | undefined;
539
539
  onCloseAutoFocus?: (() => any) | undefined | undefined;
540
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "modelValue" | "appendToBody" | "appendTo" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "center" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel">;
540
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "overflow" | "modelValue" | "appendToBody" | "appendTo" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "center" | "alignCenter" | "draggable" | "fullscreen" | "showClose" | "ariaLevel">;
541
541
  $attrs: {
542
542
  [x: string]: unknown;
543
543
  };
@@ -550,7 +550,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
550
550
  $root: import('vue').ComponentPublicInstance | null;
551
551
  $parent: import('vue').ComponentPublicInstance | null;
552
552
  $host: Element | null;
553
- $emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void);
553
+ $emit: ((event: "close") => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void);
554
554
  $el: any;
555
555
  $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
556
556
  readonly appendToBody: BooleanConstructor;
@@ -907,7 +907,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
907
907
  onClosed?: (() => any) | undefined;
908
908
  onOpenAutoFocus?: (() => any) | undefined;
909
909
  onCloseAutoFocus?: (() => any) | undefined;
910
- }, "title" | "modelValue" | "appendToBody" | "appendTo" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "center" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel" | "visible" | "dialogContentRef" | "resetPosition" | "handleClose"> & import('vue').ShallowUnwrapRef<{
910
+ }, "title" | "overflow" | "visible" | "modelValue" | "appendToBody" | "appendTo" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "center" | "alignCenter" | "draggable" | "fullscreen" | "showClose" | "ariaLevel" | "dialogContentRef" | "resetPosition" | "handleClose"> & import('vue').ShallowUnwrapRef<{
911
911
  visible: import('vue').Ref<boolean>;
912
912
  dialogContentRef: import('vue').Ref<any>;
913
913
  resetPosition: () => void;
@@ -0,0 +1,64 @@
1
+ interface optionsItem {
2
+ name?: string;
3
+ key?: string;
4
+ disabled?: boolean;
5
+ children?: optionsItem[];
6
+ }
7
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
8
+ modelValue: {
9
+ type: ArrayConstructor;
10
+ default: () => never[];
11
+ };
12
+ placeholder: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ dialogTitle: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ options: {
21
+ type: PropType<optionsItem[]>;
22
+ default: () => never[];
23
+ };
24
+ width: {
25
+ type: NumberConstructor;
26
+ default: number;
27
+ };
28
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
29
+ input: (...args: any[]) => void;
30
+ change: (...args: any[]) => void;
31
+ "update:modelValue": (...args: any[]) => void;
32
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
33
+ modelValue: {
34
+ type: ArrayConstructor;
35
+ default: () => never[];
36
+ };
37
+ placeholder: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ dialogTitle: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ options: {
46
+ type: PropType<optionsItem[]>;
47
+ default: () => never[];
48
+ };
49
+ width: {
50
+ type: NumberConstructor;
51
+ default: number;
52
+ };
53
+ }>> & Readonly<{
54
+ onInput?: ((...args: any[]) => any) | undefined;
55
+ onChange?: ((...args: any[]) => any) | undefined;
56
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
57
+ }>, {
58
+ width: number;
59
+ modelValue: unknown[];
60
+ options: any;
61
+ placeholder: string;
62
+ dialogTitle: string;
63
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
64
+ export default _default;
@@ -0,0 +1,56 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: any;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
11
+ width: {
12
+ type: NumberConstructor;
13
+ default: number;
14
+ };
15
+ placement: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ tipText: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ helpStyle: {
24
+ type: ObjectConstructor;
25
+ default: () => {};
26
+ };
27
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
28
+ width: {
29
+ type: NumberConstructor;
30
+ default: number;
31
+ };
32
+ placement: {
33
+ type: StringConstructor;
34
+ default: string;
35
+ };
36
+ tipText: {
37
+ type: StringConstructor;
38
+ default: string;
39
+ };
40
+ helpStyle: {
41
+ type: ObjectConstructor;
42
+ default: () => {};
43
+ };
44
+ }>> & Readonly<{}>, {
45
+ width: number;
46
+ placement: string;
47
+ tipText: string;
48
+ helpStyle: Record<string, any>;
49
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
50
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
51
+ export default _default;
52
+ type __VLS_WithTemplateSlots<T, S> = T & {
53
+ new (): {
54
+ $slots: S;
55
+ };
56
+ };