@taiga-ui/kit 3.33.1 → 3.34.0-dev.main-23baa20

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 (333) hide show
  1. package/bundles/taiga-ui-kit-components-accordion.umd.js +0 -30
  2. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  3. package/bundles/taiga-ui-kit-components-action.umd.js +0 -3
  4. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  5. package/bundles/taiga-ui-kit-components-avatar.umd.js +0 -18
  6. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  7. package/bundles/taiga-ui-kit-components-badge.umd.js +0 -327
  8. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-badged-content.umd.js +0 -330
  10. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  11. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +29 -10
  12. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  13. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +0 -15
  14. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  15. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +0 -27
  16. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  17. package/bundles/taiga-ui-kit-components-carousel.umd.js +0 -9
  18. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
  19. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +0 -9
  20. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  21. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +0 -3
  22. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  23. package/bundles/taiga-ui-kit-components-checkbox.umd.js +0 -3
  24. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  25. package/bundles/taiga-ui-kit-components-combo-box.umd.js +0 -18
  26. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  27. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +5 -20
  28. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  29. package/bundles/taiga-ui-kit-components-files.umd.js +0 -18
  30. package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
  31. package/bundles/taiga-ui-kit-components-filter.umd.js +0 -15
  32. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-input-copy.umd.js +0 -6
  34. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-input-count.umd.js +6 -42
  36. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  37. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +0 -24
  38. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +0 -15
  40. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  41. package/bundles/taiga-ui-kit-components-input-date.umd.js +0 -18
  42. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  43. package/bundles/taiga-ui-kit-components-input-files.umd.js +0 -12
  44. package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
  45. package/bundles/taiga-ui-kit-components-input-inline.umd.js +0 -3
  46. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  47. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +0 -12
  48. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  49. package/bundles/taiga-ui-kit-components-input-month.umd.js +0 -12
  50. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  51. package/bundles/taiga-ui-kit-components-input-number.umd.js +67 -112
  52. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  53. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +0 -3
  54. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  55. package/bundles/taiga-ui-kit-components-input-phone.umd.js +0 -12
  56. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  57. package/bundles/taiga-ui-kit-components-input-range.umd.js +0 -21
  58. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  59. package/bundles/taiga-ui-kit-components-input-slider.umd.js +0 -24
  60. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  61. package/bundles/taiga-ui-kit-components-input-tag.umd.js +0 -33
  62. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  63. package/bundles/taiga-ui-kit-components-input-time.umd.js +0 -18
  64. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  65. package/bundles/taiga-ui-kit-components-input-year.umd.js +0 -9
  66. package/bundles/taiga-ui-kit-components-input-year.umd.js.map +1 -1
  67. package/bundles/taiga-ui-kit-components-island.umd.js +4 -334
  68. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  69. package/bundles/taiga-ui-kit-components-items-with-more.umd.js +0 -6
  70. package/bundles/taiga-ui-kit-components-items-with-more.umd.js.map +1 -1
  71. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +0 -6
  72. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  73. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +0 -327
  74. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  75. package/bundles/taiga-ui-kit-components-multi-select.umd.js +0 -30
  76. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  77. package/bundles/taiga-ui-kit-components-pagination.umd.js +0 -21
  78. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  79. package/bundles/taiga-ui-kit-components-progress.umd.js +28 -52
  80. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  81. package/bundles/taiga-ui-kit-components-push.umd.js +42 -51
  82. package/bundles/taiga-ui-kit-components-push.umd.js.map +1 -1
  83. package/bundles/taiga-ui-kit-components-radio-block.umd.js +0 -15
  84. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  85. package/bundles/taiga-ui-kit-components-radio-group.umd.js +4 -325
  86. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  87. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +0 -9
  88. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  89. package/bundles/taiga-ui-kit-components-radio-list.umd.js +0 -15
  90. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  91. package/bundles/taiga-ui-kit-components-radio.umd.js +0 -12
  92. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  93. package/bundles/taiga-ui-kit-components-range.umd.js +0 -18
  94. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  95. package/bundles/taiga-ui-kit-components-rating.umd.js +0 -12
  96. package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
  97. package/bundles/taiga-ui-kit-components-select.umd.js +0 -9
  98. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  99. package/bundles/taiga-ui-kit-components-slider.umd.js +0 -9
  100. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  101. package/bundles/taiga-ui-kit-components-stepper.umd.js +0 -9
  102. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  103. package/bundles/taiga-ui-kit-components-tabs.umd.js +64 -85
  104. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  105. package/bundles/taiga-ui-kit-components-tag.umd.js +5 -356
  106. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  107. package/bundles/taiga-ui-kit-components-text-area.umd.js +0 -9
  108. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  109. package/bundles/taiga-ui-kit-components-tiles.umd.js +0 -12
  110. package/bundles/taiga-ui-kit-components-tiles.umd.js.map +1 -1
  111. package/bundles/taiga-ui-kit-components-toggle.umd.js +0 -12
  112. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  113. package/bundles/taiga-ui-kit-components-tree.umd.js +0 -330
  114. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  115. package/bundles/taiga-ui-kit-directives-highlight.umd.js +0 -321
  116. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  117. package/bundles/taiga-ui-kit-directives-mask.umd.js +5 -5
  118. package/bundles/taiga-ui-kit-directives-mask.umd.js.map +1 -1
  119. package/bundles/taiga-ui-kit-directives-project-class.umd.js +4 -325
  120. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  121. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +0 -339
  122. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  123. package/components/breadcrumbs/breadcrumbs.component.d.ts +6 -3
  124. package/components/breadcrumbs/breadcrumbs.options.d.ts +10 -0
  125. package/components/breadcrumbs/index.d.ts +1 -0
  126. package/components/input-count/input-count.component.d.ts +0 -3
  127. package/components/input-number/input-number.component.d.ts +7 -6
  128. package/components/input-number/input-number.module.d.ts +4 -4
  129. package/directives/mask/legacy-mask.d.ts +5 -5
  130. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +2 -27
  131. package/esm2015/components/accordion/accordion.component.js +2 -9
  132. package/esm2015/components/action/action.component.js +2 -6
  133. package/esm2015/components/avatar/avatar.component.js +2 -20
  134. package/esm2015/components/badge/badge.component.js +2 -12
  135. package/esm2015/components/badged-content/badged-content.component.js +2 -15
  136. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +15 -14
  137. package/esm2015/components/breadcrumbs/breadcrumbs.options.js +14 -0
  138. package/esm2015/components/breadcrumbs/index.js +2 -1
  139. package/esm2015/components/calendar-month/calendar-month.component.js +2 -17
  140. package/esm2015/components/calendar-range/calendar-range.component.js +2 -29
  141. package/esm2015/components/carousel/carousel.component.js +2 -11
  142. package/esm2015/components/checkbox/checkbox.component.js +2 -6
  143. package/esm2015/components/checkbox-block/checkbox-block.component.js +2 -12
  144. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +2 -6
  145. package/esm2015/components/combo-box/combo-box-strict.directive.js +1 -6
  146. package/esm2015/components/combo-box/combo-box.component.js +2 -18
  147. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +1 -9
  148. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +1 -6
  149. package/esm2015/components/data-list-wrapper/data-list-wrapper.js +2 -9
  150. package/esm2015/components/files/file/file.component.js +2 -17
  151. package/esm2015/components/files/files.component.js +2 -6
  152. package/esm2015/components/filter/filter.component.js +2 -18
  153. package/esm2015/components/input-copy/input-copy.component.js +2 -8
  154. package/esm2015/components/input-count/input-count.component.js +6 -38
  155. package/esm2015/components/input-date/input-date.component.js +2 -20
  156. package/esm2015/components/input-date-range/input-date-range.component.js +2 -26
  157. package/esm2015/components/input-date-time/input-date-time.component.js +2 -17
  158. package/esm2015/components/input-files/input-files.component.js +2 -14
  159. package/esm2015/components/input-inline/input-inline.component.js +2 -6
  160. package/esm2015/components/input-month/input-month.component.js +2 -15
  161. package/esm2015/components/input-month-range/input-month-range.component.js +2 -15
  162. package/esm2015/components/input-number/input-number.component.js +45 -90
  163. package/esm2015/components/input-number/input-number.module.js +6 -9
  164. package/esm2015/components/input-phone/input-phone.component.js +2 -14
  165. package/esm2015/components/input-phone-international/input-phone-international.component.js +2 -5
  166. package/esm2015/components/input-range/input-range.component.js +2 -23
  167. package/esm2015/components/input-slider/input-slider.component.js +2 -26
  168. package/esm2015/components/input-tag/input-tag.component.js +2 -36
  169. package/esm2015/components/input-time/input-time.component.js +2 -20
  170. package/esm2015/components/input-year/input-year.component.js +2 -11
  171. package/esm2015/components/island/island.component.js +1 -15
  172. package/esm2015/components/items-with-more/items-with-more.directive.js +2 -9
  173. package/esm2015/components/line-clamp/line-clamp.component.js +2 -9
  174. package/esm2015/components/marker-icon/marker-icon.component.js +2 -12
  175. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +2 -5
  176. package/esm2015/components/multi-select/multi-select.component.js +2 -29
  177. package/esm2015/components/pagination/pagination.component.js +2 -24
  178. package/esm2015/components/progress/progress-bar/progress-bar.component.js +1 -6
  179. package/esm2015/components/progress/progress-circle/progress-circle.component.js +2 -15
  180. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +2 -12
  181. package/esm2015/components/push/push.component.js +2 -12
  182. package/esm2015/components/radio/radio.component.js +2 -15
  183. package/esm2015/components/radio-block/radio-block.component.js +2 -18
  184. package/esm2015/components/radio-group/radio-group.component.js +1 -6
  185. package/esm2015/components/radio-labeled/radio-labeled.component.js +2 -12
  186. package/esm2015/components/radio-list/radio-list.component.js +2 -18
  187. package/esm2015/components/range/range.component.js +2 -20
  188. package/esm2015/components/rating/rating.component.js +2 -15
  189. package/esm2015/components/select/select.component.js +2 -12
  190. package/esm2015/components/slider/helpers/slider-readonly.directive.js +2 -6
  191. package/esm2015/components/slider/slider.component.js +2 -8
  192. package/esm2015/components/stepper/step/step.component.js +2 -9
  193. package/esm2015/components/stepper/stepper.component.js +2 -5
  194. package/esm2015/components/tabs/tabs/tabs.component.js +2 -5
  195. package/esm2015/components/tabs/tabs-vertical/tabs-vertical.component.js +1 -6
  196. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +2 -12
  197. package/esm2015/components/tabs/tabs.directive.js +2 -6
  198. package/esm2015/components/tabs/underline/underline.component.js +2 -6
  199. package/esm2015/components/tag/tag.component.js +1 -36
  200. package/esm2015/components/text-area/text-area.component.js +2 -12
  201. package/esm2015/components/tiles/tile.component.js +2 -9
  202. package/esm2015/components/tiles/tiles.component.js +2 -9
  203. package/esm2015/components/toggle/toggle.component.js +2 -15
  204. package/esm2015/components/tree/directives/tree-children.directive.js +2 -6
  205. package/esm2015/components/tree/directives/tree-controller.directive.js +2 -9
  206. package/esm2015/components/tree/directives/tree-item-controller.directive.js +1 -6
  207. package/esm2015/directives/highlight/highlight.directive.js +2 -6
  208. package/esm2015/directives/mask/legacy-mask.js +6 -6
  209. package/esm2015/directives/project-class/project-class.directive.js +1 -6
  210. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -24
  211. package/fesm2015/taiga-ui-kit-components-accordion.js +1 -32
  212. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  213. package/fesm2015/taiga-ui-kit-components-action.js +1 -5
  214. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  215. package/fesm2015/taiga-ui-kit-components-avatar.js +1 -19
  216. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  217. package/fesm2015/taiga-ui-kit-components-badge.js +1 -11
  218. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  219. package/fesm2015/taiga-ui-kit-components-badged-content.js +1 -14
  220. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  221. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +27 -14
  222. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  223. package/fesm2015/taiga-ui-kit-components-calendar-month.js +1 -16
  224. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  225. package/fesm2015/taiga-ui-kit-components-calendar-range.js +1 -28
  226. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  227. package/fesm2015/taiga-ui-kit-components-carousel.js +1 -10
  228. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
  229. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +1 -11
  230. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  231. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +1 -5
  232. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  233. package/fesm2015/taiga-ui-kit-components-checkbox.js +1 -5
  234. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  235. package/fesm2015/taiga-ui-kit-components-combo-box.js +1 -20
  236. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  237. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +2 -18
  238. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  239. package/fesm2015/taiga-ui-kit-components-files.js +1 -19
  240. package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
  241. package/fesm2015/taiga-ui-kit-components-filter.js +1 -17
  242. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  243. package/fesm2015/taiga-ui-kit-components-input-copy.js +1 -7
  244. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  245. package/fesm2015/taiga-ui-kit-components-input-count.js +5 -37
  246. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  247. package/fesm2015/taiga-ui-kit-components-input-date-range.js +1 -25
  248. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  249. package/fesm2015/taiga-ui-kit-components-input-date-time.js +1 -16
  250. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  251. package/fesm2015/taiga-ui-kit-components-input-date.js +1 -19
  252. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  253. package/fesm2015/taiga-ui-kit-components-input-files.js +1 -13
  254. package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
  255. package/fesm2015/taiga-ui-kit-components-input-inline.js +1 -5
  256. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  257. package/fesm2015/taiga-ui-kit-components-input-month-range.js +1 -14
  258. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  259. package/fesm2015/taiga-ui-kit-components-input-month.js +1 -14
  260. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  261. package/fesm2015/taiga-ui-kit-components-input-number.js +49 -96
  262. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  263. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +1 -4
  264. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  265. package/fesm2015/taiga-ui-kit-components-input-phone.js +1 -13
  266. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  267. package/fesm2015/taiga-ui-kit-components-input-range.js +1 -22
  268. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  269. package/fesm2015/taiga-ui-kit-components-input-slider.js +1 -25
  270. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  271. package/fesm2015/taiga-ui-kit-components-input-tag.js +1 -35
  272. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  273. package/fesm2015/taiga-ui-kit-components-input-time.js +1 -19
  274. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  275. package/fesm2015/taiga-ui-kit-components-input-year.js +1 -10
  276. package/fesm2015/taiga-ui-kit-components-input-year.js.map +1 -1
  277. package/fesm2015/taiga-ui-kit-components-island.js +0 -14
  278. package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
  279. package/fesm2015/taiga-ui-kit-components-items-with-more.js +1 -8
  280. package/fesm2015/taiga-ui-kit-components-items-with-more.js.map +1 -1
  281. package/fesm2015/taiga-ui-kit-components-line-clamp.js +1 -8
  282. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  283. package/fesm2015/taiga-ui-kit-components-marker-icon.js +1 -11
  284. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  285. package/fesm2015/taiga-ui-kit-components-multi-select.js +1 -31
  286. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  287. package/fesm2015/taiga-ui-kit-components-pagination.js +1 -23
  288. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  289. package/fesm2015/taiga-ui-kit-components-progress.js +1 -25
  290. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  291. package/fesm2015/taiga-ui-kit-components-push.js +1 -11
  292. package/fesm2015/taiga-ui-kit-components-push.js.map +1 -1
  293. package/fesm2015/taiga-ui-kit-components-radio-block.js +1 -17
  294. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  295. package/fesm2015/taiga-ui-kit-components-radio-group.js +0 -5
  296. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  297. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +1 -11
  298. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  299. package/fesm2015/taiga-ui-kit-components-radio-list.js +1 -17
  300. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
  301. package/fesm2015/taiga-ui-kit-components-radio.js +1 -14
  302. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  303. package/fesm2015/taiga-ui-kit-components-range.js +1 -19
  304. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  305. package/fesm2015/taiga-ui-kit-components-rating.js +1 -14
  306. package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
  307. package/fesm2015/taiga-ui-kit-components-select.js +1 -11
  308. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  309. package/fesm2015/taiga-ui-kit-components-slider.js +1 -10
  310. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  311. package/fesm2015/taiga-ui-kit-components-stepper.js +2 -11
  312. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  313. package/fesm2015/taiga-ui-kit-components-tabs.js +2 -23
  314. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  315. package/fesm2015/taiga-ui-kit-components-tag.js +2 -36
  316. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  317. package/fesm2015/taiga-ui-kit-components-text-area.js +1 -11
  318. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  319. package/fesm2015/taiga-ui-kit-components-tiles.js +1 -14
  320. package/fesm2015/taiga-ui-kit-components-tiles.js.map +1 -1
  321. package/fesm2015/taiga-ui-kit-components-toggle.js +1 -14
  322. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  323. package/fesm2015/taiga-ui-kit-components-tree.js +1 -14
  324. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  325. package/fesm2015/taiga-ui-kit-directives-highlight.js +1 -5
  326. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  327. package/fesm2015/taiga-ui-kit-directives-mask.js +5 -5
  328. package/fesm2015/taiga-ui-kit-directives-mask.js.map +1 -1
  329. package/fesm2015/taiga-ui-kit-directives-project-class.js +0 -5
  330. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
  331. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +1 -23
  332. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  333. package/package.json +11 -11
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@taiga-ui/cdk'), require('@taiga-ui/core'), require('@tinkoff/ng-polymorpheus'), require('@taiga-ui/kit/directives'), require('@angular/common')) :
3
- typeof define === 'function' && define.amd ? define('@taiga-ui/kit/components/input-number', ['exports', '@angular/core', '@angular/forms', '@taiga-ui/cdk', '@taiga-ui/core', '@tinkoff/ng-polymorpheus', '@taiga-ui/kit/directives', '@angular/common'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].kit = global["taiga-ui"].kit || {}, global["taiga-ui"].kit.components = global["taiga-ui"].kit.components || {}, global["taiga-ui"].kit.components["input-number"] = {}), global.ng.core, global.ng.forms, global.i5, global.i1, global.i4, global["taiga-ui"].kit.directives, global.ng.common));
5
- })(this, (function (exports, i0, i6, i5, i1, i4, i2, i3) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@maskito/kit'), require('@taiga-ui/cdk'), require('@taiga-ui/core'), require('@tinkoff/ng-polymorpheus'), require('@taiga-ui/kit/directives'), require('@maskito/angular'), require('@angular/common')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/kit/components/input-number', ['exports', '@angular/core', '@angular/forms', '@maskito/kit', '@taiga-ui/cdk', '@taiga-ui/core', '@tinkoff/ng-polymorpheus', '@taiga-ui/kit/directives', '@maskito/angular', '@angular/common'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].kit = global["taiga-ui"].kit || {}, global["taiga-ui"].kit.components = global["taiga-ui"].kit.components || {}, global["taiga-ui"].kit.components["input-number"] = {}), global.ng.core, global.ng.forms, global.kit, global.cdk, global.i1, global.i5, global["taiga-ui"].kit.directives, global.i3, global.ng.common));
5
+ })(this, (function (exports, i0, i6, kit, cdk, i1, i5, i2, i3, i4) { 'use strict';
6
6
 
7
7
  function _interopNamespace(e) {
8
8
  if (e && e.__esModule) return e;
@@ -24,11 +24,11 @@
24
24
 
25
25
  var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
26
  var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
27
- var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
28
27
  var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
29
- var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
28
+ var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
30
29
  var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
31
30
  var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
31
+ var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
32
32
 
33
33
  /*! *****************************************************************************
34
34
  Copyright (c) Microsoft Corporation.
@@ -389,20 +389,7 @@
389
389
  _this.prefix = '';
390
390
  /** @deprecated use `tuiTextfieldPostfix` from {@link TuiTextfieldControllerModule} instead */
391
391
  _this.postfix = '';
392
- _this.polymorpheusValueContent = i5.EMPTY_QUERY;
393
- _this.mask = function (allowNegative, decimal, decimalLimit, nativeFocusableElement) { return ({
394
- mask: i1.tuiCreateNumberMask({
395
- allowNegative: allowNegative,
396
- decimalLimit: decimalLimit,
397
- allowDecimal: decimal !== 'never',
398
- requireDecimal: decimal === 'always',
399
- decimalSymbol: _this.numberFormat.decimalSeparator,
400
- thousandSymbol: _this.numberFormat.thousandSeparator,
401
- autoCorrectDecimalSymbol: i1.tuiEnableAutoCorrectDecimalSymbol(_this.numberFormat),
402
- }),
403
- pipe: i1.tuiCreateAutoCorrectedNumberPipe(decimal === 'always' ? decimalLimit : 0, _this.numberFormat.decimalSeparator, _this.numberFormat.thousandSeparator, nativeFocusableElement, allowNegative, _this.isIOS),
404
- guide: false,
405
- }); };
392
+ _this.polymorpheusValueContent = cdk.EMPTY_QUERY;
406
393
  return _this;
407
394
  }
408
395
  Object.defineProperty(TuiInputNumberComponent.prototype, "nativeFocusableElement", {
@@ -452,17 +439,14 @@
452
439
  });
453
440
  Object.defineProperty(TuiInputNumberComponent.prototype, "formattedValue", {
454
441
  get: function () {
455
- return this.getFormattedValue(this.value || 0);
442
+ return this.value !== null ? this.getFormattedValue(this.value || 0) : '';
456
443
  },
457
444
  enumerable: false,
458
445
  configurable: true
459
446
  });
460
447
  Object.defineProperty(TuiInputNumberComponent.prototype, "computedValue", {
461
448
  get: function () {
462
- if (this.focused) {
463
- return this.nativeValue;
464
- }
465
- return this.value === null ? '' : this.formattedValue;
449
+ return this.focused ? this.nativeValue : this.formattedValue;
466
450
  },
467
451
  enumerable: false,
468
452
  configurable: true
@@ -481,55 +465,40 @@
481
465
  enumerable: false,
482
466
  configurable: true
483
467
  });
468
+ Object.defineProperty(TuiInputNumberComponent.prototype, "mask", {
469
+ get: function () {
470
+ return this.calculateMask(this.precision, this.decimal, this.numberFormat.decimalSeparator, this.numberFormat.thousandSeparator, this.min, this.max);
471
+ },
472
+ enumerable: false,
473
+ configurable: true
474
+ });
484
475
  TuiInputNumberComponent.prototype.onArrow = function (step) {
485
476
  if (!step) {
486
477
  return;
487
478
  }
488
- this.value = i5.tuiClamp((this.value || 0) + step, this.min, this.max);
479
+ this.value = cdk.tuiClamp((this.value || 0) + step, this.min, this.max);
489
480
  this.nativeValue = this.formattedValue;
490
481
  };
491
- // TODO: Review if it's still necessary with maskito
492
- TuiInputNumberComponent.prototype.onZero = function (event) {
493
- var decimal = this.nativeValue.split(this.numberFormat.decimalSeparator)[1] || '';
494
- var nativeFocusableElement = this.nativeFocusableElement;
495
- if (decimal.length < this.precision ||
496
- !nativeFocusableElement ||
497
- !nativeFocusableElement.selectionStart ||
498
- this.nativeValue[nativeFocusableElement.selectionStart] !== '0') {
499
- return;
500
- }
501
- event.preventDefault();
502
- nativeFocusableElement.selectionStart++;
503
- };
504
- TuiInputNumberComponent.prototype.onValueChange = function (value) {
482
+ TuiInputNumberComponent.prototype.onValueChange = function (nativeValue) {
483
+ var parsedValue = kit.maskitoParseNumber(nativeValue, this.numberFormat.decimalSeparator);
505
484
  this.unfinishedValue = null;
506
- if (i1.tuiMaskedMoneyValueIsEmpty(value)) {
485
+ if (Number.isNaN(parsedValue)) {
507
486
  this.value = null;
508
487
  return;
509
488
  }
510
489
  if (this.isNativeValueNotFinished) {
511
- this.unfinishedValue = value;
490
+ this.unfinishedValue = nativeValue;
512
491
  return;
513
492
  }
514
- var capped = this.absoluteCapInputValue(value);
515
- if (capped === null || Number.isNaN(capped)) {
493
+ if (parsedValue < this.min || parsedValue > this.max) {
516
494
  return;
517
495
  }
518
- this.value = capped;
519
- if (capped !==
520
- i1.tuiMaskedNumberStringToNumber(value, this.numberFormat.decimalSeparator, this.numberFormat.thousandSeparator)) {
521
- this.nativeValue = this.formattedValue;
522
- }
496
+ this.value = parsedValue;
523
497
  };
498
+ // TODO: delete this method after fix: https://github.com/Tinkoff/maskito/issues/330
524
499
  TuiInputNumberComponent.prototype.onKeyDown = function (event) {
525
- if (!i1.TUI_DECIMAL_SYMBOLS.includes(event.key)) {
526
- return;
527
- }
528
- if (this.decimal === 'never') {
529
- event.preventDefault();
530
- return;
531
- }
532
- if (this.nativeValue.includes(this.numberFormat.decimalSeparator)) {
500
+ if (i1.TUI_DECIMAL_SYMBOLS.includes(event.key) &&
501
+ this.nativeValue.includes(this.numberFormat.decimalSeparator)) {
533
502
  event.preventDefault();
534
503
  this.setCaretAfterComma();
535
504
  }
@@ -540,14 +509,14 @@
540
509
  return;
541
510
  }
542
511
  var nativeNumberValue = this.unfinishedValue
543
- ? i1.tuiMaskedNumberStringToNumber(this.unfinishedValue, this.numberFormat.decimalSeparator, this.numberFormat.thousandSeparator)
512
+ ? kit.maskitoParseNumber(this.unfinishedValue, this.numberFormat.decimalSeparator)
544
513
  : this.nativeNumberValue;
545
514
  this.unfinishedValue = null;
546
515
  if (Number.isNaN(nativeNumberValue)) {
547
516
  this.clear();
548
517
  return;
549
518
  }
550
- this.value = Math.min(this.max, Math.max(this.min, nativeNumberValue));
519
+ this.value = nativeNumberValue;
551
520
  this.nativeValue = this.formattedValue;
552
521
  };
553
522
  TuiInputNumberComponent.prototype.getFormattedValue = function (value) {
@@ -562,7 +531,7 @@
562
531
  if (this.focused && this.decimal !== 'always') {
563
532
  decimalLimit = fraction.length;
564
533
  }
565
- return i1.tuiFormatNumber(value, Object.assign(Object.assign({}, this.numberFormat), { decimalLimit: decimalLimit }));
534
+ return i1.tuiFormatNumber(value, Object.assign(Object.assign({}, this.numberFormat), { decimalLimit: decimalLimit })).replace(cdk.CHAR_HYPHEN, cdk.CHAR_MINUS);
566
535
  };
567
536
  Object.defineProperty(TuiInputNumberComponent.prototype, "isNativeValueNotFinished", {
568
537
  get: function () {
@@ -588,25 +557,32 @@
588
557
  enumerable: false,
589
558
  configurable: true
590
559
  });
560
+ TuiInputNumberComponent.prototype.writeValue = function (value) {
561
+ _super.prototype.writeValue.call(this, value);
562
+ this.nativeValue = this.formattedValue;
563
+ };
591
564
  Object.defineProperty(TuiInputNumberComponent.prototype, "nativeNumberValue", {
592
565
  get: function () {
593
- return i1.tuiMaskedNumberStringToNumber(this.nativeValue, this.numberFormat.decimalSeparator, this.numberFormat.thousandSeparator);
566
+ return kit.maskitoParseNumber(this.nativeValue, this.numberFormat.decimalSeparator);
594
567
  },
595
568
  enumerable: false,
596
569
  configurable: true
597
570
  });
571
+ TuiInputNumberComponent.prototype.calculateMask = function (precision, decimalMode, decimalSeparator, thousandSeparator, min, max) {
572
+ return kit.maskitoNumberOptionsGenerator({
573
+ decimalSeparator: decimalSeparator,
574
+ thousandSeparator: thousandSeparator,
575
+ min: min,
576
+ max: max,
577
+ precision: decimalMode === 'never' ? 0 : precision,
578
+ decimalZeroPadding: decimalMode === 'always',
579
+ });
580
+ };
598
581
  TuiInputNumberComponent.prototype.clear = function () {
599
582
  this.nativeValue = '';
600
583
  this.value = null;
601
584
  };
602
- TuiInputNumberComponent.prototype.absoluteCapInputValue = function (inputValue) {
603
- var value = i1.tuiMaskedNumberStringToNumber(inputValue, this.numberFormat.decimalSeparator, this.numberFormat.thousandSeparator);
604
- var capped = value < 0
605
- ? Math.max(Math.max(this.min, Number.MIN_SAFE_INTEGER), value)
606
- : Math.min(value, Math.min(this.max, Number.MAX_SAFE_INTEGER));
607
- var ineligibleValue = Number.isNaN(capped) || capped < this.min || capped > this.max;
608
- return ineligibleValue ? null : capped;
609
- };
585
+ // TODO: delete this method after fix: https://github.com/Tinkoff/maskito/issues/330
610
586
  TuiInputNumberComponent.prototype.setCaretAfterComma = function () {
611
587
  if (!this.nativeFocusableElement) {
612
588
  return;
@@ -615,30 +591,15 @@
615
591
  this.nativeFocusableElement.setSelectionRange(afterCommaPosition, afterCommaPosition);
616
592
  };
617
593
  return TuiInputNumberComponent;
618
- }(i5.AbstractTuiNullableControl));
619
- TuiInputNumberComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputNumberComponent, deps: [{ token: i6.NgControl, optional: true, self: true }, { token: i0.ChangeDetectorRef }, { token: TUI_INPUT_NUMBER_OPTIONS }, { token: i1.TUI_NUMBER_FORMAT }, { token: i5.TUI_IS_IOS }], target: i0__namespace.ɵɵFactoryTarget.Component });
620
- TuiInputNumberComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputNumberComponent, selector: "tui-input-number", inputs: { min: "min", max: "max", decimal: "decimal", precision: "precision", step: "step", prefix: "prefix", postfix: "postfix" }, host: { listeners: { "keydown.arrowDown": "onArrow(-step)", "keydown.arrowUp": "onArrow(step)", "keydown.0": "onZero($event)" } }, providers: [
621
- i5.tuiAsFocusableItemAccessor(TuiInputNumberComponent),
622
- i5.tuiAsControl(TuiInputNumberComponent),
623
- ], queries: [{ propertyName: "polymorpheusValueContent", predicate: i4.PolymorpheusOutletDirective, descendants: true }], viewQueries: [{ propertyName: "primitiveTextfield", first: true, predicate: i1.TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<tui-primitive-textfield\n #textfield\n tuiValueAccessor\n class=\"t-textfield\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoActive]=\"pseudoActive\"\n [invalid]=\"computedInvalid\"\n [readOnly]=\"readOnly\"\n [disabled]=\"computedDisabled\"\n [textMask]=\"isNegativeAllowed | tuiMapper : mask : decimal : precision : nativeFocusableElement\"\n [value]=\"computedValue\"\n [prefix]=\"prefix\"\n [postfix]=\"postfix\"\n [focusable]=\"focusable\"\n (valueChange)=\"onValueChange($event)\"\n (focusedChange)=\"onFocused($event)\"\n (keydown)=\"onKeyDown($event)\"\n>\n <ng-content></ng-content>\n <ng-content\n select=\"input\"\n ngProjectAs=\"input\"\n ></ng-content>\n <div\n *ngIf=\"polymorpheusValueContent.length\"\n ngProjectAs=\"tuiContent\"\n class=\"t-value-content\"\n >\n <ng-container *polymorpheusOutlet=\"valueContent as text\">\n {{ text }}\n </ng-container>\n </div>\n</tui-primitive-textfield>\n\n<section\n *ngIf=\"step\"\n class=\"t-buttons\"\n>\n <button\n tuiIconButton\n type=\"button\"\n size=\"s\"\n class=\"t-button\"\n [icon]=\"options.icons.up\"\n [appearance]=\"textfield.appearance\"\n [disabled]=\"!canIncrement\"\n [focusable]=\"false\"\n (mousedown.prevent)=\"nativeFocusableElement?.focus()\"\n (click.prevent)=\"onArrow(step)\"\n >\n +\n </button>\n <button\n tuiIconButton\n type=\"button\"\n size=\"s\"\n class=\"t-button\"\n [icon]=\"options.icons.down\"\n [appearance]=\"textfield.appearance\"\n [disabled]=\"!canDecrement\"\n [focusable]=\"false\"\n (mousedown.prevent)=\"nativeFocusableElement?.focus()\"\n (click.prevent)=\"onArrow(-step)\"\n >\n -\n </button>\n</section>\n\n<ng-container *ngIf=\"polymorpheusValueContent.changes | async\"></ng-container>\n\n<ng-template #valueContent>\n <ng-content select=\"tuiContent\"></ng-content>\n</ng-template>\n", styles: [":host{display:flex;border-radius:var(--tui-radius-m);text-align:left}.t-textfield{flex:1;max-width:100%;border-radius:inherit;text-align:inherit}.t-textfield:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.t-value-content{width:100%}.t-buttons{display:flex;flex-direction:column;align-items:stretch;margin-left:.125rem}[data-size=s]+.t-buttons{flex-direction:row-reverse}[data-size=s]+.t-buttons .t-button:first-child{margin:0 0 0 .125rem;border-radius:0 var(--tui-radius-m) var(--tui-radius-m) 0}[data-size=s]+.t-buttons .t-button:last-child{border-radius:0}[data-size=m]+.t-buttons .t-button{width:calc(var(--tui-height-m) * .75)}[data-size=l]+.t-buttons .t-button{width:calc(var(--tui-height-l) * .75)}.t-button{display:flex;flex:1;height:auto}.t-button:first-child{margin-bottom:.125rem;border-radius:0 var(--tui-radius-m) 0 0}.t-button:last-child{border-radius:0 0 var(--tui-radius-m)}\n"], components: [{ type: i1__namespace.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "filler", "iconCleaner", "readOnly", "invalid", "disabled", "prefix", "postfix", "value"], outputs: ["valueChange"] }, { type: i1__namespace.TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: ["appearance", "disabled", "icon", "iconRight", "shape", "showLoader", "size"] }], directives: [{ type: i1__namespace.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { type: i2__namespace.TuiValueAccessorDirective, selector: "[tuiValueAccessor]" }, { type: i2__namespace.MaskedInputDirective, selector: "[textMask]", inputs: ["textMask"], exportAs: ["textMask"] }, { type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], pipes: { "tuiMapper": i5__namespace.TuiMapperPipe, "async": i3__namespace.AsyncPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
624
- __decorate([
625
- i5.tuiDefaultProp()
626
- ], TuiInputNumberComponent.prototype, "min", void 0);
627
- __decorate([
628
- i5.tuiDefaultProp()
629
- ], TuiInputNumberComponent.prototype, "max", void 0);
630
- __decorate([
631
- i5.tuiDefaultProp()
632
- ], TuiInputNumberComponent.prototype, "decimal", void 0);
594
+ }(cdk.AbstractTuiNullableControl));
595
+ TuiInputNumberComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputNumberComponent, deps: [{ token: i6.NgControl, optional: true, self: true }, { token: i0.ChangeDetectorRef }, { token: TUI_INPUT_NUMBER_OPTIONS }, { token: i1.TUI_NUMBER_FORMAT }, { token: cdk.TUI_IS_IOS }], target: i0__namespace.ɵɵFactoryTarget.Component });
596
+ TuiInputNumberComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputNumberComponent, selector: "tui-input-number", inputs: { min: "min", max: "max", decimal: "decimal", precision: "precision", step: "step", prefix: "prefix", postfix: "postfix" }, host: { listeners: { "keydown.arrowDown": "onArrow(-step)", "keydown.arrowUp": "onArrow(step)" } }, providers: [
597
+ cdk.tuiAsFocusableItemAccessor(TuiInputNumberComponent),
598
+ cdk.tuiAsControl(TuiInputNumberComponent),
599
+ ], queries: [{ propertyName: "polymorpheusValueContent", predicate: i5.PolymorpheusOutletDirective, descendants: true }], viewQueries: [{ propertyName: "primitiveTextfield", first: true, predicate: i1.TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<tui-primitive-textfield\n #textfield\n tuiValueAccessor\n class=\"t-textfield\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoActive]=\"pseudoActive\"\n [invalid]=\"computedInvalid\"\n [readOnly]=\"readOnly\"\n [disabled]=\"computedDisabled\"\n [maskito]=\"mask\"\n [value]=\"computedValue\"\n [prefix]=\"prefix\"\n [postfix]=\"postfix\"\n [focusable]=\"focusable\"\n (valueChange)=\"onValueChange($event)\"\n (focusedChange)=\"onFocused($event)\"\n (keydown)=\"onKeyDown($event)\"\n>\n <ng-content></ng-content>\n <ng-content\n select=\"input\"\n ngProjectAs=\"input\"\n ></ng-content>\n <div\n *ngIf=\"polymorpheusValueContent.length\"\n ngProjectAs=\"tuiContent\"\n class=\"t-value-content\"\n >\n <ng-container *polymorpheusOutlet=\"valueContent as text\">\n {{ text }}\n </ng-container>\n </div>\n</tui-primitive-textfield>\n\n<section\n *ngIf=\"step\"\n class=\"t-buttons\"\n>\n <button\n tuiIconButton\n type=\"button\"\n size=\"s\"\n class=\"t-button\"\n [icon]=\"options.icons.up\"\n [appearance]=\"textfield.appearance\"\n [disabled]=\"!canIncrement\"\n [focusable]=\"false\"\n (mousedown.prevent)=\"nativeFocusableElement?.focus()\"\n (click.prevent)=\"onArrow(step)\"\n >\n +\n </button>\n <button\n tuiIconButton\n type=\"button\"\n size=\"s\"\n class=\"t-button\"\n [icon]=\"options.icons.down\"\n [appearance]=\"textfield.appearance\"\n [disabled]=\"!canDecrement\"\n [focusable]=\"false\"\n (mousedown.prevent)=\"nativeFocusableElement?.focus()\"\n (click.prevent)=\"onArrow(-step)\"\n >\n -\n </button>\n</section>\n\n<ng-container *ngIf=\"polymorpheusValueContent.changes | async\"></ng-container>\n\n<ng-template #valueContent>\n <ng-content select=\"tuiContent\"></ng-content>\n</ng-template>\n", styles: [":host{display:flex;border-radius:var(--tui-radius-m);text-align:left}.t-textfield{flex:1;max-width:100%;border-radius:inherit;text-align:inherit}.t-textfield:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.t-value-content{width:100%}.t-buttons{display:flex;flex-direction:column;align-items:stretch;margin-left:.125rem}[data-size=s]+.t-buttons{flex-direction:row-reverse}[data-size=s]+.t-buttons .t-button:first-child{margin:0 0 0 .125rem;border-radius:0 var(--tui-radius-m) var(--tui-radius-m) 0}[data-size=s]+.t-buttons .t-button:last-child{border-radius:0}[data-size=m]+.t-buttons .t-button{width:calc(var(--tui-height-m) * .75)}[data-size=l]+.t-buttons .t-button{width:calc(var(--tui-height-l) * .75)}.t-button{display:flex;flex:1;height:auto}.t-button:first-child{margin-bottom:.125rem;border-radius:0 var(--tui-radius-m) 0 0}.t-button:last-child{border-radius:0 0 var(--tui-radius-m)}\n"], components: [{ type: i1__namespace.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "filler", "iconCleaner", "readOnly", "invalid", "disabled", "prefix", "postfix", "value"], outputs: ["valueChange"] }, { type: i1__namespace.TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: ["appearance", "disabled", "icon", "iconRight", "shape", "showLoader", "size"] }], directives: [{ type: i1__namespace.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { type: i2__namespace.TuiValueAccessorDirective, selector: "[tuiValueAccessor]" }, { type: i3__namespace.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], pipes: { "async": i4__namespace.AsyncPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
633
600
  __decorate([
634
- i5.tuiDefaultProp()
635
- ], TuiInputNumberComponent.prototype, "precision", void 0);
636
- __decorate([
637
- i5.tuiDefaultProp()
638
- ], TuiInputNumberComponent.prototype, "prefix", void 0);
639
- __decorate([
640
- i5.tuiDefaultProp()
641
- ], TuiInputNumberComponent.prototype, "postfix", void 0);
601
+ cdk.tuiPure
602
+ ], TuiInputNumberComponent.prototype, "calculateMask", null);
642
603
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputNumberComponent, decorators: [{
643
604
  type: i0.Component,
644
605
  args: [{
@@ -647,8 +608,8 @@
647
608
  styleUrls: ['./input-number.style.less'],
648
609
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
649
610
  providers: [
650
- i5.tuiAsFocusableItemAccessor(TuiInputNumberComponent),
651
- i5.tuiAsControl(TuiInputNumberComponent),
611
+ cdk.tuiAsFocusableItemAccessor(TuiInputNumberComponent),
612
+ cdk.tuiAsControl(TuiInputNumberComponent),
652
613
  ],
653
614
  }]
654
615
  }], ctorParameters: function () {
@@ -670,7 +631,7 @@
670
631
  args: [i1.TUI_NUMBER_FORMAT]
671
632
  }] }, { type: undefined, decorators: [{
672
633
  type: i0.Inject,
673
- args: [i5.TUI_IS_IOS]
634
+ args: [cdk.TUI_IS_IOS]
674
635
  }] }];
