@taiga-ui/core 4.51.0-canary.d0d516e → 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 (431) 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.component.d.ts +7 -6
  24. package/components/textfield/textfield.directive.d.ts +1 -1
  25. package/directives/appearance/appearance.directive.d.ts +5 -13
  26. package/directives/dropdown/dropdown-context.directive.d.ts +2 -0
  27. package/directives/icons/icons.bindings.d.ts +5 -0
  28. package/directives/icons/icons.directive.d.ts +8 -14
  29. package/directives/icons/index.d.ts +1 -0
  30. package/directives/index.d.ts +0 -1
  31. package/directives/title/title.directive.d.ts +2 -3
  32. package/fesm2022/taiga-ui-core-animations.mjs.map +1 -1
  33. package/fesm2022/taiga-ui-core-classes.mjs +3 -3
  34. package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
  35. package/fesm2022/taiga-ui-core-components-alert.mjs +17 -18
  36. package/fesm2022/taiga-ui-core-components-alert.mjs.map +1 -1
  37. package/fesm2022/taiga-ui-core-components-button.mjs +13 -21
  38. package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
  39. package/fesm2022/taiga-ui-core-components-calendar.mjs +22 -24
  40. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  41. package/fesm2022/taiga-ui-core-components-cell.mjs +45 -0
  42. package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -0
  43. package/fesm2022/taiga-ui-core-components-data-list.mjs +31 -33
  44. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  45. package/fesm2022/taiga-ui-core-components-dialog.mjs +58 -25
  46. package/fesm2022/taiga-ui-core-components-dialog.mjs.map +1 -1
  47. package/fesm2022/taiga-ui-core-components-error.mjs +107 -24
  48. package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
  49. package/fesm2022/taiga-ui-core-components-expand.mjs +10 -10
  50. package/fesm2022/taiga-ui-core-components-expand.mjs.map +1 -1
  51. package/fesm2022/taiga-ui-core-components-header.mjs +42 -0
  52. package/fesm2022/taiga-ui-core-components-header.mjs.map +1 -0
  53. package/fesm2022/taiga-ui-core-components-icon.mjs +22 -30
  54. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  55. package/fesm2022/taiga-ui-core-components-label.mjs +10 -13
  56. package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
  57. package/fesm2022/taiga-ui-core-components-link.mjs +10 -13
  58. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  59. package/fesm2022/taiga-ui-core-components-loader.mjs +6 -7
  60. package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
  61. package/fesm2022/taiga-ui-core-components-notification.mjs +17 -31
  62. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  63. package/fesm2022/taiga-ui-core-components-root.mjs +23 -42
  64. package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
  65. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +28 -28
  66. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  67. package/fesm2022/taiga-ui-core-components-spin-button.mjs +7 -7
  68. package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
  69. package/fesm2022/taiga-ui-core-components-textfield.mjs +73 -71
  70. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  71. package/fesm2022/taiga-ui-core-components.mjs +2 -1
  72. package/fesm2022/taiga-ui-core-components.mjs.map +1 -1
  73. package/fesm2022/taiga-ui-core-directives-appearance.mjs +26 -63
  74. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  75. package/fesm2022/taiga-ui-core-directives-date-format.mjs +5 -5
  76. package/fesm2022/taiga-ui-core-directives-date-format.mjs.map +1 -1
  77. package/fesm2022/taiga-ui-core-directives-dropdown.mjs +76 -74
  78. package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +1 -1
  79. package/fesm2022/taiga-ui-core-directives-group.mjs +10 -13
  80. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  81. package/fesm2022/taiga-ui-core-directives-hint.mjs +61 -62
  82. package/fesm2022/taiga-ui-core-directives-hint.mjs.map +1 -1
  83. package/fesm2022/taiga-ui-core-directives-icons.mjs +41 -41
  84. package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
  85. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +11 -11
  86. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
  87. package/fesm2022/taiga-ui-core-directives-number-format.mjs +5 -5
  88. package/fesm2022/taiga-ui-core-directives-number-format.mjs.map +1 -1
  89. package/fesm2022/taiga-ui-core-directives-popup.mjs +10 -10
  90. package/fesm2022/taiga-ui-core-directives-popup.mjs.map +1 -1
  91. package/fesm2022/taiga-ui-core-directives-title.mjs +13 -19
  92. package/fesm2022/taiga-ui-core-directives-title.mjs.map +1 -1
  93. package/fesm2022/taiga-ui-core-directives.mjs +0 -1
  94. package/fesm2022/taiga-ui-core-directives.mjs.map +1 -1
  95. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +3 -3
  96. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +1 -1
  97. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +3 -3
  98. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +1 -1
  99. package/fesm2022/taiga-ui-core-pipes-flag.mjs +3 -3
  100. package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +1 -1
  101. package/fesm2022/taiga-ui-core-pipes-format-date.mjs +3 -3
  102. package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +1 -1
  103. package/fesm2022/taiga-ui-core-pipes-format-number.mjs +3 -3
  104. package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
  105. package/fesm2022/taiga-ui-core-pipes-initials.mjs +3 -3
  106. package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +1 -1
  107. package/fesm2022/taiga-ui-core-pipes-month.mjs +3 -3
  108. package/fesm2022/taiga-ui-core-pipes-month.mjs.map +1 -1
  109. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +3 -3
  110. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +1 -1
  111. package/fesm2022/taiga-ui-core-pipes.mjs +0 -1
  112. package/fesm2022/taiga-ui-core-pipes.mjs.map +1 -1
  113. package/fesm2022/taiga-ui-core-services.mjs +18 -18
  114. package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
  115. package/fesm2022/taiga-ui-core-tokens.mjs +31 -17
  116. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  117. package/fesm2022/taiga-ui-core-utils-dom.mjs.map +1 -1
  118. package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
  119. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +49 -3
  120. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
  121. package/package.json +17 -121
  122. package/pipes/index.d.ts +0 -1
  123. package/styles/components/appearance.less +6 -0
  124. package/styles/components/button.less +0 -2
  125. package/styles/components/icon.less +37 -12
  126. package/styles/components/icons.less +45 -7
  127. package/styles/components/link.less +1 -3
  128. package/styles/mixins/mixins.less +1 -2
  129. package/styles/mixins/mixins.scss +1 -2
  130. package/styles/mixins/slider.less +5 -10
  131. package/styles/theme/appearance/outline.less +1 -2
  132. package/styles/theme/appearance/textfield.less +1 -2
  133. package/tokens/icon-resolver.d.ts +1 -4
  134. package/tokens/index.d.ts +1 -0
  135. package/tokens/validation-errors.d.ts +4 -0
  136. package/utils/miscellaneous/index.d.ts +1 -0
  137. package/utils/miscellaneous/provide-taiga.d.ts +13 -0
  138. package/components/fullscreen/fullscreen.component.d.ts +0 -14
  139. package/components/fullscreen/index.d.ts +0 -1
  140. package/directives/surface/index.d.ts +0 -1
  141. package/directives/surface/surface.directive.d.ts +0 -8
  142. package/esm2022/animations/animations.mjs +0 -363
  143. package/esm2022/animations/index.mjs +0 -2
  144. package/esm2022/animations/taiga-ui-core-animations.mjs +0 -5
  145. package/esm2022/classes/accessors.mjs +0 -31
  146. package/esm2022/classes/driver.mjs +0 -36
  147. package/esm2022/classes/index.mjs +0 -4
  148. package/esm2022/classes/taiga-ui-core-classes.mjs +0 -5
  149. package/esm2022/classes/vehicle.mjs +0 -7
  150. package/esm2022/components/alert/alert.component.mjs +0 -43
  151. package/esm2022/components/alert/alert.directive.mjs +0 -21
  152. package/esm2022/components/alert/alert.interfaces.mjs +0 -2
  153. package/esm2022/components/alert/alert.service.mjs +0 -18
  154. package/esm2022/components/alert/alert.tokens.mjs +0 -51
  155. package/esm2022/components/alert/alerts.component.mjs +0 -34
  156. package/esm2022/components/alert/index.mjs +0 -6
  157. package/esm2022/components/alert/taiga-ui-core-components-alert.mjs +0 -5
  158. package/esm2022/components/button/button.directive.mjs +0 -43
  159. package/esm2022/components/button/button.options.mjs +0 -7
  160. package/esm2022/components/button/index.mjs +0 -3
  161. package/esm2022/components/button/taiga-ui-core-components-button.mjs +0 -5
  162. package/esm2022/components/calendar/calendar-sheet.component.mjs +0 -167
  163. package/esm2022/components/calendar/calendar-sheet.options.mjs +0 -12
  164. package/esm2022/components/calendar/calendar-spin.component.mjs +0 -53
  165. package/esm2022/components/calendar/calendar-year.component.mjs +0 -128
  166. package/esm2022/components/calendar/calendar.component.mjs +0 -147
  167. package/esm2022/components/calendar/index.mjs +0 -6
  168. package/esm2022/components/calendar/taiga-ui-core-components-calendar.mjs +0 -5
  169. package/esm2022/components/data-list/data-list.component.mjs +0 -139
  170. package/esm2022/components/data-list/data-list.directive.mjs +0 -19
  171. package/esm2022/components/data-list/data-list.mjs +0 -14
  172. package/esm2022/components/data-list/data-list.tokens.mjs +0 -18
  173. package/esm2022/components/data-list/index.mjs +0 -9
  174. package/esm2022/components/data-list/opt-group.directive.mjs +0 -21
  175. package/esm2022/components/data-list/option/option-content.mjs +0 -36
  176. package/esm2022/components/data-list/option/option-legacy.component.mjs +0 -90
  177. package/esm2022/components/data-list/option/option.directive.mjs +0 -109
  178. package/esm2022/components/data-list/taiga-ui-core-components-data-list.mjs +0 -5
  179. package/esm2022/components/dialog/dialog-close.service.mjs +0 -41
  180. package/esm2022/components/dialog/dialog.component.mjs +0 -63
  181. package/esm2022/components/dialog/dialog.directive.mjs +0 -21
  182. package/esm2022/components/dialog/dialog.factory.mjs +0 -15
  183. package/esm2022/components/dialog/dialog.interfaces.mjs +0 -2
  184. package/esm2022/components/dialog/dialog.service.mjs +0 -18
  185. package/esm2022/components/dialog/dialog.tokens.mjs +0 -33
  186. package/esm2022/components/dialog/dialogs.component.mjs +0 -29
  187. package/esm2022/components/dialog/index.mjs +0 -8
  188. package/esm2022/components/dialog/taiga-ui-core-components-dialog.mjs +0 -5
  189. package/esm2022/components/error/error.component.mjs +0 -34
  190. package/esm2022/components/error/index.mjs +0 -2
  191. package/esm2022/components/error/taiga-ui-core-components-error.mjs +0 -5
  192. package/esm2022/components/expand/expand-content.directive.mjs +0 -18
  193. package/esm2022/components/expand/expand.component.mjs +0 -124
  194. package/esm2022/components/expand/expand.mjs +0 -7
  195. package/esm2022/components/expand/index.mjs +0 -4
  196. package/esm2022/components/expand/taiga-ui-core-components-expand.mjs +0 -5
  197. package/esm2022/components/fullscreen/fullscreen.component.mjs +0 -67
  198. package/esm2022/components/fullscreen/index.mjs +0 -2
  199. package/esm2022/components/fullscreen/taiga-ui-core-components-fullscreen.mjs +0 -5
  200. package/esm2022/components/icon/icon.component.mjs +0 -35
  201. package/esm2022/components/icon/icon.pipe.mjs +0 -19
  202. package/esm2022/components/icon/index.mjs +0 -3
  203. package/esm2022/components/icon/taiga-ui-core-components-icon.mjs +0 -5
  204. package/esm2022/components/index.mjs +0 -18
  205. package/esm2022/components/label/index.mjs +0 -2
  206. package/esm2022/components/label/label.directive.mjs +0 -41
  207. package/esm2022/components/label/taiga-ui-core-components-label.mjs +0 -5
  208. package/esm2022/components/link/index.mjs +0 -3
  209. package/esm2022/components/link/link.directive.mjs +0 -47
  210. package/esm2022/components/link/link.options.mjs +0 -13
  211. package/esm2022/components/link/taiga-ui-core-components-link.mjs +0 -5
  212. package/esm2022/components/loader/index.mjs +0 -3
  213. package/esm2022/components/loader/loader.component.mjs +0 -46
  214. package/esm2022/components/loader/loader.options.mjs +0 -18
  215. package/esm2022/components/loader/taiga-ui-core-components-loader.mjs +0 -5
  216. package/esm2022/components/notification/index.mjs +0 -3
  217. package/esm2022/components/notification/notification.directive.mjs +0 -81
  218. package/esm2022/components/notification/notification.options.mjs +0 -23
  219. package/esm2022/components/notification/taiga-ui-core-components-notification.mjs +0 -5
  220. package/esm2022/components/root/index.mjs +0 -2
  221. package/esm2022/components/root/root.component.mjs +0 -85
  222. package/esm2022/components/root/taiga-ui-core-components-root.mjs +0 -5
  223. package/esm2022/components/scrollbar/index.mjs +0 -9
  224. package/esm2022/components/scrollbar/scroll-controls.component.mjs +0 -32
  225. package/esm2022/components/scrollbar/scroll-into-view.directive.mjs +0 -43
  226. package/esm2022/components/scrollbar/scroll-ref.directive.mjs +0 -19
  227. package/esm2022/components/scrollbar/scrollable.directive.mjs +0 -26
  228. package/esm2022/components/scrollbar/scrollbar.component.mjs +0 -72
  229. package/esm2022/components/scrollbar/scrollbar.directive.mjs +0 -93
  230. package/esm2022/components/scrollbar/scrollbar.options.mjs +0 -6
  231. package/esm2022/components/scrollbar/scrollbar.service.mjs +0 -46
  232. package/esm2022/components/scrollbar/taiga-ui-core-components-scrollbar.mjs +0 -5
  233. package/esm2022/components/spin-button/index.mjs +0 -2
  234. package/esm2022/components/spin-button/spin-button.component.mjs +0 -51
  235. package/esm2022/components/spin-button/taiga-ui-core-components-spin-button.mjs +0 -5
  236. package/esm2022/components/taiga-ui-core-components.mjs +0 -5
  237. package/esm2022/components/textfield/index.mjs +0 -16
  238. package/esm2022/components/textfield/select-like.directive.mjs +0 -42
  239. package/esm2022/components/textfield/select.directive.mjs +0 -65
  240. package/esm2022/components/textfield/taiga-ui-core-components-textfield.mjs +0 -5
  241. package/esm2022/components/textfield/textfield-accessor.mjs +0 -7
  242. package/esm2022/components/textfield/textfield-auxiliary.mjs +0 -7
  243. package/esm2022/components/textfield/textfield-content.directive.mjs +0 -22
  244. package/esm2022/components/textfield/textfield-dropdown.directive.mjs +0 -43
  245. package/esm2022/components/textfield/textfield-icon.mjs +0 -10
  246. package/esm2022/components/textfield/textfield-multi/textfield-item.component.mjs +0 -34
  247. package/esm2022/components/textfield/textfield-multi/textfield-multi.component.mjs +0 -137
  248. package/esm2022/components/textfield/textfield.component.mjs +0 -180
  249. package/esm2022/components/textfield/textfield.directive.mjs +0 -134
  250. package/esm2022/components/textfield/textfield.mjs +0 -19
  251. package/esm2022/components/textfield/textfield.options.mjs +0 -63
  252. package/esm2022/components/textfield/with-native-picker.directive.mjs +0 -24
  253. package/esm2022/directives/appearance/appearance.bindings.mjs +0 -15
  254. package/esm2022/directives/appearance/appearance.directive.mjs +0 -79
  255. package/esm2022/directives/appearance/appearance.options.mjs +0 -12
  256. package/esm2022/directives/appearance/index.mjs +0 -5
  257. package/esm2022/directives/appearance/taiga-ui-core-directives-appearance.mjs +0 -5
  258. package/esm2022/directives/appearance/with-appearance.mjs +0 -27
  259. package/esm2022/directives/date-format/date-format.directive.mjs +0 -31
  260. package/esm2022/directives/date-format/index.mjs +0 -2
  261. package/esm2022/directives/date-format/taiga-ui-core-directives-date-format.mjs +0 -5
  262. package/esm2022/directives/dropdown/dropdown-context.directive.mjs +0 -70
  263. package/esm2022/directives/dropdown/dropdown-hover.directive.mjs +0 -70
  264. package/esm2022/directives/dropdown/dropdown-hover.options.mjs +0 -17
  265. package/esm2022/directives/dropdown/dropdown-limit-width.mjs +0 -37
  266. package/esm2022/directives/dropdown/dropdown-manual.directive.mjs +0 -27
  267. package/esm2022/directives/dropdown/dropdown-open-legacy.directive.mjs +0 -33
  268. package/esm2022/directives/dropdown/dropdown-open.directive.mjs +0 -169
  269. package/esm2022/directives/dropdown/dropdown-options.directive.mjs +0 -73
  270. package/esm2022/directives/dropdown/dropdown-portal.directive.mjs +0 -34
  271. package/esm2022/directives/dropdown/dropdown-position-sided.directive.mjs +0 -69
  272. package/esm2022/directives/dropdown/dropdown-position.directive.mjs +0 -88
  273. package/esm2022/directives/dropdown/dropdown-selection.directive.mjs +0 -159
  274. package/esm2022/directives/dropdown/dropdown.bindings.mjs +0 -19
  275. package/esm2022/directives/dropdown/dropdown.component.mjs +0 -92
  276. package/esm2022/directives/dropdown/dropdown.directive.mjs +0 -110
  277. package/esm2022/directives/dropdown/dropdown.driver.mjs +0 -32
  278. package/esm2022/directives/dropdown/dropdown.mjs +0 -29
  279. package/esm2022/directives/dropdown/dropdown.providers.mjs +0 -10
  280. package/esm2022/directives/dropdown/dropdown.service.mjs +0 -15
  281. package/esm2022/directives/dropdown/dropdowns.component.mjs +0 -24
  282. package/esm2022/directives/dropdown/index.mjs +0 -22
  283. package/esm2022/directives/dropdown/taiga-ui-core-directives-dropdown.mjs +0 -5
  284. package/esm2022/directives/dropdown/with-dropdown-open.directive.mjs +0 -23
  285. package/esm2022/directives/group/group.directive.mjs +0 -53
  286. package/esm2022/directives/group/group.options.mjs +0 -15
  287. package/esm2022/directives/group/index.mjs +0 -3
  288. package/esm2022/directives/group/taiga-ui-core-directives-group.mjs +0 -5
  289. package/esm2022/directives/hint/hint-describe.directive.mjs +0 -50
  290. package/esm2022/directives/hint/hint-driver.directive.mjs +0 -19
  291. package/esm2022/directives/hint/hint-host.directive.mjs +0 -27
  292. package/esm2022/directives/hint/hint-hover.directive.mjs +0 -59
  293. package/esm2022/directives/hint/hint-manual.directive.mjs +0 -33
  294. package/esm2022/directives/hint/hint-options.directive.mjs +0 -86
  295. package/esm2022/directives/hint/hint-overflow.directive.mjs +0 -38
  296. package/esm2022/directives/hint/hint-pointer.directive.mjs +0 -33
  297. package/esm2022/directives/hint/hint-position.directive.mjs +0 -112
  298. package/esm2022/directives/hint/hint-unstyled.component.mjs +0 -39
  299. package/esm2022/directives/hint/hint.component.mjs +0 -127
  300. package/esm2022/directives/hint/hint.directive.mjs +0 -99
  301. package/esm2022/directives/hint/hint.mjs +0 -27
  302. package/esm2022/directives/hint/hint.providers.mjs +0 -9
  303. package/esm2022/directives/hint/hint.service.mjs +0 -29
  304. package/esm2022/directives/hint/hints.component.mjs +0 -34
  305. package/esm2022/directives/hint/index.mjs +0 -17
  306. package/esm2022/directives/hint/taiga-ui-core-directives-hint.mjs +0 -5
  307. package/esm2022/directives/icons/icons.directive.mjs +0 -56
  308. package/esm2022/directives/icons/index.mjs +0 -3
  309. package/esm2022/directives/icons/taiga-ui-core-directives-icons.mjs +0 -5
  310. package/esm2022/directives/icons/with-icons.mjs +0 -22
  311. package/esm2022/directives/index.mjs +0 -12
  312. package/esm2022/directives/items-handlers/index.mjs +0 -4
  313. package/esm2022/directives/items-handlers/items-handlers.directive.mjs +0 -63
  314. package/esm2022/directives/items-handlers/items-handlers.tokens.mjs +0 -27
  315. package/esm2022/directives/items-handlers/items-handlers.validator.mjs +0 -32
  316. package/esm2022/directives/items-handlers/taiga-ui-core-directives-items-handlers.mjs +0 -5
  317. package/esm2022/directives/number-format/index.mjs +0 -2
  318. package/esm2022/directives/number-format/number-format.directive.mjs +0 -31
  319. package/esm2022/directives/number-format/taiga-ui-core-directives-number-format.mjs +0 -5
  320. package/esm2022/directives/popup/index.mjs +0 -4
  321. package/esm2022/directives/popup/popup.directive.mjs +0 -31
  322. package/esm2022/directives/popup/popup.service.mjs +0 -15
  323. package/esm2022/directives/popup/popups.component.mjs +0 -20
  324. package/esm2022/directives/popup/taiga-ui-core-directives-popup.mjs +0 -5
  325. package/esm2022/directives/surface/index.mjs +0 -2
  326. package/esm2022/directives/surface/surface.directive.mjs +0 -44
  327. package/esm2022/directives/surface/taiga-ui-core-directives-surface.mjs +0 -5
  328. package/esm2022/directives/taiga-ui-core-directives.mjs +0 -5
  329. package/esm2022/directives/title/index.mjs +0 -2
  330. package/esm2022/directives/title/taiga-ui-core-directives-title.mjs +0 -5
  331. package/esm2022/directives/title/title.directive.mjs +0 -37
  332. package/esm2022/index.mjs +0 -9
  333. package/esm2022/pipes/auto-color/auto-color.pipe.mjs +0 -19
  334. package/esm2022/pipes/auto-color/index.mjs +0 -2
  335. package/esm2022/pipes/auto-color/taiga-ui-core-pipes-auto-color.mjs +0 -5
  336. package/esm2022/pipes/calendar-sheet/calendar-sheet.pipe.mjs +0 -54
  337. package/esm2022/pipes/calendar-sheet/index.mjs +0 -2
  338. package/esm2022/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.mjs +0 -5
  339. package/esm2022/pipes/calendar-sheet/utils.mjs +0 -36
  340. package/esm2022/pipes/fallback-src/fallback-src.pipe.mjs +0 -23
  341. package/esm2022/pipes/fallback-src/index.mjs +0 -2
  342. package/esm2022/pipes/fallback-src/taiga-ui-core-pipes-fallback-src.mjs +0 -5
  343. package/esm2022/pipes/flag/flag.pipe.mjs +0 -26
  344. package/esm2022/pipes/flag/index.mjs +0 -2
  345. package/esm2022/pipes/flag/taiga-ui-core-pipes-flag.mjs +0 -5
  346. package/esm2022/pipes/format-date/format-date.pipe.mjs +0 -22
  347. package/esm2022/pipes/format-date/index.mjs +0 -2
  348. package/esm2022/pipes/format-date/taiga-ui-core-pipes-format-date.mjs +0 -5
  349. package/esm2022/pipes/format-number/format-number.pipe.mjs +0 -36
  350. package/esm2022/pipes/format-number/index.mjs +0 -2
  351. package/esm2022/pipes/format-number/taiga-ui-core-pipes-format-number.mjs +0 -5
  352. package/esm2022/pipes/index.mjs +0 -10
  353. package/esm2022/pipes/initials/index.mjs +0 -2
  354. package/esm2022/pipes/initials/initials.pipe.mjs +0 -23
  355. package/esm2022/pipes/initials/taiga-ui-core-pipes-initials.mjs +0 -5
  356. package/esm2022/pipes/month/index.mjs +0 -2
  357. package/esm2022/pipes/month/month.pipe.mjs +0 -23
  358. package/esm2022/pipes/month/taiga-ui-core-pipes-month.mjs +0 -5
  359. package/esm2022/pipes/order-week-days/index.mjs +0 -2
  360. package/esm2022/pipes/order-week-days/order-week-days.pipe.mjs +0 -30
  361. package/esm2022/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs +0 -5
  362. package/esm2022/pipes/taiga-ui-core-pipes.mjs +0 -5
  363. package/esm2022/services/breakpoint.service.mjs +0 -31
  364. package/esm2022/services/dark-theme.service.mjs +0 -24
  365. package/esm2022/services/format-date.service.mjs +0 -24
  366. package/esm2022/services/index.mjs +0 -6
  367. package/esm2022/services/position.service.mjs +0 -26
  368. package/esm2022/services/taiga-ui-core-services.mjs +0 -5
  369. package/esm2022/services/visual-viewport.service.mjs +0 -29
  370. package/esm2022/taiga-ui-core.mjs +0 -5
  371. package/esm2022/tokens/animations-speed.mjs +0 -9
  372. package/esm2022/tokens/assets-path.mjs +0 -11
  373. package/esm2022/tokens/auxiliary.mjs +0 -9
  374. package/esm2022/tokens/common-icons.mjs +0 -18
  375. package/esm2022/tokens/dark-mode.mjs +0 -41
  376. package/esm2022/tokens/date-format.mjs +0 -20
  377. package/esm2022/tokens/day-type-handler.mjs +0 -8
  378. package/esm2022/tokens/first-day-of-week.mjs +0 -9
  379. package/esm2022/tokens/i18n.mjs +0 -45
  380. package/esm2022/tokens/icon-resolver.mjs +0 -22
  381. package/esm2022/tokens/icon.mjs +0 -8
  382. package/esm2022/tokens/icons.mjs +0 -21
  383. package/esm2022/tokens/index.mjs +0 -21
  384. package/esm2022/tokens/media.mjs +0 -12
  385. package/esm2022/tokens/number-format.mjs +0 -24
  386. package/esm2022/tokens/reduced-motion.mjs +0 -7
  387. package/esm2022/tokens/scroll-ref.mjs +0 -6
  388. package/esm2022/tokens/selection-stream.mjs +0 -14
  389. package/esm2022/tokens/spin-icons.mjs +0 -8
  390. package/esm2022/tokens/taiga-ui-core-tokens.mjs +0 -5
  391. package/esm2022/tokens/theme.mjs +0 -5
  392. package/esm2022/tokens/viewport.mjs +0 -35
  393. package/esm2022/types/direction.mjs +0 -2
  394. package/esm2022/types/index.mjs +0 -2
  395. package/esm2022/types/interactive-state.mjs +0 -2
  396. package/esm2022/types/orientation.mjs +0 -2
  397. package/esm2022/types/point.mjs +0 -2
  398. package/esm2022/types/portal-item.mjs +0 -2
  399. package/esm2022/types/range-state.mjs +0 -2
  400. package/esm2022/types/size.mjs +0 -13
  401. package/esm2022/types/taiga-ui-core-types.mjs +0 -5
  402. package/esm2022/types/value-content-context.mjs +0 -2
  403. package/esm2022/utils/dom/check-fixed-position.mjs +0 -9
  404. package/esm2022/utils/dom/get-viewport.mjs +0 -24
  405. package/esm2022/utils/dom/get-word-range.mjs +0 -51
  406. package/esm2022/utils/dom/index.mjs +0 -4
  407. package/esm2022/utils/dom/taiga-ui-core-utils-dom.mjs +0 -5
  408. package/esm2022/utils/format/format-number.mjs +0 -47
  409. package/esm2022/utils/format/get-fractional-part-padded.mjs +0 -16
  410. package/esm2022/utils/format/index.mjs +0 -5
  411. package/esm2022/utils/format/number-to-string-without-exp.mjs +0 -18
  412. package/esm2022/utils/format/string-hash-to-hsl.mjs +0 -21
  413. package/esm2022/utils/format/taiga-ui-core-utils-format.mjs +0 -5
  414. package/esm2022/utils/index.mjs +0 -4
  415. package/esm2022/utils/miscellaneous/font-scaling.mjs +0 -11
  416. package/esm2022/utils/miscellaneous/index.mjs +0 -7
  417. package/esm2022/utils/miscellaneous/is-editing-key.mjs +0 -18
  418. package/esm2022/utils/miscellaneous/is-obscured.mjs +0 -8
  419. package/esm2022/utils/miscellaneous/override-options.mjs +0 -11
  420. package/esm2022/utils/miscellaneous/size-bigger.mjs +0 -19
  421. package/esm2022/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.mjs +0 -5
  422. package/esm2022/utils/miscellaneous/to-animation-options.mjs +0 -16
  423. package/esm2022/utils/taiga-ui-core-utils.mjs +0 -5
  424. package/fesm2022/taiga-ui-core-components-fullscreen.mjs +0 -73
  425. package/fesm2022/taiga-ui-core-components-fullscreen.mjs.map +0 -1
  426. package/fesm2022/taiga-ui-core-directives-surface.mjs +0 -50
  427. package/fesm2022/taiga-ui-core-directives-surface.mjs.map +0 -1
  428. package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs +0 -29
  429. package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs.map +0 -1
  430. package/pipes/fallback-src/fallback-src.pipe.d.ts +0 -9
  431. package/pipes/fallback-src/index.d.ts +0 -1
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, Directive, InjectionToken, Optional, Self, SkipSelf, inject, Input, EventEmitter, Output, ChangeDetectorRef, INJECTOR, signal, TemplateRef, computed, Component, ChangeDetectionStrategy, ElementRef, ContentChild, ViewContainerRef } from '@angular/core';
2
+ import { Injectable, Directive, InjectionToken, Optional, Self, SkipSelf, inject, Input, EventEmitter, Output, ChangeDetectorRef, INJECTOR, signal, TemplateRef, computed, ChangeDetectionStrategy, Component, ElementRef, ContentChild, ViewContainerRef } from '@angular/core';
3
3
  import { takeUntilDestroyed, toObservable } from '@angular/core/rxjs-interop';
