@yh-ui/components 0.1.27 → 0.1.28

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.
@@ -135,10 +135,24 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
135
135
  };
136
136
  set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
137
137
  get: (unit: import("dayjs").UnitType) => number;
138
- add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
139
- subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
140
- startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
141
- endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
138
+ add: {
139
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
140
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
141
+ };
142
+ subtract: {
143
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
144
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
145
+ };
146
+ startOf: {
147
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
148
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
149
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
150
+ };
151
+ endOf: {
152
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
153
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
154
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
155
+ };
142
156
  format: (template?: string) => string;
143
157
  diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
144
158
  valueOf: () => number;
@@ -149,13 +163,43 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
149
163
  toISOString: () => string;
150
164
  toString: () => string;
151
165
  utcOffset: () => number;
152
- isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
153
- isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
154
- isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
166
+ isBefore: {
167
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
168
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
169
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
170
+ };
171
+ isSame: {
172
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
173
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
174
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
175
+ };
176
+ isAfter: {
177
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
178
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
179
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
180
+ };
155
181
  locale: {
156
182
  (): string;
157
183
  (preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
158
184
  };
185
+ isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
186
+ week: {
187
+ (): number;
188
+ (value: number): import("dayjs").Dayjs;
189
+ };
190
+ isoWeekYear: () => number;
191
+ isoWeek: {
192
+ (): number;
193
+ (value: number): import("dayjs").Dayjs;
194
+ };
195
+ isoWeekday: {
196
+ (): number;
197
+ (value: number): import("dayjs").Dayjs;
198
+ };
199
+ quarter: {
200
+ (): number;
201
+ (quarter: number): import("dayjs").Dayjs;
202
+ };
159
203
  }, import("dayjs").Dayjs | {
160
204
  clone: () => import("dayjs").Dayjs;
161
205
  isValid: () => boolean;
@@ -193,10 +237,24 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
193
237
  };
194
238
  set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
195
239
  get: (unit: import("dayjs").UnitType) => number;
196
- add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
197
- subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
198
- startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
199
- endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
240
+ add: {
241
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
242
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
243
+ };
244
+ subtract: {
245
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
246
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
247
+ };
248
+ startOf: {
249
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
250
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
251
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
252
+ };
253
+ endOf: {
254
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
255
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
256
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
257
+ };
200
258
  format: (template?: string) => string;
201
259
  diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
202
260
  valueOf: () => number;
@@ -207,13 +265,43 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
207
265
  toISOString: () => string;
208
266
  toString: () => string;
209
267
  utcOffset: () => number;
210
- isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
211
- isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
212
- isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
268
+ isBefore: {
269
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
270
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
271
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
272
+ };
273
+ isSame: {
274
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
275
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
276
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
277
+ };
278
+ isAfter: {
279
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
280
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
281
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
282
+ };
213
283
  locale: {
214
284
  (): string;
215
285
  (preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
216
286
  };
287
+ isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
288
+ week: {
289
+ (): number;
290
+ (value: number): import("dayjs").Dayjs;
291
+ };
292
+ isoWeekYear: () => number;
293
+ isoWeek: {
294
+ (): number;
295
+ (value: number): import("dayjs").Dayjs;
296
+ };
297
+ isoWeekday: {
298
+ (): number;
299
+ (value: number): import("dayjs").Dayjs;
300
+ };
301
+ quarter: {
302
+ (): number;
303
+ (quarter: number): import("dayjs").Dayjs;
304
+ };
217
305
  }>;
218
306
  selectedDate: import("vue").Ref<{
219
307
  clone: () => import("dayjs").Dayjs;
@@ -252,10 +340,24 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
252
340
  };
253
341
  set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
254
342
  get: (unit: import("dayjs").UnitType) => number;
255
- add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
256
- subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
257
- startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
258
- endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
343
+ add: {
344
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
345
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
346
+ };
347
+ subtract: {
348
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
349
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
350
+ };
351
+ startOf: {
352
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
353
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
354
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
355
+ };
356
+ endOf: {
357
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
358
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
359
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
360
+ };
259
361
  format: (template?: string) => string;
