@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
@@ -5,8 +5,6 @@ import { ActionMode, ActionDropdown } from '../action';
|
|
5
5
|
import { BaseSize, BaseType } from '../shared';
|
6
6
|
import { ElTooltipProps, BadgeProps, ButtonProps, TooltipTriggerType, PopperEffect } from 'element-plus';
|
7
7
|
import { IconParam } from '../icon';
|
8
|
-
import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils/index.mjs';
|
9
|
-
import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
|
10
8
|
declare const _default: DefineComponent<ExtractPropTypes<{
|
11
9
|
items: {
|
12
10
|
type: PropType<ActionBarItems>;
|
@@ -73,43 +71,148 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
73
71
|
};
|
74
72
|
dropdown: {
|
75
73
|
type: PropType<Partial< ExtractPropTypes<{
|
76
|
-
readonly trigger:
|
77
|
-
|
74
|
+
readonly trigger: {
|
75
|
+
readonly type: PropType< TooltipTriggerType | TooltipTriggerType[]>;
|
76
|
+
readonly required: false;
|
77
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
78
|
+
__epPropKey: true;
|
79
|
+
} & {
|
80
|
+
readonly default: "hover";
|
81
|
+
};
|
82
|
+
readonly triggerKeys: {
|
83
|
+
readonly type: PropType<string[]>;
|
84
|
+
readonly required: false;
|
85
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
86
|
+
__epPropKey: true;
|
87
|
+
} & {
|
88
|
+
readonly default: () => string[];
|
89
|
+
};
|
78
90
|
readonly effect: {
|
79
91
|
readonly default: "light";
|
80
|
-
readonly type: PropType<
|
92
|
+
readonly type: PropType<PopperEffect>;
|
81
93
|
readonly required: false;
|
82
94
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
83
95
|
readonly __epPropKey: true;
|
84
96
|
};
|
85
97
|
readonly type: {
|
86
|
-
readonly type: PropType<
|
98
|
+
readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
|
99
|
+
readonly required: false;
|
100
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
101
|
+
__epPropKey: true;
|
102
|
+
};
|
103
|
+
readonly placement: {
|
104
|
+
readonly type: PropType<any>;
|
105
|
+
readonly required: false;
|
106
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
107
|
+
__epPropKey: true;
|
108
|
+
} & {
|
109
|
+
readonly default: "bottom";
|
110
|
+
};
|
111
|
+
readonly popperOptions: {
|
112
|
+
readonly type: PropType<any>;
|
87
113
|
readonly required: false;
|
88
114
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
89
115
|
__epPropKey: true;
|
116
|
+
} & {
|
117
|
+
readonly default: () => {};
|
90
118
|
};
|
91
|
-
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>;
|
92
|
-
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
|
93
119
|
readonly id: StringConstructor;
|
94
|
-
readonly size:
|
120
|
+
readonly size: {
|
121
|
+
readonly type: PropType<string>;
|
122
|
+
readonly required: false;
|
123
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
124
|
+
__epPropKey: true;
|
125
|
+
} & {
|
126
|
+
readonly default: "";
|
127
|
+
};
|
95
128
|
readonly splitButton: BooleanConstructor;
|
96
|
-
readonly hideOnClick:
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
129
|
+
readonly hideOnClick: {
|
130
|
+
readonly type: PropType<boolean>;
|
131
|
+
readonly required: false;
|
132
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
133
|
+
__epPropKey: true;
|
134
|
+
} & {
|
135
|
+
readonly default: true;
|
136
|
+
};
|
137
|
+
readonly loop: {
|
138
|
+
readonly type: PropType<boolean>;
|
139
|
+
readonly required: false;
|
140
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
141
|
+
__epPropKey: true;
|
142
|
+
} & {
|
143
|
+
readonly default: true;
|
144
|
+
};
|
145
|
+
readonly showTimeout: {
|
146
|
+
readonly type: PropType<number>;
|
147
|
+
readonly required: false;
|
148
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
149
|
+
__epPropKey: true;
|
150
|
+
} & {
|
151
|
+
readonly default: 150;
|
152
|
+
};
|
153
|
+
readonly hideTimeout: {
|
154
|
+
readonly type: PropType<number>;
|
155
|
+
readonly required: false;
|
156
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
157
|
+
__epPropKey: true;
|
158
|
+
} & {
|
159
|
+
readonly default: 150;
|
160
|
+
};
|
161
|
+
readonly tabindex: {
|
162
|
+
readonly type: PropType<string | number>;
|
163
|
+
readonly required: false;
|
164
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
165
|
+
__epPropKey: true;
|
166
|
+
} & {
|
167
|
+
readonly default: 0;
|
168
|
+
};
|
169
|
+
readonly maxHeight: {
|
170
|
+
readonly type: PropType<string | number>;
|
171
|
+
readonly required: false;
|
172
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
173
|
+
__epPropKey: true;
|
174
|
+
} & {
|
175
|
+
readonly default: "";
|
176
|
+
};
|
177
|
+
readonly popperClass: {
|
178
|
+
readonly type: PropType<string>;
|
179
|
+
readonly required: false;
|
180
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
181
|
+
__epPropKey: true;
|
182
|
+
} & {
|
183
|
+
readonly default: "";
|
184
|
+
};
|
103
185
|
readonly disabled: BooleanConstructor;
|
104
|
-
readonly role:
|
186
|
+
readonly role: {
|
187
|
+
readonly type: PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation">;
|
188
|
+
readonly required: false;
|
189
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
190
|
+
__epPropKey: true;
|
191
|
+
} & {
|
192
|
+
readonly default: "menu";
|
193
|
+
};
|
105
194
|
readonly buttonProps: {
|
106
195
|
readonly type: PropType<Partial< ButtonProps>>;
|
107
196
|
readonly required: false;
|
108
197
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
109
198
|
__epPropKey: true;
|
110
199
|
};
|
111
|
-
readonly teleported:
|
112
|
-
|
200
|
+
readonly teleported: {
|
201
|
+
readonly type: PropType<boolean>;
|
202
|
+
readonly required: false;
|
203
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
204
|
+
__epPropKey: true;
|
205
|
+
} & {
|
206
|
+
readonly default: true;
|
207
|
+
};
|
208
|
+
readonly persistent: {
|
209
|
+
readonly type: PropType<boolean>;
|
210
|
+
readonly required: false;
|
211
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
212
|
+
__epPropKey: true;
|
213
|
+
} & {
|
214
|
+
readonly default: true;
|
215
|
+
};
|
113
216
|
}>>>;
|
114
217
|
};
|
115
218
|
button: {
|
@@ -164,43 +267,148 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
164
267
|
};
|
165
268
|
dropdown: {
|
166
269
|
type: PropType<Partial< ExtractPropTypes<{
|
167
|
-
readonly trigger:
|
168
|
-
|
270
|
+
readonly trigger: {
|
271
|
+
readonly type: PropType< TooltipTriggerType | TooltipTriggerType[]>;
|
272
|
+
readonly required: false;
|
273
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
274
|
+
__epPropKey: true;
|
275
|
+
} & {
|
276
|
+
readonly default: "hover";
|
277
|
+
};
|
278
|
+
readonly triggerKeys: {
|
279
|
+
readonly type: PropType<string[]>;
|
280
|
+
readonly required: false;
|
281
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
282
|
+
__epPropKey: true;
|
283
|
+
} & {
|
284
|
+
readonly default: () => string[];
|
285
|
+
};
|
169
286
|
readonly effect: {
|
170
287
|
readonly default: "light";
|
171
|
-
readonly type: PropType<
|
288
|
+
readonly type: PropType<PopperEffect>;
|
172
289
|
readonly required: false;
|
173
290
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
174
291
|
readonly __epPropKey: true;
|
175
292
|
};
|
176
293
|
readonly type: {
|
177
|
-
readonly type: PropType<
|
294
|
+
readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
|
295
|
+
readonly required: false;
|
296
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
297
|
+
__epPropKey: true;
|
298
|
+
};
|
299
|
+
readonly placement: {
|
300
|
+
readonly type: PropType<any>;
|
301
|
+
readonly required: false;
|
302
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
303
|
+
__epPropKey: true;
|
304
|
+
} & {
|
305
|
+
readonly default: "bottom";
|
306
|
+
};
|
307
|
+
readonly popperOptions: {
|
308
|
+
readonly type: PropType<any>;
|
178
309
|
readonly required: false;
|
179
310
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
180
311
|
__epPropKey: true;
|
312
|
+
} & {
|
313
|
+
readonly default: () => {};
|
181
314
|
};
|
182
|
-
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>;
|
183
|
-
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
|
184
315
|
readonly id: StringConstructor;
|
185
|
-
readonly size:
|
316
|
+
readonly size: {
|
317
|
+
readonly type: PropType<string>;
|
318
|
+
readonly required: false;
|
319
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
320
|
+
__epPropKey: true;
|
321
|
+
} & {
|
322
|
+
readonly default: "";
|
323
|
+
};
|
186
324
|
readonly splitButton: BooleanConstructor;
|
187
|
-
readonly hideOnClick:
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
325
|
+
readonly hideOnClick: {
|
326
|
+
readonly type: PropType<boolean>;
|
327
|
+
readonly required: false;
|
328
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
329
|
+
__epPropKey: true;
|
330
|
+
} & {
|
331
|
+
readonly default: true;
|
332
|
+
};
|
333
|
+
readonly loop: {
|
334
|
+
readonly type: PropType<boolean>;
|
335
|
+
readonly required: false;
|
336
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
337
|
+
__epPropKey: true;
|
338
|
+
} & {
|
339
|
+
readonly default: true;
|
340
|
+
};
|
341
|
+
readonly showTimeout: {
|
342
|
+
readonly type: PropType<number>;
|
343
|
+
readonly required: false;
|
344
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
345
|
+
__epPropKey: true;
|
346
|
+
} & {
|
347
|
+
readonly default: 150;
|
348
|
+
};
|
349
|
+
readonly hideTimeout: {
|
350
|
+
readonly type: PropType<number>;
|
351
|
+
readonly required: false;
|
352
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
353
|
+
__epPropKey: true;
|
354
|
+
} & {
|
355
|
+
readonly default: 150;
|
356
|
+
};
|
357
|
+
readonly tabindex: {
|
358
|
+
readonly type: PropType<string | number>;
|
359
|
+
readonly required: false;
|
360
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
361
|
+
__epPropKey: true;
|
362
|
+
} & {
|
363
|
+
readonly default: 0;
|
364
|
+
};
|
365
|
+
readonly maxHeight: {
|
366
|
+
readonly type: PropType<string | number>;
|
367
|
+
readonly required: false;
|
368
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
369
|
+
__epPropKey: true;
|
370
|
+
} & {
|
371
|
+
readonly default: "";
|
372
|
+
};
|
373
|
+
readonly popperClass: {
|
374
|
+
readonly type: PropType<string>;
|
375
|
+
readonly required: false;
|
376
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
377
|
+
__epPropKey: true;
|
378
|
+
} & {
|
379
|
+
readonly default: "";
|
380
|
+
};
|
194
381
|
readonly disabled: BooleanConstructor;
|
195
|
-
readonly role:
|
382
|
+
readonly role: {
|
383
|
+
readonly type: PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation">;
|
384
|
+
readonly required: false;
|
385
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
386
|
+
__epPropKey: true;
|
387
|
+
} & {
|
388
|
+
readonly default: "menu";
|
389
|
+
};
|
196
390
|
readonly buttonProps: {
|
197
391
|
readonly type: PropType<Partial< ButtonProps>>;
|
198
392
|
readonly required: false;
|
199
393
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
200
394
|
__epPropKey: true;
|
201
395
|
};
|
202
|
-
readonly teleported:
|
203
|
-
|
396
|
+
readonly teleported: {
|
397
|
+
readonly type: PropType<boolean>;
|
398
|
+
readonly required: false;
|
399
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
400
|
+
__epPropKey: true;
|
401
|
+
} & {
|
402
|
+
readonly default: true;
|
403
|
+
};
|
404
|
+
readonly persistent: {
|
405
|
+
readonly type: PropType<boolean>;
|
406
|
+
readonly required: false;
|
407
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
408
|
+
__epPropKey: true;
|
409
|
+
} & {
|
410
|
+
readonly default: true;
|
411
|
+
};
|
204
412
|
}>>>;
|
205
413
|
};
|
206
414
|
button: {
|
@@ -293,43 +501,148 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
293
501
|
};
|
294
502
|
dropdown: {
|
295
503
|
type: PropType<Partial< ExtractPropTypes<{
|
296
|
-
readonly trigger:
|
297
|
-
|
504
|
+
readonly trigger: {
|
505
|
+
readonly type: PropType< TooltipTriggerType | TooltipTriggerType[]>;
|
506
|
+
readonly required: false;
|
507
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
508
|
+
__epPropKey: true;
|
509
|
+
} & {
|
510
|
+
readonly default: "hover";
|
511
|
+
};
|
512
|
+
readonly triggerKeys: {
|
513
|
+
readonly type: PropType<string[]>;
|
514
|
+
readonly required: false;
|
515
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
516
|
+
__epPropKey: true;
|
517
|
+
} & {
|
518
|
+
readonly default: () => string[];
|
519
|
+
};
|
298
520
|
readonly effect: {
|
299
521
|
readonly default: "light";
|
300
|
-
readonly type: PropType<
|
522
|
+
readonly type: PropType<PopperEffect>;
|
301
523
|
readonly required: false;
|
302
524
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
303
525
|
readonly __epPropKey: true;
|
304
526
|
};
|
305
527
|
readonly type: {
|
306
|
-
readonly type: PropType<
|
528
|
+
readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
|
529
|
+
readonly required: false;
|
530
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
531
|
+
__epPropKey: true;
|
532
|
+
};
|
533
|
+
readonly placement: {
|
534
|
+
readonly type: PropType<any>;
|
535
|
+
readonly required: false;
|
536
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
537
|
+
__epPropKey: true;
|
538
|
+
} & {
|
539
|
+
readonly default: "bottom";
|
540
|
+
};
|
541
|
+
readonly popperOptions: {
|
542
|
+
readonly type: PropType<any>;
|
307
543
|
readonly required: false;
|
308
544
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
309
545
|
__epPropKey: true;
|
546
|
+
} & {
|
547
|
+
readonly default: () => {};
|
310
548
|
};
|
311
|
-
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>;
|
312
|
-
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
|
313
549
|
readonly id: StringConstructor;
|
314
|
-
readonly size:
|
550
|
+
readonly size: {
|
551
|
+
readonly type: PropType<string>;
|
552
|
+
readonly required: false;
|
553
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
554
|
+
__epPropKey: true;
|
555
|
+
} & {
|
556
|
+
readonly default: "";
|
557
|
+
};
|
315
558
|
readonly splitButton: BooleanConstructor;
|
316
|
-
readonly hideOnClick:
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
559
|
+
readonly hideOnClick: {
|
560
|
+
readonly type: PropType<boolean>;
|
561
|
+
readonly required: false;
|
562
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
563
|
+
__epPropKey: true;
|
564
|
+
} & {
|
565
|
+
readonly default: true;
|
566
|
+
};
|
567
|
+
readonly loop: {
|
568
|
+
readonly type: PropType<boolean>;
|
569
|
+
readonly required: false;
|
570
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
571
|
+
__epPropKey: true;
|
572
|
+
} & {
|
573
|
+
readonly default: true;
|
574
|
+
};
|
575
|
+
readonly showTimeout: {
|
576
|
+
readonly type: PropType<number>;
|
577
|
+
readonly required: false;
|
578
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
579
|
+
__epPropKey: true;
|
580
|
+
} & {
|
581
|
+
readonly default: 150;
|
582
|
+
};
|
583
|
+
readonly hideTimeout: {
|
584
|
+
readonly type: PropType<number>;
|
585
|
+
readonly required: false;
|
586
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
587
|
+
__epPropKey: true;
|
588
|
+
} & {
|
589
|
+
readonly default: 150;
|
590
|
+
};
|
591
|
+
readonly tabindex: {
|
592
|
+
readonly type: PropType<string | number>;
|
593
|
+
readonly required: false;
|
594
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
595
|
+
__epPropKey: true;
|
596
|
+
} & {
|
597
|
+
readonly default: 0;
|
598
|
+
};
|
599
|
+
readonly maxHeight: {
|
600
|
+
readonly type: PropType<string | number>;
|
601
|
+
readonly required: false;
|
602
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
603
|
+
__epPropKey: true;
|
604
|
+
} & {
|
605
|
+
readonly default: "";
|
606
|
+
};
|
607
|
+
readonly popperClass: {
|
608
|
+
readonly type: PropType<string>;
|
609
|
+
readonly required: false;
|
610
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
611
|
+
__epPropKey: true;
|
612
|
+
} & {
|
613
|
+
readonly default: "";
|
614
|
+
};
|
323
615
|
readonly disabled: BooleanConstructor;
|
324
|
-
readonly role:
|
616
|
+
readonly role: {
|
617
|
+
readonly type: PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation">;
|
618
|
+
readonly required: false;
|
619
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
620
|
+
__epPropKey: true;
|
621
|
+
} & {
|
622
|
+
readonly default: "menu";
|
623
|
+
};
|
325
624
|
readonly buttonProps: {
|
326
625
|
readonly type: PropType<Partial< ButtonProps>>;
|
327
626
|
readonly required: false;
|
328
627
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
329
628
|
__epPropKey: true;
|
330
629
|
};
|
331
|
-
readonly teleported:
|
332
|
-
|
630
|
+
readonly teleported: {
|
631
|
+
readonly type: PropType<boolean>;
|
632
|
+
readonly required: false;
|
633
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
634
|
+
__epPropKey: true;
|
635
|
+
} & {
|
636
|
+
readonly default: true;
|
637
|
+
};
|
638
|
+
readonly persistent: {
|
639
|
+
readonly type: PropType<boolean>;
|
640
|
+
readonly required: false;
|
641
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
642
|
+
__epPropKey: true;
|
643
|
+
} & {
|
644
|
+
readonly default: true;
|
645
|
+
};
|
333
646
|
}>>>;
|
334
647
|
};
|
335
648
|
button: {
|
@@ -384,43 +697,148 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
384
697
|
};
|
385
698
|
dropdown: {
|
386
699
|
type: PropType<Partial< ExtractPropTypes<{
|
387
|
-
readonly trigger:
|
388
|
-
|
700
|
+
readonly trigger: {
|
701
|
+
readonly type: PropType< TooltipTriggerType | TooltipTriggerType[]>;
|
702
|
+
readonly required: false;
|
703
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
704
|
+
__epPropKey: true;
|
705
|
+
} & {
|
706
|
+
readonly default: "hover";
|
707
|
+
};
|
708
|
+
readonly triggerKeys: {
|
709
|
+
readonly type: PropType<string[]>;
|
710
|
+
readonly required: false;
|
711
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
712
|
+
__epPropKey: true;
|
713
|
+
} & {
|
714
|
+
readonly default: () => string[];
|
715
|
+
};
|
389
716
|
readonly effect: {
|
390
717
|
readonly default: "light";
|
391
|
-
readonly type: PropType<
|
718
|
+
readonly type: PropType<PopperEffect>;
|
392
719
|
readonly required: false;
|
393
720
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
394
721
|
readonly __epPropKey: true;
|
395
722
|
};
|
396
723
|
readonly type: {
|
397
|
-
readonly type: PropType<
|
724
|
+
readonly type: PropType<"" | "success" | "warning" | "info" | "primary" | "danger" | "default" | "text">;
|
725
|
+
readonly required: false;
|
726
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
727
|
+
__epPropKey: true;
|
728
|
+
};
|
729
|
+
readonly placement: {
|
730
|
+
readonly type: PropType<any>;
|
731
|
+
readonly required: false;
|
732
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
733
|
+
__epPropKey: true;
|
734
|
+
} & {
|
735
|
+
readonly default: "bottom";
|
736
|
+
};
|
737
|
+
readonly popperOptions: {
|
738
|
+
readonly type: PropType<any>;
|
398
739
|
readonly required: false;
|
399
740
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
400
741
|
__epPropKey: true;
|
742
|
+
} & {
|
743
|
+
readonly default: () => {};
|
401
744
|
};
|
402
|
-
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>;
|
403
|
-
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
|
404
745
|
readonly id: StringConstructor;
|
405
|
-
readonly size:
|
746
|
+
readonly size: {
|
747
|
+
readonly type: PropType<string>;
|
748
|
+
readonly required: false;
|
749
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
750
|
+
__epPropKey: true;
|
751
|
+
} & {
|
752
|
+
readonly default: "";
|
753
|
+
};
|
406
754
|
readonly splitButton: BooleanConstructor;
|
407
|
-
readonly hideOnClick:
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
755
|
+
readonly hideOnClick: {
|
756
|
+
readonly type: PropType<boolean>;
|
757
|
+
readonly required: false;
|
758
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
759
|
+
__epPropKey: true;
|
760
|
+
} & {
|
761
|
+
readonly default: true;
|
762
|
+
};
|
763
|
+
readonly loop: {
|
764
|
+
readonly type: PropType<boolean>;
|
765
|
+
readonly required: false;
|
766
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
767
|
+
__epPropKey: true;
|
768
|
+
} & {
|
769
|
+
readonly default: true;
|
770
|
+
};
|
771
|
+
readonly showTimeout: {
|
772
|
+
readonly type: PropType<number>;
|
773
|
+
readonly required: false;
|
774
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
775
|
+
__epPropKey: true;
|
776
|
+
} & {
|
777
|
+
readonly default: 150;
|
778
|
+
};
|
779
|
+
readonly hideTimeout: {
|
780
|
+
readonly type: PropType<number>;
|
781
|
+
readonly required: false;
|
782
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
783
|
+
__epPropKey: true;
|
784
|
+
} & {
|
785
|
+
readonly default: 150;
|
786
|
+
};
|
787
|
+
readonly tabindex: {
|
788
|
+
readonly type: PropType<string | number>;
|
789
|
+
readonly required: false;
|
790
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
791
|
+
__epPropKey: true;
|
792
|
+
} & {
|
793
|
+
readonly default: 0;
|
794
|
+
};
|
795
|
+
readonly maxHeight: {
|
796
|
+
readonly type: PropType<string | number>;
|
797
|
+
readonly required: false;
|
798
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
799
|
+
__epPropKey: true;
|
800
|
+
} & {
|
801
|
+
readonly default: "";
|
802
|
+
};
|
803
|
+
readonly popperClass: {
|
804
|
+
readonly type: PropType<string>;
|
805
|
+
readonly required: false;
|
806
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
807
|
+
__epPropKey: true;
|
808
|
+
} & {
|
809
|
+
readonly default: "";
|
810
|
+
};
|
414
811
|
readonly disabled: BooleanConstructor;
|
415
|
-
readonly role:
|
812
|
+
readonly role: {
|
813
|
+
readonly type: PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation">;
|
814
|
+
readonly required: false;
|
815
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
816
|
+
__epPropKey: true;
|
817
|
+
} & {
|
818
|
+
readonly default: "menu";
|
819
|
+
};
|
416
820
|
readonly buttonProps: {
|
417
821
|
readonly type: PropType<Partial< ButtonProps>>;
|
418
822
|
readonly required: false;
|
419
823
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
420
824
|
__epPropKey: true;
|
421
825
|
};
|
422
|
-
readonly teleported:
|
423
|
-
|
826
|
+
readonly teleported: {
|
827
|
+
readonly type: PropType<boolean>;
|
828
|
+
readonly required: false;
|
829
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
830
|
+
__epPropKey: true;
|
831
|
+
} & {
|
832
|
+
readonly default: true;
|
833
|
+
};
|
834
|
+
readonly persistent: {
|
835
|
+
readonly type: PropType<boolean>;
|
836
|
+
readonly required: false;
|
837
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
838
|
+
__epPropKey: true;
|
839
|
+
} & {
|
840
|
+
readonly default: true;
|
841
|
+
};
|
424
842
|
}>>>;
|
425
843
|
};
|
426
844
|
button: {
|