ra-element 0.1.37 → 0.1.39

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/docs/ra-dialog.md CHANGED
@@ -8,3 +8,4 @@
8
8
  | draggable | Boolean | 设置原生draggable默认设置为ture | true | |
9
9
  | destroyOnClose | Boolean | 设置原生destroyOnClose默认设置为ture(vue2 element这个参数是无效的,vue3 element plus待验证) | true | |
10
10
  | cssStyle | String | 样式属性,1为通用版基础默认样式,如果是传空走默认样式 | '1' | |
11
+ | overflow | Boolean | 样式属性,1为通用版基础默认样式,如果是传空走默认样式 | true | |
@@ -37,21 +37,21 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
37
37
  readonly autofocus: boolean;
38
38
  readonly tag: string | import('vue').Component;
39
39
  readonly plain: boolean;
40
+ readonly autoInsertSpace: boolean;
40
41
  readonly nativeType: "button" | "reset" | "submit";
41
42
  readonly loadingIcon: string | import('vue').Component;
42
- readonly autoInsertSpace: boolean;
43
43
  }> & Omit<{
44
44
  readonly disabled: boolean;
45
45
  readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
46
46
  readonly link: boolean;
47
47
  readonly circle: boolean;
48
- readonly text: boolean;
49
48
  readonly nativeType: "button" | "reset" | "submit";
50
49
  readonly loading: boolean;
51
50
  readonly bg: boolean;
52
51
  readonly autofocus: boolean;
53
52
  readonly dark: boolean;
54
53
  readonly tag: string | import('vue').Component;
54
+ readonly text?: boolean | undefined;
55
55
  readonly size?: ("" | "default" | "small" | "large") | undefined;
56
56
  readonly icon?: (string | import('vue').Component) | undefined;
57
57
  readonly loadingIcon?: (string | import('vue').Component) | undefined;
@@ -122,7 +122,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
122
122
  } & {
123
123
  readonly default: undefined;
124
124
  };
125
- readonly text: BooleanConstructor;
125
+ readonly text: {
126
+ readonly type: import('vue').PropType<boolean>;
127
+ readonly required: false;
128
+ readonly validator: ((val: unknown) => boolean) | undefined;
129
+ __epPropKey: true;
130
+ } & {
131
+ readonly default: undefined;
132
+ };
126
133
  readonly link: BooleanConstructor;
127
134
  readonly bg: BooleanConstructor;
128
135
  readonly autofocus: BooleanConstructor;
@@ -176,9 +183,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
176
183
  readonly autofocus: boolean;
177
184
  readonly tag: string | import('vue').Component;
178
185
  readonly plain: boolean;
186
+ readonly autoInsertSpace: boolean;
179
187
  readonly nativeType: "button" | "reset" | "submit";
180
188
  readonly loadingIcon: string | import('vue').Component;
181
- readonly autoInsertSpace: boolean;
182
189
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
183
190
  beforeCreate?: (() => void) | (() => void)[];
184
191
  created?: (() => void) | (() => void)[];
@@ -212,9 +219,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
212
219
  readonly autofocus: boolean;
213
220
  readonly tag: string | import('vue').Component;
214
221
  readonly plain: boolean;
222
+ readonly autoInsertSpace: boolean;
215
223
  readonly nativeType: "button" | "reset" | "submit";
216
224
  readonly loadingIcon: string | import('vue').Component;
