@taiga-ui/core 3.18.0 → 3.19.0-dev.main-9e6bc23

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 (321) hide show
  1. package/abstract/abstract-driver.directive.d.ts +9 -2
  2. package/abstract/driver.d.ts +1 -0
  3. package/abstract/position-accessor.d.ts +3 -1
  4. package/abstract/rect-accessor.d.ts +4 -1
  5. package/abstract/vehicle.d.ts +1 -0
  6. package/bundles/taiga-ui-core-abstract.umd.js +59 -29
  7. package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
  8. package/bundles/taiga-ui-core-components-alert.umd.js +14 -23
  9. package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
  10. package/bundles/taiga-ui-core-components-button.umd.js +11 -20
  11. package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
  12. package/bundles/taiga-ui-core-components-calendar.umd.js +11 -20
  13. package/bundles/taiga-ui-core-components-calendar.umd.js.map +1 -1
  14. package/bundles/taiga-ui-core-components-data-list.umd.js +20 -29
  15. package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
  16. package/bundles/taiga-ui-core-components-dialog.umd.js +20 -29
  17. package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
  18. package/bundles/taiga-ui-core-components-error.umd.js +11 -20
  19. package/bundles/taiga-ui-core-components-error.umd.js.map +1 -1
  20. package/bundles/taiga-ui-core-components-expand.umd.js +14 -23
  21. package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
  22. package/bundles/taiga-ui-core-components-group.umd.js +14 -23
  23. package/bundles/taiga-ui-core-components-group.umd.js.map +1 -1
  24. package/bundles/taiga-ui-core-components-hints-host.umd.js +7 -7
  25. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +14 -23
  26. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
  27. package/bundles/taiga-ui-core-components-label.umd.js +11 -20
  28. package/bundles/taiga-ui-core-components-label.umd.js.map +1 -1
  29. package/bundles/taiga-ui-core-components-link.umd.js +12 -21
  30. package/bundles/taiga-ui-core-components-link.umd.js.map +1 -1
  31. package/bundles/taiga-ui-core-components-loader.umd.js +11 -20
  32. package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
  33. package/bundles/taiga-ui-core-components-notification.umd.js +11 -20
  34. package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
  35. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +11 -20
  36. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +1 -1
  37. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +11 -20
  38. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
  39. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +11 -20
  40. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +1 -1
  41. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +28 -34
  42. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
  43. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js +11 -20
  44. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +1 -1
  45. package/bundles/taiga-ui-core-components-root.umd.js +11 -20
  46. package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
  47. package/bundles/taiga-ui-core-components-scroll-controls.umd.js +17 -26
  48. package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
  49. package/bundles/taiga-ui-core-components-scrollbar.umd.js +17 -26
  50. package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +1 -1
  51. package/bundles/taiga-ui-core-components-svg.umd.js +11 -20
  52. package/bundles/taiga-ui-core-components-svg.umd.js.map +1 -1
  53. package/bundles/taiga-ui-core-components-theme-night.umd.js +11 -20
  54. package/bundles/taiga-ui-core-components-theme-night.umd.js.map +1 -1
  55. package/bundles/taiga-ui-core-components-tooltip.umd.js +11 -20
  56. package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
  57. package/bundles/taiga-ui-core-directives-dropdown.umd.js +186 -147
  58. package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
  59. package/bundles/taiga-ui-core-directives-hint.umd.js +258 -212
  60. package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
  61. package/bundles/taiga-ui-core-directives-mask-accessor.umd.js +7 -7
  62. package/bundles/taiga-ui-core-directives-mode.umd.js +11 -20
  63. package/bundles/taiga-ui-core-directives-mode.umd.js.map +1 -1
  64. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js +11 -20
  65. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js.map +1 -1
  66. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +100 -54
  67. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
  68. package/bundles/taiga-ui-core-directives-wrapper.umd.js +7 -7
  69. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js +11 -20
  70. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js.map +1 -1
  71. package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js +7 -7
  72. package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js +7 -7
  73. package/bundles/taiga-ui-core-pipes-flag.umd.js +96 -0
  74. package/bundles/taiga-ui-core-pipes-flag.umd.js.map +1 -0
  75. package/bundles/taiga-ui-core-pipes-format-date.umd.js +7 -7
  76. package/bundles/taiga-ui-core-pipes-format-number.umd.js +7 -7
  77. package/bundles/taiga-ui-core-pipes-format-phone.umd.js +7 -7
  78. package/bundles/taiga-ui-core-pipes-month.umd.js +7 -7
  79. package/bundles/taiga-ui-core-pipes-order-week-days.umd.js +11 -20
  80. package/bundles/taiga-ui-core-pipes-order-week-days.umd.js.map +1 -1
  81. package/bundles/taiga-ui-core-pipes.umd.js +10 -4
  82. package/bundles/taiga-ui-core-pipes.umd.js.map +1 -1
  83. package/bundles/taiga-ui-core-services.umd.js +22 -31
  84. package/bundles/taiga-ui-core-services.umd.js.map +1 -1
  85. package/bundles/taiga-ui-core-tokens.umd.js +7 -13
  86. package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
  87. package/bundles/taiga-ui-core-utils-format.umd.js +4 -13
  88. package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
  89. package/bundles/taiga-ui-core-utils-mask.umd.js +4 -13
  90. package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
  91. package/components/primitive-textfield/primitive-textfield.component.d.ts +3 -3
  92. package/directives/dropdown/dropdown-context.directive.d.ts +1 -0
  93. package/directives/dropdown/dropdown-driver.directive.d.ts +5 -2
  94. package/directives/dropdown/dropdown-host.directive.d.ts +1 -0
  95. package/directives/dropdown/dropdown-hover.directive.d.ts +1 -0
  96. package/directives/dropdown/dropdown-manual.directive.d.ts +1 -0
  97. package/directives/dropdown/dropdown-position-sided.directive.d.ts +4 -3
  98. package/directives/dropdown/dropdown-position.directive.d.ts +7 -3
  99. package/directives/dropdown/dropdown-selection.directive.d.ts +1 -0
  100. package/directives/dropdown/dropdown.directive.d.ts +7 -4
  101. package/directives/hint/hint-describe.directive.d.ts +3 -5
  102. package/directives/hint/hint-driver.directive.d.ts +5 -2
  103. package/directives/hint/hint-host.directive.d.ts +1 -0
  104. package/directives/hint/hint-hover.directive.d.ts +2 -0
  105. package/directives/hint/hint-manual.directive.d.ts +3 -1
  106. package/directives/hint/hint-position.directive.d.ts +6 -3
  107. package/directives/hint/hint.directive.d.ts +3 -2
  108. package/directives/textfield-controller/index.d.ts +1 -0
  109. package/directives/textfield-controller/textfield-appearance.directive.d.ts +9 -0
  110. package/directives/textfield-controller/textfield-controller.module.d.ts +11 -10
  111. package/directives/textfield-controller/textfield.controller.d.ts +5 -1
  112. package/esm2015/abstract/abstract-driver.directive.js +18 -10
  113. package/esm2015/abstract/abstract-textfield-host.js +3 -3
  114. package/esm2015/abstract/driver.js +2 -1
  115. package/esm2015/abstract/position-accessor.js +10 -1
  116. package/esm2015/abstract/rect-accessor.js +14 -1
  117. package/esm2015/abstract/vehicle.js +2 -1
  118. package/esm2015/components/alert/alert.component.js +3 -3
  119. package/esm2015/components/alert/alert.module.js +4 -4
  120. package/esm2015/components/alert/alert.service.js +3 -3
  121. package/esm2015/components/button/button.component.js +3 -3
  122. package/esm2015/components/button/button.module.js +4 -4
  123. package/esm2015/components/calendar/calendar.component.js +3 -3
  124. package/esm2015/components/calendar/calendar.module.js +4 -4
  125. package/esm2015/components/data-list/data-list.component.js +3 -3
  126. package/esm2015/components/data-list/data-list.directive.js +3 -3
  127. package/esm2015/components/data-list/data-list.module.js +4 -4
  128. package/esm2015/components/data-list/opt-group.directive.js +3 -3
  129. package/esm2015/components/data-list/option/option.component.js +3 -3
  130. package/esm2015/components/dialog/dialog-close.service.js +3 -3
  131. package/esm2015/components/dialog/dialog.component.js +3 -3
  132. package/esm2015/components/dialog/dialog.directive.js +3 -3
  133. package/esm2015/components/dialog/dialog.module.js +4 -4
  134. package/esm2015/components/dialog/dialog.service.js +3 -3
  135. package/esm2015/components/error/error.component.js +3 -3
  136. package/esm2015/components/error/error.module.js +4 -4
  137. package/esm2015/components/expand/expand-content.directive.js +3 -3
  138. package/esm2015/components/expand/expand.component.js +3 -3
  139. package/esm2015/components/expand/expand.module.js +4 -4
  140. package/esm2015/components/group/group-styles.component.js +3 -3
  141. package/esm2015/components/group/group.directive.js +3 -3
  142. package/esm2015/components/group/group.module.js +4 -4
  143. package/esm2015/components/hints-host/hints-host.component.js +3 -3
  144. package/esm2015/components/hints-host/hints-host.module.js +4 -4
  145. package/esm2015/components/hosted-dropdown/hosted-dropdown-connector.directive.js +3 -3
  146. package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +3 -3
  147. package/esm2015/components/hosted-dropdown/hosted-dropdown.module.js +4 -4
  148. package/esm2015/components/label/label.component.js +3 -3
  149. package/esm2015/components/label/label.module.js +4 -4
  150. package/esm2015/components/link/link.component.js +4 -4
  151. package/esm2015/components/link/link.module.js +4 -4
  152. package/esm2015/components/loader/loader.component.js +3 -3
  153. package/esm2015/components/loader/loader.module.js +4 -4
  154. package/esm2015/components/notification/notification.component.js +3 -3
  155. package/esm2015/components/notification/notification.module.js +4 -4
  156. package/esm2015/components/primitive-calendar/primitive-calendar.component.js +3 -3
  157. package/esm2015/components/primitive-calendar/primitive-calendar.module.js +4 -4
  158. package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +3 -3
  159. package/esm2015/components/primitive-checkbox/primitive-checkbox.module.js +4 -4
  160. package/esm2015/components/primitive-spin-button/primitive-spin-button.component.js +3 -3
  161. package/esm2015/components/primitive-spin-button/primitive-spin-button.module.js +4 -4
  162. package/esm2015/components/primitive-textfield/primitive-textfield.component.js +9 -10
  163. package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +3 -3
  164. package/esm2015/components/primitive-textfield/primitive-textfield.module.js +4 -4
  165. package/esm2015/components/primitive-textfield/textfield/textfield.component.js +3 -3
  166. package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +3 -3
  167. package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +3 -3
  168. package/esm2015/components/primitive-year-picker/primitive-year-picker.module.js +4 -4
  169. package/esm2015/components/root/root.component.js +3 -3
  170. package/esm2015/components/root/root.module.js +4 -4
  171. package/esm2015/components/scroll-controls/scroll-controls.component.js +3 -3
  172. package/esm2015/components/scroll-controls/scroll-controls.module.js +4 -4
  173. package/esm2015/components/scroll-controls/scrollbar-wrapper.directive.js +3 -3
  174. package/esm2015/components/scroll-controls/scrollbar.directive.js +3 -3
  175. package/esm2015/components/scrollbar/scroll-ref.directive.js +3 -3
  176. package/esm2015/components/scrollbar/scrollable.directive.js +3 -3
  177. package/esm2015/components/scrollbar/scrollbar.component.js +3 -3
  178. package/esm2015/components/scrollbar/scrollbar.module.js +4 -4
  179. package/esm2015/components/svg/svg.component.js +3 -3
  180. package/esm2015/components/svg/svg.module.js +4 -4
  181. package/esm2015/components/theme-night/theme-night.component.js +3 -3
  182. package/esm2015/components/theme-night/theme-night.module.js +4 -4
  183. package/esm2015/components/tooltip/tooltip.component.js +3 -3
  184. package/esm2015/components/tooltip/tooltip.module.js +4 -4
  185. package/esm2015/directives/dropdown/dropdown-context.directive.js +5 -4
  186. package/esm2015/directives/dropdown/dropdown-driver.directive.js +24 -7
  187. package/esm2015/directives/dropdown/dropdown-host.directive.js +8 -4
  188. package/esm2015/directives/dropdown/dropdown-hover.directive.js +5 -4
  189. package/esm2015/directives/dropdown/dropdown-manual.directive.js +7 -6
  190. package/esm2015/directives/dropdown/dropdown-options.directive.js +3 -3
  191. package/esm2015/directives/dropdown/dropdown-position-sided.directive.js +15 -14
  192. package/esm2015/directives/dropdown/dropdown-position.directive.js +28 -11
  193. package/esm2015/directives/dropdown/dropdown-selection.directive.js +5 -4
  194. package/esm2015/directives/dropdown/dropdown.component.js +21 -11
  195. package/esm2015/directives/dropdown/dropdown.directive.js +16 -21
  196. package/esm2015/directives/dropdown/dropdown.module.js +4 -4
  197. package/esm2015/directives/hint/hint-describe.directive.js +7 -13
  198. package/esm2015/directives/hint/hint-driver.directive.js +24 -7
  199. package/esm2015/directives/hint/hint-host.directive.js +8 -4
  200. package/esm2015/directives/hint/hint-hover.directive.js +8 -6
  201. package/esm2015/directives/hint/hint-manual.directive.js +14 -7
  202. package/esm2015/directives/hint/hint-options.directive.js +3 -3
  203. package/esm2015/directives/hint/hint-pointer.directive.js +3 -3
  204. package/esm2015/directives/hint/hint-position.directive.js +25 -11
  205. package/esm2015/directives/hint/hint.component.js +20 -6
  206. package/esm2015/directives/hint/hint.directive.js +6 -4
  207. package/esm2015/directives/hint/hint.module.js +4 -4
  208. package/esm2015/directives/hint/hint.providers.js +2 -1
  209. package/esm2015/directives/mask-accessor/mask-accessor.directive.js +3 -3
  210. package/esm2015/directives/mask-accessor/mask-accessor.module.js +4 -4
  211. package/esm2015/directives/mode/mode.directive.js +3 -3
  212. package/esm2015/directives/mode/mode.module.js +4 -4
  213. package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +3 -3
  214. package/esm2015/directives/scroll-into-view/scroll-into-view.module.js +4 -4
  215. package/esm2015/directives/textfield-controller/index.js +2 -1
  216. package/esm2015/directives/textfield-controller/textfield-appearance.directive.js +38 -0
  217. package/esm2015/directives/textfield-controller/textfield-cleaner.directive.js +3 -3
  218. package/esm2015/directives/textfield-controller/textfield-controller.module.js +11 -6
  219. package/esm2015/directives/textfield-controller/textfield-controller.provider.js +7 -3
  220. package/esm2015/directives/textfield-controller/textfield-custom-content.directive.js +3 -3
  221. package/esm2015/directives/textfield-controller/textfield-filler.directive.js +3 -3
  222. package/esm2015/directives/textfield-controller/textfield-icon-left.directive.js +3 -3
  223. package/esm2015/directives/textfield-controller/textfield-icon.directive.js +3 -3
  224. package/esm2015/directives/textfield-controller/textfield-label-outside.directive.js +3 -3
  225. package/esm2015/directives/textfield-controller/textfield-postfix.directive.js +3 -3
  226. package/esm2015/directives/textfield-controller/textfield-prefix.directive.js +3 -3
  227. package/esm2015/directives/textfield-controller/textfield-size.directive.js +3 -3
  228. package/esm2015/directives/textfield-controller/textfield.controller.js +7 -2
  229. package/esm2015/directives/wrapper/wrapper.directive.js +3 -3
  230. package/esm2015/directives/wrapper/wrapper.module.js +4 -4
  231. package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +3 -3
  232. package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.js +4 -4
  233. package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +3 -3
  234. package/esm2015/internal/svg-defs-host/svg-defs-host.module.js +4 -4
  235. package/esm2015/pipes/calendar-sheet/calendar-sheet.module.js +4 -4
  236. package/esm2015/pipes/calendar-sheet/calendar-sheet.pipe.js +3 -3
  237. package/esm2015/pipes/flag/flag.module.js +16 -0
  238. package/esm2015/pipes/flag/flag.pipe.js +44 -0
  239. package/esm2015/pipes/flag/index.js +3 -0
  240. package/esm2015/pipes/flag/taiga-ui-core-pipes-flag.js +5 -0
  241. package/esm2015/pipes/format-date/format-date.module.js +4 -4
  242. package/esm2015/pipes/format-date/format-date.pipe.js +3 -3
  243. package/esm2015/pipes/format-number/format-number.module.js +4 -4
  244. package/esm2015/pipes/format-number/format-number.pipe.js +3 -3
  245. package/esm2015/pipes/format-phone/format-phone.module.js +4 -4
  246. package/esm2015/pipes/format-phone/format-phone.pipe.js +3 -3
  247. package/esm2015/pipes/index.js +2 -1
  248. package/esm2015/pipes/month/month.module.js +4 -4
  249. package/esm2015/pipes/month/month.pipe.js +3 -3
  250. package/esm2015/pipes/order-week-days/order-week-days.module.js +4 -4
  251. package/esm2015/pipes/order-week-days/order-week-days.pipe.js +3 -3
  252. package/esm2015/services/format-date.service.js +3 -3
  253. package/esm2015/services/hint.service.js +3 -3
  254. package/esm2015/services/night-theme.service.js +3 -3
  255. package/esm2015/services/position.service.js +3 -3
  256. package/esm2015/services/router-link-active.service.js +3 -3
  257. package/esm2015/services/svg.service.js +3 -3
  258. package/esm2015/tokens/textfield-appearance.js +3 -1
  259. package/esm2015/tokens/viewport.js +2 -1
  260. package/fesm2015/taiga-ui-core-abstract.js +45 -15
  261. package/fesm2015/taiga-ui-core-abstract.js.map +1 -1
  262. package/fesm2015/taiga-ui-core-components-alert.js +10 -10
  263. package/fesm2015/taiga-ui-core-components-button.js +7 -7
  264. package/fesm2015/taiga-ui-core-components-calendar.js +7 -7
  265. package/fesm2015/taiga-ui-core-components-data-list.js +16 -16
  266. package/fesm2015/taiga-ui-core-components-dialog.js +16 -16
  267. package/fesm2015/taiga-ui-core-components-error.js +7 -7
  268. package/fesm2015/taiga-ui-core-components-expand.js +10 -10
  269. package/fesm2015/taiga-ui-core-components-group.js +10 -10
  270. package/fesm2015/taiga-ui-core-components-hints-host.js +7 -7
  271. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +10 -10
  272. package/fesm2015/taiga-ui-core-components-label.js +7 -7
  273. package/fesm2015/taiga-ui-core-components-link.js +8 -8
  274. package/fesm2015/taiga-ui-core-components-link.js.map +1 -1
  275. package/fesm2015/taiga-ui-core-components-loader.js +7 -7
  276. package/fesm2015/taiga-ui-core-components-notification.js +7 -7
  277. package/fesm2015/taiga-ui-core-components-primitive-calendar.js +7 -7
  278. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +7 -7
  279. package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +7 -7
  280. package/fesm2015/taiga-ui-core-components-primitive-textfield.js +21 -22
  281. package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
  282. package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +7 -7
  283. package/fesm2015/taiga-ui-core-components-root.js +7 -7
  284. package/fesm2015/taiga-ui-core-components-scroll-controls.js +13 -13
  285. package/fesm2015/taiga-ui-core-components-scrollbar.js +13 -13
  286. package/fesm2015/taiga-ui-core-components-svg.js +7 -7
  287. package/fesm2015/taiga-ui-core-components-theme-night.js +7 -7
  288. package/fesm2015/taiga-ui-core-components-tooltip.js +7 -7
  289. package/fesm2015/taiga-ui-core-directives-dropdown.js +123 -81
  290. package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
  291. package/fesm2015/taiga-ui-core-directives-hint.js +205 -156
  292. package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
  293. package/fesm2015/taiga-ui-core-directives-mask-accessor.js +7 -7
  294. package/fesm2015/taiga-ui-core-directives-mode.js +7 -7
  295. package/fesm2015/taiga-ui-core-directives-scroll-into-view.js +7 -7
  296. package/fesm2015/taiga-ui-core-directives-textfield-controller.js +83 -36
  297. package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +1 -1
  298. package/fesm2015/taiga-ui-core-directives-wrapper.js +7 -7
  299. package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js +7 -7
  300. package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +7 -7
  301. package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js +7 -7
  302. package/fesm2015/taiga-ui-core-pipes-flag.js +64 -0
  303. package/fesm2015/taiga-ui-core-pipes-flag.js.map +1 -0
  304. package/fesm2015/taiga-ui-core-pipes-format-date.js +7 -7
  305. package/fesm2015/taiga-ui-core-pipes-format-number.js +7 -7
  306. package/fesm2015/taiga-ui-core-pipes-format-phone.js +7 -7
  307. package/fesm2015/taiga-ui-core-pipes-month.js +7 -7
  308. package/fesm2015/taiga-ui-core-pipes-order-week-days.js +7 -7
  309. package/fesm2015/taiga-ui-core-pipes.js +1 -0
  310. package/fesm2015/taiga-ui-core-pipes.js.map +1 -1
  311. package/fesm2015/taiga-ui-core-services.js +18 -18
  312. package/fesm2015/taiga-ui-core-tokens.js +3 -0
  313. package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
  314. package/package.json +4 -4
  315. package/pipes/flag/flag.module.d.ts +7 -0
  316. package/pipes/flag/flag.pipe.d.ts +13 -0
  317. package/pipes/flag/index.d.ts +2 -0
  318. package/pipes/flag/package.json +10 -0
  319. package/pipes/flag/taiga-ui-core-pipes-flag.d.ts +5 -0
  320. package/pipes/index.d.ts +1 -0
  321. package/tokens/textfield-appearance.d.ts +1 -0
