@taiga-ui/kit 4.48.0 → 4.49.0-canary.8c4d1de

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 (472) hide show
  1. package/components/accordion/accordion-item.component.d.ts +1 -1
  2. package/components/accordion/accordion.directive.d.ts +1 -1
  3. package/components/action-bar/action-bar.component.d.ts +2 -2
  4. package/components/avatar/avatar-stack.component.d.ts +1 -1
  5. package/components/avatar/avatar.component.d.ts +1 -1
  6. package/components/avatar/avatar.options.d.ts +3 -4
  7. package/components/badge/badge.options.d.ts +3 -4
  8. package/components/badge-notification/badge-notification.component.d.ts +1 -1
  9. package/components/badge-notification/badge-notification.options.d.ts +2 -3
  10. package/components/badged-content/badged-content.directive.d.ts +1 -1
  11. package/components/block/block.directive.d.ts +1 -1
  12. package/components/block/block.options.d.ts +3 -4
  13. package/components/breadcrumbs/breadcrumbs.component.d.ts +2 -3
  14. package/components/breadcrumbs/breadcrumbs.options.d.ts +2 -3
  15. package/components/button-loading/button-loading.component.d.ts +1 -1
  16. package/components/calendar-month/calendar-month.component.d.ts +1 -1
  17. package/components/calendar-range/calculate-disabled-item-handler.d.ts +2 -3
  18. package/components/calendar-range/calendar-range.component.d.ts +6 -8
  19. package/components/calendar-range/day-caps-mapper.d.ts +2 -3
  20. package/components/calendar-range/day-range-period.d.ts +2 -2
  21. package/components/carousel/carousel.component.d.ts +2 -3
  22. package/components/checkbox/checkbox.component.d.ts +2 -2
  23. package/components/checkbox/checkbox.options.d.ts +3 -4
  24. package/components/chip/chip.directive.d.ts +1 -1
  25. package/components/chip/chip.options.d.ts +3 -4
  26. package/components/combo-box/combo-box.directive.d.ts +2 -2
  27. package/components/comment/comment.directive.d.ts +1 -1
  28. package/components/confirm/confirm.component.d.ts +2 -3
  29. package/components/confirm/confirm.service.d.ts +3 -3
  30. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +5 -7
  31. package/components/drawer/drawer.component.d.ts +1 -1
  32. package/components/files/file/file.component.d.ts +6 -6
  33. package/components/files/file/file.options.d.ts +5 -5
  34. package/components/files/files/files.component.d.ts +1 -2
  35. package/components/files/files.types.d.ts +1 -1
  36. package/components/files/files.utils.d.ts +1 -1
  37. package/components/files/files.validators.d.ts +1 -1
  38. package/components/files/input-files/input-files-validator.directive.d.ts +1 -1
  39. package/components/files/input-files/input-files.component.d.ts +1 -1
  40. package/components/files/input-files/input-files.content.d.ts +1 -1
  41. package/components/files/input-files/input-files.directive.d.ts +2 -2
  42. package/components/files/input-files/input-files.options.d.ts +2 -3
  43. package/components/files/pipes/file-rejected.pipe.d.ts +3 -3
  44. package/components/filter/filter.component.d.ts +3 -3
  45. package/components/index.d.ts +1 -0
  46. package/components/input-chip/input-chip.component.d.ts +1 -1
  47. package/components/input-chip/input-chip.directive.d.ts +2 -3
  48. package/components/input-color/input-color.component.d.ts +2 -2
  49. package/components/input-color/input-color.options.d.ts +1 -1
  50. package/components/input-date/date-filler.d.ts +1 -1
  51. package/components/input-date/input-date.directive.d.ts +4 -5
  52. package/components/input-date/input-date.options.d.ts +4 -4
  53. package/components/input-date-range/input-date-range.directive.d.ts +2 -3
  54. package/components/input-date-range/input-date-range.options.d.ts +4 -5
  55. package/components/input-date-time/input-date-time.directive.d.ts +4 -4
  56. package/components/input-date-time/input-date-time.options.d.ts +5 -6
  57. package/components/input-month/input-month.directive.d.ts +1 -1
  58. package/components/input-month/input-month.options.d.ts +5 -6
  59. package/components/input-month-range/input-month-range.options.d.ts +5 -6
  60. package/components/input-number/index.d.ts +1 -0
  61. package/components/input-number/input-number.d.ts +2 -1
  62. package/components/input-number/input-number.directive.d.ts +6 -5
  63. package/components/input-number/input-number.options.d.ts +1 -1
  64. package/components/input-number/quantum.directive.d.ts +14 -0
  65. package/components/input-number/step/input-number-step.component.d.ts +1 -1
  66. package/components/input-password/input-password.options.d.ts +3 -4
  67. package/components/input-phone/index.d.ts +2 -0
  68. package/components/input-phone/input-phone.directive.d.ts +27 -0
  69. package/components/input-phone/input-phone.options.d.ts +8 -0
  70. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +9 -0
  71. package/components/input-phone/utils/create-phone-mask-expression.d.ts +7 -0
  72. package/components/input-phone-international/input-phone-international.component.d.ts +4 -4
  73. package/components/input-phone-international/input-phone-international.options.d.ts +4 -5
  74. package/components/input-pin/input-pin.component.d.ts +1 -1
  75. package/components/input-slider/input-slider.directive.d.ts +4 -4
  76. package/components/input-time/input-time.component.d.ts +2 -3
  77. package/components/input-time/input-time.directive.d.ts +3 -3
  78. package/components/input-time/input-time.options.d.ts +5 -5
  79. package/components/input-year/input-year.options.d.ts +3 -4
  80. package/components/items-with-more/items-with-more.component.d.ts +2 -3
  81. package/components/items-with-more/items-with-more.directive.d.ts +1 -1
  82. package/components/items-with-more/more.directive.d.ts +1 -1
  83. package/components/like/like.component.d.ts +3 -3
  84. package/components/like/like.options.d.ts +3 -3
  85. package/components/line-clamp/line-clamp-position.directive.d.ts +1 -1
  86. package/components/line-clamp/line-clamp.component.d.ts +3 -3
  87. package/components/line-clamp/line-clamp.options.d.ts +1 -2
  88. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +1 -1
  89. package/components/multi-select/multi-select-native/multi-select-native.component.d.ts +1 -1
  90. package/components/multi-select/multi-select-option/multi-select-option.component.d.ts +1 -1
  91. package/components/pager/pager.component.d.ts +2 -2
  92. package/components/pagination/pagination.component.d.ts +3 -3
  93. package/components/pdf-viewer/pdf-viewer.component.d.ts +2 -2
  94. package/components/pdf-viewer/pdf-viewer.directive.d.ts +1 -1
  95. package/components/pdf-viewer/pdf-viewer.options.d.ts +2 -3
  96. package/components/pdf-viewer/pdf-viewer.service.d.ts +5 -6
  97. package/components/preview/dialog/preview-dialog.component.d.ts +1 -1
  98. package/components/preview/preview.component.d.ts +1 -1
  99. package/components/progress/progress-bar/progress-bar.component.d.ts +1 -1
  100. package/components/progress/progress-circle/progress-circle.component.d.ts +2 -2
  101. package/components/progress/progress.options.d.ts +2 -3
  102. package/components/push/push-alert.component.d.ts +2 -2
  103. package/components/push/push.options.d.ts +1 -2
  104. package/components/push/push.service.d.ts +1 -1
  105. package/components/radio/radio.component.d.ts +2 -2
  106. package/components/radio/radio.directive.d.ts +1 -1
  107. package/components/radio/radio.options.d.ts +3 -4
  108. package/components/radio-list/radio-list.component.d.ts +4 -4
  109. package/components/range/range.component.d.ts +3 -4
  110. package/components/rating/rating.component.d.ts +1 -1
  111. package/components/rating/rating.options.d.ts +3 -4
  112. package/components/routable-dialog/generate-dialogable-route.d.ts +3 -3
  113. package/components/segmented/segmented.component.d.ts +2 -3
  114. package/components/segmented/segmented.directive.d.ts +1 -1
  115. package/components/select/native-select/native-select.component.d.ts +2 -2
  116. package/components/select/select.directive.d.ts +1 -1
  117. package/components/slider/helpers/key-steps.d.ts +2 -2
  118. package/components/slider/helpers/slider-key-steps.directive.d.ts +2 -3
  119. package/components/slider/helpers/slider-readonly.directive.d.ts +1 -1
  120. package/components/slider/helpers/slider-thumb-label.component.d.ts +2 -2
  121. package/components/slider/slider.component.d.ts +1 -1
  122. package/components/slider/slider.options.d.ts +2 -3
  123. package/components/stepper/stepper.component.d.ts +3 -4
  124. package/components/switch/switch.component.d.ts +2 -2
  125. package/components/switch/switch.options.d.ts +3 -4
  126. package/components/tabs/tab.directive.d.ts +1 -1
  127. package/components/tabs/tabs-horizontal.directive.d.ts +1 -1
  128. package/components/tabs/tabs-vertical.directive.d.ts +1 -1
  129. package/components/tabs/tabs-with-more.component.d.ts +5 -6
  130. package/components/tabs/tabs.directive.d.ts +2 -3
  131. package/components/tabs/tabs.options.d.ts +2 -3
  132. package/components/tabs/tabs.providers.d.ts +2 -3
  133. package/components/textarea/textarea-limit.directive.d.ts +3 -3
  134. package/components/textarea/textarea.component.d.ts +2 -3
  135. package/components/textarea/textarea.options.d.ts +2 -2
  136. package/components/tiles/tile.component.d.ts +1 -1
  137. package/components/tiles/tile.service.d.ts +1 -1
  138. package/components/tree/components/tree/tree.component.d.ts +3 -3
  139. package/components/tree/components/tree-item/tree-item.component.d.ts +3 -3
  140. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +2 -2
  141. package/components/tree/directives/tree-children.directive.d.ts +1 -1
  142. package/components/tree/directives/tree-controller.directive.d.ts +2 -2
  143. package/components/tree/directives/tree-item-controller.directive.d.ts +2 -2
  144. package/components/tree/directives/tree-node.directive.d.ts +1 -1
  145. package/components/tree/misc/tree.constants.d.ts +1 -1
  146. package/components/tree/misc/tree.interfaces.d.ts +4 -4
  147. package/components/tree/misc/tree.tokens.d.ts +2 -2
  148. package/directives/button-select/button-select.directive.d.ts +1 -1
  149. package/directives/copy/copy.component.d.ts +1 -1
  150. package/directives/copy/copy.options.d.ts +2 -2
  151. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +1 -1
  152. package/directives/fade/fade.directive.d.ts +1 -1
  153. package/directives/fluid-typography/fluid-typography.directive.d.ts +1 -1
  154. package/directives/fluid-typography/fluid-typography.options.d.ts +1 -2
  155. package/directives/highlight/highlight.directive.d.ts +1 -1
  156. package/directives/lazy-loading/lazy-loading.directive.d.ts +1 -1
  157. package/directives/lazy-loading/lazy-loading.service.d.ts +1 -1
  158. package/directives/password/password.options.d.ts +2 -2
  159. package/directives/present/present.directive.d.ts +1 -1
  160. package/directives/shimmer/shimmer.directive.d.ts +1 -1
  161. package/directives/skeleton/skeleton.directive.d.ts +1 -1
  162. package/directives/tooltip/tooltip.directive.d.ts +2 -2
  163. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +1 -1
  164. package/directives/unfinished-validator/unfinished.validator.d.ts +2 -2
  165. package/directives/unmask-handler/unmask-handler.directive.d.ts +2 -2
  166. package/esm2022/components/accordion/accordion-item.component.mjs +1 -1
  167. package/esm2022/components/accordion/accordion.directive.mjs +2 -2
  168. package/esm2022/components/action-bar/action-bar.component.mjs +2 -2
  169. package/esm2022/components/avatar/avatar-stack.component.mjs +3 -3
  170. package/esm2022/components/avatar/avatar.component.mjs +1 -1
  171. package/esm2022/components/avatar/avatar.options.mjs +1 -1
  172. package/esm2022/components/badge/badge.options.mjs +1 -1
  173. package/esm2022/components/badge-notification/badge-notification.component.mjs +1 -1
  174. package/esm2022/components/badge-notification/badge-notification.options.mjs +1 -1
  175. package/esm2022/components/badged-content/badged-content.directive.mjs +1 -1
  176. package/esm2022/components/block/block.directive.mjs +1 -1
  177. package/esm2022/components/block/block.options.mjs +1 -1
  178. package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +1 -1
  179. package/esm2022/components/breadcrumbs/breadcrumbs.options.mjs +1 -1
  180. package/esm2022/components/button-loading/button-loading.component.mjs +1 -1
  181. package/esm2022/components/calendar-month/calendar-month.component.mjs +1 -1
  182. package/esm2022/components/calendar-range/calculate-disabled-item-handler.mjs +1 -1
  183. package/esm2022/components/calendar-range/calendar-range.component.mjs +1 -1
  184. package/esm2022/components/calendar-range/day-caps-mapper.mjs +2 -2
  185. package/esm2022/components/calendar-range/day-range-period.mjs +1 -1
  186. package/esm2022/components/carousel/carousel.component.mjs +2 -2
  187. package/esm2022/components/checkbox/checkbox.component.mjs +1 -1
  188. package/esm2022/components/checkbox/checkbox.options.mjs +1 -1
  189. package/esm2022/components/chip/chip.directive.mjs +1 -1
  190. package/esm2022/components/chip/chip.options.mjs +1 -1
  191. package/esm2022/components/combo-box/combo-box.directive.mjs +3 -3
  192. package/esm2022/components/comment/comment.directive.mjs +1 -1
  193. package/esm2022/components/confirm/confirm.component.mjs +1 -1
  194. package/esm2022/components/confirm/confirm.service.mjs +1 -1
  195. package/esm2022/components/data-list-wrapper/data-list-wrapper.component.mjs +3 -3
  196. package/esm2022/components/drawer/drawer.component.mjs +1 -1
  197. package/esm2022/components/files/file/file.component.mjs +3 -3
  198. package/esm2022/components/files/file/file.options.mjs +1 -1
  199. package/esm2022/components/files/files/files.component.mjs +1 -1
  200. package/esm2022/components/files/files.types.mjs +1 -1
  201. package/esm2022/components/files/files.utils.mjs +1 -1
  202. package/esm2022/components/files/files.validators.mjs +1 -1
  203. package/esm2022/components/files/input-files/input-files-validator.directive.mjs +1 -1
  204. package/esm2022/components/files/input-files/input-files.component.mjs +1 -1
  205. package/esm2022/components/files/input-files/input-files.content.mjs +1 -1
  206. package/esm2022/components/files/input-files/input-files.directive.mjs +1 -1
  207. package/esm2022/components/files/input-files/input-files.options.mjs +1 -1
  208. package/esm2022/components/files/pipes/file-rejected.pipe.mjs +1 -1
  209. package/esm2022/components/filter/filter.component.mjs +2 -2
  210. package/esm2022/components/index.mjs +2 -1
  211. package/esm2022/components/input-chip/input-chip.component.mjs +2 -2
  212. package/esm2022/components/input-chip/input-chip.directive.mjs +2 -2
  213. package/esm2022/components/input-color/input-color.component.mjs +1 -1
  214. package/esm2022/components/input-color/input-color.options.mjs +1 -1
  215. package/esm2022/components/input-date/date-filler.mjs +1 -1
  216. package/esm2022/components/input-date/input-date.directive.mjs +3 -3
  217. package/esm2022/components/input-date/input-date.options.mjs +2 -2
  218. package/esm2022/components/input-date-range/input-date-range.directive.mjs +2 -2
  219. package/esm2022/components/input-date-range/input-date-range.options.mjs +2 -2
  220. package/esm2022/components/input-date-time/input-date-time.directive.mjs +1 -1
  221. package/esm2022/components/input-date-time/input-date-time.options.mjs +2 -2
  222. package/esm2022/components/input-month/input-month.directive.mjs +1 -1
  223. package/esm2022/components/input-month/input-month.options.mjs +2 -2
  224. package/esm2022/components/input-month-range/input-month-range.directive.mjs +2 -2
  225. package/esm2022/components/input-month-range/input-month-range.options.mjs +2 -2
  226. package/esm2022/components/input-number/index.mjs +2 -1
  227. package/esm2022/components/input-number/input-number.directive.mjs +45 -44
  228. package/esm2022/components/input-number/input-number.mjs +7 -2
  229. package/esm2022/components/input-number/input-number.options.mjs +1 -1
  230. package/esm2022/components/input-number/quantum.directive.mjs +56 -0
  231. package/esm2022/components/input-number/step/input-number-step.component.mjs +2 -2
  232. package/esm2022/components/input-password/input-password.options.mjs +1 -1
  233. package/esm2022/components/input-phone/index.mjs +3 -0
  234. package/esm2022/components/input-phone/input-phone.directive.mjs +137 -0
  235. package/esm2022/components/input-phone/input-phone.options.mjs +9 -0
  236. package/esm2022/components/input-phone/taiga-ui-kit-components-input-phone.mjs +5 -0
  237. package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +41 -0
  238. package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +17 -0
  239. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +2 -2
  240. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +1 -1
  241. package/esm2022/components/input-pin/input-pin.component.mjs +1 -1
  242. package/esm2022/components/input-slider/input-slider.directive.mjs +8 -12
  243. package/esm2022/components/input-time/input-time.component.mjs +1 -1
  244. package/esm2022/components/input-time/input-time.directive.mjs +1 -1
  245. package/esm2022/components/input-time/input-time.options.mjs +1 -1
  246. package/esm2022/components/input-year/input-year.options.mjs +2 -2
  247. package/esm2022/components/items-with-more/items-with-more.component.mjs +1 -1
  248. package/esm2022/components/items-with-more/items-with-more.directive.mjs +1 -1
  249. package/esm2022/components/items-with-more/more.directive.mjs +1 -1
  250. package/esm2022/components/like/like.component.mjs +1 -1
  251. package/esm2022/components/like/like.options.mjs +1 -1
  252. package/esm2022/components/line-clamp/line-clamp-position.directive.mjs +2 -2
  253. package/esm2022/components/line-clamp/line-clamp.component.mjs +1 -1
  254. package/esm2022/components/line-clamp/line-clamp.options.mjs +1 -1
  255. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +2 -2
  256. package/esm2022/components/multi-select/multi-select-native/multi-select-native.component.mjs +2 -2
  257. package/esm2022/components/multi-select/multi-select-option/multi-select-option.component.mjs +2 -2
  258. package/esm2022/components/pager/pager.component.mjs +1 -1
  259. package/esm2022/components/pagination/pagination.component.mjs +1 -1
  260. package/esm2022/components/pdf-viewer/pdf-viewer.component.mjs +1 -1
  261. package/esm2022/components/pdf-viewer/pdf-viewer.directive.mjs +1 -1
  262. package/esm2022/components/pdf-viewer/pdf-viewer.options.mjs +1 -1
  263. package/esm2022/components/pdf-viewer/pdf-viewer.service.mjs +1 -1
  264. package/esm2022/components/preview/dialog/preview-dialog.component.mjs +1 -1
  265. package/esm2022/components/preview/preview.component.mjs +1 -1
  266. package/esm2022/components/progress/progress-bar/progress-bar.component.mjs +1 -1
  267. package/esm2022/components/progress/progress-circle/progress-circle.component.mjs +1 -1
  268. package/esm2022/components/progress/progress.options.mjs +1 -1
  269. package/esm2022/components/push/push-alert.component.mjs +1 -1
  270. package/esm2022/components/push/push.options.mjs +1 -1
  271. package/esm2022/components/push/push.service.mjs +1 -1
  272. package/esm2022/components/radio/radio.component.mjs +1 -1
  273. package/esm2022/components/radio/radio.directive.mjs +1 -1
  274. package/esm2022/components/radio/radio.options.mjs +1 -1
  275. package/esm2022/components/radio-list/radio-list.component.mjs +2 -2
  276. package/esm2022/components/range/range.component.mjs +3 -3
  277. package/esm2022/components/rating/rating.component.mjs +1 -1
  278. package/esm2022/components/rating/rating.options.mjs +1 -1
  279. package/esm2022/components/routable-dialog/generate-dialogable-route.mjs +1 -1
  280. package/esm2022/components/routable-dialog/routable-dialog.component.mjs +2 -2
  281. package/esm2022/components/segmented/segmented.component.mjs +1 -1
  282. package/esm2022/components/segmented/segmented.directive.mjs +2 -2
  283. package/esm2022/components/select/native-select/native-select.component.mjs +2 -2
  284. package/esm2022/components/select/select-option/select-option.component.mjs +2 -2
  285. package/esm2022/components/select/select.directive.mjs +2 -2
  286. package/esm2022/components/slider/helpers/key-steps.mjs +1 -1
  287. package/esm2022/components/slider/helpers/slider-key-steps.directive.mjs +1 -1
  288. package/esm2022/components/slider/helpers/slider-readonly.directive.mjs +1 -1
  289. package/esm2022/components/slider/helpers/slider-thumb-label.component.mjs +2 -2
  290. package/esm2022/components/slider/slider.component.mjs +3 -3
  291. package/esm2022/components/slider/slider.options.mjs +1 -1
  292. package/esm2022/components/stepper/stepper.component.mjs +1 -1
  293. package/esm2022/components/switch/switch.component.mjs +1 -1
  294. package/esm2022/components/switch/switch.options.mjs +1 -1
  295. package/esm2022/components/tabs/tab.directive.mjs +1 -1
  296. package/esm2022/components/tabs/tabs-horizontal.directive.mjs +2 -2
  297. package/esm2022/components/tabs/tabs-vertical.directive.mjs +1 -1
  298. package/esm2022/components/tabs/tabs-with-more.component.mjs +1 -1
  299. package/esm2022/components/tabs/tabs.directive.mjs +1 -1
  300. package/esm2022/components/tabs/tabs.options.mjs +1 -1
  301. package/esm2022/components/tabs/tabs.providers.mjs +2 -2
  302. package/esm2022/components/textarea/textarea-limit.directive.mjs +2 -2
  303. package/esm2022/components/textarea/textarea.component.mjs +3 -3
  304. package/esm2022/components/textarea/textarea.options.mjs +1 -1
  305. package/esm2022/components/tiles/tile.component.mjs +1 -1
  306. package/esm2022/components/tiles/tile.service.mjs +1 -1
  307. package/esm2022/components/tree/components/tree/tree.component.mjs +1 -1
  308. package/esm2022/components/tree/components/tree-item/tree-item.component.mjs +1 -1
  309. package/esm2022/components/tree/components/tree-item-content/tree-item-content.component.mjs +2 -2
  310. package/esm2022/components/tree/directives/tree-children.directive.mjs +1 -1
  311. package/esm2022/components/tree/directives/tree-controller.directive.mjs +1 -1
  312. package/esm2022/components/tree/directives/tree-item-controller.directive.mjs +1 -1
  313. package/esm2022/components/tree/directives/tree-node.directive.mjs +1 -1
  314. package/esm2022/components/tree/misc/tree.constants.mjs +1 -1
  315. package/esm2022/components/tree/misc/tree.interfaces.mjs +1 -1
  316. package/esm2022/components/tree/misc/tree.service.mjs +1 -1
  317. package/esm2022/components/tree/misc/tree.tokens.mjs +1 -1
  318. package/esm2022/directives/button-select/button-select.directive.mjs +2 -2
  319. package/esm2022/directives/copy/copy.component.mjs +1 -1
  320. package/esm2022/directives/copy/copy.options.mjs +1 -1
  321. package/esm2022/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.mjs +2 -2
  322. package/esm2022/directives/fade/fade.directive.mjs +1 -1
  323. package/esm2022/directives/fluid-typography/fluid-typography.directive.mjs +1 -1
  324. package/esm2022/directives/fluid-typography/fluid-typography.options.mjs +1 -1
  325. package/esm2022/directives/highlight/highlight.directive.mjs +1 -1
  326. package/esm2022/directives/lazy-loading/lazy-loading.directive.mjs +1 -1
  327. package/esm2022/directives/lazy-loading/lazy-loading.service.mjs +1 -1
  328. package/esm2022/directives/password/password.options.mjs +1 -1
  329. package/esm2022/directives/present/present.directive.mjs +1 -1
  330. package/esm2022/directives/shimmer/shimmer.directive.mjs +1 -1
  331. package/esm2022/directives/skeleton/skeleton.directive.mjs +1 -1
  332. package/esm2022/directives/tooltip/tooltip.directive.mjs +1 -1
  333. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +1 -1
  334. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +1 -1
  335. package/esm2022/directives/unmask-handler/unmask-handler.directive.mjs +2 -2
  336. package/esm2022/pipes/emails/emails.pipe.mjs +1 -1
  337. package/esm2022/pipes/field-error/field-error-content-pipe.mjs +2 -2
  338. package/esm2022/pipes/field-error/field-error-pipe.mjs +2 -2
  339. package/esm2022/pipes/filter-by-input/filter-by-input.pipe.mjs +2 -2
  340. package/esm2022/pipes/hide-selected/hide-selected.pipe.mjs +1 -1
  341. package/esm2022/pipes/sort-countries/sort-countries.pipe.mjs +1 -1
  342. package/esm2022/pipes/stringify/stringify.pipe.mjs +1 -1
  343. package/esm2022/pipes/stringify-content/stringify-content.pipe.mjs +1 -1
  344. package/esm2022/tokens/calendar-date-stream.mjs +1 -1
  345. package/esm2022/tokens/date-inputs-value-transformers.mjs +2 -2
  346. package/esm2022/tokens/i18n.mjs +1 -1
  347. package/esm2022/tokens/input-date-options.mjs +1 -1
  348. package/esm2022/tokens/items-handlers.mjs +1 -1
  349. package/esm2022/tokens/mobile-calendar.mjs +1 -1
  350. package/esm2022/tokens/month-formatter.mjs +1 -1
  351. package/esm2022/tokens/preview-icons.mjs +1 -1
  352. package/esm2022/tokens/validation-errors.mjs +1 -1
  353. package/esm2022/utils/inject-value.mjs +1 -1
  354. package/esm2022/utils/maskito.binding.mjs +1 -1
  355. package/esm2022/utils/phone.mjs +1 -1
  356. package/esm2022/utils/toggle-day.mjs +1 -1
  357. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  358. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  359. package/fesm2022/taiga-ui-kit-components-avatar.mjs +2 -2
  360. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  361. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  362. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  363. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  364. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  365. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  366. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  367. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  368. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  369. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  370. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  371. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  372. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  373. package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
  374. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  375. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  376. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  377. package/fesm2022/taiga-ui-kit-components-files.mjs +2 -2
  378. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  379. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  380. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  381. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  382. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  383. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  384. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  385. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  386. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  387. package/fesm2022/taiga-ui-kit-components-input-number.mjs +101 -48
  388. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  389. package/fesm2022/taiga-ui-kit-components-input-password.mjs.map +1 -1
  390. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  391. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +206 -0
  392. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -0
  393. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  394. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +7 -11
  395. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  396. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  397. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  398. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
  399. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  400. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  401. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  402. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  403. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  404. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +1 -1
  405. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +1 -1
  406. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  407. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  408. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  409. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  410. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  411. package/fesm2022/taiga-ui-kit-components-range.mjs +2 -2
  412. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  413. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  414. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  415. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  416. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  417. package/fesm2022/taiga-ui-kit-components-slider.mjs +2 -2
  418. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  419. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  420. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  421. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  422. package/fesm2022/taiga-ui-kit-components-textarea.mjs +2 -2
  423. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  424. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  425. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  426. package/fesm2022/taiga-ui-kit-components.mjs +1 -0
  427. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  428. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  429. package/fesm2022/taiga-ui-kit-directives-copy.mjs.map +1 -1
  430. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  431. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  432. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  433. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  434. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +1 -1
  435. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  436. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  437. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
  438. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  439. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  440. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  441. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  442. package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
  443. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs.map +1 -1
  444. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  445. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  446. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  447. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  448. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
  449. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  450. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  451. package/package.json +14 -8
  452. package/pipes/emails/emails.pipe.d.ts +1 -1
  453. package/pipes/field-error/field-error-content-pipe.d.ts +2 -2
  454. package/pipes/field-error/field-error-pipe.d.ts +2 -2
  455. package/pipes/filter-by-input/filter-by-input.pipe.d.ts +2 -2
  456. package/pipes/hide-selected/hide-selected.pipe.d.ts +1 -1
  457. package/pipes/sort-countries/sort-countries.pipe.d.ts +3 -3
  458. package/pipes/stringify/stringify.pipe.d.ts +2 -2
  459. package/pipes/stringify-content/stringify-content.pipe.d.ts +3 -3
  460. package/tokens/calendar-date-stream.d.ts +4 -5
  461. package/tokens/date-inputs-value-transformers.d.ts +2 -2
  462. package/tokens/i18n.d.ts +3 -3
  463. package/tokens/input-date-options.d.ts +4 -4
  464. package/tokens/items-handlers.d.ts +2 -3
  465. package/tokens/mobile-calendar.d.ts +1 -2
  466. package/tokens/month-formatter.d.ts +3 -3
  467. package/tokens/preview-icons.d.ts +1 -2
  468. package/tokens/validation-errors.d.ts +3 -4
  469. package/utils/inject-value.d.ts +1 -1
  470. package/utils/maskito.binding.d.ts +2 -2
  471. package/utils/phone.d.ts +2 -2
  472. package/utils/toggle-day.d.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-utils.mjs","sources":["../../../projects/kit/utils/create-time-periods.ts","../../../projects/kit/utils/inject-value.ts","../../../projects/kit/utils/is-flat.ts","../../../projects/kit/utils/maskito.binding.ts","../../../projects/kit/utils/phone.ts","../../../projects/kit/utils/toggle-day.ts","../../../projects/kit/utils/taiga-ui-kit-utils.ts"],"sourcesContent":["import {HOURS_IN_DAY, TuiTime} from '@taiga-ui/cdk/date-time';\n\nexport function tuiCreateTimePeriods(\n minHour = 0,\n maxHour: number = HOURS_IN_DAY,\n minutes: readonly number[] = [0, 30],\n): readonly TuiTime[] {\n const timeArray: TuiTime[] = [];\n\n for (let i = minHour; i < maxHour; i++) {\n minutes.forEach((minute) => {\n const time = new TuiTime(i, minute);\n\n timeArray.push(time);\n });\n }\n\n return timeArray;\n}\n","import type {Signal} from '@angular/core';\nimport {inject} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {NgControl} from '@angular/forms';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\n\nexport function tuiInjectValue<T>(): Signal<T> {\n const control =\n inject(TuiTextfieldComponent, {optional: true})?.control ||\n inject(NgControl, {optional: true});\n\n return toSignal(tuiControlValue(control), {requireSync: true});\n}\n","export function tuiIsFlat<T>(\n items: ReadonlyArray<readonly T[]> | readonly T[],\n): items is readonly T[] {\n return !Array.isArray(items[0]);\n}\n","import type {Signal, WritableSignal} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport type {MaskitoOptions} from '@maskito/core';\nimport {tuiDirectiveBinding} from '@taiga-ui/cdk/utils';\n\ntype M = MaskitoOptions | null;\n\nexport function tuiMaskito(options: M | WritableSignal<M>): WritableSignal<M>;\nexport function tuiMaskito(options: Signal<M>): Signal<M>;\nexport function tuiMaskito(options: M | Signal<M>): Signal<M> {\n return tuiDirectiveBinding(MaskitoDirective, 'options', options);\n}\n","import {CHAR_PLUS} from '@taiga-ui/cdk/constants';\nimport type {TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport type {MetadataJson} from 'libphonenumber-js/core';\nimport {getCountryCallingCode} from 'libphonenumber-js/core';\n\nexport function tuiGetCallingCode(\n iso: TuiCountryIsoCode,\n metadata?: MetadataJson | null,\n): string {\n return metadata ? CHAR_PLUS + getCountryCallingCode(iso, metadata) : '';\n}\n","import type {TuiDay} from '@taiga-ui/cdk/date-time';\n\nexport function tuiToggleDay(\n days: readonly TuiDay[] | null,\n day: TuiDay,\n): readonly TuiDay[] {\n return (\n (days?.find((item) => item.daySame(day))\n ? days.filter((item) => !item.daySame(day))\n : days?.concat(day)) || []\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAEgB,SAAA,oBAAoB,CAChC,OAAO,GAAG,CAAC,EACX,OAAkB,GAAA,YAAY,EAC9B,OAA6B,GAAA,CAAC,CAAC,EAAE,EAAE,CAAC,EAAA;IAEpC,MAAM,SAAS,GAAc,EAAE,CAAC;IAEhC,KAAK,IAAI,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,EAAE,EAAE;AACpC,QAAA,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,KAAI;YACvB,MAAM,IAAI,GAAG,IAAI,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAEpC,YAAA,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACzB,SAAC,CAAC,CAAC;AACN,KAAA;AAED,IAAA,OAAO,SAAS,CAAC;AACrB;;SCXgB,cAAc,GAAA;AAC1B,IAAA,MAAM,OAAO,GACT,MAAM,CAAC,qBAAqB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,EAAE,OAAO;QACxD,MAAM,CAAC,SAAS,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,CAAC;AAExC,IAAA,OAAO,QAAQ,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,EAAC,WAAW,EAAE,IAAI,EAAC,CAAC,CAAC;AACnE;;ACbM,SAAU,SAAS,CACrB,KAAiD,EAAA;IAEjD,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AACpC;;ACKM,SAAU,UAAU,CAAC,OAAsB,EAAA;IAC7C,OAAO,mBAAmB,CAAC,gBAAgB,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;AACrE;;ACNgB,SAAA,iBAAiB,CAC7B,GAAsB,EACtB,QAA8B,EAAA;AAE9B,IAAA,OAAO,QAAQ,GAAG,SAAS,GAAG,qBAAqB,CAAC,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,CAAC;AAC5E;;ACRgB,SAAA,YAAY,CACxB,IAA8B,EAC9B,GAAW,EAAA;AAEX,IAAA,QACI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;AACpC,UAAE,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;UACzC,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,EAChC;AACN;;ACXA;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-utils.mjs","sources":["../../../projects/kit/utils/create-time-periods.ts","../../../projects/kit/utils/inject-value.ts","../../../projects/kit/utils/is-flat.ts","../../../projects/kit/utils/maskito.binding.ts","../../../projects/kit/utils/phone.ts","../../../projects/kit/utils/toggle-day.ts","../../../projects/kit/utils/taiga-ui-kit-utils.ts"],"sourcesContent":["import {HOURS_IN_DAY, TuiTime} from '@taiga-ui/cdk/date-time';\n\nexport function tuiCreateTimePeriods(\n minHour = 0,\n maxHour: number = HOURS_IN_DAY,\n minutes: readonly number[] = [0, 30],\n): readonly TuiTime[] {\n const timeArray: TuiTime[] = [];\n\n for (let i = minHour; i < maxHour; i++) {\n minutes.forEach((minute) => {\n const time = new TuiTime(i, minute);\n\n timeArray.push(time);\n });\n }\n\n return timeArray;\n}\n","import {inject, type Signal} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {NgControl} from '@angular/forms';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\n\nexport function tuiInjectValue<T>(): Signal<T> {\n const control =\n inject(TuiTextfieldComponent, {optional: true})?.control ||\n inject(NgControl, {optional: true});\n\n return toSignal(tuiControlValue(control), {requireSync: true});\n}\n","export function tuiIsFlat<T>(\n items: ReadonlyArray<readonly T[]> | readonly T[],\n): items is readonly T[] {\n return !Array.isArray(items[0]);\n}\n","import {type Signal, type WritableSignal} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {type MaskitoOptions} from '@maskito/core';\nimport {tuiDirectiveBinding} from '@taiga-ui/cdk/utils';\n\ntype M = MaskitoOptions | null;\n\nexport function tuiMaskito(options: M | WritableSignal<M>): WritableSignal<M>;\nexport function tuiMaskito(options: Signal<M>): Signal<M>;\nexport function tuiMaskito(options: M | Signal<M>): Signal<M> {\n return tuiDirectiveBinding(MaskitoDirective, 'options', options);\n}\n","import {CHAR_PLUS} from '@taiga-ui/cdk/constants';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {getCountryCallingCode, type MetadataJson} from 'libphonenumber-js/core';\n\nexport function tuiGetCallingCode(\n iso: TuiCountryIsoCode,\n metadata?: MetadataJson | null,\n): string {\n return metadata ? CHAR_PLUS + getCountryCallingCode(iso, metadata) : '';\n}\n","import {type TuiDay} from '@taiga-ui/cdk/date-time';\n\nexport function tuiToggleDay(\n days: readonly TuiDay[] | null,\n day: TuiDay,\n): readonly TuiDay[] {\n return (\n (days?.find((item) => item.daySame(day))\n ? days.filter((item) => !item.daySame(day))\n : days?.concat(day)) || []\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAEgB,SAAA,oBAAoB,CAChC,OAAO,GAAG,CAAC,EACX,OAAkB,GAAA,YAAY,EAC9B,OAA6B,GAAA,CAAC,CAAC,EAAE,EAAE,CAAC,EAAA;IAEpC,MAAM,SAAS,GAAc,EAAE,CAAC;IAEhC,KAAK,IAAI,CAAC,GAAG,OAAO,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC,EAAE,EAAE;AACpC,QAAA,OAAO,CAAC,OAAO,CAAC,CAAC,MAAM,KAAI;YACvB,MAAM,IAAI,GAAG,IAAI,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAEpC,YAAA,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACzB,SAAC,CAAC,CAAC;AACN,KAAA;AAED,IAAA,OAAO,SAAS,CAAC;AACrB;;SCZgB,cAAc,GAAA;AAC1B,IAAA,MAAM,OAAO,GACT,MAAM,CAAC,qBAAqB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,EAAE,OAAO;QACxD,MAAM,CAAC,SAAS,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,CAAC;AAExC,IAAA,OAAO,QAAQ,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,EAAC,WAAW,EAAE,IAAI,EAAC,CAAC,CAAC;AACnE;;ACZM,SAAU,SAAS,CACrB,KAAiD,EAAA;IAEjD,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AACpC;;ACKM,SAAU,UAAU,CAAC,OAAsB,EAAA;IAC7C,OAAO,mBAAmB,CAAC,gBAAgB,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;AACrE;;ACPgB,SAAA,iBAAiB,CAC7B,GAAsB,EACtB,QAA8B,EAAA;AAE9B,IAAA,OAAO,QAAQ,GAAG,SAAS,GAAG,qBAAqB,CAAC,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,CAAC;AAC5E;;ACPgB,SAAA,YAAY,CACxB,IAA8B,EAC9B,GAAW,EAAA;AAEX,IAAA,QACI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;AACpC,UAAE,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;UACzC,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,EAChC;AACN;;ACXA;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/kit",
3
- "version": "4.48.0",
3
+ "version": "4.49.0-canary.8c4d1de",
4
4
  "description": "Taiga UI Angular main components kit",
5
5
  "keywords": [
6
6
  "angular",
@@ -263,6 +263,12 @@
263
263
  "esm": "./esm2022/components/input-password/taiga-ui-kit-components-input-password.mjs",
264
264
  "default": "./fesm2022/taiga-ui-kit-components-input-password.mjs"
265
265
  },
266
+ "./components/input-phone": {
267
+ "types": "./components/input-phone/index.d.ts",
268
+ "esm2022": "./esm2022/components/input-phone/taiga-ui-kit-components-input-phone.mjs",
269
+ "esm": "./esm2022/components/input-phone/taiga-ui-kit-components-input-phone.mjs",
270
+ "default": "./fesm2022/taiga-ui-kit-components-input-phone.mjs"
271
+ },
266
272
  "./components/input-phone-international": {
267
273
  "types": "./components/input-phone-international/index.d.ts",
268
274
  "esm2022": "./esm2022/components/input-phone-international/taiga-ui-kit-components-input-phone-international.mjs",
@@ -635,17 +641,17 @@
635
641
  "@angular/core": ">=16.0.0",
636
642
  "@angular/forms": ">=16.0.0",
637
643
  "@angular/router": ">=16.0.0",
638
- "@maskito/angular": "^3.10.2",
639
- "@maskito/core": "^3.10.2",
640
- "@maskito/kit": "^3.10.2",
641
- "@maskito/phone": "^3.10.2",
644
+ "@maskito/angular": "^3.10.3",
645
+ "@maskito/core": "^3.10.3",
646
+ "@maskito/kit": "^3.10.3",
647
+ "@maskito/phone": "^3.10.3",
642
648
  "@ng-web-apis/common": "^4.12.0",
643
649
  "@ng-web-apis/intersection-observer": "^4.12.0",
644
650
  "@ng-web-apis/mutation-observer": "^4.12.0",
645
651
  "@ng-web-apis/resize-observer": "^4.12.0",
646
- "@taiga-ui/cdk": "^4.48.0",
647
- "@taiga-ui/core": "^4.48.0",
648
- "@taiga-ui/i18n": "^4.48.0",
652
+ "@taiga-ui/cdk": "^4.49.0",
653
+ "@taiga-ui/core": "^4.49.0",
654
+ "@taiga-ui/i18n": "^4.49.0",
649
655
  "@taiga-ui/polymorpheus": "^4.9.0",
650
656
  "rxjs": ">=7.0.0"
651
657
  },
@@ -1,4 +1,4 @@
1
- import type { PipeTransform } from '@angular/core';
1
+ import { type PipeTransform } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class TuiEmailsPipe implements PipeTransform {
4
4
  private readonly options;
@@ -1,5 +1,5 @@
1
- import type { OnDestroy, PipeTransform } from '@angular/core';
2
- import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
1
+ import { type OnDestroy, type PipeTransform } from '@angular/core';
2
+ import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class TuiFieldErrorContentPipe implements PipeTransform, OnDestroy {
5
5
  private readonly injector;
@@ -1,5 +1,5 @@
1
- import type { PipeTransform } from '@angular/core';
2
- import type { ControlValueAccessor } from '@angular/forms';
1
+ import { type PipeTransform } from '@angular/core';
2
+ import { type ControlValueAccessor } from '@angular/forms';
3
3
  import { TuiValidationError } from '@taiga-ui/cdk/classes';
4
4
  import { Observable } from 'rxjs';
5
5
  import * as i0 from "@angular/core";
@@ -1,5 +1,5 @@
1
- import type { PipeTransform } from '@angular/core';
2
- import type { TuiStringMatcher } from '@taiga-ui/cdk/types';
1
+ import { type PipeTransform } from '@angular/core';
2
+ import { type TuiStringMatcher } from '@taiga-ui/cdk/types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class TuiFilterByInputPipe implements PipeTransform {
5
5
  private readonly textfield;
@@ -1,4 +1,4 @@
1
- import type { PipeTransform } from '@angular/core';
1
+ import { type PipeTransform } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class TuiHideSelectedPipe implements PipeTransform {
4
4
  private readonly textfield;
@@ -1,6 +1,6 @@
1
- import type { PipeTransform } from '@angular/core';
2
- import type { TuiCountryIsoCode } from '@taiga-ui/i18n/types';
3
- import type { Observable } from 'rxjs';
1
+ import { type PipeTransform } from '@angular/core';
2
+ import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
3
+ import { type Observable } from 'rxjs';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class TuiSortCountriesPipe implements PipeTransform {
6
6
  private readonly countriesNames$;
@@ -1,5 +1,5 @@
1
- import type { PipeTransform } from '@angular/core';
2
- import type { TuiStringHandler } from '@taiga-ui/cdk/types';
1
+ import { type PipeTransform } from '@angular/core';
2
+ import { type TuiStringHandler } from '@taiga-ui/cdk/types';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class TuiStringifyPipe implements PipeTransform {
5
5
  transform<K extends string>(key: K): TuiStringHandler<Readonly<Record<any, any> & Record<K, unknown>>>;
@@ -1,6 +1,6 @@
1
- import type { PipeTransform } from '@angular/core';
2
- import type { TuiStringHandler } from '@taiga-ui/cdk/types';
3
- import type { TuiValueContentContext } from '@taiga-ui/core/types';
1
+ import { type PipeTransform } from '@angular/core';
2
+ import { type TuiStringHandler } from '@taiga-ui/cdk/types';
3
+ import { type TuiValueContentContext } from '@taiga-ui/core/types';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class TuiStringifyContentPipe implements PipeTransform {
6
6
  transform<T>(stringify: TuiStringHandler<T>): TuiStringHandler<TuiValueContentContext<T>>;
@@ -1,8 +1,7 @@
1
- import type { Provider } from '@angular/core';
2
- import { InjectionToken } from '@angular/core';
3
- import type { TuiValueTransformer } from '@taiga-ui/cdk/classes';
4
- import type { TuiDay, TuiDayRange } from '@taiga-ui/cdk/date-time';
5
- import type { Observable } from 'rxjs';
1
+ import { InjectionToken, type Provider } from '@angular/core';
2
+ import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
3
+ import { type TuiDay, type TuiDayRange } from '@taiga-ui/cdk/date-time';
4
+ import { type Observable } from 'rxjs';
6
5
  /**
7
6
  * Stream that emits calendar data change
8
7
  * @deprecated this should be rewritten in v5
@@ -1,6 +1,6 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- import type { TuiValueTransformer } from '@taiga-ui/cdk/classes';
3
- import type { TuiDay, TuiDayRange, TuiTime } from '@taiga-ui/cdk/date-time';
2
+ import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
3
+ import { type TuiDay, type TuiDayRange, type TuiTime } from '@taiga-ui/cdk/date-time';
4
4
  /**
5
5
  * Control value transformer of TuiDay to custom value format for InputDate* components
6
6
  */
package/tokens/i18n.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- import type { TuiDateMode } from '@taiga-ui/cdk/date-time';
3
- import type { TuiCountryIsoCode } from '@taiga-ui/i18n/types';
4
- import type { Observable } from 'rxjs';
2
+ import { type TuiDateMode } from '@taiga-ui/cdk/date-time';
3
+ import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
4
+ import { type Observable } from 'rxjs';
5
5
  export declare const TUI_CONFIRM_WORDS: InjectionToken<Observable<{
6
6
  no: string;
7
7
  yes: string;
@@ -1,7 +1,7 @@
1
- import type { TuiDay } from '@taiga-ui/cdk/date-time';
2
- import type { TuiContext } from '@taiga-ui/cdk/types';
3
- import type { TuiSizeL, TuiSizeS } from '@taiga-ui/core/types';
4
- import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
1
+ import { type TuiDay } from '@taiga-ui/cdk/date-time';
2
+ import { type TuiContext } from '@taiga-ui/cdk/types';
3
+ import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
4
+ import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
5
5
  export interface TuiInputDateOptions {
6
6
  readonly icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
7
7
  readonly max: TuiDay;
@@ -1,6 +1,5 @@
1
- import type { Provider } from '@angular/core';
2
- import { InjectionToken } from '@angular/core';
3
- import type { TuiBooleanHandler, TuiIdentityMatcher, TuiStringHandler } from '@taiga-ui/cdk/types';
1
+ import { InjectionToken, type Provider } from '@angular/core';
2
+ import { type TuiBooleanHandler, type TuiIdentityMatcher, type TuiStringHandler } from '@taiga-ui/cdk/types';
4
3
  /**
5
4
  * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
6
5
  * TODO(v5): delete
@@ -1,5 +1,4 @@
1
- import type { FactoryProvider, Type } from '@angular/core';
2
- import { InjectionToken } from '@angular/core';
1
+ import { type FactoryProvider, InjectionToken, type Type } from '@angular/core';
3
2
  /**
4
3
  * A component for mobile data picker
5
4
  */
@@ -1,5 +1,5 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- import type { TuiMonth } from '@taiga-ui/cdk/date-time';
3
- import type { TuiHandler } from '@taiga-ui/cdk/types';
4
- import type { Observable } from 'rxjs';
2
+ import { type TuiMonth } from '@taiga-ui/cdk/date-time';
3
+ import { type TuiHandler } from '@taiga-ui/cdk/types';
4
+ import { type Observable } from 'rxjs';
5
5
  export declare const TUI_MONTH_FORMATTER: InjectionToken<Observable<TuiHandler<TuiMonth | null, string>>>;
@@ -1,5 +1,4 @@
1
- import type { Provider } from '@angular/core';
2
- import { InjectionToken } from '@angular/core';
1
+ import { InjectionToken, type Provider } from '@angular/core';
3
2
  export interface TuiPreviewIcons {
4
3
  readonly next: string;
5
4
  readonly prev: string;
@@ -1,6 +1,5 @@
1
- import type { Provider } from '@angular/core';
2
- import { InjectionToken } from '@angular/core';
3
- import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
4
- import type { Observable } from 'rxjs';
1
+ import { InjectionToken, type Provider } from '@angular/core';
2
+ import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
3
+ import { type Observable } from 'rxjs';
5
4
  export declare const TUI_VALIDATION_ERRORS: InjectionToken<Record<string, PolymorpheusContent | Observable<PolymorpheusContent>>>;
6
5
  export declare const tuiValidationErrorsProvider: (useValue: Record<string, Observable<PolymorpheusContent> | PolymorpheusContent>) => Provider;
@@ -1,2 +1,2 @@
1
- import type { Signal } from '@angular/core';
1
+ import { type Signal } from '@angular/core';
2
2
  export declare function tuiInjectValue<T>(): Signal<T>;
@@ -1,5 +1,5 @@
1
- import type { Signal, WritableSignal } from '@angular/core';
2
- import type { MaskitoOptions } from '@maskito/core';
1
+ import { type Signal, type WritableSignal } from '@angular/core';
2
+ import { type MaskitoOptions } from '@maskito/core';
3
3
  type M = MaskitoOptions | null;
4
4
  export declare function tuiMaskito(options: M | WritableSignal<M>): WritableSignal<M>;
5
5
  export declare function tuiMaskito(options: Signal<M>): Signal<M>;
package/utils/phone.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import type { TuiCountryIsoCode } from '@taiga-ui/i18n/types';
2
- import type { MetadataJson } from 'libphonenumber-js/core';
1
+ import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
2
+ import { type MetadataJson } from 'libphonenumber-js/core';
3
3
  export declare function tuiGetCallingCode(iso: TuiCountryIsoCode, metadata?: MetadataJson | null): string;
@@ -1,2 +1,2 @@
1
- import type { TuiDay } from '@taiga-ui/cdk/date-time';
1
+ import { type TuiDay } from '@taiga-ui/cdk/date-time';
2
2
  export declare function tuiToggleDay(days: readonly TuiDay[] | null, day: TuiDay): readonly TuiDay[];