@taiga-ui/addon-commerce 3.58.0 → 3.59.0-canary.1c24449

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 (260) hide show
  1. package/components/input-card/abstract-input-card.d.ts +1 -1
  2. package/components/input-card/input-card.component.d.ts +1 -1
  3. package/components/input-card/input-card.directive.d.ts +1 -1
  4. package/components/input-card-grouped/input-card-grouped.component.d.ts +1 -1
  5. package/components/input-cvc/input-cvc.component.d.ts +1 -1
  6. package/components/input-expire/input-expire.component.d.ts +1 -1
  7. package/components/money/money.component.d.ts +1 -1
  8. package/components/money/pipes/fraction-part.pipe.d.ts +1 -1
  9. package/components/money/pipes/integer-part.pipe.d.ts +1 -1
  10. package/components/money/pipes/sign-symbol.pipe.d.ts +1 -1
  11. package/components/thumbnail-card/deprecated.d.ts +1 -1
  12. package/components/thumbnail-card/thumbnail-card.component.d.ts +1 -1
  13. package/{esm2015/components/input-card/abstract-input-card.js → esm2020/components/input-card/abstract-input-card.mjs} +3 -3
  14. package/esm2020/components/input-card/input-card.component.mjs +91 -0
  15. package/{esm2015/components/input-card/input-card.directive.js → esm2020/components/input-card/input-card.directive.mjs} +3 -3
  16. package/{esm2015/components/input-card/input-card.module.js → esm2020/components/input-card/input-card.module.mjs} +9 -11
  17. package/esm2020/components/input-card-grouped/input-card-grouped.component.mjs +337 -0
  18. package/{esm2015/components/input-card-grouped/input-card-grouped.module.js → esm2020/components/input-card-grouped/input-card-grouped.module.mjs} +19 -21
  19. package/esm2020/components/input-card-grouped/input-card-grouped.options.mjs +14 -0
  20. package/esm2020/components/input-cvc/input-cvc.component.mjs +91 -0
  21. package/{esm2015/components/input-cvc/input-cvc.module.js → esm2020/components/input-cvc/input-cvc.module.mjs} +8 -10
  22. package/esm2020/components/input-expire/input-expire.component.mjs +73 -0
  23. package/{esm2015/components/input-expire/input-expire.module.js → esm2020/components/input-expire/input-expire.module.mjs} +8 -10
  24. package/esm2020/components/money/money.component.mjs +78 -0
  25. package/{esm2015/components/money/money.module.js → esm2020/components/money/money.module.mjs} +5 -5
  26. package/{esm2015/components/money/pipes/fraction-part.pipe.js → esm2020/components/money/pipes/fraction-part.pipe.mjs} +3 -3
  27. package/{esm2015/components/money/pipes/integer-part.pipe.js → esm2020/components/money/pipes/integer-part.pipe.mjs} +9 -5
  28. package/{esm2015/components/money/pipes/sign-symbol.pipe.js → esm2020/components/money/pipes/sign-symbol.pipe.mjs} +3 -3
  29. package/esm2020/components/money/utils/format-fraction-part.mjs +11 -0
  30. package/esm2020/components/thumbnail-card/deprecated.mjs +35 -0
  31. package/{esm2015/components/thumbnail-card/thumbnail-card.component.js → esm2020/components/thumbnail-card/thumbnail-card.component.mjs} +7 -12
  32. package/{esm2015/components/thumbnail-card/thumbnail-card.module.js → esm2020/components/thumbnail-card/thumbnail-card.module.mjs} +5 -5
  33. package/{esm2015/pipes/currency/currency.module.js → esm2020/pipes/currency/currency.module.mjs} +4 -4
  34. package/{esm2015/pipes/currency/currency.pipe.js → esm2020/pipes/currency/currency.pipe.mjs} +3 -3
  35. package/{esm2015/pipes/format-card/format-card.module.js → esm2020/pipes/format-card/format-card.module.mjs} +4 -4
  36. package/{esm2015/pipes/format-card/format-card.pipe.js → esm2020/pipes/format-card/format-card.pipe.mjs} +3 -3
  37. package/{esm2015/utils/get-code-by-currency.js → esm2020/utils/get-code-by-currency.mjs} +2 -3
  38. package/{esm2015/utils/get-currency-by-code.js → esm2020/utils/get-currency-by-code.mjs} +2 -3
  39. package/esm2020/utils/get-payment-system.mjs +105 -0
  40. package/esm2020/validators/card-expire.validator.mjs +8 -0
  41. package/esm2020/validators/card-number.validator.mjs +8 -0
  42. package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.mjs +451 -0
  43. package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.mjs.map +1 -0
  44. package/fesm2015/taiga-ui-addon-commerce-components-input-card.mjs +230 -0
  45. package/fesm2015/taiga-ui-addon-commerce-components-input-card.mjs.map +1 -0
  46. package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.mjs +128 -0
  47. package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.mjs.map +1 -0
  48. package/fesm2015/taiga-ui-addon-commerce-components-input-expire.mjs +110 -0
  49. package/fesm2015/taiga-ui-addon-commerce-components-input-expire.mjs.map +1 -0
  50. package/fesm2015/taiga-ui-addon-commerce-components-money.mjs +205 -0
  51. package/fesm2015/taiga-ui-addon-commerce-components-money.mjs.map +1 -0
  52. package/fesm2015/taiga-ui-addon-commerce-components-thumbnail-card.mjs +100 -0
  53. package/fesm2015/taiga-ui-addon-commerce-components-thumbnail-card.mjs.map +1 -0
  54. package/fesm2015/{taiga-ui-addon-commerce-components.js → taiga-ui-addon-commerce-components.mjs} +1 -1
  55. package/fesm2015/taiga-ui-addon-commerce-components.mjs.map +1 -0
  56. package/fesm2015/{taiga-ui-addon-commerce-constants.js → taiga-ui-addon-commerce-constants.mjs} +1 -1
  57. package/fesm2015/taiga-ui-addon-commerce-constants.mjs.map +1 -0
  58. package/fesm2015/{taiga-ui-addon-commerce-enums.js → taiga-ui-addon-commerce-enums.mjs} +1 -1
  59. package/fesm2015/taiga-ui-addon-commerce-enums.mjs.map +1 -0
  60. package/fesm2015/taiga-ui-addon-commerce-interfaces.mjs +4 -0
  61. package/fesm2015/taiga-ui-addon-commerce-interfaces.mjs.map +1 -0
  62. package/fesm2015/{taiga-ui-addon-commerce-pipes.js → taiga-ui-addon-commerce-pipes.mjs} +15 -15
  63. package/fesm2015/taiga-ui-addon-commerce-pipes.mjs.map +1 -0
  64. package/fesm2015/{taiga-ui-addon-commerce-tokens.js → taiga-ui-addon-commerce-tokens.mjs} +1 -1
  65. package/fesm2015/taiga-ui-addon-commerce-tokens.mjs.map +1 -0
  66. package/fesm2015/taiga-ui-addon-commerce-types.mjs +4 -0
  67. package/fesm2015/taiga-ui-addon-commerce-types.mjs.map +1 -0
  68. package/fesm2015/{taiga-ui-addon-commerce-utils.js → taiga-ui-addon-commerce-utils.mjs} +1 -1
  69. package/fesm2015/taiga-ui-addon-commerce-utils.mjs.map +1 -0
  70. package/fesm2015/{taiga-ui-addon-commerce-validators.js → taiga-ui-addon-commerce-validators.mjs} +1 -1
  71. package/fesm2015/taiga-ui-addon-commerce-validators.mjs.map +1 -0
  72. package/fesm2015/{taiga-ui-addon-commerce.js → taiga-ui-addon-commerce.mjs} +1 -1
  73. package/fesm2015/taiga-ui-addon-commerce.mjs.map +1 -0
  74. package/fesm2020/taiga-ui-addon-commerce-components-input-card-grouped.mjs +441 -0
  75. package/fesm2020/taiga-ui-addon-commerce-components-input-card-grouped.mjs.map +1 -0
  76. package/{fesm2015/taiga-ui-addon-commerce-components-input-card.js → fesm2020/taiga-ui-addon-commerce-components-input-card.mjs} +28 -38
  77. package/fesm2020/taiga-ui-addon-commerce-components-input-card.mjs.map +1 -0
  78. package/{fesm2015/taiga-ui-addon-commerce-components-input-cvc.js → fesm2020/taiga-ui-addon-commerce-components-input-cvc.mjs} +27 -36
  79. package/fesm2020/taiga-ui-addon-commerce-components-input-cvc.mjs.map +1 -0
  80. package/{fesm2015/taiga-ui-addon-commerce-components-input-expire.js → fesm2020/taiga-ui-addon-commerce-components-input-expire.mjs} +20 -29
  81. package/fesm2020/taiga-ui-addon-commerce-components-input-expire.mjs.map +1 -0
  82. package/{fesm2015/taiga-ui-addon-commerce-components-money.js → fesm2020/taiga-ui-addon-commerce-components-money.mjs} +67 -65
  83. package/fesm2020/taiga-ui-addon-commerce-components-money.mjs.map +1 -0
  84. package/{fesm2015/taiga-ui-addon-commerce-components-thumbnail-card.js → fesm2020/taiga-ui-addon-commerce-components-thumbnail-card.mjs} +19 -29
  85. package/fesm2020/taiga-ui-addon-commerce-components-thumbnail-card.mjs.map +1 -0
  86. package/fesm2020/taiga-ui-addon-commerce-components.mjs +11 -0
  87. package/fesm2020/taiga-ui-addon-commerce-components.mjs.map +1 -0
  88. package/fesm2020/taiga-ui-addon-commerce-constants.mjs +103 -0
  89. package/fesm2020/taiga-ui-addon-commerce-constants.mjs.map +1 -0
  90. package/fesm2020/taiga-ui-addon-commerce-enums.mjs +721 -0
  91. package/fesm2020/taiga-ui-addon-commerce-enums.mjs.map +1 -0
  92. package/fesm2020/taiga-ui-addon-commerce-interfaces.mjs +4 -0
  93. package/fesm2020/taiga-ui-addon-commerce-interfaces.mjs.map +1 -0
  94. package/fesm2020/taiga-ui-addon-commerce-pipes.mjs +67 -0
  95. package/fesm2020/taiga-ui-addon-commerce-pipes.mjs.map +1 -0
  96. package/fesm2020/taiga-ui-addon-commerce-tokens.mjs +23 -0
  97. package/fesm2020/taiga-ui-addon-commerce-tokens.mjs.map +1 -0
  98. package/fesm2020/taiga-ui-addon-commerce-types.mjs +4 -0
  99. package/fesm2020/taiga-ui-addon-commerce-types.mjs.map +1 -0
  100. package/fesm2020/taiga-ui-addon-commerce-utils.mjs +443 -0
  101. package/fesm2020/taiga-ui-addon-commerce-utils.mjs.map +1 -0
  102. package/fesm2020/taiga-ui-addon-commerce-validators.mjs +25 -0
  103. package/fesm2020/taiga-ui-addon-commerce-validators.mjs.map +1 -0
  104. package/fesm2020/taiga-ui-addon-commerce.mjs +14 -0
  105. package/fesm2020/taiga-ui-addon-commerce.mjs.map +1 -0
  106. package/package.json +172 -39
  107. package/pipes/currency/currency.pipe.d.ts +1 -1
  108. package/pipes/format-card/format-card.pipe.d.ts +1 -1
  109. package/types/code-length.d.ts +1 -1
  110. package/types/currency-variants.d.ts +2 -2
  111. package/types/money-sign.d.ts +2 -2
  112. package/types/payment-system.d.ts +1 -1
  113. package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js +0 -917
  114. package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js.map +0 -1
  115. package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js +0 -635
  116. package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js.map +0 -1
  117. package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js +0 -507
  118. package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js.map +0 -1
  119. package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js +0 -480
  120. package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js.map +0 -1
  121. package/bundles/taiga-ui-addon-commerce-components-money.umd.js +0 -272
  122. package/bundles/taiga-ui-addon-commerce-components-money.umd.js.map +0 -1
  123. package/bundles/taiga-ui-addon-commerce-components-thumbnail-card.umd.js +0 -475
  124. package/bundles/taiga-ui-addon-commerce-components-thumbnail-card.umd.js.map +0 -1
  125. package/bundles/taiga-ui-addon-commerce-components.umd.js +0 -51
  126. package/bundles/taiga-ui-addon-commerce-components.umd.js.map +0 -1
  127. package/bundles/taiga-ui-addon-commerce-constants.umd.js +0 -114
  128. package/bundles/taiga-ui-addon-commerce-constants.umd.js.map +0 -1
  129. package/bundles/taiga-ui-addon-commerce-enums.umd.js +0 -729
  130. package/bundles/taiga-ui-addon-commerce-enums.umd.js.map +0 -1
  131. package/bundles/taiga-ui-addon-commerce-interfaces.umd.js +0 -11
  132. package/bundles/taiga-ui-addon-commerce-interfaces.umd.js.map +0 -1
  133. package/bundles/taiga-ui-addon-commerce-pipes.umd.js +0 -110
  134. package/bundles/taiga-ui-addon-commerce-pipes.umd.js.map +0 -1
  135. package/bundles/taiga-ui-addon-commerce-tokens.umd.js +0 -31
  136. package/bundles/taiga-ui-addon-commerce-tokens.umd.js.map +0 -1
  137. package/bundles/taiga-ui-addon-commerce-types.umd.js +0 -11
  138. package/bundles/taiga-ui-addon-commerce-types.umd.js.map +0 -1
  139. package/bundles/taiga-ui-addon-commerce-utils.umd.js +0 -793
  140. package/bundles/taiga-ui-addon-commerce-utils.umd.js.map +0 -1
  141. package/bundles/taiga-ui-addon-commerce-validators.umd.js +0 -40
  142. package/bundles/taiga-ui-addon-commerce-validators.umd.js.map +0 -1
  143. package/bundles/taiga-ui-addon-commerce.umd.js +0 -69
  144. package/bundles/taiga-ui-addon-commerce.umd.js.map +0 -1
  145. package/components/input-card/package.json +0 -10
  146. package/components/input-card/taiga-ui-addon-commerce-components-input-card.d.ts +0 -5
  147. package/components/input-card-grouped/package.json +0 -10
  148. package/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.d.ts +0 -5
  149. package/components/input-cvc/package.json +0 -10
  150. package/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.d.ts +0 -5
  151. package/components/input-expire/package.json +0 -10
  152. package/components/input-expire/taiga-ui-addon-commerce-components-input-expire.d.ts +0 -5
  153. package/components/money/package.json +0 -10
  154. package/components/money/taiga-ui-addon-commerce-components-money.d.ts +0 -5
  155. package/components/package.json +0 -10
  156. package/components/taiga-ui-addon-commerce-components.d.ts +0 -5
  157. package/components/thumbnail-card/package.json +0 -10
  158. package/components/thumbnail-card/taiga-ui-addon-commerce-components-thumbnail-card.d.ts +0 -5
  159. package/constants/package.json +0 -10
  160. package/constants/taiga-ui-addon-commerce-constants.d.ts +0 -5
  161. package/enums/package.json +0 -10
  162. package/enums/taiga-ui-addon-commerce-enums.d.ts +0 -5
  163. package/esm2015/components/input-card/input-card.component.js +0 -99
  164. package/esm2015/components/input-card-grouped/input-card-grouped.component.js +0 -357
  165. package/esm2015/components/input-card-grouped/input-card-grouped.options.js +0 -9
  166. package/esm2015/components/input-cvc/input-cvc.component.js +0 -98
  167. package/esm2015/components/input-expire/input-expire.component.js +0 -80
  168. package/esm2015/components/money/money.component.js +0 -83
  169. package/esm2015/components/money/utils/format-fraction-part.js +0 -8
  170. package/esm2015/components/thumbnail-card/deprecated.js +0 -40
  171. package/esm2015/utils/get-payment-system.js +0 -106
  172. package/esm2015/validators/card-expire.validator.js +0 -9
  173. package/esm2015/validators/card-number.validator.js +0 -8
  174. package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js +0 -458
  175. package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js.map +0 -1
  176. package/fesm2015/taiga-ui-addon-commerce-components-input-card.js.map +0 -1
  177. package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.js.map +0 -1
  178. package/fesm2015/taiga-ui-addon-commerce-components-input-expire.js.map +0 -1
  179. package/fesm2015/taiga-ui-addon-commerce-components-money.js.map +0 -1
  180. package/fesm2015/taiga-ui-addon-commerce-components-thumbnail-card.js.map +0 -1
  181. package/fesm2015/taiga-ui-addon-commerce-components.js.map +0 -1
  182. package/fesm2015/taiga-ui-addon-commerce-constants.js.map +0 -1
  183. package/fesm2015/taiga-ui-addon-commerce-enums.js.map +0 -1
  184. package/fesm2015/taiga-ui-addon-commerce-interfaces.js +0 -4
  185. package/fesm2015/taiga-ui-addon-commerce-interfaces.js.map +0 -1
  186. package/fesm2015/taiga-ui-addon-commerce-pipes.js.map +0 -1
  187. package/fesm2015/taiga-ui-addon-commerce-tokens.js.map +0 -1
  188. package/fesm2015/taiga-ui-addon-commerce-types.js +0 -4
  189. package/fesm2015/taiga-ui-addon-commerce-types.js.map +0 -1
  190. package/fesm2015/taiga-ui-addon-commerce-utils.js.map +0 -1
  191. package/fesm2015/taiga-ui-addon-commerce-validators.js.map +0 -1
  192. package/fesm2015/taiga-ui-addon-commerce.js.map +0 -1
  193. package/interfaces/package.json +0 -10
  194. package/interfaces/taiga-ui-addon-commerce-interfaces.d.ts +0 -5
  195. package/pipes/package.json +0 -10
  196. package/pipes/taiga-ui-addon-commerce-pipes.d.ts +0 -5
  197. package/taiga-ui-addon-commerce.d.ts +0 -5
  198. package/tokens/package.json +0 -10
  199. package/tokens/taiga-ui-addon-commerce-tokens.d.ts +0 -5
  200. package/types/package.json +0 -10
  201. package/types/taiga-ui-addon-commerce-types.d.ts +0 -5
  202. package/utils/package.json +0 -10
  203. package/utils/taiga-ui-addon-commerce-utils.d.ts +0 -5
  204. package/validators/package.json +0 -10
  205. package/validators/taiga-ui-addon-commerce-validators.d.ts +0 -5
  206. /package/{esm2015/components/index.js → esm2020/components/index.mjs} +0 -0
  207. /package/{esm2015/components/input-card/index.js → esm2020/components/input-card/index.mjs} +0 -0
  208. /package/{esm2015/components/input-card/input-card.options.js → esm2020/components/input-card/input-card.options.mjs} +0 -0
  209. /package/{esm2015/components/input-card/taiga-ui-addon-commerce-components-input-card.js → esm2020/components/input-card/taiga-ui-addon-commerce-components-input-card.mjs} +0 -0
  210. /package/{esm2015/components/input-card-grouped/index.js → esm2020/components/input-card-grouped/index.mjs} +0 -0
  211. /package/{esm2015/components/input-card-grouped/input-card-grouped.providers.js → esm2020/components/input-card-grouped/input-card-grouped.providers.mjs} +0 -0
  212. /package/{esm2015/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.js → esm2020/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.mjs} +0 -0
  213. /package/{esm2015/components/input-cvc/index.js → esm2020/components/input-cvc/index.mjs} +0 -0
  214. /package/{esm2015/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.js → esm2020/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.mjs} +0 -0
  215. /package/{esm2015/components/input-expire/index.js → esm2020/components/input-expire/index.mjs} +0 -0
  216. /package/{esm2015/components/input-expire/taiga-ui-addon-commerce-components-input-expire.js → esm2020/components/input-expire/taiga-ui-addon-commerce-components-input-expire.mjs} +0 -0
  217. /package/{esm2015/components/money/index.js → esm2020/components/money/index.mjs} +0 -0
  218. /package/{esm2015/components/money/money.options.js → esm2020/components/money/money.options.mjs} +0 -0
  219. /package/{esm2015/components/money/taiga-ui-addon-commerce-components-money.js → esm2020/components/money/taiga-ui-addon-commerce-components-money.mjs} +0 -0
  220. /package/{esm2015/components/money/utils/format-sign-symbol.js → esm2020/components/money/utils/format-sign-symbol.mjs} +0 -0
  221. /package/{esm2015/components/taiga-ui-addon-commerce-components.js → esm2020/components/taiga-ui-addon-commerce-components.mjs} +0 -0
  222. /package/{esm2015/components/thumbnail-card/index.js → esm2020/components/thumbnail-card/index.mjs} +0 -0
  223. /package/{esm2015/components/thumbnail-card/taiga-ui-addon-commerce-components-thumbnail-card.js → esm2020/components/thumbnail-card/taiga-ui-addon-commerce-components-thumbnail-card.mjs} +0 -0
  224. /package/{esm2015/constants/card-holder-mask.js → esm2020/constants/card-holder-mask.mjs} +0 -0
  225. /package/{esm2015/constants/card-mask.js → esm2020/constants/card-mask.mjs} +0 -0
  226. /package/{esm2015/constants/default-card-validator.js → esm2020/constants/default-card-validator.mjs} +0 -0
  227. /package/{esm2015/constants/index.js → esm2020/constants/index.mjs} +0 -0
  228. /package/{esm2015/constants/taiga-ui-addon-commerce-constants.js → esm2020/constants/taiga-ui-addon-commerce-constants.mjs} +0 -0
  229. /package/{esm2015/enums/currency-code.js → esm2020/enums/currency-code.mjs} +0 -0
  230. /package/{esm2015/enums/currency.js → esm2020/enums/currency.mjs} +0 -0
  231. /package/{esm2015/enums/index.js → esm2020/enums/index.mjs} +0 -0
  232. /package/{esm2015/enums/taiga-ui-addon-commerce-enums.js → esm2020/enums/taiga-ui-addon-commerce-enums.mjs} +0 -0
  233. /package/{esm2015/index.js → esm2020/index.mjs} +0 -0
  234. /package/{esm2015/interfaces/card.js → esm2020/interfaces/card.mjs} +0 -0
  235. /package/{esm2015/interfaces/index.js → esm2020/interfaces/index.mjs} +0 -0
  236. /package/{esm2015/interfaces/taiga-ui-addon-commerce-interfaces.js → esm2020/interfaces/taiga-ui-addon-commerce-interfaces.mjs} +0 -0
  237. /package/{esm2015/pipes/index.js → esm2020/pipes/index.mjs} +0 -0
  238. /package/{esm2015/pipes/taiga-ui-addon-commerce-pipes.js → esm2020/pipes/taiga-ui-addon-commerce-pipes.mjs} +0 -0
  239. /package/{esm2015/taiga-ui-addon-commerce.js → esm2020/taiga-ui-addon-commerce.mjs} +0 -0
  240. /package/{esm2015/tokens/i18n.js → esm2020/tokens/i18n.mjs} +0 -0
  241. /package/{esm2015/tokens/index.js → esm2020/tokens/index.mjs} +0 -0
  242. /package/{esm2015/tokens/taiga-ui-addon-commerce-tokens.js → esm2020/tokens/taiga-ui-addon-commerce-tokens.mjs} +0 -0
  243. /package/{esm2015/types/code-length.js → esm2020/types/code-length.mjs} +0 -0
  244. /package/{esm2015/types/currency-variants.js → esm2020/types/currency-variants.mjs} +0 -0
  245. /package/{esm2015/types/index.js → esm2020/types/index.mjs} +0 -0
  246. /package/{esm2015/types/money-sign.js → esm2020/types/money-sign.mjs} +0 -0
  247. /package/{esm2015/types/payment-system.js → esm2020/types/payment-system.mjs} +0 -0
  248. /package/{esm2015/types/taiga-ui-addon-commerce-types.js → esm2020/types/taiga-ui-addon-commerce-types.mjs} +0 -0
  249. /package/{esm2015/utils/create-auto-corrected-expire-pipe.js → esm2020/utils/create-auto-corrected-expire-pipe.mjs} +0 -0
  250. /package/{esm2015/utils/format-currency.js → esm2020/utils/format-currency.mjs} +0 -0
  251. /package/{esm2015/utils/get-currency-symbol.js → esm2020/utils/get-currency-symbol.mjs} +0 -0
  252. /package/{esm2015/utils/index.js → esm2020/utils/index.mjs} +0 -0
  253. /package/{esm2015/utils/is-card-length-valid.js → esm2020/utils/is-card-length-valid.mjs} +0 -0
  254. /package/{esm2015/utils/is-card-number-valid.js → esm2020/utils/is-card-number-valid.mjs} +0 -0
  255. /package/{esm2015/utils/is-expire-valid.js → esm2020/utils/is-expire-valid.mjs} +0 -0
  256. /package/{esm2015/utils/payment-system-icons.js → esm2020/utils/payment-system-icons.mjs} +0 -0
  257. /package/{esm2015/utils/taiga-ui-addon-commerce-utils.js → esm2020/utils/taiga-ui-addon-commerce-utils.mjs} +0 -0
  258. /package/{esm2015/validators/index.js → esm2020/validators/index.mjs} +0 -0
  259. /package/{esm2015/validators/luhn.validator.js → esm2020/validators/luhn.validator.mjs} +0 -0
  260. /package/{esm2015/validators/taiga-ui-addon-commerce-validators.js → esm2020/validators/taiga-ui-addon-commerce-validators.mjs} +0 -0