4
4
  import { EMPTY_CLIENT_RECT, TUI_TRUE_HANDLER, CHAR_ZERO_WIDTH_SPACE, CHAR_NO_BREAK_SPACE } from '@taiga-ui/cdk/constants';
5
5
  import * as i1 from '@taiga-ui/cdk/directives/active-zone';
@@ -16,16 +16,16 @@ import { TUI_VIEWPORT, TUI_DARK_MODE, TUI_SELECTION_STREAM } from '@taiga-ui/cor
16
16
  import { PolymorpheusComponent, PolymorpheusTemplate, PolymorpheusOutlet } from '@taiga-ui/polymorpheus';
17
17
  import { BehaviorSubject, Subject, throttleTime, takeWhile, map, merge, filter, fromEvent, switchMap, delay, startWith, takeUntil, distinctUntilChanged, of, tap, share, combineLatest } from 'rxjs';
18
18
  import { coerceArray } from '@angular/cdk/coercion';
19
- import { tuiZonefreeScheduler, tuiIfMap, tuiCloseWatcher, tuiZonefull, tuiWatch, tuiTypedFromEvent, tuiZoneOptimized } from '@taiga-ui/cdk/observables';
19
+ import { tuiZonefreeScheduler, tuiTypedFromEvent, tuiZonefree, tuiIfMap, tuiCloseWatcher, tuiZonefull, tuiWatch, tuiZoneOptimized } from '@taiga-ui/cdk/observables';
20
20
  import { tuiOverrideOptions, tuiCheckFixedPosition, tuiGetWordRange } from '@taiga-ui/core/utils';
