@taiga-ui/core 2.61.0 → 3.0.0-rc.2

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 (1941) hide show
  1. package/abstract/abstract-driver.directive.d.ts +8 -0
  2. package/abstract/abstract-textfield-host.d.ts +3 -0
  3. package/abstract/driver.d.ts +5 -0
  4. package/abstract/index.d.ts +5 -3
  5. package/abstract/package.json +2 -5
  6. package/abstract/position-accessor.d.ts +6 -0
  7. package/abstract/rect-accessor.d.ts +5 -0
  8. package/abstract/taiga-ui-core-abstract.d.ts +1 -0
  9. package/abstract/vehicle.d.ts +5 -0
  10. package/animations/package.json +2 -5
  11. package/animations/taiga-ui-core-animations.d.ts +1 -0
  12. package/bundles/taiga-ui-core-abstract.umd.js +444 -424
  13. package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
  14. package/bundles/taiga-ui-core-animations.umd.js +7 -3
  15. package/bundles/taiga-ui-core-animations.umd.js.map +1 -1
  16. package/bundles/taiga-ui-core-components-alert.umd.js +432 -369
  17. package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
  18. package/bundles/taiga-ui-core-components-button.umd.js +488 -366
  19. package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
  20. package/bundles/taiga-ui-core-components-calendar.umd.js +471 -340
  21. package/bundles/taiga-ui-core-components-calendar.umd.js.map +1 -1
  22. package/bundles/taiga-ui-core-components-data-list.umd.js +564 -551
  23. package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
  24. package/bundles/taiga-ui-core-components-dialog.umd.js +482 -367
  25. package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
  26. package/bundles/taiga-ui-core-components-error.umd.js +401 -284
  27. package/bundles/taiga-ui-core-components-error.umd.js.map +1 -1
  28. package/bundles/taiga-ui-core-components-expand.umd.js +435 -315
  29. package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
  30. package/bundles/taiga-ui-core-components-group.umd.js +438 -334
  31. package/bundles/taiga-ui-core-components-group.umd.js.map +1 -1
  32. package/bundles/taiga-ui-core-components-hints-host.umd.js +63 -568
  33. package/bundles/taiga-ui-core-components-hints-host.umd.js.map +1 -1
  34. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +543 -384
  35. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
  36. package/bundles/taiga-ui-core-components-label.umd.js +404 -289
  37. package/bundles/taiga-ui-core-components-label.umd.js.map +1 -1
  38. package/bundles/taiga-ui-core-components-link.umd.js +452 -326
  39. package/bundles/taiga-ui-core-components-link.umd.js.map +1 -1
  40. package/bundles/taiga-ui-core-components-loader.umd.js +430 -312
  41. package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
  42. package/bundles/taiga-ui-core-components-notification.umd.js +412 -292
  43. package/bundles/taiga-ui-core-components-notification.umd.js.map +1 -1
  44. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +457 -327
  45. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +1 -1
  46. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +426 -304
  47. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
  48. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +438 -311
  49. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +1 -1
  50. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +780 -634
  51. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
  52. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js +439 -314
  53. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +1 -1
  54. package/bundles/taiga-ui-core-components-root.umd.js +445 -305
  55. package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
  56. package/bundles/taiga-ui-core-components-scroll-controls.umd.js +516 -377
  57. package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
  58. package/bundles/taiga-ui-core-components-scrollbar.umd.js +462 -330
  59. package/bundles/taiga-ui-core-components-scrollbar.umd.js.map +1 -1
  60. package/bundles/taiga-ui-core-components-svg.umd.js +442 -326
  61. package/bundles/taiga-ui-core-components-svg.umd.js.map +1 -1
  62. package/bundles/taiga-ui-core-components-theme-night.umd.js +373 -265
  63. package/bundles/taiga-ui-core-components-theme-night.umd.js.map +1 -1
  64. package/bundles/taiga-ui-core-components-tooltip.umd.js +428 -334
  65. package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
  66. package/bundles/taiga-ui-core-components.umd.js +55 -113
  67. package/bundles/taiga-ui-core-components.umd.js.map +1 -1
  68. package/bundles/taiga-ui-core-constants.umd.js +35 -27
  69. package/bundles/taiga-ui-core-constants.umd.js.map +1 -1
  70. package/bundles/taiga-ui-core-directives-described-by.umd.js +404 -295
  71. package/bundles/taiga-ui-core-directives-described-by.umd.js.map +1 -1
  72. package/bundles/taiga-ui-core-directives-dropdown.umd.js +1201 -302
  73. package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
  74. package/bundles/taiga-ui-core-directives-hint-controller.umd.js +438 -308
  75. package/bundles/taiga-ui-core-directives-hint-controller.umd.js.map +1 -1
  76. package/bundles/taiga-ui-core-directives-hint.umd.js +847 -375
  77. package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
  78. package/bundles/taiga-ui-core-directives-mask-accessor.umd.js +58 -274
  79. package/bundles/taiga-ui-core-directives-mask-accessor.umd.js.map +1 -1
  80. package/bundles/taiga-ui-core-directives-mode.umd.js +375 -266
  81. package/bundles/taiga-ui-core-directives-mode.umd.js.map +1 -1
  82. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js +392 -283
  83. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.js.map +1 -1
  84. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +763 -533
  85. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
  86. package/bundles/taiga-ui-core-directives-wrapper.umd.js +100 -324
  87. package/bundles/taiga-ui-core-directives-wrapper.umd.js.map +1 -1
  88. package/bundles/taiga-ui-core-directives.umd.js +23 -81
  89. package/bundles/taiga-ui-core-directives.umd.js.map +1 -1
  90. package/bundles/taiga-ui-core-enums.umd.js +11 -104
  91. package/bundles/taiga-ui-core-enums.umd.js.map +1 -1
  92. package/bundles/taiga-ui-core-interfaces.umd.js +2 -2
  93. package/bundles/taiga-ui-core-interfaces.umd.js.map +1 -1
  94. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js +423 -298
  95. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.js.map +1 -1
  96. package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js +69 -284
  97. package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js.map +1 -1
  98. package/bundles/taiga-ui-core-internal.umd.js +7 -11
  99. package/bundles/taiga-ui-core-internal.umd.js.map +1 -1
  100. package/bundles/taiga-ui-core-mask.umd.js +2 -2
  101. package/bundles/taiga-ui-core-mask.umd.js.map +1 -1
  102. package/bundles/taiga-ui-core-observables.umd.js +13 -17
  103. package/bundles/taiga-ui-core-observables.umd.js.map +1 -1
  104. package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js +50 -276
  105. package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js.map +1 -1
  106. package/bundles/taiga-ui-core-pipes-format-number.umd.js +50 -273
  107. package/bundles/taiga-ui-core-pipes-format-number.umd.js.map +1 -1
  108. package/bundles/taiga-ui-core-pipes-format-phone.umd.js +42 -260
  109. package/bundles/taiga-ui-core-pipes-format-phone.umd.js.map +1 -1
  110. package/bundles/taiga-ui-core-pipes-month.umd.js +49 -266
  111. package/bundles/taiga-ui-core-pipes-month.umd.js.map +1 -1
  112. package/bundles/taiga-ui-core-pipes.umd.js +13 -29
  113. package/bundles/taiga-ui-core-pipes.umd.js.map +1 -1
  114. package/bundles/taiga-ui-core-providers.umd.js +22 -40
  115. package/bundles/taiga-ui-core-providers.umd.js.map +1 -1
  116. package/bundles/taiga-ui-core-services.umd.js +467 -313
  117. package/bundles/taiga-ui-core-services.umd.js.map +1 -1
  118. package/bundles/taiga-ui-core-tokens.umd.js +389 -282
  119. package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
  120. package/bundles/taiga-ui-core-types.umd.js +2 -2
  121. package/bundles/taiga-ui-core-types.umd.js.map +1 -1
  122. package/bundles/taiga-ui-core-utils-dom.umd.js +63 -45
  123. package/bundles/taiga-ui-core-utils-dom.umd.js.map +1 -1
  124. package/bundles/taiga-ui-core-utils-format.umd.js +347 -342
  125. package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
  126. package/bundles/taiga-ui-core-utils-mask.umd.js +346 -276
  127. package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
  128. package/bundles/taiga-ui-core-utils-miscellaneous.umd.js +12 -52
  129. package/bundles/taiga-ui-core-utils-miscellaneous.umd.js.map +1 -1
  130. package/bundles/taiga-ui-core-utils-mobile.umd.js +7 -3
  131. package/bundles/taiga-ui-core-utils-mobile.umd.js.map +1 -1
  132. package/bundles/taiga-ui-core-utils.umd.js +15 -33
  133. package/bundles/taiga-ui-core-utils.umd.js.map +1 -1
  134. package/bundles/taiga-ui-core.umd.js +49 -57
  135. package/bundles/taiga-ui-core.umd.js.map +1 -1
  136. package/components/alert/alert.component.d.ts +4 -12
  137. package/components/alert/alert.module.d.ts +8 -3
  138. package/components/alert/alert.service.d.ts +7 -13
  139. package/components/alert/package.json +2 -5
  140. package/components/alert/taiga-ui-core-components-alert.d.ts +1 -0
  141. package/components/button/button-options.d.ts +1 -6
  142. package/components/button/button.component.d.ts +6 -5
  143. package/components/button/button.module.d.ts +10 -0
  144. package/components/button/package.json +2 -5
  145. package/components/button/taiga-ui-core-components-button.d.ts +1 -0
  146. package/components/calendar/calendar.component.d.ts +3 -0
  147. package/components/calendar/calendar.module.d.ts +11 -0
  148. package/components/calendar/package.json +2 -5
  149. package/components/calendar/taiga-ui-core-components-calendar.d.ts +1 -0
  150. package/components/data-list/data-list.component.d.ts +4 -1
  151. package/components/data-list/data-list.directive.d.ts +3 -0
  152. package/components/data-list/data-list.module.d.ts +11 -0
  153. package/components/data-list/index.d.ts +0 -1
  154. package/components/data-list/opt-group.directive.d.ts +3 -0
  155. package/components/data-list/option/option.component.d.ts +3 -1
  156. package/components/data-list/package.json +2 -5
  157. package/components/data-list/taiga-ui-core-components-data-list.d.ts +1 -0
  158. package/components/dialog/dialog.component.d.ts +3 -0
  159. package/components/dialog/dialog.directive.d.ts +3 -0
  160. package/components/dialog/dialog.module.d.ts +10 -0
  161. package/components/dialog/dialog.providers.d.ts +1 -4
  162. package/components/dialog/dialog.service.d.ts +4 -1
  163. package/components/dialog/package.json +2 -5
  164. package/components/dialog/taiga-ui-core-components-dialog.d.ts +1 -0
  165. package/components/error/error.component.d.ts +3 -0
  166. package/components/error/error.module.d.ts +7 -0
  167. package/components/error/package.json +2 -5
  168. package/components/error/taiga-ui-core-components-error.d.ts +1 -0
  169. package/components/expand/expand-content.directive.d.ts +3 -0
  170. package/components/expand/expand.component.d.ts +3 -0
  171. package/components/expand/expand.module.d.ts +8 -0
  172. package/components/expand/package.json +2 -5
  173. package/components/expand/taiga-ui-core-components-expand.d.ts +1 -0
  174. package/components/group/group-styles.component.d.ts +3 -0
  175. package/components/group/group.directive.d.ts +5 -2
  176. package/components/group/group.module.d.ts +7 -0
  177. package/components/group/index.d.ts +0 -1
  178. package/components/group/package.json +2 -5
  179. package/components/group/taiga-ui-core-components-group.d.ts +1 -0
  180. package/components/hints-host/hints-host.component.d.ts +6 -9
  181. package/components/hints-host/hints-host.module.d.ts +8 -0
  182. package/components/hints-host/index.d.ts +0 -2
  183. package/components/hints-host/package.json +2 -5
  184. package/components/hints-host/taiga-ui-core-components-hints-host.d.ts +1 -0
  185. package/components/hosted-dropdown/hosted-dropdown-connector.directive.d.ts +3 -0
  186. package/components/hosted-dropdown/hosted-dropdown.component.d.ts +13 -5
  187. package/components/hosted-dropdown/hosted-dropdown.module.d.ts +10 -0
  188. package/components/hosted-dropdown/package.json +2 -5
  189. package/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.d.ts +1 -0
  190. package/components/index.d.ts +0 -1
  191. package/components/label/label.component.d.ts +4 -1
  192. package/components/label/label.module.d.ts +6 -0
  193. package/components/label/package.json +2 -5
  194. package/components/label/taiga-ui-core-components-label.d.ts +1 -0
  195. package/components/link/link.component.d.ts +4 -1
  196. package/components/link/link.module.d.ts +7 -0
  197. package/components/link/package.json +2 -5
  198. package/components/link/taiga-ui-core-components-link.d.ts +1 -0
  199. package/components/loader/loader.component.d.ts +4 -1
  200. package/components/loader/loader.module.d.ts +7 -0
  201. package/components/loader/package.json +2 -5
  202. package/components/loader/taiga-ui-core-components-loader.d.ts +1 -0
  203. package/components/notification/notification.component.d.ts +3 -0
  204. package/components/notification/notification.module.d.ts +8 -0
  205. package/components/notification/package.json +2 -5
  206. package/components/notification/taiga-ui-core-components-notification.d.ts +1 -0
  207. package/components/package.json +2 -5
  208. package/components/primitive-calendar/package.json +2 -5
  209. package/components/primitive-calendar/primitive-calendar.component.d.ts +4 -1
  210. package/components/primitive-calendar/primitive-calendar.module.d.ts +8 -0
  211. package/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.d.ts +1 -0
  212. package/components/primitive-checkbox/checkbox-options.d.ts +0 -5
  213. package/components/primitive-checkbox/package.json +2 -5
  214. package/components/primitive-checkbox/primitive-checkbox.component.d.ts +5 -2
  215. package/components/primitive-checkbox/primitive-checkbox.module.d.ts +8 -0
  216. package/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.d.ts +1 -0
  217. package/components/primitive-spin-button/package.json +2 -5
  218. package/components/primitive-spin-button/primitive-spin-button.component.d.ts +3 -0
  219. package/components/primitive-spin-button/primitive-spin-button.module.d.ts +8 -0
  220. package/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.d.ts +1 -0
  221. package/components/primitive-textfield/index.d.ts +0 -1
  222. package/components/primitive-textfield/package.json +2 -5
  223. package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -3
  224. package/components/primitive-textfield/primitive-textfield-types.d.ts +10 -0
  225. package/components/primitive-textfield/primitive-textfield.component.d.ts +8 -12
  226. package/components/primitive-textfield/primitive-textfield.directive.d.ts +3 -0
  227. package/components/primitive-textfield/primitive-textfield.module.d.ts +17 -0
  228. package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.d.ts +1 -0
  229. package/components/primitive-textfield/textfield/textfield.component.d.ts +3 -0
  230. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +5 -2
  231. package/components/primitive-year-picker/package.json +2 -5
  232. package/components/primitive-year-picker/primitive-year-picker.component.d.ts +3 -0
  233. package/components/primitive-year-picker/primitive-year-picker.module.d.ts +7 -0
  234. package/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.d.ts +1 -0
  235. package/components/root/package.json +2 -5
  236. package/components/root/root.component.d.ts +3 -0
  237. package/components/root/root.module.d.ts +11 -0
  238. package/components/root/taiga-ui-core-components-root.d.ts +1 -0
  239. package/components/scroll-controls/package.json +2 -5
  240. package/components/scroll-controls/scroll-controls.component.d.ts +3 -0
  241. package/components/scroll-controls/scroll-controls.module.d.ts +9 -0
  242. package/components/scroll-controls/scrollbar-wrapper.directive.d.ts +3 -0
  243. package/components/scroll-controls/scrollbar.directive.d.ts +5 -2
  244. package/components/scroll-controls/taiga-ui-core-components-scroll-controls.d.ts +1 -1
  245. package/components/scrollbar/package.json +2 -5
  246. package/components/scrollbar/scroll-ref.directive.d.ts +3 -0
  247. package/components/scrollbar/scrollable.directive.d.ts +3 -0
  248. package/components/scrollbar/scrollbar.component.d.ts +3 -1
  249. package/components/scrollbar/scrollbar.module.d.ts +9 -0
  250. package/components/scrollbar/taiga-ui-core-components-scrollbar.d.ts +1 -0
  251. package/components/svg/package.json +2 -5
  252. package/components/svg/svg.component.d.ts +4 -3
  253. package/components/svg/svg.module.d.ts +7 -0
  254. package/components/svg/taiga-ui-core-components-svg.d.ts +1 -0
  255. package/components/taiga-ui-core-components.d.ts +1 -0
  256. package/components/theme-night/package.json +2 -5
  257. package/components/theme-night/taiga-ui-core-components-theme-night.d.ts +1 -0
  258. package/components/theme-night/theme-night.component.d.ts +3 -0
  259. package/components/theme-night/theme-night.module.d.ts +5 -0
  260. package/components/tooltip/package.json +2 -5
  261. package/components/tooltip/taiga-ui-core-components-tooltip.d.ts +1 -0
  262. package/components/tooltip/tooltip.component.d.ts +10 -14
  263. package/components/tooltip/tooltip.module.d.ts +9 -0
  264. package/constants/default-number-format.d.ts +2 -0
  265. package/constants/described-by.d.ts +1 -0
  266. package/constants/hint-directions.d.ts +2 -0
  267. package/constants/index.d.ts +3 -2
  268. package/constants/package.json +2 -5
  269. package/constants/taiga-ui-core-constants.d.ts +1 -0
  270. package/constants/version.d.ts +1 -1
  271. package/directives/described-by/described-by.directive.d.ts +3 -1
  272. package/directives/described-by/described-by.module.d.ts +5 -0
  273. package/directives/described-by/described-by.providers.d.ts +1 -2
  274. package/directives/described-by/package.json +2 -5
  275. package/directives/described-by/taiga-ui-core-directives-described-by.d.ts +1 -0
  276. package/directives/dropdown/dropdown-context.directive.d.ts +14 -0
  277. package/directives/dropdown/dropdown-driver.directive.d.ts +6 -0
  278. package/directives/dropdown/dropdown-host.directive.d.ts +8 -0
  279. package/directives/dropdown/dropdown-hover.directive.d.ts +14 -0
  280. package/directives/dropdown/dropdown-manual.directive.d.ts +11 -0
  281. package/directives/dropdown/dropdown-options.directive.d.ts +29 -0
  282. package/directives/dropdown/dropdown-position-sided.directive.d.ts +14 -0
  283. package/directives/dropdown/dropdown-position.directive.d.ts +14 -0
  284. package/directives/dropdown/dropdown-selection.directive.d.ts +38 -0
  285. package/directives/dropdown/dropdown.component.d.ts +39 -0
  286. package/directives/dropdown/dropdown.directive.d.ts +20 -8
  287. package/directives/dropdown/dropdown.module.d.ts +19 -0
  288. package/directives/dropdown/dropdown.providers.d.ts +2 -0
  289. package/directives/dropdown/index.d.ts +11 -0
  290. package/directives/dropdown/package.json +2 -5
  291. package/directives/dropdown/taiga-ui-core-directives-dropdown.d.ts +1 -0
  292. package/directives/hint/hint-driver.directive.d.ts +6 -0
  293. package/directives/hint/hint-host.directive.d.ts +8 -0
  294. package/directives/hint/hint-hover.directive.d.ts +16 -0
  295. package/directives/hint/hint-manual.directive.d.ts +11 -0
  296. package/directives/hint/hint-options.d.ts +7 -6
  297. package/directives/hint/hint-pointer.directive.d.ts +10 -0
  298. package/directives/hint/hint-position.directive.d.ts +16 -0
  299. package/directives/hint/hint.component.d.ts +33 -0
  300. package/directives/hint/hint.directive.d.ts +23 -22
  301. package/directives/hint/hint.module.d.ts +14 -0
  302. package/directives/hint/hint.providers.d.ts +2 -0
  303. package/directives/hint/index.d.ts +8 -0
  304. package/directives/hint/package.json +2 -5
  305. package/directives/hint/taiga-ui-core-directives-hint.d.ts +1 -0
  306. package/directives/hint-controller/hint-controller.directive.d.ts +12 -8
  307. package/directives/hint-controller/hint-controller.module.d.ts +5 -0
  308. package/directives/hint-controller/hint-controller.provider.d.ts +1 -2
  309. package/directives/hint-controller/package.json +2 -5
  310. package/directives/hint-controller/taiga-ui-core-directives-hint-controller.d.ts +1 -0
  311. package/directives/index.d.ts +0 -5
  312. package/directives/mask-accessor/mask-accessor.directive.d.ts +3 -2
  313. package/directives/mask-accessor/mask-accessor.module.d.ts +5 -0
  314. package/directives/mask-accessor/package.json +2 -5
  315. package/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.d.ts +1 -0
  316. package/directives/mode/mode.directive.d.ts +5 -2
  317. package/directives/mode/mode.module.d.ts +5 -0
  318. package/directives/mode/package.json +2 -5
  319. package/directives/mode/taiga-ui-core-directives-mode.d.ts +1 -0
  320. package/directives/package.json +2 -5
  321. package/directives/scroll-into-view/package.json +2 -5
  322. package/directives/scroll-into-view/scroll-into-view.directive.d.ts +4 -2
  323. package/directives/scroll-into-view/scroll-into-view.module.d.ts +5 -0
  324. package/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.d.ts +1 -0
  325. package/directives/taiga-ui-core-directives.d.ts +1 -0
  326. package/directives/textfield-controller/index.d.ts +2 -0
  327. package/directives/textfield-controller/package.json +2 -5
  328. package/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.d.ts +1 -0
  329. package/directives/textfield-controller/textfield-autocomplete.directive.d.ts +5 -3
  330. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +5 -3
  331. package/directives/textfield-controller/textfield-controller.module.d.ts +15 -0
  332. package/directives/textfield-controller/textfield-controller.provider.d.ts +1 -16
  333. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +6 -4
  334. package/directives/textfield-controller/textfield-example-text.directive.d.ts +5 -3
  335. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +12 -0
  336. package/directives/textfield-controller/textfield-icon.directive.d.ts +12 -0
  337. package/directives/textfield-controller/textfield-input-mode.directive.d.ts +6 -4
  338. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +5 -3
  339. package/directives/textfield-controller/textfield-max-length.directive.d.ts +5 -3
  340. package/directives/textfield-controller/textfield-size.directive.d.ts +5 -3
  341. package/directives/textfield-controller/textfield-type.directive.d.ts +6 -4
  342. package/directives/textfield-controller/textfield.controller.d.ts +10 -4
  343. package/directives/wrapper/package.json +2 -5
  344. package/directives/wrapper/taiga-ui-core-directives-wrapper.d.ts +1 -0
  345. package/directives/wrapper/wrapper.directive.d.ts +6 -3
  346. package/directives/wrapper/wrapper.module.d.ts +5 -0
  347. package/enums/index.d.ts +0 -8
  348. package/enums/interactive-state.d.ts +2 -2
  349. package/enums/package.json +2 -5
  350. package/enums/taiga-ui-core-enums.d.ts +1 -0
  351. package/esm2015/abstract/abstract-driver.directive.js +32 -0
  352. package/esm2015/abstract/abstract-textfield-host.js +12 -13
  353. package/esm2015/abstract/driver.js +10 -0
  354. package/esm2015/abstract/index.js +6 -4
  355. package/esm2015/abstract/position-accessor.js +9 -0
  356. package/esm2015/abstract/rect-accessor.js +9 -0
  357. package/esm2015/abstract/taiga-ui-core-abstract.js +1 -1
  358. package/esm2015/abstract/vehicle.js +9 -0
  359. package/esm2015/animations/animations.js +1 -1
  360. package/esm2015/animations/index.js +1 -1
  361. package/esm2015/animations/taiga-ui-core-animations.js +1 -1
  362. package/esm2015/components/alert/alert.component.js +52 -60
  363. package/esm2015/components/alert/alert.module.js +18 -28
  364. package/esm2015/components/alert/alert.service.js +16 -36
  365. package/esm2015/components/alert/index.js +1 -1
  366. package/esm2015/components/alert/taiga-ui-core-components-alert.js +1 -1
  367. package/esm2015/components/button/button-options.js +1 -1
  368. package/esm2015/components/button/button.component.js +83 -80
  369. package/esm2015/components/button/button.module.js +26 -13
  370. package/esm2015/components/button/index.js +1 -1
  371. package/esm2015/components/button/taiga-ui-core-components-button.js +1 -1
  372. package/esm2015/components/calendar/calendar.component.js +49 -34
  373. package/esm2015/components/calendar/calendar.module.js +28 -13
  374. package/esm2015/components/calendar/index.js +1 -1
  375. package/esm2015/components/calendar/taiga-ui-core-components-calendar.js +1 -1
  376. package/esm2015/components/data-list/data-list.component.js +67 -60
  377. package/esm2015/components/data-list/data-list.directive.js +12 -10
  378. package/esm2015/components/data-list/data-list.module.js +31 -25
  379. package/esm2015/components/data-list/index.js +1 -2
  380. package/esm2015/components/data-list/opt-group.directive.js +20 -14
  381. package/esm2015/components/data-list/option/option.component.js +81 -58
  382. package/esm2015/components/data-list/taiga-ui-core-components-data-list.js +1 -1
  383. package/esm2015/components/dialog/dialog.component.js +49 -39
  384. package/esm2015/components/dialog/dialog.directive.js +25 -18
  385. package/esm2015/components/dialog/dialog.module.js +18 -21
  386. package/esm2015/components/dialog/dialog.providers.js +14 -22
  387. package/esm2015/components/dialog/dialog.service.js +11 -12
  388. package/esm2015/components/dialog/index.js +1 -1
  389. package/esm2015/components/dialog/taiga-ui-core-components-dialog.js +1 -1
  390. package/esm2015/components/error/error.component.js +35 -27
  391. package/esm2015/components/error/error.module.js +15 -12
  392. package/esm2015/components/error/index.js +1 -1
  393. package/esm2015/components/error/taiga-ui-core-components-error.js +1 -1
  394. package/esm2015/components/expand/expand-content.directive.js +12 -10
  395. package/esm2015/components/expand/expand.component.js +56 -47
  396. package/esm2015/components/expand/expand.module.js +15 -12
  397. package/esm2015/components/expand/index.js +1 -1
  398. package/esm2015/components/expand/taiga-ui-core-components-expand.js +1 -1
  399. package/esm2015/components/group/group-styles.component.js +14 -12
  400. package/esm2015/components/group/group.directive.js +49 -35
  401. package/esm2015/components/group/group.module.js +16 -14
  402. package/esm2015/components/group/index.js +1 -2
  403. package/esm2015/components/group/taiga-ui-core-components-group.js +1 -1
  404. package/esm2015/components/hints-host/hints-host.component.js +28 -33
  405. package/esm2015/components/hints-host/hints-host.module.js +15 -13
  406. package/esm2015/components/hints-host/index.js +1 -3
  407. package/esm2015/components/hints-host/taiga-ui-core-components-hints-host.js +1 -1
  408. package/esm2015/components/hosted-dropdown/hosted-dropdown-connector.directive.js +12 -10
  409. package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +126 -106
  410. package/esm2015/components/hosted-dropdown/hosted-dropdown.module.js +38 -16
  411. package/esm2015/components/hosted-dropdown/index.js +1 -1
  412. package/esm2015/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.js +1 -1
  413. package/esm2015/components/index.js +1 -2
  414. package/esm2015/components/label/index.js +1 -1
  415. package/esm2015/components/label/label.component.js +37 -31
  416. package/esm2015/components/label/label.module.js +15 -12
  417. package/esm2015/components/label/taiga-ui-core-components-label.js +1 -1
  418. package/esm2015/components/link/index.js +1 -1
  419. package/esm2015/components/link/link.component.js +73 -54
  420. package/esm2015/components/link/link.module.js +15 -12
  421. package/esm2015/components/link/taiga-ui-core-components-link.js +1 -1
  422. package/esm2015/components/loader/index.js +1 -1
  423. package/esm2015/components/loader/loader-options.js +1 -1
  424. package/esm2015/components/loader/loader.component.js +50 -40
  425. package/esm2015/components/loader/loader.module.js +15 -12
  426. package/esm2015/components/loader/taiga-ui-core-components-loader.js +1 -1
  427. package/esm2015/components/notification/index.js +1 -1
  428. package/esm2015/components/notification/notification.component.js +41 -30
  429. package/esm2015/components/notification/notification.module.js +15 -12
  430. package/esm2015/components/notification/taiga-ui-core-components-notification.js +1 -1
  431. package/esm2015/components/primitive-calendar/index.js +1 -1
  432. package/esm2015/components/primitive-calendar/primitive-calendar.component.js +46 -38
  433. package/esm2015/components/primitive-calendar/primitive-calendar.module.js +30 -15
  434. package/esm2015/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.js +1 -1
  435. package/esm2015/components/primitive-checkbox/checkbox-options.js +1 -1
  436. package/esm2015/components/primitive-checkbox/index.js +1 -1
  437. package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +40 -26
  438. package/esm2015/components/primitive-checkbox/primitive-checkbox.module.js +15 -12
  439. package/esm2015/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.js +1 -1
  440. package/esm2015/components/primitive-spin-button/index.js +1 -1
  441. package/esm2015/components/primitive-spin-button/primitive-spin-button.component.js +40 -34
  442. package/esm2015/components/primitive-spin-button/primitive-spin-button.module.js +28 -13
  443. package/esm2015/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.js +1 -1
  444. package/esm2015/components/primitive-textfield/index.js +1 -2
  445. package/esm2015/components/primitive-textfield/primitive-textfield-options.js +2 -5
  446. package/esm2015/components/primitive-textfield/primitive-textfield-types.js +2 -0
  447. package/esm2015/components/primitive-textfield/primitive-textfield.component.js +131 -113
  448. package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +19 -23
  449. package/esm2015/components/primitive-textfield/primitive-textfield.module.js +53 -24
  450. package/esm2015/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.js +1 -1
  451. package/esm2015/components/primitive-textfield/textfield/textfield.component.js +59 -49
  452. package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +34 -31
  453. package/esm2015/components/primitive-year-picker/index.js +1 -1
  454. package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +36 -27
  455. package/esm2015/components/primitive-year-picker/primitive-year-picker.module.js +26 -13
  456. package/esm2015/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.js +1 -1
  457. package/esm2015/components/root/index.js +1 -1
  458. package/esm2015/components/root/root.component.js +52 -39
  459. package/esm2015/components/root/root.module.js +34 -13
  460. package/esm2015/components/root/taiga-ui-core-components-root.js +1 -1
  461. package/esm2015/components/scroll-controls/index.js +1 -1
  462. package/esm2015/components/scroll-controls/scroll-controls.component.js +46 -36
  463. package/esm2015/components/scroll-controls/scroll-controls.module.js +21 -16
  464. package/esm2015/components/scroll-controls/scrollbar-wrapper.directive.js +23 -16
  465. package/esm2015/components/scroll-controls/scrollbar.directive.js +56 -45
  466. package/esm2015/components/scroll-controls/taiga-ui-core-components-scroll-controls.js +1 -2
  467. package/esm2015/components/scrollbar/index.js +1 -1
  468. package/esm2015/components/scrollbar/scroll-ref.directive.js +23 -16
  469. package/esm2015/components/scrollbar/scrollable.directive.js +16 -15
  470. package/esm2015/components/scrollbar/scrollbar.component.js +58 -49
  471. package/esm2015/components/scrollbar/scrollbar.module.js +15 -12
  472. package/esm2015/components/scrollbar/taiga-ui-core-components-scrollbar.js +1 -1
  473. package/esm2015/components/svg/index.js +1 -1
  474. package/esm2015/components/svg/svg.component.js +65 -53
  475. package/esm2015/components/svg/svg.module.js +15 -12
  476. package/esm2015/components/svg/taiga-ui-core-components-svg.js +1 -1
  477. package/esm2015/components/taiga-ui-core-components.js +1 -1
  478. package/esm2015/components/theme-night/index.js +1 -1
  479. package/esm2015/components/theme-night/taiga-ui-core-components-theme-night.js +1 -1
  480. package/esm2015/components/theme-night/theme-night.component.js +15 -14
  481. package/esm2015/components/theme-night/theme-night.module.js +14 -11
  482. package/esm2015/components/tooltip/index.js +1 -1
  483. package/esm2015/components/tooltip/taiga-ui-core-components-tooltip.js +1 -1
  484. package/esm2015/components/tooltip/tooltip.component.js +60 -70
  485. package/esm2015/components/tooltip/tooltip.module.js +15 -12
  486. package/esm2015/constants/decimal-symbols.js +1 -1
  487. package/esm2015/constants/default-icons-path.js +1 -1
  488. package/esm2015/constants/default-marker-handler.js +1 -1
  489. package/esm2015/constants/default-number-format.js +8 -0
  490. package/esm2015/constants/described-by.js +2 -0
  491. package/esm2015/constants/editing-keys.js +1 -1
  492. package/esm2015/constants/events.js +1 -1
  493. package/esm2015/constants/hint-directions.js +15 -0
  494. package/esm2015/constants/index.js +4 -3
  495. package/esm2015/constants/mask-caret-trap.js +1 -1
  496. package/esm2015/constants/regexp.js +1 -1
  497. package/esm2015/constants/taiga-ui-core-constants.js +1 -1
  498. package/esm2015/constants/version.js +1 -1
  499. package/esm2015/directives/described-by/described-by.directive.js +28 -23
  500. package/esm2015/directives/described-by/described-by.module.js +14 -11
  501. package/esm2015/directives/described-by/described-by.providers.js +7 -9
  502. package/esm2015/directives/described-by/index.js +1 -1
  503. package/esm2015/directives/described-by/taiga-ui-core-directives-described-by.js +1 -1
  504. package/esm2015/directives/dropdown/dropdown-context.directive.js +59 -0
  505. package/esm2015/directives/dropdown/dropdown-driver.directive.js +16 -0
  506. package/esm2015/directives/dropdown/dropdown-host.directive.js +22 -0
  507. package/esm2015/directives/dropdown/dropdown-hover.directive.js +46 -0
  508. package/esm2015/directives/dropdown/dropdown-manual.directive.js +26 -0
  509. package/esm2015/directives/dropdown/dropdown-options.directive.js +99 -0
  510. package/esm2015/directives/dropdown/dropdown-position-sided.directive.js +59 -0
  511. package/esm2015/directives/dropdown/dropdown-position.directive.js +59 -0
  512. package/esm2015/directives/dropdown/dropdown-selection.directive.js +167 -0
  513. package/esm2015/directives/dropdown/dropdown.component.js +142 -0
  514. package/esm2015/directives/dropdown/dropdown.directive.js +86 -44
  515. package/esm2015/directives/dropdown/dropdown.module.js +92 -13
  516. package/esm2015/directives/dropdown/dropdown.providers.js +6 -0
  517. package/esm2015/directives/dropdown/index.js +12 -1
  518. package/esm2015/directives/dropdown/taiga-ui-core-directives-dropdown.js +1 -1
  519. package/esm2015/directives/hint/hint-driver.directive.js +16 -0
  520. package/esm2015/directives/hint/hint-host.directive.js +22 -0
  521. package/esm2015/directives/hint/hint-hover.directive.js +51 -0
  522. package/esm2015/directives/hint/hint-manual.directive.js +26 -0
  523. package/esm2015/directives/hint/hint-options.js +9 -6
  524. package/esm2015/directives/hint/hint-pointer.directive.js +36 -0
  525. package/esm2015/directives/hint/hint-position.directive.js +88 -0
  526. package/esm2015/directives/hint/hint.component.js +118 -0
  527. package/esm2015/directives/hint/hint.directive.js +90 -103
  528. package/esm2015/directives/hint/hint.module.js +57 -11
  529. package/esm2015/directives/hint/hint.providers.js +6 -0
  530. package/esm2015/directives/hint/index.js +9 -1
  531. package/esm2015/directives/hint/taiga-ui-core-directives-hint.js +1 -1
  532. package/esm2015/directives/hint-controller/hint-controller.directive.js +49 -34
  533. package/esm2015/directives/hint-controller/hint-controller.module.js +14 -11
  534. package/esm2015/directives/hint-controller/hint-controller.provider.js +16 -6
  535. package/esm2015/directives/hint-controller/hint-controller.token.js +1 -1
  536. package/esm2015/directives/hint-controller/index.js +1 -1
  537. package/esm2015/directives/hint-controller/taiga-ui-core-directives-hint-controller.js +1 -1
  538. package/esm2015/directives/index.js +1 -6
  539. package/esm2015/directives/mask-accessor/index.js +1 -1
  540. package/esm2015/directives/mask-accessor/mask-accessor.directive.js +26 -21
  541. package/esm2015/directives/mask-accessor/mask-accessor.module.js +14 -11
  542. package/esm2015/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.js +1 -1
  543. package/esm2015/directives/mode/index.js +1 -1
  544. package/esm2015/directives/mode/mode.directive.js +16 -14
  545. package/esm2015/directives/mode/mode.module.js +14 -11
  546. package/esm2015/directives/mode/taiga-ui-core-directives-mode.js +1 -1
  547. package/esm2015/directives/scroll-into-view/index.js +1 -1
  548. package/esm2015/directives/scroll-into-view/scroll-into-view.directive.js +28 -28
  549. package/esm2015/directives/scroll-into-view/scroll-into-view.module.js +14 -11
  550. package/esm2015/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.js +1 -1
  551. package/esm2015/directives/taiga-ui-core-directives.js +1 -1
  552. package/esm2015/directives/textfield-controller/index.js +3 -1
  553. package/esm2015/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.js +1 -1
  554. package/esm2015/directives/textfield-controller/textfield-autocomplete.directive.js +27 -25
  555. package/esm2015/directives/textfield-controller/textfield-cleaner.directive.js +27 -25
  556. package/esm2015/directives/textfield-controller/textfield-controller.module.js +60 -31
  557. package/esm2015/directives/textfield-controller/textfield-controller.provider.js +11 -13
  558. package/esm2015/directives/textfield-controller/textfield-custom-content.directive.js +27 -26
  559. package/esm2015/directives/textfield-controller/textfield-example-text.directive.js +27 -25
  560. package/esm2015/directives/textfield-controller/textfield-icon-left.directive.js +38 -0
  561. package/esm2015/directives/textfield-controller/textfield-icon.directive.js +38 -0
  562. package/esm2015/directives/textfield-controller/textfield-input-mode.directive.js +27 -25
  563. package/esm2015/directives/textfield-controller/textfield-label-outside.directive.js +27 -25
  564. package/esm2015/directives/textfield-controller/textfield-max-length.directive.js +27 -25
  565. package/esm2015/directives/textfield-controller/textfield-size.directive.js +27 -25
  566. package/esm2015/directives/textfield-controller/textfield-type.directive.js +27 -25
  567. package/esm2015/directives/textfield-controller/textfield.controller.js +10 -2
  568. package/esm2015/directives/wrapper/index.js +1 -1
  569. package/esm2015/directives/wrapper/taiga-ui-core-directives-wrapper.js +1 -1
  570. package/esm2015/directives/wrapper/wrapper.directive.js +62 -69
  571. package/esm2015/directives/wrapper/wrapper.module.js +14 -11
  572. package/esm2015/enums/appearance.js +1 -1
  573. package/esm2015/enums/dropdown-animation.js +1 -1
  574. package/esm2015/enums/index.js +1 -9
  575. package/esm2015/enums/interactive-state.js +3 -5
  576. package/esm2015/enums/notification.js +1 -1
  577. package/esm2015/enums/range-state.js +1 -1
  578. package/esm2015/enums/taiga-ui-core-enums.js +1 -1
  579. package/esm2015/index.js +4 -1
  580. package/esm2015/interfaces/alert-options.js +2 -1
  581. package/esm2015/interfaces/animation-options.js +2 -1
  582. package/esm2015/interfaces/data-list-accessor.js +2 -1
  583. package/esm2015/interfaces/data-list-host.js +2 -1
  584. package/esm2015/interfaces/dialog-context.js +2 -1
  585. package/esm2015/interfaces/dialog-options.js +2 -1
  586. package/esm2015/interfaces/icon-error.js +2 -1
  587. package/esm2015/interfaces/index.js +14 -1
  588. package/esm2015/interfaces/media.js +2 -1
  589. package/esm2015/interfaces/number-format-settings.js +2 -1
  590. package/esm2015/interfaces/portal-item.js +2 -0
  591. package/esm2015/interfaces/taiga-ui-core-interfaces.js +2 -1
  592. package/esm2015/interfaces/textfield-host.js +2 -1
  593. package/esm2015/interfaces/value-content-context.js +2 -1
  594. package/esm2015/interfaces/with-optional-min-max.js +2 -1
  595. package/esm2015/internal/index.js +1 -1
  596. package/esm2015/internal/primitive-year-month-pagination/index.js +1 -1
  597. package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +29 -20
  598. package/esm2015/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.js +26 -13
  599. package/esm2015/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.js +1 -1
  600. package/esm2015/internal/svg-defs-host/index.js +1 -1
  601. package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +34 -32
  602. package/esm2015/internal/svg-defs-host/svg-defs-host.module.js +15 -12
  603. package/esm2015/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.js +1 -1
  604. package/esm2015/internal/taiga-ui-core-internal.js +1 -1
  605. package/esm2015/mask/index.js +9 -1
  606. package/esm2015/mask/number-mask-options.js +2 -1
  607. package/esm2015/mask/taiga-ui-core-mask.js +2 -1
  608. package/esm2015/mask/text-mask-config.js +2 -1
  609. package/esm2015/mask/text-mask-correction-handler.js +2 -1
  610. package/esm2015/mask/text-mask-list-handler.js +2 -1
  611. package/esm2015/mask/text-mask-list.js +2 -1
  612. package/esm2015/mask/text-mask-options.js +2 -1
  613. package/esm2015/mask/text-mask-pipe-handler.js +2 -1
  614. package/esm2015/mask/text-mask-pipe-result.js +2 -1
  615. package/esm2015/observables/index.js +1 -1
  616. package/esm2015/observables/smart-search.js +2 -7
  617. package/esm2015/observables/taiga-ui-core-observables.js +1 -1
  618. package/esm2015/observables/zoneful-map.js +1 -1
  619. package/esm2015/pipes/calendar-sheet/calendar-sheet.module.js +14 -11
  620. package/esm2015/pipes/calendar-sheet/calendar-sheet.pipe.js +15 -14
  621. package/esm2015/pipes/calendar-sheet/index.js +1 -1
  622. package/esm2015/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.js +1 -1
  623. package/esm2015/pipes/calendar-sheet/utils.js +5 -14
  624. package/esm2015/pipes/format-number/format-number.module.js +14 -11
  625. package/esm2015/pipes/format-number/format-number.pipe.js +17 -19
  626. package/esm2015/pipes/format-number/index.js +1 -1
  627. package/esm2015/pipes/format-number/taiga-ui-core-pipes-format-number.js +1 -1
  628. package/esm2015/pipes/format-phone/format-phone.module.js +14 -11
  629. package/esm2015/pipes/format-phone/format-phone.pipe.js +12 -10
  630. package/esm2015/pipes/format-phone/index.js +1 -1
  631. package/esm2015/pipes/format-phone/taiga-ui-core-pipes-format-phone.js +1 -1
  632. package/esm2015/pipes/index.js +1 -2
  633. package/esm2015/pipes/month/index.js +1 -1
  634. package/esm2015/pipes/month/month.module.js +14 -11
  635. package/esm2015/pipes/month/month.pipe.js +14 -14
  636. package/esm2015/pipes/month/taiga-ui-core-pipes-month.js +1 -1
  637. package/esm2015/pipes/taiga-ui-core-pipes.js +1 -1
  638. package/esm2015/providers/index.js +1 -1
  639. package/esm2015/providers/is-mobile-resolution.provider.js +5 -11
  640. package/esm2015/providers/mode.provider.js +8 -14
  641. package/esm2015/providers/taiga-ui-core-providers.js +1 -1
  642. package/esm2015/providers/watched-controller-provider-factory.js +4 -9
  643. package/esm2015/services/hint.service.js +14 -13
  644. package/esm2015/services/index.js +2 -1
  645. package/esm2015/services/night-theme.service.js +14 -17
  646. package/esm2015/services/position.service.js +34 -0
  647. package/esm2015/services/router-link-active.service.js +26 -19
  648. package/esm2015/services/svg.service.js +27 -27
  649. package/esm2015/services/taiga-ui-core-services.js +1 -1
  650. package/esm2015/taiga-ui-core.js +1 -1
  651. package/esm2015/tokens/animation-options.js +1 -1
  652. package/esm2015/tokens/animations-duration.js +1 -1
  653. package/esm2015/tokens/assert-enabled.js +1 -1
  654. package/esm2015/tokens/data-list-accessor.js +7 -1
  655. package/esm2015/tokens/data-list-host.js +7 -1
  656. package/esm2015/tokens/document-or-shadow-root.js +1 -1
  657. package/esm2015/tokens/element-ref.js +1 -1
  658. package/esm2015/tokens/first-day-of-week.js +1 -1
  659. package/esm2015/tokens/i18n.js +8 -8
  660. package/esm2015/tokens/icon-place.js +1 -1
  661. package/esm2015/tokens/icons-path.js +3 -3
  662. package/esm2015/tokens/icons.js +1 -1
  663. package/esm2015/tokens/index.js +2 -2
  664. package/esm2015/tokens/is-mobile-resolution.js +3 -3
  665. package/esm2015/tokens/media.js +1 -1
  666. package/esm2015/tokens/mode.js +1 -1
  667. package/esm2015/tokens/notification-options.js +1 -1
  668. package/esm2015/tokens/number-format.js +3 -7
  669. package/esm2015/tokens/option-content.js +7 -1
  670. package/esm2015/tokens/ordered-short-week-days.js +2 -3
  671. package/esm2015/tokens/sanitizer.js +3 -3
  672. package/esm2015/tokens/scroll-ref.js +1 -1
  673. package/esm2015/tokens/selection-stream.js +12 -0
  674. package/esm2015/tokens/svg-content-processor.js +3 -3
  675. package/esm2015/tokens/svg-src-processor.js +1 -1
  676. package/esm2015/tokens/taiga-ui-core-tokens.js +1 -1
  677. package/esm2015/tokens/textfield-appearance.js +1 -1
  678. package/esm2015/tokens/textfield-host.js +7 -1
  679. package/esm2015/tokens/theme.js +1 -1
  680. package/esm2015/tokens/value-accessor.js +1 -1
  681. package/esm2015/types/brightness.js +2 -1
  682. package/esm2015/types/data-list-role.js +2 -1
  683. package/esm2015/types/decimal-symbol.js +2 -1
  684. package/esm2015/types/decimal.js +2 -1
  685. package/esm2015/types/dialog-size.js +2 -1
  686. package/esm2015/types/direction.js +2 -1
  687. package/esm2015/types/dropdown-width.js +2 -1
  688. package/esm2015/types/hint-direction.js +2 -0
  689. package/esm2015/types/index.js +14 -1
  690. package/esm2015/types/marker-handler.js +2 -1
  691. package/esm2015/types/option-role.js +2 -1
  692. package/esm2015/types/orientation.js +2 -1
  693. package/esm2015/types/point.js +2 -1
  694. package/esm2015/types/size.js +2 -1
  695. package/esm2015/types/taiga-ui-core-types.js +2 -1
  696. package/esm2015/utils/dom/check-fixed-position.js +3 -8
  697. package/esm2015/utils/dom/get-safe-area-size.js +2 -5
  698. package/esm2015/utils/dom/get-screen-width.js +2 -7
  699. package/esm2015/utils/dom/get-viewport-height.js +1 -1
  700. package/esm2015/utils/dom/get-viewport-width.js +1 -1
  701. package/esm2015/utils/dom/get-word-range.js +50 -0
  702. package/esm2015/utils/dom/index.js +2 -2
  703. package/esm2015/utils/dom/process-icon.js +3 -10
  704. package/esm2015/utils/dom/taiga-ui-core-utils-dom.js +1 -1
  705. package/esm2015/utils/format/capitalize-first-letter.js +2 -7
  706. package/esm2015/utils/format/capitalize.js +2 -5
  707. package/esm2015/utils/format/format-number.js +9 -14
  708. package/esm2015/utils/format/format-phone.js +2 -5
  709. package/esm2015/utils/format/get-fractional-part-padded.js +6 -8
  710. package/esm2015/utils/format/index.js +1 -3
  711. package/esm2015/utils/format/number-to-string-without-exp.js +2 -5
  712. package/esm2015/utils/format/other-decimal-symbol.js +2 -7
  713. package/esm2015/utils/format/taiga-ui-core-utils-format.js +1 -1
  714. package/esm2015/utils/index.js +1 -2
  715. package/esm2015/utils/mask/create-auto-corrected-money-pipe.js +6 -6
  716. package/esm2015/utils/mask/create-correction-mask.js +1 -1
  717. package/esm2015/utils/mask/create-number-mask.js +4 -4
  718. package/esm2015/utils/mask/enable-auto-correct-decimal-symbol.js +1 -1
  719. package/esm2015/utils/mask/index.js +1 -1
  720. package/esm2015/utils/mask/masked-money-value-is-empty.js +2 -7
  721. package/esm2015/utils/mask/masked-number-string-to-number.js +2 -7
  722. package/esm2015/utils/mask/taiga-ui-core-utils-mask.js +1 -1
  723. package/esm2015/utils/miscellaneous/get-border.js +2 -7
  724. package/esm2015/utils/miscellaneous/icons-path-factory.js +2 -7
  725. package/esm2015/utils/miscellaneous/index.js +1 -2
  726. package/esm2015/utils/miscellaneous/is-editing-key.js +2 -5
  727. package/esm2015/utils/miscellaneous/is-presumed-html-string.js +2 -7
  728. package/esm2015/utils/miscellaneous/size-bigger.js +2 -5
  729. package/esm2015/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.js +1 -1
  730. package/esm2015/utils/mobile/index.js +1 -1
  731. package/esm2015/utils/mobile/is-mobile.js +1 -1
  732. package/esm2015/utils/mobile/taiga-ui-core-utils-mobile.js +1 -1
  733. package/esm2015/utils/taiga-ui-core-utils.js +1 -1
  734. package/fesm2015/taiga-ui-core-abstract.js +74 -169
  735. package/fesm2015/taiga-ui-core-abstract.js.map +1 -1
  736. package/fesm2015/taiga-ui-core-animations.js.map +1 -1
  737. package/fesm2015/taiga-ui-core-components-alert.js +82 -114
  738. package/fesm2015/taiga-ui-core-components-alert.js.map +1 -1
  739. package/fesm2015/taiga-ui-core-components-button.js +108 -90
  740. package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
  741. package/fesm2015/taiga-ui-core-components-calendar.js +78 -46
  742. package/fesm2015/taiga-ui-core-components-calendar.js.map +1 -1
  743. package/fesm2015/taiga-ui-core-components-data-list.js +199 -243
  744. package/fesm2015/taiga-ui-core-components-data-list.js.map +1 -1
  745. package/fesm2015/taiga-ui-core-components-dialog.js +112 -101
  746. package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
  747. package/fesm2015/taiga-ui-core-components-error.js +48 -35
  748. package/fesm2015/taiga-ui-core-components-error.js.map +1 -1
  749. package/fesm2015/taiga-ui-core-components-expand.js +79 -62
  750. package/fesm2015/taiga-ui-core-components-expand.js.map +1 -1
  751. package/fesm2015/taiga-ui-core-components-group.js +76 -71
  752. package/fesm2015/taiga-ui-core-components-group.js.map +1 -1
  753. package/fesm2015/taiga-ui-core-components-hints-host.js +43 -306
  754. package/fesm2015/taiga-ui-core-components-hints-host.js.map +1 -1
  755. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +170 -123
  756. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
  757. package/fesm2015/taiga-ui-core-components-label.js +50 -39
  758. package/fesm2015/taiga-ui-core-components-label.js.map +1 -1
  759. package/fesm2015/taiga-ui-core-components-link.js +86 -62
  760. package/fesm2015/taiga-ui-core-components-link.js.map +1 -1
  761. package/fesm2015/taiga-ui-core-components-loader.js +63 -48
  762. package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
  763. package/fesm2015/taiga-ui-core-components-notification.js +56 -40
  764. package/fesm2015/taiga-ui-core-components-notification.js.map +1 -1
  765. package/fesm2015/taiga-ui-core-components-primitive-calendar.js +74 -49
  766. package/fesm2015/taiga-ui-core-components-primitive-calendar.js.map +1 -1
  767. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +53 -34
  768. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
  769. package/fesm2015/taiga-ui-core-components-primitive-spin-button.js +67 -44
  770. package/fesm2015/taiga-ui-core-components-primitive-spin-button.js.map +1 -1
  771. package/fesm2015/taiga-ui-core-components-primitive-textfield.js +333 -289
  772. package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
  773. package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +60 -36
  774. package/fesm2015/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
  775. package/fesm2015/taiga-ui-core-components-root.js +85 -49
  776. package/fesm2015/taiga-ui-core-components-root.js.map +1 -1
  777. package/fesm2015/taiga-ui-core-components-scroll-controls.js +156 -122
  778. package/fesm2015/taiga-ui-core-components-scroll-controls.js.map +1 -1
  779. package/fesm2015/taiga-ui-core-components-scrollbar.js +107 -83
  780. package/fesm2015/taiga-ui-core-components-scrollbar.js.map +1 -1
  781. package/fesm2015/taiga-ui-core-components-svg.js +76 -59
  782. package/fesm2015/taiga-ui-core-components-svg.js.map +1 -1
  783. package/fesm2015/taiga-ui-core-components-theme-night.js +26 -20
  784. package/fesm2015/taiga-ui-core-components-theme-night.js.map +1 -1
  785. package/fesm2015/taiga-ui-core-components-tooltip.js +73 -78
  786. package/fesm2015/taiga-ui-core-components-tooltip.js.map +1 -1
  787. package/fesm2015/taiga-ui-core-components.js +0 -1
  788. package/fesm2015/taiga-ui-core-components.js.map +1 -1
  789. package/fesm2015/taiga-ui-core-constants.js +26 -18
  790. package/fesm2015/taiga-ui-core-constants.js.map +1 -1
  791. package/fesm2015/taiga-ui-core-directives-described-by.js +48 -39
  792. package/fesm2015/taiga-ui-core-directives-described-by.js.map +1 -1
  793. package/fesm2015/taiga-ui-core-directives-dropdown.js +796 -52
  794. package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
  795. package/fesm2015/taiga-ui-core-directives-hint-controller.js +74 -46
  796. package/fesm2015/taiga-ui-core-directives-hint-controller.js.map +1 -1
  797. package/fesm2015/taiga-ui-core-directives-hint.js +460 -112
  798. package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
  799. package/fesm2015/taiga-ui-core-directives-mask-accessor.js +39 -29
  800. package/fesm2015/taiga-ui-core-directives-mask-accessor.js.map +1 -1
  801. package/fesm2015/taiga-ui-core-directives-mode.js +28 -21
  802. package/fesm2015/taiga-ui-core-directives-mode.js.map +1 -1
  803. package/fesm2015/taiga-ui-core-directives-scroll-into-view.js +40 -35
  804. package/fesm2015/taiga-ui-core-directives-scroll-into-view.js.map +1 -1
  805. package/fesm2015/taiga-ui-core-directives-textfield-controller.js +362 -234
  806. package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +1 -1
  807. package/fesm2015/taiga-ui-core-directives-wrapper.js +74 -76
  808. package/fesm2015/taiga-ui-core-directives-wrapper.js.map +1 -1
  809. package/fesm2015/taiga-ui-core-directives.js +0 -5
  810. package/fesm2015/taiga-ui-core-directives.js.map +1 -1
  811. package/fesm2015/taiga-ui-core-enums.js +3 -101
  812. package/fesm2015/taiga-ui-core-enums.js.map +1 -1
  813. package/fesm2015/taiga-ui-core-interfaces.js.map +1 -1
  814. package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js +55 -31
  815. package/fesm2015/taiga-ui-core-internal-primitive-year-month-pagination.js.map +1 -1
  816. package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +46 -39
  817. package/fesm2015/taiga-ui-core-internal-svg-defs-host.js.map +1 -1
  818. package/fesm2015/taiga-ui-core-internal.js.map +1 -1
  819. package/fesm2015/taiga-ui-core-mask.js.map +1 -1
  820. package/fesm2015/taiga-ui-core-observables.js +2 -7
  821. package/fesm2015/taiga-ui-core-observables.js.map +1 -1
  822. package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js +30 -33
  823. package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js.map +1 -1
  824. package/fesm2015/taiga-ui-core-pipes-format-number.js +29 -26
  825. package/fesm2015/taiga-ui-core-pipes-format-number.js.map +1 -1
  826. package/fesm2015/taiga-ui-core-pipes-format-phone.js +24 -17
  827. package/fesm2015/taiga-ui-core-pipes-format-phone.js.map +1 -1
  828. package/fesm2015/taiga-ui-core-pipes-month.js +26 -21
  829. package/fesm2015/taiga-ui-core-pipes-month.js.map +1 -1
  830. package/fesm2015/taiga-ui-core-pipes.js +0 -1
  831. package/fesm2015/taiga-ui-core-pipes.js.map +1 -1
  832. package/fesm2015/taiga-ui-core-providers.js +15 -32
  833. package/fesm2015/taiga-ui-core-providers.js.map +1 -1
  834. package/fesm2015/taiga-ui-core-services.js +105 -63
  835. package/fesm2015/taiga-ui-core-services.js.map +1 -1
  836. package/fesm2015/taiga-ui-core-tokens.js +50 -25
  837. package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
  838. package/fesm2015/taiga-ui-core-types.js +11 -0
  839. package/fesm2015/taiga-ui-core-types.js.map +1 -1
  840. package/fesm2015/taiga-ui-core-utils-dom.js +57 -38
  841. package/fesm2015/taiga-ui-core-utils-dom.js.map +1 -1
  842. package/fesm2015/taiga-ui-core-utils-format.js +16 -79
  843. package/fesm2015/taiga-ui-core-utils-format.js.map +1 -1
  844. package/fesm2015/taiga-ui-core-utils-mask.js +11 -21
  845. package/fesm2015/taiga-ui-core-utils-mask.js.map +1 -1
  846. package/fesm2015/taiga-ui-core-utils-miscellaneous.js +6 -44
  847. package/fesm2015/taiga-ui-core-utils-miscellaneous.js.map +1 -1
  848. package/fesm2015/taiga-ui-core-utils-mobile.js.map +1 -1
  849. package/fesm2015/taiga-ui-core-utils.js +0 -1
  850. package/fesm2015/taiga-ui-core-utils.js.map +1 -1
  851. package/fesm2015/taiga-ui-core.js +3 -0
  852. package/fesm2015/taiga-ui-core.js.map +1 -1
  853. package/interfaces/index.d.ts +1 -3
  854. package/interfaces/number-format-settings.d.ts +16 -8
  855. package/interfaces/package.json +2 -5
  856. package/interfaces/portal-item.d.ts +10 -0
  857. package/interfaces/taiga-ui-core-interfaces.d.ts +1 -0
  858. package/internal/package.json +2 -5
  859. package/internal/primitive-year-month-pagination/package.json +2 -5
  860. package/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.d.ts +3 -0
  861. package/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.d.ts +10 -0
  862. package/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.d.ts +1 -0
  863. package/internal/svg-defs-host/package.json +2 -5
  864. package/internal/svg-defs-host/svg-defs-host.component.d.ts +4 -1
  865. package/internal/svg-defs-host/svg-defs-host.module.d.ts +7 -0
  866. package/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.d.ts +1 -0
  867. package/internal/taiga-ui-core-internal.d.ts +1 -0
  868. package/mask/package.json +2 -5
  869. package/mask/taiga-ui-core-mask.d.ts +1 -0
  870. package/observables/package.json +2 -5
  871. package/observables/smart-search.d.ts +1 -5
  872. package/observables/taiga-ui-core-observables.d.ts +1 -0
  873. package/package.json +11 -14
  874. package/pipes/calendar-sheet/calendar-sheet.module.d.ts +5 -0
  875. package/pipes/calendar-sheet/calendar-sheet.pipe.d.ts +3 -0
  876. package/pipes/calendar-sheet/package.json +2 -5
  877. package/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.d.ts +1 -0
  878. package/pipes/calendar-sheet/utils.d.ts +0 -4
  879. package/pipes/format-number/format-number.module.d.ts +5 -0
  880. package/pipes/format-number/format-number.pipe.d.ts +5 -5
  881. package/pipes/format-number/package.json +2 -5
  882. package/pipes/format-number/taiga-ui-core-pipes-format-number.d.ts +1 -0
  883. package/pipes/format-phone/format-phone.module.d.ts +5 -0
  884. package/pipes/format-phone/format-phone.pipe.d.ts +3 -0
  885. package/pipes/format-phone/package.json +2 -5
  886. package/pipes/format-phone/taiga-ui-core-pipes-format-phone.d.ts +1 -0
  887. package/pipes/index.d.ts +0 -1
  888. package/pipes/month/month.module.d.ts +5 -0
  889. package/pipes/month/month.pipe.d.ts +4 -1
  890. package/pipes/month/package.json +2 -5
  891. package/pipes/month/taiga-ui-core-pipes-month.d.ts +1 -0
  892. package/pipes/package.json +2 -5
  893. package/pipes/taiga-ui-core-pipes.d.ts +1 -0
  894. package/providers/is-mobile-resolution.provider.d.ts +1 -7
  895. package/providers/mode.provider.d.ts +1 -9
  896. package/providers/package.json +2 -5
  897. package/providers/taiga-ui-core-providers.d.ts +1 -0
  898. package/providers/watched-controller-provider-factory.d.ts +2 -6
  899. package/services/hint.service.d.ts +9 -8
  900. package/services/index.d.ts +1 -0
  901. package/services/night-theme.service.d.ts +3 -0
  902. package/services/package.json +2 -5
  903. package/services/position.service.d.ts +10 -0
  904. package/services/router-link-active.service.d.ts +3 -0
  905. package/services/svg.service.d.ts +3 -0
  906. package/services/taiga-ui-core-services.d.ts +1 -0
  907. package/styles/mixins/picker.less +6 -6
  908. package/styles/mixins/picker.scss +6 -6
  909. package/styles/mixins/wrapper.less +3 -3
  910. package/styles/mixins/wrapper.scss +3 -3
  911. package/styles/taiga-ui-fonts.less +1 -0
  912. package/styles/taiga-ui-theme.less +0 -1
  913. package/styles/theme/variables.less +5 -2
  914. package/styles/theme/wrapper/accent.less +0 -1
  915. package/styles/theme/wrapper/base.less +0 -1
  916. package/styles/theme/wrapper/icon.less +0 -1
  917. package/styles/theme/wrapper/none.less +0 -1
  918. package/styles/theme/wrapper/outline.less +0 -1
  919. package/styles/theme/wrapper/primary.less +0 -1
  920. package/styles/theme/wrapper/secondary.less +0 -3
  921. package/styles/theme/wrapper/table.less +0 -1
  922. package/styles/theme/wrapper/textfield.less +0 -3
  923. package/styles/theme/wrapper/whiteblock.less +0 -3
  924. package/styles/variables/media.less +14 -36
  925. package/styles/variables/media.scss +0 -26
  926. package/taiga-ui-core.d.ts +1 -0
  927. package/tokens/data-list-accessor.d.ts +2 -1
  928. package/tokens/data-list-host.d.ts +2 -1
  929. package/tokens/index.d.ts +1 -1
  930. package/tokens/notification-options.d.ts +0 -4
  931. package/tokens/option-content.d.ts +2 -1
  932. package/tokens/ordered-short-week-days.d.ts +0 -1
  933. package/tokens/package.json +2 -5
  934. package/tokens/sanitizer.d.ts +2 -1
  935. package/tokens/selection-stream.d.ts +3 -0
  936. package/tokens/taiga-ui-core-tokens.d.ts +1 -0
  937. package/tokens/textfield-host.d.ts +2 -1
  938. package/types/decimal.d.ts +1 -1
  939. package/types/direction.d.ts +0 -2
  940. package/types/dropdown-width.d.ts +1 -1
  941. package/types/hint-direction.d.ts +1 -0
  942. package/types/index.d.ts +1 -3
  943. package/types/marker-handler.d.ts +1 -2
  944. package/types/orientation.d.ts +1 -1
  945. package/types/package.json +2 -5
  946. package/types/point.d.ts +1 -1
  947. package/types/taiga-ui-core-types.d.ts +1 -0
  948. package/utils/dom/check-fixed-position.d.ts +1 -5
  949. package/utils/dom/get-safe-area-size.d.ts +1 -3
  950. package/utils/dom/get-screen-width.d.ts +1 -5
  951. package/utils/dom/get-word-range.d.ts +7 -0
  952. package/utils/dom/index.d.ts +1 -1
  953. package/utils/dom/package.json +2 -5
  954. package/utils/dom/process-icon.d.ts +1 -5
  955. package/utils/dom/taiga-ui-core-utils-dom.d.ts +1 -0
  956. package/utils/format/capitalize-first-letter.d.ts +1 -5
  957. package/utils/format/capitalize.d.ts +1 -3
  958. package/utils/format/format-number.d.ts +3 -7
  959. package/utils/format/format-phone.d.ts +1 -3
  960. package/utils/format/get-fractional-part-padded.d.ts +1 -3
  961. package/utils/format/index.d.ts +0 -2
  962. package/utils/format/number-to-string-without-exp.d.ts +1 -3
  963. package/utils/format/other-decimal-symbol.d.ts +1 -5
  964. package/utils/format/package.json +2 -5
  965. package/utils/format/taiga-ui-core-utils-format.d.ts +1 -0
  966. package/utils/index.d.ts +0 -1
  967. package/utils/mask/masked-money-value-is-empty.d.ts +1 -5
  968. package/utils/mask/masked-number-string-to-number.d.ts +1 -5
  969. package/utils/mask/package.json +2 -5
  970. package/utils/mask/taiga-ui-core-utils-mask.d.ts +1 -0
  971. package/utils/miscellaneous/get-border.d.ts +1 -5
  972. package/utils/miscellaneous/icons-path-factory.d.ts +1 -5
  973. package/utils/miscellaneous/index.d.ts +0 -1
  974. package/utils/miscellaneous/is-editing-key.d.ts +1 -3
  975. package/utils/miscellaneous/is-presumed-html-string.d.ts +1 -5
  976. package/utils/miscellaneous/package.json +2 -5
  977. package/utils/miscellaneous/size-bigger.d.ts +1 -3
  978. package/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.d.ts +1 -0
  979. package/utils/mobile/package.json +2 -5
  980. package/utils/mobile/taiga-ui-core-utils-mobile.d.ts +1 -0
  981. package/utils/package.json +2 -5
  982. package/utils/taiga-ui-core-utils.d.ts +1 -0
  983. package/abstract/abstract-dropdown.d.ts +0 -33
  984. package/abstract/abstract-hint-options.d.ts +0 -7
  985. package/abstract/abstract-hint.d.ts +0 -19
  986. package/abstract/taiga-ui-core-abstract.metadata.json +0 -1
  987. package/animations/taiga-ui-core-animations.metadata.json +0 -1
  988. package/bundles/taiga-ui-core-abstract.umd.min.js +0 -2
  989. package/bundles/taiga-ui-core-abstract.umd.min.js.map +0 -1
  990. package/bundles/taiga-ui-core-animations.umd.min.js +0 -2
  991. package/bundles/taiga-ui-core-animations.umd.min.js.map +0 -1
  992. package/bundles/taiga-ui-core-components-alert.umd.min.js +0 -2
  993. package/bundles/taiga-ui-core-components-alert.umd.min.js.map +0 -1
  994. package/bundles/taiga-ui-core-components-button.umd.min.js +0 -2
  995. package/bundles/taiga-ui-core-components-button.umd.min.js.map +0 -1
  996. package/bundles/taiga-ui-core-components-calendar.umd.min.js +0 -2
  997. package/bundles/taiga-ui-core-components-calendar.umd.min.js.map +0 -1
  998. package/bundles/taiga-ui-core-components-data-list.umd.min.js +0 -2
  999. package/bundles/taiga-ui-core-components-data-list.umd.min.js.map +0 -1
  1000. package/bundles/taiga-ui-core-components-dialog.umd.min.js +0 -2
  1001. package/bundles/taiga-ui-core-components-dialog.umd.min.js.map +0 -1
  1002. package/bundles/taiga-ui-core-components-dropdown-box.umd.js +0 -584
  1003. package/bundles/taiga-ui-core-components-dropdown-box.umd.js.map +0 -1
  1004. package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js +0 -2
  1005. package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js.map +0 -1
  1006. package/bundles/taiga-ui-core-components-error.umd.min.js +0 -2
  1007. package/bundles/taiga-ui-core-components-error.umd.min.js.map +0 -1
  1008. package/bundles/taiga-ui-core-components-expand.umd.min.js +0 -2
  1009. package/bundles/taiga-ui-core-components-expand.umd.min.js.map +0 -1
  1010. package/bundles/taiga-ui-core-components-group.umd.min.js +0 -2
  1011. package/bundles/taiga-ui-core-components-group.umd.min.js.map +0 -1
  1012. package/bundles/taiga-ui-core-components-hints-host.umd.min.js +0 -2
  1013. package/bundles/taiga-ui-core-components-hints-host.umd.min.js.map +0 -1
  1014. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.min.js +0 -2
  1015. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.min.js.map +0 -1
  1016. package/bundles/taiga-ui-core-components-label.umd.min.js +0 -2
  1017. package/bundles/taiga-ui-core-components-label.umd.min.js.map +0 -1
  1018. package/bundles/taiga-ui-core-components-link.umd.min.js +0 -2
  1019. package/bundles/taiga-ui-core-components-link.umd.min.js.map +0 -1
  1020. package/bundles/taiga-ui-core-components-loader.umd.min.js +0 -2
  1021. package/bundles/taiga-ui-core-components-loader.umd.min.js.map +0 -1
  1022. package/bundles/taiga-ui-core-components-notification.umd.min.js +0 -2
  1023. package/bundles/taiga-ui-core-components-notification.umd.min.js.map +0 -1
  1024. package/bundles/taiga-ui-core-components-primitive-calendar.umd.min.js +0 -2
  1025. package/bundles/taiga-ui-core-components-primitive-calendar.umd.min.js.map +0 -1
  1026. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.min.js +0 -2
  1027. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.min.js.map +0 -1
  1028. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.min.js +0 -2
  1029. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.min.js.map +0 -1
  1030. package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js +0 -2
  1031. package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js.map +0 -1
  1032. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.min.js +0 -2
  1033. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.min.js.map +0 -1
  1034. package/bundles/taiga-ui-core-components-root.umd.min.js +0 -2
  1035. package/bundles/taiga-ui-core-components-root.umd.min.js.map +0 -1
  1036. package/bundles/taiga-ui-core-components-scroll-controls.umd.min.js +0 -2
  1037. package/bundles/taiga-ui-core-components-scroll-controls.umd.min.js.map +0 -1
  1038. package/bundles/taiga-ui-core-components-scrollbar.umd.min.js +0 -2
  1039. package/bundles/taiga-ui-core-components-scrollbar.umd.min.js.map +0 -1
  1040. package/bundles/taiga-ui-core-components-svg.umd.min.js +0 -2
  1041. package/bundles/taiga-ui-core-components-svg.umd.min.js.map +0 -1
  1042. package/bundles/taiga-ui-core-components-theme-night.umd.min.js +0 -2
  1043. package/bundles/taiga-ui-core-components-theme-night.umd.min.js.map +0 -1
  1044. package/bundles/taiga-ui-core-components-tooltip.umd.min.js +0 -2
  1045. package/bundles/taiga-ui-core-components-tooltip.umd.min.js.map +0 -1
  1046. package/bundles/taiga-ui-core-components.umd.min.js +0 -2
  1047. package/bundles/taiga-ui-core-components.umd.min.js.map +0 -1
  1048. package/bundles/taiga-ui-core-constants.umd.min.js +0 -2
  1049. package/bundles/taiga-ui-core-constants.umd.min.js.map +0 -1
  1050. package/bundles/taiga-ui-core-directives-color.umd.js +0 -314
  1051. package/bundles/taiga-ui-core-directives-color.umd.js.map +0 -1
  1052. package/bundles/taiga-ui-core-directives-color.umd.min.js +0 -2
  1053. package/bundles/taiga-ui-core-directives-color.umd.min.js.map +0 -1
  1054. package/bundles/taiga-ui-core-directives-described-by.umd.min.js +0 -2
  1055. package/bundles/taiga-ui-core-directives-described-by.umd.min.js.map +0 -1
  1056. package/bundles/taiga-ui-core-directives-dropdown-controller.umd.js +0 -346
  1057. package/bundles/taiga-ui-core-directives-dropdown-controller.umd.js.map +0 -1
  1058. package/bundles/taiga-ui-core-directives-dropdown-controller.umd.min.js +0 -2
  1059. package/bundles/taiga-ui-core-directives-dropdown-controller.umd.min.js.map +0 -1
  1060. package/bundles/taiga-ui-core-directives-dropdown.umd.min.js +0 -2
  1061. package/bundles/taiga-ui-core-directives-dropdown.umd.min.js.map +0 -1
  1062. package/bundles/taiga-ui-core-directives-hint-controller.umd.min.js +0 -2
  1063. package/bundles/taiga-ui-core-directives-hint-controller.umd.min.js.map +0 -1
  1064. package/bundles/taiga-ui-core-directives-hint.umd.min.js +0 -2
  1065. package/bundles/taiga-ui-core-directives-hint.umd.min.js.map +0 -1
  1066. package/bundles/taiga-ui-core-directives-manual-hint.umd.js +0 -337
  1067. package/bundles/taiga-ui-core-directives-manual-hint.umd.js.map +0 -1
  1068. package/bundles/taiga-ui-core-directives-manual-hint.umd.min.js +0 -2
  1069. package/bundles/taiga-ui-core-directives-manual-hint.umd.min.js.map +0 -1
  1070. package/bundles/taiga-ui-core-directives-mask-accessor.umd.min.js +0 -2
  1071. package/bundles/taiga-ui-core-directives-mask-accessor.umd.min.js.map +0 -1
  1072. package/bundles/taiga-ui-core-directives-mode.umd.min.js +0 -2
  1073. package/bundles/taiga-ui-core-directives-mode.umd.min.js.map +0 -1
  1074. package/bundles/taiga-ui-core-directives-pointer-hint.umd.js +0 -387
  1075. package/bundles/taiga-ui-core-directives-pointer-hint.umd.js.map +0 -1
  1076. package/bundles/taiga-ui-core-directives-pointer-hint.umd.min.js +0 -2
  1077. package/bundles/taiga-ui-core-directives-pointer-hint.umd.min.js.map +0 -1
  1078. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.min.js +0 -2
  1079. package/bundles/taiga-ui-core-directives-scroll-into-view.umd.min.js.map +0 -1
  1080. package/bundles/taiga-ui-core-directives-table-mode.umd.js +0 -295
  1081. package/bundles/taiga-ui-core-directives-table-mode.umd.js.map +0 -1
  1082. package/bundles/taiga-ui-core-directives-table-mode.umd.min.js +0 -2
  1083. package/bundles/taiga-ui-core-directives-table-mode.umd.min.js.map +0 -1
  1084. package/bundles/taiga-ui-core-directives-textfield-controller.umd.min.js +0 -2
  1085. package/bundles/taiga-ui-core-directives-textfield-controller.umd.min.js.map +0 -1
  1086. package/bundles/taiga-ui-core-directives-wrapper.umd.min.js +0 -2
  1087. package/bundles/taiga-ui-core-directives-wrapper.umd.min.js.map +0 -1
  1088. package/bundles/taiga-ui-core-directives.umd.min.js +0 -2
  1089. package/bundles/taiga-ui-core-directives.umd.min.js.map +0 -1
  1090. package/bundles/taiga-ui-core-enums.umd.min.js +0 -2
  1091. package/bundles/taiga-ui-core-enums.umd.min.js.map +0 -1
  1092. package/bundles/taiga-ui-core-interfaces.umd.min.js +0 -2
  1093. package/bundles/taiga-ui-core-interfaces.umd.min.js.map +0 -1
  1094. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.min.js +0 -2
  1095. package/bundles/taiga-ui-core-internal-primitive-year-month-pagination.umd.min.js.map +0 -1
  1096. package/bundles/taiga-ui-core-internal-svg-defs-host.umd.min.js +0 -2
  1097. package/bundles/taiga-ui-core-internal-svg-defs-host.umd.min.js.map +0 -1
  1098. package/bundles/taiga-ui-core-internal.umd.min.js +0 -2
  1099. package/bundles/taiga-ui-core-internal.umd.min.js.map +0 -1
  1100. package/bundles/taiga-ui-core-mask.umd.min.js +0 -2
  1101. package/bundles/taiga-ui-core-mask.umd.min.js.map +0 -1
  1102. package/bundles/taiga-ui-core-observables.umd.min.js +0 -2
  1103. package/bundles/taiga-ui-core-observables.umd.min.js.map +0 -1
  1104. package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.min.js +0 -2
  1105. package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.min.js.map +0 -1
  1106. package/bundles/taiga-ui-core-pipes-format-number.umd.min.js +0 -2
  1107. package/bundles/taiga-ui-core-pipes-format-number.umd.min.js.map +0 -1
  1108. package/bundles/taiga-ui-core-pipes-format-phone.umd.min.js +0 -2
  1109. package/bundles/taiga-ui-core-pipes-format-phone.umd.min.js.map +0 -1
  1110. package/bundles/taiga-ui-core-pipes-month.umd.min.js +0 -2
  1111. package/bundles/taiga-ui-core-pipes-month.umd.min.js.map +0 -1
  1112. package/bundles/taiga-ui-core-pipes-pluralize.umd.js +0 -296
  1113. package/bundles/taiga-ui-core-pipes-pluralize.umd.js.map +0 -1
  1114. package/bundles/taiga-ui-core-pipes-pluralize.umd.min.js +0 -2
  1115. package/bundles/taiga-ui-core-pipes-pluralize.umd.min.js.map +0 -1
  1116. package/bundles/taiga-ui-core-pipes.umd.min.js +0 -2
  1117. package/bundles/taiga-ui-core-pipes.umd.min.js.map +0 -1
  1118. package/bundles/taiga-ui-core-providers.umd.min.js +0 -2
  1119. package/bundles/taiga-ui-core-providers.umd.min.js.map +0 -1
  1120. package/bundles/taiga-ui-core-services.umd.min.js +0 -2
  1121. package/bundles/taiga-ui-core-services.umd.min.js.map +0 -1
  1122. package/bundles/taiga-ui-core-tokens.umd.min.js +0 -2
  1123. package/bundles/taiga-ui-core-tokens.umd.min.js.map +0 -1
  1124. package/bundles/taiga-ui-core-types.umd.min.js +0 -2
  1125. package/bundles/taiga-ui-core-types.umd.min.js.map +0 -1
  1126. package/bundles/taiga-ui-core-utils-dom.umd.min.js +0 -2
  1127. package/bundles/taiga-ui-core-utils-dom.umd.min.js.map +0 -1
  1128. package/bundles/taiga-ui-core-utils-format.umd.min.js +0 -2
  1129. package/bundles/taiga-ui-core-utils-format.umd.min.js.map +0 -1
  1130. package/bundles/taiga-ui-core-utils-mask.umd.min.js +0 -2
  1131. package/bundles/taiga-ui-core-utils-mask.umd.min.js.map +0 -1
  1132. package/bundles/taiga-ui-core-utils-miscellaneous.umd.min.js +0 -2
  1133. package/bundles/taiga-ui-core-utils-miscellaneous.umd.min.js.map +0 -1
  1134. package/bundles/taiga-ui-core-utils-mobile.umd.min.js +0 -2
  1135. package/bundles/taiga-ui-core-utils-mobile.umd.min.js.map +0 -1
  1136. package/bundles/taiga-ui-core-utils-polyfills.umd.js +0 -51
  1137. package/bundles/taiga-ui-core-utils-polyfills.umd.js.map +0 -1
  1138. package/bundles/taiga-ui-core-utils-polyfills.umd.min.js +0 -2
  1139. package/bundles/taiga-ui-core-utils-polyfills.umd.min.js.map +0 -1
  1140. package/bundles/taiga-ui-core-utils.umd.min.js +0 -2
  1141. package/bundles/taiga-ui-core-utils.umd.min.js.map +0 -1
  1142. package/bundles/taiga-ui-core.umd.min.js +0 -2
  1143. package/bundles/taiga-ui-core.umd.min.js.map +0 -1
  1144. package/components/alert/taiga-ui-core-components-alert.metadata.json +0 -1
  1145. package/components/button/taiga-ui-core-components-button.metadata.json +0 -1
  1146. package/components/calendar/taiga-ui-core-components-calendar.metadata.json +0 -1
  1147. package/components/data-list/data-list-dropdown-manager.directive.d.ts +0 -12
  1148. package/components/data-list/taiga-ui-core-components-data-list.metadata.json +0 -1
  1149. package/components/dialog/taiga-ui-core-components-dialog.metadata.json +0 -1
  1150. package/components/dropdown-box/dropdown-box.component.d.ts +0 -62
  1151. package/components/dropdown-box/dropdown-box.module.d.ts +0 -2
  1152. package/components/dropdown-box/index.d.ts +0 -2
  1153. package/components/dropdown-box/package.json +0 -13
  1154. package/components/dropdown-box/taiga-ui-core-components-dropdown-box.d.ts +0 -4
  1155. package/components/dropdown-box/taiga-ui-core-components-dropdown-box.metadata.json +0 -1
  1156. package/components/error/taiga-ui-core-components-error.metadata.json +0 -1
  1157. package/components/expand/taiga-ui-core-components-expand.metadata.json +0 -1
  1158. package/components/group/group.component.d.ts +0 -4
  1159. package/components/group/taiga-ui-core-components-group.metadata.json +0 -1
  1160. package/components/hints-host/hint-box/hint-box.component.d.ts +0 -38
  1161. package/components/hints-host/hint-box/hint-box.module.d.ts +0 -2
  1162. package/components/hints-host/taiga-ui-core-components-hints-host.metadata.json +0 -1
  1163. package/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.metadata.json +0 -1
  1164. package/components/label/taiga-ui-core-components-label.metadata.json +0 -1
  1165. package/components/link/taiga-ui-core-components-link.metadata.json +0 -1
  1166. package/components/loader/taiga-ui-core-components-loader.metadata.json +0 -1
  1167. package/components/notification/taiga-ui-core-components-notification.metadata.json +0 -1
  1168. package/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.metadata.json +0 -1
  1169. package/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.metadata.json +0 -1
  1170. package/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.metadata.json +0 -1
  1171. package/components/primitive-textfield/primitive-textfield.providers.d.ts +0 -1
  1172. package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.metadata.json +0 -1
  1173. package/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.metadata.json +0 -1
  1174. package/components/root/taiga-ui-core-components-root.metadata.json +0 -1
  1175. package/components/scroll-controls/taiga-ui-core-components-scroll-controls.metadata.json +0 -1
  1176. package/components/scrollbar/taiga-ui-core-components-scrollbar.metadata.json +0 -1
  1177. package/components/svg/taiga-ui-core-components-svg.metadata.json +0 -1
  1178. package/components/taiga-ui-core-components.metadata.json +0 -1
  1179. package/components/theme-night/taiga-ui-core-components-theme-night.metadata.json +0 -1
  1180. package/components/tooltip/taiga-ui-core-components-tooltip.metadata.json +0 -1
  1181. package/constants/absolute-box-sizes.d.ts +0 -4
  1182. package/constants/media.d.ts +0 -10
  1183. package/constants/taiga-ui-core-constants.metadata.json +0 -1
  1184. package/directives/color/color.const.d.ts +0 -4
  1185. package/directives/color/color.directive.d.ts +0 -10
  1186. package/directives/color/color.module.d.ts +0 -5
  1187. package/directives/color/index.d.ts +0 -3
  1188. package/directives/color/package.json +0 -13
  1189. package/directives/color/taiga-ui-core-directives-color.d.ts +0 -4
  1190. package/directives/color/taiga-ui-core-directives-color.metadata.json +0 -1
  1191. package/directives/described-by/taiga-ui-core-directives-described-by.metadata.json +0 -1
  1192. package/directives/dropdown/taiga-ui-core-directives-dropdown.metadata.json +0 -1
  1193. package/directives/dropdown-controller/dropdown-controller.directive.d.ts +0 -10
  1194. package/directives/dropdown-controller/dropdown-controller.module.d.ts +0 -2
  1195. package/directives/dropdown-controller/dropdown-controller.provider.d.ts +0 -5
  1196. package/directives/dropdown-controller/dropdown-controller.token.d.ts +0 -3
  1197. package/directives/dropdown-controller/index.d.ts +0 -4
  1198. package/directives/dropdown-controller/package.json +0 -13
  1199. package/directives/dropdown-controller/taiga-ui-core-directives-dropdown-controller.d.ts +0 -4
  1200. package/directives/dropdown-controller/taiga-ui-core-directives-dropdown-controller.metadata.json +0 -1
  1201. package/directives/hint/taiga-ui-core-directives-hint.metadata.json +0 -1
  1202. package/directives/hint-controller/taiga-ui-core-directives-hint-controller.metadata.json +0 -1
  1203. package/directives/manual-hint/index.d.ts +0 -3
  1204. package/directives/manual-hint/manual-hint-options.d.ts +0 -7
  1205. package/directives/manual-hint/manual-hint.directive.d.ts +0 -13
  1206. package/directives/manual-hint/manual-hint.module.d.ts +0 -2
  1207. package/directives/manual-hint/package.json +0 -13
  1208. package/directives/manual-hint/taiga-ui-core-directives-manual-hint.d.ts +0 -4
  1209. package/directives/manual-hint/taiga-ui-core-directives-manual-hint.metadata.json +0 -1
  1210. package/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.metadata.json +0 -1
  1211. package/directives/mode/taiga-ui-core-directives-mode.metadata.json +0 -1
  1212. package/directives/pointer-hint/index.d.ts +0 -3
  1213. package/directives/pointer-hint/package.json +0 -13
  1214. package/directives/pointer-hint/pointer-hint-options.d.ts +0 -10
  1215. package/directives/pointer-hint/pointer-hint.directive.d.ts +0 -19
  1216. package/directives/pointer-hint/pointer-hint.module.d.ts +0 -2
  1217. package/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.d.ts +0 -4
  1218. package/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.metadata.json +0 -1
  1219. package/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.metadata.json +0 -1
  1220. package/directives/table-mode/index.d.ts +0 -2
  1221. package/directives/table-mode/package.json +0 -13
  1222. package/directives/table-mode/table-mode.directive.d.ts +0 -5
  1223. package/directives/table-mode/table-mode.module.d.ts +0 -3
  1224. package/directives/table-mode/taiga-ui-core-directives-table-mode.d.ts +0 -4
  1225. package/directives/table-mode/taiga-ui-core-directives-table-mode.metadata.json +0 -1
  1226. package/directives/taiga-ui-core-directives.metadata.json +0 -1
  1227. package/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.metadata.json +0 -1
  1228. package/directives/wrapper/taiga-ui-core-directives-wrapper.metadata.json +0 -1
  1229. package/enums/base-color.d.ts +0 -9
  1230. package/enums/button-shape.d.ts +0 -7
  1231. package/enums/decimal.d.ts +0 -8
  1232. package/enums/dropdown-width.d.ts +0 -8
  1233. package/enums/hint-mode.d.ts +0 -8
  1234. package/enums/link-mode.d.ts +0 -7
  1235. package/enums/orientation.d.ts +0 -7
  1236. package/enums/support-color.d.ts +0 -26
  1237. package/enums/taiga-ui-core-enums.metadata.json +0 -1
  1238. package/esm2015/abstract/abstract-dropdown.js +0 -117
  1239. package/esm2015/abstract/abstract-hint-options.js +0 -6
  1240. package/esm2015/abstract/abstract-hint.js +0 -43
  1241. package/esm2015/components/data-list/data-list-dropdown-manager.directive.js +0 -96
  1242. package/esm2015/components/dropdown-box/dropdown-box.component.js +0 -299
  1243. package/esm2015/components/dropdown-box/dropdown-box.module.js +0 -25
  1244. package/esm2015/components/dropdown-box/index.js +0 -3
  1245. package/esm2015/components/dropdown-box/taiga-ui-core-components-dropdown-box.js +0 -5
  1246. package/esm2015/components/group/group.component.js +0 -21
  1247. package/esm2015/components/hints-host/hint-box/hint-box.component.js +0 -261
  1248. package/esm2015/components/hints-host/hint-box/hint-box.module.js +0 -18
  1249. package/esm2015/components/primitive-textfield/primitive-textfield.providers.js +0 -16
  1250. package/esm2015/constants/absolute-box-sizes.js +0 -5
  1251. package/esm2015/constants/media.js +0 -11
  1252. package/esm2015/directives/color/color.const.js +0 -318
  1253. package/esm2015/directives/color/color.directive.js +0 -35
  1254. package/esm2015/directives/color/color.module.js +0 -16
  1255. package/esm2015/directives/color/index.js +0 -4
  1256. package/esm2015/directives/color/taiga-ui-core-directives-color.js +0 -5
  1257. package/esm2015/directives/dropdown-controller/dropdown-controller.directive.js +0 -54
  1258. package/esm2015/directives/dropdown-controller/dropdown-controller.module.js +0 -13
  1259. package/esm2015/directives/dropdown-controller/dropdown-controller.provider.js +0 -16
  1260. package/esm2015/directives/dropdown-controller/dropdown-controller.token.js +0 -6
  1261. package/esm2015/directives/dropdown-controller/index.js +0 -5
  1262. package/esm2015/directives/dropdown-controller/taiga-ui-core-directives-dropdown-controller.js +0 -5
  1263. package/esm2015/directives/manual-hint/index.js +0 -4
  1264. package/esm2015/directives/manual-hint/manual-hint-options.js +0 -12
  1265. package/esm2015/directives/manual-hint/manual-hint.directive.js +0 -50
  1266. package/esm2015/directives/manual-hint/manual-hint.module.js +0 -13
  1267. package/esm2015/directives/manual-hint/taiga-ui-core-directives-manual-hint.js +0 -5
  1268. package/esm2015/directives/pointer-hint/index.js +0 -4
  1269. package/esm2015/directives/pointer-hint/pointer-hint-options.js +0 -12
  1270. package/esm2015/directives/pointer-hint/pointer-hint.directive.js +0 -96
  1271. package/esm2015/directives/pointer-hint/pointer-hint.module.js +0 -13
  1272. package/esm2015/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.js +0 -5
  1273. package/esm2015/directives/table-mode/index.js +0 -3
  1274. package/esm2015/directives/table-mode/table-mode.directive.js +0 -21
  1275. package/esm2015/directives/table-mode/table-mode.module.js +0 -14
  1276. package/esm2015/directives/table-mode/taiga-ui-core-directives-table-mode.js +0 -5
  1277. package/esm2015/enums/base-color.js +0 -11
  1278. package/esm2015/enums/button-shape.js +0 -9
  1279. package/esm2015/enums/decimal.js +0 -10
  1280. package/esm2015/enums/dropdown-width.js +0 -10
  1281. package/esm2015/enums/hint-mode.js +0 -10
  1282. package/esm2015/enums/link-mode.js +0 -9
  1283. package/esm2015/enums/orientation.js +0 -9
  1284. package/esm2015/enums/support-color.js +0 -28
  1285. package/esm2015/interfaces/dropdown-directive.js +0 -1
  1286. package/esm2015/interfaces/hint.js +0 -1
  1287. package/esm2015/interfaces/notification-options.js +0 -1
  1288. package/esm2015/pipes/pluralize/index.js +0 -3
  1289. package/esm2015/pipes/pluralize/pluralize.module.js +0 -14
  1290. package/esm2015/pipes/pluralize/pluralize.pipe.js +0 -22
  1291. package/esm2015/pipes/pluralize/taiga-ui-core-pipes-pluralize.js +0 -5
  1292. package/esm2015/tokens/dropdown-directive.js +0 -3
  1293. package/esm2015/types/color.js +0 -1
  1294. package/esm2015/types/hint-mode.js +0 -1
  1295. package/esm2015/types/pluralize.js +0 -1
  1296. package/esm2015/utils/dom/are-css-vars-supported.js +0 -11
  1297. package/esm2015/utils/format/pluralize-to-icu.js +0 -13
  1298. package/esm2015/utils/format/pluralize.js +0 -23
  1299. package/esm2015/utils/miscellaneous/color-fallback.js +0 -17
  1300. package/esm2015/utils/polyfills/index.js +0 -2
  1301. package/esm2015/utils/polyfills/inner-html.js +0 -40
  1302. package/esm2015/utils/polyfills/taiga-ui-core-utils-polyfills.js +0 -5
  1303. package/esm5/abstract/abstract-dropdown.js +0 -130
  1304. package/esm5/abstract/abstract-hint-options.js +0 -6
  1305. package/esm5/abstract/abstract-hint.js +0 -44
  1306. package/esm5/abstract/abstract-textfield-host.js +0 -55
  1307. package/esm5/abstract/index.js +0 -5
  1308. package/esm5/abstract/taiga-ui-core-abstract.js +0 -5
  1309. package/esm5/animations/animations.js +0 -251
  1310. package/esm5/animations/index.js +0 -2
  1311. package/esm5/animations/taiga-ui-core-animations.js +0 -5
  1312. package/esm5/components/alert/alert.component.js +0 -98
  1313. package/esm5/components/alert/alert.module.js +0 -40
  1314. package/esm5/components/alert/alert.service.js +0 -52
  1315. package/esm5/components/alert/index.js +0 -4
  1316. package/esm5/components/alert/taiga-ui-core-components-alert.js +0 -5
  1317. package/esm5/components/button/button-options.js +0 -15
  1318. package/esm5/components/button/button.component.js +0 -156
  1319. package/esm5/components/button/button.module.js +0 -28
  1320. package/esm5/components/button/index.js +0 -4
  1321. package/esm5/components/button/taiga-ui-core-components-button.js +0 -5
  1322. package/esm5/components/calendar/calendar.component.js +0 -135
  1323. package/esm5/components/calendar/calendar.module.js +0 -30
  1324. package/esm5/components/calendar/index.js +0 -3
  1325. package/esm5/components/calendar/taiga-ui-core-components-calendar.js +0 -5
  1326. package/esm5/components/data-list/data-list-dropdown-manager.directive.js +0 -142
  1327. package/esm5/components/data-list/data-list.component.js +0 -128
  1328. package/esm5/components/data-list/data-list.directive.js +0 -14
  1329. package/esm5/components/data-list/data-list.module.js +0 -36
  1330. package/esm5/components/data-list/index.js +0 -7
  1331. package/esm5/components/data-list/opt-group.directive.js +0 -24
  1332. package/esm5/components/data-list/option/option.component.js +0 -107
  1333. package/esm5/components/data-list/taiga-ui-core-components-data-list.js +0 -5
  1334. package/esm5/components/dialog/dialog.component.js +0 -102
  1335. package/esm5/components/dialog/dialog.directive.js +0 -26
  1336. package/esm5/components/dialog/dialog.module.js +0 -31
  1337. package/esm5/components/dialog/dialog.providers.js +0 -59
  1338. package/esm5/components/dialog/dialog.service.js +0 -34
  1339. package/esm5/components/dialog/index.js +0 -6
  1340. package/esm5/components/dialog/taiga-ui-core-components-dialog.js +0 -5
  1341. package/esm5/components/dropdown-box/dropdown-box.component.js +0 -313
  1342. package/esm5/components/dropdown-box/dropdown-box.module.js +0 -28
  1343. package/esm5/components/dropdown-box/index.js +0 -3
  1344. package/esm5/components/dropdown-box/taiga-ui-core-components-dropdown-box.js +0 -5
  1345. package/esm5/components/error/error.component.js +0 -48
  1346. package/esm5/components/error/error.module.js +0 -19
  1347. package/esm5/components/error/index.js +0 -3
  1348. package/esm5/components/error/taiga-ui-core-components-error.js +0 -5
  1349. package/esm5/components/expand/expand-content.directive.js +0 -15
  1350. package/esm5/components/expand/expand.component.js +0 -153
  1351. package/esm5/components/expand/expand.module.js +0 -20
  1352. package/esm5/components/expand/index.js +0 -4
  1353. package/esm5/components/expand/taiga-ui-core-components-expand.js +0 -5
  1354. package/esm5/components/group/group-styles.component.js +0 -16
  1355. package/esm5/components/group/group.component.js +0 -24
  1356. package/esm5/components/group/group.directive.js +0 -83
  1357. package/esm5/components/group/group.module.js +0 -21
  1358. package/esm5/components/group/index.js +0 -5
  1359. package/esm5/components/group/taiga-ui-core-components-group.js +0 -5
  1360. package/esm5/components/hints-host/hint-box/hint-box.component.js +0 -279
  1361. package/esm5/components/hints-host/hint-box/hint-box.module.js +0 -21
  1362. package/esm5/components/hints-host/hints-host.component.js +0 -42
  1363. package/esm5/components/hints-host/hints-host.module.js +0 -21
  1364. package/esm5/components/hints-host/index.js +0 -5
  1365. package/esm5/components/hints-host/taiga-ui-core-components-hints-host.js +0 -5
  1366. package/esm5/components/hosted-dropdown/hosted-dropdown-connector.directive.js +0 -14
  1367. package/esm5/components/hosted-dropdown/hosted-dropdown.component.js +0 -230
  1368. package/esm5/components/hosted-dropdown/hosted-dropdown.module.js +0 -28
  1369. package/esm5/components/hosted-dropdown/index.js +0 -4
  1370. package/esm5/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.js +0 -5
  1371. package/esm5/components/index.js +0 -27
  1372. package/esm5/components/label/index.js +0 -3
  1373. package/esm5/components/label/label.component.js +0 -48
  1374. package/esm5/components/label/label.module.js +0 -18
  1375. package/esm5/components/label/taiga-ui-core-components-label.js +0 -5
  1376. package/esm5/components/link/index.js +0 -3
  1377. package/esm5/components/link/link.component.js +0 -121
  1378. package/esm5/components/link/link.module.js +0 -19
  1379. package/esm5/components/link/taiga-ui-core-components-link.js +0 -5
  1380. package/esm5/components/loader/index.js +0 -4
  1381. package/esm5/components/loader/loader-options.js +0 -16
  1382. package/esm5/components/loader/loader.component.js +0 -105
  1383. package/esm5/components/loader/loader.module.js +0 -19
  1384. package/esm5/components/loader/taiga-ui-core-components-loader.js +0 -5
  1385. package/esm5/components/notification/index.js +0 -3
  1386. package/esm5/components/notification/notification.component.js +0 -68
  1387. package/esm5/components/notification/notification.module.js +0 -20
  1388. package/esm5/components/notification/taiga-ui-core-components-notification.js +0 -5
  1389. package/esm5/components/primitive-calendar/index.js +0 -3
  1390. package/esm5/components/primitive-calendar/primitive-calendar.component.js +0 -165
  1391. package/esm5/components/primitive-calendar/primitive-calendar.module.js +0 -30
  1392. package/esm5/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.js +0 -5
  1393. package/esm5/components/primitive-checkbox/checkbox-options.js +0 -29
  1394. package/esm5/components/primitive-checkbox/index.js +0 -4
  1395. package/esm5/components/primitive-checkbox/primitive-checkbox.component.js +0 -99
  1396. package/esm5/components/primitive-checkbox/primitive-checkbox.module.js +0 -20
  1397. package/esm5/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.js +0 -5
  1398. package/esm5/components/primitive-spin-button/index.js +0 -3
  1399. package/esm5/components/primitive-spin-button/primitive-spin-button.component.js +0 -97
  1400. package/esm5/components/primitive-spin-button/primitive-spin-button.module.js +0 -27
  1401. package/esm5/components/primitive-spin-button/taiga-ui-core-components-primitive-spin-button.js +0 -5
  1402. package/esm5/components/primitive-textfield/index.js +0 -8
  1403. package/esm5/components/primitive-textfield/primitive-textfield-options.js +0 -17
  1404. package/esm5/components/primitive-textfield/primitive-textfield.component.js +0 -370
  1405. package/esm5/components/primitive-textfield/primitive-textfield.directive.js +0 -49
  1406. package/esm5/components/primitive-textfield/primitive-textfield.module.js +0 -51
  1407. package/esm5/components/primitive-textfield/primitive-textfield.providers.js +0 -16
  1408. package/esm5/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.js +0 -5
  1409. package/esm5/components/primitive-textfield/textfield/textfield.component.js +0 -77
  1410. package/esm5/components/primitive-textfield/value-decoration/value-decoration.component.js +0 -123
  1411. package/esm5/components/primitive-year-picker/index.js +0 -3
  1412. package/esm5/components/primitive-year-picker/primitive-year-picker.component.js +0 -174
  1413. package/esm5/components/primitive-year-picker/primitive-year-picker.module.js +0 -25
  1414. package/esm5/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.js +0 -5
  1415. package/esm5/components/root/index.js +0 -3
  1416. package/esm5/components/root/root.component.js +0 -62
  1417. package/esm5/components/root/root.module.js +0 -33
  1418. package/esm5/components/root/taiga-ui-core-components-root.js +0 -5
  1419. package/esm5/components/scroll-controls/index.js +0 -4
  1420. package/esm5/components/scroll-controls/scroll-controls.component.js +0 -68
  1421. package/esm5/components/scroll-controls/scroll-controls.module.js +0 -25
  1422. package/esm5/components/scroll-controls/scrollbar-wrapper.directive.js +0 -21
  1423. package/esm5/components/scroll-controls/scrollbar.directive.js +0 -171
  1424. package/esm5/components/scroll-controls/taiga-ui-core-components-scroll-controls.js +0 -6
  1425. package/esm5/components/scrollbar/index.js +0 -5
  1426. package/esm5/components/scrollbar/scroll-ref.directive.js +0 -22
  1427. package/esm5/components/scrollbar/scrollable.directive.js +0 -26
  1428. package/esm5/components/scrollbar/scrollbar.component.js +0 -97
  1429. package/esm5/components/scrollbar/scrollbar.module.js +0 -21
  1430. package/esm5/components/scrollbar/taiga-ui-core-components-scrollbar.js +0 -5
  1431. package/esm5/components/svg/index.js +0 -3
  1432. package/esm5/components/svg/svg.component.js +0 -207
  1433. package/esm5/components/svg/svg.module.js +0 -19
  1434. package/esm5/components/svg/taiga-ui-core-components-svg.js +0 -5
  1435. package/esm5/components/taiga-ui-core-components.js +0 -5
  1436. package/esm5/components/theme-night/index.js +0 -3
  1437. package/esm5/components/theme-night/taiga-ui-core-components-theme-night.js +0 -5
  1438. package/esm5/components/theme-night/theme-night.component.js +0 -21
  1439. package/esm5/components/theme-night/theme-night.module.js +0 -16
  1440. package/esm5/components/tooltip/index.js +0 -3
  1441. package/esm5/components/tooltip/taiga-ui-core-components-tooltip.js +0 -5
  1442. package/esm5/components/tooltip/tooltip.component.js +0 -99
  1443. package/esm5/components/tooltip/tooltip.module.js +0 -21
  1444. package/esm5/constants/absolute-box-sizes.js +0 -5
  1445. package/esm5/constants/decimal-symbols.js +0 -2
  1446. package/esm5/constants/default-icons-path.js +0 -4
  1447. package/esm5/constants/default-marker-handler.js +0 -3
  1448. package/esm5/constants/editing-keys.js +0 -12
  1449. package/esm5/constants/events.js +0 -19
  1450. package/esm5/constants/index.js +0 -11
  1451. package/esm5/constants/mask-caret-trap.js +0 -2
  1452. package/esm5/constants/media.js +0 -11
  1453. package/esm5/constants/regexp.js +0 -9
  1454. package/esm5/constants/taiga-ui-core-constants.js +0 -5
  1455. package/esm5/constants/version.js +0 -7
  1456. package/esm5/directives/color/color.const.js +0 -5
  1457. package/esm5/directives/color/color.directive.js +0 -36
  1458. package/esm5/directives/color/color.module.js +0 -19
  1459. package/esm5/directives/color/index.js +0 -4
  1460. package/esm5/directives/color/taiga-ui-core-directives-color.js +0 -5
  1461. package/esm5/directives/described-by/described-by.directive.js +0 -56
  1462. package/esm5/directives/described-by/described-by.module.js +0 -16
  1463. package/esm5/directives/described-by/described-by.providers.js +0 -26
  1464. package/esm5/directives/described-by/index.js +0 -4
  1465. package/esm5/directives/described-by/taiga-ui-core-directives-described-by.js +0 -5
  1466. package/esm5/directives/dropdown/dropdown.directive.js +0 -55
  1467. package/esm5/directives/dropdown/dropdown.module.js +0 -18
  1468. package/esm5/directives/dropdown/index.js +0 -3
  1469. package/esm5/directives/dropdown/taiga-ui-core-directives-dropdown.js +0 -5
  1470. package/esm5/directives/dropdown-controller/dropdown-controller.directive.js +0 -58
  1471. package/esm5/directives/dropdown-controller/dropdown-controller.module.js +0 -16
  1472. package/esm5/directives/dropdown-controller/dropdown-controller.provider.js +0 -16
  1473. package/esm5/directives/dropdown-controller/dropdown-controller.token.js +0 -6
  1474. package/esm5/directives/dropdown-controller/index.js +0 -5
  1475. package/esm5/directives/dropdown-controller/taiga-ui-core-directives-dropdown-controller.js +0 -5
  1476. package/esm5/directives/hint/hint-options.js +0 -15
  1477. package/esm5/directives/hint/hint.directive.js +0 -145
  1478. package/esm5/directives/hint/hint.module.js +0 -16
  1479. package/esm5/directives/hint/index.js +0 -4
  1480. package/esm5/directives/hint/taiga-ui-core-directives-hint.js +0 -5
  1481. package/esm5/directives/hint-controller/hint-controller.directive.js +0 -60
  1482. package/esm5/directives/hint-controller/hint-controller.module.js +0 -16
  1483. package/esm5/directives/hint-controller/hint-controller.provider.js +0 -16
  1484. package/esm5/directives/hint-controller/hint-controller.token.js +0 -7
  1485. package/esm5/directives/hint-controller/index.js +0 -5
  1486. package/esm5/directives/hint-controller/taiga-ui-core-directives-hint-controller.js +0 -5
  1487. package/esm5/directives/index.js +0 -15
  1488. package/esm5/directives/manual-hint/index.js +0 -4
  1489. package/esm5/directives/manual-hint/manual-hint-options.js +0 -13
  1490. package/esm5/directives/manual-hint/manual-hint.directive.js +0 -57
  1491. package/esm5/directives/manual-hint/manual-hint.module.js +0 -16
  1492. package/esm5/directives/manual-hint/taiga-ui-core-directives-manual-hint.js +0 -5
  1493. package/esm5/directives/mask-accessor/index.js +0 -3
  1494. package/esm5/directives/mask-accessor/mask-accessor.directive.js +0 -28
  1495. package/esm5/directives/mask-accessor/mask-accessor.module.js +0 -19
  1496. package/esm5/directives/mask-accessor/taiga-ui-core-directives-mask-accessor.js +0 -5
  1497. package/esm5/directives/mode/index.js +0 -3
  1498. package/esm5/directives/mode/mode.directive.js +0 -22
  1499. package/esm5/directives/mode/mode.module.js +0 -16
  1500. package/esm5/directives/mode/taiga-ui-core-directives-mode.js +0 -5
  1501. package/esm5/directives/pointer-hint/index.js +0 -4
  1502. package/esm5/directives/pointer-hint/pointer-hint-options.js +0 -13
  1503. package/esm5/directives/pointer-hint/pointer-hint.directive.js +0 -109
  1504. package/esm5/directives/pointer-hint/pointer-hint.module.js +0 -16
  1505. package/esm5/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.js +0 -5
  1506. package/esm5/directives/scroll-into-view/index.js +0 -3
  1507. package/esm5/directives/scroll-into-view/scroll-into-view.directive.js +0 -59
  1508. package/esm5/directives/scroll-into-view/scroll-into-view.module.js +0 -16
  1509. package/esm5/directives/scroll-into-view/taiga-ui-core-directives-scroll-into-view.js +0 -5
  1510. package/esm5/directives/table-mode/index.js +0 -3
  1511. package/esm5/directives/table-mode/table-mode.directive.js +0 -24
  1512. package/esm5/directives/table-mode/table-mode.module.js +0 -17
  1513. package/esm5/directives/table-mode/taiga-ui-core-directives-table-mode.js +0 -5
  1514. package/esm5/directives/taiga-ui-core-directives.js +0 -5
  1515. package/esm5/directives/textfield-controller/index.js +0 -13
  1516. package/esm5/directives/textfield-controller/taiga-ui-core-directives-textfield-controller.js +0 -5
  1517. package/esm5/directives/textfield-controller/textfield-autocomplete.directive.js +0 -37
  1518. package/esm5/directives/textfield-controller/textfield-cleaner.directive.js +0 -37
  1519. package/esm5/directives/textfield-controller/textfield-controller.module.js +0 -44
  1520. package/esm5/directives/textfield-controller/textfield-controller.provider.js +0 -54
  1521. package/esm5/directives/textfield-controller/textfield-custom-content.directive.js +0 -38
  1522. package/esm5/directives/textfield-controller/textfield-example-text.directive.js +0 -37
  1523. package/esm5/directives/textfield-controller/textfield-input-mode.directive.js +0 -37
  1524. package/esm5/directives/textfield-controller/textfield-label-outside.directive.js +0 -37
  1525. package/esm5/directives/textfield-controller/textfield-max-length.directive.js +0 -37
  1526. package/esm5/directives/textfield-controller/textfield-size.directive.js +0 -37
  1527. package/esm5/directives/textfield-controller/textfield-type.directive.js +0 -37
  1528. package/esm5/directives/textfield-controller/textfield.controller.js +0 -80
  1529. package/esm5/directives/wrapper/index.js +0 -3
  1530. package/esm5/directives/wrapper/taiga-ui-core-directives-wrapper.js +0 -5
  1531. package/esm5/directives/wrapper/wrapper.directive.js +0 -120
  1532. package/esm5/directives/wrapper/wrapper.module.js +0 -16
  1533. package/esm5/enums/appearance.js +0 -15
  1534. package/esm5/enums/base-color.js +0 -11
  1535. package/esm5/enums/button-shape.js +0 -9
  1536. package/esm5/enums/decimal.js +0 -10
  1537. package/esm5/enums/dropdown-animation.js +0 -6
  1538. package/esm5/enums/dropdown-width.js +0 -10
  1539. package/esm5/enums/hint-mode.js +0 -10
  1540. package/esm5/enums/index.js +0 -14
  1541. package/esm5/enums/interactive-state.js +0 -13
  1542. package/esm5/enums/link-mode.js +0 -9
  1543. package/esm5/enums/notification.js +0 -8
  1544. package/esm5/enums/orientation.js +0 -9
  1545. package/esm5/enums/range-state.js +0 -10
  1546. package/esm5/enums/support-color.js +0 -28
  1547. package/esm5/enums/taiga-ui-core-enums.js +0 -5
  1548. package/esm5/index.js +0 -14
  1549. package/esm5/interfaces/alert-options.js +0 -1
  1550. package/esm5/interfaces/animation-options.js +0 -1
  1551. package/esm5/interfaces/data-list-accessor.js +0 -1
  1552. package/esm5/interfaces/data-list-host.js +0 -1
  1553. package/esm5/interfaces/dialog-context.js +0 -1
  1554. package/esm5/interfaces/dialog-options.js +0 -1
  1555. package/esm5/interfaces/dropdown-directive.js +0 -1
  1556. package/esm5/interfaces/hint.js +0 -1
  1557. package/esm5/interfaces/icon-error.js +0 -1
  1558. package/esm5/interfaces/index.js +0 -1
  1559. package/esm5/interfaces/media.js +0 -1
  1560. package/esm5/interfaces/notification-options.js +0 -1
  1561. package/esm5/interfaces/number-format-settings.js +0 -1
  1562. package/esm5/interfaces/taiga-ui-core-interfaces.js +0 -4
  1563. package/esm5/interfaces/textfield-host.js +0 -1
  1564. package/esm5/interfaces/value-content-context.js +0 -1
  1565. package/esm5/interfaces/with-optional-min-max.js +0 -1
  1566. package/esm5/internal/index.js +0 -3
  1567. package/esm5/internal/primitive-year-month-pagination/index.js +0 -3
  1568. package/esm5/internal/primitive-year-month-pagination/primitive-year-month-pagination.component.js +0 -89
  1569. package/esm5/internal/primitive-year-month-pagination/primitive-year-month-pagination.module.js +0 -28
  1570. package/esm5/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.js +0 -5
  1571. package/esm5/internal/svg-defs-host/index.js +0 -3
  1572. package/esm5/internal/svg-defs-host/svg-defs-host.component.js +0 -50
  1573. package/esm5/internal/svg-defs-host/svg-defs-host.module.js +0 -19
  1574. package/esm5/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.js +0 -5
  1575. package/esm5/internal/taiga-ui-core-internal.js +0 -5
  1576. package/esm5/mask/index.js +0 -1
  1577. package/esm5/mask/number-mask-options.js +0 -1
  1578. package/esm5/mask/taiga-ui-core-mask.js +0 -4
  1579. package/esm5/mask/text-mask-config.js +0 -1
  1580. package/esm5/mask/text-mask-correction-handler.js +0 -1
  1581. package/esm5/mask/text-mask-list-handler.js +0 -1
  1582. package/esm5/mask/text-mask-list.js +0 -1
  1583. package/esm5/mask/text-mask-options.js +0 -1
  1584. package/esm5/mask/text-mask-pipe-handler.js +0 -1
  1585. package/esm5/mask/text-mask-pipe-result.js +0 -1
  1586. package/esm5/observables/index.js +0 -3
  1587. package/esm5/observables/smart-search.js +0 -18
  1588. package/esm5/observables/taiga-ui-core-observables.js +0 -5
  1589. package/esm5/observables/zoneful-map.js +0 -14
  1590. package/esm5/pipes/calendar-sheet/calendar-sheet.module.js +0 -16
  1591. package/esm5/pipes/calendar-sheet/calendar-sheet.pipe.js +0 -63
  1592. package/esm5/pipes/calendar-sheet/index.js +0 -3
  1593. package/esm5/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.js +0 -5
  1594. package/esm5/pipes/calendar-sheet/utils.js +0 -44
  1595. package/esm5/pipes/format-number/format-number.module.js +0 -16
  1596. package/esm5/pipes/format-number/format-number.pipe.js +0 -35
  1597. package/esm5/pipes/format-number/index.js +0 -3
  1598. package/esm5/pipes/format-number/taiga-ui-core-pipes-format-number.js +0 -5
  1599. package/esm5/pipes/format-phone/format-phone.module.js +0 -16
  1600. package/esm5/pipes/format-phone/format-phone.pipe.js +0 -27
  1601. package/esm5/pipes/format-phone/index.js +0 -3
  1602. package/esm5/pipes/format-phone/taiga-ui-core-pipes-format-phone.js +0 -5
  1603. package/esm5/pipes/index.js +0 -6
  1604. package/esm5/pipes/month/index.js +0 -3
  1605. package/esm5/pipes/month/month.module.js +0 -16
  1606. package/esm5/pipes/month/month.pipe.js +0 -25
  1607. package/esm5/pipes/month/taiga-ui-core-pipes-month.js +0 -5
  1608. package/esm5/pipes/pluralize/index.js +0 -3
  1609. package/esm5/pipes/pluralize/pluralize.module.js +0 -17
  1610. package/esm5/pipes/pluralize/pluralize.pipe.js +0 -25
  1611. package/esm5/pipes/pluralize/taiga-ui-core-pipes-pluralize.js +0 -5
  1612. package/esm5/pipes/taiga-ui-core-pipes.js +0 -5
  1613. package/esm5/providers/index.js +0 -4
  1614. package/esm5/providers/is-mobile-resolution.provider.js +0 -18
  1615. package/esm5/providers/mode.provider.js +0 -24
  1616. package/esm5/providers/taiga-ui-core-providers.js +0 -5
  1617. package/esm5/providers/watched-controller-provider-factory.js +0 -12
  1618. package/esm5/services/hint.service.js +0 -60
  1619. package/esm5/services/index.js +0 -5
  1620. package/esm5/services/night-theme.service.js +0 -31
  1621. package/esm5/services/router-link-active.service.js +0 -35
  1622. package/esm5/services/svg.service.js +0 -73
  1623. package/esm5/services/taiga-ui-core-services.js +0 -5
  1624. package/esm5/taiga-ui-core.js +0 -5
  1625. package/esm5/tokens/animation-options.js +0 -10
  1626. package/esm5/tokens/animations-duration.js +0 -5
  1627. package/esm5/tokens/assert-enabled.js +0 -5
  1628. package/esm5/tokens/data-list-accessor.js +0 -3
  1629. package/esm5/tokens/data-list-host.js +0 -3
  1630. package/esm5/tokens/document-or-shadow-root.js +0 -3
  1631. package/esm5/tokens/dropdown-directive.js +0 -3
  1632. package/esm5/tokens/element-ref.js +0 -3
  1633. package/esm5/tokens/first-day-of-week.js +0 -5
  1634. package/esm5/tokens/i18n.js +0 -21
  1635. package/esm5/tokens/icon-place.js +0 -5
  1636. package/esm5/tokens/icons-path.js +0 -5
  1637. package/esm5/tokens/icons.js +0 -5
  1638. package/esm5/tokens/index.js +0 -29
  1639. package/esm5/tokens/is-mobile-resolution.js +0 -14
  1640. package/esm5/tokens/media.js +0 -9
  1641. package/esm5/tokens/mode.js +0 -3
  1642. package/esm5/tokens/notification-options.js +0 -21
  1643. package/esm5/tokens/number-format.js +0 -10
  1644. package/esm5/tokens/option-content.js +0 -3
  1645. package/esm5/tokens/ordered-short-week-days.js +0 -20
  1646. package/esm5/tokens/sanitizer.js +0 -3
  1647. package/esm5/tokens/scroll-ref.js +0 -3
  1648. package/esm5/tokens/svg-content-processor.js +0 -4
  1649. package/esm5/tokens/svg-src-processor.js +0 -6
  1650. package/esm5/tokens/taiga-ui-core-tokens.js +0 -5
  1651. package/esm5/tokens/textfield-appearance.js +0 -5
  1652. package/esm5/tokens/textfield-host.js +0 -3
  1653. package/esm5/tokens/theme.js +0 -5
  1654. package/esm5/tokens/value-accessor.js +0 -3
  1655. package/esm5/types/brightness.js +0 -1
  1656. package/esm5/types/color.js +0 -1
  1657. package/esm5/types/data-list-role.js +0 -1
  1658. package/esm5/types/decimal-symbol.js +0 -1
  1659. package/esm5/types/decimal.js +0 -1
  1660. package/esm5/types/dialog-size.js +0 -1
  1661. package/esm5/types/direction.js +0 -1
  1662. package/esm5/types/dropdown-width.js +0 -1
  1663. package/esm5/types/hint-mode.js +0 -1
  1664. package/esm5/types/index.js +0 -1
  1665. package/esm5/types/marker-handler.js +0 -1
  1666. package/esm5/types/option-role.js +0 -1
  1667. package/esm5/types/orientation.js +0 -1
  1668. package/esm5/types/pluralize.js +0 -1
  1669. package/esm5/types/point.js +0 -1
  1670. package/esm5/types/size.js +0 -11
  1671. package/esm5/types/taiga-ui-core-types.js +0 -4
  1672. package/esm5/utils/dom/are-css-vars-supported.js +0 -11
  1673. package/esm5/utils/dom/check-fixed-position.js +0 -14
  1674. package/esm5/utils/dom/get-safe-area-size.js +0 -20
  1675. package/esm5/utils/dom/get-screen-width.js +0 -9
  1676. package/esm5/utils/dom/get-viewport-height.js +0 -22
  1677. package/esm5/utils/dom/get-viewport-width.js +0 -22
  1678. package/esm5/utils/dom/index.js +0 -8
  1679. package/esm5/utils/dom/process-icon.js +0 -38
  1680. package/esm5/utils/dom/taiga-ui-core-utils-dom.js +0 -5
  1681. package/esm5/utils/format/capitalize-first-letter.js +0 -9
  1682. package/esm5/utils/format/capitalize.js +0 -14
  1683. package/esm5/utils/format/format-number.js +0 -46
  1684. package/esm5/utils/format/format-phone.js +0 -43
  1685. package/esm5/utils/format/get-fractional-part-padded.js +0 -19
  1686. package/esm5/utils/format/index.js +0 -10
  1687. package/esm5/utils/format/number-to-string-without-exp.js +0 -22
  1688. package/esm5/utils/format/other-decimal-symbol.js +0 -9
  1689. package/esm5/utils/format/pluralize-to-icu.js +0 -13
  1690. package/esm5/utils/format/pluralize.js +0 -25
  1691. package/esm5/utils/format/taiga-ui-core-utils-format.js +0 -5
  1692. package/esm5/utils/index.js +0 -7
  1693. package/esm5/utils/mask/create-auto-corrected-money-pipe.js +0 -99
  1694. package/esm5/utils/mask/create-correction-mask.js +0 -27
  1695. package/esm5/utils/mask/create-number-mask.js +0 -125
  1696. package/esm5/utils/mask/enable-auto-correct-decimal-symbol.js +0 -6
  1697. package/esm5/utils/mask/index.js +0 -7
  1698. package/esm5/utils/mask/masked-money-value-is-empty.js +0 -18
  1699. package/esm5/utils/mask/masked-number-string-to-number.js +0 -9
  1700. package/esm5/utils/mask/taiga-ui-core-utils-mask.js +0 -5
  1701. package/esm5/utils/miscellaneous/color-fallback.js +0 -17
  1702. package/esm5/utils/miscellaneous/get-border.js +0 -27
  1703. package/esm5/utils/miscellaneous/icons-path-factory.js +0 -16
  1704. package/esm5/utils/miscellaneous/index.js +0 -7
  1705. package/esm5/utils/miscellaneous/is-editing-key.js +0 -11
  1706. package/esm5/utils/miscellaneous/is-presumed-html-string.js +0 -10
  1707. package/esm5/utils/miscellaneous/size-bigger.js +0 -15
  1708. package/esm5/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.js +0 -5
  1709. package/esm5/utils/mobile/index.js +0 -2
  1710. package/esm5/utils/mobile/is-mobile.js +0 -6
  1711. package/esm5/utils/mobile/taiga-ui-core-utils-mobile.js +0 -5
  1712. package/esm5/utils/polyfills/index.js +0 -2
  1713. package/esm5/utils/polyfills/inner-html.js +0 -40
  1714. package/esm5/utils/polyfills/taiga-ui-core-utils-polyfills.js +0 -5
  1715. package/esm5/utils/taiga-ui-core-utils.js +0 -5
  1716. package/fesm2015/taiga-ui-core-components-dropdown-box.js +0 -325
  1717. package/fesm2015/taiga-ui-core-components-dropdown-box.js.map +0 -1
  1718. package/fesm2015/taiga-ui-core-directives-color.js +0 -370
  1719. package/fesm2015/taiga-ui-core-directives-color.js.map +0 -1
  1720. package/fesm2015/taiga-ui-core-directives-dropdown-controller.js +0 -85
  1721. package/fesm2015/taiga-ui-core-directives-dropdown-controller.js.map +0 -1
  1722. package/fesm2015/taiga-ui-core-directives-manual-hint.js +0 -74
  1723. package/fesm2015/taiga-ui-core-directives-manual-hint.js.map +0 -1
  1724. package/fesm2015/taiga-ui-core-directives-pointer-hint.js +0 -120
  1725. package/fesm2015/taiga-ui-core-directives-pointer-hint.js.map +0 -1
  1726. package/fesm2015/taiga-ui-core-directives-table-mode.js +0 -37
  1727. package/fesm2015/taiga-ui-core-directives-table-mode.js.map +0 -1
  1728. package/fesm2015/taiga-ui-core-pipes-pluralize.js +0 -38
  1729. package/fesm2015/taiga-ui-core-pipes-pluralize.js.map +0 -1
  1730. package/fesm2015/taiga-ui-core-utils-polyfills.js +0 -47
  1731. package/fesm2015/taiga-ui-core-utils-polyfills.js.map +0 -1
  1732. package/fesm5/taiga-ui-core-abstract.js +0 -233
  1733. package/fesm5/taiga-ui-core-abstract.js.map +0 -1
  1734. package/fesm5/taiga-ui-core-animations.js +0 -258
  1735. package/fesm5/taiga-ui-core-animations.js.map +0 -1
  1736. package/fesm5/taiga-ui-core-components-alert.js +0 -178
  1737. package/fesm5/taiga-ui-core-components-alert.js.map +0 -1
  1738. package/fesm5/taiga-ui-core-components-button.js +0 -198
  1739. package/fesm5/taiga-ui-core-components-button.js.map +0 -1
  1740. package/fesm5/taiga-ui-core-components-calendar.js +0 -166
  1741. package/fesm5/taiga-ui-core-components-calendar.js.map +0 -1
  1742. package/fesm5/taiga-ui-core-components-data-list.js +0 -428
  1743. package/fesm5/taiga-ui-core-components-data-list.js.map +0 -1
  1744. package/fesm5/taiga-ui-core-components-dialog.js +0 -232
  1745. package/fesm5/taiga-ui-core-components-dialog.js.map +0 -1
  1746. package/fesm5/taiga-ui-core-components-dropdown-box.js +0 -342
  1747. package/fesm5/taiga-ui-core-components-dropdown-box.js.map +0 -1
  1748. package/fesm5/taiga-ui-core-components-error.js +0 -69
  1749. package/fesm5/taiga-ui-core-components-error.js.map +0 -1
  1750. package/fesm5/taiga-ui-core-components-expand.js +0 -185
  1751. package/fesm5/taiga-ui-core-components-expand.js.map +0 -1
  1752. package/fesm5/taiga-ui-core-components-group.js +0 -136
  1753. package/fesm5/taiga-ui-core-components-group.js.map +0 -1
  1754. package/fesm5/taiga-ui-core-components-hints-host.js +0 -347
  1755. package/fesm5/taiga-ui-core-components-hints-host.js.map +0 -1
  1756. package/fesm5/taiga-ui-core-components-hosted-dropdown.js +0 -267
  1757. package/fesm5/taiga-ui-core-components-hosted-dropdown.js.map +0 -1
  1758. package/fesm5/taiga-ui-core-components-label.js +0 -68
  1759. package/fesm5/taiga-ui-core-components-label.js.map +0 -1
  1760. package/fesm5/taiga-ui-core-components-link.js +0 -142
  1761. package/fesm5/taiga-ui-core-components-link.js.map +0 -1
  1762. package/fesm5/taiga-ui-core-components-loader.js +0 -138
  1763. package/fesm5/taiga-ui-core-components-loader.js.map +0 -1
  1764. package/fesm5/taiga-ui-core-components-notification.js +0 -90
  1765. package/fesm5/taiga-ui-core-components-notification.js.map +0 -1
  1766. package/fesm5/taiga-ui-core-components-primitive-calendar.js +0 -196
  1767. package/fesm5/taiga-ui-core-components-primitive-calendar.js.map +0 -1
  1768. package/fesm5/taiga-ui-core-components-primitive-checkbox.js +0 -147
  1769. package/fesm5/taiga-ui-core-components-primitive-checkbox.js.map +0 -1
  1770. package/fesm5/taiga-ui-core-components-primitive-spin-button.js +0 -125
  1771. package/fesm5/taiga-ui-core-components-primitive-spin-button.js.map +0 -1
  1772. package/fesm5/taiga-ui-core-components-primitive-textfield.js +0 -674
  1773. package/fesm5/taiga-ui-core-components-primitive-textfield.js.map +0 -1
  1774. package/fesm5/taiga-ui-core-components-primitive-year-picker.js +0 -200
  1775. package/fesm5/taiga-ui-core-components-primitive-year-picker.js.map +0 -1
  1776. package/fesm5/taiga-ui-core-components-root.js +0 -95
  1777. package/fesm5/taiga-ui-core-components-root.js.map +0 -1
  1778. package/fesm5/taiga-ui-core-components-scroll-controls.js +0 -270
  1779. package/fesm5/taiga-ui-core-components-scroll-controls.js.map +0 -1
  1780. package/fesm5/taiga-ui-core-components-scrollbar.js +0 -158
  1781. package/fesm5/taiga-ui-core-components-scrollbar.js.map +0 -1
  1782. package/fesm5/taiga-ui-core-components-svg.js +0 -226
  1783. package/fesm5/taiga-ui-core-components-svg.js.map +0 -1
  1784. package/fesm5/taiga-ui-core-components-theme-night.js +0 -39
  1785. package/fesm5/taiga-ui-core-components-theme-night.js.map +0 -1
  1786. package/fesm5/taiga-ui-core-components-tooltip.js +0 -122
  1787. package/fesm5/taiga-ui-core-components-tooltip.js.map +0 -1
  1788. package/fesm5/taiga-ui-core-components.js +0 -31
  1789. package/fesm5/taiga-ui-core-components.js.map +0 -1
  1790. package/fesm5/taiga-ui-core-constants.js +0 -80
  1791. package/fesm5/taiga-ui-core-constants.js.map +0 -1
  1792. package/fesm5/taiga-ui-core-directives-color.js +0 -61
  1793. package/fesm5/taiga-ui-core-directives-color.js.map +0 -1
  1794. package/fesm5/taiga-ui-core-directives-described-by.js +0 -96
  1795. package/fesm5/taiga-ui-core-directives-described-by.js.map +0 -1
  1796. package/fesm5/taiga-ui-core-directives-dropdown-controller.js +0 -92
  1797. package/fesm5/taiga-ui-core-directives-dropdown-controller.js.map +0 -1
  1798. package/fesm5/taiga-ui-core-directives-dropdown.js +0 -75
  1799. package/fesm5/taiga-ui-core-directives-dropdown.js.map +0 -1
  1800. package/fesm5/taiga-ui-core-directives-hint-controller.js +0 -94
  1801. package/fesm5/taiga-ui-core-directives-hint-controller.js.map +0 -1
  1802. package/fesm5/taiga-ui-core-directives-hint.js +0 -174
  1803. package/fesm5/taiga-ui-core-directives-hint.js.map +0 -1
  1804. package/fesm5/taiga-ui-core-directives-manual-hint.js +0 -84
  1805. package/fesm5/taiga-ui-core-directives-manual-hint.js.map +0 -1
  1806. package/fesm5/taiga-ui-core-directives-mask-accessor.js +0 -49
  1807. package/fesm5/taiga-ui-core-directives-mask-accessor.js.map +0 -1
  1808. package/fesm5/taiga-ui-core-directives-mode.js +0 -40
  1809. package/fesm5/taiga-ui-core-directives-mode.js.map +0 -1
  1810. package/fesm5/taiga-ui-core-directives-pointer-hint.js +0 -136
  1811. package/fesm5/taiga-ui-core-directives-pointer-hint.js.map +0 -1
  1812. package/fesm5/taiga-ui-core-directives-scroll-into-view.js +0 -77
  1813. package/fesm5/taiga-ui-core-directives-scroll-into-view.js.map +0 -1
  1814. package/fesm5/taiga-ui-core-directives-table-mode.js +0 -43
  1815. package/fesm5/taiga-ui-core-directives-table-mode.js.map +0 -1
  1816. package/fesm5/taiga-ui-core-directives-textfield-controller.js +0 -460
  1817. package/fesm5/taiga-ui-core-directives-textfield-controller.js.map +0 -1
  1818. package/fesm5/taiga-ui-core-directives-wrapper.js +0 -138
  1819. package/fesm5/taiga-ui-core-directives-wrapper.js.map +0 -1
  1820. package/fesm5/taiga-ui-core-directives.js +0 -19
  1821. package/fesm5/taiga-ui-core-directives.js.map +0 -1
  1822. package/fesm5/taiga-ui-core-enums.js +0 -154
  1823. package/fesm5/taiga-ui-core-enums.js.map +0 -1
  1824. package/fesm5/taiga-ui-core-interfaces.js +0 -4
  1825. package/fesm5/taiga-ui-core-interfaces.js.map +0 -1
  1826. package/fesm5/taiga-ui-core-internal-primitive-year-month-pagination.js +0 -118
  1827. package/fesm5/taiga-ui-core-internal-primitive-year-month-pagination.js.map +0 -1
  1828. package/fesm5/taiga-ui-core-internal-svg-defs-host.js +0 -69
  1829. package/fesm5/taiga-ui-core-internal-svg-defs-host.js.map +0 -1
  1830. package/fesm5/taiga-ui-core-internal.js +0 -7
  1831. package/fesm5/taiga-ui-core-internal.js.map +0 -1
  1832. package/fesm5/taiga-ui-core-mask.js +0 -4
  1833. package/fesm5/taiga-ui-core-mask.js.map +0 -1
  1834. package/fesm5/taiga-ui-core-observables.js +0 -37
  1835. package/fesm5/taiga-ui-core-observables.js.map +0 -1
  1836. package/fesm5/taiga-ui-core-pipes-calendar-sheet.js +0 -123
  1837. package/fesm5/taiga-ui-core-pipes-calendar-sheet.js.map +0 -1
  1838. package/fesm5/taiga-ui-core-pipes-format-number.js +0 -53
  1839. package/fesm5/taiga-ui-core-pipes-format-number.js.map +0 -1
  1840. package/fesm5/taiga-ui-core-pipes-format-phone.js +0 -45
  1841. package/fesm5/taiga-ui-core-pipes-format-phone.js.map +0 -1
  1842. package/fesm5/taiga-ui-core-pipes-month.js +0 -43
  1843. package/fesm5/taiga-ui-core-pipes-month.js.map +0 -1
  1844. package/fesm5/taiga-ui-core-pipes-pluralize.js +0 -44
  1845. package/fesm5/taiga-ui-core-pipes-pluralize.js.map +0 -1
  1846. package/fesm5/taiga-ui-core-pipes.js +0 -10
  1847. package/fesm5/taiga-ui-core-pipes.js.map +0 -1
  1848. package/fesm5/taiga-ui-core-providers.js +0 -58
  1849. package/fesm5/taiga-ui-core-providers.js.map +0 -1
  1850. package/fesm5/taiga-ui-core-services.js +0 -184
  1851. package/fesm5/taiga-ui-core-services.js.map +0 -1
  1852. package/fesm5/taiga-ui-core-tokens.js +0 -160
  1853. package/fesm5/taiga-ui-core-tokens.js.map +0 -1
  1854. package/fesm5/taiga-ui-core-types.js +0 -4
  1855. package/fesm5/taiga-ui-core-types.js.map +0 -1
  1856. package/fesm5/taiga-ui-core-utils-dom.js +0 -143
  1857. package/fesm5/taiga-ui-core-utils-dom.js.map +0 -1
  1858. package/fesm5/taiga-ui-core-utils-format.js +0 -202
  1859. package/fesm5/taiga-ui-core-utils-format.js.map +0 -1
  1860. package/fesm5/taiga-ui-core-utils-mask.js +0 -285
  1861. package/fesm5/taiga-ui-core-utils-mask.js.map +0 -1
  1862. package/fesm5/taiga-ui-core-utils-miscellaneous.js +0 -102
  1863. package/fesm5/taiga-ui-core-utils-miscellaneous.js.map +0 -1
  1864. package/fesm5/taiga-ui-core-utils-mobile.js +0 -13
  1865. package/fesm5/taiga-ui-core-utils-mobile.js.map +0 -1
  1866. package/fesm5/taiga-ui-core-utils-polyfills.js +0 -47
  1867. package/fesm5/taiga-ui-core-utils-polyfills.js.map +0 -1
  1868. package/fesm5/taiga-ui-core-utils.js +0 -11
  1869. package/fesm5/taiga-ui-core-utils.js.map +0 -1
  1870. package/fesm5/taiga-ui-core.js +0 -18
  1871. package/fesm5/taiga-ui-core.js.map +0 -1
  1872. package/interfaces/dropdown-directive.d.ts +0 -19
  1873. package/interfaces/hint.d.ts +0 -7
  1874. package/interfaces/notification-options.d.ts +0 -17
  1875. package/interfaces/taiga-ui-core-interfaces.metadata.json +0 -1
  1876. package/internal/primitive-year-month-pagination/taiga-ui-core-internal-primitive-year-month-pagination.metadata.json +0 -1
  1877. package/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.metadata.json +0 -1
  1878. package/internal/taiga-ui-core-internal.metadata.json +0 -1
  1879. package/mask/taiga-ui-core-mask.metadata.json +0 -1
  1880. package/observables/taiga-ui-core-observables.metadata.json +0 -1
  1881. package/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.metadata.json +0 -1
  1882. package/pipes/format-number/taiga-ui-core-pipes-format-number.metadata.json +0 -1
  1883. package/pipes/format-phone/taiga-ui-core-pipes-format-phone.metadata.json +0 -1
  1884. package/pipes/month/taiga-ui-core-pipes-month.metadata.json +0 -1
  1885. package/pipes/pluralize/index.d.ts +0 -2
  1886. package/pipes/pluralize/package.json +0 -13
  1887. package/pipes/pluralize/pluralize.module.d.ts +0 -3
  1888. package/pipes/pluralize/pluralize.pipe.d.ts +0 -14
  1889. package/pipes/pluralize/taiga-ui-core-pipes-pluralize.d.ts +0 -4
  1890. package/pipes/pluralize/taiga-ui-core-pipes-pluralize.metadata.json +0 -1
  1891. package/pipes/taiga-ui-core-pipes.metadata.json +0 -1
  1892. package/providers/taiga-ui-core-providers.metadata.json +0 -1
  1893. package/services/taiga-ui-core-services.metadata.json +0 -1
  1894. package/styles/basic/keyframes.less +0 -29
  1895. package/styles/basic/main.less +0 -73
  1896. package/styles/basic/normalize.less +0 -425
  1897. package/styles/markup/tui-container-old.less +0 -69
  1898. package/styles/markup/tui-container.less +0 -64
  1899. package/styles/markup/tui-form-old.less +0 -143
  1900. package/styles/markup/tui-form.less +0 -142
  1901. package/styles/markup/tui-group-old.less +0 -322
  1902. package/styles/markup/tui-group.less +0 -324
  1903. package/styles/markup/tui-island.less +0 -178
  1904. package/styles/markup/tui-list.less +0 -133
  1905. package/styles/markup/tui-mobile-only.less +0 -5
  1906. package/styles/markup/tui-palette.less +0 -242
  1907. package/styles/markup/tui-required.less +0 -13
  1908. package/styles/markup/tui-row-old.less +0 -157
  1909. package/styles/markup/tui-row.less +0 -139
  1910. package/styles/markup/tui-skeleton.less +0 -40
  1911. package/styles/markup/tui-space.less +0 -52
  1912. package/styles/markup/tui-table.less +0 -179
  1913. package/styles/markup/tui-text.less +0 -64
  1914. package/styles/taiga-ui-global-old.less +0 -17
  1915. package/styles/taiga-ui-global.less +0 -17
  1916. package/styles/taiga-ui-local-old.less +0 -7
  1917. package/styles/taiga-ui-stackblitz.less +0 -7
  1918. package/styles/theme/fonts.css +0 -1
  1919. package/styles/variables/media-old.less +0 -48
  1920. package/taiga-ui-core.metadata.json +0 -1
  1921. package/tokens/dropdown-directive.d.ts +0 -3
  1922. package/tokens/taiga-ui-core-tokens.metadata.json +0 -1
  1923. package/types/color.d.ts +0 -3
  1924. package/types/hint-mode.d.ts +0 -1
  1925. package/types/pluralize.d.ts +0 -4
  1926. package/types/taiga-ui-core-types.metadata.json +0 -1
  1927. package/utils/dom/are-css-vars-supported.d.ts +0 -6
  1928. package/utils/dom/taiga-ui-core-utils-dom.metadata.json +0 -1
  1929. package/utils/format/pluralize-to-icu.d.ts +0 -5
  1930. package/utils/format/pluralize.d.ts +0 -10
  1931. package/utils/format/taiga-ui-core-utils-format.metadata.json +0 -1
  1932. package/utils/mask/taiga-ui-core-utils-mask.metadata.json +0 -1
  1933. package/utils/miscellaneous/color-fallback.d.ts +0 -4
  1934. package/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.metadata.json +0 -1
  1935. package/utils/mobile/taiga-ui-core-utils-mobile.metadata.json +0 -1
  1936. package/utils/polyfills/index.d.ts +0 -1
  1937. package/utils/polyfills/inner-html.d.ts +0 -5
  1938. package/utils/polyfills/package.json +0 -13
  1939. package/utils/polyfills/taiga-ui-core-utils-polyfills.d.ts +0 -4
  1940. package/utils/polyfills/taiga-ui-core-utils-polyfills.metadata.json +0 -1
  1941. package/utils/taiga-ui-core-utils.metadata.json +0 -1
