@taiga-ui/core 4.51.0 → 4.52.0-canary.1ea42f6

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 (432) hide show
  1. package/classes/driver.d.ts +1 -1
  2. package/components/button/button.directive.d.ts +2 -3
  3. package/components/button/button.options.d.ts +1 -1
  4. package/components/calendar/calendar-sheet.component.d.ts +1 -6
  5. package/components/cell/cell.directive.d.ts +9 -0
  6. package/components/cell/cell.options.d.ts +6 -0
  7. package/components/cell/index.d.ts +2 -0
  8. package/components/dialog/active-zone-adapter.directive.d.ts +11 -0
  9. package/components/error/error.component.d.ts +5 -7
  10. package/components/error/error.d.ts +4 -0
  11. package/components/error/error.directive.d.ts +19 -0
  12. package/components/error/error.pipe.d.ts +10 -0
  13. package/components/error/index.d.ts +3 -0
  14. package/components/header/header.directive.d.ts +17 -0
  15. package/components/header/index.d.ts +1 -0
  16. package/components/icon/icon.component.d.ts +6 -8
  17. package/components/index.d.ts +2 -1
  18. package/components/notification/notification.options.d.ts +1 -1
  19. package/components/root/root.component.d.ts +5 -6
  20. package/components/scrollbar/scrollbar.options.d.ts +1 -1
  21. package/components/textfield/textfield-content.directive.d.ts +3 -2
  22. package/components/textfield/textfield-icon.d.ts +3 -3
  23. package/components/textfield/textfield-multi/textfield-multi.component.d.ts +2 -3
  24. package/components/textfield/textfield.component.d.ts +11 -9
  25. package/components/textfield/textfield.directive.d.ts +1 -1
  26. package/directives/appearance/appearance.directive.d.ts +5 -13
  27. package/directives/dropdown/dropdown-context.directive.d.ts +2 -0
  28. package/directives/icons/icons.bindings.d.ts +5 -0
  29. package/directives/icons/icons.directive.d.ts +8 -14
  30. package/directives/icons/index.d.ts +1 -0
  31. package/directives/index.d.ts +0 -1
  32. package/directives/title/title.directive.d.ts +2 -3
  33. package/fesm2022/taiga-ui-core-animations.mjs.map +1 -1
  34. package/fesm2022/taiga-ui-core-classes.mjs +3 -3
  35. package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
  36. package/fesm2022/taiga-ui-core-components-alert.mjs +17 -18
  37. package/fesm2022/taiga-ui-core-components-alert.mjs.map +1 -1
  38. package/fesm2022/taiga-ui-core-components-button.mjs +13 -21
  39. package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
  40. package/fesm2022/taiga-ui-core-components-calendar.mjs +22 -24
  41. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-core-components-cell.mjs +45 -0
  43. package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -0
  44. package/fesm2022/taiga-ui-core-components-data-list.mjs +31 -33
  45. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-core-components-dialog.mjs +58 -25
  47. package/fesm2022/taiga-ui-core-components-dialog.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-core-components-error.mjs +107 -24
  49. package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-core-components-expand.mjs +10 -10
  51. package/fesm2022/taiga-ui-core-components-expand.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-core-components-header.mjs +42 -0
  53. package/fesm2022/taiga-ui-core-components-header.mjs.map +1 -0
  54. package/fesm2022/taiga-ui-core-components-icon.mjs +22 -30
  55. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-core-components-label.mjs +10 -13
  57. package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-core-components-link.mjs +10 -13
  59. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-core-components-loader.mjs +6 -7
  61. package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-core-components-notification.mjs +17 -31
  63. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-core-components-root.mjs +23 -42
  65. package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +28 -28
  67. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-core-components-spin-button.mjs +7 -7
  69. package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-core-components-textfield.mjs +83 -75
  71. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-core-components.mjs +2 -1
  73. package/fesm2022/taiga-ui-core-components.mjs.map +1 -1
  74. package/fesm2022/taiga-ui-core-directives-appearance.mjs +26 -63
  75. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  76. package/fesm2022/taiga-ui-core-directives-date-format.mjs +5 -5
  77. package/fesm2022/taiga-ui-core-directives-date-format.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-core-directives-dropdown.mjs +76 -74
  79. package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +1 -1
  80. package/fesm2022/taiga-ui-core-directives-group.mjs +10 -13
  81. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  82. package/fesm2022/taiga-ui-core-directives-hint.mjs +61 -62
  83. package/fesm2022/taiga-ui-core-directives-hint.mjs.map +1 -1
  84. package/fesm2022/taiga-ui-core-directives-icons.mjs +41 -41
  85. package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
  86. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +11 -11
  87. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
  88. package/fesm2022/taiga-ui-core-directives-number-format.mjs +5 -5
  89. package/fesm2022/taiga-ui-core-directives-number-format.mjs.map +1 -1
  90. package/fesm2022/taiga-ui-core-directives-popup.mjs +10 -10
  91. package/fesm2022/taiga-ui-core-directives-popup.mjs.map +1 -1
  92. package/fesm2022/taiga-ui-core-directives-title.mjs +13 -19
  93. package/fesm2022/taiga-ui-core-directives-title.mjs.map +1 -1
  94. package/fesm2022/taiga-ui-core-directives.mjs +0 -1
  95. package/fesm2022/taiga-ui-core-directives.mjs.map +1 -1
  96. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +3 -3
  97. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +1 -1
  98. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +3 -3
  99. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +1 -1
  100. package/fesm2022/taiga-ui-core-pipes-flag.mjs +3 -3
  101. package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +1 -1
  102. package/fesm2022/taiga-ui-core-pipes-format-date.mjs +3 -3
  103. package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +1 -1
  104. package/fesm2022/taiga-ui-core-pipes-format-number.mjs +3 -3
  105. package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
  106. package/fesm2022/taiga-ui-core-pipes-initials.mjs +3 -3
  107. package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +1 -1
  108. package/fesm2022/taiga-ui-core-pipes-month.mjs +3 -3
  109. package/fesm2022/taiga-ui-core-pipes-month.mjs.map +1 -1
  110. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +3 -3
  111. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +1 -1
  112. package/fesm2022/taiga-ui-core-pipes.mjs +0 -1
  113. package/fesm2022/taiga-ui-core-pipes.mjs.map +1 -1
  114. package/fesm2022/taiga-ui-core-services.mjs +18 -18
  115. package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
  116. package/fesm2022/taiga-ui-core-tokens.mjs +31 -17
  117. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  118. package/fesm2022/taiga-ui-core-utils-dom.mjs.map +1 -1
  119. package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
  120. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +49 -3
  121. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
  122. package/package.json +17 -121
  123. package/pipes/index.d.ts +0 -1
  124. package/styles/components/appearance.less +6 -0
  125. package/styles/components/button.less +0 -2
  126. package/styles/components/icon.less +37 -12
  127. package/styles/components/icons.less +45 -7
  128. package/styles/components/link.less +1 -3
  129. package/styles/mixins/mixins.less +1 -2
  130. package/styles/mixins/mixins.scss +1 -2
  131. package/styles/mixins/slider.less +5 -10
  132. package/styles/theme/appearance/outline.less +1 -2
  133. package/styles/theme/appearance/textfield.less +1 -2
  134. package/tokens/icon-resolver.d.ts +1 -4
  135. package/tokens/index.d.ts +1 -0
  136. package/tokens/validation-errors.d.ts +4 -0
  137. package/utils/miscellaneous/index.d.ts +1 -0
  138. package/utils/miscellaneous/provide-taiga.d.ts +13 -0
  139. package/components/fullscreen/fullscreen.component.d.ts +0 -14
  140. package/components/fullscreen/index.d.ts +0 -1
  141. package/directives/surface/index.d.ts +0 -1
  142. package/directives/surface/surface.directive.d.ts +0 -8
  143. package/esm2022/animations/animations.mjs +0 -363
  144. package/esm2022/animations/index.mjs +0 -2
  145. package/esm2022/animations/taiga-ui-core-animations.mjs +0 -5
  146. package/esm2022/classes/accessors.mjs +0 -31
  147. package/esm2022/classes/driver.mjs +0 -36
  148. package/esm2022/classes/index.mjs +0 -4
  149. package/esm2022/classes/taiga-ui-core-classes.mjs +0 -5
  150. package/esm2022/classes/vehicle.mjs +0 -7
  151. package/esm2022/components/alert/alert.component.mjs +0 -43
  152. package/esm2022/components/alert/alert.directive.mjs +0 -21
  153. package/esm2022/components/alert/alert.interfaces.mjs +0 -2
  154. package/esm2022/components/alert/alert.service.mjs +0 -18
  155. package/esm2022/components/alert/alert.tokens.mjs +0 -51
  156. package/esm2022/components/alert/alerts.component.mjs +0 -34
  157. package/esm2022/components/alert/index.mjs +0 -6
  158. package/esm2022/components/alert/taiga-ui-core-components-alert.mjs +0 -5
  159. package/esm2022/components/button/button.directive.mjs +0 -43
  160. package/esm2022/components/button/button.options.mjs +0 -7
  161. package/esm2022/components/button/index.mjs +0 -3
  162. package/esm2022/components/button/taiga-ui-core-components-button.mjs +0 -5
  163. package/esm2022/components/calendar/calendar-sheet.component.mjs +0 -167
  164. package/esm2022/components/calendar/calendar-sheet.options.mjs +0 -12
  165. package/esm2022/components/calendar/calendar-spin.component.mjs +0 -53
  166. package/esm2022/components/calendar/calendar-year.component.mjs +0 -128
  167. package/esm2022/components/calendar/calendar.component.mjs +0 -147
  168. package/esm2022/components/calendar/index.mjs +0 -6
  169. package/esm2022/components/calendar/taiga-ui-core-components-calendar.mjs +0 -5
  170. package/esm2022/components/data-list/data-list.component.mjs +0 -139
  171. package/esm2022/components/data-list/data-list.directive.mjs +0 -19
  172. package/esm2022/components/data-list/data-list.mjs +0 -14
  173. package/esm2022/components/data-list/data-list.tokens.mjs +0 -18
  174. package/esm2022/components/data-list/index.mjs +0 -9
  175. package/esm2022/components/data-list/opt-group.directive.mjs +0 -21
  176. package/esm2022/components/data-list/option/option-content.mjs +0 -36
  177. package/esm2022/components/data-list/option/option-legacy.component.mjs +0 -90
  178. package/esm2022/components/data-list/option/option.directive.mjs +0 -109
  179. package/esm2022/components/data-list/taiga-ui-core-components-data-list.mjs +0 -5
  180. package/esm2022/components/dialog/dialog-close.service.mjs +0 -41
  181. package/esm2022/components/dialog/dialog.component.mjs +0 -63
  182. package/esm2022/components/dialog/dialog.directive.mjs +0 -21
  183. package/esm2022/components/dialog/dialog.factory.mjs +0 -15
  184. package/esm2022/components/dialog/dialog.interfaces.mjs +0 -2
  185. package/esm2022/components/dialog/dialog.service.mjs +0 -18
  186. package/esm2022/components/dialog/dialog.tokens.mjs +0 -33
  187. package/esm2022/components/dialog/dialogs.component.mjs +0 -29
  188. package/esm2022/components/dialog/index.mjs +0 -8
  189. package/esm2022/components/dialog/taiga-ui-core-components-dialog.mjs +0 -5
  190. package/esm2022/components/error/error.component.mjs +0 -34
  191. package/esm2022/components/error/index.mjs +0 -2
  192. package/esm2022/components/error/taiga-ui-core-components-error.mjs +0 -5
  193. package/esm2022/components/expand/expand-content.directive.mjs +0 -18
  194. package/esm2022/components/expand/expand.component.mjs +0 -124
  195. package/esm2022/components/expand/expand.mjs +0 -7
  196. package/esm2022/components/expand/index.mjs +0 -4
  197. package/esm2022/components/expand/taiga-ui-core-components-expand.mjs +0 -5
  198. package/esm2022/components/fullscreen/fullscreen.component.mjs +0 -67
  199. package/esm2022/components/fullscreen/index.mjs +0 -2
  200. package/esm2022/components/fullscreen/taiga-ui-core-components-fullscreen.mjs +0 -5
  201. package/esm2022/components/icon/icon.component.mjs +0 -35
  202. package/esm2022/components/icon/icon.pipe.mjs +0 -19
  203. package/esm2022/components/icon/index.mjs +0 -3
  204. package/esm2022/components/icon/taiga-ui-core-components-icon.mjs +0 -5
  205. package/esm2022/components/index.mjs +0 -18
  206. package/esm2022/components/label/index.mjs +0 -2
  207. package/esm2022/components/label/label.directive.mjs +0 -41
  208. package/esm2022/components/label/taiga-ui-core-components-label.mjs +0 -5
  209. package/esm2022/components/link/index.mjs +0 -3
  210. package/esm2022/components/link/link.directive.mjs +0 -47
  211. package/esm2022/components/link/link.options.mjs +0 -13
  212. package/esm2022/components/link/taiga-ui-core-components-link.mjs +0 -5
  213. package/esm2022/components/loader/index.mjs +0 -3
  214. package/esm2022/components/loader/loader.component.mjs +0 -46
  215. package/esm2022/components/loader/loader.options.mjs +0 -18
  216. package/esm2022/components/loader/taiga-ui-core-components-loader.mjs +0 -5
  217. package/esm2022/components/notification/index.mjs +0 -3
  218. package/esm2022/components/notification/notification.directive.mjs +0 -81
  219. package/esm2022/components/notification/notification.options.mjs +0 -23
  220. package/esm2022/components/notification/taiga-ui-core-components-notification.mjs +0 -5
  221. package/esm2022/components/root/index.mjs +0 -2
  222. package/esm2022/components/root/root.component.mjs +0 -85
  223. package/esm2022/components/root/taiga-ui-core-components-root.mjs +0 -5
  224. package/esm2022/components/scrollbar/index.mjs +0 -9
  225. package/esm2022/components/scrollbar/scroll-controls.component.mjs +0 -32
  226. package/esm2022/components/scrollbar/scroll-into-view.directive.mjs +0 -43
  227. package/esm2022/components/scrollbar/scroll-ref.directive.mjs +0 -19
  228. package/esm2022/components/scrollbar/scrollable.directive.mjs +0 -26
  229. package/esm2022/components/scrollbar/scrollbar.component.mjs +0 -72
  230. package/esm2022/components/scrollbar/scrollbar.directive.mjs +0 -93
  231. package/esm2022/components/scrollbar/scrollbar.options.mjs +0 -6
  232. package/esm2022/components/scrollbar/scrollbar.service.mjs +0 -46
  233. package/esm2022/components/scrollbar/taiga-ui-core-components-scrollbar.mjs +0 -5
  234. package/esm2022/components/spin-button/index.mjs +0 -2
  235. package/esm2022/components/spin-button/spin-button.component.mjs +0 -51
  236. package/esm2022/components/spin-button/taiga-ui-core-components-spin-button.mjs +0 -5
  237. package/esm2022/components/taiga-ui-core-components.mjs +0 -5
  238. package/esm2022/components/textfield/index.mjs +0 -16
  239. package/esm2022/components/textfield/select-like.directive.mjs +0 -42
  240. package/esm2022/components/textfield/select.directive.mjs +0 -65
  241. package/esm2022/components/textfield/taiga-ui-core-components-textfield.mjs +0 -5
  242. package/esm2022/components/textfield/textfield-accessor.mjs +0 -7
  243. package/esm2022/components/textfield/textfield-auxiliary.mjs +0 -7
  244. package/esm2022/components/textfield/textfield-content.directive.mjs +0 -22
  245. package/esm2022/components/textfield/textfield-dropdown.directive.mjs +0 -43
  246. package/esm2022/components/textfield/textfield-icon.mjs +0 -10
  247. package/esm2022/components/textfield/textfield-multi/textfield-item.component.mjs +0 -34
  248. package/esm2022/components/textfield/textfield-multi/textfield-multi.component.mjs +0 -137
  249. package/esm2022/components/textfield/textfield.component.mjs +0 -177
  250. package/esm2022/components/textfield/textfield.directive.mjs +0 -131
  251. package/esm2022/components/textfield/textfield.mjs +0 -19
  252. package/esm2022/components/textfield/textfield.options.mjs +0 -63
  253. package/esm2022/components/textfield/with-native-picker.directive.mjs +0 -24
  254. package/esm2022/directives/appearance/appearance.bindings.mjs +0 -15
  255. package/esm2022/directives/appearance/appearance.directive.mjs +0 -79
  256. package/esm2022/directives/appearance/appearance.options.mjs +0 -12
  257. package/esm2022/directives/appearance/index.mjs +0 -5
  258. package/esm2022/directives/appearance/taiga-ui-core-directives-appearance.mjs +0 -5
  259. package/esm2022/directives/appearance/with-appearance.mjs +0 -27
  260. package/esm2022/directives/date-format/date-format.directive.mjs +0 -31
  261. package/esm2022/directives/date-format/index.mjs +0 -2
  262. package/esm2022/directives/date-format/taiga-ui-core-directives-date-format.mjs +0 -5
  263. package/esm2022/directives/dropdown/dropdown-context.directive.mjs +0 -70
  264. package/esm2022/directives/dropdown/dropdown-hover.directive.mjs +0 -70
  265. package/esm2022/directives/dropdown/dropdown-hover.options.mjs +0 -17
  266. package/esm2022/directives/dropdown/dropdown-limit-width.mjs +0 -37
  267. package/esm2022/directives/dropdown/dropdown-manual.directive.mjs +0 -27
  268. package/esm2022/directives/dropdown/dropdown-open-legacy.directive.mjs +0 -33
  269. package/esm2022/directives/dropdown/dropdown-open.directive.mjs +0 -169
  270. package/esm2022/directives/dropdown/dropdown-options.directive.mjs +0 -73
  271. package/esm2022/directives/dropdown/dropdown-portal.directive.mjs +0 -34
  272. package/esm2022/directives/dropdown/dropdown-position-sided.directive.mjs +0 -69
  273. package/esm2022/directives/dropdown/dropdown-position.directive.mjs +0 -88
  274. package/esm2022/directives/dropdown/dropdown-selection.directive.mjs +0 -159
  275. package/esm2022/directives/dropdown/dropdown.bindings.mjs +0 -19
  276. package/esm2022/directives/dropdown/dropdown.component.mjs +0 -92
  277. package/esm2022/directives/dropdown/dropdown.directive.mjs +0 -110
  278. package/esm2022/directives/dropdown/dropdown.driver.mjs +0 -32
  279. package/esm2022/directives/dropdown/dropdown.mjs +0 -29
  280. package/esm2022/directives/dropdown/dropdown.providers.mjs +0 -10
  281. package/esm2022/directives/dropdown/dropdown.service.mjs +0 -15
  282. package/esm2022/directives/dropdown/dropdowns.component.mjs +0 -24
  283. package/esm2022/directives/dropdown/index.mjs +0 -22
  284. package/esm2022/directives/dropdown/taiga-ui-core-directives-dropdown.mjs +0 -5
  285. package/esm2022/directives/dropdown/with-dropdown-open.directive.mjs +0 -23
  286. package/esm2022/directives/group/group.directive.mjs +0 -53
  287. package/esm2022/directives/group/group.options.mjs +0 -15
  288. package/esm2022/directives/group/index.mjs +0 -3
  289. package/esm2022/directives/group/taiga-ui-core-directives-group.mjs +0 -5
  290. package/esm2022/directives/hint/hint-describe.directive.mjs +0 -50
  291. package/esm2022/directives/hint/hint-driver.directive.mjs +0 -19
  292. package/esm2022/directives/hint/hint-host.directive.mjs +0 -27
  293. package/esm2022/directives/hint/hint-hover.directive.mjs +0 -59
  294. package/esm2022/directives/hint/hint-manual.directive.mjs +0 -33
  295. package/esm2022/directives/hint/hint-options.directive.mjs +0 -86
  296. package/esm2022/directives/hint/hint-overflow.directive.mjs +0 -38
  297. package/esm2022/directives/hint/hint-pointer.directive.mjs +0 -33
  298. package/esm2022/directives/hint/hint-position.directive.mjs +0 -112
  299. package/esm2022/directives/hint/hint-unstyled.component.mjs +0 -39
  300. package/esm2022/directives/hint/hint.component.mjs +0 -127
  301. package/esm2022/directives/hint/hint.directive.mjs +0 -99
  302. package/esm2022/directives/hint/hint.mjs +0 -27
  303. package/esm2022/directives/hint/hint.providers.mjs +0 -9
  304. package/esm2022/directives/hint/hint.service.mjs +0 -29
  305. package/esm2022/directives/hint/hints.component.mjs +0 -34
  306. package/esm2022/directives/hint/index.mjs +0 -17
  307. package/esm2022/directives/hint/taiga-ui-core-directives-hint.mjs +0 -5
  308. package/esm2022/directives/icons/icons.directive.mjs +0 -56
  309. package/esm2022/directives/icons/index.mjs +0 -3
  310. package/esm2022/directives/icons/taiga-ui-core-directives-icons.mjs +0 -5
  311. package/esm2022/directives/icons/with-icons.mjs +0 -22
  312. package/esm2022/directives/index.mjs +0 -12
  313. package/esm2022/directives/items-handlers/index.mjs +0 -4
  314. package/esm2022/directives/items-handlers/items-handlers.directive.mjs +0 -63
  315. package/esm2022/directives/items-handlers/items-handlers.tokens.mjs +0 -27
  316. package/esm2022/directives/items-handlers/items-handlers.validator.mjs +0 -32
  317. package/esm2022/directives/items-handlers/taiga-ui-core-directives-items-handlers.mjs +0 -5
  318. package/esm2022/directives/number-format/index.mjs +0 -2
  319. package/esm2022/directives/number-format/number-format.directive.mjs +0 -31
  320. package/esm2022/directives/number-format/taiga-ui-core-directives-number-format.mjs +0 -5
  321. package/esm2022/directives/popup/index.mjs +0 -4
  322. package/esm2022/directives/popup/popup.directive.mjs +0 -31
  323. package/esm2022/directives/popup/popup.service.mjs +0 -15
  324. package/esm2022/directives/popup/popups.component.mjs +0 -20
  325. package/esm2022/directives/popup/taiga-ui-core-directives-popup.mjs +0 -5
  326. package/esm2022/directives/surface/index.mjs +0 -2
  327. package/esm2022/directives/surface/surface.directive.mjs +0 -44
  328. package/esm2022/directives/surface/taiga-ui-core-directives-surface.mjs +0 -5
  329. package/esm2022/directives/taiga-ui-core-directives.mjs +0 -5
  330. package/esm2022/directives/title/index.mjs +0 -2
  331. package/esm2022/directives/title/taiga-ui-core-directives-title.mjs +0 -5
  332. package/esm2022/directives/title/title.directive.mjs +0 -37
  333. package/esm2022/index.mjs +0 -9
  334. package/esm2022/pipes/auto-color/auto-color.pipe.mjs +0 -19
  335. package/esm2022/pipes/auto-color/index.mjs +0 -2
  336. package/esm2022/pipes/auto-color/taiga-ui-core-pipes-auto-color.mjs +0 -5
  337. package/esm2022/pipes/calendar-sheet/calendar-sheet.pipe.mjs +0 -54
  338. package/esm2022/pipes/calendar-sheet/index.mjs +0 -2
  339. package/esm2022/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.mjs +0 -5
  340. package/esm2022/pipes/calendar-sheet/utils.mjs +0 -36
  341. package/esm2022/pipes/fallback-src/fallback-src.pipe.mjs +0 -23
  342. package/esm2022/pipes/fallback-src/index.mjs +0 -2
  343. package/esm2022/pipes/fallback-src/taiga-ui-core-pipes-fallback-src.mjs +0 -5
  344. package/esm2022/pipes/flag/flag.pipe.mjs +0 -26
  345. package/esm2022/pipes/flag/index.mjs +0 -2
  346. package/esm2022/pipes/flag/taiga-ui-core-pipes-flag.mjs +0 -5
  347. package/esm2022/pipes/format-date/format-date.pipe.mjs +0 -22
  348. package/esm2022/pipes/format-date/index.mjs +0 -2
  349. package/esm2022/pipes/format-date/taiga-ui-core-pipes-format-date.mjs +0 -5
  350. package/esm2022/pipes/format-number/format-number.pipe.mjs +0 -36
  351. package/esm2022/pipes/format-number/index.mjs +0 -2
  352. package/esm2022/pipes/format-number/taiga-ui-core-pipes-format-number.mjs +0 -5
  353. package/esm2022/pipes/index.mjs +0 -10
  354. package/esm2022/pipes/initials/index.mjs +0 -2
  355. package/esm2022/pipes/initials/initials.pipe.mjs +0 -23
  356. package/esm2022/pipes/initials/taiga-ui-core-pipes-initials.mjs +0 -5
  357. package/esm2022/pipes/month/index.mjs +0 -2
  358. package/esm2022/pipes/month/month.pipe.mjs +0 -23
  359. package/esm2022/pipes/month/taiga-ui-core-pipes-month.mjs +0 -5
  360. package/esm2022/pipes/order-week-days/index.mjs +0 -2
  361. package/esm2022/pipes/order-week-days/order-week-days.pipe.mjs +0 -30
  362. package/esm2022/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs +0 -5
  363. package/esm2022/pipes/taiga-ui-core-pipes.mjs +0 -5
  364. package/esm2022/services/breakpoint.service.mjs +0 -31
  365. package/esm2022/services/dark-theme.service.mjs +0 -24
  366. package/esm2022/services/format-date.service.mjs +0 -24
  367. package/esm2022/services/index.mjs +0 -6
  368. package/esm2022/services/position.service.mjs +0 -26
  369. package/esm2022/services/taiga-ui-core-services.mjs +0 -5
  370. package/esm2022/services/visual-viewport.service.mjs +0 -29
  371. package/esm2022/taiga-ui-core.mjs +0 -5
  372. package/esm2022/tokens/animations-speed.mjs +0 -9
  373. package/esm2022/tokens/assets-path.mjs +0 -11
  374. package/esm2022/tokens/auxiliary.mjs +0 -9
  375. package/esm2022/tokens/common-icons.mjs +0 -18
  376. package/esm2022/tokens/dark-mode.mjs +0 -41
  377. package/esm2022/tokens/date-format.mjs +0 -20
  378. package/esm2022/tokens/day-type-handler.mjs +0 -8
  379. package/esm2022/tokens/first-day-of-week.mjs +0 -9
  380. package/esm2022/tokens/i18n.mjs +0 -45
  381. package/esm2022/tokens/icon-resolver.mjs +0 -22
  382. package/esm2022/tokens/icon.mjs +0 -8
  383. package/esm2022/tokens/icons.mjs +0 -21
  384. package/esm2022/tokens/index.mjs +0 -21
  385. package/esm2022/tokens/media.mjs +0 -12
  386. package/esm2022/tokens/number-format.mjs +0 -24
  387. package/esm2022/tokens/reduced-motion.mjs +0 -7
  388. package/esm2022/tokens/scroll-ref.mjs +0 -6
  389. package/esm2022/tokens/selection-stream.mjs +0 -14
  390. package/esm2022/tokens/spin-icons.mjs +0 -8
  391. package/esm2022/tokens/taiga-ui-core-tokens.mjs +0 -5
  392. package/esm2022/tokens/theme.mjs +0 -5
  393. package/esm2022/tokens/viewport.mjs +0 -35
  394. package/esm2022/types/direction.mjs +0 -2
  395. package/esm2022/types/index.mjs +0 -2
  396. package/esm2022/types/interactive-state.mjs +0 -2
  397. package/esm2022/types/orientation.mjs +0 -2
  398. package/esm2022/types/point.mjs +0 -2
  399. package/esm2022/types/portal-item.mjs +0 -2
  400. package/esm2022/types/range-state.mjs +0 -2
  401. package/esm2022/types/size.mjs +0 -13
  402. package/esm2022/types/taiga-ui-core-types.mjs +0 -5
  403. package/esm2022/types/value-content-context.mjs +0 -2
  404. package/esm2022/utils/dom/check-fixed-position.mjs +0 -9
  405. package/esm2022/utils/dom/get-viewport.mjs +0 -24
  406. package/esm2022/utils/dom/get-word-range.mjs +0 -51
  407. package/esm2022/utils/dom/index.mjs +0 -4
  408. package/esm2022/utils/dom/taiga-ui-core-utils-dom.mjs +0 -5
  409. package/esm2022/utils/format/format-number.mjs +0 -47
  410. package/esm2022/utils/format/get-fractional-part-padded.mjs +0 -16
  411. package/esm2022/utils/format/index.mjs +0 -5
  412. package/esm2022/utils/format/number-to-string-without-exp.mjs +0 -18
  413. package/esm2022/utils/format/string-hash-to-hsl.mjs +0 -21
  414. package/esm2022/utils/format/taiga-ui-core-utils-format.mjs +0 -5
  415. package/esm2022/utils/index.mjs +0 -4
  416. package/esm2022/utils/miscellaneous/font-scaling.mjs +0 -11
  417. package/esm2022/utils/miscellaneous/index.mjs +0 -7
  418. package/esm2022/utils/miscellaneous/is-editing-key.mjs +0 -18
  419. package/esm2022/utils/miscellaneous/is-obscured.mjs +0 -8
  420. package/esm2022/utils/miscellaneous/override-options.mjs +0 -11
  421. package/esm2022/utils/miscellaneous/size-bigger.mjs +0 -19
  422. package/esm2022/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.mjs +0 -5
  423. package/esm2022/utils/miscellaneous/to-animation-options.mjs +0 -16
  424. package/esm2022/utils/taiga-ui-core-utils.mjs +0 -5
  425. package/fesm2022/taiga-ui-core-components-fullscreen.mjs +0 -73
  426. package/fesm2022/taiga-ui-core-components-fullscreen.mjs.map +0 -1
  427. package/fesm2022/taiga-ui-core-directives-surface.mjs +0 -50
  428. package/fesm2022/taiga-ui-core-directives-surface.mjs.map +0 -1
  429. package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs +0 -29
  430. package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs.map +0 -1
  431. package/pipes/fallback-src/fallback-src.pipe.d.ts +0 -9
  432. package/pipes/fallback-src/index.d.ts +0 -1
