@taiga-ui/addon-commerce 2.55.0 → 3.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (361) hide show
  1. package/bundles/taiga-ui-addon-commerce-components-card.umd.js +424 -305
  2. package/bundles/taiga-ui-addon-commerce-components-card.umd.js.map +1 -1
  3. package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js +623 -466
  4. package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js.map +1 -1
  5. package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js +461 -331
  6. package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js.map +1 -1
  7. package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js +444 -314
  8. package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js.map +1 -1
  9. package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js +432 -306
  10. package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js.map +1 -1
  11. package/bundles/taiga-ui-addon-commerce-components-money.umd.js +516 -384
  12. package/bundles/taiga-ui-addon-commerce-components-money.umd.js.map +1 -1
  13. package/bundles/taiga-ui-addon-commerce-components.umd.js +15 -27
  14. package/bundles/taiga-ui-addon-commerce-components.umd.js.map +1 -1
  15. package/bundles/taiga-ui-addon-commerce-constants.umd.js +38 -36
  16. package/bundles/taiga-ui-addon-commerce-constants.umd.js.map +1 -1
  17. package/bundles/taiga-ui-addon-commerce-enums.umd.js +6 -35
  18. package/bundles/taiga-ui-addon-commerce-enums.umd.js.map +1 -1
  19. package/bundles/taiga-ui-addon-commerce-interfaces.umd.js +2 -2
  20. package/bundles/taiga-ui-addon-commerce-interfaces.umd.js.map +1 -1
  21. package/bundles/taiga-ui-addon-commerce-pipes.umd.js +63 -274
  22. package/bundles/taiga-ui-addon-commerce-pipes.umd.js.map +1 -1
  23. package/bundles/taiga-ui-addon-commerce-tokens.umd.js +11 -7
  24. package/bundles/taiga-ui-addon-commerce-tokens.umd.js.map +1 -1
  25. package/bundles/taiga-ui-addon-commerce-types.umd.js +2 -2
  26. package/bundles/taiga-ui-addon-commerce-types.umd.js.map +1 -1
  27. package/bundles/taiga-ui-addon-commerce-utils.umd.js +63 -107
  28. package/bundles/taiga-ui-addon-commerce-utils.umd.js.map +1 -1
  29. package/bundles/taiga-ui-addon-commerce-validators.umd.js +17 -11
  30. package/bundles/taiga-ui-addon-commerce-validators.umd.js.map +1 -1
  31. package/bundles/taiga-ui-addon-commerce.umd.js +31 -33
  32. package/bundles/taiga-ui-addon-commerce.umd.js.map +1 -1
  33. package/components/card/card.component.d.ts +5 -2
  34. package/components/card/card.module.d.ts +7 -0
  35. package/components/card/package.json +2 -5
  36. package/components/card/taiga-ui-addon-commerce-components-card.d.ts +1 -0
  37. package/components/input-card/input-card.component.d.ts +4 -2
  38. package/components/input-card/input-card.module.d.ts +8 -0
  39. package/components/input-card/package.json +2 -5
  40. package/components/input-card/taiga-ui-addon-commerce-components-input-card.d.ts +1 -0
  41. package/components/input-card-grouped/input-card-grouped.component.d.ts +5 -3
  42. package/components/input-card-grouped/input-card-grouped.module.d.ts +12 -0
  43. package/components/input-card-grouped/package.json +2 -5
  44. package/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.d.ts +1 -0
  45. package/components/input-cvc/input-cvc.component.d.ts +3 -1
  46. package/components/input-cvc/input-cvc.module.d.ts +8 -0
  47. package/components/input-cvc/package.json +2 -5
  48. package/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.d.ts +1 -0
  49. package/components/input-expire/input-expire.component.d.ts +3 -1
  50. package/components/input-expire/input-expire.module.d.ts +8 -0
  51. package/components/input-expire/package.json +2 -5
  52. package/components/input-expire/taiga-ui-addon-commerce-components-input-expire.d.ts +1 -0
  53. package/components/money/money-options.d.ts +4 -4
  54. package/components/money/money.component.d.ts +7 -4
  55. package/components/money/money.module.d.ts +10 -0
  56. package/components/money/package.json +2 -5
  57. package/components/money/pipes/fraction-part.pipe.d.ts +5 -2
  58. package/components/money/pipes/integer-part.pipe.d.ts +3 -0
  59. package/components/money/pipes/sign-symbol.pipe.d.ts +5 -2
  60. package/components/money/taiga-ui-addon-commerce-components-money.d.ts +1 -0
  61. package/components/money/utils/format-fraction-part.d.ts +2 -2
  62. package/components/money/utils/format-sign-symbol.d.ts +2 -2
  63. package/components/package.json +2 -5
  64. package/components/taiga-ui-addon-commerce-components.d.ts +1 -0
  65. package/constants/package.json +2 -5
  66. package/constants/taiga-ui-addon-commerce-constants.d.ts +1 -0
  67. package/enums/currency-code.d.ts +0 -5
  68. package/enums/index.d.ts +0 -2
  69. package/enums/package.json +2 -5
  70. package/enums/taiga-ui-addon-commerce-enums.d.ts +1 -0
  71. package/esm2015/components/card/card.component.js +44 -30
  72. package/esm2015/components/card/card.module.js +15 -12
  73. package/esm2015/components/card/index.js +1 -1
  74. package/esm2015/components/card/taiga-ui-addon-commerce-components-card.js +1 -1
  75. package/esm2015/components/index.js +1 -1
  76. package/esm2015/components/input-card/index.js +1 -1
  77. package/esm2015/components/input-card/input-card.component.js +72 -56
  78. package/esm2015/components/input-card/input-card.module.js +24 -13
  79. package/esm2015/components/input-card/taiga-ui-addon-commerce-components-input-card.js +1 -1
  80. package/esm2015/components/input-card-grouped/index.js +1 -1
  81. package/esm2015/components/input-card-grouped/input-card-grouped.component.js +148 -121
  82. package/esm2015/components/input-card-grouped/input-card-grouped.module.js +45 -15
  83. package/esm2015/components/input-card-grouped/input-card-grouped.providers.js +3 -3
  84. package/esm2015/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.js +1 -1
  85. package/esm2015/components/input-cvc/index.js +1 -1
  86. package/esm2015/components/input-cvc/input-cvc.component.js +56 -43
  87. package/esm2015/components/input-cvc/input-cvc.module.js +26 -13
  88. package/esm2015/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.js +1 -1
  89. package/esm2015/components/input-expire/index.js +1 -1
  90. package/esm2015/components/input-expire/input-expire.component.js +49 -38
  91. package/esm2015/components/input-expire/input-expire.module.js +24 -13
  92. package/esm2015/components/input-expire/taiga-ui-addon-commerce-components-input-expire.js +1 -1
  93. package/esm2015/components/money/index.js +1 -1
  94. package/esm2015/components/money/money-options.js +4 -4
  95. package/esm2015/components/money/money.component.js +48 -35
  96. package/esm2015/components/money/money.module.js +23 -17
  97. package/esm2015/components/money/pipes/fraction-part.pipe.js +13 -12
  98. package/esm2015/components/money/pipes/integer-part.pipe.js +13 -12
  99. package/esm2015/components/money/pipes/sign-symbol.pipe.js +10 -8
  100. package/esm2015/components/money/taiga-ui-addon-commerce-components-money.js +1 -1
  101. package/esm2015/components/money/utils/format-fraction-part.js +4 -4
  102. package/esm2015/components/money/utils/format-sign-symbol.js +4 -4
  103. package/esm2015/components/taiga-ui-addon-commerce-components.js +1 -1
  104. package/esm2015/constants/card-holder-mask.js +27 -27
  105. package/esm2015/constants/card-mask.js +5 -5
  106. package/esm2015/constants/default-card-validator.js +3 -3
  107. package/esm2015/constants/index.js +1 -1
  108. package/esm2015/constants/taiga-ui-addon-commerce-constants.js +1 -1
  109. package/esm2015/enums/currency-code.js +1 -7
  110. package/esm2015/enums/currency.js +1 -1
  111. package/esm2015/enums/index.js +1 -3
  112. package/esm2015/enums/taiga-ui-addon-commerce-enums.js +1 -1
  113. package/esm2015/index.js +3 -1
  114. package/esm2015/interfaces/card.js +2 -1
  115. package/esm2015/interfaces/index.js +2 -1
  116. package/esm2015/interfaces/taiga-ui-addon-commerce-interfaces.js +2 -1
  117. package/esm2015/pipes/currency/currency.module.js +14 -11
  118. package/esm2015/pipes/currency/currency.pipe.js +12 -10
  119. package/esm2015/pipes/format-card/format-card.module.js +14 -11
  120. package/esm2015/pipes/format-card/format-card.pipe.js +14 -12
  121. package/esm2015/pipes/index.js +1 -1
  122. package/esm2015/pipes/taiga-ui-addon-commerce-pipes.js +1 -1
  123. package/esm2015/taiga-ui-addon-commerce.js +1 -1
  124. package/esm2015/tokens/i18n.js +6 -6
  125. package/esm2015/tokens/index.js +1 -1
  126. package/esm2015/tokens/taiga-ui-addon-commerce-tokens.js +1 -1
  127. package/esm2015/types/code-length.js +2 -1
  128. package/esm2015/types/currency-variants.js +2 -1
  129. package/esm2015/types/index.js +5 -1
  130. package/esm2015/types/money-sign.js +2 -1
  131. package/esm2015/types/payment-system.js +2 -0
  132. package/esm2015/types/taiga-ui-addon-commerce-types.js +2 -1
  133. package/esm2015/utils/create-auto-corrected-expire-pipe.js +6 -6
  134. package/esm2015/utils/format-currency.js +7 -7
  135. package/esm2015/utils/get-currency-symbol.js +21 -26
  136. package/esm2015/utils/get-payment-system.js +18 -48
  137. package/esm2015/utils/index.js +1 -1
  138. package/esm2015/utils/is-card-length-valid.js +9 -11
  139. package/esm2015/utils/is-card-number-valid.js +4 -6
  140. package/esm2015/utils/is-expire-valid.js +1 -1
  141. package/esm2015/utils/taiga-ui-addon-commerce-utils.js +1 -1
  142. package/esm2015/validators/card-expire.validator.js +2 -2
  143. package/esm2015/validators/card-number.validator.js +4 -4
  144. package/esm2015/validators/index.js +1 -1
  145. package/esm2015/validators/luhn.validator.js +5 -3
  146. package/esm2015/validators/taiga-ui-addon-commerce-validators.js +1 -1
  147. package/fesm2015/taiga-ui-addon-commerce-components-card.js +58 -39
  148. package/fesm2015/taiga-ui-addon-commerce-components-card.js.map +1 -1
  149. package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js +196 -136
  150. package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js.map +1 -1
  151. package/fesm2015/taiga-ui-addon-commerce-components-input-card.js +96 -67
  152. package/fesm2015/taiga-ui-addon-commerce-components-input-card.js.map +1 -1
  153. package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.js +81 -53
  154. package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.js.map +1 -1
  155. package/fesm2015/taiga-ui-addon-commerce-components-input-expire.js +72 -48
  156. package/fesm2015/taiga-ui-addon-commerce-components-input-expire.js.map +1 -1
  157. package/fesm2015/taiga-ui-addon-commerce-components-money.js +133 -108
  158. package/fesm2015/taiga-ui-addon-commerce-components-money.js.map +1 -1
  159. package/fesm2015/taiga-ui-addon-commerce-components.js.map +1 -1
  160. package/fesm2015/taiga-ui-addon-commerce-constants.js +32 -32
  161. package/fesm2015/taiga-ui-addon-commerce-constants.js.map +1 -1
  162. package/fesm2015/taiga-ui-addon-commerce-enums.js +1 -34
  163. package/fesm2015/taiga-ui-addon-commerce-enums.js.map +1 -1
  164. package/fesm2015/taiga-ui-addon-commerce-interfaces.js.map +1 -1
  165. package/fesm2015/taiga-ui-addon-commerce-pipes.js +47 -33
  166. package/fesm2015/taiga-ui-addon-commerce-pipes.js.map +1 -1
  167. package/fesm2015/taiga-ui-addon-commerce-tokens.js +5 -5
  168. package/fesm2015/taiga-ui-addon-commerce-tokens.js.map +1 -1
  169. package/fesm2015/taiga-ui-addon-commerce-types.js.map +1 -1
  170. package/fesm2015/taiga-ui-addon-commerce-utils.js +58 -97
  171. package/fesm2015/taiga-ui-addon-commerce-utils.js.map +1 -1
  172. package/fesm2015/taiga-ui-addon-commerce-validators.js +7 -5
  173. package/fesm2015/taiga-ui-addon-commerce-validators.js.map +1 -1
  174. package/fesm2015/taiga-ui-addon-commerce.js +2 -0
  175. package/fesm2015/taiga-ui-addon-commerce.js.map +1 -1
  176. package/interfaces/package.json +2 -5
  177. package/interfaces/taiga-ui-addon-commerce-interfaces.d.ts +1 -0
  178. package/package.json +12 -15
  179. package/pipes/currency/currency.module.d.ts +5 -0
  180. package/pipes/currency/currency.pipe.d.ts +3 -0
  181. package/pipes/format-card/format-card.module.d.ts +5 -0
  182. package/pipes/format-card/format-card.pipe.d.ts +3 -0
  183. package/pipes/package.json +2 -5
  184. package/pipes/taiga-ui-addon-commerce-pipes.d.ts +1 -0
  185. package/taiga-ui-addon-commerce.d.ts +1 -0
  186. package/tokens/package.json +2 -5
  187. package/tokens/taiga-ui-addon-commerce-tokens.d.ts +1 -0
  188. package/types/index.d.ts +1 -0
  189. package/types/money-sign.d.ts +1 -1
  190. package/types/package.json +2 -5
  191. package/types/payment-system.d.ts +1 -0
  192. package/types/taiga-ui-addon-commerce-types.d.ts +1 -0
  193. package/utils/get-currency-symbol.d.ts +1 -5
  194. package/utils/get-payment-system.d.ts +7 -31
  195. package/utils/is-card-length-valid.d.ts +1 -3
  196. package/utils/is-card-number-valid.d.ts +1 -3
  197. package/utils/package.json +2 -5
  198. package/utils/taiga-ui-addon-commerce-utils.d.ts +1 -0
  199. package/validators/package.json +2 -5
  200. package/validators/taiga-ui-addon-commerce-validators.d.ts +1 -0
  201. package/bundles/taiga-ui-addon-commerce-components-card.umd.min.js +0 -2
  202. package/bundles/taiga-ui-addon-commerce-components-card.umd.min.js.map +0 -1
  203. package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.min.js +0 -2
  204. package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.min.js.map +0 -1
  205. package/bundles/taiga-ui-addon-commerce-components-input-card.umd.min.js +0 -2
  206. package/bundles/taiga-ui-addon-commerce-components-input-card.umd.min.js.map +0 -1
  207. package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.min.js +0 -2
  208. package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.min.js.map +0 -1
  209. package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.min.js +0 -2
  210. package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.min.js.map +0 -1
  211. package/bundles/taiga-ui-addon-commerce-components-money.umd.min.js +0 -2
  212. package/bundles/taiga-ui-addon-commerce-components-money.umd.min.js.map +0 -1
  213. package/bundles/taiga-ui-addon-commerce-components.umd.min.js +0 -2
  214. package/bundles/taiga-ui-addon-commerce-components.umd.min.js.map +0 -1
  215. package/bundles/taiga-ui-addon-commerce-constants.umd.min.js +0 -2
  216. package/bundles/taiga-ui-addon-commerce-constants.umd.min.js.map +0 -1
  217. package/bundles/taiga-ui-addon-commerce-enums.umd.min.js +0 -2
  218. package/bundles/taiga-ui-addon-commerce-enums.umd.min.js.map +0 -1
  219. package/bundles/taiga-ui-addon-commerce-interfaces.umd.min.js +0 -2
  220. package/bundles/taiga-ui-addon-commerce-interfaces.umd.min.js.map +0 -1
  221. package/bundles/taiga-ui-addon-commerce-pipes.umd.min.js +0 -2
  222. package/bundles/taiga-ui-addon-commerce-pipes.umd.min.js.map +0 -1
  223. package/bundles/taiga-ui-addon-commerce-tokens.umd.min.js +0 -2
  224. package/bundles/taiga-ui-addon-commerce-tokens.umd.min.js.map +0 -1
  225. package/bundles/taiga-ui-addon-commerce-types.umd.min.js +0 -2
  226. package/bundles/taiga-ui-addon-commerce-types.umd.min.js.map +0 -1
  227. package/bundles/taiga-ui-addon-commerce-utils.umd.min.js +0 -2
  228. package/bundles/taiga-ui-addon-commerce-utils.umd.min.js.map +0 -1
  229. package/bundles/taiga-ui-addon-commerce-validators.umd.min.js +0 -2
  230. package/bundles/taiga-ui-addon-commerce-validators.umd.min.js.map +0 -1
  231. package/bundles/taiga-ui-addon-commerce.umd.min.js +0 -2
  232. package/bundles/taiga-ui-addon-commerce.umd.min.js.map +0 -1
  233. package/components/card/taiga-ui-addon-commerce-components-card.metadata.json +0 -1
  234. package/components/input-card/taiga-ui-addon-commerce-components-input-card.metadata.json +0 -1
  235. package/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.metadata.json +0 -1
  236. package/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.metadata.json +0 -1
  237. package/components/input-expire/taiga-ui-addon-commerce-components-input-expire.metadata.json +0 -1
  238. package/components/money/taiga-ui-addon-commerce-components-money.metadata.json +0 -1
  239. package/components/taiga-ui-addon-commerce-components.metadata.json +0 -1
  240. package/constants/taiga-ui-addon-commerce-constants.metadata.json +0 -1
  241. package/enums/money-sign.d.ts +0 -16
  242. package/enums/payment-system.d.ts +0 -8
  243. package/enums/taiga-ui-addon-commerce-enums.metadata.json +0 -1
  244. package/esm2015/enums/money-sign.js +0 -18
  245. package/esm2015/enums/payment-system.js +0 -9
  246. package/esm5/components/card/card.component.js +0 -73
  247. package/esm5/components/card/card.module.js +0 -19
  248. package/esm5/components/card/index.js +0 -3
  249. package/esm5/components/card/taiga-ui-addon-commerce-components-card.js +0 -5
  250. package/esm5/components/index.js +0 -7
  251. package/esm5/components/input-card/index.js +0 -3
  252. package/esm5/components/input-card/input-card.component.js +0 -167
  253. package/esm5/components/input-card/input-card.module.js +0 -25
  254. package/esm5/components/input-card/taiga-ui-addon-commerce-components-input-card.js +0 -5
  255. package/esm5/components/input-card-grouped/index.js +0 -4
  256. package/esm5/components/input-card-grouped/input-card-grouped.component.js +0 -511
  257. package/esm5/components/input-card-grouped/input-card-grouped.module.js +0 -40
  258. package/esm5/components/input-card-grouped/input-card-grouped.providers.js +0 -34
  259. package/esm5/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.js +0 -5
  260. package/esm5/components/input-cvc/index.js +0 -3
  261. package/esm5/components/input-cvc/input-cvc.component.js +0 -113
  262. package/esm5/components/input-cvc/input-cvc.module.js +0 -26
  263. package/esm5/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.js +0 -5
  264. package/esm5/components/input-expire/index.js +0 -3
  265. package/esm5/components/input-expire/input-expire.component.js +0 -108
  266. package/esm5/components/input-expire/input-expire.module.js +0 -25
  267. package/esm5/components/input-expire/taiga-ui-addon-commerce-components-input-expire.js +0 -5
  268. package/esm5/components/money/index.js +0 -9
  269. package/esm5/components/money/money-options.js +0 -18
  270. package/esm5/components/money/money.component.js +0 -101
  271. package/esm5/components/money/money.module.js +0 -27
  272. package/esm5/components/money/pipes/fraction-part.pipe.js +0 -27
  273. package/esm5/components/money/pipes/integer-part.pipe.js +0 -21
  274. package/esm5/components/money/pipes/sign-symbol.pipe.js +0 -16
  275. package/esm5/components/money/taiga-ui-addon-commerce-components-money.js +0 -5
  276. package/esm5/components/money/utils/format-fraction-part.js +0 -7
  277. package/esm5/components/money/utils/format-sign-symbol.js +0 -11
  278. package/esm5/components/taiga-ui-addon-commerce-components.js +0 -5
  279. package/esm5/constants/card-holder-mask.js +0 -37
  280. package/esm5/constants/card-mask.js +0 -30
  281. package/esm5/constants/default-card-validator.js +0 -5
  282. package/esm5/constants/index.js +0 -4
  283. package/esm5/constants/taiga-ui-addon-commerce-constants.js +0 -5
  284. package/esm5/enums/currency-code.js +0 -171
  285. package/esm5/enums/currency.js +0 -171
  286. package/esm5/enums/index.js +0 -5
  287. package/esm5/enums/money-sign.js +0 -18
  288. package/esm5/enums/payment-system.js +0 -9
  289. package/esm5/enums/taiga-ui-addon-commerce-enums.js +0 -5
  290. package/esm5/index.js +0 -8
  291. package/esm5/interfaces/card.js +0 -1
  292. package/esm5/interfaces/index.js +0 -1
  293. package/esm5/interfaces/taiga-ui-addon-commerce-interfaces.js +0 -4
  294. package/esm5/pipes/currency/currency.module.js +0 -16
  295. package/esm5/pipes/currency/currency.pipe.js +0 -18
  296. package/esm5/pipes/format-card/format-card.module.js +0 -16
  297. package/esm5/pipes/format-card/format-card.pipe.js +0 -22
  298. package/esm5/pipes/index.js +0 -5
  299. package/esm5/pipes/taiga-ui-addon-commerce-pipes.js +0 -5
  300. package/esm5/taiga-ui-addon-commerce.js +0 -5
  301. package/esm5/tokens/i18n.js +0 -13
  302. package/esm5/tokens/index.js +0 -2
  303. package/esm5/tokens/taiga-ui-addon-commerce-tokens.js +0 -5
  304. package/esm5/types/code-length.js +0 -1
  305. package/esm5/types/currency-variants.js +0 -1
  306. package/esm5/types/index.js +0 -1
  307. package/esm5/types/money-sign.js +0 -1
  308. package/esm5/types/taiga-ui-addon-commerce-types.js +0 -4
  309. package/esm5/utils/create-auto-corrected-expire-pipe.js +0 -43
  310. package/esm5/utils/format-currency.js +0 -17
  311. package/esm5/utils/get-currency-symbol.js +0 -71
  312. package/esm5/utils/get-payment-system.js +0 -103
  313. package/esm5/utils/index.js +0 -8
  314. package/esm5/utils/is-card-length-valid.js +0 -25
  315. package/esm5/utils/is-card-number-valid.js +0 -21
  316. package/esm5/utils/is-expire-valid.js +0 -14
  317. package/esm5/utils/taiga-ui-addon-commerce-utils.js +0 -5
  318. package/esm5/validators/card-expire.validator.js +0 -10
  319. package/esm5/validators/card-number.validator.js +0 -9
  320. package/esm5/validators/index.js +0 -4
  321. package/esm5/validators/luhn.validator.js +0 -9
  322. package/esm5/validators/taiga-ui-addon-commerce-validators.js +0 -5
  323. package/fesm5/taiga-ui-addon-commerce-components-card.js +0 -94
  324. package/fesm5/taiga-ui-addon-commerce-components-card.js.map +0 -1
  325. package/fesm5/taiga-ui-addon-commerce-components-input-card-grouped.js +0 -579
  326. package/fesm5/taiga-ui-addon-commerce-components-input-card-grouped.js.map +0 -1
  327. package/fesm5/taiga-ui-addon-commerce-components-input-card.js +0 -193
  328. package/fesm5/taiga-ui-addon-commerce-components-input-card.js.map +0 -1
  329. package/fesm5/taiga-ui-addon-commerce-components-input-cvc.js +0 -140
  330. package/fesm5/taiga-ui-addon-commerce-components-input-cvc.js.map +0 -1
  331. package/fesm5/taiga-ui-addon-commerce-components-input-expire.js +0 -134
  332. package/fesm5/taiga-ui-addon-commerce-components-input-expire.js.map +0 -1
  333. package/fesm5/taiga-ui-addon-commerce-components-money.js +0 -210
  334. package/fesm5/taiga-ui-addon-commerce-components-money.js.map +0 -1
  335. package/fesm5/taiga-ui-addon-commerce-components.js +0 -11
  336. package/fesm5/taiga-ui-addon-commerce-components.js.map +0 -1
  337. package/fesm5/taiga-ui-addon-commerce-constants.js +0 -78
  338. package/fesm5/taiga-ui-addon-commerce-constants.js.map +0 -1
  339. package/fesm5/taiga-ui-addon-commerce-enums.js +0 -375
  340. package/fesm5/taiga-ui-addon-commerce-enums.js.map +0 -1
  341. package/fesm5/taiga-ui-addon-commerce-interfaces.js +0 -4
  342. package/fesm5/taiga-ui-addon-commerce-interfaces.js.map +0 -1
  343. package/fesm5/taiga-ui-addon-commerce-pipes.js +0 -67
  344. package/fesm5/taiga-ui-addon-commerce-pipes.js.map +0 -1
  345. package/fesm5/taiga-ui-addon-commerce-tokens.js +0 -20
  346. package/fesm5/taiga-ui-addon-commerce-tokens.js.map +0 -1
  347. package/fesm5/taiga-ui-addon-commerce-types.js +0 -4
  348. package/fesm5/taiga-ui-addon-commerce-types.js.map +0 -1
  349. package/fesm5/taiga-ui-addon-commerce-utils.js +0 -298
  350. package/fesm5/taiga-ui-addon-commerce-utils.js.map +0 -1
  351. package/fesm5/taiga-ui-addon-commerce-validators.js +0 -31
  352. package/fesm5/taiga-ui-addon-commerce-validators.js.map +0 -1
  353. package/fesm5/taiga-ui-addon-commerce.js +0 -12
  354. package/fesm5/taiga-ui-addon-commerce.js.map +0 -1
  355. package/interfaces/taiga-ui-addon-commerce-interfaces.metadata.json +0 -1
  356. package/pipes/taiga-ui-addon-commerce-pipes.metadata.json +0 -1
  357. package/taiga-ui-addon-commerce.metadata.json +0 -1
  358. package/tokens/taiga-ui-addon-commerce-tokens.metadata.json +0 -1
  359. package/types/taiga-ui-addon-commerce-types.metadata.json +0 -1
  360. package/utils/taiga-ui-addon-commerce-utils.metadata.json +0 -1
  361. package/validators/taiga-ui-addon-commerce-validators.metadata.json +0 -1
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "main": "../../bundles/taiga-ui-addon-commerce-components-card.umd.js",
3
- "module": "../../fesm5/taiga-ui-addon-commerce-components-card.js",
3
+ "module": "../../fesm2015/taiga-ui-addon-commerce-components-card.js",
4
4
  "es2015": "../../fesm2015/taiga-ui-addon-commerce-components-card.js",
