@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.
Files changed (131) hide show
  1. package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js +1 -10
  2. package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js.map +1 -1
  3. package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js +0 -10
  4. package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js.map +1 -1
  5. package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js +0 -5
  6. package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js.map +1 -1
  7. package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js +0 -4
  8. package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js.map +1 -1
  9. package/bundles/taiga-ui-addon-commerce-components-money.umd.js +0 -7
  10. package/bundles/taiga-ui-addon-commerce-components-money.umd.js.map +1 -1
  11. package/bundles/taiga-ui-addon-commerce-components-thumbnail-card.umd.js +2 -12
  12. package/bundles/taiga-ui-addon-commerce-components-thumbnail-card.umd.js.map +1 -1
  13. package/bundles/taiga-ui-addon-commerce-components.umd.js +0 -4
  14. package/bundles/taiga-ui-addon-commerce-components.umd.js.map +1 -1
  15. package/bundles/taiga-ui-addon-commerce-constants.umd.js +0 -12
  16. package/bundles/taiga-ui-addon-commerce-constants.umd.js.map +1 -1
  17. package/bundles/taiga-ui-addon-commerce-enums.umd.js +0 -635
  18. package/bundles/taiga-ui-addon-commerce-enums.umd.js.map +1 -1
  19. package/bundles/taiga-ui-addon-commerce-interfaces.umd.js +1 -3
  20. package/bundles/taiga-ui-addon-commerce-interfaces.umd.js.map +1 -1
  21. package/bundles/taiga-ui-addon-commerce-pipes.umd.js +0 -4
  22. package/bundles/taiga-ui-addon-commerce-pipes.umd.js.map +1 -1
  23. package/bundles/taiga-ui-addon-commerce-tokens.umd.js +0 -13
  24. package/bundles/taiga-ui-addon-commerce-tokens.umd.js.map +1 -1
  25. package/bundles/taiga-ui-addon-commerce-types.umd.js +1 -3
  26. package/bundles/taiga-ui-addon-commerce-types.umd.js.map +1 -1
  27. package/bundles/taiga-ui-addon-commerce-utils.umd.js +0 -23
  28. package/bundles/taiga-ui-addon-commerce-utils.umd.js.map +1 -1
  29. package/bundles/taiga-ui-addon-commerce-validators.umd.js +0 -4
  30. package/bundles/taiga-ui-addon-commerce-validators.umd.js.map +1 -1
  31. package/bundles/taiga-ui-addon-commerce.umd.js +0 -4
  32. package/bundles/taiga-ui-addon-commerce.umd.js.map +1 -1
  33. package/components/input-card/abstract-input-card.d.ts +0 -5
  34. package/components/input-card/taiga-ui-addon-commerce-components-input-card.d.ts +0 -3
  35. package/components/input-card-grouped/input-card-grouped.component.d.ts +0 -1
  36. package/components/input-card-grouped/input-card-grouped.providers.d.ts +0 -3
  37. package/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.d.ts +0 -3
  38. package/components/input-cvc/input-cvc.component.d.ts +0 -1
  39. package/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.d.ts +0 -3
  40. package/components/input-expire/taiga-ui-addon-commerce-components-input-expire.d.ts +0 -3
  41. package/components/money/money.options.d.ts +0 -3
  42. package/components/money/taiga-ui-addon-commerce-components-money.d.ts +0 -3
  43. package/components/taiga-ui-addon-commerce-components.d.ts +0 -3
  44. package/components/thumbnail-card/deprecated.d.ts +0 -6
  45. package/components/thumbnail-card/taiga-ui-addon-commerce-components-thumbnail-card.d.ts +0 -3
  46. package/constants/card-holder-mask.d.ts +0 -4
  47. package/constants/card-mask.d.ts +0 -3
  48. package/constants/taiga-ui-addon-commerce-constants.d.ts +0 -3
  49. package/enums/currency-code.d.ts +0 -313
  50. package/enums/currency.d.ts +0 -313
  51. package/enums/taiga-ui-addon-commerce-enums.d.ts +0 -3
  52. package/esm2015/components/input-card/abstract-input-card.js +1 -6
  53. package/esm2015/components/input-card/input-card.options.js +1 -2
  54. package/esm2015/components/input-card/taiga-ui-addon-commerce-components-input-card.js +1 -4
  55. package/esm2015/components/input-card-grouped/input-card-grouped.component.js +2 -4
  56. package/esm2015/components/input-card-grouped/input-card-grouped.providers.js +1 -4
  57. package/esm2015/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.js +1 -4
  58. package/esm2015/components/input-cvc/input-cvc.component.js +1 -2
  59. package/esm2015/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.js +1 -4
  60. package/esm2015/components/input-expire/taiga-ui-addon-commerce-components-input-expire.js +1 -4
  61. package/esm2015/components/money/money.options.js +1 -4
  62. package/esm2015/components/money/taiga-ui-addon-commerce-components-money.js +1 -4
  63. package/esm2015/components/taiga-ui-addon-commerce-components.js +1 -4
  64. package/esm2015/components/thumbnail-card/deprecated.js +2 -8
  65. package/esm2015/components/thumbnail-card/taiga-ui-addon-commerce-components-thumbnail-card.js +1 -4
  66. package/esm2015/components/thumbnail-card/thumbnail-card.component.js +1 -1
  67. package/esm2015/constants/card-holder-mask.js +1 -6
  68. package/esm2015/constants/card-mask.js +1 -4
  69. package/esm2015/constants/taiga-ui-addon-commerce-constants.js +1 -4
  70. package/esm2015/enums/currency-code.js +1 -316
  71. package/esm2015/enums/currency.js +1 -317
  72. package/esm2015/enums/taiga-ui-addon-commerce-enums.js +1 -4
  73. package/esm2015/interfaces/taiga-ui-addon-commerce-interfaces.js +1 -4
  74. package/esm2015/pipes/taiga-ui-addon-commerce-pipes.js +1 -4
  75. package/esm2015/taiga-ui-addon-commerce.js +1 -4
  76. package/esm2015/tokens/i18n.js +1 -10
  77. package/esm2015/tokens/taiga-ui-addon-commerce-tokens.js +1 -4
  78. package/esm2015/types/taiga-ui-addon-commerce-types.js +1 -4
  79. package/esm2015/utils/create-auto-corrected-expire-pipe.js +1 -12
  80. package/esm2015/utils/get-code-by-currency.js +1 -2
  81. package/esm2015/utils/get-currency-by-code.js +1 -2
  82. package/esm2015/utils/get-payment-system.js +1 -2
  83. package/esm2015/utils/is-card-length-valid.js +1 -4
  84. package/esm2015/utils/is-card-number-valid.js +1 -4
  85. package/esm2015/utils/payment-system-icons.js +1 -2
  86. package/esm2015/utils/taiga-ui-addon-commerce-utils.js +1 -4
  87. package/esm2015/validators/taiga-ui-addon-commerce-validators.js +1 -4
  88. package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js +1 -10
  89. package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js.map +1 -1
  90. package/fesm2015/taiga-ui-addon-commerce-components-input-card.js +0 -10
  91. package/fesm2015/taiga-ui-addon-commerce-components-input-card.js.map +1 -1
  92. package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.js +0 -5
  93. package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.js.map +1 -1
  94. package/fesm2015/taiga-ui-addon-commerce-components-input-expire.js +0 -4
  95. package/fesm2015/taiga-ui-addon-commerce-components-input-expire.js.map +1 -1
  96. package/fesm2015/taiga-ui-addon-commerce-components-money.js +0 -7
  97. package/fesm2015/taiga-ui-addon-commerce-components-money.js.map +1 -1
  98. package/fesm2015/taiga-ui-addon-commerce-components-thumbnail-card.js +2 -12
  99. package/fesm2015/taiga-ui-addon-commerce-components-thumbnail-card.js.map +1 -1
  100. package/fesm2015/taiga-ui-addon-commerce-components.js +0 -4
  101. package/fesm2015/taiga-ui-addon-commerce-components.js.map +1 -1
  102. package/fesm2015/taiga-ui-addon-commerce-constants.js +0 -12
  103. package/fesm2015/taiga-ui-addon-commerce-constants.js.map +1 -1
  104. package/fesm2015/taiga-ui-addon-commerce-enums.js +0 -635
  105. package/fesm2015/taiga-ui-addon-commerce-enums.js.map +1 -1
  106. package/fesm2015/taiga-ui-addon-commerce-interfaces.js +1 -3
  107. package/fesm2015/taiga-ui-addon-commerce-interfaces.js.map +1 -1
  108. package/fesm2015/taiga-ui-addon-commerce-pipes.js +0 -4
  109. package/fesm2015/taiga-ui-addon-commerce-pipes.js.map +1 -1
  110. package/fesm2015/taiga-ui-addon-commerce-tokens.js +0 -13
  111. package/fesm2015/taiga-ui-addon-commerce-tokens.js.map +1 -1
  112. package/fesm2015/taiga-ui-addon-commerce-types.js +1 -3
  113. package/fesm2015/taiga-ui-addon-commerce-types.js.map +1 -1
  114. package/fesm2015/taiga-ui-addon-commerce-utils.js +0 -25
  115. package/fesm2015/taiga-ui-addon-commerce-utils.js.map +1 -1
  116. package/fesm2015/taiga-ui-addon-commerce-validators.js +0 -4
  117. package/fesm2015/taiga-ui-addon-commerce-validators.js.map +1 -1
  118. package/fesm2015/taiga-ui-addon-commerce.js +0 -4
  119. package/fesm2015/taiga-ui-addon-commerce.js.map +1 -1
  120. package/interfaces/taiga-ui-addon-commerce-interfaces.d.ts +0 -3
  121. package/package.json +5 -5
  122. package/pipes/taiga-ui-addon-commerce-pipes.d.ts +0 -3
  123. package/taiga-ui-addon-commerce.d.ts +0 -3
  124. package/tokens/i18n.d.ts +0 -9
  125. package/tokens/taiga-ui-addon-commerce-tokens.d.ts +0 -3
  126. package/types/taiga-ui-addon-commerce-types.d.ts +0 -3
  127. package/utils/create-auto-corrected-expire-pipe.d.ts +0 -8
  128. package/utils/is-card-length-valid.d.ts +0 -3
  129. package/utils/is-card-number-valid.d.ts +0 -3
  130. package/utils/taiga-ui-addon-commerce-utils.d.ts +0 -3
  131. package/validators/taiga-ui-addon-commerce-validators.d.ts +0 -3
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-addon-commerce-enums.umd.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":["TuiCurrency","TuiCurrencyCode"],"mappings":";;;;;;IAAA;IACA;;;;;;;IAOG;IACH;IACA;AACYA,iCA6XX;IA7XD,CAAA,UAAY,WAAW,EAAA;IACnB;;;;;;;IAOG;IACH,IAAA,WAAA,CAAA,cAAA,CAAA,GAAA,KAAoB,CAAA;IAEpB;;;;;;;IAOG;IACH,IAAA,WAAA,CAAA,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GAAA,KAAwB,CAAA;IAExB;;;;;;;IAOG;IACH,IAAA,eAAA,CAAA,gBAAA,CAAA,GAAA,KAAsB,CAAA;IAEtB;;;;;;;IAOG;IACH,IAAA,eAAA,CAAA,YAAA,CAAA,GAAA,KAAkB,CAAA;IAElB,IAAA,eAAA,CAAA,mBAAA,CAAA,GAAA,KAAyB,CAAA;IAEzB;;;;;;;IAOG;IACH,IAAA,eAAA,CAAA,OAAA,CAAA,GAAA,KAAa,CAAA;IAEb;;;;;;;IAOG;IACH,IAAA,eAAA,CAAA,aAAA,CAAA,GAAA,KAAmB,CAAA;IAEnB;;;;;;;IAOG;IACH,IAAA,eAAA,CAAA,UAAA,CAAA,GAAA,KAAgB,CAAA;IAEhB;;;;;;;IAOG;IACH,IAAA,eAAA,CAAA,gBAAA,CAAA,GAAA,KAAsB,CAAA;IAEtB;;;;;;;IAOG;IACH,IAAA,eAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;IAEX;;;;;;;IAOG;IACH,IAAA,eAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;IAEX;;;;;;;IAOG;IACH,IAAA,eAAA,CAAA,cAAA,CAAA,GAAA,KAAoB,CAAA;IACxB,CAAC,EA9XWA,uBAAe,KAAfA,uBAAe,GA8X1B,EAAA,CAAA,CAAA;;ICxYD;;IAEG;;;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-addon-commerce-enums.umd.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":["TuiCurrency","TuiCurrencyCode"],"mappings":";;;;;;AAWYA,iCA6XX;IA7XD,CAAA,UAAY,WAAW,EAAA;IASnB,IAAA,WAAA,CAAA,cAAA,CAAA,GAAA,KAAoB,CAAA;IAUpB,IAAA,WAAA,CAAA,kBAAA,CAAA,GAAA,KAAwB,CAAA;IAExB,IAAA,WAAA,CAAA,kBAAA,CAAA,GAAA,KAAwB,CAAA;IAUxB,IAAA,WAAA,CAAA,MAAA,CAAA,GAAA,KAAY,CAAA;IAEZ,IAAA,WAAA,CAAA,iBAAA,CAA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AAA;IAElB,IAAA,eAAA,CAAA,mBAAA,CAAA,GAAA,KAAyB,CAAA;IAUzB,IAAA,eAAA,CAAA,OAAA,CAAA,GAAA,KAAa,CAAA;IAUb,IAAA,eAAA,CAAA,aAAA,CAAA,GAAA,KAAmB,CAAA;IAUnB,IAAA,eAAA,CAAA,UAAA,CAAA,GAAA,KAAgB,CAAA;IAUhB,IAAA,eAAA,CAAA,gBAAA,CAAA,GAAA,KAAsB,CAAA;IAUtB,IAAA,eAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;IAUX,IAAA,eAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;IAUX,IAAA,eAAA,CAAA,cAAA,CAAA,GAAA,KAAoB,CAAA;IACxB,CAAC,EA9XWA,uBAAe,KAAfA,uBAAe,GA8X1B,EAAA,CAAA,CAAA;;;;;;;;"}
@@ -3,9 +3,7 @@
3
3
  factory();
