@react-aria/datepicker 3.0.0-nightly.1498 → 3.0.0-nightly.1502
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +73 -56
- package/dist/main.js.map +1 -1
- package/dist/module.js +73 -56
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +16 -16
- package/src/useDateField.ts +8 -1
- package/src/useDatePicker.ts +6 -2
- package/src/useDateRangePicker.ts +5 -2
- package/src/useDateSegment.ts +11 -19
package/dist/main.js
CHANGED
|
@@ -39,139 +39,139 @@ $parcel$export(module.exports, "useDateRangePicker", () => $20f695b1b69e6b9e$exp
|
|
|
39
39
|
|
|
40
40
|
var $c7d0e80b992ca68a$exports = {};
|
|
41
41
|
var $aa344be62785b256$exports = {};
|
|
42
|
-
$aa344be62785b256$exports = JSON.parse("{\"calendar\":\"التقويم\",\"
|
|
42
|
+
$aa344be62785b256$exports = JSON.parse("{\"calendar\":\"التقويم\",\"day\":\"يوم\",\"dayPeriod\":\"ص/م\",\"endDate\":\"تاريخ الانتهاء\",\"era\":\"العصر\",\"hour\":\"الساعات\",\"minute\":\"الدقائق\",\"month\":\"الشهر\",\"second\":\"الثواني\",\"startDate\":\"تاريخ البدء\",\"year\":\"السنة\",\"weekday\":\"اليوم\",\"timeZoneName\":\"التوقيت\",\"selectedDateDescription\":\"التاريخ المحدد: {date}\",\"selectedRangeDescription\":\"النطاق المحدد: {startDate} إلى {endDate}\"}");
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
var $615986c3475e7c8c$exports = {};
|
|
46
|
-
$615986c3475e7c8c$exports = JSON.parse("{\"calendar\":\"Календар\",\"
|
|
46
|
+
$615986c3475e7c8c$exports = JSON.parse("{\"calendar\":\"Календар\",\"day\":\"ден\",\"dayPeriod\":\"пр.об./сл.об.\",\"endDate\":\"Крайна дата\",\"era\":\"ера\",\"hour\":\"час\",\"minute\":\"минута\",\"month\":\"месец\",\"second\":\"секунда\",\"startDate\":\"Начална дата\",\"year\":\"година\",\"weekday\":\"ден от седмицата\",\"timeZoneName\":\"часова зона\",\"selectedDateDescription\":\"Избрана дата: {date}\",\"selectedRangeDescription\":\"Избран интервал: от {startDate} до {endDate}\"}");
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
var $6c6207692f1ab248$exports = {};
|
|
50
|
-
$6c6207692f1ab248$exports = JSON.parse("{\"calendar\":\"Kalendář\",\"
|
|
50
|
+
$6c6207692f1ab248$exports = JSON.parse("{\"calendar\":\"Kalendář\",\"day\":\"den\",\"dayPeriod\":\"část dne\",\"endDate\":\"Konečné datum\",\"era\":\"letopočet\",\"hour\":\"hodina\",\"minute\":\"minuta\",\"month\":\"měsíc\",\"second\":\"sekunda\",\"startDate\":\"Počáteční datum\",\"year\":\"rok\",\"weekday\":\"den v týdnu\",\"timeZoneName\":\"časové pásmo\",\"selectedDateDescription\":\"Zvolené datum: {date}\",\"selectedRangeDescription\":\"Zvolený rozsah: {startDate} až {endDate}\"}");
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
var $fb37a9d024dd70f8$exports = {};
|
|
54
|
-
$fb37a9d024dd70f8$exports = JSON.parse("{\"calendar\":\"Kalender\",\"
|
|
54
|
+
$fb37a9d024dd70f8$exports = JSON.parse("{\"calendar\":\"Kalender\",\"day\":\"dag\",\"dayPeriod\":\"AM/PM\",\"endDate\":\"Slutdato\",\"era\":\"æra\",\"hour\":\"time\",\"minute\":\"minut\",\"month\":\"måned\",\"second\":\"sekund\",\"startDate\":\"Startdato\",\"year\":\"år\",\"weekday\":\"ugedag\",\"timeZoneName\":\"tidszone\",\"selectedDateDescription\":\"Valgt dato: {date}\",\"selectedRangeDescription\":\"Valgt område: {startDate} til {endDate}\"}");
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
var $d7780bd4790f7ae9$exports = {};
|
|
58
|
-
$d7780bd4790f7ae9$exports = JSON.parse("{\"calendar\":\"Kalender\",\"
|
|
58
|
+
$d7780bd4790f7ae9$exports = JSON.parse("{\"calendar\":\"Kalender\",\"day\":\"Tag\",\"dayPeriod\":\"Tageshälfte\",\"endDate\":\"Enddatum\",\"era\":\"Epoche\",\"hour\":\"Stunde\",\"minute\":\"Minute\",\"month\":\"Monat\",\"second\":\"Sekunde\",\"startDate\":\"Anfangsdatum\",\"year\":\"Jahr\",\"weekday\":\"Wochentag\",\"timeZoneName\":\"Zeitzone\",\"selectedDateDescription\":\"Ausgewähltes Datum: {date}\",\"selectedRangeDescription\":\"Bereich auswählen: {startDate} bis {endDate}\"}");
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
var $9cdf03311f06c4ac$exports = {};
|
|
62
|
-
$9cdf03311f06c4ac$exports = JSON.parse("{\"calendar\":\"Ημερολόγιο\",\"
|
|
62
|
+
$9cdf03311f06c4ac$exports = JSON.parse("{\"calendar\":\"Ημερολόγιο\",\"day\":\"ημέρα\",\"dayPeriod\":\"π.μ./μ.μ.\",\"endDate\":\"Ημερομηνία λήξης\",\"era\":\"περίοδος\",\"hour\":\"ώρα\",\"minute\":\"λεπτό\",\"month\":\"μήνας\",\"second\":\"δευτερόλεπτο\",\"startDate\":\"Ημερομηνία έναρξης\",\"year\":\"έτος\",\"weekday\":\"καθημερινή\",\"timeZoneName\":\"ζώνη ώρας\",\"selectedDateDescription\":\"Επιλεγμένη ημερομηνία: {date}\",\"selectedRangeDescription\":\"Επιλεγμένο εύρος: {startDate} έως {endDate}\"}");
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
var $f93fc9e164ae811c$exports = {};
|
|
66
|
-
$f93fc9e164ae811c$exports = JSON.parse("{\"era\":\"era\",\"year\":\"year\",\"month\":\"month\",\"day\":\"day\",\"hour\":\"hour\",\"minute\":\"minute\",\"second\":\"second\",\"dayPeriod\":\"AM/PM\",\"calendar\":\"Calendar\",\"
|
|
66
|
+
$f93fc9e164ae811c$exports = JSON.parse("{\"era\":\"era\",\"year\":\"year\",\"month\":\"month\",\"day\":\"day\",\"hour\":\"hour\",\"minute\":\"minute\",\"second\":\"second\",\"dayPeriod\":\"AM/PM\",\"calendar\":\"Calendar\",\"startDate\":\"Start Date\",\"endDate\":\"End Date\",\"weekday\":\"day of the week\",\"timeZoneName\":\"time zone\",\"selectedDateDescription\":\"Selected Date: {date}\",\"selectedRangeDescription\":\"Selected Range: {startDate} to {endDate}\",\"selectedTimeDescription\":\"Selected Time: {time}\"}");
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
var $7426c3264bf5ffea$exports = {};
|
|
70
|
-
$7426c3264bf5ffea$exports = JSON.parse("{\"calendar\":\"Calendario\",\"
|
|
70
|
+
$7426c3264bf5ffea$exports = JSON.parse("{\"calendar\":\"Calendario\",\"day\":\"día\",\"dayPeriod\":\"a. m./p. m.\",\"endDate\":\"Fecha final\",\"era\":\"era\",\"hour\":\"hora\",\"minute\":\"minuto\",\"month\":\"mes\",\"second\":\"segundo\",\"startDate\":\"Fecha de inicio\",\"year\":\"año\",\"weekday\":\"día de la semana\",\"timeZoneName\":\"zona horaria\",\"selectedDateDescription\":\"Fecha seleccionada: {date}\",\"selectedRangeDescription\":\"Seleccionar rango: {startDate} a {endDate}\"}");
|
|
71
71
|
|
|
72
72
|
|
|
73
73
|
var $1115cc0042de790c$exports = {};
|
|
74
|
-
$1115cc0042de790c$exports = JSON.parse("{\"calendar\":\"Kalender\",\"
|
|
74
|
+
$1115cc0042de790c$exports = JSON.parse("{\"calendar\":\"Kalender\",\"day\":\"päev\",\"dayPeriod\":\"enne/pärast lõunat\",\"endDate\":\"Lõppkuupäev\",\"era\":\"ajastu\",\"hour\":\"tund\",\"minute\":\"minut\",\"month\":\"kuu\",\"second\":\"sekund\",\"startDate\":\"Alguskuupäev\",\"year\":\"aasta\",\"weekday\":\"nädalapäev\",\"timeZoneName\":\"ajavöönd\",\"selectedDateDescription\":\"Valitud kuupäev: {date}\",\"selectedRangeDescription\":\"Valitud vahemik: {startDate} kuni {endDate}\"}");
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
var $4e80389dccb9283f$exports = {};
|
|
78
|
-
$4e80389dccb9283f$exports = JSON.parse("{\"calendar\":\"Kalenteri\",\"
|
|
78
|
+
$4e80389dccb9283f$exports = JSON.parse("{\"calendar\":\"Kalenteri\",\"day\":\"päivä\",\"dayPeriod\":\"vuorokaudenaika\",\"endDate\":\"Päättymispäivä\",\"era\":\"aikakausi\",\"hour\":\"tunti\",\"minute\":\"minuutti\",\"month\":\"kuukausi\",\"second\":\"sekunti\",\"startDate\":\"Alkamispäivä\",\"year\":\"vuosi\",\"weekday\":\"viikonpäivä\",\"timeZoneName\":\"aikavyöhyke\",\"selectedDateDescription\":\"Valittu päivämäärä: {date}\",\"selectedRangeDescription\":\"Valittu alue: {startDate} - {endDate}\"}");
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
var $78ad6f738c1f38d1$exports = {};
|
|
82
|
-
$78ad6f738c1f38d1$exports = JSON.parse("{\"calendar\":\"Calendrier\",\"
|
|
82
|
+
$78ad6f738c1f38d1$exports = JSON.parse("{\"calendar\":\"Calendrier\",\"day\":\"jour\",\"dayPeriod\":\"cadran\",\"endDate\":\"Date de fin\",\"era\":\"ère\",\"hour\":\"heure\",\"minute\":\"minute\",\"month\":\"mois\",\"second\":\"seconde\",\"startDate\":\"Date de début\",\"year\":\"année\",\"weekday\":\"jour de la semaine\",\"timeZoneName\":\"fuseau horaire\",\"selectedDateDescription\":\"Date sélectionnée : {date}\",\"selectedRangeDescription\":\"Plage sélectionnée : {startDate} à {endDate}\"}");
|
|
83
83
|
|
|
84
84
|
|
|
85
85
|
var $50fa4716d827cd97$exports = {};
|
|
86
|
-
$50fa4716d827cd97$exports = JSON.parse("{\"calendar\":\"לוח שנה\",\"
|
|
86
|
+
$50fa4716d827cd97$exports = JSON.parse("{\"calendar\":\"לוח שנה\",\"day\":\"יום\",\"dayPeriod\":\"לפנה״צ/אחה״צ\",\"endDate\":\"תאריך סיום\",\"era\":\"תקופה\",\"hour\":\"שעה\",\"minute\":\"דקה\",\"month\":\"חודש\",\"second\":\"שנייה\",\"startDate\":\"תאריך התחלה\",\"year\":\"שנה\",\"weekday\":\"יום בשבוע\",\"timeZoneName\":\"אזור זמן\",\"selectedDateDescription\":\"התאריך שנבחר: {date}\",\"selectedRangeDescription\":\"הטווח שנבחר: מ-{startDate} ועד {endDate}\"}");
|
|
87
87
|
|
|
88
88
|
|
|
89
89
|
var $7297908fac4cf6c2$exports = {};
|
|
90
|
-
$7297908fac4cf6c2$exports = JSON.parse("{\"calendar\":\"Kalendar\",\"
|
|
90
|
+
$7297908fac4cf6c2$exports = JSON.parse("{\"calendar\":\"Kalendar\",\"day\":\"dan\",\"dayPeriod\":\"AM/PM\",\"endDate\":\"Datum završetka\",\"era\":\"era\",\"hour\":\"sat\",\"minute\":\"minuta\",\"month\":\"mjesec\",\"second\":\"sekunda\",\"startDate\":\"Datum početka\",\"year\":\"godina\",\"weekday\":\"dan u tjednu\",\"timeZoneName\":\"vremenska zona\",\"selectedDateDescription\":\"Odabrani datum: {date}\",\"selectedRangeDescription\":\"Odabrani raspon: od {startDate} do {endDate}\"}");
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
var $f95c1b06e1d5ba32$exports = {};
|
|
94
|
-
$f95c1b06e1d5ba32$exports = JSON.parse("{\"calendar\":\"Naptár\",\"
|
|
94
|
+
$f95c1b06e1d5ba32$exports = JSON.parse("{\"calendar\":\"Naptár\",\"day\":\"nap\",\"dayPeriod\":\"napszak\",\"endDate\":\"Befejező dátum\",\"era\":\"éra\",\"hour\":\"óra\",\"minute\":\"perc\",\"month\":\"hónap\",\"second\":\"másodperc\",\"startDate\":\"Kezdő dátum\",\"year\":\"év\",\"weekday\":\"hét napja\",\"timeZoneName\":\"időzóna\",\"selectedDateDescription\":\"Kijelölt dátum: {date}\",\"selectedRangeDescription\":\"Kijelölt tartomány: {startDate} – {endDate}\"}");
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
var $437a8dc519258a01$exports = {};
|
|
98
|
-
$437a8dc519258a01$exports = JSON.parse("{\"calendar\":\"Calendario\",\"
|
|
98
|
+
$437a8dc519258a01$exports = JSON.parse("{\"calendar\":\"Calendario\",\"day\":\"giorno\",\"dayPeriod\":\"AM/PM\",\"endDate\":\"Data finale\",\"era\":\"era\",\"hour\":\"ora\",\"minute\":\"minuto\",\"month\":\"mese\",\"second\":\"secondo\",\"startDate\":\"Data iniziale\",\"year\":\"anno\",\"weekday\":\"giorno della settimana\",\"timeZoneName\":\"fuso orario\",\"selectedDateDescription\":\"Data selezionata: {date}\",\"selectedRangeDescription\":\"Intervallo selezionato: da {startDate} a {endDate}\"}");
|
|
99
99
|
|
|
100
100
|
|
|
101
101
|
var $bd0aa2b50092a836$exports = {};
|
|
102
|
-
$bd0aa2b50092a836$exports = JSON.parse("{\"calendar\":\"カレンダー\",\"
|
|
102
|
+
$bd0aa2b50092a836$exports = JSON.parse("{\"calendar\":\"カレンダー\",\"day\":\"日\",\"dayPeriod\":\"午前/午後\",\"endDate\":\"終了日\",\"era\":\"時代\",\"hour\":\"時\",\"minute\":\"分\",\"month\":\"月\",\"second\":\"秒\",\"startDate\":\"開始日\",\"year\":\"年\",\"weekday\":\"曜日\",\"timeZoneName\":\"タイムゾーン\",\"selectedDateDescription\":\"日付を選択:{date}\",\"selectedRangeDescription\":\"範囲を選択:{startDate} から {endDate}\"}");
|
|
103
103
|
|
|
104
104
|
|
|
105
105
|
var $bbd8176c2e044bc1$exports = {};
|
|
106
|
-
$bbd8176c2e044bc1$exports = JSON.parse("{\"calendar\":\"달력\",\"
|
|
106
|
+
$bbd8176c2e044bc1$exports = JSON.parse("{\"calendar\":\"달력\",\"day\":\"일\",\"dayPeriod\":\"오전/오후\",\"endDate\":\"종료 날짜\",\"era\":\"연호\",\"hour\":\"시\",\"minute\":\"분\",\"month\":\"월\",\"second\":\"초\",\"startDate\":\"시작 날짜\",\"year\":\"년\",\"weekday\":\"요일\",\"timeZoneName\":\"시간대\",\"selectedDateDescription\":\"선택한 날짜: {date}\",\"selectedRangeDescription\":\"선택한 범위: {startDate} ~ {endDate}\"}");
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
var $1af703df56ff5180$exports = {};
|
|
110
|
-
$1af703df56ff5180$exports = JSON.parse("{\"calendar\":\"Kalendorius\",\"
|
|
110
|
+
$1af703df56ff5180$exports = JSON.parse("{\"calendar\":\"Kalendorius\",\"day\":\"diena\",\"dayPeriod\":\"iki pietų / po pietų\",\"endDate\":\"Pabaigos data\",\"era\":\"era\",\"hour\":\"valanda\",\"minute\":\"minutė\",\"month\":\"mėnuo\",\"second\":\"sekundė\",\"startDate\":\"Pradžios data\",\"year\":\"metai\",\"weekday\":\"savaitės diena\",\"timeZoneName\":\"laiko juosta\",\"selectedDateDescription\":\"Pasirinkta data: {date}\",\"selectedRangeDescription\":\"Pasirinktas intervalas: nuo {startDate} iki {endDate}\"}");
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
var $9705eb4511dea9f8$exports = {};
|
|
114
|
-
$9705eb4511dea9f8$exports = JSON.parse("{\"calendar\":\"Kalendārs\",\"
|
|
114
|
+
$9705eb4511dea9f8$exports = JSON.parse("{\"calendar\":\"Kalendārs\",\"day\":\"diena\",\"dayPeriod\":\"priekšpusdienā/pēcpusdienā\",\"endDate\":\"Beigu datums\",\"era\":\"ēra\",\"hour\":\"stundas\",\"minute\":\"minūtes\",\"month\":\"mēnesis\",\"second\":\"sekundes\",\"startDate\":\"Sākuma datums\",\"year\":\"gads\",\"weekday\":\"nedēļas diena\",\"timeZoneName\":\"laika josla\",\"selectedDateDescription\":\"Atlasītais datums: {date}\",\"selectedRangeDescription\":\"Atlasītais diapazons: {startDate} līdz {endDate}\"}");
|
|
115
115
|
|
|
116
116
|
|
|
117
117
|
var $8ef984876a7160bc$exports = {};
|
|
118
|
-
$8ef984876a7160bc$exports = JSON.parse("{\"calendar\":\"Kalender\",\"
|
|
118
|
+
$8ef984876a7160bc$exports = JSON.parse("{\"calendar\":\"Kalender\",\"day\":\"dag\",\"dayPeriod\":\"a.m./p.m.\",\"endDate\":\"Sluttdato\",\"era\":\"tidsalder\",\"hour\":\"time\",\"minute\":\"minutt\",\"month\":\"måned\",\"second\":\"sekund\",\"startDate\":\"Startdato\",\"year\":\"år\",\"weekday\":\"ukedag\",\"timeZoneName\":\"tidssone\",\"selectedDateDescription\":\"Valgt dato: {date}\",\"selectedRangeDescription\":\"Valgt område: {startDate} til {endDate}\"}");
|
|
119
119
|
|
|
120
120
|
|
|
121
121
|
var $b6e9809e1ecaa25e$exports = {};
|
|
122
|
-
$b6e9809e1ecaa25e$exports = JSON.parse("{\"calendar\":\"Kalender\",\"
|
|
122
|
+
$b6e9809e1ecaa25e$exports = JSON.parse("{\"calendar\":\"Kalender\",\"day\":\"dag\",\"dayPeriod\":\"a.m./p.m.\",\"endDate\":\"Einddatum\",\"era\":\"tijdperk\",\"hour\":\"uur\",\"minute\":\"minuut\",\"month\":\"maand\",\"second\":\"seconde\",\"startDate\":\"Startdatum\",\"year\":\"jaar\",\"weekday\":\"dag van de week\",\"timeZoneName\":\"tijdzone\",\"selectedDateDescription\":\"Geselecteerde datum: {date}\",\"selectedRangeDescription\":\"Geselecteerd bereik: {startDate} t/m {endDate}\"}");
|
|
123
123
|
|
|
124
124
|
|
|
125
125
|
var $deb2fa609661fe31$exports = {};
|
|
126
|
-
$deb2fa609661fe31$exports = JSON.parse("{\"calendar\":\"Kalendarz\",\"
|
|
126
|
+
$deb2fa609661fe31$exports = JSON.parse("{\"calendar\":\"Kalendarz\",\"day\":\"dzień\",\"dayPeriod\":\"rano / po południu / wieczorem\",\"endDate\":\"Data końcowa\",\"era\":\"era\",\"hour\":\"godzina\",\"minute\":\"minuta\",\"month\":\"miesiąc\",\"second\":\"sekunda\",\"startDate\":\"Data początkowa\",\"year\":\"rok\",\"weekday\":\"dzień tygodnia\",\"timeZoneName\":\"strefa czasowa\",\"selectedDateDescription\":\"Wybrana data: {date}\",\"selectedRangeDescription\":\"Wybrany zakres: {startDate} do {endDate}\"}");
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
var $591c8c054c84fa56$exports = {};
|
|
130
|
-
$591c8c054c84fa56$exports = JSON.parse("{\"calendar\":\"Calendário\",\"
|
|
130
|
+
$591c8c054c84fa56$exports = JSON.parse("{\"calendar\":\"Calendário\",\"day\":\"dia\",\"dayPeriod\":\"AM/PM\",\"endDate\":\"Data final\",\"era\":\"era\",\"hour\":\"hora\",\"minute\":\"minuto\",\"month\":\"mês\",\"second\":\"segundo\",\"startDate\":\"Data inicial\",\"year\":\"ano\",\"weekday\":\"dia da semana\",\"timeZoneName\":\"fuso horário\",\"selectedDateDescription\":\"Data selecionada: {date}\",\"selectedRangeDescription\":\"Intervalo selecionado: {startDate} até {endDate}\"}");
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
var $f1633bd6cbc228e8$exports = {};
|
|
134
|
-
$f1633bd6cbc228e8$exports = JSON.parse("{\"calendar\":\"Calendário\",\"
|
|
134
|
+
$f1633bd6cbc228e8$exports = JSON.parse("{\"calendar\":\"Calendário\",\"day\":\"dia\",\"dayPeriod\":\"am/pm\",\"endDate\":\"Data de Término\",\"era\":\"era\",\"hour\":\"hora\",\"minute\":\"minuto\",\"month\":\"mês\",\"second\":\"segundo\",\"startDate\":\"Data de Início\",\"year\":\"ano\",\"weekday\":\"dia da semana\",\"timeZoneName\":\"fuso horário\",\"selectedDateDescription\":\"Data Selecionada: {data, data, completo}\",\"selectedRangeDescription\":\"Selecionar Intervalo: {início, data, longo} a {término, data, longo}\"}");
|
|
135
135
|
|
|
136
136
|
|
|
137
137
|
var $14e09da03f3d1c5b$exports = {};
|
|
138
|
-
$14e09da03f3d1c5b$exports = JSON.parse("{\"calendar\":\"Calendar\",\"
|
|
138
|
+
$14e09da03f3d1c5b$exports = JSON.parse("{\"calendar\":\"Calendar\",\"day\":\"zi\",\"dayPeriod\":\"a.m/p.m.\",\"endDate\":\"Dată final\",\"era\":\"eră\",\"hour\":\"oră\",\"minute\":\"minut\",\"month\":\"lună\",\"second\":\"secundă\",\"startDate\":\"Dată început\",\"year\":\"an\",\"weekday\":\"ziua din săptămână\",\"timeZoneName\":\"fus orar\",\"selectedDateDescription\":\"Dată selectată: {date}\",\"selectedRangeDescription\":\"Selectaţi raza: {startDate} la {endDate}\"}");
|
|
139
139
|
|
|
140
140
|
|
|
141
141
|
var $63247a3456bc40d1$exports = {};
|
|
142
|
-
$63247a3456bc40d1$exports = JSON.parse("{\"calendar\":\"Календарь\",\"
|
|
142
|
+
$63247a3456bc40d1$exports = JSON.parse("{\"calendar\":\"Календарь\",\"day\":\"день\",\"dayPeriod\":\"AM/PM\",\"endDate\":\"Дата окончания\",\"era\":\"эра\",\"hour\":\"час\",\"minute\":\"минута\",\"month\":\"месяц\",\"second\":\"секунда\",\"startDate\":\"Дата начала\",\"year\":\"год\",\"weekday\":\"день недели\",\"timeZoneName\":\"часовой пояс\",\"selectedDateDescription\":\"Выбранная дата: {date}\",\"selectedRangeDescription\":\"Выбранный диапазон: {startDate} – {endDate}\"}");
|
|
143
143
|
|
|
144
144
|
|
|
145
145
|
var $22150dd20c353dd4$exports = {};
|
|
146
|
-
$22150dd20c353dd4$exports = JSON.parse("{\"calendar\":\"Kalendár\",\"
|
|
146
|
+
$22150dd20c353dd4$exports = JSON.parse("{\"calendar\":\"Kalendár\",\"day\":\"deň\",\"dayPeriod\":\"AM/PM\",\"endDate\":\"Dátum ukončenia\",\"era\":\"letopočet\",\"hour\":\"hodina\",\"minute\":\"minúta\",\"month\":\"mesiac\",\"second\":\"sekunda\",\"startDate\":\"Dátum začatia\",\"year\":\"rok\",\"weekday\":\"deň týždňa\",\"timeZoneName\":\"časové pásmo\",\"selectedDateDescription\":\"Vybratý dátum: {date}\",\"selectedRangeDescription\":\"Vybratý rozsah dátumov: {startDate} do {endDate}\"}");
|
|
147
147
|
|
|
148
148
|
|
|
149
149
|
var $701eb9a0385c55fd$exports = {};
|
|
150
|
-
$701eb9a0385c55fd$exports = JSON.parse("{\"calendar\":\"Koledar\",\"
|
|
150
|
+
$701eb9a0385c55fd$exports = JSON.parse("{\"calendar\":\"Koledar\",\"day\":\"dan\",\"dayPeriod\":\"dop/pop\",\"endDate\":\"Datum konca\",\"era\":\"doba\",\"hour\":\"ura\",\"minute\":\"minuta\",\"month\":\"mesec\",\"second\":\"sekunda\",\"startDate\":\"Datum začetka\",\"year\":\"leto\",\"weekday\":\"dan v tednu\",\"timeZoneName\":\"časovni pas\",\"selectedDateDescription\":\"Izbrani datum: {date}\",\"selectedRangeDescription\":\"Izbrani razpon: {startDate} do {endDate}\"}");
|
|
151
151
|
|
|
152
152
|
|
|
153
153
|
var $54684a4891ca6dc5$exports = {};
|
|
154
|
-
$54684a4891ca6dc5$exports = JSON.parse("{\"calendar\":\"Kalendar\",\"
|
|
154
|
+
$54684a4891ca6dc5$exports = JSON.parse("{\"calendar\":\"Kalendar\",\"day\":\"дан\",\"dayPeriod\":\"пре подне/по подне\",\"endDate\":\"Datum završetka\",\"era\":\"ера\",\"hour\":\"сат\",\"minute\":\"минут\",\"month\":\"месец\",\"second\":\"секунд\",\"startDate\":\"Datum početka\",\"year\":\"година\",\"weekday\":\"дан у недељи\",\"timeZoneName\":\"временска зона\",\"selectedDateDescription\":\"Izabrani datum: {date}\",\"selectedRangeDescription\":\"Izabrani opseg: od {startDate} do {endDate}\"}");
|
|
155
155
|
|
|
156
156
|
|
|
157
157
|
var $545887f88a5a52db$exports = {};
|
|
158
|
-
$545887f88a5a52db$exports = JSON.parse("{\"calendar\":\"Kalender\",\"
|
|
158
|
+
$545887f88a5a52db$exports = JSON.parse("{\"calendar\":\"Kalender\",\"day\":\"dag\",\"dayPeriod\":\"fm/em\",\"endDate\":\"Slutdatum\",\"era\":\"era\",\"hour\":\"timme\",\"minute\":\"minut\",\"month\":\"månad\",\"second\":\"sekund\",\"startDate\":\"Startdatum\",\"year\":\"år\",\"weekday\":\"veckodag\",\"timeZoneName\":\"tidszon\",\"selectedDateDescription\":\"Valt datum: {date}\",\"selectedRangeDescription\":\"Valt intervall: {startDate} till {endDate}\"}");
|
|
159
159
|
|
|
160
160
|
|
|
161
161
|
var $492d49420dd96ff4$exports = {};
|
|
162
|
-
$492d49420dd96ff4$exports = JSON.parse("{\"calendar\":\"Takvim\",\"
|
|
162
|
+
$492d49420dd96ff4$exports = JSON.parse("{\"calendar\":\"Takvim\",\"day\":\"gün\",\"dayPeriod\":\"ÖÖ/ÖS\",\"endDate\":\"Bitiş Tarihi\",\"era\":\"çağ\",\"hour\":\"saat\",\"minute\":\"dakika\",\"month\":\"ay\",\"second\":\"saniye\",\"startDate\":\"Başlangıç Tarihi\",\"year\":\"yıl\",\"weekday\":\"haftanın günü\",\"timeZoneName\":\"saat dilimi\",\"selectedDateDescription\":\"Seçili Tarih: {date}\",\"selectedRangeDescription\":\"Seçili Aralık: {startDate} - {endDate}\"}");
|
|
163
163
|
|
|
164
164
|
|
|
165
165
|
var $dc85765e85e8f267$exports = {};
|
|
166
|
-
$dc85765e85e8f267$exports = JSON.parse("{\"calendar\":\"Календар\",\"
|
|
166
|
+
$dc85765e85e8f267$exports = JSON.parse("{\"calendar\":\"Календар\",\"day\":\"день\",\"dayPeriod\":\"дп/пп\",\"endDate\":\"Дата завершення\",\"era\":\"ера\",\"hour\":\"година\",\"minute\":\"хвилина\",\"month\":\"місяць\",\"second\":\"секунда\",\"startDate\":\"Дата початку\",\"year\":\"рік\",\"weekday\":\"день тижня\",\"timeZoneName\":\"часовий пояс\",\"selectedDateDescription\":\"Вибрана дата: {date}\",\"selectedRangeDescription\":\"Вибраний діапазон: від {startDate} до {endDate}\"}");
|
|
167
167
|
|
|
168
168
|
|
|
169
169
|
var $2157d63cb80c7c63$exports = {};
|
|
170
|
-
$2157d63cb80c7c63$exports = JSON.parse("{\"calendar\":\"日历\",\"
|
|
170
|
+
$2157d63cb80c7c63$exports = JSON.parse("{\"calendar\":\"日历\",\"day\":\"日\",\"dayPeriod\":\"上午/下午\",\"endDate\":\"结束日期\",\"era\":\"纪元\",\"hour\":\"小时\",\"minute\":\"分钟\",\"month\":\"月\",\"second\":\"秒\",\"startDate\":\"开始日期\",\"year\":\"年\",\"weekday\":\"工作日\",\"timeZoneName\":\"时区\",\"selectedDateDescription\":\"选定的日期: {date}\",\"selectedRangeDescription\":\"选定的范围: {startDate} 到 {endDate}\"}");
|
|
171
171
|
|
|
172
172
|
|
|
173
173
|
var $0335c3ddb5f70cbe$exports = {};
|
|
174
|
-
$0335c3ddb5f70cbe$exports = JSON.parse("{\"calendar\":\"日曆\",\"
|
|
174
|
+
$0335c3ddb5f70cbe$exports = JSON.parse("{\"calendar\":\"日曆\",\"day\":\"日\",\"dayPeriod\":\"上午/下午\",\"endDate\":\"結束日期\",\"era\":\"纪元\",\"hour\":\"小时\",\"minute\":\"分钟\",\"month\":\"月\",\"second\":\"秒\",\"startDate\":\"開始日期\",\"year\":\"年\",\"weekday\":\"工作日\",\"timeZoneName\":\"时区\",\"selectedDateDescription\":\"選取日期: {date}\",\"selectedRangeDescription\":\"選取範圍: {startDate} 至 {endDate}\"}");
|
|
175
175
|
|
|
176
176
|
|
|
177
177
|
$c7d0e80b992ca68a$exports = {
|
|
@@ -219,6 +219,7 @@ $c7d0e80b992ca68a$exports = {
|
|
|
219
219
|
|
|
220
220
|
|
|
221
221
|
|
|
222
|
+
|
|
222
223
|
function $715562ad3b4cced4$export$4a931266a3838b86(state, ref1) {
|
|
223
224
|
// Open the popover on alt + arrow down
|
|
224
225
|
let onKeyDown = (e)=>{
|
|
@@ -272,6 +273,7 @@ function $715562ad3b4cced4$export$4a931266a3838b86(state, ref1) {
|
|
|
272
273
|
|
|
273
274
|
|
|
274
275
|
|
|
276
|
+
|
|
275
277
|
const $4acc2f407c169e55$export$653eddfc964b0f8a = new WeakMap();
|
|
276
278
|
const $4acc2f407c169e55$export$300019f83c56d282 = '__role_' + Date.now();
|
|
277
279
|
const $4acc2f407c169e55$export$7b3062cd49e80452 = '__focusManager_' + Date.now();
|
|
@@ -286,9 +288,15 @@ function $4acc2f407c169e55$export$5591b0b878c1a989(props, state, ref) {
|
|
|
286
288
|
state.confirmPlaceholder();
|
|
287
289
|
}
|
|
288
290
|
});
|
|
289
|
-
let
|
|
290
|
-
|
|
291
|
-
|
|
291
|
+
let formatMessage = $IwcIq$reactariai18n.useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($c7d0e80b992ca68a$exports)));
|
|
292
|
+
let message = state.maxGranularity === 'hour' ? 'selectedTimeDescription' : 'selectedDateDescription';
|
|
293
|
+
let field = state.maxGranularity === 'hour' ? 'time' : 'date';
|
|
294
|
+
let description = state.value ? formatMessage(message, {
|
|
295
|
+
[field]: state.formatValue({
|
|
296
|
+
month: 'long'
|
|
297
|
+
})
|
|
298
|
+
}) : '';
|
|
299
|
+
let descProps = $IwcIq$reactariautils.useDescription(description);
|
|
292
300
|
// If within a date picker or date range picker, the date field will have role="presentation" and an aria-describedby
|
|
293
301
|
// will be passed in that references the value (e.g. entire range). Otherwise, add the field's value description.
|
|
294
302
|
let describedBy = props[$4acc2f407c169e55$export$300019f83c56d282] === 'presentation' ? fieldProps['aria-describedby'] : [
|
|
@@ -362,9 +370,13 @@ function $e90ae7c26a69c6b1$export$42df105a73306d51(props, state, ref) {
|
|
|
362
370
|
let groupProps = $715562ad3b4cced4$export$4a931266a3838b86(state, ref);
|
|
363
371
|
let labelledBy = fieldProps['aria-labelledby'] || fieldProps.id;
|
|
364
372
|
let { locale: locale } = $IwcIq$reactariai18n.useLocale();
|
|
365
|
-
let
|
|
373
|
+
let date = state.formatValue(locale, {
|
|
366
374
|
month: 'long'
|
|
367
|
-
})
|
|
375
|
+
});
|
|
376
|
+
let description = date ? formatMessage('selectedDateDescription', {
|
|
377
|
+
date: date
|
|
378
|
+
}) : '';
|
|
379
|
+
let descProps = $IwcIq$reactariautils.useDescription(description);
|
|
368
380
|
let ariaDescribedBy = [
|
|
369
381
|
descProps['aria-describedby'],
|
|
370
382
|
fieldProps['aria-describedby']
|
|
@@ -426,7 +438,9 @@ function $e90ae7c26a69c6b1$export$42df105a73306d51(props, state, ref) {
|
|
|
426
438
|
isDisabled: props.isDisabled,
|
|
427
439
|
isReadOnly: props.isReadOnly,
|
|
428
440
|
isDateUnavailable: props.isDateUnavailable,
|
|
429
|
-
defaultFocusedValue: state.dateValue ? undefined : props.placeholderValue
|
|
441
|
+
defaultFocusedValue: state.dateValue ? undefined : props.placeholderValue,
|
|
442
|
+
validationState: state.validationState,
|
|
443
|
+
errorMessage: props.errorMessage
|
|
430
444
|
}
|
|
431
445
|
};
|
|
432
446
|
}
|
|
@@ -473,7 +487,6 @@ class $934ac650a0aceb4b$var$DisplayNamesPolyfill {
|
|
|
473
487
|
|
|
474
488
|
|
|
475
489
|
|
|
476
|
-
|
|
477
490
|
function $5c015c6316d1904d$export$1315d136e6f7581(segment, state, ref) {
|
|
478
491
|
let enteredKeys = $IwcIq$react.useRef('');
|
|
479
492
|
let { locale: locale , direction: direction } = $IwcIq$reactariai18n.useLocale();
|
|
@@ -706,17 +719,6 @@ function $5c015c6316d1904d$export$1315d136e6f7581(segment, state, ref) {
|
|
|
706
719
|
break;
|
|
707
720
|
}
|
|
708
721
|
});
|
|
709
|
-
// Focus on mouse down/touch up to match native textfield behavior.
|
|
710
|
-
// usePress handles canceling text selection.
|
|
711
|
-
let { pressProps: pressProps } = $IwcIq$reactariainteractions.usePress({
|
|
712
|
-
preventFocusOnPress: true,
|
|
713
|
-
onPressStart: (e)=>{
|
|
714
|
-
if (e.pointerType === 'mouse') e.target.focus();
|
|
715
|
-
},
|
|
716
|
-
onPress (e) {
|
|
717
|
-
if (e.pointerType !== 'mouse') e.target.focus();
|
|
718
|
-
}
|
|
719
|
-
});
|
|
720
722
|
// For Android: prevent selection on long press.
|
|
721
723
|
$IwcIq$reactariautils.useEvent(ref, 'selectstart', (e)=>{
|
|
722
724
|
e.preventDefault();
|
|
@@ -755,7 +757,7 @@ function $5c015c6316d1904d$export$1315d136e6f7581(segment, state, ref) {
|
|
|
755
757
|
}
|
|
756
758
|
};
|
|
757
759
|
return {
|
|
758
|
-
segmentProps: $IwcIq$reactariautils.mergeProps(spinButtonProps,
|
|
760
|
+
segmentProps: $IwcIq$reactariautils.mergeProps(spinButtonProps, labelProps, {
|
|
759
761
|
id: id,
|
|
760
762
|
...touchPropOverrides,
|
|
761
763
|
'aria-invalid': state.validationState === 'invalid' ? 'true' : undefined,
|
|
@@ -774,7 +776,16 @@ function $5c015c6316d1904d$export$1315d136e6f7581(segment, state, ref) {
|
|
|
774
776
|
onKeyDown: onKeyDown,
|
|
775
777
|
onFocus: onFocus,
|
|
776
778
|
style: {
|
|
777
|
-
caretColor: 'transparent'
|
|
779
|
+
caretColor: 'transparent',
|
|
780
|
+
userSelect: 'none',
|
|
781
|
+
WebkitUserSelect: 'none'
|
|
782
|
+
},
|
|
783
|
+
// Prevent pointer events from reaching useDatePickerGroup, and allow native browser behavior to focus the segment.
|
|
784
|
+
onPointerDown (e) {
|
|
785
|
+
e.stopPropagation();
|
|
786
|
+
},
|
|
787
|
+
onMouseDown (e) {
|
|
788
|
+
e.stopPropagation();
|
|
778
789
|
}
|
|
779
790
|
})
|
|
780
791
|
};
|
|
@@ -800,9 +811,13 @@ function $20f695b1b69e6b9e$export$12fd5f0e9f4bb192(props, state, ref) {
|
|
|
800
811
|
});
|
|
801
812
|
let labelledBy = fieldProps['aria-labelledby'] || fieldProps.id;
|
|
802
813
|
let { locale: locale } = $IwcIq$reactariai18n.useLocale();
|
|
803
|
-
let
|
|
814
|
+
let range = state.formatValue(locale, {
|
|
804
815
|
month: 'long'
|
|
805
816
|
});
|
|
817
|
+
let description = range ? formatMessage('selectedRangeDescription', {
|
|
818
|
+
startDate: range.start,
|
|
819
|
+
endDate: range.end
|
|
820
|
+
}) : '';
|
|
806
821
|
let descProps = $IwcIq$reactariautils.useDescription(description);
|
|
807
822
|
let startFieldProps = {
|
|
808
823
|
'aria-label': formatMessage('startDate'),
|
|
@@ -895,7 +910,9 @@ function $20f695b1b69e6b9e$export$12fd5f0e9f4bb192(props, state, ref) {
|
|
|
895
910
|
isReadOnly: props.isReadOnly,
|
|
896
911
|
isDateUnavailable: props.isDateUnavailable,
|
|
897
912
|
allowsNonContiguousRanges: props.allowsNonContiguousRanges,
|
|
898
|
-
defaultFocusedValue: state.dateRange ? undefined : props.placeholderValue
|
|
913
|
+
defaultFocusedValue: state.dateRange ? undefined : props.placeholderValue,
|
|
914
|
+
validationState: state.validationState,
|
|
915
|
+
errorMessage: props.errorMessage
|
|
899
916
|
}
|
|
900
917
|
};
|
|
901
918
|
}
|