@react-aria/calendar 3.0.5 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1307 @@
1
+ import {announce as $amWdn$announce} from "@react-aria/live-announcer";
2
+ import {filterDOMProps as $amWdn$filterDOMProps, useUpdateEffect as $amWdn$useUpdateEffect, useSlotId as $amWdn$useSlotId, useLabels as $amWdn$useLabels, mergeProps as $amWdn$mergeProps, useEvent as $amWdn$useEvent, useDescription as $amWdn$useDescription, focusWithoutScrolling as $amWdn$focusWithoutScrolling, scrollIntoViewport as $amWdn$scrollIntoViewport, getScrollParent as $amWdn$getScrollParent} from "@react-aria/utils";
3
+ import {useLocalizedStringFormatter as $amWdn$useLocalizedStringFormatter, useDateFormatter as $amWdn$useDateFormatter, useLocale as $amWdn$useLocale} from "@react-aria/i18n";
4
+ import {useRef as $amWdn$useRef, useMemo as $amWdn$useMemo, useEffect as $amWdn$useEffect} from "react";
5
+ import {isSameDay as $amWdn$isSameDay, startOfMonth as $amWdn$startOfMonth, endOfMonth as $amWdn$endOfMonth, startOfWeek as $amWdn$startOfWeek, today as $amWdn$today, isEqualDay as $amWdn$isEqualDay, isToday as $amWdn$isToday} from "@internationalized/date";
6
+ import {usePress as $amWdn$usePress, getInteractionModality as $amWdn$getInteractionModality} from "@react-aria/interactions";
7
+
8
+ function $parcel$interopDefault(a) {
9
+ return a && a.__esModule ? a.default : a;
10
+ }
11
+ /*
12
+ * Copyright 2020 Adobe. All rights reserved.
13
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
14
+ * you may not use this file except in compliance with the License. You may obtain a copy
15
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
16
+ *
17
+ * Unless required by applicable law or agreed to in writing, software distributed under
18
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
19
+ * OF ANY KIND, either express or implied. See the License for the specific language
20
+ * governing permissions and limitations under the License.
21
+ */ /*
22
+ * Copyright 2020 Adobe. All rights reserved.
23
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
24
+ * you may not use this file except in compliance with the License. You may obtain a copy
25
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
26
+ *
27
+ * Unless required by applicable law or agreed to in writing, software distributed under
28
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
29
+ * OF ANY KIND, either express or implied. See the License for the specific language
30
+ * governing permissions and limitations under the License.
31
+ */ /*
32
+ * Copyright 2020 Adobe. All rights reserved.
33
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
34
+ * you may not use this file except in compliance with the License. You may obtain a copy
35
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
36
+ *
37
+ * Unless required by applicable law or agreed to in writing, software distributed under
38
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
39
+ * OF ANY KIND, either express or implied. See the License for the specific language
40
+ * governing permissions and limitations under the License.
41
+ */
42
+
43
+ /*
44
+ * Copyright 2020 Adobe. All rights reserved.
45
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
46
+ * you may not use this file except in compliance with the License. You may obtain a copy
47
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
48
+ *
49
+ * Unless required by applicable law or agreed to in writing, software distributed under
50
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
51
+ * OF ANY KIND, either express or implied. See the License for the specific language
52
+ * governing permissions and limitations under the License.
53
+ */
54
+ var $0fbdc3429b133a50$exports = {};
55
+ var $39324ace0d945f59$exports = {};
56
+ $39324ace0d945f59$exports = {
57
+ "dateRange": (args)=>`${args.startDate} إلى ${args.endDate}`,
58
+ "dateSelected": (args)=>`${args.date} المحدد`,
59
+ "finishRangeSelectionPrompt": `انقر لإنهاء عملية تحديد نطاق التاريخ`,
60
+ "maximumDate": `آخر تاريخ متاح`,
61
+ "minimumDate": `أول تاريخ متاح`,
62
+ "next": `التالي`,
63
+ "previous": `السابق`,
64
+ "selectedDateDescription": (args)=>`تاريخ محدد: ${args.date}`,
65
+ "selectedRangeDescription": (args)=>`المدى الزمني المحدد: ${args.dateRange}`,
66
+ "startRangeSelectionPrompt": `انقر لبدء عملية تحديد نطاق التاريخ`,
67
+ "todayDate": (args)=>`اليوم، ${args.date}`,
68
+ "todayDateSelected": (args)=>`اليوم، ${args.date} محدد`
69
+ };
70
+
71
+
72
+ var $1830a539e98c7baf$exports = {};
73
+ $1830a539e98c7baf$exports = {
74
+ "dateRange": (args)=>`${args.startDate} до ${args.endDate}`,
75
+ "dateSelected": (args)=>`Избрано е ${args.date}`,
76
+ "finishRangeSelectionPrompt": `Натиснете, за да довършите избора на времеви интервал`,
77
+ "maximumDate": `Последна налична дата`,
78
+ "minimumDate": `Първа налична дата`,
79
+ "next": `Напред`,
80
+ "previous": `Назад`,
81
+ "selectedDateDescription": (args)=>`Избрана дата: ${args.date}`,
82
+ "selectedRangeDescription": (args)=>`Избран диапазон: ${args.dateRange}`,
83
+ "startRangeSelectionPrompt": `Натиснете, за да пристъпите към избора на времеви интервал`,
84
+ "todayDate": (args)=>`Днес, ${args.date}`,
85
+ "todayDateSelected": (args)=>`Днес, ${args.date} са избрани`
86
+ };
87
+
88
+
89
+ var $f4b92528965aab97$exports = {};
90
+ $f4b92528965aab97$exports = {
91
+ "dateRange": (args)=>`${args.startDate} až ${args.endDate}`,
92
+ "dateSelected": (args)=>`Vybráno ${args.date}`,
93
+ "finishRangeSelectionPrompt": `Kliknutím dokončíte výběr rozsahu dat`,
94
+ "maximumDate": `Poslední dostupné datum`,
95
+ "minimumDate": `První dostupné datum`,
96
+ "next": `Další`,
97
+ "previous": `Předchozí`,
98
+ "selectedDateDescription": (args)=>`Vybrané datum: ${args.date}`,
99
+ "selectedRangeDescription": (args)=>`Vybrané období: ${args.dateRange}`,
100
+ "startRangeSelectionPrompt": `Kliknutím zahájíte výběr rozsahu dat`,
101
+ "todayDate": (args)=>`Dnes, ${args.date}`,
102
+ "todayDateSelected": (args)=>`Dnes, vybráno ${args.date}`
103
+ };
104
+
105
+
106
+ var $1cd578ef0547c8f1$exports = {};
107
+ $1cd578ef0547c8f1$exports = {
108
+ "dateRange": (args)=>`${args.startDate} til ${args.endDate}`,
109
+ "dateSelected": (args)=>`${args.date} valgt`,
110
+ "finishRangeSelectionPrompt": `Klik for at fuldføre valg af datoområde`,
111
+ "maximumDate": `Sidste ledige dato`,
112
+ "minimumDate": `Første ledige dato`,
113
+ "next": `Næste`,
114
+ "previous": `Forrige`,
115
+ "selectedDateDescription": (args)=>`Valgt dato: ${args.date}`,
116
+ "selectedRangeDescription": (args)=>`Valgt interval: ${args.dateRange}`,
117
+ "startRangeSelectionPrompt": `Klik for at starte valg af datoområde`,
118
+ "todayDate": (args)=>`I dag, ${args.date}`,
119
+ "todayDateSelected": (args)=>`I dag, ${args.date} valgt`
120
+ };
121
+
122
+
123
+ var $db55a8973925d619$exports = {};
124
+ $db55a8973925d619$exports = {
125
+ "dateRange": (args)=>`${args.startDate} bis ${args.endDate}`,
126
+ "dateSelected": (args)=>`${args.date} ausgewählt`,
127
+ "finishRangeSelectionPrompt": `Klicken, um die Auswahl des Datumsbereichs zu beenden`,
128
+ "maximumDate": `Letztes verfügbares Datum`,
129
+ "minimumDate": `Erstes verfügbares Datum`,
130
+ "next": `Weiter`,
131
+ "previous": `Zurück`,
132
+ "selectedDateDescription": (args)=>`Ausgewähltes Datum: ${args.date}`,
133
+ "selectedRangeDescription": (args)=>`Ausgewählter Bereich: ${args.dateRange}`,
134
+ "startRangeSelectionPrompt": `Klicken, um die Auswahl des Datumsbereichs zu beginnen`,
135
+ "todayDate": (args)=>`Heute, ${args.date}`,
136
+ "todayDateSelected": (args)=>`Heute, ${args.date} ausgewählt`
137
+ };
138
+
139
+
140
+ var $ec6937d58566d443$exports = {};
141
+ $ec6937d58566d443$exports = {
142
+ "dateRange": (args)=>`${args.startDate} έως ${args.endDate}`,
143
+ "dateSelected": (args)=>`Επιλέχθηκε ${args.date}`,
144
+ "finishRangeSelectionPrompt": `Κάντε κλικ για να ολοκληρώσετε την επιλογή εύρους ημερομηνιών`,
145
+ "maximumDate": `Τελευταία διαθέσιμη ημερομηνία`,
146
+ "minimumDate": `Πρώτη διαθέσιμη ημερομηνία`,
147
+ "next": `Επόμενο`,
148
+ "previous": `Προηγούμενο`,
149
+ "selectedDateDescription": (args)=>`Επιλεγμένη ημερομηνία: ${args.date}`,
150
+ "selectedRangeDescription": (args)=>`Επιλεγμένο εύρος: ${args.dateRange}`,
151
+ "startRangeSelectionPrompt": `Κάντε κλικ για να ξεκινήσετε την επιλογή εύρους ημερομηνιών`,
152
+ "todayDate": (args)=>`Σήμερα, ${args.date}`,
153
+ "todayDateSelected": (args)=>`Σήμερα, επιλέχτηκε ${args.date}`
154
+ };
155
+
156
+
157
+ var $1f5cea0742dc284a$exports = {};
158
+ $1f5cea0742dc284a$exports = {
159
+ "previous": `Previous`,
160
+ "next": `Next`,
161
+ "selectedDateDescription": (args)=>`Selected Date: ${args.date}`,
162
+ "selectedRangeDescription": (args)=>`Selected Range: ${args.dateRange}`,
163
+ "todayDate": (args)=>`Today, ${args.date}`,
164
+ "todayDateSelected": (args)=>`Today, ${args.date} selected`,
165
+ "dateSelected": (args)=>`${args.date} selected`,
166
+ "startRangeSelectionPrompt": `Click to start selecting date range`,
167
+ "finishRangeSelectionPrompt": `Click to finish selecting date range`,
168
+ "minimumDate": `First available date`,
169
+ "maximumDate": `Last available date`,
170
+ "dateRange": (args)=>`${args.startDate} to ${args.endDate}`
171
+ };
172
+
173
+
174
+ var $2ca7ea366384817b$exports = {};
175
+ $2ca7ea366384817b$exports = {
176
+ "dateRange": (args)=>`${args.startDate} a ${args.endDate}`,
177
+ "dateSelected": (args)=>`${args.date} seleccionado`,
178
+ "finishRangeSelectionPrompt": `Haga clic para terminar de seleccionar rango de fechas`,
179
+ "maximumDate": `Última fecha disponible`,
180
+ "minimumDate": `Primera fecha disponible`,
181
+ "next": `Siguiente`,
182
+ "previous": `Anterior`,
183
+ "selectedDateDescription": (args)=>`Fecha seleccionada: ${args.date}`,
184
+ "selectedRangeDescription": (args)=>`Intervalo seleccionado: ${args.dateRange}`,
185
+ "startRangeSelectionPrompt": `Haga clic para comenzar a seleccionar un rango de fechas`,
186
+ "todayDate": (args)=>`Hoy, ${args.date}`,
187
+ "todayDateSelected": (args)=>`Hoy, ${args.date} seleccionado`
188
+ };
189
+
190
+
191
+ var $97874a7fe9cd091f$exports = {};
192
+ $97874a7fe9cd091f$exports = {
193
+ "dateRange": (args)=>`${args.startDate} kuni ${args.endDate}`,
194
+ "dateSelected": (args)=>`${args.date} valitud`,
195
+ "finishRangeSelectionPrompt": `Klõpsake kuupäevavahemiku valimise lõpetamiseks`,
196
+ "maximumDate": `Viimane saadaolev kuupäev`,
197
+ "minimumDate": `Esimene saadaolev kuupäev`,
198
+ "next": `Järgmine`,
199
+ "previous": `Eelmine`,
200
+ "selectedDateDescription": (args)=>`Valitud kuupäev: ${args.date}`,
201
+ "selectedRangeDescription": (args)=>`Valitud vahemik: ${args.dateRange}`,
202
+ "startRangeSelectionPrompt": `Klõpsake kuupäevavahemiku valimiseks`,
203
+ "todayDate": (args)=>`Täna, ${args.date}`,
204
+ "todayDateSelected": (args)=>`Täna, ${args.date} valitud`
205
+ };
206
+
207
+
208
+ var $5d376b7fce1a45b2$exports = {};
209
+ $5d376b7fce1a45b2$exports = {
210
+ "dateRange": (args)=>`${args.startDate} – ${args.endDate}`,
211
+ "dateSelected": (args)=>`${args.date} valittu`,
212
+ "finishRangeSelectionPrompt": `Lopeta päivämääräalueen valinta napsauttamalla tätä.`,
213
+ "maximumDate": `Viimeinen varattavissa oleva päivämäärä`,
214
+ "minimumDate": `Ensimmäinen varattavissa oleva päivämäärä`,
215
+ "next": `Seuraava`,
216
+ "previous": `Edellinen`,
217
+ "selectedDateDescription": (args)=>`Valittu päivämäärä: ${args.date}`,
218
+ "selectedRangeDescription": (args)=>`Valittu aikaväli: ${args.dateRange}`,
219
+ "startRangeSelectionPrompt": `Aloita päivämääräalueen valinta napsauttamalla tätä.`,
220
+ "todayDate": (args)=>`Tänään, ${args.date}`,
221
+ "todayDateSelected": (args)=>`Tänään, ${args.date} valittu`
222
+ };
223
+
224
+
225
+ var $3bf722b362aaf54d$exports = {};
226
+ $3bf722b362aaf54d$exports = {
227
+ "dateRange": (args)=>`${args.startDate} à ${args.endDate}`,
228
+ "dateSelected": (args)=>`${args.date} sélectionné`,
229
+ "finishRangeSelectionPrompt": `Cliquer pour finir de sélectionner la plage de dates`,
230
+ "maximumDate": `Dernière date disponible`,
231
+ "minimumDate": `Première date disponible`,
232
+ "next": `Suivant`,
233
+ "previous": `Précédent`,
234
+ "selectedDateDescription": (args)=>`Date sélectionnée : ${args.date}`,
235
+ "selectedRangeDescription": (args)=>`Plage sélectionnée : ${args.dateRange}`,
236
+ "startRangeSelectionPrompt": `Cliquer pour commencer à sélectionner la plage de dates`,
237
+ "todayDate": (args)=>`Aujourd'hui, ${args.date}`,
238
+ "todayDateSelected": (args)=>`Aujourd’hui, ${args.date} sélectionné`
239
+ };
240
+
241
+
242
+ var $38c43f8322316031$exports = {};
243
+ $38c43f8322316031$exports = {
244
+ "dateRange": (args)=>`${args.startDate} עד ${args.endDate}`,
245
+ "dateSelected": (args)=>`${args.date} נבחר`,
246
+ "finishRangeSelectionPrompt": `חץ כדי לסיים את בחירת טווח התאריכים`,
247
+ "maximumDate": `תאריך פנוי אחרון`,
248
+ "minimumDate": `תאריך פנוי ראשון`,
249
+ "next": `הבא`,
250
+ "previous": `הקודם`,
251
+ "selectedDateDescription": (args)=>`תאריך נבחר: ${args.date}`,
252
+ "selectedRangeDescription": (args)=>`טווח נבחר: ${args.dateRange}`,
253
+ "startRangeSelectionPrompt": `לחץ כדי להתחיל בבחירת טווח התאריכים`,
254
+ "todayDate": (args)=>`היום, ${args.date}`,
255
+ "todayDateSelected": (args)=>`היום, ${args.date} נבחר`
256
+ };
257
+
258
+
259
+ var $c90e0f32b44630bf$exports = {};
260
+ $c90e0f32b44630bf$exports = {
261
+ "dateRange": (args)=>`${args.startDate} do ${args.endDate}`,
262
+ "dateSelected": (args)=>`${args.date} odabran`,
263
+ "finishRangeSelectionPrompt": `Kliknite da dovršite raspon odabranih datuma`,
264
+ "maximumDate": `Posljednji raspoloživi datum`,
265
+ "minimumDate": `Prvi raspoloživi datum`,
266
+ "next": `Sljedeći`,
267
+ "previous": `Prethodni`,
268
+ "selectedDateDescription": (args)=>`Odabrani datum: ${args.date}`,
269
+ "selectedRangeDescription": (args)=>`Odabrani raspon: ${args.dateRange}`,
270
+ "startRangeSelectionPrompt": `Kliknite da započnete raspon odabranih datuma`,
271
+ "todayDate": (args)=>`Danas, ${args.date}`,
272
+ "todayDateSelected": (args)=>`Danas, odabran ${args.date}`
273
+ };
274
+
275
+
276
+ var $715875e6e7a338f4$exports = {};
277
+ $715875e6e7a338f4$exports = {
278
+ "dateRange": (args)=>`${args.startDate}–${args.endDate}`,
279
+ "dateSelected": (args)=>`${args.date} kiválasztva`,
280
+ "finishRangeSelectionPrompt": `Kattintson a dátumtartomány kijelölésének befejezéséhez`,
281
+ "maximumDate": `Utolsó elérhető dátum`,
282
+ "minimumDate": `Az első elérhető dátum`,
283
+ "next": `Következő`,
284
+ "previous": `Előző`,
285
+ "selectedDateDescription": (args)=>`Kijelölt dátum: ${args.date}`,
286
+ "selectedRangeDescription": (args)=>`Kijelölt tartomány: ${args.dateRange}`,
287
+ "startRangeSelectionPrompt": `Kattintson a dátumtartomány kijelölésének indításához`,
288
+ "todayDate": (args)=>`Ma, ${args.date}`,
289
+ "todayDateSelected": (args)=>`Ma, ${args.date} kijelölve`
290
+ };
291
+
292
+
293
+ var $37d77c66e34daccf$exports = {};
294
+ $37d77c66e34daccf$exports = {
295
+ "dateRange": (args)=>`Da ${args.startDate} a ${args.endDate}`,
296
+ "dateSelected": (args)=>`${args.date} selezionata`,
297
+ "finishRangeSelectionPrompt": `Fai clic per completare la selezione dell’intervallo di date`,
298
+ "maximumDate": `Ultima data disponibile`,
299
+ "minimumDate": `Prima data disponibile`,
300
+ "next": `Successivo`,
301
+ "previous": `Precedente`,
302
+ "selectedDateDescription": (args)=>`Data selezionata: ${args.date}`,
303
+ "selectedRangeDescription": (args)=>`Intervallo selezionato: ${args.dateRange}`,
304
+ "startRangeSelectionPrompt": `Fai clic per selezionare l’intervallo di date`,
305
+ "todayDate": (args)=>`Oggi, ${args.date}`,
306
+ "todayDateSelected": (args)=>`Oggi, ${args.date} selezionata`
307
+ };
308
+
309
+
310
+ var $542f39aee29303c3$exports = {};
311
+ $542f39aee29303c3$exports = {
312
+ "dateRange": (args)=>`${args.startDate} から ${args.endDate}`,
313
+ "dateSelected": (args)=>`${args.date} を選択`,
314
+ "finishRangeSelectionPrompt": `クリックして日付範囲の選択を終了`,
315
+ "maximumDate": `最終利用可能日`,
316
+ "minimumDate": `最初の利用可能日`,
317
+ "next": `次へ`,
318
+ "previous": `前へ`,
319
+ "selectedDateDescription": (args)=>`選択した日付 : ${args.date}`,
320
+ "selectedRangeDescription": (args)=>`選択範囲 : ${args.dateRange}`,
321
+ "startRangeSelectionPrompt": `クリックして日付範囲の選択を開始`,
322
+ "todayDate": (args)=>`本日、${args.date}`,
323
+ "todayDateSelected": (args)=>`本日、${args.date} を選択`
324
+ };
325
+
326
+
327
+ var $22a5f0623ea73e4f$exports = {};
328
+ $22a5f0623ea73e4f$exports = {
329
+ "dateRange": (args)=>`${args.startDate} ~ ${args.endDate}`,
330
+ "dateSelected": (args)=>`${args.date} 선택됨`,
331
+ "finishRangeSelectionPrompt": `날짜 범위 선택을 완료하려면 클릭하십시오.`,
332
+ "maximumDate": `마지막으로 사용 가능한 일자`,
333
+ "minimumDate": `처음으로 사용 가능한 일자`,
334
+ "next": `다음`,
335
+ "previous": `이전`,
336
+ "selectedDateDescription": (args)=>`선택 일자: ${args.date}`,
337
+ "selectedRangeDescription": (args)=>`선택 범위: ${args.dateRange}`,
338
+ "startRangeSelectionPrompt": `날짜 범위 선택을 시작하려면 클릭하십시오.`,
339
+ "todayDate": (args)=>`오늘, ${args.date}`,
340
+ "todayDateSelected": (args)=>`오늘, ${args.date} 선택됨`
341
+ };
342
+
343
+
344
+ var $522380d13d62cba0$exports = {};
345
+ $522380d13d62cba0$exports = {
346
+ "dateRange": (args)=>`Nuo ${args.startDate} iki ${args.endDate}`,
347
+ "dateSelected": (args)=>`Pasirinkta ${args.date}`,
348
+ "finishRangeSelectionPrompt": `Spustelėkite, kad baigtumėte pasirinkti datų intervalą`,
349
+ "maximumDate": `Paskutinė galima data`,
350
+ "minimumDate": `Pirmoji galima data`,
351
+ "next": `Paskesnis`,
352
+ "previous": `Ankstesnis`,
353
+ "selectedDateDescription": (args)=>`Pasirinkta data: ${args.date}`,
354
+ "selectedRangeDescription": (args)=>`Pasirinktas intervalas: ${args.dateRange}`,
355
+ "startRangeSelectionPrompt": `Spustelėkite, kad pradėtumėte pasirinkti datų intervalą`,
356
+ "todayDate": (args)=>`Šiandien, ${args.date}`,
357
+ "todayDateSelected": (args)=>`Šiandien, pasirinkta ${args.date}`
358
+ };
359
+
360
+
361
+ var $8a7bc830b2fe6485$exports = {};
362
+ $8a7bc830b2fe6485$exports = {
363
+ "dateRange": (args)=>`No ${args.startDate} līdz ${args.endDate}`,
364
+ "dateSelected": (args)=>`Atlasīts: ${args.date}`,
365
+ "finishRangeSelectionPrompt": `Noklikšķiniet, lai pabeigtu datumu diapazona atlasi`,
366
+ "maximumDate": `Pēdējais pieejamais datums`,
367
+ "minimumDate": `Pirmais pieejamais datums`,
368
+ "next": `Tālāk`,
369
+ "previous": `Atpakaļ`,
370
+ "selectedDateDescription": (args)=>`Atlasītais datums: ${args.date}`,
371
+ "selectedRangeDescription": (args)=>`Atlasītais diapazons: ${args.dateRange}`,
372
+ "startRangeSelectionPrompt": `Noklikšķiniet, lai sāktu datumu diapazona atlasi`,
373
+ "todayDate": (args)=>`Šodien, ${args.date}`,
374
+ "todayDateSelected": (args)=>`Atlasīta šodiena, ${args.date}`
375
+ };
376
+
377
+
378
+ var $9fac9c044470683b$exports = {};
379
+ $9fac9c044470683b$exports = {
380
+ "dateRange": (args)=>`${args.startDate} til ${args.endDate}`,
381
+ "dateSelected": (args)=>`${args.date} valgt`,
382
+ "finishRangeSelectionPrompt": `Klikk for å fullføre valg av datoområde`,
383
+ "maximumDate": `Siste tilgjengelige dato`,
384
+ "minimumDate": `Første tilgjengelige dato`,
385
+ "next": `Neste`,
386
+ "previous": `Forrige`,
387
+ "selectedDateDescription": (args)=>`Valgt dato: ${args.date}`,
388
+ "selectedRangeDescription": (args)=>`Valgt område: ${args.dateRange}`,
389
+ "startRangeSelectionPrompt": `Klikk for å starte valg av datoområde`,
390
+ "todayDate": (args)=>`I dag, ${args.date}`,
391
+ "todayDateSelected": (args)=>`I dag, ${args.date} valgt`
392
+ };
393
+
394
+
395
+ var $b127d3569efb1449$exports = {};
396
+ $b127d3569efb1449$exports = {
397
+ "dateRange": (args)=>`${args.startDate} tot ${args.endDate}`,
398
+ "dateSelected": (args)=>`${args.date} geselecteerd`,
399
+ "finishRangeSelectionPrompt": `Klik om de selectie van het datumbereik te voltooien`,
400
+ "maximumDate": `Laatste beschikbare datum`,
401
+ "minimumDate": `Eerste beschikbare datum`,
402
+ "next": `Volgende`,
403
+ "previous": `Vorige`,
404
+ "selectedDateDescription": (args)=>`Geselecteerde datum: ${args.date}`,
405
+ "selectedRangeDescription": (args)=>`Geselecteerd bereik: ${args.dateRange}`,
406
+ "startRangeSelectionPrompt": `Klik om het datumbereik te selecteren`,
407
+ "todayDate": (args)=>`Vandaag, ${args.date}`,
408
+ "todayDateSelected": (args)=>`Vandaag, ${args.date} geselecteerd`
409
+ };
410
+
411
+
412
+ var $51404a4090633490$exports = {};
413
+ $51404a4090633490$exports = {
414
+ "dateRange": (args)=>`${args.startDate} do ${args.endDate}`,
415
+ "dateSelected": (args)=>`Wybrano ${args.date}`,
416
+ "finishRangeSelectionPrompt": `Kliknij, aby zakończyć wybór zakresu dat`,
417
+ "maximumDate": `Ostatnia dostępna data`,
418
+ "minimumDate": `Pierwsza dostępna data`,
419
+ "next": `Dalej`,
420
+ "previous": `Wstecz`,
421
+ "selectedDateDescription": (args)=>`Wybrana data: ${args.date}`,
422
+ "selectedRangeDescription": (args)=>`Wybrany zakres: ${args.dateRange}`,
423
+ "startRangeSelectionPrompt": `Kliknij, aby rozpocząć wybór zakresu dat`,
424
+ "todayDate": (args)=>`Dzisiaj, ${args.date}`,
425
+ "todayDateSelected": (args)=>`Dzisiaj wybrano ${args.date}`
426
+ };
427
+
428
+
429
+ var $e5e6a3fe3b4527df$exports = {};
430
+ $e5e6a3fe3b4527df$exports = {
431
+ "dateRange": (args)=>`${args.startDate} a ${args.endDate}`,
432
+ "dateSelected": (args)=>`${args.date} selecionado`,
433
+ "finishRangeSelectionPrompt": `Clique para concluir a seleção do intervalo de datas`,
434
+ "maximumDate": `Última data disponível`,
435
+ "minimumDate": `Primeira data disponível`,
436
+ "next": `Próximo`,
437
+ "previous": `Anterior`,
438
+ "selectedDateDescription": (args)=>`Data selecionada: ${args.date}`,
439
+ "selectedRangeDescription": (args)=>`Intervalo selecionado: ${args.dateRange}`,
440
+ "startRangeSelectionPrompt": `Clique para iniciar a seleção do intervalo de datas`,
441
+ "todayDate": (args)=>`Hoje, ${args.date}`,
442
+ "todayDateSelected": (args)=>`Hoje, ${args.date} selecionado`
443
+ };
444
+
445
+
446
+ var $c519dcadcbb1ee47$exports = {};
447
+ $c519dcadcbb1ee47$exports = {
448
+ "dateRange": (args)=>`${args.startDate} a ${args.endDate}`,
449
+ "dateSelected": (args)=>`${args.date} selecionado`,
450
+ "finishRangeSelectionPrompt": `Clique para terminar de selecionar o intervalo de datas`,
451
+ "maximumDate": `Última data disponível`,
452
+ "minimumDate": `Primeira data disponível`,
453
+ "next": `Próximo`,
454
+ "previous": `Anterior`,
455
+ "selectedDateDescription": (args)=>`Data selecionada: ${args.date}`,
456
+ "selectedRangeDescription": (args)=>`Intervalo selecionado: ${args.dateRange}`,
457
+ "startRangeSelectionPrompt": `Clique para começar a selecionar o intervalo de datas`,
458
+ "todayDate": (args)=>`Hoje, ${args.date}`,
459
+ "todayDateSelected": (args)=>`Hoje, ${args.date} selecionado`
460
+ };
461
+
462
+
463
+ var $e5aa0186ca7889c6$exports = {};
464
+ $e5aa0186ca7889c6$exports = {
465
+ "dateRange": (args)=>`De la ${args.startDate} până la ${args.endDate}`,
466
+ "dateSelected": (args)=>`${args.date} selectată`,
467
+ "finishRangeSelectionPrompt": `Apăsaţi pentru a finaliza selecţia razei pentru dată`,
468
+ "maximumDate": `Ultima dată disponibilă`,
469
+ "minimumDate": `Prima dată disponibilă`,
470
+ "next": `Următorul`,
471
+ "previous": `Înainte`,
472
+ "selectedDateDescription": (args)=>`Dată selectată: ${args.date}`,
473
+ "selectedRangeDescription": (args)=>`Interval selectat: ${args.dateRange}`,
474
+ "startRangeSelectionPrompt": `Apăsaţi pentru a începe selecţia razei pentru dată`,
475
+ "todayDate": (args)=>`Astăzi, ${args.date}`,
476
+ "todayDateSelected": (args)=>`Azi, ${args.date} selectată`
477
+ };
478
+
479
+
480
+ var $5b907f5fa3eee652$exports = {};
481
+ $5b907f5fa3eee652$exports = {
482
+ "dateRange": (args)=>`С ${args.startDate} по ${args.endDate}`,
483
+ "dateSelected": (args)=>`Выбрано ${args.date}`,
484
+ "finishRangeSelectionPrompt": `Щелкните, чтобы завершить выбор диапазона дат`,
485
+ "maximumDate": `Последняя доступная дата`,
486
+ "minimumDate": `Первая доступная дата`,
487
+ "next": `Далее`,
488
+ "previous": `Назад`,
489
+ "selectedDateDescription": (args)=>`Выбранная дата: ${args.date}`,
490
+ "selectedRangeDescription": (args)=>`Выбранный диапазон: ${args.dateRange}`,
491
+ "startRangeSelectionPrompt": `Щелкните, чтобы начать выбор диапазона дат`,
492
+ "todayDate": (args)=>`Сегодня, ${args.date}`,
493
+ "todayDateSelected": (args)=>`Сегодня, выбрано ${args.date}`
494
+ };
495
+
496
+
497
+ var $1b4c51359c99cf79$exports = {};
498
+ $1b4c51359c99cf79$exports = {
499
+ "dateRange": (args)=>`Od ${args.startDate} do ${args.endDate}`,
500
+ "dateSelected": (args)=>`Vybratý dátum ${args.date}`,
501
+ "finishRangeSelectionPrompt": `Kliknutím dokončíte výber rozsahu dátumov`,
502
+ "maximumDate": `Posledný dostupný dátum`,
503
+ "minimumDate": `Prvý dostupný dátum`,
504
+ "next": `Nasledujúce`,
505
+ "previous": `Predchádzajúce`,
506
+ "selectedDateDescription": (args)=>`Vybratý dátum: ${args.date}`,
507
+ "selectedRangeDescription": (args)=>`Vybratý rozsah: ${args.dateRange}`,
508
+ "startRangeSelectionPrompt": `Kliknutím spustíte výber rozsahu dátumov`,
509
+ "todayDate": (args)=>`Dnes ${args.date}`,
510
+ "todayDateSelected": (args)=>`Vybratý dnešný dátum ${args.date}`
511
+ };
512
+
513
+
514
+ var $02e4e6a4608cc6f3$exports = {};
515
+ $02e4e6a4608cc6f3$exports = {
516
+ "dateRange": (args)=>`${args.startDate} do ${args.endDate}`,
517
+ "dateSelected": (args)=>`${args.date} izbrano`,
518
+ "finishRangeSelectionPrompt": `Kliknite za dokončanje izbire datumskega obsega`,
519
+ "maximumDate": `Zadnji razpoložljivi datum`,
520
+ "minimumDate": `Prvi razpoložljivi datum`,
521
+ "next": `Naprej`,
522
+ "previous": `Nazaj`,
523
+ "selectedDateDescription": (args)=>`Izbrani datum: ${args.date}`,
524
+ "selectedRangeDescription": (args)=>`Izbrano območje: ${args.dateRange}`,
525
+ "startRangeSelectionPrompt": `Kliknite za začetek izbire datumskega obsega`,
526
+ "todayDate": (args)=>`Danes, ${args.date}`,
527
+ "todayDateSelected": (args)=>`Danes, ${args.date} izbrano`
528
+ };
529
+
530
+
531
+ var $6dd2fbaad93b6878$exports = {};
532
+ $6dd2fbaad93b6878$exports = {
533
+ "dateRange": (args)=>`${args.startDate} do ${args.endDate}`,
534
+ "dateSelected": (args)=>`${args.date} izabran`,
535
+ "finishRangeSelectionPrompt": `Kliknite da dovršite opseg izabranih datuma`,
536
+ "maximumDate": `Zadnji raspoloživi datum`,
537
+ "minimumDate": `Prvi raspoloživi datum`,
538
+ "next": `Sledeći`,
539
+ "previous": `Prethodni`,
540
+ "selectedDateDescription": (args)=>`Izabrani datum: ${args.date}`,
541
+ "selectedRangeDescription": (args)=>`Izabrani period: ${args.dateRange}`,
542
+ "startRangeSelectionPrompt": `Kliknite da započnete opseg izabranih datuma`,
543
+ "todayDate": (args)=>`Danas, ${args.date}`,
544
+ "todayDateSelected": (args)=>`Danas, izabran ${args.date}`
545
+ };
546
+
547
+
548
+ var $33ea59bfe6e804e0$exports = {};
549
+ $33ea59bfe6e804e0$exports = {
550
+ "dateRange": (args)=>`${args.startDate} till ${args.endDate}`,
551
+ "dateSelected": (args)=>`${args.date} har valts`,
552
+ "finishRangeSelectionPrompt": `Klicka för att avsluta val av datumintervall`,
553
+ "maximumDate": `Sista tillgängliga datum`,
554
+ "minimumDate": `Första tillgängliga datum`,
555
+ "next": `Nästa`,
556
+ "previous": `Föregående`,
557
+ "selectedDateDescription": (args)=>`Valt datum: ${args.date}`,
558
+ "selectedRangeDescription": (args)=>`Valt intervall: ${args.dateRange}`,
559
+ "startRangeSelectionPrompt": `Klicka för att välja datumintervall`,
560
+ "todayDate": (args)=>`Idag, ${args.date}`,
561
+ "todayDateSelected": (args)=>`Idag, ${args.date} har valts`
562
+ };
563
+
564
+
565
+ var $4603b0d0246969b2$exports = {};
566
+ $4603b0d0246969b2$exports = {
567
+ "dateRange": (args)=>`${args.startDate} - ${args.endDate}`,
568
+ "dateSelected": (args)=>`${args.date} seçildi`,
569
+ "finishRangeSelectionPrompt": `Tarih aralığı seçimini tamamlamak için tıklayın`,
570
+ "maximumDate": `Son müsait tarih`,
571
+ "minimumDate": `İlk müsait tarih`,
572
+ "next": `Sonraki`,
573
+ "previous": `Önceki`,
574
+ "selectedDateDescription": (args)=>`Seçilen Tarih: ${args.date}`,
575
+ "selectedRangeDescription": (args)=>`Seçilen Aralık: ${args.dateRange}`,
576
+ "startRangeSelectionPrompt": `Tarih aralığı seçimini başlatmak için tıklayın`,
577
+ "todayDate": (args)=>`Bugün, ${args.date}`,
578
+ "todayDateSelected": (args)=>`Bugün, ${args.date} seçildi`
579
+ };
580
+
581
+
582
+ var $82649816f530bb1b$exports = {};
583
+ $82649816f530bb1b$exports = {
584
+ "dateRange": (args)=>`${args.startDate} — ${args.endDate}`,
585
+ "dateSelected": (args)=>`Вибрано ${args.date}`,
586
+ "finishRangeSelectionPrompt": `Натисніть, щоб завершити вибір діапазону дат`,
587
+ "maximumDate": `Остання доступна дата`,
588
+ "minimumDate": `Перша доступна дата`,
589
+ "next": `Наступний`,
590
+ "previous": `Попередній`,
591
+ "selectedDateDescription": (args)=>`Вибрана дата: ${args.date}`,
592
+ "selectedRangeDescription": (args)=>`Вибраний діапазон: ${args.dateRange}`,
593
+ "startRangeSelectionPrompt": `Натисніть, щоб почати вибір діапазону дат`,
594
+ "todayDate": (args)=>`Сьогодні, ${args.date}`,
595
+ "todayDateSelected": (args)=>`Сьогодні, вибрано ${args.date}`
596
+ };
597
+
598
+
599
+ var $628e140a43dfb330$exports = {};
600
+ $628e140a43dfb330$exports = {
601
+ "dateRange": (args)=>`${args.startDate} 至 ${args.endDate}`,
602
+ "dateSelected": (args)=>`已选定 ${args.date}`,
603
+ "finishRangeSelectionPrompt": `单击以完成选择日期范围`,
604
+ "maximumDate": `最后一个可用日期`,
605
+ "minimumDate": `第一个可用日期`,
606
+ "next": `下一页`,
607
+ "previous": `上一页`,
608
+ "selectedDateDescription": (args)=>`选定的日期:${args.date}`,
609
+ "selectedRangeDescription": (args)=>`选定的范围:${args.dateRange}`,
610
+ "startRangeSelectionPrompt": `单击以开始选择日期范围`,
611
+ "todayDate": (args)=>`今天,即 ${args.date}`,
612
+ "todayDateSelected": (args)=>`已选定今天,即 ${args.date}`
613
+ };
614
+
615
+
616
+ var $745937250cd4679c$exports = {};
617
+ $745937250cd4679c$exports = {
618
+ "dateRange": (args)=>`${args.startDate} 至 ${args.endDate}`,
619
+ "dateSelected": (args)=>`已選取 ${args.date}`,
620
+ "finishRangeSelectionPrompt": `按一下以完成選取日期範圍`,
621
+ "maximumDate": `最後一個可用日期`,
622
+ "minimumDate": `第一個可用日期`,
623
+ "next": `下一頁`,
624
+ "previous": `上一頁`,
625
+ "selectedDateDescription": (args)=>`選定的日期:${args.date}`,
626
+ "selectedRangeDescription": (args)=>`選定的範圍:${args.dateRange}`,
627
+ "startRangeSelectionPrompt": `按一下以開始選取日期範圍`,
628
+ "todayDate": (args)=>`今天,${args.date}`,
629
+ "todayDateSelected": (args)=>`已選取今天,${args.date}`
630
+ };
631
+
632
+
633
+ $0fbdc3429b133a50$exports = {
634
+ "ar-AE": $39324ace0d945f59$exports,
635
+ "bg-BG": $1830a539e98c7baf$exports,
636
+ "cs-CZ": $f4b92528965aab97$exports,
637
+ "da-DK": $1cd578ef0547c8f1$exports,
638
+ "de-DE": $db55a8973925d619$exports,
639
+ "el-GR": $ec6937d58566d443$exports,
640
+ "en-US": $1f5cea0742dc284a$exports,
641
+ "es-ES": $2ca7ea366384817b$exports,
642
+ "et-EE": $97874a7fe9cd091f$exports,
643
+ "fi-FI": $5d376b7fce1a45b2$exports,
644
+ "fr-FR": $3bf722b362aaf54d$exports,
645
+ "he-IL": $38c43f8322316031$exports,
646
+ "hr-HR": $c90e0f32b44630bf$exports,
647
+ "hu-HU": $715875e6e7a338f4$exports,
648
+ "it-IT": $37d77c66e34daccf$exports,
649
+ "ja-JP": $542f39aee29303c3$exports,
650
+ "ko-KR": $22a5f0623ea73e4f$exports,
651
+ "lt-LT": $522380d13d62cba0$exports,
652
+ "lv-LV": $8a7bc830b2fe6485$exports,
653
+ "nb-NO": $9fac9c044470683b$exports,
654
+ "nl-NL": $b127d3569efb1449$exports,
655
+ "pl-PL": $51404a4090633490$exports,
656
+ "pt-BR": $e5e6a3fe3b4527df$exports,
657
+ "pt-PT": $c519dcadcbb1ee47$exports,
658
+ "ro-RO": $e5aa0186ca7889c6$exports,
659
+ "ru-RU": $5b907f5fa3eee652$exports,
660
+ "sk-SK": $1b4c51359c99cf79$exports,
661
+ "sl-SI": $02e4e6a4608cc6f3$exports,
662
+ "sr-SP": $6dd2fbaad93b6878$exports,
663
+ "sv-SE": $33ea59bfe6e804e0$exports,
664
+ "tr-TR": $4603b0d0246969b2$exports,
665
+ "uk-UA": $82649816f530bb1b$exports,
666
+ "zh-CN": $628e140a43dfb330$exports,
667
+ "zh-TW": $745937250cd4679c$exports
668
+ };
669
+
670
+
671
+
672
+
673
+ const $a074e1e2d0f0a665$export$653eddfc964b0f8a = new WeakMap();
674
+ function $a074e1e2d0f0a665$export$134cbb7fb09a9522(date) {
675
+ return (date === null || date === void 0 ? void 0 : date.calendar.identifier) === "gregory" && date.era === "BC" ? "short" : undefined;
676
+ }
677
+ function $a074e1e2d0f0a665$export$b6df97c887c38e1a(state) {
678
+ let stringFormatter = (0, $amWdn$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($0fbdc3429b133a50$exports))));
679
+ let start, end;
680
+ if ("highlightedRange" in state) ({ start: start , end: end } = state.highlightedRange || {});
681
+ else start = end = state.value;
682
+ let dateFormatter = (0, $amWdn$useDateFormatter)({
683
+ weekday: "long",
684
+ month: "long",
685
+ year: "numeric",
686
+ day: "numeric",
687
+ era: $a074e1e2d0f0a665$export$134cbb7fb09a9522(start) || $a074e1e2d0f0a665$export$134cbb7fb09a9522(end),
688
+ timeZone: state.timeZone
689
+ });
690
+ let anchorDate = "anchorDate" in state ? state.anchorDate : null;
691
+ return (0, $amWdn$useMemo)(()=>{
692
+ // No message if currently selecting a range, or there is nothing highlighted.
693
+ if (!anchorDate && start && end) {
694
+ // Use a single date message if the start and end dates are the same day,
695
+ // otherwise include both dates.
696
+ if ((0, $amWdn$isSameDay)(start, end)) {
697
+ let date = dateFormatter.format(start.toDate(state.timeZone));
698
+ return stringFormatter.format("selectedDateDescription", {
699
+ date: date
700
+ });
701
+ } else {
702
+ let dateRange = $a074e1e2d0f0a665$var$formatRange(dateFormatter, stringFormatter, start, end, state.timeZone);
703
+ return stringFormatter.format("selectedRangeDescription", {
704
+ dateRange: dateRange
705
+ });
706
+ }
707
+ }
708
+ return "";
709
+ }, [
710
+ start,
711
+ end,
712
+ anchorDate,
713
+ state.timeZone,
714
+ stringFormatter,
715
+ dateFormatter
716
+ ]);
717
+ }
718
+ function $a074e1e2d0f0a665$export$31afe65d91ef6e8(startDate, endDate, timeZone, isAria) {
719
+ let stringFormatter = (0, $amWdn$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($0fbdc3429b133a50$exports))));
720
+ let era = $a074e1e2d0f0a665$export$134cbb7fb09a9522(startDate) || $a074e1e2d0f0a665$export$134cbb7fb09a9522(endDate);
721
+ let monthFormatter = (0, $amWdn$useDateFormatter)({
722
+ month: "long",
723
+ year: "numeric",
724
+ era: era,
725
+ calendar: startDate.calendar.identifier,
726
+ timeZone: timeZone
727
+ });
728
+ let dateFormatter = (0, $amWdn$useDateFormatter)({
729
+ month: "long",
730
+ year: "numeric",
731
+ day: "numeric",
732
+ era: era,
733
+ calendar: startDate.calendar.identifier,
734
+ timeZone: timeZone
735
+ });
736
+ return (0, $amWdn$useMemo)(()=>{
737
+ // Special case for month granularity. Format as a single month if only a
738
+ // single month is visible, otherwise format as a range of months.
739
+ if ((0, $amWdn$isSameDay)(startDate, (0, $amWdn$startOfMonth)(startDate))) {
740
+ if ((0, $amWdn$isSameDay)(endDate, (0, $amWdn$endOfMonth)(startDate))) return monthFormatter.format(startDate.toDate(timeZone));
741
+ else if ((0, $amWdn$isSameDay)(endDate, (0, $amWdn$endOfMonth)(endDate))) return isAria ? $a074e1e2d0f0a665$var$formatRange(monthFormatter, stringFormatter, startDate, endDate, timeZone) : monthFormatter.formatRange(startDate.toDate(timeZone), endDate.toDate(timeZone));
742
+ }
743
+ return isAria ? $a074e1e2d0f0a665$var$formatRange(dateFormatter, stringFormatter, startDate, endDate, timeZone) : dateFormatter.formatRange(startDate.toDate(timeZone), endDate.toDate(timeZone));
744
+ }, [
745
+ startDate,
746
+ endDate,
747
+ monthFormatter,
748
+ dateFormatter,
749
+ stringFormatter,
750
+ timeZone,
751
+ isAria
752
+ ]);
753
+ }
754
+ function $a074e1e2d0f0a665$var$formatRange(dateFormatter, stringFormatter, start, end, timeZone) {
755
+ let parts = dateFormatter.formatRangeToParts(start.toDate(timeZone), end.toDate(timeZone));
756
+ // Find the separator between the start and end date. This is determined
757
+ // by finding the last shared literal before the end range.
758
+ let separatorIndex = -1;
759
+ for(let i = 0; i < parts.length; i++){
760
+ let part = parts[i];
761
+ if (part.source === "shared" && part.type === "literal") separatorIndex = i;
762
+ else if (part.source === "endRange") break;
763
+ }
764
+ // Now we can combine the parts into start and end strings.
765
+ let startValue = "";
766
+ let endValue = "";
767
+ for(let i1 = 0; i1 < parts.length; i1++){
768
+ if (i1 < separatorIndex) startValue += parts[i1].value;
769
+ else if (i1 > separatorIndex) endValue += parts[i1].value;
770
+ }
771
+ return stringFormatter.format("dateRange", {
772
+ startDate: startValue,
773
+ endDate: endValue
774
+ });
775
+ }
776
+
777
+
778
+
779
+
780
+
781
+ function $c4acc1de3ab169cf$export$d652b3ea2d672d5b(props, state) {
782
+ let stringFormatter = (0, $amWdn$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($0fbdc3429b133a50$exports))));
783
+ let domProps = (0, $amWdn$filterDOMProps)(props);
784
+ let title = (0, $a074e1e2d0f0a665$export$31afe65d91ef6e8)(state.visibleRange.start, state.visibleRange.end, state.timeZone, false);
785
+ let visibleRangeDescription = (0, $a074e1e2d0f0a665$export$31afe65d91ef6e8)(state.visibleRange.start, state.visibleRange.end, state.timeZone, true);
786
+ // Announce when the visible date range changes
787
+ (0, $amWdn$useUpdateEffect)(()=>{
788
+ // only when pressing the Previous or Next button
789
+ if (!state.isFocused) (0, $amWdn$announce)(visibleRangeDescription);
790
+ }, [
791
+ visibleRangeDescription
792
+ ]);
793
+ // Announce when the selected value changes
794
+ let selectedDateDescription = (0, $a074e1e2d0f0a665$export$b6df97c887c38e1a)(state);
795
+ (0, $amWdn$useUpdateEffect)(()=>{
796
+ if (selectedDateDescription) (0, $amWdn$announce)(selectedDateDescription, "polite", 4000);
797
+ // handle an update to the caption that describes the currently selected range, to announce the new value
798
+ }, [
799
+ selectedDateDescription
800
+ ]);
801
+ let errorMessageId = (0, $amWdn$useSlotId)([
802
+ Boolean(props.errorMessage),
803
+ props.validationState
804
+ ]);
805
+ // Pass the label to the child grid elements.
806
+ (0, $a074e1e2d0f0a665$export$653eddfc964b0f8a).set(state, {
807
+ ariaLabel: props["aria-label"],
808
+ ariaLabelledBy: props["aria-labelledby"],
809
+ errorMessageId: errorMessageId,
810
+ selectedDateDescription: selectedDateDescription
811
+ });
812
+ // If the next or previous buttons become disabled while they are focused, move focus to the calendar body.
813
+ let nextFocused = (0, $amWdn$useRef)(false);
814
+ let nextDisabled = props.isDisabled || state.isNextVisibleRangeInvalid();
815
+ if (nextDisabled && nextFocused.current) {
816
+ nextFocused.current = false;
817
+ state.setFocused(true);
818
+ }
819
+ let previousFocused = (0, $amWdn$useRef)(false);
820
+ let previousDisabled = props.isDisabled || state.isPreviousVisibleRangeInvalid();
821
+ if (previousDisabled && previousFocused.current) {
822
+ previousFocused.current = false;
823
+ state.setFocused(true);
824
+ }
825
+ let labelProps = (0, $amWdn$useLabels)({
826
+ id: props["id"],
827
+ "aria-label": [
828
+ props["aria-label"],
829
+ visibleRangeDescription
830
+ ].filter(Boolean).join(", "),
831
+ "aria-labelledby": props["aria-labelledby"]
832
+ });
833
+ return {
834
+ calendarProps: (0, $amWdn$mergeProps)(domProps, labelProps, {
835
+ role: "group",
836
+ "aria-describedby": props["aria-describedby"] || undefined
837
+ }),
838
+ nextButtonProps: {
839
+ onPress: ()=>state.focusNextPage(),
840
+ "aria-label": stringFormatter.format("next"),
841
+ isDisabled: nextDisabled,
842
+ onFocus: ()=>nextFocused.current = true,
843
+ onBlur: ()=>nextFocused.current = false
844
+ },
845
+ prevButtonProps: {
846
+ onPress: ()=>state.focusPreviousPage(),
847
+ "aria-label": stringFormatter.format("previous"),
848
+ isDisabled: previousDisabled,
849
+ onFocus: ()=>previousFocused.current = true,
850
+ onBlur: ()=>previousFocused.current = false
851
+ },
852
+ errorMessageProps: {
853
+ id: errorMessageId
854
+ },
855
+ title: title
856
+ };
857
+ }
858
+
859
+
860
+ function $9942cad8a072a530$export$3ee915f8151bd4f1(props, state) {
861
+ return (0, $c4acc1de3ab169cf$export$d652b3ea2d672d5b)(props, state);
862
+ }
863
+
864
+
865
+ /*
866
+ * Copyright 2020 Adobe. All rights reserved.
867
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
868
+ * you may not use this file except in compliance with the License. You may obtain a copy
869
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
870
+ *
871
+ * Unless required by applicable law or agreed to in writing, software distributed under
872
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
873
+ * OF ANY KIND, either express or implied. See the License for the specific language
874
+ * governing permissions and limitations under the License.
875
+ */
876
+
877
+
878
+ function $46a4342aab3d8076$export$87e0539f600c24e5(props, state, ref) {
879
+ let res = (0, $c4acc1de3ab169cf$export$d652b3ea2d672d5b)(props, state);
880
+ // We need to ignore virtual pointer events from VoiceOver due to these bugs.
881
+ // https://bugs.webkit.org/show_bug.cgi?id=222627
882
+ // https://bugs.webkit.org/show_bug.cgi?id=223202
883
+ // usePress also does this and waits for the following click event before firing.
884
+ // We need to match that here otherwise this will fire before the press event in
885
+ // useCalendarCell, causing range selection to not work properly.
886
+ let isVirtualClick = (0, $amWdn$useRef)(false);
887
+ let windowRef = (0, $amWdn$useRef)(typeof window !== "undefined" ? window : null);
888
+ (0, $amWdn$useEvent)(windowRef, "pointerdown", (e)=>{
889
+ isVirtualClick.current = e.width === 0 && e.height === 0;
890
+ });
891
+ // Stop range selection when pressing or releasing a pointer outside the calendar body,
892
+ // except when pressing the next or previous buttons to switch months.
893
+ let endDragging = (e)=>{
894
+ if (isVirtualClick.current) {
895
+ isVirtualClick.current = false;
896
+ return;
897
+ }
898
+ state.setDragging(false);
899
+ if (!state.anchorDate) return;
900
+ let target = e.target;
901
+ let body = document.getElementById(res.calendarProps.id);
902
+ if (body && body.contains(document.activeElement) && (!body.contains(target) || !target.closest('button, [role="button"]'))) state.selectFocusedDate();
903
+ };
904
+ (0, $amWdn$useEvent)(windowRef, "pointerup", endDragging);
905
+ (0, $amWdn$useEvent)(windowRef, "pointercancel", endDragging);
906
+ // Also stop range selection on blur, e.g. tabbing away from the calendar.
907
+ res.calendarProps.onBlur = (e)=>{
908
+ if ((!e.relatedTarget || !ref.current.contains(e.relatedTarget)) && state.anchorDate) state.selectFocusedDate();
909
+ };
910
+ // Prevent touch scrolling while dragging
911
+ (0, $amWdn$useEvent)(ref, "touchmove", (e)=>{
912
+ if (state.isDragging) e.preventDefault();
913
+ }, {
914
+ passive: false,
915
+ capture: true
916
+ });
917
+ return res;
918
+ }
919
+
920
+
921
+ /*
922
+ * Copyright 2020 Adobe. All rights reserved.
923
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
924
+ * you may not use this file except in compliance with the License. You may obtain a copy
925
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
926
+ *
927
+ * Unless required by applicable law or agreed to in writing, software distributed under
928
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
929
+ * OF ANY KIND, either express or implied. See the License for the specific language
930
+ * governing permissions and limitations under the License.
931
+ */
932
+
933
+
934
+
935
+
936
+ function $e3031d1f8c9d64eb$export$cb95147730a423f5(props, state) {
937
+ let { startDate: startDate = state.visibleRange.start , endDate: endDate = state.visibleRange.end } = props;
938
+ let { direction: direction } = (0, $amWdn$useLocale)();
939
+ let onKeyDown = (e)=>{
940
+ switch(e.key){
941
+ case "Enter":
942
+ case " ":
943
+ e.preventDefault();
944
+ state.selectFocusedDate();
945
+ break;
946
+ case "PageUp":
947
+ e.preventDefault();
948
+ e.stopPropagation();
949
+ state.focusPreviousSection(e.shiftKey);
950
+ break;
951
+ case "PageDown":
952
+ e.preventDefault();
953
+ e.stopPropagation();
954
+ state.focusNextSection(e.shiftKey);
955
+ break;
956
+ case "End":
957
+ e.preventDefault();
958
+ e.stopPropagation();
959
+ state.focusSectionEnd();
960
+ break;
961
+ case "Home":
962
+ e.preventDefault();
963
+ e.stopPropagation();
964
+ state.focusSectionStart();
965
+ break;
966
+ case "ArrowLeft":
967
+ e.preventDefault();
968
+ e.stopPropagation();
969
+ if (direction === "rtl") state.focusNextDay();
970
+ else state.focusPreviousDay();
971
+ break;
972
+ case "ArrowUp":
973
+ e.preventDefault();
974
+ e.stopPropagation();
975
+ state.focusPreviousRow();
976
+ break;
977
+ case "ArrowRight":
978
+ e.preventDefault();
979
+ e.stopPropagation();
980
+ if (direction === "rtl") state.focusPreviousDay();
981
+ else state.focusNextDay();
982
+ break;
983
+ case "ArrowDown":
984
+ e.preventDefault();
985
+ e.stopPropagation();
986
+ state.focusNextRow();
987
+ break;
988
+ case "Escape":
989
+ // Cancel the selection.
990
+ if ("setAnchorDate" in state) {
991
+ e.preventDefault();
992
+ state.setAnchorDate(null);
993
+ }
994
+ break;
995
+ }
996
+ };
997
+ let visibleRangeDescription = (0, $a074e1e2d0f0a665$export$31afe65d91ef6e8)(startDate, endDate, state.timeZone, true);
998
+ let { ariaLabel: ariaLabel , ariaLabelledBy: ariaLabelledBy } = (0, $a074e1e2d0f0a665$export$653eddfc964b0f8a).get(state);
999
+ let labelProps = (0, $amWdn$useLabels)({
1000
+ "aria-label": [
1001
+ ariaLabel,
1002
+ visibleRangeDescription
1003
+ ].filter(Boolean).join(", "),
1004
+ "aria-labelledby": ariaLabelledBy
1005
+ });
1006
+ let dayFormatter = (0, $amWdn$useDateFormatter)({
1007
+ weekday: "narrow",
1008
+ timeZone: state.timeZone
1009
+ });
1010
+ let { locale: locale } = (0, $amWdn$useLocale)();
1011
+ let weekDays = (0, $amWdn$useMemo)(()=>{
1012
+ let weekStart = (0, $amWdn$startOfWeek)((0, $amWdn$today)(state.timeZone), locale);
1013
+ return [
1014
+ ...new Array(7).keys()
1015
+ ].map((index)=>{
1016
+ let date = weekStart.add({
1017
+ days: index
1018
+ });
1019
+ let dateDay = date.toDate(state.timeZone);
1020
+ return dayFormatter.format(dateDay);
1021
+ });
1022
+ }, [
1023
+ locale,
1024
+ state.timeZone,
1025
+ dayFormatter
1026
+ ]);
1027
+ return {
1028
+ gridProps: (0, $amWdn$mergeProps)(labelProps, {
1029
+ role: "grid",
1030
+ "aria-readonly": state.isReadOnly || null,
1031
+ "aria-disabled": state.isDisabled || null,
1032
+ "aria-multiselectable": "highlightedRange" in state || undefined,
1033
+ onKeyDown: onKeyDown,
1034
+ onFocus: ()=>state.setFocused(true),
1035
+ onBlur: ()=>state.setFocused(false)
1036
+ }),
1037
+ headerProps: {
1038
+ // Column headers are hidden to screen readers to make navigating with a touch screen reader easier.
1039
+ // The day names are already included in the label of each cell, so there's no need to announce them twice.
1040
+ "aria-hidden": true
1041
+ },
1042
+ weekDays: weekDays
1043
+ };
1044
+ }
1045
+
1046
+
1047
+ /*
1048
+ * Copyright 2020 Adobe. All rights reserved.
1049
+ * This file is licensed to you under the Apache License, Version 2.0 (the "License");
1050
+ * you may not use this file except in compliance with the License. You may obtain a copy
1051
+ * of the License at http://www.apache.org/licenses/LICENSE-2.0
1052
+ *
1053
+ * Unless required by applicable law or agreed to in writing, software distributed under
1054
+ * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
1055
+ * OF ANY KIND, either express or implied. See the License for the specific language
1056
+ * governing permissions and limitations under the License.
1057
+ */
1058
+
1059
+
1060
+
1061
+
1062
+
1063
+
1064
+
1065
+ function $36a0ac60f04457c5$export$136073280381448e(props, state, ref) {
1066
+ let { date: date , isDisabled: isDisabled } = props;
1067
+ let { errorMessageId: errorMessageId , selectedDateDescription: selectedDateDescription } = (0, $a074e1e2d0f0a665$export$653eddfc964b0f8a).get(state);
1068
+ let stringFormatter = (0, $amWdn$useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($0fbdc3429b133a50$exports))));
1069
+ let dateFormatter = (0, $amWdn$useDateFormatter)({
1070
+ weekday: "long",
1071
+ day: "numeric",
1072
+ month: "long",
1073
+ year: "numeric",
1074
+ era: (0, $a074e1e2d0f0a665$export$134cbb7fb09a9522)(date),
1075
+ timeZone: state.timeZone
1076
+ });
1077
+ let isSelected = state.isSelected(date);
1078
+ let isFocused = state.isCellFocused(date);
1079
+ isDisabled = isDisabled || state.isCellDisabled(date);
1080
+ let isUnavailable = state.isCellUnavailable(date);
1081
+ let isSelectable = !isDisabled && !isUnavailable;
1082
+ let isInvalid = state.validationState === "invalid" && ("highlightedRange" in state ? !state.anchorDate && state.highlightedRange && date.compare(state.highlightedRange.start) >= 0 && date.compare(state.highlightedRange.end) <= 0 : state.value && (0, $amWdn$isSameDay)(state.value, date));
1083
+ if (isInvalid) isSelected = true;
1084
+ // For performance, reuse the same date object as before if the new date prop is the same.
1085
+ // This allows subsequent useMemo results to be reused.
1086
+ let lastDate = (0, $amWdn$useRef)(null);
1087
+ if (lastDate.current && (0, $amWdn$isEqualDay)(date, lastDate.current)) date = lastDate.current;
1088
+ lastDate.current = date;
1089
+ let nativeDate = (0, $amWdn$useMemo)(()=>date.toDate(state.timeZone), [
1090
+ date,
1091
+ state.timeZone
1092
+ ]);
1093
+ // aria-label should be localize Day of week, Month, Day and Year without Time.
1094
+ let isDateToday = (0, $amWdn$isToday)(date, state.timeZone);
1095
+ let label = (0, $amWdn$useMemo)(()=>{
1096
+ let label = "";
1097
+ // If this is a range calendar, add a description of the full selected range
1098
+ // to the first and last selected date.
1099
+ if ("highlightedRange" in state && state.value && !state.anchorDate && ((0, $amWdn$isSameDay)(date, state.value.start) || (0, $amWdn$isSameDay)(date, state.value.end))) label = selectedDateDescription + ", ";
1100
+ label += dateFormatter.format(nativeDate);
1101
+ if (isDateToday) // If date is today, set appropriate string depending on selected state:
1102
+ label = stringFormatter.format(isSelected ? "todayDateSelected" : "todayDate", {
1103
+ date: label
1104
+ });
1105
+ else if (isSelected) // If date is selected but not today:
1106
+ label = stringFormatter.format("dateSelected", {
1107
+ date: label
1108
+ });
1109
+ if (state.minValue && (0, $amWdn$isSameDay)(date, state.minValue)) label += ", " + stringFormatter.format("minimumDate");
1110
+ else if (state.maxValue && (0, $amWdn$isSameDay)(date, state.maxValue)) label += ", " + stringFormatter.format("maximumDate");
1111
+ return label;
1112
+ }, [
1113
+ dateFormatter,
1114
+ nativeDate,
1115
+ stringFormatter,
1116
+ isSelected,
1117
+ isDateToday,
1118
+ date,
1119
+ state,
1120
+ selectedDateDescription
1121
+ ]);
1122
+ // When a cell is focused and this is a range calendar, add a prompt to help
1123
+ // screenreader users know that they are in a range selection mode.
1124
+ let rangeSelectionPrompt = "";
1125
+ if ("anchorDate" in state && isFocused && !state.isReadOnly && isSelectable) {
1126
+ // If selection has started add "click to finish selecting range"
1127
+ if (state.anchorDate) rangeSelectionPrompt = stringFormatter.format("finishRangeSelectionPrompt");
1128
+ else rangeSelectionPrompt = stringFormatter.format("startRangeSelectionPrompt");
1129
+ }
1130
+ let descriptionProps = (0, $amWdn$useDescription)(rangeSelectionPrompt);
1131
+ let isAnchorPressed = (0, $amWdn$useRef)(false);
1132
+ let isRangeBoundaryPressed = (0, $amWdn$useRef)(false);
1133
+ let touchDragTimerRef = (0, $amWdn$useRef)(null);
1134
+ let { pressProps: pressProps , isPressed: isPressed } = (0, $amWdn$usePress)({
1135
+ // When dragging to select a range, we don't want dragging over the original anchor
1136
+ // again to trigger onPressStart. Cancel presses immediately when the pointer exits.
1137
+ shouldCancelOnPointerExit: "anchorDate" in state && !!state.anchorDate,
1138
+ preventFocusOnPress: true,
1139
+ isDisabled: !isSelectable || state.isReadOnly,
1140
+ onPressStart (e) {
1141
+ if (state.isReadOnly) {
1142
+ state.setFocusedDate(date);
1143
+ return;
1144
+ }
1145
+ if ("highlightedRange" in state && !state.anchorDate && (e.pointerType === "mouse" || e.pointerType === "touch")) {
1146
+ // Allow dragging the start or end date of a range to modify it
1147
+ // rather than starting a new selection.
1148
+ // Don't allow dragging when invalid, or weird jumping behavior may occur as date ranges
1149
+ // are constrained to available dates. The user will need to select a new range in this case.
1150
+ if (state.highlightedRange && !isInvalid) {
1151
+ if ((0, $amWdn$isSameDay)(date, state.highlightedRange.start)) {
1152
+ state.setAnchorDate(state.highlightedRange.end);
1153
+ state.setFocusedDate(date);
1154
+ state.setDragging(true);
1155
+ isRangeBoundaryPressed.current = true;
1156
+ return;
1157
+ } else if ((0, $amWdn$isSameDay)(date, state.highlightedRange.end)) {
1158
+ state.setAnchorDate(state.highlightedRange.start);
1159
+ state.setFocusedDate(date);
1160
+ state.setDragging(true);
1161
+ isRangeBoundaryPressed.current = true;
1162
+ return;
1163
+ }
1164
+ }
1165
+ let startDragging = ()=>{
1166
+ state.setDragging(true);
1167
+ touchDragTimerRef.current = null;
1168
+ state.selectDate(date);
1169
+ state.setFocusedDate(date);
1170
+ isAnchorPressed.current = true;
1171
+ };
1172
+ // Start selection on mouse/touch down so users can drag to select a range.
1173
+ // On touch, delay dragging to determine if the user really meant to scroll.
1174
+ if (e.pointerType === "touch") touchDragTimerRef.current = setTimeout(startDragging, 200);
1175
+ else startDragging();
1176
+ }
1177
+ },
1178
+ onPressEnd () {
1179
+ isRangeBoundaryPressed.current = false;
1180
+ isAnchorPressed.current = false;
1181
+ clearTimeout(touchDragTimerRef.current);
1182
+ touchDragTimerRef.current = null;
1183
+ },
1184
+ onPress () {
1185
+ // For non-range selection, always select on press up.
1186
+ if (!("anchorDate" in state) && !state.isReadOnly) {
1187
+ state.selectDate(date);
1188
+ state.setFocusedDate(date);
1189
+ }
1190
+ },
1191
+ onPressUp (e) {
1192
+ if (state.isReadOnly) return;
1193
+ // If the user tapped quickly, the date won't be selected yet and the
1194
+ // timer will still be in progress. In this case, select the date on touch up.
1195
+ // Timer is cleared in onPressEnd.
1196
+ if ("anchorDate" in state && touchDragTimerRef.current) {
1197
+ state.selectDate(date);
1198
+ state.setFocusedDate(date);
1199
+ }
1200
+ if ("anchorDate" in state) {
1201
+ if (isRangeBoundaryPressed.current) // When clicking on the start or end date of an already selected range,
1202
+ // start a new selection on press up to also allow dragging the date to
1203
+ // change the existing range.
1204
+ state.setAnchorDate(date);
1205
+ else if (state.anchorDate && !isAnchorPressed.current) {
1206
+ // When releasing a drag or pressing the end date of a range, select it.
1207
+ state.selectDate(date);
1208
+ state.setFocusedDate(date);
1209
+ } else if (e.pointerType === "keyboard" && !state.anchorDate) {
1210
+ // For range selection, auto-advance the focused date by one if using keyboard.
1211
+ // This gives an indication that you're selecting a range rather than a single date.
1212
+ // For mouse, this is unnecessary because users will see the indication on hover. For screen readers,
1213
+ // there will be an announcement to "click to finish selecting range" (above).
1214
+ state.selectDate(date);
1215
+ let nextDay = date.add({
1216
+ days: 1
1217
+ });
1218
+ if (state.isInvalid(nextDay)) nextDay = date.subtract({
1219
+ days: 1
1220
+ });
1221
+ if (!state.isInvalid(nextDay)) state.setFocusedDate(nextDay);
1222
+ } else if (e.pointerType === "virtual") {
1223
+ // For screen readers, just select the date on click.
1224
+ state.selectDate(date);
1225
+ state.setFocusedDate(date);
1226
+ }
1227
+ }
1228
+ }
1229
+ });
1230
+ let tabIndex = null;
1231
+ if (!isDisabled) tabIndex = (0, $amWdn$isSameDay)(date, state.focusedDate) ? 0 : -1;
1232
+ // Focus the button in the DOM when the state updates.
1233
+ (0, $amWdn$useEffect)(()=>{
1234
+ if (isFocused && ref.current) {
1235
+ (0, $amWdn$focusWithoutScrolling)(ref.current);
1236
+ // Scroll into view if navigating with a keyboard, otherwise
1237
+ // try not to shift the view under the user's mouse/finger.
1238
+ // If in a overlay, scrollIntoViewport will only cause scrolling
1239
+ // up to the overlay scroll body to prevent overlay shifting
1240
+ if ((0, $amWdn$getInteractionModality)() !== "pointer") (0, $amWdn$scrollIntoViewport)(ref.current, {
1241
+ containingElement: (0, $amWdn$getScrollParent)(ref.current)
1242
+ });
1243
+ }
1244
+ }, [
1245
+ isFocused,
1246
+ ref
1247
+ ]);
1248
+ let cellDateFormatter = (0, $amWdn$useDateFormatter)({
1249
+ day: "numeric",
1250
+ timeZone: state.timeZone,
1251
+ calendar: date.calendar.identifier
1252
+ });
1253
+ let formattedDate = (0, $amWdn$useMemo)(()=>cellDateFormatter.formatToParts(nativeDate).find((part)=>part.type === "day").value, [
1254
+ cellDateFormatter,
1255
+ nativeDate
1256
+ ]);
1257
+ return {
1258
+ cellProps: {
1259
+ role: "gridcell",
1260
+ "aria-disabled": !isSelectable || null,
1261
+ "aria-selected": isSelected || null,
1262
+ "aria-invalid": isInvalid || null
1263
+ },
1264
+ buttonProps: (0, $amWdn$mergeProps)(pressProps, {
1265
+ onFocus () {
1266
+ if (!isDisabled) state.setFocusedDate(date);
1267
+ },
1268
+ tabIndex: tabIndex,
1269
+ role: "button",
1270
+ "aria-disabled": !isSelectable || null,
1271
+ "aria-label": label,
1272
+ "aria-invalid": isInvalid || null,
1273
+ "aria-describedby": [
1274
+ isInvalid ? errorMessageId : null,
1275
+ descriptionProps["aria-describedby"]
1276
+ ].filter(Boolean).join(" ") || undefined,
1277
+ onPointerEnter (e) {
1278
+ // Highlight the date on hover or drag over a date when selecting a range.
1279
+ if ("highlightDate" in state && (e.pointerType !== "touch" || state.isDragging) && isSelectable) state.highlightDate(date);
1280
+ },
1281
+ onPointerDown (e) {
1282
+ // This is necessary on touch devices to allow dragging
1283
+ // outside the original pressed element.
1284
+ // (JSDOM does not support this)
1285
+ if ("releasePointerCapture" in e.target) e.target.releasePointerCapture(e.pointerId);
1286
+ },
1287
+ onContextMenu (e) {
1288
+ // Prevent context menu on long press.
1289
+ e.preventDefault();
1290
+ }
1291
+ }),
1292
+ isPressed: isPressed,
1293
+ isFocused: isFocused,
1294
+ isSelected: isSelected,
1295
+ isDisabled: isDisabled,
1296
+ isUnavailable: isUnavailable,
1297
+ isOutsideVisibleRange: date.compare(state.visibleRange.start) < 0 || date.compare(state.visibleRange.end) > 0,
1298
+ isInvalid: isInvalid,
1299
+ formattedDate: formattedDate
1300
+ };
1301
+ }
1302
+
1303
+
1304
+
1305
+
1306
+ export {$9942cad8a072a530$export$3ee915f8151bd4f1 as useCalendar, $46a4342aab3d8076$export$87e0539f600c24e5 as useRangeCalendar, $e3031d1f8c9d64eb$export$cb95147730a423f5 as useCalendarGrid, $36a0ac60f04457c5$export$136073280381448e as useCalendarCell};
1307
+ //# sourceMappingURL=module.js.map