@taiga-ui/addon-commerce 3.49.0 → 3.50.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.
- package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js +1 -10
- package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js +0 -10
- package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js +0 -5
- package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js +0 -4
- package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-components-money.umd.js +0 -7
- package/bundles/taiga-ui-addon-commerce-components-money.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-components-thumbnail-card.umd.js +2 -12
- package/bundles/taiga-ui-addon-commerce-components-thumbnail-card.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-components.umd.js +0 -4
- package/bundles/taiga-ui-addon-commerce-components.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-constants.umd.js +0 -12
- package/bundles/taiga-ui-addon-commerce-constants.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-enums.umd.js +0 -635
- package/bundles/taiga-ui-addon-commerce-enums.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-interfaces.umd.js +1 -3
- package/bundles/taiga-ui-addon-commerce-interfaces.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-pipes.umd.js +0 -4
- package/bundles/taiga-ui-addon-commerce-pipes.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-tokens.umd.js +0 -13
- package/bundles/taiga-ui-addon-commerce-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-types.umd.js +1 -3
- package/bundles/taiga-ui-addon-commerce-types.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-utils.umd.js +0 -23
- package/bundles/taiga-ui-addon-commerce-utils.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-validators.umd.js +0 -4
- package/bundles/taiga-ui-addon-commerce-validators.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce.umd.js +0 -4
- package/bundles/taiga-ui-addon-commerce.umd.js.map +1 -1
- package/components/input-card/abstract-input-card.d.ts +0 -5
- package/components/input-card/taiga-ui-addon-commerce-components-input-card.d.ts +0 -3
- package/components/input-card-grouped/input-card-grouped.component.d.ts +0 -1
- package/components/input-card-grouped/input-card-grouped.providers.d.ts +0 -3
- package/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.d.ts +0 -3
- package/components/input-cvc/input-cvc.component.d.ts +0 -1
- package/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.d.ts +0 -3
- package/components/input-expire/taiga-ui-addon-commerce-components-input-expire.d.ts +0 -3
- package/components/money/money.options.d.ts +0 -3
- package/components/money/taiga-ui-addon-commerce-components-money.d.ts +0 -3
- package/components/taiga-ui-addon-commerce-components.d.ts +0 -3
- package/components/thumbnail-card/deprecated.d.ts +0 -6
- package/components/thumbnail-card/taiga-ui-addon-commerce-components-thumbnail-card.d.ts +0 -3
- package/constants/card-holder-mask.d.ts +0 -4
- package/constants/card-mask.d.ts +0 -3
- package/constants/taiga-ui-addon-commerce-constants.d.ts +0 -3
- package/enums/currency-code.d.ts +0 -313
- package/enums/currency.d.ts +0 -313
- package/enums/taiga-ui-addon-commerce-enums.d.ts +0 -3
- package/esm2015/components/input-card/abstract-input-card.js +1 -6
- package/esm2015/components/input-card/input-card.options.js +1 -2
- package/esm2015/components/input-card/taiga-ui-addon-commerce-components-input-card.js +1 -4
- package/esm2015/components/input-card-grouped/input-card-grouped.component.js +2 -4
- package/esm2015/components/input-card-grouped/input-card-grouped.providers.js +1 -4
- package/esm2015/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.js +1 -4
- package/esm2015/components/input-cvc/input-cvc.component.js +1 -2
- package/esm2015/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.js +1 -4
- package/esm2015/components/input-expire/taiga-ui-addon-commerce-components-input-expire.js +1 -4
- package/esm2015/components/money/money.options.js +1 -4
- package/esm2015/components/money/taiga-ui-addon-commerce-components-money.js +1 -4
- package/esm2015/components/taiga-ui-addon-commerce-components.js +1 -4
- package/esm2015/components/thumbnail-card/deprecated.js +2 -8
- package/esm2015/components/thumbnail-card/taiga-ui-addon-commerce-components-thumbnail-card.js +1 -4
- package/esm2015/components/thumbnail-card/thumbnail-card.component.js +1 -1
- package/esm2015/constants/card-holder-mask.js +1 -6
- package/esm2015/constants/card-mask.js +1 -4
- package/esm2015/constants/taiga-ui-addon-commerce-constants.js +1 -4
- package/esm2015/enums/currency-code.js +1 -316
- package/esm2015/enums/currency.js +1 -317
- package/esm2015/enums/taiga-ui-addon-commerce-enums.js +1 -4
- package/esm2015/interfaces/taiga-ui-addon-commerce-interfaces.js +1 -4
- package/esm2015/pipes/taiga-ui-addon-commerce-pipes.js +1 -4
- package/esm2015/taiga-ui-addon-commerce.js +1 -4
- package/esm2015/tokens/i18n.js +1 -10
- package/esm2015/tokens/taiga-ui-addon-commerce-tokens.js +1 -4
- package/esm2015/types/taiga-ui-addon-commerce-types.js +1 -4
- package/esm2015/utils/create-auto-corrected-expire-pipe.js +1 -12
- package/esm2015/utils/get-code-by-currency.js +1 -2
- package/esm2015/utils/get-currency-by-code.js +1 -2
- package/esm2015/utils/get-payment-system.js +1 -2
- package/esm2015/utils/is-card-length-valid.js +1 -4
- package/esm2015/utils/is-card-number-valid.js +1 -4
- package/esm2015/utils/payment-system-icons.js +1 -2
- package/esm2015/utils/taiga-ui-addon-commerce-utils.js +1 -4
- package/esm2015/validators/taiga-ui-addon-commerce-validators.js +1 -4
- package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js +1 -10
- package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-input-card.js +0 -10
- package/fesm2015/taiga-ui-addon-commerce-components-input-card.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.js +0 -5
- package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-input-expire.js +0 -4
- package/fesm2015/taiga-ui-addon-commerce-components-input-expire.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-money.js +0 -7
- package/fesm2015/taiga-ui-addon-commerce-components-money.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-thumbnail-card.js +2 -12
- package/fesm2015/taiga-ui-addon-commerce-components-thumbnail-card.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components.js +0 -4
- package/fesm2015/taiga-ui-addon-commerce-components.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-constants.js +0 -12
- package/fesm2015/taiga-ui-addon-commerce-constants.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-enums.js +0 -635
- package/fesm2015/taiga-ui-addon-commerce-enums.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-interfaces.js +1 -3
- package/fesm2015/taiga-ui-addon-commerce-interfaces.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-pipes.js +0 -4
- package/fesm2015/taiga-ui-addon-commerce-pipes.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-tokens.js +0 -13
- package/fesm2015/taiga-ui-addon-commerce-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-types.js +1 -3
- package/fesm2015/taiga-ui-addon-commerce-types.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-utils.js +0 -25
- package/fesm2015/taiga-ui-addon-commerce-utils.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-validators.js +0 -4
- package/fesm2015/taiga-ui-addon-commerce-validators.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce.js +0 -4
- package/fesm2015/taiga-ui-addon-commerce.js.map +1 -1
- package/interfaces/taiga-ui-addon-commerce-interfaces.d.ts +0 -3
- package/package.json +5 -5
- package/pipes/taiga-ui-addon-commerce-pipes.d.ts +0 -3
- package/taiga-ui-addon-commerce.d.ts +0 -3
- package/tokens/i18n.d.ts +0 -9
- package/tokens/taiga-ui-addon-commerce-tokens.d.ts +0 -3
- package/types/taiga-ui-addon-commerce-types.d.ts +0 -3
- package/utils/create-auto-corrected-expire-pipe.d.ts +0 -8
- package/utils/is-card-length-valid.d.ts +0 -3
- package/utils/is-card-number-valid.d.ts +0 -3
- package/utils/taiga-ui-addon-commerce-utils.d.ts +0 -3
- package/validators/taiga-ui-addon-commerce-validators.d.ts +0 -3
package/enums/currency-code.d.ts
CHANGED
|
@@ -1,353 +1,40 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* **Active ISO 4217 numeric currency codes**
|
|
3
|
-
*
|
|
4
|
-
* @description The ISO 4217 classification is used to describe alphabetic and numeric currency codes.
|
|
5
|
-
* @description Numeric code is also called "number-3".
|
|
6
|
-
*
|
|
7
|
-
* @link https://en.wikipedia.org/wiki/ISO_4217
|
|
8
|
-
*/
|
|
9
1
|
export declare enum TuiCurrencyCode {
|
|
10
|
-
/**
|
|
11
|
-
* Armenian dram
|
|
12
|
-
*
|
|
13
|
-
* @description Numeric code: 051
|
|
14
|
-
* @description Alphabetic code: AMD
|
|
15
|
-
* @description Countries and territories: Armenia
|
|
16
|
-
* @description Currency symbol: ֏
|
|
17
|
-
*/
|
|
18
2
|
ArmenianDram = "051",
|
|
19
|
-
/**
|
|
20
|
-
* Australian dollar
|
|
21
|
-
*
|
|
22
|
-
* @description Numeric code: 036
|
|
23
|
-
* @description Alphabetic code: AUD
|
|
24
|
-
* @description Countries and territories: Australia, Christmas Island (CX), Cocos (Keeling) Islands (CC), Heard Island and McDonald Islands (HM), Kiribati (KI), Nauru (NR), Norfolk Island (NF), Tuvalu (TV)
|
|
25
|
-
* @description Currency symbol: A$
|
|
26
|
-
*/
|
|
27
3
|
AustralianDollar = "036",
|
|
28
|
-
/**
|
|
29
|
-
* Azerbaijani manat
|
|
30
|
-
*
|
|
31
|
-
* @description Numeric code: 944
|
|
32
|
-
* @description Alphabetic code: AZN
|
|
33
|
-
* @description Countries and territories: Azerbaijan
|
|
34
|
-
* @description Currency symbol: ₼
|
|
35
|
-
*/
|
|
36
4
|
AzerbaijaniManat = "944",
|
|
37
|
-
/**
|
|
38
|
-
* Thai baht
|
|
39
|
-
*
|
|
40
|
-
* @description Numeric code: 764
|
|
41
|
-
* @description Alphabetic code: THB
|
|
42
|
-
* @description Countries and territories: Thailand
|
|
43
|
-
* @description Currency symbol: ฿
|
|
44
|
-
*/
|
|
45
5
|
Baht = "764",
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* Belarusian ruble
|
|
49
|
-
*
|
|
50
|
-
* @description Numeric code: 933
|
|
51
|
-
* @description Alphabetic code: BYN
|
|
52
|
-
* @description Countries and territories: Belarus
|
|
53
|
-
* @description Currency symbol: Rbl
|
|
54
|
-
*/
|
|
55
6
|
BelarusianRuble = "933",
|
|
56
|
-
/**
|
|
57
|
-
* Brazilian Real
|
|
58
|
-
*
|
|
59
|
-
* @description Numeric code: 986
|
|
60
|
-
* @description Alphabetic code: BRL
|
|
61
|
-
* @description Countries and territories: Brazilia
|
|
62
|
-
* @description Currency symbol: R$
|
|
63
|
-
*/
|
|
64
7
|
BrazilianReal = "986",
|
|
65
|
-
/**
|
|
66
|
-
* Canadian dollar
|
|
67
|
-
*
|
|
68
|
-
* @description Numeric code: 124
|
|
69
|
-
* @description Alphabetic code: CAD
|
|
70
|
-
* @description Countries and territories: Canada
|
|
71
|
-
* @description Currency symbol: C$
|
|
72
|
-
*/
|
|
73
8
|
CanadianDollar = "124",
|
|
74
|
-
/**
|
|
75
|
-
* United Arab Emirates dirham
|
|
76
|
-
*
|
|
77
|
-
* @description Numeric code: 784
|
|
78
|
-
* @description Alphabetic code: AED
|
|
79
|
-
* @description Countries and territories: United Arab Emirates
|
|
80
|
-
* @description Currency symbol: Dh
|
|
81
|
-
*/
|
|
82
9
|
Dirham = "784",
|
|
83
|
-
/**
|
|
84
|
-
* United States dollar
|
|
85
|
-
*
|
|
86
|
-
* @description Numeric code: 840
|
|
87
|
-
* @description Alphabetic code: USD
|
|
88
|
-
* @description Countries and territories: United States, American Samoa (AS), British Indian Ocean Territory (IO) (also uses GBP), British Virgin Islands (VG), Caribbean Netherlands (BQ – Bonaire, Sint Eustatius and Saba), Ecuador (EC), El Salvador (SV), Guam (GU), Marshall Islands (MH), Federated States of Micronesia (FM), Northern Mariana Islands (MP), Palau (PW), Panama (PA) (as well as Panamanian Balboa), Puerto Rico (PR), Timor-Leste (TL), Turks and Caicos Islands (TC), U.S. Virgin Islands (VI), United States Minor Outlying Islands (UM)
|
|
89
|
-
* @description Currency symbol: $
|
|
90
|
-
*/
|
|
91
10
|
Dollar = "840",
|
|
92
|
-
/**
|
|
93
|
-
* Euro
|
|
94
|
-
*
|
|
95
|
-
* @description Numeric code: 978
|
|
96
|
-
* @description Alphabetic code: EUR
|
|
97
|
-
* @description Countries and territories: Åland Islands (AX), European Union (EU), Andorra (AD), Austria (AT), Belgium (BE), Cyprus (CY), Estonia (EE), Finland (FI), France (FR), French Southern and Antarctic Lands (TF), Germany (DE), Greece (GR), Guadeloupe (GP), Ireland (IE), Italy (IT), Latvia (LV), Lithuania (LT), Luxembourg (LU), Malta (MT), French Guiana (GF), Martinique (MQ), Mayotte (YT), Monaco (MC), Montenegro (ME), Netherlands (NL), Portugal (PT), Réunion (RE), Saint Barthélemy (BL), Saint Martin (MF), Saint Pierre and Miquelon (PM), San Marino (SM), Slovakia (SK), Slovenia (SI), Spain (ES), Vatican City (VA)
|
|
98
|
-
* @description Currency symbol: €
|
|
99
|
-
*/
|
|
100
11
|
Euro = "978",
|
|
101
|
-
/**
|
|
102
|
-
* Georgian lari
|
|
103
|
-
*
|
|
104
|
-
* @description Numeric code: 981
|
|
105
|
-
* @description Alphabetic code: GEL
|
|
106
|
-
* @description Countries and territories: Georgia
|
|
107
|
-
* @description Currency symbol: ₾
|
|
108
|
-
*/
|
|
109
12
|
GeorgianLari = "981",
|
|
110
|
-
/**
|
|
111
|
-
* Hong Kong dollar
|
|
112
|
-
*
|
|
113
|
-
* @description Numeric code: 344
|
|
114
|
-
* @description Alphabetic code: HKD
|
|
115
|
-
* @description Countries and territories: Hong Kong
|
|
116
|
-
* @description Currency symbol: HK$
|
|
117
|
-
*/
|
|
118
13
|
HongKongDollar = "344",
|
|
119
|
-
/**
|
|
120
|
-
* Ukrainian hryvnia
|
|
121
|
-
*
|
|
122
|
-
* @description Numeric code: 980
|
|
123
|
-
* @description Alphabetic code: UAH
|
|
124
|
-
* @description Countries and territories: Ukraine
|
|
125
|
-
* @description Currency symbol: ₴
|
|
126
|
-
*/
|
|
127
14
|
Hryvnia = "980",
|
|
128
|
-
/**
|
|
129
|
-
* Indian rupee
|
|
130
|
-
*
|
|
131
|
-
* @description Numeric code: 356
|
|
132
|
-
* @description Alphabetic code: INR
|
|
133
|
-
* @description Countries and territories: India, Bhutan
|
|
134
|
-
* @description Currency symbol: ₹
|
|
135
|
-
*/
|
|
136
15
|
IndianRupee = "356",
|
|
137
|
-
/**
|
|
138
|
-
* Indonesian rupiah
|
|
139
|
-
*
|
|
140
|
-
* @description Numeric code: 360
|
|
141
|
-
* @description Alphabetic code: IDR
|
|
142
|
-
* @description Countries and territories: Indonesia
|
|
143
|
-
* @description Currency symbol: Rp
|
|
144
|
-
*/
|
|
145
16
|
IndonesianRupiah = "360",
|
|
146
|
-
/**
|
|
147
|
-
* Iranian rial
|
|
148
|
-
*
|
|
149
|
-
* @description Numeric code: 364
|
|
150
|
-
* @description Alphabetic code: IRR
|
|
151
|
-
* @description Countries and territories: Iran
|
|
152
|
-
* @description Currency symbol: IR
|
|
153
|
-
*/
|
|
154
17
|
IranianRial = "364",
|
|
155
|
-
/**
|
|
156
|
-
* Israeli new shekel
|
|
157
|
-
*
|
|
158
|
-
* @description Numeric code: 376
|
|
159
|
-
* @description Alphabetic code: ILS
|
|
160
|
-
* @description Countries and territories: Israel
|
|
161
|
-
* @description Currency symbol: ₪
|
|
162
|
-
*/
|
|
163
18
|
IsraeliShekel = "376",
|
|
164
|
-
/**
|
|
165
|
-
* Kyrgyzstani som
|
|
166
|
-
*
|
|
167
|
-
* @description Numeric code: 417
|
|
168
|
-
* @description Alphabetic code: KGS
|
|
169
|
-
* @description Countries and territories: Kyrgyzstan
|
|
170
|
-
* @description Currency symbol: c
|
|
171
|
-
*/
|
|
172
19
|
KyrgyzstanSom = "417",
|
|
173
|
-
/**
|
|
174
|
-
* Malaysian ringgit
|
|
175
|
-
*
|
|
176
|
-
* @description Numeric code: 458
|
|
177
|
-
* @description Alphabetic code: MYR
|
|
178
|
-
* @description Countries and territories: Malaysia
|
|
179
|
-
* @description Currency symbol: RM
|
|
180
|
-
*/
|
|
181
20
|
MalaysianRinggit = "458",
|
|
182
|
-
/**
|
|
183
|
-
* Mexican peso
|
|
184
|
-
*
|
|
185
|
-
* @description Numeric code: 484
|
|
186
|
-
* @description Alphabetic code: MXN
|
|
187
|
-
* @description Countries and territories: Mexico
|
|
188
|
-
* @description Currency symbol: $
|
|
189
|
-
*/
|
|
190
21
|
MexicanPeso = "484",
|
|
191
|
-
/**
|
|
192
|
-
* Mongolian tugrik
|
|
193
|
-
*
|
|
194
|
-
* @description Numeric code: 496
|
|
195
|
-
* @description Alphabetic code: MNT
|
|
196
|
-
* @description Countries and territories: Mongolia
|
|
197
|
-
* @description Currency symbol: ₮
|
|
198
|
-
*/
|
|
199
22
|
MongolianTugrik = "496",
|
|
200
|
-
/**
|
|
201
|
-
* New Turkmen manat
|
|
202
|
-
*
|
|
203
|
-
* @description Numeric code: 934
|
|
204
|
-
* @description Alphabetic code: TMT
|
|
205
|
-
* @description Countries and territories: Turkmenistan
|
|
206
|
-
* @description Currency symbol: TMT
|
|
207
|
-
*/
|
|
208
23
|
NewTurkmenManat = "934",
|
|
209
|
-
/**
|
|
210
|
-
* Pound sterling
|
|
211
|
-
*
|
|
212
|
-
* @description Numeric code: 826
|
|
213
|
-
* @description Alphabetic code: GBP
|
|
214
|
-
* @description Countries and territories: United Kingdom, Isle of Man (IM, see Manx pound), Jersey (JE, see Jersey pound), Guernsey (GG, see Guernsey pound), Tristan da Cunha (SH-TA)
|
|
215
|
-
* @description Currency symbol: £
|
|
216
|
-
*/
|
|
217
24
|
Pound = "826",
|
|
218
|
-
/**
|
|
219
|
-
* Tajikistani somoni
|
|
220
|
-
*
|
|
221
|
-
* @description Numeric code: 972
|
|
222
|
-
* @description Alphabetic code: TJS
|
|
223
|
-
* @description Countries and territories: Tajikistan
|
|
224
|
-
* @description Currency symbol: SM
|
|
225
|
-
*/
|
|
226
|
-
/**
|
|
227
|
-
* Russian ruble
|
|
228
|
-
*
|
|
229
|
-
* @description Numeric code: 643
|
|
230
|
-
* @description Alphabetic code: RUB
|
|
231
|
-
* @description Countries and territories: Russia
|
|
232
|
-
* @description Currency symbol: ₽
|
|
233
|
-
*/
|
|
234
25
|
Ruble = "643",
|
|
235
|
-
/**
|
|
236
|
-
* Saudi Riyal
|
|
237
|
-
*
|
|
238
|
-
* @description Numeric code: 682
|
|
239
|
-
* @description Alphabetic code: SAR
|
|
240
|
-
* @description Countries and territories: Saudi Arabia
|
|
241
|
-
* @description Currency symbol: SR
|
|
242
|
-
*/
|
|
243
26
|
SaudiRiyal = "682",
|
|
244
|
-
/**
|
|
245
|
-
* Serbian dinar
|
|
246
|
-
*
|
|
247
|
-
* @description Numeric code: 941
|
|
248
|
-
* @description Alphabetic code: RSD
|
|
249
|
-
* @description Countries and territories: Serbia
|
|
250
|
-
* @description Currency symbol: DIN
|
|
251
|
-
*/
|
|
252
27
|
SerbianDinar = "941",
|
|
253
|
-
/**
|
|
254
|
-
* Singapore dollar
|
|
255
|
-
*
|
|
256
|
-
* @description Numeric code: 702
|
|
257
|
-
* @description Alphabetic code: SGD
|
|
258
|
-
* @description Countries and territories: Singapore
|
|
259
|
-
* @description Currency symbol: S$
|
|
260
|
-
*/
|
|
261
28
|
SingaporeDollar = "702",
|
|
262
|
-
/**
|
|
263
|
-
* South African rand
|
|
264
|
-
*
|
|
265
|
-
* @description Numeric code: 710
|
|
266
|
-
* @description Alphabetic code: ZAR
|
|
267
|
-
* @description Countries and territories: South Africa
|
|
268
|
-
* @description Currency symbol: R
|
|
269
|
-
*/
|
|
270
29
|
SouthAfricanRand = "710",
|
|
271
|
-
/**
|
|
272
|
-
* Sri Lankan rupee
|
|
273
|
-
*
|
|
274
|
-
* @description Numeric code: 144
|
|
275
|
-
* @description Alphabetic code: LKR
|
|
276
|
-
* @description Countries and territories: Sri Lanka
|
|
277
|
-
* @description Currency symbol: Rs.
|
|
278
|
-
*/
|
|
279
30
|
SriLankanRupee = "144",
|
|
280
|
-
/**
|
|
281
|
-
* Swiss franc
|
|
282
|
-
*
|
|
283
|
-
* @description Numeric code: 756
|
|
284
|
-
* @description Alphabetic code: CHF
|
|
285
|
-
* @description Countries and territories: Switzerland, Liechtenstein (LI)
|
|
286
|
-
* @description Currency symbol: ₣
|
|
287
|
-
*/
|
|
288
31
|
SwissFranc = "756",
|
|
289
32
|
TajikistaniSomoni = "972",
|
|
290
|
-
/**
|
|
291
|
-
* Kazakhstani tenge
|
|
292
|
-
*
|
|
293
|
-
* @description Numeric code: 398
|
|
294
|
-
* @description Alphabetic code: KZT
|
|
295
|
-
* @description Countries and territories: Kazakhstan
|
|
296
|
-
* @description Currency symbol: ₸
|
|
297
|
-
*/
|
|
298
33
|
Tenge = "398",
|
|
299
|
-
/**
|
|
300
|
-
* Turkish lira
|
|
301
|
-
*
|
|
302
|
-
* @description Numeric code: 949
|
|
303
|
-
* @description Alphabetic code: TRY
|
|
304
|
-
* @description Countries and territories: Turkey
|
|
305
|
-
* @description Currency symbol: ₺
|
|
306
|
-
*/
|
|
307
34
|
TurkishLira = "949",
|
|
308
|
-
/**
|
|
309
|
-
* Uzbek sum
|
|
310
|
-
*
|
|
311
|
-
* @description Numeric code: 860
|
|
312
|
-
* @description Alphabetic code: UZS
|
|
313
|
-
* @description Countries and territories: Uzbekistan
|
|
314
|
-
* @description Currency symbol: So'm
|
|
315
|
-
*/
|
|
316
35
|
UzbekSum = "860",
|
|
317
|
-
/**
|
|
318
|
-
* Vietnamese dong
|
|
319
|
-
*
|
|
320
|
-
* @description Numeric code: 704
|
|
321
|
-
* @description Alphabetic code: VND
|
|
322
|
-
* @description Countries and territories: Vietnam
|
|
323
|
-
* @description Currency symbol: đ
|
|
324
|
-
*/
|
|
325
36
|
VietnameseDong = "704",
|
|
326
|
-
/**
|
|
327
|
-
* South Korean won
|
|
328
|
-
*
|
|
329
|
-
* @description Numeric code: 410
|
|
330
|
-
* @description Alphabetic code: KRW
|
|
331
|
-
* @description Countries and territories: South Korea
|
|
332
|
-
* @description Currency symbol: ₩
|
|
333
|
-
*/
|
|
334
37
|
Won = "410",
|
|
335
|
-
/**
|
|
336
|
-
* Japanese yen
|
|
337
|
-
*
|
|
338
|
-
* @description Numeric code: 392
|
|
339
|
-
* @description Alphabetic code: JPY
|
|
340
|
-
* @description Countries and territories: Japan
|
|
341
|
-
* @description Currency symbol: ¥
|
|
342
|
-
*/
|
|
343
38
|
Yen = "392",
|
|
344
|
-
/**
|
|
345
|
-
* Chinese yuan
|
|
346
|
-
*
|
|
347
|
-
* @description Numeric code: 156
|
|
348
|
-
* @description Alphabetic code: CNY
|
|
349
|
-
* @description Countries and territories: China
|
|
350
|
-
* @description Currency symbol: CN¥
|
|
351
|
-
*/
|
|
352
39
|
YuanRenminbi = "156"
|
|
353
40
|
}
|
package/enums/currency.d.ts
CHANGED
|
@@ -1,353 +1,40 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* **Active ISO 4217 alphabetic currency codes**
|
|
3
|
-
*
|
|
4
|
-
* @description The ISO 4217 classification is used to describe alphabetic and numeric currency codes.
|
|
5
|
-
* @description Alphabetic code is also called "alfa-3".
|
|
6
|
-
*
|
|
7
|
-
* @link https://en.wikipedia.org/wiki/ISO_4217
|
|
8
|
-
*/
|
|
9
1
|
export declare enum TuiCurrency {
|
|
10
|
-
/**
|
|
11
|
-
* Armenian dram
|
|
12
|
-
*
|
|
13
|
-
* @description Numeric code: 051
|
|
14
|
-
* @description Alphabetic code: AMD
|
|
15
|
-
* @description Countries and territories: Armenia
|
|
16
|
-
* @description Currency symbol: ֏
|
|
17
|
-
*/
|
|
18
2
|
ArmenianDram = "AMD",
|
|
19
|
-
/**
|
|
20
|
-
* Australian dollar
|
|
21
|
-
*
|
|
22
|
-
* @description Numeric code: 036
|
|
23
|
-
* @description Alphabetic code: AUD
|
|
24
|
-
* @description Countries and territories: Australia, Christmas Island (CX), Cocos (Keeling) Islands (CC), Heard Island and McDonald Islands (HM), Kiribati (KI), Nauru (NR), Norfolk Island (NF), Tuvalu (TV)
|
|
25
|
-
* @description Currency symbol: A$
|
|
26
|
-
*/
|
|
27
3
|
AustralianDollar = "AUD",
|
|
28
4
|
AzerbaijaniManat = "AZN",
|
|
29
|
-
/**
|
|
30
|
-
* Thai baht
|
|
31
|
-
*
|
|
32
|
-
* @description Numeric code: 764
|
|
33
|
-
* @description Alphabetic code: THB
|
|
34
|
-
* @description Countries and territories: Thailand
|
|
35
|
-
* @description Currency symbol: ฿
|
|
36
|
-
*/
|
|
37
5
|
Baht = "THB",
|
|
38
6
|
BelarusianRuble = "BYN",
|
|
39
|
-
/**
|
|
40
|
-
* Brazilian Real
|
|
41
|
-
*
|
|
42
|
-
* @description Numeric code: 986
|
|
43
|
-
* @description Alphabetic code: BRL
|
|
44
|
-
* @description Countries and territories: Brazilia
|
|
45
|
-
* @description Currency symbol: R$
|
|
46
|
-
*/
|
|
47
7
|
BrazilianReal = "BRL",
|
|
48
|
-
/**
|
|
49
|
-
* Canadian dollar
|
|
50
|
-
*
|
|
51
|
-
* @description Numeric code: 124
|
|
52
|
-
* @description Alphabetic code: CAD
|
|
53
|
-
* @description Countries and territories: Canada
|
|
54
|
-
* @description Currency symbol: C$
|
|
55
|
-
*/
|
|
56
8
|
CanadianDollar = "CAD",
|
|
57
|
-
/**
|
|
58
|
-
* United Arab Emirates dirham
|
|
59
|
-
*
|
|
60
|
-
* @description Numeric code: 784
|
|
61
|
-
* @description Alphabetic code: AED
|
|
62
|
-
* @description Countries and territories: United Arab Emirates
|
|
63
|
-
* @description Currency symbol: Dh
|
|
64
|
-
*/
|
|
65
9
|
Dirham = "AED",
|
|
66
|
-
/**
|
|
67
|
-
* United States dollar
|
|
68
|
-
*
|
|
69
|
-
* @description Numeric code: 840
|
|
70
|
-
* @description Alphabetic code: USD
|
|
71
|
-
* @description Countries and territories: United States, American Samoa (AS), British Indian Ocean Territory (IO) (also uses GBP), British Virgin Islands (VG), Caribbean Netherlands (BQ – Bonaire, Sint Eustatius and Saba), Ecuador (EC), El Salvador (SV), Guam (GU), Marshall Islands (MH), Federated States of Micronesia (FM), Northern Mariana Islands (MP), Palau (PW), Panama (PA) (as well as Panamanian Balboa), Puerto Rico (PR), Timor-Leste (TL), Turks and Caicos Islands (TC), U.S. Virgin Islands (VI), United States Minor Outlying Islands (UM)
|
|
72
|
-
* @description Currency symbol: $
|
|
73
|
-
*/
|
|
74
10
|
Dollar = "USD",
|
|
75
|
-
/**
|
|
76
|
-
* Euro
|
|
77
|
-
*
|
|
78
|
-
* @description Numeric code: 978
|
|
79
|
-
* @description Alphabetic code: EUR
|
|
80
|
-
* @description Countries and territories: Åland Islands (AX), European Union (EU), Andorra (AD), Austria (AT), Belgium (BE), Cyprus (CY), Estonia (EE), Finland (FI), France (FR), French Southern and Antarctic Lands (TF), Germany (DE), Greece (GR), Guadeloupe (GP), Ireland (IE), Italy (IT), Latvia (LV), Lithuania (LT), Luxembourg (LU), Malta (MT), French Guiana (GF), Martinique (MQ), Mayotte (YT), Monaco (MC), Montenegro (ME), Netherlands (NL), Portugal (PT), Réunion (RE), Saint Barthélemy (BL), Saint Martin (MF), Saint Pierre and Miquelon (PM), San Marino (SM), Slovakia (SK), Slovenia (SI), Spain (ES), Vatican City (VA)
|
|
81
|
-
* @description Currency symbol: €
|
|
82
|
-
*/
|
|
83
11
|
Euro = "EUR",
|
|
84
12
|
GeorgianLari = "GEL",
|
|
85
|
-
/**
|
|
86
|
-
* Hong Kong dollar
|
|
87
|
-
*
|
|
88
|
-
* @description Numeric code: 344
|
|
89
|
-
* @description Alphabetic code: HKD
|
|
90
|
-
* @description Countries and territories: Hong Kong
|
|
91
|
-
* @description Currency symbol: HK$
|
|
92
|
-
*/
|
|
93
13
|
HongKongDollar = "HKD",
|
|
94
|
-
/**
|
|
95
|
-
* Ukrainian hryvnia
|
|
96
|
-
*
|
|
97
|
-
* @description Numeric code: 980
|
|
98
|
-
* @description Alphabetic code: UAH
|
|
99
|
-
* @description Countries and territories: Ukraine
|
|
100
|
-
* @description Currency symbol: ₴
|
|
101
|
-
*/
|
|
102
14
|
Hryvnia = "UAH",
|
|
103
|
-
/**
|
|
104
|
-
* Indian rupee
|
|
105
|
-
*
|
|
106
|
-
* @description Numeric code: 356
|
|
107
|
-
* @description Alphabetic code: INR
|
|
108
|
-
* @description Countries and territories: India, Bhutan
|
|
109
|
-
* @description Currency symbol: ₹
|
|
110
|
-
*/
|
|
111
15
|
IndianRupee = "INR",
|
|
112
16
|
IndonesianRupiah = "IDR",
|
|
113
17
|
IranianRial = "IRR",
|
|
114
|
-
/**
|
|
115
|
-
* Israeli new shekel
|
|
116
|
-
*
|
|
117
|
-
* @description Numeric code: 376
|
|
118
|
-
* @description Alphabetic code: ILS
|
|
119
|
-
* @description Countries and territories: Israel
|
|
120
|
-
* @description Currency symbol: ₪
|
|
121
|
-
*/
|
|
122
18
|
IsraeliShekel = "ILS",
|
|
123
|
-
/**
|
|
124
|
-
* Kyrgyzstani som
|
|
125
|
-
*
|
|
126
|
-
* @description Numeric code: 417
|
|
127
|
-
* @description Alphabetic code: KGS
|
|
128
|
-
* @description Countries and territories: Kyrgyzstan
|
|
129
|
-
* @description Currency symbol: c
|
|
130
|
-
*/
|
|
131
19
|
KyrgyzstanSom = "KGS",
|
|
132
20
|
MalaysianRinggit = "MYR",
|
|
133
|
-
/**
|
|
134
|
-
* Mexican peso
|
|
135
|
-
*
|
|
136
|
-
* @description Numeric code: 484
|
|
137
|
-
* @description Alphabetic code: MXN
|
|
138
|
-
* @description Countries and territories: Mexico
|
|
139
|
-
* @description Currency symbol: $
|
|
140
|
-
*/
|
|
141
21
|
MexicanPeso = "MXN",
|
|
142
22
|
MongolianTugrik = "MNT",
|
|
143
23
|
NewTurkmenManat = "TMT",
|
|
144
|
-
/**
|
|
145
|
-
* Pound sterling
|
|
146
|
-
*
|
|
147
|
-
* @description Numeric code: 826
|
|
148
|
-
* @description Alphabetic code: GBP
|
|
149
|
-
* @description Countries and territories: United Kingdom, Isle of Man (IM, see Manx pound), Jersey (JE, see Jersey pound), Guernsey (GG, see Guernsey pound), Tristan da Cunha (SH-TA)
|
|
150
|
-
* @description Currency symbol: £
|
|
151
|
-
*/
|
|
152
24
|
Pound = "GBP",
|
|
153
|
-
/**
|
|
154
|
-
* Russian ruble
|
|
155
|
-
*
|
|
156
|
-
* @description Numeric code: 643
|
|
157
|
-
* @description Alphabetic code: RUB
|
|
158
|
-
* @description Countries and territories: Russia
|
|
159
|
-
* @description Currency symbol: ₽
|
|
160
|
-
*/
|
|
161
25
|
Ruble = "RUB",
|
|
162
|
-
/**
|
|
163
|
-
* Malaysian ringgit
|
|
164
|
-
*
|
|
165
|
-
* @description Numeric code: 458
|
|
166
|
-
* @description Alphabetic code: MYR
|
|
167
|
-
* @description Countries and territories: Malaysia
|
|
168
|
-
* @description Currency symbol: RM
|
|
169
|
-
*/
|
|
170
26
|
SaudiRiyal = "SAR",
|
|
171
|
-
/**
|
|
172
|
-
*
|
|
173
|
-
* Belarusian ruble
|
|
174
|
-
*
|
|
175
|
-
* @description Numeric code: 933
|
|
176
|
-
* @description Alphabetic code: BYN
|
|
177
|
-
* @description Countries and territories: Belarus
|
|
178
|
-
* @description Currency symbol: Rbl
|
|
179
|
-
*/
|
|
180
27
|
SerbianDinar = "RSD",
|
|
181
|
-
/**
|
|
182
|
-
* Georgian lari
|
|
183
|
-
*
|
|
184
|
-
* @description Numeric code: 981
|
|
185
|
-
* @description Alphabetic code: GEL
|
|
186
|
-
* @description Countries and territories: Georgia
|
|
187
|
-
* @description Currency symbol: ₾
|
|
188
|
-
*/
|
|
189
|
-
/**
|
|
190
|
-
* Singapore dollar
|
|
191
|
-
*
|
|
192
|
-
* @description Numeric code: 702
|
|
193
|
-
* @description Alphabetic code: SGD
|
|
194
|
-
* @description Countries and territories: Singapore
|
|
195
|
-
* @description Currency symbol: S$
|
|
196
|
-
*/
|
|
197
28
|
SingaporeDollar = "SGD",
|
|
198
|
-
/**
|
|
199
|
-
* Azerbaijani manat
|
|
200
|
-
*
|
|
201
|
-
* @description Numeric code: 944
|
|
202
|
-
* @description Alphabetic code: AZN
|
|
203
|
-
* @description Countries and territories: Azerbaijan
|
|
204
|
-
* @description Currency symbol: ₼
|
|
205
|
-
*/
|
|
206
29
|
SouthAfricanRand = "ZAR",
|
|
207
|
-
/**
|
|
208
|
-
* Sri Lankan rupee
|
|
209
|
-
*
|
|
210
|
-
* @description Numeric code: 144
|
|
211
|
-
* @description Alphabetic code: LKR
|
|
212
|
-
* @description Countries and territories: Sri Lanka
|
|
213
|
-
* @description Currency symbol: Rs.
|
|
214
|
-
*/
|
|
215
30
|
SriLankanRupee = "LKR",
|
|
216
|
-
/**
|
|
217
|
-
* Serbian dinar
|
|
218
|
-
*
|
|
219
|
-
* @description Numeric code: 941
|
|
220
|
-
* @description Alphabetic code: RSD
|
|
221
|
-
* @description Countries and territories: Serbia
|
|
222
|
-
* @description Currency symbol: DIN
|
|
223
|
-
*/
|
|
224
|
-
/**
|
|
225
|
-
* Swiss franc
|
|
226
|
-
*
|
|
227
|
-
* @description Numeric code: 756
|
|
228
|
-
* @description Alphabetic code: CHF
|
|
229
|
-
* @description Countries and territories: Switzerland, Liechtenstein (LI)
|
|
230
|
-
* @description Currency symbol: ₣
|
|
231
|
-
*/
|
|
232
31
|
SwissFranc = "CHF",
|
|
233
|
-
/**
|
|
234
|
-
* Saudi Riyal
|
|
235
|
-
*
|
|
236
|
-
* @description Numeric code: 682
|
|
237
|
-
* @description Alphabetic code: SAR
|
|
238
|
-
* @description Countries and territories: Saudi Arabia
|
|
239
|
-
* @description Currency symbol: SR
|
|
240
|
-
*/
|
|
241
|
-
/**
|
|
242
|
-
* Tajikistani somoni
|
|
243
|
-
*
|
|
244
|
-
* @description Numeric code: 972
|
|
245
|
-
* @description Alphabetic code: TJS
|
|
246
|
-
* @description Countries and territories: Tajikistan
|
|
247
|
-
* @description Currency symbol: SM
|
|
248
|
-
*/
|
|
249
32
|
TajikistaniSomoni = "TJS",
|
|
250
|
-
/**
|
|
251
|
-
* Mongolian tugrik
|
|
252
|
-
*
|
|
253
|
-
* @description Numeric code: 496
|
|
254
|
-
* @description Alphabetic code: MNT
|
|
255
|
-
* @description Countries and territories: Mongolia
|
|
256
|
-
* @description Currency symbol: ₮
|
|
257
|
-
*/
|
|
258
|
-
/**
|
|
259
|
-
* Kazakhstani tenge
|
|
260
|
-
*
|
|
261
|
-
* @description Numeric code: 398
|
|
262
|
-
* @description Alphabetic code: KZT
|
|
263
|
-
* @description Countries and territories: Kazakhstan
|
|
264
|
-
* @description Currency symbol: ₸
|
|
265
|
-
*/
|
|
266
33
|
Tenge = "KZT",
|
|
267
|
-
/**
|
|
268
|
-
* South African rand
|
|
269
|
-
*
|
|
270
|
-
* @description Numeric code: 710
|
|
271
|
-
* @description Alphabetic code: ZAR
|
|
272
|
-
* @description Countries and territories: South Africa
|
|
273
|
-
* @description Currency symbol: R
|
|
274
|
-
*/
|
|
275
|
-
/**
|
|
276
|
-
* Turkish lira
|
|
277
|
-
*
|
|
278
|
-
* @description Numeric code: 949
|
|
279
|
-
* @description Alphabetic code: TRY
|
|
280
|
-
* @description Countries and territories: Turkey
|
|
281
|
-
* @description Currency symbol: ₺
|
|
282
|
-
*/
|
|
283
34
|
TurkishLira = "TRY",
|
|
284
|
-
/**
|
|
285
|
-
* Iranian rial
|
|
286
|
-
*
|
|
287
|
-
* @description Numeric code: 364
|
|
288
|
-
* @description Alphabetic code: IRR
|
|
289
|
-
* @description Countries and territories: Iran
|
|
290
|
-
* @description Currency symbol: IR
|
|
291
|
-
*/
|
|
292
|
-
/**
|
|
293
|
-
* Uzbek sum
|
|
294
|
-
*
|
|
295
|
-
* @description Numeric code: 860
|
|
296
|
-
* @description Alphabetic code: UZS
|
|
297
|
-
* @description Countries and territories: Uzbekistan
|
|
298
|
-
* @description Currency symbol: So'm
|
|
299
|
-
*/
|
|
300
35
|
UzbekSum = "UZS",
|
|
301
|
-
/**
|
|
302
|
-
* Indonesian rupiah
|
|
303
|
-
*
|
|
304
|
-
* @description Numeric code: 360
|
|
305
|
-
* @description Alphabetic code: IDR
|
|
306
|
-
* @description Countries and territories: Indonesia
|
|
307
|
-
* @description Currency symbol: Rp
|
|
308
|
-
*/
|
|
309
36
|
VietnameseDong = "VND",
|
|
310
|
-
/**
|
|
311
|
-
* Vietnamese dong
|
|
312
|
-
*
|
|
313
|
-
* @description Numeric code: 704
|
|
314
|
-
* @description Alphabetic code: VND
|
|
315
|
-
* @description Countries and territories: Vietnam
|
|
316
|
-
* @description Currency symbol: đ
|
|
317
|
-
*/
|
|
318
|
-
/**
|
|
319
|
-
* South Korean won
|
|
320
|
-
*
|
|
321
|
-
* @description Numeric code: 410
|
|
322
|
-
* @description Alphabetic code: KRW
|
|
323
|
-
* @description Countries and territories: South Korea
|
|
324
|
-
* @description Currency symbol: ₩
|
|
325
|
-
*/
|
|
326
37
|
Won = "KRW",
|
|
327
|
-
/**
|
|
328
|
-
* New Turkmen manat
|
|
329
|
-
*
|
|
330
|
-
* @description Numeric code: 934
|
|
331
|
-
* @description Alphabetic code: TMT
|
|
332
|
-
* @description Countries and territories: Turkmenistan
|
|
333
|
-
* @description Currency symbol: TMT
|
|
334
|
-
*/
|
|
335
|
-
/**
|
|
336
|
-
* Japanese yen
|
|
337
|
-
*
|
|
338
|
-
* @description Numeric code: 392
|
|
339
|
-
* @description Alphabetic code: JPY
|
|
340
|
-
* @description Countries and territories: Japan
|
|
341
|
-
* @description Currency symbol: ¥
|
|
342
|
-
*/
|
|
343
38
|
Yen = "JPY",
|
|
344
|
-
/**
|
|
345
|
-
* Chinese yuan
|
|
346
|
-
*
|
|
347
|
-
* @description Numeric code: 156
|
|
348
|
-
* @description Alphabetic code: CNY
|
|
349
|
-
* @description Countries and territories: China
|
|
350
|
-
* @description Currency symbol: CN¥
|
|
351
|
-
*/
|
|
352
39
|
YuanRenminbi = "CNY"
|
|
353
40
|
}
|