5
- "esm5": "../../esm5/components/card/taiga-ui-addon-commerce-components-card.js",
6
5
  "esm2015": "../../esm2015/components/card/taiga-ui-addon-commerce-components-card.js",
7
- "fesm5": "../../fesm5/taiga-ui-addon-commerce-components-card.js",
8
6
  "fesm2015": "../../fesm2015/taiga-ui-addon-commerce-components-card.js",
9
7
  "typings": "taiga-ui-addon-commerce-components-card.d.ts",
10
- "metadata": "taiga-ui-addon-commerce-components-card.metadata.json",
11
8
  "sideEffects": false,
12
9
  "name": "@taiga-ui/addon-commerce/components/card"
13
- }
10
+ }
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
+ /// <amd-module name="@taiga-ui/addon-commerce/components/card" />
4
5
  export * from './index';
@@ -1,9 +1,10 @@
1
1
  import { ChangeDetectorRef, EventEmitter } from '@angular/core';
2
2
  import { NgControl } from '@angular/forms';
3
- import { TuiPaymentSystem } from '@taiga-ui/addon-commerce/enums';
3
+ import { TuiPaymentSystem } from '@taiga-ui/addon-commerce/types';
4
4
  import { AbstractTuiControl, TuiCreditCardAutofillName, TuiFocusableElementAccessor } from '@taiga-ui/cdk';
