@sdata/web-vue 2.2.1 → 2.3.1

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 (83) hide show
  1. package/es/_components/picker/input-range.vue.d.ts +2 -2
  2. package/es/_utils/date.d.ts +10 -9
  3. package/es/_utils/date.js +23 -7
  4. package/es/anchor/anchor.vue.d.ts +52 -2
  5. package/es/anchor/anchor.vue_vue_type_script_setup_true_lang.js +75 -15
  6. package/es/anchor/index.d.ts +75 -0
  7. package/es/button/button.vue.d.ts +16 -3
  8. package/es/button/button.vue_vue_type_script_setup_true_lang.js +39 -9
  9. package/es/button/index.d.ts +19 -0
  10. package/es/button/interface.d.ts +1 -0
  11. package/es/config-provider/config-provider.vue.d.ts +9 -0
  12. package/es/config-provider/config-provider.vue_vue_type_script_setup_true_lang.js +10 -1
  13. package/es/config-provider/context.d.ts +1 -0
  14. package/es/config-provider/index.d.ts +15 -0
  15. package/es/copy/copy.vue_vue_type_script_setup_true_lang.js +1 -0
  16. package/es/date-picker/hooks/use-cell-class-name.d.ts +1 -0
  17. package/es/date-picker/hooks/use-cell-class-name.js +3 -2
  18. package/es/date-picker/hooks/use-header-value.d.ts +2 -0
  19. package/es/date-picker/hooks/use-header-value.js +23 -19
  20. package/es/date-picker/hooks/use-picker-state.d.ts +2 -0
  21. package/es/date-picker/hooks/use-picker-state.js +3 -3
  22. package/es/date-picker/hooks/use-range-header-value.d.ts +2 -0
  23. package/es/date-picker/hooks/use-range-header-value.js +5 -1
  24. package/es/date-picker/hooks/use-range-picker-state.d.ts +2 -0
  25. package/es/date-picker/hooks/use-range-picker-state.js +3 -3
  26. package/es/date-picker/hooks/use-value-format.d.ts +5 -3
  27. package/es/date-picker/hooks/use-value-format.js +10 -8
  28. package/es/date-picker/index.d.ts +1361 -0
  29. package/es/date-picker/interface.d.ts +7 -0
  30. package/es/date-picker/panels/body.vue.d.ts +24 -6
  31. package/es/date-picker/panels/body.vue_vue_type_script_setup_true_lang.js +13 -12
  32. package/es/date-picker/panels/date/index.vue.d.ts +26 -8
  33. package/es/date-picker/panels/date/index.vue_vue_type_script_setup_true_lang.js +18 -9
  34. package/es/date-picker/panels/header.vue_vue_type_script_setup_true_lang.js +13 -20
  35. package/es/date-picker/panels/month/index.vue.d.ts +13 -8
  36. package/es/date-picker/panels/month/index.vue_vue_type_script_setup_true_lang.js +6 -6
  37. package/es/date-picker/panels/quarter/index.vue.d.ts +13 -8
  38. package/es/date-picker/panels/quarter/index.vue_vue_type_script_setup_true_lang.js +6 -6
  39. package/es/date-picker/panels/shortcuts.vue_vue_type_script_setup_true_lang.js +2 -6
  40. package/es/date-picker/panels/week/index.vue.d.ts +13 -1
  41. package/es/date-picker/panels/week/index.vue_vue_type_script_setup_true_lang.js +5 -2
  42. package/es/date-picker/panels/year/index.vue.d.ts +13 -8
  43. package/es/date-picker/panels/year/index.vue_vue_type_script_setup_true_lang.js +25 -15
  44. package/es/date-picker/picker-panel.vue.d.ts +56 -14
  45. package/es/date-picker/picker-panel.vue_vue_type_script_setup_true_lang.js +36 -19
  46. package/es/date-picker/picker.vue.d.ts +949 -1
  47. package/es/date-picker/picker.vue_vue_type_script_setup_true_lang.js +91 -29
  48. package/es/date-picker/range-picker-panel.vue.d.ts +77 -15
  49. package/es/date-picker/range-picker-panel.vue_vue_type_script_setup_true_lang.js +52 -28
  50. package/es/date-picker/range-picker.vue.d.ts +1345 -1
  51. package/es/date-picker/range-picker.vue_vue_type_script_setup_true_lang.js +114 -34
  52. package/es/image/preview-toolbar.vue.d.ts +2 -3
  53. package/es/image/preview-toolbar.vue_vue_type_script_setup_true_lang.js +2 -3
  54. package/es/locale/interface.d.ts +2 -0
  55. package/es/locale/lang/ar-eg.js +46 -0
  56. package/es/locale/lang/de-de.js +46 -0
  57. package/es/locale/lang/es-es.js +46 -0
  58. package/es/locale/lang/fr-fr.js +46 -0
  59. package/es/locale/lang/id-id.js +46 -0
  60. package/es/locale/lang/it-it.js +46 -0
  61. package/es/locale/lang/km-kh.js +46 -0
  62. package/es/locale/lang/ko-kr.js +46 -0
  63. package/es/locale/lang/ms-my.js +46 -0
  64. package/es/locale/lang/pt-pt.js +46 -0
  65. package/es/locale/lang/th-th.js +46 -0
  66. package/es/locale/lang/vi-vn.js +46 -0
  67. package/es/mention/mention.js +2 -0
  68. package/es/menu/sub-menu-pop.vue_vue_type_script_setup_true_lang.js +3 -4
  69. package/es/modal/index.d.ts +7 -5
  70. package/es/modal/index.js +47 -11
  71. package/es/modal/interface.d.ts +5 -0
  72. package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +2 -2
  73. package/es/tree/base-node.vue_vue_type_script_setup_true_lang.js +6 -21
  74. package/es/tree/node-switcher.vue.d.ts +0 -11
  75. package/es/tree/node-switcher.vue_vue_type_script_lang.js +1 -5
  76. package/es/trigger/trigger.js +2 -1
  77. package/es/verification-code/verification-code.js +17 -7
  78. package/json/vetur-attributes.json +53 -0
  79. package/json/vetur-tags.json +14 -0
  80. package/json/web-types.json +113 -1
  81. package/package.json +1 -1
  82. package/es/_components/render-function.d.ts +0 -14
  83. package/es/_components/render-function.js +0 -14
