@cyberpunk-vue/components 1.13.5 → 1.13.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/date-picker/index.d.ts +824 -0
  2. package/dist/date-picker/src/base-picker.vue.d.ts +376 -0
  3. package/dist/date-picker/src/date-picker-select.d.ts +657 -0
  4. package/dist/date-picker/src/date-picker-select.vue.d.ts +349 -0
  5. package/dist/date-picker/src/date-picker.d.ts +154 -0
  6. package/dist/date-picker/src/date-picker.vue.d.ts +149 -0
  7. package/dist/date-picker/src/date-utils.d.ts +28 -0
  8. package/dist/date-picker/src/instance.d.ts +2 -0
  9. package/dist/date-picker/src/picker.d.ts +1 -0
  10. package/dist/date-picker/src/select-instance.d.ts +2 -0
  11. package/dist/date-time-picker/index.d.ts +586 -0
  12. package/dist/date-time-picker/src/date-time-picker.d.ts +179 -0
  13. package/dist/date-time-picker/src/date-time-picker.vue.d.ts +349 -0
  14. package/dist/date-time-picker/src/instance.d.ts +2 -0
  15. package/dist/dialog/index.d.ts +15 -0
  16. package/dist/dialog/src/dialog.d.ts +24 -0
  17. package/dist/dialog/src/dialog.vue.d.ts +9 -0
  18. package/dist/index.cjs +1 -1
  19. package/dist/index.d.ts +3 -0
  20. package/dist/index.mjs +4460 -2687
  21. package/dist/table/index.d.ts +61 -5
  22. package/dist/table/src/table.d.ts +87 -2
  23. package/dist/table/src/table.vue.d.ts +36 -3
  24. package/dist/table-column/index.d.ts +51 -6
  25. package/dist/table-column/src/table-column.d.ts +39 -1
  26. package/dist/table-column/src/table-column.vue.d.ts +30 -3
  27. package/dist/time-picker/index.d.ts +583 -0
  28. package/dist/time-picker/src/instance.d.ts +2 -0
  29. package/dist/time-picker/src/time-picker.d.ts +178 -0
  30. package/dist/time-picker/src/time-picker.vue.d.ts +346 -0
  31. package/package.json +5 -4
