@react-aria/numberfield 3.1.3 → 3.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.js CHANGED
@@ -1,9 +1,9 @@
1
- import {useId as $1eWaC$useId, isIPhone as $1eWaC$isIPhone, isAndroid as $1eWaC$isAndroid, filterDOMProps as $1eWaC$filterDOMProps, mergeProps as $1eWaC$mergeProps, isIOS as $1eWaC$isIOS} from "@react-aria/utils";
2
- import {useState as $1eWaC$useState, useCallback as $1eWaC$useCallback, useMemo as $1eWaC$useMemo} from "react";
3
- import {useFocus as $1eWaC$useFocus, useFocusWithin as $1eWaC$useFocusWithin, useScrollWheel as $1eWaC$useScrollWheel} from "@react-aria/interactions";
4
- import {useFormattedTextField as $1eWaC$useFormattedTextField} from "@react-aria/textfield";
5
- import {useMessageFormatter as $1eWaC$useMessageFormatter, useNumberFormatter as $1eWaC$useNumberFormatter} from "@react-aria/i18n";
6
- import {useSpinButton as $1eWaC$useSpinButton} from "@react-aria/spinbutton";
1
+ import {useId as $gfhJl$useId, isIPhone as $gfhJl$isIPhone, isAndroid as $gfhJl$isAndroid, filterDOMProps as $gfhJl$filterDOMProps, mergeProps as $gfhJl$mergeProps, isIOS as $gfhJl$isIOS} from "@react-aria/utils";
2
+ import {useState as $gfhJl$useState, useCallback as $gfhJl$useCallback, useMemo as $gfhJl$useMemo} from "react";
3
+ import {useFocus as $gfhJl$useFocus, useFocusWithin as $gfhJl$useFocusWithin, useScrollWheel as $gfhJl$useScrollWheel} from "@react-aria/interactions";
4
+ import {useFormattedTextField as $gfhJl$useFormattedTextField} from "@react-aria/textfield";
5
+ import {useMessageFormatter as $gfhJl$useMessageFormatter, useNumberFormatter as $gfhJl$useNumberFormatter} from "@react-aria/i18n";
6
+ import {useSpinButton as $gfhJl$useSpinButton} from "@react-aria/spinbutton";
7
7
 
