@taiga-ui/addon-commerce 2.54.0 → 3.0.0-rc.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 (361) hide show
  1. package/bundles/taiga-ui-addon-commerce-components-card.umd.js +424 -305
  2. package/bundles/taiga-ui-addon-commerce-components-card.umd.js.map +1 -1
  3. package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js +623 -466
  4. package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js.map +1 -1
  5. package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js +461 -331
  6. package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js.map +1 -1
  7. package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js +444 -314
  8. package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js.map +1 -1
  9. package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js +432 -306
  10. package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js.map +1 -1
  11. package/bundles/taiga-ui-addon-commerce-components-money.umd.js +518 -387
  12. package/bundles/taiga-ui-addon-commerce-components-money.umd.js.map +1 -1
  13. package/bundles/taiga-ui-addon-commerce-components.umd.js +15 -27
  14. package/bundles/taiga-ui-addon-commerce-components.umd.js.map +1 -1
  15. package/bundles/taiga-ui-addon-commerce-constants.umd.js +38 -36
  16. package/bundles/taiga-ui-addon-commerce-constants.umd.js.map +1 -1
  17. package/bundles/taiga-ui-addon-commerce-enums.umd.js +6 -35
  18. package/bundles/taiga-ui-addon-commerce-enums.umd.js.map +1 -1
  19. package/bundles/taiga-ui-addon-commerce-interfaces.umd.js +2 -2
  20. package/bundles/taiga-ui-addon-commerce-interfaces.umd.js.map +1 -1
  21. package/bundles/taiga-ui-addon-commerce-pipes.umd.js +63 -274
  22. package/bundles/taiga-ui-addon-commerce-pipes.umd.js.map +1 -1
  23. package/bundles/taiga-ui-addon-commerce-tokens.umd.js +11 -7
  24. package/bundles/taiga-ui-addon-commerce-tokens.umd.js.map +1 -1
  25. package/bundles/taiga-ui-addon-commerce-types.umd.js +2 -2
  26. package/bundles/taiga-ui-addon-commerce-types.umd.js.map +1 -1
  27. package/bundles/taiga-ui-addon-commerce-utils.umd.js +63 -107
  28. package/bundles/taiga-ui-addon-commerce-utils.umd.js.map +1 -1
  29. package/bundles/taiga-ui-addon-commerce-validators.umd.js +17 -11
  30. package/bundles/taiga-ui-addon-commerce-validators.umd.js.map +1 -1
  31. package/bundles/taiga-ui-addon-commerce.umd.js +31 -33
  32. package/bundles/taiga-ui-addon-commerce.umd.js.map +1 -1
  33. package/components/card/card.component.d.ts +5 -2
  34. package/components/card/card.module.d.ts +7 -0
  35. package/components/card/package.json +2 -5
  36. package/components/card/taiga-ui-addon-commerce-components-card.d.ts +1 -0
  37. package/components/input-card/input-card.component.d.ts +4 -2
  38. package/components/input-card/input-card.module.d.ts +8 -0
  39. package/components/input-card/package.json +2 -5
  40. package/components/input-card/taiga-ui-addon-commerce-components-input-card.d.ts +1 -0
  41. package/components/input-card-grouped/input-card-grouped.component.d.ts +5 -3
  42. package/components/input-card-grouped/input-card-grouped.module.d.ts +12 -0
  43. package/components/input-card-grouped/package.json +2 -5
  44. package/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.d.ts +1 -0
  45. package/components/input-cvc/input-cvc.component.d.ts +3 -1
  46. package/components/input-cvc/input-cvc.module.d.ts +8 -0
  47. package/components/input-cvc/package.json +2 -5
  48. package/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.d.ts +1 -0
  49. package/components/input-expire/input-expire.component.d.ts +3 -1
  50. package/components/input-expire/input-expire.module.d.ts +8 -0
  51. package/components/input-expire/package.json +2 -5
  52. package/components/input-expire/taiga-ui-addon-commerce-components-input-expire.d.ts +1 -0
  53. package/components/money/money-options.d.ts +4 -4
  54. package/components/money/money.component.d.ts +7 -4
  55. package/components/money/money.module.d.ts +10 -0
  56. package/components/money/package.json +2 -5
  57. package/components/money/pipes/fraction-part.pipe.d.ts +5 -2
  58. package/components/money/pipes/integer-part.pipe.d.ts +3 -0
  59. package/components/money/pipes/sign-symbol.pipe.d.ts +5 -2
  60. package/components/money/taiga-ui-addon-commerce-components-money.d.ts +1 -0
  61. package/components/money/utils/format-fraction-part.d.ts +2 -2
  62. package/components/money/utils/format-sign-symbol.d.ts +2 -2
  63. package/components/package.json +2 -5
  64. package/components/taiga-ui-addon-commerce-components.d.ts +1 -0
  65. package/constants/package.json +2 -5
  66. package/constants/taiga-ui-addon-commerce-constants.d.ts +1 -0
  67. package/enums/currency-code.d.ts +0 -5
  68. package/enums/index.d.ts +0 -2
  69. package/enums/package.json +2 -5
  70. package/enums/taiga-ui-addon-commerce-enums.d.ts +1 -0
  71. package/esm2015/components/card/card.component.js +44 -30
  72. package/esm2015/components/card/card.module.js +15 -12
  73. package/esm2015/components/card/index.js +1 -1
  74. package/esm2015/components/card/taiga-ui-addon-commerce-components-card.js +1 -1
  75. package/esm2015/components/index.js +1 -1
  76. package/esm2015/components/input-card/index.js +1 -1
  77. package/esm2015/components/input-card/input-card.component.js +72 -56
  78. package/esm2015/components/input-card/input-card.module.js +24 -13
  79. package/esm2015/components/input-card/taiga-ui-addon-commerce-components-input-card.js +1 -1
  80. package/esm2015/components/input-card-grouped/index.js +1 -1
  81. package/esm2015/components/input-card-grouped/input-card-grouped.component.js +148 -121
  82. package/esm2015/components/input-card-grouped/input-card-grouped.module.js +45 -15
  83. package/esm2015/components/input-card-grouped/input-card-grouped.providers.js +3 -3
  84. package/esm2015/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.js +1 -1
  85. package/esm2015/components/input-cvc/index.js +1 -1
  86. package/esm2015/components/input-cvc/input-cvc.component.js +56 -43
  87. package/esm2015/components/input-cvc/input-cvc.module.js +26 -13
  88. package/esm2015/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.js +1 -1
  89. package/esm2015/components/input-expire/index.js +1 -1
  90. package/esm2015/components/input-expire/input-expire.component.js +49 -38
  91. package/esm2015/components/input-expire/input-expire.module.js +24 -13
  92. package/esm2015/components/input-expire/taiga-ui-addon-commerce-components-input-expire.js +1 -1
  93. package/esm2015/components/money/index.js +1 -1
  94. package/esm2015/components/money/money-options.js +4 -4
  95. package/esm2015/components/money/money.component.js +50 -37
  96. package/esm2015/components/money/money.module.js +23 -17
  97. package/esm2015/components/money/pipes/fraction-part.pipe.js +13 -12
  98. package/esm2015/components/money/pipes/integer-part.pipe.js +13 -12
  99. package/esm2015/components/money/pipes/sign-symbol.pipe.js +10 -8
  100. package/esm2015/components/money/taiga-ui-addon-commerce-components-money.js +1 -1
  101. package/esm2015/components/money/utils/format-fraction-part.js +4 -4
  102. package/esm2015/components/money/utils/format-sign-symbol.js +6 -7
  103. package/esm2015/components/taiga-ui-addon-commerce-components.js +1 -1
  104. package/esm2015/constants/card-holder-mask.js +27 -27
  105. package/esm2015/constants/card-mask.js +5 -5
  106. package/esm2015/constants/default-card-validator.js +3 -3
  107. package/esm2015/constants/index.js +1 -1
  108. package/esm2015/constants/taiga-ui-addon-commerce-constants.js +1 -1
  109. package/esm2015/enums/currency-code.js +1 -7
  110. package/esm2015/enums/currency.js +1 -1
  111. package/esm2015/enums/index.js +1 -3
  112. package/esm2015/enums/taiga-ui-addon-commerce-enums.js +1 -1
  113. package/esm2015/index.js +3 -1
  114. package/esm2015/interfaces/card.js +2 -1
  115. package/esm2015/interfaces/index.js +2 -1
  116. package/esm2015/interfaces/taiga-ui-addon-commerce-interfaces.js +2 -1
  117. package/esm2015/pipes/currency/currency.module.js +14 -11
  118. package/esm2015/pipes/currency/currency.pipe.js +12 -10
  119. package/esm2015/pipes/format-card/format-card.module.js +14 -11
  120. package/esm2015/pipes/format-card/format-card.pipe.js +14 -12
  121. package/esm2015/pipes/index.js +1 -1
  122. package/esm2015/pipes/taiga-ui-addon-commerce-pipes.js +1 -1
  123. package/esm2015/taiga-ui-addon-commerce.js +1 -1
  124. package/esm2015/tokens/i18n.js +6 -6
  125. package/esm2015/tokens/index.js +1 -1
  126. package/esm2015/tokens/taiga-ui-addon-commerce-tokens.js +1 -1
  127. package/esm2015/types/code-length.js +2 -1
  128. package/esm2015/types/currency-variants.js +2 -1
  129. package/esm2015/types/index.js +5 -1
  130. package/esm2015/types/money-sign.js +2 -1
  131. package/esm2015/types/payment-system.js +2 -0
  132. package/esm2015/types/taiga-ui-addon-commerce-types.js +2 -1
  133. package/esm2015/utils/create-auto-corrected-expire-pipe.js +6 -6
  134. package/esm2015/utils/format-currency.js +7 -7
  135. package/esm2015/utils/get-currency-symbol.js +21 -26
  136. package/esm2015/utils/get-payment-system.js +18 -48
  137. package/esm2015/utils/index.js +1 -1
  138. package/esm2015/utils/is-card-length-valid.js +9 -11
  139. package/esm2015/utils/is-card-number-valid.js +4 -6
  140. package/esm2015/utils/is-expire-valid.js +1 -1
  141. package/esm2015/utils/taiga-ui-addon-commerce-utils.js +1 -1
  142. package/esm2015/validators/card-expire.validator.js +2 -2
  143. package/esm2015/validators/card-number.validator.js +4 -4
  144. package/esm2015/validators/index.js +1 -1
  145. package/esm2015/validators/luhn.validator.js +5 -3
  146. package/esm2015/validators/taiga-ui-addon-commerce-validators.js +1 -1
  147. package/fesm2015/taiga-ui-addon-commerce-components-card.js +58 -39
  148. package/fesm2015/taiga-ui-addon-commerce-components-card.js.map +1 -1
  149. package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js +196 -136
  150. package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js.map +1 -1
  151. package/fesm2015/taiga-ui-addon-commerce-components-input-card.js +96 -67
  152. package/fesm2015/taiga-ui-addon-commerce-components-input-card.js.map +1 -1
  153. package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.js +81 -53
  154. package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.js.map +1 -1
  155. package/fesm2015/taiga-ui-addon-commerce-components-input-expire.js +72 -48
  156. package/fesm2015/taiga-ui-addon-commerce-components-input-expire.js.map +1 -1
  157. package/fesm2015/taiga-ui-addon-commerce-components-money.js +136 -112
  158. package/fesm2015/taiga-ui-addon-commerce-components-money.js.map +1 -1
  159. package/fesm2015/taiga-ui-addon-commerce-components.js.map +1 -1
  160. package/fesm2015/taiga-ui-addon-commerce-constants.js +32 -32
  161. package/fesm2015/taiga-ui-addon-commerce-constants.js.map +1 -1
  162. package/fesm2015/taiga-ui-addon-commerce-enums.js +1 -34
  163. package/fesm2015/taiga-ui-addon-commerce-enums.js.map +1 -1
  164. package/fesm2015/taiga-ui-addon-commerce-interfaces.js.map +1 -1
  165. package/fesm2015/taiga-ui-addon-commerce-pipes.js +47 -33
  166. package/fesm2015/taiga-ui-addon-commerce-pipes.js.map +1 -1
  167. package/fesm2015/taiga-ui-addon-commerce-tokens.js +5 -5
  168. package/fesm2015/taiga-ui-addon-commerce-tokens.js.map +1 -1
  169. package/fesm2015/taiga-ui-addon-commerce-types.js.map +1 -1
  170. package/fesm2015/taiga-ui-addon-commerce-utils.js +58 -97
  171. package/fesm2015/taiga-ui-addon-commerce-utils.js.map +1 -1
  172. package/fesm2015/taiga-ui-addon-commerce-validators.js +7 -5
  173. package/fesm2015/taiga-ui-addon-commerce-validators.js.map +1 -1
  174. package/fesm2015/taiga-ui-addon-commerce.js +2 -0
  175. package/fesm2015/taiga-ui-addon-commerce.js.map +1 -1
  176. package/interfaces/package.json +2 -5
  177. package/interfaces/taiga-ui-addon-commerce-interfaces.d.ts +1 -0
  178. package/package.json +12 -15
  179. package/pipes/currency/currency.module.d.ts +5 -0
  180. package/pipes/currency/currency.pipe.d.ts +3 -0
  181. package/pipes/format-card/format-card.module.d.ts +5 -0
  182. package/pipes/format-card/format-card.pipe.d.ts +3 -0
  183. package/pipes/package.json +2 -5
  184. package/pipes/taiga-ui-addon-commerce-pipes.d.ts +1 -0
  185. package/taiga-ui-addon-commerce.d.ts +1 -0
  186. package/tokens/package.json +2 -5
  187. package/tokens/taiga-ui-addon-commerce-tokens.d.ts +1 -0
  188. package/types/index.d.ts +1 -0
  189. package/types/money-sign.d.ts +3 -3
  190. package/types/package.json +2 -5
  191. package/types/payment-system.d.ts +1 -0
  192. package/types/taiga-ui-addon-commerce-types.d.ts +1 -0
  193. package/utils/get-currency-symbol.d.ts +1 -5
  194. package/utils/get-payment-system.d.ts +7 -31
  195. package/utils/is-card-length-valid.d.ts +1 -3
  196. package/utils/is-card-number-valid.d.ts +1 -3
  197. package/utils/package.json +2 -5
  198. package/utils/taiga-ui-addon-commerce-utils.d.ts +1 -0
  199. package/validators/package.json +2 -5
  200. package/validators/taiga-ui-addon-commerce-validators.d.ts +1 -0
  201. package/bundles/taiga-ui-addon-commerce-components-card.umd.min.js +0 -2
  202. package/bundles/taiga-ui-addon-commerce-components-card.umd.min.js.map +0 -1
  203. package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.min.js +0 -2
  204. package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.min.js.map +0 -1
  205. package/bundles/taiga-ui-addon-commerce-components-input-card.umd.min.js +0 -2
  206. package/bundles/taiga-ui-addon-commerce-components-input-card.umd.min.js.map +0 -1
  207. package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.min.js +0 -2
  208. package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.min.js.map +0 -1
  209. package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.min.js +0 -2
  210. package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.min.js.map +0 -1
  211. package/bundles/taiga-ui-addon-commerce-components-money.umd.min.js +0 -2
  212. package/bundles/taiga-ui-addon-commerce-components-money.umd.min.js.map +0 -1
  213. package/bundles/taiga-ui-addon-commerce-components.umd.min.js +0 -2
  214. package/bundles/taiga-ui-addon-commerce-components.umd.min.js.map +0 -1
  215. package/bundles/taiga-ui-addon-commerce-constants.umd.min.js +0 -2
  216. package/bundles/taiga-ui-addon-commerce-constants.umd.min.js.map +0 -1
  217. package/bundles/taiga-ui-addon-commerce-enums.umd.min.js +0 -2
  218. package/bundles/taiga-ui-addon-commerce-enums.umd.min.js.map +0 -1
  219. package/bundles/taiga-ui-addon-commerce-interfaces.umd.min.js +0 -2
  220. package/bundles/taiga-ui-addon-commerce-interfaces.umd.min.js.map +0 -1
  221. package/bundles/taiga-ui-addon-commerce-pipes.umd.min.js +0 -2
  222. package/bundles/taiga-ui-addon-commerce-pipes.umd.min.js.map +0 -1
  223. package/bundles/taiga-ui-addon-commerce-tokens.umd.min.js +0 -2
  224. package/bundles/taiga-ui-addon-commerce-tokens.umd.min.js.map +0 -1
  225. package/bundles/taiga-ui-addon-commerce-types.umd.min.js +0 -2
  226. package/bundles/taiga-ui-addon-commerce-types.umd.min.js.map +0 -1
  227. package/bundles/taiga-ui-addon-commerce-utils.umd.min.js +0 -2
  228. package/bundles/taiga-ui-addon-commerce-utils.umd.min.js.map +0 -1
  229. package/bundles/taiga-ui-addon-commerce-validators.umd.min.js +0 -2
  230. package/bundles/taiga-ui-addon-commerce-validators.umd.min.js.map +0 -1
  231. package/bundles/taiga-ui-addon-commerce.umd.min.js +0 -2
  232. package/bundles/taiga-ui-addon-commerce.umd.min.js.map +0 -1
  233. package/components/card/taiga-ui-addon-commerce-components-card.metadata.json +0 -1
  234. package/components/input-card/taiga-ui-addon-commerce-components-input-card.metadata.json +0 -1
  235. package/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.metadata.json +0 -1
  236. package/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.metadata.json +0 -1
  237. package/components/input-expire/taiga-ui-addon-commerce-components-input-expire.metadata.json +0 -1
  238. package/components/money/taiga-ui-addon-commerce-components-money.metadata.json +0 -1
  239. package/components/taiga-ui-addon-commerce-components.metadata.json +0 -1
  240. package/constants/taiga-ui-addon-commerce-constants.metadata.json +0 -1
  241. package/enums/money-sign.d.ts +0 -16
  242. package/enums/payment-system.d.ts +0 -8
  243. package/enums/taiga-ui-addon-commerce-enums.metadata.json +0 -1
  244. package/esm2015/enums/money-sign.js +0 -18
  245. package/esm2015/enums/payment-system.js +0 -9
  246. package/esm5/components/card/card.component.js +0 -73
  247. package/esm5/components/card/card.module.js +0 -19
  248. package/esm5/components/card/index.js +0 -3
  249. package/esm5/components/card/taiga-ui-addon-commerce-components-card.js +0 -5
  250. package/esm5/components/index.js +0 -7
  251. package/esm5/components/input-card/index.js +0 -3
  252. package/esm5/components/input-card/input-card.component.js +0 -167
  253. package/esm5/components/input-card/input-card.module.js +0 -25
  254. package/esm5/components/input-card/taiga-ui-addon-commerce-components-input-card.js +0 -5
  255. package/esm5/components/input-card-grouped/index.js +0 -4
  256. package/esm5/components/input-card-grouped/input-card-grouped.component.js +0 -511
  257. package/esm5/components/input-card-grouped/input-card-grouped.module.js +0 -40
  258. package/esm5/components/input-card-grouped/input-card-grouped.providers.js +0 -34
  259. package/esm5/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.js +0 -5
  260. package/esm5/components/input-cvc/index.js +0 -3
  261. package/esm5/components/input-cvc/input-cvc.component.js +0 -113
  262. package/esm5/components/input-cvc/input-cvc.module.js +0 -26
  263. package/esm5/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.js +0 -5
  264. package/esm5/components/input-expire/index.js +0 -3
  265. package/esm5/components/input-expire/input-expire.component.js +0 -108
  266. package/esm5/components/input-expire/input-expire.module.js +0 -25
  267. package/esm5/components/input-expire/taiga-ui-addon-commerce-components-input-expire.js +0 -5
  268. package/esm5/components/money/index.js +0 -9
  269. package/esm5/components/money/money-options.js +0 -18
  270. package/esm5/components/money/money.component.js +0 -101
  271. package/esm5/components/money/money.module.js +0 -27
  272. package/esm5/components/money/pipes/fraction-part.pipe.js +0 -27
  273. package/esm5/components/money/pipes/integer-part.pipe.js +0 -21
  274. package/esm5/components/money/pipes/sign-symbol.pipe.js +0 -16
  275. package/esm5/components/money/taiga-ui-addon-commerce-components-money.js +0 -5
  276. package/esm5/components/money/utils/format-fraction-part.js +0 -7
  277. package/esm5/components/money/utils/format-sign-symbol.js +0 -12
  278. package/esm5/components/taiga-ui-addon-commerce-components.js +0 -5
  279. package/esm5/constants/card-holder-mask.js +0 -37
  280. package/esm5/constants/card-mask.js +0 -30
  281. package/esm5/constants/default-card-validator.js +0 -5
  282. package/esm5/constants/index.js +0 -4
  283. package/esm5/constants/taiga-ui-addon-commerce-constants.js +0 -5
  284. package/esm5/enums/currency-code.js +0 -171
  285. package/esm5/enums/currency.js +0 -171
  286. package/esm5/enums/index.js +0 -5
  287. package/esm5/enums/money-sign.js +0 -18
  288. package/esm5/enums/payment-system.js +0 -9
  289. package/esm5/enums/taiga-ui-addon-commerce-enums.js +0 -5
  290. package/esm5/index.js +0 -8
  291. package/esm5/interfaces/card.js +0 -1
  292. package/esm5/interfaces/index.js +0 -1
  293. package/esm5/interfaces/taiga-ui-addon-commerce-interfaces.js +0 -4
  294. package/esm5/pipes/currency/currency.module.js +0 -16
  295. package/esm5/pipes/currency/currency.pipe.js +0 -18
  296. package/esm5/pipes/format-card/format-card.module.js +0 -16
  297. package/esm5/pipes/format-card/format-card.pipe.js +0 -22
  298. package/esm5/pipes/index.js +0 -5
  299. package/esm5/pipes/taiga-ui-addon-commerce-pipes.js +0 -5
  300. package/esm5/taiga-ui-addon-commerce.js +0 -5
  301. package/esm5/tokens/i18n.js +0 -13
  302. package/esm5/tokens/index.js +0 -2
  303. package/esm5/tokens/taiga-ui-addon-commerce-tokens.js +0 -5
  304. package/esm5/types/code-length.js +0 -1
  305. package/esm5/types/currency-variants.js +0 -1
  306. package/esm5/types/index.js +0 -1
  307. package/esm5/types/money-sign.js +0 -1
  308. package/esm5/types/taiga-ui-addon-commerce-types.js +0 -4
  309. package/esm5/utils/create-auto-corrected-expire-pipe.js +0 -43
  310. package/esm5/utils/format-currency.js +0 -17
  311. package/esm5/utils/get-currency-symbol.js +0 -71
  312. package/esm5/utils/get-payment-system.js +0 -103
  313. package/esm5/utils/index.js +0 -8
  314. package/esm5/utils/is-card-length-valid.js +0 -25
  315. package/esm5/utils/is-card-number-valid.js +0 -21
  316. package/esm5/utils/is-expire-valid.js +0 -14
  317. package/esm5/utils/taiga-ui-addon-commerce-utils.js +0 -5
  318. package/esm5/validators/card-expire.validator.js +0 -10
  319. package/esm5/validators/card-number.validator.js +0 -9
  320. package/esm5/validators/index.js +0 -4
  321. package/esm5/validators/luhn.validator.js +0 -9
  322. package/esm5/validators/taiga-ui-addon-commerce-validators.js +0 -5
  323. package/fesm5/taiga-ui-addon-commerce-components-card.js +0 -94
  324. package/fesm5/taiga-ui-addon-commerce-components-card.js.map +0 -1
  325. package/fesm5/taiga-ui-addon-commerce-components-input-card-grouped.js +0 -579
  326. package/fesm5/taiga-ui-addon-commerce-components-input-card-grouped.js.map +0 -1
  327. package/fesm5/taiga-ui-addon-commerce-components-input-card.js +0 -193
  328. package/fesm5/taiga-ui-addon-commerce-components-input-card.js.map +0 -1
  329. package/fesm5/taiga-ui-addon-commerce-components-input-cvc.js +0 -140
  330. package/fesm5/taiga-ui-addon-commerce-components-input-cvc.js.map +0 -1
  331. package/fesm5/taiga-ui-addon-commerce-components-input-expire.js +0 -134
  332. package/fesm5/taiga-ui-addon-commerce-components-input-expire.js.map +0 -1
  333. package/fesm5/taiga-ui-addon-commerce-components-money.js +0 -211
  334. package/fesm5/taiga-ui-addon-commerce-components-money.js.map +0 -1
  335. package/fesm5/taiga-ui-addon-commerce-components.js +0 -11
  336. package/fesm5/taiga-ui-addon-commerce-components.js.map +0 -1
  337. package/fesm5/taiga-ui-addon-commerce-constants.js +0 -78
  338. package/fesm5/taiga-ui-addon-commerce-constants.js.map +0 -1
  339. package/fesm5/taiga-ui-addon-commerce-enums.js +0 -375
  340. package/fesm5/taiga-ui-addon-commerce-enums.js.map +0 -1
  341. package/fesm5/taiga-ui-addon-commerce-interfaces.js +0 -4
  342. package/fesm5/taiga-ui-addon-commerce-interfaces.js.map +0 -1
  343. package/fesm5/taiga-ui-addon-commerce-pipes.js +0 -67
  344. package/fesm5/taiga-ui-addon-commerce-pipes.js.map +0 -1
  345. package/fesm5/taiga-ui-addon-commerce-tokens.js +0 -20
  346. package/fesm5/taiga-ui-addon-commerce-tokens.js.map +0 -1
  347. package/fesm5/taiga-ui-addon-commerce-types.js +0 -4
  348. package/fesm5/taiga-ui-addon-commerce-types.js.map +0 -1
  349. package/fesm5/taiga-ui-addon-commerce-utils.js +0 -298
  350. package/fesm5/taiga-ui-addon-commerce-utils.js.map +0 -1
  351. package/fesm5/taiga-ui-addon-commerce-validators.js +0 -31
  352. package/fesm5/taiga-ui-addon-commerce-validators.js.map +0 -1
  353. package/fesm5/taiga-ui-addon-commerce.js +0 -12
  354. package/fesm5/taiga-ui-addon-commerce.js.map +0 -1
  355. package/interfaces/taiga-ui-addon-commerce-interfaces.metadata.json +0 -1
  356. package/pipes/taiga-ui-addon-commerce-pipes.metadata.json +0 -1
  357. package/taiga-ui-addon-commerce.metadata.json +0 -1
  358. package/tokens/taiga-ui-addon-commerce-tokens.metadata.json +0 -1
  359. package/types/taiga-ui-addon-commerce-types.metadata.json +0 -1
  360. package/utils/taiga-ui-addon-commerce-utils.metadata.json +0 -1
  361. package/validators/taiga-ui-addon-commerce-validators.metadata.json +0 -1
