@taiga-ui/kit 4.52.0-canary.6de148b → 4.52.0-canary.763e67d

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 (290) hide show
  1. package/components/avatar/avatar-labeled.component.d.ts +2 -2
  2. package/components/avatar/avatar-stack.component.d.ts +2 -2
  3. package/components/badge-notification/badge-notification.component.d.ts +2 -3
  4. package/components/badged-content/badged-content.directive.d.ts +2 -2
  5. package/components/breadcrumbs/breadcrumbs.component.d.ts +4 -5
  6. package/components/button-loading/button-loading.component.d.ts +5 -5
  7. package/components/calendar-range/day-range-period.d.ts +2 -1
  8. package/components/carousel/carousel.component.d.ts +16 -16
  9. package/components/carousel/carousel.directive.d.ts +4 -4
  10. package/components/combo-box/combo-box.d.ts +4 -1
  11. package/components/combo-box/combo-box.directive.d.ts +3 -5
  12. package/components/compass/compass.component.d.ts +2 -2
  13. package/components/copy/copy.component.d.ts +3 -3
  14. package/components/drawer/drawer.component.d.ts +3 -4
  15. package/components/files/file/file.component.d.ts +15 -16
  16. package/components/files/files/files.component.d.ts +6 -7
  17. package/components/files/input-files/input-files.directive.d.ts +2 -1
  18. package/components/filter/filter.component.d.ts +8 -10
  19. package/components/fullscreen/fullscreen.component.d.ts +5 -8
  20. package/components/index.d.ts +0 -3
  21. package/components/input-chip/input-chip.d.ts +5 -1
  22. package/components/input-color/input-color.d.ts +4 -1
  23. package/components/input-date/input-date.d.ts +4 -1
  24. package/components/input-date/input-date.directive.d.ts +3 -3
  25. package/components/input-date/input-date.options.d.ts +3 -3
  26. package/components/input-date-multi/input-date-multi.d.ts +1 -1
  27. package/components/input-date-multi/input-date-multi.directive.d.ts +1 -1
  28. package/components/input-date-range/input-date-range.d.ts +4 -1
  29. package/components/input-date-range/input-date-range.directive.d.ts +3 -6
  30. package/components/input-date-range/input-date-range.options.d.ts +2 -2
  31. package/components/input-date-time/input-date-time.d.ts +4 -1
  32. package/components/input-date-time/input-date-time.directive.d.ts +3 -3
  33. package/components/input-date-time/input-date-time.options.d.ts +2 -2
  34. package/components/input-month/input-month.d.ts +4 -1
  35. package/components/input-month/input-month.directive.d.ts +1 -1
  36. package/components/input-month-range/input-month-range.d.ts +4 -1
  37. package/components/input-month-range/input-month-range.directive.d.ts +1 -1
  38. package/components/input-number/input-number.d.ts +4 -1
  39. package/components/input-phone/input-phone.d.ts +4 -1
  40. package/components/input-phone-international/input-phone-international.component.d.ts +5 -0
  41. package/components/input-phone-international/input-phone-international.d.ts +4 -1
  42. package/components/input-pin/input-pin.d.ts +4 -1
  43. package/components/input-range/index.d.ts +0 -1
  44. package/components/input-range/input-range.component.d.ts +40 -8
  45. package/components/input-slider/input-slider.d.ts +4 -1
  46. package/components/input-time/input-time.d.ts +4 -1
  47. package/components/input-year/input-year.d.ts +4 -1
  48. package/components/input-year/input-year.options.d.ts +2 -2
  49. package/components/pagination/pagination.component.d.ts +22 -52
  50. package/components/pagination/pagination.options.d.ts +3 -6
  51. package/components/preview/index.d.ts +1 -0
  52. package/components/preview/pagination/preview-pagination.component.d.ts +2 -1
  53. package/components/preview/preview.component.d.ts +1 -1
  54. package/components/preview/zoom/preview-zoom.component.d.ts +3 -1
  55. package/components/progress/progress-bar/progress-bar.component.d.ts +3 -4
  56. package/components/pulse/pulse.component.d.ts +2 -2
  57. package/components/radio/radio.component.d.ts +1 -1
  58. package/components/select/select.d.ts +4 -1
  59. package/components/switch/switch.component.d.ts +1 -0
  60. package/components/textarea/textarea.d.ts +4 -1
  61. package/directives/fade/fade.directive.d.ts +5 -5
  62. package/directives/highlight/highlight.directive.d.ts +7 -8
  63. package/directives/present/present.directive.d.ts +2 -3
  64. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +2 -2
  65. package/directives/unmask-handler/unmask-handler.directive.d.ts +3 -3
  66. package/fesm2022/taiga-ui-kit-components-accordion.mjs +7 -7
  67. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +5 -5
  69. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-kit-components-avatar.mjs +28 -32
  71. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +7 -9
  73. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  74. package/fesm2022/taiga-ui-kit-components-badge.mjs +6 -6
  75. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  76. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +9 -11
  77. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-kit-components-block.mjs +6 -6
  79. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  80. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +10 -19
  81. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  82. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +18 -26
  83. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  84. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +3 -3
  85. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  86. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +20 -12
  87. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  88. package/fesm2022/taiga-ui-kit-components-carousel.mjs +60 -86
  89. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  90. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +3 -3
  91. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  92. package/fesm2022/taiga-ui-kit-components-chip.mjs +6 -6
  93. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  94. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +17 -24
  95. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  96. package/fesm2022/taiga-ui-kit-components-comment.mjs +6 -6
  97. package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
  98. package/fesm2022/taiga-ui-kit-components-compass.mjs +7 -9
  99. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  100. package/fesm2022/taiga-ui-kit-components-confirm.mjs +6 -6
  101. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  102. package/fesm2022/taiga-ui-kit-components-copy.mjs +16 -18
  103. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
  104. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +6 -6
  105. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  106. package/fesm2022/taiga-ui-kit-components-drawer.mjs +15 -22
  107. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  108. package/fesm2022/taiga-ui-kit-components-files.mjs +75 -113
  109. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  110. package/fesm2022/taiga-ui-kit-components-filter.mjs +16 -30
  111. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  112. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +24 -42
  113. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -1
  114. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +17 -10
  115. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  116. package/fesm2022/taiga-ui-kit-components-input-color.mjs +13 -5
  117. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  118. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +11 -10
  119. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  120. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +20 -30
  121. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  122. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +21 -20
  123. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  124. package/fesm2022/taiga-ui-kit-components-input-date.mjs +26 -22
  125. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  126. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +3 -3
  127. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  128. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +18 -17
  129. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  130. package/fesm2022/taiga-ui-kit-components-input-month.mjs +24 -17
  131. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  132. package/fesm2022/taiga-ui-kit-components-input-number.mjs +22 -17
  133. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  134. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +61 -56
  135. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  136. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +13 -5
  137. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  138. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +14 -6
  139. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  140. package/fesm2022/taiga-ui-kit-components-input-range.mjs +52 -57
  141. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  142. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +13 -8
  143. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  144. package/fesm2022/taiga-ui-kit-components-input-time.mjs +16 -12
  145. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  146. package/fesm2022/taiga-ui-kit-components-input-year.mjs +14 -10
  147. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  148. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +12 -12
  149. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
  150. package/fesm2022/taiga-ui-kit-components-like.mjs +3 -3
  151. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  152. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +10 -10
  153. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  154. package/fesm2022/taiga-ui-kit-components-message.mjs +6 -6
  155. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  156. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +14 -14
  157. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  158. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +9 -9
  159. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  160. package/fesm2022/taiga-ui-kit-components-pager.mjs +3 -3
  161. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  162. package/fesm2022/taiga-ui-kit-components-pagination.mjs +59 -139
  163. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  164. package/fesm2022/taiga-ui-kit-components-pin.mjs +6 -6
  165. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  166. package/fesm2022/taiga-ui-kit-components-preview.mjs +42 -30
  167. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  168. package/fesm2022/taiga-ui-kit-components-progress.mjs +30 -34
  169. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  170. package/fesm2022/taiga-ui-kit-components-pulse.mjs +7 -9
  171. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  172. package/fesm2022/taiga-ui-kit-components-push.mjs +12 -12
  173. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  174. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +3 -3
  175. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  176. package/fesm2022/taiga-ui-kit-components-radio.mjs +6 -6
  177. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  178. package/fesm2022/taiga-ui-kit-components-range.mjs +6 -6
  179. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  180. package/fesm2022/taiga-ui-kit-components-rating.mjs +3 -3
  181. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  182. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +3 -3
  183. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  184. package/fesm2022/taiga-ui-kit-components-segmented.mjs +6 -6
  185. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  186. package/fesm2022/taiga-ui-kit-components-select.mjs +20 -12
  187. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  188. package/fesm2022/taiga-ui-kit-components-slider.mjs +16 -16
  189. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  190. package/fesm2022/taiga-ui-kit-components-status.mjs +6 -6
  191. package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
  192. package/fesm2022/taiga-ui-kit-components-stepper.mjs +6 -6
  193. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  194. package/fesm2022/taiga-ui-kit-components-switch.mjs +9 -4
  195. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  196. package/fesm2022/taiga-ui-kit-components-tabs.mjs +18 -18
  197. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  198. package/fesm2022/taiga-ui-kit-components-textarea.mjs +21 -17
  199. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  200. package/fesm2022/taiga-ui-kit-components-tiles.mjs +12 -12
  201. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  202. package/fesm2022/taiga-ui-kit-components-toast.mjs +16 -16
  203. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
  204. package/fesm2022/taiga-ui-kit-components-tree.mjs +24 -24
  205. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  206. package/fesm2022/taiga-ui-kit-components.mjs +0 -3
  207. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  208. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +3 -3
  209. package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +1 -1
  210. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +6 -6
  211. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  212. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +3 -3
  213. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  214. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +7 -7
  215. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  216. package/fesm2022/taiga-ui-kit-directives-connected.mjs +6 -6
  217. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  218. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +3 -3
  219. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  220. package/fesm2022/taiga-ui-kit-directives-fade.mjs +20 -30
  221. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  222. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +3 -3
  223. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  224. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +16 -24
  225. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  226. package/fesm2022/taiga-ui-kit-directives-password.mjs +3 -3
  227. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  228. package/fesm2022/taiga-ui-kit-directives-present.mjs +8 -12
  229. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  230. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +6 -6
  231. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
  232. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +6 -6
  233. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
  234. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +7 -6
  235. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  236. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +6 -6
  237. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  238. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +7 -9
  239. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  240. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +9 -13
  241. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  242. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs +3 -3
  243. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs.map +1 -1
  244. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +3 -3
  245. package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
  246. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +3 -3
  247. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  248. package/fesm2022/taiga-ui-kit-pipes-flag.mjs +3 -4
  249. package/fesm2022/taiga-ui-kit-pipes-flag.mjs.map +1 -1
  250. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +3 -3
  251. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  252. package/fesm2022/taiga-ui-kit-pipes-initials.mjs +3 -3
  253. package/fesm2022/taiga-ui-kit-pipes-initials.mjs.map +1 -1
  254. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +10 -8
  255. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  256. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +3 -3
  257. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  258. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +3 -3
  259. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
  260. package/fesm2022/taiga-ui-kit-tokens.mjs +4 -84
  261. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  262. package/fesm2022/taiga-ui-kit-utils.mjs +2 -8
  263. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  264. package/package.json +26 -38
  265. package/pipes/sort-countries/sort-countries.pipe.d.ts +4 -3
  266. package/styles/components/switch.less +2 -2
  267. package/tokens/i18n.d.ts +1 -0
  268. package/tokens/index.d.ts +0 -6
  269. package/utils/index.d.ts +0 -1
  270. package/components/elastic-container/elastic-container.component.d.ts +0 -8
  271. package/components/elastic-container/elastic-container.directive.d.ts +0 -7
  272. package/components/elastic-container/index.d.ts +0 -2
  273. package/components/floating-container/floating-container.directive.d.ts +0 -7
  274. package/components/floating-container/index.d.ts +0 -1
  275. package/components/input-range/input-range.d.ts +0 -3
  276. package/components/slides/index.d.ts +0 -1
  277. package/components/slides/slides.directive.d.ts +0 -11
  278. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +0 -77
  279. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +0 -1
  280. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +0 -37
  281. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +0 -1
  282. package/fesm2022/taiga-ui-kit-components-slides.mjs +0 -49
  283. package/fesm2022/taiga-ui-kit-components-slides.mjs.map +0 -1
  284. package/tokens/date-inputs-value-transformers.d.ts +0 -19
  285. package/tokens/input-date-options.d.ts +0 -15
  286. package/tokens/items-handlers.d.ts +0 -20
  287. package/tokens/mobile-calendar.d.ts +0 -6
  288. package/tokens/month-formatter.d.ts +0 -5
  289. package/utils/toggle-day.d.ts +0 -2
  290. /package/{tokens/preview-icons.d.ts → components/preview/preview.options.d.ts} +0 -0