@@ -1,324 +1,1223 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('@taiga-ui/core/abstract'), require('@taiga-ui/core/tokens'), require('@taiga-ui/core/components/dropdown-box')) :
3
- typeof define === 'function' && define.amd ? define('@taiga-ui/core/directives/dropdown', ['exports', '@angular/core', '@taiga-ui/cdk', '@taiga-ui/core/abstract', '@taiga-ui/core/tokens', '@taiga-ui/core/components/dropdown-box'], factory) :
4
- (global = global || self, factory((global['taiga-ui'] = global['taiga-ui'] || {}, global['taiga-ui'].core = global['taiga-ui'].core || {}, global['taiga-ui'].core.directives = global['taiga-ui'].core.directives || {}, global['taiga-ui'].core.directives.dropdown = {}), global.ng.core, global.cdk, global['taiga-ui'].core.abstract, global['taiga-ui'].core.tokens, global['taiga-ui'].core.components['dropdown-box']));
5
- }(this, (function (exports, core, cdk, abstract, tokens, dropdownBox) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@ng-web-apis/common'), require('@taiga-ui/cdk'), require('@taiga-ui/core/abstract'), require('@taiga-ui/core/animations'), require('@taiga-ui/core/services'), require('@taiga-ui/core/tokens'), require('rxjs/operators'), require('@taiga-ui/core/utils'), require('@tinkoff/ng-polymorpheus'), require('rxjs'), require('@taiga-ui/core/components/scrollbar'), require('@taiga-ui/core/directives/mode'), require('@angular/common')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/core/directives/dropdown', ['exports', '@angular/core', '@ng-web-apis/common', '@taiga-ui/cdk', '@taiga-ui/core/abstract', '@taiga-ui/core/animations', '@taiga-ui/core/services', '@taiga-ui/core/tokens', 'rxjs/operators', '@taiga-ui/core/utils', '@tinkoff/ng-polymorpheus', 'rxjs', '@taiga-ui/core/components/scrollbar', '@taiga-ui/core/directives/mode', '@angular/common'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].core = global["taiga-ui"].core || {}, global["taiga-ui"].core.directives = global["taiga-ui"].core.directives || {}, global["taiga-ui"].core.directives.dropdown = {}), global.ng.core, global.common, global.i2, global["taiga-ui"].core.abstract, global["taiga-ui"].core.animations, global["taiga-ui"].core.services, global["taiga-ui"].core.tokens, global.rxjs.operators, global["taiga-ui"].core.utils, global.i1, global.rxjs, global["taiga-ui"].core.components.scrollbar, global["taiga-ui"].core.directives.mode, global.ng.common));
5
+ })(this, (function (exports, i0, common, i2, i1$1, animations, services, tokens, operators, utils, i1, i5, i1$2, i3, common$1) { 'use strict';
6
6
 
7
- /******************************************************************************
8
- Copyright (c) Microsoft Corporation.
9
-
10
- Permission to use, copy, modify, and/or distribute this software for any
11
- purpose with or without fee is hereby granted.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
14
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
15
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
16
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
17
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
18
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19
- PERFORMANCE OF THIS SOFTWARE.
20
- ***************************************************************************** */
21
- /* global Reflect, Promise */
22
-
23
- var extendStatics = function(d, b) {
24
- extendStatics = Object.setPrototypeOf ||
25
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
26
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
27
- return extendStatics(d, b);
28
- };
29
-
30
- function __extends(d, b) {
31
- if (typeof b !== "function" && b !== null)
32
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
33
- extendStatics(d, b);
34
- function __() { this.constructor = d; }
35
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
36
- }
37
-
38
- var __assign = function() {
39
- __assign = Object.assign || function __assign(t) {
40
- for (var s, i = 1, n = arguments.length; i < n; i++) {
41
- s = arguments[i];
42
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
43
- }
44
- return t;
45
- };
46
- return __assign.apply(this, arguments);
47
- };
48
-
49
- function __rest(s, e) {
50
- var t = {};
51
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
52
- t[p] = s[p];
53
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
54
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
55
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
56
- t[p[i]] = s[p[i]];
57
- }
58
- return t;
59
- }
60
-
61
- function __decorate(decorators, target, key, desc) {
62
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
63
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
64
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
65
- return c > 3 && r && Object.defineProperty(target, key, r), r;
66
- }
67
-
68
- function __param(paramIndex, decorator) {
69
- return function (target, key) { decorator(target, key, paramIndex); }
70
- }
71
-
72
- function __metadata(metadataKey, metadataValue) {
73
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
74
- }
75
-
76
- function __awaiter(thisArg, _arguments, P, generator) {
77
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
78
- return new (P || (P = Promise))(function (resolve, reject) {
79
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
80
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
81
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
82
- step((generator = generator.apply(thisArg, _arguments || [])).next());
83
- });
84
- }
85
-
86
- function __generator(thisArg, body) {
87
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
88
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
89
- function verb(n) { return function (v) { return step([n, v]); }; }
90
- function step(op) {
91
- if (f) throw new TypeError("Generator is already executing.");
92
- while (_) try {
93
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
94
- if (y = 0, t) op = [op[0] & 2, t.value];
95
- switch (op[0]) {
96
- case 0: case 1: t = op; break;
97
- case 4: _.label++; return { value: op[1], done: false };
98
- case 5: _.label++; y = op[1]; op = [0]; continue;
99
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
100
- default:
101
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
102
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
103
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
104
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
105
- if (t[2]) _.ops.pop();
106
- _.trys.pop(); continue;
107
- }
108
- op = body.call(thisArg, _);
109
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
110
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
111
- }
112
- }
113
-
114
- var __createBinding = Object.create ? (function(o, m, k, k2) {
115
- if (k2 === undefined) k2 = k;
116
- var desc = Object.getOwnPropertyDescriptor(m, k);
117
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
118
- desc = { enumerable: true, get: function() { return m[k]; } };
119
- }
120
- Object.defineProperty(o, k2, desc);
121
- }) : (function(o, m, k, k2) {
122
- if (k2 === undefined) k2 = k;
123
- o[k2] = m[k];
124
- });
125
-
126
- function __exportStar(m, o) {
127
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
128
- }
129
-
130
- function __values(o) {
131
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
132
- if (m) return m.call(o);
133
- if (o && typeof o.length === "number") return {
134
- next: function () {
135
- if (o && i >= o.length) o = void 0;
136
- return { value: o && o[i++], done: !o };
137
- }
138
- };
139
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
140
- }
141
-
142
- function __read(o, n) {
143
- var m = typeof Symbol === "function" && o[Symbol.iterator];
144
- if (!m) return o;
145
- var i = m.call(o), r, ar = [], e;
146
- try {
147
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
148
- }
149
- catch (error) { e = { error: error }; }
150
- finally {
151
- try {
152
- if (r && !r.done && (m = i["return"])) m.call(i);
153
- }
154
- finally { if (e) throw e.error; }
155
- }
156
- return ar;
157
- }
158
-
159
- /** @deprecated */
160
- function __spread() {
161
- for (var ar = [], i = 0; i < arguments.length; i++)
162
- ar = ar.concat(__read(arguments[i]));
163
- return ar;
164
- }
165
-
166
- /** @deprecated */
167
- function __spreadArrays() {
168
- for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
169
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
170
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
171
- r[k] = a[j];
172
- return r;
173
- }
174
-
175
- function __spreadArray(to, from, pack) {
176
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
177
- if (ar || !(i in from)) {
178
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
179
- ar[i] = from[i];
180
- }
181
- }
182
- return to.concat(ar || Array.prototype.slice.call(from));
183
- }
184
-
185
- function __await(v) {
186
- return this instanceof __await ? (this.v = v, this) : new __await(v);
187
- }
188
-
189
- function __asyncGenerator(thisArg, _arguments, generator) {
190
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
191
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
192
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
193
- function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
194
- function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
195
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
196
- function fulfill(value) { resume("next", value); }
197
- function reject(value) { resume("throw", value); }
198
- function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
199
- }
200
-
201
- function __asyncDelegator(o) {
202
- var i, p;
203
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
204
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
205
- }
206
-
207
- function __asyncValues(o) {
208
- if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
209
- var m = o[Symbol.asyncIterator], i;
210
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
211
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
212
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
213
- }
214
-
215
- function __makeTemplateObject(cooked, raw) {
216
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
217
- return cooked;
218
- };
219
-
220
- var __setModuleDefault = Object.create ? (function(o, v) {
221
- Object.defineProperty(o, "default", { enumerable: true, value: v });
222
- }) : function(o, v) {
223
- o["default"] = v;
224
- };
225
-
226
- function __importStar(mod) {
227
- if (mod && mod.__esModule) return mod;
228
- var result = {};
229
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
230
- __setModuleDefault(result, mod);
231
- return result;
232
- }
233
-
234
- function __importDefault(mod) {
235
- return (mod && mod.__esModule) ? mod : { default: mod };
236
- }
237
-
238
- function __classPrivateFieldGet(receiver, state, kind, f) {
239
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
240
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
241
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
242
- }
243
-
244
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
245
- if (kind === "m") throw new TypeError("Private method is not writable");
246
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
247
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
248
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
249
- }
250
-
251
- function __classPrivateFieldIn(state, receiver) {
252
- if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
253
- return typeof state === "function" ? receiver === state : state.has(receiver);
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
20
+ }
21
+ n["default"] = e;
22
+ return Object.freeze(n);
254
23
  }