@@ -1,11 +1,10 @@
1
- import { NgIf } from '@angular/common';
2
1
  import * as i0 from '@angular/core';
3
- import { InjectionToken, inject, Directive, ContentChild, ViewContainerRef, forwardRef, createComponent, EnvironmentInjector, INJECTOR, Input, signal, Component, ChangeDetectionStrategy, NgZone, DestroyRef, ChangeDetectorRef, isSignal, ViewEncapsulation, ContentChildren } from '@angular/core';
2
+ import { InjectionToken, inject, ContentChild, Directive, ViewContainerRef, forwardRef, createComponent, INJECTOR, EnvironmentInjector, Input, signal, ChangeDetectionStrategy, Component, NgZone, DestroyRef, ChangeDetectorRef, isSignal, ContentChildren, ViewEncapsulation } from '@angular/core';
4
3
  import { toSignal } from '@angular/core/rxjs-interop';
5
4
  import { EMPTY_QUERY } from '@taiga-ui/cdk/constants';
6
5
  import { tuiQueryListChanges, tuiZonefree, tuiTakeUntilDestroyed } from '@taiga-ui/cdk/observables';
7
6
  import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
8
- import { tuiIsNativeFocused, tuiMoveFocus, tuiIsNativeFocusedIn } from '@taiga-ui/cdk/utils/focus';
7
+ import { tuiIsFocused, tuiMoveFocus, tuiIsFocusedIn } from '@taiga-ui/cdk/utils/focus';
9
8
  import { tuiProvide, tuiIsPresent } from '@taiga-ui/cdk/utils/miscellaneous';
