@taiga-ui/addon-commerce 2.55.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 +516 -384
  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 +48 -35
  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 +4 -4
  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 +133 -108
  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 +1 -1
  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 -11
  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 -210
  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,27 +1,36 @@
1
- import { __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';
1
+ import { __decorate } from 'tslib';
2
+ import * as i0 from '@angular/core';
3
+ import { InjectionToken, inject, EventEmitter, ChangeDetectorRef, ElementRef, forwardRef, TemplateRef, Component, ChangeDetectionStrategy, Optional, Self, Inject, ViewChild, Input, Output, ContentChild, HostListener, NgModule } from '@angular/core';
4
+ import * as i4 from '@angular/forms';
3
5
  import { NgControl, FormsModule } from '@angular/forms';
4
6
  import { tuiDefaultCardValidator, TUI_CARD_MASK } from '@taiga-ui/addon-commerce/constants';
5
- import { tuiCreateAutoCorrectedExpirePipe, getPaymentSystem } from '@taiga-ui/addon-commerce/utils';
6
- import { typedFromEvent, AbstractTuiNullableControl, isNativeFocusedIn, tuiAssertIsHTMLElement, isNativeFocused, tuiDefaultProp, tuiRequiredSetter, tuiPure, TUI_FOCUSABLE_ITEM_ACCESSOR, 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';
7
+ import { tuiCreateAutoCorrectedExpirePipe, tuiGetPaymentSystem } from '@taiga-ui/addon-commerce/utils';
8
+ import * as i3 from '@taiga-ui/cdk';
9
+ import { typedFromEvent, AbstractTuiNullableControl, tuiIsNativeFocusedIn, tuiAssertIsElement, tuiIsNativeFocused, TUI_FOCUSABLE_ITEM_ACCESSOR, tuiDefaultProp, tuiRequiredSetter, tuiPure, TuiFocusableModule, TuiActiveZoneModule, TuiInputModeModule, TuiMapperPipeModule, TuiPreventDefaultModule, TuiLetModule } from '@taiga-ui/cdk';
10
+ import * as i1 from '@taiga-ui/core';
11
+ import { TUI_DIGIT_REGEXP, TUI_NON_DIGIT_REGEXP, TUI_MODE, TUI_TEXTFIELD_APPEARANCE, MODE_PROVIDER, TUI_DATA_LIST_HOST, TuiDataListDirective, TuiDataListComponent, TuiSvgModule, TuiWrapperModule, TuiDropdownModule } from '@taiga-ui/core';
9
12
  import { WINDOW } from '@ng-web-apis/common';
10
13
  import { TUI_CARD_NUMBER_TEXTS, TUI_CARD_EXPIRY_TEXTS, TUI_CARD_CVC_TEXTS } from '@taiga-ui/addon-commerce/tokens';
11
14
  import { TUI_MEDIA } from '@taiga-ui/core/tokens';
15
+ import * as i8 from 'rxjs';
16
+ import { combineLatest, of } from 'rxjs';
12
17
  import { startWith, switchMap, map } from 'rxjs/operators';
18
+ import * as i2 from '@angular/common';
13
19
  import { CommonModule } from '@angular/common';
14
- import { TuiFormatCardModule } from '@taiga-ui/addon-commerce/pipes';
15
- import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
20
+ import * as i5 from 'angular2-text-mask';
16
21
  import { TextMaskModule } from 'angular2-text-mask';
22
+ import * as i6 from '@tinkoff/ng-polymorpheus';
23
+ import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
24
+ import * as i7 from '@taiga-ui/addon-commerce/pipes';
25
+ import { TuiFormatCardModule } from '@taiga-ui/addon-commerce/pipes';
17
26
 
18
- const TUI_INPUT_CARD_GROUPED_TEXTS = new InjectionToken('InputCardGrouped texts', {
27
+ const TUI_INPUT_CARD_GROUPED_TEXTS = new InjectionToken(`InputCardGrouped texts`, {
19
28
  factory: () => inputGroupedTextsFactory(inject(WINDOW), inject(TUI_CARD_NUMBER_TEXTS), inject(TUI_CARD_EXPIRY_TEXTS), inject(TUI_CARD_CVC_TEXTS), inject(TUI_MEDIA)),
20
29
  });
21
30
  // eslint-disable-next-line @typescript-eslint/naming-convention
22
31
  function inputGroupedTextsFactory(windowRef, cardNumberTexts, expiryTexts, cvcTexts, { desktopSmall }) {
23
32
  const media = windowRef.matchMedia(`screen and (min-width: ${(desktopSmall - 1) / 16}em)`);
24
- return typedFromEvent(media, 'change').pipe(startWith(null), switchMap(() => combineLatest([
33
+ return typedFromEvent(media, `change`).pipe(startWith(null), switchMap(() => combineLatest([
25
34
  of(Number(media.matches)),
26
35
  cardNumberTexts,
27
36
  expiryTexts,
@@ -33,21 +42,20 @@ function inputGroupedTextsFactory(windowRef, cardNumberTexts, expiryTexts, cvcTe
33
42
  })));
34
43
  }
35
44
 
36
- var TuiInputCardGroupedComponent_1;
37
45
  const STUB = {
38
- card: '',
39
- expire: '',
40
- cvc: '',
46
+ card: ``,
47
+ expire: ``,
48
+ cvc: ``,
41
49
  };
42
50
  const ICONS = {
43
- ["mir" /* Mir */]: 'tuiIconMir',
44
- ["visa" /* Visa */]: 'tuiIconVisa',
45
- ["electron" /* Electron */]: 'tuiIconElectron',
46
- ["mastercard" /* Mastercard */]: 'tuiIconMastercard',
47
- ["maestro" /* Maestro */]: 'tuiIconMaestro',
51
+ mir: `tuiIconMir`,
52
+ visa: `tuiIconVisa`,
53
+ electron: `tuiIconElectron`,
54
+ mastercard: `tuiIconMastercard`,
55
+ maestro: `tuiIconMaestro`,
48
56
  };
49
57
  // @dynamic
50
- let TuiInputCardGroupedComponent = TuiInputCardGroupedComponent_1 = class TuiInputCardGroupedComponent extends AbstractTuiNullableControl {
58
+ class TuiInputCardGroupedComponent extends AbstractTuiNullableControl {
51
59
  constructor(control, changeDetectorRef, elementRef, mode$, cardGroupedTexts$, appearance) {
52
60
  super(control, changeDetectorRef);
53
61
  this.elementRef = elementRef;
@@ -56,13 +64,13 @@ let TuiInputCardGroupedComponent = TuiInputCardGroupedComponent_1 = class TuiInp
56
64
  this.appearance = appearance;
57
65
  this.expireInert = false;
58
66
  this.autocompleteEnabled = false;
59
- this.cardSrc = null; // TODO: 3.0 will be deleted `null` in v3.0
60
- this.exampleText = '0000 0000 0000 0000';
67
+ this.cardSrc = ``;
68
+ this.exampleText = `0000 0000 0000 0000`;
61
69
  this.cardValidator = tuiDefaultCardValidator;
62
70
  this.autofilledChange = new EventEmitter();
63
71
  this.binChange = new EventEmitter();
64
- this.dropdown = '';
65
- this.exampleTextCVC = '000';
72
+ this.dropdown = ``;
73
+ this.exampleTextCVC = `000`;
66
74
  this.maskCVC = {
67
75
  mask: new Array(3).fill(TUI_DIGIT_REGEXP),
68
76
  guide: false,
@@ -76,7 +84,7 @@ let TuiInputCardGroupedComponent = TuiInputCardGroupedComponent_1 = class TuiInp
76
84
  mask: [
77
85
  TUI_DIGIT_REGEXP,
78
86
  TUI_DIGIT_REGEXP,
79
- '/',
87
+ `/`,
80
88
  TUI_DIGIT_REGEXP,
81
89
  TUI_DIGIT_REGEXP,
82
90
  ],
@@ -86,7 +94,7 @@ let TuiInputCardGroupedComponent = TuiInputCardGroupedComponent_1 = class TuiInp
86
94
  this.open = false;
87
95
  }
88
96
  set codeLength(length) {
89
- this.exampleTextCVC = '0'.repeat(length);
97
+ this.exampleTextCVC = `0`.repeat(length);
90
98
  this.maskCVC = {
91
99
  mask: new Array(length).fill(TUI_DIGIT_REGEXP),
92
100
  guide: false,
@@ -96,19 +104,19 @@ let TuiInputCardGroupedComponent = TuiInputCardGroupedComponent_1 = class TuiInp
96
104
  return this.inputCard ? this.inputCard.nativeElement : null;
97
105
  }
98
106
  get focused() {
99
- return this.open || isNativeFocusedIn(this.elementRef.nativeElement);
107
+ return this.open || tuiIsNativeFocusedIn(this.elementRef.nativeElement);
100
108
  }
101
109
  get card() {
102
- var _a, _b;
103
- return (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.card) !== null && _b !== void 0 ? _b : '';
110
+ var _a;
111
+ return ((_a = this.value) === null || _a === void 0 ? void 0 : _a.card) || ``;
104
112
  }
105
113
  get expire() {
106
- var _a, _b;
107
- return (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.expire) !== null && _b !== void 0 ? _b : '';
114
+ var _a;
115
+ return ((_a = this.value) === null || _a === void 0 ? void 0 : _a.expire) || ``;
108
116
  }
109
117
  get cvc() {
110
- var _a, _b;
111
- return (_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.cvc) !== null && _b !== void 0 ? _b : '';
118
+ var _a;
119
+ return ((_a = this.value) === null || _a === void 0 ? void 0 : _a.cvc) || ``;
112
120
  }
113
121
  get hasCleaner() {
114
122
  var _a, _b;
@@ -122,8 +130,7 @@ let TuiInputCardGroupedComponent = TuiInputCardGroupedComponent_1 = class TuiInp
122
130
  return paymentSystem && ICONS[paymentSystem];
123
131
  }
124
132
  get icon() {
125
- var _a;
126
- return (_a = this.cardSrc) !== null && _a !== void 0 ? _a : this.defaultIcon;
133
+ return this.cardSrc || this.defaultIcon;
127
134
  }
128
135
  get bin() {
129
136
  return !this.value || this.value.card.length < 6
@@ -166,7 +173,7 @@ let TuiInputCardGroupedComponent = TuiInputCardGroupedComponent_1 = class TuiInp
166
173
  }
167
174
  // Safari expiration date autofill workaround
168
175
  get name() {
169
- return this.autocompleteEnabled ? 'ccexpiryyear' : null;
176
+ return this.autocompleteEnabled ? `ccexpiryyear` : null;
170
177
  }
171
178
  get cardPrefilled() {
172
179
  return !!this.card.match(TUI_NON_DIGIT_REGEXP);
@@ -184,7 +191,7 @@ let TuiInputCardGroupedComponent = TuiInputCardGroupedComponent_1 = class TuiInp
184
191
  return this.isFocusable(this.card);
185
192
  }
186
193
  get masked() {
187
- return this.cardPrefilled ? `*${this.card.slice(-4)}` : '*';
194
+ return this.cardPrefilled ? `*${this.card.slice(-4)}` : `*`;
188
195
  }
189
196
  onEsc() {
190
197
  this.open = false;
@@ -197,7 +204,7 @@ let TuiInputCardGroupedComponent = TuiInputCardGroupedComponent_1 = class TuiInp
197
204
  }
198
205
  handleOption(option) {
199
206
  var _a, _b;
200
- const { card = '', expire = '', cvc = '' } = option;
207
+ const { card = ``, expire = ``, cvc = `` } = option;
201
208
  const { bin } = this;
202
209
  const element = (!expire && ((_a = this.inputExpire) === null || _a === void 0 ? void 0 : _a.nativeElement)) || ((_b = this.inputCVC) === null || _b === void 0 ? void 0 : _b.nativeElement);
203
210
  this.updateValue({ card, expire, cvc });
@@ -208,11 +215,11 @@ let TuiInputCardGroupedComponent = TuiInputCardGroupedComponent_1 = class TuiInp
208
215
  }
209
216
  onCardChange(card) {
210
217
  const { value, bin } = this;
211
- const parsed = card.split(' ').join('');
218
+ const parsed = card.split(` `).join(``);
212
219
  if (value && value.card === parsed) {
213
220
  return;
214
221
  }
215
- this.updateProperty(parsed, 'card');
222
+ this.updateProperty(parsed, `card`);
216
223
  this.updateBin(bin);
217
224
  if (this.cardValidator(this.card) && !this.expire && this.inputExpire) {
218
225
  this.focusExpire();
@@ -227,35 +234,32 @@ let TuiInputCardGroupedComponent = TuiInputCardGroupedComponent_1 = class TuiInp
227
234
  if (parseInt(expire.slice(0, 2), 10) > 12) {
228
235
  expire = `12${expire.slice(2)}`;
229
236
  }
230
- if (expire.slice(0, 2) === '00') {
237
+ if (expire.slice(0, 2) === `00`) {
231
238
  expire = `01${expire.slice(2)}`;
232
239
  }
233
240
  this.inputExpire.nativeElement.value = expire;
234
- this.updateProperty(expire, 'expire');
241
+ this.updateProperty(expire, `expire`);
235
242
  if (expire.length === 5) {
236
243
  this.focusCVC();
237
244
  }
238
245
  }
239
246
  onCVCChange(cvc) {
240
- this.updateProperty(cvc, 'cvc');
247
+ this.updateProperty(cvc, `cvc`);
241
248
  }
242
249
  onActiveZoneChange(active) {
243
250
  this.updateFocused(active);
244
251
  this.open = active && this.open;
245
252
  }
246
- onHovered(hovered) {
247
- this.updateHovered(hovered);
248
- }
249
253
  onMouseDown(event) {
250
- tuiAssertIsHTMLElement(event.target);
251
- if (event.target.matches('input')) {
254
+ tuiAssertIsElement(event.target);
255
+ if (event.target.matches(`input`)) {
252
256
  return;
253
257
  }
254
258
  event.preventDefault();
255
259
  this.focusInput();
256
260
  }
257
261
  onScroll({ currentTarget }) {
258
- tuiAssertIsHTMLElement(currentTarget);
262
+ tuiAssertIsElement(currentTarget);
259
263
  currentTarget.scrollLeft = 0;
260
264
  }
261
265
  clear() {
@@ -285,10 +289,10 @@ let TuiInputCardGroupedComponent = TuiInputCardGroupedComponent_1 = class TuiInp
285
289
  (_a = this.inputCVC) === null || _a === void 0 ? void 0 : _a.nativeElement.focus();
286
290
  }
287
291
  get cardFocused() {
288
- return !!this.inputCard && isNativeFocused(this.inputCard.nativeElement);
292
+ return !!this.inputCard && tuiIsNativeFocused(this.inputCard.nativeElement);
289
293
  }
290
294
  get paymentSystem() {
291
- return this.value && getPaymentSystem(this.value.card);
295
+ return this.value && tuiGetPaymentSystem(this.value.card);
292
296
  }
293
297
  isFocusable(card) {
294
298
  return this.focusable && (this.cardValidator(card) || this.cardPrefilled);
@@ -317,113 +321,150 @@ let TuiInputCardGroupedComponent = TuiInputCardGroupedComponent_1 = class TuiInp
317
321
  focusInput() {
318
322
  var _a, _b, _c;
319
323
  const element = (this.cardFocusable && ((_a = this.inputCard) === null || _a === void 0 ? void 0 : _a.nativeElement)) ||
320
- (this.expireFocusable && ((_b = this.inputExpire) === null || _b === void 0 ? void 0 : _b.nativeElement)) || ((_c = this.inputCVC) === null || _c === void 0 ? void 0 : _c.nativeElement);
324
+ (this.expireFocusable && ((_b = this.inputExpire) === null || _b === void 0 ? void 0 : _b.nativeElement)) ||
325
+ ((_c = this.inputCVC) === null || _c === void 0 ? void 0 : _c.nativeElement);
321
326
  element === null || element === void 0 ? void 0 : element.focus();
322
327
  }
323
- };
324
- TuiInputCardGroupedComponent.ctorParameters = () => [
325
- { type: NgControl, decorators: [{ type: Optional }, { type: Self }, { type: Inject, args: [NgControl,] }] },
326
- { type: ChangeDetectorRef, decorators: [{ type: Inject, args: [ChangeDetectorRef,] }] },
327
- { type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] },
328
- { type: Observable, decorators: [{ type: Inject, args: [TUI_MODE,] }] },
329
- { type: Observable, decorators: [{ type: Inject, args: [TUI_INPUT_CARD_GROUPED_TEXTS,] }] },
330
- { type: String, decorators: [{ type: Inject, args: [TUI_TEXTFIELD_APPEARANCE,] }] }
331
- ];
332
- __decorate([
333
- ViewChild('inputCard')
334
- ], TuiInputCardGroupedComponent.prototype, "inputCard", void 0);
335
- __decorate([
336
- ViewChild('inputExpire')
337
- ], TuiInputCardGroupedComponent.prototype, "inputExpire", void 0);
338
- __decorate([
339
- ViewChild('inputCVC')
340
- ], TuiInputCardGroupedComponent.prototype, "inputCVC", void 0);
328
+ }
329
+ TuiInputCardGroupedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputCardGroupedComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: ElementRef }, { token: TUI_MODE }, { token: TUI_INPUT_CARD_GROUPED_TEXTS }, { token: TUI_TEXTFIELD_APPEARANCE }], target: i0.ɵɵFactoryTarget.Component });
330
+ TuiInputCardGroupedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiInputCardGroupedComponent, selector: "tui-input-card-grouped", inputs: { autocompleteEnabled: "autocompleteEnabled", cardSrc: "cardSrc", exampleText: "exampleText", cardValidator: "cardValidator", codeLength: "codeLength" }, outputs: { autofilledChange: "autofilledChange", binChange: "binChange" }, host: { attributes: { "data-size": "l" }, listeners: { "$.data-mode.attr": "mode$", "keydown.esc": "onEsc()", "keydown.arrowDown.prevent": "onArrow($event.target,1)", "keydown.arrowUp.prevent": "onArrow($event.target,-1)" } }, providers: [
331
+ MODE_PROVIDER,
332
+ {
333
+ provide: TUI_FOCUSABLE_ITEM_ACCESSOR,
334
+ useExisting: forwardRef(() => TuiInputCardGroupedComponent),
335
+ },
336
+ {
337
+ provide: TUI_DATA_LIST_HOST,
338
+ useExisting: forwardRef(() => TuiInputCardGroupedComponent),
339
+ },
340
+ ], queries: [{ propertyName: "dropdown", first: true, predicate: TuiDataListDirective, descendants: true, read: TemplateRef }, { propertyName: "datalist", first: true, predicate: TuiDataListComponent, descendants: true }], viewQueries: [{ propertyName: "inputCard", first: true, predicate: ["inputCard"], descendants: true }, { propertyName: "inputExpire", first: true, predicate: ["inputExpire"], descendants: true }, { propertyName: "inputCVC", first: true, predicate: ["inputCVC"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div\n *ngIf=\"cardGroupedTexts$ | async as texts\"\n tuiWrapper\n class=\"t-common-wrapper\"\n [appearance]=\"appearance\"\n [readOnly]=\"readOnly\"\n [disabled]=\"computedDisabled\"\n [focus]=\"computedFocused\"\n [hover]=\"pseudoHover\"\n [invalid]=\"computedInvalid\"\n [tuiDropdown]=\"open\"\n [tuiDropdownContent]=\"dropdown || ''\"\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 class=\"t-icon-outlet\"\n >\n <tui-svg\n *polymorpheusOutlet=\"icon as text\"\n automation-id=\"tui-input-card-grouped__icon\"\n class=\"t-card\"\n [src]=\"text\"\n ></tui-svg>\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</div>\n", 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:.3s;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;width:100%;height:100%}.t-wrapper_cvc{margin-left:7.1875rem;transform:translate(100%)}:host-context(tui-root._mobile) .t-wrapper_cvc{margin-left:4.0625rem}.t-wrapper_expire{transform:translate(100%)}.t-wrapper_active{transform:translate(6.5625rem)}:host-context(tui-root._mobile) .t-wrapper_active{transform:translate(4.125rem)}.t-card{width:2rem;height:2rem;margin-right:.625rem}.t-collapsed{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-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:solid transparent;border-width:0 0 0 0;border-width:0 var(--border-end, 0) 0 var(--border-start, 0);border-inline-start-width:0;border-inline-start-width:var(--border-start, 0);border-inline-end-width: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;border:0;padding-left:1rem;line-height:2.25rem;pointer-events:none}.t-collapsed:-webkit-autofill,.t-collapsed:-webkit-autofill:hover,.t-collapsed:-webkit-autofill:focus{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}:host[data-mode=onDark] .t-collapsed:-webkit-autofill,.t-collapsed :host-context(tui-primitive-textfield[data-mode=\"onDark\"]):-webkit-autofill,.t-collapsed :host-context(tui-text-area[data-mode=\"onDark\"]):-webkit-autofill,:host[data-mode=onDark] .t-collapsed:-webkit-autofill:hover,.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:hover,:host[data-mode=onDark] .t-collapsed:-webkit-autofill:focus,.t-collapsed :host-context(tui-primitive-textfield[data-mode=\"onDark\"]):-webkit-autofill:focus,.t-collapsed :host-context(tui-text-area[data-mode=\"onDark\"]):-webkit-autofill:focus{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}:host[data-size=s] .t-collapsed,.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){padding:0 var(--tui-padding-s)}:host[data-size=l] .t-collapsed,.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){padding:0 var(--tui-padding-l)}:host._disabled .t-collapsed,.t-collapsed :host-context(tui-primitive-textfield._disabled),.t-collapsed :host-context(tui-text-area._disabled){pointer-events:none}:host[data-size=l]:not(._label-outside) .t-collapsed,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield){padding-top:1.25rem}:host[data-size=l]:not(._label-outside) .t-collapsed:-webkit-autofill+.content .placeholder,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.content .placeholder{font-size:.8156rem;transform:translateY(-.625rem)}:host[data-size=m]:not(._label-outside) .t-collapsed,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield){padding-top:1.125rem}:host[data-size=m]:not(._label-outside) .t-collapsed:-webkit-autofill+.content .placeholder,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.content .placeholder{font-size:.69rem;transform:translateY(-.5rem)}:host._hidden input.t-collapsed,.t-collapsed :host-context(tui-primitive-textfield._hidden){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:.3s;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;bottom:0;right:100%;display:block;transform:translate(100%)}.t-value_collapsed{transform:translate(4ch)}.t-input{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-radius:inherit;background:none;font-size:inherit;line-height:inherit;font-weight:inherit;color:inherit;caret-color:currentColor;outline:none;-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:solid transparent;border-width:0 0 0 0;border-width:0 var(--border-end, 0) 0 var(--border-start, 0);border-inline-start-width:0;border-inline-start-width:var(--border-start, 0);border-inline-end-width: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:.3s;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;border:0;padding:0 1rem}.t-input:-webkit-autofill,.t-input:-webkit-autofill:hover,.t-input:-webkit-autofill:focus{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}:host[data-mode=onDark] .t-input:-webkit-autofill,.t-input :host-context(tui-primitive-textfield[data-mode=\"onDark\"]):-webkit-autofill,.t-input :host-context(tui-text-area[data-mode=\"onDark\"]):-webkit-autofill,:host[data-mode=onDark] .t-input:-webkit-autofill:hover,.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:hover,:host[data-mode=onDark] .t-input:-webkit-autofill:focus,.t-input :host-context(tui-primitive-textfield[data-mode=\"onDark\"]):-webkit-autofill:focus,.t-input :host-context(tui-text-area[data-mode=\"onDark\"]):-webkit-autofill:focus{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}:host[data-size=s] .t-input,.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){padding:0 var(--tui-padding-s)}:host[data-size=l] .t-input,.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){padding:0 var(--tui-padding-l)}:host._disabled .t-input,.t-input :host-context(tui-primitive-textfield._disabled),.t-input :host-context(tui-text-area._disabled){pointer-events:none}:host[data-size=l]:not(._label-outside) .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield){padding-top:1.25rem}:host[data-size=l]:not(._label-outside) .t-input:-webkit-autofill+.content .placeholder,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.content .placeholder{font-size:.8156rem;transform:translateY(-.625rem)}:host[data-size=m]:not(._label-outside) .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield){padding-top:1.125rem}:host[data-size=m]:not(._label-outside) .t-input:-webkit-autofill+.content .placeholder,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.content .placeholder{font-size:.69rem;transform:translateY(-.5rem)}:host._hidden input.t-input,.t-input :host-context(tui-primitive-textfield._hidden){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)::placeholder,.t-input_card:not(.t-input_hidden):-webkit-autofill{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:flex}.t-icon{transition-property:transform;transition-property:all;transition-duration:.3s;transition-duration:var(--tui-duration, .3s);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._readonly .t-icon,:host._disabled .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:.3s;transition-duration:var(--tui-duration, .3s);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=m]._focused._label-outside .t-placeholder,:host[data-size=l]._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=m]._focused:not(._label-outside) .t-placeholder,:host[data-size=l]._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=m][data-mode=onDark]._focused:not(._label-outside) .t-placeholder,:host[data-size=l][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=m][data-mode=onDark]._focused._label-outside .t-placeholder,:host[data-size=l][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}}\n"], components: [{ type: i1.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { type: i1.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container)", inputs: ["tuiDropdown"] }, { type: i3.TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }, { type: i3.TuiLetDirective, selector: "[tuiLet]", inputs: ["tuiLet"] }, { type: i3.TuiPreventDefaultDirective, selector: "[tuiPreventDefault]" }, { type: i3.TuiInputModeDirective, selector: "input[tuiInputMode]", inputs: ["tuiInputMode"] }, { type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i5.MaskedInputDirective, selector: "[textMask]", inputs: ["textMask"], exportAs: ["textMask"] }, { type: i3.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i6.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], pipes: { "async": i2.AsyncPipe, "tuiFormatCard": i7.TuiFormatCardPipe, "tuiMapper": i3.TuiMapperPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
341
341
  __decorate([
342
- Input(),
343
342
  tuiDefaultProp()
344
343
  ], TuiInputCardGroupedComponent.prototype, "autocompleteEnabled", void 0);
345
344
  __decorate([
346
- Input(),
347
345
  tuiDefaultProp()
348
346
  ], TuiInputCardGroupedComponent.prototype, "cardSrc", void 0);
349
347
  __decorate([
350
- Input(),
351
348
  tuiDefaultProp()
352
349
  ], TuiInputCardGroupedComponent.prototype, "exampleText", void 0);
353
350
  __decorate([
354
- Input(),
355
351
  tuiDefaultProp()
356
352
  ], TuiInputCardGroupedComponent.prototype, "cardValidator", void 0);
357
353
  __decorate([
358
- Input(),
359
354
  tuiRequiredSetter()
360
355
  ], TuiInputCardGroupedComponent.prototype, "codeLength", null);
361
- __decorate([
362
- Output()
363
- ], TuiInputCardGroupedComponent.prototype, "autofilledChange", void 0);
364
- __decorate([
365
- Output()
366
- ], TuiInputCardGroupedComponent.prototype, "binChange", void 0);
367
- __decorate([
368
- ContentChild(TuiDataListDirective, { read: TemplateRef })
369
- ], TuiInputCardGroupedComponent.prototype, "dropdown", void 0);
370
- __decorate([
371
- ContentChild(TuiDataListComponent)
372
- ], TuiInputCardGroupedComponent.prototype, "datalist", void 0);
373
- __decorate([
374
- HostListener('keydown.esc')
375
- ], TuiInputCardGroupedComponent.prototype, "onEsc", null);
376
- __decorate([
377
- HostListener('keydown.arrowDown.prevent', ['$event.target', '1']),
378
- HostListener('keydown.arrowUp.prevent', ['$event.target', '-1'])
379
- ], TuiInputCardGroupedComponent.prototype, "onArrow", null);
380
356
  __decorate([
381
357
  tuiPure
382
358
  ], TuiInputCardGroupedComponent.prototype, "isFocusable", null);
383
- TuiInputCardGroupedComponent = TuiInputCardGroupedComponent_1 = __decorate([
384
- Component({
385
- selector: 'tui-input-card-grouped',
386
- 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",
387
- changeDetection: ChangeDetectionStrategy.OnPush,
388
- providers: [
389
- MODE_PROVIDER,
390
- {
391
- provide: TUI_FOCUSABLE_ITEM_ACCESSOR,
392
- useExisting: forwardRef(() => TuiInputCardGroupedComponent_1),
393
- },
394
- {
395
- provide: TUI_DATA_LIST_HOST,
396
- useExisting: forwardRef(() => TuiInputCardGroupedComponent_1),
397
- },
398
- ],
399
- host: {
400
- '($.data-mode.attr)': 'mode$',
401
- 'data-size': 'l',
402
- },
403
- 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}}"]
404
- }),
405
- __param(0, Optional()),
406
- __param(0, Self()),
407
- __param(0, Inject(NgControl)),
408
- __param(1, Inject(ChangeDetectorRef)),
409
- __param(2, Inject(ElementRef)),
410
- __param(3, Inject(TUI_MODE)),
411
- __param(4, Inject(TUI_INPUT_CARD_GROUPED_TEXTS)),
412
- __param(5, Inject(TUI_TEXTFIELD_APPEARANCE))
413
- ], TuiInputCardGroupedComponent);
359
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputCardGroupedComponent, decorators: [{
360
+ type: Component,
361
+ args: [{
362
+ selector: `tui-input-card-grouped`,
363
+ templateUrl: `./input-card-grouped.template.html`,
364
+ styleUrls: [`./input-card-grouped.style.less`],
365
+ changeDetection: ChangeDetectionStrategy.OnPush,
366
+ providers: [
367
+ MODE_PROVIDER,
368
+ {
369
+ provide: TUI_FOCUSABLE_ITEM_ACCESSOR,
370
+ useExisting: forwardRef(() => TuiInputCardGroupedComponent),
371
+ },
372
+ {
373
+ provide: TUI_DATA_LIST_HOST,
374
+ useExisting: forwardRef(() => TuiInputCardGroupedComponent),
375
+ },
376
+ ],
377
+ host: {
378
+ '($.data-mode.attr)': `mode$`,
379
+ 'data-size': `l`,
380
+ },
381
+ }]
382
+ }], ctorParameters: function () { return [{ type: i4.NgControl, decorators: [{
383
+ type: Optional
384
+ }, {
385
+ type: Self
386
+ }, {
387
+ type: Inject,
388
+ args: [NgControl]
389
+ }] }, { type: i0.ChangeDetectorRef, decorators: [{
390
+ type: Inject,
391
+ args: [ChangeDetectorRef]
392
+ }] }, { type: i0.ElementRef, decorators: [{
393
+ type: Inject,
394
+ args: [ElementRef]
395
+ }] }, { type: i8.Observable, decorators: [{
396
+ type: Inject,
397
+ args: [TUI_MODE]
398
+ }] }, { type: i8.Observable, decorators: [{
399
+ type: Inject,
400
+ args: [TUI_INPUT_CARD_GROUPED_TEXTS]
401
+ }] }, { type: undefined, decorators: [{
402
+ type: Inject,
403
+ args: [TUI_TEXTFIELD_APPEARANCE]
404
+ }] }]; }, propDecorators: { inputCard: [{
405
+ type: ViewChild,
406
+ args: [`inputCard`]
407
+ }], inputExpire: [{
408
+ type: ViewChild,
409
+ args: [`inputExpire`]
410
+ }], inputCVC: [{
411
+ type: ViewChild,
412
+ args: [`inputCVC`]
413
+ }], autocompleteEnabled: [{
414
+ type: Input
415
+ }], cardSrc: [{
416
+ type: Input
417
+ }], exampleText: [{
418
+ type: Input
419
+ }], cardValidator: [{
420
+ type: Input
421
+ }], codeLength: [{
422
+ type: Input
423
+ }], autofilledChange: [{
424
+ type: Output
425
+ }], binChange: [{
426
+ type: Output
427
+ }], dropdown: [{
428
+ type: ContentChild,
429
+ args: [TuiDataListDirective, { read: TemplateRef }]
430
+ }], datalist: [{
431
+ type: ContentChild,
432
+ args: [TuiDataListComponent]
433
+ }], onEsc: [{
434
+ type: HostListener,
435
+ args: [`keydown.esc`]
436
+ }], onArrow: [{
437
+ type: HostListener,
438
+ args: [`keydown.arrowDown.prevent`, [`$event.target`, `1`]]
439
+ }, {
440
+ type: HostListener,
441
+ args: [`keydown.arrowUp.prevent`, [`$event.target`, `-1`]]
442
+ }], isFocusable: [] } });
414
443
 
415
- let TuiInputCardGroupedModule = class TuiInputCardGroupedModule {
416
- };
417
- TuiInputCardGroupedModule = __decorate([
418
- NgModule({
419
- imports: [
444
+ class TuiInputCardGroupedModule {
445
+ }
446
+ TuiInputCardGroupedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputCardGroupedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
447
+ TuiInputCardGroupedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputCardGroupedModule, declarations: [TuiInputCardGroupedComponent], imports: [CommonModule,
448
+ FormsModule,
449
+ TextMaskModule,
450
+ TuiFocusableModule,
451
+ TuiSvgModule,
452
+ TuiWrapperModule,
453
+ TuiActiveZoneModule,
454
+ TuiInputModeModule,
455
+ TuiMapperPipeModule,
456
+ TuiDropdownModule,
457
+ TuiPreventDefaultModule,
458
+ PolymorpheusModule,
459
+ TuiLetModule,
460
+ TuiFormatCardModule], exports: [TuiInputCardGroupedComponent] });
461
+ TuiInputCardGroupedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputCardGroupedModule, imports: [[
420
462
  CommonModule,
421
463
  FormsModule,
422
464
  TextMaskModule,
423
465
  TuiFocusableModule,
424
466
  TuiSvgModule,
425
467
  TuiWrapperModule,
426
- TuiHoveredModule,
427
468
  TuiActiveZoneModule,
428
469
  TuiInputModeModule,
429
470
  TuiMapperPipeModule,
@@ -432,11 +473,30 @@ TuiInputCardGroupedModule = __decorate([
432
473
  PolymorpheusModule,
433
474
  TuiLetModule,
434
475
  TuiFormatCardModule,
435
- ],
436
- declarations: [TuiInputCardGroupedComponent],
437
- exports: [TuiInputCardGroupedComponent],
438
- })
439
- ], TuiInputCardGroupedModule);
476
+ ]] });
477
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputCardGroupedModule, decorators: [{
478
+ type: NgModule,
479
+ args: [{
480
+ imports: [
481
+ CommonModule,
482
+ FormsModule,
483
+ TextMaskModule,
484
+ TuiFocusableModule,
485
+ TuiSvgModule,
486
+ TuiWrapperModule,
487
+ TuiActiveZoneModule,
488
+ TuiInputModeModule,
489
+ TuiMapperPipeModule,
490
+ TuiDropdownModule,
491
+ TuiPreventDefaultModule,
492
+ PolymorpheusModule,
493
+ TuiLetModule,
494
+ TuiFormatCardModule,
495
+ ],
496
+ declarations: [TuiInputCardGroupedComponent],
497
+ exports: [TuiInputCardGroupedComponent],
498
+ }]
499
+ }] });
440
500
 
441
501
  /**
442
502
  * Generated bundle index. Do not edit.