@taiga-ui/kit 4.69.0 → 5.0.0-canary.0c88239

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 (1032) hide show
  1. package/README.md +1 -1
  2. package/components/accordion/accordion.component.d.ts +13 -0
  3. package/components/accordion/accordion.d.ts +4 -4
  4. package/components/accordion/accordion.directive.d.ts +11 -10
  5. package/components/accordion/index.d.ts +1 -3
  6. package/components/action-bar/action-bar.component.d.ts +5 -7
  7. package/components/action-bar/index.d.ts +0 -2
  8. package/components/avatar/avatar-labeled.component.d.ts +3 -3
  9. package/components/avatar/avatar-outline.directive.d.ts +3 -3
  10. package/components/avatar/avatar-stack.component.d.ts +2 -2
  11. package/components/avatar/avatar.directive.d.ts +15 -0
  12. package/components/avatar/avatar.options.d.ts +1 -2
  13. package/components/avatar/index.d.ts +1 -1
  14. package/components/badge/badge.directive.d.ts +2 -2
  15. package/components/badge/badge.options.d.ts +1 -3
  16. package/components/badge-notification/badge-notification.component.d.ts +2 -3
  17. package/components/badge-notification/badge-notification.options.d.ts +1 -3
  18. package/components/badged-content/badged-content.directive.d.ts +2 -3
  19. package/components/block/block.directive.d.ts +4 -4
  20. package/components/block/block.options.d.ts +2 -4
  21. package/components/breadcrumbs/breadcrumbs.component.d.ts +6 -7
  22. package/components/breadcrumbs/breadcrumbs.options.d.ts +1 -3
  23. package/components/button-loading/button-loading.component.d.ts +5 -5
  24. package/components/calendar-month/calendar-month.component.d.ts +6 -6
  25. package/components/calendar-month/calendar-month.options.d.ts +1 -1
  26. package/components/calendar-range/calendar-range.component.d.ts +2 -5
  27. package/components/calendar-range/day-range-period.d.ts +2 -1
  28. package/components/carousel/carousel-autoscroll.directive.d.ts +1 -2
  29. package/components/carousel/carousel-scroll.directive.d.ts +1 -1
  30. package/components/carousel/carousel.component.d.ts +15 -18
  31. package/components/carousel/carousel.directive.d.ts +5 -4
  32. package/components/checkbox/checkbox.component.d.ts +7 -18
  33. package/components/checkbox/checkbox.options.d.ts +5 -9
  34. package/components/chip/chip.directive.d.ts +2 -4
  35. package/components/chip/chip.options.d.ts +1 -3
  36. package/components/combo-box/combo-box.d.ts +5 -0
  37. package/components/combo-box/combo-box.directive.d.ts +8 -9
  38. package/components/combo-box/index.d.ts +1 -0
  39. package/components/comment/comment.directive.d.ts +2 -2
  40. package/components/compass/compass.component.d.ts +2 -2
  41. package/components/confirm/confirm.component.d.ts +5 -4
  42. package/components/confirm/confirm.service.d.ts +2 -2
  43. package/{directives → components}/copy/copy.component.d.ts +4 -7
  44. package/{directives → components}/copy/copy.d.ts +1 -2
  45. package/{directives → components}/copy/copy.directive.d.ts +8 -7
  46. package/{directives → components}/copy/copy.options.d.ts +2 -2
  47. package/{directives → components}/copy/index.d.ts +0 -1
  48. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +4 -2
  49. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +14 -22
  50. package/components/data-list-wrapper/{data-list-wrapper.module.d.ts → data-list-wrapper.d.ts} +1 -2
  51. package/components/data-list-wrapper/index.d.ts +1 -1
  52. package/components/drawer/drawer.component.d.ts +3 -4
  53. package/components/files/file/file.component.d.ts +16 -29
  54. package/components/files/file/file.options.d.ts +2 -2
  55. package/components/files/files/files.component.d.ts +7 -10
  56. package/components/files/input-files/input-files.component.d.ts +2 -2
  57. package/components/files/input-files/input-files.content.d.ts +7 -8
  58. package/components/files/input-files/input-files.directive.d.ts +2 -2
  59. package/components/files/input-files/input-files.options.d.ts +1 -3
  60. package/components/filter/filter.component.d.ts +9 -12
  61. package/components/fullscreen/fullscreen.component.d.ts +11 -0
  62. package/components/fullscreen/index.d.ts +1 -0
  63. package/components/index.d.ts +2 -5
  64. package/components/input-chip/input-chip.component.d.ts +14 -8
  65. package/components/input-chip/input-chip.d.ts +5 -1
  66. package/components/input-chip/input-chip.directive.d.ts +8 -13
  67. package/components/input-chip/input-chip.options.d.ts +1 -1
  68. package/components/input-color/index.d.ts +1 -0
  69. package/components/input-color/input-color.component.d.ts +10 -13
  70. package/components/input-color/input-color.d.ts +5 -0
  71. package/components/input-color/input-color.options.d.ts +1 -1
  72. package/components/input-date/input-date.component.d.ts +2 -2
  73. package/components/input-date/input-date.d.ts +4 -1
  74. package/components/input-date/input-date.directive.d.ts +21 -22
  75. package/components/input-date/input-date.options.d.ts +3 -3
  76. package/components/input-date-multi/input-date-multi.d.ts +1 -2
  77. package/components/input-date-multi/input-date-multi.directive.d.ts +10 -14
  78. package/components/input-date-range/input-date-range.d.ts +4 -1
  79. package/components/input-date-range/input-date-range.directive.d.ts +9 -10
  80. package/components/input-date-range/input-date-range.options.d.ts +2 -2
  81. package/components/input-date-time/input-date-time.d.ts +4 -1
  82. package/components/input-date-time/input-date-time.directive.d.ts +14 -14
  83. package/components/input-date-time/input-date-time.options.d.ts +2 -2
  84. package/components/input-inline/input-inline.component.d.ts +3 -2
  85. package/components/input-month/input-month.component.d.ts +3 -5
  86. package/components/input-month/input-month.d.ts +4 -1
  87. package/components/input-month/input-month.directive.d.ts +6 -5
  88. package/components/input-month-range/input-month-range.d.ts +4 -1
  89. package/components/input-month-range/input-month-range.directive.d.ts +6 -5
  90. package/components/input-number/index.d.ts +3 -0
  91. package/components/input-number/input-number.d.ts +7 -2
  92. package/components/input-number/input-number.directive.d.ts +11 -28
  93. package/components/input-number/input-number.options.d.ts +5 -8
  94. package/components/input-number/number-mask.directive.d.ts +42 -0
  95. package/components/input-number/quantum.directive.d.ts +11 -9
  96. package/components/input-number/step/input-number-step.component.d.ts +11 -10
  97. package/components/input-number/transformers/bigint.value-transformer.d.ts +11 -0
  98. package/components/input-number/transformers/number.value-transformer.d.ts +11 -0
  99. package/components/input-phone/index.d.ts +1 -0
  100. package/components/input-phone/input-phone.d.ts +5 -0
  101. package/components/input-phone/input-phone.directive.d.ts +12 -14
  102. package/components/input-phone/input-phone.options.d.ts +1 -1
  103. package/components/input-phone-international/index.d.ts +1 -0
  104. package/components/input-phone-international/input-phone-international.component.d.ts +28 -36
  105. package/components/input-phone-international/input-phone-international.d.ts +5 -0
  106. package/components/input-phone-international/input-phone-international.options.d.ts +2 -3
  107. package/components/input-pin/index.d.ts +1 -0
  108. package/components/input-pin/input-pin.component.d.ts +6 -7
  109. package/components/input-pin/input-pin.d.ts +5 -0
  110. package/components/input-range/index.d.ts +0 -1
  111. package/components/input-range/input-range.component.d.ts +24 -61
  112. package/components/input-slider/input-slider.d.ts +4 -1
  113. package/components/input-slider/input-slider.directive.d.ts +5 -5
  114. package/components/input-time/input-time.component.d.ts +1 -3
  115. package/components/input-time/input-time.d.ts +4 -1
  116. package/components/input-time/input-time.directive.d.ts +8 -11
  117. package/components/input-time/input-time.options.d.ts +1 -1
  118. package/components/input-year/input-year.d.ts +4 -1
  119. package/components/input-year/input-year.directive.d.ts +8 -10
  120. package/components/input-year/input-year.options.d.ts +2 -2
  121. package/components/items-with-more/items-with-more.component.d.ts +6 -6
  122. package/components/items-with-more/items-with-more.directive.d.ts +6 -6
  123. package/components/like/like.component.d.ts +4 -11
  124. package/components/like/like.options.d.ts +4 -5
  125. package/components/line-clamp/line-clamp-box.component.d.ts +3 -4
  126. package/components/line-clamp/line-clamp.component.d.ts +8 -10
  127. package/components/line-clamp/line-clamp.options.d.ts +1 -3
  128. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +6 -8
  129. package/components/multi-select/multi-select-native/multi-select-native.component.d.ts +5 -4
  130. package/components/multi-select/multi-select-option/multi-select-option.component.d.ts +1 -1
  131. package/components/notification-middle/notification-middle.component.d.ts +2 -2
  132. package/components/notification-middle/notification-middle.directive.d.ts +4 -3
  133. package/components/notification-middle/notification-middle.service.d.ts +7 -3
  134. package/components/pager/pager.component.d.ts +12 -12
  135. package/components/pagination/index.d.ts +1 -0
  136. package/components/pagination/pagination.component.d.ts +25 -55
  137. package/components/pagination/pagination.options.d.ts +7 -0
  138. package/components/pin/pin.directive.d.ts +2 -2
  139. package/components/preview/dialog/preview-dialog.component.d.ts +2 -2
  140. package/components/preview/dialog/preview-dialog.directive.d.ts +3 -3
  141. package/components/preview/dialog/preview-dialog.service.d.ts +5 -2
  142. package/components/preview/index.d.ts +1 -0
  143. package/components/preview/pagination/preview-pagination.component.d.ts +6 -10
  144. package/components/preview/preview.component.d.ts +6 -6
  145. package/components/preview/preview.d.ts +2 -1
  146. package/{tokens/preview-icons.d.ts → components/preview/preview.options.d.ts} +1 -3
  147. package/components/preview/zoom/preview-zoom.component.d.ts +11 -18
  148. package/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.d.ts +1 -2
  149. package/components/progress/progress-bar/progress-bar.component.d.ts +3 -4
  150. package/components/progress/progress-bar/progress-color-segments.directive.d.ts +2 -3
  151. package/components/progress/progress-circle/progress-circle.component.d.ts +7 -11
  152. package/components/progress/progress-segmented/progress-segmented.directive.d.ts +2 -2
  153. package/components/progress/progress.options.d.ts +1 -3
  154. package/components/pulse/pulse.component.d.ts +2 -2
  155. package/components/push/push-alert.component.d.ts +4 -3
  156. package/components/push/push.component.d.ts +7 -8
  157. package/components/push/push.directive.d.ts +4 -6
  158. package/components/push/push.options.d.ts +5 -8
  159. package/components/push/push.service.d.ts +6 -2
  160. package/components/radio/radio.component.d.ts +8 -9
  161. package/components/radio/radio.directive.d.ts +2 -2
  162. package/components/radio/radio.options.d.ts +2 -5
  163. package/components/radio-list/radio-list.component.d.ts +11 -9
  164. package/components/range/range-change.directive.d.ts +1 -2
  165. package/components/range/range.component.d.ts +15 -27
  166. package/components/rating/rating.component.d.ts +5 -5
  167. package/components/rating/rating.options.d.ts +1 -3
  168. package/components/routable-dialog/generate-dialogable-route.d.ts +1 -1
  169. package/components/segmented/segmented.component.d.ts +8 -12
  170. package/components/segmented/segmented.directive.d.ts +6 -7
  171. package/components/select/native-select/native-select.component.d.ts +6 -9
  172. package/components/select/select.d.ts +4 -1
  173. package/components/select/select.directive.d.ts +4 -3
  174. package/components/slider/helpers/key-steps.d.ts +1 -2
  175. package/components/slider/helpers/slider-key-steps.directive.d.ts +19 -25
  176. package/components/slider/helpers/slider-readonly.directive.d.ts +2 -4
  177. package/components/slider/helpers/slider-thumb-label.component.d.ts +2 -4
  178. package/components/slider/index.d.ts +0 -1
  179. package/components/slider/slider.component.d.ts +3 -8
  180. package/components/status/status.directive.d.ts +2 -2
  181. package/components/stepper/step.component.d.ts +14 -9
  182. package/components/stepper/stepper.component.d.ts +5 -12
  183. package/components/switch/switch.component.d.ts +8 -19
  184. package/components/switch/switch.options.d.ts +4 -8
  185. package/components/tabs/tabs-horizontal.directive.d.ts +4 -5
  186. package/components/tabs/tabs-vertical.directive.d.ts +2 -2
  187. package/components/tabs/tabs-with-more.component.d.ts +13 -17
  188. package/components/tabs/tabs.directive.d.ts +5 -7
  189. package/components/tabs/tabs.options.d.ts +1 -6
  190. package/components/textarea/index.d.ts +2 -1
  191. package/components/textarea/textarea.component.d.ts +10 -11
  192. package/components/textarea/textarea.d.ts +6 -0
  193. package/components/textarea/textarea.directive.d.ts +13 -0
  194. package/components/textarea/textarea.options.d.ts +1 -1
  195. package/components/tiles/tile-handle.directive.d.ts +2 -1
  196. package/components/tiles/tile.component.d.ts +7 -10
  197. package/components/tiles/tile.service.d.ts +1 -1
  198. package/components/tiles/tiles.component.d.ts +4 -7
  199. package/components/toast/toast.component.d.ts +5 -4
  200. package/components/toast/toast.options.d.ts +9 -7
  201. package/components/toast/toast.service.d.ts +10 -9
  202. package/components/tree/components/tree/tree.component.d.ts +7 -7
  203. package/components/tree/components/tree-item/tree-item.component.d.ts +2 -2
  204. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +9 -7
  205. package/components/tree/directives/tree-children.directive.d.ts +2 -2
  206. package/components/tree/directives/tree-controller.directive.d.ts +4 -5
  207. package/components/tree/directives/tree-item-controller.directive.d.ts +2 -2
  208. package/components/tree/directives/tree-node.directive.d.ts +5 -4
  209. package/components/tree/misc/tree.constants.d.ts +0 -3
  210. package/components/tree/misc/tree.tokens.d.ts +1 -6
  211. package/directives/appearance-proxy/appearance-proxy.directive.d.ts +10 -0
  212. package/directives/appearance-proxy/index.d.ts +1 -0
  213. package/directives/button-select/button-select.directive.d.ts +2 -3
  214. package/directives/chevron/chevron.directive.d.ts +2 -3
  215. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +5 -5
  216. package/directives/fade/fade.directive.d.ts +6 -5
  217. package/directives/fluid-typography/fluid-typography.directive.d.ts +3 -6
  218. package/directives/fluid-typography/fluid-typography.options.d.ts +1 -3
  219. package/directives/highlight/highlight.directive.d.ts +5 -7
  220. package/directives/index.d.ts +1 -4
  221. package/directives/password/password.directive.d.ts +1 -1
  222. package/directives/password/password.options.d.ts +1 -1
  223. package/directives/present/present.directive.d.ts +2 -4
  224. package/directives/sensitive/sensitive.directive.d.ts +2 -2
  225. package/directives/shimmer/shimmer.directive.d.ts +3 -3
  226. package/directives/skeleton/skeleton.directive.d.ts +3 -3
  227. package/directives/tooltip/tooltip.directive.d.ts +3 -3
  228. package/directives/tooltip/tooltip.options.d.ts +1 -4
  229. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +2 -2
  230. package/directives/unmask-handler/unmask-handler.directive.d.ts +3 -3
  231. package/fesm2022/taiga-ui-kit-components-accordion.mjs +69 -146
  232. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  233. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +24 -40
  234. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  235. package/fesm2022/taiga-ui-kit-components-avatar.mjs +83 -113
  236. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  237. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +9 -18
  238. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -1
  239. package/fesm2022/taiga-ui-kit-components-badge.mjs +19 -28
  240. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  241. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +11 -16
  242. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
  243. package/fesm2022/taiga-ui-kit-components-block.mjs +21 -31
  244. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  245. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +19 -43
  246. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  247. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +19 -28
  248. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -1
  249. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +13 -40
  250. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -1
  251. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +32 -42
  252. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  253. package/fesm2022/taiga-ui-kit-components-carousel.mjs +76 -135
  254. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  255. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +19 -76
  256. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  257. package/fesm2022/taiga-ui-kit-components-chip.mjs +27 -35
  258. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  259. package/fesm2022/taiga-ui-kit-components-combo-box.mjs +50 -51
  260. package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
  261. package/fesm2022/taiga-ui-kit-components-comment.mjs +15 -18
  262. package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
  263. package/fesm2022/taiga-ui-kit-components-compass.mjs +11 -11
  264. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  265. package/fesm2022/taiga-ui-kit-components-confirm.mjs +14 -19
  266. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  267. package/fesm2022/taiga-ui-kit-components-copy.mjs +120 -0
  268. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -0
  269. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +25 -79
  270. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -1
  271. package/fesm2022/taiga-ui-kit-components-drawer.mjs +11 -32
  272. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -1
  273. package/fesm2022/taiga-ui-kit-components-files.mjs +122 -263
  274. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  275. package/fesm2022/taiga-ui-kit-components-filter.mjs +19 -43
  276. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -1
  277. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs +44 -0
  278. package/fesm2022/taiga-ui-kit-components-fullscreen.mjs.map +1 -0
  279. package/fesm2022/taiga-ui-kit-components-input-chip.mjs +80 -92
  280. package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
  281. package/fesm2022/taiga-ui-kit-components-input-color.mjs +32 -44
  282. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  283. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +37 -56
  284. package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -1
  285. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs +37 -37
  286. package/fesm2022/taiga-ui-kit-components-input-date-range.mjs.map +1 -1
  287. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +44 -64
  288. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  289. package/fesm2022/taiga-ui-kit-components-input-date.mjs +62 -77
  290. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  291. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +10 -13
  292. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  293. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs +30 -28
  294. package/fesm2022/taiga-ui-kit-components-input-month-range.mjs.map +1 -1
  295. package/fesm2022/taiga-ui-kit-components-input-month.mjs +45 -54
  296. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  297. package/fesm2022/taiga-ui-kit-components-input-number.mjs +276 -218
  298. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  299. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +129 -164
  300. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  301. package/fesm2022/taiga-ui-kit-components-input-phone.mjs +44 -51
  302. package/fesm2022/taiga-ui-kit-components-input-phone.mjs.map +1 -1
  303. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +26 -24
  304. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  305. package/fesm2022/taiga-ui-kit-components-input-range.mjs +52 -110
  306. package/fesm2022/taiga-ui-kit-components-input-range.mjs.map +1 -1
  307. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +42 -41
  308. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  309. package/fesm2022/taiga-ui-kit-components-input-time.mjs +53 -77
  310. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  311. package/fesm2022/taiga-ui-kit-components-input-year.mjs +33 -40
  312. package/fesm2022/taiga-ui-kit-components-input-year.mjs.map +1 -1
  313. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +52 -76
  314. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -1
  315. package/fesm2022/taiga-ui-kit-components-like.mjs +41 -33
  316. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  317. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +39 -85
  318. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
  319. package/fesm2022/taiga-ui-kit-components-message.mjs +11 -13
  320. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  321. package/fesm2022/taiga-ui-kit-components-multi-select.mjs +63 -80
  322. package/fesm2022/taiga-ui-kit-components-multi-select.mjs.map +1 -1
  323. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs +41 -39
  324. package/fesm2022/taiga-ui-kit-components-notification-middle.mjs.map +1 -1
  325. package/fesm2022/taiga-ui-kit-components-pager.mjs +30 -44
  326. package/fesm2022/taiga-ui-kit-components-pager.mjs.map +1 -1
  327. package/fesm2022/taiga-ui-kit-components-pagination.mjs +78 -153
  328. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  329. package/fesm2022/taiga-ui-kit-components-pin.mjs +17 -19
  330. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  331. package/fesm2022/taiga-ui-kit-components-preview.mjs +101 -170
  332. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  333. package/fesm2022/taiga-ui-kit-components-progress.mjs +71 -115
  334. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  335. package/fesm2022/taiga-ui-kit-components-pulse.mjs +7 -11
  336. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
  337. package/fesm2022/taiga-ui-kit-components-push.mjs +56 -78
  338. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -1
  339. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +23 -36
  340. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  341. package/fesm2022/taiga-ui-kit-components-radio.mjs +37 -45
  342. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  343. package/fesm2022/taiga-ui-kit-components-range.mjs +41 -99
  344. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -1
  345. package/fesm2022/taiga-ui-kit-components-rating.mjs +19 -28
  346. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  347. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +14 -12
  348. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  349. package/fesm2022/taiga-ui-kit-components-segmented.mjs +33 -66
  350. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  351. package/fesm2022/taiga-ui-kit-components-select.mjs +70 -70
  352. package/fesm2022/taiga-ui-kit-components-select.mjs.map +1 -1
  353. package/fesm2022/taiga-ui-kit-components-slider.mjs +97 -145
  354. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  355. package/fesm2022/taiga-ui-kit-components-status.mjs +14 -16
  356. package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
  357. package/fesm2022/taiga-ui-kit-components-stepper.mjs +61 -88
  358. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  359. package/fesm2022/taiga-ui-kit-components-switch.mjs +23 -64
  360. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  361. package/fesm2022/taiga-ui-kit-components-tabs.mjs +101 -175
  362. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  363. package/fesm2022/taiga-ui-kit-components-textarea.mjs +65 -88
  364. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  365. package/fesm2022/taiga-ui-kit-components-tiles.mjs +55 -102
  366. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  367. package/fesm2022/taiga-ui-kit-components-toast.mjs +63 -71
  368. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
  369. package/fesm2022/taiga-ui-kit-components-tree.mjs +93 -152
  370. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  371. package/fesm2022/taiga-ui-kit-components.mjs +2 -5
  372. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  373. package/fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs +27 -0
  374. package/fesm2022/taiga-ui-kit-directives-appearance-proxy.mjs.map +1 -0
  375. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +11 -16
  376. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  377. package/fesm2022/taiga-ui-kit-directives-button-select.mjs +10 -18
  378. package/fesm2022/taiga-ui-kit-directives-button-select.mjs.map +1 -1
  379. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +16 -22
  380. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  381. package/fesm2022/taiga-ui-kit-directives-connected.mjs +11 -19
  382. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  383. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +26 -56
  384. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -1
  385. package/fesm2022/taiga-ui-kit-directives-fade.mjs +24 -41
  386. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  387. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs +14 -27
  388. package/fesm2022/taiga-ui-kit-directives-fluid-typography.mjs.map +1 -1
  389. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +16 -21
  390. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -1
  391. package/fesm2022/taiga-ui-kit-directives-password.mjs +14 -16
  392. package/fesm2022/taiga-ui-kit-directives-password.mjs.map +1 -1
  393. package/fesm2022/taiga-ui-kit-directives-present.mjs +10 -18
  394. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -1
  395. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +13 -18
  396. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
  397. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +24 -34
  398. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
  399. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +28 -38
  400. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  401. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +19 -24
  402. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  403. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +10 -14
  404. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -1
  405. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +10 -15
  406. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -1
  407. package/fesm2022/taiga-ui-kit-directives.mjs +1 -4
  408. package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -1
  409. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs +41 -0
  410. package/fesm2022/taiga-ui-kit-pipes-auto-color.mjs.map +1 -0
  411. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +4 -7
  412. package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -1
  413. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +22 -36
  414. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -1
  415. package/fesm2022/taiga-ui-kit-pipes-flag.mjs +28 -0
  416. package/fesm2022/taiga-ui-kit-pipes-flag.mjs.map +1 -0
  417. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs +23 -27
  418. package/fesm2022/taiga-ui-kit-pipes-hide-selected.mjs.map +1 -1
  419. package/fesm2022/taiga-ui-kit-pipes-initials.mjs +26 -0
  420. package/fesm2022/taiga-ui-kit-pipes-initials.mjs.map +1 -0
  421. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +10 -8
  422. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -1
  423. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +4 -7
  424. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -1
  425. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +4 -7
  426. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -1
  427. package/fesm2022/taiga-ui-kit-pipes.mjs +3 -1
  428. package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -1
  429. package/fesm2022/taiga-ui-kit-tokens.mjs +20 -178
  430. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -1
  431. package/fesm2022/taiga-ui-kit-utils.mjs +4 -16
  432. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -1
  433. package/package.json +59 -288
  434. package/pipes/auto-color/auto-color.pipe.d.ts +13 -0
  435. package/pipes/auto-color/index.d.ts +1 -0
  436. package/pipes/filter-by-input/filter-by-input.pipe.d.ts +5 -2
  437. package/pipes/flag/flag.pipe.d.ts +13 -0
  438. package/pipes/flag/index.d.ts +1 -0
  439. package/pipes/hide-selected/hide-selected.pipe.d.ts +2 -0
  440. package/pipes/index.d.ts +3 -1
  441. package/pipes/initials/index.d.ts +1 -0
  442. package/pipes/initials/initials.pipe.d.ts +7 -0
  443. package/pipes/sort-countries/sort-countries.pipe.d.ts +4 -3
  444. package/pipes/stringify-content/stringify-content.pipe.d.ts +2 -3
  445. package/styles/components/avatar.less +188 -0
  446. package/styles/components/badge.less +10 -26
  447. package/styles/components/block.less +7 -7
  448. package/styles/components/checkbox.less +16 -16
  449. package/styles/components/chip.less +9 -21
  450. package/styles/components/comment.less +16 -18
  451. package/styles/components/compass.less +1 -1
  452. package/styles/components/like.less +15 -17
  453. package/styles/components/message.less +2 -2
  454. package/styles/components/pin.less +7 -11
  455. package/styles/components/progress-bar.less +1 -1
  456. package/styles/components/radio.less +1 -1
  457. package/styles/components/status.less +1 -1
  458. package/styles/components/switch.less +13 -10
  459. package/styles/components/toast.less +3 -4
  460. package/tokens/i18n.d.ts +26 -26
  461. package/tokens/index.d.ts +0 -8
  462. package/utils/index.d.ts +0 -2
  463. package/utils/maskito.binding.d.ts +1 -1
  464. package/components/accordion/accordion-item-content.directive.d.ts +0 -6
  465. package/components/accordion/accordion-item-eager-content.directive.d.ts +0 -5
  466. package/components/accordion/accordion-item.component.d.ts +0 -25
  467. package/components/action-bar/action-bar.d.ts +0 -3
  468. package/components/action-bar/action-bar.directive.d.ts +0 -6
  469. package/components/avatar/avatar.component.d.ts +0 -15
  470. package/components/elastic-container/elastic-container.component.d.ts +0 -8
  471. package/components/elastic-container/elastic-container.directive.d.ts +0 -7
  472. package/components/elastic-container/index.d.ts +0 -2
  473. package/components/floating-container/floating-container.directive.d.ts +0 -7
  474. package/components/floating-container/index.d.ts +0 -1
  475. package/components/input-password/index.d.ts +0 -2
  476. package/components/input-password/input-password.component.d.ts +0 -16
  477. package/components/input-password/input-password.options.d.ts +0 -24
  478. package/components/input-range/input-range.d.ts +0 -3
  479. package/components/pdf-viewer/index.d.ts +0 -4
  480. package/components/pdf-viewer/pdf-viewer.component.d.ts +0 -12
  481. package/components/pdf-viewer/pdf-viewer.directive.d.ts +0 -7
  482. package/components/pdf-viewer/pdf-viewer.options.d.ts +0 -13
  483. package/components/pdf-viewer/pdf-viewer.service.d.ts +0 -13
  484. package/components/slider/slider.options.d.ts +0 -12
  485. package/components/slides/index.d.ts +0 -1
  486. package/components/slides/slides.directive.d.ts +0 -11
  487. package/components/textarea/textarea-limit.directive.d.ts +0 -27
  488. package/directives/button-close/button-close.directive.d.ts +0 -5
  489. package/directives/button-close/index.d.ts +0 -1
  490. package/directives/copy/button-copy.component.d.ts +0 -17
  491. package/directives/icon-badge/icon-badge.directive.d.ts +0 -9
  492. package/directives/icon-badge/index.d.ts +0 -1
  493. package/directives/lazy-loading/index.d.ts +0 -2
  494. package/directives/lazy-loading/lazy-loading.directive.d.ts +0 -18
  495. package/directives/lazy-loading/lazy-loading.service.d.ts +0 -12
  496. package/esm2022/components/accordion/accordion-item-content.directive.mjs +0 -16
  497. package/esm2022/components/accordion/accordion-item-eager-content.directive.mjs +0 -15
  498. package/esm2022/components/accordion/accordion-item.component.mjs +0 -85
  499. package/esm2022/components/accordion/accordion.directive.mjs +0 -56
  500. package/esm2022/components/accordion/accordion.mjs +0 -11
  501. package/esm2022/components/accordion/index.mjs +0 -6
  502. package/esm2022/components/accordion/taiga-ui-kit-components-accordion.mjs +0 -5
  503. package/esm2022/components/action-bar/action-bar.component.mjs +0 -36
  504. package/esm2022/components/action-bar/action-bar.directive.mjs +0 -17
  505. package/esm2022/components/action-bar/action-bar.mjs +0 -4
  506. package/esm2022/components/action-bar/index.mjs +0 -4
  507. package/esm2022/components/action-bar/taiga-ui-kit-components-action-bar.mjs +0 -5
  508. package/esm2022/components/avatar/avatar-labeled.component.mjs +0 -47
  509. package/esm2022/components/avatar/avatar-outline.directive.mjs +0 -41
  510. package/esm2022/components/avatar/avatar-stack.component.mjs +0 -19
  511. package/esm2022/components/avatar/avatar.component.mjs +0 -59
  512. package/esm2022/components/avatar/avatar.options.mjs +0 -8
  513. package/esm2022/components/avatar/index.mjs +0 -6
  514. package/esm2022/components/avatar/taiga-ui-kit-components-avatar.mjs +0 -5
  515. package/esm2022/components/badge/badge.directive.mjs +0 -42
  516. package/esm2022/components/badge/badge.options.mjs +0 -13
  517. package/esm2022/components/badge/index.mjs +0 -3
  518. package/esm2022/components/badge/taiga-ui-kit-components-badge.mjs +0 -5
  519. package/esm2022/components/badge-notification/badge-notification.component.mjs +0 -22
  520. package/esm2022/components/badge-notification/badge-notification.options.mjs +0 -12
  521. package/esm2022/components/badge-notification/index.mjs +0 -3
  522. package/esm2022/components/badge-notification/taiga-ui-kit-components-badge-notification.mjs +0 -5
  523. package/esm2022/components/badged-content/badge-content.mjs +0 -7
  524. package/esm2022/components/badged-content/badged-content.component.mjs +0 -30
  525. package/esm2022/components/badged-content/badged-content.directive.mjs +0 -20
  526. package/esm2022/components/badged-content/index.mjs +0 -4
  527. package/esm2022/components/badged-content/taiga-ui-kit-components-badged-content.mjs +0 -5
  528. package/esm2022/components/block/block.directive.mjs +0 -58
  529. package/esm2022/components/block/block.options.mjs +0 -13
  530. package/esm2022/components/block/index.mjs +0 -3
  531. package/esm2022/components/block/taiga-ui-kit-components-block.mjs +0 -5
  532. package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +0 -69
  533. package/esm2022/components/breadcrumbs/breadcrumbs.options.mjs +0 -14
  534. package/esm2022/components/breadcrumbs/index.mjs +0 -3
  535. package/esm2022/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.mjs +0 -5
  536. package/esm2022/components/button-loading/button-loading.component.mjs +0 -70
  537. package/esm2022/components/button-loading/index.mjs +0 -2
  538. package/esm2022/components/button-loading/taiga-ui-kit-components-button-loading.mjs +0 -5
  539. package/esm2022/components/calendar-month/calendar-month.component.mjs +0 -186
  540. package/esm2022/components/calendar-month/calendar-month.options.mjs +0 -6
  541. package/esm2022/components/calendar-month/index.mjs +0 -3
  542. package/esm2022/components/calendar-month/taiga-ui-kit-components-calendar-month.mjs +0 -5
  543. package/esm2022/components/calendar-range/calculate-disabled-item-handler.mjs +0 -12
  544. package/esm2022/components/calendar-range/calendar-range.component.mjs +0 -224
  545. package/esm2022/components/calendar-range/day-caps-mapper.mjs +0 -26
  546. package/esm2022/components/calendar-range/day-range-period.mjs +0 -36
  547. package/esm2022/components/calendar-range/index.mjs +0 -5
  548. package/esm2022/components/calendar-range/taiga-ui-kit-components-calendar-range.mjs +0 -5
  549. package/esm2022/components/carousel/carousel-autoscroll.directive.mjs +0 -21
  550. package/esm2022/components/carousel/carousel-buttons.directive.mjs +0 -27
  551. package/esm2022/components/carousel/carousel-scroll.directive.mjs +0 -27
  552. package/esm2022/components/carousel/carousel.component.mjs +0 -166
  553. package/esm2022/components/carousel/carousel.directive.mjs +0 -37
  554. package/esm2022/components/carousel/carousel.mjs +0 -15
  555. package/esm2022/components/carousel/index.mjs +0 -7
  556. package/esm2022/components/carousel/taiga-ui-kit-components-carousel.mjs +0 -5
  557. package/esm2022/components/checkbox/checkbox.component.mjs +0 -74
  558. package/esm2022/components/checkbox/checkbox.options.mjs +0 -17
  559. package/esm2022/components/checkbox/index.mjs +0 -3
  560. package/esm2022/components/checkbox/taiga-ui-kit-components-checkbox.mjs +0 -5
  561. package/esm2022/components/chip/chip.directive.mjs +0 -63
  562. package/esm2022/components/chip/chip.options.mjs +0 -13
  563. package/esm2022/components/chip/index.mjs +0 -3
  564. package/esm2022/components/chip/taiga-ui-kit-components-chip.mjs +0 -5
  565. package/esm2022/components/combo-box/combo-box.directive.mjs +0 -139
  566. package/esm2022/components/combo-box/index.mjs +0 -2
  567. package/esm2022/components/combo-box/taiga-ui-kit-components-combo-box.mjs +0 -5
  568. package/esm2022/components/comment/comment.directive.mjs +0 -35
  569. package/esm2022/components/comment/index.mjs +0 -2
  570. package/esm2022/components/comment/taiga-ui-kit-components-comment.mjs +0 -5
  571. package/esm2022/components/compass/compass.component.mjs +0 -19
  572. package/esm2022/components/compass/index.mjs +0 -2
  573. package/esm2022/components/compass/taiga-ui-kit-components-compass.mjs +0 -5
  574. package/esm2022/components/confirm/confirm.component.mjs +0 -30
  575. package/esm2022/components/confirm/confirm.service.mjs +0 -32
  576. package/esm2022/components/confirm/index.mjs +0 -3
  577. package/esm2022/components/confirm/taiga-ui-kit-components-confirm.mjs +0 -5
  578. package/esm2022/components/data-list-wrapper/data-list-group-wrapper.component.mjs +0 -25
  579. package/esm2022/components/data-list-wrapper/data-list-wrapper.component.mjs +0 -86
  580. package/esm2022/components/data-list-wrapper/data-list-wrapper.module.mjs +0 -9
  581. package/esm2022/components/data-list-wrapper/index.mjs +0 -4
  582. package/esm2022/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.mjs +0 -5
  583. package/esm2022/components/drawer/drawer.component.mjs +0 -44
  584. package/esm2022/components/drawer/index.mjs +0 -2
  585. package/esm2022/components/drawer/taiga-ui-kit-components-drawer.mjs +0 -5
  586. package/esm2022/components/elastic-container/elastic-container.component.mjs +0 -28
  587. package/esm2022/components/elastic-container/elastic-container.directive.mjs +0 -48
  588. package/esm2022/components/elastic-container/index.mjs +0 -3
  589. package/esm2022/components/elastic-container/taiga-ui-kit-components-elastic-container.mjs +0 -5
  590. package/esm2022/components/files/file/file.component.mjs +0 -144
  591. package/esm2022/components/files/file/file.options.mjs +0 -16
  592. package/esm2022/components/files/files/files.component.mjs +0 -56
  593. package/esm2022/components/files/files.mjs +0 -15
  594. package/esm2022/components/files/files.types.mjs +0 -2
  595. package/esm2022/components/files/files.utils.mjs +0 -30
  596. package/esm2022/components/files/files.validators.mjs +0 -32
  597. package/esm2022/components/files/index.mjs +0 -13
  598. package/esm2022/components/files/input-files/input-files-validator.directive.mjs +0 -45
  599. package/esm2022/components/files/input-files/input-files.component.mjs +0 -70
  600. package/esm2022/components/files/input-files/input-files.content.mjs +0 -73
  601. package/esm2022/components/files/input-files/input-files.directive.mjs +0 -77
  602. package/esm2022/components/files/input-files/input-files.options.mjs +0 -19
  603. package/esm2022/components/files/pipes/file-rejected.pipe.mjs +0 -51
  604. package/esm2022/components/files/taiga-ui-kit-components-files.mjs +0 -5
  605. package/esm2022/components/filter/filter.component.mjs +0 -65
  606. package/esm2022/components/filter/index.mjs +0 -2
  607. package/esm2022/components/filter/taiga-ui-kit-components-filter.mjs +0 -5
  608. package/esm2022/components/floating-container/floating-container.directive.mjs +0 -37
  609. package/esm2022/components/floating-container/index.mjs +0 -2
  610. package/esm2022/components/floating-container/taiga-ui-kit-components-floating-container.mjs +0 -5
  611. package/esm2022/components/index.mjs +0 -74
  612. package/esm2022/components/input-chip/index.mjs +0 -5
  613. package/esm2022/components/input-chip/input-chip.component.mjs +0 -103
  614. package/esm2022/components/input-chip/input-chip.directive.mjs +0 -149
  615. package/esm2022/components/input-chip/input-chip.mjs +0 -4
  616. package/esm2022/components/input-chip/input-chip.options.mjs +0 -7
  617. package/esm2022/components/input-chip/taiga-ui-kit-components-input-chip.mjs +0 -5
  618. package/esm2022/components/input-color/index.mjs +0 -3
  619. package/esm2022/components/input-color/input-color.component.mjs +0 -89
  620. package/esm2022/components/input-color/input-color.options.mjs +0 -6
  621. package/esm2022/components/input-color/taiga-ui-kit-components-input-color.mjs +0 -5
  622. package/esm2022/components/input-date/date-filler.mjs +0 -20
  623. package/esm2022/components/input-date/index.mjs +0 -6
  624. package/esm2022/components/input-date/input-date.component.mjs +0 -33
  625. package/esm2022/components/input-date/input-date.directive.mjs +0 -167
  626. package/esm2022/components/input-date/input-date.mjs +0 -9
  627. package/esm2022/components/input-date/input-date.options.mjs +0 -11
  628. package/esm2022/components/input-date/taiga-ui-kit-components-input-date.mjs +0 -5
  629. package/esm2022/components/input-date-multi/index.mjs +0 -3
  630. package/esm2022/components/input-date-multi/input-date-multi.directive.mjs +0 -123
  631. package/esm2022/components/input-date-multi/input-date-multi.mjs +0 -9
  632. package/esm2022/components/input-date-multi/taiga-ui-kit-components-input-date-multi.mjs +0 -5
  633. package/esm2022/components/input-date-range/index.mjs +0 -4
  634. package/esm2022/components/input-date-range/input-date-range.directive.mjs +0 -79
  635. package/esm2022/components/input-date-range/input-date-range.mjs +0 -4
  636. package/esm2022/components/input-date-range/input-date-range.options.mjs +0 -12
  637. package/esm2022/components/input-date-range/taiga-ui-kit-components-input-date-range.mjs +0 -5
  638. package/esm2022/components/input-date-time/index.mjs +0 -5
  639. package/esm2022/components/input-date-time/input-date-time.component.mjs +0 -35
  640. package/esm2022/components/input-date-time/input-date-time.directive.mjs +0 -194
  641. package/esm2022/components/input-date-time/input-date-time.mjs +0 -9
  642. package/esm2022/components/input-date-time/input-date-time.options.mjs +0 -20
  643. package/esm2022/components/input-date-time/taiga-ui-kit-components-input-date-time.mjs +0 -5
  644. package/esm2022/components/input-inline/index.mjs +0 -2
  645. package/esm2022/components/input-inline/input-inline.component.mjs +0 -23
  646. package/esm2022/components/input-inline/taiga-ui-kit-components-input-inline.mjs +0 -5
  647. package/esm2022/components/input-month/index.mjs +0 -5
  648. package/esm2022/components/input-month/input-month.component.mjs +0 -53
  649. package/esm2022/components/input-month/input-month.directive.mjs +0 -65
  650. package/esm2022/components/input-month/input-month.mjs +0 -9
  651. package/esm2022/components/input-month/input-month.options.mjs +0 -19
  652. package/esm2022/components/input-month/taiga-ui-kit-components-input-month.mjs +0 -5
  653. package/esm2022/components/input-month-range/index.mjs +0 -4
  654. package/esm2022/components/input-month-range/input-month-range.directive.mjs +0 -86
  655. package/esm2022/components/input-month-range/input-month-range.mjs +0 -7
  656. package/esm2022/components/input-month-range/input-month-range.options.mjs +0 -13
  657. package/esm2022/components/input-month-range/taiga-ui-kit-components-input-month-range.mjs +0 -5
  658. package/esm2022/components/input-number/index.mjs +0 -6
  659. package/esm2022/components/input-number/input-number.directive.mjs +0 -197
  660. package/esm2022/components/input-number/input-number.mjs +0 -9
  661. package/esm2022/components/input-number/input-number.options.mjs +0 -15
  662. package/esm2022/components/input-number/quantum.directive.mjs +0 -69
  663. package/esm2022/components/input-number/step/input-number-step.component.mjs +0 -58
  664. package/esm2022/components/input-number/taiga-ui-kit-components-input-number.mjs +0 -5
  665. package/esm2022/components/input-password/index.mjs +0 -3
  666. package/esm2022/components/input-password/input-password.component.mjs +0 -69
  667. package/esm2022/components/input-password/input-password.options.mjs +0 -24
  668. package/esm2022/components/input-password/taiga-ui-kit-components-input-password.mjs +0 -5
  669. package/esm2022/components/input-phone/index.mjs +0 -3
  670. package/esm2022/components/input-phone/input-phone.directive.mjs +0 -137
  671. package/esm2022/components/input-phone/input-phone.options.mjs +0 -9
  672. package/esm2022/components/input-phone/taiga-ui-kit-components-input-phone.mjs +0 -5
  673. package/esm2022/components/input-phone/utils/complete-phone-insertion-preprocessor.mjs +0 -41
  674. package/esm2022/components/input-phone/utils/create-phone-mask-expression.mjs +0 -17
  675. package/esm2022/components/input-phone-international/index.mjs +0 -3
  676. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +0 -210
  677. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +0 -19
  678. package/esm2022/components/input-phone-international/taiga-ui-kit-components-input-phone-international.mjs +0 -5
  679. package/esm2022/components/input-pin/index.mjs +0 -2
  680. package/esm2022/components/input-pin/input-pin.component.mjs +0 -66
  681. package/esm2022/components/input-pin/taiga-ui-kit-components-input-pin.mjs +0 -5
  682. package/esm2022/components/input-range/index.mjs +0 -3
  683. package/esm2022/components/input-range/input-range.component.mjs +0 -189
  684. package/esm2022/components/input-range/input-range.mjs +0 -4
  685. package/esm2022/components/input-range/taiga-ui-kit-components-input-range.mjs +0 -5
  686. package/esm2022/components/input-slider/index.mjs +0 -3
  687. package/esm2022/components/input-slider/input-slider.directive.mjs +0 -109
  688. package/esm2022/components/input-slider/input-slider.mjs +0 -9
  689. package/esm2022/components/input-slider/taiga-ui-kit-components-input-slider.mjs +0 -5
  690. package/esm2022/components/input-time/index.mjs +0 -5
  691. package/esm2022/components/input-time/input-time.component.mjs +0 -64
  692. package/esm2022/components/input-time/input-time.directive.mjs +0 -176
  693. package/esm2022/components/input-time/input-time.mjs +0 -4
  694. package/esm2022/components/input-time/input-time.options.mjs +0 -10
  695. package/esm2022/components/input-time/taiga-ui-kit-components-input-time.mjs +0 -5
  696. package/esm2022/components/input-year/index.mjs +0 -4
  697. package/esm2022/components/input-year/input-year.directive.mjs +0 -103
  698. package/esm2022/components/input-year/input-year.mjs +0 -4
  699. package/esm2022/components/input-year/input-year.options.mjs +0 -12
  700. package/esm2022/components/input-year/taiga-ui-kit-components-input-year.mjs +0 -5
  701. package/esm2022/components/items-with-more/index.mjs +0 -6
  702. package/esm2022/components/items-with-more/items-with-more.component.mjs +0 -77
  703. package/esm2022/components/items-with-more/items-with-more.directive.mjs +0 -46
  704. package/esm2022/components/items-with-more/items-with-more.mjs +0 -11
  705. package/esm2022/components/items-with-more/items-with-more.service.mjs +0 -85
  706. package/esm2022/components/items-with-more/more.directive.mjs +0 -18
  707. package/esm2022/components/items-with-more/taiga-ui-kit-components-items-with-more.mjs +0 -5
  708. package/esm2022/components/like/index.mjs +0 -3
  709. package/esm2022/components/like/like.component.mjs +0 -46
  710. package/esm2022/components/like/like.options.mjs +0 -10
  711. package/esm2022/components/like/taiga-ui-kit-components-like.mjs +0 -5
  712. package/esm2022/components/line-clamp/index.mjs +0 -4
  713. package/esm2022/components/line-clamp/line-clamp-box.component.mjs +0 -25
  714. package/esm2022/components/line-clamp/line-clamp-position.directive.mjs +0 -27
  715. package/esm2022/components/line-clamp/line-clamp.component.mjs +0 -90
  716. package/esm2022/components/line-clamp/line-clamp.options.mjs +0 -15
  717. package/esm2022/components/line-clamp/taiga-ui-kit-components-line-clamp.mjs +0 -5
  718. package/esm2022/components/message/index.mjs +0 -2
  719. package/esm2022/components/message/message.directive.mjs +0 -43
  720. package/esm2022/components/message/taiga-ui-kit-components-message.mjs +0 -5
  721. package/esm2022/components/multi-select/index.mjs +0 -6
  722. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +0 -51
  723. package/esm2022/components/multi-select/multi-select-group/multi-select-group.directive.mjs +0 -18
  724. package/esm2022/components/multi-select/multi-select-native/multi-select-native.component.mjs +0 -57
  725. package/esm2022/components/multi-select/multi-select-option/multi-select-option.component.mjs +0 -47
  726. package/esm2022/components/multi-select/multi-select.mjs +0 -9
  727. package/esm2022/components/multi-select/taiga-ui-kit-components-multi-select.mjs +0 -5
  728. package/esm2022/components/notification-middle/index.mjs +0 -4
  729. package/esm2022/components/notification-middle/notification-middle.component.mjs +0 -57
  730. package/esm2022/components/notification-middle/notification-middle.directive.mjs +0 -21
  731. package/esm2022/components/notification-middle/notification-middle.service.mjs +0 -22
  732. package/esm2022/components/notification-middle/taiga-ui-kit-components-notification-middle.mjs +0 -5
  733. package/esm2022/components/pager/index.mjs +0 -2
  734. package/esm2022/components/pager/pager.component.mjs +0 -97
  735. package/esm2022/components/pager/taiga-ui-kit-components-pager.mjs +0 -5
  736. package/esm2022/components/pagination/index.mjs +0 -2
  737. package/esm2022/components/pagination/pagination.component.mjs +0 -213
  738. package/esm2022/components/pagination/taiga-ui-kit-components-pagination.mjs +0 -5
  739. package/esm2022/components/pdf-viewer/index.mjs +0 -5
  740. package/esm2022/components/pdf-viewer/pdf-viewer.component.mjs +0 -28
  741. package/esm2022/components/pdf-viewer/pdf-viewer.directive.mjs +0 -21
  742. package/esm2022/components/pdf-viewer/pdf-viewer.options.mjs +0 -17
  743. package/esm2022/components/pdf-viewer/pdf-viewer.service.mjs +0 -22
  744. package/esm2022/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.mjs +0 -5
  745. package/esm2022/components/pin/index.mjs +0 -2
  746. package/esm2022/components/pin/pin.directive.mjs +0 -35
  747. package/esm2022/components/pin/taiga-ui-kit-components-pin.mjs +0 -5
  748. package/esm2022/components/preview/action/preview-action.directive.mjs +0 -30
  749. package/esm2022/components/preview/dialog/index.mjs +0 -4
  750. package/esm2022/components/preview/dialog/preview-dialog.component.mjs +0 -28
  751. package/esm2022/components/preview/dialog/preview-dialog.directive.mjs +0 -21
  752. package/esm2022/components/preview/dialog/preview-dialog.service.mjs +0 -18
  753. package/esm2022/components/preview/dialog/taiga-ui-kit-components-preview-dialog.mjs +0 -5
  754. package/esm2022/components/preview/index.mjs +0 -8
  755. package/esm2022/components/preview/pagination/preview-pagination.component.mjs +0 -49
  756. package/esm2022/components/preview/preview.component.mjs +0 -142
  757. package/esm2022/components/preview/preview.mjs +0 -13
  758. package/esm2022/components/preview/taiga-ui-kit-components-preview.mjs +0 -5
  759. package/esm2022/components/preview/title/preview-title.component.mjs +0 -16
  760. package/esm2022/components/preview/zoom/preview-zoom.component.mjs +0 -84
  761. package/esm2022/components/progress/index.mjs +0 -9
  762. package/esm2022/components/progress/progress-bar/fixed-gradient/progress-fixed-gradient.directive.mjs +0 -39
  763. package/esm2022/components/progress/progress-bar/progress-bar.component.mjs +0 -25
  764. package/esm2022/components/progress/progress-bar/progress-color-segments.directive.mjs +0 -58
  765. package/esm2022/components/progress/progress-circle/progress-circle.component.mjs +0 -45
  766. package/esm2022/components/progress/progress-label/progress-label.component.mjs +0 -12
  767. package/esm2022/components/progress/progress-segmented/progress-segmented.directive.mjs +0 -34
  768. package/esm2022/components/progress/progress.mjs +0 -15
  769. package/esm2022/components/progress/progress.options.mjs +0 -13
  770. package/esm2022/components/progress/taiga-ui-kit-components-progress.mjs +0 -5
  771. package/esm2022/components/pulse/index.mjs +0 -2
  772. package/esm2022/components/pulse/pulse.component.mjs +0 -34
  773. package/esm2022/components/pulse/taiga-ui-kit-components-pulse.mjs +0 -5
  774. package/esm2022/components/push/index.mjs +0 -7
  775. package/esm2022/components/push/push-alert.component.mjs +0 -29
  776. package/esm2022/components/push/push.component.mjs +0 -39
  777. package/esm2022/components/push/push.directive.mjs +0 -33
  778. package/esm2022/components/push/push.mjs +0 -5
  779. package/esm2022/components/push/push.options.mjs +0 -21
  780. package/esm2022/components/push/push.service.mjs +0 -19
  781. package/esm2022/components/push/taiga-ui-kit-components-push.mjs +0 -5
  782. package/esm2022/components/radio/index.mjs +0 -5
  783. package/esm2022/components/radio/radio.component.mjs +0 -53
  784. package/esm2022/components/radio/radio.directive.mjs +0 -32
  785. package/esm2022/components/radio/radio.mjs +0 -4
  786. package/esm2022/components/radio/radio.options.mjs +0 -13
  787. package/esm2022/components/radio/taiga-ui-kit-components-radio.mjs +0 -5
  788. package/esm2022/components/radio-list/index.mjs +0 -2
  789. package/esm2022/components/radio-list/radio-list.component.mjs +0 -64
  790. package/esm2022/components/radio-list/taiga-ui-kit-components-radio-list.mjs +0 -5
  791. package/esm2022/components/range/index.mjs +0 -3
  792. package/esm2022/components/range/range-change.directive.mjs +0 -78
  793. package/esm2022/components/range/range.component.mjs +0 -164
  794. package/esm2022/components/range/taiga-ui-kit-components-range.mjs +0 -5
  795. package/esm2022/components/rating/index.mjs +0 -3
  796. package/esm2022/components/rating/rating.component.mjs +0 -64
  797. package/esm2022/components/rating/rating.options.mjs +0 -13
  798. package/esm2022/components/rating/taiga-ui-kit-components-rating.mjs +0 -5
  799. package/esm2022/components/routable-dialog/generate-dialogable-route.mjs +0 -17
  800. package/esm2022/components/routable-dialog/index.mjs +0 -3
  801. package/esm2022/components/routable-dialog/routable-dialog.component.mjs +0 -53
  802. package/esm2022/components/routable-dialog/taiga-ui-kit-components-routable-dialog.mjs +0 -5
  803. package/esm2022/components/segmented/index.mjs +0 -3
  804. package/esm2022/components/segmented/segmented.component.mjs +0 -73
  805. package/esm2022/components/segmented/segmented.directive.mjs +0 -65
  806. package/esm2022/components/segmented/taiga-ui-kit-components-segmented.mjs +0 -5
  807. package/esm2022/components/select/index.mjs +0 -5
  808. package/esm2022/components/select/native-select/native-select.component.mjs +0 -76
  809. package/esm2022/components/select/select-option/select-option.component.mjs +0 -51
  810. package/esm2022/components/select/select.directive.mjs +0 -56
  811. package/esm2022/components/select/select.mjs +0 -4
  812. package/esm2022/components/select/taiga-ui-kit-components-select.mjs +0 -5
  813. package/esm2022/components/slider/helpers/key-steps.mjs +0 -36
  814. package/esm2022/components/slider/helpers/slider-key-steps.directive.mjs +0 -110
  815. package/esm2022/components/slider/helpers/slider-readonly.directive.mjs +0 -75
  816. package/esm2022/components/slider/helpers/slider-thumb-label.component.mjs +0 -38
  817. package/esm2022/components/slider/index.mjs +0 -8
  818. package/esm2022/components/slider/slider.component.mjs +0 -124
  819. package/esm2022/components/slider/slider.mjs +0 -12
  820. package/esm2022/components/slider/slider.options.mjs +0 -16
  821. package/esm2022/components/slider/taiga-ui-kit-components-slider.mjs +0 -5
  822. package/esm2022/components/slides/index.mjs +0 -2
  823. package/esm2022/components/slides/slides.directive.mjs +0 -51
  824. package/esm2022/components/slides/taiga-ui-kit-components-slides.mjs +0 -5
  825. package/esm2022/components/status/index.mjs +0 -2
  826. package/esm2022/components/status/status.directive.mjs +0 -35
  827. package/esm2022/components/status/taiga-ui-kit-components-status.mjs +0 -5
  828. package/esm2022/components/stepper/index.mjs +0 -4
  829. package/esm2022/components/stepper/step.component.mjs +0 -58
  830. package/esm2022/components/stepper/stepper.component.mjs +0 -118
  831. package/esm2022/components/stepper/stepper.mjs +0 -4
  832. package/esm2022/components/stepper/taiga-ui-kit-components-stepper.mjs +0 -5
  833. package/esm2022/components/switch/index.mjs +0 -3
  834. package/esm2022/components/switch/switch.component.mjs +0 -63
  835. package/esm2022/components/switch/switch.options.mjs +0 -15
  836. package/esm2022/components/switch/taiga-ui-kit-components-switch.mjs +0 -5
  837. package/esm2022/components/tabs/index.mjs +0 -9
  838. package/esm2022/components/tabs/tab.directive.mjs +0 -47
  839. package/esm2022/components/tabs/tabs-horizontal.directive.mjs +0 -108
  840. package/esm2022/components/tabs/tabs-vertical.directive.mjs +0 -38
  841. package/esm2022/components/tabs/tabs-with-more.component.mjs +0 -213
  842. package/esm2022/components/tabs/tabs.directive.mjs +0 -79
  843. package/esm2022/components/tabs/tabs.mjs +0 -15
  844. package/esm2022/components/tabs/tabs.options.mjs +0 -19
  845. package/esm2022/components/tabs/tabs.providers.mjs +0 -35
  846. package/esm2022/components/tabs/taiga-ui-kit-components-tabs.mjs +0 -5
  847. package/esm2022/components/taiga-ui-kit-components.mjs +0 -5
  848. package/esm2022/components/textarea/index.mjs +0 -4
  849. package/esm2022/components/textarea/taiga-ui-kit-components-textarea.mjs +0 -5
  850. package/esm2022/components/textarea/textarea-limit.directive.mjs +0 -93
  851. package/esm2022/components/textarea/textarea.component.mjs +0 -58
  852. package/esm2022/components/textarea/textarea.options.mjs +0 -7
  853. package/esm2022/components/tiles/index.mjs +0 -7
  854. package/esm2022/components/tiles/taiga-ui-kit-components-tiles.mjs +0 -5
  855. package/esm2022/components/tiles/tile-handle.directive.mjs +0 -60
  856. package/esm2022/components/tiles/tile.component.mjs +0 -69
  857. package/esm2022/components/tiles/tile.service.mjs +0 -90
  858. package/esm2022/components/tiles/tiles.component.mjs +0 -70
  859. package/esm2022/components/tiles/tiles.mjs +0 -5
  860. package/esm2022/components/tiles/tiles.tokens.mjs +0 -37
  861. package/esm2022/components/toast/index.mjs +0 -6
  862. package/esm2022/components/toast/taiga-ui-kit-components-toast.mjs +0 -5
  863. package/esm2022/components/toast/toast.component.mjs +0 -50
  864. package/esm2022/components/toast/toast.directive.mjs +0 -68
  865. package/esm2022/components/toast/toast.mjs +0 -4
  866. package/esm2022/components/toast/toast.options.mjs +0 -8
  867. package/esm2022/components/toast/toast.service.mjs +0 -54
  868. package/esm2022/components/tree/components/tree/tree.component.mjs +0 -64
  869. package/esm2022/components/tree/components/tree-item/tree-item.component.mjs +0 -63
  870. package/esm2022/components/tree/components/tree-item-content/tree-item-content.component.mjs +0 -44
  871. package/esm2022/components/tree/directives/tree-children.directive.mjs +0 -24
  872. package/esm2022/components/tree/directives/tree-controller.directive.mjs +0 -57
  873. package/esm2022/components/tree/directives/tree-item-controller.directive.mjs +0 -32
  874. package/esm2022/components/tree/directives/tree-node.directive.mjs +0 -32
  875. package/esm2022/components/tree/index.mjs +0 -12
  876. package/esm2022/components/tree/misc/tree.constants.mjs +0 -9
  877. package/esm2022/components/tree/misc/tree.interfaces.mjs +0 -2
  878. package/esm2022/components/tree/misc/tree.service.mjs +0 -31
  879. package/esm2022/components/tree/misc/tree.tokens.mjs +0 -43
  880. package/esm2022/components/tree/taiga-ui-kit-components-tree.mjs +0 -5
  881. package/esm2022/components/tree/tree.mjs +0 -17
  882. package/esm2022/directives/button-close/button-close.directive.mjs +0 -33
  883. package/esm2022/directives/button-close/index.mjs +0 -2
  884. package/esm2022/directives/button-close/taiga-ui-kit-directives-button-close.mjs +0 -5
  885. package/esm2022/directives/button-group/button-group.directive.mjs +0 -29
  886. package/esm2022/directives/button-group/index.mjs +0 -2
  887. package/esm2022/directives/button-group/taiga-ui-kit-directives-button-group.mjs +0 -5
  888. package/esm2022/directives/button-select/button-select.directive.mjs +0 -57
  889. package/esm2022/directives/button-select/index.mjs +0 -2
  890. package/esm2022/directives/button-select/taiga-ui-kit-directives-button-select.mjs +0 -5
  891. package/esm2022/directives/chevron/chevron.directive.mjs +0 -45
  892. package/esm2022/directives/chevron/index.mjs +0 -2
  893. package/esm2022/directives/chevron/taiga-ui-kit-directives-chevron.mjs +0 -5
  894. package/esm2022/directives/connected/connected.directive.mjs +0 -32
  895. package/esm2022/directives/connected/index.mjs +0 -2
  896. package/esm2022/directives/connected/taiga-ui-kit-directives-connected.mjs +0 -5
  897. package/esm2022/directives/copy/button-copy.component.mjs +0 -71
  898. package/esm2022/directives/copy/copy.component.mjs +0 -54
  899. package/esm2022/directives/copy/copy.directive.mjs +0 -71
  900. package/esm2022/directives/copy/copy.mjs +0 -9
  901. package/esm2022/directives/copy/copy.options.mjs +0 -3
  902. package/esm2022/directives/copy/index.mjs +0 -7
  903. package/esm2022/directives/copy/taiga-ui-kit-directives-copy.mjs +0 -5
  904. package/esm2022/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.mjs +0 -105
  905. package/esm2022/directives/data-list-dropdown-manager/index.mjs +0 -2
  906. package/esm2022/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +0 -5
  907. package/esm2022/directives/fade/fade.directive.mjs +0 -97
  908. package/esm2022/directives/fade/index.mjs +0 -2
  909. package/esm2022/directives/fade/taiga-ui-kit-directives-fade.mjs +0 -5
  910. package/esm2022/directives/fluid-typography/fluid-typography.directive.mjs +0 -63
  911. package/esm2022/directives/fluid-typography/fluid-typography.options.mjs +0 -13
  912. package/esm2022/directives/fluid-typography/index.mjs +0 -3
  913. package/esm2022/directives/fluid-typography/taiga-ui-kit-directives-fluid-typography.mjs +0 -5
  914. package/esm2022/directives/highlight/highlight.directive.mjs +0 -92
  915. package/esm2022/directives/highlight/index.mjs +0 -2
  916. package/esm2022/directives/highlight/taiga-ui-kit-directives-highlight.mjs +0 -5
  917. package/esm2022/directives/icon-badge/icon-badge.directive.mjs +0 -41
  918. package/esm2022/directives/icon-badge/index.mjs +0 -2
  919. package/esm2022/directives/icon-badge/taiga-ui-kit-directives-icon-badge.mjs +0 -5
  920. package/esm2022/directives/index.mjs +0 -21
  921. package/esm2022/directives/lazy-loading/index.mjs +0 -3
  922. package/esm2022/directives/lazy-loading/lazy-loading.directive.mjs +0 -57
  923. package/esm2022/directives/lazy-loading/lazy-loading.service.mjs +0 -23
  924. package/esm2022/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.mjs +0 -5
  925. package/esm2022/directives/password/index.mjs +0 -3
  926. package/esm2022/directives/password/password.directive.mjs +0 -67
  927. package/esm2022/directives/password/password.options.mjs +0 -8
  928. package/esm2022/directives/password/taiga-ui-kit-directives-password.mjs +0 -5
  929. package/esm2022/directives/present/index.mjs +0 -2
  930. package/esm2022/directives/present/present.directive.mjs +0 -33
  931. package/esm2022/directives/present/taiga-ui-kit-directives-present.mjs +0 -5
  932. package/esm2022/directives/sensitive/index.mjs +0 -2
  933. package/esm2022/directives/sensitive/sensitive.directive.mjs +0 -48
  934. package/esm2022/directives/sensitive/taiga-ui-kit-directives-sensitive.mjs +0 -5
  935. package/esm2022/directives/shimmer/index.mjs +0 -2
  936. package/esm2022/directives/shimmer/shimmer.directive.mjs +0 -68
  937. package/esm2022/directives/shimmer/taiga-ui-kit-directives-shimmer.mjs +0 -5
  938. package/esm2022/directives/skeleton/index.mjs +0 -2
  939. package/esm2022/directives/skeleton/skeleton.directive.mjs +0 -69
  940. package/esm2022/directives/skeleton/taiga-ui-kit-directives-skeleton.mjs +0 -5
  941. package/esm2022/directives/taiga-ui-kit-directives.mjs +0 -5
  942. package/esm2022/directives/tooltip/index.mjs +0 -3
  943. package/esm2022/directives/tooltip/taiga-ui-kit-directives-tooltip.mjs +0 -5
  944. package/esm2022/directives/tooltip/tooltip.directive.mjs +0 -92
  945. package/esm2022/directives/tooltip/tooltip.options.mjs +0 -6
  946. package/esm2022/directives/unfinished-validator/index.mjs +0 -3
  947. package/esm2022/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.mjs +0 -5
  948. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +0 -36
  949. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +0 -7
  950. package/esm2022/directives/unmask-handler/index.mjs +0 -2
  951. package/esm2022/directives/unmask-handler/taiga-ui-kit-directives-unmask-handler.mjs +0 -5
  952. package/esm2022/directives/unmask-handler/unmask-handler.directive.mjs +0 -35
  953. package/esm2022/index.mjs +0 -6
  954. package/esm2022/pipes/emails/emails.options.mjs +0 -13
  955. package/esm2022/pipes/emails/emails.pipe.mjs +0 -26
  956. package/esm2022/pipes/emails/index.mjs +0 -3
  957. package/esm2022/pipes/emails/taiga-ui-kit-pipes-emails.mjs +0 -5
  958. package/esm2022/pipes/field-error/field-error-content-pipe.mjs +0 -42
  959. package/esm2022/pipes/field-error/field-error-pipe.mjs +0 -103
  960. package/esm2022/pipes/field-error/index.mjs +0 -3
  961. package/esm2022/pipes/field-error/taiga-ui-kit-pipes-field-error.mjs +0 -5
  962. package/esm2022/pipes/filter-by-input/filter-by-input.pipe.mjs +0 -68
  963. package/esm2022/pipes/filter-by-input/index.mjs +0 -2
  964. package/esm2022/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.mjs +0 -5
  965. package/esm2022/pipes/hide-selected/hide-selected.pipe.mjs +0 -46
  966. package/esm2022/pipes/hide-selected/index.mjs +0 -2
  967. package/esm2022/pipes/hide-selected/taiga-ui-kit-pipes-hide-selected.mjs +0 -5
  968. package/esm2022/pipes/index.mjs +0 -8
  969. package/esm2022/pipes/sort-countries/index.mjs +0 -2
  970. package/esm2022/pipes/sort-countries/sort-countries.pipe.mjs +0 -23
  971. package/esm2022/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.mjs +0 -5
  972. package/esm2022/pipes/stringify/index.mjs +0 -2
  973. package/esm2022/pipes/stringify/stringify.pipe.mjs +0 -18
  974. package/esm2022/pipes/stringify/taiga-ui-kit-pipes-stringify.mjs +0 -5
  975. package/esm2022/pipes/stringify-content/index.mjs +0 -2
  976. package/esm2022/pipes/stringify-content/stringify-content.pipe.mjs +0 -18
  977. package/esm2022/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.mjs +0 -5
  978. package/esm2022/pipes/taiga-ui-kit-pipes.mjs +0 -5
  979. package/esm2022/taiga-ui-kit.mjs +0 -5
  980. package/esm2022/tokens/calendar-date-stream.mjs +0 -25
  981. package/esm2022/tokens/date-inputs-value-transformers.mjs +0 -21
  982. package/esm2022/tokens/i18n.mjs +0 -75
  983. package/esm2022/tokens/index.mjs +0 -10
  984. package/esm2022/tokens/input-date-options.mjs +0 -13
  985. package/esm2022/tokens/items-handlers.mjs +0 -27
  986. package/esm2022/tokens/mobile-calendar.mjs +0 -13
  987. package/esm2022/tokens/month-formatter.mjs +0 -12
  988. package/esm2022/tokens/preview-icons.mjs +0 -17
  989. package/esm2022/tokens/taiga-ui-kit-tokens.mjs +0 -5
  990. package/esm2022/tokens/validation-errors.mjs +0 -6
  991. package/esm2022/utils/create-time-periods.mjs +0 -12
  992. package/esm2022/utils/index.mjs +0 -7
  993. package/esm2022/utils/inject-value.mjs +0 -11
  994. package/esm2022/utils/is-flat.mjs +0 -4
  995. package/esm2022/utils/maskito.binding.mjs +0 -6
  996. package/esm2022/utils/phone.mjs +0 -6
  997. package/esm2022/utils/taiga-ui-kit-utils.mjs +0 -5
  998. package/esm2022/utils/toggle-day.mjs +0 -6
  999. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +0 -78
  1000. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +0 -1
  1001. package/fesm2022/taiga-ui-kit-components-floating-container.mjs +0 -43
  1002. package/fesm2022/taiga-ui-kit-components-floating-container.mjs.map +0 -1
  1003. package/fesm2022/taiga-ui-kit-components-input-password.mjs +0 -96
  1004. package/fesm2022/taiga-ui-kit-components-input-password.mjs.map +0 -1
  1005. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +0 -83
  1006. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +0 -1
  1007. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs +0 -64
  1008. package/fesm2022/taiga-ui-kit-components-preview-dialog.mjs.map +0 -1
  1009. package/fesm2022/taiga-ui-kit-components-slides.mjs +0 -57
  1010. package/fesm2022/taiga-ui-kit-components-slides.mjs.map +0 -1
  1011. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +0 -39
  1012. package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +0 -1
  1013. package/fesm2022/taiga-ui-kit-directives-copy.mjs +0 -190
  1014. package/fesm2022/taiga-ui-kit-directives-copy.mjs.map +0 -1
  1015. package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs +0 -47
  1016. package/fesm2022/taiga-ui-kit-directives-icon-badge.mjs.map +0 -1
  1017. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +0 -81
  1018. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +0 -1
  1019. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs +0 -147
  1020. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs.map +0 -1
  1021. package/pipes/field-error/field-error-content-pipe.d.ts +0 -14
  1022. package/pipes/field-error/field-error-pipe.d.ts +0 -29
  1023. package/pipes/field-error/index.d.ts +0 -2
  1024. package/tokens/calendar-date-stream.d.ts +0 -10
  1025. package/tokens/date-inputs-value-transformers.d.ts +0 -19
  1026. package/tokens/input-date-options.d.ts +0 -15
  1027. package/tokens/items-handlers.d.ts +0 -26
  1028. package/tokens/mobile-calendar.d.ts +0 -6
  1029. package/tokens/month-formatter.d.ts +0 -5
  1030. package/tokens/validation-errors.d.ts +0 -5
  1031. package/utils/phone.d.ts +0 -3
  1032. package/utils/toggle-day.d.ts +0 -2
