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