217
- readonly autoInsertSpace: boolean;
218
225
  }> & Omit<Readonly<import('vue').ExtractPropTypes<{
219
226
  readonly size: {
220
227
  readonly type: import('vue').PropType<"" | "default" | "small" | "large">;
@@ -262,7 +269,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
262
269
  } & {
263
270
  readonly default: undefined;
264
271
  };
265
- readonly text: BooleanConstructor;
272
+ readonly text: {
273
+ readonly type: import('vue').PropType<boolean>;
274
+ readonly required: false;
275
+ readonly validator: ((val: unknown) => boolean) | undefined;
276
+ __epPropKey: true;
277
+ } & {
278
+ readonly default: undefined;
279
+ };
266
280
  readonly link: BooleanConstructor;
267
281
  readonly bg: BooleanConstructor;
268
282
  readonly autofocus: BooleanConstructor;
@@ -323,21 +337,21 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
323
337
  readonly autofocus: boolean;
324
338
  readonly tag: string | import('vue').Component;
325
339
  readonly plain: boolean;
340
+ readonly autoInsertSpace: boolean;
326
341
  readonly nativeType: "button" | "reset" | "submit";
327
342
  readonly loadingIcon: string | import('vue').Component;
328
- readonly autoInsertSpace: boolean;
329
343
  }> & Omit<{
330
344
  readonly disabled: boolean;
331
345
  readonly type: "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger";
332
346
  readonly link: boolean;
333
347
  readonly circle: boolean;
334
- readonly text: boolean;
335
348
  readonly nativeType: "button" | "reset" | "submit";
336
349
  readonly loading: boolean;
337
350
  readonly bg: boolean;
338
351
  readonly autofocus: boolean;
339
352
  readonly dark: boolean;
340
353
  readonly tag: string | import('vue').Component;
354
+ readonly text?: boolean | undefined;
341
355
  readonly size?: ("" | "default" | "small" | "large") | undefined;
342
356
  readonly icon?: (string | import('vue').Component) | undefined;
343
357
  readonly loadingIcon?: (string | import('vue').Component) | undefined;
@@ -408,7 +422,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
408
422
  } & {
409
423
  readonly default: undefined;
410
424
  };
411
- readonly text: BooleanConstructor;
425
+ readonly text: {
426
+ readonly type: import('vue').PropType<boolean>;
427
+ readonly required: false;
428
+ readonly validator: ((val: unknown) => boolean) | undefined;
429
+ __epPropKey: true;
430
+ } & {
431
+ readonly default: undefined;
432
+ };
412
433
  readonly link: BooleanConstructor;
413
434
  readonly bg: BooleanConstructor;
414
435
  readonly autofocus: BooleanConstructor;
@@ -462,9 +483,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
462
483
  readonly autofocus: boolean;
463
484
  readonly tag: string | import('vue').Component;
464
485
  readonly plain: boolean;
486
+ readonly autoInsertSpace: boolean;
465
487
  readonly nativeType: "button" | "reset" | "submit";
466
488
  readonly loadingIcon: string | import('vue').Component;
467
- readonly autoInsertSpace: boolean;
468
489
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
469
490
  beforeCreate?: (() => void) | (() => void)[];
470
491
  created?: (() => void) | (() => void)[];
@@ -498,9 +519,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
498
519
  readonly autofocus: boolean;
499
520
  readonly tag: string | import('vue').Component;
500
521
  readonly plain: boolean;
522
+ readonly autoInsertSpace: boolean;
501
523
  readonly nativeType: "button" | "reset" | "submit";
502
524
  readonly loadingIcon: string | import('vue').Component;