10
9
  import { tuiAsAuxiliary, TUI_NOTHING_FOUND_MESSAGE } from '@taiga-ui/core/tokens';
11
10
  import { PolymorpheusOutlet } from '@taiga-ui/polymorpheus';
@@ -50,10 +49,10 @@ class TuiWithOptionContent {
50
49
  get content() {
51
50
  return this.globalContent ?? this.localContent;
52
51
  }
53
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiWithOptionContent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
54
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiWithOptionContent, isStandalone: true, queries: [{ propertyName: "localContent", first: true, predicate: TUI_OPTION_CONTENT, descendants: true }], ngImport: i0 }); }
52
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiWithOptionContent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
53
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiWithOptionContent, isStandalone: true, queries: [{ propertyName: "localContent", first: true, predicate: TUI_OPTION_CONTENT, descendants: true }], ngImport: i0 }); }
55
54
  }
56
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiWithOptionContent, decorators: [{
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiWithOptionContent, decorators: [{
57
56
  type: Directive,
58
57
  args: [{
59
58
  standalone: true,
@@ -96,16 +95,16 @@ class TuiOptionNew {
96
95
  }
97
96
  onMouseMove() {
98
97
  if (!this.isMobile &&
99
- !tuiIsNativeFocused(this.el) &&
98
+ !tuiIsFocused(this.el) &&
100
99
  this.dataList &&
101
100
  this.el.closest('[tuiDataListDropdownManager]')) {
102
101
  this.el.focus({ preventScroll: true });
103
102
  }
104
103
  }
105
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiOptionNew, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
106
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiOptionNew, isStandalone: true, selector: "button[tuiOption][new], a[tuiOption][new], label[tuiOption][new]", inputs: { disabled: "disabled" }, host: { attributes: { "type": "button", "role": "option" }, listeners: { "mousemove.zoneless": "onMouseMove()" }, properties: { "attr.disabled": "disabled || null", "class._with-dropdown": "dropdown?.()" } }, hostDirectives: [{ directive: i1.TuiWithIcons }], ngImport: i0 }); }
104
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiOptionNew, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
105
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiOptionNew, isStandalone: true, selector: "button[tuiOption][new], a[tuiOption][new], label[tuiOption][new]", inputs: { disabled: "disabled" }, host: { attributes: { "type": "button", "role": "option" }, listeners: { "mousemove.zoneless": "onMouseMove()" }, properties: { "attr.disabled": "disabled || null", "class._with-dropdown": "dropdown?.()" } }, hostDirectives: [{ directive: i1.TuiWithIcons }], ngImport: i0 }); }
107
106
  }
108
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiOptionNew, decorators: [{
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiOptionNew, decorators: [{
109
108
  type: Directive,
110
109
  args: [{
111
110
  standalone: true,
@@ -119,7 +118,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
119
118
  '(mousemove.zoneless)': 'onMouseMove()',
120
119
  },
121
120
  }]
122
- }], ctorParameters: function () { return []; }, propDecorators: { disabled: [{
121
+ }], ctorParameters: () => [], propDecorators: { disabled: [{
123
122
  type: Input
124
123
  }] } });
125
124
  // TODO(v5): remove [new] from selector
@@ -140,10 +139,10 @@ class TuiOptionWithValue {
140
139
  this.host.handleOption(value);
141
140
  }
142
141
  }
143
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiOptionWithValue, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
144
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiOptionWithValue, isStandalone: true, selector: "button[tuiOption][value][new], a[tuiOption][value][new], label[tuiOption][value][new]", inputs: { disabled: "disabled", valueSetter: ["value", "valueSetter"] }, host: { listeners: { "click": "onClick()" } }, ngImport: i0 }); }
142
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiOptionWithValue, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
143
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiOptionWithValue, isStandalone: true, selector: "button[tuiOption][value][new], a[tuiOption][value][new], label[tuiOption][value][new]", inputs: { disabled: "disabled", valueSetter: ["value", "valueSetter"] }, host: { listeners: { "click": "onClick()" } }, ngImport: i0 }); }
145
144
  }