260
362
  diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
261
363
  valueOf: () => number;
@@ -266,13 +368,43 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
266
368
  toISOString: () => string;
267
369
  toString: () => string;
268
370
  utcOffset: () => number;
269
- isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
270
- isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
271
- isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
371
+ isBefore: {
372
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
373
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
374
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
375
+ };
376
+ isSame: {
377
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
378
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
379
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
380
+ };
381
+ isAfter: {
382
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
383
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
384
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
385
+ };
272
386
  locale: {
273
387
  (): string;
274
388
  (preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
275
389
  };
390
+ isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
391
+ week: {
392
+ (): number;
393
+ (value: number): import("dayjs").Dayjs;
394
+ };
395
+ isoWeekYear: () => number;
396
+ isoWeek: {
397
+ (): number;
398
+ (value: number): import("dayjs").Dayjs;
399
+ };
400
+ isoWeekday: {
401
+ (): number;
402
+ (value: number): import("dayjs").Dayjs;
403
+ };
404
+ quarter: {
405
+ (): number;
406
+ (quarter: number): import("dayjs").Dayjs;
407
+ };
276
408
  } | undefined, import("dayjs").Dayjs | {
277
409
  clone: () => import("dayjs").Dayjs;
278
410
  isValid: () => boolean;
@@ -310,10 +442,24 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
310
442
  };
311
443
  set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
312
444
  get: (unit: import("dayjs").UnitType) => number;
313
- add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
314
- subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
315
- startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
316
- endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
445
+ add: {
446
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
447
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
448
+ };
449
+ subtract: {
450
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
451
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
452
+ };
453
+ startOf: {
454
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
455
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
456
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
457
+ };
458
+ endOf: {
459
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
460
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
461
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
462
+ };
317
463
  format: (template?: string) => string;
318
464
  diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
319
465
  valueOf: () => number;
@@ -324,13 +470,43 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
324
470
  toISOString: () => string;
325
471
  toString: () => string;
326
472
  utcOffset: () => number;
327
- isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
328
- isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
329
- isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
473
+ isBefore: {
474
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
475
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
476
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
477
+ };
478
+ isSame: {
479
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
480
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
481
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
482
+ };
483
+ isAfter: {
484
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
485
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
486
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
487
+ };
330
488
  locale: {
331
489
  (): string;
332
490
  (preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
333
491
  };
492
+ isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
493
+ week: {
494
+ (): number;
495
+ (value: number): import("dayjs").Dayjs;
496
+ };
497
+ isoWeekYear: () => number;
498
+ isoWeek: {
499
+ (): number;
500
+ (value: number): import("dayjs").Dayjs;
501
+ };
502
+ isoWeekday: {
503
+ (): number;
504
+ (value: number): import("dayjs").Dayjs;
505
+ };
506
+ quarter: {
507
+ (): number;
508
+ (quarter: number): import("dayjs").Dayjs;
509
+ };
334
510
  } | undefined>;
335
511
  moveMonth: (delta: number) => void;
336
512
  goToday: () => void;
@@ -507,10 +683,24 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
507
683
  };
508
684
  set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
509
685
  get: (unit: import("dayjs").UnitType) => number;
510
- add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
511
- subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
512
- startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
513
- endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
686
+ add: {
687
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
688
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
689
+ };
690
+ subtract: {
691
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
692
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
693
+ };
694
+ startOf: {
695
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
696
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
697
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
698
+ };
699
+ endOf: {
700
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
701
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
702
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
703
+ };
514
704
  format: (template?: string) => string;
515
705
  diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
516
706
  valueOf: () => number;
@@ -521,13 +711,43 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
521
711
  toISOString: () => string;
522
712
  toString: () => string;
523
713
  utcOffset: () => number;