675
636
  }, propDecorators: { primitiveTextfield: [{
676
637
  type: i0.ViewChild,
@@ -691,17 +652,14 @@
691
652
  type: i0.Input
692
653
  }], polymorpheusValueContent: [{
693
654
  type: i0.ContentChildren,
694
- args: [i4.PolymorpheusOutletDirective, { descendants: true }]
655
+ args: [i5.PolymorpheusOutletDirective, { descendants: true }]
695
656
  }], onArrow: [{
696
657
  type: i0.HostListener,
697
658
  args: ['keydown.arrowDown', ['-step']]
698
659
  }, {
699
660
  type: i0.HostListener,
700
661
  args: ['keydown.arrowUp', ['step']]
701
- }], onZero: [{
702
- type: i0.HostListener,
703
- args: ['keydown.0', ['$event']]
704
- }] } });
662
+ }], calculateMask: [] } });
705
663
 
706
664
  var TuiInputNumberDirective = /** @class */ (function (_super) {
707
665
  __extends(TuiInputNumberDirective, _super);
@@ -743,35 +701,32 @@
743
701
  return TuiInputNumberModule;
744
702
  }());
745
703
  TuiInputNumberModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputNumberModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
746
- TuiInputNumberModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputNumberModule, declarations: [TuiInputNumberComponent, TuiInputNumberDirective], imports: [i3.CommonModule,
747
- i2.TextMaskModule,
748
- i5.TuiMapperPipeModule,
704
+ TuiInputNumberModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputNumberModule, declarations: [TuiInputNumberComponent, TuiInputNumberDirective], imports: [i4.CommonModule,
705
+ i3.MaskitoModule,
749
706
  i1.TuiPrimitiveTextfieldModule,
750
707
  i1.TuiTextfieldControllerModule,
751
708
  i2.TuiValueAccessorModule,
752
- i4.PolymorpheusModule,
709
+ i5.PolymorpheusModule,
753
710
  i1.TuiButtonModule], exports: [TuiInputNumberComponent, TuiInputNumberDirective, i1.TuiTextfieldComponent] });
