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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. package/components/input-card/abstract-input-card.d.ts +1 -1
  2. package/components/input-card/input-card.component.d.ts +1 -1
  3. package/components/input-card/input-card.directive.d.ts +1 -1
  4. package/components/input-card-grouped/input-card-grouped.component.d.ts +1 -1
  5. package/components/input-cvc/input-cvc.component.d.ts +1 -1
  6. package/components/input-expire/input-expire.component.d.ts +1 -1
  7. package/components/money/money.component.d.ts +1 -1
  8. package/components/money/pipes/fraction-part.pipe.d.ts +1 -1
  9. package/components/money/pipes/integer-part.pipe.d.ts +1 -1
  10. package/components/money/pipes/sign-symbol.pipe.d.ts +1 -1
  11. package/components/thumbnail-card/deprecated.d.ts +1 -1
  12. package/components/thumbnail-card/thumbnail-card.component.d.ts +1 -1
  13. package/{esm2015/components/input-card/abstract-input-card.js → esm2020/components/input-card/abstract-input-card.mjs} +3 -3
  14. package/esm2020/components/input-card/input-card.component.mjs +91 -0
  15. package/{esm2015/components/input-card/input-card.directive.js → esm2020/components/input-card/input-card.directive.mjs} +3 -3
  16. package/{esm2015/components/input-card/input-card.module.js → esm2020/components/input-card/input-card.module.mjs} +9 -11
  17. package/esm2020/components/input-card-grouped/input-card-grouped.component.mjs +337 -0
  18. package/{esm2015/components/input-card-grouped/input-card-grouped.module.js → esm2020/components/input-card-grouped/input-card-grouped.module.mjs} +19 -21
  19. package/esm2020/components/input-card-grouped/input-card-grouped.options.mjs +14 -0
  20. package/esm2020/components/input-card-grouped/input-card-grouped.providers.mjs +28 -0
  21. package/esm2020/components/input-cvc/input-cvc.component.mjs +91 -0
  22. package/{esm2015/components/input-cvc/input-cvc.module.js → esm2020/components/input-cvc/input-cvc.module.mjs} +8 -10
  23. package/esm2020/components/input-expire/input-expire.component.mjs +73 -0
  24. package/{esm2015/components/input-expire/input-expire.module.js → esm2020/components/input-expire/input-expire.module.mjs} +8 -10
  25. package/esm2020/components/money/money.component.mjs +78 -0
  26. package/{esm2015/components/money/money.module.js → esm2020/components/money/money.module.mjs} +5 -5
  27. package/{esm2015/components/money/pipes/fraction-part.pipe.js → esm2020/components/money/pipes/fraction-part.pipe.mjs} +3 -3
  28. package/{esm2015/components/money/pipes/integer-part.pipe.js → esm2020/components/money/pipes/integer-part.pipe.mjs} +9 -5
  29. package/{esm2015/components/money/pipes/sign-symbol.pipe.js → esm2020/components/money/pipes/sign-symbol.pipe.mjs} +3 -3
  30. package/esm2020/components/money/utils/format-fraction-part.mjs +11 -0
  31. package/esm2020/components/thumbnail-card/deprecated.mjs +35 -0
  32. package/{esm2015/components/thumbnail-card/thumbnail-card.component.js → esm2020/components/thumbnail-card/thumbnail-card.component.mjs} +7 -12
  33. package/{esm2015/components/thumbnail-card/thumbnail-card.module.js → esm2020/components/thumbnail-card/thumbnail-card.module.mjs} +5 -5
  34. package/{esm2015/pipes/currency/currency.module.js → esm2020/pipes/currency/currency.module.mjs} +4 -4
  35. package/{esm2015/pipes/currency/currency.pipe.js → esm2020/pipes/currency/currency.pipe.mjs} +3 -3
  36. package/{esm2015/pipes/format-card/format-card.module.js → esm2020/pipes/format-card/format-card.module.mjs} +4 -4
  37. package/{esm2015/pipes/format-card/format-card.pipe.js → esm2020/pipes/format-card/format-card.pipe.mjs} +3 -3
  38. package/{esm2015/utils/get-code-by-currency.js → esm2020/utils/get-code-by-currency.mjs} +2 -3
  39. package/{esm2015/utils/get-currency-by-code.js → esm2020/utils/get-currency-by-code.mjs} +2 -3
  40. package/esm2020/utils/get-payment-system.mjs +105 -0
  41. package/esm2020/validators/card-expire.validator.mjs +8 -0
  42. package/esm2020/validators/card-number.validator.mjs +8 -0
  43. package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.mjs +450 -0
  44. package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.mjs.map +1 -0
  45. package/fesm2015/taiga-ui-addon-commerce-components-input-card.mjs +230 -0
  46. package/fesm2015/taiga-ui-addon-commerce-components-input-card.mjs.map +1 -0
  47. package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.mjs +128 -0
  48. package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.mjs.map +1 -0
  49. package/fesm2015/taiga-ui-addon-commerce-components-input-expire.mjs +110 -0
  50. package/fesm2015/taiga-ui-addon-commerce-components-input-expire.mjs.map +1 -0
  51. package/fesm2015/taiga-ui-addon-commerce-components-money.mjs +205 -0
  52. package/fesm2015/taiga-ui-addon-commerce-components-money.mjs.map +1 -0
  53. package/fesm2015/taiga-ui-addon-commerce-components-thumbnail-card.mjs +100 -0
  54. package/fesm2015/taiga-ui-addon-commerce-components-thumbnail-card.mjs.map +1 -0
  55. package/fesm2015/{taiga-ui-addon-commerce-components.js → taiga-ui-addon-commerce-components.mjs} +1 -1
  56. package/fesm2015/taiga-ui-addon-commerce-components.mjs.map +1 -0
  57. package/fesm2015/{taiga-ui-addon-commerce-constants.js → taiga-ui-addon-commerce-constants.mjs} +1 -1
  58. package/fesm2015/taiga-ui-addon-commerce-constants.mjs.map +1 -0
  59. package/fesm2015/{taiga-ui-addon-commerce-enums.js → taiga-ui-addon-commerce-enums.mjs} +1 -1
  60. package/fesm2015/taiga-ui-addon-commerce-enums.mjs.map +1 -0
  61. package/fesm2015/taiga-ui-addon-commerce-interfaces.mjs +4 -0
  62. package/fesm2015/taiga-ui-addon-commerce-interfaces.mjs.map +1 -0
  63. package/fesm2015/{taiga-ui-addon-commerce-pipes.js → taiga-ui-addon-commerce-pipes.mjs} +15 -15
  64. package/fesm2015/taiga-ui-addon-commerce-pipes.mjs.map +1 -0
  65. package/fesm2015/{taiga-ui-addon-commerce-tokens.js → taiga-ui-addon-commerce-tokens.mjs} +1 -1
  66. package/fesm2015/taiga-ui-addon-commerce-tokens.mjs.map +1 -0
  67. package/fesm2015/taiga-ui-addon-commerce-types.mjs +4 -0
  68. package/fesm2015/taiga-ui-addon-commerce-types.mjs.map +1 -0
  69. package/fesm2015/{taiga-ui-addon-commerce-utils.js → taiga-ui-addon-commerce-utils.mjs} +1 -2
  70. package/fesm2015/taiga-ui-addon-commerce-utils.mjs.map +1 -0
  71. package/fesm2015/{taiga-ui-addon-commerce-validators.js → taiga-ui-addon-commerce-validators.mjs} +1 -1
  72. package/fesm2015/taiga-ui-addon-commerce-validators.mjs.map +1 -0
  73. package/fesm2015/{taiga-ui-addon-commerce.js → taiga-ui-addon-commerce.mjs} +1 -1
  74. package/fesm2015/taiga-ui-addon-commerce.mjs.map +1 -0
  75. package/fesm2020/taiga-ui-addon-commerce-components-input-card-grouped.mjs +440 -0
  76. package/fesm2020/taiga-ui-addon-commerce-components-input-card-grouped.mjs.map +1 -0
  77. package/{fesm2015/taiga-ui-addon-commerce-components-input-card.js → fesm2020/taiga-ui-addon-commerce-components-input-card.mjs} +28 -38
  78. package/fesm2020/taiga-ui-addon-commerce-components-input-card.mjs.map +1 -0
  79. package/{fesm2015/taiga-ui-addon-commerce-components-input-cvc.js → fesm2020/taiga-ui-addon-commerce-components-input-cvc.mjs} +27 -36
  80. package/fesm2020/taiga-ui-addon-commerce-components-input-cvc.mjs.map +1 -0
  81. package/{fesm2015/taiga-ui-addon-commerce-components-input-expire.js → fesm2020/taiga-ui-addon-commerce-components-input-expire.mjs} +20 -29
  82. package/fesm2020/taiga-ui-addon-commerce-components-input-expire.mjs.map +1 -0
  83. package/{fesm2015/taiga-ui-addon-commerce-components-money.js → fesm2020/taiga-ui-addon-commerce-components-money.mjs} +67 -65
  84. package/fesm2020/taiga-ui-addon-commerce-components-money.mjs.map +1 -0
  85. package/{fesm2015/taiga-ui-addon-commerce-components-thumbnail-card.js → fesm2020/taiga-ui-addon-commerce-components-thumbnail-card.mjs} +19 -29
  86. package/fesm2020/taiga-ui-addon-commerce-components-thumbnail-card.mjs.map +1 -0
  87. package/fesm2020/taiga-ui-addon-commerce-components.mjs +11 -0
  88. package/fesm2020/taiga-ui-addon-commerce-components.mjs.map +1 -0
  89. package/fesm2020/taiga-ui-addon-commerce-constants.mjs +103 -0
  90. package/fesm2020/taiga-ui-addon-commerce-constants.mjs.map +1 -0
  91. package/fesm2020/taiga-ui-addon-commerce-enums.mjs +721 -0
  92. package/fesm2020/taiga-ui-addon-commerce-enums.mjs.map +1 -0
  93. package/fesm2020/taiga-ui-addon-commerce-interfaces.mjs +4 -0
  94. package/fesm2020/taiga-ui-addon-commerce-interfaces.mjs.map +1 -0
  95. package/fesm2020/taiga-ui-addon-commerce-pipes.mjs +67 -0
  96. package/fesm2020/taiga-ui-addon-commerce-pipes.mjs.map +1 -0
  97. package/fesm2020/taiga-ui-addon-commerce-tokens.mjs +23 -0
  98. package/fesm2020/taiga-ui-addon-commerce-tokens.mjs.map +1 -0
  99. package/fesm2020/taiga-ui-addon-commerce-types.mjs +4 -0
  100. package/fesm2020/taiga-ui-addon-commerce-types.mjs.map +1 -0
  101. package/fesm2020/taiga-ui-addon-commerce-utils.mjs +443 -0
  102. package/fesm2020/taiga-ui-addon-commerce-utils.mjs.map +1 -0
  103. package/fesm2020/taiga-ui-addon-commerce-validators.mjs +25 -0
  104. package/fesm2020/taiga-ui-addon-commerce-validators.mjs.map +1 -0
  105. package/fesm2020/taiga-ui-addon-commerce.mjs +14 -0
  106. package/fesm2020/taiga-ui-addon-commerce.mjs.map +1 -0
  107. package/package.json +172 -39
  108. package/pipes/currency/currency.pipe.d.ts +1 -1
  109. package/pipes/format-card/format-card.pipe.d.ts +1 -1
  110. package/types/code-length.d.ts +1 -1
  111. package/types/currency-variants.d.ts +2 -2
  112. package/types/money-sign.d.ts +2 -2
  113. package/types/payment-system.d.ts +1 -1
  114. package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js +0 -917
  115. package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js.map +0 -1
  116. package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js +0 -635
  117. package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js.map +0 -1
  118. package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js +0 -507
  119. package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js.map +0 -1
  120. package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js +0 -480
  121. package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js.map +0 -1
  122. package/bundles/taiga-ui-addon-commerce-components-money.umd.js +0 -272
  123. package/bundles/taiga-ui-addon-commerce-components-money.umd.js.map +0 -1
  124. package/bundles/taiga-ui-addon-commerce-components-thumbnail-card.umd.js +0 -475
  125. package/bundles/taiga-ui-addon-commerce-components-thumbnail-card.umd.js.map +0 -1
  126. package/bundles/taiga-ui-addon-commerce-components.umd.js +0 -51
  127. package/bundles/taiga-ui-addon-commerce-components.umd.js.map +0 -1
  128. package/bundles/taiga-ui-addon-commerce-constants.umd.js +0 -114
  129. package/bundles/taiga-ui-addon-commerce-constants.umd.js.map +0 -1
  130. package/bundles/taiga-ui-addon-commerce-enums.umd.js +0 -729
  131. package/bundles/taiga-ui-addon-commerce-enums.umd.js.map +0 -1
  132. package/bundles/taiga-ui-addon-commerce-interfaces.umd.js +0 -11
  133. package/bundles/taiga-ui-addon-commerce-interfaces.umd.js.map +0 -1
  134. package/bundles/taiga-ui-addon-commerce-pipes.umd.js +0 -110
  135. package/bundles/taiga-ui-addon-commerce-pipes.umd.js.map +0 -1
  136. package/bundles/taiga-ui-addon-commerce-tokens.umd.js +0 -31
  137. package/bundles/taiga-ui-addon-commerce-tokens.umd.js.map +0 -1
  138. package/bundles/taiga-ui-addon-commerce-types.umd.js +0 -11
  139. package/bundles/taiga-ui-addon-commerce-types.umd.js.map +0 -1
  140. package/bundles/taiga-ui-addon-commerce-utils.umd.js +0 -794
  141. package/bundles/taiga-ui-addon-commerce-utils.umd.js.map +0 -1
  142. package/bundles/taiga-ui-addon-commerce-validators.umd.js +0 -40
  143. package/bundles/taiga-ui-addon-commerce-validators.umd.js.map +0 -1
  144. package/bundles/taiga-ui-addon-commerce.umd.js +0 -69
  145. package/bundles/taiga-ui-addon-commerce.umd.js.map +0 -1
  146. package/components/input-card/package.json +0 -10
  147. package/components/input-card/taiga-ui-addon-commerce-components-input-card.d.ts +0 -5
  148. package/components/input-card-grouped/package.json +0 -10
  149. package/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.d.ts +0 -5
  150. package/components/input-cvc/package.json +0 -10
  151. package/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.d.ts +0 -5
  152. package/components/input-expire/package.json +0 -10
  153. package/components/input-expire/taiga-ui-addon-commerce-components-input-expire.d.ts +0 -5
  154. package/components/money/package.json +0 -10
  155. package/components/money/taiga-ui-addon-commerce-components-money.d.ts +0 -5
  156. package/components/package.json +0 -10
  157. package/components/taiga-ui-addon-commerce-components.d.ts +0 -5
  158. package/components/thumbnail-card/package.json +0 -10
  159. package/components/thumbnail-card/taiga-ui-addon-commerce-components-thumbnail-card.d.ts +0 -5
  160. package/constants/package.json +0 -10
  161. package/constants/taiga-ui-addon-commerce-constants.d.ts +0 -5
  162. package/enums/package.json +0 -10
  163. package/enums/taiga-ui-addon-commerce-enums.d.ts +0 -5
  164. package/esm2015/components/input-card/input-card.component.js +0 -99
  165. package/esm2015/components/input-card-grouped/input-card-grouped.component.js +0 -357
  166. package/esm2015/components/input-card-grouped/input-card-grouped.options.js +0 -9
  167. package/esm2015/components/input-card-grouped/input-card-grouped.providers.js +0 -29
  168. package/esm2015/components/input-cvc/input-cvc.component.js +0 -98
  169. package/esm2015/components/input-expire/input-expire.component.js +0 -80
  170. package/esm2015/components/money/money.component.js +0 -83
  171. package/esm2015/components/money/utils/format-fraction-part.js +0 -8
  172. package/esm2015/components/thumbnail-card/deprecated.js +0 -40
  173. package/esm2015/utils/get-payment-system.js +0 -107
  174. package/esm2015/validators/card-expire.validator.js +0 -9
  175. package/esm2015/validators/card-number.validator.js +0 -8
  176. package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js +0 -458
  177. package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js.map +0 -1
  178. package/fesm2015/taiga-ui-addon-commerce-components-input-card.js.map +0 -1
  179. package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.js.map +0 -1
  180. package/fesm2015/taiga-ui-addon-commerce-components-input-expire.js.map +0 -1
  181. package/fesm2015/taiga-ui-addon-commerce-components-money.js.map +0 -1
  182. package/fesm2015/taiga-ui-addon-commerce-components-thumbnail-card.js.map +0 -1
  183. package/fesm2015/taiga-ui-addon-commerce-components.js.map +0 -1
  184. package/fesm2015/taiga-ui-addon-commerce-constants.js.map +0 -1
  185. package/fesm2015/taiga-ui-addon-commerce-enums.js.map +0 -1
  186. package/fesm2015/taiga-ui-addon-commerce-interfaces.js +0 -4
  187. package/fesm2015/taiga-ui-addon-commerce-interfaces.js.map +0 -1
  188. package/fesm2015/taiga-ui-addon-commerce-pipes.js.map +0 -1
  189. package/fesm2015/taiga-ui-addon-commerce-tokens.js.map +0 -1
  190. package/fesm2015/taiga-ui-addon-commerce-types.js +0 -4
  191. package/fesm2015/taiga-ui-addon-commerce-types.js.map +0 -1
  192. package/fesm2015/taiga-ui-addon-commerce-utils.js.map +0 -1
  193. package/fesm2015/taiga-ui-addon-commerce-validators.js.map +0 -1
  194. package/fesm2015/taiga-ui-addon-commerce.js.map +0 -1
  195. package/interfaces/package.json +0 -10
  196. package/interfaces/taiga-ui-addon-commerce-interfaces.d.ts +0 -5
  197. package/pipes/package.json +0 -10
  198. package/pipes/taiga-ui-addon-commerce-pipes.d.ts +0 -5
  199. package/taiga-ui-addon-commerce.d.ts +0 -5
  200. package/tokens/package.json +0 -10
  201. package/tokens/taiga-ui-addon-commerce-tokens.d.ts +0 -5
  202. package/types/package.json +0 -10
  203. package/types/taiga-ui-addon-commerce-types.d.ts +0 -5
  204. package/utils/package.json +0 -10
  205. package/utils/taiga-ui-addon-commerce-utils.d.ts +0 -5
  206. package/validators/package.json +0 -10
  207. package/validators/taiga-ui-addon-commerce-validators.d.ts +0 -5
  208. /package/{esm2015/components/index.js → esm2020/components/index.mjs} +0 -0
  209. /package/{esm2015/components/input-card/index.js → esm2020/components/input-card/index.mjs} +0 -0
  210. /package/{esm2015/components/input-card/input-card.options.js → esm2020/components/input-card/input-card.options.mjs} +0 -0
  211. /package/{esm2015/components/input-card/taiga-ui-addon-commerce-components-input-card.js → esm2020/components/input-card/taiga-ui-addon-commerce-components-input-card.mjs} +0 -0
  212. /package/{esm2015/components/input-card-grouped/index.js → esm2020/components/input-card-grouped/index.mjs} +0 -0
  213. /package/{esm2015/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.js → esm2020/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.mjs} +0 -0
  214. /package/{esm2015/components/input-cvc/index.js → esm2020/components/input-cvc/index.mjs} +0 -0
  215. /package/{esm2015/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.js → esm2020/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.mjs} +0 -0
  216. /package/{esm2015/components/input-expire/index.js → esm2020/components/input-expire/index.mjs} +0 -0
  217. /package/{esm2015/components/input-expire/taiga-ui-addon-commerce-components-input-expire.js → esm2020/components/input-expire/taiga-ui-addon-commerce-components-input-expire.mjs} +0 -0
  218. /package/{esm2015/components/money/index.js → esm2020/components/money/index.mjs} +0 -0
  219. /package/{esm2015/components/money/money.options.js → esm2020/components/money/money.options.mjs} +0 -0
  220. /package/{esm2015/components/money/taiga-ui-addon-commerce-components-money.js → esm2020/components/money/taiga-ui-addon-commerce-components-money.mjs} +0 -0
  221. /package/{esm2015/components/money/utils/format-sign-symbol.js → esm2020/components/money/utils/format-sign-symbol.mjs} +0 -0
  222. /package/{esm2015/components/taiga-ui-addon-commerce-components.js → esm2020/components/taiga-ui-addon-commerce-components.mjs} +0 -0
  223. /package/{esm2015/components/thumbnail-card/index.js → esm2020/components/thumbnail-card/index.mjs} +0 -0
  224. /package/{esm2015/components/thumbnail-card/taiga-ui-addon-commerce-components-thumbnail-card.js → esm2020/components/thumbnail-card/taiga-ui-addon-commerce-components-thumbnail-card.mjs} +0 -0
  225. /package/{esm2015/constants/card-holder-mask.js → esm2020/constants/card-holder-mask.mjs} +0 -0
  226. /package/{esm2015/constants/card-mask.js → esm2020/constants/card-mask.mjs} +0 -0
  227. /package/{esm2015/constants/default-card-validator.js → esm2020/constants/default-card-validator.mjs} +0 -0
  228. /package/{esm2015/constants/index.js → esm2020/constants/index.mjs} +0 -0
  229. /package/{esm2015/constants/taiga-ui-addon-commerce-constants.js → esm2020/constants/taiga-ui-addon-commerce-constants.mjs} +0 -0
  230. /package/{esm2015/enums/currency-code.js → esm2020/enums/currency-code.mjs} +0 -0
  231. /package/{esm2015/enums/currency.js → esm2020/enums/currency.mjs} +0 -0
  232. /package/{esm2015/enums/index.js → esm2020/enums/index.mjs} +0 -0
  233. /package/{esm2015/enums/taiga-ui-addon-commerce-enums.js → esm2020/enums/taiga-ui-addon-commerce-enums.mjs} +0 -0
  234. /package/{esm2015/index.js → esm2020/index.mjs} +0 -0
  235. /package/{esm2015/interfaces/card.js → esm2020/interfaces/card.mjs} +0 -0
  236. /package/{esm2015/interfaces/index.js → esm2020/interfaces/index.mjs} +0 -0
  237. /package/{esm2015/interfaces/taiga-ui-addon-commerce-interfaces.js → esm2020/interfaces/taiga-ui-addon-commerce-interfaces.mjs} +0 -0
  238. /package/{esm2015/pipes/index.js → esm2020/pipes/index.mjs} +0 -0
  239. /package/{esm2015/pipes/taiga-ui-addon-commerce-pipes.js → esm2020/pipes/taiga-ui-addon-commerce-pipes.mjs} +0 -0
  240. /package/{esm2015/taiga-ui-addon-commerce.js → esm2020/taiga-ui-addon-commerce.mjs} +0 -0
  241. /package/{esm2015/tokens/i18n.js → esm2020/tokens/i18n.mjs} +0 -0
  242. /package/{esm2015/tokens/index.js → esm2020/tokens/index.mjs} +0 -0
  243. /package/{esm2015/tokens/taiga-ui-addon-commerce-tokens.js → esm2020/tokens/taiga-ui-addon-commerce-tokens.mjs} +0 -0
  244. /package/{esm2015/types/code-length.js → esm2020/types/code-length.mjs} +0 -0
  245. /package/{esm2015/types/currency-variants.js → esm2020/types/currency-variants.mjs} +0 -0
  246. /package/{esm2015/types/index.js → esm2020/types/index.mjs} +0 -0
  247. /package/{esm2015/types/money-sign.js → esm2020/types/money-sign.mjs} +0 -0
  248. /package/{esm2015/types/payment-system.js → esm2020/types/payment-system.mjs} +0 -0
  249. /package/{esm2015/types/taiga-ui-addon-commerce-types.js → esm2020/types/taiga-ui-addon-commerce-types.mjs} +0 -0
  250. /package/{esm2015/utils/create-auto-corrected-expire-pipe.js → esm2020/utils/create-auto-corrected-expire-pipe.mjs} +0 -0
  251. /package/{esm2015/utils/format-currency.js → esm2020/utils/format-currency.mjs} +0 -0
  252. /package/{esm2015/utils/get-currency-symbol.js → esm2020/utils/get-currency-symbol.mjs} +0 -0
  253. /package/{esm2015/utils/index.js → esm2020/utils/index.mjs} +0 -0
  254. /package/{esm2015/utils/is-card-length-valid.js → esm2020/utils/is-card-length-valid.mjs} +0 -0
  255. /package/{esm2015/utils/is-card-number-valid.js → esm2020/utils/is-card-number-valid.mjs} +0 -0
  256. /package/{esm2015/utils/is-expire-valid.js → esm2020/utils/is-expire-valid.mjs} +0 -0
  257. /package/{esm2015/utils/payment-system-icons.js → esm2020/utils/payment-system-icons.mjs} +0 -0
  258. /package/{esm2015/utils/taiga-ui-addon-commerce-utils.js → esm2020/utils/taiga-ui-addon-commerce-utils.mjs} +0 -0
  259. /package/{esm2015/validators/index.js → esm2020/validators/index.mjs} +0 -0
  260. /package/{esm2015/validators/luhn.validator.js → esm2020/validators/luhn.validator.mjs} +0 -0
  261. /package/{esm2015/validators/taiga-ui-addon-commerce-validators.js → esm2020/validators/taiga-ui-addon-commerce-validators.mjs} +0 -0