@@ -1,108 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { ContentChildren, Directive, forwardRef, inject, Input, } from '@angular/core';
3
- import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
- import { WaMutationObserverService, WA_MUTATION_OBSERVER_INIT, } from '@ng-web-apis/mutation-observer';
5
- import { EMPTY_QUERY } from '@taiga-ui/cdk/constants';
6
- import { tuiZonefree } from '@taiga-ui/cdk/observables';
7
- import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
8
- import { tuiPure, tuiPx } from '@taiga-ui/cdk/utils/miscellaneous';
9
- import { TuiTab } from './tab.directive';
10
- import { TuiTabsDirective } from './tabs.directive';
11
- import { TUI_TABS_OPTIONS } from './tabs.options';
12
- import * as i0 from "@angular/core";
13
- import * as i1 from "./tabs.directive";
14
- class TuiTabsHorizontal {
15
- constructor() {
16
- this.el = tuiInjectElement();
17
- this.options = inject(TUI_TABS_OPTIONS);
18
- this.tabs = inject(TuiTabsDirective);
19
- this.children = EMPTY_QUERY;
20
- this.sub = inject(WaMutationObserverService, { self: true })
21
- .pipe(tuiZonefree(), takeUntilDestroyed())
22
- .subscribe(() => this.refresh());
23
- this.underline = this.options.underline;
24
- }
25
- ngAfterViewChecked() {
26
- this.scrollTo(this.tabs.activeItemIndex);
27
- this.refresh();
28
- }
29
- onKeyDownArrow(current, step) {
30
- this.tabs.moveFocus(current, step);
31
- }
32
- refresh() {
33
- const { activeElement } = this.tabs;
34
- if (activeElement && !activeElement.isConnected) {
35
- return;
36
- }
37
- const { offsetLeft = 0, offsetWidth = 0 } = activeElement || {};
38
- this.el.style.setProperty('--t-left', tuiPx(offsetLeft));
39
- this.el.style.setProperty('--t-width', tuiPx(offsetWidth));
40
- }
41
- scrollTo(index) {
42
- const element = this.tabs.tabs[index];
43
- if (!element) {
44
- return;
45
- }
46
- const { offsetLeft, offsetWidth } = element;
47
- if (offsetLeft < this.el.scrollLeft) {
48
- this.el.scrollLeft = offsetLeft;
49
- }
50
- if (offsetLeft + offsetWidth > this.el.scrollLeft + this.el.offsetWidth) {
51
- this.el.scrollLeft = offsetLeft + offsetWidth - this.el.offsetWidth;
52
- }
53
- }
54
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTabsHorizontal, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
55
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTabsHorizontal, isStandalone: true, selector: "tui-tabs:not([vertical]), nav[tuiTabs]:not([vertical])", inputs: { underline: "underline" }, host: { listeners: { "animationend": "refresh()", "keydown.arrowRight.prevent": "onKeyDownArrow($event.target, 1)", "keydown.arrowLeft.prevent": "onKeyDownArrow($event.target, -1)" }, properties: { "class._underline": "underline", "style.--t-color": "underline === true ? 'var(--tui-background-accent-1)' : underline" } }, providers: [
56
- WaMutationObserverService,
57
- {
58
- provide: WA_MUTATION_OBSERVER_INIT,
59
- useValue: {
60
- childList: true,
61
- characterData: true,
62
- subtree: true,
63
- },
64
- },
65
- ], queries: [{ propertyName: "children", predicate: i0.forwardRef(function () { return TuiTab; }) }], hostDirectives: [{ directive: i1.TuiTabsDirective, inputs: ["activeItemIndex", "activeItemIndex", "size", "size"], outputs: ["activeItemIndexChange", "activeItemIndexChange"] }], ngImport: i0 }); }
66
- }
67
- __decorate([
68
- tuiPure
69
- ], TuiTabsHorizontal.prototype, "scrollTo", null);
70
- export { TuiTabsHorizontal };
71
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTabsHorizontal, decorators: [{
72
- type: Directive,
73
- args: [{
74
- standalone: true,
75
- selector: 'tui-tabs:not([vertical]), nav[tuiTabs]:not([vertical])',
76
- providers: [
77
- WaMutationObserverService,
78
- {
79
- provide: WA_MUTATION_OBSERVER_INIT,
80
- useValue: {
81
- childList: true,
82
- characterData: true,
83
- subtree: true,
84
- },
85
- },
86
- ],
87
- hostDirectives: [
88
- {
89
- directive: TuiTabsDirective,
90
- inputs: ['activeItemIndex', 'size'],
91
- outputs: ['activeItemIndexChange'],
92
- },
93
- ],
94
- host: {
95
- '[class._underline]': 'underline',
96
- '[style.--t-color]': "underline === true ? 'var(--tui-background-accent-1)' : underline",
97
- '(animationend)': 'refresh()',
98
- '(keydown.arrowRight.prevent)': 'onKeyDownArrow($event.target, 1)',
99
- '(keydown.arrowLeft.prevent)': 'onKeyDownArrow($event.target, -1)',
100
- },
101
- }]
102
- }], propDecorators: { children: [{
103
- type: ContentChildren,
104
- args: [forwardRef(() => TuiTab)]
105
- }], underline: [{
106
- type: Input
107
- }], scrollTo: [] } });
108
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy1ob3Jpem9udGFsLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9jb21wb25lbnRzL3RhYnMvdGFicy1ob3Jpem9udGFsLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1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2lkdGggPSAwfSA9IGFjdGl2ZUVsZW1lbnQgfHwge307XG5cbiAgICAgICAgdGhpcy5lbC5zdHlsZS5zZXRQcm9wZXJ0eSgnLS10LWxlZnQnLCB0dWlQeChvZmZzZXRMZWZ0KSk7XG4gICAgICAgIHRoaXMuZWwuc3R5bGUuc2V0UHJvcGVydHkoJy0tdC13aWR0aCcsIHR1aVB4KG9mZnNldFdpZHRoKSk7XG4gICAgfVxuXG4gICAgQHR1aVB1cmVcbiAgICBwcml2YXRlIHNjcm9sbFRvKGluZGV4OiBudW1iZXIpOiB2b2lkIHtcbiAgICAgICAgY29uc3QgZWxlbWVudCA9IHRoaXMudGFicy50YWJzW2luZGV4XTtcblxuICAgICAgICBpZiAoIWVsZW1lbnQpIHtcbiAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuXG4gICAgICAgIGNvbnN0IHtvZmZzZXRMZWZ0LCBvZmZzZXRXaWR0aH0gPSBlbGVtZW50O1xuXG4gICAgICAgIGlmIChvZmZzZXRMZWZ0IDwgdGhpcy5lbC5zY3JvbGxMZWZ0KSB7XG4gICAgICAgICAgICB0aGlzLmVsLnNjcm9sbExlZnQgPSBvZmZzZXRMZWZ0O1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKG9mZnNldExlZnQgKyBvZmZzZXRXaWR0aCA+IHRoaXMuZWwuc2Nyb2xsTGVmdCArIHRoaXMuZWwub2Zmc2V0V2lkdGgpIHtcbiAgICAgICAgICAgIHRoaXMuZWwuc2Nyb2xsTGVmdCA9IG9mZnNldExlZnQgKyBvZmZzZXRXaWR0aCAtIHRoaXMuZWwub2Zmc2V0V2lkdGg7XG4gICAgICAgIH1cbiAgICB9XG59XG4iXX0=
@@ -1,38 +0,0 @@
1
- import { Directive, inject, Input } from '@angular/core';
2
- import { TuiTabsDirective } from './tabs.directive';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "./tabs.directive";
5
- class TuiTabsVertical {
6
- constructor() {
7
- this.tabs = inject(TuiTabsDirective);
8
- this.vertical = 'left';
9
- }
10
- onKeyDownArrow(current, step) {
11
- this.tabs.moveFocus(current, step);
12
- }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTabsVertical, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
14
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTabsVertical, isStandalone: true, selector: "tui-tabs[vertical], nav[tuiTabs][vertical]", inputs: { vertical: "vertical" }, host: { listeners: { "keydown.arrowDown.prevent": "onKeyDownArrow($event.target, 1)", "keydown.arrowUp.prevent": "onKeyDownArrow($event.target, -1)" }, properties: { "attr.data-vertical": "vertical" } }, hostDirectives: [{ directive: i1.TuiTabsDirective, inputs: ["activeItemIndex", "activeItemIndex", "size", "size"], outputs: ["activeItemIndexChange", "activeItemIndexChange"] }], ngImport: i0 }); }
15
- }
16
- export { TuiTabsVertical };
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTabsVertical, decorators: [{
18
- type: Directive,
19
- args: [{
20
- standalone: true,
21
- selector: 'tui-tabs[vertical], nav[tuiTabs][vertical]',
22
- hostDirectives: [
23
- {
24
- directive: TuiTabsDirective,
25
- inputs: ['activeItemIndex', 'size'],
26
- outputs: ['activeItemIndexChange'],
27
- },
28
- ],
29
- host: {
30
- '[attr.data-vertical]': 'vertical',
31
- '(keydown.arrowDown.prevent)': 'onKeyDownArrow($event.target, 1)',
32
- '(keydown.arrowUp.prevent)': 'onKeyDownArrow($event.target, -1)',
33
- },
34
- }]
35
- }], propDecorators: { vertical: [{
36
- type: Input
37
- }] } });
38
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy12ZXJ0aWNhbC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8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6b250YWxEaXJlY3Rpb24gPSAnbGVmdCc7XG5cbiAgICBwcm90ZWN0ZWQgb25LZXlEb3duQXJyb3coY3VycmVudDogSFRNTEVsZW1lbnQsIHN0ZXA6IG51bWJlcik6IHZvaWQge1xuICAgICAgICB0aGlzLnRhYnMubW92ZUZvY3VzKGN1cnJlbnQsIHN0ZXApO1xuICAgIH1cbn1cbiJdfQ==
@@ -1,213 +0,0 @@
1
- import { AsyncPipe, NgFor, NgIf, NgTemplateOutlet } from '@angular/common';
2
- import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChildren, ElementRef, EventEmitter, inject, Input, Output, TemplateRef, ViewChild, } from '@angular/core';
3
- import { EMPTY_QUERY } from '@taiga-ui/cdk/constants';
4
- import { TuiItem } from '@taiga-ui/cdk/directives/item';
5
- import { tuiInjectElement, tuiIsElement } from '@taiga-ui/cdk/utils/dom';
6
- import { tuiGetClosestFocusable, tuiIsNativeFocused } from '@taiga-ui/cdk/utils/focus';
7
- import { tuiClamp, tuiToInt } from '@taiga-ui/cdk/utils/math';
8
- import { tuiPx } from '@taiga-ui/cdk/utils/miscellaneous';
9
- import { TuiDropdown } from '@taiga-ui/core/directives/dropdown';
10
- import { TuiChevron } from '@taiga-ui/kit/directives/chevron';
11
- import { TUI_MORE_WORD } from '@taiga-ui/kit/tokens';
12
- import { PolymorpheusOutlet } from '@taiga-ui/polymorpheus';
13
- import { filter, map, tap } from 'rxjs';
14
- import { TuiTab } from './tab.directive';
15
- import { TUI_TABS_OPTIONS } from './tabs.options';
16
- import { TUI_TABS_PROVIDERS, TUI_TABS_REFRESH } from './tabs.providers';
17
- import { TuiTabsHorizontal } from './tabs-horizontal.directive';
18
- import * as i0 from "@angular/core";
19
- import * as i1 from "@taiga-ui/core/directives/dropdown";
20
- class TuiTabsWithMore {
21
- constructor() {
22
- this.options = inject(TUI_TABS_OPTIONS);
23
- this.refresh$ = inject(TUI_TABS_REFRESH);
24
- this.el = tuiInjectElement();
25
- this.cdr = inject(ChangeDetectorRef);
26
- this.maxIndex = Infinity;
27
- this.items = EMPTY_QUERY;
28
- this.moreWord$ = inject(TUI_MORE_WORD);
29
- this.size = this.options.size;
30
- this.underline = this.options.underline;
31
- this.itemsLimit = this.options.itemsLimit;
32
- this.activeItemIndexChange = new EventEmitter();
33
- this.open = false;
34
- this.activeItemIndex = 0;
35
- }
36
- set itemIndex(activeItemIndex) {
37
- this.activeItemIndex = activeItemIndex;
38
- this.maxIndex = this.getMaxIndex();
39
- }
40
- get lastVisibleIndex() {
41
- if (this.itemsLimit + 1 >= this.items.length) {
42
- return this.maxIndex;
43
- }
44
- const offset = this.itemsLimit - 1 > this.activeItemIndex || !this.options.exposeActive
45
- ? 1
46
- : 2;
47
- return Math.min(this.itemsLimit - offset, this.maxIndex);
48
- }
49
- isOverflown(index) {
50
- return index !== this.activeItemIndex || !this.options.exposeActive;
51
- }
52
- shouldShow(index) {
53
- return index > this.lastVisibleIndex && this.isOverflown(index);
54
- }
55
- ngAfterViewInit() {
56
- this.refresh$
57
- .pipe(map(() => this.getMaxIndex()), tap(() => this.refresh()), filter((maxIndex) => this.maxIndex !== maxIndex))
58
- .subscribe((maxIndex) => {
59
- this.maxIndex = maxIndex;
60
- this.cdr.detectChanges();
61
- });
62
- }
63
- ngAfterViewChecked() {
64
- this.refresh();
65
- }
66
- // TODO: Improve performance
67
- get tabs() {
68
- return Array.from(this.el.querySelectorAll('[tuiTab]'));
69
- }
70
- get activeElement() {
71
- const { tabs } = this;
72
- const safeActiveIndex = tuiClamp(this.activeItemIndex || 0, 0, tabs.length - 2);
73
- return this.options.exposeActive || this.lastVisibleIndex >= safeActiveIndex
74
- ? tabs[safeActiveIndex] || null
75
- : this.moreButton?.nativeElement || null;
76
- }
77
- get isMoreAlone() {
78
- return this.lastVisibleIndex < 0 && !this.options.exposeActive;
79
- }
80
- get isMoreVisible() {
81
- return this.lastVisibleIndex < this.items.length - 1;
82
- }
83
- get isMoreFocusable() {
84
- return !!this.moreButton && tuiIsNativeFocused(this.moreButton.nativeElement);
85
- }
86
- get isMoreActive() {
87
- return (this.open ||
88
- (!this.options.exposeActive && this.lastVisibleIndex < this.activeItemIndex));
89
- }
90
- onActiveItemIndexChange(activeItemIndex) {
91
- this.updateActiveItemIndex(activeItemIndex);
92
- }
93
- onClick(index) {
94
- this.open = false;
95
- this.focusMore();
96
- this.updateActiveItemIndex(index);
97
- }
98
- onArrowRight(event) {
99
- if (tuiIsElement(event.target) && tuiIsNativeFocused(event.target)) {
100
- this.focusMore();
101
- }
102
- }
103
- onArrowLeft() {
104
- const { tabs } = this;
105
- let index = tabs.length - 2;
106
- while (index >= 0) {
107
- tabs[index]?.focus();
108
- if (tuiIsNativeFocused(tabs[index])) {
109
- return;
110
- }
111
- index--;
112
- }
113
- }
114
- onWrapperArrow(event, wrapper, previous) {
115
- const button = event.target;
116
- const target = tuiGetClosestFocusable({ initial: button, root: wrapper, previous });
117
- if (target) {
118
- target.focus();
119
- }
120
- }
121
- get margin() {
122
- return this.size === 'l' ? 24 : 16;
123
- }
124
- focusMore() {
125
- if (this.moreButton) {
126
- this.moreButton.nativeElement.focus();
127
- }
128
- }
129
- getMaxIndex() {
130
- const { tabs, activeItemIndex, margin } = this;
131
- if (tabs.length < 2) {
132
- return 0;
133
- }
134
- const { exposeActive, minMoreWidth } = this.options;
135
- const { clientWidth } = this.el;
136
- const active = tabs[activeItemIndex];
137
- const activeWidth = active?.scrollWidth ?? 0;
138
- const moreWidth = Math.max(tabs[tabs.length - 1]?.scrollWidth ?? 0, minMoreWidth);
139
- let maxIndex = tabs.length - 2;
140
- let total = tabs.reduce((acc, { scrollWidth }) => acc + scrollWidth, 0) +
141
- maxIndex * margin -
142
- (tabs[tabs.length - 1]?.scrollWidth ?? 0);
143
- if (Number.isNaN(total) || total <= clientWidth) {
144
- return Infinity;
145
- }
146
- while (maxIndex) {
147
- total -= (tabs[maxIndex]?.scrollWidth ?? 0) + margin;
148
- maxIndex--;
149
- const activeDisplaced = exposeActive && activeItemIndex > maxIndex;
150
- const activeOffset = activeDisplaced ? activeWidth + margin : 0;
151
- const currentWidth = total + activeOffset + moreWidth + margin;
152
- // Needed for different rounding of visible and hidden elements scrollWidth
153
- const safetyOffset = tuiToInt(this.maxIndex === maxIndex - 1);
154
- if (currentWidth + safetyOffset < clientWidth) {
155
- return maxIndex;
156
- }
157
- }
158
- return -1;
159
- }
160
- updateActiveItemIndex(activeItemIndex) {
161
- this.itemIndex = activeItemIndex;
162
- this.activeItemIndexChange.emit(activeItemIndex);
163
- }
164
- refresh() {
165
- const { offsetLeft = 0, offsetWidth = 0 } = this.activeElement || {};
166
- this.dir?.nativeElement.style.setProperty('--t-left', tuiPx(offsetLeft));
167
- this.dir?.nativeElement.style.setProperty('--t-width', tuiPx(offsetWidth));
168
- }
169
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTabsWithMore, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
170
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiTabsWithMore, isStandalone: true, selector: "tui-tabs-with-more, nav[tuiTabsWithMore]", inputs: { size: "size", moreContent: "moreContent", dropdownContent: "dropdownContent", underline: "underline", itemsLimit: "itemsLimit", itemIndex: ["activeItemIndex", "itemIndex"] }, outputs: { activeItemIndexChange: "activeItemIndexChange" }, host: { properties: { "attr.data-size": "size" } }, providers: TUI_TABS_PROVIDERS, queries: [{ propertyName: "items", predicate: TuiItem, read: TemplateRef }], viewQueries: [{ propertyName: "moreButton", first: true, predicate: TuiTab, descendants: true, read: ElementRef }, { propertyName: "dir", first: true, predicate: TuiTabsHorizontal, descendants: true, read: ElementRef }], ngImport: i0, template: "<ng-container *ngIf=\"items.changes | async\" />\n<tui-tabs\n class=\"t-tabs\"\n [activeItemIndex]=\"activeItemIndex\"\n [size]=\"size\"\n [underline]=\"underline\"\n (activeItemIndexChange)=\"onActiveItemIndexChange($event)\"\n (keydown.arrowRight)=\"onArrowRight($event)\"\n>\n <ng-container *ngFor=\"let item of items; let index = index\">\n <ng-container\n *ngIf=\"index <= lastVisibleIndex; else hidden\"\n [ngTemplateOutlet]=\"item\"\n />\n <ng-template #hidden>\n <div\n class=\"t-flex\"\n [class.t-overflown]=\"isOverflown(index)\"\n >\n <ng-container [ngTemplateOutlet]=\"item\" />\n </div>\n </ng-template>\n </ng-container>\n</tui-tabs>\n\n<button\n *ngIf=\"moreContent; else chevron\"\n tuiTab\n type=\"button\"\n class=\"t-more\"\n [class._active]=\"isMoreActive\"\n [class.t-no-margin]=\"isMoreAlone\"\n [class.t-overflown]=\"!isMoreVisible\"\n [tabIndex]=\"isMoreFocusable ? 0 : -1\"\n [tuiDropdown]=\"dropdownContent || dropdown\"\n [(tuiDropdownOpen)]=\"open\"\n (keydown.arrowLeft.prevent)=\"onArrowLeft()\"\n>\n <ng-container *polymorpheusOutlet=\"moreContent as text\">\n {{ text }}\n </ng-container>\n</button>\n<ng-template #chevron>\n <button\n tuiChevron\n tuiTab\n type=\"button\"\n class=\"t-more\"\n [class._active]=\"isMoreActive\"\n [class.t-no-margin]=\"isMoreAlone\"\n [class.t-overflown]=\"!isMoreVisible\"\n [tabIndex]=\"isMoreFocusable ? 0 : -1\"\n [tuiDropdown]=\"dropdownContent || dropdown\"\n [(tuiDropdownOpen)]=\"open\"\n (keydown.arrowLeft.prevent)=\"onArrowLeft()\"\n >\n {{ moreWord$ | async }}\n </button>\n</ng-template>\n<ng-template #dropdown>\n <div\n #element\n class=\"t-dropdown\"\n [attr.data-size]=\"size\"\n (keydown.arrowDown.prevent)=\"onWrapperArrow($event, element, false)\"\n (keydown.arrowUp.prevent)=\"onWrapperArrow($event, element, true)\"\n >\n <div\n *ngFor=\"let item of items; let index = index\"\n class=\"t-dropdown-item\"\n (tui-tab-activate)=\"onClick(index)\"\n >\n <ng-container *ngIf=\"shouldShow(index)\">\n <ng-container *polymorpheusOutlet=\"item\" />\n </ng-container>\n </div>\n </div>\n</ng-template>\n\n<ng-content />\n", styles: [":host{position:relative;display:flex;font:var(--tui-font-text-m);box-sizing:border-box;color:var(--tui-text-secondary);box-shadow:inset 0 -1px var(--tui-border-normal);overflow:hidden}:host[data-size=m]{font:var(--tui-font-text-s)}.t-tabs{block-size:inherit;font:inherit;overflow:visible;box-shadow:none;color:inherit}.t-flex{display:flex}.t-overflown{margin:0;inline-size:0;max-inline-size:0;overflow:hidden;visibility:hidden}.t-icon{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;margin-inline-end:-.25rem;vertical-align:bottom}.t-icon_rotated{transform:rotate(180deg)}.t-dropdown{padding:.25rem 0}.t-dropdown ::ng-deep *[tuiTab]{inline-size:calc(100% - .75rem);block-size:2.75rem;justify-content:flex-start;margin:.125rem .375rem;padding:0 .625rem;line-height:1.5rem;border-radius:var(--tui-radius-s);font:var(--tui-font-text-m);color:var(--tui-text-primary)}.t-dropdown ::ng-deep *[tuiTab]:before{display:none}.t-dropdown ::ng-deep *[tuiTab]:hover,.t-dropdown ::ng-deep *[tuiTab]:focus,.t-dropdown ::ng-deep *[tuiTab]._active{box-shadow:none;outline:none;background:var(--tui-background-neutral-1)}.t-dropdown[data-size=m] ::ng-deep *[tuiTab]{block-size:2.25rem;font:var(--tui-font-text-s)}.t-dropdown-item{display:flex;flex-direction:column}.t-no-margin{margin-inline-start:0}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: TuiChevron, selector: "[tuiChevron]", inputs: ["tuiChevron"] }, { kind: "directive", type: i1.TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container):not(ng-template)", inputs: ["tuiDropdown"], exportAs: ["tuiDropdown"] }, { kind: "directive", type: i1.TuiDropdownOpen, selector: "[tuiDropdown][tuiDropdownOpen],[tuiDropdown][tuiDropdownOpenChange]", inputs: ["tuiDropdownEnabled", "tuiDropdownOpen"], outputs: ["tuiDropdownOpenChange"] }, { kind: "directive", type: TuiTab, selector: "a[tuiTab]:not([routerLink]), a[tuiTab][routerLink][routerLinkActive], button[tuiTab]" }, { kind: "directive", type: TuiTabsHorizontal, selector: "tui-tabs:not([vertical]), nav[tuiTabs]:not([vertical])", inputs: ["underline"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
171
- }
172
- export { TuiTabsWithMore };
173
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTabsWithMore, decorators: [{
174
- type: Component,
175
- args: [{ standalone: true, selector: 'tui-tabs-with-more, nav[tuiTabsWithMore]', imports: [
176
- AsyncPipe,
177
- NgFor,
178
- NgIf,
179
- NgTemplateOutlet,
180
- PolymorpheusOutlet,
181
- TuiChevron,
182
- TuiDropdown,
183
- TuiTab,
184
- TuiTabsHorizontal,
185
- ], changeDetection: ChangeDetectionStrategy.OnPush, providers: TUI_TABS_PROVIDERS, host: {
186
- '[attr.data-size]': 'size',
187
- }, template: "<ng-container *ngIf=\"items.changes | async\" />\n<tui-tabs\n class=\"t-tabs\"\n [activeItemIndex]=\"activeItemIndex\"\n [size]=\"size\"\n [underline]=\"underline\"\n (activeItemIndexChange)=\"onActiveItemIndexChange($event)\"\n (keydown.arrowRight)=\"onArrowRight($event)\"\n>\n <ng-container *ngFor=\"let item of items; let index = index\">\n <ng-container\n *ngIf=\"index <= lastVisibleIndex; else hidden\"\n [ngTemplateOutlet]=\"item\"\n />\n <ng-template #hidden>\n <div\n class=\"t-flex\"\n [class.t-overflown]=\"isOverflown(index)\"\n >\n <ng-container [ngTemplateOutlet]=\"item\" />\n </div>\n </ng-template>\n </ng-container>\n</tui-tabs>\n\n<button\n *ngIf=\"moreContent; else chevron\"\n tuiTab\n type=\"button\"\n class=\"t-more\"\n [class._active]=\"isMoreActive\"\n [class.t-no-margin]=\"isMoreAlone\"\n [class.t-overflown]=\"!isMoreVisible\"\n [tabIndex]=\"isMoreFocusable ? 0 : -1\"\n [tuiDropdown]=\"dropdownContent || dropdown\"\n [(tuiDropdownOpen)]=\"open\"\n (keydown.arrowLeft.prevent)=\"onArrowLeft()\"\n>\n <ng-container *polymorpheusOutlet=\"moreContent as text\">\n {{ text }}\n </ng-container>\n</button>\n<ng-template #chevron>\n <button\n tuiChevron\n tuiTab\n type=\"button\"\n class=\"t-more\"\n [class._active]=\"isMoreActive\"\n [class.t-no-margin]=\"isMoreAlone\"\n [class.t-overflown]=\"!isMoreVisible\"\n [tabIndex]=\"isMoreFocusable ? 0 : -1\"\n [tuiDropdown]=\"dropdownContent || dropdown\"\n [(tuiDropdownOpen)]=\"open\"\n (keydown.arrowLeft.prevent)=\"onArrowLeft()\"\n >\n {{ moreWord$ | async }}\n </button>\n</ng-template>\n<ng-template #dropdown>\n <div\n #element\n class=\"t-dropdown\"\n [attr.data-size]=\"size\"\n (keydown.arrowDown.prevent)=\"onWrapperArrow($event, element, false)\"\n (keydown.arrowUp.prevent)=\"onWrapperArrow($event, element, true)\"\n >\n <div\n *ngFor=\"let item of items; let index = index\"\n class=\"t-dropdown-item\"\n (tui-tab-activate)=\"onClick(index)\"\n >\n <ng-container *ngIf=\"shouldShow(index)\">\n <ng-container *polymorpheusOutlet=\"item\" />\n </ng-container>\n </div>\n </div>\n</ng-template>\n\n<ng-content />\n", styles: [":host{position:relative;display:flex;font:var(--tui-font-text-m);box-sizing:border-box;color:var(--tui-text-secondary);box-shadow:inset 0 -1px var(--tui-border-normal);overflow:hidden}:host[data-size=m]{font:var(--tui-font-text-s)}.t-tabs{block-size:inherit;font:inherit;overflow:visible;box-shadow:none;color:inherit}.t-flex{display:flex}.t-overflown{margin:0;inline-size:0;max-inline-size:0;overflow:hidden;visibility:hidden}.t-icon{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;margin-inline-end:-.25rem;vertical-align:bottom}.t-icon_rotated{transform:rotate(180deg)}.t-dropdown{padding:.25rem 0}.t-dropdown ::ng-deep *[tuiTab]{inline-size:calc(100% - .75rem);block-size:2.75rem;justify-content:flex-start;margin:.125rem .375rem;padding:0 .625rem;line-height:1.5rem;border-radius:var(--tui-radius-s);font:var(--tui-font-text-m);color:var(--tui-text-primary)}.t-dropdown ::ng-deep *[tuiTab]:before{display:none}.t-dropdown ::ng-deep *[tuiTab]:hover,.t-dropdown ::ng-deep *[tuiTab]:focus,.t-dropdown ::ng-deep *[tuiTab]._active{box-shadow:none;outline:none;background:var(--tui-background-neutral-1)}.t-dropdown[data-size=m] ::ng-deep *[tuiTab]{block-size:2.25rem;font:var(--tui-font-text-s)}.t-dropdown-item{display:flex;flex-direction:column}.t-no-margin{margin-inline-start:0}\n"] }]
188
- }], propDecorators: { moreButton: [{
189
- type: ViewChild,
190
- args: [TuiTab, { read: ElementRef }]
191
- }], dir: [{
192
- type: ViewChild,
193
- args: [TuiTabsHorizontal, { read: ElementRef }]
194
- }], items: [{
195
- type: ContentChildren,
196
- args: [TuiItem, { read: TemplateRef }]
197
- }], size: [{
198
- type: Input
199
- }], moreContent: [{
200
- type: Input
201
- }], dropdownContent: [{
202
- type: Input
203
- }], underline: [{
204
- type: Input
205
- }], itemsLimit: [{
206
- type: Input
207
- }], activeItemIndexChange: [{
208
- type: Output
209
- }], itemIndex: [{
210
- type: Input,
211
- args: ['activeItemIndex']
212
- }] } });
213
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy13aXRoLW1vcmUuY29tcG9uZW50LmpzIiwic291cmNlUm9vd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AgICAgICAgICByZXR1cm4gdGhpcy5tYXhJbmRleDtcbiAgICAgICAgfVxuXG4gICAgICAgIGNvbnN0IG9mZnNldCA9XG4gICAgICAgICAgICB0aGlzLml0ZW1zTGltaXQgLSAxID4gdGhpcy5hY3RpdmVJdGVtSW5kZXggfHwgIXRoaXMub3B0aW9ucy5leHBvc2VBY3RpdmVcbiAgICAgICAgICAgICAgICA/IDFcbiAgICAgICAgICAgICAgICA6IDI7XG5cbiAgICAgICAgcmV0dXJuIE1hdGgubWluKHRoaXMuaXRlbXNMaW1pdCAtIG9mZnNldCwgdGhpcy5tYXhJbmRleCk7XG4gICAgfVxuXG4gICAgcHVibGljIGlzT3ZlcmZsb3duKGluZGV4OiBudW1iZXIpOiBib29sZWFuIHtcbiAgICAgICAgcmV0dXJuIGluZGV4ICE9PSB0aGlzLmFjdGl2ZUl0ZW1JbmRleCB8fCAhdGhpcy5vcHRpb25zLmV4cG9zZUFjdGl2ZTtcbiAgICB9XG5cbiAgICBwdWJsaWMgc2hvdWxkU2hvdyhpbmRleDogbnVtYmVyKTogYm9vbGVhbiB7XG4gICAgICAgIHJldHVybiBpbmRleCA+IHRoaXMubGFzdFZpc2libGVJbmRleCAmJiB0aGlzLmlzT3ZlcmZsb3duKGluZGV4KTtcbiAgICB9XG5cbiAgICBwdWJsaWMgbmdBZnRlclZpZXdJbml0KCk6IHZvaWQge1xuICAgICAgICB0aGlzLnJlZnJlc2gkXG4gICAgICAgICAgICAucGlwZShcbiAgICAgICAgICAgICAgICBtYXAoKCkgPT4gdGhpcy5nZXRNYXhJbmRleCgpKSxcbiAgICAgICAgICAgICAgICB0YXAoKCkgPT4gdGhpcy5yZWZyZXNoKCkpLFxuICAgICAgICAgICAgICAgIGZpbHRlcigobWF4SW5kZXgpID0+IHRoaXMubWF4SW5kZXggIT09IG1heEluZGV4KSxcbiAgICAgICAgICAgIClcbiAgICAgICAgICAgIC5zdWJzY3JpYmUoKG1heEluZGV4KSA9PiB7XG4gICAgICAgICAg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uICAgICAgICBpZiAodHVpSXNFbGVtZW50KGV2ZW50LnRhcmdldCkgJiYgdHVpSXNOYXRpdmVGb2N1c2VkKGV2ZW50LnRhcmdldCkpIHtcbiAgICAgICAgICAgIHRoaXMuZm9jdXNNb3JlKCk7XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBwcm90ZWN0ZWQgb25BcnJvd0xlZnQoKTogdm9pZCB7XG4gICAgICAgIGNvbnN0IHt0YWJzfSA9IHRoaXM7XG4gICAgICAgIGxldCBpbmRleCA9IHRhYnMubGVuZ3RoIC0gMjtcblxuICAgICAgICB3aGlsZSAoaW5kZXggPj0gMCkge1xuICAgICAgICAgICAgdGFic1tpbmRleF0/LmZvY3VzKCk7XG5cbiAgICAgICAgICAgIGlmICh0dWlJc05hdGl2ZUZvY3VzZWQodGFic1tpbmRleF0pKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBpbmRleC0tO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgcHJvdGVjdGVkIG9uV3JhcHBlckFycm93KFxuICAgICAgICBldmVudDogRXZlbnQsXG4gICAgICAgIHdyYXBwZXI6IEhUTUxFbGVtZW50LFxuICAgICAgICBwcmV2aW91czogYm9vbGVhbixcbiAgICApOiB2b2lkIHtcbiAgICAgICAgY29uc3QgYnV0dG9uOiBIVE1MQnV0dG9uRWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MQnV0dG9uRWxlbWVudDtcbiAgICAgICAgY29uc3QgdGFyZ2V0ID0gdHVpR2V0Q2xvc2VzdEZvY3VzYWJsZSh7aW5pdGlhbDogYnV0dG9uLCByb290OiB3cmFwcGVyLCBwcmV2aW91c30pO1xuXG4gICAgICAgIGlmICh0YXJnZXQpIHtcbiAgICAgICAgICAgIHRhcmdldC5mb2N1cygpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBnZXQgbWFyZ2luKCk6IG51bWJlciB7XG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BmYWxzZSlcIlxuICAgICAgICAoa2V5ZG93bi5hcnJvd1VwLnByZXZlbnQpPVwib25XcmFwcGVyQXJyb3coJGV2ZW50LCBlbGVtZW50LCB0cnVlKVwiXG4gICAgPlxuICAgICAgICA8ZGl2XG4gICAgICAgICAgICAqbmdGb3I9XCJsZXQgaXRlbSBvZiBpdGVtczsgbGV0IGluZGV4ID0gaW5kZXhcIlxuICAgICAgICAgICAgY2xhc3M9XCJ0LWRyb3Bkb3duLWl0ZW1cIlxuICAgICAgICAgICAgKHR1aS10YWItYWN0aXZhdGUpPVwib25DbGljayhpbmRleClcIlxuICAgICAgICA+XG4gICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwic2hvdWxkU2hvdyhpbmRleClcIj5cbiAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpwb2x5bW9ycGhldXNPdXRsZXQ9XCJpdGVtXCIgLz5cbiAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxuICAgICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbjwvbmctdGVtcGxhdGU+XG5cbjxuZy1jb250ZW50IC8+XG4iXX0=
@@ -1,79 +0,0 @@
1
- import { afterNextRender, ChangeDetectionStrategy, Component, Directive, EventEmitter, inject, INJECTOR, Input, Output, ViewEncapsulation, } from '@angular/core';
2
- import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
3
- import { tuiMoveFocus } from '@taiga-ui/cdk/utils/focus';
4
- import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
5
- import { TUI_TAB_ACTIVATE } from './tab.directive';
6
- import { TUI_TABS_OPTIONS } from './tabs.options';
7
- import * as i0 from "@angular/core";
8
- class TuiTabsStyles {
9
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTabsStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiTabsStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-tabs" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiTab]{transition-property:color,box-shadow,opacity,background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font:inherit;line-height:inherit;text-decoration:none;position:relative;display:flex;flex-shrink:0;box-sizing:border-box;justify-content:space-between;line-height:1.5rem;align-items:center;white-space:nowrap;cursor:pointer;outline:none;color:inherit;margin-inline-start:var(--tui-tab-margin, 24px)}[tuiTab]:disabled{opacity:var(--tui-disabled-opacity);pointer-events:none}[tuiTab]._active{color:var(--tui-text-primary);box-shadow:none}[tuiTab]:focus-visible{outline:.125rem solid var(--tui-border-focus);outline-offset:-.125rem}tui-tabs._underline [tuiTab]:hover:not(._active),[tuiTabs]._underline [tuiTab]:hover:not(._active){box-shadow:inset 0 -.125rem var(--tui-border-normal)}tui-tabs>[tuiTab]:first-child,[tuiTabs]>[tuiTab]:first-child,tui-tabs>:not(.t-overflown)>[tuiTab]:first-child{margin-inline-start:0}tui-tabs>[tuiTab]~:not(.t-overflown)>[tuiTab]:first-child{margin-inline-start:var(--tui-tab-margin, 24px)}[tuiTab][tuiIcons]:before{font-size:1rem;margin-inline-end:.5rem}[tuiTab][tuiIcons]:after{font-size:1rem;margin-inline-start:.5rem}[tuiTab]:empty:after,[tuiTab]:empty:before{margin:.5rem}@media (hover: hover) and (pointer: fine){[tuiTab]:hover{color:var(--tui-text-primary)}}[tuiTabs],tui-tabs{scrollbar-width:none;-ms-overflow-style:none;position:relative;display:flex;font:var(--tui-font-text-m);color:var(--tui-text-secondary);box-shadow:inset 0 -1px var(--tui-border-normal);overflow:auto;isolation:isolate}[tuiTabs]::-webkit-scrollbar,tui-tabs::-webkit-scrollbar,[tuiTabs]::-webkit-scrollbar-thumb,tui-tabs::-webkit-scrollbar-thumb{display:none}[tuiTabs][data-size=m],tui-tabs[data-size=m]{font:var(--tui-font-text-s);--tui-tab-margin: 16px}[tuiTabs][data-size=l]:not([data-vertical]),tui-tabs[data-size=l]:not([data-vertical]){block-size:var(--tui-height-l)}[tuiTabs][data-size=m]:not([data-vertical]),tui-tabs[data-size=m]:not([data-vertical]){block-size:var(--tui-height-m)}[tuiTabs]:before,tui-tabs:before{transition-property:width,left;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;left:var(--t-left);bottom:0;block-size:.125rem;inline-size:var(--t-width);background:var(--t-color);animation:tuiPresent 1ms}[tuiTabs]._underline:before,tui-tabs._underline:before{content:\"\"}tui-tabs[data-vertical],[tuiTabs][data-vertical]{flex-direction:column;box-shadow:inset -1px 0 var(--tui-border-normal)}tui-tabs[data-vertical] [tuiTab],[tuiTabs][data-vertical] [tuiTab]{min-block-size:2.75rem;block-size:auto;white-space:normal;margin:0;text-align:start;padding:.25rem 1.25rem .25rem 0}tui-tabs[data-vertical] [tuiTab]:after,[tuiTabs][data-vertical] [tuiTab]:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";position:absolute;top:0;right:0;display:block;block-size:100%;inline-size:.125rem;background:var(--tui-background-accent-1);transform:scaleX(0);transform-origin:right;margin:0}tui-tabs[data-vertical] [tuiTab]:hover,[tuiTabs][data-vertical] [tuiTab]:hover{box-shadow:inset -.125rem 0 var(--tui-border-normal)}tui-tabs[data-vertical] [tuiTab]._active:after,[tuiTabs][data-vertical] [tuiTab]._active:after{transform:none}tui-tabs[data-vertical][data-size=m] [tuiTab],[tuiTabs][data-vertical][data-size=m] [tuiTab]{min-block-size:2.25rem;font:var(--tui-font-text-s)}tui-tabs[data-vertical][data-vertical=right],[tuiTabs][data-vertical][data-vertical=right]{box-shadow:inset 1px 0 var(--tui-border-normal)}tui-tabs[data-vertical][data-vertical=right] [tuiTab],[tuiTabs][data-vertical][data-vertical=right] [tuiTab]{text-align:end;padding:.25rem 0 .25rem 1.25rem}tui-tabs[data-vertical][data-vertical=right] [tuiTab]:after,[tuiTabs][data-vertical][data-vertical=right] [tuiTab]:after{right:auto;left:0;transform-origin:left}tui-tabs[data-vertical][data-vertical=right] [tuiTab]:hover,[tuiTabs][data-vertical][data-vertical=right] [tuiTab]:hover{box-shadow:inset .125rem 0 var(--tui-border-normal)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
11
- }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTabsStyles, decorators: [{
13
- type: Component,
14
- args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
15
- class: 'tui-tabs',
16
- }, styles: ["[tuiTab]{transition-property:color,box-shadow,opacity,background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font:inherit;line-height:inherit;text-decoration:none;position:relative;display:flex;flex-shrink:0;box-sizing:border-box;justify-content:space-between;line-height:1.5rem;align-items:center;white-space:nowrap;cursor:pointer;outline:none;color:inherit;margin-inline-start:var(--tui-tab-margin, 24px)}[tuiTab]:disabled{opacity:var(--tui-disabled-opacity);pointer-events:none}[tuiTab]._active{color:var(--tui-text-primary);box-shadow:none}[tuiTab]:focus-visible{outline:.125rem solid var(--tui-border-focus);outline-offset:-.125rem}tui-tabs._underline [tuiTab]:hover:not(._active),[tuiTabs]._underline [tuiTab]:hover:not(._active){box-shadow:inset 0 -.125rem var(--tui-border-normal)}tui-tabs>[tuiTab]:first-child,[tuiTabs]>[tuiTab]:first-child,tui-tabs>:not(.t-overflown)>[tuiTab]:first-child{margin-inline-start:0}tui-tabs>[tuiTab]~:not(.t-overflown)>[tuiTab]:first-child{margin-inline-start:var(--tui-tab-margin, 24px)}[tuiTab][tuiIcons]:before{font-size:1rem;margin-inline-end:.5rem}[tuiTab][tuiIcons]:after{font-size:1rem;margin-inline-start:.5rem}[tuiTab]:empty:after,[tuiTab]:empty:before{margin:.5rem}@media (hover: hover) and (pointer: fine){[tuiTab]:hover{color:var(--tui-text-primary)}}[tuiTabs],tui-tabs{scrollbar-width:none;-ms-overflow-style:none;position:relative;display:flex;font:var(--tui-font-text-m);color:var(--tui-text-secondary);box-shadow:inset 0 -1px var(--tui-border-normal);overflow:auto;isolation:isolate}[tuiTabs]::-webkit-scrollbar,tui-tabs::-webkit-scrollbar,[tuiTabs]::-webkit-scrollbar-thumb,tui-tabs::-webkit-scrollbar-thumb{display:none}[tuiTabs][data-size=m],tui-tabs[data-size=m]{font:var(--tui-font-text-s);--tui-tab-margin: 16px}[tuiTabs][data-size=l]:not([data-vertical]),tui-tabs[data-size=l]:not([data-vertical]){block-size:var(--tui-height-l)}[tuiTabs][data-size=m]:not([data-vertical]),tui-tabs[data-size=m]:not([data-vertical]){block-size:var(--tui-height-m)}[tuiTabs]:before,tui-tabs:before{transition-property:width,left;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;left:var(--t-left);bottom:0;block-size:.125rem;inline-size:var(--t-width);background:var(--t-color);animation:tuiPresent 1ms}[tuiTabs]._underline:before,tui-tabs._underline:before{content:\"\"}tui-tabs[data-vertical],[tuiTabs][data-vertical]{flex-direction:column;box-shadow:inset -1px 0 var(--tui-border-normal)}tui-tabs[data-vertical] [tuiTab],[tuiTabs][data-vertical] [tuiTab]{min-block-size:2.75rem;block-size:auto;white-space:normal;margin:0;text-align:start;padding:.25rem 1.25rem .25rem 0}tui-tabs[data-vertical] [tuiTab]:after,[tuiTabs][data-vertical] [tuiTab]:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";position:absolute;top:0;right:0;display:block;block-size:100%;inline-size:.125rem;background:var(--tui-background-accent-1);transform:scaleX(0);transform-origin:right;margin:0}tui-tabs[data-vertical] [tuiTab]:hover,[tuiTabs][data-vertical] [tuiTab]:hover{box-shadow:inset -.125rem 0 var(--tui-border-normal)}tui-tabs[data-vertical] [tuiTab]._active:after,[tuiTabs][data-vertical] [tuiTab]._active:after{transform:none}tui-tabs[data-vertical][data-size=m] [tuiTab],[tuiTabs][data-vertical][data-size=m] [tuiTab]{min-block-size:2.25rem;font:var(--tui-font-text-s)}tui-tabs[data-vertical][data-vertical=right],[tuiTabs][data-vertical][data-vertical=right]{box-shadow:inset 1px 0 var(--tui-border-normal)}tui-tabs[data-vertical][data-vertical=right] [tuiTab],[tuiTabs][data-vertical][data-vertical=right] [tuiTab]{text-align:end;padding:.25rem 0 .25rem 1.25rem}tui-tabs[data-vertical][data-vertical=right] [tuiTab]:after,[tuiTabs][data-vertical][data-vertical=right] [tuiTab]:after{right:auto;left:0;transform-origin:left}tui-tabs[data-vertical][data-vertical=right] [tuiTab]:hover,[tuiTabs][data-vertical][data-vertical=right] [tuiTab]:hover{box-shadow:inset .125rem 0 var(--tui-border-normal)}\n"] }]
17
- }] });
18
- class TuiTabsDirective {
19
- constructor() {
20
- this.el = tuiInjectElement();
21
- this.injector = inject(INJECTOR);
22
- this.nothing = tuiWithStyles(TuiTabsStyles);
23
- this.size = inject(TUI_TABS_OPTIONS).size;
24
- this.activeItemIndex = 0;
25
- this.activeItemIndexChange = new EventEmitter();
26
- }
27
- get tabs() {
28
- return Array.from(this.el.querySelectorAll('[tuiTab]'));
29
- }
30
- get activeElement() {
31
- return this.tabs[this.activeItemIndex] || null;
32
- }
33
- moveFocus(current, step) {
34
- const { tabs } = this;
35
- tuiMoveFocus(tabs.indexOf(current), tabs, step);
36
- }
37
- ngAfterViewChecked() {
38
- afterNextRender(() => {
39
- this.markTabAsActive();
40
- }, { injector: this.injector });
41
- }
42
- onActivate(event, element) {
43
- const index = this.tabs.findIndex((tab) => tab === element);
44
- event.stopPropagation();
45
- if (index === this.activeItemIndex) {
46
- return;
47
- }
48
- this.activeItemIndexChange.emit(index);
49
- this.activeItemIndex = index;
50
- }
51
- markTabAsActive() {
52
- const { tabs, activeElement } = this;
53
- tabs.forEach((nativeElement) => {
54
- const active = nativeElement === activeElement;
55
- nativeElement.classList.toggle('_active', active);
56
- nativeElement.setAttribute('tabIndex', active ? '0' : '-1');
57
- });
58
- }
59
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTabsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
60
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTabsDirective, isStandalone: true, inputs: { size: "size", activeItemIndex: "activeItemIndex" }, outputs: { activeItemIndexChange: "activeItemIndexChange" }, host: { listeners: { "tui-tab-activate": "onActivate($event, $event.target)" }, properties: { "attr.data-size": "size" } }, ngImport: i0 }); }
61
- }
62
- export { TuiTabsDirective };
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTabsDirective, decorators: [{
64
- type: Directive,
65
- args: [{
66
- standalone: true,
67
- host: {
68
- '[attr.data-size]': 'size',
69
- [`(${TUI_TAB_ACTIVATE})`]: 'onActivate($event, $event.target)',
70
- },
71
- }]
72
- }], propDecorators: { size: [{
73
- type: Input
74
- }], activeItemIndex: [{
75
- type: Input
76
- }], activeItemIndexChange: [{
77
- type: Output
78
- }] } });
79
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy90YWJzL3RhYnMuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCxlQUFlLEVBRWYsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxTQUFTLEVBQ1QsWUFBWSxFQUNaLE1BQU0sRUFDTixRQUFRLEVBQ1IsS0FBSyxFQUNMLE1BQU0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vZ2dsZSgnX2FjdGl2ZScsIGFjdGl2ZSk7XG4gICAgICAgICAgICBuYXRpdmVFbGVtZW50LnNldEF0dHJpYnV0ZSgndGFiSW5kZXgnLCBhY3RpdmUgPyAnMCcgOiAnLTEnKTtcbiAgICAgICAgfSk7XG4gICAgfVxufVxuIl19
@@ -1,15 +0,0 @@
1
- import { TuiItem } from '@taiga-ui/cdk/directives/item';
2
- import { TuiTab } from './tab.directive';
3
- import { TuiTabsDirective } from './tabs.directive';
4
- import { TuiTabsHorizontal } from './tabs-horizontal.directive';
5
- import { TuiTabsVertical } from './tabs-vertical.directive';
6
- import { TuiTabsWithMore } from './tabs-with-more.component';
7
- export const TuiTabs = [
8
- TuiItem,
9
- TuiTab,
10
- TuiTabsDirective,
11
- TuiTabsHorizontal,
12
- TuiTabsVertical,
13
- TuiTabsWithMore,
14
- ];
15
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9jb21wb25lbnRzL3RhYnMvdGFicy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sK0JBQStCLENBQUM7QUFFdEQsT0FBTyxFQUFDLE1BQU0sRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQ3ZDLE9BQU8sRUFBQyxnQkFBZ0IsRUFBQyxNQUFNLGtCQUFrQixDQUFDO0FBQ2xELE9BQU8sRUFBQyxpQkFBaUIsRUFBQyxNQUFNLDZCQUE2QixDQUFDO0FBQzlELE9BQU8sRUFBQyxlQUFlLEVBQUMsTUFBTSwyQkFBMkIsQ0FBQztBQUMxRCxPQUFPLEVBQUMsZUFBZSxFQUFDLE1BQU0sNEJBQTRCLENBQUM7QUFFM0QsTUFBTSxDQUFDLE1BQU0sT0FBTyxHQUFHO0lBQ25CLE9BQU87SUFDUCxNQUFNO0lBQ04sZ0JBQWdCO0lBQ2hCLGlCQUFpQjtJQUNqQixlQUFlO0lBQ2YsZUFBZTtDQUNULENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1R1aUl0ZW19IGZyb20gJ0B0YWlnYS11aS9jZGsvZGlyZWN0aXZlcy9pdGVtJztcblxuaW1wb3J0IHtUdWlUYWJ9IGZyb20gJy4vdGFiLmRpcmVjdGl2ZSc7XG5pbXBvcnQge1R1aVRhYnNEaXJlY3RpdmV9IGZyb20gJy4vdGFicy5kaXJlY3RpdmUnO1xuaW1wb3J0IHtUdWlUYWJzSG9yaXpvbnRhbH0gZnJvbSAnLi90YWJzLWhvcml6b250YWwuZGlyZWN0aXZlJztcbmltcG9ydCB7VHVpVGFic1ZlcnRpY2FsfSBmcm9tICcuL3RhYnMtdmVydGljYWwuZGlyZWN0aXZlJztcbmltcG9ydCB7VHVpVGFic1dpdGhNb3JlfSBmcm9tICcuL3RhYnMtd2l0aC1tb3JlLmNvbXBvbmVudCc7XG5cbmV4cG9ydCBjb25zdCBUdWlUYWJzID0gW1xuICAgIFR1aUl0ZW0sXG4gICAgVHVpVGFiLFxuICAgIFR1aVRhYnNEaXJlY3RpdmUsXG4gICAgVHVpVGFic0hvcml6b250YWwsXG4gICAgVHVpVGFic1ZlcnRpY2FsLFxuICAgIFR1aVRhYnNXaXRoTW9yZSxcbl0gYXMgY29uc3Q7XG4iXX0=
@@ -1,19 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
3
- export const TUI_TABS_DEFAULT_OPTIONS = {
4
- underline: true,
5
- exposeActive: true,
6
- itemsLimit: Infinity,
7
- minMoreWidth: 0,
8
- size: 'l',
9
- };
10
- /**
11
- * Default parameters for Tabs component
12
- */
13
- export const TUI_TABS_OPTIONS = new InjectionToken(ngDevMode ? 'TUI_TABS_OPTIONS' : '', {
14
- factory: () => TUI_TABS_DEFAULT_OPTIONS,
15
- });
16
- export function tuiTabsOptionsProvider(options) {
17
- return tuiProvideOptions(TUI_TABS_OPTIONS, options, TUI_TABS_DEFAULT_OPTIONS);
18
- }
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5vcHRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvdGFicy90YWJzLm9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLGNBQWMsRUFBZ0IsTUFBTSxlQUFlLENBQUM7QUFDNUQsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sbUNBQW1DLENBQUM7QUFXcEUsTUFBTSxDQUFDLE1BQU0sd0JBQXdCLEdBQW1CO0lBQ3BELFNBQVMsRUFBRSxJQUFJO0lBQ2YsWUFBWSxFQUFFLElBQUk7SUFDbEIsVUFBVSxFQUFFLFFBQVE7SUFDcEIsWUFBWSxFQUFFLENBQUM7SUFDZixJQUFJLEVBQUUsR0FBRztDQUNaLENBQUM7QUFFRjs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLGdCQUFnQixHQUFHLElBQUksY0FBYyxDQUFDLFNBQVMsQ0FBQyxDQUFDLENBQUMsa0JBQWtCLENBQUMsQ0FBQyxDQUFDLEVBQUUsRUFBRTtJQUNwRixPQUFPLEVBQUUsR0FBRyxFQUFFLENBQUMsd0JBQXdCO0NBQzFDLENBQUMsQ0FBQztBQUVILE1BQU0sVUFBVSxzQkFBc0IsQ0FBQyxPQUFnQztJQUNuRSxPQUFPLGlCQUFpQixDQUFDLGdCQUFnQixFQUFFLE9BQU8sRUFBRSx3QkFBd0IsQ0FBQyxDQUFDO0FBQ2xGLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0luamVjdGlvblRva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