21
21
  import { TuiPortalService, TuiPortals, tuiAsPortal } from '@taiga-ui/cdk/classes';
22
22
  import { __decorate } from 'tslib';
23
+ import { DOCUMENT } from '@angular/common';
23
24
  import { TUI_IS_TOUCH, TUI_RANGE } from '@taiga-ui/cdk/tokens';
24
25
  import { shouldCall } from '@taiga-ui/event-plugins';
25
- import { DOCUMENT } from '@angular/common';
26
26
  import * as i1$1 from '@taiga-ui/cdk/directives/obscured';
27
27
  import { TuiObscured } from '@taiga-ui/cdk/directives/obscured';
28
- import { tuiIsNativeKeyboardFocusable, tuiGetClosestFocusable, tuiIsNativeFocusedIn, tuiGetNativeFocused } from '@taiga-ui/cdk/utils/focus';
28
+ import { tuiIsNativeKeyboardFocusable, tuiGetClosestFocusable, tuiIsFocusedIn, tuiGetFocused } from '@taiga-ui/cdk/utils/focus';
29
29
  import { tuiIsEditingKey, tuiOverrideOptions as tuiOverrideOptions$1 } from '@taiga-ui/core/utils/miscellaneous';
30
30
 
31
31
  class TuiDropdownDriver extends BehaviorSubject {
@@ -33,21 +33,21 @@ class TuiDropdownDriver extends BehaviorSubject {
33
33
  super(false);
34
34
  this.type = 'dropdown';
35
35
  }
36
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownDriver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
37
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownDriver }); }
36
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownDriver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
37
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownDriver }); }
38
38
  }
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownDriver, decorators: [{
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownDriver, decorators: [{
40
40
  type: Injectable
41
- }], ctorParameters: function () { return []; } });
41
+ }], ctorParameters: () => [] });
42
42
  class TuiDropdownDriverDirective extends TuiDriverDirective {
43
43
  constructor() {
44
44
  super(...arguments);
45
45
  this.type = 'dropdown';
46
46
  }
47
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownDriverDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
48
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiDropdownDriverDirective, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
47
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownDriverDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
48
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiDropdownDriverDirective, isStandalone: true, usesInheritance: true, ngImport: i0 }); }
49
49
  }
