@vtj/ui 0.12.16 → 0.12.18
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/dist/index.mjs +2 -2
- package/dist/index.umd.js +2 -2
- package/package.json +3 -3
- package/types/components/action/Action.d.ts +732 -104
- package/types/components/action/hooks.d.ts +122 -19
- package/types/components/action-bar/ActionBar.d.ts +488 -70
- package/types/components/attachment/Attachment.d.ts +743 -434
- package/types/components/data-item/DataItem.d.ts +488 -70
- package/types/components/dialog-form/DialogForm.d.ts +2536 -101
- package/types/components/field/Field.d.ts +224 -86
- package/types/components/form/Form.d.ts +2536 -101
- package/types/components/grid/renderers/components/DateEdit.d.ts +291 -69
- package/types/components/grid/renderers/components/GridEdit.d.ts +191 -65
- package/types/components/grid/renderers/components/PickerEdit.d.ts +367 -117
- package/types/components/grid-editor/GridEditor.d.ts +191 -65
- package/types/components/mask/Mask.d.ts +488 -70
- package/types/components/picker/Picker.d.ts +367 -117
- package/types/components/query-form/QueryForm.d.ts +5070 -199
- package/types/components/tabs/Tabs.d.ts +244 -36
- package/types/version.d.ts +2 -2
@@ -1,9 +1,7 @@
|
|
1
1
|
import { ComputedRef, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, Ref, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, VNode, PublicProps, RendererNode, RendererElement } from 'vue';
|
2
2
|
import { FieldEditorProps, FieldOption, FieldOptionsLoader } from './types';
|
3
3
|
import { BaseSize } from '../../';
|
4
|
-
import { EpPropMergeType, EpPropFinalized } from 'element-plus/es/utils/index.mjs';
|
5
4
|
import { FormItemProp, FormItemRule, FormValidateCallback, FormValidationResult, ElTooltipProps } from 'element-plus';
|
6
|
-
import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
|
7
5
|
import { OnCleanup } from '@vue/reactivity';
|
8
6
|
import { BuiltinFieldEditorType } from './builtin';
|
9
7
|
declare function __VLS_template(): {
|
@@ -27,23 +25,23 @@ declare function __VLS_template(): {
|
|
27
25
|
$: ComponentInternalInstance;
|
28
26
|
$data: {};
|
29
27
|
$props: Partial<{
|
30
|
-
readonly required:
|
31
|
-
readonly labelWidth:
|
32
|
-
readonly labelPosition:
|
33
|
-
readonly inlineMessage:
|
34
|
-
readonly showMessage:
|
28
|
+
readonly required: boolean;
|
29
|
+
readonly labelWidth: string | number;
|
30
|
+
readonly labelPosition: "" | "top" | "left" | "right";
|
31
|
+
readonly inlineMessage: string | boolean;
|
32
|
+
readonly showMessage: boolean;
|
35
33
|
}> & Omit<{
|
36
|
-
readonly labelWidth:
|
37
|
-
readonly labelPosition:
|
38
|
-
readonly inlineMessage:
|
39
|
-
readonly showMessage:
|
40
|
-
readonly size?:
|
41
|
-
readonly required?:
|
34
|
+
readonly labelWidth: string | number;
|
35
|
+
readonly labelPosition: "" | "top" | "left" | "right";
|
36
|
+
readonly inlineMessage: string | boolean;
|
37
|
+
readonly showMessage: boolean;
|
38
|
+
readonly size?: ("" | "large" | "default" | "small") | undefined;
|
39
|
+
readonly required?: boolean | undefined;
|
42
40
|
readonly label?: string | undefined;
|
43
41
|
readonly error?: string | undefined;
|
44
|
-
readonly prop?:
|
45
|
-
readonly rules?:
|
46
|
-
readonly validateStatus?:
|
42
|
+
readonly prop?: FormItemProp | undefined;
|
43
|
+
readonly rules?: ( FormItemRule | FormItemRule[]) | undefined;
|
44
|
+
readonly validateStatus?: ("" | "success" | "error" | "validating") | undefined;
|
47
45
|
readonly for?: string | undefined;
|
48
46
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "required" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage">;
|
49
47
|
$attrs: {
|
@@ -62,33 +60,68 @@ declare function __VLS_template(): {
|
|
62
60
|
$el: any;
|
63
61
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
64
62
|
readonly label: StringConstructor;
|
65
|
-
readonly labelWidth:
|
66
|
-
|
63
|
+
readonly labelWidth: {
|
64
|
+
readonly type: PropType<string | number>;
|
65
|
+
readonly required: false;
|
66
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
67
|
+
__epPropKey: true;
|
68
|
+
} & {
|
69
|
+
readonly default: "";
|
70
|
+
};
|
71
|
+
readonly labelPosition: {
|
72
|
+
readonly type: PropType<"" | "top" | "left" | "right">;
|
73
|
+
readonly required: false;
|
74
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
75
|
+
__epPropKey: true;
|
76
|
+
} & {
|
77
|
+
readonly default: "";
|
78
|
+
};
|
67
79
|
readonly prop: {
|
68
|
-
readonly type: PropType<
|
80
|
+
readonly type: PropType<FormItemProp>;
|
81
|
+
readonly required: false;
|
82
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
83
|
+
__epPropKey: true;
|
84
|
+
};
|
85
|
+
readonly required: {
|
86
|
+
readonly type: PropType<boolean>;
|
69
87
|
readonly required: false;
|
70
88
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
71
89
|
__epPropKey: true;
|
90
|
+
} & {
|
91
|
+
readonly default: undefined;
|
72
92
|
};
|
73
|
-
readonly required: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
74
93
|
readonly rules: {
|
75
|
-
readonly type: PropType<
|
94
|
+
readonly type: PropType< FormItemRule | FormItemRule[]>;
|
76
95
|
readonly required: false;
|
77
96
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
78
97
|
__epPropKey: true;
|
79
98
|
};
|
80
99
|
readonly error: StringConstructor;
|
81
100
|
readonly validateStatus: {
|
82
|
-
readonly type: PropType<
|
101
|
+
readonly type: PropType<"" | "success" | "error" | "validating">;
|
83
102
|
readonly required: false;
|
84
103
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
85
104
|
__epPropKey: true;
|
86
105
|
};
|
87
106
|
readonly for: StringConstructor;
|
88
|
-
readonly inlineMessage:
|
89
|
-
|
107
|
+
readonly inlineMessage: {
|
108
|
+
readonly type: PropType<string | boolean>;
|
109
|
+
readonly required: false;
|
110
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
111
|
+
__epPropKey: true;
|
112
|
+
} & {
|
113
|
+
readonly default: "";
|
114
|
+
};
|
115
|
+
readonly showMessage: {
|
116
|
+
readonly type: PropType<boolean>;
|
117
|
+
readonly required: false;
|
118
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
119
|
+
__epPropKey: true;
|
120
|
+
} & {
|
121
|
+
readonly default: true;
|
122
|
+
};
|
90
123
|
readonly size: {
|
91
|
-
readonly type: PropType<
|
124
|
+
readonly type: PropType<"" | "large" | "default" | "small">;
|
92
125
|
readonly required: false;
|
93
126
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
94
127
|
__epPropKey: true;
|
@@ -101,11 +134,11 @@ declare function __VLS_template(): {
|
|
101
134
|
clearValidate: () => void;
|
102
135
|
resetField: () => void;
|
103
136
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, {
|
104
|
-
readonly required:
|
105
|
-
readonly labelWidth:
|
106
|
-
readonly labelPosition:
|
107
|
-
readonly inlineMessage:
|
108
|
-
readonly showMessage:
|
137
|
+
readonly required: boolean;
|
138
|
+
readonly labelWidth: string | number;
|
139
|
+
readonly labelPosition: "" | "top" | "left" | "right";
|
140
|
+
readonly inlineMessage: string | boolean;
|
141
|
+
readonly showMessage: boolean;
|
109
142
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
110
143
|
beforeCreate?: (() => void) | (() => void)[];
|
111
144
|
created?: (() => void) | (() => void)[];
|
@@ -127,40 +160,75 @@ declare function __VLS_template(): {
|
|
127
160
|
$nextTick: nextTick;
|
128
161
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
129
162
|
} & Readonly<{
|
130
|
-
readonly required:
|
131
|
-
readonly labelWidth:
|
132
|
-
readonly labelPosition:
|
133
|
-
readonly inlineMessage:
|
134
|
-
readonly showMessage:
|
163
|
+
readonly required: boolean;
|
164
|
+
readonly labelWidth: string | number;
|
165
|
+
readonly labelPosition: "" | "top" | "left" | "right";
|
166
|
+
readonly inlineMessage: string | boolean;
|
167
|
+
readonly showMessage: boolean;
|
135
168
|
}> & Omit<Readonly< ExtractPropTypes<{
|
136
169
|
readonly label: StringConstructor;
|
137
|
-
readonly labelWidth:
|
138
|
-
|
170
|
+
readonly labelWidth: {
|
171
|
+
readonly type: PropType<string | number>;
|
172
|
+
readonly required: false;
|
173
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
174
|
+
__epPropKey: true;
|
175
|
+
} & {
|
176
|
+
readonly default: "";
|
177
|
+
};
|
178
|
+
readonly labelPosition: {
|
179
|
+
readonly type: PropType<"" | "top" | "left" | "right">;
|
180
|
+
readonly required: false;
|
181
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
182
|
+
__epPropKey: true;
|
183
|
+
} & {
|
184
|
+
readonly default: "";
|
185
|
+
};
|
139
186
|
readonly prop: {
|
140
|
-
readonly type: PropType<
|
187
|
+
readonly type: PropType<FormItemProp>;
|
188
|
+
readonly required: false;
|
189
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
190
|
+
__epPropKey: true;
|
191
|
+
};
|
192
|
+
readonly required: {
|
193
|
+
readonly type: PropType<boolean>;
|
141
194
|
readonly required: false;
|
142
195
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
143
196
|
__epPropKey: true;
|
197
|
+
} & {
|
198
|
+
readonly default: undefined;
|
144
199
|
};
|
145
|
-
readonly required: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
146
200
|
readonly rules: {
|
147
|
-
readonly type: PropType<
|
201
|
+
readonly type: PropType< FormItemRule | FormItemRule[]>;
|
148
202
|
readonly required: false;
|
149
203
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
150
204
|
__epPropKey: true;
|
151
205
|
};
|
152
206
|
readonly error: StringConstructor;
|
153
207
|
readonly validateStatus: {
|
154
|
-
readonly type: PropType<
|
208
|
+
readonly type: PropType<"" | "success" | "error" | "validating">;
|
155
209
|
readonly required: false;
|
156
210
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
157
211
|
__epPropKey: true;
|
158
212
|
};
|
159
213
|
readonly for: StringConstructor;
|
160
|
-
readonly inlineMessage:
|
161
|
-
|
214
|
+
readonly inlineMessage: {
|
215
|
+
readonly type: PropType<string | boolean>;
|
216
|
+
readonly required: false;
|
217
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
218
|
+
__epPropKey: true;
|
219
|
+
} & {
|
220
|
+
readonly default: "";
|
221
|
+
};
|
222
|
+
readonly showMessage: {
|
223
|
+
readonly type: PropType<boolean>;
|
224
|
+
readonly required: false;
|
225
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
226
|
+
__epPropKey: true;
|
227
|
+
} & {
|
228
|
+
readonly default: true;
|
229
|
+
};
|
162
230
|
readonly size: {
|
163
|
-
readonly type: PropType<
|
231
|
+
readonly type: PropType<"" | "large" | "default" | "small">;
|
164
232
|
readonly required: false;
|
165
233
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
166
234
|
__epPropKey: true;
|
@@ -354,23 +422,23 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
354
422
|
$: ComponentInternalInstance;
|
355
423
|
$data: {};
|
356
424
|
$props: Partial<{
|
357
|
-
readonly required:
|
358
|
-
readonly labelWidth:
|
359
|
-
readonly labelPosition:
|
360
|
-
readonly inlineMessage:
|
361
|
-
readonly showMessage:
|
425
|
+
readonly required: boolean;
|
426
|
+
readonly labelWidth: string | number;
|
427
|
+
readonly labelPosition: "" | "top" | "left" | "right";
|
428
|
+
readonly inlineMessage: string | boolean;
|
429
|
+
readonly showMessage: boolean;
|
362
430
|
}> & Omit<{
|
363
|
-
readonly labelWidth:
|
364
|
-
readonly labelPosition:
|
365
|
-
readonly inlineMessage:
|
366
|
-
readonly showMessage:
|
367
|
-
readonly size?:
|
368
|
-
readonly required?:
|
431
|
+
readonly labelWidth: string | number;
|
432
|
+
readonly labelPosition: "" | "top" | "left" | "right";
|
433
|
+
readonly inlineMessage: string | boolean;
|
434
|
+
readonly showMessage: boolean;
|
435
|
+
readonly size?: ("" | "large" | "default" | "small") | undefined;
|
436
|
+
readonly required?: boolean | undefined;
|
369
437
|
readonly label?: string | undefined;
|
370
438
|
readonly error?: string | undefined;
|
371
|
-
readonly prop?:
|
372
|
-
readonly rules?:
|
373
|
-
readonly validateStatus?:
|
439
|
+
readonly prop?: FormItemProp | undefined;
|
440
|
+
readonly rules?: ( FormItemRule | FormItemRule[]) | undefined;
|
441
|
+
readonly validateStatus?: ("" | "success" | "error" | "validating") | undefined;
|
374
442
|
readonly for?: string | undefined;
|
375
443
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "required" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage">;
|
376
444
|
$attrs: {
|
@@ -389,33 +457,68 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
389
457
|
$el: any;
|
390
458
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
391
459
|
readonly label: StringConstructor;
|
392
|
-
readonly labelWidth:
|
393
|
-
|
460
|
+
readonly labelWidth: {
|
461
|
+
readonly type: PropType<string | number>;
|
462
|
+
readonly required: false;
|
463
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
464
|
+
__epPropKey: true;
|
465
|
+
} & {
|
466
|
+
readonly default: "";
|
467
|
+
};
|
468
|
+
readonly labelPosition: {
|
469
|
+
readonly type: PropType<"" | "top" | "left" | "right">;
|
470
|
+
readonly required: false;
|
471
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
472
|
+
__epPropKey: true;
|
473
|
+
} & {
|
474
|
+
readonly default: "";
|
475
|
+
};
|
394
476
|
readonly prop: {
|
395
|
-
readonly type: PropType<
|
477
|
+
readonly type: PropType<FormItemProp>;
|
478
|
+
readonly required: false;
|
479
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
480
|
+
__epPropKey: true;
|
481
|
+
};
|
482
|
+
readonly required: {
|
483
|
+
readonly type: PropType<boolean>;
|
396
484
|
readonly required: false;
|
397
485
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
398
486
|
__epPropKey: true;
|
487
|
+
} & {
|
488
|
+
readonly default: undefined;
|
399
489
|
};
|
400
|
-
readonly required: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
401
490
|
readonly rules: {
|
402
|
-
readonly type: PropType<
|
491
|
+
readonly type: PropType< FormItemRule | FormItemRule[]>;
|
403
492
|
readonly required: false;
|
404
493
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
405
494
|
__epPropKey: true;
|
406
495
|
};
|
407
496
|
readonly error: StringConstructor;
|
408
497
|
readonly validateStatus: {
|
409
|
-
readonly type: PropType<
|
498
|
+
readonly type: PropType<"" | "success" | "error" | "validating">;
|
410
499
|
readonly required: false;
|
411
500
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
412
501
|
__epPropKey: true;
|
413
502
|
};
|
414
503
|
readonly for: StringConstructor;
|
415
|
-
readonly inlineMessage:
|
416
|
-
|
504
|
+
readonly inlineMessage: {
|
505
|
+
readonly type: PropType<string | boolean>;
|
506
|
+
readonly required: false;
|
507
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
508
|
+
__epPropKey: true;
|
509
|
+
} & {
|
510
|
+
readonly default: "";
|
511
|
+
};
|
512
|
+
readonly showMessage: {
|
513
|
+
readonly type: PropType<boolean>;
|
514
|
+
readonly required: false;
|
515
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
516
|
+
__epPropKey: true;
|
517
|
+
} & {
|
518
|
+
readonly default: true;
|
519
|
+
};
|
417
520
|
readonly size: {
|
418
|
-
readonly type: PropType<
|
521
|
+
readonly type: PropType<"" | "large" | "default" | "small">;
|
419
522
|
readonly required: false;
|
420
523
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
421
524
|
__epPropKey: true;
|
@@ -428,11 +531,11 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
428
531
|
clearValidate: () => void;
|
429
532
|
resetField: () => void;
|
430
533
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, {
|
431
|
-
readonly required:
|
432
|
-
readonly labelWidth:
|
433
|
-
readonly labelPosition:
|
434
|
-
readonly inlineMessage:
|
435
|
-
readonly showMessage:
|
534
|
+
readonly required: boolean;
|
535
|
+
readonly labelWidth: string | number;
|
536
|
+
readonly labelPosition: "" | "top" | "left" | "right";
|
537
|
+
readonly inlineMessage: string | boolean;
|
538
|
+
readonly showMessage: boolean;
|
436
539
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
437
540
|
beforeCreate?: (() => void) | (() => void)[];
|
438
541
|
created?: (() => void) | (() => void)[];
|
@@ -454,40 +557,75 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
454
557
|
$nextTick: nextTick;
|
455
558
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
456
559
|
} & Readonly<{
|
457
|
-
readonly required:
|
458
|
-
readonly labelWidth:
|
459
|
-
readonly labelPosition:
|
460
|
-
readonly inlineMessage:
|
461
|
-
readonly showMessage:
|
560
|
+
readonly required: boolean;
|
561
|
+
readonly labelWidth: string | number;
|
562
|
+
readonly labelPosition: "" | "top" | "left" | "right";
|
563
|
+
readonly inlineMessage: string | boolean;
|
564
|
+
readonly showMessage: boolean;
|
462
565
|
}> & Omit<Readonly< ExtractPropTypes<{
|
463
566
|
readonly label: StringConstructor;
|
464
|
-
readonly labelWidth:
|
465
|
-
|
567
|
+
readonly labelWidth: {
|
568
|
+
readonly type: PropType<string | number>;
|
569
|
+
readonly required: false;
|
570
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
571
|
+
__epPropKey: true;
|
572
|
+
} & {
|
573
|
+
readonly default: "";
|
574
|
+
};
|
575
|
+
readonly labelPosition: {
|
576
|
+
readonly type: PropType<"" | "top" | "left" | "right">;
|
577
|
+
readonly required: false;
|
578
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
579
|
+
__epPropKey: true;
|
580
|
+
} & {
|
581
|
+
readonly default: "";
|
582
|
+
};
|
466
583
|
readonly prop: {
|
467
|
-
readonly type: PropType<
|
584
|
+
readonly type: PropType<FormItemProp>;
|
585
|
+
readonly required: false;
|
586
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
587
|
+
__epPropKey: true;
|
588
|
+
};
|
589
|
+
readonly required: {
|
590
|
+
readonly type: PropType<boolean>;
|
468
591
|
readonly required: false;
|
469
592
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
470
593
|
__epPropKey: true;
|
594
|
+
} & {
|
595
|
+
readonly default: undefined;
|
471
596
|
};
|
472
|
-
readonly required: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
473
597
|
readonly rules: {
|
474
|
-
readonly type: PropType<
|
598
|
+
readonly type: PropType< FormItemRule | FormItemRule[]>;
|
475
599
|
readonly required: false;
|
476
600
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
477
601
|
__epPropKey: true;
|
478
602
|
};
|
479
603
|
readonly error: StringConstructor;
|
480
604
|
readonly validateStatus: {
|
481
|
-
readonly type: PropType<
|
605
|
+
readonly type: PropType<"" | "success" | "error" | "validating">;
|
482
606
|
readonly required: false;
|
483
607
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
484
608
|
__epPropKey: true;
|
485
609
|
};
|
486
610
|
readonly for: StringConstructor;
|
487
|
-
readonly inlineMessage:
|
488
|
-
|
611
|
+
readonly inlineMessage: {
|
612
|
+
readonly type: PropType<string | boolean>;
|
613
|
+
readonly required: false;
|
614
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
615
|
+
__epPropKey: true;
|
616
|
+
} & {
|
617
|
+
readonly default: "";
|
618
|
+
};
|
619
|
+
readonly showMessage: {
|
620
|
+
readonly type: PropType<boolean>;
|
621
|
+
readonly required: false;
|
622
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
623
|
+
__epPropKey: true;
|
624
|
+
} & {
|
625
|
+
readonly default: true;
|
626
|
+
};
|
489
627
|
readonly size: {
|
490
|
-
readonly type: PropType<
|
628
|
+
readonly type: PropType<"" | "large" | "default" | "small">;
|
491
629
|
readonly required: false;
|
492
630
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
493
631
|
__epPropKey: true;
|