@@ -0,0 +1,824 @@
1
+ /**
2
+ * CpDatePicker 日期选择器
3
+ *
4
+ * 可嵌入日期面板,年份置于左侧,月份置于右侧。
5
+ */
6
+ export declare const CpDatePicker: import('../utils').SFCWithInstall<{
7
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
8
+ readonly modelValue: {
9
+ readonly type: import('vue').PropType<import('.').DatePickerValue>;
10
+ readonly default: null;
11
+ };
12
+ readonly valueFormat: {
13
+ readonly type: StringConstructor;
14
+ readonly default: "";
15
+ };
16
+ readonly title: {
17
+ readonly type: StringConstructor;
18
+ readonly default: "选择日期";
19
+ };
20
+ readonly showAdjacentMonths: {
21
+ readonly type: BooleanConstructor;
22
+ readonly default: true;
23
+ };
24
+ readonly viewMode: {
25
+ readonly type: import('vue').PropType<import('.').DatePickerViewMode>;
26
+ readonly default: "day";
27
+ };
28
+ readonly defaultValue: {
29
+ readonly type: import('vue').PropType<Exclude<import('.').DatePickerValue, null | undefined>>;
30
+ readonly default: undefined;
31
+ };
32
+ readonly min: {
33
+ readonly type: import('vue').PropType<Exclude<import('.').DatePickerValue, null | undefined>>;
34
+ readonly default: undefined;
35
+ };
36
+ readonly max: {
37
+ readonly type: import('vue').PropType<Exclude<import('.').DatePickerValue, null | undefined>>;
38
+ readonly default: undefined;
39
+ };
40
+ readonly disabledDate: {
41
+ readonly type: import('vue').PropType<(date: Date) => boolean>;
42
+ readonly default: undefined;
43
+ };
44
+ readonly color: {
45
+ readonly type: StringConstructor;
46
+ readonly default: "";
47
+ };
48
+ readonly disabled: {
49
+ readonly type: BooleanConstructor;
50
+ readonly default: false;
51
+ };
52
+ }>> & Readonly<{
53
+ onChange?: ((_value: import('.').DatePickerValue) => any) | undefined;
54
+ "onUpdate:modelValue"?: ((_value: import('.').DatePickerValue) => any) | undefined;
55
+ "onUpdate:month"?: ((month: number) => any) | undefined;
56
+ "onUpdate:year"?: ((year: number) => any) | undefined;
57
+ "onUpdate:viewMode"?: ((mode: import('.').DatePickerViewMode) => any) | undefined;
58
+ }>, {
59
+ goToday: () => void;
60
+ setViewDate: (date: import('dayjs').Dayjs) => void;
61
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
62
+ change: (_value: import('.').DatePickerValue) => void;
63
+ "update:modelValue": (_value: import('.').DatePickerValue) => void;
64
+ "update:month": (month: number) => void;
65
+ "update:year": (year: number) => void;
66
+ "update:viewMode": (mode: import('.').DatePickerViewMode) => void;
67
+ }, import('vue').PublicProps, {
68
+ readonly color: string;
69
+ readonly disabled: boolean;
70
+ readonly title: string;
71
+ readonly modelValue: import('.').DatePickerValue;
72
+ readonly min: string | number | Date;
73
+ readonly max: string | number | Date;
74
+ readonly valueFormat: string;
75
+ readonly showAdjacentMonths: boolean;
76
+ readonly viewMode: import('.').DatePickerViewMode;
77
+ readonly defaultValue: string | number | Date;
78
+ readonly disabledDate: (date: Date) => boolean;
79
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLElement, import('vue').ComponentProvideOptions, {
80
+ P: {};
81
+ B: {};
82
+ D: {};
83
+ C: {};
84
+ M: {};
85
+ Defaults: {};
86
+ }, Readonly<import('vue').ExtractPropTypes<{
87
+ readonly modelValue: {
88
+ readonly type: import('vue').PropType<import('.').DatePickerValue>;
89
+ readonly default: null;
90
+ };
91
+ readonly valueFormat: {
92
+ readonly type: StringConstructor;
93
+ readonly default: "";
94
+ };
95
+ readonly title: {
96
+ readonly type: StringConstructor;
97
+ readonly default: "选择日期";
98
+ };
99
+ readonly showAdjacentMonths: {
100
+ readonly type: BooleanConstructor;
101
+ readonly default: true;
102
+ };
103
+ readonly viewMode: {
104
+ readonly type: import('vue').PropType<import('.').DatePickerViewMode>;
105
+ readonly default: "day";
106
+ };
107
+ readonly defaultValue: {
108
+ readonly type: import('vue').PropType<Exclude<import('.').DatePickerValue, null | undefined>>;
109
+ readonly default: undefined;
110
+ };
111
+ readonly min: {
112
+ readonly type: import('vue').PropType<Exclude<import('.').DatePickerValue, null | undefined>>;
113
+ readonly default: undefined;
114
+ };
115
+ readonly max: {
116
+ readonly type: import('vue').PropType<Exclude<import('.').DatePickerValue, null | undefined>>;
117
+ readonly default: undefined;
118
+ };
119
+ readonly disabledDate: {
120
+ readonly type: import('vue').PropType<(date: Date) => boolean>;
121
+ readonly default: undefined;
122
+ };
123
+ readonly color: {
124
+ readonly type: StringConstructor;
125
+ readonly default: "";
126
+ };
127
+ readonly disabled: {
128
+ readonly type: BooleanConstructor;
129
+ readonly default: false;
130
+ };
131
+ }>> & Readonly<{
132
+ onChange?: ((_value: import('.').DatePickerValue) => any) | undefined;
133
+ "onUpdate:modelValue"?: ((_value: import('.').DatePickerValue) => any) | undefined;
134
+ "onUpdate:month"?: ((month: number) => any) | undefined;
135
+ "onUpdate:year"?: ((year: number) => any) | undefined;
136
+ "onUpdate:viewMode"?: ((mode: import('.').DatePickerViewMode) => any) | undefined;
137
+ }>, {
138
+ goToday: () => void;
139
+ setViewDate: (date: import('dayjs').Dayjs) => void;
140
+ }, {}, {}, {}, {
141
+ readonly color: string;
142
+ readonly disabled: boolean;
143
+ readonly title: string;
144
+ readonly modelValue: import('.').DatePickerValue;
145
+ readonly min: string | number | Date;
146
+ readonly max: string | number | Date;
147
+ readonly valueFormat: string;
148
+ readonly showAdjacentMonths: boolean;
149
+ readonly viewMode: import('.').DatePickerViewMode;
150
+ readonly defaultValue: string | number | Date;
151
+ readonly disabledDate: (date: Date) => boolean;
152
+ }>;
153
+ __isFragment?: never;
154
+ __isTeleport?: never;
155
+ __isSuspense?: never;
156
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
157
+ readonly modelValue: {
158
+ readonly type: import('vue').PropType<import('.').DatePickerValue>;
159
+ readonly default: null;
160
+ };
161
+ readonly valueFormat: {
162
+ readonly type: StringConstructor;
163
+ readonly default: "";
164
+ };
165
+ readonly title: {
166
+ readonly type: StringConstructor;
167
+ readonly default: "选择日期";
168
+ };
169
+ readonly showAdjacentMonths: {
170
+ readonly type: BooleanConstructor;
171
+ readonly default: true;
172
+ };
173
+ readonly viewMode: {
174
+ readonly type: import('vue').PropType<import('.').DatePickerViewMode>;
175
+ readonly default: "day";
176
+ };
177
+ readonly defaultValue: {
178
+ readonly type: import('vue').PropType<Exclude<import('.').DatePickerValue, null | undefined>>;
179
+ readonly default: undefined;
180
+ };
181
+ readonly min: {
182
+ readonly type: import('vue').PropType<Exclude<import('.').DatePickerValue, null | undefined>>;
183
+ readonly default: undefined;
184
+ };
185
+ readonly max: {
186
+ readonly type: import('vue').PropType<Exclude<import('.').DatePickerValue, null | undefined>>;
187
+ readonly default: undefined;
188
+ };
189
+ readonly disabledDate: {
190
+ readonly type: import('vue').PropType<(date: Date) => boolean>;
191
+ readonly default: undefined;
192
+ };
193
+ readonly color: {
194
+ readonly type: StringConstructor;
195
+ readonly default: "";
196
+ };
197
+ readonly disabled: {
198
+ readonly type: BooleanConstructor;
199
+ readonly default: false;
200
+ };
201
+ }>> & Readonly<{
202
+ onChange?: ((_value: import('.').DatePickerValue) => any) | undefined;
203
+ "onUpdate:modelValue"?: ((_value: import('.').DatePickerValue) => any) | undefined;
204
+ "onUpdate:month"?: ((month: number) => any) | undefined;
205
+ "onUpdate:year"?: ((year: number) => any) | undefined;
206
+ "onUpdate:viewMode"?: ((mode: import('.').DatePickerViewMode) => any) | undefined;
207
+ }>, {
208
+ goToday: () => void;
209
+ setViewDate: (date: import('dayjs').Dayjs) => void;
210
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
211
+ change: (_value: import('.').DatePickerValue) => void;
212
+ "update:modelValue": (_value: import('.').DatePickerValue) => void;
213
+ "update:month": (month: number) => void;
214
+ "update:year": (year: number) => void;
215
+ "update:viewMode": (mode: import('.').DatePickerViewMode) => void;
216
+ }, string, {
217
+ readonly color: string;
218
+ readonly disabled: boolean;
219
+ readonly title: string;
220
+ readonly modelValue: import('.').DatePickerValue;
221
+ readonly min: string | number | Date;
222
+ readonly max: string | number | Date;
223
+ readonly valueFormat: string;
224
+ readonly showAdjacentMonths: boolean;
225
+ readonly viewMode: import('.').DatePickerViewMode;
226
+ readonly defaultValue: string | number | Date;
227
+ readonly disabledDate: (date: Date) => boolean;
228
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
229
+ $slots: {
230
+ header?(_: {
231
+ selected: Date | undefined;
232
+ viewDate: Date;
233
+ }): any;
234
+ day?(_: {
235
+ cell: import('.').DatePickerDayCell;
236
+ }): any;
237
+ actions?(_: {
238
+ today: () => void;
239
+ }): any;
240
+ };
241
+ })>;
242
+ export declare const CpDatePickerSelect: import('../utils').SFCWithInstall<{
243
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
244
+ readonly modelValue: {
245
+ readonly type: import('vue').PropType<import('.').PickerModelValue>;
246
+ readonly default: null;
247
+ };
248
+ readonly type: {
249
+ readonly type: import('vue').PropType<import('.').PickerType>;
250
+ readonly default: "date";
251
+ };
252
+ readonly format: {
253
+ readonly type: StringConstructor;
254
+ readonly default: "";
255
+ };
256
+ readonly valueFormat: {
257
+ readonly type: StringConstructor;
258
+ readonly default: "";
259
+ };
260
+ readonly placeholder: {
261
+ readonly type: StringConstructor;
262
+ readonly default: "";
263
+ };
264
+ readonly startPlaceholder: {
265
+ readonly type: StringConstructor;
266
+ readonly default: "开始";
267
+ };
268
+ readonly endPlaceholder: {
269
+ readonly type: StringConstructor;
270
+ readonly default: "结束";
271
+ };
272
+ readonly rangeSeparator: {
273
+ readonly type: StringConstructor;
274
+ readonly default: " - ";
275
+ };
276
+ readonly disabled: {
277
+ readonly type: BooleanConstructor;
278
+ readonly default: false;
279
+ };
280
+ readonly readonly: {
281
+ readonly type: BooleanConstructor;
282
+ readonly default: false;
283
+ };
284
+ readonly editable: {
285
+ readonly type: BooleanConstructor;
286
+ readonly default: false;
287
+ };
288
+ readonly clearable: {
289
+ readonly type: BooleanConstructor;
290
+ readonly default: true;
291
+ };
292
+ readonly confirm: {
293
+ readonly type: import('vue').PropType<boolean | undefined>;
294
+ readonly default: undefined;
295
+ };
296
+ readonly size: {
297
+ readonly type: import('vue').PropType<import('.').PickerSize>;
298
+ readonly default: "md";
299
+ };
300
+ readonly shape: {
301
+ readonly type: import('vue').PropType<import('.').PickerShape>;
302
+ readonly default: "clip";
303
+ };
304
+ readonly variant: {
305
+ readonly type: import('vue').PropType<import('.').PickerVariant>;
306
+ readonly default: "outline";
307
+ };
308
+ readonly color: {
309
+ readonly type: StringConstructor;
310
+ readonly default: "";
311
+ };
312
+ readonly inactiveColor: {
313
+ readonly type: StringConstructor;
314
+ readonly default: "";
315
+ };
316
+ readonly placeholderColor: {
317
+ readonly type: StringConstructor;
318
+ readonly default: "";
319
+ };
320
+ readonly width: {
321
+ readonly type: import('vue').PropType<string | number>;
322
+ readonly default: "";
323
+ };
324
+ readonly placement: {
325
+ readonly type: import('vue').PropType<import('@floating-ui/dom').Placement>;
326
+ readonly default: "bottom-start";
327
+ };
328
+ readonly teleportTo: {
329
+ readonly type: import('vue').PropType<string | HTMLElement>;
330
+ readonly default: "body";
331
+ };
332
+ readonly disabledDate: {
333
+ readonly type: import('vue').PropType<(date: Date) => boolean>;
334
+ readonly default: undefined;
335
+ };
336
+ readonly disabledHours: {
337
+ readonly type: import('vue').PropType<import('.').DisabledTimeResolver>;
338
+ readonly default: undefined;
339
+ };
340
+ readonly disabledMinutes: {
341
+ readonly type: import('vue').PropType<import('.').DisabledTimeResolver>;
342
+ readonly default: undefined;
343
+ };
344
+ readonly disabledSeconds: {
345
+ readonly type: import('vue').PropType<import('.').DisabledTimeResolver>;
346
+ readonly default: undefined;
347
+ };
348
+ readonly hourStep: {
349
+ readonly type: NumberConstructor;
350
+ readonly default: 1;
351
+ };
352
+ readonly minuteStep: {
353
+ readonly type: NumberConstructor;
354
+ readonly default: 1;
355
+ };
356
+ readonly secondStep: {
357
+ readonly type: NumberConstructor;
358
+ readonly default: 1;
359
+ };
360
+ readonly showSeconds: {
361
+ readonly type: BooleanConstructor;
362
+ readonly default: true;
363
+ };
364
+ readonly shortcuts: {
365
+ readonly type: import('vue').PropType<import('.').PickerShortcut[]>;
366
+ readonly default: () => never[];
367
+ };
368
+ readonly defaultValue: {
369
+ readonly type: import('vue').PropType<import('.').PickerValueItem>;
370
+ readonly default: undefined;
371
+ };
372
+ readonly defaultTime: {
373
+ readonly type: import('vue').PropType<string | [string, string]>;
374
+ readonly default: undefined;
375
+ };
376
+ readonly unlinkPanels: {
377
+ readonly type: BooleanConstructor;
378
+ readonly default: false;
379
+ };
380
+ }>> & Readonly<{
381
+ onClear?: (() => any) | undefined;
382
+ onBlur?: ((event?: FocusEvent | undefined) => any) | undefined;
383
+ onChange?: ((_value: import('.').PickerModelValue) => any) | undefined;
384
+ "onUpdate:modelValue"?: ((_value: import('.').PickerModelValue) => any) | undefined;
385
+ onFocus?: ((event?: FocusEvent | undefined) => any) | undefined;
386
+ onVisibleChange?: ((visible: boolean) => any) | undefined;
387
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
388
+ clear: () => void;
389
+ blur: (event?: FocusEvent | undefined) => void;
390
+ change: (_value: import('.').PickerModelValue) => void;
391
+ "update:modelValue": (_value: import('.').PickerModelValue) => void;
392
+ focus: (event?: FocusEvent | undefined) => void;
393
+ visibleChange: (visible: boolean) => void;
394
+ }, import('vue').PublicProps, {
395
+ readonly size: import('@cyberpunk-vue/hooks').Size;
396
+ readonly width: string | number;
397
+ readonly format: string;
398
+ readonly type: import('.').PickerType;
399
+ readonly color: string;
400
+ readonly variant: import('.').PickerVariant;
401
+ readonly disabled: boolean;
402
+ readonly shape: import('.').PickerShape;
403
+ readonly placeholder: string;
404
+ readonly modelValue: import('.').PickerModelValue;
405
+ readonly readonly: boolean;
406
+ readonly clearable: boolean;
407
+ readonly placeholderColor: string;
408
+ readonly inactiveColor: string;
409
+ readonly teleportTo: string | HTMLElement;
410
+ readonly placement: import('@floating-ui/dom').Placement;
411
+ readonly confirm: boolean | undefined;
412
+ readonly valueFormat: string;
413
+ readonly defaultValue: import('.').PickerValueItem;
414
+ readonly disabledDate: (date: Date) => boolean;
415
+ readonly startPlaceholder: string;
416
+ readonly endPlaceholder: string;
417
+ readonly rangeSeparator: string;
418
+ readonly editable: boolean;
419
+ readonly disabledHours: import('.').DisabledTimeResolver;
420
+ readonly disabledMinutes: import('.').DisabledTimeResolver;
421
+ readonly disabledSeconds: import('.').DisabledTimeResolver;
422
+ readonly hourStep: number;
423
+ readonly minuteStep: number;
424
+ readonly secondStep: number;
425
+ readonly showSeconds: boolean;
426
+ readonly shortcuts: import('.').PickerShortcut[];
427
+ readonly defaultTime: string | [string, string];
428
+ readonly unlinkPanels: boolean;
429
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
430
+ P: {};
431
+ B: {};
432
+ D: {};
433
+ C: {};
434
+ M: {};
435
+ Defaults: {};
436
+ }, Readonly<import('vue').ExtractPropTypes<{
437
+ readonly modelValue: {
438
+ readonly type: import('vue').PropType<import('.').PickerModelValue>;
439
+ readonly default: null;
440
+ };
441
+ readonly type: {
442
+ readonly type: import('vue').PropType<import('.').PickerType>;
443
+ readonly default: "date";
444
+ };
445
+ readonly format: {
446
+ readonly type: StringConstructor;
447
+ readonly default: "";
448
+ };
449
+ readonly valueFormat: {
450
+ readonly type: StringConstructor;
451
+ readonly default: "";
452
+ };
453
+ readonly placeholder: {
454
+ readonly type: StringConstructor;
455
+ readonly default: "";
456
+ };
457
+ readonly startPlaceholder: {
458
+ readonly type: StringConstructor;
459
+ readonly default: "开始";
460
+ };
461
+ readonly endPlaceholder: {
462
+ readonly type: StringConstructor;
463
+ readonly default: "结束";
464
+ };
465
+ readonly rangeSeparator: {
466
+ readonly type: StringConstructor;
467
+ readonly default: " - ";
468
+ };
469
+ readonly disabled: {
470
+ readonly type: BooleanConstructor;
471
+ readonly default: false;
472
+ };
473
+ readonly readonly: {
474
+ readonly type: BooleanConstructor;
475
+ readonly default: false;
476
+ };
477
+ readonly editable: {
478
+ readonly type: BooleanConstructor;
479
+ readonly default: false;
480
+ };
481
+ readonly clearable: {
482
+ readonly type: BooleanConstructor;
483
+ readonly default: true;
484
+ };
485
+ readonly confirm: {
486
+ readonly type: import('vue').PropType<boolean | undefined>;
487
+ readonly default: undefined;
488
+ };
489
+ readonly size: {
490
+ readonly type: import('vue').PropType<import('.').PickerSize>;
491
+ readonly default: "md";
492
+ };
493
+ readonly shape: {
494
+ readonly type: import('vue').PropType<import('.').PickerShape>;
495
+ readonly default: "clip";
496
+ };
497
+ readonly variant: {
498
+ readonly type: import('vue').PropType<import('.').PickerVariant>;
499
+ readonly default: "outline";
500
+ };
501
+ readonly color: {
502
+ readonly type: StringConstructor;
503
+ readonly default: "";
504
+ };
505
+ readonly inactiveColor: {
506
+ readonly type: StringConstructor;
507
+ readonly default: "";
508
+ };
509
+ readonly placeholderColor: {
510
+ readonly type: StringConstructor;
511
+ readonly default: "";
512
+ };
513
+ readonly width: {
514
+ readonly type: import('vue').PropType<string | number>;
515
+ readonly default: "";
516
+ };
517
+ readonly placement: {
518
+ readonly type: import('vue').PropType<import('@floating-ui/dom').Placement>;
519
+ readonly default: "bottom-start";
520
+ };
521
+ readonly teleportTo: {
522
+ readonly type: import('vue').PropType<string | HTMLElement>;
523
+ readonly default: "body";
524
+ };
525
+ readonly disabledDate: {
526
+ readonly type: import('vue').PropType<(date: Date) => boolean>;
527
+ readonly default: undefined;
528
+ };
529
+ readonly disabledHours: {
530
+ readonly type: import('vue').PropType<import('.').DisabledTimeResolver>;
531
+ readonly default: undefined;
532
+ };
533
+ readonly disabledMinutes: {
534
+ readonly type: import('vue').PropType<import('.').DisabledTimeResolver>;
535
+ readonly default: undefined;
536
+ };
537
+ readonly disabledSeconds: {
538
+ readonly type: import('vue').PropType<import('.').DisabledTimeResolver>;
539
+ readonly default: undefined;
540
+ };
541
+ readonly hourStep: {
542
+ readonly type: NumberConstructor;
543
+ readonly default: 1;
544
+ };
545
+ readonly minuteStep: {
546
+ readonly type: NumberConstructor;
547
+ readonly default: 1;
548
+ };
549
+ readonly secondStep: {
550
+ readonly type: NumberConstructor;
551
+ readonly default: 1;
552
+ };
553
+ readonly showSeconds: {
554
+ readonly type: BooleanConstructor;
555
+ readonly default: true;
556
+ };
557
+ readonly shortcuts: {
558
+ readonly type: import('vue').PropType<import('.').PickerShortcut[]>;
559
+ readonly default: () => never[];
560
+ };
561
+ readonly defaultValue: {
562
+ readonly type: import('vue').PropType<import('.').PickerValueItem>;
563
+ readonly default: undefined;
564
+ };
565
+ readonly defaultTime: {
566
+ readonly type: import('vue').PropType<string | [string, string]>;
567
+ readonly default: undefined;
568
+ };
569
+ readonly unlinkPanels: {
570
+ readonly type: BooleanConstructor;
571
+ readonly default: false;
572
+ };
573
+ }>> & Readonly<{
574
+ onClear?: (() => any) | undefined;
575
+ onBlur?: ((event?: FocusEvent | undefined) => any) | undefined;
576
+ onChange?: ((_value: import('.').PickerModelValue) => any) | undefined;
577
+ "onUpdate:modelValue"?: ((_value: import('.').PickerModelValue) => any) | undefined;
578
+ onFocus?: ((event?: FocusEvent | undefined) => any) | undefined;
579
+ onVisibleChange?: ((visible: boolean) => any) | undefined;
580
+ }>, {}, {}, {}, {}, {
581
+ readonly size: import('@cyberpunk-vue/hooks').Size;
582
+ readonly width: string | number;
583
+ readonly format: string;
584
+ readonly type: import('.').PickerType;
585
+ readonly color: string;
586
+ readonly variant: import('.').PickerVariant;
587
+ readonly disabled: boolean;
588
+ readonly shape: import('.').PickerShape;
589
+ readonly placeholder: string;
590
+ readonly modelValue: import('.').PickerModelValue;
591
+ readonly readonly: boolean;
592
+ readonly clearable: boolean;
593
+ readonly placeholderColor: string;
594
+ readonly inactiveColor: string;
595
+ readonly teleportTo: string | HTMLElement;
596
+ readonly placement: import('@floating-ui/dom').Placement;
597
+ readonly confirm: boolean | undefined;
598
+ readonly valueFormat: string;
599
+ readonly defaultValue: import('.').PickerValueItem;
600
+ readonly disabledDate: (date: Date) => boolean;
601
+ readonly startPlaceholder: string;
602
+ readonly endPlaceholder: string;
603
+ readonly rangeSeparator: string;
604
+ readonly editable: boolean;
605
+ readonly disabledHours: import('.').DisabledTimeResolver;
606
+ readonly disabledMinutes: import('.').DisabledTimeResolver;
607
+ readonly disabledSeconds: import('.').DisabledTimeResolver;
608
+ readonly hourStep: number;
609
+ readonly minuteStep: number;
610
+ readonly secondStep: number;
611
+ readonly showSeconds: boolean;
612
+ readonly shortcuts: import('.').PickerShortcut[];
613
+ readonly defaultTime: string | [string, string];
614
+ readonly unlinkPanels: boolean;
615
+ }>;
616
+ __isFragment?: never;
617
+ __isTeleport?: never;
618
+ __isSuspense?: never;
619
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
620
+ readonly modelValue: {
621
+ readonly type: import('vue').PropType<import('.').PickerModelValue>;
622
+ readonly default: null;
623
+ };
624
+ readonly type: {
625
+ readonly type: import('vue').PropType<import('.').PickerType>;
626
+ readonly default: "date";
627
+ };
628
+ readonly format: {
629
+ readonly type: StringConstructor;
630
+ readonly default: "";
631
+ };
632
+ readonly valueFormat: {
633
+ readonly type: StringConstructor;
634
+ readonly default: "";
635
+ };
636
+ readonly placeholder: {
637
+ readonly type: StringConstructor;
638
+ readonly default: "";
639
+ };
640
+ readonly startPlaceholder: {
641
+ readonly type: StringConstructor;
642
+ readonly default: "开始";
643
+ };
644
+ readonly endPlaceholder: {
645
+ readonly type: StringConstructor;
646
+ readonly default: "结束";
647
+ };
648
+ readonly rangeSeparator: {
649
+ readonly type: StringConstructor;
650
+ readonly default: " - ";
651
+ };
652
+ readonly disabled: {
653
+ readonly type: BooleanConstructor;
654
+ readonly default: false;
655
+ };
656
+ readonly readonly: {
657
+ readonly type: BooleanConstructor;
658
+ readonly default: false;
659
+ };
660
+ readonly editable: {
661
+ readonly type: BooleanConstructor;
662
+ readonly default: false;
663
+ };
664
+ readonly clearable: {
665
+ readonly type: BooleanConstructor;
666
+ readonly default: true;
667
+ };
668
+ readonly confirm: {
669
+ readonly type: import('vue').PropType<boolean | undefined>;
670
+ readonly default: undefined;
671
+ };
672
+ readonly size: {
673
+ readonly type: import('vue').PropType<import('.').PickerSize>;
674
+ readonly default: "md";
675
+ };
676
+ readonly shape: {
677
+ readonly type: import('vue').PropType<import('.').PickerShape>;
678
+ readonly default: "clip";
679
+ };
680
+ readonly variant: {
681
+ readonly type: import('vue').PropType<import('.').PickerVariant>;
682
+ readonly default: "outline";
683
+ };
684
+ readonly color: {
685
+ readonly type: StringConstructor;
686
+ readonly default: "";
687
+ };
688
+ readonly inactiveColor: {
689
+ readonly type: StringConstructor;
690
+ readonly default: "";
691
+ };
692
+ readonly placeholderColor: {
693
+ readonly type: StringConstructor;
694
+ readonly default: "";
695
+ };
696
+ readonly width: {
697
+ readonly type: import('vue').PropType<string | number>;
698
+ readonly default: "";
699
+ };
700
+ readonly placement: {
701
+ readonly type: import('vue').PropType<import('@floating-ui/dom').Placement>;
702
+ readonly default: "bottom-start";
703
+ };
704
+ readonly teleportTo: {
705
+ readonly type: import('vue').PropType<string | HTMLElement>;
706
+ readonly default: "body";
707
+ };
708
+ readonly disabledDate: {
709
+ readonly type: import('vue').PropType<(date: Date) => boolean>;
710
+ readonly default: undefined;
711
+ };
712
+ readonly disabledHours: {
713
+ readonly type: import('vue').PropType<import('.').DisabledTimeResolver>;
714
+ readonly default: undefined;
715
+ };
716
+ readonly disabledMinutes: {
717
+ readonly type: import('vue').PropType<import('.').DisabledTimeResolver>;
718
+ readonly default: undefined;
719
+ };
720
+ readonly disabledSeconds: {
721
+ readonly type: import('vue').PropType<import('.').DisabledTimeResolver>;
722
+ readonly default: undefined;
723
+ };
724
+ readonly hourStep: {
725
+ readonly type: NumberConstructor;
726
+ readonly default: 1;
727
+ };
728
+ readonly minuteStep: {
729
+ readonly type: NumberConstructor;
730
+ readonly default: 1;
731
+ };
732
+ readonly secondStep: {
733
+ readonly type: NumberConstructor;
734
+ readonly default: 1;
735
+ };
736
+ readonly showSeconds: {
737
+ readonly type: BooleanConstructor;
738
+ readonly default: true;
739
+ };
740
+ readonly shortcuts: {
741
+ readonly type: import('vue').PropType<import('.').PickerShortcut[]>;
742
+ readonly default: () => never[];
743
+ };
744
+ readonly defaultValue: {
745
+ readonly type: import('vue').PropType<import('.').PickerValueItem>;
746
+ readonly default: undefined;
747
+ };
748
+ readonly defaultTime: {
749
+ readonly type: import('vue').PropType<string | [string, string]>;
750
+ readonly default: undefined;
751
+ };
752
+ readonly unlinkPanels: {
753
+ readonly type: BooleanConstructor;
754
+ readonly default: false;
755
+ };
756
+ }>> & Readonly<{
757
+ onClear?: (() => any) | undefined;
758
+ onBlur?: ((event?: FocusEvent | undefined) => any) | undefined;
759
+ onChange?: ((_value: import('.').PickerModelValue) => any) | undefined;
760
+ "onUpdate:modelValue"?: ((_value: import('.').PickerModelValue) => any) | undefined;
761
+ onFocus?: ((event?: FocusEvent | undefined) => any) | undefined;
762
+ onVisibleChange?: ((visible: boolean) => any) | undefined;
763
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
764
+ clear: () => void;
765
+ blur: (event?: FocusEvent | undefined) => void;
766
+ change: (_value: import('.').PickerModelValue) => void;
767
+ "update:modelValue": (_value: import('.').PickerModelValue) => void;
768
+ focus: (event?: FocusEvent | undefined) => void;
769
+ visibleChange: (visible: boolean) => void;
770
+ }, string, {
771
+ readonly size: import('@cyberpunk-vue/hooks').Size;
772
+ readonly width: string | number;
773
+ readonly format: string;
774
+ readonly type: import('.').PickerType;
775
+ readonly color: string;
776
+ readonly variant: import('.').PickerVariant;
777
+ readonly disabled: boolean;
778
+ readonly shape: import('.').PickerShape;
779
+ readonly placeholder: string;
780
+ readonly modelValue: import('.').PickerModelValue;
781
+ readonly readonly: boolean;
782
+ readonly clearable: boolean;
783
+ readonly placeholderColor: string;
784
+ readonly inactiveColor: string;
785
+ readonly teleportTo: string | HTMLElement;
786
+ readonly placement: import('@floating-ui/dom').Placement;
787
+ readonly confirm: boolean | undefined;
788
+ readonly valueFormat: string;
789
+ readonly defaultValue: import('.').PickerValueItem;
790
+ readonly disabledDate: (date: Date) => boolean;
791
+ readonly startPlaceholder: string;
792
+ readonly endPlaceholder: string;
793
+ readonly rangeSeparator: string;
794
+ readonly editable: boolean;
795
+ readonly disabledHours: import('.').DisabledTimeResolver;
796
+ readonly disabledMinutes: import('.').DisabledTimeResolver;
797
+ readonly disabledSeconds: import('.').DisabledTimeResolver;
798
+ readonly hourStep: number;
799
+ readonly minuteStep: number;
800
+ readonly secondStep: number;
801
+ readonly showSeconds: boolean;
802
+ readonly shortcuts: import('.').PickerShortcut[];
803
+ readonly defaultTime: string | [string, string];
804
+ readonly unlinkPanels: boolean;
805
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
806
+ $slots: {
807
+ prefix?(_: {}): any;
808
+ suffix?(_: {}): any;
809
+ cell?(_: {
810
+ cell: import('.').PickerCell;
811
+ }): any;
812
+ footer?(_: {
813
+ confirm: (false & (() => void)) | (true & (() => void));
814
+ cancel: () => void;
815
+ clear: (event?: MouseEvent) => void;
816
+ }): any;
817
+ };
818
+ })>;
819
+ export default CpDatePicker;
820
+ export * from './src/date-picker';
821
+ export * from './src/date-picker-select';
822
+ export * from './src/picker';
823
+ export type { DatePickerInstance } from './src/instance';
824
+ export type { DatePickerSelectInstance } from './src/select-instance';