@taiga-ui/core 4.65.0 → 5.0.0-canary.8b64ec1

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 (655) hide show
  1. package/README.md +1 -1
  2. package/classes/accessors.d.ts +2 -2
  3. package/classes/driver.d.ts +1 -1
  4. package/components/button/button.directive.d.ts +2 -3
  5. package/components/button/button.options.d.ts +1 -1
  6. package/components/calendar/calendar-sheet.component.d.ts +2 -7
  7. package/components/calendar/calendar-sheet.options.d.ts +1 -3
  8. package/{pipes/calendar-sheet → components/calendar}/calendar-sheet.pipe.d.ts +2 -2
  9. package/components/calendar/calendar-spin.component.d.ts +1 -0
  10. package/components/calendar/calendar-year.component.d.ts +1 -1
  11. package/components/calendar/calendar.options.d.ts +9 -0
  12. package/components/calendar/index.d.ts +3 -0
  13. package/{pipes/order-week-days → components/calendar}/order-week-days.pipe.d.ts +1 -1
  14. package/components/cell/cell.directive.d.ts +9 -0
  15. package/components/cell/cell.options.d.ts +6 -0
  16. package/components/cell/index.d.ts +2 -0
  17. package/components/data-list/data-list.component.d.ts +8 -12
  18. package/components/data-list/data-list.d.ts +3 -4
  19. package/components/data-list/data-list.tokens.d.ts +1 -20
  20. package/components/data-list/index.d.ts +3 -4
  21. package/components/data-list/opt-group.directive.d.ts +2 -2
  22. package/components/data-list/option-content.directive.d.ts +14 -0
  23. package/components/data-list/option-with-value.directive.d.ts +9 -0
  24. package/components/data-list/option.directive.d.ts +19 -0
  25. package/components/error/error.component.d.ts +6 -8
  26. package/components/error/error.d.ts +4 -0
  27. package/components/error/error.directive.d.ts +19 -0
  28. package/components/error/error.pipe.d.ts +10 -0
  29. package/components/error/index.d.ts +3 -0
  30. package/components/expand/expand.component.d.ts +9 -28
  31. package/components/expand/index.d.ts +0 -2
  32. package/components/icon/icon.component.d.ts +6 -11
  33. package/components/index.d.ts +3 -3
  34. package/components/input/index.d.ts +2 -0
  35. package/components/input/input.d.ts +5 -0
  36. package/components/input/input.directive.d.ts +29 -0
  37. package/components/label/label.directive.d.ts +1 -1
  38. package/components/link/index.d.ts +0 -1
  39. package/components/link/link.directive.d.ts +8 -6
  40. package/components/loader/loader.component.d.ts +7 -7
  41. package/components/loader/loader.options.d.ts +1 -3
  42. package/components/notification/index.d.ts +3 -0
  43. package/components/notification/notification.component.d.ts +14 -0
  44. package/components/notification/notification.d.ts +3 -0
  45. package/components/notification/notification.directive.d.ts +7 -12
  46. package/components/notification/notification.options.d.ts +10 -7
  47. package/components/notification/notification.service.d.ts +17 -0
  48. package/components/root/root.component.d.ts +4 -7
  49. package/components/scrollbar/scroll-into-view.directive.d.ts +3 -2
  50. package/components/scrollbar/scroll-ref.directive.d.ts +2 -0
  51. package/components/scrollbar/scrollbar.component.d.ts +1 -5
  52. package/components/scrollbar/scrollbar.directive.d.ts +2 -2
  53. package/components/scrollbar/scrollbar.options.d.ts +1 -1
  54. package/components/spin-button/spin-button.component.d.ts +9 -10
  55. package/components/textfield/index.d.ts +1 -4
  56. package/components/textfield/select-like.directive.d.ts +1 -0
  57. package/components/textfield/textfield-content.directive.d.ts +3 -2
  58. package/components/textfield/textfield-icon.d.ts +3 -3
  59. package/components/textfield/textfield-multi/textfield-item.component.d.ts +3 -2
  60. package/components/textfield/textfield-multi/textfield-multi.component.d.ts +9 -15
  61. package/components/textfield/textfield.component.d.ts +20 -35
  62. package/components/textfield/textfield.d.ts +2 -4
  63. package/components/textfield/textfield.options.d.ts +8 -11
  64. package/{directives → components}/title/title.directive.d.ts +2 -3
  65. package/directives/appearance/appearance.directive.d.ts +5 -13
  66. package/directives/appearance/appearance.options.d.ts +1 -2
  67. package/directives/button-x/button-x.directive.d.ts +6 -0
  68. package/directives/button-x/index.d.ts +1 -0
  69. package/directives/date-format/date-format.directive.d.ts +3 -7
  70. package/directives/group/group.directive.d.ts +7 -7
  71. package/directives/group/group.options.d.ts +1 -3
  72. package/directives/icons/icons.bindings.d.ts +5 -0
  73. package/directives/icons/icons.directive.d.ts +8 -16
  74. package/directives/icons/index.d.ts +1 -0
  75. package/directives/index.d.ts +1 -5
  76. package/directives/items-handlers/items-handlers.directive.d.ts +5 -9
  77. package/directives/items-handlers/items-handlers.tokens.d.ts +4 -4
  78. package/directives/number-format/number-format.directive.d.ts +3 -7
  79. package/fesm2022/taiga-ui-core-classes.mjs +9 -11
  80. package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
  81. package/fesm2022/taiga-ui-core-components-button.mjs +13 -21
  82. package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
  83. package/fesm2022/taiga-ui-core-components-calendar.mjs +144 -47
  84. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  85. package/fesm2022/taiga-ui-core-components-cell.mjs +45 -0
  86. package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -0
  87. package/fesm2022/taiga-ui-core-components-data-list.mjs +113 -284
  88. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  89. package/fesm2022/taiga-ui-core-components-error.mjs +110 -26
  90. package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
  91. package/fesm2022/taiga-ui-core-components-expand.mjs +34 -132
  92. package/fesm2022/taiga-ui-core-components-expand.mjs.map +1 -1
  93. package/fesm2022/taiga-ui-core-components-icon.mjs +22 -40
  94. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  95. package/fesm2022/taiga-ui-core-components-input.mjs +100 -0
  96. package/fesm2022/taiga-ui-core-components-input.mjs.map +1 -0
  97. package/fesm2022/taiga-ui-core-components-label.mjs +13 -18
  98. package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
  99. package/fesm2022/taiga-ui-core-components-link.mjs +16 -36
  100. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  101. package/fesm2022/taiga-ui-core-components-loader.mjs +20 -40
  102. package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
  103. package/fesm2022/taiga-ui-core-components-notification.mjs +107 -66
  104. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  105. package/fesm2022/taiga-ui-core-components-root.mjs +23 -60
  106. package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
  107. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +73 -87
  108. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  109. package/fesm2022/taiga-ui-core-components-spin-button.mjs +18 -31
  110. package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
  111. package/fesm2022/taiga-ui-core-components-textfield.mjs +165 -463
  112. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  113. package/fesm2022/taiga-ui-core-components-title.mjs +37 -0
  114. package/fesm2022/taiga-ui-core-components-title.mjs.map +1 -0
  115. package/fesm2022/taiga-ui-core-components.mjs +3 -3
  116. package/fesm2022/taiga-ui-core-directives-appearance.mjs +32 -69
  117. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  118. package/fesm2022/taiga-ui-core-directives-button-x.mjs +51 -0
  119. package/fesm2022/taiga-ui-core-directives-button-x.mjs.map +1 -0
  120. package/fesm2022/taiga-ui-core-directives-date-format.mjs +26 -20
  121. package/fesm2022/taiga-ui-core-directives-date-format.mjs.map +1 -1
  122. package/fesm2022/taiga-ui-core-directives-group.mjs +25 -40
  123. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  124. package/fesm2022/taiga-ui-core-directives-icons.mjs +35 -45
  125. package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
  126. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +18 -42
  127. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
  128. package/fesm2022/taiga-ui-core-directives-number-format.mjs +32 -20
  129. package/fesm2022/taiga-ui-core-directives-number-format.mjs.map +1 -1
  130. package/fesm2022/taiga-ui-core-directives.mjs +1 -5
  131. package/fesm2022/taiga-ui-core-directives.mjs.map +1 -1
  132. package/fesm2022/taiga-ui-core-pipes-format-number.mjs +21 -15
  133. package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
  134. package/fesm2022/taiga-ui-core-pipes.mjs +0 -8
  135. package/fesm2022/taiga-ui-core-pipes.mjs.map +1 -1
  136. package/fesm2022/taiga-ui-core-portals-alert.mjs +73 -0
  137. package/fesm2022/taiga-ui-core-portals-alert.mjs.map +1 -0
  138. package/fesm2022/taiga-ui-core-portals-dialog.mjs +159 -0
  139. package/fesm2022/taiga-ui-core-portals-dialog.mjs.map +1 -0
  140. package/fesm2022/{taiga-ui-core-directives-dropdown.mjs → taiga-ui-core-portals-dropdown.mjs} +249 -414
  141. package/fesm2022/taiga-ui-core-portals-dropdown.mjs.map +1 -0
  142. package/fesm2022/taiga-ui-core-portals-hint.mjs +552 -0
  143. package/fesm2022/taiga-ui-core-portals-hint.mjs.map +1 -0
  144. package/fesm2022/taiga-ui-core-portals-modal.mjs +89 -0
  145. package/fesm2022/taiga-ui-core-portals-modal.mjs.map +1 -0
  146. package/fesm2022/taiga-ui-core-portals-popup.mjs +56 -0
  147. package/fesm2022/taiga-ui-core-portals-popup.mjs.map +1 -0
  148. package/fesm2022/taiga-ui-core-portals.mjs +11 -0
  149. package/fesm2022/taiga-ui-core-portals.mjs.map +1 -0
  150. package/fesm2022/taiga-ui-core-services.mjs +17 -81
  151. package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
  152. package/fesm2022/taiga-ui-core-tokens.mjs +62 -81
  153. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  154. package/fesm2022/taiga-ui-core-utils-dom.mjs.map +1 -1
  155. package/fesm2022/taiga-ui-core-utils-format.mjs +1 -22
  156. package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
  157. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +55 -19
  158. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
  159. package/fesm2022/taiga-ui-core.mjs +1 -1
  160. package/index.d.ts +1 -1
  161. package/package.json +61 -182
  162. package/pipes/format-number/format-number.pipe.d.ts +6 -4
  163. package/pipes/index.d.ts +0 -8
  164. package/portals/alert/alert.directive.d.ts +11 -0
  165. package/portals/alert/alert.service.d.ts +12 -0
  166. package/portals/alert/index.d.ts +2 -0
  167. package/portals/dialog/dialog.component.d.ts +14 -0
  168. package/portals/dialog/dialog.directive.d.ts +8 -0
  169. package/{components → portals}/dialog/dialog.factory.d.ts +1 -1
  170. package/portals/dialog/dialog.options.d.ts +25 -0
  171. package/{components/dialog/dialog-close.service.d.ts → portals/dialog/dialog.providers.d.ts} +2 -0
  172. package/portals/dialog/dialog.service.d.ts +10 -0
  173. package/portals/dialog/index.d.ts +6 -0
  174. package/portals/dropdown/dropdown-close.directive.d.ts +15 -0
  175. package/portals/dropdown/dropdown-content.directive.d.ts +9 -0
  176. package/{directives → portals}/dropdown/dropdown-context.directive.d.ts +0 -1
  177. package/{directives → portals}/dropdown/dropdown-hover.directive.d.ts +5 -10
  178. package/{directives → portals}/dropdown/dropdown-hover.options.d.ts +1 -3
  179. package/{directives → portals}/dropdown/dropdown-manual.directive.d.ts +2 -2
  180. package/portals/dropdown/dropdown-open.directive.d.ts +29 -0
  181. package/{directives → portals}/dropdown/dropdown-options.directive.d.ts +1 -5
  182. package/{directives → portals}/dropdown/dropdown-position-sided.directive.d.ts +3 -3
  183. package/{directives → portals}/dropdown/dropdown-position.directive.d.ts +6 -6
  184. package/{directives → portals}/dropdown/dropdown-selection.directive.d.ts +4 -5
  185. package/{directives → portals}/dropdown/dropdown.bindings.d.ts +0 -1
  186. package/{directives → portals}/dropdown/dropdown.d.ts +2 -3
  187. package/{directives → portals}/dropdown/dropdown.directive.d.ts +6 -8
  188. package/{directives → portals}/dropdown/index.d.ts +2 -4
  189. package/{directives → portals}/hint/hint-describe.directive.d.ts +4 -6
  190. package/{directives → portals}/hint/hint-host.directive.d.ts +2 -2
  191. package/{directives → portals}/hint/hint-hover.directive.d.ts +3 -4
  192. package/{directives → portals}/hint/hint-manual.directive.d.ts +2 -2
  193. package/portals/hint/hint-options.directive.d.ts +17 -0
  194. package/{directives → portals}/hint/hint-overflow.directive.d.ts +2 -2
  195. package/{directives → portals}/hint/hint-position.directive.d.ts +7 -8
  196. package/{directives → portals}/hint/hint-unstyled.component.d.ts +2 -7
  197. package/portals/hint/hint.component.d.ts +29 -0
  198. package/{directives → portals}/hint/hint.d.ts +1 -2
  199. package/portals/hint/hint.directive.d.ts +24 -0
  200. package/{directives → portals}/hint/index.d.ts +0 -2
  201. package/portals/index.d.ts +6 -0
  202. package/portals/modal/index.d.ts +2 -0
  203. package/portals/modal/modal.component.d.ts +17 -0
  204. package/portals/modal/modal.service.d.ts +13 -0
  205. package/portals/popup/popup.directive.d.ts +12 -0
  206. package/{directives → portals}/popup/popup.service.d.ts +1 -1
  207. package/{directives → portals}/popup/popups.component.d.ts +2 -2
  208. package/services/index.d.ts +0 -3
  209. package/styles/components/appearance.less +5 -0
  210. package/styles/components/button.less +10 -22
  211. package/styles/components/icon.less +42 -21
  212. package/styles/components/icons.less +18 -13
  213. package/styles/components/label.less +3 -12
  214. package/styles/components/link.less +8 -27
  215. package/styles/components/notification.less +31 -65
  216. package/styles/components/textfield.less +128 -213
  217. package/styles/components/title.less +8 -8
  218. package/styles/mixins/appearance.less +11 -26
  219. package/styles/mixins/appearance.scss +9 -24
  220. package/styles/mixins/date-picker.less +1 -1
  221. package/styles/mixins/mixins.less +1 -7
  222. package/styles/mixins/mixins.scss +1 -7
  223. package/styles/mixins/picker.less +1 -1
  224. package/styles/mixins/picker.scss +1 -1
  225. package/styles/mixins/slider.less +28 -24
  226. package/styles/mixins/slider.scss +23 -22
  227. package/styles/taiga-ui-local.less +0 -1
  228. package/styles/taiga-ui-local.scss +0 -1
  229. package/styles/taiga-ui-theme.less +0 -1
  230. package/styles/theme/appearance/outline.less +9 -18
  231. package/styles/theme/appearance/primary.less +2 -4
  232. package/styles/theme/appearance/secondary.less +6 -14
  233. package/styles/theme/appearance/status.less +0 -4
  234. package/styles/theme/appearance/table.less +36 -35
  235. package/styles/theme/appearance/textfield.less +27 -28
  236. package/styles/theme/appearance.less +0 -1
  237. package/styles/theme/variables.less +16 -19
  238. package/styles/variables/media.less +13 -18
  239. package/styles/variables/media.scss +13 -13
  240. package/tokens/breakpoint.d.ts +4 -0
  241. package/tokens/common-icons.d.ts +3 -3
  242. package/tokens/date-format.d.ts +2 -3
  243. package/tokens/i18n.d.ts +7 -7
  244. package/tokens/icon-resolver.d.ts +1 -5
  245. package/tokens/icons.d.ts +0 -4
  246. package/tokens/index.d.ts +2 -4
  247. package/tokens/number-format.d.ts +2 -3
  248. package/tokens/validation-errors.d.ts +4 -0
  249. package/types/direction.d.ts +1 -1
  250. package/types/index.d.ts +0 -3
  251. package/types/point.d.ts +1 -1
  252. package/types/size.d.ts +0 -11
  253. package/utils/format/index.d.ts +0 -1
  254. package/utils/miscellaneous/get-duration.d.ts +2 -0
  255. package/utils/miscellaneous/index.d.ts +2 -1
  256. package/utils/miscellaneous/provide-taiga.d.ts +13 -0
  257. package/animations/animations.d.ts +0 -109
  258. package/animations/index.d.ts +0 -1
  259. package/components/alert/alert.component.d.ts +0 -15
  260. package/components/alert/alert.directive.d.ts +0 -7
  261. package/components/alert/alert.interfaces.d.ts +0 -12
  262. package/components/alert/alert.service.d.ts +0 -7
  263. package/components/alert/alert.tokens.d.ts +0 -12
  264. package/components/alert/alerts.component.d.ts +0 -12
  265. package/components/alert/index.d.ts +0 -6
  266. package/components/data-list/data-list.directive.d.ts +0 -7
  267. package/components/data-list/option/option-content.d.ts +0 -16
  268. package/components/data-list/option/option-legacy.component.d.ts +0 -24
  269. package/components/data-list/option/option.directive.d.ts +0 -27
  270. package/components/dialog/active-zone-adapter.directive.d.ts +0 -11
  271. package/components/dialog/dialog.component.d.ts +0 -20
  272. package/components/dialog/dialog.directive.d.ts +0 -7
  273. package/components/dialog/dialog.interfaces.d.ts +0 -34
  274. package/components/dialog/dialog.service.d.ts +0 -7
  275. package/components/dialog/dialog.tokens.d.ts +0 -15
  276. package/components/dialog/dialogs.component.d.ts +0 -8
  277. package/components/dialog/index.d.ts +0 -8
  278. package/components/expand/expand-content.directive.d.ts +0 -8
  279. package/components/expand/expand.d.ts +0 -6
  280. package/components/fullscreen/fullscreen.component.d.ts +0 -14
  281. package/components/fullscreen/index.d.ts +0 -1
  282. package/components/link/link.options.d.ts +0 -12
  283. package/components/textfield/select.directive.d.ts +0 -19
  284. package/components/textfield/textfield-dropdown.directive.d.ts +0 -16
  285. package/components/textfield/textfield.directive.d.ts +0 -38
  286. package/directives/dropdown/dropdown-open-legacy.directive.d.ts +0 -12
  287. package/directives/dropdown/dropdown-open.directive.d.ts +0 -33
  288. package/directives/dropdown/dropdown-portal.directive.d.ts +0 -14
  289. package/directives/dropdown/dropdown.service.d.ts +0 -6
  290. package/directives/dropdown/dropdowns.component.d.ts +0 -9
  291. package/directives/hint/hint-options.directive.d.ts +0 -36
  292. package/directives/hint/hint.component.d.ts +0 -30
  293. package/directives/hint/hint.directive.d.ts +0 -26
  294. package/directives/hint/hint.service.d.ts +0 -13
  295. package/directives/hint/hints.component.d.ts +0 -12
  296. package/directives/popup/popup.directive.d.ts +0 -11
  297. package/directives/surface/index.d.ts +0 -1
  298. package/directives/surface/surface.directive.d.ts +0 -8
  299. package/esm2022/animations/animations.mjs +0 -363
  300. package/esm2022/animations/index.mjs +0 -2
  301. package/esm2022/animations/taiga-ui-core-animations.mjs +0 -5
  302. package/esm2022/classes/accessors.mjs +0 -31
  303. package/esm2022/classes/driver.mjs +0 -36
  304. package/esm2022/classes/index.mjs +0 -4
  305. package/esm2022/classes/taiga-ui-core-classes.mjs +0 -5
  306. package/esm2022/classes/vehicle.mjs +0 -7
  307. package/esm2022/components/alert/alert.component.mjs +0 -43
  308. package/esm2022/components/alert/alert.directive.mjs +0 -21
  309. package/esm2022/components/alert/alert.interfaces.mjs +0 -2
  310. package/esm2022/components/alert/alert.service.mjs +0 -18
  311. package/esm2022/components/alert/alert.tokens.mjs +0 -51
  312. package/esm2022/components/alert/alerts.component.mjs +0 -33
  313. package/esm2022/components/alert/index.mjs +0 -6
  314. package/esm2022/components/alert/taiga-ui-core-components-alert.mjs +0 -5
  315. package/esm2022/components/button/button.directive.mjs +0 -43
  316. package/esm2022/components/button/button.options.mjs +0 -7
  317. package/esm2022/components/button/index.mjs +0 -3
  318. package/esm2022/components/button/taiga-ui-core-components-button.mjs +0 -5
  319. package/esm2022/components/calendar/calendar-sheet.component.mjs +0 -168
  320. package/esm2022/components/calendar/calendar-sheet.options.mjs +0 -12
  321. package/esm2022/components/calendar/calendar-spin.component.mjs +0 -53
  322. package/esm2022/components/calendar/calendar-year.component.mjs +0 -128
  323. package/esm2022/components/calendar/calendar.component.mjs +0 -147
  324. package/esm2022/components/calendar/index.mjs +0 -6
  325. package/esm2022/components/calendar/taiga-ui-core-components-calendar.mjs +0 -5
  326. package/esm2022/components/data-list/data-list.component.mjs +0 -139
  327. package/esm2022/components/data-list/data-list.directive.mjs +0 -19
  328. package/esm2022/components/data-list/data-list.mjs +0 -14
  329. package/esm2022/components/data-list/data-list.tokens.mjs +0 -18
  330. package/esm2022/components/data-list/index.mjs +0 -9
  331. package/esm2022/components/data-list/opt-group.directive.mjs +0 -21
  332. package/esm2022/components/data-list/option/option-content.mjs +0 -36
  333. package/esm2022/components/data-list/option/option-legacy.component.mjs +0 -90
  334. package/esm2022/components/data-list/option/option.directive.mjs +0 -109
  335. package/esm2022/components/data-list/taiga-ui-core-components-data-list.mjs +0 -5
  336. package/esm2022/components/dialog/active-zone-adapter.directive.mjs +0 -37
  337. package/esm2022/components/dialog/dialog-close.service.mjs +0 -41
  338. package/esm2022/components/dialog/dialog.component.mjs +0 -63
  339. package/esm2022/components/dialog/dialog.directive.mjs +0 -21
  340. package/esm2022/components/dialog/dialog.factory.mjs +0 -15
  341. package/esm2022/components/dialog/dialog.interfaces.mjs +0 -2
  342. package/esm2022/components/dialog/dialog.service.mjs +0 -18
  343. package/esm2022/components/dialog/dialog.tokens.mjs +0 -33
  344. package/esm2022/components/dialog/dialogs.component.mjs +0 -31
  345. package/esm2022/components/dialog/index.mjs +0 -8
  346. package/esm2022/components/dialog/taiga-ui-core-components-dialog.mjs +0 -5
  347. package/esm2022/components/error/error.component.mjs +0 -34
  348. package/esm2022/components/error/index.mjs +0 -2
  349. package/esm2022/components/error/taiga-ui-core-components-error.mjs +0 -5
  350. package/esm2022/components/expand/expand-content.directive.mjs +0 -18
  351. package/esm2022/components/expand/expand.component.mjs +0 -124
  352. package/esm2022/components/expand/expand.mjs +0 -7
  353. package/esm2022/components/expand/index.mjs +0 -4
  354. package/esm2022/components/expand/taiga-ui-core-components-expand.mjs +0 -5
  355. package/esm2022/components/fullscreen/fullscreen.component.mjs +0 -71
  356. package/esm2022/components/fullscreen/index.mjs +0 -2
  357. package/esm2022/components/fullscreen/taiga-ui-core-components-fullscreen.mjs +0 -5
  358. package/esm2022/components/icon/icon.component.mjs +0 -44
  359. package/esm2022/components/icon/icon.pipe.mjs +0 -19
  360. package/esm2022/components/icon/index.mjs +0 -3
  361. package/esm2022/components/icon/taiga-ui-core-components-icon.mjs +0 -5
  362. package/esm2022/components/index.mjs +0 -18
  363. package/esm2022/components/label/index.mjs +0 -2
  364. package/esm2022/components/label/label.directive.mjs +0 -41
  365. package/esm2022/components/label/taiga-ui-core-components-label.mjs +0 -5
  366. package/esm2022/components/link/index.mjs +0 -3
  367. package/esm2022/components/link/link.directive.mjs +0 -47
  368. package/esm2022/components/link/link.options.mjs +0 -13
  369. package/esm2022/components/link/taiga-ui-core-components-link.mjs +0 -5
  370. package/esm2022/components/loader/index.mjs +0 -3
  371. package/esm2022/components/loader/loader.component.mjs +0 -46
  372. package/esm2022/components/loader/loader.options.mjs +0 -18
  373. package/esm2022/components/loader/taiga-ui-core-components-loader.mjs +0 -5
  374. package/esm2022/components/notification/index.mjs +0 -3
  375. package/esm2022/components/notification/notification.directive.mjs +0 -81
  376. package/esm2022/components/notification/notification.options.mjs +0 -23
  377. package/esm2022/components/notification/taiga-ui-core-components-notification.mjs +0 -5
  378. package/esm2022/components/root/index.mjs +0 -2
  379. package/esm2022/components/root/root.component.mjs +0 -87
  380. package/esm2022/components/root/taiga-ui-core-components-root.mjs +0 -5
  381. package/esm2022/components/scrollbar/index.mjs +0 -9
  382. package/esm2022/components/scrollbar/scroll-controls.component.mjs +0 -32
  383. package/esm2022/components/scrollbar/scroll-into-view.directive.mjs +0 -43
  384. package/esm2022/components/scrollbar/scroll-ref.directive.mjs +0 -19
  385. package/esm2022/components/scrollbar/scrollable.directive.mjs +0 -26
  386. package/esm2022/components/scrollbar/scrollbar.component.mjs +0 -72
  387. package/esm2022/components/scrollbar/scrollbar.directive.mjs +0 -93
  388. package/esm2022/components/scrollbar/scrollbar.options.mjs +0 -6
  389. package/esm2022/components/scrollbar/scrollbar.service.mjs +0 -46
  390. package/esm2022/components/scrollbar/taiga-ui-core-components-scrollbar.mjs +0 -5
  391. package/esm2022/components/spin-button/index.mjs +0 -2
  392. package/esm2022/components/spin-button/spin-button.component.mjs +0 -51
  393. package/esm2022/components/spin-button/taiga-ui-core-components-spin-button.mjs +0 -5
  394. package/esm2022/components/taiga-ui-core-components.mjs +0 -5
  395. package/esm2022/components/textfield/index.mjs +0 -16
  396. package/esm2022/components/textfield/select-like.directive.mjs +0 -42
  397. package/esm2022/components/textfield/select.directive.mjs +0 -64
  398. package/esm2022/components/textfield/taiga-ui-core-components-textfield.mjs +0 -5
  399. package/esm2022/components/textfield/textfield-accessor.mjs +0 -7
  400. package/esm2022/components/textfield/textfield-auxiliary.mjs +0 -7
  401. package/esm2022/components/textfield/textfield-content.directive.mjs +0 -22
  402. package/esm2022/components/textfield/textfield-dropdown.directive.mjs +0 -43
  403. package/esm2022/components/textfield/textfield-icon.mjs +0 -10
  404. package/esm2022/components/textfield/textfield-multi/textfield-item.component.mjs +0 -34
  405. package/esm2022/components/textfield/textfield-multi/textfield-multi.component.mjs +0 -137
  406. package/esm2022/components/textfield/textfield.component.mjs +0 -183
  407. package/esm2022/components/textfield/textfield.directive.mjs +0 -134
  408. package/esm2022/components/textfield/textfield.mjs +0 -19
  409. package/esm2022/components/textfield/textfield.options.mjs +0 -63
  410. package/esm2022/components/textfield/with-native-picker.directive.mjs +0 -24
  411. package/esm2022/directives/appearance/appearance.bindings.mjs +0 -15
  412. package/esm2022/directives/appearance/appearance.directive.mjs +0 -79
  413. package/esm2022/directives/appearance/appearance.options.mjs +0 -12
  414. package/esm2022/directives/appearance/index.mjs +0 -5
  415. package/esm2022/directives/appearance/taiga-ui-core-directives-appearance.mjs +0 -5
  416. package/esm2022/directives/appearance/with-appearance.mjs +0 -27
  417. package/esm2022/directives/date-format/date-format.directive.mjs +0 -31
  418. package/esm2022/directives/date-format/index.mjs +0 -2
  419. package/esm2022/directives/date-format/taiga-ui-core-directives-date-format.mjs +0 -5
  420. package/esm2022/directives/dropdown/dropdown-context.directive.mjs +0 -76
  421. package/esm2022/directives/dropdown/dropdown-hover.directive.mjs +0 -70
  422. package/esm2022/directives/dropdown/dropdown-hover.options.mjs +0 -17
  423. package/esm2022/directives/dropdown/dropdown-limit-width.mjs +0 -37
  424. package/esm2022/directives/dropdown/dropdown-manual.directive.mjs +0 -27
  425. package/esm2022/directives/dropdown/dropdown-open-legacy.directive.mjs +0 -33
  426. package/esm2022/directives/dropdown/dropdown-open.directive.mjs +0 -169
  427. package/esm2022/directives/dropdown/dropdown-options.directive.mjs +0 -73
  428. package/esm2022/directives/dropdown/dropdown-portal.directive.mjs +0 -34
  429. package/esm2022/directives/dropdown/dropdown-position-sided.directive.mjs +0 -69
  430. package/esm2022/directives/dropdown/dropdown-position.directive.mjs +0 -88
  431. package/esm2022/directives/dropdown/dropdown-selection.directive.mjs +0 -159
  432. package/esm2022/directives/dropdown/dropdown.bindings.mjs +0 -19
  433. package/esm2022/directives/dropdown/dropdown.component.mjs +0 -92
  434. package/esm2022/directives/dropdown/dropdown.directive.mjs +0 -110
  435. package/esm2022/directives/dropdown/dropdown.driver.mjs +0 -32
  436. package/esm2022/directives/dropdown/dropdown.mjs +0 -29
  437. package/esm2022/directives/dropdown/dropdown.providers.mjs +0 -10
  438. package/esm2022/directives/dropdown/dropdown.service.mjs +0 -15
  439. package/esm2022/directives/dropdown/dropdowns.component.mjs +0 -24
  440. package/esm2022/directives/dropdown/index.mjs +0 -22
  441. package/esm2022/directives/dropdown/taiga-ui-core-directives-dropdown.mjs +0 -5
  442. package/esm2022/directives/dropdown/with-dropdown-open.directive.mjs +0 -23
  443. package/esm2022/directives/group/group.directive.mjs +0 -53
  444. package/esm2022/directives/group/group.options.mjs +0 -15
  445. package/esm2022/directives/group/index.mjs +0 -3
  446. package/esm2022/directives/group/taiga-ui-core-directives-group.mjs +0 -5
  447. package/esm2022/directives/hint/hint-describe.directive.mjs +0 -50
  448. package/esm2022/directives/hint/hint-driver.directive.mjs +0 -19
  449. package/esm2022/directives/hint/hint-host.directive.mjs +0 -27
  450. package/esm2022/directives/hint/hint-hover.directive.mjs +0 -59
  451. package/esm2022/directives/hint/hint-manual.directive.mjs +0 -33
  452. package/esm2022/directives/hint/hint-options.directive.mjs +0 -86
  453. package/esm2022/directives/hint/hint-overflow.directive.mjs +0 -38
  454. package/esm2022/directives/hint/hint-pointer.directive.mjs +0 -33
  455. package/esm2022/directives/hint/hint-position.directive.mjs +0 -115
  456. package/esm2022/directives/hint/hint-unstyled.component.mjs +0 -39
  457. package/esm2022/directives/hint/hint.component.mjs +0 -127
  458. package/esm2022/directives/hint/hint.directive.mjs +0 -99
  459. package/esm2022/directives/hint/hint.mjs +0 -27
  460. package/esm2022/directives/hint/hint.providers.mjs +0 -9
  461. package/esm2022/directives/hint/hint.service.mjs +0 -29
  462. package/esm2022/directives/hint/hints.component.mjs +0 -34
  463. package/esm2022/directives/hint/index.mjs +0 -17
  464. package/esm2022/directives/hint/taiga-ui-core-directives-hint.mjs +0 -5
  465. package/esm2022/directives/icons/icons.directive.mjs +0 -66
  466. package/esm2022/directives/icons/index.mjs +0 -3
  467. package/esm2022/directives/icons/taiga-ui-core-directives-icons.mjs +0 -5
  468. package/esm2022/directives/icons/with-icons.mjs +0 -22
  469. package/esm2022/directives/index.mjs +0 -12
  470. package/esm2022/directives/items-handlers/index.mjs +0 -4
  471. package/esm2022/directives/items-handlers/items-handlers.directive.mjs +0 -63
  472. package/esm2022/directives/items-handlers/items-handlers.tokens.mjs +0 -27
  473. package/esm2022/directives/items-handlers/items-handlers.validator.mjs +0 -32
  474. package/esm2022/directives/items-handlers/taiga-ui-core-directives-items-handlers.mjs +0 -5
  475. package/esm2022/directives/number-format/index.mjs +0 -2
  476. package/esm2022/directives/number-format/number-format.directive.mjs +0 -31
  477. package/esm2022/directives/number-format/taiga-ui-core-directives-number-format.mjs +0 -5
  478. package/esm2022/directives/popup/index.mjs +0 -4
  479. package/esm2022/directives/popup/popup.directive.mjs +0 -31
  480. package/esm2022/directives/popup/popup.service.mjs +0 -15
  481. package/esm2022/directives/popup/popups.component.mjs +0 -20
  482. package/esm2022/directives/popup/taiga-ui-core-directives-popup.mjs +0 -5
  483. package/esm2022/directives/surface/index.mjs +0 -2
  484. package/esm2022/directives/surface/surface.directive.mjs +0 -44
  485. package/esm2022/directives/surface/taiga-ui-core-directives-surface.mjs +0 -5
  486. package/esm2022/directives/taiga-ui-core-directives.mjs +0 -5
  487. package/esm2022/directives/title/index.mjs +0 -2
  488. package/esm2022/directives/title/taiga-ui-core-directives-title.mjs +0 -5
  489. package/esm2022/directives/title/title.directive.mjs +0 -37
  490. package/esm2022/index.mjs +0 -9
  491. package/esm2022/pipes/auto-color/auto-color.pipe.mjs +0 -19
  492. package/esm2022/pipes/auto-color/index.mjs +0 -2
  493. package/esm2022/pipes/auto-color/taiga-ui-core-pipes-auto-color.mjs +0 -5
  494. package/esm2022/pipes/calendar-sheet/calendar-sheet.pipe.mjs +0 -54
  495. package/esm2022/pipes/calendar-sheet/index.mjs +0 -2
  496. package/esm2022/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.mjs +0 -5
  497. package/esm2022/pipes/calendar-sheet/utils.mjs +0 -36
  498. package/esm2022/pipes/fallback-src/fallback-src.pipe.mjs +0 -23
  499. package/esm2022/pipes/fallback-src/index.mjs +0 -2
  500. package/esm2022/pipes/fallback-src/taiga-ui-core-pipes-fallback-src.mjs +0 -5
  501. package/esm2022/pipes/flag/flag.pipe.mjs +0 -26
  502. package/esm2022/pipes/flag/index.mjs +0 -2
  503. package/esm2022/pipes/flag/taiga-ui-core-pipes-flag.mjs +0 -5
  504. package/esm2022/pipes/format-date/format-date.pipe.mjs +0 -22
  505. package/esm2022/pipes/format-date/index.mjs +0 -2
  506. package/esm2022/pipes/format-date/taiga-ui-core-pipes-format-date.mjs +0 -5
  507. package/esm2022/pipes/format-number/format-number.pipe.mjs +0 -36
  508. package/esm2022/pipes/format-number/index.mjs +0 -2
  509. package/esm2022/pipes/format-number/taiga-ui-core-pipes-format-number.mjs +0 -5
  510. package/esm2022/pipes/index.mjs +0 -10
  511. package/esm2022/pipes/initials/index.mjs +0 -2
  512. package/esm2022/pipes/initials/initials.pipe.mjs +0 -23
  513. package/esm2022/pipes/initials/taiga-ui-core-pipes-initials.mjs +0 -5
  514. package/esm2022/pipes/month/index.mjs +0 -2
  515. package/esm2022/pipes/month/month.pipe.mjs +0 -23
  516. package/esm2022/pipes/month/taiga-ui-core-pipes-month.mjs +0 -5
  517. package/esm2022/pipes/order-week-days/index.mjs +0 -2
  518. package/esm2022/pipes/order-week-days/order-week-days.pipe.mjs +0 -30
  519. package/esm2022/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs +0 -5
  520. package/esm2022/pipes/taiga-ui-core-pipes.mjs +0 -5
  521. package/esm2022/services/breakpoint.service.mjs +0 -31
  522. package/esm2022/services/dark-theme.service.mjs +0 -24
  523. package/esm2022/services/format-date.service.mjs +0 -24
  524. package/esm2022/services/index.mjs +0 -6
  525. package/esm2022/services/position.service.mjs +0 -26
  526. package/esm2022/services/taiga-ui-core-services.mjs +0 -5
  527. package/esm2022/services/visual-viewport.service.mjs +0 -29
  528. package/esm2022/taiga-ui-core.mjs +0 -5
  529. package/esm2022/tokens/animations-speed.mjs +0 -9
  530. package/esm2022/tokens/assets-path.mjs +0 -11
  531. package/esm2022/tokens/auxiliary.mjs +0 -9
  532. package/esm2022/tokens/common-icons.mjs +0 -18
  533. package/esm2022/tokens/dark-mode.mjs +0 -43
  534. package/esm2022/tokens/date-format.mjs +0 -20
  535. package/esm2022/tokens/day-type-handler.mjs +0 -8
  536. package/esm2022/tokens/first-day-of-week.mjs +0 -9
  537. package/esm2022/tokens/i18n.mjs +0 -45
  538. package/esm2022/tokens/icon-resolver.mjs +0 -44
  539. package/esm2022/tokens/icon.mjs +0 -8
  540. package/esm2022/tokens/icons.mjs +0 -21
  541. package/esm2022/tokens/index.mjs +0 -21
  542. package/esm2022/tokens/media.mjs +0 -12
  543. package/esm2022/tokens/number-format.mjs +0 -24
  544. package/esm2022/tokens/reduced-motion.mjs +0 -7
  545. package/esm2022/tokens/scroll-ref.mjs +0 -6
  546. package/esm2022/tokens/selection-stream.mjs +0 -14
  547. package/esm2022/tokens/spin-icons.mjs +0 -8
  548. package/esm2022/tokens/taiga-ui-core-tokens.mjs +0 -5
  549. package/esm2022/tokens/theme.mjs +0 -5
  550. package/esm2022/tokens/viewport.mjs +0 -35
  551. package/esm2022/types/direction.mjs +0 -2
  552. package/esm2022/types/index.mjs +0 -2
  553. package/esm2022/types/interactive-state.mjs +0 -2
  554. package/esm2022/types/orientation.mjs +0 -2
  555. package/esm2022/types/point.mjs +0 -2
  556. package/esm2022/types/portal-item.mjs +0 -2
  557. package/esm2022/types/range-state.mjs +0 -2
  558. package/esm2022/types/size.mjs +0 -13
  559. package/esm2022/types/taiga-ui-core-types.mjs +0 -5
  560. package/esm2022/types/value-content-context.mjs +0 -2
  561. package/esm2022/utils/dom/check-fixed-position.mjs +0 -9
  562. package/esm2022/utils/dom/get-viewport.mjs +0 -24
  563. package/esm2022/utils/dom/get-word-range.mjs +0 -51
  564. package/esm2022/utils/dom/index.mjs +0 -4
  565. package/esm2022/utils/dom/taiga-ui-core-utils-dom.mjs +0 -5
  566. package/esm2022/utils/format/format-number.mjs +0 -47
  567. package/esm2022/utils/format/get-fractional-part-padded.mjs +0 -16
  568. package/esm2022/utils/format/index.mjs +0 -5
  569. package/esm2022/utils/format/number-to-string-without-exp.mjs +0 -18
  570. package/esm2022/utils/format/string-hash-to-hsl.mjs +0 -21
  571. package/esm2022/utils/format/taiga-ui-core-utils-format.mjs +0 -5
  572. package/esm2022/utils/index.mjs +0 -4
  573. package/esm2022/utils/miscellaneous/font-scaling.mjs +0 -21
  574. package/esm2022/utils/miscellaneous/index.mjs +0 -7
  575. package/esm2022/utils/miscellaneous/is-editing-key.mjs +0 -18
  576. package/esm2022/utils/miscellaneous/is-obscured.mjs +0 -8
  577. package/esm2022/utils/miscellaneous/override-options.mjs +0 -11
  578. package/esm2022/utils/miscellaneous/size-bigger.mjs +0 -19
  579. package/esm2022/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.mjs +0 -5
  580. package/esm2022/utils/miscellaneous/to-animation-options.mjs +0 -16
  581. package/esm2022/utils/taiga-ui-core-utils.mjs +0 -5
  582. package/fesm2022/taiga-ui-core-animations.mjs +0 -370
  583. package/fesm2022/taiga-ui-core-animations.mjs.map +0 -1
  584. package/fesm2022/taiga-ui-core-components-alert.mjs +0 -149
  585. package/fesm2022/taiga-ui-core-components-alert.mjs.map +0 -1
  586. package/fesm2022/taiga-ui-core-components-dialog.mjs +0 -230
  587. package/fesm2022/taiga-ui-core-components-dialog.mjs.map +0 -1
  588. package/fesm2022/taiga-ui-core-components-fullscreen.mjs +0 -77
  589. package/fesm2022/taiga-ui-core-components-fullscreen.mjs.map +0 -1
  590. package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +0 -1
  591. package/fesm2022/taiga-ui-core-directives-hint.mjs +0 -713
  592. package/fesm2022/taiga-ui-core-directives-hint.mjs.map +0 -1
  593. package/fesm2022/taiga-ui-core-directives-popup.mjs +0 -63
  594. package/fesm2022/taiga-ui-core-directives-popup.mjs.map +0 -1
  595. package/fesm2022/taiga-ui-core-directives-surface.mjs +0 -50
  596. package/fesm2022/taiga-ui-core-directives-surface.mjs.map +0 -1
  597. package/fesm2022/taiga-ui-core-directives-title.mjs +0 -43
  598. package/fesm2022/taiga-ui-core-directives-title.mjs.map +0 -1
  599. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +0 -25
  600. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +0 -1
  601. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +0 -94
  602. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +0 -1
  603. package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs +0 -29
  604. package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs.map +0 -1
  605. package/fesm2022/taiga-ui-core-pipes-flag.mjs +0 -32
  606. package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +0 -1
  607. package/fesm2022/taiga-ui-core-pipes-format-date.mjs +0 -28
  608. package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +0 -1
  609. package/fesm2022/taiga-ui-core-pipes-initials.mjs +0 -29
  610. package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +0 -1
  611. package/fesm2022/taiga-ui-core-pipes-month.mjs +0 -29
  612. package/fesm2022/taiga-ui-core-pipes-month.mjs.map +0 -1
  613. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +0 -36
  614. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +0 -1
  615. package/pipes/auto-color/auto-color.pipe.d.ts +0 -7
  616. package/pipes/auto-color/index.d.ts +0 -1
  617. package/pipes/calendar-sheet/index.d.ts +0 -1
  618. package/pipes/calendar-sheet/utils.d.ts +0 -20
  619. package/pipes/fallback-src/fallback-src.pipe.d.ts +0 -9
  620. package/pipes/fallback-src/index.d.ts +0 -1
  621. package/pipes/flag/flag.pipe.d.ts +0 -14
  622. package/pipes/flag/index.d.ts +0 -1
  623. package/pipes/format-date/format-date.pipe.d.ts +0 -9
  624. package/pipes/format-date/index.d.ts +0 -1
  625. package/pipes/initials/index.d.ts +0 -1
  626. package/pipes/initials/initials.pipe.d.ts +0 -7
  627. package/pipes/month/index.d.ts +0 -1
  628. package/pipes/month/month.pipe.d.ts +0 -10
  629. package/pipes/order-week-days/index.d.ts +0 -1
  630. package/services/breakpoint.service.d.ts +0 -16
  631. package/services/dark-theme.service.d.ts +0 -10
  632. package/services/format-date.service.d.ts +0 -8
  633. package/styles/mixins/wrapper.less +0 -64
  634. package/styles/mixins/wrapper.scss +0 -61
  635. package/styles/theme/appearance/opposite.less +0 -17
  636. package/styles/theme/wrapper.less +0 -211
  637. package/tokens/day-type-handler.d.ts +0 -7
  638. package/tokens/first-day-of-week.d.ts +0 -5
  639. package/tokens/scroll-ref.d.ts +0 -2
  640. package/tokens/spin-icons.d.ts +0 -6
  641. package/types/portal-item.d.ts +0 -9
  642. package/types/range-state.d.ts +0 -4
  643. package/types/value-content-context.d.ts +0 -4
  644. package/utils/format/string-hash-to-hsl.d.ts +0 -6
  645. package/utils/miscellaneous/to-animation-options.d.ts +0 -4
  646. /package/{directives → components}/title/index.d.ts +0 -0
  647. /package/{directives → portals}/dropdown/dropdown-limit-width.d.ts +0 -0
  648. /package/{directives → portals}/dropdown/dropdown.component.d.ts +0 -0
  649. /package/{directives → portals}/dropdown/dropdown.driver.d.ts +0 -0
  650. /package/{directives → portals}/dropdown/dropdown.providers.d.ts +0 -0
  651. /package/{directives → portals}/dropdown/with-dropdown-open.directive.d.ts +0 -0
  652. /package/{directives → portals}/hint/hint-driver.directive.d.ts +0 -0
  653. /package/{directives → portals}/hint/hint-pointer.directive.d.ts +0 -0
  654. /package/{directives → portals}/hint/hint.providers.d.ts +0 -0
  655. /package/{directives → portals}/popup/index.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-core-portals-dropdown.mjs","sources":["../../../projects/core/portals/dropdown/dropdown.driver.ts","../../../projects/core/portals/dropdown/dropdown.providers.ts","../../../projects/core/portals/dropdown/dropdown-options.directive.ts","../../../projects/core/portals/dropdown/dropdown-position.directive.ts","../../../projects/core/portals/dropdown/dropdown.directive.ts","../../../projects/core/portals/dropdown/dropdown.component.ts","../../../projects/core/portals/dropdown/dropdown.template.html","../../../projects/core/portals/dropdown/dropdown-content.directive.ts","../../../projects/core/portals/dropdown/dropdown-context.directive.ts","../../../projects/core/portals/dropdown/dropdown-hover.options.ts","../../../projects/core/portals/dropdown/dropdown-close.directive.ts","../../../projects/core/portals/dropdown/dropdown-open.directive.ts","../../../projects/core/portals/dropdown/dropdown-hover.directive.ts","../../../projects/core/portals/dropdown/dropdown-manual.directive.ts","../../../projects/core/portals/dropdown/dropdown-position-sided.directive.ts","../../../projects/core/portals/dropdown/dropdown-selection.directive.ts","../../../projects/core/portals/dropdown/dropdown.ts","../../../projects/core/portals/dropdown/dropdown.bindings.ts","../../../projects/core/portals/dropdown/dropdown-limit-width.ts","../../../projects/core/portals/dropdown/with-dropdown-open.directive.ts","../../../projects/core/portals/dropdown/taiga-ui-core-portals-dropdown.ts"],"sourcesContent":["import {Directive, Injectable} from '@angular/core';\nimport {type TuiDriver, TuiDriverDirective} from '@taiga-ui/core/classes';\nimport {BehaviorSubject} from 'rxjs';\n\n@Injectable()\nexport class TuiDropdownDriver extends BehaviorSubject<boolean> implements TuiDriver {\n public readonly type = 'dropdown';\n\n constructor() {\n super(false);\n }\n}\n\n@Directive()\nexport class TuiDropdownDriverDirective extends TuiDriverDirective {\n public readonly type = 'dropdown';\n}\n","import {InjectionToken, type Type} from '@angular/core';\n\nimport {TuiDropdownComponent} from './dropdown.component';\n\n/**\n * A component to display a dropdown\n */\nexport const TUI_DROPDOWN_COMPONENT = new InjectionToken<Type<any>>(\n ngDevMode ? 'TUI_DROPDOWN_COMPONENT' : '',\n {\n factory: () => TuiDropdownComponent,\n },\n);\n\nexport const TUI_DROPDOWN_CONTEXT = new InjectionToken<Record<any, any>>(\n ngDevMode ? 'TUI_DROPDOWN_CONTEXT' : '',\n);\n","import {\n Directive,\n type FactoryProvider,\n inject,\n InjectionToken,\n Optional,\n Self,\n SkipSelf,\n} from '@angular/core';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/di';\nimport {type TuiVerticalDirection} from '@taiga-ui/core/types';\nimport {tuiOverrideOptions} from '@taiga-ui/core/utils/miscellaneous';\n\nexport type TuiDropdownAlign = 'center' | 'end' | 'start';\nexport type TuiDropdownWidth = 'auto' | 'fixed' | 'min';\n\nexport interface TuiDropdownOptions {\n readonly align: TuiDropdownAlign;\n readonly appearance: string;\n readonly direction: TuiVerticalDirection | null;\n readonly limitWidth: TuiDropdownWidth;\n readonly maxHeight: number;\n readonly minHeight: number;\n readonly offset: number;\n}\n\nexport const TUI_DROPDOWN_DEFAULT_OPTIONS: TuiDropdownOptions = {\n align: 'start',\n direction: null,\n limitWidth: 'auto',\n maxHeight: 400,\n minHeight: 80,\n offset: 4,\n appearance: '',\n};\n\nexport const TUI_DROPDOWN_OPTIONS = new InjectionToken(\n ngDevMode ? 'TUI_DROPDOWN_OPTIONS' : '',\n {\n factory: () => TUI_DROPDOWN_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiDropdownOptionsProvider: (\n options: Partial<TuiDropdownOptions>,\n) => FactoryProvider = (override: Partial<TuiDropdownOptions>) => ({\n provide: TUI_DROPDOWN_OPTIONS,\n deps: [\n [new Optional(), new Self(), TuiDropdownOptionsDirective],\n [new Optional(), new SkipSelf(), TUI_DROPDOWN_OPTIONS],\n ],\n useFactory: tuiOverrideOptions(override, TUI_DROPDOWN_DEFAULT_OPTIONS),\n});\n\n@Directive({\n selector:\n '[tuiDropdownAlign], [tuiDropdownAppearance], [tuiDropdownDirection], [tuiDropdownLimitWidth], [tuiDropdownMinHeight], [tuiDropdownMaxHeight], [tuiDropdownOffset]',\n inputs: [\n 'align: tuiDropdownAlign',\n 'appearance: tuiDropdownAppearance',\n 'direction: tuiDropdownDirection',\n 'limitWidth: tuiDropdownLimitWidth',\n 'minHeight: tuiDropdownMinHeight',\n 'maxHeight: tuiDropdownMaxHeight',\n 'offset: tuiDropdownOffset',\n ],\n providers: [tuiProvide(TUI_DROPDOWN_OPTIONS, TuiDropdownOptionsDirective)],\n})\nexport class TuiDropdownOptionsDirective implements TuiDropdownOptions {\n private readonly options = inject(TUI_DROPDOWN_OPTIONS, {skipSelf: true});\n\n public align = this.options.align;\n public appearance = this.options.appearance;\n public direction = this.options.direction;\n public limitWidth = this.options.limitWidth;\n public minHeight = this.options.minHeight;\n public maxHeight = this.options.maxHeight;\n public offset = this.options.offset;\n}\n","import {Directive, inject} from '@angular/core';\nimport {outputFromObservable} from '@angular/core/rxjs-interop';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {\n tuiFallbackAccessor,\n TuiPositionAccessor,\n TuiRectAccessor,\n} from '@taiga-ui/core/classes';\nimport {TUI_VIEWPORT} from '@taiga-ui/core/tokens';\nimport {type TuiPoint, type TuiVerticalDirection} from '@taiga-ui/core/types';\nimport {distinctUntilChanged, Subject} from 'rxjs';\n\nimport {TUI_DROPDOWN_OPTIONS, type TuiDropdownAlign} from './dropdown-options.directive';\n\n@Directive()\nexport class TuiDropdownPosition extends TuiPositionAccessor {\n private readonly el = tuiInjectElement();\n private readonly options = inject(TUI_DROPDOWN_OPTIONS);\n private readonly viewport = inject(TUI_VIEWPORT);\n private previous?: TuiVerticalDirection;\n\n public readonly direction = new Subject<TuiVerticalDirection>();\n public readonly type = 'dropdown';\n public readonly accessor = tuiFallbackAccessor<TuiRectAccessor>('dropdown')(\n inject<any>(TuiRectAccessor, {optional: true}),\n {getClientRect: () => this.el.getBoundingClientRect()},\n );\n\n public readonly tuiDropdownDirectionChange = outputFromObservable(\n this.direction.pipe(distinctUntilChanged()),\n );\n\n public getPosition({width, height}: DOMRect): TuiPoint {\n if (!width && !height) {\n this.previous = undefined;\n }\n\n const hostRect = this.accessor.getClientRect();\n const viewportRect = this.viewport.getClientRect();\n const {minHeight, direction, offset, limitWidth} = this.options;\n const align = this.getAlign(this.options.align);\n const viewport = {\n top: viewportRect.top - offset,\n bottom: viewportRect.bottom + offset,\n right: viewportRect.right - offset,\n left: viewportRect.left + offset,\n } as const;\n const previous = this.previous || direction || 'bottom';\n const available = {\n top: hostRect.top - 2 * offset - viewport.top,\n bottom: viewport.bottom - hostRect.bottom - 2 * offset,\n } as const;\n const rectWidth = limitWidth === 'fixed' ? hostRect.width : width;\n const right = Math.max(hostRect.right - rectWidth, offset);\n const left = hostRect.left + width < viewport.right ? hostRect.left : right;\n const position = {\n top: hostRect.top - offset - height,\n bottom: hostRect.bottom + offset,\n right: Math.max(viewport.left, right),\n center:\n hostRect.left + hostRect.width / 2 + width / 2 < viewport.right\n ? hostRect.left + hostRect.width / 2 - width / 2\n : right,\n left: Math.max(viewport.left, left),\n } as const;\n const better: TuiVerticalDirection =\n available.top > available.bottom ? 'top' : 'bottom';\n\n if (\n (available[previous] > minHeight && direction) ||\n available[previous] > height\n ) {\n this.direction.next(previous);\n\n return [position[align], position[previous]];\n }\n\n this.previous = better;\n this.direction.next(better);\n\n return [position[align], position[better]];\n }\n\n public getAlign(align: TuiDropdownAlign): 'center' | 'left' | 'right' {\n const rtl = this.el.matches('[dir=\"rtl\"] :scope');\n\n if (rtl && align === 'start') {\n return 'right';\n }\n\n if (rtl && align === 'end') {\n return 'left';\n }\n\n if (align === 'center') {\n return 'center';\n }\n\n return align === 'end' ? 'right' : 'left';\n }\n}\n","import {coerceArray} from '@angular/cdk/coercion';\nimport {\n type AfterViewChecked,\n ChangeDetectorRef,\n type ComponentRef,\n computed,\n Directive,\n effect,\n inject,\n INJECTOR,\n input,\n type OnDestroy,\n signal,\n TemplateRef,\n} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {tuiZonefreeScheduler} from '@taiga-ui/cdk/observables';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {\n tuiAsVehicle,\n type TuiRectAccessor,\n type TuiVehicle,\n} from '@taiga-ui/core/classes';\nimport {TuiPopupService} from '@taiga-ui/core/portals/popup';\nimport {tuiCheckFixedPosition} from '@taiga-ui/core/utils/dom';\nimport {\n PolymorpheusComponent,\n type PolymorpheusContent,\n PolymorpheusTemplate,\n} from '@taiga-ui/polymorpheus';\nimport {Subject, throttleTime} from 'rxjs';\n\nimport {TuiDropdownDriver, TuiDropdownDriverDirective} from './dropdown.driver';\nimport {TUI_DROPDOWN_COMPONENT} from './dropdown.providers';\nimport {TuiDropdownPosition} from './dropdown-position.directive';\n\n@Directive({\n selector: '[tuiDropdown]:not(ng-container):not(ng-template)',\n providers: [tuiAsVehicle(TuiDropdownDirective)],\n exportAs: 'tuiDropdown',\n hostDirectives: [\n TuiDropdownDriverDirective,\n {\n directive: TuiDropdownPosition,\n outputs: ['tuiDropdownDirectionChange'],\n },\n ],\n host: {\n '[class.tui-dropdown-open]': 'ref()',\n },\n})\nexport class TuiDropdownDirective\n implements AfterViewChecked, OnDestroy, TuiRectAccessor, TuiVehicle\n{\n private readonly refresh$ = new Subject<void>();\n private readonly service = inject(TuiPopupService);\n private readonly cdr = inject(ChangeDetectorRef);\n private readonly drivers = coerceArray(\n inject(TuiDropdownDriver, {self: true, optional: true}),\n );\n\n protected readonly sub = this.refresh$\n .pipe(throttleTime(0, tuiZonefreeScheduler()), takeUntilDestroyed())\n .subscribe(() => {\n this.ref()?.changeDetectorRef.detectChanges();\n this.ref()?.changeDetectorRef.markForCheck();\n });\n\n protected readonly autoClose = effect(() => {\n if (!this.content()) {\n this.toggle(false);\n }\n });\n\n public readonly ref = signal<ComponentRef<unknown> | null>(null);\n public readonly el = tuiInjectElement();\n public readonly type = 'dropdown';\n public readonly component = new PolymorpheusComponent(\n inject(TUI_DROPDOWN_COMPONENT),\n inject(INJECTOR),\n );\n\n public readonly tuiDropdown = input<PolymorpheusContent<TuiContext<() => void>>>();\n public readonly content = computed<PolymorpheusContent<TuiContext<() => void>>>(\n (content = this.tuiDropdown()) => {\n return content instanceof TemplateRef\n ? new PolymorpheusTemplate(content, this.cdr)\n : content;\n },\n );\n\n public get position(): 'absolute' | 'fixed' {\n return tuiCheckFixedPosition(this.el) ? 'fixed' : 'absolute';\n }\n\n public ngAfterViewChecked(): void {\n this.refresh$.next();\n }\n\n public ngOnDestroy(): void {\n this.toggle(false);\n }\n\n public getClientRect(): DOMRect {\n return this.el.getBoundingClientRect();\n }\n\n public toggle(show: boolean): void {\n const ref = this.ref();\n\n if (show && this.content() && !ref) {\n this.ref.set(this.service.add(this.component));\n } else if (!show && ref) {\n this.ref.set(null);\n ref.destroy();\n }\n\n // TODO: Remove in v5, only needed in Angular 16\n this.cdr.markForCheck();\n this.drivers.forEach((driver) => driver?.next(show));\n }\n}\n","import {\n type AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n computed,\n forwardRef,\n inject,\n} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {EMPTY_CLIENT_RECT} from '@taiga-ui/cdk/constants';\nimport {TuiActiveZone} from '@taiga-ui/cdk/directives/active-zone';\nimport {TuiAnimated} from '@taiga-ui/cdk/directives/animated';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiClamp} from '@taiga-ui/cdk/utils/math';\nimport {tuiPx} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n tuiPositionAccessorFor,\n TuiRectAccessor,\n tuiRectAccessorFor,\n} from '@taiga-ui/core/classes';\nimport {TuiScrollbar} from '@taiga-ui/core/components/scrollbar';\nimport {TuiPositionService, TuiVisualViewportService} from '@taiga-ui/core/services';\nimport {TUI_DARK_MODE, TUI_VIEWPORT} from '@taiga-ui/core/tokens';\nimport {PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\nimport {map, takeWhile} from 'rxjs';\n\nimport {TuiDropdownDirective} from './dropdown.directive';\nimport {TUI_DROPDOWN_CONTEXT} from './dropdown.providers';\nimport {TUI_DROPDOWN_OPTIONS} from './dropdown-options.directive';\nimport {TuiDropdownPosition} from './dropdown-position.directive';\n\n/**\n * @description:\n * This component is used to show template in a portal\n * using default style of white rounded box with a shadow\n */\n@Component({\n selector: 'tui-dropdown',\n imports: [PolymorpheusOutlet, TuiScrollbar],\n templateUrl: './dropdown.template.html',\n styleUrl: './dropdown.style.less',\n // @bad TODO: OnPush\n // eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection\n changeDetection: ChangeDetectionStrategy.Default,\n providers: [\n TuiPositionService,\n tuiPositionAccessorFor('dropdown', TuiDropdownPosition),\n tuiRectAccessorFor(\n 'dropdown',\n forwardRef(() => TuiDropdownDirective),\n ),\n ],\n hostDirectives: [TuiActiveZone, TuiAnimated],\n host: {\n '[attr.data-appearance]': 'options.appearance',\n '[attr.tuiTheme]': 'theme()',\n },\n})\nexport class TuiDropdownComponent implements AfterViewInit {\n private readonly el = tuiInjectElement();\n private readonly accessor = inject(TuiRectAccessor);\n private readonly viewport = inject(TUI_VIEWPORT);\n private readonly vvs = inject(TuiVisualViewportService);\n\n private readonly styles$ = inject(TuiPositionService).pipe(\n takeWhile(\n () =>\n this.directive.el.isConnected &&\n !!this.directive.el.getBoundingClientRect().height,\n ),\n map((v) => (this.position === 'fixed' ? this.vvs.correct(v) : v)),\n map((point) => this.getStyles(...point)),\n takeUntilDestroyed(),\n );\n\n protected readonly options = inject(TUI_DROPDOWN_OPTIONS);\n protected readonly directive = inject(TuiDropdownDirective);\n protected readonly context = inject(TUI_DROPDOWN_CONTEXT, {optional: true});\n protected readonly darkMode = inject(TUI_DARK_MODE);\n protected readonly position = this.directive.position;\n protected readonly theme = computed((_ = this.darkMode()) =>\n this.directive.el.closest('[tuiTheme]')?.getAttribute('tuiTheme'),\n );\n\n public ngAfterViewInit(): void {\n this.styles$.subscribe({\n next: (styles) => Object.assign(this.el.style, styles),\n complete: () => this.close?.(),\n });\n }\n\n protected readonly close = (): void => this.directive.toggle(false);\n\n private getStyles(x: number, y: number): Record<string, string> {\n const {maxHeight, minHeight, offset, limitWidth} = this.options;\n const parent = this.el.offsetParent?.getBoundingClientRect() || EMPTY_CLIENT_RECT;\n const {left = 0, top = 0} = this.position === 'fixed' ? {} : parent;\n const rect = this.accessor.getClientRect();\n const viewport = this.viewport.getClientRect();\n const above = rect.top - viewport.top - 2 * offset;\n const below = viewport.top + viewport.height - y - offset;\n const available = y > rect.bottom ? below : above;\n const height =\n this.el.getBoundingClientRect().right <= rect.left || x >= rect.right\n ? maxHeight\n : tuiClamp(available, minHeight, maxHeight);\n\n y -= top;\n x -= left;\n\n return {\n position: this.position,\n top: tuiPx(Math.round(Math.max(y, offset - top))),\n left: tuiPx(Math.round(x)),\n maxHeight: tuiPx(Math.round(height)),\n width: limitWidth === 'fixed' ? tuiPx(Math.round(rect.width)) : '',\n minWidth: limitWidth === 'min' ? tuiPx(Math.round(rect.width)) : '',\n maxWidth: tuiPx(Math.round(viewport.width) - 16), // 8px min gap from each side\n };\n }\n}\n","<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","import {isPlatformBrowser} from '@angular/common';\nimport {Directive, inject, type OnDestroy, PLATFORM_ID, TemplateRef} from '@angular/core';\nimport {tuiSetSignal} from '@taiga-ui/cdk/utils/miscellaneous';\n\nimport {TuiDropdownDirective} from './dropdown.directive';\n\n@Directive({\n selector: 'ng-template[tuiDropdown]',\n})\nexport class TuiDropdownContent implements OnDestroy {\n private readonly directive = inject(TuiDropdownDirective);\n\n constructor() {\n tuiSetSignal(this.directive.tuiDropdown, inject(TemplateRef));\n\n if (\n isPlatformBrowser(inject(PLATFORM_ID)) &&\n this.directive.el.matches(':focus-within')\n ) {\n this.directive.toggle(true);\n }\n }\n\n public ngOnDestroy(): void {\n tuiSetSignal(this.directive.tuiDropdown, null);\n }\n}\n","import {DOCUMENT} from '@angular/common';\nimport {computed, Directive, inject} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {WA_IS_TOUCH} from '@ng-web-apis/platform';\nimport {EMPTY_CLIENT_RECT} from '@taiga-ui/cdk/constants';\nimport {TuiActiveZone} from '@taiga-ui/cdk/directives/active-zone';\nimport {tuiTypedFromEvent, tuiZoneOptimized} from '@taiga-ui/cdk/observables';\nimport {tuiGetActualTarget, tuiPointToClientRect} from '@taiga-ui/cdk/utils/dom';\nimport {tuiAsDriver, tuiAsRectAccessor, TuiRectAccessor} from '@taiga-ui/core/classes';\nimport {filter, merge} from 'rxjs';\n\nimport {TuiDropdownDriver} from './dropdown.driver';\n\n@Directive({\n selector: '[tuiDropdownContext]',\n providers: [\n TuiActiveZone,\n TuiDropdownDriver,\n tuiAsDriver(TuiDropdownDriver),\n tuiAsRectAccessor(TuiDropdownContext),\n ],\n host: {\n '[style.user-select]': 'userSelect()',\n '[style.-webkit-user-select]': 'userSelect()',\n '[style.-webkit-touch-callout]': 'userSelect()',\n '(longtap)': 'onContextMenu($event.detail.clientX, $event.detail.clientY)',\n },\n})\nexport class TuiDropdownContext extends TuiRectAccessor {\n private readonly isTouch = inject(WA_IS_TOUCH);\n private currentRect = EMPTY_CLIENT_RECT;\n\n protected readonly userSelect = computed(() => (this.isTouch() ? 'none' : null));\n protected readonly activeZone = inject(TuiActiveZone);\n protected readonly driver = inject(TuiDropdownDriver);\n protected readonly doc = inject(DOCUMENT);\n\n protected readonly sub = merge(\n tuiTypedFromEvent(this.doc, 'pointerdown'),\n tuiTypedFromEvent(this.doc, 'keydown').pipe(filter(({key}) => key === 'Escape')),\n tuiTypedFromEvent(this.doc, 'contextmenu', {capture: true}),\n )\n .pipe(\n filter(\n (event) =>\n this.driver.value &&\n !this.activeZone.contains(tuiGetActualTarget(event)),\n ),\n tuiZoneOptimized(),\n takeUntilDestroyed(),\n )\n .subscribe(() => {\n this.driver.next(false);\n this.currentRect = EMPTY_CLIENT_RECT;\n });\n\n public readonly type = 'dropdown';\n\n public getClientRect(): DOMRect {\n return this.currentRect;\n }\n\n protected onContextMenu(x: number, y: number): void {\n this.currentRect = tuiPointToClientRect(x, y);\n this.driver.next(true);\n }\n}\n","import {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\n\nexport interface TuiDropdownHoverOptions {\n readonly hideDelay: number;\n readonly showDelay: number;\n}\n\n/** Default values for hint options */\nexport const TUI_DROPDOWN_HOVER_DEFAULT_OPTIONS: TuiDropdownHoverOptions = {\n showDelay: 200,\n hideDelay: 500,\n};\n\n/**\n * Default parameters for dropdown hover directive\n */\nexport const [TUI_DROPDOWN_HOVER_OPTIONS, tuiDropdownHoverOptionsProvider] =\n tuiCreateOptions(TUI_DROPDOWN_HOVER_DEFAULT_OPTIONS);\n","import {DOCUMENT} from '@angular/common';\nimport {Directive, inject} from '@angular/core';\nimport {outputFromObservable} from '@angular/core/rxjs-interop';\nimport {TuiActiveZone} from '@taiga-ui/cdk/directives/active-zone';\nimport {TuiObscured} from '@taiga-ui/cdk/directives/obscured';\nimport {\n tuiCloseWatcher,\n tuiIfMap,\n tuiStopPropagation,\n tuiTypedFromEvent,\n} from '@taiga-ui/cdk/observables';\nimport {tuiGetActualTarget, tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {EMPTY, filter, merge} from 'rxjs';\n\nimport {TuiDropdownDirective} from './dropdown.directive';\nimport {TuiDropdownDriver} from './dropdown.driver';\nimport {TuiDropdownOpen} from './dropdown-open.directive';\n\n@Directive()\nexport class TuiDropdownClose {\n private readonly el = tuiInjectElement();\n private readonly ref = inject(TuiDropdownDirective).ref;\n private readonly open = inject(TuiDropdownOpen);\n private readonly obscured = inject(TuiObscured);\n private readonly activeZone = inject(TuiActiveZone);\n\n protected readonly tuiDropdownClose = outputFromObservable(\n merge(\n inject(TuiDropdownDriver).pipe(\n tuiIfMap(() =>\n merge(\n tuiCloseWatcher(),\n this.obscured.tuiObscured$.pipe(filter(Boolean)),\n this.activeZone.tuiActiveZoneChange.pipe(filter((a) => !a)),\n tuiTypedFromEvent(this.el, 'focusin').pipe(\n filter(\n (event) =>\n !this.open.host.contains(tuiGetActualTarget(event)) ||\n !this.ref(),\n ),\n ),\n ),\n ),\n ),\n // @ts-ignore\n typeof CloseWatcher === 'undefined'\n ? tuiTypedFromEvent(inject(DOCUMENT), 'keydown', {capture: true}).pipe(\n filter(\n ({key}) =>\n key === 'Escape' &&\n this.open.open() &&\n !this.ref()?.location.nativeElement?.nextElementSibling,\n ),\n tuiStopPropagation(),\n )\n : EMPTY,\n ),\n );\n}\n","import {DOCUMENT} from '@angular/common';\nimport {\n computed,\n contentChild,\n Directive,\n effect,\n ElementRef,\n inject,\n input,\n model,\n} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {TuiActiveZone} from '@taiga-ui/cdk/directives/active-zone';\nimport {TuiObscured} from '@taiga-ui/cdk/directives/obscured';\nimport {tuiTypedFromEvent} from '@taiga-ui/cdk/observables';\nimport {\n tuiGetActualTarget,\n tuiInjectElement,\n tuiIsElement,\n tuiIsElementEditable,\n tuiIsHTMLElement,\n} from '@taiga-ui/cdk/utils/dom';\nimport {\n tuiGetClosestFocusable,\n tuiIsFocusable,\n tuiIsFocusedIn,\n} from '@taiga-ui/cdk/utils/focus';\nimport {tuiSetSignal} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {tuiAsDriver} from '@taiga-ui/core/classes';\nimport {tuiIsEditingKey} from '@taiga-ui/core/utils/miscellaneous';\nimport {filter} from 'rxjs';\n\nimport {TuiDropdownDirective} from './dropdown.directive';\nimport {TuiDropdownDriver} from './dropdown.driver';\nimport {TuiDropdownClose} from './dropdown-close.directive';\n\n@Directive({\n selector:\n '[tuiDropdown][tuiDropdownAuto],[tuiDropdown][tuiDropdownOpen],[tuiDropdown][tuiDropdownOpenChange]',\n providers: [TuiDropdownDriver, tuiAsDriver(TuiDropdownDriver)],\n hostDirectives: [\n TuiObscured,\n {\n directive: TuiDropdownClose,\n outputs: ['tuiDropdownClose'],\n },\n {\n directive: TuiActiveZone,\n inputs: ['tuiActiveZoneParent'],\n outputs: ['tuiActiveZoneChange'],\n },\n ],\n host: {\n '(click)': 'onClick($event.target)',\n '(keydown.arrowDown)': 'onArrow($event, false)',\n '(keydown.arrowUp)': 'onArrow($event, true)',\n // TODO: Necessary because startWith(false) + distinctUntilChanged() in TuiActiveZone, think of better solution\n '(tuiActiveZoneChange)': '0',\n '(tuiDropdownClose)': 'toggle(false)',\n },\n})\nexport class TuiDropdownOpen {\n private readonly dropdownHost = contentChild('tuiDropdownHost', {\n descendants: true,\n read: ElementRef,\n });\n\n private readonly directive = inject(TuiDropdownDirective);\n private readonly el = tuiInjectElement();\n private readonly obscured = inject(TuiObscured);\n private readonly driver = inject(TuiDropdownDriver);\n private readonly dropdown = computed(\n () => this.directive.ref()?.location.nativeElement,\n );\n\n public readonly enabled = input(true, {alias: 'tuiDropdownEnabled'});\n public readonly open = model(false, {alias: 'tuiDropdownOpen'});\n\n protected readonly driveEffect = effect(() => this.drive(this.open()));\n protected readonly syncSub = this.driver\n .pipe(\n filter((open) => open !== this.open()),\n takeUntilDestroyed(),\n )\n .subscribe((open) => this.update(open));\n\n protected readonly keydownSub = tuiTypedFromEvent(inject(DOCUMENT), 'keydown')\n .pipe(takeUntilDestroyed())\n .subscribe((event) => this.onKeydown(event));\n\n public get host(): HTMLElement {\n const initial = this.dropdownHost()?.nativeElement || this.el;\n const focusable = tuiIsFocusable(initial)\n ? initial\n : tuiGetClosestFocusable({initial, root: this.el});\n\n return this.dropdownHost()?.nativeElement || focusable || this.el;\n }\n\n public toggle(open: boolean): void {\n if (this.focused && !open) {\n this.host.focus({preventScroll: true});\n }\n\n this.update(open);\n }\n\n protected onClick(target: HTMLElement): void {\n if (!this.editable && this.host.contains(target)) {\n this.update(!this.open());\n }\n }\n\n protected onArrow(event: KeyboardEvent, up: boolean): void {\n if (\n !tuiIsElement(event.target) ||\n !this.host.contains(event.target) ||\n !this.enabled() ||\n !this.directive.content()\n ) {\n return;\n }\n\n event.preventDefault();\n this.focusDropdown(up);\n }\n\n private get editable(): boolean {\n return tuiIsElementEditable(this.host);\n }\n\n private get focused(): boolean {\n return tuiIsFocusedIn(this.host) || tuiIsFocusedIn(this.dropdown());\n }\n\n private onKeydown(event: KeyboardEvent): void {\n const target = tuiGetActualTarget(event);\n\n if (\n !event.defaultPrevented &&\n tuiIsEditingKey(event.key) &&\n this.editable &&\n this.focused &&\n tuiIsHTMLElement(target) &&\n !tuiIsElementEditable(target)\n ) {\n this.host.focus({preventScroll: true});\n }\n }\n\n private update(open: boolean): void {\n if (open && !this.enabled()) {\n return this.drive();\n }\n\n this.open.set(open);\n this.drive();\n }\n\n private drive(open = this.open() && this.enabled()): void {\n tuiSetSignal(this.obscured.tuiObscuredEnabled, open);\n this.driver.next(open);\n }\n\n private focusDropdown(previous: boolean): void {\n const root = this.dropdown();\n\n if (!root) {\n this.update(true);\n\n return;\n }\n\n const doc = this.el.ownerDocument;\n const child = root.appendChild(doc.createElement('div'));\n const initial = previous ? child : root;\n const focusable = tuiGetClosestFocusable({initial, previous, root});\n\n child.remove();\n focusable?.focus();\n }\n}\n","import {DOCUMENT} from '@angular/common';\nimport {contentChild, Directive, ElementRef, inject, input} from '@angular/core';\nimport {toObservable} from '@angular/core/rxjs-interop';\nimport {TuiActiveZone} from '@taiga-ui/cdk/directives/active-zone';\nimport {tuiTypedFromEvent, tuiZoneOptimized} from '@taiga-ui/cdk/observables';\nimport {\n tuiGetActualTarget,\n tuiInjectElement,\n tuiIsElement,\n} from '@taiga-ui/cdk/utils/dom';\nimport {tuiAsDriver, TuiDriver} from '@taiga-ui/core/classes';\nimport {\n delay,\n distinctUntilChanged,\n filter,\n fromEvent,\n map,\n merge,\n of,\n share,\n startWith,\n switchMap,\n takeUntil,\n tap,\n} from 'rxjs';\n\nimport {TuiDropdownDirective} from './dropdown.directive';\nimport {TUI_DROPDOWN_HOVER_OPTIONS} from './dropdown-hover.options';\nimport {TuiDropdownOpen} from './dropdown-open.directive';\n\n@Directive({\n selector: '[tuiDropdownHover]',\n providers: [TuiActiveZone, tuiAsDriver(TuiDropdownHover)],\n host: {\n '(click.capture)': 'onClick($event)',\n },\n})\nexport class TuiDropdownHover extends TuiDriver {\n private readonly dropdownHost = contentChild('tuiDropdownHost', {\n descendants: true,\n read: ElementRef,\n });\n\n private hovered = false;\n private readonly el = tuiInjectElement();\n private readonly doc = inject(DOCUMENT);\n private readonly options = inject(TUI_DROPDOWN_HOVER_OPTIONS);\n private readonly activeZone = inject(TuiActiveZone);\n private readonly open = inject(TuiDropdownOpen, {optional: true});\n private readonly stream$ = merge(\n /**\n * Dropdown can be removed not only via click/touch –\n * swipe on mobile devices removes dropdown sheet without triggering new mouseover / mouseout events.\n */\n toObservable(inject(TuiDropdownDirective).ref).pipe(\n filter((x) => !x && this.hovered),\n switchMap(() =>\n tuiTypedFromEvent(this.doc, 'pointerdown').pipe(\n map(tuiGetActualTarget),\n delay(this.tuiDropdownHideDelay()),\n startWith(null),\n takeUntil(fromEvent(this.doc, 'mouseover')),\n ),\n ),\n ),\n tuiTypedFromEvent(this.doc, 'mouseover').pipe(map(tuiGetActualTarget)),\n tuiTypedFromEvent(this.doc, 'mouseout').pipe(map((e) => e.relatedTarget)),\n ).pipe(\n map((element) => tuiIsElement(element) && this.isHovered(element)),\n distinctUntilChanged(),\n switchMap((v) =>\n of(v).pipe(\n delay(v ? this.tuiDropdownShowDelay() : this.tuiDropdownHideDelay()),\n ),\n ),\n tuiZoneOptimized(),\n tap((hovered) => {\n this.hovered = hovered;\n this.open?.toggle(hovered);\n }),\n share(),\n );\n\n public readonly tuiDropdownShowDelay = input(this.options.showDelay);\n public readonly tuiDropdownHideDelay = input(this.options.hideDelay);\n public readonly type = 'dropdown';\n\n constructor() {\n super((subscriber) => this.stream$.subscribe(subscriber));\n }\n\n protected onClick(event: MouseEvent): void {\n if (this.hovered && this.open) {\n event.preventDefault();\n }\n }\n\n private isHovered(element: Element): boolean {\n const host = this.dropdownHost()?.nativeElement || this.el;\n const hovered = host.contains(element);\n const child = !this.el.contains(element) && this.activeZone.contains(element);\n\n return hovered || child;\n }\n}\n","import {Directive, inject, input, type OnChanges} from '@angular/core';\nimport {tuiAsDriver} from '@taiga-ui/core/classes';\n\nimport {TuiDropdownDriver} from './dropdown.driver';\n\n@Directive({\n selector: '[tuiDropdownManual]',\n providers: [TuiDropdownDriver, tuiAsDriver(TuiDropdownDriver)],\n})\nexport class TuiDropdownManual implements OnChanges {\n private readonly driver = inject(TuiDropdownDriver);\n\n public readonly tuiDropdownManual = input<boolean | ''>(false);\n\n public ngOnChanges(): void {\n this.driver.next(!!this.tuiDropdownManual());\n }\n}\n","import {Directive, inject, input} from '@angular/core';\nimport {EMPTY_CLIENT_RECT} from '@taiga-ui/cdk/constants';\nimport {tuiAsPositionAccessor, TuiPositionAccessor} from '@taiga-ui/core/classes';\nimport {TUI_VIEWPORT} from '@taiga-ui/core/tokens';\nimport {type TuiPoint} from '@taiga-ui/core/types';\n\nimport {TUI_DROPDOWN_OPTIONS} from './dropdown-options.directive';\nimport {TuiDropdownPosition} from './dropdown-position.directive';\n\n@Directive({\n selector: '[tuiDropdownSided]',\n providers: [TuiDropdownPosition, tuiAsPositionAccessor(TuiDropdownPositionSided)],\n})\nexport class TuiDropdownPositionSided extends TuiPositionAccessor {\n private readonly options = inject(TUI_DROPDOWN_OPTIONS);\n private readonly viewport = inject(TUI_VIEWPORT);\n private readonly vertical = inject(TuiDropdownPosition);\n private previous = this.options.direction || 'bottom';\n\n public readonly tuiDropdownSided = input<boolean | string>('');\n public readonly tuiDropdownSidedOffset = input(4);\n public readonly type = 'dropdown';\n\n public getPosition(rect: DOMRect): TuiPoint {\n if (this.tuiDropdownSided() === false) {\n return this.vertical.getPosition(rect);\n }\n\n const {height, width} = rect;\n const hostRect = this.vertical.accessor?.getClientRect() ?? EMPTY_CLIENT_RECT;\n const viewport = this.viewport.getClientRect();\n const {direction, offset} = this.options;\n const adjusted = this.vertical.getAlign(this.options.align);\n const align = adjusted === 'center' ? 'left' : adjusted;\n const available = {\n top: hostRect.bottom - viewport.top,\n left: hostRect.left - offset - viewport.left,\n right: viewport.right - hostRect.right - offset,\n bottom: viewport.bottom - hostRect.top,\n } as const;\n const position = {\n top: hostRect.bottom - height + this.tuiDropdownSidedOffset() + 1, // 1 for border\n left: hostRect.left - width - offset,\n right: hostRect.right + offset,\n bottom: hostRect.top - this.tuiDropdownSidedOffset() - 1, // 1 for border\n } as const;\n const better = available.top > available.bottom ? 'top' : 'bottom';\n const maxLeft = available.left > available.right ? position.left : position.right;\n const left = available[align] > width ? position[align] : maxLeft;\n\n if (\n (available[this.previous] > height && direction) ||\n this.previous === better\n ) {\n this.vertical.direction.next(this.previous);\n\n return [left, position[this.previous]];\n }\n\n this.previous = better;\n this.vertical.direction.next(better);\n\n return [left, position[better]];\n }\n}\n","import {DOCUMENT, isPlatformBrowser} from '@angular/common';\nimport {\n computed,\n Directive,\n inject,\n input,\n type OnDestroy,\n PLATFORM_ID,\n ViewContainerRef,\n} from '@angular/core';\nimport {toObservable} from '@angular/core/rxjs-interop';\nimport {\n CHAR_NO_BREAK_SPACE,\n CHAR_ZERO_WIDTH_SPACE,\n EMPTY_CLIENT_RECT,\n TUI_TRUE_HANDLER,\n} from '@taiga-ui/cdk/constants';\nimport {type TuiBooleanHandler} from '@taiga-ui/cdk/types';\nimport {\n tuiInjectElement,\n tuiIsElement,\n tuiIsTextfield,\n tuiIsTextNode,\n} from '@taiga-ui/cdk/utils/dom';\nimport {tuiGetFocused} from '@taiga-ui/cdk/utils/focus';\nimport {tuiIsString, tuiPx} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n tuiAsDriver,\n tuiAsRectAccessor,\n TuiDriver,\n type TuiRectAccessor,\n} from '@taiga-ui/core/classes';\nimport {TUI_SELECTION_STREAM} from '@taiga-ui/core/tokens';\nimport {tuiGetWordRange} from '@taiga-ui/core/utils/dom';\nimport {combineLatest, distinctUntilChanged, filter, map} from 'rxjs';\n\nimport {TuiDropdownDirective} from './dropdown.directive';\n\n@Directive({\n selector: '[tuiDropdownSelection]',\n providers: [\n tuiAsDriver(TuiDropdownSelection),\n tuiAsRectAccessor(TuiDropdownSelection),\n ],\n})\nexport class TuiDropdownSelection\n extends TuiDriver\n implements TuiRectAccessor, OnDestroy\n{\n private ghost?: HTMLElement;\n\n protected readonly doc = inject(DOCUMENT);\n protected readonly vcr = inject(ViewContainerRef);\n protected readonly dropdown = inject(TuiDropdownDirective);\n protected readonly el = tuiInjectElement();\n protected readonly handler = computed((visible = this.tuiDropdownSelection()) =>\n tuiIsString(visible) ? TUI_TRUE_HANDLER : visible,\n );\n\n protected readonly stream$ = combineLatest([\n toObservable(this.handler),\n inject(TUI_SELECTION_STREAM).pipe(\n map(() => this.getRange()),\n filter((range) => this.isValid(range)),\n distinctUntilChanged(\n (x, y) =>\n x.startOffset === y.startOffset &&\n x.endOffset === y.endOffset &&\n x.commonAncestorContainer === y.commonAncestorContainer,\n ),\n ),\n ]).pipe(\n map(([handler, range]) => {\n const contained = this.el.contains(range.commonAncestorContainer);\n\n this.range =\n contained && tuiIsTextNode(range.commonAncestorContainer)\n ? range\n : this.range;\n\n return (contained && handler(this.range)) || this.inDropdown(range);\n }),\n );\n\n protected range = isPlatformBrowser(inject(PLATFORM_ID))\n ? new Range()\n : ({} as unknown as Range);\n\n public readonly type = 'dropdown';\n public readonly tuiDropdownSelection = input<TuiBooleanHandler<Range> | string>('');\n public readonly tuiDropdownSelectionPosition = input<'selection' | 'tag' | 'word'>(\n 'selection',\n );\n\n constructor() {\n super((subscriber) => this.stream$.subscribe(subscriber));\n }\n\n public getClientRect(): DOMRect {\n switch (this.tuiDropdownSelectionPosition()) {\n case 'tag': {\n const {commonAncestorContainer} = this.range;\n const element = tuiIsElement(commonAncestorContainer)\n ? commonAncestorContainer\n : commonAncestorContainer.parentNode;\n\n return element && tuiIsElement(element)\n ? element.getBoundingClientRect()\n : EMPTY_CLIENT_RECT;\n }\n case 'word':\n return tuiGetWordRange(this.range).getBoundingClientRect();\n default:\n return this.range.getBoundingClientRect();\n }\n }\n\n public ngOnDestroy(): void {\n if (this.ghost) {\n this.ghostHost.removeChild(this.ghost);\n }\n }\n\n private get ghostHost(): HTMLElement {\n return this.el.querySelector('tui-textfield .t-ghost') || this.el;\n }\n\n private getRange(): Range {\n const active = tuiGetFocused(this.doc);\n const selection = this.doc.getSelection();\n const range =\n active && tuiIsTextfield(active) && this.el.contains(active)\n ? this.veryVerySadInputFix(active)\n : (selection?.rangeCount && selection.getRangeAt(0)) || this.range;\n\n return range.cloneRange();\n }\n\n /**\n * Check if given range is at least partially inside dropdown\n */\n private inDropdown(range: Range): boolean {\n const {startContainer, endContainer} = range;\n const inDropdown = this.boxContains(range.commonAncestorContainer);\n const hostToDropdown =\n this.boxContains(endContainer) && this.el.contains(startContainer);\n const dropdownToHost =\n this.boxContains(startContainer) && this.el.contains(endContainer);\n\n return inDropdown || hostToDropdown || dropdownToHost;\n }\n\n /**\n * Check if Node is inside dropdown\n */\n private boxContains(node: Node): boolean {\n return !!this.dropdown.ref()?.location.nativeElement.contains(node);\n }\n\n /**\n * Check if range is not inside tui-textfield's DOM elements\n */\n private isValid(range: Range): boolean {\n return (\n !this.el.contains(range.commonAncestorContainer) ||\n !this.el.closest('tui-textfield') ||\n range.intersectsNode(this.ghost || this.el)\n );\n }\n\n private veryVerySadInputFix(element: HTMLInputElement | HTMLTextAreaElement): Range {\n const {ghost = this.initGhost(this.ghostHost)} = this;\n const {top, left, width, height} = this.ghostHost.getBoundingClientRect();\n const {selectionStart, selectionEnd, value} = element;\n const range = this.doc.createRange();\n const hostRect = this.ghostHost.getBoundingClientRect();\n\n ghost.style.top = tuiPx(top - hostRect.top);\n ghost.style.left = tuiPx(left - hostRect.left);\n ghost.style.width = tuiPx(width);\n ghost.style.height = tuiPx(height);\n ghost.textContent = CHAR_ZERO_WIDTH_SPACE + value + CHAR_NO_BREAK_SPACE;\n\n range.setStart(ghost.firstChild as Node, selectionStart || 0);\n range.setEnd(ghost.firstChild as Node, selectionEnd || 0);\n\n return range;\n }\n\n /**\n * Create an invisible DIV styled exactly like input/textarea element inside directive\n */\n private initGhost(\n element: HTMLElement | HTMLInputElement | HTMLTextAreaElement,\n ): HTMLElement {\n const ghost = this.doc.createElement('div');\n const {font, letterSpacing, textTransform, padding, borderTop} =\n getComputedStyle(element);\n\n ghost.style.position = 'absolute';\n ghost.style.pointerEvents = 'none';\n ghost.style.opacity = '0';\n ghost.style.whiteSpace = 'pre-wrap';\n ghost.style.boxSizing = 'border-box';\n ghost.style.borderTop = borderTop;\n ghost.style.font = font;\n ghost.style.letterSpacing = letterSpacing;\n ghost.style.textTransform = textTransform;\n ghost.style.padding = padding;\n\n this.ghostHost.appendChild(ghost);\n this.ghost = ghost;\n\n return ghost;\n }\n}\n","import {TuiDropdownComponent} from './dropdown.component';\nimport {TuiDropdownDirective} from './dropdown.directive';\nimport {TuiDropdownDriverDirective} from './dropdown.driver';\nimport {TuiDropdownContent} from './dropdown-content.directive';\nimport {TuiDropdownContext} from './dropdown-context.directive';\nimport {TuiDropdownHover} from './dropdown-hover.directive';\nimport {TuiDropdownManual} from './dropdown-manual.directive';\nimport {TuiDropdownOpen} from './dropdown-open.directive';\nimport {TuiDropdownOptionsDirective} from './dropdown-options.directive';\nimport {TuiDropdownPosition} from './dropdown-position.directive';\nimport {TuiDropdownPositionSided} from './dropdown-position-sided.directive';\nimport {TuiDropdownSelection} from './dropdown-selection.directive';\n\nexport const TuiDropdown = [\n TuiDropdownOptionsDirective,\n TuiDropdownDriverDirective,\n TuiDropdownDirective,\n TuiDropdownComponent,\n TuiDropdownOpen,\n TuiDropdownManual,\n TuiDropdownHover,\n TuiDropdownContent,\n TuiDropdownContext,\n TuiDropdownPosition,\n TuiDropdownPositionSided,\n TuiDropdownSelection,\n] as const;\n","import {type Signal, type WritableSignal} from '@angular/core';\nimport {tuiDirectiveBinding} from '@taiga-ui/cdk/utils/di';\nimport {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nimport {TuiDropdownDirective} from './dropdown.directive';\nimport {TuiDropdownOpen} from './dropdown-open.directive';\n\ntype C = PolymorpheusContent;\n\nexport function tuiDropdown(value: C | WritableSignal<C>): WritableSignal<C>;\nexport function tuiDropdown(value: Signal<C>): Signal<C>;\nexport function tuiDropdown(value: C | Signal<C>): Signal<C> {\n return tuiDirectiveBinding(TuiDropdownDirective, 'tuiDropdown', value, {});\n}\n\nexport function tuiDropdownEnabled(\n value: WritableSignal<boolean> | boolean,\n): WritableSignal<boolean>;\nexport function tuiDropdownEnabled(value: Signal<boolean>): Signal<boolean>;\nexport function tuiDropdownEnabled(value: Signal<boolean> | boolean): Signal<boolean> {\n return tuiDirectiveBinding(TuiDropdownOpen, 'enabled', value, {});\n}\n","import {Directive, inject} from '@angular/core';\nimport {tuiOverrideOptions} from '@taiga-ui/core/utils/miscellaneous';\n\nimport {\n TUI_DROPDOWN_DEFAULT_OPTIONS,\n TUI_DROPDOWN_OPTIONS,\n tuiDropdownOptionsProvider,\n} from './dropdown-options.directive';\n\n@Directive({\n providers: [tuiDropdownOptionsProvider({})],\n})\nexport class TuiDropdownFixed {\n constructor() {\n const override = tuiOverrideOptions(\n {limitWidth: 'fixed'},\n TUI_DROPDOWN_DEFAULT_OPTIONS,\n );\n\n override(inject(TUI_DROPDOWN_OPTIONS, {self: true, optional: true}), null);\n }\n}\n\n@Directive()\nexport class TuiDropdownAuto {\n constructor() {\n /**\n * Update directive props with new defaults before inputs are processed\n * TODO: find better way to override TuiDropdownFixed host directive from parent component\n */\n (inject(TUI_DROPDOWN_OPTIONS) as any).limitWidth = 'auto';\n }\n}\n","import {Directive} from '@angular/core';\n\nimport {TuiDropdownOpen} from './dropdown-open.directive';\n\n@Directive({\n hostDirectives: [\n {\n directive: TuiDropdownOpen,\n inputs: ['tuiDropdownOpen: open', 'tuiDropdownEnabled'],\n outputs: ['tuiDropdownOpenChange: openChange'],\n },\n ],\n})\nexport class TuiWithDropdownOpen {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1.TuiDropdownDriverDirective","i2.TuiDropdownPosition","i1","i2.TuiDropdownClose","i3","i1.TuiDropdownOpen"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKM,MAAO,iBAAkB,SAAQ,eAAwB,CAAA;AAG3D,IAAA,WAAA,GAAA;QACI,KAAK,CAAC,KAAK,CAAC;QAHA,IAAI,CAAA,IAAA,GAAG,UAAU;;+GADxB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;mHAAjB,iBAAiB,EAAA,CAAA,CAAA;;4FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAD7B;;AAUK,MAAO,0BAA2B,SAAQ,kBAAkB,CAAA;AADlE,IAAA,WAAA,GAAA;;QAEoB,IAAI,CAAA,IAAA,GAAG,UAAU;AACpC;+GAFY,0BAA0B,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAA1B,0BAA0B,EAAA,YAAA,EAAA,IAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBADtC;;;ACTD;;AAEG;AACU,MAAA,sBAAsB,GAAG,IAAI,cAAc,CACpD,SAAS,GAAG,wBAAwB,GAAG,EAAE,EACzC;AACI,IAAA,OAAO,EAAE,MAAM,oBAAoB;AACtC,CAAA;AAGQ,MAAA,oBAAoB,GAAG,IAAI,cAAc,CAClD,SAAS,GAAG,sBAAsB,GAAG,EAAE;;ACW9B,MAAA,4BAA4B,GAAuB;AAC5D,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,SAAS,EAAE,IAAI;AACf,IAA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