UNPKG

30.2 kBTypeScriptView Raw
1import { PropType } from 'vue';
2import moment from 'moment';
3declare const CalendarModeTypes: ["month", "year"];
4export declare type CalendarMode = typeof CalendarModeTypes[number];
5export declare const CalendarProps: {
6 monthCellRender: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
7 default: (...args: any[]) => any;
8 };
9 dateCellRender: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
10 default: (...args: any[]) => any;
11 };
12 monthFullCellRender: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
13 default: (...args: any[]) => any;
14 };
15 dateFullCellRender: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
16 default: (...args: any[]) => any;
17 };
18 prefixCls: import("vue-types").VueTypeValidableDef<string> & {
19 default: string;
20 };
21 value: {
22 validator(value: any): boolean;
23 };
24 defaultValue: {
25 validator(value: any): boolean;
26 };
27 mode: import("vue-types").VueTypeDef<"year" | "month">;
28 fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
29 default: boolean;
30 };
31 locale: import("vue-types").VueTypeValidableDef<{
32 [key: string]: any;
33 }> & {
34 default: () => {
35 [key: string]: any;
36 };
37 } & {
38 default: () => {
39 [key: string]: any;
40 };
41 };
42 disabledDate: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
43 default: (...args: any[]) => any;
44 };
45 validRange: {
46 type: PropType<moment.Moment[]>;
47 };
48 headerRender: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
49 default: (...args: any[]) => any;
50 };
51 valueFormat: import("vue-types").VueTypeValidableDef<string> & {
52 default: string;
53 };
54 onPanelChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
55 default: (...args: any[]) => any;
56 };
57 onSelect: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
58 default: (...args: any[]) => any;
59 };
60 onChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
61 default: (...args: any[]) => any;
62 };
63 'onUpdate:value': import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
64 default: (...args: any[]) => any;
65 };
66};
67export { HeaderProps } from './Header';
68declare const _default: ({
69 new (...args: any[]): {
70 $: import("vue").ComponentInternalInstance;
71 $data: {
72 sValue: any;
73 sMode: "year" | "month";
74 };
75 $props: Partial<{
76 locale: {
77 [key: string]: any;
78 };
79 onChange: (...args: any[]) => any;
80 onSelect: (...args: any[]) => any;
81 prefixCls: string;
82 "onUpdate:value": (...args: any[]) => any;
83 fullscreen: boolean;
84 headerRender: (...args: any[]) => any;
85 monthCellRender: (...args: any[]) => any;
86 dateCellRender: (...args: any[]) => any;
87 monthFullCellRender: (...args: any[]) => any;
88 dateFullCellRender: (...args: any[]) => any;
89 disabledDate: (...args: any[]) => any;
90 valueFormat: string;
91 onPanelChange: (...args: any[]) => any;
92 }> & Pick<Readonly<{
93 locale: {
94 [key: string]: any;
95 };
96 onChange: (...args: any[]) => any;
97 onSelect: (...args: any[]) => any;
98 prefixCls: string;
99 "onUpdate:value": (...args: any[]) => any;
100 fullscreen: boolean;
101 headerRender: (...args: any[]) => any;
102 monthCellRender: (...args: any[]) => any;
103 dateCellRender: (...args: any[]) => any;
104 monthFullCellRender: (...args: any[]) => any;
105 dateFullCellRender: (...args: any[]) => any;
106 disabledDate: (...args: any[]) => any;
107 valueFormat: string;
108 onPanelChange: (...args: any[]) => any;
109 } & {
110 mode?: "year" | "month";
111 value?: unknown;
112 defaultValue?: unknown;
113 validRange?: moment.Moment[];
114 }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "style" | "class" | "key" | "ref" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "mode" | "value" | "defaultValue" | "validRange">;
115 $attrs: Record<string, unknown>;
116 $refs: Record<string, unknown>;
117 $slots: Readonly<{
118 [name: string]: import("vue").Slot;
119 }>;
120 $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
121 $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
122 $emit: (event: string, ...args: any[]) => void;
123 $el: any;
124 $options: import("vue").ComponentOptionsBase<Readonly<{
125 locale: {
126 [key: string]: any;
127 };
128 onChange: (...args: any[]) => any;
129 onSelect: (...args: any[]) => any;
130 prefixCls: string;
131 "onUpdate:value": (...args: any[]) => any;
132 fullscreen: boolean;
133 headerRender: (...args: any[]) => any;
134 monthCellRender: (...args: any[]) => any;
135 dateCellRender: (...args: any[]) => any;
136 monthFullCellRender: (...args: any[]) => any;
137 dateFullCellRender: (...args: any[]) => any;
138 disabledDate: (...args: any[]) => any;
139 valueFormat: string;
140 onPanelChange: (...args: any[]) => any;
141 } & {
142 mode?: "year" | "month";
143 value?: unknown;
144 defaultValue?: unknown;
145 validRange?: moment.Moment[];
146 }>, {
147 configProvider: import("../config-provider").ConfigConsumerProps;
148 sPrefixCls: any;
149 }, {
150 sValue: any;
151 sMode: "year" | "month";
152 }, {}, {
153 onHeaderValueChange(value: moment.Moment): void;
154 onHeaderTypeChange(mode: "year" | "month"): void;
155 triggerPanelChange(value: moment.Moment, mode: "year" | "month"): void;
156 triggerSelect(value: moment.Moment): void;
157 setValue(value: moment.Moment, way: "select" | "changePanel"): void;
158 getDateRange(validRange: [moment.Moment, moment.Moment], disabledDate?: (current: moment.Moment) => boolean): (current: moment.Moment) => boolean;
159 getDefaultLocale(): {
160 lang: {
161 today: string;
162 now: string;
163 backToToday: string;
164 ok: string;
165 clear: string;
166 month: string;
167 year: string;
168 timeSelect: string;
169 dateSelect: string;
170 weekSelect: string;
171 monthSelect: string;
172 yearSelect: string;
173 decadeSelect: string;
174 yearFormat: string;
175 dateFormat: string;
176 dayFormat: string;
177 dateTimeFormat: string;
178 monthBeforeYear: boolean;
179 previousMonth: string;
180 nextMonth: string;
181 previousYear: string;
182 nextYear: string;
183 previousDecade: string;
184 nextDecade: string;
185 previousCentury: string;
186 nextCentury: string;
187 placeholder: string;
188 rangePlaceholder: string[];
189 };
190 timePickerLocale: {
191 placeholder: string;
192 };
193 };
194 monthCellRender2({ current: value }: {
195 current: any;
196 }): JSX.Element;
197 dateCellRender2({ current: value }: {
198 current: any;
199 }): JSX.Element;
200 renderCalendar(locale: any, localeCode: string): JSX.Element;
201 }, {
202 methods: {
203 setState(state: {}, callback: any): void;
204 __emit(...args: any[]): void;
205 };
206 }, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
207 locale: {
208 [key: string]: any;
209 };
210 onChange: (...args: any[]) => any;
211 onSelect: (...args: any[]) => any;
212 prefixCls: string;
213 "onUpdate:value": (...args: any[]) => any;
214 fullscreen: boolean;
215 headerRender: (...args: any[]) => any;
216 monthCellRender: (...args: any[]) => any;
217 dateCellRender: (...args: any[]) => any;
218 monthFullCellRender: (...args: any[]) => any;
219 dateFullCellRender: (...args: any[]) => any;
220 disabledDate: (...args: any[]) => any;
221 valueFormat: string;
222 onPanelChange: (...args: any[]) => any;
223 }>;
224 $forceUpdate: import("vue").ReactiveEffect<any>;
225 $nextTick: typeof import("vue").nextTick;
226 $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
227 } & Readonly<{
228 locale: {
229 [key: string]: any;
230 };
231 onChange: (...args: any[]) => any;
232 onSelect: (...args: any[]) => any;
233 prefixCls: string;
234 "onUpdate:value": (...args: any[]) => any;
235 fullscreen: boolean;
236 headerRender: (...args: any[]) => any;
237 monthCellRender: (...args: any[]) => any;
238 dateCellRender: (...args: any[]) => any;
239 monthFullCellRender: (...args: any[]) => any;
240 dateFullCellRender: (...args: any[]) => any;
241 disabledDate: (...args: any[]) => any;
242 valueFormat: string;
243 onPanelChange: (...args: any[]) => any;
244 } & {
245 mode?: "year" | "month";
246 value?: unknown;
247 defaultValue?: unknown;
248 validRange?: moment.Moment[];
249 }> & import("vue").ShallowUnwrapRef<{
250 configProvider: import("../config-provider").ConfigConsumerProps;
251 sPrefixCls: any;
252 }> & {
253 sValue: any;
254 sMode: "year" | "month";
255 } & {
256 [x: string]: never;
257 } & {
258 setState(state: {}, callback: any): void;
259 __emit(...args: any[]): void;
260 } & {
261 onHeaderValueChange(value: moment.Moment): void;
262 onHeaderTypeChange(mode: "year" | "month"): void;
263 triggerPanelChange(value: moment.Moment, mode: "year" | "month"): void;
264 triggerSelect(value: moment.Moment): void;
265 setValue(value: moment.Moment, way: "select" | "changePanel"): void;
266 getDateRange(validRange: [moment.Moment, moment.Moment], disabledDate?: (current: moment.Moment) => boolean): (current: moment.Moment) => boolean;
267 getDefaultLocale(): {
268 lang: {
269 today: string;
270 now: string;
271 backToToday: string;
272 ok: string;
273 clear: string;
274 month: string;
275 year: string;
276 timeSelect: string;
277 dateSelect: string;
278 weekSelect: string;
279 monthSelect: string;
280 yearSelect: string;
281 decadeSelect: string;
282 yearFormat: string;
283 dateFormat: string;
284 dayFormat: string;
285 dateTimeFormat: string;
286 monthBeforeYear: boolean;
287 previousMonth: string;
288 nextMonth: string;
289 previousYear: string;
290 nextYear: string;
291 previousDecade: string;
292 nextDecade: string;
293 previousCentury: string;
294 nextCentury: string;
295 placeholder: string;
296 rangePlaceholder: string[];
297 };
298 timePickerLocale: {
299 placeholder: string;
300 };
301 };
302 monthCellRender2({ current: value }: {
303 current: any;
304 }): JSX.Element;
305 dateCellRender2({ current: value }: {
306 current: any;
307 }): JSX.Element;
308 renderCalendar(locale: any, localeCode: string): JSX.Element;
309 } & import("vue").ComponentCustomProperties;
310 __isFragment?: never;
311 __isTeleport?: never;
312 __isSuspense?: never;
313} & import("vue").ComponentOptionsBase<Readonly<{
314 locale: {
315 [key: string]: any;
316 };
317 onChange: (...args: any[]) => any;
318 onSelect: (...args: any[]) => any;
319 prefixCls: string;
320 "onUpdate:value": (...args: any[]) => any;
321 fullscreen: boolean;
322 headerRender: (...args: any[]) => any;
323 monthCellRender: (...args: any[]) => any;
324 dateCellRender: (...args: any[]) => any;
325 monthFullCellRender: (...args: any[]) => any;
326 dateFullCellRender: (...args: any[]) => any;
327 disabledDate: (...args: any[]) => any;
328 valueFormat: string;
329 onPanelChange: (...args: any[]) => any;
330} & {
331 mode?: "year" | "month";
332 value?: unknown;
333 defaultValue?: unknown;
334 validRange?: moment.Moment[];
335}>, {
336 configProvider: import("../config-provider").ConfigConsumerProps;
337 sPrefixCls: any;
338}, {
339 sValue: any;
340 sMode: "year" | "month";
341}, {}, {
342 onHeaderValueChange(value: moment.Moment): void;
343 onHeaderTypeChange(mode: "year" | "month"): void;
344 triggerPanelChange(value: moment.Moment, mode: "year" | "month"): void;
345 triggerSelect(value: moment.Moment): void;
346 setValue(value: moment.Moment, way: "select" | "changePanel"): void;
347 getDateRange(validRange: [moment.Moment, moment.Moment], disabledDate?: (current: moment.Moment) => boolean): (current: moment.Moment) => boolean;
348 getDefaultLocale(): {
349 lang: {
350 today: string;
351 now: string;
352 backToToday: string;
353 ok: string;
354 clear: string;
355 month: string;
356 year: string;
357 timeSelect: string;
358 dateSelect: string;
359 weekSelect: string;
360 monthSelect: string;
361 yearSelect: string;
362 decadeSelect: string;
363 yearFormat: string;
364 dateFormat: string;
365 dayFormat: string;
366 dateTimeFormat: string;
367 monthBeforeYear: boolean;
368 previousMonth: string;
369 nextMonth: string;
370 previousYear: string;
371 nextYear: string;
372 previousDecade: string;
373 nextDecade: string;
374 previousCentury: string;
375 nextCentury: string;
376 placeholder: string;
377 rangePlaceholder: string[];
378 };
379 timePickerLocale: {
380 placeholder: string;
381 };
382 };
383 monthCellRender2({ current: value }: {
384 current: any;
385 }): JSX.Element;
386 dateCellRender2({ current: value }: {
387 current: any;
388 }): JSX.Element;
389 renderCalendar(locale: any, localeCode: string): JSX.Element;
390}, {
391 methods: {
392 setState(state: {}, callback: any): void;
393 __emit(...args: any[]): void;
394 };
395}, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
396 locale: {
397 [key: string]: any;
398 };
399 onChange: (...args: any[]) => any;
400 onSelect: (...args: any[]) => any;
401 prefixCls: string;
402 "onUpdate:value": (...args: any[]) => any;
403 fullscreen: boolean;
404 headerRender: (...args: any[]) => any;
405 monthCellRender: (...args: any[]) => any;
406 dateCellRender: (...args: any[]) => any;
407 monthFullCellRender: (...args: any[]) => any;
408 dateFullCellRender: (...args: any[]) => any;
409 disabledDate: (...args: any[]) => any;
410 valueFormat: string;
411 onPanelChange: (...args: any[]) => any;
412}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & ((app: import("vue").App<any>, ...options: any[]) => any) & {
413 install?: (app: import("vue").App<any>, ...options: any[]) => any;
414}) | ({
415 new (...args: any[]): {
416 $: import("vue").ComponentInternalInstance;
417 $data: {
418 sValue: any;
419 sMode: "year" | "month";
420 };
421 $props: Partial<{
422 locale: {
423 [key: string]: any;
424 };
425 onChange: (...args: any[]) => any;
426 onSelect: (...args: any[]) => any;
427 prefixCls: string;
428 "onUpdate:value": (...args: any[]) => any;
429 fullscreen: boolean;
430 headerRender: (...args: any[]) => any;
431 monthCellRender: (...args: any[]) => any;
432 dateCellRender: (...args: any[]) => any;
433 monthFullCellRender: (...args: any[]) => any;
434 dateFullCellRender: (...args: any[]) => any;
435 disabledDate: (...args: any[]) => any;
436 valueFormat: string;
437 onPanelChange: (...args: any[]) => any;
438 }> & Pick<Readonly<{
439 locale: {
440 [key: string]: any;
441 };
442 onChange: (...args: any[]) => any;
443 onSelect: (...args: any[]) => any;
444 prefixCls: string;
445 "onUpdate:value": (...args: any[]) => any;
446 fullscreen: boolean;
447 headerRender: (...args: any[]) => any;
448 monthCellRender: (...args: any[]) => any;
449 dateCellRender: (...args: any[]) => any;
450 monthFullCellRender: (...args: any[]) => any;
451 dateFullCellRender: (...args: any[]) => any;
452 disabledDate: (...args: any[]) => any;
453 valueFormat: string;
454 onPanelChange: (...args: any[]) => any;
455 } & {
456 mode?: "year" | "month";
457 value?: unknown;
458 defaultValue?: unknown;
459 validRange?: moment.Moment[];
460 }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "style" | "class" | "key" | "ref" | "onVnodeBeforeMount" | "onVnodeMounted" | "onVnodeBeforeUpdate" | "onVnodeUpdated" | "onVnodeBeforeUnmount" | "onVnodeUnmounted" | "mode" | "value" | "defaultValue" | "validRange">;
461 $attrs: Record<string, unknown>;
462 $refs: Record<string, unknown>;
463 $slots: Readonly<{
464 [name: string]: import("vue").Slot;
465 }>;
466 $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
467 $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
468 $emit: (event: string, ...args: any[]) => void;
469 $el: any;
470 $options: import("vue").ComponentOptionsBase<Readonly<{
471 locale: {
472 [key: string]: any;
473 };
474 onChange: (...args: any[]) => any;
475 onSelect: (...args: any[]) => any;
476 prefixCls: string;
477 "onUpdate:value": (...args: any[]) => any;
478 fullscreen: boolean;
479 headerRender: (...args: any[]) => any;
480 monthCellRender: (...args: any[]) => any;
481 dateCellRender: (...args: any[]) => any;
482 monthFullCellRender: (...args: any[]) => any;
483 dateFullCellRender: (...args: any[]) => any;
484 disabledDate: (...args: any[]) => any;
485 valueFormat: string;
486 onPanelChange: (...args: any[]) => any;
487 } & {
488 mode?: "year" | "month";
489 value?: unknown;
490 defaultValue?: unknown;
491 validRange?: moment.Moment[];
492 }>, {
493 configProvider: import("../config-provider").ConfigConsumerProps;
494 sPrefixCls: any;
495 }, {
496 sValue: any;
497 sMode: "year" | "month";
498 }, {}, {
499 onHeaderValueChange(value: moment.Moment): void;
500 onHeaderTypeChange(mode: "year" | "month"): void;
501 triggerPanelChange(value: moment.Moment, mode: "year" | "month"): void;
502 triggerSelect(value: moment.Moment): void;
503 setValue(value: moment.Moment, way: "select" | "changePanel"): void;
504 getDateRange(validRange: [moment.Moment, moment.Moment], disabledDate?: (current: moment.Moment) => boolean): (current: moment.Moment) => boolean;
505 getDefaultLocale(): {
506 lang: {
507 today: string;
508 now: string;
509 backToToday: string;
510 ok: string;
511 clear: string;
512 month: string;
513 year: string;
514 timeSelect: string;
515 dateSelect: string;
516 weekSelect: string;
517 monthSelect: string;
518 yearSelect: string;
519 decadeSelect: string;
520 yearFormat: string;
521 dateFormat: string;
522 dayFormat: string;
523 dateTimeFormat: string;
524 monthBeforeYear: boolean;
525 previousMonth: string;
526 nextMonth: string;
527 previousYear: string;
528 nextYear: string;
529 previousDecade: string;
530 nextDecade: string;
531 previousCentury: string;
532 nextCentury: string;
533 placeholder: string;
534 rangePlaceholder: string[];
535 };
536 timePickerLocale: {
537 placeholder: string;
538 };
539 };
540 monthCellRender2({ current: value }: {
541 current: any;
542 }): JSX.Element;
543 dateCellRender2({ current: value }: {
544 current: any;
545 }): JSX.Element;
546 renderCalendar(locale: any, localeCode: string): JSX.Element;
547 }, {
548 methods: {
549 setState(state: {}, callback: any): void;
550 __emit(...args: any[]): void;
551 };
552 }, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
553 locale: {
554 [key: string]: any;
555 };
556 onChange: (...args: any[]) => any;
557 onSelect: (...args: any[]) => any;
558 prefixCls: string;
559 "onUpdate:value": (...args: any[]) => any;
560 fullscreen: boolean;
561 headerRender: (...args: any[]) => any;
562 monthCellRender: (...args: any[]) => any;
563 dateCellRender: (...args: any[]) => any;
564 monthFullCellRender: (...args: any[]) => any;
565 dateFullCellRender: (...args: any[]) => any;
566 disabledDate: (...args: any[]) => any;
567 valueFormat: string;
568 onPanelChange: (...args: any[]) => any;
569 }>;
570 $forceUpdate: import("vue").ReactiveEffect<any>;
571 $nextTick: typeof import("vue").nextTick;
572 $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
573 } & Readonly<{
574 locale: {
575 [key: string]: any;
576 };
577 onChange: (...args: any[]) => any;
578 onSelect: (...args: any[]) => any;
579 prefixCls: string;
580 "onUpdate:value": (...args: any[]) => any;
581 fullscreen: boolean;
582 headerRender: (...args: any[]) => any;
583 monthCellRender: (...args: any[]) => any;
584 dateCellRender: (...args: any[]) => any;
585 monthFullCellRender: (...args: any[]) => any;
586 dateFullCellRender: (...args: any[]) => any;
587 disabledDate: (...args: any[]) => any;
588 valueFormat: string;
589 onPanelChange: (...args: any[]) => any;
590 } & {
591 mode?: "year" | "month";
592 value?: unknown;
593 defaultValue?: unknown;
594 validRange?: moment.Moment[];
595 }> & import("vue").ShallowUnwrapRef<{
596 configProvider: import("../config-provider").ConfigConsumerProps;
597 sPrefixCls: any;
598 }> & {
599 sValue: any;
600 sMode: "year" | "month";
601 } & {
602 [x: string]: never;
603 } & {
604 setState(state: {}, callback: any): void;
605 __emit(...args: any[]): void;
606 } & {
607 onHeaderValueChange(value: moment.Moment): void;
608 onHeaderTypeChange(mode: "year" | "month"): void;
609 triggerPanelChange(value: moment.Moment, mode: "year" | "month"): void;
610 triggerSelect(value: moment.Moment): void;
611 setValue(value: moment.Moment, way: "select" | "changePanel"): void;
612 getDateRange(validRange: [moment.Moment, moment.Moment], disabledDate?: (current: moment.Moment) => boolean): (current: moment.Moment) => boolean;
613 getDefaultLocale(): {
614 lang: {
615 today: string;
616 now: string;
617 backToToday: string;
618 ok: string;
619 clear: string;
620 month: string;
621 year: string;
622 timeSelect: string;
623 dateSelect: string;
624 weekSelect: string;
625 monthSelect: string;
626 yearSelect: string;
627 decadeSelect: string;
628 yearFormat: string;
629 dateFormat: string;
630 dayFormat: string;
631 dateTimeFormat: string;
632 monthBeforeYear: boolean;
633 previousMonth: string;
634 nextMonth: string;
635 previousYear: string;
636 nextYear: string;
637 previousDecade: string;
638 nextDecade: string;
639 previousCentury: string;
640 nextCentury: string;
641 placeholder: string;
642 rangePlaceholder: string[];
643 };
644 timePickerLocale: {
645 placeholder: string;
646 };
647 };
648 monthCellRender2({ current: value }: {
649 current: any;
650 }): JSX.Element;
651 dateCellRender2({ current: value }: {
652 current: any;
653 }): JSX.Element;
654 renderCalendar(locale: any, localeCode: string): JSX.Element;
655 } & import("vue").ComponentCustomProperties;
656 __isFragment?: never;
657 __isTeleport?: never;
658 __isSuspense?: never;
659} & import("vue").ComponentOptionsBase<Readonly<{
660 locale: {
661 [key: string]: any;
662 };
663 onChange: (...args: any[]) => any;
664 onSelect: (...args: any[]) => any;
665 prefixCls: string;
666 "onUpdate:value": (...args: any[]) => any;
667 fullscreen: boolean;
668 headerRender: (...args: any[]) => any;
669 monthCellRender: (...args: any[]) => any;
670 dateCellRender: (...args: any[]) => any;
671 monthFullCellRender: (...args: any[]) => any;
672 dateFullCellRender: (...args: any[]) => any;
673 disabledDate: (...args: any[]) => any;
674 valueFormat: string;
675 onPanelChange: (...args: any[]) => any;
676} & {
677 mode?: "year" | "month";
678 value?: unknown;
679 defaultValue?: unknown;
680 validRange?: moment.Moment[];
681}>, {
682 configProvider: import("../config-provider").ConfigConsumerProps;
683 sPrefixCls: any;
684}, {
685 sValue: any;
686 sMode: "year" | "month";
687}, {}, {
688 onHeaderValueChange(value: moment.Moment): void;
689 onHeaderTypeChange(mode: "year" | "month"): void;
690 triggerPanelChange(value: moment.Moment, mode: "year" | "month"): void;
691 triggerSelect(value: moment.Moment): void;
692 setValue(value: moment.Moment, way: "select" | "changePanel"): void;
693 getDateRange(validRange: [moment.Moment, moment.Moment], disabledDate?: (current: moment.Moment) => boolean): (current: moment.Moment) => boolean;
694 getDefaultLocale(): {
695 lang: {
696 today: string;
697 now: string;
698 backToToday: string;
699 ok: string;
700 clear: string;
701 month: string;
702 year: string;
703 timeSelect: string;
704 dateSelect: string;
705 weekSelect: string;
706 monthSelect: string;
707 yearSelect: string;
708 decadeSelect: string;
709 yearFormat: string;
710 dateFormat: string;
711 dayFormat: string;
712 dateTimeFormat: string;
713 monthBeforeYear: boolean;
714 previousMonth: string;
715 nextMonth: string;
716 previousYear: string;
717 nextYear: string;
718 previousDecade: string;
719 nextDecade: string;
720 previousCentury: string;
721 nextCentury: string;
722 placeholder: string;
723 rangePlaceholder: string[];
724 };
725 timePickerLocale: {
726 placeholder: string;
727 };
728 };
729 monthCellRender2({ current: value }: {
730 current: any;
731 }): JSX.Element;
732 dateCellRender2({ current: value }: {
733 current: any;
734 }): JSX.Element;
735 renderCalendar(locale: any, localeCode: string): JSX.Element;
736}, {
737 methods: {
738 setState(state: {}, callback: any): void;
739 __emit(...args: any[]): void;
740 };
741}, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
742 locale: {
743 [key: string]: any;
744 };
745 onChange: (...args: any[]) => any;
746 onSelect: (...args: any[]) => any;
747 prefixCls: string;
748 "onUpdate:value": (...args: any[]) => any;
749 fullscreen: boolean;
750 headerRender: (...args: any[]) => any;
751 monthCellRender: (...args: any[]) => any;
752 dateCellRender: (...args: any[]) => any;
753 monthFullCellRender: (...args: any[]) => any;
754 dateFullCellRender: (...args: any[]) => any;
755 disabledDate: (...args: any[]) => any;
756 valueFormat: string;
757 onPanelChange: (...args: any[]) => any;
758}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
759 install: (app: import("vue").App<any>, ...options: any[]) => any;
760});
761export default _default;