@iress-oss/ids-mcp-server 6.0.0-alpha.1-canary-20251204032753-fe18cab → 6.0.0-alpha.1-canary-20251204040305-3639454
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/generated/docs/components_components-alert-docs.md +1054 -0
- package/generated/docs/components_components-autocomplete-docs.md +3304 -0
- package/generated/docs/components_components-autocomplete-recipes-docs.md +98 -0
- package/generated/docs/components_components-badge-docs.md +312 -0
- package/generated/docs/components_components-button-docs.md +2339 -0
- package/generated/docs/components_components-buttongroup-docs.md +980 -0
- package/generated/docs/components_components-card-docs.md +1970 -0
- package/generated/docs/components_components-checkbox-docs.md +1083 -0
- package/generated/docs/components_components-checkboxgroup-docs.md +1597 -0
- package/generated/docs/components_components-checkboxgroup-recipes-docs.md +209 -0
- package/generated/docs/components_components-col-docs.md +755 -0
- package/generated/docs/components_components-container-docs.md +172 -0
- package/generated/docs/components_components-divider-docs.md +235 -0
- package/generated/docs/components_components-expander-docs.md +428 -0
- package/generated/docs/components_components-field-docs.md +3345 -0
- package/generated/docs/components_components-filter-docs.md +4091 -0
- package/generated/docs/components_components-hide-docs.md +450 -0
- package/generated/docs/components_components-icon-docs.md +1017 -0
- package/generated/docs/components_components-image-docs.md +168 -0
- package/generated/docs/components_components-inline-docs.md +1962 -0
- package/generated/docs/components_components-input-docs.md +1388 -0
- package/generated/docs/components_components-input-recipes-docs.md +349 -0
- package/generated/docs/components_components-inputcurrency-docs.md +636 -0
- package/generated/docs/components_components-inputcurrency-recipes-docs.md +208 -0
- package/generated/docs/components_components-introduction-docs.md +448 -0
- package/generated/docs/components_components-label-docs.md +229 -0
- package/generated/docs/components_components-link-docs.md +454 -0
- package/generated/docs/components_components-menu-docs.md +2219 -0
- package/generated/docs/components_components-menu-menuitem-docs.md +1455 -0
- package/generated/docs/components_components-modal-docs.md +2002 -0
- package/generated/docs/components_components-panel-docs.md +342 -0
- package/generated/docs/components_components-placeholder-docs.md +98 -0
- package/generated/docs/components_components-popover-docs.md +1631 -0
- package/generated/docs/components_components-popover-recipes-docs.md +537 -0
- package/generated/docs/components_components-progress-docs.md +128 -0
- package/generated/docs/components_components-provider-docs.md +123 -0
- package/generated/docs/components_components-radio-docs.md +499 -0
- package/generated/docs/components_components-radiogroup-docs.md +1573 -0
- package/generated/docs/components_components-readonly-docs.md +277 -0
- package/generated/docs/components_components-richselect-docs.md +6101 -0
- package/generated/docs/components_components-row-docs.md +2172 -0
- package/generated/docs/components_components-select-docs.md +1110 -0
- package/generated/docs/components_components-skeleton-docs.md +467 -0
- package/generated/docs/components_components-skeleton-recipes-docs.md +110 -0
- package/generated/docs/components_components-skiplink-docs.md +220 -0
- package/generated/docs/components_components-slideout-docs.md +1910 -0
- package/generated/docs/components_components-slider-docs.md +1284 -0
- package/generated/docs/components_components-spinner-docs.md +90 -0
- package/generated/docs/components_components-stack-docs.md +730 -0
- package/generated/docs/components_components-table-docs.md +4038 -0
- package/generated/docs/components_components-tabset-docs.md +955 -0
- package/generated/docs/components_components-tabset-tab-docs.md +342 -0
- package/generated/docs/components_components-tag-docs.md +410 -0
- package/generated/docs/components_components-text-docs.md +593 -0
- package/generated/docs/components_components-toaster-docs.md +451 -0
- package/generated/docs/components_components-toggle-docs.md +513 -0
- package/generated/docs/components_components-tooltip-docs.md +564 -0
- package/generated/docs/components_components-validationmessage-docs.md +608 -0
- package/generated/docs/components_contact-us-docs.md +9 -0
- package/generated/docs/components_foundations-accessibility-docs.md +33 -0
- package/generated/docs/components_foundations-consistency-docs.md +44 -0
- package/generated/docs/components_foundations-content-docs.md +18 -0
- package/generated/docs/components_foundations-introduction-docs.md +17 -0
- package/generated/docs/components_foundations-principles-docs.md +60 -0
- package/generated/docs/components_foundations-responsive-layout-docs.md +2692 -0
- package/generated/docs/components_foundations-user-experience-docs.md +53 -0
- package/generated/docs/components_foundations-visual-design-docs.md +39 -0
- package/generated/docs/components_foundations-z-index-stacking-docs.md +288 -0
- package/generated/docs/components_frequently-asked-questions-docs.md +44 -0
- package/generated/docs/components_get-started-develop-docs.md +47 -0
- package/generated/docs/components_get-started-using-storybook-docs.md +55 -0
- package/generated/docs/components_introduction-docs.md +85 -0
- package/generated/docs/components_patterns-form-docs.md +2469 -0
- package/generated/docs/components_patterns-form-recipes-docs.md +1597 -0
- package/generated/docs/components_patterns-introduction-docs.md +31 -0
- package/generated/docs/components_patterns-loading-docs.md +1908 -0
- package/generated/docs/components_patterns-shadow-docs.md +195 -0
- package/generated/docs/components_resources-code-katas-docs.md +25 -0
- package/generated/docs/components_resources-introduction-docs.md +28 -0
- package/generated/docs/components_resources-mcp-server-docs.md +23 -0
- package/generated/docs/components_resources-migration-guides-from-v4-to-v5-docs.md +142 -0
- package/generated/docs/components_styling-props-colour-docs.md +91 -0
- package/generated/docs/components_styling-props-elevation-docs.md +69 -0
- package/generated/docs/components_styling-props-radius-docs.md +63 -0
- package/generated/docs/components_styling-props-reference-docs.md +160 -0
- package/generated/docs/components_styling-props-screen-readers-docs.md +66 -0
- package/generated/docs/components_styling-props-sizing-docs.md +217 -0
- package/generated/docs/components_styling-props-spacing-docs.md +545 -0
- package/generated/docs/components_styling-props-typography-docs.md +66 -0
- package/generated/docs/components_versions-docs.md +14 -0
- package/generated/docs/guidelines.md +3083 -0
- package/generated/docs/introduction-docs.md +37 -0
- package/generated/docs/tokens_colour-docs.md +479 -0
- package/generated/docs/tokens_elevation-docs.md +39 -0
- package/generated/docs/tokens_introduction-docs.md +150 -0
- package/generated/docs/tokens_radius-docs.md +67 -0
- package/generated/docs/tokens_spacing-docs.md +87 -0
- package/generated/docs/tokens_typography-docs.md +305 -0
- package/package.json +2 -2
|
@@ -0,0 +1,636 @@
|
|
|
1
|
+
InputCurrency
|
|
2
|
+
=============
|
|
3
|
+
|
|
4
|
+
Overview
|
|
5
|
+
--------
|
|
6
|
+
|
|
7
|
+
InputCurrency allows a user to input and interact with currency number. It works just like `IressInput`, with new props `locale` and `currencyCode`. This component meets [ISO-4217](https://en.wikipedia.org/wiki/ISO_4217) standard
|
|
8
|
+
|
|
9
|
+
* * *
|
|
10
|
+
|
|
11
|
+
Updated
|
|
12
|
+
|
|
13
|
+
**Recently updated**
|
|
14
|
+
|
|
15
|
+
This component has been recently updated with new props. The props have been marked as beta. Please tell us if there are any issues.
|
|
16
|
+
|
|
17
|
+
[](./iframe.html?id=components-inputcurrency--input-currency)
|
|
18
|
+
|
|
19
|
+
AUD
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
<IressInputCurrency
|
|
24
|
+
currencyCode\="AUD"
|
|
25
|
+
defaultValue\={12345.678}
|
|
26
|
+
locale\="en-AU"
|
|
27
|
+
placeholder\="Enter amount and dispay currency currency separator on blur"
|
|
28
|
+
/>
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Props
|
|
33
|
+
-----
|
|
34
|
+
|
|
35
|
+
| Name | Description | Default | Control |
|
|
36
|
+
| --- | --- | --- | --- |
|
|
37
|
+
| alignRight |
|
|
38
|
+
Set input content align to right.
|
|
39
|
+
|
|
40
|
+
boolean
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
| \- | Set boolean |
|
|
45
|
+
| currencyCode |
|
|
46
|
+
|
|
47
|
+
Set the currency symbol and appended currency code, default is `AUD`.
|
|
48
|
+
|
|
49
|
+
string
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
| \- | AUD |
|
|
54
|
+
| defaultValue |
|
|
55
|
+
|
|
56
|
+
number
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
| \- | |
|
|
61
|
+
| formatOptions |
|
|
62
|
+
|
|
63
|
+
Pass additional number format options.
|
|
64
|
+
|
|
65
|
+
Omit
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
| \- | Set object |
|
|
70
|
+
| locale |
|
|
71
|
+
|
|
72
|
+
Set the region of the currency, default is `en-AU`.
|
|
73
|
+
|
|
74
|
+
Intl.LocalesArgument
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
| \- |
|
|
79
|
+
|
|
80
|
+
"en-AU"
|
|
81
|
+
|
|
82
|
+
|
|
|
83
|
+
| placeholder |
|
|
84
|
+
|
|
85
|
+
string
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
| \- | Enter amount and dispay currency currency separator on blur |
|
|
90
|
+
| withSymbol |
|
|
91
|
+
|
|
92
|
+
Set the currency symbol.
|
|
93
|
+
|
|
94
|
+
boolean
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
| \- | Set boolean |
|
|
99
|
+
|
|
100
|
+
Examples
|
|
101
|
+
--------
|
|
102
|
+
|
|
103
|
+
### Different Locale and CurrencyCode
|
|
104
|
+
|
|
105
|
+
Display the GBP with `locale="en-GB"` and `currencyCode="GBP"` props (must pass both together)
|
|
106
|
+
|
|
107
|
+
[](./iframe.html?id=components-inputcurrency--gbp)
|
|
108
|
+
|
|
109
|
+
GBP
|
|
110
|
+
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
<IressInputCurrency
|
|
114
|
+
currencyCode\="GBP"
|
|
115
|
+
defaultValue\={12345.678}
|
|
116
|
+
locale\="en-GB"
|
|
117
|
+
placeholder\="Enter amount and dispay currency currency separator on blur"
|
|
118
|
+
/>
|
|
119
|
+
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
#### Props
|
|
123
|
+
|
|
124
|
+
| Name | Description | Default | Control |
|
|
125
|
+
| --- | --- | --- | --- |
|
|
126
|
+
| alignRight |
|
|
127
|
+
Set input content align to right.
|
|
128
|
+
|
|
129
|
+
boolean
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
| \- | Set boolean |
|
|
134
|
+
| currencyCode |
|
|
135
|
+
|
|
136
|
+
Set the currency symbol and appended currency code, default is `AUD`.
|
|
137
|
+
|
|
138
|
+
string
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
| \- | GBP |
|
|
143
|
+
| defaultValue |
|
|
144
|
+
|
|
145
|
+
number
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
| \- | |
|
|
150
|
+
| formatOptions |
|
|
151
|
+
|
|
152
|
+
Pass additional number format options.
|
|
153
|
+
|
|
154
|
+
Omit
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
| \- | Set object |
|
|
159
|
+
| locale |
|
|
160
|
+
|
|
161
|
+
Set the region of the currency, default is `en-AU`.
|
|
162
|
+
|
|
163
|
+
Intl.LocalesArgument
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
| \- |
|
|
168
|
+
|
|
169
|
+
"en-GB"
|
|
170
|
+
|
|
171
|
+
|
|
|
172
|
+
| placeholder |
|
|
173
|
+
|
|
174
|
+
string
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
| \- | Enter amount and dispay currency currency separator on blur |
|
|
179
|
+
| withSymbol |
|
|
180
|
+
|
|
181
|
+
Set the currency symbol.
|
|
182
|
+
|
|
183
|
+
boolean
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
| \- | Set boolean |
|
|
188
|
+
|
|
189
|
+
Display the JPY with `locale="ja-JPY"` and `currencyCode="JPY"` props (must pass both together)
|
|
190
|
+
|
|
191
|
+
[](./iframe.html?id=components-inputcurrency--jpy)
|
|
192
|
+
|
|
193
|
+
JPY
|
|
194
|
+
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
<IressInputCurrency
|
|
198
|
+
currencyCode\="JPY"
|
|
199
|
+
defaultValue\={12345678}
|
|
200
|
+
locale\="ja-JP"
|
|
201
|
+
placeholder\="Enter amount and dispay currency currency separator on blur"
|
|
202
|
+
/>
|
|
203
|
+
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
#### Props
|
|
207
|
+
|
|
208
|
+
| Name | Description | Default | Control |
|
|
209
|
+
| --- | --- | --- | --- |
|
|
210
|
+
| alignRight |
|
|
211
|
+
Set input content align to right.
|
|
212
|
+
|
|
213
|
+
boolean
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
| \- | Set boolean |
|
|
218
|
+
| currencyCode |
|
|
219
|
+
|
|
220
|
+
Set the currency symbol and appended currency code, default is `AUD`.
|
|
221
|
+
|
|
222
|
+
string
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
| \- | JPY |
|
|
227
|
+
| defaultValue |
|
|
228
|
+
|
|
229
|
+
number
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
| \- | |
|
|
234
|
+
| formatOptions |
|
|
235
|
+
|
|
236
|
+
Pass additional number format options.
|
|
237
|
+
|
|
238
|
+
Omit
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
| \- | Set object |
|
|
243
|
+
| locale |
|
|
244
|
+
|
|
245
|
+
Set the region of the currency, default is `en-AU`.
|
|
246
|
+
|
|
247
|
+
Intl.LocalesArgument
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
| \- |
|
|
252
|
+
|
|
253
|
+
"ja-JP"
|
|
254
|
+
|
|
255
|
+
|
|
|
256
|
+
| placeholder |
|
|
257
|
+
|
|
258
|
+
string
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
| \- | Enter amount and dispay currency currency separator on blur |
|
|
263
|
+
| withSymbol |
|
|
264
|
+
|
|
265
|
+
Set the currency symbol.
|
|
266
|
+
|
|
267
|
+
boolean
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
| \- | Set boolean |
|
|
272
|
+
|
|
273
|
+
### With Symbol
|
|
274
|
+
|
|
275
|
+
Display the currency symbol with `withSymbol` props
|
|
276
|
+
|
|
277
|
+
[](./iframe.html?id=components-inputcurrency--with-symbol)
|
|
278
|
+
|
|
279
|
+
AUD
|
|
280
|
+
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
<IressInputCurrency
|
|
284
|
+
currencyCode\="AUD"
|
|
285
|
+
defaultValue\={12345.678}
|
|
286
|
+
locale\="en-AU"
|
|
287
|
+
placeholder\="Enter amount and dispay currency symbol on blur"
|
|
288
|
+
withSymbol
|
|
289
|
+
/>
|
|
290
|
+
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
#### Props
|
|
294
|
+
|
|
295
|
+
| Name | Description | Default | Control |
|
|
296
|
+
| --- | --- | --- | --- |
|
|
297
|
+
| alignRight |
|
|
298
|
+
Set input content align to right.
|
|
299
|
+
|
|
300
|
+
boolean
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
| \- | Set boolean |
|
|
305
|
+
| currencyCode |
|
|
306
|
+
|
|
307
|
+
Set the currency symbol and appended currency code, default is `AUD`.
|
|
308
|
+
|
|
309
|
+
string
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
| \- | AUD |
|
|
314
|
+
| defaultValue |
|
|
315
|
+
|
|
316
|
+
number
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
| \- | |
|
|
321
|
+
| formatOptions |
|
|
322
|
+
|
|
323
|
+
Pass additional number format options.
|
|
324
|
+
|
|
325
|
+
Omit
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
| \- | Set object |
|
|
330
|
+
| locale |
|
|
331
|
+
|
|
332
|
+
Set the region of the currency, default is `en-AU`.
|
|
333
|
+
|
|
334
|
+
Intl.LocalesArgument
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
| \- |
|
|
339
|
+
|
|
340
|
+
"en-AU"
|
|
341
|
+
|
|
342
|
+
|
|
|
343
|
+
| placeholder |
|
|
344
|
+
|
|
345
|
+
string
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
| \- | Enter amount and dispay currency symbol on blur |
|
|
350
|
+
| withSymbol |
|
|
351
|
+
|
|
352
|
+
Set the currency symbol.
|
|
353
|
+
|
|
354
|
+
boolean
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
| \- | FalseTrue |
|
|
359
|
+
|
|
360
|
+
### More Format Options
|
|
361
|
+
|
|
362
|
+
Pass more format options with `formatOptions` props. More format options in [here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat)
|
|
363
|
+
|
|
364
|
+
[](./iframe.html?id=components-inputcurrency--format-options)
|
|
365
|
+
|
|
366
|
+
AUD
|
|
367
|
+
|
|
368
|
+
```
|
|
369
|
+
|
|
370
|
+
<IressInputCurrency
|
|
371
|
+
currencyCode\="AUD"
|
|
372
|
+
defaultValue\={12345.678}
|
|
373
|
+
formatOptions\={{
|
|
374
|
+
maximumFractionDigits: 4,
|
|
375
|
+
minimumFractionDigits: 2
|
|
376
|
+
}}
|
|
377
|
+
locale\="en-AU"
|
|
378
|
+
placeholder\="Pass and play around with other native Intl.NumberFormat options to the code sandbox"
|
|
379
|
+
/>
|
|
380
|
+
|
|
381
|
+
```
|
|
382
|
+
|
|
383
|
+
#### Props
|
|
384
|
+
|
|
385
|
+
| Name | Description | Default | Control |
|
|
386
|
+
| --- | --- | --- | --- |
|
|
387
|
+
| alignRight |
|
|
388
|
+
Set input content align to right.
|
|
389
|
+
|
|
390
|
+
boolean
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
| \- | Set boolean |
|
|
395
|
+
| currencyCode |
|
|
396
|
+
|
|
397
|
+
Set the currency symbol and appended currency code, default is `AUD`.
|
|
398
|
+
|
|
399
|
+
string
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
| \- | AUD |
|
|
404
|
+
| defaultValue |
|
|
405
|
+
|
|
406
|
+
number
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
| \- | |
|
|
411
|
+
| formatOptions |
|
|
412
|
+
|
|
413
|
+
Pass additional number format options.
|
|
414
|
+
|
|
415
|
+
Omit
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
| \- |
|
|
420
|
+
|
|
421
|
+
RAW
|
|
422
|
+
|
|
423
|
+
formatOptions :
|
|
424
|
+
|
|
425
|
+
{
|
|
426
|
+
|
|
427
|
+
* minimumFractionDigits : 2
|
|
428
|
+
* maximumFractionDigits : 4
|
|
429
|
+
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
|
|
|
439
|
+
| locale |
|
|
440
|
+
|
|
441
|
+
Set the region of the currency, default is `en-AU`.
|
|
442
|
+
|
|
443
|
+
Intl.LocalesArgument
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
| \- |
|
|
448
|
+
|
|
449
|
+
"en-AU"
|
|
450
|
+
|
|
451
|
+
|
|
|
452
|
+
| placeholder |
|
|
453
|
+
|
|
454
|
+
string
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
| \- | Pass and play around with other native Intl.NumberFormat options to the code sandbox |
|
|
459
|
+
| withSymbol |
|
|
460
|
+
|
|
461
|
+
Set the currency symbol.
|
|
462
|
+
|
|
463
|
+
boolean
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
| \- | Set boolean |
|
|
468
|
+
|
|
469
|
+
### Read Only
|
|
470
|
+
|
|
471
|
+
The `readOnly` prop can be set to prevent the user from changing the value of the input. This will change the input to a custom read-only style and the user will not be able to interact with the input. If you want to make the number align to right, please pass `alignRight` together.
|
|
472
|
+
|
|
473
|
+
[](./iframe.html?id=components-inputcurrency--read-only)
|
|
474
|
+
|
|
475
|
+
$12,345.68
|
|
476
|
+
|
|
477
|
+
AUD
|
|
478
|
+
|
|
479
|
+
```
|
|
480
|
+
|
|
481
|
+
<IressInputCurrency
|
|
482
|
+
alignRight
|
|
483
|
+
currencyCode\="AUD"
|
|
484
|
+
defaultValue\={12345.678}
|
|
485
|
+
locale\="en-AU"
|
|
486
|
+
readOnly
|
|
487
|
+
withSymbol
|
|
488
|
+
/>
|
|
489
|
+
|
|
490
|
+
```
|
|
491
|
+
|
|
492
|
+
#### Props
|
|
493
|
+
|
|
494
|
+
| Name | Description | Default | Control |
|
|
495
|
+
| --- | --- | --- | --- |
|
|
496
|
+
| alignRight |
|
|
497
|
+
Set input content align to right.
|
|
498
|
+
|
|
499
|
+
boolean
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
| \- | FalseTrue |
|
|
504
|
+
| currencyCode |
|
|
505
|
+
|
|
506
|
+
Set the currency symbol and appended currency code, default is `AUD`.
|
|
507
|
+
|
|
508
|
+
string
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
| \- | AUD |
|
|
513
|
+
| defaultValue |
|
|
514
|
+
|
|
515
|
+
number
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
| \- | |
|
|
520
|
+
| formatOptions |
|
|
521
|
+
|
|
522
|
+
Pass additional number format options.
|
|
523
|
+
|
|
524
|
+
Omit
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
| \- | Set object |
|
|
529
|
+
| locale |
|
|
530
|
+
|
|
531
|
+
Set the region of the currency, default is `en-AU`.
|
|
532
|
+
|
|
533
|
+
Intl.LocalesArgument
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
| \- |
|
|
538
|
+
|
|
539
|
+
"en-AU"
|
|
540
|
+
|
|
541
|
+
|
|
|
542
|
+
| readOnly |
|
|
543
|
+
|
|
544
|
+
boolean
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
| \- | FalseTrue |
|
|
549
|
+
| withSymbol |
|
|
550
|
+
|
|
551
|
+
Set the currency symbol.
|
|
552
|
+
|
|
553
|
+
boolean
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
| \- | FalseTrue |
|
|
558
|
+
|
|
559
|
+
### Align Right
|
|
560
|
+
|
|
561
|
+
Set the input content align to right with `alignRight` prop, which is more friendly for number input.
|
|
562
|
+
|
|
563
|
+
[](./iframe.html?id=components-inputcurrency--align-right)
|
|
564
|
+
|
|
565
|
+
AUD
|
|
566
|
+
|
|
567
|
+
```
|
|
568
|
+
|
|
569
|
+
<IressInputCurrency
|
|
570
|
+
alignRight
|
|
571
|
+
currencyCode\="AUD"
|
|
572
|
+
defaultValue\={12345.678}
|
|
573
|
+
locale\="en-AU"
|
|
574
|
+
/>
|
|
575
|
+
|
|
576
|
+
```
|
|
577
|
+
|
|
578
|
+
#### Props
|
|
579
|
+
|
|
580
|
+
| Name | Description | Default | Control |
|
|
581
|
+
| --- | --- | --- | --- |
|
|
582
|
+
| alignRight |
|
|
583
|
+
Set input content align to right.
|
|
584
|
+
|
|
585
|
+
boolean
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
| \- | FalseTrue |
|
|
590
|
+
| currencyCode |
|
|
591
|
+
|
|
592
|
+
Set the currency symbol and appended currency code, default is `AUD`.
|
|
593
|
+
|
|
594
|
+
string
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
| \- | AUD |
|
|
599
|
+
| defaultValue |
|
|
600
|
+
|
|
601
|
+
number
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
| \- | |
|
|
606
|
+
| formatOptions |
|
|
607
|
+
|
|
608
|
+
Pass additional number format options.
|
|
609
|
+
|
|
610
|
+
Omit
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
| \- | Set object |
|
|
615
|
+
| locale |
|
|
616
|
+
|
|
617
|
+
Set the region of the currency, default is `en-AU`.
|
|
618
|
+
|
|
619
|
+
Intl.LocalesArgument
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
| \- |
|
|
624
|
+
|
|
625
|
+
"en-AU"
|
|
626
|
+
|
|
627
|
+
|
|
|
628
|
+
| withSymbol |
|
|
629
|
+
|
|
630
|
+
Set the currency symbol.
|
|
631
|
+
|
|
632
|
+
boolean
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
| \- | Set boolean |
|