willba-component-library 0.2.58 → 0.2.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/FilterCalendar/FilterCalendar.d.ts +1 -1
- package/lib/components/FilterCalendar/hooks/useFilterCalendar.d.ts +5 -2
- package/lib/core/components/calendar/CalendarTypes.d.ts +1 -1
- package/lib/core/components/calendar/hooks/useCalendarLoadingSpinner.d.ts +1 -3
- package/lib/core/components/calendar/hooks/useCalendarTooltips.d.ts +1 -6
- package/lib/core/components/calendar/hooks/useUpdateDisabledDates.d.ts +2 -2
- package/lib/core/components/calendar/utils/handleCalendarModifiers.d.ts +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.esm.js +47 -43
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +47 -43
- package/lib/index.js.map +1 -1
- package/lib/index.umd.js +47 -43
- package/lib/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/FilterCalendar/FilterCalendar.stories.tsx +415 -379
- package/src/components/FilterCalendar/FilterCalendar.tsx +5 -3
- package/src/components/FilterCalendar/hooks/useFilterCalendar.ts +11 -3
- package/src/core/components/calendar/Calendar.tsx +4 -10
- package/src/core/components/calendar/CalendarTypes.ts +1 -1
- package/src/core/components/calendar/hooks/useCalendarLoadingSpinner.tsx +2 -8
- package/src/core/components/calendar/hooks/useCalendarTooltips.tsx +2 -18
- package/src/core/components/calendar/hooks/useUpdateDisabledDates.tsx +3 -3
- package/src/core/components/calendar/utils/calendarSelectionRules.tsx +14 -1
- package/src/core/components/calendar/utils/handleCalendarModifiers.tsx +15 -13
|
@@ -15,210 +15,195 @@ 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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
156
|
+
lastCheckOut: new Date('2024-11-19'),
|
|
162
157
|
},
|
|
163
158
|
{
|
|
164
|
-
checkIn: new Date('2024-11-
|
|
165
|
-
firstCheckOut: new Date('2024-11-
|
|
166
|
-
lastCheckOut: new Date('
|
|
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-
|
|
170
|
-
firstCheckOut: new Date('2024-11-
|
|
171
|
-
lastCheckOut: new Date('
|
|
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-
|
|
175
|
-
firstCheckOut: new Date('2024-11-
|
|
176
|
-
lastCheckOut: new Date('
|
|
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-
|
|
180
|
-
firstCheckOut: new Date('2024-11-
|
|
181
|
-
lastCheckOut: new Date('
|
|
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-
|
|
185
|
-
firstCheckOut: new Date('2024-11-
|
|
186
|
-
lastCheckOut: new Date('
|
|
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-
|
|
190
|
-
firstCheckOut: new Date('2024-11-
|
|
191
|
-
lastCheckOut: new Date('
|
|
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-
|
|
195
|
-
firstCheckOut: new Date('2024-11-
|
|
196
|
-
lastCheckOut: new Date('
|
|
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'),
|
|
200
195
|
firstCheckOut: new Date('2024-11-24'),
|
|
201
|
-
lastCheckOut: new Date('
|
|
196
|
+
lastCheckOut: new Date('2024-11-26'),
|
|
202
197
|
},
|
|
203
198
|
{
|
|
204
199
|
checkIn: new Date('2024-11-24'),
|
|
205
200
|
firstCheckOut: new Date('2024-11-25'),
|
|
206
|
-
lastCheckOut: new Date('
|
|
201
|
+
lastCheckOut: new Date('2024-11-26'),
|
|
207
202
|
},
|
|
208
203
|
{
|
|
209
204
|
checkIn: new Date('2024-11-25'),
|
|
210
205
|
firstCheckOut: new Date('2024-11-26'),
|
|
211
|
-
lastCheckOut: new Date('
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
checkIn: new Date('2024-11-26'),
|
|
215
|
-
firstCheckOut: new Date('2024-11-27'),
|
|
216
|
-
lastCheckOut: new Date('2025-03-01'),
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
checkIn: new Date('2024-11-27'),
|
|
220
|
-
firstCheckOut: new Date('2024-11-28'),
|
|
221
|
-
lastCheckOut: new Date('2025-03-01'),
|
|
206
|
+
lastCheckOut: new Date('2024-11-26'),
|
|
222
207
|
},
|
|
223
208
|
{
|
|
224
209
|
checkIn: new Date('2024-11-28'),
|
|
@@ -390,10 +375,369 @@ const baseData = {
|
|
|
390
375
|
firstCheckOut: new Date('2025-01-01'),
|
|
391
376
|
lastCheckOut: new Date('2025-03-01'),
|
|
392
377
|
},
|
|
378
|
+
{
|
|
379
|
+
checkIn: new Date('2025-01-02'),
|
|
380
|
+
firstCheckOut: new Date('2025-01-03'),
|
|
381
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
checkIn: new Date('2025-01-03'),
|
|
385
|
+
firstCheckOut: new Date('2025-01-04'),
|
|
386
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
checkIn: new Date('2025-01-04'),
|
|
390
|
+
firstCheckOut: new Date('2025-01-05'),
|
|
391
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
checkIn: new Date('2025-01-05'),
|
|
395
|
+
firstCheckOut: new Date('2025-01-06'),
|
|
396
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
checkIn: new Date('2025-01-06'),
|
|
400
|
+
firstCheckOut: new Date('2025-01-07'),
|
|
401
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
checkIn: new Date('2025-01-07'),
|
|
405
|
+
firstCheckOut: new Date('2025-01-08'),
|
|
406
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
checkIn: new Date('2025-01-08'),
|
|
410
|
+
firstCheckOut: new Date('2025-01-09'),
|
|
411
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
checkIn: new Date('2025-01-09'),
|
|
415
|
+
firstCheckOut: new Date('2025-01-10'),
|
|
416
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
checkIn: new Date('2025-01-10'),
|
|
420
|
+
firstCheckOut: new Date('2025-01-11'),
|
|
421
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
checkIn: new Date('2025-01-11'),
|
|
425
|
+
firstCheckOut: new Date('2025-01-12'),
|
|
426
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
checkIn: new Date('2025-01-12'),
|
|
430
|
+
firstCheckOut: new Date('2025-01-13'),
|
|
431
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
checkIn: new Date('2025-01-13'),
|
|
435
|
+
firstCheckOut: new Date('2025-01-14'),
|
|
436
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
checkIn: new Date('2025-01-14'),
|
|
440
|
+
firstCheckOut: new Date('2025-01-15'),
|
|
441
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
checkIn: new Date('2025-01-15'),
|
|
445
|
+
firstCheckOut: new Date('2025-01-16'),
|
|
446
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
checkIn: new Date('2025-01-16'),
|
|
450
|
+
firstCheckOut: new Date('2025-01-17'),
|
|
451
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
checkIn: new Date('2025-01-17'),
|
|
455
|
+
firstCheckOut: new Date('2025-01-18'),
|
|
456
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
checkIn: new Date('2025-01-18'),
|
|
460
|
+
firstCheckOut: new Date('2025-01-19'),
|
|
461
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
checkIn: new Date('2025-01-19'),
|
|
465
|
+
firstCheckOut: new Date('2025-01-20'),
|
|
466
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
checkIn: new Date('2025-01-20'),
|
|
470
|
+
firstCheckOut: new Date('2025-01-21'),
|
|
471
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
checkIn: new Date('2025-01-21'),
|
|
475
|
+
firstCheckOut: new Date('2025-01-22'),
|
|
476
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
checkIn: new Date('2025-01-22'),
|
|
480
|
+
firstCheckOut: new Date('2025-01-23'),
|
|
481
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
checkIn: new Date('2025-01-23'),
|
|
485
|
+
firstCheckOut: new Date('2025-01-24'),
|
|
486
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
checkIn: new Date('2025-01-24'),
|
|
490
|
+
firstCheckOut: new Date('2025-01-25'),
|
|
491
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
checkIn: new Date('2025-01-25'),
|
|
495
|
+
firstCheckOut: new Date('2025-01-26'),
|
|
496
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
checkIn: new Date('2025-01-26'),
|
|
500
|
+
firstCheckOut: new Date('2025-01-27'),
|
|
501
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
checkIn: new Date('2025-01-27'),
|
|
505
|
+
firstCheckOut: new Date('2025-01-28'),
|
|
506
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
checkIn: new Date('2025-01-28'),
|
|
510
|
+
firstCheckOut: new Date('2025-01-29'),
|
|
511
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
checkIn: new Date('2025-01-29'),
|
|
515
|
+
firstCheckOut: new Date('2025-01-30'),
|
|
516
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
checkIn: new Date('2025-01-30'),
|
|
520
|
+
firstCheckOut: new Date('2025-01-31'),
|
|
521
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
checkIn: new Date('2025-01-31'),
|
|
525
|
+
firstCheckOut: new Date('2025-02-01'),
|
|
526
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
checkIn: new Date('2025-02-01'),
|
|
530
|
+
firstCheckOut: new Date('2025-02-02'),
|
|
531
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
checkIn: new Date('2025-02-02'),
|
|
535
|
+
firstCheckOut: new Date('2025-02-03'),
|
|
536
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
checkIn: new Date('2025-02-03'),
|
|
540
|
+
firstCheckOut: new Date('2025-02-04'),
|
|
541
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
checkIn: new Date('2025-02-04'),
|
|
545
|
+
firstCheckOut: new Date('2025-02-05'),
|
|
546
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
checkIn: new Date('2025-02-05'),
|
|
550
|
+
firstCheckOut: new Date('2025-02-06'),
|
|
551
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
checkIn: new Date('2025-02-06'),
|
|
555
|
+
firstCheckOut: new Date('2025-02-07'),
|
|
556
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
checkIn: new Date('2025-02-07'),
|
|
560
|
+
firstCheckOut: new Date('2025-02-08'),
|
|
561
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
checkIn: new Date('2025-02-08'),
|
|
565
|
+
firstCheckOut: new Date('2025-02-09'),
|
|
566
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
checkIn: new Date('2025-02-09'),
|
|
570
|
+
firstCheckOut: new Date('2025-02-10'),
|
|
571
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
checkIn: new Date('2025-02-10'),
|
|
575
|
+
firstCheckOut: new Date('2025-02-11'),
|
|
576
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
checkIn: new Date('2025-02-11'),
|
|
580
|
+
firstCheckOut: new Date('2025-02-12'),
|
|
581
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
checkIn: new Date('2025-02-12'),
|
|
585
|
+
firstCheckOut: new Date('2025-02-13'),
|
|
586
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
checkIn: new Date('2025-02-13'),
|
|
590
|
+
firstCheckOut: new Date('2025-02-14'),
|
|
591
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
checkIn: new Date('2025-02-14'),
|
|
595
|
+
firstCheckOut: new Date('2025-02-15'),
|
|
596
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
checkIn: new Date('2025-02-15'),
|
|
600
|
+
firstCheckOut: new Date('2025-02-16'),
|
|
601
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
checkIn: new Date('2025-02-16'),
|
|
605
|
+
firstCheckOut: new Date('2025-02-17'),
|
|
606
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
checkIn: new Date('2025-02-17'),
|
|
610
|
+
firstCheckOut: new Date('2025-02-18'),
|
|
611
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
checkIn: new Date('2025-02-18'),
|
|
615
|
+
firstCheckOut: new Date('2025-02-19'),
|
|
616
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
checkIn: new Date('2025-02-19'),
|
|
620
|
+
firstCheckOut: new Date('2025-02-20'),
|
|
621
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
checkIn: new Date('2025-02-20'),
|
|
625
|
+
firstCheckOut: new Date('2025-02-21'),
|
|
626
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
checkIn: new Date('2025-02-21'),
|
|
630
|
+
firstCheckOut: new Date('2025-02-22'),
|
|
631
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
checkIn: new Date('2025-02-22'),
|
|
635
|
+
firstCheckOut: new Date('2025-02-23'),
|
|
636
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
checkIn: new Date('2025-02-23'),
|
|
640
|
+
firstCheckOut: new Date('2025-02-24'),
|
|
641
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
checkIn: new Date('2025-02-24'),
|
|
645
|
+
firstCheckOut: new Date('2025-02-25'),
|
|
646
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
checkIn: new Date('2025-02-25'),
|
|
650
|
+
firstCheckOut: new Date('2025-02-26'),
|
|
651
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
checkIn: new Date('2025-02-26'),
|
|
655
|
+
firstCheckOut: new Date('2025-02-27'),
|
|
656
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
checkIn: new Date('2025-02-27'),
|
|
660
|
+
firstCheckOut: new Date('2025-02-28'),
|
|
661
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
checkIn: new Date('2025-02-28'),
|
|
665
|
+
firstCheckOut: new Date('2025-03-01'),
|
|
666
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
checkIn: new Date('2025-03-01'),
|
|
670
|
+
firstCheckOut: new Date('2025-03-02'),
|
|
671
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
checkIn: new Date('2025-03-02'),
|
|
675
|
+
firstCheckOut: new Date('2025-03-03'),
|
|
676
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
checkIn: new Date('2025-03-03'),
|
|
680
|
+
firstCheckOut: new Date('2025-03-04'),
|
|
681
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
checkIn: new Date('2025-03-04'),
|
|
685
|
+
firstCheckOut: new Date('2025-03-05'),
|
|
686
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
checkIn: new Date('2025-03-05'),
|
|
690
|
+
firstCheckOut: new Date('2025-03-06'),
|
|
691
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
checkIn: new Date('2025-03-06'),
|
|
695
|
+
firstCheckOut: new Date('2025-03-07'),
|
|
696
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
checkIn: new Date('2025-03-07'),
|
|
700
|
+
firstCheckOut: new Date('2025-03-08'),
|
|
701
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
checkIn: new Date('2025-03-08'),
|
|
705
|
+
firstCheckOut: new Date('2025-03-09'),
|
|
706
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
checkIn: new Date('2025-03-09'),
|
|
710
|
+
firstCheckOut: new Date('2025-03-10'),
|
|
711
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
checkIn: new Date('2025-03-10'),
|
|
715
|
+
firstCheckOut: new Date('2025-03-11'),
|
|
716
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
checkIn: new Date('2025-03-11'),
|
|
720
|
+
firstCheckOut: new Date('2025-03-12'),
|
|
721
|
+
lastCheckOut: new Date('2025-03-12'),
|
|
722
|
+
},
|
|
393
723
|
],
|
|
394
724
|
disabledDates: [
|
|
395
|
-
{
|
|
396
|
-
|
|
725
|
+
{
|
|
726
|
+
to: new Date('2024-10-14'),
|
|
727
|
+
from: new Date('2024-10-01'),
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
to: new Date('2024-11-22'),
|
|
731
|
+
from: new Date('2024-11-19'),
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
to: new Date('2024-11-27'),
|
|
735
|
+
from: new Date('2024-11-26'),
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
to: new Date('2025-03-31'),
|
|
739
|
+
from: new Date('2025-03-12'),
|
|
740
|
+
},
|
|
397
741
|
],
|
|
398
742
|
},
|
|
399
743
|
language: 'en',
|
|
@@ -455,8 +799,8 @@ export const DisabledRangeContextDates: Story = {
|
|
|
455
799
|
args: {
|
|
456
800
|
...baseData,
|
|
457
801
|
rangeContext: {
|
|
458
|
-
from: new Date('2024-11-
|
|
459
|
-
to: new Date('2024-11-
|
|
802
|
+
from: new Date('2024-11-26'),
|
|
803
|
+
to: new Date('2024-11-28'),
|
|
460
804
|
},
|
|
461
805
|
},
|
|
462
806
|
render: (args) => {
|
|
@@ -473,311 +817,3 @@ export const DisabledRangeContextDates: Story = {
|
|
|
473
817
|
)
|
|
474
818
|
},
|
|
475
819
|
}
|
|
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
|
-
// },
|