@aplus-frontend/ui 7.14.4 → 7.15.0

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.
Files changed (93) hide show
  1. package/es/src/ap-field/checkbox/index.vue.d.ts +3 -1
  2. package/es/src/ap-field/checkbox/index.vue.mjs +37 -31
  3. package/es/src/ap-field/date/index.vue.d.ts +1086 -6
  4. package/es/src/ap-field/date/index.vue.mjs +63 -57
  5. package/es/src/ap-field/date-range/index.vue.d.ts +1155 -4
  6. package/es/src/ap-field/date-range/index.vue.mjs +70 -63
  7. package/es/src/ap-field/interface.d.ts +25 -27
  8. package/es/src/ap-field/number/index.vue.d.ts +1 -1
  9. package/es/src/ap-field/radio/index.vue.d.ts +1 -2
  10. package/es/src/ap-field/radio/index.vue.mjs +36 -41
  11. package/es/src/ap-field/rate/index.vue.d.ts +1 -1
  12. package/es/src/ap-field/second/index.vue.d.ts +1 -1
  13. package/es/src/ap-field/select/index.vue.d.ts +5 -4
  14. package/es/src/ap-field/select/index.vue.mjs +126 -112
  15. package/es/src/ap-field/select/read.vue2.mjs +4 -3
  16. package/es/src/ap-field/slider/index.vue.d.ts +1 -1
  17. package/es/src/ap-field/switch/index.vue.d.ts +232 -4
  18. package/es/src/ap-field/switch/index.vue.mjs +48 -42
  19. package/es/src/ap-field/text/password.vue.d.ts +1 -1
  20. package/es/src/ap-field/text-area/index.vue.d.ts +1 -1
  21. package/es/src/ap-form/item-group/index.vue.d.ts +2 -4
  22. package/es/src/ap-form/item-group/index.vue.mjs +37 -42
  23. package/es/src/ap-form/items/checkbox/index.vue.d.ts +66 -5
  24. package/es/src/ap-form/items/checkbox/index.vue.mjs +20 -14
  25. package/es/src/ap-form/items/date/index.vue.d.ts +1497 -5
  26. package/es/src/ap-form/items/date/index.vue.mjs +25 -19
  27. package/es/src/ap-form/items/date-range/index.vue.d.ts +1607 -5
  28. package/es/src/ap-form/items/date-range/index.vue.mjs +25 -19
  29. package/es/src/ap-form/items/number/index.vue.d.ts +4 -4
  30. package/es/src/ap-form/items/radio/index.vue.d.ts +5 -10
  31. package/es/src/ap-form/items/radio/index.vue.mjs +14 -20
  32. package/es/src/ap-form/items/select/index.vue.d.ts +18 -12
  33. package/es/src/ap-form/items/switch/index.vue.d.ts +436 -5
  34. package/es/src/ap-form/items/switch/index.vue.mjs +24 -17
  35. package/es/src/ap-form/items/text/password.vue.d.ts +5 -5
  36. package/es/src/ap-form/items/text-area/index.vue.d.ts +5 -5
  37. package/es/src/ap-table/constants.d.ts +1923 -112
  38. package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +36 -36
  39. package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +28 -27
  40. package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +78 -81
  41. package/es/src/config-provider/config-provider-props.d.ts +3 -1
  42. package/es/src/config-provider/config-provider.d.ts +7 -28
  43. package/es/src/config-provider/hooks/use-global-config.d.ts +3 -10
  44. package/es/src/config-provider/index.d.ts +13 -55
  45. package/es/src/version.d.ts +1 -1
  46. package/es/src/version.mjs +1 -1
  47. package/lib/src/ap-field/checkbox/index.vue.d.ts +3 -1
  48. package/lib/src/ap-field/checkbox/index.vue.js +1 -1
  49. package/lib/src/ap-field/date/index.vue.d.ts +1086 -6
  50. package/lib/src/ap-field/date/index.vue.js +1 -1
  51. package/lib/src/ap-field/date-range/index.vue.d.ts +1155 -4
  52. package/lib/src/ap-field/date-range/index.vue.js +1 -1
  53. package/lib/src/ap-field/interface.d.ts +25 -27
  54. package/lib/src/ap-field/number/index.vue.d.ts +1 -1
  55. package/lib/src/ap-field/radio/index.vue.d.ts +1 -2
  56. package/lib/src/ap-field/radio/index.vue.js +1 -1
  57. package/lib/src/ap-field/rate/index.vue.d.ts +1 -1
  58. package/lib/src/ap-field/second/index.vue.d.ts +1 -1
  59. package/lib/src/ap-field/select/index.vue.d.ts +5 -4
  60. package/lib/src/ap-field/select/index.vue.js +1 -1
  61. package/lib/src/ap-field/select/read.vue2.js +1 -1
  62. package/lib/src/ap-field/slider/index.vue.d.ts +1 -1
  63. package/lib/src/ap-field/switch/index.vue.d.ts +232 -4
  64. package/lib/src/ap-field/switch/index.vue.js +1 -1
  65. package/lib/src/ap-field/text/password.vue.d.ts +1 -1
  66. package/lib/src/ap-field/text-area/index.vue.d.ts +1 -1
  67. package/lib/src/ap-form/item-group/index.vue.d.ts +2 -4
  68. package/lib/src/ap-form/item-group/index.vue.js +1 -1
  69. package/lib/src/ap-form/items/checkbox/index.vue.d.ts +66 -5
  70. package/lib/src/ap-form/items/checkbox/index.vue.js +1 -1
  71. package/lib/src/ap-form/items/date/index.vue.d.ts +1497 -5
  72. package/lib/src/ap-form/items/date/index.vue.js +1 -1
  73. package/lib/src/ap-form/items/date-range/index.vue.d.ts +1607 -5
  74. package/lib/src/ap-form/items/date-range/index.vue.js +1 -1
  75. package/lib/src/ap-form/items/number/index.vue.d.ts +4 -4
  76. package/lib/src/ap-form/items/radio/index.vue.d.ts +5 -10
  77. package/lib/src/ap-form/items/radio/index.vue.js +1 -1
  78. package/lib/src/ap-form/items/select/index.vue.d.ts +18 -12
  79. package/lib/src/ap-form/items/switch/index.vue.d.ts +436 -5
  80. package/lib/src/ap-form/items/switch/index.vue.js +1 -1
  81. package/lib/src/ap-form/items/text/password.vue.d.ts +5 -5
  82. package/lib/src/ap-form/items/text-area/index.vue.d.ts +5 -5
  83. package/lib/src/ap-table/constants.d.ts +1923 -112
  84. package/lib/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.js +1 -1
  85. package/lib/src/business/ap-button-group/ApButtonGroup.vue2.js +1 -1
  86. package/lib/src/business/ap-export-group/ApExportGroup.vue2.js +1 -1
  87. package/lib/src/config-provider/config-provider-props.d.ts +3 -1
  88. package/lib/src/config-provider/config-provider.d.ts +7 -28
  89. package/lib/src/config-provider/hooks/use-global-config.d.ts +3 -10
  90. package/lib/src/config-provider/index.d.ts +13 -55
  91. package/lib/src/version.d.ts +1 -1
  92. package/lib/src/version.js +1 -1
  93. package/package.json +1 -1
@@ -1,6 +1,14 @@
1
+ import { Dayjs } from 'dayjs';
1
2
  import { ApFormatPresetType } from '../date/interface';