503
- readonly autoInsertSpace: boolean;
504
525
  }> & Omit<Readonly<import('vue').ExtractPropTypes<{
505
526
  readonly size: {
506
527
  readonly type: import('vue').PropType<"" | "default" | "small" | "large">;
@@ -548,7 +569,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
548
569
  } & {
549
570
  readonly default: undefined;
550
571
  };
551
- readonly text: BooleanConstructor;
572
+ readonly text: {
573
+ readonly type: import('vue').PropType<boolean>;
574
+ readonly required: false;
575
+ readonly validator: ((val: unknown) => boolean) | undefined;
576
+ __epPropKey: true;
577
+ } & {
578
+ readonly default: undefined;
579
+ };
552
580
  readonly link: BooleanConstructor;
553
581
  readonly bg: BooleanConstructor;
554
582
  readonly autofocus: BooleanConstructor;
@@ -30,11 +30,21 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
30
30
  $data: {};
31
31
  $props: Partial<{
32
32
  readonly disabled: boolean;
33
+ readonly props: {
34
+ value?: string;
35
+ label?: string;
36
+ disabled?: string;
37
+ };
33
38
  readonly modelValue: import('element-plus').CheckboxGroupValueType;
34
39
  readonly validateEvent: boolean;
35
40
  readonly tag: string;
36
41
  }> & Omit<{
37
42
  readonly disabled: boolean;
43
+ readonly props: {
44
+ value?: string;
45
+ label?: string;
46
+ disabled?: string;
47
+ };
38
48
  readonly tag: string;
39
49
  readonly modelValue: import('element-plus').CheckboxGroupValueType;
40
50
  readonly validateEvent: boolean;
@@ -44,9 +54,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
44
54
  readonly min?: number | undefined;
45
55
  readonly max?: number | undefined;
46
56
  readonly textColor?: string | undefined;
57
+ readonly options?: import('element-plus').CheckboxOption[] | undefined;
47
58
  "onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined | undefined;
48
59
  onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined | undefined;
49
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "tag" | "modelValue" | "validateEvent">;
60
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "props" | "tag" | "modelValue" | "validateEvent">;
50
61
  $attrs: {
51
62
  [x: string]: unknown;
52
63
  };
@@ -98,6 +109,28 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
98
109
  } & {
99
110
  readonly default: true;
100
111
  };
112
+ readonly options: {
113
+ readonly type: PropType<import('element-plus').CheckboxOption[]>;
114
+ readonly required: false;
115
+ readonly validator: ((val: unknown) => boolean) | undefined;
116
+ __epPropKey: true;
117
+ };
118
+ readonly props: {
119
+ readonly type: PropType<{
120
+ value?: string;
121
+ label?: string;
122
+ disabled?: string;
123
+ }>;
124
+ readonly required: false;
125
+ readonly validator: ((val: unknown) => boolean) | undefined;
126
+ __epPropKey: true;
127
+ } & {
128
+ readonly default: () => Required<{
129
+ value?: string;
130
+ label?: string;
131
+ disabled?: string;
132
+ }>;
133
+ };
101
134
  }>> & {
102
135
  "onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined;
103
136
  onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined;
@@ -106,6 +139,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
106
139
  change: (val: import('element-plus').CheckboxValueType[]) => void;
107
140
  }, string, {
108
141
  readonly disabled: boolean;
142
+ readonly props: {
143
+ value?: string;
144
+ label?: string;
145
+ disabled?: string;
146
+ };
109
147
  readonly modelValue: import('element-plus').CheckboxGroupValueType;
110
148
  readonly validateEvent: boolean;
111
149
  readonly tag: string;
@@ -131,6 +169,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
131
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;
132
170
  } & Readonly<{
133
171
  readonly disabled: boolean;
172
+ readonly props: {
173
+ value?: string;
174
+ label?: string;
175
+ disabled?: string;
176
+ };
134
177
  readonly modelValue: import('element-plus').CheckboxGroupValueType;
135
178
  readonly validateEvent: boolean;
136
179
  readonly tag: string;
@@ -171,10 +214,32 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
171
214
  } & {
172
215
  readonly default: true;
173
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
+ };
174
239
  }>> & {
175
240
  "onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined;
176
241
  onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined;
177
- }, "disabled" | "tag" | "modelValue" | "validateEvent"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
242
+ }, "disabled" | "props" | "tag" | "modelValue" | "validateEvent"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
178
243
  $slots: {
179
244
  default?(_: {}): any;
180
245
  };
@@ -183,11 +248,21 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
183
248
  $data: {};
