@taiga-ui/core 3.58.0 → 3.59.0-canary.10da730

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