@taiga-ui/cdk 2.55.0 → 2.58.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 (668) 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 +1 -1
  5. package/bundles/taiga-ui-cdk-classes.umd.js.map +1 -1
  6. package/bundles/taiga-ui-cdk-classes.umd.min.js.map +1 -1
  7. package/bundles/taiga-ui-cdk-coercion.umd.js +1 -1
  8. package/bundles/taiga-ui-cdk-coercion.umd.js.map +1 -1
  9. package/bundles/taiga-ui-cdk-coercion.umd.min.js.map +1 -1
  10. package/bundles/taiga-ui-cdk-components-alert-host.umd.js +1 -1
  11. package/bundles/taiga-ui-cdk-components-alert-host.umd.js.map +1 -1
  12. package/bundles/taiga-ui-cdk-components-alert-host.umd.min.js.map +1 -1
  13. package/bundles/taiga-ui-cdk-components-dialog-host.umd.js +4 -4
  14. package/bundles/taiga-ui-cdk-components-dialog-host.umd.js.map +1 -1
  15. package/bundles/taiga-ui-cdk-components-dialog-host.umd.min.js.map +1 -1
  16. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js +4 -4
  17. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js.map +1 -1
  18. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.min.js +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 +25 -15
  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 +7 -7
  40. package/bundles/taiga-ui-cdk-directives-autofilled.umd.js.map +1 -1
  41. package/bundles/taiga-ui-cdk-directives-autofilled.umd.min.js +1 -1
  42. package/bundles/taiga-ui-cdk-directives-autofilled.umd.min.js.map +1 -1
  43. package/bundles/taiga-ui-cdk-directives-checked.umd.js +6 -6
  44. package/bundles/taiga-ui-cdk-directives-checked.umd.js.map +1 -1
  45. package/bundles/taiga-ui-cdk-directives-checked.umd.min.js.map +1 -1
  46. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js +3 -3
  47. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js.map +1 -1
  48. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.min.js.map +1 -1
  49. package/bundles/taiga-ui-cdk-directives-drag.umd.js +4 -4
  50. package/bundles/taiga-ui-cdk-directives-drag.umd.js.map +1 -1
  51. package/bundles/taiga-ui-cdk-directives-drag.umd.min.js.map +1 -1
  52. package/bundles/taiga-ui-cdk-directives-droppable.umd.js +5 -5
  53. package/bundles/taiga-ui-cdk-directives-droppable.umd.js.map +1 -1
  54. package/bundles/taiga-ui-cdk-directives-droppable.umd.min.js.map +1 -1
  55. package/bundles/taiga-ui-cdk-directives-element.umd.js +2 -2
  56. package/bundles/taiga-ui-cdk-directives-element.umd.js.map +1 -1
  57. package/bundles/taiga-ui-cdk-directives-element.umd.min.js.map +1 -1
  58. package/bundles/taiga-ui-cdk-directives-focus-trap.umd.js +5 -5
  59. package/bundles/taiga-ui-cdk-directives-focus-trap.umd.js.map +1 -1
  60. package/bundles/taiga-ui-cdk-directives-focus-trap.umd.min.js.map +1 -1
  61. package/bundles/taiga-ui-cdk-directives-focus-visible.umd.js +2 -2
  62. package/bundles/taiga-ui-cdk-directives-focus-visible.umd.js.map +1 -1
  63. package/bundles/taiga-ui-cdk-directives-focus-visible.umd.min.js.map +1 -1
  64. package/bundles/taiga-ui-cdk-directives-focusable.umd.js +3 -3
  65. package/bundles/taiga-ui-cdk-directives-focusable.umd.js.map +1 -1
  66. package/bundles/taiga-ui-cdk-directives-focusable.umd.min.js.map +1 -1
  67. package/bundles/taiga-ui-cdk-directives-focused.umd.js +2 -2
  68. package/bundles/taiga-ui-cdk-directives-focused.umd.js.map +1 -1
  69. package/bundles/taiga-ui-cdk-directives-focused.umd.min.js.map +1 -1
  70. package/bundles/taiga-ui-cdk-directives-for-async.umd.js +1 -1
  71. package/bundles/taiga-ui-cdk-directives-for-async.umd.js.map +1 -1
  72. package/bundles/taiga-ui-cdk-directives-for-async.umd.min.js.map +1 -1
  73. package/bundles/taiga-ui-cdk-directives-for.umd.js +1 -1
  74. package/bundles/taiga-ui-cdk-directives-for.umd.js.map +1 -1
  75. package/bundles/taiga-ui-cdk-directives-for.umd.min.js.map +1 -1
  76. package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js +1 -1
  77. package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js.map +1 -1
  78. package/bundles/taiga-ui-cdk-directives-high-dpi.umd.min.js.map +1 -1
  79. package/bundles/taiga-ui-cdk-directives-hovered.umd.js +4 -4
  80. package/bundles/taiga-ui-cdk-directives-hovered.umd.js.map +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/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.metadata.json +1 -1
  173. package/constants/taiga-ui-cdk-constants.metadata.json +1 -1
  174. package/constants/unicode-chars.d.ts +8 -0
  175. package/directives/active-zone/taiga-ui-cdk-directives-active-zone.metadata.json +1 -1
  176. package/directives/autofilled/taiga-ui-cdk-directives-autofilled.metadata.json +1 -1
  177. package/esm2015/abstract/control.js +4 -4
  178. package/esm2015/abstract/interactive.js +8 -8
  179. package/esm2015/abstract/portal-host.js +2 -2
  180. package/esm2015/abstract/theme-switcher.js +2 -2
  181. package/esm2015/classes/assert.js +2 -2
  182. package/esm2015/coercion/coerce-boolean-property.js +2 -2
  183. package/esm2015/components/alert-host/alert-host.component.js +2 -2
  184. package/esm2015/components/dialog-host/dialog-host.component.js +5 -5
  185. package/esm2015/components/dropdown-host/dropdown-host.component.js +5 -5
  186. package/esm2015/components/portal-host/portal.service.js +2 -2
  187. package/esm2015/constants/parent-animation.js +5 -5
  188. package/esm2015/constants/svg-node-filter.js +2 -2
  189. package/esm2015/constants/unicode-chars.js +19 -11
  190. package/esm2015/date-time/date-fillers.js +3 -3
  191. package/esm2015/date-time/date-format.js +3 -3
  192. package/esm2015/date-time/date-separator.js +3 -3
  193. package/esm2015/date-time/day-range.js +7 -7
  194. package/esm2015/date-time/day.js +14 -14
  195. package/esm2015/date-time/month.js +2 -2
  196. package/esm2015/date-time/time.js +7 -7
  197. package/esm2015/date-time/year.js +2 -2
  198. package/esm2015/decorators/pure.js +2 -2
  199. package/esm2015/directives/active-zone/active-zone.directive.js +4 -4
  200. package/esm2015/directives/auto-focus/autofocus.directive.js +2 -2
  201. package/esm2015/directives/auto-focus/autofocus.options.js +2 -2
  202. package/esm2015/directives/auto-focus/handlers/abstract.handler.js +2 -2
  203. package/esm2015/directives/auto-focus/handlers/default.handler.js +2 -2
  204. package/esm2015/directives/auto-focus/handlers/ios.handler.js +12 -12
  205. package/esm2015/directives/autofilled/autofilled-style.component.js +3 -3
  206. package/esm2015/directives/autofilled/autofilled.directive.js +6 -6
  207. package/esm2015/directives/checked/checked.directive.js +7 -7
  208. package/esm2015/directives/copy-processor/copy-processor.directive.js +4 -4
  209. package/esm2015/directives/drag/drag.directive.js +5 -5
  210. package/esm2015/directives/droppable/droppable.directive.js +5 -5
  211. package/esm2015/directives/element/element.directive.js +3 -3
  212. package/esm2015/directives/focus-trap/focus-trap.directive.js +6 -6
  213. package/esm2015/directives/focus-visible/focus-visible.directive.js +3 -3
  214. package/esm2015/directives/focusable/focusable.directive.js +4 -4
  215. package/esm2015/directives/focused/focused.directive.js +3 -3
  216. package/esm2015/directives/for/for.directive.js +2 -2
  217. package/esm2015/directives/for-async/for-async.directive.js +2 -2
  218. package/esm2015/directives/high-dpi/high-dpi.directive.js +2 -2
  219. package/esm2015/directives/hovered/hovered.directive.js +5 -5
  220. package/esm2015/directives/input-mode/input-mode.directive.js +11 -11
  221. package/esm2015/directives/item/item.directive.js +2 -2
  222. package/esm2015/directives/let/let.directive.js +2 -2
  223. package/esm2015/directives/media/media.directive.js +13 -13
  224. package/esm2015/directives/obscured/obscured.directive.js +2 -2
  225. package/esm2015/directives/overscroll/overscroll.directive.js +12 -12
  226. package/esm2015/directives/pan/pan.directive.js +3 -3
  227. package/esm2015/directives/portal/portal.directive.js +2 -2
  228. package/esm2015/directives/pressed/pressed.directive.js +2 -2
  229. package/esm2015/directives/prevent-default/prevent-default.directive.js +4 -4
  230. package/esm2015/directives/repeat-times/repeat-times.directive.js +2 -2
  231. package/esm2015/directives/resize/resize.directive.js +3 -3
  232. package/esm2015/directives/swipe/swipe.directive.js +3 -3
  233. package/esm2015/directives/validator/validator.directive.js +2 -2
  234. package/esm2015/directives/zoom/zoom.directive.js +4 -4
  235. package/esm2015/enums/autocomplete.js +1 -1
  236. package/esm2015/enums/input-mode.js +1 -1
  237. package/esm2015/enums/input-type.js +1 -1
  238. package/esm2015/enums/overscroll-mode.js +1 -1
  239. package/esm2015/exceptions/computed-document.exception.js +2 -2
  240. package/esm2015/exceptions/document-selection.exception.js +2 -2
  241. package/esm2015/exceptions/no-host.exception.js +2 -2
  242. package/esm2015/exceptions/owner-document.exception.js +2 -2
  243. package/esm2015/exceptions/pure.exception.js +2 -2
  244. package/esm2015/exceptions/table-sort-key.exception.js +2 -2
  245. package/esm2015/exceptions/ts-parser.exception.js +2 -2
  246. package/esm2015/exceptions/value-changes.exception.js +2 -2
  247. package/esm2015/exceptions/value-present.exception.js +2 -2
  248. package/esm2015/exceptions/xml-parsing.exception.js +2 -2
  249. package/esm2015/observables/drag-and-drop-from.js +2 -2
  250. package/esm2015/observables/focus-visible-observable.js +5 -5
  251. package/esm2015/observables/mouse-drag-finish-from.js +2 -2
  252. package/esm2015/observables/pressed-observable.js +2 -2
  253. package/esm2015/pipes/filter/filter.pipe.js +2 -2
  254. package/esm2015/pipes/mapper/mapper.pipe.js +2 -2
  255. package/esm2015/services/directive-styles.service.js +5 -5
  256. package/esm2015/services/hovered.service.js +4 -4
  257. package/esm2015/services/id.service.js +3 -3
  258. package/esm2015/services/obscured.service.js +2 -2
  259. package/esm2015/services/pan.service.js +5 -5
  260. package/esm2015/services/parents-scroll.service.js +2 -2
  261. package/esm2015/services/scroll.service.js +5 -5
  262. package/esm2015/services/static-request.service.js +3 -3
  263. package/esm2015/services/swipe.service.js +2 -2
  264. package/esm2015/services/zoom.service.js +3 -3
  265. package/esm2015/tokens/active-element.js +9 -9
  266. package/esm2015/tokens/alerts.js +2 -2
  267. package/esm2015/tokens/default-renderer.js +2 -2
  268. package/esm2015/tokens/dialogs.js +2 -2
  269. package/esm2015/tokens/focusable-item-accessor.js +2 -2
  270. package/esm2015/tokens/is-android.js +2 -2
  271. package/esm2015/tokens/is-apple.js +2 -2
  272. package/esm2015/tokens/is-chromium.js +2 -2
  273. package/esm2015/tokens/is-cypress.js +2 -2
  274. package/esm2015/tokens/is-firefox.js +3 -3
  275. package/esm2015/tokens/is-ios.js +2 -2
  276. package/esm2015/tokens/is-mobile.js +2 -2
  277. package/esm2015/tokens/is-webkit.js +2 -2
  278. package/esm2015/tokens/removed-element.js +2 -2
  279. package/esm2015/tokens/sanitizer.js +2 -2
  280. package/esm2015/tokens/swipe-options.js +2 -2
  281. package/esm2015/tokens/take-only-trusted-events.js +2 -2
  282. package/esm2015/tokens/touch-supported.js +3 -3
  283. package/esm2015/tokens/window-height.js +3 -3
  284. package/esm2015/tokens/zoom-options.js +2 -2
  285. package/esm2015/utils/browser/is-edge-older-than.js +2 -2
  286. package/esm2015/utils/browser/is-edge.js +2 -2
  287. package/esm2015/utils/browser/is-firefox.js +2 -2
  288. package/esm2015/utils/browser/is-ie.js +2 -2
  289. package/esm2015/utils/browser/is-safari.js +2 -2
  290. package/esm2015/utils/dom/custom-event.js +3 -3
  291. package/esm2015/utils/dom/get-actual-target.js +2 -2
  292. package/esm2015/utils/dom/get-clipboard-data-text.js +4 -4
  293. package/esm2015/utils/dom/get-document-or-shadow-root.js +2 -2
  294. package/esm2015/utils/dom/get-element-offset.js +2 -2
  295. package/esm2015/utils/dom/index.js +2 -1
  296. package/esm2015/utils/dom/is-element.js +5 -0
  297. package/esm2015/utils/dom/is-form-field.js +4 -4
  298. package/esm2015/utils/focus/is-native-keyboard-focusable.js +14 -14
  299. package/esm2015/utils/focus/is-native-mouse-focusable.js +3 -3
  300. package/esm2015/utils/focus/set-native-mouse-focused.js +5 -5
  301. package/esm2015/utils/format/pad-start.js +2 -2
  302. package/esm2015/utils/format/px.js +2 -2
  303. package/esm2015/utils/math/round.js +5 -5
  304. package/esm2015/utils/miscellaneous/ease-in-out-quad.js +2 -2
  305. package/esm2015/utils/miscellaneous/get-swipe-direction.js +3 -3
  306. package/esm2015/utils/miscellaneous/is-number.js +2 -2
  307. package/esm2015/utils/os/is-apple-platform.js +2 -2
  308. package/esm2015/utils/svg/svg-linear-gradient-processor.js +2 -2
  309. package/esm5/abstract/control.js +4 -4
  310. package/esm5/abstract/interactive.js +8 -8
  311. package/esm5/abstract/portal-host.js +2 -2
  312. package/esm5/abstract/theme-switcher.js +2 -2
  313. package/esm5/classes/assert.js +2 -2
  314. package/esm5/coercion/coerce-boolean-property.js +2 -2
  315. package/esm5/components/alert-host/alert-host.component.js +2 -2
  316. package/esm5/components/dialog-host/dialog-host.component.js +5 -5
  317. package/esm5/components/dropdown-host/dropdown-host.component.js +5 -5
  318. package/esm5/components/portal-host/portal.service.js +2 -2
  319. package/esm5/constants/parent-animation.js +5 -5
  320. package/esm5/constants/svg-node-filter.js +2 -2
  321. package/esm5/constants/unicode-chars.js +19 -11
  322. package/esm5/date-time/date-fillers.js +3 -3
  323. package/esm5/date-time/date-format.js +3 -3
  324. package/esm5/date-time/date-separator.js +3 -3
  325. package/esm5/date-time/day-range.js +8 -8
  326. package/esm5/date-time/day.js +15 -15
  327. package/esm5/date-time/month.js +2 -2
  328. package/esm5/date-time/time.js +7 -7
  329. package/esm5/date-time/year.js +2 -2
  330. package/esm5/decorators/pure.js +2 -2
  331. package/esm5/directives/active-zone/active-zone.directive.js +4 -4
  332. package/esm5/directives/auto-focus/autofocus.directive.js +2 -2
  333. package/esm5/directives/auto-focus/autofocus.options.js +2 -2
  334. package/esm5/directives/auto-focus/handlers/abstract.handler.js +2 -2
  335. package/esm5/directives/auto-focus/handlers/default.handler.js +2 -2
  336. package/esm5/directives/auto-focus/handlers/ios.handler.js +12 -12
  337. package/esm5/directives/autofilled/autofilled-style.component.js +3 -3
  338. package/esm5/directives/autofilled/autofilled.directive.js +6 -6
  339. package/esm5/directives/checked/checked.directive.js +7 -7
  340. package/esm5/directives/copy-processor/copy-processor.directive.js +4 -4
  341. package/esm5/directives/drag/drag.directive.js +5 -5
  342. package/esm5/directives/droppable/droppable.directive.js +6 -6
  343. package/esm5/directives/element/element.directive.js +3 -3
  344. package/esm5/directives/focus-trap/focus-trap.directive.js +6 -6
  345. package/esm5/directives/focus-visible/focus-visible.directive.js +3 -3
  346. package/esm5/directives/focusable/focusable.directive.js +4 -4
  347. package/esm5/directives/focused/focused.directive.js +3 -3
  348. package/esm5/directives/for/for.directive.js +2 -2
  349. package/esm5/directives/for-async/for-async.directive.js +2 -2
  350. package/esm5/directives/high-dpi/high-dpi.directive.js +2 -2
  351. package/esm5/directives/hovered/hovered.directive.js +5 -5
  352. package/esm5/directives/input-mode/input-mode.directive.js +11 -11
  353. package/esm5/directives/item/item.directive.js +2 -2
  354. package/esm5/directives/let/let.directive.js +2 -2
  355. package/esm5/directives/media/media.directive.js +13 -13
  356. package/esm5/directives/obscured/obscured.directive.js +2 -2
  357. package/esm5/directives/overscroll/overscroll.directive.js +12 -12
  358. package/esm5/directives/pan/pan.directive.js +3 -3
  359. package/esm5/directives/portal/portal.directive.js +2 -2
  360. package/esm5/directives/pressed/pressed.directive.js +2 -2
  361. package/esm5/directives/prevent-default/prevent-default.directive.js +4 -4
  362. package/esm5/directives/repeat-times/repeat-times.directive.js +2 -2
  363. package/esm5/directives/resize/resize.directive.js +3 -3
  364. package/esm5/directives/swipe/swipe.directive.js +3 -3
  365. package/esm5/directives/validator/validator.directive.js +2 -2
  366. package/esm5/directives/zoom/zoom.directive.js +4 -4
  367. package/esm5/enums/autocomplete.js +1 -1
  368. package/esm5/enums/input-mode.js +1 -1
  369. package/esm5/enums/input-type.js +1 -1
  370. package/esm5/enums/overscroll-mode.js +1 -1
  371. package/esm5/exceptions/computed-document.exception.js +2 -2
  372. package/esm5/exceptions/document-selection.exception.js +2 -2
  373. package/esm5/exceptions/no-host.exception.js +2 -2
  374. package/esm5/exceptions/owner-document.exception.js +2 -2
  375. package/esm5/exceptions/pure.exception.js +2 -2
  376. package/esm5/exceptions/table-sort-key.exception.js +2 -2
  377. package/esm5/exceptions/ts-parser.exception.js +2 -2
  378. package/esm5/exceptions/value-changes.exception.js +2 -2
  379. package/esm5/exceptions/value-present.exception.js +2 -2
  380. package/esm5/exceptions/xml-parsing.exception.js +2 -2
  381. package/esm5/observables/drag-and-drop-from.js +2 -2
  382. package/esm5/observables/focus-visible-observable.js +5 -5
  383. package/esm5/observables/mouse-drag-finish-from.js +2 -2
  384. package/esm5/observables/pressed-observable.js +2 -2
  385. package/esm5/pipes/filter/filter.pipe.js +2 -2
  386. package/esm5/pipes/mapper/mapper.pipe.js +2 -2
  387. package/esm5/services/directive-styles.service.js +5 -5
  388. package/esm5/services/hovered.service.js +5 -5
  389. package/esm5/services/id.service.js +3 -3
  390. package/esm5/services/obscured.service.js +2 -2
  391. package/esm5/services/pan.service.js +5 -5
  392. package/esm5/services/parents-scroll.service.js +2 -2
  393. package/esm5/services/scroll.service.js +5 -5
  394. package/esm5/services/static-request.service.js +3 -3
  395. package/esm5/services/swipe.service.js +2 -2
  396. package/esm5/services/zoom.service.js +5 -5
  397. package/esm5/tokens/active-element.js +10 -10
  398. package/esm5/tokens/alerts.js +2 -2
  399. package/esm5/tokens/default-renderer.js +2 -2
  400. package/esm5/tokens/dialogs.js +2 -2
  401. package/esm5/tokens/focusable-item-accessor.js +2 -2
  402. package/esm5/tokens/is-android.js +2 -2
  403. package/esm5/tokens/is-apple.js +2 -2
  404. package/esm5/tokens/is-chromium.js +2 -2
  405. package/esm5/tokens/is-cypress.js +2 -2
  406. package/esm5/tokens/is-firefox.js +3 -3
  407. package/esm5/tokens/is-ios.js +2 -2
  408. package/esm5/tokens/is-mobile.js +2 -2
  409. package/esm5/tokens/is-webkit.js +2 -2
  410. package/esm5/tokens/removed-element.js +2 -2
  411. package/esm5/tokens/sanitizer.js +2 -2
  412. package/esm5/tokens/swipe-options.js +2 -2
  413. package/esm5/tokens/take-only-trusted-events.js +2 -2
  414. package/esm5/tokens/touch-supported.js +3 -3
  415. package/esm5/tokens/window-height.js +3 -3
  416. package/esm5/tokens/zoom-options.js +2 -2
  417. package/esm5/utils/browser/is-edge-older-than.js +2 -2
  418. package/esm5/utils/browser/is-edge.js +2 -2
  419. package/esm5/utils/browser/is-firefox.js +2 -2
  420. package/esm5/utils/browser/is-ie.js +2 -2
  421. package/esm5/utils/browser/is-safari.js +2 -2
  422. package/esm5/utils/dom/custom-event.js +3 -3
  423. package/esm5/utils/dom/get-actual-target.js +2 -2
  424. package/esm5/utils/dom/get-clipboard-data-text.js +4 -4
  425. package/esm5/utils/dom/get-document-or-shadow-root.js +2 -2
  426. package/esm5/utils/dom/get-element-offset.js +2 -2
  427. package/esm5/utils/dom/index.js +2 -1
  428. package/esm5/utils/dom/is-element.js +5 -0
  429. package/esm5/utils/dom/is-form-field.js +4 -4
  430. package/esm5/utils/focus/is-native-keyboard-focusable.js +14 -14
  431. package/esm5/utils/focus/is-native-mouse-focusable.js +3 -3
  432. package/esm5/utils/focus/set-native-mouse-focused.js +5 -5
  433. package/esm5/utils/format/pad-start.js +2 -2
  434. package/esm5/utils/format/px.js +2 -2
  435. package/esm5/utils/math/round.js +5 -5
  436. package/esm5/utils/miscellaneous/ease-in-out-quad.js +2 -2
  437. package/esm5/utils/miscellaneous/get-swipe-direction.js +3 -3
  438. package/esm5/utils/miscellaneous/is-number.js +2 -2
  439. package/esm5/utils/os/is-apple-platform.js +2 -2
  440. package/esm5/utils/svg/svg-linear-gradient-processor.js +2 -2
  441. package/fesm2015/taiga-ui-cdk-abstract.js +12 -12
  442. package/fesm2015/taiga-ui-cdk-abstract.js.map +1 -1
  443. package/fesm2015/taiga-ui-cdk-classes.js +1 -1
  444. package/fesm2015/taiga-ui-cdk-classes.js.map +1 -1
  445. package/fesm2015/taiga-ui-cdk-coercion.js +1 -1
  446. package/fesm2015/taiga-ui-cdk-coercion.js.map +1 -1
  447. package/fesm2015/taiga-ui-cdk-components-alert-host.js +1 -1
  448. package/fesm2015/taiga-ui-cdk-components-alert-host.js.map +1 -1
  449. package/fesm2015/taiga-ui-cdk-components-dialog-host.js +4 -4
  450. package/fesm2015/taiga-ui-cdk-components-dialog-host.js.map +1 -1
  451. package/fesm2015/taiga-ui-cdk-components-dropdown-host.js +4 -4
  452. package/fesm2015/taiga-ui-cdk-components-dropdown-host.js.map +1 -1
  453. package/fesm2015/taiga-ui-cdk-components-portal-host.js +1 -1
  454. package/fesm2015/taiga-ui-cdk-components-portal-host.js.map +1 -1
  455. package/fesm2015/taiga-ui-cdk-constants.js +24 -16
  456. package/fesm2015/taiga-ui-cdk-constants.js.map +1 -1
  457. package/fesm2015/taiga-ui-cdk-date-time.js +33 -33
  458. package/fesm2015/taiga-ui-cdk-date-time.js.map +1 -1
  459. package/fesm2015/taiga-ui-cdk-decorators.js +1 -1
  460. package/fesm2015/taiga-ui-cdk-decorators.js.map +1 -1
  461. package/fesm2015/taiga-ui-cdk-directives-active-zone.js +3 -3
  462. package/fesm2015/taiga-ui-cdk-directives-active-zone.js.map +1 -1
  463. package/fesm2015/taiga-ui-cdk-directives-auto-focus.js +15 -15
  464. package/fesm2015/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
  465. package/fesm2015/taiga-ui-cdk-directives-autofilled.js +7 -7
  466. package/fesm2015/taiga-ui-cdk-directives-autofilled.js.map +1 -1
  467. package/fesm2015/taiga-ui-cdk-directives-checked.js +6 -6
  468. package/fesm2015/taiga-ui-cdk-directives-checked.js.map +1 -1
  469. package/fesm2015/taiga-ui-cdk-directives-copy-processor.js +3 -3
  470. package/fesm2015/taiga-ui-cdk-directives-copy-processor.js.map +1 -1
  471. package/fesm2015/taiga-ui-cdk-directives-drag.js +4 -4
  472. package/fesm2015/taiga-ui-cdk-directives-drag.js.map +1 -1
  473. package/fesm2015/taiga-ui-cdk-directives-droppable.js +4 -4
  474. package/fesm2015/taiga-ui-cdk-directives-droppable.js.map +1 -1
  475. package/fesm2015/taiga-ui-cdk-directives-element.js +2 -2
  476. package/fesm2015/taiga-ui-cdk-directives-element.js.map +1 -1
  477. package/fesm2015/taiga-ui-cdk-directives-focus-trap.js +5 -5
  478. package/fesm2015/taiga-ui-cdk-directives-focus-trap.js.map +1 -1
  479. package/fesm2015/taiga-ui-cdk-directives-focus-visible.js +2 -2
  480. package/fesm2015/taiga-ui-cdk-directives-focus-visible.js.map +1 -1
  481. package/fesm2015/taiga-ui-cdk-directives-focusable.js +3 -3
  482. package/fesm2015/taiga-ui-cdk-directives-focusable.js.map +1 -1
  483. package/fesm2015/taiga-ui-cdk-directives-focused.js +2 -2
  484. package/fesm2015/taiga-ui-cdk-directives-focused.js.map +1 -1
  485. package/fesm2015/taiga-ui-cdk-directives-for-async.js +1 -1
  486. package/fesm2015/taiga-ui-cdk-directives-for-async.js.map +1 -1
  487. package/fesm2015/taiga-ui-cdk-directives-for.js +1 -1
  488. package/fesm2015/taiga-ui-cdk-directives-for.js.map +1 -1
  489. package/fesm2015/taiga-ui-cdk-directives-high-dpi.js +1 -1
  490. package/fesm2015/taiga-ui-cdk-directives-high-dpi.js.map +1 -1
  491. package/fesm2015/taiga-ui-cdk-directives-hovered.js +4 -4
  492. package/fesm2015/taiga-ui-cdk-directives-hovered.js.map +1 -1
  493. package/fesm2015/taiga-ui-cdk-directives-input-mode.js +10 -10
  494. package/fesm2015/taiga-ui-cdk-directives-input-mode.js.map +1 -1
  495. package/fesm2015/taiga-ui-cdk-directives-item.js +1 -1
  496. package/fesm2015/taiga-ui-cdk-directives-item.js.map +1 -1
  497. package/fesm2015/taiga-ui-cdk-directives-let.js +1 -1
  498. package/fesm2015/taiga-ui-cdk-directives-let.js.map +1 -1
  499. package/fesm2015/taiga-ui-cdk-directives-media.js +12 -12
  500. package/fesm2015/taiga-ui-cdk-directives-media.js.map +1 -1
  501. package/fesm2015/taiga-ui-cdk-directives-obscured.js +1 -1
  502. package/fesm2015/taiga-ui-cdk-directives-obscured.js.map +1 -1
  503. package/fesm2015/taiga-ui-cdk-directives-overscroll.js +11 -11
  504. package/fesm2015/taiga-ui-cdk-directives-overscroll.js.map +1 -1
  505. package/fesm2015/taiga-ui-cdk-directives-pan.js +2 -2
  506. package/fesm2015/taiga-ui-cdk-directives-pan.js.map +1 -1
  507. package/fesm2015/taiga-ui-cdk-directives-portal.js +1 -1
  508. package/fesm2015/taiga-ui-cdk-directives-portal.js.map +1 -1
  509. package/fesm2015/taiga-ui-cdk-directives-pressed.js +1 -1
  510. package/fesm2015/taiga-ui-cdk-directives-pressed.js.map +1 -1
  511. package/fesm2015/taiga-ui-cdk-directives-prevent-default.js +3 -3
  512. package/fesm2015/taiga-ui-cdk-directives-prevent-default.js.map +1 -1
  513. package/fesm2015/taiga-ui-cdk-directives-repeat-times.js +1 -1
  514. package/fesm2015/taiga-ui-cdk-directives-repeat-times.js.map +1 -1
  515. package/fesm2015/taiga-ui-cdk-directives-resize.js +2 -2
  516. package/fesm2015/taiga-ui-cdk-directives-resize.js.map +1 -1
  517. package/fesm2015/taiga-ui-cdk-directives-swipe.js +2 -2
  518. package/fesm2015/taiga-ui-cdk-directives-swipe.js.map +1 -1
  519. package/fesm2015/taiga-ui-cdk-directives-validator.js +1 -1
  520. package/fesm2015/taiga-ui-cdk-directives-validator.js.map +1 -1
  521. package/fesm2015/taiga-ui-cdk-directives-zoom.js +3 -3
  522. package/fesm2015/taiga-ui-cdk-directives-zoom.js.map +1 -1
  523. package/fesm2015/taiga-ui-cdk-enums.js.map +1 -1
  524. package/fesm2015/taiga-ui-cdk-exceptions.js +10 -10
  525. package/fesm2015/taiga-ui-cdk-exceptions.js.map +1 -1
  526. package/fesm2015/taiga-ui-cdk-observables.js +7 -7
  527. package/fesm2015/taiga-ui-cdk-observables.js.map +1 -1
  528. package/fesm2015/taiga-ui-cdk-pipes-filter.js +1 -1
  529. package/fesm2015/taiga-ui-cdk-pipes-filter.js.map +1 -1
  530. package/fesm2015/taiga-ui-cdk-pipes-mapper.js +1 -1
  531. package/fesm2015/taiga-ui-cdk-pipes-mapper.js.map +1 -1
  532. package/fesm2015/taiga-ui-cdk-services.js +24 -24
  533. package/fesm2015/taiga-ui-cdk-services.js.map +1 -1
  534. package/fesm2015/taiga-ui-cdk-tokens.js +30 -30
  535. package/fesm2015/taiga-ui-cdk-tokens.js.map +1 -1
  536. package/fesm2015/taiga-ui-cdk-utils-browser.js +5 -5
  537. package/fesm2015/taiga-ui-cdk-utils-browser.js.map +1 -1
  538. package/fesm2015/taiga-ui-cdk-utils-dom.js +17 -12
  539. package/fesm2015/taiga-ui-cdk-utils-dom.js.map +1 -1
  540. package/fesm2015/taiga-ui-cdk-utils-focus.js +19 -19
  541. package/fesm2015/taiga-ui-cdk-utils-focus.js.map +1 -1
  542. package/fesm2015/taiga-ui-cdk-utils-format.js +2 -2
  543. package/fesm2015/taiga-ui-cdk-utils-format.js.map +1 -1
  544. package/fesm2015/taiga-ui-cdk-utils-math.js +4 -4
  545. package/fesm2015/taiga-ui-cdk-utils-math.js.map +1 -1
  546. package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js +4 -4
  547. package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js.map +1 -1
  548. package/fesm2015/taiga-ui-cdk-utils-os.js +1 -1
  549. package/fesm2015/taiga-ui-cdk-utils-os.js.map +1 -1
  550. package/fesm2015/taiga-ui-cdk-utils-svg.js +1 -1
  551. package/fesm2015/taiga-ui-cdk-utils-svg.js.map +1 -1
  552. package/fesm5/taiga-ui-cdk-abstract.js +12 -12
  553. package/fesm5/taiga-ui-cdk-abstract.js.map +1 -1
  554. package/fesm5/taiga-ui-cdk-classes.js +1 -1
  555. package/fesm5/taiga-ui-cdk-classes.js.map +1 -1
  556. package/fesm5/taiga-ui-cdk-coercion.js +1 -1
  557. package/fesm5/taiga-ui-cdk-coercion.js.map +1 -1
  558. package/fesm5/taiga-ui-cdk-components-alert-host.js +1 -1
  559. package/fesm5/taiga-ui-cdk-components-alert-host.js.map +1 -1
  560. package/fesm5/taiga-ui-cdk-components-dialog-host.js +4 -4
  561. package/fesm5/taiga-ui-cdk-components-dialog-host.js.map +1 -1
  562. package/fesm5/taiga-ui-cdk-components-dropdown-host.js +4 -4
  563. package/fesm5/taiga-ui-cdk-components-dropdown-host.js.map +1 -1
  564. package/fesm5/taiga-ui-cdk-components-portal-host.js +1 -1
  565. package/fesm5/taiga-ui-cdk-components-portal-host.js.map +1 -1
  566. package/fesm5/taiga-ui-cdk-constants.js +24 -16
  567. package/fesm5/taiga-ui-cdk-constants.js.map +1 -1
  568. package/fesm5/taiga-ui-cdk-date-time.js +35 -35
  569. package/fesm5/taiga-ui-cdk-date-time.js.map +1 -1
  570. package/fesm5/taiga-ui-cdk-decorators.js +1 -1
  571. package/fesm5/taiga-ui-cdk-decorators.js.map +1 -1
  572. package/fesm5/taiga-ui-cdk-directives-active-zone.js +3 -3
  573. package/fesm5/taiga-ui-cdk-directives-active-zone.js.map +1 -1
  574. package/fesm5/taiga-ui-cdk-directives-auto-focus.js +15 -15
  575. package/fesm5/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
  576. package/fesm5/taiga-ui-cdk-directives-autofilled.js +7 -7
  577. package/fesm5/taiga-ui-cdk-directives-autofilled.js.map +1 -1
  578. package/fesm5/taiga-ui-cdk-directives-checked.js +6 -6
  579. package/fesm5/taiga-ui-cdk-directives-checked.js.map +1 -1
  580. package/fesm5/taiga-ui-cdk-directives-copy-processor.js +3 -3
  581. package/fesm5/taiga-ui-cdk-directives-copy-processor.js.map +1 -1
  582. package/fesm5/taiga-ui-cdk-directives-drag.js +4 -4
  583. package/fesm5/taiga-ui-cdk-directives-drag.js.map +1 -1
  584. package/fesm5/taiga-ui-cdk-directives-droppable.js +5 -5
  585. package/fesm5/taiga-ui-cdk-directives-droppable.js.map +1 -1
  586. package/fesm5/taiga-ui-cdk-directives-element.js +2 -2
  587. package/fesm5/taiga-ui-cdk-directives-element.js.map +1 -1
  588. package/fesm5/taiga-ui-cdk-directives-focus-trap.js +5 -5
  589. package/fesm5/taiga-ui-cdk-directives-focus-trap.js.map +1 -1
  590. package/fesm5/taiga-ui-cdk-directives-focus-visible.js +2 -2
  591. package/fesm5/taiga-ui-cdk-directives-focus-visible.js.map +1 -1
  592. package/fesm5/taiga-ui-cdk-directives-focusable.js +3 -3
  593. package/fesm5/taiga-ui-cdk-directives-focusable.js.map +1 -1
  594. package/fesm5/taiga-ui-cdk-directives-focused.js +2 -2
  595. package/fesm5/taiga-ui-cdk-directives-focused.js.map +1 -1
  596. package/fesm5/taiga-ui-cdk-directives-for-async.js +1 -1
  597. package/fesm5/taiga-ui-cdk-directives-for-async.js.map +1 -1
  598. package/fesm5/taiga-ui-cdk-directives-for.js +1 -1
  599. package/fesm5/taiga-ui-cdk-directives-for.js.map +1 -1
  600. package/fesm5/taiga-ui-cdk-directives-high-dpi.js +1 -1
  601. package/fesm5/taiga-ui-cdk-directives-high-dpi.js.map +1 -1
  602. package/fesm5/taiga-ui-cdk-directives-hovered.js +4 -4
  603. package/fesm5/taiga-ui-cdk-directives-hovered.js.map +1 -1
  604. package/fesm5/taiga-ui-cdk-directives-input-mode.js +10 -10
  605. package/fesm5/taiga-ui-cdk-directives-input-mode.js.map +1 -1
  606. package/fesm5/taiga-ui-cdk-directives-item.js +1 -1
  607. package/fesm5/taiga-ui-cdk-directives-item.js.map +1 -1
  608. package/fesm5/taiga-ui-cdk-directives-let.js +1 -1
  609. package/fesm5/taiga-ui-cdk-directives-let.js.map +1 -1
  610. package/fesm5/taiga-ui-cdk-directives-media.js +12 -12
  611. package/fesm5/taiga-ui-cdk-directives-media.js.map +1 -1
  612. package/fesm5/taiga-ui-cdk-directives-obscured.js +1 -1
  613. package/fesm5/taiga-ui-cdk-directives-obscured.js.map +1 -1
  614. package/fesm5/taiga-ui-cdk-directives-overscroll.js +11 -11
  615. package/fesm5/taiga-ui-cdk-directives-overscroll.js.map +1 -1
  616. package/fesm5/taiga-ui-cdk-directives-pan.js +2 -2
  617. package/fesm5/taiga-ui-cdk-directives-pan.js.map +1 -1
  618. package/fesm5/taiga-ui-cdk-directives-portal.js +1 -1
  619. package/fesm5/taiga-ui-cdk-directives-portal.js.map +1 -1
  620. package/fesm5/taiga-ui-cdk-directives-pressed.js +1 -1
  621. package/fesm5/taiga-ui-cdk-directives-pressed.js.map +1 -1
  622. package/fesm5/taiga-ui-cdk-directives-prevent-default.js +3 -3
  623. package/fesm5/taiga-ui-cdk-directives-prevent-default.js.map +1 -1
  624. package/fesm5/taiga-ui-cdk-directives-repeat-times.js +1 -1
  625. package/fesm5/taiga-ui-cdk-directives-repeat-times.js.map +1 -1
  626. package/fesm5/taiga-ui-cdk-directives-resize.js +2 -2
  627. package/fesm5/taiga-ui-cdk-directives-resize.js.map +1 -1
  628. package/fesm5/taiga-ui-cdk-directives-swipe.js +2 -2
  629. package/fesm5/taiga-ui-cdk-directives-swipe.js.map +1 -1
  630. package/fesm5/taiga-ui-cdk-directives-validator.js +1 -1
  631. package/fesm5/taiga-ui-cdk-directives-validator.js.map +1 -1
  632. package/fesm5/taiga-ui-cdk-directives-zoom.js +3 -3
  633. package/fesm5/taiga-ui-cdk-directives-zoom.js.map +1 -1
  634. package/fesm5/taiga-ui-cdk-enums.js.map +1 -1
  635. package/fesm5/taiga-ui-cdk-exceptions.js +10 -10
  636. package/fesm5/taiga-ui-cdk-exceptions.js.map +1 -1
  637. package/fesm5/taiga-ui-cdk-observables.js +7 -7
  638. package/fesm5/taiga-ui-cdk-observables.js.map +1 -1
  639. package/fesm5/taiga-ui-cdk-pipes-filter.js +1 -1
  640. package/fesm5/taiga-ui-cdk-pipes-filter.js.map +1 -1
  641. package/fesm5/taiga-ui-cdk-pipes-mapper.js +1 -1
  642. package/fesm5/taiga-ui-cdk-pipes-mapper.js.map +1 -1
  643. package/fesm5/taiga-ui-cdk-services.js +27 -27
  644. package/fesm5/taiga-ui-cdk-services.js.map +1 -1
  645. package/fesm5/taiga-ui-cdk-tokens.js +31 -31
  646. package/fesm5/taiga-ui-cdk-tokens.js.map +1 -1
  647. package/fesm5/taiga-ui-cdk-utils-browser.js +5 -5
  648. package/fesm5/taiga-ui-cdk-utils-browser.js.map +1 -1
  649. package/fesm5/taiga-ui-cdk-utils-dom.js +17 -12
  650. package/fesm5/taiga-ui-cdk-utils-dom.js.map +1 -1
  651. package/fesm5/taiga-ui-cdk-utils-focus.js +19 -19
  652. package/fesm5/taiga-ui-cdk-utils-focus.js.map +1 -1
  653. package/fesm5/taiga-ui-cdk-utils-format.js +2 -2
  654. package/fesm5/taiga-ui-cdk-utils-format.js.map +1 -1
  655. package/fesm5/taiga-ui-cdk-utils-math.js +4 -4
  656. package/fesm5/taiga-ui-cdk-utils-math.js.map +1 -1
  657. package/fesm5/taiga-ui-cdk-utils-miscellaneous.js +4 -4
  658. package/fesm5/taiga-ui-cdk-utils-miscellaneous.js.map +1 -1
  659. package/fesm5/taiga-ui-cdk-utils-os.js +1 -1
  660. package/fesm5/taiga-ui-cdk-utils-os.js.map +1 -1
  661. package/fesm5/taiga-ui-cdk-utils-svg.js +1 -1
  662. package/fesm5/taiga-ui-cdk-utils-svg.js.map +1 -1
  663. package/package.json +1 -1
  664. package/schematics/ng-update/constants/templates.d.ts +4 -0
  665. package/schematics/ng-update/constants/templates.js +5 -0
  666. package/utils/dom/index.d.ts +1 -0
  667. package/utils/dom/is-element.d.ts +1 -0
  668. package/utils/dom/taiga-ui-cdk-utils-dom.metadata.json +1 -1