146
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiOptionWithValue, decorators: [{
145
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiOptionWithValue, decorators: [{
147
146
  type: Directive,
148
147
  args: [{
149
148
  standalone: true,
@@ -189,14 +188,14 @@ class TuiOption {
189
188
  }
190
189
  onMouseMove() {
191
190
  if (!this.isMobile &&
192
- !tuiIsNativeFocused(this.el) &&
191
+ !tuiIsFocused(this.el) &&
193
192
  this.dataList &&
194
193
  this.el.closest('[tuiDataListDropdownManager]')) {
195
194
  this.el.focus({ preventScroll: true });
196
195
  }
197
196
  }
198
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiOption, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
199
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiOption, isStandalone: true, selector: "button[tuiOption]:not([new]), a[tuiOption]:not([new]), label[tuiOption]:not([new])", inputs: { disabled: "disabled", value: "value" }, host: { attributes: { "type": "button", "role": "option" }, listeners: { "click": "onClick()", "mousemove.zoneless": "onMouseMove()" }, properties: { "attr.disabled": "disabled || null", "class._with-dropdown": "dropdown?.()" } }, hostDirectives: [{ directive: i1.TuiWithIcons }], ngImport: i0, template: `
197
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiOption, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
198
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiOption, isStandalone: true, selector: "button[tuiOption]:not([new]), a[tuiOption]:not([new]), label[tuiOption]:not([new])", inputs: { disabled: "disabled", value: "value" }, host: { attributes: { "type": "button", "role": "option" }, listeners: { "click": "onClick()", "mousemove.zoneless": "onMouseMove()" }, properties: { "attr.disabled": "disabled || null", "class._with-dropdown": "dropdown?.()" } }, hostDirectives: [{ directive: i1.TuiWithIcons }], ngImport: i0, template: `
200
199
  <ng-container *polymorpheusOutlet="content || t as text; context: {$implicit: t}">
201
200
  {{ text }}
202
201
  </ng-container>
@@ -205,10 +204,9 @@ class TuiOption {
205
204
  </ng-template>
206
205
  `, isInline: true, dependencies: [{ kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
207
206
  }
208
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiOption, decorators: [{
207
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiOption, decorators: [{
209
208
  type: Component,
210
209
  args: [{
211
- standalone: true,
212
210
  selector: 'button[tuiOption]:not([new]), a[tuiOption]:not([new]), label[tuiOption]:not([new])',
213
211
  imports: [PolymorpheusOutlet],
214
212
  template: `
@@ -269,7 +267,7 @@ class TuiDataListComponent {
269
267
  tuiMoveFocus(elements.indexOf(current), elements, step);
270
268
  }
271
269
  handleFocusLossIfNecessary(element = this.el) {
272
- if (tuiIsNativeFocusedIn(element)) {
270
+ if (tuiIsFocusedIn(element)) {
273
271
  this.origin?.focus({ preventScroll: true });
274
272
  }
275
273
  }
@@ -288,7 +286,7 @@ class TuiDataListComponent {
288
286
  // TODO(v5): delete
289
287
  getOptions(includeDisabled = false) {
290
288
  return [
291
- ...this.legacyOptionsQuery,
289
+ ...this.legacyOptionsQuery, // TODO(v5): delete
292
290
  ...this.optionsQuery,
293
291
  ]
294
292
  .filter(({ disabled }) => includeDisabled || !disabled)
@@ -303,8 +301,8 @@ class TuiDataListComponent {
303
301
  get elements() {
304
302
  return Array.from(this.el.querySelectorAll('[tuiOption]'));
305
303
  }
306
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDataListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
307
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiDataListComponent, isStandalone: true, selector: "tui-data-list", inputs: { emptyContent: "emptyContent", size: "size" }, host: { attributes: { "role": "listbox" }, listeners: { "focusin": "onFocusIn($event.relatedTarget, $event.currentTarget)", "mousedown.prevent": "(0)", "wheel.zoneless.passive": "handleFocusLossIfNecessary()", "mouseleave": "handleFocusLossIfNecessary($event.target)", "keydown.tab": "handleFocusLossIfNecessary()", "keydown.shift.tab": "handleFocusLossIfNecessary()", "keydown.arrowDown.prevent": "onKeyDownArrow($event.target, 1)", "keydown.arrowUp.prevent": "onKeyDownArrow($event.target, -1)" }, properties: { "attr.data-size": "size" } }, providers: [
304
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDataListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
305
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: TuiDataListComponent, isStandalone: true, selector: "tui-data-list", inputs: { emptyContent: "emptyContent", size: "size" }, host: { attributes: { "role": "listbox" }, listeners: { "focusin": "onFocusIn($event.relatedTarget, $event.currentTarget)", "mousedown.prevent": "(0)", "wheel.zoneless.passive": "handleFocusLossIfNecessary()", "mouseleave": "handleFocusLossIfNecessary($event.target)", "keydown.tab": "handleFocusLossIfNecessary()", "keydown.shift.tab": "handleFocusLossIfNecessary()", "keydown.arrowDown.prevent": "onKeyDownArrow($event.target, 1)", "keydown.arrowUp.prevent": "onKeyDownArrow($event.target, -1)" }, properties: { "attr.data-size": "size" } }, providers: [
308
306
  tuiAsDataListAccessor(TuiDataListComponent),
309
307
  {
310
308
  provide: TUI_OPTION_CONTENT,
@@ -317,11 +315,11 @@ class TuiDataListComponent {
317
315
  }) ??
318
316
  inject(TUI_OPTION_CONTENT, { skipSelf: true, optional: true }),
319
317
  },
320
- ], queries: [{ propertyName: "legacyOptionsQuery", predicate: i0.forwardRef(function () { return TuiOption; }), descendants: true }, { propertyName: "optionsQuery", predicate: i0.forwardRef(function () { return TuiOptionWithValue; }), descendants: true }], ngImport: i0, template: "<ng-content />\n<div\n *ngIf=\"empty()\"\n class=\"t-empty\"\n>\n <ng-container *polymorpheusOutlet=\"emptyContent || fallback() as text\">\n {{ text }}\n </ng-container>\n</div>\n", styles: ["tui-data-list{--tui-data-list-padding: .25rem;--tui-data-list-margin: .0625rem;display:flex;font:var(--tui-font-text-m);flex-direction:column;padding:calc(var(--tui-data-list-padding) - var(--tui-data-list-margin)) var(--tui-data-list-padding);color:var(--tui-text-tertiary)}tui-data-list:focus-within .t-trap{display:none}tui-data-list:focus-within [tuiOption]._with-dropdown:not(:focus){background-color:transparent}tui-data-list[data-size=s]{--tui-data-list-margin: 0rem}tui-data-list[data-size=s] [tuiOption][new]:not([tuiCell]){gap:.5rem}tui-data-list[data-size=s]>.t-empty,tui-data-list[data-size=s] [tuiOption]{--t-option-padding-inline: .375rem;font:var(--tui-font-text-s);min-block-size:2rem;padding-block-start:.3125rem;padding-block-end:.3125rem}tui-data-list[data-size=s]>.t-empty:before,tui-data-list[data-size=s] [tuiOption]:before{font-size:1rem}tui-data-list[data-size=m] [tuiOption][new]:not([tuiCell]){gap:.75rem}tui-data-list[data-size=m]>.t-empty,tui-data-list[data-size=m] [tuiOption]{--t-option-padding-inline: .5rem;font:var(--tui-font-text-s);min-block-size:2.5rem;padding-block-start:.375rem;padding-block-end:.375rem}tui-data-list[data-size=l]{--tui-data-list-padding: .375rem;--tui-data-list-margin: .125rem}tui-data-list[data-size=l] [tuiOption][new]:not([tuiCell]){gap:1rem}tui-data-list[data-size=l]>.t-empty,tui-data-list[data-size=l] [tuiOption]{--t-option-padding-inline: .625rem;font:var(--tui-font-text-m);min-block-size:2.75rem;padding-block-start:.375rem;padding-block-end:.375rem}tui-data-list>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0}tui-data-list [tuiOption]:not([new]){justify-content:space-between}tui-data-list [tuiOption]{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font:inherit;line-height:inherit;text-decoration:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;text-align:start;color:var(--tui-text-primary);border-radius:var(--tui-radius-s);outline:none;cursor:pointer;background-clip:padding-box}tui-data-list [tuiOption]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}@media (hover: hover) and (pointer: fine){tui-data-list [tuiOption]:hover:not(:disabled){background-color:var(--tui-background-neutral-1)}}tui-data-list [tuiOption]:active:not(:disabled),tui-data-list [tuiOption]:focus-within,tui-data-list [tuiOption]._with-dropdown{background-color:var(--tui-background-neutral-1)}tui-data-list [tuiOption]:not([new]):before{margin-inline-end:.5rem}tui-data-list [tuiOption]:after{font-size:1rem;margin:0 -.625rem 0 auto;border-inline-start:.5rem solid;border-inline-end:.5rem solid}tui-data-list>.t-empty,tui-data-list [tuiOption]{padding-inline-start:var(--t-option-padding-inline);padding-inline-end:var(--t-option-padding-inline)}tui-opt-group{position:relative;display:flex;font:var(--tui-font-text-xs);font-weight:700;color:var(--tui-text-primary);flex-direction:column;line-height:1rem}tui-data-list[data-size=l] tui-opt-group{font:var(--tui-font-text-m);font-weight:700;line-height:1.25rem}tui-data-list[data-size=l] tui-opt-group:before{padding-inline-start:.625rem;padding-inline-end:.625rem}tui-data-list[data-size=l] tui-opt-group:after{left:.625rem;right:.625rem}tui-opt-group:empty:before,tui-opt-group:empty:after{display:none}tui-opt-group:before{content:attr(data-label);padding:var(--tui-data-list-padding) .5rem var(--tui-data-list-padding);margin:var(--tui-data-list-margin) 0;white-space:normal;word-break:break-word}tui-opt-group:after{position:absolute;left:.5rem;right:.5rem;top:var(--tui-data-list-padding);block-size:1px;background:var(--tui-border-normal)}tui-opt-group:not(:empty)~tui-opt-group:before{padding-block-start:calc(.75rem + var(--tui-data-list-padding))}tui-opt-group:not(:empty)~tui-opt-group[data-label=\"\"]:before,tui-opt-group:not(:empty)~tui-opt-group:not([data-label]):before{padding:var(--tui-data-list-padding) 0}tui-opt-group:not(:empty)~tui-opt-group:after{content:\"\"}tui-opt-group[data-label=\"\"]:before,tui-opt-group:not([data-label]):before{content:\"\";padding:0;margin:0}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
318
+ ], queries: [{ propertyName: "legacyOptionsQuery", predicate: i0.forwardRef(() => TuiOption), descendants: true }, { propertyName: "optionsQuery", predicate: i0.forwardRef(() => TuiOptionWithValue), descendants: true }], ngImport: i0, template: "<ng-content />\n@if (empty()) {\n <div class=\"t-empty\">\n <ng-container *polymorpheusOutlet=\"emptyContent || fallback() as text\">\n {{ text }}\n </ng-container>\n </div>\n}\n", styles: ["tui-data-list{--tui-data-list-padding: .25rem;--tui-data-list-margin: .0625rem;display:flex;font:var(--tui-font-text-m);flex-direction:column;padding:calc(var(--tui-data-list-padding) - var(--tui-data-list-margin)) var(--tui-data-list-padding);color:var(--tui-text-tertiary)}tui-data-list:focus-within .t-trap{display:none}tui-data-list:focus-within [tuiOption]._with-dropdown:not(:focus){background-color:transparent}tui-data-list[data-size=s]{--tui-data-list-margin: 0rem}tui-data-list[data-size=s] [tuiOption][new]:not([tuiCell]){gap:.5rem}tui-data-list[data-size=s]>.t-empty,tui-data-list[data-size=s] [tuiOption]{--t-option-padding-inline: .375rem;font:var(--tui-font-text-s);min-block-size:2rem;padding-block-start:.3125rem;padding-block-end:.3125rem}tui-data-list[data-size=s]>.t-empty:before,tui-data-list[data-size=s] [tuiOption]:before{font-size:1rem}tui-data-list[data-size=m] [tuiOption][new]:not([tuiCell]){gap:.75rem}tui-data-list[data-size=m]>.t-empty,tui-data-list[data-size=m] [tuiOption]{--t-option-padding-inline: .5rem;font:var(--tui-font-text-s);min-block-size:2.5rem;padding-block-start:.375rem;padding-block-end:.375rem}tui-data-list[data-size=l]{--tui-data-list-padding: .375rem;--tui-data-list-margin: .125rem}tui-data-list[data-size=l] [tuiOption][new]:not([tuiCell]){gap:1rem}tui-data-list[data-size=l]>.t-empty,tui-data-list[data-size=l] [tuiOption]{--t-option-padding-inline: .625rem;font:var(--tui-font-text-m);min-block-size:2.75rem;padding-block-start:.375rem;padding-block-end:.375rem}tui-data-list>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0}tui-data-list [tuiOption]:not([new]){justify-content:space-between}tui-data-list [tuiOption]{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font:inherit;line-height:inherit;text-decoration:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;text-align:start;color:var(--tui-text-primary);border-radius:var(--tui-radius-s);outline:none;cursor:pointer;word-break:break-word;background-clip:padding-box}tui-data-list [tuiOption]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}@media (hover: hover) and (pointer: fine){tui-data-list [tuiOption]:hover:not(:disabled){background-color:var(--tui-background-neutral-1)}}tui-data-list [tuiOption]:active:not(:disabled),tui-data-list [tuiOption]:focus-within,tui-data-list [tuiOption]._with-dropdown{background-color:var(--tui-background-neutral-1)}tui-data-list [tuiOption]:not([new]):before{margin-inline-end:.5rem}tui-data-list [tuiOption]:after{font-size:1rem;margin:0 -.625rem 0 auto;border-inline-start:.5rem solid;border-inline-end:.5rem solid}tui-data-list>.t-empty,tui-data-list [tuiOption]{padding-inline-start:var(--t-option-padding-inline);padding-inline-end:var(--t-option-padding-inline)}tui-opt-group{position:relative;display:flex;font:var(--tui-font-text-xs);font-weight:700;color:var(--tui-text-primary);flex-direction:column;line-height:1rem}tui-data-list[data-size=l] tui-opt-group{font:var(--tui-font-text-m);font-weight:700;line-height:1.25rem}tui-data-list[data-size=l] tui-opt-group:before{padding-inline-start:.625rem;padding-inline-end:.625rem}tui-data-list[data-size=l] tui-opt-group:after{left:.625rem;right:.625rem}tui-opt-group:empty:before,tui-opt-group:empty:after{display:none}tui-opt-group:before{content:attr(data-label);padding:var(--tui-data-list-padding) .5rem var(--tui-data-list-padding);margin:var(--tui-data-list-margin) 0;white-space:normal;word-break:break-word}tui-opt-group:after{position:absolute;left:.5rem;right:.5rem;top:var(--tui-data-list-padding);block-size:1px;background:var(--tui-border-normal)}tui-opt-group:not(:empty)~tui-opt-group:before{padding-block-start:calc(.75rem + var(--tui-data-list-padding))}tui-opt-group:not(:empty)~tui-opt-group[data-label=\"\"]:before,tui-opt-group:not(:empty)~tui-opt-group:not([data-label]):before{padding:var(--tui-data-list-padding) 0}tui-opt-group:not(:empty)~tui-opt-group:after{content:\"\"}tui-opt-group[data-label=\"\"]:before,tui-opt-group:not([data-label]):before{content:\"\";padding:0;margin:0}\n"], dependencies: [{ kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
321
319
  }
322
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDataListComponent, decorators: [{
320
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDataListComponent, decorators: [{
323
321
  type: Component,
324
- args: [{ standalone: true, selector: 'tui-data-list', imports: [NgIf, PolymorpheusOutlet], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
322
+ args: [{ selector: 'tui-data-list', imports: [PolymorpheusOutlet], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
325
323
  tuiAsDataListAccessor(TuiDataListComponent),
326
324
  {
327
325
  provide: TUI_OPTION_CONTENT,
@@ -345,7 +343,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
345
343
  '(keydown.shift.tab)': 'handleFocusLossIfNecessary()',
346
344
  '(keydown.arrowDown.prevent)': 'onKeyDownArrow($event.target, 1)',
347
345
  '(keydown.arrowUp.prevent)': 'onKeyDownArrow($event.target, -1)',
348
- }, template: "<ng-content />\n<div\n *ngIf=\"empty()\"\n class=\"t-empty\"\n>\n <ng-container *polymorpheusOutlet=\"emptyContent || fallback() as text\">\n {{ text }}\n </ng-container>\n</div>\n", styles: ["tui-data-list{--tui-data-list-padding: .25rem;--tui-data-list-margin: .0625rem;display:flex;font:var(--tui-font-text-m);flex-direction:column;padding:calc(var(--tui-data-list-padding) - var(--tui-data-list-margin)) var(--tui-data-list-padding);color:var(--tui-text-tertiary)}tui-data-list:focus-within .t-trap{display:none}tui-data-list:focus-within [tuiOption]._with-dropdown:not(:focus){background-color:transparent}tui-data-list[data-size=s]{--tui-data-list-margin: 0rem}tui-data-list[data-size=s] [tuiOption][new]:not([tuiCell]){gap:.5rem}tui-data-list[data-size=s]>.t-empty,tui-data-list[data-size=s] [tuiOption]{--t-option-padding-inline: .375rem;font:var(--tui-font-text-s);min-block-size:2rem;padding-block-start:.3125rem;padding-block-end:.3125rem}tui-data-list[data-size=s]>.t-empty:before,tui-data-list[data-size=s] [tuiOption]:before{font-size:1rem}tui-data-list[data-size=m] [tuiOption][new]:not([tuiCell]){gap:.75rem}tui-data-list[data-size=m]>.t-empty,tui-data-list[data-size=m] [tuiOption]{--t-option-padding-inline: .5rem;font:var(--tui-font-text-s);min-block-size:2.5rem;padding-block-start:.375rem;padding-block-end:.375rem}tui-data-list[data-size=l]{--tui-data-list-padding: .375rem;--tui-data-list-margin: .125rem}tui-data-list[data-size=l] [tuiOption][new]:not([tuiCell]){gap:1rem}tui-data-list[data-size=l]>.t-empty,tui-data-list[data-size=l] [tuiOption]{--t-option-padding-inline: .625rem;font:var(--tui-font-text-m);min-block-size:2.75rem;padding-block-start:.375rem;padding-block-end:.375rem}tui-data-list>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0}tui-data-list [tuiOption]:not([new]){justify-content:space-between}tui-data-list [tuiOption]{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font:inherit;line-height:inherit;text-decoration:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;text-align:start;color:var(--tui-text-primary);border-radius:var(--tui-radius-s);outline:none;cursor:pointer;background-clip:padding-box}tui-data-list [tuiOption]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}@media (hover: hover) and (pointer: fine){tui-data-list [tuiOption]:hover:not(:disabled){background-color:var(--tui-background-neutral-1)}}tui-data-list [tuiOption]:active:not(:disabled),tui-data-list [tuiOption]:focus-within,tui-data-list [tuiOption]._with-dropdown{background-color:var(--tui-background-neutral-1)}tui-data-list [tuiOption]:not([new]):before{margin-inline-end:.5rem}tui-data-list [tuiOption]:after{font-size:1rem;margin:0 -.625rem 0 auto;border-inline-start:.5rem solid;border-inline-end:.5rem solid}tui-data-list>.t-empty,tui-data-list [tuiOption]{padding-inline-start:var(--t-option-padding-inline);padding-inline-end:var(--t-option-padding-inline)}tui-opt-group{position:relative;display:flex;font:var(--tui-font-text-xs);font-weight:700;color:var(--tui-text-primary);flex-direction:column;line-height:1rem}tui-data-list[data-size=l] tui-opt-group{font:var(--tui-font-text-m);font-weight:700;line-height:1.25rem}tui-data-list[data-size=l] tui-opt-group:before{padding-inline-start:.625rem;padding-inline-end:.625rem}tui-data-list[data-size=l] tui-opt-group:after{left:.625rem;right:.625rem}tui-opt-group:empty:before,tui-opt-group:empty:after{display:none}tui-opt-group:before{content:attr(data-label);padding:var(--tui-data-list-padding) .5rem var(--tui-data-list-padding);margin:var(--tui-data-list-margin) 0;white-space:normal;word-break:break-word}tui-opt-group:after{position:absolute;left:.5rem;right:.5rem;top:var(--tui-data-list-padding);block-size:1px;background:var(--tui-border-normal)}tui-opt-group:not(:empty)~tui-opt-group:before{padding-block-start:calc(.75rem + var(--tui-data-list-padding))}tui-opt-group:not(:empty)~tui-opt-group[data-label=\"\"]:before,tui-opt-group:not(:empty)~tui-opt-group:not([data-label]):before{padding:var(--tui-data-list-padding) 0}tui-opt-group:not(:empty)~tui-opt-group:after{content:\"\"}tui-opt-group[data-label=\"\"]:before,tui-opt-group:not([data-label]):before{content:\"\";padding:0;margin:0}\n"] }]
346
+ }, template: "<ng-content />\n@if (empty()) {\n <div class=\"t-empty\">\n <ng-container *polymorpheusOutlet=\"emptyContent || fallback() as text\">\n {{ text }}\n </ng-container>\n </div>\n}\n", styles: ["tui-data-list{--tui-data-list-padding: .25rem;--tui-data-list-margin: .0625rem;display:flex;font:var(--tui-font-text-m);flex-direction:column;padding:calc(var(--tui-data-list-padding) - var(--tui-data-list-margin)) var(--tui-data-list-padding);color:var(--tui-text-tertiary)}tui-data-list:focus-within .t-trap{display:none}tui-data-list:focus-within [tuiOption]._with-dropdown:not(:focus){background-color:transparent}tui-data-list[data-size=s]{--tui-data-list-margin: 0rem}tui-data-list[data-size=s] [tuiOption][new]:not([tuiCell]){gap:.5rem}tui-data-list[data-size=s]>.t-empty,tui-data-list[data-size=s] [tuiOption]{--t-option-padding-inline: .375rem;font:var(--tui-font-text-s);min-block-size:2rem;padding-block-start:.3125rem;padding-block-end:.3125rem}tui-data-list[data-size=s]>.t-empty:before,tui-data-list[data-size=s] [tuiOption]:before{font-size:1rem}tui-data-list[data-size=m] [tuiOption][new]:not([tuiCell]){gap:.75rem}tui-data-list[data-size=m]>.t-empty,tui-data-list[data-size=m] [tuiOption]{--t-option-padding-inline: .5rem;font:var(--tui-font-text-s);min-block-size:2.5rem;padding-block-start:.375rem;padding-block-end:.375rem}tui-data-list[data-size=l]{--tui-data-list-padding: .375rem;--tui-data-list-margin: .125rem}tui-data-list[data-size=l] [tuiOption][new]:not([tuiCell]){gap:1rem}tui-data-list[data-size=l]>.t-empty,tui-data-list[data-size=l] [tuiOption]{--t-option-padding-inline: .625rem;font:var(--tui-font-text-m);min-block-size:2.75rem;padding-block-start:.375rem;padding-block-end:.375rem}tui-data-list>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0}tui-data-list [tuiOption]:not([new]){justify-content:space-between}tui-data-list [tuiOption]{-webkit-appearance:none;appearance:none;padding:0;border:0;background:none;font:inherit;line-height:inherit;text-decoration:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;text-align:start;color:var(--tui-text-primary);border-radius:var(--tui-radius-s);outline:none;cursor:pointer;word-break:break-word;background-clip:padding-box}tui-data-list [tuiOption]:disabled{opacity:var(--tui-disabled-opacity);cursor:default}@media (hover: hover) and (pointer: fine){tui-data-list [tuiOption]:hover:not(:disabled){background-color:var(--tui-background-neutral-1)}}tui-data-list [tuiOption]:active:not(:disabled),tui-data-list [tuiOption]:focus-within,tui-data-list [tuiOption]._with-dropdown{background-color:var(--tui-background-neutral-1)}tui-data-list [tuiOption]:not([new]):before{margin-inline-end:.5rem}tui-data-list [tuiOption]:after{font-size:1rem;margin:0 -.625rem 0 auto;border-inline-start:.5rem solid;border-inline-end:.5rem solid}tui-data-list>.t-empty,tui-data-list [tuiOption]{padding-inline-start:var(--t-option-padding-inline);padding-inline-end:var(--t-option-padding-inline)}tui-opt-group{position:relative;display:flex;font:var(--tui-font-text-xs);font-weight:700;color:var(--tui-text-primary);flex-direction:column;line-height:1rem}tui-data-list[data-size=l] tui-opt-group{font:var(--tui-font-text-m);font-weight:700;line-height:1.25rem}tui-data-list[data-size=l] tui-opt-group:before{padding-inline-start:.625rem;padding-inline-end:.625rem}tui-data-list[data-size=l] tui-opt-group:after{left:.625rem;right:.625rem}tui-opt-group:empty:before,tui-opt-group:empty:after{display:none}tui-opt-group:before{content:attr(data-label);padding:var(--tui-data-list-padding) .5rem var(--tui-data-list-padding);margin:var(--tui-data-list-margin) 0;white-space:normal;word-break:break-word}tui-opt-group:after{position:absolute;left:.5rem;right:.5rem;top:var(--tui-data-list-padding);block-size:1px;background:var(--tui-border-normal)}tui-opt-group:not(:empty)~tui-opt-group:before{padding-block-start:calc(.75rem + var(--tui-data-list-padding))}tui-opt-group:not(:empty)~tui-opt-group[data-label=\"\"]:before,tui-opt-group:not(:empty)~tui-opt-group:not([data-label]):before{padding:var(--tui-data-list-padding) 0}tui-opt-group:not(:empty)~tui-opt-group:after{content:\"\"}tui-opt-group[data-label=\"\"]:before,tui-opt-group:not([data-label]):before{content:\"\";padding:0;margin:0}\n"] }]
349
347
  }], propDecorators: { legacyOptionsQuery: [{
350
348
  type: ContentChildren,
351
349
  args: [forwardRef(() => TuiOption), { descendants: true }]
@@ -359,10 +357,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
359
357
  }] } });
360
358
 
361
359
  class TuiDataListDirective {
362
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDataListDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
363
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiDataListDirective, isStandalone: true, selector: "ng-template[tuiDataList]", ngImport: i0 }); }
360
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDataListDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
361
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiDataListDirective, isStandalone: true, selector: "ng-template[tuiDataList]", ngImport: i0 }); }
364
362
  }
365
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDataListDirective, decorators: [{
363
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDataListDirective, decorators: [{
366
364
  type: Directive,
367
365
  args: [{
368
366
  standalone: true,
@@ -374,10 +372,10 @@ function tuiAsDataList(list) {
374
372
  }
375
373
 
376
374
  class TuiOptGroup {
377
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiOptGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
378
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiOptGroup, isStandalone: true, selector: "tui-opt-group", inputs: { label: "label" }, host: { attributes: { "role": "group" }, properties: { "attr.data-label": "label" } }, ngImport: i0 }); }
375
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiOptGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
376
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiOptGroup, isStandalone: true, selector: "tui-opt-group", inputs: { label: "label" }, host: { attributes: { "role": "group" }, properties: { "attr.data-label": "label" } }, ngImport: i0 }); }
379
377
  }
380
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiOptGroup, decorators: [{
378
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiOptGroup, decorators: [{
381
379
  type: Directive,
382
380
  args: [{
383
381
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-core-components-data-list.mjs","sources":["../../../projects/core/components/data-list/data-list.tokens.ts","../../../projects/core/components/data-list/option/option-content.ts","../../../projects/core/components/data-list/option/option.directive.ts","../../../projects/core/components/data-list/option/option-legacy.component.ts","../../../projects/core/components/data-list/data-list.component.ts","../../../projects/core/components/data-list/data-list.template.html","../../../projects/core/components/data-list/data-list.directive.ts","../../../projects/core/components/data-list/opt-group.directive.ts","../../../projects/core/components/data-list/data-list.ts","../../../projects/core/components/data-list/taiga-ui-core-components-data-list.ts"],"sourcesContent":["import {InjectionToken, type Provider, type Signal, type Type} from '@angular/core';\nimport {type TuiIdentityMatcher, type TuiStringHandler} from '@taiga-ui/cdk/types';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {tuiAsAuxiliary} from '@taiga-ui/core/tokens';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\n\nexport interface TuiDataListAccessor<T = unknown> {\n /**\n * @deprecated Use `options` property instead\n */\n getOptions(includeDisabled?: boolean): readonly T[];\n // TODO(v5): remove `undefined` for this property\n options?: Signal<readonly T[]>;\n}\n\n// TODO: Consider refactoring checkOption, it is only needed in ComboBox\nexport interface TuiDataListHost<T> {\n checkOption?(option: T): void;\n handleOption?(option: T): void;\n /**\n * @deprecated Use `inject(TuiItemsHandlersDirective<T>).identityMatcher` instead\n */\n readonly identityMatcher?: TuiIdentityMatcher<T>;\n /**\n * @deprecated Use `inject(TuiItemsHandlersDirective<T>).stringify` instead\n */\n readonly stringify?: TuiStringHandler<T>;\n readonly size?: TuiSizeL | TuiSizeS;\n}\n\n/**\n * Accessor for data-list options\n */\nexport const TUI_DATA_LIST_ACCESSOR = new InjectionToken<TuiDataListAccessor>(\n ngDevMode ? 'TUI_DATA_LIST_ACCESSOR' : '',\n);\n\nexport function tuiAsDataListAccessor(accessor: Type<TuiDataListAccessor>): Provider {\n return [tuiProvide(TUI_DATA_LIST_ACCESSOR, accessor), tuiAsAuxiliary(accessor)];\n}\n\n/**\n * DataList controller\n */\nexport const TUI_DATA_LIST_HOST = new InjectionToken<TuiDataListHost<unknown>>(\n ngDevMode ? 'TUI_DATA_LIST_HOST' : '',\n);\n\nexport function tuiAsDataListHost<T>(host: Type<TuiDataListHost<T>>): Provider {\n return tuiProvide(TUI_DATA_LIST_HOST, host);\n}\n","import {\n ContentChild,\n Directive,\n inject,\n InjectionToken,\n type Provider,\n type TemplateRef,\n type Type,\n} from '@angular/core';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\n/**\n * Content for tuiOption component\n */\nexport const TUI_OPTION_CONTENT = new InjectionToken<\n | PolymorpheusContent<TuiContext<TemplateRef<Record<string, unknown>>>> // TODO(v5): delete\n | Type<any>\n>(ngDevMode ? 'TUI_OPTION_CONTENT' : '');\n\nexport function tuiAsOptionContent(\n useValue:\n | PolymorpheusContent<TuiContext<TemplateRef<Record<string, unknown>>>> // TODO(v5): delete\n | Type<any>,\n): Provider {\n return {\n provide: TUI_OPTION_CONTENT,\n useValue,\n };\n}\n\n@Directive({\n standalone: true,\n})\nexport class TuiWithOptionContent {\n @ContentChild(TUI_OPTION_CONTENT, {descendants: true})\n protected readonly localContent: Type<any> | null = null;\n\n protected readonly globalContent = inject<Type<any>>(TUI_OPTION_CONTENT, {\n optional: true,\n });\n\n public get content(): Type<any> | null {\n return this.globalContent ?? this.localContent;\n }\n}\n","import {\n createComponent,\n Directive,\n EnvironmentInjector,\n forwardRef,\n inject,\n INJECTOR,\n Input,\n type OnDestroy,\n signal,\n type Type,\n ViewContainerRef,\n} from '@angular/core';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiIsNativeFocused} from '@taiga-ui/cdk/utils/focus';\nimport {TuiDropdownDirective} from '@taiga-ui/core/directives/dropdown';\nimport {TuiWithIcons} from '@taiga-ui/core/directives/icons';\n\nimport {TuiDataListComponent} from '../data-list.component';\nimport {TUI_DATA_LIST_HOST, type TuiDataListHost} from '../data-list.tokens';\nimport {TUI_OPTION_CONTENT} from './option-content';\n\n// TODO(v5): rename `TuiOptionNew` => `TuiOption` & remove [new] from selector\n// TODO: Consider all use cases for aria roles\n@Directive({\n standalone: true,\n selector: 'button[tuiOption][new], a[tuiOption][new], label[tuiOption][new]',\n hostDirectives: [TuiWithIcons],\n host: {\n type: 'button',\n role: 'option',\n '[attr.disabled]': 'disabled || null',\n '[class._with-dropdown]': 'dropdown?.()',\n '(mousemove.zoneless)': 'onMouseMove()',\n },\n})\nexport class TuiOptionNew<T = unknown> implements OnDestroy {\n private readonly vcr = inject(ViewContainerRef);\n private readonly isMobile = inject(TUI_IS_MOBILE);\n private readonly el = tuiInjectElement();\n private readonly dataList = inject<TuiDataListComponent<T>>(\n forwardRef(() => TuiDataListComponent),\n {optional: true},\n );\n\n private readonly content = inject<Type<any> | null>(TUI_OPTION_CONTENT, {\n optional: true,\n });\n\n private readonly ref =\n this.content &&\n createComponent(this.content, {\n environmentInjector: inject(EnvironmentInjector),\n elementInjector: inject(INJECTOR),\n hostElement: tuiInjectElement(),\n });\n\n protected readonly dropdown = inject(TuiDropdownDirective, {\n self: true,\n optional: true,\n })?.ref;\n\n @Input()\n public disabled = false;\n\n constructor() {\n if (this.ref) {\n this.vcr.insert(this.ref.hostView);\n this.ref.changeDetectorRef.detectChanges();\n }\n }\n\n // Preventing focus loss upon focused option removal\n public ngOnDestroy(): void {\n this.dataList?.handleFocusLossIfNecessary(this.el);\n }\n\n protected onMouseMove(): void {\n if (\n !this.isMobile &&\n !tuiIsNativeFocused(this.el) &&\n this.dataList &&\n this.el.closest('[tuiDataListDropdownManager]')\n ) {\n this.el.focus({preventScroll: true});\n }\n }\n}\n\n// TODO(v5): remove [new] from selector\n@Directive({\n standalone: true,\n selector:\n 'button[tuiOption][value][new], a[tuiOption][value][new], label[tuiOption][value][new]',\n host: {\n '(click)': 'onClick()',\n },\n})\nexport class TuiOptionWithValue<T = unknown> {\n private readonly host = inject<TuiDataListHost<T>>(TUI_DATA_LIST_HOST, {\n optional: true,\n });\n\n @Input()\n public disabled = false;\n\n public readonly value = signal<T | undefined>(undefined);\n\n // TODO(v5): use `input.required<T>()` to remove `undefined` from `this.value()`\n @Input({alias: 'value', required: true})\n public set valueSetter(x: T) {\n this.value.set(x);\n }\n\n protected onClick(value = this.value()): void {\n if (this.host?.handleOption && value !== undefined) {\n this.host.handleOption(value);\n }\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n forwardRef,\n inject,\n Input,\n type OnDestroy,\n type TemplateRef,\n} from '@angular/core';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiIsNativeFocused} from '@taiga-ui/cdk/utils/focus';\nimport {TuiDropdownDirective} from '@taiga-ui/core/directives/dropdown';\nimport {TuiWithIcons} from '@taiga-ui/core/directives/icons';\nimport {type PolymorpheusContent, PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\nimport {TuiDataListComponent} from '../data-list.component';\nimport {TUI_DATA_LIST_HOST, type TuiDataListHost} from '../data-list.tokens';\nimport {TUI_OPTION_CONTENT} from './option-content';\n\n/**\n * TODO(v5): delete\n * @deprecated use `<button tuiOption new />` / `<a tuiOption new /> / `<label tuiOption new /> instead\n */\n@Component({\n standalone: true,\n selector:\n 'button[tuiOption]:not([new]), a[tuiOption]:not([new]), label[tuiOption]:not([new])',\n imports: [PolymorpheusOutlet],\n template: `\n <ng-container *polymorpheusOutlet=\"content || t as text; context: {$implicit: t}\">\n {{ text }}\n </ng-container>\n <ng-template #t>\n <ng-content />\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [TuiWithIcons],\n host: {\n type: 'button',\n role: 'option',\n '[attr.disabled]': 'disabled || null',\n '[class._with-dropdown]': 'dropdown?.()',\n '(click)': 'onClick()',\n '(mousemove.zoneless)': 'onMouseMove()',\n },\n})\nexport class TuiOption<T = unknown> implements OnDestroy {\n private readonly isMobile = inject(TUI_IS_MOBILE);\n private readonly el = tuiInjectElement();\n private readonly dataList = inject<TuiDataListComponent<T>>(\n forwardRef(() => TuiDataListComponent),\n {optional: true},\n );\n\n private readonly host = inject<TuiDataListHost<T>>(TUI_DATA_LIST_HOST, {\n optional: true,\n });\n\n protected readonly content: PolymorpheusContent<\n TuiContext<TemplateRef<Record<string, unknown>>>\n > = inject(TUI_OPTION_CONTENT, {optional: true});\n\n protected readonly dropdown = inject(TuiDropdownDirective, {\n self: true,\n optional: true,\n })?.ref;\n\n @Input()\n public disabled = false;\n\n @Input()\n public value?: T;\n\n // Preventing focus loss upon focused option removal\n public ngOnDestroy(): void {\n this.dataList?.handleFocusLossIfNecessary(this.el);\n }\n\n protected onClick(): void {\n if (this.host?.handleOption && this.value !== undefined) {\n this.host.handleOption(this.value);\n }\n }\n\n protected onMouseMove(): void {\n if (\n !this.isMobile &&\n !tuiIsNativeFocused(this.el) &&\n this.dataList &&\n this.el.closest('[tuiDataListDropdownManager]')\n ) {\n this.el.focus({preventScroll: true});\n }\n }\n}\n","import {NgIf} from '@angular/common';\nimport {\n type AfterContentChecked,\n type AfterContentInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n DestroyRef,\n forwardRef,\n inject,\n Input,\n isSignal,\n NgZone,\n type QueryList,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {EMPTY_QUERY} from '@taiga-ui/cdk/constants';\nimport {\n tuiQueryListChanges,\n tuiTakeUntilDestroyed,\n tuiZonefree,\n} from '@taiga-ui/cdk/observables';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiIsNativeFocusedIn, tuiMoveFocus} from '@taiga-ui/cdk/utils/focus';\nimport {tuiIsPresent} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TUI_NOTHING_FOUND_MESSAGE} from '@taiga-ui/core/tokens';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {type PolymorpheusContent, PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\nimport {combineLatest, map, ReplaySubject, startWith, switchMap, timer} from 'rxjs';\n\nimport {\n TUI_DATA_LIST_HOST,\n tuiAsDataListAccessor,\n type TuiDataListAccessor,\n} from './data-list.tokens';\nimport {TuiOptionWithValue} from './option/option.directive';\nimport {TUI_OPTION_CONTENT, TuiWithOptionContent} from './option/option-content';\nimport {TuiOption} from './option/option-legacy.component';\n\nexport function tuiInjectDataListSize(): TuiSizeL | TuiSizeS {\n const sizes = ['s', 'm', 'l'] as const;\n const size = inject(TUI_DATA_LIST_HOST, {optional: true})?.size;\n\n return size && sizes.includes(size) ? size : 'l';\n}\n\n// TODO: Consider aria-activedescendant for proper accessibility implementation\n@Component({\n standalone: true,\n selector: 'tui-data-list',\n imports: [NgIf, PolymorpheusOutlet],\n templateUrl: './data-list.template.html',\n styleUrls: ['./data-list.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsDataListAccessor(TuiDataListComponent),\n {\n provide: TUI_OPTION_CONTENT,\n useFactory: () =>\n inject(TuiWithOptionContent, {optional: true})?.content ??\n // TODO(v5): remove when all legacy controls are deleted\n inject(TUI_OPTION_CONTENT, {\n host: true,\n skipSelf: true,\n optional: true,\n }) ??\n inject(TUI_OPTION_CONTENT, {skipSelf: true, optional: true}),\n },\n ],\n host: {\n role: 'listbox',\n '[attr.data-size]': 'size',\n '(focusin)': 'onFocusIn($event.relatedTarget, $event.currentTarget)',\n '(mousedown.prevent)': '(0)',\n '(wheel.zoneless.passive)': 'handleFocusLossIfNecessary()',\n '(mouseleave)': 'handleFocusLossIfNecessary($event.target)',\n '(keydown.tab)': 'handleFocusLossIfNecessary()',\n '(keydown.shift.tab)': 'handleFocusLossIfNecessary()',\n '(keydown.arrowDown.prevent)': 'onKeyDownArrow($event.target, 1)',\n '(keydown.arrowUp.prevent)': 'onKeyDownArrow($event.target, -1)',\n },\n})\nexport class TuiDataListComponent<T>\n implements TuiDataListAccessor<T>, AfterContentChecked, AfterContentInit\n{\n // TODO(v5): delete\n @ContentChildren(forwardRef(() => TuiOption), {descendants: true})\n private readonly legacyOptionsQuery: QueryList<TuiOption<T>> = EMPTY_QUERY;\n\n @ContentChildren(forwardRef(() => TuiOptionWithValue), {descendants: true})\n private readonly optionsQuery: QueryList<TuiOptionWithValue<T>> = EMPTY_QUERY;\n\n private origin?: HTMLElement;\n private readonly ngZone = inject(NgZone);\n private readonly destroyRef = inject(DestroyRef);\n private readonly el = tuiInjectElement();\n private readonly cdr = inject(ChangeDetectorRef);\n private readonly contentReady$ = new ReplaySubject<boolean>(1);\n\n protected readonly fallback = toSignal(inject(TUI_NOTHING_FOUND_MESSAGE));\n protected readonly empty = signal(false);\n\n @Input()\n public emptyContent: PolymorpheusContent;\n\n @Input()\n public size = tuiInjectDataListSize();\n\n // TODO(v5): use signal `contentChildren`\n public readonly options = toSignal<readonly T[]>(\n this.contentReady$.pipe(\n switchMap(() =>\n combineLatest([\n tuiQueryListChanges(this.legacyOptionsQuery),\n tuiQueryListChanges(this.optionsQuery),\n ]),\n ),\n map(([legacyOptions, options]) =>\n [\n ...legacyOptions.map(({value}) => value),\n ...options.map(({value}) => value()),\n ].filter(tuiIsPresent),\n ),\n startWith([]),\n ),\n {requireSync: true},\n );\n\n public onKeyDownArrow(current: HTMLElement, step: number): void {\n const {elements} = this;\n\n tuiMoveFocus(elements.indexOf(current), elements, step);\n }\n\n public handleFocusLossIfNecessary(element: Element = this.el): void {\n if (tuiIsNativeFocusedIn(element)) {\n this.origin?.focus({preventScroll: true});\n }\n }\n\n public ngAfterContentInit(): void {\n this.contentReady$.next(true);\n }\n\n // TODO: Refactor to :has after Safari support bumped to 15\n public ngAfterContentChecked(): void {\n timer(0)\n .pipe(tuiZonefree(this.ngZone), tuiTakeUntilDestroyed(this.destroyRef))\n .subscribe(() => {\n this.empty.set(!this.elements.length);\n this.cdr.detectChanges();\n });\n }\n\n // TODO(v5): delete\n public getOptions(includeDisabled = false): readonly T[] {\n return [\n ...this.legacyOptionsQuery, // TODO(v5): delete\n ...this.optionsQuery,\n ]\n .filter(({disabled}) => includeDisabled || !disabled)\n .map(({value}) => (isSignal(value) ? value() : value))\n .filter(tuiIsPresent);\n }\n\n protected onFocusIn(relatedTarget: HTMLElement, currentTarget: HTMLElement): void {\n if (!currentTarget.contains(relatedTarget) && !this.origin) {\n this.origin = relatedTarget;\n }\n }\n\n private get elements(): readonly HTMLElement[] {\n return Array.from(this.el.querySelectorAll('[tuiOption]'));\n }\n}\n","<ng-content />\n<div\n *ngIf=\"empty()\"\n class=\"t-empty\"\n>\n <ng-container *polymorpheusOutlet=\"emptyContent || fallback() as text\">\n {{ text }}\n </ng-container>\n</div>\n","import {Directive, type Provider, type Type} from '@angular/core';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\n\n@Directive({\n standalone: true,\n selector: 'ng-template[tuiDataList]',\n})\nexport class TuiDataListDirective {}\n\nexport function tuiAsDataList(list: Type<TuiDataListDirective>): Provider {\n return tuiProvide(TuiDataListDirective, list);\n}\n","import {Directive, Input} from '@angular/core';\n\n@Directive({\n standalone: true,\n selector: 'tui-opt-group',\n host: {\n role: 'group',\n '[attr.data-label]': 'label',\n },\n})\nexport class TuiOptGroup {\n @Input()\n public label?: string | null;\n}\n","import {TuiDataListComponent} from './data-list.component';\nimport {TuiDataListDirective} from './data-list.directive';\nimport {TuiOptGroup} from './opt-group.directive';\nimport {TuiOptionNew, TuiOptionWithValue} from './option/option.directive';\nimport {TuiOption} from './option/option-legacy.component';\n\nexport const TuiDataList = [\n TuiDataListComponent,\n TuiDataListDirective,\n TuiOption,\n TuiOptionNew,\n TuiOptionWithValue,\n TuiOptGro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,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,MAAA,EAAA,OAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAAX,WAAW,EAAA,UAAA,EAAA,CAAA;kBARvB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,IAAI,EAAE;AACF,wBAAA,IAAI,EAAE,OAAO;AACb,wBAAA,mBAAmB,EAAE,OAAO;AAC/B,qBAAA;AACJ,iBAAA,CAAA;8BAGU,KAAK,EAAA,CAAA;sBADX,KAAK;;;ACLG,MAAA,WAAW,GAAG;IACvB,oBAAoB;IACpB,oBAAoB;IACpB,SAAS;IACT,YAAY;IACZ,kBAAkB;IAClB,WAAW;;;ACZf;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-core-components-data-list.mjs","sources":["../../../projects/core/components/data-list/data-list.tokens.ts","../../../projects/core/components/data-list/option/option-content.ts","../../../projects/core/components/data-list/option/option.directive.ts","../../../projects/core/components/data-list/option/option-legacy.component.ts","../../../projects/core/components/data-list/data-list.component.ts","../../../projects/core/components/data-list/data-list.template.html","../../../projects/core/components/data-list/data-list.directive.ts","../../../projects/core/components/data-list/opt-group.directive.ts","../../../projects/core/components/data-list/data-list.ts","../../../projects/core/components/data-list/taiga-ui-core-components-data-list.ts"],"sourcesContent":["import {InjectionToken, type Provider, type Signal, type Type} from '@angular/core';\nimport {type TuiIdentityMatcher, type TuiStringHandler} from '@taiga-ui/cdk/types';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {tuiAsAuxiliary} from '@taiga-ui/core/tokens';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\n\nexport interface TuiDataListAccessor<T = unknown> {\n /**\n * @deprecated Use `options` property instead\n */\n getOptions(includeDisabled?: boolean): readonly T[];\n // TODO(v5): remove `undefined` for this property\n options?: Signal<readonly T[]>;\n}\n\n// TODO: Consider refactoring checkOption, it is only needed in ComboBox\nexport interface TuiDataListHost<T> {\n checkOption?(option: T): void;\n handleOption?(option: T): void;\n /**\n * @deprecated Use `inject(TuiItemsHandlersDirective<T>).identityMatcher` instead\n */\n readonly identityMatcher?: TuiIdentityMatcher<T>;\n /**\n * @deprecated Use `inject(TuiItemsHandlersDirective<T>).stringify` instead\n */\n readonly stringify?: TuiStringHandler<T>;\n readonly size?: TuiSizeL | TuiSizeS;\n}\n\n/**\n * Accessor for data-list options\n */\nexport const TUI_DATA_LIST_ACCESSOR = new InjectionToken<TuiDataListAccessor>(\n ngDevMode ? 'TUI_DATA_LIST_ACCESSOR' : '',\n);\n\nexport function tuiAsDataListAccessor(accessor: Type<TuiDataListAccessor>): Provider {\n return [tuiProvide(TUI_DATA_LIST_ACCESSOR, accessor), tuiAsAuxiliary(accessor)];\n}\n\n/**\n * DataList controller\n */\nexport const TUI_DATA_LIST_HOST = new InjectionToken<TuiDataListHost<unknown>>(\n ngDevMode ? 'TUI_DATA_LIST_HOST' : '',\n);\n\nexport function tuiAsDataListHost<T>(host: Type<TuiDataListHost<T>>): Provider {\n return tuiProvide(TUI_DATA_LIST_HOST, host);\n}\n","import {\n ContentChild,\n Directive,\n inject,\n InjectionToken,\n type Provider,\n type TemplateRef,\n type Type,\n} from '@angular/core';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\n/**\n * Content for tuiOption component\n */\nexport const TUI_OPTION_CONTENT = new InjectionToken<\n | PolymorpheusContent<TuiContext<TemplateRef<Record<string, unknown>>>> // TODO(v5): delete\n | Type<any>\n>(ngDevMode ? 'TUI_OPTION_CONTENT' : '');\n\nexport function tuiAsOptionContent(\n useValue:\n | PolymorpheusContent<TuiContext<TemplateRef<Record<string, unknown>>>> // TODO(v5): delete\n | Type<any>,\n): Provider {\n return {\n provide: TUI_OPTION_CONTENT,\n useValue,\n };\n}\n\n@Directive({\n standalone: true,\n})\nexport class TuiWithOptionContent {\n @ContentChild(TUI_OPTION_CONTENT, {descendants: true})\n protected readonly localContent: Type<any> | null = null;\n\n protected readonly globalContent = inject<Type<any>>(TUI_OPTION_CONTENT, {\n optional: true,\n });\n\n public get content(): Type<any> | null {\n return this.globalContent ?? this.localContent;\n }\n}\n","import {\n createComponent,\n Directive,\n EnvironmentInjector,\n forwardRef,\n inject,\n INJECTOR,\n Input,\n type OnDestroy,\n signal,\n type Type,\n ViewContainerRef,\n} from '@angular/core';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiIsFocused} from '@taiga-ui/cdk/utils/focus';\nimport {TuiDropdownDirective} from '@taiga-ui/core/directives/dropdown';\nimport {TuiWithIcons} from '@taiga-ui/core/directives/icons';\n\nimport {TuiDataListComponent} from '../data-list.component';\nimport {TUI_DATA_LIST_HOST, type TuiDataListHost} from '../data-list.tokens';\nimport {TUI_OPTION_CONTENT} from './option-content';\n\n// TODO(v5): rename `TuiOptionNew` => `TuiOption` & remove [new] from selector\n// TODO: Consider all use cases for aria roles\n@Directive({\n standalone: true,\n selector: 'button[tuiOption][new], a[tuiOption][new], label[tuiOption][new]',\n hostDirectives: [TuiWithIcons],\n host: {\n type: 'button',\n role: 'option',\n '[attr.disabled]': 'disabled || null',\n '[class._with-dropdown]': 'dropdown?.()',\n '(mousemove.zoneless)': 'onMouseMove()',\n },\n})\nexport class TuiOptionNew<T = unknown> implements OnDestroy {\n private readonly vcr = inject(ViewContainerRef);\n private readonly isMobile = inject(TUI_IS_MOBILE);\n private readonly el = tuiInjectElement();\n private readonly dataList = inject<TuiDataListComponent<T>>(\n forwardRef(() => TuiDataListComponent),\n {optional: true},\n );\n\n private readonly content = inject<Type<any> | null>(TUI_OPTION_CONTENT, {\n optional: true,\n });\n\n private readonly ref =\n this.content &&\n createComponent(this.content, {\n environmentInjector: inject(EnvironmentInjector),\n elementInjector: inject(INJECTOR),\n hostElement: tuiInjectElement(),\n });\n\n protected readonly dropdown = inject(TuiDropdownDirective, {\n self: true,\n optional: true,\n })?.ref;\n\n @Input()\n public disabled = false;\n\n constructor() {\n if (this.ref) {\n this.vcr.insert(this.ref.hostView);\n this.ref.changeDetectorRef.detectChanges();\n }\n }\n\n // Preventing focus loss upon focused option removal\n public ngOnDestroy(): void {\n this.dataList?.handleFocusLossIfNecessary(this.el);\n }\n\n protected onMouseMove(): void {\n if (\n !this.isMobile &&\n !tuiIsFocused(this.el) &&\n this.dataList &&\n this.el.closest('[tuiDataListDropdownManager]')\n ) {\n this.el.focus({preventScroll: true});\n }\n }\n}\n\n// TODO(v5): remove [new] from selector\n@Directive({\n standalone: true,\n selector:\n 'button[tuiOption][value][new], a[tuiOption][value][new], label[tuiOption][value][new]',\n host: {\n '(click)': 'onClick()',\n },\n})\nexport class TuiOptionWithValue<T = unknown> {\n private readonly host = inject<TuiDataListHost<T>>(TUI_DATA_LIST_HOST, {\n optional: true,\n });\n\n @Input()\n public disabled = false;\n\n public readonly value = signal<T | undefined>(undefined);\n\n // TODO(v5): use `input.required<T>()` to remove `undefined` from `this.value()`\n @Input({alias: 'value', required: true})\n public set valueSetter(x: T) {\n this.value.set(x);\n }\n\n protected onClick(value = this.value()): void {\n if (this.host?.handleOption && value !== undefined) {\n this.host.handleOption(value);\n }\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n forwardRef,\n inject,\n Input,\n type OnDestroy,\n type TemplateRef,\n} from '@angular/core';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiIsFocused} from '@taiga-ui/cdk/utils/focus';\nimport {TuiDropdownDirective} from '@taiga-ui/core/directives/dropdown';\nimport {TuiWithIcons} from '@taiga-ui/core/directives/icons';\nimport {type PolymorpheusContent, PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\nimport {TuiDataListComponent} from '../data-list.component';\nimport {TUI_DATA_LIST_HOST, type TuiDataListHost} from '../data-list.tokens';\nimport {TUI_OPTION_CONTENT} from './option-content';\n\n/**\n * TODO(v5): delete\n * @deprecated use `<button tuiOption new />` / `<a tuiOption new /> / `<label tuiOption new /> instead\n */\n@Component({\n selector:\n 'button[tuiOption]:not([new]), a[tuiOption]:not([new]), label[tuiOption]:not([new])',\n imports: [PolymorpheusOutlet],\n template: `\n <ng-container *polymorpheusOutlet=\"content || t as text; context: {$implicit: t}\">\n {{ text }}\n </ng-container>\n <ng-template #t>\n <ng-content />\n </ng-template>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n hostDirectives: [TuiWithIcons],\n host: {\n type: 'button',\n role: 'option',\n '[attr.disabled]': 'disabled || null',\n '[class._with-dropdown]': 'dropdown?.()',\n '(click)': 'onClick()',\n '(mousemove.zoneless)': 'onMouseMove()',\n },\n})\nexport class TuiOption<T = unknown> implements OnDestroy {\n private readonly isMobile = inject(TUI_IS_MOBILE);\n private readonly el = tuiInjectElement();\n private readonly dataList = inject<TuiDataListComponent<T>>(\n forwardRef(() => TuiDataListComponent),\n {optional: true},\n );\n\n private readonly host = inject<TuiDataListHost<T>>(TUI_DATA_LIST_HOST, {\n optional: true,\n });\n\n protected readonly content: PolymorpheusContent<\n TuiContext<TemplateRef<Record<string, unknown>>>\n > = inject(TUI_OPTION_CONTENT, {optional: true});\n\n protected readonly dropdown = inject(TuiDropdownDirective, {\n self: true,\n optional: true,\n })?.ref;\n\n @Input()\n public disabled = false;\n\n @Input()\n public value?: T;\n\n // Preventing focus loss upon focused option removal\n public ngOnDestroy(): void {\n this.dataList?.handleFocusLossIfNecessary(this.el);\n }\n\n protected onClick(): void {\n if (this.host?.handleOption && this.value !== undefined) {\n this.host.handleOption(this.value);\n }\n }\n\n protected onMouseMove(): void {\n if (\n !this.isMobile &&\n !tuiIsFocused(this.el) &&\n this.dataList &&\n this.el.closest('[tuiDataListDropdownManager]')\n ) {\n this.el.focus({preventScroll: true});\n }\n }\n}\n","import {\n type AfterContentChecked,\n type AfterContentInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n DestroyRef,\n forwardRef,\n inject,\n Input,\n isSignal,\n NgZone,\n type QueryList,\n signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {EMPTY_QUERY} from '@taiga-ui/cdk/constants';\nimport {\n tuiQueryListChanges,\n tuiTakeUntilDestroyed,\n tuiZonefree,\n} from '@taiga-ui/cdk/observables';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiIsFocusedIn, tuiMoveFocus} from '@taiga-ui/cdk/utils/focus';\nimport {tuiIsPresent} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TUI_NOTHING_FOUND_MESSAGE} from '@taiga-ui/core/tokens';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\nimport {type PolymorpheusContent, PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\nimport {combineLatest, map, ReplaySubject, startWith, switchMap, timer} from 'rxjs';\n\nimport {\n TUI_DATA_LIST_HOST,\n tuiAsDataListAccessor,\n type TuiDataListAccessor,\n} from './data-list.tokens';\nimport {TuiOptionWithValue} from './option/option.directive';\nimport {TUI_OPTION_CONTENT, TuiWithOptionContent} from './option/option-content';\nimport {TuiOption} from './option/option-legacy.component';\n\nexport function tuiInjectDataListSize(): TuiSizeL | TuiSizeS {\n const sizes = ['s', 'm', 'l'] as const;\n const size = inject(TUI_DATA_LIST_HOST, {optional: true})?.size;\n\n return size && sizes.includes(size) ? size : 'l';\n}\n\n// TODO: Consider aria-activedescendant for proper accessibility implementation\n@Component({\n selector: 'tui-data-list',\n imports: [PolymorpheusOutlet],\n templateUrl: './data-list.template.html',\n styleUrls: ['./data-list.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsDataListAccessor(TuiDataListComponent),\n {\n provide: TUI_OPTION_CONTENT,\n useFactory: () =>\n inject(TuiWithOptionContent, {optional: true})?.content ??\n // TODO(v5): remove when all legacy controls are deleted\n inject(TUI_OPTION_CONTENT, {\n host: true,\n skipSelf: true,\n optional: true,\n }) ??\n inject(TUI_OPTION_CONTENT, {skipSelf: true, optional: true}),\n },\n ],\n host: {\n role: 'listbox',\n '[attr.data-size]': 'size',\n '(focusin)': 'onFocusIn($event.relatedTarget, $event.currentTarget)',\n '(mousedown.prevent)': '(0)',\n '(wheel.zoneless.passive)': 'handleFocusLossIfNecessary()',\n '(mouseleave)': 'handleFocusLossIfNecessary($event.target)',\n '(keydown.tab)': 'handleFocusLossIfNecessary()',\n '(keydown.shift.tab)': 'handleFocusLossIfNecessary()',\n '(keydown.arrowDown.prevent)': 'onKeyDownArrow($event.target, 1)',\n '(keydown.arrowUp.prevent)': 'onKeyDownArrow($event.target, -1)',\n },\n})\nexport class TuiDataListComponent<T>\n implements TuiDataListAccessor<T>, AfterContentChecked, AfterContentInit\n{\n // TODO(v5): delete\n @ContentChildren(forwardRef(() => TuiOption), {descendants: true})\n private readonly legacyOptionsQuery: QueryList<TuiOption<T>> = EMPTY_QUERY;\n\n @ContentChildren(forwardRef(() => TuiOptionWithValue), {descendants: true})\n private readonly optionsQuery: QueryList<TuiOptionWithValue<T>> = EMPTY_QUERY;\n\n private origin?: HTMLElement;\n private readonly ngZone = inject(NgZone);\n private readonly destroyRef = inject(DestroyRef);\n private readonly el = tuiInjectElement();\n private readonly cdr = inject(ChangeDetectorRef);\n private readonly contentReady$ = new ReplaySubject<boolean>(1);\n\n protected readonly fallback = toSignal(inject(TUI_NOTHING_FOUND_MESSAGE));\n protected readonly empty = signal(false);\n\n @Input()\n public emptyContent: PolymorpheusContent;\n\n @Input()\n public size = tuiInjectDataListSize();\n\n // TODO(v5): use signal `contentChildren`\n public readonly options = toSignal<readonly T[]>(\n this.contentReady$.pipe(\n switchMap(() =>\n combineLatest([\n tuiQueryListChanges(this.legacyOptionsQuery),\n tuiQueryListChanges(this.optionsQuery),\n ]),\n ),\n map(([legacyOptions, options]) =>\n [\n ...legacyOptions.map(({value}) => value),\n ...options.map(({value}) => value()),\n ].filter(tuiIsPresent),\n ),\n startWith([]),\n ),\n {requireSync: true},\n );\n\n public onKeyDownArrow(current: HTMLElement, step: number): void {\n const {elements} = this;\n\n tuiMoveFocus(elements.indexOf(current), elements, step);\n }\n\n public handleFocusLossIfNecessary(element: Element = this.el): void {\n if (tuiIsFocusedIn(element)) {\n this.origin?.focus({preventScroll: true});\n }\n }\n\n public ngAfterContentInit(): void {\n this.contentReady$.next(true);\n }\n\n // TODO: Refactor to :has after Safari support bumped to 15\n public ngAfterContentChecked(): void {\n timer(0)\n .pipe(tuiZonefree(this.ngZone), tuiTakeUntilDestroyed(this.destroyRef))\n .subscribe(() => {\n this.empty.set(!this.elements.length);\n this.cdr.detectChanges();\n });\n }\n\n // TODO(v5): delete\n public getOptions(includeDisabled = false): readonly T[] {\n return [\n ...this.legacyOptionsQuery, // TODO(v5): delete\n ...this.optionsQuery,\n ]\n .filter(({disabled}) => includeDisabled || !disabled)\n .map(({value}) => (isSignal(value) ? value() : value))\n .filter(tuiIsPresent);\n }\n\n protected onFocusIn(relatedTarget: HTMLElement, currentTarget: HTMLElement): void {\n if (!currentTarget.contains(relatedTarget) && !this.origin) {\n this.origin = relatedTarget;\n }\n }\n\n private get elements(): readonly HTMLElement[] {\n return Array.from(this.el.querySelectorAll('[tuiOption]'));\n }\n}\n","<ng-content />\n@if (empty()) {\n <div class=\"t-empty\">\n <ng-container *polymorpheusOutlet=\"emptyContent || fallback() as text\">\n {{ text }}\n </ng-container>\n </div>\n}\n","import {Directive, type Provider, type Type} from '@angular/core';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\n\n@Directive({\n standalone: true,\n selector: 'ng-template[tuiDataList]',\n})\nexport class TuiDataListDirective {}\n\nexport function tuiAsDataList(list: Type<TuiDataListDirective>): Provider {\n return tuiProvide(TuiDataListDirective, list);\n}\n","import {Directive, Input} from '@angular/core';\n\n@Directive({\n standalone: true,\n selector: 'tui-opt-group',\n host: {\n role: 'group',\n '[attr.data-label]': 'label',\n },\n})\nexport class TuiOptGroup {\n @Input()\n public label?: string | null;\n}\n","import {TuiDataListComponent} from './data-list.component';\nimport {TuiDataListDirective} from './data-list.directive';\nimport {TuiOptGroup} from './opt-group.directive';\nimport {TuiOptionNew, TuiOptionWithValue} from './option/option.directive';\nimport {TuiOption} from './option/option-legacy.component';\n\nexport const TuiDataList = [\n TuiDataListComponent,\n TuiDataListDirective,\n TuiOption,\n TuiOptionNew,\n TuiOptionWithValue,\n TuiOptGroup,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AA8BA;;AAEG;AACU,MAAA,sBAAsB,GAAG,IAAI,cAAc,CACpD,SAAS,GAAG,wBAAwB,GAAG,EAAE;AAGvC,SAAU,qBAAqB,CAAC,QAAmC,EAAA;AACrE,IAAA,OAAO,CAAC,UAAU,CAAC,sBAAsB,EAAE,QAAQ,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;AACnF;AAEA;;AAEG;AACU,MAAA,kBAAkB,GAAG,IAAI,cAAc,CAChD,SAAS,GAAG,oBAAoB,GAAG,EAAE;AAGnC,SAAU,iBAAiB,CAAI,IAA8B,EAAA;AAC/D,IAAA,OAAO,UAAU,CAAC,kBAAkB,EAAE,IAAI,CAAC;AAC/C;;ACtCA;;AAEG;AACU,MAAA,kBAAkB,GAAG,IAAI,cAAc,CAGlD,SAAS,GAAG,oBAAoB,GAAG,EAAE;AAEjC,SAAU,kBAAkB,CAC9B,QAEe,EAAA;IAEf,OAAO;AACH,QAAA,OA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