cosey 0.7.16 → 0.8.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/components/components.d.ts +3 -1
- package/components/components.js +1 -0
- package/components/field/components/date/date.d.ts +1 -0
- package/components/field/components/week/week.vue.js +1 -1
- package/components/field/components/week-range/week-range.d.ts +5 -0
- package/components/field/components/week-range/week-range.js +1 -0
- package/components/field/components/week-range/week-range.vue.d.ts +4 -0
- package/components/field/components/week-range/week-range.vue.js +34 -0
- package/components/field/field.api.d.ts +3 -0
- package/components/field/field.api.js +72 -70
- package/components/index.d.ts +1 -0
- package/components/index.js +1 -0
- package/components/table/table-query/table-query.js +2 -1
- package/components/week-range-picker/index.d.ts +865 -0
- package/components/week-range-picker/index.js +7 -0
- package/components/week-range-picker/panel-week-range.api.d.ts +32 -0
- package/components/week-range-picker/panel-week-range.api.js +15 -0
- package/components/week-range-picker/panel-week-range.d.ts +25 -0
- package/components/week-range-picker/panel-week-range.js +207 -0
- package/components/week-range-picker/panel-week-range.style.d.ts +4 -0
- package/components/week-range-picker/panel-week-range.style.js +94 -0
- package/components/week-range-picker/week-range-picker.api.d.ts +269 -0
- package/components/week-range-picker/week-range-picker.api.js +16 -0
- package/components/week-range-picker/week-range-picker.d.ts +540 -0
- package/components/week-range-picker/week-range-picker.js +44 -0
- package/components/week-range-picker/week-range-picker.style.d.ts +4 -0
- package/components/week-range-picker/week-range-picker.style.js +12 -0
- package/locale/lang/ar.d.ts +1 -0
- package/locale/lang/ar.js +1 -0
- package/locale/lang/en.d.ts +1 -0
- package/locale/lang/en.js +2 -1
- package/locale/lang/zh-cn.d.ts +1 -0
- package/locale/lang/zh-cn.js +2 -1
- package/package.json +1 -1
|
@@ -0,0 +1,865 @@
|
|
|
1
|
+
export * from './week-range-picker';
|
|
2
|
+
declare const _WeekRangePicker: {
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: import("vue").PropType<Date[]>;
|
|
6
|
+
};
|
|
7
|
+
showNow: {
|
|
8
|
+
readonly type: import("vue").PropType<boolean>;
|
|
9
|
+
readonly required: false;
|
|
10
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
11
|
+
__epPropKey: true;
|
|
12
|
+
} & {
|
|
13
|
+
readonly default: true;
|
|
14
|
+
};
|
|
15
|
+
showConfirm: {
|
|
16
|
+
readonly type: import("vue").PropType<boolean>;
|
|
17
|
+
readonly required: false;
|
|
18
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
19
|
+
__epPropKey: true;
|
|
20
|
+
} & {
|
|
21
|
+
readonly default: true;
|
|
22
|
+
};
|
|
23
|
+
showFooter: {
|
|
24
|
+
readonly type: import("vue").PropType<boolean>;
|
|
25
|
+
readonly required: false;
|
|
26
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
27
|
+
__epPropKey: true;
|
|
28
|
+
} & {
|
|
29
|
+
readonly default: true;
|
|
30
|
+
};
|
|
31
|
+
showWeekNumber: BooleanConstructor;
|
|
32
|
+
ariaLabel: StringConstructor;
|
|
33
|
+
emptyValues: ArrayConstructor;
|
|
34
|
+
valueOnClear: {
|
|
35
|
+
readonly type: import("vue").PropType<string | number | boolean | Function | null>;
|
|
36
|
+
readonly required: false;
|
|
37
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
38
|
+
__epPropKey: true;
|
|
39
|
+
} & {
|
|
40
|
+
readonly default: undefined;
|
|
41
|
+
};
|
|
42
|
+
disabledDate: {
|
|
43
|
+
readonly type: import("vue").PropType<Function>;
|
|
44
|
+
readonly required: false;
|
|
45
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
46
|
+
__epPropKey: true;
|
|
47
|
+
};
|
|
48
|
+
cellClassName: {
|
|
49
|
+
readonly type: import("vue").PropType<Function>;
|
|
50
|
+
readonly required: false;
|
|
51
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
52
|
+
__epPropKey: true;
|
|
53
|
+
};
|
|
54
|
+
shortcuts: {
|
|
55
|
+
readonly type: import("vue").PropType<unknown[]>;
|
|
56
|
+
readonly required: false;
|
|
57
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
58
|
+
__epPropKey: true;
|
|
59
|
+
} & {
|
|
60
|
+
readonly default: () => never[];
|
|
61
|
+
};
|
|
62
|
+
arrowControl: BooleanConstructor;
|
|
63
|
+
tabindex: {
|
|
64
|
+
readonly type: import("vue").PropType<string | number>;
|
|
65
|
+
readonly required: false;
|
|
66
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
67
|
+
__epPropKey: true;
|
|
68
|
+
} & {
|
|
69
|
+
readonly default: 0;
|
|
70
|
+
};
|
|
71
|
+
validateEvent: {
|
|
72
|
+
readonly type: import("vue").PropType<boolean>;
|
|
73
|
+
readonly required: false;
|
|
74
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
75
|
+
__epPropKey: true;
|
|
76
|
+
} & {
|
|
77
|
+
readonly default: true;
|
|
78
|
+
};
|
|
79
|
+
unlinkPanels: BooleanConstructor;
|
|
80
|
+
placement: {
|
|
81
|
+
readonly type: import("vue").PropType<any>;
|
|
82
|
+
readonly required: false;
|
|
83
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
84
|
+
__epPropKey: true;
|
|
85
|
+
} & {
|
|
86
|
+
readonly default: "bottom";
|
|
87
|
+
};
|
|
88
|
+
fallbackPlacements: {
|
|
89
|
+
readonly type: import("vue").PropType<Placement[]>;
|
|
90
|
+
readonly required: false;
|
|
91
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
92
|
+
__epPropKey: true;
|
|
93
|
+
} & {
|
|
94
|
+
readonly default: readonly ["bottom", "top", "right", "left"];
|
|
95
|
+
};
|
|
96
|
+
disabledHours: {
|
|
97
|
+
readonly type: import("vue").PropType<import("element-plus").GetDisabledHours>;
|
|
98
|
+
readonly required: false;
|
|
99
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
100
|
+
__epPropKey: true;
|
|
101
|
+
};
|
|
102
|
+
disabledMinutes: {
|
|
103
|
+
readonly type: import("vue").PropType<import("element-plus").GetDisabledMinutes>;
|
|
104
|
+
readonly required: false;
|
|
105
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
106
|
+
__epPropKey: true;
|
|
107
|
+
};
|
|
108
|
+
disabledSeconds: {
|
|
109
|
+
readonly type: import("vue").PropType<import("element-plus").GetDisabledSeconds>;
|
|
110
|
+
readonly required: false;
|
|
111
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
112
|
+
__epPropKey: true;
|
|
113
|
+
};
|
|
114
|
+
automaticDropdown: {
|
|
115
|
+
readonly type: import("vue").PropType<boolean>;
|
|
116
|
+
readonly required: false;
|
|
117
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
118
|
+
__epPropKey: true;
|
|
119
|
+
} & {
|
|
120
|
+
readonly default: true;
|
|
121
|
+
};
|
|
122
|
+
id: {
|
|
123
|
+
readonly type: import("vue").PropType<import("element-plus").SingleOrRange<string>>;
|
|
124
|
+
readonly required: false;
|
|
125
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
126
|
+
__epPropKey: true;
|
|
127
|
+
};
|
|
128
|
+
name: {
|
|
129
|
+
readonly type: import("vue").PropType<import("element-plus").SingleOrRange<string>>;
|
|
130
|
+
readonly required: false;
|
|
131
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
132
|
+
__epPropKey: true;
|
|
133
|
+
};
|
|
134
|
+
popperClass: {
|
|
135
|
+
readonly type: import("vue").PropType<string | {
|
|
136
|
+
[x: string]: boolean;
|
|
137
|
+
} | (string | {
|
|
138
|
+
[x: string]: boolean;
|
|
139
|
+
} | (string | {
|
|
140
|
+
[x: string]: boolean;
|
|
141
|
+
} | (string | {
|
|
142
|
+
[x: string]: boolean;
|
|
143
|
+
} | (string | {
|
|
144
|
+
[x: string]: boolean;
|
|
145
|
+
} | (string | {
|
|
146
|
+
[x: string]: boolean;
|
|
147
|
+
} | (string | {
|
|
148
|
+
[x: string]: boolean;
|
|
149
|
+
} | (string | {
|
|
150
|
+
[x: string]: boolean;
|
|
151
|
+
} | (string | {
|
|
152
|
+
[x: string]: boolean;
|
|
153
|
+
} | (string | {
|
|
154
|
+
[x: string]: boolean;
|
|
155
|
+
} | (string | any[] | {
|
|
156
|
+
[x: string]: boolean;
|
|
157
|
+
})[])[])[])[])[])[])[])[])[])[]>;
|
|
158
|
+
readonly required: false;
|
|
159
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
160
|
+
__epPropKey: true;
|
|
161
|
+
};
|
|
162
|
+
popperStyle: {
|
|
163
|
+
readonly type: import("vue").PropType<import("vue").StyleValue>;
|
|
164
|
+
readonly required: false;
|
|
165
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
166
|
+
__epPropKey: true;
|
|
167
|
+
};
|
|
168
|
+
format: StringConstructor;
|
|
169
|
+
valueFormat: StringConstructor;
|
|
170
|
+
dateFormat: StringConstructor;
|
|
171
|
+
timeFormat: StringConstructor;
|
|
172
|
+
type: {
|
|
173
|
+
readonly type: import("vue").PropType<string>;
|
|
174
|
+
readonly required: false;
|
|
175
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
176
|
+
__epPropKey: true;
|
|
177
|
+
} & {
|
|
178
|
+
readonly default: "";
|
|
179
|
+
};
|
|
180
|
+
clearable: {
|
|
181
|
+
readonly type: import("vue").PropType<boolean>;
|
|
182
|
+
readonly required: false;
|
|
183
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
184
|
+
__epPropKey: true;
|
|
185
|
+
} & {
|
|
186
|
+
readonly default: true;
|
|
187
|
+
};
|
|
188
|
+
clearIcon: {
|
|
189
|
+
readonly type: import("vue").PropType<string | import("vue").Component>;
|
|
190
|
+
readonly required: false;
|
|
191
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
192
|
+
__epPropKey: true;
|
|
193
|
+
};
|
|
194
|
+
editable: {
|
|
195
|
+
readonly type: import("vue").PropType<boolean>;
|
|
196
|
+
readonly required: false;
|
|
197
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
198
|
+
__epPropKey: true;
|
|
199
|
+
} & {
|
|
200
|
+
readonly default: true;
|
|
201
|
+
};
|
|
202
|
+
prefixIcon: {
|
|
203
|
+
readonly type: import("vue").PropType<string | import("vue").Component>;
|
|
204
|
+
readonly required: false;
|
|
205
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
206
|
+
__epPropKey: true;
|
|
207
|
+
} & {
|
|
208
|
+
readonly default: "";
|
|
209
|
+
};
|
|
210
|
+
size: {
|
|
211
|
+
readonly type: import("vue").PropType<"" | "default" | "large" | "small">;
|
|
212
|
+
readonly required: false;
|
|
213
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
214
|
+
__epPropKey: true;
|
|
215
|
+
};
|
|
216
|
+
readonly: BooleanConstructor;
|
|
217
|
+
disabled: BooleanConstructor;
|
|
218
|
+
placeholder: {
|
|
219
|
+
readonly type: import("vue").PropType<string>;
|
|
220
|
+
readonly required: false;
|
|
221
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
222
|
+
__epPropKey: true;
|
|
223
|
+
} & {
|
|
224
|
+
readonly default: "";
|
|
225
|
+
};
|
|
226
|
+
popperOptions: {
|
|
227
|
+
readonly type: import("vue").PropType<any>;
|
|
228
|
+
readonly required: false;
|
|
229
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
230
|
+
__epPropKey: true;
|
|
231
|
+
} & {
|
|
232
|
+
readonly default: () => {};
|
|
233
|
+
};
|
|
234
|
+
rangeSeparator: {
|
|
235
|
+
readonly type: import("vue").PropType<string>;
|
|
236
|
+
readonly required: false;
|
|
237
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
238
|
+
__epPropKey: true;
|
|
239
|
+
} & {
|
|
240
|
+
readonly default: "-";
|
|
241
|
+
};
|
|
242
|
+
startPlaceholder: StringConstructor;
|
|
243
|
+
endPlaceholder: StringConstructor;
|
|
244
|
+
defaultValue: {
|
|
245
|
+
readonly type: import("vue").PropType<import("element-plus").SingleOrRange<Date>>;
|
|
246
|
+
readonly required: false;
|
|
247
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
248
|
+
__epPropKey: true;
|
|
249
|
+
};
|
|
250
|
+
defaultTime: {
|
|
251
|
+
readonly type: import("vue").PropType<import("element-plus").SingleOrRange<Date>>;
|
|
252
|
+
readonly required: false;
|
|
253
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
254
|
+
__epPropKey: true;
|
|
255
|
+
};
|
|
256
|
+
isRange: BooleanConstructor;
|
|
257
|
+
}>> & Readonly<{
|
|
258
|
+
onChange?: ((value: Date[] | null | undefined) => any) | undefined;
|
|
259
|
+
"onUpdate:modelValue"?: ((value: Date[] | null | undefined) => any) | undefined;
|
|
260
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
261
|
+
'update:modelValue': (value: Date[] | undefined | null) => boolean;
|
|
262
|
+
change: (value: Date[] | undefined | null) => boolean;
|
|
263
|
+
}, import("vue").PublicProps, {
|
|
264
|
+
disabled: boolean;
|
|
265
|
+
type: string;
|
|
266
|
+
placeholder: string;
|
|
267
|
+
placement: any;
|
|
268
|
+
fallbackPlacements: Placement[];
|
|
269
|
+
popperOptions: any;
|
|
270
|
+
tabindex: string | number;
|
|
271
|
+
validateEvent: boolean;
|
|
272
|
+
readonly: boolean;
|
|
273
|
+
clearable: boolean;
|
|
274
|
+
prefixIcon: string | import("vue").Component;
|
|
275
|
+
valueOnClear: string | number | boolean | Function | null;
|
|
276
|
+
showNow: boolean;
|
|
277
|
+
showConfirm: boolean;
|
|
278
|
+
showFooter: boolean;
|
|
279
|
+
showWeekNumber: boolean;
|
|
280
|
+
shortcuts: unknown[];
|
|
281
|
+
arrowControl: boolean;
|
|
282
|
+
unlinkPanels: boolean;
|
|
283
|
+
automaticDropdown: boolean;
|
|
284
|
+
editable: boolean;
|
|
285
|
+
rangeSeparator: string;
|
|
286
|
+
isRange: boolean;
|
|
287
|
+
}, true, {}, import("vue").SlotsType<import("./week-range-picker.api").WeekRangePickerSlots>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
288
|
+
P: {};
|
|
289
|
+
B: {};
|
|
290
|
+
D: {};
|
|
291
|
+
C: {};
|
|
292
|
+
M: {};
|
|
293
|
+
Defaults: {};
|
|
294
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
295
|
+
modelValue: {
|
|
296
|
+
type: import("vue").PropType<Date[]>;
|
|
297
|
+
};
|
|
298
|
+
showNow: {
|
|
299
|
+
readonly type: import("vue").PropType<boolean>;
|
|
300
|
+
readonly required: false;
|
|
301
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
302
|
+
__epPropKey: true;
|
|
303
|
+
} & {
|
|
304
|
+
readonly default: true;
|
|
305
|
+
};
|
|
306
|
+
showConfirm: {
|
|
307
|
+
readonly type: import("vue").PropType<boolean>;
|
|
308
|
+
readonly required: false;
|
|
309
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
310
|
+
__epPropKey: true;
|
|
311
|
+
} & {
|
|
312
|
+
readonly default: true;
|
|
313
|
+
};
|
|
314
|
+
showFooter: {
|
|
315
|
+
readonly type: import("vue").PropType<boolean>;
|
|
316
|
+
readonly required: false;
|
|
317
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
318
|
+
__epPropKey: true;
|
|
319
|
+
} & {
|
|
320
|
+
readonly default: true;
|
|
321
|
+
};
|
|
322
|
+
showWeekNumber: BooleanConstructor;
|
|
323
|
+
ariaLabel: StringConstructor;
|
|
324
|
+
emptyValues: ArrayConstructor;
|
|
325
|
+
valueOnClear: {
|
|
326
|
+
readonly type: import("vue").PropType<string | number | boolean | Function | null>;
|
|
327
|
+
readonly required: false;
|
|
328
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
329
|
+
__epPropKey: true;
|
|
330
|
+
} & {
|
|
331
|
+
readonly default: undefined;
|
|
332
|
+
};
|
|
333
|
+
disabledDate: {
|
|
334
|
+
readonly type: import("vue").PropType<Function>;
|
|
335
|
+
readonly required: false;
|
|
336
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
337
|
+
__epPropKey: true;
|
|
338
|
+
};
|
|
339
|
+
cellClassName: {
|
|
340
|
+
readonly type: import("vue").PropType<Function>;
|
|
341
|
+
readonly required: false;
|
|
342
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
343
|
+
__epPropKey: true;
|
|
344
|
+
};
|
|
345
|
+
shortcuts: {
|
|
346
|
+
readonly type: import("vue").PropType<unknown[]>;
|
|
347
|
+
readonly required: false;
|
|
348
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
349
|
+
__epPropKey: true;
|
|
350
|
+
} & {
|
|
351
|
+
readonly default: () => never[];
|
|
352
|
+
};
|
|
353
|
+
arrowControl: BooleanConstructor;
|
|
354
|
+
tabindex: {
|
|
355
|
+
readonly type: import("vue").PropType<string | number>;
|
|
356
|
+
readonly required: false;
|
|
357
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
358
|
+
__epPropKey: true;
|
|
359
|
+
} & {
|
|
360
|
+
readonly default: 0;
|
|
361
|
+
};
|
|
362
|
+
validateEvent: {
|
|
363
|
+
readonly type: import("vue").PropType<boolean>;
|
|
364
|
+
readonly required: false;
|
|
365
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
366
|
+
__epPropKey: true;
|
|
367
|
+
} & {
|
|
368
|
+
readonly default: true;
|
|
369
|
+
};
|
|
370
|
+
unlinkPanels: BooleanConstructor;
|
|
371
|
+
placement: {
|
|
372
|
+
readonly type: import("vue").PropType<any>;
|
|
373
|
+
readonly required: false;
|
|
374
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
375
|
+
__epPropKey: true;
|
|
376
|
+
} & {
|
|
377
|
+
readonly default: "bottom";
|
|
378
|
+
};
|
|
379
|
+
fallbackPlacements: {
|
|
380
|
+
readonly type: import("vue").PropType<Placement[]>;
|
|
381
|
+
readonly required: false;
|
|
382
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
383
|
+
__epPropKey: true;
|
|
384
|
+
} & {
|
|
385
|
+
readonly default: readonly ["bottom", "top", "right", "left"];
|
|
386
|
+
};
|
|
387
|
+
disabledHours: {
|
|
388
|
+
readonly type: import("vue").PropType<import("element-plus").GetDisabledHours>;
|
|
389
|
+
readonly required: false;
|
|
390
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
391
|
+
__epPropKey: true;
|
|
392
|
+
};
|
|
393
|
+
disabledMinutes: {
|
|
394
|
+
readonly type: import("vue").PropType<import("element-plus").GetDisabledMinutes>;
|
|
395
|
+
readonly required: false;
|
|
396
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
397
|
+
__epPropKey: true;
|
|
398
|
+
};
|
|
399
|
+
disabledSeconds: {
|
|
400
|
+
readonly type: import("vue").PropType<import("element-plus").GetDisabledSeconds>;
|
|
401
|
+
readonly required: false;
|
|
402
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
403
|
+
__epPropKey: true;
|
|
404
|
+
};
|
|
405
|
+
automaticDropdown: {
|
|
406
|
+
readonly type: import("vue").PropType<boolean>;
|
|
407
|
+
readonly required: false;
|
|
408
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
409
|
+
__epPropKey: true;
|
|
410
|
+
} & {
|
|
411
|
+
readonly default: true;
|
|
412
|
+
};
|
|
413
|
+
id: {
|
|
414
|
+
readonly type: import("vue").PropType<import("element-plus").SingleOrRange<string>>;
|
|
415
|
+
readonly required: false;
|
|
416
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
417
|
+
__epPropKey: true;
|
|
418
|
+
};
|
|
419
|
+
name: {
|
|
420
|
+
readonly type: import("vue").PropType<import("element-plus").SingleOrRange<string>>;
|
|
421
|
+
readonly required: false;
|
|
422
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
423
|
+
__epPropKey: true;
|
|
424
|
+
};
|
|
425
|
+
popperClass: {
|
|
426
|
+
readonly type: import("vue").PropType<string | {
|
|
427
|
+
[x: string]: boolean;
|
|
428
|
+
} | (string | {
|
|
429
|
+
[x: string]: boolean;
|
|
430
|
+
} | (string | {
|
|
431
|
+
[x: string]: boolean;
|
|
432
|
+
} | (string | {
|
|
433
|
+
[x: string]: boolean;
|
|
434
|
+
} | (string | {
|
|
435
|
+
[x: string]: boolean;
|
|
436
|
+
} | (string | {
|
|
437
|
+
[x: string]: boolean;
|
|
438
|
+
} | (string | {
|
|
439
|
+
[x: string]: boolean;
|
|
440
|
+
} | (string | {
|
|
441
|
+
[x: string]: boolean;
|
|
442
|
+
} | (string | {
|
|
443
|
+
[x: string]: boolean;
|
|
444
|
+
} | (string | {
|
|
445
|
+
[x: string]: boolean;
|
|
446
|
+
} | (string | any[] | {
|
|
447
|
+
[x: string]: boolean;
|
|
448
|
+
})[])[])[])[])[])[])[])[])[])[]>;
|
|
449
|
+
readonly required: false;
|
|
450
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
451
|
+
__epPropKey: true;
|
|
452
|
+
};
|
|
453
|
+
popperStyle: {
|
|
454
|
+
readonly type: import("vue").PropType<import("vue").StyleValue>;
|
|
455
|
+
readonly required: false;
|
|
456
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
457
|
+
__epPropKey: true;
|
|
458
|
+
};
|
|
459
|
+
format: StringConstructor;
|
|
460
|
+
valueFormat: StringConstructor;
|
|
461
|
+
dateFormat: StringConstructor;
|
|
462
|
+
timeFormat: StringConstructor;
|
|
463
|
+
type: {
|
|
464
|
+
readonly type: import("vue").PropType<string>;
|
|
465
|
+
readonly required: false;
|
|
466
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
467
|
+
__epPropKey: true;
|
|
468
|
+
} & {
|
|
469
|
+
readonly default: "";
|
|
470
|
+
};
|
|
471
|
+
clearable: {
|
|
472
|
+
readonly type: import("vue").PropType<boolean>;
|
|
473
|
+
readonly required: false;
|
|
474
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
475
|
+
__epPropKey: true;
|
|
476
|
+
} & {
|
|
477
|
+
readonly default: true;
|
|
478
|
+
};
|
|
479
|
+
clearIcon: {
|
|
480
|
+
readonly type: import("vue").PropType<string | import("vue").Component>;
|
|
481
|
+
readonly required: false;
|
|
482
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
483
|
+
__epPropKey: true;
|
|
484
|
+
};
|
|
485
|
+
editable: {
|
|
486
|
+
readonly type: import("vue").PropType<boolean>;
|
|
487
|
+
readonly required: false;
|
|
488
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
489
|
+
__epPropKey: true;
|
|
490
|
+
} & {
|
|
491
|
+
readonly default: true;
|
|
492
|
+
};
|
|
493
|
+
prefixIcon: {
|
|
494
|
+
readonly type: import("vue").PropType<string | import("vue").Component>;
|
|
495
|
+
readonly required: false;
|
|
496
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
497
|
+
__epPropKey: true;
|
|
498
|
+
} & {
|
|
499
|
+
readonly default: "";
|
|
500
|
+
};
|
|
501
|
+
size: {
|
|
502
|
+
readonly type: import("vue").PropType<"" | "default" | "large" | "small">;
|
|
503
|
+
readonly required: false;
|
|
504
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
505
|
+
__epPropKey: true;
|
|
506
|
+
};
|
|
507
|
+
readonly: BooleanConstructor;
|
|
508
|
+
disabled: BooleanConstructor;
|
|
509
|
+
placeholder: {
|
|
510
|
+
readonly type: import("vue").PropType<string>;
|
|
511
|
+
readonly required: false;
|
|
512
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
513
|
+
__epPropKey: true;
|
|
514
|
+
} & {
|
|
515
|
+
readonly default: "";
|
|
516
|
+
};
|
|
517
|
+
popperOptions: {
|
|
518
|
+
readonly type: import("vue").PropType<any>;
|
|
519
|
+
readonly required: false;
|
|
520
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
521
|
+
__epPropKey: true;
|
|
522
|
+
} & {
|
|
523
|
+
readonly default: () => {};
|
|
524
|
+
};
|
|
525
|
+
rangeSeparator: {
|
|
526
|
+
readonly type: import("vue").PropType<string>;
|
|
527
|
+
readonly required: false;
|
|
528
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
529
|
+
__epPropKey: true;
|
|
530
|
+
} & {
|
|
531
|
+
readonly default: "-";
|
|
532
|
+
};
|
|
533
|
+
startPlaceholder: StringConstructor;
|
|
534
|
+
endPlaceholder: StringConstructor;
|
|
535
|
+
defaultValue: {
|
|
536
|
+
readonly type: import("vue").PropType<import("element-plus").SingleOrRange<Date>>;
|
|
537
|
+
readonly required: false;
|
|
538
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
539
|
+
__epPropKey: true;
|
|
540
|
+
};
|
|
541
|
+
defaultTime: {
|
|
542
|
+
readonly type: import("vue").PropType<import("element-plus").SingleOrRange<Date>>;
|
|
543
|
+
readonly required: false;
|
|
544
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
545
|
+
__epPropKey: true;
|
|
546
|
+
};
|
|
547
|
+
isRange: BooleanConstructor;
|
|
548
|
+
}>> & Readonly<{
|
|
549
|
+
onChange?: ((value: Date[] | null | undefined) => any) | undefined;
|
|
550
|
+
"onUpdate:modelValue"?: ((value: Date[] | null | undefined) => any) | undefined;
|
|
551
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
552
|
+
disabled: boolean;
|
|
553
|
+
type: string;
|
|
554
|
+
placeholder: string;
|
|
555
|
+
placement: any;
|
|
556
|
+
fallbackPlacements: Placement[];
|
|
557
|
+
popperOptions: any;
|
|
558
|
+
tabindex: string | number;
|
|
559
|
+
validateEvent: boolean;
|
|
560
|
+
readonly: boolean;
|
|
561
|
+
clearable: boolean;
|
|
562
|
+
prefixIcon: string | import("vue").Component;
|
|
563
|
+
valueOnClear: string | number | boolean | Function | null;
|
|
564
|
+
showNow: boolean;
|
|
565
|
+
showConfirm: boolean;
|
|
566
|
+
showFooter: boolean;
|
|
567
|
+
showWeekNumber: boolean;
|
|
568
|
+
shortcuts: unknown[];
|
|
569
|
+
arrowControl: boolean;
|
|
570
|
+
unlinkPanels: boolean;
|
|
571
|
+
automaticDropdown: boolean;
|
|
572
|
+
editable: boolean;
|
|
573
|
+
rangeSeparator: string;
|
|
574
|
+
isRange: boolean;
|
|
575
|
+
}>;
|
|
576
|
+
__isFragment?: never;
|
|
577
|
+
__isTeleport?: never;
|
|
578
|
+
__isSuspense?: never;
|
|
579
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
580
|
+
modelValue: {
|
|
581
|
+
type: import("vue").PropType<Date[]>;
|
|
582
|
+
};
|
|
583
|
+
showNow: {
|
|
584
|
+
readonly type: import("vue").PropType<boolean>;
|
|
585
|
+
readonly required: false;
|
|
586
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
587
|
+
__epPropKey: true;
|
|
588
|
+
} & {
|
|
589
|
+
readonly default: true;
|
|
590
|
+
};
|
|
591
|
+
showConfirm: {
|
|
592
|
+
readonly type: import("vue").PropType<boolean>;
|
|
593
|
+
readonly required: false;
|
|
594
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
595
|
+
__epPropKey: true;
|
|
596
|
+
} & {
|
|
597
|
+
readonly default: true;
|
|
598
|
+
};
|
|
599
|
+
showFooter: {
|
|
600
|
+
readonly type: import("vue").PropType<boolean>;
|
|
601
|
+
readonly required: false;
|
|
602
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
603
|
+
__epPropKey: true;
|
|
604
|
+
} & {
|
|
605
|
+
readonly default: true;
|
|
606
|
+
};
|
|
607
|
+
showWeekNumber: BooleanConstructor;
|
|
608
|
+
ariaLabel: StringConstructor;
|
|
609
|
+
emptyValues: ArrayConstructor;
|
|
610
|
+
valueOnClear: {
|
|
611
|
+
readonly type: import("vue").PropType<string | number | boolean | Function | null>;
|
|
612
|
+
readonly required: false;
|
|
613
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
614
|
+
__epPropKey: true;
|
|
615
|
+
} & {
|
|
616
|
+
readonly default: undefined;
|
|
617
|
+
};
|
|
618
|
+
disabledDate: {
|
|
619
|
+
readonly type: import("vue").PropType<Function>;
|
|
620
|
+
readonly required: false;
|
|
621
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
622
|
+
__epPropKey: true;
|
|
623
|
+
};
|
|
624
|
+
cellClassName: {
|
|
625
|
+
readonly type: import("vue").PropType<Function>;
|
|
626
|
+
readonly required: false;
|
|
627
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
628
|
+
__epPropKey: true;
|
|
629
|
+
};
|
|
630
|
+
shortcuts: {
|
|
631
|
+
readonly type: import("vue").PropType<unknown[]>;
|
|
632
|
+
readonly required: false;
|
|
633
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
634
|
+
__epPropKey: true;
|
|
635
|
+
} & {
|
|
636
|
+
readonly default: () => never[];
|
|
637
|
+
};
|
|
638
|
+
arrowControl: BooleanConstructor;
|
|
639
|
+
tabindex: {
|
|
640
|
+
readonly type: import("vue").PropType<string | number>;
|
|
641
|
+
readonly required: false;
|
|
642
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
643
|
+
__epPropKey: true;
|
|
644
|
+
} & {
|
|
645
|
+
readonly default: 0;
|
|
646
|
+
};
|
|
647
|
+
validateEvent: {
|
|
648
|
+
readonly type: import("vue").PropType<boolean>;
|
|
649
|
+
readonly required: false;
|
|
650
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
651
|
+
__epPropKey: true;
|
|
652
|
+
} & {
|
|
653
|
+
readonly default: true;
|
|
654
|
+
};
|
|
655
|
+
unlinkPanels: BooleanConstructor;
|
|
656
|
+
placement: {
|
|
657
|
+
readonly type: import("vue").PropType<any>;
|
|
658
|
+
readonly required: false;
|
|
659
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
660
|
+
__epPropKey: true;
|
|
661
|
+
} & {
|
|
662
|
+
readonly default: "bottom";
|
|
663
|
+
};
|
|
664
|
+
fallbackPlacements: {
|
|
665
|
+
readonly type: import("vue").PropType<Placement[]>;
|
|
666
|
+
readonly required: false;
|
|
667
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
668
|
+
__epPropKey: true;
|
|
669
|
+
} & {
|
|
670
|
+
readonly default: readonly ["bottom", "top", "right", "left"];
|
|
671
|
+
};
|
|
672
|
+
disabledHours: {
|
|
673
|
+
readonly type: import("vue").PropType<import("element-plus").GetDisabledHours>;
|
|
674
|
+
readonly required: false;
|
|
675
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
676
|
+
__epPropKey: true;
|
|
677
|
+
};
|
|
678
|
+
disabledMinutes: {
|
|
679
|
+
readonly type: import("vue").PropType<import("element-plus").GetDisabledMinutes>;
|
|
680
|
+
readonly required: false;
|
|
681
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
682
|
+
__epPropKey: true;
|
|
683
|
+
};
|
|
684
|
+
disabledSeconds: {
|
|
685
|
+
readonly type: import("vue").PropType<import("element-plus").GetDisabledSeconds>;
|
|
686
|
+
readonly required: false;
|
|
687
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
688
|
+
__epPropKey: true;
|
|
689
|
+
};
|
|
690
|
+
automaticDropdown: {
|
|
691
|
+
readonly type: import("vue").PropType<boolean>;
|
|
692
|
+
readonly required: false;
|
|
693
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
694
|
+
__epPropKey: true;
|
|
695
|
+
} & {
|
|
696
|
+
readonly default: true;
|
|
697
|
+
};
|
|
698
|
+
id: {
|
|
699
|
+
readonly type: import("vue").PropType<import("element-plus").SingleOrRange<string>>;
|
|
700
|
+
readonly required: false;
|
|
701
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
702
|
+
__epPropKey: true;
|
|
703
|
+
};
|
|
704
|
+
name: {
|
|
705
|
+
readonly type: import("vue").PropType<import("element-plus").SingleOrRange<string>>;
|
|
706
|
+
readonly required: false;
|
|
707
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
708
|
+
__epPropKey: true;
|
|
709
|
+
};
|
|
710
|
+
popperClass: {
|
|
711
|
+
readonly type: import("vue").PropType<string | {
|
|
712
|
+
[x: string]: boolean;
|
|
713
|
+
} | (string | {
|
|
714
|
+
[x: string]: boolean;
|
|
715
|
+
} | (string | {
|
|
716
|
+
[x: string]: boolean;
|
|
717
|
+
} | (string | {
|
|
718
|
+
[x: string]: boolean;
|
|
719
|
+
} | (string | {
|
|
720
|
+
[x: string]: boolean;
|
|
721
|
+
} | (string | {
|
|
722
|
+
[x: string]: boolean;
|
|
723
|
+
} | (string | {
|
|
724
|
+
[x: string]: boolean;
|
|
725
|
+
} | (string | {
|
|
726
|
+
[x: string]: boolean;
|
|
727
|
+
} | (string | {
|
|
728
|
+
[x: string]: boolean;
|
|
729
|
+
} | (string | {
|
|
730
|
+
[x: string]: boolean;
|
|
731
|
+
} | (string | any[] | {
|
|
732
|
+
[x: string]: boolean;
|
|
733
|
+
})[])[])[])[])[])[])[])[])[])[]>;
|
|
734
|
+
readonly required: false;
|
|
735
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
736
|
+
__epPropKey: true;
|
|
737
|
+
};
|
|
738
|
+
popperStyle: {
|
|
739
|
+
readonly type: import("vue").PropType<import("vue").StyleValue>;
|
|
740
|
+
readonly required: false;
|
|
741
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
742
|
+
__epPropKey: true;
|
|
743
|
+
};
|
|
744
|
+
format: StringConstructor;
|
|
745
|
+
valueFormat: StringConstructor;
|
|
746
|
+
dateFormat: StringConstructor;
|
|
747
|
+
timeFormat: StringConstructor;
|
|
748
|
+
type: {
|
|
749
|
+
readonly type: import("vue").PropType<string>;
|
|
750
|
+
readonly required: false;
|
|
751
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
752
|
+
__epPropKey: true;
|
|
753
|
+
} & {
|
|
754
|
+
readonly default: "";
|
|
755
|
+
};
|
|
756
|
+
clearable: {
|
|
757
|
+
readonly type: import("vue").PropType<boolean>;
|
|
758
|
+
readonly required: false;
|
|
759
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
760
|
+
__epPropKey: true;
|
|
761
|
+
} & {
|
|
762
|
+
readonly default: true;
|
|
763
|
+
};
|
|
764
|
+
clearIcon: {
|
|
765
|
+
readonly type: import("vue").PropType<string | import("vue").Component>;
|
|
766
|
+
readonly required: false;
|
|
767
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
768
|
+
__epPropKey: true;
|
|
769
|
+
};
|
|
770
|
+
editable: {
|
|
771
|
+
readonly type: import("vue").PropType<boolean>;
|
|
772
|
+
readonly required: false;
|
|
773
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
774
|
+
__epPropKey: true;
|
|
775
|
+
} & {
|
|
776
|
+
readonly default: true;
|
|
777
|
+
};
|
|
778
|
+
prefixIcon: {
|
|
779
|
+
readonly type: import("vue").PropType<string | import("vue").Component>;
|
|
780
|
+
readonly required: false;
|
|
781
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
782
|
+
__epPropKey: true;
|
|
783
|
+
} & {
|
|
784
|
+
readonly default: "";
|
|
785
|
+
};
|
|
786
|
+
size: {
|
|
787
|
+
readonly type: import("vue").PropType<"" | "default" | "large" | "small">;
|
|
788
|
+
readonly required: false;
|
|
789
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
790
|
+
__epPropKey: true;
|
|
791
|
+
};
|
|
792
|
+
readonly: BooleanConstructor;
|
|
793
|
+
disabled: BooleanConstructor;
|
|
794
|
+
placeholder: {
|
|
795
|
+
readonly type: import("vue").PropType<string>;
|
|
796
|
+
readonly required: false;
|
|
797
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
798
|
+
__epPropKey: true;
|
|
799
|
+
} & {
|
|
800
|
+
readonly default: "";
|
|
801
|
+
};
|
|
802
|
+
popperOptions: {
|
|
803
|
+
readonly type: import("vue").PropType<any>;
|
|
804
|
+
readonly required: false;
|
|
805
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
806
|
+
__epPropKey: true;
|
|
807
|
+
} & {
|
|
808
|
+
readonly default: () => {};
|
|
809
|
+
};
|
|
810
|
+
rangeSeparator: {
|
|
811
|
+
readonly type: import("vue").PropType<string>;
|
|
812
|
+
readonly required: false;
|
|
813
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
814
|
+
__epPropKey: true;
|
|
815
|
+
} & {
|
|
816
|
+
readonly default: "-";
|
|
817
|
+
};
|
|
818
|
+
startPlaceholder: StringConstructor;
|
|
819
|
+
endPlaceholder: StringConstructor;
|
|
820
|
+
defaultValue: {
|
|
821
|
+
readonly type: import("vue").PropType<import("element-plus").SingleOrRange<Date>>;
|
|
822
|
+
readonly required: false;
|
|
823
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
824
|
+
__epPropKey: true;
|
|
825
|
+
};
|
|
826
|
+
defaultTime: {
|
|
827
|
+
readonly type: import("vue").PropType<import("element-plus").SingleOrRange<Date>>;
|
|
828
|
+
readonly required: false;
|
|
829
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
830
|
+
__epPropKey: true;
|
|
831
|
+
};
|
|
832
|
+
isRange: BooleanConstructor;
|
|
833
|
+
}>> & Readonly<{
|
|
834
|
+
onChange?: ((value: Date[] | null | undefined) => any) | undefined;
|
|
835
|
+
"onUpdate:modelValue"?: ((value: Date[] | null | undefined) => any) | undefined;
|
|
836
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
837
|
+
'update:modelValue': (value: Date[] | undefined | null) => boolean;
|
|
838
|
+
change: (value: Date[] | undefined | null) => boolean;
|
|
839
|
+
}, string, {
|
|
840
|
+
disabled: boolean;
|
|
841
|
+
type: string;
|
|
842
|
+
placeholder: string;
|
|
843
|
+
placement: any;
|
|
844
|
+
fallbackPlacements: Placement[];
|
|
845
|
+
popperOptions: any;
|
|
846
|
+
tabindex: string | number;
|
|
847
|
+
validateEvent: boolean;
|
|
848
|
+
readonly: boolean;
|
|
849
|
+
clearable: boolean;
|
|
850
|
+
prefixIcon: string | import("vue").Component;
|
|
851
|
+
valueOnClear: string | number | boolean | Function | null;
|
|
852
|
+
showNow: boolean;
|
|
853
|
+
showConfirm: boolean;
|
|
854
|
+
showFooter: boolean;
|
|
855
|
+
showWeekNumber: boolean;
|
|
856
|
+
shortcuts: unknown[];
|
|
857
|
+
arrowControl: boolean;
|
|
858
|
+
unlinkPanels: boolean;
|
|
859
|
+
automaticDropdown: boolean;
|
|
860
|
+
editable: boolean;
|
|
861
|
+
rangeSeparator: string;
|
|
862
|
+
isRange: boolean;
|
|
863
|
+
}, {}, string, import("vue").SlotsType<import("./week-range-picker.api").WeekRangePickerSlots>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
|
|
864
|
+
export { _WeekRangePicker as WeekRangePicker };
|
|
865
|
+
export default _WeekRangePicker;
|