@taiga-ui/addon-commerce 3.58.0 → 3.59.0-canary.10da730

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 (261) hide show
  1. package/components/input-card/abstract-input-card.d.ts +1 -1
  2. package/components/input-card/input-card.component.d.ts +1 -1
  3. package/components/input-card/input-card.directive.d.ts +1 -1
  4. package/components/input-card-grouped/input-card-grouped.component.d.ts +1 -1
  5. package/components/input-cvc/input-cvc.component.d.ts +1 -1
  6. package/components/input-expire/input-expire.component.d.ts +1 -1
  7. package/components/money/money.component.d.ts +1 -1
  8. package/components/money/pipes/fraction-part.pipe.d.ts +1 -1
  9. package/components/money/pipes/integer-part.pipe.d.ts +1 -1
  10. package/components/money/pipes/sign-symbol.pipe.d.ts +1 -1
  11. package/components/thumbnail-card/deprecated.d.ts +1 -1
  12. package/components/thumbnail-card/thumbnail-card.component.d.ts +1 -1
  13. package/{esm2015/components/input-card/abstract-input-card.js → esm2020/components/input-card/abstract-input-card.mjs} +3 -3
  14. package/esm2020/components/input-card/input-card.component.mjs +91 -0
  15. package/{esm2015/components/input-card/input-card.directive.js → esm2020/components/input-card/input-card.directive.mjs} +3 -3
  16. package/{esm2015/components/input-card/input-card.module.js → esm2020/components/input-card/input-card.module.mjs} +9 -11
  17. package/esm2020/components/input-card-grouped/input-card-grouped.component.mjs +337 -0
  18. package/{esm2015/components/input-card-grouped/input-card-grouped.module.js → esm2020/components/input-card-grouped/input-card-grouped.module.mjs} +19 -21
  19. package/esm2020/components/input-card-grouped/input-card-grouped.options.mjs +14 -0
  20. package/esm2020/components/input-card-grouped/input-card-grouped.providers.mjs +28 -0
  21. package/esm2020/components/input-cvc/input-cvc.component.mjs +91 -0
  22. package/{esm2015/components/input-cvc/input-cvc.module.js → esm2020/components/input-cvc/input-cvc.module.mjs} +8 -10
  23. package/esm2020/components/input-expire/input-expire.component.mjs +73 -0
  24. package/{esm2015/components/input-expire/input-expire.module.js → esm2020/components/input-expire/input-expire.module.mjs} +8 -10
  25. package/esm2020/components/money/money.component.mjs +78 -0
  26. package/{esm2015/components/money/money.module.js → esm2020/components/money/money.module.mjs} +5 -5
  27. package/{esm2015/components/money/pipes/fraction-part.pipe.js → esm2020/components/money/pipes/fraction-part.pipe.mjs} +3 -3
  28. package/{esm2015/components/money/pipes/integer-part.pipe.js → esm2020/components/money/pipes/integer-part.pipe.mjs} +9 -5
  29. package/{esm2015/components/money/pipes/sign-symbol.pipe.js → esm2020/components/money/pipes/sign-symbol.pipe.mjs} +3 -3
  30. package/esm2020/components/money/utils/format-fraction-part.mjs +11 -0
  31. package/esm2020/components/thumbnail-card/deprecated.mjs +35 -0
  32. package/{esm2015/components/thumbnail-card/thumbnail-card.component.js → esm2020/components/thumbnail-card/thumbnail-card.component.mjs} +7 -12
  33. package/{esm2015/components/thumbnail-card/thumbnail-card.module.js → esm2020/components/thumbnail-card/thumbnail-card.module.mjs} +5 -5
  34. package/{esm2015/pipes/currency/currency.module.js → esm2020/pipes/currency/currency.module.mjs} +4 -4
  35. package/{esm2015/pipes/currency/currency.pipe.js → esm2020/pipes/currency/currency.pipe.mjs} +3 -3
  36. package/{esm2015/pipes/format-card/format-card.module.js → esm2020/pipes/format-card/format-card.module.mjs} +4 -4
  37. package/{esm2015/pipes/format-card/format-card.pipe.js → esm2020/pipes/format-card/format-card.pipe.mjs} +3 -3
  38. package/{esm2015/utils/get-code-by-currency.js → esm2020/utils/get-code-by-currency.mjs} +2 -3
  39. package/{esm2015/utils/get-currency-by-code.js → esm2020/utils/get-currency-by-code.mjs} +2 -3
  40. package/esm2020/utils/get-payment-system.mjs +105 -0
  41. package/esm2020/validators/card-expire.validator.mjs +8 -0
  42. package/esm2020/validators/card-number.validator.mjs +8 -0
  43. package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.mjs +450 -0
  44. package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.mjs.map +1 -0
  45. package/fesm2015/taiga-ui-addon-commerce-components-input-card.mjs +230 -0
  46. package/fesm2015/taiga-ui-addon-commerce-components-input-card.mjs.map +1 -0
  47. package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.mjs +128 -0
  48. package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.mjs.map +1 -0
  49. package/fesm2015/taiga-ui-addon-commerce-components-input-expire.mjs +110 -0
  50. package/fesm2015/taiga-ui-addon-commerce-components-input-expire.mjs.map +1 -0
  51. package/fesm2015/taiga-ui-addon-commerce-components-money.mjs +205 -0
  52. package/fesm2015/taiga-ui-addon-commerce-components-money.mjs.map +1 -0
  53. package/fesm2015/taiga-ui-addon-commerce-components-thumbnail-card.mjs +100 -0
  54. package/fesm2015/taiga-ui-addon-commerce-components-thumbnail-card.mjs.map +1 -0
  55. package/fesm2015/{taiga-ui-addon-commerce-components.js → taiga-ui-addon-commerce-components.mjs} +1 -1
  56. package/fesm2015/taiga-ui-addon-commerce-components.mjs.map +1 -0
  57. package/fesm2015/{taiga-ui-addon-commerce-constants.js → taiga-ui-addon-commerce-constants.mjs} +1 -1
  58. package/fesm2015/taiga-ui-addon-commerce-constants.mjs.map +1 -0
  59. package/fesm2015/{taiga-ui-addon-commerce-enums.js → taiga-ui-addon-commerce-enums.mjs} +1 -1
  60. package/fesm2015/taiga-ui-addon-commerce-enums.mjs.map +1 -0
  61. package/fesm2015/taiga-ui-addon-commerce-interfaces.mjs +4 -0
  62. package/fesm2015/taiga-ui-addon-commerce-interfaces.mjs.map +1 -0
  63. package/fesm2015/{taiga-ui-addon-commerce-pipes.js → taiga-ui-addon-commerce-pipes.mjs} +15 -15
  64. package/fesm2015/taiga-ui-addon-commerce-pipes.mjs.map +1 -0
  65. package/fesm2015/{taiga-ui-addon-commerce-tokens.js → taiga-ui-addon-commerce-tokens.mjs} +1 -1
  66. package/fesm2015/taiga-ui-addon-commerce-tokens.mjs.map +1 -0
  67. package/fesm2015/taiga-ui-addon-commerce-types.mjs +4 -0
  68. package/fesm2015/taiga-ui-addon-commerce-types.mjs.map +1 -0
  69. package/fesm2015/{taiga-ui-addon-commerce-utils.js → taiga-ui-addon-commerce-utils.mjs} +1 -1
  70. package/fesm2015/taiga-ui-addon-commerce-utils.mjs.map +1 -0
  71. package/fesm2015/{taiga-ui-addon-commerce-validators.js → taiga-ui-addon-commerce-validators.mjs} +1 -1
  72. package/fesm2015/taiga-ui-addon-commerce-validators.mjs.map +1 -0
  73. package/fesm2015/{taiga-ui-addon-commerce.js → taiga-ui-addon-commerce.mjs} +1 -1
  74. package/fesm2015/taiga-ui-addon-commerce.mjs.map +1 -0
  75. package/fesm2020/taiga-ui-addon-commerce-components-input-card-grouped.mjs +440 -0
  76. package/fesm2020/taiga-ui-addon-commerce-components-input-card-grouped.mjs.map +1 -0
  77. package/{fesm2015/taiga-ui-addon-commerce-components-input-card.js → fesm2020/taiga-ui-addon-commerce-components-input-card.mjs} +28 -38
  78. package/fesm2020/taiga-ui-addon-commerce-components-input-card.mjs.map +1 -0
  79. package/{fesm2015/taiga-ui-addon-commerce-components-input-cvc.js → fesm2020/taiga-ui-addon-commerce-components-input-cvc.mjs} +27 -36
  80. package/fesm2020/taiga-ui-addon-commerce-components-input-cvc.mjs.map +1 -0
  81. package/{fesm2015/taiga-ui-addon-commerce-components-input-expire.js → fesm2020/taiga-ui-addon-commerce-components-input-expire.mjs} +20 -29
  82. package/fesm2020/taiga-ui-addon-commerce-components-input-expire.mjs.map +1 -0
  83. package/{fesm2015/taiga-ui-addon-commerce-components-money.js → fesm2020/taiga-ui-addon-commerce-components-money.mjs} +67 -65
  84. package/fesm2020/taiga-ui-addon-commerce-components-money.mjs.map +1 -0
  85. package/{fesm2015/taiga-ui-addon-commerce-components-thumbnail-card.js → fesm2020/taiga-ui-addon-commerce-components-thumbnail-card.mjs} +19 -29
  86. package/fesm2020/taiga-ui-addon-commerce-components-thumbnail-card.mjs.map +1 -0
  87. package/fesm2020/taiga-ui-addon-commerce-components.mjs +11 -0
  88. package/fesm2020/taiga-ui-addon-commerce-components.mjs.map +1 -0
  89. package/fesm2020/taiga-ui-addon-commerce-constants.mjs +103 -0
  90. package/fesm2020/taiga-ui-addon-commerce-constants.mjs.map +1 -0
  91. package/fesm2020/taiga-ui-addon-commerce-enums.mjs +721 -0
  92. package/fesm2020/taiga-ui-addon-commerce-enums.mjs.map +1 -0
  93. package/fesm2020/taiga-ui-addon-commerce-interfaces.mjs +4 -0
  94. package/fesm2020/taiga-ui-addon-commerce-interfaces.mjs.map +1 -0
  95. package/fesm2020/taiga-ui-addon-commerce-pipes.mjs +67 -0
  96. package/fesm2020/taiga-ui-addon-commerce-pipes.mjs.map +1 -0
  97. package/fesm2020/taiga-ui-addon-commerce-tokens.mjs +23 -0
  98. package/fesm2020/taiga-ui-addon-commerce-tokens.mjs.map +1 -0
  99. package/fesm2020/taiga-ui-addon-commerce-types.mjs +4 -0
  100. package/fesm2020/taiga-ui-addon-commerce-types.mjs.map +1 -0
  101. package/fesm2020/taiga-ui-addon-commerce-utils.mjs +443 -0
  102. package/fesm2020/taiga-ui-addon-commerce-utils.mjs.map +1 -0
  103. package/fesm2020/taiga-ui-addon-commerce-validators.mjs +25 -0
  104. package/fesm2020/taiga-ui-addon-commerce-validators.mjs.map +1 -0
  105. package/fesm2020/taiga-ui-addon-commerce.mjs +14 -0
  106. package/fesm2020/taiga-ui-addon-commerce.mjs.map +1 -0
  107. package/package.json +172 -39
  108. package/pipes/currency/currency.pipe.d.ts +1 -1
  109. package/pipes/format-card/format-card.pipe.d.ts +1 -1
  110. package/types/code-length.d.ts +1 -1
  111. package/types/currency-variants.d.ts +2 -2
  112. package/types/money-sign.d.ts +2 -2
  113. package/types/payment-system.d.ts +1 -1
  114. package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js +0 -917
  115. package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js.map +0 -1
  116. package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js +0 -635
  117. package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js.map +0 -1
  118. package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js +0 -507
  119. package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js.map +0 -1
  120. package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js +0 -480
  121. package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js.map +0 -1
  122. package/bundles/taiga-ui-addon-commerce-components-money.umd.js +0 -272
  123. package/bundles/taiga-ui-addon-commerce-components-money.umd.js.map +0 -1
  124. package/bundles/taiga-ui-addon-commerce-components-thumbnail-card.umd.js +0 -475
  125. package/bundles/taiga-ui-addon-commerce-components-thumbnail-card.umd.js.map +0 -1
  126. package/bundles/taiga-ui-addon-commerce-components.umd.js +0 -51
  127. package/bundles/taiga-ui-addon-commerce-components.umd.js.map +0 -1
  128. package/bundles/taiga-ui-addon-commerce-constants.umd.js +0 -114
  129. package/bundles/taiga-ui-addon-commerce-constants.umd.js.map +0 -1
  130. package/bundles/taiga-ui-addon-commerce-enums.umd.js +0 -729
  131. package/bundles/taiga-ui-addon-commerce-enums.umd.js.map +0 -1
  132. package/bundles/taiga-ui-addon-commerce-interfaces.umd.js +0 -11
  133. package/bundles/taiga-ui-addon-commerce-interfaces.umd.js.map +0 -1
  134. package/bundles/taiga-ui-addon-commerce-pipes.umd.js +0 -110
  135. package/bundles/taiga-ui-addon-commerce-pipes.umd.js.map +0 -1
  136. package/bundles/taiga-ui-addon-commerce-tokens.umd.js +0 -31
  137. package/bundles/taiga-ui-addon-commerce-tokens.umd.js.map +0 -1
  138. package/bundles/taiga-ui-addon-commerce-types.umd.js +0 -11
  139. package/bundles/taiga-ui-addon-commerce-types.umd.js.map +0 -1
  140. package/bundles/taiga-ui-addon-commerce-utils.umd.js +0 -793
  141. package/bundles/taiga-ui-addon-commerce-utils.umd.js.map +0 -1
  142. package/bundles/taiga-ui-addon-commerce-validators.umd.js +0 -40
  143. package/bundles/taiga-ui-addon-commerce-validators.umd.js.map +0 -1
  144. package/bundles/taiga-ui-addon-commerce.umd.js +0 -69
  145. package/bundles/taiga-ui-addon-commerce.umd.js.map +0 -1
  146. package/components/input-card/package.json +0 -10
  147. package/components/input-card/taiga-ui-addon-commerce-components-input-card.d.ts +0 -5
  148. package/components/input-card-grouped/package.json +0 -10
  149. package/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.d.ts +0 -5
  150. package/components/input-cvc/package.json +0 -10
  151. package/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.d.ts +0 -5
  152. package/components/input-expire/package.json +0 -10
  153. package/components/input-expire/taiga-ui-addon-commerce-components-input-expire.d.ts +0 -5
  154. package/components/money/package.json +0 -10
  155. package/components/money/taiga-ui-addon-commerce-components-money.d.ts +0 -5
  156. package/components/package.json +0 -10
  157. package/components/taiga-ui-addon-commerce-components.d.ts +0 -5
  158. package/components/thumbnail-card/package.json +0 -10
  159. package/components/thumbnail-card/taiga-ui-addon-commerce-components-thumbnail-card.d.ts +0 -5
  160. package/constants/package.json +0 -10
  161. package/constants/taiga-ui-addon-commerce-constants.d.ts +0 -5
  162. package/enums/package.json +0 -10
  163. package/enums/taiga-ui-addon-commerce-enums.d.ts +0 -5
  164. package/esm2015/components/input-card/input-card.component.js +0 -99
  165. package/esm2015/components/input-card-grouped/input-card-grouped.component.js +0 -357
  166. package/esm2015/components/input-card-grouped/input-card-grouped.options.js +0 -9
  167. package/esm2015/components/input-card-grouped/input-card-grouped.providers.js +0 -29
  168. package/esm2015/components/input-cvc/input-cvc.component.js +0 -98
  169. package/esm2015/components/input-expire/input-expire.component.js +0 -80
  170. package/esm2015/components/money/money.component.js +0 -83
  171. package/esm2015/components/money/utils/format-fraction-part.js +0 -8
  172. package/esm2015/components/thumbnail-card/deprecated.js +0 -40
  173. package/esm2015/utils/get-payment-system.js +0 -106
  174. package/esm2015/validators/card-expire.validator.js +0 -9
  175. package/esm2015/validators/card-number.validator.js +0 -8
  176. package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js +0 -458
  177. package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js.map +0 -1
  178. package/fesm2015/taiga-ui-addon-commerce-components-input-card.js.map +0 -1
  179. package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.js.map +0 -1
  180. package/fesm2015/taiga-ui-addon-commerce-components-input-expire.js.map +0 -1
  181. package/fesm2015/taiga-ui-addon-commerce-components-money.js.map +0 -1
  182. package/fesm2015/taiga-ui-addon-commerce-components-thumbnail-card.js.map +0 -1
  183. package/fesm2015/taiga-ui-addon-commerce-components.js.map +0 -1
  184. package/fesm2015/taiga-ui-addon-commerce-constants.js.map +0 -1
  185. package/fesm2015/taiga-ui-addon-commerce-enums.js.map +0 -1
  186. package/fesm2015/taiga-ui-addon-commerce-interfaces.js +0 -4
  187. package/fesm2015/taiga-ui-addon-commerce-interfaces.js.map +0 -1
  188. package/fesm2015/taiga-ui-addon-commerce-pipes.js.map +0 -1
  189. package/fesm2015/taiga-ui-addon-commerce-tokens.js.map +0 -1
  190. package/fesm2015/taiga-ui-addon-commerce-types.js +0 -4
  191. package/fesm2015/taiga-ui-addon-commerce-types.js.map +0 -1
  192. package/fesm2015/taiga-ui-addon-commerce-utils.js.map +0 -1
  193. package/fesm2015/taiga-ui-addon-commerce-validators.js.map +0 -1
  194. package/fesm2015/taiga-ui-addon-commerce.js.map +0 -1
  195. package/interfaces/package.json +0 -10
  196. package/interfaces/taiga-ui-addon-commerce-interfaces.d.ts +0 -5
  197. package/pipes/package.json +0 -10
  198. package/pipes/taiga-ui-addon-commerce-pipes.d.ts +0 -5
  199. package/taiga-ui-addon-commerce.d.ts +0 -5
  200. package/tokens/package.json +0 -10
  201. package/tokens/taiga-ui-addon-commerce-tokens.d.ts +0 -5
  202. package/types/package.json +0 -10
  203. package/types/taiga-ui-addon-commerce-types.d.ts +0 -5
  204. package/utils/package.json +0 -10
  205. package/utils/taiga-ui-addon-commerce-utils.d.ts +0 -5
  206. package/validators/package.json +0 -10
  207. package/validators/taiga-ui-addon-commerce-validators.d.ts +0 -5
  208. /package/{esm2015/components/index.js → esm2020/components/index.mjs} +0 -0
  209. /package/{esm2015/components/input-card/index.js → esm2020/components/input-card/index.mjs} +0 -0
  210. /package/{esm2015/components/input-card/input-card.options.js → esm2020/components/input-card/input-card.options.mjs} +0 -0
  211. /package/{esm2015/components/input-card/taiga-ui-addon-commerce-components-input-card.js → esm2020/components/input-card/taiga-ui-addon-commerce-components-input-card.mjs} +0 -0
  212. /package/{esm2015/components/input-card-grouped/index.js → esm2020/components/input-card-grouped/index.mjs} +0 -0
  213. /package/{esm2015/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.js → esm2020/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.mjs} +0 -0
  214. /package/{esm2015/components/input-cvc/index.js → esm2020/components/input-cvc/index.mjs} +0 -0
  215. /package/{esm2015/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.js → esm2020/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.mjs} +0 -0
  216. /package/{esm2015/components/input-expire/index.js → esm2020/components/input-expire/index.mjs} +0 -0
  217. /package/{esm2015/components/input-expire/taiga-ui-addon-commerce-components-input-expire.js → esm2020/components/input-expire/taiga-ui-addon-commerce-components-input-expire.mjs} +0 -0
  218. /package/{esm2015/components/money/index.js → esm2020/components/money/index.mjs} +0 -0
  219. /package/{esm2015/components/money/money.options.js → esm2020/components/money/money.options.mjs} +0 -0
  220. /package/{esm2015/components/money/taiga-ui-addon-commerce-components-money.js → esm2020/components/money/taiga-ui-addon-commerce-components-money.mjs} +0 -0
  221. /package/{esm2015/components/money/utils/format-sign-symbol.js → esm2020/components/money/utils/format-sign-symbol.mjs} +0 -0
  222. /package/{esm2015/components/taiga-ui-addon-commerce-components.js → esm2020/components/taiga-ui-addon-commerce-components.mjs} +0 -0
  223. /package/{esm2015/components/thumbnail-card/index.js → esm2020/components/thumbnail-card/index.mjs} +0 -0
  224. /package/{esm2015/components/thumbnail-card/taiga-ui-addon-commerce-components-thumbnail-card.js → esm2020/components/thumbnail-card/taiga-ui-addon-commerce-components-thumbnail-card.mjs} +0 -0
  225. /package/{esm2015/constants/card-holder-mask.js → esm2020/constants/card-holder-mask.mjs} +0 -0
  226. /package/{esm2015/constants/card-mask.js → esm2020/constants/card-mask.mjs} +0 -0
  227. /package/{esm2015/constants/default-card-validator.js → esm2020/constants/default-card-validator.mjs} +0 -0
  228. /package/{esm2015/constants/index.js → esm2020/constants/index.mjs} +0 -0
  229. /package/{esm2015/constants/taiga-ui-addon-commerce-constants.js → esm2020/constants/taiga-ui-addon-commerce-constants.mjs} +0 -0
  230. /package/{esm2015/enums/currency-code.js → esm2020/enums/currency-code.mjs} +0 -0
  231. /package/{esm2015/enums/currency.js → esm2020/enums/currency.mjs} +0 -0
  232. /package/{esm2015/enums/index.js → esm2020/enums/index.mjs} +0 -0
  233. /package/{esm2015/enums/taiga-ui-addon-commerce-enums.js → esm2020/enums/taiga-ui-addon-commerce-enums.mjs} +0 -0
  234. /package/{esm2015/index.js → esm2020/index.mjs} +0 -0
  235. /package/{esm2015/interfaces/card.js → esm2020/interfaces/card.mjs} +0 -0
  236. /package/{esm2015/interfaces/index.js → esm2020/interfaces/index.mjs} +0 -0
  237. /package/{esm2015/interfaces/taiga-ui-addon-commerce-interfaces.js → esm2020/interfaces/taiga-ui-addon-commerce-interfaces.mjs} +0 -0
  238. /package/{esm2015/pipes/index.js → esm2020/pipes/index.mjs} +0 -0
  239. /package/{esm2015/pipes/taiga-ui-addon-commerce-pipes.js → esm2020/pipes/taiga-ui-addon-commerce-pipes.mjs} +0 -0
  240. /package/{esm2015/taiga-ui-addon-commerce.js → esm2020/taiga-ui-addon-commerce.mjs} +0 -0
  241. /package/{esm2015/tokens/i18n.js → esm2020/tokens/i18n.mjs} +0 -0
  242. /package/{esm2015/tokens/index.js → esm2020/tokens/index.mjs} +0 -0
  243. /package/{esm2015/tokens/taiga-ui-addon-commerce-tokens.js → esm2020/tokens/taiga-ui-addon-commerce-tokens.mjs} +0 -0
  244. /package/{esm2015/types/code-length.js → esm2020/types/code-length.mjs} +0 -0
  245. /package/{esm2015/types/currency-variants.js → esm2020/types/currency-variants.mjs} +0 -0
  246. /package/{esm2015/types/index.js → esm2020/types/index.mjs} +0 -0
  247. /package/{esm2015/types/money-sign.js → esm2020/types/money-sign.mjs} +0 -0
  248. /package/{esm2015/types/payment-system.js → esm2020/types/payment-system.mjs} +0 -0
  249. /package/{esm2015/types/taiga-ui-addon-commerce-types.js → esm2020/types/taiga-ui-addon-commerce-types.mjs} +0 -0
  250. /package/{esm2015/utils/create-auto-corrected-expire-pipe.js → esm2020/utils/create-auto-corrected-expire-pipe.mjs} +0 -0
  251. /package/{esm2015/utils/format-currency.js → esm2020/utils/format-currency.mjs} +0 -0
  252. /package/{esm2015/utils/get-currency-symbol.js → esm2020/utils/get-currency-symbol.mjs} +0 -0
  253. /package/{esm2015/utils/index.js → esm2020/utils/index.mjs} +0 -0
  254. /package/{esm2015/utils/is-card-length-valid.js → esm2020/utils/is-card-length-valid.mjs} +0 -0
  255. /package/{esm2015/utils/is-card-number-valid.js → esm2020/utils/is-card-number-valid.mjs} +0 -0
  256. /package/{esm2015/utils/is-expire-valid.js → esm2020/utils/is-expire-valid.mjs} +0 -0
  257. /package/{esm2015/utils/payment-system-icons.js → esm2020/utils/payment-system-icons.mjs} +0 -0
  258. /package/{esm2015/utils/taiga-ui-addon-commerce-utils.js → esm2020/utils/taiga-ui-addon-commerce-utils.mjs} +0 -0
  259. /package/{esm2015/validators/index.js → esm2020/validators/index.mjs} +0 -0
  260. /package/{esm2015/validators/luhn.validator.js → esm2020/validators/luhn.validator.mjs} +0 -0
  261. /package/{esm2015/validators/taiga-ui-addon-commerce-validators.js → esm2020/validators/taiga-ui-addon-commerce-validators.mjs} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-addon-commerce-utils.mjs","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\nfunction stringifyCurrency(currency: TuiCurrencyVariants): string {\n return currency === null || tuiIsString(currency)\n ? currency || ``\n : String(currency).padStart(3, `0`);\n}\n\nexport function tuiFormatCurrency(currency: TuiCurrencyVariants): string {\n const stringifiedCurrency = stringifyCurrency(currency);\n\n return tuiGetCurrencySymbol(stringifiedCurrency) || stringifiedCurrency;\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 [`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: `tuiIconMirMono`,\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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AAE,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACtE,MAAM,UAAU,GAAG,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAEnE,QACI,UAAU,GAAG,WAAW;SACvB,WAAW,KAAK,UAAU,IAAI,WAAW,IAAI,YAAY,CAAC,EAC7D;AACN;;ACVA;AACa,MAAA,wBAAwB,GAAqC;AACtE,IAAA,GAAG,EAAE,CAAgB,cAAA,CAAA;AACrB,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;;;ACjBzB;;AAEG;;;;"}
@@ -0,0 +1,25 @@
1
+ import { tuiIsExpireValid, tuiIsCardNumberValid } from '@taiga-ui/addon-commerce/utils';
2
+ import { TuiValidationError } from '@taiga-ui/cdk';
3
+
4
+ function tuiCardExpireValidator({ value, }) {
5
+ return value?.expire?.length === 5 && !tuiIsExpireValid(value?.expire)
6
+ ? { expire: new TuiValidationError(`Expire date`) }
7
+ : null;
8
+ }
9
+
10
+ function tuiCardNumberValidator({ value, }) {
11
+ return value?.card && !tuiIsCardNumberValid(value.card)
12
+ ? { card: new TuiValidationError(`Invalid card number`) }
13
+ : null;
14
+ }
15
+
16
+ function tuiCreateLuhnValidator(message) {
17
+ return ({ value }) => tuiIsCardNumberValid(value) ? null : { luhn: new TuiValidationError(message) };
18
+ }
19
+
20
+ /**
21
+ * Generated bundle index. Do not edit.
22
+ */
23
+
24
+ export { tuiCardExpireValidator, tuiCardNumberValidator, tuiCreateLuhnValidator };
25
+ //# sourceMappingURL=taiga-ui-addon-commerce-validators.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-addon-commerce-validators.mjs","sources":["../../../projects/addon-commerce/validators/card-expire.validator.ts","../../../projects/addon-commerce/validators/card-number.validator.ts","../../../projects/addon-commerce/validators/luhn.validator.ts","../../../projects/addon-commerce/validators/taiga-ui-addon-commerce-validators.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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAIgB,SAAA,sBAAsB,CAAC,EACnC,KAAK,GACS,EAAA;AACd,IAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,KAAK,EAAE,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;IACd,OAAO,KAAK,EAAE,IAAI,IAAI,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;;ACRA;;AAEG;;;;"}
@@ -0,0 +1,14 @@
1
+ export * from '@taiga-ui/addon-commerce/components';
2
+ export * from '@taiga-ui/addon-commerce/constants';
3
+ export * from '@taiga-ui/addon-commerce/enums';
4
+ export * from '@taiga-ui/addon-commerce/interfaces';
5
+ export * from '@taiga-ui/addon-commerce/pipes';
6
+ export * from '@taiga-ui/addon-commerce/tokens';
7
+ export * from '@taiga-ui/addon-commerce/types';
8
+ export * from '@taiga-ui/addon-commerce/utils';
9
+ export * from '@taiga-ui/addon-commerce/validators';
10
+
11
+ /**
12
+ * Generated bundle index. Do not edit.
13
+ */
14
+ //# sourceMappingURL=taiga-ui-addon-commerce.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-addon-commerce.mjs","sources":["../../../projects/addon-commerce/taiga-ui-addon-commerce.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAAA;;AAEG"}
package/package.json CHANGED
@@ -1,41 +1,174 @@
1
1
  {
2
- "name": "@taiga-ui/addon-commerce",
3
- "version": "3.58.0",
4
- "description": "Extension package for Taiga UI related to commerce, payment systems, currencies etc.",
5
- "keywords": [
6
- "angular",
7
- "component",
8
- "kit",
9
- "commerce",
10
- "card",
11
- "payment"
12
- ],
13
- "homepage": "https://github.com/taiga-family/taiga-ui",
14
- "repository": "https://github.com/taiga-family/taiga-ui",
15
- "license": "Apache-2.0",
16
- "peerDependencies": {
17
- "@angular/common": ">=12.0.0",
18
- "@angular/core": ">=12.0.0",
19
- "@angular/forms": ">=12.0.0",
20
- "@maskito/angular": "1.9.0",
21
- "@maskito/core": "1.9.0",
22
- "@maskito/kit": "1.9.0",
23
- "@ng-web-apis/common": "3.0.6",
24
- "@taiga-ui/cdk": ">=3.58.0",
25
- "@taiga-ui/core": ">=3.58.0",
26
- "@taiga-ui/i18n": ">=3.58.0",
27
- "@taiga-ui/kit": ">=3.58.0",
28
- "@tinkoff/ng-polymorpheus": "4.3.0",
29
- "rxjs": ">=6.0.0"
30
- },
31
- "main": "bundles/taiga-ui-addon-commerce.umd.js",
32
- "module": "fesm2015/taiga-ui-addon-commerce.js",
33
- "es2015": "fesm2015/taiga-ui-addon-commerce.js",
34
- "esm2015": "esm2015/taiga-ui-addon-commerce.js",
35
- "fesm2015": "fesm2015/taiga-ui-addon-commerce.js",
36
- "typings": "taiga-ui-addon-commerce.d.ts",
37
- "sideEffects": false,
38
- "dependencies": {
39
- "tslib": "2.6.2"
40
- }
2
+ "name": "@taiga-ui/addon-commerce",
3
+ "version": "3.59.0-canary.10da730",
4
+ "description": "Extension package for Taiga UI related to commerce, payment systems, currencies etc.",
5
+ "keywords": [
6
+ "angular",
7
+ "component",
8
+ "kit",
9
+ "commerce",
10
+ "card",
11
+ "payment"
12
+ ],
13
+ "homepage": "https://github.com/taiga-family/taiga-ui",
14
+ "repository": "https://github.com/taiga-family/taiga-ui",
15
+ "license": "Apache-2.0",
16
+ "peerDependencies": {
17
+ "@angular/common": ">=12.0.0",
18
+ "@angular/core": ">=12.0.0",
19
+ "@angular/forms": ">=12.0.0",
20
+ "@maskito/angular": "1.9.0",
21
+ "@maskito/core": "1.9.0",
22
+ "@maskito/kit": "1.9.0",
23
+ "@ng-web-apis/common": "3.0.6",
24
+ "@taiga-ui/cdk": ">=3.59.0-canary.10da730",
25
+ "@taiga-ui/core": ">=3.59.0-canary.10da730",
26
+ "@taiga-ui/i18n": ">=3.59.0-canary.10da730",
27
+ "@taiga-ui/kit": ">=3.59.0-canary.10da730",
28
+ "@tinkoff/ng-polymorpheus": "4.3.0",
29
+ "rxjs": ">=6.0.0"
30
+ },
31
+ "module": "fesm2015/taiga-ui-addon-commerce.mjs",
32
+ "es2020": "fesm2020/taiga-ui-addon-commerce.mjs",
33
+ "esm2020": "esm2020/taiga-ui-addon-commerce.mjs",
34
+ "fesm2020": "fesm2020/taiga-ui-addon-commerce.mjs",
35
+ "fesm2015": "fesm2015/taiga-ui-addon-commerce.mjs",
36
+ "typings": "index.d.ts",
37
+ "exports": {
38
+ "./package.json": {
39
+ "default": "./package.json"
40
+ },
41
+ ".": {
42
+ "types": "./index.d.ts",
43
+ "esm2020": "./esm2020/taiga-ui-addon-commerce.mjs",
44
+ "es2020": "./fesm2020/taiga-ui-addon-commerce.mjs",
45
+ "es2015": "./fesm2015/taiga-ui-addon-commerce.mjs",
46
+ "node": "./fesm2015/taiga-ui-addon-commerce.mjs",
47
+ "default": "./fesm2020/taiga-ui-addon-commerce.mjs"
48
+ },
49
+ "./components/input-card-grouped": {
50
+ "types": "./components/input-card-grouped/index.d.ts",
51
+ "esm2020": "./esm2020/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.mjs",
52
+ "es2020": "./fesm2020/taiga-ui-addon-commerce-components-input-card-grouped.mjs",
53
+ "es2015": "./fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.mjs",
54
+ "node": "./fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.mjs",
55
+ "default": "./fesm2020/taiga-ui-addon-commerce-components-input-card-grouped.mjs"
56
+ },
57
+ "./components/input-card": {
58
+ "types": "./components/input-card/index.d.ts",
59
+ "esm2020": "./esm2020/components/input-card/taiga-ui-addon-commerce-components-input-card.mjs",
60
+ "es2020": "./fesm2020/taiga-ui-addon-commerce-components-input-card.mjs",
61
+ "es2015": "./fesm2015/taiga-ui-addon-commerce-components-input-card.mjs",
62
+ "node": "./fesm2015/taiga-ui-addon-commerce-components-input-card.mjs",
63
+ "default": "./fesm2020/taiga-ui-addon-commerce-components-input-card.mjs"
64
+ },
65
+ "./components/input-cvc": {
66
+ "types": "./components/input-cvc/index.d.ts",
67
+ "esm2020": "./esm2020/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.mjs",
68
+ "es2020": "./fesm2020/taiga-ui-addon-commerce-components-input-cvc.mjs",
69
+ "es2015": "./fesm2015/taiga-ui-addon-commerce-components-input-cvc.mjs",
70
+ "node": "./fesm2015/taiga-ui-addon-commerce-components-input-cvc.mjs",
71
+ "default": "./fesm2020/taiga-ui-addon-commerce-components-input-cvc.mjs"
72
+ },
73
+ "./components/input-expire": {
74
+ "types": "./components/input-expire/index.d.ts",
75
+ "esm2020": "./esm2020/components/input-expire/taiga-ui-addon-commerce-components-input-expire.mjs",
76
+ "es2020": "./fesm2020/taiga-ui-addon-commerce-components-input-expire.mjs",
77
+ "es2015": "./fesm2015/taiga-ui-addon-commerce-components-input-expire.mjs",
78
+ "node": "./fesm2015/taiga-ui-addon-commerce-components-input-expire.mjs",
79
+ "default": "./fesm2020/taiga-ui-addon-commerce-components-input-expire.mjs"
80
+ },
81
+ "./components/money": {
82
+ "types": "./components/money/index.d.ts",
83
+ "esm2020": "./esm2020/components/money/taiga-ui-addon-commerce-components-money.mjs",
84
+ "es2020": "./fesm2020/taiga-ui-addon-commerce-components-money.mjs",
85
+ "es2015": "./fesm2015/taiga-ui-addon-commerce-components-money.mjs",
86
+ "node": "./fesm2015/taiga-ui-addon-commerce-components-money.mjs",
87
+ "default": "./fesm2020/taiga-ui-addon-commerce-components-money.mjs"
88
+ },
89
+ "./components": {
90
+ "types": "./components/index.d.ts",
91
+ "esm2020": "./esm2020/components/taiga-ui-addon-commerce-components.mjs",
92
+ "es2020": "./fesm2020/taiga-ui-addon-commerce-components.mjs",
93
+ "es2015": "./fesm2015/taiga-ui-addon-commerce-components.mjs",
94
+ "node": "./fesm2015/taiga-ui-addon-commerce-components.mjs",
95
+ "default": "./fesm2020/taiga-ui-addon-commerce-components.mjs"
96
+ },
97
+ "./components/thumbnail-card": {
98
+ "types": "./components/thumbnail-card/index.d.ts",
99
+ "esm2020": "./esm2020/components/thumbnail-card/taiga-ui-addon-commerce-components-thumbnail-card.mjs",
100
+ "es2020": "./fesm2020/taiga-ui-addon-commerce-components-thumbnail-card.mjs",
101
+ "es2015": "./fesm2015/taiga-ui-addon-commerce-components-thumbnail-card.mjs",
102
+ "node": "./fesm2015/taiga-ui-addon-commerce-components-thumbnail-card.mjs",
103
+ "default": "./fesm2020/taiga-ui-addon-commerce-components-thumbnail-card.mjs"
104
+ },
105
+ "./constants": {
106
+ "types": "./constants/index.d.ts",
107
+ "esm2020": "./esm2020/constants/taiga-ui-addon-commerce-constants.mjs",
108
+ "es2020": "./fesm2020/taiga-ui-addon-commerce-constants.mjs",
109
+ "es2015": "./fesm2015/taiga-ui-addon-commerce-constants.mjs",
110
+ "node": "./fesm2015/taiga-ui-addon-commerce-constants.mjs",
111
+ "default": "./fesm2020/taiga-ui-addon-commerce-constants.mjs"
112
+ },
113
+ "./enums": {
114
+ "types": "./enums/index.d.ts",
115
+ "esm2020": "./esm2020/enums/taiga-ui-addon-commerce-enums.mjs",
116
+ "es2020": "./fesm2020/taiga-ui-addon-commerce-enums.mjs",
117
+ "es2015": "./fesm2015/taiga-ui-addon-commerce-enums.mjs",
118
+ "node": "./fesm2015/taiga-ui-addon-commerce-enums.mjs",
119
+ "default": "./fesm2020/taiga-ui-addon-commerce-enums.mjs"
120
+ },
121
+ "./interfaces": {
122
+ "types": "./interfaces/index.d.ts",
123
+ "esm2020": "./esm2020/interfaces/taiga-ui-addon-commerce-interfaces.mjs",
124
+ "es2020": "./fesm2020/taiga-ui-addon-commerce-interfaces.mjs",
125
+ "es2015": "./fesm2015/taiga-ui-addon-commerce-interfaces.mjs",
126
+ "node": "./fesm2015/taiga-ui-addon-commerce-interfaces.mjs",
127
+ "default": "./fesm2020/taiga-ui-addon-commerce-interfaces.mjs"
128
+ },
129
+ "./pipes": {
130
+ "types": "./pipes/index.d.ts",
131
+ "esm2020": "./esm2020/pipes/taiga-ui-addon-commerce-pipes.mjs",
132
+ "es2020": "./fesm2020/taiga-ui-addon-commerce-pipes.mjs",
133
+ "es2015": "./fesm2015/taiga-ui-addon-commerce-pipes.mjs",
134
+ "node": "./fesm2015/taiga-ui-addon-commerce-pipes.mjs",
135
+ "default": "./fesm2020/taiga-ui-addon-commerce-pipes.mjs"
136
+ },
137
+ "./tokens": {
138
+ "types": "./tokens/index.d.ts",
139
+ "esm2020": "./esm2020/tokens/taiga-ui-addon-commerce-tokens.mjs",
140
+ "es2020": "./fesm2020/taiga-ui-addon-commerce-tokens.mjs",
141
+ "es2015": "./fesm2015/taiga-ui-addon-commerce-tokens.mjs",
142
+ "node": "./fesm2015/taiga-ui-addon-commerce-tokens.mjs",
143
+ "default": "./fesm2020/taiga-ui-addon-commerce-tokens.mjs"
144
+ },
145
+ "./types": {
146
+ "types": "./types/index.d.ts",
147
+ "esm2020": "./esm2020/types/taiga-ui-addon-commerce-types.mjs",
148
+ "es2020": "./fesm2020/taiga-ui-addon-commerce-types.mjs",
149
+ "es2015": "./fesm2015/taiga-ui-addon-commerce-types.mjs",
150
+ "node": "./fesm2015/taiga-ui-addon-commerce-types.mjs",
151
+ "default": "./fesm2020/taiga-ui-addon-commerce-types.mjs"
152
+ },
153
+ "./utils": {
154
+ "types": "./utils/index.d.ts",
155
+ "esm2020": "./esm2020/utils/taiga-ui-addon-commerce-utils.mjs",
156
+ "es2020": "./fesm2020/taiga-ui-addon-commerce-utils.mjs",
157
+ "es2015": "./fesm2015/taiga-ui-addon-commerce-utils.mjs",
158
+ "node": "./fesm2015/taiga-ui-addon-commerce-utils.mjs",
159
+ "default": "./fesm2020/taiga-ui-addon-commerce-utils.mjs"
160
+ },
161
+ "./validators": {
162
+ "types": "./validators/index.d.ts",
163
+ "esm2020": "./esm2020/validators/taiga-ui-addon-commerce-validators.mjs",
164
+ "es2020": "./fesm2020/taiga-ui-addon-commerce-validators.mjs",
165
+ "es2015": "./fesm2015/taiga-ui-addon-commerce-validators.mjs",
166
+ "node": "./fesm2015/taiga-ui-addon-commerce-validators.mjs",
167
+ "default": "./fesm2020/taiga-ui-addon-commerce-validators.mjs"
168
+ }
169
+ },
170
+ "sideEffects": false,
171
+ "dependencies": {
172
+ "tslib": "2.6.2"
173
+ }
41
174
  }
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
4
4
  export declare class TuiCurrencyPipe implements PipeTransform {
5
5
  transform(currency: TuiCurrencyVariants): string;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiCurrencyPipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiCurrencyPipe, "tuiCurrency">;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiCurrencyPipe, "tuiCurrency", false>;
8
8
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class TuiFormatCardPipe implements PipeTransform {
4
4
  transform(value?: string | null, cardPrefilled?: boolean): string;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiFormatCardPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiFormatCardPipe, "tuiFormatCard">;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiFormatCardPipe, "tuiFormatCard", false>;
7
7
  }
@@ -1 +1 @@
1
- export declare type TuiCodeCVCLength = 3 | 4;
1
+ export type TuiCodeCVCLength = 3 | 4;
@@ -1,3 +1,3 @@
1
1
  import { TuiCurrency, TuiCurrencyCode } from '@taiga-ui/addon-commerce/enums';
2
- export declare type TuiCurrencyAutocompletion = keyof Record<TuiCurrency, string> | keyof Record<TuiCurrencyCode, string>;
3
- export declare type TuiCurrencyVariants = TuiCurrencyAutocompletion | (TuiCurrency | TuiCurrencyCode | number | string | null);
2
+ export type TuiCurrencyAutocompletion = keyof Record<TuiCurrency, string> | keyof Record<TuiCurrencyCode, string>;
3
+ export type TuiCurrencyVariants = TuiCurrencyAutocompletion | (TuiCurrency | TuiCurrencyCode | number | string | null);
@@ -1,3 +1,3 @@
1
1
  import { CHAR_MINUS, CHAR_PLUS } from '@taiga-ui/cdk';
2
- export declare type TuiMoneySign = 'always' | 'force-negative' | 'force-positive' | 'negative-only' | 'never';
3
- export declare type TuiMoneySignSymbol = typeof CHAR_MINUS | typeof CHAR_PLUS | '';
2
+ export type TuiMoneySign = 'always' | 'force-negative' | 'force-positive' | 'negative-only' | 'never';
3
+ export type TuiMoneySignSymbol = typeof CHAR_MINUS | typeof CHAR_PLUS | '';
@@ -1 +1 @@
1
- export declare type TuiPaymentSystem = 'amex' | 'dinersclub' | 'discover' | 'electron' | 'humo' | 'jcb' | 'maestro' | 'mastercard' | 'mir' | 'rupay' | 'unionpay' | 'uzcard' | 'verve' | 'visa';
1
+ export type TuiPaymentSystem = 'amex' | 'dinersclub' | 'discover' | 'electron' | 'humo' | 'jcb' | 'maestro' | 'mastercard' | 'mir' | 'rupay' | 'unionpay' | 'uzcard' | 'verve' | 'visa';