@react-aria/calendar
Advanced tools
Comparing version 3.0.0-nightly.1415 to 3.0.0-nightly.1484
503
dist/main.js
@@ -1,7 +0,7 @@ | ||
var $iAkYs$reactarialiveannouncer = require("@react-aria/live-announcer"); | ||
var $iAkYs$reactariautils = require("@react-aria/utils"); | ||
var $iAkYs$reactariai18n = require("@react-aria/i18n"); | ||
var $iAkYs$internationalizeddate = require("@internationalized/date"); | ||
var $iAkYs$react = require("react"); | ||
var $iAkYs$reactariainteractions = require("@react-aria/interactions"); | ||
var $jzHdg$reactarialiveannouncer = require("@react-aria/live-announcer"); | ||
var $jzHdg$reactariautils = require("@react-aria/utils"); | ||
var $jzHdg$reactariai18n = require("@react-aria/i18n"); | ||
var $jzHdg$react = require("react"); | ||
var $jzHdg$internationalizeddate = require("@internationalized/date"); | ||
var $jzHdg$reactariainteractions = require("@react-aria/interactions"); | ||
@@ -30,179 +30,179 @@ function $parcel$exportWildcard(dest, source) { | ||
} | ||
var $e3681a09276f447e$exports = {}; | ||
var $20e845123e697a89$exports = {}; | ||
$parcel$export($e3681a09276f447e$exports, "useCalendar", () => $e3681a09276f447e$export$3ee915f8151bd4f1); | ||
$parcel$export($20e845123e697a89$exports, "useCalendar", () => $20e845123e697a89$export$3ee915f8151bd4f1); | ||
var $d8244729bef971a6$exports = {}; | ||
var $5a796e2da7accb4a$exports = {}; | ||
$5a796e2da7accb4a$exports = JSON.parse("{\"dateSelected\":\"تم تحديد {date, date, full}\",\"finishRangeSelectionPrompt\":\"انقر لإنهاء عملية تحديد نطاق التاريخ\",\"next\":\"التالي\",\"previous\":\"السابق\",\"selectedDateDescription\":\"التاريخ المحدد: {date, date, full}\",\"selectedRangeDescription\":\"النطاق المحدد: {start, date, long} إلى {end, date, long}\",\"startRangeSelectionPrompt\":\"انقر لبدء عملية تحديد نطاق التاريخ\",\"todayDate\":\"اليوم، {date, date, full}\",\"todayDateSelected\":\"اليوم، تم تحديد {date, date, full}\"}"); | ||
var $f87cd00fb2ba0f23$exports = {}; | ||
var $1fedb39dedbf7c51$exports = {}; | ||
$1fedb39dedbf7c51$exports = JSON.parse("{\"dateSelected\":\"تم تحديد {date, date, full}\",\"finishRangeSelectionPrompt\":\"انقر لإنهاء عملية تحديد نطاق التاريخ\",\"next\":\"التالي\",\"previous\":\"السابق\",\"selectedDateDescription\":\"التاريخ المحدد: {date, date, full}\",\"selectedRangeDescription\":\"النطاق المحدد: {start, date, long} إلى {end, date, long}\",\"startRangeSelectionPrompt\":\"انقر لبدء عملية تحديد نطاق التاريخ\",\"todayDate\":\"اليوم، {date, date, full}\",\"todayDateSelected\":\"اليوم، تم تحديد {date, date, full}\"}"); | ||
var $384191f017eeec79$exports = {}; | ||
$384191f017eeec79$exports = JSON.parse("{\"dateSelected\":\"избрани {date, date, full}\",\"finishRangeSelectionPrompt\":\"Натиснете, за да довършите избора на времеви интервал\",\"next\":\"Напред\",\"previous\":\"Назад\",\"selectedDateDescription\":\"Избрана дата: {date, date, full}\",\"selectedRangeDescription\":\"Избран интервал: от {start, date, long} до {end, date, long}\",\"startRangeSelectionPrompt\":\"Натиснете, за да пристъпите към избора на времеви интервал\",\"todayDate\":\"Днес {date, date, full}\",\"todayDateSelected\":\"Днес са избрани {date, date, full}\"}"); | ||
var $524ada6153e36bf5$exports = {}; | ||
$524ada6153e36bf5$exports = JSON.parse("{\"dateSelected\":\"избрани {date, date, full}\",\"finishRangeSelectionPrompt\":\"Натиснете, за да довършите избора на времеви интервал\",\"next\":\"Напред\",\"previous\":\"Назад\",\"selectedDateDescription\":\"Избрана дата: {date, date, full}\",\"selectedRangeDescription\":\"Избран интервал: от {start, date, long} до {end, date, long}\",\"startRangeSelectionPrompt\":\"Натиснете, за да пристъпите към избора на времеви интервал\",\"todayDate\":\"Днес {date, date, full}\",\"todayDateSelected\":\"Днес са избрани {date, date, full}\"}"); | ||
var $b20193b93fb822d2$exports = {}; | ||
$b20193b93fb822d2$exports = JSON.parse("{\"dateSelected\":\"Vybráno: {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknutím dokončíte výběr rozsahu dat\",\"next\":\"Další\",\"previous\":\"Předchozí\",\"selectedDateDescription\":\"Zvolené datum: {date, date, full}\",\"selectedRangeDescription\":\"Zvolený rozsah: {start, date, long} až {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknutím zahájíte výběr rozsahu dat\",\"todayDate\":\"Dnes, {date, date, full}\",\"todayDateSelected\":\"Vybrán dnešek: {date, date, full}\"}"); | ||
var $181053d31fc585a6$exports = {}; | ||
$181053d31fc585a6$exports = JSON.parse("{\"dateSelected\":\"Vybráno: {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknutím dokončíte výběr rozsahu dat\",\"next\":\"Další\",\"previous\":\"Předchozí\",\"selectedDateDescription\":\"Zvolené datum: {date, date, full}\",\"selectedRangeDescription\":\"Zvolený rozsah: {start, date, long} až {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknutím zahájíte výběr rozsahu dat\",\"todayDate\":\"Dnes, {date, date, full}\",\"todayDateSelected\":\"Vybrán dnešek: {date, date, full}\"}"); | ||
var $51044774270b0ecb$exports = {}; | ||
$51044774270b0ecb$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} valgt\",\"finishRangeSelectionPrompt\":\"Klik for at fuldføre valg af datoområde\",\"next\":\"Næste\",\"previous\":\"Forrige\",\"selectedDateDescription\":\"Valgt dato: {date, date, full}\",\"selectedRangeDescription\":\"Valgt område: {start, date, long} til {end, date, long}\",\"startRangeSelectionPrompt\":\"Klik for at starte valg af datoområde\",\"todayDate\":\"I dag, {date, date, full}\",\"todayDateSelected\":\"I dag, {date, date, full} valgt\"}"); | ||
var $87f1f2ee75c25d27$exports = {}; | ||
$87f1f2ee75c25d27$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} valgt\",\"finishRangeSelectionPrompt\":\"Klik for at fuldføre valg af datoområde\",\"next\":\"Næste\",\"previous\":\"Forrige\",\"selectedDateDescription\":\"Valgt dato: {date, date, full}\",\"selectedRangeDescription\":\"Valgt område: {start, date, long} til {end, date, long}\",\"startRangeSelectionPrompt\":\"Klik for at starte valg af datoområde\",\"todayDate\":\"I dag, {date, date, full}\",\"todayDateSelected\":\"I dag, {date, date, full} valgt\"}"); | ||
var $24e3e5b6427eaa40$exports = {}; | ||
$24e3e5b6427eaa40$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} ausgewählt\",\"finishRangeSelectionPrompt\":\"Klicken, um die Auswahl des Datumsbereichs zu beenden\",\"next\":\"Weiter\",\"previous\":\"Zurück\",\"selectedDateDescription\":\"Ausgewähltes Datum: {date, date, full}\",\"selectedRangeDescription\":\"Bereich auswählen: {start, date, long} bis {end, date, long}\",\"startRangeSelectionPrompt\":\"Klicken, um die Auswahl des Datumsbereichs zu beginnen\",\"todayDate\":\"Heute, {date, date, full}\",\"todayDateSelected\":\"Heute, {date, date, full} ausgewählt\"}"); | ||
var $3018d278e45fefcf$exports = {}; | ||
$3018d278e45fefcf$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} ausgewählt\",\"finishRangeSelectionPrompt\":\"Klicken, um die Auswahl des Datumsbereichs zu beenden\",\"next\":\"Weiter\",\"previous\":\"Zurück\",\"selectedDateDescription\":\"Ausgewähltes Datum: {date, date, full}\",\"selectedRangeDescription\":\"Bereich auswählen: {start, date, long} bis {end, date, long}\",\"startRangeSelectionPrompt\":\"Klicken, um die Auswahl des Datumsbereichs zu beginnen\",\"todayDate\":\"Heute, {date, date, full}\",\"todayDateSelected\":\"Heute, {date, date, full} ausgewählt\"}"); | ||
var $54ced6a1cb383152$exports = {}; | ||
$54ced6a1cb383152$exports = JSON.parse("{\"dateSelected\":\"Επιλέχτηκε {date, date, full}\",\"finishRangeSelectionPrompt\":\"Κάντε κλικ για να ολοκληρώσετε την επιλογή εύρους ημερομηνιών\",\"next\":\"Επόμενο\",\"previous\":\"Προηγούμενο\",\"selectedDateDescription\":\"Επιλεγμένη ημερομηνία: {date, date, full}\",\"selectedRangeDescription\":\"Επιλεγμένο εύρος: {start, date, long} έως {end, date, long}\",\"startRangeSelectionPrompt\":\"Κάντε κλικ για να ξεκινήσετε την επιλογή εύρους ημερομηνιών\",\"todayDate\":\"Σήμερα, {date, date, full}\",\"todayDateSelected\":\"Σήμερα, επιλέχτηκε {date, date, full}\"}"); | ||
var $880b624ba6c377b6$exports = {}; | ||
$880b624ba6c377b6$exports = JSON.parse("{\"dateSelected\":\"Επιλέχτηκε {date, date, full}\",\"finishRangeSelectionPrompt\":\"Κάντε κλικ για να ολοκληρώσετε την επιλογή εύρους ημερομηνιών\",\"next\":\"Επόμενο\",\"previous\":\"Προηγούμενο\",\"selectedDateDescription\":\"Επιλεγμένη ημερομηνία: {date, date, full}\",\"selectedRangeDescription\":\"Επιλεγμένο εύρος: {start, date, long} έως {end, date, long}\",\"startRangeSelectionPrompt\":\"Κάντε κλικ για να ξεκινήσετε την επιλογή εύρους ημερομηνιών\",\"todayDate\":\"Σήμερα, {date, date, full}\",\"todayDateSelected\":\"Σήμερα, επιλέχτηκε {date, date, full}\"}"); | ||
var $40a6e8d07df45132$exports = {}; | ||
$40a6e8d07df45132$exports = JSON.parse("{\"previous\":\"Previous\",\"next\":\"Next\",\"selectedDateDescription\":\"Selected Date: {date, date, full}\",\"selectedRangeDescription\":\"Selected Range: {start, date, long} to {end, date, long}\",\"todayDate\":\"Today, {date, date, full}\",\"todayDateSelected\":\"Today, {date, date, full} selected\",\"dateSelected\":\"{date, date, full} selected\",\"startRangeSelectionPrompt\":\"Click to start selecting date range\",\"finishRangeSelectionPrompt\":\"Click to finish selecting date range\"}"); | ||
var $6a7e3934431e9523$exports = {}; | ||
$6a7e3934431e9523$exports = JSON.parse("{\"previous\":\"Previous\",\"next\":\"Next\",\"selectedDateDescription\":\"Selected Date: {date, date, full}\",\"selectedRangeDescription\":\"Selected Range: {start, date, long} to {end, date, long}\",\"todayDate\":\"Today, {date, date, full}\",\"todayDateSelected\":\"Today, {date, date, full} selected\",\"dateSelected\":\"{date, date, full} selected\",\"startRangeSelectionPrompt\":\"Click to start selecting date range\",\"finishRangeSelectionPrompt\":\"Click to finish selecting date range\"}"); | ||
var $ca5170af67fbccc4$exports = {}; | ||
$ca5170af67fbccc4$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} seleccionado\",\"finishRangeSelectionPrompt\":\"Haga clic para terminar de seleccionar rango de fechas\",\"next\":\"Siguiente\",\"previous\":\"Anterior\",\"selectedDateDescription\":\"Fecha seleccionada: {date, date, full}\",\"selectedRangeDescription\":\"Seleccionar rango: {start, date, long} a {end, date, long}\",\"startRangeSelectionPrompt\":\"Haga clic para comenzar a seleccionar un rango de fechas\",\"todayDate\":\"Hoy, {date, date, full}\",\"todayDateSelected\":\"Hoy, {date, date, full} seleccionado\"}"); | ||
var $4c458303ff44205c$exports = {}; | ||
$4c458303ff44205c$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} seleccionado\",\"finishRangeSelectionPrompt\":\"Haga clic para terminar de seleccionar rango de fechas\",\"next\":\"Siguiente\",\"previous\":\"Anterior\",\"selectedDateDescription\":\"Fecha seleccionada: {date, date, full}\",\"selectedRangeDescription\":\"Seleccionar rango: {start, date, long} a {end, date, long}\",\"startRangeSelectionPrompt\":\"Haga clic para comenzar a seleccionar un rango de fechas\",\"todayDate\":\"Hoy, {date, date, full}\",\"todayDateSelected\":\"Hoy, {date, date, full} seleccionado\"}"); | ||
var $ac7b3bd2e10f366c$exports = {}; | ||
$ac7b3bd2e10f366c$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} valitud\",\"finishRangeSelectionPrompt\":\"Klõpsake kuupäevavahemiku valimise lõpetamiseks\",\"next\":\"Järgmine\",\"previous\":\"Eelmine\",\"selectedDateDescription\":\"Valitud kuupäev: {date, date, full}\",\"selectedRangeDescription\":\"Valitud vahemik: {start, date, long} kuni {end, date, long}\",\"startRangeSelectionPrompt\":\"Klõpsake kuupäevavahemiku valimiseks\",\"todayDate\":\"Täna {date, date, full}\",\"todayDateSelected\":\"Täna {date, date, full} valitud\"}"); | ||
var $4b6ec4ab19a96fff$exports = {}; | ||
$4b6ec4ab19a96fff$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} valitud\",\"finishRangeSelectionPrompt\":\"Klõpsake kuupäevavahemiku valimise lõpetamiseks\",\"next\":\"Järgmine\",\"previous\":\"Eelmine\",\"selectedDateDescription\":\"Valitud kuupäev: {date, date, full}\",\"selectedRangeDescription\":\"Valitud vahemik: {start, date, long} kuni {end, date, long}\",\"startRangeSelectionPrompt\":\"Klõpsake kuupäevavahemiku valimiseks\",\"todayDate\":\"Täna {date, date, full}\",\"todayDateSelected\":\"Täna {date, date, full} valitud\"}"); | ||
var $2c3a2a2adc02a2ee$exports = {}; | ||
$2c3a2a2adc02a2ee$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} valittu\",\"finishRangeSelectionPrompt\":\"Lopeta päivämääräalueen valinta napsauttamalla tätä.\",\"next\":\"Seuraava\",\"previous\":\"Edellinen\",\"selectedDateDescription\":\"Valittu päivämäärä: {date, date, full}\",\"selectedRangeDescription\":\"Valittu alue: {start, date, long} - {end, date, long}\",\"startRangeSelectionPrompt\":\"Aloita päivämääräalueen valinta napsauttamalla tätä.\",\"todayDate\":\"Tänään, {date, date, full}\",\"todayDateSelected\":\"Tänään, {date, date, full} valittu\"}"); | ||
var $a5184a366ed55e98$exports = {}; | ||
$a5184a366ed55e98$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} valittu\",\"finishRangeSelectionPrompt\":\"Lopeta päivämääräalueen valinta napsauttamalla tätä.\",\"next\":\"Seuraava\",\"previous\":\"Edellinen\",\"selectedDateDescription\":\"Valittu päivämäärä: {date, date, full}\",\"selectedRangeDescription\":\"Valittu alue: {start, date, long} - {end, date, long}\",\"startRangeSelectionPrompt\":\"Aloita päivämääräalueen valinta napsauttamalla tätä.\",\"todayDate\":\"Tänään, {date, date, full}\",\"todayDateSelected\":\"Tänään, {date, date, full} valittu\"}"); | ||
var $5e50b61eeb7954b9$exports = {}; | ||
$5e50b61eeb7954b9$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} sélectionné\",\"finishRangeSelectionPrompt\":\"Cliquer pour finir de sélectionner la plage de dates\",\"next\":\"Suivant\",\"previous\":\"Précédent\",\"selectedDateDescription\":\"Date sélectionnée : {date, date, full}\",\"selectedRangeDescription\":\"Plage sélectionnée : {start, date, long} à {end, date, long}\",\"startRangeSelectionPrompt\":\"Cliquer pour commencer à sélectionner la plage de dates\",\"todayDate\":\"Aujourd’hui, {date, date, full}\",\"todayDateSelected\":\"Aujourd’hui, {date, date, full} sélectionné\"}"); | ||
var $094c11f0389b0f6c$exports = {}; | ||
$094c11f0389b0f6c$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} sélectionné\",\"finishRangeSelectionPrompt\":\"Cliquer pour finir de sélectionner la plage de dates\",\"next\":\"Suivant\",\"previous\":\"Précédent\",\"selectedDateDescription\":\"Date sélectionnée : {date, date, full}\",\"selectedRangeDescription\":\"Plage sélectionnée : {start, date, long} à {end, date, long}\",\"startRangeSelectionPrompt\":\"Cliquer pour commencer à sélectionner la plage de dates\",\"todayDate\":\"Aujourd’hui, {date, date, full}\",\"todayDateSelected\":\"Aujourd’hui, {date, date, full} sélectionné\"}"); | ||
var $df2be0f85aa039c9$exports = {}; | ||
$df2be0f85aa039c9$exports = JSON.parse("{\"dateSelected\":\"התאריך {date, date, full} שנבחר\",\"finishRangeSelectionPrompt\":\"חץ כדי לסיים את בחירת טווח התאריכים\",\"next\":\"הבא\",\"previous\":\"הקודם\",\"selectedDateDescription\":\"התאריך שנבחר: {date, date, full}\",\"selectedRangeDescription\":\"הטווח שנבחר: מ-{start, date, long} ועד {end, date, long}\",\"startRangeSelectionPrompt\":\"לחץ כדי להתחיל בבחירת טווח התאריכים\",\"todayDate\":\"היום, {date, date, full}\",\"todayDateSelected\":\"היום, התאריך {date, date, full} שנבחר\"}"); | ||
var $5b28c6b8eb99673e$exports = {}; | ||
$5b28c6b8eb99673e$exports = JSON.parse("{\"dateSelected\":\"התאריך {date, date, full} שנבחר\",\"finishRangeSelectionPrompt\":\"חץ כדי לסיים את בחירת טווח התאריכים\",\"next\":\"הבא\",\"previous\":\"הקודם\",\"selectedDateDescription\":\"התאריך שנבחר: {date, date, full}\",\"selectedRangeDescription\":\"הטווח שנבחר: מ-{start, date, long} ועד {end, date, long}\",\"startRangeSelectionPrompt\":\"לחץ כדי להתחיל בבחירת טווח התאריכים\",\"todayDate\":\"היום, {date, date, full}\",\"todayDateSelected\":\"היום, התאריך {date, date, full} שנבחר\"}"); | ||
var $87288c2b00d3795f$exports = {}; | ||
$87288c2b00d3795f$exports = JSON.parse("{\"dateSelected\":\"Odabran {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknite da dovršite raspon odabranih datuma\",\"next\":\"Sljedeći\",\"previous\":\"Prethodni\",\"selectedDateDescription\":\"Odabrani datum: {date, date, full}\",\"selectedRangeDescription\":\"Odabrani raspon: od {start, date, long} do {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknite da započnete raspon odabranih datuma\",\"todayDate\":\"Danas, {date, date, full}\",\"todayDateSelected\":\"Danas, odabran {date, date, full}\"}"); | ||
var $519824243c1aad60$exports = {}; | ||
$519824243c1aad60$exports = JSON.parse("{\"dateSelected\":\"Odabran {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknite da dovršite raspon odabranih datuma\",\"next\":\"Sljedeći\",\"previous\":\"Prethodni\",\"selectedDateDescription\":\"Odabrani datum: {date, date, full}\",\"selectedRangeDescription\":\"Odabrani raspon: od {start, date, long} do {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknite da započnete raspon odabranih datuma\",\"todayDate\":\"Danas, {date, date, full}\",\"todayDateSelected\":\"Danas, odabran {date, date, full}\"}"); | ||
var $bb8da523f9d4a76e$exports = {}; | ||
$bb8da523f9d4a76e$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} kijelölve\",\"finishRangeSelectionPrompt\":\"Kattintson a dátumtartomány kijelölésének befejezéséhez\",\"next\":\"Következő\",\"previous\":\"Előző\",\"selectedDateDescription\":\"Kijelölt dátum: {date, date, full}\",\"selectedRangeDescription\":\"Kijelölt tartomány: {start, date, long} – {end, date, long}\",\"startRangeSelectionPrompt\":\"Kattintson a dátumtartomány kijelölésének indításához\",\"todayDate\":\"Ma, {date, date, full}\",\"todayDateSelected\":\"Ma, {date, date, full} kijelölve\"}"); | ||
var $2fde332abe847288$exports = {}; | ||
$2fde332abe847288$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} kijelölve\",\"finishRangeSelectionPrompt\":\"Kattintson a dátumtartomány kijelölésének befejezéséhez\",\"next\":\"Következő\",\"previous\":\"Előző\",\"selectedDateDescription\":\"Kijelölt dátum: {date, date, full}\",\"selectedRangeDescription\":\"Kijelölt tartomány: {start, date, long} – {end, date, long}\",\"startRangeSelectionPrompt\":\"Kattintson a dátumtartomány kijelölésének indításához\",\"todayDate\":\"Ma, {date, date, full}\",\"todayDateSelected\":\"Ma, {date, date, full} kijelölve\"}"); | ||
var $29e507ba517044f4$exports = {}; | ||
$29e507ba517044f4$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} selezionato\",\"finishRangeSelectionPrompt\":\"Fai clic per completare la selezione dell’intervallo di date\",\"next\":\"Successivo\",\"previous\":\"Precedente\",\"selectedDateDescription\":\"Data selezionata: {date, date, full}\",\"selectedRangeDescription\":\"Intervallo selezionato: da {start, date, long} a {end, date, long}\",\"startRangeSelectionPrompt\":\"Fai clic per selezionare l’intervallo di date\",\"todayDate\":\"Oggi, {date, date, full}\",\"todayDateSelected\":\"Oggi, {date, date, full} selezionato\"}"); | ||
var $b266f7fa452e8e83$exports = {}; | ||
$b266f7fa452e8e83$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} selezionato\",\"finishRangeSelectionPrompt\":\"Fai clic per completare la selezione dell’intervallo di date\",\"next\":\"Successivo\",\"previous\":\"Precedente\",\"selectedDateDescription\":\"Data selezionata: {date, date, full}\",\"selectedRangeDescription\":\"Intervallo selezionato: da {start, date, long} a {end, date, long}\",\"startRangeSelectionPrompt\":\"Fai clic per selezionare l’intervallo di date\",\"todayDate\":\"Oggi, {date, date, full}\",\"todayDateSelected\":\"Oggi, {date, date, full} selezionato\"}"); | ||
var $f4ae65e14ed14d47$exports = {}; | ||
$f4ae65e14ed14d47$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} を選択\",\"finishRangeSelectionPrompt\":\"クリックして日付範囲の選択を終了\",\"next\":\"次へ\",\"previous\":\"前へ\",\"selectedDateDescription\":\"日付を選択:{date, date, full}\",\"selectedRangeDescription\":\"範囲を選択:{start, date, long} から {end, date, long}\",\"startRangeSelectionPrompt\":\"クリックして日付範囲の選択を開始\",\"todayDate\":\"本日、{date, date, full}\",\"todayDateSelected\":\"本日、{date, date, full} を選択\"}"); | ||
var $3528fd03237947e3$exports = {}; | ||
$3528fd03237947e3$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} を選択\",\"finishRangeSelectionPrompt\":\"クリックして日付範囲の選択を終了\",\"next\":\"次へ\",\"previous\":\"前へ\",\"selectedDateDescription\":\"日付を選択:{date, date, full}\",\"selectedRangeDescription\":\"範囲を選択:{start, date, long} から {end, date, long}\",\"startRangeSelectionPrompt\":\"クリックして日付範囲の選択を開始\",\"todayDate\":\"本日、{date, date, full}\",\"todayDateSelected\":\"本日、{date, date, full} を選択\"}"); | ||
var $f5adde60396d643f$exports = {}; | ||
$f5adde60396d643f$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} 선택함\",\"finishRangeSelectionPrompt\":\"날짜 범위 선택을 완료하려면 클릭하십시오.\",\"next\":\"다음\",\"previous\":\"이전\",\"selectedDateDescription\":\"선택한 날짜: {date, date, full}\",\"selectedRangeDescription\":\"선택한 범위: {start, date, long} ~ {end, date, long}\",\"startRangeSelectionPrompt\":\"날짜 범위 선택을 시작하려면 클릭하십시오.\",\"todayDate\":\"오늘, {date, date, full}\",\"todayDateSelected\":\"오늘, {date, date, full} 선택함\"}"); | ||
var $398f3b7902d2708f$exports = {}; | ||
$398f3b7902d2708f$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} 선택함\",\"finishRangeSelectionPrompt\":\"날짜 범위 선택을 완료하려면 클릭하십시오.\",\"next\":\"다음\",\"previous\":\"이전\",\"selectedDateDescription\":\"선택한 날짜: {date, date, full}\",\"selectedRangeDescription\":\"선택한 범위: {start, date, long} ~ {end, date, long}\",\"startRangeSelectionPrompt\":\"날짜 범위 선택을 시작하려면 클릭하십시오.\",\"todayDate\":\"오늘, {date, date, full}\",\"todayDateSelected\":\"오늘, {date, date, full} 선택함\"}"); | ||
var $089ee8a8811f8669$exports = {}; | ||
$089ee8a8811f8669$exports = JSON.parse("{\"dateSelected\":\"Pasirinkta {date, date, full}\",\"finishRangeSelectionPrompt\":\"Spustelėkite, kad baigtumėte pasirinkti datų intervalą\",\"next\":\"Paskesnis\",\"previous\":\"Ankstesnis\",\"selectedDateDescription\":\"Pasirinkta data: {date, date, full}\",\"selectedRangeDescription\":\"Pasirinktas intervalas: nuo {start, date, long} iki {end, date, long}\",\"startRangeSelectionPrompt\":\"Spustelėkite, kad pradėtumėte pasirinkti datų intervalą\",\"todayDate\":\"Šiandien, {date, date, full}\",\"todayDateSelected\":\"Šiandien, pasirinkta {date, date, full}\"}"); | ||
var $ebaae1c76687311e$exports = {}; | ||
$ebaae1c76687311e$exports = JSON.parse("{\"dateSelected\":\"Pasirinkta {date, date, full}\",\"finishRangeSelectionPrompt\":\"Spustelėkite, kad baigtumėte pasirinkti datų intervalą\",\"next\":\"Paskesnis\",\"previous\":\"Ankstesnis\",\"selectedDateDescription\":\"Pasirinkta data: {date, date, full}\",\"selectedRangeDescription\":\"Pasirinktas intervalas: nuo {start, date, long} iki {end, date, long}\",\"startRangeSelectionPrompt\":\"Spustelėkite, kad pradėtumėte pasirinkti datų intervalą\",\"todayDate\":\"Šiandien, {date, date, full}\",\"todayDateSelected\":\"Šiandien, pasirinkta {date, date, full}\"}"); | ||
var $08ba1a59d94622ef$exports = {}; | ||
$08ba1a59d94622ef$exports = JSON.parse("{\"dateSelected\":\"Atlasīts {date, date, full}\",\"finishRangeSelectionPrompt\":\"Noklikšķiniet, lai pabeigtu datumu diapazona atlasi\",\"next\":\"Tālāk\",\"previous\":\"Atpakaļ\",\"selectedDateDescription\":\"Atlasītais datums: {date, date, full}\",\"selectedRangeDescription\":\"Atlasītais diapazons: {start, date, long} līdz {end, date, long}\",\"startRangeSelectionPrompt\":\"Noklikšķiniet, lai sāktu datumu diapazona atlasi\",\"todayDate\":\"Šodiena, {date, date, full}\",\"todayDateSelected\":\"Atlasīta šodiena, {date, date, full}\"}"); | ||
var $3ecb31d6694563f6$exports = {}; | ||
$3ecb31d6694563f6$exports = JSON.parse("{\"dateSelected\":\"Atlasīts {date, date, full}\",\"finishRangeSelectionPrompt\":\"Noklikšķiniet, lai pabeigtu datumu diapazona atlasi\",\"next\":\"Tālāk\",\"previous\":\"Atpakaļ\",\"selectedDateDescription\":\"Atlasītais datums: {date, date, full}\",\"selectedRangeDescription\":\"Atlasītais diapazons: {start, date, long} līdz {end, date, long}\",\"startRangeSelectionPrompt\":\"Noklikšķiniet, lai sāktu datumu diapazona atlasi\",\"todayDate\":\"Šodiena, {date, date, full}\",\"todayDateSelected\":\"Atlasīta šodiena, {date, date, full}\"}"); | ||
var $435ddc115337117a$exports = {}; | ||
$435ddc115337117a$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} valgt\",\"finishRangeSelectionPrompt\":\"Klikk for å fullføre valg av datoområde\",\"next\":\"Neste\",\"previous\":\"Forrige\",\"selectedDateDescription\":\"Valgt dato: {date, date, full}\",\"selectedRangeDescription\":\"Valgt område: {start, date, long} til {end, date, long}\",\"startRangeSelectionPrompt\":\"Klikk for å starte valg av datoområde\",\"todayDate\":\"I dag, {date, date, full}\",\"todayDateSelected\":\"I dag, {date, date, full} valgt\"}"); | ||
var $26dc2e2c103f178c$exports = {}; | ||
$26dc2e2c103f178c$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} valgt\",\"finishRangeSelectionPrompt\":\"Klikk for å fullføre valg av datoområde\",\"next\":\"Neste\",\"previous\":\"Forrige\",\"selectedDateDescription\":\"Valgt dato: {date, date, full}\",\"selectedRangeDescription\":\"Valgt område: {start, date, long} til {end, date, long}\",\"startRangeSelectionPrompt\":\"Klikk for å starte valg av datoområde\",\"todayDate\":\"I dag, {date, date, full}\",\"todayDateSelected\":\"I dag, {date, date, full} valgt\"}"); | ||
var $aa77fded39f4a4b2$exports = {}; | ||
$aa77fded39f4a4b2$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} geselecteerd\",\"finishRangeSelectionPrompt\":\"Klik om de selectie van het datumbereik te voltooien\",\"next\":\"Volgende\",\"previous\":\"Vorige\",\"selectedDateDescription\":\"Geselecteerde datum: {date, date, full}\",\"selectedRangeDescription\":\"Geselecteerd bereik: {start, date, long} t/m {end, date, long}\",\"startRangeSelectionPrompt\":\"Klik om het datumbereik te selecteren\",\"todayDate\":\"Vandaag, {date, date, full}\",\"todayDateSelected\":\"Vandaag, {date, date, full} geselecteerd\"}"); | ||
var $6bfd45b83a7d37dd$exports = {}; | ||
$6bfd45b83a7d37dd$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} geselecteerd\",\"finishRangeSelectionPrompt\":\"Klik om de selectie van het datumbereik te voltooien\",\"next\":\"Volgende\",\"previous\":\"Vorige\",\"selectedDateDescription\":\"Geselecteerde datum: {date, date, full}\",\"selectedRangeDescription\":\"Geselecteerd bereik: {start, date, long} t/m {end, date, long}\",\"startRangeSelectionPrompt\":\"Klik om het datumbereik te selecteren\",\"todayDate\":\"Vandaag, {date, date, full}\",\"todayDateSelected\":\"Vandaag, {date, date, full} geselecteerd\"}"); | ||
var $b8c760745f934bb0$exports = {}; | ||
$b8c760745f934bb0$exports = JSON.parse("{\"dateSelected\":\"Wybrano {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknij, aby zakończyć wybór zakresu dat\",\"next\":\"Dalej\",\"previous\":\"Wstecz\",\"selectedDateDescription\":\"Wybrana data: {date, date, full}\",\"selectedRangeDescription\":\"Wybrany zakres: {start, date, long} do {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknij, aby rozpocząć wybór zakresu dat\",\"todayDate\":\"Dzisiaj {date, date, full}\",\"todayDateSelected\":\"Dzisiaj wybrano {date, date, full}\"}"); | ||
var $6f70d036cac4bd46$exports = {}; | ||
$6f70d036cac4bd46$exports = JSON.parse("{\"dateSelected\":\"Wybrano {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknij, aby zakończyć wybór zakresu dat\",\"next\":\"Dalej\",\"previous\":\"Wstecz\",\"selectedDateDescription\":\"Wybrana data: {date, date, full}\",\"selectedRangeDescription\":\"Wybrany zakres: {start, date, long} do {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknij, aby rozpocząć wybór zakresu dat\",\"todayDate\":\"Dzisiaj {date, date, full}\",\"todayDateSelected\":\"Dzisiaj wybrano {date, date, full}\"}"); | ||
var $b2da89c4fbbd7ff2$exports = {}; | ||
$b2da89c4fbbd7ff2$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} selecionado\",\"finishRangeSelectionPrompt\":\"Clique para concluir a seleção do intervalo de datas\",\"next\":\"Próximo\",\"previous\":\"Anterior\",\"selectedDateDescription\":\"Data selecionada: {date, date, full}\",\"selectedRangeDescription\":\"Intervalo selecionado: {start, date, long} até {end, date, long}\",\"startRangeSelectionPrompt\":\"Clique para iniciar a seleção do intervalo de datas\",\"todayDate\":\"Hoje, {date, date, full}\",\"todayDateSelected\":\"Hoje, {date, date, full} selecionado\"}"); | ||
var $a227ce57c671783d$exports = {}; | ||
$a227ce57c671783d$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} selecionado\",\"finishRangeSelectionPrompt\":\"Clique para concluir a seleção do intervalo de datas\",\"next\":\"Próximo\",\"previous\":\"Anterior\",\"selectedDateDescription\":\"Data selecionada: {date, date, full}\",\"selectedRangeDescription\":\"Intervalo selecionado: {start, date, long} até {end, date, long}\",\"startRangeSelectionPrompt\":\"Clique para iniciar a seleção do intervalo de datas\",\"todayDate\":\"Hoje, {date, date, full}\",\"todayDateSelected\":\"Hoje, {date, date, full} selecionado\"}"); | ||
var $8b9a5688c3eb394c$exports = {}; | ||
$8b9a5688c3eb394c$exports = JSON.parse("{\"dateSelected\":\"{data, data, completo} selecionado\",\"finishRangeSelectionPrompt\":\"Clique para terminar de selecionar o intervalo de datas\",\"next\":\"Próximo\",\"previous\":\"Anterior\",\"selectedDateDescription\":\"Data Selecionada: {data, data, completo}\",\"selectedRangeDescription\":\"Selecionar Intervalo: {início, data, longo} a {término, data, longo}\",\"startRangeSelectionPrompt\":\"Clique para começar a selecionar o intervalo de datas\",\"todayDate\":\"Hoje, {date, date, full}\",\"todayDateSelected\":\"Hoje, {date, date, full} selecionado\"}"); | ||
var $97acad4758696d87$exports = {}; | ||
$97acad4758696d87$exports = JSON.parse("{\"dateSelected\":\"{data, data, completo} selecionado\",\"finishRangeSelectionPrompt\":\"Clique para terminar de selecionar o intervalo de datas\",\"next\":\"Próximo\",\"previous\":\"Anterior\",\"selectedDateDescription\":\"Data Selecionada: {data, data, completo}\",\"selectedRangeDescription\":\"Selecionar Intervalo: {início, data, longo} a {término, data, longo}\",\"startRangeSelectionPrompt\":\"Clique para começar a selecionar o intervalo de datas\",\"todayDate\":\"Hoje, {date, date, full}\",\"todayDateSelected\":\"Hoje, {date, date, full} selecionado\"}"); | ||
var $06c9c864c795c9d9$exports = {}; | ||
$06c9c864c795c9d9$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} selectată\",\"finishRangeSelectionPrompt\":\"Apăsaţi pentru a finaliza selecţia razei pentru dată\",\"next\":\"Următorul\",\"previous\":\"Înainte\",\"selectedDateDescription\":\"Dată selectată: {date, date, full}\",\"selectedRangeDescription\":\"Selectaţi raza: {start, date, long} la {end, date, long}\",\"startRangeSelectionPrompt\":\"Apăsaţi pentru a începe selecţia razei pentru dată\",\"todayDate\":\"Astăzi, {date, date, full}\",\"todayDateSelected\":\"Dată, {date, date, full} selectată\"}"); | ||
var $010069c7d7fbbea3$exports = {}; | ||
$010069c7d7fbbea3$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} selectată\",\"finishRangeSelectionPrompt\":\"Apăsaţi pentru a finaliza selecţia razei pentru dată\",\"next\":\"Următorul\",\"previous\":\"Înainte\",\"selectedDateDescription\":\"Dată selectată: {date, date, full}\",\"selectedRangeDescription\":\"Selectaţi raza: {start, date, long} la {end, date, long}\",\"startRangeSelectionPrompt\":\"Apăsaţi pentru a începe selecţia razei pentru dată\",\"todayDate\":\"Astăzi, {date, date, full}\",\"todayDateSelected\":\"Dată, {date, date, full} selectată\"}"); | ||
var $d60861d10f45274d$exports = {}; | ||
$d60861d10f45274d$exports = JSON.parse("{\"dateSelected\":\"выбрано {date, date, full}\",\"finishRangeSelectionPrompt\":\"Щелкните, чтобы завершить выбор диапазона дат\",\"next\":\"Далее\",\"previous\":\"Назад\",\"selectedDateDescription\":\"Выбранная дата: {date, date, full}\",\"selectedRangeDescription\":\"Выбранный диапазон: {start, date, long} – {end, date, long}\",\"startRangeSelectionPrompt\":\"Щелкните, чтобы начать выбор диапазона дат\",\"todayDate\":\"Сегодня, {date, date, full}\",\"todayDateSelected\":\"Сегодня, выбрано {date, date, full}\"}"); | ||
var $0ba9c30c48c8d602$exports = {}; | ||
$0ba9c30c48c8d602$exports = JSON.parse("{\"dateSelected\":\"выбрано {date, date, full}\",\"finishRangeSelectionPrompt\":\"Щелкните, чтобы завершить выбор диапазона дат\",\"next\":\"Далее\",\"previous\":\"Назад\",\"selectedDateDescription\":\"Выбранная дата: {date, date, full}\",\"selectedRangeDescription\":\"Выбранный диапазон: {start, date, long} – {end, date, long}\",\"startRangeSelectionPrompt\":\"Щелкните, чтобы начать выбор диапазона дат\",\"todayDate\":\"Сегодня, {date, date, full}\",\"todayDateSelected\":\"Сегодня, выбрано {date, date, full}\"}"); | ||
var $2391d5f00466c509$exports = {}; | ||
$2391d5f00466c509$exports = JSON.parse("{\"dateSelected\":\"Vybratý dátum {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknutím dokončíte výber rozsahu dátumov\",\"next\":\"Nasledujúce\",\"previous\":\"Predchádzajúce\",\"selectedDateDescription\":\"Vybratý dátum: {date, date, full}\",\"selectedRangeDescription\":\"Vybratý rozsah dátumov: {start, date, long} do {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknutím spustíte výber rozsahu dátumov\",\"todayDate\":\"Dnešný dátum, {date, date, full}\",\"todayDateSelected\":\"Vybratý dnešný dátum, {date, date, full}\"}"); | ||
var $6873e95bd7af7559$exports = {}; | ||
$6873e95bd7af7559$exports = JSON.parse("{\"dateSelected\":\"Vybratý dátum {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknutím dokončíte výber rozsahu dátumov\",\"next\":\"Nasledujúce\",\"previous\":\"Predchádzajúce\",\"selectedDateDescription\":\"Vybratý dátum: {date, date, full}\",\"selectedRangeDescription\":\"Vybratý rozsah dátumov: {start, date, long} do {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknutím spustíte výber rozsahu dátumov\",\"todayDate\":\"Dnešný dátum, {date, date, full}\",\"todayDateSelected\":\"Vybratý dnešný dátum, {date, date, full}\"}"); | ||
var $103a58d15b3da323$exports = {}; | ||
$103a58d15b3da323$exports = JSON.parse("{\"dateSelected\":\"izbrano: {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknite za dokončanje izbire datumskega obsega\",\"next\":\"Naprej\",\"previous\":\"Nazaj\",\"selectedDateDescription\":\"Izbrani datum: {date, date, full}\",\"selectedRangeDescription\":\"Izbrani razpon: {start, date, long} do {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknite za začetek izbire datumskega obsega\",\"todayDate\":\"Danes, {date, date, full}\",\"todayDateSelected\":\"Danes, izbrano: {date, date, full}\"}"); | ||
var $ce3c7852583668e3$exports = {}; | ||
$ce3c7852583668e3$exports = JSON.parse("{\"dateSelected\":\"izbrano: {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknite za dokončanje izbire datumskega obsega\",\"next\":\"Naprej\",\"previous\":\"Nazaj\",\"selectedDateDescription\":\"Izbrani datum: {date, date, full}\",\"selectedRangeDescription\":\"Izbrani razpon: {start, date, long} do {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknite za začetek izbire datumskega obsega\",\"todayDate\":\"Danes, {date, date, full}\",\"todayDateSelected\":\"Danes, izbrano: {date, date, full}\"}"); | ||
var $46d4ef3738634dd6$exports = {}; | ||
$46d4ef3738634dd6$exports = JSON.parse("{\"dateSelected\":\"Izabran {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknite da dovršite opseg izabranih datuma\",\"next\":\"Sledeći\",\"previous\":\"Prethodni\",\"selectedDateDescription\":\"Izabrani datum: {date, date, full}\",\"selectedRangeDescription\":\"Izabrani opseg: od {start, date, long} do {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknite da započnete opseg izabranih datuma\",\"todayDate\":\"Danas, {date, date, full}\",\"todayDateSelected\":\"Danas, izabran {date, date, full}\"}"); | ||
var $36cbdcce92af5213$exports = {}; | ||
$36cbdcce92af5213$exports = JSON.parse("{\"dateSelected\":\"Izabran {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknite da dovršite opseg izabranih datuma\",\"next\":\"Sledeći\",\"previous\":\"Prethodni\",\"selectedDateDescription\":\"Izabrani datum: {date, date, full}\",\"selectedRangeDescription\":\"Izabrani opseg: od {start, date, long} do {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknite da započnete opseg izabranih datuma\",\"todayDate\":\"Danas, {date, date, full}\",\"todayDateSelected\":\"Danas, izabran {date, date, full}\"}"); | ||
var $ffd52992acc326cd$exports = {}; | ||
$ffd52992acc326cd$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} har valts\",\"finishRangeSelectionPrompt\":\"Klicka för att avsluta val av datumintervall\",\"next\":\"Nästa\",\"previous\":\"Föregående\",\"selectedDateDescription\":\"Valt datum: {date, date, full}\",\"selectedRangeDescription\":\"Valt intervall: {start, date, long} till {end, date, long}\",\"startRangeSelectionPrompt\":\"Klicka för att välja datumintervall\",\"todayDate\":\"I dag, {date, date, full}\",\"todayDateSelected\":\"I dag, {date, date, full} har valts\"}"); | ||
var $ce53fa032c8abdc9$exports = {}; | ||
$ce53fa032c8abdc9$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} har valts\",\"finishRangeSelectionPrompt\":\"Klicka för att avsluta val av datumintervall\",\"next\":\"Nästa\",\"previous\":\"Föregående\",\"selectedDateDescription\":\"Valt datum: {date, date, full}\",\"selectedRangeDescription\":\"Valt intervall: {start, date, long} till {end, date, long}\",\"startRangeSelectionPrompt\":\"Klicka för att välja datumintervall\",\"todayDate\":\"I dag, {date, date, full}\",\"todayDateSelected\":\"I dag, {date, date, full} har valts\"}"); | ||
var $4f6e14cf86d7166e$exports = {}; | ||
$4f6e14cf86d7166e$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} seçildi\",\"finishRangeSelectionPrompt\":\"Tarih aralığı seçimini tamamlamak için tıklayın\",\"next\":\"Sonraki\",\"previous\":\"Önceki\",\"selectedDateDescription\":\"Seçili Tarih: {date, date, full}\",\"selectedRangeDescription\":\"Seçili Aralık: {start, date, long} - {end, date, long}\",\"startRangeSelectionPrompt\":\"Tarih aralığı seçimini başlatmak için tıklayın\",\"todayDate\":\"Bugün, {date, date, full}\",\"todayDateSelected\":\"Bugün, {date, date, full} seçildi\"}"); | ||
var $358703e281d51beb$exports = {}; | ||
$358703e281d51beb$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} seçildi\",\"finishRangeSelectionPrompt\":\"Tarih aralığı seçimini tamamlamak için tıklayın\",\"next\":\"Sonraki\",\"previous\":\"Önceki\",\"selectedDateDescription\":\"Seçili Tarih: {date, date, full}\",\"selectedRangeDescription\":\"Seçili Aralık: {start, date, long} - {end, date, long}\",\"startRangeSelectionPrompt\":\"Tarih aralığı seçimini başlatmak için tıklayın\",\"todayDate\":\"Bugün, {date, date, full}\",\"todayDateSelected\":\"Bugün, {date, date, full} seçildi\"}"); | ||
var $b185c047e8e8097b$exports = {}; | ||
$b185c047e8e8097b$exports = JSON.parse("{\"dateSelected\":\"Вибрано: {date, date, full}\",\"finishRangeSelectionPrompt\":\"Натисніть, щоб завершити вибір діапазону дат\",\"next\":\"Наступний\",\"previous\":\"Попередній\",\"selectedDateDescription\":\"Вибрана дата: {date, date, full}\",\"selectedRangeDescription\":\"Вибраний діапазон: від {start, date, long} до {end, date, long}\",\"startRangeSelectionPrompt\":\"Натисніть, щоб почати вибір діапазону дат\",\"todayDate\":\"Сьогодні: {date, date, full}\",\"todayDateSelected\":\"Сьогодні вибрано: {date, date, full}\"}"); | ||
var $16bef71241a84fd2$exports = {}; | ||
$16bef71241a84fd2$exports = JSON.parse("{\"dateSelected\":\"Вибрано: {date, date, full}\",\"finishRangeSelectionPrompt\":\"Натисніть, щоб завершити вибір діапазону дат\",\"next\":\"Наступний\",\"previous\":\"Попередній\",\"selectedDateDescription\":\"Вибрана дата: {date, date, full}\",\"selectedRangeDescription\":\"Вибраний діапазон: від {start, date, long} до {end, date, long}\",\"startRangeSelectionPrompt\":\"Натисніть, щоб почати вибір діапазону дат\",\"todayDate\":\"Сьогодні: {date, date, full}\",\"todayDateSelected\":\"Сьогодні вибрано: {date, date, full}\"}"); | ||
var $b1da19cba07c8ea0$exports = {}; | ||
$b1da19cba07c8ea0$exports = JSON.parse("{\"dateSelected\":\"已选择 {date, date, full}\",\"finishRangeSelectionPrompt\":\"单击以完成选择日期范围\",\"next\":\"下一页\",\"previous\":\"上一页\",\"selectedDateDescription\":\"选定的日期: {date, date, full}\",\"selectedRangeDescription\":\"选定的范围: {start, date, long} 到 {end, date, long}\",\"startRangeSelectionPrompt\":\"单击以开始选择日期范围\",\"todayDate\":\"今天({date, date, full})\",\"todayDateSelected\":\"已选择今天({date, date, full})\"}"); | ||
var $c80940728ad8dc0d$exports = {}; | ||
$c80940728ad8dc0d$exports = JSON.parse("{\"dateSelected\":\"已选择 {date, date, full}\",\"finishRangeSelectionPrompt\":\"单击以完成选择日期范围\",\"next\":\"下一页\",\"previous\":\"上一页\",\"selectedDateDescription\":\"选定的日期: {date, date, full}\",\"selectedRangeDescription\":\"选定的范围: {start, date, long} 到 {end, date, long}\",\"startRangeSelectionPrompt\":\"单击以开始选择日期范围\",\"todayDate\":\"今天({date, date, full})\",\"todayDateSelected\":\"已选择今天({date, date, full})\"}"); | ||
var $57d343e6c1bd3d2a$exports = {}; | ||
$57d343e6c1bd3d2a$exports = JSON.parse("{\"dateSelected\":\"已選取 {date, date, full}\",\"finishRangeSelectionPrompt\":\"按一下以完成選取日期範圍\",\"next\":\"下一頁\",\"previous\":\"上一頁\",\"selectedDateDescription\":\"選取日期: {date, date, full}\",\"selectedRangeDescription\":\"選取範圍: {start, date, long} 至 {end, date, long}\",\"startRangeSelectionPrompt\":\"按一下以開始選取日期範圍\",\"todayDate\":\"今日,{date, date, full}\",\"todayDateSelected\":\"今日,已選取 {date, date, full}\"}"); | ||
var $ec192a5a83cfafeb$exports = {}; | ||
$ec192a5a83cfafeb$exports = JSON.parse("{\"dateSelected\":\"已選取 {date, date, full}\",\"finishRangeSelectionPrompt\":\"按一下以完成選取日期範圍\",\"next\":\"下一頁\",\"previous\":\"上一頁\",\"selectedDateDescription\":\"選取日期: {date, date, full}\",\"selectedRangeDescription\":\"選取範圍: {start, date, long} 至 {end, date, long}\",\"startRangeSelectionPrompt\":\"按一下以開始選取日期範圍\",\"todayDate\":\"今日,{date, date, full}\",\"todayDateSelected\":\"今日,已選取 {date, date, full}\"}"); | ||
$d8244729bef971a6$exports = { | ||
"ar-AE": $5a796e2da7accb4a$exports, | ||
"bg-BG": $384191f017eeec79$exports, | ||
"cs-CZ": $b20193b93fb822d2$exports, | ||
"da-DK": $51044774270b0ecb$exports, | ||
"de-DE": $24e3e5b6427eaa40$exports, | ||
"el-GR": $54ced6a1cb383152$exports, | ||
"en-US": $40a6e8d07df45132$exports, | ||
"es-ES": $ca5170af67fbccc4$exports, | ||
"et-EE": $ac7b3bd2e10f366c$exports, | ||
"fi-FI": $2c3a2a2adc02a2ee$exports, | ||
"fr-FR": $5e50b61eeb7954b9$exports, | ||
"he-IL": $df2be0f85aa039c9$exports, | ||
"hr-HR": $87288c2b00d3795f$exports, | ||
"hu-HU": $bb8da523f9d4a76e$exports, | ||
"it-IT": $29e507ba517044f4$exports, | ||
"ja-JP": $f4ae65e14ed14d47$exports, | ||
"ko-KR": $f5adde60396d643f$exports, | ||
"lt-LT": $089ee8a8811f8669$exports, | ||
"lv-LV": $08ba1a59d94622ef$exports, | ||
"nb-NO": $435ddc115337117a$exports, | ||
"nl-NL": $aa77fded39f4a4b2$exports, | ||
"pl-PL": $b8c760745f934bb0$exports, | ||
"pt-BR": $b2da89c4fbbd7ff2$exports, | ||
"pt-PT": $8b9a5688c3eb394c$exports, | ||
"ro-RO": $06c9c864c795c9d9$exports, | ||
"ru-RU": $d60861d10f45274d$exports, | ||
"sk-SK": $2391d5f00466c509$exports, | ||
"sl-SI": $103a58d15b3da323$exports, | ||
"sr-SP": $46d4ef3738634dd6$exports, | ||
"sv-SE": $ffd52992acc326cd$exports, | ||
"tr-TR": $4f6e14cf86d7166e$exports, | ||
"uk-UA": $b185c047e8e8097b$exports, | ||
"zh-CN": $b1da19cba07c8ea0$exports, | ||
"zh-TW": $57d343e6c1bd3d2a$exports | ||
$f87cd00fb2ba0f23$exports = { | ||
"ar-AE": $1fedb39dedbf7c51$exports, | ||
"bg-BG": $524ada6153e36bf5$exports, | ||
"cs-CZ": $181053d31fc585a6$exports, | ||
"da-DK": $87f1f2ee75c25d27$exports, | ||
"de-DE": $3018d278e45fefcf$exports, | ||
"el-GR": $880b624ba6c377b6$exports, | ||
"en-US": $6a7e3934431e9523$exports, | ||
"es-ES": $4c458303ff44205c$exports, | ||
"et-EE": $4b6ec4ab19a96fff$exports, | ||
"fi-FI": $a5184a366ed55e98$exports, | ||
"fr-FR": $094c11f0389b0f6c$exports, | ||
"he-IL": $5b28c6b8eb99673e$exports, | ||
"hr-HR": $519824243c1aad60$exports, | ||
"hu-HU": $2fde332abe847288$exports, | ||
"it-IT": $b266f7fa452e8e83$exports, | ||
"ja-JP": $3528fd03237947e3$exports, | ||
"ko-KR": $398f3b7902d2708f$exports, | ||
"lt-LT": $ebaae1c76687311e$exports, | ||
"lv-LV": $3ecb31d6694563f6$exports, | ||
"nb-NO": $26dc2e2c103f178c$exports, | ||
"nl-NL": $6bfd45b83a7d37dd$exports, | ||
"pl-PL": $6f70d036cac4bd46$exports, | ||
"pt-BR": $a227ce57c671783d$exports, | ||
"pt-PT": $97acad4758696d87$exports, | ||
"ro-RO": $010069c7d7fbbea3$exports, | ||
"ru-RU": $0ba9c30c48c8d602$exports, | ||
"sk-SK": $6873e95bd7af7559$exports, | ||
"sl-SI": $ce3c7852583668e3$exports, | ||
"sr-SP": $36cbdcce92af5213$exports, | ||
"sv-SE": $ce53fa032c8abdc9$exports, | ||
"tr-TR": $358703e281d51beb$exports, | ||
"uk-UA": $16bef71241a84fd2$exports, | ||
"zh-CN": $c80940728ad8dc0d$exports, | ||
"zh-TW": $ec192a5a83cfafeb$exports | ||
}; | ||
@@ -213,5 +213,5 @@ | ||
const $d676cc5de606f747$export$3ddff89c59628ee7 = new WeakMap(); | ||
function $d676cc5de606f747$export$b6df97c887c38e1a(state) { | ||
let formatMessage = $iAkYs$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($d8244729bef971a6$exports))); | ||
const $df1d8e967e73ec8e$export$3ddff89c59628ee7 = new WeakMap(); | ||
function $df1d8e967e73ec8e$export$b6df97c887c38e1a(state) { | ||
let formatMessage = $jzHdg$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($f87cd00fb2ba0f23$exports))); | ||
let start, end; | ||
@@ -222,3 +222,3 @@ if ('highlightedRange' in state) ({ start: start , end: end } = state.highlightedRange || { | ||
let anchorDate = 'anchorDate' in state ? state.anchorDate : null; | ||
return $iAkYs$react.useMemo(()=>{ | ||
return $jzHdg$react.useMemo(()=>{ | ||
// No message if currently selecting a range, or there is nothing highlighted. | ||
@@ -228,8 +228,8 @@ if (!anchorDate && start && end) { | ||
// otherwise include both dates. | ||
if ($iAkYs$internationalizeddate.isSameDay(start, end)) return formatMessage('selectedDateDescription', { | ||
date: $iAkYs$internationalizeddate.toDate(start, state.timeZone) | ||
if ($jzHdg$internationalizeddate.isSameDay(start, end)) return formatMessage('selectedDateDescription', { | ||
date: start.toDate(state.timeZone) | ||
}); | ||
else return formatMessage('selectedRangeDescription', { | ||
start: $iAkYs$internationalizeddate.toDate(start, state.timeZone), | ||
end: $iAkYs$internationalizeddate.toDate(end, state.timeZone) | ||
start: start.toDate(state.timeZone), | ||
end: end.toDate(state.timeZone) | ||
}); | ||
@@ -246,19 +246,21 @@ } | ||
} | ||
function $d676cc5de606f747$export$31afe65d91ef6e8(startDate, endDate, timeZone) { | ||
let monthFormatter = $iAkYs$reactariai18n.useDateFormatter({ | ||
function $df1d8e967e73ec8e$export$31afe65d91ef6e8(startDate, endDate, timeZone) { | ||
let monthFormatter = $jzHdg$reactariai18n.useDateFormatter({ | ||
month: 'long', | ||
year: 'numeric', | ||
era: startDate.calendar.identifier !== 'gregory' ? 'long' : undefined, | ||
calendar: startDate.calendar.identifier | ||
calendar: startDate.calendar.identifier, | ||
timeZone: timeZone | ||
}); | ||
let dateFormatter = $iAkYs$reactariai18n.useDateFormatter({ | ||
let dateFormatter = $jzHdg$reactariai18n.useDateFormatter({ | ||
dateStyle: 'long', | ||
calendar: startDate.calendar.identifier | ||
calendar: startDate.calendar.identifier, | ||
timeZone: timeZone | ||
}); | ||
return $iAkYs$react.useMemo(()=>{ | ||
return $jzHdg$react.useMemo(()=>{ | ||
// Special case for month granularity. Format as a single month if only a | ||
// single month is visible, otherwise format as a range of months. | ||
if ($iAkYs$internationalizeddate.isSameDay(startDate, $iAkYs$internationalizeddate.startOfMonth(startDate))) { | ||
if ($iAkYs$internationalizeddate.isSameDay(endDate, $iAkYs$internationalizeddate.endOfMonth(startDate))) return monthFormatter.format(startDate.toDate(timeZone)); | ||
else if ($iAkYs$internationalizeddate.isSameDay(endDate, $iAkYs$internationalizeddate.endOfMonth(endDate))) return monthFormatter.formatRange(startDate.toDate(timeZone), endDate.toDate(timeZone)); | ||
if ($jzHdg$internationalizeddate.isSameDay(startDate, $jzHdg$internationalizeddate.startOfMonth(startDate))) { | ||
if ($jzHdg$internationalizeddate.isSameDay(endDate, $jzHdg$internationalizeddate.endOfMonth(startDate))) return monthFormatter.format(startDate.toDate(timeZone)); | ||
else if ($jzHdg$internationalizeddate.isSameDay(endDate, $jzHdg$internationalizeddate.endOfMonth(endDate))) return monthFormatter.formatRange(startDate.toDate(timeZone), endDate.toDate(timeZone)); | ||
} | ||
@@ -279,10 +281,11 @@ return dateFormatter.formatRange(startDate.toDate(timeZone), endDate.toDate(timeZone)); | ||
function $e83b13bece3ba719$export$d652b3ea2d672d5b(props, state) { | ||
let formatMessage = $iAkYs$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($d8244729bef971a6$exports))); | ||
let calendarId = $iAkYs$reactariautils.useId(props.id); | ||
let visibleRangeDescription = $d676cc5de606f747$export$31afe65d91ef6e8(state.visibleRange.start, state.visibleRange.end, state.timeZone); | ||
function $02ef492a56b91cb2$export$d652b3ea2d672d5b(props, state) { | ||
let formatMessage = $jzHdg$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($f87cd00fb2ba0f23$exports))); | ||
let calendarId = $jzHdg$reactariautils.useId(props.id); | ||
let visibleRangeDescription = $df1d8e967e73ec8e$export$31afe65d91ef6e8(state.visibleRange.start, state.visibleRange.end, state.timeZone); | ||
// Announce when the visible date range changes | ||
$iAkYs$reactariautils.useUpdateEffect(()=>{ | ||
$jzHdg$reactariautils.useUpdateEffect(()=>{ | ||
// only when pressing the Previous or Next button | ||
if (!state.isFocused) $iAkYs$reactarialiveannouncer.announce(visibleRangeDescription); | ||
if (!state.isFocused) $jzHdg$reactarialiveannouncer.announce(visibleRangeDescription); | ||
}, [ | ||
@@ -292,5 +295,5 @@ visibleRangeDescription | ||
// Announce when the selected value changes | ||
let selectedDateDescription = $d676cc5de606f747$export$b6df97c887c38e1a(state); | ||
$iAkYs$reactariautils.useUpdateEffect(()=>{ | ||
if (selectedDateDescription) $iAkYs$reactarialiveannouncer.announce(selectedDateDescription, 'polite', 4000); | ||
let selectedDateDescription = $df1d8e967e73ec8e$export$b6df97c887c38e1a(state); | ||
$jzHdg$reactariautils.useUpdateEffect(()=>{ | ||
if (selectedDateDescription) $jzHdg$reactarialiveannouncer.announce(selectedDateDescription, 'polite', 4000); | ||
// handle an update to the caption that describes the currently selected range, to announce the new value | ||
@@ -300,7 +303,20 @@ }, [ | ||
]); | ||
let descriptionProps = $iAkYs$reactariautils.useDescription(visibleRangeDescription); | ||
let descriptionProps = $jzHdg$reactariautils.useDescription(visibleRangeDescription); | ||
// Label the child grid elements by the group element if it is labelled. | ||
$d676cc5de606f747$export$3ddff89c59628ee7.set(state, props['aria-label'] || props['aria-labelledby'] ? calendarId : null); | ||
$df1d8e967e73ec8e$export$3ddff89c59628ee7.set(state, props['aria-label'] || props['aria-labelledby'] ? calendarId : null); | ||
// If the next or previous buttons become disabled while they are focused, move focus to the calendar body. | ||
let nextFocused = $jzHdg$react.useRef(false); | ||
let nextDisabled = props.isDisabled || state.isNextVisibleRangeInvalid(); | ||
if (nextDisabled && nextFocused.current) { | ||
nextFocused.current = false; | ||
state.setFocused(true); | ||
} | ||
let previousFocused = $jzHdg$react.useRef(false); | ||
let previousDisabled = props.isDisabled || state.isPreviousVisibleRangeInvalid(); | ||
if (previousDisabled && previousFocused.current) { | ||
previousFocused.current = false; | ||
state.setFocused(true); | ||
} | ||
return { | ||
calendarProps: $iAkYs$reactariautils.mergeProps(descriptionProps, { | ||
calendarProps: $jzHdg$reactariautils.mergeProps(descriptionProps, { | ||
role: 'group', | ||
@@ -315,3 +331,6 @@ id: calendarId, | ||
'aria-label': formatMessage('next'), | ||
isDisabled: props.isDisabled || state.isNextVisibleRangeInvalid() | ||
isDisabled: nextDisabled, | ||
onFocus: ()=>nextFocused.current = true | ||
, | ||
onBlur: ()=>nextFocused.current = false | ||
}, | ||
@@ -322,4 +341,8 @@ prevButtonProps: { | ||
'aria-label': formatMessage('previous'), | ||
isDisabled: props.isDisabled || state.isPreviousVisibleRangeInvalid() | ||
} | ||
isDisabled: previousDisabled, | ||
onFocus: ()=>previousFocused.current = true | ||
, | ||
onBlur: ()=>previousFocused.current = false | ||
}, | ||
title: visibleRangeDescription | ||
}; | ||
@@ -329,17 +352,17 @@ } | ||
function $e3681a09276f447e$export$3ee915f8151bd4f1(props, state) { | ||
return $e83b13bece3ba719$export$d652b3ea2d672d5b(props, state); | ||
function $20e845123e697a89$export$3ee915f8151bd4f1(props, state) { | ||
return $02ef492a56b91cb2$export$d652b3ea2d672d5b(props, state); | ||
} | ||
var $5d091326d9b974e9$exports = {}; | ||
var $c49ada48cbc48220$exports = {}; | ||
$parcel$export($5d091326d9b974e9$exports, "useRangeCalendar", () => $5d091326d9b974e9$export$87e0539f600c24e5); | ||
$parcel$export($c49ada48cbc48220$exports, "useRangeCalendar", () => $c49ada48cbc48220$export$87e0539f600c24e5); | ||
function $5d091326d9b974e9$export$87e0539f600c24e5(props, state, ref) { | ||
let res = $e83b13bece3ba719$export$d652b3ea2d672d5b(props, state); | ||
res.nextButtonProps.id = $iAkYs$reactariautils.useId(); | ||
res.prevButtonProps.id = $iAkYs$reactariautils.useId(); | ||
function $c49ada48cbc48220$export$87e0539f600c24e5(props, state, ref2) { | ||
let res = $02ef492a56b91cb2$export$d652b3ea2d672d5b(props, state); | ||
res.nextButtonProps.id = $jzHdg$reactariautils.useId(); | ||
res.prevButtonProps.id = $jzHdg$reactariautils.useId(); | ||
// We need to ignore virtual pointer events from VoiceOver due to these bugs. | ||
@@ -351,4 +374,4 @@ // https://bugs.webkit.org/show_bug.cgi?id=222627 | ||
// useCalendarCell, causing range selection to not work properly. | ||
let isVirtualClick = $iAkYs$react.useRef(false); | ||
$iAkYs$reactariautils.useEvent($iAkYs$react.useRef(window), 'pointerdown', (e)=>{ | ||
let isVirtualClick = $jzHdg$react.useRef(false); | ||
$jzHdg$reactariautils.useEvent($jzHdg$react.useRef(window), 'pointerdown', (e)=>{ | ||
isVirtualClick.current = e.width === 0 && e.height === 0; | ||
@@ -359,2 +382,3 @@ }); | ||
let endDragging = (e)=>{ | ||
var ref, ref1; | ||
if (isVirtualClick.current) { | ||
@@ -368,8 +392,8 @@ isVirtualClick.current = false; | ||
let body = document.getElementById(res.calendarProps.id); | ||
if ((!body.contains(target) || target.getAttribute('role') !== 'button') && !document.getElementById(res.nextButtonProps.id)?.contains(target) && !document.getElementById(res.prevButtonProps.id)?.contains(target)) state.selectFocusedDate(); | ||
if ((!body.contains(target) || !target.closest('[role="button"]')) && !((ref = document.getElementById(res.nextButtonProps.id)) === null || ref === void 0 ? void 0 : ref.contains(target)) && !((ref1 = document.getElementById(res.prevButtonProps.id)) === null || ref1 === void 0 ? void 0 : ref1.contains(target))) state.selectFocusedDate(); | ||
}; | ||
$iAkYs$reactariautils.useEvent($iAkYs$react.useRef(window), 'pointerup', endDragging); | ||
$iAkYs$reactariautils.useEvent($iAkYs$react.useRef(window), 'pointercancel', endDragging); | ||
$jzHdg$reactariautils.useEvent($jzHdg$react.useRef(window), 'pointerup', endDragging); | ||
$jzHdg$reactariautils.useEvent($jzHdg$react.useRef(window), 'pointercancel', endDragging); | ||
// Prevent touch scrolling while dragging | ||
$iAkYs$reactariautils.useEvent(ref, 'touchmove', (e)=>{ | ||
$jzHdg$reactariautils.useEvent(ref2, 'touchmove', (e)=>{ | ||
if (state.isDragging) e.preventDefault(); | ||
@@ -384,11 +408,12 @@ }, { | ||
var $b60ea74e616e97d8$exports = {}; | ||
var $a07388a797d86b95$exports = {}; | ||
$parcel$export($b60ea74e616e97d8$exports, "useCalendarGrid", () => $b60ea74e616e97d8$export$cb95147730a423f5); | ||
$parcel$export($a07388a797d86b95$exports, "useCalendarGrid", () => $a07388a797d86b95$export$cb95147730a423f5); | ||
function $b60ea74e616e97d8$export$cb95147730a423f5(props, state) { | ||
let { isReadOnly: isReadOnly = false , isDisabled: isDisabled = false , startDate: startDate = state.visibleRange.start , endDate: endDate = state.visibleRange.end } = props; | ||
let { direction: direction } = $iAkYs$reactariai18n.useLocale(); | ||
function $a07388a797d86b95$export$cb95147730a423f5(props, state) { | ||
let { startDate: startDate = state.visibleRange.start , endDate: endDate = state.visibleRange.end } = props; | ||
let { direction: direction } = $jzHdg$reactariai18n.useLocale(); | ||
let onKeyDown = (e)=>{ | ||
@@ -446,14 +471,38 @@ switch(e.key){ | ||
}; | ||
let selectedDateDescription = $d676cc5de606f747$export$b6df97c887c38e1a(state); | ||
let descriptionProps = $iAkYs$reactariautils.useDescription(selectedDateDescription); | ||
let visibleRangeDescription = $d676cc5de606f747$export$31afe65d91ef6e8(startDate, endDate, state.timeZone); | ||
let labelProps = $iAkYs$reactariautils.useLabels({ | ||
let selectedDateDescription = $df1d8e967e73ec8e$export$b6df97c887c38e1a(state); | ||
let descriptionProps = $jzHdg$reactariautils.useDescription(selectedDateDescription); | ||
let visibleRangeDescription = $df1d8e967e73ec8e$export$31afe65d91ef6e8(startDate, endDate, state.timeZone); | ||
let labelProps = $jzHdg$reactariautils.useLabels({ | ||
'aria-label': visibleRangeDescription, | ||
'aria-labelledby': $d676cc5de606f747$export$3ddff89c59628ee7.get(state) | ||
'aria-labelledby': $df1d8e967e73ec8e$export$3ddff89c59628ee7.get(state) | ||
}); | ||
let dayFormatter = $jzHdg$reactariai18n.useDateFormatter({ | ||
weekday: 'narrow', | ||
timeZone: state.timeZone | ||
}); | ||
let dayFormatterLong = $jzHdg$reactariai18n.useDateFormatter({ | ||
weekday: 'long', | ||
timeZone: state.timeZone | ||
}); | ||
let { locale: locale } = $jzHdg$reactariai18n.useLocale(); | ||
let weekStart = $jzHdg$internationalizeddate.startOfWeek(state.visibleRange.start, locale); | ||
let weekDays = [ | ||
...new Array(7).keys() | ||
].map((index)=>{ | ||
let date = weekStart.add({ | ||
days: index | ||
}); | ||
let dateDay = date.toDate(state.timeZone); | ||
let narrow = dayFormatter.format(dateDay); | ||
let long = dayFormatterLong.format(dateDay); | ||
return { | ||
narrow: narrow, | ||
long: long | ||
}; | ||
}); | ||
return { | ||
gridProps: $iAkYs$reactariautils.mergeProps(descriptionProps, labelProps, { | ||
gridProps: $jzHdg$reactariautils.mergeProps(descriptionProps, labelProps, { | ||
role: 'grid', | ||
'aria-readonly': isReadOnly || null, | ||
'aria-disabled': isDisabled || null, | ||
'aria-readonly': state.isReadOnly || null, | ||
'aria-disabled': state.isDisabled || null, | ||
'aria-multiselectable': 'highlightedRange' in state || undefined, | ||
@@ -464,3 +513,4 @@ onKeyDown: onKeyDown, | ||
onBlur: ()=>state.setFocused(false) | ||
}) | ||
}), | ||
weekDays: weekDays | ||
}; | ||
@@ -470,5 +520,5 @@ } | ||
var $56cf0bd4c5080ff3$exports = {}; | ||
var $4d833327a32c9193$exports = {}; | ||
$parcel$export($56cf0bd4c5080ff3$exports, "useCalendarCell", () => $56cf0bd4c5080ff3$export$136073280381448e); | ||
$parcel$export($4d833327a32c9193$exports, "useCalendarCell", () => $4d833327a32c9193$export$136073280381448e); | ||
@@ -481,6 +531,6 @@ | ||
function $56cf0bd4c5080ff3$export$136073280381448e(props, state, ref) { | ||
function $4d833327a32c9193$export$136073280381448e(props, state, ref) { | ||
let { date: date , isDisabled: isDisabled } = props; | ||
let formatMessage = $iAkYs$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($d8244729bef971a6$exports))); | ||
let dateFormatter = $iAkYs$reactariai18n.useDateFormatter({ | ||
let formatMessage = $jzHdg$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($f87cd00fb2ba0f23$exports))); | ||
let dateFormatter = $jzHdg$reactariai18n.useDateFormatter({ | ||
weekday: 'long', | ||
@@ -496,8 +546,10 @@ day: 'numeric', | ||
isDisabled = isDisabled || state.isCellDisabled(date); | ||
let isUnavailable = state.isCellUnavailable(date); | ||
let isSelectable = !isDisabled && !isUnavailable; | ||
// For performance, reuse the same date object as before if the new date prop is the same. | ||
// This allows subsequent useMemo results to be reused. | ||
let lastDate = $iAkYs$react.useRef(null); | ||
if (lastDate.current && $iAkYs$internationalizeddate.isEqualDay(date, lastDate.current)) date = lastDate.current; | ||
let lastDate = $jzHdg$react.useRef(null); | ||
if (lastDate.current && $jzHdg$internationalizeddate.isEqualDay(date, lastDate.current)) date = lastDate.current; | ||
lastDate.current = date; | ||
let nativeDate = $iAkYs$react.useMemo(()=>date.toDate(state.timeZone) | ||
let nativeDate = $jzHdg$react.useMemo(()=>date.toDate(state.timeZone) | ||
, [ | ||
@@ -508,4 +560,4 @@ date, | ||
// aria-label should be localize Day of week, Month, Day and Year without Time. | ||
let isDateToday = $iAkYs$internationalizeddate.isToday(date, state.timeZone); | ||
let label = $iAkYs$react.useMemo(()=>{ | ||
let isDateToday = $jzHdg$internationalizeddate.isToday(date, state.timeZone); | ||
let label = $jzHdg$react.useMemo(()=>{ | ||
if (isDateToday) // If date is today, set appropriate string depending on selected state: | ||
@@ -529,3 +581,3 @@ return formatMessage(isSelected ? 'todayDateSelected' : 'todayDate', { | ||
// screenreader users know that they are in a range selection mode. | ||
if ('anchorDate' in state && isFocused && !state.isReadOnly) { | ||
if ('anchorDate' in state && isFocused && !state.isReadOnly && isSelectable) { | ||
let rangeSelectionPrompt = ''; | ||
@@ -538,6 +590,6 @@ // If selection has started add "click to finish selecting range" | ||
} | ||
let isAnchorPressed = $iAkYs$react.useRef(false); | ||
let isRangeBoundaryPressed = $iAkYs$react.useRef(false); | ||
let touchDragTimerRef = $iAkYs$react.useRef(null); | ||
let { pressProps: pressProps , isPressed: isPressed } = $iAkYs$reactariainteractions.usePress({ | ||
let isAnchorPressed = $jzHdg$react.useRef(false); | ||
let isRangeBoundaryPressed = $jzHdg$react.useRef(false); | ||
let touchDragTimerRef = $jzHdg$react.useRef(null); | ||
let { pressProps: pressProps , isPressed: isPressed } = $jzHdg$reactariainteractions.usePress({ | ||
// When dragging to select a range, we don't want dragging over the original anchor | ||
@@ -547,4 +599,8 @@ // again to trigger onPressStart. Cancel presses immediately when the pointer exits. | ||
preventFocusOnPress: true, | ||
isDisabled: isDisabled, | ||
isDisabled: !isSelectable, | ||
onPressStart (e) { | ||
if (state.isReadOnly) { | ||
state.setFocusedDate(date); | ||
return; | ||
} | ||
if ('highlightedRange' in state && !state.anchorDate && (e.pointerType === 'mouse' || e.pointerType === 'touch')) { | ||
@@ -554,3 +610,3 @@ // Allow dragging the start or end date of a range to modify it | ||
if (state.highlightedRange) { | ||
if ($iAkYs$internationalizeddate.isSameDay(date, state.highlightedRange.start)) { | ||
if ($jzHdg$internationalizeddate.isSameDay(date, state.highlightedRange.start)) { | ||
state.setAnchorDate(state.highlightedRange.end); | ||
@@ -561,3 +617,3 @@ state.setFocusedDate(date); | ||
return; | ||
} else if ($iAkYs$internationalizeddate.isSameDay(date, state.highlightedRange.end)) { | ||
} else if ($jzHdg$internationalizeddate.isSameDay(date, state.highlightedRange.end)) { | ||
state.setAnchorDate(state.highlightedRange.start); | ||
@@ -591,3 +647,3 @@ state.setFocusedDate(date); | ||
// For non-range selection, always select on press up. | ||
if (!('anchorDate' in state)) { | ||
if (!('anchorDate' in state) && !state.isReadOnly) { | ||
state.selectDate(date); | ||
@@ -598,2 +654,3 @@ state.setFocusedDate(date); | ||
onPressUp (e) { | ||
if (state.isReadOnly) return; | ||
// If the user tapped quickly, the date won't be selected yet and the | ||
@@ -624,3 +681,6 @@ // timer will still be in progress. In this case, select the date on touch up. | ||
}); | ||
if ($iAkYs$internationalizeddate.isSameMonth(date, nextDay)) state.setFocusedDate(nextDay); | ||
if (state.isInvalid(nextDay)) nextDay = date.subtract({ | ||
days: 1 | ||
}); | ||
if (!state.isInvalid(nextDay)) state.setFocusedDate(nextDay); | ||
} else if (e.pointerType === 'virtual') { | ||
@@ -635,6 +695,6 @@ // For screen readers, just select the date on click. | ||
let tabIndex = null; | ||
if (!isDisabled) tabIndex = $iAkYs$internationalizeddate.isSameDay(date, state.focusedDate) ? 0 : -1; | ||
if (!isDisabled) tabIndex = $jzHdg$internationalizeddate.isSameDay(date, state.focusedDate) ? 0 : -1; | ||
// Focus the button in the DOM when the state updates. | ||
$iAkYs$react.useEffect(()=>{ | ||
if (isFocused && ref.current) $iAkYs$reactariautils.focusWithoutScrolling(ref.current); | ||
$jzHdg$react.useEffect(()=>{ | ||
if (isFocused && ref.current) $jzHdg$reactariautils.focusWithoutScrolling(ref.current); | ||
}, [ | ||
@@ -644,9 +704,19 @@ isFocused, | ||
]); | ||
let cellDateFormatter = $jzHdg$reactariai18n.useDateFormatter({ | ||
day: 'numeric', | ||
timeZone: state.timeZone, | ||
calendar: date.calendar.identifier | ||
}); | ||
let formattedDate = $jzHdg$react.useMemo(()=>cellDateFormatter.format(nativeDate) | ||
, [ | ||
cellDateFormatter, | ||
nativeDate | ||
]); | ||
return { | ||
cellProps: { | ||
role: 'gridcell', | ||
'aria-disabled': isDisabled || null, | ||
'aria-selected': isSelected | ||
'aria-disabled': !isSelectable || null, | ||
'aria-selected': isSelectable ? isSelected : null | ||
}, | ||
buttonProps: $iAkYs$reactariautils.mergeProps(pressProps, { | ||
buttonProps: $jzHdg$reactariautils.mergeProps(pressProps, { | ||
onFocus () { | ||
@@ -657,7 +727,7 @@ if (!isDisabled) state.setFocusedDate(date); | ||
role: 'button', | ||
'aria-disabled': isDisabled || null, | ||
'aria-disabled': !isSelectable || null, | ||
'aria-label': label, | ||
onPointerEnter (e) { | ||
// Highlight the date on hover or drag over a date when selecting a range. | ||
if ('highlightDate' in state && (e.pointerType !== 'touch' || state.isDragging)) state.highlightDate(date); | ||
if ('highlightDate' in state && (e.pointerType !== 'touch' || state.isDragging) && isSelectable) state.highlightDate(date); | ||
}, | ||
@@ -675,3 +745,9 @@ onPointerDown (e) { | ||
}), | ||
isPressed: isPressed | ||
isPressed: isPressed, | ||
isFocused: isFocused, | ||
isSelected: isSelected, | ||
isDisabled: isDisabled, | ||
isUnavailable: isUnavailable, | ||
isOutsideVisibleRange: date.compare(state.visibleRange.start) < 0 || date.compare(state.visibleRange.end) > 0, | ||
formattedDate: formattedDate | ||
}; | ||
@@ -681,25 +757,12 @@ } | ||
var $ea5b2d3474793c1e$exports = {}; | ||
var $c22e9cfd2d8c9e8e$exports = {}; | ||
$parcel$export($ea5b2d3474793c1e$exports, "useCalendarTableHeader", () => $ea5b2d3474793c1e$export$2d550ec8e081e40b); | ||
function $ea5b2d3474793c1e$export$2d550ec8e081e40b() { | ||
return { | ||
columnHeaderProps: { | ||
scope: 'col' | ||
} | ||
}; | ||
} | ||
$parcel$exportWildcard(module.exports, $20e845123e697a89$exports); | ||
$parcel$exportWildcard(module.exports, $c49ada48cbc48220$exports); | ||
$parcel$exportWildcard(module.exports, $a07388a797d86b95$exports); | ||
$parcel$exportWildcard(module.exports, $4d833327a32c9193$exports); | ||
$parcel$exportWildcard(module.exports, $c22e9cfd2d8c9e8e$exports); | ||
var $5846e2bed8e6d78d$exports = {}; | ||
$parcel$exportWildcard(module.exports, $e3681a09276f447e$exports); | ||
$parcel$exportWildcard(module.exports, $5d091326d9b974e9$exports); | ||
$parcel$exportWildcard(module.exports, $b60ea74e616e97d8$exports); | ||
$parcel$exportWildcard(module.exports, $56cf0bd4c5080ff3$exports); | ||
$parcel$exportWildcard(module.exports, $ea5b2d3474793c1e$exports); | ||
$parcel$exportWildcard(module.exports, $5846e2bed8e6d78d$exports); | ||
//# sourceMappingURL=main.js.map |
@@ -1,7 +0,7 @@ | ||
import {announce as $fMuHj$announce} from "@react-aria/live-announcer"; | ||
import {useId as $fMuHj$useId, useUpdateEffect as $fMuHj$useUpdateEffect, useDescription as $fMuHj$useDescription, mergeProps as $fMuHj$mergeProps, useEvent as $fMuHj$useEvent, useLabels as $fMuHj$useLabels, focusWithoutScrolling as $fMuHj$focusWithoutScrolling} from "@react-aria/utils"; | ||
import {useMessageFormatter as $fMuHj$useMessageFormatter, useDateFormatter as $fMuHj$useDateFormatter, useLocale as $fMuHj$useLocale} from "@react-aria/i18n"; | ||
import {isSameDay as $fMuHj$isSameDay, toDate as $fMuHj$toDate, startOfMonth as $fMuHj$startOfMonth, endOfMonth as $fMuHj$endOfMonth, isEqualDay as $fMuHj$isEqualDay, isToday as $fMuHj$isToday, isSameMonth as $fMuHj$isSameMonth} from "@internationalized/date"; | ||
import {useMemo as $fMuHj$useMemo, useRef as $fMuHj$useRef, useEffect as $fMuHj$useEffect} from "react"; | ||
import {usePress as $fMuHj$usePress} from "@react-aria/interactions"; | ||
import {announce as $amWdn$announce} from "@react-aria/live-announcer"; | ||
import {useId as $amWdn$useId, useUpdateEffect as $amWdn$useUpdateEffect, useDescription as $amWdn$useDescription, mergeProps as $amWdn$mergeProps, useEvent as $amWdn$useEvent, useLabels as $amWdn$useLabels, focusWithoutScrolling as $amWdn$focusWithoutScrolling} from "@react-aria/utils"; | ||
import {useMessageFormatter as $amWdn$useMessageFormatter, useDateFormatter as $amWdn$useDateFormatter, useLocale as $amWdn$useLocale} from "@react-aria/i18n"; | ||
import {useRef as $amWdn$useRef, useMemo as $amWdn$useMemo, useEffect as $amWdn$useEffect} from "react"; | ||
import {isSameDay as $amWdn$isSameDay, startOfMonth as $amWdn$startOfMonth, endOfMonth as $amWdn$endOfMonth, startOfWeek as $amWdn$startOfWeek, isEqualDay as $amWdn$isEqualDay, isToday as $amWdn$isToday} from "@internationalized/date"; | ||
import {usePress as $amWdn$usePress} from "@react-aria/interactions"; | ||
@@ -14,179 +14,179 @@ function $parcel$export(e, n, v, s) { | ||
} | ||
var $e887a1fb79d9897c$exports = {}; | ||
var $9942cad8a072a530$exports = {}; | ||
$parcel$export($e887a1fb79d9897c$exports, "useCalendar", () => $e887a1fb79d9897c$export$3ee915f8151bd4f1); | ||
$parcel$export($9942cad8a072a530$exports, "useCalendar", () => $9942cad8a072a530$export$3ee915f8151bd4f1); | ||
var $5b4ce6a94ce0b71e$exports = {}; | ||
var $3f196f0e4eac3c3e$exports = {}; | ||
$3f196f0e4eac3c3e$exports = JSON.parse("{\"dateSelected\":\"تم تحديد {date, date, full}\",\"finishRangeSelectionPrompt\":\"انقر لإنهاء عملية تحديد نطاق التاريخ\",\"next\":\"التالي\",\"previous\":\"السابق\",\"selectedDateDescription\":\"التاريخ المحدد: {date, date, full}\",\"selectedRangeDescription\":\"النطاق المحدد: {start, date, long} إلى {end, date, long}\",\"startRangeSelectionPrompt\":\"انقر لبدء عملية تحديد نطاق التاريخ\",\"todayDate\":\"اليوم، {date, date, full}\",\"todayDateSelected\":\"اليوم، تم تحديد {date, date, full}\"}"); | ||
var $0fbdc3429b133a50$exports = {}; | ||
var $39324ace0d945f59$exports = {}; | ||
$39324ace0d945f59$exports = JSON.parse("{\"dateSelected\":\"تم تحديد {date, date, full}\",\"finishRangeSelectionPrompt\":\"انقر لإنهاء عملية تحديد نطاق التاريخ\",\"next\":\"التالي\",\"previous\":\"السابق\",\"selectedDateDescription\":\"التاريخ المحدد: {date, date, full}\",\"selectedRangeDescription\":\"النطاق المحدد: {start, date, long} إلى {end, date, long}\",\"startRangeSelectionPrompt\":\"انقر لبدء عملية تحديد نطاق التاريخ\",\"todayDate\":\"اليوم، {date, date, full}\",\"todayDateSelected\":\"اليوم، تم تحديد {date, date, full}\"}"); | ||
var $8aae80b09186378b$exports = {}; | ||
$8aae80b09186378b$exports = JSON.parse("{\"dateSelected\":\"избрани {date, date, full}\",\"finishRangeSelectionPrompt\":\"Натиснете, за да довършите избора на времеви интервал\",\"next\":\"Напред\",\"previous\":\"Назад\",\"selectedDateDescription\":\"Избрана дата: {date, date, full}\",\"selectedRangeDescription\":\"Избран интервал: от {start, date, long} до {end, date, long}\",\"startRangeSelectionPrompt\":\"Натиснете, за да пристъпите към избора на времеви интервал\",\"todayDate\":\"Днес {date, date, full}\",\"todayDateSelected\":\"Днес са избрани {date, date, full}\"}"); | ||
var $1830a539e98c7baf$exports = {}; | ||
$1830a539e98c7baf$exports = JSON.parse("{\"dateSelected\":\"избрани {date, date, full}\",\"finishRangeSelectionPrompt\":\"Натиснете, за да довършите избора на времеви интервал\",\"next\":\"Напред\",\"previous\":\"Назад\",\"selectedDateDescription\":\"Избрана дата: {date, date, full}\",\"selectedRangeDescription\":\"Избран интервал: от {start, date, long} до {end, date, long}\",\"startRangeSelectionPrompt\":\"Натиснете, за да пристъпите към избора на времеви интервал\",\"todayDate\":\"Днес {date, date, full}\",\"todayDateSelected\":\"Днес са избрани {date, date, full}\"}"); | ||
var $c737bc907c0f0bd4$exports = {}; | ||
$c737bc907c0f0bd4$exports = JSON.parse("{\"dateSelected\":\"Vybráno: {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknutím dokončíte výběr rozsahu dat\",\"next\":\"Další\",\"previous\":\"Předchozí\",\"selectedDateDescription\":\"Zvolené datum: {date, date, full}\",\"selectedRangeDescription\":\"Zvolený rozsah: {start, date, long} až {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknutím zahájíte výběr rozsahu dat\",\"todayDate\":\"Dnes, {date, date, full}\",\"todayDateSelected\":\"Vybrán dnešek: {date, date, full}\"}"); | ||
var $f4b92528965aab97$exports = {}; | ||
$f4b92528965aab97$exports = JSON.parse("{\"dateSelected\":\"Vybráno: {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknutím dokončíte výběr rozsahu dat\",\"next\":\"Další\",\"previous\":\"Předchozí\",\"selectedDateDescription\":\"Zvolené datum: {date, date, full}\",\"selectedRangeDescription\":\"Zvolený rozsah: {start, date, long} až {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknutím zahájíte výběr rozsahu dat\",\"todayDate\":\"Dnes, {date, date, full}\",\"todayDateSelected\":\"Vybrán dnešek: {date, date, full}\"}"); | ||
var $d7f72b2ec0382e6e$exports = {}; | ||
$d7f72b2ec0382e6e$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} valgt\",\"finishRangeSelectionPrompt\":\"Klik for at fuldføre valg af datoområde\",\"next\":\"Næste\",\"previous\":\"Forrige\",\"selectedDateDescription\":\"Valgt dato: {date, date, full}\",\"selectedRangeDescription\":\"Valgt område: {start, date, long} til {end, date, long}\",\"startRangeSelectionPrompt\":\"Klik for at starte valg af datoområde\",\"todayDate\":\"I dag, {date, date, full}\",\"todayDateSelected\":\"I dag, {date, date, full} valgt\"}"); | ||
var $1cd578ef0547c8f1$exports = {}; | ||
$1cd578ef0547c8f1$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} valgt\",\"finishRangeSelectionPrompt\":\"Klik for at fuldføre valg af datoområde\",\"next\":\"Næste\",\"previous\":\"Forrige\",\"selectedDateDescription\":\"Valgt dato: {date, date, full}\",\"selectedRangeDescription\":\"Valgt område: {start, date, long} til {end, date, long}\",\"startRangeSelectionPrompt\":\"Klik for at starte valg af datoområde\",\"todayDate\":\"I dag, {date, date, full}\",\"todayDateSelected\":\"I dag, {date, date, full} valgt\"}"); | ||
var $44feb83034d724a2$exports = {}; | ||
$44feb83034d724a2$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} ausgewählt\",\"finishRangeSelectionPrompt\":\"Klicken, um die Auswahl des Datumsbereichs zu beenden\",\"next\":\"Weiter\",\"previous\":\"Zurück\",\"selectedDateDescription\":\"Ausgewähltes Datum: {date, date, full}\",\"selectedRangeDescription\":\"Bereich auswählen: {start, date, long} bis {end, date, long}\",\"startRangeSelectionPrompt\":\"Klicken, um die Auswahl des Datumsbereichs zu beginnen\",\"todayDate\":\"Heute, {date, date, full}\",\"todayDateSelected\":\"Heute, {date, date, full} ausgewählt\"}"); | ||
var $db55a8973925d619$exports = {}; | ||
$db55a8973925d619$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} ausgewählt\",\"finishRangeSelectionPrompt\":\"Klicken, um die Auswahl des Datumsbereichs zu beenden\",\"next\":\"Weiter\",\"previous\":\"Zurück\",\"selectedDateDescription\":\"Ausgewähltes Datum: {date, date, full}\",\"selectedRangeDescription\":\"Bereich auswählen: {start, date, long} bis {end, date, long}\",\"startRangeSelectionPrompt\":\"Klicken, um die Auswahl des Datumsbereichs zu beginnen\",\"todayDate\":\"Heute, {date, date, full}\",\"todayDateSelected\":\"Heute, {date, date, full} ausgewählt\"}"); | ||
var $824169eabaf39a4d$exports = {}; | ||
$824169eabaf39a4d$exports = JSON.parse("{\"dateSelected\":\"Επιλέχτηκε {date, date, full}\",\"finishRangeSelectionPrompt\":\"Κάντε κλικ για να ολοκληρώσετε την επιλογή εύρους ημερομηνιών\",\"next\":\"Επόμενο\",\"previous\":\"Προηγούμενο\",\"selectedDateDescription\":\"Επιλεγμένη ημερομηνία: {date, date, full}\",\"selectedRangeDescription\":\"Επιλεγμένο εύρος: {start, date, long} έως {end, date, long}\",\"startRangeSelectionPrompt\":\"Κάντε κλικ για να ξεκινήσετε την επιλογή εύρους ημερομηνιών\",\"todayDate\":\"Σήμερα, {date, date, full}\",\"todayDateSelected\":\"Σήμερα, επιλέχτηκε {date, date, full}\"}"); | ||
var $ec6937d58566d443$exports = {}; | ||
$ec6937d58566d443$exports = JSON.parse("{\"dateSelected\":\"Επιλέχτηκε {date, date, full}\",\"finishRangeSelectionPrompt\":\"Κάντε κλικ για να ολοκληρώσετε την επιλογή εύρους ημερομηνιών\",\"next\":\"Επόμενο\",\"previous\":\"Προηγούμενο\",\"selectedDateDescription\":\"Επιλεγμένη ημερομηνία: {date, date, full}\",\"selectedRangeDescription\":\"Επιλεγμένο εύρος: {start, date, long} έως {end, date, long}\",\"startRangeSelectionPrompt\":\"Κάντε κλικ για να ξεκινήσετε την επιλογή εύρους ημερομηνιών\",\"todayDate\":\"Σήμερα, {date, date, full}\",\"todayDateSelected\":\"Σήμερα, επιλέχτηκε {date, date, full}\"}"); | ||
var $c7daa608974c0189$exports = {}; | ||
$c7daa608974c0189$exports = JSON.parse("{\"previous\":\"Previous\",\"next\":\"Next\",\"selectedDateDescription\":\"Selected Date: {date, date, full}\",\"selectedRangeDescription\":\"Selected Range: {start, date, long} to {end, date, long}\",\"todayDate\":\"Today, {date, date, full}\",\"todayDateSelected\":\"Today, {date, date, full} selected\",\"dateSelected\":\"{date, date, full} selected\",\"startRangeSelectionPrompt\":\"Click to start selecting date range\",\"finishRangeSelectionPrompt\":\"Click to finish selecting date range\"}"); | ||
var $1f5cea0742dc284a$exports = {}; | ||
$1f5cea0742dc284a$exports = JSON.parse("{\"previous\":\"Previous\",\"next\":\"Next\",\"selectedDateDescription\":\"Selected Date: {date, date, full}\",\"selectedRangeDescription\":\"Selected Range: {start, date, long} to {end, date, long}\",\"todayDate\":\"Today, {date, date, full}\",\"todayDateSelected\":\"Today, {date, date, full} selected\",\"dateSelected\":\"{date, date, full} selected\",\"startRangeSelectionPrompt\":\"Click to start selecting date range\",\"finishRangeSelectionPrompt\":\"Click to finish selecting date range\"}"); | ||
var $a0350ecbc8b9e157$exports = {}; | ||
$a0350ecbc8b9e157$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} seleccionado\",\"finishRangeSelectionPrompt\":\"Haga clic para terminar de seleccionar rango de fechas\",\"next\":\"Siguiente\",\"previous\":\"Anterior\",\"selectedDateDescription\":\"Fecha seleccionada: {date, date, full}\",\"selectedRangeDescription\":\"Seleccionar rango: {start, date, long} a {end, date, long}\",\"startRangeSelectionPrompt\":\"Haga clic para comenzar a seleccionar un rango de fechas\",\"todayDate\":\"Hoy, {date, date, full}\",\"todayDateSelected\":\"Hoy, {date, date, full} seleccionado\"}"); | ||
var $2ca7ea366384817b$exports = {}; | ||
$2ca7ea366384817b$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} seleccionado\",\"finishRangeSelectionPrompt\":\"Haga clic para terminar de seleccionar rango de fechas\",\"next\":\"Siguiente\",\"previous\":\"Anterior\",\"selectedDateDescription\":\"Fecha seleccionada: {date, date, full}\",\"selectedRangeDescription\":\"Seleccionar rango: {start, date, long} a {end, date, long}\",\"startRangeSelectionPrompt\":\"Haga clic para comenzar a seleccionar un rango de fechas\",\"todayDate\":\"Hoy, {date, date, full}\",\"todayDateSelected\":\"Hoy, {date, date, full} seleccionado\"}"); | ||
var $41f16b9235d0224e$exports = {}; | ||
$41f16b9235d0224e$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} valitud\",\"finishRangeSelectionPrompt\":\"Klõpsake kuupäevavahemiku valimise lõpetamiseks\",\"next\":\"Järgmine\",\"previous\":\"Eelmine\",\"selectedDateDescription\":\"Valitud kuupäev: {date, date, full}\",\"selectedRangeDescription\":\"Valitud vahemik: {start, date, long} kuni {end, date, long}\",\"startRangeSelectionPrompt\":\"Klõpsake kuupäevavahemiku valimiseks\",\"todayDate\":\"Täna {date, date, full}\",\"todayDateSelected\":\"Täna {date, date, full} valitud\"}"); | ||
var $97874a7fe9cd091f$exports = {}; | ||
$97874a7fe9cd091f$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} valitud\",\"finishRangeSelectionPrompt\":\"Klõpsake kuupäevavahemiku valimise lõpetamiseks\",\"next\":\"Järgmine\",\"previous\":\"Eelmine\",\"selectedDateDescription\":\"Valitud kuupäev: {date, date, full}\",\"selectedRangeDescription\":\"Valitud vahemik: {start, date, long} kuni {end, date, long}\",\"startRangeSelectionPrompt\":\"Klõpsake kuupäevavahemiku valimiseks\",\"todayDate\":\"Täna {date, date, full}\",\"todayDateSelected\":\"Täna {date, date, full} valitud\"}"); | ||
var $30d71ad94c2d8688$exports = {}; | ||
$30d71ad94c2d8688$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} valittu\",\"finishRangeSelectionPrompt\":\"Lopeta päivämääräalueen valinta napsauttamalla tätä.\",\"next\":\"Seuraava\",\"previous\":\"Edellinen\",\"selectedDateDescription\":\"Valittu päivämäärä: {date, date, full}\",\"selectedRangeDescription\":\"Valittu alue: {start, date, long} - {end, date, long}\",\"startRangeSelectionPrompt\":\"Aloita päivämääräalueen valinta napsauttamalla tätä.\",\"todayDate\":\"Tänään, {date, date, full}\",\"todayDateSelected\":\"Tänään, {date, date, full} valittu\"}"); | ||
var $5d376b7fce1a45b2$exports = {}; | ||
$5d376b7fce1a45b2$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} valittu\",\"finishRangeSelectionPrompt\":\"Lopeta päivämääräalueen valinta napsauttamalla tätä.\",\"next\":\"Seuraava\",\"previous\":\"Edellinen\",\"selectedDateDescription\":\"Valittu päivämäärä: {date, date, full}\",\"selectedRangeDescription\":\"Valittu alue: {start, date, long} - {end, date, long}\",\"startRangeSelectionPrompt\":\"Aloita päivämääräalueen valinta napsauttamalla tätä.\",\"todayDate\":\"Tänään, {date, date, full}\",\"todayDateSelected\":\"Tänään, {date, date, full} valittu\"}"); | ||
var $bec0d67649ced856$exports = {}; | ||
$bec0d67649ced856$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} sélectionné\",\"finishRangeSelectionPrompt\":\"Cliquer pour finir de sélectionner la plage de dates\",\"next\":\"Suivant\",\"previous\":\"Précédent\",\"selectedDateDescription\":\"Date sélectionnée : {date, date, full}\",\"selectedRangeDescription\":\"Plage sélectionnée : {start, date, long} à {end, date, long}\",\"startRangeSelectionPrompt\":\"Cliquer pour commencer à sélectionner la plage de dates\",\"todayDate\":\"Aujourd’hui, {date, date, full}\",\"todayDateSelected\":\"Aujourd’hui, {date, date, full} sélectionné\"}"); | ||
var $3bf722b362aaf54d$exports = {}; | ||
$3bf722b362aaf54d$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} sélectionné\",\"finishRangeSelectionPrompt\":\"Cliquer pour finir de sélectionner la plage de dates\",\"next\":\"Suivant\",\"previous\":\"Précédent\",\"selectedDateDescription\":\"Date sélectionnée : {date, date, full}\",\"selectedRangeDescription\":\"Plage sélectionnée : {start, date, long} à {end, date, long}\",\"startRangeSelectionPrompt\":\"Cliquer pour commencer à sélectionner la plage de dates\",\"todayDate\":\"Aujourd’hui, {date, date, full}\",\"todayDateSelected\":\"Aujourd’hui, {date, date, full} sélectionné\"}"); | ||
var $c150c6d3011a2275$exports = {}; | ||
$c150c6d3011a2275$exports = JSON.parse("{\"dateSelected\":\"התאריך {date, date, full} שנבחר\",\"finishRangeSelectionPrompt\":\"חץ כדי לסיים את בחירת טווח התאריכים\",\"next\":\"הבא\",\"previous\":\"הקודם\",\"selectedDateDescription\":\"התאריך שנבחר: {date, date, full}\",\"selectedRangeDescription\":\"הטווח שנבחר: מ-{start, date, long} ועד {end, date, long}\",\"startRangeSelectionPrompt\":\"לחץ כדי להתחיל בבחירת טווח התאריכים\",\"todayDate\":\"היום, {date, date, full}\",\"todayDateSelected\":\"היום, התאריך {date, date, full} שנבחר\"}"); | ||
var $38c43f8322316031$exports = {}; | ||
$38c43f8322316031$exports = JSON.parse("{\"dateSelected\":\"התאריך {date, date, full} שנבחר\",\"finishRangeSelectionPrompt\":\"חץ כדי לסיים את בחירת טווח התאריכים\",\"next\":\"הבא\",\"previous\":\"הקודם\",\"selectedDateDescription\":\"התאריך שנבחר: {date, date, full}\",\"selectedRangeDescription\":\"הטווח שנבחר: מ-{start, date, long} ועד {end, date, long}\",\"startRangeSelectionPrompt\":\"לחץ כדי להתחיל בבחירת טווח התאריכים\",\"todayDate\":\"היום, {date, date, full}\",\"todayDateSelected\":\"היום, התאריך {date, date, full} שנבחר\"}"); | ||
var $f44bb3850ed617ea$exports = {}; | ||
$f44bb3850ed617ea$exports = JSON.parse("{\"dateSelected\":\"Odabran {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknite da dovršite raspon odabranih datuma\",\"next\":\"Sljedeći\",\"previous\":\"Prethodni\",\"selectedDateDescription\":\"Odabrani datum: {date, date, full}\",\"selectedRangeDescription\":\"Odabrani raspon: od {start, date, long} do {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknite da započnete raspon odabranih datuma\",\"todayDate\":\"Danas, {date, date, full}\",\"todayDateSelected\":\"Danas, odabran {date, date, full}\"}"); | ||
var $c90e0f32b44630bf$exports = {}; | ||
$c90e0f32b44630bf$exports = JSON.parse("{\"dateSelected\":\"Odabran {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknite da dovršite raspon odabranih datuma\",\"next\":\"Sljedeći\",\"previous\":\"Prethodni\",\"selectedDateDescription\":\"Odabrani datum: {date, date, full}\",\"selectedRangeDescription\":\"Odabrani raspon: od {start, date, long} do {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknite da započnete raspon odabranih datuma\",\"todayDate\":\"Danas, {date, date, full}\",\"todayDateSelected\":\"Danas, odabran {date, date, full}\"}"); | ||
var $ab01611c0bfb097c$exports = {}; | ||
$ab01611c0bfb097c$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} kijelölve\",\"finishRangeSelectionPrompt\":\"Kattintson a dátumtartomány kijelölésének befejezéséhez\",\"next\":\"Következő\",\"previous\":\"Előző\",\"selectedDateDescription\":\"Kijelölt dátum: {date, date, full}\",\"selectedRangeDescription\":\"Kijelölt tartomány: {start, date, long} – {end, date, long}\",\"startRangeSelectionPrompt\":\"Kattintson a dátumtartomány kijelölésének indításához\",\"todayDate\":\"Ma, {date, date, full}\",\"todayDateSelected\":\"Ma, {date, date, full} kijelölve\"}"); | ||
var $715875e6e7a338f4$exports = {}; | ||
$715875e6e7a338f4$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} kijelölve\",\"finishRangeSelectionPrompt\":\"Kattintson a dátumtartomány kijelölésének befejezéséhez\",\"next\":\"Következő\",\"previous\":\"Előző\",\"selectedDateDescription\":\"Kijelölt dátum: {date, date, full}\",\"selectedRangeDescription\":\"Kijelölt tartomány: {start, date, long} – {end, date, long}\",\"startRangeSelectionPrompt\":\"Kattintson a dátumtartomány kijelölésének indításához\",\"todayDate\":\"Ma, {date, date, full}\",\"todayDateSelected\":\"Ma, {date, date, full} kijelölve\"}"); | ||
var $f08f739aeee610f5$exports = {}; | ||
$f08f739aeee610f5$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} selezionato\",\"finishRangeSelectionPrompt\":\"Fai clic per completare la selezione dell’intervallo di date\",\"next\":\"Successivo\",\"previous\":\"Precedente\",\"selectedDateDescription\":\"Data selezionata: {date, date, full}\",\"selectedRangeDescription\":\"Intervallo selezionato: da {start, date, long} a {end, date, long}\",\"startRangeSelectionPrompt\":\"Fai clic per selezionare l’intervallo di date\",\"todayDate\":\"Oggi, {date, date, full}\",\"todayDateSelected\":\"Oggi, {date, date, full} selezionato\"}"); | ||
var $37d77c66e34daccf$exports = {}; | ||
$37d77c66e34daccf$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} selezionato\",\"finishRangeSelectionPrompt\":\"Fai clic per completare la selezione dell’intervallo di date\",\"next\":\"Successivo\",\"previous\":\"Precedente\",\"selectedDateDescription\":\"Data selezionata: {date, date, full}\",\"selectedRangeDescription\":\"Intervallo selezionato: da {start, date, long} a {end, date, long}\",\"startRangeSelectionPrompt\":\"Fai clic per selezionare l’intervallo di date\",\"todayDate\":\"Oggi, {date, date, full}\",\"todayDateSelected\":\"Oggi, {date, date, full} selezionato\"}"); | ||
var $0811ee592887695d$exports = {}; | ||
$0811ee592887695d$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} を選択\",\"finishRangeSelectionPrompt\":\"クリックして日付範囲の選択を終了\",\"next\":\"次へ\",\"previous\":\"前へ\",\"selectedDateDescription\":\"日付を選択:{date, date, full}\",\"selectedRangeDescription\":\"範囲を選択:{start, date, long} から {end, date, long}\",\"startRangeSelectionPrompt\":\"クリックして日付範囲の選択を開始\",\"todayDate\":\"本日、{date, date, full}\",\"todayDateSelected\":\"本日、{date, date, full} を選択\"}"); | ||
var $542f39aee29303c3$exports = {}; | ||
$542f39aee29303c3$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} を選択\",\"finishRangeSelectionPrompt\":\"クリックして日付範囲の選択を終了\",\"next\":\"次へ\",\"previous\":\"前へ\",\"selectedDateDescription\":\"日付を選択:{date, date, full}\",\"selectedRangeDescription\":\"範囲を選択:{start, date, long} から {end, date, long}\",\"startRangeSelectionPrompt\":\"クリックして日付範囲の選択を開始\",\"todayDate\":\"本日、{date, date, full}\",\"todayDateSelected\":\"本日、{date, date, full} を選択\"}"); | ||
var $8364319cfaffff6b$exports = {}; | ||
$8364319cfaffff6b$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} 선택함\",\"finishRangeSelectionPrompt\":\"날짜 범위 선택을 완료하려면 클릭하십시오.\",\"next\":\"다음\",\"previous\":\"이전\",\"selectedDateDescription\":\"선택한 날짜: {date, date, full}\",\"selectedRangeDescription\":\"선택한 범위: {start, date, long} ~ {end, date, long}\",\"startRangeSelectionPrompt\":\"날짜 범위 선택을 시작하려면 클릭하십시오.\",\"todayDate\":\"오늘, {date, date, full}\",\"todayDateSelected\":\"오늘, {date, date, full} 선택함\"}"); | ||
var $22a5f0623ea73e4f$exports = {}; | ||
$22a5f0623ea73e4f$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} 선택함\",\"finishRangeSelectionPrompt\":\"날짜 범위 선택을 완료하려면 클릭하십시오.\",\"next\":\"다음\",\"previous\":\"이전\",\"selectedDateDescription\":\"선택한 날짜: {date, date, full}\",\"selectedRangeDescription\":\"선택한 범위: {start, date, long} ~ {end, date, long}\",\"startRangeSelectionPrompt\":\"날짜 범위 선택을 시작하려면 클릭하십시오.\",\"todayDate\":\"오늘, {date, date, full}\",\"todayDateSelected\":\"오늘, {date, date, full} 선택함\"}"); | ||
var $a3c1c579108f9e2f$exports = {}; | ||
$a3c1c579108f9e2f$exports = JSON.parse("{\"dateSelected\":\"Pasirinkta {date, date, full}\",\"finishRangeSelectionPrompt\":\"Spustelėkite, kad baigtumėte pasirinkti datų intervalą\",\"next\":\"Paskesnis\",\"previous\":\"Ankstesnis\",\"selectedDateDescription\":\"Pasirinkta data: {date, date, full}\",\"selectedRangeDescription\":\"Pasirinktas intervalas: nuo {start, date, long} iki {end, date, long}\",\"startRangeSelectionPrompt\":\"Spustelėkite, kad pradėtumėte pasirinkti datų intervalą\",\"todayDate\":\"Šiandien, {date, date, full}\",\"todayDateSelected\":\"Šiandien, pasirinkta {date, date, full}\"}"); | ||
var $522380d13d62cba0$exports = {}; | ||
$522380d13d62cba0$exports = JSON.parse("{\"dateSelected\":\"Pasirinkta {date, date, full}\",\"finishRangeSelectionPrompt\":\"Spustelėkite, kad baigtumėte pasirinkti datų intervalą\",\"next\":\"Paskesnis\",\"previous\":\"Ankstesnis\",\"selectedDateDescription\":\"Pasirinkta data: {date, date, full}\",\"selectedRangeDescription\":\"Pasirinktas intervalas: nuo {start, date, long} iki {end, date, long}\",\"startRangeSelectionPrompt\":\"Spustelėkite, kad pradėtumėte pasirinkti datų intervalą\",\"todayDate\":\"Šiandien, {date, date, full}\",\"todayDateSelected\":\"Šiandien, pasirinkta {date, date, full}\"}"); | ||
var $cca172a89ca64f1a$exports = {}; | ||
$cca172a89ca64f1a$exports = JSON.parse("{\"dateSelected\":\"Atlasīts {date, date, full}\",\"finishRangeSelectionPrompt\":\"Noklikšķiniet, lai pabeigtu datumu diapazona atlasi\",\"next\":\"Tālāk\",\"previous\":\"Atpakaļ\",\"selectedDateDescription\":\"Atlasītais datums: {date, date, full}\",\"selectedRangeDescription\":\"Atlasītais diapazons: {start, date, long} līdz {end, date, long}\",\"startRangeSelectionPrompt\":\"Noklikšķiniet, lai sāktu datumu diapazona atlasi\",\"todayDate\":\"Šodiena, {date, date, full}\",\"todayDateSelected\":\"Atlasīta šodiena, {date, date, full}\"}"); | ||
var $8a7bc830b2fe6485$exports = {}; | ||
$8a7bc830b2fe6485$exports = JSON.parse("{\"dateSelected\":\"Atlasīts {date, date, full}\",\"finishRangeSelectionPrompt\":\"Noklikšķiniet, lai pabeigtu datumu diapazona atlasi\",\"next\":\"Tālāk\",\"previous\":\"Atpakaļ\",\"selectedDateDescription\":\"Atlasītais datums: {date, date, full}\",\"selectedRangeDescription\":\"Atlasītais diapazons: {start, date, long} līdz {end, date, long}\",\"startRangeSelectionPrompt\":\"Noklikšķiniet, lai sāktu datumu diapazona atlasi\",\"todayDate\":\"Šodiena, {date, date, full}\",\"todayDateSelected\":\"Atlasīta šodiena, {date, date, full}\"}"); | ||
var $c8514384d7c4ceb1$exports = {}; | ||
$c8514384d7c4ceb1$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} valgt\",\"finishRangeSelectionPrompt\":\"Klikk for å fullføre valg av datoområde\",\"next\":\"Neste\",\"previous\":\"Forrige\",\"selectedDateDescription\":\"Valgt dato: {date, date, full}\",\"selectedRangeDescription\":\"Valgt område: {start, date, long} til {end, date, long}\",\"startRangeSelectionPrompt\":\"Klikk for å starte valg av datoområde\",\"todayDate\":\"I dag, {date, date, full}\",\"todayDateSelected\":\"I dag, {date, date, full} valgt\"}"); | ||
var $9fac9c044470683b$exports = {}; | ||
$9fac9c044470683b$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} valgt\",\"finishRangeSelectionPrompt\":\"Klikk for å fullføre valg av datoområde\",\"next\":\"Neste\",\"previous\":\"Forrige\",\"selectedDateDescription\":\"Valgt dato: {date, date, full}\",\"selectedRangeDescription\":\"Valgt område: {start, date, long} til {end, date, long}\",\"startRangeSelectionPrompt\":\"Klikk for å starte valg av datoområde\",\"todayDate\":\"I dag, {date, date, full}\",\"todayDateSelected\":\"I dag, {date, date, full} valgt\"}"); | ||
var $ca85a2f2a3280f5f$exports = {}; | ||
$ca85a2f2a3280f5f$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} geselecteerd\",\"finishRangeSelectionPrompt\":\"Klik om de selectie van het datumbereik te voltooien\",\"next\":\"Volgende\",\"previous\":\"Vorige\",\"selectedDateDescription\":\"Geselecteerde datum: {date, date, full}\",\"selectedRangeDescription\":\"Geselecteerd bereik: {start, date, long} t/m {end, date, long}\",\"startRangeSelectionPrompt\":\"Klik om het datumbereik te selecteren\",\"todayDate\":\"Vandaag, {date, date, full}\",\"todayDateSelected\":\"Vandaag, {date, date, full} geselecteerd\"}"); | ||
var $b127d3569efb1449$exports = {}; | ||
$b127d3569efb1449$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} geselecteerd\",\"finishRangeSelectionPrompt\":\"Klik om de selectie van het datumbereik te voltooien\",\"next\":\"Volgende\",\"previous\":\"Vorige\",\"selectedDateDescription\":\"Geselecteerde datum: {date, date, full}\",\"selectedRangeDescription\":\"Geselecteerd bereik: {start, date, long} t/m {end, date, long}\",\"startRangeSelectionPrompt\":\"Klik om het datumbereik te selecteren\",\"todayDate\":\"Vandaag, {date, date, full}\",\"todayDateSelected\":\"Vandaag, {date, date, full} geselecteerd\"}"); | ||
var $dea2afcf85d0e8db$exports = {}; | ||
$dea2afcf85d0e8db$exports = JSON.parse("{\"dateSelected\":\"Wybrano {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknij, aby zakończyć wybór zakresu dat\",\"next\":\"Dalej\",\"previous\":\"Wstecz\",\"selectedDateDescription\":\"Wybrana data: {date, date, full}\",\"selectedRangeDescription\":\"Wybrany zakres: {start, date, long} do {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknij, aby rozpocząć wybór zakresu dat\",\"todayDate\":\"Dzisiaj {date, date, full}\",\"todayDateSelected\":\"Dzisiaj wybrano {date, date, full}\"}"); | ||
var $51404a4090633490$exports = {}; | ||
$51404a4090633490$exports = JSON.parse("{\"dateSelected\":\"Wybrano {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknij, aby zakończyć wybór zakresu dat\",\"next\":\"Dalej\",\"previous\":\"Wstecz\",\"selectedDateDescription\":\"Wybrana data: {date, date, full}\",\"selectedRangeDescription\":\"Wybrany zakres: {start, date, long} do {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknij, aby rozpocząć wybór zakresu dat\",\"todayDate\":\"Dzisiaj {date, date, full}\",\"todayDateSelected\":\"Dzisiaj wybrano {date, date, full}\"}"); | ||
var $0931c07997219b4c$exports = {}; | ||
$0931c07997219b4c$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} selecionado\",\"finishRangeSelectionPrompt\":\"Clique para concluir a seleção do intervalo de datas\",\"next\":\"Próximo\",\"previous\":\"Anterior\",\"selectedDateDescription\":\"Data selecionada: {date, date, full}\",\"selectedRangeDescription\":\"Intervalo selecionado: {start, date, long} até {end, date, long}\",\"startRangeSelectionPrompt\":\"Clique para iniciar a seleção do intervalo de datas\",\"todayDate\":\"Hoje, {date, date, full}\",\"todayDateSelected\":\"Hoje, {date, date, full} selecionado\"}"); | ||
var $e5e6a3fe3b4527df$exports = {}; | ||
$e5e6a3fe3b4527df$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} selecionado\",\"finishRangeSelectionPrompt\":\"Clique para concluir a seleção do intervalo de datas\",\"next\":\"Próximo\",\"previous\":\"Anterior\",\"selectedDateDescription\":\"Data selecionada: {date, date, full}\",\"selectedRangeDescription\":\"Intervalo selecionado: {start, date, long} até {end, date, long}\",\"startRangeSelectionPrompt\":\"Clique para iniciar a seleção do intervalo de datas\",\"todayDate\":\"Hoje, {date, date, full}\",\"todayDateSelected\":\"Hoje, {date, date, full} selecionado\"}"); | ||
var $77d3363930db2a1e$exports = {}; | ||
$77d3363930db2a1e$exports = JSON.parse("{\"dateSelected\":\"{data, data, completo} selecionado\",\"finishRangeSelectionPrompt\":\"Clique para terminar de selecionar o intervalo de datas\",\"next\":\"Próximo\",\"previous\":\"Anterior\",\"selectedDateDescription\":\"Data Selecionada: {data, data, completo}\",\"selectedRangeDescription\":\"Selecionar Intervalo: {início, data, longo} a {término, data, longo}\",\"startRangeSelectionPrompt\":\"Clique para começar a selecionar o intervalo de datas\",\"todayDate\":\"Hoje, {date, date, full}\",\"todayDateSelected\":\"Hoje, {date, date, full} selecionado\"}"); | ||
var $c519dcadcbb1ee47$exports = {}; | ||
$c519dcadcbb1ee47$exports = JSON.parse("{\"dateSelected\":\"{data, data, completo} selecionado\",\"finishRangeSelectionPrompt\":\"Clique para terminar de selecionar o intervalo de datas\",\"next\":\"Próximo\",\"previous\":\"Anterior\",\"selectedDateDescription\":\"Data Selecionada: {data, data, completo}\",\"selectedRangeDescription\":\"Selecionar Intervalo: {início, data, longo} a {término, data, longo}\",\"startRangeSelectionPrompt\":\"Clique para começar a selecionar o intervalo de datas\",\"todayDate\":\"Hoje, {date, date, full}\",\"todayDateSelected\":\"Hoje, {date, date, full} selecionado\"}"); | ||
var $c1d0b2591740ac34$exports = {}; | ||
$c1d0b2591740ac34$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} selectată\",\"finishRangeSelectionPrompt\":\"Apăsaţi pentru a finaliza selecţia razei pentru dată\",\"next\":\"Următorul\",\"previous\":\"Înainte\",\"selectedDateDescription\":\"Dată selectată: {date, date, full}\",\"selectedRangeDescription\":\"Selectaţi raza: {start, date, long} la {end, date, long}\",\"startRangeSelectionPrompt\":\"Apăsaţi pentru a începe selecţia razei pentru dată\",\"todayDate\":\"Astăzi, {date, date, full}\",\"todayDateSelected\":\"Dată, {date, date, full} selectată\"}"); | ||
var $e5aa0186ca7889c6$exports = {}; | ||
$e5aa0186ca7889c6$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} selectată\",\"finishRangeSelectionPrompt\":\"Apăsaţi pentru a finaliza selecţia razei pentru dată\",\"next\":\"Următorul\",\"previous\":\"Înainte\",\"selectedDateDescription\":\"Dată selectată: {date, date, full}\",\"selectedRangeDescription\":\"Selectaţi raza: {start, date, long} la {end, date, long}\",\"startRangeSelectionPrompt\":\"Apăsaţi pentru a începe selecţia razei pentru dată\",\"todayDate\":\"Astăzi, {date, date, full}\",\"todayDateSelected\":\"Dată, {date, date, full} selectată\"}"); | ||
var $5f663a0bdcff9906$exports = {}; | ||
$5f663a0bdcff9906$exports = JSON.parse("{\"dateSelected\":\"выбрано {date, date, full}\",\"finishRangeSelectionPrompt\":\"Щелкните, чтобы завершить выбор диапазона дат\",\"next\":\"Далее\",\"previous\":\"Назад\",\"selectedDateDescription\":\"Выбранная дата: {date, date, full}\",\"selectedRangeDescription\":\"Выбранный диапазон: {start, date, long} – {end, date, long}\",\"startRangeSelectionPrompt\":\"Щелкните, чтобы начать выбор диапазона дат\",\"todayDate\":\"Сегодня, {date, date, full}\",\"todayDateSelected\":\"Сегодня, выбрано {date, date, full}\"}"); | ||
var $5b907f5fa3eee652$exports = {}; | ||
$5b907f5fa3eee652$exports = JSON.parse("{\"dateSelected\":\"выбрано {date, date, full}\",\"finishRangeSelectionPrompt\":\"Щелкните, чтобы завершить выбор диапазона дат\",\"next\":\"Далее\",\"previous\":\"Назад\",\"selectedDateDescription\":\"Выбранная дата: {date, date, full}\",\"selectedRangeDescription\":\"Выбранный диапазон: {start, date, long} – {end, date, long}\",\"startRangeSelectionPrompt\":\"Щелкните, чтобы начать выбор диапазона дат\",\"todayDate\":\"Сегодня, {date, date, full}\",\"todayDateSelected\":\"Сегодня, выбрано {date, date, full}\"}"); | ||
var $43ed715e7998cf2d$exports = {}; | ||
$43ed715e7998cf2d$exports = JSON.parse("{\"dateSelected\":\"Vybratý dátum {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknutím dokončíte výber rozsahu dátumov\",\"next\":\"Nasledujúce\",\"previous\":\"Predchádzajúce\",\"selectedDateDescription\":\"Vybratý dátum: {date, date, full}\",\"selectedRangeDescription\":\"Vybratý rozsah dátumov: {start, date, long} do {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknutím spustíte výber rozsahu dátumov\",\"todayDate\":\"Dnešný dátum, {date, date, full}\",\"todayDateSelected\":\"Vybratý dnešný dátum, {date, date, full}\"}"); | ||
var $1b4c51359c99cf79$exports = {}; | ||
$1b4c51359c99cf79$exports = JSON.parse("{\"dateSelected\":\"Vybratý dátum {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknutím dokončíte výber rozsahu dátumov\",\"next\":\"Nasledujúce\",\"previous\":\"Predchádzajúce\",\"selectedDateDescription\":\"Vybratý dátum: {date, date, full}\",\"selectedRangeDescription\":\"Vybratý rozsah dátumov: {start, date, long} do {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknutím spustíte výber rozsahu dátumov\",\"todayDate\":\"Dnešný dátum, {date, date, full}\",\"todayDateSelected\":\"Vybratý dnešný dátum, {date, date, full}\"}"); | ||
var $bce8ca85baad4459$exports = {}; | ||
$bce8ca85baad4459$exports = JSON.parse("{\"dateSelected\":\"izbrano: {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknite za dokončanje izbire datumskega obsega\",\"next\":\"Naprej\",\"previous\":\"Nazaj\",\"selectedDateDescription\":\"Izbrani datum: {date, date, full}\",\"selectedRangeDescription\":\"Izbrani razpon: {start, date, long} do {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknite za začetek izbire datumskega obsega\",\"todayDate\":\"Danes, {date, date, full}\",\"todayDateSelected\":\"Danes, izbrano: {date, date, full}\"}"); | ||
var $02e4e6a4608cc6f3$exports = {}; | ||
$02e4e6a4608cc6f3$exports = JSON.parse("{\"dateSelected\":\"izbrano: {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknite za dokončanje izbire datumskega obsega\",\"next\":\"Naprej\",\"previous\":\"Nazaj\",\"selectedDateDescription\":\"Izbrani datum: {date, date, full}\",\"selectedRangeDescription\":\"Izbrani razpon: {start, date, long} do {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknite za začetek izbire datumskega obsega\",\"todayDate\":\"Danes, {date, date, full}\",\"todayDateSelected\":\"Danes, izbrano: {date, date, full}\"}"); | ||
var $57038fc70c102ee8$exports = {}; | ||
$57038fc70c102ee8$exports = JSON.parse("{\"dateSelected\":\"Izabran {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknite da dovršite opseg izabranih datuma\",\"next\":\"Sledeći\",\"previous\":\"Prethodni\",\"selectedDateDescription\":\"Izabrani datum: {date, date, full}\",\"selectedRangeDescription\":\"Izabrani opseg: od {start, date, long} do {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknite da započnete opseg izabranih datuma\",\"todayDate\":\"Danas, {date, date, full}\",\"todayDateSelected\":\"Danas, izabran {date, date, full}\"}"); | ||
var $6dd2fbaad93b6878$exports = {}; | ||
$6dd2fbaad93b6878$exports = JSON.parse("{\"dateSelected\":\"Izabran {date, date, full}\",\"finishRangeSelectionPrompt\":\"Kliknite da dovršite opseg izabranih datuma\",\"next\":\"Sledeći\",\"previous\":\"Prethodni\",\"selectedDateDescription\":\"Izabrani datum: {date, date, full}\",\"selectedRangeDescription\":\"Izabrani opseg: od {start, date, long} do {end, date, long}\",\"startRangeSelectionPrompt\":\"Kliknite da započnete opseg izabranih datuma\",\"todayDate\":\"Danas, {date, date, full}\",\"todayDateSelected\":\"Danas, izabran {date, date, full}\"}"); | ||
var $4d5306c2016cf5bd$exports = {}; | ||
$4d5306c2016cf5bd$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} har valts\",\"finishRangeSelectionPrompt\":\"Klicka för att avsluta val av datumintervall\",\"next\":\"Nästa\",\"previous\":\"Föregående\",\"selectedDateDescription\":\"Valt datum: {date, date, full}\",\"selectedRangeDescription\":\"Valt intervall: {start, date, long} till {end, date, long}\",\"startRangeSelectionPrompt\":\"Klicka för att välja datumintervall\",\"todayDate\":\"I dag, {date, date, full}\",\"todayDateSelected\":\"I dag, {date, date, full} har valts\"}"); | ||
var $33ea59bfe6e804e0$exports = {}; | ||
$33ea59bfe6e804e0$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} har valts\",\"finishRangeSelectionPrompt\":\"Klicka för att avsluta val av datumintervall\",\"next\":\"Nästa\",\"previous\":\"Föregående\",\"selectedDateDescription\":\"Valt datum: {date, date, full}\",\"selectedRangeDescription\":\"Valt intervall: {start, date, long} till {end, date, long}\",\"startRangeSelectionPrompt\":\"Klicka för att välja datumintervall\",\"todayDate\":\"I dag, {date, date, full}\",\"todayDateSelected\":\"I dag, {date, date, full} har valts\"}"); | ||
var $4f57ab41f7d7d113$exports = {}; | ||
$4f57ab41f7d7d113$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} seçildi\",\"finishRangeSelectionPrompt\":\"Tarih aralığı seçimini tamamlamak için tıklayın\",\"next\":\"Sonraki\",\"previous\":\"Önceki\",\"selectedDateDescription\":\"Seçili Tarih: {date, date, full}\",\"selectedRangeDescription\":\"Seçili Aralık: {start, date, long} - {end, date, long}\",\"startRangeSelectionPrompt\":\"Tarih aralığı seçimini başlatmak için tıklayın\",\"todayDate\":\"Bugün, {date, date, full}\",\"todayDateSelected\":\"Bugün, {date, date, full} seçildi\"}"); | ||
var $4603b0d0246969b2$exports = {}; | ||
$4603b0d0246969b2$exports = JSON.parse("{\"dateSelected\":\"{date, date, full} seçildi\",\"finishRangeSelectionPrompt\":\"Tarih aralığı seçimini tamamlamak için tıklayın\",\"next\":\"Sonraki\",\"previous\":\"Önceki\",\"selectedDateDescription\":\"Seçili Tarih: {date, date, full}\",\"selectedRangeDescription\":\"Seçili Aralık: {start, date, long} - {end, date, long}\",\"startRangeSelectionPrompt\":\"Tarih aralığı seçimini başlatmak için tıklayın\",\"todayDate\":\"Bugün, {date, date, full}\",\"todayDateSelected\":\"Bugün, {date, date, full} seçildi\"}"); | ||
var $a7d08336e26cad0d$exports = {}; | ||
$a7d08336e26cad0d$exports = JSON.parse("{\"dateSelected\":\"Вибрано: {date, date, full}\",\"finishRangeSelectionPrompt\":\"Натисніть, щоб завершити вибір діапазону дат\",\"next\":\"Наступний\",\"previous\":\"Попередній\",\"selectedDateDescription\":\"Вибрана дата: {date, date, full}\",\"selectedRangeDescription\":\"Вибраний діапазон: від {start, date, long} до {end, date, long}\",\"startRangeSelectionPrompt\":\"Натисніть, щоб почати вибір діапазону дат\",\"todayDate\":\"Сьогодні: {date, date, full}\",\"todayDateSelected\":\"Сьогодні вибрано: {date, date, full}\"}"); | ||
var $82649816f530bb1b$exports = {}; | ||
$82649816f530bb1b$exports = JSON.parse("{\"dateSelected\":\"Вибрано: {date, date, full}\",\"finishRangeSelectionPrompt\":\"Натисніть, щоб завершити вибір діапазону дат\",\"next\":\"Наступний\",\"previous\":\"Попередній\",\"selectedDateDescription\":\"Вибрана дата: {date, date, full}\",\"selectedRangeDescription\":\"Вибраний діапазон: від {start, date, long} до {end, date, long}\",\"startRangeSelectionPrompt\":\"Натисніть, щоб почати вибір діапазону дат\",\"todayDate\":\"Сьогодні: {date, date, full}\",\"todayDateSelected\":\"Сьогодні вибрано: {date, date, full}\"}"); | ||
var $635e9e2a3362c81a$exports = {}; | ||
$635e9e2a3362c81a$exports = JSON.parse("{\"dateSelected\":\"已选择 {date, date, full}\",\"finishRangeSelectionPrompt\":\"单击以完成选择日期范围\",\"next\":\"下一页\",\"previous\":\"上一页\",\"selectedDateDescription\":\"选定的日期: {date, date, full}\",\"selectedRangeDescription\":\"选定的范围: {start, date, long} 到 {end, date, long}\",\"startRangeSelectionPrompt\":\"单击以开始选择日期范围\",\"todayDate\":\"今天({date, date, full})\",\"todayDateSelected\":\"已选择今天({date, date, full})\"}"); | ||
var $628e140a43dfb330$exports = {}; | ||
$628e140a43dfb330$exports = JSON.parse("{\"dateSelected\":\"已选择 {date, date, full}\",\"finishRangeSelectionPrompt\":\"单击以完成选择日期范围\",\"next\":\"下一页\",\"previous\":\"上一页\",\"selectedDateDescription\":\"选定的日期: {date, date, full}\",\"selectedRangeDescription\":\"选定的范围: {start, date, long} 到 {end, date, long}\",\"startRangeSelectionPrompt\":\"单击以开始选择日期范围\",\"todayDate\":\"今天({date, date, full})\",\"todayDateSelected\":\"已选择今天({date, date, full})\"}"); | ||
var $b69e2d0b00c31d77$exports = {}; | ||
$b69e2d0b00c31d77$exports = JSON.parse("{\"dateSelected\":\"已選取 {date, date, full}\",\"finishRangeSelectionPrompt\":\"按一下以完成選取日期範圍\",\"next\":\"下一頁\",\"previous\":\"上一頁\",\"selectedDateDescription\":\"選取日期: {date, date, full}\",\"selectedRangeDescription\":\"選取範圍: {start, date, long} 至 {end, date, long}\",\"startRangeSelectionPrompt\":\"按一下以開始選取日期範圍\",\"todayDate\":\"今日,{date, date, full}\",\"todayDateSelected\":\"今日,已選取 {date, date, full}\"}"); | ||
var $745937250cd4679c$exports = {}; | ||
$745937250cd4679c$exports = JSON.parse("{\"dateSelected\":\"已選取 {date, date, full}\",\"finishRangeSelectionPrompt\":\"按一下以完成選取日期範圍\",\"next\":\"下一頁\",\"previous\":\"上一頁\",\"selectedDateDescription\":\"選取日期: {date, date, full}\",\"selectedRangeDescription\":\"選取範圍: {start, date, long} 至 {end, date, long}\",\"startRangeSelectionPrompt\":\"按一下以開始選取日期範圍\",\"todayDate\":\"今日,{date, date, full}\",\"todayDateSelected\":\"今日,已選取 {date, date, full}\"}"); | ||
$5b4ce6a94ce0b71e$exports = { | ||
"ar-AE": $3f196f0e4eac3c3e$exports, | ||
"bg-BG": $8aae80b09186378b$exports, | ||
"cs-CZ": $c737bc907c0f0bd4$exports, | ||
"da-DK": $d7f72b2ec0382e6e$exports, | ||
"de-DE": $44feb83034d724a2$exports, | ||
"el-GR": $824169eabaf39a4d$exports, | ||
"en-US": $c7daa608974c0189$exports, | ||
"es-ES": $a0350ecbc8b9e157$exports, | ||
"et-EE": $41f16b9235d0224e$exports, | ||
"fi-FI": $30d71ad94c2d8688$exports, | ||
"fr-FR": $bec0d67649ced856$exports, | ||
"he-IL": $c150c6d3011a2275$exports, | ||
"hr-HR": $f44bb3850ed617ea$exports, | ||
"hu-HU": $ab01611c0bfb097c$exports, | ||
"it-IT": $f08f739aeee610f5$exports, | ||
"ja-JP": $0811ee592887695d$exports, | ||
"ko-KR": $8364319cfaffff6b$exports, | ||
"lt-LT": $a3c1c579108f9e2f$exports, | ||
"lv-LV": $cca172a89ca64f1a$exports, | ||
"nb-NO": $c8514384d7c4ceb1$exports, | ||
"nl-NL": $ca85a2f2a3280f5f$exports, | ||
"pl-PL": $dea2afcf85d0e8db$exports, | ||
"pt-BR": $0931c07997219b4c$exports, | ||
"pt-PT": $77d3363930db2a1e$exports, | ||
"ro-RO": $c1d0b2591740ac34$exports, | ||
"ru-RU": $5f663a0bdcff9906$exports, | ||
"sk-SK": $43ed715e7998cf2d$exports, | ||
"sl-SI": $bce8ca85baad4459$exports, | ||
"sr-SP": $57038fc70c102ee8$exports, | ||
"sv-SE": $4d5306c2016cf5bd$exports, | ||
"tr-TR": $4f57ab41f7d7d113$exports, | ||
"uk-UA": $a7d08336e26cad0d$exports, | ||
"zh-CN": $635e9e2a3362c81a$exports, | ||
"zh-TW": $b69e2d0b00c31d77$exports | ||
$0fbdc3429b133a50$exports = { | ||
"ar-AE": $39324ace0d945f59$exports, | ||
"bg-BG": $1830a539e98c7baf$exports, | ||
"cs-CZ": $f4b92528965aab97$exports, | ||
"da-DK": $1cd578ef0547c8f1$exports, | ||
"de-DE": $db55a8973925d619$exports, | ||
"el-GR": $ec6937d58566d443$exports, | ||
"en-US": $1f5cea0742dc284a$exports, | ||
"es-ES": $2ca7ea366384817b$exports, | ||
"et-EE": $97874a7fe9cd091f$exports, | ||
"fi-FI": $5d376b7fce1a45b2$exports, | ||
"fr-FR": $3bf722b362aaf54d$exports, | ||
"he-IL": $38c43f8322316031$exports, | ||
"hr-HR": $c90e0f32b44630bf$exports, | ||
"hu-HU": $715875e6e7a338f4$exports, | ||
"it-IT": $37d77c66e34daccf$exports, | ||
"ja-JP": $542f39aee29303c3$exports, | ||
"ko-KR": $22a5f0623ea73e4f$exports, | ||
"lt-LT": $522380d13d62cba0$exports, | ||
"lv-LV": $8a7bc830b2fe6485$exports, | ||
"nb-NO": $9fac9c044470683b$exports, | ||
"nl-NL": $b127d3569efb1449$exports, | ||
"pl-PL": $51404a4090633490$exports, | ||
"pt-BR": $e5e6a3fe3b4527df$exports, | ||
"pt-PT": $c519dcadcbb1ee47$exports, | ||
"ro-RO": $e5aa0186ca7889c6$exports, | ||
"ru-RU": $5b907f5fa3eee652$exports, | ||
"sk-SK": $1b4c51359c99cf79$exports, | ||
"sl-SI": $02e4e6a4608cc6f3$exports, | ||
"sr-SP": $6dd2fbaad93b6878$exports, | ||
"sv-SE": $33ea59bfe6e804e0$exports, | ||
"tr-TR": $4603b0d0246969b2$exports, | ||
"uk-UA": $82649816f530bb1b$exports, | ||
"zh-CN": $628e140a43dfb330$exports, | ||
"zh-TW": $745937250cd4679c$exports | ||
}; | ||
@@ -197,5 +197,5 @@ | ||
const $d8d55ab39ff37410$export$3ddff89c59628ee7 = new WeakMap(); | ||
function $d8d55ab39ff37410$export$b6df97c887c38e1a(state) { | ||
let formatMessage = $fMuHj$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($5b4ce6a94ce0b71e$exports))); | ||
const $a074e1e2d0f0a665$export$3ddff89c59628ee7 = new WeakMap(); | ||
function $a074e1e2d0f0a665$export$b6df97c887c38e1a(state) { | ||
let formatMessage = $amWdn$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($0fbdc3429b133a50$exports))); | ||
let start, end; | ||
@@ -206,3 +206,3 @@ if ('highlightedRange' in state) ({ start: start , end: end } = state.highlightedRange || { | ||
let anchorDate = 'anchorDate' in state ? state.anchorDate : null; | ||
return $fMuHj$useMemo(()=>{ | ||
return $amWdn$useMemo(()=>{ | ||
// No message if currently selecting a range, or there is nothing highlighted. | ||
@@ -212,8 +212,8 @@ if (!anchorDate && start && end) { | ||
// otherwise include both dates. | ||
if ($fMuHj$isSameDay(start, end)) return formatMessage('selectedDateDescription', { | ||
date: $fMuHj$toDate(start, state.timeZone) | ||
if ($amWdn$isSameDay(start, end)) return formatMessage('selectedDateDescription', { | ||
date: start.toDate(state.timeZone) | ||
}); | ||
else return formatMessage('selectedRangeDescription', { | ||
start: $fMuHj$toDate(start, state.timeZone), | ||
end: $fMuHj$toDate(end, state.timeZone) | ||
start: start.toDate(state.timeZone), | ||
end: end.toDate(state.timeZone) | ||
}); | ||
@@ -230,19 +230,21 @@ } | ||
} | ||
function $d8d55ab39ff37410$export$31afe65d91ef6e8(startDate, endDate, timeZone) { | ||
let monthFormatter = $fMuHj$useDateFormatter({ | ||
function $a074e1e2d0f0a665$export$31afe65d91ef6e8(startDate, endDate, timeZone) { | ||
let monthFormatter = $amWdn$useDateFormatter({ | ||
month: 'long', | ||
year: 'numeric', | ||
era: startDate.calendar.identifier !== 'gregory' ? 'long' : undefined, | ||
calendar: startDate.calendar.identifier | ||
calendar: startDate.calendar.identifier, | ||
timeZone: timeZone | ||
}); | ||
let dateFormatter = $fMuHj$useDateFormatter({ | ||
let dateFormatter = $amWdn$useDateFormatter({ | ||
dateStyle: 'long', | ||
calendar: startDate.calendar.identifier | ||
calendar: startDate.calendar.identifier, | ||
timeZone: timeZone | ||
}); | ||
return $fMuHj$useMemo(()=>{ | ||
return $amWdn$useMemo(()=>{ | ||
// Special case for month granularity. Format as a single month if only a | ||
// single month is visible, otherwise format as a range of months. | ||
if ($fMuHj$isSameDay(startDate, $fMuHj$startOfMonth(startDate))) { | ||
if ($fMuHj$isSameDay(endDate, $fMuHj$endOfMonth(startDate))) return monthFormatter.format(startDate.toDate(timeZone)); | ||
else if ($fMuHj$isSameDay(endDate, $fMuHj$endOfMonth(endDate))) return monthFormatter.formatRange(startDate.toDate(timeZone), endDate.toDate(timeZone)); | ||
if ($amWdn$isSameDay(startDate, $amWdn$startOfMonth(startDate))) { | ||
if ($amWdn$isSameDay(endDate, $amWdn$endOfMonth(startDate))) return monthFormatter.format(startDate.toDate(timeZone)); | ||
else if ($amWdn$isSameDay(endDate, $amWdn$endOfMonth(endDate))) return monthFormatter.formatRange(startDate.toDate(timeZone), endDate.toDate(timeZone)); | ||
} | ||
@@ -263,10 +265,11 @@ return dateFormatter.formatRange(startDate.toDate(timeZone), endDate.toDate(timeZone)); | ||
function $67840124b1f8d8bc$export$d652b3ea2d672d5b(props, state) { | ||
let formatMessage = $fMuHj$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($5b4ce6a94ce0b71e$exports))); | ||
let calendarId = $fMuHj$useId(props.id); | ||
let visibleRangeDescription = $d8d55ab39ff37410$export$31afe65d91ef6e8(state.visibleRange.start, state.visibleRange.end, state.timeZone); | ||
function $c4acc1de3ab169cf$export$d652b3ea2d672d5b(props, state) { | ||
let formatMessage = $amWdn$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($0fbdc3429b133a50$exports))); | ||
let calendarId = $amWdn$useId(props.id); | ||
let visibleRangeDescription = $a074e1e2d0f0a665$export$31afe65d91ef6e8(state.visibleRange.start, state.visibleRange.end, state.timeZone); | ||
// Announce when the visible date range changes | ||
$fMuHj$useUpdateEffect(()=>{ | ||
$amWdn$useUpdateEffect(()=>{ | ||
// only when pressing the Previous or Next button | ||
if (!state.isFocused) $fMuHj$announce(visibleRangeDescription); | ||
if (!state.isFocused) $amWdn$announce(visibleRangeDescription); | ||
}, [ | ||
@@ -276,5 +279,5 @@ visibleRangeDescription | ||
// Announce when the selected value changes | ||
let selectedDateDescription = $d8d55ab39ff37410$export$b6df97c887c38e1a(state); | ||
$fMuHj$useUpdateEffect(()=>{ | ||
if (selectedDateDescription) $fMuHj$announce(selectedDateDescription, 'polite', 4000); | ||
let selectedDateDescription = $a074e1e2d0f0a665$export$b6df97c887c38e1a(state); | ||
$amWdn$useUpdateEffect(()=>{ | ||
if (selectedDateDescription) $amWdn$announce(selectedDateDescription, 'polite', 4000); | ||
// handle an update to the caption that describes the currently selected range, to announce the new value | ||
@@ -284,7 +287,20 @@ }, [ | ||
]); | ||
let descriptionProps = $fMuHj$useDescription(visibleRangeDescription); | ||
let descriptionProps = $amWdn$useDescription(visibleRangeDescription); | ||
// Label the child grid elements by the group element if it is labelled. | ||
$d8d55ab39ff37410$export$3ddff89c59628ee7.set(state, props['aria-label'] || props['aria-labelledby'] ? calendarId : null); | ||
$a074e1e2d0f0a665$export$3ddff89c59628ee7.set(state, props['aria-label'] || props['aria-labelledby'] ? calendarId : null); | ||
// If the next or previous buttons become disabled while they are focused, move focus to the calendar body. | ||
let nextFocused = $amWdn$useRef(false); | ||
let nextDisabled = props.isDisabled || state.isNextVisibleRangeInvalid(); | ||
if (nextDisabled && nextFocused.current) { | ||
nextFocused.current = false; | ||
state.setFocused(true); | ||
} | ||
let previousFocused = $amWdn$useRef(false); | ||
let previousDisabled = props.isDisabled || state.isPreviousVisibleRangeInvalid(); | ||
if (previousDisabled && previousFocused.current) { | ||
previousFocused.current = false; | ||
state.setFocused(true); | ||
} | ||
return { | ||
calendarProps: $fMuHj$mergeProps(descriptionProps, { | ||
calendarProps: $amWdn$mergeProps(descriptionProps, { | ||
role: 'group', | ||
@@ -299,3 +315,6 @@ id: calendarId, | ||
'aria-label': formatMessage('next'), | ||
isDisabled: props.isDisabled || state.isNextVisibleRangeInvalid() | ||
isDisabled: nextDisabled, | ||
onFocus: ()=>nextFocused.current = true | ||
, | ||
onBlur: ()=>nextFocused.current = false | ||
}, | ||
@@ -306,4 +325,8 @@ prevButtonProps: { | ||
'aria-label': formatMessage('previous'), | ||
isDisabled: props.isDisabled || state.isPreviousVisibleRangeInvalid() | ||
} | ||
isDisabled: previousDisabled, | ||
onFocus: ()=>previousFocused.current = true | ||
, | ||
onBlur: ()=>previousFocused.current = false | ||
}, | ||
title: visibleRangeDescription | ||
}; | ||
@@ -313,17 +336,17 @@ } | ||
function $e887a1fb79d9897c$export$3ee915f8151bd4f1(props, state) { | ||
return $67840124b1f8d8bc$export$d652b3ea2d672d5b(props, state); | ||
function $9942cad8a072a530$export$3ee915f8151bd4f1(props, state) { | ||
return $c4acc1de3ab169cf$export$d652b3ea2d672d5b(props, state); | ||
} | ||
var $c7b5bc9340158c8c$exports = {}; | ||
var $46a4342aab3d8076$exports = {}; | ||
$parcel$export($c7b5bc9340158c8c$exports, "useRangeCalendar", () => $c7b5bc9340158c8c$export$87e0539f600c24e5); | ||
$parcel$export($46a4342aab3d8076$exports, "useRangeCalendar", () => $46a4342aab3d8076$export$87e0539f600c24e5); | ||
function $c7b5bc9340158c8c$export$87e0539f600c24e5(props, state, ref) { | ||
let res = $67840124b1f8d8bc$export$d652b3ea2d672d5b(props, state); | ||
res.nextButtonProps.id = $fMuHj$useId(); | ||
res.prevButtonProps.id = $fMuHj$useId(); | ||
function $46a4342aab3d8076$export$87e0539f600c24e5(props, state, ref2) { | ||
let res = $c4acc1de3ab169cf$export$d652b3ea2d672d5b(props, state); | ||
res.nextButtonProps.id = $amWdn$useId(); | ||
res.prevButtonProps.id = $amWdn$useId(); | ||
// We need to ignore virtual pointer events from VoiceOver due to these bugs. | ||
@@ -335,4 +358,4 @@ // https://bugs.webkit.org/show_bug.cgi?id=222627 | ||
// useCalendarCell, causing range selection to not work properly. | ||
let isVirtualClick = $fMuHj$useRef(false); | ||
$fMuHj$useEvent($fMuHj$useRef(window), 'pointerdown', (e)=>{ | ||
let isVirtualClick = $amWdn$useRef(false); | ||
$amWdn$useEvent($amWdn$useRef(window), 'pointerdown', (e)=>{ | ||
isVirtualClick.current = e.width === 0 && e.height === 0; | ||
@@ -343,2 +366,3 @@ }); | ||
let endDragging = (e)=>{ | ||
var ref, ref1; | ||
if (isVirtualClick.current) { | ||
@@ -352,8 +376,8 @@ isVirtualClick.current = false; | ||
let body = document.getElementById(res.calendarProps.id); | ||
if ((!body.contains(target) || target.getAttribute('role') !== 'button') && !document.getElementById(res.nextButtonProps.id)?.contains(target) && !document.getElementById(res.prevButtonProps.id)?.contains(target)) state.selectFocusedDate(); | ||
if ((!body.contains(target) || !target.closest('[role="button"]')) && !((ref = document.getElementById(res.nextButtonProps.id)) === null || ref === void 0 ? void 0 : ref.contains(target)) && !((ref1 = document.getElementById(res.prevButtonProps.id)) === null || ref1 === void 0 ? void 0 : ref1.contains(target))) state.selectFocusedDate(); | ||
}; | ||
$fMuHj$useEvent($fMuHj$useRef(window), 'pointerup', endDragging); | ||
$fMuHj$useEvent($fMuHj$useRef(window), 'pointercancel', endDragging); | ||
$amWdn$useEvent($amWdn$useRef(window), 'pointerup', endDragging); | ||
$amWdn$useEvent($amWdn$useRef(window), 'pointercancel', endDragging); | ||
// Prevent touch scrolling while dragging | ||
$fMuHj$useEvent(ref, 'touchmove', (e)=>{ | ||
$amWdn$useEvent(ref2, 'touchmove', (e)=>{ | ||
if (state.isDragging) e.preventDefault(); | ||
@@ -368,11 +392,12 @@ }, { | ||
var $420573fe31d1a62d$exports = {}; | ||
var $e3031d1f8c9d64eb$exports = {}; | ||
$parcel$export($420573fe31d1a62d$exports, "useCalendarGrid", () => $420573fe31d1a62d$export$cb95147730a423f5); | ||
$parcel$export($e3031d1f8c9d64eb$exports, "useCalendarGrid", () => $e3031d1f8c9d64eb$export$cb95147730a423f5); | ||
function $420573fe31d1a62d$export$cb95147730a423f5(props, state) { | ||
let { isReadOnly: isReadOnly = false , isDisabled: isDisabled = false , startDate: startDate = state.visibleRange.start , endDate: endDate = state.visibleRange.end } = props; | ||
let { direction: direction } = $fMuHj$useLocale(); | ||
function $e3031d1f8c9d64eb$export$cb95147730a423f5(props, state) { | ||
let { startDate: startDate = state.visibleRange.start , endDate: endDate = state.visibleRange.end } = props; | ||
let { direction: direction } = $amWdn$useLocale(); | ||
let onKeyDown = (e)=>{ | ||
@@ -430,14 +455,38 @@ switch(e.key){ | ||
}; | ||
let selectedDateDescription = $d8d55ab39ff37410$export$b6df97c887c38e1a(state); | ||
let descriptionProps = $fMuHj$useDescription(selectedDateDescription); | ||
let visibleRangeDescription = $d8d55ab39ff37410$export$31afe65d91ef6e8(startDate, endDate, state.timeZone); | ||
let labelProps = $fMuHj$useLabels({ | ||
let selectedDateDescription = $a074e1e2d0f0a665$export$b6df97c887c38e1a(state); | ||
let descriptionProps = $amWdn$useDescription(selectedDateDescription); | ||
let visibleRangeDescription = $a074e1e2d0f0a665$export$31afe65d91ef6e8(startDate, endDate, state.timeZone); | ||
let labelProps = $amWdn$useLabels({ | ||
'aria-label': visibleRangeDescription, | ||
'aria-labelledby': $d8d55ab39ff37410$export$3ddff89c59628ee7.get(state) | ||
'aria-labelledby': $a074e1e2d0f0a665$export$3ddff89c59628ee7.get(state) | ||
}); | ||
let dayFormatter = $amWdn$useDateFormatter({ | ||
weekday: 'narrow', | ||
timeZone: state.timeZone | ||
}); | ||
let dayFormatterLong = $amWdn$useDateFormatter({ | ||
weekday: 'long', | ||
timeZone: state.timeZone | ||
}); | ||
let { locale: locale } = $amWdn$useLocale(); | ||
let weekStart = $amWdn$startOfWeek(state.visibleRange.start, locale); | ||
let weekDays = [ | ||
...new Array(7).keys() | ||
].map((index)=>{ | ||
let date = weekStart.add({ | ||
days: index | ||
}); | ||
let dateDay = date.toDate(state.timeZone); | ||
let narrow = dayFormatter.format(dateDay); | ||
let long = dayFormatterLong.format(dateDay); | ||
return { | ||
narrow: narrow, | ||
long: long | ||
}; | ||
}); | ||
return { | ||
gridProps: $fMuHj$mergeProps(descriptionProps, labelProps, { | ||
gridProps: $amWdn$mergeProps(descriptionProps, labelProps, { | ||
role: 'grid', | ||
'aria-readonly': isReadOnly || null, | ||
'aria-disabled': isDisabled || null, | ||
'aria-readonly': state.isReadOnly || null, | ||
'aria-disabled': state.isDisabled || null, | ||
'aria-multiselectable': 'highlightedRange' in state || undefined, | ||
@@ -448,3 +497,4 @@ onKeyDown: onKeyDown, | ||
onBlur: ()=>state.setFocused(false) | ||
}) | ||
}), | ||
weekDays: weekDays | ||
}; | ||
@@ -454,5 +504,5 @@ } | ||
var $6c48f226d1849f29$exports = {}; | ||
var $36a0ac60f04457c5$exports = {}; | ||
$parcel$export($6c48f226d1849f29$exports, "useCalendarCell", () => $6c48f226d1849f29$export$136073280381448e); | ||
$parcel$export($36a0ac60f04457c5$exports, "useCalendarCell", () => $36a0ac60f04457c5$export$136073280381448e); | ||
@@ -465,6 +515,6 @@ | ||
function $6c48f226d1849f29$export$136073280381448e(props, state, ref) { | ||
function $36a0ac60f04457c5$export$136073280381448e(props, state, ref) { | ||
let { date: date , isDisabled: isDisabled } = props; | ||
let formatMessage = $fMuHj$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($5b4ce6a94ce0b71e$exports))); | ||
let dateFormatter = $fMuHj$useDateFormatter({ | ||
let formatMessage = $amWdn$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($0fbdc3429b133a50$exports))); | ||
let dateFormatter = $amWdn$useDateFormatter({ | ||
weekday: 'long', | ||
@@ -480,8 +530,10 @@ day: 'numeric', | ||
isDisabled = isDisabled || state.isCellDisabled(date); | ||
let isUnavailable = state.isCellUnavailable(date); | ||
let isSelectable = !isDisabled && !isUnavailable; | ||
// For performance, reuse the same date object as before if the new date prop is the same. | ||
// This allows subsequent useMemo results to be reused. | ||
let lastDate = $fMuHj$useRef(null); | ||
if (lastDate.current && $fMuHj$isEqualDay(date, lastDate.current)) date = lastDate.current; | ||
let lastDate = $amWdn$useRef(null); | ||
if (lastDate.current && $amWdn$isEqualDay(date, lastDate.current)) date = lastDate.current; | ||
lastDate.current = date; | ||
let nativeDate = $fMuHj$useMemo(()=>date.toDate(state.timeZone) | ||
let nativeDate = $amWdn$useMemo(()=>date.toDate(state.timeZone) | ||
, [ | ||
@@ -492,4 +544,4 @@ date, | ||
// aria-label should be localize Day of week, Month, Day and Year without Time. | ||
let isDateToday = $fMuHj$isToday(date, state.timeZone); | ||
let label = $fMuHj$useMemo(()=>{ | ||
let isDateToday = $amWdn$isToday(date, state.timeZone); | ||
let label = $amWdn$useMemo(()=>{ | ||
if (isDateToday) // If date is today, set appropriate string depending on selected state: | ||
@@ -513,3 +565,3 @@ return formatMessage(isSelected ? 'todayDateSelected' : 'todayDate', { | ||
// screenreader users know that they are in a range selection mode. | ||
if ('anchorDate' in state && isFocused && !state.isReadOnly) { | ||
if ('anchorDate' in state && isFocused && !state.isReadOnly && isSelectable) { | ||
let rangeSelectionPrompt = ''; | ||
@@ -522,6 +574,6 @@ // If selection has started add "click to finish selecting range" | ||
} | ||
let isAnchorPressed = $fMuHj$useRef(false); | ||
let isRangeBoundaryPressed = $fMuHj$useRef(false); | ||
let touchDragTimerRef = $fMuHj$useRef(null); | ||
let { pressProps: pressProps , isPressed: isPressed } = $fMuHj$usePress({ | ||
let isAnchorPressed = $amWdn$useRef(false); | ||
let isRangeBoundaryPressed = $amWdn$useRef(false); | ||
let touchDragTimerRef = $amWdn$useRef(null); | ||
let { pressProps: pressProps , isPressed: isPressed } = $amWdn$usePress({ | ||
// When dragging to select a range, we don't want dragging over the original anchor | ||
@@ -531,4 +583,8 @@ // again to trigger onPressStart. Cancel presses immediately when the pointer exits. | ||
preventFocusOnPress: true, | ||
isDisabled: isDisabled, | ||
isDisabled: !isSelectable, | ||
onPressStart (e) { | ||
if (state.isReadOnly) { | ||
state.setFocusedDate(date); | ||
return; | ||
} | ||
if ('highlightedRange' in state && !state.anchorDate && (e.pointerType === 'mouse' || e.pointerType === 'touch')) { | ||
@@ -538,3 +594,3 @@ // Allow dragging the start or end date of a range to modify it | ||
if (state.highlightedRange) { | ||
if ($fMuHj$isSameDay(date, state.highlightedRange.start)) { | ||
if ($amWdn$isSameDay(date, state.highlightedRange.start)) { | ||
state.setAnchorDate(state.highlightedRange.end); | ||
@@ -545,3 +601,3 @@ state.setFocusedDate(date); | ||
return; | ||
} else if ($fMuHj$isSameDay(date, state.highlightedRange.end)) { | ||
} else if ($amWdn$isSameDay(date, state.highlightedRange.end)) { | ||
state.setAnchorDate(state.highlightedRange.start); | ||
@@ -575,3 +631,3 @@ state.setFocusedDate(date); | ||
// For non-range selection, always select on press up. | ||
if (!('anchorDate' in state)) { | ||
if (!('anchorDate' in state) && !state.isReadOnly) { | ||
state.selectDate(date); | ||
@@ -582,2 +638,3 @@ state.setFocusedDate(date); | ||
onPressUp (e) { | ||
if (state.isReadOnly) return; | ||
// If the user tapped quickly, the date won't be selected yet and the | ||
@@ -608,3 +665,6 @@ // timer will still be in progress. In this case, select the date on touch up. | ||
}); | ||
if ($fMuHj$isSameMonth(date, nextDay)) state.setFocusedDate(nextDay); | ||
if (state.isInvalid(nextDay)) nextDay = date.subtract({ | ||
days: 1 | ||
}); | ||
if (!state.isInvalid(nextDay)) state.setFocusedDate(nextDay); | ||
} else if (e.pointerType === 'virtual') { | ||
@@ -619,6 +679,6 @@ // For screen readers, just select the date on click. | ||
let tabIndex = null; | ||
if (!isDisabled) tabIndex = $fMuHj$isSameDay(date, state.focusedDate) ? 0 : -1; | ||
if (!isDisabled) tabIndex = $amWdn$isSameDay(date, state.focusedDate) ? 0 : -1; | ||
// Focus the button in the DOM when the state updates. | ||
$fMuHj$useEffect(()=>{ | ||
if (isFocused && ref.current) $fMuHj$focusWithoutScrolling(ref.current); | ||
$amWdn$useEffect(()=>{ | ||
if (isFocused && ref.current) $amWdn$focusWithoutScrolling(ref.current); | ||
}, [ | ||
@@ -628,9 +688,19 @@ isFocused, | ||
]); | ||
let cellDateFormatter = $amWdn$useDateFormatter({ | ||
day: 'numeric', | ||
timeZone: state.timeZone, | ||
calendar: date.calendar.identifier | ||
}); | ||
let formattedDate = $amWdn$useMemo(()=>cellDateFormatter.format(nativeDate) | ||
, [ | ||
cellDateFormatter, | ||
nativeDate | ||
]); | ||
return { | ||
cellProps: { | ||
role: 'gridcell', | ||
'aria-disabled': isDisabled || null, | ||
'aria-selected': isSelected | ||
'aria-disabled': !isSelectable || null, | ||
'aria-selected': isSelectable ? isSelected : null | ||
}, | ||
buttonProps: $fMuHj$mergeProps(pressProps, { | ||
buttonProps: $amWdn$mergeProps(pressProps, { | ||
onFocus () { | ||
@@ -641,7 +711,7 @@ if (!isDisabled) state.setFocusedDate(date); | ||
role: 'button', | ||
'aria-disabled': isDisabled || null, | ||
'aria-disabled': !isSelectable || null, | ||
'aria-label': label, | ||
onPointerEnter (e) { | ||
// Highlight the date on hover or drag over a date when selecting a range. | ||
if ('highlightDate' in state && (e.pointerType !== 'touch' || state.isDragging)) state.highlightDate(date); | ||
if ('highlightDate' in state && (e.pointerType !== 'touch' || state.isDragging) && isSelectable) state.highlightDate(date); | ||
}, | ||
@@ -659,3 +729,9 @@ onPointerDown (e) { | ||
}), | ||
isPressed: isPressed | ||
isPressed: isPressed, | ||
isFocused: isFocused, | ||
isSelected: isSelected, | ||
isDisabled: isDisabled, | ||
isUnavailable: isUnavailable, | ||
isOutsideVisibleRange: date.compare(state.visibleRange.start) < 0 || date.compare(state.visibleRange.end) > 0, | ||
formattedDate: formattedDate | ||
}; | ||
@@ -665,20 +741,8 @@ } | ||
var $bd214751887b9f61$exports = {}; | ||
var $34109fd41c960533$exports = {}; | ||
$parcel$export($bd214751887b9f61$exports, "useCalendarTableHeader", () => $bd214751887b9f61$export$2d550ec8e081e40b); | ||
function $bd214751887b9f61$export$2d550ec8e081e40b() { | ||
return { | ||
columnHeaderProps: { | ||
scope: 'col' | ||
} | ||
}; | ||
} | ||
var $01fc4528c6443a6c$exports = {}; | ||
export {$e887a1fb79d9897c$export$3ee915f8151bd4f1 as useCalendar, $c7b5bc9340158c8c$export$87e0539f600c24e5 as useRangeCalendar, $420573fe31d1a62d$export$cb95147730a423f5 as useCalendarGrid, $6c48f226d1849f29$export$136073280381448e as useCalendarCell, $bd214751887b9f61$export$2d550ec8e081e40b as useCalendarTableHeader}; | ||
export {$9942cad8a072a530$export$3ee915f8151bd4f1 as useCalendar, $46a4342aab3d8076$export$87e0539f600c24e5 as useRangeCalendar, $e3031d1f8c9d64eb$export$cb95147730a423f5 as useCalendarGrid, $36a0ac60f04457c5$export$136073280381448e as useCalendarCell}; | ||
//# sourceMappingURL=module.js.map |
import { AriaButtonProps } from "@react-types/button"; | ||
import { HTMLAttributes, RefObject } from "react"; | ||
import { CalendarProps, DateValue, RangeCalendarProps, CalendarPropsBase } from "@react-types/calendar"; | ||
import { CalendarProps, DateValue, RangeCalendarProps } from "@react-types/calendar"; | ||
import { CalendarState, RangeCalendarState } from "@react-stately/calendar"; | ||
import { CalendarDate } from "@internationalized/date"; | ||
import { PressProps } from "@react-aria/interactions"; | ||
export interface CalendarAria { | ||
/** Props for the calendar grouping element. */ | ||
calendarProps: HTMLAttributes<HTMLElement>; | ||
/** Props for the next button. */ | ||
nextButtonProps: AriaButtonProps; | ||
/** Props for the previous button. */ | ||
prevButtonProps: AriaButtonProps; | ||
/** A description of the visible date range, for use in the calendar title. */ | ||
title: string; | ||
} | ||
export interface CalendarGridAria { | ||
/** Props for the date grid element (e.g. `<table>`). */ | ||
gridProps: HTMLAttributes<HTMLElement>; | ||
/** A list of week days formatted for the current locale, typically used in column headers. */ | ||
weekDays: WeekDay[]; | ||
} | ||
interface WeekDay { | ||
/** A short name (e.g. single letter) for the day. */ | ||
narrow: string; | ||
/** The full day name. If not displayed visually, it should be used as the accessiblity name. */ | ||
long: string; | ||
} | ||
/** | ||
* Provides the behavior and accessibility implementation for a calendar component. | ||
* A calendar displays one or more date grids and allows users to select a single date. | ||
*/ | ||
export function useCalendar<T extends DateValue>(props: CalendarProps<T>, state: CalendarState): CalendarAria; | ||
/** | ||
* Provides the behavior and accessibility implementation for a range calendar component. | ||
* A range calendar displays one or more date grids and allows users to select a contiguous range of dates. | ||
*/ | ||
export function useRangeCalendar<T extends DateValue>(props: RangeCalendarProps<T>, state: RangeCalendarState, ref: RefObject<HTMLElement>): CalendarAria; | ||
interface CalendarGridProps extends CalendarPropsBase { | ||
interface CalendarGridProps { | ||
/** | ||
* The first date displayed in the calendar grid. | ||
* Defaults to the first visible date in the calendar. | ||
* Override this to display multiple date grids in a calendar. | ||
*/ | ||
startDate?: CalendarDate; | ||
/** | ||
* The last date displayed in the calendar grid. | ||
* Defaults to the last visible date in the calendar. | ||
* Override this to display multiple date grids in a calendar. | ||
*/ | ||
endDate?: CalendarDate; | ||
} | ||
/** | ||
* Provides the behavior and accessibility implementation for a calendar grid component. | ||
* A calendar grid displays a single grid of days within a calendar or range calendar which | ||
* can be keyboard navigated and selected by the user. | ||
*/ | ||
export function useCalendarGrid(props: CalendarGridProps, state: CalendarState | RangeCalendarState): CalendarGridAria; | ||
export interface AriaCalendarCellProps { | ||
/** The date that this cell represents. */ | ||
date: CalendarDate; | ||
/** | ||
* Whether the cell is disabled. By default, this is determined by the | ||
* Calendar's `minValue`, `maxValue`, and `isDisabled` props. | ||
*/ | ||
isDisabled?: boolean; | ||
} | ||
interface CalendarCellAria { | ||
cellProps: PressProps & HTMLAttributes<HTMLElement>; | ||
/** Props for the grid cell element (e.g. `<td>`). */ | ||
cellProps: HTMLAttributes<HTMLElement>; | ||
/** Props for the button element within the cell. */ | ||
buttonProps: HTMLAttributes<HTMLElement>; | ||
/** Whether the cell is currently being pressed. */ | ||
isPressed: boolean; | ||
/** Whether the cell is selected. */ | ||
isSelected: boolean; | ||
/** Whether the cell is focused. */ | ||
isFocused: boolean; | ||
/** | ||
* Whether the cell is disabled, according to the calendar's `minValue`, `maxValue`, and `isDisabled` props. | ||
* Disabled dates are not focusable, and cannot be selected by the user. They are typically | ||
* displayed with a dimmed appearance. | ||
*/ | ||
isDisabled: boolean; | ||
/** | ||
* Whether the cell is unavailable, according to the calendar's `isDateUnavailable` prop. Unavailable dates remain | ||
* focusable, but cannot be selected by the user. They should be displayed with a visual affordance to indicate they | ||
* are unavailable, such as a different color or a strikethrough. | ||
* | ||
* Note that because they are focusable, unavailable dates must meet a 4.5:1 color contrast ratio, | ||
* [as defined by WCAG](https://www.w3.org/WAI/WCAG21/Understanding/contrast-minimum.html). | ||
*/ | ||
isUnavailable: boolean; | ||
/** | ||
* Whether the cell is outside the visible range of the calendar. | ||
* For example, dates before the first day of a month in the same week. | ||
*/ | ||
isOutsideVisibleRange: boolean; | ||
/** The day number formatted according to the current locale. */ | ||
formattedDate: string; | ||
} | ||
/** | ||
* Provides the behavior and accessibility implementation for a calendar cell component. | ||
* A calendar cell displays a date cell within a calendar grid which can be selected by the user. | ||
*/ | ||
export function useCalendarCell(props: AriaCalendarCellProps, state: CalendarState | RangeCalendarState, ref: RefObject<HTMLElement>): CalendarCellAria; | ||
interface CalendarTableHeaderAria { | ||
columnHeaderProps: { | ||
scope?: 'col'; | ||
}; | ||
} | ||
export function useCalendarTableHeader(): CalendarTableHeaderAria; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@react-aria/calendar", | ||
"version": "3.0.0-nightly.1415+d6ded0736", | ||
"version": "3.0.0-nightly.1484+7f2896a53", | ||
"description": "Spectrum UI components in React", | ||
@@ -21,11 +21,11 @@ "license": "Apache-2.0", | ||
"@babel/runtime": "^7.6.2", | ||
"@internationalized/date": "3.0.0-nightly.3111+d6ded0736", | ||
"@react-aria/i18n": "3.0.0-nightly.1415+d6ded0736", | ||
"@react-aria/interactions": "3.0.0-nightly.1415+d6ded0736", | ||
"@react-aria/live-announcer": "3.0.0-nightly.1415+d6ded0736", | ||
"@react-aria/utils": "3.0.0-nightly.1415+d6ded0736", | ||
"@react-stately/calendar": "3.0.0-nightly.1415+d6ded0736", | ||
"@react-types/button": "3.4.3-nightly.3111+d6ded0736", | ||
"@react-types/calendar": "3.0.0-nightly.1415+d6ded0736", | ||
"@react-types/shared": "3.0.0-nightly.1415+d6ded0736", | ||
"@internationalized/date": "3.0.0-nightly.3183+7f2896a53", | ||
"@react-aria/i18n": "3.0.0-nightly.1484+7f2896a53", | ||
"@react-aria/interactions": "3.0.0-nightly.1484+7f2896a53", | ||
"@react-aria/live-announcer": "3.0.0-nightly.1484+7f2896a53", | ||
"@react-aria/utils": "3.0.0-nightly.1484+7f2896a53", | ||
"@react-stately/calendar": "3.0.0-nightly.1484+7f2896a53", | ||
"@react-types/button": "3.4.5-nightly.3183+7f2896a53", | ||
"@react-types/calendar": "3.0.0-nightly.1484+7f2896a53", | ||
"@react-types/shared": "3.0.0-nightly.1484+7f2896a53", | ||
"date-fns": "^1.30.1" | ||
@@ -40,3 +40,3 @@ }, | ||
}, | ||
"gitHead": "d6ded0736edd4c36d0abeb1ae615cacfa90ea8ff" | ||
"gitHead": "7f2896a53fc4696962b4f6beb0796116a83561ee" | ||
} |
@@ -17,3 +17,2 @@ /* | ||
export * from './useCalendarCell'; | ||
export * from './useCalendarTableHeader'; | ||
export * from './types'; |
@@ -17,5 +17,10 @@ /* | ||
export interface CalendarAria { | ||
/** Props for the calendar grouping element. */ | ||
calendarProps: HTMLAttributes<HTMLElement>, | ||
/** Props for the next button. */ | ||
nextButtonProps: AriaButtonProps, | ||
prevButtonProps: AriaButtonProps | ||
/** Props for the previous button. */ | ||
prevButtonProps: AriaButtonProps, | ||
/** A description of the visible date range, for use in the calendar title. */ | ||
title: string | ||
} | ||
@@ -25,3 +30,13 @@ | ||
export interface CalendarGridAria { | ||
gridProps: HTMLAttributes<HTMLElement> | ||
/** Props for the date grid element (e.g. `<table>`). */ | ||
gridProps: HTMLAttributes<HTMLElement>, | ||
/** A list of week days formatted for the current locale, typically used in column headers. */ | ||
weekDays: WeekDay[] | ||
} | ||
interface WeekDay { | ||
/** A short name (e.g. single letter) for the day. */ | ||
narrow: string, | ||
/** The full day name. If not displayed visually, it should be used as the accessiblity name. */ | ||
long: string | ||
} |
@@ -18,4 +18,8 @@ /* | ||
/** | ||
* Provides the behavior and accessibility implementation for a calendar component. | ||
* A calendar displays one or more date grids and allows users to select a single date. | ||
*/ | ||
export function useCalendar<T extends DateValue>(props: CalendarProps<T>, state: CalendarState): CalendarAria { | ||
return useCalendarBase(props, state); | ||
} |
@@ -23,2 +23,3 @@ /* | ||
import {useMessageFormatter} from '@react-aria/i18n'; | ||
import {useRef} from 'react'; | ||
@@ -53,2 +54,17 @@ export function useCalendarBase(props: CalendarPropsBase & DOMProps, state: CalendarState | RangeCalendarState): CalendarAria { | ||
// If the next or previous buttons become disabled while they are focused, move focus to the calendar body. | ||
let nextFocused = useRef(false); | ||
let nextDisabled = props.isDisabled || state.isNextVisibleRangeInvalid(); | ||
if (nextDisabled && nextFocused.current) { | ||
nextFocused.current = false; | ||
state.setFocused(true); | ||
} | ||
let previousFocused = useRef(false); | ||
let previousDisabled = props.isDisabled || state.isPreviousVisibleRangeInvalid(); | ||
if (previousDisabled && previousFocused.current) { | ||
previousFocused.current = false; | ||
state.setFocused(true); | ||
} | ||
return { | ||
@@ -64,3 +80,5 @@ calendarProps: mergeProps(descriptionProps, { | ||
'aria-label': formatMessage('next'), | ||
isDisabled: props.isDisabled || state.isNextVisibleRangeInvalid() | ||
isDisabled: nextDisabled, | ||
onFocus: () => nextFocused.current = true, | ||
onBlur: () => nextFocused.current = false | ||
}, | ||
@@ -70,5 +88,8 @@ prevButtonProps: { | ||
'aria-label': formatMessage('previous'), | ||
isDisabled: props.isDisabled || state.isPreviousVisibleRangeInvalid() | ||
} | ||
isDisabled: previousDisabled, | ||
onFocus: () => previousFocused.current = true, | ||
onBlur: () => previousFocused.current = false | ||
}, | ||
title: visibleRangeDescription | ||
}; | ||
} |
@@ -13,3 +13,3 @@ /* | ||
import {CalendarDate, isEqualDay, isSameDay, isSameMonth, isToday} from '@internationalized/date'; | ||
import {CalendarDate, isEqualDay, isSameDay, isToday} from '@internationalized/date'; | ||
import {CalendarState, RangeCalendarState} from '@react-stately/calendar'; | ||
@@ -21,7 +21,12 @@ import {focusWithoutScrolling} from '@react-aria/utils'; | ||
import {mergeProps} from '@react-aria/utils'; | ||
import {PressProps, usePress} from '@react-aria/interactions'; | ||
import {useDateFormatter, useMessageFormatter} from '@react-aria/i18n'; | ||
import {usePress} from '@react-aria/interactions'; | ||
export interface AriaCalendarCellProps { | ||
/** The date that this cell represents. */ | ||
date: CalendarDate, | ||
/** | ||
* Whether the cell is disabled. By default, this is determined by the | ||
* Calendar's `minValue`, `maxValue`, and `isDisabled` props. | ||
*/ | ||
isDisabled?: boolean | ||
@@ -31,7 +36,40 @@ } | ||
interface CalendarCellAria { | ||
cellProps: PressProps & HTMLAttributes<HTMLElement>, | ||
/** Props for the grid cell element (e.g. `<td>`). */ | ||
cellProps: HTMLAttributes<HTMLElement>, | ||
/** Props for the button element within the cell. */ | ||
buttonProps: HTMLAttributes<HTMLElement>, | ||
isPressed: boolean | ||
/** Whether the cell is currently being pressed. */ | ||
isPressed: boolean, | ||
/** Whether the cell is selected. */ | ||
isSelected: boolean, | ||
/** Whether the cell is focused. */ | ||
isFocused: boolean, | ||
/** | ||
* Whether the cell is disabled, according to the calendar's `minValue`, `maxValue`, and `isDisabled` props. | ||
* Disabled dates are not focusable, and cannot be selected by the user. They are typically | ||
* displayed with a dimmed appearance. | ||
*/ | ||
isDisabled: boolean, | ||
/** | ||
* Whether the cell is unavailable, according to the calendar's `isDateUnavailable` prop. Unavailable dates remain | ||
* focusable, but cannot be selected by the user. They should be displayed with a visual affordance to indicate they | ||
* are unavailable, such as a different color or a strikethrough. | ||
* | ||
* Note that because they are focusable, unavailable dates must meet a 4.5:1 color contrast ratio, | ||
* [as defined by WCAG](https://www.w3.org/WAI/WCAG21/Understanding/contrast-minimum.html). | ||
*/ | ||
isUnavailable: boolean, | ||
/** | ||
* Whether the cell is outside the visible range of the calendar. | ||
* For example, dates before the first day of a month in the same week. | ||
*/ | ||
isOutsideVisibleRange: boolean, | ||
/** The day number formatted according to the current locale. */ | ||
formattedDate: string | ||
} | ||
/** | ||
* Provides the behavior and accessibility implementation for a calendar cell component. | ||
* A calendar cell displays a date cell within a calendar grid which can be selected by the user. | ||
*/ | ||
export function useCalendarCell(props: AriaCalendarCellProps, state: CalendarState | RangeCalendarState, ref: RefObject<HTMLElement>): CalendarCellAria { | ||
@@ -51,2 +89,4 @@ let {date, isDisabled} = props; | ||
isDisabled = isDisabled || state.isCellDisabled(date); | ||
let isUnavailable = state.isCellUnavailable(date); | ||
let isSelectable = !isDisabled && !isUnavailable; | ||
@@ -84,3 +124,3 @@ // For performance, reuse the same date object as before if the new date prop is the same. | ||
// screenreader users know that they are in a range selection mode. | ||
if ('anchorDate' in state && isFocused && !state.isReadOnly) { | ||
if ('anchorDate' in state && isFocused && !state.isReadOnly && isSelectable) { | ||
let rangeSelectionPrompt = ''; | ||
@@ -110,4 +150,9 @@ | ||
preventFocusOnPress: true, | ||
isDisabled, | ||
isDisabled: !isSelectable, | ||
onPressStart(e) { | ||
if (state.isReadOnly) { | ||
state.setFocusedDate(date); | ||
return; | ||
} | ||
if ('highlightedRange' in state && !state.anchorDate && (e.pointerType === 'mouse' || e.pointerType === 'touch')) { | ||
@@ -158,3 +203,3 @@ // Allow dragging the start or end date of a range to modify it | ||
// For non-range selection, always select on press up. | ||
if (!('anchorDate' in state)) { | ||
if (!('anchorDate' in state) && !state.isReadOnly) { | ||
state.selectDate(date); | ||
@@ -165,2 +210,6 @@ state.setFocusedDate(date); | ||
onPressUp(e) { | ||
if (state.isReadOnly) { | ||
return; | ||
} | ||
// If the user tapped quickly, the date won't be selected yet and the | ||
@@ -191,3 +240,6 @@ // timer will still be in progress. In this case, select the date on touch up. | ||
let nextDay = date.add({days: 1}); | ||
if (isSameMonth(date, nextDay)) { | ||
if (state.isInvalid(nextDay)) { | ||
nextDay = date.subtract({days: 1}); | ||
} | ||
if (!state.isInvalid(nextDay)) { | ||
state.setFocusedDate(nextDay); | ||
@@ -216,7 +268,15 @@ } | ||
let cellDateFormatter = useDateFormatter({ | ||
day: 'numeric', | ||
timeZone: state.timeZone, | ||
calendar: date.calendar.identifier | ||
}); | ||
let formattedDate = useMemo(() => cellDateFormatter.format(nativeDate), [cellDateFormatter, nativeDate]); | ||
return { | ||
cellProps: { | ||
role: 'gridcell', | ||
'aria-disabled': isDisabled || null, | ||
'aria-selected': isSelected | ||
'aria-disabled': !isSelectable || null, | ||
'aria-selected': isSelectable ? isSelected : null | ||
}, | ||
@@ -231,7 +291,7 @@ buttonProps: mergeProps(pressProps, { | ||
role: 'button', | ||
'aria-disabled': isDisabled || null, | ||
'aria-disabled': !isSelectable || null, | ||
'aria-label': label, | ||
onPointerEnter(e) { | ||
// Highlight the date on hover or drag over a date when selecting a range. | ||
if ('highlightDate' in state && (e.pointerType !== 'touch' || state.isDragging)) { | ||
if ('highlightDate' in state && (e.pointerType !== 'touch' || state.isDragging) && isSelectable) { | ||
state.highlightDate(date); | ||
@@ -253,4 +313,10 @@ } | ||
}), | ||
isPressed | ||
isPressed, | ||
isFocused, | ||
isSelected, | ||
isDisabled, | ||
isUnavailable, | ||
isOutsideVisibleRange: date.compare(state.visibleRange.start) < 0 || date.compare(state.visibleRange.end) > 0, | ||
formattedDate | ||
}; | ||
} |
@@ -13,20 +13,32 @@ /* | ||
import {CalendarDate} from '@internationalized/date'; | ||
import {CalendarDate, startOfWeek} from '@internationalized/date'; | ||
import {CalendarGridAria} from './types'; | ||
import {calendarIds, useSelectedDateDescription, useVisibleRangeDescription} from './utils'; | ||
import {CalendarPropsBase} from '@react-types/calendar'; | ||
import {CalendarState, RangeCalendarState} from '@react-stately/calendar'; | ||
import {KeyboardEvent} from 'react'; | ||
import {mergeProps, useDescription, useLabels} from '@react-aria/utils'; | ||
import {useLocale} from '@react-aria/i18n'; | ||
import {useDateFormatter, useLocale} from '@react-aria/i18n'; | ||
interface CalendarGridProps extends CalendarPropsBase { | ||
interface CalendarGridProps { | ||
/** | ||
* The first date displayed in the calendar grid. | ||
* Defaults to the first visible date in the calendar. | ||
* Override this to display multiple date grids in a calendar. | ||
*/ | ||
startDate?: CalendarDate, | ||
/** | ||
* The last date displayed in the calendar grid. | ||
* Defaults to the last visible date in the calendar. | ||
* Override this to display multiple date grids in a calendar. | ||
*/ | ||
endDate?: CalendarDate | ||
} | ||
/** | ||
* Provides the behavior and accessibility implementation for a calendar grid component. | ||
* A calendar grid displays a single grid of days within a calendar or range calendar which | ||
* can be keyboard navigated and selected by the user. | ||
*/ | ||
export function useCalendarGrid(props: CalendarGridProps, state: CalendarState | RangeCalendarState): CalendarGridAria { | ||
let { | ||
isReadOnly = false, | ||
isDisabled = false, | ||
startDate = state.visibleRange.start, | ||
@@ -112,7 +124,22 @@ endDate = state.visibleRange.end | ||
let dayFormatter = useDateFormatter({weekday: 'narrow', timeZone: state.timeZone}); | ||
let dayFormatterLong = useDateFormatter({weekday: 'long', timeZone: state.timeZone}); | ||
let {locale} = useLocale(); | ||
let weekStart = startOfWeek(state.visibleRange.start, locale); | ||
let weekDays = [...new Array(7).keys()].map((index) => { | ||
let date = weekStart.add({days: index}); | ||
let dateDay = date.toDate(state.timeZone); | ||
let narrow = dayFormatter.format(dateDay); | ||
let long = dayFormatterLong.format(dateDay); | ||
return { | ||
narrow, | ||
long | ||
}; | ||
}); | ||
return { | ||
gridProps: mergeProps(descriptionProps, labelProps, { | ||
role: 'grid', | ||
'aria-readonly': isReadOnly || null, | ||
'aria-disabled': isDisabled || null, | ||
'aria-readonly': state.isReadOnly || null, | ||
'aria-disabled': state.isDisabled || null, | ||
'aria-multiselectable': ('highlightedRange' in state) || undefined, | ||
@@ -122,4 +149,5 @@ onKeyDown, | ||
onBlur: () => state.setFocused(false) | ||
}) | ||
}), | ||
weekDays | ||
}; | ||
} |
@@ -20,2 +20,6 @@ /* | ||
/** | ||
* Provides the behavior and accessibility implementation for a range calendar component. | ||
* A range calendar displays one or more date grids and allows users to select a contiguous range of dates. | ||
*/ | ||
export function useRangeCalendar<T extends DateValue>(props: RangeCalendarProps<T>, state: RangeCalendarState, ref: RefObject<HTMLElement>): CalendarAria { | ||
@@ -53,3 +57,3 @@ let res = useCalendarBase(props, state); | ||
if ( | ||
(!body.contains(target) || target.getAttribute('role') !== 'button') && | ||
(!body.contains(target) || !target.closest('[role="button"]')) && | ||
!document.getElementById(res.nextButtonProps.id)?.contains(target) && | ||
@@ -56,0 +60,0 @@ !document.getElementById(res.prevButtonProps.id)?.contains(target) |
@@ -13,3 +13,3 @@ /* | ||
import {CalendarDate, endOfMonth, isSameDay, startOfMonth, toDate} from '@internationalized/date'; | ||
import {CalendarDate, endOfMonth, isSameDay, startOfMonth} from '@internationalized/date'; | ||
import {CalendarState, RangeCalendarState} from '@react-stately/calendar'; | ||
@@ -40,5 +40,5 @@ // @ts-ignore | ||
if (isSameDay(start, end)) { | ||
return formatMessage('selectedDateDescription', {date: toDate(start, state.timeZone)}); | ||
return formatMessage('selectedDateDescription', {date: start.toDate(state.timeZone)}); | ||
} else { | ||
return formatMessage('selectedRangeDescription', {start: toDate(start, state.timeZone), end: toDate(end, state.timeZone)}); | ||
return formatMessage('selectedRangeDescription', {start: start.toDate(state.timeZone), end: end.toDate(state.timeZone)}); | ||
} | ||
@@ -55,3 +55,4 @@ } | ||
era: startDate.calendar.identifier !== 'gregory' ? 'long' : undefined, | ||
calendar: startDate.calendar.identifier | ||
calendar: startDate.calendar.identifier, | ||
timeZone | ||
}); | ||
@@ -61,3 +62,4 @@ | ||
dateStyle: 'long', | ||
calendar: startDate.calendar.identifier | ||
calendar: startDate.calendar.identifier, | ||
timeZone | ||
}); | ||
@@ -64,0 +66,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
293258
2173
17