@taiga-ui/cdk 2.54.0 → 2.56.0

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 (671) hide show
  1. package/bundles/taiga-ui-cdk-abstract.umd.js +12 -12
  2. package/bundles/taiga-ui-cdk-abstract.umd.js.map +1 -1
  3. package/bundles/taiga-ui-cdk-abstract.umd.min.js.map +1 -1
  4. package/bundles/taiga-ui-cdk-classes.umd.js +7 -7
  5. package/bundles/taiga-ui-cdk-classes.umd.js.map +1 -1
  6. package/bundles/taiga-ui-cdk-classes.umd.min.js +1 -1
  7. package/bundles/taiga-ui-cdk-classes.umd.min.js.map +1 -1
  8. package/bundles/taiga-ui-cdk-coercion.umd.js +1 -1
  9. package/bundles/taiga-ui-cdk-coercion.umd.js.map +1 -1
  10. package/bundles/taiga-ui-cdk-coercion.umd.min.js.map +1 -1
  11. package/bundles/taiga-ui-cdk-components-alert-host.umd.js +1 -1
  12. package/bundles/taiga-ui-cdk-components-alert-host.umd.js.map +1 -1
  13. package/bundles/taiga-ui-cdk-components-alert-host.umd.min.js.map +1 -1
  14. package/bundles/taiga-ui-cdk-components-dialog-host.umd.js +4 -4
  15. package/bundles/taiga-ui-cdk-components-dialog-host.umd.js.map +1 -1
  16. package/bundles/taiga-ui-cdk-components-dialog-host.umd.min.js.map +1 -1
  17. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js +2 -2
  18. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js.map +1 -1
  19. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.min.js.map +1 -1
  20. package/bundles/taiga-ui-cdk-components-portal-host.umd.js +1 -1
  21. package/bundles/taiga-ui-cdk-components-portal-host.umd.js.map +1 -1
  22. package/bundles/taiga-ui-cdk-components-portal-host.umd.min.js.map +1 -1
  23. package/bundles/taiga-ui-cdk-constants.umd.js +24 -16
  24. package/bundles/taiga-ui-cdk-constants.umd.js.map +1 -1
  25. package/bundles/taiga-ui-cdk-constants.umd.min.js +1 -1
  26. package/bundles/taiga-ui-cdk-constants.umd.min.js.map +1 -1
  27. package/bundles/taiga-ui-cdk-date-time.umd.js +35 -35
  28. package/bundles/taiga-ui-cdk-date-time.umd.js.map +1 -1
  29. package/bundles/taiga-ui-cdk-date-time.umd.min.js.map +1 -1
  30. package/bundles/taiga-ui-cdk-decorators.umd.js +1 -1
  31. package/bundles/taiga-ui-cdk-decorators.umd.js.map +1 -1
  32. package/bundles/taiga-ui-cdk-decorators.umd.min.js.map +1 -1
  33. package/bundles/taiga-ui-cdk-directives-active-zone.umd.js +3 -3
  34. package/bundles/taiga-ui-cdk-directives-active-zone.umd.js.map +1 -1
  35. package/bundles/taiga-ui-cdk-directives-active-zone.umd.min.js.map +1 -1
  36. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js +15 -15
  37. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js.map +1 -1
  38. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.min.js.map +1 -1
  39. package/bundles/taiga-ui-cdk-directives-autofilled.umd.js +6 -6
  40. package/bundles/taiga-ui-cdk-directives-autofilled.umd.js.map +1 -1
  41. package/bundles/taiga-ui-cdk-directives-autofilled.umd.min.js.map +1 -1
  42. package/bundles/taiga-ui-cdk-directives-checked.umd.js +6 -6
  43. package/bundles/taiga-ui-cdk-directives-checked.umd.js.map +1 -1
  44. package/bundles/taiga-ui-cdk-directives-checked.umd.min.js.map +1 -1
  45. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js +3 -3
  46. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js.map +1 -1
  47. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.min.js.map +1 -1
  48. package/bundles/taiga-ui-cdk-directives-drag.umd.js +4 -4
  49. package/bundles/taiga-ui-cdk-directives-drag.umd.js.map +1 -1
  50. package/bundles/taiga-ui-cdk-directives-drag.umd.min.js.map +1 -1
  51. package/bundles/taiga-ui-cdk-directives-droppable.umd.js +5 -5
  52. package/bundles/taiga-ui-cdk-directives-droppable.umd.js.map +1 -1
  53. package/bundles/taiga-ui-cdk-directives-droppable.umd.min.js.map +1 -1
  54. package/bundles/taiga-ui-cdk-directives-element.umd.js +2 -2
  55. package/bundles/taiga-ui-cdk-directives-element.umd.js.map +1 -1
  56. package/bundles/taiga-ui-cdk-directives-element.umd.min.js.map +1 -1
  57. package/bundles/taiga-ui-cdk-directives-focus-trap.umd.js +5 -5
  58. package/bundles/taiga-ui-cdk-directives-focus-trap.umd.js.map +1 -1
  59. package/bundles/taiga-ui-cdk-directives-focus-trap.umd.min.js.map +1 -1
  60. package/bundles/taiga-ui-cdk-directives-focus-visible.umd.js +2 -2
  61. package/bundles/taiga-ui-cdk-directives-focus-visible.umd.js.map +1 -1
  62. package/bundles/taiga-ui-cdk-directives-focus-visible.umd.min.js.map +1 -1
  63. package/bundles/taiga-ui-cdk-directives-focusable.umd.js +3 -3
  64. package/bundles/taiga-ui-cdk-directives-focusable.umd.js.map +1 -1
  65. package/bundles/taiga-ui-cdk-directives-focusable.umd.min.js.map +1 -1
  66. package/bundles/taiga-ui-cdk-directives-focused.umd.js +2 -2
  67. package/bundles/taiga-ui-cdk-directives-focused.umd.js.map +1 -1
  68. package/bundles/taiga-ui-cdk-directives-focused.umd.min.js.map +1 -1
  69. package/bundles/taiga-ui-cdk-directives-for-async.umd.js +1 -1
  70. package/bundles/taiga-ui-cdk-directives-for-async.umd.js.map +1 -1
  71. package/bundles/taiga-ui-cdk-directives-for-async.umd.min.js.map +1 -1
  72. package/bundles/taiga-ui-cdk-directives-for.umd.js +1 -1
  73. package/bundles/taiga-ui-cdk-directives-for.umd.js.map +1 -1
  74. package/bundles/taiga-ui-cdk-directives-for.umd.min.js.map +1 -1
  75. package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js +1 -1
  76. package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js.map +1 -1
  77. package/bundles/taiga-ui-cdk-directives-high-dpi.umd.min.js.map +1 -1
  78. package/bundles/taiga-ui-cdk-directives-hovered.umd.js +7 -4
  79. package/bundles/taiga-ui-cdk-directives-hovered.umd.js.map +1 -1
  80. package/bundles/taiga-ui-cdk-directives-hovered.umd.min.js +1 -1
  81. package/bundles/taiga-ui-cdk-directives-hovered.umd.min.js.map +1 -1
  82. package/bundles/taiga-ui-cdk-directives-input-mode.umd.js +10 -10
  83. package/bundles/taiga-ui-cdk-directives-input-mode.umd.js.map +1 -1
  84. package/bundles/taiga-ui-cdk-directives-input-mode.umd.min.js.map +1 -1
  85. package/bundles/taiga-ui-cdk-directives-item.umd.js +1 -1
  86. package/bundles/taiga-ui-cdk-directives-item.umd.js.map +1 -1
  87. package/bundles/taiga-ui-cdk-directives-item.umd.min.js.map +1 -1
  88. package/bundles/taiga-ui-cdk-directives-let.umd.js +1 -1
  89. package/bundles/taiga-ui-cdk-directives-let.umd.js.map +1 -1
  90. package/bundles/taiga-ui-cdk-directives-let.umd.min.js.map +1 -1
  91. package/bundles/taiga-ui-cdk-directives-media.umd.js +12 -12
  92. package/bundles/taiga-ui-cdk-directives-media.umd.js.map +1 -1
  93. package/bundles/taiga-ui-cdk-directives-media.umd.min.js.map +1 -1
  94. package/bundles/taiga-ui-cdk-directives-obscured.umd.js +1 -1
  95. package/bundles/taiga-ui-cdk-directives-obscured.umd.js.map +1 -1
  96. package/bundles/taiga-ui-cdk-directives-obscured.umd.min.js.map +1 -1
  97. package/bundles/taiga-ui-cdk-directives-overscroll.umd.js +11 -11
  98. package/bundles/taiga-ui-cdk-directives-overscroll.umd.js.map +1 -1
  99. package/bundles/taiga-ui-cdk-directives-overscroll.umd.min.js.map +1 -1
  100. package/bundles/taiga-ui-cdk-directives-pan.umd.js +2 -2
  101. package/bundles/taiga-ui-cdk-directives-pan.umd.js.map +1 -1
  102. package/bundles/taiga-ui-cdk-directives-pan.umd.min.js.map +1 -1
  103. package/bundles/taiga-ui-cdk-directives-portal.umd.js +1 -1
  104. package/bundles/taiga-ui-cdk-directives-portal.umd.js.map +1 -1
  105. package/bundles/taiga-ui-cdk-directives-portal.umd.min.js.map +1 -1
  106. package/bundles/taiga-ui-cdk-directives-pressed.umd.js +1 -1
  107. package/bundles/taiga-ui-cdk-directives-pressed.umd.js.map +1 -1
  108. package/bundles/taiga-ui-cdk-directives-pressed.umd.min.js.map +1 -1
  109. package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js +3 -3
  110. package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js.map +1 -1
  111. package/bundles/taiga-ui-cdk-directives-prevent-default.umd.min.js.map +1 -1
  112. package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js +1 -1
  113. package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js.map +1 -1
  114. package/bundles/taiga-ui-cdk-directives-repeat-times.umd.min.js.map +1 -1
  115. package/bundles/taiga-ui-cdk-directives-resize.umd.js +2 -2
  116. package/bundles/taiga-ui-cdk-directives-resize.umd.js.map +1 -1
  117. package/bundles/taiga-ui-cdk-directives-resize.umd.min.js.map +1 -1
  118. package/bundles/taiga-ui-cdk-directives-swipe.umd.js +2 -2
  119. package/bundles/taiga-ui-cdk-directives-swipe.umd.js.map +1 -1
  120. package/bundles/taiga-ui-cdk-directives-swipe.umd.min.js.map +1 -1
  121. package/bundles/taiga-ui-cdk-directives-validator.umd.js +1 -1
  122. package/bundles/taiga-ui-cdk-directives-validator.umd.js.map +1 -1
  123. package/bundles/taiga-ui-cdk-directives-validator.umd.min.js.map +1 -1
  124. package/bundles/taiga-ui-cdk-directives-zoom.umd.js +3 -3
  125. package/bundles/taiga-ui-cdk-directives-zoom.umd.js.map +1 -1
  126. package/bundles/taiga-ui-cdk-directives-zoom.umd.min.js.map +1 -1
  127. package/bundles/taiga-ui-cdk-enums.umd.js.map +1 -1
  128. package/bundles/taiga-ui-cdk-enums.umd.min.js.map +1 -1
  129. package/bundles/taiga-ui-cdk-exceptions.umd.js +10 -10
  130. package/bundles/taiga-ui-cdk-exceptions.umd.js.map +1 -1
  131. package/bundles/taiga-ui-cdk-exceptions.umd.min.js.map +1 -1
  132. package/bundles/taiga-ui-cdk-observables.umd.js +7 -7
  133. package/bundles/taiga-ui-cdk-observables.umd.js.map +1 -1
  134. package/bundles/taiga-ui-cdk-observables.umd.min.js.map +1 -1
  135. package/bundles/taiga-ui-cdk-pipes-filter.umd.js +1 -1
  136. package/bundles/taiga-ui-cdk-pipes-filter.umd.js.map +1 -1
  137. package/bundles/taiga-ui-cdk-pipes-filter.umd.min.js.map +1 -1
  138. package/bundles/taiga-ui-cdk-pipes-mapper.umd.js +1 -1
  139. package/bundles/taiga-ui-cdk-pipes-mapper.umd.js.map +1 -1
  140. package/bundles/taiga-ui-cdk-pipes-mapper.umd.min.js.map +1 -1
  141. package/bundles/taiga-ui-cdk-services.umd.js +27 -27
  142. package/bundles/taiga-ui-cdk-services.umd.js.map +1 -1
  143. package/bundles/taiga-ui-cdk-services.umd.min.js.map +1 -1
  144. package/bundles/taiga-ui-cdk-tokens.umd.js +31 -31
  145. package/bundles/taiga-ui-cdk-tokens.umd.js.map +1 -1
  146. package/bundles/taiga-ui-cdk-tokens.umd.min.js.map +1 -1
  147. package/bundles/taiga-ui-cdk-utils-browser.umd.js +5 -5
  148. package/bundles/taiga-ui-cdk-utils-browser.umd.js.map +1 -1
  149. package/bundles/taiga-ui-cdk-utils-browser.umd.min.js.map +1 -1
  150. package/bundles/taiga-ui-cdk-utils-dom.umd.js +17 -11
  151. package/bundles/taiga-ui-cdk-utils-dom.umd.js.map +1 -1
  152. package/bundles/taiga-ui-cdk-utils-dom.umd.min.js +1 -1
  153. package/bundles/taiga-ui-cdk-utils-dom.umd.min.js.map +1 -1
  154. package/bundles/taiga-ui-cdk-utils-focus.umd.js +19 -19
  155. package/bundles/taiga-ui-cdk-utils-focus.umd.js.map +1 -1
  156. package/bundles/taiga-ui-cdk-utils-focus.umd.min.js.map +1 -1
  157. package/bundles/taiga-ui-cdk-utils-format.umd.js +2 -2
  158. package/bundles/taiga-ui-cdk-utils-format.umd.js.map +1 -1
  159. package/bundles/taiga-ui-cdk-utils-format.umd.min.js.map +1 -1
  160. package/bundles/taiga-ui-cdk-utils-math.umd.js +4 -4
  161. package/bundles/taiga-ui-cdk-utils-math.umd.js.map +1 -1
  162. package/bundles/taiga-ui-cdk-utils-math.umd.min.js.map +1 -1
  163. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js +4 -4
  164. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js.map +1 -1
  165. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.min.js.map +1 -1
  166. package/bundles/taiga-ui-cdk-utils-os.umd.js +1 -1
  167. package/bundles/taiga-ui-cdk-utils-os.umd.js.map +1 -1
  168. package/bundles/taiga-ui-cdk-utils-os.umd.min.js.map +1 -1
  169. package/bundles/taiga-ui-cdk-utils-svg.umd.js +1 -1
  170. package/bundles/taiga-ui-cdk-utils-svg.umd.js.map +1 -1
  171. package/bundles/taiga-ui-cdk-utils-svg.umd.min.js.map +1 -1
  172. package/constants/taiga-ui-cdk-constants.metadata.json +1 -1
  173. package/constants/unicode-chars.d.ts +9 -2
  174. package/directives/active-zone/taiga-ui-cdk-directives-active-zone.metadata.json +1 -1
  175. package/directives/hovered/taiga-ui-cdk-directives-hovered.metadata.json +1 -1
  176. package/esm2015/abstract/control.js +4 -4
  177. package/esm2015/abstract/interactive.js +8 -8
  178. package/esm2015/abstract/portal-host.js +2 -2
  179. package/esm2015/abstract/theme-switcher.js +2 -2
  180. package/esm2015/classes/assert.js +8 -8
  181. package/esm2015/coercion/coerce-boolean-property.js +2 -2
  182. package/esm2015/components/alert-host/alert-host.component.js +2 -2
  183. package/esm2015/components/dialog-host/dialog-host.component.js +5 -5
  184. package/esm2015/components/dropdown-host/dropdown-host.component.js +3 -3
  185. package/esm2015/components/portal-host/portal.service.js +2 -2
  186. package/esm2015/constants/parent-animation.js +5 -5
  187. package/esm2015/constants/svg-node-filter.js +2 -2
  188. package/esm2015/constants/unicode-chars.js +19 -12
  189. package/esm2015/date-time/date-fillers.js +3 -3
  190. package/esm2015/date-time/date-format.js +3 -3
  191. package/esm2015/date-time/date-separator.js +3 -3
  192. package/esm2015/date-time/day-range.js +7 -7
  193. package/esm2015/date-time/day.js +14 -14
  194. package/esm2015/date-time/month.js +2 -2
  195. package/esm2015/date-time/time.js +7 -7
  196. package/esm2015/date-time/year.js +2 -2
  197. package/esm2015/decorators/pure.js +2 -2
  198. package/esm2015/directives/active-zone/active-zone.directive.js +4 -4
  199. package/esm2015/directives/auto-focus/autofocus.directive.js +2 -2
  200. package/esm2015/directives/auto-focus/autofocus.options.js +2 -2
  201. package/esm2015/directives/auto-focus/handlers/abstract.handler.js +2 -2
  202. package/esm2015/directives/auto-focus/handlers/default.handler.js +2 -2
  203. package/esm2015/directives/auto-focus/handlers/ios.handler.js +12 -12
  204. package/esm2015/directives/autofilled/autofilled-style.component.js +2 -2
  205. package/esm2015/directives/autofilled/autofilled.directive.js +6 -6
  206. package/esm2015/directives/checked/checked.directive.js +7 -7
  207. package/esm2015/directives/copy-processor/copy-processor.directive.js +4 -4
  208. package/esm2015/directives/drag/drag.directive.js +5 -5
  209. package/esm2015/directives/droppable/droppable.directive.js +5 -5
  210. package/esm2015/directives/element/element.directive.js +3 -3
  211. package/esm2015/directives/focus-trap/focus-trap.directive.js +6 -6
  212. package/esm2015/directives/focus-visible/focus-visible.directive.js +3 -3
  213. package/esm2015/directives/focusable/focusable.directive.js +4 -4
  214. package/esm2015/directives/focused/focused.directive.js +3 -3
  215. package/esm2015/directives/for/for.directive.js +2 -2
  216. package/esm2015/directives/for-async/for-async.directive.js +2 -2
  217. package/esm2015/directives/high-dpi/high-dpi.directive.js +2 -2
  218. package/esm2015/directives/hovered/hovered.directive.js +8 -5
  219. package/esm2015/directives/input-mode/input-mode.directive.js +11 -11
  220. package/esm2015/directives/item/item.directive.js +2 -2
  221. package/esm2015/directives/let/let.directive.js +2 -2
  222. package/esm2015/directives/media/media.directive.js +13 -13
  223. package/esm2015/directives/obscured/obscured.directive.js +2 -2
  224. package/esm2015/directives/overscroll/overscroll.directive.js +12 -12
  225. package/esm2015/directives/pan/pan.directive.js +3 -3
  226. package/esm2015/directives/portal/portal.directive.js +2 -2
  227. package/esm2015/directives/pressed/pressed.directive.js +2 -2
  228. package/esm2015/directives/prevent-default/prevent-default.directive.js +4 -4
  229. package/esm2015/directives/repeat-times/repeat-times.directive.js +2 -2
  230. package/esm2015/directives/resize/resize.directive.js +3 -3
  231. package/esm2015/directives/swipe/swipe.directive.js +3 -3
  232. package/esm2015/directives/validator/validator.directive.js +2 -2
  233. package/esm2015/directives/zoom/zoom.directive.js +4 -4
  234. package/esm2015/enums/autocomplete.js +1 -1
  235. package/esm2015/enums/input-mode.js +1 -1
  236. package/esm2015/enums/input-type.js +1 -1
  237. package/esm2015/enums/overscroll-mode.js +1 -1
  238. package/esm2015/exceptions/computed-document.exception.js +2 -2
  239. package/esm2015/exceptions/document-selection.exception.js +2 -2
  240. package/esm2015/exceptions/no-host.exception.js +2 -2
  241. package/esm2015/exceptions/owner-document.exception.js +2 -2
  242. package/esm2015/exceptions/pure.exception.js +2 -2
  243. package/esm2015/exceptions/table-sort-key.exception.js +2 -2
  244. package/esm2015/exceptions/ts-parser.exception.js +2 -2
  245. package/esm2015/exceptions/value-changes.exception.js +2 -2
  246. package/esm2015/exceptions/value-present.exception.js +2 -2
  247. package/esm2015/exceptions/xml-parsing.exception.js +2 -2
  248. package/esm2015/observables/drag-and-drop-from.js +2 -2
  249. package/esm2015/observables/focus-visible-observable.js +5 -5
  250. package/esm2015/observables/mouse-drag-finish-from.js +2 -2
  251. package/esm2015/observables/pressed-observable.js +2 -2
  252. package/esm2015/pipes/filter/filter.pipe.js +2 -2
  253. package/esm2015/pipes/mapper/mapper.pipe.js +2 -2
  254. package/esm2015/services/directive-styles.service.js +5 -5
  255. package/esm2015/services/hovered.service.js +4 -4
  256. package/esm2015/services/id.service.js +3 -3
  257. package/esm2015/services/obscured.service.js +2 -2
  258. package/esm2015/services/pan.service.js +5 -5
  259. package/esm2015/services/parents-scroll.service.js +2 -2
  260. package/esm2015/services/scroll.service.js +5 -5
  261. package/esm2015/services/static-request.service.js +3 -3
  262. package/esm2015/services/swipe.service.js +2 -2
  263. package/esm2015/services/zoom.service.js +3 -3
  264. package/esm2015/tokens/active-element.js +9 -9
  265. package/esm2015/tokens/alerts.js +2 -2
  266. package/esm2015/tokens/default-renderer.js +2 -2
  267. package/esm2015/tokens/dialogs.js +2 -2
  268. package/esm2015/tokens/focusable-item-accessor.js +2 -2
  269. package/esm2015/tokens/is-android.js +2 -2
  270. package/esm2015/tokens/is-apple.js +2 -2
  271. package/esm2015/tokens/is-chromium.js +2 -2
  272. package/esm2015/tokens/is-cypress.js +2 -2
  273. package/esm2015/tokens/is-firefox.js +3 -3
  274. package/esm2015/tokens/is-ios.js +2 -2
  275. package/esm2015/tokens/is-mobile.js +2 -2
  276. package/esm2015/tokens/is-webkit.js +2 -2
  277. package/esm2015/tokens/removed-element.js +2 -2
  278. package/esm2015/tokens/sanitizer.js +2 -2
  279. package/esm2015/tokens/swipe-options.js +2 -2
  280. package/esm2015/tokens/take-only-trusted-events.js +2 -2
  281. package/esm2015/tokens/touch-supported.js +3 -3
  282. package/esm2015/tokens/window-height.js +3 -3
  283. package/esm2015/tokens/zoom-options.js +2 -2
  284. package/esm2015/utils/browser/is-edge-older-than.js +2 -2
  285. package/esm2015/utils/browser/is-edge.js +2 -2
  286. package/esm2015/utils/browser/is-firefox.js +2 -2
  287. package/esm2015/utils/browser/is-ie.js +2 -2
  288. package/esm2015/utils/browser/is-safari.js +2 -2
  289. package/esm2015/utils/dom/custom-event.js +3 -3
  290. package/esm2015/utils/dom/get-actual-target.js +2 -2
  291. package/esm2015/utils/dom/get-clipboard-data-text.js +4 -4
  292. package/esm2015/utils/dom/get-document-or-shadow-root.js +2 -2
  293. package/esm2015/utils/dom/get-element-offset.js +2 -2
  294. package/esm2015/utils/dom/index.js +2 -1
  295. package/esm2015/utils/dom/is-element.js +5 -0
  296. package/esm2015/utils/dom/is-form-field.js +4 -4
  297. package/esm2015/utils/focus/is-native-keyboard-focusable.js +14 -14
  298. package/esm2015/utils/focus/is-native-mouse-focusable.js +3 -3
  299. package/esm2015/utils/focus/set-native-mouse-focused.js +5 -5
  300. package/esm2015/utils/format/pad-start.js +2 -2
  301. package/esm2015/utils/format/px.js +2 -2
  302. package/esm2015/utils/math/round.js +5 -5
  303. package/esm2015/utils/miscellaneous/ease-in-out-quad.js +2 -2
  304. package/esm2015/utils/miscellaneous/get-swipe-direction.js +3 -3
  305. package/esm2015/utils/miscellaneous/is-number.js +2 -2
  306. package/esm2015/utils/os/is-apple-platform.js +2 -2
  307. package/esm2015/utils/svg/svg-linear-gradient-processor.js +2 -2
  308. package/esm5/abstract/control.js +4 -4
  309. package/esm5/abstract/interactive.js +8 -8
  310. package/esm5/abstract/portal-host.js +2 -2
  311. package/esm5/abstract/theme-switcher.js +2 -2
  312. package/esm5/classes/assert.js +8 -8
  313. package/esm5/coercion/coerce-boolean-property.js +2 -2
  314. package/esm5/components/alert-host/alert-host.component.js +2 -2
  315. package/esm5/components/dialog-host/dialog-host.component.js +5 -5
  316. package/esm5/components/dropdown-host/dropdown-host.component.js +3 -3
  317. package/esm5/components/portal-host/portal.service.js +2 -2
  318. package/esm5/constants/parent-animation.js +5 -5
  319. package/esm5/constants/svg-node-filter.js +2 -2
  320. package/esm5/constants/unicode-chars.js +19 -12
  321. package/esm5/date-time/date-fillers.js +3 -3
  322. package/esm5/date-time/date-format.js +3 -3
  323. package/esm5/date-time/date-separator.js +3 -3
  324. package/esm5/date-time/day-range.js +8 -8
  325. package/esm5/date-time/day.js +15 -15
  326. package/esm5/date-time/month.js +2 -2
  327. package/esm5/date-time/time.js +7 -7
  328. package/esm5/date-time/year.js +2 -2
  329. package/esm5/decorators/pure.js +2 -2
  330. package/esm5/directives/active-zone/active-zone.directive.js +4 -4
  331. package/esm5/directives/auto-focus/autofocus.directive.js +2 -2
  332. package/esm5/directives/auto-focus/autofocus.options.js +2 -2
  333. package/esm5/directives/auto-focus/handlers/abstract.handler.js +2 -2
  334. package/esm5/directives/auto-focus/handlers/default.handler.js +2 -2
  335. package/esm5/directives/auto-focus/handlers/ios.handler.js +12 -12
  336. package/esm5/directives/autofilled/autofilled-style.component.js +2 -2
  337. package/esm5/directives/autofilled/autofilled.directive.js +6 -6
  338. package/esm5/directives/checked/checked.directive.js +7 -7
  339. package/esm5/directives/copy-processor/copy-processor.directive.js +4 -4
  340. package/esm5/directives/drag/drag.directive.js +5 -5
  341. package/esm5/directives/droppable/droppable.directive.js +6 -6
  342. package/esm5/directives/element/element.directive.js +3 -3
  343. package/esm5/directives/focus-trap/focus-trap.directive.js +6 -6
  344. package/esm5/directives/focus-visible/focus-visible.directive.js +3 -3
  345. package/esm5/directives/focusable/focusable.directive.js +4 -4
  346. package/esm5/directives/focused/focused.directive.js +3 -3
  347. package/esm5/directives/for/for.directive.js +2 -2
  348. package/esm5/directives/for-async/for-async.directive.js +2 -2
  349. package/esm5/directives/high-dpi/high-dpi.directive.js +2 -2
  350. package/esm5/directives/hovered/hovered.directive.js +8 -5
  351. package/esm5/directives/input-mode/input-mode.directive.js +11 -11
  352. package/esm5/directives/item/item.directive.js +2 -2
  353. package/esm5/directives/let/let.directive.js +2 -2
  354. package/esm5/directives/media/media.directive.js +13 -13
  355. package/esm5/directives/obscured/obscured.directive.js +2 -2
  356. package/esm5/directives/overscroll/overscroll.directive.js +12 -12
  357. package/esm5/directives/pan/pan.directive.js +3 -3
  358. package/esm5/directives/portal/portal.directive.js +2 -2
  359. package/esm5/directives/pressed/pressed.directive.js +2 -2
  360. package/esm5/directives/prevent-default/prevent-default.directive.js +4 -4
  361. package/esm5/directives/repeat-times/repeat-times.directive.js +2 -2
  362. package/esm5/directives/resize/resize.directive.js +3 -3
  363. package/esm5/directives/swipe/swipe.directive.js +3 -3
  364. package/esm5/directives/validator/validator.directive.js +2 -2
  365. package/esm5/directives/zoom/zoom.directive.js +4 -4
  366. package/esm5/enums/autocomplete.js +1 -1
  367. package/esm5/enums/input-mode.js +1 -1
  368. package/esm5/enums/input-type.js +1 -1
  369. package/esm5/enums/overscroll-mode.js +1 -1
  370. package/esm5/exceptions/computed-document.exception.js +2 -2
  371. package/esm5/exceptions/document-selection.exception.js +2 -2
  372. package/esm5/exceptions/no-host.exception.js +2 -2
  373. package/esm5/exceptions/owner-document.exception.js +2 -2
  374. package/esm5/exceptions/pure.exception.js +2 -2
  375. package/esm5/exceptions/table-sort-key.exception.js +2 -2
  376. package/esm5/exceptions/ts-parser.exception.js +2 -2
  377. package/esm5/exceptions/value-changes.exception.js +2 -2
  378. package/esm5/exceptions/value-present.exception.js +2 -2
  379. package/esm5/exceptions/xml-parsing.exception.js +2 -2
  380. package/esm5/observables/drag-and-drop-from.js +2 -2
  381. package/esm5/observables/focus-visible-observable.js +5 -5
  382. package/esm5/observables/mouse-drag-finish-from.js +2 -2
  383. package/esm5/observables/pressed-observable.js +2 -2
  384. package/esm5/pipes/filter/filter.pipe.js +2 -2
  385. package/esm5/pipes/mapper/mapper.pipe.js +2 -2
  386. package/esm5/services/directive-styles.service.js +5 -5
  387. package/esm5/services/hovered.service.js +5 -5
  388. package/esm5/services/id.service.js +3 -3
  389. package/esm5/services/obscured.service.js +2 -2
  390. package/esm5/services/pan.service.js +5 -5
  391. package/esm5/services/parents-scroll.service.js +2 -2
  392. package/esm5/services/scroll.service.js +5 -5
  393. package/esm5/services/static-request.service.js +3 -3
  394. package/esm5/services/swipe.service.js +2 -2
  395. package/esm5/services/zoom.service.js +5 -5
  396. package/esm5/tokens/active-element.js +10 -10
  397. package/esm5/tokens/alerts.js +2 -2
  398. package/esm5/tokens/default-renderer.js +2 -2
  399. package/esm5/tokens/dialogs.js +2 -2
  400. package/esm5/tokens/focusable-item-accessor.js +2 -2
  401. package/esm5/tokens/is-android.js +2 -2
  402. package/esm5/tokens/is-apple.js +2 -2
  403. package/esm5/tokens/is-chromium.js +2 -2
  404. package/esm5/tokens/is-cypress.js +2 -2
  405. package/esm5/tokens/is-firefox.js +3 -3
  406. package/esm5/tokens/is-ios.js +2 -2
  407. package/esm5/tokens/is-mobile.js +2 -2
  408. package/esm5/tokens/is-webkit.js +2 -2
  409. package/esm5/tokens/removed-element.js +2 -2
  410. package/esm5/tokens/sanitizer.js +2 -2
  411. package/esm5/tokens/swipe-options.js +2 -2
  412. package/esm5/tokens/take-only-trusted-events.js +2 -2
  413. package/esm5/tokens/touch-supported.js +3 -3
  414. package/esm5/tokens/window-height.js +3 -3
  415. package/esm5/tokens/zoom-options.js +2 -2
  416. package/esm5/utils/browser/is-edge-older-than.js +2 -2
  417. package/esm5/utils/browser/is-edge.js +2 -2
  418. package/esm5/utils/browser/is-firefox.js +2 -2
  419. package/esm5/utils/browser/is-ie.js +2 -2
  420. package/esm5/utils/browser/is-safari.js +2 -2
  421. package/esm5/utils/dom/custom-event.js +3 -3
  422. package/esm5/utils/dom/get-actual-target.js +2 -2
  423. package/esm5/utils/dom/get-clipboard-data-text.js +4 -4
  424. package/esm5/utils/dom/get-document-or-shadow-root.js +2 -2
  425. package/esm5/utils/dom/get-element-offset.js +2 -2
  426. package/esm5/utils/dom/index.js +2 -1
  427. package/esm5/utils/dom/is-element.js +5 -0
  428. package/esm5/utils/dom/is-form-field.js +4 -4
  429. package/esm5/utils/focus/is-native-keyboard-focusable.js +14 -14
  430. package/esm5/utils/focus/is-native-mouse-focusable.js +3 -3
  431. package/esm5/utils/focus/set-native-mouse-focused.js +5 -5
  432. package/esm5/utils/format/pad-start.js +2 -2
  433. package/esm5/utils/format/px.js +2 -2
  434. package/esm5/utils/math/round.js +5 -5
  435. package/esm5/utils/miscellaneous/ease-in-out-quad.js +2 -2
  436. package/esm5/utils/miscellaneous/get-swipe-direction.js +3 -3
  437. package/esm5/utils/miscellaneous/is-number.js +2 -2
  438. package/esm5/utils/os/is-apple-platform.js +2 -2
  439. package/esm5/utils/svg/svg-linear-gradient-processor.js +2 -2
  440. package/fesm2015/taiga-ui-cdk-abstract.js +12 -12
  441. package/fesm2015/taiga-ui-cdk-abstract.js.map +1 -1
  442. package/fesm2015/taiga-ui-cdk-classes.js +7 -7
  443. package/fesm2015/taiga-ui-cdk-classes.js.map +1 -1
  444. package/fesm2015/taiga-ui-cdk-coercion.js +1 -1
  445. package/fesm2015/taiga-ui-cdk-coercion.js.map +1 -1
  446. package/fesm2015/taiga-ui-cdk-components-alert-host.js +1 -1
  447. package/fesm2015/taiga-ui-cdk-components-alert-host.js.map +1 -1
  448. package/fesm2015/taiga-ui-cdk-components-dialog-host.js +4 -4
  449. package/fesm2015/taiga-ui-cdk-components-dialog-host.js.map +1 -1
  450. package/fesm2015/taiga-ui-cdk-components-dropdown-host.js +2 -2
  451. package/fesm2015/taiga-ui-cdk-components-dropdown-host.js.map +1 -1
  452. package/fesm2015/taiga-ui-cdk-components-portal-host.js +1 -1
  453. package/fesm2015/taiga-ui-cdk-components-portal-host.js.map +1 -1
  454. package/fesm2015/taiga-ui-cdk-constants.js +24 -17
  455. package/fesm2015/taiga-ui-cdk-constants.js.map +1 -1
  456. package/fesm2015/taiga-ui-cdk-date-time.js +33 -33
  457. package/fesm2015/taiga-ui-cdk-date-time.js.map +1 -1
  458. package/fesm2015/taiga-ui-cdk-decorators.js +1 -1
  459. package/fesm2015/taiga-ui-cdk-decorators.js.map +1 -1
  460. package/fesm2015/taiga-ui-cdk-directives-active-zone.js +3 -3
  461. package/fesm2015/taiga-ui-cdk-directives-active-zone.js.map +1 -1
  462. package/fesm2015/taiga-ui-cdk-directives-auto-focus.js +15 -15
  463. package/fesm2015/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
  464. package/fesm2015/taiga-ui-cdk-directives-autofilled.js +6 -6
  465. package/fesm2015/taiga-ui-cdk-directives-autofilled.js.map +1 -1
  466. package/fesm2015/taiga-ui-cdk-directives-checked.js +6 -6
  467. package/fesm2015/taiga-ui-cdk-directives-checked.js.map +1 -1
  468. package/fesm2015/taiga-ui-cdk-directives-copy-processor.js +3 -3
  469. package/fesm2015/taiga-ui-cdk-directives-copy-processor.js.map +1 -1
  470. package/fesm2015/taiga-ui-cdk-directives-drag.js +4 -4
  471. package/fesm2015/taiga-ui-cdk-directives-drag.js.map +1 -1
  472. package/fesm2015/taiga-ui-cdk-directives-droppable.js +4 -4
  473. package/fesm2015/taiga-ui-cdk-directives-droppable.js.map +1 -1
  474. package/fesm2015/taiga-ui-cdk-directives-element.js +2 -2
  475. package/fesm2015/taiga-ui-cdk-directives-element.js.map +1 -1
  476. package/fesm2015/taiga-ui-cdk-directives-focus-trap.js +5 -5
  477. package/fesm2015/taiga-ui-cdk-directives-focus-trap.js.map +1 -1
  478. package/fesm2015/taiga-ui-cdk-directives-focus-visible.js +2 -2
  479. package/fesm2015/taiga-ui-cdk-directives-focus-visible.js.map +1 -1
  480. package/fesm2015/taiga-ui-cdk-directives-focusable.js +3 -3
  481. package/fesm2015/taiga-ui-cdk-directives-focusable.js.map +1 -1
  482. package/fesm2015/taiga-ui-cdk-directives-focused.js +2 -2
  483. package/fesm2015/taiga-ui-cdk-directives-focused.js.map +1 -1
  484. package/fesm2015/taiga-ui-cdk-directives-for-async.js +1 -1
  485. package/fesm2015/taiga-ui-cdk-directives-for-async.js.map +1 -1
  486. package/fesm2015/taiga-ui-cdk-directives-for.js +1 -1
  487. package/fesm2015/taiga-ui-cdk-directives-for.js.map +1 -1
  488. package/fesm2015/taiga-ui-cdk-directives-high-dpi.js +1 -1
  489. package/fesm2015/taiga-ui-cdk-directives-high-dpi.js.map +1 -1
  490. package/fesm2015/taiga-ui-cdk-directives-hovered.js +7 -4
  491. package/fesm2015/taiga-ui-cdk-directives-hovered.js.map +1 -1
  492. package/fesm2015/taiga-ui-cdk-directives-input-mode.js +10 -10
  493. package/fesm2015/taiga-ui-cdk-directives-input-mode.js.map +1 -1
  494. package/fesm2015/taiga-ui-cdk-directives-item.js +1 -1
  495. package/fesm2015/taiga-ui-cdk-directives-item.js.map +1 -1
  496. package/fesm2015/taiga-ui-cdk-directives-let.js +1 -1
  497. package/fesm2015/taiga-ui-cdk-directives-let.js.map +1 -1
  498. package/fesm2015/taiga-ui-cdk-directives-media.js +12 -12
  499. package/fesm2015/taiga-ui-cdk-directives-media.js.map +1 -1
  500. package/fesm2015/taiga-ui-cdk-directives-obscured.js +1 -1
  501. package/fesm2015/taiga-ui-cdk-directives-obscured.js.map +1 -1
  502. package/fesm2015/taiga-ui-cdk-directives-overscroll.js +11 -11
  503. package/fesm2015/taiga-ui-cdk-directives-overscroll.js.map +1 -1
  504. package/fesm2015/taiga-ui-cdk-directives-pan.js +2 -2
  505. package/fesm2015/taiga-ui-cdk-directives-pan.js.map +1 -1
  506. package/fesm2015/taiga-ui-cdk-directives-portal.js +1 -1
  507. package/fesm2015/taiga-ui-cdk-directives-portal.js.map +1 -1
  508. package/fesm2015/taiga-ui-cdk-directives-pressed.js +1 -1
  509. package/fesm2015/taiga-ui-cdk-directives-pressed.js.map +1 -1
  510. package/fesm2015/taiga-ui-cdk-directives-prevent-default.js +3 -3
  511. package/fesm2015/taiga-ui-cdk-directives-prevent-default.js.map +1 -1
  512. package/fesm2015/taiga-ui-cdk-directives-repeat-times.js +1 -1
  513. package/fesm2015/taiga-ui-cdk-directives-repeat-times.js.map +1 -1
  514. package/fesm2015/taiga-ui-cdk-directives-resize.js +2 -2
  515. package/fesm2015/taiga-ui-cdk-directives-resize.js.map +1 -1
  516. package/fesm2015/taiga-ui-cdk-directives-swipe.js +2 -2
  517. package/fesm2015/taiga-ui-cdk-directives-swipe.js.map +1 -1
  518. package/fesm2015/taiga-ui-cdk-directives-validator.js +1 -1
  519. package/fesm2015/taiga-ui-cdk-directives-validator.js.map +1 -1
  520. package/fesm2015/taiga-ui-cdk-directives-zoom.js +3 -3
  521. package/fesm2015/taiga-ui-cdk-directives-zoom.js.map +1 -1
  522. package/fesm2015/taiga-ui-cdk-enums.js.map +1 -1
  523. package/fesm2015/taiga-ui-cdk-exceptions.js +10 -10
  524. package/fesm2015/taiga-ui-cdk-exceptions.js.map +1 -1
  525. package/fesm2015/taiga-ui-cdk-observables.js +7 -7
  526. package/fesm2015/taiga-ui-cdk-observables.js.map +1 -1
  527. package/fesm2015/taiga-ui-cdk-pipes-filter.js +1 -1
  528. package/fesm2015/taiga-ui-cdk-pipes-filter.js.map +1 -1
  529. package/fesm2015/taiga-ui-cdk-pipes-mapper.js +1 -1
  530. package/fesm2015/taiga-ui-cdk-pipes-mapper.js.map +1 -1
  531. package/fesm2015/taiga-ui-cdk-services.js +24 -24
  532. package/fesm2015/taiga-ui-cdk-services.js.map +1 -1
  533. package/fesm2015/taiga-ui-cdk-tokens.js +30 -30
  534. package/fesm2015/taiga-ui-cdk-tokens.js.map +1 -1
  535. package/fesm2015/taiga-ui-cdk-utils-browser.js +5 -5
  536. package/fesm2015/taiga-ui-cdk-utils-browser.js.map +1 -1
  537. package/fesm2015/taiga-ui-cdk-utils-dom.js +17 -12
  538. package/fesm2015/taiga-ui-cdk-utils-dom.js.map +1 -1
  539. package/fesm2015/taiga-ui-cdk-utils-focus.js +19 -19
  540. package/fesm2015/taiga-ui-cdk-utils-focus.js.map +1 -1
  541. package/fesm2015/taiga-ui-cdk-utils-format.js +2 -2
  542. package/fesm2015/taiga-ui-cdk-utils-format.js.map +1 -1
  543. package/fesm2015/taiga-ui-cdk-utils-math.js +4 -4
  544. package/fesm2015/taiga-ui-cdk-utils-math.js.map +1 -1
  545. package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js +4 -4
  546. package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js.map +1 -1
  547. package/fesm2015/taiga-ui-cdk-utils-os.js +1 -1
  548. package/fesm2015/taiga-ui-cdk-utils-os.js.map +1 -1
  549. package/fesm2015/taiga-ui-cdk-utils-svg.js +1 -1
  550. package/fesm2015/taiga-ui-cdk-utils-svg.js.map +1 -1
  551. package/fesm5/taiga-ui-cdk-abstract.js +12 -12
  552. package/fesm5/taiga-ui-cdk-abstract.js.map +1 -1
  553. package/fesm5/taiga-ui-cdk-classes.js +7 -7
  554. package/fesm5/taiga-ui-cdk-classes.js.map +1 -1
  555. package/fesm5/taiga-ui-cdk-coercion.js +1 -1
  556. package/fesm5/taiga-ui-cdk-coercion.js.map +1 -1
  557. package/fesm5/taiga-ui-cdk-components-alert-host.js +1 -1
  558. package/fesm5/taiga-ui-cdk-components-alert-host.js.map +1 -1
  559. package/fesm5/taiga-ui-cdk-components-dialog-host.js +4 -4
  560. package/fesm5/taiga-ui-cdk-components-dialog-host.js.map +1 -1
  561. package/fesm5/taiga-ui-cdk-components-dropdown-host.js +2 -2
  562. package/fesm5/taiga-ui-cdk-components-dropdown-host.js.map +1 -1
  563. package/fesm5/taiga-ui-cdk-components-portal-host.js +1 -1
  564. package/fesm5/taiga-ui-cdk-components-portal-host.js.map +1 -1
  565. package/fesm5/taiga-ui-cdk-constants.js +24 -17
  566. package/fesm5/taiga-ui-cdk-constants.js.map +1 -1
  567. package/fesm5/taiga-ui-cdk-date-time.js +35 -35
  568. package/fesm5/taiga-ui-cdk-date-time.js.map +1 -1
  569. package/fesm5/taiga-ui-cdk-decorators.js +1 -1
  570. package/fesm5/taiga-ui-cdk-decorators.js.map +1 -1
  571. package/fesm5/taiga-ui-cdk-directives-active-zone.js +3 -3
  572. package/fesm5/taiga-ui-cdk-directives-active-zone.js.map +1 -1
  573. package/fesm5/taiga-ui-cdk-directives-auto-focus.js +15 -15
  574. package/fesm5/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
  575. package/fesm5/taiga-ui-cdk-directives-autofilled.js +6 -6
  576. package/fesm5/taiga-ui-cdk-directives-autofilled.js.map +1 -1
  577. package/fesm5/taiga-ui-cdk-directives-checked.js +6 -6
  578. package/fesm5/taiga-ui-cdk-directives-checked.js.map +1 -1
  579. package/fesm5/taiga-ui-cdk-directives-copy-processor.js +3 -3
  580. package/fesm5/taiga-ui-cdk-directives-copy-processor.js.map +1 -1
  581. package/fesm5/taiga-ui-cdk-directives-drag.js +4 -4
  582. package/fesm5/taiga-ui-cdk-directives-drag.js.map +1 -1
  583. package/fesm5/taiga-ui-cdk-directives-droppable.js +5 -5
  584. package/fesm5/taiga-ui-cdk-directives-droppable.js.map +1 -1
  585. package/fesm5/taiga-ui-cdk-directives-element.js +2 -2
  586. package/fesm5/taiga-ui-cdk-directives-element.js.map +1 -1
  587. package/fesm5/taiga-ui-cdk-directives-focus-trap.js +5 -5
  588. package/fesm5/taiga-ui-cdk-directives-focus-trap.js.map +1 -1
  589. package/fesm5/taiga-ui-cdk-directives-focus-visible.js +2 -2
  590. package/fesm5/taiga-ui-cdk-directives-focus-visible.js.map +1 -1
  591. package/fesm5/taiga-ui-cdk-directives-focusable.js +3 -3
  592. package/fesm5/taiga-ui-cdk-directives-focusable.js.map +1 -1
  593. package/fesm5/taiga-ui-cdk-directives-focused.js +2 -2
  594. package/fesm5/taiga-ui-cdk-directives-focused.js.map +1 -1
  595. package/fesm5/taiga-ui-cdk-directives-for-async.js +1 -1
  596. package/fesm5/taiga-ui-cdk-directives-for-async.js.map +1 -1
  597. package/fesm5/taiga-ui-cdk-directives-for.js +1 -1
  598. package/fesm5/taiga-ui-cdk-directives-for.js.map +1 -1
  599. package/fesm5/taiga-ui-cdk-directives-high-dpi.js +1 -1
  600. package/fesm5/taiga-ui-cdk-directives-high-dpi.js.map +1 -1
  601. package/fesm5/taiga-ui-cdk-directives-hovered.js +7 -4
  602. package/fesm5/taiga-ui-cdk-directives-hovered.js.map +1 -1
  603. package/fesm5/taiga-ui-cdk-directives-input-mode.js +10 -10
  604. package/fesm5/taiga-ui-cdk-directives-input-mode.js.map +1 -1
  605. package/fesm5/taiga-ui-cdk-directives-item.js +1 -1
  606. package/fesm5/taiga-ui-cdk-directives-item.js.map +1 -1
  607. package/fesm5/taiga-ui-cdk-directives-let.js +1 -1
  608. package/fesm5/taiga-ui-cdk-directives-let.js.map +1 -1
  609. package/fesm5/taiga-ui-cdk-directives-media.js +12 -12
  610. package/fesm5/taiga-ui-cdk-directives-media.js.map +1 -1
  611. package/fesm5/taiga-ui-cdk-directives-obscured.js +1 -1
  612. package/fesm5/taiga-ui-cdk-directives-obscured.js.map +1 -1
  613. package/fesm5/taiga-ui-cdk-directives-overscroll.js +11 -11
  614. package/fesm5/taiga-ui-cdk-directives-overscroll.js.map +1 -1
  615. package/fesm5/taiga-ui-cdk-directives-pan.js +2 -2
  616. package/fesm5/taiga-ui-cdk-directives-pan.js.map +1 -1
  617. package/fesm5/taiga-ui-cdk-directives-portal.js +1 -1
  618. package/fesm5/taiga-ui-cdk-directives-portal.js.map +1 -1
  619. package/fesm5/taiga-ui-cdk-directives-pressed.js +1 -1
  620. package/fesm5/taiga-ui-cdk-directives-pressed.js.map +1 -1
  621. package/fesm5/taiga-ui-cdk-directives-prevent-default.js +3 -3
  622. package/fesm5/taiga-ui-cdk-directives-prevent-default.js.map +1 -1
  623. package/fesm5/taiga-ui-cdk-directives-repeat-times.js +1 -1
  624. package/fesm5/taiga-ui-cdk-directives-repeat-times.js.map +1 -1
  625. package/fesm5/taiga-ui-cdk-directives-resize.js +2 -2
  626. package/fesm5/taiga-ui-cdk-directives-resize.js.map +1 -1
  627. package/fesm5/taiga-ui-cdk-directives-swipe.js +2 -2
  628. package/fesm5/taiga-ui-cdk-directives-swipe.js.map +1 -1
  629. package/fesm5/taiga-ui-cdk-directives-validator.js +1 -1
  630. package/fesm5/taiga-ui-cdk-directives-validator.js.map +1 -1
  631. package/fesm5/taiga-ui-cdk-directives-zoom.js +3 -3
  632. package/fesm5/taiga-ui-cdk-directives-zoom.js.map +1 -1
  633. package/fesm5/taiga-ui-cdk-enums.js.map +1 -1
  634. package/fesm5/taiga-ui-cdk-exceptions.js +10 -10
  635. package/fesm5/taiga-ui-cdk-exceptions.js.map +1 -1
  636. package/fesm5/taiga-ui-cdk-observables.js +7 -7
  637. package/fesm5/taiga-ui-cdk-observables.js.map +1 -1
  638. package/fesm5/taiga-ui-cdk-pipes-filter.js +1 -1
  639. package/fesm5/taiga-ui-cdk-pipes-filter.js.map +1 -1
  640. package/fesm5/taiga-ui-cdk-pipes-mapper.js +1 -1
  641. package/fesm5/taiga-ui-cdk-pipes-mapper.js.map +1 -1
  642. package/fesm5/taiga-ui-cdk-services.js +27 -27
  643. package/fesm5/taiga-ui-cdk-services.js.map +1 -1
  644. package/fesm5/taiga-ui-cdk-tokens.js +31 -31
  645. package/fesm5/taiga-ui-cdk-tokens.js.map +1 -1
  646. package/fesm5/taiga-ui-cdk-utils-browser.js +5 -5
  647. package/fesm5/taiga-ui-cdk-utils-browser.js.map +1 -1
  648. package/fesm5/taiga-ui-cdk-utils-dom.js +17 -12
  649. package/fesm5/taiga-ui-cdk-utils-dom.js.map +1 -1
  650. package/fesm5/taiga-ui-cdk-utils-focus.js +19 -19
  651. package/fesm5/taiga-ui-cdk-utils-focus.js.map +1 -1
  652. package/fesm5/taiga-ui-cdk-utils-format.js +2 -2
  653. package/fesm5/taiga-ui-cdk-utils-format.js.map +1 -1
  654. package/fesm5/taiga-ui-cdk-utils-math.js +4 -4
  655. package/fesm5/taiga-ui-cdk-utils-math.js.map +1 -1
  656. package/fesm5/taiga-ui-cdk-utils-miscellaneous.js +4 -4
  657. package/fesm5/taiga-ui-cdk-utils-miscellaneous.js.map +1 -1
  658. package/fesm5/taiga-ui-cdk-utils-os.js +1 -1
  659. package/fesm5/taiga-ui-cdk-utils-os.js.map +1 -1
  660. package/fesm5/taiga-ui-cdk-utils-svg.js +1 -1
  661. package/fesm5/taiga-ui-cdk-utils-svg.js.map +1 -1
  662. package/package.json +1 -1
  663. package/schematics/ng-add/constants/modules.js +4 -4
  664. package/schematics/ng-update/constants/consts.js +30 -0
  665. package/schematics/ng-update/constants/modules.js +1 -0
  666. package/schematics/ng-update/constants/templates.d.ts +8 -0
  667. package/schematics/ng-update/constants/templates.js +10 -0
  668. package/schematics/ng-update/constants/warnings.js +10 -0
  669. package/utils/dom/index.d.ts +1 -0
  670. package/utils/dom/is-element.d.ts +1 -0
  671. package/utils/dom/taiga-ui-cdk-utils-dom.metadata.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-validator.js","sources":["ng://@taiga-ui/cdk/directives/validator/validator.directive.ts","ng://@taiga-ui/cdk/directives/validator/validator.module.ts","ng://@taiga-ui/cdk/directives/validator/taiga-ui-cdk-directives-validator.ts"],"sourcesContent":["import {Directive, forwardRef, Input, OnChanges, OnDestroy} from '@angular/core';\nimport {\n AbstractControl,\n NG_VALIDATORS,\n ValidationErrors,\n Validator,\n ValidatorFn,\n Validators,\n} from '@angular/forms';\nimport {EMPTY_FUNCTION} from '@taiga-ui/cdk/constants';\nimport {tuiDefaultProp} from '@taiga-ui/cdk/decorators';\n\n@Directive({\n selector: '[tuiValidator]',\n providers: [\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => TuiValidatorDirective),\n multi: true,\n },\n ],\n})\nexport class TuiValidatorDirective implements Validator, OnChanges, OnDestroy {\n private onChange = EMPTY_FUNCTION;\n\n @Input()\n @tuiDefaultProp()\n tuiValidator: ValidatorFn = Validators.nullValidator;\n\n validate(control: AbstractControl): ValidationErrors | null {\n return this.tuiValidator(control);\n }\n\n registerOnValidatorChange(onChange: (...args: any[]) => void): void {\n this.onChange = onChange;\n }\n\n ngOnChanges(): void {\n this.onChange();\n }\n\n ngOnDestroy(): void {\n this.tuiValidator = Validators.nullValidator;\n this.onChange();\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiValidatorDirective} from './validator.directive';\n\n@NgModule({\n declarations: [TuiValidatorDirective],\n exports: [TuiValidatorDirective],\n})\nexport class TuiValidatorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;IAsBa,qBAAqB,6BAAlC,MAAa,qBAAqB;IAAlC;QACY,aAAQ,GAAG,cAAc,CAAC;QAIlC,iBAAY,GAAgB,UAAU,CAAC,aAAa,CAAC;KAkBxD;IAhBG,QAAQ,CAAC,OAAwB;QAC7B,OAAO,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;KACrC;IAED,yBAAyB,CAAC,QAAkC;QACxD,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;KAC5B;IAED,WAAW;QACP,IAAI,CAAC,QAAQ,EAAE,CAAC;KACnB;IAED,WAAW;QACP,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC,aAAa,CAAC;QAC7C,IAAI,CAAC,QAAQ,EAAE,CAAC;KACnB;EACJ;AAlBG;IAFC,KAAK,EAAE;IACP,cAAc,EAAE;2DACoC;AAL5C,qBAAqB;IAVjC,SAAS,CAAC;QACP,QAAQ,EAAE,gBAAgB;QAC1B,SAAS,EAAE;YACP;gBACI,OAAO,EAAE,aAAa;gBACtB,WAAW,EAAE,UAAU,CAAC,MAAM,uBAAqB,CAAC;gBACpD,KAAK,EAAE,IAAI;aACd;SACJ;KACJ,CAAC;GACW,qBAAqB,CAuBjC;;ICrCY,kBAAkB,GAA/B,MAAa,kBAAkB;EAAG;AAArB,kBAAkB;IAJ9B,QAAQ,CAAC;QACN,YAAY,EAAE,CAAC,qBAAqB,CAAC;QACrC,OAAO,EAAE,CAAC,qBAAqB,CAAC;KACnC,CAAC;GACW,kBAAkB,CAAG;;ACRlC;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-validator.js","sources":["ng://@taiga-ui/cdk/directives/validator/validator.directive.ts","ng://@taiga-ui/cdk/directives/validator/validator.module.ts","ng://@taiga-ui/cdk/directives/validator/taiga-ui-cdk-directives-validator.ts"],"sourcesContent":["import {Directive, forwardRef, Input, OnChanges, OnDestroy} from '@angular/core';\nimport {\n AbstractControl,\n NG_VALIDATORS,\n ValidationErrors,\n Validator,\n ValidatorFn,\n Validators,\n} from '@angular/forms';\nimport {EMPTY_FUNCTION} from '@taiga-ui/cdk/constants';\nimport {tuiDefaultProp} from '@taiga-ui/cdk/decorators';\n\n@Directive({\n selector: `[tuiValidator]`,\n providers: [\n {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => TuiValidatorDirective),\n multi: true,\n },\n ],\n})\nexport class TuiValidatorDirective implements Validator, OnChanges, OnDestroy {\n private onChange = EMPTY_FUNCTION;\n\n @Input()\n @tuiDefaultProp()\n tuiValidator: ValidatorFn = Validators.nullValidator;\n\n validate(control: AbstractControl): ValidationErrors | null {\n return this.tuiValidator(control);\n }\n\n registerOnValidatorChange(onChange: (...args: any[]) => void): void {\n this.onChange = onChange;\n }\n\n ngOnChanges(): void {\n this.onChange();\n }\n\n ngOnDestroy(): void {\n this.tuiValidator = Validators.nullValidator;\n this.onChange();\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiValidatorDirective} from './validator.directive';\n\n@NgModule({\n declarations: [TuiValidatorDirective],\n exports: [TuiValidatorDirective],\n})\nexport class TuiValidatorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;IAsBa,qBAAqB,6BAAlC,MAAa,qBAAqB;IAAlC;QACY,aAAQ,GAAG,cAAc,CAAC;QAIlC,iBAAY,GAAgB,UAAU,CAAC,aAAa,CAAC;KAkBxD;IAhBG,QAAQ,CAAC,OAAwB;QAC7B,OAAO,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;KACrC;IAED,yBAAyB,CAAC,QAAkC;QACxD,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;KAC5B;IAED,WAAW;QACP,IAAI,CAAC,QAAQ,EAAE,CAAC;KACnB;IAED,WAAW;QACP,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC,aAAa,CAAC;QAC7C,IAAI,CAAC,QAAQ,EAAE,CAAC;KACnB;EACJ;AAlBG;IAFC,KAAK,EAAE;IACP,cAAc,EAAE;2DACoC;AAL5C,qBAAqB;IAVjC,SAAS,CAAC;QACP,QAAQ,EAAE,gBAAgB;QAC1B,SAAS,EAAE;YACP;gBACI,OAAO,EAAE,aAAa;gBACtB,WAAW,EAAE,UAAU,CAAC,MAAM,uBAAqB,CAAC;gBACpD,KAAK,EAAE,IAAI;aACd;SACJ;KACJ,CAAC;GACW,qBAAqB,CAuBjC;;ICrCY,kBAAkB,GAA/B,MAAa,kBAAkB;EAAG;AAArB,kBAAkB;IAJ9B,QAAQ,CAAC;QACN,YAAY,EAAE,CAAC,qBAAqB,CAAC;QACrC,OAAO,EAAE,CAAC,qBAAqB,CAAC;KACnC,CAAC;GACW,kBAAkB,CAAG;;ACRlC;;;;;;"}
