@taiga-ui/cdk 2.55.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 (1678) 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 +10 -8
  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 +25 -28
  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 +412 -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/date-time/date-fillers.d.ts +0 -9
  163. package/date-time/day-range.d.ts +5 -7
  164. package/date-time/day.d.ts +0 -16
  165. package/date-time/month-range.d.ts +0 -4
  166. package/date-time/month.d.ts +0 -17
  167. package/date-time/package.json +2 -5
  168. package/date-time/taiga-ui-cdk-date-time.d.ts +1 -0
  169. package/date-time/year.d.ts +0 -16
  170. package/decorators/package.json +2 -5
  171. package/decorators/taiga-ui-cdk-decorators.d.ts +1 -0
  172. package/directives/active-zone/active-zone.directive.d.ts +3 -0
  173. package/directives/active-zone/active-zone.module.d.ts +5 -0
  174. package/directives/active-zone/package.json +2 -5
  175. package/directives/active-zone/taiga-ui-cdk-directives-active-zone.d.ts +1 -0
  176. package/directives/auto-focus/autofocus.directive.d.ts +3 -0
  177. package/directives/auto-focus/autofocus.module.d.ts +5 -0
  178. package/directives/auto-focus/autofocus.options.d.ts +3 -2
  179. package/directives/auto-focus/handlers/abstract.handler.d.ts +3 -0
  180. package/directives/auto-focus/handlers/default.handler.d.ts +3 -0
  181. package/directives/auto-focus/handlers/ios.handler.d.ts +3 -0
  182. package/directives/auto-focus/package.json +2 -5
  183. package/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.d.ts +1 -0
  184. package/directives/autofilled/autofilled-style.component.d.ts +3 -0
  185. package/directives/autofilled/autofilled.directive.d.ts +3 -0
  186. package/directives/autofilled/autofilled.module.d.ts +6 -0
  187. package/directives/autofilled/package.json +2 -5
  188. package/directives/autofilled/taiga-ui-cdk-directives-autofilled.d.ts +1 -0
  189. package/directives/checked/checked.directive.d.ts +3 -0
  190. package/directives/checked/checked.module.d.ts +5 -0
  191. package/directives/checked/package.json +2 -5
  192. package/directives/checked/taiga-ui-cdk-directives-checked.d.ts +1 -0
  193. package/directives/copy-processor/copy-processor.directive.d.ts +3 -0
  194. package/directives/copy-processor/copy-processor.module.d.ts +5 -0
  195. package/directives/copy-processor/package.json +2 -5
  196. package/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.d.ts +1 -0
  197. package/directives/drag/drag.directive.d.ts +3 -0
  198. package/directives/drag/drag.module.d.ts +5 -0
  199. package/directives/drag/package.json +2 -5
  200. package/directives/drag/taiga-ui-cdk-directives-drag.d.ts +1 -0
  201. package/directives/droppable/droppable.directive.d.ts +3 -0
  202. package/directives/droppable/droppable.module.d.ts +5 -0
  203. package/directives/droppable/package.json +2 -5
  204. package/directives/droppable/taiga-ui-cdk-directives-droppable.d.ts +1 -0
  205. package/directives/element/element.directive.d.ts +3 -0
  206. package/directives/element/element.module.d.ts +5 -0
  207. package/directives/element/package.json +2 -5
  208. package/directives/element/taiga-ui-cdk-directives-element.d.ts +1 -0
  209. package/directives/focus-trap/focus-trap.directive.d.ts +3 -0
  210. package/directives/focus-trap/focus-trap.module.d.ts +5 -0
  211. package/directives/focus-trap/package.json +2 -5
  212. package/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.d.ts +1 -0
  213. package/directives/focus-visible/focus-visible.directive.d.ts +3 -0
  214. package/directives/focus-visible/focus-visible.module.d.ts +5 -0
  215. package/directives/focus-visible/package.json +2 -5
  216. package/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.d.ts +1 -0
  217. package/directives/focusable/focusable.directive.d.ts +3 -0
  218. package/directives/focusable/focusable.module.d.ts +5 -0
  219. package/directives/focusable/package.json +2 -5
  220. package/directives/focusable/taiga-ui-cdk-directives-focusable.d.ts +1 -0
  221. package/directives/focused/focused.directive.d.ts +3 -0
  222. package/directives/focused/focused.module.d.ts +5 -0
  223. package/directives/focused/package.json +2 -5
  224. package/directives/focused/taiga-ui-cdk-directives-focused.d.ts +1 -0
  225. package/directives/for/for.directive.d.ts +3 -0
  226. package/directives/for/for.module.d.ts +5 -0
  227. package/directives/for/package.json +2 -5
  228. package/directives/for/taiga-ui-cdk-directives-for.d.ts +1 -0
  229. package/directives/for-async/for-async.directive.d.ts +3 -0
  230. package/directives/for-async/for-async.module.d.ts +5 -0
  231. package/directives/for-async/package.json +2 -5
  232. package/directives/for-async/taiga-ui-cdk-directives-for-async.d.ts +1 -0
  233. package/directives/high-dpi/high-dpi.directive.d.ts +3 -0
  234. package/directives/high-dpi/high-dpi.module.d.ts +5 -0
  235. package/directives/high-dpi/package.json +2 -5
  236. package/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.d.ts +1 -0
  237. package/directives/hovered/hovered.directive.d.ts +6 -5
  238. package/directives/hovered/hovered.module.d.ts +5 -0
  239. package/directives/hovered/hovered.service.d.ts +11 -0
  240. package/directives/hovered/index.d.ts +1 -0
  241. package/directives/hovered/package.json +2 -5
  242. package/directives/hovered/taiga-ui-cdk-directives-hovered.d.ts +1 -0
  243. package/directives/index.d.ts +1 -0
  244. package/directives/input-mode/input-mode.directive.d.ts +5 -2
  245. package/directives/input-mode/input-mode.module.d.ts +5 -0
  246. package/directives/input-mode/package.json +2 -5
  247. package/directives/input-mode/taiga-ui-cdk-directives-input-mode.d.ts +1 -0
  248. package/directives/item/item.directive.d.ts +4 -2
  249. package/directives/item/item.module.d.ts +5 -0
  250. package/directives/item/package.json +2 -5
  251. package/directives/item/taiga-ui-cdk-directives-item.d.ts +1 -0
  252. package/directives/let/let.directive.d.ts +3 -0
  253. package/directives/let/let.module.d.ts +5 -0
  254. package/directives/let/package.json +2 -5
  255. package/directives/let/taiga-ui-cdk-directives-let.d.ts +1 -0
  256. package/directives/media/media.directive.d.ts +3 -0
  257. package/directives/media/media.module.d.ts +5 -0
  258. package/directives/media/package.json +2 -5
  259. package/directives/media/taiga-ui-cdk-directives-media.d.ts +1 -0
  260. package/directives/obscured/obscured.directive.d.ts +3 -0
  261. package/directives/obscured/obscured.module.d.ts +5 -0
  262. package/directives/obscured/package.json +2 -5
  263. package/directives/obscured/taiga-ui-cdk-directives-obscured.d.ts +1 -0
  264. package/directives/overscroll/overscroll.directive.d.ts +5 -2
  265. package/directives/overscroll/overscroll.module.d.ts +5 -0
  266. package/directives/overscroll/package.json +2 -5
  267. package/directives/overscroll/taiga-ui-cdk-directives-overscroll.d.ts +1 -0
  268. package/directives/package.json +2 -5
  269. package/directives/pan/package.json +2 -5
  270. package/directives/pan/pan.directive.d.ts +3 -0
  271. package/directives/pan/pan.module.d.ts +5 -0
  272. package/directives/pan/taiga-ui-cdk-directives-pan.d.ts +1 -0
  273. package/directives/portal/package.json +2 -5
  274. package/directives/portal/portal.directive.d.ts +5 -2
  275. package/directives/portal/portal.module.d.ts +5 -0
  276. package/directives/portal/taiga-ui-cdk-directives-portal.d.ts +1 -0
  277. package/directives/pressed/package.json +2 -5
  278. package/directives/pressed/pressed.directive.d.ts +3 -0
  279. package/directives/pressed/pressed.module.d.ts +5 -0
  280. package/directives/pressed/taiga-ui-cdk-directives-pressed.d.ts +1 -0
  281. package/directives/prevent-default/package.json +2 -5
  282. package/directives/prevent-default/prevent-default.directive.d.ts +3 -0
  283. package/directives/prevent-default/prevent-default.module.d.ts +5 -0
  284. package/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.d.ts +1 -0
  285. package/directives/repeat-times/package.json +2 -5
  286. package/directives/repeat-times/repeat-times.directive.d.ts +3 -0
  287. package/directives/repeat-times/repeat-times.module.d.ts +5 -0
  288. package/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.d.ts +1 -0
  289. package/directives/resize/package.json +2 -5
  290. package/directives/resize/resize.directive.d.ts +3 -1
  291. package/directives/resize/resize.module.d.ts +5 -0
  292. package/directives/resize/taiga-ui-cdk-directives-resize.d.ts +1 -0
  293. package/directives/swipe/package.json +2 -5
  294. package/directives/swipe/swipe.directive.d.ts +3 -0
  295. package/directives/swipe/swipe.module.d.ts +5 -0
  296. package/directives/swipe/taiga-ui-cdk-directives-swipe.d.ts +1 -0
  297. package/directives/taiga-ui-cdk-directives.d.ts +1 -0
  298. package/directives/validator/package.json +2 -5
  299. package/directives/validator/taiga-ui-cdk-directives-validator.d.ts +1 -0
  300. package/directives/validator/validator.directive.d.ts +3 -0
  301. package/directives/validator/validator.module.d.ts +5 -0
  302. package/directives/zoom/package.json +2 -5
  303. package/directives/zoom/taiga-ui-cdk-directives-zoom.d.ts +1 -0
  304. package/directives/zoom/zoom.directive.d.ts +3 -0
  305. package/directives/zoom/zoom.module.d.ts +5 -0
  306. package/enums/autocomplete.d.ts +0 -10
  307. package/enums/index.d.ts +0 -3
  308. package/enums/package.json +2 -5
  309. package/enums/taiga-ui-cdk-enums.d.ts +1 -0
  310. package/esm2015/abstract/control.js +23 -21
  311. package/esm2015/abstract/controller.js +9 -8
  312. package/esm2015/abstract/dialog.directive.js +19 -16
  313. package/esm2015/abstract/dialog.service.js +13 -12
  314. package/esm2015/abstract/index.js +1 -1
  315. package/esm2015/abstract/interactive.js +43 -85
  316. package/esm2015/abstract/multiple-control.js +9 -8
  317. package/esm2015/abstract/nullable-control.js +9 -8
  318. package/esm2015/abstract/portal-host.js +21 -20
  319. package/esm2015/abstract/portal-service.js +9 -8
  320. package/esm2015/abstract/taiga-ui-cdk-abstract.js +1 -1
  321. package/esm2015/abstract/theme-switcher.js +13 -14
  322. package/esm2015/classes/assert.js +3 -5
  323. package/esm2015/classes/index.js +1 -1
  324. package/esm2015/classes/taiga-ui-cdk-classes.js +1 -1
  325. package/esm2015/classes/validation-error.js +1 -1
  326. package/esm2015/coercion/coerce-boolean-property.js +2 -2
  327. package/esm2015/coercion/index.js +1 -1
  328. package/esm2015/coercion/taiga-ui-cdk-coercion.js +1 -1
  329. package/esm2015/components/alert-host/alert-host.component.js +25 -21
  330. package/esm2015/components/alert-host/alert-host.module.js +15 -12
  331. package/esm2015/components/alert-host/index.js +1 -1
  332. package/esm2015/components/alert-host/taiga-ui-cdk-components-alert-host.js +1 -1
  333. package/esm2015/components/dialog-host/dialog-host.component.js +40 -31
  334. package/esm2015/components/dialog-host/dialog-host.module.js +26 -13
  335. package/esm2015/components/dialog-host/index.js +1 -1
  336. package/esm2015/components/dialog-host/taiga-ui-cdk-components-dialog-host.js +1 -1
  337. package/esm2015/components/dropdown-host/dropdown-host.component.js +24 -18
  338. package/esm2015/components/dropdown-host/dropdown-host.module.js +14 -11
  339. package/esm2015/components/dropdown-host/dropdown-portal.service.js +17 -0
  340. package/esm2015/components/dropdown-host/index.js +2 -1
  341. package/esm2015/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.js +1 -1
  342. package/esm2015/components/index.js +1 -2
  343. package/esm2015/components/taiga-ui-cdk-components.js +1 -1
  344. package/esm2015/constants/always-false-handler.js +1 -1
  345. package/esm2015/constants/always-true-handler.js +1 -1
  346. package/esm2015/constants/browser.js +1 -1
  347. package/esm2015/constants/empty.js +1 -3
  348. package/esm2015/constants/index.js +1 -1
  349. package/esm2015/constants/matcher.js +1 -1
  350. package/esm2015/constants/parent-animation.js +5 -5
  351. package/esm2015/constants/polling-time.js +1 -1
  352. package/esm2015/constants/stringify.js +1 -1
  353. package/esm2015/constants/svg-node-filter.js +2 -2
  354. package/esm2015/constants/taiga-ui-cdk-constants.js +1 -1
  355. package/esm2015/constants/unicode-chars.js +11 -11
  356. package/esm2015/date-time/date-fillers.js +1 -17
  357. package/esm2015/date-time/date-format.js +3 -3
  358. package/esm2015/date-time/date-separator.js +3 -3
  359. package/esm2015/date-time/date-time.js +1 -1
  360. package/esm2015/date-time/day-range.js +6 -16
  361. package/esm2015/date-time/day.js +23 -57
  362. package/esm2015/date-time/days.const.js +1 -1
  363. package/esm2015/date-time/index.js +1 -1
  364. package/esm2015/date-time/month-range.js +1 -7
  365. package/esm2015/date-time/month.js +7 -35
  366. package/esm2015/date-time/taiga-ui-cdk-date-time.js +1 -1
  367. package/esm2015/date-time/time.js +13 -14
  368. package/esm2015/date-time/year.js +6 -34
  369. package/esm2015/decorators/default-prop.js +1 -1
  370. package/esm2015/decorators/index.js +1 -1
  371. package/esm2015/decorators/pure.js +2 -2
  372. package/esm2015/decorators/required-setter.js +1 -1
  373. package/esm2015/decorators/taiga-ui-cdk-decorators.js +1 -1
  374. package/esm2015/directives/active-zone/active-zone.directive.js +37 -30
  375. package/esm2015/directives/active-zone/active-zone.module.js +14 -11
  376. package/esm2015/directives/active-zone/index.js +1 -1
  377. package/esm2015/directives/active-zone/taiga-ui-cdk-directives-active-zone.js +1 -1
  378. package/esm2015/directives/auto-focus/autofocus.directive.js +18 -18
  379. package/esm2015/directives/auto-focus/autofocus.module.js +14 -11
  380. package/esm2015/directives/auto-focus/autofocus.options.js +5 -10
  381. package/esm2015/directives/auto-focus/handlers/abstract.handler.js +11 -14
  382. package/esm2015/directives/auto-focus/handlers/default.handler.js +25 -20
  383. package/esm2015/directives/auto-focus/handlers/ios.handler.js +45 -39
  384. package/esm2015/directives/auto-focus/index.js +1 -1
  385. package/esm2015/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.js +1 -1
  386. package/esm2015/directives/autofilled/autofilled-style.component.js +14 -12
  387. package/esm2015/directives/autofilled/autofilled.directive.js +26 -25
  388. package/esm2015/directives/autofilled/autofilled.module.js +15 -12
  389. package/esm2015/directives/autofilled/index.js +1 -1
  390. package/esm2015/directives/autofilled/taiga-ui-cdk-directives-autofilled.js +1 -1
  391. package/esm2015/directives/checked/checked.directive.js +29 -29
  392. package/esm2015/directives/checked/checked.module.js +14 -11
  393. package/esm2015/directives/checked/index.js +1 -1
  394. package/esm2015/directives/checked/taiga-ui-cdk-directives-checked.js +1 -1
  395. package/esm2015/directives/copy-processor/copy-processor.directive.js +22 -19
  396. package/esm2015/directives/copy-processor/copy-processor.module.js +14 -11
  397. package/esm2015/directives/copy-processor/index.js +1 -1
  398. package/esm2015/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.js +1 -1
  399. package/esm2015/directives/drag/drag.directive.js +24 -23
  400. package/esm2015/directives/drag/drag.module.js +14 -11
  401. package/esm2015/directives/drag/index.js +1 -1
  402. package/esm2015/directives/drag/taiga-ui-cdk-directives-drag.js +1 -1
  403. package/esm2015/directives/droppable/droppable.directive.js +28 -27
  404. package/esm2015/directives/droppable/droppable.module.js +14 -11
  405. package/esm2015/directives/droppable/index.js +1 -1
  406. package/esm2015/directives/droppable/taiga-ui-cdk-directives-droppable.js +1 -1
  407. package/esm2015/directives/element/element.directive.js +16 -15
  408. package/esm2015/directives/element/element.module.js +14 -11
  409. package/esm2015/directives/element/index.js +1 -1
  410. package/esm2015/directives/element/taiga-ui-cdk-directives-element.js +1 -1
  411. package/esm2015/directives/focus-trap/focus-trap.directive.js +35 -32
  412. package/esm2015/directives/focus-trap/focus-trap.module.js +14 -11
  413. package/esm2015/directives/focus-trap/index.js +1 -1
  414. package/esm2015/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.js +1 -1
  415. package/esm2015/directives/focus-visible/focus-visible.directive.js +18 -17
  416. package/esm2015/directives/focus-visible/focus-visible.module.js +14 -11
  417. package/esm2015/directives/focus-visible/index.js +1 -1
  418. package/esm2015/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.js +1 -1
  419. package/esm2015/directives/focusable/focusable.directive.js +18 -16
  420. package/esm2015/directives/focusable/focusable.module.js +14 -11
  421. package/esm2015/directives/focusable/index.js +1 -1
  422. package/esm2015/directives/focusable/taiga-ui-cdk-directives-focusable.js +1 -1
  423. package/esm2015/directives/focused/focused.directive.js +22 -21
  424. package/esm2015/directives/focused/focused.module.js +14 -11
  425. package/esm2015/directives/focused/index.js +1 -1
  426. package/esm2015/directives/focused/taiga-ui-cdk-directives-focused.js +1 -1
  427. package/esm2015/directives/for/for.directive.js +22 -24
  428. package/esm2015/directives/for/for.module.js +14 -11
  429. package/esm2015/directives/for/index.js +1 -1
  430. package/esm2015/directives/for/taiga-ui-cdk-directives-for.js +1 -1
  431. package/esm2015/directives/for-async/for-async.directive.js +21 -21
  432. package/esm2015/directives/for-async/for-async.module.js +14 -11
  433. package/esm2015/directives/for-async/index.js +1 -1
  434. package/esm2015/directives/for-async/taiga-ui-cdk-directives-for-async.js +1 -1
  435. package/esm2015/directives/high-dpi/high-dpi.directive.js +21 -18
  436. package/esm2015/directives/high-dpi/high-dpi.module.js +14 -11
  437. package/esm2015/directives/high-dpi/index.js +1 -1
  438. package/esm2015/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.js +1 -1
  439. package/esm2015/directives/hovered/hovered.directive.js +21 -40
  440. package/esm2015/directives/hovered/hovered.module.js +14 -11
  441. package/esm2015/directives/hovered/hovered.service.js +36 -0
  442. package/esm2015/directives/hovered/index.js +2 -1
  443. package/esm2015/directives/hovered/taiga-ui-cdk-directives-hovered.js +1 -1
  444. package/esm2015/directives/index.js +2 -1
  445. package/esm2015/directives/input-mode/index.js +1 -1
  446. package/esm2015/directives/input-mode/input-mode.directive.js +33 -27
  447. package/esm2015/directives/input-mode/input-mode.module.js +14 -11
  448. package/esm2015/directives/input-mode/taiga-ui-cdk-directives-input-mode.js +1 -1
  449. package/esm2015/directives/item/index.js +1 -1
  450. package/esm2015/directives/item/item.directive.js +13 -12
  451. package/esm2015/directives/item/item.module.js +14 -11
  452. package/esm2015/directives/item/taiga-ui-cdk-directives-item.js +1 -1
  453. package/esm2015/directives/let/index.js +1 -1
  454. package/esm2015/directives/let/let-context.js +1 -1
  455. package/esm2015/directives/let/let.directive.js +20 -19
  456. package/esm2015/directives/let/let.module.js +14 -11
  457. package/esm2015/directives/let/taiga-ui-cdk-directives-let.js +1 -1
  458. package/esm2015/directives/media/index.js +1 -1
  459. package/esm2015/directives/media/media.directive.js +59 -47
  460. package/esm2015/directives/media/media.module.js +14 -11
  461. package/esm2015/directives/media/taiga-ui-cdk-directives-media.js +1 -1
  462. package/esm2015/directives/obscured/index.js +1 -1
  463. package/esm2015/directives/obscured/obscured.directive.js +30 -23
  464. package/esm2015/directives/obscured/obscured.module.js +14 -11
  465. package/esm2015/directives/obscured/taiga-ui-cdk-directives-obscured.js +1 -1
  466. package/esm2015/directives/overscroll/index.js +1 -1
  467. package/esm2015/directives/overscroll/overscroll.directive.js +37 -34
  468. package/esm2015/directives/overscroll/overscroll.module.js +14 -11
  469. package/esm2015/directives/overscroll/taiga-ui-cdk-directives-overscroll.js +1 -1
  470. package/esm2015/directives/pan/index.js +1 -1
  471. package/esm2015/directives/pan/pan.directive.js +18 -17
  472. package/esm2015/directives/pan/pan.module.js +14 -11
  473. package/esm2015/directives/pan/taiga-ui-cdk-directives-pan.js +1 -1
  474. package/esm2015/directives/portal/index.js +1 -1
  475. package/esm2015/directives/portal/portal.directive.js +23 -21
  476. package/esm2015/directives/portal/portal.module.js +14 -11
  477. package/esm2015/directives/portal/taiga-ui-cdk-directives-portal.js +1 -1
  478. package/esm2015/directives/pressed/index.js +1 -1
  479. package/esm2015/directives/pressed/pressed.directive.js +20 -19
  480. package/esm2015/directives/pressed/pressed.module.js +14 -11
  481. package/esm2015/directives/pressed/taiga-ui-cdk-directives-pressed.js +1 -1
  482. package/esm2015/directives/prevent-default/index.js +1 -1
  483. package/esm2015/directives/prevent-default/prevent-default.directive.js +27 -22
  484. package/esm2015/directives/prevent-default/prevent-default.module.js +14 -11
  485. package/esm2015/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.js +1 -1
  486. package/esm2015/directives/repeat-times/index.js +1 -1
  487. package/esm2015/directives/repeat-times/repeat-times.directive.js +21 -17
  488. package/esm2015/directives/repeat-times/repeat-times.module.js +14 -11
  489. package/esm2015/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.js +1 -1
  490. package/esm2015/directives/resize/index.js +1 -1
  491. package/esm2015/directives/resize/resize.directive.js +18 -17
  492. package/esm2015/directives/resize/resize.module.js +14 -11
  493. package/esm2015/directives/resize/taiga-ui-cdk-directives-resize.js +1 -1
  494. package/esm2015/directives/swipe/index.js +1 -1
  495. package/esm2015/directives/swipe/swipe.directive.js +18 -17
  496. package/esm2015/directives/swipe/swipe.module.js +14 -11
  497. package/esm2015/directives/swipe/taiga-ui-cdk-directives-swipe.js +1 -1
  498. package/esm2015/directives/taiga-ui-cdk-directives.js +1 -1
  499. package/esm2015/directives/validator/index.js +1 -1
  500. package/esm2015/directives/validator/taiga-ui-cdk-directives-validator.js +1 -1
  501. package/esm2015/directives/validator/validator.directive.js +27 -18
  502. package/esm2015/directives/validator/validator.module.js +14 -11
  503. package/esm2015/directives/zoom/index.js +1 -1
  504. package/esm2015/directives/zoom/taiga-ui-cdk-directives-zoom.js +1 -1
  505. package/esm2015/directives/zoom/zoom.directive.js +21 -20
  506. package/esm2015/directives/zoom/zoom.module.js +14 -11
  507. package/esm2015/enums/autocomplete.js +1 -11
  508. package/esm2015/enums/day-of-week.js +1 -1
  509. package/esm2015/enums/index.js +1 -4
  510. package/esm2015/enums/month-number.js +1 -1
  511. package/esm2015/enums/taiga-ui-cdk-enums.js +1 -1
  512. package/esm2015/exceptions/computed-document.exception.js +2 -2
  513. package/esm2015/exceptions/document-selection.exception.js +2 -2
  514. package/esm2015/exceptions/index.js +1 -1
  515. package/esm2015/exceptions/invalid-day.exception.js +2 -9
  516. package/esm2015/exceptions/invalid-month.exception.js +2 -9
  517. package/esm2015/exceptions/invalid-year.exception.js +2 -9
  518. package/esm2015/exceptions/no-host.exception.js +2 -2
  519. package/esm2015/exceptions/owner-document.exception.js +2 -2
  520. package/esm2015/exceptions/pure.exception.js +2 -2
  521. package/esm2015/exceptions/table-sort-key.exception.js +2 -2
  522. package/esm2015/exceptions/taiga-ui-cdk-exceptions.js +1 -1
  523. package/esm2015/exceptions/ts-parser.exception.js +2 -2
  524. package/esm2015/exceptions/value-changes.exception.js +2 -2
  525. package/esm2015/exceptions/value-present.exception.js +2 -2
  526. package/esm2015/exceptions/xml-parsing.exception.js +2 -2
  527. package/esm2015/index.js +3 -1
  528. package/esm2015/interfaces/alert-context.js +2 -1
  529. package/esm2015/interfaces/aria-dialog-context.js +2 -1
  530. package/esm2015/interfaces/base-dialog-context.js +2 -1
  531. package/esm2015/interfaces/base-dialog.js +2 -1
  532. package/esm2015/interfaces/context-with-implicit.js +2 -1
  533. package/esm2015/interfaces/control-value-transformer.js +2 -1
  534. package/esm2015/interfaces/day-like.js +2 -1
  535. package/esm2015/interfaces/focusable-element-accessor.js +2 -1
  536. package/esm2015/interfaces/index.js +14 -1
  537. package/esm2015/interfaces/month-like.js +2 -1
  538. package/esm2015/interfaces/swipe.js +2 -1
  539. package/esm2015/interfaces/taiga-ui-cdk-interfaces.js +2 -1
  540. package/esm2015/interfaces/time-like.js +2 -1
  541. package/esm2015/interfaces/year-like.js +2 -1
  542. package/esm2015/interfaces/zoom.js +2 -1
  543. package/esm2015/observables/drag-and-drop-from.js +2 -2
  544. package/esm2015/observables/focus-visible-observable.js +7 -7
  545. package/esm2015/observables/index.js +1 -1
  546. package/esm2015/observables/is-alive.js +1 -1
  547. package/esm2015/observables/items-query-list-observable.js +1 -1
  548. package/esm2015/observables/mouse-drag-finish-from.js +2 -2
  549. package/esm2015/observables/must-be-present.js +1 -1
  550. package/esm2015/observables/pressed-observable.js +2 -2
  551. package/esm2015/observables/prevent-default.js +1 -1
  552. package/esm2015/observables/replay-control-value-changes.js +2 -3
  553. package/esm2015/observables/stop-propagation.js +1 -1
  554. package/esm2015/observables/taiga-ui-cdk-observables.js +1 -1
  555. package/esm2015/observables/typed-from-event.js +1 -1
  556. package/esm2015/observables/watch.js +1 -1
  557. package/esm2015/observables/zone-free.js +1 -1
  558. package/esm2015/pipes/filter/filter.module.js +14 -11
  559. package/esm2015/pipes/filter/filter.pipe.js +10 -8
  560. package/esm2015/pipes/filter/index.js +1 -1
  561. package/esm2015/pipes/filter/taiga-ui-cdk-pipes-filter.js +1 -1
  562. package/esm2015/pipes/index.js +1 -1
  563. package/esm2015/pipes/mapper/index.js +1 -1
  564. package/esm2015/pipes/mapper/mapper.module.js +14 -11
  565. package/esm2015/pipes/mapper/mapper.pipe.js +10 -8
  566. package/esm2015/pipes/mapper/taiga-ui-cdk-pipes-mapper.js +1 -1
  567. package/esm2015/pipes/taiga-ui-cdk-pipes.js +1 -1
  568. package/esm2015/services/destroy.service.js +9 -8
  569. package/esm2015/services/directive-styles.service.js +27 -27
  570. package/esm2015/services/focus-visible.service.js +19 -16
  571. package/esm2015/services/id.service.js +13 -14
  572. package/esm2015/services/index.js +1 -2
  573. package/esm2015/services/obscured.service.js +32 -24
  574. package/esm2015/services/pan.service.js +19 -18
  575. package/esm2015/services/parents-scroll.service.js +16 -15
  576. package/esm2015/services/resize.service.js +28 -23
  577. package/esm2015/services/scroll.service.js +22 -22
  578. package/esm2015/services/static-request.service.js +12 -12
  579. package/esm2015/services/swipe.service.js +19 -17
  580. package/esm2015/services/taiga-ui-cdk-services.js +1 -1
  581. package/esm2015/services/zoom.service.js +17 -16
  582. package/esm2015/taiga-ui-cdk.js +1 -1
  583. package/esm2015/tokens/active-element.js +9 -9
  584. package/esm2015/tokens/alerts.js +2 -2
  585. package/esm2015/tokens/default-renderer.js +2 -2
  586. package/esm2015/tokens/dialogs.js +2 -2
  587. package/esm2015/tokens/focusable-item-accessor.js +2 -2
  588. package/esm2015/tokens/index.js +1 -1
  589. package/esm2015/tokens/is-android.js +2 -2
  590. package/esm2015/tokens/is-apple.js +2 -2
  591. package/esm2015/tokens/is-chromium.js +2 -2
  592. package/esm2015/tokens/is-cypress.js +2 -2
  593. package/esm2015/tokens/is-firefox.js +3 -3
  594. package/esm2015/tokens/is-ios.js +2 -2
  595. package/esm2015/tokens/is-mobile.js +2 -2
  596. package/esm2015/tokens/is-webkit.js +2 -2
  597. package/esm2015/tokens/removed-element.js +3 -4
  598. package/esm2015/tokens/sanitizer.js +2 -2
  599. package/esm2015/tokens/swipe-options.js +2 -2
  600. package/esm2015/tokens/taiga-ui-cdk-tokens.js +1 -1
  601. package/esm2015/tokens/take-only-trusted-events.js +2 -2
  602. package/esm2015/tokens/touch-supported.js +3 -3
  603. package/esm2015/tokens/window-height.js +3 -3
  604. package/esm2015/tokens/zoom-options.js +2 -2
  605. package/esm2015/types/date-mode.js +2 -1
  606. package/esm2015/types/dialog.js +2 -1
  607. package/esm2015/types/event-with.js +2 -1
  608. package/esm2015/types/handler.js +2 -1
  609. package/esm2015/types/index.js +11 -1
  610. package/esm2015/types/input-mode.js +2 -1
  611. package/esm2015/types/input-type.js +2 -1
  612. package/esm2015/types/mapper.js +2 -1
  613. package/esm2015/types/matcher.js +2 -1
  614. package/esm2015/types/overscroll-mode.js +2 -1
  615. package/esm2015/types/taiga-ui-cdk-types.js +2 -1
  616. package/esm2015/types/time-mode.js +2 -1
  617. package/esm2015/utils/browser/index.js +1 -1
  618. package/esm2015/utils/browser/is-edge-older-than.js +3 -8
  619. package/esm2015/utils/browser/is-edge.js +2 -2
  620. package/esm2015/utils/browser/is-firefox.js +2 -2
  621. package/esm2015/utils/browser/is-ie.js +3 -8
  622. package/esm2015/utils/browser/is-safari.js +2 -2
  623. package/esm2015/utils/browser/taiga-ui-cdk-utils-browser.js +1 -1
  624. package/esm2015/utils/dom/can-scroll.js +1 -1
  625. package/esm2015/utils/dom/contains-or-after.js +1 -1
  626. package/esm2015/utils/dom/get-actual-target.js +2 -2
  627. package/esm2015/utils/dom/get-clipboard-data-text.js +4 -4
  628. package/esm2015/utils/dom/get-document-or-shadow-root.js +2 -2
  629. package/esm2015/utils/dom/get-element-obscurers.js +1 -1
  630. package/esm2015/utils/dom/get-element-offset.js +2 -2
  631. package/esm2015/utils/dom/get-scroll-parent.js +1 -1
  632. package/esm2015/utils/dom/get-selected-text.js +1 -1
  633. package/esm2015/utils/dom/index.js +1 -3
  634. package/esm2015/utils/dom/is-current-target.js +1 -1
  635. package/esm2015/utils/dom/is-form-field.js +4 -4
  636. package/esm2015/utils/dom/is-inside-iframe.js +1 -1
  637. package/esm2015/utils/dom/is-node-in.js +4 -5
  638. package/esm2015/utils/dom/point-to-client-rect.js +1 -1
  639. package/esm2015/utils/dom/taiga-ui-cdk-utils-dom.js +1 -1
  640. package/esm2015/utils/focus/blur-native-focused.js +4 -5
  641. package/esm2015/utils/focus/get-closest-keyboard-focusable.js +7 -13
  642. package/esm2015/utils/focus/get-native-focused.js +2 -4
  643. package/esm2015/utils/focus/index.js +1 -1
  644. package/esm2015/utils/focus/is-native-focused-in.js +4 -6
  645. package/esm2015/utils/focus/is-native-focused.js +4 -6
  646. package/esm2015/utils/focus/is-native-keyboard-focusable.js +15 -18
  647. package/esm2015/utils/focus/is-native-mouse-focusable.js +6 -7
  648. package/esm2015/utils/focus/move-focus.js +4 -6
  649. package/esm2015/utils/focus/set-native-focused.js +1 -1
  650. package/esm2015/utils/focus/set-native-mouse-focused.js +5 -5
  651. package/esm2015/utils/focus/taiga-ui-cdk-utils-focus.js +1 -1
  652. package/esm2015/utils/format/index.js +1 -2
  653. package/esm2015/utils/format/px.js +3 -5
  654. package/esm2015/utils/format/taiga-ui-cdk-utils-format.js +1 -1
  655. package/esm2015/utils/index.js +1 -1
  656. package/esm2015/utils/math/clamp.js +1 -1
  657. package/esm2015/utils/math/in-range.js +2 -12
  658. package/esm2015/utils/math/index.js +1 -1
  659. package/esm2015/utils/math/normalize-to-int-number.js +2 -5
  660. package/esm2015/utils/math/quantize.js +1 -1
  661. package/esm2015/utils/math/round.js +5 -5
  662. package/esm2015/utils/math/sum.js +1 -1
  663. package/esm2015/utils/math/taiga-ui-cdk-utils-math.js +1 -1
  664. package/esm2015/utils/math/to-int.js +1 -1
  665. package/esm2015/utils/math/to-radians.js +1 -1
  666. package/esm2015/utils/miscellaneous/distance-between-touches.js +1 -1
  667. package/esm2015/utils/miscellaneous/ease-in-out-quad.js +2 -2
  668. package/esm2015/utils/miscellaneous/flat-length.js +1 -1
  669. package/esm2015/utils/miscellaneous/get-original-array-from-query-list.js +1 -1
  670. package/esm2015/utils/miscellaneous/get-swipe-direction.js +3 -3
  671. package/esm2015/utils/miscellaneous/identity.js +1 -1
  672. package/esm2015/utils/miscellaneous/index.js +2 -2
  673. package/esm2015/utils/miscellaneous/is-element-editable.js +1 -1
  674. package/esm2015/utils/miscellaneous/is-number.js +2 -2
  675. package/esm2015/utils/miscellaneous/is-present.js +1 -1
  676. package/esm2015/utils/miscellaneous/is-string.js +4 -0
  677. package/esm2015/utils/miscellaneous/mark-control-as-touched-and-validate.js +1 -1
  678. package/esm2015/utils/miscellaneous/nullable-same.js +2 -5
  679. package/esm2015/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.js +1 -1
  680. package/esm2015/utils/miscellaneous/uniq-by.js +1 -1
  681. package/esm2015/utils/os/index.js +1 -1
  682. package/esm2015/utils/os/is-apple-platform.js +2 -2
  683. package/esm2015/utils/os/is-apple.js +1 -1
  684. package/esm2015/utils/os/is-ios.js +1 -1
  685. package/esm2015/utils/os/taiga-ui-cdk-utils-os.js +1 -1
  686. package/esm2015/utils/svg/index.js +1 -1
  687. package/esm2015/utils/svg/svg-linear-gradient-processor.js +2 -2
  688. package/esm2015/utils/svg/taiga-ui-cdk-utils-svg.js +1 -1
  689. package/esm2015/utils/taiga-ui-cdk-utils.js +1 -1
  690. package/exceptions/invalid-day.exception.d.ts +1 -7
  691. package/exceptions/invalid-month.exception.d.ts +1 -7
  692. package/exceptions/invalid-year.exception.d.ts +1 -7
  693. package/exceptions/package.json +2 -5
  694. package/exceptions/taiga-ui-cdk-exceptions.d.ts +1 -0
  695. package/fesm2015/taiga-ui-cdk-abstract.js +147 -175
  696. package/fesm2015/taiga-ui-cdk-abstract.js.map +1 -1
  697. package/fesm2015/taiga-ui-cdk-classes.js +3 -5
  698. package/fesm2015/taiga-ui-cdk-classes.js.map +1 -1
  699. package/fesm2015/taiga-ui-cdk-coercion.js +1 -1
  700. package/fesm2015/taiga-ui-cdk-coercion.js.map +1 -1
  701. package/fesm2015/taiga-ui-cdk-components-alert-host.js +38 -29
  702. package/fesm2015/taiga-ui-cdk-components-alert-host.js.map +1 -1
  703. package/fesm2015/taiga-ui-cdk-components-dialog-host.js +65 -41
  704. package/fesm2015/taiga-ui-cdk-components-dialog-host.js.map +1 -1
  705. package/fesm2015/taiga-ui-cdk-components-dropdown-host.js +51 -27
  706. package/fesm2015/taiga-ui-cdk-components-dropdown-host.js.map +1 -1
  707. package/fesm2015/taiga-ui-cdk-components.js +0 -1
  708. package/fesm2015/taiga-ui-cdk-components.js.map +1 -1
  709. package/fesm2015/taiga-ui-cdk-constants.js +16 -18
  710. package/fesm2015/taiga-ui-cdk-constants.js.map +1 -1
  711. package/fesm2015/taiga-ui-cdk-date-time.js +50 -169
  712. package/fesm2015/taiga-ui-cdk-date-time.js.map +1 -1
  713. package/fesm2015/taiga-ui-cdk-decorators.js +1 -1
  714. package/fesm2015/taiga-ui-cdk-decorators.js.map +1 -1
  715. package/fesm2015/taiga-ui-cdk-directives-active-zone.js +48 -36
  716. package/fesm2015/taiga-ui-cdk-directives-active-zone.js.map +1 -1
  717. package/fesm2015/taiga-ui-cdk-directives-auto-focus.js +109 -98
  718. package/fesm2015/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
  719. package/fesm2015/taiga-ui-cdk-directives-autofilled.js +51 -42
  720. package/fesm2015/taiga-ui-cdk-directives-autofilled.js.map +1 -1
  721. package/fesm2015/taiga-ui-cdk-directives-checked.js +41 -36
  722. package/fesm2015/taiga-ui-cdk-directives-checked.js.map +1 -1
  723. package/fesm2015/taiga-ui-cdk-directives-copy-processor.js +34 -26
  724. package/fesm2015/taiga-ui-cdk-directives-copy-processor.js.map +1 -1
  725. package/fesm2015/taiga-ui-cdk-directives-drag.js +36 -30
  726. package/fesm2015/taiga-ui-cdk-directives-drag.js.map +1 -1
  727. package/fesm2015/taiga-ui-cdk-directives-droppable.js +40 -34
  728. package/fesm2015/taiga-ui-cdk-directives-droppable.js.map +1 -1
  729. package/fesm2015/taiga-ui-cdk-directives-element.js +28 -22
  730. package/fesm2015/taiga-ui-cdk-directives-element.js.map +1 -1
  731. package/fesm2015/taiga-ui-cdk-directives-focus-trap.js +46 -38
  732. package/fesm2015/taiga-ui-cdk-directives-focus-trap.js.map +1 -1
  733. package/fesm2015/taiga-ui-cdk-directives-focus-visible.js +30 -24
  734. package/fesm2015/taiga-ui-cdk-directives-focus-visible.js.map +1 -1
  735. package/fesm2015/taiga-ui-cdk-directives-focusable.js +30 -23
  736. package/fesm2015/taiga-ui-cdk-directives-focusable.js.map +1 -1
  737. package/fesm2015/taiga-ui-cdk-directives-focused.js +34 -28
  738. package/fesm2015/taiga-ui-cdk-directives-focused.js.map +1 -1
  739. package/fesm2015/taiga-ui-cdk-directives-for-async.js +32 -27
  740. package/fesm2015/taiga-ui-cdk-directives-for-async.js.map +1 -1
  741. package/fesm2015/taiga-ui-cdk-directives-for.js +33 -30
  742. package/fesm2015/taiga-ui-cdk-directives-for.js.map +1 -1
  743. package/fesm2015/taiga-ui-cdk-directives-high-dpi.js +33 -25
  744. package/fesm2015/taiga-ui-cdk-directives-high-dpi.js.map +1 -1
  745. package/fesm2015/taiga-ui-cdk-directives-hovered.js +60 -41
  746. package/fesm2015/taiga-ui-cdk-directives-hovered.js.map +1 -1
  747. package/fesm2015/taiga-ui-cdk-directives-input-mode.js +45 -34
  748. package/fesm2015/taiga-ui-cdk-directives-input-mode.js.map +1 -1
  749. package/fesm2015/taiga-ui-cdk-directives-item.js +24 -18
  750. package/fesm2015/taiga-ui-cdk-directives-item.js.map +1 -1
  751. package/fesm2015/taiga-ui-cdk-directives-let.js +32 -26
  752. package/fesm2015/taiga-ui-cdk-directives-let.js.map +1 -1
  753. package/fesm2015/taiga-ui-cdk-directives-media.js +71 -54
  754. package/fesm2015/taiga-ui-cdk-directives-media.js.map +1 -1
  755. package/fesm2015/taiga-ui-cdk-directives-obscured.js +42 -30
  756. package/fesm2015/taiga-ui-cdk-directives-obscured.js.map +1 -1
  757. package/fesm2015/taiga-ui-cdk-directives-overscroll.js +49 -41
  758. package/fesm2015/taiga-ui-cdk-directives-overscroll.js.map +1 -1
  759. package/fesm2015/taiga-ui-cdk-directives-pan.js +30 -24
  760. package/fesm2015/taiga-ui-cdk-directives-pan.js.map +1 -1
  761. package/fesm2015/taiga-ui-cdk-directives-portal.js +34 -27
  762. package/fesm2015/taiga-ui-cdk-directives-portal.js.map +1 -1
  763. package/fesm2015/taiga-ui-cdk-directives-pressed.js +32 -26
  764. package/fesm2015/taiga-ui-cdk-directives-pressed.js.map +1 -1
  765. package/fesm2015/taiga-ui-cdk-directives-prevent-default.js +39 -29
  766. package/fesm2015/taiga-ui-cdk-directives-prevent-default.js.map +1 -1
  767. package/fesm2015/taiga-ui-cdk-directives-repeat-times.js +33 -24
  768. package/fesm2015/taiga-ui-cdk-directives-repeat-times.js.map +1 -1
  769. package/fesm2015/taiga-ui-cdk-directives-resize.js +30 -24
  770. package/fesm2015/taiga-ui-cdk-directives-resize.js.map +1 -1
  771. package/fesm2015/taiga-ui-cdk-directives-swipe.js +30 -24
  772. package/fesm2015/taiga-ui-cdk-directives-swipe.js.map +1 -1
  773. package/fesm2015/taiga-ui-cdk-directives-validator.js +39 -25
  774. package/fesm2015/taiga-ui-cdk-directives-validator.js.map +1 -1
  775. package/fesm2015/taiga-ui-cdk-directives-zoom.js +33 -27
  776. package/fesm2015/taiga-ui-cdk-directives-zoom.js.map +1 -1
  777. package/fesm2015/taiga-ui-cdk-directives.js +1 -0
  778. package/fesm2015/taiga-ui-cdk-directives.js.map +1 -1
  779. package/fesm2015/taiga-ui-cdk-enums.js +1 -53
  780. package/fesm2015/taiga-ui-cdk-enums.js.map +1 -1
  781. package/fesm2015/taiga-ui-cdk-exceptions.js +14 -35
  782. package/fesm2015/taiga-ui-cdk-exceptions.js.map +1 -1
  783. package/fesm2015/taiga-ui-cdk-interfaces.js.map +1 -1
  784. package/fesm2015/taiga-ui-cdk-observables.js +11 -12
  785. package/fesm2015/taiga-ui-cdk-observables.js.map +1 -1
  786. package/fesm2015/taiga-ui-cdk-pipes-filter.js +21 -14
  787. package/fesm2015/taiga-ui-cdk-pipes-filter.js.map +1 -1
  788. package/fesm2015/taiga-ui-cdk-pipes-mapper.js +21 -14
  789. package/fesm2015/taiga-ui-cdk-pipes-mapper.js.map +1 -1
  790. package/fesm2015/taiga-ui-cdk-pipes.js.map +1 -1
  791. package/fesm2015/taiga-ui-cdk-services.js +213 -200
  792. package/fesm2015/taiga-ui-cdk-services.js.map +1 -1
  793. package/fesm2015/taiga-ui-cdk-tokens.js +31 -32
  794. package/fesm2015/taiga-ui-cdk-tokens.js.map +1 -1
  795. package/fesm2015/taiga-ui-cdk-types.js.map +1 -1
  796. package/fesm2015/taiga-ui-cdk-utils-browser.js +8 -18
  797. package/fesm2015/taiga-ui-cdk-utils-browser.js.map +1 -1
  798. package/fesm2015/taiga-ui-cdk-utils-dom.js +13 -43
  799. package/fesm2015/taiga-ui-cdk-utils-dom.js.map +1 -1
  800. package/fesm2015/taiga-ui-cdk-utils-focus.js +55 -73
  801. package/fesm2015/taiga-ui-cdk-utils-focus.js.map +1 -1
  802. package/fesm2015/taiga-ui-cdk-utils-format.js +3 -22
  803. package/fesm2015/taiga-ui-cdk-utils-format.js.map +1 -1
  804. package/fesm2015/taiga-ui-cdk-utils-math.js +7 -20
  805. package/fesm2015/taiga-ui-cdk-utils-math.js.map +1 -1
  806. package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js +19 -29
  807. package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js.map +1 -1
  808. package/fesm2015/taiga-ui-cdk-utils-os.js +1 -1
  809. package/fesm2015/taiga-ui-cdk-utils-os.js.map +1 -1
  810. package/fesm2015/taiga-ui-cdk-utils-svg.js +1 -1
  811. package/fesm2015/taiga-ui-cdk-utils-svg.js.map +1 -1
  812. package/fesm2015/taiga-ui-cdk-utils.js.map +1 -1
  813. package/fesm2015/taiga-ui-cdk.js +2 -0
  814. package/fesm2015/taiga-ui-cdk.js.map +1 -1
  815. package/interfaces/package.json +2 -5
  816. package/interfaces/taiga-ui-cdk-interfaces.d.ts +1 -0
  817. package/observables/package.json +2 -5
  818. package/observables/replay-control-value-changes.d.ts +1 -2
  819. package/observables/taiga-ui-cdk-observables.d.ts +1 -0
  820. package/package.json +9 -13
  821. package/pipes/filter/filter.module.d.ts +5 -0
  822. package/pipes/filter/filter.pipe.d.ts +3 -0
  823. package/pipes/filter/package.json +2 -5
  824. package/pipes/filter/taiga-ui-cdk-pipes-filter.d.ts +1 -0
  825. package/pipes/mapper/mapper.module.d.ts +5 -0
  826. package/pipes/mapper/mapper.pipe.d.ts +3 -0
  827. package/pipes/mapper/package.json +2 -5
  828. package/pipes/mapper/taiga-ui-cdk-pipes-mapper.d.ts +1 -0
  829. package/pipes/package.json +2 -5
  830. package/pipes/taiga-ui-cdk-pipes.d.ts +1 -0
  831. package/schematics/constants/taiga-styles.d.ts +3 -0
  832. package/schematics/constants/taiga-styles.js +6 -0
  833. package/schematics/ng-add/constants/modules.js +1 -0
  834. package/schematics/ng-add/constants/packages.js +1 -0
  835. package/schematics/ng-add/constants/versions.js +1 -0
  836. package/schematics/ng-add/index.js +1 -0
  837. package/schematics/ng-add/steps/add-taiga-icons.d.ts +1 -1
  838. package/schematics/ng-add/steps/add-taiga-icons.js +4 -3
  839. package/schematics/ng-add/steps/add-taiga-modules.js +1 -0
  840. package/schematics/ng-add/steps/add-taiga-styles.d.ts +0 -1
  841. package/schematics/ng-add/steps/add-taiga-styles.js +5 -18
  842. package/schematics/ng-add/steps/wrap-with-tui-root.js +1 -0
  843. package/schematics/ng-update/constants/consts.js +1 -0
  844. package/schematics/ng-update/constants/deprecated-functions.js +1 -0
  845. package/schematics/ng-update/constants/enums.js +12 -0
  846. package/schematics/ng-update/constants/modules.js +1 -0
  847. package/schematics/ng-update/constants/services.js +1 -0
  848. package/schematics/ng-update/constants/templates.js +89 -20
  849. package/schematics/ng-update/constants/tui-interactive-selectors.js +1 -0
  850. package/schematics/ng-update/constants/types.js +1 -0
  851. package/schematics/ng-update/constants/warnings.js +1 -0
  852. package/schematics/ng-update/index.d.ts +1 -1
  853. package/schematics/ng-update/index.js +27 -8
  854. package/schematics/ng-update/steps/migrate-date-time.js +1 -0
  855. package/schematics/ng-update/steps/migrate-polymorpheus.d.ts +8 -0
  856. package/schematics/ng-update/steps/migrate-polymorpheus.js +73 -0
  857. package/schematics/ng-update/steps/migrate-progress.js +1 -0
  858. package/schematics/ng-update/steps/migrate-sliders/index.js +1 -0
  859. package/schematics/ng-update/steps/migrate-sliders/migrate-input-range.js +1 -0
  860. package/schematics/ng-update/steps/migrate-sliders/migrate-input-slider.js +1 -0
  861. package/schematics/ng-update/steps/migrate-templates.js +8 -17
  862. package/schematics/ng-update/steps/miscellaneous.js +11 -0
  863. package/schematics/ng-update/steps/remove-module.js +1 -0
  864. package/schematics/ng-update/steps/rename-types.js +1 -0
  865. package/schematics/ng-update/steps/replace-const.js +1 -0
  866. package/schematics/ng-update/steps/replace-deep-import.js +1 -0
  867. package/schematics/ng-update/steps/replace-enums.js +1 -0
  868. package/schematics/ng-update/steps/replace-functions.js +1 -0
  869. package/schematics/ng-update/steps/replace-services.js +1 -0
  870. package/schematics/ng-update/steps/show-warnings.js +7 -3
  871. package/schematics/utils/add-styles.d.ts +3 -0
  872. package/schematics/utils/add-styles.js +17 -0
  873. package/schematics/utils/add-unique-import.js +1 -0
  874. package/schematics/utils/angular/ng-component.js +1 -0
  875. package/schematics/utils/angular/ng-module.js +1 -0
  876. package/schematics/utils/colored-log.js +1 -0
  877. package/schematics/utils/create-angular-json.d.ts +3 -0
  878. package/schematics/utils/create-angular-json.js +29 -0
  879. package/schematics/utils/get-named-import-references.js +7 -3
  880. package/schematics/utils/get-project-target-options.js +1 -0
  881. package/schematics/utils/get-project.js +1 -0
  882. package/schematics/utils/import-manipulations.js +1 -0
  883. package/schematics/utils/insert-todo.js +1 -0
  884. package/schematics/utils/replace-tag.d.ts +3 -0
  885. package/schematics/utils/replace-tag.js +17 -0
  886. package/schematics/utils/templates/elements.d.ts +3 -2
  887. package/schematics/utils/templates/elements.js +13 -7
  888. package/schematics/utils/templates/get-component-templates.js +1 -0
  889. package/schematics/utils/templates/ng-component-input-manipulations.js +1 -0
  890. package/schematics/utils/templates/template-resource.js +1 -0
  891. package/services/destroy.service.d.ts +3 -0
  892. package/services/directive-styles.service.d.ts +3 -0
  893. package/services/focus-visible.service.d.ts +3 -0
  894. package/services/id.service.d.ts +3 -0
  895. package/services/index.d.ts +0 -1
  896. package/services/obscured.service.d.ts +3 -0
  897. package/services/package.json +2 -5
  898. package/services/pan.service.d.ts +3 -0
  899. package/services/parents-scroll.service.d.ts +3 -0
  900. package/services/resize.service.d.ts +4 -2
  901. package/services/scroll.service.d.ts +3 -0
  902. package/services/static-request.service.d.ts +3 -0
  903. package/services/swipe.service.d.ts +3 -0
  904. package/services/taiga-ui-cdk-services.d.ts +1 -0
  905. package/services/zoom.service.d.ts +3 -0
  906. package/taiga-ui-cdk.d.ts +1 -0
  907. package/tokens/package.json +2 -5
  908. package/tokens/taiga-ui-cdk-tokens.d.ts +1 -0
  909. package/types/input-mode.d.ts +1 -1
  910. package/types/input-type.d.ts +1 -1
  911. package/types/overscroll-mode.d.ts +1 -1
  912. package/types/package.json +2 -5
  913. package/types/taiga-ui-cdk-types.d.ts +1 -0
  914. package/utils/browser/is-edge-older-than.d.ts +1 -5
  915. package/utils/browser/is-ie.d.ts +1 -5
  916. package/utils/browser/package.json +2 -5
  917. package/utils/browser/taiga-ui-cdk-utils-browser.d.ts +1 -0
  918. package/utils/dom/index.d.ts +0 -2
  919. package/utils/dom/package.json +2 -5
  920. package/utils/dom/taiga-ui-cdk-utils-dom.d.ts +1 -0
  921. package/utils/focus/get-closest-keyboard-focusable.d.ts +1 -7
  922. package/utils/focus/get-native-focused.d.ts +1 -3
  923. package/utils/focus/is-native-focused-in.d.ts +1 -3
  924. package/utils/focus/is-native-focused.d.ts +1 -3
  925. package/utils/focus/is-native-keyboard-focusable.d.ts +1 -3
  926. package/utils/focus/is-native-mouse-focusable.d.ts +1 -3
  927. package/utils/focus/move-focus.d.ts +1 -3
  928. package/utils/focus/package.json +2 -5
  929. package/utils/focus/taiga-ui-cdk-utils-focus.d.ts +1 -0
  930. package/utils/format/index.d.ts +0 -1
  931. package/utils/format/package.json +2 -5
  932. package/utils/format/px.d.ts +1 -3
  933. package/utils/format/taiga-ui-cdk-utils-format.d.ts +1 -0
  934. package/utils/math/in-range.d.ts +1 -10
  935. package/utils/math/normalize-to-int-number.d.ts +1 -3
  936. package/utils/math/package.json +2 -5
  937. package/utils/math/taiga-ui-cdk-utils-math.d.ts +1 -0
  938. package/utils/miscellaneous/index.d.ts +1 -1
  939. package/utils/miscellaneous/is-string.d.ts +1 -0
  940. package/utils/miscellaneous/nullable-same.d.ts +1 -3
  941. package/utils/miscellaneous/package.json +2 -5
  942. package/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.d.ts +1 -0
  943. package/utils/os/package.json +2 -5
  944. package/utils/os/taiga-ui-cdk-utils-os.d.ts +1 -0
  945. package/utils/package.json +2 -5
  946. package/utils/svg/package.json +2 -5
  947. package/utils/svg/taiga-ui-cdk-utils-svg.d.ts +1 -0
  948. package/utils/taiga-ui-cdk-utils.d.ts +1 -0
  949. package/abstract/taiga-ui-cdk-abstract.metadata.json +0 -1
  950. package/bundles/taiga-ui-cdk-abstract.umd.min.js +0 -2
  951. package/bundles/taiga-ui-cdk-abstract.umd.min.js.map +0 -1
  952. package/bundles/taiga-ui-cdk-classes.umd.min.js +0 -2
  953. package/bundles/taiga-ui-cdk-classes.umd.min.js.map +0 -1
  954. package/bundles/taiga-ui-cdk-coercion.umd.min.js +0 -2
  955. package/bundles/taiga-ui-cdk-coercion.umd.min.js.map +0 -1
  956. package/bundles/taiga-ui-cdk-components-alert-host.umd.min.js +0 -2
  957. package/bundles/taiga-ui-cdk-components-alert-host.umd.min.js.map +0 -1
  958. package/bundles/taiga-ui-cdk-components-dialog-host.umd.min.js +0 -2
  959. package/bundles/taiga-ui-cdk-components-dialog-host.umd.min.js.map +0 -1
  960. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.min.js +0 -2
  961. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.min.js.map +0 -1
  962. package/bundles/taiga-ui-cdk-components-portal-host.umd.js +0 -279
  963. package/bundles/taiga-ui-cdk-components-portal-host.umd.js.map +0 -1
  964. package/bundles/taiga-ui-cdk-components-portal-host.umd.min.js +0 -2
  965. package/bundles/taiga-ui-cdk-components-portal-host.umd.min.js.map +0 -1
  966. package/bundles/taiga-ui-cdk-components.umd.min.js +0 -2
  967. package/bundles/taiga-ui-cdk-components.umd.min.js.map +0 -1
  968. package/bundles/taiga-ui-cdk-constants.umd.min.js +0 -2
  969. package/bundles/taiga-ui-cdk-constants.umd.min.js.map +0 -1
  970. package/bundles/taiga-ui-cdk-date-time.umd.min.js +0 -2
  971. package/bundles/taiga-ui-cdk-date-time.umd.min.js.map +0 -1
  972. package/bundles/taiga-ui-cdk-decorators.umd.min.js +0 -2
  973. package/bundles/taiga-ui-cdk-decorators.umd.min.js.map +0 -1
  974. package/bundles/taiga-ui-cdk-directives-active-zone.umd.min.js +0 -2
  975. package/bundles/taiga-ui-cdk-directives-active-zone.umd.min.js.map +0 -1
  976. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.min.js +0 -2
  977. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.min.js.map +0 -1
  978. package/bundles/taiga-ui-cdk-directives-autofilled.umd.min.js +0 -2
  979. package/bundles/taiga-ui-cdk-directives-autofilled.umd.min.js.map +0 -1
  980. package/bundles/taiga-ui-cdk-directives-checked.umd.min.js +0 -2
  981. package/bundles/taiga-ui-cdk-directives-checked.umd.min.js.map +0 -1
  982. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.min.js +0 -2
  983. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.min.js.map +0 -1
  984. package/bundles/taiga-ui-cdk-directives-drag.umd.min.js +0 -2
  985. package/bundles/taiga-ui-cdk-directives-drag.umd.min.js.map +0 -1
  986. package/bundles/taiga-ui-cdk-directives-droppable.umd.min.js +0 -2
  987. package/bundles/taiga-ui-cdk-directives-droppable.umd.min.js.map +0 -1
  988. package/bundles/taiga-ui-cdk-directives-element.umd.min.js +0 -2
  989. package/bundles/taiga-ui-cdk-directives-element.umd.min.js.map +0 -1
  990. package/bundles/taiga-ui-cdk-directives-focus-trap.umd.min.js +0 -2
  991. package/bundles/taiga-ui-cdk-directives-focus-trap.umd.min.js.map +0 -1
  992. package/bundles/taiga-ui-cdk-directives-focus-visible.umd.min.js +0 -2
  993. package/bundles/taiga-ui-cdk-directives-focus-visible.umd.min.js.map +0 -1
  994. package/bundles/taiga-ui-cdk-directives-focusable.umd.min.js +0 -2
  995. package/bundles/taiga-ui-cdk-directives-focusable.umd.min.js.map +0 -1
  996. package/bundles/taiga-ui-cdk-directives-focused.umd.min.js +0 -2
  997. package/bundles/taiga-ui-cdk-directives-focused.umd.min.js.map +0 -1
  998. package/bundles/taiga-ui-cdk-directives-for-async.umd.min.js +0 -2
  999. package/bundles/taiga-ui-cdk-directives-for-async.umd.min.js.map +0 -1
  1000. package/bundles/taiga-ui-cdk-directives-for.umd.min.js +0 -2
  1001. package/bundles/taiga-ui-cdk-directives-for.umd.min.js.map +0 -1
  1002. package/bundles/taiga-ui-cdk-directives-high-dpi.umd.min.js +0 -2
  1003. package/bundles/taiga-ui-cdk-directives-high-dpi.umd.min.js.map +0 -1
  1004. package/bundles/taiga-ui-cdk-directives-hovered.umd.min.js +0 -2
  1005. package/bundles/taiga-ui-cdk-directives-hovered.umd.min.js.map +0 -1
  1006. package/bundles/taiga-ui-cdk-directives-input-mode.umd.min.js +0 -2
  1007. package/bundles/taiga-ui-cdk-directives-input-mode.umd.min.js.map +0 -1
  1008. package/bundles/taiga-ui-cdk-directives-item.umd.min.js +0 -2
  1009. package/bundles/taiga-ui-cdk-directives-item.umd.min.js.map +0 -1
  1010. package/bundles/taiga-ui-cdk-directives-let.umd.min.js +0 -2
  1011. package/bundles/taiga-ui-cdk-directives-let.umd.min.js.map +0 -1
  1012. package/bundles/taiga-ui-cdk-directives-media.umd.min.js +0 -2
  1013. package/bundles/taiga-ui-cdk-directives-media.umd.min.js.map +0 -1
  1014. package/bundles/taiga-ui-cdk-directives-obscured.umd.min.js +0 -2
  1015. package/bundles/taiga-ui-cdk-directives-obscured.umd.min.js.map +0 -1
  1016. package/bundles/taiga-ui-cdk-directives-overscroll.umd.min.js +0 -2
  1017. package/bundles/taiga-ui-cdk-directives-overscroll.umd.min.js.map +0 -1
  1018. package/bundles/taiga-ui-cdk-directives-pan.umd.min.js +0 -2
  1019. package/bundles/taiga-ui-cdk-directives-pan.umd.min.js.map +0 -1
  1020. package/bundles/taiga-ui-cdk-directives-portal.umd.min.js +0 -2
  1021. package/bundles/taiga-ui-cdk-directives-portal.umd.min.js.map +0 -1
  1022. package/bundles/taiga-ui-cdk-directives-pressed.umd.min.js +0 -2
  1023. package/bundles/taiga-ui-cdk-directives-pressed.umd.min.js.map +0 -1
  1024. package/bundles/taiga-ui-cdk-directives-prevent-default.umd.min.js +0 -2
  1025. package/bundles/taiga-ui-cdk-directives-prevent-default.umd.min.js.map +0 -1
  1026. package/bundles/taiga-ui-cdk-directives-repeat-times.umd.min.js +0 -2
  1027. package/bundles/taiga-ui-cdk-directives-repeat-times.umd.min.js.map +0 -1
  1028. package/bundles/taiga-ui-cdk-directives-resize.umd.min.js +0 -2
  1029. package/bundles/taiga-ui-cdk-directives-resize.umd.min.js.map +0 -1
  1030. package/bundles/taiga-ui-cdk-directives-swipe.umd.min.js +0 -2
  1031. package/bundles/taiga-ui-cdk-directives-swipe.umd.min.js.map +0 -1
  1032. package/bundles/taiga-ui-cdk-directives-validator.umd.min.js +0 -2
  1033. package/bundles/taiga-ui-cdk-directives-validator.umd.min.js.map +0 -1
  1034. package/bundles/taiga-ui-cdk-directives-zoom.umd.min.js +0 -2
  1035. package/bundles/taiga-ui-cdk-directives-zoom.umd.min.js.map +0 -1
  1036. package/bundles/taiga-ui-cdk-directives.umd.min.js +0 -2
  1037. package/bundles/taiga-ui-cdk-directives.umd.min.js.map +0 -1
  1038. package/bundles/taiga-ui-cdk-enums.umd.min.js +0 -2
  1039. package/bundles/taiga-ui-cdk-enums.umd.min.js.map +0 -1
  1040. package/bundles/taiga-ui-cdk-exceptions.umd.min.js +0 -2
  1041. package/bundles/taiga-ui-cdk-exceptions.umd.min.js.map +0 -1
  1042. package/bundles/taiga-ui-cdk-interfaces.umd.min.js +0 -2
  1043. package/bundles/taiga-ui-cdk-interfaces.umd.min.js.map +0 -1
  1044. package/bundles/taiga-ui-cdk-observables.umd.min.js +0 -2
  1045. package/bundles/taiga-ui-cdk-observables.umd.min.js.map +0 -1
  1046. package/bundles/taiga-ui-cdk-pipes-filter.umd.min.js +0 -2
  1047. package/bundles/taiga-ui-cdk-pipes-filter.umd.min.js.map +0 -1
  1048. package/bundles/taiga-ui-cdk-pipes-mapper.umd.min.js +0 -2
  1049. package/bundles/taiga-ui-cdk-pipes-mapper.umd.min.js.map +0 -1
  1050. package/bundles/taiga-ui-cdk-pipes.umd.min.js +0 -2
  1051. package/bundles/taiga-ui-cdk-pipes.umd.min.js.map +0 -1
  1052. package/bundles/taiga-ui-cdk-services.umd.min.js +0 -2
  1053. package/bundles/taiga-ui-cdk-services.umd.min.js.map +0 -1
  1054. package/bundles/taiga-ui-cdk-tokens.umd.min.js +0 -2
  1055. package/bundles/taiga-ui-cdk-tokens.umd.min.js.map +0 -1
  1056. package/bundles/taiga-ui-cdk-types.umd.min.js +0 -2
  1057. package/bundles/taiga-ui-cdk-types.umd.min.js.map +0 -1
  1058. package/bundles/taiga-ui-cdk-utils-browser.umd.min.js +0 -2
  1059. package/bundles/taiga-ui-cdk-utils-browser.umd.min.js.map +0 -1
  1060. package/bundles/taiga-ui-cdk-utils-dom.umd.min.js +0 -2
  1061. package/bundles/taiga-ui-cdk-utils-dom.umd.min.js.map +0 -1
  1062. package/bundles/taiga-ui-cdk-utils-focus.umd.min.js +0 -2
  1063. package/bundles/taiga-ui-cdk-utils-focus.umd.min.js.map +0 -1
  1064. package/bundles/taiga-ui-cdk-utils-format.umd.min.js +0 -2
  1065. package/bundles/taiga-ui-cdk-utils-format.umd.min.js.map +0 -1
  1066. package/bundles/taiga-ui-cdk-utils-math.umd.min.js +0 -2
  1067. package/bundles/taiga-ui-cdk-utils-math.umd.min.js.map +0 -1
  1068. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.min.js +0 -2
  1069. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.min.js.map +0 -1
  1070. package/bundles/taiga-ui-cdk-utils-os.umd.min.js +0 -2
  1071. package/bundles/taiga-ui-cdk-utils-os.umd.min.js.map +0 -1
  1072. package/bundles/taiga-ui-cdk-utils-svg.umd.min.js +0 -2
  1073. package/bundles/taiga-ui-cdk-utils-svg.umd.min.js.map +0 -1
  1074. package/bundles/taiga-ui-cdk-utils.umd.min.js +0 -2
  1075. package/bundles/taiga-ui-cdk-utils.umd.min.js.map +0 -1
  1076. package/bundles/taiga-ui-cdk.umd.min.js +0 -2
  1077. package/bundles/taiga-ui-cdk.umd.min.js.map +0 -1
  1078. package/classes/taiga-ui-cdk-classes.metadata.json +0 -1
  1079. package/coercion/taiga-ui-cdk-coercion.metadata.json +0 -1
  1080. package/components/alert-host/taiga-ui-cdk-components-alert-host.metadata.json +0 -1
  1081. package/components/dialog-host/taiga-ui-cdk-components-dialog-host.metadata.json +0 -1
  1082. package/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.metadata.json +0 -1
  1083. package/components/portal-host/index.d.ts +0 -1
  1084. package/components/portal-host/package.json +0 -13
  1085. package/components/portal-host/portal.service.d.ts +0 -7
  1086. package/components/portal-host/taiga-ui-cdk-components-portal-host.d.ts +0 -4
  1087. package/components/portal-host/taiga-ui-cdk-components-portal-host.metadata.json +0 -1
  1088. package/components/taiga-ui-cdk-components.metadata.json +0 -1
  1089. package/constants/taiga-ui-cdk-constants.metadata.json +0 -1
  1090. package/date-time/taiga-ui-cdk-date-time.metadata.json +0 -1
  1091. package/decorators/taiga-ui-cdk-decorators.metadata.json +0 -1
  1092. package/directives/active-zone/taiga-ui-cdk-directives-active-zone.metadata.json +0 -1
  1093. package/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.metadata.json +0 -1
  1094. package/directives/autofilled/taiga-ui-cdk-directives-autofilled.metadata.json +0 -1
  1095. package/directives/checked/taiga-ui-cdk-directives-checked.metadata.json +0 -1
  1096. package/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.metadata.json +0 -1
  1097. package/directives/drag/taiga-ui-cdk-directives-drag.metadata.json +0 -1
  1098. package/directives/droppable/taiga-ui-cdk-directives-droppable.metadata.json +0 -1
  1099. package/directives/element/taiga-ui-cdk-directives-element.metadata.json +0 -1
  1100. package/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.metadata.json +0 -1
  1101. package/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.metadata.json +0 -1
  1102. package/directives/focusable/taiga-ui-cdk-directives-focusable.metadata.json +0 -1
  1103. package/directives/focused/taiga-ui-cdk-directives-focused.metadata.json +0 -1
  1104. package/directives/for/taiga-ui-cdk-directives-for.metadata.json +0 -1
  1105. package/directives/for-async/taiga-ui-cdk-directives-for-async.metadata.json +0 -1
  1106. package/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.metadata.json +0 -1
  1107. package/directives/hovered/taiga-ui-cdk-directives-hovered.metadata.json +0 -1
  1108. package/directives/input-mode/taiga-ui-cdk-directives-input-mode.metadata.json +0 -1
  1109. package/directives/item/taiga-ui-cdk-directives-item.metadata.json +0 -1
  1110. package/directives/let/taiga-ui-cdk-directives-let.metadata.json +0 -1
  1111. package/directives/media/taiga-ui-cdk-directives-media.metadata.json +0 -1
  1112. package/directives/obscured/taiga-ui-cdk-directives-obscured.metadata.json +0 -1
  1113. package/directives/overscroll/taiga-ui-cdk-directives-overscroll.metadata.json +0 -1
  1114. package/directives/pan/taiga-ui-cdk-directives-pan.metadata.json +0 -1
  1115. package/directives/portal/taiga-ui-cdk-directives-portal.metadata.json +0 -1
  1116. package/directives/pressed/taiga-ui-cdk-directives-pressed.metadata.json +0 -1
  1117. package/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.metadata.json +0 -1
  1118. package/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.metadata.json +0 -1
  1119. package/directives/resize/taiga-ui-cdk-directives-resize.metadata.json +0 -1
  1120. package/directives/swipe/taiga-ui-cdk-directives-swipe.metadata.json +0 -1
  1121. package/directives/taiga-ui-cdk-directives.metadata.json +0 -1
  1122. package/directives/validator/taiga-ui-cdk-directives-validator.metadata.json +0 -1
  1123. package/directives/zoom/taiga-ui-cdk-directives-zoom.metadata.json +0 -1
  1124. package/enums/input-mode.d.ts +0 -13
  1125. package/enums/input-type.d.ts +0 -10
  1126. package/enums/overscroll-mode.d.ts +0 -13
  1127. package/enums/taiga-ui-cdk-enums.metadata.json +0 -1
  1128. package/esm2015/components/portal-host/index.js +0 -2
  1129. package/esm2015/components/portal-host/portal.service.js +0 -18
  1130. package/esm2015/components/portal-host/taiga-ui-cdk-components-portal-host.js +0 -5
  1131. package/esm2015/enums/input-mode.js +0 -15
  1132. package/esm2015/enums/input-type.js +0 -12
  1133. package/esm2015/enums/overscroll-mode.js +0 -15
  1134. package/esm2015/services/hovered.service.js +0 -34
  1135. package/esm2015/utils/dom/custom-event.js +0 -10
  1136. package/esm2015/utils/dom/get-closest-element.js +0 -20
  1137. package/esm2015/utils/format/pad-start.js +0 -17
  1138. package/esm2015/utils/miscellaneous/fallback-value.js +0 -12
  1139. package/esm5/abstract/control.js +0 -247
  1140. package/esm5/abstract/controller.js +0 -25
  1141. package/esm5/abstract/dialog.directive.js +0 -44
  1142. package/esm5/abstract/dialog.service.js +0 -39
  1143. package/esm5/abstract/index.js +0 -11
  1144. package/esm5/abstract/interactive.js +0 -172
  1145. package/esm5/abstract/multiple-control.js +0 -21
  1146. package/esm5/abstract/nullable-control.js +0 -18
  1147. package/esm5/abstract/portal-host.js +0 -50
  1148. package/esm5/abstract/portal-service.js +0 -42
  1149. package/esm5/abstract/taiga-ui-cdk-abstract.js +0 -5
  1150. package/esm5/abstract/theme-switcher.js +0 -55
  1151. package/esm5/classes/assert.js +0 -19
  1152. package/esm5/classes/index.js +0 -3
  1153. package/esm5/classes/taiga-ui-cdk-classes.js +0 -5
  1154. package/esm5/classes/validation-error.js +0 -10
  1155. package/esm5/coercion/coerce-boolean-property.js +0 -10
  1156. package/esm5/coercion/index.js +0 -2
  1157. package/esm5/coercion/taiga-ui-cdk-coercion.js +0 -5
  1158. package/esm5/components/alert-host/alert-host.component.js +0 -42
  1159. package/esm5/components/alert-host/alert-host.module.js +0 -19
  1160. package/esm5/components/alert-host/index.js +0 -3
  1161. package/esm5/components/alert-host/taiga-ui-cdk-components-alert-host.js +0 -5
  1162. package/esm5/components/dialog-host/dialog-host.component.js +0 -77
  1163. package/esm5/components/dialog-host/dialog-host.module.js +0 -28
  1164. package/esm5/components/dialog-host/index.js +0 -3
  1165. package/esm5/components/dialog-host/taiga-ui-cdk-components-dialog-host.js +0 -5
  1166. package/esm5/components/dropdown-host/dropdown-host.component.js +0 -34
  1167. package/esm5/components/dropdown-host/dropdown-host.module.js +0 -16
  1168. package/esm5/components/dropdown-host/index.js +0 -3
  1169. package/esm5/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.js +0 -5
  1170. package/esm5/components/index.js +0 -5
  1171. package/esm5/components/portal-host/index.js +0 -2
  1172. package/esm5/components/portal-host/portal.service.js +0 -23
  1173. package/esm5/components/portal-host/taiga-ui-cdk-components-portal-host.js +0 -5
  1174. package/esm5/components/taiga-ui-cdk-components.js +0 -5
  1175. package/esm5/constants/always-false-handler.js +0 -5
  1176. package/esm5/constants/always-true-handler.js +0 -5
  1177. package/esm5/constants/browser.js +0 -2
  1178. package/esm5/constants/empty.js +0 -20
  1179. package/esm5/constants/index.js +0 -11
  1180. package/esm5/constants/matcher.js +0 -35
  1181. package/esm5/constants/parent-animation.js +0 -8
  1182. package/esm5/constants/polling-time.js +0 -2
  1183. package/esm5/constants/stringify.js +0 -5
  1184. package/esm5/constants/svg-node-filter.js +0 -8
  1185. package/esm5/constants/taiga-ui-cdk-constants.js +0 -5
  1186. package/esm5/constants/unicode-chars.js +0 -56
  1187. package/esm5/date-time/date-fillers.js +0 -31
  1188. package/esm5/date-time/date-format.js +0 -5
  1189. package/esm5/date-time/date-separator.js +0 -6
  1190. package/esm5/date-time/date-time.js +0 -19
  1191. package/esm5/date-time/day-range.js +0 -111
  1192. package/esm5/date-time/day.js +0 -350
  1193. package/esm5/date-time/days.const.js +0 -5
  1194. package/esm5/date-time/index.js +0 -12
  1195. package/esm5/date-time/month-range.js +0 -43
  1196. package/esm5/date-time/month.js +0 -209
  1197. package/esm5/date-time/taiga-ui-cdk-date-time.js +0 -5
  1198. package/esm5/date-time/time.js +0 -134
  1199. package/esm5/date-time/year.js +0 -168
  1200. package/esm5/decorators/default-prop.js +0 -62
  1201. package/esm5/decorators/index.js +0 -4
  1202. package/esm5/decorators/pure.js +0 -55
  1203. package/esm5/decorators/required-setter.js +0 -39
  1204. package/esm5/decorators/taiga-ui-cdk-decorators.js +0 -5
  1205. package/esm5/directives/active-zone/active-zone.directive.js +0 -92
  1206. package/esm5/directives/active-zone/active-zone.module.js +0 -16
  1207. package/esm5/directives/active-zone/index.js +0 -3
  1208. package/esm5/directives/active-zone/taiga-ui-cdk-directives-active-zone.js +0 -5
  1209. package/esm5/directives/auto-focus/autofocus.directive.js +0 -31
  1210. package/esm5/directives/auto-focus/autofocus.module.js +0 -16
  1211. package/esm5/directives/auto-focus/autofocus.options.js +0 -29
  1212. package/esm5/directives/auto-focus/handlers/abstract.handler.js +0 -34
  1213. package/esm5/directives/auto-focus/handlers/default.handler.js +0 -43
  1214. package/esm5/directives/auto-focus/handlers/ios.handler.js +0 -137
  1215. package/esm5/directives/auto-focus/index.js +0 -7
  1216. package/esm5/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.js +0 -5
  1217. package/esm5/directives/autofilled/autofilled-style.component.js +0 -16
  1218. package/esm5/directives/autofilled/autofilled.directive.js +0 -42
  1219. package/esm5/directives/autofilled/autofilled.module.js +0 -18
  1220. package/esm5/directives/autofilled/index.js +0 -4
  1221. package/esm5/directives/autofilled/taiga-ui-cdk-directives-autofilled.js +0 -5
  1222. package/esm5/directives/checked/checked.directive.js +0 -49
  1223. package/esm5/directives/checked/checked.module.js +0 -16
  1224. package/esm5/directives/checked/index.js +0 -3
  1225. package/esm5/directives/checked/taiga-ui-cdk-directives-checked.js +0 -5
  1226. package/esm5/directives/copy-processor/copy-processor.directive.js +0 -39
  1227. package/esm5/directives/copy-processor/copy-processor.module.js +0 -16
  1228. package/esm5/directives/copy-processor/index.js +0 -3
  1229. package/esm5/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.js +0 -5
  1230. package/esm5/directives/drag/drag.directive.js +0 -52
  1231. package/esm5/directives/drag/drag.module.js +0 -16
  1232. package/esm5/directives/drag/index.js +0 -3
  1233. package/esm5/directives/drag/taiga-ui-cdk-directives-drag.js +0 -5
  1234. package/esm5/directives/droppable/droppable.directive.js +0 -43
  1235. package/esm5/directives/droppable/droppable.module.js +0 -16
  1236. package/esm5/directives/droppable/index.js +0 -3
  1237. package/esm5/directives/droppable/taiga-ui-cdk-directives-droppable.js +0 -5
  1238. package/esm5/directives/element/element.directive.js +0 -22
  1239. package/esm5/directives/element/element.module.js +0 -16
  1240. package/esm5/directives/element/index.js +0 -3
  1241. package/esm5/directives/element/taiga-ui-cdk-directives-element.js +0 -5
  1242. package/esm5/directives/focus-trap/focus-trap.directive.js +0 -78
  1243. package/esm5/directives/focus-trap/focus-trap.module.js +0 -16
  1244. package/esm5/directives/focus-trap/index.js +0 -3
  1245. package/esm5/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.js +0 -5
  1246. package/esm5/directives/focus-visible/focus-visible.directive.js +0 -29
  1247. package/esm5/directives/focus-visible/focus-visible.module.js +0 -16
  1248. package/esm5/directives/focus-visible/index.js +0 -3
  1249. package/esm5/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.js +0 -5
  1250. package/esm5/directives/focusable/focusable.directive.js +0 -34
  1251. package/esm5/directives/focusable/focusable.module.js +0 -16
  1252. package/esm5/directives/focusable/index.js +0 -3
  1253. package/esm5/directives/focusable/taiga-ui-cdk-directives-focusable.js +0 -5
  1254. package/esm5/directives/focused/focused.directive.js +0 -34
  1255. package/esm5/directives/focused/focused.module.js +0 -16
  1256. package/esm5/directives/focused/index.js +0 -3
  1257. package/esm5/directives/focused/taiga-ui-cdk-directives-focused.js +0 -5
  1258. package/esm5/directives/for/for.directive.js +0 -39
  1259. package/esm5/directives/for/for.module.js +0 -16
  1260. package/esm5/directives/for/index.js +0 -3
  1261. package/esm5/directives/for/taiga-ui-cdk-directives-for.js +0 -5
  1262. package/esm5/directives/for-async/for-async.directive.js +0 -53
  1263. package/esm5/directives/for-async/for-async.module.js +0 -19
  1264. package/esm5/directives/for-async/index.js +0 -3
  1265. package/esm5/directives/for-async/taiga-ui-cdk-directives-for-async.js +0 -5
  1266. package/esm5/directives/high-dpi/high-dpi.directive.js +0 -31
  1267. package/esm5/directives/high-dpi/high-dpi.module.js +0 -16
  1268. package/esm5/directives/high-dpi/index.js +0 -3
  1269. package/esm5/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.js +0 -5
  1270. package/esm5/directives/hovered/hovered.directive.js +0 -44
  1271. package/esm5/directives/hovered/hovered.module.js +0 -16
  1272. package/esm5/directives/hovered/index.js +0 -3
  1273. package/esm5/directives/hovered/taiga-ui-cdk-directives-hovered.js +0 -5
  1274. package/esm5/directives/index.js +0 -31
  1275. package/esm5/directives/input-mode/index.js +0 -3
  1276. package/esm5/directives/input-mode/input-mode.directive.js +0 -44
  1277. package/esm5/directives/input-mode/input-mode.module.js +0 -16
  1278. package/esm5/directives/input-mode/taiga-ui-cdk-directives-input-mode.js +0 -5
  1279. package/esm5/directives/item/index.js +0 -3
  1280. package/esm5/directives/item/item.directive.js +0 -18
  1281. package/esm5/directives/item/item.module.js +0 -16
  1282. package/esm5/directives/item/taiga-ui-cdk-directives-item.js +0 -5
  1283. package/esm5/directives/let/index.js +0 -4
  1284. package/esm5/directives/let/let-context.js +0 -25
  1285. package/esm5/directives/let/let.directive.js +0 -38
  1286. package/esm5/directives/let/let.module.js +0 -16
  1287. package/esm5/directives/let/taiga-ui-cdk-directives-let.js +0 -5
  1288. package/esm5/directives/media/index.js +0 -3
  1289. package/esm5/directives/media/media.directive.js +0 -130
  1290. package/esm5/directives/media/media.module.js +0 -16
  1291. package/esm5/directives/media/taiga-ui-cdk-directives-media.js +0 -5
  1292. package/esm5/directives/obscured/index.js +0 -3
  1293. package/esm5/directives/obscured/obscured.directive.js +0 -53
  1294. package/esm5/directives/obscured/obscured.module.js +0 -16
  1295. package/esm5/directives/obscured/taiga-ui-cdk-directives-obscured.js +0 -5
  1296. package/esm5/directives/overscroll/index.js +0 -3
  1297. package/esm5/directives/overscroll/overscroll.directive.js +0 -112
  1298. package/esm5/directives/overscroll/overscroll.module.js +0 -16
  1299. package/esm5/directives/overscroll/taiga-ui-cdk-directives-overscroll.js +0 -5
  1300. package/esm5/directives/pan/index.js +0 -3
  1301. package/esm5/directives/pan/pan.directive.js +0 -24
  1302. package/esm5/directives/pan/pan.module.js +0 -19
  1303. package/esm5/directives/pan/taiga-ui-cdk-directives-pan.js +0 -5
  1304. package/esm5/directives/portal/index.js +0 -3
  1305. package/esm5/directives/portal/portal.directive.js +0 -41
  1306. package/esm5/directives/portal/portal.module.js +0 -16
  1307. package/esm5/directives/portal/taiga-ui-cdk-directives-portal.js +0 -5
  1308. package/esm5/directives/pressed/index.js +0 -3
  1309. package/esm5/directives/pressed/pressed.directive.js +0 -30
  1310. package/esm5/directives/pressed/pressed.module.js +0 -16
  1311. package/esm5/directives/pressed/taiga-ui-cdk-directives-pressed.js +0 -5
  1312. package/esm5/directives/prevent-default/index.js +0 -3
  1313. package/esm5/directives/prevent-default/prevent-default.directive.js +0 -38
  1314. package/esm5/directives/prevent-default/prevent-default.module.js +0 -16
  1315. package/esm5/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.js +0 -5
  1316. package/esm5/directives/repeat-times/index.js +0 -3
  1317. package/esm5/directives/repeat-times/repeat-times.directive.js +0 -67
  1318. package/esm5/directives/repeat-times/repeat-times.module.js +0 -16
  1319. package/esm5/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.js +0 -5
  1320. package/esm5/directives/resize/index.js +0 -3
  1321. package/esm5/directives/resize/resize.directive.js +0 -24
  1322. package/esm5/directives/resize/resize.module.js +0 -19
  1323. package/esm5/directives/resize/taiga-ui-cdk-directives-resize.js +0 -5
  1324. package/esm5/directives/swipe/index.js +0 -3
  1325. package/esm5/directives/swipe/swipe.directive.js +0 -24
  1326. package/esm5/directives/swipe/swipe.module.js +0 -19
  1327. package/esm5/directives/swipe/taiga-ui-cdk-directives-swipe.js +0 -5
  1328. package/esm5/directives/taiga-ui-cdk-directives.js +0 -5
  1329. package/esm5/directives/validator/index.js +0 -3
  1330. package/esm5/directives/validator/taiga-ui-cdk-directives-validator.js +0 -5
  1331. package/esm5/directives/validator/validator.directive.js +0 -45
  1332. package/esm5/directives/validator/validator.module.js +0 -16
  1333. package/esm5/directives/zoom/index.js +0 -3
  1334. package/esm5/directives/zoom/taiga-ui-cdk-directives-zoom.js +0 -5
  1335. package/esm5/directives/zoom/zoom.directive.js +0 -27
  1336. package/esm5/directives/zoom/zoom.module.js +0 -19
  1337. package/esm5/enums/autocomplete.js +0 -66
  1338. package/esm5/enums/day-of-week.js +0 -11
  1339. package/esm5/enums/index.js +0 -7
  1340. package/esm5/enums/input-mode.js +0 -15
  1341. package/esm5/enums/input-type.js +0 -12
  1342. package/esm5/enums/month-number.js +0 -16
  1343. package/esm5/enums/overscroll-mode.js +0 -15
  1344. package/esm5/enums/taiga-ui-cdk-enums.js +0 -5
  1345. package/esm5/exceptions/computed-document.exception.js +0 -10
  1346. package/esm5/exceptions/document-selection.exception.js +0 -10
  1347. package/esm5/exceptions/index.js +0 -14
  1348. package/esm5/exceptions/invalid-day.exception.js +0 -23
  1349. package/esm5/exceptions/invalid-month.exception.js +0 -23
  1350. package/esm5/exceptions/invalid-year.exception.js +0 -23
  1351. package/esm5/exceptions/no-host.exception.js +0 -10
  1352. package/esm5/exceptions/owner-document.exception.js +0 -10
  1353. package/esm5/exceptions/pure.exception.js +0 -10
  1354. package/esm5/exceptions/table-sort-key.exception.js +0 -10
  1355. package/esm5/exceptions/taiga-ui-cdk-exceptions.js +0 -5
  1356. package/esm5/exceptions/ts-parser.exception.js +0 -10
  1357. package/esm5/exceptions/value-changes.exception.js +0 -10
  1358. package/esm5/exceptions/value-present.exception.js +0 -10
  1359. package/esm5/exceptions/xml-parsing.exception.js +0 -10
  1360. package/esm5/index.js +0 -16
  1361. package/esm5/interfaces/alert-context.js +0 -1
  1362. package/esm5/interfaces/aria-dialog-context.js +0 -1
  1363. package/esm5/interfaces/base-dialog-context.js +0 -1
  1364. package/esm5/interfaces/base-dialog.js +0 -1
  1365. package/esm5/interfaces/context-with-implicit.js +0 -1
  1366. package/esm5/interfaces/control-value-transformer.js +0 -1
  1367. package/esm5/interfaces/day-like.js +0 -1
  1368. package/esm5/interfaces/focusable-element-accessor.js +0 -1
  1369. package/esm5/interfaces/index.js +0 -1
  1370. package/esm5/interfaces/month-like.js +0 -1
  1371. package/esm5/interfaces/swipe.js +0 -1
  1372. package/esm5/interfaces/taiga-ui-cdk-interfaces.js +0 -4
  1373. package/esm5/interfaces/time-like.js +0 -1
  1374. package/esm5/interfaces/year-like.js +0 -1
  1375. package/esm5/interfaces/zoom.js +0 -1
  1376. package/esm5/observables/drag-and-drop-from.js +0 -33
  1377. package/esm5/observables/focus-visible-observable.js +0 -36
  1378. package/esm5/observables/index.js +0 -14
  1379. package/esm5/observables/is-alive.js +0 -10
  1380. package/esm5/observables/items-query-list-observable.js +0 -12
  1381. package/esm5/observables/mouse-drag-finish-from.js +0 -13
  1382. package/esm5/observables/must-be-present.js +0 -17
  1383. package/esm5/observables/pressed-observable.js +0 -21
  1384. package/esm5/observables/prevent-default.js +0 -10
  1385. package/esm5/observables/replay-control-value-changes.js +0 -16
  1386. package/esm5/observables/stop-propagation.js +0 -12
  1387. package/esm5/observables/taiga-ui-cdk-observables.js +0 -5
  1388. package/esm5/observables/typed-from-event.js +0 -11
  1389. package/esm5/observables/watch.js +0 -12
  1390. package/esm5/observables/zone-free.js +0 -23
  1391. package/esm5/pipes/filter/filter.module.js +0 -16
  1392. package/esm5/pipes/filter/filter.pipe.js +0 -26
  1393. package/esm5/pipes/filter/index.js +0 -3
  1394. package/esm5/pipes/filter/taiga-ui-cdk-pipes-filter.js +0 -5
  1395. package/esm5/pipes/index.js +0 -3
  1396. package/esm5/pipes/mapper/index.js +0 -3
  1397. package/esm5/pipes/mapper/mapper.module.js +0 -16
  1398. package/esm5/pipes/mapper/mapper.pipe.js +0 -26
  1399. package/esm5/pipes/mapper/taiga-ui-cdk-pipes-mapper.js +0 -5
  1400. package/esm5/pipes/taiga-ui-cdk-pipes.js +0 -5
  1401. package/esm5/services/destroy.service.js +0 -22
  1402. package/esm5/services/directive-styles.service.js +0 -56
  1403. package/esm5/services/focus-visible.service.js +0 -35
  1404. package/esm5/services/hovered.service.js +0 -39
  1405. package/esm5/services/id.service.js +0 -26
  1406. package/esm5/services/index.js +0 -14
  1407. package/esm5/services/obscured.service.js +0 -50
  1408. package/esm5/services/pan.service.js +0 -47
  1409. package/esm5/services/parents-scroll.service.js +0 -40
  1410. package/esm5/services/resize.service.js +0 -41
  1411. package/esm5/services/scroll.service.js +0 -58
  1412. package/esm5/services/static-request.service.js +0 -48
  1413. package/esm5/services/swipe.service.js +0 -60
  1414. package/esm5/services/taiga-ui-cdk-services.js +0 -5
  1415. package/esm5/services/zoom.service.js +0 -64
  1416. package/esm5/taiga-ui-cdk.js +0 -5
  1417. package/esm5/tokens/active-element.js +0 -67
  1418. package/esm5/tokens/alerts.js +0 -5
  1419. package/esm5/tokens/default-renderer.js +0 -7
  1420. package/esm5/tokens/dialogs.js +0 -5
  1421. package/esm5/tokens/focusable-item-accessor.js +0 -3
  1422. package/esm5/tokens/index.js +0 -21
  1423. package/esm5/tokens/is-android.js +0 -7
  1424. package/esm5/tokens/is-apple.js +0 -5
  1425. package/esm5/tokens/is-chromium.js +0 -6
  1426. package/esm5/tokens/is-cypress.js +0 -9
  1427. package/esm5/tokens/is-firefox.js +0 -9
  1428. package/esm5/tokens/is-ios.js +0 -7
  1429. package/esm5/tokens/is-mobile.js +0 -12
  1430. package/esm5/tokens/is-webkit.js +0 -6
  1431. package/esm5/tokens/removed-element.js +0 -19
  1432. package/esm5/tokens/sanitizer.js +0 -4
  1433. package/esm5/tokens/swipe-options.js +0 -5
  1434. package/esm5/tokens/taiga-ui-cdk-tokens.js +0 -5
  1435. package/esm5/tokens/take-only-trusted-events.js +0 -11
  1436. package/esm5/tokens/touch-supported.js +0 -6
  1437. package/esm5/tokens/window-height.js +0 -11
  1438. package/esm5/tokens/zoom-options.js +0 -7
  1439. package/esm5/types/date-mode.js +0 -1
  1440. package/esm5/types/dialog.js +0 -1
  1441. package/esm5/types/event-with.js +0 -1
  1442. package/esm5/types/handler.js +0 -1
  1443. package/esm5/types/index.js +0 -1
  1444. package/esm5/types/input-mode.js +0 -1
  1445. package/esm5/types/input-type.js +0 -1
  1446. package/esm5/types/mapper.js +0 -1
  1447. package/esm5/types/matcher.js +0 -1
  1448. package/esm5/types/overscroll-mode.js +0 -1
  1449. package/esm5/types/taiga-ui-cdk-types.js +0 -4
  1450. package/esm5/types/time-mode.js +0 -1
  1451. package/esm5/utils/browser/index.js +0 -6
  1452. package/esm5/utils/browser/is-edge-older-than.js +0 -11
  1453. package/esm5/utils/browser/is-edge.js +0 -9
  1454. package/esm5/utils/browser/is-firefox.js +0 -9
  1455. package/esm5/utils/browser/is-ie.js +0 -9
  1456. package/esm5/utils/browser/is-safari.js +0 -11
  1457. package/esm5/utils/browser/taiga-ui-cdk-utils-browser.js +0 -5
  1458. package/esm5/utils/dom/can-scroll.js +0 -47
  1459. package/esm5/utils/dom/contains-or-after.js +0 -10
  1460. package/esm5/utils/dom/custom-event.js +0 -11
  1461. package/esm5/utils/dom/get-actual-target.js +0 -13
  1462. package/esm5/utils/dom/get-clipboard-data-text.js +0 -15
  1463. package/esm5/utils/dom/get-closest-element.js +0 -20
  1464. package/esm5/utils/dom/get-document-or-shadow-root.js +0 -11
  1465. package/esm5/utils/dom/get-element-obscurers.js +0 -39
  1466. package/esm5/utils/dom/get-element-offset.js +0 -23
  1467. package/esm5/utils/dom/get-scroll-parent.js +0 -23
  1468. package/esm5/utils/dom/get-selected-text.js +0 -17
  1469. package/esm5/utils/dom/index.js +0 -17
  1470. package/esm5/utils/dom/is-current-target.js +0 -10
  1471. package/esm5/utils/dom/is-form-field.js +0 -8
  1472. package/esm5/utils/dom/is-inside-iframe.js +0 -10
  1473. package/esm5/utils/dom/is-node-in.js +0 -18
  1474. package/esm5/utils/dom/point-to-client-rect.js +0 -13
  1475. package/esm5/utils/dom/taiga-ui-cdk-utils-dom.js +0 -5
  1476. package/esm5/utils/focus/blur-native-focused.js +0 -16
  1477. package/esm5/utils/focus/get-closest-keyboard-focusable.js +0 -42
  1478. package/esm5/utils/focus/get-native-focused.js +0 -19
  1479. package/esm5/utils/focus/index.js +0 -11
  1480. package/esm5/utils/focus/is-native-focused-in.js +0 -19
  1481. package/esm5/utils/focus/is-native-focused.js +0 -16
  1482. package/esm5/utils/focus/is-native-keyboard-focusable.js +0 -36
  1483. package/esm5/utils/focus/is-native-mouse-focusable.js +0 -11
  1484. package/esm5/utils/focus/move-focus.js +0 -23
  1485. package/esm5/utils/focus/set-native-focused.js +0 -21
  1486. package/esm5/utils/focus/set-native-mouse-focused.js +0 -28
  1487. package/esm5/utils/focus/taiga-ui-cdk-utils-focus.js +0 -5
  1488. package/esm5/utils/format/index.js +0 -3
  1489. package/esm5/utils/format/pad-start.js +0 -18
  1490. package/esm5/utils/format/px.js +0 -12
  1491. package/esm5/utils/format/taiga-ui-cdk-utils-format.js +0 -5
  1492. package/esm5/utils/index.js +0 -9
  1493. package/esm5/utils/math/clamp.js +0 -19
  1494. package/esm5/utils/math/in-range.js +0 -19
  1495. package/esm5/utils/math/index.js +0 -9
  1496. package/esm5/utils/math/normalize-to-int-number.js +0 -25
  1497. package/esm5/utils/math/quantize.js +0 -18
  1498. package/esm5/utils/math/round.js +0 -49
  1499. package/esm5/utils/math/sum.js +0 -14
  1500. package/esm5/utils/math/taiga-ui-cdk-utils-math.js +0 -5
  1501. package/esm5/utils/math/to-int.js +0 -9
  1502. package/esm5/utils/math/to-radians.js +0 -10
  1503. package/esm5/utils/miscellaneous/distance-between-touches.js +0 -10
  1504. package/esm5/utils/miscellaneous/ease-in-out-quad.js +0 -11
  1505. package/esm5/utils/miscellaneous/fallback-value.js +0 -12
  1506. package/esm5/utils/miscellaneous/flat-length.js +0 -12
  1507. package/esm5/utils/miscellaneous/get-original-array-from-query-list.js +0 -18
  1508. package/esm5/utils/miscellaneous/get-swipe-direction.js +0 -14
  1509. package/esm5/utils/miscellaneous/identity.js +0 -8
  1510. package/esm5/utils/miscellaneous/index.js +0 -14
  1511. package/esm5/utils/miscellaneous/is-element-editable.js +0 -12
  1512. package/esm5/utils/miscellaneous/is-number.js +0 -9
  1513. package/esm5/utils/miscellaneous/is-present.js +0 -9
  1514. package/esm5/utils/miscellaneous/mark-control-as-touched-and-validate.js +0 -21
  1515. package/esm5/utils/miscellaneous/nullable-same.js +0 -21
  1516. package/esm5/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.js +0 -5
  1517. package/esm5/utils/miscellaneous/uniq-by.js +0 -11
  1518. package/esm5/utils/os/index.js +0 -4
  1519. package/esm5/utils/os/is-apple-platform.js +0 -17
  1520. package/esm5/utils/os/is-apple.js +0 -11
  1521. package/esm5/utils/os/is-ios.js +0 -12
  1522. package/esm5/utils/os/taiga-ui-cdk-utils-os.js +0 -5
  1523. package/esm5/utils/svg/index.js +0 -2
  1524. package/esm5/utils/svg/svg-linear-gradient-processor.js +0 -32
  1525. package/esm5/utils/svg/taiga-ui-cdk-utils-svg.js +0 -5
  1526. package/esm5/utils/taiga-ui-cdk-utils.js +0 -5
  1527. package/exceptions/taiga-ui-cdk-exceptions.metadata.json +0 -1
  1528. package/fesm2015/taiga-ui-cdk-components-portal-host.js +0 -23
  1529. package/fesm2015/taiga-ui-cdk-components-portal-host.js.map +0 -1
  1530. package/fesm5/taiga-ui-cdk-abstract.js +0 -682
  1531. package/fesm5/taiga-ui-cdk-abstract.js.map +0 -1
  1532. package/fesm5/taiga-ui-cdk-classes.js +0 -35
  1533. package/fesm5/taiga-ui-cdk-classes.js.map +0 -1
  1534. package/fesm5/taiga-ui-cdk-coercion.js +0 -16
  1535. package/fesm5/taiga-ui-cdk-coercion.js.map +0 -1
  1536. package/fesm5/taiga-ui-cdk-components-alert-host.js +0 -63
  1537. package/fesm5/taiga-ui-cdk-components-alert-host.js.map +0 -1
  1538. package/fesm5/taiga-ui-cdk-components-dialog-host.js +0 -107
  1539. package/fesm5/taiga-ui-cdk-components-dialog-host.js.map +0 -1
  1540. package/fesm5/taiga-ui-cdk-components-dropdown-host.js +0 -52
  1541. package/fesm5/taiga-ui-cdk-components-dropdown-host.js.map +0 -1
  1542. package/fesm5/taiga-ui-cdk-components-portal-host.js +0 -28
  1543. package/fesm5/taiga-ui-cdk-components-portal-host.js.map +0 -1
  1544. package/fesm5/taiga-ui-cdk-components.js +0 -9
  1545. package/fesm5/taiga-ui-cdk-components.js.map +0 -1
  1546. package/fesm5/taiga-ui-cdk-constants.js +0 -152
  1547. package/fesm5/taiga-ui-cdk-constants.js.map +0 -1
  1548. package/fesm5/taiga-ui-cdk-date-time.js +0 -1051
  1549. package/fesm5/taiga-ui-cdk-date-time.js.map +0 -1
  1550. package/fesm5/taiga-ui-cdk-decorators.js +0 -161
  1551. package/fesm5/taiga-ui-cdk-decorators.js.map +0 -1
  1552. package/fesm5/taiga-ui-cdk-directives-active-zone.js +0 -110
  1553. package/fesm5/taiga-ui-cdk-directives-active-zone.js.map +0 -1
  1554. package/fesm5/taiga-ui-cdk-directives-auto-focus.js +0 -273
  1555. package/fesm5/taiga-ui-cdk-directives-auto-focus.js.map +0 -1
  1556. package/fesm5/taiga-ui-cdk-directives-autofilled.js +0 -73
  1557. package/fesm5/taiga-ui-cdk-directives-autofilled.js.map +0 -1
  1558. package/fesm5/taiga-ui-cdk-directives-checked.js +0 -67
  1559. package/fesm5/taiga-ui-cdk-directives-checked.js.map +0 -1
  1560. package/fesm5/taiga-ui-cdk-directives-copy-processor.js +0 -57
  1561. package/fesm5/taiga-ui-cdk-directives-copy-processor.js.map +0 -1
  1562. package/fesm5/taiga-ui-cdk-directives-drag.js +0 -70
  1563. package/fesm5/taiga-ui-cdk-directives-drag.js.map +0 -1
  1564. package/fesm5/taiga-ui-cdk-directives-droppable.js +0 -61
  1565. package/fesm5/taiga-ui-cdk-directives-droppable.js.map +0 -1
  1566. package/fesm5/taiga-ui-cdk-directives-element.js +0 -40
  1567. package/fesm5/taiga-ui-cdk-directives-element.js.map +0 -1
  1568. package/fesm5/taiga-ui-cdk-directives-focus-trap.js +0 -96
  1569. package/fesm5/taiga-ui-cdk-directives-focus-trap.js.map +0 -1
  1570. package/fesm5/taiga-ui-cdk-directives-focus-visible.js +0 -47
  1571. package/fesm5/taiga-ui-cdk-directives-focus-visible.js.map +0 -1
  1572. package/fesm5/taiga-ui-cdk-directives-focusable.js +0 -52
  1573. package/fesm5/taiga-ui-cdk-directives-focusable.js.map +0 -1
  1574. package/fesm5/taiga-ui-cdk-directives-focused.js +0 -52
  1575. package/fesm5/taiga-ui-cdk-directives-focused.js.map +0 -1
  1576. package/fesm5/taiga-ui-cdk-directives-for-async.js +0 -74
  1577. package/fesm5/taiga-ui-cdk-directives-for-async.js.map +0 -1
  1578. package/fesm5/taiga-ui-cdk-directives-for.js +0 -57
  1579. package/fesm5/taiga-ui-cdk-directives-for.js.map +0 -1
  1580. package/fesm5/taiga-ui-cdk-directives-high-dpi.js +0 -49
  1581. package/fesm5/taiga-ui-cdk-directives-high-dpi.js.map +0 -1
  1582. package/fesm5/taiga-ui-cdk-directives-hovered.js +0 -62
  1583. package/fesm5/taiga-ui-cdk-directives-hovered.js.map +0 -1
  1584. package/fesm5/taiga-ui-cdk-directives-input-mode.js +0 -62
  1585. package/fesm5/taiga-ui-cdk-directives-input-mode.js.map +0 -1
  1586. package/fesm5/taiga-ui-cdk-directives-item.js +0 -36
  1587. package/fesm5/taiga-ui-cdk-directives-item.js.map +0 -1
  1588. package/fesm5/taiga-ui-cdk-directives-let.js +0 -79
  1589. package/fesm5/taiga-ui-cdk-directives-let.js.map +0 -1
  1590. package/fesm5/taiga-ui-cdk-directives-media.js +0 -148
  1591. package/fesm5/taiga-ui-cdk-directives-media.js.map +0 -1
  1592. package/fesm5/taiga-ui-cdk-directives-obscured.js +0 -71
  1593. package/fesm5/taiga-ui-cdk-directives-obscured.js.map +0 -1
  1594. package/fesm5/taiga-ui-cdk-directives-overscroll.js +0 -130
  1595. package/fesm5/taiga-ui-cdk-directives-overscroll.js.map +0 -1
  1596. package/fesm5/taiga-ui-cdk-directives-pan.js +0 -45
  1597. package/fesm5/taiga-ui-cdk-directives-pan.js.map +0 -1
  1598. package/fesm5/taiga-ui-cdk-directives-portal.js +0 -59
  1599. package/fesm5/taiga-ui-cdk-directives-portal.js.map +0 -1
  1600. package/fesm5/taiga-ui-cdk-directives-pressed.js +0 -48
  1601. package/fesm5/taiga-ui-cdk-directives-pressed.js.map +0 -1
  1602. package/fesm5/taiga-ui-cdk-directives-prevent-default.js +0 -56
  1603. package/fesm5/taiga-ui-cdk-directives-prevent-default.js.map +0 -1
  1604. package/fesm5/taiga-ui-cdk-directives-repeat-times.js +0 -84
  1605. package/fesm5/taiga-ui-cdk-directives-repeat-times.js.map +0 -1
  1606. package/fesm5/taiga-ui-cdk-directives-resize.js +0 -45
  1607. package/fesm5/taiga-ui-cdk-directives-resize.js.map +0 -1
  1608. package/fesm5/taiga-ui-cdk-directives-swipe.js +0 -45
  1609. package/fesm5/taiga-ui-cdk-directives-swipe.js.map +0 -1
  1610. package/fesm5/taiga-ui-cdk-directives-validator.js +0 -63
  1611. package/fesm5/taiga-ui-cdk-directives-validator.js.map +0 -1
  1612. package/fesm5/taiga-ui-cdk-directives-zoom.js +0 -48
  1613. package/fesm5/taiga-ui-cdk-directives-zoom.js.map +0 -1
  1614. package/fesm5/taiga-ui-cdk-directives.js +0 -35
  1615. package/fesm5/taiga-ui-cdk-directives.js.map +0 -1
  1616. package/fesm5/taiga-ui-cdk-enums.js +0 -141
  1617. package/fesm5/taiga-ui-cdk-enums.js.map +0 -1
  1618. package/fesm5/taiga-ui-cdk-exceptions.js +0 -148
  1619. package/fesm5/taiga-ui-cdk-exceptions.js.map +0 -1
  1620. package/fesm5/taiga-ui-cdk-interfaces.js +0 -4
  1621. package/fesm5/taiga-ui-cdk-interfaces.js.map +0 -1
  1622. package/fesm5/taiga-ui-cdk-observables.js +0 -204
  1623. package/fesm5/taiga-ui-cdk-observables.js.map +0 -1
  1624. package/fesm5/taiga-ui-cdk-pipes-filter.js +0 -44
  1625. package/fesm5/taiga-ui-cdk-pipes-filter.js.map +0 -1
  1626. package/fesm5/taiga-ui-cdk-pipes-mapper.js +0 -44
  1627. package/fesm5/taiga-ui-cdk-pipes-mapper.js.map +0 -1
  1628. package/fesm5/taiga-ui-cdk-pipes.js +0 -7
  1629. package/fesm5/taiga-ui-cdk-pipes.js.map +0 -1
  1630. package/fesm5/taiga-ui-cdk-services.js +0 -507
  1631. package/fesm5/taiga-ui-cdk-services.js.map +0 -1
  1632. package/fesm5/taiga-ui-cdk-tokens.js +0 -181
  1633. package/fesm5/taiga-ui-cdk-tokens.js.map +0 -1
  1634. package/fesm5/taiga-ui-cdk-types.js +0 -4
  1635. package/fesm5/taiga-ui-cdk-types.js.map +0 -1
  1636. package/fesm5/taiga-ui-cdk-utils-browser.js +0 -55
  1637. package/fesm5/taiga-ui-cdk-utils-browser.js.map +0 -1
  1638. package/fesm5/taiga-ui-cdk-utils-dom.js +0 -292
  1639. package/fesm5/taiga-ui-cdk-utils-dom.js.map +0 -1
  1640. package/fesm5/taiga-ui-cdk-utils-focus.js +0 -228
  1641. package/fesm5/taiga-ui-cdk-utils-focus.js.map +0 -1
  1642. package/fesm5/taiga-ui-cdk-utils-format.js +0 -37
  1643. package/fesm5/taiga-ui-cdk-utils-format.js.map +0 -1
  1644. package/fesm5/taiga-ui-cdk-utils-math.js +0 -166
  1645. package/fesm5/taiga-ui-cdk-utils-math.js.map +0 -1
  1646. package/fesm5/taiga-ui-cdk-utils-miscellaneous.js +0 -174
  1647. package/fesm5/taiga-ui-cdk-utils-miscellaneous.js.map +0 -1
  1648. package/fesm5/taiga-ui-cdk-utils-os.js +0 -44
  1649. package/fesm5/taiga-ui-cdk-utils-os.js.map +0 -1
  1650. package/fesm5/taiga-ui-cdk-utils-svg.js +0 -39
  1651. package/fesm5/taiga-ui-cdk-utils-svg.js.map +0 -1
  1652. package/fesm5/taiga-ui-cdk-utils.js +0 -13
  1653. package/fesm5/taiga-ui-cdk-utils.js.map +0 -1
  1654. package/fesm5/taiga-ui-cdk.js +0 -20
  1655. package/fesm5/taiga-ui-cdk.js.map +0 -1
  1656. package/interfaces/taiga-ui-cdk-interfaces.metadata.json +0 -1
  1657. package/observables/taiga-ui-cdk-observables.metadata.json +0 -1
  1658. package/pipes/filter/taiga-ui-cdk-pipes-filter.metadata.json +0 -1
  1659. package/pipes/mapper/taiga-ui-cdk-pipes-mapper.metadata.json +0 -1
  1660. package/pipes/taiga-ui-cdk-pipes.metadata.json +0 -1
  1661. package/services/hovered.service.d.ts +0 -9
  1662. package/services/taiga-ui-cdk-services.metadata.json +0 -1
  1663. package/taiga-ui-cdk.metadata.json +0 -1
  1664. package/tokens/taiga-ui-cdk-tokens.metadata.json +0 -1
  1665. package/types/taiga-ui-cdk-types.metadata.json +0 -1
  1666. package/utils/browser/taiga-ui-cdk-utils-browser.metadata.json +0 -1
  1667. package/utils/dom/custom-event.d.ts +0 -2
  1668. package/utils/dom/get-closest-element.d.ts +0 -5
  1669. package/utils/dom/taiga-ui-cdk-utils-dom.metadata.json +0 -1
  1670. package/utils/focus/taiga-ui-cdk-utils-focus.metadata.json +0 -1
  1671. package/utils/format/pad-start.d.ts +0 -9
  1672. package/utils/format/taiga-ui-cdk-utils-format.metadata.json +0 -1
  1673. package/utils/math/taiga-ui-cdk-utils-math.metadata.json +0 -1
  1674. package/utils/miscellaneous/fallback-value.d.ts +0 -7
  1675. package/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.metadata.json +0 -1
  1676. package/utils/os/taiga-ui-cdk-utils-os.metadata.json +0 -1
  1677. package/utils/svg/taiga-ui-cdk-utils-svg.metadata.json +0 -1
  1678. package/utils/taiga-ui-cdk-utils.metadata.json +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-abstract.js","sources":["ng://@taiga-ui/cdk/abstract/interactive.ts","ng://@taiga-ui/cdk/abstract/control.ts","ng://@taiga-ui/cdk/abstract/controller.ts","ng://@taiga-ui/cdk/abstract/dialog.service.ts","ng://@taiga-ui/cdk/abstract/dialog.directive.ts","ng://@taiga-ui/cdk/abstract/multiple-control.ts","ng://@taiga-ui/cdk/abstract/nullable-control.ts","ng://@taiga-ui/cdk/abstract/portal-service.ts","ng://@taiga-ui/cdk/abstract/portal-host.ts","ng://@taiga-ui/cdk/abstract/theme-switcher.ts","ng://@taiga-ui/cdk/abstract/taiga-ui-cdk-abstract.ts"],"sourcesContent":["import {Directive, EventEmitter, HostBinding, Input, Output} from '@angular/core';\nimport {tuiDefaultProp} from '@taiga-ui/cdk/decorators';\n\nconst TUI = 'tui_interactive_';\n\n/**\n * The most basic class for interactive components\n */\n@Directive()\nexport abstract class AbstractTuiInteractive {\n private static autoId = 0;\n\n abstract disabled: boolean;\n\n abstract focused: boolean;\n\n private readonly autoIdString: string;\n\n @Input()\n @tuiDefaultProp()\n pseudoHovered: boolean | null = null;\n\n @Input()\n @tuiDefaultProp()\n pseudoPressed: boolean | null = null;\n\n @Input()\n @tuiDefaultProp()\n pseudoFocused: boolean | null = null;\n\n /**\n * Determines if component is focusable with keyboard.\n */\n @Input()\n @tuiDefaultProp()\n focusable = true;\n\n @Input()\n @tuiDefaultProp()\n nativeId = '';\n\n /**\n * Emits 'true' on focus and 'false' on blur.\n */\n @Output()\n readonly focusedChange = new EventEmitter<boolean>();\n\n /** @deprecated use `tuiPressedChange` directive */\n @Output()\n readonly pressedChange = new EventEmitter<boolean>();\n\n /** @deprecated use `tuiHoveredChange` directive */\n @Output()\n readonly hoveredChange = new EventEmitter<boolean>();\n\n @Output()\n readonly focusVisibleChange = new EventEmitter<boolean>();\n\n /** @deprecated use `tuiHoveredChange` directive */\n hovered = false;\n\n /** @deprecated use `tuiPressedChange` directive */\n pressed = false;\n\n focusVisible = false;\n\n protected constructor() {\n this.autoIdString = `${TUI}${AbstractTuiInteractive.autoId++}${Date.now()}`;\n }\n\n @HostBinding('class._disabled')\n get computedDisabled(): boolean {\n return this.disabled;\n }\n\n /** @deprecated */\n @HostBinding('class._hovered')\n get computedHovered(): boolean {\n return !this.computedDisabled && (this.pseudoHovered ?? this.hovered);\n }\n\n /** @deprecated */\n @HostBinding('class._pressed')\n get computedPressed(): boolean {\n return !this.computedDisabled && (this.pseudoPressed ?? this.pressed);\n }\n\n get computedFocusable(): boolean {\n return !this.computedDisabled && (this.focusable || this.focused);\n }\n\n @HostBinding('class._focused')\n get computedFocused(): boolean {\n return !this.computedDisabled && (this.pseudoFocused ?? this.focused);\n }\n\n @HostBinding('class._focus-visible')\n get computedFocusVisible(): boolean {\n return !this.computedDisabled && (this.pseudoFocused ?? this.focusVisible);\n }\n\n // TODO: 3.0 Consider removing since native input is exposed\n get id(): string {\n return this.nativeId ? this.nativeId : this.autoIdString;\n }\n\n /** @deprecated */\n protected updateHovered(hovered: boolean): void {\n if (this.hovered === hovered) {\n return;\n }\n\n this.hovered = hovered;\n this.hoveredChange.emit(hovered);\n }\n\n /** @deprecated */\n protected updatePressed(pressed: boolean): void {\n if (this.pressed === pressed) {\n return;\n }\n\n this.pressed = pressed;\n this.pressedChange.emit(pressed);\n }\n\n protected updateFocused(focused: boolean): void {\n this.focusedChange.emit(focused);\n }\n\n protected updateFocusVisible(focusVisible: boolean): void {\n if (this.focusVisible === focusVisible) {\n return;\n }\n\n this.focusVisible = focusVisible;\n this.focusVisibleChange.emit(focusVisible);\n }\n}\n","import {\n ChangeDetectorRef,\n Directive,\n HostBinding,\n Input,\n OnDestroy,\n OnInit,\n} from '@angular/core';\nimport {AbstractControl, ControlValueAccessor, NgControl, NgModel} from '@angular/forms';\nimport {tuiAssert} from '@taiga-ui/cdk/classes';\nimport {EMPTY_FUNCTION} from '@taiga-ui/cdk/constants';\nimport {tuiDefaultProp} from '@taiga-ui/cdk/decorators';\nimport {TuiControlValueTransformer} from '@taiga-ui/cdk/interfaces';\nimport {merge, Subject} from 'rxjs';\nimport {takeUntil} from 'rxjs/operators';\n\nimport {AbstractTuiInteractive} from './interactive';\n\n/**\n * Basic ControlValueAccessor class to build form components upon\n */\n@Directive()\nexport abstract class AbstractTuiControl<T>\n extends AbstractTuiInteractive\n implements OnDestroy, OnInit, ControlValueAccessor\n{\n private previousInternalValue?: T | null;\n\n private onTouched = EMPTY_FUNCTION;\n\n private onChange = EMPTY_FUNCTION;\n\n protected readonly fallbackValue = this.getFallbackValue();\n\n protected readonly destroy$ = new Subject<void>();\n\n @Input()\n @HostBinding('class._readonly')\n @tuiDefaultProp()\n readOnly = false;\n\n @Input()\n @tuiDefaultProp()\n pseudoInvalid: boolean | null = null;\n\n protected constructor(\n private readonly ngControl: NgControl | null,\n protected readonly changeDetectorRef: ChangeDetectorRef,\n protected readonly valueTransformer?: TuiControlValueTransformer<T> | null,\n ) {\n super();\n\n if (this.ngControl === null) {\n tuiAssert.assert(\n false,\n `NgControl not injected in ${this.constructor.name}!\\n`,\n 'Use [(ngModel)] or [formControl] or formControlName for correct work.',\n );\n } else {\n this.ngControl.valueAccessor = this;\n }\n }\n\n protected abstract getFallbackValue(): T;\n\n @HostBinding('class._invalid')\n get computedInvalid(): boolean {\n return (\n this.interactive &&\n (this.pseudoInvalid !== null\n ? this.pseudoInvalid\n : this.touched && this.invalid)\n );\n }\n\n get value(): T {\n return this.previousInternalValue ?? this.fallbackValue;\n }\n\n get safeCurrentValue(): T {\n return this.rawValue ?? this.fallbackValue;\n }\n\n get invalid(): boolean {\n return this.safeNgControlData<boolean>(({invalid}) => invalid, false);\n }\n\n get valid(): boolean {\n return this.safeNgControlData<boolean>(({valid}) => valid, false);\n }\n\n get touched(): boolean {\n return this.safeNgControlData<boolean>(({touched}) => touched, false);\n }\n\n get disabled(): boolean {\n return this.safeNgControlData<boolean>(({disabled}) => disabled, false);\n }\n\n get interactive(): boolean {\n return !this.readOnly && !this.computedDisabled;\n }\n\n get control(): AbstractControl | null {\n return this.safeNgControlData<AbstractControl | null>(\n ({control}) => control,\n null,\n );\n }\n\n get computedName(): string | null {\n return this.controlName?.toString() ?? null;\n }\n\n protected get controlName(): string | null {\n return this.ngControl?.name?.toString() ?? null;\n }\n\n private get rawValue(): T | undefined {\n const {ngControl} = this;\n\n if (ngControl === null) {\n return undefined;\n }\n\n const controlValue =\n ngControl instanceof NgModel && this.previousInternalValue === undefined\n ? ngControl.viewModel\n : ngControl.value;\n\n return this.fromControlValue(controlValue);\n }\n\n ngOnInit(): void {\n if (!this.ngControl?.valueChanges || !this.ngControl?.statusChanges) {\n return;\n }\n\n merge(this.ngControl.valueChanges, this.ngControl.statusChanges)\n .pipe(takeUntil(this.destroy$))\n .subscribe(() => this.refreshLocalValue(this.safeCurrentValue));\n }\n\n ngOnDestroy(): void {\n this.destroy$.next();\n this.destroy$.complete();\n }\n\n checkControlUpdate(): void {\n this.changeDetectorRef.markForCheck();\n }\n\n registerOnChange(onChange: (value: T | unknown) => void): void {\n this.onChange = (componentValue: T) => {\n onChange(this.toControlValue(componentValue));\n };\n }\n\n registerOnTouched(onTouched: () => void): void {\n this.onTouched = onTouched;\n }\n\n setDisabledState(): void {\n this.checkControlUpdate();\n }\n\n writeValue(value: T | null): void {\n const controlValue =\n this.ngControl instanceof NgModel && this.previousInternalValue === undefined\n ? this.ngControl.model\n : value;\n\n this.refreshLocalValue(this.fromControlValue(controlValue));\n }\n\n protected updateFocused(focused: boolean): void {\n if (!focused) {\n this.controlMarkAsTouched();\n }\n\n super.updateFocused(focused);\n }\n\n protected updateValue(value: T): void {\n if (this.disabled || this.valueIdenticalComparator(this.value, value)) {\n return;\n }\n\n this.previousInternalValue = value;\n this.controlSetValue(value);\n }\n\n protected valueIdenticalComparator(oldValue: T, newValue: T): boolean {\n return oldValue === newValue;\n }\n\n private safeNgControlData<T>(\n extractor: (ngControl: NgControl) => T | null | undefined,\n defaultFieldValue: T,\n ): T {\n return (this.ngControl && extractor(this.ngControl)) ?? defaultFieldValue;\n }\n\n private controlMarkAsTouched(): void {\n this.onTouched();\n this.checkControlUpdate();\n }\n\n private controlSetValue(value: T): void {\n this.onChange(value);\n this.checkControlUpdate();\n }\n\n private refreshLocalValue(value: T | null): void {\n this.previousInternalValue = value;\n this.checkControlUpdate();\n }\n\n private fromControlValue(controlValue: unknown): T {\n return this.valueTransformer\n ? this.valueTransformer.fromControlValue(controlValue)\n : (controlValue as T);\n }\n\n private toControlValue(componentValue: T): unknown {\n return this.valueTransformer\n ? this.valueTransformer.toControlValue(componentValue)\n : componentValue;\n }\n}\n","/* eslint-disable @typescript-eslint/naming-convention */\nimport {OnChanges} from '@angular/core';\nimport {Subject} from 'rxjs';\n\n/**\n * @deprecated\n * TODO: 3.0 replace with {@link AbstractTuiController}\n */\nexport abstract class TuiController implements OnChanges {\n readonly change$ = new Subject<void>();\n\n ngOnChanges(): void {\n this.change$.next();\n }\n}\n\nexport abstract class AbstractTuiController extends TuiController {}\n","import {Inject, Injectable} from '@angular/core';\nimport {TuiBaseDialogContext} from '@taiga-ui/cdk/interfaces';\nimport {TuiIdService} from '@taiga-ui/cdk/services';\nimport {TuiDialog} from '@taiga-ui/cdk/types';\nimport {PolymorpheusComponent, PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {BehaviorSubject, Observable} from 'rxjs';\n\n@Injectable()\nexport abstract class AbstractTuiDialogService<T> extends Observable<\n ReadonlyArray<TuiDialog<T, any>>\n> {\n protected abstract readonly component: PolymorpheusComponent<any, TuiDialog<T, any>>;\n\n protected abstract readonly defaultOptions: T;\n\n protected readonly dialogs$ = new BehaviorSubject<ReadonlyArray<TuiDialog<T, any>>>(\n [],\n );\n\n protected constructor(\n @Inject(TuiIdService) private readonly idService: TuiIdService,\n ) {\n super(observer => this.dialogs$.subscribe(observer));\n }\n\n open<G = void>(\n content: PolymorpheusContent<TuiBaseDialogContext<G> & T>,\n options: Partial<T> = {},\n ): Observable<G> {\n return new Observable(observer => {\n const completeWith = (result: G): void => {\n observer.next(result);\n observer.complete();\n };\n const dialog = {\n ...this.defaultOptions,\n ...options,\n content,\n completeWith,\n $implicit: observer,\n component: this.component,\n createdAt: Date.now(),\n id: this.idService.generate(),\n };\n\n this.dialogs$.next([...this.dialogs$.value, dialog]);\n\n return () => {\n this.dialogs$.next(this.dialogs$.value.filter(item => item !== dialog));\n };\n });\n }\n}\n","import {ChangeDetectorRef, Directive, Inject, TemplateRef} from '@angular/core';\nimport {TuiDialog} from '@taiga-ui/cdk/types';\nimport {PolymorpheusTemplate} from '@tinkoff/ng-polymorpheus';\nimport {EMPTY, Subject} from 'rxjs';\nimport {endWith, ignoreElements, switchMap} from 'rxjs/operators';\n\nimport {AbstractTuiDialogService} from './dialog.service';\n\n@Directive()\nexport abstract class AbstractTuiDialogDirective<T> extends PolymorpheusTemplate<\n TuiDialog<T, void>\n> {\n private readonly open$ = new Subject<boolean>();\n\n options: Partial<T> = {};\n\n set open(open: boolean) {\n this.open$.next(open);\n }\n\n openChange = this.open$.pipe(\n switchMap(open =>\n open\n ? this.service\n .open(this, this.options)\n .pipe(ignoreElements(), endWith(false))\n : EMPTY,\n ),\n );\n\n constructor(\n @Inject(TemplateRef)\n templateRef: TemplateRef<TuiDialog<T, void>>,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(AbstractTuiDialogService)\n private readonly service: AbstractTuiDialogService<T>,\n ) {\n super(templateRef, changeDetectorRef);\n }\n}\n","import {Directive} from '@angular/core';\n\nimport {AbstractTuiControl} from './control';\n\n@Directive()\nexport abstract class AbstractTuiMultipleControl<T> extends AbstractTuiControl<\n readonly T[]\n> {\n clear(): void {\n this.updateValue([]);\n }\n\n protected getFallbackValue(): readonly T[] {\n return [];\n }\n}\n","import {Directive} from '@angular/core';\n\nimport {AbstractTuiControl} from './control';\n\n@Directive()\nexport abstract class AbstractTuiNullableControl<T> extends AbstractTuiControl<T | null> {\n protected getFallbackValue(): T | null {\n return null;\n }\n}\n","import {\n ComponentFactory,\n ComponentRef,\n EmbeddedViewRef,\n Injectable,\n Injector,\n TemplateRef,\n} from '@angular/core';\nimport {TuiNoHostException} from '@taiga-ui/cdk/exceptions';\n\nimport {AbstractTuiPortalHostComponent} from './portal-host';\n\n/**\n * Abstract service for displaying portals\n */\n@Injectable()\nexport abstract class AbstractTuiPortalService {\n protected host?: AbstractTuiPortalHostComponent;\n\n protected get safeHost(): AbstractTuiPortalHostComponent {\n if (!this.host) {\n throw new TuiNoHostException();\n }\n\n return this.host;\n }\n\n attach(host: AbstractTuiPortalHostComponent): void {\n this.host = host;\n }\n\n add<C>(componentFactory: ComponentFactory<C>, injector: Injector): ComponentRef<C> {\n return this.safeHost.addComponentChild(componentFactory, injector);\n }\n\n remove<C>({hostView}: ComponentRef<C>): void {\n hostView.destroy();\n }\n\n addTemplate<C>(templateRef: TemplateRef<C>, context?: C): EmbeddedViewRef<C> {\n return this.safeHost.addTemplateChild(templateRef, context);\n }\n\n removeTemplate<C>(viewRef: EmbeddedViewRef<C>): void {\n viewRef.destroy();\n }\n}\n","import {\n ComponentFactory,\n ComponentRef,\n Directive,\n ElementRef,\n EmbeddedViewRef,\n Inject,\n Injector,\n TemplateRef,\n ViewChild,\n ViewContainerRef,\n} from '@angular/core';\n\nimport {AbstractTuiPortalService} from './portal-service';\n\n/**\n * Abstract class for host element for dynamically created portals.\n */\n@Directive()\nexport abstract class AbstractTuiPortalHostComponent {\n @ViewChild('viewContainer', {read: ViewContainerRef})\n viewContainerRef!: ViewContainerRef;\n\n constructor(\n @Inject(ElementRef)\n readonly elementRef: ElementRef<HTMLElement>,\n @Inject(AbstractTuiPortalService) portalService: AbstractTuiPortalService,\n ) {\n portalService.attach(this);\n }\n\n get clientRect(): ClientRect {\n return this.elementRef.nativeElement.getBoundingClientRect();\n }\n\n addComponentChild<C>(\n componentFactory: ComponentFactory<C>,\n injector: Injector,\n ): ComponentRef<C> {\n return this.viewContainerRef.createComponent<C>(\n componentFactory,\n undefined,\n Injector.create({\n parent: injector,\n providers: [\n {\n provide: AbstractTuiPortalHostComponent,\n useValue: this,\n },\n ],\n }),\n );\n }\n\n addTemplateChild<C>(templateRef: TemplateRef<C>, context?: C): EmbeddedViewRef<C> {\n return this.viewContainerRef.createEmbeddedView(templateRef, context);\n }\n}\n","import {DOCUMENT} from '@angular/common';\nimport {Directive, Inject, OnDestroy} from '@angular/core';\n\n/**\n * Use this abstract class to create your own toggleable themes.\n * A component extending this class must have CSS variables definitions\n * and have ViewEncapsulation set to NONE. A boolean input allows to\n * switch theme on or off.\n * @dynamic\n */\n@Directive()\nexport abstract class AbstractTuiThemeSwitcher implements OnDestroy {\n static style: HTMLStyleElement | null = null;\n\n constructor(@Inject(DOCUMENT) private readonly documentRef: Document) {\n if (this.style !== null) {\n this.addTheme();\n\n return;\n }\n\n const styles = this.documentRef.head.querySelectorAll('style');\n\n (<typeof AbstractTuiThemeSwitcher>this.constructor).style =\n styles[styles.length - 1];\n }\n\n get style(): HTMLStyleElement | null {\n return (<typeof AbstractTuiThemeSwitcher>this.constructor).style;\n }\n\n ngOnDestroy(): void {\n this.removeTheme();\n }\n\n private addTheme(): void {\n if (this.style) {\n this.documentRef.head.appendChild(this.style);\n }\n }\n\n private removeTheme(): void {\n if (this.style && this.documentRef.head.contains(this.style)) {\n this.documentRef.head.removeChild(this.style);\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAGA,MAAM,GAAG,GAAG,kBAAkB,CAAC;AAE/B;;;IAIsB,sBAAsB,8BAA5C,MAAsB,sBAAsB;IAyDxC;QA9CA,kBAAa,GAAmB,IAAI,CAAC;QAIrC,kBAAa,GAAmB,IAAI,CAAC;QAIrC,kBAAa,GAAmB,IAAI,CAAC;;;;QAOrC,cAAS,GAAG,IAAI,CAAC;QAIjB,aAAQ,GAAG,EAAE,CAAC;;;;QAML,kBAAa,GAAG,IAAI,YAAY,EAAW,CAAC;;QAI5C,kBAAa,GAAG,IAAI,YAAY,EAAW,CAAC;;QAI5C,kBAAa,GAAG,IAAI,YAAY,EAAW,CAAC;QAG5C,uBAAkB,GAAG,IAAI,YAAY,EAAW,CAAC;;QAG1D,YAAO,GAAG,KAAK,CAAC;;QAGhB,YAAO,GAAG,KAAK,CAAC;QAEhB,iBAAY,GAAG,KAAK,CAAC;QAGjB,IAAI,CAAC,YAAY,GAAG,GAAG,GAAG,GAAG,wBAAsB,CAAC,MAAM,EAAE,GAAG,IAAI,CAAC,GAAG,EAAE,EAAE,CAAC;KAC/E;IAGD,I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C,IAAI,CAAC,KAAK,CAAC,EAAE;YAC1D,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SACjD;KACJ;EACJ;AAlCU,8BAAK,GAA4B,IAAI,CAAC;;YAEe,QAAQ,uBAAvD,MAAM,SAAC,QAAQ;;AAHV,wBAAwB;IAD7C,SAAS,EAAE;IAIK,WAAA,MAAM,CAAC,QAAQ,CAAC,CAAA;GAHX,wBAAwB,CAmC7C;;AC9CD;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-abstract.js","sources":["../../../projects/cdk/abstract/interactive.ts","../../../projects/cdk/abstract/control.ts","../../../projects/cdk/abstract/controller.ts","../../../projects/cdk/abstract/dialog.service.ts","../../../projects/cdk/abstract/dialog.directive.ts","../../../projects/cdk/abstract/multiple-control.ts","../../../projects/cdk/abstract/nullable-control.ts","../../../projects/cdk/abstract/portal-service.ts","../../../projects/cdk/abstract/portal-host.ts","../../../projects/cdk/abstract/theme-switcher.ts","../../../projects/cdk/abstract/taiga-ui-cdk-abstract.ts"],"sourcesContent":["import {Directive, EventEmitter, HostBinding, Input, Output} from '@angular/core';\nimport {tuiDefaultProp} from '@taiga-ui/cdk/decorators';\n\nconst TUI = `tui_interactive_`;\n\n/**\n * The most basic class for interactive components\n */\n@Directive()\nexport abstract class AbstractTuiInteractive {\n private static autoId = 0;\n\n abstract disabled: boolean;\n\n abstract focused: boolean;\n\n private readonly autoIdString: string;\n\n @Input()\n @tuiDefaultProp()\n pseudoHover: boolean | null = null;\n\n @Input()\n @tuiDefaultProp()\n pseudoActive: boolean | null = null;\n\n @Input()\n @tuiDefaultProp()\n pseudoFocus: boolean | null = null;\n\n /**\n * Determines if component is focusable with keyboard.\n */\n @Input()\n @tuiDefaultProp()\n focusable = true;\n\n @Input()\n @tuiDefaultProp()\n nativeId = ``;\n\n /**\n * Emits 'true' on focus and 'false' on blur.\n */\n @Output()\n readonly focusedChange = new EventEmitter<boolean>();\n\n @Output()\n readonly focusVisibleChange = new EventEmitter<boolean>();\n\n focusVisible = false;\n\n protected constructor() {\n this.autoIdString = `${TUI}${AbstractTuiInteractive.autoId++}${Date.now()}`;\n }\n\n @HostBinding(`class._disabled`)\n get computedDisabled(): boolean {\n return this.disabled;\n }\n\n get computedFocusable(): boolean {\n return !this.computedDisabled && (this.focusable || this.focused);\n }\n\n @HostBinding(`class._focused`)\n get computedFocused(): boolean {\n return !this.computedDisabled && (this.pseudoFocus ?? this.focused);\n }\n\n @HostBinding(`class._focus-visible`)\n get computedFocusVisible(): boolean {\n return !this.computedDisabled && (this.pseudoFocus ?? this.focusVisible);\n }\n\n // TODO: 3.0 Consider removing since native input is exposed\n get id(): string {\n return this.nativeId ? this.nativeId : this.autoIdString;\n }\n\n protected updateFocused(focused: boolean): void {\n this.focusedChange.emit(focused);\n }\n\n protected updateFocusVisible(focusVisible: boolean): void {\n if (this.focusVisible === focusVisible) {\n return;\n }\n\n this.focusVisible = focusVisible;\n this.focusVisibleChange.emit(focusVisible);\n }\n}\n","import {\n ChangeDetectorRef,\n Directive,\n HostBinding,\n Input,\n OnDestroy,\n OnInit,\n} from '@angular/core';\nimport {AbstractControl, ControlValueAccessor, NgControl, NgModel} from '@angular/forms';\nimport {tuiAssert} from '@taiga-ui/cdk/classes';\nimport {EMPTY_FUNCTION} from '@taiga-ui/cdk/constants';\nimport {tuiDefaultProp} from '@taiga-ui/cdk/decorators';\nimport {TuiControlValueTransformer} from '@taiga-ui/cdk/interfaces';\nimport {merge, Subject} from 'rxjs';\nimport {takeUntil} from 'rxjs/operators';\n\nimport {AbstractTuiInteractive} from './interactive';\n\n/**\n * Basic ControlValueAccessor class to build form components upon\n */\n@Directive()\nexport abstract class AbstractTuiControl<T>\n extends AbstractTuiInteractive\n implements OnDestroy, OnInit, ControlValueAccessor\n{\n private previousInternalValue?: T | null;\n\n private onTouched = EMPTY_FUNCTION;\n\n private onChange = EMPTY_FUNCTION;\n\n protected readonly fallbackValue = this.getFallbackValue();\n\n protected readonly destroy$ = new Subject<void>();\n\n @Input()\n @HostBinding(`class._readonly`)\n @tuiDefaultProp()\n readOnly = false;\n\n @Input()\n @tuiDefaultProp()\n pseudoInvalid: boolean | null = null;\n\n protected constructor(\n private readonly ngControl: NgControl | null,\n protected readonly changeDetectorRef: ChangeDetectorRef,\n protected readonly valueTransformer?: TuiControlValueTransformer<T> | null,\n ) {\n super();\n\n if (this.ngControl === null) {\n tuiAssert.assert(\n false,\n `NgControl not injected in ${this.constructor.name}!\\n`,\n `Use [(ngModel)] or [formControl] or formControlName for correct work.`,\n );\n } else {\n this.ngControl.valueAccessor = this;\n }\n }\n\n protected abstract getFallbackValue(): T;\n\n @HostBinding(`class._invalid`)\n get computedInvalid(): boolean {\n return (\n this.interactive &&\n (this.pseudoInvalid !== null\n ? this.pseudoInvalid\n : this.touched && this.invalid)\n );\n }\n\n get value(): T {\n return this.previousInternalValue ?? this.fallbackValue;\n }\n\n get safeCurrentValue(): T {\n return this.rawValue ?? this.fallbackValue;\n }\n\n get invalid(): boolean {\n return this.safeNgControlData<boolean>(({invalid}) => invalid, false);\n }\n\n get valid(): boolean {\n return this.safeNgControlData<boolean>(({valid}) => valid, false);\n }\n\n get touched(): boolean {\n return this.safeNgControlData<boolean>(({touched}) => touched, false);\n }\n\n get disabled(): boolean {\n return this.safeNgControlData<boolean>(({disabled}) => disabled, false);\n }\n\n get interactive(): boolean {\n return !this.readOnly && !this.computedDisabled;\n }\n\n get control(): AbstractControl | null {\n return this.safeNgControlData<AbstractControl | null>(\n ({control}) => control,\n null,\n );\n }\n\n get computedName(): string | null {\n return this.controlName?.toString() ?? null;\n }\n\n protected get controlName(): string | null {\n return this.ngControl?.name?.toString() ?? null;\n }\n\n private get rawValue(): T | undefined {\n const {ngControl} = this;\n\n if (ngControl === null) {\n return undefined;\n }\n\n const controlValue =\n ngControl instanceof NgModel && this.previousInternalValue === undefined\n ? ngControl.viewModel\n : ngControl.value;\n\n return this.fromControlValue(controlValue);\n }\n\n ngOnInit(): void {\n if (!this.ngControl?.valueChanges || !this.ngControl?.statusChanges) {\n return;\n }\n\n merge(this.ngControl.valueChanges, this.ngControl.statusChanges)\n .pipe(takeUntil(this.destroy$))\n .subscribe(() => this.refreshLocalValue(this.safeCurrentValue));\n }\n\n ngOnDestroy(): void {\n this.destroy$.next();\n this.destroy$.complete();\n }\n\n checkControlUpdate(): void {\n this.changeDetectorRef.markForCheck();\n }\n\n registerOnChange(onChange: (value: T | unknown) => void): void {\n this.onChange = (componentValue: T) => {\n onChange(this.toControlValue(componentValue));\n };\n }\n\n registerOnTouched(onTouched: () => void): void {\n this.onTouched = onTouched;\n }\n\n setDisabledState(): void {\n this.checkControlUpdate();\n }\n\n writeValue(value: T | null): void {\n const controlValue =\n this.ngControl instanceof NgModel && this.previousInternalValue === undefined\n ? this.ngControl.model\n : value;\n\n this.refreshLocalValue(this.fromControlValue(controlValue));\n }\n\n protected updateFocused(focused: boolean): void {\n if (!focused) {\n this.controlMarkAsTouched();\n }\n\n super.updateFocused(focused);\n }\n\n protected updateValue(value: T): void {\n if (this.disabled || this.valueIdenticalComparator(this.value, value)) {\n return;\n }\n\n this.previousInternalValue = value;\n this.controlSetValue(value);\n }\n\n protected valueIdenticalComparator(oldValue: T, newValue: T): boolean {\n return oldValue === newValue;\n }\n\n private safeNgControlData<T>(\n extractor: (ngControl: NgControl) => T | null | undefined,\n defaultFieldValue: T,\n ): T {\n return (this.ngControl && extractor(this.ngControl)) ?? defaultFieldValue;\n }\n\n private controlMarkAsTouched(): void {\n this.onTouched();\n this.checkControlUpdate();\n }\n\n private controlSetValue(value: T): void {\n this.onChange(value);\n this.checkControlUpdate();\n }\n\n private refreshLocalValue(value: T | null): void {\n this.previousInternalValue = value;\n this.checkControlUpdate();\n }\n\n private fromControlValue(controlValue: unknown): T {\n return this.valueTransformer\n ? this.valueTransformer.fromControlValue(controlValue)\n : (controlValue as T);\n }\n\n private toControlValue(componentValue: T): unknown {\n return this.valueTransformer\n ? this.valueTransformer.toControlValue(componentValue)\n : componentValue;\n }\n}\n","import {Directive, OnChanges} from '@angular/core';\nimport {Subject} from 'rxjs';\n\n@Directive()\nexport abstract class AbstractTuiController implements OnChanges {\n readonly change$ = new Subject<void>();\n\n ngOnChanges(): void {\n this.change$.next();\n }\n}\n","import {Inject, Injectable} from '@angular/core';\nimport {TuiBaseDialogContext} from '@taiga-ui/cdk/interfaces';\nimport {TuiIdService} from '@taiga-ui/cdk/services';\nimport {TuiDialog} from '@taiga-ui/cdk/types';\nimport {PolymorpheusComponent, PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {BehaviorSubject, Observable} from 'rxjs';\n\n@Injectable()\nexport abstract class AbstractTuiDialogService<T> extends Observable<\n ReadonlyArray<TuiDialog<T, any>>\n> {\n protected abstract readonly component: PolymorpheusComponent<any, TuiDialog<T, any>>;\n\n protected abstract readonly defaultOptions: T;\n\n protected readonly dialogs$ = new BehaviorSubject<ReadonlyArray<TuiDialog<T, any>>>(\n [],\n );\n\n protected constructor(\n @Inject(TuiIdService) private readonly idService: TuiIdService,\n ) {\n super(observer => this.dialogs$.subscribe(observer));\n }\n\n open<G = void>(\n content: PolymorpheusContent<TuiBaseDialogContext<G> & T>,\n options: Partial<T> = {},\n ): Observable<G> {\n return new Observable(observer => {\n const completeWith = (result: G): void => {\n observer.next(result);\n observer.complete();\n };\n const dialog = {\n ...this.defaultOptions,\n ...options,\n content,\n completeWith,\n $implicit: observer,\n component: this.component,\n createdAt: Date.now(),\n id: this.idService.generate(),\n };\n\n this.dialogs$.next([...this.dialogs$.value, dialog]);\n\n return () => {\n this.dialogs$.next(this.dialogs$.value.filter(item => item !== dialog));\n };\n });\n }\n}\n","import {ChangeDetectorRef, Directive, Inject, TemplateRef} from '@angular/core';\nimport {TuiDialog} from '@taiga-ui/cdk/types';\nimport {PolymorpheusTemplate} from '@tinkoff/ng-polymorpheus';\nimport {EMPTY, Subject} from 'rxjs';\nimport {endWith, ignoreElements, switchMap} from 'rxjs/operators';\n\nimport {AbstractTuiDialogService} from './dialog.service';\n\n@Directive()\nexport abstract class AbstractTuiDialogDirective<T> extends PolymorpheusTemplate<\n TuiDialog<T, void>\n> {\n private readonly open$ = new Subject<boolean>();\n\n options: Partial<T> = {};\n\n set open(open: boolean) {\n this.open$.next(open);\n }\n\n openChange = this.open$.pipe(\n switchMap(open =>\n open\n ? this.service\n .open(this, this.options)\n .pipe(ignoreElements(), endWith(false))\n : EMPTY,\n ),\n );\n\n constructor(\n @Inject(TemplateRef)\n templateRef: TemplateRef<TuiDialog<T, void>>,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(AbstractTuiDialogService)\n private readonly service: AbstractTuiDialogService<T>,\n ) {\n super(templateRef, changeDetectorRef);\n }\n}\n","import {Directive} from '@angular/core';\n\nimport {AbstractTuiControl} from './control';\n\n@Directive()\nexport abstract class AbstractTuiMultipleControl<T> extends AbstractTuiControl<\n readonly T[]\n> {\n clear(): void {\n this.updateValue([]);\n }\n\n protected getFallbackValue(): readonly T[] {\n return [];\n }\n}\n","import {Directive} from '@angular/core';\n\nimport {AbstractTuiControl} from './control';\n\n@Directive()\nexport abstract class AbstractTuiNullableControl<T> extends AbstractTuiControl<T | null> {\n protected getFallbackValue(): T | null {\n return null;\n }\n}\n","import {\n ComponentFactory,\n ComponentRef,\n EmbeddedViewRef,\n Injectable,\n Injector,\n TemplateRef,\n} from '@angular/core';\nimport {TuiNoHostException} from '@taiga-ui/cdk/exceptions';\n\nimport {AbstractTuiPortalHostComponent} from './portal-host';\n\n/**\n * Abstract service for displaying portals\n */\n@Injectable()\nexport abstract class AbstractTuiPortalService {\n protected host?: AbstractTuiPortalHostComponent;\n\n protected get safeHost(): AbstractTuiPortalHostComponent {\n if (!this.host) {\n throw new TuiNoHostException();\n }\n\n return this.host;\n }\n\n attach(host: AbstractTuiPortalHostComponent): void {\n this.host = host;\n }\n\n add<C>(componentFactory: ComponentFactory<C>, injector: Injector): ComponentRef<C> {\n return this.safeHost.addComponentChild(componentFactory, injector);\n }\n\n remove<C>({hostView}: ComponentRef<C>): void {\n hostView.destroy();\n }\n\n addTemplate<C>(templateRef: TemplateRef<C>, context?: C): EmbeddedViewRef<C> {\n return this.safeHost.addTemplateChild(templateRef, context);\n }\n\n removeTemplate<C>(viewRef: EmbeddedViewRef<C>): void {\n viewRef.destroy();\n }\n}\n","import {\n ComponentFactory,\n ComponentRef,\n Directive,\n ElementRef,\n EmbeddedViewRef,\n Inject,\n Injector,\n TemplateRef,\n ViewChild,\n ViewContainerRef,\n} from '@angular/core';\n\nimport {AbstractTuiPortalService} from './portal-service';\n\n/**\n * Abstract class for host element for dynamically created portals.\n */\n@Directive()\nexport abstract class AbstractTuiPortalHostComponent {\n @ViewChild(`viewContainer`, {read: ViewContainerRef})\n viewContainerRef!: ViewContainerRef;\n\n constructor(\n @Inject(ElementRef)\n readonly elementRef: ElementRef<HTMLElement>,\n @Inject(AbstractTuiPortalService) portalService: AbstractTuiPortalService,\n ) {\n portalService.attach(this);\n }\n\n get clientRect(): ClientRect {\n return this.elementRef.nativeElement.getBoundingClientRect();\n }\n\n addComponentChild<C>(\n componentFactory: ComponentFactory<C>,\n injector: Injector,\n ): ComponentRef<C> {\n return this.viewContainerRef.createComponent<C>(\n componentFactory,\n undefined,\n Injector.create({\n parent: injector,\n providers: [\n {\n provide: AbstractTuiPortalHostComponent,\n useValue: this,\n },\n ],\n }),\n );\n }\n\n addTemplateChild<C>(templateRef: TemplateRef<C>, context?: C): EmbeddedViewRef<C> {\n return this.viewContainerRef.createEmbeddedView(templateRef, context);\n }\n}\n","import {DOCUMENT} from '@angular/common';\nimport {Directive, Inject, OnDestroy} from '@angular/core';\n\n/**\n * Use this abstract class to create your own toggleable themes.\n * A component extending this class must have CSS variables definitions\n * and have ViewEncapsulation set to NONE. A boolean input allows to\n * switch theme on or off.\n * @dynamic\n */\n@Directive()\nexport abstract class AbstractTuiThemeSwitcher implements OnDestroy {\n static style: HTMLStyleElement | null = null;\n\n constructor(@Inject(DOCUMENT) private readonly documentRef: Document) {\n if (this.style !== null) {\n this.addTheme();\n\n return;\n }\n\n const styles = this.documentRef.head.querySelectorAll(`style`);\n\n (<typeof AbstractTuiThemeSwitcher>this.constructor).style =\n styles[styles.length - 1];\n }\n\n get style(): HTMLStyleElement | null {\n return (<typeof AbstractTuiThemeSwitcher>this.constructor).style;\n }\n\n ngOnDestroy(): void {\n this.removeTheme();\n }\n\n private addTheme(): void {\n if (this.style) {\n this.documentRef.head.appendChild(this.style);\n }\n }\n\n private removeTheme(): void {\n if (this.style && this.documentRef.head.contains(this.style)) {\n this.documentRef.head.removeChild(this.style);\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,MAAM,GAAG,GAAG,CAAA,gBAAA,CAAkB,CAAC;AAE/B;;AAEG;MAEmB,sBAAsB,CAAA;AA2CxC,IAAA,WAAA,GAAA;QAhCA,IAAW,CAAA,WAAA,GAAmB,IAAI,CAAC;QAInC,IAAY,CAAA,YAAA,GAAmB,IAAI,CAAC;QAIpC,IAAW,CAAA,WAAA,GAAmB,IAAI,CAAC;AAEnC;;AAEG;QAGH,IAAS,CAAA,SAAA,GAAG,IAAI,CAAC;QAIjB,IAAQ,CAAA,QAAA,GAAG,EAAE,CAAC;AAEd;;AAEG;AAEM,QAAA,IAAA,CAAA,aAAa,GAAG,IAAI,YAAY,EAAW,CAAC;AAG5C,QAAA,IAAA,CAAA,kBAAkB,GAAG,IAAI,YAAY,EAAW,CAAC;QAE1D,IAAY,CAAA,YAAA,GAAG,KAAK,CAAC;AAGjB,QAAA,IAAI,CAAC,YAAY,GAAG,CAAG,EAAA,GAAG,GAAG,sBAAsB,CAAC,MAAM,EAAE,GAAG,IAAI,CAAC,GAAG,EAAE,EAAE,CAAC;KAC/E;AAED,IAAA,IACI,gBAAgB,GAAA;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC;KACx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AA,CAAA,CAAA;0GAHV,wBAAwB,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;4FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAD7C,SAAS;0DAIsD,QAAQ,EAAA,UAAA,EAAA,CAAA;0BAAvD,MAAM;2BAAC,QAAQ,CAAA;;;ACdhC;;AAEG;;;;"}
