@taiga-ui/cdk 2.54.0 → 3.0.0-rc.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 (1680) hide show
  1. package/abstract/control.d.ts +3 -0
  2. package/abstract/controller.d.ts +4 -7
  3. package/abstract/dialog.directive.d.ts +3 -0
  4. package/abstract/dialog.service.d.ts +3 -0
  5. package/abstract/interactive.d.ts +6 -19
  6. package/abstract/multiple-control.d.ts +3 -0
  7. package/abstract/nullable-control.d.ts +3 -0
  8. package/abstract/package.json +2 -5
  9. package/abstract/portal-host.d.ts +3 -0
  10. package/abstract/portal-service.d.ts +3 -0
  11. package/abstract/taiga-ui-cdk-abstract.d.ts +1 -0
  12. package/abstract/theme-switcher.d.ts +3 -0
  13. package/bundles/taiga-ui-cdk-abstract.umd.js +550 -489
  14. package/bundles/taiga-ui-cdk-abstract.umd.js.map +1 -1
  15. package/bundles/taiga-ui-cdk-classes.umd.js +14 -12
  16. package/bundles/taiga-ui-cdk-classes.umd.js.map +1 -1
  17. package/bundles/taiga-ui-cdk-coercion.umd.js +8 -4
  18. package/bundles/taiga-ui-cdk-coercion.umd.js.map +1 -1
  19. package/bundles/taiga-ui-cdk-components-alert-host.umd.js +68 -284
  20. package/bundles/taiga-ui-cdk-components-alert-host.umd.js.map +1 -1
  21. package/bundles/taiga-ui-cdk-components-dialog-host.umd.js +421 -296
  22. package/bundles/taiga-ui-cdk-components-dialog-host.umd.js.map +1 -1
  23. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js +403 -270
  24. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js.map +1 -1
  25. package/bundles/taiga-ui-cdk-components.umd.js +11 -25
  26. package/bundles/taiga-ui-cdk-components.umd.js.map +1 -1
  27. package/bundles/taiga-ui-cdk-constants.umd.js +34 -29
  28. package/bundles/taiga-ui-cdk-constants.umd.js.map +1 -1
  29. package/bundles/taiga-ui-cdk-date-time.umd.js +393 -461
  30. package/bundles/taiga-ui-cdk-date-time.umd.js.map +1 -1
  31. package/bundles/taiga-ui-cdk-decorators.umd.js +336 -260
  32. package/bundles/taiga-ui-cdk-decorators.umd.js.map +1 -1
  33. package/bundles/taiga-ui-cdk-directives-active-zone.umd.js +407 -294
  34. package/bundles/taiga-ui-cdk-directives-active-zone.umd.js.map +1 -1
  35. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js +463 -345
  36. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js.map +1 -1
  37. package/bundles/taiga-ui-cdk-directives-autofilled.umd.js +102 -316
  38. package/bundles/taiga-ui-cdk-directives-autofilled.umd.js.map +1 -1
  39. package/bundles/taiga-ui-cdk-directives-checked.umd.js +64 -282
  40. package/bundles/taiga-ui-cdk-directives-checked.umd.js.map +1 -1
  41. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js +384 -273
  42. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js.map +1 -1
  43. package/bundles/taiga-ui-cdk-directives-drag.umd.js +63 -280
  44. package/bundles/taiga-ui-cdk-directives-drag.umd.js.map +1 -1
  45. package/bundles/taiga-ui-cdk-directives-droppable.umd.js +61 -278
  46. package/bundles/taiga-ui-cdk-directives-droppable.umd.js.map +1 -1
  47. package/bundles/taiga-ui-cdk-directives-element.umd.js +377 -267
  48. package/bundles/taiga-ui-cdk-directives-element.umd.js.map +1 -1
  49. package/bundles/taiga-ui-cdk-directives-focus-trap.umd.js +66 -281
  50. package/bundles/taiga-ui-cdk-directives-focus-trap.umd.js.map +1 -1
  51. package/bundles/taiga-ui-cdk-directives-focus-visible.umd.js +51 -267
  52. package/bundles/taiga-ui-cdk-directives-focus-visible.umd.js.map +1 -1
  53. package/bundles/taiga-ui-cdk-directives-focusable.umd.js +50 -268
  54. package/bundles/taiga-ui-cdk-directives-focusable.umd.js.map +1 -1
  55. package/bundles/taiga-ui-cdk-directives-focused.umd.js +54 -271
  56. package/bundles/taiga-ui-cdk-directives-focused.umd.js.map +1 -1
  57. package/bundles/taiga-ui-cdk-directives-for-async.umd.js +380 -271
  58. package/bundles/taiga-ui-cdk-directives-for-async.umd.js.map +1 -1
  59. package/bundles/taiga-ui-cdk-directives-for.umd.js +54 -274
  60. package/bundles/taiga-ui-cdk-directives-for.umd.js.map +1 -1
  61. package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js +54 -269
  62. package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js.map +1 -1
  63. package/bundles/taiga-ui-cdk-directives-hovered.umd.js +415 -286
  64. package/bundles/taiga-ui-cdk-directives-hovered.umd.js.map +1 -1
  65. package/bundles/taiga-ui-cdk-directives-input-mode.umd.js +67 -279
  66. package/bundles/taiga-ui-cdk-directives-input-mode.umd.js.map +1 -1
  67. package/bundles/taiga-ui-cdk-directives-item.umd.js +62 -281
  68. package/bundles/taiga-ui-cdk-directives-item.umd.js.map +1 -1
  69. package/bundles/taiga-ui-cdk-directives-let.umd.js +55 -272
  70. package/bundles/taiga-ui-cdk-directives-let.umd.js.map +1 -1
  71. package/bundles/taiga-ui-cdk-directives-media.umd.js +433 -313
  72. package/bundles/taiga-ui-cdk-directives-media.umd.js.map +1 -1
  73. package/bundles/taiga-ui-cdk-directives-obscured.umd.js +397 -284
  74. package/bundles/taiga-ui-cdk-directives-obscured.umd.js.map +1 -1
  75. package/bundles/taiga-ui-cdk-directives-overscroll.umd.js +79 -293
  76. package/bundles/taiga-ui-cdk-directives-overscroll.umd.js.map +1 -1
  77. package/bundles/taiga-ui-cdk-directives-pan.umd.js +51 -267
  78. package/bundles/taiga-ui-cdk-directives-pan.umd.js.map +1 -1
  79. package/bundles/taiga-ui-cdk-directives-portal.umd.js +57 -273
  80. package/bundles/taiga-ui-cdk-directives-portal.umd.js.map +1 -1
  81. package/bundles/taiga-ui-cdk-directives-pressed.umd.js +53 -270
  82. package/bundles/taiga-ui-cdk-directives-pressed.umd.js.map +1 -1
  83. package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js +60 -273
  84. package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js.map +1 -1
  85. package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js +384 -272
  86. package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js.map +1 -1
  87. package/bundles/taiga-ui-cdk-directives-resize.umd.js +51 -267
  88. package/bundles/taiga-ui-cdk-directives-resize.umd.js.map +1 -1
  89. package/bundles/taiga-ui-cdk-directives-swipe.umd.js +51 -267
  90. package/bundles/taiga-ui-cdk-directives-swipe.umd.js.map +1 -1
  91. package/bundles/taiga-ui-cdk-directives-validator.umd.js +388 -274
  92. package/bundles/taiga-ui-cdk-directives-validator.umd.js.map +1 -1
  93. package/bundles/taiga-ui-cdk-directives-zoom.umd.js +54 -270
  94. package/bundles/taiga-ui-cdk-directives-zoom.umd.js.map +1 -1
  95. package/bundles/taiga-ui-cdk-directives.umd.js +71 -125
  96. package/bundles/taiga-ui-cdk-directives.umd.js.map +1 -1
  97. package/bundles/taiga-ui-cdk-enums.umd.js +14 -62
  98. package/bundles/taiga-ui-cdk-enums.umd.js.map +1 -1
  99. package/bundles/taiga-ui-cdk-exceptions.umd.js +351 -308
  100. package/bundles/taiga-ui-cdk-exceptions.umd.js.map +1 -1
  101. package/bundles/taiga-ui-cdk-interfaces.umd.js +2 -2
  102. package/bundles/taiga-ui-cdk-interfaces.umd.js.map +1 -1
  103. package/bundles/taiga-ui-cdk-observables.umd.js +25 -32
  104. package/bundles/taiga-ui-cdk-observables.umd.js.map +1 -1
  105. package/bundles/taiga-ui-cdk-pipes-filter.umd.js +369 -260
  106. package/bundles/taiga-ui-cdk-pipes-filter.umd.js.map +1 -1
  107. package/bundles/taiga-ui-cdk-pipes-mapper.umd.js +369 -260
  108. package/bundles/taiga-ui-cdk-pipes-mapper.umd.js.map +1 -1
  109. package/bundles/taiga-ui-cdk-pipes.umd.js +7 -11
  110. package/bundles/taiga-ui-cdk-pipes.umd.js.map +1 -1
  111. package/bundles/taiga-ui-cdk-services.umd.js +595 -479
  112. package/bundles/taiga-ui-cdk-services.umd.js.map +1 -1
  113. package/bundles/taiga-ui-cdk-tokens.umd.js +378 -301
  114. package/bundles/taiga-ui-cdk-tokens.umd.js.map +1 -1
  115. package/bundles/taiga-ui-cdk-types.umd.js +2 -2
  116. package/bundles/taiga-ui-cdk-types.umd.js.map +1 -1
  117. package/bundles/taiga-ui-cdk-utils-browser.umd.js +14 -22
  118. package/bundles/taiga-ui-cdk-utils-browser.umd.js.map +1 -1
  119. package/bundles/taiga-ui-cdk-utils-dom.umd.js +23 -52
  120. package/bundles/taiga-ui-cdk-utils-dom.umd.js.map +1 -1
  121. package/bundles/taiga-ui-cdk-utils-focus.umd.js +64 -86
  122. package/bundles/taiga-ui-cdk-utils-focus.umd.js.map +1 -1
  123. package/bundles/taiga-ui-cdk-utils-format.umd.js +8 -26
  124. package/bundles/taiga-ui-cdk-utils-format.umd.js.map +1 -1
  125. package/bundles/taiga-ui-cdk-utils-math.umd.js +13 -24
  126. package/bundles/taiga-ui-cdk-utils-math.umd.js.map +1 -1
  127. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js +26 -33
  128. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js.map +1 -1
  129. package/bundles/taiga-ui-cdk-utils-os.umd.js +8 -4
  130. package/bundles/taiga-ui-cdk-utils-os.umd.js.map +1 -1
  131. package/bundles/taiga-ui-cdk-utils-svg.umd.js +334 -254
  132. package/bundles/taiga-ui-cdk-utils-svg.umd.js.map +1 -1
  133. package/bundles/taiga-ui-cdk-utils.umd.js +19 -35
  134. package/bundles/taiga-ui-cdk-utils.umd.js.map +1 -1
  135. package/bundles/taiga-ui-cdk.umd.js +47 -65
  136. package/bundles/taiga-ui-cdk.umd.js.map +1 -1
  137. package/classes/assert.d.ts +1 -1
  138. package/classes/package.json +2 -5
  139. package/classes/taiga-ui-cdk-classes.d.ts +1 -0
  140. package/coercion/package.json +2 -5
  141. package/coercion/taiga-ui-cdk-coercion.d.ts +1 -0
  142. package/components/alert-host/alert-host.component.d.ts +3 -0
  143. package/components/alert-host/alert-host.module.d.ts +7 -0
  144. package/components/alert-host/package.json +2 -5
  145. package/components/alert-host/taiga-ui-cdk-components-alert-host.d.ts +1 -0
  146. package/components/dialog-host/dialog-host.component.d.ts +3 -6
  147. package/components/dialog-host/dialog-host.module.d.ts +10 -0
  148. package/components/dialog-host/package.json +2 -5
  149. package/components/dialog-host/taiga-ui-cdk-components-dialog-host.d.ts +1 -0
  150. package/components/dropdown-host/dropdown-host.component.d.ts +3 -0
  151. package/components/dropdown-host/dropdown-host.module.d.ts +5 -0
  152. package/components/dropdown-host/dropdown-portal.service.d.ts +9 -0
  153. package/components/dropdown-host/index.d.ts +1 -0
  154. package/components/dropdown-host/package.json +2 -5
  155. package/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.d.ts +1 -0
  156. package/components/index.d.ts +0 -1
  157. package/components/package.json +2 -5
  158. package/components/taiga-ui-cdk-components.d.ts +1 -0
  159. package/constants/empty.d.ts +0 -3
  160. package/constants/package.json +2 -5
  161. package/constants/taiga-ui-cdk-constants.d.ts +1 -0
  162. package/constants/unicode-chars.d.ts +9 -2
  163. package/date-time/date-fillers.d.ts +0 -9
  164. package/date-time/day-range.d.ts +5 -7
  165. package/date-time/day.d.ts +0 -16
  166. package/date-time/month-range.d.ts +0 -4
  167. package/date-time/month.d.ts +0 -17
  168. package/date-time/package.json +2 -5
  169. package/date-time/taiga-ui-cdk-date-time.d.ts +1 -0
  170. package/date-time/year.d.ts +0 -16
  171. package/decorators/package.json +2 -5
  172. package/decorators/taiga-ui-cdk-decorators.d.ts +1 -0
  173. package/directives/active-zone/active-zone.directive.d.ts +3 -0
  174. package/directives/active-zone/active-zone.module.d.ts +5 -0
  175. package/directives/active-zone/package.json +2 -5
  176. package/directives/active-zone/taiga-ui-cdk-directives-active-zone.d.ts +1 -0
  177. package/directives/auto-focus/autofocus.directive.d.ts +3 -0
  178. package/directives/auto-focus/autofocus.module.d.ts +5 -0
  179. package/directives/auto-focus/autofocus.options.d.ts +3 -2
  180. package/directives/auto-focus/handlers/abstract.handler.d.ts +3 -0
  181. package/directives/auto-focus/handlers/default.handler.d.ts +3 -0
  182. package/directives/auto-focus/handlers/ios.handler.d.ts +3 -0
  183. package/directives/auto-focus/package.json +2 -5
  184. package/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.d.ts +1 -0
  185. package/directives/autofilled/autofilled-style.component.d.ts +3 -0
  186. package/directives/autofilled/autofilled.directive.d.ts +3 -0
  187. package/directives/autofilled/autofilled.module.d.ts +6 -0
  188. package/directives/autofilled/package.json +2 -5
  189. package/directives/autofilled/taiga-ui-cdk-directives-autofilled.d.ts +1 -0
  190. package/directives/checked/checked.directive.d.ts +3 -0
  191. package/directives/checked/checked.module.d.ts +5 -0
  192. package/directives/checked/package.json +2 -5
  193. package/directives/checked/taiga-ui-cdk-directives-checked.d.ts +1 -0
  194. package/directives/copy-processor/copy-processor.directive.d.ts +3 -0
  195. package/directives/copy-processor/copy-processor.module.d.ts +5 -0
  196. package/directives/copy-processor/package.json +2 -5
  197. package/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.d.ts +1 -0
  198. package/directives/drag/drag.directive.d.ts +3 -0
  199. package/directives/drag/drag.module.d.ts +5 -0
  200. package/directives/drag/package.json +2 -5
  201. package/directives/drag/taiga-ui-cdk-directives-drag.d.ts +1 -0
  202. package/directives/droppable/droppable.directive.d.ts +3 -0
  203. package/directives/droppable/droppable.module.d.ts +5 -0
  204. package/directives/droppable/package.json +2 -5
  205. package/directives/droppable/taiga-ui-cdk-directives-droppable.d.ts +1 -0
  206. package/directives/element/element.directive.d.ts +3 -0
  207. package/directives/element/element.module.d.ts +5 -0
  208. package/directives/element/package.json +2 -5
  209. package/directives/element/taiga-ui-cdk-directives-element.d.ts +1 -0
  210. package/directives/focus-trap/focus-trap.directive.d.ts +3 -0
  211. package/directives/focus-trap/focus-trap.module.d.ts +5 -0
  212. package/directives/focus-trap/package.json +2 -5
  213. package/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.d.ts +1 -0
  214. package/directives/focus-visible/focus-visible.directive.d.ts +3 -0
  215. package/directives/focus-visible/focus-visible.module.d.ts +5 -0
  216. package/directives/focus-visible/package.json +2 -5
  217. package/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.d.ts +1 -0
  218. package/directives/focusable/focusable.directive.d.ts +3 -0
  219. package/directives/focusable/focusable.module.d.ts +5 -0
  220. package/directives/focusable/package.json +2 -5
  221. package/directives/focusable/taiga-ui-cdk-directives-focusable.d.ts +1 -0
  222. package/directives/focused/focused.directive.d.ts +3 -0
  223. package/directives/focused/focused.module.d.ts +5 -0
  224. package/directives/focused/package.json +2 -5
  225. package/directives/focused/taiga-ui-cdk-directives-focused.d.ts +1 -0
  226. package/directives/for/for.directive.d.ts +3 -0
  227. package/directives/for/for.module.d.ts +5 -0
  228. package/directives/for/package.json +2 -5
  229. package/directives/for/taiga-ui-cdk-directives-for.d.ts +1 -0
  230. package/directives/for-async/for-async.directive.d.ts +3 -0
  231. package/directives/for-async/for-async.module.d.ts +5 -0
  232. package/directives/for-async/package.json +2 -5
  233. package/directives/for-async/taiga-ui-cdk-directives-for-async.d.ts +1 -0
  234. package/directives/high-dpi/high-dpi.directive.d.ts +3 -0
  235. package/directives/high-dpi/high-dpi.module.d.ts +5 -0
  236. package/directives/high-dpi/package.json +2 -5
  237. package/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.d.ts +1 -0
  238. package/directives/hovered/hovered.directive.d.ts +6 -5
  239. package/directives/hovered/hovered.module.d.ts +5 -0
  240. package/directives/hovered/hovered.service.d.ts +11 -0
  241. package/directives/hovered/index.d.ts +1 -0
  242. package/directives/hovered/package.json +2 -5
  243. package/directives/hovered/taiga-ui-cdk-directives-hovered.d.ts +1 -0
  244. package/directives/index.d.ts +1 -0
  245. package/directives/input-mode/input-mode.directive.d.ts +5 -2
  246. package/directives/input-mode/input-mode.module.d.ts +5 -0
  247. package/directives/input-mode/package.json +2 -5
  248. package/directives/input-mode/taiga-ui-cdk-directives-input-mode.d.ts +1 -0
  249. package/directives/item/item.directive.d.ts +4 -2
  250. package/directives/item/item.module.d.ts +5 -0
  251. package/directives/item/package.json +2 -5
  252. package/directives/item/taiga-ui-cdk-directives-item.d.ts +1 -0
  253. package/directives/let/let.directive.d.ts +3 -0
  254. package/directives/let/let.module.d.ts +5 -0
  255. package/directives/let/package.json +2 -5
  256. package/directives/let/taiga-ui-cdk-directives-let.d.ts +1 -0
  257. package/directives/media/media.directive.d.ts +3 -0
  258. package/directives/media/media.module.d.ts +5 -0
  259. package/directives/media/package.json +2 -5
  260. package/directives/media/taiga-ui-cdk-directives-media.d.ts +1 -0
  261. package/directives/obscured/obscured.directive.d.ts +3 -0
  262. package/directives/obscured/obscured.module.d.ts +5 -0
  263. package/directives/obscured/package.json +2 -5
  264. package/directives/obscured/taiga-ui-cdk-directives-obscured.d.ts +1 -0
  265. package/directives/overscroll/overscroll.directive.d.ts +5 -2
  266. package/directives/overscroll/overscroll.module.d.ts +5 -0
  267. package/directives/overscroll/package.json +2 -5
  268. package/directives/overscroll/taiga-ui-cdk-directives-overscroll.d.ts +1 -0
  269. package/directives/package.json +2 -5
  270. package/directives/pan/package.json +2 -5
  271. package/directives/pan/pan.directive.d.ts +3 -0
  272. package/directives/pan/pan.module.d.ts +5 -0
  273. package/directives/pan/taiga-ui-cdk-directives-pan.d.ts +1 -0
  274. package/directives/portal/package.json +2 -5
  275. package/directives/portal/portal.directive.d.ts +5 -2
  276. package/directives/portal/portal.module.d.ts +5 -0
  277. package/directives/portal/taiga-ui-cdk-directives-portal.d.ts +1 -0
  278. package/directives/pressed/package.json +2 -5
  279. package/directives/pressed/pressed.directive.d.ts +3 -0
  280. package/directives/pressed/pressed.module.d.ts +5 -0
  281. package/directives/pressed/taiga-ui-cdk-directives-pressed.d.ts +1 -0
  282. package/directives/prevent-default/package.json +2 -5
  283. package/directives/prevent-default/prevent-default.directive.d.ts +3 -0
  284. package/directives/prevent-default/prevent-default.module.d.ts +5 -0
  285. package/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.d.ts +1 -0
  286. package/directives/repeat-times/package.json +2 -5
  287. package/directives/repeat-times/repeat-times.directive.d.ts +3 -0
  288. package/directives/repeat-times/repeat-times.module.d.ts +5 -0
  289. package/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.d.ts +1 -0
  290. package/directives/resize/package.json +2 -5
  291. package/directives/resize/resize.directive.d.ts +3 -1
  292. package/directives/resize/resize.module.d.ts +5 -0
  293. package/directives/resize/taiga-ui-cdk-directives-resize.d.ts +1 -0
  294. package/directives/swipe/package.json +2 -5
  295. package/directives/swipe/swipe.directive.d.ts +3 -0
  296. package/directives/swipe/swipe.module.d.ts +5 -0
  297. package/directives/swipe/taiga-ui-cdk-directives-swipe.d.ts +1 -0
  298. package/directives/taiga-ui-cdk-directives.d.ts +1 -0
  299. package/directives/validator/package.json +2 -5
  300. package/directives/validator/taiga-ui-cdk-directives-validator.d.ts +1 -0
  301. package/directives/validator/validator.directive.d.ts +3 -0
  302. package/directives/validator/validator.module.d.ts +5 -0
  303. package/directives/zoom/package.json +2 -5
  304. package/directives/zoom/taiga-ui-cdk-directives-zoom.d.ts +1 -0
  305. package/directives/zoom/zoom.directive.d.ts +3 -0
  306. package/directives/zoom/zoom.module.d.ts +5 -0
  307. package/enums/autocomplete.d.ts +0 -10
  308. package/enums/index.d.ts +0 -3
  309. package/enums/package.json +2 -5
  310. package/enums/taiga-ui-cdk-enums.d.ts +1 -0
  311. package/esm2015/abstract/control.js +23 -21
  312. package/esm2015/abstract/controller.js +9 -8
  313. package/esm2015/abstract/dialog.directive.js +19 -16
  314. package/esm2015/abstract/dialog.service.js +13 -12
  315. package/esm2015/abstract/index.js +1 -1
  316. package/esm2015/abstract/interactive.js +43 -85
  317. package/esm2015/abstract/multiple-control.js +9 -8
  318. package/esm2015/abstract/nullable-control.js +9 -8
  319. package/esm2015/abstract/portal-host.js +21 -20
  320. package/esm2015/abstract/portal-service.js +9 -8
  321. package/esm2015/abstract/taiga-ui-cdk-abstract.js +1 -1
  322. package/esm2015/abstract/theme-switcher.js +13 -14
  323. package/esm2015/classes/assert.js +7 -9
  324. package/esm2015/classes/index.js +1 -1
  325. package/esm2015/classes/taiga-ui-cdk-classes.js +1 -1
  326. package/esm2015/classes/validation-error.js +1 -1
  327. package/esm2015/coercion/coerce-boolean-property.js +2 -2
  328. package/esm2015/coercion/index.js +1 -1
  329. package/esm2015/coercion/taiga-ui-cdk-coercion.js +1 -1
  330. package/esm2015/components/alert-host/alert-host.component.js +25 -21
  331. package/esm2015/components/alert-host/alert-host.module.js +15 -12
  332. package/esm2015/components/alert-host/index.js +1 -1
  333. package/esm2015/components/alert-host/taiga-ui-cdk-components-alert-host.js +1 -1
  334. package/esm2015/components/dialog-host/dialog-host.component.js +40 -31
  335. package/esm2015/components/dialog-host/dialog-host.module.js +26 -13
  336. package/esm2015/components/dialog-host/index.js +1 -1
  337. package/esm2015/components/dialog-host/taiga-ui-cdk-components-dialog-host.js +1 -1
  338. package/esm2015/components/dropdown-host/dropdown-host.component.js +24 -18
  339. package/esm2015/components/dropdown-host/dropdown-host.module.js +14 -11
  340. package/esm2015/components/dropdown-host/dropdown-portal.service.js +17 -0
  341. package/esm2015/components/dropdown-host/index.js +2 -1
  342. package/esm2015/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.js +1 -1
  343. package/esm2015/components/index.js +1 -2
  344. package/esm2015/components/taiga-ui-cdk-components.js +1 -1
  345. package/esm2015/constants/always-false-handler.js +1 -1
  346. package/esm2015/constants/always-true-handler.js +1 -1
  347. package/esm2015/constants/browser.js +1 -1
  348. package/esm2015/constants/empty.js +1 -3
  349. package/esm2015/constants/index.js +1 -1
  350. package/esm2015/constants/matcher.js +1 -1
  351. package/esm2015/constants/parent-animation.js +5 -5
  352. package/esm2015/constants/polling-time.js +1 -1
  353. package/esm2015/constants/stringify.js +1 -1
  354. package/esm2015/constants/svg-node-filter.js +2 -2
  355. package/esm2015/constants/taiga-ui-cdk-constants.js +1 -1
  356. package/esm2015/constants/unicode-chars.js +19 -12
  357. package/esm2015/date-time/date-fillers.js +1 -17
  358. package/esm2015/date-time/date-format.js +3 -3
  359. package/esm2015/date-time/date-separator.js +3 -3
  360. package/esm2015/date-time/date-time.js +1 -1
  361. package/esm2015/date-time/day-range.js +6 -16
  362. package/esm2015/date-time/day.js +23 -57
  363. package/esm2015/date-time/days.const.js +1 -1
  364. package/esm2015/date-time/index.js +1 -1
  365. package/esm2015/date-time/month-range.js +1 -7
  366. package/esm2015/date-time/month.js +7 -35
  367. package/esm2015/date-time/taiga-ui-cdk-date-time.js +1 -1
  368. package/esm2015/date-time/time.js +13 -14
  369. package/esm2015/date-time/year.js +6 -34
  370. package/esm2015/decorators/default-prop.js +1 -1
  371. package/esm2015/decorators/index.js +1 -1
  372. package/esm2015/decorators/pure.js +2 -2
  373. package/esm2015/decorators/required-setter.js +1 -1
  374. package/esm2015/decorators/taiga-ui-cdk-decorators.js +1 -1
  375. package/esm2015/directives/active-zone/active-zone.directive.js +37 -30
  376. package/esm2015/directives/active-zone/active-zone.module.js +14 -11
  377. package/esm2015/directives/active-zone/index.js +1 -1
  378. package/esm2015/directives/active-zone/taiga-ui-cdk-directives-active-zone.js +1 -1
  379. package/esm2015/directives/auto-focus/autofocus.directive.js +18 -18
  380. package/esm2015/directives/auto-focus/autofocus.module.js +14 -11
  381. package/esm2015/directives/auto-focus/autofocus.options.js +5 -10
  382. package/esm2015/directives/auto-focus/handlers/abstract.handler.js +11 -14
  383. package/esm2015/directives/auto-focus/handlers/default.handler.js +25 -20
  384. package/esm2015/directives/auto-focus/handlers/ios.handler.js +45 -39
  385. package/esm2015/directives/auto-focus/index.js +1 -1
  386. package/esm2015/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.js +1 -1
  387. package/esm2015/directives/autofilled/autofilled-style.component.js +14 -12
  388. package/esm2015/directives/autofilled/autofilled.directive.js +26 -25
  389. package/esm2015/directives/autofilled/autofilled.module.js +15 -12
  390. package/esm2015/directives/autofilled/index.js +1 -1
  391. package/esm2015/directives/autofilled/taiga-ui-cdk-directives-autofilled.js +1 -1
  392. package/esm2015/directives/checked/checked.directive.js +29 -29
  393. package/esm2015/directives/checked/checked.module.js +14 -11
  394. package/esm2015/directives/checked/index.js +1 -1
  395. package/esm2015/directives/checked/taiga-ui-cdk-directives-checked.js +1 -1
  396. package/esm2015/directives/copy-processor/copy-processor.directive.js +22 -19
  397. package/esm2015/directives/copy-processor/copy-processor.module.js +14 -11
  398. package/esm2015/directives/copy-processor/index.js +1 -1
  399. package/esm2015/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.js +1 -1
  400. package/esm2015/directives/drag/drag.directive.js +24 -23
  401. package/esm2015/directives/drag/drag.module.js +14 -11
  402. package/esm2015/directives/drag/index.js +1 -1
  403. package/esm2015/directives/drag/taiga-ui-cdk-directives-drag.js +1 -1
  404. package/esm2015/directives/droppable/droppable.directive.js +28 -27
  405. package/esm2015/directives/droppable/droppable.module.js +14 -11
  406. package/esm2015/directives/droppable/index.js +1 -1
  407. package/esm2015/directives/droppable/taiga-ui-cdk-directives-droppable.js +1 -1
  408. package/esm2015/directives/element/element.directive.js +16 -15
  409. package/esm2015/directives/element/element.module.js +14 -11
  410. package/esm2015/directives/element/index.js +1 -1
  411. package/esm2015/directives/element/taiga-ui-cdk-directives-element.js +1 -1
  412. package/esm2015/directives/focus-trap/focus-trap.directive.js +35 -32
  413. package/esm2015/directives/focus-trap/focus-trap.module.js +14 -11
  414. package/esm2015/directives/focus-trap/index.js +1 -1
  415. package/esm2015/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.js +1 -1
  416. package/esm2015/directives/focus-visible/focus-visible.directive.js +18 -17
  417. package/esm2015/directives/focus-visible/focus-visible.module.js +14 -11
  418. package/esm2015/directives/focus-visible/index.js +1 -1
  419. package/esm2015/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.js +1 -1
  420. package/esm2015/directives/focusable/focusable.directive.js +18 -16
  421. package/esm2015/directives/focusable/focusable.module.js +14 -11
  422. package/esm2015/directives/focusable/index.js +1 -1
  423. package/esm2015/directives/focusable/taiga-ui-cdk-directives-focusable.js +1 -1
  424. package/esm2015/directives/focused/focused.directive.js +22 -21
  425. package/esm2015/directives/focused/focused.module.js +14 -11
  426. package/esm2015/directives/focused/index.js +1 -1
  427. package/esm2015/directives/focused/taiga-ui-cdk-directives-focused.js +1 -1
  428. package/esm2015/directives/for/for.directive.js +22 -24
  429. package/esm2015/directives/for/for.module.js +14 -11
  430. package/esm2015/directives/for/index.js +1 -1
  431. package/esm2015/directives/for/taiga-ui-cdk-directives-for.js +1 -1
  432. package/esm2015/directives/for-async/for-async.directive.js +21 -21
  433. package/esm2015/directives/for-async/for-async.module.js +14 -11
  434. package/esm2015/directives/for-async/index.js +1 -1
  435. package/esm2015/directives/for-async/taiga-ui-cdk-directives-for-async.js +1 -1
  436. package/esm2015/directives/high-dpi/high-dpi.directive.js +21 -18
  437. package/esm2015/directives/high-dpi/high-dpi.module.js +14 -11
  438. package/esm2015/directives/high-dpi/index.js +1 -1
  439. package/esm2015/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.js +1 -1
  440. package/esm2015/directives/hovered/hovered.directive.js +22 -38
  441. package/esm2015/directives/hovered/hovered.module.js +14 -11
  442. package/esm2015/directives/hovered/hovered.service.js +36 -0
  443. package/esm2015/directives/hovered/index.js +2 -1
  444. package/esm2015/directives/hovered/taiga-ui-cdk-directives-hovered.js +1 -1
  445. package/esm2015/directives/index.js +2 -1
  446. package/esm2015/directives/input-mode/index.js +1 -1
  447. package/esm2015/directives/input-mode/input-mode.directive.js +33 -27
  448. package/esm2015/directives/input-mode/input-mode.module.js +14 -11
  449. package/esm2015/directives/input-mode/taiga-ui-cdk-directives-input-mode.js +1 -1
  450. package/esm2015/directives/item/index.js +1 -1
  451. package/esm2015/directives/item/item.directive.js +13 -12
  452. package/esm2015/directives/item/item.module.js +14 -11
  453. package/esm2015/directives/item/taiga-ui-cdk-directives-item.js +1 -1
  454. package/esm2015/directives/let/index.js +1 -1
  455. package/esm2015/directives/let/let-context.js +1 -1
  456. package/esm2015/directives/let/let.directive.js +20 -19
  457. package/esm2015/directives/let/let.module.js +14 -11
  458. package/esm2015/directives/let/taiga-ui-cdk-directives-let.js +1 -1
  459. package/esm2015/directives/media/index.js +1 -1
  460. package/esm2015/directives/media/media.directive.js +59 -47
  461. package/esm2015/directives/media/media.module.js +14 -11
  462. package/esm2015/directives/media/taiga-ui-cdk-directives-media.js +1 -1
  463. package/esm2015/directives/obscured/index.js +1 -1
  464. package/esm2015/directives/obscured/obscured.directive.js +30 -23
  465. package/esm2015/directives/obscured/obscured.module.js +14 -11
  466. package/esm2015/directives/obscured/taiga-ui-cdk-directives-obscured.js +1 -1
  467. package/esm2015/directives/overscroll/index.js +1 -1
  468. package/esm2015/directives/overscroll/overscroll.directive.js +37 -34
  469. package/esm2015/directives/overscroll/overscroll.module.js +14 -11
  470. package/esm2015/directives/overscroll/taiga-ui-cdk-directives-overscroll.js +1 -1
  471. package/esm2015/directives/pan/index.js +1 -1
  472. package/esm2015/directives/pan/pan.directive.js +18 -17
  473. package/esm2015/directives/pan/pan.module.js +14 -11
  474. package/esm2015/directives/pan/taiga-ui-cdk-directives-pan.js +1 -1
  475. package/esm2015/directives/portal/index.js +1 -1
  476. package/esm2015/directives/portal/portal.directive.js +23 -21
  477. package/esm2015/directives/portal/portal.module.js +14 -11
  478. package/esm2015/directives/portal/taiga-ui-cdk-directives-portal.js +1 -1
  479. package/esm2015/directives/pressed/index.js +1 -1
  480. package/esm2015/directives/pressed/pressed.directive.js +20 -19
  481. package/esm2015/directives/pressed/pressed.module.js +14 -11
  482. package/esm2015/directives/pressed/taiga-ui-cdk-directives-pressed.js +1 -1
  483. package/esm2015/directives/prevent-default/index.js +1 -1
  484. package/esm2015/directives/prevent-default/prevent-default.directive.js +27 -22
  485. package/esm2015/directives/prevent-default/prevent-default.module.js +14 -11
  486. package/esm2015/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.js +1 -1
  487. package/esm2015/directives/repeat-times/index.js +1 -1
  488. package/esm2015/directives/repeat-times/repeat-times.directive.js +21 -17
  489. package/esm2015/directives/repeat-times/repeat-times.module.js +14 -11
  490. package/esm2015/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.js +1 -1
  491. package/esm2015/directives/resize/index.js +1 -1
  492. package/esm2015/directives/resize/resize.directive.js +18 -17
  493. package/esm2015/directives/resize/resize.module.js +14 -11
  494. package/esm2015/directives/resize/taiga-ui-cdk-directives-resize.js +1 -1
  495. package/esm2015/directives/swipe/index.js +1 -1
  496. package/esm2015/directives/swipe/swipe.directive.js +18 -17
  497. package/esm2015/directives/swipe/swipe.module.js +14 -11
  498. package/esm2015/directives/swipe/taiga-ui-cdk-directives-swipe.js +1 -1
  499. package/esm2015/directives/taiga-ui-cdk-directives.js +1 -1
  500. package/esm2015/directives/validator/index.js +1 -1
  501. package/esm2015/directives/validator/taiga-ui-cdk-directives-validator.js +1 -1
  502. package/esm2015/directives/validator/validator.directive.js +27 -18
  503. package/esm2015/directives/validator/validator.module.js +14 -11
  504. package/esm2015/directives/zoom/index.js +1 -1
  505. package/esm2015/directives/zoom/taiga-ui-cdk-directives-zoom.js +1 -1
  506. package/esm2015/directives/zoom/zoom.directive.js +21 -20
  507. package/esm2015/directives/zoom/zoom.module.js +14 -11
  508. package/esm2015/enums/autocomplete.js +1 -11
  509. package/esm2015/enums/day-of-week.js +1 -1
  510. package/esm2015/enums/index.js +1 -4
  511. package/esm2015/enums/month-number.js +1 -1
  512. package/esm2015/enums/taiga-ui-cdk-enums.js +1 -1
  513. package/esm2015/exceptions/computed-document.exception.js +2 -2
  514. package/esm2015/exceptions/document-selection.exception.js +2 -2
  515. package/esm2015/exceptions/index.js +1 -1
  516. package/esm2015/exceptions/invalid-day.exception.js +2 -9
  517. package/esm2015/exceptions/invalid-month.exception.js +2 -9
  518. package/esm2015/exceptions/invalid-year.exception.js +2 -9
  519. package/esm2015/exceptions/no-host.exception.js +2 -2
  520. package/esm2015/exceptions/owner-document.exception.js +2 -2
  521. package/esm2015/exceptions/pure.exception.js +2 -2
  522. package/esm2015/exceptions/table-sort-key.exception.js +2 -2
  523. package/esm2015/exceptions/taiga-ui-cdk-exceptions.js +1 -1
  524. package/esm2015/exceptions/ts-parser.exception.js +2 -2
  525. package/esm2015/exceptions/value-changes.exception.js +2 -2
  526. package/esm2015/exceptions/value-present.exception.js +2 -2
  527. package/esm2015/exceptions/xml-parsing.exception.js +2 -2
  528. package/esm2015/index.js +3 -1
  529. package/esm2015/interfaces/alert-context.js +2 -1
  530. package/esm2015/interfaces/aria-dialog-context.js +2 -1
  531. package/esm2015/interfaces/base-dialog-context.js +2 -1
  532. package/esm2015/interfaces/base-dialog.js +2 -1
  533. package/esm2015/interfaces/context-with-implicit.js +2 -1
  534. package/esm2015/interfaces/control-value-transformer.js +2 -1
  535. package/esm2015/interfaces/day-like.js +2 -1
  536. package/esm2015/interfaces/focusable-element-accessor.js +2 -1
  537. package/esm2015/interfaces/index.js +14 -1
  538. package/esm2015/interfaces/month-like.js +2 -1
  539. package/esm2015/interfaces/swipe.js +2 -1
  540. package/esm2015/interfaces/taiga-ui-cdk-interfaces.js +2 -1
  541. package/esm2015/interfaces/time-like.js +2 -1
  542. package/esm2015/interfaces/year-like.js +2 -1
  543. package/esm2015/interfaces/zoom.js +2 -1
  544. package/esm2015/observables/drag-and-drop-from.js +2 -2
  545. package/esm2015/observables/focus-visible-observable.js +7 -7
  546. package/esm2015/observables/index.js +1 -1
  547. package/esm2015/observables/is-alive.js +1 -1
  548. package/esm2015/observables/items-query-list-observable.js +1 -1
  549. package/esm2015/observables/mouse-drag-finish-from.js +2 -2
  550. package/esm2015/observables/must-be-present.js +1 -1
  551. package/esm2015/observables/pressed-observable.js +2 -2
  552. package/esm2015/observables/prevent-default.js +1 -1
  553. package/esm2015/observables/replay-control-value-changes.js +2 -3
  554. package/esm2015/observables/stop-propagation.js +1 -1
  555. package/esm2015/observables/taiga-ui-cdk-observables.js +1 -1
  556. package/esm2015/observables/typed-from-event.js +1 -1
  557. package/esm2015/observables/watch.js +1 -1
  558. package/esm2015/observables/zone-free.js +1 -1
  559. package/esm2015/pipes/filter/filter.module.js +14 -11
  560. package/esm2015/pipes/filter/filter.pipe.js +10 -8
  561. package/esm2015/pipes/filter/index.js +1 -1
  562. package/esm2015/pipes/filter/taiga-ui-cdk-pipes-filter.js +1 -1
  563. package/esm2015/pipes/index.js +1 -1
  564. package/esm2015/pipes/mapper/index.js +1 -1
  565. package/esm2015/pipes/mapper/mapper.module.js +14 -11
  566. package/esm2015/pipes/mapper/mapper.pipe.js +10 -8
  567. package/esm2015/pipes/mapper/taiga-ui-cdk-pipes-mapper.js +1 -1
  568. package/esm2015/pipes/taiga-ui-cdk-pipes.js +1 -1
  569. package/esm2015/services/destroy.service.js +9 -8
  570. package/esm2015/services/directive-styles.service.js +27 -27
  571. package/esm2015/services/focus-visible.service.js +19 -16
  572. package/esm2015/services/id.service.js +13 -14
  573. package/esm2015/services/index.js +1 -2
  574. package/esm2015/services/obscured.service.js +32 -24
  575. package/esm2015/services/pan.service.js +19 -18
  576. package/esm2015/services/parents-scroll.service.js +16 -15
  577. package/esm2015/services/resize.service.js +28 -23
  578. package/esm2015/services/scroll.service.js +22 -22
  579. package/esm2015/services/static-request.service.js +12 -12
  580. package/esm2015/services/swipe.service.js +19 -17
  581. package/esm2015/services/taiga-ui-cdk-services.js +1 -1
  582. package/esm2015/services/zoom.service.js +17 -16
  583. package/esm2015/taiga-ui-cdk.js +1 -1
  584. package/esm2015/tokens/active-element.js +9 -9
  585. package/esm2015/tokens/alerts.js +2 -2
  586. package/esm2015/tokens/default-renderer.js +2 -2
  587. package/esm2015/tokens/dialogs.js +2 -2
  588. package/esm2015/tokens/focusable-item-accessor.js +2 -2
  589. package/esm2015/tokens/index.js +1 -1
  590. package/esm2015/tokens/is-android.js +2 -2
  591. package/esm2015/tokens/is-apple.js +2 -2
  592. package/esm2015/tokens/is-chromium.js +2 -2
  593. package/esm2015/tokens/is-cypress.js +2 -2
  594. package/esm2015/tokens/is-firefox.js +3 -3
  595. package/esm2015/tokens/is-ios.js +2 -2
  596. package/esm2015/tokens/is-mobile.js +2 -2
  597. package/esm2015/tokens/is-webkit.js +2 -2
  598. package/esm2015/tokens/removed-element.js +3 -4
  599. package/esm2015/tokens/sanitizer.js +2 -2
  600. package/esm2015/tokens/swipe-options.js +2 -2
  601. package/esm2015/tokens/taiga-ui-cdk-tokens.js +1 -1
  602. package/esm2015/tokens/take-only-trusted-events.js +2 -2
  603. package/esm2015/tokens/touch-supported.js +3 -3
  604. package/esm2015/tokens/window-height.js +3 -3
  605. package/esm2015/tokens/zoom-options.js +2 -2
  606. package/esm2015/types/date-mode.js +2 -1
  607. package/esm2015/types/dialog.js +2 -1
  608. package/esm2015/types/event-with.js +2 -1
  609. package/esm2015/types/handler.js +2 -1
  610. package/esm2015/types/index.js +11 -1
  611. package/esm2015/types/input-mode.js +2 -1
  612. package/esm2015/types/input-type.js +2 -1
  613. package/esm2015/types/mapper.js +2 -1
  614. package/esm2015/types/matcher.js +2 -1
  615. package/esm2015/types/overscroll-mode.js +2 -1
  616. package/esm2015/types/taiga-ui-cdk-types.js +2 -1
  617. package/esm2015/types/time-mode.js +2 -1
  618. package/esm2015/utils/browser/index.js +1 -1
  619. package/esm2015/utils/browser/is-edge-older-than.js +3 -8
  620. package/esm2015/utils/browser/is-edge.js +2 -2
  621. package/esm2015/utils/browser/is-firefox.js +2 -2
  622. package/esm2015/utils/browser/is-ie.js +3 -8
  623. package/esm2015/utils/browser/is-safari.js +2 -2
  624. package/esm2015/utils/browser/taiga-ui-cdk-utils-browser.js +1 -1
  625. package/esm2015/utils/dom/can-scroll.js +1 -1
  626. package/esm2015/utils/dom/contains-or-after.js +1 -1
  627. package/esm2015/utils/dom/get-actual-target.js +2 -2
  628. package/esm2015/utils/dom/get-clipboard-data-text.js +4 -4
  629. package/esm2015/utils/dom/get-document-or-shadow-root.js +2 -2
  630. package/esm2015/utils/dom/get-element-obscurers.js +1 -1
  631. package/esm2015/utils/dom/get-element-offset.js +2 -2
  632. package/esm2015/utils/dom/get-scroll-parent.js +1 -1
  633. package/esm2015/utils/dom/get-selected-text.js +1 -1
  634. package/esm2015/utils/dom/index.js +1 -3
  635. package/esm2015/utils/dom/is-current-target.js +1 -1
  636. package/esm2015/utils/dom/is-form-field.js +4 -4
  637. package/esm2015/utils/dom/is-inside-iframe.js +1 -1
  638. package/esm2015/utils/dom/is-node-in.js +4 -5
  639. package/esm2015/utils/dom/point-to-client-rect.js +1 -1
  640. package/esm2015/utils/dom/taiga-ui-cdk-utils-dom.js +1 -1
  641. package/esm2015/utils/focus/blur-native-focused.js +4 -5
  642. package/esm2015/utils/focus/get-closest-keyboard-focusable.js +7 -13
  643. package/esm2015/utils/focus/get-native-focused.js +2 -4
  644. package/esm2015/utils/focus/index.js +1 -1
  645. package/esm2015/utils/focus/is-native-focused-in.js +4 -6
  646. package/esm2015/utils/focus/is-native-focused.js +4 -6
  647. package/esm2015/utils/focus/is-native-keyboard-focusable.js +15 -18
  648. package/esm2015/utils/focus/is-native-mouse-focusable.js +6 -7
  649. package/esm2015/utils/focus/move-focus.js +4 -6
  650. package/esm2015/utils/focus/set-native-focused.js +1 -1
  651. package/esm2015/utils/focus/set-native-mouse-focused.js +5 -5
  652. package/esm2015/utils/focus/taiga-ui-cdk-utils-focus.js +1 -1
  653. package/esm2015/utils/format/index.js +1 -2
  654. package/esm2015/utils/format/px.js +3 -5
  655. package/esm2015/utils/format/taiga-ui-cdk-utils-format.js +1 -1
  656. package/esm2015/utils/index.js +1 -1
  657. package/esm2015/utils/math/clamp.js +1 -1
  658. package/esm2015/utils/math/in-range.js +2 -12
  659. package/esm2015/utils/math/index.js +1 -1
  660. package/esm2015/utils/math/normalize-to-int-number.js +2 -5
  661. package/esm2015/utils/math/quantize.js +1 -1
  662. package/esm2015/utils/math/round.js +5 -5
  663. package/esm2015/utils/math/sum.js +1 -1
  664. package/esm2015/utils/math/taiga-ui-cdk-utils-math.js +1 -1
  665. package/esm2015/utils/math/to-int.js +1 -1
  666. package/esm2015/utils/math/to-radians.js +1 -1
  667. package/esm2015/utils/miscellaneous/distance-between-touches.js +1 -1
  668. package/esm2015/utils/miscellaneous/ease-in-out-quad.js +2 -2
  669. package/esm2015/utils/miscellaneous/flat-length.js +1 -1
  670. package/esm2015/utils/miscellaneous/get-original-array-from-query-list.js +1 -1
  671. package/esm2015/utils/miscellaneous/get-swipe-direction.js +3 -3
  672. package/esm2015/utils/miscellaneous/identity.js +1 -1
  673. package/esm2015/utils/miscellaneous/index.js +2 -2
  674. package/esm2015/utils/miscellaneous/is-element-editable.js +1 -1
  675. package/esm2015/utils/miscellaneous/is-number.js +2 -2
  676. package/esm2015/utils/miscellaneous/is-present.js +1 -1
  677. package/esm2015/utils/miscellaneous/is-string.js +4 -0
  678. package/esm2015/utils/miscellaneous/mark-control-as-touched-and-validate.js +1 -1
  679. package/esm2015/utils/miscellaneous/nullable-same.js +2 -5
  680. package/esm2015/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.js +1 -1
  681. package/esm2015/utils/miscellaneous/uniq-by.js +1 -1
  682. package/esm2015/utils/os/index.js +1 -1
  683. package/esm2015/utils/os/is-apple-platform.js +2 -2
  684. package/esm2015/utils/os/is-apple.js +1 -1
  685. package/esm2015/utils/os/is-ios.js +1 -1
  686. package/esm2015/utils/os/taiga-ui-cdk-utils-os.js +1 -1
  687. package/esm2015/utils/svg/index.js +1 -1
  688. package/esm2015/utils/svg/svg-linear-gradient-processor.js +2 -2
  689. package/esm2015/utils/svg/taiga-ui-cdk-utils-svg.js +1 -1
  690. package/esm2015/utils/taiga-ui-cdk-utils.js +1 -1
  691. package/exceptions/invalid-day.exception.d.ts +1 -7
  692. package/exceptions/invalid-month.exception.d.ts +1 -7
  693. package/exceptions/invalid-year.exception.d.ts +1 -7
  694. package/exceptions/package.json +2 -5
  695. package/exceptions/taiga-ui-cdk-exceptions.d.ts +1 -0
  696. package/fesm2015/taiga-ui-cdk-abstract.js +147 -175
  697. package/fesm2015/taiga-ui-cdk-abstract.js.map +1 -1
  698. package/fesm2015/taiga-ui-cdk-classes.js +7 -9
  699. package/fesm2015/taiga-ui-cdk-classes.js.map +1 -1
  700. package/fesm2015/taiga-ui-cdk-coercion.js +1 -1
  701. package/fesm2015/taiga-ui-cdk-coercion.js.map +1 -1
  702. package/fesm2015/taiga-ui-cdk-components-alert-host.js +38 -29
  703. package/fesm2015/taiga-ui-cdk-components-alert-host.js.map +1 -1
  704. package/fesm2015/taiga-ui-cdk-components-dialog-host.js +65 -41
  705. package/fesm2015/taiga-ui-cdk-components-dialog-host.js.map +1 -1
  706. package/fesm2015/taiga-ui-cdk-components-dropdown-host.js +51 -27
  707. package/fesm2015/taiga-ui-cdk-components-dropdown-host.js.map +1 -1
  708. package/fesm2015/taiga-ui-cdk-components.js +0 -1
  709. package/fesm2015/taiga-ui-cdk-components.js.map +1 -1
  710. package/fesm2015/taiga-ui-cdk-constants.js +24 -19
  711. package/fesm2015/taiga-ui-cdk-constants.js.map +1 -1
  712. package/fesm2015/taiga-ui-cdk-date-time.js +50 -169
  713. package/fesm2015/taiga-ui-cdk-date-time.js.map +1 -1
  714. package/fesm2015/taiga-ui-cdk-decorators.js +1 -1
  715. package/fesm2015/taiga-ui-cdk-decorators.js.map +1 -1
  716. package/fesm2015/taiga-ui-cdk-directives-active-zone.js +48 -36
  717. package/fesm2015/taiga-ui-cdk-directives-active-zone.js.map +1 -1
  718. package/fesm2015/taiga-ui-cdk-directives-auto-focus.js +109 -98
  719. package/fesm2015/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
  720. package/fesm2015/taiga-ui-cdk-directives-autofilled.js +51 -42
  721. package/fesm2015/taiga-ui-cdk-directives-autofilled.js.map +1 -1
  722. package/fesm2015/taiga-ui-cdk-directives-checked.js +41 -36
  723. package/fesm2015/taiga-ui-cdk-directives-checked.js.map +1 -1
  724. package/fesm2015/taiga-ui-cdk-directives-copy-processor.js +34 -26
  725. package/fesm2015/taiga-ui-cdk-directives-copy-processor.js.map +1 -1
  726. package/fesm2015/taiga-ui-cdk-directives-drag.js +36 -30
  727. package/fesm2015/taiga-ui-cdk-directives-drag.js.map +1 -1
  728. package/fesm2015/taiga-ui-cdk-directives-droppable.js +40 -34
  729. package/fesm2015/taiga-ui-cdk-directives-droppable.js.map +1 -1
  730. package/fesm2015/taiga-ui-cdk-directives-element.js +28 -22
  731. package/fesm2015/taiga-ui-cdk-directives-element.js.map +1 -1
  732. package/fesm2015/taiga-ui-cdk-directives-focus-trap.js +46 -38
  733. package/fesm2015/taiga-ui-cdk-directives-focus-trap.js.map +1 -1
  734. package/fesm2015/taiga-ui-cdk-directives-focus-visible.js +30 -24
  735. package/fesm2015/taiga-ui-cdk-directives-focus-visible.js.map +1 -1
  736. package/fesm2015/taiga-ui-cdk-directives-focusable.js +30 -23
  737. package/fesm2015/taiga-ui-cdk-directives-focusable.js.map +1 -1
  738. package/fesm2015/taiga-ui-cdk-directives-focused.js +34 -28
  739. package/fesm2015/taiga-ui-cdk-directives-focused.js.map +1 -1
  740. package/fesm2015/taiga-ui-cdk-directives-for-async.js +32 -27
  741. package/fesm2015/taiga-ui-cdk-directives-for-async.js.map +1 -1
  742. package/fesm2015/taiga-ui-cdk-directives-for.js +33 -30
  743. package/fesm2015/taiga-ui-cdk-directives-for.js.map +1 -1
  744. package/fesm2015/taiga-ui-cdk-directives-high-dpi.js +33 -25
  745. package/fesm2015/taiga-ui-cdk-directives-high-dpi.js.map +1 -1
  746. package/fesm2015/taiga-ui-cdk-directives-hovered.js +63 -41
  747. package/fesm2015/taiga-ui-cdk-directives-hovered.js.map +1 -1
  748. package/fesm2015/taiga-ui-cdk-directives-input-mode.js +45 -34
  749. package/fesm2015/taiga-ui-cdk-directives-input-mode.js.map +1 -1
  750. package/fesm2015/taiga-ui-cdk-directives-item.js +24 -18
  751. package/fesm2015/taiga-ui-cdk-directives-item.js.map +1 -1
  752. package/fesm2015/taiga-ui-cdk-directives-let.js +32 -26
  753. package/fesm2015/taiga-ui-cdk-directives-let.js.map +1 -1
  754. package/fesm2015/taiga-ui-cdk-directives-media.js +71 -54
  755. package/fesm2015/taiga-ui-cdk-directives-media.js.map +1 -1
  756. package/fesm2015/taiga-ui-cdk-directives-obscured.js +42 -30
  757. package/fesm2015/taiga-ui-cdk-directives-obscured.js.map +1 -1
  758. package/fesm2015/taiga-ui-cdk-directives-overscroll.js +49 -41
  759. package/fesm2015/taiga-ui-cdk-directives-overscroll.js.map +1 -1
  760. package/fesm2015/taiga-ui-cdk-directives-pan.js +30 -24
  761. package/fesm2015/taiga-ui-cdk-directives-pan.js.map +1 -1
  762. package/fesm2015/taiga-ui-cdk-directives-portal.js +34 -27
  763. package/fesm2015/taiga-ui-cdk-directives-portal.js.map +1 -1
  764. package/fesm2015/taiga-ui-cdk-directives-pressed.js +32 -26
  765. package/fesm2015/taiga-ui-cdk-directives-pressed.js.map +1 -1
  766. package/fesm2015/taiga-ui-cdk-directives-prevent-default.js +39 -29
  767. package/fesm2015/taiga-ui-cdk-directives-prevent-default.js.map +1 -1
  768. package/fesm2015/taiga-ui-cdk-directives-repeat-times.js +33 -24
  769. package/fesm2015/taiga-ui-cdk-directives-repeat-times.js.map +1 -1
  770. package/fesm2015/taiga-ui-cdk-directives-resize.js +30 -24
  771. package/fesm2015/taiga-ui-cdk-directives-resize.js.map +1 -1
  772. package/fesm2015/taiga-ui-cdk-directives-swipe.js +30 -24
  773. package/fesm2015/taiga-ui-cdk-directives-swipe.js.map +1 -1
  774. package/fesm2015/taiga-ui-cdk-directives-validator.js +39 -25
  775. package/fesm2015/taiga-ui-cdk-directives-validator.js.map +1 -1
  776. package/fesm2015/taiga-ui-cdk-directives-zoom.js +33 -27
  777. package/fesm2015/taiga-ui-cdk-directives-zoom.js.map +1 -1
  778. package/fesm2015/taiga-ui-cdk-directives.js +1 -0
  779. package/fesm2015/taiga-ui-cdk-directives.js.map +1 -1
  780. package/fesm2015/taiga-ui-cdk-enums.js +1 -53
  781. package/fesm2015/taiga-ui-cdk-enums.js.map +1 -1
  782. package/fesm2015/taiga-ui-cdk-exceptions.js +14 -35
  783. package/fesm2015/taiga-ui-cdk-exceptions.js.map +1 -1
  784. package/fesm2015/taiga-ui-cdk-interfaces.js.map +1 -1
  785. package/fesm2015/taiga-ui-cdk-observables.js +11 -12
  786. package/fesm2015/taiga-ui-cdk-observables.js.map +1 -1
  787. package/fesm2015/taiga-ui-cdk-pipes-filter.js +21 -14
  788. package/fesm2015/taiga-ui-cdk-pipes-filter.js.map +1 -1
  789. package/fesm2015/taiga-ui-cdk-pipes-mapper.js +21 -14
  790. package/fesm2015/taiga-ui-cdk-pipes-mapper.js.map +1 -1
  791. package/fesm2015/taiga-ui-cdk-pipes.js.map +1 -1
  792. package/fesm2015/taiga-ui-cdk-services.js +213 -200
  793. package/fesm2015/taiga-ui-cdk-services.js.map +1 -1
  794. package/fesm2015/taiga-ui-cdk-tokens.js +31 -32
  795. package/fesm2015/taiga-ui-cdk-tokens.js.map +1 -1
  796. package/fesm2015/taiga-ui-cdk-types.js.map +1 -1
  797. package/fesm2015/taiga-ui-cdk-utils-browser.js +8 -18
  798. package/fesm2015/taiga-ui-cdk-utils-browser.js.map +1 -1
  799. package/fesm2015/taiga-ui-cdk-utils-dom.js +13 -43
  800. package/fesm2015/taiga-ui-cdk-utils-dom.js.map +1 -1
  801. package/fesm2015/taiga-ui-cdk-utils-focus.js +55 -73
  802. package/fesm2015/taiga-ui-cdk-utils-focus.js.map +1 -1
  803. package/fesm2015/taiga-ui-cdk-utils-format.js +3 -22
  804. package/fesm2015/taiga-ui-cdk-utils-format.js.map +1 -1
  805. package/fesm2015/taiga-ui-cdk-utils-math.js +7 -20
  806. package/fesm2015/taiga-ui-cdk-utils-math.js.map +1 -1
  807. package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js +19 -29
  808. package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js.map +1 -1
  809. package/fesm2015/taiga-ui-cdk-utils-os.js +1 -1
  810. package/fesm2015/taiga-ui-cdk-utils-os.js.map +1 -1
  811. package/fesm2015/taiga-ui-cdk-utils-svg.js +1 -1
  812. package/fesm2015/taiga-ui-cdk-utils-svg.js.map +1 -1
  813. package/fesm2015/taiga-ui-cdk-utils.js.map +1 -1
  814. package/fesm2015/taiga-ui-cdk.js +2 -0
  815. package/fesm2015/taiga-ui-cdk.js.map +1 -1
  816. package/interfaces/package.json +2 -5
  817. package/interfaces/taiga-ui-cdk-interfaces.d.ts +1 -0
  818. package/observables/package.json +2 -5
  819. package/observables/replay-control-value-changes.d.ts +1 -2
  820. package/observables/taiga-ui-cdk-observables.d.ts +1 -0
  821. package/package.json +9 -13
  822. package/pipes/filter/filter.module.d.ts +5 -0
  823. package/pipes/filter/filter.pipe.d.ts +3 -0
  824. package/pipes/filter/package.json +2 -5
  825. package/pipes/filter/taiga-ui-cdk-pipes-filter.d.ts +1 -0
  826. package/pipes/mapper/mapper.module.d.ts +5 -0
  827. package/pipes/mapper/mapper.pipe.d.ts +3 -0
  828. package/pipes/mapper/package.json +2 -5
  829. package/pipes/mapper/taiga-ui-cdk-pipes-mapper.d.ts +1 -0
  830. package/pipes/package.json +2 -5
  831. package/pipes/taiga-ui-cdk-pipes.d.ts +1 -0
  832. package/schematics/constants/taiga-styles.d.ts +3 -0
  833. package/schematics/constants/taiga-styles.js +6 -0
  834. package/schematics/ng-add/constants/modules.js +5 -4
  835. package/schematics/ng-add/constants/packages.js +1 -0
  836. package/schematics/ng-add/constants/versions.js +1 -0
  837. package/schematics/ng-add/index.js +1 -0
  838. package/schematics/ng-add/steps/add-taiga-icons.d.ts +1 -1
  839. package/schematics/ng-add/steps/add-taiga-icons.js +4 -3
  840. package/schematics/ng-add/steps/add-taiga-modules.js +1 -0
  841. package/schematics/ng-add/steps/add-taiga-styles.d.ts +0 -1
  842. package/schematics/ng-add/steps/add-taiga-styles.js +5 -18
  843. package/schematics/ng-add/steps/wrap-with-tui-root.js +1 -0
  844. package/schematics/ng-update/constants/consts.js +31 -0
  845. package/schematics/ng-update/constants/deprecated-functions.js +1 -0
  846. package/schematics/ng-update/constants/enums.js +12 -0
  847. package/schematics/ng-update/constants/modules.js +2 -0
  848. package/schematics/ng-update/constants/services.js +1 -0
  849. package/schematics/ng-update/constants/templates.d.ts +8 -0
  850. package/schematics/ng-update/constants/templates.js +99 -20
  851. package/schematics/ng-update/constants/tui-interactive-selectors.js +1 -0
  852. package/schematics/ng-update/constants/types.js +1 -0
  853. package/schematics/ng-update/constants/warnings.js +11 -0
  854. package/schematics/ng-update/index.d.ts +1 -1
  855. package/schematics/ng-update/index.js +27 -8
  856. package/schematics/ng-update/steps/migrate-date-time.js +1 -0
  857. package/schematics/ng-update/steps/migrate-polymorpheus.d.ts +8 -0
  858. package/schematics/ng-update/steps/migrate-polymorpheus.js +73 -0
  859. package/schematics/ng-update/steps/migrate-progress.js +1 -0
  860. package/schematics/ng-update/steps/migrate-sliders/index.js +1 -0
  861. package/schematics/ng-update/steps/migrate-sliders/migrate-input-range.js +1 -0
  862. package/schematics/ng-update/steps/migrate-sliders/migrate-input-slider.js +1 -0
  863. package/schematics/ng-update/steps/migrate-templates.js +8 -17
  864. package/schematics/ng-update/steps/miscellaneous.js +11 -0
  865. package/schematics/ng-update/steps/remove-module.js +1 -0
  866. package/schematics/ng-update/steps/rename-types.js +1 -0
  867. package/schematics/ng-update/steps/replace-const.js +1 -0
  868. package/schematics/ng-update/steps/replace-deep-import.js +1 -0
  869. package/schematics/ng-update/steps/replace-enums.js +1 -0
  870. package/schematics/ng-update/steps/replace-functions.js +1 -0
  871. package/schematics/ng-update/steps/replace-services.js +1 -0
  872. package/schematics/ng-update/steps/show-warnings.js +7 -3
  873. package/schematics/utils/add-styles.d.ts +3 -0
  874. package/schematics/utils/add-styles.js +17 -0
  875. package/schematics/utils/add-unique-import.js +1 -0
  876. package/schematics/utils/angular/ng-component.js +1 -0
  877. package/schematics/utils/angular/ng-module.js +1 -0
  878. package/schematics/utils/colored-log.js +1 -0
  879. package/schematics/utils/create-angular-json.d.ts +3 -0
  880. package/schematics/utils/create-angular-json.js +29 -0
  881. package/schematics/utils/get-named-import-references.js +7 -3
  882. package/schematics/utils/get-project-target-options.js +1 -0
  883. package/schematics/utils/get-project.js +1 -0
  884. package/schematics/utils/import-manipulations.js +1 -0
  885. package/schematics/utils/insert-todo.js +1 -0
  886. package/schematics/utils/replace-tag.d.ts +3 -0
  887. package/schematics/utils/replace-tag.js +17 -0
  888. package/schematics/utils/templates/elements.d.ts +3 -2
  889. package/schematics/utils/templates/elements.js +13 -7
  890. package/schematics/utils/templates/get-component-templates.js +1 -0
  891. package/schematics/utils/templates/ng-component-input-manipulations.js +1 -0
  892. package/schematics/utils/templates/template-resource.js +1 -0
  893. package/services/destroy.service.d.ts +3 -0
  894. package/services/directive-styles.service.d.ts +3 -0
  895. package/services/focus-visible.service.d.ts +3 -0
  896. package/services/id.service.d.ts +3 -0
  897. package/services/index.d.ts +0 -1
  898. package/services/obscured.service.d.ts +3 -0
  899. package/services/package.json +2 -5
  900. package/services/pan.service.d.ts +3 -0
  901. package/services/parents-scroll.service.d.ts +3 -0
  902. package/services/resize.service.d.ts +4 -2
  903. package/services/scroll.service.d.ts +3 -0
  904. package/services/static-request.service.d.ts +3 -0
  905. package/services/swipe.service.d.ts +3 -0
  906. package/services/taiga-ui-cdk-services.d.ts +1 -0
  907. package/services/zoom.service.d.ts +3 -0
  908. package/taiga-ui-cdk.d.ts +1 -0
  909. package/tokens/package.json +2 -5
  910. package/tokens/taiga-ui-cdk-tokens.d.ts +1 -0
  911. package/types/input-mode.d.ts +1 -1
  912. package/types/input-type.d.ts +1 -1
  913. package/types/overscroll-mode.d.ts +1 -1
  914. package/types/package.json +2 -5
  915. package/types/taiga-ui-cdk-types.d.ts +1 -0
  916. package/utils/browser/is-edge-older-than.d.ts +1 -5
  917. package/utils/browser/is-ie.d.ts +1 -5
  918. package/utils/browser/package.json +2 -5
  919. package/utils/browser/taiga-ui-cdk-utils-browser.d.ts +1 -0
  920. package/utils/dom/index.d.ts +0 -2
  921. package/utils/dom/package.json +2 -5
  922. package/utils/dom/taiga-ui-cdk-utils-dom.d.ts +1 -0
  923. package/utils/focus/get-closest-keyboard-focusable.d.ts +1 -7
  924. package/utils/focus/get-native-focused.d.ts +1 -3
  925. package/utils/focus/is-native-focused-in.d.ts +1 -3
  926. package/utils/focus/is-native-focused.d.ts +1 -3
  927. package/utils/focus/is-native-keyboard-focusable.d.ts +1 -3
  928. package/utils/focus/is-native-mouse-focusable.d.ts +1 -3
  929. package/utils/focus/move-focus.d.ts +1 -3
  930. package/utils/focus/package.json +2 -5
  931. package/utils/focus/taiga-ui-cdk-utils-focus.d.ts +1 -0
  932. package/utils/format/index.d.ts +0 -1
  933. package/utils/format/package.json +2 -5
  934. package/utils/format/px.d.ts +1 -3
  935. package/utils/format/taiga-ui-cdk-utils-format.d.ts +1 -0
  936. package/utils/math/in-range.d.ts +1 -10
  937. package/utils/math/normalize-to-int-number.d.ts +1 -3
  938. package/utils/math/package.json +2 -5
  939. package/utils/math/taiga-ui-cdk-utils-math.d.ts +1 -0
  940. package/utils/miscellaneous/index.d.ts +1 -1
  941. package/utils/miscellaneous/is-string.d.ts +1 -0
  942. package/utils/miscellaneous/nullable-same.d.ts +1 -3
  943. package/utils/miscellaneous/package.json +2 -5
  944. package/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.d.ts +1 -0
  945. package/utils/os/package.json +2 -5
  946. package/utils/os/taiga-ui-cdk-utils-os.d.ts +1 -0
  947. package/utils/package.json +2 -5
  948. package/utils/svg/package.json +2 -5
  949. package/utils/svg/taiga-ui-cdk-utils-svg.d.ts +1 -0
  950. package/utils/taiga-ui-cdk-utils.d.ts +1 -0
  951. package/abstract/taiga-ui-cdk-abstract.metadata.json +0 -1
  952. package/bundles/taiga-ui-cdk-abstract.umd.min.js +0 -2
  953. package/bundles/taiga-ui-cdk-abstract.umd.min.js.map +0 -1
  954. package/bundles/taiga-ui-cdk-classes.umd.min.js +0 -2
  955. package/bundles/taiga-ui-cdk-classes.umd.min.js.map +0 -1
  956. package/bundles/taiga-ui-cdk-coercion.umd.min.js +0 -2
  957. package/bundles/taiga-ui-cdk-coercion.umd.min.js.map +0 -1
  958. package/bundles/taiga-ui-cdk-components-alert-host.umd.min.js +0 -2
  959. package/bundles/taiga-ui-cdk-components-alert-host.umd.min.js.map +0 -1
  960. package/bundles/taiga-ui-cdk-components-dialog-host.umd.min.js +0 -2
  961. package/bundles/taiga-ui-cdk-components-dialog-host.umd.min.js.map +0 -1
  962. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.min.js +0 -2
  963. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.min.js.map +0 -1
  964. package/bundles/taiga-ui-cdk-components-portal-host.umd.js +0 -279
  965. package/bundles/taiga-ui-cdk-components-portal-host.umd.js.map +0 -1
  966. package/bundles/taiga-ui-cdk-components-portal-host.umd.min.js +0 -2
  967. package/bundles/taiga-ui-cdk-components-portal-host.umd.min.js.map +0 -1
  968. package/bundles/taiga-ui-cdk-components.umd.min.js +0 -2
  969. package/bundles/taiga-ui-cdk-components.umd.min.js.map +0 -1
  970. package/bundles/taiga-ui-cdk-constants.umd.min.js +0 -2
  971. package/bundles/taiga-ui-cdk-constants.umd.min.js.map +0 -1
  972. package/bundles/taiga-ui-cdk-date-time.umd.min.js +0 -2
  973. package/bundles/taiga-ui-cdk-date-time.umd.min.js.map +0 -1
  974. package/bundles/taiga-ui-cdk-decorators.umd.min.js +0 -2
  975. package/bundles/taiga-ui-cdk-decorators.umd.min.js.map +0 -1
  976. package/bundles/taiga-ui-cdk-directives-active-zone.umd.min.js +0 -2
  977. package/bundles/taiga-ui-cdk-directives-active-zone.umd.min.js.map +0 -1
  978. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.min.js +0 -2
  979. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.min.js.map +0 -1
  980. package/bundles/taiga-ui-cdk-directives-autofilled.umd.min.js +0 -2
  981. package/bundles/taiga-ui-cdk-directives-autofilled.umd.min.js.map +0 -1
  982. package/bundles/taiga-ui-cdk-directives-checked.umd.min.js +0 -2
  983. package/bundles/taiga-ui-cdk-directives-checked.umd.min.js.map +0 -1
  984. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.min.js +0 -2
  985. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.min.js.map +0 -1
  986. package/bundles/taiga-ui-cdk-directives-drag.umd.min.js +0 -2
  987. package/bundles/taiga-ui-cdk-directives-drag.umd.min.js.map +0 -1
  988. package/bundles/taiga-ui-cdk-directives-droppable.umd.min.js +0 -2
  989. package/bundles/taiga-ui-cdk-directives-droppable.umd.min.js.map +0 -1
  990. package/bundles/taiga-ui-cdk-directives-element.umd.min.js +0 -2
  991. package/bundles/taiga-ui-cdk-directives-element.umd.min.js.map +0 -1
  992. package/bundles/taiga-ui-cdk-directives-focus-trap.umd.min.js +0 -2
  993. package/bundles/taiga-ui-cdk-directives-focus-trap.umd.min.js.map +0 -1
  994. package/bundles/taiga-ui-cdk-directives-focus-visible.umd.min.js +0 -2
  995. package/bundles/taiga-ui-cdk-directives-focus-visible.umd.min.js.map +0 -1
  996. package/bundles/taiga-ui-cdk-directives-focusable.umd.min.js +0 -2
  997. package/bundles/taiga-ui-cdk-directives-focusable.umd.min.js.map +0 -1
  998. package/bundles/taiga-ui-cdk-directives-focused.umd.min.js +0 -2
  999. package/bundles/taiga-ui-cdk-directives-focused.umd.min.js.map +0 -1
  1000. package/bundles/taiga-ui-cdk-directives-for-async.umd.min.js +0 -2
  1001. package/bundles/taiga-ui-cdk-directives-for-async.umd.min.js.map +0 -1
  1002. package/bundles/taiga-ui-cdk-directives-for.umd.min.js +0 -2
  1003. package/bundles/taiga-ui-cdk-directives-for.umd.min.js.map +0 -1
  1004. package/bundles/taiga-ui-cdk-directives-high-dpi.umd.min.js +0 -2
  1005. package/bundles/taiga-ui-cdk-directives-high-dpi.umd.min.js.map +0 -1
  1006. package/bundles/taiga-ui-cdk-directives-hovered.umd.min.js +0 -2
  1007. package/bundles/taiga-ui-cdk-directives-hovered.umd.min.js.map +0 -1
  1008. package/bundles/taiga-ui-cdk-directives-input-mode.umd.min.js +0 -2
  1009. package/bundles/taiga-ui-cdk-directives-input-mode.umd.min.js.map +0 -1
  1010. package/bundles/taiga-ui-cdk-directives-item.umd.min.js +0 -2
  1011. package/bundles/taiga-ui-cdk-directives-item.umd.min.js.map +0 -1
  1012. package/bundles/taiga-ui-cdk-directives-let.umd.min.js +0 -2
  1013. package/bundles/taiga-ui-cdk-directives-let.umd.min.js.map +0 -1
  1014. package/bundles/taiga-ui-cdk-directives-media.umd.min.js +0 -2
  1015. package/bundles/taiga-ui-cdk-directives-media.umd.min.js.map +0 -1
  1016. package/bundles/taiga-ui-cdk-directives-obscured.umd.min.js +0 -2
  1017. package/bundles/taiga-ui-cdk-directives-obscured.umd.min.js.map +0 -1
  1018. package/bundles/taiga-ui-cdk-directives-overscroll.umd.min.js +0 -2
  1019. package/bundles/taiga-ui-cdk-directives-overscroll.umd.min.js.map +0 -1
  1020. package/bundles/taiga-ui-cdk-directives-pan.umd.min.js +0 -2
  1021. package/bundles/taiga-ui-cdk-directives-pan.umd.min.js.map +0 -1
  1022. package/bundles/taiga-ui-cdk-directives-portal.umd.min.js +0 -2
  1023. package/bundles/taiga-ui-cdk-directives-portal.umd.min.js.map +0 -1
  1024. package/bundles/taiga-ui-cdk-directives-pressed.umd.min.js +0 -2
  1025. package/bundles/taiga-ui-cdk-directives-pressed.umd.min.js.map +0 -1
  1026. package/bundles/taiga-ui-cdk-directives-prevent-default.umd.min.js +0 -2
  1027. package/bundles/taiga-ui-cdk-directives-prevent-default.umd.min.js.map +0 -1
  1028. package/bundles/taiga-ui-cdk-directives-repeat-times.umd.min.js +0 -2
  1029. package/bundles/taiga-ui-cdk-directives-repeat-times.umd.min.js.map +0 -1
  1030. package/bundles/taiga-ui-cdk-directives-resize.umd.min.js +0 -2
  1031. package/bundles/taiga-ui-cdk-directives-resize.umd.min.js.map +0 -1
  1032. package/bundles/taiga-ui-cdk-directives-swipe.umd.min.js +0 -2
  1033. package/bundles/taiga-ui-cdk-directives-swipe.umd.min.js.map +0 -1
  1034. package/bundles/taiga-ui-cdk-directives-validator.umd.min.js +0 -2
  1035. package/bundles/taiga-ui-cdk-directives-validator.umd.min.js.map +0 -1
  1036. package/bundles/taiga-ui-cdk-directives-zoom.umd.min.js +0 -2
  1037. package/bundles/taiga-ui-cdk-directives-zoom.umd.min.js.map +0 -1
  1038. package/bundles/taiga-ui-cdk-directives.umd.min.js +0 -2
  1039. package/bundles/taiga-ui-cdk-directives.umd.min.js.map +0 -1
  1040. package/bundles/taiga-ui-cdk-enums.umd.min.js +0 -2
  1041. package/bundles/taiga-ui-cdk-enums.umd.min.js.map +0 -1
  1042. package/bundles/taiga-ui-cdk-exceptions.umd.min.js +0 -2
  1043. package/bundles/taiga-ui-cdk-exceptions.umd.min.js.map +0 -1
  1044. package/bundles/taiga-ui-cdk-interfaces.umd.min.js +0 -2
  1045. package/bundles/taiga-ui-cdk-interfaces.umd.min.js.map +0 -1
  1046. package/bundles/taiga-ui-cdk-observables.umd.min.js +0 -2
  1047. package/bundles/taiga-ui-cdk-observables.umd.min.js.map +0 -1
  1048. package/bundles/taiga-ui-cdk-pipes-filter.umd.min.js +0 -2
  1049. package/bundles/taiga-ui-cdk-pipes-filter.umd.min.js.map +0 -1
  1050. package/bundles/taiga-ui-cdk-pipes-mapper.umd.min.js +0 -2
  1051. package/bundles/taiga-ui-cdk-pipes-mapper.umd.min.js.map +0 -1
  1052. package/bundles/taiga-ui-cdk-pipes.umd.min.js +0 -2
  1053. package/bundles/taiga-ui-cdk-pipes.umd.min.js.map +0 -1
  1054. package/bundles/taiga-ui-cdk-services.umd.min.js +0 -2
  1055. package/bundles/taiga-ui-cdk-services.umd.min.js.map +0 -1
  1056. package/bundles/taiga-ui-cdk-tokens.umd.min.js +0 -2
  1057. package/bundles/taiga-ui-cdk-tokens.umd.min.js.map +0 -1
  1058. package/bundles/taiga-ui-cdk-types.umd.min.js +0 -2
  1059. package/bundles/taiga-ui-cdk-types.umd.min.js.map +0 -1
  1060. package/bundles/taiga-ui-cdk-utils-browser.umd.min.js +0 -2
  1061. package/bundles/taiga-ui-cdk-utils-browser.umd.min.js.map +0 -1
  1062. package/bundles/taiga-ui-cdk-utils-dom.umd.min.js +0 -2
  1063. package/bundles/taiga-ui-cdk-utils-dom.umd.min.js.map +0 -1
  1064. package/bundles/taiga-ui-cdk-utils-focus.umd.min.js +0 -2
  1065. package/bundles/taiga-ui-cdk-utils-focus.umd.min.js.map +0 -1
  1066. package/bundles/taiga-ui-cdk-utils-format.umd.min.js +0 -2
  1067. package/bundles/taiga-ui-cdk-utils-format.umd.min.js.map +0 -1
  1068. package/bundles/taiga-ui-cdk-utils-math.umd.min.js +0 -2
  1069. package/bundles/taiga-ui-cdk-utils-math.umd.min.js.map +0 -1
  1070. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.min.js +0 -2
  1071. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.min.js.map +0 -1
  1072. package/bundles/taiga-ui-cdk-utils-os.umd.min.js +0 -2
  1073. package/bundles/taiga-ui-cdk-utils-os.umd.min.js.map +0 -1
  1074. package/bundles/taiga-ui-cdk-utils-svg.umd.min.js +0 -2
  1075. package/bundles/taiga-ui-cdk-utils-svg.umd.min.js.map +0 -1
  1076. package/bundles/taiga-ui-cdk-utils.umd.min.js +0 -2
  1077. package/bundles/taiga-ui-cdk-utils.umd.min.js.map +0 -1
  1078. package/bundles/taiga-ui-cdk.umd.min.js +0 -2
  1079. package/bundles/taiga-ui-cdk.umd.min.js.map +0 -1
  1080. package/classes/taiga-ui-cdk-classes.metadata.json +0 -1
  1081. package/coercion/taiga-ui-cdk-coercion.metadata.json +0 -1
  1082. package/components/alert-host/taiga-ui-cdk-components-alert-host.metadata.json +0 -1
  1083. package/components/dialog-host/taiga-ui-cdk-components-dialog-host.metadata.json +0 -1
  1084. package/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.metadata.json +0 -1
  1085. package/components/portal-host/index.d.ts +0 -1
  1086. package/components/portal-host/package.json +0 -13
  1087. package/components/portal-host/portal.service.d.ts +0 -7
  1088. package/components/portal-host/taiga-ui-cdk-components-portal-host.d.ts +0 -4
  1089. package/components/portal-host/taiga-ui-cdk-components-portal-host.metadata.json +0 -1
  1090. package/components/taiga-ui-cdk-components.metadata.json +0 -1
  1091. package/constants/taiga-ui-cdk-constants.metadata.json +0 -1
  1092. package/date-time/taiga-ui-cdk-date-time.metadata.json +0 -1
  1093. package/decorators/taiga-ui-cdk-decorators.metadata.json +0 -1
  1094. package/directives/active-zone/taiga-ui-cdk-directives-active-zone.metadata.json +0 -1
  1095. package/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.metadata.json +0 -1
  1096. package/directives/autofilled/taiga-ui-cdk-directives-autofilled.metadata.json +0 -1
  1097. package/directives/checked/taiga-ui-cdk-directives-checked.metadata.json +0 -1
  1098. package/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.metadata.json +0 -1
  1099. package/directives/drag/taiga-ui-cdk-directives-drag.metadata.json +0 -1
  1100. package/directives/droppable/taiga-ui-cdk-directives-droppable.metadata.json +0 -1
  1101. package/directives/element/taiga-ui-cdk-directives-element.metadata.json +0 -1
  1102. package/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.metadata.json +0 -1
  1103. package/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.metadata.json +0 -1
  1104. package/directives/focusable/taiga-ui-cdk-directives-focusable.metadata.json +0 -1
  1105. package/directives/focused/taiga-ui-cdk-directives-focused.metadata.json +0 -1
  1106. package/directives/for/taiga-ui-cdk-directives-for.metadata.json +0 -1
  1107. package/directives/for-async/taiga-ui-cdk-directives-for-async.metadata.json +0 -1
  1108. package/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.metadata.json +0 -1
  1109. package/directives/hovered/taiga-ui-cdk-directives-hovered.metadata.json +0 -1
  1110. package/directives/input-mode/taiga-ui-cdk-directives-input-mode.metadata.json +0 -1
  1111. package/directives/item/taiga-ui-cdk-directives-item.metadata.json +0 -1
  1112. package/directives/let/taiga-ui-cdk-directives-let.metadata.json +0 -1
  1113. package/directives/media/taiga-ui-cdk-directives-media.metadata.json +0 -1
  1114. package/directives/obscured/taiga-ui-cdk-directives-obscured.metadata.json +0 -1
  1115. package/directives/overscroll/taiga-ui-cdk-directives-overscroll.metadata.json +0 -1
  1116. package/directives/pan/taiga-ui-cdk-directives-pan.metadata.json +0 -1
  1117. package/directives/portal/taiga-ui-cdk-directives-portal.metadata.json +0 -1
  1118. package/directives/pressed/taiga-ui-cdk-directives-pressed.metadata.json +0 -1
  1119. package/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.metadata.json +0 -1
  1120. package/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.metadata.json +0 -1
  1121. package/directives/resize/taiga-ui-cdk-directives-resize.metadata.json +0 -1
  1122. package/directives/swipe/taiga-ui-cdk-directives-swipe.metadata.json +0 -1
  1123. package/directives/taiga-ui-cdk-directives.metadata.json +0 -1
  1124. package/directives/validator/taiga-ui-cdk-directives-validator.metadata.json +0 -1
  1125. package/directives/zoom/taiga-ui-cdk-directives-zoom.metadata.json +0 -1
  1126. package/enums/input-mode.d.ts +0 -13
  1127. package/enums/input-type.d.ts +0 -10
  1128. package/enums/overscroll-mode.d.ts +0 -13
  1129. package/enums/taiga-ui-cdk-enums.metadata.json +0 -1
  1130. package/esm2015/components/portal-host/index.js +0 -2
  1131. package/esm2015/components/portal-host/portal.service.js +0 -18
  1132. package/esm2015/components/portal-host/taiga-ui-cdk-components-portal-host.js +0 -5
  1133. package/esm2015/enums/input-mode.js +0 -15
  1134. package/esm2015/enums/input-type.js +0 -12
  1135. package/esm2015/enums/overscroll-mode.js +0 -15
  1136. package/esm2015/services/hovered.service.js +0 -34
  1137. package/esm2015/utils/dom/custom-event.js +0 -10
  1138. package/esm2015/utils/dom/get-closest-element.js +0 -20
  1139. package/esm2015/utils/format/pad-start.js +0 -17
  1140. package/esm2015/utils/miscellaneous/fallback-value.js +0 -12
  1141. package/esm5/abstract/control.js +0 -247
  1142. package/esm5/abstract/controller.js +0 -25
  1143. package/esm5/abstract/dialog.directive.js +0 -44
  1144. package/esm5/abstract/dialog.service.js +0 -39
  1145. package/esm5/abstract/index.js +0 -11
  1146. package/esm5/abstract/interactive.js +0 -172
  1147. package/esm5/abstract/multiple-control.js +0 -21
  1148. package/esm5/abstract/nullable-control.js +0 -18
  1149. package/esm5/abstract/portal-host.js +0 -50
  1150. package/esm5/abstract/portal-service.js +0 -42
  1151. package/esm5/abstract/taiga-ui-cdk-abstract.js +0 -5
  1152. package/esm5/abstract/theme-switcher.js +0 -55
  1153. package/esm5/classes/assert.js +0 -19
  1154. package/esm5/classes/index.js +0 -3
  1155. package/esm5/classes/taiga-ui-cdk-classes.js +0 -5
  1156. package/esm5/classes/validation-error.js +0 -10
  1157. package/esm5/coercion/coerce-boolean-property.js +0 -10
  1158. package/esm5/coercion/index.js +0 -2
  1159. package/esm5/coercion/taiga-ui-cdk-coercion.js +0 -5
  1160. package/esm5/components/alert-host/alert-host.component.js +0 -42
  1161. package/esm5/components/alert-host/alert-host.module.js +0 -19
  1162. package/esm5/components/alert-host/index.js +0 -3
  1163. package/esm5/components/alert-host/taiga-ui-cdk-components-alert-host.js +0 -5
  1164. package/esm5/components/dialog-host/dialog-host.component.js +0 -77
  1165. package/esm5/components/dialog-host/dialog-host.module.js +0 -28
  1166. package/esm5/components/dialog-host/index.js +0 -3
  1167. package/esm5/components/dialog-host/taiga-ui-cdk-components-dialog-host.js +0 -5
  1168. package/esm5/components/dropdown-host/dropdown-host.component.js +0 -34
  1169. package/esm5/components/dropdown-host/dropdown-host.module.js +0 -16
  1170. package/esm5/components/dropdown-host/index.js +0 -3
  1171. package/esm5/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.js +0 -5
  1172. package/esm5/components/index.js +0 -5
  1173. package/esm5/components/portal-host/index.js +0 -2
  1174. package/esm5/components/portal-host/portal.service.js +0 -23
  1175. package/esm5/components/portal-host/taiga-ui-cdk-components-portal-host.js +0 -5
  1176. package/esm5/components/taiga-ui-cdk-components.js +0 -5
  1177. package/esm5/constants/always-false-handler.js +0 -5
  1178. package/esm5/constants/always-true-handler.js +0 -5
  1179. package/esm5/constants/browser.js +0 -2
  1180. package/esm5/constants/empty.js +0 -20
  1181. package/esm5/constants/index.js +0 -11
  1182. package/esm5/constants/matcher.js +0 -35
  1183. package/esm5/constants/parent-animation.js +0 -8
  1184. package/esm5/constants/polling-time.js +0 -2
  1185. package/esm5/constants/stringify.js +0 -5
  1186. package/esm5/constants/svg-node-filter.js +0 -8
  1187. package/esm5/constants/taiga-ui-cdk-constants.js +0 -5
  1188. package/esm5/constants/unicode-chars.js +0 -49
  1189. package/esm5/date-time/date-fillers.js +0 -31
  1190. package/esm5/date-time/date-format.js +0 -5
  1191. package/esm5/date-time/date-separator.js +0 -6
  1192. package/esm5/date-time/date-time.js +0 -19
  1193. package/esm5/date-time/day-range.js +0 -111
  1194. package/esm5/date-time/day.js +0 -350
  1195. package/esm5/date-time/days.const.js +0 -5
  1196. package/esm5/date-time/index.js +0 -12
  1197. package/esm5/date-time/month-range.js +0 -43
  1198. package/esm5/date-time/month.js +0 -209
  1199. package/esm5/date-time/taiga-ui-cdk-date-time.js +0 -5
  1200. package/esm5/date-time/time.js +0 -134
  1201. package/esm5/date-time/year.js +0 -168
  1202. package/esm5/decorators/default-prop.js +0 -62
  1203. package/esm5/decorators/index.js +0 -4
  1204. package/esm5/decorators/pure.js +0 -55
  1205. package/esm5/decorators/required-setter.js +0 -39
  1206. package/esm5/decorators/taiga-ui-cdk-decorators.js +0 -5
  1207. package/esm5/directives/active-zone/active-zone.directive.js +0 -92
  1208. package/esm5/directives/active-zone/active-zone.module.js +0 -16
  1209. package/esm5/directives/active-zone/index.js +0 -3
  1210. package/esm5/directives/active-zone/taiga-ui-cdk-directives-active-zone.js +0 -5
  1211. package/esm5/directives/auto-focus/autofocus.directive.js +0 -31
  1212. package/esm5/directives/auto-focus/autofocus.module.js +0 -16
  1213. package/esm5/directives/auto-focus/autofocus.options.js +0 -29
  1214. package/esm5/directives/auto-focus/handlers/abstract.handler.js +0 -34
  1215. package/esm5/directives/auto-focus/handlers/default.handler.js +0 -43
  1216. package/esm5/directives/auto-focus/handlers/ios.handler.js +0 -137
  1217. package/esm5/directives/auto-focus/index.js +0 -7
  1218. package/esm5/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.js +0 -5
  1219. package/esm5/directives/autofilled/autofilled-style.component.js +0 -16
  1220. package/esm5/directives/autofilled/autofilled.directive.js +0 -42
  1221. package/esm5/directives/autofilled/autofilled.module.js +0 -18
  1222. package/esm5/directives/autofilled/index.js +0 -4
  1223. package/esm5/directives/autofilled/taiga-ui-cdk-directives-autofilled.js +0 -5
  1224. package/esm5/directives/checked/checked.directive.js +0 -49
  1225. package/esm5/directives/checked/checked.module.js +0 -16
  1226. package/esm5/directives/checked/index.js +0 -3
  1227. package/esm5/directives/checked/taiga-ui-cdk-directives-checked.js +0 -5
  1228. package/esm5/directives/copy-processor/copy-processor.directive.js +0 -39
  1229. package/esm5/directives/copy-processor/copy-processor.module.js +0 -16
  1230. package/esm5/directives/copy-processor/index.js +0 -3
  1231. package/esm5/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.js +0 -5
  1232. package/esm5/directives/drag/drag.directive.js +0 -52
  1233. package/esm5/directives/drag/drag.module.js +0 -16
  1234. package/esm5/directives/drag/index.js +0 -3
  1235. package/esm5/directives/drag/taiga-ui-cdk-directives-drag.js +0 -5
  1236. package/esm5/directives/droppable/droppable.directive.js +0 -43
  1237. package/esm5/directives/droppable/droppable.module.js +0 -16
  1238. package/esm5/directives/droppable/index.js +0 -3
  1239. package/esm5/directives/droppable/taiga-ui-cdk-directives-droppable.js +0 -5
  1240. package/esm5/directives/element/element.directive.js +0 -22
  1241. package/esm5/directives/element/element.module.js +0 -16
  1242. package/esm5/directives/element/index.js +0 -3
  1243. package/esm5/directives/element/taiga-ui-cdk-directives-element.js +0 -5
  1244. package/esm5/directives/focus-trap/focus-trap.directive.js +0 -78
  1245. package/esm5/directives/focus-trap/focus-trap.module.js +0 -16
  1246. package/esm5/directives/focus-trap/index.js +0 -3
  1247. package/esm5/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.js +0 -5
  1248. package/esm5/directives/focus-visible/focus-visible.directive.js +0 -29
  1249. package/esm5/directives/focus-visible/focus-visible.module.js +0 -16
  1250. package/esm5/directives/focus-visible/index.js +0 -3
  1251. package/esm5/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.js +0 -5
  1252. package/esm5/directives/focusable/focusable.directive.js +0 -34
  1253. package/esm5/directives/focusable/focusable.module.js +0 -16
  1254. package/esm5/directives/focusable/index.js +0 -3
  1255. package/esm5/directives/focusable/taiga-ui-cdk-directives-focusable.js +0 -5
  1256. package/esm5/directives/focused/focused.directive.js +0 -34
  1257. package/esm5/directives/focused/focused.module.js +0 -16
  1258. package/esm5/directives/focused/index.js +0 -3
  1259. package/esm5/directives/focused/taiga-ui-cdk-directives-focused.js +0 -5
  1260. package/esm5/directives/for/for.directive.js +0 -39
  1261. package/esm5/directives/for/for.module.js +0 -16
  1262. package/esm5/directives/for/index.js +0 -3
  1263. package/esm5/directives/for/taiga-ui-cdk-directives-for.js +0 -5
  1264. package/esm5/directives/for-async/for-async.directive.js +0 -53
  1265. package/esm5/directives/for-async/for-async.module.js +0 -19
  1266. package/esm5/directives/for-async/index.js +0 -3
  1267. package/esm5/directives/for-async/taiga-ui-cdk-directives-for-async.js +0 -5
  1268. package/esm5/directives/high-dpi/high-dpi.directive.js +0 -31
  1269. package/esm5/directives/high-dpi/high-dpi.module.js +0 -16
  1270. package/esm5/directives/high-dpi/index.js +0 -3
  1271. package/esm5/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.js +0 -5
  1272. package/esm5/directives/hovered/hovered.directive.js +0 -41
  1273. package/esm5/directives/hovered/hovered.module.js +0 -16
  1274. package/esm5/directives/hovered/index.js +0 -3
  1275. package/esm5/directives/hovered/taiga-ui-cdk-directives-hovered.js +0 -5
  1276. package/esm5/directives/index.js +0 -31
  1277. package/esm5/directives/input-mode/index.js +0 -3
  1278. package/esm5/directives/input-mode/input-mode.directive.js +0 -44
  1279. package/esm5/directives/input-mode/input-mode.module.js +0 -16
  1280. package/esm5/directives/input-mode/taiga-ui-cdk-directives-input-mode.js +0 -5
  1281. package/esm5/directives/item/index.js +0 -3
  1282. package/esm5/directives/item/item.directive.js +0 -18
  1283. package/esm5/directives/item/item.module.js +0 -16
  1284. package/esm5/directives/item/taiga-ui-cdk-directives-item.js +0 -5
  1285. package/esm5/directives/let/index.js +0 -4
  1286. package/esm5/directives/let/let-context.js +0 -25
  1287. package/esm5/directives/let/let.directive.js +0 -38
  1288. package/esm5/directives/let/let.module.js +0 -16
  1289. package/esm5/directives/let/taiga-ui-cdk-directives-let.js +0 -5
  1290. package/esm5/directives/media/index.js +0 -3
  1291. package/esm5/directives/media/media.directive.js +0 -130
  1292. package/esm5/directives/media/media.module.js +0 -16
  1293. package/esm5/directives/media/taiga-ui-cdk-directives-media.js +0 -5
  1294. package/esm5/directives/obscured/index.js +0 -3
  1295. package/esm5/directives/obscured/obscured.directive.js +0 -53
  1296. package/esm5/directives/obscured/obscured.module.js +0 -16
  1297. package/esm5/directives/obscured/taiga-ui-cdk-directives-obscured.js +0 -5
  1298. package/esm5/directives/overscroll/index.js +0 -3
  1299. package/esm5/directives/overscroll/overscroll.directive.js +0 -112
  1300. package/esm5/directives/overscroll/overscroll.module.js +0 -16
  1301. package/esm5/directives/overscroll/taiga-ui-cdk-directives-overscroll.js +0 -5
  1302. package/esm5/directives/pan/index.js +0 -3
  1303. package/esm5/directives/pan/pan.directive.js +0 -24
  1304. package/esm5/directives/pan/pan.module.js +0 -19
  1305. package/esm5/directives/pan/taiga-ui-cdk-directives-pan.js +0 -5
  1306. package/esm5/directives/portal/index.js +0 -3
  1307. package/esm5/directives/portal/portal.directive.js +0 -41
  1308. package/esm5/directives/portal/portal.module.js +0 -16
  1309. package/esm5/directives/portal/taiga-ui-cdk-directives-portal.js +0 -5
  1310. package/esm5/directives/pressed/index.js +0 -3
  1311. package/esm5/directives/pressed/pressed.directive.js +0 -30
  1312. package/esm5/directives/pressed/pressed.module.js +0 -16
  1313. package/esm5/directives/pressed/taiga-ui-cdk-directives-pressed.js +0 -5
  1314. package/esm5/directives/prevent-default/index.js +0 -3
  1315. package/esm5/directives/prevent-default/prevent-default.directive.js +0 -38
  1316. package/esm5/directives/prevent-default/prevent-default.module.js +0 -16
  1317. package/esm5/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.js +0 -5
  1318. package/esm5/directives/repeat-times/index.js +0 -3
  1319. package/esm5/directives/repeat-times/repeat-times.directive.js +0 -67
  1320. package/esm5/directives/repeat-times/repeat-times.module.js +0 -16
  1321. package/esm5/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.js +0 -5
  1322. package/esm5/directives/resize/index.js +0 -3
  1323. package/esm5/directives/resize/resize.directive.js +0 -24
  1324. package/esm5/directives/resize/resize.module.js +0 -19
  1325. package/esm5/directives/resize/taiga-ui-cdk-directives-resize.js +0 -5
  1326. package/esm5/directives/swipe/index.js +0 -3
  1327. package/esm5/directives/swipe/swipe.directive.js +0 -24
  1328. package/esm5/directives/swipe/swipe.module.js +0 -19
  1329. package/esm5/directives/swipe/taiga-ui-cdk-directives-swipe.js +0 -5
  1330. package/esm5/directives/taiga-ui-cdk-directives.js +0 -5
  1331. package/esm5/directives/validator/index.js +0 -3
  1332. package/esm5/directives/validator/taiga-ui-cdk-directives-validator.js +0 -5
  1333. package/esm5/directives/validator/validator.directive.js +0 -45
  1334. package/esm5/directives/validator/validator.module.js +0 -16
  1335. package/esm5/directives/zoom/index.js +0 -3
  1336. package/esm5/directives/zoom/taiga-ui-cdk-directives-zoom.js +0 -5
  1337. package/esm5/directives/zoom/zoom.directive.js +0 -27
  1338. package/esm5/directives/zoom/zoom.module.js +0 -19
  1339. package/esm5/enums/autocomplete.js +0 -66
  1340. package/esm5/enums/day-of-week.js +0 -11
  1341. package/esm5/enums/index.js +0 -7
  1342. package/esm5/enums/input-mode.js +0 -15
  1343. package/esm5/enums/input-type.js +0 -12
  1344. package/esm5/enums/month-number.js +0 -16
  1345. package/esm5/enums/overscroll-mode.js +0 -15
  1346. package/esm5/enums/taiga-ui-cdk-enums.js +0 -5
  1347. package/esm5/exceptions/computed-document.exception.js +0 -10
  1348. package/esm5/exceptions/document-selection.exception.js +0 -10
  1349. package/esm5/exceptions/index.js +0 -14
  1350. package/esm5/exceptions/invalid-day.exception.js +0 -23
  1351. package/esm5/exceptions/invalid-month.exception.js +0 -23
  1352. package/esm5/exceptions/invalid-year.exception.js +0 -23
  1353. package/esm5/exceptions/no-host.exception.js +0 -10
  1354. package/esm5/exceptions/owner-document.exception.js +0 -10
  1355. package/esm5/exceptions/pure.exception.js +0 -10
  1356. package/esm5/exceptions/table-sort-key.exception.js +0 -10
  1357. package/esm5/exceptions/taiga-ui-cdk-exceptions.js +0 -5
  1358. package/esm5/exceptions/ts-parser.exception.js +0 -10
  1359. package/esm5/exceptions/value-changes.exception.js +0 -10
  1360. package/esm5/exceptions/value-present.exception.js +0 -10
  1361. package/esm5/exceptions/xml-parsing.exception.js +0 -10
  1362. package/esm5/index.js +0 -16
  1363. package/esm5/interfaces/alert-context.js +0 -1
  1364. package/esm5/interfaces/aria-dialog-context.js +0 -1
  1365. package/esm5/interfaces/base-dialog-context.js +0 -1
  1366. package/esm5/interfaces/base-dialog.js +0 -1
  1367. package/esm5/interfaces/context-with-implicit.js +0 -1
  1368. package/esm5/interfaces/control-value-transformer.js +0 -1
  1369. package/esm5/interfaces/day-like.js +0 -1
  1370. package/esm5/interfaces/focusable-element-accessor.js +0 -1
  1371. package/esm5/interfaces/index.js +0 -1
  1372. package/esm5/interfaces/month-like.js +0 -1
  1373. package/esm5/interfaces/swipe.js +0 -1
  1374. package/esm5/interfaces/taiga-ui-cdk-interfaces.js +0 -4
  1375. package/esm5/interfaces/time-like.js +0 -1
  1376. package/esm5/interfaces/year-like.js +0 -1
  1377. package/esm5/interfaces/zoom.js +0 -1
  1378. package/esm5/observables/drag-and-drop-from.js +0 -33
  1379. package/esm5/observables/focus-visible-observable.js +0 -36
  1380. package/esm5/observables/index.js +0 -14
  1381. package/esm5/observables/is-alive.js +0 -10
  1382. package/esm5/observables/items-query-list-observable.js +0 -12
  1383. package/esm5/observables/mouse-drag-finish-from.js +0 -13
  1384. package/esm5/observables/must-be-present.js +0 -17
  1385. package/esm5/observables/pressed-observable.js +0 -21
  1386. package/esm5/observables/prevent-default.js +0 -10
  1387. package/esm5/observables/replay-control-value-changes.js +0 -16
  1388. package/esm5/observables/stop-propagation.js +0 -12
  1389. package/esm5/observables/taiga-ui-cdk-observables.js +0 -5
  1390. package/esm5/observables/typed-from-event.js +0 -11
  1391. package/esm5/observables/watch.js +0 -12
  1392. package/esm5/observables/zone-free.js +0 -23
  1393. package/esm5/pipes/filter/filter.module.js +0 -16
  1394. package/esm5/pipes/filter/filter.pipe.js +0 -26
  1395. package/esm5/pipes/filter/index.js +0 -3
  1396. package/esm5/pipes/filter/taiga-ui-cdk-pipes-filter.js +0 -5
  1397. package/esm5/pipes/index.js +0 -3
  1398. package/esm5/pipes/mapper/index.js +0 -3
  1399. package/esm5/pipes/mapper/mapper.module.js +0 -16
  1400. package/esm5/pipes/mapper/mapper.pipe.js +0 -26
  1401. package/esm5/pipes/mapper/taiga-ui-cdk-pipes-mapper.js +0 -5
  1402. package/esm5/pipes/taiga-ui-cdk-pipes.js +0 -5
  1403. package/esm5/services/destroy.service.js +0 -22
  1404. package/esm5/services/directive-styles.service.js +0 -56
  1405. package/esm5/services/focus-visible.service.js +0 -35
  1406. package/esm5/services/hovered.service.js +0 -39
  1407. package/esm5/services/id.service.js +0 -26
  1408. package/esm5/services/index.js +0 -14
  1409. package/esm5/services/obscured.service.js +0 -50
  1410. package/esm5/services/pan.service.js +0 -47
  1411. package/esm5/services/parents-scroll.service.js +0 -40
  1412. package/esm5/services/resize.service.js +0 -41
  1413. package/esm5/services/scroll.service.js +0 -58
  1414. package/esm5/services/static-request.service.js +0 -48
  1415. package/esm5/services/swipe.service.js +0 -60
  1416. package/esm5/services/taiga-ui-cdk-services.js +0 -5
  1417. package/esm5/services/zoom.service.js +0 -64
  1418. package/esm5/taiga-ui-cdk.js +0 -5
  1419. package/esm5/tokens/active-element.js +0 -67
  1420. package/esm5/tokens/alerts.js +0 -5
  1421. package/esm5/tokens/default-renderer.js +0 -7
  1422. package/esm5/tokens/dialogs.js +0 -5
  1423. package/esm5/tokens/focusable-item-accessor.js +0 -3
  1424. package/esm5/tokens/index.js +0 -21
  1425. package/esm5/tokens/is-android.js +0 -7
  1426. package/esm5/tokens/is-apple.js +0 -5
  1427. package/esm5/tokens/is-chromium.js +0 -6
  1428. package/esm5/tokens/is-cypress.js +0 -9
  1429. package/esm5/tokens/is-firefox.js +0 -9
  1430. package/esm5/tokens/is-ios.js +0 -7
  1431. package/esm5/tokens/is-mobile.js +0 -12
  1432. package/esm5/tokens/is-webkit.js +0 -6
  1433. package/esm5/tokens/removed-element.js +0 -19
  1434. package/esm5/tokens/sanitizer.js +0 -4
  1435. package/esm5/tokens/swipe-options.js +0 -5
  1436. package/esm5/tokens/taiga-ui-cdk-tokens.js +0 -5
  1437. package/esm5/tokens/take-only-trusted-events.js +0 -11
  1438. package/esm5/tokens/touch-supported.js +0 -6
  1439. package/esm5/tokens/window-height.js +0 -11
  1440. package/esm5/tokens/zoom-options.js +0 -7
  1441. package/esm5/types/date-mode.js +0 -1
  1442. package/esm5/types/dialog.js +0 -1
  1443. package/esm5/types/event-with.js +0 -1
  1444. package/esm5/types/handler.js +0 -1
  1445. package/esm5/types/index.js +0 -1
  1446. package/esm5/types/input-mode.js +0 -1
  1447. package/esm5/types/input-type.js +0 -1
  1448. package/esm5/types/mapper.js +0 -1
  1449. package/esm5/types/matcher.js +0 -1
  1450. package/esm5/types/overscroll-mode.js +0 -1
  1451. package/esm5/types/taiga-ui-cdk-types.js +0 -4
  1452. package/esm5/types/time-mode.js +0 -1
  1453. package/esm5/utils/browser/index.js +0 -6
  1454. package/esm5/utils/browser/is-edge-older-than.js +0 -11
  1455. package/esm5/utils/browser/is-edge.js +0 -9
  1456. package/esm5/utils/browser/is-firefox.js +0 -9
  1457. package/esm5/utils/browser/is-ie.js +0 -9
  1458. package/esm5/utils/browser/is-safari.js +0 -11
  1459. package/esm5/utils/browser/taiga-ui-cdk-utils-browser.js +0 -5
  1460. package/esm5/utils/dom/can-scroll.js +0 -47
  1461. package/esm5/utils/dom/contains-or-after.js +0 -10
  1462. package/esm5/utils/dom/custom-event.js +0 -11
  1463. package/esm5/utils/dom/get-actual-target.js +0 -13
  1464. package/esm5/utils/dom/get-clipboard-data-text.js +0 -15
  1465. package/esm5/utils/dom/get-closest-element.js +0 -20
  1466. package/esm5/utils/dom/get-document-or-shadow-root.js +0 -11
  1467. package/esm5/utils/dom/get-element-obscurers.js +0 -39
  1468. package/esm5/utils/dom/get-element-offset.js +0 -23
  1469. package/esm5/utils/dom/get-scroll-parent.js +0 -23
  1470. package/esm5/utils/dom/get-selected-text.js +0 -17
  1471. package/esm5/utils/dom/index.js +0 -17
  1472. package/esm5/utils/dom/is-current-target.js +0 -10
  1473. package/esm5/utils/dom/is-form-field.js +0 -8
  1474. package/esm5/utils/dom/is-inside-iframe.js +0 -10
  1475. package/esm5/utils/dom/is-node-in.js +0 -18
  1476. package/esm5/utils/dom/point-to-client-rect.js +0 -13
  1477. package/esm5/utils/dom/taiga-ui-cdk-utils-dom.js +0 -5
  1478. package/esm5/utils/focus/blur-native-focused.js +0 -16
  1479. package/esm5/utils/focus/get-closest-keyboard-focusable.js +0 -42
  1480. package/esm5/utils/focus/get-native-focused.js +0 -19
  1481. package/esm5/utils/focus/index.js +0 -11
  1482. package/esm5/utils/focus/is-native-focused-in.js +0 -19
  1483. package/esm5/utils/focus/is-native-focused.js +0 -16
  1484. package/esm5/utils/focus/is-native-keyboard-focusable.js +0 -36
  1485. package/esm5/utils/focus/is-native-mouse-focusable.js +0 -11
  1486. package/esm5/utils/focus/move-focus.js +0 -23
  1487. package/esm5/utils/focus/set-native-focused.js +0 -21
  1488. package/esm5/utils/focus/set-native-mouse-focused.js +0 -28
  1489. package/esm5/utils/focus/taiga-ui-cdk-utils-focus.js +0 -5
  1490. package/esm5/utils/format/index.js +0 -3
  1491. package/esm5/utils/format/pad-start.js +0 -18
  1492. package/esm5/utils/format/px.js +0 -12
  1493. package/esm5/utils/format/taiga-ui-cdk-utils-format.js +0 -5
  1494. package/esm5/utils/index.js +0 -9
  1495. package/esm5/utils/math/clamp.js +0 -19
  1496. package/esm5/utils/math/in-range.js +0 -19
  1497. package/esm5/utils/math/index.js +0 -9
  1498. package/esm5/utils/math/normalize-to-int-number.js +0 -25
  1499. package/esm5/utils/math/quantize.js +0 -18
  1500. package/esm5/utils/math/round.js +0 -49
  1501. package/esm5/utils/math/sum.js +0 -14
  1502. package/esm5/utils/math/taiga-ui-cdk-utils-math.js +0 -5
  1503. package/esm5/utils/math/to-int.js +0 -9
  1504. package/esm5/utils/math/to-radians.js +0 -10
  1505. package/esm5/utils/miscellaneous/distance-between-touches.js +0 -10
  1506. package/esm5/utils/miscellaneous/ease-in-out-quad.js +0 -11
  1507. package/esm5/utils/miscellaneous/fallback-value.js +0 -12
  1508. package/esm5/utils/miscellaneous/flat-length.js +0 -12
  1509. package/esm5/utils/miscellaneous/get-original-array-from-query-list.js +0 -18
  1510. package/esm5/utils/miscellaneous/get-swipe-direction.js +0 -14
  1511. package/esm5/utils/miscellaneous/identity.js +0 -8
  1512. package/esm5/utils/miscellaneous/index.js +0 -14
  1513. package/esm5/utils/miscellaneous/is-element-editable.js +0 -12
  1514. package/esm5/utils/miscellaneous/is-number.js +0 -9
  1515. package/esm5/utils/miscellaneous/is-present.js +0 -9
  1516. package/esm5/utils/miscellaneous/mark-control-as-touched-and-validate.js +0 -21
  1517. package/esm5/utils/miscellaneous/nullable-same.js +0 -21
  1518. package/esm5/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.js +0 -5
  1519. package/esm5/utils/miscellaneous/uniq-by.js +0 -11
  1520. package/esm5/utils/os/index.js +0 -4
  1521. package/esm5/utils/os/is-apple-platform.js +0 -17
  1522. package/esm5/utils/os/is-apple.js +0 -11
  1523. package/esm5/utils/os/is-ios.js +0 -12
  1524. package/esm5/utils/os/taiga-ui-cdk-utils-os.js +0 -5
  1525. package/esm5/utils/svg/index.js +0 -2
  1526. package/esm5/utils/svg/svg-linear-gradient-processor.js +0 -32
  1527. package/esm5/utils/svg/taiga-ui-cdk-utils-svg.js +0 -5
  1528. package/esm5/utils/taiga-ui-cdk-utils.js +0 -5
  1529. package/exceptions/taiga-ui-cdk-exceptions.metadata.json +0 -1
  1530. package/fesm2015/taiga-ui-cdk-components-portal-host.js +0 -23
  1531. package/fesm2015/taiga-ui-cdk-components-portal-host.js.map +0 -1
  1532. package/fesm5/taiga-ui-cdk-abstract.js +0 -682
  1533. package/fesm5/taiga-ui-cdk-abstract.js.map +0 -1
  1534. package/fesm5/taiga-ui-cdk-classes.js +0 -35
  1535. package/fesm5/taiga-ui-cdk-classes.js.map +0 -1
  1536. package/fesm5/taiga-ui-cdk-coercion.js +0 -16
  1537. package/fesm5/taiga-ui-cdk-coercion.js.map +0 -1
  1538. package/fesm5/taiga-ui-cdk-components-alert-host.js +0 -63
  1539. package/fesm5/taiga-ui-cdk-components-alert-host.js.map +0 -1
  1540. package/fesm5/taiga-ui-cdk-components-dialog-host.js +0 -107
  1541. package/fesm5/taiga-ui-cdk-components-dialog-host.js.map +0 -1
  1542. package/fesm5/taiga-ui-cdk-components-dropdown-host.js +0 -52
  1543. package/fesm5/taiga-ui-cdk-components-dropdown-host.js.map +0 -1
  1544. package/fesm5/taiga-ui-cdk-components-portal-host.js +0 -28
  1545. package/fesm5/taiga-ui-cdk-components-portal-host.js.map +0 -1
  1546. package/fesm5/taiga-ui-cdk-components.js +0 -9
  1547. package/fesm5/taiga-ui-cdk-components.js.map +0 -1
  1548. package/fesm5/taiga-ui-cdk-constants.js +0 -145
  1549. package/fesm5/taiga-ui-cdk-constants.js.map +0 -1
  1550. package/fesm5/taiga-ui-cdk-date-time.js +0 -1051
  1551. package/fesm5/taiga-ui-cdk-date-time.js.map +0 -1
  1552. package/fesm5/taiga-ui-cdk-decorators.js +0 -161
  1553. package/fesm5/taiga-ui-cdk-decorators.js.map +0 -1
  1554. package/fesm5/taiga-ui-cdk-directives-active-zone.js +0 -110
  1555. package/fesm5/taiga-ui-cdk-directives-active-zone.js.map +0 -1
  1556. package/fesm5/taiga-ui-cdk-directives-auto-focus.js +0 -273
  1557. package/fesm5/taiga-ui-cdk-directives-auto-focus.js.map +0 -1
  1558. package/fesm5/taiga-ui-cdk-directives-autofilled.js +0 -73
  1559. package/fesm5/taiga-ui-cdk-directives-autofilled.js.map +0 -1
  1560. package/fesm5/taiga-ui-cdk-directives-checked.js +0 -67
  1561. package/fesm5/taiga-ui-cdk-directives-checked.js.map +0 -1
  1562. package/fesm5/taiga-ui-cdk-directives-copy-processor.js +0 -57
  1563. package/fesm5/taiga-ui-cdk-directives-copy-processor.js.map +0 -1
  1564. package/fesm5/taiga-ui-cdk-directives-drag.js +0 -70
  1565. package/fesm5/taiga-ui-cdk-directives-drag.js.map +0 -1
  1566. package/fesm5/taiga-ui-cdk-directives-droppable.js +0 -61
  1567. package/fesm5/taiga-ui-cdk-directives-droppable.js.map +0 -1
  1568. package/fesm5/taiga-ui-cdk-directives-element.js +0 -40
  1569. package/fesm5/taiga-ui-cdk-directives-element.js.map +0 -1
  1570. package/fesm5/taiga-ui-cdk-directives-focus-trap.js +0 -96
  1571. package/fesm5/taiga-ui-cdk-directives-focus-trap.js.map +0 -1
  1572. package/fesm5/taiga-ui-cdk-directives-focus-visible.js +0 -47
  1573. package/fesm5/taiga-ui-cdk-directives-focus-visible.js.map +0 -1
  1574. package/fesm5/taiga-ui-cdk-directives-focusable.js +0 -52
  1575. package/fesm5/taiga-ui-cdk-directives-focusable.js.map +0 -1
  1576. package/fesm5/taiga-ui-cdk-directives-focused.js +0 -52
  1577. package/fesm5/taiga-ui-cdk-directives-focused.js.map +0 -1
  1578. package/fesm5/taiga-ui-cdk-directives-for-async.js +0 -74
  1579. package/fesm5/taiga-ui-cdk-directives-for-async.js.map +0 -1
  1580. package/fesm5/taiga-ui-cdk-directives-for.js +0 -57
  1581. package/fesm5/taiga-ui-cdk-directives-for.js.map +0 -1
  1582. package/fesm5/taiga-ui-cdk-directives-high-dpi.js +0 -49
  1583. package/fesm5/taiga-ui-cdk-directives-high-dpi.js.map +0 -1
  1584. package/fesm5/taiga-ui-cdk-directives-hovered.js +0 -59
  1585. package/fesm5/taiga-ui-cdk-directives-hovered.js.map +0 -1
  1586. package/fesm5/taiga-ui-cdk-directives-input-mode.js +0 -62
  1587. package/fesm5/taiga-ui-cdk-directives-input-mode.js.map +0 -1
  1588. package/fesm5/taiga-ui-cdk-directives-item.js +0 -36
  1589. package/fesm5/taiga-ui-cdk-directives-item.js.map +0 -1
  1590. package/fesm5/taiga-ui-cdk-directives-let.js +0 -79
  1591. package/fesm5/taiga-ui-cdk-directives-let.js.map +0 -1
  1592. package/fesm5/taiga-ui-cdk-directives-media.js +0 -148
  1593. package/fesm5/taiga-ui-cdk-directives-media.js.map +0 -1
  1594. package/fesm5/taiga-ui-cdk-directives-obscured.js +0 -71
  1595. package/fesm5/taiga-ui-cdk-directives-obscured.js.map +0 -1
  1596. package/fesm5/taiga-ui-cdk-directives-overscroll.js +0 -130
  1597. package/fesm5/taiga-ui-cdk-directives-overscroll.js.map +0 -1
  1598. package/fesm5/taiga-ui-cdk-directives-pan.js +0 -45
  1599. package/fesm5/taiga-ui-cdk-directives-pan.js.map +0 -1
  1600. package/fesm5/taiga-ui-cdk-directives-portal.js +0 -59
  1601. package/fesm5/taiga-ui-cdk-directives-portal.js.map +0 -1
  1602. package/fesm5/taiga-ui-cdk-directives-pressed.js +0 -48
  1603. package/fesm5/taiga-ui-cdk-directives-pressed.js.map +0 -1
  1604. package/fesm5/taiga-ui-cdk-directives-prevent-default.js +0 -56
  1605. package/fesm5/taiga-ui-cdk-directives-prevent-default.js.map +0 -1
  1606. package/fesm5/taiga-ui-cdk-directives-repeat-times.js +0 -84
  1607. package/fesm5/taiga-ui-cdk-directives-repeat-times.js.map +0 -1
  1608. package/fesm5/taiga-ui-cdk-directives-resize.js +0 -45
  1609. package/fesm5/taiga-ui-cdk-directives-resize.js.map +0 -1
  1610. package/fesm5/taiga-ui-cdk-directives-swipe.js +0 -45
  1611. package/fesm5/taiga-ui-cdk-directives-swipe.js.map +0 -1
  1612. package/fesm5/taiga-ui-cdk-directives-validator.js +0 -63
  1613. package/fesm5/taiga-ui-cdk-directives-validator.js.map +0 -1
  1614. package/fesm5/taiga-ui-cdk-directives-zoom.js +0 -48
  1615. package/fesm5/taiga-ui-cdk-directives-zoom.js.map +0 -1
  1616. package/fesm5/taiga-ui-cdk-directives.js +0 -35
  1617. package/fesm5/taiga-ui-cdk-directives.js.map +0 -1
  1618. package/fesm5/taiga-ui-cdk-enums.js +0 -141
  1619. package/fesm5/taiga-ui-cdk-enums.js.map +0 -1
  1620. package/fesm5/taiga-ui-cdk-exceptions.js +0 -148
  1621. package/fesm5/taiga-ui-cdk-exceptions.js.map +0 -1
  1622. package/fesm5/taiga-ui-cdk-interfaces.js +0 -4
  1623. package/fesm5/taiga-ui-cdk-interfaces.js.map +0 -1
  1624. package/fesm5/taiga-ui-cdk-observables.js +0 -204
  1625. package/fesm5/taiga-ui-cdk-observables.js.map +0 -1
  1626. package/fesm5/taiga-ui-cdk-pipes-filter.js +0 -44
  1627. package/fesm5/taiga-ui-cdk-pipes-filter.js.map +0 -1
  1628. package/fesm5/taiga-ui-cdk-pipes-mapper.js +0 -44
  1629. package/fesm5/taiga-ui-cdk-pipes-mapper.js.map +0 -1
  1630. package/fesm5/taiga-ui-cdk-pipes.js +0 -7
  1631. package/fesm5/taiga-ui-cdk-pipes.js.map +0 -1
  1632. package/fesm5/taiga-ui-cdk-services.js +0 -507
  1633. package/fesm5/taiga-ui-cdk-services.js.map +0 -1
  1634. package/fesm5/taiga-ui-cdk-tokens.js +0 -181
  1635. package/fesm5/taiga-ui-cdk-tokens.js.map +0 -1
  1636. package/fesm5/taiga-ui-cdk-types.js +0 -4
  1637. package/fesm5/taiga-ui-cdk-types.js.map +0 -1
  1638. package/fesm5/taiga-ui-cdk-utils-browser.js +0 -55
  1639. package/fesm5/taiga-ui-cdk-utils-browser.js.map +0 -1
  1640. package/fesm5/taiga-ui-cdk-utils-dom.js +0 -292
  1641. package/fesm5/taiga-ui-cdk-utils-dom.js.map +0 -1
  1642. package/fesm5/taiga-ui-cdk-utils-focus.js +0 -228
  1643. package/fesm5/taiga-ui-cdk-utils-focus.js.map +0 -1
  1644. package/fesm5/taiga-ui-cdk-utils-format.js +0 -37
  1645. package/fesm5/taiga-ui-cdk-utils-format.js.map +0 -1
  1646. package/fesm5/taiga-ui-cdk-utils-math.js +0 -166
  1647. package/fesm5/taiga-ui-cdk-utils-math.js.map +0 -1
  1648. package/fesm5/taiga-ui-cdk-utils-miscellaneous.js +0 -174
  1649. package/fesm5/taiga-ui-cdk-utils-miscellaneous.js.map +0 -1
  1650. package/fesm5/taiga-ui-cdk-utils-os.js +0 -44
  1651. package/fesm5/taiga-ui-cdk-utils-os.js.map +0 -1
  1652. package/fesm5/taiga-ui-cdk-utils-svg.js +0 -39
  1653. package/fesm5/taiga-ui-cdk-utils-svg.js.map +0 -1
  1654. package/fesm5/taiga-ui-cdk-utils.js +0 -13
  1655. package/fesm5/taiga-ui-cdk-utils.js.map +0 -1
  1656. package/fesm5/taiga-ui-cdk.js +0 -20
  1657. package/fesm5/taiga-ui-cdk.js.map +0 -1
  1658. package/interfaces/taiga-ui-cdk-interfaces.metadata.json +0 -1
  1659. package/observables/taiga-ui-cdk-observables.metadata.json +0 -1
  1660. package/pipes/filter/taiga-ui-cdk-pipes-filter.metadata.json +0 -1
  1661. package/pipes/mapper/taiga-ui-cdk-pipes-mapper.metadata.json +0 -1
  1662. package/pipes/taiga-ui-cdk-pipes.metadata.json +0 -1
  1663. package/services/hovered.service.d.ts +0 -9
  1664. package/services/taiga-ui-cdk-services.metadata.json +0 -1
  1665. package/taiga-ui-cdk.metadata.json +0 -1
  1666. package/tokens/taiga-ui-cdk-tokens.metadata.json +0 -1
  1667. package/types/taiga-ui-cdk-types.metadata.json +0 -1
  1668. package/utils/browser/taiga-ui-cdk-utils-browser.metadata.json +0 -1
  1669. package/utils/dom/custom-event.d.ts +0 -2
  1670. package/utils/dom/get-closest-element.d.ts +0 -5
  1671. package/utils/dom/taiga-ui-cdk-utils-dom.metadata.json +0 -1
  1672. package/utils/focus/taiga-ui-cdk-utils-focus.metadata.json +0 -1
  1673. package/utils/format/pad-start.d.ts +0 -9
  1674. package/utils/format/taiga-ui-cdk-utils-format.metadata.json +0 -1
  1675. package/utils/math/taiga-ui-cdk-utils-math.metadata.json +0 -1
  1676. package/utils/miscellaneous/fallback-value.d.ts +0 -7
  1677. package/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.metadata.json +0 -1
  1678. package/utils/os/taiga-ui-cdk-utils-os.metadata.json +0 -1
  1679. package/utils/svg/taiga-ui-cdk-utils-svg.metadata.json +0 -1
  1680. package/utils/taiga-ui-cdk-utils.metadata.json +0 -1