2
3
  import { ApFieldDateRangeProps } from '../interface';
3
- import { DefineComponent, ComponentOptionsMixin, PublicProps, VNode, RendererNode, RendererElement, ComponentProvideOptions } from 'vue';
4
+ import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, CSSProperties, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent, VNode, RendererNode, RendererElement } from 'vue';
5
+ import { RangeDateRender, RangeType, RangeInfo } from '@aplus-frontend/antdv/es/vc-picker/RangePicker';
6
+ import { PresetDate, DisabledTimes, PanelMode, CustomFormat, PickerMode } from '@aplus-frontend/antdv/es/vc-picker/interface';
7
+ import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
8
+ import { SharedTimeProps } from '@aplus-frontend/antdv/es/vc-picker/panels/TimePanel';
9
+ import { FocusEventHandler, MouseEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
10
+ import { PickerLocale } from '@aplus-frontend/antdv/es/date-picker/generatePicker';
11
+ import { SizeType } from '@aplus-frontend/antdv/es/button';
4
12
  import { FieldMode } from '..';
5
13
  import { LiteralUnion } from '../../type';
6
14
  type ApFieldDateRangeSlots = {
@@ -22,11 +30,584 @@ type ApFieldDateRangeSlots = {
22
30
  declare function __VLS_template(): {
23
31
  attrs: Partial<{}>;
24
32
  slots: Readonly<ApFieldDateRangeSlots> & ApFieldDateRangeSlots;
25
- refs: {};
33
+ refs: {
34
+ rangePickerRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
35
+ allowEmpty: {
36
+ type: PropType<[boolean, boolean]>;
37
+ default: [boolean, boolean];
38
+ };
39
+ dateRender: {
40
+ type: PropType<RangeDateRender<Dayjs>>;
41
+ default: RangeDateRender<Dayjs>;
42
+ };
43
+ defaultPickerValue: {
44
+ type: PropType<[Dayjs, Dayjs] | [string, string]>;
45
+ default: [Dayjs, Dayjs] | [string, string];
46
+ };
47
+ defaultValue: {
48
+ type: PropType<[Dayjs, Dayjs] | [string, string]>;
49
+ default: [Dayjs, Dayjs] | [string, string];
50
+ };
51
+ value: {
52
+ type: PropType<[Dayjs, Dayjs] | [string, string]>;
53
+ default: [Dayjs, Dayjs] | [string, string];
54
+ };
55
+ presets: {
56
+ type: PropType< PresetDate<Dayjs[]>[]>;
57
+ default: PresetDate<Dayjs[]>[];
58
+ };
59
+ disabledTime: {
60
+ type: PropType<(date: Dayjs, type: RangeType) => DisabledTimes>;
61
+ default: (date: Dayjs, type: RangeType) => DisabledTimes;
62
+ };
63
+ disabled: {
64
+ type: PropType<boolean | [boolean, boolean]>;
65
+ default: boolean | [boolean, boolean];
66
+ };
67
+ renderExtraFooter: {
68
+ type: PropType<() => VueNode>;
69
+ default: () => VueNode;
70
+ };
71
+ separator: {
72
+ type: StringConstructor;
73
+ };
74
+ showTime: {
75
+ type: PropType<boolean | (Omit< SharedTimeProps<Dayjs>, "defaultValue"> & {
76
+ defaultValue?: Dayjs[];
77
+ })>;
78
+ default: boolean | (Omit< SharedTimeProps<Dayjs>, "defaultValue"> & {
79
+ defaultValue?: Dayjs[];
80
+ });
81
+ };
82
+ ranges: {
83
+ type: PropType<Record<string, [Dayjs, Dayjs] | (() => [Dayjs, Dayjs])>>;
84
+ default: Record<string, [Dayjs, Dayjs] | (() => [Dayjs, Dayjs])>;
85
+ };
86
+ placeholder: {
87
+ type: PropType<string[]>;
88
+ default: string[];
89
+ };
90
+ mode: {
91
+ type: PropType<[ PanelMode, PanelMode]>;
92
+ default: [ PanelMode, PanelMode];
93
+ };
94
+ onChange: {
95
+ type: PropType<(value: [Dayjs, Dayjs] | [string, string], dateString: [string, string]) => void>;
96
+ default: (value: [Dayjs, Dayjs] | [string, string], dateString: [string, string]) => void;
97
+ };
98
+ 'onUpdate:value': {
99
+ type: PropType<(value: [Dayjs, Dayjs] | [string, string]) => void>;
100
+ default: (value: [Dayjs, Dayjs] | [string, string]) => void;
101
+ };
102
+ onCalendarChange: {
103
+ type: PropType<(values: [Dayjs, Dayjs] | [string, string], formatString: [string, string], info: RangeInfo) => void>;
104
+ default: (values: [Dayjs, Dayjs] | [string, string], formatString: [string, string], info: RangeInfo) => void;
105
+ };
106
+ onPanelChange: {
107
+ type: PropType<(values: [Dayjs, Dayjs] | [string, string], modes: [ PanelMode, PanelMode]) => void>;
108
+ default: (values: [Dayjs, Dayjs] | [string, string], modes: [ PanelMode, PanelMode]) => void;
109
+ };
110
+ onOk: {
111
+ type: PropType<(dates: [Dayjs, Dayjs] | [string, string]) => void>;
112
+ default: (dates: [Dayjs, Dayjs] | [string, string]) => void;
113
+ };
114
+ id: StringConstructor;
115
+ dropdownClassName: StringConstructor;
116
+ popupClassName: StringConstructor;
117
+ popupStyle: {
118
+ type: PropType<CSSProperties>;
119
+ default: CSSProperties;
120
+ };
121
+ transitionName: StringConstructor;
122
+ allowClear: {
123
+ type: BooleanConstructor;
124
+ default: boolean;
125
+ };
126
+ autofocus: {
127
+ type: BooleanConstructor;
128
+ default: boolean;
129
+ };
130
+ tabindex: NumberConstructor;
131
+ open: {
132
+ type: BooleanConstructor;
133
+ default: boolean;
134
+ };
135
+ defaultOpen: {
136
+ type: BooleanConstructor;
137
+ default: boolean;
138
+ };
139
+ inputReadOnly: {
140
+ type: BooleanConstructor;
141
+ default: boolean;
142
+ };
143
+ format: {
144
+ type: PropType<string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[]>;
145
+ default: string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[];
146
+ };
147
+ getPopupContainer: {
148
+ type: PropType<(node: HTMLElement) => HTMLElement>;
149
+ default: (node: HTMLElement) => HTMLElement;
150
+ };
151
+ panelRender: {
152
+ type: PropType<(originPanel: VueNode) => VueNode>;
153
+ default: (originPanel: VueNode) => VueNode;
154
+ };
155
+ onOpenChange: {
156
+ type: PropType<(open: boolean) => void>;
157
+ default: (open: boolean) => void;
158
+ };
159
+ 'onUpdate:open': {
160
+ type: PropType<(open: boolean) => void>;
161
+ default: (open: boolean) => void;
162
+ };
163
+ onFocus: {
164
+ type: PropType<FocusEventHandler>;
165
+ default: FocusEventHandler;
166
+ };
167
+ onBlur: {
168
+ type: PropType<FocusEventHandler>;
169
+ default: FocusEventHandler;
170
+ };
171
+ onMousedown: {
172
+ type: PropType<MouseEventHandler>;
173
+ default: MouseEventHandler;
174
+ };
175
+ onMouseup: {
176
+ type: PropType<MouseEventHandler>;
177
+ default: MouseEventHandler;
178
+ };
179
+ onMouseenter: {
180
+ type: PropType<MouseEventHandler>;
181
+ default: MouseEventHandler;
182
+ };
183
+ onMouseleave: {
184
+ type: PropType<MouseEventHandler>;
185
+ default: MouseEventHandler;
186
+ };
187
+ onClick: {
188
+ type: PropType<MouseEventHandler>;
189
+ default: MouseEventHandler;
190
+ };
191
+ onContextmenu: {
192
+ type: PropType<MouseEventHandler>;
193
+ default: MouseEventHandler;
194
+ };
195
+ onKeydown: {
196
+ type: PropType<(event: KeyboardEvent, preventDefault: () => void) => void>;
197
+ default: (event: KeyboardEvent, preventDefault: () => void) => void;
198
+ };
199
+ role: StringConstructor;
200
+ name: StringConstructor;
201
+ autocomplete: StringConstructor;
202
+ direction: {
203
+ type: PropType<"rtl" | "ltr">;
204
+ default: "rtl" | "ltr";
205
+ };
206
+ showToday: {
207
+ type: BooleanConstructor;
208
+ default: boolean;
209
+ };
210
+ locale: {
211
+ type: PropType<PickerLocale>;
212
+ default: PickerLocale;
213
+ };
214
+ size: {
215
+ type: PropType<SizeType>;
216
+ default: SizeType;
217
+ };
218
+ bordered: {
219
+ type: BooleanConstructor;
220
+ default: boolean;
221
+ };
222
+ variant: {
223
+ type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
224
+ default: "filled" | "outlined" | "borderless" | "underlined";
225
+ };
226
+ disabledDate: {
227
+ type: PropType<(date: Dayjs) => boolean>;
228
+ default: (date: Dayjs) => boolean;
229
+ };
230
+ picker: {
231
+ type: PropType<PickerMode>;
232
+ default: PickerMode;
233
+ };
234
+ valueFormat: StringConstructor;
235
+ placement: {
236
+ type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
237
+ default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
238
+ };
239
+ status: {
240
+ type: PropType<"" | "error" | "warning">;
241
+ default: "" | "error" | "warning";
242
+ };
243
+ disabledHours: {
244
+ type: PropType<() => number[]>;
245
+ default: () => number[];
246
+ };
247
+ disabledMinutes: {
248
+ type: PropType<(hour: number) => number[]>;
249
+ default: (hour: number) => number[];
250
+ };
251
+ disabledSeconds: {
252
+ type: PropType<(hour: number, minute: number) => number[]>;
253
+ default: (hour: number, minute: number) => number[];
254
+ };
255
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
256
+ size: SizeType;
257
+ value: [Dayjs, Dayjs] | [string, string];
258
+ mode: [ PanelMode, PanelMode];
259
+ onMouseenter: MouseEventHandler;
260
+ onMouseleave: MouseEventHandler;
261
+ onClick: MouseEventHandler;
262
+ onFocus: FocusEventHandler;
263
+ onBlur: FocusEventHandler;
264
+ onChange: (value: [Dayjs, Dayjs] | [string, string], dateString: [string, string]) => void;
265
+ onKeydown: (event: KeyboardEvent, preventDefault: () => void) => void;
266
+ onContextmenu: MouseEventHandler;
267
+ onMousedown: MouseEventHandler;
268
+ onMouseup: MouseEventHandler;
269
+ open: boolean;
270
+ direction: "rtl" | "ltr";
271
+ disabled: boolean | [boolean, boolean];
272
+ disabledDate: (date: Dayjs) => boolean;
273
+ picker: PickerMode;
274
+ onPanelChange: (values: [Dayjs, Dayjs] | [string, string], modes: [ PanelMode, PanelMode]) => void;
275
+ locale: PickerLocale;
276
+ format: string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[];
277
+ disabledHours: () => number[];
278
+ disabledMinutes: (hour: number) => number[];
279
+ disabledSeconds: (hour: number, minute: number) => number[];
280
+ disabledTime: (date: Dayjs, type: RangeType) => DisabledTimes;
281
+ autofocus: boolean;
282
+ getPopupContainer: (node: HTMLElement) => HTMLElement;
283
+ variant: "filled" | "outlined" | "borderless" | "underlined";
284
+ placeholder: string[];
285
+ bordered: boolean;
286
+ 'onUpdate:value': (value: [Dayjs, Dayjs] | [string, string]) => void;
287
+ status: "" | "error" | "warning";
288
+ defaultValue: [Dayjs, Dayjs] | [string, string];
289
+ allowClear: boolean;
290
+ defaultOpen: boolean;
291
+ placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
292
+ popupStyle: CSSProperties;
293
+ onOpenChange: (open: boolean) => void;
294
+ 'onUpdate:open': (open: boolean) => void;
295
+ defaultPickerValue: [Dayjs, Dayjs] | [string, string];
296
+ dateRender: RangeDateRender<Dayjs>;
297
+ renderExtraFooter: () => VueNode;
298
+ onOk: (dates: [Dayjs, Dayjs] | [string, string]) => void;
299
+ inputReadOnly: boolean;
300
+ presets: PresetDate<Dayjs[]>[];
301
+ panelRender: (originPanel: VueNode) => VueNode;
302
+ showToday: boolean;
303
+ showTime: boolean | (Omit< SharedTimeProps<Dayjs>, "defaultValue"> & {
304
+ defaultValue?: Dayjs[];
305
+ });
306
+ ranges: Record<string, [Dayjs, Dayjs] | (() => [Dayjs, Dayjs])>;
307
+ allowEmpty: [boolean, boolean];
308
+ onCalendarChange: (values: [Dayjs, Dayjs] | [string, string], formatString: [string, string], info: RangeInfo) => void;
309
+ }, true, {}, CustomSlotsType<{
310
+ suffixIcon?: any;
311
+ prevIcon?: any;
312
+ nextIcon?: any;
313
+ superPrevIcon?: any;
314
+ superNextIcon?: any;
315
+ dateRender?: any;
316
+ renderExtraFooter?: any;
317
+ default?: any;
318
+ separator?: any;
319
+ clearIcon?: any;
320
+ }>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
321
+ P: {};
322
+ B: {};
323
+ D: {};
324
+ C: {};
325
+ M: {};
326
+ Defaults: {};
327
+ }, Readonly< ExtractPropTypes<{
328
+ allowEmpty: {
329
+ type: PropType<[boolean, boolean]>;
330
+ default: [boolean, boolean];
331
+ };
332
+ dateRender: {
333
+ type: PropType<RangeDateRender<Dayjs>>;
334
+ default: RangeDateRender<Dayjs>;
335
+ };
336
+ defaultPickerValue: {
337
+ type: PropType<[Dayjs, Dayjs] | [string, string]>;
338
+ default: [Dayjs, Dayjs] | [string, string];
339
+ };
340
+ defaultValue: {
341
+ type: PropType<[Dayjs, Dayjs] | [string, string]>;
342
+ default: [Dayjs, Dayjs] | [string, string];
343
+ };
344
+ value: {
345
+ type: PropType<[Dayjs, Dayjs] | [string, string]>;
346
+ default: [Dayjs, Dayjs] | [string, string];
347
+ };
348
+ presets: {
349
+ type: PropType< PresetDate<Dayjs[]>[]>;
350
+ default: PresetDate<Dayjs[]>[];
351
+ };
352
+ disabledTime: {
353
+ type: PropType<(date: Dayjs, type: RangeType) => DisabledTimes>;
354
+ default: (date: Dayjs, type: RangeType) => DisabledTimes;
355
+ };
356
+ disabled: {
357
+ type: PropType<boolean | [boolean, boolean]>;
358
+ default: boolean | [boolean, boolean];
359
+ };
360
+ renderExtraFooter: {
361
+ type: PropType<() => VueNode>;
362
+ default: () => VueNode;
363
+ };
364
+ separator: {
365
+ type: StringConstructor;
366
+ };
367
+ showTime: {
368
+ type: PropType<boolean | (Omit< SharedTimeProps<Dayjs>, "defaultValue"> & {
369
+ defaultValue?: Dayjs[];
370
+ })>;
371
+ default: boolean | (Omit< SharedTimeProps<Dayjs>, "defaultValue"> & {
372
+ defaultValue?: Dayjs[];
373
+ });
374
+ };
375
+ ranges: {
376
+ type: PropType<Record<string, [Dayjs, Dayjs] | (() => [Dayjs, Dayjs])>>;
377
+ default: Record<string, [Dayjs, Dayjs] | (() => [Dayjs, Dayjs])>;
378
+ };
379
+ placeholder: {
380
+ type: PropType<string[]>;
381
+ default: string[];
382
+ };
383
+ mode: {
384
+ type: PropType<[ PanelMode, PanelMode]>;
385
+ default: [ PanelMode, PanelMode];
386
+ };
387
+ onChange: {
388
+ type: PropType<(value: [Dayjs, Dayjs] | [string, string], dateString: [string, string]) => void>;
389
+ default: (value: [Dayjs, Dayjs] | [string, string], dateString: [string, string]) => void;
390
+ };
391
+ 'onUpdate:value': {
392
+ type: PropType<(value: [Dayjs, Dayjs] | [string, string]) => void>;
393
+ default: (value: [Dayjs, Dayjs] | [string, string]) => void;
394
+ };
395
+ onCalendarChange: {
396
+ type: PropType<(values: [Dayjs, Dayjs] | [string, string], formatString: [string, string], info: RangeInfo) => void>;
397
+ default: (values: [Dayjs, Dayjs] | [string, string], formatString: [string, string], info: RangeInfo) => void;
398
+ };
399
+ onPanelChange: {
400
+ type: PropType<(values: [Dayjs, Dayjs] | [string, string], modes: [ PanelMode, PanelMode]) => void>;
401
+ default: (values: [Dayjs, Dayjs] | [string, string], modes: [ PanelMode, PanelMode]) => void;
402
+ };
403
+ onOk: {
404
+ type: PropType<(dates: [Dayjs, Dayjs] | [string, string]) => void>;
405
+ default: (dates: [Dayjs, Dayjs] | [string, string]) => void;
406
+ };
407
+ id: StringConstructor;
408
+ dropdownClassName: StringConstructor;
409
+ popupClassName: StringConstructor;
410
+ popupStyle: {
411
+ type: PropType<CSSProperties>;
412
+ default: CSSProperties;
413
+ };
414
+ transitionName: StringConstructor;
415
+ allowClear: {
416
+ type: BooleanConstructor;
417
+ default: boolean;
418
+ };
419
+ autofocus: {
420
+ type: BooleanConstructor;
421
+ default: boolean;
422
+ };
423
+ tabindex: NumberConstructor;
424
+ open: {
425
+ type: BooleanConstructor;
426
+ default: boolean;
427
+ };
428
+ defaultOpen: {
429
+ type: BooleanConstructor;
430
+ default: boolean;
431
+ };
432
+ inputReadOnly: {
433
+ type: BooleanConstructor;
434
+ default: boolean;
435
+ };
436
+ format: {
437
+ type: PropType<string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[]>;
438
+ default: string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[];
439
+ };
440
+ getPopupContainer: {
441
+ type: PropType<(node: HTMLElement) => HTMLElement>;
442
+ default: (node: HTMLElement) => HTMLElement;
443
+ };
444
+ panelRender: {
445
+ type: PropType<(originPanel: VueNode) => VueNode>;
446
+ default: (originPanel: VueNode) => VueNode;
447
+ };
448
+ onOpenChange: {
449
+ type: PropType<(open: boolean) => void>;
450
+ default: (open: boolean) => void;
451
+ };
452
+ 'onUpdate:open': {
453
+ type: PropType<(open: boolean) => void>;
454
+ default: (open: boolean) => void;
455
+ };
456
+ onFocus: {
457
+ type: PropType<FocusEventHandler>;
458
+ default: FocusEventHandler;
459
+ };
460
+ onBlur: {
461
+ type: PropType<FocusEventHandler>;
462
+ default: FocusEventHandler;
463
+ };
464
+ onMousedown: {
465
+ type: PropType<MouseEventHandler>;
466
+ default: MouseEventHandler;
467
+ };
468
+ onMouseup: {
469
+ type: PropType<MouseEventHandler>;
470
+ default: MouseEventHandler;
471
+ };
472
+ onMouseenter: {
473
+ type: PropType<MouseEventHandler>;
474
+ default: MouseEventHandler;
475
+ };
476
+ onMouseleave: {
477
+ type: PropType<MouseEventHandler>;
478
+ default: MouseEventHandler;
479
+ };
480
+ onClick: {
481
+ type: PropType<MouseEventHandler>;
482
+ default: MouseEventHandler;
483
+ };
484
+ onContextmenu: {
485
+ type: PropType<MouseEventHandler>;
486
+ default: MouseEventHandler;
487
+ };
488
+ onKeydown: {
489
+ type: PropType<(event: KeyboardEvent, preventDefault: () => void) => void>;
490
+ default: (event: KeyboardEvent, preventDefault: () => void) => void;
491
+ };
492
+ role: StringConstructor;
493
+ name: StringConstructor;
494
+ autocomplete: StringConstructor;
495
+ direction: {
496
+ type: PropType<"rtl" | "ltr">;
497
+ default: "rtl" | "ltr";
498
+ };
499
+ showToday: {
500
+ type: BooleanConstructor;
501
+ default: boolean;
502
+ };
503
+ locale: {
504
+ type: PropType<PickerLocale>;
505
+ default: PickerLocale;
506
+ };
507
+ size: {
508
+ type: PropType<SizeType>;
509
+ default: SizeType;
510
+ };
511
+ bordered: {
512
+ type: BooleanConstructor;
513
+ default: boolean;
514
+ };
515
+ variant: {
516
+ type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
517
+ default: "filled" | "outlined" | "borderless" | "underlined";
518
+ };
519
+ disabledDate: {
520
+ type: PropType<(date: Dayjs) => boolean>;
521
+ default: (date: Dayjs) => boolean;
522
+ };
523
+ picker: {
524
+ type: PropType<PickerMode>;
525
+ default: PickerMode;
526
+ };
527
+ valueFormat: StringConstructor;
528
+ placement: {
529
+ type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
530
+ default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
531
+ };
532
+ status: {
533
+ type: PropType<"" | "error" | "warning">;
534
+ default: "" | "error" | "warning";
535
+ };
536
+ disabledHours: {
537
+ type: PropType<() => number[]>;
538
+ default: () => number[];
539
+ };
540
+ disabledMinutes: {
541
+ type: PropType<(hour: number) => number[]>;
542
+ default: (hour: number) => number[];
543
+ };
544
+ disabledSeconds: {
545
+ type: PropType<(hour: number, minute: number) => number[]>;
546
+ default: (hour: number, minute: number) => number[];
547
+ };
548
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
549
+ size: SizeType;
550
+ value: [Dayjs, Dayjs] | [string, string];
551
+ mode: [ PanelMode, PanelMode];
552
+ onMouseenter: MouseEventHandler;
553
+ onMouseleave: MouseEventHandler;
554
+ onClick: MouseEventHandler;
555
+ onFocus: FocusEventHandler;
556
+ onBlur: FocusEventHandler;
557
+ onChange: (value: [Dayjs, Dayjs] | [string, string], dateString: [string, string]) => void;
558
+ onKeydown: (event: KeyboardEvent, preventDefault: () => void) => void;
559
+ onContextmenu: MouseEventHandler;
560
+ onMousedown: MouseEventHandler;
561
+ onMouseup: MouseEventHandler;
562
+ open: boolean;
563
+ direction: "rtl" | "ltr";
564
+ disabled: boolean | [boolean, boolean];
565
+ disabledDate: (date: Dayjs) => boolean;
566
+ picker: PickerMode;
567
+ onPanelChange: (values: [Dayjs, Dayjs] | [string, string], modes: [ PanelMode, PanelMode]) => void;
568
+ locale: PickerLocale;
569
+ format: string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[];
570
+ disabledHours: () => number[];
571
+ disabledMinutes: (hour: number) => number[];
572
+ disabledSeconds: (hour: number, minute: number) => number[];
573
+ disabledTime: (date: Dayjs, type: RangeType) => DisabledTimes;
574
+ autofocus: boolean;
575
+ getPopupContainer: (node: HTMLElement) => HTMLElement;
576
+ variant: "filled" | "outlined" | "borderless" | "underlined";
577
+ placeholder: string[];
578
+ bordered: boolean;
579
+ 'onUpdate:value': (value: [Dayjs, Dayjs] | [string, string]) => void;
580
+ status: "" | "error" | "warning";
581
+ defaultValue: [Dayjs, Dayjs] | [string, string];
582
+ allowClear: boolean;
583
+ defaultOpen: boolean;
584
+ placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
585
+ popupStyle: CSSProperties;
586
+ onOpenChange: (open: boolean) => void;
587
+ 'onUpdate:open': (open: boolean) => void;
588
+ defaultPickerValue: [Dayjs, Dayjs] | [string, string];
589
+ dateRender: RangeDateRender<Dayjs>;
590
+ renderExtraFooter: () => VueNode;
591
+ onOk: (dates: [Dayjs, Dayjs] | [string, string]) => void;
592
+ inputReadOnly: boolean;
593
+ presets: PresetDate<Dayjs[]>[];
594
+ panelRender: (originPanel: VueNode) => VueNode;
595
+ showToday: boolean;
596
+ showTime: boolean | (Omit< SharedTimeProps<Dayjs>, "defaultValue"> & {
597
+ defaultValue?: Dayjs[];
598
+ });
599
+ ranges: Record<string, [Dayjs, Dayjs] | (() => [Dayjs, Dayjs])>;
600
+ allowEmpty: [boolean, boolean];
601
+ onCalendarChange: (values: [Dayjs, Dayjs] | [string, string], formatString: [string, string], info: RangeInfo) => void;
602
+ }> | null;
603
+ };
26
604
  rootEl: any;
27
605
  };
28
606
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
29
- declare const __VLS_component: DefineComponent<ApFieldDateRangeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
607
+ declare const __VLS_component: DefineComponent<ApFieldDateRangeProps, {
608
+ blur: () => void;
609
+ focus: () => void;
610
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
30
611
  "update:value": (...args: any[]) => void;
31
612
  }, string, PublicProps, Readonly<ApFieldDateRangeProps> & Readonly<{
32
613
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
@@ -62,7 +643,577 @@ declare const __VLS_component: DefineComponent<ApFieldDateRangeProps, {}, {}, {}
62
643
  emptyText: string;
63
644
  inputReadOnly: boolean;
64
645
  format: LiteralUnion<ApFormatPresetType, string>;
65
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
646
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
647
+ rangePickerRef: CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
648
+ allowEmpty: {
649
+ type: PropType<[boolean, boolean]>;
650
+ default: [boolean, boolean];
651
+ };
652
+ dateRender: {
653
+ type: PropType<RangeDateRender<Dayjs>>;
654
+ default: RangeDateRender<Dayjs>;
655
+ };
656
+ defaultPickerValue: {
657
+ type: PropType<[Dayjs, Dayjs] | [string, string]>;
658
+ default: [Dayjs, Dayjs] | [string, string];
659
+ };
660
+ defaultValue: {
661
+ type: PropType<[Dayjs, Dayjs] | [string, string]>;
662
+ default: [Dayjs, Dayjs] | [string, string];
663
+ };
664
+ value: {
665
+ type: PropType<[Dayjs, Dayjs] | [string, string]>;
666
+ default: [Dayjs, Dayjs] | [string, string];
667
+ };
668
+ presets: {
669
+ type: PropType< PresetDate<Dayjs[]>[]>;
670
+ default: PresetDate<Dayjs[]>[];
671
+ };
672
+ disabledTime: {
673
+ type: PropType<(date: Dayjs, type: RangeType) => DisabledTimes>;
674
+ default: (date: Dayjs, type: RangeType) => DisabledTimes;
675
+ };
676
+ disabled: {
677
+ type: PropType<boolean | [boolean, boolean]>;
678
+ default: boolean | [boolean, boolean];
679
+ };
680
+ renderExtraFooter: {
681
+ type: PropType<() => VueNode>;
682
+ default: () => VueNode;
683
+ };
684
+ separator: {
685
+ type: StringConstructor;
686
+ };
687
+ showTime: {
688
+ type: PropType<boolean | (Omit< SharedTimeProps<Dayjs>, "defaultValue"> & {
689
+ defaultValue?: Dayjs[];
690
+ })>;
691
+ default: boolean | (Omit< SharedTimeProps<Dayjs>, "defaultValue"> & {
692
+ defaultValue?: Dayjs[];
693
+ });
694
+ };
695
+ ranges: {
696
+ type: PropType<Record<string, [Dayjs, Dayjs] | (() => [Dayjs, Dayjs])>>;
697
+ default: Record<string, [Dayjs, Dayjs] | (() => [Dayjs, Dayjs])>;
698
+ };
699
+ placeholder: {
700
+ type: PropType<string[]>;
701
+ default: string[];
702
+ };
703
+ mode: {
704
+ type: PropType<[ PanelMode, PanelMode]>;
705
+ default: [ PanelMode, PanelMode];
706
+ };
707
+ onChange: {
708
+ type: PropType<(value: [Dayjs, Dayjs] | [string, string], dateString: [string, string]) => void>;
709
+ default: (value: [Dayjs, Dayjs] | [string, string], dateString: [string, string]) => void;
710
+ };
711
+ 'onUpdate:value': {
712
+ type: PropType<(value: [Dayjs, Dayjs] | [string, string]) => void>;
713
+ default: (value: [Dayjs, Dayjs] | [string, string]) => void;
714
+ };
715
+ onCalendarChange: {
716
+ type: PropType<(values: [Dayjs, Dayjs] | [string, string], formatString: [string, string], info: RangeInfo) => void>;
717
+ default: (values: [Dayjs, Dayjs] | [string, string], formatString: [string, string], info: RangeInfo) => void;
718
+ };
719
+ onPanelChange: {
720
+ type: PropType<(values: [Dayjs, Dayjs] | [string, string], modes: [ PanelMode, PanelMode]) => void>;
721
+ default: (values: [Dayjs, Dayjs] | [string, string], modes: [ PanelMode, PanelMode]) => void;
722
+ };
723
+ onOk: {
724
+ type: PropType<(dates: [Dayjs, Dayjs] | [string, string]) => void>;
725
+ default: (dates: [Dayjs, Dayjs] | [string, string]) => void;
726
+ };
727
+ id: StringConstructor;
728
+ dropdownClassName: StringConstructor;
729
+ popupClassName: StringConstructor;
730
+ popupStyle: {
731
+ type: PropType<CSSProperties>;
732
+ default: CSSProperties;
733
+ };
734
+ transitionName: StringConstructor;
735
+ allowClear: {
736
+ type: BooleanConstructor;
737
+ default: boolean;
738
+ };
739
+ autofocus: {
740
+ type: BooleanConstructor;
741
+ default: boolean;
742
+ };
743
+ tabindex: NumberConstructor;
744
+ open: {
745
+ type: BooleanConstructor;
746
+ default: boolean;
747
+ };
748
+ defaultOpen: {
749
+ type: BooleanConstructor;
750
+ default: boolean;
751
+ };
752
+ inputReadOnly: {
753
+ type: BooleanConstructor;
754
+ default: boolean;
755
+ };
756
+ format: {
757
+ type: PropType<string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[]>;
758
+ default: string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[];
759
+ };
760
+ getPopupContainer: {
761
+ type: PropType<(node: HTMLElement) => HTMLElement>;
762
+ default: (node: HTMLElement) => HTMLElement;
763
+ };
764
+ panelRender: {
765
+ type: PropType<(originPanel: VueNode) => VueNode>;
766
+ default: (originPanel: VueNode) => VueNode;
767
+ };
768
+ onOpenChange: {
769
+ type: PropType<(open: boolean) => void>;
770
+ default: (open: boolean) => void;
771
+ };
772
+ 'onUpdate:open': {
773
+ type: PropType<(open: boolean) => void>;
774
+ default: (open: boolean) => void;
775
+ };
776
+ onFocus: {
777
+ type: PropType<FocusEventHandler>;
778
+ default: FocusEventHandler;
779
+ };
780
+ onBlur: {
781
+ type: PropType<FocusEventHandler>;
782
+ default: FocusEventHandler;
783
+ };
784
+ onMousedown: {
785
+ type: PropType<MouseEventHandler>;
786
+ default: MouseEventHandler;
787
+ };
788
+ onMouseup: {
789
+ type: PropType<MouseEventHandler>;
790
+ default: MouseEventHandler;
791
+ };
792
+ onMouseenter: {
793
+ type: PropType<MouseEventHandler>;
794
+ default: MouseEventHandler;
795
+ };
796
+ onMouseleave: {
797
+ type: PropType<MouseEventHandler>;
798
+ default: MouseEventHandler;
799
+ };
800
+ onClick: {
801
+ type: PropType<MouseEventHandler>;
802
+ default: MouseEventHandler;
803
+ };
804
+ onContextmenu: {
805
+ type: PropType<MouseEventHandler>;
806
+ default: MouseEventHandler;
807
+ };
808
+ onKeydown: {
809
+ type: PropType<(event: KeyboardEvent, preventDefault: () => void) => void>;
810
+ default: (event: KeyboardEvent, preventDefault: () => void) => void;
811
+ };
812
+ role: StringConstructor;
813
+ name: StringConstructor;
814
+ autocomplete: StringConstructor;
815
+ direction: {
816
+ type: PropType<"rtl" | "ltr">;
817
+ default: "rtl" | "ltr";
818
+ };
819
+ showToday: {
820
+ type: BooleanConstructor;
821
+ default: boolean;
822
+ };
823
+ locale: {
824
+ type: PropType<PickerLocale>;
825
+ default: PickerLocale;
826
+ };
827
+ size: {
828
+ type: PropType<SizeType>;
829
+ default: SizeType;
830
+ };
831
+ bordered: {
832
+ type: BooleanConstructor;
833
+ default: boolean;
834
+ };
835
+ variant: {
836
+ type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
837
+ default: "filled" | "outlined" | "borderless" | "underlined";
838
+ };
839
+ disabledDate: {
840
+ type: PropType<(date: Dayjs) => boolean>;
841
+ default: (date: Dayjs) => boolean;
842
+ };
843
+ picker: {
844
+ type: PropType<PickerMode>;
845
+ default: PickerMode;
846
+ };
847
+ valueFormat: StringConstructor;
848
+ placement: {
849
+ type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
850
+ default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
851
+ };
852
+ status: {
853
+ type: PropType<"" | "error" | "warning">;
854
+ default: "" | "error" | "warning";
855
+ };
856
+ disabledHours: {
857
+ type: PropType<() => number[]>;
858
+ default: () => number[];
859
+ };
860
+ disabledMinutes: {
861
+ type: PropType<(hour: number) => number[]>;
862
+ default: (hour: number) => number[];
863
+ };
864
+ disabledSeconds: {
865
+ type: PropType<(hour: number, minute: number) => number[]>;
866
+ default: (hour: number, minute: number) => number[];
867
+ };
868
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
869
+ size: SizeType;
870
+ value: [Dayjs, Dayjs] | [string, string];
871
+ mode: [ PanelMode, PanelMode];
872
+ onMouseenter: MouseEventHandler;
873
+ onMouseleave: MouseEventHandler;
874
+ onClick: MouseEventHandler;
875
+ onFocus: FocusEventHandler;
876
+ onBlur: FocusEventHandler;
877
+ onChange: (value: [Dayjs, Dayjs] | [string, string], dateString: [string, string]) => void;
878
+ onKeydown: (event: KeyboardEvent, preventDefault: () => void) => void;
879
+ onContextmenu: MouseEventHandler;
880
+ onMousedown: MouseEventHandler;
881
+ onMouseup: MouseEventHandler;
882
+ open: boolean;
883
+ direction: "rtl" | "ltr";
884
+ disabled: boolean | [boolean, boolean];
885
+ disabledDate: (date: Dayjs) => boolean;
886
+ picker: PickerMode;
887
+ onPanelChange: (values: [Dayjs, Dayjs] | [string, string], modes: [ PanelMode, PanelMode]) => void;
888
+ locale: PickerLocale;
889
+ format: string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[];
890
+ disabledHours: () => number[];
891
+ disabledMinutes: (hour: number) => number[];
892
+ disabledSeconds: (hour: number, minute: number) => number[];
893
+ disabledTime: (date: Dayjs, type: RangeType) => DisabledTimes;
894
+ autofocus: boolean;
895
+ getPopupContainer: (node: HTMLElement) => HTMLElement;
896
+ variant: "filled" | "outlined" | "borderless" | "underlined";
897
+ placeholder: string[];
898
+ bordered: boolean;
899
+ 'onUpdate:value': (value: [Dayjs, Dayjs] | [string, string]) => void;
900
+ status: "" | "error" | "warning";
901
+ defaultValue: [Dayjs, Dayjs] | [string, string];
902
+ allowClear: boolean;
903
+ defaultOpen: boolean;
904
+ placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
905
+ popupStyle: CSSProperties;
906
+ onOpenChange: (open: boolean) => void;
907
+ 'onUpdate:open': (open: boolean) => void;
908
+ defaultPickerValue: [Dayjs, Dayjs] | [string, string];
909
+ dateRender: RangeDateRender<Dayjs>;
910
+ renderExtraFooter: () => VueNode;
911
+ onOk: (dates: [Dayjs, Dayjs] | [string, string]) => void;
912
+ inputReadOnly: boolean;
913
+ presets: PresetDate<Dayjs[]>[];
914
+ panelRender: (originPanel: VueNode) => VueNode;
915
+ showToday: boolean;
916
+ showTime: boolean | (Omit< SharedTimeProps<Dayjs>, "defaultValue"> & {
917
+ defaultValue?: Dayjs[];
918
+ });
919
+ ranges: Record<string, [Dayjs, Dayjs] | (() => [Dayjs, Dayjs])>;
920
+ allowEmpty: [boolean, boolean];
921
+ onCalendarChange: (values: [Dayjs, Dayjs] | [string, string], formatString: [string, string], info: RangeInfo) => void;
922
+ }, true, {}, CustomSlotsType<{
923
+ suffixIcon?: any;
924
+ prevIcon?: any;
925
+ nextIcon?: any;
926
+ superPrevIcon?: any;
927
+ superNextIcon?: any;
928
+ dateRender?: any;
929
+ renderExtraFooter?: any;
930
+ default?: any;
931
+ separator?: any;
932
+ clearIcon?: any;
933
+ }>, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
934
+ P: {};
935
+ B: {};
936
+ D: {};
937
+ C: {};
938
+ M: {};
939
+ Defaults: {};
940
+ }, Readonly< ExtractPropTypes<{
941
+ allowEmpty: {
942
+ type: PropType<[boolean, boolean]>;
943
+ default: [boolean, boolean];
944
+ };
945
+ dateRender: {
946
+ type: PropType<RangeDateRender<Dayjs>>;
947
+ default: RangeDateRender<Dayjs>;
948
+ };
949
+ defaultPickerValue: {
950
+ type: PropType<[Dayjs, Dayjs] | [string, string]>;
951
+ default: [Dayjs, Dayjs] | [string, string];
952
+ };
953
+ defaultValue: {
954
+ type: PropType<[Dayjs, Dayjs] | [string, string]>;
955
+ default: [Dayjs, Dayjs] | [string, string];
956
+ };
957
+ value: {
958
+ type: PropType<[Dayjs, Dayjs] | [string, string]>;
959
+ default: [Dayjs, Dayjs] | [string, string];
960
+ };
961
+ presets: {
962
+ type: PropType< PresetDate<Dayjs[]>[]>;
963
+ default: PresetDate<Dayjs[]>[];
964
+ };
965
+ disabledTime: {
966
+ type: PropType<(date: Dayjs, type: RangeType) => DisabledTimes>;
967
+ default: (date: Dayjs, type: RangeType) => DisabledTimes;
968
+ };
969
+ disabled: {
970
+ type: PropType<boolean | [boolean, boolean]>;
971
+ default: boolean | [boolean, boolean];
972
+ };
973
+ renderExtraFooter: {
974
+ type: PropType<() => VueNode>;
975
+ default: () => VueNode;
976
+ };
977
+ separator: {
978
+ type: StringConstructor;
979
+ };
980
+ showTime: {
981
+ type: PropType<boolean | (Omit< SharedTimeProps<Dayjs>, "defaultValue"> & {
982
+ defaultValue?: Dayjs[];
983
+ })>;
984
+ default: boolean | (Omit< SharedTimeProps<Dayjs>, "defaultValue"> & {
985
+ defaultValue?: Dayjs[];
986
+ });
987
+ };
988
+ ranges: {
989
+ type: PropType<Record<string, [Dayjs, Dayjs] | (() => [Dayjs, Dayjs])>>;
990
+ default: Record<string, [Dayjs, Dayjs] | (() => [Dayjs, Dayjs])>;
991
+ };
992
+ placeholder: {
993
+ type: PropType<string[]>;
994
+ default: string[];
995
+ };
996
+ mode: {
997
+ type: PropType<[ PanelMode, PanelMode]>;
998
+ default: [ PanelMode, PanelMode];
999
+ };
1000
+ onChange: {
1001
+ type: PropType<(value: [Dayjs, Dayjs] | [string, string], dateString: [string, string]) => void>;
1002
+ default: (value: [Dayjs, Dayjs] | [string, string], dateString: [string, string]) => void;
1003
+ };
1004
+ 'onUpdate:value': {
1005
+ type: PropType<(value: [Dayjs, Dayjs] | [string, string]) => void>;
1006
+ default: (value: [Dayjs, Dayjs] | [string, string]) => void;
1007
+ };
1008
+ onCalendarChange: {
1009
+ type: PropType<(values: [Dayjs, Dayjs] | [string, string], formatString: [string, string], info: RangeInfo) => void>;
1010
+ default: (values: [Dayjs, Dayjs] | [string, string], formatString: [string, string], info: RangeInfo) => void;
1011
+ };
1012
+ onPanelChange: {
1013
+ type: PropType<(values: [Dayjs, Dayjs] | [string, string], modes: [ PanelMode, PanelMode]) => void>;
1014
+ default: (values: [Dayjs, Dayjs] | [string, string], modes: [ PanelMode, PanelMode]) => void;
1015
+ };
1016
+ onOk: {
1017
+ type: PropType<(dates: [Dayjs, Dayjs] | [string, string]) => void>;
1018
+ default: (dates: [Dayjs, Dayjs] | [string, string]) => void;
1019
+ };
1020
+ id: StringConstructor;
1021
+ dropdownClassName: StringConstructor;
1022
+ popupClassName: StringConstructor;
1023
+ popupStyle: {
1024
+ type: PropType<CSSProperties>;
1025
+ default: CSSProperties;
1026
+ };
1027
+ transitionName: StringConstructor;
1028
+ allowClear: {
1029
+ type: BooleanConstructor;
1030
+ default: boolean;
1031
+ };
1032
+ autofocus: {
1033
+ type: BooleanConstructor;
1034
+ default: boolean;
1035
+ };
1036
+ tabindex: NumberConstructor;
1037
+ open: {
1038
+ type: BooleanConstructor;
1039
+ default: boolean;
1040
+ };
1041
+ defaultOpen: {
1042
+ type: BooleanConstructor;
1043
+ default: boolean;
1044
+ };
1045
+ inputReadOnly: {
1046
+ type: BooleanConstructor;
1047
+ default: boolean;
1048
+ };
1049
+ format: {
1050
+ type: PropType<string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[]>;
1051
+ default: string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[];
1052
+ };
1053
+ getPopupContainer: {
1054
+ type: PropType<(node: HTMLElement) => HTMLElement>;
1055
+ default: (node: HTMLElement) => HTMLElement;
1056
+ };
1057
+ panelRender: {
1058
+ type: PropType<(originPanel: VueNode) => VueNode>;
1059
+ default: (originPanel: VueNode) => VueNode;
1060
+ };
1061
+ onOpenChange: {
1062
+ type: PropType<(open: boolean) => void>;
1063
+ default: (open: boolean) => void;
1064
+ };
1065
+ 'onUpdate:open': {
1066
+ type: PropType<(open: boolean) => void>;
1067
+ default: (open: boolean) => void;
1068
+ };
1069
+ onFocus: {
1070
+ type: PropType<FocusEventHandler>;
1071
+ default: FocusEventHandler;
1072
+ };
1073
+ onBlur: {
1074
+ type: PropType<FocusEventHandler>;
1075
+ default: FocusEventHandler;
1076
+ };
1077
+ onMousedown: {
1078
+ type: PropType<MouseEventHandler>;
1079
+ default: MouseEventHandler;
1080
+ };
1081
+ onMouseup: {
1082
+ type: PropType<MouseEventHandler>;
1083
+ default: MouseEventHandler;
1084
+ };
1085
+ onMouseenter: {
1086
+ type: PropType<MouseEventHandler>;
1087
+ default: MouseEventHandler;
1088
+ };
1089
+ onMouseleave: {
1090
+ type: PropType<MouseEventHandler>;
1091
+ default: MouseEventHandler;
1092
+ };
1093
+ onClick: {
1094
+ type: PropType<MouseEventHandler>;
1095
+ default: MouseEventHandler;
1096
+ };
1097
+ onContextmenu: {
1098
+ type: PropType<MouseEventHandler>;
1099
+ default: MouseEventHandler;
1100
+ };
1101
+ onKeydown: {
1102
+ type: PropType<(event: KeyboardEvent, preventDefault: () => void) => void>;
1103
+ default: (event: KeyboardEvent, preventDefault: () => void) => void;
1104
+ };
1105
+ role: StringConstructor;
1106
+ name: StringConstructor;
1107
+ autocomplete: StringConstructor;
1108
+ direction: {
1109
+ type: PropType<"rtl" | "ltr">;
1110
+ default: "rtl" | "ltr";
1111
+ };
1112
+ showToday: {
1113
+ type: BooleanConstructor;
1114
+ default: boolean;
1115
+ };
1116
+ locale: {
1117
+ type: PropType<PickerLocale>;
1118
+ default: PickerLocale;
1119
+ };
1120
+ size: {
1121
+ type: PropType<SizeType>;
1122
+ default: SizeType;
1123
+ };
1124
+ bordered: {
1125
+ type: BooleanConstructor;
1126
+ default: boolean;
1127
+ };
1128
+ variant: {
1129
+ type: PropType<"filled" | "outlined" | "borderless" | "underlined">;
1130
+ default: "filled" | "outlined" | "borderless" | "underlined";
1131
+ };
1132
+ disabledDate: {
1133
+ type: PropType<(date: Dayjs) => boolean>;
1134
+ default: (date: Dayjs) => boolean;
1135
+ };
1136
+ picker: {
1137
+ type: PropType<PickerMode>;
1138
+ default: PickerMode;
1139
+ };
1140
+ valueFormat: StringConstructor;
1141
+ placement: {
1142
+ type: PropType<"bottomLeft" | "bottomRight" | "topLeft" | "topRight">;
1143
+ default: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
1144
+ };
1145
+ status: {
1146
+ type: PropType<"" | "error" | "warning">;
1147
+ default: "" | "error" | "warning";
1148
+ };
1149
+ disabledHours: {
1150
+ type: PropType<() => number[]>;
1151
+ default: () => number[];
1152
+ };
1153
+ disabledMinutes: {
1154
+ type: PropType<(hour: number) => number[]>;
1155
+ default: (hour: number) => number[];
1156
+ };
1157
+ disabledSeconds: {
1158
+ type: PropType<(hour: number, minute: number) => number[]>;
1159
+ default: (hour: number, minute: number) => number[];
1160
+ };
1161
+ }>> & Readonly<{}>, () => VueNode, {}, {}, {}, {
1162
+ size: SizeType;
1163
+ value: [Dayjs, Dayjs] | [string, string];
1164
+ mode: [ PanelMode, PanelMode];
1165
+ onMouseenter: MouseEventHandler;
1166
+ onMouseleave: MouseEventHandler;
1167
+ onClick: MouseEventHandler;
1168
+ onFocus: FocusEventHandler;
1169
+ onBlur: FocusEventHandler;
1170
+ onChange: (value: [Dayjs, Dayjs] | [string, string], dateString: [string, string]) => void;
1171
+ onKeydown: (event: KeyboardEvent, preventDefault: () => void) => void;
1172
+ onContextmenu: MouseEventHandler;
1173
+ onMousedown: MouseEventHandler;
1174
+ onMouseup: MouseEventHandler;
1175
+ open: boolean;
1176
+ direction: "rtl" | "ltr";
1177
+ disabled: boolean | [boolean, boolean];
1178
+ disabledDate: (date: Dayjs) => boolean;
1179
+ picker: PickerMode;
1180
+ onPanelChange: (values: [Dayjs, Dayjs] | [string, string], modes: [ PanelMode, PanelMode]) => void;
1181
+ locale: PickerLocale;
1182
+ format: string | CustomFormat<Dayjs> | (string | CustomFormat<Dayjs>)[];
1183
+ disabledHours: () => number[];
1184
+ disabledMinutes: (hour: number) => number[];
1185
+ disabledSeconds: (hour: number, minute: number) => number[];
1186
+ disabledTime: (date: Dayjs, type: RangeType) => DisabledTimes;
1187
+ autofocus: boolean;
1188
+ getPopupContainer: (node: HTMLElement) => HTMLElement;
1189
+ variant: "filled" | "outlined" | "borderless" | "underlined";
1190
+ placeholder: string[];
1191
+ bordered: boolean;
1192
+ 'onUpdate:value': (value: [Dayjs, Dayjs] | [string, string]) => void;
1193
+ status: "" | "error" | "warning";
1194
+ defaultValue: [Dayjs, Dayjs] | [string, string];
1195
+ allowClear: boolean;
1196
+ defaultOpen: boolean;
1197
+ placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight";
1198
+ popupStyle: CSSProperties;
1199
+ onOpenChange: (open: boolean) => void;
1200
+ 'onUpdate:open': (open: boolean) => void;
1201
+ defaultPickerValue: [Dayjs, Dayjs] | [string, string];
1202
+ dateRender: RangeDateRender<Dayjs>;
1203
+ renderExtraFooter: () => VueNode;
1204
+ onOk: (dates: [Dayjs, Dayjs] | [string, string]) => void;
1205
+ inputReadOnly: boolean;
1206
+ presets: PresetDate<Dayjs[]>[];
1207
+ panelRender: (originPanel: VueNode) => VueNode;
1208
+ showToday: boolean;
1209
+ showTime: boolean | (Omit< SharedTimeProps<Dayjs>, "defaultValue"> & {
1210
+ defaultValue?: Dayjs[];
1211
+ });
1212
+ ranges: Record<string, [Dayjs, Dayjs] | (() => [Dayjs, Dayjs])>;
1213
+ allowEmpty: [boolean, boolean];
1214
+ onCalendarChange: (values: [Dayjs, Dayjs] | [string, string], formatString: [string, string], info: RangeInfo) => void;
1215
+ }> | null;
1216
+ }, any>;
66
1217
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
67
1218
  export default _default;
68
1219
  type __VLS_WithTemplateSlots<T, S> = T & {