@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,303 @@
1
+ import { __decorate } from 'tslib';
2
+ import * as i0 from '@angular/core';
3
+ import { forwardRef, ElementRef, Component, ChangeDetectionStrategy, Optional, Inject, Self, Input, HostBinding, HostListener, ViewEncapsulation, ContentChildren, Directive, NgModule } from '@angular/core';
4
+ import { tuiIsNativeFocused, EMPTY_QUERY, tuiQueryListChanges, tuiMoveFocus, tuiIsNativeFocusedIn, tuiSetNativeMouseFocused, tuiIsPresent, tuiIsElement, tuiPure } from '@taiga-ui/cdk';
5
+ import * as i3$1 from '@taiga-ui/core/directives';
6
+ import { TUI_TEXTFIELD_WATCHED_CONTROLLER, TEXTFIELD_CONTROLLER_PROVIDER } from '@taiga-ui/core/directives';
7
+ import { TUI_OPTION_CONTENT, TUI_DATA_LIST_HOST, TUI_COMMON_ICONS, TUI_NOTHING_FOUND_MESSAGE, tuiAsDataListAccessor } from '@taiga-ui/core/tokens';
8
+ import * as i4 from 'rxjs';
9
+ import { map } from 'rxjs';
10
+ import * as i5 from '@taiga-ui/core/directives/dropdown';
11
+ import { TuiDropdownDirective } from '@taiga-ui/core/directives/dropdown';
12
+ import { shouldCall } from '@tinkoff/ng-event-plugins';
13
+ import * as i1 from '@angular/common';
14
+ import { CommonModule } from '@angular/common';
15
+ import * as i2 from '@taiga-ui/core/components/svg';
16
+ import { TuiSvgModule } from '@taiga-ui/core/components/svg';
17
+ import * as i3 from '@tinkoff/ng-polymorpheus';
18
+ import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
19
+
20
+ function shouldFocus({ currentTarget }) {
21
+ return !tuiIsNativeFocused(currentTarget);
22
+ }
23
+ // TODO: Consider all use cases for aria roles
24
+ class TuiOptionComponent {
25
+ constructor(content, dataList, el, host, dropdown, icons) {
26
+ this.content = content;
27
+ this.dataList = dataList;
28
+ this.el = el;
29
+ this.host = host;
30
+ this.dropdown = dropdown;
31
+ this.icons = icons;
32
+ /** @deprecated use size on {@link TuiDataListComponent} instead */
33
+ this.size = null;
34
+ this.role = 'option';
35
+ this.disabled = false;
36
+ }
37
+ get active() {
38
+ return !!this.dropdown && !!this.dropdown.dropdownBoxRef;
39
+ }
40
+ onClick() {
41
+ if (this.host && this.value !== undefined) {
42
+ this.host.handleOption(this.value);
43
+ }
44
+ }
45
+ // @bad TODO: Consider aria-activedescendant for proper accessibility implementation
46
+ onMouseMove({ currentTarget }) {
47
+ currentTarget.focus({ preventScroll: true });
48
+ }
49
+ // Preventing focus loss upon focused option removal
50
+ ngOnDestroy() {
51
+ var _a;
52
+ (_a = this.dataList) === null || _a === void 0 ? void 0 : _a.handleFocusLossIfNecessary(this.el.nativeElement);
53
+ }
54
+ }
55
+ TuiOptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiOptionComponent, deps: [{ token: TUI_OPTION_CONTENT, optional: true }, { token: forwardRef(() => TuiDataListComponent), optional: true }, { token: ElementRef }, { token: TUI_DATA_LIST_HOST, optional: true }, { token: TuiDropdownDirective, optional: true, self: true }, { token: TUI_COMMON_ICONS }], target: i0.ɵɵFactoryTarget.Component });
56
+ TuiOptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiOptionComponent, selector: "button[tuiOption], a[tuiOption]", inputs: { size: "size", role: "role", disabled: "disabled", value: "value" }, host: { attributes: { "tabIndex": "-1", "type": "button" }, listeners: { "click": "onClick()", "mousemove.silent": "onMouseMove($event)" }, properties: { "attr.disabled": "disabled || null", "attr.data-size": "this.size", "attr.role": "this.role", "class._with-dropdown": "this.active" } }, ngImport: i0, template: "<ng-container *polymorpheusOutlet=\"content || base as text; context: {$implicit: base}\">\n {{ text }}\n</ng-container>\n<ng-template #base>\n <ng-content></ng-content>\n <tui-svg\n *ngIf=\"dropdown\"\n class=\"t-arrow\"\n [src]=\"icons.more\"\n ></tui-svg>\n</ng-template>\n", styles: [":host{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;justify-content:space-between;text-align:left;color:var(--tui-text-01);border-radius:var(--tui-radius-s);outline:none;cursor:pointer;background-clip:padding-box}:host:disabled{opacity:var(--tui-disabled-opacity);cursor:default}:host:focus,:host._with-dropdown{background-color:var(--tui-clear)}:host :host-context([data-list-size=\"s\"]),:host :host-context([data-list-size=\"xs\"]),:host[data-size=s][data-size=s],:host[data-size=xs][data-size=xs]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem}:host :host-context([data-list-size=\"m\"]),:host[data-size=m][data-size=m]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem}:host :host-context([data-list-size=\"l\"]),:host[data-size=l][data-size=l]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem}.t-arrow{margin:0 -.5rem 0 .75rem}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }, { kind: "directive", type: i3.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
57
+ __decorate([
58
+ shouldCall(shouldFocus)
59
+ ], TuiOptionComponent.prototype, "onMouseMove", null);
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiOptionComponent, decorators: [{
61
+ type: Component,
62
+ args: [{ selector: 'button[tuiOption], a[tuiOption]', changeDetection: ChangeDetectionStrategy.OnPush, host: {
63
+ tabIndex: '-1',
64
+ type: 'button',
65
+ '[attr.disabled]': 'disabled || null',
66
+ }, template: "<ng-container *polymorpheusOutlet=\"content || base as text; context: {$implicit: base}\">\n {{ text }}\n</ng-container>\n<ng-template #base>\n <ng-content></ng-content>\n <tui-svg\n *ngIf=\"dropdown\"\n class=\"t-arrow\"\n [src]=\"icons.more\"\n ></tui-svg>\n</ng-template>\n", styles: [":host{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;justify-content:space-between;text-align:left;color:var(--tui-text-01);border-radius:var(--tui-radius-s);outline:none;cursor:pointer;background-clip:padding-box}:host:disabled{opacity:var(--tui-disabled-opacity);cursor:default}:host:focus,:host._with-dropdown{background-color:var(--tui-clear)}:host :host-context([data-list-size=\"s\"]),:host :host-context([data-list-size=\"xs\"]),:host[data-size=s][data-size=s],:host[data-size=xs][data-size=xs]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem}:host :host-context([data-list-size=\"m\"]),:host[data-size=m][data-size=m]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem}:host :host-context([data-list-size=\"l\"]),:host[data-size=l][data-size=l]{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem}.t-arrow{margin:0 -.5rem 0 .75rem}\n"] }]
67
+ }], ctorParameters: function () {
68
+ return [{ type: undefined, decorators: [{
69
+ type: Optional
70
+ }, {
71
+ type: Inject,
72
+ args: [TUI_OPTION_CONTENT]
73
+ }] }, { type: TuiDataListComponent, decorators: [{
74
+ type: Optional
75
+ }, {
76
+ type: Inject,
77
+ args: [forwardRef(() => TuiDataListComponent)]
78
+ }] }, { type: i0.ElementRef, decorators: [{
79
+ type: Inject,
80
+ args: [ElementRef]
81
+ }] }, { type: undefined, decorators: [{
82
+ type: Optional
83
+ }, {
84
+ type: Inject,
85
+ args: [TUI_DATA_LIST_HOST]
86
+ }] }, { type: i5.TuiDropdownDirective, decorators: [{
87
+ type: Optional
88
+ }, {
89
+ type: Self
90
+ }, {
91
+ type: Inject,
92
+ args: [TuiDropdownDirective]
93
+ }] }, { type: undefined, decorators: [{
94
+ type: Inject,
95
+ args: [TUI_COMMON_ICONS]
96
+ }] }];
97
+ }, propDecorators: { size: [{
98
+ type: Input
99
+ }, {
100
+ type: HostBinding,
101
+ args: ['attr.data-size']
102
+ }], role: [{
103
+ type: Input
104
+ }, {
105
+ type: HostBinding,
106
+ args: ['attr.role']
107
+ }], disabled: [{
108
+ type: Input
109
+ }], value: [{
110
+ type: Input
111
+ }], active: [{
112
+ type: HostBinding,
113
+ args: ['class._with-dropdown']
114
+ }], onClick: [{
115
+ type: HostListener,
116
+ args: ['click']
117
+ }], onMouseMove: [{
118
+ type: HostListener,
119
+ args: ['mousemove.silent', ['$event']]
120
+ }] } });
121
+
122
+ // TODO: Consider aria-activedescendant for proper accessibility implementation
123
+ class TuiDataListComponent {
124
+ constructor(controller, el, defaultEmptyContent$) {
125
+ var _a;
126
+ this.controller = controller;
127
+ this.el = el;
128
+ this.defaultEmptyContent$ = defaultEmptyContent$;
129
+ this.options = EMPTY_QUERY;
130
+ this.role = 'listbox';
131
+ this.size = ((_a = this.controller) === null || _a === void 0 ? void 0 : _a.size) || 'm';
132
+ }
133
+ get empty$() {
134
+ return tuiQueryListChanges(this.options).pipe(map(({ length }) => !length));
135
+ }
136
+ onFocusIn(relatedTarget, currentTarget) {
137
+ if (!currentTarget.contains(relatedTarget) && !this.origin) {
138
+ this.origin = relatedTarget;
139
+ }
140
+ }
141
+ noop() { }
142
+ onKeyDownArrow(current, step) {
143
+ const { elements } = this;
144
+ tuiMoveFocus(elements.indexOf(current), elements, step);
145
+ }
146
+ // TODO: Consider aria-activedescendant for proper accessibility implementation
147
+ handleFocusLossIfNecessary(element = this.el.nativeElement) {
148
+ if (this.origin && tuiIsNativeFocusedIn(element)) {
149
+ tuiSetNativeMouseFocused(this.origin, true, true);
150
+ }
151
+ }
152
+ getOptions(includeDisabled = false) {
153
+ return this.options
154
+ .filter(({ disabled }) => includeDisabled || !disabled)
155
+ .map(({ value }) => value)
156
+ .filter(tuiIsPresent);
157
+ }
158
+ onFocus({ target }, top) {
159
+ if (!tuiIsElement(target)) {
160
+ return;
161
+ }
162
+ const { elements } = this;
163
+ tuiMoveFocus(top ? -1 : elements.length, elements, top ? 1 : -1);
164
+ this.handleFocusLossIfNecessary(target);
165
+ }
166
+ get elements() {
167
+ return Array.from(this.el.nativeElement.querySelectorAll('[tuiOption]'));
168
+ }
169
+ }
170
+ TuiDataListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDataListComponent, deps: [{ token: TUI_TEXTFIELD_WATCHED_CONTROLLER, optional: true }, { token: ElementRef }, { token: TUI_NOTHING_FOUND_MESSAGE }], target: i0.ɵɵFactoryTarget.Component });
171
+ TuiDataListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiDataListComponent, selector: "tui-data-list", inputs: { role: "role", emptyContent: "emptyContent", size: "size" }, host: { listeners: { "focusin": "onFocusIn($event.relatedTarget,$event.currentTarget)", "mousedown.prevent": "noop()", "keydown.arrowDown.prevent": "onKeyDownArrow($event.target,1)", "keydown.arrowUp.prevent": "onKeyDownArrow($event.target,-1)", "wheel.silent.passive": "handleFocusLossIfNecessary()", "mouseleave": "handleFocusLossIfNecessary($event.target)" }, properties: { "attr.role": "this.role", "attr.data-list-size": "this.size" } }, providers: [
172
+ tuiAsDataListAccessor(TuiDataListComponent),
173
+ TEXTFIELD_CONTROLLER_PROVIDER,
174
+ ], queries: [{ propertyName: "options", predicate: i0.forwardRef(function () { return TuiOptionComponent; }), descendants: true }], ngImport: i0, template: "<div\n tabindex=\"0\"\n class=\"t-trap\"\n (focusin)=\"onFocus($event, true)\"\n></div>\n<ng-content></ng-content>\n<div\n *ngIf=\"empty$ | async\"\n class=\"t-empty\"\n>\n <ng-container *polymorpheusOutlet=\"emptyContent || (defaultEmptyContent$ | async) as text\">\n {{ text }}\n </ng-container>\n</div>\n<div\n tabindex=\"0\"\n class=\"t-trap\"\n (focusin)=\"onFocus($event, false)\"\n></div>\n", styles: ["tui-data-list{--tui-data-list-padding: .25rem;--tui-data-list-margin: .0625rem;display:flex;font:var(--tui-font-text-m);flex-direction:column;padding:calc(var(--tui-data-list-padding) - var(--tui-data-list-margin)) var(--tui-data-list-padding);color:var(--tui-text-03)}tui-data-list:focus-within .t-trap{display:none}tui-data-list:focus-within [tuiOption]._with-dropdown:not(:focus){background-color:transparent}tui-data-list[data-list-size=s]{--tui-data-list-margin: 0rem}tui-data-list[data-list-size=s]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem}tui-data-list[data-list-size=m]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem}tui-data-list[data-list-size=l]{--tui-data-list-padding: .375rem;--tui-data-list-margin: .125rem}tui-data-list[data-list-size=l]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem}tui-opt-group{position:relative;display:flex;font:var(--tui-font-text-xs);color:var(--tui-text-02);flex-direction:column;line-height:1rem}tui-data-list[data-list-size=l] tui-opt-group{font:var(--tui-font-text-s);line-height:1.25rem}tui-data-list[data-list-size=l] tui-opt-group:before{padding-left:.625rem;padding-right:.625rem}tui-data-list[data-list-size=l] tui-opt-group:after{left:.625rem;right:.625rem}tui-opt-group:empty:before,tui-opt-group:empty:after{display:none}tui-opt-group:before{content:attr(data-label);padding:var(--tui-data-list-padding) .5rem var(--tui-data-list-padding);margin:var(--tui-data-list-margin) 0;white-space:normal;word-break:break-word}tui-opt-group:after{position:absolute;left:.5rem;right:.5rem;top:var(--tui-data-list-padding);height:1px;background:var(--tui-base-03)}tui-opt-group:not(:empty)~tui-opt-group:before{padding-top:calc(.75rem + var(--tui-data-list-padding))}tui-opt-group:not(:empty)~tui-opt-group[data-label=\"\"]:before,tui-opt-group:not(:empty)~tui-opt-group:not([data-label]):before{padding:var(--tui-data-list-padding) 0}tui-opt-group:not(:empty)~tui-opt-group:after{content:\"\"}tui-opt-group[data-label=\"\"]:before,tui-opt-group:not([data-label]):before{padding:0;margin:0}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
175
+ __decorate([
176
+ tuiPure
177
+ ], TuiDataListComponent.prototype, "empty$", null);
178
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDataListComponent, decorators: [{
179
+ type: Component,
180
+ args: [{ selector: 'tui-data-list', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [
181
+ tuiAsDataListAccessor(TuiDataListComponent),
182
+ TEXTFIELD_CONTROLLER_PROVIDER,
183
+ ], template: "<div\n tabindex=\"0\"\n class=\"t-trap\"\n (focusin)=\"onFocus($event, true)\"\n></div>\n<ng-content></ng-content>\n<div\n *ngIf=\"empty$ | async\"\n class=\"t-empty\"\n>\n <ng-container *polymorpheusOutlet=\"emptyContent || (defaultEmptyContent$ | async) as text\">\n {{ text }}\n </ng-container>\n</div>\n<div\n tabindex=\"0\"\n class=\"t-trap\"\n (focusin)=\"onFocus($event, false)\"\n></div>\n", styles: ["tui-data-list{--tui-data-list-padding: .25rem;--tui-data-list-margin: .0625rem;display:flex;font:var(--tui-font-text-m);flex-direction:column;padding:calc(var(--tui-data-list-padding) - var(--tui-data-list-margin)) var(--tui-data-list-padding);color:var(--tui-text-03)}tui-data-list:focus-within .t-trap{display:none}tui-data-list:focus-within [tuiOption]._with-dropdown:not(:focus){background-color:transparent}tui-data-list[data-list-size=s]{--tui-data-list-margin: 0rem}tui-data-list[data-list-size=s]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2rem;padding:.3125rem .5rem}tui-data-list[data-list-size=m]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-s);min-height:2.5rem;padding:.375rem .5rem}tui-data-list[data-list-size=l]{--tui-data-list-padding: .375rem;--tui-data-list-margin: .125rem}tui-data-list[data-list-size=l]>.t-empty{display:flex;align-items:center;box-sizing:border-box;margin:var(--tui-data-list-margin) 0;font:var(--tui-font-text-m);min-height:2.75rem;padding:.375rem .625rem}tui-opt-group{position:relative;display:flex;font:var(--tui-font-text-xs);color:var(--tui-text-02);flex-direction:column;line-height:1rem}tui-data-list[data-list-size=l] tui-opt-group{font:var(--tui-font-text-s);line-height:1.25rem}tui-data-list[data-list-size=l] tui-opt-group:before{padding-left:.625rem;padding-right:.625rem}tui-data-list[data-list-size=l] tui-opt-group:after{left:.625rem;right:.625rem}tui-opt-group:empty:before,tui-opt-group:empty:after{display:none}tui-opt-group:before{content:attr(data-label);padding:var(--tui-data-list-padding) .5rem var(--tui-data-list-padding);margin:var(--tui-data-list-margin) 0;white-space:normal;word-break:break-word}tui-opt-group:after{position:absolute;left:.5rem;right:.5rem;top:var(--tui-data-list-padding);height:1px;background:var(--tui-base-03)}tui-opt-group:not(:empty)~tui-opt-group:before{padding-top:calc(.75rem + var(--tui-data-list-padding))}tui-opt-group:not(:empty)~tui-opt-group[data-label=\"\"]:before,tui-opt-group:not(:empty)~tui-opt-group:not([data-label]):before{padding:var(--tui-data-list-padding) 0}tui-opt-group:not(:empty)~tui-opt-group:after{content:\"\"}tui-opt-group[data-label=\"\"]:before,tui-opt-group:not([data-label]):before{padding:0;margin:0}\n"] }]
184
+ }], ctorParameters: function () {
185
+ return [{ type: i3$1.TuiTextfieldController, decorators: [{
186
+ type: Optional
187
+ }, {
188
+ type: Inject,
189
+ args: [TUI_TEXTFIELD_WATCHED_CONTROLLER]
190
+ }] }, { type: i0.ElementRef, decorators: [{
191
+ type: Inject,
192
+ args: [ElementRef]
193
+ }] }, { type: i4.Observable, decorators: [{
194
+ type: Inject,
195
+ args: [TUI_NOTHING_FOUND_MESSAGE]
196
+ }] }];
197
+ }, propDecorators: { options: [{
198
+ type: ContentChildren,
199
+ args: [forwardRef(() => TuiOptionComponent), { descendants: true }]
200
+ }], role: [{
201
+ type: Input
202
+ }, {
203
+ type: HostBinding,
204
+ args: ['attr.role']
205
+ }], emptyContent: [{
206
+ type: Input
207
+ }], size: [{
208
+ type: Input
209
+ }, {
210
+ type: HostBinding,
211
+ args: ['attr.data-list-size']
212
+ }], empty$: [], onFocusIn: [{
213
+ type: HostListener,
214
+ args: ['focusin', ['$event.relatedTarget', '$event.currentTarget']]
215
+ }], noop: [{
216
+ type: HostListener,
217
+ args: ['mousedown.prevent']
218
+ }], onKeyDownArrow: [{
219
+ type: HostListener,
220
+ args: ['keydown.arrowDown.prevent', ['$event.target', '1']]
221
+ }, {
222
+ type: HostListener,
223
+ args: ['keydown.arrowUp.prevent', ['$event.target', '-1']]
224
+ }], handleFocusLossIfNecessary: [{
225
+ type: HostListener,
226
+ args: ['wheel.silent.passive']
227
+ }, {
228
+ type: HostListener,
229
+ args: ['mouseleave', ['$event.target']]
230
+ }] } });
231
+
232
+ class TuiDataListDirective {
233
+ }
234
+ TuiDataListDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDataListDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
235
+ TuiDataListDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiDataListDirective, selector: "ng-template[tuiDataList]", ngImport: i0 });
236
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDataListDirective, decorators: [{
237
+ type: Directive,
238
+ args: [{
239
+ selector: 'ng-template[tuiDataList]',
240
+ }]
241
+ }] });
242
+ function tuiAsDataList(useExisting) {
243
+ return {
244
+ provide: TuiDataListDirective,
245
+ useExisting,
246
+ };
247
+ }
248
+
249
+ class TuiOptGroupDirective {
250
+ }
251
+ TuiOptGroupDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiOptGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
252
+ TuiOptGroupDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiOptGroupDirective, selector: "tui-opt-group", inputs: { label: "label" }, host: { attributes: { "role": "group" }, properties: { "attr.data-label": "this.label" } }, ngImport: i0 });
253
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiOptGroupDirective, decorators: [{
254
+ type: Directive,
255
+ args: [{
256
+ selector: 'tui-opt-group',
257
+ host: {
258
+ role: 'group',
259
+ },
260
+ }]
261
+ }], propDecorators: { label: [{
262
+ type: Input
263
+ }, {
264
+ type: HostBinding,
265
+ args: ['attr.data-label']
266
+ }] } });
267
+
268
+ class TuiDataListModule {
269
+ }
270
+ TuiDataListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDataListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
271
+ TuiDataListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiDataListModule, declarations: [TuiDataListComponent,
272
+ TuiOptionComponent,
273
+ TuiOptGroupDirective,
274
+ TuiDataListDirective], imports: [CommonModule, TuiSvgModule, PolymorpheusModule], exports: [TuiDataListComponent,
275
+ TuiOptionComponent,
276
+ TuiOptGroupDirective,
277
+ TuiDataListDirective] });
278
+ TuiDataListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDataListModule, imports: [CommonModule, TuiSvgModule, PolymorpheusModule] });
279
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDataListModule, decorators: [{
280
+ type: NgModule,
281
+ args: [{
282
+ imports: [CommonModule, TuiSvgModule, PolymorpheusModule],
283
+ declarations: [
284
+ TuiDataListComponent,
285
+ TuiOptionComponent,
286
+ TuiOptGroupDirective,
287
+ TuiDataListDirective,
288
+ ],
289
+ exports: [
290
+ TuiDataListComponent,
291
+ TuiOptionComponent,
292
+ TuiOptGroupDirective,
293
+ TuiDataListDirective,
294
+ ],
295
+ }]
296
+ }] });
297
+
298
+ /**
299
+ * Generated bundle index. Do not edit.
300
+ */
301
+
302
+ export { TuiDataListComponent, TuiDataListDirective, TuiDataListModule, TuiOptGroupDirective, TuiOptionComponent, tuiAsDataList };
303
+ //# sourceMappingURL=taiga-ui-core-components-data-list.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-core-components-data-list.mjs","sources":["../../../projects/core/components/data-list/option/option.component.ts","../../../projects/core/components/data-list/option/option.template.html","../../../projects/core/components/data-list/data-list.component.ts","../../../projects/core/components/data-list/data-list.template.html","../../../projects/core/components/data-list/data-list.directive.ts","../../../projects/core/components/data-list/opt-group.directive.ts","../../../projects/core/components/data-list/data-list.module.ts","../../../projects/core/components/data-list/taiga-ui-core-components-data-list.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n forwardRef,\n HostBinding,\n HostListener,\n Inject,\n Input,\n OnDestroy,\n Optional,\n Self,\n TemplateRef,\n} from '@angular/core';\nimport {TuiContextWithImplicit, TuiEventWith, tuiIsNativeFocused} from '@taiga-ui/cdk';\nimport {TuiDropdownDirective} from '@taiga-ui/core/directives/dropdown';\nimport {TuiDataListHost} from '@taiga-ui/core/interfaces';\nimport {\n TUI_COMMON_ICONS,\n TUI_DATA_LIST_HOST,\n TUI_OPTION_CONTENT,\n TuiCommonIcons,\n} from '@taiga-ui/core/tokens';\nimport {TuiOptionRole, TuiSizeL, TuiSizeXS} from '@taiga-ui/core/types';\nimport {shouldCall} from '@tinkoff/ng-event-plugins';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiDataListComponent} from '../data-list.component';\n\nfunction shouldFocus({currentTarget}: TuiEventWith<MouseEvent, HTMLElement>): boolean {\n return !tuiIsNativeFocused(currentTarget);\n}\n\n// TODO: Consider all use cases for aria roles\n@Component({\n selector: 'button[tuiOption], a[tuiOption]',\n templateUrl: './option.template.html',\n styleUrls: ['./option.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n tabIndex: '-1',\n type: 'button',\n '[attr.disabled]': 'disabled || null',\n },\n})\nexport class TuiOptionComponent<T = unknown> implements OnDestroy {\n /** @deprecated use size on {@link TuiDataListComponent} instead */\n @Input()\n @HostBinding('attr.data-size')\n size: TuiSizeL | TuiSizeXS | null = null;\n\n @Input()\n @HostBinding('attr.role')\n role: TuiOptionRole = 'option';\n\n @Input()\n disabled = false;\n\n @Input()\n value?: T;\n\n constructor(\n @Optional()\n @Inject(TUI_OPTION_CONTENT)\n readonly content: PolymorpheusContent<\n TuiContextWithImplicit<TemplateRef<Record<string, unknown>>>\n > | null,\n @Optional()\n @Inject(forwardRef(() => TuiDataListComponent))\n private readonly dataList: TuiDataListComponent<T> | null,\n @Inject(ElementRef) private readonly el: ElementRef<HTMLElement>,\n @Optional()\n @Inject(TUI_DATA_LIST_HOST)\n private readonly host: TuiDataListHost<T> | null,\n @Optional()\n @Self()\n @Inject(TuiDropdownDirective)\n readonly dropdown: TuiDropdownDirective | null,\n @Inject(TUI_COMMON_ICONS) readonly icons: TuiCommonIcons,\n ) {}\n\n @HostBinding('class._with-dropdown')\n get active(): boolean {\n return !!this.dropdown && !!this.dropdown.dropdownBoxRef;\n }\n\n @HostListener('click')\n onClick(): void {\n if (this.host && this.value !== undefined) {\n this.host.handleOption(this.value);\n }\n }\n\n // @bad TODO: Consider aria-activedescendant for proper accessibility implementation\n @shouldCall(shouldFocus)\n @HostListener('mousemove.silent', ['$event'])\n onMouseMove({currentTarget}: TuiEventWith<MouseEvent, HTMLElement>): void {\n currentTarget.focus({preventScroll: true});\n }\n\n // Preventing focus loss upon focused option removal\n ngOnDestroy(): void {\n this.dataList?.handleFocusLossIfNecessary(this.el.nativeElement);\n }\n}\n","<ng-container *polymorpheusOutlet=\"content || base as text; context: {$implicit: base}\">\n {{ text }}\n</ng-container>\n<ng-template #base>\n <ng-content></ng-content>\n <tui-svg\n *ngIf=\"dropdown\"\n class=\"t-arrow\"\n [src]=\"icons.more\"\n ></tui-svg>\n</ng-template>\n","import {\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n ElementRef,\n forwardRef,\n HostBinding,\n HostListener,\n Inject,\n Input,\n Optional,\n QueryList,\n ViewEncapsulation,\n} from '@angular/core';\nimport {\n EMPTY_QUERY,\n tuiIsElement,\n tuiIsNativeFocusedIn,\n tuiIsPresent,\n tuiMoveFocus,\n tuiPure,\n tuiQueryListChanges,\n tuiSetNativeMouseFocused,\n} from '@taiga-ui/cdk';\nimport {\n TEXTFIELD_CONTROLLER_PROVIDER,\n TUI_TEXTFIELD_WATCHED_CONTROLLER,\n TuiTextfieldController,\n} from '@taiga-ui/core/directives';\nimport {TuiDataListAccessor} from '@taiga-ui/core/interfaces';\nimport {TUI_NOTHING_FOUND_MESSAGE, tuiAsDataListAccessor} from '@taiga-ui/core/tokens';\nimport {TuiDataListRole} from '@taiga-ui/core/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {map, Observable} from 'rxjs';\n\nimport {TuiOptionComponent} from './option/option.component';\n\n// TODO: Consider aria-activedescendant for proper accessibility implementation\n@Component({\n selector: 'tui-data-list',\n templateUrl: './data-list.template.html',\n styleUrls: ['./data-list.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsDataListAccessor(TuiDataListComponent),\n TEXTFIELD_CONTROLLER_PROVIDER,\n ],\n})\nexport class TuiDataListComponent<T> implements TuiDataListAccessor<T> {\n @ContentChildren(forwardRef(() => TuiOptionComponent), {descendants: true})\n private readonly options: QueryList<TuiOptionComponent<T>> = EMPTY_QUERY;\n\n private origin?: HTMLElement;\n\n @Input()\n @HostBinding('attr.role')\n role: TuiDataListRole = 'listbox';\n\n @Input()\n emptyContent: PolymorpheusContent;\n\n @Input()\n @HostBinding('attr.data-list-size')\n size = this.controller?.size || 'm';\n\n constructor(\n @Optional()\n @Inject(TUI_TEXTFIELD_WATCHED_CONTROLLER)\n private readonly controller: TuiTextfieldController | null,\n @Inject(ElementRef) private readonly el: ElementRef<HTMLElement>,\n @Inject(TUI_NOTHING_FOUND_MESSAGE)\n readonly defaultEmptyContent$: Observable<string>,\n ) {}\n\n @tuiPure\n get empty$(): Observable<boolean> {\n return tuiQueryListChanges(this.options).pipe(map(({length}) => !length));\n }\n\n @HostListener('focusin', ['$event.relatedTarget', '$event.currentTarget'])\n onFocusIn(relatedTarget: HTMLElement, currentTarget: HTMLElement): void {\n if (!currentTarget.contains(relatedTarget) && !this.origin) {\n this.origin = relatedTarget;\n }\n }\n\n @HostListener('mousedown.prevent')\n noop(): void {}\n\n @HostListener('keydown.arrowDown.prevent', ['$event.target', '1'])\n @HostListener('keydown.arrowUp.prevent', ['$event.target', '-1'])\n onKeyDownArrow(current: HTMLElement, step: number): void {\n const {elements} = this;\n\n tuiMoveFocus(elements.indexOf(current), elements, step);\n }\n\n // TODO: Consider aria-activedescendant for proper accessibility implementation\n @HostListener('wheel.silent.passive')\n @HostListener('mouseleave', ['$event.target'])\n handleFocusLossIfNecessary(element: Element = this.el.nativeElement): void {\n if (this.origin && tuiIsNativeFocusedIn(element)) {\n tuiSetNativeMouseFocused(this.origin, true, true);\n }\n }\n\n getOptions(includeDisabled: boolean = false): readonly T[] {\n return this.options\n .filter(({disabled}) => includeDisabled || !disabled)\n .map(({value}) => value)\n .filter(tuiIsPresent);\n }\n\n onFocus({target}: Event, top: boolean): void {\n if (!tuiIsElement(target)) {\n return;\n }\n\n const {elements} = this;\n\n tuiMoveFocus(top ? -1 : elements.length, elements, top ? 1 : -1);\n this.handleFocusLossIfNecessary(target);\n }\n\n private get elements(): readonly HTMLElement[] {\n return Array.from(this.el.nativeElement.querySelectorAll('[tuiOption]'));\n }\n}\n","<div\n tabindex=\"0\"\n class=\"t-trap\"\n (focusin)=\"onFocus($event, true)\"\n></div>\n<ng-content></ng-content>\n<div\n *ngIf=\"empty$ | async\"\n class=\"t-empty\"\n>\n <ng-container *polymorpheusOutlet=\"emptyContent || (defaultEmptyContent$ | async) as text\">\n {{ text }}\n </ng-container>\n</div>\n<div\n tabindex=\"0\"\n class=\"t-trap\"\n (focusin)=\"onFocus($event, false)\"\n></div>\n","import {Directive, Provider, Type} from '@angular/core';\n\n@Directive({\n selector: 'ng-template[tuiDataList]',\n})\nexport class TuiDataListDirective {}\n\nexport function tuiAsDataList(useExisting: Type<TuiDataListDirective>): Provider {\n return {\n provide: TuiDataListDirective,\n useExisting,\n };\n}\n","import {Directive, HostBinding, Input} from '@angular/core';\n\n@Directive({\n selector: 'tui-opt-group',\n host: {\n role: 'group',\n },\n})\nexport class TuiOptGroupDirective {\n @Input()\n @HostBinding('attr.data-label')\n label?: string | null;\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiSvgModule} from '@taiga-ui/core/components/svg';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiDataListComponent} from './data-list.component';\nimport {TuiDataListDirective} from './data-list.directive';\nimport {TuiOptGroupDirective} from './opt-group.directive';\nimport {TuiOptionComponent} from './option/option.component';\n\n@NgModule({\n imports: [CommonModule, TuiSvgModule, PolymorpheusModule],\n declarations: [\n TuiDataListComponent,\n TuiOptionComponent,\n TuiOptGroupDirective,\n TuiDataListDirective,\n ],\n exports: [\n TuiDataListComponent,\n TuiOptionComponent,\n TuiOptGroupDirective,\n TuiDataListDirective,\n ],\n})\nexport class TuiDataListModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2"],"mappings":";;;;;;;;;;;;;;;;;;;AA6BA,SAAS,WAAW,CAAC,EAAC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,OAAO,EAAE;wBACL,oBAAoB;wBACpB,kBAAkB;wBAClB,oBAAoB;wBACpB,oBAAoB;AACvB,qBAAA;iBACJ,CAAA;;;ACxBD;;AAEG;;;;"}
@@ -0,0 +1,244 @@
1
+ import * as i0 from '@angular/core';
2
+ import { ElementRef, Injectable, Inject, Component, ChangeDetectionStrategy, Self, HostBinding, inject, Directive, NgModule } from '@angular/core';
3
+ import * as i4 from '@taiga-ui/cdk';
4
+ import { tuiCreateToken, tuiProvideOptions, tuiTypedFromEvent, tuiGetActualTarget, tuiIsElement, tuiContainsOrAfter, ALWAYS_TRUE_HANDLER, TUI_IS_MOBILE, TuiDestroyService, AbstractTuiDialogService, AbstractTuiDialogDirective, TuiAutoFocusModule, tuiAsDialog } from '@taiga-ui/cdk';
5
+ import { tuiSlideInTop, tuiFadeIn } from '@taiga-ui/core/animations';
6
+ import { TUI_ANIMATIONS_DURATION, TUI_CLOSE_WORD, TUI_COMMON_ICONS } from '@taiga-ui/core/tokens';
7
+ import * as i1 from '@tinkoff/ng-polymorpheus';
8
+ import { POLYMORPHEUS_CONTEXT, PolymorpheusComponent, PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
9
+ import * as i5 from 'rxjs';
10
+ import { EMPTY, Observable, merge, filter, switchMap, take, map, isObservable, of, Subject, takeUntil } from 'rxjs';
11
+ import * as i3 from '@angular/common';
12
+ import { DOCUMENT, CommonModule } from '@angular/common';
13
+ import { WINDOW } from '@ng-web-apis/common';
14
+ import { tuiGetViewportWidth } from '@taiga-ui/core/utils';
15
+ import * as i2 from '@taiga-ui/core/components/button';
16
+ import { TuiButtonModule } from '@taiga-ui/core/components/button';
17
+
18
+ const TUI_DIALOG_DEFAULT_OPTIONS = {
19
+ size: `m`,
20
+ required: false,
21
+ closeable: true,
22
+ dismissible: true,
23
+ label: ``,
24
+ header: ``,
25
+ };
26
+ /**
27
+ * A stream to close dialogs
28
+ */
29
+ const TUI_DIALOGS_CLOSE = tuiCreateToken(EMPTY);
30
+ /**
31
+ * Default parameters for dialog component
32
+ */
33
+ const TUI_DIALOG_OPTIONS = tuiCreateToken(TUI_DIALOG_DEFAULT_OPTIONS);
34
+ function tuiDialogOptionsProvider(options) {
35
+ return tuiProvideOptions(TUI_DIALOG_OPTIONS, options, TUI_DIALOG_DEFAULT_OPTIONS);
36
+ }
37
+
38
+ const SCROLLBAR_PLACEHOLDER = 17;
39
+ class TuiDialogCloseService extends Observable {
40
+ constructor(win, doc, el) {
41
+ super(subscriber => merge(this.esc$, this.mousedown$).subscribe(subscriber));
42
+ this.win = win;
43
+ this.doc = doc;
44
+ this.el = el;
45
+ this.esc$ = tuiTypedFromEvent(this.doc, `keydown`).pipe(filter(event => {
46
+ const target = tuiGetActualTarget(event);
47
+ return (event.key === `Escape` &&
48
+ !event.defaultPrevented &&
49
+ (this.element.contains(target) || this.isOutside(target)));
50
+ }));
51
+ this.mousedown$ = tuiTypedFromEvent(this.doc, `mousedown`).pipe(filter(event => tuiGetViewportWidth(this.win) - event.clientX > SCROLLBAR_PLACEHOLDER &&
52
+ this.isOutside(tuiGetActualTarget(event))), switchMap(() => tuiTypedFromEvent(this.doc, `mouseup`).pipe(take(1), map(tuiGetActualTarget), filter(target => this.isOutside(target)))));
53
+ }
54
+ get element() {
55
+ return this.el.nativeElement;
56
+ }
57
+ isOutside(target) {
58
+ return (tuiIsElement(target) &&
59
+ (!tuiContainsOrAfter(this.element, target) || target === this.element));
60
+ }
61
+ }
62
+ TuiDialogCloseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDialogCloseService, deps: [{ token: WINDOW }, { token: DOCUMENT }, { token: ElementRef }], target: i0.ɵɵFactoryTarget.Injectable });
63
+ TuiDialogCloseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDialogCloseService });
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDialogCloseService, decorators: [{
65
+ type: Injectable
66
+ }], ctorParameters: function () {
67
+ return [{ type: Window, decorators: [{
68
+ type: Inject,
69
+ args: [WINDOW]
70
+ }] }, { type: Document, decorators: [{
71
+ type: Inject,
72
+ args: [DOCUMENT]
73
+ }] }, { type: i0.ElementRef, decorators: [{
74
+ type: Inject,
75
+ args: [ElementRef]
76
+ }] }];
77
+ } });
78
+
79
+ const REQUIRED_ERROR = new Error('Required dialog was dismissed');
80
+ function toObservable(valueOrStream) {
81
+ return isObservable(valueOrStream) ? valueOrStream : of(valueOrStream);
82
+ }
83
+ class TuiDialogComponent {
84
+ constructor(duration, isMobile, context, destroy$, dialogClose$, close$, closeWord$, icons) {
85
+ this.duration = duration;
86
+ this.isMobile = isMobile;
87
+ this.context = context;
88
+ this.closeWord$ = closeWord$;
89
+ this.icons = icons;
90
+ this.animation = {
91
+ value: '',
92
+ params: {
93
+ start: '40px',
94
+ duration: this.duration,
95
+ },
96
+ };
97
+ this.fullscreenAnimation = {
98
+ value: '',
99
+ params: {
100
+ start: '100vh',
101
+ duration: this.duration,
102
+ },
103
+ };
104
+ this.close$ = new Subject();
105
+ merge(this.close$.pipe(switchMap(() => toObservable(context.closeable))), dialogClose$.pipe(switchMap(() => toObservable(context.dismissible))), close$.pipe(map(ALWAYS_TRUE_HANDLER)))
106
+ .pipe(filter(Boolean), takeUntil(destroy$))
107
+ .subscribe(() => {
108
+ this.close();
109
+ });
110
+ }
111
+ get size() {
112
+ return this.context.size;
113
+ }
114
+ get header() {
115
+ return this.context.header;
116
+ }
117
+ get slideInTop() {
118
+ return this.fullscreen || this.isMobile
119
+ ? this.fullscreenAnimation
120
+ : this.animation;
121
+ }
122
+ get fullscreen() {
123
+ return !this.isMobile && (this.size === 'fullscreen' || this.size === 'page');
124
+ }
125
+ close() {
126
+ if (this.context.required) {
127
+ this.context.$implicit.error(REQUIRED_ERROR);
128
+ }
129
+ else {
130
+ this.context.$implicit.complete();
131
+ }
132
+ }
133
+ }
134
+ TuiDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDialogComponent, deps: [{ token: TUI_ANIMATIONS_DURATION }, { token: TUI_IS_MOBILE }, { token: POLYMORPHEUS_CONTEXT }, { token: TuiDestroyService, self: true }, { token: TuiDialogCloseService }, { token: TUI_DIALOGS_CLOSE }, { token: TUI_CLOSE_WORD }, { token: TUI_COMMON_ICONS }], target: i0.ɵɵFactoryTarget.Component });
135
+ TuiDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiDialogComponent, selector: "tui-dialog", host: { properties: { "attr.data-appearance": "context.appearance", "attr.data-size": "this.size", "class._centered": "this.header", "@tuiSlideInTop": "this.slideInTop", "@tuiFadeIn": "this.slideInTop" } }, providers: [TuiDestroyService, TuiDialogCloseService], ngImport: i0, template: "<header\n *ngIf=\"header\"\n class=\"t-header\"\n>\n <ng-container *polymorpheusOutlet=\"header as text; context: context\">\n {{ text }}\n </ng-container>\n</header>\n<div class=\"t-content\">\n <h2\n class=\"t-heading\"\n [id]=\"context.id\"\n [textContent]=\"context.label\"\n ></h2>\n <section>\n <!-- TODO: Polymorpheus fix type -->\n <ng-container *polymorpheusOutlet=\"$any(context.content) as text; context: context\">\n <div [innerHTML]=\"text\"></div>\n <div class=\"t-buttons\">\n <button\n size=\"m\"\n tuiAutoFocus\n tuiButton\n type=\"button\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ $any(context.data)?.button || 'OK' }}\n </button>\n </div>\n </ng-container>\n </section>\n</div>\n<div class=\"t-filler\"></div>\n<div\n *ngIf=\"context.closeable\"\n class=\"t-wrapper\"\n>\n <button\n automation-id=\"tui-dialog__close\"\n shape=\"rounded\"\n size=\"s\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [appearance]=\"fullscreen ? 'secondary' : ''\"\n [icon]=\"icons.close\"\n [title]=\"closeWord$ | async\"\n (click)=\"close$.next()\"\n (mousedown.prevent.silent)=\"(0)\"\n ></button>\n</div>\n", styles: [":host{position:relative;display:flex;font:var(--tui-font-text-m);flex-direction:column;box-sizing:border-box;margin:auto;border-radius:1rem;border:2.5rem solid transparent}:host:after{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";border-radius:inherit;pointer-events:none;box-shadow:var(--tui-shadow-modal)}:host[data-size=auto]{width:auto}:host[data-size=s]{width:30rem}:host[data-size=s] .t-content{padding:1.5rem}:host[data-size=s] .t-heading{margin-bottom:.5rem;font:var(--tui-font-heading-5)}:host[data-size=m]{width:42.5rem}:host[data-size=m] .t-heading{margin-bottom:.75rem;font:var(--tui-font-heading-4)}:host[data-size=l]{width:55rem}:host[data-size=l] .t-heading{margin-bottom:1rem}:host[data-size=fullscreen],:host[data-size=page]{min-width:100vw;min-height:100%;border-radius:0;border:none;background:var(--tui-elevation-01);box-shadow:0 4rem var(--tui-elevation-01)}:host[data-size=fullscreen] .t-content,:host[data-size=page] .t-content{padding:3rem calc(50vw - 22.5rem)}:host[data-size=fullscreen] .t-heading,:host[data-size=page] .t-heading{margin-bottom:1rem}:host[data-size=page] .t-content{padding:0}:host._centered{text-align:center}:host :host-context(tui-root._mobile)[data-size]{min-width:100%;width:100%;max-width:100%;border-radius:0;border:none;margin:auto 0 0}:host :host-context(tui-root._mobile)[data-size] .t-content{padding:1.5rem}:host :host-context(tui-root._mobile)[data-size] .t-heading{margin-bottom:.5rem;font:var(--tui-font-heading-5)}.t-heading{margin:0;word-wrap:break-word;font:var(--tui-font-heading-3)}.t-heading:empty{display:none}.t-header{display:flex;border-top-left-radius:inherit;border-top-right-radius:inherit;overflow:hidden}:host[data-size=fullscreen] :host-context(tui-root._mobile) .t-header{flex:1}.t-content{border-radius:inherit;padding:2rem;background:var(--tui-elevation-01)}.t-content:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.t-wrapper{position:-webkit-sticky;position:sticky;top:0;z-index:1;order:-1}.t-filler{flex-grow:1}.t-close{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:fixed;top:1.5rem;right:1.5rem;display:none;color:var(--tui-base-01)}:host-context(.t-dialog:last-of-type) .t-close{display:block}:host:not([data-size=\"fullscreen\"]):not([data-size=\"page\"]) .t-close{animation:tuiFadeIn var(--tui-duration);background:rgba(104,104,104,.96)}:host:not([data-size=\"fullscreen\"]):not([data-size=\"page\"]) .t-close:hover{background:rgba(159,159,159,.86)}:host:not([data-size=\"fullscreen\"]).ng-animating .t-close{display:none}:host-context(tui-root._mobile) .t-close{position:absolute;top:0;right:0;background:transparent!important;color:var(--tui-text-01);opacity:.5}.t-buttons{margin-top:1.25rem;text-align:right}\n"], dependencies: [{ kind: "directive", type: i1.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "component", type: i2.TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: ["appearance", "disabled", "icon", "iconRight", "shape", "showLoader", "size"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.TuiAutoFocusDirective, selector: "[tuiAutoFocus]", inputs: ["tuiAutoFocus"] }, { kind: "pipe", type: i3.AsyncPipe, name: "async" }], animations: [tuiSlideInTop, tuiFadeIn], changeDetection: i0.ChangeDetectionStrategy.Default });
136
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDialogComponent, decorators: [{
137
+ type: Component,
138
+ args: [{ selector: 'tui-dialog', changeDetection: ChangeDetectionStrategy.Default, providers: [TuiDestroyService, TuiDialogCloseService], animations: [tuiSlideInTop, tuiFadeIn], host: {
139
+ '[attr.data-appearance]': 'context.appearance',
140
+ }, template: "<header\n *ngIf=\"header\"\n class=\"t-header\"\n>\n <ng-container *polymorpheusOutlet=\"header as text; context: context\">\n {{ text }}\n </ng-container>\n</header>\n<div class=\"t-content\">\n <h2\n class=\"t-heading\"\n [id]=\"context.id\"\n [textContent]=\"context.label\"\n ></h2>\n <section>\n <!-- TODO: Polymorpheus fix type -->\n <ng-container *polymorpheusOutlet=\"$any(context.content) as text; context: context\">\n <div [innerHTML]=\"text\"></div>\n <div class=\"t-buttons\">\n <button\n size=\"m\"\n tuiAutoFocus\n tuiButton\n type=\"button\"\n (click)=\"context.$implicit.complete()\"\n >\n {{ $any(context.data)?.button || 'OK' }}\n </button>\n </div>\n </ng-container>\n </section>\n</div>\n<div class=\"t-filler\"></div>\n<div\n *ngIf=\"context.closeable\"\n class=\"t-wrapper\"\n>\n <button\n automation-id=\"tui-dialog__close\"\n shape=\"rounded\"\n size=\"s\"\n tuiIconButton\n type=\"button\"\n class=\"t-close\"\n [appearance]=\"fullscreen ? 'secondary' : ''\"\n [icon]=\"icons.close\"\n [title]=\"closeWord$ | async\"\n (click)=\"close$.next()\"\n (mousedown.prevent.silent)=\"(0)\"\n ></button>\n</div>\n", styles: [":host{position:relative;display:flex;font:var(--tui-font-text-m);flex-direction:column;box-sizing:border-box;margin:auto;border-radius:1rem;border:2.5rem solid transparent}:host:after{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";border-radius:inherit;pointer-events:none;box-shadow:var(--tui-shadow-modal)}:host[data-size=auto]{width:auto}:host[data-size=s]{width:30rem}:host[data-size=s] .t-content{padding:1.5rem}:host[data-size=s] .t-heading{margin-bottom:.5rem;font:var(--tui-font-heading-5)}:host[data-size=m]{width:42.5rem}:host[data-size=m] .t-heading{margin-bottom:.75rem;font:var(--tui-font-heading-4)}:host[data-size=l]{width:55rem}:host[data-size=l] .t-heading{margin-bottom:1rem}:host[data-size=fullscreen],:host[data-size=page]{min-width:100vw;min-height:100%;border-radius:0;border:none;background:var(--tui-elevation-01);box-shadow:0 4rem var(--tui-elevation-01)}:host[data-size=fullscreen] .t-content,:host[data-size=page] .t-content{padding:3rem calc(50vw - 22.5rem)}:host[data-size=fullscreen] .t-heading,:host[data-size=page] .t-heading{margin-bottom:1rem}:host[data-size=page] .t-content{padding:0}:host._centered{text-align:center}:host :host-context(tui-root._mobile)[data-size]{min-width:100%;width:100%;max-width:100%;border-radius:0;border:none;margin:auto 0 0}:host :host-context(tui-root._mobile)[data-size] .t-content{padding:1.5rem}:host :host-context(tui-root._mobile)[data-size] .t-heading{margin-bottom:.5rem;font:var(--tui-font-heading-5)}.t-heading{margin:0;word-wrap:break-word;font:var(--tui-font-heading-3)}.t-heading:empty{display:none}.t-header{display:flex;border-top-left-radius:inherit;border-top-right-radius:inherit;overflow:hidden}:host[data-size=fullscreen] :host-context(tui-root._mobile) .t-header{flex:1}.t-content{border-radius:inherit;padding:2rem;background:var(--tui-elevation-01)}.t-content:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}.t-wrapper{position:-webkit-sticky;position:sticky;top:0;z-index:1;order:-1}.t-filler{flex-grow:1}.t-close{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:fixed;top:1.5rem;right:1.5rem;display:none;color:var(--tui-base-01)}:host-context(.t-dialog:last-of-type) .t-close{display:block}:host:not([data-size=\"fullscreen\"]):not([data-size=\"page\"]) .t-close{animation:tuiFadeIn var(--tui-duration);background:rgba(104,104,104,.96)}:host:not([data-size=\"fullscreen\"]):not([data-size=\"page\"]) .t-close:hover{background:rgba(159,159,159,.86)}:host:not([data-size=\"fullscreen\"]).ng-animating .t-close{display:none}:host-context(tui-root._mobile) .t-close{position:absolute;top:0;right:0;background:transparent!important;color:var(--tui-text-01);opacity:.5}.t-buttons{margin-top:1.25rem;text-align:right}\n"] }]
141
+ }], ctorParameters: function () {
142
+ return [{ type: undefined, decorators: [{
143
+ type: Inject,
144
+ args: [TUI_ANIMATIONS_DURATION]
145
+ }] }, { type: undefined, decorators: [{
146
+ type: Inject,
147
+ args: [TUI_IS_MOBILE]
148
+ }] }, { type: undefined, decorators: [{
149
+ type: Inject,
150
+ args: [POLYMORPHEUS_CONTEXT]
151
+ }] }, { type: i5.Observable, decorators: [{
152
+ type: Inject,
153
+ args: [TuiDestroyService]
154
+ }, {
155
+ type: Self
156
+ }] }, { type: i5.Observable, decorators: [{
157
+ type: Inject,
158
+ args: [TuiDialogCloseService]
159
+ }] }, { type: i5.Observable, decorators: [{
160
+ type: Inject,
161
+ args: [TUI_DIALOGS_CLOSE]
162
+ }] }, { type: i5.Observable, decorators: [{
163
+ type: Inject,
164
+ args: [TUI_CLOSE_WORD]
165
+ }] }, { type: undefined, decorators: [{
166
+ type: Inject,
167
+ args: [TUI_COMMON_ICONS]
168
+ }] }];
169
+ }, propDecorators: { size: [{
170
+ type: HostBinding,
171
+ args: ['attr.data-size']
172
+ }], header: [{
173
+ type: HostBinding,
174
+ args: ['class._centered']
175
+ }], slideInTop: [{
176
+ type: HostBinding,
177
+ args: ['@tuiSlideInTop']
178
+ }, {
179
+ type: HostBinding,
180
+ args: ['@tuiFadeIn']
181
+ }] } });
182
+
183
+ const DIALOG = new PolymorpheusComponent(TuiDialogComponent);
184
+ class TuiDialogService extends AbstractTuiDialogService {
185
+ constructor() {
186
+ super(...arguments);
187
+ this.component = DIALOG;
188
+ this.defaultOptions = Object.assign(Object.assign({}, inject(TUI_DIALOG_OPTIONS)), { data: undefined });
189
+ }
190
+ }
191
+ TuiDialogService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDialogService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
192
+ TuiDialogService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDialogService, providedIn: `root` });
193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDialogService, decorators: [{
194
+ type: Injectable,
195
+ args: [{
196
+ providedIn: `root`,
197
+ }]
198
+ }] });
199
+
200
+ class TuiDialogDirective extends AbstractTuiDialogDirective {
201
+ }
202
+ TuiDialogDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDialogDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
203
+ TuiDialogDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiDialogDirective, selector: "ng-template[tuiDialog]", inputs: { options: ["tuiDialogOptions", "options"], open: ["tuiDialog", "open"] }, outputs: { openChange: "tuiDialogChange" }, providers: [
204
+ {
205
+ provide: AbstractTuiDialogService,
206
+ useExisting: TuiDialogService,
207
+ },
208
+ ], usesInheritance: true, ngImport: i0 });
209
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDialogDirective, decorators: [{
210
+ type: Directive,
211
+ args: [{
212
+ selector: 'ng-template[tuiDialog]',
213
+ inputs: ['options: tuiDialogOptions', 'open: tuiDialog'],
214
+ outputs: ['openChange: tuiDialogChange'],
215
+ providers: [
216
+ {
217
+ provide: AbstractTuiDialogService,
218
+ useExisting: TuiDialogService,
219
+ },
220
+ ],
221
+ }]
222
+ }] });
223
+
224
+ class TuiDialogModule {
225
+ }
226
+ TuiDialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
227
+ TuiDialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiDialogModule, declarations: [TuiDialogComponent, TuiDialogDirective], imports: [PolymorpheusModule, TuiButtonModule, CommonModule, TuiAutoFocusModule], exports: [TuiDialogComponent, TuiDialogDirective] });
228
+ TuiDialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDialogModule, providers: [tuiAsDialog(TuiDialogService)], imports: [PolymorpheusModule, TuiButtonModule, CommonModule, TuiAutoFocusModule] });
229
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiDialogModule, decorators: [{
230
+ type: NgModule,
231
+ args: [{
232
+ imports: [PolymorpheusModule, TuiButtonModule, CommonModule, TuiAutoFocusModule],
233
+ declarations: [TuiDialogComponent, TuiDialogDirective],
234
+ providers: [tuiAsDialog(TuiDialogService)],
235
+ exports: [TuiDialogComponent, TuiDialogDirective],
236
+ }]
237
+ }] });
238
+
239
+ /**
240
+ * Generated bundle index. Do not edit.
241
+ */
242
+
243
+ export { TUI_DIALOGS_CLOSE, TUI_DIALOG_DEFAULT_OPTIONS, TUI_DIALOG_OPTIONS, TuiDialogCloseService, TuiDialogComponent, TuiDialogDirective, TuiDialogModule, TuiDialogService, tuiDialogOptionsProvider };
244
+ //# sourceMappingURL=taiga-ui-core-components-dialog.mjs.map