willba-component-library 0.2.58 → 0.2.59

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.
@@ -15,185 +15,180 @@ type Story = StoryObj<typeof FilterCalendar>
15
15
  const baseData = {
16
16
  disableCalendarDates: {
17
17
  availableDates: [
18
- {
19
- checkIn: new Date('2024-10-14'),
20
- firstCheckOut: new Date('2024-10-15'),
21
- lastCheckOut: new Date('2024-11-12'),
22
- },
23
18
  {
24
19
  checkIn: new Date('2024-10-15'),
25
20
  firstCheckOut: new Date('2024-10-16'),
26
- lastCheckOut: new Date('2024-11-12'),
21
+ lastCheckOut: new Date('2024-11-19'),
27
22
  },
28
23
  {
29
24
  checkIn: new Date('2024-10-16'),
30
25
  firstCheckOut: new Date('2024-10-17'),
31
- lastCheckOut: new Date('2024-11-12'),
26
+ lastCheckOut: new Date('2024-11-19'),
32
27
  },
33
28
  {
34
29
  checkIn: new Date('2024-10-17'),
35
30
  firstCheckOut: new Date('2024-10-18'),
36
- lastCheckOut: new Date('2024-11-12'),
31
+ lastCheckOut: new Date('2024-11-19'),
37
32
  },
38
33
  {
39
34
  checkIn: new Date('2024-10-18'),
40
35
  firstCheckOut: new Date('2024-10-19'),
41
- lastCheckOut: new Date('2024-11-12'),
36
+ lastCheckOut: new Date('2024-11-19'),
42
37
  },
43
38
  {
44
39
  checkIn: new Date('2024-10-19'),
45
40
  firstCheckOut: new Date('2024-10-20'),
46
- lastCheckOut: new Date('2024-11-12'),
41
+ lastCheckOut: new Date('2024-11-19'),
47
42
  },
48
43
  {
49
44
  checkIn: new Date('2024-10-20'),
50
45
  firstCheckOut: new Date('2024-10-21'),
51
- lastCheckOut: new Date('2024-11-12'),
46
+ lastCheckOut: new Date('2024-11-19'),
52
47
  },
53
48
  {
54
49
  checkIn: new Date('2024-10-21'),
55
50
  firstCheckOut: new Date('2024-10-22'),
56
- lastCheckOut: new Date('2024-11-12'),
51
+ lastCheckOut: new Date('2024-11-19'),
57
52
  },
58
53
  {
59
54
  checkIn: new Date('2024-10-22'),
60
55
  firstCheckOut: new Date('2024-10-23'),
61
- lastCheckOut: new Date('2024-11-12'),
56
+ lastCheckOut: new Date('2024-11-19'),
62
57
  },
63
58
  {
64
59
  checkIn: new Date('2024-10-23'),
65
60
  firstCheckOut: new Date('2024-10-24'),
66
- lastCheckOut: new Date('2024-11-12'),
61
+ lastCheckOut: new Date('2024-11-19'),
67
62
  },
68
63
  {
69
64
  checkIn: new Date('2024-10-24'),
70
65
  firstCheckOut: new Date('2024-10-25'),
71
- lastCheckOut: new Date('2024-11-12'),
66
+ lastCheckOut: new Date('2024-11-19'),
72
67
  },
73
68
  {
74
69
  checkIn: new Date('2024-10-25'),
75
70
  firstCheckOut: new Date('2024-10-26'),
76
- lastCheckOut: new Date('2024-11-12'),
71
+ lastCheckOut: new Date('2024-11-19'),
77
72
  },
78
73
  {
79
74
  checkIn: new Date('2024-10-26'),
80
75
  firstCheckOut: new Date('2024-10-27'),
81
- lastCheckOut: new Date('2024-11-12'),
76
+ lastCheckOut: new Date('2024-11-19'),
82
77
  },
83
78
  {
84
79
  checkIn: new Date('2024-10-27'),
85
80
  firstCheckOut: new Date('2024-10-28'),
86
- lastCheckOut: new Date('2024-11-12'),
81
+ lastCheckOut: new Date('2024-11-19'),
87
82
  },
88
83
  {
89
84
  checkIn: new Date('2024-10-28'),
90
85
  firstCheckOut: new Date('2024-10-29'),
91
- lastCheckOut: new Date('2024-11-12'),
86
+ lastCheckOut: new Date('2024-11-19'),
92
87
  },
93
88
  {
94
89
  checkIn: new Date('2024-10-29'),
95
90
  firstCheckOut: new Date('2024-10-30'),
96
- lastCheckOut: new Date('2024-11-12'),
91
+ lastCheckOut: new Date('2024-11-19'),
97
92
  },
98
93
  {
99
94
  checkIn: new Date('2024-10-30'),
100
95
  firstCheckOut: new Date('2024-10-31'),
101
- lastCheckOut: new Date('2024-11-12'),
96
+ lastCheckOut: new Date('2024-11-19'),
102
97
  },
103
98
  {
104
99
  checkIn: new Date('2024-10-31'),
105
100
  firstCheckOut: new Date('2024-11-01'),
106
- lastCheckOut: new Date('2024-11-12'),
101
+ lastCheckOut: new Date('2024-11-19'),
107
102
  },
108
103
  {
109
104
  checkIn: new Date('2024-11-01'),
110
105
  firstCheckOut: new Date('2024-11-02'),
111
- lastCheckOut: new Date('2024-11-12'),
106
+ lastCheckOut: new Date('2024-11-19'),
112
107
  },
113
108
  {
114
109
  checkIn: new Date('2024-11-02'),
115
110
  firstCheckOut: new Date('2024-11-03'),
116
- lastCheckOut: new Date('2024-11-12'),
111
+ lastCheckOut: new Date('2024-11-19'),
117
112
  },
118
113
  {
119
114
  checkIn: new Date('2024-11-03'),
120
115
  firstCheckOut: new Date('2024-11-04'),
121
- lastCheckOut: new Date('2024-11-12'),
116
+ lastCheckOut: new Date('2024-11-19'),
122
117
  },
123
118
  {
124
119
  checkIn: new Date('2024-11-04'),
125
120
  firstCheckOut: new Date('2024-11-05'),
126
- lastCheckOut: new Date('2024-11-12'),
121
+ lastCheckOut: new Date('2024-11-19'),
127
122
  },
128
123
  {
129
124
  checkIn: new Date('2024-11-05'),
130
125
  firstCheckOut: new Date('2024-11-06'),
131
- lastCheckOut: new Date('2024-11-12'),
126
+ lastCheckOut: new Date('2024-11-19'),
132
127
  },
133
128
  {
134
129
  checkIn: new Date('2024-11-06'),
135
130
  firstCheckOut: new Date('2024-11-07'),
136
- lastCheckOut: new Date('2024-11-12'),
131
+ lastCheckOut: new Date('2024-11-19'),
137
132
  },
138
133
  {
139
134
  checkIn: new Date('2024-11-07'),
140
135
  firstCheckOut: new Date('2024-11-08'),
141
- lastCheckOut: new Date('2024-11-12'),
136
+ lastCheckOut: new Date('2024-11-19'),
142
137
  },
143
138
  {
144
139
  checkIn: new Date('2024-11-08'),
145
140
  firstCheckOut: new Date('2024-11-09'),
146
- lastCheckOut: new Date('2024-11-12'),
141
+ lastCheckOut: new Date('2024-11-19'),
147
142
  },
148
143
  {
149
144
  checkIn: new Date('2024-11-09'),
150
145
  firstCheckOut: new Date('2024-11-10'),
151
- lastCheckOut: new Date('2024-11-12'),
146
+ lastCheckOut: new Date('2024-11-19'),
152
147
  },
153
148
  {
154
149
  checkIn: new Date('2024-11-10'),
155
150
  firstCheckOut: new Date('2024-11-11'),
156
- lastCheckOut: new Date('2024-11-12'),
151
+ lastCheckOut: new Date('2024-11-19'),
157
152
  },
158
153
  {
159
154
  checkIn: new Date('2024-11-11'),
160
155
  firstCheckOut: new Date('2024-11-12'),
161
- lastCheckOut: new Date('2024-11-12'),
156
+ lastCheckOut: new Date('2024-11-19'),
162
157
  },
163
158
  {
164
- checkIn: new Date('2024-11-16'),
165
- firstCheckOut: new Date('2024-11-17'),
166
- lastCheckOut: new Date('2025-03-01'),
159
+ checkIn: new Date('2024-11-12'),
160
+ firstCheckOut: new Date('2024-11-13'),
161
+ lastCheckOut: new Date('2024-11-19'),
167
162
  },
168
163
  {
169
- checkIn: new Date('2024-11-17'),
170
- firstCheckOut: new Date('2024-11-18'),
171
- lastCheckOut: new Date('2025-03-01'),
164
+ checkIn: new Date('2024-11-13'),
165
+ firstCheckOut: new Date('2024-11-14'),
166
+ lastCheckOut: new Date('2024-11-19'),
172
167
  },
173
168
  {
174
- checkIn: new Date('2024-11-18'),
175
- firstCheckOut: new Date('2024-11-19'),
176
- lastCheckOut: new Date('2025-03-01'),
169
+ checkIn: new Date('2024-11-14'),
170
+ firstCheckOut: new Date('2024-11-15'),
171
+ lastCheckOut: new Date('2024-11-19'),
177
172
  },
178
173
  {
179
- checkIn: new Date('2024-11-19'),
180
- firstCheckOut: new Date('2024-11-20'),
181
- lastCheckOut: new Date('2025-03-01'),
174
+ checkIn: new Date('2024-11-15'),
175
+ firstCheckOut: new Date('2024-11-16'),
176
+ lastCheckOut: new Date('2024-11-19'),
182
177
  },
183
178
  {
184
- checkIn: new Date('2024-11-20'),
185
- firstCheckOut: new Date('2024-11-21'),
186
- lastCheckOut: new Date('2025-03-01'),
179
+ checkIn: new Date('2024-11-16'),
180
+ firstCheckOut: new Date('2024-11-17'),
181
+ lastCheckOut: new Date('2024-11-19'),
187
182
  },
188
183
  {
189
- checkIn: new Date('2024-11-21'),
190
- firstCheckOut: new Date('2024-11-22'),
191
- lastCheckOut: new Date('2025-03-01'),
184
+ checkIn: new Date('2024-11-17'),
185
+ firstCheckOut: new Date('2024-11-18'),
186
+ lastCheckOut: new Date('2024-11-19'),
192
187
  },
193
188
  {
194
- checkIn: new Date('2024-11-22'),
195
- firstCheckOut: new Date('2024-11-23'),
196
- lastCheckOut: new Date('2025-03-01'),
189
+ checkIn: new Date('2024-11-18'),
190
+ firstCheckOut: new Date('2024-11-19'),
191
+ lastCheckOut: new Date('2024-11-19'),
197
192
  },
198
193
  {
199
194
  checkIn: new Date('2024-11-23'),
@@ -390,10 +385,370 @@ const baseData = {
390
385
  firstCheckOut: new Date('2025-01-01'),
391
386
  lastCheckOut: new Date('2025-03-01'),
392
387
  },
388
+ {
389
+ checkIn: new Date('2025-01-01'),
390
+ firstCheckOut: new Date('2025-01-02'),
391
+ lastCheckOut: new Date('2025-03-12'),
392
+ },
393
+ {
394
+ checkIn: new Date('2025-01-02'),
395
+ firstCheckOut: new Date('2025-01-03'),
396
+ lastCheckOut: new Date('2025-03-12'),
397
+ },
398
+ {
399
+ checkIn: new Date('2025-01-03'),
400
+ firstCheckOut: new Date('2025-01-04'),
401
+ lastCheckOut: new Date('2025-03-12'),
402
+ },
403
+ {
404
+ checkIn: new Date('2025-01-04'),
405
+ firstCheckOut: new Date('2025-01-05'),
406
+ lastCheckOut: new Date('2025-03-12'),
407
+ },
408
+ {
409
+ checkIn: new Date('2025-01-05'),
410
+ firstCheckOut: new Date('2025-01-06'),
411
+ lastCheckOut: new Date('2025-03-12'),
412
+ },
413
+ {
414
+ checkIn: new Date('2025-01-06'),
415
+ firstCheckOut: new Date('2025-01-07'),
416
+ lastCheckOut: new Date('2025-03-12'),
417
+ },
418
+ {
419
+ checkIn: new Date('2025-01-07'),
420
+ firstCheckOut: new Date('2025-01-08'),
421
+ lastCheckOut: new Date('2025-03-12'),
422
+ },
423
+ {
424
+ checkIn: new Date('2025-01-08'),
425
+ firstCheckOut: new Date('2025-01-09'),
426
+ lastCheckOut: new Date('2025-03-12'),
427
+ },
428
+ {
429
+ checkIn: new Date('2025-01-09'),
430
+ firstCheckOut: new Date('2025-01-10'),
431
+ lastCheckOut: new Date('2025-03-12'),
432
+ },
433
+ {
434
+ checkIn: new Date('2025-01-10'),
435
+ firstCheckOut: new Date('2025-01-11'),
436
+ lastCheckOut: new Date('2025-03-12'),
437
+ },
438
+ {
439
+ checkIn: new Date('2025-01-11'),
440
+ firstCheckOut: new Date('2025-01-12'),
441
+ lastCheckOut: new Date('2025-03-12'),
442
+ },
443
+ {
444
+ checkIn: new Date('2025-01-12'),
445
+ firstCheckOut: new Date('2025-01-13'),
446
+ lastCheckOut: new Date('2025-03-12'),
447
+ },
448
+ {
449
+ checkIn: new Date('2025-01-13'),
450
+ firstCheckOut: new Date('2025-01-14'),
451
+ lastCheckOut: new Date('2025-03-12'),
452
+ },
453
+ {
454
+ checkIn: new Date('2025-01-14'),
455
+ firstCheckOut: new Date('2025-01-15'),
456
+ lastCheckOut: new Date('2025-03-12'),
457
+ },
458
+ {
459
+ checkIn: new Date('2025-01-15'),
460
+ firstCheckOut: new Date('2025-01-16'),
461
+ lastCheckOut: new Date('2025-03-12'),
462
+ },
463
+ {
464
+ checkIn: new Date('2025-01-16'),
465
+ firstCheckOut: new Date('2025-01-17'),
466
+ lastCheckOut: new Date('2025-03-12'),
467
+ },
468
+ {
469
+ checkIn: new Date('2025-01-17'),
470
+ firstCheckOut: new Date('2025-01-18'),
471
+ lastCheckOut: new Date('2025-03-12'),
472
+ },
473
+ {
474
+ checkIn: new Date('2025-01-18'),
475
+ firstCheckOut: new Date('2025-01-19'),
476
+ lastCheckOut: new Date('2025-03-12'),
477
+ },
478
+ {
479
+ checkIn: new Date('2025-01-19'),
480
+ firstCheckOut: new Date('2025-01-20'),
481
+ lastCheckOut: new Date('2025-03-12'),
482
+ },
483
+ {
484
+ checkIn: new Date('2025-01-20'),
485
+ firstCheckOut: new Date('2025-01-21'),
486
+ lastCheckOut: new Date('2025-03-12'),
487
+ },
488
+ {
489
+ checkIn: new Date('2025-01-21'),
490
+ firstCheckOut: new Date('2025-01-22'),
491
+ lastCheckOut: new Date('2025-03-12'),
492
+ },
493
+ {
494
+ checkIn: new Date('2025-01-22'),
495
+ firstCheckOut: new Date('2025-01-23'),
496
+ lastCheckOut: new Date('2025-03-12'),
497
+ },
498
+ {
499
+ checkIn: new Date('2025-01-23'),
500
+ firstCheckOut: new Date('2025-01-24'),
501
+ lastCheckOut: new Date('2025-03-12'),
502
+ },
503
+ {
504
+ checkIn: new Date('2025-01-24'),
505
+ firstCheckOut: new Date('2025-01-25'),
506
+ lastCheckOut: new Date('2025-03-12'),
507
+ },
508
+ {
509
+ checkIn: new Date('2025-01-25'),
510
+ firstCheckOut: new Date('2025-01-26'),
511
+ lastCheckOut: new Date('2025-03-12'),
512
+ },
513
+ {
514
+ checkIn: new Date('2025-01-26'),
515
+ firstCheckOut: new Date('2025-01-27'),
516
+ lastCheckOut: new Date('2025-03-12'),
517
+ },
518
+ {
519
+ checkIn: new Date('2025-01-27'),
520
+ firstCheckOut: new Date('2025-01-28'),
521
+ lastCheckOut: new Date('2025-03-12'),
522
+ },
523
+ {
524
+ checkIn: new Date('2025-01-28'),
525
+ firstCheckOut: new Date('2025-01-29'),
526
+ lastCheckOut: new Date('2025-03-12'),
527
+ },
528
+ {
529
+ checkIn: new Date('2025-01-29'),
530
+ firstCheckOut: new Date('2025-01-30'),
531
+ lastCheckOut: new Date('2025-03-12'),
532
+ },
533
+ {
534
+ checkIn: new Date('2025-01-30'),
535
+ firstCheckOut: new Date('2025-01-31'),
536
+ lastCheckOut: new Date('2025-03-12'),
537
+ },
538
+ {
539
+ checkIn: new Date('2025-01-31'),
540
+ firstCheckOut: new Date('2025-02-01'),
541
+ lastCheckOut: new Date('2025-03-12'),
542
+ },
543
+ {
544
+ checkIn: new Date('2025-02-01'),
545
+ firstCheckOut: new Date('2025-02-02'),
546
+ lastCheckOut: new Date('2025-03-12'),
547
+ },
548
+ {
549
+ checkIn: new Date('2025-02-02'),
550
+ firstCheckOut: new Date('2025-02-03'),
551
+ lastCheckOut: new Date('2025-03-12'),
552
+ },
553
+ {
554
+ checkIn: new Date('2025-02-03'),
555
+ firstCheckOut: new Date('2025-02-04'),
556
+ lastCheckOut: new Date('2025-03-12'),
557
+ },
558
+ {
559
+ checkIn: new Date('2025-02-04'),
560
+ firstCheckOut: new Date('2025-02-05'),
561
+ lastCheckOut: new Date('2025-03-12'),
562
+ },
563
+ {
564
+ checkIn: new Date('2025-02-05'),
565
+ firstCheckOut: new Date('2025-02-06'),
566
+ lastCheckOut: new Date('2025-03-12'),
567
+ },
568
+ {
569
+ checkIn: new Date('2025-02-06'),
570
+ firstCheckOut: new Date('2025-02-07'),
571
+ lastCheckOut: new Date('2025-03-12'),
572
+ },
573
+ {
574
+ checkIn: new Date('2025-02-07'),
575
+ firstCheckOut: new Date('2025-02-08'),
576
+ lastCheckOut: new Date('2025-03-12'),
577
+ },
578
+ {
579
+ checkIn: new Date('2025-02-08'),
580
+ firstCheckOut: new Date('2025-02-09'),
581
+ lastCheckOut: new Date('2025-03-12'),
582
+ },
583
+ {
584
+ checkIn: new Date('2025-02-09'),
585
+ firstCheckOut: new Date('2025-02-10'),
586
+ lastCheckOut: new Date('2025-03-12'),
587
+ },
588
+ {
589
+ checkIn: new Date('2025-02-10'),
590
+ firstCheckOut: new Date('2025-02-11'),
591
+ lastCheckOut: new Date('2025-03-12'),
592
+ },
593
+ {
594
+ checkIn: new Date('2025-02-11'),
595
+ firstCheckOut: new Date('2025-02-12'),
596
+ lastCheckOut: new Date('2025-03-12'),
597
+ },
598
+ {
599
+ checkIn: new Date('2025-02-12'),
600
+ firstCheckOut: new Date('2025-02-13'),
601
+ lastCheckOut: new Date('2025-03-12'),
602
+ },
603
+ {
604
+ checkIn: new Date('2025-02-13'),
605
+ firstCheckOut: new Date('2025-02-14'),
606
+ lastCheckOut: new Date('2025-03-12'),
607
+ },
608
+ {
609
+ checkIn: new Date('2025-02-14'),
610
+ firstCheckOut: new Date('2025-02-15'),
611
+ lastCheckOut: new Date('2025-03-12'),
612
+ },
613
+ {
614
+ checkIn: new Date('2025-02-15'),
615
+ firstCheckOut: new Date('2025-02-16'),
616
+ lastCheckOut: new Date('2025-03-12'),
617
+ },
618
+ {
619
+ checkIn: new Date('2025-02-16'),
620
+ firstCheckOut: new Date('2025-02-17'),
621
+ lastCheckOut: new Date('2025-03-12'),
622
+ },
623
+ {
624
+ checkIn: new Date('2025-02-17'),
625
+ firstCheckOut: new Date('2025-02-18'),
626
+ lastCheckOut: new Date('2025-03-12'),
627
+ },
628
+ {
629
+ checkIn: new Date('2025-02-18'),
630
+ firstCheckOut: new Date('2025-02-19'),
631
+ lastCheckOut: new Date('2025-03-12'),
632
+ },
633
+ {
634
+ checkIn: new Date('2025-02-19'),
635
+ firstCheckOut: new Date('2025-02-20'),
636
+ lastCheckOut: new Date('2025-03-12'),
637
+ },
638
+ {
639
+ checkIn: new Date('2025-02-20'),
640
+ firstCheckOut: new Date('2025-02-21'),
641
+ lastCheckOut: new Date('2025-03-12'),
642
+ },
643
+ {
644
+ checkIn: new Date('2025-02-21'),
645
+ firstCheckOut: new Date('2025-02-22'),
646
+ lastCheckOut: new Date('2025-03-12'),
647
+ },
648
+ {
649
+ checkIn: new Date('2025-02-22'),
650
+ firstCheckOut: new Date('2025-02-23'),
651
+ lastCheckOut: new Date('2025-03-12'),
652
+ },
653
+ {
654
+ checkIn: new Date('2025-02-23'),
655
+ firstCheckOut: new Date('2025-02-24'),
656
+ lastCheckOut: new Date('2025-03-12'),
657
+ },
658
+ {
659
+ checkIn: new Date('2025-02-24'),
660
+ firstCheckOut: new Date('2025-02-25'),
661
+ lastCheckOut: new Date('2025-03-12'),
662
+ },
663
+ {
664
+ checkIn: new Date('2025-02-25'),
665
+ firstCheckOut: new Date('2025-02-26'),
666
+ lastCheckOut: new Date('2025-03-12'),
667
+ },
668
+ {
669
+ checkIn: new Date('2025-02-26'),
670
+ firstCheckOut: new Date('2025-02-27'),
671
+ lastCheckOut: new Date('2025-03-12'),
672
+ },
673
+ {
674
+ checkIn: new Date('2025-02-27'),
675
+ firstCheckOut: new Date('2025-02-28'),
676
+ lastCheckOut: new Date('2025-03-12'),
677
+ },
678
+ {
679
+ checkIn: new Date('2025-02-28'),
680
+ firstCheckOut: new Date('2025-03-01'),
681
+ lastCheckOut: new Date('2025-03-12'),
682
+ },
683
+ {
684
+ checkIn: new Date('2025-03-01'),
685
+ firstCheckOut: new Date('2025-03-02'),
686
+ lastCheckOut: new Date('2025-03-12'),
687
+ },
688
+ {
689
+ checkIn: new Date('2025-03-02'),
690
+ firstCheckOut: new Date('2025-03-03'),
691
+ lastCheckOut: new Date('2025-03-12'),
692
+ },
693
+ {
694
+ checkIn: new Date('2025-03-03'),
695
+ firstCheckOut: new Date('2025-03-04'),
696
+ lastCheckOut: new Date('2025-03-12'),
697
+ },
698
+ {
699
+ checkIn: new Date('2025-03-04'),
700
+ firstCheckOut: new Date('2025-03-05'),
701
+ lastCheckOut: new Date('2025-03-12'),
702
+ },
703
+ {
704
+ checkIn: new Date('2025-03-05'),
705
+ firstCheckOut: new Date('2025-03-06'),
706
+ lastCheckOut: new Date('2025-03-12'),
707
+ },
708
+ {
709
+ checkIn: new Date('2025-03-06'),
710
+ firstCheckOut: new Date('2025-03-07'),
711
+ lastCheckOut: new Date('2025-03-12'),
712
+ },
713
+ {
714
+ checkIn: new Date('2025-03-07'),
715
+ firstCheckOut: new Date('2025-03-08'),
716
+ lastCheckOut: new Date('2025-03-12'),
717
+ },
718
+ {
719
+ checkIn: new Date('2025-03-08'),
720
+ firstCheckOut: new Date('2025-03-09'),
721
+ lastCheckOut: new Date('2025-03-12'),
722
+ },
723
+ {
724
+ checkIn: new Date('2025-03-09'),
725
+ firstCheckOut: new Date('2025-03-10'),
726
+ lastCheckOut: new Date('2025-03-12'),
727
+ },
728
+ {
729
+ checkIn: new Date('2025-03-10'),
730
+ firstCheckOut: new Date('2025-03-11'),
731
+ lastCheckOut: new Date('2025-03-12'),
732
+ },
733
+ {
734
+ checkIn: new Date('2025-03-11'),
735
+ firstCheckOut: new Date('2025-03-12'),
736
+ lastCheckOut: new Date('2025-03-12'),
737
+ },
393
738
  ],
394
739
  disabledDates: [
395
- { from: new Date('2024-10-01'), to: new Date('2024-10-13') },
396
- { from: new Date('2024-11-12'), to: new Date('2024-11-15') },
740
+ {
741
+ to: new Date('2024-10-14'),
742
+ from: new Date('2024-10-01'),
743
+ },
744
+ {
745
+ to: new Date('2024-11-22'),
746
+ from: new Date('2024-11-19'),
747
+ },
748
+ {
749
+ to: new Date('2025-03-31'),
750
+ from: new Date('2025-03-12'),
751
+ },
397
752
  ],
398
753
  },
399
754
  language: 'en',
@@ -473,311 +828,3 @@ export const DisabledRangeContextDates: Story = {
473
828
  )
474
829
  },
475
830
  }
