@react-aria/datepicker 3.9.2 → 3.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (213) hide show
  1. package/dist/ar-AE.main.js +21 -0
  2. package/dist/ar-AE.main.js.map +1 -0
  3. package/dist/ar-AE.mjs +23 -0
  4. package/dist/ar-AE.module.js +23 -0
  5. package/dist/ar-AE.module.js.map +1 -0
  6. package/dist/bg-BG.main.js +21 -0
  7. package/dist/bg-BG.main.js.map +1 -0
  8. package/dist/bg-BG.mjs +23 -0
  9. package/dist/bg-BG.module.js +23 -0
  10. package/dist/bg-BG.module.js.map +1 -0
  11. package/dist/cs-CZ.main.js +21 -0
  12. package/dist/cs-CZ.main.js.map +1 -0
  13. package/dist/cs-CZ.mjs +23 -0
  14. package/dist/cs-CZ.module.js +23 -0
  15. package/dist/cs-CZ.module.js.map +1 -0
  16. package/dist/da-DK.main.js +21 -0
  17. package/dist/da-DK.main.js.map +1 -0
  18. package/dist/da-DK.mjs +23 -0
  19. package/dist/da-DK.module.js +23 -0
  20. package/dist/da-DK.module.js.map +1 -0
  21. package/dist/de-DE.main.js +21 -0
  22. package/dist/de-DE.main.js.map +1 -0
  23. package/dist/de-DE.mjs +23 -0
  24. package/dist/de-DE.module.js +23 -0
  25. package/dist/de-DE.module.js.map +1 -0
  26. package/dist/el-GR.main.js +21 -0
  27. package/dist/el-GR.main.js.map +1 -0
  28. package/dist/el-GR.mjs +23 -0
  29. package/dist/el-GR.module.js +23 -0
  30. package/dist/el-GR.module.js.map +1 -0
  31. package/dist/en-US.main.js +21 -0
  32. package/dist/en-US.main.js.map +1 -0
  33. package/dist/en-US.mjs +23 -0
  34. package/dist/en-US.module.js +23 -0
  35. package/dist/en-US.module.js.map +1 -0
  36. package/dist/es-ES.main.js +21 -0
  37. package/dist/es-ES.main.js.map +1 -0
  38. package/dist/es-ES.mjs +23 -0
  39. package/dist/es-ES.module.js +23 -0
  40. package/dist/es-ES.module.js.map +1 -0
  41. package/dist/et-EE.main.js +21 -0
  42. package/dist/et-EE.main.js.map +1 -0
  43. package/dist/et-EE.mjs +23 -0
  44. package/dist/et-EE.module.js +23 -0
  45. package/dist/et-EE.module.js.map +1 -0
  46. package/dist/fi-FI.main.js +21 -0
  47. package/dist/fi-FI.main.js.map +1 -0
  48. package/dist/fi-FI.mjs +23 -0
  49. package/dist/fi-FI.module.js +23 -0
  50. package/dist/fi-FI.module.js.map +1 -0
  51. package/dist/fr-FR.main.js +21 -0
  52. package/dist/fr-FR.main.js.map +1 -0
  53. package/dist/fr-FR.mjs +23 -0
  54. package/dist/fr-FR.module.js +23 -0
  55. package/dist/fr-FR.module.js.map +1 -0
  56. package/dist/he-IL.main.js +21 -0
  57. package/dist/he-IL.main.js.map +1 -0
  58. package/dist/he-IL.mjs +23 -0
  59. package/dist/he-IL.module.js +23 -0
  60. package/dist/he-IL.module.js.map +1 -0
  61. package/dist/hr-HR.main.js +21 -0
  62. package/dist/hr-HR.main.js.map +1 -0
  63. package/dist/hr-HR.mjs +23 -0
  64. package/dist/hr-HR.module.js +23 -0
  65. package/dist/hr-HR.module.js.map +1 -0
  66. package/dist/hu-HU.main.js +21 -0
  67. package/dist/hu-HU.main.js.map +1 -0
  68. package/dist/hu-HU.mjs +23 -0
  69. package/dist/hu-HU.module.js +23 -0
  70. package/dist/hu-HU.module.js.map +1 -0
  71. package/dist/import.mjs +5 -1693
  72. package/dist/intlStrings.main.js +108 -0
  73. package/dist/intlStrings.main.js.map +1 -0
  74. package/dist/intlStrings.mjs +110 -0
  75. package/dist/intlStrings.module.js +110 -0
  76. package/dist/intlStrings.module.js.map +1 -0
  77. package/dist/it-IT.main.js +21 -0
  78. package/dist/it-IT.main.js.map +1 -0
  79. package/dist/it-IT.mjs +23 -0
  80. package/dist/it-IT.module.js +23 -0
  81. package/dist/it-IT.module.js.map +1 -0
  82. package/dist/ja-JP.main.js +21 -0
  83. package/dist/ja-JP.main.js.map +1 -0
  84. package/dist/ja-JP.mjs +23 -0
  85. package/dist/ja-JP.module.js +23 -0
  86. package/dist/ja-JP.module.js.map +1 -0
  87. package/dist/ko-KR.main.js +21 -0
  88. package/dist/ko-KR.main.js.map +1 -0
  89. package/dist/ko-KR.mjs +23 -0
  90. package/dist/ko-KR.module.js +23 -0
  91. package/dist/ko-KR.module.js.map +1 -0
  92. package/dist/lt-LT.main.js +21 -0
  93. package/dist/lt-LT.main.js.map +1 -0
  94. package/dist/lt-LT.mjs +23 -0
  95. package/dist/lt-LT.module.js +23 -0
  96. package/dist/lt-LT.module.js.map +1 -0
  97. package/dist/lv-LV.main.js +21 -0
  98. package/dist/lv-LV.main.js.map +1 -0
  99. package/dist/lv-LV.mjs +23 -0
  100. package/dist/lv-LV.module.js +23 -0
  101. package/dist/lv-LV.module.js.map +1 -0
  102. package/dist/main.js +11 -1699
  103. package/dist/main.js.map +1 -1
  104. package/dist/module.js +5 -1693
  105. package/dist/module.js.map +1 -1
  106. package/dist/nb-NO.main.js +21 -0
  107. package/dist/nb-NO.main.js.map +1 -0
  108. package/dist/nb-NO.mjs +23 -0
  109. package/dist/nb-NO.module.js +23 -0
  110. package/dist/nb-NO.module.js.map +1 -0
  111. package/dist/nl-NL.main.js +21 -0
  112. package/dist/nl-NL.main.js.map +1 -0
  113. package/dist/nl-NL.mjs +23 -0
  114. package/dist/nl-NL.module.js +23 -0
  115. package/dist/nl-NL.module.js.map +1 -0
  116. package/dist/pl-PL.main.js +21 -0
  117. package/dist/pl-PL.main.js.map +1 -0
  118. package/dist/pl-PL.mjs +23 -0
  119. package/dist/pl-PL.module.js +23 -0
  120. package/dist/pl-PL.module.js.map +1 -0
  121. package/dist/pt-BR.main.js +21 -0
  122. package/dist/pt-BR.main.js.map +1 -0
  123. package/dist/pt-BR.mjs +23 -0
  124. package/dist/pt-BR.module.js +23 -0
  125. package/dist/pt-BR.module.js.map +1 -0
  126. package/dist/pt-PT.main.js +21 -0
  127. package/dist/pt-PT.main.js.map +1 -0
  128. package/dist/pt-PT.mjs +23 -0
  129. package/dist/pt-PT.module.js +23 -0
  130. package/dist/pt-PT.module.js.map +1 -0
  131. package/dist/ro-RO.main.js +21 -0
  132. package/dist/ro-RO.main.js.map +1 -0
  133. package/dist/ro-RO.mjs +23 -0
  134. package/dist/ro-RO.module.js +23 -0
  135. package/dist/ro-RO.module.js.map +1 -0
  136. package/dist/ru-RU.main.js +21 -0
  137. package/dist/ru-RU.main.js.map +1 -0
  138. package/dist/ru-RU.mjs +23 -0
  139. package/dist/ru-RU.module.js +23 -0
  140. package/dist/ru-RU.module.js.map +1 -0
  141. package/dist/sk-SK.main.js +21 -0
  142. package/dist/sk-SK.main.js.map +1 -0
  143. package/dist/sk-SK.mjs +23 -0
  144. package/dist/sk-SK.module.js +23 -0
  145. package/dist/sk-SK.module.js.map +1 -0
  146. package/dist/sl-SI.main.js +21 -0
  147. package/dist/sl-SI.main.js.map +1 -0
  148. package/dist/sl-SI.mjs +23 -0
  149. package/dist/sl-SI.module.js +23 -0
  150. package/dist/sl-SI.module.js.map +1 -0
  151. package/dist/sr-SP.main.js +21 -0
  152. package/dist/sr-SP.main.js.map +1 -0
  153. package/dist/sr-SP.mjs +23 -0
  154. package/dist/sr-SP.module.js +23 -0
  155. package/dist/sr-SP.module.js.map +1 -0
  156. package/dist/sv-SE.main.js +21 -0
  157. package/dist/sv-SE.main.js.map +1 -0
  158. package/dist/sv-SE.mjs +23 -0
  159. package/dist/sv-SE.module.js +23 -0
  160. package/dist/sv-SE.module.js.map +1 -0
  161. package/dist/tr-TR.main.js +21 -0
  162. package/dist/tr-TR.main.js.map +1 -0
  163. package/dist/tr-TR.mjs +23 -0
  164. package/dist/tr-TR.module.js +23 -0
  165. package/dist/tr-TR.module.js.map +1 -0
  166. package/dist/types.d.ts.map +1 -1
  167. package/dist/uk-UA.main.js +21 -0
  168. package/dist/uk-UA.main.js.map +1 -0
  169. package/dist/uk-UA.mjs +23 -0
  170. package/dist/uk-UA.module.js +23 -0
  171. package/dist/uk-UA.module.js.map +1 -0
  172. package/dist/useDateField.main.js +176 -0
  173. package/dist/useDateField.main.js.map +1 -0
  174. package/dist/useDateField.mjs +167 -0
  175. package/dist/useDateField.module.js +167 -0
  176. package/dist/useDateField.module.js.map +1 -0
  177. package/dist/useDatePicker.main.js +158 -0
  178. package/dist/useDatePicker.main.js.map +1 -0
  179. package/dist/useDatePicker.mjs +153 -0
  180. package/dist/useDatePicker.module.js +153 -0
  181. package/dist/useDatePicker.module.js.map +1 -0
  182. package/dist/useDatePickerGroup.main.js +91 -0
  183. package/dist/useDatePickerGroup.main.js.map +1 -0
  184. package/dist/useDatePickerGroup.mjs +86 -0
  185. package/dist/useDatePickerGroup.module.js +86 -0
  186. package/dist/useDatePickerGroup.module.js.map +1 -0
  187. package/dist/useDateRangePicker.main.js +201 -0
  188. package/dist/useDateRangePicker.main.js.map +1 -0
  189. package/dist/useDateRangePicker.mjs +196 -0
  190. package/dist/useDateRangePicker.module.js +196 -0
  191. package/dist/useDateRangePicker.module.js.map +1 -0
  192. package/dist/useDateSegment.main.js +366 -0
  193. package/dist/useDateSegment.main.js.map +1 -0
  194. package/dist/useDateSegment.mjs +357 -0
  195. package/dist/useDateSegment.module.js +357 -0
  196. package/dist/useDateSegment.module.js.map +1 -0
  197. package/dist/useDisplayNames.main.js +59 -0
  198. package/dist/useDisplayNames.main.js.map +1 -0
  199. package/dist/useDisplayNames.mjs +54 -0
  200. package/dist/useDisplayNames.module.js +54 -0
  201. package/dist/useDisplayNames.module.js.map +1 -0
  202. package/dist/zh-CN.main.js +21 -0
  203. package/dist/zh-CN.main.js.map +1 -0
  204. package/dist/zh-CN.mjs +23 -0
  205. package/dist/zh-CN.module.js +23 -0
  206. package/dist/zh-CN.module.js.map +1 -0
  207. package/dist/zh-TW.main.js +21 -0
  208. package/dist/zh-TW.main.js.map +1 -0
  209. package/dist/zh-TW.mjs +23 -0
  210. package/dist/zh-TW.module.js +23 -0
  211. package/dist/zh-TW.module.js.map +1 -0
  212. package/package.json +19 -19
  213. package/src/useDateSegment.ts +4 -0
package/dist/main.js CHANGED
@@ -1,1543 +1,20 @@
1
- var $IwcIq$reactariafocus = require("@react-aria/focus");
2
- var $IwcIq$reactariautils = require("@react-aria/utils");
3
- var $IwcIq$reactstatelyform = require("@react-stately/form");
4
- var $IwcIq$react = require("react");
5
- var $IwcIq$reactarialabel = require("@react-aria/label");
6
- var $IwcIq$reactariainteractions = require("@react-aria/interactions");
7
- var $IwcIq$reactariai18n = require("@react-aria/i18n");
8
- var $IwcIq$reactariaform = require("@react-aria/form");
9
- var $IwcIq$internationalizeddate = require("@internationalized/date");
10
- var $IwcIq$internationalizednumber = require("@internationalized/number");
11
- var $IwcIq$reactariaspinbutton = require("@react-aria/spinbutton");
1
+ var $e90ae7c26a69c6b1$exports = require("./useDatePicker.main.js");
2
+ var $5c015c6316d1904d$exports = require("./useDateSegment.main.js");
3
+ var $4acc2f407c169e55$exports = require("./useDateField.main.js");
4
+ var $20f695b1b69e6b9e$exports = require("./useDateRangePicker.main.js");
5
+ var $934ac650a0aceb4b$exports = require("./useDisplayNames.main.js");
12
6
 