184
249
  $props: Partial<{
185
250
  readonly disabled: boolean;
251
+ readonly props: {
252
+ value?: string;
253
+ label?: string;
254
+ disabled?: string;
255
+ };
186
256
  readonly modelValue: import('element-plus').CheckboxGroupValueType;
187
257
  readonly validateEvent: boolean;
188
258
  readonly tag: string;
189
259
  }> & Omit<{
190
260
  readonly disabled: boolean;
261
+ readonly props: {
262
+ value?: string;
263
+ label?: string;
264
+ disabled?: string;
265
+ };
191
266
  readonly tag: string;
192
267
  readonly modelValue: import('element-plus').CheckboxGroupValueType;
193
268
  readonly validateEvent: boolean;
@@ -197,9 +272,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
197
272
  readonly min?: number | undefined;
198
273
  readonly max?: number | undefined;
199
274
  readonly textColor?: string | undefined;
275
+ readonly options?: import('element-plus').CheckboxOption[] | undefined;
200
276
  "onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined | undefined;
201
277
  onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined | undefined;
202
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "tag" | "modelValue" | "validateEvent">;
278
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "disabled" | "props" | "tag" | "modelValue" | "validateEvent">;
203
279
  $attrs: {
204
280
  [x: string]: unknown;
205
281
  };
@@ -251,6 +327,28 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
251
327
  } & {
252
328
  readonly default: true;
253
329
  };
330
+ readonly options: {
331
+ readonly type: PropType<import('element-plus').CheckboxOption[]>;
332
+ readonly required: false;
333
+ readonly validator: ((val: unknown) => boolean) | undefined;
334
+ __epPropKey: true;
335
+ };
336
+ readonly props: {
337
+ readonly type: PropType<{
338
+ value?: string;
339
+ label?: string;
340
+ disabled?: string;
341
+ }>;
342
+ readonly required: false;
343
+ readonly validator: ((val: unknown) => boolean) | undefined;
344
+ __epPropKey: true;
345
+ } & {
346
+ readonly default: () => Required<{
347
+ value?: string;
348
+ label?: string;
349
+ disabled?: string;
350
+ }>;
351
+ };
254
352
  }>> & {
255
353
  "onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined;
256
354
  onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined;
@@ -259,6 +357,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
259
357
  change: (val: import('element-plus').CheckboxValueType[]) => void;
260
358
  }, string, {
261
359
  readonly disabled: boolean;
360
+ readonly props: {
361
+ value?: string;
362
+ label?: string;
363
+ disabled?: string;
364
+ };
262
365
  readonly modelValue: import('element-plus').CheckboxGroupValueType;
263
366
  readonly validateEvent: boolean;
264
367
  readonly tag: string;
@@ -284,6 +387,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
284
387
  $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
388
  } & Readonly<{
286
389
  readonly disabled: boolean;
390
+ readonly props: {
391
+ value?: string;
392
+ label?: string;
393
+ disabled?: string;
394
+ };
287
395
  readonly modelValue: import('element-plus').CheckboxGroupValueType;
288
396
  readonly validateEvent: boolean;
289
397
  readonly tag: string;
@@ -324,10 +432,32 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
324
432
  } & {
325
433
  readonly default: true;
326
434
  };
435
+ readonly options: {
436
+ readonly type: PropType<import('element-plus').CheckboxOption[]>;
437
+ readonly required: false;
438
+ readonly validator: ((val: unknown) => boolean) | undefined;
439
+ __epPropKey: true;
440
+ };
441
+ readonly props: {
442
+ readonly type: PropType<{
443
+ value?: string;
444
+ label?: string;
445
+ disabled?: string;
446
+ }>;
447
+ readonly required: false;
448
+ readonly validator: ((val: unknown) => boolean) | undefined;
449
+ __epPropKey: true;
450
+ } & {
451
+ readonly default: () => Required<{
452
+ value?: string;
453
+ label?: string;
454
+ disabled?: string;
455
+ }>;
456
+ };
327
457
  }>> & {
328
458
  "onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined;
329
459
  onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined;
330
- }, "disabled" | "tag" | "modelValue" | "validateEvent"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
460
+ }, "disabled" | "props" | "tag" | "modelValue" | "validateEvent"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
331
461
  $slots: {
332
462
  default?(_: {}): any;
333
463
  };