5
5
  import { TuiTextfieldExampleTextDirective } from '@taiga-ui/core';
6
6
  import { TextMaskConfig } from 'angular2-text-mask';
7
+ import * as i0 from "@angular/core";
7
8
  export declare function cardTextfieldControllerFactory(directive: TuiTextfieldExampleTextDirective | null): TuiTextfieldExampleTextDirective;
8
9
  export declare class TuiInputCardComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor {
9
10
  private readonly input?;
@@ -21,7 +22,8 @@ export declare class TuiInputCardComponent extends AbstractTuiControl<string> im
21
22
  get formattedCard(): string;
22
23
  onValueChange(value: string): void;
23
24
  onFocused(focused: boolean): void;
24
- onHovered(hovered: boolean): void;
25
25
  writeValue(value: string | null): void;
26
26
  protected getFallbackValue(): string;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputCardComponent, [{ optional: true; self: true; }, null]>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputCardComponent, "tui-input-card", never, { "cardSrc": "cardSrc"; "autocompleteEnabled": "autocompleteEnabled"; }, { "binChange": "binChange"; }, never, ["*"]>;
27
29
  }
@@ -1,2 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./input-card.component";
3
+ import * as i2 from "angular2-text-mask";
4
+ import * as i3 from "@taiga-ui/core";
5
+ import * as i4 from "@taiga-ui/kit";
1
6
  export declare class TuiInputCardModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputCardModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputCardModule, [typeof i1.TuiInputCardComponent], [typeof i2.TextMaskModule, typeof i3.TuiPrimitiveTextfieldModule, typeof i3.TuiTextfieldControllerModule, typeof i4.TuiValueAccessorModule], [typeof i1.TuiInputCardComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputCardModule>;
2
10
  }
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "main": "../../bundles/taiga-ui-addon-commerce-components-input-card.umd.js",
3
- "module": "../../fesm5/taiga-ui-addon-commerce-components-input-card.js",
3
+ "module": "../../fesm2015/taiga-ui-addon-commerce-components-input-card.js",
4
4
  "es2015": "../../fesm2015/taiga-ui-addon-commerce-components-input-card.js",