@@ -1,2 +0,0 @@
1
- !function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/exceptions",["exports"],n):n(((t=t||self)["taiga-ui"]=t["taiga-ui"]||{},t["taiga-ui"].cdk=t["taiga-ui"].cdk||{},t["taiga-ui"].cdk.exceptions={}))}(this,(function(t){"use strict";var n=function(t,r){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])})(t,r)};function r(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function e(){this.constructor=t}n(t,r),t.prototype=null===r?Object.create(r):(e.prototype=r.prototype,new e)}Object.create;Object.create;var e=function(t){function n(){return t.call(this,"Only use computedDocument after load event")||this}return r(n,t),n}(Error),i=function(t){function n(){return t.call(this,"Failed to get document selection")||this}return r(n,t),n}(Error),o=function(t){function n(n){return t.call(this,"Invalid day: "+n)||this}return r(n,t),n}(Error),u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n}(o),c=function(t){function n(n){return t.call(this,"Invalid month: "+n)||this}return r(n,t),n}(Error),a=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n}(c),l=function(t){function n(n){return t.call(this,"Invalid year: "+n)||this}return r(n,t),n}(Error),s=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return r(n,t),n}(l),f=function(t){function n(){return t.call(this,"Portals cannot be used without TuiPortalHostComponent")||this}return r(n,t),n}(Error),p=function(t){function n(){return t.call(this,"Element does not have ownerDocument")||this}return r(n,t),n}(Error),h=function(t){function n(){return t.call(this,"tuiPure can only be used with functions or getters")||this}return r(n,t),n}(Error),d=function(t){function n(){return t.call(this,"Trying to sort with no key")||this}return r(n,t),n}(Error),E=function(t){function n(){return t.call(this,"TsFileParser: 1 component/module per ts-file")||this}return r(n,t),n}(Error),y=function(t){function n(){return t.call(this,"Control does not have valueChanges")||this}return r(n,t),n}(Error),x=function(t){function n(){return t.call(this,"Value must present")||this}return r(n,t),n}(Error),T=function(t){function n(){return t.call(this,"Error parsing XML string")||this}return r(n,t),n}(Error);t.InvalidDayException=o,t.InvalidMonthException=c,t.InvalidYearException=l,t.TuiComputedDocumentException=e,t.TuiDocumentSelectionException=i,t.TuiInvalidDayException=u,t.TuiInvalidMonthException=a,t.TuiInvalidYearException=s,t.TuiNoHostException=f,t.TuiOwnerDocumentException=p,t.TuiPureException=h,t.TuiTableSortKeyException=d,t.TuiTsParserException=E,t.TuiValueChangesException=y,t.TuiValuePresentException=x,t.TuiXmlParsingException=T,Object.defineProperty(t,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-exceptions.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","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"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__extends","TypeError","String","__","this","constructor","create","TuiComputedDocumentException","_super","Error","TuiDocumentSelectionException","InvalidDayException","day","TuiInvalidDayException","InvalidMonthException","month","TuiInvalidMonthException","InvalidYearException","year","TuiInvalidYearException","TuiNoHostException","TuiOwnerDocumentException","TuiPureException","TuiTableSortKeyException","TuiTsParserException","TuiValueChangesException","TuiValuePresentException","TuiXmlParsingException"],"mappings":"6TAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAA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,qBCCpC,SAAAY,WACIb,EAAAT,KAAAK,KAAM,wCAAsCA,KAEpD,OAJ+CJ,EAAAqB,EAAAb,GAI/Ca,GAJ+CZ,qBCC3C,SAAAa,WACId,EAAAT,KAAAK,KAAM,uDAAqDA,KAEnE,OAJsCJ,EAAAsB,EAAAd,GAItCc,GAJsCb,qBCClC,SAAAc,WACIf,EAAAT,KAAAK,KAAM,+BAA6BA,KAE3C,OAJ8CJ,EAAAuB,EAAAf,GAI9Ce,GAJ8Cd,qBCC1C,SAAAe,WACIhB,EAAAT,KAAAK,KAAM,iDAA+CA,KAE7D,OAJ0CJ,EAAAwB,EAAAhB,GAI1CgB,GAJ0Cf,qBCCtC,SAAAgB,WACIjB,EAAAT,KAAAK,KAAM,uCAAqCA,KAEnD,OAJ8CJ,EAAAyB,EAAAjB,GAI9CiB,GAJ8ChB,qBCC1C,SAAAiB,WACIlB,EAAAT,KAAAK,KAAM,uBAAqBA,KAEnC,OAJ8CJ,EAAA0B,EAAAlB,GAI9CkB,GAJ8CjB,qBCC1C,SAAAkB,WACInB,EAAAT,KAAAK,KAAM,6BAA2BA,KAEzC,OAJ4CJ,EAAA2B,EAAAnB,GAI5CmB,GAJ4ClB","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","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"]}
@@ -1,2 +0,0 @@
1
- !function(n){"function"==typeof define&&define.amd?define("@taiga-ui/cdk/interfaces",n):n()}((function(){}));
2
- //# sourceMappingURL=taiga-ui-cdk-interfaces.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@taiga-ui/cdk/exceptions"),require("@taiga-ui/cdk/utils/miscellaneous"),require("rxjs"),require("rxjs/operators"),require("@taiga-ui/cdk/utils/focus")):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/observables",["exports","@taiga-ui/cdk/exceptions","@taiga-ui/cdk/utils/miscellaneous","rxjs","rxjs/operators","@taiga-ui/cdk/utils/focus"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].cdk=e["taiga-ui"].cdk||{},e["taiga-ui"].cdk.observables={}),e["taiga-ui"].cdk.exceptions,e["taiga-ui"].cdk.utils.miscellaneous,e.rxjs,e.rxjs.operators,e["taiga-ui"].cdk.utils.focus)}(this,(function(e,t,r,n,i,u){"use strict";function o(e,t,r){return void 0===r&&(r={}),n.fromEvent(e,t,r)}var a=o;function s(e){return n.merge(o(e,"mouseup"),o(e,"dragend"))}var c,p=s;(c=e.TuiDragStage||(e.TuiDragStage={}))[c.Start=0]="Start",c[c.Continues=1]="Continues",c[c.End=2]="End";var f=function(e,t){this.stage=e,this.event=t};function l(e){var u=e.ownerDocument;if(!u)throw new t.TuiOwnerDocumentException;return n.concat(o(e,"mousedown").pipe(i.take(1),i.map((function(e){return new f(0,e)}))),n.merge(o(u,"mousemove").pipe(i.map((function(e){return new f(1,e)}))),s(u).pipe(i.take(1),i.map((function(e){return new f(2,e)})),i.endWith(null))).pipe(i.takeWhile(r.isPresent))).pipe(i.repeat())}var d,m,g=l;function v(e){return void 0===e&&(e=0),n.pipe(i.switchMapTo(n.timer(e).pipe(i.mapTo(!1),i.startWith(!0))),i.distinctUntilChanged())}function b(e){var r=o(e,"blur"),a=e.ownerDocument;if(!a)throw new t.TuiOwnerDocumentException;return m&&d||(d=o(a,"mouseup",{capture:!0}).pipe(v(),i.startWith(!1),i.shareReplay({bufferSize:1,refCount:!0})),m=o(a,"mousedown",{capture:!0}).pipe(v(),i.startWith(!1),i.shareReplay({bufferSize:1,refCount:!0}))),n.merge(n.concat(o(e,"focus").pipe(i.take(1)),r.pipe(i.filter((function(){return!u.isNativeFocused(e)})),i.take(1),i.ignoreElements())).pipe(i.repeat(),i.withLatestFrom(m,d,(function(e,t,r){return t||r})),i.filter((function(e){return!e})))).pipe(i.switchMapTo(r.pipe(i.mapTo(!1),i.take(1),i.startWith(!0))),i.distinctUntilChanged())}var h=b;function w(e){return e.changes.pipe(i.map((function(){return r.getOriginalArrayFromQueryList(e)})),i.startWith(r.getOriginalArrayFromQueryList(e)))}var k=w;function x(){return i.map((function(e){if(!r.isPresent(e))throw new t.TuiValuePresentException;return e}))}var T=x;function y(e,r){var n=(void 0===r?{onlyTrusted:!0}:r).onlyTrusted,u=e.ownerDocument;if(!u)throw new t.TuiOwnerDocumentException;return o(e,"mousedown").pipe(i.filter((function(e){return e.isTrusted||!n})),i.switchMapTo(s(u).pipe(i.mapTo(!1),i.take(1),i.startWith(!0))))}var D=y;function O(){return i.tap((function(e){return e.preventDefault()}))}var F=O;function C(){return i.tap((function(e){e.stopPropagation()}))}var E=C;function P(e){return i.tap((function(){e.markForCheck()}))}var W=P;function j(e){return function(t){return new n.Observable((function(r){return t.subscribe({next:function(t){return e.run((function(){return r.next(t)}))},error:function(t){return e.run((function(){return r.error(t)}))},complete:function(){return e.run((function(){return r.complete()}))}})}))}}function S(e){return function(t){return new n.Observable((function(r){return e.runOutsideAngular((function(){return t.subscribe(r)}))}))}}e.TuiDragState=f,e.dragAndDropFrom=l,e.focusVisibleObservable=b,e.itemsQueryListObservable=w,e.mouseDragFinishFrom=s,e.mustBePresent=x,e.pressedObservable=y,e.preventDefault=O,e.stopPropagation=C,e.tuiDragAndDropFrom=g,e.tuiFocusVisibleObservable=h,e.tuiIsAlive=v,e.tuiItemsQueryListObservable=k,e.tuiMouseDragFinishFrom=p,e.tuiMustBePresent=T,e.tuiPressedObservable=D,e.tuiPreventDefault=F,e.tuiReplayedValueChangesFrom=function(e){return new n.Observable((function(r){if(!e.valueChanges)throw new t.TuiValueChangesException;e.valueChanges.pipe(i.startWith(e.value)).subscribe(r)}))},e.tuiStopPropagation=E,e.tuiTypedFromEvent=a,e.tuiWatch=W,e.tuiZoneOptimized=function(e){return n.pipe(S(e),j(e))},e.tuiZonefree=S,e.tuiZonefull=j,e.typedFromEvent=o,e.watch=P,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-observables.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"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/focus-visible-observable.ts","ng://@taiga-ui/cdk/observables/is-alive.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/stop-propagation.ts","ng://@taiga-ui/cdk/observables/watch.ts","ng://@taiga-ui/cdk/observables/zone-free.ts","ng://@taiga-ui/cdk/observables/replay-control-value-changes.ts"],"names":["typedFromEvent","target","event","options","fromEvent","tuiTypedFromEvent","mouseDragFinishFrom","merge","TuiDragStage","tuiMouseDragFinishFrom","stage","this","dragAndDropFrom","element","ownerDocument","TuiOwnerDocumentException","concat","pipe","take","map","TuiDragState","endWith","takeWhile","isPresent","repeat","documentMouseUpIsAlive$","documentMouseDownIsAlive$","tuiDragAndDropFrom","tuiIsAlive","lifespan","switchMapTo","timer","mapTo","startWith","distinctUntilChanged","focusVisibleObservable","elementBlur$","capture","shareReplay","bufferSize","refCount","filter","isNativeFocused","ignoreElements","withLatestFrom","_event","elementActual","documentActual","isUserFocus","tuiFocusVisibleObservable","itemsQueryListObservable","queryList","changes","getOriginalArrayFromQueryList","tuiItemsQueryListObservable","mustBePresent","value","TuiValuePresentException","tuiMustBePresent","pressedObservable","_a","onlyTrusted","isTrusted","tuiPressedObservable","preventDefault","tap","tuiPreventDefault","stopPropagation","e","tuiStopPropagation","watch","changeDetectorRef","markForCheck","tuiWatch","tuiZonefull","ngZone","source","Observable","subscriber","subscribe","next","run","error","complete","tuiZonefree","runOutsideAngular","control","valueChanges","TuiValueChangesException"],"mappings":"8tBAuDgBA,EACZC,EACAC,EACAC,GAEA,YAFA,IAAAA,IAAAA,EAAA,IAEOC,EAAAA,UAAUH,EAAQC,EAAOC,OAGvBE,EAAoBL,WCpDjBM,EAEdL,GACE,OAAOM,EAAAA,MAAMP,EAAeC,EAAQ,WAAYD,EAAeC,EAAQ,gBCNzDO,EDSLC,EAAyBH,GCTpBE,EAAAA,EAAAA,eAAAA,EAAAA,aAAY,KAC1BA,EAAA,MAAA,GAAA,QACAA,EAAAA,EAAA,UAAA,GAAA,YACAA,EAAAA,EAAA,IAAA,GAAA,YAIA,SAAqBE,EAA8BR,GA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AAeC,GAC3B,OAAO,SAAAC,GACH,OAAA,IAAIC,EAAAA,YAAW,SAAAC,GACX,OAAAF,EAAOG,UAAU,CACbC,KAAM,SAAAxB,GAAS,OAAAmB,EAAOM,KAAI,WAAM,OAAAH,EAAWE,KAAKxB,OAChD0B,MAAO,SAACA,GAAmB,OAAAP,EAAOM,KAAI,WAAM,OAAAH,EAAWI,MAAMA,OAC7DC,SAAU,WAAM,OAAAR,EAAOM,KAAI,WAAM,OAAAH,EAAWK,8BAK5CC,EAAeT,GAC3B,OAAO,SAAAC,GACH,OAAA,IAAIC,EAAAA,YAAW,SAAAC,GACX,OAAAH,EAAOU,mBAAkB,WAAM,OAAAT,EAAOG,UAAUD,wbCPxDQ,GAEA,OAAO,IAAIT,EAAAA,YAAW,SAAAC,GAClB,IAAKQ,EAAQC,aACT,MAAM,IAAIC,EAAAA,yBAGdF,EAAQC,aAAatE,KAAKgB,EAAAA,UAAUqD,EAAQ9B,QAAQuB,UAAUD,6FDIlCH,GAChC,OAAO1D,EAAAA,KAAKmE,EAAYT,GAASD,EAAYC","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 {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 {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 {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 {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","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"]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/pipes/filter",["exports","@angular/core"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].cdk=e["taiga-ui"].cdk||{},e["taiga-ui"].cdk.pipes=e["taiga-ui"].cdk.pipes||{},e["taiga-ui"].cdk.pipes.filter={}),e.ng.core)}(this,(function(e,t){"use strict";function r(e,t,r,i){var n,o=arguments.length,u=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(u=(o<3?n(u):o>3?n(t,r,u):n(t,r))||u);return o>3&&u&&Object.defineProperty(t,r,u),u}Object.create;function i(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,n,o=r.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)u.push(i.value)}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return u}function n(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(i(arguments[t]));return e}Object.create;var o=function(){function e(){}return e.prototype.transform=function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return e.filter((function(e){return t.apply(void 0,n([e],r))}))},e=r([t.Pipe({name:"tuiFilter"})],e)}(),u=function(){function e(){}return e=r([t.NgModule({exports:[o],declarations:[o]})],e)}();e.TuiFilterPipe=o,e.TuiFilterPipeModule=u,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-pipes-filter.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/cdk/pipes/filter/filter.pipe.ts","ng://@taiga-ui/cdk/pipes/filter/filter.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","create","__read","o","n","m","Symbol","iterator","e","call","ar","next","done","push","value","error","__spread","concat","TuiFilterPipe","prototype","transform","items","matcher","args","_i","filter","item","apply","Pipe","name","TuiFilterPipeModule","NgModule","exports","declarations"],"mappings":"0aAsDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GAChJ,OAAOH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,EAiDnCC,OAAOM,OA4B7B,SAASC,EAAOC,EAAGC,GACtB,IAAIC,EAAsB,mBAAXC,QAAyBH,EAAEG,OAAOC,UACjD,IAAKF,EAAG,OAAOF,EACf,IAAmBT,EAAYc,EAA3BT,EAAIM,EAAEI,KAAKN,GAAOO,EAAK,GAC3B,IACI,WAAc,IAANN,GAAgBA,KAAM,MAAQV,EAAIK,EAAEY,QAAQC,MAAMF,EAAGG,KAAKnB,EAAEoB,OAExE,MAAOC,GAASP,EAAI,CAAEO,MAAOA,GACjC,QACQ,IACQrB,IAAMA,EAAEkB,OAASP,EAAIN,EAAU,SAAIM,EAAEI,KAAKV,GAE1D,QAAkB,GAAIS,EAAG,MAAMA,EAAEO,OAE7B,OAAOL,EAIJ,SAASM,IACZ,IAAK,IAAIN,EAAK,GAAIX,EAAI,EAAGA,EAAIP,UAAUC,OAAQM,IAC3CW,EAAKA,EAAGO,OAAOf,EAAOV,UAAUO,KACpC,OAAOW,EAyDcf,OAAOM,wBCjNhC,SAAAiB,KAWA,OAHIA,EAAAC,UAAAC,UAAA,SAAaC,EAAqBC,OAAwB,IAAAC,EAAA,GAAAC,EAAA,EAAAA,EAAAhC,UAAAC,OAAA+B,IAAAD,EAAAC,EAAA,GAAAhC,UAAAgC,GACtD,OAAOH,EAAMI,QAAO,SAAAC,GAAQ,OAAAJ,EAAOK,WAAA,EAAAX,EAAA,CAACU,GAASH,QATxCL,EAAajC,EAAA,CADzB2C,EAAAA,KAAK,CAACC,KAAM,eACAX,mBCIb,SAAAY,KAAkC,OAArBA,EAAmB7C,EAAA,CAJ/B8C,EAAAA,SAAS,CACNC,QAAS,CAACd,GACVe,aAAc,CAACf,MAENY","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","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"]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/pipes/mapper",["exports","@angular/core"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].cdk=e["taiga-ui"].cdk||{},e["taiga-ui"].cdk.pipes=e["taiga-ui"].cdk.pipes||{},e["taiga-ui"].cdk.pipes.mapper={}),e.ng.core)}(this,(function(e,t){"use strict";function r(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(i=e[c])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}Object.create;function n(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function i(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(n(arguments[t]));return e}Object.create;var o=function(){function e(){}return e.prototype.transform=function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return t.apply(void 0,i([e],r))},e=r([t.Pipe({name:"tuiMapper"})],e)}(),a=function(){function e(){}return e=r([t.NgModule({exports:[o],declarations:[o]})],e)}();e.TuiMapperPipe=o,e.TuiMapperPipeModule=a,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-pipes-mapper.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/cdk/pipes/mapper/mapper.pipe.ts","ng://@taiga-ui/cdk/pipes/mapper/mapper.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","create","__read","o","n","m","Symbol","iterator","e","call","ar","next","done","push","value","error","__spread","concat","TuiMapperPipe","prototype","transform","mapper","args","_i","apply","Pipe","name","TuiMapperPipeModule","NgModule","exports","declarations"],"mappings":"0aAsDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAIC,U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GAC/C,OAAOF,EAAMG,WAAA,EAAAR,EAAA,CAACF,GAAUQ,KATnBJ,EAAajC,EAAA,CADzBwC,EAAAA,KAAK,CAACC,KAAM,eACAR,mBCIb,SAAAS,KAAkC,OAArBA,EAAmB1C,EAAA,CAJ/B2C,EAAAA,SAAS,CACNC,QAAS,CAACX,GACVY,aAAc,CAACZ,MAENS","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {Pipe, PipeTransform} from '@angular/core';\nimport {TuiMapper} from '@taiga-ui/cdk/types';\n\n@Pipe({name: 'tuiMapper'})\nexport class TuiMapperPipe implements PipeTransform {\n /**\n * Maps object to an arbitrary result through a mapper function\n *\n * @param value an item to transform\n * @param mapper a mapping function\n * @param args arbitrary number of additional arguments\n */\n transform<T, G>(value: T, mapper: TuiMapper<T, G>, ...args: any[]): G {\n return mapper(value, ...args);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiMapperPipe} from './mapper.pipe';\n\n@NgModule({\n exports: [TuiMapperPipe],\n declarations: [TuiMapperPipe],\n})\nexport class TuiMapperPipeModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(e,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports,require("@taiga-ui/cdk/pipes/filter"),require("@taiga-ui/cdk/pipes/mapper")):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/pipes",["exports","@taiga-ui/cdk/pipes/filter","@taiga-ui/cdk/pipes/mapper"],i):i(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].cdk=e["taiga-ui"].cdk||{},e["taiga-ui"].cdk.pipes={}),e["taiga-ui"].cdk.pipes.filter,e["taiga-ui"].cdk.pipes.mapper)}(this,(function(e,i,t){"use strict";Object.keys(i).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return i[t]}})})),Object.keys(t).forEach((function(i){"default"!==i&&Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[i]}})})),Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-pipes.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("rxjs"),require("@angular/common"),require("@taiga-ui/cdk/tokens"),require("@taiga-ui/cdk/observables"),require("rxjs/operators"),require("@taiga-ui/cdk/utils/dom"),require("@ng-web-apis/common"),require("@taiga-ui/cdk/constants"),require("@ng-web-apis/resize-observer"),require("@taiga-ui/cdk/classes"),require("@taiga-ui/cdk/utils/math"),require("@taiga-ui/cdk/utils/miscellaneous"),require("@taiga-ui/cdk/utils")):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/services",["exports","@angular/core","rxjs","@angular/common","@taiga-ui/cdk/tokens","@taiga-ui/cdk/observables","rxjs/operators","@taiga-ui/cdk/utils/dom","@ng-web-apis/common","@taiga-ui/cdk/constants","@ng-web-apis/resize-observer","@taiga-ui/cdk/classes","@taiga-ui/cdk/utils/math","@taiga-ui/cdk/utils/miscellaneous","@taiga-ui/cdk/utils"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].cdk=e["taiga-ui"].cdk||{},e["taiga-ui"].cdk.services={}),e.ng.core,e.rxjs,e.ng.common,e["taiga-ui"].cdk.tokens,e["taiga-ui"].cdk.observables,e.rxjs.operators,e["taiga-ui"].cdk.utils.dom,e.common$1,e["taiga-ui"].cdk.constants,e.resizeObserver,e["taiga-ui"].cdk.classes,e["taiga-ui"].cdk.utils.math,e["taiga-ui"].cdk.utils.miscellaneous,e["taiga-ui"].cdk.utils)}(this,(function(e,t,n,r,o,c,i,a,s,u,p,l,f,d,m){"use strict";var v=function(e,t){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function I(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function y(e,t,n,r){var o,c=arguments.length,i=c<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(i=(c<3?o(i):c>3?o(t,n,i):o(t,n))||i);return c>3&&i&&Object.defineProperty(t,n,i),i}function g(e,t){return function(n,r){t(n,r,e)}}Object.create;function h(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,c=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(r=c.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=c.return)&&n.call(c)}finally{if(o)throw o.error}}return i}Object.create;var E=function(e){function n(){return e.call(this,1)||this}return I(n,e),n.prototype.ngOnDestroy=function(){this.next(),this.complete()},n=y([t.Injectable()],n)}(n.ReplaySubject),j=function(){function e(e,t,n,r){this.resolver=e,this.injector=t,this.documentRef=n,this.renderer=r,this.map=new Map}return e.prototype.addComponent=function(e){this.map.has(e)||this.map.set(e,this.resolver.resolveComponentFactory(e).create(this.injector))},e.prototype.addStyle=function(e,t){if(!this.documentRef.head.querySelector("style["+t+"]")){var n=this.renderer.createElement("style");this.renderer.setProperty(n,"textContent",e),this.renderer.setAttribute(n,t,""),this.documentRef.head.appendChild(n)}},e.ctorParameters=function(){return[{type:t.ComponentFactoryResolver,decorators:[{type:t.Inject,args:[t.ComponentFactoryResolver]}]},{type:t.Injector,decorators:[{type:t.Inject,args:[t.INJECTOR]}]},{type:Document,decorators:[{type:t.Inject,args:[r.DOCUMENT]}]},{type:t.Renderer2,decorators:[{type:t.Inject,args:[o.TUI_DEFAULT_RENDERER]}]}]},e.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(t.ComponentFactoryResolver),t.ɵɵinject(t.INJECTOR),t.ɵɵinject(r.DOCUMENT),t.ɵɵinject(o.TUI_DEFAULT_RENDERER))},token:e,providedIn:"root"}),e=y([t.Injectable({providedIn:"root"}),g(0,t.Inject(t.ComponentFactoryResolver)),g(1,t.Inject(t.INJECTOR)),g(2,t.Inject(r.DOCUMENT)),g(3,t.Inject(o.TUI_DEFAULT_RENDERER))],e)}(),b=function(e){function r(t,n,r){var o=t.nativeElement,a=e.call(this,(function(e){return a.focusVisible$.subscribe(e)}))||this;return a.focusVisible$=c.focusVisibleObservable(o).pipe(c.watch(n),i.takeUntil(r)),a}return I(r,e),r.ctorParameters=function(){return[{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]},{type:n.Observable,decorators:[{type:t.Inject,args:[E]}]}]},r=y([t.Injectable(),g(0,t.Inject(t.ElementRef)),g(1,t.Inject(t.ChangeDetectorRef)),g(2,t.Inject(E))],r)}(n.Observable),O=function(){function e(e,t){this.ngZone=t,this.documentEvents$=n.merge(c.typedFromEvent(e,"mousemove"),c.typedFromEvent(e,"touchstart",{capture:!0}))}return e.prototype.createHovered$=function(e,t){var r=this;return void 0===t&&(t={passive:!0}),n.merge(c.typedFromEvent(e,"mouseenter",t),c.typedFromEvent(e,"touchstart",t)).pipe(i.switchMap((function(){return n.merge(c.typedFromEvent(e,"mouseleave",t),r.documentEvents$.pipe(i.filter((function(t){return!e.contains(a.getActualTarget(t))})),c.tuiZoneOptimized(r.ngZone),i.take(1))).pipe(i.mapTo(!1),i.startWith(!0))})),i.distinctUntilChanged())},e.ctorParameters=function(){return[{type:Document,decorators:[{type:t.Inject,args:[r.DOCUMENT]}]},{type:t.NgZone,decorators:[{type:t.Inject,args:[t.NgZone]}]}]},e.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(r.DOCUMENT),t.ɵɵinject(t.NgZone))},token:e,providedIn:"root"}),e=y([t.Injectable({providedIn:"root"}),g(0,t.Inject(r.DOCUMENT)),g(1,t.Inject(t.NgZone))],e)}(),R=function(){function e(){}var n;return n=e,e.prototype.generate=function(){return"tui_"+n.autoId+++Date.now()},e.autoId=0,e.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e=n=y([t.Injectable({providedIn:"root"})],e)}(),T=function(e){function r(t,r){var o=e.call(this,(function(e){return o.callback$.subscribe(e)}))||this;return o.callback$=n.defer((function(){for(var e=t.nativeElement,o=[r,e];e.parentElement;)e=e.parentElement,o.push(e);return n.merge.apply(void 0,function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(h(arguments[t]));return e}(o.map((function(e){return c.typedFromEvent(e,"scroll")}))))})),o}return I(r,e),r.ctorParameters=function(){return[{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:Window,decorators:[{type:t.Inject,args:[s.WINDOW]}]}]},r=y([t.Injectable(),g(0,t.Inject(t.ElementRef)),g(1,t.Inject(s.WINDOW))],r)}(n.Observable),N=function(e){function r(t,r,o,s,p,l){var f=r.nativeElement,d=e.call(this,(function(e){return d.obscured$.subscribe(e)}))||this;return d.obscured$=n.merge(n.merge(t,n.fromEvent(s,"resize")).pipe(i.delay(0)),l.pipe(i.throttleTime(u.POLLING_TIME))).pipe(i.map((function(){return a.getElementObscurers(f)})),i.startWith(null),i.distinctUntilChanged(),c.tuiZoneOptimized(o),i.takeUntil(p)),d}return I(r,e),r.ctorParameters=function(){return[{type:T,decorators:[{type:t.Inject,args:[T]},{type:t.Self}]},{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:t.NgZone,decorators:[{type:t.Inject,args:[t.NgZone]}]},{type:Window,decorators:[{type:t.Inject,args:[s.WINDOW]}]},{type:n.Observable,decorators:[{type:t.Inject,args:[E]}]},{type:n.Observable,decorators:[{type:t.Inject,args:[s.ANIMATION_FRAME]}]}]},r=y([t.Injectable(),g(0,t.Inject(T)),g(0,t.Self()),g(1,t.Inject(t.ElementRef)),g(2,t.Inject(t.NgZone)),g(3,t.Inject(s.WINDOW)),g(4,t.Inject(E)),g(5,t.Inject(s.ANIMATION_FRAME))],r)}(n.Observable),S=function(e){function o(t,r){var o=t.nativeElement;return e.call(this,(function(e){n.merge(c.typedFromEvent(o,"touchstart",{passive:!0}),c.typedFromEvent(o,"mousedown")).pipe(i.switchMapTo(n.merge(c.typedFromEvent(r,"touchmove",{passive:!0}).pipe(i.filter((function(e){return e.touches.length<2})),i.map((function(e){return e.touches[0]}))),c.typedFromEvent(r,"mousemove"))),i.pairwise(),i.map((function(e){var t=h(e,2),n=t[0],r=t[1];return[r.clientX-n.clientX,r.clientY-n.clientY]})),i.takeUntil(n.merge(c.typedFromEvent(r,"touchend"),c.typedFromEvent(r,"mouseup"))),i.repeat()).subscribe(e)}))||this}return I(o,e),o.ctorParameters=function(){return[{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:Document,decorators:[{type:t.Inject,args:[r.DOCUMENT]}]}]},o=y([t.Injectable(),g(0,t.Inject(t.ElementRef)),g(1,t.Inject(r.DOCUMENT))],o)}(n.Observable),k=function(e){function r(t,n,r,o,a,s){return(e.call(this,t,n,o,a)||this).pipe(i.catchError((function(){return s.pipe(i.throttleTime(u.POLLING_TIME),i.map((function(){return t.nativeElement.clientWidth+" "+t.nativeElement.clientHeight})),i.distinctUntilChanged(),i.mapTo(u.EMPTY_ARRAY))})),i.debounceTime(0),c.tuiZonefree(n),i.takeUntil(r))}return I(r,e),r.ctorParameters=function(){return[{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:t.NgZone,decorators:[{type:t.Inject,args:[t.NgZone]}]},{type:n.Observable,decorators:[{type:t.Inject,args:[E]}]},{type:Boolean,decorators:[{type:t.Inject,args:[p.RESIZE_OBSERVER_SUPPORT]}]},{type:void 0,decorators:[{type:t.Inject,args:[p.RESIZE_OPTION_BOX]}]},{type:n.Observable,decorators:[{type:t.Inject,args:[s.ANIMATION_FRAME]}]}]},r=y([t.Injectable(),g(0,t.Inject(t.ElementRef)),g(1,t.Inject(t.NgZone)),g(2,t.Inject(E)),g(3,t.Inject(p.RESIZE_OBSERVER_SUPPORT)),g(4,t.Inject(p.RESIZE_OPTION_BOX)),g(5,t.Inject(s.ANIMATION_FRAME))],r)}(p.ResizeObserverService),_=function(){function e(e,t){this.performanceRef=e,this.animationFrame$=t}return e.prototype.scroll$=function(e,t,r,o){var c=this;void 0===r&&(r=e.scrollLeft),void 0===o&&(o=300),l.tuiAssert.assert(o>=0,"Duration cannot be negative"),l.tuiAssert.assert(t>=0,"scrollTop cannot be negative"),l.tuiAssert.assert(r>=0,"scrollLeft cannot be negative");var a=e.scrollTop,s=e.scrollLeft,u=t-a,p=r-s;return(o?n.defer((function(){return n.of(c.performanceRef.now())})).pipe(i.switchMap((function(e){return c.animationFrame$.pipe(i.map((function(t){return t-e})))})),i.map((function(e){return d.easeInOutQuad(f.clamp(e/o,0,1))})),i.map((function(e){return[a+u*e,s+p*e]})),i.takeUntil(n.timer(o))):n.of([t,r])).pipe(i.tap((function(t){var n=h(t,2),r=n[0],o=n[1];e.scrollTop=r,e.scrollLeft=o})))},e.ctorParameters=function(){return[{type:Performance,decorators:[{type:t.Inject,args:[s.PERFORMANCE]}]},{type:n.Observable,decorators:[{type:t.Inject,args:[s.ANIMATION_FRAME]}]}]},e.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(s.PERFORMANCE),t.ɵɵinject(s.ANIMATION_FRAME))},token:e,providedIn:"root"}),e=y([t.Injectable({providedIn:"root"}),g(0,t.Inject(s.PERFORMANCE)),g(1,t.Inject(s.ANIMATION_FRAME))],e)}(),M=function(){function e(){this.cache=new Map}return e.prototype.request=function(e){var t=this.cache.get(e);if(t)return t;var r=new n.Observable((function(t){var n=new XMLHttpRequest;return n.onreadystatechange=function(){if(4===n.readyState){var e=n.responseType?n.response:n.responseText;200===n.status?(t.next(e),t.complete()):t.error(e)}},n.open("GET",e),n.send(),function(){n.abort()}})).pipe(i.shareReplay({bufferSize:1,refCount:!1}));return this.cache.set(e,r),r},e.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new e},token:e,providedIn:"root"}),e=y([t.Injectable({providedIn:"root"})],e)}(),F=function(e){function a(t,r,o){var a=t.nativeElement,s=r.timeout,u=r.threshold;return e.call(this,(function(e){n.merge(c.typedFromEvent(a,"touchstart",{passive:!0}),c.typedFromEvent(o,"touchend")).pipe(i.pairwise(),i.filter((function(e){var t=h(e,2),n=t[0],r=t[1];return!!n.touches.length&&n.touches[0].identifier===r.changedTouches[0].identifier})),i.map((function(e){var t=h(e,2),n=t[0],r=t[1],o=n.touches[0].clientX,c=n.touches[0].clientY,i=o-r.changedTouches[0].clientX,a=c-r.changedTouches[0].clientY,p=r.timeStamp-n.timeStamp;return(Math.abs(i)>u||Math.abs(a)>u)&&p<s?{direction:d.getSwipeDirection(i,a),events:[n,r]}:null})),i.filter(d.isPresent)).subscribe(e)}))||this}return I(a,e),a.ctorParameters=function(){return[{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:void 0,decorators:[{type:t.Inject,args:[o.TUI_SWIPE_OPTIONS]}]},{type:Document,decorators:[{type:t.Inject,args:[r.DOCUMENT]}]}]},a=y([t.Injectable(),g(0,t.Inject(t.ElementRef)),g(1,t.Inject(o.TUI_SWIPE_OPTIONS)),g(2,t.Inject(r.DOCUMENT))],a)}(n.Observable),P=function(e){function r(t,r){var o=t.nativeElement,a=r.wheelSensitivity;return e.call(this,(function(e){n.merge(c.typedFromEvent(o,"touchstart",{passive:!0}).pipe(i.filter((function(e){return e.touches.length>1})),i.switchMap((function(e){return c.typedFromEvent(o,"touchmove",{passive:!0}).pipe(c.preventDefault(),i.scan((function(e,t){var n=m.distanceBetweenTouches(t);return{event:t,distance:n,delta:.01*(n-e.distance)}}),{event:e,distance:m.distanceBetweenTouches(e),delta:0}),i.map((function(e){var t=e.event,n=e.delta;return{clientX:(t.touches[0].clientX+t.touches[1].clientX)/2,clientY:(t.touches[0].clientY+t.touches[1].clientY)/2,delta:n,event:t}})),i.takeUntil(c.typedFromEvent(o,"touchend")))}))),c.typedFromEvent(o,"wheel",{passive:!1}).pipe(c.preventDefault(),i.map((function(e){return{clientX:e.clientX,clientY:e.clientY,delta:-e.deltaY*a,event:e}})))).subscribe(e)}))||this}return I(r,e),r.ctorParameters=function(){return[{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:void 0,decorators:[{type:t.Inject,args:[o.TUI_ZOOM_OPTIONS]}]}]},r=y([t.Injectable(),g(0,t.Inject(t.ElementRef)),g(1,t.Inject(o.TUI_ZOOM_OPTIONS))],r)}(n.Observable);e.TuiDestroyService=E,e.TuiDirectiveStylesService=j,e.TuiFocusVisibleService=b,e.TuiHoveredService=O,e.TuiIdService=R,e.TuiObscuredService=N,e.TuiPanService=S,e.TuiParentsScrollService=T,e.TuiResizeService=k,e.TuiScrollService=_,e.TuiStaticRequestService=M,e.TuiSwipeService=F,e.TuiZoomService=P,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-services.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/cdk/services/destroy.service.ts","ng://@taiga-ui/cdk/services/directive-styles.service.ts","ng://@taiga-ui/cdk/services/focus-visible.service.ts","ng://@taiga-ui/cdk/services/hovered.service.ts","ng://@taiga-ui/cdk/services/id.service.ts","ng://@taiga-ui/cdk/services/parents-scroll.service.ts","ng://@taiga-ui/cdk/services/obscured.service.ts","ng://@taiga-ui/cdk/services/pan.service.ts","ng://@taiga-ui/cdk/services/resize.service.ts","ng://@taiga-ui/cdk/services/scroll.service.ts","ng://@taiga-ui/cdk/services/static-request.service.ts","ng://@taiga-ui/cdk/services/swipe.service.ts","ng://@taiga-ui/cdk/services/zoom.service.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__extends","TypeError","String","__","this","constructor","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","__read","o","n","m","Symbol","iterator","e","ar","next","done","push","value","error","TuiDestroyService","_super","ngOnDestroy","complete","Injectable","ReplaySubject","TuiDirectiveStylesService","resolver","injector","documentRef","renderer","map","Map","addComponent","component","has","set","resolveComponentFactory","addStyle","styles","attribute","head","querySelector","style","createElement","setProperty","setAttribute","appendChild","ComponentFactoryResolver","type","Inject","args","Injector","INJECTOR","Document","DOCUMENT","Renderer2","TUI_DEFAULT_RENDERER","providedIn","TuiFocusVisibleService","_a","changeDetectorRef","destroy$","nativeElement","_this","subscriber","focusVisible$","subscribe","focusVisibleObservable","pipe","watch","takeUntil","ElementRef","ChangeDetectorRef","Observable","TuiHoveredService","ngZone","documentEvents$","merge","typedFromEvent","capture","createHovered$","options","passive","switchMap","filter","event","contains","getActualTarget","tuiZoneOptimized","take","mapTo","startWith","distinctUntilChanged","NgZone","TuiIdService","generate","TuiIdService_1","autoId","Date","now","TuiParentsScrollService","elementRef","windowRef","callback$","defer","eventTargets","parentElement","apply","concat","__spread","element","Window","WINDOW","TuiObscuredService","parentsScroll$","animationFrame$","obscured$","fromEvent","delay","throttleTime","POLLING_TIME","getElementObscurers","Self","ANIMATION_FRAME","TuiPanService","switchMapTo","touches","pairwise","_b","first","second","clientX","clientY","repeat","TuiResizeService","support","box","catchError","clientWidth","clientHeight","EMPTY_ARRAY","debounceTime","tuiZonefree","RESIZE_OBSERVER_SUPPORT","RESIZE_OPTION_BOX","ResizeObserverService","TuiScrollService","performanceRef","scroll$","scrollTop","scrollLeft","duration","tuiAssert","assert","initialTop","initialLeft","deltaTop","deltaLeft","of","start","elapsed","easeInOutQuad","clamp","percent","timer","tap","Performance","PERFORMANCE","TuiStaticRequestService","cache","request","url","get","piped","observer","xhr","XMLHttpRequest","onreadystatechange","readyState","response","responseType","responseText","status","open","send","abort","shareReplay","bufferSize","refCount","TuiSwipeService","timeout","threshold","identifier","changedTouches","end","startX","startY","distanceX","distanceY","timeStamp","Math","abs","direction","getSwipeDirection","events","isPresent","TUI_SWIPE_OPTIONS","TuiZoomService","wheelSensitivity","startEvent","preventDefault","scan","prev","distance","distanceBetweenTouches","delta","wheel","delta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AAAA,uBAAuBjI,GAExC,MAAO,CACHA,MAAKA,EACLgI,SAAQA,EACRE,MAzBd,KA0BmBF,EAAWD,EAAKC,aAI7B,CACIhI,MAAO4H,EACPI,SAAUC,EAAAA,uBAAuBL,GACjCM,MAAO,IAGfzL,EAAAA,KAAI,SAAC6B,OAAC0B,EAAA1B,EAAA0B,MAAOkI,EAAA5J,EAAA4J,MAUT,MAAO,CAACpF,SARH9C,EAAMyC,QAAQ,GAAGK,QACd9C,EAAMyC,QAAQ,GAAGK,SACrB,EAMaC,SAJZ/C,EAAMyC,QAAQ,GAAGM,QACd/C,EAAMyC,QAAQ,GAAGM,SACrB,EAEsBmF,MAAKA,EAAElI,MAAKA,MAE1Cf,EAAAA,UAAUQ,EAAAA,eAAehB,EAAe,kBAIpDgB,EAAAA,eAAehB,EAAe,QAAS,CAACoB,SAAS,IAAQd,KACrD8I,EAAAA,iBACApL,EAAAA,KAAI,SAAA0L,GAAS,MAAA,CACTrF,QAASqF,EAAMrF,QACfC,QAASoF,EAAMpF,QACfmF,OAAQC,EAAMC,OAAST,EACvB3H,MAAOmI,QAGjBtJ,UAAUF,OACd9E,KAEV,OA5DoCJ,EAAAiO,EAAA3L,4CAESmD,EAAAA,WAAUjF,WAAA,CAAA,CAAA0D,KAA9CC,EAAAA,OAAMC,KAAA,CAACqB,EAAAA,8CACPtB,EAAAA,OAAMC,KAAA,CAACwK,EAAAA,uBAHHX,EAAc1N,EAAA,CAD1BkC,EAAAA,aAGQpB,EAAA,EAAA8C,EAAAA,OAAOsB,EAAAA,aACPpE,EAAA,EAAA8C,EAAAA,OAAOyK,EAAAA,oBAHHX,IAAuBtI,EAAAA","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {Injectable, OnDestroy} from '@angular/core';\nimport {ReplaySubject} from 'rxjs';\n\n/**\n * Observable abstraction over ngOnDestroy to use with takeUntil\n */\n@Injectable()\nexport class TuiDestroyService extends ReplaySubject<void> implements OnDestroy {\n constructor() {\n super(1);\n }\n\n ngOnDestroy(): void {\n this.next();\n this.complete();\n }\n}\n","import {DOCUMENT} from '@angular/common';\nimport {\n ComponentFactoryResolver,\n Inject,\n Injectable,\n INJECTOR,\n Injector,\n Renderer2,\n Type,\n} from '@angular/core';\nimport {TUI_DEFAULT_RENDERER} from '@taiga-ui/cdk/tokens';\n\n/**\n * Service to use styles with directives\n * @dynamic\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class TuiDirectiveStylesService {\n private readonly map = new Map<Type<unknown>, unknown>();\n\n constructor(\n @Inject(ComponentFactoryResolver)\n private readonly resolver: ComponentFactoryResolver,\n @Inject(INJECTOR) private readonly injector: Injector,\n @Inject(DOCUMENT) private readonly documentRef: Document,\n @Inject(TUI_DEFAULT_RENDERER) private readonly renderer: Renderer2,\n ) {}\n\n addComponent(component: Type<unknown>): void {\n if (!this.map.has(component)) {\n this.map.set(\n component,\n this.resolver.resolveComponentFactory(component).create(this.injector),\n );\n }\n }\n\n /** @deprecated use components approach\n * TODO: delete in v3.0\n */\n addStyle(styles: string, attribute: string): void {\n if (this.documentRef.head.querySelector(`style[${attribute}]`)) {\n return;\n }\n\n const style = this.renderer.createElement('style');\n\n this.renderer.setProperty(style, 'textContent', styles);\n this.renderer.setAttribute(style, attribute, '');\n this.documentRef.head.appendChild(style);\n }\n}\n","import {ChangeDetectorRef, ElementRef, Inject, Injectable} from '@angular/core';\nimport {focusVisibleObservable, watch} from '@taiga-ui/cdk/observables';\nimport {Observable} from 'rxjs';\nimport {takeUntil} from 'rxjs/operators';\n\nimport {TuiDestroyService} from './destroy.service';\n\n/**\n * Service to imitate :focus-visible\n * (https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible)\n * in browsers that do not support it\n * @dynamic\n */\n@Injectable()\nexport class TuiFocusVisibleService extends Observable<boolean> {\n private readonly focusVisible$: Observable<boolean>;\n\n constructor(\n @Inject(ElementRef) {nativeElement}: ElementRef<Element>,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TuiDestroyService) destroy$: Observable<void>,\n ) {\n super(subscriber => this.focusVisible$.subscribe(subscriber));\n\n this.focusVisible$ = focusVisibleObservable(nativeElement).pipe(\n watch(changeDetectorRef),\n takeUntil(destroy$),\n );\n }\n}\n","import {DOCUMENT} from '@angular/common';\nimport {Inject, Injectable, NgZone} from '@angular/core';\nimport {tuiZoneOptimized, typedFromEvent} from '@taiga-ui/cdk/observables';\nimport {getActualTarget} from '@taiga-ui/cdk/utils/dom';\nimport {merge, Observable} from 'rxjs';\nimport {\n distinctUntilChanged,\n filter,\n mapTo,\n startWith,\n switchMap,\n take,\n} from 'rxjs/operators';\n\n/** @deprecated TODO remove in v3.0 */\n// @dynamic\n@Injectable({\n providedIn: 'root',\n})\nexport class TuiHoveredService {\n private readonly documentEvents$: Observable<Event>;\n\n constructor(\n @Inject(DOCUMENT) documentRef: Document,\n @Inject(NgZone) private readonly ngZone: NgZone,\n ) {\n this.documentEvents$ = merge(\n typedFromEvent(documentRef, 'mousemove'),\n typedFromEvent(documentRef, 'touchstart', {capture: true}),\n );\n }\n\n createHovered$(\n target: Element,\n options: AddEventListenerOptions = {passive: true},\n ): Observable<boolean> {\n return merge(\n typedFromEvent(target, 'mouseenter', options),\n typedFromEvent(target, 'touchstart', options),\n ).pipe(\n switchMap(() =>\n merge(\n typedFromEvent(target, 'mouseleave', options),\n this.documentEvents$.pipe(\n filter(event => !target.contains(getActualTarget(event))),\n tuiZoneOptimized(this.ngZone),\n take(1),\n ),\n ).pipe(mapTo(false), startWith(true)),\n ),\n distinctUntilChanged(),\n );\n }\n}\n","import {Injectable} from '@angular/core';\n\nconst TUI = 'tui_';\n\n/**\n * Generates unique ids\n */\n@Injectable({\n providedIn: 'root',\n})\nexport class TuiIdService {\n private static autoId = 0;\n\n generate(): string {\n return `${TUI}${TuiIdService.autoId++}${Date.now()}`;\n }\n}\n","import {ElementRef, Inject, Injectable} from '@angular/core';\nimport {WINDOW} from '@ng-web-apis/common';\nimport {typedFromEvent} from '@taiga-ui/cdk/observables';\nimport {defer, merge, Observable} from 'rxjs';\n\n/**\n * Service that subscribes to scroll events of all parent elements\n */\n// Ambient type cannot be used without dynamic https://github.com/angular/angular/issues/23395\n// @dynamic\n@Injectable()\nexport class TuiParentsScrollService extends Observable<Event> {\n private readonly callback$: Observable<Event>;\n\n constructor(\n @Inject(ElementRef) elementRef: ElementRef<Element>,\n @Inject(WINDOW) windowRef: Window,\n ) {\n super(subscriber => this.callback$.subscribe(subscriber));\n\n this.callback$ = defer(() => {\n let {nativeElement} = elementRef;\n const eventTargets: Array<Element | Window> = [windowRef, nativeElement];\n\n while (nativeElement.parentElement) {\n nativeElement = nativeElement.parentElement;\n eventTargets.push(nativeElement);\n }\n\n return merge<Event>(\n ...eventTargets.map<Observable<Event>>(element =>\n typedFromEvent(element, 'scroll'),\n ),\n );\n });\n }\n}\n","import {ElementRef, Inject, Injectable, NgZone, Self} from '@angular/core';\nimport {ANIMATION_FRAME, WINDOW} from '@ng-web-apis/common';\nimport {POLLING_TIME} from '@taiga-ui/cdk/constants';\nimport {tuiZoneOptimized} from '@taiga-ui/cdk/observables';\nimport {getElementObscurers} from '@taiga-ui/cdk/utils/dom';\nimport {fromEvent, merge, Observable} from 'rxjs';\nimport {\n delay,\n distinctUntilChanged,\n map,\n startWith,\n takeUntil,\n throttleTime,\n} from 'rxjs/operators';\n\nimport {TuiDestroyService} from './destroy.service';\nimport {TuiParentsScrollService} from './parents-scroll.service';\n\n// @bad TODO: Consider Intersection Observer with fallback to current implementation\n/**\n * Service that monitors element visibility by subscribing to scrolls\n * and polling with set interval, returns either null or an array\n * of elements that overlap given element edges\n */\n// Ambient type cannot be used without dynamic https://github.com/angular/angular/issues/23395\n// @dynamic\n@Injectable()\nexport class TuiObscuredService extends Observable<null | readonly Element[]> {\n private readonly obscured$: Observable<null | readonly Element[]>;\n\n constructor(\n @Inject(TuiParentsScrollService)\n @Self()\n parentsScroll$: TuiParentsScrollService,\n @Inject(ElementRef) {nativeElement}: ElementRef<Element>,\n @Inject(NgZone) ngZone: NgZone,\n @Inject(WINDOW) windowRef: Window,\n @Inject(TuiDestroyService) destroy$: Observable<void>,\n @Inject(ANIMATION_FRAME) animationFrame$: Observable<number>,\n ) {\n super(subscriber => this.obscured$.subscribe(subscriber));\n\n this.obscured$ = merge(\n // delay is added so it will not interfere with other listeners\n merge(parentsScroll$, fromEvent(windowRef, 'resize')).pipe(delay(0)),\n animationFrame$.pipe(throttleTime(POLLING_TIME)),\n ).pipe(\n map(() => getElementObscurers(nativeElement)),\n startWith(null),\n distinctUntilChanged(),\n tuiZoneOptimized(ngZone),\n takeUntil(destroy$),\n );\n }\n}\n","import {DOCUMENT} from '@angular/common';\nimport {ElementRef, Inject, Injectable} from '@angular/core';\nimport {typedFromEvent} from '@taiga-ui/cdk/observables';\nimport {merge, Observable} from 'rxjs';\nimport {filter, map, pairwise, repeat, switchMapTo, takeUntil} from 'rxjs/operators';\n\n/**\n * @dynamic\n */\n@Injectable()\nexport class TuiPanService extends Observable<readonly [number, number]> {\n constructor(\n @Inject(ElementRef) {nativeElement}: ElementRef<Element>,\n @Inject(DOCUMENT) documentRef: Document,\n ) {\n super(subscriber => {\n merge(\n typedFromEvent(nativeElement, 'touchstart', {passive: true}),\n typedFromEvent(nativeElement, 'mousedown'),\n )\n .pipe(\n switchMapTo(\n merge(\n typedFromEvent(documentRef, 'touchmove', {\n passive: true,\n }).pipe(\n filter(({touches}) => touches.length < 2),\n map(({touches}) => touches[0]),\n ),\n typedFromEvent(documentRef, 'mousemove'),\n ),\n ),\n pairwise(),\n map(([first, second]) => {\n const deltaX = second.clientX - first.clientX;\n const deltaY = second.clientY - first.clientY;\n\n return [deltaX, deltaY] as [number, number];\n }),\n // eslint-disable-next-line rxjs/no-unsafe-takeuntil\n takeUntil(\n merge(\n typedFromEvent(documentRef, 'touchend'),\n typedFromEvent(documentRef, 'mouseup'),\n ),\n ),\n repeat(),\n )\n .subscribe(subscriber);\n });\n }\n}\n","import {ElementRef, Inject, Injectable, NgZone} from '@angular/core';\nimport {ANIMATION_FRAME} from '@ng-web-apis/common';\nimport {\n RESIZE_OBSERVER_SUPPORT,\n RESIZE_OPTION_BOX,\n ResizeObserverService,\n} from '@ng-web-apis/resize-observer';\nimport {EMPTY_ARRAY, POLLING_TIME} from '@taiga-ui/cdk/constants';\nimport {tuiZonefree} from '@taiga-ui/cdk/observables';\nimport {Observable} from 'rxjs';\nimport {\n catchError,\n debounceTime,\n distinctUntilChanged,\n map,\n mapTo,\n takeUntil,\n throttleTime,\n} from 'rxjs/operators';\n\nimport {TuiDestroyService} from './destroy.service';\n\n// @dynamic\n@Injectable()\nexport class TuiResizeService extends ResizeObserverService {\n constructor(\n @Inject(ElementRef) elementRef: ElementRef<HTMLElement>,\n @Inject(NgZone) ngZone: NgZone,\n @Inject(TuiDestroyService) destroy$: Observable<void>,\n @Inject(RESIZE_OBSERVER_SUPPORT) support: boolean,\n @Inject(RESIZE_OPTION_BOX) box: ResizeObserverOptions['box'],\n @Inject(ANIMATION_FRAME) animationFrame$: Observable<number>,\n ) {\n super(elementRef, ngZone, support, box);\n\n return this.pipe(\n catchError(() =>\n animationFrame$.pipe(\n throttleTime(POLLING_TIME),\n map(\n () =>\n `${elementRef.nativeElement.clientWidth} ${elementRef.nativeElement.clientHeight}`,\n ),\n distinctUntilChanged(),\n mapTo(EMPTY_ARRAY),\n ),\n ),\n debounceTime(0),\n tuiZonefree(ngZone),\n takeUntil(destroy$),\n );\n }\n}\n","import {Inject, Injectable} from '@angular/core';\nimport {ANIMATION_FRAME, PERFORMANCE} from '@ng-web-apis/common';\nimport {tuiAssert} from '@taiga-ui/cdk/classes';\nimport {clamp} from '@taiga-ui/cdk/utils/math';\nimport {easeInOutQuad} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {defer, Observable, of, timer} from 'rxjs';\nimport {map, switchMap, takeUntil, tap} from 'rxjs/operators';\n\nconst SCROLL_TIME = 300;\n\n// @dynamic\n@Injectable({\n providedIn: 'root',\n})\nexport class TuiScrollService {\n constructor(\n @Inject(PERFORMANCE) private readonly performanceRef: Performance,\n @Inject(ANIMATION_FRAME) private readonly animationFrame$: Observable<number>,\n ) {}\n\n scroll$(\n element: Element,\n scrollTop: number,\n scrollLeft: number = element.scrollLeft,\n duration: number = SCROLL_TIME,\n ): Observable<[number, number]> {\n tuiAssert.assert(duration >= 0, 'Duration cannot be negative');\n tuiAssert.assert(scrollTop >= 0, 'scrollTop cannot be negative');\n tuiAssert.assert(scrollLeft >= 0, 'scrollLeft cannot be negative');\n\n const initialTop = element.scrollTop;\n const initialLeft = element.scrollLeft;\n const deltaTop = scrollTop - initialTop;\n const deltaLeft = scrollLeft - initialLeft;\n const observable = !duration\n ? of([scrollTop, scrollLeft] as [number, number])\n : defer(() => of(this.performanceRef.now())).pipe(\n switchMap(start => this.animationFrame$.pipe(map(now => now - start))),\n map(elapsed => easeInOutQuad(clamp(elapsed / duration, 0, 1))),\n map(\n percent =>\n [\n initialTop + deltaTop * percent,\n initialLeft + deltaLeft * percent,\n ] as [number, number],\n ),\n takeUntil(timer(duration)),\n );\n\n return observable.pipe(\n tap(([scrollTop, scrollLeft]) => {\n element.scrollTop = scrollTop;\n element.scrollLeft = scrollLeft;\n }),\n );\n }\n}\n","import {Injectable} from '@angular/core';\nimport {Observable, Observer} from 'rxjs';\nimport {shareReplay} from 'rxjs/operators';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class TuiStaticRequestService {\n private readonly cache = new Map<string, Observable<string>>();\n\n request(url: string): Observable<string> {\n const cache = this.cache.get(url);\n\n if (cache) {\n return cache;\n }\n\n const observable = new Observable((observer: Observer<string>) => {\n const xhr = new XMLHttpRequest();\n\n xhr.onreadystatechange = () => {\n if (xhr.readyState === 4) {\n const response = xhr.responseType ? xhr.response : xhr.responseText;\n\n if (xhr.status === 200) {\n observer.next(response);\n observer.complete();\n } else {\n observer.error(response);\n }\n }\n };\n\n xhr.open('GET', url);\n xhr.send();\n\n return () => {\n xhr.abort();\n };\n });\n const piped = observable.pipe(shareReplay({bufferSize: 1, refCount: false}));\n\n this.cache.set(url, piped);\n\n return piped;\n }\n}\n","import {DOCUMENT} from '@angular/common';\nimport {ElementRef, Inject, Injectable} from '@angular/core';\nimport {TuiSwipe, TuiSwipeOptions} from '@taiga-ui/cdk/interfaces';\nimport {typedFromEvent} from '@taiga-ui/cdk/observables';\nimport {TUI_SWIPE_OPTIONS} from '@taiga-ui/cdk/tokens';\nimport {getSwipeDirection, isPresent} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {merge, Observable} from 'rxjs';\nimport {filter, map, pairwise} from 'rxjs/operators';\n\n/**\n * @dynamic\n */\n@Injectable()\nexport class TuiSwipeService extends Observable<TuiSwipe> {\n constructor(\n @Inject(ElementRef) {nativeElement}: ElementRef<Element>,\n @Inject(TUI_SWIPE_OPTIONS) {timeout, threshold}: TuiSwipeOptions,\n @Inject(DOCUMENT) documentRef: Document,\n ) {\n super(subscriber => {\n merge(\n typedFromEvent(nativeElement, 'touchstart', {passive: true}),\n typedFromEvent(documentRef, 'touchend'),\n )\n .pipe(\n pairwise(),\n filter(\n ([first, second]) =>\n !!first.touches.length &&\n first.touches[0].identifier ===\n second.changedTouches[0].identifier,\n ),\n map(([start, end]) => {\n const startX = start.touches[0].clientX;\n const startY = start.touches[0].clientY;\n const endX = end.changedTouches[0].clientX;\n const endY = end.changedTouches[0].clientY;\n\n const distanceX = startX - endX;\n const distanceY = startY - endY;\n const duration = end.timeStamp - start.timeStamp;\n\n if (\n (Math.abs(distanceX) > threshold ||\n Math.abs(distanceY) > threshold) &&\n duration < timeout\n ) {\n return {\n direction: getSwipeDirection(distanceX, distanceY),\n events: [start, end] as [TouchEvent, TouchEvent],\n };\n }\n\n return null;\n }),\n filter(isPresent),\n )\n .subscribe(subscriber);\n });\n }\n}\n","import {ElementRef, Inject, Injectable} from '@angular/core';\nimport {TuiZoom, TuiZoomOptions} from '@taiga-ui/cdk/interfaces';\nimport {preventDefault, typedFromEvent} from '@taiga-ui/cdk/observables';\nimport {TUI_ZOOM_OPTIONS} from '@taiga-ui/cdk/tokens';\nimport {distanceBetweenTouches} from '@taiga-ui/cdk/utils';\nimport {merge, Observable} from 'rxjs';\nimport {filter, map, scan, switchMap, takeUntil} from 'rxjs/operators';\n\nconst TOUCH_SENSITIVITY = 0.01;\n\n// @dynamic\n@Injectable()\nexport class TuiZoomService extends Observable<TuiZoom> {\n constructor(\n @Inject(ElementRef) {nativeElement}: ElementRef<HTMLElement>,\n @Inject(TUI_ZOOM_OPTIONS) {wheelSensitivity}: TuiZoomOptions,\n ) {\n super(subscriber => {\n merge(\n typedFromEvent(nativeElement, 'touchstart', {passive: true}).pipe(\n filter(({touches}) => touches.length > 1),\n switchMap(startEvent =>\n typedFromEvent(nativeElement, 'touchmove', {\n passive: true,\n }).pipe(\n preventDefault(),\n scan(\n (prev, event) => {\n const distance = distanceBetweenTouches(event);\n\n return {\n event,\n distance,\n delta:\n (distance - prev.distance) *\n TOUCH_SENSITIVITY,\n };\n },\n {\n event: startEvent,\n distance: distanceBetweenTouches(startEvent),\n delta: 0,\n },\n ),\n map(({event, delta}) => {\n const clientX =\n (event.touches[0].clientX +\n event.touches[1].clientX) /\n 2;\n const clientY =\n (event.touches[0].clientY +\n event.touches[1].clientY) /\n 2;\n\n return {clientX, clientY, delta, event};\n }),\n takeUntil(typedFromEvent(nativeElement, 'touchend')),\n ),\n ),\n ),\n typedFromEvent(nativeElement, 'wheel', {passive: false}).pipe(\n preventDefault(),\n map(wheel => ({\n clientX: wheel.clientX,\n clientY: wheel.clientY,\n delta: -wheel.deltaY * wheelSensitivity,\n event: wheel,\n })),\n ),\n ).subscribe(subscriber);\n });\n }\n}\n"]}
@@ -1,2 +0,0 @@
1
- !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@angular/common"),require("@angular/core"),require("@ng-web-apis/common"),require("@taiga-ui/cdk/observables"),require("@taiga-ui/cdk/utils"),require("rxjs"),require("rxjs/operators"),require("@angular/animations/browser")):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/tokens",["exports","@angular/common","@angular/core","@ng-web-apis/common","@taiga-ui/cdk/observables","@taiga-ui/cdk/utils","rxjs","rxjs/operators","@angular/animations/browser"],n):n(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].cdk=e["taiga-ui"].cdk||{},e["taiga-ui"].cdk.tokens={}),e.ng.common,e.ng.core,e.common$1,e["taiga-ui"].cdk.observables,e["taiga-ui"].cdk.utils,e.rxjs,e.rxjs.operators,e.ng.animations.browser)}(this,(function(e,n,t,o,i,r,a,c,u){"use strict";Object.create;function s(e,n){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var o,i,r=t.call(e),a=[];try{for(;(void 0===n||n-- >0)&&!(o=r.next()).done;)a.push(o.value)}catch(e){i={error:e}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(i)throw i.error}}return a}Object.create;var l=new t.InjectionToken("Element currently being removed by AnimationEngine",{factory:function(){var e,n={onRemovalComplete:function(){}},o=new a.BehaviorSubject(null),i=null!==(e=t.inject(u.ɵAnimationEngine,t.InjectFlags.Optional))&&void 0!==e?e:n,r=i.onRemovalComplete,s=void 0===r?n.onRemovalComplete:r;return i.onRemovalComplete=function(e,n){o.next(e),s(e,n)},o.pipe(c.switchMap((function(e){return a.timer(0).pipe(c.mapTo(null),c.startWith(e))})),c.share())}}),m=new t.InjectionToken("Active element on the document for ActiveZone",{factory:function(){var e=t.inject(l),u=t.inject(o.WINDOW),m=t.inject(n.DOCUMENT),d=i.typedFromEvent(u,"focusout"),f=i.typedFromEvent(u,"focusin"),g=i.typedFromEvent(u,"blur"),w=i.typedFromEvent(u,"mousedown"),b=i.typedFromEvent(u,"mouseup");return a.merge(d.pipe(c.takeUntil(w),c.repeatWhen((function(){return b})),c.withLatestFrom(e),c.filter((function(e){var n=s(e,2),t=n[0],o=n[1];return p(r.getActualTarget(t),o)})),c.map((function(e){return s(e,1)[0].relatedTarget}))),g.pipe(c.map((function(){return m.activeElement})),c.filter((function(e){return!!e&&e.matches("iframe")}))),f.pipe(c.switchMap((function(e){var n=r.getActualTarget(e),t=r.getDocumentOrShadowRoot(n);return t===m?a.of(n):function(e){return a.merge(i.typedFromEvent(e,"focusin").pipe(c.map((function(e){return e.target}))),i.typedFromEvent(e,"focusout").pipe(c.filter((function(e){var n=e.target;return!!e.relatedTarget&&p(n)})),c.map((function(e){return e.relatedTarget}))))}(t).pipe(c.startWith(n))}))),w.pipe(c.switchMap((function(e){return m.activeElement&&m.activeElement!==m.body?d.pipe(c.take(1),c.mapTo(r.getActualTarget(e)),c.takeUntil(a.timer(0))):a.of(r.getActualTarget(e))})))).pipe(c.distinctUntilChanged(),c.share())}});function p(e,n){return void 0===n&&(n=null),!(r.getDocumentOrShadowRoot(e).activeElement===e||e.disabled||n&&n.contains(e))}var d=new t.InjectionToken("A stream of alerts",{factory:function(){return[]}}),f=new t.InjectionToken("A Renderer2 for global services",{factory:function(){return t.inject(t.RendererFactory2).createRenderer(null,null)}}),g=new t.InjectionToken("A stream of dialogs",{factory:function(){return[]}}),w=new t.InjectionToken("A component that can be focused"),b=new t.InjectionToken("iOS browser detection",{factory:function(){return r.isIos(t.inject(o.NAVIGATOR))}}),I=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/,T=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/,v=new t.InjectionToken("Mobile browser detection",{factory:function(){return I.test(t.inject(o.USER_AGENT).toLowerCase())||T.test(t.inject(o.USER_AGENT).slice(0,4).toLowerCase())}}),k=new t.InjectionToken("Mobile browser that is not iOS (technically includes Windows Phone, Blackberry etc.)",{factory:function(){return t.inject(v)&&!t.inject(b)}}),h=new t.InjectionToken("Apple(safari/webkit) detection",{factory:function(){return r.isApple(t.inject(o.NAVIGATOR))}}),y=new t.InjectionToken("Chromium browser engine detection",{factory:function(){return!!t.inject(o.WINDOW).chrome}}),j=new t.InjectionToken("Detect if app is running under Cypress",{factory:function(){return!!t.inject(o.WINDOW).Cypress}}),E=new t.InjectionToken("Firefox browser engine detection",{factory:function(){var e;return void 0!==(null===(e=t.inject(o.WINDOW))||void 0===e?void 0:e.mozCancelFullScreen)}}),_=new t.InjectionToken("Webkit browser engine detection",{factory:function(){return!!t.inject(o.WINDOW).webkitConvertPointFromNodeToPage}}),O=new t.InjectionToken("A custom Sanitizer to sanitize source before inlining"),S=new t.InjectionToken("Swipe options",{factory:function(){return{timeout:500,threshold:30}}}),U=new t.InjectionToken("This token need for override behavior the `pressedObservable` function",{factory:function(){return!0}}),A=new t.InjectionToken("Touch support detection",{factory:function(){return t.inject(o.WINDOW).matchMedia("(any-pointer: coarse)").matches}}),R=new t.InjectionToken("Window height accounting for disappearing address bar",{factory:function(){var e=t.inject(o.WINDOW);return i.typedFromEvent(e,"resize").pipe(c.startWith(null),c.map((function(){return e.innerHeight})),c.shareReplay({bufferSize:1,refCount:!0}))}}),x=new t.InjectionToken("Zoom options",{factory:function(){return{wheelSensitivity:.01}}});e.TUI_ACTIVE_ELEMENT=m,e.TUI_ALERTS=d,e.TUI_DEFAULT_RENDERER=f,e.TUI_DIALOGS=g,e.TUI_FOCUSABLE_ITEM_ACCESSOR=w,e.TUI_IS_ANDROID=k,e.TUI_IS_APPLE=h,e.TUI_IS_CHROMIUM=y,e.TUI_IS_CYPRESS=j,e.TUI_IS_FIREFOX=E,e.TUI_IS_IOS=b,e.TUI_IS_MOBILE=v,e.TUI_IS_WEBKIT=_,e.TUI_REMOVED_ELEMENT=l,e.TUI_SANITIZER=O,e.TUI_SWIPE_OPTIONS=S,e.TUI_TAKE_ONLY_TRUSTED_EVENTS=U,e.TUI_TOUCH_SUPPORTED=A,e.TUI_WINDOW_HEIGHT=R,e.TUI_ZOOM_OPTIONS=x,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-tokens.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/cdk/tokens/removed-element.ts","ng://@taiga-ui/cdk/tokens/active-element.ts","ng://@taiga-ui/cdk/tokens/alerts.ts","ng://@taiga-ui/cdk/tokens/default-renderer.ts","ng://@taiga-ui/cdk/tokens/dialogs.ts","ng://@taiga-ui/cdk/tokens/focusable-item-accessor.ts","ng://@taiga-ui/cdk/tokens/is-ios.ts","ng://@taiga-ui/cdk/tokens/is-mobile.ts","ng://@taiga-ui/cdk/tokens/is-android.ts","ng://@taiga-ui/cdk/tokens/is-apple.ts","ng://@taiga-ui/cdk/tokens/is-chromium.ts","ng://@taiga-ui/cdk/tokens/is-cypress.ts","ng://@taiga-ui/cdk/tokens/is-firefox.ts","ng://@taiga-ui/cdk/tokens/is-webkit.ts","ng://@taiga-ui/cdk/tokens/sanitizer.ts","ng://@taiga-ui/cdk/tokens/swipe-options.ts","ng://@taiga-ui/cdk/tokens/take-only-trusted-events.ts","ng://@taiga-ui/cdk/tokens/touch-supported.ts","ng://@taiga-ui/cdk/tokens/window-height.ts","ng://@taiga-ui/cdk/tokens/zoom-options.ts"],"names":["Object","create","__read","o","n","m","Symbol","iterator","r","e","i","call","ar","next","done","push","value","error","TUI_REMOVED_ELEMENT","InjectionToken","factory","stub","onRemovalComplete","element$","BehaviorSubject","engine","_a","inject","ɵAnimationEngine","InjectFlags","Optional","_b","element","context","pipe","switchMap","timer","mapTo","startWith","share","TUI_ACTIVE_ELEMENT","removedElement$","windowRef","WINDOW","documentRef","DOCUMENT","focusout$","typedFromEvent","focusin$","blur$","mousedown$","mouseup$","merge","takeUntil","repeatWhen","withLatestFrom","filter","event","removedElement","isValidFocusout","getActualTarget","map","relatedTarget","activeElement","matches","target","root","getDocumentOrShadowRoot","of","shadowRootActiveElement","body","take","distinctUntilChanged","disabled","contains","TUI_ALERTS","TUI_DEFAULT_RENDERER","RendererFactory2","createRenderer","TUI_DIALOGS","TUI_FOCUSABLE_ITEM_ACCESSOR","TUI_IS_IOS","isIos","NAVIGATOR","firstRegex","secondRegex","TUI_IS_MOBILE","test","USER_AGENT","toLowerCase","slice","TUI_IS_ANDROID","TUI_IS_APPLE","isApple","TUI_IS_CHROMIUM","chrome","TUI_IS_CYPRESS","Cypress","TUI_IS_FIREFOX","mozCancelFullScreen","TUI_IS_WEBKIT","webkitConvertPointFromNodeToPage","TUI_SANITIZER","TUI_SWIPE_OPTIONS","timeout","threshold","TUI_TAKE_ONLY_TRUSTED_EVENTS","TUI_TOUCH_SUPPORTED","matchMedia","TUI_WINDOW_HEIGHT","innerHeight","shareReplay","bufferSize","refCount","TUI_ZOOM_OPTIONS","wheelSensitivity"],"mappings":"o1BA2G6BA,OAAOC,OA4B7B,SAASC,EAAOC,EAAGC,GACtB,IAAIC,EAAsB,mBAAXC,QAAyBH,EAAEG,OAAOC,UACjD,IAAKF,EAAG,OAAOF,EACf,IAAmBK,EAAYC,EAA3BC,EAAIL,EAAEM,KAAKR,GAAOS,EAAK,GAC3B,IACI,WAAc,IAANR,GAAgBA,KAAM,MAAQI,EAAIE,EAAEG,QAAQC,MAAMF,EAAGG,KAAKP,EAAEQ,OAExE,MAAOC,GAASR,EAAI,CAAEQ,MAAOA,GACjC,QACQ,IACQT,IAAMA,EAAEM,OAAST,EAAIK,EAAU,SAAIL,EAAEM,KAAKD,GAE1D,QAAkB,GAAID,EAAG,MAAMA,EAAEQ,OAE7B,OAAOL,EAgEcZ,OAAOC,WChNnBiB,EAAsB,IAAIC,EAAAA,eACnC,qDACA,CACIC,QAAS,iBACCC,EAAO,CAACC,kBAAmB,cAC3BC,EAAW,IAAIC,EAAAA,gBAAgC,MAC/CC,EAAuD,QAAjDC,EAAGC,EAAA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OAAAO,EAAAA,OAAOgB,EAAAA,QAAQiE,WAAW,yBAAyB5C,WCEzD6C,EAAoB,IAAI1F,EAAAA,eACjC,wDACA,CACIC,QAAS,WACL,IAAMsB,EAAYf,EAAAA,OAAOgB,EAAAA,QAEzB,OAAOI,EAAAA,eAAeL,EAAW,UAAUR,KACvCI,EAAAA,UAAU,MACVuB,EAAAA,KAAI,WAAM,OAAAnB,EAAUoE,eACpBC,EAAAA,YAAY,CAACC,WAAY,EAAGC,UAAU,QCZzCC,EAAmB,IAAI/F,EAAAA,eAA+B,eAAgB,CAC/EC,QAAS,WAAM,MAAA,CACX+F,iBAAkB","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {ɵAnimationEngine} from '@angular/animations/browser';\nimport {inject, InjectFlags, InjectionToken} from '@angular/core';\nimport {BehaviorSubject, Observable, timer} from 'rxjs';\nimport {mapTo, share, startWith, switchMap} from 'rxjs/operators';\n\nexport const TUI_REMOVED_ELEMENT = new InjectionToken<Observable<Element | null>>(\n 'Element currently being removed by AnimationEngine',\n {\n factory: () => {\n const stub = {onRemovalComplete: () => {}};\n const element$ = new BehaviorSubject<Element | null>(null);\n const engine = inject(ɵAnimationEngine, InjectFlags.Optional) ?? stub;\n const {onRemovalComplete = stub.onRemovalComplete} = engine;\n\n engine.onRemovalComplete = (element, context) => {\n element$.next(element);\n onRemovalComplete(element, context);\n };\n\n return element$.pipe(\n switchMap(element => timer(0).pipe(mapTo(null), startWith(element))),\n share(),\n );\n },\n },\n);\n","import {DOCUMENT} from '@angular/common';\nimport {inject, InjectionToken} from '@angular/core';\nimport {WINDOW} from '@ng-web-apis/common';\nimport {typedFromEvent} from '@taiga-ui/cdk/observables';\nimport {getActualTarget, getDocumentOrShadowRoot} from '@taiga-ui/cdk/utils';\nimport {merge, Observable, of, timer} from 'rxjs';\nimport {\n distinctUntilChanged,\n filter,\n map,\n mapTo,\n repeatWhen,\n share,\n startWith,\n switchMap,\n take,\n takeUntil,\n withLatestFrom,\n} from 'rxjs/operators';\n\nimport {TUI_REMOVED_ELEMENT} from './removed-element';\n\nexport const TUI_ACTIVE_ELEMENT = new InjectionToken<Observable<EventTarget | null>>(\n 'Active element on the document for ActiveZone',\n {\n factory: () => {\n const removedElement$ = inject(TUI_REMOVED_ELEMENT);\n const windowRef = inject(WINDOW);\n const documentRef = inject(DOCUMENT);\n const focusout$ = typedFromEvent(windowRef, 'focusout');\n const focusin$ = typedFromEvent(windowRef, 'focusin');\n const blur$ = typedFromEvent(windowRef, 'blur');\n const mousedown$ = typedFromEvent(windowRef, 'mousedown');\n const mouseup$ = typedFromEvent(windowRef, 'mouseup');\n\n return merge(\n focusout$.pipe(\n // eslint-disable-next-line rxjs/no-unsafe-takeuntil\n takeUntil(mousedown$),\n // eslint-disable-next-line rxjs/no-ignored-notifier\n repeatWhen(() => mouseup$),\n withLatestFrom(removedElement$),\n filter(([event, removedElement]) =>\n isValidFocusout(getActualTarget(event), removedElement),\n ),\n map(([{relatedTarget}]) => relatedTarget),\n ),\n blur$.pipe(\n map(() => documentRef.activeElement),\n filter(element => !!element && element.matches('iframe')),\n ),\n focusin$.pipe(\n switchMap(event => {\n const target = getActualTarget(event);\n const root = getDocumentOrShadowRoot(target) as Document;\n\n return root === documentRef\n ? of(target)\n : shadowRootActiveElement(root).pipe(startWith(target));\n }),\n ),\n mousedown$.pipe(\n switchMap(event =>\n !documentRef.activeElement ||\n documentRef.activeElement === documentRef.body\n ? of(getActualTarget(event))\n : focusout$.pipe(\n take(1),\n mapTo(getActualTarget(event)),\n takeUntil(timer(0)),\n ),\n ),\n ),\n ).pipe(distinctUntilChanged(), share());\n },\n },\n);\n\n// Checks if focusout event should be considered leaving active zone\nfunction isValidFocusout(target: any, removedElement: Element | null = null): boolean {\n return (\n // Not due to switching tabs/going to DevTools\n getDocumentOrShadowRoot(target).activeElement !== target &&\n // Not due to button/input becoming disabled\n !target.disabled &&\n // Not due to element being removed from DOM\n (!removedElement || !removedElement.contains(target))\n );\n}\n\nfunction shadowRootActiveElement(root: Document): Observable<EventTarget | null> {\n return merge(\n typedFromEvent(root, 'focusin').pipe(map(({target}) => target)),\n typedFromEvent(root, 'focusout').pipe(\n filter(\n ({target, relatedTarget}) => !!relatedTarget && isValidFocusout(target),\n ),\n map(({relatedTarget}) => relatedTarget),\n ),\n );\n}\n","import {InjectionToken} from '@angular/core';\nimport {TuiAriaDialogContext} from '@taiga-ui/cdk/interfaces';\nimport {Observable} from 'rxjs';\n\nexport const TUI_ALERTS = new InjectionToken<\n ReadonlyArray<Observable<readonly TuiAriaDialogContext[]>>\n>('A stream of alerts', {\n factory: () => [],\n});\n","import {inject, InjectionToken, Renderer2, RendererFactory2} from '@angular/core';\n\n// https://github.com/angular/angular/issues/17824#issuecomment-353239017\nexport const TUI_DEFAULT_RENDERER = new InjectionToken<Renderer2>(\n 'A Renderer2 for global services',\n {\n // @ts-ignore\n factory: () => inject(RendererFactory2).createRenderer(null, null),\n },\n);\n","import {InjectionToken} from '@angular/core';\nimport {TuiAriaDialogContext} from '@taiga-ui/cdk/interfaces';\nimport {Observable} from 'rxjs';\n\nexport const TUI_DIALOGS = new InjectionToken<\n ReadonlyArray<Observable<readonly TuiAriaDialogContext[]>>\n>('A stream of dialogs', {\n factory: () => [],\n});\n","import {InjectionToken} from '@angular/core';\nimport {TuiFocusableElementAccessor} from '@taiga-ui/cdk/interfaces';\n\nexport const TUI_FOCUSABLE_ITEM_ACCESSOR =\n new InjectionToken<TuiFocusableElementAccessor>('A component that can be focused');\n","import {inject, InjectionToken} from '@angular/core';\nimport {NAVIGATOR} from '@ng-web-apis/common';\nimport {isIos} from '@taiga-ui/cdk/utils';\n\nexport const TUI_IS_IOS = new InjectionToken<boolean>('iOS browser detection', {\n factory: () => isIos(inject(NAVIGATOR)),\n});\n","import {inject, InjectionToken} from '@angular/core';\nimport {USER_AGENT} from '@ng-web-apis/common';\n\n// https://stackoverflow.com/a/11381730/2706426 http://detectmobilebrowsers.com/\nconst firstRegex =\n /(android|bb\\d+|meego).+mobile|avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\\.(browser|link)|vodafone|wap|windows ce|xda|xiino/;\nconst secondRegex =\n /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/;\n\nexport const TUI_IS_MOBILE = new InjectionToken<boolean>('Mobile browser detection', {\n factory: () =>\n firstRegex.test(inject(USER_AGENT).toLowerCase()) ||\n secondRegex.test(inject(USER_AGENT).slice(0, 4).toLowerCase()),\n});\n","import {inject, InjectionToken} from '@angular/core';\n\nimport {TUI_IS_IOS} from './is-ios';\nimport {TUI_IS_MOBILE} from './is-mobile';\n\nexport const TUI_IS_ANDROID = new InjectionToken<boolean>(\n 'Mobile browser that is not iOS (technically includes Windows Phone, Blackberry etc.)',\n {\n factory: () => inject(TUI_IS_MOBILE) && !inject(TUI_IS_IOS),\n },\n);\n","import {inject, InjectionToken} from '@angular/core';\nimport {NAVIGATOR} from '@ng-web-apis/common';\nimport {isApple} from '@taiga-ui/cdk/utils';\n\nexport const TUI_IS_APPLE = new InjectionToken<boolean>(\n 'Apple(safari/webkit) detection',\n {factory: () => isApple(inject(NAVIGATOR))},\n);\n","import {inject, InjectionToken} from '@angular/core';\nimport {WINDOW} from '@ng-web-apis/common';\n\nexport const TUI_IS_CHROMIUM = new InjectionToken<boolean>(\n 'Chromium browser engine detection',\n {\n factory: () => !!(inject(WINDOW) as Window & {chrome: unknown}).chrome,\n },\n);\n","import {inject, InjectionToken} from '@angular/core';\nimport {WINDOW} from '@ng-web-apis/common';\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport interface WindowWithCypress extends Window {\n Cypress?: unknown;\n}\n\n/**\n * {@link https://docs.cypress.io/faq/questions/using-cypress-faq#Is-there-any-way-to-detect-if-my-app-is-running-under-Cypress Cypress docs}\n */\nexport const TUI_IS_CYPRESS = new InjectionToken<boolean>(\n 'Detect if app is running under Cypress',\n {\n factory: () => !!inject<WindowWithCypress>(WINDOW).Cypress,\n },\n);\n","import {inject, InjectionToken} from '@angular/core';\nimport {WINDOW} from '@ng-web-apis/common';\n\nexport const TUI_IS_FIREFOX = new InjectionToken<boolean>(\n 'Firefox browser engine detection',\n {\n factory: () =>\n typeof (inject(WINDOW) as Window & {mozCancelFullScreen: unknown})\n ?.mozCancelFullScreen !== 'undefined',\n },\n);\n","import {inject, InjectionToken} from '@angular/core';\nimport {WINDOW} from '@ng-web-apis/common';\n\nexport const TUI_IS_WEBKIT = new InjectionToken<boolean>(\n 'Webkit browser engine detection',\n {\n factory: () => !!inject(WINDOW).webkitConvertPointFromNodeToPage,\n },\n);\n","import {InjectionToken, Sanitizer} from '@angular/core';\n\n/* @deprecated export token from @taiga-ui/core package **/\nexport const TUI_SANITIZER = new InjectionToken<Sanitizer>(\n 'A custom Sanitizer to sanitize source before inlining',\n);\n","import {InjectionToken} from '@angular/core';\nimport {TuiSwipeOptions} from '@taiga-ui/cdk/interfaces';\n\nexport const TUI_SWIPE_OPTIONS = new InjectionToken<TuiSwipeOptions>('Swipe options', {\n factory: () => ({timeout: 500, threshold: 30}),\n});\n","import {InjectionToken} from '@angular/core';\n\n/**\n * @description:\n * The isTrusted read-only property of the Event interface is a boolean value that is true\n * when the event was generated by a user action, and false when the event was created or\n * modified by a script or dispatched via EventTarget.dispatchEvent().\n */\nexport const TUI_TAKE_ONLY_TRUSTED_EVENTS: InjectionToken<boolean> =\n new InjectionToken<boolean>(\n 'This token need for override behavior the `pressedObservable` function',\n {\n factory: () => true,\n },\n );\n","import {inject, InjectionToken} from '@angular/core';\nimport {WINDOW} from '@ng-web-apis/common';\n\nexport const TUI_TOUCH_SUPPORTED = new InjectionToken('Touch support detection', {\n factory: () => inject(WINDOW).matchMedia('(any-pointer: coarse)').matches,\n});\n","import {inject, InjectionToken} from '@angular/core';\nimport {WINDOW} from '@ng-web-apis/common';\nimport {typedFromEvent} from '@taiga-ui/cdk/observables';\nimport {Observable} from 'rxjs';\nimport {map, shareReplay, startWith} from 'rxjs/operators';\n\nexport const TUI_WINDOW_HEIGHT = new InjectionToken<Observable<number>>(\n 'Window height accounting for disappearing address bar',\n {\n factory: () => {\n const windowRef = inject(WINDOW);\n\n return typedFromEvent(windowRef, 'resize').pipe(\n startWith(null),\n map(() => windowRef.innerHeight),\n shareReplay({bufferSize: 1, refCount: true}),\n );\n },\n },\n);\n","import {InjectionToken} from '@angular/core';\nimport {TuiZoomOptions} from '@taiga-ui/cdk/interfaces';\n\nexport const TUI_ZOOM_OPTIONS = new InjectionToken<TuiZoomOptions>('Zoom options', {\n factory: () => ({\n wheelSensitivity: 0.01,\n }),\n});\n"]}
@@ -1,2 +0,0 @@
1
- !function(n){"function"==typeof define&&define.amd?define("@taiga-ui/cdk/types",n):n()}((function(){}));
2
- //# sourceMappingURL=taiga-ui-cdk-types.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
@@ -1,2 +0,0 @@
1
- !function(e,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/utils/browser",["exports"],i):i(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].cdk=e["taiga-ui"].cdk||{},e["taiga-ui"].cdk.utils=e["taiga-ui"].cdk.utils||{},e["taiga-ui"].cdk.utils.browser={}))}(this,(function(e){"use strict";function i(e){return e.toLowerCase().includes("edge")}var t=i;function r(e,i){return parseInt(i.slice(i.toLowerCase().indexOf("edge/")+"edge/".length),10)<e}var u=r;function n(e){return e.toLowerCase().includes("firefox")}var a=n;function o(e){return e.toLowerCase().includes("trident")}var s=o;function d(e){var i=e.ownerDocument,t=null==i?void 0:i.defaultView;return!!t&&"safari"in t}var f=d;e.isEdge=i,e.isEdgeOlderThan=r,e.isFirefox=n,e.isIE=o,e.isSafari=d,e.tuiIsEdge=t,e.tuiIsEdgeOlderThan=u,e.tuiIsFirefox=a,e.tuiIsIE=s,e.tuiIsSafari=f,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-utils-browser.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["ng://@taiga-ui/cdk/utils/browser/is-edge.ts","ng://@taiga-ui/cdk/utils/browser/is-edge-older-than.ts","ng://@taiga-ui/cdk/utils/browser/is-firefox.ts","ng://@taiga-ui/cdk/utils/browser/is-ie.ts","ng://@taiga-ui/cdk/utils/browser/is-safari.ts"],"names":["isEdge","userAgent","toLowerCase","includes","tuiIsEdge","isEdgeOlderThan","version","parseInt","slice","indexOf","length","tuiIsEdgeOlderThan","isFirefox","tuiIsFirefox","isIE","tuiIsIE","isSafari","element","documentRef","ownerDocument","windowRef","defaultView","tuiIsSafari"],"mappings":"gYAIgBA,EAAOC,GACnB,OAAOA,EAAUC,cAAcC,SAAS,YAG/BC,EAAYJ,WCFTK,EAAgBC,EAAiBL,GAM7C,OALuBM,SACnBN,EAAUO,MAAMP,EAAUC,cAAcO,QARnC,SAAA,QAQwDC,QAC7D,IAGoBJ,MAGfK,EAAqBN,WCXlBO,EAAUX,GACtB,OAAOA,EAAUC,cAAcC,SAAS,eAG/BU,EAAeD,WCJZE,EAAKb,GACjB,OAAOA,EAAUC,cAAcC,SAAS,eAG/BY,EAAUD,WCJPE,EAASC,GACrB,IAAMC,EAAcD,EAAQE,cACtBC,EAAYF,MAAAA,OAAW,EAAXA,EAAaG,YAE/B,QAASD,GAAa,WAAYA,MAGzBE,EAAcN","sourcesContent":["/**\n * @deprecated: use {@link tuiIsEdge} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function isEdge(userAgent: string): boolean {\n return userAgent.toLowerCase().includes('edge');\n}\n\nexport const tuiIsEdge = isEdge;\n","const EDGE = 'edge/';\n\n/**\n * @deprecated: use {@link tuiIsEdgeOlderThan} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function isEdgeOlderThan(version: number, userAgent: string): boolean {\n const currentVersion = parseInt(\n userAgent.slice(userAgent.toLowerCase().indexOf(EDGE) + EDGE.length),\n 10,\n );\n\n return currentVersion < version;\n}\n\nexport const tuiIsEdgeOlderThan = isEdgeOlderThan;\n","/**\n * @deprecated: use {@link tuiIsFirefox} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function isFirefox(userAgent: string): boolean {\n return userAgent.toLowerCase().includes('firefox');\n}\n\nexport const tuiIsFirefox = isFirefox;\n","/**\n * @deprecated: use {@link tuiIsIE} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function isIE(userAgent: string): boolean {\n return userAgent.toLowerCase().includes('trident');\n}\n\nexport const tuiIsIE = isIE;\n","/**\n * @deprecated: use {@link tuiIsSafari} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function isSafari(element: Element): boolean {\n const documentRef = element.ownerDocument;\n const windowRef = documentRef?.defaultView;\n\n return !!windowRef && 'safari' in windowRef;\n}\n\nexport const tuiIsSafari = isSafari;\n"]}
@@ -1,2 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@taiga-ui/cdk/utils/math"),require("@taiga-ui/cdk/utils/miscellaneous"),require("@taiga-ui/cdk/classes")):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/utils/dom",["exports","@taiga-ui/cdk/utils/math","@taiga-ui/cdk/utils/miscellaneous","@taiga-ui/cdk/classes"],e):e(((t=t||self)["taiga-ui"]=t["taiga-ui"]||{},t["taiga-ui"].cdk=t["taiga-ui"].cdk||{},t["taiga-ui"].cdk.utils=t["taiga-ui"].cdk.utils||{},t["taiga-ui"].cdk.utils.dom={}),t["taiga-ui"].cdk.utils.math,t["taiga-ui"].cdk.utils.miscellaneous,t["taiga-ui"].cdk.classes)}(this,(function(t,e,n,i){"use strict";function r(t,e,n,i){return n?function(t,e,n){var i=t;for(;i!==e.parentElement;){if(Math.floor(i.scrollTop)>0&&!n||Math.ceil(i.scrollTop+i.clientHeight)<i.scrollHeight&&n)return!0;if(!i.parentElement)return!1;i=i.parentElement}return!1}(t,e,i):function(t,e,n){var i=t;for(;i!==e.parentElement;){if(Math.floor(i.scrollLeft)>0&&!n||Math.ceil(i.scrollLeft+i.clientWidth)<i.scrollWidth&&n)return!0;if(!i.parentElement)return!1;i=i.parentElement}return!1}(t,e,i)}var o=r;function a(t,e){return t.contains(e)||!!(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING)}var l=a;function u(t){return"composedPath"in t?t.composedPath()[0]:t.target}var c=u;function s(t,e){return void 0===e&&(e="text/plain"),"clipboardData"in t&&null!==t.clipboardData?t.clipboardData.getData(e)||t.clipboardData.getData("text/plain"):t.target.ownerDocument.defaultView.clipboardData.getData("text")}var f=s;function d(t,e){var n=Element.prototype.closest;if(n)return n.call(t,e);var i=Element.prototype.matches||Element.prototype.msMatchesSelector;do{if(i.call(t,e))return t;t=t.parentElement}while(null!==t);return null}function m(t){return"getRootNode"in t&&t.isConnected?t.getRootNode():t.ownerDocument}var p=m;function g(t){var i=t.ownerDocument;if(!i||!i.defaultView)return null;var r=i.defaultView,o=r.innerWidth,a=r.innerHeight,l=m(t),u=t.getBoundingClientRect(),c=e.clamp(Math.round(u.left)+2,0,o),s=e.clamp(Math.round(u.top)+2,0,a),f=e.clamp(Math.round(u.right)-2,0,o),d=e.clamp(Math.round(u.bottom)-2,0,a),p=e.clamp(Math.round(u.left+u.width/2),0,o),g=e.clamp(Math.round(u.top+u.height/2),0,a),v=[l.elementFromPoint(p,s),l.elementFromPoint(p,d),l.elementFromPoint(c,g),l.elementFromPoint(f,g)].filter(n.isPresent);if(!v.length)return v;var h=v.filter((function(e){return!t.contains(e)}));return 4===h.length?h:null}var v=g;function h(t,e){i.tuiAssert.assert(t.contains(e),"Host must contain element");for(var n=e.offsetTop,r=e.offsetLeft,o=e.offsetParent;o&&o instanceof HTMLElement&&o!==t;)n+=o.offsetTop,r+=o.offsetLeft,o=o.offsetParent;return{offsetTop:n,offsetLeft:r}}var E=h;function T(t,e){return void 0===e&&(e=!0),null===t?null:e&&t.scrollHeight>t.clientHeight||!e&&t.scrollWidth>t.clientWidth?t:T(t.parentElement,e)}var b=T;function D(t){return!!t&&"value"in t&&"selectionStart"in t&&"selectionEnd"in t}function C(t){return t.target===t.currentTarget}var P=C;function k(t){return t.parent!==t}var M=k;function O(t,e){return t.nodeType===Node.TEXT_NODE?!!t.parentElement&&!!d(t.parentElement,e):t.nodeType===Node.ELEMENT_NODE&&!!d(t,e)}var I=O;t.canScroll=r,t.containsOrAfter=a,t.getActualTarget=u,t.getClipboardDataText=s,t.getClosestElement=d,t.getDocumentOrShadowRoot=m,t.getElementObscurers=g,t.getElementOffset=h,t.getScrollParent=T,t.isCurrentTarget=C,t.isInsideIframe=k,t.isNodeIn=O,t.tuiCanScroll=o,t.tuiContainsOrAfter=l,t.tuiCustomEvent=function(t,e,n){var i=void 0===e?{}:e,r=i.bubbles,o=void 0!==r&&r,a=i.cancelable,l=void 0!==a&&a,u=i.detail,c=void 0===u?null:u;if("function"==typeof CustomEvent)return new CustomEvent(t,{bubbles:o,cancelable:l,detail:c});var s=n.createEvent("CustomEvent");return s.initCustomEvent(t,o,l,c),s},t.tuiGetActualTarget=c,t.tuiGetClipboardDataText=f,t.tuiGetDocumentOrShadowRoot=p,t.tuiGetElementObscures=v,t.tuiGetElementOffset=E,t.tuiGetScrollParent=b,t.tuiGetSelectedText=function(t){var e,n=t.getSelection,i=t.document;return D(i.activeElement)?i.activeElement.value.slice(i.activeElement.selectionStart||0,i.activeElement.selectionEnd||0):(null===(e=n())||void 0===e?void 0:e.toString())||null},t.tuiIsCurrentTarget=P,t.tuiIsFormFieldElement=D,t.tuiIsInsideIframe=M,t.tuiIsNodeIn=I,t.tuiPointToClientRect=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=0),{left:t,right:t,top:e,bottom:e,width:0,height:0}},Object.defineProperty(t,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-utils-dom.umd.min.js.map