@@ -1,23 +1,25 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, Pipe } from '@angular/core';
3
- import { toObservable } from '@angular/core/rxjs-interop';
2
+ import { inject, signal, computed, untracked, Pipe } from '@angular/core';
4
3
  import { TUI_COUNTRIES } from '@taiga-ui/kit/tokens';
5
- import { map } from 'rxjs';
6
4
 
7
5
  class TuiSortCountriesPipe {
8
6
  constructor() {
9
- this.countriesNames$ = toObservable(inject(TUI_COUNTRIES));
7
+ this.names = inject(TUI_COUNTRIES);
8
+ this.countries = signal([]);
9
+ this.result = computed((names = this.names()) => [...this.countries()].sort((a, b) => names[a].localeCompare(names[b])));
10
10
  }
11
11
  transform(countries) {
12
- return this.countriesNames$.pipe(map((names) => [...countries].sort((a, b) => names[a].localeCompare(names[b]))));
12
+ untracked(() => this.countries.set(countries));
13
+ return this.result();
13
14
  }
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiSortCountriesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
15
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiSortCountriesPipe, isStandalone: true, name: "tuiSortCountries" }); }
15
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiSortCountriesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
16
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: TuiSortCountriesPipe, isStandalone: true, name: "tuiSortCountries", pure: false }); }
16
17
  }
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiSortCountriesPipe, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiSortCountriesPipe, decorators: [{
18
19
  type: Pipe,
19
20
  args: [{
20
21
  name: 'tuiSortCountries',
22
+ pure: false,
21
23
  }]
22
24
  }] });