@@ -8,14 +8,12 @@ const tuiAssert = {
8
8
  : EMPTY_FUNCTION;
9
9
  },
10
10
  };
11
- // TODO: replace `HTMLElement` to `Element` in v3.0
12
- // TS 3.8 Argument of type Argument of type 'TuiNativeFocusableElement | HTMLElement' is not assignable to parameter of type 'HTMLElement'.
13
- function tuiAssertIsHTMLElement(node) {
11
+ function tuiAssertIsElement(node) {
14
12
  var _a, _b;
15
13
  const defaultView = (_b = (_a = node) === null || _a === void 0 ? void 0 : _a.ownerDocument) === null || _b === void 0 ? void 0 : _b.defaultView;
16
14
  const isElement = !!defaultView &&
17
15
  (node instanceof defaultView.Element || node instanceof defaultView.HTMLDocument);
18
- tuiAssert.assert(isElement, 'Node is not an Element');
16
+ tuiAssert.assert(isElement, `Node is not an Element`);
19
17
  }
20
18
 
21
19
  class TuiValidationError {
@@ -29,5 +27,5 @@ class TuiValidationError {
29
27
  * Generated bundle index. Do not edit.
30
28
  */
31
29
 
32
- export { TuiValidationError, tuiAssert, tuiAssertIsHTMLElement };
30
+ export { TuiValidationError, tuiAssert, tuiAssertIsElement };
33
31
  //# sourceMappingURL=taiga-ui-cdk-classes.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-classes.js","sources":["ng://@taiga-ui/cdk/classes/assert.ts","ng://@taiga-ui/cdk/classes/validation-error.ts","ng://@taiga-ui/cdk/classes/taiga-ui-cdk-classes.ts"],"sourcesContent":["import {EMPTY_FUNCTION} from '@taiga-ui/cdk/constants';\n\nexport const tuiAssert = {\n enabled: false,\n get assert(): (assertion: boolean, ...args: unknown[]) => void {\n return this.enabled\n ? Function.prototype.bind.call(console.assert, console)\n : EMPTY_FUNCTION;\n },\n};\n\ntype PossibleNode = Node | Element | EventTarget | null;\n\n// TODO: remove `DefaultView` in v3.0\n// TS 3.8 Property 'Element' does not exist on type 'Window'.\ninterface DefaultView {\n Element: typeof Node;\n HTMLElement: typeof Node;\n HTMLDocument: typeof Node;\n}\n\n// TODO: replace `HTMLElement` to `Element` in v3.0\n// TS 3.8 Argument of type Argument of type 'TuiNativeFocusableElement | HTMLElement' is not assignable to parameter of type 'HTMLElement'.\nexport function tuiAssertIsHTMLElement(node?: PossibleNode): asserts node is HTMLElement {\n const defaultView = (node as Node)?.ownerDocument\n ?.defaultView as unknown as DefaultView;\n const isElement =\n !!defaultView &&\n (node instanceof defaultView.Element || node instanceof defaultView.HTMLDocument);\n\n tuiAssert.assert(isElement, 'Node is not an Element');\n}\n","import {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport class TuiValidationError<T extends object = Record<string, unknown>> {\n constructor(\n readonly message: PolymorpheusContent<T>,\n readonly context: T = {} as T,\n ) {}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;MAEa,SAAS,GAAG;IACrB,OAAO,EAAE,KAAK;IACd,IAAI,MAAM;QACN,OAAO,IAAI,CAAC,OAAO;cACb,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC;cACrD,cAAc,CAAC;KACxB;EACH;AAYF;AACA;SACgB,sBAAsB,CAAC,IAAmB;;IACtD,MAAM,WAAW,GAAG,YAAC,IAAa,0CAAE,aAAa,0CAC3C,WAAqC,CAAC;IAC5C,MAAM,SAAS,GACX,CAAC,CAAC,WAAW;SACZ,IAAI,YAAY,WAAW,CAAC,OAAO,IAAI,IAAI,YAAY,WAAW,CAAC,YAAY,CAAC,CAAC;IAEtF,SAAS,CAAC,MAAM,CAAC,SAAS,EAAE,wBAAwB,CAAC,CAAC;AAC1D;;MC7Ba,kBAAkB;IAC3B,YACa,OAA+B,EAC/B,UAAa,EAAO;QADpB,YAAO,GAAP,OAAO,CAAwB;QAC/B,YAAO,GAAP,OAAO,CAAa;KAC7B;;;ACNR;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-classes.js","sources":["../../../projects/cdk/classes/assert.ts","../../../projects/cdk/classes/validation-error.ts","../../../projects/cdk/classes/taiga-ui-cdk-classes.ts"],"sourcesContent":["import {EMPTY_FUNCTION} from '@taiga-ui/cdk/constants';\n\nexport const tuiAssert = {\n enabled: false,\n get assert(): (assertion: boolean, ...args: unknown[]) => void {\n return this.enabled\n ? Function.prototype.bind.call(console.assert, console)\n : EMPTY_FUNCTION;\n },\n};\n\ntype PossibleNode = Node | Element | EventTarget | null;\n\nexport function tuiAssertIsElement(node?: PossibleNode): asserts node is Element {\n const defaultView = (node as Node)?.ownerDocument?.defaultView;\n const isElement =\n !!defaultView &&\n (node instanceof defaultView.Element || node instanceof defaultView.HTMLDocument);\n\n tuiAssert.assert(isElement, `Node is not an Element`);\n}\n","import {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport class TuiValidationError<T extends object = Record<string, unknown>> {\n constructor(\n readonly message: PolymorpheusContent<T>,\n readonly context: T = {} as T,\n ) {}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAEa,MAAA,SAAS,GAAG;AACrB,IAAA,OAAO,EAAE,KAAK;AACd,IAAA,IAAI,MAAM,GAAA;QACN,OAAO,IAAI,CAAC,OAAO;AACf,cAAE,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC;cACrD,cAAc,CAAC;KACxB;EACH;AAII,SAAU,kBAAkB,CAAC,IAAmB,EAAA;;IAClD,MAAM,WAAW,GAAG,CAAA,EAAA,GAAA,CAAA,EAAA,GAAC,IAAa,MAAE,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,aAAa,MAAE,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,WAAW,CAAC;AAC/D,IAAA,MAAM,SAAS,GACX,CAAC,CAAC,WAAW;AACb,SAAC,IAAI,YAAY,WAAW,CAAC,OAAO,IAAI,IAAI,YAAY,WAAW,CAAC,YAAY,CAAC,CAAC;AAEtF,IAAA,SAAS,CAAC,MAAM,CAAC,SAAS,EAAE,CAAA,sBAAA,CAAwB,CAAC,CAAC;AAC1D;;MClBa,kBAAkB,CAAA;IAC3B,WACa,CAAA,OAA+B,EAC/B,OAAA,GAAa,EAAO,EAAA;QADpB,IAAO,CAAA,OAAA,GAAP,OAAO,CAAwB;QAC/B,IAAO,CAAA,OAAA,GAAP,OAAO,CAAa;KAC7B;AACP;;ACPD;;AAEG;;;;"}
@@ -5,7 +5,7 @@
5
5
  function tuiCoerceBooleanProperty(value) {
6
6
  // If you don't mind "[object Object]" in your strings, then you will not need this rule.
7
7
  // eslint-disable-next-line @typescript-eslint/no-base-to-string
8
- return value !== null && typeof value !== 'undefined' && `${value}` !== 'false';
8
+ return value !== null && typeof value !== `undefined` && `${value}` !== `false`;
9
9
  }
10
10
 
11
11
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-coercion.js","sources":["ng://@taiga-ui/cdk/coercion/coerce-boolean-property.ts","ng://@taiga-ui/cdk/coercion/taiga-ui-cdk-coercion.ts"],"sourcesContent":["/**\n * Coerces a data-bound value (typically a string) to a boolean.\n * @example {@link https://material.angular.io/cdk/coercion/api#functions}\n */\nexport function tuiCoerceBooleanProperty(\n value: string | number | boolean | null | undefined | object,\n): boolean {\n // If you don't mind \"[object Object]\" in your strings, then you will not need this rule.\n // eslint-disable-next-line @typescript-eslint/no-base-to-string\n return value !== null && typeof value !== 'undefined' && `${value}` !== 'false';\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;;;SAIgB,wBAAwB,CACpC,KAA4D;;;IAI5D,OAAO,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,WAAW,IAAI,GAAG,KAAK,EAAE,KAAK,OAAO,CAAC;AACpF;;ACVA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-coercion.js","sources":["../../../projects/cdk/coercion/coerce-boolean-property.ts","../../../projects/cdk/coercion/taiga-ui-cdk-coercion.ts"],"sourcesContent":["/**\n * Coerces a data-bound value (typically a string) to a boolean.\n * @example {@link https://material.angular.io/cdk/coercion/api#functions}\n */\nexport function tuiCoerceBooleanProperty(\n value: string | number | boolean | null | undefined | object,\n): boolean {\n // If you don't mind \"[object Object]\" in your strings, then you will not need this rule.\n // eslint-disable-next-line @typescript-eslint/no-base-to-string\n return value !== null && typeof value !== `undefined` && `${value}` !== `false`;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;;AAGG;AACG,SAAU,wBAAwB,CACpC,KAA4D,EAAA;;;AAI5D,IAAA,OAAO,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,CAAW,SAAA,CAAA,IAAI,CAAG,EAAA,KAAK,CAAE,CAAA,KAAK,OAAO,CAAC;AACpF;;ACVA;;AAEG;;;;"}
@@ -1,12 +1,14 @@
1
- import { __decorate, __param } from 'tslib';
2
- import { Injector, Inject, INJECTOR, Component, ChangeDetectionStrategy, ViewEncapsulation, NgModule } from '@angular/core';
1
+ import * as i0 from '@angular/core';
2
+ import { Injector, INJECTOR, Component, ChangeDetectionStrategy, ViewEncapsulation, Inject, NgModule } from '@angular/core';
3
3
  import { TUI_PARENT_ANIMATION } from '@taiga-ui/cdk/constants';
4
4
  import { TUI_ALERTS } from '@taiga-ui/cdk/tokens';
5
5
  import { POLYMORPHEUS_CONTEXT } from '@tinkoff/ng-polymorpheus';
6
+ import * as i1 from '@angular/common';
6
7
  import { CommonModule } from '@angular/common';
8
+ import * as i2 from '@taiga-ui/cdk/pipes';
7
9
  import { TuiMapperPipeModule } from '@taiga-ui/cdk/pipes';
8
10
 
9
- let TuiAlertHostComponent = class TuiAlertHostComponent {
11
+ class TuiAlertHostComponent {
10
12
  constructor(alerts, injector) {
11
13
  this.alerts = alerts;
12
14
  this.injector = injector;
@@ -20,33 +22,40 @@ let TuiAlertHostComponent = class TuiAlertHostComponent {
20
22
  parent: this.injector,
21
23
  });
22
24
  }
23
- };
24
- TuiAlertHostComponent.ctorParameters = () => [
25
- { type: Array, decorators: [{ type: Inject, args: [TUI_ALERTS,] }] },
26
- { type: Injector, decorators: [{ type: Inject, args: [INJECTOR,] }] }
27
- ];
28
- TuiAlertHostComponent = __decorate([
29
- Component({
30
- selector: 'tui-alert-host',
31
- template: "<div\n *ngFor=\"let alert$ of alerts\"\n class=\"t-notifications-wrapper\"\n @tuiParentAnimation\n>\n <ng-container\n *ngFor=\"let item of alert$ | async\"\n [ngComponentOutlet]=\"item.component.component\"\n [ngComponentOutletInjector]=\"item | tuiMapper: mapper\"\n ></ng-container>\n</div>\n",
32
- changeDetection: ChangeDetectionStrategy.OnPush,
33
- animations: [TUI_PARENT_ANIMATION],
34
- encapsulation: ViewEncapsulation.None,
35
- styles: ["tui-alert-host>.t-notifications-wrapper{position:fixed;top:0;left:0;display:flex;width:100%;height:100%;flex-direction:column;pointer-events:none}tui-alert-host>.t-notifications-wrapper>*{pointer-events:auto}"]
36
- }),
37
- __param(0, Inject(TUI_ALERTS)),
38
- __param(1, Inject(INJECTOR))
39
- ], TuiAlertHostComponent);
25
+ }
26
+ TuiAlertHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiAlertHostComponent, deps: [{ token: TUI_ALERTS }, { token: INJECTOR }], target: i0.ɵɵFactoryTarget.Component });
27
+ TuiAlertHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiAlertHostComponent, selector: "tui-alert-host", ngImport: i0, template: "<div\n *ngFor=\"let alert$ of alerts\"\n class=\"t-notifications-wrapper\"\n @tuiParentAnimation\n>\n <ng-container\n *ngFor=\"let item of alert$ | async\"\n [ngComponentOutlet]=\"item.component.component\"\n [ngComponentOutletInjector]=\"item | tuiMapper: mapper\"\n ></ng-container>\n</div>\n", styles: ["tui-alert-host>.t-notifications-wrapper{position:fixed;top:0;left:0;display:flex;width:100%;height:100%;flex-direction:column;pointer-events:none}tui-alert-host>.t-notifications-wrapper>*{pointer-events:auto}\n"], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModuleFactory"] }], pipes: { "tuiMapper": i2.TuiMapperPipe, "async": i1.AsyncPipe }, animations: [TUI_PARENT_ANIMATION], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiAlertHostComponent, decorators: [{
29
+ type: Component,
30
+ args: [{
31
+ selector: `tui-alert-host`,
32
+ templateUrl: `./alert-host.template.html`,
33
+ styleUrls: [`./alert-host.style.less`],
34
+ changeDetection: ChangeDetectionStrategy.OnPush,
35
+ animations: [TUI_PARENT_ANIMATION],
36
+ encapsulation: ViewEncapsulation.None,
37
+ }]
38
+ }], ctorParameters: function () { return [{ type: Array, decorators: [{
39
+ type: Inject,
40
+ args: [TUI_ALERTS]
41
+ }] }, { type: i0.Injector, decorators: [{
42
+ type: Inject,
43
+ args: [INJECTOR]
44
+ }] }]; } });
40
45
 
