@react-aria/numberfield 3.10.1 → 3.11.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 (178) hide show
  1. package/dist/import.mjs +245 -40
  2. package/dist/main.js +245 -40
  3. package/dist/main.js.map +1 -1
  4. package/dist/module.js +245 -40
  5. package/dist/module.js.map +1 -1
  6. package/dist/types.d.ts.map +1 -1
  7. package/package.json +9 -9
  8. package/src/useNumberField.ts +8 -7
  9. package/dist/ar-AE.main.js +0 -8
  10. package/dist/ar-AE.main.js.map +0 -1
  11. package/dist/ar-AE.mjs +0 -10
  12. package/dist/ar-AE.module.js +0 -10
  13. package/dist/ar-AE.module.js.map +0 -1
  14. package/dist/bg-BG.main.js +0 -8
  15. package/dist/bg-BG.main.js.map +0 -1
  16. package/dist/bg-BG.mjs +0 -10
  17. package/dist/bg-BG.module.js +0 -10
  18. package/dist/bg-BG.module.js.map +0 -1
  19. package/dist/cs-CZ.main.js +0 -8
  20. package/dist/cs-CZ.main.js.map +0 -1
  21. package/dist/cs-CZ.mjs +0 -10
  22. package/dist/cs-CZ.module.js +0 -10
  23. package/dist/cs-CZ.module.js.map +0 -1
  24. package/dist/da-DK.main.js +0 -8
  25. package/dist/da-DK.main.js.map +0 -1
  26. package/dist/da-DK.mjs +0 -10
  27. package/dist/da-DK.module.js +0 -10
  28. package/dist/da-DK.module.js.map +0 -1
  29. package/dist/de-DE.main.js +0 -8
  30. package/dist/de-DE.main.js.map +0 -1
  31. package/dist/de-DE.mjs +0 -10
  32. package/dist/de-DE.module.js +0 -10
  33. package/dist/de-DE.module.js.map +0 -1
  34. package/dist/el-GR.main.js +0 -8
  35. package/dist/el-GR.main.js.map +0 -1
  36. package/dist/el-GR.mjs +0 -10
  37. package/dist/el-GR.module.js +0 -10
  38. package/dist/el-GR.module.js.map +0 -1
  39. package/dist/en-US.main.js +0 -8
  40. package/dist/en-US.main.js.map +0 -1
  41. package/dist/en-US.mjs +0 -10
  42. package/dist/en-US.module.js +0 -10
  43. package/dist/en-US.module.js.map +0 -1
  44. package/dist/es-ES.main.js +0 -8
  45. package/dist/es-ES.main.js.map +0 -1
  46. package/dist/es-ES.mjs +0 -10
  47. package/dist/es-ES.module.js +0 -10
  48. package/dist/es-ES.module.js.map +0 -1
  49. package/dist/et-EE.main.js +0 -8
  50. package/dist/et-EE.main.js.map +0 -1
  51. package/dist/et-EE.mjs +0 -10
  52. package/dist/et-EE.module.js +0 -10
  53. package/dist/et-EE.module.js.map +0 -1
  54. package/dist/fi-FI.main.js +0 -8
  55. package/dist/fi-FI.main.js.map +0 -1
  56. package/dist/fi-FI.mjs +0 -10
  57. package/dist/fi-FI.module.js +0 -10
  58. package/dist/fi-FI.module.js.map +0 -1
  59. package/dist/fr-FR.main.js +0 -8
  60. package/dist/fr-FR.main.js.map +0 -1
  61. package/dist/fr-FR.mjs +0 -10
  62. package/dist/fr-FR.module.js +0 -10
  63. package/dist/fr-FR.module.js.map +0 -1
  64. package/dist/he-IL.main.js +0 -8
  65. package/dist/he-IL.main.js.map +0 -1
  66. package/dist/he-IL.mjs +0 -10
  67. package/dist/he-IL.module.js +0 -10
  68. package/dist/he-IL.module.js.map +0 -1
  69. package/dist/hr-HR.main.js +0 -8
  70. package/dist/hr-HR.main.js.map +0 -1
  71. package/dist/hr-HR.mjs +0 -10
  72. package/dist/hr-HR.module.js +0 -10
  73. package/dist/hr-HR.module.js.map +0 -1
  74. package/dist/hu-HU.main.js +0 -8
  75. package/dist/hu-HU.main.js.map +0 -1
  76. package/dist/hu-HU.mjs +0 -10
  77. package/dist/hu-HU.module.js +0 -10
  78. package/dist/hu-HU.module.js.map +0 -1
  79. package/dist/it-IT.main.js +0 -8
  80. package/dist/it-IT.main.js.map +0 -1
  81. package/dist/it-IT.mjs +0 -10
  82. package/dist/it-IT.module.js +0 -10
  83. package/dist/it-IT.module.js.map +0 -1
  84. package/dist/ja-JP.main.js +0 -8
  85. package/dist/ja-JP.main.js.map +0 -1
  86. package/dist/ja-JP.mjs +0 -10
  87. package/dist/ja-JP.module.js +0 -10
  88. package/dist/ja-JP.module.js.map +0 -1
  89. package/dist/ko-KR.main.js +0 -8
  90. package/dist/ko-KR.main.js.map +0 -1
  91. package/dist/ko-KR.mjs +0 -10
  92. package/dist/ko-KR.module.js +0 -10
  93. package/dist/ko-KR.module.js.map +0 -1
  94. package/dist/lt-LT.main.js +0 -8
  95. package/dist/lt-LT.main.js.map +0 -1
  96. package/dist/lt-LT.mjs +0 -10
  97. package/dist/lt-LT.module.js +0 -10
  98. package/dist/lt-LT.module.js.map +0 -1
  99. package/dist/lv-LV.main.js +0 -8
  100. package/dist/lv-LV.main.js.map +0 -1
  101. package/dist/lv-LV.mjs +0 -10
  102. package/dist/lv-LV.module.js +0 -10
  103. package/dist/lv-LV.module.js.map +0 -1
  104. package/dist/nb-NO.main.js +0 -8
  105. package/dist/nb-NO.main.js.map +0 -1
  106. package/dist/nb-NO.mjs +0 -10
  107. package/dist/nb-NO.module.js +0 -10
  108. package/dist/nb-NO.module.js.map +0 -1
  109. package/dist/nl-NL.main.js +0 -8
  110. package/dist/nl-NL.main.js.map +0 -1
  111. package/dist/nl-NL.mjs +0 -10
  112. package/dist/nl-NL.module.js +0 -10
  113. package/dist/nl-NL.module.js.map +0 -1
  114. package/dist/pl-PL.main.js +0 -8
  115. package/dist/pl-PL.main.js.map +0 -1
  116. package/dist/pl-PL.mjs +0 -10
  117. package/dist/pl-PL.module.js +0 -10
  118. package/dist/pl-PL.module.js.map +0 -1
  119. package/dist/pt-BR.main.js +0 -8
  120. package/dist/pt-BR.main.js.map +0 -1
  121. package/dist/pt-BR.mjs +0 -10
  122. package/dist/pt-BR.module.js +0 -10
  123. package/dist/pt-BR.module.js.map +0 -1
  124. package/dist/pt-PT.main.js +0 -8
  125. package/dist/pt-PT.main.js.map +0 -1
  126. package/dist/pt-PT.mjs +0 -10
  127. package/dist/pt-PT.module.js +0 -10
  128. package/dist/pt-PT.module.js.map +0 -1
  129. package/dist/ro-RO.main.js +0 -8
  130. package/dist/ro-RO.main.js.map +0 -1
  131. package/dist/ro-RO.mjs +0 -10
  132. package/dist/ro-RO.module.js +0 -10
  133. package/dist/ro-RO.module.js.map +0 -1
  134. package/dist/ru-RU.main.js +0 -8
  135. package/dist/ru-RU.main.js.map +0 -1
  136. package/dist/ru-RU.mjs +0 -10
  137. package/dist/ru-RU.module.js +0 -10
  138. package/dist/ru-RU.module.js.map +0 -1
  139. package/dist/sk-SK.main.js +0 -8
  140. package/dist/sk-SK.main.js.map +0 -1
  141. package/dist/sk-SK.mjs +0 -10
  142. package/dist/sk-SK.module.js +0 -10
  143. package/dist/sk-SK.module.js.map +0 -1
  144. package/dist/sl-SI.main.js +0 -8
  145. package/dist/sl-SI.main.js.map +0 -1
  146. package/dist/sl-SI.mjs +0 -10
  147. package/dist/sl-SI.module.js +0 -10
  148. package/dist/sl-SI.module.js.map +0 -1
  149. package/dist/sr-SP.main.js +0 -8
  150. package/dist/sr-SP.main.js.map +0 -1
  151. package/dist/sr-SP.mjs +0 -10
  152. package/dist/sr-SP.module.js +0 -10
  153. package/dist/sr-SP.module.js.map +0 -1
  154. package/dist/sv-SE.main.js +0 -8
  155. package/dist/sv-SE.main.js.map +0 -1
  156. package/dist/sv-SE.mjs +0 -10
  157. package/dist/sv-SE.module.js +0 -10
  158. package/dist/sv-SE.module.js.map +0 -1
  159. package/dist/tr-TR.main.js +0 -8
  160. package/dist/tr-TR.main.js.map +0 -1
  161. package/dist/tr-TR.mjs +0 -10
  162. package/dist/tr-TR.module.js +0 -10
  163. package/dist/tr-TR.module.js.map +0 -1
  164. package/dist/uk-UA.main.js +0 -8
  165. package/dist/uk-UA.main.js.map +0 -1
  166. package/dist/uk-UA.mjs +0 -10
  167. package/dist/uk-UA.module.js +0 -10
  168. package/dist/uk-UA.module.js.map +0 -1
  169. package/dist/zh-CN.main.js +0 -8
  170. package/dist/zh-CN.main.js.map +0 -1
  171. package/dist/zh-CN.mjs +0 -10
  172. package/dist/zh-CN.module.js +0 -10
  173. package/dist/zh-CN.module.js.map +0 -1
  174. package/dist/zh-TW.main.js +0 -8
  175. package/dist/zh-TW.main.js.map +0 -1
  176. package/dist/zh-TW.mjs +0 -10
  177. package/dist/zh-TW.module.js +0 -10
  178. package/dist/zh-TW.module.js.map +0 -1
