@taiga-ui/core 3.57.0 → 3.59.0-canary.1c24449

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 (1333) hide show
  1. package/abstract/abstract-driver.directive.d.ts +1 -1
  2. package/abstract/abstract-textfield-host.d.ts +1 -1
  3. package/abstract/rect-accessor.d.ts +1 -1
  4. package/components/alert/alert.component.d.ts +1 -1
  5. package/components/alert/alert.directive.d.ts +1 -1
  6. package/components/button/button.component.d.ts +1 -1
  7. package/components/calendar/calendar.component.d.ts +1 -1
  8. package/components/data-list/data-list.component.d.ts +1 -1
  9. package/components/data-list/data-list.directive.d.ts +1 -1
  10. package/components/data-list/opt-group.directive.d.ts +1 -1
  11. package/components/data-list/option/option.component.d.ts +1 -1
  12. package/components/dialog/dialog.component.d.ts +1 -1
  13. package/components/dialog/dialog.directive.d.ts +1 -1
  14. package/components/dialog/dialog.tokens.d.ts +1 -1
  15. package/components/error/error.component.d.ts +1 -1
  16. package/components/expand/expand-content.directive.d.ts +1 -1
  17. package/components/expand/expand.component.d.ts +1 -1
  18. package/components/group/group-styles.component.d.ts +1 -1
  19. package/components/group/group.directive.d.ts +1 -1
  20. package/components/hints-host/hints-host.component.d.ts +1 -1
  21. package/components/hosted-dropdown/accessor-proxy.directive.d.ts +1 -1
  22. package/components/hosted-dropdown/dropdown-open-monitor.directive.d.ts +1 -1
  23. package/components/hosted-dropdown/hosted-dropdown-connector.directive.d.ts +1 -1
  24. package/components/hosted-dropdown/hosted-dropdown.component.d.ts +1 -1
  25. package/components/label/label.component.d.ts +1 -1
  26. package/components/link/link.component.d.ts +1 -1
  27. package/components/loader/loader.component.d.ts +1 -1
  28. package/components/notification/notification.component.d.ts +1 -1
  29. package/components/primitive-calendar/primitive-calendar.component.d.ts +7 -2
  30. package/components/primitive-checkbox/primitive-checkbox.component.d.ts +1 -1
  31. package/components/primitive-spin-button/primitive-spin-button.component.d.ts +1 -1
  32. package/components/primitive-textfield/primitive-textfield-options.d.ts +1 -1
  33. package/components/primitive-textfield/primitive-textfield-types.d.ts +1 -1
  34. package/components/primitive-textfield/primitive-textfield.component.d.ts +1 -1
  35. package/components/primitive-textfield/primitive-textfield.directive.d.ts +1 -1
  36. package/components/primitive-textfield/textfield/textfield.component.d.ts +1 -1
  37. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +1 -1
  38. package/components/primitive-year-picker/primitive-year-picker.component.d.ts +1 -1
  39. package/components/root/root.component.d.ts +1 -1
  40. package/components/scroll-controls/scroll-controls.component.d.ts +1 -1
  41. package/components/scroll-controls/scrollbar-wrapper.directive.d.ts +1 -1
  42. package/components/scroll-controls/scrollbar.directive.d.ts +1 -1
  43. package/components/scrollbar/scroll-ref.directive.d.ts +1 -1
  44. package/components/scrollbar/scrollable.directive.d.ts +1 -1
  45. package/components/scrollbar/scrollbar.component.d.ts +1 -1
  46. package/components/svg/svg-options.d.ts +1 -1
  47. package/components/svg/svg.component.d.ts +1 -1
  48. package/components/theme-night/theme-night.component.d.ts +1 -1
  49. package/components/tooltip/tooltip.component.d.ts +1 -1
  50. package/constants/cache-basting-payload.d.ts +1 -1
  51. package/directives/dropdown/dropdown-context.directive.d.ts +1 -1
  52. package/directives/dropdown/dropdown-driver.directive.d.ts +1 -1
  53. package/directives/dropdown/dropdown-host.directive.d.ts +1 -1
  54. package/directives/dropdown/dropdown-hover.directive.d.ts +1 -1
  55. package/directives/dropdown/dropdown-manual.directive.d.ts +1 -1
  56. package/directives/dropdown/dropdown-open.directive.d.ts +1 -1
  57. package/directives/dropdown/dropdown-options.directive.d.ts +1 -1
  58. package/directives/dropdown/dropdown-position-sided.directive.d.ts +1 -1
  59. package/directives/dropdown/dropdown-position.directive.d.ts +1 -1
  60. package/directives/dropdown/dropdown-selection.directive.d.ts +1 -1
  61. package/directives/dropdown/dropdown.component.d.ts +1 -1
  62. package/directives/dropdown/dropdown.directive.d.ts +1 -1
  63. package/directives/hint/hint-describe.directive.d.ts +1 -1
  64. package/directives/hint/hint-driver.directive.d.ts +1 -1
  65. package/directives/hint/hint-host.directive.d.ts +1 -1
  66. package/directives/hint/hint-hover.directive.d.ts +1 -1
  67. package/directives/hint/hint-manual.directive.d.ts +1 -1
  68. package/directives/hint/hint-options.directive.d.ts +1 -1
  69. package/directives/hint/hint-pointer.directive.d.ts +1 -1
  70. package/directives/hint/hint-position.directive.d.ts +1 -1
  71. package/directives/hint/hint-unstyled.component.d.ts +2 -2
  72. package/directives/hint/hint.component.d.ts +1 -1
  73. package/directives/hint/hint.directive.d.ts +1 -1
  74. package/directives/mask-accessor/mask-accessor.directive.d.ts +1 -1
  75. package/directives/mode/mode.directive.d.ts +1 -1
  76. package/directives/number-format/number-format.directive.d.ts +1 -1
  77. package/directives/scroll-into-view/scroll-into-view.directive.d.ts +1 -1
  78. package/directives/textfield-controller/textfield-appearance.directive.d.ts +1 -1
  79. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +1 -1
  80. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +1 -1
  81. package/directives/textfield-controller/textfield-filler.directive.d.ts +1 -1
  82. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +1 -1
  83. package/directives/textfield-controller/textfield-icon.directive.d.ts +1 -1
  84. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +1 -1
  85. package/directives/textfield-controller/textfield-postfix.directive.d.ts +1 -1
  86. package/directives/textfield-controller/textfield-prefix.directive.d.ts +1 -1
  87. package/directives/textfield-controller/textfield-size.directive.d.ts +1 -1
  88. package/directives/wrapper/README.md +21 -0
  89. package/directives/wrapper/wrapper.directive.d.ts +1 -1
  90. package/enums/interactive-state.d.ts +1 -1
  91. package/esm2020/abstract/abstract-driver.directive.mjs +40 -0
  92. package/esm2020/abstract/abstract-textfield-host.mjs +36 -0
  93. package/esm2020/abstract/rect-accessor.mjs +24 -0
  94. package/esm2020/components/alert/alert.component.mjs +89 -0
  95. package/esm2020/components/alert/alert.directive.mjs +28 -0
  96. package/esm2020/components/alert/alert.module.mjs +24 -0
  97. package/esm2020/components/alert/alert.service.mjs +27 -0
  98. package/esm2020/components/button/button.component.mjs +105 -0
  99. package/esm2020/components/button/button.module.mjs +36 -0
  100. package/esm2020/components/calendar/calendar.component.mjs +125 -0
  101. package/esm2020/components/calendar/calendar.module.mjs +40 -0
  102. package/esm2020/components/data-list/data-list.component.mjs +119 -0
  103. package/esm2020/components/data-list/data-list.directive.mjs +19 -0
  104. package/esm2020/components/data-list/data-list.module.mjs +39 -0
  105. package/esm2020/components/data-list/opt-group.directive.mjs +21 -0
  106. package/esm2020/components/data-list/option/option.component.mjs +112 -0
  107. package/esm2020/components/dialog/dialog-close.service.mjs +47 -0
  108. package/esm2020/components/dialog/dialog.component.mjs +117 -0
  109. package/esm2020/components/dialog/dialog.directive.mjs +28 -0
  110. package/esm2020/components/dialog/dialog.module.mjs +24 -0
  111. package/esm2020/components/dialog/dialog.service.mjs +26 -0
  112. package/esm2020/components/error/error.component.mjs +49 -0
  113. package/esm2020/components/error/error.module.mjs +19 -0
  114. package/esm2020/components/expand/expand-content.directive.mjs +13 -0
  115. package/esm2020/components/expand/expand.component.mjs +125 -0
  116. package/esm2020/components/expand/expand.module.mjs +20 -0
  117. package/esm2020/components/group/group-styles.component.mjs +13 -0
  118. package/esm2020/components/group/group.directive.mjs +68 -0
  119. package/esm2020/components/group/group.module.mjs +19 -0
  120. package/esm2020/components/hints-host/hints-host.component.mjs +45 -0
  121. package/esm2020/components/hints-host/hints-host.module.mjs +20 -0
  122. package/esm2020/components/hosted-dropdown/accessor-proxy.directive.mjs +42 -0
  123. package/esm2020/components/hosted-dropdown/dropdown-open-monitor.directive.mjs +46 -0
  124. package/esm2020/components/hosted-dropdown/hosted-dropdown-connector.directive.mjs +13 -0
  125. package/esm2020/components/hosted-dropdown/hosted-dropdown.component.mjs +264 -0
  126. package/esm2020/components/hosted-dropdown/hosted-dropdown.module.mjs +55 -0
  127. package/esm2020/components/label/label.component.mjs +37 -0
  128. package/esm2020/components/label/label.module.mjs +18 -0
  129. package/esm2020/components/link/link.component.mjs +93 -0
  130. package/esm2020/components/link/link.module.mjs +19 -0
  131. package/esm2020/components/loader/loader.component.mjs +72 -0
  132. package/esm2020/components/loader/loader.module.mjs +19 -0
  133. package/esm2020/components/notification/notification.component.mjs +62 -0
  134. package/esm2020/components/notification/notification.module.mjs +21 -0
  135. package/esm2020/components/primitive-calendar/primitive-calendar.component.mjs +155 -0
  136. package/esm2020/components/primitive-calendar/primitive-calendar.module.mjs +43 -0
  137. package/esm2020/components/primitive-checkbox/primitive-checkbox.component.mjs +72 -0
  138. package/esm2020/components/primitive-checkbox/primitive-checkbox.module.mjs +20 -0
  139. package/esm2020/components/primitive-spin-button/primitive-spin-button.component.mjs +85 -0
  140. package/esm2020/components/primitive-spin-button/primitive-spin-button.module.mjs +19 -0
  141. package/esm2020/components/primitive-textfield/primitive-textfield.component.mjs +273 -0
  142. package/esm2020/components/primitive-textfield/primitive-textfield.directive.mjs +36 -0
  143. package/esm2020/components/primitive-textfield/primitive-textfield.module.mjs +68 -0
  144. package/esm2020/components/primitive-textfield/textfield/textfield.component.mjs +57 -0
  145. package/esm2020/components/primitive-textfield/value-decoration/value-decoration.component.mjs +78 -0
  146. package/esm2020/components/primitive-year-picker/primitive-year-picker.component.mjs +157 -0
  147. package/esm2020/components/primitive-year-picker/primitive-year-picker.module.mjs +33 -0
  148. package/esm2020/components/root/root.component.mjs +71 -0
  149. package/esm2020/components/root/root.module.mjs +45 -0
  150. package/esm2020/components/scroll-controls/scroll-controls.component.mjs +53 -0
  151. package/esm2020/components/scroll-controls/scroll-controls.module.mjs +28 -0
  152. package/esm2020/components/scroll-controls/scrollbar-wrapper.directive.mjs +25 -0
  153. package/esm2020/components/scroll-controls/scrollbar.directive.mjs +135 -0
  154. package/esm2020/components/scrollbar/scroll-ref.directive.mjs +28 -0
  155. package/esm2020/components/scrollbar/scrollable.directive.mjs +26 -0
  156. package/esm2020/components/scrollbar/scrollbar.component.mjs +87 -0
  157. package/esm2020/components/scrollbar/scrollbar.module.mjs +21 -0
  158. package/esm2020/components/svg/svg-options.mjs +68 -0
  159. package/esm2020/components/svg/svg.component.mjs +177 -0
  160. package/esm2020/components/svg/svg.module.mjs +19 -0
  161. package/esm2020/components/theme-night/theme-night.component.mjs +12 -0
  162. package/esm2020/components/theme-night/theme-night.module.mjs +16 -0
  163. package/esm2020/components/tooltip/tooltip.component.mjs +68 -0
  164. package/esm2020/components/tooltip/tooltip.module.mjs +36 -0
  165. package/esm2020/directives/dropdown/dropdown-context.directive.mjs +66 -0
  166. package/esm2020/directives/dropdown/dropdown-driver.directive.mjs +33 -0
  167. package/esm2020/directives/dropdown/dropdown-host.directive.mjs +25 -0
  168. package/esm2020/directives/dropdown/dropdown-hover.directive.mjs +57 -0
  169. package/esm2020/directives/dropdown/dropdown-manual.directive.mjs +27 -0
  170. package/esm2020/directives/dropdown/dropdown-open.directive.mjs +28 -0
  171. package/esm2020/directives/dropdown/dropdown-options.directive.mjs +84 -0
  172. package/esm2020/directives/dropdown/dropdown-position-sided.directive.mjs +81 -0
  173. package/esm2020/directives/dropdown/dropdown-position.directive.mjs +85 -0
  174. package/esm2020/directives/dropdown/dropdown-selection.directive.mjs +161 -0
  175. package/esm2020/directives/dropdown/dropdown.component.mjs +162 -0
  176. package/esm2020/directives/dropdown/dropdown.directive.mjs +121 -0
  177. package/esm2020/directives/dropdown/dropdown.module.mjs +93 -0
  178. package/esm2020/directives/hint/hint-describe.directive.mjs +57 -0
  179. package/esm2020/directives/hint/hint-driver.directive.mjs +33 -0
  180. package/esm2020/directives/hint/hint-host.directive.mjs +25 -0
  181. package/esm2020/directives/hint/hint-hover.directive.mjs +56 -0
  182. package/esm2020/directives/hint/hint-manual.directive.mjs +33 -0
  183. package/esm2020/directives/hint/hint-options.directive.mjs +75 -0
  184. package/esm2020/directives/hint/hint-pointer.directive.mjs +36 -0
  185. package/esm2020/directives/hint/hint-position.directive.mjs +104 -0
  186. package/esm2020/directives/hint/hint-unstyled.component.mjs +66 -0
  187. package/esm2020/directives/hint/hint.component.mjs +158 -0
  188. package/esm2020/directives/hint/hint.directive.mjs +95 -0
  189. package/esm2020/directives/hint/hint.module.mjs +75 -0
  190. package/esm2020/directives/mask-accessor/mask-accessor.directive.mjs +30 -0
  191. package/esm2020/directives/mask-accessor/mask-accessor.module.mjs +19 -0
  192. package/esm2020/directives/mode/mode.directive.mjs +21 -0
  193. package/esm2020/directives/mode/mode.module.mjs +16 -0
  194. package/esm2020/directives/number-format/number-format.directive.mjs +38 -0
  195. package/esm2020/directives/number-format/number-format.module.mjs +16 -0
  196. package/esm2020/directives/scroll-into-view/scroll-into-view.directive.mjs +51 -0
  197. package/esm2020/directives/scroll-into-view/scroll-into-view.module.mjs +16 -0
  198. package/esm2020/directives/textfield-controller/textfield-appearance.directive.mjs +36 -0
  199. package/esm2020/directives/textfield-controller/textfield-cleaner.directive.mjs +33 -0
  200. package/esm2020/directives/textfield-controller/textfield-controller.module.mjs +65 -0
  201. package/esm2020/directives/textfield-controller/textfield-custom-content.directive.mjs +29 -0
  202. package/esm2020/directives/textfield-controller/textfield-filler.directive.mjs +33 -0
  203. package/esm2020/directives/textfield-controller/textfield-icon-left.directive.mjs +29 -0
  204. package/esm2020/directives/textfield-controller/textfield-icon.directive.mjs +29 -0
  205. package/esm2020/directives/textfield-controller/textfield-label-outside.directive.mjs +33 -0
  206. package/esm2020/directives/textfield-controller/textfield-postfix.directive.mjs +33 -0
  207. package/esm2020/directives/textfield-controller/textfield-prefix.directive.mjs +33 -0
  208. package/esm2020/directives/textfield-controller/textfield-size.directive.mjs +33 -0
  209. package/esm2020/directives/wrapper/wrapper.directive.mjs +93 -0
  210. package/esm2020/directives/wrapper/wrapper.module.mjs +16 -0
  211. package/esm2020/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.mjs +75 -0
  212. package/esm2020/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.mjs +36 -0
  213. package/esm2020/internal/svg-defs-host/svg-defs-host.component.mjs +46 -0
  214. package/esm2020/internal/svg-defs-host/svg-defs-host.module.mjs +19 -0
  215. package/esm2020/pipes/calendar-sheet/calendar-sheet.module.mjs +16 -0
  216. package/esm2020/pipes/calendar-sheet/calendar-sheet.pipe.mjs +56 -0
  217. package/esm2020/pipes/flag/flag.module.mjs +16 -0
  218. package/esm2020/pipes/flag/flag.pipe.mjs +46 -0
  219. package/esm2020/pipes/format-date/format-date.module.mjs +16 -0
  220. package/esm2020/pipes/format-date/format-date.pipe.mjs +24 -0
  221. package/esm2020/pipes/format-number/format-number.module.mjs +16 -0
  222. package/esm2020/pipes/format-number/format-number.pipe.mjs +28 -0
  223. package/esm2020/pipes/format-phone/format-phone.module.mjs +16 -0
  224. package/esm2020/pipes/format-phone/format-phone.pipe.mjs +25 -0
  225. package/esm2020/pipes/month/month.module.mjs +16 -0
  226. package/esm2020/pipes/month/month.pipe.mjs +23 -0
  227. package/esm2020/pipes/order-week-days/order-week-days.module.mjs +16 -0
  228. package/esm2020/pipes/order-week-days/order-week-days.pipe.mjs +34 -0
  229. package/esm2020/services/breakpoint.service.mjs +42 -0
  230. package/esm2020/services/format-date.service.mjs +26 -0
  231. package/esm2020/services/hint.service.mjs +28 -0
  232. package/esm2020/services/night-theme.service.mjs +24 -0
  233. package/esm2020/services/position.service.mjs +36 -0
  234. package/esm2020/services/router-link-active.service.mjs +42 -0
  235. package/esm2020/services/svg.service.mjs +73 -0
  236. package/esm2020/services/visual-viewport.service.mjs +34 -0
  237. package/esm2020/tokens/number-format-observable.mjs +8 -0
  238. package/esm2020/tokens/reduced-motion.mjs +6 -0
  239. package/esm2020/tokens/viewport.mjs +35 -0
  240. package/esm2020/utils/dom/process-icon.mjs +31 -0
  241. package/esm2020/utils/format/format-number.mjs +43 -0
  242. package/esm2020/utils/format/number-to-string-without-exp.mjs +18 -0
  243. package/esm2020/utils/mask/create-number-mask.mjs +121 -0
  244. package/esm2020/utils/miscellaneous/is-obscured.mjs +8 -0
  245. package/esm2020/utils/miscellaneous/override-options.mjs +11 -0
  246. package/fesm2015/taiga-ui-core-abstract.mjs +146 -0
  247. package/fesm2015/taiga-ui-core-abstract.mjs.map +1 -0
  248. package/fesm2015/taiga-ui-core-animations.mjs +262 -0
  249. package/fesm2015/taiga-ui-core-animations.mjs.map +1 -0
  250. package/fesm2015/taiga-ui-core-components-alert.mjs +155 -0
  251. package/fesm2015/taiga-ui-core-components-alert.mjs.map +1 -0
  252. package/fesm2015/taiga-ui-core-components-button.mjs +162 -0
  253. package/fesm2015/taiga-ui-core-components-button.mjs.map +1 -0
  254. package/fesm2015/taiga-ui-core-components-calendar.mjs +172 -0
  255. package/fesm2015/taiga-ui-core-components-calendar.mjs.map +1 -0
  256. package/fesm2015/taiga-ui-core-components-data-list.mjs +303 -0
  257. package/fesm2015/taiga-ui-core-components-data-list.mjs.map +1 -0
  258. package/fesm2015/taiga-ui-core-components-dialog.mjs +245 -0
  259. package/fesm2015/taiga-ui-core-components-dialog.mjs.map +1 -0
  260. package/fesm2015/taiga-ui-core-components-error.mjs +74 -0
  261. package/fesm2015/taiga-ui-core-components-error.mjs.map +1 -0
  262. package/fesm2015/taiga-ui-core-components-expand.mjs +160 -0
  263. package/fesm2015/taiga-ui-core-components-expand.mjs.map +1 -0
  264. package/fesm2015/taiga-ui-core-components-group.mjs +102 -0
  265. package/fesm2015/taiga-ui-core-components-group.mjs.map +1 -0
  266. package/fesm2015/taiga-ui-core-components-hints-host.mjs +70 -0
  267. package/fesm2015/taiga-ui-core-components-hints-host.mjs.map +1 -0
  268. package/fesm2015/taiga-ui-core-components-hosted-dropdown.mjs +414 -0
  269. package/fesm2015/taiga-ui-core-components-hosted-dropdown.mjs.map +1 -0
  270. package/fesm2015/taiga-ui-core-components-label.mjs +61 -0
  271. package/fesm2015/taiga-ui-core-components-label.mjs.map +1 -0
  272. package/fesm2015/taiga-ui-core-components-link.mjs +118 -0
  273. package/fesm2015/taiga-ui-core-components-link.mjs.map +1 -0
  274. package/fesm2015/taiga-ui-core-components-loader.mjs +109 -0
  275. package/fesm2015/taiga-ui-core-components-loader.mjs.map +1 -0
  276. package/fesm2015/taiga-ui-core-components-notification.mjs +89 -0
  277. package/fesm2015/taiga-ui-core-components-notification.mjs.map +1 -0
  278. package/fesm2015/taiga-ui-core-components-primitive-calendar.mjs +203 -0
  279. package/fesm2015/taiga-ui-core-components-primitive-calendar.mjs.map +1 -0
  280. package/fesm2015/taiga-ui-core-components-primitive-checkbox.mjs +120 -0
  281. package/fesm2015/taiga-ui-core-components-primitive-checkbox.mjs.map +1 -0
  282. package/fesm2015/taiga-ui-core-components-primitive-spin-button.mjs +110 -0
  283. package/fesm2015/taiga-ui-core-components-primitive-spin-button.mjs.map +1 -0
  284. package/fesm2015/taiga-ui-core-components-primitive-textfield.mjs +527 -0
  285. package/fesm2015/taiga-ui-core-components-primitive-textfield.mjs.map +1 -0
  286. package/fesm2015/taiga-ui-core-components-primitive-year-picker.mjs +195 -0
  287. package/fesm2015/taiga-ui-core-components-primitive-year-picker.mjs.map +1 -0
  288. package/fesm2015/taiga-ui-core-components-root.mjs +120 -0
  289. package/fesm2015/taiga-ui-core-components-root.mjs.map +1 -0
  290. package/fesm2015/taiga-ui-core-components-scroll-controls.mjs +233 -0
  291. package/fesm2015/taiga-ui-core-components-scroll-controls.mjs.map +1 -0
  292. package/fesm2015/taiga-ui-core-components-scrollbar.mjs +162 -0
  293. package/fesm2015/taiga-ui-core-components-scrollbar.mjs.map +1 -0
  294. package/fesm2015/taiga-ui-core-components-svg.mjs +314 -0
  295. package/fesm2015/taiga-ui-core-components-svg.mjs.map +1 -0
  296. package/fesm2015/taiga-ui-core-components-theme-night.mjs +32 -0
  297. package/fesm2015/taiga-ui-core-components-theme-night.mjs.map +1 -0
  298. package/fesm2015/taiga-ui-core-components-tooltip.mjs +111 -0
  299. package/fesm2015/taiga-ui-core-components-tooltip.mjs.map +1 -0
  300. package/fesm2015/taiga-ui-core-components.mjs +30 -0
  301. package/fesm2015/taiga-ui-core-components.mjs.map +1 -0
  302. package/fesm2015/taiga-ui-core-constants.mjs +90 -0
  303. package/fesm2015/taiga-ui-core-constants.mjs.map +1 -0
  304. package/fesm2015/taiga-ui-core-directives-dropdown.mjs +981 -0
  305. package/fesm2015/taiga-ui-core-directives-dropdown.mjs.map +1 -0
  306. package/fesm2015/taiga-ui-core-directives-hint.mjs +765 -0
  307. package/fesm2015/taiga-ui-core-directives-hint.mjs.map +1 -0
  308. package/fesm2015/taiga-ui-core-directives-mask-accessor.mjs +53 -0
  309. package/fesm2015/taiga-ui-core-directives-mask-accessor.mjs.map +1 -0
  310. package/fesm2015/taiga-ui-core-directives-mode.mjs +41 -0
  311. package/fesm2015/taiga-ui-core-directives-mode.mjs.map +1 -0
  312. package/fesm2015/taiga-ui-core-directives-number-format.mjs +60 -0
  313. package/fesm2015/taiga-ui-core-directives-number-format.mjs.map +1 -0
  314. package/fesm2015/taiga-ui-core-directives-scroll-into-view.mjs +73 -0
  315. package/fesm2015/taiga-ui-core-directives-scroll-into-view.mjs.map +1 -0
  316. package/fesm2015/taiga-ui-core-directives-textfield-controller.mjs +447 -0
  317. package/fesm2015/taiga-ui-core-directives-textfield-controller.mjs.map +1 -0
  318. package/fesm2015/taiga-ui-core-directives-wrapper.mjs +115 -0
  319. package/fesm2015/taiga-ui-core-directives-wrapper.mjs.map +1 -0
  320. package/fesm2015/taiga-ui-core-directives.mjs +13 -0
  321. package/fesm2015/taiga-ui-core-directives.mjs.map +1 -0
  322. package/fesm2015/taiga-ui-core-enums.mjs +68 -0
  323. package/fesm2015/taiga-ui-core-enums.mjs.map +1 -0
  324. package/fesm2015/taiga-ui-core-interfaces.mjs +4 -0
  325. package/fesm2015/taiga-ui-core-interfaces.mjs.map +1 -0
  326. package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.mjs +116 -0
  327. package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.mjs.map +1 -0
  328. package/fesm2015/taiga-ui-core-internal-svg-defs-host.mjs +69 -0
  329. package/fesm2015/taiga-ui-core-internal-svg-defs-host.mjs.map +1 -0
  330. package/fesm2015/taiga-ui-core-internal.mjs +7 -0
  331. package/fesm2015/taiga-ui-core-internal.mjs.map +1 -0
  332. package/fesm2015/taiga-ui-core-mask.mjs +4 -0
  333. package/fesm2015/taiga-ui-core-mask.mjs.map +1 -0
  334. package/fesm2015/taiga-ui-core-observables.mjs +27 -0
  335. package/fesm2015/taiga-ui-core-observables.mjs.map +1 -0
  336. package/fesm2015/taiga-ui-core-pipes-calendar-sheet.mjs +111 -0
  337. package/fesm2015/taiga-ui-core-pipes-calendar-sheet.mjs.map +1 -0
  338. package/fesm2015/taiga-ui-core-pipes-flag.mjs +68 -0
  339. package/fesm2015/taiga-ui-core-pipes-flag.mjs.map +1 -0
  340. package/fesm2015/taiga-ui-core-pipes-format-date.mjs +46 -0
  341. package/fesm2015/taiga-ui-core-pipes-format-date.mjs.map +1 -0
  342. package/fesm2015/taiga-ui-core-pipes-format-number.mjs +50 -0
  343. package/fesm2015/taiga-ui-core-pipes-format-number.mjs.map +1 -0
  344. package/fesm2015/taiga-ui-core-pipes-format-phone.mjs +45 -0
  345. package/fesm2015/taiga-ui-core-pipes-format-phone.mjs.map +1 -0
  346. package/fesm2015/taiga-ui-core-pipes-month.mjs +45 -0
  347. package/fesm2015/taiga-ui-core-pipes-month.mjs.map +1 -0
  348. package/fesm2015/taiga-ui-core-pipes-order-week-days.mjs +56 -0
  349. package/fesm2015/taiga-ui-core-pipes-order-week-days.mjs.map +1 -0
  350. package/fesm2015/taiga-ui-core-pipes.mjs +12 -0
  351. package/fesm2015/taiga-ui-core-pipes.mjs.map +1 -0
  352. package/fesm2015/taiga-ui-core-providers.mjs +42 -0
  353. package/fesm2015/taiga-ui-core-providers.mjs.map +1 -0
  354. package/fesm2015/taiga-ui-core-services.mjs +288 -0
  355. package/fesm2015/taiga-ui-core-services.mjs.map +1 -0
  356. package/fesm2015/taiga-ui-core-tokens.mjs +334 -0
  357. package/fesm2015/taiga-ui-core-tokens.mjs.map +1 -0
  358. package/fesm2015/taiga-ui-core-types.mjs +4 -0
  359. package/fesm2015/taiga-ui-core-types.mjs.map +1 -0
  360. package/fesm2015/taiga-ui-core-utils-dom.mjs +160 -0
  361. package/fesm2015/taiga-ui-core-utils-dom.mjs.map +1 -0
  362. package/fesm2015/taiga-ui-core-utils-format.mjs +146 -0
  363. package/fesm2015/taiga-ui-core-utils-format.mjs.map +1 -0
  364. package/fesm2015/taiga-ui-core-utils-mask.mjs +284 -0
  365. package/fesm2015/taiga-ui-core-utils-mask.mjs.map +1 -0
  366. package/fesm2015/taiga-ui-core-utils-miscellaneous.mjs +89 -0
  367. package/fesm2015/taiga-ui-core-utils-miscellaneous.mjs.map +1 -0
  368. package/fesm2015/taiga-ui-core-utils-mobile.mjs +12 -0
  369. package/fesm2015/taiga-ui-core-utils-mobile.mjs.map +1 -0
  370. package/fesm2015/taiga-ui-core-utils.mjs +10 -0
  371. package/fesm2015/taiga-ui-core-utils.mjs.map +1 -0
  372. package/fesm2015/taiga-ui-core.mjs +21 -0
  373. package/fesm2015/taiga-ui-core.mjs.map +1 -0
  374. package/fesm2020/taiga-ui-core-abstract.mjs +141 -0
  375. package/fesm2020/taiga-ui-core-abstract.mjs.map +1 -0
  376. package/fesm2020/taiga-ui-core-animations.mjs +262 -0
  377. package/fesm2020/taiga-ui-core-animations.mjs.map +1 -0
  378. package/fesm2020/taiga-ui-core-components-alert.mjs +158 -0
  379. package/fesm2020/taiga-ui-core-components-alert.mjs.map +1 -0
  380. package/fesm2020/taiga-ui-core-components-button.mjs +158 -0
  381. package/fesm2020/taiga-ui-core-components-button.mjs.map +1 -0
  382. package/fesm2020/taiga-ui-core-components-calendar.mjs +168 -0
  383. package/fesm2020/taiga-ui-core-components-calendar.mjs.map +1 -0
  384. package/fesm2020/taiga-ui-core-components-data-list.mjs +297 -0
  385. package/fesm2020/taiga-ui-core-components-data-list.mjs.map +1 -0
  386. package/fesm2020/taiga-ui-core-components-dialog.mjs +244 -0
  387. package/fesm2020/taiga-ui-core-components-dialog.mjs.map +1 -0
  388. package/fesm2020/taiga-ui-core-components-error.mjs +72 -0
  389. package/fesm2020/taiga-ui-core-components-error.mjs.map +1 -0
  390. package/fesm2020/taiga-ui-core-components-expand.mjs +158 -0
  391. package/fesm2020/taiga-ui-core-components-expand.mjs.map +1 -0
  392. package/fesm2020/taiga-ui-core-components-group.mjs +100 -0
  393. package/fesm2020/taiga-ui-core-components-group.mjs.map +1 -0
  394. package/fesm2020/taiga-ui-core-components-hints-host.mjs +68 -0
  395. package/fesm2020/taiga-ui-core-components-hints-host.mjs.map +1 -0
  396. package/fesm2020/taiga-ui-core-components-hosted-dropdown.mjs +406 -0
  397. package/fesm2020/taiga-ui-core-components-hosted-dropdown.mjs.map +1 -0
  398. package/fesm2020/taiga-ui-core-components-label.mjs +59 -0
  399. package/fesm2020/taiga-ui-core-components-label.mjs.map +1 -0
  400. package/fesm2020/taiga-ui-core-components-link.mjs +116 -0
  401. package/fesm2020/taiga-ui-core-components-link.mjs.map +1 -0
  402. package/fesm2020/taiga-ui-core-components-loader.mjs +107 -0
  403. package/fesm2020/taiga-ui-core-components-loader.mjs.map +1 -0
  404. package/fesm2020/taiga-ui-core-components-notification.mjs +87 -0
  405. package/fesm2020/taiga-ui-core-components-notification.mjs.map +1 -0
  406. package/fesm2020/taiga-ui-core-components-primitive-calendar.mjs +201 -0
  407. package/fesm2020/taiga-ui-core-components-primitive-calendar.mjs.map +1 -0
  408. package/fesm2020/taiga-ui-core-components-primitive-checkbox.mjs +118 -0
  409. package/fesm2020/taiga-ui-core-components-primitive-checkbox.mjs.map +1 -0
  410. package/fesm2020/taiga-ui-core-components-primitive-spin-button.mjs +108 -0
  411. package/fesm2020/taiga-ui-core-components-primitive-spin-button.mjs.map +1 -0
  412. package/fesm2020/taiga-ui-core-components-primitive-textfield.mjs +512 -0
  413. package/fesm2020/taiga-ui-core-components-primitive-textfield.mjs.map +1 -0
  414. package/fesm2020/taiga-ui-core-components-primitive-year-picker.mjs +193 -0
  415. package/fesm2020/taiga-ui-core-components-primitive-year-picker.mjs.map +1 -0
  416. package/fesm2020/taiga-ui-core-components-root.mjs +118 -0
  417. package/fesm2020/taiga-ui-core-components-root.mjs.map +1 -0
  418. package/fesm2020/taiga-ui-core-components-scroll-controls.mjs +229 -0
  419. package/fesm2020/taiga-ui-core-components-scroll-controls.mjs.map +1 -0
  420. package/fesm2020/taiga-ui-core-components-scrollbar.mjs +157 -0
  421. package/fesm2020/taiga-ui-core-components-scrollbar.mjs.map +1 -0
  422. package/fesm2020/taiga-ui-core-components-svg.mjs +319 -0
  423. package/fesm2020/taiga-ui-core-components-svg.mjs.map +1 -0
  424. package/fesm2020/taiga-ui-core-components-theme-night.mjs +32 -0
  425. package/fesm2020/taiga-ui-core-components-theme-night.mjs.map +1 -0
  426. package/fesm2020/taiga-ui-core-components-tooltip.mjs +108 -0
  427. package/fesm2020/taiga-ui-core-components-tooltip.mjs.map +1 -0
  428. package/fesm2020/taiga-ui-core-components.mjs +30 -0
  429. package/fesm2020/taiga-ui-core-components.mjs.map +1 -0
  430. package/fesm2020/taiga-ui-core-constants.mjs +90 -0
  431. package/fesm2020/taiga-ui-core-constants.mjs.map +1 -0
  432. package/fesm2020/taiga-ui-core-directives-dropdown.mjs +953 -0
  433. package/fesm2020/taiga-ui-core-directives-dropdown.mjs.map +1 -0
  434. package/fesm2020/taiga-ui-core-directives-hint.mjs +741 -0
  435. package/fesm2020/taiga-ui-core-directives-hint.mjs.map +1 -0
  436. package/fesm2020/taiga-ui-core-directives-mask-accessor.mjs +53 -0
  437. package/fesm2020/taiga-ui-core-directives-mask-accessor.mjs.map +1 -0
  438. package/fesm2020/taiga-ui-core-directives-mode.mjs +41 -0
  439. package/fesm2020/taiga-ui-core-directives-mode.mjs.map +1 -0
  440. package/fesm2020/taiga-ui-core-directives-number-format.mjs +58 -0
  441. package/fesm2020/taiga-ui-core-directives-number-format.mjs.map +1 -0
  442. package/fesm2020/taiga-ui-core-directives-scroll-into-view.mjs +71 -0
  443. package/fesm2020/taiga-ui-core-directives-scroll-into-view.mjs.map +1 -0
  444. package/fesm2020/taiga-ui-core-directives-textfield-controller.mjs +447 -0
  445. package/fesm2020/taiga-ui-core-directives-textfield-controller.mjs.map +1 -0
  446. package/fesm2020/taiga-ui-core-directives-wrapper.mjs +113 -0
  447. package/fesm2020/taiga-ui-core-directives-wrapper.mjs.map +1 -0
  448. package/fesm2020/taiga-ui-core-directives.mjs +13 -0
  449. package/fesm2020/taiga-ui-core-directives.mjs.map +1 -0
  450. package/fesm2020/taiga-ui-core-enums.mjs +68 -0
  451. package/fesm2020/taiga-ui-core-enums.mjs.map +1 -0
  452. package/fesm2020/taiga-ui-core-interfaces.mjs +4 -0
  453. package/fesm2020/taiga-ui-core-interfaces.mjs.map +1 -0
  454. package/fesm2020/taiga-ui-core-internal-primitive-year-month-pagination.mjs +114 -0
  455. package/fesm2020/taiga-ui-core-internal-primitive-year-month-pagination.mjs.map +1 -0
  456. package/fesm2020/taiga-ui-core-internal-svg-defs-host.mjs +67 -0
  457. package/fesm2020/taiga-ui-core-internal-svg-defs-host.mjs.map +1 -0
  458. package/fesm2020/taiga-ui-core-internal.mjs +7 -0
  459. package/fesm2020/taiga-ui-core-internal.mjs.map +1 -0
  460. package/fesm2020/taiga-ui-core-mask.mjs +4 -0
  461. package/fesm2020/taiga-ui-core-mask.mjs.map +1 -0
  462. package/fesm2020/taiga-ui-core-observables.mjs +27 -0
  463. package/fesm2020/taiga-ui-core-observables.mjs.map +1 -0
  464. package/fesm2020/taiga-ui-core-pipes-calendar-sheet.mjs +108 -0
  465. package/fesm2020/taiga-ui-core-pipes-calendar-sheet.mjs.map +1 -0
  466. package/fesm2020/taiga-ui-core-pipes-flag.mjs +66 -0
  467. package/fesm2020/taiga-ui-core-pipes-flag.mjs.map +1 -0
  468. package/fesm2020/taiga-ui-core-pipes-format-date.mjs +44 -0
  469. package/fesm2020/taiga-ui-core-pipes-format-date.mjs.map +1 -0
  470. package/fesm2020/taiga-ui-core-pipes-format-number.mjs +48 -0
  471. package/fesm2020/taiga-ui-core-pipes-format-number.mjs.map +1 -0
  472. package/fesm2020/taiga-ui-core-pipes-format-phone.mjs +45 -0
  473. package/fesm2020/taiga-ui-core-pipes-format-phone.mjs.map +1 -0
  474. package/fesm2020/taiga-ui-core-pipes-month.mjs +43 -0
  475. package/fesm2020/taiga-ui-core-pipes-month.mjs.map +1 -0
  476. package/fesm2020/taiga-ui-core-pipes-order-week-days.mjs +54 -0
  477. package/fesm2020/taiga-ui-core-pipes-order-week-days.mjs.map +1 -0
  478. package/fesm2020/taiga-ui-core-pipes.mjs +12 -0
  479. package/fesm2020/taiga-ui-core-pipes.mjs.map +1 -0
  480. package/fesm2020/taiga-ui-core-providers.mjs +42 -0
  481. package/fesm2020/taiga-ui-core-providers.mjs.map +1 -0
  482. package/fesm2020/taiga-ui-core-services.mjs +279 -0
  483. package/fesm2020/taiga-ui-core-services.mjs.map +1 -0
  484. package/fesm2020/taiga-ui-core-tokens.mjs +335 -0
  485. package/fesm2020/taiga-ui-core-tokens.mjs.map +1 -0
  486. package/fesm2020/taiga-ui-core-types.mjs +16 -0
  487. package/fesm2020/taiga-ui-core-types.mjs.map +1 -0
  488. package/fesm2020/taiga-ui-core-utils-dom.mjs +160 -0
  489. package/fesm2020/taiga-ui-core-utils-dom.mjs.map +1 -0
  490. package/fesm2020/taiga-ui-core-utils-format.mjs +149 -0
  491. package/fesm2020/taiga-ui-core-utils-format.mjs.map +1 -0
  492. package/fesm2020/taiga-ui-core-utils-mask.mjs +284 -0
  493. package/fesm2020/taiga-ui-core-utils-mask.mjs.map +1 -0
  494. package/fesm2020/taiga-ui-core-utils-miscellaneous.mjs +88 -0
  495. package/fesm2020/taiga-ui-core-utils-miscellaneous.mjs.map +1 -0
  496. package/fesm2020/taiga-ui-core-utils-mobile.mjs +12 -0
  497. package/fesm2020/taiga-ui-core-utils-mobile.mjs.map +1 -0
  498. package/fesm2020/taiga-ui-core-utils.mjs +10 -0
  499. package/fesm2020/taiga-ui-core-utils.mjs.map +1 -0
  500. package/fesm2020/taiga-ui-core.mjs +21 -0
  501. package/fesm2020/taiga-ui-core.mjs.map +1 -0
  502. package/interfaces/alert-options.d.ts +1 -1
  503. package/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.d.ts +1 -1
  504. package/internal/svg-defs-host/svg-defs-host.component.d.ts +1 -1
  505. package/mask/text-mask-correction-handler.d.ts +1 -1
  506. package/mask/text-mask-list-handler.d.ts +1 -1
  507. package/mask/text-mask-list.d.ts +1 -1
  508. package/mask/text-mask-pipe-handler.d.ts +1 -1
  509. package/package.json +559 -42
  510. package/pipes/calendar-sheet/calendar-sheet.pipe.d.ts +1 -1
  511. package/pipes/flag/flag.pipe.d.ts +1 -1
  512. package/pipes/format-date/format-date.pipe.d.ts +1 -1
  513. package/pipes/format-number/format-number.pipe.d.ts +1 -1
  514. package/pipes/format-phone/format-phone.pipe.d.ts +1 -1
  515. package/pipes/month/month.pipe.d.ts +1 -1
  516. package/pipes/order-week-days/order-week-days.pipe.d.ts +2 -2
  517. package/services/breakpoint.service.d.ts +1 -1
  518. package/styles/theme/appearance/opposite.less +2 -4
  519. package/tokens/number-format-observable.d.ts +4 -8
  520. package/tokens/ordered-short-week-days.d.ts +1 -1
  521. package/types/brightness.d.ts +1 -1
  522. package/types/calendar-view.d.ts +1 -1
  523. package/types/data-list-role.d.ts +1 -1
  524. package/types/decimal-symbol.d.ts +1 -1
  525. package/types/decimal.d.ts +1 -1
  526. package/types/dialog-size.d.ts +1 -1
  527. package/types/direction.d.ts +2 -2
  528. package/types/dropdown-align.d.ts +1 -1
  529. package/types/dropdown-width.d.ts +1 -1
  530. package/types/hint-direction.d.ts +1 -1
  531. package/types/marker-handler.d.ts +1 -1
  532. package/types/notification.d.ts +1 -1
  533. package/types/option-role.d.ts +1 -1
  534. package/types/orientation.d.ts +1 -1
  535. package/types/point.d.ts +1 -1
  536. package/types/size.d.ts +7 -7
  537. package/abstract/package.json +0 -10
  538. package/abstract/taiga-ui-core-abstract.d.ts +0 -5
  539. package/animations/package.json +0 -10
  540. package/animations/taiga-ui-core-animations.d.ts +0 -5
  541. package/bundles/taiga-ui-core-abstract.umd.js +0 -546
  542. package/bundles/taiga-ui-core-abstract.umd.js.map +0 -1
  543. package/bundles/taiga-ui-core-animations.umd.js +0 -290
  544. package/bundles/taiga-ui-core-animations.umd.js.map +0 -1
  545. package/bundles/taiga-ui-core-components-alert.umd.js +0 -517
  546. package/bundles/taiga-ui-core-components-alert.umd.js.map +0 -1
  547. package/bundles/taiga-ui-core-components-button.umd.js +0 -540
  548. package/bundles/taiga-ui-core-components-button.umd.js.map +0 -1
  549. package/bundles/taiga-ui-core-components-calendar.umd.js +0 -233
  550. package/bundles/taiga-ui-core-components-calendar.umd.js.map +0 -1
  551. package/bundles/taiga-ui-core-components-data-list.umd.js +0 -693
  552. package/bundles/taiga-ui-core-components-data-list.umd.js.map +0 -1
  553. package/bundles/taiga-ui-core-components-dialog.umd.js +0 -634
  554. package/bundles/taiga-ui-core-components-dialog.umd.js.map +0 -1
  555. package/bundles/taiga-ui-core-components-error.umd.js +0 -111
  556. package/bundles/taiga-ui-core-components-error.umd.js.map +0 -1
  557. package/bundles/taiga-ui-core-components-expand.umd.js +0 -220
  558. package/bundles/taiga-ui-core-components-expand.umd.js.map +0 -1
  559. package/bundles/taiga-ui-core-components-group.umd.js +0 -154
  560. package/bundles/taiga-ui-core-components-group.umd.js.map +0 -1
  561. package/bundles/taiga-ui-core-components-hints-host.umd.js +0 -108
  562. package/bundles/taiga-ui-core-components-hints-host.umd.js.map +0 -1
  563. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +0 -808
  564. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +0 -1
  565. package/bundles/taiga-ui-core-components-label.umd.js +0 -96
  566. package/bundles/taiga-ui-core-components-label.umd.js.map +0 -1
  567. package/bundles/taiga-ui-core-components-link.umd.js +0 -172
  568. package/bundles/taiga-ui-core-components-link.umd.js.map +0 -1
  569. package/bundles/taiga-ui-core-components-loader.umd.js +0 -165
  570. package/bundles/taiga-ui-core-components-loader.umd.js.map +0 -1
  571. package/bundles/taiga-ui-core-components-notification.umd.js +0 -124
  572. package/bundles/taiga-ui-core-components-notification.umd.js.map +0 -1
  573. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +0 -245
  574. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +0 -1
  575. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +0 -173
  576. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +0 -1
  577. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +0 -476
  578. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +0 -1
  579. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +0 -1050
  580. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +0 -1
  581. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js +0 -255
  582. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +0 -1
  583. package/bundles/taiga-ui-core-components-root.umd.js +0 -476
  584. package/bundles/taiga-ui-core-components-root.umd.js.map +0 -1
  585. package/bundles/taiga-ui-core-components-scroll-controls.umd.js +0 -620
  586. package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +0 -1
  587. package/bundles/taiga-ui-core-components-scrollbar.umd.js +0 -217
  588. package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +0 -1
  589. package/bundles/taiga-ui-core-components-svg.umd.js +0 -707
  590. package/bundles/taiga-ui-core-components-svg.umd.js.map +0 -1
  591. package/bundles/taiga-ui-core-components-theme-night.umd.js +0 -391
  592. package/bundles/taiga-ui-core-components-theme-night.umd.js.map +0 -1
  593. package/bundles/taiga-ui-core-components-tooltip.umd.js +0 -466
  594. package/bundles/taiga-ui-core-components-tooltip.umd.js.map +0 -1
  595. package/bundles/taiga-ui-core-components.umd.js +0 -165
  596. package/bundles/taiga-ui-core-components.umd.js.map +0 -1
  597. package/bundles/taiga-ui-core-constants.umd.js +0 -117
  598. package/bundles/taiga-ui-core-constants.umd.js.map +0 -1
  599. package/bundles/taiga-ui-core-directives-dropdown.umd.js +0 -1390
  600. package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +0 -1
  601. package/bundles/taiga-ui-core-directives-hint.umd.js +0 -1169
  602. package/bundles/taiga-ui-core-directives-hint.umd.js.map +0 -1
  603. package/bundles/taiga-ui-core-directives-mask-accessor.umd.js +0 -85
  604. package/bundles/taiga-ui-core-directives-mask-accessor.umd.js.map +0 -1
  605. package/bundles/taiga-ui-core-directives-mode.umd.js +0 -392
  606. package/bundles/taiga-ui-core-directives-mode.umd.js.map +0 -1
  607. package/bundles/taiga-ui-core-directives-number-format.umd.js +0 -414
  608. package/bundles/taiga-ui-core-directives-number-format.umd.js.map +0 -1
  609. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js +0 -106
  610. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js.map +0 -1
  611. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +0 -901
  612. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +0 -1
  613. package/bundles/taiga-ui-core-directives-wrapper.umd.js +0 -164
  614. package/bundles/taiga-ui-core-directives-wrapper.umd.js.map +0 -1
  615. package/bundles/taiga-ui-core-directives.umd.js +0 -63
  616. package/bundles/taiga-ui-core-directives.umd.js.map +0 -1
  617. package/bundles/taiga-ui-core-enums.umd.js +0 -76
  618. package/bundles/taiga-ui-core-enums.umd.js.map +0 -1
  619. package/bundles/taiga-ui-core-interfaces.umd.js +0 -11
  620. package/bundles/taiga-ui-core-interfaces.umd.js.map +0 -1
  621. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js +0 -170
  622. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js.map +0 -1
  623. package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js +0 -104
  624. package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js.map +0 -1
  625. package/bundles/taiga-ui-core-internal.umd.js +0 -27
  626. package/bundles/taiga-ui-core-internal.umd.js.map +0 -1
  627. package/bundles/taiga-ui-core-mask.umd.js +0 -11
  628. package/bundles/taiga-ui-core-mask.umd.js.map +0 -1
  629. package/bundles/taiga-ui-core-observables.umd.js +0 -35
  630. package/bundles/taiga-ui-core-observables.umd.js.map +0 -1
  631. package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js +0 -149
  632. package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js.map +0 -1
  633. package/bundles/taiga-ui-core-pipes-flag.umd.js +0 -97
  634. package/bundles/taiga-ui-core-pipes-flag.umd.js.map +0 -1
  635. package/bundles/taiga-ui-core-pipes-format-date.umd.js +0 -77
  636. package/bundles/taiga-ui-core-pipes-format-date.umd.js.map +0 -1
  637. package/bundles/taiga-ui-core-pipes-format-number.umd.js +0 -81
  638. package/bundles/taiga-ui-core-pipes-format-number.umd.js.map +0 -1
  639. package/bundles/taiga-ui-core-pipes-format-phone.umd.js +0 -79
  640. package/bundles/taiga-ui-core-pipes-format-phone.umd.js.map +0 -1
  641. package/bundles/taiga-ui-core-pipes-month.umd.js +0 -76
  642. package/bundles/taiga-ui-core-pipes-month.umd.js.map +0 -1
  643. package/bundles/taiga-ui-core-pipes-order-week-days.umd.js +0 -401
  644. package/bundles/taiga-ui-core-pipes-order-week-days.umd.js.map +0 -1
  645. package/bundles/taiga-ui-core-pipes.umd.js +0 -57
  646. package/bundles/taiga-ui-core-pipes.umd.js.map +0 -1
  647. package/bundles/taiga-ui-core-providers.umd.js +0 -49
  648. package/bundles/taiga-ui-core-providers.umd.js.map +0 -1
  649. package/bundles/taiga-ui-core-services.umd.js +0 -657
  650. package/bundles/taiga-ui-core-services.umd.js.map +0 -1
  651. package/bundles/taiga-ui-core-tokens.umd.js +0 -695
  652. package/bundles/taiga-ui-core-tokens.umd.js.map +0 -1
  653. package/bundles/taiga-ui-core-types.umd.js +0 -11
  654. package/bundles/taiga-ui-core-types.umd.js.map +0 -1
  655. package/bundles/taiga-ui-core-utils-dom.umd.js +0 -176
  656. package/bundles/taiga-ui-core-utils-dom.umd.js.map +0 -1
  657. package/bundles/taiga-ui-core-utils-format.umd.js +0 -489
  658. package/bundles/taiga-ui-core-utils-format.umd.js.map +0 -1
  659. package/bundles/taiga-ui-core-utils-mask.umd.js +0 -625
  660. package/bundles/taiga-ui-core-utils-mask.umd.js.map +0 -1
  661. package/bundles/taiga-ui-core-utils-miscellaneous.umd.js +0 -108
  662. package/bundles/taiga-ui-core-utils-miscellaneous.umd.js.map +0 -1
  663. package/bundles/taiga-ui-core-utils-mobile.umd.js +0 -21
  664. package/bundles/taiga-ui-core-utils-mobile.umd.js.map +0 -1
  665. package/bundles/taiga-ui-core-utils.umd.js +0 -45
  666. package/bundles/taiga-ui-core-utils.umd.js.map +0 -1
  667. package/bundles/taiga-ui-core.umd.js +0 -111
  668. package/bundles/taiga-ui-core.umd.js.map +0 -1
  669. package/components/alert/package.json +0 -10
  670. package/components/alert/taiga-ui-core-components-alert.d.ts +0 -5
  671. package/components/button/package.json +0 -10
  672. package/components/button/taiga-ui-core-components-button.d.ts +0 -5
  673. package/components/calendar/package.json +0 -10
  674. package/components/calendar/taiga-ui-core-components-calendar.d.ts +0 -5
  675. package/components/data-list/package.json +0 -10
  676. package/components/data-list/taiga-ui-core-components-data-list.d.ts +0 -5
  677. package/components/dialog/package.json +0 -10
  678. package/components/dialog/taiga-ui-core-components-dialog.d.ts +0 -5
  679. package/components/error/package.json +0 -10
  680. package/components/error/taiga-ui-core-components-error.d.ts +0 -5
  681. package/components/expand/package.json +0 -10
  682. package/components/expand/taiga-ui-core-components-expand.d.ts +0 -5
  683. package/components/group/package.json +0 -10
  684. package/components/group/taiga-ui-core-components-group.d.ts +0 -5
  685. package/components/hints-host/package.json +0 -10
  686. package/components/hints-host/taiga-ui-core-components-hints-host.d.ts +0 -5
  687. package/components/hosted-dropdown/package.json +0 -10
  688. package/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.d.ts +0 -5
  689. package/components/label/package.json +0 -10
  690. package/components/label/taiga-ui-core-components-label.d.ts +0 -5
  691. package/components/link/package.json +0 -10
  692. package/components/link/taiga-ui-core-components-link.d.ts +0 -5
  693. package/components/loader/package.json +0 -10
  694. package/components/loader/taiga-ui-core-components-loader.d.ts +0 -5
  695. package/components/notification/package.json +0 -10
  696. package/components/notification/taiga-ui-core-components-notification.d.ts +0 -5
  697. package/components/package.json +0 -10
  698. package/components/primitive-calendar/package.json +0 -10
  699. package/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.d.ts +0 -5
  700. package/components/primitive-checkbox/package.json +0 -10
  701. package/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.d.ts +0 -5
  702. package/components/primitive-spin-button/package.json +0 -10
  703. package/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.d.ts +0 -5
  704. package/components/primitive-textfield/package.json +0 -10
  705. package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.d.ts +0 -5
  706. package/components/primitive-year-picker/package.json +0 -10
  707. package/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.d.ts +0 -5
  708. package/components/root/package.json +0 -10
  709. package/components/root/taiga-ui-core-components-root.d.ts +0 -5
  710. package/components/scroll-controls/package.json +0 -10
  711. package/components/scroll-controls/taiga-ui-core-components-scroll-controls.d.ts +0 -5
  712. package/components/scrollbar/package.json +0 -10
  713. package/components/scrollbar/taiga-ui-core-components-scrollbar.d.ts +0 -5
  714. package/components/svg/package.json +0 -10
  715. package/components/svg/taiga-ui-core-components-svg.d.ts +0 -5
  716. package/components/taiga-ui-core-components.d.ts +0 -5
  717. package/components/theme-night/package.json +0 -10
  718. package/components/theme-night/taiga-ui-core-components-theme-night.d.ts +0 -5
  719. package/components/tooltip/package.json +0 -10
  720. package/components/tooltip/taiga-ui-core-components-tooltip.d.ts +0 -5
  721. package/constants/package.json +0 -10
  722. package/constants/taiga-ui-core-constants.d.ts +0 -5
  723. package/directives/dropdown/package.json +0 -10
  724. package/directives/dropdown/taiga-ui-core-directives-dropdown.d.ts +0 -5
  725. package/directives/hint/package.json +0 -10
  726. package/directives/hint/taiga-ui-core-directives-hint.d.ts +0 -5
  727. package/directives/mask-accessor/package.json +0 -10
  728. package/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.d.ts +0 -5
  729. package/directives/mode/package.json +0 -10
  730. package/directives/mode/taiga-ui-core-directives-mode.d.ts +0 -5
  731. package/directives/number-format/package.json +0 -10
  732. package/directives/number-format/taiga-ui-core-directives-number-format.d.ts +0 -5
  733. package/directives/package.json +0 -10
  734. package/directives/scroll-into-view/package.json +0 -10
  735. package/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.d.ts +0 -5
  736. package/directives/taiga-ui-core-directives.d.ts +0 -5
  737. package/directives/textfield-controller/package.json +0 -10
  738. package/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.d.ts +0 -5
  739. package/directives/wrapper/package.json +0 -10
  740. package/directives/wrapper/taiga-ui-core-directives-wrapper.d.ts +0 -5
  741. package/enums/package.json +0 -10
  742. package/enums/taiga-ui-core-enums.d.ts +0 -5
  743. package/esm2015/abstract/abstract-driver.directive.js +0 -40
  744. package/esm2015/abstract/abstract-textfield-host.js +0 -37
  745. package/esm2015/abstract/rect-accessor.js +0 -24
  746. package/esm2015/components/alert/alert.component.js +0 -90
  747. package/esm2015/components/alert/alert.directive.js +0 -28
  748. package/esm2015/components/alert/alert.module.js +0 -24
  749. package/esm2015/components/alert/alert.service.js +0 -27
  750. package/esm2015/components/button/button.component.js +0 -113
  751. package/esm2015/components/button/button.module.js +0 -38
  752. package/esm2015/components/calendar/calendar.component.js +0 -134
  753. package/esm2015/components/calendar/calendar.module.js +0 -42
  754. package/esm2015/components/data-list/data-list.component.js +0 -127
  755. package/esm2015/components/data-list/data-list.directive.js +0 -19
  756. package/esm2015/components/data-list/data-list.module.js +0 -39
  757. package/esm2015/components/data-list/opt-group.directive.js +0 -21
  758. package/esm2015/components/data-list/option/option.component.js +0 -119
  759. package/esm2015/components/dialog/dialog-close.service.js +0 -47
  760. package/esm2015/components/dialog/dialog.component.js +0 -127
  761. package/esm2015/components/dialog/dialog.directive.js +0 -28
  762. package/esm2015/components/dialog/dialog.module.js +0 -24
  763. package/esm2015/components/dialog/dialog.service.js +0 -23
  764. package/esm2015/components/error/error.component.js +0 -56
  765. package/esm2015/components/error/error.module.js +0 -19
  766. package/esm2015/components/expand/expand-content.directive.js +0 -13
  767. package/esm2015/components/expand/expand.component.js +0 -131
  768. package/esm2015/components/expand/expand.module.js +0 -20
  769. package/esm2015/components/group/group-styles.component.js +0 -19
  770. package/esm2015/components/group/group.directive.js +0 -68
  771. package/esm2015/components/group/group.module.js +0 -19
  772. package/esm2015/components/hints-host/hints-host.component.js +0 -55
  773. package/esm2015/components/hints-host/hints-host.module.js +0 -20
  774. package/esm2015/components/hosted-dropdown/accessor-proxy.directive.js +0 -42
  775. package/esm2015/components/hosted-dropdown/dropdown-open-monitor.directive.js +0 -45
  776. package/esm2015/components/hosted-dropdown/hosted-dropdown-connector.directive.js +0 -13
  777. package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +0 -279
  778. package/esm2015/components/hosted-dropdown/hosted-dropdown.module.js +0 -57
  779. package/esm2015/components/label/label.component.js +0 -44
  780. package/esm2015/components/label/label.module.js +0 -18
  781. package/esm2015/components/link/link.component.js +0 -101
  782. package/esm2015/components/link/link.module.js +0 -19
  783. package/esm2015/components/loader/loader.component.js +0 -77
  784. package/esm2015/components/loader/loader.module.js +0 -19
  785. package/esm2015/components/notification/notification.component.js +0 -67
  786. package/esm2015/components/notification/notification.module.js +0 -21
  787. package/esm2015/components/primitive-calendar/primitive-calendar.component.js +0 -160
  788. package/esm2015/components/primitive-calendar/primitive-calendar.module.js +0 -45
  789. package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +0 -77
  790. package/esm2015/components/primitive-checkbox/primitive-checkbox.module.js +0 -20
  791. package/esm2015/components/primitive-spin-button/primitive-spin-button.component.js +0 -91
  792. package/esm2015/components/primitive-spin-button/primitive-spin-button.module.js +0 -19
  793. package/esm2015/components/primitive-textfield/primitive-textfield.component.js +0 -286
  794. package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +0 -36
  795. package/esm2015/components/primitive-textfield/primitive-textfield.module.js +0 -70
  796. package/esm2015/components/primitive-textfield/textfield/textfield.component.js +0 -64
  797. package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +0 -86
  798. package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +0 -164
  799. package/esm2015/components/primitive-year-picker/primitive-year-picker.module.js +0 -35
  800. package/esm2015/components/root/root.component.js +0 -80
  801. package/esm2015/components/root/root.module.js +0 -47
  802. package/esm2015/components/scroll-controls/scroll-controls.component.js +0 -61
  803. package/esm2015/components/scroll-controls/scroll-controls.module.js +0 -28
  804. package/esm2015/components/scroll-controls/scrollbar-wrapper.directive.js +0 -25
  805. package/esm2015/components/scroll-controls/scrollbar.directive.js +0 -135
  806. package/esm2015/components/scrollbar/scroll-ref.directive.js +0 -28
  807. package/esm2015/components/scrollbar/scrollable.directive.js +0 -26
  808. package/esm2015/components/scrollbar/scrollbar.component.js +0 -94
  809. package/esm2015/components/scrollbar/scrollbar.module.js +0 -21
  810. package/esm2015/components/svg/svg-options.js +0 -60
  811. package/esm2015/components/svg/svg.component.js +0 -183
  812. package/esm2015/components/svg/svg.module.js +0 -19
  813. package/esm2015/components/theme-night/theme-night.component.js +0 -18
  814. package/esm2015/components/theme-night/theme-night.module.js +0 -16
  815. package/esm2015/components/tooltip/tooltip.component.js +0 -76
  816. package/esm2015/components/tooltip/tooltip.module.js +0 -38
  817. package/esm2015/directives/dropdown/dropdown-context.directive.js +0 -66
  818. package/esm2015/directives/dropdown/dropdown-driver.directive.js +0 -33
  819. package/esm2015/directives/dropdown/dropdown-host.directive.js +0 -26
  820. package/esm2015/directives/dropdown/dropdown-hover.directive.js +0 -58
  821. package/esm2015/directives/dropdown/dropdown-manual.directive.js +0 -27
  822. package/esm2015/directives/dropdown/dropdown-open.directive.js +0 -29
  823. package/esm2015/directives/dropdown/dropdown-options.directive.js +0 -84
  824. package/esm2015/directives/dropdown/dropdown-position-sided.directive.js +0 -82
  825. package/esm2015/directives/dropdown/dropdown-position.directive.js +0 -86
  826. package/esm2015/directives/dropdown/dropdown-selection.directive.js +0 -162
  827. package/esm2015/directives/dropdown/dropdown.component.js +0 -174
  828. package/esm2015/directives/dropdown/dropdown.directive.js +0 -123
  829. package/esm2015/directives/dropdown/dropdown.module.js +0 -95
  830. package/esm2015/directives/hint/hint-describe.directive.js +0 -57
  831. package/esm2015/directives/hint/hint-driver.directive.js +0 -33
  832. package/esm2015/directives/hint/hint-host.directive.js +0 -26
  833. package/esm2015/directives/hint/hint-hover.directive.js +0 -56
  834. package/esm2015/directives/hint/hint-manual.directive.js +0 -33
  835. package/esm2015/directives/hint/hint-options.directive.js +0 -75
  836. package/esm2015/directives/hint/hint-pointer.directive.js +0 -36
  837. package/esm2015/directives/hint/hint-position.directive.js +0 -105
  838. package/esm2015/directives/hint/hint-unstyled.component.js +0 -66
  839. package/esm2015/directives/hint/hint.component.js +0 -167
  840. package/esm2015/directives/hint/hint.directive.js +0 -96
  841. package/esm2015/directives/hint/hint.module.js +0 -75
  842. package/esm2015/directives/mask-accessor/mask-accessor.directive.js +0 -30
  843. package/esm2015/directives/mask-accessor/mask-accessor.module.js +0 -19
  844. package/esm2015/directives/mode/mode.directive.js +0 -21
  845. package/esm2015/directives/mode/mode.module.js +0 -16
  846. package/esm2015/directives/number-format/number-format.directive.js +0 -38
  847. package/esm2015/directives/number-format/number-format.module.js +0 -16
  848. package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +0 -51
  849. package/esm2015/directives/scroll-into-view/scroll-into-view.module.js +0 -16
  850. package/esm2015/directives/textfield-controller/textfield-appearance.directive.js +0 -36
  851. package/esm2015/directives/textfield-controller/textfield-cleaner.directive.js +0 -33
  852. package/esm2015/directives/textfield-controller/textfield-controller.module.js +0 -65
  853. package/esm2015/directives/textfield-controller/textfield-custom-content.directive.js +0 -29
  854. package/esm2015/directives/textfield-controller/textfield-filler.directive.js +0 -33
  855. package/esm2015/directives/textfield-controller/textfield-icon-left.directive.js +0 -29
  856. package/esm2015/directives/textfield-controller/textfield-icon.directive.js +0 -29
  857. package/esm2015/directives/textfield-controller/textfield-label-outside.directive.js +0 -33
  858. package/esm2015/directives/textfield-controller/textfield-postfix.directive.js +0 -33
  859. package/esm2015/directives/textfield-controller/textfield-prefix.directive.js +0 -33
  860. package/esm2015/directives/textfield-controller/textfield-size.directive.js +0 -33
  861. package/esm2015/directives/wrapper/wrapper.directive.js +0 -93
  862. package/esm2015/directives/wrapper/wrapper.module.js +0 -16
  863. package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +0 -82
  864. package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.js +0 -38
  865. package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +0 -52
  866. package/esm2015/internal/svg-defs-host/svg-defs-host.module.js +0 -19
  867. package/esm2015/pipes/calendar-sheet/calendar-sheet.module.js +0 -16
  868. package/esm2015/pipes/calendar-sheet/calendar-sheet.pipe.js +0 -57
  869. package/esm2015/pipes/flag/flag.module.js +0 -16
  870. package/esm2015/pipes/flag/flag.pipe.js +0 -46
  871. package/esm2015/pipes/format-date/format-date.module.js +0 -16
  872. package/esm2015/pipes/format-date/format-date.pipe.js +0 -24
  873. package/esm2015/pipes/format-number/format-number.module.js +0 -16
  874. package/esm2015/pipes/format-number/format-number.pipe.js +0 -28
  875. package/esm2015/pipes/format-phone/format-phone.module.js +0 -16
  876. package/esm2015/pipes/format-phone/format-phone.pipe.js +0 -25
  877. package/esm2015/pipes/month/month.module.js +0 -16
  878. package/esm2015/pipes/month/month.pipe.js +0 -23
  879. package/esm2015/pipes/order-week-days/order-week-days.module.js +0 -16
  880. package/esm2015/pipes/order-week-days/order-week-days.pipe.js +0 -34
  881. package/esm2015/services/breakpoint.service.js +0 -39
  882. package/esm2015/services/format-date.service.js +0 -26
  883. package/esm2015/services/hint.service.js +0 -28
  884. package/esm2015/services/night-theme.service.js +0 -24
  885. package/esm2015/services/position.service.js +0 -36
  886. package/esm2015/services/router-link-active.service.js +0 -42
  887. package/esm2015/services/svg.service.js +0 -70
  888. package/esm2015/services/visual-viewport.service.js +0 -35
  889. package/esm2015/tokens/number-format-observable.js +0 -8
  890. package/esm2015/tokens/reduced-motion.js +0 -8
  891. package/esm2015/tokens/viewport.js +0 -29
  892. package/esm2015/utils/dom/process-icon.js +0 -31
  893. package/esm2015/utils/format/format-number.js +0 -40
  894. package/esm2015/utils/format/number-to-string-without-exp.js +0 -18
  895. package/esm2015/utils/mask/create-number-mask.js +0 -121
  896. package/esm2015/utils/miscellaneous/is-obscured.js +0 -9
  897. package/esm2015/utils/miscellaneous/override-options.js +0 -11
  898. package/fesm2015/taiga-ui-core-abstract.js +0 -142
  899. package/fesm2015/taiga-ui-core-abstract.js.map +0 -1
  900. package/fesm2015/taiga-ui-core-animations.js +0 -262
  901. package/fesm2015/taiga-ui-core-animations.js.map +0 -1
  902. package/fesm2015/taiga-ui-core-components-alert.js +0 -159
  903. package/fesm2015/taiga-ui-core-components-alert.js.map +0 -1
  904. package/fesm2015/taiga-ui-core-components-button.js +0 -168
  905. package/fesm2015/taiga-ui-core-components-button.js.map +0 -1
  906. package/fesm2015/taiga-ui-core-components-calendar.js +0 -179
  907. package/fesm2015/taiga-ui-core-components-calendar.js.map +0 -1
  908. package/fesm2015/taiga-ui-core-components-data-list.js +0 -312
  909. package/fesm2015/taiga-ui-core-components-data-list.js.map +0 -1
  910. package/fesm2015/taiga-ui-core-components-dialog.js +0 -251
  911. package/fesm2015/taiga-ui-core-components-dialog.js.map +0 -1
  912. package/fesm2015/taiga-ui-core-components-error.js +0 -79
  913. package/fesm2015/taiga-ui-core-components-error.js.map +0 -1
  914. package/fesm2015/taiga-ui-core-components-expand.js +0 -164
  915. package/fesm2015/taiga-ui-core-components-expand.js.map +0 -1
  916. package/fesm2015/taiga-ui-core-components-group.js +0 -106
  917. package/fesm2015/taiga-ui-core-components-group.js.map +0 -1
  918. package/fesm2015/taiga-ui-core-components-hints-host.js +0 -78
  919. package/fesm2015/taiga-ui-core-components-hints-host.js.map +0 -1
  920. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +0 -422
  921. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +0 -1
  922. package/fesm2015/taiga-ui-core-components-label.js +0 -66
  923. package/fesm2015/taiga-ui-core-components-label.js.map +0 -1
  924. package/fesm2015/taiga-ui-core-components-link.js +0 -124
  925. package/fesm2015/taiga-ui-core-components-link.js.map +0 -1
  926. package/fesm2015/taiga-ui-core-components-loader.js +0 -112
  927. package/fesm2015/taiga-ui-core-components-loader.js.map +0 -1
  928. package/fesm2015/taiga-ui-core-components-notification.js +0 -92
  929. package/fesm2015/taiga-ui-core-components-notification.js.map +0 -1
  930. package/fesm2015/taiga-ui-core-components-primitive-calendar.js +0 -208
  931. package/fesm2015/taiga-ui-core-components-primitive-calendar.js.map +0 -1
  932. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +0 -123
  933. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +0 -1
  934. package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +0 -114
  935. package/fesm2015/taiga-ui-core-components-primitive-spin-button.js.map +0 -1
  936. package/fesm2015/taiga-ui-core-components-primitive-textfield.js +0 -542
  937. package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +0 -1
  938. package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +0 -202
  939. package/fesm2015/taiga-ui-core-components-primitive-year-picker.js.map +0 -1
  940. package/fesm2015/taiga-ui-core-components-root.js +0 -129
  941. package/fesm2015/taiga-ui-core-components-root.js.map +0 -1
  942. package/fesm2015/taiga-ui-core-components-scroll-controls.js +0 -237
  943. package/fesm2015/taiga-ui-core-components-scroll-controls.js.map +0 -1
  944. package/fesm2015/taiga-ui-core-components-scrollbar.js +0 -164
  945. package/fesm2015/taiga-ui-core-components-scrollbar.js.map +0 -1
  946. package/fesm2015/taiga-ui-core-components-svg.js +0 -317
  947. package/fesm2015/taiga-ui-core-components-svg.js.map +0 -1
  948. package/fesm2015/taiga-ui-core-components-theme-night.js +0 -38
  949. package/fesm2015/taiga-ui-core-components-theme-night.js.map +0 -1
  950. package/fesm2015/taiga-ui-core-components-tooltip.js +0 -118
  951. package/fesm2015/taiga-ui-core-components-tooltip.js.map +0 -1
  952. package/fesm2015/taiga-ui-core-components.js +0 -30
  953. package/fesm2015/taiga-ui-core-components.js.map +0 -1
  954. package/fesm2015/taiga-ui-core-constants.js +0 -90
  955. package/fesm2015/taiga-ui-core-constants.js.map +0 -1
  956. package/fesm2015/taiga-ui-core-directives-dropdown.js +0 -975
  957. package/fesm2015/taiga-ui-core-directives-dropdown.js.map +0 -1
  958. package/fesm2015/taiga-ui-core-directives-hint.js +0 -753
  959. package/fesm2015/taiga-ui-core-directives-hint.js.map +0 -1
  960. package/fesm2015/taiga-ui-core-directives-mask-accessor.js +0 -53
  961. package/fesm2015/taiga-ui-core-directives-mask-accessor.js.map +0 -1
  962. package/fesm2015/taiga-ui-core-directives-mode.js +0 -41
  963. package/fesm2015/taiga-ui-core-directives-mode.js.map +0 -1
  964. package/fesm2015/taiga-ui-core-directives-number-format.js +0 -58
  965. package/fesm2015/taiga-ui-core-directives-number-format.js.map +0 -1
  966. package/fesm2015/taiga-ui-core-directives-scroll-into-view.js +0 -71
  967. package/fesm2015/taiga-ui-core-directives-scroll-into-view.js.map +0 -1
  968. package/fesm2015/taiga-ui-core-directives-textfield-controller.js +0 -447
  969. package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +0 -1
  970. package/fesm2015/taiga-ui-core-directives-wrapper.js +0 -113
  971. package/fesm2015/taiga-ui-core-directives-wrapper.js.map +0 -1
  972. package/fesm2015/taiga-ui-core-directives.js +0 -13
  973. package/fesm2015/taiga-ui-core-directives.js.map +0 -1
  974. package/fesm2015/taiga-ui-core-enums.js +0 -68
  975. package/fesm2015/taiga-ui-core-enums.js.map +0 -1
  976. package/fesm2015/taiga-ui-core-interfaces.js +0 -4
  977. package/fesm2015/taiga-ui-core-interfaces.js.map +0 -1
  978. package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js +0 -123
  979. package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js.map +0 -1
  980. package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +0 -73
  981. package/fesm2015/taiga-ui-core-internal-svg-defs-host.js.map +0 -1
  982. package/fesm2015/taiga-ui-core-internal.js +0 -7
  983. package/fesm2015/taiga-ui-core-internal.js.map +0 -1
  984. package/fesm2015/taiga-ui-core-mask.js +0 -4
  985. package/fesm2015/taiga-ui-core-mask.js.map +0 -1
  986. package/fesm2015/taiga-ui-core-observables.js +0 -27
  987. package/fesm2015/taiga-ui-core-observables.js.map +0 -1
  988. package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js +0 -109
  989. package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js.map +0 -1
  990. package/fesm2015/taiga-ui-core-pipes-flag.js +0 -66
  991. package/fesm2015/taiga-ui-core-pipes-flag.js.map +0 -1
  992. package/fesm2015/taiga-ui-core-pipes-format-date.js +0 -44
  993. package/fesm2015/taiga-ui-core-pipes-format-date.js.map +0 -1
  994. package/fesm2015/taiga-ui-core-pipes-format-number.js +0 -48
  995. package/fesm2015/taiga-ui-core-pipes-format-number.js.map +0 -1
  996. package/fesm2015/taiga-ui-core-pipes-format-phone.js +0 -45
  997. package/fesm2015/taiga-ui-core-pipes-format-phone.js.map +0 -1
  998. package/fesm2015/taiga-ui-core-pipes-month.js +0 -43
  999. package/fesm2015/taiga-ui-core-pipes-month.js.map +0 -1
  1000. package/fesm2015/taiga-ui-core-pipes-order-week-days.js +0 -54
  1001. package/fesm2015/taiga-ui-core-pipes-order-week-days.js.map +0 -1
  1002. package/fesm2015/taiga-ui-core-pipes.js +0 -12
  1003. package/fesm2015/taiga-ui-core-pipes.js.map +0 -1
  1004. package/fesm2015/taiga-ui-core-providers.js +0 -42
  1005. package/fesm2015/taiga-ui-core-providers.js.map +0 -1
  1006. package/fesm2015/taiga-ui-core-services.js +0 -274
  1007. package/fesm2015/taiga-ui-core-services.js.map +0 -1
  1008. package/fesm2015/taiga-ui-core-tokens.js +0 -331
  1009. package/fesm2015/taiga-ui-core-tokens.js.map +0 -1
  1010. package/fesm2015/taiga-ui-core-types.js +0 -16
  1011. package/fesm2015/taiga-ui-core-types.js.map +0 -1
  1012. package/fesm2015/taiga-ui-core-utils-dom.js +0 -160
  1013. package/fesm2015/taiga-ui-core-utils-dom.js.map +0 -1
  1014. package/fesm2015/taiga-ui-core-utils-format.js +0 -146
  1015. package/fesm2015/taiga-ui-core-utils-format.js.map +0 -1
  1016. package/fesm2015/taiga-ui-core-utils-mask.js +0 -284
  1017. package/fesm2015/taiga-ui-core-utils-mask.js.map +0 -1
  1018. package/fesm2015/taiga-ui-core-utils-miscellaneous.js +0 -89
  1019. package/fesm2015/taiga-ui-core-utils-miscellaneous.js.map +0 -1
  1020. package/fesm2015/taiga-ui-core-utils-mobile.js +0 -12
  1021. package/fesm2015/taiga-ui-core-utils-mobile.js.map +0 -1
  1022. package/fesm2015/taiga-ui-core-utils.js +0 -10
  1023. package/fesm2015/taiga-ui-core-utils.js.map +0 -1
  1024. package/fesm2015/taiga-ui-core.js +0 -21
  1025. package/fesm2015/taiga-ui-core.js.map +0 -1
  1026. package/interfaces/package.json +0 -10
  1027. package/interfaces/taiga-ui-core-interfaces.d.ts +0 -5
  1028. package/internal/package.json +0 -10
  1029. package/internal/primitive-year-month-pagination/package.json +0 -10
  1030. package/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.d.ts +0 -5
  1031. package/internal/svg-defs-host/package.json +0 -10
  1032. package/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.d.ts +0 -5
  1033. package/internal/taiga-ui-core-internal.d.ts +0 -5
  1034. package/mask/package.json +0 -10
  1035. package/mask/taiga-ui-core-mask.d.ts +0 -5
  1036. package/observables/package.json +0 -10
  1037. package/observables/taiga-ui-core-observables.d.ts +0 -5
  1038. package/pipes/calendar-sheet/package.json +0 -10
  1039. package/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.d.ts +0 -5
  1040. package/pipes/flag/package.json +0 -10
  1041. package/pipes/flag/taiga-ui-core-pipes-flag.d.ts +0 -5
  1042. package/pipes/format-date/package.json +0 -10
  1043. package/pipes/format-date/taiga-ui-core-pipes-format-date.d.ts +0 -5
  1044. package/pipes/format-number/package.json +0 -10
  1045. package/pipes/format-number/taiga-ui-core-pipes-format-number.d.ts +0 -5
  1046. package/pipes/format-phone/package.json +0 -10
  1047. package/pipes/format-phone/taiga-ui-core-pipes-format-phone.d.ts +0 -5
  1048. package/pipes/month/package.json +0 -10
  1049. package/pipes/month/taiga-ui-core-pipes-month.d.ts +0 -5
  1050. package/pipes/order-week-days/package.json +0 -10
  1051. package/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.d.ts +0 -5
  1052. package/pipes/package.json +0 -10
  1053. package/pipes/taiga-ui-core-pipes.d.ts +0 -5
  1054. package/providers/package.json +0 -10
  1055. package/providers/taiga-ui-core-providers.d.ts +0 -5
  1056. package/services/package.json +0 -10
  1057. package/services/taiga-ui-core-services.d.ts +0 -5
  1058. package/taiga-ui-core.d.ts +0 -5
  1059. package/tokens/package.json +0 -10
  1060. package/tokens/taiga-ui-core-tokens.d.ts +0 -5
  1061. package/types/package.json +0 -10
  1062. package/types/taiga-ui-core-types.d.ts +0 -5
  1063. package/utils/dom/package.json +0 -10
  1064. package/utils/dom/taiga-ui-core-utils-dom.d.ts +0 -5
  1065. package/utils/format/package.json +0 -10
  1066. package/utils/format/taiga-ui-core-utils-format.d.ts +0 -5
  1067. package/utils/mask/package.json +0 -10
  1068. package/utils/mask/taiga-ui-core-utils-mask.d.ts +0 -5
  1069. package/utils/miscellaneous/package.json +0 -10
  1070. package/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.d.ts +0 -5
  1071. package/utils/mobile/package.json +0 -10
  1072. package/utils/mobile/taiga-ui-core-utils-mobile.d.ts +0 -5
  1073. package/utils/package.json +0 -10
  1074. package/utils/taiga-ui-core-utils.d.ts +0 -5
  1075. /package/{esm2015/abstract/driver.js → esm2020/abstract/driver.mjs} +0 -0
  1076. /package/{esm2015/abstract/index.js → esm2020/abstract/index.mjs} +0 -0
  1077. /package/{esm2015/abstract/position-accessor.js → esm2020/abstract/position-accessor.mjs} +0 -0
  1078. /package/{esm2015/abstract/taiga-ui-core-abstract.js → esm2020/abstract/taiga-ui-core-abstract.mjs} +0 -0
  1079. /package/{esm2015/abstract/vehicle.js → esm2020/abstract/vehicle.mjs} +0 -0
  1080. /package/{esm2015/animations/animations.js → esm2020/animations/animations.mjs} +0 -0
  1081. /package/{esm2015/animations/index.js → esm2020/animations/index.mjs} +0 -0
  1082. /package/{esm2015/animations/taiga-ui-core-animations.js → esm2020/animations/taiga-ui-core-animations.mjs} +0 -0
  1083. /package/{esm2015/components/alert/alert.providers.js → esm2020/components/alert/alert.providers.mjs} +0 -0
  1084. /package/{esm2015/components/alert/index.js → esm2020/components/alert/index.mjs} +0 -0
  1085. /package/{esm2015/components/alert/taiga-ui-core-components-alert.js → esm2020/components/alert/taiga-ui-core-components-alert.mjs} +0 -0
  1086. /package/{esm2015/components/button/button.options.js → esm2020/components/button/button.options.mjs} +0 -0
  1087. /package/{esm2015/components/button/index.js → esm2020/components/button/index.mjs} +0 -0
  1088. /package/{esm2015/components/button/taiga-ui-core-components-button.js → esm2020/components/button/taiga-ui-core-components-button.mjs} +0 -0
  1089. /package/{esm2015/components/calendar/index.js → esm2020/components/calendar/index.mjs} +0 -0
  1090. /package/{esm2015/components/calendar/taiga-ui-core-components-calendar.js → esm2020/components/calendar/taiga-ui-core-components-calendar.mjs} +0 -0
  1091. /package/{esm2015/components/data-list/index.js → esm2020/components/data-list/index.mjs} +0 -0
  1092. /package/{esm2015/components/data-list/taiga-ui-core-components-data-list.js → esm2020/components/data-list/taiga-ui-core-components-data-list.mjs} +0 -0
  1093. /package/{esm2015/components/dialog/dialog.tokens.js → esm2020/components/dialog/dialog.tokens.mjs} +0 -0
  1094. /package/{esm2015/components/dialog/index.js → esm2020/components/dialog/index.mjs} +0 -0
  1095. /package/{esm2015/components/dialog/taiga-ui-core-components-dialog.js → esm2020/components/dialog/taiga-ui-core-components-dialog.mjs} +0 -0
  1096. /package/{esm2015/components/error/index.js → esm2020/components/error/index.mjs} +0 -0
  1097. /package/{esm2015/components/error/taiga-ui-core-components-error.js → esm2020/components/error/taiga-ui-core-components-error.mjs} +0 -0
  1098. /package/{esm2015/components/expand/index.js → esm2020/components/expand/index.mjs} +0 -0
  1099. /package/{esm2015/components/expand/taiga-ui-core-components-expand.js → esm2020/components/expand/taiga-ui-core-components-expand.mjs} +0 -0
  1100. /package/{esm2015/components/group/index.js → esm2020/components/group/index.mjs} +0 -0
  1101. /package/{esm2015/components/group/taiga-ui-core-components-group.js → esm2020/components/group/taiga-ui-core-components-group.mjs} +0 -0
  1102. /package/{esm2015/components/hints-host/index.js → esm2020/components/hints-host/index.mjs} +0 -0
  1103. /package/{esm2015/components/hints-host/taiga-ui-core-components-hints-host.js → esm2020/components/hints-host/taiga-ui-core-components-hints-host.mjs} +0 -0
  1104. /package/{esm2015/components/hosted-dropdown/hosted-dropdown.token.js → esm2020/components/hosted-dropdown/hosted-dropdown.token.mjs} +0 -0
  1105. /package/{esm2015/components/hosted-dropdown/index.js → esm2020/components/hosted-dropdown/index.mjs} +0 -0
  1106. /package/{esm2015/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.js → esm2020/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.mjs} +0 -0
  1107. /package/{esm2015/components/index.js → esm2020/components/index.mjs} +0 -0
  1108. /package/{esm2015/components/label/index.js → esm2020/components/label/index.mjs} +0 -0
  1109. /package/{esm2015/components/label/taiga-ui-core-components-label.js → esm2020/components/label/taiga-ui-core-components-label.mjs} +0 -0
  1110. /package/{esm2015/components/link/index.js → esm2020/components/link/index.mjs} +0 -0
  1111. /package/{esm2015/components/link/taiga-ui-core-components-link.js → esm2020/components/link/taiga-ui-core-components-link.mjs} +0 -0
  1112. /package/{esm2015/components/loader/index.js → esm2020/components/loader/index.mjs} +0 -0
  1113. /package/{esm2015/components/loader/loader.options.js → esm2020/components/loader/loader.options.mjs} +0 -0
  1114. /package/{esm2015/components/loader/taiga-ui-core-components-loader.js → esm2020/components/loader/taiga-ui-core-components-loader.mjs} +0 -0
  1115. /package/{esm2015/components/notification/index.js → esm2020/components/notification/index.mjs} +0 -0
  1116. /package/{esm2015/components/notification/taiga-ui-core-components-notification.js → esm2020/components/notification/taiga-ui-core-components-notification.mjs} +0 -0
  1117. /package/{esm2015/components/primitive-calendar/index.js → esm2020/components/primitive-calendar/index.mjs} +0 -0
  1118. /package/{esm2015/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.js → esm2020/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.mjs} +0 -0
  1119. /package/{esm2015/components/primitive-checkbox/checkbox.options.js → esm2020/components/primitive-checkbox/checkbox.options.mjs} +0 -0
  1120. /package/{esm2015/components/primitive-checkbox/index.js → esm2020/components/primitive-checkbox/index.mjs} +0 -0
  1121. /package/{esm2015/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.js → esm2020/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.mjs} +0 -0
  1122. /package/{esm2015/components/primitive-spin-button/index.js → esm2020/components/primitive-spin-button/index.mjs} +0 -0
  1123. /package/{esm2015/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.js → esm2020/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.mjs} +0 -0
  1124. /package/{esm2015/components/primitive-textfield/index.js → esm2020/components/primitive-textfield/index.mjs} +0 -0
  1125. /package/{esm2015/components/primitive-textfield/primitive-textfield-options.js → esm2020/components/primitive-textfield/primitive-textfield-options.mjs} +0 -0
  1126. /package/{esm2015/components/primitive-textfield/primitive-textfield-types.js → esm2020/components/primitive-textfield/primitive-textfield-types.mjs} +0 -0
  1127. /package/{esm2015/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.js → esm2020/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.mjs} +0 -0
  1128. /package/{esm2015/components/primitive-year-picker/index.js → esm2020/components/primitive-year-picker/index.mjs} +0 -0
  1129. /package/{esm2015/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.js → esm2020/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.mjs} +0 -0
  1130. /package/{esm2015/components/root/index.js → esm2020/components/root/index.mjs} +0 -0
  1131. /package/{esm2015/components/root/taiga-ui-core-components-root.js → esm2020/components/root/taiga-ui-core-components-root.mjs} +0 -0
  1132. /package/{esm2015/components/scroll-controls/index.js → esm2020/components/scroll-controls/index.mjs} +0 -0
  1133. /package/{esm2015/components/scroll-controls/taiga-ui-core-components-scroll-controls.js → esm2020/components/scroll-controls/taiga-ui-core-components-scroll-controls.mjs} +0 -0
  1134. /package/{esm2015/components/scrollbar/index.js → esm2020/components/scrollbar/index.mjs} +0 -0
  1135. /package/{esm2015/components/scrollbar/taiga-ui-core-components-scrollbar.js → esm2020/components/scrollbar/taiga-ui-core-components-scrollbar.mjs} +0 -0
  1136. /package/{esm2015/components/svg/deprecated-icons.js → esm2020/components/svg/deprecated-icons.mjs} +0 -0
  1137. /package/{esm2015/components/svg/index.js → esm2020/components/svg/index.mjs} +0 -0
  1138. /package/{esm2015/components/svg/taiga-ui-core-components-svg.js → esm2020/components/svg/taiga-ui-core-components-svg.mjs} +0 -0
  1139. /package/{esm2015/components/taiga-ui-core-components.js → esm2020/components/taiga-ui-core-components.mjs} +0 -0
  1140. /package/{esm2015/components/theme-night/index.js → esm2020/components/theme-night/index.mjs} +0 -0
  1141. /package/{esm2015/components/theme-night/taiga-ui-core-components-theme-night.js → esm2020/components/theme-night/taiga-ui-core-components-theme-night.mjs} +0 -0
  1142. /package/{esm2015/components/tooltip/index.js → esm2020/components/tooltip/index.mjs} +0 -0
  1143. /package/{esm2015/components/tooltip/taiga-ui-core-components-tooltip.js → esm2020/components/tooltip/taiga-ui-core-components-tooltip.mjs} +0 -0
  1144. /package/{esm2015/constants/cache-basting-payload.js → esm2020/constants/cache-basting-payload.mjs} +0 -0
  1145. /package/{esm2015/constants/decimal-symbols.js → esm2020/constants/decimal-symbols.mjs} +0 -0
  1146. /package/{esm2015/constants/default-icons-path.js → esm2020/constants/default-icons-path.mjs} +0 -0
  1147. /package/{esm2015/constants/default-marker-handler.js → esm2020/constants/default-marker-handler.mjs} +0 -0
  1148. /package/{esm2015/constants/default-number-format.js → esm2020/constants/default-number-format.mjs} +0 -0
  1149. /package/{esm2015/constants/editing-keys.js → esm2020/constants/editing-keys.mjs} +0 -0
  1150. /package/{esm2015/constants/events.js → esm2020/constants/events.mjs} +0 -0
  1151. /package/{esm2015/constants/hint-directions.js → esm2020/constants/hint-directions.mjs} +0 -0
  1152. /package/{esm2015/constants/index.js → esm2020/constants/index.mjs} +0 -0
  1153. /package/{esm2015/constants/mask-caret-trap.js → esm2020/constants/mask-caret-trap.mjs} +0 -0
  1154. /package/{esm2015/constants/regexp.js → esm2020/constants/regexp.mjs} +0 -0
  1155. /package/{esm2015/constants/taiga-ui-core-constants.js → esm2020/constants/taiga-ui-core-constants.mjs} +0 -0
  1156. /package/{esm2015/directives/dropdown/dropdown-hover.options.js → esm2020/directives/dropdown/dropdown-hover.options.mjs} +0 -0
  1157. /package/{esm2015/directives/dropdown/dropdown.providers.js → esm2020/directives/dropdown/dropdown.providers.mjs} +0 -0
  1158. /package/{esm2015/directives/dropdown/index.js → esm2020/directives/dropdown/index.mjs} +0 -0
  1159. /package/{esm2015/directives/dropdown/taiga-ui-core-directives-dropdown.js → esm2020/directives/dropdown/taiga-ui-core-directives-dropdown.mjs} +0 -0
  1160. /package/{esm2015/directives/hint/hint.providers.js → esm2020/directives/hint/hint.providers.mjs} +0 -0
  1161. /package/{esm2015/directives/hint/index.js → esm2020/directives/hint/index.mjs} +0 -0
  1162. /package/{esm2015/directives/hint/taiga-ui-core-directives-hint.js → esm2020/directives/hint/taiga-ui-core-directives-hint.mjs} +0 -0
  1163. /package/{esm2015/directives/index.js → esm2020/directives/index.mjs} +0 -0
  1164. /package/{esm2015/directives/mask-accessor/index.js → esm2020/directives/mask-accessor/index.mjs} +0 -0
  1165. /package/{esm2015/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.js → esm2020/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.mjs} +0 -0
  1166. /package/{esm2015/directives/mode/index.js → esm2020/directives/mode/index.mjs} +0 -0
  1167. /package/{esm2015/directives/mode/taiga-ui-core-directives-mode.js → esm2020/directives/mode/taiga-ui-core-directives-mode.mjs} +0 -0
  1168. /package/{esm2015/directives/number-format/index.js → esm2020/directives/number-format/index.mjs} +0 -0
  1169. /package/{esm2015/directives/number-format/taiga-ui-core-directives-number-format.js → esm2020/directives/number-format/taiga-ui-core-directives-number-format.mjs} +0 -0
  1170. /package/{esm2015/directives/scroll-into-view/index.js → esm2020/directives/scroll-into-view/index.mjs} +0 -0
  1171. /package/{esm2015/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.js → esm2020/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.mjs} +0 -0
  1172. /package/{esm2015/directives/taiga-ui-core-directives.js → esm2020/directives/taiga-ui-core-directives.mjs} +0 -0
  1173. /package/{esm2015/directives/textfield-controller/index.js → esm2020/directives/textfield-controller/index.mjs} +0 -0
  1174. /package/{esm2015/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.js → esm2020/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.mjs} +0 -0
  1175. /package/{esm2015/directives/textfield-controller/textfield-controller.provider.js → esm2020/directives/textfield-controller/textfield-controller.provider.mjs} +0 -0
  1176. /package/{esm2015/directives/textfield-controller/textfield.controller.js → esm2020/directives/textfield-controller/textfield.controller.mjs} +0 -0
  1177. /package/{esm2015/directives/textfield-controller/textfield.options.js → esm2020/directives/textfield-controller/textfield.options.mjs} +0 -0
  1178. /package/{esm2015/directives/wrapper/index.js → esm2020/directives/wrapper/index.mjs} +0 -0
  1179. /package/{esm2015/directives/wrapper/taiga-ui-core-directives-wrapper.js → esm2020/directives/wrapper/taiga-ui-core-directives-wrapper.mjs} +0 -0
  1180. /package/{esm2015/enums/appearance.js → esm2020/enums/appearance.mjs} +0 -0
  1181. /package/{esm2015/enums/dropdown-animation.js → esm2020/enums/dropdown-animation.mjs} +0 -0
  1182. /package/{esm2015/enums/index.js → esm2020/enums/index.mjs} +0 -0
  1183. /package/{esm2015/enums/interactive-state.js → esm2020/enums/interactive-state.mjs} +0 -0
  1184. /package/{esm2015/enums/notification.js → esm2020/enums/notification.mjs} +0 -0
  1185. /package/{esm2015/enums/range-state.js → esm2020/enums/range-state.mjs} +0 -0
  1186. /package/{esm2015/enums/taiga-ui-core-enums.js → esm2020/enums/taiga-ui-core-enums.mjs} +0 -0
  1187. /package/{esm2015/index.js → esm2020/index.mjs} +0 -0
  1188. /package/{esm2015/interfaces/alert-options.js → esm2020/interfaces/alert-options.mjs} +0 -0
  1189. /package/{esm2015/interfaces/animation-options.js → esm2020/interfaces/animation-options.mjs} +0 -0
  1190. /package/{esm2015/interfaces/data-list-accessor.js → esm2020/interfaces/data-list-accessor.mjs} +0 -0
  1191. /package/{esm2015/interfaces/data-list-host.js → esm2020/interfaces/data-list-host.mjs} +0 -0
  1192. /package/{esm2015/interfaces/dialog-context.js → esm2020/interfaces/dialog-context.mjs} +0 -0
  1193. /package/{esm2015/interfaces/dialog-options.js → esm2020/interfaces/dialog-options.mjs} +0 -0
  1194. /package/{esm2015/interfaces/icon-error.js → esm2020/interfaces/icon-error.mjs} +0 -0
  1195. /package/{esm2015/interfaces/index.js → esm2020/interfaces/index.mjs} +0 -0
  1196. /package/{esm2015/interfaces/media.js → esm2020/interfaces/media.mjs} +0 -0
  1197. /package/{esm2015/interfaces/number-format-settings.js → esm2020/interfaces/number-format-settings.mjs} +0 -0
  1198. /package/{esm2015/interfaces/portal-item.js → esm2020/interfaces/portal-item.mjs} +0 -0
  1199. /package/{esm2015/interfaces/taiga-ui-core-interfaces.js → esm2020/interfaces/taiga-ui-core-interfaces.mjs} +0 -0
  1200. /package/{esm2015/interfaces/textfield-host.js → esm2020/interfaces/textfield-host.mjs} +0 -0
  1201. /package/{esm2015/interfaces/value-content-context.js → esm2020/interfaces/value-content-context.mjs} +0 -0
  1202. /package/{esm2015/interfaces/with-optional-min-max.js → esm2020/interfaces/with-optional-min-max.mjs} +0 -0
  1203. /package/{esm2015/internal/index.js → esm2020/internal/index.mjs} +0 -0
  1204. /package/{esm2015/internal/primitive-year-month-pagination/index.js → esm2020/internal/primitive-year-month-pagination/index.mjs} +0 -0
  1205. /package/{esm2015/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.js → esm2020/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.mjs} +0 -0
  1206. /package/{esm2015/internal/svg-defs-host/index.js → esm2020/internal/svg-defs-host/index.mjs} +0 -0
  1207. /package/{esm2015/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.js → esm2020/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.mjs} +0 -0
  1208. /package/{esm2015/internal/taiga-ui-core-internal.js → esm2020/internal/taiga-ui-core-internal.mjs} +0 -0
  1209. /package/{esm2015/mask/index.js → esm2020/mask/index.mjs} +0 -0
  1210. /package/{esm2015/mask/number-mask-options.js → esm2020/mask/number-mask-options.mjs} +0 -0
  1211. /package/{esm2015/mask/taiga-ui-core-mask.js → esm2020/mask/taiga-ui-core-mask.mjs} +0 -0
  1212. /package/{esm2015/mask/text-mask-config.js → esm2020/mask/text-mask-config.mjs} +0 -0
  1213. /package/{esm2015/mask/text-mask-correction-handler.js → esm2020/mask/text-mask-correction-handler.mjs} +0 -0
  1214. /package/{esm2015/mask/text-mask-list-handler.js → esm2020/mask/text-mask-list-handler.mjs} +0 -0
  1215. /package/{esm2015/mask/text-mask-list.js → esm2020/mask/text-mask-list.mjs} +0 -0
  1216. /package/{esm2015/mask/text-mask-options.js → esm2020/mask/text-mask-options.mjs} +0 -0
  1217. /package/{esm2015/mask/text-mask-pipe-handler.js → esm2020/mask/text-mask-pipe-handler.mjs} +0 -0
  1218. /package/{esm2015/mask/text-mask-pipe-result.js → esm2020/mask/text-mask-pipe-result.mjs} +0 -0
  1219. /package/{esm2015/observables/index.js → esm2020/observables/index.mjs} +0 -0
  1220. /package/{esm2015/observables/smart-search.js → esm2020/observables/smart-search.mjs} +0 -0
  1221. /package/{esm2015/observables/taiga-ui-core-observables.js → esm2020/observables/taiga-ui-core-observables.mjs} +0 -0
  1222. /package/{esm2015/observables/zoneful-map.js → esm2020/observables/zoneful-map.mjs} +0 -0
  1223. /package/{esm2015/pipes/calendar-sheet/index.js → esm2020/pipes/calendar-sheet/index.mjs} +0 -0
  1224. /package/{esm2015/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.js → esm2020/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.mjs} +0 -0
  1225. /package/{esm2015/pipes/calendar-sheet/utils.js → esm2020/pipes/calendar-sheet/utils.mjs} +0 -0
  1226. /package/{esm2015/pipes/flag/index.js → esm2020/pipes/flag/index.mjs} +0 -0
  1227. /package/{esm2015/pipes/flag/taiga-ui-core-pipes-flag.js → esm2020/pipes/flag/taiga-ui-core-pipes-flag.mjs} +0 -0
  1228. /package/{esm2015/pipes/format-date/index.js → esm2020/pipes/format-date/index.mjs} +0 -0
  1229. /package/{esm2015/pipes/format-date/taiga-ui-core-pipes-format-date.js → esm2020/pipes/format-date/taiga-ui-core-pipes-format-date.mjs} +0 -0
  1230. /package/{esm2015/pipes/format-number/index.js → esm2020/pipes/format-number/index.mjs} +0 -0
  1231. /package/{esm2015/pipes/format-number/taiga-ui-core-pipes-format-number.js → esm2020/pipes/format-number/taiga-ui-core-pipes-format-number.mjs} +0 -0
  1232. /package/{esm2015/pipes/format-phone/index.js → esm2020/pipes/format-phone/index.mjs} +0 -0
  1233. /package/{esm2015/pipes/format-phone/taiga-ui-core-pipes-format-phone.js → esm2020/pipes/format-phone/taiga-ui-core-pipes-format-phone.mjs} +0 -0
  1234. /package/{esm2015/pipes/index.js → esm2020/pipes/index.mjs} +0 -0
  1235. /package/{esm2015/pipes/month/index.js → esm2020/pipes/month/index.mjs} +0 -0
  1236. /package/{esm2015/pipes/month/taiga-ui-core-pipes-month.js → esm2020/pipes/month/taiga-ui-core-pipes-month.mjs} +0 -0
  1237. /package/{esm2015/pipes/order-week-days/index.js → esm2020/pipes/order-week-days/index.mjs} +0 -0
  1238. /package/{esm2015/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.js → esm2020/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs} +0 -0
  1239. /package/{esm2015/pipes/taiga-ui-core-pipes.js → esm2020/pipes/taiga-ui-core-pipes.mjs} +0 -0
  1240. /package/{esm2015/providers/index.js → esm2020/providers/index.mjs} +0 -0
  1241. /package/{esm2015/providers/is-mobile-resolution.provider.js → esm2020/providers/is-mobile-resolution.provider.mjs} +0 -0
  1242. /package/{esm2015/providers/mode.provider.js → esm2020/providers/mode.provider.mjs} +0 -0
  1243. /package/{esm2015/providers/taiga-ui-core-providers.js → esm2020/providers/taiga-ui-core-providers.mjs} +0 -0
  1244. /package/{esm2015/providers/watched-controller-provider-factory.js → esm2020/providers/watched-controller-provider-factory.mjs} +0 -0
  1245. /package/{esm2015/services/index.js → esm2020/services/index.mjs} +0 -0
  1246. /package/{esm2015/services/taiga-ui-core-services.js → esm2020/services/taiga-ui-core-services.mjs} +0 -0
  1247. /package/{esm2015/taiga-ui-core.js → esm2020/taiga-ui-core.mjs} +0 -0
  1248. /package/{esm2015/tokens/animation-options.js → esm2020/tokens/animation-options.mjs} +0 -0
  1249. /package/{esm2015/tokens/animations-duration.js → esm2020/tokens/animations-duration.mjs} +0 -0
  1250. /package/{esm2015/tokens/assert-enabled.js → esm2020/tokens/assert-enabled.mjs} +0 -0
  1251. /package/{esm2015/tokens/common-icon.js → esm2020/tokens/common-icon.mjs} +0 -0
  1252. /package/{esm2015/tokens/data-list-accessor.js → esm2020/tokens/data-list-accessor.mjs} +0 -0
  1253. /package/{esm2015/tokens/data-list-host.js → esm2020/tokens/data-list-host.mjs} +0 -0
  1254. /package/{esm2015/tokens/day-type-handler.js → esm2020/tokens/day-type-handler.mjs} +0 -0
  1255. /package/{esm2015/tokens/document-or-shadow-root.js → esm2020/tokens/document-or-shadow-root.mjs} +0 -0
  1256. /package/{esm2015/tokens/element-ref.js → esm2020/tokens/element-ref.mjs} +0 -0
  1257. /package/{esm2015/tokens/first-day-of-week.js → esm2020/tokens/first-day-of-week.mjs} +0 -0
  1258. /package/{esm2015/tokens/i18n.js → esm2020/tokens/i18n.mjs} +0 -0
  1259. /package/{esm2015/tokens/icon-place.js → esm2020/tokens/icon-place.mjs} +0 -0
  1260. /package/{esm2015/tokens/icons-path.js → esm2020/tokens/icons-path.mjs} +0 -0
  1261. /package/{esm2015/tokens/icons.js → esm2020/tokens/icons.mjs} +0 -0
  1262. /package/{esm2015/tokens/index.js → esm2020/tokens/index.mjs} +0 -0
  1263. /package/{esm2015/tokens/is-mobile-resolution.js → esm2020/tokens/is-mobile-resolution.mjs} +0 -0
  1264. /package/{esm2015/tokens/legacy-mask.js → esm2020/tokens/legacy-mask.mjs} +0 -0
  1265. /package/{esm2015/tokens/media.js → esm2020/tokens/media.mjs} +0 -0
  1266. /package/{esm2015/tokens/mode.js → esm2020/tokens/mode.mjs} +0 -0
  1267. /package/{esm2015/tokens/notification-options.js → esm2020/tokens/notification-options.mjs} +0 -0
  1268. /package/{esm2015/tokens/number-format.js → esm2020/tokens/number-format.mjs} +0 -0
  1269. /package/{esm2015/tokens/option-content.js → esm2020/tokens/option-content.mjs} +0 -0
  1270. /package/{esm2015/tokens/ordered-short-week-days.js → esm2020/tokens/ordered-short-week-days.mjs} +0 -0
  1271. /package/{esm2015/tokens/sanitizer.js → esm2020/tokens/sanitizer.mjs} +0 -0
  1272. /package/{esm2015/tokens/scroll-ref.js → esm2020/tokens/scroll-ref.mjs} +0 -0
  1273. /package/{esm2015/tokens/selection-stream.js → esm2020/tokens/selection-stream.mjs} +0 -0
  1274. /package/{esm2015/tokens/spin-icons.js → esm2020/tokens/spin-icons.mjs} +0 -0
  1275. /package/{esm2015/tokens/svg-content-processor.js → esm2020/tokens/svg-content-processor.mjs} +0 -0
  1276. /package/{esm2015/tokens/svg-src-processor.js → esm2020/tokens/svg-src-processor.mjs} +0 -0
  1277. /package/{esm2015/tokens/taiga-ui-core-tokens.js → esm2020/tokens/taiga-ui-core-tokens.mjs} +0 -0
  1278. /package/{esm2015/tokens/textfield-appearance.js → esm2020/tokens/textfield-appearance.mjs} +0 -0
  1279. /package/{esm2015/tokens/textfield-host.js → esm2020/tokens/textfield-host.mjs} +0 -0
  1280. /package/{esm2015/tokens/theme.js → esm2020/tokens/theme.mjs} +0 -0
  1281. /package/{esm2015/tokens/value-accessor.js → esm2020/tokens/value-accessor.mjs} +0 -0
  1282. /package/{esm2015/types/brightness.js → esm2020/types/brightness.mjs} +0 -0
  1283. /package/{esm2015/types/calendar-view.js → esm2020/types/calendar-view.mjs} +0 -0
  1284. /package/{esm2015/types/data-list-role.js → esm2020/types/data-list-role.mjs} +0 -0
  1285. /package/{esm2015/types/decimal-symbol.js → esm2020/types/decimal-symbol.mjs} +0 -0
  1286. /package/{esm2015/types/decimal.js → esm2020/types/decimal.mjs} +0 -0
  1287. /package/{esm2015/types/dialog-size.js → esm2020/types/dialog-size.mjs} +0 -0
  1288. /package/{esm2015/types/direction.js → esm2020/types/direction.mjs} +0 -0
  1289. /package/{esm2015/types/dropdown-align.js → esm2020/types/dropdown-align.mjs} +0 -0
  1290. /package/{esm2015/types/dropdown-width.js → esm2020/types/dropdown-width.mjs} +0 -0
  1291. /package/{esm2015/types/hint-direction.js → esm2020/types/hint-direction.mjs} +0 -0
  1292. /package/{esm2015/types/index.js → esm2020/types/index.mjs} +0 -0
  1293. /package/{esm2015/types/marker-handler.js → esm2020/types/marker-handler.mjs} +0 -0
  1294. /package/{esm2015/types/notification.js → esm2020/types/notification.mjs} +0 -0
  1295. /package/{esm2015/types/option-role.js → esm2020/types/option-role.mjs} +0 -0
  1296. /package/{esm2015/types/orientation.js → esm2020/types/orientation.mjs} +0 -0
  1297. /package/{esm2015/types/point.js → esm2020/types/point.mjs} +0 -0
  1298. /package/{esm2015/types/size.js → esm2020/types/size.mjs} +0 -0
  1299. /package/{esm2015/types/taiga-ui-core-types.js → esm2020/types/taiga-ui-core-types.mjs} +0 -0
  1300. /package/{esm2015/utils/dom/check-fixed-position.js → esm2020/utils/dom/check-fixed-position.mjs} +0 -0
  1301. /package/{esm2015/utils/dom/get-safe-area-size.js → esm2020/utils/dom/get-safe-area-size.mjs} +0 -0
  1302. /package/{esm2015/utils/dom/get-screen-width.js → esm2020/utils/dom/get-screen-width.mjs} +0 -0
  1303. /package/{esm2015/utils/dom/get-viewport-height.js → esm2020/utils/dom/get-viewport-height.mjs} +0 -0
  1304. /package/{esm2015/utils/dom/get-viewport-width.js → esm2020/utils/dom/get-viewport-width.mjs} +0 -0
  1305. /package/{esm2015/utils/dom/get-word-range.js → esm2020/utils/dom/get-word-range.mjs} +0 -0
  1306. /package/{esm2015/utils/dom/index.js → esm2020/utils/dom/index.mjs} +0 -0
  1307. /package/{esm2015/utils/dom/taiga-ui-core-utils-dom.js → esm2020/utils/dom/taiga-ui-core-utils-dom.mjs} +0 -0
  1308. /package/{esm2015/utils/format/capitalize-first-letter.js → esm2020/utils/format/capitalize-first-letter.mjs} +0 -0
  1309. /package/{esm2015/utils/format/capitalize.js → esm2020/utils/format/capitalize.mjs} +0 -0
  1310. /package/{esm2015/utils/format/format-phone.js → esm2020/utils/format/format-phone.mjs} +0 -0
  1311. /package/{esm2015/utils/format/get-fractional-part-padded.js → esm2020/utils/format/get-fractional-part-padded.mjs} +0 -0
  1312. /package/{esm2015/utils/format/index.js → esm2020/utils/format/index.mjs} +0 -0
  1313. /package/{esm2015/utils/format/other-decimal-symbol.js → esm2020/utils/format/other-decimal-symbol.mjs} +0 -0
  1314. /package/{esm2015/utils/format/taiga-ui-core-utils-format.js → esm2020/utils/format/taiga-ui-core-utils-format.mjs} +0 -0
  1315. /package/{esm2015/utils/index.js → esm2020/utils/index.mjs} +0 -0
  1316. /package/{esm2015/utils/mask/create-auto-corrected-money-pipe.js → esm2020/utils/mask/create-auto-corrected-money-pipe.mjs} +0 -0
  1317. /package/{esm2015/utils/mask/create-correction-mask.js → esm2020/utils/mask/create-correction-mask.mjs} +0 -0
  1318. /package/{esm2015/utils/mask/enable-auto-correct-decimal-symbol.js → esm2020/utils/mask/enable-auto-correct-decimal-symbol.mjs} +0 -0
  1319. /package/{esm2015/utils/mask/index.js → esm2020/utils/mask/index.mjs} +0 -0
  1320. /package/{esm2015/utils/mask/masked-money-value-is-empty.js → esm2020/utils/mask/masked-money-value-is-empty.mjs} +0 -0
  1321. /package/{esm2015/utils/mask/masked-number-string-to-number.js → esm2020/utils/mask/masked-number-string-to-number.mjs} +0 -0
  1322. /package/{esm2015/utils/mask/taiga-ui-core-utils-mask.js → esm2020/utils/mask/taiga-ui-core-utils-mask.mjs} +0 -0
  1323. /package/{esm2015/utils/miscellaneous/get-border.js → esm2020/utils/miscellaneous/get-border.mjs} +0 -0
  1324. /package/{esm2015/utils/miscellaneous/icons-path-factory.js → esm2020/utils/miscellaneous/icons-path-factory.mjs} +0 -0
  1325. /package/{esm2015/utils/miscellaneous/index.js → esm2020/utils/miscellaneous/index.mjs} +0 -0
  1326. /package/{esm2015/utils/miscellaneous/is-editing-key.js → esm2020/utils/miscellaneous/is-editing-key.mjs} +0 -0
  1327. /package/{esm2015/utils/miscellaneous/is-presumed-html-string.js → esm2020/utils/miscellaneous/is-presumed-html-string.mjs} +0 -0
  1328. /package/{esm2015/utils/miscellaneous/size-bigger.js → esm2020/utils/miscellaneous/size-bigger.mjs} +0 -0
  1329. /package/{esm2015/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.js → esm2020/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.mjs} +0 -0
  1330. /package/{esm2015/utils/mobile/index.js → esm2020/utils/mobile/index.mjs} +0 -0
  1331. /package/{esm2015/utils/mobile/is-mobile.js → esm2020/utils/mobile/is-mobile.mjs} +0 -0
  1332. /package/{esm2015/utils/mobile/taiga-ui-core-utils-mobile.js → esm2020/utils/mobile/taiga-ui-core-utils-mobile.mjs} +0 -0
  1333. /package/{esm2015/utils/taiga-ui-core-utils.js → esm2020/utils/taiga-ui-core-utils.mjs} +0 -0