@@ -1,579 +0,0 @@
1
- import { __read, __extends, __decorate, __param } from 'tslib';
2
- import { InjectionToken, inject, EventEmitter, Optional, Self, Inject, ChangeDetectorRef, ElementRef, ViewChild, Input, Output, ContentChild, TemplateRef, HostListener, Component, ChangeDetectionStrategy, forwardRef, NgModule } from '@angular/core';
3
- import { NgControl, FormsModule } from '@angular/forms';
4
- import { tuiDefaultCardValidator, TUI_CARD_MASK } from '@taiga-ui/addon-commerce/constants';
5
- import { tuiCreateAutoCorrectedExpirePipe, getPaymentSystem } from '@taiga-ui/addon-commerce/utils';
6
- import { typedFromEvent, isNativeFocusedIn, tuiAssertIsHTMLElement, isNativeFocused, tuiDefaultProp, tuiRequiredSetter, tuiPure, TUI_FOCUSABLE_ITEM_ACCESSOR, AbstractTuiNullableControl, TuiFocusableModule, TuiHoveredModule, TuiActiveZoneModule, TuiInputModeModule, TuiMapperPipeModule, TuiPreventDefaultModule, TuiLetModule } from '@taiga-ui/cdk';
7
- import { TUI_DIGIT_REGEXP, TUI_NON_DIGIT_REGEXP, TUI_MODE, TUI_TEXTFIELD_APPEARANCE, TuiDataListDirective, TuiDataListComponent, MODE_PROVIDER, TUI_DATA_LIST_HOST, TuiSvgModule, TuiWrapperModule, TuiDropdownModule } from '@taiga-ui/core';
8
- import { combineLatest, of, Observable } from 'rxjs';
9
- import { WINDOW } from '@ng-web-apis/common';
10
- import { TUI_CARD_NUMBER_TEXTS, TUI_CARD_EXPIRY_TEXTS, TUI_CARD_CVC_TEXTS } from '@taiga-ui/addon-commerce/tokens';
11
- import { TUI_MEDIA } from '@taiga-ui/core/tokens';
12
- import { startWith, switchMap, map } from 'rxjs/operators';
13
- import { CommonModule } from '@angular/common';
14
- import { TuiFormatCardModule } from '@taiga-ui/addon-commerce/pipes';
15
- import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
16
- import { TextMaskModule } from 'angular2-text-mask';
17
-
18
- var TUI_INPUT_CARD_GROUPED_TEXTS = new InjectionToken('InputCardGrouped texts', {
19
- factory: function () {
20
- return inputGroupedTextsFactory(inject(WINDOW), inject(TUI_CARD_NUMBER_TEXTS), inject(TUI_CARD_EXPIRY_TEXTS), inject(TUI_CARD_CVC_TEXTS), inject(TUI_MEDIA));
21
- },
22
- });
23
- // eslint-disable-next-line @typescript-eslint/naming-convention
24
- function inputGroupedTextsFactory(windowRef, cardNumberTexts, expiryTexts, cvcTexts, _a) {
25
- var desktopSmall = _a.desktopSmall;
26
- var media = windowRef.matchMedia("screen and (min-width: " + (desktopSmall - 1) / 16 + "em)");
27
- return typedFromEvent(media, 'change').pipe(startWith(null), switchMap(function () {
28
- return combineLatest([
29
- of(Number(media.matches)),
30
- cardNumberTexts,
31
- expiryTexts,
32
- cvcTexts,
33
- ]);
34
- }), map(function (_a) {
35
- var _b = __read(_a, 4), index = _b[0], cardNumber = _b[1], expiry = _b[2], cvcTexts = _b[3];
36
- return ({
37
- cardNumberText: cardNumber[index],
38
- expiryText: expiry[index],
39
- cvcText: cvcTexts[index],
40
- });
41
- }));
42
- }
43
-
44
- var _a;
45
- var STUB = {
46
- card: '',
47
- expire: '',
48
- cvc: '',
49
- };
50
- var ICONS = (_a = {},
51
- _a["mir" /* Mir */] = 'tuiIconMir',
52
- _a["visa" /* Visa */] = 'tuiIconVisa',
53
- _a["electron" /* Electron */] = 'tuiIconElectron',
54
- _a["mastercard" /* Mastercard */] = 'tuiIconMastercard',
55
- _a["maestro" /* Maestro */] = 'tuiIconMaestro',
56
- _a);
57
- // @dynamic
58
- var TuiInputCardGroupedComponent = /** @class */ (function (_super) {
59
- __extends(TuiInputCardGroupedComponent, _super);
60
- function TuiInputCardGroupedComponent(control, changeDetectorRef, elementRef, mode$, cardGroupedTexts$, appearance) {
61
- var _this = _super.call(this, control, changeDetectorRef) || this;
62
- _this.elementRef = elementRef;
63
- _this.mode$ = mode$;
64
- _this.cardGroupedTexts$ = cardGroupedTexts$;
65
- _this.appearance = appearance;
66
- _this.expireInert = false;
67
- _this.autocompleteEnabled = false;
68
- _this.cardSrc = null; // TODO: 3.0 will be deleted `null` in v3.0
69
- _this.exampleText = '0000 0000 0000 0000';
70
- _this.cardValidator = tuiDefaultCardValidator;
71
- _this.autofilledChange = new EventEmitter();
72
- _this.binChange = new EventEmitter();
73
- _this.dropdown = '';
74
- _this.exampleTextCVC = '000';
75
- _this.maskCVC = {
76
- mask: new Array(3).fill(TUI_DIGIT_REGEXP),
77
- guide: false,
78
- };
79
- _this.maskCard = {
80
- mask: TUI_CARD_MASK,
81
- guide: false,
82
- pipe: function (conformedValue) { return conformedValue.trim(); },
83
- };
84
- _this.maskExpire = {
85
- mask: [
86
- TUI_DIGIT_REGEXP,
87
- TUI_DIGIT_REGEXP,
88
- '/',
89
- TUI_DIGIT_REGEXP,
90
- TUI_DIGIT_REGEXP,
91
- ],
92
- pipe: tuiCreateAutoCorrectedExpirePipe(),
93
- guide: false,
94
- };
95
- _this.open = false;
96
- return _this;
97
- }
98
- TuiInputCardGroupedComponent_1 = TuiInputCardGroupedComponent;
99
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "codeLength", {
100
- set: function (length) {
101
- this.exampleTextCVC = '0'.repeat(length);
102
- this.maskCVC = {
103
- mask: new Array(length).fill(TUI_DIGIT_REGEXP),
104
- guide: false,
105
- };
106
- },
107
- enumerable: true,
108
- configurable: true
109
- });
110
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "nativeFocusableElement", {
111
- get: function () {
112
- return this.inputCard ? this.inputCard.nativeElement : null;
113
- },
114
- enumerable: true,
115
- configurable: true
116
- });
117
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "focused", {
118
- get: function () {
119
- return this.open || isNativeFocusedIn(this.elementRef.nativeElement);
120
- },
121
- enumerable: true,
122
- configurable: true
123
- });
124
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "card", {
125
- get: function () {
126
- var _a, _b;
127
- return (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.card) !== null && _b !== void 0 ? _b : '';
128
- },
129
- enumerable: true,
130
- configurable: true
131
- });
132
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "expire", {
133
- get: function () {
134
- var _a, _b;
135
- return (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.expire) !== null && _b !== void 0 ? _b : '';
136
- },
137
- enumerable: true,
138
- configurable: true
139
- });
140
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "cvc", {
141
- get: function () {
142
- var _a, _b;
143
- return (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.cvc) !== null && _b !== void 0 ? _b : '';
144
- },
145
- enumerable: true,
146
- configurable: true
147
- });
148
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "hasCleaner", {
149
- get: function () {
150
- var _a, _b;
151
- return !!((_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.card) === null || _b === void 0 ? void 0 : _b.trim()) && !this.readOnly && !this.computedDisabled;
152
- },
153
- enumerable: true,
154
- configurable: true
155
- });
156
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "hasDropdown", {
157
- get: function () {
158
- return !!this.dropdown;
159
- },
160
- enumerable: true,
161
- configurable: true
162
- });
163
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "defaultIcon", {
164
- get: function () {
165
- var paymentSystem = this.paymentSystem;
166
- return paymentSystem && ICONS[paymentSystem];
167
- },
168
- enumerable: true,
169
- configurable: true
170
- });
171
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "icon", {
172
- get: function () {
173
- var _a;
174
- return (_a = this.cardSrc) !== null && _a !== void 0 ? _a : this.defaultIcon;
175
- },
176
- enumerable: true,
177
- configurable: true
178
- });
179
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "bin", {
180
- get: function () {
181
- return !this.value || this.value.card.length < 6
182
- ? null
183
- : this.value.card.slice(0, 6);
184
- },
185
- enumerable: true,
186
- configurable: true
187
- });
188
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "placeholderRaised", {
189
- get: function () {
190
- return (this.computedFocused && !this.readOnly) || this.hasCardNumber;
191
- },
192
- enumerable: true,
193
- configurable: true
194
- });
195
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "hasCardNumber", {
196
- get: function () {
197
- var _a, _b;
198
- return !!((_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.card) === null || _b === void 0 ? void 0 : _b.trim());
199
- },
200
- enumerable: true,
201
- configurable: true
202
- });
203
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "idCard", {
204
- get: function () {
205
- return this.id + "_card";
206
- },
207
- enumerable: true,
208
- configurable: true
209
- });
210
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "idExpire", {
211
- get: function () {
212
- return this.id + "_expire";
213
- },
214
- enumerable: true,
215
- configurable: true
216
- });
217
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "idCVC", {
218
- get: function () {
219
- return this.id + "_cvc";
220
- },
221
- enumerable: true,
222
- configurable: true
223
- });
224
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "isCardCollapsed", {
225
- get: function () {
226
- return this.isFocusable(this.card) && !this.cardFocused;
227
- },
228
- enumerable: true,
229
- configurable: true
230
- });
231
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "autocompleteCard", {
232
- get: function () {
233
- return this.autocompleteEnabled
234
- ? "cc-number" /* CcNumber */
235
- : "off" /* Off */;
236
- },
237
- enumerable: true,
238
- configurable: true
239
- });
240
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "autocompleteExpire", {
241
- get: function () {
242
- return this.autocompleteEnabled
243
- ? "cc-exp" /* CcExp */
244
- : "off" /* Off */;
245
- },
246
- enumerable: true,
247
- configurable: true
248
- });
249
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "autocompleteCVC", {
250
- get: function () {
251
- return this.autocompleteEnabled
252
- ? "cc-csc" /* CcCsc */
253
- : "off" /* Off */;
254
- },
255
- enumerable: true,
256
- configurable: true
257
- });
258
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "name", {
259
- // Safari expiration date autofill workaround
260
- get: function () {
261
- return this.autocompleteEnabled ? 'ccexpiryyear' : null;
262
- },
263
- enumerable: true,
264
- configurable: true
265
- });
266
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "cardPrefilled", {
267
- get: function () {
268
- return !!this.card.match(TUI_NON_DIGIT_REGEXP);
269
- },
270
- enumerable: true,
271
- configurable: true
272
- });
273
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "cvcPrefilled", {
274
- get: function () {
275
- return !!this.cvc.match(TUI_NON_DIGIT_REGEXP);
276
- },
277
- enumerable: true,
278
- configurable: true
279
- });
280
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "cardFocusable", {
281
- get: function () {
282
- return this.focusable && !this.cardPrefilled;
283
- },
284
- enumerable: true,
285
- configurable: true
286
- });
287
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "expireFocusable", {
288
- get: function () {
289
- return this.isFocusable(this.card) && !this.expireInert;
290
- },
291
- enumerable: true,
292
- configurable: true
293
- });
294
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "cvcFocusable", {
295
- get: function () {
296
- return this.isFocusable(this.card);
297
- },
298
- enumerable: true,
299
- configurable: true
300
- });
301
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "masked", {
302
- get: function () {
303
- return this.cardPrefilled ? "*" + this.card.slice(-4) : '*';
304
- },
305
- enumerable: true,
306
- configurable: true
307
- });
308
- TuiInputCardGroupedComponent.prototype.onEsc = function () {
309
- this.open = false;
310
- };
311
- TuiInputCardGroupedComponent.prototype.onArrow = function (element, step) {
312
- var _a;
313
- this.open = this.hasDropdown;
314
- this.changeDetectorRef.detectChanges();
315
- (_a = this.datalist) === null || _a === void 0 ? void 0 : _a.onKeyDownArrow(element, step);
316
- };
317
- TuiInputCardGroupedComponent.prototype.handleOption = function (option) {
318
- var _a, _b;
319
- var _c = option.card, card = _c === void 0 ? '' : _c, _d = option.expire, expire = _d === void 0 ? '' : _d, _e = option.cvc, cvc = _e === void 0 ? '' : _e;
320
- var bin = this.bin;
321
- var element = (!expire && ((_a = this.inputExpire) === null || _a === void 0 ? void 0 : _a.nativeElement)) || ((_b = this.inputCVC) === null || _b === void 0 ? void 0 : _b.nativeElement);
322
- this.updateValue({ card: card, expire: expire, cvc: cvc });
323
- this.updateBin(bin);
324
- this.open = false;
325
- this.expireInert = !!expire;
326
- element === null || element === void 0 ? void 0 : element.focus();
327
- };
328
- TuiInputCardGroupedComponent.prototype.onCardChange = function (card) {
329
- var _a = this, value = _a.value, bin = _a.bin;
330
- var parsed = card.split(' ').join('');
331
- if (value && value.card === parsed) {
332
- return;
333
- }
334
- this.updateProperty(parsed, 'card');
335
- this.updateBin(bin);
336
- if (this.cardValidator(this.card) && !this.expire && this.inputExpire) {
337
- this.focusExpire();
338
- }
339
- };
340
- TuiInputCardGroupedComponent.prototype.onExpireChange = function (expire) {
341
- // @bad TODO: Workaround until mask pipe can replace chars and keep caret position
342
- // @bad TODO: Think about a solution without mask at all
343
- if (!this.inputExpire) {
344
- return;
345
- }
346
- if (parseInt(expire.slice(0, 2), 10) > 12) {
347
- expire = "12" + expire.slice(2);
348
- }
349
- if (expire.slice(0, 2) === '00') {
350
- expire = "01" + expire.slice(2);
351
- }
352
- this.inputExpire.nativeElement.value = expire;
353
- this.updateProperty(expire, 'expire');
354
- if (expire.length === 5) {
355
- this.focusCVC();
356
- }
357
- };
358
- TuiInputCardGroupedComponent.prototype.onCVCChange = function (cvc) {
359
- this.updateProperty(cvc, 'cvc');
360
- };
361
- TuiInputCardGroupedComponent.prototype.onActiveZoneChange = function (active) {
362
- this.updateFocused(active);
363
- this.open = active && this.open;
364
- };
365
- TuiInputCardGroupedComponent.prototype.onHovered = function (hovered) {
366
- this.updateHovered(hovered);
367
- };
368
- TuiInputCardGroupedComponent.prototype.onMouseDown = function (event) {
369
- tuiAssertIsHTMLElement(event.target);
370
- if (event.target.matches('input')) {
371
- return;
372
- }
373
- event.preventDefault();
374
- this.focusInput();
375
- };
376
- TuiInputCardGroupedComponent.prototype.onScroll = function (_a) {
377
- var currentTarget = _a.currentTarget;
378
- tuiAssertIsHTMLElement(currentTarget);
379
- currentTarget.scrollLeft = 0;
380
- };
381
- TuiInputCardGroupedComponent.prototype.clear = function () {
382
- this.updateValue(null);
383
- this.focusCard();
384
- };
385
- TuiInputCardGroupedComponent.prototype.toggle = function () {
386
- this.open = !this.open;
387
- };
388
- TuiInputCardGroupedComponent.prototype.writeValue = function (value) {
389
- var bin = this.bin;
390
- _super.prototype.writeValue.call(this, value);
391
- this.updateBin(bin);
392
- this.expireInert = !!this.expire && this.cardPrefilled;
393
- };
394
- /** Public API for manual focus management */
395
- TuiInputCardGroupedComponent.prototype.focusCard = function () {
396
- var _a;
397
- (_a = this.inputCard) === null || _a === void 0 ? void 0 : _a.nativeElement.focus();
398
- };
399
- TuiInputCardGroupedComponent.prototype.focusExpire = function () {
400
- var _a;
401
- (_a = this.inputExpire) === null || _a === void 0 ? void 0 : _a.nativeElement.focus({ preventScroll: true });
402
- };
403
- TuiInputCardGroupedComponent.prototype.focusCVC = function () {
404
- var _a;
405
- (_a = this.inputCVC) === null || _a === void 0 ? void 0 : _a.nativeElement.focus();
406
- };
407
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "cardFocused", {
408
- get: function () {
409
- return !!this.inputCard && isNativeFocused(this.inputCard.nativeElement);
410
- },
411
- enumerable: true,
412
- configurable: true
413
- });
414
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "paymentSystem", {
415
- get: function () {
416
- return this.value && getPaymentSystem(this.value.card);
417
- },
418
- enumerable: true,
419
- configurable: true
420
- });
421
- TuiInputCardGroupedComponent.prototype.isFocusable = function (card) {
422
- return this.focusable && (this.cardValidator(card) || this.cardPrefilled);
423
- };
424
- TuiInputCardGroupedComponent.prototype.updateBin = function (oldBin) {
425
- var bin = this.bin;
426
- if (bin !== oldBin && !this.cardPrefilled) {
427
- this.binChange.emit(bin);
428
- }
429
- };
430
- TuiInputCardGroupedComponent.prototype.updateProperty = function (propValue, propName) {
431
- var _a = this.value || STUB, card = _a.card, expire = _a.expire, cvc = _a.cvc;
432
- var newValue = {
433
- card: card,
434
- expire: expire,
435
- cvc: cvc,
436
- };
437
- newValue[propName] = propValue;
438
- if (!newValue.expire && !newValue.cvc && !newValue.card) {
439
- this.updateValue(null);
440
- }
441
- else {
442
- this.updateValue(newValue);
443
- }
444
- };
445
- TuiInputCardGroupedComponent.prototype.focusInput = function () {
446
- var _a, _b, _c;
447
- var element = (this.cardFocusable && ((_a = this.inputCard) === null || _a === void 0 ? void 0 : _a.nativeElement)) ||
448
- (this.expireFocusable && ((_b = this.inputExpire) === null || _b === void 0 ? void 0 : _b.nativeElement)) || ((_c = this.inputCVC) === null || _c === void 0 ? void 0 : _c.nativeElement);
449
- element === null || element === void 0 ? void 0 : element.focus();
450
- };
451
- var TuiInputCardGroupedComponent_1;
452
- TuiInputCardGroupedComponent.ctorParameters = function () { return [
453
- { type: NgControl, decorators: [{ type: Optional }, { type: Self }, { type: Inject, args: [NgControl,] }] },
454
- { type: ChangeDetectorRef, decorators: [{ type: Inject, args: [ChangeDetectorRef,] }] },
455
- { type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] },
456
- { type: Observable, decorators: [{ type: Inject, args: [TUI_MODE,] }] },
457
- { type: Observable, decorators: [{ type: Inject, args: [TUI_INPUT_CARD_GROUPED_TEXTS,] }] },
458
- { type: String, decorators: [{ type: Inject, args: [TUI_TEXTFIELD_APPEARANCE,] }] }
459
- ]; };
460
- __decorate([
461
- ViewChild('inputCard')
462
- ], TuiInputCardGroupedComponent.prototype, "inputCard", void 0);
463
- __decorate([
464
- ViewChild('inputExpire')
465
- ], TuiInputCardGroupedComponent.prototype, "inputExpire", void 0);
466
- __decorate([
467
- ViewChild('inputCVC')
468
- ], TuiInputCardGroupedComponent.prototype, "inputCVC", void 0);
469
- __decorate([
470
- Input(),
471
- tuiDefaultProp()
472
- ], TuiInputCardGroupedComponent.prototype, "autocompleteEnabled", void 0);
473
- __decorate([
474
- Input(),
475
- tuiDefaultProp()
476
- ], TuiInputCardGroupedComponent.prototype, "cardSrc", void 0);
477
- __decorate([
478
- Input(),
479
- tuiDefaultProp()
480
- ], TuiInputCardGroupedComponent.prototype, "exampleText", void 0);
481
- __decorate([
482
- Input(),
483
- tuiDefaultProp()
484
- ], TuiInputCardGroupedComponent.prototype, "cardValidator", void 0);
485
- __decorate([
486
- Input(),
487
- tuiRequiredSetter()
488
- ], TuiInputCardGroupedComponent.prototype, "codeLength", null);
489
- __decorate([
490
- Output()
491
- ], TuiInputCardGroupedComponent.prototype, "autofilledChange", void 0);
492
- __decorate([
493
- Output()
494
- ], TuiInputCardGroupedComponent.prototype, "binChange", void 0);
495
- __decorate([
496
- ContentChild(TuiDataListDirective, { read: TemplateRef })
497
- ], TuiInputCardGroupedComponent.prototype, "dropdown", void 0);
498
- __decorate([
499
- ContentChild(TuiDataListComponent)
500
- ], TuiInputCardGroupedComponent.prototype, "datalist", void 0);
501
- __decorate([
502
- HostListener('keydown.esc')
503
- ], TuiInputCardGroupedComponent.prototype, "onEsc", null);
504
- __decorate([
505
- HostListener('keydown.arrowDown.prevent', ['$event.target', '1']),
506
- HostListener('keydown.arrowUp.prevent', ['$event.target', '-1'])
507
- ], TuiInputCardGroupedComponent.prototype, "onArrow", null);
508
- __decorate([
509
- tuiPure
510
- ], TuiInputCardGroupedComponent.prototype, "isFocusable", null);
511
- TuiInputCardGroupedComponent = TuiInputCardGroupedComponent_1 = __decorate([
512
- Component({
513
- selector: 'tui-input-card-grouped',
514
- template: "<tui-wrapper\n *ngIf=\"cardGroupedTexts$ | async as texts\"\n class=\"t-common-wrapper\"\n [appearance]=\"appearance\"\n [readOnly]=\"readOnly\"\n [disabled]=\"computedDisabled\"\n [focused]=\"computedFocused\"\n [hovered]=\"computedHovered\"\n [invalid]=\"computedInvalid\"\n [tuiDropdown]=\"open\"\n [tuiDropdownContent]=\"dropdown || ''\"\n (tuiHoveredChange)=\"onHovered($event)\"\n (tuiActiveZoneChange)=\"onActiveZoneChange($event)\"\n (scroll)=\"onScroll($event)\"\n (mousedown)=\"onMouseDown($event)\"\n>\n <div class=\"t-wrapper\">\n <label\n *tuiLet=\"value?.card | tuiFormatCard: cardPrefilled as formattedCard\"\n tuiPreventDefault=\"click\"\n >\n <input\n #inputCard\n type=\"text\"\n automation-id=\"tui-input-card-grouped__card\"\n tuiInputMode=\"numeric\"\n class=\"t-input t-input_card\"\n [class.t-input_inert]=\"cardPrefilled\"\n [class.t-input_hidden]=\"!card.length && focused\"\n [attr.id]=\"idCard\"\n [attr.aria-invalid]=\"!cardPrefilled && !(this.card | tuiMapper: cardValidator)\"\n [placeholder]=\"cardPrefilled ? '' : exampleText\"\n [autocomplete]=\"autocompleteCard\"\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly\"\n [textMask]=\"maskCard\"\n [tuiFocusable]=\"cardFocusable\"\n [ngModel]=\"formattedCard\"\n (ngModelChange)=\"onCardChange($event)\"\n (focus)=\"(0)\"\n />\n <span\n aria-hidden=\"true\"\n class=\"t-collapsed\"\n [attr.data-before]=\"masked\"\n [class.t-collapsed_enable-mask]=\"isCardCollapsed\"\n >\n <span class=\"t-collapsed-wrapper\">\n <span\n class=\"t-value\"\n [class.t-value_collapsed]=\"isCardCollapsed\"\n >\n {{ formattedCard }}\n </span>\n </span>\n </span>\n <span\n class=\"t-placeholder\"\n [class.t-placeholder_raised]=\"placeholderRaised\"\n >\n {{ texts.cardNumberText }}\n </span>\n </label>\n </div>\n <div\n class=\"t-wrapper t-wrapper_expire\"\n [class.t-wrapper_active]=\"isCardCollapsed\"\n >\n <label tuiPreventDefault=\"click\">\n <input\n #inputExpire\n type=\"text\"\n placeholder=\"00/00\"\n automation-id=\"tui-input-card-grouped__expire\"\n tuiInputMode=\"numeric\"\n class=\"t-input\"\n [class.t-input_inert]=\"!expireFocusable\"\n [attr.id]=\"idExpire\"\n [attr.name]=\"name\"\n [autocomplete]=\"autocompleteExpire\"\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly\"\n [tuiFocusable]=\"expireFocusable\"\n [textMask]=\"maskExpire\"\n [ngModel]=\"expire\"\n (ngModelChange)=\"onExpireChange($event)\"\n (focus)=\"(0)\"\n />\n <span\n class=\"t-placeholder\"\n [class.t-placeholder_raised]=\"placeholderRaised\"\n >\n {{ texts.expiryText }}\n </span>\n </label>\n </div>\n <div\n class=\"t-wrapper t-wrapper_cvc\"\n [class.t-wrapper_active]=\"isCardCollapsed\"\n >\n <label tuiPreventDefault=\"click\">\n <input\n #inputCVC\n type=\"text\"\n automation-id=\"tui-input-card-grouped__cvc\"\n tuiInputMode=\"numeric\"\n class=\"t-input\"\n [class.t-input_prefilled]=\"cvcPrefilled\"\n [placeholder]=\"cvcPrefilled ? '\u2022\u2022\u2022' : exampleTextCVC\"\n [attr.id]=\"idCVC\"\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly || cvcPrefilled\"\n [autocomplete]=\"autocompleteCVC\"\n [textMask]=\"maskCVC\"\n [tuiFocusable]=\"cvcFocusable\"\n [ngModel]=\"cvc\"\n (ngModelChange)=\"onCVCChange($event)\"\n (focus)=\"(0)\"\n />\n <span\n class=\"t-placeholder\"\n [class.t-placeholder_raised]=\"placeholderRaised\"\n >\n {{ texts.cvcText }}\n </span>\n </label>\n </div>\n <div class=\"t-icons\">\n <div\n *ngIf=\"icon\"\n polymorpheus-outlet\n class=\"t-icon-outlet\"\n [content]=\"icon\"\n >\n <ng-template let-icon>\n <tui-svg\n automation-id=\"tui-input-card-grouped__icon\"\n class=\"t-card\"\n [src]=\"icon\"\n ></tui-svg>\n </ng-template>\n </div>\n <tui-svg\n *ngIf=\"hasCleaner\"\n src=\"tuiIconCloseLarge\"\n class=\"t-icon\"\n (click)=\"clear()\"\n ></tui-svg>\n <tui-svg\n *ngIf=\"hasDropdown\"\n src=\"tuiIconChevronDownLarge\"\n class=\"t-icon\"\n [class.t-icon_rotated]=\"open\"\n (click)=\"toggle()\"\n ></tui-svg>\n </div>\n</tui-wrapper>\n",
515
- changeDetection: ChangeDetectionStrategy.OnPush,
516
- providers: [
517
- MODE_PROVIDER,
518
- {
519
- provide: TUI_FOCUSABLE_ITEM_ACCESSOR,
520
- useExisting: forwardRef(function () { return TuiInputCardGroupedComponent_1; }),
521
- },
522
- {
523
- provide: TUI_DATA_LIST_HOST,
524
- useExisting: forwardRef(function () { return TuiInputCardGroupedComponent_1; }),
525
- },
526
- ],
527
- host: {
528
- '($.data-mode.attr)': 'mode$',
529
- 'data-size': 'l',
530
- },
531
- styles: [":host{display:block;height:var(--tui-height-l);width:29.5rem;border-radius:var(--tui-radius-m)}:host[data-mode=onDark]{--tui-autofill:var(--tui-autofill-night)}:host :host-context(tui-root._mobile){width:18rem}.t-outline{height:100%;width:100%}.t-common-wrapper{position:relative;height:100%;width:100%;overflow:hidden}.t-wrapper{transition-property:transform;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:absolute;width:100%;height:100%}.t-wrapper_cvc{margin-left:7.1875rem;transform:translate3d(100%,0,0)}:host-context(tui-root._mobile) .t-wrapper_cvc{margin-left:4.0625rem}.t-wrapper_expire{transform:translate3d(100%,0,0)}.t-wrapper_active{transform:translate3d(6.5625rem,0,0)}:host-context(tui-root._mobile) .t-wrapper_active{transform:translate3d(4.125rem,0,0)}.t-card{width:2rem;height:2rem;margin-right:.625rem}.t-collapsed{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0 0 0 1rem;margin:0;border-radius:inherit;background:0 0;font-size:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;padding:0 var(--tui-padding-m);border:0;border-width:0 var(--border-end,0) 0 var(--border-start,0);border-inline-start-width:var(--border-start,0);border-inline-end-width:var(--border-end,0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none;line-height:2.25rem;pointer-events:none}.t-collapsed:-webkit-autofill,.t-collapsed:-webkit-autofill:focus,.t-collapsed:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-collapsed :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill,.t-collapsed :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill:focus,.t-collapsed :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill:hover,.t-collapsed :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill,.t-collapsed :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill:focus,.t-collapsed :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill:hover,:host[data-mode=onDark] .t-collapsed:-webkit-autofill,:host[data-mode=onDark] .t-collapsed:-webkit-autofill:focus,:host[data-mode=onDark] .t-collapsed:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}.t-collapsed :host-context(tui-primitive-textfield[data-size='s']):not(tui-primitive-textfield),.t-collapsed :host-context(tui-text-area[data-size='s']):not(tui-text-area),:host[data-size='s'] .t-collapsed{padding:0 var(--tui-padding-s)}.t-collapsed :host-context(tui-primitive-textfield[data-size='l']):not(tui-primitive-textfield),.t-collapsed :host-context(tui-text-area[data-size='l']):not(tui-text-area),:host[data-size='l'] .t-collapsed{padding:0 var(--tui-padding-l)}.t-collapsed :host-context(tui-primitive-textfield._disabled),.t-collapsed :host-context(tui-text-area._disabled),:host._disabled .t-collapsed{pointer-events:none}.t-collapsed :host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)):not(tui-primitive-textfield),:host[data-size='l']:not(._label-outside) .t-collapsed{padding-top:1.25rem}.t-collapsed :host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.content .placeholder,:host[data-size='l']:not(._label-outside) .t-collapsed:-webkit-autofill+.content .placeholder{font-size:.8156rem;transform:translateY(-.625rem)}.t-collapsed :host-context(tui-primitive-textfield[data-size='m']:not(._label-outside)):not(tui-primitive-textfield),:host[data-size='m']:not(._label-outside) .t-collapsed{padding-top:1.125rem}.t-collapsed :host-context(tui-primitive-textfield[data-size='m']:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.content .placeholder,:host[data-size='m']:not(._label-outside) .t-collapsed:-webkit-autofill+.content .placeholder{font-size:.69rem;transform:translateY(-.5rem)}.t-collapsed :host-context(tui-primitive-textfield._hidden),:host._hidden input.t-collapsed{opacity:0;text-indent:-10em;-webkit-user-select:none}.t-collapsed_enable-mask:before{content:attr(data-before)}.t-collapsed_enable-mask .t-collapsed-wrapper{left:1.375rem}.t-collapsed-wrapper{position:absolute;top:0;display:block;width:100%;height:100%;overflow:hidden}.t-value{transition-property:transform;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:absolute;bottom:0;right:100%;display:block;transform:translate3d(100%,0,0)}.t-value_collapsed{transform:translate3d(4ch,0,0)}.t-input{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0 1rem;margin:0;border-radius:inherit;background:0 0;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;word-break:keep-all;-webkit-text-fill-color:currentColor;position:absolute;top:0;left:0;width:100%;height:100%;padding:0 var(--tui-padding-m);border:0;border-width:0 var(--border-end,0) 0 var(--border-start,0);border-inline-start-width:var(--border-start,0);border-inline-end-width:var(--border-end,0);text-indent:var(--text-indent);text-align:inherit;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-transform:inherit;resize:none;transition-property:background;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out}.t-input:-webkit-autofill,.t-input:-webkit-autofill:focus,.t-input:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01)!important;border-color:var(--tui-autofill);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill) inset!important}.t-input :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill,.t-input :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill:focus,.t-input :host-context(tui-primitive-textfield[data-mode=onDark]):-webkit-autofill:hover,.t-input :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill,.t-input :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill:focus,.t-input :host-context(tui-text-area[data-mode=onDark]):-webkit-autofill:hover,:host[data-mode=onDark] .t-input:-webkit-autofill,:host[data-mode=onDark] .t-input:-webkit-autofill:focus,:host[data-mode=onDark] .t-input:-webkit-autofill:hover{border-radius:inherit;color:inherit!important;background-color:transparent!important;-webkit-text-fill-color:var(--tui-text-01-night)!important;border-color:var(--tui-autofill-night);-webkit-box-shadow:0 0 0 100rem var(--tui-autofill-night) inset!important}.t-input :host-context(tui-primitive-textfield[data-size='s']):not(tui-primitive-textfield),.t-input :host-context(tui-text-area[data-size='s']):not(tui-text-area),:host[data-size='s'] .t-input{padding:0 var(--tui-padding-s)}.t-input :host-context(tui-primitive-textfield[data-size='l']):not(tui-primitive-textfield),.t-input :host-context(tui-text-area[data-size='l']):not(tui-text-area),:host[data-size='l'] .t-input{padding:0 var(--tui-padding-l)}.t-input :host-context(tui-primitive-textfield._disabled),.t-input :host-context(tui-text-area._disabled),:host._disabled .t-input{pointer-events:none}.t-input :host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)):not(tui-primitive-textfield),:host[data-size='l']:not(._label-outside) .t-input{padding-top:1.25rem}.t-input :host-context(tui-primitive-textfield[data-size='l']:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.content .placeholder,:host[data-size='l']:not(._label-outside) .t-input:-webkit-autofill+.content .placeholder{font-size:.8156rem;transform:translateY(-.625rem)}.t-input :host-context(tui-primitive-textfield[data-size='m']:not(._label-outside)):not(tui-primitive-textfield),:host[data-size='m']:not(._label-outside) .t-input{padding-top:1.125rem}.t-input :host-context(tui-primitive-textfield[data-size='m']:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.content .placeholder,:host[data-size='m']:not(._label-outside) .t-input:-webkit-autofill+.content .placeholder{font-size:.69rem;transform:translateY(-.5rem)}.t-input :host-context(tui-primitive-textfield._hidden),:host._hidden input.t-input{opacity:0;text-indent:-10em;-webkit-user-select:none}.t-input::-ms-input-placeholder{color:var(--tui-text-03)}.t-input::placeholder{color:var(--tui-text-03)}:host[data-mode=onDark] .t-input::-ms-input-placeholder{color:var(--tui-text-03-night)}:host[data-mode=onDark] .t-input::placeholder{color:var(--tui-text-03-night)}.t-input_card:not(.t-input_hidden),.t-input_card:not(.t-input_hidden):-webkit-autofill,.t-input_card:not(.t-input_hidden)::placeholder{caret-color:var(--tui-base-09);color:transparent!important;-webkit-text-fill-color:transparent!important}.t-input_card::-webkit-credit-card-auto-fill-button{pointer-events:none;background-color:transparent!important;-webkit-mask-image:none!important}.t-input_inert{pointer-events:none}.t-icons{position:absolute;right:.75rem;display:flex;align-items:center;height:100%}.t-icon-outlet{display:inherit}.t-icon{transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;color:var(--tui-text-03);position:relative;box-sizing:border-box;cursor:pointer;transition-property:color,transform}.t-icon:hover{color:var(--tui-text-02)}:host._disabled .t-icon,:host._readonly .t-icon{pointer-events:none}:host[data-mode=onDark] .t-icon{color:var(--tui-text-03-night)}:host[data-mode=onDark] .t-icon:hover{color:var(--tui-text-01-night)}.t-icon_rotated{transform:rotate(180deg)}.t-placeholder{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;font:var(--tui-font-text-s);color:var(--tui-text-01);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0);margin:1.125rem 1rem;line-height:1.25rem}.t-placeholder_raised{transform:translateY(-.625rem)}:host[data-size='m'] .t-placeholder_raised{font:var(--tui-font-text-xs);transform:translateY(-.5rem);letter-spacing:.025rem}:host._invalid:not(._focused) .t-placeholder_raised,:host._invalid:not(._focused):hover .t-placeholder_raised{color:var(--tui-error-fill)}:host[data-mode=onDark]._invalid:not(._focused) .t-placeholder_raised,:host[data-mode=onDark]._invalid:not(._focused):hover .t-placeholder_raised{color:var(--tui-error-fill-night)}:host._focused .t-placeholder,:host[data-size='l']._focused._label-outside .t-placeholder,:host[data-size='m']._focused._label-outside .t-placeholder{color:var(--tui-text-03)}:host[data-size='l'] .t-placeholder{font-size:.9375rem}:host[data-size='l'] .t-placeholder_raised{font-size:.8156rem}:host[data-size='l']._focused:not(._label-outside) .t-placeholder,:host[data-size='m']._focused:not(._label-outside) .t-placeholder{color:var(--tui-text-01)}:host[data-mode=onDark] .t-placeholder{color:var(--tui-text-02-night)}:host[data-size='l'][data-mode=onDark]._focused:not(._label-outside) .t-placeholder,:host[data-size='m'][data-mode=onDark]._focused:not(._label-outside) .t-placeholder{color:var(--tui-text-01-night)}:host[data-mode=onDark]._focused .t-placeholder,:host[data-size='l'][data-mode=onDark]._focused._label-outside .t-placeholder,:host[data-size='m'][data-mode=onDark]._focused._label-outside .t-placeholder{color:var(--tui-text-02-night)}@supports (-webkit-hyphens:none){.t-placeholder{will-change:unset;transition-property:transform,color,letter-spacing}}"]
532
- }),
533
- __param(0, Optional()),
534
- __param(0, Self()),
535
- __param(0, Inject(NgControl)),
536
- __param(1, Inject(ChangeDetectorRef)),
537
- __param(2, Inject(ElementRef)),
538
- __param(3, Inject(TUI_MODE)),
539
- __param(4, Inject(TUI_INPUT_CARD_GROUPED_TEXTS)),
540
- __param(5, Inject(TUI_TEXTFIELD_APPEARANCE))
541
- ], TuiInputCardGroupedComponent);
542
- return TuiInputCardGroupedComponent;
543
- }(AbstractTuiNullableControl));
544
-
545
- var TuiInputCardGroupedModule = /** @class */ (function () {
546
- function TuiInputCardGroupedModule() {
547
- }
548
- TuiInputCardGroupedModule = __decorate([
549
- NgModule({
550
- imports: [
551
- CommonModule,
552
- FormsModule,
553
- TextMaskModule,
554
- TuiFocusableModule,
555
- TuiSvgModule,
556
- TuiWrapperModule,
557
- TuiHoveredModule,
558
- TuiActiveZoneModule,
559
- TuiInputModeModule,
560
- TuiMapperPipeModule,
561
- TuiDropdownModule,
562
- TuiPreventDefaultModule,
563
- PolymorpheusModule,
564
- TuiLetModule,
565
- TuiFormatCardModule,
566
- ],
567
- declarations: [TuiInputCardGroupedComponent],
568
- exports: [TuiInputCardGroupedComponent],
569
- })
570
- ], TuiInputCardGroupedModule);
571
- return TuiInputCardGroupedModule;
572
- }());
573
-
574
- /**
575
- * Generated bundle index. Do not edit.
576
- */
577
-
578
- export { TUI_INPUT_CARD_GROUPED_TEXTS, TuiInputCardGroupedComponent, TuiInputCardGroupedModule, inputGroupedTextsFactory };
579
- //# sourceMappingURL=taiga-ui-addon-commerce-components-input-card-grouped.js.map