41
- let TuiAlertHostModule = class TuiAlertHostModule {
42
- };
43
- TuiAlertHostModule = __decorate([
44
- NgModule({
45
- imports: [CommonModule, TuiMapperPipeModule],
46
- declarations: [TuiAlertHostComponent],
47
- exports: [TuiAlertHostComponent],
48
- })
49
- ], TuiAlertHostModule);
46
+ class TuiAlertHostModule {
47
+ }
48
+ TuiAlertHostModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiAlertHostModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
49
+ TuiAlertHostModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiAlertHostModule, declarations: [TuiAlertHostComponent], imports: [CommonModule, TuiMapperPipeModule], exports: [TuiAlertHostComponent] });
50
+ TuiAlertHostModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiAlertHostModule, imports: [[CommonModule, TuiMapperPipeModule]] });
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiAlertHostModule, decorators: [{
52
+ type: NgModule,
53
+ args: [{
54
+ imports: [CommonModule, TuiMapperPipeModule],
55
+ declarations: [TuiAlertHostComponent],
56
+ exports: [TuiAlertHostComponent],
57
+ }]
58
+ }] });
50
59
 
51
60
  /**
52
61
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-components-alert-host.js","sources":["ng://@taiga-ui/cdk/components/alert-host/alert-host.component.ts","ng://@taiga-ui/cdk/components/alert-host/alert-host.module.ts","ng://@taiga-ui/cdk/components/alert-host/taiga-ui-cdk-components-alert-host.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Inject,\n INJECTOR,\n Injector,\n ViewEncapsulation,\n} from '@angular/core';\nimport {TUI_PARENT_ANIMATION} from '@taiga-ui/cdk/constants';\nimport {TUI_ALERTS} from '@taiga-ui/cdk/tokens';\nimport {TuiDialog, TuiMapper} from '@taiga-ui/cdk/types';\nimport {POLYMORPHEUS_CONTEXT} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\n@Component({\n selector: 'tui-alert-host',\n templateUrl: './alert-host.template.html',\n styleUrls: ['./alert-host.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [TUI_PARENT_ANIMATION],\n encapsulation: ViewEncapsulation.None,\n})\nexport class TuiAlertHostComponent<T extends TuiDialog<unknown, unknown>> {\n constructor(\n @Inject(TUI_ALERTS) readonly alerts: Array<Observable<readonly T[]>>,\n @Inject(INJECTOR) private readonly injector: Injector,\n ) {}\n\n readonly mapper: TuiMapper<unknown, Injector> = useValue =>\n Injector.create({\n providers: [\n {\n provide: POLYMORPHEUS_CONTEXT,\n useValue,\n },\n ],\n parent: this.injector,\n });\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiMapperPipeModule} from '@taiga-ui/cdk/pipes';\n\nimport {TuiAlertHostComponent} from './alert-host.component';\n\n@NgModule({\n imports: [CommonModule, TuiMapperPipeModule],\n declarations: [TuiAlertHostComponent],\n exports: [TuiAlertHostComponent],\n})\nexport class TuiAlertHostModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;IAsBa,qBAAqB,GAAlC,MAAa,qBAAqB;IAC9B,YACiC,MAAuC,EACjC,QAAkB;QADxB,WAAM,GAAN,MAAM,CAAiC;QACjC,aAAQ,GAAR,QAAQ,CAAU;QAGhD,WAAM,GAAiC,QAAQ,IACpD,QAAQ,CAAC,MAAM,CAAC;YACZ,SAAS,EAAE;gBACP;oBACI,OAAO,EAAE,oBAAoB;oBAC7B,QAAQ;iBACX;aACJ;YACD,MAAM,EAAE,IAAI,CAAC,QAAQ;SACxB,CAAC,CAAC;KAXH;EAYP;;YAd4C,KAAK,uBAAzC,MAAM,SAAC,UAAU;YAC2B,QAAQ,uBAApD,MAAM,SAAC,QAAQ;;AAHX,qBAAqB;IARjC,SAAS,CAAC;QACP,QAAQ,EAAE,gBAAgB;QAC1B,sVAAyC;QAEzC,eAAe,EAAE,uBAAuB,CAAC,MAAM;QAC/C,UAAU,EAAE,CAAC,oBAAoB,CAAC;QAClC,aAAa,EAAE,iBAAiB,CAAC,IAAI;;KACxC,CAAC;IAGO,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;IAClB,WAAA,MAAM,CAAC,QAAQ,CAAC,CAAA;GAHZ,qBAAqB,CAgBjC;;IC3BY,kBAAkB,GAA/B,MAAa,kBAAkB;EAAG;AAArB,kBAAkB;IAL9B,QAAQ,CAAC;QACN,OAAO,EAAE,CAAC,YAAY,EAAE,mBAAmB,CAAC;QAC5C,YAAY,EAAE,CAAC,qBAAqB,CAAC;QACrC,OAAO,EAAE,CAAC,qBAAqB,CAAC;KACnC,CAAC;GACW,kBAAkB,CAAG;;ACXlC;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-components-alert-host.js","sources":["../../../projects/cdk/components/alert-host/alert-host.component.ts","../../../projects/cdk/components/alert-host/alert-host.template.html","../../../projects/cdk/components/alert-host/alert-host.module.ts","../../../projects/cdk/components/alert-host/taiga-ui-cdk-components-alert-host.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Inject,\n INJECTOR,\n Injector,\n ViewEncapsulation,\n} from '@angular/core';\nimport {TUI_PARENT_ANIMATION} from '@taiga-ui/cdk/constants';\nimport {TUI_ALERTS} from '@taiga-ui/cdk/tokens';\nimport {TuiDialog, TuiMapper} from '@taiga-ui/cdk/types';\nimport {POLYMORPHEUS_CONTEXT} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\n@Component({\n selector: `tui-alert-host`,\n templateUrl: `./alert-host.template.html`,\n styleUrls: [`./alert-host.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [TUI_PARENT_ANIMATION],\n encapsulation: ViewEncapsulation.None,\n})\nexport class TuiAlertHostComponent<T extends TuiDialog<unknown, unknown>> {\n constructor(\n @Inject(TUI_ALERTS) readonly alerts: Array<Observable<readonly T[]>>,\n @Inject(INJECTOR) private readonly injector: Injector,\n ) {}\n\n readonly mapper: TuiMapper<unknown, Injector> = useValue =>\n Injector.create({\n providers: [\n {\n provide: POLYMORPHEUS_CONTEXT,\n useValue,\n },\n ],\n parent: this.injector,\n });\n}\n","<div\n *ngFor=\"let alert$ of alerts\"\n class=\"t-notifications-wrapper\"\n @tuiParentAnimation\n>\n <ng-container\n *ngFor=\"let item of alert$ | async\"\n [ngComponentOutlet]=\"item.component.component\"\n [ngComponentOutletInjector]=\"item | tuiMapper: mapper\"\n ></ng-container>\n</div>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiMapperPipeModule} from '@taiga-ui/cdk/pipes';\n\nimport {TuiAlertHostComponent} from './alert-host.component';\n\n@NgModule({\n imports: [CommonModule, TuiMapperPipeModule],\n declarations: [TuiAlertHostComponent],\n exports: [TuiAlertHostComponent],\n})\nexport class TuiAlertHostModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MAsBa,qBAAqB,CAAA;IAC9B,WACiC,CAAA,MAAuC,EACjC,QAAkB,EAAA;QADxB,IAAM,CAAA,MAAA,GAAN,MAAM,CAAiC;QACjC,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAU;QAGhD,IAAM,CAAA,MAAA,GAAiC,QAAQ,IACpD,QAAQ,CAAC,MAAM,CAAC;AACZ,YAAA,SAAS,EAAE;AACP,gBAAA;AACI,oBAAA,OAAO,EAAE,oBAAoB;oBAC7B,QAAQ;AACX,iBAAA;AACJ,aAAA;YACD,MAAM,EAAE,IAAI,CAAC,QAAQ;AACxB,SAAA,CAAC,CAAC;KAXH;;mHAJK,qBAAqB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAElB,UAAU,EAAA,EAAA,EAAA,KAAA,EACV,QAAQ,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAA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,CAAA;0BAAzC,MAAM;2BAAC,UAAU,CAAA;;0BACjB,MAAM;2BAAC,QAAQ,CAAA;;;MEdX,kBAAkB,CAAA;;gHAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAlB,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,iBAHZ,qBAAqB,CAAA,EAAA,OAAA,EAAA,CAD1B,YAAY,EAAE,mBAAmB,aAEjC,qBAAqB,CAAA,EAAA,CAAA,CAAA;AAEtB,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,EAJlB,OAAA,EAAA,CAAA,CAAC,YAAY,EAAE,mBAAmB,CAAC,CAAA,EAAA,CAAA,CAAA;4FAInC,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAL9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,mBAAmB,CAAC;oBAC5C,YAAY,EAAE,CAAC,qBAAqB,CAAC;oBACrC,OAAO,EAAE,CAAC,qBAAqB,CAAC;AACnC,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
@@ -1,26 +1,31 @@
1
- import { __decorate, __param } from 'tslib';
2
- import { InjectionToken, Inject, Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
1
+ import * as i0 from '@angular/core';
2
+ import { InjectionToken, Component, ChangeDetectionStrategy, Inject, NgModule } from '@angular/core';
3
+ import * as i7 from '@angular/platform-browser';
3
4
  import { Title } from '@angular/platform-browser';
4
5
  import { HISTORY } from '@ng-web-apis/common';
5
6
  import { TUI_PARENT_ANIMATION } from '@taiga-ui/cdk/constants';
6
7
  import { TUI_DIALOGS } from '@taiga-ui/cdk/tokens';
7
- import { of, combineLatest, Observable } from 'rxjs';
8
+ import * as i6 from 'rxjs';
9
+ import { of, combineLatest } from 'rxjs';
8
10
  import { map } from 'rxjs/operators';
11
+ import * as i1 from '@angular/common';
9
12
  import { CommonModule } from '@angular/common';
10
- import { TuiLetModule } from '@taiga-ui/cdk/directives';
13
+ import * as i2 from '@taiga-ui/cdk/directives/focus-trap';
11
14
  import { TuiFocusTrapModule } from '@taiga-ui/cdk/directives/focus-trap';
15
+ import * as i3 from '@taiga-ui/cdk/directives/overscroll';
12
16
  import { TuiOverscrollModule } from '@taiga-ui/cdk/directives/overscroll';
17
+ import * as i4 from '@tinkoff/ng-polymorpheus';
13
18
  import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
19
+ import * as i5 from '@taiga-ui/cdk/directives';
20
+ import { TuiLetModule } from '@taiga-ui/cdk/directives';
14
21
 
15
- const TUI_DIALOG_CLOSES_ON_BACK = new InjectionToken('Is closing dialog on browser backward navigation enabled', {
22
+ const TUI_DIALOG_CLOSES_ON_BACK = new InjectionToken(`Is closing dialog on browser backward navigation enabled`, {
16
23
  factory: () => of(false),
17
24
  });
18
- // TODO: 3.0 remove in ivy compilation
19
- const FAKE_HISTORY_STATE = { label: 'ignoreMe' };
20
- // TODO: 3.0 remove in ivy compilation
25
+ const FAKE_HISTORY_STATE = { label: `ignoreMe` };
21
26
  const isFakeHistoryState = (historyState) => (historyState === null || historyState === void 0 ? void 0 : historyState.label) === FAKE_HISTORY_STATE.label;
22
27
  // @dynamic
23
- let TuiDialogHostComponent = class TuiDialogHostComponent {
28
+ class TuiDialogHostComponent {
24
29
  constructor(isDialogClosesOnBack$, dialogsByType, historyRef, titleService) {
25
30
  this.isDialogClosesOnBack$ = isDialogClosesOnBack$;
26
31
  this.dialogsByType = dialogsByType;
@@ -44,7 +49,7 @@ let TuiDialogHostComponent = class TuiDialogHostComponent {
44
49
  last.$implicit.complete();
45
50
  }
46
51
  onDialog({ propertyName }, popupOpened, isDialogClosesOnBack) {
47
- if (!isDialogClosesOnBack || propertyName !== 'letter-spacing') {
52
+ if (!isDialogClosesOnBack || propertyName !== `letter-spacing`) {
48
53
  return;
49
54
  }
50
55
  if (popupOpened) {
@@ -54,46 +59,65 @@ let TuiDialogHostComponent = class TuiDialogHostComponent {
54
59
  this.historyRef.back();
55
60
  }
56
61
  }
57
- };
58
- TuiDialogHostComponent.ctorParameters = () => [
59
- { type: Observable, decorators: [{ type: Inject, args: [TUI_DIALOG_CLOSES_ON_BACK,] }] },
60
- { type: Array, decorators: [{ type: Inject, args: [TUI_DIALOGS,] }] },
61
- { type: History, decorators: [{ type: Inject, args: [HISTORY,] }] },
62
- { type: Title, decorators: [{ type: Inject, args: [Title,] }] }
63
- ];
64
- TuiDialogHostComponent = __decorate([
65
- Component({
66
- selector: 'tui-dialog-host',
67
- template: "<ng-container *ngIf=\"dialogs$ | async as dialogs\">\n <section\n *ngFor=\"let item of dialogs\"\n polymorpheus-outlet\n tuiFocusTrap\n tuiScrollRef\n tuiOverscroll=\"all\"\n role=\"dialog\"\n aria-modal=\"true\"\n class=\"t-dialog\"\n @tuiParentAnimation\n [attr.aria-labelledby]=\"item.id\"\n [content]=\"item.component\"\n [context]=\"item\"\n ></section>\n <div\n *tuiLet=\"isDialogClosesOnBack$ | async as isDialogClosesOnBack\"\n class=\"t-overlay\"\n [class.t-overlay_visible]=\"dialogs.length\"\n (window:popstate)=\"closeLast(dialogs, isDialogClosesOnBack)\"\n (transitionend)=\"onDialog($event, !!dialogs.length, isDialogClosesOnBack)\"\n ></div>\n</ng-container>\n",
68
- changeDetection: ChangeDetectionStrategy.OnPush,
69
- animations: [TUI_PARENT_ANIMATION],
70
- styles: [":host{position:fixed;left:0;bottom:0;width:100%;height:0}.t-dialog,.t-overlay{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:flex-start;outline:0;overflow:auto;overflow:overlay}.t-dialog{bottom:auto;height:100%}.t-overlay{height:100%;pointer-events:none;touch-action:none;opacity:0;letter-spacing:normal;transition:opacity var(--tui-duration),letter-spacing 10ms;background:rgba(0,0,0,.75)}.t-overlay_visible{opacity:1;letter-spacing:1px}.t-dialog:last-of-type{z-index:1}"]
71
- }),
72
- __param(0, Inject(TUI_DIALOG_CLOSES_ON_BACK)),
73
- __param(1, Inject(TUI_DIALOGS)),
74
- __param(2, Inject(HISTORY)),
75
- __param(3, Inject(Title))
76
- ], TuiDialogHostComponent);
62
+ }
63
+ TuiDialogHostComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDialogHostComponent, deps: [{ token: TUI_DIALOG_CLOSES_ON_BACK }, { token: TUI_DIALOGS }, { token: HISTORY }, { token: Title }], target: i0.ɵɵFactoryTarget.Component });
64
+ TuiDialogHostComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiDialogHostComponent, selector: "tui-dialog-host", ngImport: i0, template: "<ng-container *ngIf=\"dialogs$ | async as dialogs\">\n <section\n *ngFor=\"let item of dialogs\"\n tuiFocusTrap\n tuiScrollRef\n tuiOverscroll=\"all\"\n role=\"dialog\"\n aria-modal=\"true\"\n class=\"t-dialog\"\n @tuiParentAnimation\n [attr.aria-labelledby]=\"item.id\"\n >\n <ng-container *polymorpheusOutlet=\"item.component; context: item\"></ng-container>\n </section>\n <div\n *tuiLet=\"isDialogClosesOnBack$ | async as isDialogClosesOnBack\"\n class=\"t-overlay\"\n [class.t-overlay_visible]=\"dialogs.length\"\n (window:popstate)=\"closeLast(dialogs, isDialogClosesOnBack)\"\n (transitionend)=\"onDialog($event, !!dialogs.length, isDialogClosesOnBack)\"\n ></div>\n</ng-container>\n", styles: [":host{position:fixed;left:0;bottom:0;width:100%;height:0}.t-overlay,.t-dialog{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:flex-start;outline:none;overflow:auto;overflow:overlay}.t-dialog{bottom:auto;height:100%}.t-overlay{height:100%;pointer-events:none;touch-action:none;opacity:0;letter-spacing:normal;transition:opacity var(--tui-duration),letter-spacing .01s;background:rgba(0,0,0,.75)}.t-overlay_visible{opacity:1;letter-spacing:1px}.t-dialog:last-of-type{z-index:1}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.TuiFocusTrapDirective, selector: "[tuiFocusTrap]" }, { type: i3.TuiOverscrollDirective, selector: "[tuiOverscroll]", inputs: ["tuiOverscroll"] }, { type: i4.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { type: i5.TuiLetDirective, selector: "[tuiLet]", inputs: ["tuiLet"] }], pipes: { "async": i1.AsyncPipe }, animations: [TUI_PARENT_ANIMATION], changeDetection: i0.ChangeDetectionStrategy.OnPush });
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDialogHostComponent, decorators: [{
66
+ type: Component,
67
+ args: [{
68
+ selector: `tui-dialog-host`,
69
+ templateUrl: `./dialog-host.template.html`,
70
+ styleUrls: [`./dialog-host.style.less`],
71
+ changeDetection: ChangeDetectionStrategy.OnPush,
72
+ animations: [TUI_PARENT_ANIMATION],
73
+ }]
74
+ }], ctorParameters: function () { return [{ type: i6.Observable, decorators: [{
75
+ type: Inject,
76
+ args: [TUI_DIALOG_CLOSES_ON_BACK]
77
+ }] }, { type: Array, decorators: [{
78
+ type: Inject,
79
+ args: [TUI_DIALOGS]
80
+ }] }, { type: History, decorators: [{
81
+ type: Inject,
82
+ args: [HISTORY]
83
+ }] }, { type: i7.Title, decorators: [{
84
+ type: Inject,
85
+ args: [Title]
86
+ }] }]; } });
77
87
 
78
- let TuiDialogHostModule = class TuiDialogHostModule {
79
- };
80
- TuiDialogHostModule = __decorate([
81
- NgModule({
82
- imports: [
88
+ class TuiDialogHostModule {
89
+ }
90
+ TuiDialogHostModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDialogHostModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
91
+ TuiDialogHostModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDialogHostModule, declarations: [TuiDialogHostComponent], imports: [CommonModule,
92
+ PolymorpheusModule,
93
+ TuiOverscrollModule,
94
+ TuiFocusTrapModule,
95
+ TuiLetModule], exports: [TuiDialogHostComponent] });
96
+ TuiDialogHostModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDialogHostModule, imports: [[
83
97
  CommonModule,
84
98
  PolymorpheusModule,
85
99
  TuiOverscrollModule,
86
100
  TuiFocusTrapModule,
87
101
  TuiLetModule,
88
- ],
89
- declarations: [TuiDialogHostComponent],
90
- exports: [TuiDialogHostComponent],
91
- })
92
- ], TuiDialogHostModule);
102
+ ]] });
103
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDialogHostModule, decorators: [{
104
+ type: NgModule,
105
+ args: [{
106
+ imports: [
107
+ CommonModule,
108
+ PolymorpheusModule,
109
+ TuiOverscrollModule,
110
+ TuiFocusTrapModule,
111
+ TuiLetModule,
112
+ ],
113
+ declarations: [TuiDialogHostComponent],
114
+ exports: [TuiDialogHostComponent],
115
+ }]
116
+ }] });
93
117
 
94
118
  /**
95
119
  * Generated bundle index. Do not edit.
96
120
  */