@@ -14,11 +14,11 @@ TuiZoomDirective.ctorParameters = () => [
14
14
  ];
15
15
  TuiZoomDirective = __decorate([
16
16
  Directive({
17
- selector: '[tuiZoom]',
18
- outputs: ['tuiZoom'],
17
+ selector: `[tuiZoom]`,
18
+ outputs: [`tuiZoom`],
19
19
  providers: [TuiZoomService],
20
20
  host: {
21
- '[style.touch-action]': '"none"',
21
+ '[style.touch-action]': `"none"`,
22
22
  },
23
23
  }),
24
24
  __param(0, Inject(TuiZoomService))
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-zoom.js","sources":["ng://@taiga-ui/cdk/directives/zoom/zoom.directive.ts","ng://@taiga-ui/cdk/directives/zoom/zoom.module.ts","ng://@taiga-ui/cdk/directives/zoom/taiga-ui-cdk-directives-zoom.ts"],"sourcesContent":["import {Directive, Inject} from '@angular/core';\nimport {TuiZoom} from '@taiga-ui/cdk/interfaces';\nimport {TuiZoomService} from '@taiga-ui/cdk/services';\nimport {Observable} from 'rxjs';\n\n// @dynamic\n@Directive({\n selector: '[tuiZoom]',\n outputs: ['tuiZoom'],\n providers: [TuiZoomService],\n host: {\n '[style.touch-action]': '\"none\"',\n },\n})\nexport class TuiZoomDirective {\n constructor(@Inject(TuiZoomService) readonly tuiZoom: Observable<TuiZoom>) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiZoomDirective} from './zoom.directive';\n\n/**\n * @experimental\n */\n@NgModule({\n declarations: [TuiZoomDirective],\n exports: [TuiZoomDirective],\n})\nexport class TuiZoomModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAKA;IASa,gBAAgB,GAA7B,MAAa,gBAAgB;IACzB,YAA6C,OAA4B;QAA5B,YAAO,GAAP,OAAO,CAAqB;KAAI;EAChF;;YADyD,UAAU,uBAAnD,MAAM,SAAC,cAAc;;AADzB,gBAAgB;IAR5B,SAAS,CAAC;QACP,QAAQ,EAAE,WAAW;QACrB,OAAO,EAAE,CAAC,SAAS,CAAC;QACpB,SAAS,EAAE,CAAC,cAAc,CAAC;QAC3B,IAAI,EAAE;YACF,sBAAsB,EAAE,QAAQ;SACnC;KACJ,CAAC;IAEe,WAAA,MAAM,CAAC,cAAc,CAAC,CAAA;GAD1B,gBAAgB,CAE5B;;ACZD;;;IAOa,aAAa,GAA1B,MAAa,aAAa;EAAG;AAAhB,aAAa;IAJzB,QAAQ,CAAC;QACN,YAAY,EAAE,CAAC,gBAAgB,CAAC;QAChC,OAAO,EAAE,CAAC,gBAAgB,CAAC;KAC9B,CAAC;GACW,aAAa,CAAG;;ACX7B;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-zoom.js","sources":["ng://@taiga-ui/cdk/directives/zoom/zoom.directive.ts","ng://@taiga-ui/cdk/directives/zoom/zoom.module.ts","ng://@taiga-ui/cdk/directives/zoom/taiga-ui-cdk-directives-zoom.ts"],"sourcesContent":["import {Directive, Inject} from '@angular/core';\nimport {TuiZoom} from '@taiga-ui/cdk/interfaces';\nimport {TuiZoomService} from '@taiga-ui/cdk/services';\nimport {Observable} from 'rxjs';\n\n// @dynamic\n@Directive({\n selector: `[tuiZoom]`,\n outputs: [`tuiZoom`],\n providers: [TuiZoomService],\n host: {\n '[style.touch-action]': `\"none\"`,\n },\n})\nexport class TuiZoomDirective {\n constructor(@Inject(TuiZoomService) readonly tuiZoom: Observable<TuiZoom>) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiZoomDirective} from './zoom.directive';\n\n/**\n * @experimental\n */\n@NgModule({\n declarations: [TuiZoomDirective],\n exports: [TuiZoomDirective],\n})\nexport class TuiZoomModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAKA;IASa,gBAAgB,GAA7B,MAAa,gBAAgB;IACzB,YAA6C,OAA4B;QAA5B,YAAO,GAAP,OAAO,CAAqB;KAAI;EAChF;;YADyD,UAAU,uBAAnD,MAAM,SAAC,cAAc;;AADzB,gBAAgB;IAR5B,SAAS,CAAC;QACP,QAAQ,EAAE,WAAW;QACrB,OAAO,EAAE,CAAC,SAAS,CAAC;QACpB,SAAS,EAAE,CAAC,cAAc,CAAC;QAC3B,IAAI,EAAE;YACF,sBAAsB,EAAE,QAAQ;SACnC;KACJ,CAAC;IAEe,WAAA,MAAM,CAAC,cAAc,CAAC,CAAA;GAD1B,gBAAgB,CAE5B;;ACZD;;;IAOa,aAAa,GAA1B,MAAa,aAAa;EAAG;AAAhB,aAAa;IAJzB,QAAQ,CAAC;QACN,YAAY,EAAE,CAAC,gBAAgB,CAAC;QAChC,OAAO,EAAE,CAAC,gBAAgB,CAAC;KAC9B,CAAC;GACW,aAAa,CAAG;;ACX7B;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-enums.js","sources":["ng://@taiga-ui/cdk/enums/autocomplete.ts","ng://@taiga-ui/cdk/enums/day-of-week.ts","ng://@taiga-ui/cdk/enums/input-mode.ts","ng://@taiga-ui/cdk/enums/input-type.ts","ng://@taiga-ui/cdk/enums/month-number.ts","ng://@taiga-ui/cdk/enums/overscroll-mode.ts","ng://@taiga-ui/cdk/enums/taiga-ui-cdk-enums.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/naming-convention */\nexport const enum TuiCreditCardAutofillName {\n Off = 'off',\n CcName = 'cc-name',\n CcNumber = 'cc-number',\n CcCsc = 'cc-csc',\n CcExpMonth = 'cc-exp-month',\n /**\n * @deprecated\n * TODO: 3.0 replace with {@link CcExpMonth}\n */\n CcExp_mounth = 'cc-exp-month',\n CcExpYear = 'cc-exp-year',\n /**\n * @deprecated\n * TODO: 3.0 replace with {@link CcExpYear}\n */\n CcExp_year = 'cc-exp-year',\n CcExp = 'cc-exp',\n CcType = 'cc-type',\n}\n\nexport const enum TuiNameAutofillName {\n Off = 'off',\n Name = 'name',\n GivenName = 'given-name',\n AdditionalName = 'additional-name',\n FamilyName = 'family-name',\n}\n\nexport const enum TuiAccountAutofillName {\n Off = 'off',\n Username = 'username',\n NewPassword = 'new-password',\n CurrentPassword = 'current-password',\n}\n\nexport const enum TuiEmailAutofillName {\n Off = 'off',\n Email = 'email',\n}\n\nexport const enum TuiAddressAutofillName {\n Off = 'off',\n StreetAddress = 'street-address',\n PostalCode = 'postal-code',\n CountryName = 'country-name',\n}\n\nexport const enum TuiPhoneAutofillName {\n Off = 'off',\n Tel = 'tel',\n}\n\nexport const enum TuiDateAutofillName {\n Off = 'off',\n Bday = 'bday',\n}\n\nexport const enum TuiTransactionAutofillName {\n Off = 'off',\n TransactionCurrency = 'transaction-currency',\n TransactionAmount = 'transaction-amount',\n}\n\nexport type TuiAutofillFieldNameT =\n | 'off'\n // TuiCreditCardAutofillName\n | 'cc-name'\n | 'cc-number'\n | 'cc-csc'\n | 'cc-exp-month'\n | 'cc-exp-year'\n | 'cc-exp'\n | 'cc-type'\n // TuiNameAutofillName\n | 'name'\n | 'given-name'\n | 'additional-name'\n | 'family-name'\n // TuiAccountAutofillName\n | 'username'\n | 'new-password'\n | 'current-password'\n // TuiEmailAutofillName\n | 'email'\n // TuiAddressAutofillName\n | 'street-address'\n | 'postal-code'\n | 'country-name'\n // TuiPhoneAutofillName\n | 'tel'\n // TuiDateAutofillName\n | 'bday'\n // TuiTransactionAutofillName\n | 'transaction-currency'\n | 'transaction-amount';\n\nexport type TuiAutofillFieldName =\n | TuiAutofillFieldNameT\n | TuiCreditCardAutofillName\n | TuiNameAutofillName\n | TuiAccountAutofillName\n | TuiEmailAutofillName\n | TuiAddressAutofillName\n | TuiPhoneAutofillName\n | TuiDateAutofillName\n | TuiTransactionAutofillName;\n","export const enum TuiDayOfWeek {\n Sunday,\n Monday,\n Tuesday,\n Wednesday,\n Thursday,\n Friday,\n Saturday,\n}\n","/**\n * @deprecated use join type {@link TuiInputModeT}\n */\nexport const enum TuiInputMode {\n None = 'none',\n Text = 'text',\n Decimal = 'decimal',\n Numeric = 'numeric',\n Tel = 'tel',\n Email = 'email',\n Url = 'url',\n Search = 'search',\n}\n","/**\n * @deprecated use join type {@link TuiInputTypeT}\n */\nexport const enum TuiInputType {\n Text = 'text',\n Tel = 'tel',\n Email = 'email',\n Url = 'url',\n Password = 'password',\n}\n","export const enum TuiMonthNumber {\n January,\n February,\n March,\n April,\n May,\n June,\n July,\n August,\n September,\n October,\n November,\n December,\n}\n","/**\n * Modes for {@link TuiOverscrollDirective}:\n *\n * All — blocks all scroll actions\n * Scroll — blocks scroll actions only if content is scrollable (equivalent to overscroll-behavior: contain)\n * None — blocking is disabled\n * @deprecated use join type {@link TuiOverscrollModeT}\n */\nexport const enum TuiOverscrollMode {\n All = 'all',\n Scroll = 'scroll',\n None = 'none',\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;IACkB;AAAlB,WAAkB,yBAAyB;IACvC,wCAAW,CAAA;IACX,+CAAkB,CAAA;IAClB,mDAAsB,CAAA;IACtB,6CAAgB,CAAA;IAChB,wDAA2B,CAAA;;;;;IAK3B,0DAA6B,CAAA;IAC7B,sDAAyB,CAAA;;;;;IAKzB,uDAA0B,CAAA;IAC1B,6CAAgB,CAAA;IAChB,+CAAkB,CAAA;AACtB,CAAC,EAnBiB,yBAAyB,KAAzB,yBAAyB,QAmB1C;IAEiB;AAAlB,WAAkB,mBAAmB;IACjC,kCAAW,CAAA;IACX,oCAAa,CAAA;IACb,+CAAwB,CAAA;IACxB,yDAAkC,CAAA;IAClC,iDAA0B,CAAA;AAC9B,CAAC,EANiB,mBAAmB,KAAnB,mBA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AAZ,YAAY;;ACH9B;;;IAGkB;AAAlB,WAAkB,YAAY;IAC1B,6BAAa,CAAA;IACb,2BAAW,CAAA;IACX,+BAAe,CAAA;IACf,2BAAW,CAAA;IACX,qCAAqB,CAAA;AACzB,CAAC,EANiB,YAAY,KAAZ,YAAY;;ICHZ;AAAlB,WAAkB,cAAc;IAC5B,yDAAO,CAAA;IACP,2DAAQ,CAAA;IACR,qDAAK,CAAA;IACL,qDAAK,CAAA;IACL,iDAAG,CAAA;IACH,mDAAI,CAAA;IACJ,mDAAI,CAAA;IACJ,uDAAM,CAAA;IACN,6DAAS,CAAA;IACT,yDAAO,CAAA;IACP,4DAAQ,CAAA;IACR,4DAAQ,CAAA;AACZ,CAAC,EAbiB,cAAc,KAAd,cAAc;;ACAhC;;;;;;;;IAQkB;AAAlB,WAAkB,iBAAiB;IAC/B,gCAAW,CAAA;IACX,sCAAiB,CAAA;IACjB,kCAAa,CAAA;AACjB,CAAC,EAJiB,iBAAiB,KAAjB,iBAAiB;;ACRnC;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-enums.js","sources":["ng://@taiga-ui/cdk/enums/autocomplete.ts","ng://@taiga-ui/cdk/enums/day-of-week.ts","ng://@taiga-ui/cdk/enums/input-mode.ts","ng://@taiga-ui/cdk/enums/input-type.ts","ng://@taiga-ui/cdk/enums/month-number.ts","ng://@taiga-ui/cdk/enums/overscroll-mode.ts","ng://@taiga-ui/cdk/enums/taiga-ui-cdk-enums.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/naming-convention */\nexport const enum TuiCreditCardAutofillName {\n Off = `off`,\n CcName = `cc-name`,\n CcNumber = `cc-number`,\n CcCsc = `cc-csc`,\n CcExpMonth = `cc-exp-month`,\n /**\n * @deprecated\n * TODO: 3.0 replace with {@link CcExpMonth}\n */\n CcExp_mounth = `cc-exp-month`,\n CcExpYear = `cc-exp-year`,\n /**\n * @deprecated\n * TODO: 3.0 replace with {@link CcExpYear}\n */\n CcExp_year = `cc-exp-year`,\n CcExp = `cc-exp`,\n CcType = `cc-type`,\n}\n\nexport const enum TuiNameAutofillName {\n Off = `off`,\n Name = `name`,\n GivenName = `given-name`,\n AdditionalName = `additional-name`,\n FamilyName = `family-name`,\n}\n\nexport const enum TuiAccountAutofillName {\n Off = `off`,\n Username = `username`,\n NewPassword = `new-password`,\n CurrentPassword = `current-password`,\n}\n\nexport const enum TuiEmailAutofillName {\n Off = `off`,\n Email = `email`,\n}\n\nexport const enum TuiAddressAutofillName {\n Off = `off`,\n StreetAddress = `street-address`,\n PostalCode = `postal-code`,\n CountryName = `country-name`,\n}\n\nexport const enum TuiPhoneAutofillName {\n Off = `off`,\n Tel = `tel`,\n}\n\nexport const enum TuiDateAutofillName {\n Off = `off`,\n Bday = `bday`,\n}\n\nexport const enum TuiTransactionAutofillName {\n Off = `off`,\n TransactionCurrency = `transaction-currency`,\n TransactionAmount = `transaction-amount`,\n}\n\nexport type TuiAutofillFieldNameT =\n | 'off'\n // TuiCreditCardAutofillName\n | 'cc-name'\n | 'cc-number'\n | 'cc-csc'\n | 'cc-exp-month'\n | 'cc-exp-year'\n | 'cc-exp'\n | 'cc-type'\n // TuiNameAutofillName\n | 'name'\n | 'given-name'\n | 'additional-name'\n | 'family-name'\n // TuiAccountAutofillName\n | 'username'\n | 'new-password'\n | 'current-password'\n // TuiEmailAutofillName\n | 'email'\n // TuiAddressAutofillName\n | 'street-address'\n | 'postal-code'\n | 'country-name'\n // TuiPhoneAutofillName\n | 'tel'\n // TuiDateAutofillName\n | 'bday'\n // TuiTransactionAutofillName\n | 'transaction-currency'\n | 'transaction-amount';\n\nexport type TuiAutofillFieldName =\n | TuiAutofillFieldNameT\n | TuiCreditCardAutofillName\n | TuiNameAutofillName\n | TuiAccountAutofillName\n | TuiEmailAutofillName\n | TuiAddressAutofillName\n | TuiPhoneAutofillName\n | TuiDateAutofillName\n | TuiTransactionAutofillName;\n","export const enum TuiDayOfWeek {\n Sunday,\n Monday,\n Tuesday,\n Wednesday,\n Thursday,\n Friday,\n Saturday,\n}\n","/**\n * @deprecated use join type {@link TuiInputModeT}\n */\nexport const enum TuiInputMode {\n None = `none`,\n Text = `text`,\n Decimal = `decimal`,\n Numeric = `numeric`,\n Tel = `tel`,\n Email = `email`,\n Url = `url`,\n Search = `search`,\n}\n","/**\n * @deprecated use join type {@link TuiInputTypeT}\n */\nexport const enum TuiInputType {\n Text = `text`,\n Tel = `tel`,\n Email = `email`,\n Url = `url`,\n Password = `password`,\n}\n","export const enum TuiMonthNumber {\n January,\n February,\n March,\n April,\n May,\n June,\n July,\n August,\n September,\n October,\n November,\n December,\n}\n","/**\n * Modes for {@link TuiOverscrollDirective}:\n *\n * All — blocks all scroll actions\n * Scroll — blocks scroll actions only if content is scrollable (equivalent to overscroll-behavior: contain)\n * None — blocking is disabled\n * @deprecated use join type {@link TuiOverscrollModeT}\n */\nexport const enum TuiOverscrollMode {\n All = `all`,\n Scroll = `scroll`,\n None = `none`,\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;IACkB;AAAlB,WAAkB,yBAAyB;IACvC,wCAAW,CAAA;IACX,+CAAkB,CAAA;IAClB,mDAAsB,CAAA;IACtB,6CAAgB,CAAA;IAChB,wDAA2B,CAAA;;;;;IAK3B,0DAA6B,CAAA;IAC7B,sDAAyB,CAAA;;;;;IAKzB,uDAA0B,CAAA;IAC1B,6CAAgB,CAAA;IAChB,+CAAkB,CAAA;AACtB,CAAC,EAnBiB,yBAAyB,KAAzB,yBAAyB,QAmB1C;IAEiB;AAAlB,WAAkB,mBAAmB;IACjC,kCAAW,CAAA;IACX,oCAAa,CAAA;IACb,+CAAwB,CAAA;IACxB,yDAAkC,CAAA;IAClC,iDAA0B,CAAA;AAC9B,CAAC,EANiB,mBAAmB,KAAnB,mBAAmB,QAMpC;IAEiB;AAAlB,WAAkB,sBAAsB;IACpC,qCAAW,CAAA;IACX,+CAAqB,CAAA;IACrB,sDAA4B,CAAA;IAC5B,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ACf,2BAAW,CAAA;IACX,qCAAqB,CAAA;AACzB,CAAC,EANiB,YAAY,KAAZ,YAAY;;ICHZ;AAAlB,WAAkB,cAAc;IAC5B,yDAAO,CAAA;IACP,2DAAQ,CAAA;IACR,qDAAK,CAAA;IACL,qDAAK,CAAA;IACL,iDAAG,CAAA;IACH,mDAAI,CAAA;IACJ,mDAAI,CAAA;IACJ,uDAAM,CAAA;IACN,6DAAS,CAAA;IACT,yDAAO,CAAA;IACP,4DAAQ,CAAA;IACR,4DAAQ,CAAA;AACZ,CAAC,EAbiB,cAAc,KAAd,cAAc;;ACAhC;;;;;;;;IAQkB;AAAlB,WAAkB,iBAAiB;IAC/B,gCAAW,CAAA;IACX,sCAAiB,CAAA;IACjB,kCAAa,CAAA;AACjB,CAAC,EAJiB,iBAAiB,KAAjB,iBAAiB;;ACRnC;;;;;;"}
@@ -1,12 +1,12 @@
1
1
  class TuiComputedDocumentException extends Error {
2
2
  constructor() {
3
- super('Only use computedDocument after load event');
3
+ super(`Only use computedDocument after load event`);
4
4
  }
5
5
  }
6
6
 
7
7
  class TuiDocumentSelectionException extends Error {
8
8
  constructor() {
9
- super('Failed to get document selection');
9
+ super(`Failed to get document selection`);
10
10
  }
11
11
  }
12
12
 
@@ -51,49 +51,49 @@ class TuiInvalidYearException extends InvalidYearException {
51
51
 
52
52
  class TuiNoHostException extends Error {
53
53
  constructor() {
54
- super('Portals cannot be used without TuiPortalHostComponent');
54
+ super(`Portals cannot be used without TuiPortalHostComponent`);
55
55
  }
56
56
  }
57
57
 
58
58
  class TuiOwnerDocumentException extends Error {
59
59
  constructor() {
60
- super('Element does not have ownerDocument');
60
+ super(`Element does not have ownerDocument`);
61
61
  }
62
62
  }
63
63
 
64
64
  class TuiPureException extends Error {
65
65
  constructor() {
66
- super('tuiPure can only be used with functions or getters');
66
+ super(`tuiPure can only be used with functions or getters`);
67
67
  }
68
68
  }
69
69
 
70
70
  class TuiTableSortKeyException extends Error {
71
71
  constructor() {
72
- super('Trying to sort with no key');
72
+ super(`Trying to sort with no key`);
73
73
  }
74
74
  }
75
75
 
76
76
  class TuiTsParserException extends Error {
77
77
  constructor() {
78
- super('TsFileParser: 1 component/module per ts-file');
78
+ super(`TsFileParser: 1 component/module per ts-file`);
79
79
  }
80
80
  }
81
81
 
82
82
  class TuiValueChangesException extends Error {
83
83
  constructor() {
84
- super('Control does not have valueChanges');
84
+ super(`Control does not have valueChanges`);
85
85
  }
86
86
  }
87
87
 
88
88
  class TuiValuePresentException extends Error {
89
89
  constructor() {
90
- super('Value must present');
90
+ super(`Value must present`);
91
91
  }
92
92
  }
93
93
 
94
94
  class TuiXmlParsingException extends Error {
95
95
  constructor() {
96
- super('Error parsing XML string');
96
+ super(`Error parsing XML string`);
97
97
  }
98
98
  }
99
99
 
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-exceptions.js","sources":["ng://@taiga-ui/cdk/exceptions/computed-document.exception.ts","ng://@taiga-ui/cdk/exceptions/document-selection.exception.ts","ng://@taiga-ui/cdk/exceptions/invalid-day.exception.ts","ng://@taiga-ui/cdk/exceptions/invalid-month.exception.ts","ng://@taiga-ui/cdk/exceptions/invalid-year.exception.ts","ng://@taiga-ui/cdk/exceptions/no-host.exception.ts","ng://@taiga-ui/cdk/exceptions/owner-document.exception.ts","ng://@taiga-ui/cdk/exceptions/pure.exception.ts","ng://@taiga-ui/cdk/exceptions/table-sort-key.exception.ts","ng://@taiga-ui/cdk/exceptions/ts-parser.exception.ts","ng://@taiga-ui/cdk/exceptions/value-changes.exception.ts","ng://@taiga-ui/cdk/exceptions/value-present.exception.ts","ng://@taiga-ui/cdk/exceptions/xml-parsing.exception.ts","ng://@taiga-ui/cdk/exceptions/taiga-ui-cdk-exceptions.ts"],"sourcesContent":["export class TuiComputedDocumentException extends Error {\n constructor() {\n super('Only use computedDocument after load event');\n }\n}\n","export class TuiDocumentSelectionException extends Error {\n constructor() {\n super('Failed to get document selection');\n }\n}\n","/**\n * @deprecated: use {@link TuiInvalidDayException}\n * TODO: remove in v3.0\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport class InvalidDayException extends Error {\n constructor(day: number) {\n super(`Invalid day: ${day}`);\n }\n}\n\nexport class TuiInvalidDayException extends InvalidDayException {}\n","/**\n * @deprecated: use {@link TuiInvalidMonthException}\n * TODO: remove in v3.0\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport class InvalidMonthException extends Error {\n constructor(month: number) {\n super(`Invalid month: ${month}`);\n }\n}\n\nexport class TuiInvalidMonthException extends InvalidMonthException {}\n","/**\n * @deprecated: use {@link TuiInvalidYearException}\n * TODO: remove in v3.0\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport class InvalidYearException extends Error {\n constructor(year: number) {\n super(`Invalid year: ${year}`);\n }\n}\n\nexport class TuiInvalidYearException extends InvalidYearException {}\n","export class TuiNoHostException extends Error {\n constructor() {\n super('Portals cannot be used without TuiPortalHostComponent');\n }\n}\n","export class TuiOwnerDocumentException extends Error {\n constructor() {\n super('Element does not have ownerDocument');\n }\n}\n","export class TuiPureException extends Error {\n constructor() {\n super('tuiPure can only be used with functions or getters');\n }\n}\n","export class TuiTableSortKeyException extends Error {\n constructor() {\n super('Trying to sort with no key');\n }\n}\n","export class TuiTsParserException extends Error {\n constructor() {\n super('TsFileParser: 1 component/module per ts-file');\n }\n}\n","export class TuiValueChangesException extends Error {\n constructor() {\n super('Control does not have valueChanges');\n }\n}\n","export class TuiValuePresentException extends Error {\n constructor() {\n super('Value must present');\n }\n}\n","export class TuiXmlParsingException extends Error {\n constructor() {\n super('Error parsing XML string');\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"MAAa,4BAA6B,SAAQ,KAAK;IACnD;QACI,KAAK,CAAC,4CAA4C,CAAC,CAAC;KACvD;;;MCHQ,6BAA8B,SAAQ,KAAK;IACpD;QACI,KAAK,CAAC,kCAAkC,CAAC,CAAC;KAC7C;;;ACHL;;;;AAI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/document-selection.exception.ts","ng://@taiga-ui/cdk/exceptions/invalid-day.exception.ts","ng://@taiga-ui/cdk/exceptions/invalid-month.exception.ts","ng://@taiga-ui/cdk/exceptions/invalid-year.exception.ts","ng://@taiga-ui/cdk/exceptions/no-host.exception.ts","ng://@taiga-ui/cdk/exceptions/owner-document.exception.ts","ng://@taiga-ui/cdk/exceptions/pure.exception.ts","ng://@taiga-ui/cdk/exceptions/table-sort-key.exception.ts","ng://@taiga-ui/cdk/exceptions/ts-parser.exception.ts","ng://@taiga-ui/cdk/exceptions/value-changes.exception.ts","ng://@taiga-ui/cdk/exceptions/value-present.exception.ts","ng://@taiga-ui/cdk/exceptions/xml-parsing.exception.ts","ng://@taiga-ui/cdk/exceptions/taiga-ui-cdk-exceptions.ts"],"sourcesContent":["export class TuiComputedDocumentException extends Error {\n constructor() {\n super(`Only use computedDocument after load event`);\n }\n}\n","export class TuiDocumentSelectionException extends Error {\n constructor() {\n super(`Failed to get document selection`);\n }\n}\n","/**\n * @deprecated: use {@link TuiInvalidDayException}\n * TODO: remove in v3.0\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport class InvalidDayException extends Error {\n constructor(day: number) {\n super(`Invalid day: ${day}`);\n }\n}\n\nexport class TuiInvalidDayException extends InvalidDayException {}\n","/**\n * @deprecated: use {@link TuiInvalidMonthException}\n * TODO: remove in v3.0\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport class InvalidMonthException extends Error {\n constructor(month: number) {\n super(`Invalid month: ${month}`);\n }\n}\n\nexport class TuiInvalidMonthException extends InvalidMonthException {}\n","/**\n * @deprecated: use {@link TuiInvalidYearException}\n * TODO: remove in v3.0\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport class InvalidYearException extends Error {\n constructor(year: number) {\n super(`Invalid year: ${year}`);\n }\n}\n\nexport class TuiInvalidYearException extends InvalidYearException {}\n","export class TuiNoHostException extends Error {\n constructor() {\n super(`Portals cannot be used without TuiPortalHostComponent`);\n }\n}\n","export class TuiOwnerDocumentException extends Error {\n constructor() {\n super(`Element does not have ownerDocument`);\n }\n}\n","export class TuiPureException extends Error {\n constructor() {\n super(`tuiPure can only be used with functions or getters`);\n }\n}\n","export class TuiTableSortKeyException extends Error {\n constructor() {\n super(`Trying to sort with no key`);\n }\n}\n","export class TuiTsParserException extends Error {\n constructor() {\n super(`TsFileParser: 1 component/module per ts-file`);\n }\n}\n","export class TuiValueChangesException extends Error {\n constructor() {\n super(`Control does not have valueChanges`);\n }\n}\n","export class TuiValuePresentException extends Error {\n constructor() {\n super(`Value must present`);\n }\n}\n","export class TuiXmlParsingException extends Error {\n constructor() {\n super(`Error parsing XML string`);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"MAAa,4BAA6B,SAAQ,KAAK;IACnD;QACI,KAAK,CAAC,4CAA4C,CAAC,CAAC;KACvD;;;MCHQ,6BAA8B,SAAQ,KAAK;IACpD;QACI,KAAK,CAAC,kCAAkC,CAAC,CAAC;KAC7C;;;ACHL;;;;AAIA;MACa,mBAAoB,SAAQ,KAAK;IAC1C,YAAY,GAAW;QACnB,KAAK,CAAC,gBAAgB,GAAG,EAAE,CAAC,CAAC;KAChC;CACJ;MAEY,sBAAuB,SAAQ,mBAAmB;;;ACX/D;;;;AAIA;MACa,qBAAsB,SAAQ,KAAK;IAC5C,YAAY,KAAa;QACrB,KAAK,CAAC,kBAAkB,KAAK,EAAE,CAAC,CAAC;KACpC;CACJ;MAEY,wBAAyB,SAAQ,qBAAqB;;;ACXnE;;;;AAIA;MACa,oBAAqB,SAAQ,KAAK;IAC3C,YAAY,IAAY;QACpB,KAAK,CAAC,iBAAiB,IAAI,EAAE,CAAC,CAAC;KAClC;CACJ;MAEY,uBAAwB,SAAQ,oBAAoB;;;MCXpD,kBAAmB,SAAQ,KAAK;IACzC;QACI,KAAK,CAAC,uDAAuD,CAAC,CAAC;KAClE;;;MCHQ,yBAA0B,SAAQ,KAAK;IAChD;QACI,KAAK,CAAC,qCAAqC,CAAC,CAAC;KAChD;;;MCHQ,gBAAiB,SAAQ,KAAK;IACvC;QACI,KAAK,CAAC,oDAAoD,CAAC,CAAC;KAC/D;;;MCHQ,wBAAyB,SAAQ,KAAK;IAC/C;QACI,KAAK,CAAC,4BAA4B,CAAC,CAAC;KACvC;;;MCHQ,oBAAqB,SAAQ,KAAK;IAC3C;QACI,KAAK,CAAC,8CAA8C,CAAC,CAAC;KACzD;;;MCHQ,wBAAyB,SAAQ,KAAK;IAC/C;QACI,KAAK,CAAC,oCAAoC,CAAC,CAAC;KAC/C;;;MCHQ,wBAAyB,SAAQ,KAAK;IAC/C;QACI,KAAK,CAAC,oBAAoB,CAAC,CAAC;KAC/B;;;MCHQ,sBAAuB,SAAQ,KAAK;IAC7C;QACI,KAAK,CAAC,0BAA0B,CAAC,CAAC;KACrC;;;ACHL;;;;;;"}
@@ -20,7 +20,7 @@ const tuiTypedFromEvent = typedFromEvent;
20
20
  */
21
21
  // eslint-disable-next-line @typescript-eslint/naming-convention
22
22
  function mouseDragFinishFrom(target) {
23
- return merge(typedFromEvent(target, 'mouseup'), typedFromEvent(target, 'dragend'));
23
+ return merge(typedFromEvent(target, `mouseup`), typedFromEvent(target, `dragend`));
24
24
  }
25
25
  const tuiMouseDragFinishFrom = mouseDragFinishFrom;
26
26
 
@@ -45,7 +45,7 @@ function dragAndDropFrom(element) {
45
45
  if (!ownerDocument) {
46
46
  throw new TuiOwnerDocumentException();
47
47
  }
48
- return concat(typedFromEvent(element, 'mousedown').pipe(take(1), map(event => new TuiDragState(0 /* Start */, event))), merge(typedFromEvent(ownerDocument, 'mousemove').pipe(map(event => new TuiDragState(1 /* Continues */, event))), mouseDragFinishFrom(ownerDocument).pipe(take(1), map(event => new TuiDragState(2 /* End */, event)), endWith(null))).pipe(takeWhile(isPresent))).pipe(repeat());
48
+ return concat(typedFromEvent(element, `mousedown`).pipe(take(1), map(event => new TuiDragState(0 /* Start */, event))), merge(typedFromEvent(ownerDocument, `mousemove`).pipe(map(event => new TuiDragState(1 /* Continues */, event))), mouseDragFinishFrom(ownerDocument).pipe(take(1), map(event => new TuiDragState(2 /* End */, event)), endWith(null))).pipe(takeWhile(isPresent))).pipe(repeat());
49
49
  }
50
50
  const tuiDragAndDropFrom = dragAndDropFrom;
51
51
 
@@ -63,22 +63,22 @@ let documentMouseDownIsAlive$;
63
63
  */
64
64
  // eslint-disable-next-line @typescript-eslint/naming-convention
65
65
  function focusVisibleObservable(element) {
66
- const elementBlur$ = typedFromEvent(element, 'blur');
66
+ const elementBlur$ = typedFromEvent(element, `blur`);
67
67
  const { ownerDocument } = element;
68
68
  if (!ownerDocument) {
69
69
  throw new TuiOwnerDocumentException();
70
70
  }
71
71
  if (!documentMouseDownIsAlive$ || !documentMouseUpIsAlive$) {
72
- documentMouseUpIsAlive$ = typedFromEvent(ownerDocument, 'mouseup', {
72
+ documentMouseUpIsAlive$ = typedFromEvent(ownerDocument, `mouseup`, {
73
73
  capture: true,
74
74
  }).pipe(tuiIsAlive(), startWith(false), shareReplay({ bufferSize: 1, refCount: true }));
75
- documentMouseDownIsAlive$ = typedFromEvent(ownerDocument, 'mousedown', {
75
+ documentMouseDownIsAlive$ = typedFromEvent(ownerDocument, `mousedown`, {
76
76
  capture: true,
77
77
  }).pipe(tuiIsAlive(), startWith(false), shareReplay({ bufferSize: 1, refCount: true }));
78
78
  }
79
79
  return merge(
80
80
  // focus events excluding ones that came right after mouse action
81
- concat(typedFromEvent(element, 'focus').pipe(take(1)),
81
+ concat(typedFromEvent(element, `focus`).pipe(take(1)),
82
82
  // filtering out blur events when element remains focused so that we ignore browser tab focus loss
83
83
  elementBlur$.pipe(filter(() => !isNativeFocused(element)), take(1), ignoreElements())).pipe(repeat(), withLatestFrom(documentMouseDownIsAlive$, documentMouseUpIsAlive$, (_event, elementActual, documentActual) => elementActual || documentActual), filter(isUserFocus => !isUserFocus))).pipe(switchMapTo(elementBlur$.pipe(mapTo(false), take(1), startWith(true))), distinctUntilChanged());
84
84
  }
@@ -117,7 +117,7 @@ function pressedObservable(element, { onlyTrusted } = { onlyTrusted: true }) {
117
117
  if (!ownerDocument) {
118
118
  throw new TuiOwnerDocumentException();
119
119
  }
120
- return typedFromEvent(element, 'mousedown').pipe(filter(({ isTrusted }) => isTrusted || !onlyTrusted), switchMapTo(mouseDragFinishFrom(ownerDocument).pipe(mapTo(false), take(1), startWith(true))));
120
+ return typedFromEvent(element, `mousedown`).pipe(filter(({ isTrusted }) => isTrusted || !onlyTrusted), switchMapTo(mouseDragFinishFrom(ownerDocument).pipe(mapTo(false), take(1), startWith(true))));
121
121
  }
122
122
  const tuiPressedObservable = pressedObservable;
123
123
 
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-observables.js","sources":["ng://@taiga-ui/cdk/observables/typed-from-event.ts","ng://@taiga-ui/cdk/observables/mouse-drag-finish-from.ts","ng://@taiga-ui/cdk/observables/drag-and-drop-from.ts","ng://@taiga-ui/cdk/observables/is-alive.ts","ng://@taiga-ui/cdk/observables/focus-visible-observable.ts","ng://@taiga-ui/cdk/observables/items-query-list-observable.ts","ng://@taiga-ui/cdk/observables/must-be-present.ts","ng://@taiga-ui/cdk/observables/pressed-observable.ts","ng://@taiga-ui/cdk/observables/prevent-default.ts","ng://@taiga-ui/cdk/observables/replay-control-value-changes.ts","ng://@taiga-ui/cdk/observables/stop-propagation.ts","ng://@taiga-ui/cdk/observables/watch.ts","ng://@taiga-ui/cdk/observables/zone-free.ts","ng://@taiga-ui/cdk/observables/taiga-ui-cdk-observables.ts"],"sourcesContent":["import {TuiEventWith, TuiTypedEventTarget} from '@taiga-ui/cdk/types';\nimport {fromEvent, Observable} from 'rxjs';\n\n/**\n * @deprecated: use {@link tuiTypedFromEvent} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function typedFromEvent<E extends keyof WindowEventMap>(\n target: Window,\n event: E,\n options?: AddEventListenerOptions,\n): Observable<TuiEventWith<WindowEventMap[E], typeof target>>;\n/**\n * @deprecated: use {@link tuiTypedFromEvent} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function typedFromEvent<E extends keyof DocumentEventMap>(\n target: Document,\n event: E,\n options?: AddEventListenerOptions,\n): Observable<TuiEventWith<DocumentEventMap[E], typeof target>>;\n/**\n * @deprecated: use {@link tuiTypedFromEvent} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function typedFromEvent<T extends Element, E extends keyof HTMLElementEventMap>(\n target: T,\n event: E,\n options?: AddEventListenerOptions,\n): Observable<TuiEventWith<HTMLElementEventMap[E], typeof target>>;\n/**\n * @deprecated: use {@link tuiTypedFromEvent} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function typedFromEvent<\n E extends Event,\n T extends TuiTypedEventTarget<TuiEventWith<E, T>>,\n>(\n target: T,\n event: string,\n options?: AddEventListenerOptions,\n): Observable<TuiEventWith<E, T>>;\n/**\n * @deprecated: use {@link tuiTypedFromEvent} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function typedFromEvent<E extends Event>(\n target: TuiTypedEventTarget<E>,\n event: string,\n options?: AddEventListenerOptions,\n): Observable<E>;\n/**\n * @deprecated: use {@link tuiTypedFromEvent} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function typedFromEvent<E extends Event>(\n target: TuiTypedEventTarget<E>,\n event: string,\n options: AddEventListenerOptions = {},\n): Observable<E> {\n return fromEvent(target, event, options);\n}\n\nexport const tuiTypedFromEvent = typedFromEvent;\n","import {TuiEventWith, TuiTypedEventTarget} from '@taiga-ui/cdk/types';\nimport {merge, Observable} from 'rxjs';\n\nimport {typedFromEvent} from './typed-from-event';\n\n/**\n * @deprecated: use {@link tuiMouseDragFinishFrom} instead\n * Letting go of the mouse after it was pressed\n * @param target\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function mouseDragFinishFrom<\n T extends TuiTypedEventTarget<TuiEventWith<DragEvent, T>>,\n>(target: Exclude<T, null>): Observable<TuiEventWith<MouseEvent, T>> {\n return merge(typedFromEvent(target, 'mouseup'), typedFromEvent(target, 'dragend'));\n}\n\nexport const tuiMouseDragFinishFrom = mouseDragFinishFrom;\n","import {TuiOwnerDocumentException} from '@taiga-ui/cdk/exceptions';\nimport {isPresent} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {concat, merge, Observable} from 'rxjs';\nimport {endWith, map, repeat, take, takeWhile} from 'rxjs/operators';\n\nimport {mouseDragFinishFrom} from './mouse-drag-finish-from';\nimport {typedFromEvent} from './typed-from-event';\n\nexport const enum TuiDragStage {\n Start,\n Continues,\n End,\n}\n\nexport class TuiDragState {\n constructor(readonly stage: TuiDragStage, readonly event: MouseEvent) {}\n}\n\n/**\n * @deprecated: use {@link tuiDragAndDropFrom} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function dragAndDropFrom(element: Element): Observable<TuiDragState> {\n const {ownerDocument} = element;\n\n if (!ownerDocument) {\n throw new TuiOwnerDocumentException();\n }\n\n return concat(\n typedFromEvent(element, 'mousedown').pipe(\n take(1),\n map(event => new TuiDragState(TuiDragStage.Start, event)),\n ),\n merge(\n typedFromEvent(ownerDocument, 'mousemove').pipe(\n map(event => new TuiDragState(TuiDragStage.Continues, event)),\n ),\n mouseDragFinishFrom(ownerDocument).pipe(\n take(1),\n map(event => new TuiDragState(TuiDragStage.End, event)),\n endWith(null),\n ),\n ).pipe(takeWhile(isPresent)),\n ).pipe(repeat());\n}\n\nexport const tuiDragAndDropFrom = dragAndDropFrom;\n","import {OperatorFunction, pipe, timer} from 'rxjs';\nimport {distinctUntilChanged, mapTo, startWith, switchMapTo} from 'rxjs/operators';\n\n/**\n * Operator to set lifespan after which current value is considered obsolete\n */\nexport function tuiIsAlive(lifespan: number = 0): OperatorFunction<unknown, boolean> {\n return pipe(\n switchMapTo(timer(lifespan).pipe(mapTo(false), startWith(true))),\n distinctUntilChanged(),\n );\n}\n","import {TuiOwnerDocumentException} from '@taiga-ui/cdk/exceptions';\nimport {isNativeFocused} from '@taiga-ui/cdk/utils/focus';\nimport {concat, merge, Observable} from 'rxjs';\nimport {\n distinctUntilChanged,\n filter,\n ignoreElements,\n mapTo,\n repeat,\n shareReplay,\n startWith,\n switchMapTo,\n take,\n withLatestFrom,\n} from 'rxjs/operators';\n\nimport {tuiIsAlive} from './is-alive';\nimport {typedFromEvent} from './typed-from-event';\n\nlet documentMouseUpIsAlive$: Observable<boolean>;\nlet documentMouseDownIsAlive$: Observable<boolean>;\n\n/**\n * @deprecated: use {@link tuiFocusVisibleObservable} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function focusVisibleObservable(element: Element): Observable<boolean> {\n const elementBlur$ = typedFromEvent(element, 'blur');\n const {ownerDocument} = element;\n\n if (!ownerDocument) {\n throw new TuiOwnerDocumentException();\n }\n\n if (!documentMouseDownIsAlive$ || !documentMouseUpIsAlive$) {\n documentMouseUpIsAlive$ = typedFromEvent(ownerDocument, 'mouseup', {\n capture: true,\n }).pipe(\n tuiIsAlive(),\n startWith(false),\n shareReplay({bufferSize: 1, refCount: true}),\n );\n documentMouseDownIsAlive$ = typedFromEvent(ownerDocument, 'mousedown', {\n capture: true,\n }).pipe(\n tuiIsAlive(),\n startWith(false),\n shareReplay({bufferSize: 1, refCount: true}),\n );\n }\n\n return merge(\n // focus events excluding ones that came right after mouse action\n concat(\n typedFromEvent(element, 'focus').pipe(take(1)),\n // filtering out blur events when element remains focused so that we ignore browser tab focus loss\n elementBlur$.pipe(\n filter(() => !isNativeFocused(element)),\n take(1),\n ignoreElements(),\n ),\n ).pipe(\n repeat(),\n withLatestFrom(\n documentMouseDownIsAlive$,\n documentMouseUpIsAlive$,\n (_event, elementActual, documentActual) =>\n elementActual || documentActual,\n ),\n filter(isUserFocus => !isUserFocus),\n ),\n ).pipe(\n switchMapTo(elementBlur$.pipe(mapTo(false), take(1), startWith(true))),\n distinctUntilChanged(),\n );\n}\n\nexport const tuiFocusVisibleObservable = focusVisibleObservable;\n","import {QueryList} from '@angular/core';\nimport {getOriginalArrayFromQueryList} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {Observable} from 'rxjs';\nimport {map, startWith} from 'rxjs/operators';\n\n/**\n * @deprecated: use {@link tuiItemsQueryListObservable} instead\n * Converts changes observable of a QueryList to an Observable of arrays\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function itemsQueryListObservable<T>(\n queryList: QueryList<T>,\n): Observable<readonly T[]> {\n return queryList.changes.pipe(\n map(() => getOriginalArrayFromQueryList(queryList)),\n startWith(getOriginalArrayFromQueryList(queryList)),\n );\n}\n\nexport const tuiItemsQueryListObservable = itemsQueryListObservable;\n","import {TuiValuePresentException} from '@taiga-ui/cdk/exceptions';\nimport {isPresent} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {OperatorFunction} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\n/**\n * @deprecated: use {@link tuiMustBePresent} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function mustBePresent<T>(): OperatorFunction<T | undefined | null, T> {\n return map(value => {\n if (!isPresent(value)) {\n throw new TuiValuePresentException();\n }\n\n return value;\n });\n}\n\nexport const tuiMustBePresent = mustBePresent;\n","import {TuiOwnerDocumentException} from '@taiga-ui/cdk/exceptions';\nimport {Observable} from 'rxjs';\nimport {filter, mapTo, startWith, switchMapTo, take} from 'rxjs/operators';\n\nimport {mouseDragFinishFrom} from './mouse-drag-finish-from';\nimport {typedFromEvent} from './typed-from-event';\n\nexport interface TuiPressedObservableOptions {\n onlyTrusted: boolean;\n}\n\n/**\n * @deprecated: use {@link tuiPressedObservable} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function pressedObservable(\n element: Element,\n {onlyTrusted}: TuiPressedObservableOptions = {onlyTrusted: true},\n): Observable<boolean> {\n const {ownerDocument} = element;\n\n if (!ownerDocument) {\n throw new TuiOwnerDocumentException();\n }\n\n return typedFromEvent(element, 'mousedown').pipe(\n filter(({isTrusted}) => isTrusted || !onlyTrusted),\n switchMapTo(\n mouseDragFinishFrom(ownerDocument).pipe(\n mapTo(false),\n take(1),\n startWith(true),\n ),\n ),\n );\n}\n\nexport const tuiPressedObservable = pressedObservable;\n","import {MonoTypeOperatorFunction} from 'rxjs';\nimport {tap} from 'rxjs/operators';\n\n/**\n * @deprecated: use {@link tuiPreventDefault} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function preventDefault<T extends Event>(): MonoTypeOperatorFunction<T> {\n return tap(event => event.preventDefault());\n}\n\nexport const tuiPreventDefault = preventDefault;\n","import {AbstractControl, AbstractControlDirective} from '@angular/forms';\nimport {TuiValueChangesException} from '@taiga-ui/cdk/exceptions';\nimport {Observable} from 'rxjs';\nimport {startWith} from 'rxjs/operators';\n\n/**\n * Turns AbstractControl/Abstract-control-directive valueChanges into ReplaySubject(1)\n * TODO: 3.0 name should be shorter.\n */\nexport function tuiReplayedValueChangesFrom<T>(\n control: AbstractControl | AbstractControlDirective,\n): Observable<T> {\n return new Observable(subscriber => {\n if (!control.valueChanges) {\n throw new TuiValueChangesException();\n }\n\n control.valueChanges.pipe(startWith(control.value)).subscribe(subscriber);\n });\n}\n","import {MonoTypeOperatorFunction} from 'rxjs';\nimport {tap} from 'rxjs/operators';\n\n/**\n * @deprecated: use {@link tuiStopPropagation} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function stopPropagation<T extends Event>(): MonoTypeOperatorFunction<T> {\n return tap(e => {\n e.stopPropagation();\n });\n}\n\nexport const tuiStopPropagation = stopPropagation;\n","import {ChangeDetectorRef} from '@angular/core';\nimport {MonoTypeOperatorFunction} from 'rxjs';\nimport {tap} from 'rxjs/operators';\n\n/**\n * @deprecated: use {@link tuiWatch} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function watch<T>(\n changeDetectorRef: ChangeDetectorRef,\n): MonoTypeOperatorFunction<T> {\n return tap(() => {\n changeDetectorRef.markForCheck();\n });\n}\n\nexport const tuiWatch = watch;\n","import {NgZone} from '@angular/core';\nimport {MonoTypeOperatorFunction, Observable, pipe} from 'rxjs';\n\nexport function tuiZonefull<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n return source =>\n new Observable(subscriber =>\n source.subscribe({\n next: value => ngZone.run(() => subscriber.next(value)),\n error: (error: unknown) => ngZone.run(() => subscriber.error(error)),\n complete: () => ngZone.run(() => subscriber.complete()),\n }),\n );\n}\n\nexport function tuiZonefree<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n return source =>\n new Observable(subscriber =>\n ngZone.runOutsideAngular(() => source.subscribe(subscriber)),\n );\n}\n\nexport function tuiZoneOptimized<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n return pipe(tuiZonefree(ngZone), tuiZonefull(ngZone));\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAmDA;;;AAGA;SACgB,cAAc,CAC1B,MAA8B,EAC9B,KAAa,EACb,UAAmC,EAAE;IAErC,OAAO,SAAS,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;AAC7C,CAAC;MAEY,iBAAiB,GAAG;;AC1DjC;;;;;AAKA;SACgB,mBAAmB,CAEjC,MAAwB;IACtB,OAAO,KAAK,CAAC,cAAc,CAAC,MAAM,EAAE,SAAS,CAAC,EAAE,cAAc,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC;AACvF,CAAC;MAEY,sBAAsB,GAAG;;ICTpB;AAAlB,WAAkB,YAAY;IAC1B,iDAAK,CAAA;IACL,yDAAS,CAAA;IACT,6CAAG,CAAA;AACP,CAAC,EAJiB,YAAY,KAAZ,YAAY,QAI7B;MAEY,YAAY;IACrB,YAAqB,KAAmB,EAAW,KAAiB;QAA/C,UAAK,GAAL,KAAK,CAAc;QAAW,UAAK,GAAL,KAAK,CAAY;KAAI;CAC3E;AAED;;;AAGA;SACgB,eAAe,CAAC,OAAgB;IAC5C,MA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,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC;AAC1D;;ACvBA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-observables.js","sources":["ng://@taiga-ui/cdk/observables/typed-from-event.ts","ng://@taiga-ui/cdk/observables/mouse-drag-finish-from.ts","ng://@taiga-ui/cdk/observables/drag-and-drop-from.ts","ng://@taiga-ui/cdk/observables/is-alive.ts","ng://@taiga-ui/cdk/observables/focus-visible-observable.ts","ng://@taiga-ui/cdk/observables/items-query-list-observable.ts","ng://@taiga-ui/cdk/observables/must-be-present.ts","ng://@taiga-ui/cdk/observables/pressed-observable.ts","ng://@taiga-ui/cdk/observables/prevent-default.ts","ng://@taiga-ui/cdk/observables/replay-control-value-changes.ts","ng://@taiga-ui/cdk/observables/stop-propagation.ts","ng://@taiga-ui/cdk/observables/watch.ts","ng://@taiga-ui/cdk/observables/zone-free.ts","ng://@taiga-ui/cdk/observables/taiga-ui-cdk-observables.ts"],"sourcesContent":["import {TuiEventWith, TuiTypedEventTarget} from '@taiga-ui/cdk/types';\nimport {fromEvent, Observable} from 'rxjs';\n\n/**\n * @deprecated: use {@link tuiTypedFromEvent} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function typedFromEvent<E extends keyof WindowEventMap>(\n target: Window,\n event: E,\n options?: AddEventListenerOptions,\n): Observable<TuiEventWith<WindowEventMap[E], typeof target>>;\n/**\n * @deprecated: use {@link tuiTypedFromEvent} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function typedFromEvent<E extends keyof DocumentEventMap>(\n target: Document,\n event: E,\n options?: AddEventListenerOptions,\n): Observable<TuiEventWith<DocumentEventMap[E], typeof target>>;\n/**\n * @deprecated: use {@link tuiTypedFromEvent} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function typedFromEvent<T extends Element, E extends keyof HTMLElementEventMap>(\n target: T,\n event: E,\n options?: AddEventListenerOptions,\n): Observable<TuiEventWith<HTMLElementEventMap[E], typeof target>>;\n/**\n * @deprecated: use {@link tuiTypedFromEvent} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function typedFromEvent<\n E extends Event,\n T extends TuiTypedEventTarget<TuiEventWith<E, T>>,\n>(\n target: T,\n event: string,\n options?: AddEventListenerOptions,\n): Observable<TuiEventWith<E, T>>;\n/**\n * @deprecated: use {@link tuiTypedFromEvent} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function typedFromEvent<E extends Event>(\n target: TuiTypedEventTarget<E>,\n event: string,\n options?: AddEventListenerOptions,\n): Observable<E>;\n/**\n * @deprecated: use {@link tuiTypedFromEvent} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function typedFromEvent<E extends Event>(\n target: TuiTypedEventTarget<E>,\n event: string,\n options: AddEventListenerOptions = {},\n): Observable<E> {\n return fromEvent(target, event, options);\n}\n\nexport const tuiTypedFromEvent = typedFromEvent;\n","import {TuiEventWith, TuiTypedEventTarget} from '@taiga-ui/cdk/types';\nimport {merge, Observable} from 'rxjs';\n\nimport {typedFromEvent} from './typed-from-event';\n\n/**\n * @deprecated: use {@link tuiMouseDragFinishFrom} instead\n * Letting go of the mouse after it was pressed\n * @param target\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function mouseDragFinishFrom<\n T extends TuiTypedEventTarget<TuiEventWith<DragEvent, T>>,\n>(target: Exclude<T, null>): Observable<TuiEventWith<MouseEvent, T>> {\n return merge(typedFromEvent(target, `mouseup`), typedFromEvent(target, `dragend`));\n}\n\nexport const tuiMouseDragFinishFrom = mouseDragFinishFrom;\n","import {TuiOwnerDocumentException} from '@taiga-ui/cdk/exceptions';\nimport {isPresent} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {concat, merge, Observable} from 'rxjs';\nimport {endWith, map, repeat, take, takeWhile} from 'rxjs/operators';\n\nimport {mouseDragFinishFrom} from './mouse-drag-finish-from';\nimport {typedFromEvent} from './typed-from-event';\n\nexport const enum TuiDragStage {\n Start,\n Continues,\n End,\n}\n\nexport class TuiDragState {\n constructor(readonly stage: TuiDragStage, readonly event: MouseEvent) {}\n}\n\n/**\n * @deprecated: use {@link tuiDragAndDropFrom} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function dragAndDropFrom(element: Element): Observable<TuiDragState> {\n const {ownerDocument} = element;\n\n if (!ownerDocument) {\n throw new TuiOwnerDocumentException();\n }\n\n return concat(\n typedFromEvent(element, `mousedown`).pipe(\n take(1),\n map(event => new TuiDragState(TuiDragStage.Start, event)),\n ),\n merge(\n typedFromEvent(ownerDocument, `mousemove`).pipe(\n map(event => new TuiDragState(TuiDragStage.Continues, event)),\n ),\n mouseDragFinishFrom(ownerDocument).pipe(\n take(1),\n map(event => new TuiDragState(TuiDragStage.End, event)),\n endWith(null),\n ),\n ).pipe(takeWhile(isPresent)),\n ).pipe(repeat());\n}\n\nexport const tuiDragAndDropFrom = dragAndDropFrom;\n","import {OperatorFunction, pipe, timer} from 'rxjs';\nimport {distinctUntilChanged, mapTo, startWith, switchMapTo} from 'rxjs/operators';\n\n/**\n * Operator to set lifespan after which current value is considered obsolete\n */\nexport function tuiIsAlive(lifespan: number = 0): OperatorFunction<unknown, boolean> {\n return pipe(\n switchMapTo(timer(lifespan).pipe(mapTo(false), startWith(true))),\n distinctUntilChanged(),\n );\n}\n","import {TuiOwnerDocumentException} from '@taiga-ui/cdk/exceptions';\nimport {isNativeFocused} from '@taiga-ui/cdk/utils/focus';\nimport {concat, merge, Observable} from 'rxjs';\nimport {\n distinctUntilChanged,\n filter,\n ignoreElements,\n mapTo,\n repeat,\n shareReplay,\n startWith,\n switchMapTo,\n take,\n withLatestFrom,\n} from 'rxjs/operators';\n\nimport {tuiIsAlive} from './is-alive';\nimport {typedFromEvent} from './typed-from-event';\n\nlet documentMouseUpIsAlive$: Observable<boolean>;\nlet documentMouseDownIsAlive$: Observable<boolean>;\n\n/**\n * @deprecated: use {@link tuiFocusVisibleObservable} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function focusVisibleObservable(element: Element): Observable<boolean> {\n const elementBlur$ = typedFromEvent(element, `blur`);\n const {ownerDocument} = element;\n\n if (!ownerDocument) {\n throw new TuiOwnerDocumentException();\n }\n\n if (!documentMouseDownIsAlive$ || !documentMouseUpIsAlive$) {\n documentMouseUpIsAlive$ = typedFromEvent(ownerDocument, `mouseup`, {\n capture: true,\n }).pipe(\n tuiIsAlive(),\n startWith(false),\n shareReplay({bufferSize: 1, refCount: true}),\n );\n documentMouseDownIsAlive$ = typedFromEvent(ownerDocument, `mousedown`, {\n capture: true,\n }).pipe(\n tuiIsAlive(),\n startWith(false),\n shareReplay({bufferSize: 1, refCount: true}),\n );\n }\n\n return merge(\n // focus events excluding ones that came right after mouse action\n concat(\n typedFromEvent(element, `focus`).pipe(take(1)),\n // filtering out blur events when element remains focused so that we ignore browser tab focus loss\n elementBlur$.pipe(\n filter(() => !isNativeFocused(element)),\n take(1),\n ignoreElements(),\n ),\n ).pipe(\n repeat(),\n withLatestFrom(\n documentMouseDownIsAlive$,\n documentMouseUpIsAlive$,\n (_event, elementActual, documentActual) =>\n elementActual || documentActual,\n ),\n filter(isUserFocus => !isUserFocus),\n ),\n ).pipe(\n switchMapTo(elementBlur$.pipe(mapTo(false), take(1), startWith(true))),\n distinctUntilChanged(),\n );\n}\n\nexport const tuiFocusVisibleObservable = focusVisibleObservable;\n","import {QueryList} from '@angular/core';\nimport {getOriginalArrayFromQueryList} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {Observable} from 'rxjs';\nimport {map, startWith} from 'rxjs/operators';\n\n/**\n * @deprecated: use {@link tuiItemsQueryListObservable} instead\n * Converts changes observable of a QueryList to an Observable of arrays\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function itemsQueryListObservable<T>(\n queryList: QueryList<T>,\n): Observable<readonly T[]> {\n return queryList.changes.pipe(\n map(() => getOriginalArrayFromQueryList(queryList)),\n startWith(getOriginalArrayFromQueryList(queryList)),\n );\n}\n\nexport const tuiItemsQueryListObservable = itemsQueryListObservable;\n","import {TuiValuePresentException} from '@taiga-ui/cdk/exceptions';\nimport {isPresent} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {OperatorFunction} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\n/**\n * @deprecated: use {@link tuiMustBePresent} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function mustBePresent<T>(): OperatorFunction<T | undefined | null, T> {\n return map(value => {\n if (!isPresent(value)) {\n throw new TuiValuePresentException();\n }\n\n return value;\n });\n}\n\nexport const tuiMustBePresent = mustBePresent;\n","import {TuiOwnerDocumentException} from '@taiga-ui/cdk/exceptions';\nimport {Observable} from 'rxjs';\nimport {filter, mapTo, startWith, switchMapTo, take} from 'rxjs/operators';\n\nimport {mouseDragFinishFrom} from './mouse-drag-finish-from';\nimport {typedFromEvent} from './typed-from-event';\n\nexport interface TuiPressedObservableOptions {\n onlyTrusted: boolean;\n}\n\n/**\n * @deprecated: use {@link tuiPressedObservable} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function pressedObservable(\n element: Element,\n {onlyTrusted}: TuiPressedObservableOptions = {onlyTrusted: true},\n): Observable<boolean> {\n const {ownerDocument} = element;\n\n if (!ownerDocument) {\n throw new TuiOwnerDocumentException();\n }\n\n return typedFromEvent(element, `mousedown`).pipe(\n filter(({isTrusted}) => isTrusted || !onlyTrusted),\n switchMapTo(\n mouseDragFinishFrom(ownerDocument).pipe(\n mapTo(false),\n take(1),\n startWith(true),\n ),\n ),\n );\n}\n\nexport const tuiPressedObservable = pressedObservable;\n","import {MonoTypeOperatorFunction} from 'rxjs';\nimport {tap} from 'rxjs/operators';\n\n/**\n * @deprecated: use {@link tuiPreventDefault} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function preventDefault<T extends Event>(): MonoTypeOperatorFunction<T> {\n return tap(event => event.preventDefault());\n}\n\nexport const tuiPreventDefault = preventDefault;\n","import {AbstractControl, AbstractControlDirective} from '@angular/forms';\nimport {TuiValueChangesException} from '@taiga-ui/cdk/exceptions';\nimport {Observable} from 'rxjs';\nimport {startWith} from 'rxjs/operators';\n\n/**\n * Turns AbstractControl/Abstract-control-directive valueChanges into ReplaySubject(1)\n * TODO: 3.0 name should be shorter.\n */\nexport function tuiReplayedValueChangesFrom<T>(\n control: AbstractControl | AbstractControlDirective,\n): Observable<T> {\n return new Observable(subscriber => {\n if (!control.valueChanges) {\n throw new TuiValueChangesException();\n }\n\n control.valueChanges.pipe(startWith(control.value)).subscribe(subscriber);\n });\n}\n","import {MonoTypeOperatorFunction} from 'rxjs';\nimport {tap} from 'rxjs/operators';\n\n/**\n * @deprecated: use {@link tuiStopPropagation} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function stopPropagation<T extends Event>(): MonoTypeOperatorFunction<T> {\n return tap(e => {\n e.stopPropagation();\n });\n}\n\nexport const tuiStopPropagation = stopPropagation;\n","import {ChangeDetectorRef} from '@angular/core';\nimport {MonoTypeOperatorFunction} from 'rxjs';\nimport {tap} from 'rxjs/operators';\n\n/**\n * @deprecated: use {@link tuiWatch} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function watch<T>(\n changeDetectorRef: ChangeDetectorRef,\n): MonoTypeOperatorFunction<T> {\n return tap(() => {\n changeDetectorRef.markForCheck();\n });\n}\n\nexport const tuiWatch = watch;\n","import {NgZone} from '@angular/core';\nimport {MonoTypeOperatorFunction, Observable, pipe} from 'rxjs';\n\nexport function tuiZonefull<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n return source =>\n new Observable(subscriber =>\n source.subscribe({\n next: value => ngZone.run(() => subscriber.next(value)),\n error: (error: unknown) => ngZone.run(() => subscriber.error(error)),\n complete: () => ngZone.run(() => subscriber.complete()),\n }),\n );\n}\n\nexport function tuiZonefree<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n return source =>\n new Observable(subscriber =>\n ngZone.runOutsideAngular(() => source.subscribe(subscriber)),\n );\n}\n\nexport function tuiZoneOptimized<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n return pipe(tuiZonefree(ngZone), tuiZonefull(ngZone));\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAmDA;;;AAGA;SACgB,cAAc,CAC1B,MAA8B,EAC9B,KAAa,EACb,UAAmC,EAAE;IAErC,OAAO,SAAS,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;AAC7C,CAAC;MAEY,iBAAiB,GAAG;;AC1DjC;;;;;AAKA;SACgB,mBAAmB,CAEjC,MAAwB;IACtB,OAAO,KAAK,CAAC,cAAc,CAAC,MAAM,EAAE,SAAS,CAAC,EAAE,cAAc,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC;AACvF,CAAC;MAEY,sBAAsB,GAAG;;ICTpB;AAAlB,WAAkB,YAAY;IAC1B,iDAAK,CAAA;IACL,yDAAS,CAAA;IACT,6CAAG,CAAA;AACP,CAAC,EAJiB,YAAY,KAAZ,YAAY,QAI7B;MAEY,YAAY;IACrB,YAAqB,KAAmB,EAAW,KAAiB;QAA/C,UAAK,GAAL,KAAK,CAAc;QAAW,UAAK,GAAL,KAAK,CAAY;KAAI;CAC3E;AAED;;;AAGA;SACgB,eAAe,CAAC,OAAgB;IAC5C,MAAM,EAAC,aAAa,EAAC,GAAG,OAAO,CAAC;IAEhC,IAAI,CAAC,aAAa,EAAE;QAChB,MAAM,IAAI,yBAAyB,EAAE,CAAC;KACzC;IAED,OAAO,MAAM,CACT,cAAc,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC,IAAI,CACrC,IAAI,CAAC,CAAC,CAAC,EACP,GAAG,CAAC,KAAK,IAAI,IAAI,YAAY,gBAAqB,KAAK,CAAC,CAAC,CAC5D,EACD,KAAK,CACD,cAAc,CAAC,aAAa,EAAE,WAAW,CAAC,CAAC,IAAI,CAC3C,GAAG,CAA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AC;MAEY,kBAAkB,GAAG;;ACTlC;;;AAGA;SACgB,KAAK,CACjB,iBAAoC;IAEpC,OAAO,GAAG,CAAC;QACP,iBAAiB,CAAC,YAAY,EAAE,CAAC;KACpC,CAAC,CAAC;AACP,CAAC;MAEY,QAAQ,GAAG;;SCbR,WAAW,CAAI,MAAc;IACzC,OAAO,MAAM,IACT,IAAI,UAAU,CAAC,UAAU,IACrB,MAAM,CAAC,SAAS,CAAC;QACb,IAAI,EAAE,KAAK,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACvD,KAAK,EAAE,CAAC,KAAc,KAAK,MAAM,CAAC,GAAG,CAAC,MAAM,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACpE,QAAQ,EAAE,MAAM,MAAM,CAAC,GAAG,CAAC,MAAM,UAAU,CAAC,QAAQ,EAAE,CAAC;KAC1D,CAAC,CACL,CAAC;AACV,CAAC;SAEe,WAAW,CAAI,MAAc;IACzC,OAAO,MAAM,IACT,IAAI,UAAU,CAAC,UAAU,IACrB,MAAM,CAAC,iBAAiB,CAAC,MAAM,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAC/D,CAAC;AACV,CAAC;SAEe,gBAAgB,CAAI,MAAc;IAC9C,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC;AAC1D;;ACvBA;;;;;;"}
@@ -14,7 +14,7 @@ let TuiFilterPipe = class TuiFilterPipe {
14
14
  }
15
15
  };
16
16
  TuiFilterPipe = __decorate([
17
- Pipe({ name: 'tuiFilter' })
17
+ Pipe({ name: `tuiFilter` })
18
18
  ], TuiFilterPipe);
19
19
 
20
20
  let TuiFilterPipeModule = class TuiFilterPipeModule {
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-pipes-filter.js","sources":["ng://@taiga-ui/cdk/pipes/filter/filter.pipe.ts","ng://@taiga-ui/cdk/pipes/filter/filter.module.ts","ng://@taiga-ui/cdk/pipes/filter/taiga-ui-cdk-pipes-filter.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {TuiMatcher} from '@taiga-ui/cdk/types';\n\n@Pipe({name: 'tuiFilter'})\nexport class TuiFilterPipe implements PipeTransform {\n /**\n * Filters an array through a matcher function using additional arguments\n *\n * @param items array\n * @param matcher method for filtering\n * @param args arbitrary number of additional arguments\n */\n transform<T>(items: readonly T[], matcher: TuiMatcher<T>, ...args: any[]): T[] {\n return items.filter(item => matcher(item, ...args));\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiFilterPipe} from './filter.pipe';\n\n@NgModule({\n exports: [TuiFilterPipe],\n declarations: [TuiFilterPipe],\n})\nexport class TuiFilterPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;IAIa,aAAa,GAA1B,MAAa,aAAa;;;;;;;;IAQtB,SAAS,CAAI,KAAmB,EAAE,OAAsB,EAAE,GAAG,IAAW;QACpE,OAAO,KAAK,CAAC,MAAM,CAAC,IAAI,IAAI,OAAO,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;KACvD;EACJ;AAXY,aAAa;IADzB,IAAI,CAAC,EAAC,IAAI,EAAE,WAAW,EAAC,CAAC;GACb,aAAa,CAWzB;;ICPY,mBAAmB,GAAhC,MAAa,mBAAmB;EAAG;AAAtB,mBAAmB;IAJ/B,QAAQ,CAAC;QACN,OAAO,EAAE,CAAC,aAAa,CAAC;QACxB,YAAY,EAAE,CAAC,aAAa,CAAC;KAChC,CAAC;GACW,mBAAmB,CAAG;;ACRnC;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-pipes-filter.js","sources":["ng://@taiga-ui/cdk/pipes/filter/filter.pipe.ts","ng://@taiga-ui/cdk/pipes/filter/filter.module.ts","ng://@taiga-ui/cdk/pipes/filter/taiga-ui-cdk-pipes-filter.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {TuiMatcher} from '@taiga-ui/cdk/types';\n\n@Pipe({name: `tuiFilter`})\nexport class TuiFilterPipe implements PipeTransform {\n /**\n * Filters an array through a matcher function using additional arguments\n *\n * @param items array\n * @param matcher method for filtering\n * @param args arbitrary number of additional arguments\n */\n transform<T>(items: readonly T[], matcher: TuiMatcher<T>, ...args: any[]): T[] {\n return items.filter(item => matcher(item, ...args));\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiFilterPipe} from './filter.pipe';\n\n@NgModule({\n exports: [TuiFilterPipe],\n declarations: [TuiFilterPipe],\n})\nexport class TuiFilterPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;IAIa,aAAa,GAA1B,MAAa,aAAa;;;;;;;;IAQtB,SAAS,CAAI,KAAmB,EAAE,OAAsB,EAAE,GAAG,IAAW;QACpE,OAAO,KAAK,CAAC,MAAM,CAAC,IAAI,IAAI,OAAO,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;KACvD;EACJ;AAXY,aAAa;IADzB,IAAI,CAAC,EAAC,IAAI,EAAE,WAAW,EAAC,CAAC;GACb,aAAa,CAWzB;;ICPY,mBAAmB,GAAhC,MAAa,mBAAmB;EAAG;AAAtB,mBAAmB;IAJ/B,QAAQ,CAAC;QACN,OAAO,EAAE,CAAC,aAAa,CAAC;QACxB,YAAY,EAAE,CAAC,aAAa,CAAC;KAChC,CAAC;GACW,mBAAmB,CAAG;;ACRnC;;;;;;"}
@@ -14,7 +14,7 @@ let TuiMapperPipe = class TuiMapperPipe {
14
14
  }
15
15
  };
16
16
  TuiMapperPipe = __decorate([
17
- Pipe({ name: 'tuiMapper' })
17
+ Pipe({ name: `tuiMapper` })
18
18
  ], TuiMapperPipe);
19
19
 
20
20
  let TuiMapperPipeModule = class TuiMapperPipeModule {
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-pipes-mapper.js","sources":["ng://@taiga-ui/cdk/pipes/mapper/mapper.pipe.ts","ng://@taiga-ui/cdk/pipes/mapper/mapper.module.ts","ng://@taiga-ui/cdk/pipes/mapper/taiga-ui-cdk-pipes-mapper.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {TuiMapper} from '@taiga-ui/cdk/types';\n\n@Pipe({name: 'tuiMapper'})\nexport class TuiMapperPipe implements PipeTransform {\n /**\n * Maps object to an arbitrary result through a mapper function\n *\n * @param value an item to transform\n * @param mapper a mapping function\n * @param args arbitrary number of additional arguments\n */\n transform<T, G>(value: T, mapper: TuiMapper<T, G>, ...args: any[]): G {\n return mapper(value, ...args);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiMapperPipe} from './mapper.pipe';\n\n@NgModule({\n exports: [TuiMapperPipe],\n declarations: [TuiMapperPipe],\n})\nexport class TuiMapperPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;IAIa,aAAa,GAA1B,MAAa,aAAa;;;;;;;;IAQtB,SAAS,CAAO,KAAQ,EAAE,MAAuB,EAAE,GAAG,IAAW;QAC7D,OAAO,MAAM,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,CAAC;KACjC;EACJ;AAXY,aAAa;IADzB,IAAI,CAAC,EAAC,IAAI,EAAE,WAAW,EAAC,CAAC;GACb,aAAa,CAWzB;;ICPY,mBAAmB,GAAhC,MAAa,mBAAmB;EAAG;AAAtB,mBAAmB;IAJ/B,QAAQ,CAAC;QACN,OAAO,EAAE,CAAC,aAAa,CAAC;QACxB,YAAY,EAAE,CAAC,aAAa,CAAC;KAChC,CAAC;GACW,mBAAmB,CAAG;;ACRnC;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-pipes-mapper.js","sources":["ng://@taiga-ui/cdk/pipes/mapper/mapper.pipe.ts","ng://@taiga-ui/cdk/pipes/mapper/mapper.module.ts","ng://@taiga-ui/cdk/pipes/mapper/taiga-ui-cdk-pipes-mapper.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {TuiMapper} from '@taiga-ui/cdk/types';\n\n@Pipe({name: `tuiMapper`})\nexport class TuiMapperPipe implements PipeTransform {\n /**\n * Maps object to an arbitrary result through a mapper function\n *\n * @param value an item to transform\n * @param mapper a mapping function\n * @param args arbitrary number of additional arguments\n */\n transform<T, G>(value: T, mapper: TuiMapper<T, G>, ...args: any[]): G {\n return mapper(value, ...args);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiMapperPipe} from './mapper.pipe';\n\n@NgModule({\n exports: [TuiMapperPipe],\n declarations: [TuiMapperPipe],\n})\nexport class TuiMapperPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;IAIa,aAAa,GAA1B,MAAa,aAAa;;;;;;;;IAQtB,SAAS,CAAO,KAAQ,EAAE,MAAuB,EAAE,GAAG,IAAW;QAC7D,OAAO,MAAM,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,CAAC;KACjC;EACJ;AAXY,aAAa;IADzB,IAAI,CAAC,EAAC,IAAI,EAAE,WAAW,EAAC,CAAC;GACb,aAAa,CAWzB;;ICPY,mBAAmB,GAAhC,MAAa,mBAAmB;EAAG;AAAtB,mBAAmB;IAJ/B,QAAQ,CAAC;QACN,OAAO,EAAE,CAAC,aAAa,CAAC;QACxB,YAAY,EAAE,CAAC,aAAa,CAAC;KAChC,CAAC;GACW,mBAAmB,CAAG;;ACRnC;;;;;;"}
@@ -54,9 +54,9 @@ let TuiDirectiveStylesService = class TuiDirectiveStylesService {
54
54
  if (this.documentRef.head.querySelector(`style[${attribute}]`)) {
55
55
  return;
56
56
  }
57
- const style = this.renderer.createElement('style');
58
- this.renderer.setProperty(style, 'textContent', styles);
59
- this.renderer.setAttribute(style, attribute, '');
57
+ const style = this.renderer.createElement(`style`);
58
+ this.renderer.setProperty(style, `textContent`, styles);
59
+ this.renderer.setAttribute(style, attribute, ``);
60
60
  this.documentRef.head.appendChild(style);
61
61
  }
62
62
  };
@@ -69,7 +69,7 @@ TuiDirectiveStylesService.ctorParameters = () => [
69
69
  TuiDirectiveStylesService.ɵprov = ɵɵdefineInjectable({ factory: function TuiDirectiveStylesService_Factory() { return new TuiDirectiveStylesService(ɵɵinject(ComponentFactoryResolver), ɵɵinject(INJECTOR), ɵɵinject(DOCUMENT), ɵɵinject(TUI_DEFAULT_RENDERER)); }, token: TuiDirectiveStylesService, providedIn: "root" });
70
70
  TuiDirectiveStylesService = __decorate([
71
71
  Injectable({
72
- providedIn: 'root',
72
+ providedIn: `root`,
73
73
  }),
74
74
  __param(0, Inject(ComponentFactoryResolver)),
75
75
  __param(1, Inject(INJECTOR)),
@@ -106,10 +106,10 @@ TuiFocusVisibleService = __decorate([
106
106
  let TuiHoveredService = class TuiHoveredService {
107
107
  constructor(documentRef, ngZone) {
108
108
  this.ngZone = ngZone;
109
- this.documentEvents$ = merge(typedFromEvent(documentRef, 'mousemove'), typedFromEvent(documentRef, 'touchstart', { capture: true }));
109
+ this.documentEvents$ = merge(typedFromEvent(documentRef, `mousemove`), typedFromEvent(documentRef, `touchstart`, { capture: true }));
110
110
  }
111
111
  createHovered$(target, options = { passive: true }) {
112
- return merge(typedFromEvent(target, 'mouseenter', options), typedFromEvent(target, 'touchstart', options)).pipe(switchMap(() => merge(typedFromEvent(target, 'mouseleave', options), this.documentEvents$.pipe(filter(event => !target.contains(getActualTarget(event))), tuiZoneOptimized(this.ngZone), take(1))).pipe(mapTo(false), startWith(true))), distinctUntilChanged());
112
+ return merge(typedFromEvent(target, `mouseenter`, options), typedFromEvent(target, `touchstart`, options)).pipe(switchMap(() => merge(typedFromEvent(target, `mouseleave`, options), this.documentEvents$.pipe(filter(event => !target.contains(getActualTarget(event))), tuiZoneOptimized(this.ngZone), take(1))).pipe(mapTo(false), startWith(true))), distinctUntilChanged());
113
113
  }
114
114
  };
115
115
  TuiHoveredService.ctorParameters = () => [
@@ -119,14 +119,14 @@ TuiHoveredService.ctorParameters = () => [
119
119
  TuiHoveredService.ɵprov = ɵɵdefineInjectable({ factory: function TuiHoveredService_Factory() { return new TuiHoveredService(ɵɵinject(DOCUMENT), ɵɵinject(NgZone)); }, token: TuiHoveredService, providedIn: "root" });
120
120
  TuiHoveredService = __decorate([
121
121
  Injectable({
122
- providedIn: 'root',
122
+ providedIn: `root`,
123
123
  }),
124
124
  __param(0, Inject(DOCUMENT)),
125
125
  __param(1, Inject(NgZone))
126
126
  ], TuiHoveredService);
127
127
 
128
128
  var TuiIdService_1;
129
- const TUI = 'tui_';
129
+ const TUI = `tui_`;
130
130
  /**
131
131
  * Generates unique ids
132
132
  */
@@ -139,7 +139,7 @@ TuiIdService.autoId = 0;
139
139
  TuiIdService.ɵprov = ɵɵdefineInjectable({ factory: function TuiIdService_Factory() { return new TuiIdService(); }, token: TuiIdService, providedIn: "root" });
140
140
  TuiIdService = TuiIdService_1 = __decorate([
141
141
  Injectable({
142
- providedIn: 'root',
142
+ providedIn: `root`,
143
143
  })
144
144
  ], TuiIdService);
145
145
 
@@ -158,7 +158,7 @@ let TuiParentsScrollService = class TuiParentsScrollService extends Observable {
158
158
  nativeElement = nativeElement.parentElement;
159
159
  eventTargets.push(nativeElement);
160
160
  }
161
- return merge(...eventTargets.map(element => typedFromEvent(element, 'scroll')));
161
+ return merge(...eventTargets.map(element => typedFromEvent(element, `scroll`)));
162
162
  });
163
163
  }
164
164
  };
@@ -185,7 +185,7 @@ let TuiObscuredService = class TuiObscuredService extends Observable {
185
185
  super(subscriber => this.obscured$.subscribe(subscriber));
186
186
  this.obscured$ = merge(
187
187
  // delay is added so it will not interfere with other listeners
188
- merge(parentsScroll$, fromEvent(windowRef, 'resize')).pipe(delay(0)), animationFrame$.pipe(throttleTime(POLLING_TIME))).pipe(map(() => getElementObscurers(nativeElement)), startWith(null), distinctUntilChanged(), tuiZoneOptimized(ngZone), takeUntil(destroy$));
188
+ merge(parentsScroll$, fromEvent(windowRef, `resize`)).pipe(delay(0)), animationFrame$.pipe(throttleTime(POLLING_TIME))).pipe(map(() => getElementObscurers(nativeElement)), startWith(null), distinctUntilChanged(), tuiZoneOptimized(ngZone), takeUntil(destroy$));
189
189
  }
190
190
  };
191
191
  TuiObscuredService.ctorParameters = () => [
@@ -213,16 +213,16 @@ TuiObscuredService = __decorate([
213
213
  let TuiPanService = class TuiPanService extends Observable {
214
214
  constructor({ nativeElement }, documentRef) {
215
215
  super(subscriber => {
216
- merge(typedFromEvent(nativeElement, 'touchstart', { passive: true }), typedFromEvent(nativeElement, 'mousedown'))
217
- .pipe(switchMapTo(merge(typedFromEvent(documentRef, 'touchmove', {
216
+ merge(typedFromEvent(nativeElement, `touchstart`, { passive: true }), typedFromEvent(nativeElement, `mousedown`))
217
+ .pipe(switchMapTo(merge(typedFromEvent(documentRef, `touchmove`, {
218
218
  passive: true,
219
- }).pipe(filter(({ touches }) => touches.length < 2), map(({ touches }) => touches[0])), typedFromEvent(documentRef, 'mousemove'))), pairwise(), map(([first, second]) => {
219
+ }).pipe(filter(({ touches }) => touches.length < 2), map(({ touches }) => touches[0])), typedFromEvent(documentRef, `mousemove`))), pairwise(), map(([first, second]) => {
220
220
  const deltaX = second.clientX - first.clientX;
221
221
  const deltaY = second.clientY - first.clientY;
222
222
  return [deltaX, deltaY];
223
223
  }),
224
224
  // eslint-disable-next-line rxjs/no-unsafe-takeuntil
225
- takeUntil(merge(typedFromEvent(documentRef, 'touchend'), typedFromEvent(documentRef, 'mouseup'))), repeat())
225
+ takeUntil(merge(typedFromEvent(documentRef, `touchend`), typedFromEvent(documentRef, `mouseup`))), repeat())
226
226
  .subscribe(subscriber);
227
227
  });
228
228
  }
@@ -270,9 +270,9 @@ let TuiScrollService = class TuiScrollService {
270
270
  this.animationFrame$ = animationFrame$;
271
271
  }
272
272
  scroll$(element, scrollTop, scrollLeft = element.scrollLeft, duration = SCROLL_TIME) {
273
- tuiAssert.assert(duration >= 0, 'Duration cannot be negative');
274
- tuiAssert.assert(scrollTop >= 0, 'scrollTop cannot be negative');
275
- tuiAssert.assert(scrollLeft >= 0, 'scrollLeft cannot be negative');
273
+ tuiAssert.assert(duration >= 0, `Duration cannot be negative`);
274
+ tuiAssert.assert(scrollTop >= 0, `scrollTop cannot be negative`);
275
+ tuiAssert.assert(scrollLeft >= 0, `scrollLeft cannot be negative`);
276
276
  const initialTop = element.scrollTop;
277
277
  const initialLeft = element.scrollLeft;
278
278
  const deltaTop = scrollTop - initialTop;
@@ -296,7 +296,7 @@ TuiScrollService.ctorParameters = () => [
296
296
  TuiScrollService.ɵprov = ɵɵdefineInjectable({ factory: function TuiScrollService_Factory() { return new TuiScrollService(ɵɵinject(PERFORMANCE), ɵɵinject(ANIMATION_FRAME)); }, token: TuiScrollService, providedIn: "root" });
297
297
  TuiScrollService = __decorate([
298
298
  Injectable({
299
- providedIn: 'root',
299
+ providedIn: `root`,
300
300
  }),
301
301
  __param(0, Inject(PERFORMANCE)),
302
302
  __param(1, Inject(ANIMATION_FRAME))
@@ -325,7 +325,7 @@ let TuiStaticRequestService = class TuiStaticRequestService {
325
325
  }
326
326
  }
327
327
  };
328
- xhr.open('GET', url);
328
+ xhr.open(`GET`, url);
329
329
  xhr.send();
330
330
  return () => {
331
331
  xhr.abort();
@@ -339,7 +339,7 @@ let TuiStaticRequestService = class TuiStaticRequestService {
339
339
  TuiStaticRequestService.ɵprov = ɵɵdefineInjectable({ factory: function TuiStaticRequestService_Factory() { return new TuiStaticRequestService(); }, token: TuiStaticRequestService, providedIn: "root" });
340
340
  TuiStaticRequestService = __decorate([
341
341
  Injectable({
342
- providedIn: 'root',
342
+ providedIn: `root`,
343
343
  })
344
344
  ], TuiStaticRequestService);
345
345
 
@@ -349,7 +349,7 @@ TuiStaticRequestService = __decorate([
349
349
  let TuiSwipeService = class TuiSwipeService extends Observable {
350
350
  constructor({ nativeElement }, { timeout, threshold }, documentRef) {
351
351
  super(subscriber => {
352
- merge(typedFromEvent(nativeElement, 'touchstart', { passive: true }), typedFromEvent(documentRef, 'touchend'))
352
+ merge(typedFromEvent(nativeElement, `touchstart`, { passive: true }), typedFromEvent(documentRef, `touchend`))
353
353
  .pipe(pairwise(), filter(([first, second]) => !!first.touches.length &&
354
354
  first.touches[0].identifier ===
355
355
  second.changedTouches[0].identifier), map(([start, end]) => {
@@ -391,7 +391,7 @@ const TOUCH_SENSITIVITY = 0.01;
391
391
  let TuiZoomService = class TuiZoomService extends Observable {
392
392
  constructor({ nativeElement }, { wheelSensitivity }) {
393
393
  super(subscriber => {
394
- merge(typedFromEvent(nativeElement, 'touchstart', { passive: true }).pipe(filter(({ touches }) => touches.length > 1), switchMap(startEvent => typedFromEvent(nativeElement, 'touchmove', {
394
+ merge(typedFromEvent(nativeElement, `touchstart`, { passive: true }).pipe(filter(({ touches }) => touches.length > 1), switchMap(startEvent => typedFromEvent(nativeElement, `touchmove`, {
395
395
  passive: true,
396
396
  }).pipe(preventDefault(), scan((prev, event) => {
397
397
  const distance = distanceBetweenTouches(event);
@@ -413,7 +413,7 @@ let TuiZoomService = class TuiZoomService extends Observable {
413
413
  event.touches[1].clientY) /
414
414
  2;
415
415
  return { clientX, clientY, delta, event };
416
- }), takeUntil(typedFromEvent(nativeElement, 'touchend'))))), typedFromEvent(nativeElement, 'wheel', { passive: false }).pipe(preventDefault(), map(wheel => ({
416
+ }), takeUntil(typedFromEvent(nativeElement, `touchend`))))), typedFromEvent(nativeElement, `wheel`, { passive: false }).pipe(preventDefault(), map(wheel => ({
417
417
  clientX: wheel.clientX,
418
418
  clientY: wheel.clientY,
419
419
  delta: -wheel.deltaY * wheelSensitivity,