4
4
  })((function () { 'use strict';
5
5
 
6
- /**
7
- * Generated bundle index. Do not edit.
8
- */
6
+
9
7
 
10
8
  }));
11
9
  //# sourceMappingURL=taiga-ui-addon-commerce-interfaces.umd.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-addon-commerce-interfaces.umd.js","sources":["../../../projects/addon-commerce/interfaces/taiga-ui-addon-commerce-interfaces.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;CAAA;;CAEG;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-addon-commerce-interfaces.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -95,10 +95,6 @@
95
95
  }]
96
96
  }] });
97
97
 
98
- /**
99
- * Generated bundle index. Do not edit.
100
- */
101
-
102
98
  exports.TuiCurrencyPipe = TuiCurrencyPipe;
103
99
  exports.TuiCurrencyPipeModule = TuiCurrencyPipeModule;
104
100
  exports.TuiFormatCardModule = TuiFormatCardModule;
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-addon-commerce-pipes.umd.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","../../../projects/addon-commerce/pipes/taiga-ui-addon-commerce-pipes.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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["tuiFormatCurrency","i0","Pipe","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,QAAA,eAAA,kBAAA,YAAA;IAAA,IAAA,SAAA,eAAA,GAAA;;QACI,eAAS,CAAA,SAAA,CAAA,SAAA,GAAT,UAAU,QAA6B,EAAA;IACnC,QAAA,OAAOA,uBAAi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T,GAAG,CAAC,UAAC,IAAI,EAAE,KAAK,EAAK,EAAA,QAAC,KAAK,IAAI,KAAK,GAAG,CAAC,KAAK,CAAC,GAAG,GAAA,GAAI,IAAM,GAAG,IAAI,EAA7C,EAA8C,CAAC;qBACpE,IAAI,CAAC,EAAE,CAAC;kBACb,EAAE,CAAC;SACZ,CAAA;;;yIARQ,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAF,aAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;uIAAjB,iBAAiB,EAAA,IAAA,EAAA,eAAA,EAAA,CAAA,CAAA;sHAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;sBAD7BC,OAAI;uBAAC,EAAC,IAAI,EAAE,eAAe,EAAC,CAAA;;;ACM7B,QAAA,mBAAA,kBAAA,YAAA;IAAA,IAAA,SAAA,mBAAA,GAAA;;;;2IAAa,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAD,aAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;4IAAnB,mBAAmB,EAAA,YAAA,EAAA,CAHb,iBAAiB,CAAA,EAAA,OAAA,EAAA,CACtB,iBAAiB,CAAA,EAAA,CAAA,CAAA;4IAElB,mBAAmB,EAAA,CAAA,CAAA;sHAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;sBAJ/BE,WAAQ;IAAC,YAAA,IAAA,EAAA,CAAA;wBACN,YAAY,EAAE,CAAC,iBAAiB,CAAC;wBACjC,OAAO,EAAE,CAAC,iBAAiB,CAAC;qBAC/B,CAAA;;;ICPD;;IAEG;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-addon-commerce-pipes.umd.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":["tuiFormatCurrency","i0","Pipe","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,QAAA,eAAA,kBAAA,YAAA;IAAA,IAAA,SAAA,eAAA,GAAA;;QACI,eAAS,CAAA,SAAA,CAAA,SAAA,GAAT,UAAU,QAA6B,EAAA;IACnC,QAAA,OAAOA,uBAAiB,CAAC,QAAQ,CAAC,CAAC;SACtC,CAAA;;;uIAHQ,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAC,aAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;qIAAf,eAAe,EAAA,IAAA,EAAA,aAAA,EAAA,CAAA,CAAA;sHAAf,eAAe,EAAA,UAAA,EAAA,CAAA;sBAH3BC,OAAI;IAAC,YAAA,IAAA,EAAA,CAAA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AAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;uIAAjB,iBAAiB,EAAA,IAAA,EAAA,eAAA,EAAA,CAAA,CAAA;sHAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;sBAD7BC,OAAI;uBAAC,EAAC,IAAI,EAAE,eAAe,EAAC,CAAA;;;ACM7B,QAAA,mBAAA,kBAAA,YAAA;IAAA,IAAA,SAAA,mBAAA,GAAA;;;;2IAAa,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAD,aAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;4IAAnB,mBAAmB,EAAA,YAAA,EAAA,CAHb,iBAAiB,CAAA,EAAA,OAAA,EAAA,CACtB,iBAAiB,CAAA,EAAA,CAAA,CAAA;4IAElB,mBAAmB,EAAA,CAAA,CAAA;sHAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;sBAJ/BE,WAAQ;IAAC,YAAA,IAAA,EAAA,CAAA;wBACN,YAAY,EAAE,CAAC,iBAAiB,CAAC;wBACjC,OAAO,EAAE,CAAC,iBAAiB,CAAC;qBAC/B,CAAA;;;;;;;;;;;;;;"}
@@ -4,23 +4,10 @@
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"]["addon-commerce"] = global["taiga-ui"]["addon-commerce"] || {}, global["taiga-ui"]["addon-commerce"].tokens = {}), global.cdk, global.i18n, global.rxjs));
5
5
  })(this, (function (exports, cdk, i18n, rxjs) { 'use strict';
6
6
 
7
- /**
8
- * Number and card number i18n
9
- */
10
7
  var TUI_CARD_NUMBER_TEXTS = cdk.tuiCreateTokenFromFactory(i18n.tuiExtractI18n("cardNumber"));
11
- /**
12
- * Expiry and card expiry i18n
13
- */
14
8
  var TUI_CARD_EXPIRY_TEXTS = cdk.tuiCreateTokenFromFactory(i18n.tuiExtractI18n("cardExpiry"));
15
- /**
16
- * Card CVC number text [mobile, desktop]
17
- */
18
9
  var TUI_CARD_CVC_TEXTS = cdk.tuiCreateToken(rxjs.of(["CVC", "CVC/CVV"]));
19
10
 
20
- /**
21
- * Generated bundle index. Do not edit.
22
- */
23
-
24
11
  exports.TUI_CARD_CVC_TEXTS = TUI_CARD_CVC_TEXTS;
25
12
  exports.TUI_CARD_EXPIRY_TEXTS = TUI_CARD_EXPIRY_TEXTS;
26
13
  exports.TUI_CARD_NUMBER_TEXTS = TUI_CARD_NUMBER_TEXTS;
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-addon-commerce-tokens.umd.js","sources":["../../../projects/addon-commerce/tokens/i18n.ts","../../../projects/addon-commerce/tokens/taiga-ui-addon-commerce-tokens.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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["tuiCreateTokenFromFactory","tuiExtractI18n","tuiCreateToken","of"],"mappings":";;;;;;CAIA;;CAEG;AACU,KAAA,qBAAqB,GAAGA,6BAAyB,CAC1DC,mBAAc,CAAC,YAAY,CAAC,EAC9B;CAEF;;CAEG;AACU,KAAA,qBAAqB,GAAGD,6BAAyB,CAC1DC,mBAAc,CAAC,YAAY,CAAC,EAC9B;CAEF;;CAEG;AACI,KAAM,kBAAkB,GAAGC,kBAAc,CAC5CC,OAAE,CAAC,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;;CCtB1B;;CAEG;;;;;;;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-addon-commerce-tokens.umd.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":["tuiCreateTokenFromFactory","tuiExtractI18n","tuiCreateToken","of"],"mappings":";;;;;;AAOa,KAAA,qBAAqB,GAAGA,6BAAyB,CAC1DC,mBAAc,CAAC,YAAY,CAAC,EAC9B;AAKW,KAAA,qBAAqB,GAAGD,6BAAyB,CAC1DC,mBAAc,CAAC,YAAY,CAAC,EAC9B;AAKK,KAAM,kBAAkB,GAAGC,kBAAc,CAC5CC,OAAE,CAAC,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;;;;;;;;;;;;"}
@@ -3,9 +3,7 @@
3
3
  factory();
4
4
  })((function () { 'use strict';
5
5
 
6
- /**
7
- * Generated bundle index. Do not edit.
8
- */
6
+
9
7
 
10
8
  }));