@@ -1,917 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@maskito/kit'), require('@taiga-ui/addon-commerce/components/input-card'), require('@taiga-ui/addon-commerce/constants'), require('@taiga-ui/cdk'), require('@taiga-ui/core'), require('@taiga-ui/kit'), require('@ng-web-apis/common'), require('@taiga-ui/addon-commerce/tokens'), require('rxjs'), require('rxjs/operators'), require('@angular/common'), require('@maskito/angular'), require('@tinkoff/ng-polymorpheus'), require('@taiga-ui/addon-commerce/pipes')) :
3
- typeof define === 'function' && define.amd ? define('@taiga-ui/addon-commerce/components/input-card-grouped', ['exports', '@angular/core', '@angular/forms', '@maskito/kit', '@taiga-ui/addon-commerce/components/input-card', '@taiga-ui/addon-commerce/constants', '@taiga-ui/cdk', '@taiga-ui/core', '@taiga-ui/kit', '@ng-web-apis/common', '@taiga-ui/addon-commerce/tokens', 'rxjs', 'rxjs/operators', '@angular/common', '@maskito/angular', '@tinkoff/ng-polymorpheus', '@taiga-ui/addon-commerce/pipes'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"]["addon-commerce"] = global["taiga-ui"]["addon-commerce"] || {}, global["taiga-ui"]["addon-commerce"].components = global["taiga-ui"]["addon-commerce"].components || {}, global["taiga-ui"]["addon-commerce"].components["input-card-grouped"] = {}), global.ng.core, global.ng.forms, global.kit, global["taiga-ui"]["addon-commerce"].components["input-card"], global["taiga-ui"]["addon-commerce"].constants, global.i3, global.i1, global.kit$1, global.common, global["taiga-ui"]["addon-commerce"].tokens, global.rxjs, global.rxjs.operators, global.ng.common, global.i4, global.i6, global["taiga-ui"]["addon-commerce"].pipes));
5
- })(this, (function (exports, i0, i5, kit, inputCard, constants, i3, i1, kit$1, common, tokens, i8, operators, i2, i4, i6, i7) { 'use strict';
6
-
7
- function _interopNamespace(e) {
8
- if (e && e.__esModule) return e;
9
- var n = Object.create(null);
10
- if (e) {
11
- Object.keys(e).forEach(function (k) {
12
- if (k !== 'default') {
13
- var d = Object.getOwnPropertyDescriptor(e, k);
14
- Object.defineProperty(n, k, d.get ? d : {
15
- enumerable: true,
16
- get: function () { return e[k]; }
17
- });
18
- }
19
- });
20
- }
21
- n["default"] = e;
22
- return Object.freeze(n);
23
- }
24
-
25
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
- var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
27
- var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
28
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
29
- var i8__namespace = /*#__PURE__*/_interopNamespace(i8);
30
- var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
31
- var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
32
- var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
33
- var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
34
-
35
- /*! *****************************************************************************
36
- Copyright (c) Microsoft Corporation.
37
-
38
- Permission to use, copy, modify, and/or distribute this software for any
39
- purpose with or without fee is hereby granted.
40
-
41
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
42
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
43
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
44
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
45
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
46
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
47
- PERFORMANCE OF THIS SOFTWARE.
48
- ***************************************************************************** */
49
- /* global Reflect, Promise */
50
- var extendStatics = function (d, b) {
51
- extendStatics = Object.setPrototypeOf ||
52
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
53
- function (d, b) { for (var p in b)
54
- if (Object.prototype.hasOwnProperty.call(b, p))
55
- d[p] = b[p]; };
56
- return extendStatics(d, b);
57
- };
58
- function __extends(d, b) {
59
- if (typeof b !== "function" && b !== null)
60
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
61
- extendStatics(d, b);
62
- function __() { this.constructor = d; }
63
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
64
- }
65
- var __assign = function () {
66
- __assign = Object.assign || function __assign(t) {
67
- for (var s, i = 1, n = arguments.length; i < n; i++) {
68
- s = arguments[i];
69
- for (var p in s)
70
- if (Object.prototype.hasOwnProperty.call(s, p))
71
- t[p] = s[p];
72
- }
73
- return t;
74
- };
75
- return __assign.apply(this, arguments);
76
- };
77
- function __rest(s, e) {
78
- var t = {};
79
- for (var p in s)
80
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
81
- t[p] = s[p];
82
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
83
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
84
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
85
- t[p[i]] = s[p[i]];
86
- }
87
- return t;
88
- }
89
- function __decorate(decorators, target, key, desc) {
90
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
91
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
92
- r = Reflect.decorate(decorators, target, key, desc);
93
- else
94
- for (var i = decorators.length - 1; i >= 0; i--)
95
- if (d = decorators[i])
96
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
97
- return c > 3 && r && Object.defineProperty(target, key, r), r;
98
- }
99
- function __param(paramIndex, decorator) {
100
- return function (target, key) { decorator(target, key, paramIndex); };
101
- }
102
- function __metadata(metadataKey, metadataValue) {
103
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
104
- return Reflect.metadata(metadataKey, metadataValue);
105
- }
106
- function __awaiter(thisArg, _arguments, P, generator) {
107
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
108
- return new (P || (P = Promise))(function (resolve, reject) {
109
- function fulfilled(value) { try {
110
- step(generator.next(value));
111
- }
112
- catch (e) {
113
- reject(e);
114
- } }
115
- function rejected(value) { try {
116
- step(generator["throw"](value));
117
- }
118
- catch (e) {
119
- reject(e);
120
- } }
121
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
122
- step((generator = generator.apply(thisArg, _arguments || [])).next());
123
- });
124
- }
125
- function __generator(thisArg, body) {
126
- var _ = { label: 0, sent: function () { if (t[0] & 1)
127
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
128
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
129
- function verb(n) { return function (v) { return step([n, v]); }; }
130
- function step(op) {
131
- if (f)
132
- throw new TypeError("Generator is already executing.");
133
- while (_)
134
- try {
135
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
136
- return t;
137
- if (y = 0, t)
138
- op = [op[0] & 2, t.value];
139
- switch (op[0]) {
140
- case 0:
141
- case 1:
142
- t = op;
143
- break;
144
- case 4:
145
- _.label++;
146
- return { value: op[1], done: false };
147
- case 5:
148
- _.label++;
149
- y = op[1];
150
- op = [0];
151
- continue;
152
- case 7:
153
- op = _.ops.pop();
154
- _.trys.pop();
155
- continue;
156
- default:
157
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
158
- _ = 0;
159
- continue;
160
- }
161
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
162
- _.label = op[1];
163
- break;
164
- }
165
- if (op[0] === 6 && _.label < t[1]) {
166
- _.label = t[1];
167
- t = op;
168
- break;
169
- }
170
- if (t && _.label < t[2]) {
171
- _.label = t[2];
172
- _.ops.push(op);
173
- break;
174
- }
175
- if (t[2])
176
- _.ops.pop();
177
- _.trys.pop();
178
- continue;
179
- }
180
- op = body.call(thisArg, _);
181
- }
182
- catch (e) {
183
- op = [6, e];
184
- y = 0;
185
- }
186
- finally {
187
- f = t = 0;
188
- }
189
- if (op[0] & 5)
190
- throw op[1];
191
- return { value: op[0] ? op[1] : void 0, done: true };
192
- }
193
- }
194
- var __createBinding = Object.create ? (function (o, m, k, k2) {
195
- if (k2 === undefined)
196
- k2 = k;
197
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
198
- }) : (function (o, m, k, k2) {
199
- if (k2 === undefined)
200
- k2 = k;
201
- o[k2] = m[k];
202
- });
203
- function __exportStar(m, o) {
204
- for (var p in m)
205
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
206
- __createBinding(o, m, p);
207
- }
208
- function __values(o) {
209
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
210
- if (m)
211
- return m.call(o);
212
- if (o && typeof o.length === "number")
213
- return {
214
- next: function () {
215
- if (o && i >= o.length)
216
- o = void 0;
217
- return { value: o && o[i++], done: !o };
218
- }
219
- };
220
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
221
- }
222
- function __read(o, n) {
223
- var m = typeof Symbol === "function" && o[Symbol.iterator];
224
- if (!m)
225
- return o;
226
- var i = m.call(o), r, ar = [], e;
227
- try {
228
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
229
- ar.push(r.value);
230
- }
231
- catch (error) {
232
- e = { error: error };
233
- }
234
- finally {
235
- try {
236
- if (r && !r.done && (m = i["return"]))
237
- m.call(i);
238
- }
239
- finally {
240
- if (e)
241
- throw e.error;
242
- }
243
- }
244
- return ar;
245
- }
246
- /** @deprecated */
247
- function __spread() {
248
- for (var ar = [], i = 0; i < arguments.length; i++)
249
- ar = ar.concat(__read(arguments[i]));
250
- return ar;
251
- }
252
- /** @deprecated */
253
- function __spreadArrays() {
254
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
255
- s += arguments[i].length;
256
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
257
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
258
- r[k] = a[j];
259
- return r;
260
- }
261
- function __spreadArray(to, from, pack) {
262
- if (pack || arguments.length === 2)
263
- for (var i = 0, l = from.length, ar; i < l; i++) {
264
- if (ar || !(i in from)) {
265
- if (!ar)
266
- ar = Array.prototype.slice.call(from, 0, i);
267
- ar[i] = from[i];
268
- }
269
- }
270
- return to.concat(ar || from);
271
- }
272
- function __await(v) {
273
- return this instanceof __await ? (this.v = v, this) : new __await(v);
274
- }
275
- function __asyncGenerator(thisArg, _arguments, generator) {
276
- if (!Symbol.asyncIterator)
277
- throw new TypeError("Symbol.asyncIterator is not defined.");
278
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
279
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
280
- function verb(n) { if (g[n])
281
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
282
- function resume(n, v) { try {
283
- step(g[n](v));
284
- }
285
- catch (e) {
286
- settle(q[0][3], e);
287
- } }
288
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
289
- function fulfill(value) { resume("next", value); }
290
- function reject(value) { resume("throw", value); }
291
- function settle(f, v) { if (f(v), q.shift(), q.length)
292
- resume(q[0][0], q[0][1]); }
293
- }
294
- function __asyncDelegator(o) {
295
- var i, p;
296
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
297
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
298
- }
299
- function __asyncValues(o) {
300
- if (!Symbol.asyncIterator)
301
- throw new TypeError("Symbol.asyncIterator is not defined.");
302
- var m = o[Symbol.asyncIterator], i;
303
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
304
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
305
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
306
- }
307
- function __makeTemplateObject(cooked, raw) {
308
- if (Object.defineProperty) {
309
- Object.defineProperty(cooked, "raw", { value: raw });
310
- }
311
- else {
312
- cooked.raw = raw;
313
- }
314
- return cooked;
315
- }
316
- ;
317
- var __setModuleDefault = Object.create ? (function (o, v) {
318
- Object.defineProperty(o, "default", { enumerable: true, value: v });
319
- }) : function (o, v) {
320
- o["default"] = v;
321
- };
322
- function __importStar(mod) {
323
- if (mod && mod.__esModule)
324
- return mod;
325
- var result = {};
326
- if (mod != null)
327
- for (var k in mod)
328
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
329
- __createBinding(result, mod, k);
330
- __setModuleDefault(result, mod);
331
- return result;
332
- }
333
- function __importDefault(mod) {
334
- return (mod && mod.__esModule) ? mod : { default: mod };
335
- }
336
- function __classPrivateFieldGet(receiver, state, kind, f) {
337
- if (kind === "a" && !f)
338
- throw new TypeError("Private accessor was defined without a getter");
339
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
340
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
341
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
342
- }
343
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
344
- if (kind === "m")
345
- throw new TypeError("Private method is not writable");
346
- if (kind === "a" && !f)
347
- throw new TypeError("Private accessor was defined without a setter");
348
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
349
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
350
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
351
- }
352
-
353
- var TUI_INPUT_CARD_GROUPED_DEFAULT_OPTIONS = Object.assign(Object.assign({}, inputCard.TUI_INPUT_CARD_DEFAULT_OPTIONS), { cardValidator: constants.tuiDefaultCardValidator, exampleText: "0000 0000 0000 0000", exampleTextCVC: "000" });
354
- var TUI_INPUT_CARD_GROUPED_OPTIONS = i3.tuiCreateToken(TUI_INPUT_CARD_GROUPED_DEFAULT_OPTIONS);
355
- function tuiInputCardGroupedOptionsProvider(options) {
356
- return i3.tuiProvideOptions(TUI_INPUT_CARD_GROUPED_OPTIONS, options, TUI_INPUT_CARD_GROUPED_DEFAULT_OPTIONS);
357
- }
358
-
359
- /**
360
- * InputCardGrouped texts
361
- */
362
- var TUI_INPUT_CARD_GROUPED_TEXTS = i3.tuiCreateTokenFromFactory(function () {
363
- var win = i0.inject(common.WINDOW);
364
- var cardNumberTexts = i0.inject(tokens.TUI_CARD_NUMBER_TEXTS);
365
- var expiryTexts = i0.inject(tokens.TUI_CARD_EXPIRY_TEXTS);
366
- var cvcTexts = i0.inject(tokens.TUI_CARD_CVC_TEXTS);
367
- var desktopSmall = i0.inject(i1.TUI_MEDIA).desktopSmall;
368
- var media = win.matchMedia("screen and (min-width: " + (desktopSmall - 1) / 16 + "em)");
369
- return i3.tuiTypedFromEvent(media, "change").pipe(operators.startWith(null), operators.switchMap(function () { return i8.combineLatest([
370
- i8.of(Number(media.matches)),
371
- cardNumberTexts,
372
- expiryTexts,
373
- cvcTexts,
374
- ]); }), operators.map(function (_a) {
375
- var _b = __read(_a, 4), index = _b[0], cardNumber = _b[1], expiry = _b[2], cvcTexts = _b[3];
376
- return ({
377
- cardNumberText: cardNumber[index],
378
- expiryText: expiry[index],
379
- cvcText: cvcTexts[index],
380
- });
381
- }));
382
- });
383
-
384
- var EXPIRE_COMPLETE_LENGTH = 5; // MM/YY
385
- var TuiInputCardGroupedComponent = /** @class */ (function (_super) {
386
- __extends(TuiInputCardGroupedComponent, _super);
387
- function TuiInputCardGroupedComponent(control, cdr, el, mode$, cardGroupedTexts$, controller, icons, arrowOptions, options) {
388
- var _this = _super.call(this, control, cdr, options) || this;
389
- _this.el = el;
390
- _this.mode$ = mode$;
391
- _this.cardGroupedTexts$ = cardGroupedTexts$;
392
- _this.controller = controller;
393
- _this.icons = icons;
394
- _this.arrowOptions = arrowOptions;
395
- _this.expireInert = false;
396
- _this.exampleText = _this.options.exampleText;
397
- _this.cardValidator = _this.options.cardValidator;
398
- _this.autofilledChange = new i0.EventEmitter();
399
- _this.exampleTextCVC = _this.options.exampleTextCVC;
400
- _this.maskCVC = {
401
- mask: new Array(3).fill(i1.TUI_DIGIT_REGEXP),
402
- };
403
- _this.maskCard = {
404
- mask: constants.TUI_CARD_MASK,
405
- };
406
- _this.maskExpire = kit.maskitoDateOptionsGenerator({
407
- mode: 'mm/yy',
408
- separator: '/',
409
- });
410
- _this.open = false;
411
- return _this;
412
- }
413
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "codeLength", {
414
- set: function (length) {
415
- this.exampleTextCVC = '0'.repeat(length);
416
- this.maskCVC = {
417
- mask: new Array(length).fill(i1.TUI_DIGIT_REGEXP),
418
- };
419
- },
420
- enumerable: false,
421
- configurable: true
422
- });
423
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "nativeFocusableElement", {
424
- get: function () {
425
- var _a, _b;
426
- return (_b = (_a = this.inputCard) === null || _a === void 0 ? void 0 : _a.nativeElement) !== null && _b !== void 0 ? _b : null;
427
- },
428
- enumerable: false,
429
- configurable: true
430
- });
431
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "focused", {
432
- get: function () {
433
- return this.open || i3.tuiIsNativeFocusedIn(this.el.nativeElement);
434
- },
435
- enumerable: false,
436
- configurable: true
437
- });
438
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "appearance", {
439
- get: function () {
440
- return this.controller.appearance;
441
- },
442
- enumerable: false,
443
- configurable: true
444
- });
445
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "card", {
446
- get: function () {
447
- var _a;
448
- return ((_a = this.value) === null || _a === void 0 ? void 0 : _a.card) || '';
449
- },
450
- enumerable: false,
451
- configurable: true
452
- });
453
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "expire", {
454
- get: function () {
455
- var _a;
456
- return ((_a = this.value) === null || _a === void 0 ? void 0 : _a.expire) || '';
457
- },
458
- enumerable: false,
459
- configurable: true
460
- });
461
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "cvc", {
462
- get: function () {
463
- var _a;
464
- return ((_a = this.value) === null || _a === void 0 ? void 0 : _a.cvc) || '';
465
- },
466
- enumerable: false,
467
- configurable: true
468
- });
469
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "hasCleaner", {
470
- get: function () {
471
- var _a, _b;
472
- return !!((_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.card) === null || _b === void 0 ? void 0 : _b.trim()) && !this.readOnly && !this.computedDisabled;
473
- },
474
- enumerable: false,
475
- configurable: true
476
- });
477
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "hasDropdown", {
478
- get: function () {
479
- return !!this.dropdown;
480
- },
481
- enumerable: false,
482
- configurable: true
483
- });
484
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "placeholderRaised", {
485
- get: function () {
486
- return (this.computedFocused && !this.readOnly) || this.hasCardNumber;
487
- },
488
- enumerable: false,
489
- configurable: true
490
- });
491
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "hasCardNumber", {
492
- get: function () {
493
- var _a, _b;
494
- return !!((_b = (_a = this.value) === null || _a === void 0 ? void 0 : _a.card) === null || _b === void 0 ? void 0 : _b.trim());
495
- },
496
- enumerable: false,
497
- configurable: true
498
- });
499
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "idCard", {
500
- get: function () {
501
- return this.id + "_card";
502
- },
503
- enumerable: false,
504
- configurable: true
505
- });
506
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "idExpire", {
507
- get: function () {
508
- return this.id + "_expire";
509
- },
510
- enumerable: false,
511
- configurable: true
512
- });
513
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "idCVC", {
514
- get: function () {
515
- return this.id + "_cvc";
516
- },
517
- enumerable: false,
518
- configurable: true
519
- });
520
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "isCardCollapsed", {
521
- get: function () {
522
- return this.isFocusable(this.card) && !this.cardFocused;
523
- },
524
- enumerable: false,
525
- configurable: true
526
- });
527
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "autocompleteExpire", {
528
- get: function () {
529
- return this.autocompleteEnabled ? 'cc-exp' : 'off';
530
- },
531
- enumerable: false,
532
- configurable: true
533
- });
534
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "autocompleteCVC", {
535
- get: function () {
536
- return this.autocompleteEnabled ? 'cc-csc' : 'off';
537
- },
538
- enumerable: false,
539
- configurable: true
540
- });
541
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "tailLength", {
542
- get: function () {
543
- return this.hasExtraSpace ? 5 : 4;
544
- },
545
- enumerable: false,
546
- configurable: true
547
- });
548
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "name", {
549
- // Safari expiration date autofill workaround
550
- get: function () {
551
- return this.autocompleteEnabled ? 'ccexpiryyear' : null;
552
- },
553
- enumerable: false,
554
- configurable: true
555
- });
556
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "cardPrefilled", {
557
- get: function () {
558
- return !!this.card.match(i1.TUI_NON_DIGIT_REGEXP);
559
- },
560
- enumerable: false,
561
- configurable: true
562
- });
563
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "cvcPrefilled", {
564
- get: function () {
565
- return !!this.cvc.match(i1.TUI_NON_DIGIT_REGEXP);
566
- },
567
- enumerable: false,
568
- configurable: true
569
- });
570
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "cardFocusable", {
571
- get: function () {
572
- return this.focusable && !this.cardPrefilled;
573
- },
574
- enumerable: false,
575
- configurable: true
576
- });
577
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "expireFocusable", {
578
- get: function () {
579
- return this.isFocusable(this.card) && !this.expireInert;
580
- },
581
- enumerable: false,
582
- configurable: true
583
- });
584
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "cvcFocusable", {
585
- get: function () {
586
- return this.isFocusable(this.card);
587
- },
588
- enumerable: false,
589
- configurable: true
590
- });
591
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "masked", {
592
- get: function () {
593
- return this.cardPrefilled ? "*" + this.card.slice(-4) : '*';
594
- },
595
- enumerable: false,
596
- configurable: true
597
- });
598
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "expireSelectionStart", {
599
- get: function () {
600
- var _a;
601
- return ((_a = this.inputExpire) === null || _a === void 0 ? void 0 : _a.nativeElement.selectionStart) || 0;
602
- },
603
- enumerable: false,
604
- configurable: true
605
- });
606
- TuiInputCardGroupedComponent.prototype.onEsc = function () {
607
- this.open = false;
608
- };
609
- TuiInputCardGroupedComponent.prototype.onArrow = function (element, step) {
610
- var _a;
611
- this.open = this.hasDropdown;
612
- this.cdr.detectChanges();
613
- (_a = this.datalist) === null || _a === void 0 ? void 0 : _a.onKeyDownArrow(element, step);
614
- };
615
- TuiInputCardGroupedComponent.prototype.handleOption = function (option) {
616
- var _a, _b;
617
- var _d = option.card, card = _d === void 0 ? '' : _d, _e = option.expire, expire = _e === void 0 ? '' : _e, _f = option.cvc, cvc = _f === void 0 ? '' : _f;
618
- var bin = this.bin;
619
- var element = (!expire && ((_a = this.inputExpire) === null || _a === void 0 ? void 0 : _a.nativeElement)) || ((_b = this.inputCVC) === null || _b === void 0 ? void 0 : _b.nativeElement);
620
- this.value = { card: card, expire: expire, cvc: cvc };
621
- this.updateBin(bin);
622
- this.open = false;
623
- this.expireInert = !!expire;
624
- element === null || element === void 0 ? void 0 : element.focus();
625
- };
626
- TuiInputCardGroupedComponent.prototype.onCardChange = function (card) {
627
- var _d = this, value = _d.value, bin = _d.bin;
628
- var parsed = card.split(' ').join('');
629
- if (value && value.card === parsed) {
630
- return;
631
- }
632
- this.updateProperty(parsed, 'card');
633
- this.updateBin(bin);
634
- if (this.cardValidator(this.card) && !this.expire && this.inputExpire) {
635
- this.focusExpire();
636
- }
637
- };
638
- TuiInputCardGroupedComponent.prototype.onExpireChange = function (expire) {
639
- this.updateProperty(expire, 'expire');
640
- if (expire.length === EXPIRE_COMPLETE_LENGTH &&
641
- this.expireSelectionStart >= EXPIRE_COMPLETE_LENGTH) {
642
- this.focusCVC();
643
- }
644
- };
645
- TuiInputCardGroupedComponent.prototype.onCVCChange = function (cvc) {
646
- this.updateProperty(cvc, 'cvc');
647
- };
648
- TuiInputCardGroupedComponent.prototype.transform = function (_d) {
649
- var offsetWidth = _d.offsetWidth;
650
- return this.isCardCollapsed ? "translate3d(" + offsetWidth + "px, 0, 0)" : '';
651
- };
652
- TuiInputCardGroupedComponent.prototype.onActiveZoneChange = function (active) {
653
- this.updateFocused(active);
654
- this.open = active && this.open;
655
- };
656
- TuiInputCardGroupedComponent.prototype.onMouseDown = function (event) {
657
- if (i3.tuiIsElement(event.target) && i3.tuiIsInput(event.target)) {
658
- return;
659
- }
660
- event.preventDefault();
661
- this.focusInput();
662
- };
663
- TuiInputCardGroupedComponent.prototype.onScroll = function (_d) {
664
- var currentTarget = _d.currentTarget;
665
- if (i3.tuiIsElement(currentTarget)) {
666
- currentTarget.scrollLeft = 0;
667
- }
668
- };
669
- TuiInputCardGroupedComponent.prototype.clear = function () {
670
- this.expireInert = false;
671
- this.value = null;
672
- this.focusCard();
673
- };
674
- TuiInputCardGroupedComponent.prototype.toggle = function () {
675
- this.open = !this.open;
676
- };
677
- TuiInputCardGroupedComponent.prototype.writeValue = function (value) {
678
- var bin = this.bin;
679
- _super.prototype.writeValue.call(this, value);
680
- this.updateBin(bin);
681
- this.expireInert = !!this.expire && this.cardPrefilled;
682
- };
683
- /** Public API for manual focus management */
684
- TuiInputCardGroupedComponent.prototype.focusCard = function () {
685
- var _a;
686
- (_a = this.cardNumberAutofocusRef) === null || _a === void 0 ? void 0 : _a.focus();
687
- };
688
- TuiInputCardGroupedComponent.prototype.focusExpire = function () {
689
- var _a;
690
- (_a = this.expireCardAutofocusRef) === null || _a === void 0 ? void 0 : _a.focus();
691
- };
692
- TuiInputCardGroupedComponent.prototype.focusCVC = function () {
693
- var _a;
694
- (_a = this.cvcCardAutofocusRef) === null || _a === void 0 ? void 0 : _a.focus();
695
- };
696
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "cardFocused", {
697
- get: function () {
698
- return !!this.inputCard && i3.tuiIsNativeFocused(this.inputCard.nativeElement);
699
- },
700
- enumerable: false,
701
- configurable: true
702
- });
703
- Object.defineProperty(TuiInputCardGroupedComponent.prototype, "hasExtraSpace", {
704
- get: function () {
705
- return this.card.length % 4 > 0;
706
- },
707
- enumerable: false,
708
- configurable: true
709
- });
710
- TuiInputCardGroupedComponent.prototype.isFocusable = function (card) {
711
- return this.focusable && (this.cardValidator(card) || this.cardPrefilled);
712
- };
713
- TuiInputCardGroupedComponent.prototype.updateBin = function (oldBin) {
714
- var bin = this.bin;
715
- if (bin !== oldBin && !this.cardPrefilled) {
716
- this.binChange.emit(bin);
717
- }
718
- };
719
- TuiInputCardGroupedComponent.prototype.updateProperty = function (value, propName) {
720
- var _d = this.value || {}, _e = _d.card, card = _e === void 0 ? '' : _e, _f = _d.expire, expire = _f === void 0 ? '' : _f, _g = _d.cvc, cvc = _g === void 0 ? '' : _g;
721
- var newValue = { card: card, expire: expire, cvc: cvc };
722
- newValue[propName] = value;
723
- this.value = newValue.expire || newValue.cvc || newValue.card ? newValue : null;
724
- };
725
- TuiInputCardGroupedComponent.prototype.focusInput = function () {
726
- var _a, _b, _c;
727
- var element = (this.cardFocusable && ((_a = this.inputCard) === null || _a === void 0 ? void 0 : _a.nativeElement)) ||
728
- (this.expireFocusable && ((_b = this.inputExpire) === null || _b === void 0 ? void 0 : _b.nativeElement)) ||
729
- ((_c = this.inputCVC) === null || _c === void 0 ? void 0 : _c.nativeElement);
730
- element === null || element === void 0 ? void 0 : element.focus();
731
- };
732
- return TuiInputCardGroupedComponent;
733
- }(inputCard.AbstractTuiInputCard));
734
- TuiInputCardGroupedComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardGroupedComponent, deps: [{ token: i5.NgControl, optional: true, self: true }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i1.TUI_MODE }, { token: TUI_INPUT_CARD_GROUPED_TEXTS }, { token: i1.TUI_TEXTFIELD_WATCHED_CONTROLLER }, { token: i1.TUI_COMMON_ICONS }, { token: kit$1.TUI_ARROW_OPTIONS }, { token: TUI_INPUT_CARD_GROUPED_OPTIONS }], target: i0__namespace.ɵɵFactoryTarget.Component });
735
- TuiInputCardGroupedComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", 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: [
736
- i3.tuiAsFocusableItemAccessor(TuiInputCardGroupedComponent),
737
- i3.tuiAsControl(TuiInputCardGroupedComponent),
738
- i1.tuiAsDataListHost(TuiInputCardGroupedComponent),
739
- i1.MODE_PROVIDER,
740
- i1.TEXTFIELD_CONTROLLER_PROVIDER,
741
- ], queries: [{ propertyName: "dropdown", first: true, predicate: i1.TuiDataListDirective, descendants: true, read: i0.TemplateRef }, { propertyName: "datalist", first: true, predicate: i1.TuiDataListComponent, descendants: true }], viewQueries: [{ propertyName: "inputCard", first: true, predicate: ["inputCard"], descendants: true }, { propertyName: "cardNumberAutofocusRef", first: true, predicate: ["inputCard"], descendants: true, read: i3.TuiAutoFocusDirective }, { propertyName: "inputExpire", first: true, predicate: ["inputExpire"], descendants: true }, { propertyName: "expireCardAutofocusRef", first: true, predicate: ["inputExpire"], descendants: true, read: i3.TuiAutoFocusDirective }, { propertyName: "inputCVC", first: true, predicate: ["inputCVC"], descendants: true }, { propertyName: "cvcCardAutofocusRef", first: true, predicate: ["inputCVC"], descendants: true, read: i3.TuiAutoFocusDirective }], usesInheritance: true, ngImport: i0__namespace, 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: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:.5rem;color:#1434cb}.t-collapsed{font:var(--tui-font-text-s);color:var(--tui-text-01);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:0 0 0 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:translate(100%)}.t-input{font:var(--tui-font-text-s);color:var(--tui-text-01);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"], components: [{ type: i1__namespace.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1__namespace.TuiDropdownOptionsDirective, selector: "[tuiDropdownAlign], [tuiDropdownAppearance], [tuiDropdownDirection], [tuiDropdownLimitWidth], [tuiDropdownMinHeight], [tuiDropdownMaxHeight], [tuiDropdownOffset]", inputs: ["tuiDropdownAlign", "tuiDropdownAppearance", "tuiDropdownDirection", "tuiDropdownLimitWidth", "tuiDropdownMinHeight", "tuiDropdownMaxHeight", "tuiDropdownOffset"] }, { type: i1__namespace.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { type: i1__namespace.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { type: i1__namespace.TuiDropdownDriverDirective, selector: "[tuiDropdown]" }, { type: i1__namespace.TuiDropdownPositionDirective, selector: "[tuiDropdown]:not([tuiDropdownCustomPosition]):not([tuiDropdownSided])" }, { type: i1__namespace.TuiDropdownManualDirective, selector: "[tuiDropdown][tuiDropdownManual]", inputs: ["tuiDropdownManual"] }, { type: i3__namespace.TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }, { type: i3__namespace.TuiLetDirective, selector: "[tuiLet]", inputs: ["tuiLet"] }, { type: i3__namespace.TuiPreventDefaultDirective, selector: "[tuiPreventDefault]", inputs: ["tuiPreventDefault"] }, { type: i4__namespace.MaskitoCva, selector: "input[maskito], textarea[maskito]", inputs: ["maskito"] }, { type: i5__namespace.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: i4__namespace.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { type: i5__namespace.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5__namespace.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i3__namespace.TuiAutoFocusDirective, selector: "[tuiAutoFocus]", inputs: ["tuiAutoFocus"] }, { type: i3__namespace.TuiFocusableDirective, selector: "[tuiFocusable]", inputs: ["tuiFocusable"] }, { type: i3__namespace.TuiResizeDirective, selector: "[tuiResize]", outputs: ["tuiResize"] }, { type: i6__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], pipes: { "async": i2__namespace.AsyncPipe, "tuiFormatCard": i7__namespace.TuiFormatCardPipe, "tuiMapper": i3__namespace.TuiMapperPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
742
- __decorate([
743
- i3.tuiPure
744
- ], TuiInputCardGroupedComponent.prototype, "isFocusable", null);
745
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardGroupedComponent, decorators: [{
746
- type: i0.Component,
747
- args: [{
748
- selector: 'tui-input-card-grouped',
749
- templateUrl: './input-card-grouped.template.html',
750
- styleUrls: ['./input-card-grouped.style.less'],
751
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
752
- providers: [
753
- i3.tuiAsFocusableItemAccessor(TuiInputCardGroupedComponent),
754
- i3.tuiAsControl(TuiInputCardGroupedComponent),
755
- i1.tuiAsDataListHost(TuiInputCardGroupedComponent),
756
- i1.MODE_PROVIDER,
757
- i1.TEXTFIELD_CONTROLLER_PROVIDER,
758
- ],
759
- host: {
760
- '($.data-mode.attr)': 'mode$',
761
- 'data-size': 'l',
762
- },
763
- }]
764
- }], ctorParameters: function () {
765
- return [{ type: i5__namespace.NgControl, decorators: [{
766
- type: i0.Optional
767
- }, {
768
- type: i0.Self
769
- }, {
770
- type: i0.Inject,
771
- args: [i5.NgControl]
772
- }] }, { type: i0__namespace.ChangeDetectorRef, decorators: [{
773
- type: i0.Inject,
774
- args: [i0.ChangeDetectorRef]
775
- }] }, { type: i0__namespace.ElementRef, decorators: [{
776
- type: i0.Inject,
777
- args: [i0.ElementRef]
778
- }] }, { type: i8__namespace.Observable, decorators: [{
779
- type: i0.Inject,
780
- args: [i1.TUI_MODE]
781
- }] }, { type: i8__namespace.Observable, decorators: [{
782
- type: i0.Inject,
783
- args: [TUI_INPUT_CARD_GROUPED_TEXTS]
784
- }] }, { type: i1__namespace.TuiTextfieldController, decorators: [{
785
- type: i0.Inject,
786
- args: [i1.TUI_TEXTFIELD_WATCHED_CONTROLLER]
787
- }] }, { type: undefined, decorators: [{
788
- type: i0.Inject,
789
- args: [i1.TUI_COMMON_ICONS]
790
- }] }, { type: undefined, decorators: [{
791
- type: i0.Inject,
792
- args: [kit$1.TUI_ARROW_OPTIONS]
793
- }] }, { type: undefined, decorators: [{
794
- type: i0.Inject,
795
- args: [TUI_INPUT_CARD_GROUPED_OPTIONS]
796
- }] }];
797
- }, propDecorators: { inputCard: [{
798
- type: i0.ViewChild,
799
- args: ['inputCard']
800
- }], cardNumberAutofocusRef: [{
801
- type: i0.ViewChild,
802
- args: ['inputCard', { read: i3.TuiAutoFocusDirective }]
803
- }], inputExpire: [{
804
- type: i0.ViewChild,
805
- args: ['inputExpire']
806
- }], expireCardAutofocusRef: [{
807
- type: i0.ViewChild,
808
- args: ['inputExpire', { read: i3.TuiAutoFocusDirective }]
809
- }], inputCVC: [{
810
- type: i0.ViewChild,
811
- args: ['inputCVC']
812
- }], cvcCardAutofocusRef: [{
813
- type: i0.ViewChild,
814
- args: ['inputCVC', { read: i3.TuiAutoFocusDirective }]
815
- }], exampleText: [{
816
- type: i0.Input
817
- }], cardValidator: [{
818
- type: i0.Input
819
- }], codeLength: [{
820
- type: i0.Input
821
- }], autofilledChange: [{
822
- type: i0.Output
823
- }], dropdown: [{
824
- type: i0.ContentChild,
825
- args: [i1.TuiDataListDirective, { read: i0.TemplateRef }]
826
- }], datalist: [{
827
- type: i0.ContentChild,
828
- args: [i1.TuiDataListComponent]
829
- }], onEsc: [{
830
- type: i0.HostListener,
831
- args: ['keydown.esc']
832
- }], onArrow: [{
833
- type: i0.HostListener,
834
- args: ['keydown.arrowDown.prevent', ['$event.target', '1']]
835
- }, {
836
- type: i0.HostListener,
837
- args: ['keydown.arrowUp.prevent', ['$event.target', '-1']]
838
- }], isFocusable: [] } });
839
-
840
- var TuiInputCardGroupedModule = /** @class */ (function () {
841
- function TuiInputCardGroupedModule() {
842
- }
843
- return TuiInputCardGroupedModule;
844
- }());
845
- TuiInputCardGroupedModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardGroupedModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
846
- TuiInputCardGroupedModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardGroupedModule, declarations: [TuiInputCardGroupedComponent], imports: [i2.CommonModule,
847
- i5.FormsModule,
848
- i4.MaskitoModule,
849
- i3.TuiFocusableModule,
850
- i1.TuiSvgModule,
851
- i1.TuiWrapperModule,
852
- i3.TuiActiveZoneModule,
853
- i3.TuiMapperPipeModule,
854
- i1.TuiDropdownModule,
855
- i3.TuiPreventDefaultModule,
856
- i6.PolymorpheusModule,
857
- i3.TuiLetModule,
858
- i3.TuiResizeModule,
859
- i7.TuiFormatCardModule,
860
- i3.TuiAutoFocusModule], exports: [TuiInputCardGroupedComponent] });
861
- TuiInputCardGroupedModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardGroupedModule, imports: [[
862
- i2.CommonModule,
863
- i5.FormsModule,
864
- i4.MaskitoModule,
865
- i3.TuiFocusableModule,
866
- i1.TuiSvgModule,
867
- i1.TuiWrapperModule,
868
- i3.TuiActiveZoneModule,
869
- i3.TuiMapperPipeModule,
870
- i1.TuiDropdownModule,
871
- i3.TuiPreventDefaultModule,
872
- i6.PolymorpheusModule,
873
- i3.TuiLetModule,
874
- i3.TuiResizeModule,
875
- i7.TuiFormatCardModule,
876
- i3.TuiAutoFocusModule,
877
- ]] });
878
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputCardGroupedModule, decorators: [{
879
- type: i0.NgModule,
880
- args: [{
881
- imports: [
882
- i2.CommonModule,
883
- i5.FormsModule,
884
- i4.MaskitoModule,
885
- i3.TuiFocusableModule,
886
- i1.TuiSvgModule,
887
- i1.TuiWrapperModule,
888
- i3.TuiActiveZoneModule,
889
- i3.TuiMapperPipeModule,
890
- i1.TuiDropdownModule,
891
- i3.TuiPreventDefaultModule,
892
- i6.PolymorpheusModule,
893
- i3.TuiLetModule,
894
- i3.TuiResizeModule,
895
- i7.TuiFormatCardModule,
896
- i3.TuiAutoFocusModule,
897
- ],
898
- declarations: [TuiInputCardGroupedComponent],
899
- exports: [TuiInputCardGroupedComponent],
900
- }]
901
- }] });
902
-
903
- /**
904
- * Generated bundle index. Do not edit.
905
- */
906
-
907
- exports.TUI_INPUT_CARD_GROUPED_DEFAULT_OPTIONS = TUI_INPUT_CARD_GROUPED_DEFAULT_OPTIONS;
908
- exports.TUI_INPUT_CARD_GROUPED_OPTIONS = TUI_INPUT_CARD_GROUPED_OPTIONS;
909
- exports.TUI_INPUT_CARD_GROUPED_TEXTS = TUI_INPUT_CARD_GROUPED_TEXTS;
910
- exports.TuiInputCardGroupedComponent = TuiInputCardGroupedComponent;
911
- exports.TuiInputCardGroupedModule = TuiInputCardGroupedModule;
912
- exports.tuiInputCardGroupedOptionsProvider = tuiInputCardGroupedOptionsProvider;
913
-
914
- Object.defineProperty(exports, '__esModule', { value: true });
915
-
916
- }));
917
- //# sourceMappingURL=taiga-ui-addon-commerce-components-input-card-grouped.umd.js.map