524
- isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
525
- isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
526
- isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
714
+ isBefore: {
715
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
716
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
717
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
718
+ };
719
+ isSame: {
720
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
721
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
722
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
723
+ };
724
+ isAfter: {
725
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
726
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
727
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
728
+ };
527
729
  locale: {
528
730
  (): string;
529
731
  (preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
530
732
  };
733
+ isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
734
+ week: {
735
+ (): number;
736
+ (value: number): import("dayjs").Dayjs;
737
+ };
738
+ isoWeekYear: () => number;
739
+ isoWeek: {
740
+ (): number;
741
+ (value: number): import("dayjs").Dayjs;
742
+ };
743
+ isoWeekday: {
744
+ (): number;
745
+ (value: number): import("dayjs").Dayjs;
746
+ };
747
+ quarter: {
748
+ (): number;
749
+ (quarter: number): import("dayjs").Dayjs;
750
+ };
531
751
  }, import("dayjs").Dayjs | {
532
752
  clone: () => import("dayjs").Dayjs;
533
753
  isValid: () => boolean;
@@ -565,10 +785,24 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
565
785
  };
566
786
  set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
567
787
  get: (unit: import("dayjs").UnitType) => number;
568
- add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
569
- subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
570
- startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
571
- endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
788
+ add: {
789
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
790
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
791
+ };
792
+ subtract: {
793
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
794
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
795
+ };
796
+ startOf: {
797
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
798
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
799
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
800
+ };
801
+ endOf: {
802
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
803
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
804
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
805
+ };
572
806
  format: (template?: string) => string;
573
807
  diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
574
808
  valueOf: () => number;
@@ -579,13 +813,43 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
579
813
  toISOString: () => string;
580
814
  toString: () => string;
581
815
  utcOffset: () => number;
582
- isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
583
- isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
584
- isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
816
+ isBefore: {
817
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
818
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
819
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
820
+ };
821
+ isSame: {
822
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
823
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
824
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
825
+ };
826
+ isAfter: {
827
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
828
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
829
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
830
+ };
585
831
  locale: {
586
832
  (): string;
587
833
  (preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
588
834
  };
835
+ isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
836
+ week: {
837
+ (): number;
838
+ (value: number): import("dayjs").Dayjs;
839
+ };
840
+ isoWeekYear: () => number;
841
+ isoWeek: {
842
+ (): number;
843
+ (value: number): import("dayjs").Dayjs;
844
+ };
845
+ isoWeekday: {
846
+ (): number;
847
+ (value: number): import("dayjs").Dayjs;
848
+ };
849
+ quarter: {
850
+ (): number;
851
+ (quarter: number): import("dayjs").Dayjs;
852
+ };
589
853
  }>;
590
854
  selectedDate: import("vue").Ref<{
591
855
  clone: () => import("dayjs").Dayjs;
@@ -624,10 +888,24 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
624
888
  };
625
889
  set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
626
890
  get: (unit: import("dayjs").UnitType) => number;
627
- add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
628
- subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
629
- startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
630
- endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
891
+ add: {
892
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
893
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
894
+ };
895
+ subtract: {
896
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
897
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
898
+ };
899
+ startOf: {
900
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
901
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
902
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
903
+ };
904
+ endOf: {
905
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
906
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
907
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
908
+ };
631
909
  format: (template?: string) => string;
632
910
  diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
633
911
  valueOf: () => number;
@@ -638,13 +916,43 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
638
916
  toISOString: () => string;
639
917
  toString: () => string;
640
918
  utcOffset: () => number;