97
121
 
98
- export { FAKE_HISTORY_STATE, TUI_DIALOG_CLOSES_ON_BACK, TuiDialogHostComponent, TuiDialogHostModule, isFakeHistoryState };
122
+ export { TUI_DIALOG_CLOSES_ON_BACK, TuiDialogHostComponent, TuiDialogHostModule };
99
123
  //# sourceMappingURL=taiga-ui-cdk-components-dialog-host.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-components-dialog-host.js","sources":["ng://@taiga-ui/cdk/components/dialog-host/dialog-host.component.ts","ng://@taiga-ui/cdk/components/dialog-host/dialog-host.module.ts","ng://@taiga-ui/cdk/components/dialog-host/taiga-ui-cdk-components-dialog-host.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, Inject, InjectionToken} from '@angular/core';\nimport {Title} from '@angular/platform-browser';\nimport {HISTORY} from '@ng-web-apis/common';\nimport {TUI_PARENT_ANIMATION} from '@taiga-ui/cdk/constants';\nimport {TUI_DIALOGS} from '@taiga-ui/cdk/tokens';\nimport {TuiDialog} from '@taiga-ui/cdk/types';\nimport {combineLatest, Observable, of} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nexport const TUI_DIALOG_CLOSES_ON_BACK = new InjectionToken<Observable<boolean>>(\n 'Is closing dialog on browser backward navigation enabled',\n {\n factory: () => of(false),\n },\n);\n\n// TODO: 3.0 remove in ivy compilation\nexport const FAKE_HISTORY_STATE = {label: 'ignoreMe'} as const;\n// TODO: 3.0 remove in ivy compilation\nexport const isFakeHistoryState = (\n historyState: Record<string, unknown>,\n): historyState is typeof FAKE_HISTORY_STATE =>\n historyState?.label === FAKE_HISTORY_STATE.label;\n\n// @dynamic\n@Component({\n selector: 'tui-dialog-host',\n templateUrl: './dialog-host.template.html',\n styleUrls: ['./dialog-host.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [TUI_PARENT_ANIMATION],\n})\nexport class TuiDialogHostComponent<T extends TuiDialog<unknown, unknown>> {\n readonly dialogs$ = combineLatest(this.dialogsByType).pipe(\n map(allTypesDialogs =>\n new Array<T>()\n .concat(...allTypesDialogs)\n .sort((a, b) => a.createdAt - b.createdAt),\n ),\n );\n\n constructor(\n @Inject(TUI_DIALOG_CLOSES_ON_BACK)\n readonly isDialogClosesOnBack$: Observable<boolean>,\n @Inject(TUI_DIALOGS)\n private readonly dialogsByType: Array<Observable<readonly T[]>>,\n @Inject(HISTORY) private readonly historyRef: History,\n @Inject(Title) private readonly titleService: Title,\n ) {}\n\n closeLast(dialogs: readonly T[], isDialogClosesOnBack: boolean): void {\n if (!isDialogClosesOnBack) {\n return;\n }\n\n const [last] = dialogs.slice(-1);\n\n if (!last) {\n return;\n }\n\n if (dialogs.length > 1) {\n this.historyRef.pushState(FAKE_HISTORY_STATE, this.titleService.getTitle());\n }\n\n last.$implicit.complete();\n }\n\n onDialog(\n {propertyName}: TransitionEvent,\n popupOpened: boolean,\n isDialogClosesOnBack: boolean,\n ): void {\n if (!isDialogClosesOnBack || propertyName !== 'letter-spacing') {\n return;\n }\n\n if (popupOpened) {\n this.historyRef.pushState(FAKE_HISTORY_STATE, this.titleService.getTitle());\n } else if (isFakeHistoryState(this.historyRef.state)) {\n this.historyRef.back();\n }\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiLetModule} from '@taiga-ui/cdk/directives';\nimport {TuiFocusTrapModule} from '@taiga-ui/cdk/directives/focus-trap';\nimport {TuiOverscrollModule} from '@taiga-ui/cdk/directives/overscroll';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiDialogHostComponent} from './dialog-host.component';\n\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusModule,\n TuiOverscrollModule,\n TuiFocusTrapModule,\n TuiLetModule,\n ],\n declarations: [TuiDialogHostComponent],\n exports: [TuiDialogHostComponent],\n})\nexport class TuiDialogHostModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;MASa,yBAAyB,GAAG,IAAI,cAAc,CACvD,0DAA0D,EAC1D;IACI,OAAO,EAAE,MAAM,EAAE,CAAC,KAAK,CAAC;CAC3B,EACH;AAEF;MACa,kBAAkB,GAA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AC5D,OAAO;SACV;QAED,IAAI,WAAW,EAAE;YACb,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,kBAAkB,EAAE,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC,CAAC;SAC/E;aAAM,IAAI,kBAAkB,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE;YAClD,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC;SAC1B;KACJ;EACJ;;YAxCuC,UAAU,uBADzC,MAAM,SAAC,yBAAyB;YAGD,KAAK,uBADpC,MAAM,SAAC,WAAW;YAE2B,OAAO,uBAApD,MAAM,SAAC,OAAO;YAC+B,KAAK,uBAAlD,MAAM,SAAC,KAAK;;AAfR,sBAAsB;IAPlC,SAAS,CAAC;QACP,QAAQ,EAAE,iBAAiB;QAC3B,kzBAA0C;QAE1C,eAAe,EAAE,uBAAuB,CAAC,MAAM;QAC/C,UAAU,EAAE,CAAC,oBAAoB,CAAC;;KACrC,CAAC;IAWO,WAAA,MAAM,CAAC,yBAAyB,CAAC,CAAA;IAEjC,WAAA,MAAM,CAAC,WAAW,CAAC,CAAA;IAEnB,WAAA,MAAM,CAAC,OAAO,CAAC,CAAA;IACf,WAAA,MAAM,CAAC,KAAK,CAAC,CAAA;GAfT,sBAAsB,CAmDlC;;IC/DY,mBAAmB,GAAhC,MAAa,mBAAmB;EAAG;AAAtB,mBAAmB;IAX/B,QAAQ,CAAC;QACN,OAAO,EAAE;YACL,YAAY;YACZ,kBAAkB;YAClB,mBAAmB;YACnB,kBAAkB;YAClB,YAAY;SACf;QACD,YAAY,EAAE,CAAC,sBAAsB,CAAC;QACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;KACpC,CAAC;GACW,mBAAmB,CAAG;;ACpBnC;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-components-dialog-host.js","sources":["../../../projects/cdk/components/dialog-host/dialog-host.component.ts","../../../projects/cdk/components/dialog-host/dialog-host.template.html","../../../projects/cdk/components/dialog-host/dialog-host.module.ts","../../../projects/cdk/components/dialog-host/taiga-ui-cdk-components-dialog-host.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, Inject, InjectionToken} from '@angular/core';\nimport {Title} from '@angular/platform-browser';\nimport {HISTORY} from '@ng-web-apis/common';\nimport {TUI_PARENT_ANIMATION} from '@taiga-ui/cdk/constants';\nimport {TUI_DIALOGS} from '@taiga-ui/cdk/tokens';\nimport {TuiDialog} from '@taiga-ui/cdk/types';\nimport {combineLatest, Observable, of} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nexport const TUI_DIALOG_CLOSES_ON_BACK = new InjectionToken<Observable<boolean>>(\n `Is closing dialog on browser backward navigation enabled`,\n {\n factory: () => of(false),\n },\n);\n\nconst FAKE_HISTORY_STATE = {label: `ignoreMe`} as const;\nconst isFakeHistoryState = (\n historyState: Record<string, unknown>,\n): historyState is typeof FAKE_HISTORY_STATE =>\n historyState?.label === FAKE_HISTORY_STATE.label;\n\n// @dynamic\n@Component({\n selector: `tui-dialog-host`,\n templateUrl: `./dialog-host.template.html`,\n styleUrls: [`./dialog-host.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [TUI_PARENT_ANIMATION],\n})\nexport class TuiDialogHostComponent<T extends TuiDialog<unknown, unknown>> {\n readonly dialogs$ = combineLatest(this.dialogsByType).pipe(\n map(allTypesDialogs =>\n new Array<T>()\n .concat(...allTypesDialogs)\n .sort((a, b) => a.createdAt - b.createdAt),\n ),\n );\n\n constructor(\n @Inject(TUI_DIALOG_CLOSES_ON_BACK)\n readonly isDialogClosesOnBack$: Observable<boolean>,\n @Inject(TUI_DIALOGS)\n private readonly dialogsByType: Array<Observable<readonly T[]>>,\n @Inject(HISTORY) private readonly historyRef: History,\n @Inject(Title) private readonly titleService: Title,\n ) {}\n\n closeLast(dialogs: readonly T[], isDialogClosesOnBack: boolean): void {\n if (!isDialogClosesOnBack) {\n return;\n }\n\n const [last] = dialogs.slice(-1);\n\n if (!last) {\n return;\n }\n\n if (dialogs.length > 1) {\n this.historyRef.pushState(FAKE_HISTORY_STATE, this.titleService.getTitle());\n }\n\n last.$implicit.complete();\n }\n\n onDialog(\n {propertyName}: TransitionEvent,\n popupOpened: boolean,\n isDialogClosesOnBack: boolean,\n ): void {\n if (!isDialogClosesOnBack || propertyName !== `letter-spacing`) {\n return;\n }\n\n if (popupOpened) {\n this.historyRef.pushState(FAKE_HISTORY_STATE, this.titleService.getTitle());\n } else if (isFakeHistoryState(this.historyRef.state)) {\n this.historyRef.back();\n }\n }\n}\n","<ng-container *ngIf=\"dialogs$ | async as dialogs\">\n <section\n *ngFor=\"let item of dialogs\"\n tuiFocusTrap\n tuiScrollRef\n tuiOverscroll=\"all\"\n role=\"dialog\"\n aria-modal=\"true\"\n class=\"t-dialog\"\n @tuiParentAnimation\n [attr.aria-labelledby]=\"item.id\"\n >\n <ng-container *polymorpheusOutlet=\"item.component; context: item\"></ng-container>\n </section>\n <div\n *tuiLet=\"isDialogClosesOnBack$ | async as isDialogClosesOnBack\"\n class=\"t-overlay\"\n [class.t-overlay_visible]=\"dialogs.length\"\n (window:popstate)=\"closeLast(dialogs, isDialogClosesOnBack)\"\n (transitionend)=\"onDialog($event, !!dialogs.length, isDialogClosesOnBack)\"\n ></div>\n</ng-container>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiLetModule} from '@taiga-ui/cdk/directives';\nimport {TuiFocusTrapModule} from '@taiga-ui/cdk/directives/focus-trap';\nimport {TuiOverscrollModule} from '@taiga-ui/cdk/directives/overscroll';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiDialogHostComponent} from './dialog-host.component';\n\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusModule,\n TuiOverscrollModule,\n TuiFocusTrapModule,\n TuiLetModule,\n ],\n declarations: [TuiDialogHostComponent],\n exports: [TuiDialogHostComponent],\n})\nexport class TuiDialogHostModule {}\n","/**\n * Generated bundle index.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