ra-element 0.1.51 → 0.1.53

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.
@@ -10,69 +10,159 @@ declare function __VLS_template(): {
10
10
  default?(_: {}): any;
11
11
  };
12
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 props: {
34
- value?: string;
35
- label?: string;
36
- disabled?: string;
13
+ componentRef: ({
14
+ $: import('vue').ComponentInternalInstance;
15
+ $data: {};
16
+ $props: Partial<{
17
+ readonly disabled: boolean;
18
+ readonly props: {
19
+ value?: string;
20
+ label?: string;
21
+ disabled?: string;
22
+ };
23
+ readonly modelValue: import('element-plus').CheckboxGroupValueType;
24
+ readonly validateEvent: boolean;
25
+ readonly tag: string;
26
+ }> & Omit<{
27
+ readonly disabled: boolean;
28
+ readonly props: {
29
+ value?: string;
30
+ label?: string;
31
+ disabled?: string;
32
+ };
33
+ readonly tag: string;
34
+ readonly modelValue: import('element-plus').CheckboxGroupValueType;
35
+ readonly validateEvent: boolean;
36
+ readonly fill?: string | undefined;
37
+ readonly size?: ("" | "default" | "small" | "large") | undefined;
38
+ readonly options?: import('element-plus').CheckboxOption[] | undefined;
39
+ readonly ariaLabel?: string | undefined;
40
+ readonly min?: number | undefined;
41
+ readonly max?: number | undefined;
42
+ readonly textColor?: string | undefined;
43
+ "onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined | undefined;
44
+ onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined | undefined;
45
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "props" | "tag" | "modelValue" | "validateEvent">;
46
+ $attrs: {
47
+ [x: string]: unknown;
37
48
  };
38
- readonly modelValue: import('element-plus').CheckboxGroupValueType;
39
- readonly validateEvent: boolean;
40
- readonly tag: string;
41
- }> & Omit<{
49
+ $refs: {
50
+ [x: string]: unknown;
51
+ };
52
+ $slots: Readonly<{
53
+ [name: string]: import('vue').Slot<any> | undefined;
54
+ }>;
55
+ $root: import('vue').ComponentPublicInstance | null;
56
+ $parent: import('vue').ComponentPublicInstance | null;
57
+ $host: Element | null;
58
+ $emit: ((event: "change", val: import('element-plus').CheckboxValueType[]) => void) & ((event: "update:modelValue", val: import('element-plus').CheckboxGroupValueType) => void);
59
+ $el: any;
60
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
61
+ readonly ariaLabel: StringConstructor;
62
+ readonly modelValue: {
63
+ readonly type: PropType<import('element-plus').CheckboxGroupValueType>;
64
+ readonly required: false;
65
+ readonly validator: ((val: unknown) => boolean) | undefined;
66
+ __epPropKey: true;
67
+ } & {
68
+ readonly default: () => never[];
69
+ };
70
+ readonly disabled: BooleanConstructor;
71
+ readonly min: NumberConstructor;
72
+ readonly max: NumberConstructor;
73
+ readonly size: {
74
+ readonly type: PropType<"" | "default" | "small" | "large">;
75
+ readonly required: false;
76
+ readonly validator: ((val: unknown) => boolean) | undefined;
77
+ __epPropKey: true;
78
+ };
79
+ readonly fill: StringConstructor;
80
+ readonly textColor: StringConstructor;
81
+ readonly tag: {
82
+ readonly type: PropType<string>;
83
+ readonly required: false;
84
+ readonly validator: ((val: unknown) => boolean) | undefined;
85
+ __epPropKey: true;
86
+ } & {
87
+ readonly default: "div";
88
+ };
89
+ readonly validateEvent: {
90
+ readonly type: PropType<boolean>;
91
+ readonly required: false;
92
+ readonly validator: ((val: unknown) => boolean) | undefined;
93
+ __epPropKey: true;
94
+ } & {
95
+ readonly default: true;
96
+ };
97
+ readonly options: {
98
+ readonly type: PropType<import('element-plus').CheckboxOption[]>;
99
+ readonly required: false;
100
+ readonly validator: ((val: unknown) => boolean) | undefined;
101
+ __epPropKey: true;
102
+ };
103
+ readonly props: {
104
+ readonly type: PropType<{
105
+ value?: string;
106
+ label?: string;
107
+ disabled?: string;
108
+ }>;
109
+ readonly required: false;
110
+ readonly validator: ((val: unknown) => boolean) | undefined;
111
+ __epPropKey: true;
112
+ } & {
113
+ readonly default: () => Required<{
114
+ value?: string;
115
+ label?: string;
116
+ disabled?: string;
117
+ }>;
118
+ };
119
+ }>> & {
120
+ "onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined;
121
+ onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined;
122
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
123
+ "update:modelValue": (val: import('element-plus').CheckboxGroupValueType) => void;
124
+ change: (val: import('element-plus').CheckboxValueType[]) => void;
125
+ }, string, {
126
+ readonly disabled: boolean;
127
+ readonly props: {
128
+ value?: string;
129
+ label?: string;
130
+ disabled?: string;
131
+ };
132
+ readonly modelValue: import('element-plus').CheckboxGroupValueType;
133
+ readonly validateEvent: boolean;
134
+ readonly tag: string;
135
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
136
+ beforeCreate?: (() => void) | (() => void)[];
137
+ created?: (() => void) | (() => void)[];
138
+ beforeMount?: (() => void) | (() => void)[];
139
+ mounted?: (() => void) | (() => void)[];
140
+ beforeUpdate?: (() => void) | (() => void)[];
141
+ updated?: (() => void) | (() => void)[];
142
+ activated?: (() => void) | (() => void)[];
143
+ deactivated?: (() => void) | (() => void)[];
144
+ beforeDestroy?: (() => void) | (() => void)[];
145
+ beforeUnmount?: (() => void) | (() => void)[];
146
+ destroyed?: (() => void) | (() => void)[];
147
+ unmounted?: (() => void) | (() => void)[];
148
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
149
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
150
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
151
+ };
152
+ $forceUpdate: () => void;
153
+ $nextTick: typeof import('vue').nextTick;
154
+ $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;
155
+ } & Readonly<{
42
156
  readonly disabled: boolean;
43
157
  readonly props: {
44
158
  value?: string;
45
159
  label?: string;
46
160
  disabled?: string;
47
161
  };
48
- readonly tag: string;
49
162
  readonly modelValue: import('element-plus').CheckboxGroupValueType;
50
163
  readonly validateEvent: boolean;
51
- readonly fill?: string | undefined;
52
- readonly size?: ("" | "default" | "small" | "large") | undefined;
53
- readonly ariaLabel?: string | undefined;
54
- readonly min?: number | undefined;
55
- readonly max?: number | undefined;
56
- readonly textColor?: string | undefined;
57
- readonly options?: import('element-plus').CheckboxOption[] | undefined;
58
- "onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined | undefined;
59
- onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined | undefined;
60
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "props" | "tag" | "modelValue" | "validateEvent">;
61
- $attrs: {
62
- [x: string]: unknown;
63
- };
64
- $refs: {
65
- [x: string]: unknown;
66
- };
67
- $slots: Readonly<{
68
- [name: string]: import('vue').Slot<any> | undefined;
69
- }>;
70
- $root: import('vue').ComponentPublicInstance | null;
71
- $parent: import('vue').ComponentPublicInstance | null;
72
- $host: Element | null;
73
- $emit: ((event: "change", val: import('element-plus').CheckboxValueType[]) => void) & ((event: "update:modelValue", val: import('element-plus').CheckboxGroupValueType) => void);
74
- $el: any;
75
- $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
164
+ readonly tag: string;
165
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
76
166
  readonly ariaLabel: StringConstructor;
77
167
  readonly modelValue: {
78
168
  readonly type: PropType<import('element-plus').CheckboxGroupValueType>;
@@ -134,116 +224,40 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
134
224
  }>> & {
135
225
  "onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined;
136
226
  onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined;
137
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
138
- "update:modelValue": (val: import('element-plus').CheckboxGroupValueType) => void;
139
- change: (val: import('element-plus').CheckboxValueType[]) => void;
140
- }, string, {
141
- readonly disabled: boolean;
142
- readonly props: {
143
- value?: string;
144
- label?: string;
145
- disabled?: string;
227
+ }, "disabled" | "props" | "tag" | "modelValue" | "validateEvent"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
228
+ $slots: {
229
+ default?(_: {}): any;
146
230
  };
147
- readonly modelValue: import('element-plus').CheckboxGroupValueType;
148
- readonly validateEvent: boolean;
149
- readonly tag: string;
150
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
151
- beforeCreate?: (() => void) | (() => void)[];
152
- created?: (() => void) | (() => void)[];
153
- beforeMount?: (() => void) | (() => void)[];
154
- mounted?: (() => void) | (() => void)[];
155
- beforeUpdate?: (() => void) | (() => void)[];
156
- updated?: (() => void) | (() => void)[];
157
- activated?: (() => void) | (() => void)[];
158
- deactivated?: (() => void) | (() => void)[];
159
- beforeDestroy?: (() => void) | (() => void)[];
160
- beforeUnmount?: (() => void) | (() => void)[];
161
- destroyed?: (() => void) | (() => void)[];
162
- unmounted?: (() => void) | (() => void)[];
163
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
164
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
165
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
166
- };
167
- $forceUpdate: () => void;
168
- $nextTick: typeof import('vue').nextTick;
169
- $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;
170
- } & Readonly<{
171
- readonly disabled: boolean;
172
- readonly props: {
173
- value?: string;
174
- label?: string;
175
- disabled?: string;
176
- };
177
- readonly modelValue: import('element-plus').CheckboxGroupValueType;
178
- readonly validateEvent: boolean;
179
- readonly tag: string;
180
- }> & Omit<Readonly<import('vue').ExtractPropTypes<{
181
- readonly ariaLabel: StringConstructor;
182
- readonly modelValue: {
183
- readonly type: PropType<import('element-plus').CheckboxGroupValueType>;
184
- readonly required: false;
185
- readonly validator: ((val: unknown) => boolean) | undefined;
186
- __epPropKey: true;
187
- } & {
188
- readonly default: () => never[];
189
- };
190
- readonly disabled: BooleanConstructor;
191
- readonly min: NumberConstructor;
192
- readonly max: NumberConstructor;
193
- readonly size: {
194
- readonly type: PropType<"" | "default" | "small" | "large">;
195
- readonly required: false;
196
- readonly validator: ((val: unknown) => boolean) | undefined;
197
- __epPropKey: true;
198
- };
199
- readonly fill: StringConstructor;
200
- readonly textColor: StringConstructor;
201
- readonly tag: {
202
- readonly type: PropType<string>;
203
- readonly required: false;
204
- readonly validator: ((val: unknown) => boolean) | undefined;
205
- __epPropKey: true;
206
- } & {
207
- readonly default: "div";
208
- };
209
- readonly validateEvent: {
210
- readonly type: PropType<boolean>;
211
- readonly required: false;
212
- readonly validator: ((val: unknown) => boolean) | undefined;
213
- __epPropKey: true;
214
- } & {
215
- readonly default: true;
216
- };
217
- readonly options: {
218
- readonly type: PropType<import('element-plus').CheckboxOption[]>;
219
- readonly required: false;
220
- readonly validator: ((val: unknown) => boolean) | undefined;
221
- __epPropKey: true;
222
- };
223
- readonly props: {
224
- readonly type: PropType<{
225
- value?: string;
226
- label?: string;
227
- disabled?: string;
228
- }>;
229
- readonly required: false;
230
- readonly validator: ((val: unknown) => boolean) | undefined;
231
- __epPropKey: true;
232
- } & {
233
- readonly default: () => Required<{
234
- value?: string;
235
- label?: string;
236
- disabled?: string;
237
- }>;
238
- };
239
- }>> & {
240
- "onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined;
241
- onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined;
242
- }, "disabled" | "props" | "tag" | "modelValue" | "validateEvent"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
243
- $slots: {
244
- default?(_: {}): any;
245
- };
246
- }) | null, ({
231
+ }) | null;
232
+ };
233
+ rootEl: any;
234
+ };
235
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
236
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
237
+ options: {
238
+ type: PropType<SelectOptions[]>;
239
+ default: () => never[];
240
+ };
241
+ isButton: {
242
+ type: BooleanConstructor;
243
+ default: boolean;
244
+ };
245
+ }>, {
246
+ component: any;
247
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
248
+ options: {
249
+ type: PropType<SelectOptions[]>;
250
+ default: () => never[];
251
+ };
252
+ isButton: {
253
+ type: BooleanConstructor;
254
+ default: boolean;
255
+ };
256
+ }>> & Readonly<{}>, {
257
+ options: SelectOptions[];
258
+ isButton: boolean;
259
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
260
+ componentRef: ({
247
261
  $: import('vue').ComponentInternalInstance;
248
262
  $data: {};
249
263
  $props: Partial<{
@@ -268,11 +282,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
268
282
  readonly validateEvent: boolean;
269
283
  readonly fill?: string | undefined;
270
284
  readonly size?: ("" | "default" | "small" | "large") | undefined;
285
+ readonly options?: import('element-plus').CheckboxOption[] | undefined;
271
286
  readonly ariaLabel?: string | undefined;
272
287
  readonly min?: number | undefined;
273
288
  readonly max?: number | undefined;
274
289
  readonly textColor?: string | undefined;
275
- readonly options?: import('element-plus').CheckboxOption[] | undefined;
276
290
  "onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined | undefined;
277
291
  onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined | undefined;
278
292
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "props" | "tag" | "modelValue" | "validateEvent">;
@@ -461,21 +475,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
461
475
  $slots: {
462
476
  default?(_: {}): any;
463
477
  };
464
- }) | null>;
465
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
466
- options: {
467
- type: PropType<SelectOptions[]>;
468
- default: () => never[];
469
- };
470
- isButton: {
471
- type: BooleanConstructor;
472
- default: boolean;
473
- };
474
- }>> & Readonly<{}>, {
475
- options: SelectOptions[];
476
- isButton: boolean;
477
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
478
- componentRef: unknown;
478
+ }) | null;
479
479
  }, any>;
480
480
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
481
481
  export default _default;