@@ -4,16 +4,16 @@ import { WINDOW } from '@ng-web-apis/common';
4
4
  import * as i2 from '@taiga-ui/cdk';
5
5
  import { TuiDropdownPortalService, tuiDefaultProp, tuiPure, TuiHoveredService, tuiPx, tuiGetClosestFocusable, TuiDestroyService, AbstractTuiPortalHostComponent, EMPTY_CLIENT_RECT, tuiPointToClientRect, TuiActiveZoneDirective, ALWAYS_TRUE_HANDLER, tuiIsTextNode, tuiIsString, tuiIsElement, tuiGetNativeFocused, tuiIsTextfield, CHAR_ZERO_WIDTH_SPACE, CHAR_NO_BREAK_SPACE, TUI_RANGE, TuiActiveZoneModule, TuiOverscrollModule, TuiHoveredModule } from '@taiga-ui/cdk';
6
6
  import * as i1$2 from '@taiga-ui/core/abstract';
7
- import { tuiAsRectAccessor, tuiAsVehicle, TuiDriver, tuiAsDriver, TuiRectAccessor, AbstractTuiDriverDirective, tuiAsPositionAccessor } from '@taiga-ui/core/abstract';
7
+ import { tuiAsRectAccessor, tuiAsVehicle, TuiDriver, tuiAsDriver, TuiRectAccessor, tuiPositionAccessorFor, tuiRectAccessorFor, AbstractTuiDriverDirective, TuiVehicle, TuiPositionAccessor, tuiFallbackRectAccessor, tuiAsPositionAccessor } from '@taiga-ui/core/abstract';
8
8
  import { tuiDropdownAnimation } from '@taiga-ui/core/animations';