5
- "esm5": "../../esm5/components/input-card/taiga-ui-addon-commerce-components-input-card.js",
6
5
  "esm2015": "../../esm2015/components/input-card/taiga-ui-addon-commerce-components-input-card.js",
7
- "fesm5": "../../fesm5/taiga-ui-addon-commerce-components-input-card.js",
8
6
  "fesm2015": "../../fesm2015/taiga-ui-addon-commerce-components-input-card.js",
9
7
  "typings": "taiga-ui-addon-commerce-components-input-card.d.ts",
10
- "metadata": "taiga-ui-addon-commerce-components-input-card.metadata.json",
11
8
  "sideEffects": false,
12
9
  "name": "@taiga-ui/addon-commerce/components/input-card"
13
- }
10
+ }
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
+ /// <amd-module name="@taiga-ui/addon-commerce/components/input-card" />
4
5
  export * from './index';
@@ -8,6 +8,7 @@ import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
8
8
  import { TextMaskConfig } from 'angular2-text-mask';
9
9
  import { Observable } from 'rxjs';
10
10
  import { TuiCardGroupedTexts } from './input-card-grouped.providers';
11
+ import * as i0 from "@angular/core";
11
12
  export declare class TuiInputCardGroupedComponent extends AbstractTuiNullableControl<TuiCard> implements TuiFocusableElementAccessor, TuiDataListHost<Partial<TuiCard>> {
12
13
  private readonly elementRef;
13
14
  readonly mode$: Observable<TuiBrightness | null>;
@@ -18,7 +19,7 @@ export declare class TuiInputCardGroupedComponent extends AbstractTuiNullableCon
18
19
  private readonly inputCVC?;
19
20
  private expireInert;
20
21
  autocompleteEnabled: boolean;
21
- cardSrc: PolymorpheusContent | null;
22
+ cardSrc: PolymorpheusContent;
22
23
  exampleText: string;
23
24
  cardValidator: TuiBooleanHandler<string>;
24
25
  set codeLength(length: TuiCodeCVCLength);
@@ -40,7 +41,7 @@ export declare class TuiInputCardGroupedComponent extends AbstractTuiNullableCon
40
41
  get hasCleaner(): boolean;
41
42
  get hasDropdown(): boolean;
42
43
  get defaultIcon(): string | null;
43
- get icon(): PolymorpheusContent | null;
44
+ get icon(): PolymorpheusContent;
44
45
  get bin(): string | null;
45
46
  get placeholderRaised(): boolean;
46
47
  get hasCardNumber(): boolean;
@@ -65,7 +66,6 @@ export declare class TuiInputCardGroupedComponent extends AbstractTuiNullableCon
65
66
  onExpireChange(expire: string): void;
66
67
  onCVCChange(cvc: string): void;
67
68
  onActiveZoneChange(active: boolean): void;
68
- onHovered(hovered: boolean): void;
69
69
  onMouseDown(event: MouseEvent): void;
70
70
  onScroll({ currentTarget }: Event): void;
71
71
  clear(): void;
@@ -81,4 +81,6 @@ export declare class TuiInputCardGroupedComponent extends AbstractTuiNullableCon
81
81
  private updateBin;
82
82
  private updateProperty;
83
83
  private focusInput;
84
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputCardGroupedComponent, [{ optional: true; self: true; }, null, null, null, null, null]>;
85
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputCardGroupedComponent, "tui-input-card-grouped", never, { "autocompleteEnabled": "autocompleteEnabled"; "cardSrc": "cardSrc"; "exampleText": "exampleText"; "cardValidator": "cardValidator"; "codeLength": "codeLength"; }, { "autofilledChange": "autofilledChange"; "binChange": "binChange"; }, ["dropdown", "datalist"], never>;
84
86
  }
