ra-element 0.1.52 → 0.1.56

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,7 +10,225 @@ declare function __VLS_template(): {
10
10
  default?(_: {}): any;
11
11
  };
12
12
  refs: {
13
- componentRef: unknown;
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;
48
+ };
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<{
156
+ readonly disabled: boolean;
157
+ readonly props: {
158
+ value?: string;
159
+ label?: string;
160
+ disabled?: string;
161
+ };
162
+ readonly modelValue: import('element-plus').CheckboxGroupValueType;
163
+ readonly validateEvent: boolean;
164
+ readonly tag: string;
165
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
166
+ readonly ariaLabel: StringConstructor;
167
+ readonly modelValue: {
168
+ readonly type: PropType<import('element-plus').CheckboxGroupValueType>;
169
+ readonly required: false;
170
+ readonly validator: ((val: unknown) => boolean) | undefined;
171
+ __epPropKey: true;
172
+ } & {
173
+ readonly default: () => never[];
174
+ };
175
+ readonly disabled: BooleanConstructor;
176
+ readonly min: NumberConstructor;
177
+ readonly max: NumberConstructor;
178
+ readonly size: {
179
+ readonly type: PropType<"" | "default" | "small" | "large">;
180
+ readonly required: false;
181
+ readonly validator: ((val: unknown) => boolean) | undefined;
182
+ __epPropKey: true;
183
+ };
184
+ readonly fill: StringConstructor;
185
+ readonly textColor: StringConstructor;
186
+ readonly tag: {
187
+ readonly type: PropType<string>;
188
+ readonly required: false;
189
+ readonly validator: ((val: unknown) => boolean) | undefined;
190
+ __epPropKey: true;
191
+ } & {
192
+ readonly default: "div";
193
+ };
194
+ readonly validateEvent: {
195
+ readonly type: PropType<boolean>;
196
+ readonly required: false;
197
+ readonly validator: ((val: unknown) => boolean) | undefined;
198
+ __epPropKey: true;
199
+ } & {
200
+ readonly default: true;
201
+ };
202
+ readonly options: {
203
+ readonly type: PropType<import('element-plus').CheckboxOption[]>;
204
+ readonly required: false;
205
+ readonly validator: ((val: unknown) => boolean) | undefined;
206
+ __epPropKey: true;
207
+ };
208
+ readonly props: {
209
+ readonly type: PropType<{
210
+ value?: string;
211
+ label?: string;
212
+ disabled?: string;
213
+ }>;
214
+ readonly required: false;
215
+ readonly validator: ((val: unknown) => boolean) | undefined;
216
+ __epPropKey: true;
217
+ } & {
218
+ readonly default: () => Required<{
219
+ value?: string;
220
+ label?: string;
221
+ disabled?: string;
222
+ }>;
223
+ };
224
+ }>> & {
225
+ "onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined;
226
+ onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined;
227
+ }, "disabled" | "props" | "tag" | "modelValue" | "validateEvent"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
228
+ $slots: {
229
+ default?(_: {}): any;
230
+ };
231
+ }) | null;
14
232
  };
15
233
  rootEl: any;
16
234
  };
@@ -25,7 +243,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
25
243
  default: boolean;
26
244
  };
27
245
  }>, {
28
- component: import('vue').Ref<({
246
+ component: Readonly<import('vue').ShallowRef<({
29
247
  $: import('vue').ComponentInternalInstance;
30
248
  $data: {};
31
249
  $props: Partial<{
@@ -50,11 +268,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
50
268
  readonly validateEvent: boolean;
51
269
  readonly fill?: string | undefined;
52
270
  readonly size?: ("" | "default" | "small" | "large") | undefined;
271
+ readonly options?: import('element-plus').CheckboxOption[] | undefined;
53
272
  readonly ariaLabel?: string | undefined;
54
273
  readonly min?: number | undefined;
55
274
  readonly max?: number | undefined;
56
275
  readonly textColor?: string | undefined;
57
- readonly options?: import('element-plus').CheckboxOption[] | undefined;
58
276
  "onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined | undefined;
59
277
  onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined | undefined;
60
278
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "props" | "tag" | "modelValue" | "validateEvent">;
@@ -243,7 +461,21 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
243
461
  $slots: {
244
462
  default?(_: {}): any;
245
463
  };
246
- }) | null, ({
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: ({
247
479
  $: import('vue').ComponentInternalInstance;
248
480
  $data: {};
249
481
  $props: Partial<{
@@ -268,11 +500,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
268
500
  readonly validateEvent: boolean;
269
501
  readonly fill?: string | undefined;
270
502
  readonly size?: ("" | "default" | "small" | "large") | undefined;
503
+ readonly options?: import('element-plus').CheckboxOption[] | undefined;
271
504
  readonly ariaLabel?: string | undefined;
272
505
  readonly min?: number | undefined;
273
506
  readonly max?: number | undefined;
274
507
  readonly textColor?: string | undefined;
275
- readonly options?: import('element-plus').CheckboxOption[] | undefined;
276
508
  "onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined | undefined;
277
509
  onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined | undefined;
278
510
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "props" | "tag" | "modelValue" | "validateEvent">;
@@ -461,21 +693,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
461
693
  $slots: {
462
694
  default?(_: {}): any;
463
695
  };
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;
696
+ }) | null;
479
697
  }, any>;
480
698
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
481
699
  export default _default;