@@ -1,15 +1,938 @@
1
1
  import { PropType } from 'vue';
2
+ import { Dayjs } from 'dayjs';
2
3
  import { Size } from '../_utils/constant';
3
4
  import { TimePickerProps } from '../time-picker/interface';
4
5
  import { TriggerProps } from '../trigger';
5
6
  import { DisabledTimeProps, ShortcutType, FormatFunc, CalendarValue, WeekStart } from './interface';
6
- declare var __VLS_10: {}, __VLS_26: {}, __VLS_29: {};
7
+ declare function onPanelSelect(value: Dayjs): void;
8
+ declare function onPanelCellClick(value: Dayjs): void;
9
+ declare function onTimePickerSelect(time: Dayjs): void;
10
+ declare function onPanelConfirm(): void;
11
+ declare function onPanelShortcutMouseEnter(value: Dayjs): void;
12
+ declare function onPanelShortcutMouseLeave(): void;
13
+ declare function onPanelShortcutClick(value: Dayjs, shortcut: ShortcutType): void;
14
+ declare function onPanelHeaderLabelClick(type: 'year' | 'month'): void;
15
+ declare function onMonthHeaderClick(): void;
16
+ declare function onPanelHeaderSelect(date: Dayjs): void;
17
+ declare var __VLS_10: {}, __VLS_26: {}, __VLS_29: {}, __VLS_37: {
18
+ component: {
19
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
20
+ mode: {
21
+ type: StringConstructor;
22
+ };
23
+ headerMode: {
24
+ type: PropType<"year" | "month">;
25
+ };
26
+ prefixCls: {
27
+ type: StringConstructor;
28
+ required: true;
29
+ };
30
+ value: {
31
+ type: PropType<Dayjs>;
32
+ };
33
+ headerValue: {
34
+ type: PropType<Dayjs>;
35
+ required: true;
36
+ };
37
+ timePickerValue: {
38
+ type: PropType<Dayjs>;
39
+ };
40
+ showTime: {
41
+ type: BooleanConstructor;
42
+ };
43
+ showConfirmBtn: {
44
+ type: BooleanConstructor;
45
+ };
46
+ shortcuts: {
47
+ type: PropType<ShortcutType[]>;
48
+ default: () => never[];
49
+ };
50
+ shortcutsPosition: {
51
+ type: PropType<"left" | "bottom" | "right">;
52
+ default: string;
53
+ };
54
+ format: {
55
+ type: StringConstructor;
56
+ required: true;
57
+ };
58
+ dayStartOfWeek: {
59
+ type: PropType<WeekStart>;
60
+ default: number;
61
+ };
62
+ disabledDate: {
63
+ type: PropType<import("./interface").DisabledDate>;
64
+ };
65
+ disabledTime: {
66
+ type: PropType<import("./interface").DisabledTime>;
67
+ };
68
+ timePickerProps: {
69
+ type: PropType<Partial<TimePickerProps>>;
70
+ };
71
+ hideTrigger: {
72
+ type: BooleanConstructor;
73
+ };
74
+ confirmBtnDisabled: {
75
+ type: BooleanConstructor;
76
+ };
77
+ showNowBtn: {
78
+ type: BooleanConstructor;
79
+ };
80
+ headerIcons: {
81
+ type: PropType<import("./interface").HeaderIcons>;
82
+ default: () => {};
83
+ };
84
+ headerOperations: {
85
+ type: PropType<import("./interface").HeaderOperations>;
86
+ };
87
+ abbreviation: {
88
+ type: BooleanConstructor;
89
+ };
90
+ hideNotInViewDates: {
91
+ type: BooleanConstructor;
92
+ };
93
+ utcOffset: {
94
+ type: NumberConstructor;
95
+ };
96
+ timezone: {
97
+ type: StringConstructor;
98
+ };
99
+ now: {
100
+ type: PropType<Dayjs>;
101
+ };
102
+ }>> & Readonly<{
103
+ onConfirm?: (() => any) | undefined;
104
+ "onCell-click"?: ((_date: Dayjs) => any) | undefined;
105
+ "onTime-picker-select"?: ((_time: Dayjs) => any) | undefined;
106
+ "onToday-btn-click"?: ((_value: Dayjs) => any) | undefined;
107
+ "onShortcut-click"?: ((_value: Dayjs, _shortcut: ShortcutType) => any) | undefined;
108
+ "onShortcut-mouse-enter"?: ((_value: Dayjs) => any) | undefined;
109
+ "onShortcut-mouse-leave"?: ((_value: Dayjs) => any) | undefined;
110
+ "onHeader-label-click"?: ((_type: "month" | "year") => any) | undefined;
111
+ "onHeader-select"?: ((_date: Dayjs) => any) | undefined;
112
+ "onMonth-header-click"?: (() => any) | undefined;
113
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
114
+ confirm: () => any;
115
+ "cell-click": (_date: Dayjs) => any;
116
+ "time-picker-select": (_time: Dayjs) => any;
117
+ "today-btn-click": (_value: Dayjs) => any;
118
+ "shortcut-click": (_value: Dayjs, _shortcut: ShortcutType) => any;
119
+ "shortcut-mouse-enter": (_value: Dayjs) => any;
120
+ "shortcut-mouse-leave": (_value: Dayjs) => any;
121
+ "header-label-click": (_type: "month" | "year") => any;
122
+ "header-select": (_date: Dayjs) => any;
123
+ "month-header-click": () => any;
124
+ }, import("vue").PublicProps, {
125
+ showTime: boolean;
126
+ hideNotInViewDates: boolean;
127
+ headerIcons: import("./interface").HeaderIcons;
128
+ dayStartOfWeek: WeekStart;
129
+ showConfirmBtn: boolean;
130
+ confirmBtnDisabled: boolean;
131
+ abbreviation: boolean;
132
+ shortcuts: ShortcutType[];
133
+ showNowBtn: boolean;
134
+ shortcutsPosition: "bottom" | "left" | "right";
135
+ hideTrigger: boolean;
136
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
137
+ P: {};
138
+ B: {};
139
+ D: {};
140
+ C: {};
141
+ M: {};
142
+ Defaults: {};
143
+ }, Readonly<import("vue").ExtractPropTypes<{
144
+ mode: {
145
+ type: StringConstructor;
146
+ };
147
+ headerMode: {
148
+ type: PropType<"year" | "month">;
149
+ };
150
+ prefixCls: {
151
+ type: StringConstructor;
152
+ required: true;
153
+ };
154
+ value: {
155
+ type: PropType<Dayjs>;
156
+ };
157
+ headerValue: {
158
+ type: PropType<Dayjs>;
159
+ required: true;
160
+ };
161
+ timePickerValue: {
162
+ type: PropType<Dayjs>;
163
+ };
164
+ showTime: {
165
+ type: BooleanConstructor;
166
+ };
167
+ showConfirmBtn: {
168
+ type: BooleanConstructor;
169
+ };
170
+ shortcuts: {
171
+ type: PropType<ShortcutType[]>;
172
+ default: () => never[];
173
+ };
174
+ shortcutsPosition: {
175
+ type: PropType<"left" | "bottom" | "right">;
176
+ default: string;
177
+ };
178
+ format: {
179
+ type: StringConstructor;
180
+ required: true;
181
+ };
182
+ dayStartOfWeek: {
183
+ type: PropType<WeekStart>;
184
+ default: number;
185
+ };
186
+ disabledDate: {
187
+ type: PropType<import("./interface").DisabledDate>;
188
+ };
189
+ disabledTime: {
190
+ type: PropType<import("./interface").DisabledTime>;
191
+ };
192
+ timePickerProps: {
193
+ type: PropType<Partial<TimePickerProps>>;
194
+ };
195
+ hideTrigger: {
196
+ type: BooleanConstructor;
197
+ };
198
+ confirmBtnDisabled: {
199
+ type: BooleanConstructor;
200
+ };
201
+ showNowBtn: {
202
+ type: BooleanConstructor;
203
+ };
204
+ headerIcons: {
205
+ type: PropType<import("./interface").HeaderIcons>;
206
+ default: () => {};
207
+ };
208
+ headerOperations: {
209
+ type: PropType<import("./interface").HeaderOperations>;
210
+ };
211
+ abbreviation: {
212
+ type: BooleanConstructor;
213
+ };
214
+ hideNotInViewDates: {
215
+ type: BooleanConstructor;
216
+ };
217
+ utcOffset: {
218
+ type: NumberConstructor;
219
+ };
220
+ timezone: {
221
+ type: StringConstructor;
222
+ };
223
+ now: {
224
+ type: PropType<Dayjs>;
225
+ };
226
+ }>> & Readonly<{
227
+ onConfirm?: (() => any) | undefined;
228
+ "onCell-click"?: ((_date: Dayjs) => any) | undefined;
229
+ "onTime-picker-select"?: ((_time: Dayjs) => any) | undefined;
230
+ "onToday-btn-click"?: ((_value: Dayjs) => any) | undefined;
231
+ "onShortcut-click"?: ((_value: Dayjs, _shortcut: ShortcutType) => any) | undefined;
232
+ "onShortcut-mouse-enter"?: ((_value: Dayjs) => any) | undefined;
233
+ "onShortcut-mouse-leave"?: ((_value: Dayjs) => any) | undefined;
234
+ "onHeader-label-click"?: ((_type: "month" | "year") => any) | undefined;
235
+ "onHeader-select"?: ((_date: Dayjs) => any) | undefined;
236
+ "onMonth-header-click"?: (() => any) | undefined;
237
+ }>, {}, {}, {}, {}, {
238
+ showTime: boolean;
239
+ hideNotInViewDates: boolean;
240
+ headerIcons: import("./interface").HeaderIcons;
241
+ dayStartOfWeek: WeekStart;
242
+ showConfirmBtn: boolean;
243
+ confirmBtnDisabled: boolean;
244
+ abbreviation: boolean;
245
+ shortcuts: ShortcutType[];
246
+ showNowBtn: boolean;
247
+ shortcutsPosition: "bottom" | "left" | "right";
248
+ hideTrigger: boolean;
249
+ }>;
250
+ __isFragment?: never;
251
+ __isTeleport?: never;
252
+ __isSuspense?: never;
253
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
254
+ mode: {
255
+ type: StringConstructor;
256
+ };
257
+ headerMode: {
258
+ type: PropType<"year" | "month">;
259
+ };
260
+ prefixCls: {
261
+ type: StringConstructor;
262
+ required: true;
263
+ };
264
+ value: {
265
+ type: PropType<Dayjs>;
266
+ };
267
+ headerValue: {
268
+ type: PropType<Dayjs>;
269
+ required: true;
270
+ };
271
+ timePickerValue: {
272
+ type: PropType<Dayjs>;
273
+ };
274
+ showTime: {
275
+ type: BooleanConstructor;
276
+ };
277
+ showConfirmBtn: {
278
+ type: BooleanConstructor;
279
+ };
280
+ shortcuts: {
281
+ type: PropType<ShortcutType[]>;
282
+ default: () => never[];
283
+ };
284
+ shortcutsPosition: {
285
+ type: PropType<"left" | "bottom" | "right">;
286
+ default: string;
287
+ };
288
+ format: {
289
+ type: StringConstructor;
290
+ required: true;
291
+ };
292
+ dayStartOfWeek: {
293
+ type: PropType<WeekStart>;
294
+ default: number;
295
+ };
296
+ disabledDate: {
297
+ type: PropType<import("./interface").DisabledDate>;
298
+ };
299
+ disabledTime: {
300
+ type: PropType<import("./interface").DisabledTime>;
301
+ };
302
+ timePickerProps: {
303
+ type: PropType<Partial<TimePickerProps>>;
304
+ };
305
+ hideTrigger: {
306
+ type: BooleanConstructor;
307
+ };
308
+ confirmBtnDisabled: {
309
+ type: BooleanConstructor;
310
+ };
311
+ showNowBtn: {
312
+ type: BooleanConstructor;
313
+ };
314
+ headerIcons: {
315
+ type: PropType<import("./interface").HeaderIcons>;
316
+ default: () => {};
317
+ };
318
+ headerOperations: {
319
+ type: PropType<import("./interface").HeaderOperations>;
320
+ };
321
+ abbreviation: {
322
+ type: BooleanConstructor;
323
+ };
324
+ hideNotInViewDates: {
325
+ type: BooleanConstructor;
326
+ };
327
+ utcOffset: {
328
+ type: NumberConstructor;
329
+ };
330
+ timezone: {
331
+ type: StringConstructor;
332
+ };
333
+ now: {
334
+ type: PropType<Dayjs>;
335
+ };
336
+ }>> & Readonly<{
337
+ onConfirm?: (() => any) | undefined;
338
+ "onCell-click"?: ((_date: Dayjs) => any) | undefined;
339
+ "onTime-picker-select"?: ((_time: Dayjs) => any) | undefined;
340
+ "onToday-btn-click"?: ((_value: Dayjs) => any) | undefined;
341
+ "onShortcut-click"?: ((_value: Dayjs, _shortcut: ShortcutType) => any) | undefined;
342
+ "onShortcut-mouse-enter"?: ((_value: Dayjs) => any) | undefined;
343
+ "onShortcut-mouse-leave"?: ((_value: Dayjs) => any) | undefined;
344
+ "onHeader-label-click"?: ((_type: "month" | "year") => any) | undefined;
345
+ "onHeader-select"?: ((_date: Dayjs) => any) | undefined;
346
+ "onMonth-header-click"?: (() => any) | undefined;
347
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
348
+ confirm: () => any;
349
+ "cell-click": (_date: Dayjs) => any;
350
+ "time-picker-select": (_time: Dayjs) => any;
351
+ "today-btn-click": (_value: Dayjs) => any;
352
+ "shortcut-click": (_value: Dayjs, _shortcut: ShortcutType) => any;
353
+ "shortcut-mouse-enter": (_value: Dayjs) => any;
354
+ "shortcut-mouse-leave": (_value: Dayjs) => any;
355
+ "header-label-click": (_type: "month" | "year") => any;
356
+ "header-select": (_date: Dayjs) => any;
357
+ "month-header-click": () => any;
358
+ }, string, {
359
+ showTime: boolean;
360
+ hideNotInViewDates: boolean;
361
+ headerIcons: import("./interface").HeaderIcons;
362
+ dayStartOfWeek: WeekStart;
363
+ showConfirmBtn: boolean;
364
+ confirmBtnDisabled: boolean;
365
+ abbreviation: boolean;
366
+ shortcuts: ShortcutType[];
367
+ showNowBtn: boolean;
368
+ shortcutsPosition: "bottom" | "left" | "right";
369
+ hideTrigger: boolean;
370
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
371
+ $slots: {
372
+ cell?: (props: {
373
+ date: Date;
374
+ }) => any;
375
+ } & {
376
+ cell?: (props: {
377
+ date: Date;
378
+ }) => any;
379
+ } & {
380
+ cell?: (props: {
381
+ date: Date;
382
+ }) => any;
383
+ } & {
384
+ cell?: (props: {
385
+ date: Date;
386
+ }) => any;
387
+ } & {
388
+ cell?: (props: {
389
+ date: Date;
390
+ }) => any;
391
+ } & {
392
+ extra?: (props: {}) => any;
393
+ };
394
+ });
395
+ props: {
396
+ showNowBtn: boolean | undefined;
397
+ now: Dayjs;
398
+ prefixCls: string;
399
+ format: string;
400
+ value: Dayjs | undefined;
401
+ visible: boolean;
402
+ showConfirmBtn: boolean | undefined;
403
+ confirmBtnDisabled: boolean | undefined;
404
+ timePickerProps: {
405
+ visible: boolean;
406
+ type?: "time" | "time-range" | undefined;
407
+ error?: boolean | undefined;
408
+ readonly?: boolean | undefined;
409
+ size?: "small" | "mini" | "medium" | "large" | undefined;
410
+ popupVisible?: boolean | undefined;
411
+ defaultPopupVisible?: boolean | undefined;
412
+ position?: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | undefined;
413
+ disabled?: boolean | undefined;
414
+ unmountOnClose?: boolean | undefined;
415
+ modelValue?: (import("../index.js").TimeValue | import("../index.js").TimeValue[]) | undefined;
416
+ placeholder?: string | string[] | undefined;
417
+ allowClear?: boolean | undefined;
418
+ triggerProps?: Record<string, unknown> | undefined;
419
+ format: string;
420
+ disabledHours?: (() => number[]) | undefined;
421
+ disabledMinutes?: ((selectedHour?: number) => number[]) | undefined;
422
+ disabledSeconds?: ((selectedHour?: number, selectedMinute?: number) => number[]) | undefined;
423
+ use12Hours?: boolean | undefined;
424
+ disableConfirm?: boolean | undefined;
425
+ step?: {
426
+ hour?: number;
427
+ minute?: number;
428
+ second?: number;
429
+ } | undefined;
430
+ hideDisabledOptions?: boolean | undefined;
431
+ };
432
+ headerValue: Dayjs;
433
+ headerIcons: {
434
+ prev: import("vue").Slot<any> | undefined;
435
+ prevDouble: import("vue").Slot<any> | undefined;
436
+ next: import("vue").Slot<any> | undefined;
437
+ nextDouble: import("vue").Slot<any> | undefined;
438
+ };
439
+ headerOperations: import("./interface").HeaderOperations;
440
+ timePickerValue: Dayjs;
441
+ headerMode: "month" | "year" | undefined;
442
+ onCellClick: typeof onPanelCellClick;
443
+ onTimePickerSelect: typeof onTimePickerSelect;
444
+ onConfirm: typeof onPanelConfirm;
445
+ onShortcutClick: typeof onPanelShortcutClick;
446
+ onShortcutMouseEnter: typeof onPanelShortcutMouseEnter | undefined;
447
+ onShortcutMouseLeave: typeof onPanelShortcutMouseLeave | undefined;
448
+ onTodayBtnClick: typeof onPanelSelect;
449
+ onHeaderLabelClick: typeof onPanelHeaderLabelClick;
450
+ onHeaderSelect: typeof onPanelHeaderSelect;
451
+ onMonthHeaderClick: typeof onMonthHeaderClick;
452
+ mode: "month" | "year" | "date" | "week" | "quarter";
453
+ showTime: boolean;
454
+ disabledDate?: ((current?: Date) => boolean) | undefined;
455
+ disabledTime?: ((current: Date) => DisabledTimeProps) | undefined;
456
+ utcOffset?: number | undefined;
457
+ timezone?: string | undefined;
458
+ hideNotInViewDates: boolean;
459
+ dayStartOfWeek: WeekStart;
460
+ abbreviation: boolean;
461
+ shortcuts: ShortcutType[];
462
+ shortcutsPosition: "bottom" | "left" | "right";
463
+ hideTrigger: boolean;
464
+ };
465
+ }, __VLS_46: {}, __VLS_49: {
466
+ date: Date;
467
+ }, __VLS_51: {
468
+ component: {
469
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
470
+ mode: {
471
+ type: StringConstructor;
472
+ };
473
+ headerMode: {
474
+ type: PropType<"year" | "month">;
475
+ };
476
+ prefixCls: {
477
+ type: StringConstructor;
478
+ required: true;
479
+ };
480
+ value: {
481
+ type: PropType<Dayjs>;
482
+ };
483
+ headerValue: {
484
+ type: PropType<Dayjs>;
485
+ required: true;
486
+ };
487
+ timePickerValue: {
488
+ type: PropType<Dayjs>;
489
+ };
490
+ showTime: {
491
+ type: BooleanConstructor;
492
+ };
493
+ showConfirmBtn: {
494
+ type: BooleanConstructor;
495
+ };
496
+ shortcuts: {
497
+ type: PropType<ShortcutType[]>;
498
+ default: () => never[];
499
+ };
500
+ shortcutsPosition: {
501
+ type: PropType<"left" | "bottom" | "right">;
502
+ default: string;
503
+ };
504
+ format: {
505
+ type: StringConstructor;
506
+ required: true;
507
+ };
508
+ dayStartOfWeek: {
509
+ type: PropType<WeekStart>;
510
+ default: number;
511
+ };
512
+ disabledDate: {
513
+ type: PropType<import("./interface").DisabledDate>;
514
+ };
515
+ disabledTime: {
516
+ type: PropType<import("./interface").DisabledTime>;
517
+ };
518
+ timePickerProps: {
519
+ type: PropType<Partial<TimePickerProps>>;
520
+ };
521
+ hideTrigger: {
522
+ type: BooleanConstructor;
523
+ };
524
+ confirmBtnDisabled: {
525
+ type: BooleanConstructor;
526
+ };
527
+ showNowBtn: {
528
+ type: BooleanConstructor;
529
+ };
530
+ headerIcons: {
531
+ type: PropType<import("./interface").HeaderIcons>;
532
+ default: () => {};
533
+ };
534
+ headerOperations: {
535
+ type: PropType<import("./interface").HeaderOperations>;
536
+ };
537
+ abbreviation: {
538
+ type: BooleanConstructor;
539
+ };
540
+ hideNotInViewDates: {
541
+ type: BooleanConstructor;
542
+ };
543
+ utcOffset: {
544
+ type: NumberConstructor;
545
+ };
546
+ timezone: {
547
+ type: StringConstructor;
548
+ };
549
+ now: {
550
+ type: PropType<Dayjs>;
551
+ };
552
+ }>> & Readonly<{
553
+ onConfirm?: (() => any) | undefined;
554
+ "onCell-click"?: ((_date: Dayjs) => any) | undefined;
555
+ "onTime-picker-select"?: ((_time: Dayjs) => any) | undefined;
556
+ "onToday-btn-click"?: ((_value: Dayjs) => any) | undefined;
557
+ "onShortcut-click"?: ((_value: Dayjs, _shortcut: ShortcutType) => any) | undefined;
558
+ "onShortcut-mouse-enter"?: ((_value: Dayjs) => any) | undefined;
559
+ "onShortcut-mouse-leave"?: ((_value: Dayjs) => any) | undefined;
560
+ "onHeader-label-click"?: ((_type: "month" | "year") => any) | undefined;
561
+ "onHeader-select"?: ((_date: Dayjs) => any) | undefined;
562
+ "onMonth-header-click"?: (() => any) | undefined;
563
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
564
+ confirm: () => any;
565
+ "cell-click": (_date: Dayjs) => any;
566
+ "time-picker-select": (_time: Dayjs) => any;
567
+ "today-btn-click": (_value: Dayjs) => any;
568
+ "shortcut-click": (_value: Dayjs, _shortcut: ShortcutType) => any;
569
+ "shortcut-mouse-enter": (_value: Dayjs) => any;
570
+ "shortcut-mouse-leave": (_value: Dayjs) => any;
571
+ "header-label-click": (_type: "month" | "year") => any;
572
+ "header-select": (_date: Dayjs) => any;
573
+ "month-header-click": () => any;
574
+ }, import("vue").PublicProps, {
575
+ showTime: boolean;
576
+ hideNotInViewDates: boolean;
577
+ headerIcons: import("./interface").HeaderIcons;
578
+ dayStartOfWeek: WeekStart;
579
+ showConfirmBtn: boolean;
580
+ confirmBtnDisabled: boolean;
581
+ abbreviation: boolean;
582
+ shortcuts: ShortcutType[];
583
+ showNowBtn: boolean;
584
+ shortcutsPosition: "bottom" | "left" | "right";
585
+ hideTrigger: boolean;
586
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
587
+ P: {};
588
+ B: {};
589
+ D: {};
590
+ C: {};
591
+ M: {};
592
+ Defaults: {};
593
+ }, Readonly<import("vue").ExtractPropTypes<{
594
+ mode: {
595
+ type: StringConstructor;
596
+ };
597
+ headerMode: {
598
+ type: PropType<"year" | "month">;
599
+ };
600
+ prefixCls: {
601
+ type: StringConstructor;
602
+ required: true;
603
+ };
604
+ value: {
605
+ type: PropType<Dayjs>;
606
+ };
607
+ headerValue: {
608
+ type: PropType<Dayjs>;
609
+ required: true;
610
+ };
611
+ timePickerValue: {
612
+ type: PropType<Dayjs>;
613
+ };
614
+ showTime: {
615
+ type: BooleanConstructor;
616
+ };
617
+ showConfirmBtn: {
618
+ type: BooleanConstructor;
619
+ };
620
+ shortcuts: {
621
+ type: PropType<ShortcutType[]>;
622
+ default: () => never[];
623
+ };
624
+ shortcutsPosition: {
625
+ type: PropType<"left" | "bottom" | "right">;
626
+ default: string;
627
+ };
628
+ format: {
629
+ type: StringConstructor;
630
+ required: true;
631
+ };
632
+ dayStartOfWeek: {
633
+ type: PropType<WeekStart>;
634
+ default: number;
635
+ };
636
+ disabledDate: {
637
+ type: PropType<import("./interface").DisabledDate>;
638
+ };
639
+ disabledTime: {
640
+ type: PropType<import("./interface").DisabledTime>;
641
+ };
642
+ timePickerProps: {
643
+ type: PropType<Partial<TimePickerProps>>;
644
+ };
645
+ hideTrigger: {
646
+ type: BooleanConstructor;
647
+ };
648
+ confirmBtnDisabled: {
649
+ type: BooleanConstructor;
650
+ };
651
+ showNowBtn: {
652
+ type: BooleanConstructor;
653
+ };
654
+ headerIcons: {
655
+ type: PropType<import("./interface").HeaderIcons>;
656
+ default: () => {};
657
+ };
658
+ headerOperations: {
659
+ type: PropType<import("./interface").HeaderOperations>;
660
+ };
661
+ abbreviation: {
662
+ type: BooleanConstructor;
663
+ };
664
+ hideNotInViewDates: {
665
+ type: BooleanConstructor;
666
+ };
667
+ utcOffset: {
668
+ type: NumberConstructor;
669
+ };
670
+ timezone: {
671
+ type: StringConstructor;
672
+ };
673
+ now: {
674
+ type: PropType<Dayjs>;
675
+ };
676
+ }>> & Readonly<{
677
+ onConfirm?: (() => any) | undefined;
678
+ "onCell-click"?: ((_date: Dayjs) => any) | undefined;
679
+ "onTime-picker-select"?: ((_time: Dayjs) => any) | undefined;
680
+ "onToday-btn-click"?: ((_value: Dayjs) => any) | undefined;
681
+ "onShortcut-click"?: ((_value: Dayjs, _shortcut: ShortcutType) => any) | undefined;
682
+ "onShortcut-mouse-enter"?: ((_value: Dayjs) => any) | undefined;
683
+ "onShortcut-mouse-leave"?: ((_value: Dayjs) => any) | undefined;
684
+ "onHeader-label-click"?: ((_type: "month" | "year") => any) | undefined;
685
+ "onHeader-select"?: ((_date: Dayjs) => any) | undefined;
686
+ "onMonth-header-click"?: (() => any) | undefined;
687
+ }>, {}, {}, {}, {}, {
688
+ showTime: boolean;
689
+ hideNotInViewDates: boolean;
690
+ headerIcons: import("./interface").HeaderIcons;
691
+ dayStartOfWeek: WeekStart;
692
+ showConfirmBtn: boolean;
693
+ confirmBtnDisabled: boolean;
694
+ abbreviation: boolean;
695
+ shortcuts: ShortcutType[];
696
+ showNowBtn: boolean;
697
+ shortcutsPosition: "bottom" | "left" | "right";
698
+ hideTrigger: boolean;
699
+ }>;
700
+ __isFragment?: never;
701
+ __isTeleport?: never;
702
+ __isSuspense?: never;
703
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
704
+ mode: {
705
+ type: StringConstructor;
706
+ };
707
+ headerMode: {
708
+ type: PropType<"year" | "month">;
709
+ };
710
+ prefixCls: {
711
+ type: StringConstructor;
712
+ required: true;
713
+ };
714
+ value: {
715
+ type: PropType<Dayjs>;
716
+ };
717
+ headerValue: {
718
+ type: PropType<Dayjs>;
719
+ required: true;
720
+ };
721
+ timePickerValue: {
722
+ type: PropType<Dayjs>;
723
+ };
724
+ showTime: {
725
+ type: BooleanConstructor;
726
+ };
727
+ showConfirmBtn: {
728
+ type: BooleanConstructor;
729
+ };
730
+ shortcuts: {
731
+ type: PropType<ShortcutType[]>;
732
+ default: () => never[];
733
+ };
734
+ shortcutsPosition: {
735
+ type: PropType<"left" | "bottom" | "right">;
736
+ default: string;
737
+ };
738
+ format: {
739
+ type: StringConstructor;
740
+ required: true;
741
+ };
742
+ dayStartOfWeek: {
743
+ type: PropType<WeekStart>;
744
+ default: number;
745
+ };
746
+ disabledDate: {
747
+ type: PropType<import("./interface").DisabledDate>;
748
+ };
749
+ disabledTime: {
750
+ type: PropType<import("./interface").DisabledTime>;
751
+ };
752
+ timePickerProps: {
753
+ type: PropType<Partial<TimePickerProps>>;
754
+ };
755
+ hideTrigger: {
756
+ type: BooleanConstructor;
757
+ };
758
+ confirmBtnDisabled: {
759
+ type: BooleanConstructor;
760
+ };
761
+ showNowBtn: {
762
+ type: BooleanConstructor;
763
+ };
764
+ headerIcons: {
765
+ type: PropType<import("./interface").HeaderIcons>;
766
+ default: () => {};
767
+ };
768
+ headerOperations: {
769
+ type: PropType<import("./interface").HeaderOperations>;
770
+ };
771
+ abbreviation: {
772
+ type: BooleanConstructor;
773
+ };
774
+ hideNotInViewDates: {
775
+ type: BooleanConstructor;
776
+ };
777
+ utcOffset: {
778
+ type: NumberConstructor;
779
+ };
780
+ timezone: {
781
+ type: StringConstructor;
782
+ };
783
+ now: {
784
+ type: PropType<Dayjs>;
785
+ };
786
+ }>> & Readonly<{
787
+ onConfirm?: (() => any) | undefined;
788
+ "onCell-click"?: ((_date: Dayjs) => any) | undefined;
789
+ "onTime-picker-select"?: ((_time: Dayjs) => any) | undefined;
790
+ "onToday-btn-click"?: ((_value: Dayjs) => any) | undefined;
791
+ "onShortcut-click"?: ((_value: Dayjs, _shortcut: ShortcutType) => any) | undefined;
792
+ "onShortcut-mouse-enter"?: ((_value: Dayjs) => any) | undefined;
793
+ "onShortcut-mouse-leave"?: ((_value: Dayjs) => any) | undefined;
794
+ "onHeader-label-click"?: ((_type: "month" | "year") => any) | undefined;
795
+ "onHeader-select"?: ((_date: Dayjs) => any) | undefined;
796
+ "onMonth-header-click"?: (() => any) | undefined;
797
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
798
+ confirm: () => any;
799
+ "cell-click": (_date: Dayjs) => any;
800
+ "time-picker-select": (_time: Dayjs) => any;
801
+ "today-btn-click": (_value: Dayjs) => any;
802
+ "shortcut-click": (_value: Dayjs, _shortcut: ShortcutType) => any;
803
+ "shortcut-mouse-enter": (_value: Dayjs) => any;
804
+ "shortcut-mouse-leave": (_value: Dayjs) => any;
805
+ "header-label-click": (_type: "month" | "year") => any;
806
+ "header-select": (_date: Dayjs) => any;
807
+ "month-header-click": () => any;
808
+ }, string, {
809
+ showTime: boolean;
810
+ hideNotInViewDates: boolean;
811
+ headerIcons: import("./interface").HeaderIcons;
812
+ dayStartOfWeek: WeekStart;
813
+ showConfirmBtn: boolean;
814
+ confirmBtnDisabled: boolean;
815
+ abbreviation: boolean;
816
+ shortcuts: ShortcutType[];
817
+ showNowBtn: boolean;
818
+ shortcutsPosition: "bottom" | "left" | "right";
819
+ hideTrigger: boolean;
820
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
821
+ $slots: {
822
+ cell?: (props: {
823
+ date: Date;
824
+ }) => any;
825
+ } & {
826
+ cell?: (props: {
827
+ date: Date;
828
+ }) => any;
829
+ } & {
830
+ cell?: (props: {
831
+ date: Date;
832
+ }) => any;
833
+ } & {
834
+ cell?: (props: {
835
+ date: Date;
836
+ }) => any;
837
+ } & {
838
+ cell?: (props: {
839
+ date: Date;
840
+ }) => any;
841
+ } & {
842
+ extra?: (props: {}) => any;
843
+ };
844
+ });
845
+ props: {
846
+ showNowBtn: boolean | undefined;
847
+ now: Dayjs;
848
+ prefixCls: string;
849
+ format: string;
850
+ value: Dayjs | undefined;
851
+ visible: boolean;
852
+ showConfirmBtn: boolean | undefined;
853
+ confirmBtnDisabled: boolean | undefined;
854
+ timePickerProps: {
855
+ visible: boolean;
856
+ type?: "time" | "time-range" | undefined;
857
+ error?: boolean | undefined;
858
+ readonly?: boolean | undefined;
859
+ size?: "small" | "mini" | "medium" | "large" | undefined;
860
+ popupVisible?: boolean | undefined;
861
+ defaultPopupVisible?: boolean | undefined;
862
+ position?: "top" | "tl" | "tr" | "bottom" | "bl" | "br" | undefined;
863
+ disabled?: boolean | undefined;
864
+ unmountOnClose?: boolean | undefined;
865
+ modelValue?: (import("../index.js").TimeValue | import("../index.js").TimeValue[]) | undefined;
866
+ placeholder?: string | string[] | undefined;
867
+ allowClear?: boolean | undefined;
868
+ triggerProps?: Record<string, unknown> | undefined;
869
+ format: string;
870
+ disabledHours?: (() => number[]) | undefined;
871
+ disabledMinutes?: ((selectedHour?: number) => number[]) | undefined;
872
+ disabledSeconds?: ((selectedHour?: number, selectedMinute?: number) => number[]) | undefined;
873
+ use12Hours?: boolean | undefined;
874
+ disableConfirm?: boolean | undefined;
875
+ step?: {
876
+ hour?: number;
877
+ minute?: number;
878
+ second?: number;
879
+ } | undefined;
880
+ hideDisabledOptions?: boolean | undefined;
881
+ };
882
+ headerValue: Dayjs;
883
+ headerIcons: {
884
+ prev: import("vue").Slot<any> | undefined;
885
+ prevDouble: import("vue").Slot<any> | undefined;
886
+ next: import("vue").Slot<any> | undefined;
887
+ nextDouble: import("vue").Slot<any> | undefined;
888
+ };
889
+ headerOperations: import("./interface").HeaderOperations;
890
+ timePickerValue: Dayjs;
891
+ headerMode: "month" | "year" | undefined;
892
+ onCellClick: typeof onPanelCellClick;
893
+ onTimePickerSelect: typeof onTimePickerSelect;
894
+ onConfirm: typeof onPanelConfirm;
895
+ onShortcutClick: typeof onPanelShortcutClick;
896
+ onShortcutMouseEnter: typeof onPanelShortcutMouseEnter | undefined;
897
+ onShortcutMouseLeave: typeof onPanelShortcutMouseLeave | undefined;
898
+ onTodayBtnClick: typeof onPanelSelect;
899
+ onHeaderLabelClick: typeof onPanelHeaderLabelClick;
900
+ onHeaderSelect: typeof onPanelHeaderSelect;
901
+ onMonthHeaderClick: typeof onMonthHeaderClick;
902
+ mode: "month" | "year" | "date" | "week" | "quarter";
903
+ showTime: boolean;
904
+ disabledDate?: ((current?: Date) => boolean) | undefined;
905
+ disabledTime?: ((current: Date) => DisabledTimeProps) | undefined;
906
+ utcOffset?: number | undefined;
907
+ timezone?: string | undefined;
908
+ hideNotInViewDates: boolean;
909
+ dayStartOfWeek: WeekStart;
910
+ abbreviation: boolean;
911
+ shortcuts: ShortcutType[];
912
+ shortcutsPosition: "bottom" | "left" | "right";
913
+ hideTrigger: boolean;
914
+ };
915
+ }, __VLS_60: {}, __VLS_63: {
916
+ date: Date;
917
+ };
7
918
  type __VLS_Slots = {} & {
8
919
  default?: (props: typeof __VLS_10) => any;
9
920
  } & {
10
921
  prefix?: (props: typeof __VLS_26) => any;
11
922
  } & {
12
923
  'suffix-icon'?: (props: typeof __VLS_29) => any;
924
+ } & {
925
+ panelRender?: (props: typeof __VLS_37) => any;
926
+ } & {
927
+ extra?: (props: typeof __VLS_46) => any;
928
+ } & {
929
+ cell?: (props: typeof __VLS_49) => any;
930
+ } & {
931
+ panelRender?: (props: typeof __VLS_51) => any;
932
+ } & {
933
+ extra?: (props: typeof __VLS_60) => any;
934
+ } & {
935
+ cell?: (props: typeof __VLS_63) => any;
13
936
  };