11
9
  //# sourceMappingURL=taiga-ui-addon-commerce-types.umd.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-addon-commerce-types.umd.js","sources":["../../../projects/addon-commerce/types/taiga-ui-addon-commerce-types.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;CAAA;;CAEG;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-addon-commerce-types.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
@@ -6,27 +6,16 @@
6
6
 
7
7
  var TUI_EXP_YEAR_MONTH = /^\d{2}[/|.]\d{4}$/;
8
8
  var TUI_EXP_SAFARI = /^\d{1,4}.\d{1,2}.\d{1,4}$/;
9
- /**
10
- * @deprecated Use {@link https://maskito.dev/kit/date Date} from {@link https://github.com/taiga-family/maskito Maskito} instead
11
- * TODO: delete in v4.0
12
- * Correct expiration date text allowing only valid months
13
- * @internal
14
- *
15
- * @returns MM/YY
16
- */
17
9
  function tuiCreateAutoCorrectedExpirePipe() {
18
10
  return function (conformedValue, _a) {
19
11
  var rawValue = _a.rawValue;
20
- // Autofilled with MM/YYYY format
21
12
  if (TUI_EXP_YEAR_MONTH.test(rawValue)) {
22
13
  conformedValue = rawValue.slice(0, 2) + "/" + rawValue.slice(5);
23
14
  }
24
- // Autofilled with Safari crazy format
25
15
  if (rawValue.length > 7 &&
26
16
  rawValue.length < 11 &&
27
17
  TUI_EXP_SAFARI.test(rawValue)) {
28
18
  var array = rawValue.split(core.TUI_NON_DIGIT_REGEXP);
29
- // TODO: investigate why the month is sometimes more than 2-length in safari
30
19
  var month = array[1].slice(2);
31
20
  var year = array.find(function (_a) {
32
21
  var length = _a.length;
@@ -591,7 +580,6 @@
591
580
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
592
581
  }
593
582
 
594
- // https://en.wikipedia.org/wiki/Payment_card_number#Issuer_identification_number_(IIN)
595
583
  var TUI_BIN_TABLE = [
596
584
  ["mir", 2200, 2204],
597
585
  ["mastercard", 2221, 2720],
@@ -699,9 +687,6 @@
699
687
  return one === 4;
700
688
  }
701
689
 
702
- /**
703
- * Validates card number length using payment system dictionary
704
- */
705
690
  function tuiIsCardLengthValid(cardNumber) {
706
691
  var length = cardNumber.length;
707
692
  var paymentSystem = tuiGetPaymentSystem(cardNumber);
@@ -720,9 +705,6 @@
720
705
  }
721
706
  }
722
707
 
723
- /**
724
- * Validates card number using Luhn algorithm
725
- */
726
708
  function tuiIsCardNumberValid(value) {
727
709
  var cardNumber = String(value).replace(core.TUI_NON_DIGITS_REGEXP, "");
728
710
  var length = cardNumber.length;
@@ -747,7 +729,6 @@
747
729
  (currentYear === expireYear && expireMonth >= currentMonth));
748
730
  }
749
731
 
750
- // TODO: Make it a token in 4.0, think about mono icons for card component
751
732
  var TUI_PAYMENT_SYSTEM_ICONS = {
752
733
  mir: "tuiIconMir",
753
734
  visa: "tuiIconVisaMono",
@@ -765,10 +746,6 @@
765
746
  verve: "tuiIconVerve",
766
747
  };
767
748
 
768
- /**
769
- * Generated bundle index. Do not edit.
770
- */
771
-
772
749
  exports.TUI_BIN_TABLE = TUI_BIN_TABLE;
773
750
  exports.TUI_CODE_DICTIONARY = TUI_CODE_DICTIONARY;
774
751
  exports.TUI_CURRENCY_DICTIONARY = TUI_CURRENCY_DICTIONARY;