9
9
  import { TuiPositionService } from '@taiga-ui/core/services';
10
10
  import { TUI_ANIMATION_OPTIONS, TUI_VIEWPORT, TUI_SELECTION_STREAM } from '@taiga-ui/core/tokens';
11
11
  import { switchMap, delay, tap, share, takeUntil, map, distinctUntilChanged } from 'rxjs/operators';
12
12
  import { __decorate } from 'tslib';
13
13
  import { tuiCheckFixedPosition, tuiOverrideOptions, tuiGetWordRange } from '@taiga-ui/core/utils';
14
- import * as i1 from '@tinkoff/ng-polymorpheus';
14
+ import * as i4 from '@tinkoff/ng-polymorpheus';
15
15
  import { PolymorpheusComponent, PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
16
- import * as i5 from 'rxjs';
16
+ import * as i1 from 'rxjs';
17
17
  import { Subject, merge, of, BehaviorSubject, combineLatest } from 'rxjs';
18
18
  import * as i1$1 from '@taiga-ui/core/components/scrollbar';
19
19
  import { TuiScrollbarModule } from '@taiga-ui/core/components/scrollbar';
@@ -27,12 +27,15 @@ const TUI_DROPDOWN_COMPONENT = new InjectionToken(`[TUI_DROPDOWN_COMPONENT] A co
27
27
  });
28
28
 
29
29
  class TuiDropdownDirective {
30
- constructor(elementRef, component, dropdownService) {
30
+ constructor(elementRef, hapica, injector, dropdownService) {
31
31
  this.elementRef = elementRef;
32
- this.component = component;
32
+ this.hapica = hapica;
33
+ this.injector = injector;
33
34
  this.dropdownService = dropdownService;
34
35
  this.content = '';
35
36
  this.dropdownBoxRef = null;
37
+ this.type = 'dropdown';
38
+ this.component = new PolymorpheusComponent(this.hapica, this.injector);
36
39
  }
37
40
  get position() {
38
41
  return tuiCheckFixedPosition(this.elementRef.nativeElement)
@@ -65,15 +68,10 @@ class TuiDropdownDirective {
65
68
  }
66
69
  }
67
70
  }
68
- TuiDropdownDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownDirective, deps: [{ token: ElementRef }, { token: PolymorpheusComponent }, { token: TuiDropdownPortalService }], target: i0.ɵɵFactoryTarget.Directive });
69
- TuiDropdownDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container)", inputs: { content: ["tuiDropdown", "content"] }, providers: [
71
+ TuiDropdownDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownDirective, deps: [{ token: ElementRef }, { token: TUI_DROPDOWN_COMPONENT }, { token: INJECTOR }, { token: TuiDropdownPortalService }], target: i0.ɵɵFactoryTarget.Directive });
72
+ TuiDropdownDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container)", inputs: { content: ["tuiDropdown", "content"] }, providers: [
70
73
  tuiAsRectAccessor(TuiDropdownDirective),
71
74
  tuiAsVehicle(TuiDropdownDirective),
72
- {
73
- provide: PolymorpheusComponent,
74
- deps: [TUI_DROPDOWN_COMPONENT, INJECTOR],
75
- useClass: PolymorpheusComponent,
76
- },
77
75
  ], exportAs: ["tuiDropdown"], usesOnChanges: true, ngImport: i0 });
78
76
  __decorate([
79
77
  tuiDefaultProp()
@@ -81,7 +79,7 @@ __decorate([
81
79
  __decorate([
82
80
  tuiPure
83
81
  ], TuiDropdownDirective.prototype, "position", null);
84
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownDirective, decorators: [{
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownDirective, decorators: [{
85
83
  type: Directive,
86
84
  args: [{
87
85
  selector: '[tuiDropdown]:not(ng-container)',
@@ -89,19 +87,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
89
87
  providers: [
90
88
  tuiAsRectAccessor(TuiDropdownDirective),
91
89
  tuiAsVehicle(TuiDropdownDirective),
92
- {
93
- provide: PolymorpheusComponent,
94
- deps: [TUI_DROPDOWN_COMPONENT, INJECTOR],
95
- useClass: PolymorpheusComponent,
96
- },
97
90
  ],
98
91
  }]
99
92
  }], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
100
93
  type: Inject,
101
94
  args: [ElementRef]
102
- }] }, { type: i1.PolymorpheusComponent, decorators: [{
95
+ }] }, { type: i0.Type, decorators: [{
96
+ type: Inject,
97
+ args: [TUI_DROPDOWN_COMPONENT]
98
+ }] }, { type: i0.Injector, decorators: [{
103
99
  type: Inject,
104
- args: [PolymorpheusComponent]
100
+ args: [INJECTOR]
105
101
  }] }, { type: i2.TuiDropdownPortalService, decorators: [{
106
102
  type: Inject,
107
103
  args: [TuiDropdownPortalService]
@@ -135,26 +131,27 @@ class TuiDropdownHoverDirective extends TuiDriver {
135
131
  this.showDelay = this.options.showDelay;
136
132
  this.hideDelay = this.options.hideDelay;
137
133
  this.hovered = false;
134
+ this.type = 'dropdown';
138
135
  }
139
136
  toggle(visible) {
140
137
  this.toggle$.next(visible);
141
138
  }
142
139
  }
143
- TuiDropdownHoverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownHoverDirective, deps: [{ token: TuiHoveredService }, { token: TUI_DROPDOWN_HOVER_OPTIONS }], target: i0.ɵɵFactoryTarget.Directive });
144
- TuiDropdownHoverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownHoverDirective, selector: "[tuiDropdownHover]:not(ng-container)", inputs: { showDelay: ["tuiDropdownShowDelay", "showDelay"], hideDelay: ["tuiDropdownHideDelay", "hideDelay"] }, providers: [tuiAsDriver(TuiDropdownHoverDirective), TuiHoveredService], usesInheritance: true, ngImport: i0 });
140
+ TuiDropdownHoverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownHoverDirective, deps: [{ token: TuiHoveredService }, { token: TUI_DROPDOWN_HOVER_OPTIONS }], target: i0.ɵɵFactoryTarget.Directive });
141
+ TuiDropdownHoverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiDropdownHoverDirective, selector: "[tuiDropdownHover]:not(ng-container)", inputs: { showDelay: ["tuiDropdownShowDelay", "showDelay"], hideDelay: ["tuiDropdownHideDelay", "hideDelay"] }, providers: [tuiAsDriver(TuiDropdownHoverDirective), TuiHoveredService], usesInheritance: true, ngImport: i0 });
145
142
  __decorate([
146
143
  tuiDefaultProp()
147
144
  ], TuiDropdownHoverDirective.prototype, "showDelay", void 0);
148
145
  __decorate([
149
146
  tuiDefaultProp()
150
147
  ], TuiDropdownHoverDirective.prototype, "hideDelay", void 0);
151
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownHoverDirective, decorators: [{
148
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownHoverDirective, decorators: [{
152
149
  type: Directive,
153
150
  args: [{
154
151
  selector: '[tuiDropdownHover]:not(ng-container)',
155
152
  providers: [tuiAsDriver(TuiDropdownHoverDirective), TuiHoveredService],
156
153
  }]
157
- }], ctorParameters: function () { return [{ type: i5.Observable, decorators: [{
154
+ }], ctorParameters: function () { return [{ type: i1.Observable, decorators: [{
158
155
  type: Inject,
159
156
  args: [TuiHoveredService]
160
157
  }] }, { type: undefined, decorators: [{
@@ -199,8 +196,8 @@ class TuiDropdownOptionsDirective {
199
196
  this.offset = this.options.offset;
200
197
  }
201
198
  }
202
- TuiDropdownOptionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownOptionsDirective, deps: [{ token: TUI_DROPDOWN_OPTIONS, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
203
- TuiDropdownOptionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownOptionsDirective, selector: "[tuiDropdownAlign], [tuiDropdownDirection], [tuiDropdownLimitWidth], [tuiDropdownMinHeight], [tuiDropdownMaxHeight], [tuiDropdownOffset]", inputs: { align: ["tuiDropdownAlign", "align"], direction: ["tuiDropdownDirection", "direction"], limitWidth: ["tuiDropdownLimitWidth", "limitWidth"], minHeight: ["tuiDropdownMinHeight", "minHeight"], maxHeight: ["tuiDropdownMaxHeight", "maxHeight"], offset: ["tuiDropdownOffset", "offset"] }, providers: [
199
+ TuiDropdownOptionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownOptionsDirective, deps: [{ token: TUI_DROPDOWN_OPTIONS, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
200
+ TuiDropdownOptionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiDropdownOptionsDirective, selector: "[tuiDropdownAlign], [tuiDropdownDirection], [tuiDropdownLimitWidth], [tuiDropdownMinHeight], [tuiDropdownMaxHeight], [tuiDropdownOffset]", inputs: { align: ["tuiDropdownAlign", "align"], direction: ["tuiDropdownDirection", "direction"], limitWidth: ["tuiDropdownLimitWidth", "limitWidth"], minHeight: ["tuiDropdownMinHeight", "minHeight"], maxHeight: ["tuiDropdownMaxHeight", "maxHeight"], offset: ["tuiDropdownOffset", "offset"] }, providers: [
204
201
  {
205
202
  provide: TUI_DROPDOWN_OPTIONS,
206
203
  useExisting: forwardRef(() => TuiDropdownOptionsDirective),
@@ -224,7 +221,7 @@ __decorate([
224
221
  __decorate([
225
222
  tuiDefaultProp()
226
223
  ], TuiDropdownOptionsDirective.prototype, "offset", void 0);
227
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownOptionsDirective, decorators: [{
224
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownOptionsDirective, decorators: [{
228
225
  type: Directive,
229
226
  args: [{
230
227
  selector: '[tuiDropdownAlign], [tuiDropdownDirection], [tuiDropdownLimitWidth], [tuiDropdownMinHeight], [tuiDropdownMaxHeight], [tuiDropdownOffset]',
@@ -332,34 +329,44 @@ class TuiDropdownComponent {
332
329
  }
333
330
  }
334
331
  moveFocusOutside(previous) {
335
- const host = document.createElement('div');
336
- const { ownerDocument } = host;
337
- const root = ownerDocument ? ownerDocument.body : host;
338
- let focusable = tuiGetClosestFocusable({ initial: host, root, previous });
339
- while (focusable !== null && host.contains(focusable)) {
332
+ const { nativeElement } = this.directive.elementRef;
333
+ const { ownerDocument } = nativeElement;
334
+ const root = ownerDocument ? ownerDocument.body : nativeElement;
335
+ let focusable = tuiGetClosestFocusable({ initial: nativeElement, root, previous });
336
+ while (focusable !== null && nativeElement.contains(focusable)) {
340
337
  focusable = tuiGetClosestFocusable({ initial: focusable, root, previous });
341
338
  }
342
339
  focusable === null || focusable === void 0 ? void 0 : focusable.focus();
343
340
  }
344
341
  }
345
- TuiDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownComponent, deps: [{ token: TuiPositionService }, { token: TuiDestroyService, self: true }, { token: TuiDropdownDirective }, { token: ElementRef }, { token: AbstractTuiPortalHostComponent }, { token: TuiRectAccessor }, { token: WINDOW }, { token: TUI_ANIMATION_OPTIONS }, { token: TUI_DROPDOWN_OPTIONS }, { token: TuiDropdownHoverDirective, optional: true }], target: i0.ɵɵFactoryTarget.Component });
346
- TuiDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownComponent, selector: "tui-dropdown", host: { properties: { "@tuiDropdownAnimation": "this.dropdownAnimation" } }, providers: [TuiDestroyService, TuiPositionService], ngImport: i0, template: "<div\n #activeZone=\"tuiActiveZone\"\n tuiActiveZone\n tuiOverscroll=\"all\"\n class=\"t-wrapper\"\n [tuiMode]=\"null\"\n (tuiHoveredChange)=\"onHoveredChange($event)\"\n>\n <tui-scrollbar class=\"t-scroll\">\n <div\n tabindex=\"0\"\n (focus)=\"onTopFocus()\"\n ></div>\n <div\n *polymorpheusOutlet=\"directive.content as text; context: {$implicit: activeZone}\"\n class=\"t-primitive\"\n >\n {{ text }}\n </div>\n <div\n tabindex=\"0\"\n (focus)=\"onBottomFocus()\"\n ></div>\n </tui-scrollbar>\n</div>\n", styles: [":host{position:relative;z-index:0;box-shadow:0 1.5rem 1rem rgba(0,0,0,.03),0 .75rem .75rem rgba(0,0,0,.04),0 .25rem .375rem rgba(0,0,0,.05);position:absolute;display:flex;background-color:var(--tui-elevation-01);border-radius:var(--tui-radius-m);overflow:hidden;border:1px solid var(--tui-base-04);box-sizing:border-box;max-width:calc(100% - 8px)}:host.ng-animating{pointer-events:none}:host:not([style*=\"top\"]){visibility:hidden}.t-wrapper{flex-grow:1;max-width:100%;max-height:inherit;overflow:visible}.t-scroll{height:100%}.t-primitive{padding:1rem}\n"], components: [{ type: i1$1.TuiScrollbarComponent, selector: "tui-scrollbar", inputs: ["hidden"] }], directives: [{ type: i2.TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }, { type: i2.TuiOverscrollDirective, selector: "[tuiOverscroll]", inputs: ["tuiOverscroll"] }, { type: i3.TuiModeDirective, selector: "[tuiMode]", inputs: ["tuiMode"] }, { type: i2.TuiHoveredDirective, selector: "[tuiHoveredChange]", outputs: ["tuiHoveredChange"] }, { type: i1.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [tuiDropdownAnimation], changeDetection: i0.ChangeDetectionStrategy.Default });
347
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownComponent, decorators: [{
342
+ TuiDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownComponent, deps: [{ token: TuiPositionService }, { token: TuiDestroyService, self: true }, { token: TuiDropdownDirective }, { token: ElementRef }, { token: AbstractTuiPortalHostComponent }, { token: TuiRectAccessor }, { token: WINDOW }, { token: TUI_ANIMATION_OPTIONS }, { token: TUI_DROPDOWN_OPTIONS }, { token: TuiDropdownHoverDirective, optional: true }], target: i0.ɵɵFactoryTarget.Component });
343
+ TuiDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiDropdownComponent, selector: "tui-dropdown", host: { properties: { "@tuiDropdownAnimation": "this.dropdownAnimation" } }, providers: [
344
+ TuiDestroyService,
345
+ TuiPositionService,
346
+ tuiPositionAccessorFor('dropdown'),
347
+ tuiRectAccessorFor('dropdown', TuiDropdownDirective),
348
+ ], ngImport: i0, template: "<div\n #activeZone=\"tuiActiveZone\"\n tuiActiveZone\n tuiOverscroll=\"all\"\n class=\"t-wrapper\"\n [tuiMode]=\"null\"\n (tuiHoveredChange)=\"onHoveredChange($event)\"\n>\n <tui-scrollbar class=\"t-scroll\">\n <div\n tabindex=\"0\"\n (focus)=\"onTopFocus()\"\n ></div>\n <div\n *polymorpheusOutlet=\"directive.content as text; context: {$implicit: activeZone}\"\n class=\"t-primitive\"\n >\n {{ text }}\n </div>\n <div\n tabindex=\"0\"\n (focus)=\"onBottomFocus()\"\n ></div>\n </tui-scrollbar>\n</div>\n", styles: [":host{position:relative;z-index:0;box-shadow:0 1.5rem 1rem rgba(0,0,0,.03),0 .75rem .75rem rgba(0,0,0,.04),0 .25rem .375rem rgba(0,0,0,.05);position:absolute;display:flex;background-color:var(--tui-elevation-01);border-radius:var(--tui-radius-m);overflow:hidden;border:1px solid var(--tui-base-04);box-sizing:border-box;max-width:calc(100% - 8px)}:host.ng-animating{pointer-events:none}:host:not([style*=\"top\"]){visibility:hidden}.t-wrapper{flex-grow:1;max-width:100%;max-height:inherit;overflow:visible}.t-scroll{height:100%}.t-primitive{padding:1rem}\n"], components: [{ type: i1$1.TuiScrollbarComponent, selector: "tui-scrollbar", inputs: ["hidden"] }], directives: [{ type: i2.TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }, { type: i2.TuiOverscrollDirective, selector: "[tuiOverscroll]", inputs: ["tuiOverscroll"] }, { type: i3.TuiModeDirective, selector: "[tuiMode]", inputs: ["tuiMode"] }, { type: i2.TuiHoveredDirective, selector: "[tuiHoveredChange]", outputs: ["tuiHoveredChange"] }, { type: i4.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [tuiDropdownAnimation], changeDetection: i0.ChangeDetectionStrategy.Default });
349
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownComponent, decorators: [{
348
350
  type: Component,
349
351
  args: [{
350
352
  selector: 'tui-dropdown',
351
353
  templateUrl: './dropdown.template.html',
352
354
  styleUrls: ['./dropdown.style.less'],
353
- providers: [TuiDestroyService, TuiPositionService],
355
+ providers: [
356
+ TuiDestroyService,
357
+ TuiPositionService,
358
+ tuiPositionAccessorFor('dropdown'),
359
+ tuiRectAccessorFor('dropdown', TuiDropdownDirective),
360
+ ],
354
361
  animations: [tuiDropdownAnimation],
355
362
  // @bad TODO: OnPush
356
363
  // eslint-disable-next-line @angular-eslint/prefer-on-push-component-change-detection
357
364
  changeDetection: ChangeDetectionStrategy.Default,
358
365
  }]
359
- }], ctorParameters: function () { return [{ type: i5.Observable, decorators: [{
366
+ }], ctorParameters: function () { return [{ type: i1.Observable, decorators: [{
360
367
  type: Inject,
361
368
  args: [TuiPositionService]
362
- }] }, { type: i5.Observable, decorators: [{
369
+ }] }, { type: i1.Observable, decorators: [{
363
370
  type: Self
364
371
  }, {
365
372
  type: Inject,
@@ -404,6 +411,7 @@ class TuiDropdownContextDirective extends TuiDriver {
404
411
  this.activeZone = activeZone;
405
412
  this.stream$ = new Subject();
406
413
  this.currentRect = EMPTY_CLIENT_RECT;
414
+ this.type = 'dropdown';
407
415
  }
408
416
  onContextMenu(x, y) {
409
417
  this.currentRect = tuiPointToClientRect(x, y);
@@ -416,8 +424,8 @@ class TuiDropdownContextDirective extends TuiDriver {
416
424
  return this.currentRect;
417
425
  }
418
426
  }
419
- TuiDropdownContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownContextDirective, deps: [{ token: TuiActiveZoneDirective }], target: i0.ɵɵFactoryTarget.Directive });
420
- TuiDropdownContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownContextDirective, selector: "[tuiDropdown][tuiDropdownContext]", host: { listeners: { "contextmenu.prevent.stop": "onContextMenu($event.clientX,$event.clientY)", "document:click.silent": "closeDropdown($event.target)", "document:contextmenu.capture.silent": "closeDropdown($event.target)", "document:keydown.esc": "closeDropdown($event.currentTarget)" } }, providers: [
427
+ TuiDropdownContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownContextDirective, deps: [{ token: TuiActiveZoneDirective }], target: i0.ɵɵFactoryTarget.Directive });
428
+ TuiDropdownContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiDropdownContextDirective, selector: "[tuiDropdown][tuiDropdownContext]", host: { listeners: { "contextmenu.prevent.stop": "onContextMenu($event.clientX,$event.clientY)", "document:click.silent": "closeDropdown($event.target)", "document:contextmenu.capture.silent": "closeDropdown($event.target)", "document:keydown.esc": "closeDropdown($event.currentTarget)" } }, providers: [
421
429
  TuiActiveZoneDirective,
422
430
  tuiAsDriver(TuiDropdownContextDirective),
423
431
  tuiAsRectAccessor(TuiDropdownContextDirective),
@@ -425,7 +433,7 @@ TuiDropdownContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.
425
433
  __decorate([
426
434
  shouldCall(activeZoneFilter)
427
435
  ], TuiDropdownContextDirective.prototype, "closeDropdown", null);
428
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownContextDirective, decorators: [{
436
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownContextDirective, decorators: [{
429
437
  type: Directive,
430
438
  args: [{
431
439
  selector: '[tuiDropdown][tuiDropdownContext]',
@@ -453,26 +461,46 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
453
461
  }] } });
454
462
 
455
463
  class TuiDropdownDriverDirective extends AbstractTuiDriverDirective {
464
+ // TODO: Figure out why this is necessary under nx test runner
465
+ constructor(destroy$, drivers, vehicles) {
466
+ super(destroy$, drivers, vehicles);
467
+ this.type = 'dropdown';
468
+ }
456
469
  }
457
- TuiDropdownDriverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownDriverDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
458
- TuiDropdownDriverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownDriverDirective, selector: "[tuiDropdown]", providers: [TuiDestroyService], usesInheritance: true, ngImport: i0 });
459
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownDriverDirective, decorators: [{
470
+ TuiDropdownDriverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownDriverDirective, deps: [{ token: TuiDestroyService, self: true }, { token: TuiDriver }, { token: TuiVehicle }], target: i0.ɵɵFactoryTarget.Directive });
471
+ TuiDropdownDriverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiDropdownDriverDirective, selector: "[tuiDropdown]", providers: [TuiDestroyService], usesInheritance: true, ngImport: i0 });
472
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownDriverDirective, decorators: [{
460
473
  type: Directive,
461
474
  args: [{
462
475
  selector: '[tuiDropdown]',
463
476
  providers: [TuiDestroyService],
464
477
  }]
465
- }] });
478
+ }], ctorParameters: function () { return [{ type: i1.Observable, decorators: [{
479
+ type: Self
480
+ }, {
481
+ type: Inject,
482
+ args: [TuiDestroyService]
483
+ }] }, { type: undefined, decorators: [{
484
+ type: Inject,
485
+ args: [TuiDriver]
486
+ }] }, { type: undefined, decorators: [{
487
+ type: Inject,
488
+ args: [TuiVehicle]
489
+ }] }]; } });
466
490
 
467
491
  class TuiDropdownHostDirective extends TuiRectAccessor {
492
+ constructor() {
493
+ super(...arguments);
494
+ this.type = 'dropdown';
495
+ }
468
496
  getClientRect() {
469
497
  var _a;
470
498
  return ((_a = this.tuiDropdownHost) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect()) || EMPTY_CLIENT_RECT;
471
499
  }
472
500
  }
473
- TuiDropdownHostDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownHostDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
474
- TuiDropdownHostDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownHostDirective, selector: "[tuiDropdown][tuiDropdownHost]", inputs: { tuiDropdownHost: "tuiDropdownHost" }, providers: [tuiAsRectAccessor(TuiDropdownHostDirective)], usesInheritance: true, ngImport: i0 });
475
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownHostDirective, decorators: [{
501
+ TuiDropdownHostDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownHostDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
502
+ TuiDropdownHostDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiDropdownHostDirective, selector: "[tuiDropdown][tuiDropdownHost]", inputs: { tuiDropdownHost: "tuiDropdownHost" }, providers: [tuiAsRectAccessor(TuiDropdownHostDirective)], usesInheritance: true, ngImport: i0 });
503
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownHostDirective, decorators: [{
476
504
  type: Directive,
477
505
  args: [{
478
506
  selector: '[tuiDropdown][tuiDropdownHost]',
@@ -485,16 +513,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
485
513
  class TuiDropdownManualDirective extends TuiDriver {
486
514
  constructor() {
487
515
  super(subscriber => this.stream$.subscribe(subscriber));
488
- this.stream$ = new Subject();
516
+ this.stream$ = new BehaviorSubject(false);
489
517
  this.tuiDropdownManual = false;
518
+ this.type = 'dropdown';
490
519
  }
491
520
  ngOnChanges() {
492
521
  this.stream$.next(this.tuiDropdownManual);
493
522
  }
494
523
  }
495
- TuiDropdownManualDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownManualDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
496
- TuiDropdownManualDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownManualDirective, selector: "[tuiDropdown][tuiDropdownManual]", inputs: { tuiDropdownManual: "tuiDropdownManual" }, providers: [tuiAsDriver(TuiDropdownManualDirective)], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
497
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownManualDirective, decorators: [{
524
+ TuiDropdownManualDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownManualDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
525
+ TuiDropdownManualDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiDropdownManualDirective, selector: "[tuiDropdown][tuiDropdownManual]", inputs: { tuiDropdownManual: "tuiDropdownManual" }, providers: [tuiAsDriver(TuiDropdownManualDirective)], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
526
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownManualDirective, decorators: [{
498
527
  type: Directive,
499
528
  args: [{
500
529
  selector: '[tuiDropdown][tuiDropdownManual]',
@@ -504,14 +533,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
504
533
  type: Input
505
534
  }] } });
506
535
 
507
- class TuiDropdownPositionDirective {
508
- constructor(options, viewport, accessor) {
536
+ class TuiDropdownPositionDirective extends TuiPositionAccessor {
537
+ constructor(options, viewport, accessors, directive) {
538
+ super();
509
539
  this.options = options;
510
540
  this.viewport = viewport;
511
- this.accessor = accessor;
541
+ this.accessors = accessors;
542
+ this.directive = directive;
543
+ this.type = 'dropdown';
512
544
  }
513
545
  getPosition({ width, height }) {
514
- const hostRect = this.accessor.getClientRect();
546
+ var _a, _b;
547
+ const hostRect = (_b = (_a = this.accessor) === null || _a === void 0 ? void 0 : _a.getClientRect()) !== null && _b !== void 0 ? _b : EMPTY_CLIENT_RECT;
515
548
  const viewport = this.viewport.getClientRect();
516
549
  const { minHeight, align, direction, offset } = this.options;
517
550
  const previous = this.previous || direction || 'bottom';
@@ -534,10 +567,16 @@ class TuiDropdownPositionDirective {
534
567
  this.previous = better;
535
568
  return [position[better], position[align]];
536
569
  }
570
+ get accessor() {
571
+ return tuiFallbackRectAccessor('dropdown')(this.accessors, this.directive);
572
+ }
537
573
  }
538
- TuiDropdownPositionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownPositionDirective, deps: [{ token: TUI_DROPDOWN_OPTIONS }, { token: TUI_VIEWPORT }, { token: TuiRectAccessor }], target: i0.ɵɵFactoryTarget.Directive });
539
- TuiDropdownPositionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownPositionDirective, selector: "[tuiDropdown]:not([tuiDropdownCustomPosition]):not([tuiDropdownSided])", providers: [tuiAsPositionAccessor(TuiDropdownPositionDirective)], ngImport: i0 });
540
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownPositionDirective, decorators: [{
574
+ TuiDropdownPositionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownPositionDirective, deps: [{ token: TUI_DROPDOWN_OPTIONS }, { token: TUI_VIEWPORT }, { token: TuiRectAccessor }, { token: TuiDropdownDirective }], target: i0.ɵɵFactoryTarget.Directive });
575
+ TuiDropdownPositionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiDropdownPositionDirective, selector: "[tuiDropdown]:not([tuiDropdownCustomPosition]):not([tuiDropdownSided])", providers: [tuiAsPositionAccessor(TuiDropdownPositionDirective)], usesInheritance: true, ngImport: i0 });
576
+ __decorate([
577
+ tuiPure
578
+ ], TuiDropdownPositionDirective.prototype, "accessor", null);
579
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownPositionDirective, decorators: [{
541
580
  type: Directive,
542
581
  args: [{
543
582
  selector: '[tuiDropdown]:not([tuiDropdownCustomPosition]):not([tuiDropdownSided])',
@@ -549,27 +588,32 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
549
588
  }] }, { type: i1$2.TuiRectAccessor, decorators: [{
550
589
  type: Inject,
551
590
  args: [TUI_VIEWPORT]
552
- }] }, { type: i1$2.TuiRectAccessor, decorators: [{
591
+ }] }, { type: undefined, decorators: [{
553
592
  type: Inject,
554
593
  args: [TuiRectAccessor]
555
- }] }]; } });
594
+ }] }, { type: TuiDropdownDirective, decorators: [{
595
+ type: Inject,
596
+ args: [TuiDropdownDirective]
597
+ }] }]; }, propDecorators: { accessor: [] } });
556
598
 
557
- class TuiDropdownPositionSidedDirective {
558
- constructor(options, viewport, accessor, vertical) {
599
+ class TuiDropdownPositionSidedDirective extends TuiPositionAccessor {
600
+ constructor(options, viewport, vertical) {
601
+ super();
559
602
  this.options = options;
560
603
  this.viewport = viewport;
561
- this.accessor = accessor;
562
604
  this.vertical = vertical;
563
605
  this.previous = this.options.direction || 'bottom';
564
606
  this.tuiDropdownSided = '';
565
607
  this.tuiDropdownSidedOffset = 4;
608
+ this.type = 'dropdown';
566
609
  }
567
610
  getPosition(rect) {
611
+ var _a, _b;
568
612
  if (this.tuiDropdownSided === false) {
569
613
  return this.vertical.getPosition(rect);
570
614
  }
571
615
  const { height, width } = rect;
572
- const hostRect = this.accessor.getClientRect();
616
+ const hostRect = (_b = (_a = this.vertical.accessor) === null || _a === void 0 ? void 0 : _a.getClientRect()) !== null && _b !== void 0 ? _b : EMPTY_CLIENT_RECT;
573
617
  const viewport = this.viewport.getClientRect();
574
618
  const { align, direction, minHeight, offset } = this.options;
575
619
  const available = {
@@ -595,12 +639,12 @@ class TuiDropdownPositionSidedDirective {
595
639
  return [position[better], left];
596
640
  }
597
641
  }
598
- TuiDropdownPositionSidedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownPositionSidedDirective, deps: [{ token: TUI_DROPDOWN_OPTIONS }, { token: TUI_VIEWPORT }, { token: TuiRectAccessor }, { token: TuiDropdownPositionDirective }], target: i0.ɵɵFactoryTarget.Directive });
599
- TuiDropdownPositionSidedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownPositionSidedDirective, selector: "[tuiDropdownSided]", inputs: { tuiDropdownSided: "tuiDropdownSided", tuiDropdownSidedOffset: "tuiDropdownSidedOffset" }, providers: [
642
+ TuiDropdownPositionSidedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownPositionSidedDirective, deps: [{ token: TUI_DROPDOWN_OPTIONS }, { token: TUI_VIEWPORT }, { token: TuiDropdownPositionDirective }], target: i0.ɵɵFactoryTarget.Directive });
643
+ TuiDropdownPositionSidedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiDropdownPositionSidedDirective, selector: "[tuiDropdownSided]", inputs: { tuiDropdownSided: "tuiDropdownSided", tuiDropdownSidedOffset: "tuiDropdownSidedOffset" }, providers: [
600
644
  TuiDropdownPositionDirective,
601
645
  tuiAsPositionAccessor(TuiDropdownPositionSidedDirective),
602
- ], ngImport: i0 });
603
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownPositionSidedDirective, decorators: [{
646
+ ], usesInheritance: true, ngImport: i0 });
647
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownPositionSidedDirective, decorators: [{
604
648
  type: Directive,
605
649
  args: [{
606
650
  selector: '[tuiDropdownSided]',
@@ -615,10 +659,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
615
659
  }] }, { type: i1$2.TuiRectAccessor, decorators: [{
616
660
  type: Inject,
617
661
  args: [TUI_VIEWPORT]
618
- }] }, { type: i1$2.TuiRectAccessor, decorators: [{
619
- type: Inject,
620
- args: [TuiRectAccessor]
621
- }] }, { type: i1$2.TuiPositionAccessor, decorators: [{
662
+ }] }, { type: TuiDropdownPositionDirective, decorators: [{
622
663
  type: Inject,
623
664
  args: [TuiDropdownPositionDirective]
624
665
  }] }]; }, propDecorators: { tuiDropdownSided: [{
@@ -649,6 +690,7 @@ class TuiDropdownSelectionDirective extends TuiDriver {
649
690
  return (contained && handler(this.range)) || this.inDropdown(range);
650
691
  }));
651
692
  this.position = 'selection';
693
+ this.type = 'dropdown';
652
694
  }
653
695
  set tuiDropdownSelection(visible) {
654
696
  if (!tuiIsString(visible)) {
@@ -739,15 +781,15 @@ class TuiDropdownSelectionDirective extends TuiDriver {
739
781
  return ghost;
740
782
  }
741
783
  }
742
- TuiDropdownSelectionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownSelectionDirective, deps: [{ token: TUI_RANGE }, { token: DOCUMENT }, { token: TUI_SELECTION_STREAM }, { token: ElementRef }, { token: ViewContainerRef }, { token: TuiDropdownDirective }], target: i0.ɵɵFactoryTarget.Directive });
743
- TuiDropdownSelectionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownSelectionDirective, selector: "[tuiDropdown][tuiDropdownSelection]", inputs: { position: ["tuiDropdownSelectionPosition", "position"], tuiDropdownSelection: "tuiDropdownSelection" }, providers: [
784
+ TuiDropdownSelectionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownSelectionDirective, deps: [{ token: TUI_RANGE }, { token: DOCUMENT }, { token: TUI_SELECTION_STREAM }, { token: ElementRef }, { token: ViewContainerRef }, { token: TuiDropdownDirective }], target: i0.ɵɵFactoryTarget.Directive });
785
+ TuiDropdownSelectionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiDropdownSelectionDirective, selector: "[tuiDropdown][tuiDropdownSelection]", inputs: { position: ["tuiDropdownSelectionPosition", "position"], tuiDropdownSelection: "tuiDropdownSelection" }, providers: [
744
786
  tuiAsDriver(TuiDropdownSelectionDirective),
745
787
  tuiAsRectAccessor(TuiDropdownSelectionDirective),
746
788
  ], usesInheritance: true, ngImport: i0 });
747
789
  __decorate([
748
790
  tuiDefaultProp()
749
791
  ], TuiDropdownSelectionDirective.prototype, "position", void 0);
750
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownSelectionDirective, decorators: [{
792
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownSelectionDirective, decorators: [{
751
793
  type: Directive,
752
794
  args: [{
753
795
  selector: '[tuiDropdown][tuiDropdownSelection]',
@@ -762,7 +804,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
762
804
  }] }, { type: Document, decorators: [{
763
805
  type: Inject,
764
806
  args: [DOCUMENT]
765
- }] }, { type: i5.Observable, decorators: [{
807
+ }] }, { type: i1.Observable, decorators: [{
766
808
  type: Inject,
767
809
  args: [TUI_SELECTION_STREAM]
768
810
  }] }, { type: i0.ElementRef, decorators: [{
@@ -783,8 +825,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
783
825
 
784
826
  class TuiDropdownModule {
785
827
  }
786
- TuiDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
787
- TuiDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownModule, declarations: [TuiDropdownDirective,
828
+ TuiDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
829
+ TuiDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownModule, declarations: [TuiDropdownDirective,
788
830
  TuiDropdownComponent,
789
831
  TuiDropdownOptionsDirective,
790
832
  TuiDropdownHostDirective,
@@ -810,7 +852,7 @@ TuiDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", versi
810
852
  TuiDropdownPositionDirective,
811
853
  TuiDropdownPositionSidedDirective,
812
854
  TuiDropdownSelectionDirective] });
813
- TuiDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownModule, imports: [[
855
+ TuiDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownModule, imports: [[
814
856
  PolymorpheusModule,
815
857
  TuiActiveZoneModule,
816
858
  TuiOverscrollModule,
@@ -818,7 +860,7 @@ TuiDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versi
818
860
  TuiModeModule,
819
861
  TuiHoveredModule,
820
862
  ]] });
821
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDropdownModule, decorators: [{
863
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiDropdownModule, decorators: [{
822
864
  type: NgModule,
823
865
  args: [{
824
866
  imports: [