@@ -0,0 +1,981 @@
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, Directive, Input, Output, ElementRef, INJECTOR, Self, Inject, Optional, SkipSelf, forwardRef, Component, ChangeDetectionStrategy, HostListener, ViewContainerRef, NgModule } from '@angular/core';
3
+ import { WINDOW } from '@ng-web-apis/common';
4
+ import * as i2 from '@taiga-ui/cdk';
5
+ import { tuiCreateTokenFromFactory, TuiDestroyService, TuiDropdownPortalService, tuiPure, tuiCreateToken, tuiProvideOptions, TuiHoveredService, tuiPx, tuiGetClosestFocusable, EMPTY_CLIENT_RECT, tuiPointToClientRect, TuiActiveZoneDirective, tuiIsString, ALWAYS_TRUE_HANDLER, tuiIsTextNode, tuiIsElement, tuiGetNativeFocused, tuiIsTextfield, CHAR_ZERO_WIDTH_SPACE, CHAR_NO_BREAK_SPACE, TUI_RANGE, TuiActiveZoneModule, TuiOverscrollModule, TuiHoveredModule } from '@taiga-ui/cdk';
6
+ import * as i1$2 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
+ import { tuiDropdownAnimation } from '@taiga-ui/core/animations';
9
+ import { MODE_PROVIDER } from '@taiga-ui/core/providers';
10
+ import * as i4 from '@taiga-ui/core/services';
11
+ import { TuiVisualViewportService, TuiPositionService } from '@taiga-ui/core/services';
12
+ import { TUI_ANIMATION_OPTIONS, TUI_MODE, TUI_VIEWPORT, TUI_SELECTION_STREAM } from '@taiga-ui/core/tokens';
13
+ import { throttleTime, takeUntil, switchMap, delay, tap, share, map, distinctUntilChanged } from 'rxjs/operators';
14
+ import { __decorate } from 'tslib';
15
+ import { tuiCheckFixedPosition, tuiOverrideOptions, tuiGetWordRange } from '@taiga-ui/core/utils';
16
+ import * as i1$1 from '@tinkoff/ng-polymorpheus';
17
+ import { PolymorpheusComponent, PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
18
+ import * as i1 from 'rxjs';
19
+ import { Subject, merge, of, BehaviorSubject, combineLatest } from 'rxjs';
20
+ import * as i3 from '@taiga-ui/core/components/scrollbar';
21
+ import { TuiScrollbarModule } from '@taiga-ui/core/components/scrollbar';
22
+ import { shouldCall } from '@tinkoff/ng-event-plugins';
23
+ import { DOCUMENT } from '@angular/common';
24
+
25
+ /**
26
+ * A component to display a dropdown
27
+ */
28
+ const TUI_DROPDOWN_COMPONENT = tuiCreateTokenFromFactory(() => TuiDropdownComponent);
29
+
30
+ class TuiDropdownOpenDirective {
31
+ constructor() {
32
+ this.tuiDropdownOpen = false;
33
+ this.tuiDropdownOpenChange = new EventEmitter();
34
+ }
35
+ update(open) {
36
+ this.tuiDropdownOpen = open;
37
+ this.tuiDropdownOpenChange.emit(open);
38
+ }
39
+ ngOnChanges() {
40
+ var _a;
41
+ (_a = this.dropdown) === null || _a === void 0 ? void 0 : _a.toggle(this.tuiDropdownOpen);
42
+ }
43
+ }
44
+ TuiDropdownOpenDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownOpenDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
45
+ TuiDropdownOpenDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiDropdownOpenDirective, selector: "[tuiDropdownOpen],[tuiDropdownOpenChange]", inputs: { tuiDropdownOpen: "tuiDropdownOpen" }, outputs: { tuiDropdownOpenChange: "tuiDropdownOpenChange" }, usesOnChanges: true, ngImport: i0 });
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownOpenDirective, decorators: [{
47
+ type: Directive,
48
+ args: [{
49
+ selector: '[tuiDropdownOpen],[tuiDropdownOpenChange]',
50
+ }]
51
+ }], propDecorators: { tuiDropdownOpen: [{
52
+ type: Input
53
+ }], tuiDropdownOpenChange: [{
54
+ type: Output
55
+ }] } });
56
+
57
+ class TuiDropdownDirective {
58
+ constructor(destroy$, el, dropdown, injector, dropdownService, open) {
59
+ this.el = el;
60
+ this.dropdown = dropdown;
61
+ this.injector = injector;
62
+ this.dropdownService = dropdownService;
63
+ this.open = open;
64
+ this.refresh$ = new Subject();
65
+ this.dropdownBoxRef = null;
66
+ this.type = 'dropdown';
67
+ this.component = new PolymorpheusComponent(this.dropdown, this.injector);
68
+ if (this.open && !this.open.dropdown) {
69
+ this.open.dropdown = this;
70
+ }
71
+ else {
72
+ this.open = null;
73
+ }
74
+ // Ignore multiple change detection triggers at the same frame
75
+ this.refresh$.pipe(throttleTime(0), takeUntil(destroy$)).subscribe(() => {
76
+ var _a, _b;
77
+ (_a = this.dropdownBoxRef) === null || _a === void 0 ? void 0 : _a.changeDetectorRef.detectChanges();
78
+ (_b = this.dropdownBoxRef) === null || _b === void 0 ? void 0 : _b.changeDetectorRef.markForCheck();
79
+ });
80
+ }
81
+ get position() {
82
+ return tuiCheckFixedPosition(this.el.nativeElement) ? 'fixed' : 'absolute';
83
+ }
84
+ ngAfterViewChecked() {
85
+ this.refresh$.next();
86
+ }
87
+ ngAfterViewInit() {
88
+ if (this.open) {
89
+ this.toggle(this.open.tuiDropdownOpen);
90
+ }
91
+ }
92
+ ngOnChanges() {
93
+ if (!this.content) {
94
+ this.toggle(false);
95
+ }
96
+ }
97
+ ngOnDestroy() {
98
+ this.toggle(false);
99
+ if (this.open) {
100
+ this.open.dropdown = undefined;
101
+ }
102
+ }
103
+ getClientRect() {
104
+ return this.el.nativeElement.getBoundingClientRect();
105
+ }
106
+ toggle(show) {
107
+ var _a, _b;
108
+ if (show && this.content && !this.dropdownBoxRef) {
109
+ this.dropdownBoxRef = this.dropdownService.add(this.component);
110
+ (_a = this.open) === null || _a === void 0 ? void 0 : _a.update(true);
111
+ }
112
+ else if (!show && this.dropdownBoxRef) {
113
+ this.dropdownService.remove(this.dropdownBoxRef);
114
+ this.dropdownBoxRef = null;
115
+ (_b = this.open) === null || _b === void 0 ? void 0 : _b.update(false);
116
+ }
117
+ }
118
+ }
119
+ TuiDropdownDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownDirective, deps: [{ token: TuiDestroyService, self: true }, { token: ElementRef }, { token: TUI_DROPDOWN_COMPONENT }, { token: INJECTOR }, { token: TuiDropdownPortalService }, { token: TuiDropdownOpenDirective, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
120
+ TuiDropdownDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container)", inputs: { content: ["tuiDropdown", "content"] }, providers: [
121
+ TuiDestroyService,
122
+ tuiAsRectAccessor(TuiDropdownDirective),
123
+ tuiAsVehicle(TuiDropdownDirective),
124
+ ], exportAs: ["tuiDropdown"], usesOnChanges: true, ngImport: i0 });
125
+ __decorate([
126
+ tuiPure
127
+ ], TuiDropdownDirective.prototype, "position", null);
128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownDirective, decorators: [{
129
+ type: Directive,
130
+ args: [{
131
+ selector: '[tuiDropdown]:not(ng-container)',
132
+ providers: [
133
+ TuiDestroyService,
134
+ tuiAsRectAccessor(TuiDropdownDirective),
135
+ tuiAsVehicle(TuiDropdownDirective),
136
+ ],
137
+ exportAs: 'tuiDropdown',
138
+ }]
139
+ }], ctorParameters: function () {
140
+ return [{ type: i1.Observable, decorators: [{
141
+ type: Self
142
+ }, {
143
+ type: Inject,
144
+ args: [TuiDestroyService]
145
+ }] }, { type: i0.ElementRef, decorators: [{
146
+ type: Inject,
147
+ args: [ElementRef]
148
+ }] }, { type: i0.Type, decorators: [{
149
+ type: Inject,
150
+ args: [TUI_DROPDOWN_COMPONENT]
151
+ }] }, { type: i0.Injector, decorators: [{
152
+ type: Inject,
153
+ args: [INJECTOR]
154
+ }] }, { type: i2.TuiDropdownPortalService, decorators: [{
155
+ type: Inject,
156
+ args: [TuiDropdownPortalService]
157
+ }] }, { type: TuiDropdownOpenDirective, decorators: [{
158
+ type: Optional
159
+ }, {
160
+ type: Inject,
161
+ args: [TuiDropdownOpenDirective]
162
+ }] }];
163
+ }, propDecorators: { content: [{
164
+ type: Input,
165
+ args: ['tuiDropdown']
166
+ }], position: [] } });
167
+
168
+ /** Default values for hint options */
169
+ const TUI_DROPDOWN_HOVER_DEFAULT_OPTIONS = {
170
+ showDelay: 200,
171
+ hideDelay: 500,
172
+ };
173
+ /**
174
+ * Default parameters for dropdown hover directive
175
+ */
176
+ const TUI_DROPDOWN_HOVER_OPTIONS = tuiCreateToken(TUI_DROPDOWN_HOVER_DEFAULT_OPTIONS);
177
+ function tuiDropdownHoverOptionsProvider(options) {
178
+ return tuiProvideOptions(TUI_DROPDOWN_HOVER_OPTIONS, options, TUI_DROPDOWN_HOVER_DEFAULT_OPTIONS);
179
+ }
180
+
181
+ class TuiDropdownHoverDirective extends TuiDriver {
182
+ constructor(hovered$, options, parentHover) {
183
+ super(subscriber => this.stream$.subscribe(subscriber));
184
+ this.hovered$ = hovered$;
185
+ this.options = options;
186
+ this.parentHover = parentHover;
187
+ this.toggle$ = new Subject();
188
+ this.stream$ = merge(this.toggle$, this.hovered$).pipe(switchMap(visible => of(visible).pipe(delay(visible ? this.showDelay : this.hideDelay))), tap(visible => {
189
+ this.hovered = visible;
190
+ }), share());
191
+ this.showDelay = this.options.showDelay;
192
+ this.hideDelay = this.options.hideDelay;
193
+ this.hovered = false;
194
+ this.type = 'dropdown';
195
+ }
196
+ toggle(visible) {
197
+ var _a;
198
+ (_a = this.parentHover) === null || _a === void 0 ? void 0 : _a.toggle(visible);
199
+ this.toggle$.next(visible);
200
+ }
201
+ }
202
+ TuiDropdownHoverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownHoverDirective, deps: [{ token: TuiHoveredService }, { token: TUI_DROPDOWN_HOVER_OPTIONS }, { token: TuiDropdownHoverDirective, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
203
+ TuiDropdownHoverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiDropdownHoverDirective, selector: "[tuiDropdownHover]:not(ng-container)", inputs: { showDelay: ["tuiDropdownShowDelay", "showDelay"], hideDelay: ["tuiDropdownHideDelay", "hideDelay"] }, providers: [tuiAsDriver(TuiDropdownHoverDirective), TuiHoveredService], usesInheritance: true, ngImport: i0 });
204
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownHoverDirective, decorators: [{
205
+ type: Directive,
206
+ args: [{
207
+ selector: '[tuiDropdownHover]:not(ng-container)',
208
+ providers: [tuiAsDriver(TuiDropdownHoverDirective), TuiHoveredService],
209
+ }]
210
+ }], ctorParameters: function () {
211
+ return [{ type: i1.Observable, decorators: [{
212
+ type: Inject,
213
+ args: [TuiHoveredService]
214
+ }] }, { type: undefined, decorators: [{
215
+ type: Inject,
216
+ args: [TUI_DROPDOWN_HOVER_OPTIONS]
217
+ }] }, { type: TuiDropdownHoverDirective, decorators: [{
218
+ type: SkipSelf
219
+ }, {
220
+ type: Optional
221
+ }, {
222
+ type: Inject,
223
+ args: [TuiDropdownHoverDirective]
224
+ }] }];
225
+ }, propDecorators: { showDelay: [{
226
+ type: Input,
227
+ args: ['tuiDropdownShowDelay']
228
+ }], hideDelay: [{
229
+ type: Input,
230
+ args: ['tuiDropdownHideDelay']
231
+ }] } });
232
+
233
+ /** Default values for dropdown options */
234
+ const TUI_DROPDOWN_DEFAULT_OPTIONS = {
235
+ align: 'left',
236
+ direction: null,
237
+ limitWidth: 'auto',
238
+ maxHeight: 400,
239
+ minHeight: 80,
240
+ offset: 4,
241
+ appearance: '',
242
+ };
243
+ /**
244
+ * Default parameters for dropdown directive
245
+ */
246
+ const TUI_DROPDOWN_OPTIONS = tuiCreateToken(TUI_DROPDOWN_DEFAULT_OPTIONS);
247
+ const tuiDropdownOptionsProvider = (override) => ({
248
+ provide: TUI_DROPDOWN_OPTIONS,
249
+ deps: [
250
+ [new Optional(), TuiDropdownOptionsDirective],
251
+ [new Optional(), new SkipSelf(), TUI_DROPDOWN_OPTIONS],
252
+ ],
253
+ useFactory: tuiOverrideOptions(override, TUI_DROPDOWN_DEFAULT_OPTIONS),
254
+ });
255
+ class TuiDropdownOptionsDirective {
256
+ constructor(options) {
257
+ this.options = options;
258
+ this.align = this.options.align;
259
+ this.appearance = this.options.appearance;
260
+ this.direction = this.options.direction;
261
+ this.limitWidth = this.options.limitWidth;
262
+ this.minHeight = this.options.minHeight;
263
+ this.maxHeight = this.options.maxHeight;
264
+ this.offset = this.options.offset;
265
+ }
266
+ }
267
+ TuiDropdownOptionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownOptionsDirective, deps: [{ token: TUI_DROPDOWN_OPTIONS, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
268
+ TuiDropdownOptionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiDropdownOptionsDirective, selector: "[tuiDropdownAlign], [tuiDropdownAppearance], [tuiDropdownDirection], [tuiDropdownLimitWidth], [tuiDropdownMinHeight], [tuiDropdownMaxHeight], [tuiDropdownOffset]", inputs: { align: ["tuiDropdownAlign", "align"], appearance: ["tuiDropdownAppearance", "appearance"], direction: ["tuiDropdownDirection", "direction"], limitWidth: ["tuiDropdownLimitWidth", "limitWidth"], minHeight: ["tuiDropdownMinHeight", "minHeight"], maxHeight: ["tuiDropdownMaxHeight", "maxHeight"], offset: ["tuiDropdownOffset", "offset"] }, providers: [
269
+ {
270
+ provide: TUI_DROPDOWN_OPTIONS,
271
+ useExisting: forwardRef(() => TuiDropdownOptionsDirective),
272
+ },
273
+ ], ngImport: i0 });
274
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownOptionsDirective, decorators: [{
275
+ type: Directive,
276
+ args: [{
277
+ selector: '[tuiDropdownAlign], [tuiDropdownAppearance], [tuiDropdownDirection], [tuiDropdownLimitWidth], [tuiDropdownMinHeight], [tuiDropdownMaxHeight], [tuiDropdownOffset]',
278
+ providers: [
279
+ {
280
+ provide: TUI_DROPDOWN_OPTIONS,
281
+ useExisting: forwardRef(() => TuiDropdownOptionsDirective),
282
+ },
283
+ ],
284
+ }]
285
+ }], ctorParameters: function () {
286
+ return [{ type: undefined, decorators: [{
287
+ type: SkipSelf
288
+ }, {
289
+ type: Inject,
290
+ args: [TUI_DROPDOWN_OPTIONS]
291
+ }] }];
292
+ }, propDecorators: { align: [{
293
+ type: Input,
294
+ args: ['tuiDropdownAlign']
295
+ }], appearance: [{
296
+ type: Input,
297
+ args: ['tuiDropdownAppearance']
298
+ }], direction: [{
299
+ type: Input,
300
+ args: ['tuiDropdownDirection']
301
+ }], limitWidth: [{
302
+ type: Input,
303
+ args: ['tuiDropdownLimitWidth']
304
+ }], minHeight: [{
305
+ type: Input,
306
+ args: ['tuiDropdownMinHeight']
307
+ }], maxHeight: [{
308
+ type: Input,
309
+ args: ['tuiDropdownMaxHeight']
310
+ }], offset: [{
311
+ type: Input,
312
+ args: ['tuiDropdownOffset']
313
+ }] } });
314
+
315
+ /**
316
+ * @description:
317
+ * This component is used to show template in a portal
318
+ * using default style of white rounded box with a shadow
319
+ */
320
+ class TuiDropdownComponent {
321
+ constructor(visualViewportService, position$, destroy$, directive, animation, el, accessor, win, mode$, options, hoverDirective) {
322
+ this.directive = directive;
323
+ this.animation = animation;
324
+ this.el = el;
325
+ this.accessor = accessor;
326
+ this.win = win;
327
+ this.mode$ = mode$;
328
+ this.options = options;
329
+ this.hoverDirective = hoverDirective;
330
+ position$
331
+ .pipe(map(point => this.directive.position === 'fixed'
332
+ ? visualViewportService.correct(point)
333
+ : point), takeUntil(destroy$))
334
+ .subscribe(([top, left]) => {
335
+ this.update(top, left);
336
+ });
337
+ this.updateWidth(this.accessor.getClientRect().width);
338
+ }
339
+ onHoveredChange(hovered) {
340
+ var _a;
341
+ (_a = this.hoverDirective) === null || _a === void 0 ? void 0 : _a.toggle(hovered);
342
+ }
343
+ onTopFocus() {
344
+ this.moveFocusOutside(true);
345
+ }
346
+ onBottomFocus() {
347
+ this.moveFocusOutside(false);
348
+ }
349
+ update(top, left) {
350
+ var _a;
351
+ const { style } = this.el.nativeElement;
352
+ const { right } = this.el.nativeElement.getBoundingClientRect();
353
+ const { maxHeight, offset } = this.options;
354
+ const { innerHeight } = this.win;
355
+ const clientRect = (_a = this.el.nativeElement.offsetParent) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
356
+ const { position } = this.directive;
357
+ const rect = this.accessor.getClientRect();
358
+ const offsetX = position === 'fixed' ? 0 : -((clientRect === null || clientRect === void 0 ? void 0 : clientRect.left) || 0);
359
+ const offsetY = position === 'fixed' ? 0 : -((clientRect === null || clientRect === void 0 ? void 0 : clientRect.top) || 0);
360
+ top += offsetY;
361
+ left += offsetX;
362
+ const isIntersecting = left < rect.right && right > rect.left && top < offsetY + 2 * offset;
363
+ const available = isIntersecting
364
+ ? rect.top - 2 * offset
365
+ : offsetY + innerHeight - top - offset;
366
+ style.position = position;
367
+ style.top = tuiPx(Math.max(top, offsetY + offset));
368
+ style.left = tuiPx(left);
369
+ style.maxHeight = tuiPx(Math.min(maxHeight, available));
370
+ style.width = '';
371
+ style.minWidth = '';
372
+ this.updateWidth(rect.width);
373
+ }
374
+ updateWidth(width) {
375
+ const { style } = this.el.nativeElement;
376
+ switch (this.options.limitWidth) {
377
+ case 'min':
378
+ style.minWidth = tuiPx(width);
379
+ break;
380
+ case 'fixed':
381
+ style.width = tuiPx(width);
382
+ break;
383
+ case 'auto':
384
+ break;
385
+ }
386
+ }
387
+ moveFocusOutside(previous) {
388
+ const { nativeElement } = this.directive.el;
389
+ const { ownerDocument } = nativeElement;
390
+ const root = ownerDocument ? ownerDocument.body : nativeElement;
391
+ let focusable = tuiGetClosestFocusable({ initial: nativeElement, root, previous });
392
+ while (focusable !== null && nativeElement.contains(focusable)) {
393
+ focusable = tuiGetClosestFocusable({ initial: focusable, root, previous });
394
+ }
395
+ focusable === null || focusable === void 0 ? void 0 : focusable.focus();
396
+ }
397
+ }
398
+ TuiDropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownComponent, deps: [{ token: TuiVisualViewportService }, { token: TuiPositionService }, { token: TuiDestroyService, self: true }, { token: TuiDropdownDirective }, { token: TUI_ANIMATION_OPTIONS }, { token: ElementRef }, { token: TuiRectAccessor }, { token: WINDOW }, { token: TUI_MODE }, { token: TUI_DROPDOWN_OPTIONS }, { token: TuiDropdownHoverDirective, optional: true }], target: i0.ɵɵFactoryTarget.Component });
399
+ TuiDropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiDropdownComponent, selector: "tui-dropdown", host: { listeners: { "$.data-mode.attr": "mode$" }, properties: { "@tuiDropdownAnimation": "animation", "attr.data-appearance": "options.appearance" } }, providers: [
400
+ TuiDestroyService,
401
+ TuiPositionService,
402
+ tuiPositionAccessorFor('dropdown'),
403
+ tuiRectAccessorFor('dropdown', TuiDropdownDirective),
404
+ MODE_PROVIDER,
405
+ ], ngImport: i0, template: "<tui-scrollbar\n #activeZone=\"tuiActiveZone\"\n tuiActiveZone\n tuiOverscroll=\"all\"\n class=\"t-scroll\"\n (tuiHoveredChange)=\"onHoveredChange($event)\"\n>\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", styles: [":host{position:absolute;display:flex;box-shadow:var(--tui-shadow-dropdown);background:var(--tui-elevation-02);border-radius:var(--tui-radius-m);overflow:hidden;border:1px solid var(--tui-base-04);box-sizing:border-box;max-width:calc(100% - 8px);isolation:isolate;pointer-events:auto}:host.ng-animating{pointer-events:none}:host:not([style*=\"top\"]){visibility:hidden}:host[data-mode=onDark]{--tui-text-01: var(--tui-text-01-night);--tui-clear: var(--tui-clear-inverse);background:#222;border:1px solid #808080}.t-scroll{flex-grow:1;max-width:100%}.t-primitive{padding:1rem}\n"], dependencies: [{ kind: "directive", type: i1$1.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: i2.TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }, { kind: "directive", type: i2.TuiOverscrollDirective, selector: "[tuiOverscroll]", inputs: ["tuiOverscroll"] }, { kind: "component", type: i3.TuiScrollbarComponent, selector: "tui-scrollbar", inputs: ["hidden"] }, { kind: "directive", type: i2.TuiHoveredDirective, selector: "[tuiHoveredChange]", outputs: ["tuiHoveredChange"] }], animations: [tuiDropdownAnimation], changeDetection: i0.ChangeDetectionStrategy.Default });
406
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownComponent, decorators: [{
407
+ type: Component,
408
+ args: [{ selector: 'tui-dropdown', changeDetection: ChangeDetectionStrategy.Default, providers: [
409
+ TuiDestroyService,
410
+ TuiPositionService,
411
+ tuiPositionAccessorFor('dropdown'),
412
+ tuiRectAccessorFor('dropdown', TuiDropdownDirective),
413
+ MODE_PROVIDER,
414
+ ], host: {
415
+ '[@tuiDropdownAnimation]': 'animation',
416
+ '[attr.data-appearance]': 'options.appearance',
417
+ '($.data-mode.attr)': 'mode$',
418
+ }, animations: [tuiDropdownAnimation], template: "<tui-scrollbar\n #activeZone=\"tuiActiveZone\"\n tuiActiveZone\n tuiOverscroll=\"all\"\n class=\"t-scroll\"\n (tuiHoveredChange)=\"onHoveredChange($event)\"\n>\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", styles: [":host{position:absolute;display:flex;box-shadow:var(--tui-shadow-dropdown);background:var(--tui-elevation-02);border-radius:var(--tui-radius-m);overflow:hidden;border:1px solid var(--tui-base-04);box-sizing:border-box;max-width:calc(100% - 8px);isolation:isolate;pointer-events:auto}:host.ng-animating{pointer-events:none}:host:not([style*=\"top\"]){visibility:hidden}:host[data-mode=onDark]{--tui-text-01: var(--tui-text-01-night);--tui-clear: var(--tui-clear-inverse);background:#222;border:1px solid #808080}.t-scroll{flex-grow:1;max-width:100%}.t-primitive{padding:1rem}\n"] }]
419
+ }], ctorParameters: function () {
420
+ return [{ type: i4.TuiVisualViewportService, decorators: [{
421
+ type: Inject,
422
+ args: [TuiVisualViewportService]
423
+ }] }, { type: i1.Observable, decorators: [{
424
+ type: Inject,
425
+ args: [TuiPositionService]
426
+ }] }, { type: i1.Observable, decorators: [{
427
+ type: Self
428
+ }, {
429
+ type: Inject,
430
+ args: [TuiDestroyService]
431
+ }] }, { type: TuiDropdownDirective, decorators: [{
432
+ type: Inject,
433
+ args: [TuiDropdownDirective]
434
+ }] }, { type: undefined, decorators: [{
435
+ type: Inject,
436
+ args: [TUI_ANIMATION_OPTIONS]
437
+ }] }, { type: i0.ElementRef, decorators: [{
438
+ type: Inject,
439
+ args: [ElementRef]
440
+ }] }, { type: i1$2.TuiRectAccessor, decorators: [{
441
+ type: Inject,
442
+ args: [TuiRectAccessor]
443
+ }] }, { type: Window, decorators: [{
444
+ type: Inject,
445
+ args: [WINDOW]
446
+ }] }, { type: i1.Observable, decorators: [{
447
+ type: Inject,
448
+ args: [TUI_MODE]
449
+ }] }, { type: undefined, decorators: [{
450
+ type: Inject,
451
+ args: [TUI_DROPDOWN_OPTIONS]
452
+ }] }, { type: TuiDropdownHoverDirective, decorators: [{
453
+ type: Optional
454
+ }, {
455
+ type: Inject,
456
+ args: [TuiDropdownHoverDirective]
457
+ }] }];
458
+ } });
459
+
460
+ function activeZoneFilter(target) {
461
+ return !this.activeZone.contains(target);
462
+ }
463
+ class TuiDropdownContextDirective extends TuiDriver {
464
+ constructor(activeZone) {
465
+ super(subscriber => this.stream$.subscribe(subscriber));
466
+ this.activeZone = activeZone;
467
+ this.stream$ = new Subject();
468
+ this.currentRect = EMPTY_CLIENT_RECT;
469
+ this.type = 'dropdown';
470
+ }
471
+ onContextMenu(x, y) {
472
+ this.currentRect = tuiPointToClientRect(x, y);
473
+ this.stream$.next(true);
474
+ }
475
+ closeDropdown() {
476
+ this.stream$.next(false);
477
+ }
478
+ getClientRect() {
479
+ return this.currentRect;
480
+ }
481
+ }
482
+ TuiDropdownContextDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownContextDirective, deps: [{ token: TuiActiveZoneDirective }], target: i0.ɵɵFactoryTarget.Directive });
483
+ TuiDropdownContextDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", 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: [
484
+ TuiActiveZoneDirective,
485
+ tuiAsDriver(TuiDropdownContextDirective),
486
+ tuiAsRectAccessor(TuiDropdownContextDirective),
487
+ ], usesInheritance: true, ngImport: i0 });
488
+ __decorate([
489
+ shouldCall(activeZoneFilter)
490
+ ], TuiDropdownContextDirective.prototype, "closeDropdown", null);
491
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownContextDirective, decorators: [{
492
+ type: Directive,
493
+ args: [{
494
+ selector: '[tuiDropdown][tuiDropdownContext]',
495
+ providers: [
496
+ TuiActiveZoneDirective,
497
+ tuiAsDriver(TuiDropdownContextDirective),
498
+ tuiAsRectAccessor(TuiDropdownContextDirective),
499
+ ],
500
+ }]
501
+ }], ctorParameters: function () {
502
+ return [{ type: i2.TuiActiveZoneDirective, decorators: [{
503
+ type: Inject,
504
+ args: [TuiActiveZoneDirective]
505
+ }] }];
506
+ }, propDecorators: { onContextMenu: [{
507
+ type: HostListener,
508
+ args: ['contextmenu.prevent.stop', ['$event.clientX', '$event.clientY']]
509
+ }], closeDropdown: [{
510
+ type: HostListener,
511
+ args: ['document:click.silent', ['$event.target']]
512
+ }, {
513
+ type: HostListener,
514
+ args: ['document:contextmenu.capture.silent', ['$event.target']]
515
+ }, {
516
+ type: HostListener,
517
+ args: ['document:keydown.esc', ['$event.currentTarget']]
518
+ }] } });
519
+
520
+ class TuiDropdownDriverDirective extends AbstractTuiDriverDirective {
521
+ // TODO: Figure out why this is necessary under nx test runner
522
+ constructor(destroy$, drivers, vehicles) {
523
+ super(destroy$, drivers, vehicles);
524
+ this.type = 'dropdown';
525
+ }
526
+ }
527
+ TuiDropdownDriverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownDriverDirective, deps: [{ token: TuiDestroyService, self: true }, { token: TuiDriver }, { token: TuiVehicle }], target: i0.ɵɵFactoryTarget.Directive });
528
+ TuiDropdownDriverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiDropdownDriverDirective, selector: "[tuiDropdown]", providers: [TuiDestroyService], usesInheritance: true, ngImport: i0 });
529
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownDriverDirective, decorators: [{
530
+ type: Directive,
531
+ args: [{
532
+ selector: '[tuiDropdown]',
533
+ providers: [TuiDestroyService],
534
+ }]
535
+ }], ctorParameters: function () {
536
+ return [{ type: i1.Observable, decorators: [{
537
+ type: Self
538
+ }, {
539
+ type: Inject,
540
+ args: [TuiDestroyService]
541
+ }] }, { type: undefined, decorators: [{
542
+ type: Inject,
543
+ args: [TuiDriver]
544
+ }] }, { type: undefined, decorators: [{
545
+ type: Inject,
546
+ args: [TuiVehicle]
547
+ }] }];
548
+ } });
549
+
550
+ class TuiDropdownHostDirective extends TuiRectAccessor {
551
+ constructor() {
552
+ super(...arguments);
553
+ this.type = 'dropdown';
554
+ }
555
+ getClientRect() {
556
+ var _a;
557
+ return ((_a = this.tuiDropdownHost) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect()) || EMPTY_CLIENT_RECT;
558
+ }
559
+ }
560
+ TuiDropdownHostDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownHostDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
561
+ TuiDropdownHostDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiDropdownHostDirective, selector: "[tuiDropdown][tuiDropdownHost]", inputs: { tuiDropdownHost: "tuiDropdownHost" }, providers: [tuiAsRectAccessor(TuiDropdownHostDirective)], usesInheritance: true, ngImport: i0 });
562
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownHostDirective, decorators: [{
563
+ type: Directive,
564
+ args: [{
565
+ selector: '[tuiDropdown][tuiDropdownHost]',
566
+ providers: [tuiAsRectAccessor(TuiDropdownHostDirective)],
567
+ }]
568
+ }], propDecorators: { tuiDropdownHost: [{
569
+ type: Input
570
+ }] } });
571
+
572
+ class TuiDropdownManualDirective extends TuiDriver {
573
+ constructor() {
574
+ super(subscriber => this.stream$.subscribe(subscriber));
575
+ this.stream$ = new BehaviorSubject(false);
576
+ this.tuiDropdownManual = false;
577
+ this.type = 'dropdown';
578
+ }
579
+ ngOnChanges() {
580
+ this.stream$.next(this.tuiDropdownManual);
581
+ }
582
+ }
583
+ TuiDropdownManualDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownManualDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
584
+ TuiDropdownManualDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiDropdownManualDirective, selector: "[tuiDropdown][tuiDropdownManual]", inputs: { tuiDropdownManual: "tuiDropdownManual" }, providers: [tuiAsDriver(TuiDropdownManualDirective)], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
585
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownManualDirective, decorators: [{
586
+ type: Directive,
587
+ args: [{
588
+ selector: '[tuiDropdown][tuiDropdownManual]',
589
+ providers: [tuiAsDriver(TuiDropdownManualDirective)],
590
+ }]
591
+ }], ctorParameters: function () { return []; }, propDecorators: { tuiDropdownManual: [{
592
+ type: Input
593
+ }] } });
594
+
595
+ class TuiDropdownPositionDirective extends TuiPositionAccessor {
596
+ constructor(options, viewport, accessors, directive) {
597
+ super();
598
+ this.options = options;
599
+ this.viewport = viewport;
600
+ this.accessors = accessors;
601
+ this.directive = directive;
602
+ this.type = 'dropdown';
603
+ }
604
+ getPosition({ width, height }) {
605
+ var _a, _b;
606
+ if (!width && !height) {
607
+ this.previous = undefined;
608
+ }
609
+ const hostRect = (_b = (_a = this.accessor) === null || _a === void 0 ? void 0 : _a.getClientRect()) !== null && _b !== void 0 ? _b : EMPTY_CLIENT_RECT;
610
+ const viewportRect = this.viewport.getClientRect();
611
+ const { minHeight, align, direction, offset } = this.options;
612
+ const viewport = {
613
+ top: viewportRect.top - offset,
614
+ bottom: viewportRect.bottom + offset,
615
+ right: viewportRect.right - offset,
616
+ left: viewportRect.left + offset,
617
+ };
618
+ const previous = this.previous || direction || 'bottom';
619
+ const available = {
620
+ top: hostRect.top - 2 * offset - viewport.top,
621
+ bottom: viewport.bottom - hostRect.bottom - 2 * offset,
622
+ };
623
+ const right = Math.max(hostRect.right - width, offset);
624
+ const left = hostRect.left + width < viewport.right ? hostRect.left : right;
625
+ const position = {
626
+ top: hostRect.top - offset - height,
627
+ bottom: hostRect.bottom + offset,
628
+ right: Math.max(viewport.left, right),
629
+ center: hostRect.left + hostRect.width / 2 + width / 2 < viewport.right
630
+ ? hostRect.left + hostRect.width / 2 - width / 2
631
+ : right,
632
+ left: Math.max(viewport.left, left),
633
+ };
634
+ const better = available.top > available.bottom ? 'top' : 'bottom';
635
+ if ((available[previous] > minHeight && direction) ||
636
+ available[previous] > height) {
637
+ return [position[previous], position[align]];
638
+ }
639
+ this.previous = better;
640
+ return [position[better], position[align]];
641
+ }
642
+ get accessor() {
643
+ return tuiFallbackRectAccessor('dropdown')(this.accessors, this.directive);
644
+ }
645
+ }
646
+ TuiDropdownPositionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownPositionDirective, deps: [{ token: TUI_DROPDOWN_OPTIONS }, { token: TUI_VIEWPORT }, { token: TuiRectAccessor }, { token: TuiDropdownDirective }], target: i0.ɵɵFactoryTarget.Directive });
647
+ TuiDropdownPositionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiDropdownPositionDirective, selector: "[tuiDropdown]:not([tuiDropdownCustomPosition]):not([tuiDropdownSided])", providers: [tuiAsPositionAccessor(TuiDropdownPositionDirective)], usesInheritance: true, ngImport: i0 });
648
+ __decorate([
649
+ tuiPure
650
+ ], TuiDropdownPositionDirective.prototype, "accessor", null);
651
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownPositionDirective, decorators: [{
652
+ type: Directive,
653
+ args: [{
654
+ selector: '[tuiDropdown]:not([tuiDropdownCustomPosition]):not([tuiDropdownSided])',
655
+ providers: [tuiAsPositionAccessor(TuiDropdownPositionDirective)],
656
+ }]
657
+ }], ctorParameters: function () {
658
+ return [{ type: undefined, decorators: [{
659
+ type: Inject,
660
+ args: [TUI_DROPDOWN_OPTIONS]
661
+ }] }, { type: i1$2.TuiRectAccessor, decorators: [{
662
+ type: Inject,
663
+ args: [TUI_VIEWPORT]
664
+ }] }, { type: undefined, decorators: [{
665
+ type: Inject,
666
+ args: [TuiRectAccessor]
667
+ }] }, { type: TuiDropdownDirective, decorators: [{
668
+ type: Inject,
669
+ args: [TuiDropdownDirective]
670
+ }] }];
671
+ }, propDecorators: { accessor: [] } });
672
+
673
+ class TuiDropdownPositionSidedDirective extends TuiPositionAccessor {
674
+ constructor(options, viewport, vertical) {
675
+ super();
676
+ this.options = options;
677
+ this.viewport = viewport;
678
+ this.vertical = vertical;
679
+ this.previous = this.options.direction || 'bottom';
680
+ this.tuiDropdownSided = '';
681
+ this.tuiDropdownSidedOffset = 4;
682
+ this.type = 'dropdown';
683
+ }
684
+ getPosition(rect) {
685
+ var _a, _b;
686
+ if (this.tuiDropdownSided === false) {
687
+ return this.vertical.getPosition(rect);
688
+ }
689
+ const { height, width } = rect;
690
+ const hostRect = (_b = (_a = this.vertical.accessor) === null || _a === void 0 ? void 0 : _a.getClientRect()) !== null && _b !== void 0 ? _b : EMPTY_CLIENT_RECT;
691
+ const viewport = this.viewport.getClientRect();
692
+ const { direction, minHeight, offset } = this.options;
693
+ const align = this.options.align === 'center' ? 'left' : this.options.align;
694
+ const available = {
695
+ top: hostRect.bottom - viewport.top,
696
+ left: hostRect.left - offset - viewport.left,
697
+ right: viewport.right - hostRect.right - offset,
698
+ bottom: viewport.bottom - hostRect.top,
699
+ };
700
+ const position = {
701
+ top: hostRect.bottom - height + this.tuiDropdownSidedOffset + 1,
702
+ left: hostRect.left - width - offset,
703
+ right: hostRect.right + offset,
704
+ bottom: hostRect.top - this.tuiDropdownSidedOffset - 1, // 1 for border
705
+ };
706
+ const better = available.top > available.bottom ? 'top' : 'bottom';
707
+ const maxLeft = available.left > available.right ? position.left : position.right;
708
+ const left = available[align] > width ? position[align] : maxLeft;
709
+ if ((available[this.previous] > minHeight && direction) ||
710
+ this.previous === better) {
711
+ return [position[this.previous], left];
712
+ }
713
+ this.previous = better;
714
+ return [position[better], left];
715
+ }
716
+ }
717
+ TuiDropdownPositionSidedDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownPositionSidedDirective, deps: [{ token: TUI_DROPDOWN_OPTIONS }, { token: TUI_VIEWPORT }, { token: TuiDropdownPositionDirective }], target: i0.ɵɵFactoryTarget.Directive });
718
+ TuiDropdownPositionSidedDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiDropdownPositionSidedDirective, selector: "[tuiDropdownSided]", inputs: { tuiDropdownSided: "tuiDropdownSided", tuiDropdownSidedOffset: "tuiDropdownSidedOffset" }, providers: [
719
+ TuiDropdownPositionDirective,
720
+ tuiAsPositionAccessor(TuiDropdownPositionSidedDirective),
721
+ ], usesInheritance: true, ngImport: i0 });
722
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownPositionSidedDirective, decorators: [{
723
+ type: Directive,
724
+ args: [{
725
+ selector: '[tuiDropdownSided]',
726
+ providers: [
727
+ TuiDropdownPositionDirective,
728
+ tuiAsPositionAccessor(TuiDropdownPositionSidedDirective),
729
+ ],
730
+ }]
731
+ }], ctorParameters: function () {
732
+ return [{ type: undefined, decorators: [{
733
+ type: Inject,
734
+ args: [TUI_DROPDOWN_OPTIONS]
735
+ }] }, { type: i1$2.TuiRectAccessor, decorators: [{
736
+ type: Inject,
737
+ args: [TUI_VIEWPORT]
738
+ }] }, { type: TuiDropdownPositionDirective, decorators: [{
739
+ type: Inject,
740
+ args: [TuiDropdownPositionDirective]
741
+ }] }];
742
+ }, propDecorators: { tuiDropdownSided: [{
743
+ type: Input
744
+ }], tuiDropdownSidedOffset: [{
745
+ type: Input
746
+ }] } });
747
+
748
+ class TuiDropdownSelectionDirective extends TuiDriver {
749
+ set tuiDropdownSelection(visible) {
750
+ if (!tuiIsString(visible)) {
751
+ this.handler$.next(visible);
752
+ }
753
+ }
754
+ constructor(range, doc, selection$, el, vcr, dropdown) {
755
+ super(subscriber => this.stream$.subscribe(subscriber));
756
+ this.range = range;
757
+ this.doc = doc;
758
+ this.selection$ = selection$;
759
+ this.el = el;
760
+ this.vcr = vcr;
761
+ this.dropdown = dropdown;
762
+ this.handler$ = new BehaviorSubject(ALWAYS_TRUE_HANDLER);
763
+ this.stream$ = combineLatest([
764
+ this.handler$,
765
+ this.selection$.pipe(map(() => this.getRange()), distinctUntilChanged((x, y) => x.startOffset === y.startOffset && x.endOffset === y.endOffset)),
766
+ ]).pipe(map(([handler, range]) => {
767
+ const contained = this.el.nativeElement.contains(range.commonAncestorContainer);
768
+ this.range =
769
+ contained && tuiIsTextNode(range.commonAncestorContainer)
770
+ ? range
771
+ : this.range;
772
+ return (contained && handler(this.range)) || this.inDropdown(range);
773
+ }));
774
+ this.position = 'selection';
775
+ this.type = 'dropdown';
776
+ }
777
+ getClientRect() {
778
+ switch (this.position) {
779
+ case 'tag': {
780
+ const { commonAncestorContainer } = this.range;
781
+ const element = tuiIsElement(commonAncestorContainer)
782
+ ? commonAncestorContainer
783
+ : commonAncestorContainer.parentNode;
784
+ return element && tuiIsElement(element)
785
+ ? element.getBoundingClientRect()
786
+ : EMPTY_CLIENT_RECT;
787
+ }
788
+ case 'word':
789
+ return tuiGetWordRange(this.range).getBoundingClientRect();
790
+ default:
791
+ return this.range.getBoundingClientRect();
792
+ }
793
+ }
794
+ ngOnDestroy() {
795
+ if (this.ghost) {
796
+ this.vcr.element.nativeElement.removeChild(this.ghost);
797
+ }
798
+ }
799
+ getRange() {
800
+ const active = tuiGetNativeFocused(this.doc);
801
+ const selection = this.doc.getSelection();
802
+ const range = active && tuiIsTextfield(active) && this.el.nativeElement.contains(active)
803
+ ? this.veryVerySadInputFix(active)
804
+ : ((selection === null || selection === void 0 ? void 0 : selection.rangeCount) && selection.getRangeAt(0)) || this.range;
805
+ return range.cloneRange();
806
+ }
807
+ /**
808
+ * Check if Node is inside dropdown
809
+ */
810
+ boxContains(node) {
811
+ var _a;
812
+ return !!((_a = this.dropdown.dropdownBoxRef) === null || _a === void 0 ? void 0 : _a.location.nativeElement.contains(node));
813
+ }
814
+ /**
815
+ * Check if given range is at least partially inside dropdown
816
+ */
817
+ inDropdown(range) {
818
+ const { startContainer, endContainer } = range;
819
+ const { nativeElement } = this.el;
820
+ const inDropdown = this.boxContains(range.commonAncestorContainer);
821
+ const hostToDropdown = this.boxContains(endContainer) && nativeElement.contains(startContainer);
822
+ const dropdownToHost = this.boxContains(startContainer) && nativeElement.contains(endContainer);
823
+ return inDropdown || hostToDropdown || dropdownToHost;
824
+ }
825
+ veryVerySadInputFix(element) {
826
+ const { ghost = this.initGhost(element) } = this;
827
+ const { top, left, width, height } = element.getBoundingClientRect();
828
+ const { selectionStart, selectionEnd, value } = element;
829
+ const range = this.doc.createRange();
830
+ const hostRect = this.el.nativeElement.getBoundingClientRect();
831
+ ghost.style.top = tuiPx(top - hostRect.top);
832
+ ghost.style.left = tuiPx(left - hostRect.left);
833
+ ghost.style.width = tuiPx(width);
834
+ ghost.style.height = tuiPx(height);
835
+ ghost.textContent = CHAR_ZERO_WIDTH_SPACE + value + CHAR_NO_BREAK_SPACE;
836
+ range.setStart(ghost.firstChild, selectionStart || 0);
837
+ range.setEnd(ghost.firstChild, selectionEnd || 0);
838
+ return range;
839
+ }
840
+ /**
841
+ * Create an invisible DIV styled exactly like input/textarea element inside directive
842
+ */
843
+ initGhost(element) {
844
+ const ghost = this.doc.createElement('div');
845
+ const { font, letterSpacing, textTransform, padding } = getComputedStyle(element);
846
+ ghost.style.position = 'absolute';
847
+ ghost.style.pointerEvents = 'none';
848
+ ghost.style.opacity = '0';
849
+ ghost.style.whiteSpace = 'pre-wrap';
850
+ ghost.style.font = font;
851
+ ghost.style.letterSpacing = letterSpacing;
852
+ ghost.style.textTransform = textTransform;
853
+ ghost.style.padding = padding;
854
+ this.vcr.element.nativeElement.appendChild(ghost);
855
+ this.ghost = ghost;
856
+ return ghost;
857
+ }
858
+ }
859
+ TuiDropdownSelectionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownSelectionDirective, deps: [{ token: TUI_RANGE }, { token: DOCUMENT }, { token: TUI_SELECTION_STREAM }, { token: ElementRef }, { token: ViewContainerRef }, { token: TuiDropdownDirective }], target: i0.ɵɵFactoryTarget.Directive });
860
+ TuiDropdownSelectionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiDropdownSelectionDirective, selector: "[tuiDropdown][tuiDropdownSelection]", inputs: { position: ["tuiDropdownSelectionPosition", "position"], tuiDropdownSelection: "tuiDropdownSelection" }, providers: [
861
+ tuiAsDriver(TuiDropdownSelectionDirective),
862
+ tuiAsRectAccessor(TuiDropdownSelectionDirective),
863
+ ], usesInheritance: true, ngImport: i0 });
864
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownSelectionDirective, decorators: [{
865
+ type: Directive,
866
+ args: [{
867
+ selector: '[tuiDropdown][tuiDropdownSelection]',
868
+ providers: [
869
+ tuiAsDriver(TuiDropdownSelectionDirective),
870
+ tuiAsRectAccessor(TuiDropdownSelectionDirective),
871
+ ],
872
+ }]
873
+ }], ctorParameters: function () {
874
+ return [{ type: Range, decorators: [{
875
+ type: Inject,
876
+ args: [TUI_RANGE]
877
+ }] }, { type: Document, decorators: [{
878
+ type: Inject,
879
+ args: [DOCUMENT]
880
+ }] }, { type: i1.Observable, decorators: [{
881
+ type: Inject,
882
+ args: [TUI_SELECTION_STREAM]
883
+ }] }, { type: i0.ElementRef, decorators: [{
884
+ type: Inject,
885
+ args: [ElementRef]
886
+ }] }, { type: i0.ViewContainerRef, decorators: [{
887
+ type: Inject,
888
+ args: [ViewContainerRef]
889
+ }] }, { type: TuiDropdownDirective, decorators: [{
890
+ type: Inject,
891
+ args: [TuiDropdownDirective]
892
+ }] }];
893
+ }, propDecorators: { position: [{
894
+ type: Input,
895
+ args: ['tuiDropdownSelectionPosition']
896
+ }], tuiDropdownSelection: [{
897
+ type: Input
898
+ }] } });
899
+
900
+ class TuiDropdownModule {
901
+ }
902
+ TuiDropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
903
+ TuiDropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownModule, declarations: [TuiDropdownDirective,
904
+ TuiDropdownComponent,
905
+ TuiDropdownOpenDirective,
906
+ TuiDropdownOptionsDirective,
907
+ TuiDropdownHostDirective,
908
+ TuiDropdownDriverDirective,
909
+ TuiDropdownManualDirective,
910
+ TuiDropdownHoverDirective,
911
+ TuiDropdownContextDirective,
912
+ TuiDropdownPositionDirective,
913
+ TuiDropdownPositionSidedDirective,
914
+ TuiDropdownSelectionDirective], imports: [PolymorpheusModule,
915
+ TuiActiveZoneModule,
916
+ TuiOverscrollModule,
917
+ TuiScrollbarModule,
918
+ TuiHoveredModule], exports: [TuiDropdownDirective,
919
+ TuiDropdownComponent,
920
+ TuiDropdownOpenDirective,
921
+ TuiDropdownOptionsDirective,
922
+ TuiDropdownHostDirective,
923
+ TuiDropdownDriverDirective,
924
+ TuiDropdownManualDirective,
925
+ TuiDropdownHoverDirective,
926
+ TuiDropdownContextDirective,
927
+ TuiDropdownPositionDirective,
928
+ TuiDropdownPositionSidedDirective,
929
+ TuiDropdownSelectionDirective] });
930
+ TuiDropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownModule, imports: [PolymorpheusModule,
931
+ TuiActiveZoneModule,
932
+ TuiOverscrollModule,
933
+ TuiScrollbarModule,
934
+ TuiHoveredModule] });
935
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDropdownModule, decorators: [{
936
+ type: NgModule,
937
+ args: [{
938
+ imports: [
939
+ PolymorpheusModule,
940
+ TuiActiveZoneModule,
941
+ TuiOverscrollModule,
942
+ TuiScrollbarModule,
943
+ TuiHoveredModule,
944
+ ],
945
+ declarations: [
946
+ TuiDropdownDirective,
947
+ TuiDropdownComponent,
948
+ TuiDropdownOpenDirective,
949
+ TuiDropdownOptionsDirective,
950
+ TuiDropdownHostDirective,
951
+ TuiDropdownDriverDirective,
952
+ TuiDropdownManualDirective,
953
+ TuiDropdownHoverDirective,
954
+ TuiDropdownContextDirective,
955
+ TuiDropdownPositionDirective,
956
+ TuiDropdownPositionSidedDirective,
957
+ TuiDropdownSelectionDirective,
958
+ ],
959
+ exports: [
960
+ TuiDropdownDirective,
961
+ TuiDropdownComponent,
962
+ TuiDropdownOpenDirective,
963
+ TuiDropdownOptionsDirective,
964
+ TuiDropdownHostDirective,
965
+ TuiDropdownDriverDirective,
966
+ TuiDropdownManualDirective,
967
+ TuiDropdownHoverDirective,
968
+ TuiDropdownContextDirective,
969
+ TuiDropdownPositionDirective,
970
+ TuiDropdownPositionSidedDirective,
971
+ TuiDropdownSelectionDirective,
972
+ ],
973
+ }]
974
+ }] });
975
+
976
+ /**
977
+ * Generated bundle index. Do not edit.
978
+ */
979
+
980
+ export { TUI_DROPDOWN_COMPONENT, TUI_DROPDOWN_DEFAULT_OPTIONS, TUI_DROPDOWN_HOVER_DEFAULT_OPTIONS, TUI_DROPDOWN_HOVER_OPTIONS, TUI_DROPDOWN_OPTIONS, TuiDropdownComponent, TuiDropdownContextDirective, TuiDropdownDirective, TuiDropdownDriverDirective, TuiDropdownHostDirective, TuiDropdownHoverDirective, TuiDropdownManualDirective, TuiDropdownModule, TuiDropdownOpenDirective, TuiDropdownOptionsDirective, TuiDropdownPositionDirective, TuiDropdownPositionSidedDirective, TuiDropdownSelectionDirective, tuiDropdownHoverOptionsProvider, tuiDropdownOptionsProvider };
981
+ //# sourceMappingURL=taiga-ui-core-directives-dropdown.mjs.map