@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-addon-commerce-enums.js","sources":["../../../projects/addon-commerce/enums/currency.ts","../../../projects/addon-commerce/enums/currency-code.ts","../../../projects/addon-commerce/enums/taiga-ui-addon-commerce-enums.ts"],"sourcesContent":["// cspell:disable\n/**\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 */\n// TODO: change type in v4.0\n// eslint-disable-next-line no-restricted-syntax\nexport enum TuiCurrency {\n /**\n * Armenian dram\n *\n * @description Numeric code: 051\n * @description Alphabetic code: AMD\n * @description Countries and territories: Armenia\n * @description Currency symbol: ֏\n */\n ArmenianDram = `AMD`,\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 * @description Currency symbol: A$\n */\n AustralianDollar = `AUD`,\n\n AzerbaijaniManat = `AZN`,\n\n /**\n * Thai baht\n *\n * @description Numeric code: 764\n * @description Alphabetic code: THB\n * @description Countries and territories: Thailand\n * @description Currency symbol: ฿\n */\n Baht = `THB`,\n\n BelarusianRuble = `BYN`,\n\n /**\n * Brazilian Real\n *\n * @description Numeric code: 986\n * @description Alphabetic code: BRL\n * @description Countries and territories: Brazilia\n * @description Currency symbol: R$\n */\n BrazilianReal = `BRL`,\n\n /**\n * Canadian dollar\n *\n * @description Numeric code: 124\n * @description Alphabetic code: CAD\n * @description Countries and territories: Canada\n * @description Currency symbol: C$\n */\n CanadianDollar = `CAD`,\n\n /**\n * United Arab Emirates dirham\n *\n * @description Numeric code: 784\n * @description Alphabetic code: AED\n * @description Countries and territories: United Arab Emirates\n * @description Currency symbol: Dh\n */\n Dirham = `AED`,\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 * @description Currency symbol: $\n */\n Dollar = `USD`,\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 * @description Currency symbol: €\n */\n Euro = `EUR`,\n\n GeorgianLari = `GEL`,\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 * @description Currency symbol: HK$\n */\n HongKongDollar = `HKD`,\n\n /**\n * Ukrainian hryvnia\n *\n * @description Numeric code: 980\n * @description Alphabetic code: UAH\n * @description Countries and territories: Ukraine\n * @description Currency symbol: ₴\n */\n Hryvnia = `UAH`,\n\n /**\n * Indian rupee\n *\n * @description Numeric code: 356\n * @description Alphabetic code: INR\n * @description Countries and territories: India, Bhutan\n * @description Currency symbol: ₹\n */\n IndianRupee = `INR`,\n\n IndonesianRupiah = `IDR`,\n\n IranianRial = `IRR`,\n\n /**\n * Israeli new shekel\n *\n * @description Numeric code: 376\n * @description Alphabetic code: ILS\n * @description Countries and territories: Israel\n * @description Currency symbol: ₪\n */\n IsraeliShekel = `ILS`,\n\n /**\n * Kyrgyzstani som\n *\n * @description Numeric code: 417\n * @description Alphabetic code: KGS\n * @description Countries and territories: Kyrgyzstan\n * @description Currency symbol: c\n */\n KyrgyzstanSom = `KGS`,\n\n MalaysianRinggit = `MYR`,\n\n /**\n * Mexican peso\n *\n * @description Numeric code: 484\n * @description Alphabetic code: MXN\n * @description Countries and territories: Mexico\n * @description Currency symbol: $\n */\n MexicanPeso = `MXN`,\n\n MongolianTugrik = `MNT`,\n\n NewTurkmenManat = `TMT`,\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 * @description Currency symbol: £\n */\n Pound = `GBP`,\n\n /**\n * Russian ruble\n *\n * @description Numeric code: 643\n * @description Alphabetic code: RUB\n * @description Countries and territories: Russia\n * @description Currency symbol: ₽\n */\n Ruble = `RUB`,\n\n /**\n * Malaysian ringgit\n *\n * @description Numeric code: 458\n * @description Alphabetic code: MYR\n * @description Countries and territories: Malaysia\n * @description Currency symbol: RM\n */\n\n SaudiRiyal = `SAR`,\n /**\n *\n * Belarusian ruble\n *\n * @description Numeric code: 933\n * @description Alphabetic code: BYN\n * @description Countries and territories: Belarus\n * @description Currency symbol: Rbl\n */\n\n SerbianDinar = `RSD`,\n /**\n * Georgian lari\n *\n * @description Numeric code: 981\n * @description Alphabetic code: GEL\n * @description Countries and territories: Georgia\n * @description Currency symbol: ₾\n */\n\n /**\n * Singapore dollar\n *\n * @description Numeric code: 702\n * @description Alphabetic code: SGD\n * @description Countries and territories: Singapore\n * @description Currency symbol: S$\n */\n SingaporeDollar = `SGD`,\n /**\n * Azerbaijani manat\n *\n * @description Numeric code: 944\n * @description Alphabetic code: AZN\n * @description Countries and territories: Azerbaijan\n * @description Currency symbol: ₼\n */\n\n SouthAfricanRand = `ZAR`,\n /**\n * Sri Lankan rupee\n *\n * @description Numeric code: 144\n * @description Alphabetic code: LKR\n * @description Countries and territories: Sri Lanka\n * @description Currency symbol: Rs.\n */\n\n SriLankanRupee = `LKR`,\n /**\n * Serbian dinar\n *\n * @description Numeric code: 941\n * @description Alphabetic code: RSD\n * @description Countries and territories: Serbia\n * @description Currency symbol: DIN\n */\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 * @description Currency symbol: ₣\n */\n SwissFranc = `CHF`,\n /**\n * Saudi Riyal\n *\n * @description Numeric code: 682\n * @description Alphabetic code: SAR\n * @description Countries and territories: Saudi Arabia\n * @description Currency symbol: SR\n */\n\n /**\n * Tajikistani somoni\n *\n * @description Numeric code: 972\n * @description Alphabetic code: TJS\n * @description Countries and territories: Tajikistan\n * @description Currency symbol: SM\n */\n TajikistaniSomoni = `TJS`,\n /**\n * Mongolian tugrik\n *\n * @description Numeric code: 496\n * @description Alphabetic code: MNT\n * @description Countries and territories: Mongolia\n * @description Currency symbol: ₮\n */\n\n /**\n * Kazakhstani tenge\n *\n * @description Numeric code: 398\n * @description Alphabetic code: KZT\n * @description Countries and territories: Kazakhstan\n * @description Currency symbol: ₸\n */\n Tenge = `KZT`,\n /**\n * South African rand\n *\n * @description Numeric code: 710\n * @description Alphabetic code: ZAR\n * @description Countries and territories: South Africa\n * @description Currency symbol: R\n */\n\n /**\n * Turkish lira\n *\n * @description Numeric code: 949\n * @description Alphabetic code: TRY\n * @description Countries and territories: Turkey\n * @description Currency symbol: ₺\n */\n TurkishLira = `TRY`,\n /**\n * Iranian rial\n *\n * @description Numeric code: 364\n * @description Alphabetic code: IRR\n * @description Countries and territories: Iran\n * @description Currency symbol: IR\n */\n\n /**\n * Uzbek sum\n *\n * @description Numeric code: 860\n * @description Alphabetic code: UZS\n * @description Countries and territories: Uzbekistan\n * @description Currency symbol: So'm\n */\n UzbekSum = `UZS`,\n /**\n * Indonesian rupiah\n *\n * @description Numeric code: 360\n * @description Alphabetic code: IDR\n * @description Countries and territories: Indonesia\n * @description Currency symbol: Rp\n */\n\n VietnameseDong = `VND`,\n /**\n * Vietnamese dong\n *\n * @description Numeric code: 704\n * @description Alphabetic code: VND\n * @description Countries and territories: Vietnam\n * @description Currency symbol: đ\n */\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 * @description Currency symbol: ₩\n */\n Won = `KRW`,\n /**\n * New Turkmen manat\n *\n * @description Numeric code: 934\n * @description Alphabetic code: TMT\n * @description Countries and territories: Turkmenistan\n * @description Currency symbol: TMT\n */\n\n /**\n * Japanese yen\n *\n * @description Numeric code: 392\n * @description Alphabetic code: JPY\n * @description Countries and territories: Japan\n * @description Currency symbol: ¥\n */\n Yen = `JPY`,\n /**\n * Chinese yuan\n *\n * @description Numeric code: 156\n * @description Alphabetic code: CNY\n * @description Countries and territories: China\n * @description Currency symbol: CN¥\n */\n YuanRenminbi = `CNY`,\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 */\n// TODO: change type in v4.0\n// eslint-disable-next-line no-restricted-syntax\nexport enum TuiCurrencyCode {\n /**\n * Armenian dram\n *\n * @description Numeric code: 051\n * @description Alphabetic code: AMD\n * @description Countries and territories: Armenia\n * @description Currency symbol: ֏\n */\n ArmenianDram = `051`,\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 * @description Currency symbol: A$\n */\n AustralianDollar = `036`,\n\n /**\n * Azerbaijani manat\n *\n * @description Numeric code: 944\n * @description Alphabetic code: AZN\n * @description Countries and territories: Azerbaijan\n * @description Currency symbol: ₼\n */\n AzerbaijaniManat = `944`,\n\n /**\n * Thai baht\n *\n * @description Numeric code: 764\n * @description Alphabetic code: THB\n * @description Countries and territories: Thailand\n * @description Currency symbol: ฿\n */\n Baht = `764`,\n\n /**\n *\n * Belarusian ruble\n *\n * @description Numeric code: 933\n * @description Alphabetic code: BYN\n * @description Countries and territories: Belarus\n * @description Currency symbol: Rbl\n */\n BelarusianRuble = `933`,\n\n /**\n * Brazilian Real\n *\n * @description Numeric code: 986\n * @description Alphabetic code: BRL\n * @description Countries and territories: Brazilia\n * @description Currency symbol: R$\n */\n BrazilianReal = `986`,\n\n /**\n * Canadian dollar\n *\n * @description Numeric code: 124\n * @description Alphabetic code: CAD\n * @description Countries and territories: Canada\n * @description Currency symbol: C$\n */\n CanadianDollar = `124`,\n\n /**\n * United Arab Emirates dirham\n *\n * @description Numeric code: 784\n * @description Alphabetic code: AED\n * @description Countries and territories: United Arab Emirates\n * @description Currency symbol: Dh\n */\n Dirham = `784`,\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 * @description Currency symbol: $\n */\n Dollar = `840`,\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 * @description Currency symbol: €\n */\n Euro = `978`,\n\n /**\n * Georgian lari\n *\n * @description Numeric code: 981\n * @description Alphabetic code: GEL\n * @description Countries and territories: Georgia\n * @description Currency symbol: ₾\n */\n GeorgianLari = `981`,\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 * @description Currency symbol: HK$\n */\n HongKongDollar = `344`,\n\n /**\n * Ukrainian hryvnia\n *\n * @description Numeric code: 980\n * @description Alphabetic code: UAH\n * @description Countries and territories: Ukraine\n * @description Currency symbol: ₴\n */\n Hryvnia = `980`,\n\n /**\n * Indian rupee\n *\n * @description Numeric code: 356\n * @description Alphabetic code: INR\n * @description Countries and territories: India, Bhutan\n * @description Currency symbol: ₹\n */\n IndianRupee = `356`,\n\n /**\n * Indonesian rupiah\n *\n * @description Numeric code: 360\n * @description Alphabetic code: IDR\n * @description Countries and territories: Indonesia\n * @description Currency symbol: Rp\n */\n IndonesianRupiah = `360`,\n\n /**\n * Iranian rial\n *\n * @description Numeric code: 364\n * @description Alphabetic code: IRR\n * @description Countries and territories: Iran\n * @description Currency symbol: IR\n */\n IranianRial = `364`,\n\n /**\n * Israeli new shekel\n *\n * @description Numeric code: 376\n * @description Alphabetic code: ILS\n * @description Countries and territories: Israel\n * @description Currency symbol: ₪\n */\n IsraeliShekel = `376`,\n\n /**\n * Kyrgyzstani som\n *\n * @description Numeric code: 417\n * @description Alphabetic code: KGS\n * @description Countries and territories: Kyrgyzstan\n * @description Currency symbol: c\n */\n KyrgyzstanSom = `417`,\n\n /**\n * Malaysian ringgit\n *\n * @description Numeric code: 458\n * @description Alphabetic code: MYR\n * @description Countries and territories: Malaysia\n * @description Currency symbol: RM\n */\n MalaysianRinggit = `458`,\n\n /**\n * Mexican peso\n *\n * @description Numeric code: 484\n * @description Alphabetic code: MXN\n * @description Countries and territories: Mexico\n * @description Currency symbol: $\n */\n MexicanPeso = `484`,\n\n /**\n * Mongolian tugrik\n *\n * @description Numeric code: 496\n * @description Alphabetic code: MNT\n * @description Countries and territories: Mongolia\n * @description Currency symbol: ₮\n */\n MongolianTugrik = `496`,\n\n /**\n * New Turkmen manat\n *\n * @description Numeric code: 934\n * @description Alphabetic code: TMT\n * @description Countries and territories: Turkmenistan\n * @description Currency symbol: TMT\n */\n NewTurkmenManat = `934`,\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 * @description Currency symbol: £\n */\n Pound = `826`,\n\n /**\n * Tajikistani somoni\n *\n * @description Numeric code: 972\n * @description Alphabetic code: TJS\n * @description Countries and territories: Tajikistan\n * @description Currency symbol: SM\n */\n\n /**\n * Russian ruble\n *\n * @description Numeric code: 643\n * @description Alphabetic code: RUB\n * @description Countries and territories: Russia\n * @description Currency symbol: ₽\n */\n Ruble = `643`,\n\n /**\n * Saudi Riyal\n *\n * @description Numeric code: 682\n * @description Alphabetic code: SAR\n * @description Countries and territories: Saudi Arabia\n * @description Currency symbol: SR\n */\n SaudiRiyal = `682`,\n\n /**\n * Serbian dinar\n *\n * @description Numeric code: 941\n * @description Alphabetic code: RSD\n * @description Countries and territories: Serbia\n * @description Currency symbol: DIN\n */\n SerbianDinar = `941`,\n\n /**\n * Singapore dollar\n *\n * @description Numeric code: 702\n * @description Alphabetic code: SGD\n * @description Countries and territories: Singapore\n * @description Currency symbol: S$\n */\n SingaporeDollar = `702`,\n\n /**\n * South African rand\n *\n * @description Numeric code: 710\n * @description Alphabetic code: ZAR\n * @description Countries and territories: South Africa\n * @description Currency symbol: R\n */\n SouthAfricanRand = `710`,\n\n /**\n * Sri Lankan rupee\n *\n * @description Numeric code: 144\n * @description Alphabetic code: LKR\n * @description Countries and territories: Sri Lanka\n * @description Currency symbol: Rs.\n */\n SriLankanRupee = `144`,\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 * @description Currency symbol: ₣\n */\n SwissFranc = `756`,\n\n TajikistaniSomoni = `972`,\n\n /**\n * Kazakhstani tenge\n *\n * @description Numeric code: 398\n * @description Alphabetic code: KZT\n * @description Countries and territories: Kazakhstan\n * @description Currency symbol: ₸\n */\n Tenge = `398`,\n\n /**\n * Turkish lira\n *\n * @description Numeric code: 949\n * @description Alphabetic code: TRY\n * @description Countries and territories: Turkey\n * @description Currency symbol: ₺\n */\n TurkishLira = `949`,\n\n /**\n * Uzbek sum\n *\n * @description Numeric code: 860\n * @description Alphabetic code: UZS\n * @description Countries and territories: Uzbekistan\n * @description Currency symbol: So'm\n */\n UzbekSum = `860`,\n\n /**\n * Vietnamese dong\n *\n * @description Numeric code: 704\n * @description Alphabetic code: VND\n * @description Countries and territories: Vietnam\n * @description Currency symbol: đ\n */\n VietnameseDong = `704`,\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 * @description Currency symbol: ₩\n */\n Won = `410`,\n\n /**\n * Japanese yen\n *\n * @description Numeric code: 392\n * @description Alphabetic code: JPY\n * @description Countries and territories: Japan\n * @description Currency symbol: ¥\n */\n Yen = `392`,\n\n /**\n * Chinese yuan\n *\n * @description Numeric code: 156\n * @description Alphabetic code: CNY\n * @description Countries and territories: China\n * @description Currency symbol: CN¥\n */\n YuanRenminbi = `156`,\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;AACA;;;;;;;AAOG;AACH;AACA;IACY,YA6XX;AA7XD,CAAA,UAAY,WAAW,EAAA;AACnB;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,cAAA,CAAA,GAAA,KAAoB,CAAA;AAEpB;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,kBAAA,CAAA,GAAA,KAAwB,CAAA;AAExB,IAAA,WAAA,CAAA,kBAAA,CAAA,GAAA,KAAwB,CAAA;AAExB;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,MAAA,CAAA,GAAA,KAAY,CAAA;AAEZ,IAAA,WAAA,CAAA,iBAAA,CAAA,GAAA,KAAuB,CAAA;AAEvB;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,eAAA,CAAA,GAAA,KAAqB,CAAA;AAErB;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,gBAAA,CAAA,G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A,KAAmB,CAAA;AAEnB;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,UAAA,CAAA,GAAA,KAAgB,CAAA;AAEhB;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,gBAAA,CAAA,GAAA,KAAsB,CAAA;AAEtB;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AAEX;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AAEX;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,cAAA,CAAA,GAAA,KAAoB,CAAA;AACxB,CAAC,EA9XW,eAAe,KAAf,eAAe,GA8X1B,EAAA,CAAA,CAAA;;ACxYD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-addon-commerce-enums.js","sources":["../../../projects/addon-commerce/enums/currency.ts","../../../projects/addon-commerce/enums/currency-code.ts"],"sourcesContent":["// cspell:disable\n/**\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 */\n// TODO: change type in v4.0\n// eslint-disable-next-line no-restricted-syntax\nexport enum TuiCurrency {\n /**\n * Armenian dram\n *\n * @description Numeric code: 051\n * @description Alphabetic code: AMD\n * @description Countries and territories: Armenia\n * @description Currency symbol: ֏\n */\n ArmenianDram = `AMD`,\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 * @description Currency symbol: A$\n */\n AustralianDollar = `AUD`,\n\n AzerbaijaniManat = `AZN`,\n\n /**\n * Thai baht\n *\n * @description Numeric code: 764\n * @description Alphabetic code: THB\n * @description Countries and territories: Thailand\n * @description Currency symbol: ฿\n */\n Baht = `THB`,\n\n BelarusianRuble = `BYN`,\n\n /**\n * Brazilian Real\n *\n * @description Numeric code: 986\n * @description Alphabetic code: BRL\n * @description Countries and territories: Brazilia\n * @description Currency symbol: R$\n */\n BrazilianReal = `BRL`,\n\n /**\n * Canadian dollar\n *\n * @description Numeric code: 124\n * @description Alphabetic code: CAD\n * @description Countries and territories: Canada\n * @description Currency symbol: C$\n */\n CanadianDollar = `CAD`,\n\n /**\n * United Arab Emirates dirham\n *\n * @description Numeric code: 784\n * @description Alphabetic code: AED\n * @description Countries and territories: United Arab Emirates\n * @description Currency symbol: Dh\n */\n Dirham = `AED`,\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 * @description Currency symbol: $\n */\n Dollar = `USD`,\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 * @description Currency symbol: €\n */\n Euro = `EUR`,\n\n GeorgianLari = `GEL`,\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 * @description Currency symbol: HK$\n */\n HongKongDollar = `HKD`,\n\n /**\n * Ukrainian hryvnia\n *\n * @description Numeric code: 980\n * @description Alphabetic code: UAH\n * @description Countries and territories: Ukraine\n * @description Currency symbol: ₴\n */\n Hryvnia = `UAH`,\n\n /**\n * Indian rupee\n *\n * @description Numeric code: 356\n * @description Alphabetic code: INR\n * @description Countries and territories: India, Bhutan\n * @description Currency symbol: ₹\n */\n IndianRupee = `INR`,\n\n IndonesianRupiah = `IDR`,\n\n IranianRial = `IRR`,\n\n /**\n * Israeli new shekel\n *\n * @description Numeric code: 376\n * @description Alphabetic code: ILS\n * @description Countries and territories: Israel\n * @description Currency symbol: ₪\n */\n IsraeliShekel = `ILS`,\n\n /**\n * Kyrgyzstani som\n *\n * @description Numeric code: 417\n * @description Alphabetic code: KGS\n * @description Countries and territories: Kyrgyzstan\n * @description Currency symbol: c\n */\n KyrgyzstanSom = `KGS`,\n\n MalaysianRinggit = `MYR`,\n\n /**\n * Mexican peso\n *\n * @description Numeric code: 484\n * @description Alphabetic code: MXN\n * @description Countries and territories: Mexico\n * @description Currency symbol: $\n */\n MexicanPeso = `MXN`,\n\n MongolianTugrik = `MNT`,\n\n NewTurkmenManat = `TMT`,\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 * @description Currency symbol: £\n */\n Pound = `GBP`,\n\n /**\n * Russian ruble\n *\n * @description Numeric code: 643\n * @description Alphabetic code: RUB\n * @description Countries and territories: Russia\n * @description Currency symbol: ₽\n */\n Ruble = `RUB`,\n\n /**\n * Malaysian ringgit\n *\n * @description Numeric code: 458\n * @description Alphabetic code: MYR\n * @description Countries and territories: Malaysia\n * @description Currency symbol: RM\n */\n\n SaudiRiyal = `SAR`,\n /**\n *\n * Belarusian ruble\n *\n * @description Numeric code: 933\n * @description Alphabetic code: BYN\n * @description Countries and territories: Belarus\n * @description Currency symbol: Rbl\n */\n\n SerbianDinar = `RSD`,\n /**\n * Georgian lari\n *\n * @description Numeric code: 981\n * @description Alphabetic code: GEL\n * @description Countries and territories: Georgia\n * @description Currency symbol: ₾\n */\n\n /**\n * Singapore dollar\n *\n * @description Numeric code: 702\n * @description Alphabetic code: SGD\n * @description Countries and territories: Singapore\n * @description Currency symbol: S$\n */\n SingaporeDollar = `SGD`,\n /**\n * Azerbaijani manat\n *\n * @description Numeric code: 944\n * @description Alphabetic code: AZN\n * @description Countries and territories: Azerbaijan\n * @description Currency symbol: ₼\n */\n\n SouthAfricanRand = `ZAR`,\n /**\n * Sri Lankan rupee\n *\n * @description Numeric code: 144\n * @description Alphabetic code: LKR\n * @description Countries and territories: Sri Lanka\n * @description Currency symbol: Rs.\n */\n\n SriLankanRupee = `LKR`,\n /**\n * Serbian dinar\n *\n * @description Numeric code: 941\n * @description Alphabetic code: RSD\n * @description Countries and territories: Serbia\n * @description Currency symbol: DIN\n */\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 * @description Currency symbol: ₣\n */\n SwissFranc = `CHF`,\n /**\n * Saudi Riyal\n *\n * @description Numeric code: 682\n * @description Alphabetic code: SAR\n * @description Countries and territories: Saudi Arabia\n * @description Currency symbol: SR\n */\n\n /**\n * Tajikistani somoni\n *\n * @description Numeric code: 972\n * @description Alphabetic code: TJS\n * @description Countries and territories: Tajikistan\n * @description Currency symbol: SM\n */\n TajikistaniSomoni = `TJS`,\n /**\n * Mongolian tugrik\n *\n * @description Numeric code: 496\n * @description Alphabetic code: MNT\n * @description Countries and territories: Mongolia\n * @description Currency symbol: ₮\n */\n\n /**\n * Kazakhstani tenge\n *\n * @description Numeric code: 398\n * @description Alphabetic code: KZT\n * @description Countries and territories: Kazakhstan\n * @description Currency symbol: ₸\n */\n Tenge = `KZT`,\n /**\n * South African rand\n *\n * @description Numeric code: 710\n * @description Alphabetic code: ZAR\n * @description Countries and territories: South Africa\n * @description Currency symbol: R\n */\n\n /**\n * Turkish lira\n *\n * @description Numeric code: 949\n * @description Alphabetic code: TRY\n * @description Countries and territories: Turkey\n * @description Currency symbol: ₺\n */\n TurkishLira = `TRY`,\n /**\n * Iranian rial\n *\n * @description Numeric code: 364\n * @description Alphabetic code: IRR\n * @description Countries and territories: Iran\n * @description Currency symbol: IR\n */\n\n /**\n * Uzbek sum\n *\n * @description Numeric code: 860\n * @description Alphabetic code: UZS\n * @description Countries and territories: Uzbekistan\n * @description Currency symbol: So'm\n */\n UzbekSum = `UZS`,\n /**\n * Indonesian rupiah\n *\n * @description Numeric code: 360\n * @description Alphabetic code: IDR\n * @description Countries and territories: Indonesia\n * @description Currency symbol: Rp\n */\n\n VietnameseDong = `VND`,\n /**\n * Vietnamese dong\n *\n * @description Numeric code: 704\n * @description Alphabetic code: VND\n * @description Countries and territories: Vietnam\n * @description Currency symbol: đ\n */\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 * @description Currency symbol: ₩\n */\n Won = `KRW`,\n /**\n * New Turkmen manat\n *\n * @description Numeric code: 934\n * @description Alphabetic code: TMT\n * @description Countries and territories: Turkmenistan\n * @description Currency symbol: TMT\n */\n\n /**\n * Japanese yen\n *\n * @description Numeric code: 392\n * @description Alphabetic code: JPY\n * @description Countries and territories: Japan\n * @description Currency symbol: ¥\n */\n Yen = `JPY`,\n /**\n * Chinese yuan\n *\n * @description Numeric code: 156\n * @description Alphabetic code: CNY\n * @description Countries and territories: China\n * @description Currency symbol: CN¥\n */\n YuanRenminbi = `CNY`,\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 */\n// TODO: change type in v4.0\n// eslint-disable-next-line no-restricted-syntax\nexport enum TuiCurrencyCode {\n /**\n * Armenian dram\n *\n * @description Numeric code: 051\n * @description Alphabetic code: AMD\n * @description Countries and territories: Armenia\n * @description Currency symbol: ֏\n */\n ArmenianDram = `051`,\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 * @description Currency symbol: A$\n */\n AustralianDollar = `036`,\n\n /**\n * Azerbaijani manat\n *\n * @description Numeric code: 944\n * @description Alphabetic code: AZN\n * @description Countries and territories: Azerbaijan\n * @description Currency symbol: ₼\n */\n AzerbaijaniManat = `944`,\n\n /**\n * Thai baht\n *\n * @description Numeric code: 764\n * @description Alphabetic code: THB\n * @description Countries and territories: Thailand\n * @description Currency symbol: ฿\n */\n Baht = `764`,\n\n /**\n *\n * Belarusian ruble\n *\n * @description Numeric code: 933\n * @description Alphabetic code: BYN\n * @description Countries and territories: Belarus\n * @description Currency symbol: Rbl\n */\n BelarusianRuble = `933`,\n\n /**\n * Brazilian Real\n *\n * @description Numeric code: 986\n * @description Alphabetic code: BRL\n * @description Countries and territories: Brazilia\n * @description Currency symbol: R$\n */\n BrazilianReal = `986`,\n\n /**\n * Canadian dollar\n *\n * @description Numeric code: 124\n * @description Alphabetic code: CAD\n * @description Countries and territories: Canada\n * @description Currency symbol: C$\n */\n CanadianDollar = `124`,\n\n /**\n * United Arab Emirates dirham\n *\n * @description Numeric code: 784\n * @description Alphabetic code: AED\n * @description Countries and territories: United Arab Emirates\n * @description Currency symbol: Dh\n */\n Dirham = `784`,\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 * @description Currency symbol: $\n */\n Dollar = `840`,\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 * @description Currency symbol: €\n */\n Euro = `978`,\n\n /**\n * Georgian lari\n *\n * @description Numeric code: 981\n * @description Alphabetic code: GEL\n * @description Countries and territories: Georgia\n * @description Currency symbol: ₾\n */\n GeorgianLari = `981`,\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 * @description Currency symbol: HK$\n */\n HongKongDollar = `344`,\n\n /**\n * Ukrainian hryvnia\n *\n * @description Numeric code: 980\n * @description Alphabetic code: UAH\n * @description Countries and territories: Ukraine\n * @description Currency symbol: ₴\n */\n Hryvnia = `980`,\n\n /**\n * Indian rupee\n *\n * @description Numeric code: 356\n * @description Alphabetic code: INR\n * @description Countries and territories: India, Bhutan\n * @description Currency symbol: ₹\n */\n IndianRupee = `356`,\n\n /**\n * Indonesian rupiah\n *\n * @description Numeric code: 360\n * @description Alphabetic code: IDR\n * @description Countries and territories: Indonesia\n * @description Currency symbol: Rp\n */\n IndonesianRupiah = `360`,\n\n /**\n * Iranian rial\n *\n * @description Numeric code: 364\n * @description Alphabetic code: IRR\n * @description Countries and territories: Iran\n * @description Currency symbol: IR\n */\n IranianRial = `364`,\n\n /**\n * Israeli new shekel\n *\n * @description Numeric code: 376\n * @description Alphabetic code: ILS\n * @description Countries and territories: Israel\n * @description Currency symbol: ₪\n */\n IsraeliShekel = `376`,\n\n /**\n * Kyrgyzstani som\n *\n * @description Numeric code: 417\n * @description Alphabetic code: KGS\n * @description Countries and territories: Kyrgyzstan\n * @description Currency symbol: c\n */\n KyrgyzstanSom = `417`,\n\n /**\n * Malaysian ringgit\n *\n * @description Numeric code: 458\n * @description Alphabetic code: MYR\n * @description Countries and territories: Malaysia\n * @description Currency symbol: RM\n */\n MalaysianRinggit = `458`,\n\n /**\n * Mexican peso\n *\n * @description Numeric code: 484\n * @description Alphabetic code: MXN\n * @description Countries and territories: Mexico\n * @description Currency symbol: $\n */\n MexicanPeso = `484`,\n\n /**\n * Mongolian tugrik\n *\n * @description Numeric code: 496\n * @description Alphabetic code: MNT\n * @description Countries and territories: Mongolia\n * @description Currency symbol: ₮\n */\n MongolianTugrik = `496`,\n\n /**\n * New Turkmen manat\n *\n * @description Numeric code: 934\n * @description Alphabetic code: TMT\n * @description Countries and territories: Turkmenistan\n * @description Currency symbol: TMT\n */\n NewTurkmenManat = `934`,\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 * @description Currency symbol: £\n */\n Pound = `826`,\n\n /**\n * Tajikistani somoni\n *\n * @description Numeric code: 972\n * @description Alphabetic code: TJS\n * @description Countries and territories: Tajikistan\n * @description Currency symbol: SM\n */\n\n /**\n * Russian ruble\n *\n * @description Numeric code: 643\n * @description Alphabetic code: RUB\n * @description Countries and territories: Russia\n * @description Currency symbol: ₽\n */\n Ruble = `643`,\n\n /**\n * Saudi Riyal\n *\n * @description Numeric code: 682\n * @description Alphabetic code: SAR\n * @description Countries and territories: Saudi Arabia\n * @description Currency symbol: SR\n */\n SaudiRiyal = `682`,\n\n /**\n * Serbian dinar\n *\n * @description Numeric code: 941\n * @description Alphabetic code: RSD\n * @description Countries and territories: Serbia\n * @description Currency symbol: DIN\n */\n SerbianDinar = `941`,\n\n /**\n * Singapore dollar\n *\n * @description Numeric code: 702\n * @description Alphabetic code: SGD\n * @description Countries and territories: Singapore\n * @description Currency symbol: S$\n */\n SingaporeDollar = `702`,\n\n /**\n * South African rand\n *\n * @description Numeric code: 710\n * @description Alphabetic code: ZAR\n * @description Countries and territories: South Africa\n * @description Currency symbol: R\n */\n SouthAfricanRand = `710`,\n\n /**\n * Sri Lankan rupee\n *\n * @description Numeric code: 144\n * @description Alphabetic code: LKR\n * @description Countries and territories: Sri Lanka\n * @description Currency symbol: Rs.\n */\n SriLankanRupee = `144`,\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 * @description Currency symbol: ₣\n */\n SwissFranc = `756`,\n\n TajikistaniSomoni = `972`,\n\n /**\n * Kazakhstani tenge\n *\n * @description Numeric code: 398\n * @description Alphabetic code: KZT\n * @description Countries and territories: Kazakhstan\n * @description Currency symbol: ₸\n */\n Tenge = `398`,\n\n /**\n * Turkish lira\n *\n * @description Numeric code: 949\n * @description Alphabetic code: TRY\n * @description Countries and territories: Turkey\n * @description Currency symbol: ₺\n */\n TurkishLira = `949`,\n\n /**\n * Uzbek sum\n *\n * @description Numeric code: 860\n * @description Alphabetic code: UZS\n * @description Countries and territories: Uzbekistan\n * @description Currency symbol: So'm\n */\n UzbekSum = `860`,\n\n /**\n * Vietnamese dong\n *\n * @description Numeric code: 704\n * @description Alphabetic code: VND\n * @description Countries and territories: Vietnam\n * @description Currency symbol: đ\n */\n VietnameseDong = `704`,\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 * @description Currency symbol: ₩\n */\n Won = `410`,\n\n /**\n * Japanese yen\n *\n * @description Numeric code: 392\n * @description Alphabetic code: JPY\n * @description Countries and territories: Japan\n * @description Currency symbol: ¥\n */\n Yen = `392`,\n\n /**\n * Chinese yuan\n *\n * @description Numeric code: 156\n * @description Alphabetic code: CNY\n * @description Countries and territories: China\n * @description Currency symbol: CN¥\n */\n YuanRenminbi = `156`,\n}\n"],"names":[],"mappings":"IAWY,YA6XX;AA7XD,CAAA,UAAY,WAAW,EAAA;AASnB,IAAA,WAAA,CAAA,cAAA,CAAA,GAAA,KAAoB,CAAA;AAUpB,IAAA,WAAA,CAAA,kBAAA,CAAA,GAAA,KAAwB,CAAA;AAExB,IAAA,WAAA,CAAA,kBAAA,CAAA,GAAA,KAAwB,CAAA;AAUxB,IAAA,WAAA,CAAA,MAAA,CAAA,GAAA,KAAY,CAAA;AAEZ,IAAA,WAAA,CAAA,iBAAA,CAAA,GAAA,KAAuB,CAAA;AAUvB,IAAA,WAAA,CAAA,eAAA,CAAA,GAAA,KAAqB,CAAA;AAUrB,IAAA,WAAA,CAAA,gBAAA,CAAA,GAAA,KAAsB,CAAA;AAUtB,IAAA,WAAA,CAAA,QAAA,CAAA,GAAA,KAAc,CAAA;AAUd,IAAA,WAAA,CAAA,QAAA,CAAA,GAAA,KAAc,CAAA;AAUd,IAAA,WAAA,CAAA,MAAA,CAAA,GAAA,KAAY,CAAA;AAEZ,IAAA,WAAA,CAAA,cAAA,CAAA,GAAA,KAAoB,CAAA;AAUpB,IAAA,WAAA,CAAA,gBAAA,CAAA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X,IAAA,eAAA,CAAA,cAAA,CAAA,GAAA,KAAoB,CAAA;AACxB,CAAC,EA9XW,eAAe,KAAf,eAAe,GA8X1B,EAAA,CAAA,CAAA;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-addon-commerce-interfaces.js","sources":[
|
|
1
|
+
{"version":3,"file":"taiga-ui-addon-commerce-interfaces.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -59,9 +59,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
59
59
|
}]
|
|
60
60
|
}] });
|
|
61
61
|
|
|
62
|
-
/**
|
|
63
|
-
* Generated bundle index. Do not edit.
|
|
64
|
-
*/
|
|
65
|
-
|
|
66
62
|
export { TuiCurrencyPipe, TuiCurrencyPipeModule, TuiFormatCardModule, TuiFormatCardPipe };
|
|
67
63
|
//# sourceMappingURL=taiga-ui-addon-commerce-pipes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-addon-commerce-pipes.js","sources":["../../../projects/addon-commerce/pipes/currency/currency.pipe.ts","../../../projects/addon-commerce/pipes/currency/currency.module.ts","../../../projects/addon-commerce/pipes/format-card/format-card.pipe.ts","../../../projects/addon-commerce/pipes/format-card/format-card.module.ts"
|
|
1
|
+
{"version":3,"file":"taiga-ui-addon-commerce-pipes.js","sources":["../../../projects/addon-commerce/pipes/currency/currency.pipe.ts","../../../projects/addon-commerce/pipes/currency/currency.module.ts","../../../projects/addon-commerce/pipes/format-card/format-card.pipe.ts","../../../projects/addon-commerce/pipes/format-card/format-card.module.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {TuiCurrencyVariants} from '@taiga-ui/addon-commerce/types';\nimport {tuiFormatCurrency} from '@taiga-ui/addon-commerce/utils';\n\n@Pipe({\n name: `tuiCurrency`,\n})\nexport class TuiCurrencyPipe implements PipeTransform {\n transform(currency: TuiCurrencyVariants): string {\n return tuiFormatCurrency(currency);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiCurrencyPipe} from './currency.pipe';\n\n@NgModule({\n declarations: [TuiCurrencyPipe],\n exports: [TuiCurrencyPipe],\n})\nexport class TuiCurrencyPipeModule {}\n","import {Pipe, PipeTransform} from '@angular/core';\n\n@Pipe({name: `tuiFormatCard`})\nexport class TuiFormatCardPipe implements PipeTransform {\n transform(value: string | null = ``, cardPrefilled: boolean = false): string {\n return value && !cardPrefilled\n ? value\n .split(``)\n .map((char, index) => (index && index % 4 === 0 ? ` ${char}` : char))\n .join(``)\n : ``;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiFormatCardPipe} from './format-card.pipe';\n\n@NgModule({\n declarations: [TuiFormatCardPipe],\n exports: [TuiFormatCardPipe],\n})\nexport class TuiFormatCardModule {}\n"],"names":[],"mappings":";;;;MAOa,eAAe,CAAA;AACxB,IAAA,SAAS,CAAC,QAA6B,EAAA;AACnC,QAAA,OAAO,iBAAiB,CAAC,QAAQ,CAAC,CAAC;KACtC;;6GAHQ,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;2GAAf,eAAe,EAAA,IAAA,EAAA,aAAA,EAAA,CAAA,CAAA;4FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAH3B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,CAAa,WAAA,CAAA;AACtB,iBAAA,CAAA;;;MCEY,qBAAqB,CAAA;;mHAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;oHAArB,qBAAqB,EAAA,YAAA,EAAA,CAHf,eAAe,CAAA,EAAA,OAAA,EAAA,CACpB,eAAe,CAAA,EAAA,CAAA,CAAA;oHAEhB,qBAAqB,EAAA,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oBACN,YAAY,EAAE,CAAC,iBAAiB,CAAC;oBACjC,OAAO,EAAE,CAAC,iBAAiB,CAAC;AAC/B,iBAAA,CAAA;;;;;"}
|
|
@@ -2,22 +2,9 @@ import { tuiCreateTokenFromFactory, tuiCreateToken } from '@taiga-ui/cdk';
|
|
|
2
2
|
import { tuiExtractI18n } from '@taiga-ui/i18n';
|
|
3
3
|
import { of } from 'rxjs';
|
|
4
4
|
|
|
5
|
-
/**
|
|
6
|
-
* Number and card number i18n
|
|
7
|
-
*/
|
|
8
5
|
const TUI_CARD_NUMBER_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n(`cardNumber`));
|
|
9
|
-
/**
|
|
10
|
-
* Expiry and card expiry i18n
|
|
11
|
-
*/
|
|
12
6
|
const TUI_CARD_EXPIRY_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n(`cardExpiry`));
|
|
13
|
-
/**
|
|
14
|
-
* Card CVC number text [mobile, desktop]
|
|
15
|
-
*/
|
|
16
7
|
const TUI_CARD_CVC_TEXTS = tuiCreateToken(of([`CVC`, `CVC/CVV`]));
|
|
17
8
|
|
|
18
|
-
/**
|
|
19
|
-
* Generated bundle index. Do not edit.
|
|
20
|
-
*/
|
|
21
|
-
|
|
22
9
|
export { TUI_CARD_CVC_TEXTS, TUI_CARD_EXPIRY_TEXTS, TUI_CARD_NUMBER_TEXTS };
|
|
23
10
|
//# sourceMappingURL=taiga-ui-addon-commerce-tokens.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-addon-commerce-tokens.js","sources":["../../../projects/addon-commerce/tokens/i18n.ts"
|
|
1
|
+
{"version":3,"file":"taiga-ui-addon-commerce-tokens.js","sources":["../../../projects/addon-commerce/tokens/i18n.ts"],"sourcesContent":["import {tuiCreateToken, tuiCreateTokenFromFactory} from '@taiga-ui/cdk';\nimport {tuiExtractI18n} from '@taiga-ui/i18n';\nimport {Observable, of} from 'rxjs';\n\n/**\n * Number and card number i18n\n */\nexport const TUI_CARD_NUMBER_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`cardNumber`),\n);\n\n/**\n * Expiry and card expiry i18n\n */\nexport const TUI_CARD_EXPIRY_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`cardExpiry`),\n);\n\n/**\n * Card CVC number text [mobile, desktop]\n */\nexport const TUI_CARD_CVC_TEXTS = tuiCreateToken<Observable<[string, string]>>(\n of([`CVC`, `CVC/CVV`]),\n);\n"],"names":[],"mappings":";;;;AAOa,MAAA,qBAAqB,GAAG,yBAAyB,CAC1D,cAAc,CAAC,CAAA,UAAA,CAAY,CAAC,EAC9B;AAKW,MAAA,qBAAqB,GAAG,yBAAyB,CAC1D,cAAc,CAAC,CAAA,UAAA,CAAY,CAAC,EAC9B;AAKK,MAAM,kBAAkB,GAAG,cAAc,CAC5C,EAAE,CAAC,CAAC,KAAK,EAAE,CAAA,OAAA,CAAS,CAAC,CAAC;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-addon-commerce-types.js","sources":[
|
|
1
|
+
{"version":3,"file":"taiga-ui-addon-commerce-types.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -4,26 +4,15 @@ import { TuiCurrencyCode, TuiCurrency } from '@taiga-ui/addon-commerce/enums';
|
|
|
4
4
|
|
|
5
5
|
const TUI_EXP_YEAR_MONTH = /^\d{2}[/|.]\d{4}$/;
|
|
6
6
|
const TUI_EXP_SAFARI = /^\d{1,4}.\d{1,2}.\d{1,4}$/;
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated Use {@link https://maskito.dev/kit/date Date} from {@link https://github.com/taiga-family/maskito Maskito} instead
|
|
9
|
-
* TODO: delete in v4.0
|
|
10
|
-
* Correct expiration date text allowing only valid months
|
|
11
|
-
* @internal
|
|
12
|
-
*
|
|
13
|
-
* @returns MM/YY
|
|
14
|
-
*/
|
|
15
7
|
function tuiCreateAutoCorrectedExpirePipe() {
|
|
16
8
|
return (conformedValue, { rawValue }) => {
|
|
17
|
-
// Autofilled with MM/YYYY format
|
|
18
9
|
if (TUI_EXP_YEAR_MONTH.test(rawValue)) {
|
|
19
10
|
conformedValue = `${rawValue.slice(0, 2)}/${rawValue.slice(5)}`;
|
|
20
11
|
}
|
|
21
|
-
// Autofilled with Safari crazy format
|
|
22
12
|
if (rawValue.length > 7 &&
|
|
23
13
|
rawValue.length < 11 &&
|
|
24
14
|
TUI_EXP_SAFARI.test(rawValue)) {
|
|
25
15
|
const array = rawValue.split(TUI_NON_DIGIT_REGEXP);
|
|
26
|
-
// TODO: investigate why the month is sometimes more than 2-length in safari
|
|
27
16
|
const month = array[1].slice(2);
|
|
28
17
|
const year = array.find(({ length }) => length === 4);
|
|
29
18
|
conformedValue = `${`0`.repeat(2 - month.length)}${month}/${year ? year.slice(2) : ``}`;
|
|
@@ -173,7 +162,6 @@ function stringifyCurrency(currency) {
|
|
|
173
162
|
: String(currency).padStart(3, `0`);
|
|
174
163
|
}
|
|
175
164
|
|
|
176
|
-
// cspell:disable
|
|
177
165
|
const TUI_CODE_DICTIONARY = {
|
|
178
166
|
[TuiCurrency.Ruble]: TuiCurrencyCode.Ruble,
|
|
179
167
|
[TuiCurrency.Dollar]: TuiCurrencyCode.Dollar,
|
|
@@ -219,7 +207,6 @@ function tuiGetCodeByCurrency(code) {
|
|
|
219
207
|
return (_a = TUI_CODE_DICTIONARY[code]) !== null && _a !== void 0 ? _a : null;
|
|
220
208
|
}
|
|
221
209
|
|
|
222
|
-
// cspell:disable
|
|
223
210
|
const TUI_CURRENCY_DICTIONARY = {
|
|
224
211
|
[TuiCurrencyCode.Ruble]: TuiCurrency.Ruble,
|
|
225
212
|
[TuiCurrencyCode.Dollar]: TuiCurrency.Dollar,
|
|
@@ -267,7 +254,6 @@ function tuiGetCurrencyByCode(currency) {
|
|
|
267
254
|
return (_a = TUI_CURRENCY_DICTIONARY[currency]) !== null && _a !== void 0 ? _a : null;
|
|
268
255
|
}
|
|
269
256
|
|
|
270
|
-
// https://en.wikipedia.org/wiki/Payment_card_number#Issuer_identification_number_(IIN)
|
|
271
257
|
const TUI_BIN_TABLE = [
|
|
272
258
|
[`mir`, 2200, 2204],
|
|
273
259
|
[`mastercard`, 2221, 2720],
|
|
@@ -374,9 +360,6 @@ function tuiIsVisa(one) {
|
|
|
374
360
|
return one === 4;
|
|
375
361
|
}
|
|
376
362
|
|
|
377
|
-
/**
|
|
378
|
-
* Validates card number length using payment system dictionary
|
|
379
|
-
*/
|
|
380
363
|
function tuiIsCardLengthValid(cardNumber) {
|
|
381
364
|
const { length } = cardNumber;
|
|
382
365
|
const paymentSystem = tuiGetPaymentSystem(cardNumber);
|
|
@@ -395,9 +378,6 @@ function tuiIsCardLengthValid(cardNumber) {
|
|
|
395
378
|
}
|
|
396
379
|
}
|
|
397
380
|
|
|
398
|
-
/**
|
|
399
|
-
* Validates card number using Luhn algorithm
|
|
400
|
-
*/
|
|
401
381
|
function tuiIsCardNumberValid(value) {
|
|
402
382
|
const cardNumber = String(value).replace(TUI_NON_DIGITS_REGEXP, ``);
|
|
403
383
|
const { length } = cardNumber;
|
|
@@ -421,7 +401,6 @@ function tuiIsExpireValid(expire, today = new Date()) {
|
|
|
421
401
|
(currentYear === expireYear && expireMonth >= currentMonth));
|
|
422
402
|
}
|
|
423
403
|
|
|
424
|
-
// TODO: Make it a token in 4.0, think about mono icons for card component
|
|
425
404
|
const TUI_PAYMENT_SYSTEM_ICONS = {
|
|
426
405
|
mir: `tuiIconMir`,
|
|
427
406
|
visa: `tuiIconVisaMono`,
|
|
@@ -439,9 +418,5 @@ const TUI_PAYMENT_SYSTEM_ICONS = {
|
|
|
439
418
|
verve: `tuiIconVerve`,
|
|
440
419
|
};
|
|
441
420
|
|
|
442
|
-
/**
|
|
443
|
-
* Generated bundle index. Do not edit.
|
|
444
|
-
*/
|
|
445
|
-
|
|
446
421
|
export { TUI_BIN_TABLE, TUI_CODE_DICTIONARY, TUI_CURRENCY_DICTIONARY, TUI_PAYMENT_SYSTEM_ICONS, tuiCreateAutoCorrectedExpirePipe, tuiFormatCurrency, tuiGetCodeByCurrency, tuiGetCurrencyByCode, tuiGetCurrencySymbol, tuiGetPaymentSystem, tuiIsCardLengthValid, tuiIsCardNumberValid, tuiIsElectron, tuiIsExpireValid, tuiIsMaestro, tuiIsMastercard, tuiIsMir, tuiIsVisa };
|
|
447
422
|
//# sourceMappingURL=taiga-ui-addon-commerce-utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-addon-commerce-utils.js","sources":["../../../projects/addon-commerce/utils/create-auto-corrected-expire-pipe.ts","../../../projects/addon-commerce/utils/get-currency-symbol.ts","../../../projects/addon-commerce/utils/format-currency.ts","../../../projects/addon-commerce/utils/get-code-by-currency.ts","../../../projects/addon-commerce/utils/get-currency-by-code.ts","../../../projects/addon-commerce/utils/get-payment-system.ts","../../../projects/addon-commerce/utils/is-card-length-valid.ts","../../../projects/addon-commerce/utils/is-card-number-valid.ts","../../../projects/addon-commerce/utils/is-expire-valid.ts","../../../projects/addon-commerce/utils/payment-system-icons.ts","../../../projects/addon-commerce/utils/taiga-ui-addon-commerce-utils.ts"],"sourcesContent":["import {TUI_NON_DIGIT_REGEXP, TuiTextMaskPipeHandler} from '@taiga-ui/core';\n\nconst TUI_EXP_YEAR_MONTH = /^\\d{2}[/|.]\\d{4}$/;\nconst TUI_EXP_SAFARI = /^\\d{1,4}.\\d{1,2}.\\d{1,4}$/;\n\n/**\n * @deprecated Use {@link https://maskito.dev/kit/date Date} from {@link https://github.com/taiga-family/maskito Maskito} instead\n * TODO: delete in v4.0\n * Correct expiration date text allowing only valid months\n * @internal\n *\n * @returns MM/YY\n */\nexport function tuiCreateAutoCorrectedExpirePipe(): TuiTextMaskPipeHandler {\n return (conformedValue, {rawValue}) => {\n // Autofilled with MM/YYYY format\n if (TUI_EXP_YEAR_MONTH.test(rawValue)) {\n conformedValue = `${rawValue.slice(0, 2)}/${rawValue.slice(5)}`;\n }\n\n // Autofilled with Safari crazy format\n if (\n rawValue.length > 7 &&\n rawValue.length < 11 &&\n TUI_EXP_SAFARI.test(rawValue)\n ) {\n const array = rawValue.split(TUI_NON_DIGIT_REGEXP);\n\n // TODO: investigate why the month is sometimes more than 2-length in safari\n const month = array[1].slice(2);\n const year = array.find(({length}) => length === 4);\n\n conformedValue = `${`0`.repeat(2 - month.length)}${month}/${\n year ? year.slice(2) : ``\n }`;\n }\n\n const indexesOfPipedChars: number[] = [];\n const conformedValueArr = conformedValue.split(``);\n\n if (parseInt(conformedValueArr[0], 10) > 1) {\n conformedValueArr[2] = `/`;\n conformedValueArr[1] = conformedValueArr[0];\n conformedValueArr[0] = `0`;\n indexesOfPipedChars.push(0);\n }\n\n return {\n value: conformedValueArr.join(``),\n indexesOfPipedChars,\n };\n };\n}\n","import {TuiCurrency, TuiCurrencyCode} from '@taiga-ui/addon-commerce/enums';\nimport {TuiCurrencyVariants} from '@taiga-ui/addon-commerce/types';\n\nexport function tuiGetCurrencySymbol(currency: TuiCurrencyVariants): string | null {\n switch (currency) {\n case TuiCurrency.Ruble:\n case TuiCurrencyCode.Ruble:\n return `₽`;\n case TuiCurrency.Dollar:\n case TuiCurrencyCode.Dollar:\n case TuiCurrency.MexicanPeso:\n case TuiCurrencyCode.MexicanPeso:\n return `$`;\n case TuiCurrency.SingaporeDollar:\n case TuiCurrencyCode.SingaporeDollar:\n return `S$`;\n case TuiCurrency.AustralianDollar:\n case TuiCurrencyCode.AustralianDollar:\n return `A$`;\n case TuiCurrency.HongKongDollar:\n case TuiCurrencyCode.HongKongDollar:\n return `HK$`;\n case TuiCurrency.CanadianDollar:\n case TuiCurrencyCode.CanadianDollar:\n return `C$`;\n case TuiCurrency.Euro:\n case TuiCurrencyCode.Euro:\n return `€`;\n case TuiCurrency.Pound:\n case TuiCurrencyCode.Pound:\n return `£`;\n case TuiCurrency.Baht:\n case TuiCurrencyCode.Baht:\n return `฿`;\n case TuiCurrency.TurkishLira:\n case TuiCurrencyCode.TurkishLira:\n return `₺`;\n case TuiCurrency.YuanRenminbi:\n case TuiCurrencyCode.YuanRenminbi:\n return `CN¥`;\n case TuiCurrency.Yen:\n case TuiCurrencyCode.Yen:\n return `¥`;\n case TuiCurrency.IsraeliShekel:\n case TuiCurrencyCode.IsraeliShekel:\n return `₪`;\n case TuiCurrency.IndianRupee:\n case TuiCurrencyCode.IndianRupee:\n return `₹`;\n case TuiCurrency.SwissFranc:\n case TuiCurrencyCode.SwissFranc:\n return `₣`;\n case TuiCurrency.ArmenianDram:\n case TuiCurrencyCode.ArmenianDram:\n return `֏`;\n case TuiCurrency.Won:\n case TuiCurrencyCode.Won:\n return `₩`;\n case TuiCurrency.Tenge:\n case TuiCurrencyCode.Tenge:\n return `₸`;\n case TuiCurrency.Hryvnia:\n case TuiCurrencyCode.Hryvnia:\n return `₴`;\n case TuiCurrency.UzbekSum:\n case TuiCurrencyCode.UzbekSum:\n return `So'm`;\n case TuiCurrency.KyrgyzstanSom:\n case TuiCurrencyCode.KyrgyzstanSom:\n return `c`;\n case TuiCurrency.Dirham:\n case TuiCurrencyCode.Dirham:\n return `Dh`;\n case TuiCurrency.TajikistaniSomoni:\n case TuiCurrencyCode.TajikistaniSomoni:\n return `SM`;\n case TuiCurrency.MalaysianRinggit:\n case TuiCurrencyCode.MalaysianRinggit:\n return `RM`;\n case TuiCurrency.BelarusianRuble:\n case TuiCurrencyCode.BelarusianRuble:\n return `Br`;\n case TuiCurrency.GeorgianLari:\n case TuiCurrencyCode.GeorgianLari:\n return `₾`;\n case TuiCurrency.AzerbaijaniManat:\n case TuiCurrencyCode.AzerbaijaniManat:\n return `₼`;\n case TuiCurrency.SriLankanRupee:\n case TuiCurrencyCode.SriLankanRupee:\n return `Rs.`;\n case TuiCurrency.SerbianDinar:\n case TuiCurrencyCode.SerbianDinar:\n return `DIN`;\n case TuiCurrency.SaudiRiyal:\n case TuiCurrencyCode.SaudiRiyal:\n return `SR`;\n case TuiCurrency.MongolianTugrik:\n case TuiCurrencyCode.MongolianTugrik:\n return `₮`;\n case TuiCurrency.SouthAfricanRand:\n case TuiCurrencyCode.SouthAfricanRand:\n return `R`;\n case TuiCurrency.IranianRial:\n case TuiCurrencyCode.IranianRial:\n return `IR`;\n case TuiCurrency.IndonesianRupiah:\n case TuiCurrencyCode.IndonesianRupiah:\n return `Rp`;\n case TuiCurrency.VietnameseDong:\n case TuiCurrencyCode.VietnameseDong:\n return `đ`;\n case TuiCurrency.NewTurkmenManat:\n case TuiCurrencyCode.NewTurkmenManat:\n return `TMT`;\n case TuiCurrency.BrazilianReal:\n case TuiCurrencyCode.BrazilianReal:\n return `R$`;\n default:\n return null;\n }\n}\n","import {TuiCurrencyVariants} from '@taiga-ui/addon-commerce/types';\nimport {tuiIsString} from '@taiga-ui/cdk';\n\nimport {tuiGetCurrencySymbol} from './get-currency-symbol';\n\nexport function tuiFormatCurrency(currency: TuiCurrencyVariants): string {\n const stringifiedCurrency = stringifyCurrency(currency);\n\n return tuiGetCurrencySymbol(stringifiedCurrency) || stringifiedCurrency;\n}\n\nfunction stringifyCurrency(currency: TuiCurrencyVariants): string {\n return currency === null || tuiIsString(currency)\n ? currency || ``\n : String(currency).padStart(3, `0`);\n}\n","// cspell:disable\nimport {TuiCurrency, TuiCurrencyCode} from '@taiga-ui/addon-commerce/enums';\n\nexport const TUI_CODE_DICTIONARY: Record<TuiCurrency, TuiCurrencyCode> = {\n [TuiCurrency.Ruble]: TuiCurrencyCode.Ruble,\n [TuiCurrency.Dollar]: TuiCurrencyCode.Dollar,\n [TuiCurrency.MexicanPeso]: TuiCurrencyCode.MexicanPeso,\n [TuiCurrency.SingaporeDollar]: TuiCurrencyCode.SingaporeDollar,\n [TuiCurrency.AustralianDollar]: TuiCurrencyCode.AustralianDollar,\n [TuiCurrency.HongKongDollar]: TuiCurrencyCode.HongKongDollar,\n [TuiCurrency.CanadianDollar]: TuiCurrencyCode.CanadianDollar,\n [TuiCurrency.Euro]: TuiCurrencyCode.Euro,\n [TuiCurrency.Pound]: TuiCurrencyCode.Pound,\n [TuiCurrency.Baht]: TuiCurrencyCode.Baht,\n [TuiCurrency.TurkishLira]: TuiCurrencyCode.TurkishLira,\n [TuiCurrency.YuanRenminbi]: TuiCurrencyCode.YuanRenminbi,\n [TuiCurrency.Yen]: TuiCurrencyCode.Yen,\n [TuiCurrency.IsraeliShekel]: TuiCurrencyCode.IsraeliShekel,\n [TuiCurrency.IndianRupee]: TuiCurrencyCode.IndianRupee,\n [TuiCurrency.SwissFranc]: TuiCurrencyCode.SwissFranc,\n [TuiCurrency.ArmenianDram]: TuiCurrencyCode.ArmenianDram,\n [TuiCurrency.Won]: TuiCurrencyCode.Won,\n [TuiCurrency.Tenge]: TuiCurrencyCode.Tenge,\n [TuiCurrency.Hryvnia]: TuiCurrencyCode.Hryvnia,\n [TuiCurrency.UzbekSum]: TuiCurrencyCode.UzbekSum,\n [TuiCurrency.KyrgyzstanSom]: TuiCurrencyCode.KyrgyzstanSom,\n [TuiCurrency.Dirham]: TuiCurrencyCode.Dirham,\n [TuiCurrency.TajikistaniSomoni]: TuiCurrencyCode.TajikistaniSomoni,\n [TuiCurrency.MalaysianRinggit]: TuiCurrencyCode.MalaysianRinggit,\n [TuiCurrency.BelarusianRuble]: TuiCurrencyCode.BelarusianRuble,\n [TuiCurrency.GeorgianLari]: TuiCurrencyCode.GeorgianLari,\n [TuiCurrency.AzerbaijaniManat]: TuiCurrencyCode.AzerbaijaniManat,\n [TuiCurrency.SriLankanRupee]: TuiCurrencyCode.SriLankanRupee,\n [TuiCurrency.SerbianDinar]: TuiCurrencyCode.SerbianDinar,\n [TuiCurrency.SaudiRiyal]: TuiCurrencyCode.SaudiRiyal,\n [TuiCurrency.MongolianTugrik]: TuiCurrencyCode.MongolianTugrik,\n [TuiCurrency.SouthAfricanRand]: TuiCurrencyCode.SouthAfricanRand,\n [TuiCurrency.IranianRial]: TuiCurrencyCode.IranianRial,\n [TuiCurrency.IndonesianRupiah]: TuiCurrencyCode.IndonesianRupiah,\n [TuiCurrency.VietnameseDong]: TuiCurrencyCode.VietnameseDong,\n [TuiCurrency.NewTurkmenManat]: TuiCurrencyCode.NewTurkmenManat,\n [TuiCurrency.BrazilianReal]: TuiCurrencyCode.BrazilianReal,\n};\n\nexport function tuiGetCodeByCurrency(code: TuiCurrency): TuiCurrencyCode | null {\n return TUI_CODE_DICTIONARY[code] ?? null;\n}\n","// cspell:disable\nimport {TuiCurrency, TuiCurrencyCode} from '@taiga-ui/addon-commerce/enums';\n\nexport const TUI_CURRENCY_DICTIONARY: Record<TuiCurrencyCode, TuiCurrency> = {\n [TuiCurrencyCode.Ruble]: TuiCurrency.Ruble,\n [TuiCurrencyCode.Dollar]: TuiCurrency.Dollar,\n [TuiCurrencyCode.MexicanPeso]: TuiCurrency.MexicanPeso,\n [TuiCurrencyCode.SingaporeDollar]: TuiCurrency.SingaporeDollar,\n [TuiCurrencyCode.SingaporeDollar]: TuiCurrency.SingaporeDollar,\n [TuiCurrencyCode.AustralianDollar]: TuiCurrency.AustralianDollar,\n [TuiCurrencyCode.HongKongDollar]: TuiCurrency.HongKongDollar,\n [TuiCurrencyCode.CanadianDollar]: TuiCurrency.CanadianDollar,\n [TuiCurrencyCode.Euro]: TuiCurrency.Euro,\n [TuiCurrencyCode.Pound]: TuiCurrency.Pound,\n [TuiCurrencyCode.Baht]: TuiCurrency.Baht,\n [TuiCurrencyCode.TurkishLira]: TuiCurrency.TurkishLira,\n [TuiCurrencyCode.YuanRenminbi]: TuiCurrency.YuanRenminbi,\n [TuiCurrencyCode.Yen]: TuiCurrency.Yen,\n [TuiCurrencyCode.IsraeliShekel]: TuiCurrency.IsraeliShekel,\n [TuiCurrencyCode.IsraeliShekel]: TuiCurrency.IsraeliShekel,\n [TuiCurrencyCode.IndianRupee]: TuiCurrency.IndianRupee,\n [TuiCurrencyCode.SwissFranc]: TuiCurrency.SwissFranc,\n [TuiCurrencyCode.ArmenianDram]: TuiCurrency.ArmenianDram,\n [TuiCurrencyCode.Won]: TuiCurrency.Won,\n [TuiCurrencyCode.Tenge]: TuiCurrency.Tenge,\n [TuiCurrencyCode.Hryvnia]: TuiCurrency.Hryvnia,\n [TuiCurrencyCode.UzbekSum]: TuiCurrency.UzbekSum,\n [TuiCurrencyCode.KyrgyzstanSom]: TuiCurrency.KyrgyzstanSom,\n [TuiCurrencyCode.Dirham]: TuiCurrency.Dirham,\n [TuiCurrencyCode.TajikistaniSomoni]: TuiCurrency.TajikistaniSomoni,\n [TuiCurrencyCode.MalaysianRinggit]: TuiCurrency.MalaysianRinggit,\n [TuiCurrencyCode.BelarusianRuble]: TuiCurrency.BelarusianRuble,\n [TuiCurrencyCode.GeorgianLari]: TuiCurrency.GeorgianLari,\n [TuiCurrencyCode.AzerbaijaniManat]: TuiCurrency.AzerbaijaniManat,\n [TuiCurrencyCode.SriLankanRupee]: TuiCurrency.SriLankanRupee,\n [TuiCurrencyCode.SerbianDinar]: TuiCurrency.SerbianDinar,\n [TuiCurrencyCode.SaudiRiyal]: TuiCurrency.SaudiRiyal,\n [TuiCurrencyCode.MongolianTugrik]: TuiCurrency.MongolianTugrik,\n [TuiCurrencyCode.SouthAfricanRand]: TuiCurrency.SouthAfricanRand,\n [TuiCurrencyCode.IranianRial]: TuiCurrency.IranianRial,\n [TuiCurrencyCode.IndonesianRupiah]: TuiCurrency.IndonesianRupiah,\n [TuiCurrencyCode.VietnameseDong]: TuiCurrency.VietnameseDong,\n [TuiCurrencyCode.NewTurkmenManat]: TuiCurrency.NewTurkmenManat,\n [TuiCurrencyCode.BrazilianReal]: TuiCurrency.BrazilianReal,\n};\n\nexport function tuiGetCurrencyByCode(currency: TuiCurrencyCode): TuiCurrency | null {\n return TUI_CURRENCY_DICTIONARY[currency] ?? null;\n}\n","import {TuiPaymentSystem} from '@taiga-ui/addon-commerce/types';\n\n// https://en.wikipedia.org/wiki/Payment_card_number#Issuer_identification_number_(IIN)\nexport const TUI_BIN_TABLE: ReadonlyArray<\n [paymentSystem: TuiPaymentSystem, start: number, end?: number]\n> = [\n [`mir`, 2200, 2204],\n [`mastercard`, 2221, 2720],\n [`jcb`, 3528, 3589],\n [`amex`, 34],\n [`amex`, 37],\n [`dinersclub`, 36],\n [`electron`, 4026],\n [`electron`, 4175],\n [`electron`, 4405],\n [`electron`, 4508],\n [`electron`, 4844],\n [`electron`, 4913],\n [`electron`, 4917],\n [`visa`, 4],\n [`verve`, 506099, 506198],\n [`verve`, 507865, 507964],\n [`maestro`, 5018],\n [`maestro`, 5020],\n [`maestro`, 5038],\n [`maestro`, 5090],\n [`maestro`, 5890],\n [`maestro`, 5893],\n [`rupay`, 508],\n [`maestro`, 50],\n [`dinersclub`, 54],\n [`mastercard`, 51, 55],\n [`maestro`, 56],\n [`maestro`, 58],\n [`mastercard`, 5],\n [`maestro`, 6000],\n [`maestro`, 6304],\n [`maestro`, 6759, 6763],\n [`verve`, 650002, 650027],\n [`maestro`, 676770],\n [`maestro`, 676774],\n [`discover`, 644, 649],\n [`discover`, 6011],\n [`rupay`, 60],\n [`unionpay`, 62],\n [`discover`, 65],\n [`maestro`, 6],\n [`rupay`, 81, 82],\n [`uzcard`, 8600],\n [`humo`, 9860],\n];\n\nexport function tuiGetPaymentSystem(\n cardNumber?: string | null,\n supported?: TuiPaymentSystem[],\n): TuiPaymentSystem | null {\n if (!cardNumber) {\n return null;\n }\n\n const row = TUI_BIN_TABLE.find(([paymentSystem, start, end = start]) => {\n const cardNumberNumeric = Number.parseInt(\n cardNumber.slice(0, String(start).length),\n 10,\n );\n\n const match = cardNumberNumeric >= start && cardNumberNumeric <= end;\n\n return match && (!supported?.length || supported.includes(paymentSystem));\n });\n\n return row?.[0] ?? null;\n}\n\nexport function tuiIsMaestro(three: number, two: number, one: number): boolean {\n if (one === 6) {\n return true;\n }\n\n if (two === 50 || (two > 55 && two < 59)) {\n return true;\n }\n\n if (three < 500) {\n return false;\n }\n\n return three < 510;\n}\n\nexport function tuiIsMastercard(four: number, two: number, one: number): boolean {\n if (one === 5) {\n return true;\n }\n\n if (two < 10) {\n return false;\n }\n\n if (two > 50 && two < 56) {\n return true;\n }\n\n if (four < 1000) {\n return false;\n }\n\n return four > 2220 && four < 2721;\n}\n\nexport function tuiIsMir(four: number): boolean {\n return four > 2199 && four < 2205;\n}\n\nexport function tuiIsElectron(four: number): boolean {\n switch (four) {\n case 4026:\n case 4175:\n case 4405:\n case 4508:\n case 4844:\n case 4913:\n case 4917:\n return true;\n default:\n return false;\n }\n}\n\nexport function tuiIsVisa(one: number): boolean {\n return one === 4;\n}\n","import {tuiGetPaymentSystem} from './get-payment-system';\n\n/**\n * Validates card number length using payment system dictionary\n */\nexport function tuiIsCardLengthValid(cardNumber: string): boolean {\n const {length} = cardNumber;\n const paymentSystem = tuiGetPaymentSystem(cardNumber);\n\n switch (paymentSystem) {\n case `electron`:\n return length === 16;\n case `maestro`:\n return length > 11 && length < 20;\n case `mastercard`:\n case `mir`:\n return length > 15 && length < 20;\n case `visa`:\n return length > 12 && length < 20;\n default:\n return length > 8 && length < 20;\n }\n}\n","import {TUI_NON_DIGITS_REGEXP} from '@taiga-ui/core';\n\n/**\n * Validates card number using Luhn algorithm\n */\nexport function tuiIsCardNumberValid(value: number | string): boolean {\n const cardNumber = String(value).replace(TUI_NON_DIGITS_REGEXP, ``);\n\n const {length} = cardNumber;\n const arr = cardNumber.split(``).map((char, index) => {\n const digit = parseInt(char, 10);\n\n if ((index + length) % 2 === 0) {\n const digitX2 = digit * 2;\n\n return digitX2 > 9 ? digitX2 - 9 : digitX2;\n }\n\n return digit;\n });\n\n return !(arr.reduce((a, b) => a + b, 0) % 10);\n}\n","import {tuiClamp} from '@taiga-ui/cdk';\n\nexport function tuiIsExpireValid(expire: string, today = new Date()): boolean {\n const currentMonth = today.getMonth() + 1;\n const currentYear = today.getFullYear() - 2000;\n const expireMonth = tuiClamp(parseInt(expire.slice(0, 2), 10), 1, 12);\n const expireYear = tuiClamp(parseInt(expire.slice(-2), 10), 0, 99);\n\n return (\n expireYear > currentYear ||\n (currentYear === expireYear && expireMonth >= currentMonth)\n );\n}\n","import {TuiPaymentSystem} from '@taiga-ui/addon-commerce/types';\n\n// TODO: Make it a token in 4.0, think about mono icons for card component\nexport const TUI_PAYMENT_SYSTEM_ICONS: Record<TuiPaymentSystem, string> = {\n mir: `tuiIconMir`,\n visa: `tuiIconVisaMono`,\n electron: `tuiIconElectronMono`,\n mastercard: `tuiIconMastercard`,\n maestro: `tuiIconMaestro`,\n amex: `tuiIconAmex`,\n dinersclub: `tuiIconDinersClub`,\n discover: `tuiIconDiscover`,\n humo: `tuiIconHumo`,\n jcb: `tuiIconJCB`,\n rupay: `tuiIconRuPay`,\n unionpay: `tuiIconUnionPay`,\n uzcard: `tuiIconUzcard`,\n verve: `tuiIconVerve`,\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAEA,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AAC/C,MAAM,cAAc,GAAG,2BAA2B,CAAC;AAEnD;;;;;;;AAOG;SACa,gCAAgC,GAAA;AAC5C,IAAA,OAAO,CAAC,cAAc,EAAE,EAAC,QAAQ,EAAC,KAAI;;AAElC,QAAA,IAAI,kBAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;AACnC,YAAA,cAAc,GAAG,CAAG,EAAA,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA,CAAA,EAAI,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;AACnE,SAAA;;AAGD,QAAA,IACI,QAAQ,CAAC,MAAM,GAAG,CAAC;YACnB,QAAQ,CAAC,MAAM,GAAG,EAAE;AACpB,YAAA,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,EAC/B;YACE,MAAM,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;;YAGnD,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC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AE,CAAiB,eAAA,CAAA;AACvB,IAAA,QAAQ,EAAE,CAAqB,mBAAA,CAAA;AAC/B,IAAA,UAAU,EAAE,CAAmB,iBAAA,CAAA;AAC/B,IAAA,OAAO,EAAE,CAAgB,cAAA,CAAA;AACzB,IAAA,IAAI,EAAE,CAAa,WAAA,CAAA;AACnB,IAAA,UAAU,EAAE,CAAmB,iBAAA,CAAA;AAC/B,IAAA,QAAQ,EAAE,CAAiB,eAAA,CAAA;AAC3B,IAAA,IAAI,EAAE,CAAa,WAAA,CAAA;AACnB,IAAA,GAAG,EAAE,CAAY,UAAA,CAAA;AACjB,IAAA,KAAK,EAAE,CAAc,YAAA,CAAA;AACrB,IAAA,QAAQ,EAAE,CAAiB,eAAA,CAAA;AAC3B,IAAA,MAAM,EAAE,CAAe,aAAA,CAAA;AACvB,IAAA,KAAK,EAAE,CAAc,YAAA,CAAA;;;ACjBzB;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-addon-commerce-utils.js","sources":["../../../projects/addon-commerce/utils/create-auto-corrected-expire-pipe.ts","../../../projects/addon-commerce/utils/get-currency-symbol.ts","../../../projects/addon-commerce/utils/format-currency.ts","../../../projects/addon-commerce/utils/get-code-by-currency.ts","../../../projects/addon-commerce/utils/get-currency-by-code.ts","../../../projects/addon-commerce/utils/get-payment-system.ts","../../../projects/addon-commerce/utils/is-card-length-valid.ts","../../../projects/addon-commerce/utils/is-card-number-valid.ts","../../../projects/addon-commerce/utils/is-expire-valid.ts","../../../projects/addon-commerce/utils/payment-system-icons.ts"],"sourcesContent":["import {TUI_NON_DIGIT_REGEXP, TuiTextMaskPipeHandler} from '@taiga-ui/core';\n\nconst TUI_EXP_YEAR_MONTH = /^\\d{2}[/|.]\\d{4}$/;\nconst TUI_EXP_SAFARI = /^\\d{1,4}.\\d{1,2}.\\d{1,4}$/;\n\n/**\n * @deprecated Use {@link https://maskito.dev/kit/date Date} from {@link https://github.com/taiga-family/maskito Maskito} instead\n * TODO: delete in v4.0\n * Correct expiration date text allowing only valid months\n * @internal\n *\n * @returns MM/YY\n */\nexport function tuiCreateAutoCorrectedExpirePipe(): TuiTextMaskPipeHandler {\n return (conformedValue, {rawValue}) => {\n // Autofilled with MM/YYYY format\n if (TUI_EXP_YEAR_MONTH.test(rawValue)) {\n conformedValue = `${rawValue.slice(0, 2)}/${rawValue.slice(5)}`;\n }\n\n // Autofilled with Safari crazy format\n if (\n rawValue.length > 7 &&\n rawValue.length < 11 &&\n TUI_EXP_SAFARI.test(rawValue)\n ) {\n const array = rawValue.split(TUI_NON_DIGIT_REGEXP);\n\n // TODO: investigate why the month is sometimes more than 2-length in safari\n const month = array[1].slice(2);\n const year = array.find(({length}) => length === 4);\n\n conformedValue = `${`0`.repeat(2 - month.length)}${month}/${\n year ? year.slice(2) : ``\n }`;\n }\n\n const indexesOfPipedChars: number[] = [];\n const conformedValueArr = conformedValue.split(``);\n\n if (parseInt(conformedValueArr[0], 10) > 1) {\n conformedValueArr[2] = `/`;\n conformedValueArr[1] = conformedValueArr[0];\n conformedValueArr[0] = `0`;\n indexesOfPipedChars.push(0);\n }\n\n return {\n value: conformedValueArr.join(``),\n indexesOfPipedChars,\n };\n };\n}\n","import {TuiCurrency, TuiCurrencyCode} from '@taiga-ui/addon-commerce/enums';\nimport {TuiCurrencyVariants} from '@taiga-ui/addon-commerce/types';\n\nexport function tuiGetCurrencySymbol(currency: TuiCurrencyVariants): string | null {\n switch (currency) {\n case TuiCurrency.Ruble:\n case TuiCurrencyCode.Ruble:\n return `₽`;\n case TuiCurrency.Dollar:\n case TuiCurrencyCode.Dollar:\n case TuiCurrency.MexicanPeso:\n case TuiCurrencyCode.MexicanPeso:\n return `$`;\n case TuiCurrency.SingaporeDollar:\n case TuiCurrencyCode.SingaporeDollar:\n return `S$`;\n case TuiCurrency.AustralianDollar:\n case TuiCurrencyCode.AustralianDollar:\n return `A$`;\n case TuiCurrency.HongKongDollar:\n case TuiCurrencyCode.HongKongDollar:\n return `HK$`;\n case TuiCurrency.CanadianDollar:\n case TuiCurrencyCode.CanadianDollar:\n return `C$`;\n case TuiCurrency.Euro:\n case TuiCurrencyCode.Euro:\n return `€`;\n case TuiCurrency.Pound:\n case TuiCurrencyCode.Pound:\n return `£`;\n case TuiCurrency.Baht:\n case TuiCurrencyCode.Baht:\n return `฿`;\n case TuiCurrency.TurkishLira:\n case TuiCurrencyCode.TurkishLira:\n return `₺`;\n case TuiCurrency.YuanRenminbi:\n case TuiCurrencyCode.YuanRenminbi:\n return `CN¥`;\n case TuiCurrency.Yen:\n case TuiCurrencyCode.Yen:\n return `¥`;\n case TuiCurrency.IsraeliShekel:\n case TuiCurrencyCode.IsraeliShekel:\n return `₪`;\n case TuiCurrency.IndianRupee:\n case TuiCurrencyCode.IndianRupee:\n return `₹`;\n case TuiCurrency.SwissFranc:\n case TuiCurrencyCode.SwissFranc:\n return `₣`;\n case TuiCurrency.ArmenianDram:\n case TuiCurrencyCode.ArmenianDram:\n return `֏`;\n case TuiCurrency.Won:\n case TuiCurrencyCode.Won:\n return `₩`;\n case TuiCurrency.Tenge:\n case TuiCurrencyCode.Tenge:\n return `₸`;\n case TuiCurrency.Hryvnia:\n case TuiCurrencyCode.Hryvnia:\n return `₴`;\n case TuiCurrency.UzbekSum:\n case TuiCurrencyCode.UzbekSum:\n return `So'm`;\n case TuiCurrency.KyrgyzstanSom:\n case TuiCurrencyCode.KyrgyzstanSom:\n return `c`;\n case TuiCurrency.Dirham:\n case TuiCurrencyCode.Dirham:\n return `Dh`;\n case TuiCurrency.TajikistaniSomoni:\n case TuiCurrencyCode.TajikistaniSomoni:\n return `SM`;\n case TuiCurrency.MalaysianRinggit:\n case TuiCurrencyCode.MalaysianRinggit:\n return `RM`;\n case TuiCurrency.BelarusianRuble:\n case TuiCurrencyCode.BelarusianRuble:\n return `Br`;\n case TuiCurrency.GeorgianLari:\n case TuiCurrencyCode.GeorgianLari:\n return `₾`;\n case TuiCurrency.AzerbaijaniManat:\n case TuiCurrencyCode.AzerbaijaniManat:\n return `₼`;\n case TuiCurrency.SriLankanRupee:\n case TuiCurrencyCode.SriLankanRupee:\n return `Rs.`;\n case TuiCurrency.SerbianDinar:\n case TuiCurrencyCode.SerbianDinar:\n return `DIN`;\n case TuiCurrency.SaudiRiyal:\n case TuiCurrencyCode.SaudiRiyal:\n return `SR`;\n case TuiCurrency.MongolianTugrik:\n case TuiCurrencyCode.MongolianTugrik:\n return `₮`;\n case TuiCurrency.SouthAfricanRand:\n case TuiCurrencyCode.SouthAfricanRand:\n return `R`;\n case TuiCurrency.IranianRial:\n case TuiCurrencyCode.IranianRial:\n return `IR`;\n case TuiCurrency.IndonesianRupiah:\n case TuiCurrencyCode.IndonesianRupiah:\n return `Rp`;\n case TuiCurrency.VietnameseDong:\n case TuiCurrencyCode.VietnameseDong:\n return `đ`;\n case TuiCurrency.NewTurkmenManat:\n case TuiCurrencyCode.NewTurkmenManat:\n return `TMT`;\n case TuiCurrency.BrazilianReal:\n case TuiCurrencyCode.BrazilianReal:\n return `R$`;\n default:\n return null;\n }\n}\n","import {TuiCurrencyVariants} from '@taiga-ui/addon-commerce/types';\nimport {tuiIsString} from '@taiga-ui/cdk';\n\nimport {tuiGetCurrencySymbol} from './get-currency-symbol';\n\nexport function tuiFormatCurrency(currency: TuiCurrencyVariants): string {\n const stringifiedCurrency = stringifyCurrency(currency);\n\n return tuiGetCurrencySymbol(stringifiedCurrency) || stringifiedCurrency;\n}\n\nfunction stringifyCurrency(currency: TuiCurrencyVariants): string {\n return currency === null || tuiIsString(currency)\n ? currency || ``\n : String(currency).padStart(3, `0`);\n}\n","// cspell:disable\nimport {TuiCurrency, TuiCurrencyCode} from '@taiga-ui/addon-commerce/enums';\n\nexport const TUI_CODE_DICTIONARY: Record<TuiCurrency, TuiCurrencyCode> = {\n [TuiCurrency.Ruble]: TuiCurrencyCode.Ruble,\n [TuiCurrency.Dollar]: TuiCurrencyCode.Dollar,\n [TuiCurrency.MexicanPeso]: TuiCurrencyCode.MexicanPeso,\n [TuiCurrency.SingaporeDollar]: TuiCurrencyCode.SingaporeDollar,\n [TuiCurrency.AustralianDollar]: TuiCurrencyCode.AustralianDollar,\n [TuiCurrency.HongKongDollar]: TuiCurrencyCode.HongKongDollar,\n [TuiCurrency.CanadianDollar]: TuiCurrencyCode.CanadianDollar,\n [TuiCurrency.Euro]: TuiCurrencyCode.Euro,\n [TuiCurrency.Pound]: TuiCurrencyCode.Pound,\n [TuiCurrency.Baht]: TuiCurrencyCode.Baht,\n [TuiCurrency.TurkishLira]: TuiCurrencyCode.TurkishLira,\n [TuiCurrency.YuanRenminbi]: TuiCurrencyCode.YuanRenminbi,\n [TuiCurrency.Yen]: TuiCurrencyCode.Yen,\n [TuiCurrency.IsraeliShekel]: TuiCurrencyCode.IsraeliShekel,\n [TuiCurrency.IndianRupee]: TuiCurrencyCode.IndianRupee,\n [TuiCurrency.SwissFranc]: TuiCurrencyCode.SwissFranc,\n [TuiCurrency.ArmenianDram]: TuiCurrencyCode.ArmenianDram,\n [TuiCurrency.Won]: TuiCurrencyCode.Won,\n [TuiCurrency.Tenge]: TuiCurrencyCode.Tenge,\n [TuiCurrency.Hryvnia]: TuiCurrencyCode.Hryvnia,\n [TuiCurrency.UzbekSum]: TuiCurrencyCode.UzbekSum,\n [TuiCurrency.KyrgyzstanSom]: TuiCurrencyCode.KyrgyzstanSom,\n [TuiCurrency.Dirham]: TuiCurrencyCode.Dirham,\n [TuiCurrency.TajikistaniSomoni]: TuiCurrencyCode.TajikistaniSomoni,\n [TuiCurrency.MalaysianRinggit]: TuiCurrencyCode.MalaysianRinggit,\n [TuiCurrency.BelarusianRuble]: TuiCurrencyCode.BelarusianRuble,\n [TuiCurrency.GeorgianLari]: TuiCurrencyCode.GeorgianLari,\n [TuiCurrency.AzerbaijaniManat]: TuiCurrencyCode.AzerbaijaniManat,\n [TuiCurrency.SriLankanRupee]: TuiCurrencyCode.SriLankanRupee,\n [TuiCurrency.SerbianDinar]: TuiCurrencyCode.SerbianDinar,\n [TuiCurrency.SaudiRiyal]: TuiCurrencyCode.SaudiRiyal,\n [TuiCurrency.MongolianTugrik]: TuiCurrencyCode.MongolianTugrik,\n [TuiCurrency.SouthAfricanRand]: TuiCurrencyCode.SouthAfricanRand,\n [TuiCurrency.IranianRial]: TuiCurrencyCode.IranianRial,\n [TuiCurrency.IndonesianRupiah]: TuiCurrencyCode.IndonesianRupiah,\n [TuiCurrency.VietnameseDong]: TuiCurrencyCode.VietnameseDong,\n [TuiCurrency.NewTurkmenManat]: TuiCurrencyCode.NewTurkmenManat,\n [TuiCurrency.BrazilianReal]: TuiCurrencyCode.BrazilianReal,\n};\n\nexport function tuiGetCodeByCurrency(code: TuiCurrency): TuiCurrencyCode | null {\n return TUI_CODE_DICTIONARY[code] ?? null;\n}\n","// cspell:disable\nimport {TuiCurrency, TuiCurrencyCode} from '@taiga-ui/addon-commerce/enums';\n\nexport const TUI_CURRENCY_DICTIONARY: Record<TuiCurrencyCode, TuiCurrency> = {\n [TuiCurrencyCode.Ruble]: TuiCurrency.Ruble,\n [TuiCurrencyCode.Dollar]: TuiCurrency.Dollar,\n [TuiCurrencyCode.MexicanPeso]: TuiCurrency.MexicanPeso,\n [TuiCurrencyCode.SingaporeDollar]: TuiCurrency.SingaporeDollar,\n [TuiCurrencyCode.SingaporeDollar]: TuiCurrency.SingaporeDollar,\n [TuiCurrencyCode.AustralianDollar]: TuiCurrency.AustralianDollar,\n [TuiCurrencyCode.HongKongDollar]: TuiCurrency.HongKongDollar,\n [TuiCurrencyCode.CanadianDollar]: TuiCurrency.CanadianDollar,\n [TuiCurrencyCode.Euro]: TuiCurrency.Euro,\n [TuiCurrencyCode.Pound]: TuiCurrency.Pound,\n [TuiCurrencyCode.Baht]: TuiCurrency.Baht,\n [TuiCurrencyCode.TurkishLira]: TuiCurrency.TurkishLira,\n [TuiCurrencyCode.YuanRenminbi]: TuiCurrency.YuanRenminbi,\n [TuiCurrencyCode.Yen]: TuiCurrency.Yen,\n [TuiCurrencyCode.IsraeliShekel]: TuiCurrency.IsraeliShekel,\n [TuiCurrencyCode.IsraeliShekel]: TuiCurrency.IsraeliShekel,\n [TuiCurrencyCode.IndianRupee]: TuiCurrency.IndianRupee,\n [TuiCurrencyCode.SwissFranc]: TuiCurrency.SwissFranc,\n [TuiCurrencyCode.ArmenianDram]: TuiCurrency.ArmenianDram,\n [TuiCurrencyCode.Won]: TuiCurrency.Won,\n [TuiCurrencyCode.Tenge]: TuiCurrency.Tenge,\n [TuiCurrencyCode.Hryvnia]: TuiCurrency.Hryvnia,\n [TuiCurrencyCode.UzbekSum]: TuiCurrency.UzbekSum,\n [TuiCurrencyCode.KyrgyzstanSom]: TuiCurrency.KyrgyzstanSom,\n [TuiCurrencyCode.Dirham]: TuiCurrency.Dirham,\n [TuiCurrencyCode.TajikistaniSomoni]: TuiCurrency.TajikistaniSomoni,\n [TuiCurrencyCode.MalaysianRinggit]: TuiCurrency.MalaysianRinggit,\n [TuiCurrencyCode.BelarusianRuble]: TuiCurrency.BelarusianRuble,\n [TuiCurrencyCode.GeorgianLari]: TuiCurrency.GeorgianLari,\n [TuiCurrencyCode.AzerbaijaniManat]: TuiCurrency.AzerbaijaniManat,\n [TuiCurrencyCode.SriLankanRupee]: TuiCurrency.SriLankanRupee,\n [TuiCurrencyCode.SerbianDinar]: TuiCurrency.SerbianDinar,\n [TuiCurrencyCode.SaudiRiyal]: TuiCurrency.SaudiRiyal,\n [TuiCurrencyCode.MongolianTugrik]: TuiCurrency.MongolianTugrik,\n [TuiCurrencyCode.SouthAfricanRand]: TuiCurrency.SouthAfricanRand,\n [TuiCurrencyCode.IranianRial]: TuiCurrency.IranianRial,\n [TuiCurrencyCode.IndonesianRupiah]: TuiCurrency.IndonesianRupiah,\n [TuiCurrencyCode.VietnameseDong]: TuiCurrency.VietnameseDong,\n [TuiCurrencyCode.NewTurkmenManat]: TuiCurrency.NewTurkmenManat,\n [TuiCurrencyCode.BrazilianReal]: TuiCurrency.BrazilianReal,\n};\n\nexport function tuiGetCurrencyByCode(currency: TuiCurrencyCode): TuiCurrency | null {\n return TUI_CURRENCY_DICTIONARY[currency] ?? null;\n}\n","import {TuiPaymentSystem} from '@taiga-ui/addon-commerce/types';\n\n// https://en.wikipedia.org/wiki/Payment_card_number#Issuer_identification_number_(IIN)\nexport const TUI_BIN_TABLE: ReadonlyArray<\n [paymentSystem: TuiPaymentSystem, start: number, end?: number]\n> = [\n [`mir`, 2200, 2204],\n [`mastercard`, 2221, 2720],\n [`jcb`, 3528, 3589],\n [`amex`, 34],\n [`amex`, 37],\n [`dinersclub`, 36],\n [`electron`, 4026],\n [`electron`, 4175],\n [`electron`, 4405],\n [`electron`, 4508],\n [`electron`, 4844],\n [`electron`, 4913],\n [`electron`, 4917],\n [`visa`, 4],\n [`verve`, 506099, 506198],\n [`verve`, 507865, 507964],\n [`maestro`, 5018],\n [`maestro`, 5020],\n [`maestro`, 5038],\n [`maestro`, 5090],\n [`maestro`, 5890],\n [`maestro`, 5893],\n [`rupay`, 508],\n [`maestro`, 50],\n [`dinersclub`, 54],\n [`mastercard`, 51, 55],\n [`maestro`, 56],\n [`maestro`, 58],\n [`mastercard`, 5],\n [`maestro`, 6000],\n [`maestro`, 6304],\n [`maestro`, 6759, 6763],\n [`verve`, 650002, 650027],\n [`maestro`, 676770],\n [`maestro`, 676774],\n [`discover`, 644, 649],\n [`discover`, 6011],\n [`rupay`, 60],\n [`unionpay`, 62],\n [`discover`, 65],\n [`maestro`, 6],\n [`rupay`, 81, 82],\n [`uzcard`, 8600],\n [`humo`, 9860],\n];\n\nexport function tuiGetPaymentSystem(\n cardNumber?: string | null,\n supported?: TuiPaymentSystem[],\n): TuiPaymentSystem | null {\n if (!cardNumber) {\n return null;\n }\n\n const row = TUI_BIN_TABLE.find(([paymentSystem, start, end = start]) => {\n const cardNumberNumeric = Number.parseInt(\n cardNumber.slice(0, String(start).length),\n 10,\n );\n\n const match = cardNumberNumeric >= start && cardNumberNumeric <= end;\n\n return match && (!supported?.length || supported.includes(paymentSystem));\n });\n\n return row?.[0] ?? null;\n}\n\nexport function tuiIsMaestro(three: number, two: number, one: number): boolean {\n if (one === 6) {\n return true;\n }\n\n if (two === 50 || (two > 55 && two < 59)) {\n return true;\n }\n\n if (three < 500) {\n return false;\n }\n\n return three < 510;\n}\n\nexport function tuiIsMastercard(four: number, two: number, one: number): boolean {\n if (one === 5) {\n return true;\n }\n\n if (two < 10) {\n return false;\n }\n\n if (two > 50 && two < 56) {\n return true;\n }\n\n if (four < 1000) {\n return false;\n }\n\n return four > 2220 && four < 2721;\n}\n\nexport function tuiIsMir(four: number): boolean {\n return four > 2199 && four < 2205;\n}\n\nexport function tuiIsElectron(four: number): boolean {\n switch (four) {\n case 4026:\n case 4175:\n case 4405:\n case 4508:\n case 4844:\n case 4913:\n case 4917:\n return true;\n default:\n return false;\n }\n}\n\nexport function tuiIsVisa(one: number): boolean {\n return one === 4;\n}\n","import {tuiGetPaymentSystem} from './get-payment-system';\n\n/**\n * Validates card number length using payment system dictionary\n */\nexport function tuiIsCardLengthValid(cardNumber: string): boolean {\n const {length} = cardNumber;\n const paymentSystem = tuiGetPaymentSystem(cardNumber);\n\n switch (paymentSystem) {\n case `electron`:\n return length === 16;\n case `maestro`:\n return length > 11 && length < 20;\n case `mastercard`:\n case `mir`:\n return length > 15 && length < 20;\n case `visa`:\n return length > 12 && length < 20;\n default:\n return length > 8 && length < 20;\n }\n}\n","import {TUI_NON_DIGITS_REGEXP} from '@taiga-ui/core';\n\n/**\n * Validates card number using Luhn algorithm\n */\nexport function tuiIsCardNumberValid(value: number | string): boolean {\n const cardNumber = String(value).replace(TUI_NON_DIGITS_REGEXP, ``);\n\n const {length} = cardNumber;\n const arr = cardNumber.split(``).map((char, index) => {\n const digit = parseInt(char, 10);\n\n if ((index + length) % 2 === 0) {\n const digitX2 = digit * 2;\n\n return digitX2 > 9 ? digitX2 - 9 : digitX2;\n }\n\n return digit;\n });\n\n return !(arr.reduce((a, b) => a + b, 0) % 10);\n}\n","import {tuiClamp} from '@taiga-ui/cdk';\n\nexport function tuiIsExpireValid(expire: string, today = new Date()): boolean {\n const currentMonth = today.getMonth() + 1;\n const currentYear = today.getFullYear() - 2000;\n const expireMonth = tuiClamp(parseInt(expire.slice(0, 2), 10), 1, 12);\n const expireYear = tuiClamp(parseInt(expire.slice(-2), 10), 0, 99);\n\n return (\n expireYear > currentYear ||\n (currentYear === expireYear && expireMonth >= currentMonth)\n );\n}\n","import {TuiPaymentSystem} from '@taiga-ui/addon-commerce/types';\n\n// TODO: Make it a token in 4.0, think about mono icons for card component\nexport const TUI_PAYMENT_SYSTEM_ICONS: Record<TuiPaymentSystem, string> = {\n mir: `tuiIconMir`,\n visa: `tuiIconVisaMono`,\n electron: `tuiIconElectronMono`,\n mastercard: `tuiIconMastercard`,\n maestro: `tuiIconMaestro`,\n amex: `tuiIconAmex`,\n dinersclub: `tuiIconDinersClub`,\n discover: `tuiIconDiscover`,\n humo: `tuiIconHumo`,\n jcb: `tuiIconJCB`,\n rupay: `tuiIconRuPay`,\n unionpay: `tuiIconUnionPay`,\n uzcard: `tuiIconUzcard`,\n verve: `tuiIconVerve`,\n};\n"],"names":[],"mappings":";;;;AAEA,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AAC/C,MAAM,cAAc,GAAG,2BAA2B,CAAC;SAUnC,gCAAgC,GAAA;AAC5C,IAAA,OAAO,CAAC,cAAc,EAAE,EAAC,QAAQ,EAAC,KAAI;AAElC,QAAA,IAAI,kBAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;AACnC,YAAA,cAAc,GAAG,CAAG,EAAA,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA,CAAA,EAAI,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;AACnE,SAAA;AAGD,QAAA,IACI,QAAQ,CAAC,MAAM,GAAG,CAAC;YACnB,QAAQ,CAAC,MAAM,GAAG,EAAE;AACpB,YAAA,cAAc,CAAC,IAAI,CAA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AAY,CAAC,EAC7D;AACN;;ACTa,MAAA,wBAAwB,GAAqC;AACtE,IAAA,GAAG,EAAE,CAAY,UAAA,CAAA;AACjB,IAAA,IAAI,EAAE,CAAiB,eAAA,CAAA;AACvB,IAAA,QAAQ,EAAE,CAAqB,mBAAA,CAAA;AAC/B,IAAA,UAAU,EAAE,CAAmB,iBAAA,CAAA;AAC/B,IAAA,OAAO,EAAE,CAAgB,cAAA,CAAA;AACzB,IAAA,IAAI,EAAE,CAAa,WAAA,CAAA;AACnB,IAAA,UAAU,EAAE,CAAmB,iBAAA,CAAA;AAC/B,IAAA,QAAQ,EAAE,CAAiB,eAAA,CAAA;AAC3B,IAAA,IAAI,EAAE,CAAa,WAAA,CAAA;AACnB,IAAA,GAAG,EAAE,CAAY,UAAA,CAAA;AACjB,IAAA,KAAK,EAAE,CAAc,YAAA,CAAA;AACrB,IAAA,QAAQ,EAAE,CAAiB,eAAA,CAAA;AAC3B,IAAA,MAAM,EAAE,CAAe,aAAA,CAAA;AACvB,IAAA,KAAK,EAAE,CAAc,YAAA,CAAA;;;;;"}
|
|
@@ -18,9 +18,5 @@ function tuiCreateLuhnValidator(message) {
|
|
|
18
18
|
return ({ value }) => tuiIsCardNumberValid(value) ? null : { luhn: new TuiValidationError(message) };
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
/**
|
|
22
|
-
* Generated bundle index. Do not edit.
|
|
23
|
-
*/
|
|
24
|
-
|
|
25
21
|
export { tuiCardExpireValidator, tuiCardNumberValidator, tuiCreateLuhnValidator };
|
|
26
22
|
//# sourceMappingURL=taiga-ui-addon-commerce-validators.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-addon-commerce-validators.js","sources":["../../../projects/addon-commerce/validators/card-expire.validator.ts","../../../projects/addon-commerce/validators/card-number.validator.ts","../../../projects/addon-commerce/validators/luhn.validator.ts"
|
|
1
|
+
{"version":3,"file":"taiga-ui-addon-commerce-validators.js","sources":["../../../projects/addon-commerce/validators/card-expire.validator.ts","../../../projects/addon-commerce/validators/card-number.validator.ts","../../../projects/addon-commerce/validators/luhn.validator.ts"],"sourcesContent":["import {AbstractControl, ValidationErrors} from '@angular/forms';\nimport {tuiIsExpireValid} from '@taiga-ui/addon-commerce/utils';\nimport {TuiValidationError} from '@taiga-ui/cdk';\n\nexport function tuiCardExpireValidator({\n value,\n}: AbstractControl): ValidationErrors | null {\n return value?.expire?.length === 5 && !tuiIsExpireValid(value?.expire)\n ? {expire: new TuiValidationError(`Expire date`)}\n : null;\n}\n","import {AbstractControl, ValidationErrors} from '@angular/forms';\nimport {tuiIsCardNumberValid} from '@taiga-ui/addon-commerce/utils';\nimport {TuiValidationError} from '@taiga-ui/cdk';\n\nexport function tuiCardNumberValidator({\n value,\n}: AbstractControl): ValidationErrors | null {\n return value?.card && !tuiIsCardNumberValid(value.card)\n ? {card: new TuiValidationError(`Invalid card number`)}\n : null;\n}\n","import {AbstractControl, ValidatorFn} from '@angular/forms';\nimport {tuiIsCardNumberValid} from '@taiga-ui/addon-commerce/utils';\nimport {TuiValidationError} from '@taiga-ui/cdk';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport function tuiCreateLuhnValidator(message: PolymorpheusContent): ValidatorFn {\n return ({value}: AbstractControl) =>\n tuiIsCardNumberValid(value) ? null : {luhn: new TuiValidationError(message)};\n}\n"],"names":[],"mappings":";;;AAIgB,SAAA,sBAAsB,CAAC,EACnC,KAAK,GACS,EAAA;;IACd,OAAO,CAAA,CAAA,EAAA,GAAA,KAAK,KAAL,IAAA,IAAA,KAAK,uBAAL,KAAK,CAAE,MAAM,MAAA,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAE,MAAM,MAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,KAAK,KAAA,IAAA,IAAL,KAAK,KAAL,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,KAAK,CAAE,MAAM,CAAC;UAChE,EAAC,MAAM,EAAE,IAAI,kBAAkB,CAAC,CAAa,WAAA,CAAA,CAAC,EAAC;UAC/C,IAAI,CAAC;AACf;;ACNgB,SAAA,sBAAsB,CAAC,EACnC,KAAK,GACS,EAAA;AACd,IAAA,OAAO,CAAA,KAAK,KAAL,IAAA,IAAA,KAAK,uBAAL,KAAK,CAAE,IAAI,KAAI,CAAC,oBAAoB,CAAC,KAAK,CAAC,IAAI,CAAC;UACjD,EAAC,IAAI,EAAE,IAAI,kBAAkB,CAAC,CAAqB,mBAAA,CAAA,CAAC,EAAC;UACrD,IAAI,CAAC;AACf;;ACLM,SAAU,sBAAsB,CAAC,OAA4B,EAAA;IAC/D,OAAO,CAAC,EAAC,KAAK,EAAkB,KAC5B,oBAAoB,CAAC,KAAK,CAAC,GAAG,IAAI,GAAG,EAAC,IAAI,EAAE,IAAI,kBAAkB,CAAC,OAAO,CAAC,EAAC,CAAC;AACrF;;;;"}
|
|
@@ -7,8 +7,4 @@ export * from '@taiga-ui/addon-commerce/tokens';
|
|
|
7
7
|
export * from '@taiga-ui/addon-commerce/types';
|
|
8
8
|
export * from '@taiga-ui/addon-commerce/utils';
|
|
9
9
|
export * from '@taiga-ui/addon-commerce/validators';
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Generated bundle index. Do not edit.
|
|
13
|
-
*/
|
|
14
10
|
//# sourceMappingURL=taiga-ui-addon-commerce.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-addon-commerce.js","sources":[
|
|
1
|
+
{"version":3,"file":"taiga-ui-addon-commerce.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/addon-commerce",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.50.0",
|
|
4
4
|
"description": "Extension package for Taiga UI related to commerce, payment systems, currencies etc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@maskito/core": ">=1.3.0",
|
|
22
22
|
"@maskito/kit": ">=1.3.0",
|
|
23
23
|
"@ng-web-apis/common": ">=3.0.0",
|
|
24
|
-
"@taiga-ui/cdk": ">=3.
|
|
25
|
-
"@taiga-ui/core": ">=3.
|
|
26
|
-
"@taiga-ui/i18n": ">=3.
|
|
27
|
-
"@taiga-ui/kit": ">=3.
|
|
24
|
+
"@taiga-ui/cdk": ">=3.50.0",
|
|
25
|
+
"@taiga-ui/core": ">=3.50.0",
|
|
26
|
+
"@taiga-ui/i18n": ">=3.50.0",
|
|
27
|
+
"@taiga-ui/kit": ">=3.50.0",
|
|
28
28
|
"@tinkoff/ng-polymorpheus": ">=4.0.0",
|
|
29
29
|
"rxjs": ">=6.0.0"
|
|
30
30
|
},
|
package/tokens/i18n.d.ts
CHANGED
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
/**
|
|
3
|
-
* Number and card number i18n
|
|
4
|
-
*/
|
|
5
2
|
export declare const TUI_CARD_NUMBER_TEXTS: import("@angular/core").InjectionToken<Observable<[string, string]>>;
|
|
6
|
-
/**
|
|
7
|
-
* Expiry and card expiry i18n
|
|
8
|
-
*/
|
|
9
3
|
export declare const TUI_CARD_EXPIRY_TEXTS: import("@angular/core").InjectionToken<Observable<[string, string]>>;
|
|
10
|
-
/**
|
|
11
|
-
* Card CVC number text [mobile, desktop]
|
|
12
|
-
*/
|
|
13
4
|
export declare const TUI_CARD_CVC_TEXTS: import("@angular/core").InjectionToken<Observable<[string, string]>>;
|
|
@@ -1,10 +1,2 @@
|
|
|
1
1
|
import { TuiTextMaskPipeHandler } from '@taiga-ui/core';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated Use {@link https://maskito.dev/kit/date Date} from {@link https://github.com/taiga-family/maskito Maskito} instead
|
|
4
|
-
* TODO: delete in v4.0
|
|
5
|
-
* Correct expiration date text allowing only valid months
|
|
6
|
-
* @internal
|
|
7
|
-
*
|
|
8
|
-
* @returns MM/YY
|
|
9
|
-
*/
|
|
10
2
|
export declare function tuiCreateAutoCorrectedExpirePipe(): TuiTextMaskPipeHandler;
|