754
711
  TuiInputNumberModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputNumberModule, imports: [[
755
- i3.CommonModule,
756
- i2.TextMaskModule,
757
- i5.TuiMapperPipeModule,
712
+ i4.CommonModule,
713
+ i3.MaskitoModule,
758
714
  i1.TuiPrimitiveTextfieldModule,
759
715
  i1.TuiTextfieldControllerModule,
760
716
  i2.TuiValueAccessorModule,
761
- i4.PolymorpheusModule,
717
+ i5.PolymorpheusModule,
762
718
  i1.TuiButtonModule,
763
719
  ]] });
764
720
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputNumberModule, decorators: [{
765
721
  type: i0.NgModule,
766
722
  args: [{
767
723
  imports: [
768
- i3.CommonModule,
769
- i2.TextMaskModule,
770
- i5.TuiMapperPipeModule,
724
+ i4.CommonModule,
725
+ i3.MaskitoModule,
771
726
  i1.TuiPrimitiveTextfieldModule,
772
727
  i1.TuiTextfieldControllerModule,
773
728
  i2.TuiValueAccessorModule,
774
- i4.PolymorpheusModule,
729
+ i5.PolymorpheusModule,
775
730
  i1.TuiButtonModule,
776
731
  ],
777
732
  declarations: [TuiInputNumberComponent, TuiInputNumberDirective],