13
7
 
14
8
  function $parcel$export(e, n, v, s) {
15
9
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
16
10
  }
17
11
 
18
- function $parcel$interopDefault(a) {
19
- return a && a.__esModule ? a.default : a;
20
- }
21
-
22
- $parcel$export(module.exports, "useDatePicker", () => $e90ae7c26a69c6b1$export$42df105a73306d51);
23
- $parcel$export(module.exports, "useDateSegment", () => $5c015c6316d1904d$export$1315d136e6f7581);
24
- $parcel$export(module.exports, "useDateField", () => $4acc2f407c169e55$export$5591b0b878c1a989);
25
- $parcel$export(module.exports, "useTimeField", () => $4acc2f407c169e55$export$4c842f6a241dc825);
26
- $parcel$export(module.exports, "useDateRangePicker", () => $20f695b1b69e6b9e$export$12fd5f0e9f4bb192);
27
- $parcel$export(module.exports, "useDisplayNames", () => $934ac650a0aceb4b$export$d42c60378c8168f8);
28
- /*
29
- * Copyright 2020 Adobe. All rights reserved.
30
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
31
- * you may not use this file except in compliance with the License. You may obtain a copy
32
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
33
- *
34
- * Unless required by applicable law or agreed to in writing, software distributed under
35
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
36
- * OF ANY KIND, either express or implied. See the License for the specific language
37
- * governing permissions and limitations under the License.
38
- */ /*
39
- * Copyright 2020 Adobe. All rights reserved.
40
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
41
- * you may not use this file except in compliance with the License. You may obtain a copy
42
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
43
- *
44
- * Unless required by applicable law or agreed to in writing, software distributed under
45
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
46
- * OF ANY KIND, either express or implied. See the License for the specific language
47
- * governing permissions and limitations under the License.
48
- */
49
-
50
- var $c1905b78f6d2f5bf$exports = {};
51
- var $aa344be62785b256$exports = {};
52
- $aa344be62785b256$exports = {
53
- "calendar": `\u{627}\u{644}\u{62A}\u{642}\u{648}\u{64A}\u{645}`,
54
- "day": `\u{64A}\u{648}\u{645}`,
55
- "dayPeriod": `\u{635}/\u{645}`,
56
- "endDate": `\u{62A}\u{627}\u{631}\u{64A}\u{62E} \u{627}\u{644}\u{627}\u{646}\u{62A}\u{647}\u{627}\u{621}`,
57
- "era": `\u{627}\u{644}\u{639}\u{635}\u{631}`,
58
- "hour": `\u{627}\u{644}\u{633}\u{627}\u{639}\u{627}\u{62A}`,
59
- "minute": `\u{627}\u{644}\u{62F}\u{642}\u{627}\u{626}\u{642}`,
60
- "month": `\u{627}\u{644}\u{634}\u{647}\u{631}`,
61
- "second": `\u{627}\u{644}\u{62B}\u{648}\u{627}\u{646}\u{64A}`,
62
- "selectedDateDescription": (args)=>`\u{62A}\u{627}\u{631}\u{64A}\u{62E} \u{645}\u{62D}\u{62F}\u{62F}: ${args.date}`,
63
- "selectedRangeDescription": (args)=>`\u{627}\u{644}\u{645}\u{62F}\u{649} \u{627}\u{644}\u{632}\u{645}\u{646}\u{64A} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}: ${args.startDate} \u{625}\u{644}\u{649} ${args.endDate}`,
64
- "selectedTimeDescription": (args)=>`\u{627}\u{644}\u{648}\u{642}\u{62A} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}: ${args.time}`,
65
- "startDate": `\u{62A}\u{627}\u{631}\u{64A}\u{62E} \u{627}\u{644}\u{628}\u{62F}\u{621}`,
66
- "timeZoneName": `\u{627}\u{644}\u{62A}\u{648}\u{642}\u{64A}\u{62A}`,
67
- "weekday": `\u{627}\u{644}\u{64A}\u{648}\u{645}`,
68
- "year": `\u{627}\u{644}\u{633}\u{646}\u{629}`
69
- };
70
-
71
-
72
- var $615986c3475e7c8c$exports = {};
73
- $615986c3475e7c8c$exports = {
74
- "calendar": `\u{41A}\u{430}\u{43B}\u{435}\u{43D}\u{434}\u{430}\u{440}`,
75
- "day": `\u{434}\u{435}\u{43D}`,
76
- "dayPeriod": `\u{43F}\u{440}.\u{43E}\u{431}./\u{441}\u{43B}.\u{43E}\u{431}.`,
77
- "endDate": `\u{41A}\u{440}\u{430}\u{439}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}`,
78
- "era": `\u{435}\u{440}\u{430}`,
79
- "hour": `\u{447}\u{430}\u{441}`,
80
- "minute": `\u{43C}\u{438}\u{43D}\u{443}\u{442}\u{430}`,
81
- "month": `\u{43C}\u{435}\u{441}\u{435}\u{446}`,
82
- "second": `\u{441}\u{435}\u{43A}\u{443}\u{43D}\u{434}\u{430}`,
83
- "selectedDateDescription": (args)=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}: ${args.date}`,
84
- "selectedRangeDescription": (args)=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{434}\u{438}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: ${args.startDate} \u{434}\u{43E} ${args.endDate}`,
85
- "selectedTimeDescription": (args)=>`\u{418}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{43E} \u{432}\u{440}\u{435}\u{43C}\u{435}: ${args.time}`,
86
- "startDate": `\u{41D}\u{430}\u{447}\u{430}\u{43B}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}`,
87
- "timeZoneName": `\u{447}\u{430}\u{441}\u{43E}\u{432}\u{430} \u{437}\u{43E}\u{43D}\u{430}`,
88
- "weekday": `\u{434}\u{435}\u{43D} \u{43E}\u{442} \u{441}\u{435}\u{434}\u{43C}\u{438}\u{446}\u{430}\u{442}\u{430}`,
89
- "year": `\u{433}\u{43E}\u{434}\u{438}\u{43D}\u{430}`
90
- };
91
-
92
-
93
- var $6c6207692f1ab248$exports = {};
94
- $6c6207692f1ab248$exports = {
95
- "calendar": `Kalend\xe1\u{159}`,
96
- "day": `den`,
97
- "dayPeriod": `\u{10D}\xe1st dne`,
98
- "endDate": `Kone\u{10D}n\xe9 datum`,
99
- "era": `letopo\u{10D}et`,
100
- "hour": `hodina`,
101
- "minute": `minuta`,
102
- "month": `m\u{11B}s\xedc`,
103
- "second": `sekunda`,
104
- "selectedDateDescription": (args)=>`Vybran\xe9 datum: ${args.date}`,
105
- "selectedRangeDescription": (args)=>`Vybran\xe9 obdob\xed: ${args.startDate} a\u{17E} ${args.endDate}`,
106
- "selectedTimeDescription": (args)=>`Vybran\xfd \u{10D}as: ${args.time}`,
107
- "startDate": `Po\u{10D}\xe1te\u{10D}n\xed datum`,
108
- "timeZoneName": `\u{10D}asov\xe9 p\xe1smo`,
109
- "weekday": `den v t\xfddnu`,
110
- "year": `rok`
111
- };
112
-
113
-
114
- var $fb37a9d024dd70f8$exports = {};
115
- $fb37a9d024dd70f8$exports = {
116
- "calendar": `Kalender`,
117
- "day": `dag`,
118
- "dayPeriod": `AM/PM`,
119
- "endDate": `Slutdato`,
120
- "era": `\xe6ra`,
121
- "hour": `time`,
122
- "minute": `minut`,
123
- "month": `m\xe5ned`,
124
- "second": `sekund`,
125
- "selectedDateDescription": (args)=>`Valgt dato: ${args.date}`,
126
- "selectedRangeDescription": (args)=>`Valgt interval: ${args.startDate} til ${args.endDate}`,
127
- "selectedTimeDescription": (args)=>`Valgt tidspunkt: ${args.time}`,
128
- "startDate": `Startdato`,
129
- "timeZoneName": `tidszone`,
130
- "weekday": `ugedag`,
131
- "year": `\xe5r`
132
- };
133
-
134
-
135
- var $d7780bd4790f7ae9$exports = {};
136
- $d7780bd4790f7ae9$exports = {
137
- "calendar": `Kalender`,
138
- "day": `Tag`,
139
- "dayPeriod": `Tagesh\xe4lfte`,
140
- "endDate": `Enddatum`,
141
- "era": `Epoche`,
142
- "hour": `Stunde`,
143
- "minute": `Minute`,
144
- "month": `Monat`,
145
- "second": `Sekunde`,
146
- "selectedDateDescription": (args)=>`Ausgew\xe4hltes Datum: ${args.date}`,
147
- "selectedRangeDescription": (args)=>`Ausgew\xe4hlter Bereich: ${args.startDate} bis ${args.endDate}`,
148
- "selectedTimeDescription": (args)=>`Ausgew\xe4hlte Zeit: ${args.time}`,
149
- "startDate": `Anfangsdatum`,
150
- "timeZoneName": `Zeitzone`,
151
- "weekday": `Wochentag`,
152
- "year": `Jahr`
153
- };
154
-
155
-
156
- var $9cdf03311f06c4ac$exports = {};
157
- $9cdf03311f06c4ac$exports = {
158
- "calendar": `\u{397}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BB}\u{3CC}\u{3B3}\u{3B9}\u{3BF}`,
159
- "day": `\u{3B7}\u{3BC}\u{3AD}\u{3C1}\u{3B1}`,
160
- "dayPeriod": `\u{3C0}.\u{3BC}./\u{3BC}.\u{3BC}.`,
161
- "endDate": `\u{397}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1} \u{3BB}\u{3AE}\u{3BE}\u{3B7}\u{3C2}`,
162
- "era": `\u{3C0}\u{3B5}\u{3C1}\u{3AF}\u{3BF}\u{3B4}\u{3BF}\u{3C2}`,
163
- "hour": `\u{3CE}\u{3C1}\u{3B1}`,
164
- "minute": `\u{3BB}\u{3B5}\u{3C0}\u{3C4}\u{3CC}`,
165
- "month": `\u{3BC}\u{3AE}\u{3BD}\u{3B1}\u{3C2}`,
166
- "second": `\u{3B4}\u{3B5}\u{3C5}\u{3C4}\u{3B5}\u{3C1}\u{3CC}\u{3BB}\u{3B5}\u{3C0}\u{3C4}\u{3BF}`,
167
- "selectedDateDescription": (args)=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1}: ${args.date}`,
168
- "selectedRangeDescription": (args)=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3BF} \u{3B5}\u{3CD}\u{3C1}\u{3BF}\u{3C2}: ${args.startDate} \u{3AD}\u{3C9}\u{3C2} ${args.endDate}`,
169
- "selectedTimeDescription": (args)=>`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3CE}\u{3C1}\u{3B1}: ${args.time}`,
170
- "startDate": `\u{397}\u{3BC}\u{3B5}\u{3C1}\u{3BF}\u{3BC}\u{3B7}\u{3BD}\u{3AF}\u{3B1} \u{3AD}\u{3BD}\u{3B1}\u{3C1}\u{3BE}\u{3B7}\u{3C2}`,
171
- "timeZoneName": `\u{3B6}\u{3CE}\u{3BD}\u{3B7} \u{3CE}\u{3C1}\u{3B1}\u{3C2}`,
172
- "weekday": `\u{3BA}\u{3B1}\u{3B8}\u{3B7}\u{3BC}\u{3B5}\u{3C1}\u{3B9}\u{3BD}\u{3AE}`,
173
- "year": `\u{3AD}\u{3C4}\u{3BF}\u{3C2}`
174
- };
175
-
176
-
177
- var $f93fc9e164ae811c$exports = {};
178
- $f93fc9e164ae811c$exports = {
179
- "era": `era`,
180
- "year": `year`,
181
- "month": `month`,
182
- "day": `day`,
183
- "hour": `hour`,
184
- "minute": `minute`,
185
- "second": `second`,
186
- "dayPeriod": `AM/PM`,
187
- "calendar": `Calendar`,
188
- "startDate": `Start Date`,
189
- "endDate": `End Date`,
190
- "weekday": `day of the week`,
191
- "timeZoneName": `time zone`,
192
- "selectedDateDescription": (args)=>`Selected Date: ${args.date}`,
193
- "selectedRangeDescription": (args)=>`Selected Range: ${args.startDate} to ${args.endDate}`,
194
- "selectedTimeDescription": (args)=>`Selected Time: ${args.time}`
195
- };
196
-
197
-
198
- var $7426c3264bf5ffea$exports = {};
199
- $7426c3264bf5ffea$exports = {
200
- "calendar": `Calendario`,
201
- "day": `d\xeda`,
202
- "dayPeriod": `a.\xa0m./p.\xa0m.`,
203
- "endDate": `Fecha final`,
204
- "era": `era`,
205
- "hour": `hora`,
206
- "minute": `minuto`,
207
- "month": `mes`,
208
- "second": `segundo`,
209
- "selectedDateDescription": (args)=>`Fecha seleccionada: ${args.date}`,
210
- "selectedRangeDescription": (args)=>`Rango seleccionado: ${args.startDate} a ${args.endDate}`,
211
- "selectedTimeDescription": (args)=>`Hora seleccionada: ${args.time}`,
212
- "startDate": `Fecha de inicio`,
213
- "timeZoneName": `zona horaria`,
214
- "weekday": `d\xeda de la semana`,
215
- "year": `a\xf1o`
216
- };
217
-
218
-
219
- var $1115cc0042de790c$exports = {};
220
- $1115cc0042de790c$exports = {
221
- "calendar": `Kalender`,
222
- "day": `p\xe4ev`,
223
- "dayPeriod": `enne/p\xe4rast l\xf5unat`,
224
- "endDate": `L\xf5ppkuup\xe4ev`,
225
- "era": `ajastu`,
226
- "hour": `tund`,
227
- "minute": `minut`,
228
- "month": `kuu`,
229
- "second": `sekund`,
230
- "selectedDateDescription": (args)=>`Valitud kuup\xe4ev: ${args.date}`,
231
- "selectedRangeDescription": (args)=>`Valitud vahemik: ${args.startDate} kuni ${args.endDate}`,
232
- "selectedTimeDescription": (args)=>`Valitud aeg: ${args.time}`,
233
- "startDate": `Alguskuup\xe4ev`,
234
- "timeZoneName": `ajav\xf6\xf6nd`,
235
- "weekday": `n\xe4dalap\xe4ev`,
236
- "year": `aasta`
237
- };
238
-
239
-
240
- var $4e80389dccb9283f$exports = {};
241
- $4e80389dccb9283f$exports = {
242
- "calendar": `Kalenteri`,
243
- "day": `p\xe4iv\xe4`,
244
- "dayPeriod": `vuorokaudenaika`,
245
- "endDate": `P\xe4\xe4ttymisp\xe4iv\xe4`,
246
- "era": `aikakausi`,
247
- "hour": `tunti`,
248
- "minute": `minuutti`,
249
- "month": `kuukausi`,
250
- "second": `sekunti`,
251
- "selectedDateDescription": (args)=>`Valittu p\xe4iv\xe4m\xe4\xe4r\xe4: ${args.date}`,
252
- "selectedRangeDescription": (args)=>`Valittu aikav\xe4li: ${args.startDate} \u{2013} ${args.endDate}`,
253
- "selectedTimeDescription": (args)=>`Valittu aika: ${args.time}`,
254
- "startDate": `Alkamisp\xe4iv\xe4`,
255
- "timeZoneName": `aikavy\xf6hyke`,
256
- "weekday": `viikonp\xe4iv\xe4`,
257
- "year": `vuosi`
258
- };
259
-
260
-
261
- var $78ad6f738c1f38d1$exports = {};
262
- $78ad6f738c1f38d1$exports = {
263
- "calendar": `Calendrier`,
264
- "day": `jour`,
265
- "dayPeriod": `cadran`,
266
- "endDate": `Date de fin`,
267
- "era": `\xe8re`,
268
- "hour": `heure`,
269
- "minute": `minute`,
270
- "month": `mois`,
271
- "second": `seconde`,
272
- "selectedDateDescription": (args)=>`Date s\xe9lectionn\xe9e\xa0: ${args.date}`,
273
- "selectedRangeDescription": (args)=>`Plage s\xe9lectionn\xe9e\xa0: ${args.startDate} au ${args.endDate}`,
274
- "selectedTimeDescription": (args)=>`Heure choisie\xa0: ${args.time}`,
275
- "startDate": `Date de d\xe9but`,
276
- "timeZoneName": `fuseau horaire`,
277
- "weekday": `jour de la semaine`,
278
- "year": `ann\xe9e`
279
- };
280
-
281
-
282
- var $50fa4716d827cd97$exports = {};
283
- $50fa4716d827cd97$exports = {
284
- "calendar": `\u{5DC}\u{5D5}\u{5D7} \u{5E9}\u{5E0}\u{5D4}`,
285
- "day": `\u{5D9}\u{5D5}\u{5DD}`,
286
- "dayPeriod": `\u{5DC}\u{5E4}\u{5E0}\u{5D4}\u{5F4}\u{5E6}/\u{5D0}\u{5D7}\u{5D4}\u{5F4}\u{5E6}`,
287
- "endDate": `\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5E1}\u{5D9}\u{5D5}\u{5DD}`,
288
- "era": `\u{5EA}\u{5E7}\u{5D5}\u{5E4}\u{5D4}`,
289
- "hour": `\u{5E9}\u{5E2}\u{5D4}`,
290
- "minute": `\u{5D3}\u{5E7}\u{5D4}`,
291
- "month": `\u{5D7}\u{5D5}\u{5D3}\u{5E9}`,
292
- "second": `\u{5E9}\u{5E0}\u{5D9}\u{5D9}\u{5D4}`,
293
- "selectedDateDescription": (args)=>`\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${args.date}`,
294
- "selectedRangeDescription": (args)=>`\u{5D8}\u{5D5}\u{5D5}\u{5D7} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${args.startDate} \u{5E2}\u{5D3} ${args.endDate}`,
295
- "selectedTimeDescription": (args)=>`\u{5D6}\u{5DE}\u{5DF} \u{5E0}\u{5D1}\u{5D7}\u{5E8}: ${args.time}`,
296
- "startDate": `\u{5EA}\u{5D0}\u{5E8}\u{5D9}\u{5DA} \u{5D4}\u{5EA}\u{5D7}\u{5DC}\u{5D4}`,
297
- "timeZoneName": `\u{5D0}\u{5D6}\u{5D5}\u{5E8} \u{5D6}\u{5DE}\u{5DF}`,
298
- "weekday": `\u{5D9}\u{5D5}\u{5DD} \u{5D1}\u{5E9}\u{5D1}\u{5D5}\u{5E2}`,
299
- "year": `\u{5E9}\u{5E0}\u{5D4}`
300
- };
301
-
302
-
303
- var $7297908fac4cf6c2$exports = {};
304
- $7297908fac4cf6c2$exports = {
305
- "calendar": `Kalendar`,
306
- "day": `dan`,
307
- "dayPeriod": `AM/PM`,
308
- "endDate": `Datum zavr\u{161}etka`,
309
- "era": `era`,
310
- "hour": `sat`,
311
- "minute": `minuta`,
312
- "month": `mjesec`,
313
- "second": `sekunda`,
314
- "selectedDateDescription": (args)=>`Odabrani datum: ${args.date}`,
315
- "selectedRangeDescription": (args)=>`Odabrani raspon: ${args.startDate} do ${args.endDate}`,
316
- "selectedTimeDescription": (args)=>`Odabrano vrijeme: ${args.time}`,
317
- "startDate": `Datum po\u{10D}etka`,
318
- "timeZoneName": `vremenska zona`,
319
- "weekday": `dan u tjednu`,
320
- "year": `godina`
321
- };
322
-
323
-
324
- var $f95c1b06e1d5ba32$exports = {};
325
- $f95c1b06e1d5ba32$exports = {
326
- "calendar": `Napt\xe1r`,
327
- "day": `nap`,
328
- "dayPeriod": `napszak`,
329
- "endDate": `Befejez\u{151} d\xe1tum`,
330
- "era": `\xe9ra`,
331
- "hour": `\xf3ra`,
332
- "minute": `perc`,
333
- "month": `h\xf3nap`,
334
- "second": `m\xe1sodperc`,
335
- "selectedDateDescription": (args)=>`Kijel\xf6lt d\xe1tum: ${args.date}`,
336
- "selectedRangeDescription": (args)=>`Kijel\xf6lt tartom\xe1ny: ${args.startDate}\u{2013}${args.endDate}`,
337
- "selectedTimeDescription": (args)=>`Kijel\xf6lt id\u{151}: ${args.time}`,
338
- "startDate": `Kezd\u{151} d\xe1tum`,
339
- "timeZoneName": `id\u{151}z\xf3na`,
340
- "weekday": `h\xe9t napja`,
341
- "year": `\xe9v`
342
- };
343
-
344
-
345
- var $437a8dc519258a01$exports = {};
346
- $437a8dc519258a01$exports = {
347
- "calendar": `Calendario`,
348
- "day": `giorno`,
349
- "dayPeriod": `AM/PM`,
350
- "endDate": `Data finale`,
351
- "era": `era`,
352
- "hour": `ora`,
353
- "minute": `minuto`,
354
- "month": `mese`,
355
- "second": `secondo`,
356
- "selectedDateDescription": (args)=>`Data selezionata: ${args.date}`,
357
- "selectedRangeDescription": (args)=>`Intervallo selezionato: da ${args.startDate} a ${args.endDate}`,
358
- "selectedTimeDescription": (args)=>`Ora selezionata: ${args.time}`,
359
- "startDate": `Data iniziale`,
360
- "timeZoneName": `fuso orario`,
361
- "weekday": `giorno della settimana`,
362
- "year": `anno`
363
- };
364
-
365
-
366
- var $bd0aa2b50092a836$exports = {};
367
- $bd0aa2b50092a836$exports = {
368
- "calendar": `\u{30AB}\u{30EC}\u{30F3}\u{30C0}\u{30FC}`,
369
- "day": `\u{65E5}`,
370
- "dayPeriod": `\u{5348}\u{524D}/\u{5348}\u{5F8C}`,
371
- "endDate": `\u{7D42}\u{4E86}\u{65E5}`,
372
- "era": `\u{6642}\u{4EE3}`,
373
- "hour": `\u{6642}`,
374
- "minute": `\u{5206}`,
375
- "month": `\u{6708}`,
376
- "second": `\u{79D2}`,
377
- "selectedDateDescription": (args)=>`\u{9078}\u{629E}\u{3057}\u{305F}\u{65E5}\u{4ED8} : ${args.date}`,
378
- "selectedRangeDescription": (args)=>`\u{9078}\u{629E}\u{7BC4}\u{56F2} : ${args.startDate} \u{304B}\u{3089} ${args.endDate}`,
379
- "selectedTimeDescription": (args)=>`\u{9078}\u{629E}\u{3057}\u{305F}\u{6642}\u{9593} : ${args.time}`,
380
- "startDate": `\u{958B}\u{59CB}\u{65E5}`,
381
- "timeZoneName": `\u{30BF}\u{30A4}\u{30E0}\u{30BE}\u{30FC}\u{30F3}`,
382
- "weekday": `\u{66DC}\u{65E5}`,
383
- "year": `\u{5E74}`
384
- };
385
-
386
-
387
- var $bbd8176c2e044bc1$exports = {};
388
- $bbd8176c2e044bc1$exports = {
389
- "calendar": `\u{B2EC}\u{B825}`,
390
- "day": `\u{C77C}`,
391
- "dayPeriod": `\u{C624}\u{C804}/\u{C624}\u{D6C4}`,
392
- "endDate": `\u{C885}\u{B8CC}\u{C77C}`,
393
- "era": `\u{C5F0}\u{D638}`,
394
- "hour": `\u{C2DC}`,
395
- "minute": `\u{BD84}`,
396
- "month": `\u{C6D4}`,
397
- "second": `\u{CD08}`,
398
- "selectedDateDescription": (args)=>`\u{C120}\u{D0DD} \u{C77C}\u{C790}: ${args.date}`,
399
- "selectedRangeDescription": (args)=>`\u{C120}\u{D0DD} \u{BC94}\u{C704}: ${args.startDate} ~ ${args.endDate}`,
400
- "selectedTimeDescription": (args)=>`\u{C120}\u{D0DD} \u{C2DC}\u{AC04}: ${args.time}`,
401
- "startDate": `\u{C2DC}\u{C791}\u{C77C}`,
402
- "timeZoneName": `\u{C2DC}\u{AC04}\u{B300}`,
403
- "weekday": `\u{C694}\u{C77C}`,
404
- "year": `\u{B144}`
405
- };
406
-
407
-
408
- var $1af703df56ff5180$exports = {};
409
- $1af703df56ff5180$exports = {
410
- "calendar": `Kalendorius`,
411
- "day": `diena`,
412
- "dayPeriod": `iki piet\u{173} / po piet\u{173}`,
413
- "endDate": `Pabaigos data`,
414
- "era": `era`,
415
- "hour": `valanda`,
416
- "minute": `minut\u{117}`,
417
- "month": `m\u{117}nuo`,
418
- "second": `sekund\u{117}`,
419
- "selectedDateDescription": (args)=>`Pasirinkta data: ${args.date}`,
420
- "selectedRangeDescription": (args)=>`Pasirinktas intervalas: nuo ${args.startDate} iki ${args.endDate}`,
421
- "selectedTimeDescription": (args)=>`Pasirinktas laikas: ${args.time}`,
422
- "startDate": `Prad\u{17E}ios data`,
423
- "timeZoneName": `laiko juosta`,
424
- "weekday": `savait\u{117}s diena`,
425
- "year": `metai`
426
- };
427
-
428
-
429
- var $9705eb4511dea9f8$exports = {};
430
- $9705eb4511dea9f8$exports = {
431
- "calendar": `Kalend\u{101}rs`,
432
- "day": `diena`,
433
- "dayPeriod": `priek\u{161}pusdien\u{101}/p\u{113}cpusdien\u{101}`,
434
- "endDate": `Beigu datums`,
435
- "era": `\u{113}ra`,
436
- "hour": `stundas`,
437
- "minute": `min\u{16B}tes`,
438
- "month": `m\u{113}nesis`,
439
- "second": `sekundes`,
440
- "selectedDateDescription": (args)=>`Atlas\u{12B}tais datums: ${args.date}`,
441
- "selectedRangeDescription": (args)=>`Atlas\u{12B}tais diapazons: no ${args.startDate} l\u{12B}dz ${args.endDate}`,
442
- "selectedTimeDescription": (args)=>`Atlas\u{12B}tais laiks: ${args.time}`,
443
- "startDate": `S\u{101}kuma datums`,
444
- "timeZoneName": `laika josla`,
445
- "weekday": `ned\u{113}\u{13C}as diena`,
446
- "year": `gads`
447
- };
448
-
449
-
450
- var $8ef984876a7160bc$exports = {};
451
- $8ef984876a7160bc$exports = {
452
- "calendar": `Kalender`,
453
- "day": `dag`,
454
- "dayPeriod": `a.m./p.m.`,
455
- "endDate": `Sluttdato`,
456
- "era": `tidsalder`,
457
- "hour": `time`,
458
- "minute": `minutt`,
459
- "month": `m\xe5ned`,
460
- "second": `sekund`,
461
- "selectedDateDescription": (args)=>`Valgt dato: ${args.date}`,
462
- "selectedRangeDescription": (args)=>`Valgt omr\xe5de: ${args.startDate} til ${args.endDate}`,
463
- "selectedTimeDescription": (args)=>`Valgt tid: ${args.time}`,
464
- "startDate": `Startdato`,
465
- "timeZoneName": `tidssone`,
466
- "weekday": `ukedag`,
467
- "year": `\xe5r`
468
- };
469
-
470
-
471
- var $b6e9809e1ecaa25e$exports = {};
472
- $b6e9809e1ecaa25e$exports = {
473
- "calendar": `Kalender`,
474
- "day": `dag`,
475
- "dayPeriod": `a.m./p.m.`,
476
- "endDate": `Einddatum`,
477
- "era": `tijdperk`,
478
- "hour": `uur`,
479
- "minute": `minuut`,
480
- "month": `maand`,
481
- "second": `seconde`,
482
- "selectedDateDescription": (args)=>`Geselecteerde datum: ${args.date}`,
483
- "selectedRangeDescription": (args)=>`Geselecteerd bereik: ${args.startDate} tot ${args.endDate}`,
484
- "selectedTimeDescription": (args)=>`Geselecteerde tijd: ${args.time}`,
485
- "startDate": `Startdatum`,
486
- "timeZoneName": `tijdzone`,
487
- "weekday": `dag van de week`,
488
- "year": `jaar`
489
- };
490
-
491
-
492
- var $deb2fa609661fe31$exports = {};
493
- $deb2fa609661fe31$exports = {
494
- "calendar": `Kalendarz`,
495
- "day": `dzie\u{144}`,
496
- "dayPeriod": `rano / po po\u{142}udniu / wieczorem`,
497
- "endDate": `Data ko\u{144}cowa`,
498
- "era": `era`,
499
- "hour": `godzina`,
500
- "minute": `minuta`,
501
- "month": `miesi\u{105}c`,
502
- "second": `sekunda`,
503
- "selectedDateDescription": (args)=>`Wybrana data: ${args.date}`,
504
- "selectedRangeDescription": (args)=>`Wybrany zakres: ${args.startDate} do ${args.endDate}`,
505
- "selectedTimeDescription": (args)=>`Wybrany czas: ${args.time}`,
506
- "startDate": `Data pocz\u{105}tkowa`,
507
- "timeZoneName": `strefa czasowa`,
508
- "weekday": `dzie\u{144} tygodnia`,
509
- "year": `rok`
510
- };
511
-
512
-
513
- var $591c8c054c84fa56$exports = {};
514
- $591c8c054c84fa56$exports = {
515
- "calendar": `Calend\xe1rio`,
516
- "day": `dia`,
517
- "dayPeriod": `AM/PM`,
518
- "endDate": `Data final`,
519
- "era": `era`,
520
- "hour": `hora`,
521
- "minute": `minuto`,
522
- "month": `m\xeas`,
523
- "second": `segundo`,
524
- "selectedDateDescription": (args)=>`Data selecionada: ${args.date}`,
525
- "selectedRangeDescription": (args)=>`Intervalo selecionado: ${args.startDate} a ${args.endDate}`,
526
- "selectedTimeDescription": (args)=>`Hora selecionada: ${args.time}`,
527
- "startDate": `Data inicial`,
528
- "timeZoneName": `fuso hor\xe1rio`,
529
- "weekday": `dia da semana`,
530
- "year": `ano`
531
- };
532
-
533
-
534
- var $f1633bd6cbc228e8$exports = {};
535
- $f1633bd6cbc228e8$exports = {
536
- "calendar": `Calend\xe1rio`,
537
- "day": `dia`,
538
- "dayPeriod": `am/pm`,
539
- "endDate": `Data de T\xe9rmino`,
540
- "era": `era`,
541
- "hour": `hora`,
542
- "minute": `minuto`,
543
- "month": `m\xeas`,
544
- "second": `segundo`,
545
- "selectedDateDescription": (args)=>`Data selecionada: ${args.date}`,
546
- "selectedRangeDescription": (args)=>`Intervalo selecionado: ${args.startDate} a ${args.endDate}`,
547
- "selectedTimeDescription": (args)=>`Hora selecionada: ${args.time}`,
548
- "startDate": `Data de In\xedcio`,
549
- "timeZoneName": `fuso hor\xe1rio`,
550
- "weekday": `dia da semana`,
551
- "year": `ano`
552
- };
553
-
554
-
555
- var $14e09da03f3d1c5b$exports = {};
556
- $14e09da03f3d1c5b$exports = {
557
- "calendar": `Calendar`,
558
- "day": `zi`,
559
- "dayPeriod": `a.m/p.m.`,
560
- "endDate": `Dat\u{103} final`,
561
- "era": `er\u{103}`,
562
- "hour": `or\u{103}`,
563
- "minute": `minut`,
564
- "month": `lun\u{103}`,
565
- "second": `secund\u{103}`,
566
- "selectedDateDescription": (args)=>`Dat\u{103} selectat\u{103}: ${args.date}`,
567
- "selectedRangeDescription": (args)=>`Interval selectat: de la ${args.startDate} p\xe2n\u{103} la ${args.endDate}`,
568
- "selectedTimeDescription": (args)=>`Ora selectat\u{103}: ${args.time}`,
569
- "startDate": `Dat\u{103} \xeenceput`,
570
- "timeZoneName": `fus orar`,
571
- "weekday": `ziua din s\u{103}pt\u{103}m\xe2n\u{103}`,
572
- "year": `an`
573
- };
574
-
575
-
576
- var $63247a3456bc40d1$exports = {};
577
- $63247a3456bc40d1$exports = {
578
- "calendar": `\u{41A}\u{430}\u{43B}\u{435}\u{43D}\u{434}\u{430}\u{440}\u{44C}`,
579
- "day": `\u{434}\u{435}\u{43D}\u{44C}`,
580
- "dayPeriod": `AM/PM`,
581
- "endDate": `\u{414}\u{430}\u{442}\u{430} \u{43E}\u{43A}\u{43E}\u{43D}\u{447}\u{430}\u{43D}\u{438}\u{44F}`,
582
- "era": `\u{44D}\u{440}\u{430}`,
583
- "hour": `\u{447}\u{430}\u{441}`,
584
- "minute": `\u{43C}\u{438}\u{43D}\u{443}\u{442}\u{430}`,
585
- "month": `\u{43C}\u{435}\u{441}\u{44F}\u{446}`,
586
- "second": `\u{441}\u{435}\u{43A}\u{443}\u{43D}\u{434}\u{430}`,
587
- "selectedDateDescription": (args)=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{430}\u{44F} \u{434}\u{430}\u{442}\u{430}: ${args.date}`,
588
- "selectedRangeDescription": (args)=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{439} \u{434}\u{438}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: \u{441} ${args.startDate} \u{43F}\u{43E} ${args.endDate}`,
589
- "selectedTimeDescription": (args)=>`\u{412}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{43E}\u{435} \u{432}\u{440}\u{435}\u{43C}\u{44F}: ${args.time}`,
590
- "startDate": `\u{414}\u{430}\u{442}\u{430} \u{43D}\u{430}\u{447}\u{430}\u{43B}\u{430}`,
591
- "timeZoneName": `\u{447}\u{430}\u{441}\u{43E}\u{432}\u{43E}\u{439} \u{43F}\u{43E}\u{44F}\u{441}`,
592
- "weekday": `\u{434}\u{435}\u{43D}\u{44C} \u{43D}\u{435}\u{434}\u{435}\u{43B}\u{438}`,
593
- "year": `\u{433}\u{43E}\u{434}`
594
- };
595
-
596
-
597
- var $22150dd20c353dd4$exports = {};
598
- $22150dd20c353dd4$exports = {
599
- "calendar": `Kalend\xe1r`,
600
- "day": `de\u{148}`,
601
- "dayPeriod": `AM/PM`,
602
- "endDate": `D\xe1tum ukon\u{10D}enia`,
603
- "era": `letopo\u{10D}et`,
604
- "hour": `hodina`,
605
- "minute": `min\xfata`,
606
- "month": `mesiac`,
607
- "second": `sekunda`,
608
- "selectedDateDescription": (args)=>`Vybrat\xfd d\xe1tum: ${args.date}`,
609
- "selectedRangeDescription": (args)=>`Vybrat\xfd rozsah: od ${args.startDate} do ${args.endDate}`,
610
- "selectedTimeDescription": (args)=>`Vybrat\xfd \u{10D}as: ${args.time}`,
611
- "startDate": `D\xe1tum za\u{10D}atia`,
612
- "timeZoneName": `\u{10D}asov\xe9 p\xe1smo`,
613
- "weekday": `de\u{148} t\xfd\u{17E}d\u{148}a`,
614
- "year": `rok`
615
- };
616
-
617
-
618
- var $701eb9a0385c55fd$exports = {};
619
- $701eb9a0385c55fd$exports = {
620
- "calendar": `Koledar`,
621
- "day": `dan`,
622
- "dayPeriod": `dop/pop`,
623
- "endDate": `Datum konca`,
624
- "era": `doba`,
625
- "hour": `ura`,
626
- "minute": `minuta`,
627
- "month": `mesec`,
628
- "second": `sekunda`,
629
- "selectedDateDescription": (args)=>`Izbrani datum: ${args.date}`,
630
- "selectedRangeDescription": (args)=>`Izbrano obmo\u{10D}je: ${args.startDate} do ${args.endDate}`,
631
- "selectedTimeDescription": (args)=>`Izbrani \u{10D}as: ${args.time}`,
632
- "startDate": `Datum za\u{10D}etka`,
633
- "timeZoneName": `\u{10D}asovni pas`,
634
- "weekday": `dan v tednu`,
635
- "year": `leto`
636
- };
637
-
638
-
639
- var $54684a4891ca6dc5$exports = {};
640
- $54684a4891ca6dc5$exports = {
641
- "calendar": `Kalendar`,
642
- "day": `\u{434}\u{430}\u{43D}`,
643
- "dayPeriod": `\u{43F}\u{440}\u{435} \u{43F}\u{43E}\u{434}\u{43D}\u{435}/\u{43F}\u{43E} \u{43F}\u{43E}\u{434}\u{43D}\u{435}`,
644
- "endDate": `Datum zavr\u{161}etka`,
645
- "era": `\u{435}\u{440}\u{430}`,
646
- "hour": `\u{441}\u{430}\u{442}`,
647
- "minute": `\u{43C}\u{438}\u{43D}\u{443}\u{442}`,
648
- "month": `\u{43C}\u{435}\u{441}\u{435}\u{446}`,
649
- "second": `\u{441}\u{435}\u{43A}\u{443}\u{43D}\u{434}`,
650
- "selectedDateDescription": (args)=>`Izabrani datum: ${args.date}`,
651
- "selectedRangeDescription": (args)=>`Izabrani opseg: od ${args.startDate} do ${args.endDate}`,
652
- "selectedTimeDescription": (args)=>`Izabrano vreme: ${args.time}`,
653
- "startDate": `Datum po\u{10D}etka`,
654
- "timeZoneName": `\u{432}\u{440}\u{435}\u{43C}\u{435}\u{43D}\u{441}\u{43A}\u{430} \u{437}\u{43E}\u{43D}\u{430}`,
655
- "weekday": `\u{434}\u{430}\u{43D} \u{443} \u{43D}\u{435}\u{434}\u{435}\u{459}\u{438}`,
656
- "year": `\u{433}\u{43E}\u{434}\u{438}\u{43D}\u{430}`
657
- };
658
-
659
-
660
- var $545887f88a5a52db$exports = {};
661
- $545887f88a5a52db$exports = {
662
- "calendar": `Kalender`,
663
- "day": `dag`,
664
- "dayPeriod": `fm/em`,
665
- "endDate": `Slutdatum`,
666
- "era": `era`,
667
- "hour": `timme`,
668
- "minute": `minut`,
669
- "month": `m\xe5nad`,
670
- "second": `sekund`,
671
- "selectedDateDescription": (args)=>`Valt datum: ${args.date}`,
672
- "selectedRangeDescription": (args)=>`Valt intervall: ${args.startDate} till ${args.endDate}`,
673
- "selectedTimeDescription": (args)=>`Vald tid: ${args.time}`,
674
- "startDate": `Startdatum`,
675
- "timeZoneName": `tidszon`,
676
- "weekday": `veckodag`,
677
- "year": `\xe5r`
678
- };
679
-
680
-
681
- var $492d49420dd96ff4$exports = {};
682
- $492d49420dd96ff4$exports = {
683
- "calendar": `Takvim`,
684
- "day": `g\xfcn`,
685
- "dayPeriod": `\xd6\xd6/\xd6S`,
686
- "endDate": `Biti\u{15F} Tarihi`,
687
- "era": `\xe7a\u{11F}`,
688
- "hour": `saat`,
689
- "minute": `dakika`,
690
- "month": `ay`,
691
- "second": `saniye`,
692
- "selectedDateDescription": (args)=>`Se\xe7ilen Tarih: ${args.date}`,
693
- "selectedRangeDescription": (args)=>`Se\xe7ilen Aral\u{131}k: ${args.startDate} - ${args.endDate}`,
694
- "selectedTimeDescription": (args)=>`Se\xe7ilen Zaman: ${args.time}`,
695
- "startDate": `Ba\u{15F}lang\u{131}\xe7 Tarihi`,
696
- "timeZoneName": `saat dilimi`,
697
- "weekday": `haftan\u{131}n g\xfcn\xfc`,
698
- "year": `y\u{131}l`
699
- };
700
-
701
-
702
- var $dc85765e85e8f267$exports = {};
703
- $dc85765e85e8f267$exports = {
704
- "calendar": `\u{41A}\u{430}\u{43B}\u{435}\u{43D}\u{434}\u{430}\u{440}`,
705
- "day": `\u{434}\u{435}\u{43D}\u{44C}`,
706
- "dayPeriod": `\u{434}\u{43F}/\u{43F}\u{43F}`,
707
- "endDate": `\u{414}\u{430}\u{442}\u{430} \u{437}\u{430}\u{432}\u{435}\u{440}\u{448}\u{435}\u{43D}\u{43D}\u{44F}`,
708
- "era": `\u{435}\u{440}\u{430}`,
709
- "hour": `\u{433}\u{43E}\u{434}\u{438}\u{43D}\u{430}`,
710
- "minute": `\u{445}\u{432}\u{438}\u{43B}\u{438}\u{43D}\u{430}`,
711
- "month": `\u{43C}\u{456}\u{441}\u{44F}\u{446}\u{44C}`,
712
- "second": `\u{441}\u{435}\u{43A}\u{443}\u{43D}\u{434}\u{430}`,
713
- "selectedDateDescription": (args)=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{430} \u{434}\u{430}\u{442}\u{430}: ${args.date}`,
714
- "selectedRangeDescription": (args)=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{434}\u{456}\u{430}\u{43F}\u{430}\u{437}\u{43E}\u{43D}: ${args.startDate} \u{2014} ${args.endDate}`,
715
- "selectedTimeDescription": (args)=>`\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{438}\u{439} \u{447}\u{430}\u{441}: ${args.time}`,
716
- "startDate": `\u{414}\u{430}\u{442}\u{430} \u{43F}\u{43E}\u{447}\u{430}\u{442}\u{43A}\u{443}`,
717
- "timeZoneName": `\u{447}\u{430}\u{441}\u{43E}\u{432}\u{438}\u{439} \u{43F}\u{43E}\u{44F}\u{441}`,
718
- "weekday": `\u{434}\u{435}\u{43D}\u{44C} \u{442}\u{438}\u{436}\u{43D}\u{44F}`,
719
- "year": `\u{440}\u{456}\u{43A}`
720
- };
721
-
722
-
723
- var $2157d63cb80c7c63$exports = {};
724
- $2157d63cb80c7c63$exports = {
725
- "calendar": `\u{65E5}\u{5386}`,
726
- "day": `\u{65E5}`,
727
- "dayPeriod": `\u{4E0A}\u{5348}/\u{4E0B}\u{5348}`,
728
- "endDate": `\u{7ED3}\u{675F}\u{65E5}\u{671F}`,
729
- "era": `\u{7EAA}\u{5143}`,
730
- "hour": `\u{5C0F}\u{65F6}`,
731
- "minute": `\u{5206}\u{949F}`,
732
- "month": `\u{6708}`,
733
- "second": `\u{79D2}`,
734
- "selectedDateDescription": (args)=>`\u{9009}\u{5B9A}\u{7684}\u{65E5}\u{671F}\u{FF1A}${args.date}`,
735
- "selectedRangeDescription": (args)=>`\u{9009}\u{5B9A}\u{7684}\u{8303}\u{56F4}\u{FF1A}${args.startDate} \u{81F3} ${args.endDate}`,
736
- "selectedTimeDescription": (args)=>`\u{9009}\u{5B9A}\u{7684}\u{65F6}\u{95F4}\u{FF1A}${args.time}`,
737
- "startDate": `\u{5F00}\u{59CB}\u{65E5}\u{671F}`,
738
- "timeZoneName": `\u{65F6}\u{533A}`,
739
- "weekday": `\u{5DE5}\u{4F5C}\u{65E5}`,
740
- "year": `\u{5E74}`
741
- };
742
-
743
-
744
- var $0335c3ddb5f70cbe$exports = {};
745
- $0335c3ddb5f70cbe$exports = {
746
- "calendar": `\u{65E5}\u{66C6}`,
747
- "day": `\u{65E5}`,
748
- "dayPeriod": `\u{4E0A}\u{5348}/\u{4E0B}\u{5348}`,
749
- "endDate": `\u{7D50}\u{675F}\u{65E5}\u{671F}`,
750
- "era": `\u{7EAA}\u{5143}`,
751
- "hour": `\u{5C0F}\u{65F6}`,
752
- "minute": `\u{5206}\u{949F}`,
753
- "month": `\u{6708}`,
754
- "second": `\u{79D2}`,
755
- "selectedDateDescription": (args)=>`\u{9078}\u{5B9A}\u{7684}\u{65E5}\u{671F}\u{FF1A}${args.date}`,
756
- "selectedRangeDescription": (args)=>`\u{9078}\u{5B9A}\u{7684}\u{7BC4}\u{570D}\u{FF1A}${args.startDate} \u{81F3} ${args.endDate}`,
757
- "selectedTimeDescription": (args)=>`\u{9078}\u{5B9A}\u{7684}\u{6642}\u{9593}\u{FF1A}${args.time}`,
758
- "startDate": `\u{958B}\u{59CB}\u{65E5}\u{671F}`,
759
- "timeZoneName": `\u{65F6}\u{533A}`,
760
- "weekday": `\u{5DE5}\u{4F5C}\u{65E5}`,
761
- "year": `\u{5E74}`
762
- };
763
-
764
-
765
- $c1905b78f6d2f5bf$exports = {
766
- "ar-AE": $aa344be62785b256$exports,
767
- "bg-BG": $615986c3475e7c8c$exports,
768
- "cs-CZ": $6c6207692f1ab248$exports,
769
- "da-DK": $fb37a9d024dd70f8$exports,
770
- "de-DE": $d7780bd4790f7ae9$exports,
771
- "el-GR": $9cdf03311f06c4ac$exports,
772
- "en-US": $f93fc9e164ae811c$exports,
773
- "es-ES": $7426c3264bf5ffea$exports,
774
- "et-EE": $1115cc0042de790c$exports,
775
- "fi-FI": $4e80389dccb9283f$exports,
776
- "fr-FR": $78ad6f738c1f38d1$exports,
777
- "he-IL": $50fa4716d827cd97$exports,
778
- "hr-HR": $7297908fac4cf6c2$exports,
779
- "hu-HU": $f95c1b06e1d5ba32$exports,
780
- "it-IT": $437a8dc519258a01$exports,
781
- "ja-JP": $bd0aa2b50092a836$exports,
782
- "ko-KR": $bbd8176c2e044bc1$exports,
783
- "lt-LT": $1af703df56ff5180$exports,
784
- "lv-LV": $9705eb4511dea9f8$exports,
785
- "nb-NO": $8ef984876a7160bc$exports,
786
- "nl-NL": $b6e9809e1ecaa25e$exports,
787
- "pl-PL": $deb2fa609661fe31$exports,
788
- "pt-BR": $591c8c054c84fa56$exports,
789
- "pt-PT": $f1633bd6cbc228e8$exports,
790
- "ro-RO": $14e09da03f3d1c5b$exports,
791
- "ru-RU": $63247a3456bc40d1$exports,
792
- "sk-SK": $22150dd20c353dd4$exports,
793
- "sl-SI": $701eb9a0385c55fd$exports,
794
- "sr-SP": $54684a4891ca6dc5$exports,
795
- "sv-SE": $545887f88a5a52db$exports,
796
- "tr-TR": $492d49420dd96ff4$exports,
797
- "uk-UA": $dc85765e85e8f267$exports,
798
- "zh-CN": $2157d63cb80c7c63$exports,
799
- "zh-TW": $0335c3ddb5f70cbe$exports
800
- };
801
-
802
-
803
-
804
-
805
- /*
806
- * Copyright 2020 Adobe. All rights reserved.
807
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
808
- * you may not use this file except in compliance with the License. You may obtain a copy
809
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
810
- *
811
- * Unless required by applicable law or agreed to in writing, software distributed under
812
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
813
- * OF ANY KIND, either express or implied. See the License for the specific language
814
- * governing permissions and limitations under the License.
815
- */
816
-
817
-
818
-
819
-
820
-
821
-
822
-
823
-
824
- function $715562ad3b4cced4$export$4a931266a3838b86(state, ref, disableArrowNavigation) {
825
- let { direction: direction } = (0, $IwcIq$reactariai18n.useLocale)();
826
- let focusManager = (0, $IwcIq$react.useMemo)(()=>(0, $IwcIq$reactariafocus.createFocusManager)(ref), [
827
- ref
828
- ]);
829
- // Open the popover on alt + arrow down
830
- let onKeyDown = (e)=>{
831
- if (!e.currentTarget.contains(e.target)) return;
832
- if (e.altKey && (e.key === "ArrowDown" || e.key === "ArrowUp") && "setOpen" in state) {
833
- e.preventDefault();
834
- e.stopPropagation();
835
- state.setOpen(true);
836
- }
837
- if (disableArrowNavigation) return;
838
- switch(e.key){
839
- case "ArrowLeft":
840
- e.preventDefault();
841
- e.stopPropagation();
842
- if (direction === "rtl") focusManager.focusNext();
843
- else focusManager.focusPrevious();
844
- break;
845
- case "ArrowRight":
846
- e.preventDefault();
847
- e.stopPropagation();
848
- if (direction === "rtl") focusManager.focusPrevious();
849
- else focusManager.focusNext();
850
- break;
851
- }
852
- };
853
- // Focus the first placeholder segment from the end on mouse down/touch up in the field.
854
- let focusLast = ()=>{
855
- var _window_event;
856
- // Try to find the segment prior to the element that was clicked on.
857
- let target = (_window_event = window.event) === null || _window_event === void 0 ? void 0 : _window_event.target;
858
- let walker = (0, $IwcIq$reactariafocus.getFocusableTreeWalker)(ref.current, {
859
- tabbable: true
860
- });
861
- if (target) {
862
- walker.currentNode = target;
863
- target = walker.previousNode();
864
- }
865
- // If no target found, find the last element from the end.
866
- if (!target) {
867
- let last;
868
- do {
869
- last = walker.lastChild();
870
- if (last) target = last;
871
- }while (last);
872
- }
873
- // Now go backwards until we find an element that is not a placeholder.
874
- while(target === null || target === void 0 ? void 0 : target.hasAttribute("data-placeholder")){
875
- let prev = walker.previousNode();
876
- if (prev && prev.hasAttribute("data-placeholder")) target = prev;
877
- else break;
878
- }
879
- if (target) target.focus();
880
- };
881
- let { pressProps: pressProps } = (0, $IwcIq$reactariainteractions.usePress)({
882
- preventFocusOnPress: true,
883
- allowTextSelectionOnPress: true,
884
- onPressStart (e) {
885
- if (e.pointerType === "mouse") focusLast();
886
- },
887
- onPress (e) {
888
- if (e.pointerType !== "mouse") focusLast();
889
- }
890
- });
891
- return (0, $IwcIq$reactariautils.mergeProps)(pressProps, {
892
- onKeyDown: onKeyDown
893
- });
894
- }
895
-
896
-
897
-
898
-
899
-
900
-
901
- const $4acc2f407c169e55$export$653eddfc964b0f8a = new WeakMap();
902
- const $4acc2f407c169e55$export$300019f83c56d282 = "__role_" + Date.now();
903
- const $4acc2f407c169e55$export$7b3062cd49e80452 = "__focusManager_" + Date.now();
904
- function $4acc2f407c169e55$export$5591b0b878c1a989(props, state, ref) {
905
- var _state_value;
906
- let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = state.displayValidation;
907
- let { labelProps: labelProps, fieldProps: fieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = (0, $IwcIq$reactarialabel.useField)({
908
- ...props,
909
- labelElementType: "span",
910
- isInvalid: isInvalid,
911
- errorMessage: props.errorMessage || validationErrors
912
- });
913
- let valueOnFocus = (0, $IwcIq$react.useRef)(null);
914
- let { focusWithinProps: focusWithinProps } = (0, $IwcIq$reactariainteractions.useFocusWithin)({
915
- ...props,
916
- onFocusWithin (e) {
917
- var _props_onFocus;
918
- valueOnFocus.current = state.value;
919
- (_props_onFocus = props.onFocus) === null || _props_onFocus === void 0 ? void 0 : _props_onFocus.call(props, e);
920
- },
921
- onBlurWithin: (e)=>{
922
- var _props_onBlur;
923
- state.confirmPlaceholder();
924
- if (state.value !== valueOnFocus.current) state.commitValidation();
925
- (_props_onBlur = props.onBlur) === null || _props_onBlur === void 0 ? void 0 : _props_onBlur.call(props, e);
926
- },
927
- onFocusWithinChange: props.onFocusChange
928
- });
929
- let stringFormatter = (0, $IwcIq$reactariai18n.useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($c1905b78f6d2f5bf$exports))), "@react-aria/datepicker");
930
- let message = state.maxGranularity === "hour" ? "selectedTimeDescription" : "selectedDateDescription";
931
- let field = state.maxGranularity === "hour" ? "time" : "date";
932
- let description = state.value ? stringFormatter.format(message, {
933
- [field]: state.formatValue({
934
- month: "long"
935
- })
936
- }) : "";
937
- let descProps = (0, $IwcIq$reactariautils.useDescription)(description);
938
- // If within a date picker or date range picker, the date field will have role="presentation" and an aria-describedby
939
- // will be passed in that references the value (e.g. entire range). Otherwise, add the field's value description.
940
- let describedBy = props[$4acc2f407c169e55$export$300019f83c56d282] === "presentation" ? fieldProps["aria-describedby"] : [
941
- descProps["aria-describedby"],
942
- fieldProps["aria-describedby"]
943
- ].filter(Boolean).join(" ") || undefined;
944
- let propsFocusManager = props[$4acc2f407c169e55$export$7b3062cd49e80452];
945
- let focusManager = (0, $IwcIq$react.useMemo)(()=>propsFocusManager || (0, $IwcIq$reactariafocus.createFocusManager)(ref), [
946
- propsFocusManager,
947
- ref
948
- ]);
949
- let groupProps = (0, $715562ad3b4cced4$export$4a931266a3838b86)(state, ref, props[$4acc2f407c169e55$export$300019f83c56d282] === "presentation");
950
- // Pass labels and other information to segments.
951
- $4acc2f407c169e55$export$653eddfc964b0f8a.set(state, {
952
- ariaLabel: props["aria-label"],
953
- ariaLabelledBy: [
954
- labelProps.id,
955
- props["aria-labelledby"]
956
- ].filter(Boolean).join(" ") || undefined,
957
- ariaDescribedBy: describedBy,
958
- focusManager: focusManager
959
- });
960
- let autoFocusRef = (0, $IwcIq$react.useRef)(props.autoFocus);
961
- // When used within a date picker or date range picker, the field gets role="presentation"
962
- // rather than role="group". Since the date picker/date range picker already has a role="group"
963
- // with a label and description, and the segments are already labeled by this as well, this
964
- // avoids very verbose duplicate announcements.
965
- let fieldDOMProps;
966
- if (props[$4acc2f407c169e55$export$300019f83c56d282] === "presentation") fieldDOMProps = {
967
- role: "presentation"
968
- };
969
- else fieldDOMProps = (0, $IwcIq$reactariautils.mergeProps)(fieldProps, {
970
- role: "group",
971
- "aria-disabled": props.isDisabled || undefined,
972
- "aria-describedby": describedBy
973
- });
974
- (0, $IwcIq$react.useEffect)(()=>{
975
- if (autoFocusRef.current) focusManager.focusFirst();
976
- autoFocusRef.current = false;
977
- }, [
978
- focusManager
979
- ]);
980
- (0, $IwcIq$reactariautils.useFormReset)(props.inputRef, state.value, state.setValue);
981
- (0, $IwcIq$reactariaform.useFormValidation)({
982
- ...props,
983
- focus () {
984
- focusManager.focusFirst();
985
- }
986
- }, state, props.inputRef);
987
- let inputProps = {
988
- type: "hidden",
989
- name: props.name,
990
- value: ((_state_value = state.value) === null || _state_value === void 0 ? void 0 : _state_value.toString()) || ""
991
- };
992
- if (props.validationBehavior === "native") {
993
- // Use a hidden <input type="text"> rather than <input type="hidden">
994
- // so that an empty value blocks HTML form submission when the field is required.
995
- inputProps.type = "text";
996
- inputProps.hidden = true;
997
- inputProps.required = props.isRequired;
998
- // Ignore react warning.
999
- inputProps.onChange = ()=>{};
1000
- }
1001
- let domProps = (0, $IwcIq$reactariautils.filterDOMProps)(props);
1002
- return {
1003
- labelProps: {
1004
- ...labelProps,
1005
- onClick: ()=>{
1006
- focusManager.focusFirst();
1007
- }
1008
- },
1009
- fieldProps: (0, $IwcIq$reactariautils.mergeProps)(domProps, fieldDOMProps, groupProps, focusWithinProps, {
1010
- onKeyDown (e) {
1011
- if (props.onKeyDown) props.onKeyDown(e);
1012
- },
1013
- onKeyUp (e) {
1014
- if (props.onKeyUp) props.onKeyUp(e);
1015
- }
1016
- }),
1017
- inputProps: inputProps,
1018
- descriptionProps: descriptionProps,
1019
- errorMessageProps: errorMessageProps,
1020
- isInvalid: isInvalid,
1021
- validationErrors: validationErrors,
1022
- validationDetails: validationDetails
1023
- };
1024
- }
1025
- function $4acc2f407c169e55$export$4c842f6a241dc825(props, state, ref) {
1026
- var _state_timeValue;
1027
- let res = $4acc2f407c169e55$export$5591b0b878c1a989(props, state, ref);
1028
- res.inputProps.value = ((_state_timeValue = state.timeValue) === null || _state_timeValue === void 0 ? void 0 : _state_timeValue.toString()) || "";
1029
- return res;
1030
- }
1031
-
1032
-
1033
-
1034
-
1035
-
1036
-
1037
- function $e90ae7c26a69c6b1$export$42df105a73306d51(props, state, ref) {
1038
- let buttonId = (0, $IwcIq$reactariautils.useId)();
1039
- let dialogId = (0, $IwcIq$reactariautils.useId)();
1040
- let fieldId = (0, $IwcIq$reactariautils.useId)();
1041
- let stringFormatter = (0, $IwcIq$reactariai18n.useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($c1905b78f6d2f5bf$exports))), "@react-aria/datepicker");
1042
- let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = state.displayValidation;
1043
- let { labelProps: labelProps, fieldProps: fieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = (0, $IwcIq$reactarialabel.useField)({
1044
- ...props,
1045
- labelElementType: "span",
1046
- isInvalid: isInvalid,
1047
- errorMessage: props.errorMessage || validationErrors
1048
- });
1049
- let groupProps = (0, $715562ad3b4cced4$export$4a931266a3838b86)(state, ref);
1050
- let labelledBy = fieldProps["aria-labelledby"] || fieldProps.id;
1051
- let { locale: locale } = (0, $IwcIq$reactariai18n.useLocale)();
1052
- let date = state.formatValue(locale, {
1053
- month: "long"
1054
- });
1055
- let description = date ? stringFormatter.format("selectedDateDescription", {
1056
- date: date
1057
- }) : "";
1058
- let descProps = (0, $IwcIq$reactariautils.useDescription)(description);
1059
- let ariaDescribedBy = [
1060
- descProps["aria-describedby"],
1061
- fieldProps["aria-describedby"]
1062
- ].filter(Boolean).join(" ") || undefined;
1063
- let domProps = (0, $IwcIq$reactariautils.filterDOMProps)(props);
1064
- let focusManager = (0, $IwcIq$react.useMemo)(()=>(0, $IwcIq$reactariafocus.createFocusManager)(ref), [
1065
- ref
1066
- ]);
1067
- let { focusWithinProps: focusWithinProps } = (0, $IwcIq$reactariainteractions.useFocusWithin)({
1068
- ...props,
1069
- isDisabled: state.isOpen,
1070
- onBlurWithin: props.onBlur,
1071
- onFocusWithin: props.onFocus,
1072
- onFocusWithinChange: props.onFocusChange
1073
- });
1074
- return {
1075
- groupProps: (0, $IwcIq$reactariautils.mergeProps)(domProps, groupProps, fieldProps, descProps, focusWithinProps, {
1076
- role: "group",
1077
- "aria-disabled": props.isDisabled || null,
1078
- "aria-labelledby": labelledBy,
1079
- "aria-describedby": ariaDescribedBy,
1080
- onKeyDown (e) {
1081
- if (state.isOpen) return;
1082
- if (props.onKeyDown) props.onKeyDown(e);
1083
- },
1084
- onKeyUp (e) {
1085
- if (state.isOpen) return;
1086
- if (props.onKeyUp) props.onKeyUp(e);
1087
- }
1088
- }),
1089
- labelProps: {
1090
- ...labelProps,
1091
- onClick: ()=>{
1092
- focusManager.focusFirst();
1093
- }
1094
- },
1095
- fieldProps: {
1096
- ...fieldProps,
1097
- id: fieldId,
1098
- [(0, $4acc2f407c169e55$export$300019f83c56d282)]: "presentation",
1099
- "aria-describedby": ariaDescribedBy,
1100
- value: state.value,
1101
- onChange: state.setValue,
1102
- placeholderValue: props.placeholderValue,
1103
- hideTimeZone: props.hideTimeZone,
1104
- hourCycle: props.hourCycle,
1105
- shouldForceLeadingZeros: props.shouldForceLeadingZeros,
1106
- granularity: props.granularity,
1107
- isDisabled: props.isDisabled,
1108
- isReadOnly: props.isReadOnly,
1109
- isRequired: props.isRequired,
1110
- validationBehavior: props.validationBehavior,
1111
- // DatePicker owns the validation state for the date field.
1112
- [(0, $IwcIq$reactstatelyform.privateValidationStateProp)]: state,
1113
- autoFocus: props.autoFocus,
1114
- name: props.name
1115
- },
1116
- descriptionProps: descriptionProps,
1117
- errorMessageProps: errorMessageProps,
1118
- buttonProps: {
1119
- ...descProps,
1120
- id: buttonId,
1121
- "aria-haspopup": "dialog",
1122
- "aria-label": stringFormatter.format("calendar"),
1123
- "aria-labelledby": `${buttonId} ${labelledBy}`,
1124
- "aria-describedby": ariaDescribedBy,
1125
- "aria-expanded": state.isOpen,
1126
- isDisabled: props.isDisabled || props.isReadOnly,
1127
- onPress: ()=>state.setOpen(true)
1128
- },
1129
- dialogProps: {
1130
- id: dialogId,
1131
- "aria-labelledby": `${buttonId} ${labelledBy}`
1132
- },
1133
- calendarProps: {
1134
- autoFocus: true,
1135
- value: state.dateValue,
1136
- onChange: state.setDateValue,
1137
- minValue: props.minValue,
1138
- maxValue: props.maxValue,
1139
- isDisabled: props.isDisabled,
1140
- isReadOnly: props.isReadOnly,
1141
- isDateUnavailable: props.isDateUnavailable,
1142
- defaultFocusedValue: state.dateValue ? undefined : props.placeholderValue,
1143
- isInvalid: state.isInvalid,
1144
- errorMessage: typeof props.errorMessage === "function" ? props.errorMessage(state.displayValidation) : props.errorMessage || state.displayValidation.validationErrors.join(" ")
1145
- },
1146
- isInvalid: isInvalid,
1147
- validationErrors: validationErrors,
1148
- validationDetails: validationDetails
1149
- };
1150
- }
1151
-
1152
-
1153
- /*
1154
- * Copyright 2020 Adobe. All rights reserved.
1155
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
1156
- * you may not use this file except in compliance with the License. You may obtain a copy
1157
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
1158
- *
1159
- * Unless required by applicable law or agreed to in writing, software distributed under
1160
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
1161
- * OF ANY KIND, either express or implied. See the License for the specific language
1162
- * governing permissions and limitations under the License.
1163
- */
1164
-
1165
-
1166
-
1167
-
1168
-
1169
- /*
1170
- * Copyright 2020 Adobe. All rights reserved.
1171
- * This file is licensed to you under the Apache License, Version 2.0 (the "License");
1172
- * you may not use this file except in compliance with the License. You may obtain a copy
1173
- * of the License at http://www.apache.org/licenses/LICENSE-2.0
1174
- *
1175
- * Unless required by applicable law or agreed to in writing, software distributed under
1176
- * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
1177
- * OF ANY KIND, either express or implied. See the License for the specific language
1178
- * governing permissions and limitations under the License.
1179
- */ // @ts-ignore
1180
-
1181
-
1182
-
1183
- function $934ac650a0aceb4b$export$d42c60378c8168f8() {
1184
- let { locale: locale } = (0, $IwcIq$reactariai18n.useLocale)();
1185
- let dictionary = (0, $IwcIq$reactariai18n.useLocalizedStringDictionary)((0, (/*@__PURE__*/$parcel$interopDefault($c1905b78f6d2f5bf$exports))), "@react-aria/datepicker");
1186
- return (0, $IwcIq$react.useMemo)(()=>{
1187
- // Try to use Intl.DisplayNames if possible. It may be supported in browsers, but not support the dateTimeField
1188
- // type as that was only added in v2. https://github.com/tc39/intl-displaynames-v2
1189
- try {
1190
- // @ts-ignore
1191
- return new Intl.DisplayNames(locale, {
1192
- type: "dateTimeField"
1193
- });
1194
- } catch (err) {
1195
- return new $934ac650a0aceb4b$var$DisplayNamesPolyfill(locale, dictionary);
1196
- }
1197
- }, [
1198
- locale,
1199
- dictionary
1200
- ]);
1201
- }
1202
- class $934ac650a0aceb4b$var$DisplayNamesPolyfill {
1203
- of(field) {
1204
- return this.dictionary.getStringForLocale(field, this.locale);
1205
- }
1206
- constructor(locale, dictionary){
1207
- this.locale = locale;
1208
- this.dictionary = dictionary;
1209
- }
1210
- }
1211
-
1212
-
1213
-
1214
- function $5c015c6316d1904d$export$1315d136e6f7581(segment, state, ref) {
1215
- let enteredKeys = (0, $IwcIq$react.useRef)("");
1216
- let { locale: locale } = (0, $IwcIq$reactariai18n.useLocale)();
1217
- let displayNames = (0, $934ac650a0aceb4b$export$d42c60378c8168f8)();
1218
- let { ariaLabel: ariaLabel, ariaLabelledBy: ariaLabelledBy, ariaDescribedBy: ariaDescribedBy, focusManager: focusManager } = (0, $4acc2f407c169e55$export$653eddfc964b0f8a).get(state);
1219
- let textValue = segment.isPlaceholder ? "" : segment.text;
1220
- let options = (0, $IwcIq$react.useMemo)(()=>state.dateFormatter.resolvedOptions(), [
1221
- state.dateFormatter
1222
- ]);
1223
- let monthDateFormatter = (0, $IwcIq$reactariai18n.useDateFormatter)({
1224
- month: "long",
1225
- timeZone: options.timeZone
1226
- });
1227
- let hourDateFormatter = (0, $IwcIq$reactariai18n.useDateFormatter)({
1228
- hour: "numeric",
1229
- hour12: options.hour12,
1230
- timeZone: options.timeZone
1231
- });
1232
- if (segment.type === "month" && !segment.isPlaceholder) {
1233
- let monthTextValue = monthDateFormatter.format(state.dateValue);
1234
- textValue = monthTextValue !== textValue ? `${textValue} \u{2013} ${monthTextValue}` : monthTextValue;
1235
- } else if (segment.type === "hour" && !segment.isPlaceholder) textValue = hourDateFormatter.format(state.dateValue);
1236
- let { spinButtonProps: spinButtonProps } = (0, $IwcIq$reactariaspinbutton.useSpinButton)({
1237
- // The ARIA spec says aria-valuenow is optional if there's no value, but aXe seems to require it.
1238
- // This doesn't seem to have any negative effects with real AT since we also use aria-valuetext.
1239
- // https://github.com/dequelabs/axe-core/issues/3505
1240
- value: segment.value,
1241
- textValue: textValue,
1242
- minValue: segment.minValue,
1243
- maxValue: segment.maxValue,
1244
- isDisabled: state.isDisabled,
1245
- isReadOnly: state.isReadOnly || !segment.isEditable,
1246
- isRequired: state.isRequired,
1247
- onIncrement: ()=>{
1248
- enteredKeys.current = "";
1249
- state.increment(segment.type);
1250
- },
1251
- onDecrement: ()=>{
1252
- enteredKeys.current = "";
1253
- state.decrement(segment.type);
1254
- },
1255
- onIncrementPage: ()=>{
1256
- enteredKeys.current = "";
1257
- state.incrementPage(segment.type);
1258
- },
1259
- onDecrementPage: ()=>{
1260
- enteredKeys.current = "";
1261
- state.decrementPage(segment.type);
1262
- },
1263
- onIncrementToMax: ()=>{
1264
- enteredKeys.current = "";
1265
- state.setSegment(segment.type, segment.maxValue);
1266
- },
1267
- onDecrementToMin: ()=>{
1268
- enteredKeys.current = "";
1269
- state.setSegment(segment.type, segment.minValue);
1270
- }
1271
- });
1272
- let parser = (0, $IwcIq$react.useMemo)(()=>new (0, $IwcIq$internationalizednumber.NumberParser)(locale, {
1273
- maximumFractionDigits: 0
1274
- }), [
1275
- locale
1276
- ]);
1277
- let backspace = ()=>{
1278
- if (parser.isValidPartialNumber(segment.text) && !state.isReadOnly && !segment.isPlaceholder) {
1279
- let newValue = segment.text.slice(0, -1);
1280
- let parsed = parser.parse(newValue);
1281
- if (newValue.length === 0 || parsed === 0) state.clearSegment(segment.type);
1282
- else state.setSegment(segment.type, parsed);
1283
- enteredKeys.current = newValue;
1284
- } else if (segment.type === "dayPeriod") state.clearSegment(segment.type);
1285
- };
1286
- let onKeyDown = (e)=>{
1287
- // Firefox does not fire selectstart for Ctrl/Cmd + A
1288
- // https://bugzilla.mozilla.org/show_bug.cgi?id=1742153
1289
- if (e.key === "a" && ((0, $IwcIq$reactariautils.isMac)() ? e.metaKey : e.ctrlKey)) e.preventDefault();
1290
- if (e.ctrlKey || e.metaKey || e.shiftKey || e.altKey) return;
1291
- switch(e.key){
1292
- case "Backspace":
1293
- case "Delete":
1294
- // Safari on iOS does not fire beforeinput for the backspace key because the cursor is at the start.
1295
- e.preventDefault();
1296
- e.stopPropagation();
1297
- backspace();
1298
- break;
1299
- }
1300
- };
1301
- // Safari dayPeriod option doesn't work...
1302
- let { startsWith: startsWith } = (0, $IwcIq$reactariai18n.useFilter)({
1303
- sensitivity: "base"
1304
- });
1305
- let amPmFormatter = (0, $IwcIq$reactariai18n.useDateFormatter)({
1306
- hour: "numeric",
1307
- hour12: true
1308
- });
1309
- let am = (0, $IwcIq$react.useMemo)(()=>{
1310
- let date = new Date();
1311
- date.setHours(0);
1312
- return amPmFormatter.formatToParts(date).find((part)=>part.type === "dayPeriod").value;
1313
- }, [
1314
- amPmFormatter
1315
- ]);
1316
- let pm = (0, $IwcIq$react.useMemo)(()=>{
1317
- let date = new Date();
1318
- date.setHours(12);
1319
- return amPmFormatter.formatToParts(date).find((part)=>part.type === "dayPeriod").value;
1320
- }, [
1321
- amPmFormatter
1322
- ]);
1323
- // Get a list of formatted era names so users can type the first character to choose one.
1324
- let eraFormatter = (0, $IwcIq$reactariai18n.useDateFormatter)({
1325
- year: "numeric",
1326
- era: "narrow",
1327
- timeZone: "UTC"
1328
- });
1329
- let eras = (0, $IwcIq$react.useMemo)(()=>{
1330
- if (segment.type !== "era") return [];
1331
- let date = (0, $IwcIq$internationalizeddate.toCalendar)(new (0, $IwcIq$internationalizeddate.CalendarDate)(1, 1, 1), state.calendar);
1332
- let eras = state.calendar.getEras().map((era)=>{
1333
- let eraDate = date.set({
1334
- year: 1,
1335
- month: 1,
1336
- day: 1,
1337
- era: era
1338
- }).toDate("UTC");
1339
- let parts = eraFormatter.formatToParts(eraDate);
1340
- let formatted = parts.find((p)=>p.type === "era").value;
1341
- return {
1342
- era: era,
1343
- formatted: formatted
1344
- };
1345
- });
1346
- // Remove the common prefix from formatted values. This is so that in calendars with eras like
1347
- // ERA0 and ERA1 (e.g. Ethiopic), users can press "0" and "1" to select an era. In other cases,
1348
- // the first letter is used.
1349
- let prefixLength = $5c015c6316d1904d$var$commonPrefixLength(eras.map((era)=>era.formatted));
1350
- if (prefixLength) for (let era of eras)era.formatted = era.formatted.slice(prefixLength);
1351
- return eras;
1352
- }, [
1353
- eraFormatter,
1354
- state.calendar,
1355
- segment.type
1356
- ]);
1357
- let onInput = (key)=>{
1358
- if (state.isDisabled || state.isReadOnly) return;
1359
- let newValue = enteredKeys.current + key;
1360
- switch(segment.type){
1361
- case "dayPeriod":
1362
- if (startsWith(am, key)) state.setSegment("dayPeriod", 0);
1363
- else if (startsWith(pm, key)) state.setSegment("dayPeriod", 12);
1364
- else break;
1365
- focusManager.focusNext();
1366
- break;
1367
- case "era":
1368
- {
1369
- let matched = eras.find((e)=>startsWith(e.formatted, key));
1370
- if (matched) {
1371
- state.setSegment("era", matched.era);
1372
- focusManager.focusNext();
1373
- }
1374
- break;
1375
- }
1376
- case "day":
1377
- case "hour":
1378
- case "minute":
1379
- case "second":
1380
- case "month":
1381
- case "year":
1382
- {
1383
- if (!parser.isValidPartialNumber(newValue)) return;
1384
- let numberValue = parser.parse(newValue);
1385
- let segmentValue = numberValue;
1386
- let allowsZero = segment.minValue === 0;
1387
- if (segment.type === "hour" && state.dateFormatter.resolvedOptions().hour12) {
1388
- switch(state.dateFormatter.resolvedOptions().hourCycle){
1389
- case "h11":
1390
- if (numberValue > 11) segmentValue = parser.parse(key);
1391
- break;
1392
- case "h12":
1393
- allowsZero = false;
1394
- if (numberValue > 12) segmentValue = parser.parse(key);
1395
- break;
1396
- }
1397
- if (segment.value >= 12 && numberValue > 1) numberValue += 12;
1398
- } else if (numberValue > segment.maxValue) segmentValue = parser.parse(key);
1399
- if (isNaN(numberValue)) return;
1400
- let shouldSetValue = segmentValue !== 0 || allowsZero;
1401
- if (shouldSetValue) state.setSegment(segment.type, segmentValue);
1402
- if (Number(numberValue + "0") > segment.maxValue || newValue.length >= String(segment.maxValue).length) {
1403
- enteredKeys.current = "";
1404
- if (shouldSetValue) focusManager.focusNext();
1405
- } else enteredKeys.current = newValue;
1406
- break;
1407
- }
1408
- }
1409
- };
1410
- let onFocus = ()=>{
1411
- enteredKeys.current = "";
1412
- (0, $IwcIq$reactariautils.scrollIntoViewport)(ref.current, {
1413
- containingElement: (0, $IwcIq$reactariautils.getScrollParent)(ref.current)
1414
- });
1415
- // Collapse selection to start or Chrome won't fire input events.
1416
- let selection = window.getSelection();
1417
- selection.collapse(ref.current);
1418
- };
1419
- let compositionRef = (0, $IwcIq$react.useRef)("");
1420
- // @ts-ignore - TODO: possibly old TS version? doesn't fail in my editor...
1421
- (0, $IwcIq$reactariautils.useEvent)(ref, "beforeinput", (e)=>{
1422
- e.preventDefault();
1423
- switch(e.inputType){
1424
- case "deleteContentBackward":
1425
- case "deleteContentForward":
1426
- if (parser.isValidPartialNumber(segment.text) && !state.isReadOnly) backspace();
1427
- break;
1428
- case "insertCompositionText":
1429
- // insertCompositionText cannot be canceled.
1430
- // Record the current state of the element so we can restore it in the `input` event below.
1431
- compositionRef.current = ref.current.textContent;
1432
- // Safari gets stuck in a composition state unless we also assign to the value here.
1433
- // eslint-disable-next-line no-self-assign
1434
- ref.current.textContent = ref.current.textContent;
1435
- break;
1436
- default:
1437
- if (e.data != null) onInput(e.data);
1438
- break;
1439
- }
1440
- });
1441
- (0, $IwcIq$reactariautils.useEvent)(ref, "input", (e)=>{
1442
- let { inputType: inputType, data: data } = e;
1443
- switch(inputType){
1444
- case "insertCompositionText":
1445
- // Reset the DOM to how it was in the beforeinput event.
1446
- ref.current.textContent = compositionRef.current;
1447
- // Android sometimes fires key presses of letters as composition events. Need to handle am/pm keys here too.
1448
- // Can also happen e.g. with Pinyin keyboard on iOS.
1449
- if (startsWith(am, data) || startsWith(pm, data)) onInput(data);
1450
- break;
1451
- }
1452
- });
1453
- (0, $IwcIq$reactariautils.useLayoutEffect)(()=>{
1454
- let element = ref.current;
1455
- return ()=>{
1456
- // If the focused segment is removed, focus the previous one, or the next one if there was no previous one.
1457
- if (document.activeElement === element) {
1458
- let prev = focusManager.focusPrevious();
1459
- if (!prev) focusManager.focusNext();
1460
- }
1461
- };
1462
- }, [
1463
- ref,
1464
- focusManager
1465
- ]);
1466
- // spinbuttons cannot be focused with VoiceOver on iOS.
1467
- let touchPropOverrides = (0, $IwcIq$reactariautils.isIOS)() || segment.type === "timeZoneName" ? {
1468
- role: "textbox",
1469
- "aria-valuemax": null,
1470
- "aria-valuemin": null,
1471
- "aria-valuetext": null,
1472
- "aria-valuenow": null
1473
- } : {};
1474
- // Only apply aria-describedby to the first segment, unless the field is invalid. This avoids it being
1475
- // read every time the user navigates to a new segment.
1476
- let firstSegment = (0, $IwcIq$react.useMemo)(()=>state.segments.find((s)=>s.isEditable), [
1477
- state.segments
1478
- ]);
1479
- if (segment !== firstSegment && !state.isInvalid) ariaDescribedBy = undefined;
1480
- let id = (0, $IwcIq$reactariautils.useId)();
1481
- let isEditable = !state.isDisabled && !state.isReadOnly && segment.isEditable;
1482
- // Prepend the label passed from the field to each segment name.
1483
- // This is needed because VoiceOver on iOS does not announce groups.
1484
- let name = segment.type === "literal" ? "" : displayNames.of(segment.type);
1485
- let labelProps = (0, $IwcIq$reactariautils.useLabels)({
1486
- "aria-label": `${name}${ariaLabel ? `, ${ariaLabel}` : ""}${ariaLabelledBy ? ", " : ""}`,
1487
- "aria-labelledby": ariaLabelledBy
1488
- });
1489
- // Literal segments should not be visible to screen readers. We don't really need any of the above,
1490
- // but the rules of hooks mean hooks cannot be conditional so we have to put this condition here.
1491
- if (segment.type === "literal") return {
1492
- segmentProps: {
1493
- "aria-hidden": true
1494
- }
1495
- };
1496
- return {
1497
- segmentProps: (0, $IwcIq$reactariautils.mergeProps)(spinButtonProps, labelProps, {
1498
- id: id,
1499
- ...touchPropOverrides,
1500
- "aria-invalid": state.isInvalid ? "true" : undefined,
1501
- "aria-describedby": ariaDescribedBy,
1502
- "aria-readonly": state.isReadOnly || !segment.isEditable ? "true" : undefined,
1503
- "data-placeholder": segment.isPlaceholder || undefined,
1504
- contentEditable: isEditable,
1505
- suppressContentEditableWarning: isEditable,
1506
- spellCheck: isEditable ? "false" : undefined,
1507
- autoCapitalize: isEditable ? "off" : undefined,
1508
- autoCorrect: isEditable ? "off" : undefined,
1509
- // Capitalization was changed in React 17...
1510
- [parseInt((0, ($parcel$interopDefault($IwcIq$react))).version, 10) >= 17 ? "enterKeyHint" : "enterkeyhint"]: isEditable ? "next" : undefined,
1511
- inputMode: state.isDisabled || segment.type === "dayPeriod" || segment.type === "era" || !isEditable ? undefined : "numeric",
1512
- tabIndex: state.isDisabled ? undefined : 0,
1513
- onKeyDown: onKeyDown,
1514
- onFocus: onFocus,
1515
- style: {
1516
- caretColor: "transparent"
1517
- },
1518
- // Prevent pointer events from reaching useDatePickerGroup, and allow native browser behavior to focus the segment.
1519
- onPointerDown (e) {
1520
- e.stopPropagation();
1521
- },
1522
- onMouseDown (e) {
1523
- e.stopPropagation();
1524
- }
1525
- })
1526
- };
1527
- }
1528
- function $5c015c6316d1904d$var$commonPrefixLength(strings) {
1529
- // Sort the strings, and compare the characters in the first and last to find the common prefix.
1530
- strings.sort();
1531
- let first = strings[0];
1532
- let last = strings[strings.length - 1];
1533
- for(let i = 0; i < first.length; i++){
1534
- if (first[i] !== last[i]) return i;
1535
- }
1536
- return 0;
1537
- }
1538
-
1539
-
1540
-
12
+ $parcel$export(module.exports, "useDatePicker", () => $e90ae7c26a69c6b1$exports.useDatePicker);
13
+ $parcel$export(module.exports, "useDateSegment", () => $5c015c6316d1904d$exports.useDateSegment);
14
+ $parcel$export(module.exports, "useDateField", () => $4acc2f407c169e55$exports.useDateField);
15
+ $parcel$export(module.exports, "useTimeField", () => $4acc2f407c169e55$exports.useTimeField);
16
+ $parcel$export(module.exports, "useDateRangePicker", () => $20f695b1b69e6b9e$exports.useDateRangePicker);
17
+ $parcel$export(module.exports, "useDisplayNames", () => $934ac650a0aceb4b$exports.useDisplayNames);
1541
18
  /*
1542
19
  * Copyright 2020 Adobe. All rights reserved.
1543
20
  * This file is licensed to you under the Apache License, Version 2.0 (the "License");
@@ -1555,169 +32,4 @@ function $5c015c6316d1904d$var$commonPrefixLength(strings) {
1555
32
 
1556
33
 
1557
34
 
1558
-
1559
-
1560
-
1561
- function $20f695b1b69e6b9e$export$12fd5f0e9f4bb192(props, state, ref) {
1562
- var _state_value, _state_value1;
1563
- let stringFormatter = (0, $IwcIq$reactariai18n.useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($c1905b78f6d2f5bf$exports))), "@react-aria/datepicker");
1564
- let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = state.displayValidation;
1565
- let { labelProps: labelProps, fieldProps: fieldProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps } = (0, $IwcIq$reactarialabel.useField)({
1566
- ...props,
1567
- labelElementType: "span",
1568
- isInvalid: isInvalid,
1569
- errorMessage: props.errorMessage || validationErrors
1570
- });
1571
- let labelledBy = fieldProps["aria-labelledby"] || fieldProps.id;
1572
- let { locale: locale } = (0, $IwcIq$reactariai18n.useLocale)();
1573
- let range = state.formatValue(locale, {
1574
- month: "long"
1575
- });
1576
- let description = range ? stringFormatter.format("selectedRangeDescription", {
1577
- startDate: range.start,
1578
- endDate: range.end
1579
- }) : "";
1580
- let descProps = (0, $IwcIq$reactariautils.useDescription)(description);
1581
- let startFieldProps = {
1582
- "aria-label": stringFormatter.format("startDate"),
1583
- "aria-labelledby": labelledBy
1584
- };
1585
- let endFieldProps = {
1586
- "aria-label": stringFormatter.format("endDate"),
1587
- "aria-labelledby": labelledBy
1588
- };
1589
- let buttonId = (0, $IwcIq$reactariautils.useId)();
1590
- let dialogId = (0, $IwcIq$reactariautils.useId)();
1591
- let groupProps = (0, $715562ad3b4cced4$export$4a931266a3838b86)(state, ref);
1592
- let ariaDescribedBy = [
1593
- descProps["aria-describedby"],
1594
- fieldProps["aria-describedby"]
1595
- ].filter(Boolean).join(" ") || undefined;
1596
- let focusManager = (0, $IwcIq$react.useMemo)(()=>(0, $IwcIq$reactariafocus.createFocusManager)(ref, {
1597
- // Exclude the button from the focus manager.
1598
- accept: (element)=>element.id !== buttonId
1599
- }), [
1600
- ref,
1601
- buttonId
1602
- ]);
1603
- let commonFieldProps = {
1604
- [(0, $4acc2f407c169e55$export$7b3062cd49e80452)]: focusManager,
1605
- [(0, $4acc2f407c169e55$export$300019f83c56d282)]: "presentation",
1606
- "aria-describedby": ariaDescribedBy,
1607
- placeholderValue: props.placeholderValue,
1608
- hideTimeZone: props.hideTimeZone,
1609
- hourCycle: props.hourCycle,
1610
- granularity: props.granularity,
1611
- shouldForceLeadingZeros: props.shouldForceLeadingZeros,
1612
- isDisabled: props.isDisabled,
1613
- isReadOnly: props.isReadOnly,
1614
- isRequired: props.isRequired,
1615
- validationBehavior: props.validationBehavior
1616
- };
1617
- let domProps = (0, $IwcIq$reactariautils.filterDOMProps)(props);
1618
- let { focusWithinProps: focusWithinProps } = (0, $IwcIq$reactariainteractions.useFocusWithin)({
1619
- ...props,
1620
- isDisabled: state.isOpen,
1621
- onBlurWithin: props.onBlur,
1622
- onFocusWithin: props.onFocus,
1623
- onFocusWithinChange: props.onFocusChange
1624
- });
1625
- let startFieldValidation = (0, $IwcIq$react.useRef)((0, $IwcIq$reactstatelyform.DEFAULT_VALIDATION_RESULT));
1626
- let endFieldValidation = (0, $IwcIq$react.useRef)((0, $IwcIq$reactstatelyform.DEFAULT_VALIDATION_RESULT));
1627
- return {
1628
- groupProps: (0, $IwcIq$reactariautils.mergeProps)(domProps, groupProps, fieldProps, descProps, focusWithinProps, {
1629
- role: "group",
1630
- "aria-disabled": props.isDisabled || null,
1631
- "aria-describedby": ariaDescribedBy,
1632
- onKeyDown (e) {
1633
- if (state.isOpen) return;
1634
- if (props.onKeyDown) props.onKeyDown(e);
1635
- },
1636
- onKeyUp (e) {
1637
- if (state.isOpen) return;
1638
- if (props.onKeyUp) props.onKeyUp(e);
1639
- }
1640
- }),
1641
- labelProps: {
1642
- ...labelProps,
1643
- onClick: ()=>{
1644
- focusManager.focusFirst();
1645
- }
1646
- },
1647
- buttonProps: {
1648
- ...descProps,
1649
- id: buttonId,
1650
- "aria-haspopup": "dialog",
1651
- "aria-label": stringFormatter.format("calendar"),
1652
- "aria-labelledby": `${buttonId} ${labelledBy}`,
1653
- "aria-describedby": ariaDescribedBy,
1654
- "aria-expanded": state.isOpen,
1655
- isDisabled: props.isDisabled || props.isReadOnly,
1656
- onPress: ()=>state.setOpen(true)
1657
- },
1658
- dialogProps: {
1659
- id: dialogId,
1660
- "aria-labelledby": `${buttonId} ${labelledBy}`
1661
- },
1662
- startFieldProps: {
1663
- ...startFieldProps,
1664
- ...commonFieldProps,
1665
- value: (_state_value = state.value) === null || _state_value === void 0 ? void 0 : _state_value.start,
1666
- onChange: (start)=>state.setDateTime("start", start),
1667
- autoFocus: props.autoFocus,
1668
- name: props.startName,
1669
- [(0, $IwcIq$reactstatelyform.privateValidationStateProp)]: {
1670
- realtimeValidation: state.realtimeValidation,
1671
- displayValidation: state.displayValidation,
1672
- updateValidation (e) {
1673
- startFieldValidation.current = e;
1674
- state.updateValidation((0, $IwcIq$reactstatelyform.mergeValidation)(e, endFieldValidation.current));
1675
- },
1676
- resetValidation: state.resetValidation,
1677
- commitValidation: state.commitValidation
1678
- }
1679
- },
1680
- endFieldProps: {
1681
- ...endFieldProps,
1682
- ...commonFieldProps,
1683
- value: (_state_value1 = state.value) === null || _state_value1 === void 0 ? void 0 : _state_value1.end,
1684
- onChange: (end)=>state.setDateTime("end", end),
1685
- name: props.endName,
1686
- [(0, $IwcIq$reactstatelyform.privateValidationStateProp)]: {
1687
- realtimeValidation: state.realtimeValidation,
1688
- displayValidation: state.displayValidation,
1689
- updateValidation (e) {
1690
- endFieldValidation.current = e;
1691
- state.updateValidation((0, $IwcIq$reactstatelyform.mergeValidation)(startFieldValidation.current, e));
1692
- },
1693
- resetValidation: state.resetValidation,
1694
- commitValidation: state.commitValidation
1695
- }
1696
- },
1697
- descriptionProps: descriptionProps,
1698
- errorMessageProps: errorMessageProps,
1699
- calendarProps: {
1700
- autoFocus: true,
1701
- value: state.dateRange,
1702
- onChange: state.setDateRange,
1703
- minValue: props.minValue,
1704
- maxValue: props.maxValue,
1705
- isDisabled: props.isDisabled,
1706
- isReadOnly: props.isReadOnly,
1707
- isDateUnavailable: props.isDateUnavailable,
1708
- allowsNonContiguousRanges: props.allowsNonContiguousRanges,
1709
- defaultFocusedValue: state.dateRange ? undefined : props.placeholderValue,
1710
- isInvalid: state.isInvalid,
1711
- errorMessage: typeof props.errorMessage === "function" ? props.errorMessage(state.displayValidation) : props.errorMessage || state.displayValidation.validationErrors.join(" ")
1712
- },
1713
- isInvalid: isInvalid,
1714
- validationErrors: validationErrors,
1715
- validationDetails: validationDetails
1716
- };
1717
- }
1718
-
1719
-
1720
-
1721
-
1722
-
1723
35
  //# sourceMappingURL=main.js.map