1 | export declare const Calendar: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
2 | show: BooleanConstructor;
|
3 | type: {
|
4 | type: import("vue").PropType<import("./types").CalendarType>;
|
5 | default: import("./types").CalendarType;
|
6 | };
|
7 | switchMode: {
|
8 | type: import("vue").PropType<import("./types").CalendarSwitchMode>;
|
9 | default: import("./types").CalendarSwitchMode;
|
10 | };
|
11 | title: StringConstructor;
|
12 | color: StringConstructor;
|
13 | round: {
|
14 | type: BooleanConstructor;
|
15 | default: true;
|
16 | };
|
17 | readonly: BooleanConstructor;
|
18 | poppable: {
|
19 | type: BooleanConstructor;
|
20 | default: true;
|
21 | };
|
22 | maxRange: {
|
23 | type: (NumberConstructor | StringConstructor)[];
|
24 | default: null;
|
25 | };
|
26 | position: {
|
27 | type: import("vue").PropType<import("..").PopupPosition>;
|
28 | default: import("..").PopupPosition;
|
29 | };
|
30 | teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
|
31 | showMark: {
|
32 | type: BooleanConstructor;
|
33 | default: true;
|
34 | };
|
35 | showTitle: {
|
36 | type: BooleanConstructor;
|
37 | default: true;
|
38 | };
|
39 | formatter: import("vue").PropType<(item: import("./types").CalendarDayItem) => import("./types").CalendarDayItem>;
|
40 | rowHeight: (NumberConstructor | StringConstructor)[];
|
41 | confirmText: StringConstructor;
|
42 | rangePrompt: StringConstructor;
|
43 | lazyRender: {
|
44 | type: BooleanConstructor;
|
45 | default: true;
|
46 | };
|
47 | showConfirm: {
|
48 | type: BooleanConstructor;
|
49 | default: true;
|
50 | };
|
51 | defaultDate: import("vue").PropType<Date | Date[] | null>;
|
52 | allowSameDay: BooleanConstructor;
|
53 | showSubtitle: {
|
54 | type: BooleanConstructor;
|
55 | default: true;
|
56 | };
|
57 | closeOnPopstate: {
|
58 | type: BooleanConstructor;
|
59 | default: true;
|
60 | };
|
61 | showRangePrompt: {
|
62 | type: BooleanConstructor;
|
63 | default: true;
|
64 | };
|
65 | confirmDisabledText: StringConstructor;
|
66 | closeOnClickOverlay: {
|
67 | type: BooleanConstructor;
|
68 | default: true;
|
69 | };
|
70 | safeAreaInsetTop: BooleanConstructor;
|
71 | safeAreaInsetBottom: {
|
72 | type: BooleanConstructor;
|
73 | default: true;
|
74 | };
|
75 | minDate: {
|
76 | type: DateConstructor;
|
77 | validator: (val: unknown) => val is Date;
|
78 | };
|
79 | maxDate: {
|
80 | type: DateConstructor;
|
81 | validator: (val: unknown) => val is Date;
|
82 | };
|
83 | firstDayOfWeek: {
|
84 | type: (NumberConstructor | StringConstructor)[];
|
85 | default: number;
|
86 | validator: (val: number) => boolean;
|
87 | };
|
88 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "update:show" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange")[], "select" | "update:show" | "confirm" | "clickDisabledDate" | "clickSubtitle" | "panelChange" | "unselect" | "monthShow" | "overRange", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
89 | show: BooleanConstructor;
|
90 | type: {
|
91 | type: import("vue").PropType<import("./types").CalendarType>;
|
92 | default: import("./types").CalendarType;
|
93 | };
|
94 | switchMode: {
|
95 | type: import("vue").PropType<import("./types").CalendarSwitchMode>;
|
96 | default: import("./types").CalendarSwitchMode;
|
97 | };
|
98 | title: StringConstructor;
|
99 | color: StringConstructor;
|
100 | round: {
|
101 | type: BooleanConstructor;
|
102 | default: true;
|
103 | };
|
104 | readonly: BooleanConstructor;
|
105 | poppable: {
|
106 | type: BooleanConstructor;
|
107 | default: true;
|
108 | };
|
109 | maxRange: {
|
110 | type: (NumberConstructor | StringConstructor)[];
|
111 | default: null;
|
112 | };
|
113 | position: {
|
114 | type: import("vue").PropType<import("..").PopupPosition>;
|
115 | default: import("..").PopupPosition;
|
116 | };
|
117 | teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
|
118 | showMark: {
|
119 | type: BooleanConstructor;
|
120 | default: true;
|
121 | };
|
122 | showTitle: {
|
123 | type: BooleanConstructor;
|
124 | default: true;
|
125 | };
|
126 | formatter: import("vue").PropType<(item: import("./types").CalendarDayItem) => import("./types").CalendarDayItem>;
|
127 | rowHeight: (NumberConstructor | StringConstructor)[];
|
128 | confirmText: StringConstructor;
|
129 | rangePrompt: StringConstructor;
|
130 | lazyRender: {
|
131 | type: BooleanConstructor;
|
132 | default: true;
|
133 | };
|
134 | showConfirm: {
|
135 | type: BooleanConstructor;
|
136 | default: true;
|
137 | };
|
138 | defaultDate: import("vue").PropType<Date | Date[] | null>;
|
139 | allowSameDay: BooleanConstructor;
|
140 | showSubtitle: {
|
141 | type: BooleanConstructor;
|
142 | default: true;
|
143 | };
|
144 | closeOnPopstate: {
|
145 | type: BooleanConstructor;
|
146 | default: true;
|
147 | };
|
148 | showRangePrompt: {
|
149 | type: BooleanConstructor;
|
150 | default: true;
|
151 | };
|
152 | confirmDisabledText: StringConstructor;
|
153 | closeOnClickOverlay: {
|
154 | type: BooleanConstructor;
|
155 | default: true;
|
156 | };
|
157 | safeAreaInsetTop: BooleanConstructor;
|
158 | safeAreaInsetBottom: {
|
159 | type: BooleanConstructor;
|
160 | default: true;
|
161 | };
|
162 | minDate: {
|
163 | type: DateConstructor;
|
164 | validator: (val: unknown) => val is Date;
|
165 | };
|
166 | maxDate: {
|
167 | type: DateConstructor;
|
168 | validator: (val: unknown) => val is Date;
|
169 | };
|
170 | firstDayOfWeek: {
|
171 | type: (NumberConstructor | StringConstructor)[];
|
172 | default: number;
|
173 | validator: (val: number) => boolean;
|
174 | };
|
175 | }>> & Readonly<{
|
176 | onSelect?: ((...args: any[]) => any) | undefined;
|
177 | "onUpdate:show"?: ((...args: any[]) => any) | undefined;
|
178 | onConfirm?: ((...args: any[]) => any) | undefined;
|
179 | onClickDisabledDate?: ((...args: any[]) => any) | undefined;
|
180 | onClickSubtitle?: ((...args: any[]) => any) | undefined;
|
181 | onPanelChange?: ((...args: any[]) => any) | undefined;
|
182 | onUnselect?: ((...args: any[]) => any) | undefined;
|
183 | onMonthShow?: ((...args: any[]) => any) | undefined;
|
184 | onOverRange?: ((...args: any[]) => any) | undefined;
|
185 | }>, {
|
186 | type: import("./types").CalendarType;
|
187 | position: import("..").PopupPosition;
|
188 | round: boolean;
|
189 | show: boolean;
|
190 | readonly: boolean;
|
191 | safeAreaInsetBottom: boolean;
|
192 | lazyRender: boolean;
|
193 | closeOnClickOverlay: boolean;
|
194 | closeOnPopstate: boolean;
|
195 | safeAreaInsetTop: boolean;
|
196 | switchMode: import("./types").CalendarSwitchMode;
|
197 | poppable: boolean;
|
198 | maxRange: string | number;
|
199 | showMark: boolean;
|
200 | showTitle: boolean;
|
201 | showConfirm: boolean;
|
202 | allowSameDay: boolean;
|
203 | showSubtitle: boolean;
|
204 | showRangePrompt: boolean;
|
205 | firstDayOfWeek: string | number;
|
206 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
207 | export default Calendar;
|
208 | export { calendarProps } from './Calendar';
|
209 | export type { CalendarProps } from './Calendar';
|
210 | export type { CalendarType, CalendarDayItem, CalendarDayType, CalendarInstance, CalendarThemeVars, } from './types';
|
211 | declare module 'vue' {
|
212 | interface GlobalComponents {
|
213 | VanCalendar: typeof Calendar;
|
214 | }
|
215 | }
|
216 |
|
\ | No newline at end of file |