@@ -0,0 +1,441 @@
1
+ import { __decorate } from 'tslib';
2
+ import * as i0 from '@angular/core';
3
+ import { inject, EventEmitter, ChangeDetectorRef, ElementRef, TemplateRef, Component, ChangeDetectionStrategy, Optional, Self, Inject, ViewChild, Input, Output, ContentChild, HostListener, NgModule } from '@angular/core';
4
+ import * as i2 from '@angular/forms';
5
+ import { NgControl, FormsModule } from '@angular/forms';
6
+ import { maskitoDateOptionsGenerator } from '@maskito/kit';
7
+ import { TUI_INPUT_CARD_DEFAULT_OPTIONS, AbstractTuiInputCard } from '@taiga-ui/addon-commerce/components/input-card';
8
+ import { tuiDefaultCardValidator, TUI_CARD_MASK } from '@taiga-ui/addon-commerce/constants';
9
+ import * as i4 from '@taiga-ui/cdk';
10
+ import { tuiCreateToken, tuiProvideOptions, tuiCreateTokenFromFactory, tuiTypedFromEvent, tuiIsNativeFocusedIn, tuiIsElement, tuiIsInput, tuiIsNativeFocused, tuiAsFocusableItemAccessor, tuiAsControl, TuiAutoFocusDirective, tuiPure, TuiFocusableModule, TuiActiveZoneModule, TuiMapperPipeModule, TuiPreventDefaultModule, TuiLetModule, TuiResizeModule, TuiAutoFocusModule } from '@taiga-ui/cdk';
11
+ import * as i5 from '@taiga-ui/core';
12
+ import { TUI_MEDIA, TUI_DIGIT_REGEXP, TUI_NON_DIGIT_REGEXP, TUI_MODE, TUI_TEXTFIELD_WATCHED_CONTROLLER, TUI_COMMON_ICONS, tuiAsDataListHost, MODE_PROVIDER, TEXTFIELD_CONTROLLER_PROVIDER, TuiDataListDirective, TuiDataListComponent, TuiSvgModule, TuiWrapperModule, TuiDropdownModule } from '@taiga-ui/core';
13
+ import { TUI_ARROW_OPTIONS } from '@taiga-ui/kit';
14
+ import { WINDOW } from '@ng-web-apis/common';
15
+ import { TUI_CARD_NUMBER_TEXTS, TUI_CARD_EXPIRY_TEXTS, TUI_CARD_CVC_TEXTS } from '@taiga-ui/addon-commerce/tokens';
16
+ import * as i8 from 'rxjs';
17
+ import { combineLatest, of } from 'rxjs';
18
+ import { startWith, switchMap, map } from 'rxjs/operators';
19
+ import * as i1 from '@angular/common';
20
+ import { CommonModule } from '@angular/common';
21
+ import * as i3 from '@maskito/angular';
22
+ import { MaskitoModule } from '@maskito/angular';
23
+ import * as i6 from '@tinkoff/ng-polymorpheus';
24
+ import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
25
+ import * as i7 from '@taiga-ui/addon-commerce/pipes';
26
+ import { TuiFormatCardModule } from '@taiga-ui/addon-commerce/pipes';
27
+
28
+ const TUI_INPUT_CARD_GROUPED_DEFAULT_OPTIONS = {
29
+ ...TUI_INPUT_CARD_DEFAULT_OPTIONS,
30
+ cardValidator: tuiDefaultCardValidator,
31
+ exampleText: `0000 0000 0000 0000`,
32
+ exampleTextCVC: `000`,
33
+ };
34
+ const TUI_INPUT_CARD_GROUPED_OPTIONS = tuiCreateToken(TUI_INPUT_CARD_GROUPED_DEFAULT_OPTIONS);
35
+ function tuiInputCardGroupedOptionsProvider(options) {
36
+ return tuiProvideOptions(TUI_INPUT_CARD_GROUPED_OPTIONS, options, TUI_INPUT_CARD_GROUPED_DEFAULT_OPTIONS);
37
+ }
38
+
39
+ /**
40
+ * InputCardGrouped texts
41
+ */
42
+ const TUI_INPUT_CARD_GROUPED_TEXTS = tuiCreateTokenFromFactory(() => {
43
+ const win = inject(WINDOW);
44
+ const cardNumberTexts = inject(TUI_CARD_NUMBER_TEXTS);
45
+ const expiryTexts = inject(TUI_CARD_EXPIRY_TEXTS);
46
+ const cvcTexts = inject(TUI_CARD_CVC_TEXTS);
47
+ const { desktopSmall } = inject(TUI_MEDIA);
48
+ const media = win.matchMedia(`screen and (min-width: ${(desktopSmall - 1) / 16}em)`);
49
+ return tuiTypedFromEvent(media, `change`).pipe(startWith(null), switchMap(() => combineLatest([
50
+ of(Number(media.matches)),
51
+ cardNumberTexts,
52
+ expiryTexts,
53
+ cvcTexts,
54
+ ])), map(([index, cardNumber, expiry, cvcTexts]) => ({
55
+ cardNumberText: cardNumber[index],
56
+ expiryText: expiry[index],
57
+ cvcText: cvcTexts[index],
58
+ })));
59
+ });
60
+
61
+ const EXPIRE_COMPLETE_LENGTH = 5; // MM/YY
62
+ class TuiInputCardGroupedComponent extends AbstractTuiInputCard {
63
+ set codeLength(length) {
64
+ this.exampleTextCVC = '0'.repeat(length);
65
+ this.maskCVC = {
66
+ mask: new Array(length).fill(TUI_DIGIT_REGEXP),
67
+ };
68
+ }
69
+ constructor(control, cdr, el, mode$, cardGroupedTexts$, controller, icons, arrowOptions, options) {
70
+ super(control, cdr, options);
71
+ this.el = el;
72
+ this.mode$ = mode$;
73
+ this.cardGroupedTexts$ = cardGroupedTexts$;
74
+ this.controller = controller;
75
+ this.icons = icons;
76
+ this.arrowOptions = arrowOptions;
77
+ this.expireInert = false;
78
+ this.exampleText = this.options.exampleText;
79
+ this.cardValidator = this.options.cardValidator;
80
+ this.autofilledChange = new EventEmitter();
81
+ this.exampleTextCVC = this.options.exampleTextCVC;
82
+ this.maskCVC = {
83
+ mask: new Array(3).fill(TUI_DIGIT_REGEXP),
84
+ };
85
+ this.maskCard = {
86
+ mask: TUI_CARD_MASK,
87
+ };
88
+ this.maskExpire = maskitoDateOptionsGenerator({
89
+ mode: 'mm/yy',
90
+ separator: '/',
91
+ });
92
+ this.open = false;
93
+ }
94
+ get nativeFocusableElement() {
95
+ return this.inputCard?.nativeElement ?? null;
96
+ }
97
+ get focused() {
98
+ return this.open || tuiIsNativeFocusedIn(this.el.nativeElement);
99
+ }
100
+ get appearance() {
101
+ return this.controller.appearance;
102
+ }
103
+ get card() {
104
+ return this.value?.card || '';
105
+ }
106
+ get expire() {
107
+ return this.value?.expire || '';
108
+ }
109
+ get cvc() {
110
+ return this.value?.cvc || '';
111
+ }
112
+ get hasCleaner() {
113
+ return !!this.value?.card?.trim() && !this.readOnly && !this.computedDisabled;
114
+ }
115
+ get hasDropdown() {
116
+ return !!this.dropdown;
117
+ }
118
+ get placeholderRaised() {
119
+ return (this.computedFocused && !this.readOnly) || this.hasCardNumber;
120
+ }
121
+ get hasCardNumber() {
122
+ return !!this.value?.card?.trim();
123
+ }
124
+ get idCard() {
125
+ return `${this.id}_card`;
126
+ }
127
+ get idExpire() {
128
+ return `${this.id}_expire`;
129
+ }
130
+ get idCVC() {
131
+ return `${this.id}_cvc`;
132
+ }
133
+ get isCardCollapsed() {
134
+ return this.isFocusable(this.card) && !this.cardFocused;
135
+ }
136
+ get autocompleteExpire() {
137
+ return this.autocompleteEnabled ? 'cc-exp' : 'off';
138
+ }
139
+ get autocompleteCVC() {
140
+ return this.autocompleteEnabled ? 'cc-csc' : 'off';
141
+ }
142
+ get tailLength() {
143
+ return this.hasExtraSpace ? 5 : 4;
144
+ }
145
+ // Safari expiration date autofill workaround
146
+ get name() {
147
+ return this.autocompleteEnabled ? 'ccexpiryyear' : null;
148
+ }
149
+ get cardPrefilled() {
150
+ return !!this.card.match(TUI_NON_DIGIT_REGEXP);
151
+ }
152
+ get cvcPrefilled() {
153
+ return !!this.cvc.match(TUI_NON_DIGIT_REGEXP);
154
+ }
155
+ get cardFocusable() {
156
+ return this.focusable && !this.cardPrefilled;
157
+ }
158
+ get expireFocusable() {
159
+ return this.isFocusable(this.card) && !this.expireInert;
160
+ }
161
+ get cvcFocusable() {
162
+ return this.isFocusable(this.card);
163
+ }
164
+ get masked() {
165
+ return this.cardPrefilled ? `*${this.card.slice(-4)}` : '*';
166
+ }
167
+ get expireSelectionStart() {
168
+ return this.inputExpire?.nativeElement.selectionStart || 0;
169
+ }
170
+ onEsc() {
171
+ this.open = false;
172
+ }
173
+ onArrow(element, step) {
174
+ this.open = this.hasDropdown;
175
+ this.cdr.detectChanges();
176
+ this.datalist?.onKeyDownArrow(element, step);
177
+ }
178
+ handleOption(option) {
179
+ const { card = '', expire = '', cvc = '' } = option;
180
+ const { bin } = this;
181
+ const element = (!expire && this.inputExpire?.nativeElement) || this.inputCVC?.nativeElement;
182
+ this.value = { card, expire, cvc };
183
+ this.updateBin(bin);
184
+ this.open = false;
185
+ this.expireInert = !!expire;
186
+ element?.focus();
187
+ }
188
+ onCardChange(card) {
189
+ const { value, bin } = this;
190
+ const parsed = card.split(' ').join('');
191
+ if (value && value.card === parsed) {
192
+ return;
193
+ }
194
+ this.updateProperty(parsed, 'card');
195
+ this.updateBin(bin);
196
+ if (this.cardValidator(this.card) && !this.expire && this.inputExpire) {
197
+ this.focusExpire();
198
+ }
199
+ }
200
+ onExpireChange(expire) {
201
+ this.updateProperty(expire, 'expire');
202
+ if (expire.length === EXPIRE_COMPLETE_LENGTH &&
203
+ this.expireSelectionStart >= EXPIRE_COMPLETE_LENGTH) {
204
+ this.focusCVC();
205
+ }
206
+ }
207
+ onCVCChange(cvc) {
208
+ this.updateProperty(cvc, 'cvc');
209
+ }
210
+ transform({ offsetWidth }) {
211
+ return this.isCardCollapsed ? `translate3d(${offsetWidth}px, 0, 0)` : '';
212
+ }
213
+ onActiveZoneChange(active) {
214
+ this.updateFocused(active);
215
+ this.open = active && this.open;
216
+ }
217
+ onMouseDown(event) {
218
+ if (tuiIsElement(event.target) && tuiIsInput(event.target)) {
219
+ return;
220
+ }
221
+ event.preventDefault();
222
+ this.focusInput();
223
+ }
224
+ onScroll({ currentTarget }) {
225
+ if (tuiIsElement(currentTarget)) {
226
+ currentTarget.scrollLeft = 0;
227
+ }
228
+ }
229
+ clear() {
230
+ this.expireInert = false;
231
+ this.value = null;
232
+ this.focusCard();
233
+ }
234
+ toggle() {
235
+ this.open = !this.open;
236
+ }
237
+ writeValue(value) {
238
+ const { bin } = this;
239
+ super.writeValue(value);
240
+ this.updateBin(bin);
241
+ this.expireInert = !!this.expire && this.cardPrefilled;
242
+ }
243
+ /** Public API for manual focus management */
244
+ focusCard() {
245
+ this.cardNumberAutofocusRef?.focus();
246
+ }
247
+ focusExpire() {
248
+ this.expireCardAutofocusRef?.focus();
249
+ }
250
+ focusCVC() {
251
+ this.cvcCardAutofocusRef?.focus();
252
+ }
253
+ get cardFocused() {
254
+ return !!this.inputCard && tuiIsNativeFocused(this.inputCard.nativeElement);
255
+ }
256
+ get hasExtraSpace() {
257
+ return this.card.length % 4 > 0;
258
+ }
259
+ isFocusable(card) {
260
+ return this.focusable && (this.cardValidator(card) || this.cardPrefilled);
261
+ }
262
+ updateBin(oldBin) {
263
+ const { bin } = this;
264
+ if (bin !== oldBin && !this.cardPrefilled) {
265
+ this.binChange.emit(bin);
266
+ }
267
+ }
268
+ updateProperty(value, propName) {
269
+ const { card = '', expire = '', cvc = '' } = this.value || {};
270
+ const newValue = { card, expire, cvc };
271
+ newValue[propName] = value;
272
+ this.value = newValue.expire || newValue.cvc || newValue.card ? newValue : null;
273
+ }
274
+ focusInput() {
275
+ const element = (this.cardFocusable && this.inputCard?.nativeElement) ||
276
+ (this.expireFocusable && this.inputExpire?.nativeElement) ||
277
+ this.inputCVC?.nativeElement;
278
+ element?.focus();
279
+ }
280
+ }
281
+ TuiInputCardGroupedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", 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_WATCHED_CONTROLLER }, { token: TUI_COMMON_ICONS }, { token: TUI_ARROW_OPTIONS }, { token: TUI_INPUT_CARD_GROUPED_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
282
+ TuiInputCardGroupedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiInputCardGroupedComponent, selector: "tui-input-card-grouped", inputs: { exampleText: "exampleText", cardValidator: "cardValidator", codeLength: "codeLength" }, outputs: { autofilledChange: "autofilledChange" }, 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: [
283
+ tuiAsFocusableItemAccessor(TuiInputCardGroupedComponent),
284
+ tuiAsControl(TuiInputCardGroupedComponent),
285
+ tuiAsDataListHost(TuiInputCardGroupedComponent),
286
+ MODE_PROVIDER,
287
+ TEXTFIELD_CONTROLLER_PROVIDER,
288
+ ], 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: "cardNumberAutofocusRef", first: true, predicate: ["inputCard"], descendants: true, read: TuiAutoFocusDirective }, { propertyName: "inputExpire", first: true, predicate: ["inputExpire"], descendants: true }, { propertyName: "expireCardAutofocusRef", first: true, predicate: ["inputExpire"], descendants: true, read: TuiAutoFocusDirective }, { propertyName: "inputCVC", first: true, predicate: ["inputCVC"], descendants: true }, { propertyName: "cvcCardAutofocusRef", first: true, predicate: ["inputCVC"], descendants: true, read: TuiAutoFocusDirective }], usesInheritance: true, ngImport: i0, template: "<div\n *ngIf=\"cardGroupedTexts$ | async as texts\"\n tuiDropdownLimitWidth=\"fixed\"\n tuiWrapper\n class=\"t-common-wrapper\"\n [appearance]=\"appearance\"\n [disabled]=\"computedDisabled\"\n [focus]=\"computedFocused\"\n [hover]=\"pseudoHover\"\n [invalid]=\"computedInvalid\"\n [readOnly]=\"readOnly\"\n [tuiDropdown]=\"dropdown || ''\"\n [tuiDropdownManual]=\"open\"\n (mousedown)=\"onMouseDown($event)\"\n (scroll)=\"onScroll($event)\"\n (tuiActiveZoneChange)=\"onActiveZoneChange($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 automation-id=\"tui-input-card-grouped__card\"\n inputmode=\"numeric\"\n translate=\"no\"\n type=\"text\"\n class=\"t-input t-input_card\"\n [attr.aria-invalid]=\"!cardPrefilled && !(this.card | tuiMapper: cardValidator)\"\n [attr.id]=\"idCard\"\n [autocomplete]=\"autocompleteCard\"\n [class.t-input_hidden]=\"!card.length && focused\"\n [class.t-input_inert]=\"cardPrefilled\"\n [disabled]=\"computedDisabled\"\n [maskito]=\"maskCard\"\n [ngModel]=\"formattedCard\"\n [placeholder]=\"cardPrefilled ? '' : exampleText\"\n [readOnly]=\"readOnly\"\n [tuiAutoFocus]=\"false\"\n [tuiFocusable]=\"cardFocusable\"\n (focus)=\"(0)\"\n (ngModelChange)=\"onCardChange($event)\"\n />\n <span\n aria-hidden=\"true\"\n translate=\"no\"\n class=\"t-collapsed\"\n [attr.data-before]=\"masked\"\n [class.t-collapsed_enable-mask]=\"isCardCollapsed\"\n (tuiResize)=\"(0)\"\n >\n <span\n #ghost\n class=\"t-ghost\"\n [textContent]=\"formattedCard.slice(-tailLength)\"\n ></span>\n\n <span class=\"t-collapsed-wrapper\">\n <span\n class=\"t-value\"\n [style.transform]=\"transform(ghost)\"\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 automation-id=\"tui-input-card-grouped__expire\"\n inputmode=\"numeric\"\n placeholder=\"00/00\"\n translate=\"no\"\n class=\"t-input\"\n [attr.id]=\"idExpire\"\n [attr.name]=\"name\"\n [autocomplete]=\"autocompleteExpire\"\n [class.t-input_inert]=\"!expireFocusable\"\n [disabled]=\"computedDisabled\"\n [maskito]=\"maskExpire\"\n [ngModel]=\"expire\"\n [readOnly]=\"readOnly\"\n [tuiAutoFocus]=\"false\"\n [tuiFocusable]=\"expireFocusable\"\n (focus)=\"(0)\"\n (ngModelChange)=\"onExpireChange($event)\"\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 automation-id=\"tui-input-card-grouped__cvc\"\n inputmode=\"numeric\"\n translate=\"no\"\n type=\"text\"\n class=\"t-input\"\n [attr.id]=\"idCVC\"\n [autocomplete]=\"autocompleteCVC\"\n [class.t-input_prefilled]=\"cvcPrefilled\"\n [disabled]=\"computedDisabled\"\n [maskito]=\"maskCVC\"\n [ngModel]=\"cvc\"\n [placeholder]=\"cvcPrefilled ? '\u2022\u2022\u2022' : exampleTextCVC\"\n [readOnly]=\"readOnly || cvcPrefilled\"\n [tuiAutoFocus]=\"false\"\n [tuiFocusable]=\"cvcFocusable\"\n (focus)=\"(0)\"\n (ngModelChange)=\"onCVCChange($event)\"\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 appearance=\"icon\"\n automation-id=\"tui-input-card-grouped__cleaner\"\n tuiWrapper\n class=\"t-icon\"\n [src]=\"icons.close\"\n (click)=\"clear()\"\n ></tui-svg>\n <tui-svg\n *ngIf=\"hasDropdown\"\n appearance=\"icon\"\n automation-id=\"tui-input-card-grouped__dropdown\"\n tuiWrapper\n class=\"t-icon\"\n [class.t-icon_rotated]=\"open\"\n [src]=\"arrowOptions.iconLarge\"\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:var(--tui-duration, .3s);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:.5rem;color:#1434cb}.t-collapsed{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-width: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%;border-style:solid;border-color:transparent;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;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{caret-color:var(--tui-base-09);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:-webkit-autofill,.t-collapsed:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-collapsed::-webkit-caps-lock-indicator,.t-collapsed::-webkit-contacts-auto-fill-button,.t-collapsed::-webkit-credit-card-auto-fill-button,.t-collapsed::-webkit-credentials-auto-fill-button,.t-collapsed::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-collapsed::placeholder{color:var(--tui-text-03);opacity:0}:host._focused:not(._readonly) .t-collapsed::placeholder,:host-context(tui-primitive-textfield._focused:not(._readonly)) .t-collapsed::placeholder,:host-context(tui-textarea._focused:not(._readonly)) .t-collapsed::placeholder,:host-context(tui-text-area._focused:not(._readonly)) .t-collapsed::placeholder{opacity:1}[tuiWrapper][data-mode=onDark] .t-collapsed:-webkit-autofill,.t-collapsed :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill,[tuiWrapper][data-mode=onDark] .t-collapsed:-webkit-autofill:hover,.t-collapsed :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill:hover,[tuiWrapper][data-mode=onDark] .t-collapsed:-webkit-autofill:focus,.t-collapsed :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill:focus{caret-color:var(--tui-base-09);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}[tuiWrapper][data-mode=onDark] .t-collapsed::placeholder,.t-collapsed :host-context([tuiWrapper][data-mode=\"onDark\"])::placeholder{color:var(--tui-text-03-night)}: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-textarea[data-size=\"s\"]):not(tui-textarea),.t-collapsed :host-context(tui-text-area[data-size=\"s\"]):not(tui-text-area){padding:0 var(--tui-padding-s)}:host[data-size=m] .t-collapsed,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"m\"]):not(tui-primitive-textfield),.t-collapsed :host-context(tui-textarea[data-size=\"m\"]):not(tui-textarea),.t-collapsed :host-context(tui-text-area[data-size=\"m\"]):not(tui-text-area){padding:0 var(--tui-padding-m)}: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-textarea[data-size=\"l\"]):not(tui-textarea),.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-textarea._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+.t-content .t-placeholder,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.t-content .t-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:1rem}:host[data-size=m]:not(._label-outside) .t-collapsed:-webkit-autofill+.t-content .t-placeholder,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.t-content .t-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:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;bottom:0;right:100%;display:block;transform:translate3d(100%,0,0)}.t-input{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-width: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%;border-style:solid;border-color:transparent;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, .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{caret-color:var(--tui-base-09);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:-webkit-autofill,.t-input:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-input::-webkit-caps-lock-indicator,.t-input::-webkit-contacts-auto-fill-button,.t-input::-webkit-credit-card-auto-fill-button,.t-input::-webkit-credentials-auto-fill-button,.t-input::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-input::placeholder{color:var(--tui-text-03);opacity:0}:host._focused:not(._readonly) .t-input::placeholder,:host-context(tui-primitive-textfield._focused:not(._readonly)) .t-input::placeholder,:host-context(tui-textarea._focused:not(._readonly)) .t-input::placeholder,:host-context(tui-text-area._focused:not(._readonly)) .t-input::placeholder{opacity:1}[tuiWrapper][data-mode=onDark] .t-input:-webkit-autofill,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill,[tuiWrapper][data-mode=onDark] .t-input:-webkit-autofill:hover,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill:hover,[tuiWrapper][data-mode=onDark] .t-input:-webkit-autofill:focus,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill:focus{caret-color:var(--tui-base-09);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}[tuiWrapper][data-mode=onDark] .t-input::placeholder,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"])::placeholder{color:var(--tui-text-03-night)}: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-textarea[data-size=\"s\"]):not(tui-textarea),.t-input :host-context(tui-text-area[data-size=\"s\"]):not(tui-text-area){padding:0 var(--tui-padding-s)}:host[data-size=m] .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]):not(tui-primitive-textfield),.t-input :host-context(tui-textarea[data-size=\"m\"]):not(tui-textarea),.t-input :host-context(tui-text-area[data-size=\"m\"]):not(tui-text-area){padding:0 var(--tui-padding-m)}: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-textarea[data-size=\"l\"]):not(tui-textarea),.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-textarea._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+.t-content .t-placeholder,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.t-content .t-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:1rem}:host[data-size=m]:not(._label-outside) .t-input:-webkit-autofill+.t-content .t-placeholder,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.t-content .t-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::placeholder{color:var(--tui-text-03);opacity:1}:host[data-mode=onDark] .t-input::placeholder{color:var(--tui-text-03-night)}.t-input.t-input.t-input_card:not(.t-input_hidden),:host[data-mode=onDark] .t-input.t-input.t-input_card:not(.t-input_hidden),.t-input.t-input.t-input_card:not(.t-input_hidden)::placeholder,:host[data-mode=onDark] .t-input.t-input.t-input_card:not(.t-input_hidden)::placeholder,.t-input.t-input.t-input_card:not(.t-input_hidden):-webkit-autofill,:host[data-mode=onDark] .t-input.t-input.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.t-input.t-input_card::-webkit-credit-card-auto-fill-button,:host[data-mode=onDark] .t-input.t-input.t-input_card::-webkit-credit-card-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events: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-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none;pointer-events:auto}:host._readonly .t-icon,:host._disabled .t-icon{pointer-events:none}.t-icon_rotated{transform:rotate(180deg)}.t-placeholder{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0);margin:1.125rem 1rem;line-height:1.25rem}@supports (-webkit-hyphens: none){.t-placeholder{will-change:unset;transition-property:transform,color,letter-spacing}}.t-placeholder_raised{transform:translateY(-.625rem)}:host[data-size=m] .t-placeholder_raised{font:var(--tui-font-text-xs);line-height:1.25rem;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._invalid:not(._focused) [tuiWrapper][data-mode=onDark] .t-placeholder_raised,:host._invalid:not(._focused):hover [tuiWrapper][data-mode=onDark] .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:var(--tui-font-text-m);line-height:1.25rem}: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)}[tuiWrapper][data-mode=onDark] .t-placeholder{color:var(--tui-text-02-night)}:host[data-size=m]._focused:not(._label-outside) [tuiWrapper][data-mode=onDark] .t-placeholder,:host[data-size=l]._focused:not(._label-outside) [tuiWrapper][data-mode=onDark] .t-placeholder{color:var(--tui-text-01-night)}:host._focused [tuiWrapper][data-mode=onDark] .t-placeholder,:host[data-size=m]._focused._label-outside [tuiWrapper][data-mode=onDark] .t-placeholder,:host[data-size=l]._focused._label-outside [tuiWrapper][data-mode=onDark] .t-placeholder{color:var(--tui-text-02-night)}.t-ghost{visibility:hidden}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { kind: "directive", type: i3.MaskitoCva, selector: "input[maskito], textarea[maskito]", inputs: ["maskito"] }, { kind: "directive", type: i4.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }, { kind: "component", type: i5.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }, { kind: "directive", type: i5.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { kind: "directive", type: i4.TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }, { kind: "directive", type: i5.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { kind: "directive", type: i5.TuiDropdownOptionsDirective, selector: "[tuiDropdownAlign], [tuiDropdownAppearance], [tuiDropdownDirection], [tuiDropdownLimitWidth], [tuiDropdownMinHeight], [tuiDropdownMaxHeight], [tuiDropdownOffset]", inputs: ["tuiDropdownAlign", "tuiDropdownAppearance", "tuiDropdownDirection", "tuiDropdownLimitWidth", "tuiDropdownMinHeight", "tuiDropdownMaxHeight", "tuiDropdownOffset"] }, { kind: "directive", type: i5.TuiDropdownDriverDirective, selector: "[tuiDropdown]" }, { kind: "directive", type: i5.TuiDropdownManualDirective, selector: "[tuiDropdown][tuiDropdownManual]", inputs: ["tuiDropdownManual"] }, { kind: "directive", type: i5.TuiDropdownPositionDirective, selector: "[tuiDropdown]:not([tuiDropdownCustomPosition]):not([tuiDropdownSided])" }, { kind: "directive", type: i4.TuiPreventDefaultDirective, selector: "[tuiPreventDefault]", inputs: ["tuiPreventDefault"] }, { kind: "directive", type: i6.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: i4.TuiLetDirective, selector: "[tuiLet]", inputs: ["tuiLet"] }, { kind: "directive", type: i4.TuiResizeDirective, selector: "[tuiResize]", outputs: ["tuiResize"] }, { kind: "directive", type: i4.TuiAutoFocusDirective, selector: "[tuiAutoFocus]", inputs: ["tuiAutoFocus"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.TuiMapperPipe, name: "tuiMapper" }, { kind: "pipe", type: i7.TuiFormatCardPipe, name: "tuiFormatCard" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
289
+ __decorate([
290
+ tuiPure
291
+ ], TuiInputCardGroupedComponent.prototype, "isFocusable", null);
292
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiInputCardGroupedComponent, decorators: [{
293
+ type: Component,
294
+ args: [{ selector: 'tui-input-card-grouped', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
295
+ tuiAsFocusableItemAccessor(TuiInputCardGroupedComponent),
296
+ tuiAsControl(TuiInputCardGroupedComponent),
297
+ tuiAsDataListHost(TuiInputCardGroupedComponent),
298
+ MODE_PROVIDER,
299
+ TEXTFIELD_CONTROLLER_PROVIDER,
300
+ ], host: {
301
+ '($.data-mode.attr)': 'mode$',
302
+ 'data-size': 'l',
303
+ }, template: "<div\n *ngIf=\"cardGroupedTexts$ | async as texts\"\n tuiDropdownLimitWidth=\"fixed\"\n tuiWrapper\n class=\"t-common-wrapper\"\n [appearance]=\"appearance\"\n [disabled]=\"computedDisabled\"\n [focus]=\"computedFocused\"\n [hover]=\"pseudoHover\"\n [invalid]=\"computedInvalid\"\n [readOnly]=\"readOnly\"\n [tuiDropdown]=\"dropdown || ''\"\n [tuiDropdownManual]=\"open\"\n (mousedown)=\"onMouseDown($event)\"\n (scroll)=\"onScroll($event)\"\n (tuiActiveZoneChange)=\"onActiveZoneChange($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 automation-id=\"tui-input-card-grouped__card\"\n inputmode=\"numeric\"\n translate=\"no\"\n type=\"text\"\n class=\"t-input t-input_card\"\n [attr.aria-invalid]=\"!cardPrefilled && !(this.card | tuiMapper: cardValidator)\"\n [attr.id]=\"idCard\"\n [autocomplete]=\"autocompleteCard\"\n [class.t-input_hidden]=\"!card.length && focused\"\n [class.t-input_inert]=\"cardPrefilled\"\n [disabled]=\"computedDisabled\"\n [maskito]=\"maskCard\"\n [ngModel]=\"formattedCard\"\n [placeholder]=\"cardPrefilled ? '' : exampleText\"\n [readOnly]=\"readOnly\"\n [tuiAutoFocus]=\"false\"\n [tuiFocusable]=\"cardFocusable\"\n (focus)=\"(0)\"\n (ngModelChange)=\"onCardChange($event)\"\n />\n <span\n aria-hidden=\"true\"\n translate=\"no\"\n class=\"t-collapsed\"\n [attr.data-before]=\"masked\"\n [class.t-collapsed_enable-mask]=\"isCardCollapsed\"\n (tuiResize)=\"(0)\"\n >\n <span\n #ghost\n class=\"t-ghost\"\n [textContent]=\"formattedCard.slice(-tailLength)\"\n ></span>\n\n <span class=\"t-collapsed-wrapper\">\n <span\n class=\"t-value\"\n [style.transform]=\"transform(ghost)\"\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 automation-id=\"tui-input-card-grouped__expire\"\n inputmode=\"numeric\"\n placeholder=\"00/00\"\n translate=\"no\"\n class=\"t-input\"\n [attr.id]=\"idExpire\"\n [attr.name]=\"name\"\n [autocomplete]=\"autocompleteExpire\"\n [class.t-input_inert]=\"!expireFocusable\"\n [disabled]=\"computedDisabled\"\n [maskito]=\"maskExpire\"\n [ngModel]=\"expire\"\n [readOnly]=\"readOnly\"\n [tuiAutoFocus]=\"false\"\n [tuiFocusable]=\"expireFocusable\"\n (focus)=\"(0)\"\n (ngModelChange)=\"onExpireChange($event)\"\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 automation-id=\"tui-input-card-grouped__cvc\"\n inputmode=\"numeric\"\n translate=\"no\"\n type=\"text\"\n class=\"t-input\"\n [attr.id]=\"idCVC\"\n [autocomplete]=\"autocompleteCVC\"\n [class.t-input_prefilled]=\"cvcPrefilled\"\n [disabled]=\"computedDisabled\"\n [maskito]=\"maskCVC\"\n [ngModel]=\"cvc\"\n [placeholder]=\"cvcPrefilled ? '\u2022\u2022\u2022' : exampleTextCVC\"\n [readOnly]=\"readOnly || cvcPrefilled\"\n [tuiAutoFocus]=\"false\"\n [tuiFocusable]=\"cvcFocusable\"\n (focus)=\"(0)\"\n (ngModelChange)=\"onCVCChange($event)\"\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 appearance=\"icon\"\n automation-id=\"tui-input-card-grouped__cleaner\"\n tuiWrapper\n class=\"t-icon\"\n [src]=\"icons.close\"\n (click)=\"clear()\"\n ></tui-svg>\n <tui-svg\n *ngIf=\"hasDropdown\"\n appearance=\"icon\"\n automation-id=\"tui-input-card-grouped__dropdown\"\n tuiWrapper\n class=\"t-icon\"\n [class.t-icon_rotated]=\"open\"\n [src]=\"arrowOptions.iconLarge\"\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:var(--tui-duration, .3s);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:.5rem;color:#1434cb}.t-collapsed{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-width: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%;border-style:solid;border-color:transparent;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;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{caret-color:var(--tui-base-09);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:-webkit-autofill,.t-collapsed:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-collapsed::-webkit-caps-lock-indicator,.t-collapsed::-webkit-contacts-auto-fill-button,.t-collapsed::-webkit-credit-card-auto-fill-button,.t-collapsed::-webkit-credentials-auto-fill-button,.t-collapsed::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-collapsed::placeholder{color:var(--tui-text-03);opacity:0}:host._focused:not(._readonly) .t-collapsed::placeholder,:host-context(tui-primitive-textfield._focused:not(._readonly)) .t-collapsed::placeholder,:host-context(tui-textarea._focused:not(._readonly)) .t-collapsed::placeholder,:host-context(tui-text-area._focused:not(._readonly)) .t-collapsed::placeholder{opacity:1}[tuiWrapper][data-mode=onDark] .t-collapsed:-webkit-autofill,.t-collapsed :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill,[tuiWrapper][data-mode=onDark] .t-collapsed:-webkit-autofill:hover,.t-collapsed :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill:hover,[tuiWrapper][data-mode=onDark] .t-collapsed:-webkit-autofill:focus,.t-collapsed :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill:focus{caret-color:var(--tui-base-09);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}[tuiWrapper][data-mode=onDark] .t-collapsed::placeholder,.t-collapsed :host-context([tuiWrapper][data-mode=\"onDark\"])::placeholder{color:var(--tui-text-03-night)}: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-textarea[data-size=\"s\"]):not(tui-textarea),.t-collapsed :host-context(tui-text-area[data-size=\"s\"]):not(tui-text-area){padding:0 var(--tui-padding-s)}:host[data-size=m] .t-collapsed,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"m\"]):not(tui-primitive-textfield),.t-collapsed :host-context(tui-textarea[data-size=\"m\"]):not(tui-textarea),.t-collapsed :host-context(tui-text-area[data-size=\"m\"]):not(tui-text-area){padding:0 var(--tui-padding-m)}: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-textarea[data-size=\"l\"]):not(tui-textarea),.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-textarea._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+.t-content .t-placeholder,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.t-content .t-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:1rem}:host[data-size=m]:not(._label-outside) .t-collapsed:-webkit-autofill+.t-content .t-placeholder,.t-collapsed :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.t-content .t-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:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;bottom:0;right:100%;display:block;transform:translate3d(100%,0,0)}.t-input{font:var(--tui-font-text-s);color:var(--tui-text-01);padding:0;margin:0;border-width: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%;border-style:solid;border-color:transparent;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, .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{caret-color:var(--tui-base-09);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:-webkit-autofill,.t-input:-webkit-autofill:first-line{font-size:inherit;line-height:inherit}.t-input::-webkit-caps-lock-indicator,.t-input::-webkit-contacts-auto-fill-button,.t-input::-webkit-credit-card-auto-fill-button,.t-input::-webkit-credentials-auto-fill-button,.t-input::-webkit-strong-password-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events:none!important}.t-input::placeholder{color:var(--tui-text-03);opacity:0}:host._focused:not(._readonly) .t-input::placeholder,:host-context(tui-primitive-textfield._focused:not(._readonly)) .t-input::placeholder,:host-context(tui-textarea._focused:not(._readonly)) .t-input::placeholder,:host-context(tui-text-area._focused:not(._readonly)) .t-input::placeholder{opacity:1}[tuiWrapper][data-mode=onDark] .t-input:-webkit-autofill,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill,[tuiWrapper][data-mode=onDark] .t-input:-webkit-autofill:hover,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill:hover,[tuiWrapper][data-mode=onDark] .t-input:-webkit-autofill:focus,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"]):-webkit-autofill:focus{caret-color:var(--tui-base-09);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}[tuiWrapper][data-mode=onDark] .t-input::placeholder,.t-input :host-context([tuiWrapper][data-mode=\"onDark\"])::placeholder{color:var(--tui-text-03-night)}: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-textarea[data-size=\"s\"]):not(tui-textarea),.t-input :host-context(tui-text-area[data-size=\"s\"]):not(tui-text-area){padding:0 var(--tui-padding-s)}:host[data-size=m] .t-input,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]):not(tui-primitive-textfield),.t-input :host-context(tui-textarea[data-size=\"m\"]):not(tui-textarea),.t-input :host-context(tui-text-area[data-size=\"m\"]):not(tui-text-area){padding:0 var(--tui-padding-m)}: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-textarea[data-size=\"l\"]):not(tui-textarea),.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-textarea._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+.t-content .t-placeholder,.t-input :host-context(tui-primitive-textfield[data-size=\"l\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.t-content .t-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:1rem}:host[data-size=m]:not(._label-outside) .t-input:-webkit-autofill+.t-content .t-placeholder,.t-input :host-context(tui-primitive-textfield[data-size=\"m\"]:not(._label-outside)):not(tui-primitive-textfield):-webkit-autofill+.t-content .t-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::placeholder{color:var(--tui-text-03);opacity:1}:host[data-mode=onDark] .t-input::placeholder{color:var(--tui-text-03-night)}.t-input.t-input.t-input_card:not(.t-input_hidden),:host[data-mode=onDark] .t-input.t-input.t-input_card:not(.t-input_hidden),.t-input.t-input.t-input_card:not(.t-input_hidden)::placeholder,:host[data-mode=onDark] .t-input.t-input.t-input_card:not(.t-input_hidden)::placeholder,.t-input.t-input.t-input_card:not(.t-input_hidden):-webkit-autofill,:host[data-mode=onDark] .t-input.t-input.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.t-input.t-input_card::-webkit-credit-card-auto-fill-button,:host[data-mode=onDark] .t-input.t-input.t-input_card::-webkit-credit-card-auto-fill-button{content:none!important;position:absolute;left:-62.4375rem;top:-62.4375rem;z-index:-999;display:none!important;background:transparent!important;pointer-events: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-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer;pointer-events:none;pointer-events:auto}:host._readonly .t-icon,:host._disabled .t-icon{pointer-events:none}.t-icon_rotated{transform:rotate(180deg)}.t-placeholder{transition-property:transform,font-size,color,letter-spacing;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;width:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;font:var(--tui-font-text-s);color:var(--tui-text-02);pointer-events:none;will-change:transform;transform:translateY(0);margin:1.125rem 1rem;line-height:1.25rem}@supports (-webkit-hyphens: none){.t-placeholder{will-change:unset;transition-property:transform,color,letter-spacing}}.t-placeholder_raised{transform:translateY(-.625rem)}:host[data-size=m] .t-placeholder_raised{font:var(--tui-font-text-xs);line-height:1.25rem;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._invalid:not(._focused) [tuiWrapper][data-mode=onDark] .t-placeholder_raised,:host._invalid:not(._focused):hover [tuiWrapper][data-mode=onDark] .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:var(--tui-font-text-m);line-height:1.25rem}: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)}[tuiWrapper][data-mode=onDark] .t-placeholder{color:var(--tui-text-02-night)}:host[data-size=m]._focused:not(._label-outside) [tuiWrapper][data-mode=onDark] .t-placeholder,:host[data-size=l]._focused:not(._label-outside) [tuiWrapper][data-mode=onDark] .t-placeholder{color:var(--tui-text-01-night)}:host._focused [tuiWrapper][data-mode=onDark] .t-placeholder,:host[data-size=m]._focused._label-outside [tuiWrapper][data-mode=onDark] .t-placeholder,:host[data-size=l]._focused._label-outside [tuiWrapper][data-mode=onDark] .t-placeholder{color:var(--tui-text-02-night)}.t-ghost{visibility:hidden}\n"] }]
304
+ }], ctorParameters: function () { return [{ type: i2.NgControl, decorators: [{
305
+ type: Optional
306
+ }, {
307
+ type: Self
308
+ }, {
309
+ type: Inject,
310
+ args: [NgControl]
311
+ }] }, { type: i0.ChangeDetectorRef, decorators: [{
312
+ type: Inject,
313
+ args: [ChangeDetectorRef]
314
+ }] }, { type: i0.ElementRef, decorators: [{
315
+ type: Inject,
316
+ args: [ElementRef]
317
+ }] }, { type: i8.Observable, decorators: [{
318
+ type: Inject,
319
+ args: [TUI_MODE]
320
+ }] }, { type: i8.Observable, decorators: [{
321
+ type: Inject,
322
+ args: [TUI_INPUT_CARD_GROUPED_TEXTS]
323
+ }] }, { type: i5.TuiTextfieldController, decorators: [{
324
+ type: Inject,
325
+ args: [TUI_TEXTFIELD_WATCHED_CONTROLLER]
326
+ }] }, { type: undefined, decorators: [{
327
+ type: Inject,
328
+ args: [TUI_COMMON_ICONS]
329
+ }] }, { type: undefined, decorators: [{
330
+ type: Inject,
331
+ args: [TUI_ARROW_OPTIONS]
332
+ }] }, { type: undefined, decorators: [{
333
+ type: Inject,
334
+ args: [TUI_INPUT_CARD_GROUPED_OPTIONS]
335
+ }] }]; }, propDecorators: { inputCard: [{
336
+ type: ViewChild,
337
+ args: ['inputCard']
338
+ }], cardNumberAutofocusRef: [{
339
+ type: ViewChild,
340
+ args: ['inputCard', { read: TuiAutoFocusDirective }]
341
+ }], inputExpire: [{
342
+ type: ViewChild,
343
+ args: ['inputExpire']
344
+ }], expireCardAutofocusRef: [{
345
+ type: ViewChild,
346
+ args: ['inputExpire', { read: TuiAutoFocusDirective }]
347
+ }], inputCVC: [{
348
+ type: ViewChild,
349
+ args: ['inputCVC']
350
+ }], cvcCardAutofocusRef: [{
351
+ type: ViewChild,
352
+ args: ['inputCVC', { read: TuiAutoFocusDirective }]
353
+ }], exampleText: [{
354
+ type: Input
355
+ }], cardValidator: [{
356
+ type: Input
357
+ }], codeLength: [{
358
+ type: Input
359
+ }], autofilledChange: [{
360
+ type: Output
361
+ }], dropdown: [{
362
+ type: ContentChild,
363
+ args: [TuiDataListDirective, { read: TemplateRef }]
364
+ }], datalist: [{
365
+ type: ContentChild,
366
+ args: [TuiDataListComponent]
367
+ }], onEsc: [{
368
+ type: HostListener,
369
+ args: ['keydown.esc']
370
+ }], onArrow: [{
371
+ type: HostListener,
372
+ args: ['keydown.arrowDown.prevent', ['$event.target', '1']]
373
+ }, {
374
+ type: HostListener,
375
+ args: ['keydown.arrowUp.prevent', ['$event.target', '-1']]
376
+ }], isFocusable: [] } });
377
+
378
+ class TuiInputCardGroupedModule {
379
+ }
380
+ TuiInputCardGroupedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiInputCardGroupedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
381
+ TuiInputCardGroupedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiInputCardGroupedModule, declarations: [TuiInputCardGroupedComponent], imports: [CommonModule,
382
+ FormsModule,
383
+ MaskitoModule,
384
+ TuiFocusableModule,
385
+ TuiSvgModule,
386
+ TuiWrapperModule,
387
+ TuiActiveZoneModule,
388
+ TuiMapperPipeModule,
389
+ TuiDropdownModule,
390
+ TuiPreventDefaultModule,
391
+ PolymorpheusModule,
392
+ TuiLetModule,
393
+ TuiResizeModule,
394
+ TuiFormatCardModule,
395
+ TuiAutoFocusModule], exports: [TuiInputCardGroupedComponent] });
396
+ TuiInputCardGroupedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiInputCardGroupedModule, imports: [CommonModule,
397
+ FormsModule,
398
+ MaskitoModule,
399
+ TuiFocusableModule,
400
+ TuiSvgModule,
401
+ TuiWrapperModule,
402
+ TuiActiveZoneModule,
403
+ TuiMapperPipeModule,
404
+ TuiDropdownModule,
405
+ TuiPreventDefaultModule,
406
+ PolymorpheusModule,
407
+ TuiLetModule,
408
+ TuiResizeModule,
409
+ TuiFormatCardModule,
410
+ TuiAutoFocusModule] });
411
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiInputCardGroupedModule, decorators: [{
412
+ type: NgModule,
413
+ args: [{
414
+ imports: [
415
+ CommonModule,
416
+ FormsModule,
417
+ MaskitoModule,
418
+ TuiFocusableModule,
419
+ TuiSvgModule,
420
+ TuiWrapperModule,
421
+ TuiActiveZoneModule,
422
+ TuiMapperPipeModule,
423
+ TuiDropdownModule,
424
+ TuiPreventDefaultModule,
425
+ PolymorpheusModule,
426
+ TuiLetModule,
427
+ TuiResizeModule,
428
+ TuiFormatCardModule,
429
+ TuiAutoFocusModule,
430
+ ],
431
+ declarations: [TuiInputCardGroupedComponent],
432
+ exports: [TuiInputCardGroupedComponent],
433
+ }]
434
+ }] });
435
+
436
+ /**
437
+ * Generated bundle index. Do not edit.
438
+ */
439
+
440
+ export { TUI_INPUT_CARD_GROUPED_DEFAULT_OPTIONS, TUI_INPUT_CARD_GROUPED_OPTIONS, TUI_INPUT_CARD_GROUPED_TEXTS, TuiInputCardGroupedComponent, TuiInputCardGroupedModule, tuiInputCardGroupedOptionsProvider };
441
+ //# sourceMappingURL=taiga-ui-addon-commerce-components-input-card-grouped.mjs.map