23
25
 
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-pipes-sort-countries.mjs","sources":["../../../projects/kit/pipes/sort-countries/sort-countries.pipe.ts","../../../projects/kit/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {toObservable} from '@angular/core/rxjs-interop';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {TUI_COUNTRIES} from '@taiga-ui/kit/tokens';\nimport {map, type Observable} from 'rxjs';\n\n@Pipe({\n name: 'tuiSortCountries',\n})\nexport class TuiSortCountriesPipe implements PipeTransform {\n private readonly countriesNames$ = toObservable(inject(TUI_COUNTRIES));\n\n public transform(\n countries: readonly TuiCountryIsoCode[],\n ): Observable<TuiCountryIsoCode[]> {\n return this.countriesNames$.pipe(\n map((names) =>\n [...countries].sort((a, b) => names[a].localeCompare(names[b])),\n ),\n );\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MASa,oBAAoB,CAAA;AAHjC,IAAA,WAAA,GAAA;QAIqB,IAAA,CAAA,eAAe,GAAG,YAAY,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;AAWzE,IAAA;AATU,IAAA,SAAS,CACZ,SAAuC,EAAA;AAEvC,QAAA,OAAO,IAAI,CAAC,eAAe,CAAC,IAAI,CAC5B,GAAG,CAAC,CAAC,KAAK,KACN,CAAC,GAAG,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAClE,CACJ;IACL;+GAXS,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,kBAAA,EAAA,CAAA,CAAA;;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAHhC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,kBAAkB;AAC3B,iBAAA;;;ACRD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-pipes-sort-countries.mjs","sources":["../../../projects/kit/pipes/sort-countries/sort-countries.pipe.ts","../../../projects/kit/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.ts"],"sourcesContent":["import {\n computed,\n inject,\n Pipe,\n type PipeTransform,\n signal,\n untracked,\n} from '@angular/core';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {TUI_COUNTRIES} from '@taiga-ui/kit/tokens';\n\n@Pipe({\n name: 'tuiSortCountries',\n pure: false,\n})\nexport class TuiSortCountriesPipe implements PipeTransform {\n private readonly names = inject(TUI_COUNTRIES);\n private readonly countries = signal<readonly TuiCountryIsoCode[]>([]);\n private readonly result = computed((names = this.names()) =>\n [...this.countries()].sort((a, b) => names[a].localeCompare(names[b])),\n );\n\n public transform(countries: readonly TuiCountryIsoCode[]): TuiCountryIsoCode[] {\n untracked(() => this.countries.set(countries));\n\n return this.result();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAea,oBAAoB,CAAA;AAJjC,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,aAAa,CAAC;AAC7B,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAA+B,EAAE,CAAC;QACpD,IAAM,CAAA,MAAA,GAAG,QAAQ,CAAC,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,EAAE,KACpD,CAAC,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CACzE;AAOJ;AALU,IAAA,SAAS,CAAC,SAAuC,EAAA;AACpD,QAAA,SAAS,CAAC,MAAM,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AAE9C,QAAA,OAAO,IAAI,CAAC,MAAM,EAAE;;+GAVf,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,kBAAA,EAAA,IAAA,EAAA,KAAA,EAAA,CAAA,CAAA;;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,kBAAkB;AACxB,oBAAA,IAAI,EAAE,KAAK;AACd,iBAAA;;;ACdD;;AAEG;;;;"}
@@ -5,10 +5,10 @@ class TuiStringifyContentPipe {
5
5
  transform(stringify) {
6
6
  return ({ $implicit }) => stringify($implicit);
7
7
  }
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiStringifyContentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
9
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiStringifyContentPipe, isStandalone: true, name: "tuiStringifyContent" }); }
8
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiStringifyContentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
9
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: TuiStringifyContentPipe, isStandalone: true, name: "tuiStringifyContent" }); }
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiStringifyContentPipe, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiStringifyContentPipe, decorators: [{
12
12
  type: Pipe,
13
13
  args: [{
14
14
  name: 'tuiStringifyContent',
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-pipes-stringify-content.mjs","sources":["../../../projects/kit/pipes/stringify-content/stringify-content.pipe.ts","../../../projects/kit/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.ts"],"sourcesContent":["import {Pipe, type PipeTransform} from '@angular/core';\nimport {type TuiContext, type TuiStringHandler} from '@taiga-ui/cdk/types';\n\n@Pipe({\n name: 'tuiStringifyContent',\n})\nexport class TuiStringifyContentPipe implements PipeTransform {\n public transform<T>(stringify: TuiStringHandler<T>): TuiStringHandler<TuiContext<T>> {\n return ({$implicit}) => stringify($implicit);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,uBAAuB,CAAA;AACzB,IAAA,SAAS,CAAI,SAA8B,EAAA;QAC9C,OAAO,CAAC,EAAC,SAAS,EAAC,KAAK,SAAS,CAAC,SAAS,CAAC;IAChD;+GAHS,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,qBAAA,EAAA,CAAA,CAAA;;4FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAHnC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,qBAAqB;AAC9B,iBAAA;;;ACLD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-pipes-stringify-content.mjs","sources":["../../../projects/kit/pipes/stringify-content/stringify-content.pipe.ts","../../../projects/kit/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.ts"],"sourcesContent":["import {Pipe, type PipeTransform} from '@angular/core';\nimport {type TuiContext, type TuiStringHandler} from '@taiga-ui/cdk/types';\n\n@Pipe({\n name: 'tuiStringifyContent',\n})\nexport class TuiStringifyContentPipe implements PipeTransform {\n public transform<T>(stringify: TuiStringHandler<T>): TuiStringHandler<TuiContext<T>> {\n return ({$implicit}) => stringify($implicit);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,uBAAuB,CAAA;AACzB,IAAA,SAAS,CAAI,SAA8B,EAAA;QAC9C,OAAO,CAAC,EAAC,SAAS,EAAC,KAAK,SAAS,CAAC,SAAS,CAAC;;+GAFvC,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,qBAAA,EAAA,CAAA,CAAA;;4FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAHnC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,qBAAqB;AAC9B,iBAAA;;;ACLD;;AAEG;;;;"}
@@ -5,10 +5,10 @@ class TuiStringifyPipe {
5
5
  transform(key) {
6
6
  return (value) => String(value[key] ?? '');
7
7
  }
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiStringifyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
9
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiStringifyPipe, isStandalone: true, name: "tuiStringify" }); }
8
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiStringifyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
9
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.17", ngImport: i0, type: TuiStringifyPipe, isStandalone: true, name: "tuiStringify" }); }
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiStringifyPipe, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: TuiStringifyPipe, decorators: [{
12
12
  type: Pipe,
13
13
  args: [{
14
14
  name: 'tuiStringify',
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-pipes-stringify.mjs","sources":["../../../projects/kit/pipes/stringify/stringify.pipe.ts","../../../projects/kit/pipes/stringify/taiga-ui-kit-pipes-stringify.ts"],"sourcesContent":["import {Pipe, type PipeTransform} from '@angular/core';\nimport {type TuiStringHandler} from '@taiga-ui/cdk/types';\n\n@Pipe({\n name: 'tuiStringify',\n})\nexport class TuiStringifyPipe implements PipeTransform {\n public transform<K extends string>(\n key: K,\n ): TuiStringHandler<Readonly<Record<any, any> & Record<K, unknown>>> {\n return (value) => String(value[key] ?? '');\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,gBAAgB,CAAA;AAClB,IAAA,SAAS,CACZ,GAAM,EAAA;AAEN,QAAA,OAAO,CAAC,KAAK,KAAK,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;IAC9C;+GALS,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAhB,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,cAAA,EAAA,CAAA,CAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAH5B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,cAAc;AACvB,iBAAA;;;ACLD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-pipes-stringify.mjs","sources":["../../../projects/kit/pipes/stringify/stringify.pipe.ts","../../../projects/kit/pipes/stringify/taiga-ui-kit-pipes-stringify.ts"],"sourcesContent":["import {Pipe, type PipeTransform} from '@angular/core';\nimport {type TuiStringHandler} from '@taiga-ui/cdk/types';\n\n@Pipe({\n name: 'tuiStringify',\n})\nexport class TuiStringifyPipe implements PipeTransform {\n public transform<K extends string>(\n key: K,\n ): TuiStringHandler<Readonly<Record<any, any> & Record<K, unknown>>> {\n return (value) => String(value[key] ?? '');\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,gBAAgB,CAAA;AAClB,IAAA,SAAS,CACZ,GAAM,EAAA;AAEN,QAAA,OAAO,CAAC,KAAK,KAAK,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;;+GAJrC,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAhB,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,cAAA,EAAA,CAAA,CAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAH5B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,cAAc;AACvB,iBAAA;;;ACLD;;AAEG;;;;"}
@@ -1,16 +1,8 @@
1
- import { InjectionToken, Optional, Self, inject } from '@angular/core';
1
+ import { InjectionToken, Optional, Self } from '@angular/core';
2
2
  import { NgControl } from '@angular/forms';
3
3
  import { tuiControlValue } from '@taiga-ui/cdk/observables';
4
4
  import { of, map } from 'rxjs';
5
- import { TUI_IDENTITY_VALUE_TRANSFORMER } from '@taiga-ui/cdk/classes';
6
5
  import { tuiExtractI18n } from '@taiga-ui/i18n/utils';
7
- import { TUI_LAST_DAY, TUI_FIRST_DAY } from '@taiga-ui/cdk/date-time';
8
- import { tuiCreateOptions } from '@taiga-ui/cdk/utils/di';
9
- import { TUI_FALSE_HANDLER, TUI_DEFAULT_IDENTITY_MATCHER } from '@taiga-ui/cdk/constants';
10
- import { TUI_IS_MOBILE } from '@taiga-ui/cdk/tokens';
11
- import { TUI_DROPDOWN_COMPONENT } from '@taiga-ui/core/portals/dropdown';
12
- import { toObservable } from '@angular/core/rxjs-interop';
13
- import { TUI_MONTHS } from '@taiga-ui/core/tokens';
14
6
 
15
7
  /**
16
8
  * Stream that emits calendar data change
@@ -33,25 +25,6 @@ function tuiControlValueFactory(control, transformer) {
33
25
  : of(null);
34
26
  }
35
27
 
36
- /**
37
- * Control value transformer of TuiDay to custom value format for InputDate* components
38
- */
39
- const TUI_DATE_VALUE_TRANSFORMER = new InjectionToken(ngDevMode ? 'TUI_DATE_VALUE_TRANSFORMER' : '', {
40
- factory: () => TUI_IDENTITY_VALUE_TRANSFORMER,
41
- });
42
- /**
43
- * Control value transformer for InputDateRange component
44
- */
45
- const TUI_DATE_RANGE_VALUE_TRANSFORMER = new InjectionToken(ngDevMode ? 'TUI_DATE_RANGE_VALUE_TRANSFORMER' : '');
46
- /**
47
- * Control value transformer for InputDateTime component
48
- */
49
- const TUI_DATE_TIME_VALUE_TRANSFORMER = new InjectionToken(ngDevMode ? 'TUI_DATE_TIME_VALUE_TRANSFORMER' : '');
50
- /**
51
- * Control value transformer for InputTime component
52
- */
53
- const TUI_TIME_VALUE_TRANSFORMER = new InjectionToken(ngDevMode ? 'TUI_TIME_VALUE_TRANSFORMER' : '');
54
-
55
28
  const TUI_CONFIRM_WORDS = new InjectionToken(ngDevMode ? 'TUI_CONFIRM_WORDS' : '', {
56
29
  factory: tuiExtractI18n('confirm'),
57
30
  });
@@ -124,66 +97,13 @@ const TUI_PREVIEW_ZOOM_TEXTS = new InjectionToken(ngDevMode ? 'TUI_PREVIEW_ZOOM_
124
97
  const TUI_INTERNATIONAL_SEARCH = new InjectionToken(ngDevMode ? 'TUI_INTERNATIONAL_SEARCH' : '', {
125
98
  factory: tuiExtractI18n('phoneSearch'),
126
99
  });
127
-
128
- const TUI_INPUT_DATE_DEFAULT_OPTIONS = {
129
- icon: () => '@tui.calendar',
130
- min: TUI_FIRST_DAY,
131
- max: TUI_LAST_DAY,
132
- nativePicker: false,
133
- };
134
- /**
135
- * Default parameters for InputDate component
136
- */
137
- const [TUI_INPUT_DATE_OPTIONS, tuiInputDateOptionsProvider] = tuiCreateOptions(TUI_INPUT_DATE_DEFAULT_OPTIONS);
138
-
139
- /**
140
- * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
141
- * TODO(v5): delete
142
- */
143
- const TUI_DEFAULT_ITEMS_HANDLERS = {
144
- stringify: String,
145
- identityMatcher: TUI_DEFAULT_IDENTITY_MATCHER,
146
- disabledItemHandler: TUI_FALSE_HANDLER,
147
- };
148
- /**
149
- * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.
150
- * TODO(v5): delete
151
- */
152
- const [TUI_ITEMS_HANDLERS, tuiItemsHandlersProvider] = tuiCreateOptions(TUI_DEFAULT_ITEMS_HANDLERS);
153
-
154
- /**
155
- * A component for mobile data picker
156
- */
157
- const TUI_MOBILE_CALENDAR = new InjectionToken(ngDevMode ? 'TUI_MOBILE_CALENDAR' : '');
158
- const TUI_MOBILE_CALENDAR_PROVIDER = {
159
- provide: TUI_DROPDOWN_COMPONENT,
160
- useFactory: () => (inject(TUI_IS_MOBILE) && inject(TUI_MOBILE_CALENDAR, { optional: true })) ||
161
- inject(TUI_DROPDOWN_COMPONENT, { skipSelf: true }),
162
- };
163
-
164
- // TODO: replace with signal
165
- const TUI_MONTH_FORMATTER = new InjectionToken(ngDevMode ? 'TUI_MONTH_FORMATTER' : '', {
166
- factory: () => toObservable(inject(TUI_MONTHS)).pipe(map((months) => (date) => {
167
- if (!date) {
168
- return '';
169
- }
170
- return `${months[date.month] ?? ''} ${date.formattedYear}`;
171
- })),
100
+ const TUI_DAY_RANGE_PERIODS = new InjectionToken(ngDevMode ? 'TUI_DAY_RANGE_PERIODS' : '', {
101
+ factory: tuiExtractI18n('dayRangePeriods'),
172
102
  });
173
103
 
174
- const TUI_PREVIEW_ICONS_DEFAULT = {
175
- rotate: '@tui.rotate-ccw-square',
176
- prev: '@tui.arrow-left',
177
- next: '@tui.arrow-right',
178
- zoomIn: '@tui.plus',
179
- zoomOut: '@tui.minus',
180
- zoomReset: '@tui.minimize',
181
- };
182
- const [TUI_PREVIEW_ICONS, tuiPreviewIconsProvider] = tuiCreateOptions(TUI_PREVIEW_ICONS_DEFAULT);
183
-
184
104
  /**
185
105
  * Generated bundle index. Do not edit.
186
106
  */
187
107
 
188
- export { TUI_CALENDAR_DATE_STREAM, TUI_CALENDAR_MONTHS, TUI_CANCEL_WORD, TUI_CHOOSE_DAY_OR_RANGE_TEXTS, TUI_CONFIRM_WORDS, TUI_COPY_TEXTS, TUI_COUNTRIES, TUI_DATE_RANGE_VALUE_TRANSFORMER, TUI_DATE_TEXTS, TUI_DATE_TIME_VALUE_TRANSFORMER, TUI_DATE_VALUE_TRANSFORMER, TUI_DEFAULT_ITEMS_HANDLERS, TUI_DIGITAL_INFORMATION_UNITS, TUI_DONE_WORD, TUI_FILE_TEXTS, TUI_FROM_TO_TEXTS, TUI_HIDE_TEXT, TUI_INPUT_DATE_DEFAULT_OPTIONS, TUI_INPUT_DATE_OPTIONS, TUI_INPUT_FILE_TEXTS, TUI_INTERNATIONAL_SEARCH, TUI_ITEMS_HANDLERS, TUI_MOBILE_CALENDAR, TUI_MOBILE_CALENDAR_PROVIDER, TUI_MONTH_FORMATTER, TUI_MORE_WORD, TUI_MULTI_SELECT_TEXTS, TUI_OTHER_DATE_TEXT, TUI_PAGINATION_TEXTS, TUI_PASSWORD_TEXTS, TUI_PLUS_MINUS_TEXTS, TUI_PREVIEW_ICONS, TUI_PREVIEW_ICONS_DEFAULT, TUI_PREVIEW_TEXTS, TUI_PREVIEW_ZOOM_TEXTS, TUI_SHOW_ALL_TEXT, TUI_TIME_TEXTS, TUI_TIME_VALUE_TRANSFORMER, tuiDateStreamWithTransformer, tuiInputDateOptionsProvider, tuiItemsHandlersProvider, tuiPreviewIconsProvider };
108
+ export { TUI_CALENDAR_DATE_STREAM, TUI_CALENDAR_MONTHS, TUI_CANCEL_WORD, TUI_CHOOSE_DAY_OR_RANGE_TEXTS, TUI_CONFIRM_WORDS, TUI_COPY_TEXTS, TUI_COUNTRIES, TUI_DATE_TEXTS, TUI_DAY_RANGE_PERIODS, TUI_DIGITAL_INFORMATION_UNITS, TUI_DONE_WORD, TUI_FILE_TEXTS, TUI_FROM_TO_TEXTS, TUI_HIDE_TEXT, TUI_INPUT_FILE_TEXTS, TUI_INTERNATIONAL_SEARCH, TUI_MORE_WORD, TUI_MULTI_SELECT_TEXTS, TUI_OTHER_DATE_TEXT, TUI_PAGINATION_TEXTS, TUI_PASSWORD_TEXTS, TUI_PLUS_MINUS_TEXTS, TUI_PREVIEW_TEXTS, TUI_PREVIEW_ZOOM_TEXTS, TUI_SHOW_ALL_TEXT, TUI_TIME_TEXTS, tuiDateStreamWithTransformer };
189
109
  //# sourceMappingURL=taiga-ui-kit-tokens.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-tokens.mjs","sources":["../../../projects/kit/tokens/calendar-date-stream.ts","../../../projects/kit/tokens/date-inputs-value-transformers.ts","../../../projects/kit/tokens/i18n.ts","../../../projects/kit/tokens/input-date-options.ts","../../../projects/kit/tokens/items-handlers.ts","../../../projects/kit/tokens/mobile-calendar.ts","../../../projects/kit/tokens/month-formatter.ts","../../../projects/kit/tokens/preview-icons.ts","../../../projects/kit/tokens/taiga-ui-kit-tokens.ts"],"sourcesContent":["import {InjectionToken, Optional, type Provider, Self} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {type TuiValueTransformer} from '@taiga-ui/cdk/classes';\nimport {type TuiDay, type TuiDayRange, type TuiTime} from '@taiga-ui/cdk/date-time';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {map, type Observable, of} from 'rxjs';\n\n/**\n * Stream that emits calendar data change\n * @deprecated this should be rewritten in v5\n */\nexport const TUI_CALENDAR_DATE_STREAM = new InjectionToken<\n Observable<TuiDay | TuiDayRange | null>\n>(ngDevMode ? 'TUI_CALENDAR_DATE_STREAM' : '');\n\nexport function tuiDateStreamWithTransformer(\n transformer: InjectionToken<TuiValueTransformer<any>>,\n): Provider {\n return {\n provide: TUI_CALENDAR_DATE_STREAM,\n deps: [\n [new Optional(), new Self(), NgControl],\n [new Optional(), transformer],\n ],\n useFactory: tuiControlValueFactory,\n };\n}\n\nfunction tuiControlValueFactory<\n T extends TuiDay | TuiDayRange | [TuiDay, TuiTime | null],\n>(\n control: NgControl | null,\n transformer?: TuiValueTransformer<T> | null,\n): Observable<T | null> | null {\n return control\n ? tuiControlValue(control).pipe(\n map((value) =>\n transformer ? transformer?.fromControlValue(value) : (value as T),\n ),\n )\n : of(null);\n}\n","import {InjectionToken} from '@angular/core';\nimport {\n TUI_IDENTITY_VALUE_TRANSFORMER,\n type TuiValueTransformer,\n} from '@taiga-ui/cdk/classes';\nimport {type TuiDay, type TuiDayRange, type TuiTime} from '@taiga-ui/cdk/date-time';\n\n/**\n * Control value transformer of TuiDay to custom value format for InputDate* components\n */\nexport const TUI_DATE_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<TuiDay | null>\n>(ngDevMode ? 'TUI_DATE_VALUE_TRANSFORMER' : '', {\n factory: () => TUI_IDENTITY_VALUE_TRANSFORMER,\n});\n\n/**\n * Control value transformer for InputDateRange component\n */\nexport const TUI_DATE_RANGE_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<TuiDayRange | null>\n>(ngDevMode ? 'TUI_DATE_RANGE_VALUE_TRANSFORMER' : '');\n\n/**\n * Control value transformer for InputDateTime component\n */\nexport const TUI_DATE_TIME_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<[TuiDay, TuiTime | null]>\n>(ngDevMode ? 'TUI_DATE_TIME_VALUE_TRANSFORMER' : '');\n\n/**\n * Control value transformer for InputTime component\n */\nexport const TUI_TIME_VALUE_TRANSFORMER = new InjectionToken<\n TuiValueTransformer<TuiTime | null>\n>(ngDevMode ? 'TUI_TIME_VALUE_TRANSFORMER' : '');\n","import {InjectionToken, type Signal} from '@angular/core';\nimport {type TuiDateMode} from '@taiga-ui/cdk/date-time';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {tuiExtractI18n} from '@taiga-ui/i18n/utils';\n\nexport const TUI_CONFIRM_WORDS = new InjectionToken(\n ngDevMode ? 'TUI_CONFIRM_WORDS' : '',\n {\n factory: tuiExtractI18n('confirm'),\n },\n);\n\nexport const TUI_CANCEL_WORD = new InjectionToken(ngDevMode ? 'TUI_CANCEL_WORD' : '', {\n factory: tuiExtractI18n('cancel'),\n});\n\nexport const TUI_DONE_WORD = new InjectionToken(ngDevMode ? 'TUI_DONE_WORD' : '', {\n factory: tuiExtractI18n('done'),\n});\n\nexport const TUI_MORE_WORD = new InjectionToken(ngDevMode ? 'TUI_MORE_WORD' : '', {\n factory: tuiExtractI18n('more'),\n});\n\nexport const TUI_HIDE_TEXT = new InjectionToken(ngDevMode ? 'TUI_HIDE_TEXT' : '', {\n factory: tuiExtractI18n('hide'),\n});\n\nexport const TUI_SHOW_ALL_TEXT = new InjectionToken(\n ngDevMode ? 'TUI_SHOW_ALL_TEXT' : '',\n {\n factory: tuiExtractI18n('showAll'),\n },\n);\n\nexport const TUI_OTHER_DATE_TEXT = new InjectionToken(\n ngDevMode ? 'TUI_OTHER_DATE_TEXT' : '',\n {\n factory: tuiExtractI18n('otherDate'),\n },\n);\n\nexport const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_CHOOSE_DAY_OR_RANGE_TEXTS' : '',\n {\n factory: tuiExtractI18n('mobileCalendarTexts'),\n },\n);\n\nexport const TUI_FROM_TO_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_FROM_TO_TEXTS' : '',\n {\n factory: tuiExtractI18n('range'),\n },\n);\n\nexport const TUI_PLUS_MINUS_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PLUS_MINUS_TEXTS' : '',\n {\n factory: tuiExtractI18n('countTexts'),\n },\n);\n\nexport const TUI_TIME_TEXTS = new InjectionToken(ngDevMode ? 'TUI_TIME_TEXTS' : '', {\n factory: tuiExtractI18n('time'),\n});\n\nexport const TUI_DATE_TEXTS = new InjectionToken<Signal<Record<TuiDateMode, string>>>(\n ngDevMode ? 'TUI_DATE_TEXTS' : '',\n {\n factory: tuiExtractI18n('dateTexts'),\n },\n);\n\nexport const TUI_DIGITAL_INFORMATION_UNITS = new InjectionToken(\n ngDevMode ? 'TUI_DIGITAL_INFORMATION_UNITS' : '',\n {\n factory: tuiExtractI18n('digitalInformationUnits'),\n },\n);\n\nexport const TUI_COPY_TEXTS = new InjectionToken(ngDevMode ? 'TUI_COPY_TEXTS' : '', {\n factory: tuiExtractI18n('copyTexts'),\n});\n\nexport const TUI_PASSWORD_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PASSWORD_TEXTS' : '',\n {\n factory: tuiExtractI18n('passwordTexts'),\n },\n);\n\nexport const TUI_CALENDAR_MONTHS = new InjectionToken(\n ngDevMode ? 'TUI_CALENDAR_MONTHS' : '',\n {\n factory: tuiExtractI18n('shortCalendarMonths'),\n },\n);\n\nexport const TUI_FILE_TEXTS = new InjectionToken(ngDevMode ? 'TUI_FILE_TEXTS' : '', {\n factory: tuiExtractI18n('fileTexts'),\n});\n\nexport const TUI_PAGINATION_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PAGINATION_TEXTS' : '',\n {\n factory: tuiExtractI18n('pagination'),\n },\n);\n\nexport const TUI_INPUT_FILE_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_INPUT_FILE_TEXTS' : '',\n {\n factory: tuiExtractI18n('inputFileTexts'),\n },\n);\n\nexport const TUI_MULTI_SELECT_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_MULTI_SELECT_TEXTS' : '',\n {\n factory: tuiExtractI18n('multiSelectTexts'),\n },\n);\n\nexport const TUI_COUNTRIES = new InjectionToken<\n Signal<Record<TuiCountryIsoCode, string>>\n>(ngDevMode ? 'TUI_COUNTRIES' : '', {\n factory: tuiExtractI18n('countries'),\n});\n\nexport const TUI_PREVIEW_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_TEXTS' : '',\n {\n factory: tuiExtractI18n('previewTexts'),\n },\n);\n\nexport const TUI_PREVIEW_ZOOM_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_ZOOM_TEXTS' : '',\n {\n factory: tuiExtractI18n('zoomTexts'),\n },\n);\n\nexport const TUI_INTERNATIONAL_SEARCH = new InjectionToken(\n ngDevMode ? 'TUI_INTERNATIONAL_SEARCH' : '',\n {\n factory: tuiExtractI18n('phoneSearch'),\n },\n);\n","import {TUI_FIRST_DAY, TUI_LAST_DAY, type TuiDay} from '@taiga-ui/cdk/date-time';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport interface TuiInputDateOptions {\n readonly icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;\n readonly max: TuiDay;\n readonly min: TuiDay;\n readonly nativePicker: boolean;\n}\n\nexport const TUI_INPUT_DATE_DEFAULT_OPTIONS: TuiInputDateOptions = {\n icon: () => '@tui.calendar',\n min: TUI_FIRST_DAY,\n max: TUI_LAST_DAY,\n nativePicker: false,\n};\n\n/**\n * Default parameters for InputDate component\n */\nexport const [TUI_INPUT_DATE_OPTIONS, tuiInputDateOptionsProvider] = tuiCreateOptions(\n TUI_INPUT_DATE_DEFAULT_OPTIONS,\n);\n","import {TUI_DEFAULT_IDENTITY_MATCHER, TUI_FALSE_HANDLER} from '@taiga-ui/cdk/constants';\nimport {\n type TuiBooleanHandler,\n type TuiIdentityMatcher,\n type TuiStringHandler,\n} from '@taiga-ui/cdk/types';\nimport {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport interface TuiItemsHandlers<T> {\n readonly disabledItemHandler: TuiBooleanHandler<T>;\n readonly identityMatcher: TuiIdentityMatcher<T>;\n readonly stringify: TuiStringHandler<T>;\n}\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport const TUI_DEFAULT_ITEMS_HANDLERS: TuiItemsHandlers<unknown> = {\n stringify: String,\n identityMatcher: TUI_DEFAULT_IDENTITY_MATCHER,\n disabledItemHandler: TUI_FALSE_HANDLER,\n};\n\n/**\n * @deprecated use it only for LEGACY controls. For new controls use the same entity from `@taiga-ui/core`.\n * TODO(v5): delete\n */\nexport const [TUI_ITEMS_HANDLERS, tuiItemsHandlersProvider] = tuiCreateOptions(\n TUI_DEFAULT_ITEMS_HANDLERS,\n);\n","import {type FactoryProvider, inject, InjectionToken, type Type} from '@angular/core';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {TUI_DROPDOWN_COMPONENT} from '@taiga-ui/core/portals/dropdown';\n\n/**\n * A component for mobile data picker\n */\nexport const TUI_MOBILE_CALENDAR = new InjectionToken<Type<unknown>>(\n ngDevMode ? 'TUI_MOBILE_CALENDAR' : '',\n);\n\nexport const TUI_MOBILE_CALENDAR_PROVIDER: FactoryProvider = {\n provide: TUI_DROPDOWN_COMPONENT,\n useFactory: () =>\n (inject(TUI_IS_MOBILE) && inject(TUI_MOBILE_CALENDAR, {optional: true})) ||\n inject(TUI_DROPDOWN_COMPONENT, {skipSelf: true}),\n};\n","import {inject, InjectionToken} from '@angular/core';\nimport {toObservable} from '@angular/core/rxjs-interop';\nimport {type TuiMonth} from '@taiga-ui/cdk/date-time';\nimport {type TuiHandler} from '@taiga-ui/cdk/types';\nimport {TUI_MONTHS} from '@taiga-ui/core/tokens';\nimport {map, type Observable} from 'rxjs';\n\n// TODO: replace with signal\nexport const TUI_MONTH_FORMATTER = new InjectionToken<\n Observable<TuiHandler<TuiMonth | null, string>>\n>(ngDevMode ? 'TUI_MONTH_FORMATTER' : '', {\n factory: () =>\n toObservable(inject(TUI_MONTHS)).pipe(\n map((months) => (date) => {\n if (!date) {\n return '';\n }\n\n return `${months[date.month] ?? ''} ${date.formattedYear}`;\n }),\n ),\n});\n","import {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\n\nexport interface TuiPreviewIcons {\n readonly next: string;\n readonly prev: string;\n readonly rotate: string;\n readonly zoomIn: string;\n readonly zoomOut: string;\n readonly zoomReset: string;\n}\n\nexport const TUI_PREVIEW_ICONS_DEFAULT: TuiPreviewIcons = {\n rotate: '@tui.rotate-ccw-square',\n prev: '@tui.arrow-left',\n next: '@tui.arrow-right',\n zoomIn: '@tui.plus',\n zoomOut: '@tui.minus',\n zoomReset: '@tui.minimize',\n};\n\nexport const [TUI_PREVIEW_ICONS, tuiPreviewIconsProvider] = tuiCreateOptions(\n TUI_PREVIEW_ICONS_DEFAULT,\n);\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAOA;;;AAGG;AACI,MAAM,wBAAwB,GAAG,IAAI,cAAc,CAExD,SAAS,GAAG,0BAA0B,GAAG,EAAE;AAEvC,SAAU,4BAA4B,CACxC,WAAqD,EAAA;IAErD,OAAO;AACH,QAAA,OAAO,EAAE,wBAAwB;AACjC,QAAA,IAAI,EAAE;Y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C/B,UAAU,EAAE,MACR,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,MAAM,CAAC,mBAAmB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;QACvE,MAAM,CAAC,sBAAsB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;;;ACRxD;AACO,MAAM,mBAAmB,GAAG,IAAI,cAAc,CAEnD,SAAS,GAAG,qBAAqB,GAAG,EAAE,EAAE;IACtC,OAAO,EAAE,MACL,YAAY,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CACjC,GAAG,CAAC,CAAC,MAAM,KAAK,CAAC,IAAI,KAAI;QACrB,IAAI,CAAC,IAAI,EAAE;AACP,YAAA,OAAO,EAAE;QACb;AAEA,QAAA,OAAO,CAAA,EAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAA,CAAA,EAAI,IAAI,CAAC,aAAa,EAAE;AAC9D,IAAA,CAAC,CAAC,CACL;AACR,CAAA;;ACVM,MAAM,yBAAyB,GAAoB;AACtD,IAAA,MAAM,EAAE,wBAAwB;AAChC,IAAA,IAAI,EAAE,iBAAiB;AACvB,IAAA,IAAI,EAAE,kBAAkB;AACxB,IAAA,MAAM,EAAE,WAAW;AACnB,IAAA,OAAO,EAAE,YAAY;AACrB,IAAA,SAAS,EAAE,eAAe;;AAGvB,MAAM,CAAC,iBAAiB,EAAE,uBAAuB,CAAC,GAAG,gBAAgB,CACxE,yBAAyB;;ACrB7B;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-tokens.mjs","sources":["../../../projects/kit/tokens/calendar-date-stream.ts","../../../projects/kit/tokens/i18n.ts","../../../projects/kit/tokens/taiga-ui-kit-tokens.ts"],"sourcesContent":["import {InjectionToken, Optional, type Provider, Self} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {type TuiValueTransformer} from '@taiga-ui/cdk/classes';\nimport {type TuiDay, type TuiDayRange, type TuiTime} from '@taiga-ui/cdk/date-time';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {map, type Observable, of} from 'rxjs';\n\n/**\n * Stream that emits calendar data change\n * @deprecated this should be rewritten in v5\n */\nexport const TUI_CALENDAR_DATE_STREAM = new InjectionToken<\n Observable<TuiDay | TuiDayRange | null>\n>(ngDevMode ? 'TUI_CALENDAR_DATE_STREAM' : '');\n\nexport function tuiDateStreamWithTransformer(\n transformer: InjectionToken<TuiValueTransformer<any>>,\n): Provider {\n return {\n provide: TUI_CALENDAR_DATE_STREAM,\n deps: [\n [new Optional(), new Self(), NgControl],\n [new Optional(), transformer],\n ],\n useFactory: tuiControlValueFactory,\n };\n}\n\nfunction tuiControlValueFactory<\n T extends TuiDay | TuiDayRange | [TuiDay, TuiTime | null],\n>(\n control: NgControl | null,\n transformer?: TuiValueTransformer<T> | null,\n): Observable<T | null> | null {\n return control\n ? tuiControlValue(control).pipe(\n map((value) =>\n transformer ? transformer?.fromControlValue(value) : (value as T),\n ),\n )\n : of(null);\n}\n","import {InjectionToken, type Signal} from '@angular/core';\nimport {type TuiDateMode} from '@taiga-ui/cdk/date-time';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\nimport {tuiExtractI18n} from '@taiga-ui/i18n/utils';\n\nexport const TUI_CONFIRM_WORDS = new InjectionToken(\n ngDevMode ? 'TUI_CONFIRM_WORDS' : '',\n {\n factory: tuiExtractI18n('confirm'),\n },\n);\n\nexport const TUI_CANCEL_WORD = new InjectionToken(ngDevMode ? 'TUI_CANCEL_WORD' : '', {\n factory: tuiExtractI18n('cancel'),\n});\n\nexport const TUI_DONE_WORD = new InjectionToken(ngDevMode ? 'TUI_DONE_WORD' : '', {\n factory: tuiExtractI18n('done'),\n});\n\nexport const TUI_MORE_WORD = new InjectionToken(ngDevMode ? 'TUI_MORE_WORD' : '', {\n factory: tuiExtractI18n('more'),\n});\n\nexport const TUI_HIDE_TEXT = new InjectionToken(ngDevMode ? 'TUI_HIDE_TEXT' : '', {\n factory: tuiExtractI18n('hide'),\n});\n\nexport const TUI_SHOW_ALL_TEXT = new InjectionToken(\n ngDevMode ? 'TUI_SHOW_ALL_TEXT' : '',\n {\n factory: tuiExtractI18n('showAll'),\n },\n);\n\nexport const TUI_OTHER_DATE_TEXT = new InjectionToken(\n ngDevMode ? 'TUI_OTHER_DATE_TEXT' : '',\n {\n factory: tuiExtractI18n('otherDate'),\n },\n);\n\nexport const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_CHOOSE_DAY_OR_RANGE_TEXTS' : '',\n {\n factory: tuiExtractI18n('mobileCalendarTexts'),\n },\n);\n\nexport const TUI_FROM_TO_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_FROM_TO_TEXTS' : '',\n {\n factory: tuiExtractI18n('range'),\n },\n);\n\nexport const TUI_PLUS_MINUS_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PLUS_MINUS_TEXTS' : '',\n {\n factory: tuiExtractI18n('countTexts'),\n },\n);\n\nexport const TUI_TIME_TEXTS = new InjectionToken(ngDevMode ? 'TUI_TIME_TEXTS' : '', {\n factory: tuiExtractI18n('time'),\n});\n\nexport const TUI_DATE_TEXTS = new InjectionToken<Signal<Record<TuiDateMode, string>>>(\n ngDevMode ? 'TUI_DATE_TEXTS' : '',\n {\n factory: tuiExtractI18n('dateTexts'),\n },\n);\n\nexport const TUI_DIGITAL_INFORMATION_UNITS = new InjectionToken(\n ngDevMode ? 'TUI_DIGITAL_INFORMATION_UNITS' : '',\n {\n factory: tuiExtractI18n('digitalInformationUnits'),\n },\n);\n\nexport const TUI_COPY_TEXTS = new InjectionToken(ngDevMode ? 'TUI_COPY_TEXTS' : '', {\n factory: tuiExtractI18n('copyTexts'),\n});\n\nexport const TUI_PASSWORD_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PASSWORD_TEXTS' : '',\n {\n factory: tuiExtractI18n('passwordTexts'),\n },\n);\n\nexport const TUI_CALENDAR_MONTHS = new InjectionToken(\n ngDevMode ? 'TUI_CALENDAR_MONTHS' : '',\n {\n factory: tuiExtractI18n('shortCalendarMonths'),\n },\n);\n\nexport const TUI_FILE_TEXTS = new InjectionToken(ngDevMode ? 'TUI_FILE_TEXTS' : '', {\n factory: tuiExtractI18n('fileTexts'),\n});\n\nexport const TUI_PAGINATION_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PAGINATION_TEXTS' : '',\n {\n factory: tuiExtractI18n('pagination'),\n },\n);\n\nexport const TUI_INPUT_FILE_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_INPUT_FILE_TEXTS' : '',\n {\n factory: tuiExtractI18n('inputFileTexts'),\n },\n);\n\nexport const TUI_MULTI_SELECT_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_MULTI_SELECT_TEXTS' : '',\n {\n factory: tuiExtractI18n('multiSelectTexts'),\n },\n);\n\nexport const TUI_COUNTRIES = new InjectionToken<\n Signal<Record<TuiCountryIsoCode, string>>\n>(ngDevMode ? 'TUI_COUNTRIES' : '', {\n factory: tuiExtractI18n('countries'),\n});\n\nexport const TUI_PREVIEW_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_TEXTS' : '',\n {\n factory: tuiExtractI18n('previewTexts'),\n },\n);\n\nexport const TUI_PREVIEW_ZOOM_TEXTS = new InjectionToken(\n ngDevMode ? 'TUI_PREVIEW_ZOOM_TEXTS' : '',\n {\n factory: tuiExtractI18n('zoomTexts'),\n },\n);\n\nexport const TUI_INTERNATIONAL_SEARCH = new InjectionToken(\n ngDevMode ? 'TUI_INTERNATIONAL_SEARCH' : '',\n {\n factory: tuiExtractI18n('phoneSearch'),\n },\n);\n\nexport const TUI_DAY_RANGE_PERIODS = new InjectionToken(\n ngDevMode ? 'TUI_DAY_RANGE_PERIODS' : '',\n {\n factory: tuiExtractI18n('dayRangePeriods'),\n },\n);\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";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,CAC/C,SAAS,GAAG,mBAAmB,GAAG,EAAE,EACpC;AACI,IAAA,OAAO,EAAE,cAAc,CAAC,cAAc,CAAC;AAC1C,CAAA;AAGQ,MAAA,sBAAsB,GAAG,IAAI,cAAc,CACpD,SAAS,GAAG,wBAAwB,GAAG,EAAE,EACzC;AACI,IAAA,OAAO,EAAE,cAAc,CAAC,WAAW,CAAC;AACvC,CAAA;AAGQ,MAAA,wBAAwB,GAAG,IAAI,cAAc,CACtD,SAAS,GAAG,0BAA0B,GAAG,EAAE,EAC3C;AACI,IAAA,OAAO,EAAE,cAAc,CAAC,aAAa,CAAC;AACzC,CAAA;AAGQ,MAAA,qBAAqB,GAAG,IAAI,cAAc,CACnD,SAAS,GAAG,uBAAuB,GAAG,EAAE,EACxC;AACI,IAAA,OAAO,EAAE,cAAc,CAAC,iBAAiB,CAAC;AAC7C,CAAA;;AC3JL;;AAEG;;;;"}
@@ -5,7 +5,7 @@ import { NgControl } from '@angular/forms';
5
5
  import { tuiControlValue } from '@taiga-ui/cdk/observables';
6
6
  import { TuiTextfieldComponent } from '@taiga-ui/core/components/textfield';
7
7
  import { MaskitoDirective } from '@maskito/angular';
8
- import { tuiDirectiveBinding } from '@taiga-ui/cdk/utils';
8
+ import { tuiDirectiveBinding } from '@taiga-ui/cdk/utils/di';
9
9
 
10
10
  function tuiCreateTimePeriods(minHour = 0, maxHour = HOURS_IN_DAY, minutes = [0, 30]) {
11
11
  const timeArray = [];
@@ -32,15 +32,9 @@ function tuiMaskito(options) {
32
32
  return tuiDirectiveBinding(MaskitoDirective, 'options', options);
33
33
  }
34
34
 
35
- function tuiToggleDay(days, day) {
36
- return ((days?.find((item) => item.daySame(day))
37
- ? days.filter((item) => !item.daySame(day))
38
- : days?.concat(day)) || []);
39
- }
40
-
41
35
  /**
42
36
  * Generated bundle index. Do not edit.
43
37
  */
44
38
 
45
- export { tuiCreateTimePeriods, tuiInjectValue, tuiIsFlat, tuiMaskito, tuiToggleDay };
39
+ export { tuiCreateTimePeriods, tuiInjectValue, tuiIsFlat, tuiMaskito };
46
40
  //# sourceMappingURL=taiga-ui-kit-utils.mjs.map
@@ -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/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 {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":";;;;;;;;;AAEM,SAAU,oBAAoB,CAChC,OAAO,GAAG,CAAC,EACX,OAAA,GAAkB,YAAY,EAC9B,OAAA,GAA6B,CAAC,CAAC,EAAE,EAAE,CAAC,EAAA;IAEpC,MAAM,SAAS,GAAc,EAAE;AAE/B,IAAA,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;AAEnC,YAAA,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;AACxB,QAAA,CAAC,CAAC;IACN;AAEA,IAAA,OAAO,SAAS;AACpB;;SCZgB,cAAc,GAAA;AAC1B,IAAA,MAAM,OAAO,GACT,MAAM,CAAC,qBAAqB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,EAAE,OAAO,EAAE;QAC1D,MAAM,CAAC,SAAS,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;AAEvC,IAAA,OAAO,QAAQ,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,EAAC,WAAW,EAAE,IAAI,EAAC,CAAC;AAClE;;ACZM,SAAU,SAAS,CACrB,KAAiD,EAAA;IAEjD,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACnC;;ACKM,SAAU,UAAU,CAAC,OAAsB,EAAA;IAC7C,OAAO,mBAAmB,CAAC,gBAAgB,EAAE,SAAS,EAAE,OAAO,CAAC;AACpE;;ACTM,SAAU,YAAY,CACxB,IAA8B,EAC9B,GAAW,EAAA;AAEX,IAAA,QACI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC;AACnC,UAAE,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC;UACxC,IAAI,EAAE,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE;AAEtC;;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/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/di';\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","/**\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;AAE/B,IAAA,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;AAEnC,YAAA,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC;AACxB,SAAC,CAAC;;AAGN,IAAA,OAAO,SAAS;AACpB;;SCZgB,cAAc,GAAA;AAC1B,IAAA,MAAM,OAAO,GACT,MAAM,CAAC,qBAAqB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,EAAE,OAAO,EAAE;QAC1D,MAAM,CAAC,SAAS,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;AAEvC,IAAA,OAAO,QAAQ,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,EAAC,WAAW,EAAE,IAAI,EAAC,CAAC;AAClE;;ACZM,SAAU,SAAS,CACrB,KAAiD,EAAA;IAEjD,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACnC;;ACKM,SAAU,UAAU,CAAC,OAAsB,EAAA;IAC7C,OAAO,mBAAmB,CAAC,gBAAgB,EAAE,SAAS,EAAE,OAAO,CAAC;AACpE;;ACXA;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/kit",
3
- "version": "4.52.0-canary.6de148b",
3
+ "version": "4.52.0-canary.763e67d",
4
4
  "description": "Taiga UI Angular main components kit",
5
5
  "keywords": [
6
6
  "angular",
@@ -40,10 +40,6 @@
40
40
  "types": "./tokens/index.d.ts",
41
41
  "default": "./fesm2022/taiga-ui-kit-tokens.mjs"
42
42
  },
43
- "./utils": {
44
- "types": "./utils/index.d.ts",
45
- "default": "./fesm2022/taiga-ui-kit-utils.mjs"
46
- },
47
43
  "./components/accordion": {
48
44
  "types": "./components/accordion/index.d.ts",
49
45
  "default": "./fesm2022/taiga-ui-kit-components-accordion.mjs"
@@ -52,14 +48,14 @@
52
48
  "types": "./components/action-bar/index.d.ts",
53
49
  "default": "./fesm2022/taiga-ui-kit-components-action-bar.mjs"
54
50
  },
51
+ "./utils": {
52
+ "types": "./utils/index.d.ts",
53
+ "default": "./fesm2022/taiga-ui-kit-utils.mjs"
54
+ },
55
55
  "./components/avatar": {
56
56
  "types": "./components/avatar/index.d.ts",
57
57
  "default": "./fesm2022/taiga-ui-kit-components-avatar.mjs"
58
58
  },
59
- "./components/badge": {
60
- "types": "./components/badge/index.d.ts",
61
- "default": "./fesm2022/taiga-ui-kit-components-badge.mjs"
62
- },
63
59
  "./components/badge-notification": {
64
60
  "types": "./components/badge-notification/index.d.ts",
65
61
  "default": "./fesm2022/taiga-ui-kit-components-badge-notification.mjs"
@@ -72,6 +68,10 @@
72
68
  "types": "./components/block/index.d.ts",
73
69
  "default": "./fesm2022/taiga-ui-kit-components-block.mjs"
74
70
  },
71
+ "./components/badge": {
72
+ "types": "./components/badge/index.d.ts",
73
+ "default": "./fesm2022/taiga-ui-kit-components-badge.mjs"
74
+ },
75
75
  "./components/breadcrumbs": {
76
76
  "types": "./components/breadcrumbs/index.d.ts",
77
77
  "default": "./fesm2022/taiga-ui-kit-components-breadcrumbs.mjs"
@@ -128,10 +128,6 @@
128
128
  "types": "./components/drawer/index.d.ts",
129
129
  "default": "./fesm2022/taiga-ui-kit-components-drawer.mjs"
130
130
  },
131
- "./components/elastic-container": {
132
- "types": "./components/elastic-container/index.d.ts",
133
- "default": "./fesm2022/taiga-ui-kit-components-elastic-container.mjs"
134
- },
135
131
  "./components/files": {
136
132
  "types": "./components/files/index.d.ts",
137
133
  "default": "./fesm2022/taiga-ui-kit-components-files.mjs"
@@ -140,10 +136,6 @@
140
136
  "types": "./components/filter/index.d.ts",
141
137
  "default": "./fesm2022/taiga-ui-kit-components-filter.mjs"
142
138
  },
143
- "./components/floating-container": {
144
- "types": "./components/floating-container/index.d.ts",
145
- "default": "./fesm2022/taiga-ui-kit-components-floating-container.mjs"
146
- },
147
139
  "./components/fullscreen": {
148
140
  "types": "./components/fullscreen/index.d.ts",
149
141
  "default": "./fesm2022/taiga-ui-kit-components-fullscreen.mjs"
@@ -216,10 +208,6 @@
216
208
  "types": "./components/input-year/index.d.ts",
217
209
  "default": "./fesm2022/taiga-ui-kit-components-input-year.mjs"
218
210
  },
219
- "./components/items-with-more": {
220
- "types": "./components/items-with-more/index.d.ts",
221
- "default": "./fesm2022/taiga-ui-kit-components-items-with-more.mjs"
222
- },
223
211
  "./components/like": {
224
212
  "types": "./components/like/index.d.ts",
225
213
  "default": "./fesm2022/taiga-ui-kit-components-like.mjs"
@@ -228,6 +216,10 @@
228
216
  "types": "./components/line-clamp/index.d.ts",
229
217
  "default": "./fesm2022/taiga-ui-kit-components-line-clamp.mjs"
230
218
  },
219
+ "./components/items-with-more": {
220
+ "types": "./components/items-with-more/index.d.ts",
221
+ "default": "./fesm2022/taiga-ui-kit-components-items-with-more.mjs"
222
+ },
231
223
  "./components/message": {
232
224
  "types": "./components/message/index.d.ts",
233
225
  "default": "./fesm2022/taiga-ui-kit-components-message.mjs"
@@ -300,10 +292,6 @@
300
292
  "types": "./components/slider/index.d.ts",
301
293
  "default": "./fesm2022/taiga-ui-kit-components-slider.mjs"
302
294
  },
303
- "./components/slides": {
304
- "types": "./components/slides/index.d.ts",
305
- "default": "./fesm2022/taiga-ui-kit-components-slides.mjs"
306
- },
307
295
  "./components/status": {
308
296
  "types": "./components/status/index.d.ts",
309
297
  "default": "./fesm2022/taiga-ui-kit-components-status.mjs"
@@ -368,14 +356,14 @@
368
356
  "types": "./directives/fluid-typography/index.d.ts",
369
357
  "default": "./fesm2022/taiga-ui-kit-directives-fluid-typography.mjs"
370
358
  },
371
- "./directives/highlight": {
372
- "types": "./directives/highlight/index.d.ts",
373
- "default": "./fesm2022/taiga-ui-kit-directives-highlight.mjs"
374
- },
375
359
  "./directives/password": {
376
360
  "types": "./directives/password/index.d.ts",
377
361
  "default": "./fesm2022/taiga-ui-kit-directives-password.mjs"
378
362
  },
363
+ "./directives/highlight": {
364
+ "types": "./directives/highlight/index.d.ts",
365
+ "default": "./fesm2022/taiga-ui-kit-directives-highlight.mjs"
366
+ },
379
367
  "./directives/present": {
380
368
  "types": "./directives/present/index.d.ts",
381
369
  "default": "./fesm2022/taiga-ui-kit-directives-present.mjs"
@@ -384,10 +372,6 @@
384
372
  "types": "./directives/sensitive/index.d.ts",
385
373
  "default": "./fesm2022/taiga-ui-kit-directives-sensitive.mjs"
386
374
  },
387
- "./directives/shimmer": {
388
- "types": "./directives/shimmer/index.d.ts",
389
- "default": "./fesm2022/taiga-ui-kit-directives-shimmer.mjs"
390
- },
391
375
  "./directives/skeleton": {
392
376
  "types": "./directives/skeleton/index.d.ts",
393
377
  "default": "./fesm2022/taiga-ui-kit-directives-skeleton.mjs"
@@ -396,6 +380,10 @@
396
380
  "types": "./directives/tooltip/index.d.ts",
397
381
  "default": "./fesm2022/taiga-ui-kit-directives-tooltip.mjs"
398
382
  },
383
+ "./directives/shimmer": {
384
+ "types": "./directives/shimmer/index.d.ts",
385
+ "default": "./fesm2022/taiga-ui-kit-directives-shimmer.mjs"
386
+ },
399
387
  "./directives/unfinished-validator": {
400
388
  "types": "./directives/unfinished-validator/index.d.ts",
401
389
  "default": "./fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs"
@@ -446,17 +434,17 @@
446
434
  "@angular/core": ">=19.0.0",
447
435
  "@angular/forms": ">=19.0.0",
448
436
  "@angular/router": ">=19.0.0",
449
- "@maskito/angular": "^4.0.1",
450
- "@maskito/core": "^4.0.1",
451
- "@maskito/kit": "^4.0.1",
452
- "@maskito/phone": "^4.0.1",
437
+ "@maskito/angular": "^5.0.0",
438
+ "@maskito/core": "^5.0.0",
439
+ "@maskito/kit": "^5.0.0",
440
+ "@maskito/phone": "^5.0.0",
453
441
  "@ng-web-apis/common": "^4.12.2",
454
442
  "@ng-web-apis/intersection-observer": "^4.12.2",
455
443
  "@ng-web-apis/mutation-observer": "^4.12.2",
456
444
  "@ng-web-apis/resize-observer": "^4.12.2",
457
445
  "@taiga-ui/cdk": "^4.52.0",
458
446
  "@taiga-ui/core": "^4.52.0",
459
- "@taiga-ui/design-tokens": "~0.270.0",
447
+ "@taiga-ui/design-tokens": "~0.273.0",
460
448
  "@taiga-ui/i18n": "^4.52.0",
461
449
  "@taiga-ui/polymorpheus": "^4.9.0",
462
450
  "rxjs": ">=7.0.0"
@@ -1,10 +1,11 @@
1
1
  import { type PipeTransform } from '@angular/core';
2
2
  import { type TuiCountryIsoCode } from '@taiga-ui/i18n/types';
3
- import { type Observable } from 'rxjs';
4
3
  import * as i0 from "@angular/core";
5
4
  export declare class TuiSortCountriesPipe implements PipeTransform {
6
- private readonly countriesNames$;
7
- transform(countries: readonly TuiCountryIsoCode[]): Observable<TuiCountryIsoCode[]>;
5
+ private readonly names;
6
+ private readonly countries;
7
+ private readonly result;
8
+ transform(countries: readonly TuiCountryIsoCode[]): TuiCountryIsoCode[];
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiSortCountriesPipe, never>;
9
10
  static ɵpipe: i0.ɵɵPipeDeclaration<TuiSortCountriesPipe, "tuiSortCountries", true>;
10
11
  }
@@ -36,7 +36,7 @@
36
36
  inline-size: 2rem;
37
37
 
38
38
  &::before {
39
- inline-size: 1.125rem;
39
+ inline-size: 1rem;
40
40
  transform: translateX(-1rem);
41
41
  font-size: 0.75rem;
42
42
  }
@@ -76,8 +76,8 @@
76
76
  }
77
77
 
78
78
  &::before {
79
+ left: 0.125rem;
79
80
  font-size: 1rem;
80
- inline-size: 1.375rem;
81
81
  transform: translateX(-1.5rem);
82
82
  }
83
83
 
package/tokens/i18n.d.ts CHANGED
@@ -63,3 +63,4 @@ export declare const TUI_PREVIEW_ZOOM_TEXTS: InjectionToken<Signal<{
63
63
  reset: string;
64
64
  }>>;
65
65
  export declare const TUI_INTERNATIONAL_SEARCH: InjectionToken<Signal<string>>;
66
+ export declare const TUI_DAY_RANGE_PERIODS: InjectionToken<Signal<readonly [forAllTime: string, today: string, yesterday: string, currentWeek: string, currentMonth: string, previousMonth: string]>>;
package/tokens/index.d.ts CHANGED
@@ -1,8 +1,2 @@
1
1
  export * from './calendar-date-stream';
2
- export * from './date-inputs-value-transformers';
3
2
  export * from './i18n';
4
- export * from './input-date-options';
5
- export * from './items-handlers';
6
- export * from './mobile-calendar';
7
- export * from './month-formatter';
8
- export * from './preview-icons';
package/utils/index.d.ts CHANGED
@@ -2,4 +2,3 @@ export * from './create-time-periods';
2
2
  export * from './inject-value';
3
3
  export * from './is-flat';
4
4
  export * from './maskito.binding';
5
- export * from './toggle-day';
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TuiElasticContainer {
3
- protected height: number;
4
- protected transitions: number;
5
- protected onAnimation(_name: string, count: number): void;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiElasticContainer, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiElasticContainer, "tui-elastic-container", never, {}, {}, never, ["*"], true, never>;
8
- }
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TuiElasticContainerDirective {
3
- private readonly el;
4
- readonly tuiElasticContainer: import("rxjs").Observable<number>;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiElasticContainerDirective, never>;
6
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiElasticContainerDirective, "[tuiElasticContainer]", never, {}, { "tuiElasticContainer": "tuiElasticContainer"; }, never, never, true, never>;
7
- }
@@ -1,2 +0,0 @@
1
- export * from './elastic-container.component';
2
- export * from './elastic-container.directive';
@@ -1,7 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TuiFloatingContainer {
3
- protected readonly nothing: undefined;
4
- readonly background: import("@angular/core").InputSignal<string>;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiFloatingContainer, never>;
6
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiFloatingContainer, "[tuiFloatingContainer]", never, { "background": { "alias": "tuiFloatingContainer"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
7
- }
@@ -1 +0,0 @@
1
- export * from './floating-container.directive';
@@ -1,3 +0,0 @@
1
- import { TuiLabel } from '@taiga-ui/core/components/label';
2
- import { TuiInputRangeComponent } from './input-range.component';
3
- export declare const TuiInputRange: readonly [typeof TuiInputRangeComponent, typeof TuiLabel];
@@ -1 +0,0 @@
1
- export * from './slides.directive';
@@ -1,11 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@taiga-ui/cdk/directives/animated";
3
- export declare class TuiSlides {
4
- protected readonly nothing: undefined;
5
- protected readonly el: HTMLElement;
6
- protected readonly sign: import("@angular/core").Signal<number>;
7
- readonly direction: import("@angular/core").InputSignal<number | "">;
8
- protected onAnimation(target: Element): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSlides, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSlides, "[tuiSlides]", never, { "direction": { "alias": "tuiSlides"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.TuiAnimatedParent; inputs: {}; outputs: {}; }]>;
11
- }