255
24
 
256
- var TuiDropdownDirective = /** @class */ (function (_super) {
257
- __extends(TuiDropdownDirective, _super);
258
- function TuiDropdownDirective(componentFactoryResolver, injector, portalService, elementRef, activeZone, refresh$) {
259
- var _this = _super.call(this, componentFactoryResolver, injector, portalService, elementRef, activeZone) || this;
260
- _this.refresh$ = refresh$;
261
- return _this;
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
+ var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
27
+ var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$1);
28
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
29
+ var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
30
+ var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$2);
31
+ var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
32
+
33
+ /******************************************************************************
34
+ Copyright (c) Microsoft Corporation.
35
+
36
+ Permission to use, copy, modify, and/or distribute this software for any
37
+ purpose with or without fee is hereby granted.
38
+
39
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
40
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
41
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
42
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
43
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
44
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
45
+ PERFORMANCE OF THIS SOFTWARE.
46
+ ***************************************************************************** */
47
+ /* global Reflect, Promise */
48
+ var extendStatics = function (d, b) {
49
+ extendStatics = Object.setPrototypeOf ||
50
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
51
+ function (d, b) { for (var p in b)
52
+ if (Object.prototype.hasOwnProperty.call(b, p))
53
+ d[p] = b[p]; };
54
+ return extendStatics(d, b);
55
+ };
56
+ function __extends(d, b) {
57
+ if (typeof b !== "function" && b !== null)
58
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
59
+ extendStatics(d, b);
60
+ function __() { this.constructor = d; }
61
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
62
+ }
63
+ var __assign = function () {
64
+ __assign = Object.assign || function __assign(t) {
65
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
66
+ s = arguments[i];
67
+ for (var p in s)
68
+ if (Object.prototype.hasOwnProperty.call(s, p))
69
+ t[p] = s[p];
70
+ }
71
+ return t;
72
+ };
73
+ return __assign.apply(this, arguments);
74
+ };
75
+ function __rest(s, e) {
76
+ var t = {};
77
+ for (var p in s)
78
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
79
+ t[p] = s[p];
80
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
81
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
82
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
83
+ t[p[i]] = s[p[i]];
84
+ }
85
+ return t;
86
+ }
87
+ function __decorate(decorators, target, key, desc) {
88
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
89
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
90
+ r = Reflect.decorate(decorators, target, key, desc);
91
+ else
92
+ for (var i = decorators.length - 1; i >= 0; i--)
93
+ if (d = decorators[i])
94
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
95
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
96
+ }
97
+ function __param(paramIndex, decorator) {
98
+ return function (target, key) { decorator(target, key, paramIndex); };
99
+ }
100
+ function __metadata(metadataKey, metadataValue) {
101
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
102
+ return Reflect.metadata(metadataKey, metadataValue);
103
+ }
104
+ function __awaiter(thisArg, _arguments, P, generator) {
105
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
106
+ return new (P || (P = Promise))(function (resolve, reject) {
107
+ function fulfilled(value) { try {
108
+ step(generator.next(value));
109
+ }
110
+ catch (e) {
111
+ reject(e);
112
+ } }
113
+ function rejected(value) { try {
114
+ step(generator["throw"](value));
115
+ }
116
+ catch (e) {
117
+ reject(e);
118
+ } }
119
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
120
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
121
+ });
122
+ }
123
+ function __generator(thisArg, body) {
124
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
125
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
126
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
127
+ function verb(n) { return function (v) { return step([n, v]); }; }
128
+ function step(op) {
129
+ if (f)
130
+ throw new TypeError("Generator is already executing.");
131
+ while (_)
132
+ try {
133
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
134
+ return t;
135
+ if (y = 0, t)
136
+ op = [op[0] & 2, t.value];
137
+ switch (op[0]) {
138
+ case 0:
139
+ case 1:
140
+ t = op;
141
+ break;
142
+ case 4:
143
+ _.label++;
144
+ return { value: op[1], done: false };
145
+ case 5:
146
+ _.label++;
147
+ y = op[1];
148
+ op = [0];
149
+ continue;
150
+ case 7:
151
+ op = _.ops.pop();
152
+ _.trys.pop();
153
+ continue;
154
+ default:
155
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
156
+ _ = 0;
157
+ continue;
158
+ }
159
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
160
+ _.label = op[1];
161
+ break;
162
+ }
163
+ if (op[0] === 6 && _.label < t[1]) {
164
+ _.label = t[1];
165
+ t = op;
166
+ break;
167
+ }
168
+ if (t && _.label < t[2]) {
169
+ _.label = t[2];
170
+ _.ops.push(op);
171
+ break;
172
+ }
173
+ if (t[2])
174
+ _.ops.pop();
175
+ _.trys.pop();
176
+ continue;
177
+ }
178
+ op = body.call(thisArg, _);
179
+ }
180
+ catch (e) {
181
+ op = [6, e];
182
+ y = 0;
183
+ }
184
+ finally {
185
+ f = t = 0;
186
+ }
187
+ if (op[0] & 5)
188
+ throw op[1];
189
+ return { value: op[0] ? op[1] : void 0, done: true };
190
+ }
191
+ }
192
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
193
+ if (k2 === undefined)
194
+ k2 = k;
195
+ var desc = Object.getOwnPropertyDescriptor(m, k);
196
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
197
+ desc = { enumerable: true, get: function () { return m[k]; } };
198
+ }
199
+ Object.defineProperty(o, k2, desc);
200
+ }) : (function (o, m, k, k2) {
201
+ if (k2 === undefined)
202
+ k2 = k;
203
+ o[k2] = m[k];
204
+ });
205
+ function __exportStar(m, o) {
206
+ for (var p in m)
207
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
208
+ __createBinding(o, m, p);
209
+ }
210
+ function __values(o) {
211
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
212
+ if (m)
213
+ return m.call(o);
214
+ if (o && typeof o.length === "number")
215
+ return {
216
+ next: function () {
217
+ if (o && i >= o.length)
218
+ o = void 0;
219
+ return { value: o && o[i++], done: !o };
220
+ }
221
+ };
222
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
223
+ }
224
+ function __read(o, n) {
225
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
226
+ if (!m)
227
+ return o;
228
+ var i = m.call(o), r, ar = [], e;
229
+ try {
230
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
231
+ ar.push(r.value);
232
+ }
233
+ catch (error) {
234
+ e = { error: error };
235
+ }
236
+ finally {
237
+ try {
238
+ if (r && !r.done && (m = i["return"]))
239
+ m.call(i);
240
+ }
241
+ finally {
242
+ if (e)
243
+ throw e.error;
244
+ }
245
+ }
246
+ return ar;
247
+ }
248
+ /** @deprecated */
249
+ function __spread() {
250
+ for (var ar = [], i = 0; i < arguments.length; i++)
251
+ ar = ar.concat(__read(arguments[i]));
252
+ return ar;
253
+ }
254
+ /** @deprecated */
255
+ function __spreadArrays() {
256
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
257
+ s += arguments[i].length;
258
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
259
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
260
+ r[k] = a[j];
261
+ return r;
262
+ }
263
+ function __spreadArray(to, from, pack) {
264
+ if (pack || arguments.length === 2)
265
+ for (var i = 0, l = from.length, ar; i < l; i++) {
266
+ if (ar || !(i in from)) {
267
+ if (!ar)
268
+ ar = Array.prototype.slice.call(from, 0, i);
269
+ ar[i] = from[i];
270
+ }
271
+ }
272
+ return to.concat(ar || Array.prototype.slice.call(from));
273
+ }
274
+ function __await(v) {
275
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
276
+ }
277
+ function __asyncGenerator(thisArg, _arguments, generator) {
278
+ if (!Symbol.asyncIterator)
279
+ throw new TypeError("Symbol.asyncIterator is not defined.");
280
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
281
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
282
+ function verb(n) { if (g[n])
283
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
284
+ function resume(n, v) { try {
285
+ step(g[n](v));
286
+ }
287
+ catch (e) {
288
+ settle(q[0][3], e);
289
+ } }
290
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
291
+ function fulfill(value) { resume("next", value); }
292
+ function reject(value) { resume("throw", value); }
293
+ function settle(f, v) { if (f(v), q.shift(), q.length)
294
+ resume(q[0][0], q[0][1]); }
295
+ }
296
+ function __asyncDelegator(o) {
297
+ var i, p;
298
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
299
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
300
+ }
301
+ function __asyncValues(o) {
302
+ if (!Symbol.asyncIterator)
303
+ throw new TypeError("Symbol.asyncIterator is not defined.");
304
+ var m = o[Symbol.asyncIterator], i;
305
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
306
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
307
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
308
+ }
309
+ function __makeTemplateObject(cooked, raw) {
310
+ if (Object.defineProperty) {
311
+ Object.defineProperty(cooked, "raw", { value: raw });
312
+ }
313
+ else {
314
+ cooked.raw = raw;
315
+ }
316
+ return cooked;
317
+ }
318
+ ;
319
+ var __setModuleDefault = Object.create ? (function (o, v) {
320
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
321
+ }) : function (o, v) {
322
+ o["default"] = v;
323
+ };
324
+ function __importStar(mod) {
325
+ if (mod && mod.__esModule)
326
+ return mod;
327
+ var result = {};
328
+ if (mod != null)
329
+ for (var k in mod)
330
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
331
+ __createBinding(result, mod, k);
332
+ __setModuleDefault(result, mod);
333
+ return result;
334
+ }
335
+ function __importDefault(mod) {
336
+ return (mod && mod.__esModule) ? mod : { default: mod };
337
+ }
338
+ function __classPrivateFieldGet(receiver, state, kind, f) {
339
+ if (kind === "a" && !f)
340
+ throw new TypeError("Private accessor was defined without a getter");
341
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
342
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
343
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
344
+ }
345
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
346
+ if (kind === "m")
347
+ throw new TypeError("Private method is not writable");
348
+ if (kind === "a" && !f)
349
+ throw new TypeError("Private accessor was defined without a setter");
350
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
351
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
352
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
353
+ }
354
+ function __classPrivateFieldIn(state, receiver) {
355
+ if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
356
+ throw new TypeError("Cannot use 'in' operator on non-object");
357
+ return typeof state === "function" ? receiver === state : state.has(receiver);
358
+ }
359
+
360
+ var TUI_DROPDOWN_COMPONENT = new i0.InjectionToken("[TUI_DROPDOWN_COMPONENT] A component to display a dropdown", {
361
+ factory: function () { return TuiDropdownComponent; },
362
+ });
363
+
364
+ var TuiDropdownDirective = /** @class */ (function () {
365
+ function TuiDropdownDirective(elementRef, component, dropdownService) {
366
+ this.elementRef = elementRef;
367
+ this.component = component;
368
+ this.dropdownService = dropdownService;
369
+ this.content = "";
370
+ this.dropdownBoxRef = null;
262
371
  }
263
- TuiDropdownDirective_1 = TuiDropdownDirective;
264
- Object.defineProperty(TuiDropdownDirective.prototype, "open", {
265
- set: function (value) {
266
- this.toggleDropdown(value);
372
+ Object.defineProperty(TuiDropdownDirective.prototype, "position", {
373
+ get: function () {
374
+ return utils.tuiCheckFixedPosition(this.elementRef.nativeElement)
375
+ ? "fixed"
376
+ : "absolute";
267
377
  },
268
- enumerable: true,
378
+ enumerable: false,
269
379
  configurable: true
270
380
  });
271
- var TuiDropdownDirective_1;
272
- TuiDropdownDirective.ctorParameters = function () { return [
273
- { type: core.ComponentFactoryResolver, decorators: [{ type: core.Inject, args: [core.ComponentFactoryResolver,] }] },
274
- { type: core.Injector, decorators: [{ type: core.Inject, args: [core.Injector,] }] },
275
- { type: cdk.TuiPortalService, decorators: [{ type: core.Inject, args: [cdk.TuiPortalService,] }] },
276
- { type: core.ElementRef, decorators: [{ type: core.Inject, args: [core.ElementRef,] }] },
277
- { type: cdk.TuiActiveZoneDirective, decorators: [{ type: core.Inject, args: [cdk.TuiActiveZoneDirective,] }, { type: core.Optional }] },
278
- { type: cdk.TuiParentsScrollService, decorators: [{ type: core.Inject, args: [cdk.TuiParentsScrollService,] }] }
279
- ]; };
280
- __decorate([
281
- core.Input("tuiDropdown")
282
- ], TuiDropdownDirective.prototype, "open", null);
283
- TuiDropdownDirective = TuiDropdownDirective_1 = __decorate([
284
- core.Directive({
285
- selector: "[tuiDropdown]:not(ng-container)",
286
- providers: [
287
- {
288
- provide: tokens.TUI_DROPDOWN_DIRECTIVE,
289
- useExisting: core.forwardRef(function () { return TuiDropdownDirective_1; }),
290
- },
291
- cdk.TuiParentsScrollService,
292
- ],
293
- }),
294
- __param(0, core.Inject(core.ComponentFactoryResolver)),
295
- __param(1, core.Inject(core.Injector)),
296
- __param(2, core.Inject(cdk.TuiPortalService)),
297
- __param(3, core.Inject(core.ElementRef)),
298
- __param(4, core.Inject(cdk.TuiActiveZoneDirective)),
299
- __param(4, core.Optional()),
300
- __param(5, core.Inject(cdk.TuiParentsScrollService))
301
- ], TuiDropdownDirective);
381
+ TuiDropdownDirective.prototype.ngOnChanges = function () {
382
+ if (!this.content) {
383
+ this.toggle(false);
384
+ }
385
+ };
386
+ TuiDropdownDirective.prototype.ngOnDestroy = function () {
387
+ this.toggle(false);
388
+ };
389
+ TuiDropdownDirective.prototype.getClientRect = function () {
390
+ return this.elementRef.nativeElement.getBoundingClientRect();
391
+ };
392
+ TuiDropdownDirective.prototype.toggle = function (show) {
393
+ if (show && this.content && !this.dropdownBoxRef) {
394
+ this.dropdownBoxRef = this.dropdownService.add(this.component);
395
+ }
396
+ else if (!show && this.dropdownBoxRef) {
397
+ this.dropdownService.remove(this.dropdownBoxRef);
398
+ this.dropdownBoxRef = null;
399
+ }
400
+ };
302
401
  return TuiDropdownDirective;
303
- }(abstract.AbstractTuiDropdown));
402
+ }());
403
+ TuiDropdownDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownDirective, deps: [{ token: i0.ElementRef }, { token: i1.PolymorpheusComponent }, { token: i2.TuiDropdownPortalService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
404
+ TuiDropdownDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownDirective, selector: "[tuiDropdown]:not(ng-container)", inputs: { content: ["tuiDropdown", "content"] }, providers: [
405
+ i1$1.tuiAsRectAccessor(TuiDropdownDirective),
406
+ i1$1.tuiAsVehicle(TuiDropdownDirective),
407
+ {
408
+ provide: i1.PolymorpheusComponent,
409
+ deps: [TUI_DROPDOWN_COMPONENT, i0.INJECTOR],
410
+ useClass: i1.PolymorpheusComponent,
411
+ },
412
+ ], exportAs: ["tuiDropdown"], usesOnChanges: true, ngImport: i0__namespace });
413
+ __decorate([
414
+ i2.tuiDefaultProp()
415
+ ], TuiDropdownDirective.prototype, "content", void 0);
416
+ __decorate([
417
+ i2.tuiPure
418
+ ], TuiDropdownDirective.prototype, "position", null);
419
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownDirective, decorators: [{
420
+ type: i0.Directive,
421
+ args: [{
422
+ selector: "[tuiDropdown]:not(ng-container)",
423
+ exportAs: "tuiDropdown",
424
+ providers: [
425
+ i1$1.tuiAsRectAccessor(TuiDropdownDirective),
426
+ i1$1.tuiAsVehicle(TuiDropdownDirective),
427
+ {
428
+ provide: i1.PolymorpheusComponent,
429
+ deps: [TUI_DROPDOWN_COMPONENT, i0.INJECTOR],
430
+ useClass: i1.PolymorpheusComponent,
431
+ },
432
+ ],
433
+ }]
434
+ }], ctorParameters: function () {
435
+ return [{ type: i0__namespace.ElementRef, decorators: [{
436
+ type: i0.Inject,
437
+ args: [i0.ElementRef]
438
+ }] }, { type: i1__namespace.PolymorpheusComponent, decorators: [{
439
+ type: i0.Inject,
440
+ args: [i1.PolymorpheusComponent]
441
+ }] }, { type: i2__namespace.TuiDropdownPortalService, decorators: [{
442
+ type: i0.Inject,
443
+ args: [i2.TuiDropdownPortalService]
444
+ }] }];
445
+ }, propDecorators: { content: [{
446
+ type: i0.Input,
447
+ args: ["tuiDropdown"]
448
+ }], position: [] } });
449
+
450
+ var TuiDropdownHoverDirective = /** @class */ (function (_super) {
451
+ __extends(TuiDropdownHoverDirective, _super);
452
+ function TuiDropdownHoverDirective(hovered$) {
453
+ var _this = _super.call(this, function (subscriber) { return _this.stream$.subscribe(subscriber); }) || this;
454
+ _this.hovered$ = hovered$;
455
+ _this.toggle$ = new i5.Subject();
456
+ _this.stream$ = i5.merge(_this.toggle$, _this.hovered$).pipe(operators.switchMap(function (visible) { return i5.of(visible).pipe(operators.delay(visible ? _this.showDelay : _this.hideDelay)); }));
457
+ _this.showDelay = 200;
458
+ _this.hideDelay = 500;
459
+ return _this;
460
+ }
461
+ TuiDropdownHoverDirective.prototype.toggle = function (visible) {
462
+ this.toggle$.next(visible);
463
+ };
464
+ return TuiDropdownHoverDirective;
465
+ }(i1$1.TuiDriver));
466
+ TuiDropdownHoverDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownHoverDirective, deps: [{ token: i2.TuiHoveredService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
467
+ TuiDropdownHoverDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownHoverDirective, selector: "[tuiDropdownHover]:not(ng-container)", inputs: { showDelay: ["tuiDropdownShowDelay", "showDelay"], hideDelay: ["tuiDropdownHideDelay", "hideDelay"] }, providers: [i1$1.tuiAsDriver(TuiDropdownHoverDirective), i2.TuiHoveredService], usesInheritance: true, ngImport: i0__namespace });
468
+ __decorate([
469
+ i2.tuiDefaultProp()
470
+ ], TuiDropdownHoverDirective.prototype, "showDelay", void 0);
471
+ __decorate([
472
+ i2.tuiDefaultProp()
473
+ ], TuiDropdownHoverDirective.prototype, "hideDelay", void 0);
474
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownHoverDirective, decorators: [{
475
+ type: i0.Directive,
476
+ args: [{
477
+ selector: "[tuiDropdownHover]:not(ng-container)",
478
+ providers: [i1$1.tuiAsDriver(TuiDropdownHoverDirective), i2.TuiHoveredService],
479
+ }]
480
+ }], ctorParameters: function () {
481
+ return [{ type: i5__namespace.Observable, decorators: [{
482
+ type: i0.Inject,
483
+ args: [i2.TuiHoveredService]
484
+ }] }];
485
+ }, propDecorators: { showDelay: [{
486
+ type: i0.Input,
487
+ args: ["tuiDropdownShowDelay"]
488
+ }], hideDelay: [{
489
+ type: i0.Input,
490
+ args: ["tuiDropdownHideDelay"]
491
+ }] } });
492
+
493
+ /**
494
+ * Safe space around host and screen edges
495
+ */
496
+ var TUI_DROPDOWN_OFFSET = 4;
497
+ /** Default values for dropdown options */
498
+ var TUI_DROPDOWN_DEFAULT_OPTIONS = {
499
+ align: "left",
500
+ direction: null,
501
+ limitWidth: "auto",
502
+ maxHeight: 400,
503
+ minHeight: 80,
504
+ };
505
+ var TUI_DROPDOWN_OPTIONS = new i0.InjectionToken("[TUI_DROPDOWN_OPTIONS] Default parameters for dropdown directive", {
506
+ factory: function () { return TUI_DROPDOWN_DEFAULT_OPTIONS; },
507
+ });
508
+ var tuiDropdownOptionsProvider = function (override) { return ({
509
+ provide: TUI_DROPDOWN_OPTIONS,
510
+ deps: [
511
+ [new i0.Optional(), TuiDropdownOptionsDirective],
512
+ [new i0.SkipSelf(), TUI_DROPDOWN_OPTIONS],
513
+ ],
514
+ useFactory: function (directive, options) {
515
+ var result = directive || Object.assign({}, options);
516
+ Object.keys(override).forEach(function (key) {
517
+ // Update directive props with new defaults before inputs are processed
518
+ result[key] = override[key];
519
+ });
520
+ return result;
521
+ },
522
+ }); };
523
+ var TuiDropdownOptionsDirective = /** @class */ (function () {
524
+ function TuiDropdownOptionsDirective(options) {
525
+ this.options = options;
526
+ this.align = this.options.align;
527
+ this.direction = this.options.direction;
528
+ this.limitWidth = this.options.limitWidth;
529
+ this.minHeight = this.options.minHeight;
530
+ this.maxHeight = this.options.maxHeight;
531
+ }
532
+ return TuiDropdownOptionsDirective;
533
+ }());
534
+ TuiDropdownOptionsDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownOptionsDirective, deps: [{ token: TUI_DROPDOWN_OPTIONS, skipSelf: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
535
+ TuiDropdownOptionsDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownOptionsDirective, selector: "[tuiDropdownAlign], [tuiDropdownDirection], [tuiDropdownLimitWidth], [tuiDropdownMinHeight], [tuiDropdownMaxHeight]", inputs: { align: ["tuiDropdownAlign", "align"], direction: ["tuiDropdownDirection", "direction"], limitWidth: ["tuiDropdownLimitWidth", "limitWidth"], minHeight: ["tuiDropdownMinHeight", "minHeight"], maxHeight: ["tuiDropdownMaxHeight", "maxHeight"] }, providers: [
536
+ {
537
+ provide: TUI_DROPDOWN_OPTIONS,
538
+ useExisting: i0.forwardRef(function () { return TuiDropdownOptionsDirective; }),
539
+ },
540
+ ], ngImport: i0__namespace });
541
+ __decorate([
542
+ i2.tuiDefaultProp()
543
+ ], TuiDropdownOptionsDirective.prototype, "align", void 0);
544
+ __decorate([
545
+ i2.tuiDefaultProp()
546
+ ], TuiDropdownOptionsDirective.prototype, "direction", void 0);
547
+ __decorate([
548
+ i2.tuiDefaultProp()
549
+ ], TuiDropdownOptionsDirective.prototype, "limitWidth", void 0);
550
+ __decorate([
551
+ i2.tuiDefaultProp()
552
+ ], TuiDropdownOptionsDirective.prototype, "minHeight", void 0);
553
+ __decorate([
554
+ i2.tuiDefaultProp()
555
+ ], TuiDropdownOptionsDirective.prototype, "maxHeight", void 0);
556
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownOptionsDirective, decorators: [{
557
+ type: i0.Directive,
558
+ args: [{
559
+ selector: "[tuiDropdownAlign], [tuiDropdownDirection], [tuiDropdownLimitWidth], [tuiDropdownMinHeight], [tuiDropdownMaxHeight]",
560
+ providers: [
561
+ {
562
+ provide: TUI_DROPDOWN_OPTIONS,
563
+ useExisting: i0.forwardRef(function () { return TuiDropdownOptionsDirective; }),
564
+ },
565
+ ],
566
+ }]
567
+ }], ctorParameters: function () {
568
+ return [{ type: undefined, decorators: [{
569
+ type: i0.SkipSelf
570
+ }, {
571
+ type: i0.Inject,
572
+ args: [TUI_DROPDOWN_OPTIONS]
573
+ }] }];
574
+ }, propDecorators: { align: [{
575
+ type: i0.Input,
576
+ args: ["tuiDropdownAlign"]
577
+ }], direction: [{
578
+ type: i0.Input,
579
+ args: ["tuiDropdownDirection"]
580
+ }], limitWidth: [{
581
+ type: i0.Input,
582
+ args: ["tuiDropdownLimitWidth"]
583
+ }], minHeight: [{
584
+ type: i0.Input,
585
+ args: ["tuiDropdownMinHeight"]
586
+ }], maxHeight: [{
587
+ type: i0.Input,
588
+ args: ["tuiDropdownMaxHeight"]
589
+ }] } });
590
+
591
+ /**
592
+ * This component is used to show template in a portal using default style of white rounded box with a shadow
593
+ */
594
+ // @bad TODO: OnPush
595
+ var TuiDropdownComponent = /** @class */ (function () {
596
+ function TuiDropdownComponent(position$, destroy$, directive, elementRef, host, accessor, windowRef, animationOptions, options, hoverDirective) {
597
+ var _this = this;
598
+ this.directive = directive;
599
+ this.elementRef = elementRef;
600
+ this.host = host;
601
+ this.accessor = accessor;
602
+ this.windowRef = windowRef;
603
+ this.animationOptions = animationOptions;
604
+ this.options = options;
605
+ this.hoverDirective = hoverDirective;
606
+ this.dropdownAnimation = Object.assign({ value: "fadeInTop" /* FadeInTop */ }, this.animationOptions);
607
+ position$.pipe(operators.takeUntil(destroy$)).subscribe(function (_a) {
608
+ var _b = __read(_a, 2), top = _b[0], left = _b[1];
609
+ _this.update(top, left);
610
+ });
611
+ }
612
+ TuiDropdownComponent.prototype.onHoveredChange = function (hovered) {
613
+ if (this.hoverDirective) {
614
+ this.hoverDirective.toggle(hovered);
615
+ }
616
+ };
617
+ TuiDropdownComponent.prototype.onTopFocus = function () {
618
+ this.moveFocusOutside(true);
619
+ };
620
+ TuiDropdownComponent.prototype.onBottomFocus = function () {
621
+ this.moveFocusOutside(false);
622
+ };
623
+ TuiDropdownComponent.prototype.update = function (top, left) {
624
+ var style = this.elementRef.nativeElement.style;
625
+ var right = this.elementRef.nativeElement.getBoundingClientRect().right;
626
+ var _a = this.options, limitWidth = _a.limitWidth, maxHeight = _a.maxHeight;
627
+ var innerHeight = this.windowRef.innerHeight;
628
+ var clientRect = this.host.clientRect;
629
+ var position = this.directive.position;
630
+ var rect = this.accessor.getClientRect();
631
+ var offsetX = position === "fixed" ? 0 : -clientRect.left;
632
+ var offsetY = position === "fixed" ? 0 : -clientRect.top;
633
+ top = top + offsetY;
634
+ left = left + offsetX;
635
+ var isIntersecting = left < rect.right &&
636
+ right > rect.left &&
637
+ top < offsetY + 2 * TUI_DROPDOWN_OFFSET;
638
+ var available = isIntersecting
639
+ ? rect.top - 2 * TUI_DROPDOWN_OFFSET
640
+ : offsetY + innerHeight - top - TUI_DROPDOWN_OFFSET;
641
+ style.position = position;
642
+ style.top = i2.tuiPx(Math.max(top, offsetY + TUI_DROPDOWN_OFFSET));
643
+ style.left = i2.tuiPx(left);
644
+ style.maxHeight = i2.tuiPx(Math.min(maxHeight, available));
645
+ style.width = "";
646
+ style.minWidth = "";
647
+ switch (limitWidth) {
648
+ case "min":
649
+ style.minWidth = i2.tuiPx(rect.width);
650
+ break;
651
+ case "fixed":
652
+ style.width = i2.tuiPx(rect.width);
653
+ }
654
+ };
655
+ TuiDropdownComponent.prototype.moveFocusOutside = function (previous) {
656
+ var host = document.createElement("div");
657
+ var ownerDocument = host.ownerDocument;
658
+ var root = ownerDocument ? ownerDocument.body : host;
659
+ var focusable = i2.tuiGetClosestFocusable({ initial: host, root: root, previous: previous });
660
+ while (focusable !== null && host.contains(focusable)) {
661
+ focusable = i2.tuiGetClosestFocusable({ initial: focusable, root: root, previous: previous });
662
+ }
663
+ focusable === null || focusable === void 0 ? void 0 : focusable.focus();
664
+ };
665
+ return TuiDropdownComponent;
666
+ }());
667
+ TuiDropdownComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownComponent, deps: [{ token: services.TuiPositionService }, { token: i2.TuiDestroyService }, { token: TuiDropdownDirective }, { token: i0.ElementRef }, { token: i2.AbstractTuiPortalHostComponent }, { token: i1$1.TuiRectAccessor }, { token: common.WINDOW }, { token: tokens.TUI_ANIMATION_OPTIONS }, { token: TUI_DROPDOWN_OPTIONS }, { token: TuiDropdownHoverDirective, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
668
+ TuiDropdownComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownComponent, selector: "tui-dropdown", host: { properties: { "@tuiDropdownAnimation": "this.dropdownAnimation" } }, providers: [i2.TuiDestroyService, services.TuiPositionService], ngImport: i0__namespace, template: "<div\n #activeZone=\"tuiActiveZone\"\n tuiActiveZone\n tuiOverscroll=\"all\"\n class=\"t-wrapper\"\n [tuiMode]=\"null\"\n (tuiHoveredChange)=\"onHoveredChange($event)\"\n>\n <tui-scrollbar class=\"t-scroll\">\n <div\n tabindex=\"0\"\n (focus)=\"onTopFocus()\"\n ></div>\n <div\n *polymorpheusOutlet=\"directive.content as text; context: {$implicit: activeZone}\"\n class=\"t-primitive\"\n >\n {{ text }}\n </div>\n <div\n tabindex=\"0\"\n (focus)=\"onBottomFocus()\"\n ></div>\n </tui-scrollbar>\n</div>\n", styles: [":host{position:relative;z-index:0;box-shadow:0 .5rem 1rem rgba(0,0,0,.16);position:absolute;display:flex;background-color:var(--tui-elevation-01);border-radius:var(--tui-radius-m);overflow:hidden;border:1px solid var(--tui-base-03);box-sizing:border-box;max-width:calc(100% - 8px)}:host.ng-animating{pointer-events:none}.t-wrapper{flex-grow:1;max-width:100%;max-height:inherit;overflow:visible}.t-scroll{height:100%}.t-primitive{padding:1rem}\n"], components: [{ type: i1__namespace$1.TuiScrollbarComponent, selector: "tui-scrollbar", inputs: ["hidden"] }], directives: [{ type: i2__namespace.TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }, { type: i2__namespace.TuiOverscrollDirective, selector: "[tuiOverscroll]", inputs: ["tuiOverscroll"] }, { type: i3__namespace.TuiModeDirective, selector: "[tuiMode]", inputs: ["tuiMode"] }, { type: i2__namespace.TuiHoveredDirective, selector: "[tuiHoveredChange]", outputs: ["tuiHoveredChange"] }, { type: i1__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [animations.tuiDropdownAnimation], changeDetection: i0__namespace.ChangeDetectionStrategy.Default });
669
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownComponent, decorators: [{
670
+ type: i0.Component,
671
+ args: [{
672
+ selector: "tui-dropdown",
673
+ templateUrl: "./dropdown.template.html",
674
+ styleUrls: ["./dropdown.style.less"],
675
+ changeDetection: i0.ChangeDetectionStrategy.Default,
676
+ providers: [i2.TuiDestroyService, services.TuiPositionService],
677
+ animations: [animations.tuiDropdownAnimation],
678
+ }]
679
+ }], ctorParameters: function () {
680
+ return [{ type: i5__namespace.Observable, decorators: [{
681
+ type: i0.Inject,
682
+ args: [services.TuiPositionService]
683
+ }] }, { type: i5__namespace.Observable, decorators: [{
684
+ type: i0.Inject,
685
+ args: [i2.TuiDestroyService]
686
+ }] }, { type: TuiDropdownDirective, decorators: [{
687
+ type: i0.Inject,
688
+ args: [TuiDropdownDirective]
689
+ }] }, { type: i0__namespace.ElementRef, decorators: [{
690
+ type: i0.Inject,
691
+ args: [i0.ElementRef]
692
+ }] }, { type: i2__namespace.AbstractTuiPortalHostComponent, decorators: [{
693
+ type: i0.Inject,
694
+ args: [i2.AbstractTuiPortalHostComponent]
695
+ }] }, { type: i1__namespace$2.TuiRectAccessor, decorators: [{
696
+ type: i0.Inject,
697
+ args: [i1$1.TuiRectAccessor]
698
+ }] }, { type: Window, decorators: [{
699
+ type: i0.Inject,
700
+ args: [common.WINDOW]
701
+ }] }, { type: undefined, decorators: [{
702
+ type: i0.Inject,
703
+ args: [tokens.TUI_ANIMATION_OPTIONS]
704
+ }] }, { type: undefined, decorators: [{
705
+ type: i0.Inject,
706
+ args: [TUI_DROPDOWN_OPTIONS]
707
+ }] }, { type: TuiDropdownHoverDirective, decorators: [{
708
+ type: i0.Optional
709
+ }, {
710
+ type: i0.Inject,
711
+ args: [TuiDropdownHoverDirective]
712
+ }] }];
713
+ }, propDecorators: { dropdownAnimation: [{
714
+ type: i0.HostBinding,
715
+ args: ["@tuiDropdownAnimation"]
716
+ }] } });
717
+
718
+ var TuiDropdownContextDirective = /** @class */ (function (_super) {
719
+ __extends(TuiDropdownContextDirective, _super);
720
+ function TuiDropdownContextDirective(dropdown) {
721
+ var _this = _super.call(this, function (subscriber) { return _this.stream$.subscribe(subscriber); }) || this;
722
+ _this.dropdown = dropdown;
723
+ _this.stream$ = new i5.Subject();
724
+ _this.currentRect = i2.EMPTY_CLIENT_RECT;
725
+ return _this;
726
+ }
727
+ TuiDropdownContextDirective.prototype.onContextMenu = function (x, y) {
728
+ this.currentRect = i2.tuiPointToClientRect(x, y);
729
+ this.stream$.next(true);
730
+ };
731
+ TuiDropdownContextDirective.prototype.onClick = function (target) {
732
+ var _a;
733
+ if (!((_a = this.dropdown.dropdownBoxRef) === null || _a === void 0 ? void 0 : _a.location.nativeElement.contains(target))) {
734
+ this.stream$.next(false);
735
+ }
736
+ };
737
+ TuiDropdownContextDirective.prototype.getClientRect = function () {
738
+ return this.currentRect;
739
+ };
740
+ return TuiDropdownContextDirective;
741
+ }(i1$1.TuiDriver));
742
+ TuiDropdownContextDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownContextDirective, deps: [{ token: TuiDropdownDirective }], target: i0__namespace.ɵɵFactoryTarget.Directive });
743
+ TuiDropdownContextDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownContextDirective, selector: "[tuiDropdown][tuiDropdownContext]", host: { listeners: { "contextmenu.prevent.stop": "onContextMenu($event.clientX,$event.clientY)", "document:click.silent": "onClick($event.target)", "document:contextmenu.silent": "onClick($event.target)", "document:keydown.esc": "onClick($event.currentTarget)" } }, providers: [
744
+ i1$1.tuiAsDriver(TuiDropdownContextDirective),
745
+ i1$1.tuiAsRectAccessor(TuiDropdownContextDirective),
746
+ ], usesInheritance: true, ngImport: i0__namespace });
747
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownContextDirective, decorators: [{
748
+ type: i0.Directive,
749
+ args: [{
750
+ selector: "[tuiDropdown][tuiDropdownContext]",
751
+ providers: [
752
+ i1$1.tuiAsDriver(TuiDropdownContextDirective),
753
+ i1$1.tuiAsRectAccessor(TuiDropdownContextDirective),
754
+ ],
755
+ }]
756
+ }], ctorParameters: function () {
757
+ return [{ type: TuiDropdownDirective, decorators: [{
758
+ type: i0.Inject,
759
+ args: [TuiDropdownDirective]
760
+ }] }];
761
+ }, propDecorators: { onContextMenu: [{
762
+ type: i0.HostListener,
763
+ args: ["contextmenu.prevent.stop", ["$event.clientX", "$event.clientY"]]
764
+ }], onClick: [{
765
+ type: i0.HostListener,
766
+ args: ["document:click.silent", ["$event.target"]]
767
+ }, {
768
+ type: i0.HostListener,
769
+ args: ["document:contextmenu.silent", ["$event.target"]]
770
+ }, {
771
+ type: i0.HostListener,
772
+ args: ["document:keydown.esc", ["$event.currentTarget"]]
773
+ }] } });
774
+
775
+ var TuiDropdownDriverDirective = /** @class */ (function (_super) {
776
+ __extends(TuiDropdownDriverDirective, _super);
777
+ function TuiDropdownDriverDirective() {
778
+ return _super !== null && _super.apply(this, arguments) || this;
779
+ }
780
+ return TuiDropdownDriverDirective;
781
+ }(i1$1.AbstractTuiDriverDirective));
782
+ TuiDropdownDriverDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownDriverDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
783
+ TuiDropdownDriverDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownDriverDirective, selector: "[tuiDropdown]", providers: [i2.TuiDestroyService], usesInheritance: true, ngImport: i0__namespace });
784
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownDriverDirective, decorators: [{
785
+ type: i0.Directive,
786
+ args: [{
787
+ selector: "[tuiDropdown]",
788
+ providers: [i2.TuiDestroyService],
789
+ }]
790
+ }] });
791
+
792
+ var TuiDropdownHostDirective = /** @class */ (function (_super) {
793
+ __extends(TuiDropdownHostDirective, _super);
794
+ function TuiDropdownHostDirective() {
795
+ return _super !== null && _super.apply(this, arguments) || this;
796
+ }
797
+ TuiDropdownHostDirective.prototype.getClientRect = function () {
798
+ var _a;
799
+ return ((_a = this.tuiDropdownHost) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect()) || i2.EMPTY_CLIENT_RECT;
800
+ };
801
+ return TuiDropdownHostDirective;
802
+ }(i1$1.TuiRectAccessor));
803
+ TuiDropdownHostDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownHostDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
804
+ TuiDropdownHostDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownHostDirective, selector: "[tuiDropdown][tuiDropdownHost]", inputs: { tuiDropdownHost: "tuiDropdownHost" }, providers: [i1$1.tuiAsRectAccessor(TuiDropdownHostDirective)], usesInheritance: true, ngImport: i0__namespace });
805
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownHostDirective, decorators: [{
806
+ type: i0.Directive,
807
+ args: [{
808
+ selector: "[tuiDropdown][tuiDropdownHost]",
809
+ providers: [i1$1.tuiAsRectAccessor(TuiDropdownHostDirective)],
810
+ }]
811
+ }], propDecorators: { tuiDropdownHost: [{
812
+ type: i0.Input
813
+ }] } });
814
+
815
+ var TuiDropdownManualDirective = /** @class */ (function (_super) {
816
+ __extends(TuiDropdownManualDirective, _super);
817
+ function TuiDropdownManualDirective() {
818
+ var _this = _super.call(this, function (subscriber) { return _this.stream$.subscribe(subscriber); }) || this;
819
+ _this.stream$ = new i5.Subject();
820
+ _this.tuiDropdownManual = false;
821
+ return _this;
822
+ }
823
+ TuiDropdownManualDirective.prototype.ngOnChanges = function () {
824
+ this.stream$.next(this.tuiDropdownManual);
825
+ };
826
+ return TuiDropdownManualDirective;
827
+ }(i1$1.TuiDriver));
828
+ TuiDropdownManualDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownManualDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
829
+ TuiDropdownManualDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownManualDirective, selector: "[tuiDropdown][tuiDropdownManual]", inputs: { tuiDropdownManual: "tuiDropdownManual" }, providers: [i1$1.tuiAsDriver(TuiDropdownManualDirective)], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
830
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownManualDirective, decorators: [{
831
+ type: i0.Directive,
832
+ args: [{
833
+ selector: "[tuiDropdown][tuiDropdownManual]",
834
+ providers: [i1$1.tuiAsDriver(TuiDropdownManualDirective)],
835
+ }]
836
+ }], ctorParameters: function () { return []; }, propDecorators: { tuiDropdownManual: [{
837
+ type: i0.Input
838
+ }] } });
839
+
840
+ var TuiDropdownPositionDirective = /** @class */ (function () {
841
+ function TuiDropdownPositionDirective(options, windowRef, accessor) {
842
+ this.options = options;
843
+ this.windowRef = windowRef;
844
+ this.accessor = accessor;
845
+ this.previous = this.options.direction || "bottom";
846
+ }
847
+ TuiDropdownPositionDirective.prototype.getPosition = function (_a) {
848
+ var width = _a.width, height = _a.height;
849
+ var hostRect = this.accessor.getClientRect();
850
+ var _b = this.windowRef, innerHeight = _b.innerHeight, innerWidth = _b.innerWidth;
851
+ var _c = this.options, minHeight = _c.minHeight, align = _c.align, direction = _c.direction;
852
+ var right = Math.max(hostRect.right - width, TUI_DROPDOWN_OFFSET);
853
+ var available = {
854
+ top: hostRect.top - 2 * TUI_DROPDOWN_OFFSET,
855
+ bottom: innerHeight - hostRect.bottom - 2 * TUI_DROPDOWN_OFFSET,
856
+ };
857
+ var position = {
858
+ top: hostRect.top - TUI_DROPDOWN_OFFSET - height,
859
+ bottom: hostRect.bottom + TUI_DROPDOWN_OFFSET,
860
+ right: right,
861
+ left: hostRect.left + width < innerWidth - TUI_DROPDOWN_OFFSET
862
+ ? hostRect.left
863
+ : right,
864
+ };
865
+ var better = available.top > available.bottom ? "top" : "bottom";
866
+ if ((available[this.previous] > minHeight && direction) ||
867
+ available[this.previous] > height ||
868
+ this.previous === better) {
869
+ return [position[this.previous], position[align]];
870
+ }
871
+ this.previous = better;
872
+ return [position[better], position[align]];
873
+ };
874
+ return TuiDropdownPositionDirective;
875
+ }());
876
+ TuiDropdownPositionDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownPositionDirective, deps: [{ token: TUI_DROPDOWN_OPTIONS }, { token: common.WINDOW }, { token: i1$1.TuiRectAccessor }], target: i0__namespace.ɵɵFactoryTarget.Directive });
877
+ TuiDropdownPositionDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownPositionDirective, selector: "[tuiDropdown]:not([tuiDropdownCustomPosition]):not([tuiDropdownSided])", providers: [i1$1.tuiAsPositionAccessor(TuiDropdownPositionDirective)], ngImport: i0__namespace });
878
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownPositionDirective, decorators: [{
879
+ type: i0.Directive,
880
+ args: [{
881
+ selector: "[tuiDropdown]:not([tuiDropdownCustomPosition]):not([tuiDropdownSided])",
882
+ providers: [i1$1.tuiAsPositionAccessor(TuiDropdownPositionDirective)],
883
+ }]
884
+ }], ctorParameters: function () {
885
+ return [{ type: undefined, decorators: [{
886
+ type: i0.Inject,
887
+ args: [TUI_DROPDOWN_OPTIONS]
888
+ }] }, { type: Window, decorators: [{
889
+ type: i0.Inject,
890
+ args: [common.WINDOW]
891
+ }] }, { type: i1__namespace$2.TuiRectAccessor, decorators: [{
892
+ type: i0.Inject,
893
+ args: [i1$1.TuiRectAccessor]
894
+ }] }];
895
+ } });
896
+
897
+ var TuiDropdownPositionSidedDirective = /** @class */ (function () {
898
+ function TuiDropdownPositionSidedDirective(options, windowRef, accessor) {
899
+ this.options = options;
900
+ this.windowRef = windowRef;
901
+ this.accessor = accessor;
902
+ this.previous = this.options.direction || "bottom";
903
+ }
904
+ TuiDropdownPositionSidedDirective.prototype.getPosition = function (_a) {
905
+ var height = _a.height, width = _a.width;
906
+ var hostRect = this.accessor.getClientRect();
907
+ var _b = this.windowRef, innerHeight = _b.innerHeight, innerWidth = _b.innerWidth;
908
+ var _c = this.options, align = _c.align, direction = _c.direction, minHeight = _c.minHeight;
909
+ var available = {
910
+ top: hostRect.bottom,
911
+ left: hostRect.left - TUI_DROPDOWN_OFFSET,
912
+ right: innerWidth - hostRect.right - TUI_DROPDOWN_OFFSET,
913
+ bottom: innerHeight - hostRect.top,
914
+ };
915
+ var position = {
916
+ top: hostRect.bottom - height + 2 * TUI_DROPDOWN_OFFSET + 1,
917
+ left: hostRect.left - width - TUI_DROPDOWN_OFFSET,
918
+ right: hostRect.right + TUI_DROPDOWN_OFFSET,
919
+ bottom: hostRect.top - 2 * TUI_DROPDOWN_OFFSET - 1, // 1 for border
920
+ };
921
+ var better = available.top > available.bottom ? "top" : "bottom";
922
+ var maxLeft = available.left > available.right ? position.left : position.right;
923
+ var left = available[align] > width ? position[align] : maxLeft;
924
+ if ((available[this.previous] > minHeight && direction) ||
925
+ this.previous === better) {
926
+ return [position[this.previous], left];
927
+ }
928
+ this.previous = better;
929
+ return [position[better], left];
930
+ };
931
+ return TuiDropdownPositionSidedDirective;
932
+ }());
933
+ TuiDropdownPositionSidedDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownPositionSidedDirective, deps: [{ token: TUI_DROPDOWN_OPTIONS }, { token: common.WINDOW }, { token: i1$1.TuiRectAccessor }], target: i0__namespace.ɵɵFactoryTarget.Directive });
934
+ TuiDropdownPositionSidedDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownPositionSidedDirective, selector: "[tuiDropdownSided]", providers: [i1$1.tuiAsPositionAccessor(TuiDropdownPositionSidedDirective)], ngImport: i0__namespace });
935
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownPositionSidedDirective, decorators: [{
936
+ type: i0.Directive,
937
+ args: [{
938
+ selector: "[tuiDropdownSided]",
939
+ providers: [i1$1.tuiAsPositionAccessor(TuiDropdownPositionSidedDirective)],
940
+ }]
941
+ }], ctorParameters: function () {
942
+ return [{ type: undefined, decorators: [{
943
+ type: i0.Inject,
944
+ args: [TUI_DROPDOWN_OPTIONS]
945
+ }] }, { type: Window, decorators: [{
946
+ type: i0.Inject,
947
+ args: [common.WINDOW]
948
+ }] }, { type: i1__namespace$2.TuiRectAccessor, decorators: [{
949
+ type: i0.Inject,
950
+ args: [i1$1.TuiRectAccessor]
951
+ }] }];
952
+ } });
953
+
954
+ var TuiDropdownSelectionDirective = /** @class */ (function (_super) {
955
+ __extends(TuiDropdownSelectionDirective, _super);
956
+ function TuiDropdownSelectionDirective(range, documentRef, selection$, elementRef, viewContainerRef, dropdown) {
957
+ var _this = _super.call(this, function (subscriber) { return _this.stream$.subscribe(subscriber); }) || this;
958
+ _this.range = range;
959
+ _this.documentRef = documentRef;
960
+ _this.selection$ = selection$;
961
+ _this.elementRef = elementRef;
962
+ _this.viewContainerRef = viewContainerRef;
963
+ _this.dropdown = dropdown;
964
+ _this.handler$ = new i5.BehaviorSubject(i2.ALWAYS_TRUE_HANDLER);
965
+ _this.stream$ = i5.combineLatest([
966
+ _this.handler$,
967
+ _this.selection$.pipe(operators.map(function () { return _this.getRange(); }), operators.distinctUntilChanged()),
968
+ ]).pipe(operators.map(function (_b) {
969
+ var _c = __read(_b, 2), handler = _c[0], range = _c[1];
970
+ var contained = _this.elementRef.nativeElement.contains(range.commonAncestorContainer);
971
+ _this.range =
972
+ contained && i2.tuiIsTextNode(range.commonAncestorContainer)
973
+ ? range
974
+ : _this.range;
975
+ return (contained && handler(_this.range)) || _this.inDropdown(range);
976
+ }));
977
+ _this.position = "selection";
978
+ return _this;
979
+ }
980
+ Object.defineProperty(TuiDropdownSelectionDirective.prototype, "tuiDropdownSelection", {
981
+ set: function (visible) {
982
+ if (!i2.tuiIsString(visible)) {
983
+ this.handler$.next(visible);
984
+ }
985
+ },
986
+ enumerable: false,
987
+ configurable: true
988
+ });
989
+ TuiDropdownSelectionDirective.prototype.getClientRect = function () {
990
+ switch (this.position) {
991
+ case "tag": {
992
+ var commonAncestorContainer = this.range.commonAncestorContainer;
993
+ var element = i2.tuiIsElement(commonAncestorContainer)
994
+ ? commonAncestorContainer
995
+ : commonAncestorContainer.parentNode;
996
+ return element && i2.tuiIsElement(element)
997
+ ? element.getBoundingClientRect()
998
+ : i2.EMPTY_CLIENT_RECT;
999
+ }
1000
+ case "word":
1001
+ return utils.tuiGetWordRange(this.range).getBoundingClientRect();
1002
+ default:
1003
+ return this.range.getBoundingClientRect();
1004
+ }
1005
+ };
1006
+ TuiDropdownSelectionDirective.prototype.ngOnDestroy = function () {
1007
+ if (this.ghost) {
1008
+ this.viewContainerRef.element.nativeElement.removeChild(this.ghost);
1009
+ }
1010
+ };
1011
+ TuiDropdownSelectionDirective.prototype.getRange = function () {
1012
+ var nativeElement = this.elementRef.nativeElement;
1013
+ var active = i2.tuiGetNativeFocused(this.documentRef);
1014
+ var selection = this.documentRef.getSelection();
1015
+ if (active && i2.tuiIsTextfield(active) && nativeElement.contains(active)) {
1016
+ return this.veryVerySadInputFix(active);
1017
+ }
1018
+ return (selection === null || selection === void 0 ? void 0 : selection.rangeCount) ? selection.getRangeAt(0) : this.range;
1019
+ };
1020
+ /**
1021
+ * Check if Node is inside dropdown
1022
+ */
1023
+ TuiDropdownSelectionDirective.prototype.boxContains = function (node) {
1024
+ var _a;
1025
+ return !!((_a = this.dropdown.dropdownBoxRef) === null || _a === void 0 ? void 0 : _a.location.nativeElement.contains(node));
1026
+ };
1027
+ /**
1028
+ * Check if given range is at least partially inside dropdown
1029
+ */
1030
+ TuiDropdownSelectionDirective.prototype.inDropdown = function (range) {
1031
+ var startContainer = range.startContainer, endContainer = range.endContainer;
1032
+ var nativeElement = this.elementRef.nativeElement;
1033
+ var inDropdown = this.boxContains(range.commonAncestorContainer);
1034
+ var hostToDropdown = this.boxContains(endContainer) && nativeElement.contains(startContainer);
1035
+ var dropdownToHost = this.boxContains(startContainer) && nativeElement.contains(endContainer);
1036
+ return inDropdown || hostToDropdown || dropdownToHost;
1037
+ };
1038
+ TuiDropdownSelectionDirective.prototype.veryVerySadInputFix = function (element) {
1039
+ var _b = this.ghost, ghost = _b === void 0 ? this.initGhost(element) : _b;
1040
+ var _c = element.getBoundingClientRect(), top = _c.top, left = _c.left, width = _c.width, height = _c.height;
1041
+ var selectionStart = element.selectionStart, selectionEnd = element.selectionEnd, value = element.value;
1042
+ var range = this.documentRef.createRange();
1043
+ var hostRect = this.elementRef.nativeElement.getBoundingClientRect();
1044
+ ghost.style.top = i2.tuiPx(top - hostRect.top);
1045
+ ghost.style.left = i2.tuiPx(left - hostRect.left);
1046
+ ghost.style.width = i2.tuiPx(width);
1047
+ ghost.style.height = i2.tuiPx(height);
1048
+ ghost.textContent = i2.CHAR_ZERO_WIDTH_SPACE + value + i2.CHAR_NO_BREAK_SPACE;
1049
+ range.setStart(ghost.firstChild, selectionStart || 0);
1050
+ range.setEnd(ghost.firstChild, selectionEnd || 0);
1051
+ return range;
1052
+ };
1053
+ /**
1054
+ * Create an invisible DIV styled exactly like input/textarea element inside directive
1055
+ */
1056
+ TuiDropdownSelectionDirective.prototype.initGhost = function (element) {
1057
+ var ghost = this.documentRef.createElement("div");
1058
+ var nativeElement = this.viewContainerRef.element.nativeElement;
1059
+ var _b = getComputedStyle(element), font = _b.font, letterSpacing = _b.letterSpacing, textTransform = _b.textTransform, padding = _b.padding;
1060
+ ghost.style.position = "absolute";
1061
+ ghost.style.pointerEvents = "none";
1062
+ ghost.style.opacity = "0";
1063
+ ghost.style.whiteSpace = "pre-wrap";
1064
+ ghost.style.font = font;
1065
+ ghost.style.letterSpacing = letterSpacing;
1066
+ ghost.style.textTransform = textTransform;
1067
+ ghost.style.padding = padding;
1068
+ nativeElement.appendChild(ghost);
1069
+ this.ghost = ghost;
1070
+ return ghost;
1071
+ };
1072
+ return TuiDropdownSelectionDirective;
1073
+ }(i1$1.TuiDriver));
1074
+ TuiDropdownSelectionDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownSelectionDirective, deps: [{ token: i2.TUI_RANGE }, { token: common$1.DOCUMENT }, { token: tokens.TUI_SELECTION_STREAM }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: TuiDropdownDirective }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1075
+ TuiDropdownSelectionDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDropdownSelectionDirective, selector: "[tuiDropdown][tuiDropdownSelection]", inputs: { position: ["tuiDropdownSelectionPosition", "position"], tuiDropdownSelection: "tuiDropdownSelection" }, providers: [
1076
+ i1$1.tuiAsDriver(TuiDropdownSelectionDirective),
1077
+ i1$1.tuiAsRectAccessor(TuiDropdownSelectionDirective),
1078
+ ], usesInheritance: true, ngImport: i0__namespace });
1079
+ __decorate([
1080
+ i2.tuiDefaultProp()
1081
+ ], TuiDropdownSelectionDirective.prototype, "position", void 0);
1082
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownSelectionDirective, decorators: [{
1083
+ type: i0.Directive,
1084
+ args: [{
1085
+ selector: "[tuiDropdown][tuiDropdownSelection]",
1086
+ providers: [
1087
+ i1$1.tuiAsDriver(TuiDropdownSelectionDirective),
1088
+ i1$1.tuiAsRectAccessor(TuiDropdownSelectionDirective),
1089
+ ],
1090
+ }]
1091
+ }], ctorParameters: function () {
1092
+ return [{ type: Range, decorators: [{
1093
+ type: i0.Inject,
1094
+ args: [i2.TUI_RANGE]
1095
+ }] }, { type: Document, decorators: [{
1096
+ type: i0.Inject,
1097
+ args: [common$1.DOCUMENT]
1098
+ }] }, { type: i5__namespace.Observable, decorators: [{
1099
+ type: i0.Inject,
1100
+ args: [tokens.TUI_SELECTION_STREAM]
1101
+ }] }, { type: i0__namespace.ElementRef, decorators: [{
1102
+ type: i0.Inject,
1103
+ args: [i0.ElementRef]
1104
+ }] }, { type: i0__namespace.ViewContainerRef, decorators: [{
1105
+ type: i0.Inject,
1106
+ args: [i0.ViewContainerRef]
1107
+ }] }, { type: TuiDropdownDirective, decorators: [{
1108
+ type: i0.Inject,
1109
+ args: [TuiDropdownDirective]
1110
+ }] }];
1111
+ }, propDecorators: { position: [{
1112
+ type: i0.Input,
1113
+ args: ["tuiDropdownSelectionPosition"]
1114
+ }], tuiDropdownSelection: [{
1115
+ type: i0.Input
1116
+ }] } });
304
1117
 
