@vtj/ui 0.13.33 → 0.13.34
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 +1602 -1598
- package/dist/index.umd.js +4 -4
- package/package.json +3 -3
- package/types/components/action/Action.d.ts +573 -721
- package/types/components/action/hooks.d.ts +100 -123
- package/types/components/action-bar/ActionBar.d.ts +383 -481
- package/types/components/attachment/Attachment.d.ts +422 -731
- package/types/components/data-item/DataItem.d.ts +383 -481
- package/types/components/dialog-form/DialogForm.d.ts +138 -332
- package/types/components/field/Field.d.ts +86 -224
- package/types/components/form/Form.d.ts +138 -332
- package/types/components/grid/renderers/components/DateEdit.d.ts +235 -338
- package/types/components/grid/renderers/components/GridEdit.d.ts +81 -249
- package/types/components/grid-editor/GridEditor.d.ts +81 -249
- package/types/components/mask/Mask.d.ts +400 -498
- package/types/components/mask/components/Content.d.ts +1 -0
- package/types/components/query-form/QueryForm.d.ts +290 -672
- package/types/components/tabs/Tabs.d.ts +193 -241
- package/types/version.d.ts +2 -2
|
@@ -3,8 +3,10 @@ import { ActionBarItems } from './types';
|
|
|
3
3
|
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, StyleValue, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { ActionMode, ActionDropdown } from '../action';
|
|
5
5
|
import { BaseSize, BaseType } from '../shared';
|
|
6
|
-
import { ElTooltipProps, BadgeProps, ButtonProps,
|
|
6
|
+
import { ElTooltipProps, BadgeProps, ButtonProps, Measurable, PopperEffect } from 'element-plus';
|
|
7
7
|
import { IconParam } from '../icon';
|
|
8
|
+
import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
|
|
9
|
+
import { EpPropFinalized, EpPropMergeType } from 'element-plus/es/utils/index.mjs';
|
|
8
10
|
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
9
11
|
items: {
|
|
10
12
|
type: PropType<ActionBarItems>;
|
|
@@ -72,21 +74,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
72
74
|
dropdown: {
|
|
73
75
|
type: PropType<Partial< ExtractPropTypes<{
|
|
74
76
|
readonly trigger: {
|
|
75
|
-
readonly type: PropType<
|
|
77
|
+
readonly type: PropType<Arrayable<"click" | "contextmenu" | "hover">>;
|
|
76
78
|
readonly required: false;
|
|
77
79
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
78
|
-
__epPropKey: true;
|
|
79
|
-
} & {
|
|
80
|
+
readonly __epPropKey: true;
|
|
80
81
|
readonly default: "hover";
|
|
81
82
|
};
|
|
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
|
-
};
|
|
83
|
+
readonly triggerKeys: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
90
84
|
readonly virtualTriggering: BooleanConstructor;
|
|
91
85
|
readonly virtualRef: {
|
|
92
86
|
readonly type: PropType<Measurable>;
|
|
@@ -96,101 +90,83 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
96
90
|
};
|
|
97
91
|
readonly effect: {
|
|
98
92
|
readonly default: "light";
|
|
99
|
-
readonly type: PropType<PopperEffect
|
|
93
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>>;
|
|
100
94
|
readonly required: false;
|
|
101
95
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
102
96
|
readonly __epPropKey: true;
|
|
103
97
|
};
|
|
104
98
|
readonly type: {
|
|
105
|
-
readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text"
|
|
106
|
-
readonly required: false;
|
|
107
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
108
|
-
__epPropKey: true;
|
|
109
|
-
};
|
|
110
|
-
readonly placement: {
|
|
111
|
-
readonly type: PropType<any>;
|
|
112
|
-
readonly required: false;
|
|
113
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
114
|
-
__epPropKey: true;
|
|
115
|
-
} & {
|
|
116
|
-
readonly default: "bottom";
|
|
117
|
-
};
|
|
118
|
-
readonly popperOptions: {
|
|
119
|
-
readonly type: PropType<any>;
|
|
99
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger") | (() => EpPropMergeType<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>) | ((new (...args: any[]) => "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger") | (() => EpPropMergeType<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>))[], unknown, unknown>>;
|
|
120
100
|
readonly required: false;
|
|
121
101
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
122
102
|
__epPropKey: true;
|
|
123
|
-
} & {
|
|
124
|
-
readonly default: () => {};
|
|
125
103
|
};
|
|
104
|
+
readonly placement: EpPropFinalized<(new (...args: any[]) => "left" | "right" | "top" | "bottom" | "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[]) => "left" | "right" | "top" | "bottom" | "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>;
|
|
105
|
+
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
|
|
126
106
|
readonly id: StringConstructor;
|
|
127
|
-
readonly size:
|
|
128
|
-
readonly type: PropType<string>;
|
|
129
|
-
readonly required: false;
|
|
130
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
131
|
-
__epPropKey: true;
|
|
132
|
-
} & {
|
|
133
|
-
readonly default: "";
|
|
134
|
-
};
|
|
107
|
+
readonly size: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
135
108
|
readonly splitButton: BooleanConstructor;
|
|
136
|
-
readonly hideOnClick:
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
};
|
|
144
|
-
readonly loop: {
|
|
145
|
-
readonly type: PropType<boolean>;
|
|
146
|
-
readonly required: false;
|
|
147
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
148
|
-
__epPropKey: true;
|
|
149
|
-
} & {
|
|
150
|
-
readonly default: true;
|
|
151
|
-
};
|
|
152
|
-
readonly showArrow: {
|
|
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 showTimeout: {
|
|
161
|
-
readonly type: PropType<number>;
|
|
162
|
-
readonly required: false;
|
|
163
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
164
|
-
__epPropKey: true;
|
|
165
|
-
} & {
|
|
166
|
-
readonly default: 150;
|
|
167
|
-
};
|
|
168
|
-
readonly hideTimeout: {
|
|
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 tabindex: {
|
|
177
|
-
readonly type: PropType<string | number>;
|
|
178
|
-
readonly required: false;
|
|
179
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
180
|
-
__epPropKey: true;
|
|
181
|
-
} & {
|
|
182
|
-
readonly default: 0;
|
|
183
|
-
};
|
|
184
|
-
readonly maxHeight: {
|
|
185
|
-
readonly type: PropType<string | number>;
|
|
186
|
-
readonly required: false;
|
|
187
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
188
|
-
__epPropKey: true;
|
|
189
|
-
} & {
|
|
190
|
-
readonly default: "";
|
|
191
|
-
};
|
|
109
|
+
readonly hideOnClick: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
110
|
+
readonly loop: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
111
|
+
readonly showArrow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
112
|
+
readonly showTimeout: EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
|
|
113
|
+
readonly hideTimeout: EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
|
|
114
|
+
readonly tabindex: EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
|
|
115
|
+
readonly maxHeight: EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
|
|
192
116
|
readonly popperClass: {
|
|
193
|
-
readonly type: PropType<string | {
|
|
117
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | {
|
|
118
|
+
[x: string]: boolean;
|
|
119
|
+
} | (string | {
|
|
120
|
+
[x: string]: boolean;
|
|
121
|
+
} | (string | {
|
|
122
|
+
[x: string]: boolean;
|
|
123
|
+
} | (string | {
|
|
124
|
+
[x: string]: boolean;
|
|
125
|
+
} | (string | {
|
|
126
|
+
[x: string]: boolean;
|
|
127
|
+
} | (string | {
|
|
128
|
+
[x: string]: boolean;
|
|
129
|
+
} | (string | {
|
|
130
|
+
[x: string]: boolean;
|
|
131
|
+
} | (string | {
|
|
132
|
+
[x: string]: boolean;
|
|
133
|
+
} | (string | {
|
|
134
|
+
[x: string]: boolean;
|
|
135
|
+
} | (string | {
|
|
136
|
+
[x: string]: boolean;
|
|
137
|
+
} | (string | {
|
|
138
|
+
[x: string]: boolean;
|
|
139
|
+
} | (string | {
|
|
140
|
+
[x: string]: boolean;
|
|
141
|
+
} | any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
|
|
142
|
+
[x: string]: boolean;
|
|
143
|
+
} | (string | {
|
|
144
|
+
[x: string]: boolean;
|
|
145
|
+
} | (string | {
|
|
146
|
+
[x: string]: boolean;
|
|
147
|
+
} | (string | {
|
|
148
|
+
[x: string]: boolean;
|
|
149
|
+
} | (string | {
|
|
150
|
+
[x: string]: boolean;
|
|
151
|
+
} | (string | {
|
|
152
|
+
[x: string]: boolean;
|
|
153
|
+
} | (string | {
|
|
154
|
+
[x: string]: boolean;
|
|
155
|
+
} | (string | {
|
|
156
|
+
[x: string]: boolean;
|
|
157
|
+
} | (string | {
|
|
158
|
+
[x: string]: boolean;
|
|
159
|
+
} | (string | {
|
|
160
|
+
[x: string]: boolean;
|
|
161
|
+
} | (string | {
|
|
162
|
+
[x: string]: boolean;
|
|
163
|
+
} | (string | {
|
|
164
|
+
[x: string]: boolean;
|
|
165
|
+
} | any)[])[])[])[])[])[])[])[])[])[])[]) | ((new (...args: any[]) => string | {
|
|
166
|
+
[x: string]: boolean;
|
|
167
|
+
} | (string | {
|
|
168
|
+
[x: string]: boolean;
|
|
169
|
+
} | (string | {
|
|
194
170
|
[x: string]: boolean;
|
|
195
171
|
} | (string | {
|
|
196
172
|
[x: string]: boolean;
|
|
@@ -210,9 +186,31 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
210
186
|
[x: string]: boolean;
|
|
211
187
|
} | (string | {
|
|
212
188
|
[x: string]: boolean;
|
|
213
|
-
} |
|
|
189
|
+
} | any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
|
|
214
190
|
[x: string]: boolean;
|
|
215
|
-
}
|
|
191
|
+
} | (string | {
|
|
192
|
+
[x: string]: boolean;
|
|
193
|
+
} | (string | {
|
|
194
|
+
[x: string]: boolean;
|
|
195
|
+
} | (string | {
|
|
196
|
+
[x: string]: boolean;
|
|
197
|
+
} | (string | {
|
|
198
|
+
[x: string]: boolean;
|
|
199
|
+
} | (string | {
|
|
200
|
+
[x: string]: boolean;
|
|
201
|
+
} | (string | {
|
|
202
|
+
[x: string]: boolean;
|
|
203
|
+
} | (string | {
|
|
204
|
+
[x: string]: boolean;
|
|
205
|
+
} | (string | {
|
|
206
|
+
[x: string]: boolean;
|
|
207
|
+
} | (string | {
|
|
208
|
+
[x: string]: boolean;
|
|
209
|
+
} | (string | {
|
|
210
|
+
[x: string]: boolean;
|
|
211
|
+
} | (string | {
|
|
212
|
+
[x: string]: boolean;
|
|
213
|
+
} | any)[])[])[])[])[])[])[])[])[])[])[]))[], unknown, unknown>>;
|
|
216
214
|
readonly required: false;
|
|
217
215
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
218
216
|
__epPropKey: true;
|
|
@@ -224,36 +222,15 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
224
222
|
__epPropKey: true;
|
|
225
223
|
};
|
|
226
224
|
readonly disabled: BooleanConstructor;
|
|
227
|
-
readonly role:
|
|
228
|
-
readonly type: PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation">;
|
|
229
|
-
readonly required: false;
|
|
230
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
231
|
-
__epPropKey: true;
|
|
232
|
-
} & {
|
|
233
|
-
readonly default: "menu";
|
|
234
|
-
};
|
|
225
|
+
readonly role: EpPropFinalized<StringConstructor, "dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation", unknown, "menu", boolean>;
|
|
235
226
|
readonly buttonProps: {
|
|
236
227
|
readonly type: PropType<Partial< ButtonProps>>;
|
|
237
228
|
readonly required: false;
|
|
238
229
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
239
230
|
__epPropKey: true;
|
|
240
231
|
};
|
|
241
|
-
readonly teleported:
|
|
242
|
-
|
|
243
|
-
readonly required: false;
|
|
244
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
245
|
-
__epPropKey: true;
|
|
246
|
-
} & {
|
|
247
|
-
readonly default: true;
|
|
248
|
-
};
|
|
249
|
-
readonly persistent: {
|
|
250
|
-
readonly type: PropType<boolean>;
|
|
251
|
-
readonly required: false;
|
|
252
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
253
|
-
__epPropKey: true;
|
|
254
|
-
} & {
|
|
255
|
-
readonly default: true;
|
|
256
|
-
};
|
|
232
|
+
readonly teleported: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
233
|
+
readonly persistent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
257
234
|
}>>>;
|
|
258
235
|
};
|
|
259
236
|
button: {
|
|
@@ -312,21 +289,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
312
289
|
dropdown: {
|
|
313
290
|
type: PropType<Partial< ExtractPropTypes<{
|
|
314
291
|
readonly trigger: {
|
|
315
|
-
readonly type: PropType<
|
|
292
|
+
readonly type: PropType<Arrayable<"click" | "contextmenu" | "hover">>;
|
|
316
293
|
readonly required: false;
|
|
317
294
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
318
|
-
__epPropKey: true;
|
|
319
|
-
} & {
|
|
295
|
+
readonly __epPropKey: true;
|
|
320
296
|
readonly default: "hover";
|
|
321
297
|
};
|
|
322
|
-
readonly triggerKeys:
|
|
323
|
-
readonly type: PropType<string[]>;
|
|
324
|
-
readonly required: false;
|
|
325
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
326
|
-
__epPropKey: true;
|
|
327
|
-
} & {
|
|
328
|
-
readonly default: () => string[];
|
|
329
|
-
};
|
|
298
|
+
readonly triggerKeys: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
330
299
|
readonly virtualTriggering: BooleanConstructor;
|
|
331
300
|
readonly virtualRef: {
|
|
332
301
|
readonly type: PropType<Measurable>;
|
|
@@ -336,101 +305,81 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
336
305
|
};
|
|
337
306
|
readonly effect: {
|
|
338
307
|
readonly default: "light";
|
|
339
|
-
readonly type: PropType<PopperEffect
|
|
308
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>>;
|
|
340
309
|
readonly required: false;
|
|
341
310
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
342
311
|
readonly __epPropKey: true;
|
|
343
312
|
};
|
|
344
313
|
readonly type: {
|
|
345
|
-
readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text"
|
|
346
|
-
readonly required: false;
|
|
347
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
348
|
-
__epPropKey: true;
|
|
349
|
-
};
|
|
350
|
-
readonly placement: {
|
|
351
|
-
readonly type: PropType<any>;
|
|
352
|
-
readonly required: false;
|
|
353
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
354
|
-
__epPropKey: true;
|
|
355
|
-
} & {
|
|
356
|
-
readonly default: "bottom";
|
|
357
|
-
};
|
|
358
|
-
readonly popperOptions: {
|
|
359
|
-
readonly type: PropType<any>;
|
|
314
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger") | (() => EpPropMergeType<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>) | ((new (...args: any[]) => "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger") | (() => EpPropMergeType<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>))[], unknown, unknown>>;
|
|
360
315
|
readonly required: false;
|
|
361
316
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
362
317
|
__epPropKey: true;
|
|
363
|
-
} & {
|
|
364
|
-
readonly default: () => {};
|
|
365
318
|
};
|
|
319
|
+
readonly placement: EpPropFinalized<(new (...args: any[]) => "left" | "right" | "top" | "bottom" | "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[]) => "left" | "right" | "top" | "bottom" | "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>;
|
|
320
|
+
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
|
|
366
321
|
readonly id: StringConstructor;
|
|
367
|
-
readonly size:
|
|
368
|
-
readonly type: PropType<string>;
|
|
369
|
-
readonly required: false;
|
|
370
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
371
|
-
__epPropKey: true;
|
|
372
|
-
} & {
|
|
373
|
-
readonly default: "";
|
|
374
|
-
};
|
|
322
|
+
readonly size: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
375
323
|
readonly splitButton: BooleanConstructor;
|
|
376
|
-
readonly hideOnClick:
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
};
|
|
384
|
-
readonly loop: {
|
|
385
|
-
readonly type: PropType<boolean>;
|
|
386
|
-
readonly required: false;
|
|
387
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
388
|
-
__epPropKey: true;
|
|
389
|
-
} & {
|
|
390
|
-
readonly default: true;
|
|
391
|
-
};
|
|
392
|
-
readonly showArrow: {
|
|
393
|
-
readonly type: PropType<boolean>;
|
|
394
|
-
readonly required: false;
|
|
395
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
396
|
-
__epPropKey: true;
|
|
397
|
-
} & {
|
|
398
|
-
readonly default: true;
|
|
399
|
-
};
|
|
400
|
-
readonly showTimeout: {
|
|
401
|
-
readonly type: PropType<number>;
|
|
402
|
-
readonly required: false;
|
|
403
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
404
|
-
__epPropKey: true;
|
|
405
|
-
} & {
|
|
406
|
-
readonly default: 150;
|
|
407
|
-
};
|
|
408
|
-
readonly hideTimeout: {
|
|
409
|
-
readonly type: PropType<number>;
|
|
410
|
-
readonly required: false;
|
|
411
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
412
|
-
__epPropKey: true;
|
|
413
|
-
} & {
|
|
414
|
-
readonly default: 150;
|
|
415
|
-
};
|
|
416
|
-
readonly tabindex: {
|
|
417
|
-
readonly type: PropType<string | number>;
|
|
418
|
-
readonly required: false;
|
|
419
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
420
|
-
__epPropKey: true;
|
|
421
|
-
} & {
|
|
422
|
-
readonly default: 0;
|
|
423
|
-
};
|
|
424
|
-
readonly maxHeight: {
|
|
425
|
-
readonly type: PropType<string | number>;
|
|
426
|
-
readonly required: false;
|
|
427
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
428
|
-
__epPropKey: true;
|
|
429
|
-
} & {
|
|
430
|
-
readonly default: "";
|
|
431
|
-
};
|
|
324
|
+
readonly hideOnClick: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
325
|
+
readonly loop: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
326
|
+
readonly showArrow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
327
|
+
readonly showTimeout: EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
|
|
328
|
+
readonly hideTimeout: EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
|
|
329
|
+
readonly tabindex: EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
|
|
330
|
+
readonly maxHeight: EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
|
|
432
331
|
readonly popperClass: {
|
|
433
|
-
readonly type: PropType<string | {
|
|
332
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | {
|
|
333
|
+
[x: string]: boolean;
|
|
334
|
+
} | (string | {
|
|
335
|
+
[x: string]: boolean;
|
|
336
|
+
} | (string | {
|
|
337
|
+
[x: string]: boolean;
|
|
338
|
+
} | (string | {
|
|
339
|
+
[x: string]: boolean;
|
|
340
|
+
} | (string | {
|
|
341
|
+
[x: string]: boolean;
|
|
342
|
+
} | (string | {
|
|
343
|
+
[x: string]: boolean;
|
|
344
|
+
} | (string | {
|
|
345
|
+
[x: string]: boolean;
|
|
346
|
+
} | (string | {
|
|
347
|
+
[x: string]: boolean;
|
|
348
|
+
} | (string | {
|
|
349
|
+
[x: string]: boolean;
|
|
350
|
+
} | (string | {
|
|
351
|
+
[x: string]: boolean;
|
|
352
|
+
} | (string | {
|
|
353
|
+
[x: string]: boolean;
|
|
354
|
+
} | (string | {
|
|
355
|
+
[x: string]: boolean;
|
|
356
|
+
} | any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
|
|
357
|
+
[x: string]: boolean;
|
|
358
|
+
} | (string | {
|
|
359
|
+
[x: string]: boolean;
|
|
360
|
+
} | (string | {
|
|
361
|
+
[x: string]: boolean;
|
|
362
|
+
} | (string | {
|
|
363
|
+
[x: string]: boolean;
|
|
364
|
+
} | (string | {
|
|
365
|
+
[x: string]: boolean;
|
|
366
|
+
} | (string | {
|
|
367
|
+
[x: string]: boolean;
|
|
368
|
+
} | (string | {
|
|
369
|
+
[x: string]: boolean;
|
|
370
|
+
} | (string | {
|
|
371
|
+
[x: string]: boolean;
|
|
372
|
+
} | (string | {
|
|
373
|
+
[x: string]: boolean;
|
|
374
|
+
} | (string | {
|
|
375
|
+
[x: string]: boolean;
|
|
376
|
+
} | (string | {
|
|
377
|
+
[x: string]: boolean;
|
|
378
|
+
} | (string | {
|
|
379
|
+
[x: string]: boolean;
|
|
380
|
+
} | any)[])[])[])[])[])[])[])[])[])[])[]) | ((new (...args: any[]) => string | {
|
|
381
|
+
[x: string]: boolean;
|
|
382
|
+
} | (string | {
|
|
434
383
|
[x: string]: boolean;
|
|
435
384
|
} | (string | {
|
|
436
385
|
[x: string]: boolean;
|
|
@@ -450,9 +399,33 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
450
399
|
[x: string]: boolean;
|
|
451
400
|
} | (string | {
|
|
452
401
|
[x: string]: boolean;
|
|
453
|
-
} | (string |
|
|
402
|
+
} | (string | {
|
|
403
|
+
[x: string]: boolean;
|
|
404
|
+
} | any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
|
|
405
|
+
[x: string]: boolean;
|
|
406
|
+
} | (string | {
|
|
407
|
+
[x: string]: boolean;
|
|
408
|
+
} | (string | {
|
|
409
|
+
[x: string]: boolean;
|
|
410
|
+
} | (string | {
|
|
411
|
+
[x: string]: boolean;
|
|
412
|
+
} | (string | {
|
|
413
|
+
[x: string]: boolean;
|
|
414
|
+
} | (string | {
|
|
415
|
+
[x: string]: boolean;
|
|
416
|
+
} | (string | {
|
|
417
|
+
[x: string]: boolean;
|
|
418
|
+
} | (string | {
|
|
454
419
|
[x: string]: boolean;
|
|
455
|
-
}
|
|
420
|
+
} | (string | {
|
|
421
|
+
[x: string]: boolean;
|
|
422
|
+
} | (string | {
|
|
423
|
+
[x: string]: boolean;
|
|
424
|
+
} | (string | {
|
|
425
|
+
[x: string]: boolean;
|
|
426
|
+
} | (string | {
|
|
427
|
+
[x: string]: boolean;
|
|
428
|
+
} | any)[])[])[])[])[])[])[])[])[])[])[]))[], unknown, unknown>>;
|
|
456
429
|
readonly required: false;
|
|
457
430
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
458
431
|
__epPropKey: true;
|
|
@@ -464,36 +437,15 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
464
437
|
__epPropKey: true;
|
|
465
438
|
};
|
|
466
439
|
readonly disabled: BooleanConstructor;
|
|
467
|
-
readonly role:
|
|
468
|
-
readonly type: PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation">;
|
|
469
|
-
readonly required: false;
|
|
470
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
471
|
-
__epPropKey: true;
|
|
472
|
-
} & {
|
|
473
|
-
readonly default: "menu";
|
|
474
|
-
};
|
|
440
|
+
readonly role: EpPropFinalized<StringConstructor, "dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation", unknown, "menu", boolean>;
|
|
475
441
|
readonly buttonProps: {
|
|
476
442
|
readonly type: PropType<Partial< ButtonProps>>;
|
|
477
443
|
readonly required: false;
|
|
478
444
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
479
445
|
__epPropKey: true;
|
|
480
446
|
};
|
|
481
|
-
readonly teleported:
|
|
482
|
-
|
|
483
|
-
readonly required: false;
|
|
484
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
485
|
-
__epPropKey: true;
|
|
486
|
-
} & {
|
|
487
|
-
readonly default: true;
|
|
488
|
-
};
|
|
489
|
-
readonly persistent: {
|
|
490
|
-
readonly type: PropType<boolean>;
|
|
491
|
-
readonly required: false;
|
|
492
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
493
|
-
__epPropKey: true;
|
|
494
|
-
} & {
|
|
495
|
-
readonly default: true;
|
|
496
|
-
};
|
|
447
|
+
readonly teleported: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
448
|
+
readonly persistent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
497
449
|
}>>>;
|
|
498
450
|
};
|
|
499
451
|
button: {
|
|
@@ -590,21 +542,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
590
542
|
dropdown: {
|
|
591
543
|
type: PropType<Partial< ExtractPropTypes<{
|
|
592
544
|
readonly trigger: {
|
|
593
|
-
readonly type: PropType<
|
|
545
|
+
readonly type: PropType<Arrayable<"click" | "contextmenu" | "hover">>;
|
|
594
546
|
readonly required: false;
|
|
595
547
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
596
|
-
__epPropKey: true;
|
|
597
|
-
} & {
|
|
548
|
+
readonly __epPropKey: true;
|
|
598
549
|
readonly default: "hover";
|
|
599
550
|
};
|
|
600
|
-
readonly triggerKeys:
|
|
601
|
-
readonly type: PropType<string[]>;
|
|
602
|
-
readonly required: false;
|
|
603
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
604
|
-
__epPropKey: true;
|
|
605
|
-
} & {
|
|
606
|
-
readonly default: () => string[];
|
|
607
|
-
};
|
|
551
|
+
readonly triggerKeys: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
608
552
|
readonly virtualTriggering: BooleanConstructor;
|
|
609
553
|
readonly virtualRef: {
|
|
610
554
|
readonly type: PropType<Measurable>;
|
|
@@ -614,101 +558,83 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
614
558
|
};
|
|
615
559
|
readonly effect: {
|
|
616
560
|
readonly default: "light";
|
|
617
|
-
readonly type: PropType<PopperEffect
|
|
561
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>>;
|
|
618
562
|
readonly required: false;
|
|
619
563
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
620
564
|
readonly __epPropKey: true;
|
|
621
565
|
};
|
|
622
566
|
readonly type: {
|
|
623
|
-
readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text"
|
|
624
|
-
readonly required: false;
|
|
625
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
626
|
-
__epPropKey: true;
|
|
627
|
-
};
|
|
628
|
-
readonly placement: {
|
|
629
|
-
readonly type: PropType<any>;
|
|
567
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger") | (() => EpPropMergeType<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>) | ((new (...args: any[]) => "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger") | (() => EpPropMergeType<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>))[], unknown, unknown>>;
|
|
630
568
|
readonly required: false;
|
|
631
569
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
632
570
|
__epPropKey: true;
|
|
633
|
-
} & {
|
|
634
|
-
readonly default: "bottom";
|
|
635
|
-
};
|
|
636
|
-
readonly popperOptions: {
|
|
637
|
-
readonly type: PropType<any>;
|
|
638
|
-
readonly required: false;
|
|
639
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
640
|
-
__epPropKey: true;
|
|
641
|
-
} & {
|
|
642
|
-
readonly default: () => {};
|
|
643
571
|
};
|
|
572
|
+
readonly placement: EpPropFinalized<(new (...args: any[]) => "left" | "right" | "top" | "bottom" | "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[]) => "left" | "right" | "top" | "bottom" | "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>;
|
|
573
|
+
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
|
|
644
574
|
readonly id: StringConstructor;
|
|
645
|
-
readonly size:
|
|
646
|
-
readonly type: PropType<string>;
|
|
647
|
-
readonly required: false;
|
|
648
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
649
|
-
__epPropKey: true;
|
|
650
|
-
} & {
|
|
651
|
-
readonly default: "";
|
|
652
|
-
};
|
|
575
|
+
readonly size: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
653
576
|
readonly splitButton: BooleanConstructor;
|
|
654
|
-
readonly hideOnClick:
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
};
|
|
662
|
-
readonly loop: {
|
|
663
|
-
readonly type: PropType<boolean>;
|
|
664
|
-
readonly required: false;
|
|
665
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
666
|
-
__epPropKey: true;
|
|
667
|
-
} & {
|
|
668
|
-
readonly default: true;
|
|
669
|
-
};
|
|
670
|
-
readonly showArrow: {
|
|
671
|
-
readonly type: PropType<boolean>;
|
|
672
|
-
readonly required: false;
|
|
673
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
674
|
-
__epPropKey: true;
|
|
675
|
-
} & {
|
|
676
|
-
readonly default: true;
|
|
677
|
-
};
|
|
678
|
-
readonly showTimeout: {
|
|
679
|
-
readonly type: PropType<number>;
|
|
680
|
-
readonly required: false;
|
|
681
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
682
|
-
__epPropKey: true;
|
|
683
|
-
} & {
|
|
684
|
-
readonly default: 150;
|
|
685
|
-
};
|
|
686
|
-
readonly hideTimeout: {
|
|
687
|
-
readonly type: PropType<number>;
|
|
688
|
-
readonly required: false;
|
|
689
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
690
|
-
__epPropKey: true;
|
|
691
|
-
} & {
|
|
692
|
-
readonly default: 150;
|
|
693
|
-
};
|
|
694
|
-
readonly tabindex: {
|
|
695
|
-
readonly type: PropType<string | number>;
|
|
696
|
-
readonly required: false;
|
|
697
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
698
|
-
__epPropKey: true;
|
|
699
|
-
} & {
|
|
700
|
-
readonly default: 0;
|
|
701
|
-
};
|
|
702
|
-
readonly maxHeight: {
|
|
703
|
-
readonly type: PropType<string | number>;
|
|
704
|
-
readonly required: false;
|
|
705
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
706
|
-
__epPropKey: true;
|
|
707
|
-
} & {
|
|
708
|
-
readonly default: "";
|
|
709
|
-
};
|
|
577
|
+
readonly hideOnClick: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
578
|
+
readonly loop: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
579
|
+
readonly showArrow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
580
|
+
readonly showTimeout: EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
|
|
581
|
+
readonly hideTimeout: EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
|
|
582
|
+
readonly tabindex: EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
|
|
583
|
+
readonly maxHeight: EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
|
|
710
584
|
readonly popperClass: {
|
|
711
|
-
readonly type: PropType<string | {
|
|
585
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | {
|
|
586
|
+
[x: string]: boolean;
|
|
587
|
+
} | (string | {
|
|
588
|
+
[x: string]: boolean;
|
|
589
|
+
} | (string | {
|
|
590
|
+
[x: string]: boolean;
|
|
591
|
+
} | (string | {
|
|
592
|
+
[x: string]: boolean;
|
|
593
|
+
} | (string | {
|
|
594
|
+
[x: string]: boolean;
|
|
595
|
+
} | (string | {
|
|
596
|
+
[x: string]: boolean;
|
|
597
|
+
} | (string | {
|
|
598
|
+
[x: string]: boolean;
|
|
599
|
+
} | (string | {
|
|
600
|
+
[x: string]: boolean;
|
|
601
|
+
} | (string | {
|
|
602
|
+
[x: string]: boolean;
|
|
603
|
+
} | (string | {
|
|
604
|
+
[x: string]: boolean;
|
|
605
|
+
} | (string | {
|
|
606
|
+
[x: string]: boolean;
|
|
607
|
+
} | (string | {
|
|
608
|
+
[x: string]: boolean;
|
|
609
|
+
} | any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
|
|
610
|
+
[x: string]: boolean;
|
|
611
|
+
} | (string | {
|
|
612
|
+
[x: string]: boolean;
|
|
613
|
+
} | (string | {
|
|
614
|
+
[x: string]: boolean;
|
|
615
|
+
} | (string | {
|
|
616
|
+
[x: string]: boolean;
|
|
617
|
+
} | (string | {
|
|
618
|
+
[x: string]: boolean;
|
|
619
|
+
} | (string | {
|
|
620
|
+
[x: string]: boolean;
|
|
621
|
+
} | (string | {
|
|
622
|
+
[x: string]: boolean;
|
|
623
|
+
} | (string | {
|
|
624
|
+
[x: string]: boolean;
|
|
625
|
+
} | (string | {
|
|
626
|
+
[x: string]: boolean;
|
|
627
|
+
} | (string | {
|
|
628
|
+
[x: string]: boolean;
|
|
629
|
+
} | (string | {
|
|
630
|
+
[x: string]: boolean;
|
|
631
|
+
} | (string | {
|
|
632
|
+
[x: string]: boolean;
|
|
633
|
+
} | any)[])[])[])[])[])[])[])[])[])[])[]) | ((new (...args: any[]) => string | {
|
|
634
|
+
[x: string]: boolean;
|
|
635
|
+
} | (string | {
|
|
636
|
+
[x: string]: boolean;
|
|
637
|
+
} | (string | {
|
|
712
638
|
[x: string]: boolean;
|
|
713
639
|
} | (string | {
|
|
714
640
|
[x: string]: boolean;
|
|
@@ -728,9 +654,31 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
728
654
|
[x: string]: boolean;
|
|
729
655
|
} | (string | {
|
|
730
656
|
[x: string]: boolean;
|
|
731
|
-
} |
|
|
657
|
+
} | any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
|
|
658
|
+
[x: string]: boolean;
|
|
659
|
+
} | (string | {
|
|
660
|
+
[x: string]: boolean;
|
|
661
|
+
} | (string | {
|
|
662
|
+
[x: string]: boolean;
|
|
663
|
+
} | (string | {
|
|
664
|
+
[x: string]: boolean;
|
|
665
|
+
} | (string | {
|
|
666
|
+
[x: string]: boolean;
|
|
667
|
+
} | (string | {
|
|
668
|
+
[x: string]: boolean;
|
|
669
|
+
} | (string | {
|
|
670
|
+
[x: string]: boolean;
|
|
671
|
+
} | (string | {
|
|
672
|
+
[x: string]: boolean;
|
|
673
|
+
} | (string | {
|
|
732
674
|
[x: string]: boolean;
|
|
733
|
-
}
|
|
675
|
+
} | (string | {
|
|
676
|
+
[x: string]: boolean;
|
|
677
|
+
} | (string | {
|
|
678
|
+
[x: string]: boolean;
|
|
679
|
+
} | (string | {
|
|
680
|
+
[x: string]: boolean;
|
|
681
|
+
} | any)[])[])[])[])[])[])[])[])[])[])[]))[], unknown, unknown>>;
|
|
734
682
|
readonly required: false;
|
|
735
683
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
736
684
|
__epPropKey: true;
|
|
@@ -742,36 +690,15 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
742
690
|
__epPropKey: true;
|
|
743
691
|
};
|
|
744
692
|
readonly disabled: BooleanConstructor;
|
|
745
|
-
readonly role:
|
|
746
|
-
readonly type: PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation">;
|
|
747
|
-
readonly required: false;
|
|
748
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
749
|
-
__epPropKey: true;
|
|
750
|
-
} & {
|
|
751
|
-
readonly default: "menu";
|
|
752
|
-
};
|
|
693
|
+
readonly role: EpPropFinalized<StringConstructor, "dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation", unknown, "menu", boolean>;
|
|
753
694
|
readonly buttonProps: {
|
|
754
695
|
readonly type: PropType<Partial< ButtonProps>>;
|
|
755
696
|
readonly required: false;
|
|
756
697
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
757
698
|
__epPropKey: true;
|
|
758
699
|
};
|
|
759
|
-
readonly teleported:
|
|
760
|
-
|
|
761
|
-
readonly required: false;
|
|
762
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
763
|
-
__epPropKey: true;
|
|
764
|
-
} & {
|
|
765
|
-
readonly default: true;
|
|
766
|
-
};
|
|
767
|
-
readonly persistent: {
|
|
768
|
-
readonly type: PropType<boolean>;
|
|
769
|
-
readonly required: false;
|
|
770
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
771
|
-
__epPropKey: true;
|
|
772
|
-
} & {
|
|
773
|
-
readonly default: true;
|
|
774
|
-
};
|
|
700
|
+
readonly teleported: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
701
|
+
readonly persistent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
775
702
|
}>>>;
|
|
776
703
|
};
|
|
777
704
|
button: {
|
|
@@ -830,21 +757,13 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
830
757
|
dropdown: {
|
|
831
758
|
type: PropType<Partial< ExtractPropTypes<{
|
|
832
759
|
readonly trigger: {
|
|
833
|
-
readonly type: PropType<
|
|
760
|
+
readonly type: PropType<Arrayable<"click" | "contextmenu" | "hover">>;
|
|
834
761
|
readonly required: false;
|
|
835
762
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
836
|
-
__epPropKey: true;
|
|
837
|
-
} & {
|
|
763
|
+
readonly __epPropKey: true;
|
|
838
764
|
readonly default: "hover";
|
|
839
765
|
};
|
|
840
|
-
readonly triggerKeys:
|
|
841
|
-
readonly type: PropType<string[]>;
|
|
842
|
-
readonly required: false;
|
|
843
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
844
|
-
__epPropKey: true;
|
|
845
|
-
} & {
|
|
846
|
-
readonly default: () => string[];
|
|
847
|
-
};
|
|
766
|
+
readonly triggerKeys: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
848
767
|
readonly virtualTriggering: BooleanConstructor;
|
|
849
768
|
readonly virtualRef: {
|
|
850
769
|
readonly type: PropType<Measurable>;
|
|
@@ -854,101 +773,85 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
854
773
|
};
|
|
855
774
|
readonly effect: {
|
|
856
775
|
readonly default: "light";
|
|
857
|
-
readonly type: PropType<PopperEffect
|
|
776
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>>;
|
|
858
777
|
readonly required: false;
|
|
859
778
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
860
779
|
readonly __epPropKey: true;
|
|
861
780
|
};
|
|
862
781
|
readonly type: {
|
|
863
|
-
readonly type: PropType<"" | "primary" | "success" | "warning" | "info" | "danger" | "default" | "text"
|
|
782
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger") | (() => EpPropMergeType<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>) | ((new (...args: any[]) => "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger") | (() => EpPropMergeType<StringConstructor, "" | "text" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>))[], unknown, unknown>>;
|
|
864
783
|
readonly required: false;
|
|
865
784
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
866
785
|
__epPropKey: true;
|
|
867
786
|
};
|
|
868
|
-
readonly placement:
|
|
869
|
-
|
|
870
|
-
readonly required: false;
|
|
871
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
872
|
-
__epPropKey: true;
|
|
873
|
-
} & {
|
|
874
|
-
readonly default: "bottom";
|
|
875
|
-
};
|
|
876
|
-
readonly popperOptions: {
|
|
877
|
-
readonly type: PropType<any>;
|
|
878
|
-
readonly required: false;
|
|
879
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
880
|
-
__epPropKey: true;
|
|
881
|
-
} & {
|
|
882
|
-
readonly default: () => {};
|
|
883
|
-
};
|
|
787
|
+
readonly placement: EpPropFinalized<(new (...args: any[]) => "left" | "right" | "top" | "bottom" | "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[]) => "left" | "right" | "top" | "bottom" | "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>;
|
|
788
|
+
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
|
|
884
789
|
readonly id: StringConstructor;
|
|
885
|
-
readonly size:
|
|
886
|
-
readonly type: PropType<string>;
|
|
887
|
-
readonly required: false;
|
|
888
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
889
|
-
__epPropKey: true;
|
|
890
|
-
} & {
|
|
891
|
-
readonly default: "";
|
|
892
|
-
};
|
|
790
|
+
readonly size: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
893
791
|
readonly splitButton: BooleanConstructor;
|
|
894
|
-
readonly hideOnClick:
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
};
|
|
902
|
-
readonly loop: {
|
|
903
|
-
readonly type: PropType<boolean>;
|
|
904
|
-
readonly required: false;
|
|
905
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
906
|
-
__epPropKey: true;
|
|
907
|
-
} & {
|
|
908
|
-
readonly default: true;
|
|
909
|
-
};
|
|
910
|
-
readonly showArrow: {
|
|
911
|
-
readonly type: PropType<boolean>;
|
|
912
|
-
readonly required: false;
|
|
913
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
914
|
-
__epPropKey: true;
|
|
915
|
-
} & {
|
|
916
|
-
readonly default: true;
|
|
917
|
-
};
|
|
918
|
-
readonly showTimeout: {
|
|
919
|
-
readonly type: PropType<number>;
|
|
920
|
-
readonly required: false;
|
|
921
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
922
|
-
__epPropKey: true;
|
|
923
|
-
} & {
|
|
924
|
-
readonly default: 150;
|
|
925
|
-
};
|
|
926
|
-
readonly hideTimeout: {
|
|
927
|
-
readonly type: PropType<number>;
|
|
928
|
-
readonly required: false;
|
|
929
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
930
|
-
__epPropKey: true;
|
|
931
|
-
} & {
|
|
932
|
-
readonly default: 150;
|
|
933
|
-
};
|
|
934
|
-
readonly tabindex: {
|
|
935
|
-
readonly type: PropType<string | number>;
|
|
936
|
-
readonly required: false;
|
|
937
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
938
|
-
__epPropKey: true;
|
|
939
|
-
} & {
|
|
940
|
-
readonly default: 0;
|
|
941
|
-
};
|
|
942
|
-
readonly maxHeight: {
|
|
943
|
-
readonly type: PropType<string | number>;
|
|
944
|
-
readonly required: false;
|
|
945
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
946
|
-
__epPropKey: true;
|
|
947
|
-
} & {
|
|
948
|
-
readonly default: "";
|
|
949
|
-
};
|
|
792
|
+
readonly hideOnClick: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
793
|
+
readonly loop: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
794
|
+
readonly showArrow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
795
|
+
readonly showTimeout: EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
|
|
796
|
+
readonly hideTimeout: EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
|
|
797
|
+
readonly tabindex: EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, 0, boolean>;
|
|
798
|
+
readonly maxHeight: EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown, "", boolean>;
|
|
950
799
|
readonly popperClass: {
|
|
951
|
-
readonly type: PropType<string | {
|
|
800
|
+
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => string | {
|
|
801
|
+
[x: string]: boolean;
|
|
802
|
+
} | (string | {
|
|
803
|
+
[x: string]: boolean;
|
|
804
|
+
} | (string | {
|
|
805
|
+
[x: string]: boolean;
|
|
806
|
+
} | (string | {
|
|
807
|
+
[x: string]: boolean;
|
|
808
|
+
} | (string | {
|
|
809
|
+
[x: string]: boolean;
|
|
810
|
+
} | (string | {
|
|
811
|
+
[x: string]: boolean;
|
|
812
|
+
} | (string | {
|
|
813
|
+
[x: string]: boolean;
|
|
814
|
+
} | (string | {
|
|
815
|
+
[x: string]: boolean;
|
|
816
|
+
} | (string | {
|
|
817
|
+
[x: string]: boolean;
|
|
818
|
+
} | (string | {
|
|
819
|
+
[x: string]: boolean;
|
|
820
|
+
} | (string | {
|
|
821
|
+
[x: string]: boolean;
|
|
822
|
+
} | (string | {
|
|
823
|
+
[x: string]: boolean;
|
|
824
|
+
} | any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
|
|
825
|
+
[x: string]: boolean;
|
|
826
|
+
} | (string | {
|
|
827
|
+
[x: string]: boolean;
|
|
828
|
+
} | (string | {
|
|
829
|
+
[x: string]: boolean;
|
|
830
|
+
} | (string | {
|
|
831
|
+
[x: string]: boolean;
|
|
832
|
+
} | (string | {
|
|
833
|
+
[x: string]: boolean;
|
|
834
|
+
} | (string | {
|
|
835
|
+
[x: string]: boolean;
|
|
836
|
+
} | (string | {
|
|
837
|
+
[x: string]: boolean;
|
|
838
|
+
} | (string | {
|
|
839
|
+
[x: string]: boolean;
|
|
840
|
+
} | (string | {
|
|
841
|
+
[x: string]: boolean;
|
|
842
|
+
} | (string | {
|
|
843
|
+
[x: string]: boolean;
|
|
844
|
+
} | (string | {
|
|
845
|
+
[x: string]: boolean;
|
|
846
|
+
} | (string | {
|
|
847
|
+
[x: string]: boolean;
|
|
848
|
+
} | any)[])[])[])[])[])[])[])[])[])[])[]) | ((new (...args: any[]) => string | {
|
|
849
|
+
[x: string]: boolean;
|
|
850
|
+
} | (string | {
|
|
851
|
+
[x: string]: boolean;
|
|
852
|
+
} | (string | {
|
|
853
|
+
[x: string]: boolean;
|
|
854
|
+
} | (string | {
|
|
952
855
|
[x: string]: boolean;
|
|
953
856
|
} | (string | {
|
|
954
857
|
[x: string]: boolean;
|
|
@@ -966,11 +869,31 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
966
869
|
[x: string]: boolean;
|
|
967
870
|
} | (string | {
|
|
968
871
|
[x: string]: boolean;
|
|
872
|
+
} | any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
|
|
873
|
+
[x: string]: boolean;
|
|
969
874
|
} | (string | {
|
|
970
875
|
[x: string]: boolean;
|
|
971
|
-
} | (string |
|
|
876
|
+
} | (string | {
|
|
877
|
+
[x: string]: boolean;
|
|
878
|
+
} | (string | {
|
|
879
|
+
[x: string]: boolean;
|
|
880
|
+
} | (string | {
|
|
881
|
+
[x: string]: boolean;
|
|
882
|
+
} | (string | {
|
|
883
|
+
[x: string]: boolean;
|
|
884
|
+
} | (string | {
|
|
885
|
+
[x: string]: boolean;
|
|
886
|
+
} | (string | {
|
|
887
|
+
[x: string]: boolean;
|
|
888
|
+
} | (string | {
|
|
889
|
+
[x: string]: boolean;
|
|
890
|
+
} | (string | {
|
|
972
891
|
[x: string]: boolean;
|
|
973
|
-
}
|
|
892
|
+
} | (string | {
|
|
893
|
+
[x: string]: boolean;
|
|
894
|
+
} | (string | {
|
|
895
|
+
[x: string]: boolean;
|
|
896
|
+
} | any)[])[])[])[])[])[])[])[])[])[])[]))[], unknown, unknown>>;
|
|
974
897
|
readonly required: false;
|
|
975
898
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
976
899
|
__epPropKey: true;
|
|
@@ -982,36 +905,15 @@ declare const _default: DefineComponent<ExtractPropTypes<{
|
|
|
982
905
|
__epPropKey: true;
|
|
983
906
|
};
|
|
984
907
|
readonly disabled: BooleanConstructor;
|
|
985
|
-
readonly role:
|
|
986
|
-
readonly type: PropType<"dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation">;
|
|
987
|
-
readonly required: false;
|
|
988
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
989
|
-
__epPropKey: true;
|
|
990
|
-
} & {
|
|
991
|
-
readonly default: "menu";
|
|
992
|
-
};
|
|
908
|
+
readonly role: EpPropFinalized<StringConstructor, "dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation", unknown, "menu", boolean>;
|
|
993
909
|
readonly buttonProps: {
|
|
994
910
|
readonly type: PropType<Partial< ButtonProps>>;
|
|
995
911
|
readonly required: false;
|
|
996
912
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
997
913
|
__epPropKey: true;
|
|
998
914
|
};
|
|
999
|
-
readonly teleported:
|
|
1000
|
-
|
|
1001
|
-
readonly required: false;
|
|
1002
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1003
|
-
__epPropKey: true;
|
|
1004
|
-
} & {
|
|
1005
|
-
readonly default: true;
|
|
1006
|
-
};
|
|
1007
|
-
readonly persistent: {
|
|
1008
|
-
readonly type: PropType<boolean>;
|
|
1009
|
-
readonly required: false;
|
|
1010
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1011
|
-
__epPropKey: true;
|
|
1012
|
-
} & {
|
|
1013
|
-
readonly default: true;
|
|
1014
|
-
};
|
|
915
|
+
readonly teleported: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
916
|
+
readonly persistent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
1015
917
|
}>>>;
|
|
1016
918
|
};
|
|
1017
919
|
button: {
|