50
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownDriverDirective, decorators: [{
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownDriverDirective, decorators: [{
51
51
  type: Directive,
52
52
  args: [{
53
53
  standalone: true,
@@ -63,10 +63,10 @@ const TUI_DROPDOWN_COMPONENT = new InjectionToken(ngDevMode ? 'TUI_DROPDOWN_COMP
63
63
  const TUI_DROPDOWN_CONTEXT = new InjectionToken(ngDevMode ? 'TUI_DROPDOWN_CONTEXT' : '');
64
64
 
65
65
  class TuiDropdownService extends TuiPortalService {
66
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
67
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownService, providedIn: 'root' }); }
66
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
67
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownService, providedIn: 'root' }); }
68
68
  }
69
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownService, decorators: [{
69
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownService, decorators: [{
70
70
  type: Injectable,
71
71
  args: [{
72
72
  providedIn: 'root',
@@ -108,10 +108,10 @@ class TuiDropdownOptionsDirective {
108
108
  this.maxHeight = this.options.maxHeight;
109
109
  this.offset = this.options.offset;
110
110
  }
111
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownOptionsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
112
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiDropdownOptionsDirective, isStandalone: true, selector: "[tuiDropdownAlign], [tuiDropdownAppearance], [tuiDropdownDirection], [tuiDropdownLimitWidth], [tuiDropdownMinHeight], [tuiDropdownMaxHeight], [tuiDropdownOffset]", inputs: { align: ["tuiDropdownAlign", "align"], appearance: ["tuiDropdownAppearance", "appearance"], direction: ["tuiDropdownDirection", "direction"], limitWidth: ["tuiDropdownLimitWidth", "limitWidth"], minHeight: ["tuiDropdownMinHeight", "minHeight"], maxHeight: ["tuiDropdownMaxHeight", "maxHeight"], offset: ["tuiDropdownOffset", "offset"] }, providers: [tuiProvide(TUI_DROPDOWN_OPTIONS, TuiDropdownOptionsDirective)], ngImport: i0 }); }
111
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownOptionsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
112
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiDropdownOptionsDirective, isStandalone: true, selector: "[tuiDropdownAlign], [tuiDropdownAppearance], [tuiDropdownDirection], [tuiDropdownLimitWidth], [tuiDropdownMinHeight], [tuiDropdownMaxHeight], [tuiDropdownOffset]", inputs: { align: ["tuiDropdownAlign", "align"], appearance: ["tuiDropdownAppearance", "appearance"], direction: ["tuiDropdownDirection", "direction"], limitWidth: ["tuiDropdownLimitWidth", "limitWidth"], minHeight: ["tuiDropdownMinHeight", "minHeight"], maxHeight: ["tuiDropdownMaxHeight", "maxHeight"], offset: ["tuiDropdownOffset", "offset"] }, providers: [tuiProvide(TUI_DROPDOWN_OPTIONS, TuiDropdownOptionsDirective)], ngImport: i0 }); }
113
113
  }