14
937
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
15
938
  locale: {
@@ -57,9 +980,15 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
57
980
  unmountOnClose: {
58
981
  type: BooleanConstructor;
59
982
  };
983
+ hideNotInViewDates: {
984
+ type: BooleanConstructor;
985
+ };
60
986
  placeholder: {
61
987
  type: StringConstructor;
62
988
  };
989
+ inputProps: {
990
+ type: PropType<Record<string, any>>;
991
+ };
63
992
  disabled: {
64
993
  type: BooleanConstructor;
65
994
  };
@@ -88,6 +1017,12 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
88
1017
  valueFormat: {
89
1018
  type: PropType<"timestamp" | "Date" | string>;
90
1019
  };
1020
+ utcOffset: {
1021
+ type: NumberConstructor;
1022
+ };
1023
+ timezone: {
1024
+ type: StringConstructor;
1025
+ };
91
1026
  previewShortcut: {
92
1027
  type: BooleanConstructor;
93
1028
  default: boolean;
@@ -180,9 +1115,15 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
180
1115
  unmountOnClose: {
181
1116
  type: BooleanConstructor;
182
1117
  };
1118
+ hideNotInViewDates: {
1119
+ type: BooleanConstructor;
1120
+ };
183
1121
  placeholder: {
184
1122
  type: StringConstructor;
185
1123
  };
1124
+ inputProps: {
1125
+ type: PropType<Record<string, any>>;
1126
+ };
186
1127
  disabled: {
187
1128
  type: BooleanConstructor;
188
1129
  };
@@ -211,6 +1152,12 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
211
1152
  valueFormat: {
212
1153
  type: PropType<"timestamp" | "Date" | string>;
213
1154
  };
1155
+ utcOffset: {
1156
+ type: NumberConstructor;
1157
+ };
1158
+ timezone: {
1159
+ type: StringConstructor;
1160
+ };
214
1161
  previewShortcut: {
215
1162
  type: BooleanConstructor;
216
1163
  default: boolean;
@@ -269,6 +1216,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
269
1216
  mode: "month" | "year" | "date" | "week" | "quarter";
270
1217
  disabledInput: boolean;
271
1218
  showTime: boolean;
1219
+ hideNotInViewDates: boolean;
272
1220
  dayStartOfWeek: WeekStart;
273
1221
  showConfirmBtn: boolean;
274
1222
  abbreviation: boolean;