@@ -13,8 +13,8 @@ var TuiPanDirective = /** @class */ (function () {
13
13
  ]; };
14
14
  TuiPanDirective = __decorate([
15
15
  Directive({
16
- selector: '[tuiPan]',
17
- outputs: ['tuiPan'],
16
+ selector: "[tuiPan]",
17
+ outputs: ["tuiPan"],
18
18
  providers: [TuiPanService],
19
19
  }),
20
20
  __param(0, Inject(TuiPanService))
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-pan.js","sources":["ng://@taiga-ui/cdk/directives/pan/pan.directive.ts","ng://@taiga-ui/cdk/directives/pan/pan.module.ts","ng://@taiga-ui/cdk/directives/pan/taiga-ui-cdk-directives-pan.ts"],"sourcesContent":["import {Directive, Inject} from '@angular/core';\nimport {TuiPanService} from '@taiga-ui/cdk/services';\nimport {Observable} from 'rxjs';\n\n// @dynamic\n@Directive({\n selector: '[tuiPan]',\n outputs: ['tuiPan'],\n providers: [TuiPanService],\n})\nexport class TuiPanDirective {\n constructor(\n @Inject(TuiPanService) readonly tuiPan: Observable<readonly [number, number]>,\n ) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiPanDirective} from './pan.directive';\n\n/**\n * @experimental\n */\n@NgModule({\n declarations: [TuiPanDirective],\n exports: [TuiPanDirective],\n})\nexport class TuiPanModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAIA;;IAOI,yBACoC,MAA6C;QAA7C,WAAM,GAAN,MAAM,CAAuC;KAC7E;;gBADwC,UAAU,uBAAjD,MAAM,SAAC,aAAa;;IAFhB,eAAe;QAL3B,SAAS,CAAC;YACP,QAAQ,EAAE,UAAU;YACpB,OAAO,EAAE,CAAC,QAAQ,CAAC;YACnB,SAAS,EAAE,CAAC,aAAa,CAAC;SAC7B,CAAC;QAGO,WAAA,MAAM,CAAC,aAAa,CAAC,CAAA;OAFjB,eAAe,CAI3B;IAAD,sBAAC;CAJD;;ACNA;;;;IAOA;KAA4B;IAAf,YAAY;QAJxB,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,eAAe,CAAC;YAC/B,OAAO,EAAE,CAAC,eAAe,CAAC;SAC7B,CAAC;OACW,YAAY,CAAG;IAAD,mBAAC;CAA5B;;ACXA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-pan.js","sources":["ng://@taiga-ui/cdk/directives/pan/pan.directive.ts","ng://@taiga-ui/cdk/directives/pan/pan.module.ts","ng://@taiga-ui/cdk/directives/pan/taiga-ui-cdk-directives-pan.ts"],"sourcesContent":["import {Directive, Inject} from '@angular/core';\nimport {TuiPanService} from '@taiga-ui/cdk/services';\nimport {Observable} from 'rxjs';\n\n// @dynamic\n@Directive({\n selector: `[tuiPan]`,\n outputs: [`tuiPan`],\n providers: [TuiPanService],\n})\nexport class TuiPanDirective {\n constructor(\n @Inject(TuiPanService) readonly tuiPan: Observable<readonly [number, number]>,\n ) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiPanDirective} from './pan.directive';\n\n/**\n * @experimental\n */\n@NgModule({\n declarations: [TuiPanDirective],\n exports: [TuiPanDirective],\n})\nexport class TuiPanModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAIA;;IAOI,yBACoC,MAA6C;QAA7C,WAAM,GAAN,MAAM,CAAuC;KAC7E;;gBADwC,UAAU,uBAAjD,MAAM,SAAC,aAAa;;IAFhB,eAAe;QAL3B,SAAS,CAAC;YACP,QAAQ,EAAE,UAAU;YACpB,OAAO,EAAE,CAAC,QAAQ,CAAC;YACnB,SAAS,EAAE,CAAC,aAAa,CAAC;SAC7B,CAAC;QAGO,WAAA,MAAM,CAAC,aAAa,CAAC,CAAA;OAFjB,eAAe,CAI3B;IAAD,sBAAC;CAJD;;ACNA;;;;IAOA;KAA4B;IAAf,YAAY;QAJxB,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,eAAe,CAAC;YAC/B,OAAO,EAAE,CAAC,eAAe,CAAC;SAC7B,CAAC;OACW,YAAY,CAAG;IAAD,mBAAC;CAA5B;;ACXA;;;;;;"}
@@ -31,7 +31,7 @@ var TuiPortalDirective = /** @class */ (function () {
31
31
  ], TuiPortalDirective.prototype, "tuiPortal", null);
32
32
  TuiPortalDirective = __decorate([
33
33
  Directive({
34
- selector: '[tuiPortal]',
34
+ selector: "[tuiPortal]",
35
35
  }),
36
36
  __param(0, Inject(TemplateRef)),
37
37
  __param(1, Inject(TuiPortalService))
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-portal.js","sources":["ng://@taiga-ui/cdk/directives/portal/portal.directive.ts","ng://@taiga-ui/cdk/directives/portal/portal.module.ts","ng://@taiga-ui/cdk/directives/portal/taiga-ui-cdk-directives-portal.ts"],"sourcesContent":["import {\n Directive,\n EmbeddedViewRef,\n Inject,\n Input,\n OnDestroy,\n TemplateRef,\n} from '@angular/core';\nimport {TuiPortalService} from '@taiga-ui/cdk/components/portal-host';\n\n@Directive({\n selector: '[tuiPortal]',\n})\nexport class TuiPortalDirective implements OnDestroy {\n private viewRef?: EmbeddedViewRef<unknown>;\n\n @Input()\n set tuiPortal(show: boolean) {\n this.viewRef?.destroy();\n\n if (show) {\n this.viewRef = this.portalService.addTemplate(this.templateRef);\n }\n }\n\n constructor(\n @Inject(TemplateRef)\n private readonly templateRef: TemplateRef<Record<string, unknown>>,\n @Inject(TuiPortalService) private readonly portalService: TuiPortalService,\n ) {}\n\n ngOnDestroy(): void {\n this.viewRef?.destroy();\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiPortalDirective} from './portal.directive';\n\n@NgModule({\n declarations: [TuiPortalDirective],\n exports: [TuiPortalDirective],\n})\nexport class TuiPortalModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;IAyBI,4BAEqB,WAAiD,EACvB,aAA+B;QADzD,gBAAW,GAAX,WAAW,CAAsC;QACvB,kBAAa,GAAb,aAAa,CAAkB;KAC1E;IAZJ,sBAAI,yCAAS;aAAb,UAAc,IAAa;;YACvB,MAAA,IAAI,CAAC,OAAO,0CAAE,OAAO,GAAG;YAExB,IAAI,IAAI,EAAE;gBACN,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aACnE;SACJ;;;OAAA;IAQD,wCAAW,GAAX;;QACI,MAAA,IAAI,CAAC,OAAO,0CAAE,OAAO,GAAG;KAC3B;;gBANiC,WAAW,uBADxC,MAAM,SAAC,WAAW;gBAEuC,gBAAgB,uBAAzE,MAAM,SAAC,gBAAgB;;IAX5B;QADC,KAAK,EAAE;uDAOP;IAVQ,kBAAkB;QAH9B,SAAS,CAAC;YACP,QAAQ,EAAE,aAAa;SAC1B,CAAC;QAcO,WAAA,MAAM,CAAC,WAAW,CAAC,CAAA;QAEnB,WAAA,MAAM,CAAC,gBAAgB,CAAC,CAAA;OAfpB,kBAAkB,CAqB9B;IAAD,yBAAC;CArBD;;;ICLA;KAA+B;IAAlB,eAAe;QAJ3B,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,kBAAkB,CAAC;YAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;SAChC,CAAC;OACW,eAAe,CAAG;IAAD,sBAAC;CAA/B;;ACRA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-portal.js","sources":["ng://@taiga-ui/cdk/directives/portal/portal.directive.ts","ng://@taiga-ui/cdk/directives/portal/portal.module.ts","ng://@taiga-ui/cdk/directives/portal/taiga-ui-cdk-directives-portal.ts"],"sourcesContent":["import {\n Directive,\n EmbeddedViewRef,\n Inject,\n Input,\n OnDestroy,\n TemplateRef,\n} from '@angular/core';\nimport {TuiPortalService} from '@taiga-ui/cdk/components/portal-host';\n\n@Directive({\n selector: `[tuiPortal]`,\n})\nexport class TuiPortalDirective implements OnDestroy {\n private viewRef?: EmbeddedViewRef<unknown>;\n\n @Input()\n set tuiPortal(show: boolean) {\n this.viewRef?.destroy();\n\n if (show) {\n this.viewRef = this.portalService.addTemplate(this.templateRef);\n }\n }\n\n constructor(\n @Inject(TemplateRef)\n private readonly templateRef: TemplateRef<Record<string, unknown>>,\n @Inject(TuiPortalService) private readonly portalService: TuiPortalService,\n ) {}\n\n ngOnDestroy(): void {\n this.viewRef?.destroy();\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiPortalDirective} from './portal.directive';\n\n@NgModule({\n declarations: [TuiPortalDirective],\n exports: [TuiPortalDirective],\n})\nexport class TuiPortalModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;IAyBI,4BAEqB,WAAiD,EACvB,aAA+B;QADzD,gBAAW,GAAX,WAAW,CAAsC;QACvB,kBAAa,GAAb,aAAa,CAAkB;KAC1E;IAZJ,sBAAI,yCAAS;aAAb,UAAc,IAAa;;YACvB,MAAA,IAAI,CAAC,OAAO,0CAAE,OAAO,GAAG;YAExB,IAAI,IAAI,EAAE;gBACN,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aACnE;SACJ;;;OAAA;IAQD,wCAAW,GAAX;;QACI,MAAA,IAAI,CAAC,OAAO,0CAAE,OAAO,GAAG;KAC3B;;gBANiC,WAAW,uBADxC,MAAM,SAAC,WAAW;gBAEuC,gBAAgB,uBAAzE,MAAM,SAAC,gBAAgB;;IAX5B;QADC,KAAK,EAAE;uDAOP;IAVQ,kBAAkB;QAH9B,SAAS,CAAC;YACP,QAAQ,EAAE,aAAa;SAC1B,CAAC;QAcO,WAAA,MAAM,CAAC,WAAW,CAAC,CAAA;QAEnB,WAAA,MAAM,CAAC,gBAAgB,CAAC,CAAA;OAfpB,kBAAkB,CAqB9B;IAAD,yBAAC;CArBD;;;ICLA;KAA+B;IAAlB,eAAe;QAJ3B,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,kBAAkB,CAAC;YAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;SAChC,CAAC;OACW,eAAe,CAAG;IAAD,sBAAC;CAA/B;;ACRA;;;;;;"}
@@ -20,7 +20,7 @@ var TuiPressedDirective = /** @class */ (function () {
20
20
  ], TuiPressedDirective.prototype, "tuiPressedChange", void 0);
21
21
  TuiPressedDirective = __decorate([
22
22
  Directive({
23
- selector: '[tuiPressedChange]',
23
+ selector: "[tuiPressedChange]",
24
24
  }),
25
25
  __param(0, Inject(ElementRef)),
26
26
  __param(1, Inject(TUI_TAKE_ONLY_TRUSTED_EVENTS))
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-pressed.js","sources":["ng://@taiga-ui/cdk/directives/pressed/pressed.directive.ts","ng://@taiga-ui/cdk/directives/pressed/pressed.module.ts","ng://@taiga-ui/cdk/directives/pressed/taiga-ui-cdk-directives-pressed.ts"],"sourcesContent":["import {Directive, ElementRef, Inject, Output} from '@angular/core';\nimport {pressedObservable} from '@taiga-ui/cdk/observables';\nimport {TUI_TAKE_ONLY_TRUSTED_EVENTS} from '@taiga-ui/cdk/tokens';\n\n@Directive({\n selector: '[tuiPressedChange]',\n})\nexport class TuiPressedDirective {\n @Output()\n readonly tuiPressedChange = pressedObservable(this.elementRef.nativeElement, {\n onlyTrusted: this.takeOnlyTrustedEvents,\n });\n\n constructor(\n @Inject(ElementRef) private readonly elementRef: ElementRef<Element>,\n @Inject(TUI_TAKE_ONLY_TRUSTED_EVENTS)\n private readonly takeOnlyTrustedEvents: boolean,\n ) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiPressedDirective} from './pressed.directive';\n\n@NgModule({\n declarations: [TuiPressedDirective],\n exports: [TuiPressedDirective],\n})\nexport class TuiPressedModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;IAaI,6BACyC,UAA+B,EAEnD,qBAA8B;QAFV,eAAU,GAAV,UAAU,CAAqB;QAEnD,0BAAqB,GAArB,qBAAqB,CAAS;QAP1C,qBAAgB,GAAG,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE;YACzE,WAAW,EAAE,IAAI,CAAC,qBAAqB;SAC1C,CAAC,CAAC;KAMC;;gBAHiD,UAAU,uBAA1D,MAAM,SAAC,UAAU;8CACjB,MAAM,SAAC,4BAA4B;;IANxC;QADC,MAAM,EAAE;iEAGN;IAJM,mBAAmB;QAH/B,SAAS,CAAC;YACP,QAAQ,EAAE,oBAAoB;SACjC,CAAC;QAQO,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;QAClB,WAAA,MAAM,CAAC,4BAA4B,CAAC,CAAA;OARhC,mBAAmB,CAW/B;IAAD,0BAAC;CAXD;;;ICCA;KAAgC;IAAnB,gBAAgB;QAJ5B,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,mBAAmB,CAAC;YACnC,OAAO,EAAE,CAAC,mBAAmB,CAAC;SACjC,CAAC;OACW,gBAAgB,CAAG;IAAD,uBAAC;CAAhC;;ACRA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-pressed.js","sources":["ng://@taiga-ui/cdk/directives/pressed/pressed.directive.ts","ng://@taiga-ui/cdk/directives/pressed/pressed.module.ts","ng://@taiga-ui/cdk/directives/pressed/taiga-ui-cdk-directives-pressed.ts"],"sourcesContent":["import {Directive, ElementRef, Inject, Output} from '@angular/core';\nimport {pressedObservable} from '@taiga-ui/cdk/observables';\nimport {TUI_TAKE_ONLY_TRUSTED_EVENTS} from '@taiga-ui/cdk/tokens';\n\n@Directive({\n selector: `[tuiPressedChange]`,\n})\nexport class TuiPressedDirective {\n @Output()\n readonly tuiPressedChange = pressedObservable(this.elementRef.nativeElement, {\n onlyTrusted: this.takeOnlyTrustedEvents,\n });\n\n constructor(\n @Inject(ElementRef) private readonly elementRef: ElementRef<Element>,\n @Inject(TUI_TAKE_ONLY_TRUSTED_EVENTS)\n private readonly takeOnlyTrustedEvents: boolean,\n ) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiPressedDirective} from './pressed.directive';\n\n@NgModule({\n declarations: [TuiPressedDirective],\n exports: [TuiPressedDirective],\n})\nexport class TuiPressedModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;IAaI,6BACyC,UAA+B,EAEnD,qBAA8B;QAFV,eAAU,GAAV,UAAU,CAAqB;QAEnD,0BAAqB,GAArB,qBAAqB,CAAS;QAP1C,qBAAgB,GAAG,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE;YACzE,WAAW,EAAE,IAAI,CAAC,qBAAqB;SAC1C,CAAC,CAAC;KAMC;;gBAHiD,UAAU,uBAA1D,MAAM,SAAC,UAAU;8CACjB,MAAM,SAAC,4BAA4B;;IANxC;QADC,MAAM,EAAE;iEAGN;IAJM,mBAAmB;QAH/B,SAAS,CAAC;YACP,QAAQ,EAAE,oBAAoB;SACjC,CAAC;QAQO,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;QAClB,WAAA,MAAM,CAAC,4BAA4B,CAAC,CAAA;OARhC,mBAAmB,CAW/B;IAAD,0BAAC;CAXD;;;ICCA;KAAgC;IAAnB,gBAAgB;QAJ5B,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,mBAAmB,CAAC;YACnC,OAAO,EAAE,CAAC,mBAAmB,CAAC;SACjC,CAAC;OACW,gBAAgB,CAAG;IAAD,uBAAC;CAAhC;;ACRA;;;;;;"}
@@ -21,17 +21,17 @@ var TuiPreventDefaultDirective = /** @class */ (function () {
21
21
  { type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] },
22
22
  { type: NgZone, decorators: [{ type: Inject, args: [NgZone,] }] },
23
23
  { type: Observable, decorators: [{ type: Inject, args: [TuiDestroyService,] }] },
24
- { type: String, decorators: [{ type: Attribute, args: ['tuiPreventDefault',] }] }
24
+ { type: String, decorators: [{ type: Attribute, args: ["tuiPreventDefault",] }] }
25
25
  ]; };
26
26
  TuiPreventDefaultDirective = __decorate([
27
27
  Directive({
28
- selector: '[tuiPreventDefault]',
28
+ selector: "[tuiPreventDefault]",
29
29
  providers: [TuiDestroyService],
30
30
  }),
31
31
  __param(0, Inject(ElementRef)),
32
32
  __param(1, Inject(NgZone)),
33
33
  __param(2, Inject(TuiDestroyService)),
34
- __param(3, Attribute('tuiPreventDefault'))
34
+ __param(3, Attribute("tuiPreventDefault"))
35
35
  ], TuiPreventDefaultDirective);
36
36
  return TuiPreventDefaultDirective;
37
37
  }());
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-prevent-default.js","sources":["ng://@taiga-ui/cdk/directives/prevent-default/prevent-default.directive.ts","ng://@taiga-ui/cdk/directives/prevent-default/prevent-default.module.ts","ng://@taiga-ui/cdk/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.ts"],"sourcesContent":["import {Attribute, Directive, ElementRef, Inject, NgZone} from '@angular/core';\nimport {preventDefault, tuiZonefree} from '@taiga-ui/cdk/observables';\nimport {TuiDestroyService} from '@taiga-ui/cdk/services';\nimport {fromEvent, Observable} from 'rxjs';\nimport {takeUntil} from 'rxjs/operators';\n\n/**\n * Simple prevent default on event directive when you do not need anything\n * else on event and do not want to trigger change detection\n * @dynamic\n */\n@Directive({\n selector: '[tuiPreventDefault]',\n providers: [TuiDestroyService],\n})\nexport class TuiPreventDefaultDirective {\n constructor(\n @Inject(ElementRef) {nativeElement}: ElementRef<HTMLElement>,\n @Inject(NgZone) ngZone: NgZone,\n @Inject(TuiDestroyService) destroy$: Observable<void>,\n @Attribute('tuiPreventDefault') eventName: string,\n ) {\n fromEvent(nativeElement, eventName, {passive: false})\n .pipe(tuiZonefree(ngZone), preventDefault(), takeUntil(destroy$))\n .subscribe();\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiPreventDefaultDirective} from './prevent-default.directive';\n\n@NgModule({\n declarations: [TuiPreventDefaultDirective],\n exports: [TuiPreventDefaultDirective],\n})\nexport class TuiPreventDefaultModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAMA;;;;;;IAUI,oCACwB,EAAwC,EAC5C,MAAc,EACH,QAA0B,EACrB,SAAiB;YAH5B,gCAAa;QAKlC,SAAS,CAAC,aAAa,EAAE,SAAS,EAAE,EAAC,OAAO,EAAE,KAAK,EAAC,CAAC;aAChD,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,cAAc,EAAE,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC;aAChE,SAAS,EAAE,CAAC;KACpB;;gBARwC,UAAU,uBAA9C,MAAM,SAAC,UAAU;gBACM,MAAM,uBAA7B,MAAM,SAAC,MAAM;gBACuB,UAAU,uBAA9C,MAAM,SAAC,iBAAiB;6CACxB,SAAS,SAAC,mBAAmB;;IALzB,0BAA0B;QAJtC,SAAS,CAAC;YACP,QAAQ,EAAE,qBAAqB;YAC/B,SAAS,EAAE,CAAC,iBAAiB,CAAC;SACjC,CAAC;QAGO,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;QAClB,WAAA,MAAM,CAAC,MAAM,CAAC,CAAA;QACd,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;QACzB,WAAA,SAAS,CAAC,mBAAmB,CAAC,CAAA;OAL1B,0BAA0B,CAWtC;IAAD,iCAAC;CAXD;;;ICPA;KAAuC;IAA1B,uBAAuB;QAJnC,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,0BAA0B,CAAC;YAC1C,OAAO,EAAE,CAAC,0BAA0B,CAAC;SACxC,CAAC;OACW,uBAAuB,CAAG;IAAD,8BAAC;CAAvC;;ACRA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-prevent-default.js","sources":["ng://@taiga-ui/cdk/directives/prevent-default/prevent-default.directive.ts","ng://@taiga-ui/cdk/directives/prevent-default/prevent-default.module.ts","ng://@taiga-ui/cdk/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.ts"],"sourcesContent":["import {Attribute, Directive, ElementRef, Inject, NgZone} from '@angular/core';\nimport {preventDefault, tuiZonefree} from '@taiga-ui/cdk/observables';\nimport {TuiDestroyService} from '@taiga-ui/cdk/services';\nimport {fromEvent, Observable} from 'rxjs';\nimport {takeUntil} from 'rxjs/operators';\n\n/**\n * Simple prevent default on event directive when you do not need anything\n * else on event and do not want to trigger change detection\n * @dynamic\n */\n@Directive({\n selector: `[tuiPreventDefault]`,\n providers: [TuiDestroyService],\n})\nexport class TuiPreventDefaultDirective {\n constructor(\n @Inject(ElementRef) {nativeElement}: ElementRef<HTMLElement>,\n @Inject(NgZone) ngZone: NgZone,\n @Inject(TuiDestroyService) destroy$: Observable<void>,\n @Attribute(`tuiPreventDefault`) eventName: string,\n ) {\n fromEvent(nativeElement, eventName, {passive: false})\n .pipe(tuiZonefree(ngZone), preventDefault(), takeUntil(destroy$))\n .subscribe();\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiPreventDefaultDirective} from './prevent-default.directive';\n\n@NgModule({\n declarations: [TuiPreventDefaultDirective],\n exports: [TuiPreventDefaultDirective],\n})\nexport class TuiPreventDefaultModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAMA;;;;;;IAUI,oCACwB,EAAwC,EAC5C,MAAc,EACH,QAA0B,EACrB,SAAiB;YAH5B,gCAAa;QAKlC,SAAS,CAAC,aAAa,EAAE,SAAS,EAAE,EAAC,OAAO,EAAE,KAAK,EAAC,CAAC;aAChD,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,cAAc,EAAE,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC;aAChE,SAAS,EAAE,CAAC;KACpB;;gBARwC,UAAU,uBAA9C,MAAM,SAAC,UAAU;gBACM,MAAM,uBAA7B,MAAM,SAAC,MAAM;gBACuB,UAAU,uBAA9C,MAAM,SAAC,iBAAiB;6CACxB,SAAS,SAAC,mBAAmB;;IALzB,0BAA0B;QAJtC,SAAS,CAAC;YACP,QAAQ,EAAE,qBAAqB;YAC/B,SAAS,EAAE,CAAC,iBAAiB,CAAC;SACjC,CAAC;QAGO,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;QAClB,WAAA,MAAM,CAAC,MAAM,CAAC,CAAA;QACd,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;QACzB,WAAA,SAAS,CAAC,mBAAmB,CAAC,CAAA;OAL1B,0BAA0B,CAWtC;IAAD,iCAAC;CAXD;;;ICPA;KAAuC;IAA1B,uBAAuB;QAJnC,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,0BAA0B,CAAC;YAC1C,OAAO,EAAE,CAAC,0BAA0B,CAAC;SACxC,CAAC;OACW,uBAAuB,CAAG;IAAD,8BAAC;CAAvC;;ACRA;;;;;;"}
@@ -56,7 +56,7 @@ var TuiRepeatTimesDirective = /** @class */ (function () {
56
56
  ], TuiRepeatTimesDirective.prototype, "tuiRepeatTimesOf", null);
57
57
  TuiRepeatTimesDirective = __decorate([
58
58
  Directive({
59
- selector: '[tuiRepeatTimes][tuiRepeatTimesOf]',
59
+ selector: "[tuiRepeatTimes][tuiRepeatTimesOf]",
60
60
  }),
61
61
  __param(0, Inject(ViewContainerRef)),
62
62
  __param(1, Inject(TemplateRef))
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-repeat-times.js","sources":["ng://@taiga-ui/cdk/directives/repeat-times/repeat-times.directive.ts","ng://@taiga-ui/cdk/directives/repeat-times/repeat-times.module.ts","ng://@taiga-ui/cdk/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.ts"],"sourcesContent":["import {Directive, Inject, Input, TemplateRef, ViewContainerRef} from '@angular/core';\nimport {tuiRequiredSetter} from '@taiga-ui/cdk/decorators';\nimport {TuiContextWithImplicit} from '@taiga-ui/cdk/interfaces';\nimport {clamp} from '@taiga-ui/cdk/utils/math';\n\nconst MAX_VALUE = 0x10000;\n\nexport class TuiRepeatTimesContext implements TuiContextWithImplicit<number> {\n constructor(readonly $implicit: number) {}\n}\n\n/**\n * Directive similar to ngFor but using a number of repetitions rather than an array\n *\n * {@link TuiRepeatTimesDirective.tuiRepeatTimesOf requested number of times}.\n * {@link TuiRepeatTimesContext context} for every instance of the template inherits outer context and stores\n * {@link TuiRepeatTimesContext.$implicit index} of a template instance.\n */\n@Directive({\n selector: '[tuiRepeatTimes][tuiRepeatTimesOf]',\n})\nexport class TuiRepeatTimesDirective {\n @Input()\n @tuiRequiredSetter()\n set tuiRepeatTimesOf(count: number) {\n const safeCount = Math.floor(clamp(count, 0, MAX_VALUE));\n\n const {length} = this.viewContainer;\n\n if (count < length) {\n this.removeContainers(length - count);\n } else {\n this.addContainers(safeCount);\n }\n }\n\n constructor(\n @Inject(ViewContainerRef)\n private readonly viewContainer: ViewContainerRef,\n @Inject(TemplateRef)\n private readonly templateRef: TemplateRef<TuiRepeatTimesContext>,\n ) {}\n\n private addContainers(count: number): void {\n for (let index = this.viewContainer.length; index < count; index++) {\n this.viewContainer.createEmbeddedView<TuiRepeatTimesContext>(\n this.templateRef,\n new TuiRepeatTimesContext(index),\n );\n }\n }\n\n private removeContainers(amount: number): void {\n for (let index = 0; index < amount; index++) {\n this.viewContainer.remove();\n }\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiRepeatTimesDirective} from './repeat-times.directive';\n\n@NgModule({\n declarations: [TuiRepeatTimesDirective],\n exports: [TuiRepeatTimesDirective],\n})\nexport class TuiRepeatTimesModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAKA,IAAM,SAAS,GAAG,OAAO,CAAC;;IAGtB,+BAAqB,SAAiB;QAAjB,cAAS,GAAT,SAAS,CAAQ;KAAI;IAC9C,4BAAC;AAAD,CAAC,IAAA;AAED;;;;;;;;IAyBI,iCAEqB,aAA+B,EAE/B,WAA+C;QAF/C,kBAAa,GAAb,aAAa,CAAkB;QAE/B,gBAAW,GAAX,WAAW,CAAoC;KAChE;IAjBJ,sBA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vC,OAAO,EAAE,CAAC,uBAAuB,CAAC;SACrC,CAAC;OACW,oBAAoB,CAAG;IAAD,2BAAC;CAApC;;ACRA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-repeat-times.js","sources":["ng://@taiga-ui/cdk/directives/repeat-times/repeat-times.directive.ts","ng://@taiga-ui/cdk/directives/repeat-times/repeat-times.module.ts","ng://@taiga-ui/cdk/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.ts"],"sourcesContent":["import {Directive, Inject, Input, TemplateRef, ViewContainerRef} from '@angular/core';\nimport {tuiRequiredSetter} from '@taiga-ui/cdk/decorators';\nimport {TuiContextWithImplicit} from '@taiga-ui/cdk/interfaces';\nimport {clamp} from '@taiga-ui/cdk/utils/math';\n\nconst MAX_VALUE = 0x10000;\n\nexport class TuiRepeatTimesContext implements TuiContextWithImplicit<number> {\n constructor(readonly $implicit: number) {}\n}\n\n/**\n * Directive similar to ngFor but using a number of repetitions rather than an array\n *\n * {@link TuiRepeatTimesDirective.tuiRepeatTimesOf requested number of times}.\n * {@link TuiRepeatTimesContext context} for every instance of the template inherits outer context and stores\n * {@link TuiRepeatTimesContext.$implicit index} of a template instance.\n */\n@Directive({\n selector: `[tuiRepeatTimes][tuiRepeatTimesOf]`,\n})\nexport class TuiRepeatTimesDirective {\n @Input()\n @tuiRequiredSetter()\n set tuiRepeatTimesOf(count: number) {\n const safeCount = Math.floor(clamp(count, 0, MAX_VALUE));\n\n const {length} = this.viewContainer;\n\n if (count < length) {\n this.removeContainers(length - count);\n } else {\n this.addContainers(safeCount);\n }\n }\n\n constructor(\n @Inject(ViewContainerRef)\n private readonly viewContainer: ViewContainerRef,\n @Inject(TemplateRef)\n private readonly templateRef: TemplateRef<TuiRepeatTimesContext>,\n ) {}\n\n private addContainers(count: number): void {\n for (let index = this.viewContainer.length; index < count; index++) {\n this.viewContainer.createEmbeddedView<TuiRepeatTimesContext>(\n this.templateRef,\n new TuiRepeatTimesContext(index),\n );\n }\n }\n\n private removeContainers(amount: number): void {\n for (let index = 0; index < amount; index++) {\n this.viewContainer.remove();\n }\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiRepeatTimesDirective} from './repeat-times.directive';\n\n@NgModule({\n declarations: [TuiRepeatTimesDirective],\n exports: [TuiRepeatTimesDirective],\n})\nexport class TuiRepeatTimesModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAKA,IAAM,SAAS,GAAG,OAAO,CAAC;;IAGtB,+BAAqB,SAAiB;QAAjB,cAAS,GAAT,SAAS,CAAQ;KAAI;IAC9C,4BAAC;AAAD,CAAC,IAAA;AAED;;;;;;;;IAyBI,iCAEqB,aAA+B,EAE/B,WAA+C;QAF/C,kBAAa,GAAb,aAAa,CAAkB;QAE/B,gBAAW,GAAX,WAAW,CAAoC;KAChE;IAjBJ,sBAAI,qDAAgB;aAApB,UAAqB,KAAa;YAC9B,IAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC;YAElD,IAAA,kCAAM,CAAuB;YAEpC,IAAI,KAAK,GAAG,MAAM,EAAE;gBAChB,IAAI,CAAC,gBAAgB,CAAC,MAAM,GAAG,KAAK,CAAC,CAAC;aACzC;iBAAM;gBACH,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;aACjC;SACJ;;;OAAA;IASO,+CAAa,GAArB,UAAsB,KAAa;QAC/B,KAAK,IAAI,KAAK,GAAG,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,KAAK,GAAG,KAAK,EAAE,KAAK,EAAE,EAAE;YAChE,IAAI,CAAC,aAAa,CAAC,kBAAkB,CACjC,IAAI,CAAC,WAAW,EAChB,IAAI,qBAAqB,CAAC,KAAK,CAAC,CACnC,CAAC;SACL;KACJ;IAEO,kDAAgB,GAAxB,UAAyB,MAAc;QACnC,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,MAAM,EAAE,KAAK,EAAE,EAAE;YACzC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC;SAC/B;KACJ;;gBAlBmC,gBAAgB,uBAD/C,MAAM,SAAC,gBAAgB;gBAGM,WAAW,uBADxC,MAAM,SAAC,WAAW;;IAfvB;QAFC,KAAK,EAAE;QACP,iBAAiB,EAAE;mEAWnB;IAbQ,uBAAuB;QAHnC,SAAS,CAAC;YACP,QAAQ,EAAE,oCAAoC;SACjD,CAAC;QAiBO,WAAA,MAAM,CAAC,gBAAgB,CAAC,CAAA;QAExB,WAAA,MAAM,CAAC,WAAW,CAAC,CAAA;OAlBf,uBAAuB,CAoCnC;IAAD,8BAAC;CApCD;;;ICbA;KAAoC;IAAvB,oBAAoB;QAJhC,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,uBAAuB,CAAC;YACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;SACrC,CAAC;OACW,oBAAoB,CAAG;IAAD,2BAAC;CAApC;;ACRA;;;;;;"}
@@ -13,8 +13,8 @@ var TuiResizeDirective = /** @class */ (function () {
13
13
  ]; };
14
14
  TuiResizeDirective = __decorate([
15
15
  Directive({
16
- selector: '[tuiResize]',
17
- outputs: ['tuiResize'],
16
+ selector: "[tuiResize]",
17
+ outputs: ["tuiResize"],
18
18
  providers: [TuiDestroyService, TuiResizeService],
19
19
  }),
20
20
  __param(0, Inject(TuiResizeService))
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-resize.js","sources":["ng://@taiga-ui/cdk/directives/resize/resize.directive.ts","ng://@taiga-ui/cdk/directives/resize/resize.module.ts","ng://@taiga-ui/cdk/directives/resize/taiga-ui-cdk-directives-resize.ts"],"sourcesContent":["import {Directive, Inject} from '@angular/core';\nimport {TuiDestroyService, TuiResizeService} from '@taiga-ui/cdk/services';\nimport {Observable} from 'rxjs';\n\n// @dynamic\n@Directive({\n selector: '[tuiResize]',\n outputs: ['tuiResize'],\n providers: [TuiDestroyService, TuiResizeService],\n})\nexport class TuiResizeDirective {\n constructor(\n @Inject(TuiResizeService)\n readonly tuiResize: Observable<readonly ResizeObserverEntry[]>,\n ) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiResizeDirective} from './resize.directive';\n\n/**\n * @experimental\n */\n@NgModule({\n declarations: [TuiResizeDirective],\n exports: [TuiResizeDirective],\n})\nexport class TuiResizeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAIA;;IAOI,4BAEa,SAAqD;QAArD,cAAS,GAAT,SAAS,CAA4C;KAC9D;;gBADoB,UAAU,uBAD7B,MAAM,SAAC,gBAAgB;;IAFnB,kBAAkB;QAL9B,SAAS,CAAC;YACP,QAAQ,EAAE,aAAa;YACvB,OAAO,EAAE,CAAC,WAAW,CAAC;YACtB,SAAS,EAAE,CAAC,iBAAiB,EAAE,gBAAgB,CAAC;SACnD,CAAC;QAGO,WAAA,MAAM,CAAC,gBAAgB,CAAC,CAAA;OAFpB,kBAAkB,CAK9B;IAAD,yBAAC;CALD;;ACNA;;;;IAOA;KAA+B;IAAlB,eAAe;QAJ3B,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,kBAAkB,CAAC;YAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;SAChC,CAAC;OACW,eAAe,CAAG;IAAD,sBAAC;CAA/B;;ACXA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-resize.js","sources":["ng://@taiga-ui/cdk/directives/resize/resize.directive.ts","ng://@taiga-ui/cdk/directives/resize/resize.module.ts","ng://@taiga-ui/cdk/directives/resize/taiga-ui-cdk-directives-resize.ts"],"sourcesContent":["import {Directive, Inject} from '@angular/core';\nimport {TuiDestroyService, TuiResizeService} from '@taiga-ui/cdk/services';\nimport {Observable} from 'rxjs';\n\n// @dynamic\n@Directive({\n selector: `[tuiResize]`,\n outputs: [`tuiResize`],\n providers: [TuiDestroyService, TuiResizeService],\n})\nexport class TuiResizeDirective {\n constructor(\n @Inject(TuiResizeService)\n readonly tuiResize: Observable<readonly ResizeObserverEntry[]>,\n ) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiResizeDirective} from './resize.directive';\n\n/**\n * @experimental\n */\n@NgModule({\n declarations: [TuiResizeDirective],\n exports: [TuiResizeDirective],\n})\nexport class TuiResizeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAIA;;IAOI,4BAEa,SAAqD;QAArD,cAAS,GAAT,SAAS,CAA4C;KAC9D;;gBADoB,UAAU,uBAD7B,MAAM,SAAC,gBAAgB;;IAFnB,kBAAkB;QAL9B,SAAS,CAAC;YACP,QAAQ,EAAE,aAAa;YACvB,OAAO,EAAE,CAAC,WAAW,CAAC;YACtB,SAAS,EAAE,CAAC,iBAAiB,EAAE,gBAAgB,CAAC;SACnD,CAAC;QAGO,WAAA,MAAM,CAAC,gBAAgB,CAAC,CAAA;OAFpB,kBAAkB,CAK9B;IAAD,yBAAC;CALD;;ACNA;;;;IAOA;KAA+B;IAAlB,eAAe;QAJ3B,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,kBAAkB,CAAC;YAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;SAChC,CAAC;OACW,eAAe,CAAG;IAAD,sBAAC;CAA/B;;ACXA;;;;;;"}
@@ -13,8 +13,8 @@ var TuiSwipeDirective = /** @class */ (function () {
13
13
  ]; };
14
14
  TuiSwipeDirective = __decorate([
15
15
  Directive({
16
- selector: '[tuiSwipe]',
17
- outputs: ['tuiSwipe'],
16
+ selector: "[tuiSwipe]",
17
+ outputs: ["tuiSwipe"],
18
18
  providers: [TuiSwipeService],
19
19
  }),
20
20
  __param(0, Inject(TuiSwipeService))
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-swipe.js","sources":["ng://@taiga-ui/cdk/directives/swipe/swipe.directive.ts","ng://@taiga-ui/cdk/directives/swipe/swipe.module.ts","ng://@taiga-ui/cdk/directives/swipe/taiga-ui-cdk-directives-swipe.ts"],"sourcesContent":["import {Directive, Inject} from '@angular/core';\nimport {TuiSwipe} from '@taiga-ui/cdk/interfaces';\nimport {TuiSwipeService} from '@taiga-ui/cdk/services';\nimport {Observable} from 'rxjs';\n\n// @dynamic\n@Directive({\n selector: '[tuiSwipe]',\n outputs: ['tuiSwipe'],\n providers: [TuiSwipeService],\n})\nexport class TuiSwipeDirective {\n constructor(@Inject(TuiSwipeService) readonly tuiSwipe: Observable<TuiSwipe>) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiSwipeDirective} from './swipe.directive';\n\n/**\n * @experimental\n */\n@NgModule({\n declarations: [TuiSwipeDirective],\n exports: [TuiSwipeDirective],\n})\nexport class TuiSwipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAKA;;IAOI,2BAA8C,QAA8B;QAA9B,aAAQ,GAAR,QAAQ,CAAsB;KAAI;;gBAAxB,UAAU,uBAArD,MAAM,SAAC,eAAe;;IAD1B,iBAAiB;QAL7B,SAAS,CAAC;YACP,QAAQ,EAAE,YAAY;YACtB,OAAO,EAAE,CAAC,UAAU,CAAC;YACrB,SAAS,EAAE,CAAC,eAAe,CAAC;SAC/B,CAAC;QAEe,WAAA,MAAM,CAAC,eAAe,CAAC,CAAA;OAD3B,iBAAiB,CAE7B;IAAD,wBAAC;CAFD;;ACPA;;;;IAOA;KAA8B;IAAjB,cAAc;QAJ1B,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,iBAAiB,CAAC;YACjC,OAAO,EAAE,CAAC,iBAAiB,CAAC;SAC/B,CAAC;OACW,cAAc,CAAG;IAAD,qBAAC;CAA9B;;ACXA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-swipe.js","sources":["ng://@taiga-ui/cdk/directives/swipe/swipe.directive.ts","ng://@taiga-ui/cdk/directives/swipe/swipe.module.ts","ng://@taiga-ui/cdk/directives/swipe/taiga-ui-cdk-directives-swipe.ts"],"sourcesContent":["import {Directive, Inject} from '@angular/core';\nimport {TuiSwipe} from '@taiga-ui/cdk/interfaces';\nimport {TuiSwipeService} from '@taiga-ui/cdk/services';\nimport {Observable} from 'rxjs';\n\n// @dynamic\n@Directive({\n selector: `[tuiSwipe]`,\n outputs: [`tuiSwipe`],\n providers: [TuiSwipeService],\n})\nexport class TuiSwipeDirective {\n constructor(@Inject(TuiSwipeService) readonly tuiSwipe: Observable<TuiSwipe>) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiSwipeDirective} from './swipe.directive';\n\n/**\n * @experimental\n */\n@NgModule({\n declarations: [TuiSwipeDirective],\n exports: [TuiSwipeDirective],\n})\nexport class TuiSwipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAKA;;IAOI,2BAA8C,QAA8B;QAA9B,aAAQ,GAAR,QAAQ,CAAsB;KAAI;;gBAAxB,UAAU,uBAArD,MAAM,SAAC,eAAe;;IAD1B,iBAAiB;QAL7B,SAAS,CAAC;YACP,QAAQ,EAAE,YAAY;YACtB,OAAO,EAAE,CAAC,UAAU,CAAC;YACrB,SAAS,EAAE,CAAC,eAAe,CAAC;SAC/B,CAAC;QAEe,WAAA,MAAM,CAAC,eAAe,CAAC,CAAA;OAD3B,iBAAiB,CAE7B;IAAD,wBAAC;CAFD;;ACPA;;;;IAOA;KAA8B;IAAjB,cAAc;QAJ1B,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,iBAAiB,CAAC;YACjC,OAAO,EAAE,CAAC,iBAAiB,CAAC;SAC/B,CAAC;OACW,cAAc,CAAG;IAAD,qBAAC;CAA9B;;ACXA;;;;;;"}
@@ -30,7 +30,7 @@ var TuiValidatorDirective = /** @class */ (function () {
30
30
  ], TuiValidatorDirective.prototype, "tuiValidator", void 0);
31
31
  TuiValidatorDirective = TuiValidatorDirective_1 = __decorate([
32
32
  Directive({
33
- selector: '[tuiValidator]',
33
+ selector: "[tuiValidator]",
34
34
  providers: [
35
35
  {
36
36
  provide: NG_VALIDATORS,
@@ -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;QACY,aAAQ,GAAG,cAAc,CAAC;QAIlC,iBAAY,GAAgB,UAAU,CAAC,aAAa,CAAC;KAkBxD;8BAvBY,qBAAqB;IAO9B,wCAAQ,GAAR,UAAS,OAAwB;QAC7B,OAAO,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;KACrC;IAED,yDAAyB,GAAzB,UAA0B,QAAkC;QACxD,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;KAC5B;IAED,2CAAW,GAAX;QACI,IAAI,CAAC,QAAQ,EAAE,CAAC;KACnB;IAED,2CAAW,GAAX;QACI,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC,aAAa,CAAC;QAC7C,IAAI,CAAC,QAAQ,EAAE,CAAC;KACnB;;IAjBD;QAFC,KAAK,EAAE;QACP,cAAc,EAAE;+DACoC;IAL5C,qBAAqB;QAVjC,SAAS,CAAC;YACP,QAAQ,EAAE,gBAAgB;YAC1B,SAAS,EAAE;gBACP;oBACI,OAAO,EAAE,aAAa;oBACtB,WAAW,EAAE,UAAU,CAAC,cAAM,OAAA,uBAAqB,GAAA,CAAC;oBACpD,KAAK,EAAE,IAAI;iBACd;aACJ;SACJ,CAAC;OACW,qBAAqB,CAuBjC;IAAD,4BAAC;CAvBD;;;ICdA;KAAkC;IAArB,kBAAkB;QAJ9B,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,qBAAqB,CAAC;YACrC,OAAO,EAAE,CAAC,qBAAqB,CAAC;SACnC,CAAC;OACW,kBAAkB,CAAG;IAAD,yBAAC;CAAlC;;ACRA;;;;;;"}
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;QACY,aAAQ,GAAG,cAAc,CAAC;QAIlC,iBAAY,GAAgB,UAAU,CAAC,aAAa,CAAC;KAkBxD;8BAvBY,qBAAqB;IAO9B,wCAAQ,GAAR,UAAS,OAAwB;QAC7B,OAAO,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;KACrC;IAED,yDAAyB,GAAzB,UAA0B,QAAkC;QACxD,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;KAC5B;IAED,2CAAW,GAAX;QACI,IAAI,CAAC,QAAQ,EAAE,CAAC;KACnB;IAED,2CAAW,GAAX;QACI,IAAI,CAAC,YAAY,GAAG,UAAU,CAAC,aAAa,CAAC;QAC7C,IAAI,CAAC,QAAQ,EAAE,CAAC;KACnB;;IAjBD;QAFC,KAAK,EAAE;QACP,cAAc,EAAE;+DACoC;IAL5C,qBAAqB;QAVjC,SAAS,CAAC;YACP,QAAQ,EAAE,gBAAgB;YAC1B,SAAS,EAAE;gBACP;oBACI,OAAO,EAAE,aAAa;oBACtB,WAAW,EAAE,UAAU,CAAC,cAAM,OAAA,uBAAqB,GAAA,CAAC;oBACpD,KAAK,EAAE,IAAI;iBACd;aACJ;SACJ,CAAC;OACW,qBAAqB,CAuBjC;IAAD,4BAAC;CAvBD;;;ICdA;KAAkC;IAArB,kBAAkB;QAJ9B,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,qBAAqB,CAAC;YACrC,OAAO,EAAE,CAAC,qBAAqB,CAAC;SACnC,CAAC;OACW,kBAAkB,CAAG;IAAD,yBAAC;CAAlC;;ACRA;;;;;;"}
@@ -13,11 +13,11 @@ var TuiZoomDirective = /** @class */ (function () {
13
13
  ]; };
14
14
  TuiZoomDirective = __decorate([
15
15
  Directive({
16
- selector: '[tuiZoom]',
17
- outputs: ['tuiZoom'],
16
+ selector: "[tuiZoom]",
17
+ outputs: ["tuiZoom"],
18
18
  providers: [TuiZoomService],
19
19
  host: {
20
- '[style.touch-action]': '"none"',
20
+ '[style.touch-action]': "\"none\"",
21
21
  },
22
22
  }),
23
23
  __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;;IAUI,0BAA6C,OAA4B;QAA5B,YAAO,GAAP,OAAO,CAAqB;KAAI;;gBAAvB,UAAU,uBAAnD,MAAM,SAAC,cAAc;;IADzB,gBAAgB;QAR5B,SAAS,CAAC;YACP,QAAQ,EAAE,WAAW;YACrB,OAAO,EAAE,CAAC,SAAS,CAAC;YACpB,SAAS,EAAE,CAAC,cAAc,CAAC;YAC3B,IAAI,EAAE;gBACF,sBAAsB,EAAE,QAAQ;aACnC;SACJ,CAAC;QAEe,WAAA,MAAM,CAAC,cAAc,CAAC,CAAA;OAD1B,gBAAgB,CAE5B;IAAD,uBAAC;CAFD;;ACVA;;;;IAOA;KAA6B;IAAhB,aAAa;QAJzB,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,gBAAgB,CAAC;YAChC,OAAO,EAAE,CAAC,gBAAgB,CAAC;SAC9B,CAAC;OACW,aAAa,CAAG;IAAD,oBAAC;CAA7B;;ACXA;;;;;;"}
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;;IAUI,0BAA6C,OAA4B;QAA5B,YAAO,GAAP,OAAO,CAAqB;KAAI;;gBAAvB,UAAU,uBAAnD,MAAM,SAAC,cAAc;;IADzB,gBAAgB;QAR5B,SAAS,CAAC;YACP,QAAQ,EAAE,WAAW;YACrB,OAAO,EAAE,CAAC,SAAS,CAAC;YACpB,SAAS,EAAE,CAAC,cAAc,CAAC;YAC3B,IAAI,EAAE;gBACF,sBAAsB,EAAE,UAAQ;aACnC;SACJ,CAAC;QAEe,WAAA,MAAM,CAAC,cAAc,CAAC,CAAA;OAD1B,gBAAgB,CAE5B;IAAD,uBAAC;CAFD;;ACVA;;;;IAOA;KAA6B;IAAhB,aAAa;QAJzB,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,gBAAgB,CAAC;YAChC,OAAO,EAAE,CAAC,gBAAgB,CAAC;SAC9B,CAAC;OACW,aAAa,CAAG;IAAD,oBAAC;CAA7B;;ACXA;;;;;;"}
@@ -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;I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,mCAAmB,CAAA;IACnB,2BAAW,CAAA;IACX,+BAAe,CAAA;IACf,2BAAW,CAAA;IACX,iCAAiB,CAAA;AACrB,CAAC,EATiB,YAAY,KAAZ,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,KAA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YAAY,KAAZ,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;;;;;;"}
@@ -3,7 +3,7 @@ import { __extends } from 'tslib';
3
3
  var TuiComputedDocumentException = /** @class */ (function (_super) {
4
4
  __extends(TuiComputedDocumentException, _super);
5
5
  function TuiComputedDocumentException() {
6
- return _super.call(this, 'Only use computedDocument after load event') || this;
6
+ return _super.call(this, "Only use computedDocument after load event") || this;
7
7
  }
8
8
  return TuiComputedDocumentException;
9
9
  }(Error));
@@ -11,7 +11,7 @@ var TuiComputedDocumentException = /** @class */ (function (_super) {
11
11
  var TuiDocumentSelectionException = /** @class */ (function (_super) {
12
12
  __extends(TuiDocumentSelectionException, _super);
13
13
  function TuiDocumentSelectionException() {
14
- return _super.call(this, 'Failed to get document selection') || this;
14
+ return _super.call(this, "Failed to get document selection") || this;
15
15
  }
16
16
  return TuiDocumentSelectionException;
17
17
  }(Error));
@@ -79,7 +79,7 @@ var TuiInvalidYearException = /** @class */ (function (_super) {
79
79
  var TuiNoHostException = /** @class */ (function (_super) {
80
80
  __extends(TuiNoHostException, _super);
81
81
  function TuiNoHostException() {
82
- return _super.call(this, 'Portals cannot be used without TuiPortalHostComponent') || this;
82
+ return _super.call(this, "Portals cannot be used without TuiPortalHostComponent") || this;
83
83
  }
84
84
  return TuiNoHostException;
85
85
  }(Error));
@@ -87,7 +87,7 @@ var TuiNoHostException = /** @class */ (function (_super) {
87
87
  var TuiOwnerDocumentException = /** @class */ (function (_super) {
88
88
  __extends(TuiOwnerDocumentException, _super);
89
89
  function TuiOwnerDocumentException() {
90
- return _super.call(this, 'Element does not have ownerDocument') || this;
90
+ return _super.call(this, "Element does not have ownerDocument") || this;
91
91
  }
92
92
  return TuiOwnerDocumentException;
93
93
  }(Error));
@@ -95,7 +95,7 @@ var TuiOwnerDocumentException = /** @class */ (function (_super) {
95
95
  var TuiPureException = /** @class */ (function (_super) {
96
96
  __extends(TuiPureException, _super);
97
97
  function TuiPureException() {
98
- return _super.call(this, 'tuiPure can only be used with functions or getters') || this;
98
+ return _super.call(this, "tuiPure can only be used with functions or getters") || this;
99
99
  }
100
100
  return TuiPureException;
101
101
  }(Error));
@@ -103,7 +103,7 @@ var TuiPureException = /** @class */ (function (_super) {
103
103
  var TuiTableSortKeyException = /** @class */ (function (_super) {
104
104
  __extends(TuiTableSortKeyException, _super);
105
105
  function TuiTableSortKeyException() {
106
- return _super.call(this, 'Trying to sort with no key') || this;
106
+ return _super.call(this, "Trying to sort with no key") || this;
107
107
  }
108
108
  return TuiTableSortKeyException;
109
109
  }(Error));
@@ -111,7 +111,7 @@ var TuiTableSortKeyException = /** @class */ (function (_super) {
111
111
  var TuiTsParserException = /** @class */ (function (_super) {
112
112
  __extends(TuiTsParserException, _super);
113
113
  function TuiTsParserException() {
114
- return _super.call(this, 'TsFileParser: 1 component/module per ts-file') || this;
114
+ return _super.call(this, "TsFileParser: 1 component/module per ts-file") || this;
115
115
  }
116
116
  return TuiTsParserException;
117
117
  }(Error));
@@ -119,7 +119,7 @@ var TuiTsParserException = /** @class */ (function (_super) {
119
119
  var TuiValueChangesException = /** @class */ (function (_super) {
120
120
  __extends(TuiValueChangesException, _super);
121
121
  function TuiValueChangesException() {
122
- return _super.call(this, 'Control does not have valueChanges') || this;
122
+ return _super.call(this, "Control does not have valueChanges") || this;
123
123
  }
124
124
  return TuiValueChangesException;
125
125
  }(Error));
@@ -127,7 +127,7 @@ var TuiValueChangesException = /** @class */ (function (_super) {
127
127
  var TuiValuePresentException = /** @class */ (function (_super) {
128
128
  __extends(TuiValuePresentException, _super);
129
129
  function TuiValuePresentException() {
130
- return _super.call(this, 'Value must present') || this;
130
+ return _super.call(this, "Value must present") || this;
131
131
  }
132
132
  return TuiValuePresentException;
133
133
  }(Error));
@@ -135,7 +135,7 @@ var TuiValuePresentException = /** @class */ (function (_super) {
135
135
  var TuiXmlParsingException = /** @class */ (function (_super) {
136
136
  __extends(TuiXmlParsingException, _super);
137
137
  function TuiXmlParsingException() {
138
- return _super.call(this, 'Error parsing XML string') || this;
138
+ return _super.call(this, "Error parsing XML string") || this;
139
139
  }
140
140
  return TuiXmlParsingException;
141
141
  }(Error));
@@ -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 './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AC3C;eACI,kBAAM,8CAA8C,CAAC;KACxD;IACL,2BAAC;AAAD,CAJA,CAA0C,KAAK;;;ICAD,4CAAK;IAC/C;eACI,kBAAM,oCAAoC,CAAC;KAC9C;IACL,+BAAC;AAAD,CAJA,CAA8C,KAAK;;;ICAL,4CAAK;IAC/C;eACI,kBAAM,oBAAoB,CAAC;KAC9B;IACL,+BAAC;AAAD,CAJA,CAA8C,KAAK;;;ICAP,0CAAK;IAC7C;eACI,kBAAM,0BAA0B,CAAC;KACpC;IACL,6BAAC;AAAD,CAJA,CAA4C,KAAK;;ACAjD;;;;;;"}
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":";;;IAAkD,gDAAK;IACnD;eACI,kBAAM,4CAA4C,CAAC;KACtD;IACL,mCAAC;AAAD,CAJA,CAAkD,KAAK;;;ICAJ,iDAAK;IACpD;eACI,kBAAM,kCAAkC,CAAC;KAC5C;IACL,oCAAC;AAAD,CAJA,CAAmD,KAAK;;ACAxD;;;;AAIA;;IACyC,uCAAK;IAC1C,6BAAY,GAAW;eACnB,kBAAM,kBAAgB,GAAK,CAAC;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AAM,0BAA0B,CAAC;KACpC;IACL,6BAAC;AAAD,CAJA,CAA4C,KAAK;;ACAjD;;;;;;"}
@@ -21,7 +21,7 @@ var tuiTypedFromEvent = typedFromEvent;
21
21
  */
22
22
  // eslint-disable-next-line @typescript-eslint/naming-convention
23
23
  function mouseDragFinishFrom(target) {
24
- return merge(typedFromEvent(target, 'mouseup'), typedFromEvent(target, 'dragend'));
24
+ return merge(typedFromEvent(target, "mouseup"), typedFromEvent(target, "dragend"));
25
25
  }
26
26
  var tuiMouseDragFinishFrom = mouseDragFinishFrom;
27
27
 
@@ -47,7 +47,7 @@ function dragAndDropFrom(element) {
47
47
  if (!ownerDocument) {
48
48
  throw new TuiOwnerDocumentException();
49
49
  }
50
- return concat(typedFromEvent(element, 'mousedown').pipe(take(1), map(function (event) { return new TuiDragState(0 /* Start */, event); })), merge(typedFromEvent(ownerDocument, 'mousemove').pipe(map(function (event) { return new TuiDragState(1 /* Continues */, event); })), mouseDragFinishFrom(ownerDocument).pipe(take(1), map(function (event) { return new TuiDragState(2 /* End */, event); }), endWith(null))).pipe(takeWhile(isPresent))).pipe(repeat());
50
+ return concat(typedFromEvent(element, "mousedown").pipe(take(1), map(function (event) { return new TuiDragState(0 /* Start */, event); })), merge(typedFromEvent(ownerDocument, "mousemove").pipe(map(function (event) { return new TuiDragState(1 /* Continues */, event); })), mouseDragFinishFrom(ownerDocument).pipe(take(1), map(function (event) { return new TuiDragState(2 /* End */, event); }), endWith(null))).pipe(takeWhile(isPresent))).pipe(repeat());
51
51
  }
52
52
  var tuiDragAndDropFrom = dragAndDropFrom;
53
53
 
@@ -66,22 +66,22 @@ var documentMouseDownIsAlive$;
66
66
  */
67
67
  // eslint-disable-next-line @typescript-eslint/naming-convention
68
68
  function focusVisibleObservable(element) {
69
- var elementBlur$ = typedFromEvent(element, 'blur');
69
+ var elementBlur$ = typedFromEvent(element, "blur");
70
70
  var ownerDocument = element.ownerDocument;
71
71
  if (!ownerDocument) {
72
72
  throw new TuiOwnerDocumentException();
73
73
  }
74
74
  if (!documentMouseDownIsAlive$ || !documentMouseUpIsAlive$) {
75
- documentMouseUpIsAlive$ = typedFromEvent(ownerDocument, 'mouseup', {
75
+ documentMouseUpIsAlive$ = typedFromEvent(ownerDocument, "mouseup", {
76
76
  capture: true,
77
77
  }).pipe(tuiIsAlive(), startWith(false), shareReplay({ bufferSize: 1, refCount: true }));
78
- documentMouseDownIsAlive$ = typedFromEvent(ownerDocument, 'mousedown', {
78
+ documentMouseDownIsAlive$ = typedFromEvent(ownerDocument, "mousedown", {
79
79
  capture: true,
80
80
  }).pipe(tuiIsAlive(), startWith(false), shareReplay({ bufferSize: 1, refCount: true }));
81
81
  }
82
82
  return merge(
83
83
  // focus events excluding ones that came right after mouse action
84
- concat(typedFromEvent(element, 'focus').pipe(take(1)),
84
+ concat(typedFromEvent(element, "focus").pipe(take(1)),
85
85
  // filtering out blur events when element remains focused so that we ignore browser tab focus loss
86
86
  elementBlur$.pipe(filter(function () { return !isNativeFocused(element); }), take(1), ignoreElements())).pipe(repeat(), withLatestFrom(documentMouseDownIsAlive$, documentMouseUpIsAlive$, function (_event, elementActual, documentActual) {
87
87
  return elementActual || documentActual;
@@ -123,7 +123,7 @@ function pressedObservable(element, _a) {
123
123
  if (!ownerDocument) {
124
124
  throw new TuiOwnerDocumentException();
125
125
  }
126
- return typedFromEvent(element, 'mousedown').pipe(filter(function (_a) {
126
+ return typedFromEvent(element, "mousedown").pipe(filter(function (_a) {
127
127
  var isTrusted = _a.isTrusted;
128
128
  return isTrusted || !onlyTrusted;
129
129
  }), switchMapTo(mouseDragFinishFrom(ownerDocument).pipe(mapTo(false), take(1), startWith(true))));
@@ -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,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AAC,CAAC;AACP,CAAC;IAEY,QAAQ,GAAG;;SCbR,WAAW,CAAI,MAAc;IACzC,OAAO,UAAA,MAAM;QACT,OAAA,IAAI,UAAU,CAAC,UAAA,UAAU;YACrB,OAAA,MAAM,CAAC,SAAS,CAAC;gBACb,IAAI,EAAE,UAAA,KAAK,IAAI,OAAA,MAAM,CAAC,GAAG,CAAC,cAAM,OAAA,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,GAAA,CAAC,GAAA;gBACvD,KAAK,EAAE,UAAC,KAAc,IAAK,OAAA,MAAM,CAAC,GAAG,CAAC,cAAM,OAAA,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,GAAA,CAAC,GAAA;gBACpE,QAAQ,EAAE,cAAM,OAAA,MAAM,CAAC,GAAG,CAAC,cAAM,OAAA,UAAU,CAAC,QAAQ,EAAE,GAAA,CAAC,GAAA;aAC1D,CAAC;SAAA,CACL;KAAA,CAAC;AACV,CAAC;SAEe,WAAW,CAAI,MAAc;IACzC,OAAO,UAAA,MAAM;QACT,OAAA,IAAI,UAAU,CAAC,UAAA,UAAU;YACrB,OAAA,MAAM,CAAC,iBAAiB,CAAC,cAAM,OAAA,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,GAAA,CAAC;SAAA,CAC/D;KAAA,CAAC;AACV,CAAC;SAEe,gBAAgB,CAAI,MAAc;IAC9C,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,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,OAAqC;IAArC,wBAAA,EAAA,YAAqC;IAErC,OAAO,SAAS,CAAC,MAAM,EAAE,KAAK,EAAE,OAAO,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M;QACT,OAAA,IAAI,UAAU,CAAC,UAAA,UAAU;YACrB,OAAA,MAAM,CAAC,SAAS,CAAC;gBACb,IAAI,EAAE,UAAA,KAAK,IAAI,OAAA,MAAM,CAAC,GAAG,CAAC,cAAM,OAAA,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,GAAA,CAAC,GAAA;gBACvD,KAAK,EAAE,UAAC,KAAc,IAAK,OAAA,MAAM,CAAC,GAAG,CAAC,cAAM,OAAA,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,GAAA,CAAC,GAAA;gBACpE,QAAQ,EAAE,cAAM,OAAA,MAAM,CAAC,GAAG,CAAC,cAAM,OAAA,UAAU,CAAC,QAAQ,EAAE,GAAA,CAAC,GAAA;aAC1D,CAAC;SAAA,CACL;KAAA,CAAC;AACV,CAAC;SAEe,WAAW,CAAI,MAAc;IACzC,OAAO,UAAA,MAAM;QACT,OAAA,IAAI,UAAU,CAAC,UAAA,UAAU;YACrB,OAAA,MAAM,CAAC,iBAAiB,CAAC,cAAM,OAAA,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,GAAA,CAAC;SAAA,CAC/D;KAAA,CAAC;AACV,CAAC;SAEe,gBAAgB,CAAI,MAAc;IAC9C,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC;AAC1D;;ACvBA;;;;;;"}
@@ -19,7 +19,7 @@ var TuiFilterPipe = /** @class */ (function () {
19
19
  return items.filter(function (item) { return matcher.apply(void 0, __spread([item], args)); });
20
20
  };
21
21
  TuiFilterPipe = __decorate([
22
- Pipe({ name: 'tuiFilter' })
22
+ Pipe({ name: "tuiFilter" })
23
23
  ], TuiFilterPipe);
24
24
  return TuiFilterPipe;
25
25
  }());
@@ -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;KAWC;;;;;;;;IAHG,iCAAS,GAAT,UAAa,KAAmB,EAAE,OAAsB;QAAE,cAAc;aAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;YAAd,6BAAc;;QACpE,OAAO,KAAK,CAAC,MAAM,CAAC,UAAA,IAAI,IAAI,OAAA,OAAO,yBAAC,IAAI,GAAK,IAAI,KAAC,CAAC,CAAC;KACvD;IAVQ,aAAa;QADzB,IAAI,CAAC,EAAC,IAAI,EAAE,WAAW,EAAC,CAAC;OACb,aAAa,CAWzB;IAAD,oBAAC;CAXD;;;ICIA;KAAmC;IAAtB,mBAAmB;QAJ/B,QAAQ,CAAC;YACN,OAAO,EAAE,CAAC,aAAa,CAAC;YACxB,YAAY,EAAE,CAAC,aAAa,CAAC;SAChC,CAAC;OACW,mBAAmB,CAAG;IAAD,0BAAC;CAAnC;;ACRA;;;;;;"}
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;KAWC;;;;;;;;IAHG,iCAAS,GAAT,UAAa,KAAmB,EAAE,OAAsB;QAAE,cAAc;aAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;YAAd,6BAAc;;QACpE,OAAO,KAAK,CAAC,MAAM,CAAC,UAAA,IAAI,IAAI,OAAA,OAAO,yBAAC,IAAI,GAAK,IAAI,KAAC,CAAC,CAAC;KACvD;IAVQ,aAAa;QADzB,IAAI,CAAC,EAAC,IAAI,EAAE,WAAW,EAAC,CAAC;OACb,aAAa,CAWzB;IAAD,oBAAC;CAXD;;;ICIA;KAAmC;IAAtB,mBAAmB;QAJ/B,QAAQ,CAAC;YACN,OAAO,EAAE,CAAC,aAAa,CAAC;YACxB,YAAY,EAAE,CAAC,aAAa,CAAC;SAChC,CAAC;OACW,mBAAmB,CAAG;IAAD,0BAAC;CAAnC;;ACRA;;;;;;"}
@@ -19,7 +19,7 @@ var TuiMapperPipe = /** @class */ (function () {
19
19
  return mapper.apply(void 0, __spread([value], args));
20
20
  };
21
21
  TuiMapperPipe = __decorate([
22
- Pipe({ name: 'tuiMapper' })
22
+ Pipe({ name: "tuiMapper" })
23
23
  ], TuiMapperPipe);
24
24
  return TuiMapperPipe;
25
25
  }());