305
1118
  var TuiDropdownModule = /** @class */ (function () {
306
1119
  function TuiDropdownModule() {
307
1120
  }
308
- TuiDropdownModule = __decorate([
309
- core.NgModule({
310
- imports: [dropdownBox.TuiDropdownBoxModule],
311
- declarations: [TuiDropdownDirective],
312
- exports: [TuiDropdownDirective],
313
- })
314
- ], TuiDropdownModule);
315
1121
  return TuiDropdownModule;
316
1122
  }());
1123
+ TuiDropdownModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1124
+ TuiDropdownModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownModule, declarations: [TuiDropdownDirective,
1125
+ TuiDropdownComponent,
1126
+ TuiDropdownOptionsDirective,
1127
+ TuiDropdownHostDirective,
1128
+ TuiDropdownDriverDirective,
1129
+ TuiDropdownManualDirective,
1130
+ TuiDropdownHoverDirective,
1131
+ TuiDropdownContextDirective,
1132
+ TuiDropdownPositionDirective,
1133
+ TuiDropdownPositionSidedDirective,
1134
+ TuiDropdownSelectionDirective], imports: [i1.PolymorpheusModule,
1135
+ i2.TuiActiveZoneModule,
1136
+ i2.TuiOverscrollModule,
1137
+ i1$2.TuiScrollbarModule,
1138
+ i3.TuiModeModule,
1139
+ i2.TuiHoveredModule], exports: [TuiDropdownDirective,
1140
+ TuiDropdownComponent,
1141
+ TuiDropdownOptionsDirective,
1142
+ TuiDropdownHostDirective,
1143
+ TuiDropdownDriverDirective,
1144
+ TuiDropdownManualDirective,
1145
+ TuiDropdownHoverDirective,
1146
+ TuiDropdownContextDirective,
1147
+ TuiDropdownPositionDirective,
1148
+ TuiDropdownPositionSidedDirective,
1149
+ TuiDropdownSelectionDirective] });
1150
+ TuiDropdownModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownModule, imports: [[
1151
+ i1.PolymorpheusModule,
1152
+ i2.TuiActiveZoneModule,
1153
+ i2.TuiOverscrollModule,
1154
+ i1$2.TuiScrollbarModule,
1155
+ i3.TuiModeModule,
1156
+ i2.TuiHoveredModule,
1157
+ ]] });
1158
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiDropdownModule, decorators: [{
1159
+ type: i0.NgModule,
1160
+ args: [{
1161
+ imports: [
1162
+ i1.PolymorpheusModule,
1163
+ i2.TuiActiveZoneModule,
1164
+ i2.TuiOverscrollModule,
1165
+ i1$2.TuiScrollbarModule,
1166
+ i3.TuiModeModule,
1167
+ i2.TuiHoveredModule,
1168
+ ],
1169
+ declarations: [
1170
+ TuiDropdownDirective,
1171
+ TuiDropdownComponent,
1172
+ TuiDropdownOptionsDirective,
1173
+ TuiDropdownHostDirective,
1174
+ TuiDropdownDriverDirective,
1175
+ TuiDropdownManualDirective,
1176
+ TuiDropdownHoverDirective,
1177
+ TuiDropdownContextDirective,
1178
+ TuiDropdownPositionDirective,
1179
+ TuiDropdownPositionSidedDirective,
1180
+ TuiDropdownSelectionDirective,
1181
+ ],
1182
+ exports: [
1183
+ TuiDropdownDirective,
1184
+ TuiDropdownComponent,
1185
+ TuiDropdownOptionsDirective,
1186
+ TuiDropdownHostDirective,
1187
+ TuiDropdownDriverDirective,
1188
+ TuiDropdownManualDirective,
1189
+ TuiDropdownHoverDirective,
1190
+ TuiDropdownContextDirective,
1191
+ TuiDropdownPositionDirective,
1192
+ TuiDropdownPositionSidedDirective,
1193
+ TuiDropdownSelectionDirective,
1194
+ ],
1195
+ }]
1196
+ }] });
1197
+
1198
+ /**
1199
+ * Generated bundle index. Do not edit.
1200
+ */
317
1201
 