@@ -1,2 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./input-card-grouped.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "angular2-text-mask";
6
+ import * as i5 from "@taiga-ui/cdk";
7
+ import * as i6 from "@taiga-ui/core";
8
+ import * as i7 from "@tinkoff/ng-polymorpheus";
9
+ import * as i8 from "@taiga-ui/addon-commerce/pipes";
1
10
  export declare class TuiInputCardGroupedModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputCardGroupedModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputCardGroupedModule, [typeof i1.TuiInputCardGroupedComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.TextMaskModule, typeof i5.TuiFocusableModule, typeof i6.TuiSvgModule, typeof i6.TuiWrapperModule, typeof i5.TuiActiveZoneModule, typeof i5.TuiInputModeModule, typeof i5.TuiMapperPipeModule, typeof i6.TuiDropdownModule, typeof i5.TuiPreventDefaultModule, typeof i7.PolymorpheusModule, typeof i5.TuiLetModule, typeof i8.TuiFormatCardModule], [typeof i1.TuiInputCardGroupedComponent]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputCardGroupedModule>;
2
14
  }
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "main": "../../bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js",
3
- "module": "../../fesm5/taiga-ui-addon-commerce-components-input-card-grouped.js",
3
+ "module": "../../fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js",
4
4
  "es2015": "../../fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js",