641
- isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
642
- isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
643
- isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
919
+ isBefore: {
920
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
921
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
922
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
923
+ };
924
+ isSame: {
925
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
926
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
927
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
928
+ };
929
+ isAfter: {
930
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
931
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
932
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
933
+ };
644
934
  locale: {
645
935
  (): string;
646
936
  (preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
647
937
  };
938
+ isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
939
+ week: {
940
+ (): number;
941
+ (value: number): import("dayjs").Dayjs;
942
+ };
943
+ isoWeekYear: () => number;
944
+ isoWeek: {
945
+ (): number;
946
+ (value: number): import("dayjs").Dayjs;
947
+ };
948
+ isoWeekday: {
949
+ (): number;
950
+ (value: number): import("dayjs").Dayjs;
951
+ };
952
+ quarter: {
953
+ (): number;
954
+ (quarter: number): import("dayjs").Dayjs;
955
+ };
648
956
  } | undefined, import("dayjs").Dayjs | {
649
957
  clone: () => import("dayjs").Dayjs;
650
958
  isValid: () => boolean;
@@ -682,10 +990,24 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
682
990
  };
683
991
  set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
684
992
  get: (unit: import("dayjs").UnitType) => number;
685
- add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
686
- subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
687
- startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
688
- endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
993
+ add: {
994
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
995
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
996
+ };
997
+ subtract: {
998
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
999
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
1000
+ };
1001
+ startOf: {
1002
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
1003
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
1004
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
1005
+ };
1006
+ endOf: {
1007
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
1008
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
1009
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
1010
+ };
689
1011
  format: (template?: string) => string;
690
1012
  diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
691
1013
  valueOf: () => number;
@@ -696,13 +1018,43 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
696
1018
  toISOString: () => string;
697
1019
  toString: () => string;
698
1020
  utcOffset: () => number;
699
- isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
700
- isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
701
- isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
1021
+ isBefore: {
1022
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
1023
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
1024
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
1025
+ };
1026
+ isSame: {
1027
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
1028
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
1029
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
1030
+ };
1031
+ isAfter: {
1032
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
1033
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
1034
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
1035
+ };
702
1036
  locale: {
703
1037
  (): string;
704
1038
  (preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
705
1039
  };
1040
+ isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
1041
+ week: {
1042
+ (): number;
1043
+ (value: number): import("dayjs").Dayjs;
1044
+ };
1045
+ isoWeekYear: () => number;
1046
+ isoWeek: {
1047
+ (): number;
1048
+ (value: number): import("dayjs").Dayjs;
1049
+ };
1050
+ isoWeekday: {
1051
+ (): number;
1052
+ (value: number): import("dayjs").Dayjs;
1053
+ };
1054
+ quarter: {
1055
+ (): number;
1056
+ (quarter: number): import("dayjs").Dayjs;
1057
+ };
706
1058
  } | undefined>;
707
1059
  moveMonth: (delta: number) => void;
708
1060
  goToday: () => void;
@@ -867,10 +1219,24 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
867
1219
  };
868
1220
  set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
869
1221
  get: (unit: import("dayjs").UnitType) => number;
870
- add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
871
- subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
872
- startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
873
- endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
1222
+ add: {
1223
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
1224
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
1225
+ };
1226
+ subtract: {
1227
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
1228
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
1229
+ };
1230
+ startOf: {
1231
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
1232
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
1233
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
1234
+ };
1235
+ endOf: {
1236
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
1237
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
1238
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
1239
+ };
874
1240
  format: (template?: string) => string;
875
1241
  diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
876
1242
  valueOf: () => number;
@@ -881,13 +1247,43 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
881
1247
  toISOString: () => string;
882
1248
  toString: () => string;
883
1249
  utcOffset: () => number;
