@taiga-ui/addon-commerce 2.30.0 → 2.31.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-enums.umd.js +284 -1
- package/bundles/taiga-ui-addon-commerce-enums.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-enums.umd.min.js +1 -1
- package/bundles/taiga-ui-addon-commerce-enums.umd.min.js.map +1 -1
- package/enums/currency-code.d.ts +141 -0
- package/enums/currency.d.ts +142 -1
- package/enums/taiga-ui-addon-commerce-enums.metadata.json +1 -1
- package/esm2015/enums/currency-code.js +142 -1
- package/esm2015/enums/currency.js +143 -2
- package/esm5/enums/currency-code.js +142 -1
- package/esm5/enums/currency.js +143 -2
- package/fesm2015/taiga-ui-addon-commerce-enums.js +283 -1
- package/fesm2015/taiga-ui-addon-commerce-enums.js.map +1 -1
- package/fesm5/taiga-ui-addon-commerce-enums.js +283 -1
- package/fesm5/taiga-ui-addon-commerce-enums.js.map +1 -1
- package/package.json +4 -4
|
@@ -4,48 +4,331 @@
|
|
|
4
4
|
(global = global || self, factory((global['taiga-ui'] = global['taiga-ui'] || {}, global['taiga-ui']['addon-commerce'] = global['taiga-ui']['addon-commerce'] || {}, global['taiga-ui']['addon-commerce'].enums = {})));
|
|
5
5
|
}(this, (function (exports) { 'use strict';
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* **Active ISO 4217 alphabetic currency codes**
|
|
9
|
+
*
|
|
10
|
+
* @description The ISO 4217 classification is used to describe alphabetic and numeric currency codes.
|
|
11
|
+
* @description Alphabetic code is also called "alfa-3".
|
|
12
|
+
*
|
|
13
|
+
* @link https://en.wikipedia.org/wiki/ISO_4217
|
|
14
|
+
*/
|
|
15
|
+
|
|
7
16
|
(function (TuiCurrency) {
|
|
17
|
+
/**
|
|
18
|
+
* Russian ruble
|
|
19
|
+
*
|
|
20
|
+
* @description Numeric code: 643
|
|
21
|
+
* @description Alphabetic code: RUB
|
|
22
|
+
* @description Countries and territories: Russia
|
|
23
|
+
*/
|
|
8
24
|
TuiCurrency["Ruble"] = "RUB";
|
|
25
|
+
/**
|
|
26
|
+
* Euro
|
|
27
|
+
*
|
|
28
|
+
* @description Numeric code: 978
|
|
29
|
+
* @description Alphabetic code: EUR
|
|
30
|
+
* @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)
|
|
31
|
+
*/
|
|
9
32
|
TuiCurrency["Euro"] = "EUR";
|
|
33
|
+
/**
|
|
34
|
+
* United States dollar
|
|
35
|
+
*
|
|
36
|
+
* @description Numeric code: 840
|
|
37
|
+
* @description Alphabetic code: USD
|
|
38
|
+
* @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)
|
|
39
|
+
*/
|
|
10
40
|
TuiCurrency["Dollar"] = "USD";
|
|
41
|
+
/**
|
|
42
|
+
* Pound sterling
|
|
43
|
+
*
|
|
44
|
+
* @description Numeric code: 826
|
|
45
|
+
* @description Alphabetic code: GBP
|
|
46
|
+
* @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)
|
|
47
|
+
*/
|
|
11
48
|
TuiCurrency["Pound"] = "GBP";
|
|
49
|
+
/**
|
|
50
|
+
* Thai baht
|
|
51
|
+
*
|
|
52
|
+
* @description Numeric code: 764
|
|
53
|
+
* @description Alphabetic code: THB
|
|
54
|
+
* @description Countries and territories: Thailand
|
|
55
|
+
*/
|
|
12
56
|
TuiCurrency["Baht"] = "THB";
|
|
57
|
+
/**
|
|
58
|
+
* Turkish lira
|
|
59
|
+
*
|
|
60
|
+
* @description Numeric code: 949
|
|
61
|
+
* @description Alphabetic code: TRY
|
|
62
|
+
* @description Countries and territories: Turkey
|
|
63
|
+
*/
|
|
13
64
|
TuiCurrency["TurkishLira"] = "TRY";
|
|
65
|
+
/**
|
|
66
|
+
* Chinese yuan
|
|
67
|
+
*
|
|
68
|
+
* @description Numeric code: 156
|
|
69
|
+
* @description Alphabetic code: CNY
|
|
70
|
+
* @description Countries and territories: China
|
|
71
|
+
*/
|
|
14
72
|
TuiCurrency["YuanRenminbi"] = "CNY";
|
|
73
|
+
/**
|
|
74
|
+
* Kazakhstani tenge
|
|
75
|
+
*
|
|
76
|
+
* @description Numeric code: 398
|
|
77
|
+
* @description Alphabetic code: KZT
|
|
78
|
+
* @description Countries and territories: Kazakhstan
|
|
79
|
+
*/
|
|
15
80
|
TuiCurrency["Tenge"] = "KZT";
|
|
81
|
+
/**
|
|
82
|
+
* Israeli new shekel
|
|
83
|
+
*
|
|
84
|
+
* @description Numeric code: 376
|
|
85
|
+
* @description Alphabetic code: ILS
|
|
86
|
+
* @description Countries and territories: Israel
|
|
87
|
+
*/
|
|
16
88
|
TuiCurrency["IsraeliShekel"] = "ILS";
|
|
89
|
+
/**
|
|
90
|
+
* Indian rupee
|
|
91
|
+
*
|
|
92
|
+
* @description Numeric code: 356
|
|
93
|
+
* @description Alphabetic code: INR
|
|
94
|
+
* @description Countries and territories: India, Bhutan
|
|
95
|
+
*/
|
|
17
96
|
TuiCurrency["IndianRupee"] = "INR";
|
|
97
|
+
/**
|
|
98
|
+
* Japanese yen
|
|
99
|
+
*
|
|
100
|
+
* @description Numeric code: 392
|
|
101
|
+
* @description Alphabetic code: JPY
|
|
102
|
+
* @description Countries and territories: Japan
|
|
103
|
+
*/
|
|
18
104
|
TuiCurrency["Yen"] = "JPY";
|
|
105
|
+
/**
|
|
106
|
+
* South Korean won
|
|
107
|
+
*
|
|
108
|
+
* @description Numeric code: 410
|
|
109
|
+
* @description Alphabetic code: KRW
|
|
110
|
+
* @description Countries and territories: South Korea
|
|
111
|
+
*/
|
|
112
|
+
TuiCurrency["Won"] = "KRW";
|
|
113
|
+
/**
|
|
114
|
+
* Swiss franc
|
|
115
|
+
*
|
|
116
|
+
* @description Numeric code: 756
|
|
117
|
+
* @description Alphabetic code: CHF
|
|
118
|
+
* @description Countries and territories: Switzerland, Liechtenstein (LI)
|
|
119
|
+
*/
|
|
19
120
|
TuiCurrency["SwissFranc"] = "CHF";
|
|
121
|
+
/**
|
|
122
|
+
* Singapore dollar
|
|
123
|
+
*
|
|
124
|
+
* @description Numeric code: 702
|
|
125
|
+
* @description Alphabetic code: SGD
|
|
126
|
+
* @description Countries and territories: Singapore
|
|
127
|
+
*/
|
|
20
128
|
TuiCurrency["SingaporeDollar"] = "SGD";
|
|
129
|
+
/**
|
|
130
|
+
* Australian dollar
|
|
131
|
+
*
|
|
132
|
+
* @description Numeric code: 036
|
|
133
|
+
* @description Alphabetic code: AUD
|
|
134
|
+
* @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)
|
|
135
|
+
*/
|
|
21
136
|
TuiCurrency["AustralianDollar"] = "AUD";
|
|
137
|
+
/**
|
|
138
|
+
* Hong Kong dollar
|
|
139
|
+
*
|
|
140
|
+
* @description Numeric code: 344
|
|
141
|
+
* @description Alphabetic code: HKD
|
|
142
|
+
* @description Countries and territories: Hong Kong
|
|
143
|
+
*/
|
|
22
144
|
TuiCurrency["HongKong_dollar"] = "HKD";
|
|
145
|
+
/**
|
|
146
|
+
* Canadian dollar
|
|
147
|
+
*
|
|
148
|
+
* @description Numeric code: 124
|
|
149
|
+
* @description Alphabetic code: CAD
|
|
150
|
+
* @description Countries and territories: Canada
|
|
151
|
+
*/
|
|
23
152
|
TuiCurrency["CanadianDollar"] = "CAD";
|
|
153
|
+
/**
|
|
154
|
+
* Armenian dram
|
|
155
|
+
*
|
|
156
|
+
* @description Numeric code: 051
|
|
157
|
+
* @description Alphabetic code: AMD
|
|
158
|
+
* @description Countries and territories: Armenia
|
|
159
|
+
*/
|
|
24
160
|
TuiCurrency["ArmenianDram"] = "AMD";
|
|
25
|
-
|
|
161
|
+
/**
|
|
162
|
+
* Ukrainian hryvnia
|
|
163
|
+
*
|
|
164
|
+
* @description Numeric code: 980
|
|
165
|
+
* @description Alphabetic code: UAH
|
|
166
|
+
* @description Countries and territories: Ukraine
|
|
167
|
+
*/
|
|
26
168
|
TuiCurrency["Hryvnia"] = "UAH";
|
|
27
169
|
})(exports.TuiCurrency || (exports.TuiCurrency = {}));
|
|
28
170
|
|
|
171
|
+
/**
|
|
172
|
+
* **Active ISO 4217 numeric currency codes**
|
|
173
|
+
*
|
|
174
|
+
* @description The ISO 4217 classification is used to describe alphabetic and numeric currency codes.
|
|
175
|
+
* @description Numeric code is also called "number-3".
|
|
176
|
+
*
|
|
177
|
+
* @link https://en.wikipedia.org/wiki/ISO_4217
|
|
178
|
+
*/
|
|
29
179
|
|
|
30
180
|
(function (TuiCurrencyCode) {
|
|
181
|
+
/**
|
|
182
|
+
* Russian ruble
|
|
183
|
+
*
|
|
184
|
+
* @description Numeric code: 643
|
|
185
|
+
* @description Alphabetic code: RUB
|
|
186
|
+
* @description Countries and territories: Russia
|
|
187
|
+
*/
|
|
31
188
|
TuiCurrencyCode["Ruble"] = "643";
|
|
189
|
+
/**
|
|
190
|
+
* Euro
|
|
191
|
+
*
|
|
192
|
+
* @description Numeric code: 978
|
|
193
|
+
* @description Alphabetic code: EUR
|
|
194
|
+
* @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)
|
|
195
|
+
*/
|
|
32
196
|
TuiCurrencyCode["Euro"] = "978";
|
|
197
|
+
/**
|
|
198
|
+
* United States dollar
|
|
199
|
+
*
|
|
200
|
+
* @description Numeric code: 840
|
|
201
|
+
* @description Alphabetic code: USD
|
|
202
|
+
* @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)
|
|
203
|
+
*/
|
|
33
204
|
TuiCurrencyCode["Dollar"] = "840";
|
|
205
|
+
/**
|
|
206
|
+
* Pound sterling
|
|
207
|
+
*
|
|
208
|
+
* @description Numeric code: 826
|
|
209
|
+
* @description Alphabetic code: GBP
|
|
210
|
+
* @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)
|
|
211
|
+
*/
|
|
34
212
|
TuiCurrencyCode["Pound"] = "826";
|
|
213
|
+
/**
|
|
214
|
+
* Thai baht
|
|
215
|
+
*
|
|
216
|
+
* @description Numeric code: 764
|
|
217
|
+
* @description Alphabetic code: THB
|
|
218
|
+
* @description Countries and territories: Thailand
|
|
219
|
+
*/
|
|
35
220
|
TuiCurrencyCode["Baht"] = "764";
|
|
221
|
+
/**
|
|
222
|
+
* Turkish lira
|
|
223
|
+
*
|
|
224
|
+
* @description Numeric code: 949
|
|
225
|
+
* @description Alphabetic code: TRY
|
|
226
|
+
* @description Countries and territories: Turkey
|
|
227
|
+
*/
|
|
36
228
|
TuiCurrencyCode["TurkishLira"] = "949";
|
|
229
|
+
/**
|
|
230
|
+
* Chinese yuan
|
|
231
|
+
*
|
|
232
|
+
* @description Numeric code: 156
|
|
233
|
+
* @description Alphabetic code: CNY
|
|
234
|
+
* @description Countries and territories: China
|
|
235
|
+
*/
|
|
37
236
|
TuiCurrencyCode["YuanRenminbi"] = "156";
|
|
237
|
+
/**
|
|
238
|
+
* Kazakhstani tenge
|
|
239
|
+
*
|
|
240
|
+
* @description Numeric code: 398
|
|
241
|
+
* @description Alphabetic code: KZT
|
|
242
|
+
* @description Countries and territories: Kazakhstan
|
|
243
|
+
*/
|
|
38
244
|
TuiCurrencyCode["Tenge"] = "398";
|
|
245
|
+
/**
|
|
246
|
+
* Israeli new shekel
|
|
247
|
+
*
|
|
248
|
+
* @description Numeric code: 376
|
|
249
|
+
* @description Alphabetic code: ILS
|
|
250
|
+
* @description Countries and territories: Israel
|
|
251
|
+
*/
|
|
39
252
|
TuiCurrencyCode["IsraeliShekel"] = "376";
|
|
253
|
+
/**
|
|
254
|
+
* Indian rupee
|
|
255
|
+
*
|
|
256
|
+
* @description Numeric code: 356
|
|
257
|
+
* @description Alphabetic code: INR
|
|
258
|
+
* @description Countries and territories: India, Bhutan
|
|
259
|
+
*/
|
|
40
260
|
TuiCurrencyCode["IndianRupee"] = "356";
|
|
261
|
+
/**
|
|
262
|
+
* Japanese yen
|
|
263
|
+
*
|
|
264
|
+
* @description Numeric code: 392
|
|
265
|
+
* @description Alphabetic code: JPY
|
|
266
|
+
* @description Countries and territories: Japan
|
|
267
|
+
*/
|
|
41
268
|
TuiCurrencyCode["Yen"] = "392";
|
|
269
|
+
/**
|
|
270
|
+
* South Korean won
|
|
271
|
+
*
|
|
272
|
+
* @description Numeric code: 410
|
|
273
|
+
* @description Alphabetic code: KRW
|
|
274
|
+
* @description Countries and territories: South Korea
|
|
275
|
+
*/
|
|
42
276
|
TuiCurrencyCode["Won"] = "410";
|
|
277
|
+
/**
|
|
278
|
+
* Swiss franc
|
|
279
|
+
*
|
|
280
|
+
* @description Numeric code: 756
|
|
281
|
+
* @description Alphabetic code: CHF
|
|
282
|
+
* @description Countries and territories: Switzerland, Liechtenstein (LI)
|
|
283
|
+
*/
|
|
43
284
|
TuiCurrencyCode["SwissFranc"] = "756";
|
|
285
|
+
/**
|
|
286
|
+
* Singapore dollar
|
|
287
|
+
*
|
|
288
|
+
* @description Numeric code: 702
|
|
289
|
+
* @description Alphabetic code: SGD
|
|
290
|
+
* @description Countries and territories: Singapore
|
|
291
|
+
*/
|
|
44
292
|
TuiCurrencyCode["SingaporeDollar"] = "702";
|
|
293
|
+
/**
|
|
294
|
+
* Australian dollar
|
|
295
|
+
*
|
|
296
|
+
* @description Numeric code: 036
|
|
297
|
+
* @description Alphabetic code: AUD
|
|
298
|
+
* @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)
|
|
299
|
+
*/
|
|
45
300
|
TuiCurrencyCode["AustralianDollar"] = "036";
|
|
301
|
+
/**
|
|
302
|
+
* Hong Kong dollar
|
|
303
|
+
*
|
|
304
|
+
* @description Numeric code: 344
|
|
305
|
+
* @description Alphabetic code: HKD
|
|
306
|
+
* @description Countries and territories: Hong Kong
|
|
307
|
+
*/
|
|
46
308
|
TuiCurrencyCode["HongKong_dollar"] = "344";
|
|
309
|
+
/**
|
|
310
|
+
* Canadian dollar
|
|
311
|
+
*
|
|
312
|
+
* @description Numeric code: 124
|
|
313
|
+
* @description Alphabetic code: CAD
|
|
314
|
+
* @description Countries and territories: Canada
|
|
315
|
+
*/
|
|
47
316
|
TuiCurrencyCode["CanadianDollar"] = "124";
|
|
317
|
+
/**
|
|
318
|
+
* Armenian dram
|
|
319
|
+
*
|
|
320
|
+
* @description Numeric code: 051
|
|
321
|
+
* @description Alphabetic code: AMD
|
|
322
|
+
* @description Countries and territories: Armenia
|
|
323
|
+
*/
|
|
48
324
|
TuiCurrencyCode["ArmenianDram"] = "051";
|
|
325
|
+
/**
|
|
326
|
+
* Ukrainian hryvnia
|
|
327
|
+
*
|
|
328
|
+
* @description Numeric code: 980
|
|
329
|
+
* @description Alphabetic code: UAH
|
|
330
|
+
* @description Countries and territories: Ukraine
|
|
331
|
+
*/
|
|
49
332
|
TuiCurrencyCode["Hryvnia"] = "980";
|
|
50
333
|
})(exports.TuiCurrencyCode || (exports.TuiCurrencyCode = {}));
|
|
51
334
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-addon-commerce-enums.umd.js","sources":["ng://@taiga-ui/addon-commerce/enums/currency.ts","ng://@taiga-ui/addon-commerce/enums/currency-code.ts","ng://@taiga-ui/addon-commerce/enums/money-sign.ts","ng://@taiga-ui/addon-commerce/enums/payment-system.ts"],"sourcesContent":["export const enum TuiCurrency {\n Ruble = 'RUB',\n Euro = 'EUR',\n Dollar = 'USD',\n Pound = 'GBP',\n Baht = 'THB',\n TurkishLira = 'TRY',\n YuanRenminbi = 'CNY',\n Tenge = 'KZT',\n IsraeliShekel = 'ILS',\n IndianRupee = 'INR',\n Yen = 'JPY',\n SwissFranc = 'CHF',\n SingaporeDollar = 'SGD',\n AustralianDollar = 'AUD',\n HongKong_dollar = 'HKD',\n CanadianDollar = 'CAD',\n ArmenianDram = 'AMD',\n Won = 'KRW',\n Hryvnia = 'UAH',\n}\n","export const enum TuiCurrencyCode {\n Ruble = '643',\n Euro = '978',\n Dollar = '840',\n Pound = '826',\n Baht = '764',\n TurkishLira = '949',\n YuanRenminbi = '156',\n Tenge = '398',\n IsraeliShekel = '376',\n IndianRupee = '356',\n Yen = '392',\n Won = '410',\n SwissFranc = '756',\n SingaporeDollar = '702',\n AustralianDollar = '036',\n HongKong_dollar = '344',\n CanadianDollar = '124',\n ArmenianDram = '051',\n Hryvnia = '980',\n}\n","/**\n * negative-only — show sign only for negative numbers\n * always — always show sign, except for zero\n * never — never show sign\n * force-negative — show minus no matter the number, except for zero\n * force-positive — show plus no matter the number, except for zero\n * @deprecated use join type {@link TuiMoneySignT}\n */\nexport const enum TuiMoneySign {\n NegativeOnly = 'negative-only',\n Always = 'always',\n Never = 'never',\n ForceNegative = 'force-negative',\n ForcePositive = 'force-positive',\n}\n","export const enum TuiPaymentSystem {\n Visa = 'visa',\n Electron = 'electron',\n Mastercard = 'mastercard',\n Maestro = 'maestro',\n Mir = 'mir',\n}\n"],"names":["TuiCurrency","TuiCurrencyCode","TuiMoneySign","TuiPaymentSystem"],"mappings":";;;;;;IAAA,WAAkB,WAAW;QACzB,4BAAa,CAAA;QACb,2BAAY,CAAA;QACZ,6BAAc,CAAA;QACd,4BAAa,CAAA;QACb,2BAAY,CAAA;QACZ,kCAAmB,CAAA;QACnB,mCAAoB,CAAA;QACpB,4BAAa,CAAA;QACb,oCAAqB,CAAA;QACrB,kCAAmB,CAAA;QACnB,0BAAW,CAAA;QACX,iCAAkB,CAAA;QAClB,sCAAuB,CAAA;QACvB,uCAAwB,CAAA;QACxB,sCAAuB,CAAA;QACvB,qCAAsB,CAAA;QACtB,mCAAoB,CAAA;QACpB,0BAAW,CAAA;QACX,8BAAe,CAAA;IACnB,CAAC,EApBiBA,mBAAW,KAAXA,mBAAW;;;ICA7B,WAAkB,eAAe;QAC7B,gCAAa,CAAA;QACb,+BAAY,CAAA;QACZ,iCAAc,CAAA;QACd,gCAAa,CAAA;QACb,+BAAY,CAAA;QACZ,sCAAmB,CAAA;QACnB,uCAAoB,CAAA;QACpB,gCAAa,CAAA;QACb,wCAAqB,CAAA;QACrB,sCAAmB,CAAA;QACnB,8BAAW,CAAA;QACX,8BAAW,CAAA;QACX,qCAAkB,CAAA;QAClB,0CAAuB,CAAA;QACvB,2CAAwB,CAAA;QACxB,0CAAuB,CAAA;QACvB,yCAAsB,CAAA;QACtB,uCAAoB,CAAA;QACpB,kCAAe,CAAA;IACnB,CAAC,EApBiBC,uBAAe,KAAfA,uBAAe;;ICAjC;;;;;;;;;IAQA,WAAkB,YAAY;QAC1B,8CAA8B,CAAA;QAC9B,iCAAiB,CAAA;QACjB,+BAAe,CAAA;QACf,gDAAgC,CAAA;QAChC,gDAAgC,CAAA;IACpC,CAAC,EANiBC,oBAAY,KAAZA,oBAAY;;;ICR9B,WAAkB,gBAAgB;QAC9B,iCAAa,CAAA;QACb,yCAAqB,CAAA;QACrB,6CAAyB,CAAA;QACzB,uCAAmB,CAAA;QACnB,+BAAW,CAAA;IACf,CAAC,EANiBC,wBAAgB,KAAhBA,wBAAgB;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-addon-commerce-enums.umd.js","sources":["ng://@taiga-ui/addon-commerce/enums/currency.ts","ng://@taiga-ui/addon-commerce/enums/currency-code.ts","ng://@taiga-ui/addon-commerce/enums/money-sign.ts","ng://@taiga-ui/addon-commerce/enums/payment-system.ts"],"sourcesContent":["/**\n * **Active ISO 4217 alphabetic currency codes**\n *\n * @description The ISO 4217 classification is used to describe alphabetic and numeric currency codes.\n * @description Alphabetic code is also called \"alfa-3\".\n *\n * @link https://en.wikipedia.org/wiki/ISO_4217\n */\nexport const enum TuiCurrency {\n /**\n * Russian ruble\n *\n * @description Numeric code: 643\n * @description Alphabetic code: RUB\n * @description Countries and territories: Russia\n */\n Ruble = 'RUB',\n\n /**\n * Euro\n *\n * @description Numeric code: 978\n * @description Alphabetic code: EUR\n * @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)\n */\n Euro = 'EUR',\n\n /**\n * United States dollar\n *\n * @description Numeric code: 840\n * @description Alphabetic code: USD\n * @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)\n */\n Dollar = 'USD',\n\n /**\n * Pound sterling\n *\n * @description Numeric code: 826\n * @description Alphabetic code: GBP\n * @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)\n */\n Pound = 'GBP',\n\n /**\n * Thai baht\n *\n * @description Numeric code: 764\n * @description Alphabetic code: THB\n * @description Countries and territories: Thailand\n */\n Baht = 'THB',\n\n /**\n * Turkish lira\n *\n * @description Numeric code: 949\n * @description Alphabetic code: TRY\n * @description Countries and territories: Turkey\n */\n TurkishLira = 'TRY',\n\n /**\n * Chinese yuan\n *\n * @description Numeric code: 156\n * @description Alphabetic code: CNY\n * @description Countries and territories: China\n */\n YuanRenminbi = 'CNY',\n\n /**\n * Kazakhstani tenge\n *\n * @description Numeric code: 398\n * @description Alphabetic code: KZT\n * @description Countries and territories: Kazakhstan\n */\n Tenge = 'KZT',\n\n /**\n * Israeli new shekel\n *\n * @description Numeric code: 376\n * @description Alphabetic code: ILS\n * @description Countries and territories: Israel\n */\n IsraeliShekel = 'ILS',\n\n /**\n * Indian rupee\n *\n * @description Numeric code: 356\n * @description Alphabetic code: INR\n * @description Countries and territories: India, Bhutan\n */\n IndianRupee = 'INR',\n\n /**\n * Japanese yen\n *\n * @description Numeric code: 392\n * @description Alphabetic code: JPY\n * @description Countries and territories: Japan\n */\n Yen = 'JPY',\n\n /**\n * South Korean won\n *\n * @description Numeric code: 410\n * @description Alphabetic code: KRW\n * @description Countries and territories: South Korea\n */\n Won = 'KRW',\n\n /**\n * Swiss franc\n *\n * @description Numeric code: 756\n * @description Alphabetic code: CHF\n * @description Countries and territories: Switzerland, Liechtenstein (LI)\n */\n SwissFranc = 'CHF',\n\n /**\n * Singapore dollar\n *\n * @description Numeric code: 702\n * @description Alphabetic code: SGD\n * @description Countries and territories: Singapore\n */\n SingaporeDollar = 'SGD',\n\n /**\n * Australian dollar\n *\n * @description Numeric code: 036\n * @description Alphabetic code: AUD\n * @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)\n */\n AustralianDollar = 'AUD',\n\n /**\n * Hong Kong dollar\n *\n * @description Numeric code: 344\n * @description Alphabetic code: HKD\n * @description Countries and territories: Hong Kong\n */\n HongKong_dollar = 'HKD',\n\n /**\n * Canadian dollar\n *\n * @description Numeric code: 124\n * @description Alphabetic code: CAD\n * @description Countries and territories: Canada\n */\n CanadianDollar = 'CAD',\n\n /**\n * Armenian dram\n *\n * @description Numeric code: 051\n * @description Alphabetic code: AMD\n * @description Countries and territories: Armenia\n */\n ArmenianDram = 'AMD',\n\n /**\n * Ukrainian hryvnia\n *\n * @description Numeric code: 980\n * @description Alphabetic code: UAH\n * @description Countries and territories: Ukraine\n */\n Hryvnia = 'UAH',\n}\n","/**\n * **Active ISO 4217 numeric currency codes**\n *\n * @description The ISO 4217 classification is used to describe alphabetic and numeric currency codes.\n * @description Numeric code is also called \"number-3\".\n *\n * @link https://en.wikipedia.org/wiki/ISO_4217\n */\nexport const enum TuiCurrencyCode {\n /**\n * Russian ruble\n *\n * @description Numeric code: 643\n * @description Alphabetic code: RUB\n * @description Countries and territories: Russia\n */\n Ruble = '643',\n\n /**\n * Euro\n *\n * @description Numeric code: 978\n * @description Alphabetic code: EUR\n * @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)\n */\n Euro = '978',\n\n /**\n * United States dollar\n *\n * @description Numeric code: 840\n * @description Alphabetic code: USD\n * @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)\n */\n Dollar = '840',\n\n /**\n * Pound sterling\n *\n * @description Numeric code: 826\n * @description Alphabetic code: GBP\n * @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)\n */\n Pound = '826',\n\n /**\n * Thai baht\n *\n * @description Numeric code: 764\n * @description Alphabetic code: THB\n * @description Countries and territories: Thailand\n */\n Baht = '764',\n\n /**\n * Turkish lira\n *\n * @description Numeric code: 949\n * @description Alphabetic code: TRY\n * @description Countries and territories: Turkey\n */\n TurkishLira = '949',\n\n /**\n * Chinese yuan\n *\n * @description Numeric code: 156\n * @description Alphabetic code: CNY\n * @description Countries and territories: China\n */\n YuanRenminbi = '156',\n\n /**\n * Kazakhstani tenge\n *\n * @description Numeric code: 398\n * @description Alphabetic code: KZT\n * @description Countries and territories: Kazakhstan\n */\n Tenge = '398',\n\n /**\n * Israeli new shekel\n *\n * @description Numeric code: 376\n * @description Alphabetic code: ILS\n * @description Countries and territories: Israel\n */\n IsraeliShekel = '376',\n\n /**\n * Indian rupee\n *\n * @description Numeric code: 356\n * @description Alphabetic code: INR\n * @description Countries and territories: India, Bhutan\n */\n IndianRupee = '356',\n\n /**\n * Japanese yen\n *\n * @description Numeric code: 392\n * @description Alphabetic code: JPY\n * @description Countries and territories: Japan\n */\n Yen = '392',\n\n /**\n * South Korean won\n *\n * @description Numeric code: 410\n * @description Alphabetic code: KRW\n * @description Countries and territories: South Korea\n */\n Won = '410',\n\n /**\n * Swiss franc\n *\n * @description Numeric code: 756\n * @description Alphabetic code: CHF\n * @description Countries and territories: Switzerland, Liechtenstein (LI)\n */\n SwissFranc = '756',\n\n /**\n * Singapore dollar\n *\n * @description Numeric code: 702\n * @description Alphabetic code: SGD\n * @description Countries and territories: Singapore\n */\n SingaporeDollar = '702',\n\n /**\n * Australian dollar\n *\n * @description Numeric code: 036\n * @description Alphabetic code: AUD\n * @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)\n */\n AustralianDollar = '036',\n\n /**\n * Hong Kong dollar\n *\n * @description Numeric code: 344\n * @description Alphabetic code: HKD\n * @description Countries and territories: Hong Kong\n */\n HongKong_dollar = '344',\n\n /**\n * Canadian dollar\n *\n * @description Numeric code: 124\n * @description Alphabetic code: CAD\n * @description Countries and territories: Canada\n */\n CanadianDollar = '124',\n\n /**\n * Armenian dram\n *\n * @description Numeric code: 051\n * @description Alphabetic code: AMD\n * @description Countries and territories: Armenia\n */\n ArmenianDram = '051',\n\n /**\n * Ukrainian hryvnia\n *\n * @description Numeric code: 980\n * @description Alphabetic code: UAH\n * @description Countries and territories: Ukraine\n */\n Hryvnia = '980',\n}\n","/**\n * negative-only — show sign only for negative numbers\n * always — always show sign, except for zero\n * never — never show sign\n * force-negative — show minus no matter the number, except for zero\n * force-positive — show plus no matter the number, except for zero\n * @deprecated use join type {@link TuiMoneySignT}\n */\nexport const enum TuiMoneySign {\n NegativeOnly = 'negative-only',\n Always = 'always',\n Never = 'never',\n ForceNegative = 'force-negative',\n ForcePositive = 'force-positive',\n}\n","export const enum TuiPaymentSystem {\n Visa = 'visa',\n Electron = 'electron',\n Mastercard = 'mastercard',\n Maestro = 'maestro',\n Mir = 'mir',\n}\n"],"names":["TuiCurrency","TuiCurrencyCode","TuiMoneySign","TuiPaymentSystem"],"mappings":";;;;;;IAAA;;;;;;;;;IAQA,WAAkB,WAAW;;;;;;;;QAQzB,4BAAa,CAAA;;;;;;;;QASb,2BAAY,CAAA;;;;;;;;QASZ,6BAAc,CAAA;;;;;;;;QASd,4BAAa,CAAA;;;;;;;;QASb,2BAAY,CAAA;;;;;;;;QASZ,kCAAmB,CAAA;;;;;;;;QASnB,mCAAoB,CAAA;;;;;;;;QASpB,4BAAa,CAAA;;;;;;;;QASb,oCAAqB,CAAA;;;;;;;;QASrB,kCAAmB,CAAA;;;;;;;;QASnB,0BAAW,CAAA;;;;;;;;QASX,0BAAW,CAAA;;;;;;;;QASX,iCAAkB,CAAA;;;;;;;;QASlB,sCAAuB,CAAA;;;;;;;;QASvB,uCAAwB,CAAA;;;;;;;;QASxB,sCAAuB,CAAA;;;;;;;;QASvB,qCAAsB,CAAA;;;;;;;;QAStB,mCAAoB,CAAA;;;;;;;;QASpB,8BAAe,CAAA;IACnB,CAAC,EA3KiBA,mBAAW,KAAXA,mBAAW;;ICR7B;;;;;;;;;IAQA,WAAkB,eAAe;;;;;;;;QAQ7B,gCAAa,CAAA;;;;;;;;QASb,+BAAY,CAAA;;;;;;;;QASZ,iCAAc,CAAA;;;;;;;;QASd,gCAAa,CAAA;;;;;;;;QASb,+BAAY,CAAA;;;;;;;;QASZ,sCAAmB,CAAA;;;;;;;;QASnB,uCAAoB,CAAA;;;;;;;;QASpB,gCAAa,CAAA;;;;;;;;QASb,wCAAqB,CAAA;;;;;;;;QASrB,sCAAmB,CAAA;;;;;;;;QASnB,8BAAW,CAAA;;;;;;;;QASX,8BAAW,CAAA;;;;;;;;QASX,qCAAkB,CAAA;;;;;;;;QASlB,0CAAuB,CAAA;;;;;;;;QASvB,2CAAwB,CAAA;;;;;;;;QASxB,0CAAuB,CAAA;;;;;;;;QASvB,yCAAsB,CAAA;;;;;;;;QAStB,uCAAoB,CAAA;;;;;;;;QASpB,kCAAe,CAAA;IACnB,CAAC,EA3KiBC,uBAAe,KAAfA,uBAAe;;ICRjC;;;;;;;;;IAQA,WAAkB,YAAY;QAC1B,8CAA8B,CAAA;QAC9B,iCAAiB,CAAA;QACjB,+BAAe,CAAA;QACf,gDAAgC,CAAA;QAChC,gDAAgC,CAAA;IACpC,CAAC,EANiBC,oBAAY,KAAZA,oBAAY;;;ICR9B,WAAkB,gBAAgB;QAC9B,iCAAa,CAAA;QACb,yCAAqB,CAAA;QACrB,6CAAyB,CAAA;QACzB,uCAAmB,CAAA;QACnB,+BAAW,CAAA;IACf,CAAC,EANiBC,wBAAgB,KAAhBA,wBAAgB;;;;;;;;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?a(exports):"function"==typeof define&&define.amd?define("@taiga-ui/addon-commerce/enums",["exports"],a):a(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"]["addon-commerce"]=e["taiga-ui"]["addon-commerce"]||{},e["taiga-ui"]["addon-commerce"].enums={}))}(this,(function(e){"use strict";var a,n,i,r;(a=e.TuiCurrency||(e.TuiCurrency={})).Ruble="RUB",a.Euro="EUR",a.Dollar="USD",a.Pound="GBP",a.Baht="THB",a.TurkishLira="TRY",a.YuanRenminbi="CNY",a.Tenge="KZT",a.IsraeliShekel="ILS",a.IndianRupee="INR",a.Yen="JPY",a.SwissFranc="CHF",a.SingaporeDollar="SGD",a.AustralianDollar="AUD",a.HongKong_dollar="HKD",a.CanadianDollar="CAD",a.ArmenianDram="AMD",a.
|
|
1
|
+
!function(e,a){"object"==typeof exports&&"undefined"!=typeof module?a(exports):"function"==typeof define&&define.amd?define("@taiga-ui/addon-commerce/enums",["exports"],a):a(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"]["addon-commerce"]=e["taiga-ui"]["addon-commerce"]||{},e["taiga-ui"]["addon-commerce"].enums={}))}(this,(function(e){"use strict";var a,n,i,r;(a=e.TuiCurrency||(e.TuiCurrency={})).Ruble="RUB",a.Euro="EUR",a.Dollar="USD",a.Pound="GBP",a.Baht="THB",a.TurkishLira="TRY",a.YuanRenminbi="CNY",a.Tenge="KZT",a.IsraeliShekel="ILS",a.IndianRupee="INR",a.Yen="JPY",a.Won="KRW",a.SwissFranc="CHF",a.SingaporeDollar="SGD",a.AustralianDollar="AUD",a.HongKong_dollar="HKD",a.CanadianDollar="CAD",a.ArmenianDram="AMD",a.Hryvnia="UAH",(n=e.TuiCurrencyCode||(e.TuiCurrencyCode={})).Ruble="643",n.Euro="978",n.Dollar="840",n.Pound="826",n.Baht="764",n.TurkishLira="949",n.YuanRenminbi="156",n.Tenge="398",n.IsraeliShekel="376",n.IndianRupee="356",n.Yen="392",n.Won="410",n.SwissFranc="756",n.SingaporeDollar="702",n.AustralianDollar="036",n.HongKong_dollar="344",n.CanadianDollar="124",n.ArmenianDram="051",n.Hryvnia="980",(i=e.TuiMoneySign||(e.TuiMoneySign={})).NegativeOnly="negative-only",i.Always="always",i.Never="never",i.ForceNegative="force-negative",i.ForcePositive="force-positive",(r=e.TuiPaymentSystem||(e.TuiPaymentSystem={})).Visa="visa",r.Electron="electron",r.Mastercard="mastercard",r.Maestro="maestro",r.Mir="mir",Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
2
2
|
//# sourceMappingURL=taiga-ui-addon-commerce-enums.umd.min.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["ng://@taiga-ui/addon-commerce/enums/currency.ts","ng://@taiga-ui/addon-commerce/enums/currency-code.ts","ng://@taiga-ui/addon-commerce/enums/money-sign.ts","ng://@taiga-ui/addon-commerce/enums/payment-system.ts"],"names":["TuiCurrency","TuiCurrencyCode","TuiMoneySign","TuiPaymentSystem"],"mappings":"wWAAA,IAAkBA,ECAAC,ECQAC,ECRAC,GHAAH,EAAAA,EAAAA,cAAAA,EAAAA,YAAW,KACzB,MAAA,MACAA,EAAA,KAAA,MACAA,EAAA,OAAA,MACAA,EAAA,MAAA,MACAA,EAAA,KAAA,MACAA,EAAA,YAAA,MACAA,EAAA,aAAA,MACAA,EAAA,MAAA,MACAA,EAAA,cAAA,MACAA,EAAA,YAAA,MACAA,EAAA,IAAA,MACAA,EAAA,WAAA,MACAA,EAAA,gBAAA,MACAA,EAAA,iBAAA,MACAA,EAAA,gBAAA,MACAA,EAAA,eAAA,MACAA,EAAA,aAAA,MACAA,EAAA,IAAA,MACAA,EAAA,QAAA,OCnBcC,EAAAA,EAAAA,kBAAAA,EAAAA,gBAAe,KAC7B,MAAA,MACAA,EAAA,KAAA,MACAA,EAAA,OAAA,MACAA,EAAA,MAAA,MACAA,EAAA,KAAA,MACAA,EAAA,YAAA,MACAA,EAAA,aAAA,MACAA,EAAA,MAAA,MACAA,EAAA,cAAA,MACAA,EAAA,YAAA,MACAA,EAAA,IAAA,MACAA,EAAA,IAAA,MACAA,EAAA,WAAA,MACAA,EAAA,gBAAA,MACAA,EAAA,iBAAA,MACAA,EAAA,gBAAA,MACAA,EAAA,eAAA,MACAA,EAAA,aAAA,MACAA,EAAA,QAAA,OCXcC,EAAAA,EAAAA,eAAAA,EAAAA,aAAY,KAC1B,aAAA,gBACAA,EAAA,OAAA,SACAA,EAAA,MAAA,QACAA,EAAA,cAAA,iBACAA,EAAA,cAAA,kBCbcC,EAAAA,EAAAA,mBAAAA,EAAAA,iBAAgB,KAC9B,KAAA,OACAA,EAAA,SAAA,WACAA,EAAA,WAAA,aACAA,EAAA,QAAA,UACAA,EAAA,IAAA","sourcesContent":["export const enum TuiCurrency {\n Ruble = 'RUB',\n Euro = 'EUR',\n Dollar = 'USD',\n Pound = 'GBP',\n Baht = 'THB',\n TurkishLira = 'TRY',\n YuanRenminbi = 'CNY',\n Tenge = 'KZT',\n IsraeliShekel = 'ILS',\n IndianRupee = 'INR',\n Yen = 'JPY',\n SwissFranc = 'CHF',\n SingaporeDollar = 'SGD',\n AustralianDollar = 'AUD',\n HongKong_dollar = 'HKD',\n CanadianDollar = 'CAD',\n ArmenianDram = 'AMD',\n Won = 'KRW',\n Hryvnia = 'UAH',\n}\n","export const enum TuiCurrencyCode {\n Ruble = '643',\n Euro = '978',\n Dollar = '840',\n Pound = '826',\n Baht = '764',\n TurkishLira = '949',\n YuanRenminbi = '156',\n Tenge = '398',\n IsraeliShekel = '376',\n IndianRupee = '356',\n Yen = '392',\n Won = '410',\n SwissFranc = '756',\n SingaporeDollar = '702',\n AustralianDollar = '036',\n HongKong_dollar = '344',\n CanadianDollar = '124',\n ArmenianDram = '051',\n Hryvnia = '980',\n}\n","/**\n * negative-only — show sign only for negative numbers\n * always — always show sign, except for zero\n * never — never show sign\n * force-negative — show minus no matter the number, except for zero\n * force-positive — show plus no matter the number, except for zero\n * @deprecated use join type {@link TuiMoneySignT}\n */\nexport const enum TuiMoneySign {\n NegativeOnly = 'negative-only',\n Always = 'always',\n Never = 'never',\n ForceNegative = 'force-negative',\n ForcePositive = 'force-positive',\n}\n","export const enum TuiPaymentSystem {\n Visa = 'visa',\n Electron = 'electron',\n Mastercard = 'mastercard',\n Maestro = 'maestro',\n Mir = 'mir',\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["ng://@taiga-ui/addon-commerce/enums/currency.ts","ng://@taiga-ui/addon-commerce/enums/currency-code.ts","ng://@taiga-ui/addon-commerce/enums/money-sign.ts","ng://@taiga-ui/addon-commerce/enums/payment-system.ts"],"names":["TuiCurrency","TuiCurrencyCode","TuiMoneySign","TuiPaymentSystem"],"mappings":"wWAQA,IAAkBA,ECAAC,ECAAC,ECRAC,GHQAH,EAAAA,EAAAA,cAAAA,EAAAA,YAAW,KAQzB,MAAA,MASAA,EAAA,KAAA,MASAA,EAAA,OAAA,MASAA,EAAA,MAAA,MASAA,EAAA,KAAA,MASAA,EAAA,YAAA,MASAA,EAAA,aAAA,MASAA,EAAA,MAAA,MASAA,EAAA,cAAA,MASAA,EAAA,YAAA,MASAA,EAAA,IAAA,MASAA,EAAA,IAAA,MASAA,EAAA,WAAA,MASAA,EAAA,gBAAA,MASAA,EAAA,iBAAA,MASAA,EAAA,gBAAA,MASAA,EAAA,eAAA,MASAA,EAAA,aAAA,MASAA,EAAA,QAAA,OC1KcC,EAAAA,EAAAA,kBAAAA,EAAAA,gBAAe,KAQ7B,MAAA,MASAA,EAAA,KAAA,MASAA,EAAA,OAAA,MASAA,EAAA,MAAA,MASAA,EAAA,KAAA,MASAA,EAAA,YAAA,MASAA,EAAA,aAAA,MASAA,EAAA,MAAA,MASAA,EAAA,cAAA,MASAA,EAAA,YAAA,MASAA,EAAA,IAAA,MASAA,EAAA,IAAA,MASAA,EAAA,WAAA,MASAA,EAAA,gBAAA,MASAA,EAAA,iBAAA,MASAA,EAAA,gBAAA,MASAA,EAAA,eAAA,MASAA,EAAA,aAAA,MASAA,EAAA,QAAA,OC1KcC,EAAAA,EAAAA,eAAAA,EAAAA,aAAY,KAC1B,aAAA,gBACAA,EAAA,OAAA,SACAA,EAAA,MAAA,QACAA,EAAA,cAAA,iBACAA,EAAA,cAAA,kBCbcC,EAAAA,EAAAA,mBAAAA,EAAAA,iBAAgB,KAC9B,KAAA,OACAA,EAAA,SAAA,WACAA,EAAA,WAAA,aACAA,EAAA,QAAA,UACAA,EAAA,IAAA","sourcesContent":["/**\n * **Active ISO 4217 alphabetic currency codes**\n *\n * @description The ISO 4217 classification is used to describe alphabetic and numeric currency codes.\n * @description Alphabetic code is also called \"alfa-3\".\n *\n * @link https://en.wikipedia.org/wiki/ISO_4217\n */\nexport const enum TuiCurrency {\n /**\n * Russian ruble\n *\n * @description Numeric code: 643\n * @description Alphabetic code: RUB\n * @description Countries and territories: Russia\n */\n Ruble = 'RUB',\n\n /**\n * Euro\n *\n * @description Numeric code: 978\n * @description Alphabetic code: EUR\n * @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)\n */\n Euro = 'EUR',\n\n /**\n * United States dollar\n *\n * @description Numeric code: 840\n * @description Alphabetic code: USD\n * @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)\n */\n Dollar = 'USD',\n\n /**\n * Pound sterling\n *\n * @description Numeric code: 826\n * @description Alphabetic code: GBP\n * @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)\n */\n Pound = 'GBP',\n\n /**\n * Thai baht\n *\n * @description Numeric code: 764\n * @description Alphabetic code: THB\n * @description Countries and territories: Thailand\n */\n Baht = 'THB',\n\n /**\n * Turkish lira\n *\n * @description Numeric code: 949\n * @description Alphabetic code: TRY\n * @description Countries and territories: Turkey\n */\n TurkishLira = 'TRY',\n\n /**\n * Chinese yuan\n *\n * @description Numeric code: 156\n * @description Alphabetic code: CNY\n * @description Countries and territories: China\n */\n YuanRenminbi = 'CNY',\n\n /**\n * Kazakhstani tenge\n *\n * @description Numeric code: 398\n * @description Alphabetic code: KZT\n * @description Countries and territories: Kazakhstan\n */\n Tenge = 'KZT',\n\n /**\n * Israeli new shekel\n *\n * @description Numeric code: 376\n * @description Alphabetic code: ILS\n * @description Countries and territories: Israel\n */\n IsraeliShekel = 'ILS',\n\n /**\n * Indian rupee\n *\n * @description Numeric code: 356\n * @description Alphabetic code: INR\n * @description Countries and territories: India, Bhutan\n */\n IndianRupee = 'INR',\n\n /**\n * Japanese yen\n *\n * @description Numeric code: 392\n * @description Alphabetic code: JPY\n * @description Countries and territories: Japan\n */\n Yen = 'JPY',\n\n /**\n * South Korean won\n *\n * @description Numeric code: 410\n * @description Alphabetic code: KRW\n * @description Countries and territories: South Korea\n */\n Won = 'KRW',\n\n /**\n * Swiss franc\n *\n * @description Numeric code: 756\n * @description Alphabetic code: CHF\n * @description Countries and territories: Switzerland, Liechtenstein (LI)\n */\n SwissFranc = 'CHF',\n\n /**\n * Singapore dollar\n *\n * @description Numeric code: 702\n * @description Alphabetic code: SGD\n * @description Countries and territories: Singapore\n */\n SingaporeDollar = 'SGD',\n\n /**\n * Australian dollar\n *\n * @description Numeric code: 036\n * @description Alphabetic code: AUD\n * @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)\n */\n AustralianDollar = 'AUD',\n\n /**\n * Hong Kong dollar\n *\n * @description Numeric code: 344\n * @description Alphabetic code: HKD\n * @description Countries and territories: Hong Kong\n */\n HongKong_dollar = 'HKD',\n\n /**\n * Canadian dollar\n *\n * @description Numeric code: 124\n * @description Alphabetic code: CAD\n * @description Countries and territories: Canada\n */\n CanadianDollar = 'CAD',\n\n /**\n * Armenian dram\n *\n * @description Numeric code: 051\n * @description Alphabetic code: AMD\n * @description Countries and territories: Armenia\n */\n ArmenianDram = 'AMD',\n\n /**\n * Ukrainian hryvnia\n *\n * @description Numeric code: 980\n * @description Alphabetic code: UAH\n * @description Countries and territories: Ukraine\n */\n Hryvnia = 'UAH',\n}\n","/**\n * **Active ISO 4217 numeric currency codes**\n *\n * @description The ISO 4217 classification is used to describe alphabetic and numeric currency codes.\n * @description Numeric code is also called \"number-3\".\n *\n * @link https://en.wikipedia.org/wiki/ISO_4217\n */\nexport const enum TuiCurrencyCode {\n /**\n * Russian ruble\n *\n * @description Numeric code: 643\n * @description Alphabetic code: RUB\n * @description Countries and territories: Russia\n */\n Ruble = '643',\n\n /**\n * Euro\n *\n * @description Numeric code: 978\n * @description Alphabetic code: EUR\n * @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)\n */\n Euro = '978',\n\n /**\n * United States dollar\n *\n * @description Numeric code: 840\n * @description Alphabetic code: USD\n * @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)\n */\n Dollar = '840',\n\n /**\n * Pound sterling\n *\n * @description Numeric code: 826\n * @description Alphabetic code: GBP\n * @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)\n */\n Pound = '826',\n\n /**\n * Thai baht\n *\n * @description Numeric code: 764\n * @description Alphabetic code: THB\n * @description Countries and territories: Thailand\n */\n Baht = '764',\n\n /**\n * Turkish lira\n *\n * @description Numeric code: 949\n * @description Alphabetic code: TRY\n * @description Countries and territories: Turkey\n */\n TurkishLira = '949',\n\n /**\n * Chinese yuan\n *\n * @description Numeric code: 156\n * @description Alphabetic code: CNY\n * @description Countries and territories: China\n */\n YuanRenminbi = '156',\n\n /**\n * Kazakhstani tenge\n *\n * @description Numeric code: 398\n * @description Alphabetic code: KZT\n * @description Countries and territories: Kazakhstan\n */\n Tenge = '398',\n\n /**\n * Israeli new shekel\n *\n * @description Numeric code: 376\n * @description Alphabetic code: ILS\n * @description Countries and territories: Israel\n */\n IsraeliShekel = '376',\n\n /**\n * Indian rupee\n *\n * @description Numeric code: 356\n * @description Alphabetic code: INR\n * @description Countries and territories: India, Bhutan\n */\n IndianRupee = '356',\n\n /**\n * Japanese yen\n *\n * @description Numeric code: 392\n * @description Alphabetic code: JPY\n * @description Countries and territories: Japan\n */\n Yen = '392',\n\n /**\n * South Korean won\n *\n * @description Numeric code: 410\n * @description Alphabetic code: KRW\n * @description Countries and territories: South Korea\n */\n Won = '410',\n\n /**\n * Swiss franc\n *\n * @description Numeric code: 756\n * @description Alphabetic code: CHF\n * @description Countries and territories: Switzerland, Liechtenstein (LI)\n */\n SwissFranc = '756',\n\n /**\n * Singapore dollar\n *\n * @description Numeric code: 702\n * @description Alphabetic code: SGD\n * @description Countries and territories: Singapore\n */\n SingaporeDollar = '702',\n\n /**\n * Australian dollar\n *\n * @description Numeric code: 036\n * @description Alphabetic code: AUD\n * @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)\n */\n AustralianDollar = '036',\n\n /**\n * Hong Kong dollar\n *\n * @description Numeric code: 344\n * @description Alphabetic code: HKD\n * @description Countries and territories: Hong Kong\n */\n HongKong_dollar = '344',\n\n /**\n * Canadian dollar\n *\n * @description Numeric code: 124\n * @description Alphabetic code: CAD\n * @description Countries and territories: Canada\n */\n CanadianDollar = '124',\n\n /**\n * Armenian dram\n *\n * @description Numeric code: 051\n * @description Alphabetic code: AMD\n * @description Countries and territories: Armenia\n */\n ArmenianDram = '051',\n\n /**\n * Ukrainian hryvnia\n *\n * @description Numeric code: 980\n * @description Alphabetic code: UAH\n * @description Countries and territories: Ukraine\n */\n Hryvnia = '980',\n}\n","/**\n * negative-only — show sign only for negative numbers\n * always — always show sign, except for zero\n * never — never show sign\n * force-negative — show minus no matter the number, except for zero\n * force-positive — show plus no matter the number, except for zero\n * @deprecated use join type {@link TuiMoneySignT}\n */\nexport const enum TuiMoneySign {\n NegativeOnly = 'negative-only',\n Always = 'always',\n Never = 'never',\n ForceNegative = 'force-negative',\n ForcePositive = 'force-positive',\n}\n","export const enum TuiPaymentSystem {\n Visa = 'visa',\n Electron = 'electron',\n Mastercard = 'mastercard',\n Maestro = 'maestro',\n Mir = 'mir',\n}\n"]}
|
package/enums/currency-code.d.ts
CHANGED
|
@@ -1,21 +1,162 @@
|
|
|
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
|
+
*/
|
|
1
9
|
export declare const enum TuiCurrencyCode {
|
|
10
|
+
/**
|
|
11
|
+
* Russian ruble
|
|
12
|
+
*
|
|
13
|
+
* @description Numeric code: 643
|
|
14
|
+
* @description Alphabetic code: RUB
|
|
15
|
+
* @description Countries and territories: Russia
|
|
16
|
+
*/
|
|
2
17
|
Ruble = "643",
|
|
18
|
+
/**
|
|
19
|
+
* Euro
|
|
20
|
+
*
|
|
21
|
+
* @description Numeric code: 978
|
|
22
|
+
* @description Alphabetic code: EUR
|
|
23
|
+
* @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)
|
|
24
|
+
*/
|
|
3
25
|
Euro = "978",
|
|
26
|
+
/**
|
|
27
|
+
* United States dollar
|
|
28
|
+
*
|
|
29
|
+
* @description Numeric code: 840
|
|
30
|
+
* @description Alphabetic code: USD
|
|
31
|
+
* @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)
|
|
32
|
+
*/
|
|
4
33
|
Dollar = "840",
|
|
34
|
+
/**
|
|
35
|
+
* Pound sterling
|
|
36
|
+
*
|
|
37
|
+
* @description Numeric code: 826
|
|
38
|
+
* @description Alphabetic code: GBP
|
|
39
|
+
* @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)
|
|
40
|
+
*/
|
|
5
41
|
Pound = "826",
|
|
42
|
+
/**
|
|
43
|
+
* Thai baht
|
|
44
|
+
*
|
|
45
|
+
* @description Numeric code: 764
|
|
46
|
+
* @description Alphabetic code: THB
|
|
47
|
+
* @description Countries and territories: Thailand
|
|
48
|
+
*/
|
|
6
49
|
Baht = "764",
|
|
50
|
+
/**
|
|
51
|
+
* Turkish lira
|
|
52
|
+
*
|
|
53
|
+
* @description Numeric code: 949
|
|
54
|
+
* @description Alphabetic code: TRY
|
|
55
|
+
* @description Countries and territories: Turkey
|
|
56
|
+
*/
|
|
7
57
|
TurkishLira = "949",
|
|
58
|
+
/**
|
|
59
|
+
* Chinese yuan
|
|
60
|
+
*
|
|
61
|
+
* @description Numeric code: 156
|
|
62
|
+
* @description Alphabetic code: CNY
|
|
63
|
+
* @description Countries and territories: China
|
|
64
|
+
*/
|
|
8
65
|
YuanRenminbi = "156",
|
|
66
|
+
/**
|
|
67
|
+
* Kazakhstani tenge
|
|
68
|
+
*
|
|
69
|
+
* @description Numeric code: 398
|
|
70
|
+
* @description Alphabetic code: KZT
|
|
71
|
+
* @description Countries and territories: Kazakhstan
|
|
72
|
+
*/
|
|
9
73
|
Tenge = "398",
|
|
74
|
+
/**
|
|
75
|
+
* Israeli new shekel
|
|
76
|
+
*
|
|
77
|
+
* @description Numeric code: 376
|
|
78
|
+
* @description Alphabetic code: ILS
|
|
79
|
+
* @description Countries and territories: Israel
|
|
80
|
+
*/
|
|
10
81
|
IsraeliShekel = "376",
|
|
82
|
+
/**
|
|
83
|
+
* Indian rupee
|
|
84
|
+
*
|
|
85
|
+
* @description Numeric code: 356
|
|
86
|
+
* @description Alphabetic code: INR
|
|
87
|
+
* @description Countries and territories: India, Bhutan
|
|
88
|
+
*/
|
|
11
89
|
IndianRupee = "356",
|
|
90
|
+
/**
|
|
91
|
+
* Japanese yen
|
|
92
|
+
*
|
|
93
|
+
* @description Numeric code: 392
|
|
94
|
+
* @description Alphabetic code: JPY
|
|
95
|
+
* @description Countries and territories: Japan
|
|
96
|
+
*/
|
|
12
97
|
Yen = "392",
|
|
98
|
+
/**
|
|
99
|
+
* South Korean won
|
|
100
|
+
*
|
|
101
|
+
* @description Numeric code: 410
|
|
102
|
+
* @description Alphabetic code: KRW
|
|
103
|
+
* @description Countries and territories: South Korea
|
|
104
|
+
*/
|
|
13
105
|
Won = "410",
|
|
106
|
+
/**
|
|
107
|
+
* Swiss franc
|
|
108
|
+
*
|
|
109
|
+
* @description Numeric code: 756
|
|
110
|
+
* @description Alphabetic code: CHF
|
|
111
|
+
* @description Countries and territories: Switzerland, Liechtenstein (LI)
|
|
112
|
+
*/
|
|
14
113
|
SwissFranc = "756",
|
|
114
|
+
/**
|
|
115
|
+
* Singapore dollar
|
|
116
|
+
*
|
|
117
|
+
* @description Numeric code: 702
|
|
118
|
+
* @description Alphabetic code: SGD
|
|
119
|
+
* @description Countries and territories: Singapore
|
|
120
|
+
*/
|
|
15
121
|
SingaporeDollar = "702",
|
|
122
|
+
/**
|
|
123
|
+
* Australian dollar
|
|
124
|
+
*
|
|
125
|
+
* @description Numeric code: 036
|
|
126
|
+
* @description Alphabetic code: AUD
|
|
127
|
+
* @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)
|
|
128
|
+
*/
|
|
16
129
|
AustralianDollar = "036",
|
|
130
|
+
/**
|
|
131
|
+
* Hong Kong dollar
|
|
132
|
+
*
|
|
133
|
+
* @description Numeric code: 344
|
|
134
|
+
* @description Alphabetic code: HKD
|
|
135
|
+
* @description Countries and territories: Hong Kong
|
|
136
|
+
*/
|
|
17
137
|
HongKong_dollar = "344",
|
|
138
|
+
/**
|
|
139
|
+
* Canadian dollar
|
|
140
|
+
*
|
|
141
|
+
* @description Numeric code: 124
|
|
142
|
+
* @description Alphabetic code: CAD
|
|
143
|
+
* @description Countries and territories: Canada
|
|
144
|
+
*/
|
|
18
145
|
CanadianDollar = "124",
|
|
146
|
+
/**
|
|
147
|
+
* Armenian dram
|
|
148
|
+
*
|
|
149
|
+
* @description Numeric code: 051
|
|
150
|
+
* @description Alphabetic code: AMD
|
|
151
|
+
* @description Countries and territories: Armenia
|
|
152
|
+
*/
|
|
19
153
|
ArmenianDram = "051",
|
|
154
|
+
/**
|
|
155
|
+
* Ukrainian hryvnia
|
|
156
|
+
*
|
|
157
|
+
* @description Numeric code: 980
|
|
158
|
+
* @description Alphabetic code: UAH
|
|
159
|
+
* @description Countries and territories: Ukraine
|
|
160
|
+
*/
|
|
20
161
|
Hryvnia = "980"
|
|
21
162
|
}
|