114
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownOptionsDirective, decorators: [{
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownOptionsDirective, decorators: [{
115
115
  type: Directive,
116
116
  args: [{
117
117
  standalone: true,
@@ -202,13 +202,13 @@ class TuiDropdownPosition extends TuiPositionAccessor {
202
202
  }
203
203
  return rtl && align === 'right' ? 'left' : align;
204
204
  }
205
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownPosition, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
206
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiDropdownPosition, isStandalone: true, outputs: { directionChange: "tuiDropdownDirectionChange" }, usesInheritance: true, ngImport: i0 }); }
205
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownPosition, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
206
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiDropdownPosition, isStandalone: true, outputs: { directionChange: "tuiDropdownDirectionChange" }, usesInheritance: true, ngImport: i0 }); }
207
207
  }
208
208
  __decorate([
209
209
  tuiPure
210
210
  ], TuiDropdownPosition.prototype, "emitDirection", null);
211
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownPosition, decorators: [{
211
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownPosition, decorators: [{
212
212
  type: Directive,
213
213
  args: [{
214
214
  standalone: true,
@@ -280,13 +280,13 @@ class TuiDropdownDirective {
280
280
  // TODO: Remove in v5, only needed in Angular 16
281
281
  this.cdr.markForCheck();
282
282
  }
283
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
284
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiDropdownDirective, isStandalone: true, selector: "[tuiDropdown]:not(ng-container):not(ng-template)", inputs: { tuiDropdown: "tuiDropdown" }, host: { properties: { "class.tui-dropdown-open": "ref()" } }, providers: [
283
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
284
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiDropdownDirective, isStandalone: true, selector: "[tuiDropdown]:not(ng-container):not(ng-template)", inputs: { tuiDropdown: "tuiDropdown" }, host: { properties: { "class.tui-dropdown-open": "ref()" } }, providers: [
285
285
  tuiAsRectAccessor(TuiDropdownDirective),
286
286
  tuiAsVehicle(TuiDropdownDirective),
287
287
  ], exportAs: ["tuiDropdown"], hostDirectives: [{ directive: TuiDropdownDriverDirective }, { directive: TuiDropdownPosition, outputs: ["tuiDropdownDirectionChange", "tuiDropdownDirectionChange"] }], ngImport: i0 }); }
288
288
  }
289
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownDirective, decorators: [{
289
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownDirective, decorators: [{
290
290
  type: Directive,
291
291
  args: [{
292
292
  standalone: true,
@@ -362,23 +362,23 @@ class TuiDropdownComponent {
362
362
  maxWidth: tuiPx(Math.round(viewport.width) - 16), // 8px min gap from each side
363
363
  };
364
364
  }
365
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
366
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiDropdownComponent, isStandalone: true, selector: "tui-dropdown", host: { properties: { "attr.data-appearance": "options.appearance", "attr.tuiTheme": "theme()" } }, providers: [
365
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
366
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiDropdownComponent, isStandalone: true, selector: "tui-dropdown", host: { properties: { "attr.data-appearance": "options.appearance", "attr.tuiTheme": "theme()" } }, providers: [
367
367
  TuiPositionService,
368
368
  tuiPositionAccessorFor('dropdown', TuiDropdownPosition),
369
369
  tuiRectAccessorFor('dropdown', TuiDropdownDirective),
370
- ], hostDirectives: [{ directive: i1.TuiActiveZone }, { directive: i2.TuiAnimated }], ngImport: i0, template: "<tui-scrollbar class=\"t-scroll\">\n <div\n *polymorpheusOutlet=\"directive._content() as text; context: {$implicit: close}\"\n class=\"t-primitive\"\n >\n {{ text }}\n </div>\n</tui-scrollbar>\n", styles: [":host{position:absolute;display:flex;box-shadow:var(--tui-shadow-medium);color:var(--tui-text-primary);background:var(--tui-background-elevation-3);border-radius:var(--tui-radius-m);overflow:hidden;border:1px solid var(--tui-border-normal);box-sizing:border-box;isolation:isolate;pointer-events:auto;--tui-from: translateY(-1rem)}:host.tui-enter,:host.tui-leave{animation-name:tuiFade,tuiSlide}:host:not([style*=top]){visibility:hidden}.t-scroll{flex-grow:1;max-inline-size:100%;inline-size:-webkit-max-content;inline-size:max-content;overscroll-behavior:none}.t-primitive{padding:1rem}\n"], dependencies: [{ kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "component", type: TuiScrollbar, selector: "tui-scrollbar", inputs: ["hidden"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
370
+ ], hostDirectives: [{ directive: i1.TuiActiveZone }, { directive: i2.TuiAnimated }], ngImport: i0, template: "<tui-scrollbar class=\"t-scroll\">\n <div\n *polymorpheusOutlet=\"directive._content() as text; context: {$implicit: close}\"\n class=\"t-primitive\"\n >\n {{ text }}\n </div>\n</tui-scrollbar>\n", styles: [":host{position:absolute;display:flex;box-shadow:var(--tui-shadow-medium);color:var(--tui-text-primary);background:var(--tui-background-elevation-3);border-radius:var(--tui-radius-m);overflow:hidden;border:1px solid var(--tui-border-normal);box-sizing:border-box;isolation:isolate;pointer-events:auto;--tui-from: translateY(-1rem)}:host.tui-enter,:host.tui-leave{animation-name:tuiFade,tuiSlide}:host:not([style*=top]){visibility:hidden}.t-scroll{flex-grow:1;max-inline-size:100%;inline-size:max-content;overscroll-behavior:none}.t-primitive{padding:1rem}\n"], dependencies: [{ kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "component", type: TuiScrollbar, selector: "tui-scrollbar", inputs: ["hidden"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
371
371
  }
372
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownComponent, decorators: [{
372
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownComponent, decorators: [{
373
373
  type: Component,
374
- args: [{ standalone: true, selector: 'tui-dropdown', imports: [PolymorpheusOutlet, TuiScrollbar], changeDetection: ChangeDetectionStrategy.Default, providers: [
374
+ args: [{ selector: 'tui-dropdown', imports: [PolymorpheusOutlet, TuiScrollbar], changeDetection: ChangeDetectionStrategy.Default, providers: [
375
375
  TuiPositionService,
376
376
  tuiPositionAccessorFor('dropdown', TuiDropdownPosition),
377
377
  tuiRectAccessorFor('dropdown', TuiDropdownDirective),
378
378
  ], hostDirectives: [TuiActiveZone, TuiAnimated], host: {
379
379
  '[attr.data-appearance]': 'options.appearance',
380
380
  '[attr.tuiTheme]': 'theme()',
381
- }, template: "<tui-scrollbar class=\"t-scroll\">\n <div\n *polymorpheusOutlet=\"directive._content() as text; context: {$implicit: close}\"\n class=\"t-primitive\"\n >\n {{ text }}\n </div>\n</tui-scrollbar>\n", styles: [":host{position:absolute;display:flex;box-shadow:var(--tui-shadow-medium);color:var(--tui-text-primary);background:var(--tui-background-elevation-3);border-radius:var(--tui-radius-m);overflow:hidden;border:1px solid var(--tui-border-normal);box-sizing:border-box;isolation:isolate;pointer-events:auto;--tui-from: translateY(-1rem)}:host.tui-enter,:host.tui-leave{animation-name:tuiFade,tuiSlide}:host:not([style*=top]){visibility:hidden}.t-scroll{flex-grow:1;max-inline-size:100%;inline-size:-webkit-max-content;inline-size:max-content;overscroll-behavior:none}.t-primitive{padding:1rem}\n"] }]
381
+ }, template: "<tui-scrollbar class=\"t-scroll\">\n <div\n *polymorpheusOutlet=\"directive._content() as text; context: {$implicit: close}\"\n class=\"t-primitive\"\n >\n {{ text }}\n </div>\n</tui-scrollbar>\n", styles: [":host{position:absolute;display:flex;box-shadow:var(--tui-shadow-medium);color:var(--tui-text-primary);background:var(--tui-background-elevation-3);border-radius:var(--tui-radius-m);overflow:hidden;border:1px solid var(--tui-border-normal);box-sizing:border-box;isolation:isolate;pointer-events:auto;--tui-from: translateY(-1rem)}:host.tui-enter,:host.tui-leave{animation-name:tuiFade,tuiSlide}:host:not([style*=top]){visibility:hidden}.t-scroll{flex-grow:1;max-inline-size:100%;inline-size:max-content;overscroll-behavior:none}.t-primitive{padding:1rem}\n"] }]
382
382
  }] });
383
383
 
384
384
  function activeZoneFilter(event) {
@@ -393,6 +393,10 @@ class TuiDropdownContext extends TuiRectAccessor {
393
393
  this.userSelect = computed(() => (this.isTouch() ? 'none' : null));
394
394
  this.activeZone = inject(TuiActiveZone);
395
395
  this.driver = inject(TuiDropdownDriver);
396
+ this.doc = inject(DOCUMENT);
397
+ this.sub = merge(tuiTypedFromEvent(this.doc, 'pointerdown'), tuiTypedFromEvent(this.doc, 'contextmenu', { capture: true }))
398
+ .pipe(tuiZonefree(), takeUntilDestroyed())
399
+ .subscribe((event) => this.closeDropdown(event));
396
400
  this.type = 'dropdown';
397
401
  }
398
402
  getClientRect() {
@@ -406,8 +410,8 @@ class TuiDropdownContext extends TuiRectAccessor {
406
410
  this.currentRect = tuiPointToClientRect(x, y);
407
411
  this.driver.next(true);
408
412
  }
409
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownContext, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
410
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiDropdownContext, isStandalone: true, selector: "[tuiDropdownContext]", host: { listeners: { "document:pointerdown.zoneless": "closeDropdown($event)", "document:contextmenu.capture.zoneless": "closeDropdown($event)", "document:keydown.esc": "closeDropdown()", "longtap": "onContextMenu($event.detail.clientX, $event.detail.clientY)" }, properties: { "style.user-select": "userSelect()", "style.-webkit-user-select": "userSelect()", "style.-webkit-touch-callout": "userSelect()" } }, providers: [
413
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownContext, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
414
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiDropdownContext, isStandalone: true, selector: "[tuiDropdownContext]", host: { listeners: { "document:keydown.esc": "closeDropdown()", "longtap": "onContextMenu($event.detail.clientX, $event.detail.clientY)" }, properties: { "style.user-select": "userSelect()", "style.-webkit-user-select": "userSelect()", "style.-webkit-touch-callout": "userSelect()" } }, providers: [
411
415
  TuiActiveZone,
412
416
  TuiDropdownDriver,
413
417
  tuiAsDriver(TuiDropdownDriver),
@@ -417,7 +421,7 @@ class TuiDropdownContext extends TuiRectAccessor {
417
421
  __decorate([
418
422
  shouldCall(activeZoneFilter)
419
423
  ], TuiDropdownContext.prototype, "closeDropdown", null);
420
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownContext, decorators: [{
424
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownContext, decorators: [{
421
425
  type: Directive,
422
426
  args: [{
423
427
  standalone: true,
@@ -432,8 +436,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
432
436
  '[style.user-select]': 'userSelect()',
433
437
  '[style.-webkit-user-select]': 'userSelect()',
434
438
  '[style.-webkit-touch-callout]': 'userSelect()',
435
- '(document:pointerdown.zoneless)': 'closeDropdown($event)',
436
- '(document:contextmenu.capture.zoneless)': 'closeDropdown($event)',
437
439
  '(document:keydown.esc)': 'closeDropdown()',
438
440
  '(longtap)': 'onContextMenu($event.detail.clientX, $event.detail.clientY)',
439
441
  },
@@ -538,7 +540,7 @@ class TuiDropdownOpen {
538
540
  return tuiIsElementEditable(this.host);
539
541
  }
540
542
  get focused() {
541
- return tuiIsNativeFocusedIn(this.host) || tuiIsNativeFocusedIn(this.dropdown());
543
+ return tuiIsFocusedIn(this.host) || tuiIsFocusedIn(this.dropdown());
542
544
  }
543
545
  update(open) {
544
546
  if (open && !this.tuiDropdownEnabled) {
@@ -565,13 +567,13 @@ class TuiDropdownOpen {
565
567
  child.remove();
566
568
  focusable?.focus();
567
569
  }
568
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownOpen, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
569
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiDropdownOpen, isStandalone: true, selector: "[tuiDropdown][tuiDropdownOpen],[tuiDropdown][tuiDropdownOpenChange]", inputs: { tuiDropdownEnabled: "tuiDropdownEnabled", tuiDropdownOpen: "tuiDropdownOpen" }, outputs: { tuiDropdownOpenChange: "tuiDropdownOpenChange" }, host: { listeners: { "click": "onClick($event.target)", "keydown.arrowDown": "onArrow($event, false)", "keydown.arrowUp": "onArrow($event, true)", "document:keydown.zoneless.capture": "onEsc($event)", "document:keydown.zoneless": "onKeydown($event)", "tuiActiveZoneChange": "0" } }, providers: [TuiDropdownDriver, tuiAsDriver(TuiDropdownDriver)], queries: [{ propertyName: "dropdownHost", first: true, predicate: ["tuiDropdownHost"], descendants: true, read: ElementRef }], usesOnChanges: true, hostDirectives: [{ directive: i1$1.TuiObscured }, { directive: i1.TuiActiveZone, inputs: ["tuiActiveZoneParent", "tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange", "tuiActiveZoneChange"] }], ngImport: i0 }); }
570
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownOpen, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
571
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiDropdownOpen, isStandalone: true, selector: "[tuiDropdown][tuiDropdownOpen],[tuiDropdown][tuiDropdownOpenChange]", inputs: { tuiDropdownEnabled: "tuiDropdownEnabled", tuiDropdownOpen: "tuiDropdownOpen" }, outputs: { tuiDropdownOpenChange: "tuiDropdownOpenChange" }, host: { listeners: { "click": "onClick($event.target)", "keydown.arrowDown": "onArrow($event, false)", "keydown.arrowUp": "onArrow($event, true)", "document:keydown.zoneless.capture": "onEsc($event)", "document:keydown.zoneless": "onKeydown($event)", "tuiActiveZoneChange": "0" } }, providers: [TuiDropdownDriver, tuiAsDriver(TuiDropdownDriver)], queries: [{ propertyName: "dropdownHost", first: true, predicate: ["tuiDropdownHost"], descendants: true, read: ElementRef }], usesOnChanges: true, hostDirectives: [{ directive: i1$1.TuiObscured }, { directive: i1.TuiActiveZone, inputs: ["tuiActiveZoneParent", "tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange", "tuiActiveZoneChange"] }], ngImport: i0 }); }
570
572
  }
571
573
  __decorate([
572
574
  shouldCall(shouldClose)
573
575
  ], TuiDropdownOpen.prototype, "onEsc", null);
574
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownOpen, decorators: [{
576
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownOpen, decorators: [{
575
577
  type: Directive,
576
578
  args: [{
577
579
  standalone: true,
@@ -639,10 +641,10 @@ class TuiDropdownHover extends TuiDriver {
639
641
  const child = !this.el.contains(element) && this.activeZone.contains(element);
640
642
  return hovered || child;
641
643
  }
642
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownHover, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
643
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiDropdownHover, isStandalone: true, selector: "[tuiDropdownHover]", inputs: { showDelay: ["tuiDropdownShowDelay", "showDelay"], hideDelay: ["tuiDropdownHideDelay", "hideDelay"] }, host: { listeners: { "click.capture": "onClick($event)" } }, providers: [TuiActiveZone, tuiAsDriver(TuiDropdownHover)], queries: [{ propertyName: "dropdownHost", first: true, predicate: ["tuiDropdownHost"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0 }); }
644
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownHover, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
645
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiDropdownHover, isStandalone: true, selector: "[tuiDropdownHover]", inputs: { showDelay: ["tuiDropdownShowDelay", "showDelay"], hideDelay: ["tuiDropdownHideDelay", "hideDelay"] }, host: { listeners: { "click.capture": "onClick($event)" } }, providers: [TuiActiveZone, tuiAsDriver(TuiDropdownHover)], queries: [{ propertyName: "dropdownHost", first: true, predicate: ["tuiDropdownHost"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0 }); }
644
646
  }
645
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownHover, decorators: [{
647
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownHover, decorators: [{
646
648
  type: Directive,
647
649
  args: [{
648
650
  standalone: true,
@@ -652,7 +654,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
652
654
  '(click.capture)': 'onClick($event)',
653
655
  },
654
656
  }]
655
- }], ctorParameters: function () { return []; }, propDecorators: { dropdownHost: [{
657
+ }], ctorParameters: () => [], propDecorators: { dropdownHost: [{
656
658
  type: ContentChild,
657
659
  args: ['tuiDropdownHost', { descendants: true, read: ElementRef }]
658
660
  }], showDelay: [{
@@ -671,10 +673,10 @@ class TuiDropdownManual {
671
673
  ngOnChanges() {
672
674
  this.driver.next(!!this.tuiDropdownManual);
673
675
  }
674
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownManual, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
675
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiDropdownManual, isStandalone: true, selector: "[tuiDropdownManual]", inputs: { tuiDropdownManual: "tuiDropdownManual" }, providers: [TuiDropdownDriver, tuiAsDriver(TuiDropdownDriver)], usesOnChanges: true, ngImport: i0 }); }
676
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownManual, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
677
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiDropdownManual, isStandalone: true, selector: "[tuiDropdownManual]", inputs: { tuiDropdownManual: "tuiDropdownManual" }, providers: [TuiDropdownDriver, tuiAsDriver(TuiDropdownDriver)], usesOnChanges: true, ngImport: i0 }); }
676
678
  }
677
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownManual, decorators: [{
679
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownManual, decorators: [{
678
680
  type: Directive,
679
681
  args: [{
680
682
  standalone: true,
@@ -699,10 +701,10 @@ class TuiDropdownOpenLegacy {
699
701
  emitOpenChange(open) {
700
702
  this.openStateSub.next(open);
701
703
  }
702
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownOpenLegacy, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
703
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiDropdownOpenLegacy, isStandalone: true, selector: "[tuiDropdownOpen]:not([tuiDropdown]),[tuiDropdownOpenChange]:not([tuiDropdown])", inputs: { tuiDropdownOpen: "tuiDropdownOpen" }, outputs: { tuiDropdownOpenChange: "tuiDropdownOpenChange" }, ngImport: i0 }); }
704
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownOpenLegacy, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
705
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiDropdownOpenLegacy, isStandalone: true, selector: "[tuiDropdownOpen]:not([tuiDropdown]),[tuiDropdownOpenChange]:not([tuiDropdown])", inputs: { tuiDropdownOpen: "tuiDropdownOpen" }, outputs: { tuiDropdownOpenChange: "tuiDropdownOpenChange" }, ngImport: i0 }); }
704
706
  }
705
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownOpenLegacy, decorators: [{
707
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownOpenLegacy, decorators: [{
706
708
  type: Directive,
707
709
  args: [{
708
710
  standalone: true,
@@ -731,10 +733,10 @@ class TuiDropdownPortal {
731
733
  ngOnDestroy() {
732
734
  this.viewRef?.destroy();
733
735
  }
734
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownPortal, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
735
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiDropdownPortal, isStandalone: true, selector: "ng-template[tuiDropdown]", inputs: { tuiDropdown: "tuiDropdown" }, ngImport: i0 }); }
736
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownPortal, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
737
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiDropdownPortal, isStandalone: true, selector: "ng-template[tuiDropdown]", inputs: { tuiDropdown: "tuiDropdown" }, ngImport: i0 }); }
736
738
  }
737
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownPortal, decorators: [{
739
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownPortal, decorators: [{
738
740
  type: Directive,
739
741
  args: [{
740
742
  standalone: true,
@@ -772,7 +774,7 @@ class TuiDropdownPositionSided extends TuiPositionAccessor {
772
774
  bottom: viewport.bottom - hostRect.top,
773
775
  };
774
776
  const position = {
775
- top: hostRect.bottom - height + this.tuiDropdownSidedOffset + 1,
777
+ top: hostRect.bottom - height + this.tuiDropdownSidedOffset + 1, // 1 for border
776
778
  left: hostRect.left - width - offset,
777
779
  right: hostRect.right + offset,
778
780
  bottom: hostRect.top - this.tuiDropdownSidedOffset - 1, // 1 for border
@@ -789,10 +791,10 @@ class TuiDropdownPositionSided extends TuiPositionAccessor {
789
791
  this.vertical.emitDirection(better);
790
792
  return [position[better], left];
791
793
  }
792
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownPositionSided, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
793
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiDropdownPositionSided, isStandalone: true, selector: "[tuiDropdownSided]", inputs: { tuiDropdownSided: "tuiDropdownSided", tuiDropdownSidedOffset: "tuiDropdownSidedOffset" }, providers: [TuiDropdownPosition, tuiAsPositionAccessor(TuiDropdownPositionSided)], usesInheritance: true, ngImport: i0 }); }
794
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownPositionSided, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
795
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiDropdownPositionSided, isStandalone: true, selector: "[tuiDropdownSided]", inputs: { tuiDropdownSided: "tuiDropdownSided", tuiDropdownSidedOffset: "tuiDropdownSidedOffset" }, providers: [TuiDropdownPosition, tuiAsPositionAccessor(TuiDropdownPositionSided)], usesInheritance: true, ngImport: i0 }); }
794
796
  }
795
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownPositionSided, decorators: [{
797
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownPositionSided, decorators: [{
796
798
  type: Directive,
797
799
  args: [{
798
800
  standalone: true,
@@ -861,7 +863,7 @@ class TuiDropdownSelection extends TuiDriver {
861
863
  return this.el.querySelector('tui-textfield .t-ghost') || this.el;
862
864
  }
863
865
  getRange() {
864
- const active = tuiGetNativeFocused(this.doc);
866
+ const active = tuiGetFocused(this.doc);
865
867
  const selection = this.doc.getSelection();
866
868
  const range = active && tuiIsTextfield(active) && this.el.contains(active)
867
869
  ? this.veryVerySadInputFix(active)
@@ -927,13 +929,13 @@ class TuiDropdownSelection extends TuiDriver {
927
929
  this.ghost = ghost;
928
930
  return ghost;
929
931
  }
930
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownSelection, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
931
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiDropdownSelection, isStandalone: true, selector: "[tuiDropdownSelection]", inputs: { position: ["tuiDropdownSelectionPosition", "position"], tuiDropdownSelection: "tuiDropdownSelection" }, providers: [
932
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownSelection, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
933
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiDropdownSelection, isStandalone: true, selector: "[tuiDropdownSelection]", inputs: { position: ["tuiDropdownSelectionPosition", "position"], tuiDropdownSelection: "tuiDropdownSelection" }, providers: [
932
934
  tuiAsDriver(TuiDropdownSelection),
933
935
  tuiAsRectAccessor(TuiDropdownSelection),
934
936
  ], usesInheritance: true, ngImport: i0 }); }
935
937
  }
936
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownSelection, decorators: [{
938
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownSelection, decorators: [{
937
939
  type: Directive,
938
940
  args: [{
939
941
  standalone: true,
@@ -943,7 +945,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
943
945
  tuiAsRectAccessor(TuiDropdownSelection),
944
946
  ],
945
947
  }]
946
- }], ctorParameters: function () { return []; }, propDecorators: { position: [{
948
+ }], ctorParameters: () => [], propDecorators: { position: [{
947
949
  type: Input,
948
950
  args: ['tuiDropdownSelectionPosition']
949
951
  }], tuiDropdownSelection: [{
@@ -985,16 +987,16 @@ class TuiDropdownFixed {
985
987
  const override = tuiOverrideOptions$1({ limitWidth: 'fixed' }, TUI_DROPDOWN_DEFAULT_OPTIONS);
986
988
  override(inject(TUI_DROPDOWN_OPTIONS, { self: true, optional: true }), null);
987
989
  }
988
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownFixed, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
989
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiDropdownFixed, isStandalone: true, providers: [tuiDropdownOptionsProvider({})], ngImport: i0 }); }
990
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownFixed, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
991
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiDropdownFixed, isStandalone: true, providers: [tuiDropdownOptionsProvider({})], ngImport: i0 }); }
990
992
  }
991
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownFixed, decorators: [{
993
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownFixed, decorators: [{
992
994
  type: Directive,
993
995
  args: [{
994
996
  standalone: true,
995
997
  providers: [tuiDropdownOptionsProvider({})],
996
998
  }]
997
- }], ctorParameters: function () { return []; } });
999
+ }], ctorParameters: () => [] });
998
1000
  class TuiDropdownAuto {
999
1001
  constructor() {
1000
1002
  /**
@@ -1003,22 +1005,22 @@ class TuiDropdownAuto {
1003
1005
  */
1004
1006
  inject(TUI_DROPDOWN_OPTIONS).limitWidth = 'auto';
1005
1007
  }
1006
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownAuto, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1007
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiDropdownAuto, isStandalone: true, ngImport: i0 }); }
1008
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownAuto, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1009
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiDropdownAuto, isStandalone: true, ngImport: i0 }); }
1008
1010
  }
1009
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdownAuto, decorators: [{
1011
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdownAuto, decorators: [{
1010
1012
  type: Directive,
1011
1013
  args: [{ standalone: true }]
1012
- }], ctorParameters: function () { return []; } });
1014
+ }], ctorParameters: () => [] });
1013
1015
 
1014
1016
  /**
1015
1017
  * Host element for dynamically created portals, for example using {@link TuiDropdownDirective}.
1016
1018
  */
1017
1019
  class TuiDropdowns extends TuiPortals {
1018
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdowns, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1019
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiDropdowns, isStandalone: true, selector: "tui-dropdowns", host: { styleAttribute: "position: absolute; width: 100%; top: 0" }, providers: [tuiAsPortal(TuiDropdownService)], usesInheritance: true, ngImport: i0, template: '<ng-container #viewContainer />', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1020
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdowns, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1021
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiDropdowns, isStandalone: true, selector: "tui-dropdowns", host: { styleAttribute: "position: absolute; width: 100%; top: 0" }, providers: [tuiAsPortal(TuiDropdownService)], usesInheritance: true, ngImport: i0, template: '<ng-container #viewContainer />', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1020
1022
  }
1021
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiDropdowns, decorators: [{
1023
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDropdowns, decorators: [{
1022
1024
  type: Component,
1023
1025
  args: [{
1024
1026
  standalone: true,
@@ -1031,10 +1033,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
1031
1033
  }] });
1032
1034
 
1033
1035
  class TuiWithDropdownOpen {
1034
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiWithDropdownOpen, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1035
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiWithDropdownOpen, isStandalone: true, hostDirectives: [{ directive: TuiDropdownOpen, inputs: ["tuiDropdownOpen", "open", "tuiDropdownEnabled", "tuiDropdownEnabled"], outputs: ["tuiDropdownOpenChange", "openChange"] }], ngImport: i0 }); }
1036
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiWithDropdownOpen, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1037
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiWithDropdownOpen, isStandalone: true, hostDirectives: [{ directive: TuiDropdownOpen, inputs: ["tuiDropdownOpen", "open", "tuiDropdownEnabled", "tuiDropdownEnabled"], outputs: ["tuiDropdownOpenChange", "openChange"] }], ngImport: i0 }); }
1036
1038
  }
1037
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiWithDropdownOpen, decorators: [{
1039
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiWithDropdownOpen, decorators: [{
1038
1040
  type: Directive,
1039
1041
  args: [{
1040
1042
  standalone: true,