package/dist/main.js CHANGED
@@ -1,37 +1,3 @@
1
- var $15c26e9e75543508$exports = require("./ar-AE.main.js");
2
- var $2d346802965e5c25$exports = require("./bg-BG.main.js");
3
- var $09893e85abdd2974$exports = require("./cs-CZ.main.js");
4
- var $413bf45f477fb4e1$exports = require("./da-DK.main.js");
5
- var $2727845e2efab680$exports = require("./de-DE.main.js");
6
- var $11030a3afacdbc2e$exports = require("./el-GR.main.js");
7
- var $1e48617299cb10e8$exports = require("./en-US.main.js");
8
- var $335176f389a02847$exports = require("./es-ES.main.js");
9
- var $b08e7fdc34a812f3$exports = require("./et-EE.main.js");
10
- var $ce4c5a1eb7e6fc96$exports = require("./fi-FI.main.js");
11
- var $341f988ce23c559c$exports = require("./fr-FR.main.js");
12
- var $950fd1a1d57d2f86$exports = require("./he-IL.main.js");
13
- var $7b949fa64cf10a07$exports = require("./hr-HR.main.js");
14
- var $a945ff6d5cb9cf90$exports = require("./hu-HU.main.js");
15
- var $f3393075c1f078d7$exports = require("./it-IT.main.js");
16
- var $a12655e072ef354d$exports = require("./ja-JP.main.js");
17
- var $880dbee0519c1bad$exports = require("./ko-KR.main.js");
18
- var $d4a9630b079105aa$exports = require("./lt-LT.main.js");
19
- var $e358cd3315986eb7$exports = require("./lv-LV.main.js");
20
- var $a8d0ee8ec28363c7$exports = require("./nb-NO.main.js");
21
- var $0073957e0c754983$exports = require("./nl-NL.main.js");
22
- var $51626cc4fccef54e$exports = require("./pl-PL.main.js");
23
- var $60b1cee412b56d27$exports = require("./pt-BR.main.js");
24
- var $df9c7cc4e8072a0f$exports = require("./pt-PT.main.js");
25
- var $aea54857f9df076d$exports = require("./ro-RO.main.js");
26
- var $8337ebc47a7e61a3$exports = require("./ru-RU.main.js");
27
- var $4703837f8f4224f8$exports = require("./sk-SK.main.js");
28
- var $2b9c8b37ab5bbcca$exports = require("./sl-SI.main.js");
29
- var $2c78665a3b81ed56$exports = require("./sr-SP.main.js");
30
- var $8da5dab2105c0d01$exports = require("./sv-SE.main.js");
31
- var $73a2418cb50e8fda$exports = require("./tr-TR.main.js");
32
- var $9c85d1989bb8c41d$exports = require("./uk-UA.main.js");
33
- var $a7db09d81aa41beb$exports = require("./zh-CN.main.js");
34
- var $edd6ee4675b7a1cd$exports = require("./zh-TW.main.js");
35
1
  var $2wEZH$reactariautils = require("@react-aria/utils");
36
2
  var $2wEZH$react = require("react");
37
3
  var $2wEZH$reactstatelyform = require("@react-stately/form");