8
8
  function $parcel$interopDefault(a) {
9
9
  return a && a.__esModule ? a.default : a;
@@ -11,183 +11,183 @@ function $parcel$interopDefault(a) {
11
11
  function $parcel$export(e, n, v, s) {
12
12
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
13
13
  }
14
- var $cf0c3bd5e1672ec9$exports = {};
14
+ var $81397a9303501bda$exports = {};
15
15
 
16
- $parcel$export($cf0c3bd5e1672ec9$exports, "useNumberField", () => $cf0c3bd5e1672ec9$export$23f548e970bdf099);
16
+ $parcel$export($81397a9303501bda$exports, "useNumberField", () => $81397a9303501bda$export$23f548e970bdf099);
17
17
 
18
18
 
19
- var $2dbd11b99107b9a3$exports = {};
20
- var $6549386043ae9318$exports = {};
21
- $6549386043ae9318$exports = JSON.parse("{\"decrease\":\"خفض {fieldLabel}\",\"increase\":\"زيادة {fieldLabel}\",\"numberField\":\"حقل رقمي\"}");
19
+ var $c3ef0f8b54adbb57$exports = {};
20
+ var $fb78e0f6ab6349ed$exports = {};
21
+ $fb78e0f6ab6349ed$exports = JSON.parse("{\"decrease\":\"خفض {fieldLabel}\",\"increase\":\"زيادة {fieldLabel}\",\"numberField\":\"حقل رقمي\"}");
22
22
 
23
23
 
24
- var $e76bce23c5e8423e$exports = {};
25
- $e76bce23c5e8423e$exports = JSON.parse("{\"decrease\":\"Намаляване {fieldLabel}\",\"increase\":\"Усилване {fieldLabel}\",\"numberField\":\"Номер на полето\"}");
24
+ var $2776acdd9959a647$exports = {};
25
+ $2776acdd9959a647$exports = JSON.parse("{\"decrease\":\"Намаляване {fieldLabel}\",\"increase\":\"Усилване {fieldLabel}\",\"numberField\":\"Номер на полето\"}");
26
26
 
27
27
 
28
- var $6129a2a27a7967ba$exports = {};
29
- $6129a2a27a7967ba$exports = JSON.parse("{\"decrease\":\"Snížit {fieldLabel}\",\"increase\":\"Zvýšit {fieldLabel}\",\"numberField\":\"Číselné pole\"}");
28
+ var $741954410a365ad3$exports = {};
29
+ $741954410a365ad3$exports = JSON.parse("{\"decrease\":\"Snížit {fieldLabel}\",\"increase\":\"Zvýšit {fieldLabel}\",\"numberField\":\"Číselné pole\"}");
30
30
 
31
31
 
32
- var $52dac2657f2e7b91$exports = {};
33
- $52dac2657f2e7b91$exports = JSON.parse("{\"decrease\":\"Reducer {fieldLabel}\",\"increase\":\"Øg {fieldLabel}\",\"numberField\":\"Talfelt\"}");
32
+ var $8321ed0f8ab642f0$exports = {};
33
+ $8321ed0f8ab642f0$exports = JSON.parse("{\"decrease\":\"Reducer {fieldLabel}\",\"increase\":\"Øg {fieldLabel}\",\"numberField\":\"Talfelt\"}");
34
34
 
35
35
 
36
- var $2d5c0936198b9a1d$exports = {};
37
- $2d5c0936198b9a1d$exports = JSON.parse("{\"decrease\":\"{fieldLabel} verringern\",\"increase\":\"{fieldLabel} erhöhen\",\"numberField\":\"Nummernfeld\"}");
36
+ var $92978e0c4ecafa32$exports = {};
37
+ $92978e0c4ecafa32$exports = JSON.parse("{\"decrease\":\"{fieldLabel} verringern\",\"increase\":\"{fieldLabel} erhöhen\",\"numberField\":\"Nummernfeld\"}");
38
38
 
39
39
 
40
- var $037bbc3daaf1c938$exports = {};
41
- $037bbc3daaf1c938$exports = JSON.parse("{\"decrease\":\"Μείωση {fieldLabel}\",\"increase\":\"Αύξηση {fieldLabel}\",\"numberField\":\"Πεδίο αριθμού\"}");
40
+ var $ac5ff71962864a84$exports = {};
41
+ $ac5ff71962864a84$exports = JSON.parse("{\"decrease\":\"Μείωση {fieldLabel}\",\"increase\":\"Αύξηση {fieldLabel}\",\"numberField\":\"Πεδίο αριθμού\"}");
42
42
 
43
43
 
44
- var $6f0e76066d1c5161$exports = {};
45
- $6f0e76066d1c5161$exports = JSON.parse("{\"decrease\":\"Decrease {fieldLabel}\",\"increase\":\"Increase {fieldLabel}\",\"numberField\":\"Number field\"}");
44
+ var $efe4685e2440d8be$exports = {};
45
+ $efe4685e2440d8be$exports = JSON.parse("{\"decrease\":\"Decrease {fieldLabel}\",\"increase\":\"Increase {fieldLabel}\",\"numberField\":\"Number field\"}");
46
46
 
47
47
 
48
- var $ae410a5d2bee905f$exports = {};
49
- $ae410a5d2bee905f$exports = JSON.parse("{\"decrease\":\"Reducir {fieldLabel}\",\"increase\":\"Aumentar {fieldLabel}\",\"numberField\":\"Campo de número\"}");
48
+ var $e50a9a48739b90e1$exports = {};
49
+ $e50a9a48739b90e1$exports = JSON.parse("{\"decrease\":\"Reducir {fieldLabel}\",\"increase\":\"Aumentar {fieldLabel}\",\"numberField\":\"Campo de número\"}");
50
50
 
51
51
 
52
- var $ba7e088ac7327440$exports = {};
53
- $ba7e088ac7327440$exports = JSON.parse("{\"decrease\":\"Vähenda {fieldLabel}\",\"increase\":\"Suurenda {fieldLabel}\",\"numberField\":\"Numbri väli\"}");
52
+ var $6e0d5294ecbb8ab6$exports = {};
53
+ $6e0d5294ecbb8ab6$exports = JSON.parse("{\"decrease\":\"Vähenda {fieldLabel}\",\"increase\":\"Suurenda {fieldLabel}\",\"numberField\":\"Numbri väli\"}");
54
54
 
55
55
 
56
- var $16b3c05b733de903$exports = {};
57
- $16b3c05b733de903$exports = JSON.parse("{\"decrease\":\"Vähennä {fieldLabel}\",\"increase\":\"Lisää {fieldLabel}\",\"numberField\":\"Numerokenttä\"}");
56
+ var $e7129d65f607f77f$exports = {};
57
+ $e7129d65f607f77f$exports = JSON.parse("{\"decrease\":\"Vähennä {fieldLabel}\",\"increase\":\"Lisää {fieldLabel}\",\"numberField\":\"Numerokenttä\"}");
58
58
 
59
59
 
60
- var $e8b2524c965f690e$exports = {};
61
- $e8b2524c965f690e$exports = JSON.parse("{\"decrease\":\"Diminuer {fieldLabel}\",\"increase\":\"Augmenter {fieldLabel}\",\"numberField\":\"Champ de nombre\"}");
60
+ var $d72adf5b20573e34$exports = {};
61
+ $d72adf5b20573e34$exports = JSON.parse("{\"decrease\":\"Diminuer {fieldLabel}\",\"increase\":\"Augmenter {fieldLabel}\",\"numberField\":\"Champ de nombre\"}");
62
62
 
63
63
 
64
- var $a6493a4a0eba3e94$exports = {};
65
- $a6493a4a0eba3e94$exports = JSON.parse("{\"decrease\":\"הקטן {fieldLabel}\",\"increase\":\"הגדל {fieldLabel}\",\"numberField\":\"שדה מספר\"}");
64
+ var $a25c707e88b844a7$exports = {};
65
+ $a25c707e88b844a7$exports = JSON.parse("{\"decrease\":\"הקטן {fieldLabel}\",\"increase\":\"הגדל {fieldLabel}\",\"numberField\":\"שדה מספר\"}");
66
66
 
67
67
 
68
- var $fc83409ad17dbb8e$exports = {};
69
- $fc83409ad17dbb8e$exports = JSON.parse("{\"decrease\":\"Smanji {fieldLabel}\",\"increase\":\"Povećaj {fieldLabel}\",\"numberField\":\"Polje broja\"}");
68
+ var $69b41140b9a4ca54$exports = {};
69
+ $69b41140b9a4ca54$exports = JSON.parse("{\"decrease\":\"Smanji {fieldLabel}\",\"increase\":\"Povećaj {fieldLabel}\",\"numberField\":\"Polje broja\"}");
70
70
 
71
71
 
72
- var $7fbda66289952e59$exports = {};
73
- $7fbda66289952e59$exports = JSON.parse("{\"decrease\":\"{fieldLabel} csökkentése\",\"increase\":\"{fieldLabel} növelése\",\"numberField\":\"Számmező\"}");
72
+ var $81dab28f37f59d1a$exports = {};
73
+ $81dab28f37f59d1a$exports = JSON.parse("{\"decrease\":\"{fieldLabel} csökkentése\",\"increase\":\"{fieldLabel} növelése\",\"numberField\":\"Számmező\"}");
74
74
 
75
75
 
76
- var $0ca9c2faa64e1737$exports = {};
77
- $0ca9c2faa64e1737$exports = JSON.parse("{\"decrease\":\"Riduci {fieldLabel}\",\"increase\":\"Aumenta {fieldLabel}\",\"numberField\":\"Campo numero\"}");
76
+ var $866555b31f2d7711$exports = {};
77
+ $866555b31f2d7711$exports = JSON.parse("{\"decrease\":\"Riduci {fieldLabel}\",\"increase\":\"Aumenta {fieldLabel}\",\"numberField\":\"Campo numero\"}");
78
78
 
79
79
 
80
- var $40b39fb57e4e01eb$exports = {};
81
- $40b39fb57e4e01eb$exports = JSON.parse("{\"decrease\":\"{fieldLabel}を縮小\",\"increase\":\"{fieldLabel}を拡大\",\"numberField\":\"数値フィールド\"}");
80
+ var $dafcd55d52b9d371$exports = {};
81
+ $dafcd55d52b9d371$exports = JSON.parse("{\"decrease\":\"{fieldLabel}を縮小\",\"increase\":\"{fieldLabel}を拡大\",\"numberField\":\"数値フィールド\"}");
82
82
 
83
83
 
84
- var $eb43f79428829329$exports = {};
85
- $eb43f79428829329$exports = JSON.parse("{\"decrease\":\"{fieldLabel} 감소\",\"increase\":\"{fieldLabel} 증가\",\"numberField\":\"번호 필드\"}");
84
+ var $f090c1f8c5da0145$exports = {};
85
+ $f090c1f8c5da0145$exports = JSON.parse("{\"decrease\":\"{fieldLabel} 감소\",\"increase\":\"{fieldLabel} 증가\",\"numberField\":\"번호 필드\"}");
86
86
 
87
87
 
88
- var $8716579631e81e6b$exports = {};
89
- $8716579631e81e6b$exports = JSON.parse("{\"decrease\":\"Sumažinti {fieldLabel}\",\"increase\":\"Padidinti {fieldLabel}\",\"numberField\":\"Numerio laukas\"}");
88
+ var $6f10f3a13360a75c$exports = {};
89
+ $6f10f3a13360a75c$exports = JSON.parse("{\"decrease\":\"Sumažinti {fieldLabel}\",\"increase\":\"Padidinti {fieldLabel}\",\"numberField\":\"Numerio laukas\"}");
90
90
 
91
91
 
92
- var $fb4343b9e8e55d54$exports = {};
93
- $fb4343b9e8e55d54$exports = JSON.parse("{\"decrease\":\"Samazināšana {fieldLabel}\",\"increase\":\"Palielināšana {fieldLabel}\",\"numberField\":\"Skaitļu lauks\"}");
92
+ var $47432cefd4b7bd1b$exports = {};
93
+ $47432cefd4b7bd1b$exports = JSON.parse("{\"decrease\":\"Samazināšana {fieldLabel}\",\"increase\":\"Palielināšana {fieldLabel}\",\"numberField\":\"Skaitļu lauks\"}");
94
94
 
95
95
 
96
- var $e1efff358f8fa070$exports = {};
97
- $e1efff358f8fa070$exports = JSON.parse("{\"decrease\":\"Reduser {fieldLabel}\",\"increase\":\"Øk {fieldLabel}\",\"numberField\":\"Tallfelt\"}");
96
+ var $dc578a950a2bf23d$exports = {};
97
+ $dc578a950a2bf23d$exports = JSON.parse("{\"decrease\":\"Reduser {fieldLabel}\",\"increase\":\"Øk {fieldLabel}\",\"numberField\":\"Tallfelt\"}");
98
98
 
99
99
 
100
- var $78c91c3ffeb5bcda$exports = {};
101
- $78c91c3ffeb5bcda$exports = JSON.parse("{\"decrease\":\"{fieldLabel} verlagen\",\"increase\":\"{fieldLabel} verhogen\",\"numberField\":\"Getalveld\"}");
100
+ var $353f1bfca4dc395a$exports = {};
101
+ $353f1bfca4dc395a$exports = JSON.parse("{\"decrease\":\"{fieldLabel} verlagen\",\"increase\":\"{fieldLabel} verhogen\",\"numberField\":\"Getalveld\"}");
102
102
 
103
103
 
104
- var $847dfd0520968639$exports = {};
105
- $847dfd0520968639$exports = JSON.parse("{\"decrease\":\"Zmniejsz {fieldLabel}\",\"increase\":\"Zwiększ {fieldLabel}\",\"numberField\":\"Pole numeru\"}");
104
+ var $241bc0bbd870e982$exports = {};
105
+ $241bc0bbd870e982$exports = JSON.parse("{\"decrease\":\"Zmniejsz {fieldLabel}\",\"increase\":\"Zwiększ {fieldLabel}\",\"numberField\":\"Pole numeru\"}");
106
106
 
107
107
 
108
- var $f4204c08266aeca6$exports = {};
109
- $f4204c08266aeca6$exports = JSON.parse("{\"decrease\":\"Diminuir {fieldLabel}\",\"increase\":\"Aumentar {fieldLabel}\",\"numberField\":\"Campo de número\"}");
108
+ var $da3005c7bd72b0a8$exports = {};
109
+ $da3005c7bd72b0a8$exports = JSON.parse("{\"decrease\":\"Diminuir {fieldLabel}\",\"increase\":\"Aumentar {fieldLabel}\",\"numberField\":\"Campo de número\"}");
110
110
 
111
111
 
112
- var $d500387cf5000fdc$exports = {};
113
- $d500387cf5000fdc$exports = JSON.parse("{\"decrease\":\"Diminuir {fieldLabel}\",\"increase\":\"Aumentar {fieldLabel}\",\"numberField\":\"Campo numérico\"}");
112
+ var $cf48bfc540882310$exports = {};
113
+ $cf48bfc540882310$exports = JSON.parse("{\"decrease\":\"Diminuir {fieldLabel}\",\"increase\":\"Aumentar {fieldLabel}\",\"numberField\":\"Campo numérico\"}");
114
114
 
115
115
 
116
- var $ab2719432eedc1bf$exports = {};
117
- $ab2719432eedc1bf$exports = JSON.parse("{\"decrease\":\"Scădere {fieldLabel}\",\"increase\":\"Creștere {fieldLabel}\",\"numberField\":\"Câmp numeric\"}");
116
+ var $b63a28c481ab9ee3$exports = {};
117
+ $b63a28c481ab9ee3$exports = JSON.parse("{\"decrease\":\"Scădere {fieldLabel}\",\"increase\":\"Creștere {fieldLabel}\",\"numberField\":\"Câmp numeric\"}");
118
118
 
119
119
 
120
- var $4bf211274c587106$exports = {};
121
- $4bf211274c587106$exports = JSON.parse("{\"decrease\":\"Уменьшение {fieldLabel}\",\"increase\":\"Увеличение {fieldLabel}\",\"numberField\":\"Числовое поле\"}");
120
+ var $19f9df95c2464ab6$exports = {};
121
+ $19f9df95c2464ab6$exports = JSON.parse("{\"decrease\":\"Уменьшение {fieldLabel}\",\"increase\":\"Увеличение {fieldLabel}\",\"numberField\":\"Числовое поле\"}");
122
122
 
123
123
 
124
- var $5951afc4ac07f078$exports = {};
125
- $5951afc4ac07f078$exports = JSON.parse("{\"decrease\":\"Znížiť {fieldLabel}\",\"increase\":\"Zvýšiť {fieldLabel}\",\"numberField\":\"Číselné pole\"}");
124
+ var $b272932a685e8482$exports = {};
125
+ $b272932a685e8482$exports = JSON.parse("{\"decrease\":\"Znížiť {fieldLabel}\",\"increase\":\"Zvýšiť {fieldLabel}\",\"numberField\":\"Číselné pole\"}");
126
126
 
127
127
 
128
- var $1340581fca173f3e$exports = {};
129
- $1340581fca173f3e$exports = JSON.parse("{\"decrease\":\"Upadati {fieldLabel}\",\"increase\":\"Povečajte {fieldLabel}\",\"numberField\":\"Številčno polje\"}");
128
+ var $cbaf8b5b61f9e544$exports = {};
129
+ $cbaf8b5b61f9e544$exports = JSON.parse("{\"decrease\":\"Upadati {fieldLabel}\",\"increase\":\"Povečajte {fieldLabel}\",\"numberField\":\"Številčno polje\"}");
130
130
 
131
131
 
132
- var $2b759d676253b2c8$exports = {};
133
- $2b759d676253b2c8$exports = JSON.parse("{\"decrease\":\"Decrease {fieldLabel}\",\"increase\":\"Increase {fieldLabel}\",\"numberField\":\"Number field\"}");
132
+ var $e0a3af6ac1449b2f$exports = {};
133
+ $e0a3af6ac1449b2f$exports = JSON.parse("{\"decrease\":\"Decrease {fieldLabel}\",\"increase\":\"Increase {fieldLabel}\",\"numberField\":\"Number field\"}");
134
134
 
135
135
 
136
- var $b0c674a42fff90cb$exports = {};
137
- $b0c674a42fff90cb$exports = JSON.parse("{\"decrease\":\"Minska {fieldLabel}\",\"increase\":\"Öka {fieldLabel}\",\"numberField\":\"Nummerfält\"}");
136
+ var $71e167d2458a6019$exports = {};
137
+ $71e167d2458a6019$exports = JSON.parse("{\"decrease\":\"Minska {fieldLabel}\",\"increase\":\"Öka {fieldLabel}\",\"numberField\":\"Nummerfält\"}");
138
138
 
139
139
 
140
- var $76371f1c7f27bc91$exports = {};
141
- $76371f1c7f27bc91$exports = JSON.parse("{\"decrease\":\"{fieldLabel} azalt\",\"increase\":\"{fieldLabel} arttır\",\"numberField\":\"Sayı alanı\"}");
140
+ var $3719245abc082946$exports = {};
141
+ $3719245abc082946$exports = JSON.parse("{\"decrease\":\"{fieldLabel} azalt\",\"increase\":\"{fieldLabel} arttır\",\"numberField\":\"Sayı alanı\"}");
142
142
 
143
143
 
144
- var $361acbd473fb967c$exports = {};
145
- $361acbd473fb967c$exports = JSON.parse("{\"decrease\":\"Зменшити {fieldLabel}\",\"increase\":\"Збільшити {fieldLabel}\",\"numberField\":\"Поле номера\"}");
144
+ var $2ccc589e2f51824d$exports = {};
145
+ $2ccc589e2f51824d$exports = JSON.parse("{\"decrease\":\"Зменшити {fieldLabel}\",\"increase\":\"Збільшити {fieldLabel}\",\"numberField\":\"Поле номера\"}");
146
146
 
147
147
 
148
- var $208c820c7d7354a7$exports = {};
149
- $208c820c7d7354a7$exports = JSON.parse("{\"decrease\":\"降低 {fieldLabel}\",\"increase\":\"提高 {fieldLabel}\",\"numberField\":\"数字字段\"}");
148
+ var $e1103cb9b4c13942$exports = {};
149
+ $e1103cb9b4c13942$exports = JSON.parse("{\"decrease\":\"降低 {fieldLabel}\",\"increase\":\"提高 {fieldLabel}\",\"numberField\":\"数字字段\"}");
150
150
 
151
151
 
152
- var $e03c2cf780f9cea4$exports = {};
153
- $e03c2cf780f9cea4$exports = JSON.parse("{\"decrease\":\"縮小 {fieldLabel}\",\"increase\":\"放大 {fieldLabel}\",\"numberField\":\"數字欄位\"}");
152
+ var $448607634f80dccb$exports = {};
153
+ $448607634f80dccb$exports = JSON.parse("{\"decrease\":\"縮小 {fieldLabel}\",\"increase\":\"放大 {fieldLabel}\",\"numberField\":\"數字欄位\"}");
154
154
 
155
155
 
156
- $2dbd11b99107b9a3$exports = {
157
- "ar-AE": $6549386043ae9318$exports,
158
- "bg-BG": $e76bce23c5e8423e$exports,
159
- "cs-CZ": $6129a2a27a7967ba$exports,
160
- "da-DK": $52dac2657f2e7b91$exports,
161
- "de-DE": $2d5c0936198b9a1d$exports,
162
- "el-GR": $037bbc3daaf1c938$exports,
163
- "en-US": $6f0e76066d1c5161$exports,
164
- "es-ES": $ae410a5d2bee905f$exports,
165
- "et-EE": $ba7e088ac7327440$exports,
166
- "fi-FI": $16b3c05b733de903$exports,
167
- "fr-FR": $e8b2524c965f690e$exports,
168
- "he-IL": $a6493a4a0eba3e94$exports,
169
- "hr-HR": $fc83409ad17dbb8e$exports,
170
- "hu-HU": $7fbda66289952e59$exports,
171
- "it-IT": $0ca9c2faa64e1737$exports,
172
- "ja-JP": $40b39fb57e4e01eb$exports,
173
- "ko-KR": $eb43f79428829329$exports,
174
- "lt-LT": $8716579631e81e6b$exports,
175
- "lv-LV": $fb4343b9e8e55d54$exports,
176
- "nb-NO": $e1efff358f8fa070$exports,
177
- "nl-NL": $78c91c3ffeb5bcda$exports,
178
- "pl-PL": $847dfd0520968639$exports,
179
- "pt-BR": $f4204c08266aeca6$exports,
180
- "pt-PT": $d500387cf5000fdc$exports,
181
- "ro-RO": $ab2719432eedc1bf$exports,
182
- "ru-RU": $4bf211274c587106$exports,
183
- "sk-SK": $5951afc4ac07f078$exports,
184
- "sl-SI": $1340581fca173f3e$exports,
185
- "sr-SP": $2b759d676253b2c8$exports,
186
- "sv-SE": $b0c674a42fff90cb$exports,
187
- "tr-TR": $76371f1c7f27bc91$exports,
188
- "uk-UA": $361acbd473fb967c$exports,
189
- "zh-CN": $208c820c7d7354a7$exports,
190
- "zh-TW": $e03c2cf780f9cea4$exports
156
+ $c3ef0f8b54adbb57$exports = {
157
+ "ar-AE": $fb78e0f6ab6349ed$exports,
158
+ "bg-BG": $2776acdd9959a647$exports,
159
+ "cs-CZ": $741954410a365ad3$exports,
160
+ "da-DK": $8321ed0f8ab642f0$exports,
161
+ "de-DE": $92978e0c4ecafa32$exports,
162
+ "el-GR": $ac5ff71962864a84$exports,
163
+ "en-US": $efe4685e2440d8be$exports,
164
+ "es-ES": $e50a9a48739b90e1$exports,
165
+ "et-EE": $6e0d5294ecbb8ab6$exports,
166
+ "fi-FI": $e7129d65f607f77f$exports,
167
+ "fr-FR": $d72adf5b20573e34$exports,
168
+ "he-IL": $a25c707e88b844a7$exports,
169
+ "hr-HR": $69b41140b9a4ca54$exports,
170
+ "hu-HU": $81dab28f37f59d1a$exports,
171
+ "it-IT": $866555b31f2d7711$exports,
172
+ "ja-JP": $dafcd55d52b9d371$exports,
173
+ "ko-KR": $f090c1f8c5da0145$exports,
174
+ "lt-LT": $6f10f3a13360a75c$exports,
175
+ "lv-LV": $47432cefd4b7bd1b$exports,
176
+ "nb-NO": $dc578a950a2bf23d$exports,
177
+ "nl-NL": $353f1bfca4dc395a$exports,
178
+ "pl-PL": $241bc0bbd870e982$exports,
179
+ "pt-BR": $da3005c7bd72b0a8$exports,
180
+ "pt-PT": $cf48bfc540882310$exports,
181
+ "ro-RO": $b63a28c481ab9ee3$exports,
182
+ "ru-RU": $19f9df95c2464ab6$exports,
183
+ "sk-SK": $b272932a685e8482$exports,
184
+ "sl-SI": $cbaf8b5b61f9e544$exports,
185
+ "sr-SP": $e0a3af6ac1449b2f$exports,
186
+ "sv-SE": $71e167d2458a6019$exports,
187
+ "tr-TR": $3719245abc082946$exports,
188
+ "uk-UA": $2ccc589e2f51824d$exports,
189
+ "zh-CN": $e1103cb9b4c13942$exports,
190
+ "zh-TW": $448607634f80dccb$exports
191
191
  };
192
192
 
193
193
 
@@ -196,18 +196,18 @@ $2dbd11b99107b9a3$exports = {
196
196
 
197
197
 
198
198
 
199
- function $cf0c3bd5e1672ec9$export$23f548e970bdf099(props, state, inputRef) {
200
- let { id: id , decrementAriaLabel: decrementAriaLabel , incrementAriaLabel: incrementAriaLabel , isDisabled: isDisabled , isReadOnly: isReadOnly , isRequired: isRequired , minValue: minValue , maxValue: maxValue , autoFocus: autoFocus , validationState: validationState , label: label , formatOptions: formatOptions , onBlur: onBlur , onFocus: onFocus , onFocusChange: onFocusChange , onKeyDown: onKeyDown , onKeyUp: onKeyUp , description: description , errorMessage: errorMessage } = props;
199
+ function $81397a9303501bda$export$23f548e970bdf099(props, state, inputRef) {
200
+ let { id: id , decrementAriaLabel: decrementAriaLabel , incrementAriaLabel: incrementAriaLabel , isDisabled: isDisabled , isReadOnly: isReadOnly , isRequired: isRequired , minValue: minValue , maxValue: maxValue , autoFocus: autoFocus , validationState: validationState , label: label , formatOptions: formatOptions , onBlur: onBlur , onFocus: onFocus , onFocusChange: onFocusChange , onKeyDown: onKeyDown , onKeyUp: onKeyUp , description: description , errorMessage: errorMessage , ...otherProps } = props;
201
201
  let { increment: increment , incrementToMax: incrementToMax , decrement: decrement , decrementToMin: decrementToMin , numberValue: numberValue , commit: commit } = state;
202
- const formatMessage = $1eWaC$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($2dbd11b99107b9a3$exports)));
203
- let inputId = $1eWaC$useId(id);
204
- let { focusProps: focusProps } = $1eWaC$useFocus({
202
+ const formatMessage = $gfhJl$useMessageFormatter((/*@__PURE__*/$parcel$interopDefault($c3ef0f8b54adbb57$exports)));
203
+ let inputId = $gfhJl$useId(id);
204
+ let { focusProps: focusProps } = $gfhJl$useFocus({
205
205
  onBlur: ()=>{
206
206
  // Set input value to normalized valid value
207
207
  commit();
208
208
  }
209
209
  });
210
- let { spinButtonProps: spinButtonProps , incrementButtonProps: incButtonProps , decrementButtonProps: decButtonProps } = $1eWaC$useSpinButton({
210
+ let { spinButtonProps: spinButtonProps , incrementButtonProps: incButtonProps , decrementButtonProps: decButtonProps } = $gfhJl$useSpinButton({
211
211
  isDisabled: isDisabled,
212
212
  isReadOnly: isReadOnly,
213
213
  isRequired: isRequired,
@@ -220,12 +220,12 @@ function $cf0c3bd5e1672ec9$export$23f548e970bdf099(props, state, inputRef) {
220
220
  value: numberValue,
221
221
  textValue: state.inputValue
222
222
  });
223
- let [focusWithin, setFocusWithin] = $1eWaC$useState(false);
224
- let { focusWithinProps: focusWithinProps } = $1eWaC$useFocusWithin({
223
+ let [focusWithin, setFocusWithin] = $gfhJl$useState(false);
224
+ let { focusWithinProps: focusWithinProps } = $gfhJl$useFocusWithin({
225
225
  isDisabled: isDisabled,
226
226
  onFocusWithinChange: setFocusWithin
227
227
  });
228
- let onWheel = $1eWaC$useCallback((e)=>{
228
+ let onWheel = $gfhJl$useCallback((e)=>{
229
229
  // if on a trackpad, users can scroll in both X and Y at once, check the magnitude of the change
230
230
  // if it's mostly in the X direction, then just return, the user probably doesn't mean to inc/dec
231
231
  // this isn't perfect, events come in fast with small deltas and a part of the scroll may give a false indication
@@ -239,7 +239,7 @@ function $cf0c3bd5e1672ec9$export$23f548e970bdf099(props, state, inputRef) {
239
239
  ]);
240
240
  // If the input isn't supposed to receive input, disable scrolling.
241
241
  let scrollingDisabled = isDisabled || isReadOnly || !focusWithin;
242
- $1eWaC$useScrollWheel({
242
+ $gfhJl$useScrollWheel({
243
243
  onScroll: onWheel,
244
244
  isDisabled: scrollingDisabled
245
245
  }, inputRef);
@@ -247,21 +247,21 @@ function $cf0c3bd5e1672ec9$export$23f548e970bdf099(props, state, inputRef) {
247
247
  // Browsers and operating systems are quite inconsistent about what keys are available, however.
248
248
  // We choose between numeric and decimal based on whether we allow negative and fractional numbers,
249
249
  // and based on testing on various devices to determine what keys are available in each inputMode.
250
- let numberFormatter = $1eWaC$useNumberFormatter(formatOptions);
251
- let intlOptions = $1eWaC$useMemo(()=>numberFormatter.resolvedOptions()
250
+ let numberFormatter = $gfhJl$useNumberFormatter(formatOptions);
251
+ let intlOptions = $gfhJl$useMemo(()=>numberFormatter.resolvedOptions()
252
252
  , [
253
253
  numberFormatter
254
254
  ]);
255
255
  let hasDecimals = intlOptions.maximumFractionDigits > 0;
256
256
  let hasNegative = isNaN(state.minValue) || state.minValue < 0;
257
257
  let inputMode = 'numeric';
258
- if ($1eWaC$isIPhone()) {
258
+ if ($gfhJl$isIPhone()) {
259
259
  // iPhone doesn't have a minus sign in either numeric or decimal.
260
260
  // Note this is only for iPhone, not iPad, which always has both
261
261
  // minus and decimal in numeric.
262
262
  if (hasNegative) inputMode = 'text';
263
263
  else if (hasDecimals) inputMode = 'decimal';
264
- } else if ($1eWaC$isAndroid()) {
264
+ } else if ($gfhJl$isAndroid()) {
265
265
  // Android numeric has both a decimal point and minus key.
266
266
  // decimal does not have a minus key.
267
267
  if (hasNegative) inputMode = 'numeric';
@@ -270,8 +270,9 @@ function $cf0c3bd5e1672ec9$export$23f548e970bdf099(props, state, inputRef) {
270
270
  let onChange = (value)=>{
271
271
  state.setInputValue(value);
272
272
  };
273
- let domProps = $1eWaC$filterDOMProps(props);
274
- let { labelProps: labelProps , inputProps: textFieldProps , descriptionProps: descriptionProps , errorMessageProps: errorMessageProps } = $1eWaC$useFormattedTextField({
273
+ let domProps = $gfhJl$filterDOMProps(props);
274
+ let { labelProps: labelProps , inputProps: textFieldProps , descriptionProps: descriptionProps , errorMessageProps: errorMessageProps } = $gfhJl$useFormattedTextField({
275
+ ...otherProps,
275
276
  ...domProps,
276
277
  label: label,
277
278
  autoFocus: autoFocus,
@@ -280,6 +281,7 @@ function $cf0c3bd5e1672ec9$export$23f548e970bdf099(props, state, inputRef) {
280
281
  isRequired: isRequired,
281
282
  validationState: validationState,
282
283
  value: state.inputValue,
284
+ defaultValue: undefined,
283
285
  autoComplete: 'off',
284
286
  'aria-label': props['aria-label'] || null,
285
287
  'aria-labelledby': props['aria-labelledby'] || null,
@@ -295,11 +297,11 @@ function $cf0c3bd5e1672ec9$export$23f548e970bdf099(props, state, inputRef) {
295
297
  description: description,
296
298
  errorMessage: errorMessage
297
299
  }, state, inputRef);
298
- let inputProps = $1eWaC$mergeProps(spinButtonProps, textFieldProps, focusProps, {
300
+ let inputProps = $gfhJl$mergeProps(spinButtonProps, textFieldProps, focusProps, {
299
301
  // override the spinbutton role, we can't focus a spin button with VO
300
302
  role: null,
301
303
  // ignore aria-roledescription on iOS so that required state will announce when it is present
302
- 'aria-roledescription': !$1eWaC$isIOS() ? formatMessage('numberField') : null,
304
+ 'aria-roledescription': !$gfhJl$isIOS() ? formatMessage('numberField') : null,
303
305
  'aria-valuemax': null,
304
306
  'aria-valuemin': null,
305
307
  'aria-valuenow': null,
@@ -330,9 +332,9 @@ function $cf0c3bd5e1672ec9$export$23f548e970bdf099(props, state, inputRef) {
330
332
  let fieldLabel = props['aria-label'] || (typeof props.label === 'string' ? props.label : '');
331
333
  let ariaLabelledby;
332
334
  if (!fieldLabel) ariaLabelledby = props.label != null ? labelProps.id : props['aria-labelledby'];
333
- let incrementId = $1eWaC$useId();
334
- let decrementId = $1eWaC$useId();
335
- let incrementButtonProps = $1eWaC$mergeProps(incButtonProps, {
335
+ let incrementId = $gfhJl$useId();
336
+ let decrementId = $gfhJl$useId();
337
+ let incrementButtonProps = $gfhJl$mergeProps(incButtonProps, {
336
338
  'aria-label': incrementAriaLabel || formatMessage('increase', {
337
339
  fieldLabel: fieldLabel
338
340
  }).trim(),
@@ -345,7 +347,7 @@ function $cf0c3bd5e1672ec9$export$23f548e970bdf099(props, state, inputRef) {
345
347
  isDisabled: !state.canIncrement,
346
348
  onPressStart: onButtonPressStart
347
349
  });
348
- let decrementButtonProps = $1eWaC$mergeProps(decButtonProps, {
350
+ let decrementButtonProps = $gfhJl$mergeProps(decButtonProps, {
349
351
  'aria-label': decrementAriaLabel || formatMessage('decrease', {
350
352
  fieldLabel: fieldLabel
351
353
  }).trim(),
@@ -377,5 +379,5 @@ function $cf0c3bd5e1672ec9$export$23f548e970bdf099(props, state, inputRef) {
377
379
 
378
380
 
379
381
 
380
- export {$cf0c3bd5e1672ec9$export$23f548e970bdf099 as useNumberField};
382
+ export {$81397a9303501bda$export$23f548e970bdf099 as useNumberField};
381
383
  //# sourceMappingURL=module.js.map
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;;;;AGAA,yBAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAAsG;;;;ACAlI,yBAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAAuH;;;;ACAnJ,yBAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAA8G;;;;ACA1I,yBAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAAsG;;;;ACAlI,yBAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAAkH;;;;ACA9I,yBAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAA+G;;;;ACA3I,yBAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAAkH;;;;ACA9I,yBAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAAoH;;;;ACAhJ,yBAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAAgH;;;;ACA5I,yBAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAA8G;;;;ACA1I,yBAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAAsH;;;;ACAlJ,yBAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAAsG;;;;ACAlI,yBAAc,GAAG,IAAI,CAAC,KAAK,CAAC,CAA8G;;;;ACA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mB,EAAE,IAAI;QACzB,sBAAsB,EAAE,IAAI;QAC5B,UAAU,GAAG,KAAK,CAAC,YAAY;QAC/B,YAAY,EAAE,kBAAkB;IAClC,CAAC;IAED,GAAG,CAAC,oBAAoB,GAAoB,iBAAU,CAAC,cAAc,EAAE,CAAC;QACtE,CAAY,aAAE,kBAAkB,IAAI,aAAa,CAAC,CAAU,WAAE,CAAC;wBAAA,UAAU;QAAA,CAAC,EAAE,IAAI;QAChF,EAAE,EAAE,cAAc,KAAK,kBAAkB,GAAG,WAAW,GAAG,IAAI;QAC9D,CAAiB,kBAAE,cAAc,KAAK,kBAAkB,MAAM,WAAW,CAAC,CAAC,EAAE,cAAc,KAAK,IAAI;QACpG,CAAe,gBAAE,OAAO;QACxB,mBAAmB,EAAE,IAAI;QACzB,mBAAmB,EAAE,IAAI;QACzB,sBAAsB,EAAE,IAAI;QAC5B,UAAU,GAAG,KAAK,CAAC,YAAY;QAC/B,YAAY,EAAE,kBAAkB;IAClC,CAAC;IAED,MAAM,CAAC,CAAC;QACN,UAAU,EAAE,CAAC;YACX,IAAI,EAAE,CAAO;YACb,CAAe,gBAAE,UAAU;YAC3B,CAAc,eAAE,eAAe,KAAK,CAAS,WAAG,CAAM,QAAG,SAAS;eAC/D,gBAAgB;QACrB,CAAC;oBACD,UAAU;oBACV,UAAU;8BACV,oBAAoB;8BACpB,oBAAoB;2BACpB,iBAAiB;0BACjB,gBAAgB;IAClB,CAAC;AACH,CAAC","sources":["packages/@react-aria/numberfield/src/index.ts","packages/@react-aria/numberfield/src/useNumberField.ts","packages/@react-aria/numberfield/intl/*.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 */\n\n/// <reference types=\"intl-types-extension\" />\n\nexport * 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 {filterDOMProps, isAndroid, isIOS, isIPhone, mergeProps, useId} from '@react-aria/utils';\nimport {\n HTMLAttributes,\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 {TextInputDOMProps} from '@react-types/shared';\nimport {useFocus, useFocusWithin} from '@react-aria/interactions';\nimport {useFormattedTextField} from '@react-aria/textfield';\nimport {\n useMessageFormatter,\n useNumberFormatter\n} from '@react-aria/i18n';\nimport {useScrollWheel} from '@react-aria/interactions';\nimport {useSpinButton} from '@react-aria/spinbutton';\n\ninterface NumberFieldAria {\n /** Props for the label element. */\n labelProps: LabelHTMLAttributes<HTMLLabelElement>,\n /** Props for the group wrapper around the input and stepper buttons. */\n groupProps: HTMLAttributes<HTMLElement>,\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: HTMLAttributes<HTMLElement>,\n /** Props for the number field's error message element, if any. */\n errorMessageProps: HTMLAttributes<HTMLElement>\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 validationState,\n label,\n formatOptions,\n onBlur,\n onFocus,\n onFocusChange,\n onKeyDown,\n onKeyUp,\n description,\n errorMessage\n } = props;\n\n let {\n increment,\n incrementToMax,\n decrement,\n decrementToMin,\n numberValue,\n commit\n } = state;\n\n const formatMessage = useMessageFormatter(intlMessages);\n\n let inputId = useId(id);\n\n let {focusProps} = useFocus({\n onBlur: () => {\n // Set input value to normalized valid value\n commit();\n }\n });\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: state.inputValue\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 numberFormatter = useNumberFormatter(formatOptions);\n let intlOptions = useMemo(() => numberFormatter.resolvedOptions(), [numberFormatter]);\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 state.setInputValue(value);\n };\n\n let domProps = filterDOMProps(props);\n\n let {labelProps, inputProps: textFieldProps, descriptionProps, errorMessageProps} = useFormattedTextField({\n ...domProps,\n label,\n autoFocus,\n isDisabled,\n isReadOnly,\n isRequired,\n validationState,\n value: state.inputValue,\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,\n onKeyUp,\n description,\n errorMessage\n }, state, inputRef);\n\n let inputProps = mergeProps(\n spinButtonProps,\n textFieldProps,\n focusProps,\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() ? formatMessage('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 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 || formatMessage('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 || formatMessage('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 role: 'group',\n 'aria-disabled': isDisabled,\n 'aria-invalid': validationState === 'invalid' ? 'true' : undefined,\n ...focusWithinProps\n },\n labelProps,\n inputProps,\n incrementButtonProps,\n decrementButtonProps,\n errorMessageProps,\n descriptionProps\n };\n}\n","const _temp0 = require(\"./ar-AE.json\");\nconst _temp1 = require(\"./bg-BG.json\");\nconst _temp2 = require(\"./cs-CZ.json\");\nconst _temp3 = require(\"./da-DK.json\");\nconst _temp4 = require(\"./de-DE.json\");\nconst _temp5 = require(\"./el-GR.json\");\nconst _temp6 = require(\"./en-US.json\");\nconst _temp7 = require(\"./es-ES.json\");\nconst _temp8 = require(\"./et-EE.json\");\nconst _temp9 = require(\"./fi-FI.json\");\nconst _temp10 = require(\"./fr-FR.json\");\nconst _temp11 = require(\"./he-IL.json\");\nconst _temp12 = require(\"./hr-HR.json\");\nconst _temp13 = require(\"./hu-HU.json\");\nconst _temp14 = require(\"./it-IT.json\");\nconst _temp15 = require(\"./ja-JP.json\");\nconst _temp16 = require(\"./ko-KR.json\");\nconst _temp17 = require(\"./lt-LT.json\");\nconst _temp18 = require(\"./lv-LV.json\");\nconst _temp19 = require(\"./nb-NO.json\");\nconst _temp20 = require(\"./nl-NL.json\");\nconst _temp21 = require(\"./pl-PL.json\");\nconst _temp22 = require(\"./pt-BR.json\");\nconst _temp23 = require(\"./pt-PT.json\");\nconst _temp24 = require(\"./ro-RO.json\");\nconst _temp25 = require(\"./ru-RU.json\");\nconst _temp26 = require(\"./sk-SK.json\");\nconst _temp27 = require(\"./sl-SI.json\");\nconst _temp28 = require(\"./sr-SP.json\");\nconst _temp29 = require(\"./sv-SE.json\");\nconst _temp30 = require(\"./tr-TR.json\");\nconst _temp31 = require(\"./uk-UA.json\");\nconst _temp32 = require(\"./zh-CN.json\");\nconst _temp33 = require(\"./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\": \"Decrease {fieldLabel}\",\n \"increase\": \"Increase {fieldLabel}\",\n \"numberField\": \"Number field\"\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\": \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BAAkB,MAAM,WAAW,CAAC,CAAC,EAAE,cAAc,KAAK,IAAI;QACpG,CAAe,gBAAE,OAAO;QACxB,mBAAmB,EAAE,IAAI;QACzB,mBAAmB,EAAE,IAAI;QACzB,sBAAsB,EAAE,IAAI;QAC5B,UAAU,GAAG,KAAK,CAAC,YAAY;QAC/B,YAAY,EAAE,kBAAkB;IAClC,CAAC;IAED,MAAM,CAAC,CAAC;QACN,UAAU,EAAE,CAAC;YACX,IAAI,EAAE,CAAO;YACb,CAAe,gBAAE,UAAU;YAC3B,CAAc,eAAE,eAAe,KAAK,CAAS,WAAG,CAAM,QAAG,SAAS;eAC/D,gBAAgB;QACrB,CAAC;oBACD,UAAU;oBACV,UAAU;8BACV,oBAAoB;8BACpB,oBAAoB;2BACpB,iBAAiB;0BACjB,gBAAgB;IAClB,CAAC;AACH,CAAC","sources":["packages/@react-aria/numberfield/src/index.ts","packages/@react-aria/numberfield/src/useNumberField.ts","packages/@react-aria/numberfield/intl/*.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 */\n\nexport * 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 {filterDOMProps, isAndroid, isIOS, isIPhone, mergeProps, useId} from '@react-aria/utils';\nimport {\n HTMLAttributes,\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 {TextInputDOMProps} from '@react-types/shared';\nimport {useFocus, useFocusWithin} from '@react-aria/interactions';\nimport {useFormattedTextField} from '@react-aria/textfield';\nimport {\n useMessageFormatter,\n useNumberFormatter\n} from '@react-aria/i18n';\nimport {useScrollWheel} from '@react-aria/interactions';\nimport {useSpinButton} from '@react-aria/spinbutton';\n\ninterface NumberFieldAria {\n /** Props for the label element. */\n labelProps: LabelHTMLAttributes<HTMLLabelElement>,\n /** Props for the group wrapper around the input and stepper buttons. */\n groupProps: HTMLAttributes<HTMLElement>,\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: HTMLAttributes<HTMLElement>,\n /** Props for the number field's error message element, if any. */\n errorMessageProps: HTMLAttributes<HTMLElement>\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 validationState,\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 commit\n } = state;\n\n const formatMessage = useMessageFormatter(intlMessages);\n\n let inputId = useId(id);\n\n let {focusProps} = useFocus({\n onBlur: () => {\n // Set input value to normalized valid value\n commit();\n }\n });\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: state.inputValue\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 numberFormatter = useNumberFormatter(formatOptions);\n let intlOptions = useMemo(() => numberFormatter.resolvedOptions(), [numberFormatter]);\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 state.setInputValue(value);\n };\n\n let domProps = filterDOMProps(props);\n\n let {labelProps, inputProps: textFieldProps, descriptionProps, errorMessageProps} = useFormattedTextField({\n ...otherProps,\n ...domProps,\n label,\n autoFocus,\n isDisabled,\n isReadOnly,\n isRequired,\n validationState,\n value: state.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,\n onKeyUp,\n description,\n errorMessage\n }, state, inputRef);\n\n let inputProps = mergeProps(\n spinButtonProps,\n textFieldProps,\n focusProps,\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() ? formatMessage('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 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 || formatMessage('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 || formatMessage('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 role: 'group',\n 'aria-disabled': isDisabled,\n 'aria-invalid': validationState === 'invalid' ? 'true' : undefined,\n ...focusWithinProps\n },\n labelProps,\n inputProps,\n incrementButtonProps,\n decrementButtonProps,\n errorMessageProps,\n descriptionProps\n };\n}\n","const _temp0 = require(\"./ar-AE.json\");\nconst _temp1 = require(\"./bg-BG.json\");\nconst _temp2 = require(\"./cs-CZ.json\");\nconst _temp3 = require(\"./da-DK.json\");\nconst _temp4 = require(\"./de-DE.json\");\nconst _temp5 = require(\"./el-GR.json\");\nconst _temp6 = require(\"./en-US.json\");\nconst _temp7 = require(\"./es-ES.json\");\nconst _temp8 = require(\"./et-EE.json\");\nconst _temp9 = require(\"./fi-FI.json\");\nconst _temp10 = require(\"./fr-FR.json\");\nconst _temp11 = require(\"./he-IL.json\");\nconst _temp12 = require(\"./hr-HR.json\");\nconst _temp13 = require(\"./hu-HU.json\");\nconst _temp14 = require(\"./it-IT.json\");\nconst _temp15 = require(\"./ja-JP.json\");\nconst _temp16 = require(\"./ko-KR.json\");\nconst _temp17 = require(\"./lt-LT.json\");\nconst _temp18 = require(\"./lv-LV.json\");\nconst _temp19 = require(\"./nb-NO.json\");\nconst _temp20 = require(\"./nl-NL.json\");\nconst _temp21 = require(\"./pl-PL.json\");\nconst _temp22 = require(\"./pt-BR.json\");\nconst _temp23 = require(\"./pt-PT.json\");\nconst _temp24 = require(\"./ro-RO.json\");\nconst _temp25 = require(\"./ru-RU.json\");\nconst _temp26 = require(\"./sk-SK.json\");\nconst _temp27 = require(\"./sl-SI.json\");\nconst _temp28 = require(\"./sr-SP.json\");\nconst _temp29 = require(\"./sv-SE.json\");\nconst _temp30 = require(\"./tr-TR.json\");\nconst _temp31 = require(\"./uk-UA.json\");\nconst _temp32 = require(\"./zh-CN.json\");\nconst _temp33 = require(\"./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\": \"Decrease {fieldLabel}\",\n \"increase\": \"Increase {fieldLabel}\",\n \"numberField\": \"Number field\"\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":"module.js.map"}