5
- "esm5": "../../esm5/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.js",
6
5
  "esm2015": "../../esm2015/components/input-card-grouped/taiga-ui-addon-commerce-components-input-card-grouped.js",
7
- "fesm5": "../../fesm5/taiga-ui-addon-commerce-components-input-card-grouped.js",
8
6
  "fesm2015": "../../fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js",
9
7
  "typings": "taiga-ui-addon-commerce-components-input-card-grouped.d.ts",
10
- "metadata": "taiga-ui-addon-commerce-components-input-card-grouped.metadata.json",
11
8
  "sideEffects": false,
12
9
  "name": "@taiga-ui/addon-commerce/components/input-card-grouped"
13
- }
10
+ }
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
+ /// <amd-module name="@taiga-ui/addon-commerce/components/input-card-grouped" />
4
5
  export * from './index';
@@ -4,6 +4,7 @@ import { TuiCodeCVCLength } from '@taiga-ui/addon-commerce/types';
4
4
  import { AbstractTuiControl, TuiCreditCardAutofillName, TuiFocusableElementAccessor, TuiNativeFocusableElement } from '@taiga-ui/cdk';
5
5
  import { TuiTextfieldLabelOutsideDirective } from '@taiga-ui/core';
6
6
  import { TextMaskConfig } from 'angular2-text-mask';
7
+ import * as i0 from "@angular/core";
7
8
  export declare class TuiInputCVCComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor {
8
9
  private readonly textfieldLabelOutside;
9
10
  private readonly input?;
@@ -17,8 +18,9 @@ export declare class TuiInputCVCComponent extends AbstractTuiControl<string> imp
17
18
  get autocomplete(): TuiCreditCardAutofillName;
18
19
  get computedExampleText(): string;
19
20
  onFocused(focused: boolean): void;
20
- onHovered(hovered: boolean): void;
21
21
  onCopy(): void;
22
22
  onValueChange(value: string): void;
23
23
  protected getFallbackValue(): string;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputCVCComponent, [{ optional: true; self: true; }, null, null]>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputCVCComponent, "tui-input-cvc", never, { "autocompleteEnabled": "autocompleteEnabled"; "length": "length"; }, {}, never, ["*"]>;
24
26
  }
@@ -1,2 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./input-cvc.component";
3
+ import * as i2 from "angular2-text-mask";
4
+ import * as i3 from "@taiga-ui/core";
5
+ import * as i4 from "@taiga-ui/kit";
1
6
  export declare class TuiInputCVCModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputCVCModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputCVCModule, [typeof i1.TuiInputCVCComponent], [typeof i2.TextMaskModule, typeof i3.TuiPrimitiveTextfieldModule, typeof i3.TuiTextfieldControllerModule, typeof i3.TuiHintControllerModule, typeof i4.TuiValueAccessorModule], [typeof i1.TuiInputCVCComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputCVCModule>;
2
10
  }
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "main": "../../bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js",
3
- "module": "../../fesm5/taiga-ui-addon-commerce-components-input-cvc.js",
3
+ "module": "../../fesm2015/taiga-ui-addon-commerce-components-input-cvc.js",
4
4
  "es2015": "../../fesm2015/taiga-ui-addon-commerce-components-input-cvc.js",
5
- "esm5": "../../esm5/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.js",
6
5
  "esm2015": "../../esm2015/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.js",
7
- "fesm5": "../../fesm5/taiga-ui-addon-commerce-components-input-cvc.js",
8
6
  "fesm2015": "../../fesm2015/taiga-ui-addon-commerce-components-input-cvc.js",
9
7
  "typings": "taiga-ui-addon-commerce-components-input-cvc.d.ts",
10
- "metadata": "taiga-ui-addon-commerce-components-input-cvc.metadata.json",
11
8
  "sideEffects": false,
12
9
  "name": "@taiga-ui/addon-commerce/components/input-cvc"
13
- }
10
+ }
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
+ /// <amd-module name="@taiga-ui/addon-commerce/components/input-cvc" />
4
5
  export * from './index';
@@ -2,6 +2,7 @@ import { ChangeDetectorRef } from '@angular/core';
2
2
  import { NgControl } from '@angular/forms';
3
3
  import { AbstractTuiControl, TuiCreditCardAutofillName, TuiFocusableElementAccessor } from '@taiga-ui/cdk';
4
4
  import { TextMaskConfig } from 'angular2-text-mask';