476
-
477
- // disableCalendarDates: {
478
- // availableDates: [
479
- // {
480
- // checkIn: new Date('2024-11-01'),
481
- // firstCheckOut: new Date('2024-11-02'),
482
- // lastCheckOut: new Date('2024-11-11'),
483
- // },
484
- // {
485
- // checkIn: new Date('2024-11-02'),
486
- // firstCheckOut: new Date('2024-11-03'),
487
- // lastCheckOut: new Date('2024-11-11'),
488
- // },
489
- // {
490
- // checkIn: new Date('2024-11-03'),
491
- // firstCheckOut: new Date('2024-11-04'),
492
- // lastCheckOut: new Date('2024-11-11'),
493
- // },
494
- // {
495
- // checkIn: new Date('2024-11-04'),
496
- // firstCheckOut: new Date('2024-11-05'),
497
- // lastCheckOut: new Date('2024-11-11'),
498
- // },
499
- // {
500
- // checkIn: new Date('2024-11-05'),
501
- // firstCheckOut: new Date('2024-11-06'),
502
- // lastCheckOut: new Date('2024-11-11'),
503
- // },
504
- // {
505
- // checkIn: new Date('2024-11-06'),
506
- // firstCheckOut: new Date('2024-11-07'),
507
- // lastCheckOut: new Date('2024-11-11'),
508
- // },
509
- // {
510
- // checkIn: new Date('2024-11-07'),
511
- // firstCheckOut: new Date('2024-11-08'),
512
- // lastCheckOut: new Date('2024-11-11'),
513
- // },
514
- // {
515
- // checkIn: new Date('2024-11-08'),
516
- // firstCheckOut: new Date('2024-11-09'),
517
- // lastCheckOut: new Date('2024-11-11'),
518
- // },
519
- // {
520
- // checkIn: new Date('2024-11-09'),
521
- // firstCheckOut: new Date('2024-11-10'),
522
- // lastCheckOut: new Date('2024-11-11'),
523
- // },
524
- // {
525
- // checkIn: new Date('2024-11-10'),
526
- // firstCheckOut: new Date('2024-11-11'),
527
- // lastCheckOut: new Date('2024-11-11'),
528
- // },
529
- // {
530
- // checkIn: new Date('2024-11-15'),
531
- // firstCheckOut: new Date('2024-11-16'),
532
- // lastCheckOut: new Date('2025-03-01'),
533
- // },
534
- // {
535
- // checkIn: new Date('2024-11-16'),
536
- // firstCheckOut: new Date('2024-11-17'),
537
- // lastCheckOut: new Date('2025-03-01'),
538
- // },
539
- // {
540
- // checkIn: new Date('2024-11-17'),
541
- // firstCheckOut: new Date('2024-11-18'),
542
- // lastCheckOut: new Date('2025-03-01'),
543
- // },
544
- // {
545
- // checkIn: new Date('2024-11-18'),
546
- // firstCheckOut: new Date('2024-11-19'),
547
- // lastCheckOut: new Date('2025-03-01'),
548
- // },
549
- // {
550
- // checkIn: new Date('2024-11-19'),
551
- // firstCheckOut: new Date('2024-11-20'),
552
- // lastCheckOut: new Date('2025-03-01'),
553
- // },
554
- // {
555
- // checkIn: new Date('2024-11-20'),
556
- // firstCheckOut: new Date('2024-11-21'),
557
- // lastCheckOut: new Date('2025-03-01'),
558
- // },
559
- // {
560
- // checkIn: new Date('2024-11-21'),
561
- // firstCheckOut: new Date('2024-11-22'),
562
- // lastCheckOut: new Date('2025-03-01'),
563
- // },
564
- // {
565
- // checkIn: new Date('2024-11-22'),
566
- // firstCheckOut: new Date('2024-11-23'),
567
- // lastCheckOut: new Date('2025-03-01'),
568
- // },
569
- // {
570
- // checkIn: new Date('2024-11-23'),
571
- // firstCheckOut: new Date('2024-11-24'),
572
- // lastCheckOut: new Date('2025-03-01'),
573
- // },
574
- // {
575
- // checkIn: new Date('2024-11-24'),
576
- // firstCheckOut: new Date('2024-11-25'),
577
- // lastCheckOut: new Date('2025-03-01'),
578
- // },
579
- // {
580
- // checkIn: new Date('2024-11-25'),
581
- // firstCheckOut: new Date('2024-11-26'),
582
- // lastCheckOut: new Date('2025-03-01'),
583
- // },
584
- // {
585
- // checkIn: new Date('2024-11-26'),
586
- // firstCheckOut: new Date('2024-11-27'),
587
- // lastCheckOut: new Date('2025-03-01'),
588
- // },
589
- // {
590
- // checkIn: new Date('2024-11-27'),
591
- // firstCheckOut: new Date('2024-11-28'),
592
- // lastCheckOut: new Date('2025-03-01'),
593
- // },
594
- // {
595
- // checkIn: new Date('2024-11-28'),
596
- // firstCheckOut: new Date('2024-11-29'),
597
- // lastCheckOut: new Date('2025-03-01'),
598
- // },
599
- // {
600
- // checkIn: new Date('2024-11-29'),
601
- // firstCheckOut: new Date('2024-11-30'),
602
- // lastCheckOut: new Date('2025-03-01'),
603
- // },
604
- // {
605
- // checkIn: new Date('2024-11-30'),
606
- // firstCheckOut: new Date('2024-12-01'),
607
- // lastCheckOut: new Date('2025-03-01'),
608
- // },
609
- // {
610
- // checkIn: new Date('2024-12-01'),
611
- // firstCheckOut: new Date('2024-12-02'),
612
- // lastCheckOut: new Date('2025-03-01'),
613
- // },
614
- // {
615
- // checkIn: new Date('2024-12-02'),
616
- // firstCheckOut: new Date('2024-12-03'),
617
- // lastCheckOut: new Date('2025-03-01'),
618
- // },
619
- // {
620
- // checkIn: new Date('2024-12-03'),
621
- // firstCheckOut: new Date('2024-12-04'),
622
- // lastCheckOut: new Date('2025-03-01'),
623
- // },
624
- // {
625
- // checkIn: new Date('2024-12-04'),
626
- // firstCheckOut: new Date('2024-12-05'),
627
- // lastCheckOut: new Date('2025-03-01'),
628
- // },
629
- // {
630
- // checkIn: new Date('2024-12-05'),
631
- // firstCheckOut: new Date('2024-12-06'),
632
- // lastCheckOut: new Date('2025-03-01'),
633
- // },
634
- // {
635
- // checkIn: new Date('2024-12-06'),
636
- // firstCheckOut: new Date('2024-12-07'),
637
- // lastCheckOut: new Date('2025-03-01'),
638
- // },
639
- // {
640
- // checkIn: new Date('2024-12-07'),
641
- // firstCheckOut: new Date('2024-12-08'),
642
- // lastCheckOut: new Date('2025-03-01'),
643
- // },
644
- // {
645
- // checkIn: new Date('2024-12-08'),
646
- // firstCheckOut: new Date('2024-12-09'),
647
- // lastCheckOut: new Date('2025-03-01'),
648
- // },
649
- // {
650
- // checkIn: new Date('2024-12-09'),
651
- // firstCheckOut: new Date('2024-12-10'),
652
- // lastCheckOut: new Date('2025-03-01'),
653
- // },
654
- // {
655
- // checkIn: new Date('2024-12-10'),
656
- // firstCheckOut: new Date('2024-12-11'),
657
- // lastCheckOut: new Date('2025-03-01'),
658
- // },
659
- // {
660
- // checkIn: new Date('2024-12-11'),
661
- // firstCheckOut: new Date('2024-12-12'),
662
- // lastCheckOut: new Date('2025-03-01'),
663
- // },
664
- // {
665
- // checkIn: new Date('2024-12-12'),
666
- // firstCheckOut: new Date('2024-12-13'),
667
- // lastCheckOut: new Date('2025-03-01'),
668
- // },
669
- // {
670
- // checkIn: new Date('2024-12-13'),
671
- // firstCheckOut: new Date('2024-12-14'),
672
- // lastCheckOut: new Date('2025-03-01'),
673
- // },
674
- // {
675
- // checkIn: new Date('2024-12-14'),
676
- // firstCheckOut: new Date('2024-12-15'),
677
- // lastCheckOut: new Date('2025-03-01'),
678
- // },
679
- // {
680
- // checkIn: new Date('2024-12-15'),
681
- // firstCheckOut: new Date('2024-12-16'),
682
- // lastCheckOut: new Date('2025-03-01'),
683
- // },
684
- // {
685
- // checkIn: new Date('2024-12-16'),
686
- // firstCheckOut: new Date('2024-12-17'),
687
- // lastCheckOut: new Date('2025-03-01'),
688
- // },
689
- // {
690
- // checkIn: new Date('2024-12-17'),
691
- // firstCheckOut: new Date('2024-12-18'),
692
- // lastCheckOut: new Date('2025-03-01'),
693
- // },
694
- // {
695
- // checkIn: new Date('2024-12-18'),
696
- // firstCheckOut: new Date('2024-12-19'),
697
- // lastCheckOut: new Date('2025-03-01'),
698
- // },
699
- // {
700
- // checkIn: new Date('2024-12-19'),
701
- // firstCheckOut: new Date('2024-12-20'),
702
- // lastCheckOut: new Date('2025-03-01'),
703
- // },
704
- // {
705
- // checkIn: new Date('2024-12-20'),
706
- // firstCheckOut: new Date('2024-12-21'),
707
- // lastCheckOut: new Date('2025-03-01'),
708
- // },
709
- // {
710
- // checkIn: new Date('2024-12-21'),
711
- // firstCheckOut: new Date('2024-12-22'),
712
- // lastCheckOut: new Date('2025-03-01'),
713
- // },
714
- // {
715
- // checkIn: new Date('2024-12-22'),
716
- // firstCheckOut: new Date('2024-12-23'),
717
- // lastCheckOut: new Date('2025-03-01'),
718
- // },
719
- // {
720
- // checkIn: new Date('2024-12-23'),
721
- // firstCheckOut: new Date('2024-12-24'),
722
- // lastCheckOut: new Date('2025-03-01'),
723
- // },
724
- // {
725
- // checkIn: new Date('2024-12-24'),
726
- // firstCheckOut: new Date('2024-12-25'),
727
- // lastCheckOut: new Date('2025-03-01'),
728
- // },
729
- // {
730
- // checkIn: new Date('2024-12-25'),
731
- // firstCheckOut: new Date('2024-12-26'),
732
- // lastCheckOut: new Date('2025-03-01'),
733
- // },
734
- // {
735
- // checkIn: new Date('2024-12-26'),
736
- // firstCheckOut: new Date('2024-12-27'),
737
- // lastCheckOut: new Date('2025-03-01'),
738
- // },
739
- // {
740
- // checkIn: new Date('2024-12-27'),
741
- // firstCheckOut: new Date('2024-12-28'),
742
- // lastCheckOut: new Date('2025-03-01'),
743
- // },
744
- // {
745
- // checkIn: new Date('2024-12-28'),
746
- // firstCheckOut: new Date('2024-12-29'),
747
- // lastCheckOut: new Date('2025-03-01'),
748
- // },
749
- // {
750
- // checkIn: new Date('2024-12-29'),
751
- // firstCheckOut: new Date('2024-12-30'),
752
- // lastCheckOut: new Date('2025-03-01'),
753
- // },
754
- // {
755
- // checkIn: new Date('2024-12-30'),
756
- // firstCheckOut: new Date('2024-12-31'),
757
- // lastCheckOut: new Date('2025-03-01'),
758
- // },
759
- // {
760
- // checkIn: new Date('2024-12-31'),
761
- // firstCheckOut: new Date('2025-01-01'),
762
- // lastCheckOut: new Date('2025-03-01'),
763
- // },
764
- // ],
765
- // disabledDates: [
766
- // {
767
- // to: new Date('2024-10-09'),
768
- // from: new Date('2024-10-01'),
769
- // },
770
- // {
771
- // to: new Date('2024-10-18'),
772
- // from: new Date('2024-10-17'),
773
- // },
774
- // {
775
- // to: new Date('2024-10-23'),
776
- // from: new Date('2024-10-22'),
777
- // },
778
- // {
779
- // to: new Date('2024-11-14'),
780
- // from: new Date('2024-11-11'),
781
- // },
782
- // ],
783
- // },