884
- isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
885
- isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
886
- isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
1250
+ isBefore: {
1251
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
1252
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
1253
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
1254
+ };
1255
+ isSame: {
1256
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
1257
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
1258
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
1259
+ };
1260
+ isAfter: {
1261
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
1262
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
1263
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
1264
+ };
887
1265
  locale: {
888
1266
  (): string;
889
1267
  (preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
890
1268
  };
1269
+ isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
1270
+ week: {
1271
+ (): number;
1272
+ (value: number): import("dayjs").Dayjs;
1273
+ };
1274
+ isoWeekYear: () => number;
1275
+ isoWeek: {
1276
+ (): number;
1277
+ (value: number): import("dayjs").Dayjs;
1278
+ };
1279
+ isoWeekday: {
1280
+ (): number;
1281
+ (value: number): import("dayjs").Dayjs;
1282
+ };
1283
+ quarter: {
1284
+ (): number;
1285
+ (quarter: number): import("dayjs").Dayjs;
1286
+ };
891
1287
  }, import("dayjs").Dayjs | {
892
1288
  clone: () => import("dayjs").Dayjs;
893
1289
  isValid: () => boolean;
@@ -925,10 +1321,24 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
925
1321
  };
926
1322
  set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
927
1323
  get: (unit: import("dayjs").UnitType) => number;
928
- add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
929
- subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
930
- startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
931
- endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
1324
+ add: {
1325
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
1326
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
1327
+ };
1328
+ subtract: {
1329
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
1330
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
1331
+ };
1332
+ startOf: {
1333
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
1334
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
1335
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
1336
+ };
1337
+ endOf: {
1338
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
1339
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
1340
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
1341
+ };
932
1342
  format: (template?: string) => string;
933
1343
  diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
934
1344
  valueOf: () => number;
@@ -939,13 +1349,43 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
939
1349
  toISOString: () => string;
940
1350
  toString: () => string;
941
1351
  utcOffset: () => number;
942
- isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
943
- isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
944
- isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
1352
+ isBefore: {
1353
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
1354
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
1355
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
1356
+ };
1357
+ isSame: {
1358
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
1359
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
1360
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
1361
+ };
1362
+ isAfter: {
1363
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
1364
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
1365
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
1366
+ };
945
1367
  locale: {
946
1368
  (): string;
947
1369
  (preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
948
1370
  };
1371
+ isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
1372
+ week: {
1373
+ (): number;
1374
+ (value: number): import("dayjs").Dayjs;
1375
+ };
1376
+ isoWeekYear: () => number;
1377
+ isoWeek: {
1378
+ (): number;
1379
+ (value: number): import("dayjs").Dayjs;
1380
+ };
1381
+ isoWeekday: {
1382
+ (): number;
1383
+ (value: number): import("dayjs").Dayjs;
1384
+ };
1385
+ quarter: {
1386
+ (): number;
1387
+ (quarter: number): import("dayjs").Dayjs;
1388
+ };
949
1389
  }>;
950
1390
  selectedDate: import("vue").Ref<{
951
1391
  clone: () => import("dayjs").Dayjs;
@@ -984,10 +1424,24 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
984
1424
  };
985
1425
  set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
986
1426
  get: (unit: import("dayjs").UnitType) => number;
987
- add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
988
- subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
989
- startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
990
- endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
1427
+ add: {
1428
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
1429
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
1430
+ };
1431
+ subtract: {
1432
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
1433
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
1434
+ };
1435
+ startOf: {
1436
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
1437
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
1438
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
1439
+ };
1440
+ endOf: {
1441
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
1442
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
1443
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
1444
+ };
991
1445
  format: (template?: string) => string;
992
1446
  diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
993
1447
  valueOf: () => number;
@@ -998,13 +1452,43 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
998
1452
  toISOString: () => string;
999
1453
  toString: () => string;
1000
1454
  utcOffset: () => number;
1001
- isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
1002
- isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
1003
- isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
1455
+ isBefore: {
1456
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
1457
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
1458
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
1459
+ };
1460
+ isSame: {
1461
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
1462
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
1463
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
1464
+ };
1465
+ isAfter: {
1466
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
1467
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
1468
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
1469
+ };
1004
1470
  locale: {
1005
1471
  (): string;
1006
1472
  (preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
1007
1473
  };
1474
+ isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
1475
+ week: {
1476
+ (): number;
1477
+ (value: number): import("dayjs").Dayjs;
1478
+ };
1479
+ isoWeekYear: () => number;
1480
+ isoWeek: {
1481
+ (): number;
1482
+ (value: number): import("dayjs").Dayjs;
1483
+ };
1484
+ isoWeekday: {
1485
+ (): number;
1486
+ (value: number): import("dayjs").Dayjs;
1487
+ };
1488
+ quarter: {
1489
+ (): number;
1490
+ (quarter: number): import("dayjs").Dayjs;
1491
+ };
1008
1492
  } | undefined, import("dayjs").Dayjs | {
1009
1493
  clone: () => import("dayjs").Dayjs;
1010
1494
  isValid: () => boolean;
@@ -1042,10 +1526,24 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
1042
1526
  };