5
+ import * as i0 from "@angular/core";
5
6
  export declare class TuiInputExpireComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor {
6
7
  private readonly input?;
7
8
  autocompleteEnabled: boolean;
@@ -12,6 +13,7 @@ export declare class TuiInputExpireComponent extends AbstractTuiControl<string>
12
13
  get autocomplete(): TuiCreditCardAutofillName;
13
14
  onValueChange(value: string): void;
14
15
  onFocused(focused: boolean): void;
15
- onHovered(hovered: boolean): void;
16
16
  protected getFallbackValue(): string;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputExpireComponent, [{ optional: true; self: true; }, null]>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputExpireComponent, "tui-input-expire", never, { "autocompleteEnabled": "autocompleteEnabled"; }, {}, never, ["*"]>;
17
19
  }
@@ -1,2 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./input-expire.component";
3
+ import * as i2 from "angular2-text-mask";
4
+ import * as i3 from "@taiga-ui/core";
5
+ import * as i4 from "@taiga-ui/kit";
1
6
  export declare class TuiInputExpireModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputExpireModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputExpireModule, [typeof i1.TuiInputExpireComponent], [typeof i2.TextMaskModule, typeof i3.TuiPrimitiveTextfieldModule, typeof i3.TuiTextfieldControllerModule, typeof i4.TuiValueAccessorModule], [typeof i1.TuiInputExpireComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputExpireModule>;
2
10
  }
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "main": "../../bundles/taiga-ui-addon-commerce-components-input-expire.umd.js",
3
- "module": "../../fesm5/taiga-ui-addon-commerce-components-input-expire.js",
3
+ "module": "../../fesm2015/taiga-ui-addon-commerce-components-input-expire.js",
4
4
  "es2015": "../../fesm2015/taiga-ui-addon-commerce-components-input-expire.js",
5
- "esm5": "../../esm5/components/input-expire/taiga-ui-addon-commerce-components-input-expire.js",
6
5
  "esm2015": "../../esm2015/components/input-expire/taiga-ui-addon-commerce-components-input-expire.js",
7
- "fesm5": "../../fesm5/taiga-ui-addon-commerce-components-input-expire.js",
8
6
  "fesm2015": "../../fesm2015/taiga-ui-addon-commerce-components-input-expire.js",
9
7
  "typings": "taiga-ui-addon-commerce-components-input-expire.d.ts",
10
- "metadata": "taiga-ui-addon-commerce-components-input-expire.metadata.json",
11
8
  "sideEffects": false,
12
9
  "name": "@taiga-ui/addon-commerce/components/input-expire"
13
- }
10
+ }
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
+ /// <amd-module name="@taiga-ui/addon-commerce/components/input-expire" />
4
5
  export * from './index';
@@ -1,10 +1,10 @@
1
1
  import { InjectionToken, ValueProvider } from '@angular/core';
2
- import { TuiCurrencyVariants, TuiMoneySignT } from '@taiga-ui/addon-commerce/types';
3
- import { TuiDecimalT } from '@taiga-ui/core';
2
+ import { TuiCurrencyVariants, TuiMoneySign } from '@taiga-ui/addon-commerce/types';
3
+ import { TuiDecimal } from '@taiga-ui/core';
4
4
  export interface TuiMoneyOptions {
5
- readonly decimal: TuiDecimalT;
5
+ readonly decimal: TuiDecimal;
6
6
  readonly currency: TuiCurrencyVariants;
7
- readonly sign: TuiMoneySignT;
7
+ readonly sign: TuiMoneySign;
8
8
  readonly colored: boolean;
9
9
  readonly precision: number;
10
10
  readonly singleColor: boolean;
@@ -1,12 +1,13 @@
1
- import { TuiCurrencyVariants, TuiMoneySignSymbol, TuiMoneySignT } from '@taiga-ui/addon-commerce/types';
2
- import { TuiDecimalT } from '@taiga-ui/core';
1
+ import { TuiCurrencyVariants, TuiMoneySign, TuiMoneySignSymbol } from '@taiga-ui/addon-commerce/types';
2
+ import { TuiDecimal } from '@taiga-ui/core';
3
3
  import { TuiMoneyOptions } from './money-options';
4
+ import * as i0 from "@angular/core";
4
5
  export declare class TuiMoneyComponent {
5
6
  private readonly options;
6
7
  value: number;
7
- decimal: TuiDecimalT;
8
+ decimal: TuiDecimal;
8
9
  currency: TuiCurrencyVariants;
9
- sign: TuiMoneySignT;
10
+ sign: TuiMoneySign;
10
11
  colored: boolean;
11
12
  precision: number;
12
13
  singleColor: boolean;
@@ -15,4 +16,6 @@ export declare class TuiMoneyComponent {
15
16
  get green(): boolean;
16
17
  get inheritColor(): boolean;
17
18
  constructor(options: TuiMoneyOptions);
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiMoneyComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiMoneyComponent, "tui-money", never, { "value": "value"; "decimal": "decimal"; "currency": "currency"; "sign": "sign"; "colored": "colored"; "precision": "precision"; "singleColor": "singleColor"; }, {}, never, never>;
18
21
  }
@@ -1,2 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./money.component";
3
+ import * as i2 from "./pipes/fraction-part.pipe";
4
+ import * as i3 from "./pipes/integer-part.pipe";
5
+ import * as i4 from "./pipes/sign-symbol.pipe";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "@taiga-ui/addon-commerce/pipes";
1
8
  export declare class TuiMoneyModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiMoneyModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiMoneyModule, [typeof i1.TuiMoneyComponent, typeof i2.TuiFractionPartPipe, typeof i3.TuiIntegerPartPipe, typeof i4.TuiSignSymbolPipe], [typeof i5.CommonModule, typeof i6.TuiCurrencyPipeModule], [typeof i1.TuiMoneyComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<TuiMoneyModule>;
2
12
  }
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "main": "../../bundles/taiga-ui-addon-commerce-components-money.umd.js",
3
- "module": "../../fesm5/taiga-ui-addon-commerce-components-money.js",
3
+ "module": "../../fesm2015/taiga-ui-addon-commerce-components-money.js",
4
4
  "es2015": "../../fesm2015/taiga-ui-addon-commerce-components-money.js",
5
- "esm5": "../../esm5/components/money/taiga-ui-addon-commerce-components-money.js",
6
5
  "esm2015": "../../esm2015/components/money/taiga-ui-addon-commerce-components-money.js",
7
- "fesm5": "../../fesm5/taiga-ui-addon-commerce-components-money.js",
8
6
  "fesm2015": "../../fesm2015/taiga-ui-addon-commerce-components-money.js",
9
7
  "typings": "taiga-ui-addon-commerce-components-money.d.ts",
10
- "metadata": "taiga-ui-addon-commerce-components-money.metadata.json",
11
8
  "sideEffects": false,
12
9
  "name": "@taiga-ui/addon-commerce/components/money"
13
- }
10
+ }
@@ -1,7 +1,10 @@
1
1
  import { PipeTransform } from '@angular/core';