@@ -73,38 +39,276 @@ $parcel$export(module.exports, "useNumberField", () => $fa863e9b015ae839$export$
73
39
  */
74
40
 
75
41
  var $4932e21065cdc2cd$exports = {};
42
+ var $15c26e9e75543508$exports = {};
43
+ $15c26e9e75543508$exports = {
44
+ "decrease": (args)=>`\u{62E}\u{641}\u{636} ${args.fieldLabel}`,
45
+ "increase": (args)=>`\u{632}\u{64A}\u{627}\u{62F}\u{629} ${args.fieldLabel}`,
46
+ "numberField": `\u{62D}\u{642}\u{644} \u{631}\u{642}\u{645}\u{64A}`
47
+ };
48
+
49
+
50
+ var $2d346802965e5c25$exports = {};
51
+ $2d346802965e5c25$exports = {
52
+ "decrease": (args)=>`\u{41D}\u{430}\u{43C}\u{430}\u{43B}\u{44F}\u{432}\u{430}\u{43D}\u{435} ${args.fieldLabel}`,
53
+ "increase": (args)=>`\u{423}\u{441}\u{438}\u{43B}\u{432}\u{430}\u{43D}\u{435} ${args.fieldLabel}`,
54
+ "numberField": `\u{41D}\u{43E}\u{43C}\u{435}\u{440} \u{43D}\u{430} \u{43F}\u{43E}\u{43B}\u{435}\u{442}\u{43E}`
55
+ };
56
+
57
+
58
+ var $09893e85abdd2974$exports = {};
59
+ $09893e85abdd2974$exports = {
60
+ "decrease": (args)=>`Sn\xed\u{17E}it ${args.fieldLabel}`,
61
+ "increase": (args)=>`Zv\xfd\u{161}it ${args.fieldLabel}`,
62
+ "numberField": `\u{10C}\xedseln\xe9 pole`
63
+ };
64
+
65
+
66
+ var $413bf45f477fb4e1$exports = {};
67
+ $413bf45f477fb4e1$exports = {
68
+ "decrease": (args)=>`Reducer ${args.fieldLabel}`,
69
+ "increase": (args)=>`\xd8g ${args.fieldLabel}`,
70
+ "numberField": `Talfelt`
71
+ };
72
+
73
+
74
+ var $2727845e2efab680$exports = {};
75
+ $2727845e2efab680$exports = {
76
+ "decrease": (args)=>`${args.fieldLabel} verringern`,
77
+ "increase": (args)=>`${args.fieldLabel} erh\xf6hen`,
78
+ "numberField": `Nummernfeld`
79
+ };
80
+
81
+
82
+ var $11030a3afacdbc2e$exports = {};
83
+ $11030a3afacdbc2e$exports = {
84
+ "decrease": (args)=>`\u{39C}\u{3B5}\u{3AF}\u{3C9}\u{3C3}\u{3B7} ${args.fieldLabel}`,
85
+ "increase": (args)=>`\u{391}\u{3CD}\u{3BE}\u{3B7}\u{3C3}\u{3B7} ${args.fieldLabel}`,
86
+ "numberField": `\u{3A0}\u{3B5}\u{3B4}\u{3AF}\u{3BF} \u{3B1}\u{3C1}\u{3B9}\u{3B8}\u{3BC}\u{3BF}\u{3CD}`
87
+ };
88
+
89
+
90
+ var $1e48617299cb10e8$exports = {};
91
+ $1e48617299cb10e8$exports = {
92
+ "decrease": (args)=>`Decrease ${args.fieldLabel}`,
93
+ "increase": (args)=>`Increase ${args.fieldLabel}`,
94
+ "numberField": `Number field`
95
+ };
96
+
97
+
98
+ var $335176f389a02847$exports = {};
99
+ $335176f389a02847$exports = {
100
+ "decrease": (args)=>`Reducir ${args.fieldLabel}`,
101
+ "increase": (args)=>`Aumentar ${args.fieldLabel}`,
102
+ "numberField": `Campo de n\xfamero`
103
+ };
104
+
105
+
106
+ var $b08e7fdc34a812f3$exports = {};
107
+ $b08e7fdc34a812f3$exports = {
108
+ "decrease": (args)=>`V\xe4henda ${args.fieldLabel}`,
109
+ "increase": (args)=>`Suurenda ${args.fieldLabel}`,
110
+ "numberField": `Numbri v\xe4li`
111
+ };
112
+
113
+
114
+ var $ce4c5a1eb7e6fc96$exports = {};
115
+ $ce4c5a1eb7e6fc96$exports = {
116
+ "decrease": (args)=>`V\xe4henn\xe4 ${args.fieldLabel}`,
117
+ "increase": (args)=>`Lis\xe4\xe4 ${args.fieldLabel}`,
118
+ "numberField": `Numerokentt\xe4`
119
+ };
120
+
121
+
122
+ var $341f988ce23c559c$exports = {};
123
+ $341f988ce23c559c$exports = {
124
+ "decrease": (args)=>`Diminuer ${args.fieldLabel}`,
125
+ "increase": (args)=>`Augmenter ${args.fieldLabel}`,
126
+ "numberField": `Champ de nombre`
127
+ };
128
+
129
+
130
+ var $950fd1a1d57d2f86$exports = {};
131
+ $950fd1a1d57d2f86$exports = {
132
+ "decrease": (args)=>`\u{5D4}\u{5E7}\u{5D8}\u{5DF} ${args.fieldLabel}`,
133
+ "increase": (args)=>`\u{5D4}\u{5D2}\u{5D3}\u{5DC} ${args.fieldLabel}`,
134
+ "numberField": `\u{5E9}\u{5D3}\u{5D4} \u{5DE}\u{5E1}\u{5E4}\u{5E8}`
135
+ };
76
136
 
77
137
 
138
+ var $7b949fa64cf10a07$exports = {};
139
+ $7b949fa64cf10a07$exports = {
140
+ "decrease": (args)=>`Smanji ${args.fieldLabel}`,
141
+ "increase": (args)=>`Pove\u{107}aj ${args.fieldLabel}`,
142
+ "numberField": `Polje broja`
143
+ };
144
+
145
+
146
+ var $a945ff6d5cb9cf90$exports = {};
147
+ $a945ff6d5cb9cf90$exports = {
148
+ "decrease": (args)=>`${args.fieldLabel} cs\xf6kkent\xe9se`,
149
+ "increase": (args)=>`${args.fieldLabel} n\xf6vel\xe9se`,
150
+ "numberField": `Sz\xe1mmez\u{151}`
151
+ };
152
+
153
+
154
+ var $f3393075c1f078d7$exports = {};
155
+ $f3393075c1f078d7$exports = {
156
+ "decrease": (args)=>`Riduci ${args.fieldLabel}`,
157
+ "increase": (args)=>`Aumenta ${args.fieldLabel}`,
158
+ "numberField": `Campo numero`
159
+ };
160
+
161
+
162
+ var $a12655e072ef354d$exports = {};
163
+ $a12655e072ef354d$exports = {
164
+ "decrease": (args)=>`${args.fieldLabel}\u{3092}\u{7E2E}\u{5C0F}`,
165
+ "increase": (args)=>`${args.fieldLabel}\u{3092}\u{62E1}\u{5927}`,
166
+ "numberField": `\u{6570}\u{5024}\u{30D5}\u{30A3}\u{30FC}\u{30EB}\u{30C9}`
167
+ };
168
+
169
+
170
+ var $880dbee0519c1bad$exports = {};
171
+ $880dbee0519c1bad$exports = {
172
+ "decrease": (args)=>`${args.fieldLabel} \u{AC10}\u{C18C}`,
173
+ "increase": (args)=>`${args.fieldLabel} \u{C99D}\u{AC00}`,
174
+ "numberField": `\u{BC88}\u{D638} \u{D544}\u{B4DC}`
175
+ };
176
+
177
+
178
+ var $d4a9630b079105aa$exports = {};
179
+ $d4a9630b079105aa$exports = {
180
+ "decrease": (args)=>`Suma\u{17E}inti ${args.fieldLabel}`,
181
+ "increase": (args)=>`Padidinti ${args.fieldLabel}`,
182
+ "numberField": `Numerio laukas`
183
+ };
184
+
78
185
 
186
+ var $e358cd3315986eb7$exports = {};
187
+ $e358cd3315986eb7$exports = {
188
+ "decrease": (args)=>`Samazin\u{101}\u{161}ana ${args.fieldLabel}`,
189
+ "increase": (args)=>`Palielin\u{101}\u{161}ana ${args.fieldLabel}`,
190
+ "numberField": `Skait\u{13C}u lauks`
191
+ };
79
192
 
80
193
 
194
+ var $a8d0ee8ec28363c7$exports = {};
195
+ $a8d0ee8ec28363c7$exports = {
196
+ "decrease": (args)=>`Reduser ${args.fieldLabel}`,
197
+ "increase": (args)=>`\xd8k ${args.fieldLabel}`,
198
+ "numberField": `Tallfelt`
199
+ };
81
200
 
82
201
 
202
+ var $0073957e0c754983$exports = {};
203
+ $0073957e0c754983$exports = {
204
+ "decrease": (args)=>`${args.fieldLabel} verlagen`,
205
+ "increase": (args)=>`${args.fieldLabel} verhogen`,
206
+ "numberField": `Getalveld`
207
+ };
83
208
 
84
209
 
210
+ var $51626cc4fccef54e$exports = {};
211
+ $51626cc4fccef54e$exports = {
212
+ "decrease": (args)=>`Zmniejsz ${args.fieldLabel}`,
213
+ "increase": (args)=>`Zwi\u{119}ksz ${args.fieldLabel}`,
214
+ "numberField": `Pole numeru`
215
+ };
85
216
 
86
217
 
218
+ var $60b1cee412b56d27$exports = {};
219
+ $60b1cee412b56d27$exports = {
220
+ "decrease": (args)=>`Diminuir ${args.fieldLabel}`,
221
+ "increase": (args)=>`Aumentar ${args.fieldLabel}`,
222
+ "numberField": `Campo de n\xfamero`
223
+ };
87
224
 
88
225
 
226
+ var $df9c7cc4e8072a0f$exports = {};
227
+ $df9c7cc4e8072a0f$exports = {
228
+ "decrease": (args)=>`Diminuir ${args.fieldLabel}`,
229
+ "increase": (args)=>`Aumentar ${args.fieldLabel}`,
230
+ "numberField": `Campo num\xe9rico`
231
+ };
89
232
 
90
233
 
234
+ var $aea54857f9df076d$exports = {};
235
+ $aea54857f9df076d$exports = {
236
+ "decrease": (args)=>`Sc\u{103}dere ${args.fieldLabel}`,
237
+ "increase": (args)=>`Cre\u{219}tere ${args.fieldLabel}`,
238
+ "numberField": `C\xe2mp numeric`
239
+ };
91
240
 
92
241
 
242
+ var $8337ebc47a7e61a3$exports = {};
243
+ $8337ebc47a7e61a3$exports = {
244
+ "decrease": (args)=>`\u{423}\u{43C}\u{435}\u{43D}\u{44C}\u{448}\u{435}\u{43D}\u{438}\u{435} ${args.fieldLabel}`,
245
+ "increase": (args)=>`\u{423}\u{432}\u{435}\u{43B}\u{438}\u{447}\u{435}\u{43D}\u{438}\u{435} ${args.fieldLabel}`,
246
+ "numberField": `\u{427}\u{438}\u{441}\u{43B}\u{43E}\u{432}\u{43E}\u{435} \u{43F}\u{43E}\u{43B}\u{435}`
247
+ };
93
248
 
94
249
 
250
+ var $4703837f8f4224f8$exports = {};
251
+ $4703837f8f4224f8$exports = {
252
+ "decrease": (args)=>`Zn\xed\u{17E}i\u{165} ${args.fieldLabel}`,
253
+ "increase": (args)=>`Zv\xfd\u{161}i\u{165} ${args.fieldLabel}`,
254
+ "numberField": `\u{10C}\xedseln\xe9 pole`
255
+ };
95
256
 
96
257
 
258
+ var $2b9c8b37ab5bbcca$exports = {};
259
+ $2b9c8b37ab5bbcca$exports = {
260
+ "decrease": (args)=>`Upadati ${args.fieldLabel}`,
261
+ "increase": (args)=>`Pove\u{10D}ajte ${args.fieldLabel}`,
262
+ "numberField": `\u{160}tevil\u{10D}no polje`
263
+ };
264
+
97
265
 
266
+ var $2c78665a3b81ed56$exports = {};
267
+ $2c78665a3b81ed56$exports = {
268
+ "decrease": (args)=>`Smanji ${args.fieldLabel}`,
269
+ "increase": (args)=>`Pove\u{107}aj ${args.fieldLabel}`,
270
+ "numberField": `Polje broja`
271
+ };
98
272
 
99
273
 
274
+ var $8da5dab2105c0d01$exports = {};
275
+ $8da5dab2105c0d01$exports = {
276
+ "decrease": (args)=>`Minska ${args.fieldLabel}`,
277
+ "increase": (args)=>`\xd6ka ${args.fieldLabel}`,
278
+ "numberField": `Nummerf\xe4lt`
279
+ };
100
280
 
101
281
 
282
+ var $73a2418cb50e8fda$exports = {};
283
+ $73a2418cb50e8fda$exports = {
284
+ "decrease": (args)=>`${args.fieldLabel} azalt`,
285
+ "increase": (args)=>`${args.fieldLabel} artt\u{131}r`,
286
+ "numberField": `Say\u{131} alan\u{131}`
287
+ };
102
288
 
103
289
 
290
+ var $9c85d1989bb8c41d$exports = {};
291
+ $9c85d1989bb8c41d$exports = {
292
+ "decrease": (args)=>`\u{417}\u{43C}\u{435}\u{43D}\u{448}\u{438}\u{442}\u{438} ${args.fieldLabel}`,
293
+ "increase": (args)=>`\u{417}\u{431}\u{456}\u{43B}\u{44C}\u{448}\u{438}\u{442}\u{438} ${args.fieldLabel}`,
294
+ "numberField": `\u{41F}\u{43E}\u{43B}\u{435} \u{43D}\u{43E}\u{43C}\u{435}\u{440}\u{430}`
295
+ };
104
296
 
105
297
 
298
+ var $a7db09d81aa41beb$exports = {};
299
+ $a7db09d81aa41beb$exports = {
300
+ "decrease": (args)=>`\u{964D}\u{4F4E} ${args.fieldLabel}`,
301
+ "increase": (args)=>`\u{63D0}\u{9AD8} ${args.fieldLabel}`,
302
+ "numberField": `\u{6570}\u{5B57}\u{5B57}\u{6BB5}`
303
+ };
106
304
 
107
305
 
306
+ var $edd6ee4675b7a1cd$exports = {};
307
+ $edd6ee4675b7a1cd$exports = {
308
+ "decrease": (args)=>`\u{7E2E}\u{5C0F} ${args.fieldLabel}`,
309
+ "increase": (args)=>`\u{653E}\u{5927} ${args.fieldLabel}`,
310
+ "numberField": `\u{6578}\u{5B57}\u{6B04}\u{4F4D}`
311
+ };
108
312
 
109
313
 
110
314
  $4932e21065cdc2cd$exports = {
@@ -151,7 +355,7 @@ $4932e21065cdc2cd$exports = {
151
355
 
152
356
 
153
357
  function $fa863e9b015ae839$export$23f548e970bdf099(props, state, inputRef) {
154
- let { id: id, decrementAriaLabel: decrementAriaLabel, incrementAriaLabel: incrementAriaLabel, isDisabled: isDisabled, isReadOnly: isReadOnly, isRequired: isRequired, minValue: minValue, maxValue: maxValue, autoFocus: autoFocus, label: label, formatOptions: formatOptions, onBlur: onBlur = ()=>{}, onFocus: onFocus, onFocusChange: onFocusChange, onKeyDown: onKeyDown, onKeyUp: onKeyUp, description: description, errorMessage: errorMessage, ...otherProps } = props;
358
+ let { id: id, decrementAriaLabel: decrementAriaLabel, incrementAriaLabel: incrementAriaLabel, isDisabled: isDisabled, isReadOnly: isReadOnly, isRequired: isRequired, minValue: minValue, maxValue: maxValue, autoFocus: autoFocus, label: label, formatOptions: formatOptions, onBlur: onBlur = ()=>{}, onFocus: onFocus, onFocusChange: onFocusChange, onKeyDown: onKeyDown, onKeyUp: onKeyUp, description: description, errorMessage: errorMessage, isWheelDisabled: isWheelDisabled, ...otherProps } = props;
155
359
  let { increment: increment, incrementToMax: incrementToMax, decrement: decrement, decrementToMin: decrementToMin, numberValue: numberValue, inputValue: inputValue, commit: commit, commitValidation: commitValidation } = state;
156
360
  const stringFormatter = (0, $2wEZH$reactariai18n.useLocalizedStringFormatter)((0, (/*@__PURE__*/$parcel$interopDefault($4932e21065cdc2cd$exports))), "@react-aria/numberfield");
157
361
  let inputId = (0, $2wEZH$reactariautils.useId)(id);
@@ -206,7 +410,7 @@ function $fa863e9b015ae839$export$23f548e970bdf099(props, state, inputRef) {
206
410
  increment
207
411
  ]);
208
412
  // If the input isn't supposed to receive input, disable scrolling.
209
- let scrollingDisabled = isDisabled || isReadOnly || !focusWithin;
413
+ let scrollingDisabled = isWheelDisabled || isDisabled || isReadOnly || !focusWithin;
210
414
  (0, $2wEZH$reactariainteractions.useScrollWheel)({
211
415
  onScroll: onWheel,
212
416
  isDisabled: scrollingDisabled
@@ -216,7 +420,7 @@ function $fa863e9b015ae839$export$23f548e970bdf099(props, state, inputRef) {
216
420
  // We choose between numeric and decimal based on whether we allow negative and fractional numbers,
217
421
  // and based on testing on various devices to determine what keys are available in each inputMode.
218
422
  let hasDecimals = intlOptions.maximumFractionDigits > 0;
219
- let hasNegative = isNaN(state.minValue) || state.minValue < 0;
423
+ let hasNegative = state.minValue === undefined || isNaN(state.minValue) || state.minValue < 0;
220
424
  let inputMode = "numeric";
221
425
  if ((0, $2wEZH$reactariautils.isIPhone)()) {
222
426
  // iPhone doesn't have a minus sign in either numeric or decimal.
@@ -258,8 +462,8 @@ function $fa863e9b015ae839$export$23f548e970bdf099(props, state, inputRef) {
258
462
  value: inputValue,
259
463
  defaultValue: undefined,
260
464
  autoComplete: "off",
261
- "aria-label": props["aria-label"] || null,
262
- "aria-labelledby": props["aria-labelledby"] || null,
465
+ "aria-label": props["aria-label"] || undefined,
466
+ "aria-labelledby": props["aria-labelledby"] || undefined,
263
467
  id: inputId,
264
468
  type: "text",
265
469
  inputMode: inputMode,
@@ -290,13 +494,14 @@ function $fa863e9b015ae839$export$23f548e970bdf099(props, state, inputRef) {
290
494
  });
291
495
  if (props.validationBehavior === "native") inputProps["aria-required"] = undefined;
292
496
  let onButtonPressStart = (e)=>{
497
+ var _inputRef_current;
293
498
  // If focus is already on the input, keep it there so we don't hide the
294
499
  // software keyboard when tapping the increment/decrement buttons.
295
500
  if (document.activeElement === inputRef.current) return;
296
501
  // Otherwise, when using a mouse, move focus to the input.
297
502
  // On touch, or with a screen reader, focus the button so that the software
298
503
  // keyboard does not appear and the screen reader cursor is not moved off the button.
299
- if (e.pointerType === "mouse") inputRef.current.focus();
504
+ if (e.pointerType === "mouse") (_inputRef_current = inputRef.current) === null || _inputRef_current === void 0 ? void 0 : _inputRef_current.focus();
300
505
  else e.target.focus();
301
506
  };
302
507
  // Determine the label for the increment and decrement buttons. There are 4 cases:
package/dist/main.js.map CHANGED
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;ACAA;;;;;;;;;;CAUC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACwBD,4BAAiB;IACf,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;IACT,SAAS;AACX;;;;;;;;ADZO,SAAS,0CAAe,KAA2B,EAAE,KAAuB,EAAE,QAAqC;IACxH,IAAI,MACF,EAAE,sBACF,kBAAkB,sBAClB,kBAAkB,cAClB,UAAU,cACV,UAAU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A;2BACA;IACF;AACF;;CDzTC","sources":["packages/@react-aria/numberfield/src/index.ts","packages/@react-aria/numberfield/src/useNumberField.ts","packages/@react-aria/numberfield/src/*.js"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nexport {useNumberField} from './useNumberField';\nexport type {AriaNumberFieldProps} from '@react-types/numberfield';\nexport type {NumberFieldAria} from './useNumberField';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaButtonProps} from '@react-types/button';\nimport {AriaNumberFieldProps} from '@react-types/numberfield';\nimport {chain, filterDOMProps, isAndroid, isIOS, isIPhone, mergeProps, useFormReset, useId} from '@react-aria/utils';\nimport {DOMAttributes, GroupDOMAttributes, TextInputDOMProps, ValidationResult} from '@react-types/shared';\nimport {\n InputHTMLAttributes,\n LabelHTMLAttributes,\n RefObject,\n useCallback,\n useMemo,\n useState\n} from 'react';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {NumberFieldState} from '@react-stately/numberfield';\nimport {privateValidationStateProp} from '@react-stately/form';\nimport {useFocus, useFocusWithin, useScrollWheel} from '@react-aria/interactions';\nimport {useFormattedTextField} from '@react-aria/textfield';\nimport {\n useLocalizedStringFormatter,\n useNumberFormatter\n} from '@react-aria/i18n';\nimport {useSpinButton} from '@react-aria/spinbutton';\n\nexport interface NumberFieldAria extends ValidationResult {\n /** Props for the label element. */\n labelProps: LabelHTMLAttributes<HTMLLabelElement>,\n /** Props for the group wrapper around the input and stepper buttons. */\n groupProps: GroupDOMAttributes,\n /** Props for the input element. */\n inputProps: InputHTMLAttributes<HTMLInputElement>,\n /** Props for the increment button, to be passed to [useButton](useButton.html). */\n incrementButtonProps: AriaButtonProps,\n /** Props for the decrement button, to be passed to [useButton](useButton.html). */\n decrementButtonProps: AriaButtonProps,\n /** Props for the number field's description element, if any. */\n descriptionProps: DOMAttributes,\n /** Props for the number field's error message element, if any. */\n errorMessageProps: DOMAttributes\n}\n\n/**\n * Provides the behavior and accessibility implementation for a number field component.\n * Number fields allow users to enter a number, and increment or decrement the value using stepper buttons.\n */\nexport function useNumberField(props: AriaNumberFieldProps, state: NumberFieldState, inputRef: RefObject<HTMLInputElement>): NumberFieldAria {\n let {\n id,\n decrementAriaLabel,\n incrementAriaLabel,\n isDisabled,\n isReadOnly,\n isRequired,\n minValue,\n maxValue,\n autoFocus,\n label,\n formatOptions,\n onBlur = () => {},\n onFocus,\n onFocusChange,\n onKeyDown,\n onKeyUp,\n description,\n errorMessage,\n ...otherProps\n } = props;\n\n let {\n increment,\n incrementToMax,\n decrement,\n decrementToMin,\n numberValue,\n inputValue,\n commit,\n commitValidation\n } = state;\n\n const stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-aria/numberfield');\n\n let inputId = useId(id);\n let {focusProps} = useFocus({\n onBlur() {\n // Set input value to normalized valid value\n commit();\n }\n });\n\n let numberFormatter = useNumberFormatter(formatOptions);\n let intlOptions = useMemo(() => numberFormatter.resolvedOptions(), [numberFormatter]);\n\n // Replace negative textValue formatted using currencySign: 'accounting'\n // with a textValue that can be announced using a minus sign.\n let textValueFormatter = useNumberFormatter({...formatOptions, currencySign: undefined});\n let textValue = useMemo(() => isNaN(numberValue) ? '' : textValueFormatter.format(numberValue), [textValueFormatter, numberValue]);\n\n let {\n spinButtonProps,\n incrementButtonProps: incButtonProps,\n decrementButtonProps: decButtonProps\n } = useSpinButton(\n {\n isDisabled,\n isReadOnly,\n isRequired,\n maxValue,\n minValue,\n onIncrement: increment,\n onIncrementToMax: incrementToMax,\n onDecrement: decrement,\n onDecrementToMin: decrementToMin,\n value: numberValue,\n textValue\n }\n );\n\n let [focusWithin, setFocusWithin] = useState(false);\n let {focusWithinProps} = useFocusWithin({isDisabled, onFocusWithinChange: setFocusWithin});\n\n let onWheel = useCallback((e) => {\n // if on a trackpad, users can scroll in both X and Y at once, check the magnitude of the change\n // if it's mostly in the X direction, then just return, the user probably doesn't mean to inc/dec\n // this isn't perfect, events come in fast with small deltas and a part of the scroll may give a false indication\n // especially if the user is scrolling near 45deg\n if (Math.abs(e.deltaY) <= Math.abs(e.deltaX)) {\n return;\n }\n if (e.deltaY > 0) {\n increment();\n } else if (e.deltaY < 0) {\n decrement();\n }\n }, [decrement, increment]);\n // If the input isn't supposed to receive input, disable scrolling.\n let scrollingDisabled = isDisabled || isReadOnly || !focusWithin;\n useScrollWheel({onScroll: onWheel, isDisabled: scrollingDisabled}, inputRef);\n\n // The inputMode attribute influences the software keyboard that is shown on touch devices.\n // Browsers and operating systems are quite inconsistent about what keys are available, however.\n // We choose between numeric and decimal based on whether we allow negative and fractional numbers,\n // and based on testing on various devices to determine what keys are available in each inputMode.\n let hasDecimals = intlOptions.maximumFractionDigits > 0;\n let hasNegative = isNaN(state.minValue) || state.minValue < 0;\n let inputMode: TextInputDOMProps['inputMode'] = 'numeric';\n if (isIPhone()) {\n // iPhone doesn't have a minus sign in either numeric or decimal.\n // Note this is only for iPhone, not iPad, which always has both\n // minus and decimal in numeric.\n if (hasNegative) {\n inputMode = 'text';\n } else if (hasDecimals) {\n inputMode = 'decimal';\n }\n } else if (isAndroid()) {\n // Android numeric has both a decimal point and minus key.\n // decimal does not have a minus key.\n if (hasNegative) {\n inputMode = 'numeric';\n } else if (hasDecimals) {\n inputMode = 'decimal';\n }\n }\n\n let onChange = value => {\n if (state.validate(value)) {\n state.setInputValue(value);\n }\n };\n\n let domProps = filterDOMProps(props);\n let onKeyDownEnter = useCallback((e) => {\n if (e.key === 'Enter') {\n commit();\n commitValidation();\n } else {\n e.continuePropagation();\n }\n }, [commit, commitValidation]);\n\n let {isInvalid, validationErrors, validationDetails} = state.displayValidation;\n let {labelProps, inputProps: textFieldProps, descriptionProps, errorMessageProps} = useFormattedTextField({\n ...otherProps,\n ...domProps,\n name: undefined,\n label,\n autoFocus,\n isDisabled,\n isReadOnly,\n isRequired,\n validate: undefined,\n [privateValidationStateProp]: state,\n value: inputValue,\n defaultValue: undefined, // defaultValue already used to populate state.inputValue, unneeded here\n autoComplete: 'off',\n 'aria-label': props['aria-label'] || null,\n 'aria-labelledby': props['aria-labelledby'] || null,\n id: inputId,\n type: 'text', // Can't use type=\"number\" because then we can't have things like $ in the field.\n inputMode,\n onChange,\n onBlur,\n onFocus,\n onFocusChange,\n onKeyDown: useMemo(() => chain(onKeyDownEnter, onKeyDown), [onKeyDownEnter, onKeyDown]),\n onKeyUp,\n description,\n errorMessage\n }, state, inputRef);\n\n useFormReset(inputRef, state.numberValue, state.setNumberValue);\n\n let inputProps = mergeProps(\n spinButtonProps,\n focusProps,\n textFieldProps,\n {\n // override the spinbutton role, we can't focus a spin button with VO\n role: null,\n // ignore aria-roledescription on iOS so that required state will announce when it is present\n 'aria-roledescription': (!isIOS() ? stringFormatter.format('numberField') : null),\n 'aria-valuemax': null,\n 'aria-valuemin': null,\n 'aria-valuenow': null,\n 'aria-valuetext': null,\n autoCorrect: 'off',\n spellCheck: 'false'\n }\n );\n\n if (props.validationBehavior === 'native') {\n inputProps['aria-required'] = undefined;\n }\n\n let onButtonPressStart = (e) => {\n // If focus is already on the input, keep it there so we don't hide the\n // software keyboard when tapping the increment/decrement buttons.\n if (document.activeElement === inputRef.current) {\n return;\n }\n\n // Otherwise, when using a mouse, move focus to the input.\n // On touch, or with a screen reader, focus the button so that the software\n // keyboard does not appear and the screen reader cursor is not moved off the button.\n if (e.pointerType === 'mouse') {\n inputRef.current.focus();\n } else {\n e.target.focus();\n }\n };\n\n // Determine the label for the increment and decrement buttons. There are 4 cases:\n //\n // 1. With a visible label that is a string: aria-label: `Increase ${props.label}`\n // 2. With a visible label that is JSX: aria-label: 'Increase', aria-labelledby: '${incrementId} ${labelId}'\n // 3. With an aria-label: aria-label: `Increase ${props['aria-label']}`\n // 4. With an aria-labelledby: aria-label: 'Increase', aria-labelledby: `${incrementId} ${props['aria-labelledby']}`\n //\n // (1) and (2) could possibly be combined and both use aria-labelledby. However, placing the label in\n // the aria-label string rather than using aria-labelledby gives more flexibility to translators to change\n // the order or add additional words around the label if needed.\n let fieldLabel = props['aria-label'] || (typeof props.label === 'string' ? props.label : '');\n let ariaLabelledby: string;\n if (!fieldLabel) {\n ariaLabelledby = props.label != null ? labelProps.id : props['aria-labelledby'];\n }\n\n let incrementId = useId();\n let decrementId = useId();\n\n let incrementButtonProps: AriaButtonProps = mergeProps(incButtonProps, {\n 'aria-label': incrementAriaLabel || stringFormatter.format('increase', {fieldLabel}).trim(),\n id: ariaLabelledby && !incrementAriaLabel ? incrementId : null,\n 'aria-labelledby': ariaLabelledby && !incrementAriaLabel ? `${incrementId} ${ariaLabelledby}` : null,\n 'aria-controls': inputId,\n excludeFromTabOrder: true,\n preventFocusOnPress: true,\n allowFocusWhenDisabled: true,\n isDisabled: !state.canIncrement,\n onPressStart: onButtonPressStart\n });\n\n let decrementButtonProps: AriaButtonProps = mergeProps(decButtonProps, {\n 'aria-label': decrementAriaLabel || stringFormatter.format('decrease', {fieldLabel}).trim(),\n id: ariaLabelledby && !decrementAriaLabel ? decrementId : null,\n 'aria-labelledby': ariaLabelledby && !decrementAriaLabel ? `${decrementId} ${ariaLabelledby}` : null,\n 'aria-controls': inputId,\n excludeFromTabOrder: true,\n preventFocusOnPress: true,\n allowFocusWhenDisabled: true,\n isDisabled: !state.canDecrement,\n onPressStart: onButtonPressStart\n });\n\n return {\n groupProps: {\n ...focusWithinProps,\n role: 'group',\n 'aria-disabled': isDisabled,\n 'aria-invalid': isInvalid ? 'true' : undefined\n },\n labelProps,\n inputProps,\n incrementButtonProps,\n decrementButtonProps,\n errorMessageProps,\n descriptionProps,\n isInvalid,\n validationErrors,\n validationDetails\n };\n}\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}"],"names":[],"version":3,"file":"main.js.map"}
1
+ {"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;ACAA;;;;;;;;;;CAUC;;;;AEVD,4BAAiB;IAAG,YAAY,CAAC,OAAS,CAAC,sBAAI,EAAE,KAAK,UAAU,CAAC,CAAC;IAChE,YAAY,CAAC,OAAS,CAAC,oCAAM,EAAE,KAAK,UAAU,CAAC,CAAC;IAChD,eAAe,CAAC,kDAAQ,CAAC;AAC3B;;;;ACHA,4BAAiB;IAAG,YAAY,CAAC,OAAS,CAAC,uEAAW,EAAE,KAAK,UAAU,CAAC,CAAC;IACvE,YAAY,CAAC,OAAS,CAAC,yDAAS,EAAE,KAAK,UAAU,CAAC,CAAC;IACnD,eAAe,CAAC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AAY,CAAC,MAAM,YAAY;QAC/B,cAAc;IAChB;IAEA,IAAI,uBAAwC,CAAA,GAAA,gCAAS,EAAE,gBAAgB;QACrE,cAAc,sBAAsB,gBAAgB,MAAM,CAAC,YAAY;wBAAC;QAAU,GAAG,IAAI;QACzF,IAAI,kBAAkB,CAAC,qBAAqB,cAAc;QAC1D,mBAAmB,kBAAkB,CAAC,qBAAqB,CAAC,EAAE,YAAY,CAAC,EAAE,eAAe,CAAC,GAAG;QAChG,iBAAiB;QACjB,qBAAqB;QACrB,qBAAqB;QACrB,wBAAwB;QACxB,YAAY,CAAC,MAAM,YAAY;QAC/B,cAAc;IAChB;IAEA,OAAO;QACL,YAAY;YACV,GAAG,gBAAgB;YACnB,MAAM;YACN,iBAAiB;YACjB,gBAAgB,YAAY,SAAS;QACvC;oBACA;oBACA;8BACA;8BACA;2BACA;0BACA;mBACA;0BACA;2BACA;IACF;AACF;;CD1TC","sources":["packages/@react-aria/numberfield/src/index.ts","packages/@react-aria/numberfield/src/useNumberField.ts","packages/@react-aria/numberfield/src/*.js","packages/@react-aria/numberfield/intl/ar-AE.json","packages/@react-aria/numberfield/intl/bg-BG.json","packages/@react-aria/numberfield/intl/cs-CZ.json","packages/@react-aria/numberfield/intl/da-DK.json","packages/@react-aria/numberfield/intl/de-DE.json","packages/@react-aria/numberfield/intl/el-GR.json","packages/@react-aria/numberfield/intl/en-US.json","packages/@react-aria/numberfield/intl/es-ES.json","packages/@react-aria/numberfield/intl/et-EE.json","packages/@react-aria/numberfield/intl/fi-FI.json","packages/@react-aria/numberfield/intl/fr-FR.json","packages/@react-aria/numberfield/intl/he-IL.json","packages/@react-aria/numberfield/intl/hr-HR.json","packages/@react-aria/numberfield/intl/hu-HU.json","packages/@react-aria/numberfield/intl/it-IT.json","packages/@react-aria/numberfield/intl/ja-JP.json","packages/@react-aria/numberfield/intl/ko-KR.json","packages/@react-aria/numberfield/intl/lt-LT.json","packages/@react-aria/numberfield/intl/lv-LV.json","packages/@react-aria/numberfield/intl/nb-NO.json","packages/@react-aria/numberfield/intl/nl-NL.json","packages/@react-aria/numberfield/intl/pl-PL.json","packages/@react-aria/numberfield/intl/pt-BR.json","packages/@react-aria/numberfield/intl/pt-PT.json","packages/@react-aria/numberfield/intl/ro-RO.json","packages/@react-aria/numberfield/intl/ru-RU.json","packages/@react-aria/numberfield/intl/sk-SK.json","packages/@react-aria/numberfield/intl/sl-SI.json","packages/@react-aria/numberfield/intl/sr-SP.json","packages/@react-aria/numberfield/intl/sv-SE.json","packages/@react-aria/numberfield/intl/tr-TR.json","packages/@react-aria/numberfield/intl/uk-UA.json","packages/@react-aria/numberfield/intl/zh-CN.json","packages/@react-aria/numberfield/intl/zh-TW.json"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\nexport {useNumberField} from './useNumberField';\nexport type {AriaNumberFieldProps} from '@react-types/numberfield';\nexport type {NumberFieldAria} from './useNumberField';\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaButtonProps} from '@react-types/button';\nimport {AriaNumberFieldProps} from '@react-types/numberfield';\nimport {chain, filterDOMProps, isAndroid, isIOS, isIPhone, mergeProps, useFormReset, useId} from '@react-aria/utils';\nimport {DOMAttributes, GroupDOMAttributes, TextInputDOMProps, ValidationResult} from '@react-types/shared';\nimport {\n InputHTMLAttributes,\n LabelHTMLAttributes,\n RefObject,\n useCallback,\n useMemo,\n useState\n} from 'react';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {NumberFieldState} from '@react-stately/numberfield';\nimport {privateValidationStateProp} from '@react-stately/form';\nimport {useFocus, useFocusWithin, useScrollWheel} from '@react-aria/interactions';\nimport {useFormattedTextField} from '@react-aria/textfield';\nimport {\n useLocalizedStringFormatter,\n useNumberFormatter\n} from '@react-aria/i18n';\nimport {useSpinButton} from '@react-aria/spinbutton';\n\nexport interface NumberFieldAria extends ValidationResult {\n /** Props for the label element. */\n labelProps: LabelHTMLAttributes<HTMLLabelElement>,\n /** Props for the group wrapper around the input and stepper buttons. */\n groupProps: GroupDOMAttributes,\n /** Props for the input element. */\n inputProps: InputHTMLAttributes<HTMLInputElement>,\n /** Props for the increment button, to be passed to [useButton](useButton.html). */\n incrementButtonProps: AriaButtonProps,\n /** Props for the decrement button, to be passed to [useButton](useButton.html). */\n decrementButtonProps: AriaButtonProps,\n /** Props for the number field's description element, if any. */\n descriptionProps: DOMAttributes,\n /** Props for the number field's error message element, if any. */\n errorMessageProps: DOMAttributes\n}\n\n/**\n * Provides the behavior and accessibility implementation for a number field component.\n * Number fields allow users to enter a number, and increment or decrement the value using stepper buttons.\n */\nexport function useNumberField(props: AriaNumberFieldProps, state: NumberFieldState, inputRef: RefObject<HTMLInputElement>): NumberFieldAria {\n let {\n id,\n decrementAriaLabel,\n incrementAriaLabel,\n isDisabled,\n isReadOnly,\n isRequired,\n minValue,\n maxValue,\n autoFocus,\n label,\n formatOptions,\n onBlur = () => {},\n onFocus,\n onFocusChange,\n onKeyDown,\n onKeyUp,\n description,\n errorMessage,\n isWheelDisabled,\n ...otherProps\n } = props;\n\n let {\n increment,\n incrementToMax,\n decrement,\n decrementToMin,\n numberValue,\n inputValue,\n commit,\n commitValidation\n } = state;\n\n const stringFormatter = useLocalizedStringFormatter(intlMessages, '@react-aria/numberfield');\n\n let inputId = useId(id);\n let {focusProps} = useFocus({\n onBlur() {\n // Set input value to normalized valid value\n commit();\n }\n });\n\n let numberFormatter = useNumberFormatter(formatOptions);\n let intlOptions = useMemo(() => numberFormatter.resolvedOptions(), [numberFormatter]);\n\n // Replace negative textValue formatted using currencySign: 'accounting'\n // with a textValue that can be announced using a minus sign.\n let textValueFormatter = useNumberFormatter({...formatOptions, currencySign: undefined});\n let textValue = useMemo(() => isNaN(numberValue) ? '' : textValueFormatter.format(numberValue), [textValueFormatter, numberValue]);\n\n let {\n spinButtonProps,\n incrementButtonProps: incButtonProps,\n decrementButtonProps: decButtonProps\n } = useSpinButton(\n {\n isDisabled,\n isReadOnly,\n isRequired,\n maxValue,\n minValue,\n onIncrement: increment,\n onIncrementToMax: incrementToMax,\n onDecrement: decrement,\n onDecrementToMin: decrementToMin,\n value: numberValue,\n textValue\n }\n );\n\n let [focusWithin, setFocusWithin] = useState(false);\n let {focusWithinProps} = useFocusWithin({isDisabled, onFocusWithinChange: setFocusWithin});\n\n let onWheel = useCallback((e) => {\n // if on a trackpad, users can scroll in both X and Y at once, check the magnitude of the change\n // if it's mostly in the X direction, then just return, the user probably doesn't mean to inc/dec\n // this isn't perfect, events come in fast with small deltas and a part of the scroll may give a false indication\n // especially if the user is scrolling near 45deg\n if (Math.abs(e.deltaY) <= Math.abs(e.deltaX)) {\n return;\n }\n if (e.deltaY > 0) {\n increment();\n } else if (e.deltaY < 0) {\n decrement();\n }\n }, [decrement, increment]);\n // If the input isn't supposed to receive input, disable scrolling.\n let scrollingDisabled = isWheelDisabled || isDisabled || isReadOnly || !focusWithin;\n useScrollWheel({onScroll: onWheel, isDisabled: scrollingDisabled}, inputRef);\n\n // The inputMode attribute influences the software keyboard that is shown on touch devices.\n // Browsers and operating systems are quite inconsistent about what keys are available, however.\n // We choose between numeric and decimal based on whether we allow negative and fractional numbers,\n // and based on testing on various devices to determine what keys are available in each inputMode.\n let hasDecimals = intlOptions.maximumFractionDigits > 0;\n let hasNegative = (state.minValue === undefined || isNaN(state.minValue)) || state.minValue < 0;\n let inputMode: TextInputDOMProps['inputMode'] = 'numeric';\n if (isIPhone()) {\n // iPhone doesn't have a minus sign in either numeric or decimal.\n // Note this is only for iPhone, not iPad, which always has both\n // minus and decimal in numeric.\n if (hasNegative) {\n inputMode = 'text';\n } else if (hasDecimals) {\n inputMode = 'decimal';\n }\n } else if (isAndroid()) {\n // Android numeric has both a decimal point and minus key.\n // decimal does not have a minus key.\n if (hasNegative) {\n inputMode = 'numeric';\n } else if (hasDecimals) {\n inputMode = 'decimal';\n }\n }\n\n let onChange = value => {\n if (state.validate(value)) {\n state.setInputValue(value);\n }\n };\n\n let domProps = filterDOMProps(props);\n let onKeyDownEnter = useCallback((e) => {\n if (e.key === 'Enter') {\n commit();\n commitValidation();\n } else {\n e.continuePropagation();\n }\n }, [commit, commitValidation]);\n\n let {isInvalid, validationErrors, validationDetails} = state.displayValidation;\n let {labelProps, inputProps: textFieldProps, descriptionProps, errorMessageProps} = useFormattedTextField({\n ...otherProps,\n ...domProps,\n name: undefined,\n label,\n autoFocus,\n isDisabled,\n isReadOnly,\n isRequired,\n validate: undefined,\n [privateValidationStateProp]: state,\n value: inputValue,\n defaultValue: undefined, // defaultValue already used to populate state.inputValue, unneeded here\n autoComplete: 'off',\n 'aria-label': props['aria-label'] || undefined,\n 'aria-labelledby': props['aria-labelledby'] || undefined,\n id: inputId,\n type: 'text', // Can't use type=\"number\" because then we can't have things like $ in the field.\n inputMode,\n onChange,\n onBlur,\n onFocus,\n onFocusChange,\n onKeyDown: useMemo(() => chain(onKeyDownEnter, onKeyDown), [onKeyDownEnter, onKeyDown]),\n onKeyUp,\n description,\n errorMessage\n }, state, inputRef);\n\n useFormReset(inputRef, state.numberValue, state.setNumberValue);\n\n let inputProps: InputHTMLAttributes<HTMLInputElement> = mergeProps(\n spinButtonProps,\n focusProps,\n textFieldProps,\n {\n // override the spinbutton role, we can't focus a spin button with VO\n role: null,\n // ignore aria-roledescription on iOS so that required state will announce when it is present\n 'aria-roledescription': (!isIOS() ? stringFormatter.format('numberField') : null),\n 'aria-valuemax': null,\n 'aria-valuemin': null,\n 'aria-valuenow': null,\n 'aria-valuetext': null,\n autoCorrect: 'off',\n spellCheck: 'false'\n }\n );\n\n if (props.validationBehavior === 'native') {\n inputProps['aria-required'] = undefined;\n }\n\n let onButtonPressStart = (e) => {\n // If focus is already on the input, keep it there so we don't hide the\n // software keyboard when tapping the increment/decrement buttons.\n if (document.activeElement === inputRef.current) {\n return;\n }\n\n // Otherwise, when using a mouse, move focus to the input.\n // On touch, or with a screen reader, focus the button so that the software\n // keyboard does not appear and the screen reader cursor is not moved off the button.\n if (e.pointerType === 'mouse') {\n inputRef.current?.focus();\n } else {\n e.target.focus();\n }\n };\n\n // Determine the label for the increment and decrement buttons. There are 4 cases:\n //\n // 1. With a visible label that is a string: aria-label: `Increase ${props.label}`\n // 2. With a visible label that is JSX: aria-label: 'Increase', aria-labelledby: '${incrementId} ${labelId}'\n // 3. With an aria-label: aria-label: `Increase ${props['aria-label']}`\n // 4. With an aria-labelledby: aria-label: 'Increase', aria-labelledby: `${incrementId} ${props['aria-labelledby']}`\n //\n // (1) and (2) could possibly be combined and both use aria-labelledby. However, placing the label in\n // the aria-label string rather than using aria-labelledby gives more flexibility to translators to change\n // the order or add additional words around the label if needed.\n let fieldLabel = props['aria-label'] || (typeof props.label === 'string' ? props.label : '');\n let ariaLabelledby: string | undefined;\n if (!fieldLabel) {\n ariaLabelledby = props.label != null ? labelProps.id : props['aria-labelledby'];\n }\n\n let incrementId = useId();\n let decrementId = useId();\n\n let incrementButtonProps: AriaButtonProps = mergeProps(incButtonProps, {\n 'aria-label': incrementAriaLabel || stringFormatter.format('increase', {fieldLabel}).trim(),\n id: ariaLabelledby && !incrementAriaLabel ? incrementId : null,\n 'aria-labelledby': ariaLabelledby && !incrementAriaLabel ? `${incrementId} ${ariaLabelledby}` : null,\n 'aria-controls': inputId,\n excludeFromTabOrder: true,\n preventFocusOnPress: true,\n allowFocusWhenDisabled: true,\n isDisabled: !state.canIncrement,\n onPressStart: onButtonPressStart\n });\n\n let decrementButtonProps: AriaButtonProps = mergeProps(decButtonProps, {\n 'aria-label': decrementAriaLabel || stringFormatter.format('decrease', {fieldLabel}).trim(),\n id: ariaLabelledby && !decrementAriaLabel ? decrementId : null,\n 'aria-labelledby': ariaLabelledby && !decrementAriaLabel ? `${decrementId} ${ariaLabelledby}` : null,\n 'aria-controls': inputId,\n excludeFromTabOrder: true,\n preventFocusOnPress: true,\n allowFocusWhenDisabled: true,\n isDisabled: !state.canDecrement,\n onPressStart: onButtonPressStart\n });\n\n return {\n groupProps: {\n ...focusWithinProps,\n role: 'group',\n 'aria-disabled': isDisabled,\n 'aria-invalid': isInvalid ? 'true' : undefined\n },\n labelProps,\n inputProps,\n incrementButtonProps,\n decrementButtonProps,\n errorMessageProps,\n descriptionProps,\n isInvalid,\n validationErrors,\n validationDetails\n };\n}\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"decrease\": \"خفض {fieldLabel}\",\n \"increase\": \"زيادة {fieldLabel}\",\n \"numberField\": \"حقل رقمي\"\n}\n","{\n \"decrease\": \"Намаляване {fieldLabel}\",\n \"increase\": \"Усилване {fieldLabel}\",\n \"numberField\": \"Номер на полето\"\n}\n","{\n \"decrease\": \"Snížit {fieldLabel}\",\n \"increase\": \"Zvýšit {fieldLabel}\",\n \"numberField\": \"Číselné pole\"\n}\n","{\n \"decrease\": \"Reducer {fieldLabel}\",\n \"increase\": \"Øg {fieldLabel}\",\n \"numberField\": \"Talfelt\"\n}\n","{\n \"decrease\": \"{fieldLabel} verringern\",\n \"increase\": \"{fieldLabel} erhöhen\",\n \"numberField\": \"Nummernfeld\"\n}\n","{\n \"decrease\": \"Μείωση {fieldLabel}\",\n \"increase\": \"Αύξηση {fieldLabel}\",\n \"numberField\": \"Πεδίο αριθμού\"\n}\n","{\n \"decrease\": \"Decrease {fieldLabel}\",\n \"increase\": \"Increase {fieldLabel}\",\n \"numberField\": \"Number field\"\n}\n","{\n \"decrease\": \"Reducir {fieldLabel}\",\n \"increase\": \"Aumentar {fieldLabel}\",\n \"numberField\": \"Campo de número\"\n}\n","{\n \"decrease\": \"Vähenda {fieldLabel}\",\n \"increase\": \"Suurenda {fieldLabel}\",\n \"numberField\": \"Numbri väli\"\n}\n","{\n \"decrease\": \"Vähennä {fieldLabel}\",\n \"increase\": \"Lisää {fieldLabel}\",\n \"numberField\": \"Numerokenttä\"\n}\n","{\n \"decrease\": \"Diminuer {fieldLabel}\",\n \"increase\": \"Augmenter {fieldLabel}\",\n \"numberField\": \"Champ de nombre\"\n}\n","{\n \"decrease\": \"הקטן {fieldLabel}\",\n \"increase\": \"הגדל {fieldLabel}\",\n \"numberField\": \"שדה מספר\"\n}\n","{\n \"decrease\": \"Smanji {fieldLabel}\",\n \"increase\": \"Povećaj {fieldLabel}\",\n \"numberField\": \"Polje broja\"\n}\n","{\n \"decrease\": \"{fieldLabel} csökkentése\",\n \"increase\": \"{fieldLabel} növelése\",\n \"numberField\": \"Számmező\"\n}\n","{\n \"decrease\": \"Riduci {fieldLabel}\",\n \"increase\": \"Aumenta {fieldLabel}\",\n \"numberField\": \"Campo numero\"\n}\n","{\n \"decrease\": \"{fieldLabel}を縮小\",\n \"increase\": \"{fieldLabel}を拡大\",\n \"numberField\": \"数値フィールド\"\n}\n","{\n \"decrease\": \"{fieldLabel} 감소\",\n \"increase\": \"{fieldLabel} 증가\",\n \"numberField\": \"번호 필드\"\n}\n","{\n \"decrease\": \"Sumažinti {fieldLabel}\",\n \"increase\": \"Padidinti {fieldLabel}\",\n \"numberField\": \"Numerio laukas\"\n}\n","{\n \"decrease\": \"Samazināšana {fieldLabel}\",\n \"increase\": \"Palielināšana {fieldLabel}\",\n \"numberField\": \"Skaitļu lauks\"\n}\n","{\n \"decrease\": \"Reduser {fieldLabel}\",\n \"increase\": \"Øk {fieldLabel}\",\n \"numberField\": \"Tallfelt\"\n}\n","{\n \"decrease\": \"{fieldLabel} verlagen\",\n \"increase\": \"{fieldLabel} verhogen\",\n \"numberField\": \"Getalveld\"\n}\n","{\n \"decrease\": \"Zmniejsz {fieldLabel}\",\n \"increase\": \"Zwiększ {fieldLabel}\",\n \"numberField\": \"Pole numeru\"\n}\n","{\n \"decrease\": \"Diminuir {fieldLabel}\",\n \"increase\": \"Aumentar {fieldLabel}\",\n \"numberField\": \"Campo de número\"\n}\n","{\n \"decrease\": \"Diminuir {fieldLabel}\",\n \"increase\": \"Aumentar {fieldLabel}\",\n \"numberField\": \"Campo numérico\"\n}\n","{\n \"decrease\": \"Scădere {fieldLabel}\",\n \"increase\": \"Creștere {fieldLabel}\",\n \"numberField\": \"Câmp numeric\"\n}\n","{\n \"decrease\": \"Уменьшение {fieldLabel}\",\n \"increase\": \"Увеличение {fieldLabel}\",\n \"numberField\": \"Числовое поле\"\n}\n","{\n \"decrease\": \"Znížiť {fieldLabel}\",\n \"increase\": \"Zvýšiť {fieldLabel}\",\n \"numberField\": \"Číselné pole\"\n}\n","{\n \"decrease\": \"Upadati {fieldLabel}\",\n \"increase\": \"Povečajte {fieldLabel}\",\n \"numberField\": \"Številčno polje\"\n}\n","{\n \"decrease\": \"Smanji {fieldLabel}\",\n \"increase\": \"Povećaj {fieldLabel}\",\n \"numberField\": \"Polje broja\"\n}\n","{\n \"decrease\": \"Minska {fieldLabel}\",\n \"increase\": \"Öka {fieldLabel}\",\n \"numberField\": \"Nummerfält\"\n}\n","{\n \"decrease\": \"{fieldLabel} azalt\",\n \"increase\": \"{fieldLabel} arttır\",\n \"numberField\": \"Sayı alanı\"\n}\n","{\n \"decrease\": \"Зменшити {fieldLabel}\",\n \"increase\": \"Збільшити {fieldLabel}\",\n \"numberField\": \"Поле номера\"\n}\n","{\n \"decrease\": \"降低 {fieldLabel}\",\n \"increase\": \"提高 {fieldLabel}\",\n \"numberField\": \"数字字段\"\n}\n","{\n \"decrease\": \"縮小 {fieldLabel}\",\n \"increase\": \"放大 {fieldLabel}\",\n \"numberField\": \"數字欄位\"\n}\n"],"names":[],"version":3,"file":"main.js.map"}