@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
@@ -4,8 +4,6 @@ import { IconParam } from '../icon';
|
|
4
4
|
import { ActionBarItems } from '../action-bar';
|
5
5
|
import { ActionMode } from '../action';
|
6
6
|
import { ElTooltipProps, BadgeProps, TooltipTriggerType, PopperEffect, ButtonProps } from 'element-plus';
|
7
|
-
import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils/index.mjs';
|
8
|
-
import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
|
9
7
|
import { BaseSize, BaseType } from '../shared';
|
10
8
|
declare function __VLS_template(): {
|
11
9
|
attrs: Partial<{}>;
|
@@ -96,43 +94,148 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
96
94
|
};
|
97
95
|
dropdown: {
|
98
96
|
type: PropType<Partial< ExtractPropTypes<{
|
99
|
-
readonly trigger:
|
100
|
-
|
97
|
+
readonly trigger: {
|
98
|
+
readonly type: PropType< TooltipTriggerType | TooltipTriggerType[]>;
|
99
|
+
readonly required: false;
|
100
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
101
|
+
__epPropKey: true;
|
102
|
+
} & {
|
103
|
+
readonly default: "hover";
|
104
|
+
};
|
105
|
+
readonly triggerKeys: {
|
106
|
+
readonly type: PropType<string[]>;
|
107
|
+
readonly required: false;
|
108
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
109
|
+
__epPropKey: true;
|
110
|
+
} & {
|
111
|
+
readonly default: () => string[];
|
112
|
+
};
|
101
113
|
readonly effect: {
|
102
114
|
readonly default: "light";
|
103
|
-
readonly type: PropType<
|
115
|
+
readonly type: PropType<PopperEffect>;
|
104
116
|
readonly required: false;
|
105
117
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
106
118
|
readonly __epPropKey: true;
|
107
119
|
};
|
108
120
|
readonly type: {
|
109
|
-
readonly type: PropType<
|
121
|
+
readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
|
122
|
+
readonly required: false;
|
123
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
124
|
+
__epPropKey: true;
|
125
|
+
};
|
126
|
+
readonly placement: {
|
127
|
+
readonly type: PropType<any>;
|
128
|
+
readonly required: false;
|
129
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
130
|
+
__epPropKey: true;
|
131
|
+
} & {
|
132
|
+
readonly default: "bottom";
|
133
|
+
};
|
134
|
+
readonly popperOptions: {
|
135
|
+
readonly type: PropType<any>;
|
110
136
|
readonly required: false;
|
111
137
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
112
138
|
__epPropKey: true;
|
139
|
+
} & {
|
140
|
+
readonly default: () => {};
|
113
141
|
};
|
114
|
-
readonly placement: EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], unknown, unknown, "bottom", boolean>;
|
115
|
-
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
|
116
142
|
readonly id: StringConstructor;
|
117
|
-
readonly size:
|
143
|
+
readonly size: {
|
144
|
+
readonly type: PropType<string>;
|
145
|
+
readonly required: false;
|
146
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
147
|
+
__epPropKey: true;
|
148
|
+
} & {
|
149
|
+
readonly default: "";
|
150
|
+
};
|
118
151
|
readonly splitButton: BooleanConstructor;
|
119
|
-
readonly hideOnClick:
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
152
|
+
readonly hideOnClick: {
|
153
|
+
readonly type: PropType<boolean>;
|
154
|
+
readonly required: false;
|
155
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
156
|
+
__epPropKey: true;
|
157
|
+
} & {
|
158
|
+
readonly default: true;
|
159
|
+
};
|
160
|
+
readonly loop: {
|
161
|
+
readonly type: PropType<boolean>;
|
162
|
+
readonly required: false;
|
163
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
164
|
+
__epPropKey: true;
|
165
|
+
} & {
|
166
|
+
readonly default: true;
|
167
|
+
};
|
168
|
+
readonly showTimeout: {
|
169
|
+
readonly type: PropType<number>;
|
170
|
+
readonly required: false;
|
171
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
172
|
+
__epPropKey: true;
|
173
|
+
} & {
|
174
|
+
readonly default: 150;
|
175
|
+
};
|
176
|
+
readonly hideTimeout: {
|
177
|
+
readonly type: PropType<number>;
|
178
|
+
readonly required: false;
|
179
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
180
|
+
__epPropKey: true;
|
181
|
+
} & {
|
182
|
+
readonly default: 150;
|
183
|
+
};
|
184
|
+
readonly tabindex: {
|
185
|
+
readonly type: PropType<string | number>;
|
186
|
+
readonly required: false;
|
187
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
188
|
+
__epPropKey: true;
|
189
|
+
} & {
|
190
|
+
readonly default: 0;
|
191
|
+
};
|
192
|
+
readonly maxHeight: {
|
193
|
+
readonly type: PropType<string | number>;
|
194
|
+
readonly required: false;
|
195
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
196
|
+
__epPropKey: true;
|
197
|
+
} & {
|
198
|
+
readonly default: "";
|
199
|
+
};
|
200
|
+
readonly popperClass: {
|
201
|
+
readonly type: PropType<string>;
|
202
|
+
readonly required: false;
|
203
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
204
|
+
__epPropKey: true;
|
205
|
+
} & {
|
206
|
+
readonly default: "";
|
207
|
+
};
|
126
208
|
readonly disabled: BooleanConstructor;
|
127
|
-
readonly role:
|
209
|
+
readonly role: {
|
210
|
+
readonly type: PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation">;
|
211
|
+
readonly required: false;
|
212
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
213
|
+
__epPropKey: true;
|
214
|
+
} & {
|
215
|
+
readonly default: "menu";
|
216
|
+
};
|
128
217
|
readonly buttonProps: {
|
129
218
|
readonly type: PropType<Partial< ButtonProps>>;
|
130
219
|
readonly required: false;
|
131
220
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
132
221
|
__epPropKey: true;
|
133
222
|
};
|
134
|
-
readonly teleported:
|
135
|
-
|
223
|
+
readonly teleported: {
|
224
|
+
readonly type: PropType<boolean>;
|
225
|
+
readonly required: false;
|
226
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
227
|
+
__epPropKey: true;
|
228
|
+
} & {
|
229
|
+
readonly default: true;
|
230
|
+
};
|
231
|
+
readonly persistent: {
|
232
|
+
readonly type: PropType<boolean>;
|
233
|
+
readonly required: false;
|
234
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
235
|
+
__epPropKey: true;
|
236
|
+
} & {
|
237
|
+
readonly default: true;
|
238
|
+
};
|
136
239
|
}>>>;
|
137
240
|
};
|
138
241
|
button: {
|
@@ -187,43 +290,148 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
187
290
|
};
|
188
291
|
dropdown: {
|
189
292
|
type: PropType<Partial< ExtractPropTypes<{
|
190
|
-
readonly trigger:
|
191
|
-
|
293
|
+
readonly trigger: {
|
294
|
+
readonly type: PropType< TooltipTriggerType | TooltipTriggerType[]>;
|
295
|
+
readonly required: false;
|
296
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
297
|
+
__epPropKey: true;
|
298
|
+
} & {
|
299
|
+
readonly default: "hover";
|
300
|
+
};
|
301
|
+
readonly triggerKeys: {
|
302
|
+
readonly type: PropType<string[]>;
|
303
|
+
readonly required: false;
|
304
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
305
|
+
__epPropKey: true;
|
306
|
+
} & {
|
307
|
+
readonly default: () => string[];
|
308
|
+
};
|
192
309
|
readonly effect: {
|
193
310
|
readonly default: "light";
|
194
|
-
readonly type: PropType<
|
311
|
+
readonly type: PropType<PopperEffect>;
|
195
312
|
readonly required: false;
|
196
313
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
197
314
|
readonly __epPropKey: true;
|
198
315
|
};
|
199
316
|
readonly type: {
|
200
|
-
readonly type: PropType<
|
317
|
+
readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
|
318
|
+
readonly required: false;
|
319
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
320
|
+
__epPropKey: true;
|
321
|
+
};
|
322
|
+
readonly placement: {
|
323
|
+
readonly type: PropType<any>;
|
324
|
+
readonly required: false;
|
325
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
326
|
+
__epPropKey: true;
|
327
|
+
} & {
|
328
|
+
readonly default: "bottom";
|
329
|
+
};
|
330
|
+
readonly popperOptions: {
|
331
|
+
readonly type: PropType<any>;
|
201
332
|
readonly required: false;
|
202
333
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
203
334
|
__epPropKey: true;
|
335
|
+
} & {
|
336
|
+
readonly default: () => {};
|
204
337
|
};
|
205
|
-
readonly placement: EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], unknown, unknown, "bottom", boolean>;
|
206
|
-
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
|
207
338
|
readonly id: StringConstructor;
|
208
|
-
readonly size:
|
339
|
+
readonly size: {
|
340
|
+
readonly type: PropType<string>;
|
341
|
+
readonly required: false;
|
342
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
343
|
+
__epPropKey: true;
|
344
|
+
} & {
|
345
|
+
readonly default: "";
|
346
|
+
};
|
209
347
|
readonly splitButton: BooleanConstructor;
|
210
|
-
readonly hideOnClick:
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
348
|
+
readonly hideOnClick: {
|
349
|
+
readonly type: PropType<boolean>;
|
350
|
+
readonly required: false;
|
351
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
352
|
+
__epPropKey: true;
|
353
|
+
} & {
|
354
|
+
readonly default: true;
|
355
|
+
};
|
356
|
+
readonly loop: {
|
357
|
+
readonly type: PropType<boolean>;
|
358
|
+
readonly required: false;
|
359
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
360
|
+
__epPropKey: true;
|
361
|
+
} & {
|
362
|
+
readonly default: true;
|
363
|
+
};
|
364
|
+
readonly showTimeout: {
|
365
|
+
readonly type: PropType<number>;
|
366
|
+
readonly required: false;
|
367
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
368
|
+
__epPropKey: true;
|
369
|
+
} & {
|
370
|
+
readonly default: 150;
|
371
|
+
};
|
372
|
+
readonly hideTimeout: {
|
373
|
+
readonly type: PropType<number>;
|
374
|
+
readonly required: false;
|
375
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
376
|
+
__epPropKey: true;
|
377
|
+
} & {
|
378
|
+
readonly default: 150;
|
379
|
+
};
|
380
|
+
readonly tabindex: {
|
381
|
+
readonly type: PropType<string | number>;
|
382
|
+
readonly required: false;
|
383
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
384
|
+
__epPropKey: true;
|
385
|
+
} & {
|
386
|
+
readonly default: 0;
|
387
|
+
};
|
388
|
+
readonly maxHeight: {
|
389
|
+
readonly type: PropType<string | number>;
|
390
|
+
readonly required: false;
|
391
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
392
|
+
__epPropKey: true;
|
393
|
+
} & {
|
394
|
+
readonly default: "";
|
395
|
+
};
|
396
|
+
readonly popperClass: {
|
397
|
+
readonly type: PropType<string>;
|
398
|
+
readonly required: false;
|
399
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
400
|
+
__epPropKey: true;
|
401
|
+
} & {
|
402
|
+
readonly default: "";
|
403
|
+
};
|
217
404
|
readonly disabled: BooleanConstructor;
|
218
|
-
readonly role:
|
405
|
+
readonly role: {
|
406
|
+
readonly type: PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation">;
|
407
|
+
readonly required: false;
|
408
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
409
|
+
__epPropKey: true;
|
410
|
+
} & {
|
411
|
+
readonly default: "menu";
|
412
|
+
};
|
219
413
|
readonly buttonProps: {
|
220
414
|
readonly type: PropType<Partial< ButtonProps>>;
|
221
415
|
readonly required: false;
|
222
416
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
223
417
|
__epPropKey: true;
|
224
418
|
};
|
225
|
-
readonly teleported:
|
226
|
-
|
419
|
+
readonly teleported: {
|
420
|
+
readonly type: PropType<boolean>;
|
421
|
+
readonly required: false;
|
422
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
423
|
+
__epPropKey: true;
|
424
|
+
} & {
|
425
|
+
readonly default: true;
|
426
|
+
};
|
427
|
+
readonly persistent: {
|
428
|
+
readonly type: PropType<boolean>;
|
429
|
+
readonly required: false;
|
430
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
431
|
+
__epPropKey: true;
|
432
|
+
} & {
|
433
|
+
readonly default: true;
|
434
|
+
};
|
227
435
|
}>>>;
|
228
436
|
};
|
229
437
|
button: {
|
@@ -328,43 +536,148 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
328
536
|
};
|
329
537
|
dropdown: {
|
330
538
|
type: PropType<Partial< ExtractPropTypes<{
|
331
|
-
readonly trigger:
|
332
|
-
|
539
|
+
readonly trigger: {
|
540
|
+
readonly type: PropType< TooltipTriggerType | TooltipTriggerType[]>;
|
541
|
+
readonly required: false;
|
542
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
543
|
+
__epPropKey: true;
|
544
|
+
} & {
|
545
|
+
readonly default: "hover";
|
546
|
+
};
|
547
|
+
readonly triggerKeys: {
|
548
|
+
readonly type: PropType<string[]>;
|
549
|
+
readonly required: false;
|
550
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
551
|
+
__epPropKey: true;
|
552
|
+
} & {
|
553
|
+
readonly default: () => string[];
|
554
|
+
};
|
333
555
|
readonly effect: {
|
334
556
|
readonly default: "light";
|
335
|
-
readonly type: PropType<
|
557
|
+
readonly type: PropType<PopperEffect>;
|
336
558
|
readonly required: false;
|
337
559
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
338
560
|
readonly __epPropKey: true;
|
339
561
|
};
|
340
562
|
readonly type: {
|
341
|
-
readonly type: PropType<
|
563
|
+
readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
|
564
|
+
readonly required: false;
|
565
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
566
|
+
__epPropKey: true;
|
567
|
+
};
|
568
|
+
readonly placement: {
|
569
|
+
readonly type: PropType<any>;
|
570
|
+
readonly required: false;
|
571
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
572
|
+
__epPropKey: true;
|
573
|
+
} & {
|
574
|
+
readonly default: "bottom";
|
575
|
+
};
|
576
|
+
readonly popperOptions: {
|
577
|
+
readonly type: PropType<any>;
|
342
578
|
readonly required: false;
|
343
579
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
344
580
|
__epPropKey: true;
|
581
|
+
} & {
|
582
|
+
readonly default: () => {};
|
345
583
|
};
|
346
|
-
readonly placement: EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], unknown, unknown, "bottom", boolean>;
|
347
|
-
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
|
348
584
|
readonly id: StringConstructor;
|
349
|
-
readonly size:
|
585
|
+
readonly size: {
|
586
|
+
readonly type: PropType<string>;
|
587
|
+
readonly required: false;
|
588
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
589
|
+
__epPropKey: true;
|
590
|
+
} & {
|
591
|
+
readonly default: "";
|
592
|
+
};
|
350
593
|
readonly splitButton: BooleanConstructor;
|
351
|
-
readonly hideOnClick:
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
594
|
+
readonly hideOnClick: {
|
595
|
+
readonly type: PropType<boolean>;
|
596
|
+
readonly required: false;
|
597
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
598
|
+
__epPropKey: true;
|
599
|
+
} & {
|
600
|
+
readonly default: true;
|
601
|
+
};
|
602
|
+
readonly loop: {
|
603
|
+
readonly type: PropType<boolean>;
|
604
|
+
readonly required: false;
|
605
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
606
|
+
__epPropKey: true;
|
607
|
+
} & {
|
608
|
+
readonly default: true;
|
609
|
+
};
|
610
|
+
readonly showTimeout: {
|
611
|
+
readonly type: PropType<number>;
|
612
|
+
readonly required: false;
|
613
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
614
|
+
__epPropKey: true;
|
615
|
+
} & {
|
616
|
+
readonly default: 150;
|
617
|
+
};
|
618
|
+
readonly hideTimeout: {
|
619
|
+
readonly type: PropType<number>;
|
620
|
+
readonly required: false;
|
621
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
622
|
+
__epPropKey: true;
|
623
|
+
} & {
|
624
|
+
readonly default: 150;
|
625
|
+
};
|
626
|
+
readonly tabindex: {
|
627
|
+
readonly type: PropType<string | number>;
|
628
|
+
readonly required: false;
|
629
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
630
|
+
__epPropKey: true;
|
631
|
+
} & {
|
632
|
+
readonly default: 0;
|
633
|
+
};
|
634
|
+
readonly maxHeight: {
|
635
|
+
readonly type: PropType<string | number>;
|
636
|
+
readonly required: false;
|
637
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
638
|
+
__epPropKey: true;
|
639
|
+
} & {
|
640
|
+
readonly default: "";
|
641
|
+
};
|
642
|
+
readonly popperClass: {
|
643
|
+
readonly type: PropType<string>;
|
644
|
+
readonly required: false;
|
645
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
646
|
+
__epPropKey: true;
|
647
|
+
} & {
|
648
|
+
readonly default: "";
|
649
|
+
};
|
358
650
|
readonly disabled: BooleanConstructor;
|
359
|
-
readonly role:
|
651
|
+
readonly role: {
|
652
|
+
readonly type: PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation">;
|
653
|
+
readonly required: false;
|
654
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
655
|
+
__epPropKey: true;
|
656
|
+
} & {
|
657
|
+
readonly default: "menu";
|
658
|
+
};
|
360
659
|
readonly buttonProps: {
|
361
660
|
readonly type: PropType<Partial< ButtonProps>>;
|
362
661
|
readonly required: false;
|
363
662
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
364
663
|
__epPropKey: true;
|
365
664
|
};
|
366
|
-
readonly teleported:
|
367
|
-
|
665
|
+
readonly teleported: {
|
666
|
+
readonly type: PropType<boolean>;
|
667
|
+
readonly required: false;
|
668
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
669
|
+
__epPropKey: true;
|
670
|
+
} & {
|
671
|
+
readonly default: true;
|
672
|
+
};
|
673
|
+
readonly persistent: {
|
674
|
+
readonly type: PropType<boolean>;
|
675
|
+
readonly required: false;
|
676
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
677
|
+
__epPropKey: true;
|
678
|
+
} & {
|
679
|
+
readonly default: true;
|
680
|
+
};
|
368
681
|
}>>>;
|
369
682
|
};
|
370
683
|
button: {
|
@@ -419,43 +732,148 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
419
732
|
};
|
420
733
|
dropdown: {
|
421
734
|
type: PropType<Partial< ExtractPropTypes<{
|
422
|
-
readonly trigger:
|
423
|
-
|
735
|
+
readonly trigger: {
|
736
|
+
readonly type: PropType< TooltipTriggerType | TooltipTriggerType[]>;
|
737
|
+
readonly required: false;
|
738
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
739
|
+
__epPropKey: true;
|
740
|
+
} & {
|
741
|
+
readonly default: "hover";
|
742
|
+
};
|
743
|
+
readonly triggerKeys: {
|
744
|
+
readonly type: PropType<string[]>;
|
745
|
+
readonly required: false;
|
746
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
747
|
+
__epPropKey: true;
|
748
|
+
} & {
|
749
|
+
readonly default: () => string[];
|
750
|
+
};
|
424
751
|
readonly effect: {
|
425
752
|
readonly default: "light";
|
426
|
-
readonly type: PropType<
|
753
|
+
readonly type: PropType<PopperEffect>;
|
427
754
|
readonly required: false;
|
428
755
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
429
756
|
readonly __epPropKey: true;
|
430
757
|
};
|
431
758
|
readonly type: {
|
432
|
-
readonly type: PropType<
|
759
|
+
readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
|
760
|
+
readonly required: false;
|
761
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
762
|
+
__epPropKey: true;
|
763
|
+
};
|
764
|
+
readonly placement: {
|
765
|
+
readonly type: PropType<any>;
|
766
|
+
readonly required: false;
|
767
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
768
|
+
__epPropKey: true;
|
769
|
+
} & {
|
770
|
+
readonly default: "bottom";
|
771
|
+
};
|
772
|
+
readonly popperOptions: {
|
773
|
+
readonly type: PropType<any>;
|
433
774
|
readonly required: false;
|
434
775
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
435
776
|
__epPropKey: true;
|
777
|
+
} & {
|
778
|
+
readonly default: () => {};
|
436
779
|
};
|
437
|
-
readonly placement: EpPropFinalized<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], unknown, unknown, "bottom", boolean>;
|
438
|
-
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
|
439
780
|
readonly id: StringConstructor;
|
440
|
-
readonly size:
|
781
|
+
readonly size: {
|
782
|
+
readonly type: PropType<string>;
|
783
|
+
readonly required: false;
|
784
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
785
|
+
__epPropKey: true;
|
786
|
+
} & {
|
787
|
+
readonly default: "";
|
788
|
+
};
|
441
789
|
readonly splitButton: BooleanConstructor;
|
442
|
-
readonly hideOnClick:
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
790
|
+
readonly hideOnClick: {
|
791
|
+
readonly type: PropType<boolean>;
|
792
|
+
readonly required: false;
|
793
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
794
|
+
__epPropKey: true;
|
795
|
+
} & {
|
796
|
+
readonly default: true;
|
797
|
+
};
|
798
|
+
readonly loop: {
|
799
|
+
readonly type: PropType<boolean>;
|
800
|
+
readonly required: false;
|
801
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
802
|
+
__epPropKey: true;
|
803
|
+
} & {
|
804
|
+
readonly default: true;
|
805
|
+
};
|
806
|
+
readonly showTimeout: {
|
807
|
+
readonly type: PropType<number>;
|
808
|
+
readonly required: false;
|
809
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
810
|
+
__epPropKey: true;
|
811
|
+
} & {
|
812
|
+
readonly default: 150;
|
813
|
+
};
|
814
|
+
readonly hideTimeout: {
|
815
|
+
readonly type: PropType<number>;
|
816
|
+
readonly required: false;
|
817
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
818
|
+
__epPropKey: true;
|
819
|
+
} & {
|
820
|
+
readonly default: 150;
|
821
|
+
};
|
822
|
+
readonly tabindex: {
|
823
|
+
readonly type: PropType<string | number>;
|
824
|
+
readonly required: false;
|
825
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
826
|
+
__epPropKey: true;
|
827
|
+
} & {
|
828
|
+
readonly default: 0;
|
829
|
+
};
|
830
|
+
readonly maxHeight: {
|
831
|
+
readonly type: PropType<string | number>;
|
832
|
+
readonly required: false;
|
833
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
834
|
+
__epPropKey: true;
|
835
|
+
} & {
|
836
|
+
readonly default: "";
|
837
|
+
};
|
838
|
+
readonly popperClass: {
|
839
|
+
readonly type: PropType<string>;
|
840
|
+
readonly required: false;
|
841
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
842
|
+
__epPropKey: true;
|
843
|
+
} & {
|
844
|
+
readonly default: "";
|
845
|
+
};
|
449
846
|
readonly disabled: BooleanConstructor;
|
450
|
-
readonly role:
|
847
|
+
readonly role: {
|
848
|
+
readonly type: PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation">;
|
849
|
+
readonly required: false;
|
850
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
851
|
+
__epPropKey: true;
|
852
|
+
} & {
|
853
|
+
readonly default: "menu";
|
854
|
+
};
|
451
855
|
readonly buttonProps: {
|
452
856
|
readonly type: PropType<Partial< ButtonProps>>;
|
453
857
|
readonly required: false;
|
454
858
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
455
859
|
__epPropKey: true;
|
456
860
|
};
|
457
|
-
readonly teleported:
|
458
|
-
|
861
|
+
readonly teleported: {
|
862
|
+
readonly type: PropType<boolean>;
|
863
|
+
readonly required: false;
|
864
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
865
|
+
__epPropKey: true;
|
866
|
+
} & {
|
867
|
+
readonly default: true;
|
868
|
+
};
|
869
|
+
readonly persistent: {
|
870
|
+
readonly type: PropType<boolean>;
|
871
|
+
readonly required: false;
|
872
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
873
|
+
__epPropKey: true;
|
874
|
+
} & {
|
875
|
+
readonly default: true;
|
876
|
+
};
|
459
877
|
}>>>;
|
460
878
|
};
|
461
879
|
button: {
|