2
- import { TuiDecimalT, TuiNumberFormatSettings } from '@taiga-ui/core';
2
+ import { TuiDecimal, TuiNumberFormatSettings } from '@taiga-ui/core';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class TuiFractionPartPipe implements PipeTransform {
4
5
  private readonly numberFormat;
5
6
  constructor(numberFormat: TuiNumberFormatSettings);
6
- transform(value: number, decimal: TuiDecimalT, precision: number): string;
7
+ transform(value: number, decimal: TuiDecimal, precision: number): string;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiFractionPartPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiFractionPartPipe, "tuiFractionPart">;
7
10
  }
@@ -1,7 +1,10 @@
1
1
  import { PipeTransform } from '@angular/core';
2
2
  import { TuiNumberFormatSettings } from '@taiga-ui/core';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class TuiIntegerPartPipe implements PipeTransform {
4
5
  private readonly numberFormat;
5
6
  constructor(numberFormat: TuiNumberFormatSettings);
6
7
  transform(value: number, precision: number): string;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiIntegerPartPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiIntegerPartPipe, "tuiIntegerPart">;
7
10
  }
@@ -1,5 +1,8 @@
1
1
  import { PipeTransform } from '@angular/core';
2
- import { TuiMoneySignSymbol, TuiMoneySignT } from '@taiga-ui/addon-commerce/types';
2
+ import { TuiMoneySign, TuiMoneySignSymbol } from '@taiga-ui/addon-commerce/types';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class TuiSignSymbolPipe implements PipeTransform {
4
- transform(value: number, sign: TuiMoneySignT): TuiMoneySignSymbol;
5
+ transform(value: number, sign: TuiMoneySign): TuiMoneySignSymbol;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiSignSymbolPipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<TuiSignSymbolPipe, "tuiSignSymbol">;
5
8
  }
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
+ /// <amd-module name="@taiga-ui/addon-commerce/components/money" />
4
5
  export * from './index';
@@ -1,7 +1,7 @@
1
- import { TuiDecimalT, TuiNumberFormatSettings } from '@taiga-ui/core';
1
+ import { TuiDecimal, TuiNumberFormatSettings } from '@taiga-ui/core';
2
2
  export declare function tuiFormatFractionPart(options: {
3
3
  value: number;
4
- decimal: TuiDecimalT;
4
+ decimal: TuiDecimal;
5
5
  precision: number;
6
6
  numberFormat: TuiNumberFormatSettings;
7
7
  }): string;
@@ -1,2 +1,2 @@
1
- import { TuiMoneySignSymbol, TuiMoneySignT } from '@taiga-ui/addon-commerce/types';
2
- export declare function tuiFormatSignSymbol(value: number, sign: TuiMoneySignT): TuiMoneySignSymbol;
1
+ import { TuiMoneySign, TuiMoneySignSymbol } from '@taiga-ui/addon-commerce/types';
2
+ export declare function tuiFormatSignSymbol(value: number, sign: TuiMoneySign): TuiMoneySignSymbol;
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "main": "../bundles/taiga-ui-addon-commerce-components.umd.js",
3
- "module": "../fesm5/taiga-ui-addon-commerce-components.js",
3
+ "module": "../fesm2015/taiga-ui-addon-commerce-components.js",
4
4
  "es2015": "../fesm2015/taiga-ui-addon-commerce-components.js",
5
- "esm5": "../esm5/components/taiga-ui-addon-commerce-components.js",
6
5
  "esm2015": "../esm2015/components/taiga-ui-addon-commerce-components.js",
7
- "fesm5": "../fesm5/taiga-ui-addon-commerce-components.js",
8
6
  "fesm2015": "../fesm2015/taiga-ui-addon-commerce-components.js",
9
7
  "typings": "taiga-ui-addon-commerce-components.d.ts",
10
- "metadata": "taiga-ui-addon-commerce-components.metadata.json",
11
8
  "sideEffects": false,
12
9
  "name": "@taiga-ui/addon-commerce/components"
13
- }
10
+ }
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
+ /// <amd-module name="@taiga-ui/addon-commerce/components" />
4
5
  export * from './index';
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "main": "../bundles/taiga-ui-addon-commerce-constants.umd.js",
3
- "module": "../fesm5/taiga-ui-addon-commerce-constants.js",
3
+ "module": "../fesm2015/taiga-ui-addon-commerce-constants.js",
4
4
  "es2015": "../fesm2015/taiga-ui-addon-commerce-constants.js",
5
- "esm5": "../esm5/constants/taiga-ui-addon-commerce-constants.js",
6
5
  "esm2015": "../esm2015/constants/taiga-ui-addon-commerce-constants.js",
7
- "fesm5": "../fesm5/taiga-ui-addon-commerce-constants.js",
8
6
  "fesm2015": "../fesm2015/taiga-ui-addon-commerce-constants.js",
9
7
  "typings": "taiga-ui-addon-commerce-constants.d.ts",
10
- "metadata": "taiga-ui-addon-commerce-constants.metadata.json",
11
8
  "sideEffects": false,
12
9
  "name": "@taiga-ui/addon-commerce/constants"
13
- }
10
+ }
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
+ /// <amd-module name="@taiga-ui/addon-commerce/constants" />
4
5
  export * from './index';
@@ -135,11 +135,6 @@ export declare const enum TuiCurrencyCode {
135
135
  * @description Countries and territories: Hong Kong
136
136
  */
137
137
  HongKongDollar = "344",
138
- /**
139
- * @deprecated
140
- * TODO: 3.0 replace with {@link HongKongDollar}
141
- */
142
- HongKong_dollar = "344",
143
138
  /**
144
139
  * Canadian dollar
145
140
  *
package/enums/index.d.ts CHANGED
@@ -1,4 +1,2 @@
1
1
  export * from './currency';
2
2
  export * from './currency-code';
3
- export * from './money-sign';
4
- export * from './payment-system';
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "main": "../bundles/taiga-ui-addon-commerce-enums.umd.js",
3
- "module": "../fesm5/taiga-ui-addon-commerce-enums.js",
3
+ "module": "../fesm2015/taiga-ui-addon-commerce-enums.js",
4
4
  "es2015": "../fesm2015/taiga-ui-addon-commerce-enums.js",
5
- "esm5": "../esm5/enums/taiga-ui-addon-commerce-enums.js",
6
5
  "esm2015": "../esm2015/enums/taiga-ui-addon-commerce-enums.js",
7
- "fesm5": "../fesm5/taiga-ui-addon-commerce-enums.js",
8
6
  "fesm2015": "../fesm2015/taiga-ui-addon-commerce-enums.js",
9
7
  "typings": "taiga-ui-addon-commerce-enums.d.ts",
10
- "metadata": "taiga-ui-addon-commerce-enums.metadata.json",
11
8
  "sideEffects": false,
12
9
  "name": "@taiga-ui/addon-commerce/enums"
13
- }
10
+ }
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
+ /// <amd-module name="@taiga-ui/addon-commerce/enums" />
4
5
  export * from './index';