@vtj/ui 0.12.16 → 0.12.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +2 -2
- package/dist/index.umd.js +2 -2
- package/package.json +3 -3
- package/types/components/action/Action.d.ts +732 -104
- package/types/components/action/hooks.d.ts +122 -19
- package/types/components/action-bar/ActionBar.d.ts +488 -70
- package/types/components/attachment/Attachment.d.ts +743 -434
- package/types/components/data-item/DataItem.d.ts +488 -70
- package/types/components/dialog-form/DialogForm.d.ts +2536 -101
- package/types/components/field/Field.d.ts +224 -86
- package/types/components/form/Form.d.ts +2536 -101
- package/types/components/grid/renderers/components/DateEdit.d.ts +291 -69
- package/types/components/grid/renderers/components/GridEdit.d.ts +191 -65
- package/types/components/grid/renderers/components/PickerEdit.d.ts +367 -117
- package/types/components/grid-editor/GridEditor.d.ts +191 -65
- package/types/components/mask/Mask.d.ts +488 -70
- package/types/components/picker/Picker.d.ts +367 -117
- package/types/components/query-form/QueryForm.d.ts +5070 -199
- package/types/components/tabs/Tabs.d.ts +244 -36
- package/types/version.d.ts +2 -2
@@ -1,19 +1,38 @@
|
|
1
1
|
import { VxeGlobalRendererHandles } from '../../types';
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, GlobalComponents, GlobalDirectives } from 'vue';
|
3
|
-
import {
|
4
|
-
import { IDatePickerType } from 'element-plus/es/components/date-picker/src/date-picker.type.mjs';
|
5
|
-
import { Placement, GetDisabledHours, GetDisabledMinutes, GetDisabledSeconds, SingleOrRange, Options, DateModelType, ModelValueType } from 'element-plus';
|
3
|
+
import { GetDisabledHours, GetDisabledMinutes, GetDisabledSeconds, SingleOrRange, ModelValueType } from 'element-plus';
|
6
4
|
export interface Props {
|
7
5
|
params: VxeGlobalRendererHandles.RenderEditParams;
|
8
6
|
renderOpts: VxeGlobalRendererHandles.RenderEditOptions;
|
9
7
|
}
|
10
8
|
declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
11
9
|
elRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
12
|
-
readonly type:
|
13
|
-
|
10
|
+
readonly type: {
|
11
|
+
readonly type: PropType<"date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange">;
|
12
|
+
readonly required: false;
|
13
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
14
|
+
__epPropKey: true;
|
15
|
+
} & {
|
16
|
+
readonly default: "date";
|
17
|
+
};
|
18
|
+
readonly showNow: {
|
19
|
+
readonly type: PropType<boolean>;
|
20
|
+
readonly required: false;
|
21
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
22
|
+
__epPropKey: true;
|
23
|
+
} & {
|
24
|
+
readonly default: true;
|
25
|
+
};
|
14
26
|
readonly ariaLabel: StringConstructor;
|
15
27
|
readonly emptyValues: ArrayConstructor;
|
16
|
-
readonly valueOnClear:
|
28
|
+
readonly valueOnClear: {
|
29
|
+
readonly type: PropType<string | number | boolean | Function>;
|
30
|
+
readonly required: false;
|
31
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
32
|
+
__epPropKey: true;
|
33
|
+
} & {
|
34
|
+
readonly default: undefined;
|
35
|
+
};
|
17
36
|
readonly disabledDate: {
|
18
37
|
readonly type: PropType<Function>;
|
19
38
|
readonly required: false;
|
@@ -26,13 +45,48 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
26
45
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
27
46
|
__epPropKey: true;
|
28
47
|
};
|
29
|
-
readonly shortcuts:
|
48
|
+
readonly shortcuts: {
|
49
|
+
readonly type: PropType<unknown[]>;
|
50
|
+
readonly required: false;
|
51
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
52
|
+
__epPropKey: true;
|
53
|
+
} & {
|
54
|
+
readonly default: () => never[];
|
55
|
+
};
|
30
56
|
readonly arrowControl: BooleanConstructor;
|
31
|
-
readonly tabindex:
|
32
|
-
|
57
|
+
readonly tabindex: {
|
58
|
+
readonly type: PropType<string | number>;
|
59
|
+
readonly required: false;
|
60
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
61
|
+
__epPropKey: true;
|
62
|
+
} & {
|
63
|
+
readonly default: 0;
|
64
|
+
};
|
65
|
+
readonly validateEvent: {
|
66
|
+
readonly type: PropType<boolean>;
|
67
|
+
readonly required: false;
|
68
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
69
|
+
__epPropKey: true;
|
70
|
+
} & {
|
71
|
+
readonly default: true;
|
72
|
+
};
|
33
73
|
readonly unlinkPanels: BooleanConstructor;
|
34
|
-
readonly placement:
|
35
|
-
|
74
|
+
readonly placement: {
|
75
|
+
readonly type: PropType<any>;
|
76
|
+
readonly required: false;
|
77
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
78
|
+
__epPropKey: true;
|
79
|
+
} & {
|
80
|
+
readonly default: "bottom";
|
81
|
+
};
|
82
|
+
readonly fallbackPlacements: {
|
83
|
+
readonly type: PropType<Placement[]>;
|
84
|
+
readonly required: false;
|
85
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
86
|
+
__epPropKey: true;
|
87
|
+
} & {
|
88
|
+
readonly default: readonly ["bottom", "top", "right", "left"];
|
89
|
+
};
|
36
90
|
readonly disabledHours: {
|
37
91
|
readonly type: PropType<GetDisabledHours>;
|
38
92
|
readonly required: false;
|
@@ -52,53 +106,109 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
52
106
|
__epPropKey: true;
|
53
107
|
};
|
54
108
|
readonly id: {
|
55
|
-
readonly type: PropType<
|
109
|
+
readonly type: PropType<SingleOrRange<string>>;
|
56
110
|
readonly required: false;
|
57
111
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
58
112
|
__epPropKey: true;
|
59
113
|
};
|
60
114
|
readonly name: {
|
61
|
-
readonly type: PropType<
|
115
|
+
readonly type: PropType<SingleOrRange<string>>;
|
62
116
|
readonly required: false;
|
63
117
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
64
118
|
__epPropKey: true;
|
65
119
|
};
|
66
|
-
readonly popperClass:
|
120
|
+
readonly popperClass: {
|
121
|
+
readonly type: PropType<string>;
|
122
|
+
readonly required: false;
|
123
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
124
|
+
__epPropKey: true;
|
125
|
+
} & {
|
126
|
+
readonly default: "";
|
127
|
+
};
|
67
128
|
readonly format: StringConstructor;
|
68
129
|
readonly valueFormat: StringConstructor;
|
69
130
|
readonly dateFormat: StringConstructor;
|
70
131
|
readonly timeFormat: StringConstructor;
|
71
|
-
readonly clearable:
|
132
|
+
readonly clearable: {
|
133
|
+
readonly type: PropType<boolean>;
|
134
|
+
readonly required: false;
|
135
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
136
|
+
__epPropKey: true;
|
137
|
+
} & {
|
138
|
+
readonly default: true;
|
139
|
+
};
|
72
140
|
readonly clearIcon: {
|
73
|
-
readonly type: PropType<
|
141
|
+
readonly type: PropType<string | Component>;
|
142
|
+
readonly required: false;
|
143
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
144
|
+
__epPropKey: true;
|
145
|
+
};
|
146
|
+
readonly editable: {
|
147
|
+
readonly type: PropType<boolean>;
|
148
|
+
readonly required: false;
|
149
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
150
|
+
__epPropKey: true;
|
151
|
+
} & {
|
152
|
+
readonly default: true;
|
153
|
+
};
|
154
|
+
readonly prefixIcon: {
|
155
|
+
readonly type: PropType<string | Component>;
|
74
156
|
readonly required: false;
|
75
157
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
76
158
|
__epPropKey: true;
|
159
|
+
} & {
|
160
|
+
readonly default: "";
|
77
161
|
};
|
78
|
-
readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
79
|
-
readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown, "", boolean>;
|
80
162
|
readonly size: {
|
81
|
-
readonly type: PropType<
|
163
|
+
readonly type: PropType<"" | "large" | "default" | "small">;
|
82
164
|
readonly required: false;
|
83
165
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
84
166
|
__epPropKey: true;
|
85
167
|
};
|
86
168
|
readonly readonly: BooleanConstructor;
|
87
169
|
readonly disabled: BooleanConstructor;
|
88
|
-
readonly placeholder:
|
89
|
-
|
90
|
-
|
91
|
-
|
170
|
+
readonly placeholder: {
|
171
|
+
readonly type: PropType<string>;
|
172
|
+
readonly required: false;
|
173
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
174
|
+
__epPropKey: true;
|
175
|
+
} & {
|
176
|
+
readonly default: "";
|
177
|
+
};
|
178
|
+
readonly popperOptions: {
|
179
|
+
readonly type: PropType<any>;
|
180
|
+
readonly required: false;
|
181
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
182
|
+
__epPropKey: true;
|
183
|
+
} & {
|
184
|
+
readonly default: () => {};
|
185
|
+
};
|
186
|
+
readonly modelValue: {
|
187
|
+
readonly type: PropType<ModelValueType>;
|
188
|
+
readonly required: false;
|
189
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
190
|
+
__epPropKey: true;
|
191
|
+
} & {
|
192
|
+
readonly default: "";
|
193
|
+
};
|
194
|
+
readonly rangeSeparator: {
|
195
|
+
readonly type: PropType<string>;
|
196
|
+
readonly required: false;
|
197
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
198
|
+
__epPropKey: true;
|
199
|
+
} & {
|
200
|
+
readonly default: "-";
|
201
|
+
};
|
92
202
|
readonly startPlaceholder: StringConstructor;
|
93
203
|
readonly endPlaceholder: StringConstructor;
|
94
204
|
readonly defaultValue: {
|
95
|
-
readonly type: PropType<
|
205
|
+
readonly type: PropType<SingleOrRange<Date>>;
|
96
206
|
readonly required: false;
|
97
207
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
98
208
|
__epPropKey: true;
|
99
209
|
};
|
100
210
|
readonly defaultTime: {
|
101
|
-
readonly type: PropType<
|
211
|
+
readonly type: PropType<SingleOrRange<Date>>;
|
102
212
|
readonly required: false;
|
103
213
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
104
214
|
__epPropKey: true;
|
@@ -108,23 +218,23 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
108
218
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
109
219
|
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], VNodeProps & AllowedComponentProps & ComponentCustomProps, {
|
110
220
|
readonly disabled: boolean;
|
111
|
-
readonly type:
|
221
|
+
readonly type: "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange";
|
112
222
|
readonly placeholder: string;
|
113
|
-
readonly modelValue:
|
114
|
-
readonly placement:
|
115
|
-
readonly tabindex:
|
116
|
-
readonly valueOnClear:
|
223
|
+
readonly modelValue: ModelValueType;
|
224
|
+
readonly placement: any;
|
225
|
+
readonly tabindex: string | number;
|
226
|
+
readonly valueOnClear: string | number | boolean | Function;
|
117
227
|
readonly readonly: boolean;
|
118
|
-
readonly prefixIcon:
|
119
|
-
readonly validateEvent:
|
120
|
-
readonly clearable:
|
228
|
+
readonly prefixIcon: string | Component;
|
229
|
+
readonly validateEvent: boolean;
|
230
|
+
readonly clearable: boolean;
|
121
231
|
readonly fallbackPlacements: Placement[];
|
122
|
-
readonly popperOptions: Partial<
|
232
|
+
readonly popperOptions: Partial<Options>;
|
123
233
|
readonly popperClass: string;
|
124
|
-
readonly editable:
|
234
|
+
readonly editable: boolean;
|
125
235
|
readonly rangeSeparator: string;
|
126
236
|
readonly shortcuts: unknown[];
|
127
|
-
readonly showNow:
|
237
|
+
readonly showNow: boolean;
|
128
238
|
readonly arrowControl: boolean;
|
129
239
|
readonly unlinkPanels: boolean;
|
130
240
|
readonly isRange: boolean;
|
@@ -136,11 +246,32 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
136
246
|
M: {};
|
137
247
|
Defaults: {};
|
138
248
|
}, Readonly< ExtractPropTypes<{
|
139
|
-
readonly type:
|
140
|
-
|
249
|
+
readonly type: {
|
250
|
+
readonly type: PropType<"date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange">;
|
251
|
+
readonly required: false;
|
252
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
253
|
+
__epPropKey: true;
|
254
|
+
} & {
|
255
|
+
readonly default: "date";
|
256
|
+
};
|
257
|
+
readonly showNow: {
|
258
|
+
readonly type: PropType<boolean>;
|
259
|
+
readonly required: false;
|
260
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
261
|
+
__epPropKey: true;
|
262
|
+
} & {
|
263
|
+
readonly default: true;
|
264
|
+
};
|
141
265
|
readonly ariaLabel: StringConstructor;
|
142
266
|
readonly emptyValues: ArrayConstructor;
|
143
|
-
readonly valueOnClear:
|
267
|
+
readonly valueOnClear: {
|
268
|
+
readonly type: PropType<string | number | boolean | Function>;
|
269
|
+
readonly required: false;
|
270
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
271
|
+
__epPropKey: true;
|
272
|
+
} & {
|
273
|
+
readonly default: undefined;
|
274
|
+
};
|
144
275
|
readonly disabledDate: {
|
145
276
|
readonly type: PropType<Function>;
|
146
277
|
readonly required: false;
|
@@ -153,13 +284,48 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
153
284
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
154
285
|
__epPropKey: true;
|
155
286
|
};
|
156
|
-
readonly shortcuts:
|
287
|
+
readonly shortcuts: {
|
288
|
+
readonly type: PropType<unknown[]>;
|
289
|
+
readonly required: false;
|
290
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
291
|
+
__epPropKey: true;
|
292
|
+
} & {
|
293
|
+
readonly default: () => never[];
|
294
|
+
};
|
157
295
|
readonly arrowControl: BooleanConstructor;
|
158
|
-
readonly tabindex:
|
159
|
-
|
296
|
+
readonly tabindex: {
|
297
|
+
readonly type: PropType<string | number>;
|
298
|
+
readonly required: false;
|
299
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
300
|
+
__epPropKey: true;
|
301
|
+
} & {
|
302
|
+
readonly default: 0;
|
303
|
+
};
|
304
|
+
readonly validateEvent: {
|
305
|
+
readonly type: PropType<boolean>;
|
306
|
+
readonly required: false;
|
307
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
308
|
+
__epPropKey: true;
|
309
|
+
} & {
|
310
|
+
readonly default: true;
|
311
|
+
};
|
160
312
|
readonly unlinkPanels: BooleanConstructor;
|
161
|
-
readonly placement:
|
162
|
-
|
313
|
+
readonly placement: {
|
314
|
+
readonly type: PropType<any>;
|
315
|
+
readonly required: false;
|
316
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
317
|
+
__epPropKey: true;
|
318
|
+
} & {
|
319
|
+
readonly default: "bottom";
|
320
|
+
};
|
321
|
+
readonly fallbackPlacements: {
|
322
|
+
readonly type: PropType<Placement[]>;
|
323
|
+
readonly required: false;
|
324
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
325
|
+
__epPropKey: true;
|
326
|
+
} & {
|
327
|
+
readonly default: readonly ["bottom", "top", "right", "left"];
|
328
|
+
};
|
163
329
|
readonly disabledHours: {
|
164
330
|
readonly type: PropType<GetDisabledHours>;
|
165
331
|
readonly required: false;
|
@@ -179,53 +345,109 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
179
345
|
__epPropKey: true;
|
180
346
|
};
|
181
347
|
readonly id: {
|
182
|
-
readonly type: PropType<
|
348
|
+
readonly type: PropType<SingleOrRange<string>>;
|
183
349
|
readonly required: false;
|
184
350
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
185
351
|
__epPropKey: true;
|
186
352
|
};
|
187
353
|
readonly name: {
|
188
|
-
readonly type: PropType<
|
354
|
+
readonly type: PropType<SingleOrRange<string>>;
|
189
355
|
readonly required: false;
|
190
356
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
191
357
|
__epPropKey: true;
|
192
358
|
};
|
193
|
-
readonly popperClass:
|
359
|
+
readonly popperClass: {
|
360
|
+
readonly type: PropType<string>;
|
361
|
+
readonly required: false;
|
362
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
363
|
+
__epPropKey: true;
|
364
|
+
} & {
|
365
|
+
readonly default: "";
|
366
|
+
};
|
194
367
|
readonly format: StringConstructor;
|
195
368
|
readonly valueFormat: StringConstructor;
|
196
369
|
readonly dateFormat: StringConstructor;
|
197
370
|
readonly timeFormat: StringConstructor;
|
198
|
-
readonly clearable:
|
371
|
+
readonly clearable: {
|
372
|
+
readonly type: PropType<boolean>;
|
373
|
+
readonly required: false;
|
374
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
375
|
+
__epPropKey: true;
|
376
|
+
} & {
|
377
|
+
readonly default: true;
|
378
|
+
};
|
199
379
|
readonly clearIcon: {
|
200
|
-
readonly type: PropType<
|
380
|
+
readonly type: PropType<string | Component>;
|
381
|
+
readonly required: false;
|
382
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
383
|
+
__epPropKey: true;
|
384
|
+
};
|
385
|
+
readonly editable: {
|
386
|
+
readonly type: PropType<boolean>;
|
387
|
+
readonly required: false;
|
388
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
389
|
+
__epPropKey: true;
|
390
|
+
} & {
|
391
|
+
readonly default: true;
|
392
|
+
};
|
393
|
+
readonly prefixIcon: {
|
394
|
+
readonly type: PropType<string | Component>;
|
201
395
|
readonly required: false;
|
202
396
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
203
397
|
__epPropKey: true;
|
398
|
+
} & {
|
399
|
+
readonly default: "";
|
204
400
|
};
|
205
|
-
readonly editable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
206
|
-
readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown, "", boolean>;
|
207
401
|
readonly size: {
|
208
|
-
readonly type: PropType<
|
402
|
+
readonly type: PropType<"" | "large" | "default" | "small">;
|
209
403
|
readonly required: false;
|
210
404
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
211
405
|
__epPropKey: true;
|
212
406
|
};
|
213
407
|
readonly readonly: BooleanConstructor;
|
214
408
|
readonly disabled: BooleanConstructor;
|
215
|
-
readonly placeholder:
|
216
|
-
|
217
|
-
|
218
|
-
|
409
|
+
readonly placeholder: {
|
410
|
+
readonly type: PropType<string>;
|
411
|
+
readonly required: false;
|
412
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
413
|
+
__epPropKey: true;
|
414
|
+
} & {
|
415
|
+
readonly default: "";
|
416
|
+
};
|
417
|
+
readonly popperOptions: {
|
418
|
+
readonly type: PropType<any>;
|
419
|
+
readonly required: false;
|
420
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
421
|
+
__epPropKey: true;
|
422
|
+
} & {
|
423
|
+
readonly default: () => {};
|
424
|
+
};
|
425
|
+
readonly modelValue: {
|
426
|
+
readonly type: PropType<ModelValueType>;
|
427
|
+
readonly required: false;
|
428
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
429
|
+
__epPropKey: true;
|
430
|
+
} & {
|
431
|
+
readonly default: "";
|
432
|
+
};
|
433
|
+
readonly rangeSeparator: {
|
434
|
+
readonly type: PropType<string>;
|
435
|
+
readonly required: false;
|
436
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
437
|
+
__epPropKey: true;
|
438
|
+
} & {
|
439
|
+
readonly default: "-";
|
440
|
+
};
|
219
441
|
readonly startPlaceholder: StringConstructor;
|
220
442
|
readonly endPlaceholder: StringConstructor;
|
221
443
|
readonly defaultValue: {
|
222
|
-
readonly type: PropType<
|
444
|
+
readonly type: PropType<SingleOrRange<Date>>;
|
223
445
|
readonly required: false;
|
224
446
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
225
447
|
__epPropKey: true;
|
226
448
|
};
|
227
449
|
readonly defaultTime: {
|
228
|
-
readonly type: PropType<
|
450
|
+
readonly type: PropType<SingleOrRange<Date>>;
|
229
451
|
readonly required: false;
|
230
452
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
231
453
|
__epPropKey: true;
|
@@ -235,23 +457,23 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
235
457
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
236
458
|
}, () => JSX.Element, {}, {}, {}, {
|
237
459
|
readonly disabled: boolean;
|
238
|
-
readonly type:
|
460
|
+
readonly type: "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange";
|
239
461
|
readonly placeholder: string;
|
240
|
-
readonly modelValue:
|
241
|
-
readonly placement:
|
242
|
-
readonly tabindex:
|
243
|
-
readonly valueOnClear:
|
462
|
+
readonly modelValue: ModelValueType;
|
463
|
+
readonly placement: any;
|
464
|
+
readonly tabindex: string | number;
|
465
|
+
readonly valueOnClear: string | number | boolean | Function;
|
244
466
|
readonly readonly: boolean;
|
245
|
-
readonly prefixIcon:
|
246
|
-
readonly validateEvent:
|
247
|
-
readonly clearable:
|
467
|
+
readonly prefixIcon: string | Component;
|
468
|
+
readonly validateEvent: boolean;
|
469
|
+
readonly clearable: boolean;
|
248
470
|
readonly fallbackPlacements: Placement[];
|
249
|
-
readonly popperOptions: Partial<
|
471
|
+
readonly popperOptions: Partial<Options>;
|
250
472
|
readonly popperClass: string;
|
251
|
-
readonly editable:
|
473
|
+
readonly editable: boolean;
|
252
474
|
readonly rangeSeparator: string;
|
253
475
|
readonly shortcuts: unknown[];
|
254
|
-
readonly showNow:
|
476
|
+
readonly showNow: boolean;
|
255
477
|
readonly arrowControl: boolean;
|
256
478
|
readonly unlinkPanels: boolean;
|
257
479
|
readonly isRange: boolean;
|