1043
1527
  set: (unit: import("dayjs").UnitType, value: number) => import("dayjs").Dayjs;
1044
1528
  get: (unit: import("dayjs").UnitType) => number;
1045
- add: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
1046
- subtract: (value: number, unit?: import("dayjs").ManipulateType) => import("dayjs").Dayjs;
1047
- startOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
1048
- endOf: (unit: import("dayjs").OpUnitType) => import("dayjs").Dayjs;
1529
+ add: {
1530
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
1531
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
1532
+ };
1533
+ subtract: {
1534
+ (value: number, unit?: import("dayjs").ManipulateType): import("dayjs").Dayjs;
1535
+ (value: number, unit: import("dayjs").QUnitType): import("dayjs").Dayjs;
1536
+ };
1537
+ startOf: {
1538
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
1539
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
1540
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
1541
+ };
1542
+ endOf: {
1543
+ (unit: import("dayjs").OpUnitType): import("dayjs").Dayjs;
1544
+ (unit: import("dayjs").OpUnitType | "isoWeek"): import("dayjs").Dayjs;
1545
+ (unit: import("dayjs").QUnitType | import("dayjs").OpUnitType): import("dayjs").Dayjs;
1546
+ };
1049
1547
  format: (template?: string) => string;
1050
1548
  diff: (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType | import("dayjs").OpUnitType, float?: boolean) => number;
1051
1549
  valueOf: () => number;
@@ -1056,13 +1554,43 @@ export declare const YhCalendar: import("@yh-ui/utils").SFCWithInstall<{
1056
1554
  toISOString: () => string;
1057
1555
  toString: () => string;
1058
1556
  utcOffset: () => number;
1059
- isBefore: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
1060
- isSame: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
1061
- isAfter: (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType) => boolean;
1557
+ isBefore: {
1558
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
1559
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
1560
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
1561
+ };
1562
+ isSame: {
1563
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
1564
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
1565
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
1566
+ };
1567
+ isAfter: {
1568
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType): boolean;
1569
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").OpUnitType | "isoWeek"): boolean;
1570
+ (date?: import("dayjs").ConfigType, unit?: import("dayjs").QUnitType): boolean;
1571
+ };
1062
1572
  locale: {
1063
1573
  (): string;
1064
1574
  (preset: string | ILocale, object?: Partial<ILocale>): import("dayjs").Dayjs;
1065
1575
  };
1576
+ isBetween: (a: import("dayjs").ConfigType, b: import("dayjs").ConfigType, c?: import("dayjs").OpUnitType | null, d?: "()" | "[]" | "[)" | "(]") => boolean;
1577
+ week: {
1578
+ (): number;
1579
+ (value: number): import("dayjs").Dayjs;
1580
+ };
1581
+ isoWeekYear: () => number;
1582
+ isoWeek: {
1583
+ (): number;
1584
+ (value: number): import("dayjs").Dayjs;
1585
+ };
1586
+ isoWeekday: {
1587
+ (): number;
1588
+ (value: number): import("dayjs").Dayjs;
1589
+ };
1590
+ quarter: {
1591
+ (): number;
1592
+ (quarter: number): import("dayjs").Dayjs;
1593
+ };
1066
1594
  } | undefined>;
1067
1595
  moveMonth: (delta: number) => void;
1068
1596
  goToday: () => void;