1202
+ exports.TUI_DROPDOWN_COMPONENT = TUI_DROPDOWN_COMPONENT;
1203
+ exports.TUI_DROPDOWN_DEFAULT_OPTIONS = TUI_DROPDOWN_DEFAULT_OPTIONS;
1204
+ exports.TUI_DROPDOWN_OFFSET = TUI_DROPDOWN_OFFSET;
1205
+ exports.TUI_DROPDOWN_OPTIONS = TUI_DROPDOWN_OPTIONS;
1206
+ exports.TuiDropdownComponent = TuiDropdownComponent;
1207
+ exports.TuiDropdownContextDirective = TuiDropdownContextDirective;
318
1208
  exports.TuiDropdownDirective = TuiDropdownDirective;
1209
+ exports.TuiDropdownDriverDirective = TuiDropdownDriverDirective;
1210
+ exports.TuiDropdownHostDirective = TuiDropdownHostDirective;
1211
+ exports.TuiDropdownHoverDirective = TuiDropdownHoverDirective;
1212
+ exports.TuiDropdownManualDirective = TuiDropdownManualDirective;
319
1213
  exports.TuiDropdownModule = TuiDropdownModule;
1214
+ exports.TuiDropdownOptionsDirective = TuiDropdownOptionsDirective;
1215
+ exports.TuiDropdownPositionDirective = TuiDropdownPositionDirective;
1216
+ exports.TuiDropdownPositionSidedDirective = TuiDropdownPositionSidedDirective;
1217
+ exports.TuiDropdownSelectionDirective = TuiDropdownSelectionDirective;
1218
+ exports.tuiDropdownOptionsProvider = tuiDropdownOptionsProvider;
320
1219
 
321
1220
  Object.defineProperty(exports, '__esModule', { value: true });
322
1221
 
323
- })));
1222
+ }));
324
1223
  //# sourceMappingURL=taiga-ui-core-directives-dropdown.umd.js.map