@taiga-ui/cdk 2.61.0 → 3.0.0-rc.2

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 (1812) hide show
  1. package/abstract/control.d.ts +5 -1
  2. package/abstract/controller.d.ts +4 -7
  3. package/abstract/dialog.directive.d.ts +3 -0
  4. package/abstract/dialog.service.d.ts +4 -1
  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 +8 -3
  10. package/abstract/portal-service.d.ts +6 -2
  11. package/abstract/taiga-ui-cdk-abstract.d.ts +1 -0
  12. package/abstract/theme-switcher.d.ts +3 -1
  13. package/bundles/taiga-ui-cdk-abstract.umd.js +567 -497
  14. package/bundles/taiga-ui-cdk-abstract.umd.js.map +1 -1
  15. package/bundles/taiga-ui-cdk-classes.umd.js +7 -13
  16. package/bundles/taiga-ui-cdk-classes.umd.js.map +1 -1
  17. package/bundles/taiga-ui-cdk-coercion.umd.js +7 -3
  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 +420 -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 +405 -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 +16 -15
  28. package/bundles/taiga-ui-cdk-constants.umd.js.map +1 -1
  29. package/bundles/taiga-ui-cdk-date-time.umd.js +370 -464
  30. package/bundles/taiga-ui-cdk-date-time.umd.js.map +1 -1
  31. package/bundles/taiga-ui-cdk-decorators.umd.js +335 -259
  32. package/bundles/taiga-ui-cdk-decorators.umd.js.map +1 -1
  33. package/bundles/taiga-ui-cdk-directives-active-zone.umd.js +407 -295
  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 +454 -337
  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 +60 -278
  40. package/bundles/taiga-ui-cdk-directives-checked.umd.js.map +1 -1
  41. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js +383 -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 +64 -281
  44. package/bundles/taiga-ui-cdk-directives-drag.umd.js.map +1 -1
  45. package/bundles/taiga-ui-cdk-directives-droppable.umd.js +62 -280
  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 +75 -288
  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 -268
  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 -270
  62. package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js.map +1 -1
  63. package/bundles/taiga-ui-cdk-directives-hovered.umd.js +413 -290
  64. package/bundles/taiga-ui-cdk-directives-hovered.umd.js.map +1 -1
  65. package/bundles/taiga-ui-cdk-directives-input-mode.umd.js +64 -276
  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 +434 -321
  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 +81 -297
  76. package/bundles/taiga-ui-cdk-directives-overscroll.umd.js.map +1 -1
  77. package/bundles/taiga-ui-cdk-directives-pan.umd.js +51 -268
  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 +54 -271
  82. package/bundles/taiga-ui-cdk-directives-pressed.umd.js.map +1 -1
  83. package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js +61 -275
  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 +385 -273
  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 -268
  88. package/bundles/taiga-ui-cdk-directives-resize.umd.js.map +1 -1
  89. package/bundles/taiga-ui-cdk-directives-swipe.umd.js +51 -268
  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 -271
  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 +341 -298
  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 +38 -101
  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-keys.umd.js +41 -259
  108. package/bundles/taiga-ui-cdk-pipes-keys.umd.js.map +1 -1
  109. package/bundles/taiga-ui-cdk-pipes-mapper.umd.js +369 -260
  110. package/bundles/taiga-ui-cdk-pipes-mapper.umd.js.map +1 -1
  111. package/bundles/taiga-ui-cdk-pipes.umd.js +9 -15
  112. package/bundles/taiga-ui-cdk-pipes.umd.js.map +1 -1
  113. package/bundles/taiga-ui-cdk-services.umd.js +585 -504
  114. package/bundles/taiga-ui-cdk-services.umd.js.map +1 -1
  115. package/bundles/taiga-ui-cdk-tokens.umd.js +392 -289
  116. package/bundles/taiga-ui-cdk-tokens.umd.js.map +1 -1
  117. package/bundles/taiga-ui-cdk-types.umd.js +2 -2
  118. package/bundles/taiga-ui-cdk-types.umd.js.map +1 -1
  119. package/bundles/taiga-ui-cdk-utils-browser.umd.js +11 -42
  120. package/bundles/taiga-ui-cdk-utils-browser.umd.js.map +1 -1
  121. package/bundles/taiga-ui-cdk-utils-color.umd.js +81 -0
  122. package/bundles/taiga-ui-cdk-utils-color.umd.js.map +1 -0
  123. package/bundles/taiga-ui-cdk-utils-dom.umd.js +65 -130
  124. package/bundles/taiga-ui-cdk-utils-dom.umd.js.map +1 -1
  125. package/bundles/taiga-ui-cdk-utils-focus.umd.js +46 -111
  126. package/bundles/taiga-ui-cdk-utils-focus.umd.js.map +1 -1
  127. package/bundles/taiga-ui-cdk-utils-format.umd.js +8 -27
  128. package/bundles/taiga-ui-cdk-utils-format.umd.js.map +1 -1
  129. package/bundles/taiga-ui-cdk-utils-math.umd.js +17 -68
  130. package/bundles/taiga-ui-cdk-utils-math.umd.js.map +1 -1
  131. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js +363 -105
  132. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js.map +1 -1
  133. package/bundles/taiga-ui-cdk-utils-os.umd.js +11 -23
  134. package/bundles/taiga-ui-cdk-utils-os.umd.js.map +1 -1
  135. package/bundles/taiga-ui-cdk-utils-svg.umd.js +335 -259
  136. package/bundles/taiga-ui-cdk-utils-svg.umd.js.map +1 -1
  137. package/bundles/taiga-ui-cdk-utils.umd.js +27 -37
  138. package/bundles/taiga-ui-cdk-utils.umd.js.map +1 -1
  139. package/bundles/taiga-ui-cdk.umd.js +47 -65
  140. package/bundles/taiga-ui-cdk.umd.js.map +1 -1
  141. package/classes/assert.d.ts +0 -3
  142. package/classes/package.json +2 -5
  143. package/classes/taiga-ui-cdk-classes.d.ts +1 -0
  144. package/coercion/package.json +2 -5
  145. package/coercion/taiga-ui-cdk-coercion.d.ts +1 -0
  146. package/components/alert-host/alert-host.component.d.ts +3 -0
  147. package/components/alert-host/alert-host.module.d.ts +7 -0
  148. package/components/alert-host/package.json +2 -5
  149. package/components/alert-host/taiga-ui-cdk-components-alert-host.d.ts +1 -0
  150. package/components/dialog-host/dialog-host.component.d.ts +3 -6
  151. package/components/dialog-host/dialog-host.module.d.ts +10 -0
  152. package/components/dialog-host/package.json +2 -5
  153. package/components/dialog-host/taiga-ui-cdk-components-dialog-host.d.ts +1 -0
  154. package/components/dropdown-host/dropdown-host.component.d.ts +3 -0
  155. package/components/dropdown-host/dropdown-host.module.d.ts +5 -0
  156. package/components/dropdown-host/dropdown-portal.service.d.ts +9 -0
  157. package/components/dropdown-host/index.d.ts +1 -0
  158. package/components/dropdown-host/package.json +2 -5
  159. package/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.d.ts +1 -0
  160. package/components/index.d.ts +0 -1
  161. package/components/package.json +2 -5
  162. package/components/taiga-ui-cdk-components.d.ts +1 -0
  163. package/constants/browser.d.ts +4 -0
  164. package/constants/empty.d.ts +0 -3
  165. package/constants/package.json +2 -5
  166. package/constants/taiga-ui-cdk-constants.d.ts +1 -0
  167. package/constants/version.d.ts +1 -1
  168. package/constants/version.js +2 -1
  169. package/date-time/date-fillers.d.ts +0 -9
  170. package/date-time/day-range.d.ts +5 -12
  171. package/date-time/day.d.ts +1 -18
  172. package/date-time/month-range.d.ts +0 -4
  173. package/date-time/month.d.ts +1 -19
  174. package/date-time/package.json +2 -5
  175. package/date-time/taiga-ui-cdk-date-time.d.ts +1 -0
  176. package/date-time/year.d.ts +1 -17
  177. package/decorators/package.json +2 -5
  178. package/decorators/taiga-ui-cdk-decorators.d.ts +1 -0
  179. package/directives/active-zone/active-zone.directive.d.ts +3 -0
  180. package/directives/active-zone/active-zone.module.d.ts +5 -0
  181. package/directives/active-zone/package.json +2 -5
  182. package/directives/active-zone/taiga-ui-cdk-directives-active-zone.d.ts +1 -0
  183. package/directives/auto-focus/autofocus.directive.d.ts +4 -1
  184. package/directives/auto-focus/autofocus.module.d.ts +5 -0
  185. package/directives/auto-focus/autofocus.options.d.ts +3 -2
  186. package/directives/auto-focus/handlers/abstract.handler.d.ts +3 -0
  187. package/directives/auto-focus/handlers/default.handler.d.ts +3 -0
  188. package/directives/auto-focus/handlers/ios.handler.d.ts +3 -0
  189. package/directives/auto-focus/package.json +2 -5
  190. package/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.d.ts +1 -0
  191. package/directives/autofilled/autofilled-style.component.d.ts +3 -0
  192. package/directives/autofilled/autofilled.directive.d.ts +3 -0
  193. package/directives/autofilled/autofilled.module.d.ts +6 -0
  194. package/directives/autofilled/package.json +2 -5
  195. package/directives/autofilled/taiga-ui-cdk-directives-autofilled.d.ts +1 -0
  196. package/directives/checked/checked.directive.d.ts +3 -0
  197. package/directives/checked/checked.module.d.ts +5 -0
  198. package/directives/checked/package.json +2 -5
  199. package/directives/checked/taiga-ui-cdk-directives-checked.d.ts +1 -0
  200. package/directives/copy-processor/copy-processor.directive.d.ts +3 -0
  201. package/directives/copy-processor/copy-processor.module.d.ts +5 -0
  202. package/directives/copy-processor/package.json +2 -5
  203. package/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.d.ts +1 -0
  204. package/directives/drag/drag.directive.d.ts +3 -0
  205. package/directives/drag/drag.module.d.ts +5 -0
  206. package/directives/drag/package.json +2 -5
  207. package/directives/drag/taiga-ui-cdk-directives-drag.d.ts +1 -0
  208. package/directives/droppable/droppable.directive.d.ts +3 -0
  209. package/directives/droppable/droppable.module.d.ts +5 -0
  210. package/directives/droppable/package.json +2 -5
  211. package/directives/droppable/taiga-ui-cdk-directives-droppable.d.ts +1 -0
  212. package/directives/element/element.directive.d.ts +3 -0
  213. package/directives/element/element.module.d.ts +5 -0
  214. package/directives/element/package.json +2 -5
  215. package/directives/element/taiga-ui-cdk-directives-element.d.ts +1 -0
  216. package/directives/focus-trap/focus-trap.directive.d.ts +3 -0
  217. package/directives/focus-trap/focus-trap.module.d.ts +5 -0
  218. package/directives/focus-trap/package.json +2 -5
  219. package/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.d.ts +1 -0
  220. package/directives/focus-visible/focus-visible.directive.d.ts +3 -1
  221. package/directives/focus-visible/focus-visible.module.d.ts +5 -0
  222. package/directives/focus-visible/package.json +2 -5
  223. package/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.d.ts +1 -0
  224. package/directives/focusable/focusable.directive.d.ts +3 -0
  225. package/directives/focusable/focusable.module.d.ts +5 -0
  226. package/directives/focusable/package.json +2 -5
  227. package/directives/focusable/taiga-ui-cdk-directives-focusable.d.ts +1 -0
  228. package/directives/focused/focused.directive.d.ts +3 -0
  229. package/directives/focused/focused.module.d.ts +5 -0
  230. package/directives/focused/package.json +2 -5
  231. package/directives/focused/taiga-ui-cdk-directives-focused.d.ts +1 -0
  232. package/directives/for/for.directive.d.ts +3 -0
  233. package/directives/for/for.module.d.ts +5 -0
  234. package/directives/for/package.json +2 -5
  235. package/directives/for/taiga-ui-cdk-directives-for.d.ts +1 -0
  236. package/directives/for-async/for-async.directive.d.ts +3 -0
  237. package/directives/for-async/for-async.module.d.ts +5 -0
  238. package/directives/for-async/package.json +2 -5
  239. package/directives/for-async/taiga-ui-cdk-directives-for-async.d.ts +1 -0
  240. package/directives/high-dpi/high-dpi.directive.d.ts +3 -1
  241. package/directives/high-dpi/high-dpi.module.d.ts +5 -0
  242. package/directives/high-dpi/package.json +2 -5
  243. package/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.d.ts +1 -0
  244. package/directives/hovered/hovered.directive.d.ts +6 -5
  245. package/directives/hovered/hovered.module.d.ts +5 -0
  246. package/directives/hovered/hovered.service.d.ts +11 -0
  247. package/directives/hovered/index.d.ts +1 -0
  248. package/directives/hovered/package.json +2 -5
  249. package/directives/hovered/taiga-ui-cdk-directives-hovered.d.ts +1 -0
  250. package/directives/index.d.ts +1 -0
  251. package/directives/input-mode/input-mode.directive.d.ts +5 -2
  252. package/directives/input-mode/input-mode.module.d.ts +5 -0
  253. package/directives/input-mode/package.json +2 -5
  254. package/directives/input-mode/taiga-ui-cdk-directives-input-mode.d.ts +1 -0
  255. package/directives/item/item.directive.d.ts +4 -2
  256. package/directives/item/item.module.d.ts +5 -0
  257. package/directives/item/package.json +2 -5
  258. package/directives/item/taiga-ui-cdk-directives-item.d.ts +1 -0
  259. package/directives/let/let.directive.d.ts +3 -0
  260. package/directives/let/let.module.d.ts +5 -0
  261. package/directives/let/package.json +2 -5
  262. package/directives/let/taiga-ui-cdk-directives-let.d.ts +1 -0
  263. package/directives/media/media.directive.d.ts +3 -2
  264. package/directives/media/media.module.d.ts +5 -0
  265. package/directives/media/package.json +2 -5
  266. package/directives/media/taiga-ui-cdk-directives-media.d.ts +1 -0
  267. package/directives/obscured/obscured.directive.d.ts +3 -0
  268. package/directives/obscured/obscured.module.d.ts +5 -0
  269. package/directives/obscured/package.json +2 -5
  270. package/directives/obscured/taiga-ui-cdk-directives-obscured.d.ts +1 -0
  271. package/directives/overscroll/overscroll.directive.d.ts +5 -3
  272. package/directives/overscroll/overscroll.module.d.ts +5 -0
  273. package/directives/overscroll/package.json +2 -5
  274. package/directives/overscroll/taiga-ui-cdk-directives-overscroll.d.ts +1 -0
  275. package/directives/package.json +2 -5
  276. package/directives/pan/package.json +2 -5
  277. package/directives/pan/pan.directive.d.ts +3 -0
  278. package/directives/pan/pan.module.d.ts +5 -0
  279. package/directives/pan/taiga-ui-cdk-directives-pan.d.ts +1 -0
  280. package/directives/portal/package.json +2 -5
  281. package/directives/portal/portal.directive.d.ts +5 -2
  282. package/directives/portal/portal.module.d.ts +5 -0
  283. package/directives/portal/taiga-ui-cdk-directives-portal.d.ts +1 -0
  284. package/directives/pressed/package.json +2 -5
  285. package/directives/pressed/pressed.directive.d.ts +3 -0
  286. package/directives/pressed/pressed.module.d.ts +5 -0
  287. package/directives/pressed/taiga-ui-cdk-directives-pressed.d.ts +1 -0
  288. package/directives/prevent-default/package.json +2 -5
  289. package/directives/prevent-default/prevent-default.directive.d.ts +3 -1
  290. package/directives/prevent-default/prevent-default.module.d.ts +5 -0
  291. package/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.d.ts +1 -0
  292. package/directives/repeat-times/package.json +2 -5
  293. package/directives/repeat-times/repeat-times.directive.d.ts +3 -0
  294. package/directives/repeat-times/repeat-times.module.d.ts +5 -0
  295. package/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.d.ts +1 -0
  296. package/directives/resize/package.json +2 -5
  297. package/directives/resize/resize.directive.d.ts +3 -1
  298. package/directives/resize/resize.module.d.ts +5 -0
  299. package/directives/resize/taiga-ui-cdk-directives-resize.d.ts +1 -0
  300. package/directives/swipe/package.json +2 -5
  301. package/directives/swipe/swipe.directive.d.ts +3 -0
  302. package/directives/swipe/swipe.module.d.ts +5 -0
  303. package/directives/swipe/taiga-ui-cdk-directives-swipe.d.ts +1 -0
  304. package/directives/taiga-ui-cdk-directives.d.ts +1 -0
  305. package/directives/validator/package.json +2 -5
  306. package/directives/validator/taiga-ui-cdk-directives-validator.d.ts +1 -0
  307. package/directives/validator/validator.directive.d.ts +3 -0
  308. package/directives/validator/validator.module.d.ts +5 -0
  309. package/directives/zoom/package.json +2 -5
  310. package/directives/zoom/taiga-ui-cdk-directives-zoom.d.ts +1 -0
  311. package/directives/zoom/zoom.directive.d.ts +3 -0
  312. package/directives/zoom/zoom.module.d.ts +5 -0
  313. package/enums/autocomplete.d.ts +0 -10
  314. package/enums/index.d.ts +0 -3
  315. package/enums/package.json +2 -5
  316. package/enums/taiga-ui-cdk-enums.d.ts +1 -0
  317. package/esm2015/abstract/control.js +28 -20
  318. package/esm2015/abstract/controller.js +9 -8
  319. package/esm2015/abstract/dialog.directive.js +19 -16
  320. package/esm2015/abstract/dialog.service.js +13 -12
  321. package/esm2015/abstract/index.js +1 -1
  322. package/esm2015/abstract/interactive.js +41 -83
  323. package/esm2015/abstract/multiple-control.js +9 -8
  324. package/esm2015/abstract/nullable-control.js +9 -8
  325. package/esm2015/abstract/portal-host.js +34 -30
  326. package/esm2015/abstract/portal-service.js +12 -11
  327. package/esm2015/abstract/taiga-ui-cdk-abstract.js +1 -1
  328. package/esm2015/abstract/theme-switcher.js +12 -14
  329. package/esm2015/classes/assert.js +1 -10
  330. package/esm2015/classes/index.js +1 -1
  331. package/esm2015/classes/taiga-ui-cdk-classes.js +1 -1
  332. package/esm2015/classes/validation-error.js +1 -1
  333. package/esm2015/coercion/coerce-boolean-property.js +1 -1
  334. package/esm2015/coercion/index.js +1 -1
  335. package/esm2015/coercion/taiga-ui-cdk-coercion.js +1 -1
  336. package/esm2015/components/alert-host/alert-host.component.js +25 -21
  337. package/esm2015/components/alert-host/alert-host.module.js +15 -12
  338. package/esm2015/components/alert-host/index.js +1 -1
  339. package/esm2015/components/alert-host/taiga-ui-cdk-components-alert-host.js +1 -1
  340. package/esm2015/components/dialog-host/dialog-host.component.js +38 -30
  341. package/esm2015/components/dialog-host/dialog-host.module.js +26 -13
  342. package/esm2015/components/dialog-host/index.js +1 -1
  343. package/esm2015/components/dialog-host/taiga-ui-cdk-components-dialog-host.js +1 -1
  344. package/esm2015/components/dropdown-host/dropdown-host.component.js +26 -18
  345. package/esm2015/components/dropdown-host/dropdown-host.module.js +14 -11
  346. package/esm2015/components/dropdown-host/dropdown-portal.service.js +17 -0
  347. package/esm2015/components/dropdown-host/index.js +2 -1
  348. package/esm2015/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.js +1 -1
  349. package/esm2015/components/index.js +1 -2
  350. package/esm2015/components/taiga-ui-cdk-components.js +1 -1
  351. package/esm2015/constants/always-false-handler.js +1 -1
  352. package/esm2015/constants/always-true-handler.js +1 -1
  353. package/esm2015/constants/browser.js +5 -1
  354. package/esm2015/constants/empty.js +1 -3
  355. package/esm2015/constants/index.js +1 -1
  356. package/esm2015/constants/matcher.js +1 -1
  357. package/esm2015/constants/parent-animation.js +1 -1
  358. package/esm2015/constants/polling-time.js +1 -1
  359. package/esm2015/constants/stringify.js +1 -1
  360. package/esm2015/constants/svg-node-filter.js +1 -1
  361. package/esm2015/constants/taiga-ui-cdk-constants.js +1 -1
  362. package/esm2015/constants/unicode-chars.js +1 -1
  363. package/esm2015/constants/version.js +2 -2
  364. package/esm2015/date-time/date-fillers.js +1 -17
  365. package/esm2015/date-time/date-format.js +1 -1
  366. package/esm2015/date-time/date-separator.js +1 -1
  367. package/esm2015/date-time/date-time.js +1 -1
  368. package/esm2015/date-time/day-range.js +3 -18
  369. package/esm2015/date-time/day.js +12 -53
  370. package/esm2015/date-time/days.const.js +1 -1
  371. package/esm2015/date-time/index.js +1 -1
  372. package/esm2015/date-time/month-range.js +1 -7
  373. package/esm2015/date-time/month.js +8 -42
  374. package/esm2015/date-time/taiga-ui-cdk-date-time.js +1 -1
  375. package/esm2015/date-time/time.js +8 -9
  376. package/esm2015/date-time/year.js +7 -39
  377. package/esm2015/decorators/default-prop.js +1 -1
  378. package/esm2015/decorators/index.js +1 -1
  379. package/esm2015/decorators/pure.js +1 -1
  380. package/esm2015/decorators/required-setter.js +1 -1
  381. package/esm2015/decorators/taiga-ui-cdk-decorators.js +1 -1
  382. package/esm2015/directives/active-zone/active-zone.directive.js +39 -35
  383. package/esm2015/directives/active-zone/active-zone.module.js +14 -11
  384. package/esm2015/directives/active-zone/index.js +1 -1
  385. package/esm2015/directives/active-zone/taiga-ui-cdk-directives-active-zone.js +1 -1
  386. package/esm2015/directives/auto-focus/autofocus.directive.js +21 -20
  387. package/esm2015/directives/auto-focus/autofocus.module.js +14 -11
  388. package/esm2015/directives/auto-focus/autofocus.options.js +4 -9
  389. package/esm2015/directives/auto-focus/handlers/abstract.handler.js +10 -13
  390. package/esm2015/directives/auto-focus/handlers/default.handler.js +24 -19
  391. package/esm2015/directives/auto-focus/handlers/ios.handler.js +34 -29
  392. package/esm2015/directives/auto-focus/index.js +1 -1
  393. package/esm2015/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.js +1 -1
  394. package/esm2015/directives/autofilled/autofilled-style.component.js +14 -12
  395. package/esm2015/directives/autofilled/autofilled.directive.js +25 -24
  396. package/esm2015/directives/autofilled/autofilled.module.js +15 -12
  397. package/esm2015/directives/autofilled/index.js +1 -1
  398. package/esm2015/directives/autofilled/taiga-ui-cdk-directives-autofilled.js +1 -1
  399. package/esm2015/directives/checked/checked.directive.js +25 -25
  400. package/esm2015/directives/checked/checked.module.js +14 -11
  401. package/esm2015/directives/checked/index.js +1 -1
  402. package/esm2015/directives/checked/taiga-ui-cdk-directives-checked.js +1 -1
  403. package/esm2015/directives/copy-processor/copy-processor.directive.js +21 -19
  404. package/esm2015/directives/copy-processor/copy-processor.module.js +14 -11
  405. package/esm2015/directives/copy-processor/index.js +1 -1
  406. package/esm2015/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.js +1 -1
  407. package/esm2015/directives/drag/drag.directive.js +26 -25
  408. package/esm2015/directives/drag/drag.module.js +14 -11
  409. package/esm2015/directives/drag/index.js +1 -1
  410. package/esm2015/directives/drag/taiga-ui-cdk-directives-drag.js +1 -1
  411. package/esm2015/directives/droppable/droppable.directive.js +31 -31
  412. package/esm2015/directives/droppable/droppable.module.js +14 -11
  413. package/esm2015/directives/droppable/index.js +1 -1
  414. package/esm2015/directives/droppable/taiga-ui-cdk-directives-droppable.js +1 -1
  415. package/esm2015/directives/element/element.directive.js +16 -15
  416. package/esm2015/directives/element/element.module.js +14 -11
  417. package/esm2015/directives/element/index.js +1 -1
  418. package/esm2015/directives/element/taiga-ui-cdk-directives-element.js +1 -1
  419. package/esm2015/directives/focus-trap/focus-trap.directive.js +45 -40
  420. package/esm2015/directives/focus-trap/focus-trap.module.js +14 -11
  421. package/esm2015/directives/focus-trap/index.js +1 -1
  422. package/esm2015/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.js +1 -1
  423. package/esm2015/directives/focus-visible/focus-visible.directive.js +18 -18
  424. package/esm2015/directives/focus-visible/focus-visible.module.js +14 -11
  425. package/esm2015/directives/focus-visible/index.js +1 -1
  426. package/esm2015/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.js +1 -1
  427. package/esm2015/directives/focusable/focusable.directive.js +18 -16
  428. package/esm2015/directives/focusable/focusable.module.js +14 -11
  429. package/esm2015/directives/focusable/index.js +1 -1
  430. package/esm2015/directives/focusable/taiga-ui-cdk-directives-focusable.js +1 -1
  431. package/esm2015/directives/focused/focused.directive.js +23 -22
  432. package/esm2015/directives/focused/focused.module.js +14 -11
  433. package/esm2015/directives/focused/index.js +1 -1
  434. package/esm2015/directives/focused/taiga-ui-cdk-directives-focused.js +1 -1
  435. package/esm2015/directives/for/for.directive.js +22 -24
  436. package/esm2015/directives/for/for.module.js +14 -11
  437. package/esm2015/directives/for/index.js +1 -1
  438. package/esm2015/directives/for/taiga-ui-cdk-directives-for.js +1 -1
  439. package/esm2015/directives/for-async/for-async.directive.js +21 -21
  440. package/esm2015/directives/for-async/for-async.module.js +14 -11
  441. package/esm2015/directives/for-async/index.js +1 -1
  442. package/esm2015/directives/for-async/taiga-ui-cdk-directives-for-async.js +1 -1
  443. package/esm2015/directives/high-dpi/high-dpi.directive.js +21 -19
  444. package/esm2015/directives/high-dpi/high-dpi.module.js +14 -11
  445. package/esm2015/directives/high-dpi/index.js +1 -1
  446. package/esm2015/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.js +1 -1
  447. package/esm2015/directives/hovered/hovered.directive.js +21 -40
  448. package/esm2015/directives/hovered/hovered.module.js +14 -11
  449. package/esm2015/directives/hovered/hovered.service.js +33 -0
  450. package/esm2015/directives/hovered/index.js +2 -1
  451. package/esm2015/directives/hovered/taiga-ui-cdk-directives-hovered.js +1 -1
  452. package/esm2015/directives/index.js +2 -1
  453. package/esm2015/directives/input-mode/index.js +1 -1
  454. package/esm2015/directives/input-mode/input-mode.directive.js +30 -24
  455. package/esm2015/directives/input-mode/input-mode.module.js +14 -11
  456. package/esm2015/directives/input-mode/taiga-ui-cdk-directives-input-mode.js +1 -1
  457. package/esm2015/directives/item/index.js +1 -1
  458. package/esm2015/directives/item/item.directive.js +13 -12
  459. package/esm2015/directives/item/item.module.js +14 -11
  460. package/esm2015/directives/item/taiga-ui-cdk-directives-item.js +1 -1
  461. package/esm2015/directives/let/index.js +1 -1
  462. package/esm2015/directives/let/let-context.js +1 -1
  463. package/esm2015/directives/let/let.directive.js +20 -19
  464. package/esm2015/directives/let/let.module.js +14 -11
  465. package/esm2015/directives/let/taiga-ui-cdk-directives-let.js +1 -1
  466. package/esm2015/directives/media/index.js +1 -1
  467. package/esm2015/directives/media/media.directive.js +63 -56
  468. package/esm2015/directives/media/media.module.js +14 -11
  469. package/esm2015/directives/media/taiga-ui-cdk-directives-media.js +1 -1
  470. package/esm2015/directives/obscured/index.js +1 -1
  471. package/esm2015/directives/obscured/obscured.directive.js +30 -23
  472. package/esm2015/directives/obscured/obscured.module.js +14 -11
  473. package/esm2015/directives/obscured/taiga-ui-cdk-directives-obscured.js +1 -1
  474. package/esm2015/directives/overscroll/index.js +1 -1
  475. package/esm2015/directives/overscroll/overscroll.directive.js +41 -40
  476. package/esm2015/directives/overscroll/overscroll.module.js +14 -11
  477. package/esm2015/directives/overscroll/taiga-ui-cdk-directives-overscroll.js +1 -1
  478. package/esm2015/directives/pan/index.js +1 -1
  479. package/esm2015/directives/pan/pan.directive.js +18 -18
  480. package/esm2015/directives/pan/pan.module.js +14 -11
  481. package/esm2015/directives/pan/taiga-ui-cdk-directives-pan.js +1 -1
  482. package/esm2015/directives/portal/index.js +1 -1
  483. package/esm2015/directives/portal/portal.directive.js +23 -21
  484. package/esm2015/directives/portal/portal.module.js +14 -11
  485. package/esm2015/directives/portal/taiga-ui-cdk-directives-portal.js +1 -1
  486. package/esm2015/directives/pressed/index.js +1 -1
  487. package/esm2015/directives/pressed/pressed.directive.js +22 -21
  488. package/esm2015/directives/pressed/pressed.module.js +14 -11
  489. package/esm2015/directives/pressed/taiga-ui-cdk-directives-pressed.js +1 -1
  490. package/esm2015/directives/prevent-default/index.js +1 -1
  491. package/esm2015/directives/prevent-default/prevent-default.directive.js +29 -25
  492. package/esm2015/directives/prevent-default/prevent-default.module.js +14 -11
  493. package/esm2015/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.js +1 -1
  494. package/esm2015/directives/repeat-times/index.js +1 -1
  495. package/esm2015/directives/repeat-times/repeat-times.directive.js +23 -19
  496. package/esm2015/directives/repeat-times/repeat-times.module.js +14 -11
  497. package/esm2015/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.js +1 -1
  498. package/esm2015/directives/resize/index.js +1 -1
  499. package/esm2015/directives/resize/resize.directive.js +18 -18
  500. package/esm2015/directives/resize/resize.module.js +14 -11
  501. package/esm2015/directives/resize/taiga-ui-cdk-directives-resize.js +1 -1
  502. package/esm2015/directives/swipe/index.js +1 -1
  503. package/esm2015/directives/swipe/swipe.directive.js +18 -18
  504. package/esm2015/directives/swipe/swipe.module.js +14 -11
  505. package/esm2015/directives/swipe/taiga-ui-cdk-directives-swipe.js +1 -1
  506. package/esm2015/directives/taiga-ui-cdk-directives.js +1 -1
  507. package/esm2015/directives/validator/index.js +1 -1
  508. package/esm2015/directives/validator/taiga-ui-cdk-directives-validator.js +1 -1
  509. package/esm2015/directives/validator/validator.directive.js +27 -18
  510. package/esm2015/directives/validator/validator.module.js +14 -11
  511. package/esm2015/directives/zoom/index.js +1 -1
  512. package/esm2015/directives/zoom/taiga-ui-cdk-directives-zoom.js +1 -1
  513. package/esm2015/directives/zoom/zoom.directive.js +21 -21
  514. package/esm2015/directives/zoom/zoom.module.js +14 -11
  515. package/esm2015/enums/autocomplete.js +1 -11
  516. package/esm2015/enums/day-of-week.js +1 -1
  517. package/esm2015/enums/index.js +1 -4
  518. package/esm2015/enums/month-number.js +1 -1
  519. package/esm2015/enums/taiga-ui-cdk-enums.js +1 -1
  520. package/esm2015/exceptions/computed-document.exception.js +1 -1
  521. package/esm2015/exceptions/document-selection.exception.js +1 -1
  522. package/esm2015/exceptions/index.js +1 -1
  523. package/esm2015/exceptions/invalid-day.exception.js +2 -9
  524. package/esm2015/exceptions/invalid-month.exception.js +2 -9
  525. package/esm2015/exceptions/invalid-year.exception.js +2 -9
  526. package/esm2015/exceptions/no-host.exception.js +1 -1
  527. package/esm2015/exceptions/owner-document.exception.js +1 -1
  528. package/esm2015/exceptions/pure.exception.js +1 -1
  529. package/esm2015/exceptions/table-sort-key.exception.js +1 -1
  530. package/esm2015/exceptions/taiga-ui-cdk-exceptions.js +1 -1
  531. package/esm2015/exceptions/ts-parser.exception.js +1 -1
  532. package/esm2015/exceptions/value-changes.exception.js +1 -1
  533. package/esm2015/exceptions/value-present.exception.js +1 -1
  534. package/esm2015/exceptions/xml-parsing.exception.js +1 -1
  535. package/esm2015/index.js +3 -1
  536. package/esm2015/interfaces/alert-context.js +2 -1
  537. package/esm2015/interfaces/aria-dialog-context.js +2 -1
  538. package/esm2015/interfaces/base-dialog-context.js +2 -1
  539. package/esm2015/interfaces/base-dialog.js +2 -1
  540. package/esm2015/interfaces/context-with-implicit.js +2 -1
  541. package/esm2015/interfaces/control-value-transformer.js +2 -1
  542. package/esm2015/interfaces/day-like.js +2 -1
  543. package/esm2015/interfaces/focusable-element-accessor.js +2 -1
  544. package/esm2015/interfaces/index.js +14 -1
  545. package/esm2015/interfaces/month-like.js +2 -1
  546. package/esm2015/interfaces/swipe.js +2 -1
  547. package/esm2015/interfaces/taiga-ui-cdk-interfaces.js +2 -1
  548. package/esm2015/interfaces/time-like.js +2 -1
  549. package/esm2015/interfaces/year-like.js +2 -1
  550. package/esm2015/interfaces/zoom.js +2 -1
  551. package/esm2015/observables/drag-and-drop-from.js +6 -11
  552. package/esm2015/observables/focus-visible-observable.js +9 -14
  553. package/esm2015/observables/index.js +1 -1
  554. package/esm2015/observables/is-alive.js +1 -1
  555. package/esm2015/observables/items-query-list-observable.js +4 -7
  556. package/esm2015/observables/mouse-drag-finish-from.js +4 -7
  557. package/esm2015/observables/must-be-present.js +4 -9
  558. package/esm2015/observables/pressed-observable.js +5 -10
  559. package/esm2015/observables/prevent-default.js +2 -7
  560. package/esm2015/observables/replay-control-value-changes.js +2 -3
  561. package/esm2015/observables/stop-propagation.js +2 -7
  562. package/esm2015/observables/taiga-ui-cdk-observables.js +1 -1
  563. package/esm2015/observables/typed-from-event.js +2 -7
  564. package/esm2015/observables/watch.js +2 -7
  565. package/esm2015/observables/zone-free.js +1 -1
  566. package/esm2015/pipes/filter/filter.module.js +14 -11
  567. package/esm2015/pipes/filter/filter.pipe.js +10 -8
  568. package/esm2015/pipes/filter/index.js +1 -1
  569. package/esm2015/pipes/filter/taiga-ui-cdk-pipes-filter.js +1 -1
  570. package/esm2015/pipes/index.js +1 -1
  571. package/esm2015/pipes/keys/index.js +1 -1
  572. package/esm2015/pipes/keys/keys.module.js +14 -11
  573. package/esm2015/pipes/keys/keys.pipe.js +10 -8
  574. package/esm2015/pipes/keys/taiga-ui-cdk-pipes-keys.js +1 -1
  575. package/esm2015/pipes/mapper/index.js +1 -1
  576. package/esm2015/pipes/mapper/mapper.module.js +14 -11
  577. package/esm2015/pipes/mapper/mapper.pipe.js +10 -8
  578. package/esm2015/pipes/mapper/taiga-ui-cdk-pipes-mapper.js +1 -1
  579. package/esm2015/pipes/taiga-ui-cdk-pipes.js +1 -1
  580. package/esm2015/services/destroy.service.js +9 -8
  581. package/esm2015/services/directive-styles.service.js +19 -42
  582. package/esm2015/services/focus-visible.service.js +21 -19
  583. package/esm2015/services/id.service.js +12 -13
  584. package/esm2015/services/index.js +1 -2
  585. package/esm2015/services/obscured.service.js +33 -27
  586. package/esm2015/services/pan.service.js +20 -22
  587. package/esm2015/services/parents-scroll.service.js +17 -18
  588. package/esm2015/services/resize.service.js +28 -24
  589. package/esm2015/services/scroll.service.js +22 -23
  590. package/esm2015/services/static-request.service.js +11 -11
  591. package/esm2015/services/swipe.service.js +23 -24
  592. package/esm2015/services/taiga-ui-cdk-services.js +1 -1
  593. package/esm2015/services/zoom.service.js +22 -22
  594. package/esm2015/taiga-ui-cdk.js +1 -1
  595. package/esm2015/tokens/active-element.js +16 -16
  596. package/esm2015/tokens/alerts.js +8 -1
  597. package/esm2015/tokens/default-renderer.js +1 -1
  598. package/esm2015/tokens/dialogs.js +8 -1
  599. package/esm2015/tokens/focusable-item-accessor.js +7 -1
  600. package/esm2015/tokens/index.js +2 -2
  601. package/esm2015/tokens/is-android.js +1 -1
  602. package/esm2015/tokens/is-apple.js +3 -3
  603. package/esm2015/tokens/is-chromium.js +1 -1
  604. package/esm2015/tokens/is-cypress.js +1 -1
  605. package/esm2015/tokens/is-firefox.js +1 -1
  606. package/esm2015/tokens/is-ios.js +3 -3
  607. package/esm2015/tokens/is-mobile.js +1 -1
  608. package/esm2015/tokens/is-webkit.js +1 -1
  609. package/esm2015/tokens/range.js +8 -0
  610. package/esm2015/tokens/removed-element.js +2 -3
  611. package/esm2015/tokens/swipe-options.js +1 -1
  612. package/esm2015/tokens/taiga-ui-cdk-tokens.js +1 -1
  613. package/esm2015/tokens/take-only-trusted-events.js +1 -1
  614. package/esm2015/tokens/touch-supported.js +1 -1
  615. package/esm2015/tokens/window-height.js +3 -3
  616. package/esm2015/tokens/zoom-options.js +1 -1
  617. package/esm2015/types/date-mode.js +2 -1
  618. package/esm2015/types/dialog.js +2 -1
  619. package/esm2015/types/event-with.js +2 -1
  620. package/esm2015/types/handler.js +2 -1
  621. package/esm2015/types/index.js +11 -1
  622. package/esm2015/types/input-mode.js +2 -1
  623. package/esm2015/types/input-type.js +2 -1
  624. package/esm2015/types/mapper.js +2 -1
  625. package/esm2015/types/matcher.js +2 -1
  626. package/esm2015/types/overscroll-mode.js +2 -1
  627. package/esm2015/types/taiga-ui-cdk-types.js +2 -1
  628. package/esm2015/types/time-mode.js +2 -1
  629. package/esm2015/utils/browser/index.js +1 -2
  630. package/esm2015/utils/browser/is-edge-older-than.js +2 -7
  631. package/esm2015/utils/browser/is-edge.js +2 -7
  632. package/esm2015/utils/browser/is-firefox.js +2 -7
  633. package/esm2015/utils/browser/is-safari.js +2 -7
  634. package/esm2015/utils/browser/taiga-ui-cdk-utils-browser.js +1 -1
  635. package/esm2015/utils/color/hex-to-rgb.js +12 -0
  636. package/esm2015/utils/color/hsv-to-rgb.js +11 -0
  637. package/esm2015/utils/color/index.js +6 -0
  638. package/esm2015/utils/color/parse-color.js +27 -0
  639. package/esm2015/utils/color/rgb-to-hex.js +4 -0
  640. package/esm2015/utils/color/rgb-to-hsv.js +7 -0
  641. package/{esm5/directives/for/taiga-ui-cdk-directives-for.js → esm2015/utils/color/taiga-ui-cdk-utils-color.js} +1 -1
  642. package/esm2015/utils/dom/can-scroll.js +2 -7
  643. package/esm2015/utils/dom/contains-or-after.js +2 -7
  644. package/esm2015/utils/dom/element-checks.js +21 -0
  645. package/esm2015/utils/dom/get-actual-target.js +2 -5
  646. package/esm2015/utils/dom/get-clipboard-data-text.js +2 -5
  647. package/esm2015/utils/dom/get-document-or-shadow-root.js +2 -7
  648. package/esm2015/utils/dom/get-element-obscurers.js +14 -17
  649. package/esm2015/utils/dom/get-element-offset.js +4 -7
  650. package/esm2015/utils/dom/get-scroll-parent.js +3 -6
  651. package/esm2015/utils/dom/get-selected-text.js +3 -3
  652. package/esm2015/utils/dom/index.js +3 -5
  653. package/esm2015/utils/dom/is-current-target.js +2 -7
  654. package/esm2015/utils/dom/is-element-editable.js +5 -0
  655. package/esm2015/utils/dom/is-inside-iframe.js +2 -5
  656. package/esm2015/utils/dom/is-node-in.js +7 -10
  657. package/esm2015/utils/dom/point-to-client-rect.js +1 -1
  658. package/esm2015/utils/dom/taiga-ui-cdk-utils-dom.js +1 -1
  659. package/esm2015/utils/focus/blur-native-focused.js +7 -11
  660. package/esm2015/utils/focus/get-closest-focusable.js +26 -0
  661. package/esm2015/utils/focus/get-native-focused.js +4 -6
  662. package/esm2015/utils/focus/index.js +2 -3
  663. package/esm2015/utils/focus/is-native-focused-in.js +4 -7
  664. package/esm2015/utils/focus/is-native-focused.js +4 -7
  665. package/esm2015/utils/focus/is-native-keyboard-focusable.js +4 -7
  666. package/esm2015/utils/focus/is-native-mouse-focusable.js +5 -9
  667. package/esm2015/utils/focus/move-focus.js +5 -9
  668. package/esm2015/utils/focus/set-native-mouse-focused.js +8 -7
  669. package/esm2015/utils/focus/taiga-ui-cdk-utils-focus.js +1 -1
  670. package/esm2015/utils/format/index.js +1 -2
  671. package/esm2015/utils/format/px.js +2 -5
  672. package/esm2015/utils/format/taiga-ui-cdk-utils-format.js +1 -1
  673. package/esm2015/utils/index.js +2 -1
  674. package/esm2015/utils/math/clamp.js +2 -5
  675. package/esm2015/utils/math/in-range.js +2 -12
  676. package/esm2015/utils/math/index.js +1 -1
  677. package/esm2015/utils/math/normalize-to-int-number.js +2 -5
  678. package/esm2015/utils/math/quantize.js +2 -5
  679. package/esm2015/utils/math/round.js +4 -19
  680. package/esm2015/utils/math/sum.js +2 -5
  681. package/esm2015/utils/math/taiga-ui-cdk-utils-math.js +1 -1
  682. package/esm2015/utils/math/to-int.js +2 -7
  683. package/esm2015/utils/math/to-radians.js +2 -5
  684. package/esm2015/utils/miscellaneous/array-remove.js +4 -0
  685. package/esm2015/utils/miscellaneous/array-toggle.js +6 -0
  686. package/esm2015/utils/miscellaneous/distance-between-touches.js +2 -7
  687. package/esm2015/utils/miscellaneous/ease-in-out-quad.js +2 -7
  688. package/esm2015/utils/miscellaneous/flat-length.js +2 -5
  689. package/esm2015/utils/miscellaneous/get-original-array-from-query-list.js +2 -5
  690. package/esm2015/utils/miscellaneous/get-swipe-direction.js +2 -7
  691. package/esm2015/utils/miscellaneous/index.js +4 -4
  692. package/esm2015/utils/miscellaneous/is-number.js +2 -7
  693. package/esm2015/utils/miscellaneous/is-present.js +2 -7
  694. package/esm2015/utils/miscellaneous/is-string.js +4 -0
  695. package/esm2015/utils/miscellaneous/mark-control-as-touched-and-validate.js +4 -9
  696. package/esm2015/utils/miscellaneous/nullable-same.js +2 -5
  697. package/esm2015/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.js +1 -1
  698. package/esm2015/utils/miscellaneous/uniq-by.js +2 -7
  699. package/esm2015/utils/os/index.js +1 -1
  700. package/esm2015/utils/os/is-apple-platform.js +2 -5
  701. package/esm2015/utils/os/is-apple.js +4 -9
  702. package/esm2015/utils/os/is-ios.js +4 -9
  703. package/esm2015/utils/os/taiga-ui-cdk-utils-os.js +1 -1
  704. package/esm2015/utils/svg/index.js +1 -1
  705. package/esm2015/utils/svg/svg-linear-gradient-processor.js +2 -5
  706. package/esm2015/utils/svg/taiga-ui-cdk-utils-svg.js +1 -1
  707. package/esm2015/utils/taiga-ui-cdk-utils.js +1 -1
  708. package/exceptions/invalid-day.exception.d.ts +1 -7
  709. package/exceptions/invalid-month.exception.d.ts +1 -7
  710. package/exceptions/invalid-year.exception.d.ts +1 -7
  711. package/exceptions/package.json +2 -5
  712. package/exceptions/taiga-ui-cdk-exceptions.d.ts +1 -0
  713. package/fesm2015/taiga-ui-cdk-abstract.js +164 -184
  714. package/fesm2015/taiga-ui-cdk-abstract.js.map +1 -1
  715. package/fesm2015/taiga-ui-cdk-classes.js +1 -10
  716. package/fesm2015/taiga-ui-cdk-classes.js.map +1 -1
  717. package/fesm2015/taiga-ui-cdk-coercion.js.map +1 -1
  718. package/fesm2015/taiga-ui-cdk-components-alert-host.js +38 -29
  719. package/fesm2015/taiga-ui-cdk-components-alert-host.js.map +1 -1
  720. package/fesm2015/taiga-ui-cdk-components-dialog-host.js +62 -39
  721. package/fesm2015/taiga-ui-cdk-components-dialog-host.js.map +1 -1
  722. package/fesm2015/taiga-ui-cdk-components-dropdown-host.js +53 -27
  723. package/fesm2015/taiga-ui-cdk-components-dropdown-host.js.map +1 -1
  724. package/fesm2015/taiga-ui-cdk-components.js +0 -1
  725. package/fesm2015/taiga-ui-cdk-components.js.map +1 -1
  726. package/fesm2015/taiga-ui-cdk-constants.js +6 -4
  727. package/fesm2015/taiga-ui-cdk-constants.js.map +1 -1
  728. package/fesm2015/taiga-ui-cdk-date-time.js +29 -170
  729. package/fesm2015/taiga-ui-cdk-date-time.js.map +1 -1
  730. package/fesm2015/taiga-ui-cdk-decorators.js.map +1 -1
  731. package/fesm2015/taiga-ui-cdk-directives-active-zone.js +50 -41
  732. package/fesm2015/taiga-ui-cdk-directives-active-zone.js.map +1 -1
  733. package/fesm2015/taiga-ui-cdk-directives-auto-focus.js +98 -87
  734. package/fesm2015/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
  735. package/fesm2015/taiga-ui-cdk-directives-autofilled.js +50 -41
  736. package/fesm2015/taiga-ui-cdk-directives-autofilled.js.map +1 -1
  737. package/fesm2015/taiga-ui-cdk-directives-checked.js +37 -32
  738. package/fesm2015/taiga-ui-cdk-directives-checked.js.map +1 -1
  739. package/fesm2015/taiga-ui-cdk-directives-copy-processor.js +33 -26
  740. package/fesm2015/taiga-ui-cdk-directives-copy-processor.js.map +1 -1
  741. package/fesm2015/taiga-ui-cdk-directives-drag.js +38 -32
  742. package/fesm2015/taiga-ui-cdk-directives-drag.js.map +1 -1
  743. package/fesm2015/taiga-ui-cdk-directives-droppable.js +43 -38
  744. package/fesm2015/taiga-ui-cdk-directives-droppable.js.map +1 -1
  745. package/fesm2015/taiga-ui-cdk-directives-element.js +28 -22
  746. package/fesm2015/taiga-ui-cdk-directives-element.js.map +1 -1
  747. package/fesm2015/taiga-ui-cdk-directives-focus-trap.js +56 -46
  748. package/fesm2015/taiga-ui-cdk-directives-focus-trap.js.map +1 -1
  749. package/fesm2015/taiga-ui-cdk-directives-focus-visible.js +30 -25
  750. package/fesm2015/taiga-ui-cdk-directives-focus-visible.js.map +1 -1
  751. package/fesm2015/taiga-ui-cdk-directives-focusable.js +30 -23
  752. package/fesm2015/taiga-ui-cdk-directives-focusable.js.map +1 -1
  753. package/fesm2015/taiga-ui-cdk-directives-focused.js +35 -29
  754. package/fesm2015/taiga-ui-cdk-directives-focused.js.map +1 -1
  755. package/fesm2015/taiga-ui-cdk-directives-for-async.js +32 -27
  756. package/fesm2015/taiga-ui-cdk-directives-for-async.js.map +1 -1
  757. package/fesm2015/taiga-ui-cdk-directives-for.js +33 -30
  758. package/fesm2015/taiga-ui-cdk-directives-for.js.map +1 -1
  759. package/fesm2015/taiga-ui-cdk-directives-high-dpi.js +33 -26
  760. package/fesm2015/taiga-ui-cdk-directives-high-dpi.js.map +1 -1
  761. package/fesm2015/taiga-ui-cdk-directives-hovered.js +61 -45
  762. package/fesm2015/taiga-ui-cdk-directives-hovered.js.map +1 -1
  763. package/fesm2015/taiga-ui-cdk-directives-input-mode.js +42 -31
  764. package/fesm2015/taiga-ui-cdk-directives-input-mode.js.map +1 -1
  765. package/fesm2015/taiga-ui-cdk-directives-item.js +24 -18
  766. package/fesm2015/taiga-ui-cdk-directives-item.js.map +1 -1
  767. package/fesm2015/taiga-ui-cdk-directives-let.js +32 -26
  768. package/fesm2015/taiga-ui-cdk-directives-let.js.map +1 -1
  769. package/fesm2015/taiga-ui-cdk-directives-media.js +76 -64
  770. package/fesm2015/taiga-ui-cdk-directives-media.js.map +1 -1
  771. package/fesm2015/taiga-ui-cdk-directives-obscured.js +42 -30
  772. package/fesm2015/taiga-ui-cdk-directives-obscured.js.map +1 -1
  773. package/fesm2015/taiga-ui-cdk-directives-overscroll.js +53 -47
  774. package/fesm2015/taiga-ui-cdk-directives-overscroll.js.map +1 -1
  775. package/fesm2015/taiga-ui-cdk-directives-pan.js +30 -25
  776. package/fesm2015/taiga-ui-cdk-directives-pan.js.map +1 -1
  777. package/fesm2015/taiga-ui-cdk-directives-portal.js +34 -27
  778. package/fesm2015/taiga-ui-cdk-directives-portal.js.map +1 -1
  779. package/fesm2015/taiga-ui-cdk-directives-pressed.js +34 -28
  780. package/fesm2015/taiga-ui-cdk-directives-pressed.js.map +1 -1
  781. package/fesm2015/taiga-ui-cdk-directives-prevent-default.js +41 -32
  782. package/fesm2015/taiga-ui-cdk-directives-prevent-default.js.map +1 -1
  783. package/fesm2015/taiga-ui-cdk-directives-repeat-times.js +35 -26
  784. package/fesm2015/taiga-ui-cdk-directives-repeat-times.js.map +1 -1
  785. package/fesm2015/taiga-ui-cdk-directives-resize.js +30 -25
  786. package/fesm2015/taiga-ui-cdk-directives-resize.js.map +1 -1
  787. package/fesm2015/taiga-ui-cdk-directives-swipe.js +30 -25
  788. package/fesm2015/taiga-ui-cdk-directives-swipe.js.map +1 -1
  789. package/fesm2015/taiga-ui-cdk-directives-validator.js +39 -25
  790. package/fesm2015/taiga-ui-cdk-directives-validator.js.map +1 -1
  791. package/fesm2015/taiga-ui-cdk-directives-zoom.js +33 -28
  792. package/fesm2015/taiga-ui-cdk-directives-zoom.js.map +1 -1
  793. package/fesm2015/taiga-ui-cdk-directives.js +1 -0
  794. package/fesm2015/taiga-ui-cdk-directives.js.map +1 -1
  795. package/fesm2015/taiga-ui-cdk-enums.js +1 -53
  796. package/fesm2015/taiga-ui-cdk-enums.js.map +1 -1
  797. package/fesm2015/taiga-ui-cdk-exceptions.js +4 -25
  798. package/fesm2015/taiga-ui-cdk-exceptions.js.map +1 -1
  799. package/fesm2015/taiga-ui-cdk-interfaces.js.map +1 -1
  800. package/fesm2015/taiga-ui-cdk-observables.js +24 -71
  801. package/fesm2015/taiga-ui-cdk-observables.js.map +1 -1
  802. package/fesm2015/taiga-ui-cdk-pipes-filter.js +21 -14
  803. package/fesm2015/taiga-ui-cdk-pipes-filter.js.map +1 -1
  804. package/fesm2015/taiga-ui-cdk-pipes-keys.js +21 -14
  805. package/fesm2015/taiga-ui-cdk-pipes-keys.js.map +1 -1
  806. package/fesm2015/taiga-ui-cdk-pipes-mapper.js +21 -14
  807. package/fesm2015/taiga-ui-cdk-pipes-mapper.js.map +1 -1
  808. package/fesm2015/taiga-ui-cdk-pipes.js.map +1 -1
  809. package/fesm2015/taiga-ui-cdk-services.js +213 -235
  810. package/fesm2015/taiga-ui-cdk-services.js.map +1 -1
  811. package/fesm2015/taiga-ui-cdk-tokens.js +47 -25
  812. package/fesm2015/taiga-ui-cdk-tokens.js.map +1 -1
  813. package/fesm2015/taiga-ui-cdk-types.js.map +1 -1
  814. package/fesm2015/taiga-ui-cdk-utils-browser.js +5 -34
  815. package/fesm2015/taiga-ui-cdk-utils-browser.js.map +1 -1
  816. package/fesm2015/taiga-ui-cdk-utils-color.js +67 -0
  817. package/fesm2015/taiga-ui-cdk-utils-color.js.map +1 -0
  818. package/fesm2015/taiga-ui-cdk-utils-dom.js +51 -111
  819. package/fesm2015/taiga-ui-cdk-utils-dom.js.map +1 -1
  820. package/fesm2015/taiga-ui-cdk-utils-focus.js +35 -89
  821. package/fesm2015/taiga-ui-cdk-utils-focus.js.map +1 -1
  822. package/fesm2015/taiga-ui-cdk-utils-format.js +2 -22
  823. package/fesm2015/taiga-ui-cdk-utils-format.js.map +1 -1
  824. package/fesm2015/taiga-ui-cdk-utils-math.js +11 -56
  825. package/fesm2015/taiga-ui-cdk-utils-math.js.map +1 -1
  826. package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js +25 -87
  827. package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js.map +1 -1
  828. package/fesm2015/taiga-ui-cdk-utils-os.js +6 -19
  829. package/fesm2015/taiga-ui-cdk-utils-os.js.map +1 -1
  830. package/fesm2015/taiga-ui-cdk-utils-svg.js +2 -5
  831. package/fesm2015/taiga-ui-cdk-utils-svg.js.map +1 -1
  832. package/fesm2015/taiga-ui-cdk-utils.js +1 -0
  833. package/fesm2015/taiga-ui-cdk-utils.js.map +1 -1
  834. package/fesm2015/taiga-ui-cdk.js +2 -0
  835. package/fesm2015/taiga-ui-cdk.js.map +1 -1
  836. package/interfaces/package.json +2 -5
  837. package/interfaces/taiga-ui-cdk-interfaces.d.ts +1 -0
  838. package/observables/drag-and-drop-from.d.ts +1 -5
  839. package/observables/focus-visible-observable.d.ts +1 -5
  840. package/observables/items-query-list-observable.d.ts +1 -3
  841. package/observables/mouse-drag-finish-from.d.ts +1 -3
  842. package/observables/must-be-present.d.ts +1 -5
  843. package/observables/package.json +2 -5
  844. package/observables/pressed-observable.d.ts +1 -5
  845. package/observables/prevent-default.d.ts +1 -5
  846. package/observables/replay-control-value-changes.d.ts +1 -2
  847. package/observables/stop-propagation.d.ts +1 -5
  848. package/observables/taiga-ui-cdk-observables.d.ts +1 -0
  849. package/observables/typed-from-event.d.ts +5 -21
  850. package/observables/watch.d.ts +1 -5
  851. package/package.json +10 -14
  852. package/pipes/filter/filter.module.d.ts +5 -0
  853. package/pipes/filter/filter.pipe.d.ts +3 -0
  854. package/pipes/filter/package.json +2 -5
  855. package/pipes/filter/taiga-ui-cdk-pipes-filter.d.ts +1 -0
  856. package/pipes/keys/keys.module.d.ts +5 -0
  857. package/pipes/keys/keys.pipe.d.ts +3 -0
  858. package/pipes/keys/package.json +2 -5
  859. package/pipes/keys/taiga-ui-cdk-pipes-keys.d.ts +1 -0
  860. package/pipes/mapper/mapper.module.d.ts +5 -0
  861. package/pipes/mapper/mapper.pipe.d.ts +3 -0
  862. package/pipes/mapper/package.json +2 -5
  863. package/pipes/mapper/taiga-ui-cdk-pipes-mapper.d.ts +1 -0
  864. package/pipes/package.json +2 -5
  865. package/pipes/taiga-ui-cdk-pipes.d.ts +1 -0
  866. package/schematics/constants/file-globs.js +3 -2
  867. package/schematics/constants/taiga-styles.d.ts +5 -0
  868. package/schematics/constants/taiga-styles.js +8 -0
  869. package/schematics/ng-add/constants/modules.js +1 -0
  870. package/schematics/ng-add/constants/packages.js +1 -0
  871. package/schematics/ng-add/constants/versions.js +1 -0
  872. package/schematics/ng-add/index.js +7 -0
  873. package/schematics/ng-add/schema.d.ts +8 -0
  874. package/schematics/ng-add/schema.json +9 -0
  875. package/schematics/ng-add/steps/add-taiga-icons.d.ts +1 -1
  876. package/schematics/ng-add/steps/add-taiga-icons.js +9 -6
  877. package/schematics/ng-add/steps/add-taiga-modules.js +5 -0
  878. package/schematics/ng-add/steps/add-taiga-styles.d.ts +0 -1
  879. package/schematics/ng-add/steps/add-taiga-styles.js +9 -19
  880. package/schematics/ng-add/steps/wrap-with-tui-root.js +4 -0
  881. package/schematics/ng-update/constants/breakpoints.d.ts +82 -0
  882. package/schematics/ng-update/constants/breakpoints.js +34 -0
  883. package/schematics/ng-update/constants/consts.d.ts +1 -1
  884. package/schematics/ng-update/constants/consts.js +171 -0
  885. package/schematics/ng-update/constants/deprecated-functions.js +2 -36
  886. package/schematics/ng-update/constants/enums.js +12 -0
  887. package/schematics/ng-update/constants/modules.js +1 -0
  888. package/schematics/ng-update/constants/services.js +2 -1
  889. package/schematics/ng-update/constants/templates.d.ts +12 -0
  890. package/schematics/ng-update/constants/templates.js +344 -20
  891. package/schematics/ng-update/constants/tui-interactive-selectors.js +1 -0
  892. package/schematics/ng-update/constants/types.js +1 -0
  893. package/schematics/ng-update/constants/warnings.js +11 -0
  894. package/schematics/ng-update/index.d.ts +2 -11
  895. package/schematics/ng-update/index.js +35 -8
  896. package/schematics/ng-update/steps/migrate-date-time.js +1 -0
  897. package/schematics/ng-update/steps/migrate-polymorpheus.d.ts +8 -0
  898. package/schematics/ng-update/steps/migrate-polymorpheus.js +73 -0
  899. package/schematics/ng-update/steps/migrate-progress.js +1 -0
  900. package/schematics/ng-update/steps/migrate-sliders/index.js +1 -0
  901. package/schematics/ng-update/steps/migrate-sliders/migrate-input-range.js +1 -0
  902. package/schematics/ng-update/steps/migrate-sliders/migrate-input-slider.js +1 -0
  903. package/schematics/ng-update/steps/migrate-taiga-proprietary-icons.d.ts +3 -0
  904. package/schematics/ng-update/steps/migrate-taiga-proprietary-icons.js +51 -0
  905. package/schematics/ng-update/steps/migrate-templates.js +74 -17
  906. package/schematics/ng-update/steps/miscellaneous.js +11 -0
  907. package/schematics/ng-update/steps/remove-module.js +1 -0
  908. package/schematics/ng-update/steps/rename-types.js +1 -0
  909. package/schematics/ng-update/steps/replace-const.js +1 -0
  910. package/schematics/ng-update/steps/replace-deep-import.js +1 -0
  911. package/schematics/ng-update/steps/replace-enums.js +1 -0
  912. package/schematics/ng-update/steps/replace-functions.js +37 -0
  913. package/schematics/ng-update/steps/replace-services.js +1 -0
  914. package/schematics/ng-update/steps/replace-styles.d.ts +1 -0
  915. package/schematics/ng-update/steps/replace-styles.js +18 -0
  916. package/schematics/ng-update/steps/show-warnings.js +7 -3
  917. package/schematics/utils/add-import-to-closest-module.d.ts +1 -0
  918. package/schematics/utils/add-import-to-closest-module.js +18 -0
  919. package/schematics/utils/add-styles.d.ts +7 -0
  920. package/schematics/utils/add-styles.js +26 -0
  921. package/schematics/utils/add-unique-import.js +1 -0
  922. package/schematics/utils/angular/ng-component.js +1 -0
  923. package/schematics/utils/angular/ng-module.js +1 -0
  924. package/schematics/utils/colored-log.d.ts +1 -0
  925. package/schematics/utils/colored-log.js +5 -0
  926. package/schematics/utils/create-angular-json.d.ts +3 -0
  927. package/schematics/utils/create-angular-json.js +29 -0
  928. package/schematics/utils/get-execution-time.js +1 -0
  929. package/schematics/utils/get-named-import-references.js +7 -3
  930. package/schematics/utils/get-project-target-options.js +1 -0
  931. package/schematics/utils/get-project.d.ts +1 -1
  932. package/schematics/utils/get-project.js +1 -4
  933. package/schematics/utils/import-manipulations.js +1 -0
  934. package/schematics/utils/insert-todo.d.ts +1 -0
  935. package/schematics/utils/insert-todo.js +3 -1
  936. package/schematics/utils/progress.js +1 -0
  937. package/schematics/utils/replace-tag.d.ts +3 -0
  938. package/schematics/utils/replace-tag.js +17 -0
  939. package/schematics/utils/templates/elements.d.ts +3 -2
  940. package/schematics/utils/templates/elements.js +13 -7
  941. package/schematics/utils/templates/get-component-templates.js +1 -0
  942. package/schematics/utils/templates/ng-component-input-manipulations.d.ts +1 -1
  943. package/schematics/utils/templates/ng-component-input-manipulations.js +3 -12
  944. package/schematics/utils/templates/template-resource.js +1 -0
  945. package/services/destroy.service.d.ts +3 -0
  946. package/services/directive-styles.service.d.ts +5 -9
  947. package/services/focus-visible.service.d.ts +3 -1
  948. package/services/id.service.d.ts +3 -0
  949. package/services/index.d.ts +0 -1
  950. package/services/obscured.service.d.ts +3 -0
  951. package/services/package.json +2 -5
  952. package/services/pan.service.d.ts +3 -3
  953. package/services/parents-scroll.service.d.ts +3 -0
  954. package/services/resize.service.d.ts +4 -2
  955. package/services/scroll.service.d.ts +3 -0
  956. package/services/static-request.service.d.ts +3 -0
  957. package/services/swipe.service.d.ts +3 -3
  958. package/services/taiga-ui-cdk-services.d.ts +1 -0
  959. package/services/zoom.service.d.ts +3 -0
  960. package/taiga-ui-cdk.d.ts +1 -0
  961. package/tokens/alerts.d.ts +2 -1
  962. package/tokens/dialogs.d.ts +2 -1
  963. package/tokens/focusable-item-accessor.d.ts +2 -1
  964. package/tokens/index.d.ts +1 -1
  965. package/tokens/is-cypress.d.ts +0 -3
  966. package/tokens/package.json +2 -5
  967. package/tokens/range.d.ts +2 -0
  968. package/tokens/taiga-ui-cdk-tokens.d.ts +1 -0
  969. package/types/input-mode.d.ts +1 -1
  970. package/types/input-type.d.ts +1 -1
  971. package/types/overscroll-mode.d.ts +1 -1
  972. package/types/package.json +2 -5
  973. package/types/taiga-ui-cdk-types.d.ts +1 -0
  974. package/utils/browser/index.d.ts +0 -1
  975. package/utils/browser/is-edge-older-than.d.ts +1 -5
  976. package/utils/browser/is-edge.d.ts +1 -5
  977. package/utils/browser/is-firefox.d.ts +1 -5
  978. package/utils/browser/is-safari.d.ts +1 -5
  979. package/utils/browser/package.json +2 -5
  980. package/utils/browser/taiga-ui-cdk-utils-browser.d.ts +1 -0
  981. package/utils/color/hex-to-rgb.d.ts +1 -0
  982. package/utils/color/hsv-to-rgb.d.ts +4 -0
  983. package/utils/color/index.d.ts +5 -0
  984. package/utils/color/package.json +10 -0
  985. package/utils/color/parse-color.d.ts +1 -0
  986. package/utils/color/rgb-to-hex.d.ts +1 -0
  987. package/utils/color/rgb-to-hsv.d.ts +1 -0
  988. package/{components/portal-host/taiga-ui-cdk-components-portal-host.d.ts → utils/color/taiga-ui-cdk-utils-color.d.ts} +1 -0
  989. package/utils/dom/can-scroll.d.ts +1 -5
  990. package/utils/dom/contains-or-after.d.ts +1 -5
  991. package/utils/dom/element-checks.d.ts +6 -0
  992. package/utils/dom/get-actual-target.d.ts +1 -3
  993. package/utils/dom/get-clipboard-data-text.d.ts +1 -3
  994. package/utils/dom/get-document-or-shadow-root.d.ts +1 -5
  995. package/utils/dom/get-element-obscurers.d.ts +1 -3
  996. package/utils/dom/get-element-offset.d.ts +1 -3
  997. package/utils/dom/get-scroll-parent.d.ts +1 -3
  998. package/utils/dom/index.d.ts +2 -4
  999. package/utils/dom/is-current-target.d.ts +1 -5
  1000. package/utils/dom/is-element-editable.d.ts +1 -0
  1001. package/utils/dom/is-inside-iframe.d.ts +1 -3
  1002. package/utils/dom/is-node-in.d.ts +1 -3
  1003. package/utils/dom/package.json +2 -5
  1004. package/utils/dom/taiga-ui-cdk-utils-dom.d.ts +1 -0
  1005. package/utils/focus/blur-native-focused.d.ts +1 -3
  1006. package/utils/focus/get-closest-focusable.d.ts +27 -0
  1007. package/utils/focus/get-native-focused.d.ts +1 -3
  1008. package/utils/focus/index.d.ts +1 -2
  1009. package/utils/focus/is-native-focused-in.d.ts +1 -3
  1010. package/utils/focus/is-native-focused.d.ts +1 -3
  1011. package/utils/focus/is-native-keyboard-focusable.d.ts +1 -3
  1012. package/utils/focus/is-native-mouse-focusable.d.ts +1 -5
  1013. package/utils/focus/move-focus.d.ts +1 -3
  1014. package/utils/focus/package.json +2 -5
  1015. package/utils/focus/set-native-mouse-focused.d.ts +1 -3
  1016. package/utils/focus/taiga-ui-cdk-utils-focus.d.ts +1 -0
  1017. package/utils/format/index.d.ts +0 -1
  1018. package/utils/format/package.json +2 -5
  1019. package/utils/format/px.d.ts +1 -3
  1020. package/utils/format/taiga-ui-cdk-utils-format.d.ts +1 -0
  1021. package/utils/index.d.ts +1 -0
  1022. package/utils/math/clamp.d.ts +1 -3
  1023. package/utils/math/in-range.d.ts +1 -10
  1024. package/utils/math/normalize-to-int-number.d.ts +1 -3
  1025. package/utils/math/package.json +2 -5
  1026. package/utils/math/quantize.d.ts +1 -3
  1027. package/utils/math/round.d.ts +3 -15
  1028. package/utils/math/sum.d.ts +1 -3
  1029. package/utils/math/taiga-ui-cdk-utils-math.d.ts +1 -0
  1030. package/utils/math/to-int.d.ts +1 -5
  1031. package/utils/math/to-radians.d.ts +1 -3
  1032. package/utils/miscellaneous/array-remove.d.ts +1 -0
  1033. package/utils/miscellaneous/array-toggle.d.ts +1 -0
  1034. package/utils/miscellaneous/distance-between-touches.d.ts +1 -5
  1035. package/utils/miscellaneous/ease-in-out-quad.d.ts +1 -5
  1036. package/utils/miscellaneous/flat-length.d.ts +1 -3
  1037. package/utils/miscellaneous/get-original-array-from-query-list.d.ts +1 -3
  1038. package/utils/miscellaneous/get-swipe-direction.d.ts +1 -5
  1039. package/utils/miscellaneous/index.d.ts +3 -3
  1040. package/utils/miscellaneous/is-number.d.ts +1 -5
  1041. package/utils/miscellaneous/is-present.d.ts +1 -5
  1042. package/utils/miscellaneous/is-string.d.ts +1 -0
  1043. package/utils/miscellaneous/mark-control-as-touched-and-validate.d.ts +1 -5
  1044. package/utils/miscellaneous/nullable-same.d.ts +1 -3
  1045. package/utils/miscellaneous/package.json +2 -5
  1046. package/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.d.ts +1 -0
  1047. package/utils/miscellaneous/uniq-by.d.ts +1 -5
  1048. package/utils/os/is-apple-platform.d.ts +1 -3
  1049. package/utils/os/is-apple.d.ts +1 -5
  1050. package/utils/os/is-ios.d.ts +1 -5
  1051. package/utils/os/package.json +2 -5
  1052. package/utils/os/taiga-ui-cdk-utils-os.d.ts +1 -0
  1053. package/utils/package.json +2 -5
  1054. package/utils/svg/package.json +2 -5
  1055. package/utils/svg/svg-linear-gradient-processor.d.ts +1 -3
  1056. package/utils/svg/taiga-ui-cdk-utils-svg.d.ts +1 -0
  1057. package/utils/taiga-ui-cdk-utils.d.ts +1 -0
  1058. package/abstract/taiga-ui-cdk-abstract.metadata.json +0 -1
  1059. package/bundles/taiga-ui-cdk-abstract.umd.min.js +0 -2
  1060. package/bundles/taiga-ui-cdk-abstract.umd.min.js.map +0 -1
  1061. package/bundles/taiga-ui-cdk-classes.umd.min.js +0 -2
  1062. package/bundles/taiga-ui-cdk-classes.umd.min.js.map +0 -1
  1063. package/bundles/taiga-ui-cdk-coercion.umd.min.js +0 -2
  1064. package/bundles/taiga-ui-cdk-coercion.umd.min.js.map +0 -1
  1065. package/bundles/taiga-ui-cdk-components-alert-host.umd.min.js +0 -2
  1066. package/bundles/taiga-ui-cdk-components-alert-host.umd.min.js.map +0 -1
  1067. package/bundles/taiga-ui-cdk-components-dialog-host.umd.min.js +0 -2
  1068. package/bundles/taiga-ui-cdk-components-dialog-host.umd.min.js.map +0 -1
  1069. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.min.js +0 -2
  1070. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.min.js.map +0 -1
  1071. package/bundles/taiga-ui-cdk-components-portal-host.umd.js +0 -279
  1072. package/bundles/taiga-ui-cdk-components-portal-host.umd.js.map +0 -1
  1073. package/bundles/taiga-ui-cdk-components-portal-host.umd.min.js +0 -2
  1074. package/bundles/taiga-ui-cdk-components-portal-host.umd.min.js.map +0 -1
  1075. package/bundles/taiga-ui-cdk-components.umd.min.js +0 -2
  1076. package/bundles/taiga-ui-cdk-components.umd.min.js.map +0 -1
  1077. package/bundles/taiga-ui-cdk-constants.umd.min.js +0 -2
  1078. package/bundles/taiga-ui-cdk-constants.umd.min.js.map +0 -1
  1079. package/bundles/taiga-ui-cdk-date-time.umd.min.js +0 -2
  1080. package/bundles/taiga-ui-cdk-date-time.umd.min.js.map +0 -1
  1081. package/bundles/taiga-ui-cdk-decorators.umd.min.js +0 -2
  1082. package/bundles/taiga-ui-cdk-decorators.umd.min.js.map +0 -1
  1083. package/bundles/taiga-ui-cdk-directives-active-zone.umd.min.js +0 -2
  1084. package/bundles/taiga-ui-cdk-directives-active-zone.umd.min.js.map +0 -1
  1085. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.min.js +0 -2
  1086. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.min.js.map +0 -1
  1087. package/bundles/taiga-ui-cdk-directives-autofilled.umd.min.js +0 -2
  1088. package/bundles/taiga-ui-cdk-directives-autofilled.umd.min.js.map +0 -1
  1089. package/bundles/taiga-ui-cdk-directives-checked.umd.min.js +0 -2
  1090. package/bundles/taiga-ui-cdk-directives-checked.umd.min.js.map +0 -1
  1091. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.min.js +0 -2
  1092. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.min.js.map +0 -1
  1093. package/bundles/taiga-ui-cdk-directives-drag.umd.min.js +0 -2
  1094. package/bundles/taiga-ui-cdk-directives-drag.umd.min.js.map +0 -1
  1095. package/bundles/taiga-ui-cdk-directives-droppable.umd.min.js +0 -2
  1096. package/bundles/taiga-ui-cdk-directives-droppable.umd.min.js.map +0 -1
  1097. package/bundles/taiga-ui-cdk-directives-element.umd.min.js +0 -2
  1098. package/bundles/taiga-ui-cdk-directives-element.umd.min.js.map +0 -1
  1099. package/bundles/taiga-ui-cdk-directives-focus-trap.umd.min.js +0 -2
  1100. package/bundles/taiga-ui-cdk-directives-focus-trap.umd.min.js.map +0 -1
  1101. package/bundles/taiga-ui-cdk-directives-focus-visible.umd.min.js +0 -2
  1102. package/bundles/taiga-ui-cdk-directives-focus-visible.umd.min.js.map +0 -1
  1103. package/bundles/taiga-ui-cdk-directives-focusable.umd.min.js +0 -2
  1104. package/bundles/taiga-ui-cdk-directives-focusable.umd.min.js.map +0 -1
  1105. package/bundles/taiga-ui-cdk-directives-focused.umd.min.js +0 -2
  1106. package/bundles/taiga-ui-cdk-directives-focused.umd.min.js.map +0 -1
  1107. package/bundles/taiga-ui-cdk-directives-for-async.umd.min.js +0 -2
  1108. package/bundles/taiga-ui-cdk-directives-for-async.umd.min.js.map +0 -1
  1109. package/bundles/taiga-ui-cdk-directives-for.umd.min.js +0 -2
  1110. package/bundles/taiga-ui-cdk-directives-for.umd.min.js.map +0 -1
  1111. package/bundles/taiga-ui-cdk-directives-high-dpi.umd.min.js +0 -2
  1112. package/bundles/taiga-ui-cdk-directives-high-dpi.umd.min.js.map +0 -1
  1113. package/bundles/taiga-ui-cdk-directives-hovered.umd.min.js +0 -2
  1114. package/bundles/taiga-ui-cdk-directives-hovered.umd.min.js.map +0 -1
  1115. package/bundles/taiga-ui-cdk-directives-input-mode.umd.min.js +0 -2
  1116. package/bundles/taiga-ui-cdk-directives-input-mode.umd.min.js.map +0 -1
  1117. package/bundles/taiga-ui-cdk-directives-item.umd.min.js +0 -2
  1118. package/bundles/taiga-ui-cdk-directives-item.umd.min.js.map +0 -1
  1119. package/bundles/taiga-ui-cdk-directives-let.umd.min.js +0 -2
  1120. package/bundles/taiga-ui-cdk-directives-let.umd.min.js.map +0 -1
  1121. package/bundles/taiga-ui-cdk-directives-media.umd.min.js +0 -2
  1122. package/bundles/taiga-ui-cdk-directives-media.umd.min.js.map +0 -1
  1123. package/bundles/taiga-ui-cdk-directives-obscured.umd.min.js +0 -2
  1124. package/bundles/taiga-ui-cdk-directives-obscured.umd.min.js.map +0 -1
  1125. package/bundles/taiga-ui-cdk-directives-overscroll.umd.min.js +0 -2
  1126. package/bundles/taiga-ui-cdk-directives-overscroll.umd.min.js.map +0 -1
  1127. package/bundles/taiga-ui-cdk-directives-pan.umd.min.js +0 -2
  1128. package/bundles/taiga-ui-cdk-directives-pan.umd.min.js.map +0 -1
  1129. package/bundles/taiga-ui-cdk-directives-portal.umd.min.js +0 -2
  1130. package/bundles/taiga-ui-cdk-directives-portal.umd.min.js.map +0 -1
  1131. package/bundles/taiga-ui-cdk-directives-pressed.umd.min.js +0 -2
  1132. package/bundles/taiga-ui-cdk-directives-pressed.umd.min.js.map +0 -1
  1133. package/bundles/taiga-ui-cdk-directives-prevent-default.umd.min.js +0 -2
  1134. package/bundles/taiga-ui-cdk-directives-prevent-default.umd.min.js.map +0 -1
  1135. package/bundles/taiga-ui-cdk-directives-repeat-times.umd.min.js +0 -2
  1136. package/bundles/taiga-ui-cdk-directives-repeat-times.umd.min.js.map +0 -1
  1137. package/bundles/taiga-ui-cdk-directives-resize.umd.min.js +0 -2
  1138. package/bundles/taiga-ui-cdk-directives-resize.umd.min.js.map +0 -1
  1139. package/bundles/taiga-ui-cdk-directives-swipe.umd.min.js +0 -2
  1140. package/bundles/taiga-ui-cdk-directives-swipe.umd.min.js.map +0 -1
  1141. package/bundles/taiga-ui-cdk-directives-validator.umd.min.js +0 -2
  1142. package/bundles/taiga-ui-cdk-directives-validator.umd.min.js.map +0 -1
  1143. package/bundles/taiga-ui-cdk-directives-zoom.umd.min.js +0 -2
  1144. package/bundles/taiga-ui-cdk-directives-zoom.umd.min.js.map +0 -1
  1145. package/bundles/taiga-ui-cdk-directives.umd.min.js +0 -2
  1146. package/bundles/taiga-ui-cdk-directives.umd.min.js.map +0 -1
  1147. package/bundles/taiga-ui-cdk-enums.umd.min.js +0 -2
  1148. package/bundles/taiga-ui-cdk-enums.umd.min.js.map +0 -1
  1149. package/bundles/taiga-ui-cdk-exceptions.umd.min.js +0 -2
  1150. package/bundles/taiga-ui-cdk-exceptions.umd.min.js.map +0 -1
  1151. package/bundles/taiga-ui-cdk-interfaces.umd.min.js +0 -2
  1152. package/bundles/taiga-ui-cdk-interfaces.umd.min.js.map +0 -1
  1153. package/bundles/taiga-ui-cdk-observables.umd.min.js +0 -2
  1154. package/bundles/taiga-ui-cdk-observables.umd.min.js.map +0 -1
  1155. package/bundles/taiga-ui-cdk-pipes-filter.umd.min.js +0 -2
  1156. package/bundles/taiga-ui-cdk-pipes-filter.umd.min.js.map +0 -1
  1157. package/bundles/taiga-ui-cdk-pipes-keys.umd.min.js +0 -2
  1158. package/bundles/taiga-ui-cdk-pipes-keys.umd.min.js.map +0 -1
  1159. package/bundles/taiga-ui-cdk-pipes-mapper.umd.min.js +0 -2
  1160. package/bundles/taiga-ui-cdk-pipes-mapper.umd.min.js.map +0 -1
  1161. package/bundles/taiga-ui-cdk-pipes.umd.min.js +0 -2
  1162. package/bundles/taiga-ui-cdk-pipes.umd.min.js.map +0 -1
  1163. package/bundles/taiga-ui-cdk-services.umd.min.js +0 -2
  1164. package/bundles/taiga-ui-cdk-services.umd.min.js.map +0 -1
  1165. package/bundles/taiga-ui-cdk-tokens.umd.min.js +0 -2
  1166. package/bundles/taiga-ui-cdk-tokens.umd.min.js.map +0 -1
  1167. package/bundles/taiga-ui-cdk-types.umd.min.js +0 -2
  1168. package/bundles/taiga-ui-cdk-types.umd.min.js.map +0 -1
  1169. package/bundles/taiga-ui-cdk-utils-browser.umd.min.js +0 -2
  1170. package/bundles/taiga-ui-cdk-utils-browser.umd.min.js.map +0 -1
  1171. package/bundles/taiga-ui-cdk-utils-dom.umd.min.js +0 -2
  1172. package/bundles/taiga-ui-cdk-utils-dom.umd.min.js.map +0 -1
  1173. package/bundles/taiga-ui-cdk-utils-focus.umd.min.js +0 -2
  1174. package/bundles/taiga-ui-cdk-utils-focus.umd.min.js.map +0 -1
  1175. package/bundles/taiga-ui-cdk-utils-format.umd.min.js +0 -2
  1176. package/bundles/taiga-ui-cdk-utils-format.umd.min.js.map +0 -1
  1177. package/bundles/taiga-ui-cdk-utils-math.umd.min.js +0 -2
  1178. package/bundles/taiga-ui-cdk-utils-math.umd.min.js.map +0 -1
  1179. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.min.js +0 -2
  1180. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.min.js.map +0 -1
  1181. package/bundles/taiga-ui-cdk-utils-os.umd.min.js +0 -2
  1182. package/bundles/taiga-ui-cdk-utils-os.umd.min.js.map +0 -1
  1183. package/bundles/taiga-ui-cdk-utils-svg.umd.min.js +0 -2
  1184. package/bundles/taiga-ui-cdk-utils-svg.umd.min.js.map +0 -1
  1185. package/bundles/taiga-ui-cdk-utils.umd.min.js +0 -2
  1186. package/bundles/taiga-ui-cdk-utils.umd.min.js.map +0 -1
  1187. package/bundles/taiga-ui-cdk.umd.min.js +0 -2
  1188. package/bundles/taiga-ui-cdk.umd.min.js.map +0 -1
  1189. package/classes/taiga-ui-cdk-classes.metadata.json +0 -1
  1190. package/coercion/taiga-ui-cdk-coercion.metadata.json +0 -1
  1191. package/components/alert-host/taiga-ui-cdk-components-alert-host.metadata.json +0 -1
  1192. package/components/dialog-host/taiga-ui-cdk-components-dialog-host.metadata.json +0 -1
  1193. package/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.metadata.json +0 -1
  1194. package/components/portal-host/index.d.ts +0 -1
  1195. package/components/portal-host/package.json +0 -13
  1196. package/components/portal-host/portal.service.d.ts +0 -7
  1197. package/components/portal-host/taiga-ui-cdk-components-portal-host.metadata.json +0 -1
  1198. package/components/taiga-ui-cdk-components.metadata.json +0 -1
  1199. package/constants/taiga-ui-cdk-constants.metadata.json +0 -1
  1200. package/date-time/taiga-ui-cdk-date-time.metadata.json +0 -1
  1201. package/decorators/taiga-ui-cdk-decorators.metadata.json +0 -1
  1202. package/directives/active-zone/taiga-ui-cdk-directives-active-zone.metadata.json +0 -1
  1203. package/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.metadata.json +0 -1
  1204. package/directives/autofilled/taiga-ui-cdk-directives-autofilled.metadata.json +0 -1
  1205. package/directives/checked/taiga-ui-cdk-directives-checked.metadata.json +0 -1
  1206. package/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.metadata.json +0 -1
  1207. package/directives/drag/taiga-ui-cdk-directives-drag.metadata.json +0 -1
  1208. package/directives/droppable/taiga-ui-cdk-directives-droppable.metadata.json +0 -1
  1209. package/directives/element/taiga-ui-cdk-directives-element.metadata.json +0 -1
  1210. package/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.metadata.json +0 -1
  1211. package/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.metadata.json +0 -1
  1212. package/directives/focusable/taiga-ui-cdk-directives-focusable.metadata.json +0 -1
  1213. package/directives/focused/taiga-ui-cdk-directives-focused.metadata.json +0 -1
  1214. package/directives/for/taiga-ui-cdk-directives-for.metadata.json +0 -1
  1215. package/directives/for-async/taiga-ui-cdk-directives-for-async.metadata.json +0 -1
  1216. package/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.metadata.json +0 -1
  1217. package/directives/hovered/taiga-ui-cdk-directives-hovered.metadata.json +0 -1
  1218. package/directives/input-mode/taiga-ui-cdk-directives-input-mode.metadata.json +0 -1
  1219. package/directives/item/taiga-ui-cdk-directives-item.metadata.json +0 -1
  1220. package/directives/let/taiga-ui-cdk-directives-let.metadata.json +0 -1
  1221. package/directives/media/taiga-ui-cdk-directives-media.metadata.json +0 -1
  1222. package/directives/obscured/taiga-ui-cdk-directives-obscured.metadata.json +0 -1
  1223. package/directives/overscroll/taiga-ui-cdk-directives-overscroll.metadata.json +0 -1
  1224. package/directives/pan/taiga-ui-cdk-directives-pan.metadata.json +0 -1
  1225. package/directives/portal/taiga-ui-cdk-directives-portal.metadata.json +0 -1
  1226. package/directives/pressed/taiga-ui-cdk-directives-pressed.metadata.json +0 -1
  1227. package/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.metadata.json +0 -1
  1228. package/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.metadata.json +0 -1
  1229. package/directives/resize/taiga-ui-cdk-directives-resize.metadata.json +0 -1
  1230. package/directives/swipe/taiga-ui-cdk-directives-swipe.metadata.json +0 -1
  1231. package/directives/taiga-ui-cdk-directives.metadata.json +0 -1
  1232. package/directives/validator/taiga-ui-cdk-directives-validator.metadata.json +0 -1
  1233. package/directives/zoom/taiga-ui-cdk-directives-zoom.metadata.json +0 -1
  1234. package/enums/input-mode.d.ts +0 -13
  1235. package/enums/input-type.d.ts +0 -10
  1236. package/enums/overscroll-mode.d.ts +0 -13
  1237. package/enums/taiga-ui-cdk-enums.metadata.json +0 -1
  1238. package/esm2015/components/portal-host/index.js +0 -2
  1239. package/esm2015/components/portal-host/portal.service.js +0 -18
  1240. package/esm2015/components/portal-host/taiga-ui-cdk-components-portal-host.js +0 -5
  1241. package/esm2015/enums/input-mode.js +0 -15
  1242. package/esm2015/enums/input-type.js +0 -12
  1243. package/esm2015/enums/overscroll-mode.js +0 -15
  1244. package/esm2015/services/hovered.service.js +0 -34
  1245. package/esm2015/tokens/sanitizer.js +0 -4
  1246. package/esm2015/utils/browser/is-ie.js +0 -9
  1247. package/esm2015/utils/dom/custom-event.js +0 -10
  1248. package/esm2015/utils/dom/get-closest-element.js +0 -20
  1249. package/esm2015/utils/dom/is-element.js +0 -5
  1250. package/esm2015/utils/dom/is-form-field.js +0 -8
  1251. package/esm2015/utils/focus/get-closest-keyboard-focusable.js +0 -40
  1252. package/esm2015/utils/focus/set-native-focused.js +0 -19
  1253. package/esm2015/utils/format/pad-start.js +0 -17
  1254. package/esm2015/utils/miscellaneous/fallback-value.js +0 -12
  1255. package/esm2015/utils/miscellaneous/identity.js +0 -8
  1256. package/esm2015/utils/miscellaneous/is-element-editable.js +0 -12
  1257. package/esm5/abstract/control.js +0 -247
  1258. package/esm5/abstract/controller.js +0 -25
  1259. package/esm5/abstract/dialog.directive.js +0 -44
  1260. package/esm5/abstract/dialog.service.js +0 -39
  1261. package/esm5/abstract/index.js +0 -11
  1262. package/esm5/abstract/interactive.js +0 -172
  1263. package/esm5/abstract/multiple-control.js +0 -21
  1264. package/esm5/abstract/nullable-control.js +0 -18
  1265. package/esm5/abstract/portal-host.js +0 -50
  1266. package/esm5/abstract/portal-service.js +0 -42
  1267. package/esm5/abstract/taiga-ui-cdk-abstract.js +0 -5
  1268. package/esm5/abstract/theme-switcher.js +0 -55
  1269. package/esm5/classes/assert.js +0 -19
  1270. package/esm5/classes/index.js +0 -3
  1271. package/esm5/classes/taiga-ui-cdk-classes.js +0 -5
  1272. package/esm5/classes/validation-error.js +0 -10
  1273. package/esm5/coercion/coerce-boolean-property.js +0 -10
  1274. package/esm5/coercion/index.js +0 -2
  1275. package/esm5/coercion/taiga-ui-cdk-coercion.js +0 -5
  1276. package/esm5/components/alert-host/alert-host.component.js +0 -42
  1277. package/esm5/components/alert-host/alert-host.module.js +0 -19
  1278. package/esm5/components/alert-host/index.js +0 -3
  1279. package/esm5/components/alert-host/taiga-ui-cdk-components-alert-host.js +0 -5
  1280. package/esm5/components/dialog-host/dialog-host.component.js +0 -77
  1281. package/esm5/components/dialog-host/dialog-host.module.js +0 -28
  1282. package/esm5/components/dialog-host/index.js +0 -3
  1283. package/esm5/components/dialog-host/taiga-ui-cdk-components-dialog-host.js +0 -5
  1284. package/esm5/components/dropdown-host/dropdown-host.component.js +0 -34
  1285. package/esm5/components/dropdown-host/dropdown-host.module.js +0 -16
  1286. package/esm5/components/dropdown-host/index.js +0 -3
  1287. package/esm5/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.js +0 -5
  1288. package/esm5/components/index.js +0 -5
  1289. package/esm5/components/portal-host/index.js +0 -2
  1290. package/esm5/components/portal-host/portal.service.js +0 -23
  1291. package/esm5/components/portal-host/taiga-ui-cdk-components-portal-host.js +0 -5
  1292. package/esm5/components/taiga-ui-cdk-components.js +0 -5
  1293. package/esm5/constants/always-false-handler.js +0 -5
  1294. package/esm5/constants/always-true-handler.js +0 -5
  1295. package/esm5/constants/browser.js +0 -2
  1296. package/esm5/constants/empty.js +0 -20
  1297. package/esm5/constants/index.js +0 -12
  1298. package/esm5/constants/matcher.js +0 -35
  1299. package/esm5/constants/parent-animation.js +0 -8
  1300. package/esm5/constants/polling-time.js +0 -2
  1301. package/esm5/constants/stringify.js +0 -5
  1302. package/esm5/constants/svg-node-filter.js +0 -8
  1303. package/esm5/constants/taiga-ui-cdk-constants.js +0 -5
  1304. package/esm5/constants/unicode-chars.js +0 -64
  1305. package/esm5/constants/version.js +0 -2
  1306. package/esm5/date-time/date-fillers.js +0 -31
  1307. package/esm5/date-time/date-format.js +0 -5
  1308. package/esm5/date-time/date-separator.js +0 -6
  1309. package/esm5/date-time/date-time.js +0 -19
  1310. package/esm5/date-time/day-range.js +0 -111
  1311. package/esm5/date-time/day.js +0 -350
  1312. package/esm5/date-time/days.const.js +0 -5
  1313. package/esm5/date-time/index.js +0 -12
  1314. package/esm5/date-time/month-range.js +0 -43
  1315. package/esm5/date-time/month.js +0 -209
  1316. package/esm5/date-time/taiga-ui-cdk-date-time.js +0 -5
  1317. package/esm5/date-time/time.js +0 -134
  1318. package/esm5/date-time/year.js +0 -168
  1319. package/esm5/decorators/default-prop.js +0 -62
  1320. package/esm5/decorators/index.js +0 -4
  1321. package/esm5/decorators/pure.js +0 -55
  1322. package/esm5/decorators/required-setter.js +0 -39
  1323. package/esm5/decorators/taiga-ui-cdk-decorators.js +0 -5
  1324. package/esm5/directives/active-zone/active-zone.directive.js +0 -92
  1325. package/esm5/directives/active-zone/active-zone.module.js +0 -16
  1326. package/esm5/directives/active-zone/index.js +0 -3
  1327. package/esm5/directives/active-zone/taiga-ui-cdk-directives-active-zone.js +0 -5
  1328. package/esm5/directives/auto-focus/autofocus.directive.js +0 -31
  1329. package/esm5/directives/auto-focus/autofocus.module.js +0 -16
  1330. package/esm5/directives/auto-focus/autofocus.options.js +0 -29
  1331. package/esm5/directives/auto-focus/handlers/abstract.handler.js +0 -34
  1332. package/esm5/directives/auto-focus/handlers/default.handler.js +0 -43
  1333. package/esm5/directives/auto-focus/handlers/ios.handler.js +0 -137
  1334. package/esm5/directives/auto-focus/index.js +0 -7
  1335. package/esm5/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.js +0 -5
  1336. package/esm5/directives/autofilled/autofilled-style.component.js +0 -16
  1337. package/esm5/directives/autofilled/autofilled.directive.js +0 -42
  1338. package/esm5/directives/autofilled/autofilled.module.js +0 -18
  1339. package/esm5/directives/autofilled/index.js +0 -4
  1340. package/esm5/directives/autofilled/taiga-ui-cdk-directives-autofilled.js +0 -5
  1341. package/esm5/directives/checked/checked.directive.js +0 -49
  1342. package/esm5/directives/checked/checked.module.js +0 -16
  1343. package/esm5/directives/checked/index.js +0 -3
  1344. package/esm5/directives/checked/taiga-ui-cdk-directives-checked.js +0 -5
  1345. package/esm5/directives/copy-processor/copy-processor.directive.js +0 -39
  1346. package/esm5/directives/copy-processor/copy-processor.module.js +0 -16
  1347. package/esm5/directives/copy-processor/index.js +0 -3
  1348. package/esm5/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.js +0 -5
  1349. package/esm5/directives/drag/drag.directive.js +0 -52
  1350. package/esm5/directives/drag/drag.module.js +0 -16
  1351. package/esm5/directives/drag/index.js +0 -3
  1352. package/esm5/directives/drag/taiga-ui-cdk-directives-drag.js +0 -5
  1353. package/esm5/directives/droppable/droppable.directive.js +0 -43
  1354. package/esm5/directives/droppable/droppable.module.js +0 -16
  1355. package/esm5/directives/droppable/index.js +0 -3
  1356. package/esm5/directives/droppable/taiga-ui-cdk-directives-droppable.js +0 -5
  1357. package/esm5/directives/element/element.directive.js +0 -22
  1358. package/esm5/directives/element/element.module.js +0 -16
  1359. package/esm5/directives/element/index.js +0 -3
  1360. package/esm5/directives/element/taiga-ui-cdk-directives-element.js +0 -5
  1361. package/esm5/directives/focus-trap/focus-trap.directive.js +0 -78
  1362. package/esm5/directives/focus-trap/focus-trap.module.js +0 -16
  1363. package/esm5/directives/focus-trap/index.js +0 -3
  1364. package/esm5/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.js +0 -5
  1365. package/esm5/directives/focus-visible/focus-visible.directive.js +0 -29
  1366. package/esm5/directives/focus-visible/focus-visible.module.js +0 -16
  1367. package/esm5/directives/focus-visible/index.js +0 -3
  1368. package/esm5/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.js +0 -5
  1369. package/esm5/directives/focusable/focusable.directive.js +0 -34
  1370. package/esm5/directives/focusable/focusable.module.js +0 -16
  1371. package/esm5/directives/focusable/index.js +0 -3
  1372. package/esm5/directives/focusable/taiga-ui-cdk-directives-focusable.js +0 -5
  1373. package/esm5/directives/focused/focused.directive.js +0 -34
  1374. package/esm5/directives/focused/focused.module.js +0 -16
  1375. package/esm5/directives/focused/index.js +0 -3
  1376. package/esm5/directives/focused/taiga-ui-cdk-directives-focused.js +0 -5
  1377. package/esm5/directives/for/for.directive.js +0 -39
  1378. package/esm5/directives/for/for.module.js +0 -16
  1379. package/esm5/directives/for/index.js +0 -3
  1380. package/esm5/directives/for-async/for-async.directive.js +0 -53
  1381. package/esm5/directives/for-async/for-async.module.js +0 -19
  1382. package/esm5/directives/for-async/index.js +0 -3
  1383. package/esm5/directives/for-async/taiga-ui-cdk-directives-for-async.js +0 -5
  1384. package/esm5/directives/high-dpi/high-dpi.directive.js +0 -31
  1385. package/esm5/directives/high-dpi/high-dpi.module.js +0 -16
  1386. package/esm5/directives/high-dpi/index.js +0 -3
  1387. package/esm5/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.js +0 -5
  1388. package/esm5/directives/hovered/hovered.directive.js +0 -44
  1389. package/esm5/directives/hovered/hovered.module.js +0 -16
  1390. package/esm5/directives/hovered/index.js +0 -3
  1391. package/esm5/directives/hovered/taiga-ui-cdk-directives-hovered.js +0 -5
  1392. package/esm5/directives/index.js +0 -31
  1393. package/esm5/directives/input-mode/index.js +0 -3
  1394. package/esm5/directives/input-mode/input-mode.directive.js +0 -44
  1395. package/esm5/directives/input-mode/input-mode.module.js +0 -16
  1396. package/esm5/directives/input-mode/taiga-ui-cdk-directives-input-mode.js +0 -5
  1397. package/esm5/directives/item/index.js +0 -3
  1398. package/esm5/directives/item/item.directive.js +0 -18
  1399. package/esm5/directives/item/item.module.js +0 -16
  1400. package/esm5/directives/item/taiga-ui-cdk-directives-item.js +0 -5
  1401. package/esm5/directives/let/index.js +0 -4
  1402. package/esm5/directives/let/let-context.js +0 -25
  1403. package/esm5/directives/let/let.directive.js +0 -38
  1404. package/esm5/directives/let/let.module.js +0 -16
  1405. package/esm5/directives/let/taiga-ui-cdk-directives-let.js +0 -5
  1406. package/esm5/directives/media/index.js +0 -3
  1407. package/esm5/directives/media/media.directive.js +0 -130
  1408. package/esm5/directives/media/media.module.js +0 -16
  1409. package/esm5/directives/media/taiga-ui-cdk-directives-media.js +0 -5
  1410. package/esm5/directives/obscured/index.js +0 -3
  1411. package/esm5/directives/obscured/obscured.directive.js +0 -53
  1412. package/esm5/directives/obscured/obscured.module.js +0 -16
  1413. package/esm5/directives/obscured/taiga-ui-cdk-directives-obscured.js +0 -5
  1414. package/esm5/directives/overscroll/index.js +0 -3
  1415. package/esm5/directives/overscroll/overscroll.directive.js +0 -112
  1416. package/esm5/directives/overscroll/overscroll.module.js +0 -16
  1417. package/esm5/directives/overscroll/taiga-ui-cdk-directives-overscroll.js +0 -5
  1418. package/esm5/directives/pan/index.js +0 -3
  1419. package/esm5/directives/pan/pan.directive.js +0 -24
  1420. package/esm5/directives/pan/pan.module.js +0 -19
  1421. package/esm5/directives/pan/taiga-ui-cdk-directives-pan.js +0 -5
  1422. package/esm5/directives/portal/index.js +0 -3
  1423. package/esm5/directives/portal/portal.directive.js +0 -41
  1424. package/esm5/directives/portal/portal.module.js +0 -16
  1425. package/esm5/directives/portal/taiga-ui-cdk-directives-portal.js +0 -5
  1426. package/esm5/directives/pressed/index.js +0 -3
  1427. package/esm5/directives/pressed/pressed.directive.js +0 -30
  1428. package/esm5/directives/pressed/pressed.module.js +0 -16
  1429. package/esm5/directives/pressed/taiga-ui-cdk-directives-pressed.js +0 -5
  1430. package/esm5/directives/prevent-default/index.js +0 -3
  1431. package/esm5/directives/prevent-default/prevent-default.directive.js +0 -38
  1432. package/esm5/directives/prevent-default/prevent-default.module.js +0 -16
  1433. package/esm5/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.js +0 -5
  1434. package/esm5/directives/repeat-times/index.js +0 -3
  1435. package/esm5/directives/repeat-times/repeat-times.directive.js +0 -67
  1436. package/esm5/directives/repeat-times/repeat-times.module.js +0 -16
  1437. package/esm5/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.js +0 -5
  1438. package/esm5/directives/resize/index.js +0 -3
  1439. package/esm5/directives/resize/resize.directive.js +0 -24
  1440. package/esm5/directives/resize/resize.module.js +0 -19
  1441. package/esm5/directives/resize/taiga-ui-cdk-directives-resize.js +0 -5
  1442. package/esm5/directives/swipe/index.js +0 -3
  1443. package/esm5/directives/swipe/swipe.directive.js +0 -24
  1444. package/esm5/directives/swipe/swipe.module.js +0 -19
  1445. package/esm5/directives/swipe/taiga-ui-cdk-directives-swipe.js +0 -5
  1446. package/esm5/directives/taiga-ui-cdk-directives.js +0 -5
  1447. package/esm5/directives/validator/index.js +0 -3
  1448. package/esm5/directives/validator/taiga-ui-cdk-directives-validator.js +0 -5
  1449. package/esm5/directives/validator/validator.directive.js +0 -45
  1450. package/esm5/directives/validator/validator.module.js +0 -16
  1451. package/esm5/directives/zoom/index.js +0 -3
  1452. package/esm5/directives/zoom/taiga-ui-cdk-directives-zoom.js +0 -5
  1453. package/esm5/directives/zoom/zoom.directive.js +0 -27
  1454. package/esm5/directives/zoom/zoom.module.js +0 -19
  1455. package/esm5/enums/autocomplete.js +0 -66
  1456. package/esm5/enums/day-of-week.js +0 -11
  1457. package/esm5/enums/index.js +0 -7
  1458. package/esm5/enums/input-mode.js +0 -15
  1459. package/esm5/enums/input-type.js +0 -12
  1460. package/esm5/enums/month-number.js +0 -16
  1461. package/esm5/enums/overscroll-mode.js +0 -15
  1462. package/esm5/enums/taiga-ui-cdk-enums.js +0 -5
  1463. package/esm5/exceptions/computed-document.exception.js +0 -10
  1464. package/esm5/exceptions/document-selection.exception.js +0 -10
  1465. package/esm5/exceptions/index.js +0 -14
  1466. package/esm5/exceptions/invalid-day.exception.js +0 -23
  1467. package/esm5/exceptions/invalid-month.exception.js +0 -23
  1468. package/esm5/exceptions/invalid-year.exception.js +0 -23
  1469. package/esm5/exceptions/no-host.exception.js +0 -10
  1470. package/esm5/exceptions/owner-document.exception.js +0 -10
  1471. package/esm5/exceptions/pure.exception.js +0 -10
  1472. package/esm5/exceptions/table-sort-key.exception.js +0 -10
  1473. package/esm5/exceptions/taiga-ui-cdk-exceptions.js +0 -5
  1474. package/esm5/exceptions/ts-parser.exception.js +0 -10
  1475. package/esm5/exceptions/value-changes.exception.js +0 -10
  1476. package/esm5/exceptions/value-present.exception.js +0 -10
  1477. package/esm5/exceptions/xml-parsing.exception.js +0 -10
  1478. package/esm5/index.js +0 -16
  1479. package/esm5/interfaces/alert-context.js +0 -1
  1480. package/esm5/interfaces/aria-dialog-context.js +0 -1
  1481. package/esm5/interfaces/base-dialog-context.js +0 -1
  1482. package/esm5/interfaces/base-dialog.js +0 -1
  1483. package/esm5/interfaces/context-with-implicit.js +0 -1
  1484. package/esm5/interfaces/control-value-transformer.js +0 -1
  1485. package/esm5/interfaces/day-like.js +0 -1
  1486. package/esm5/interfaces/focusable-element-accessor.js +0 -1
  1487. package/esm5/interfaces/index.js +0 -1
  1488. package/esm5/interfaces/month-like.js +0 -1
  1489. package/esm5/interfaces/swipe.js +0 -1
  1490. package/esm5/interfaces/taiga-ui-cdk-interfaces.js +0 -4
  1491. package/esm5/interfaces/time-like.js +0 -1
  1492. package/esm5/interfaces/year-like.js +0 -1
  1493. package/esm5/interfaces/zoom.js +0 -1
  1494. package/esm5/observables/drag-and-drop-from.js +0 -33
  1495. package/esm5/observables/focus-visible-observable.js +0 -36
  1496. package/esm5/observables/index.js +0 -14
  1497. package/esm5/observables/is-alive.js +0 -10
  1498. package/esm5/observables/items-query-list-observable.js +0 -12
  1499. package/esm5/observables/mouse-drag-finish-from.js +0 -13
  1500. package/esm5/observables/must-be-present.js +0 -17
  1501. package/esm5/observables/pressed-observable.js +0 -21
  1502. package/esm5/observables/prevent-default.js +0 -10
  1503. package/esm5/observables/replay-control-value-changes.js +0 -16
  1504. package/esm5/observables/stop-propagation.js +0 -12
  1505. package/esm5/observables/taiga-ui-cdk-observables.js +0 -5
  1506. package/esm5/observables/typed-from-event.js +0 -11
  1507. package/esm5/observables/watch.js +0 -12
  1508. package/esm5/observables/zone-free.js +0 -23
  1509. package/esm5/pipes/filter/filter.module.js +0 -16
  1510. package/esm5/pipes/filter/filter.pipe.js +0 -26
  1511. package/esm5/pipes/filter/index.js +0 -3
  1512. package/esm5/pipes/filter/taiga-ui-cdk-pipes-filter.js +0 -5
  1513. package/esm5/pipes/index.js +0 -4
  1514. package/esm5/pipes/keys/index.js +0 -3
  1515. package/esm5/pipes/keys/keys.module.js +0 -16
  1516. package/esm5/pipes/keys/keys.pipe.js +0 -15
  1517. package/esm5/pipes/keys/taiga-ui-cdk-pipes-keys.js +0 -5
  1518. package/esm5/pipes/mapper/index.js +0 -3
  1519. package/esm5/pipes/mapper/mapper.module.js +0 -16
  1520. package/esm5/pipes/mapper/mapper.pipe.js +0 -26
  1521. package/esm5/pipes/mapper/taiga-ui-cdk-pipes-mapper.js +0 -5
  1522. package/esm5/pipes/taiga-ui-cdk-pipes.js +0 -5
  1523. package/esm5/services/destroy.service.js +0 -22
  1524. package/esm5/services/directive-styles.service.js +0 -56
  1525. package/esm5/services/focus-visible.service.js +0 -35
  1526. package/esm5/services/hovered.service.js +0 -39
  1527. package/esm5/services/id.service.js +0 -26
  1528. package/esm5/services/index.js +0 -14
  1529. package/esm5/services/obscured.service.js +0 -50
  1530. package/esm5/services/pan.service.js +0 -47
  1531. package/esm5/services/parents-scroll.service.js +0 -40
  1532. package/esm5/services/resize.service.js +0 -41
  1533. package/esm5/services/scroll.service.js +0 -58
  1534. package/esm5/services/static-request.service.js +0 -48
  1535. package/esm5/services/swipe.service.js +0 -60
  1536. package/esm5/services/taiga-ui-cdk-services.js +0 -5
  1537. package/esm5/services/zoom.service.js +0 -64
  1538. package/esm5/taiga-ui-cdk.js +0 -5
  1539. package/esm5/tokens/active-element.js +0 -67
  1540. package/esm5/tokens/alerts.js +0 -5
  1541. package/esm5/tokens/default-renderer.js +0 -7
  1542. package/esm5/tokens/dialogs.js +0 -5
  1543. package/esm5/tokens/focusable-item-accessor.js +0 -3
  1544. package/esm5/tokens/index.js +0 -21
  1545. package/esm5/tokens/is-android.js +0 -7
  1546. package/esm5/tokens/is-apple.js +0 -5
  1547. package/esm5/tokens/is-chromium.js +0 -6
  1548. package/esm5/tokens/is-cypress.js +0 -9
  1549. package/esm5/tokens/is-firefox.js +0 -9
  1550. package/esm5/tokens/is-ios.js +0 -7
  1551. package/esm5/tokens/is-mobile.js +0 -12
  1552. package/esm5/tokens/is-webkit.js +0 -6
  1553. package/esm5/tokens/removed-element.js +0 -19
  1554. package/esm5/tokens/sanitizer.js +0 -4
  1555. package/esm5/tokens/swipe-options.js +0 -5
  1556. package/esm5/tokens/taiga-ui-cdk-tokens.js +0 -5
  1557. package/esm5/tokens/take-only-trusted-events.js +0 -11
  1558. package/esm5/tokens/touch-supported.js +0 -6
  1559. package/esm5/tokens/window-height.js +0 -11
  1560. package/esm5/tokens/zoom-options.js +0 -7
  1561. package/esm5/types/date-mode.js +0 -1
  1562. package/esm5/types/dialog.js +0 -1
  1563. package/esm5/types/event-with.js +0 -1
  1564. package/esm5/types/handler.js +0 -1
  1565. package/esm5/types/index.js +0 -1
  1566. package/esm5/types/input-mode.js +0 -1
  1567. package/esm5/types/input-type.js +0 -1
  1568. package/esm5/types/mapper.js +0 -1
  1569. package/esm5/types/matcher.js +0 -1
  1570. package/esm5/types/overscroll-mode.js +0 -1
  1571. package/esm5/types/taiga-ui-cdk-types.js +0 -4
  1572. package/esm5/types/time-mode.js +0 -1
  1573. package/esm5/utils/browser/index.js +0 -6
  1574. package/esm5/utils/browser/is-edge-older-than.js +0 -11
  1575. package/esm5/utils/browser/is-edge.js +0 -9
  1576. package/esm5/utils/browser/is-firefox.js +0 -9
  1577. package/esm5/utils/browser/is-ie.js +0 -9
  1578. package/esm5/utils/browser/is-safari.js +0 -11
  1579. package/esm5/utils/browser/taiga-ui-cdk-utils-browser.js +0 -5
  1580. package/esm5/utils/dom/can-scroll.js +0 -47
  1581. package/esm5/utils/dom/contains-or-after.js +0 -10
  1582. package/esm5/utils/dom/custom-event.js +0 -11
  1583. package/esm5/utils/dom/get-actual-target.js +0 -13
  1584. package/esm5/utils/dom/get-clipboard-data-text.js +0 -15
  1585. package/esm5/utils/dom/get-closest-element.js +0 -20
  1586. package/esm5/utils/dom/get-document-or-shadow-root.js +0 -11
  1587. package/esm5/utils/dom/get-element-obscurers.js +0 -39
  1588. package/esm5/utils/dom/get-element-offset.js +0 -23
  1589. package/esm5/utils/dom/get-scroll-parent.js +0 -23
  1590. package/esm5/utils/dom/get-selected-text.js +0 -17
  1591. package/esm5/utils/dom/index.js +0 -18
  1592. package/esm5/utils/dom/is-current-target.js +0 -10
  1593. package/esm5/utils/dom/is-element.js +0 -5
  1594. package/esm5/utils/dom/is-form-field.js +0 -8
  1595. package/esm5/utils/dom/is-inside-iframe.js +0 -10
  1596. package/esm5/utils/dom/is-node-in.js +0 -18
  1597. package/esm5/utils/dom/point-to-client-rect.js +0 -13
  1598. package/esm5/utils/dom/taiga-ui-cdk-utils-dom.js +0 -5
  1599. package/esm5/utils/focus/blur-native-focused.js +0 -16
  1600. package/esm5/utils/focus/get-closest-keyboard-focusable.js +0 -42
  1601. package/esm5/utils/focus/get-native-focused.js +0 -19
  1602. package/esm5/utils/focus/index.js +0 -11
  1603. package/esm5/utils/focus/is-native-focused-in.js +0 -19
  1604. package/esm5/utils/focus/is-native-focused.js +0 -16
  1605. package/esm5/utils/focus/is-native-keyboard-focusable.js +0 -36
  1606. package/esm5/utils/focus/is-native-mouse-focusable.js +0 -11
  1607. package/esm5/utils/focus/move-focus.js +0 -23
  1608. package/esm5/utils/focus/set-native-focused.js +0 -21
  1609. package/esm5/utils/focus/set-native-mouse-focused.js +0 -28
  1610. package/esm5/utils/focus/taiga-ui-cdk-utils-focus.js +0 -5
  1611. package/esm5/utils/format/index.js +0 -3
  1612. package/esm5/utils/format/pad-start.js +0 -18
  1613. package/esm5/utils/format/px.js +0 -12
  1614. package/esm5/utils/format/taiga-ui-cdk-utils-format.js +0 -5
  1615. package/esm5/utils/index.js +0 -9
  1616. package/esm5/utils/math/clamp.js +0 -19
  1617. package/esm5/utils/math/in-range.js +0 -19
  1618. package/esm5/utils/math/index.js +0 -9
  1619. package/esm5/utils/math/normalize-to-int-number.js +0 -25
  1620. package/esm5/utils/math/quantize.js +0 -18
  1621. package/esm5/utils/math/round.js +0 -49
  1622. package/esm5/utils/math/sum.js +0 -14
  1623. package/esm5/utils/math/taiga-ui-cdk-utils-math.js +0 -5
  1624. package/esm5/utils/math/to-int.js +0 -9
  1625. package/esm5/utils/math/to-radians.js +0 -10
  1626. package/esm5/utils/miscellaneous/distance-between-touches.js +0 -10
  1627. package/esm5/utils/miscellaneous/ease-in-out-quad.js +0 -11
  1628. package/esm5/utils/miscellaneous/fallback-value.js +0 -12
  1629. package/esm5/utils/miscellaneous/flat-length.js +0 -12
  1630. package/esm5/utils/miscellaneous/get-original-array-from-query-list.js +0 -18
  1631. package/esm5/utils/miscellaneous/get-swipe-direction.js +0 -14
  1632. package/esm5/utils/miscellaneous/identity.js +0 -8
  1633. package/esm5/utils/miscellaneous/index.js +0 -14
  1634. package/esm5/utils/miscellaneous/is-element-editable.js +0 -12
  1635. package/esm5/utils/miscellaneous/is-number.js +0 -9
  1636. package/esm5/utils/miscellaneous/is-present.js +0 -9
  1637. package/esm5/utils/miscellaneous/mark-control-as-touched-and-validate.js +0 -21
  1638. package/esm5/utils/miscellaneous/nullable-same.js +0 -21
  1639. package/esm5/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.js +0 -5
  1640. package/esm5/utils/miscellaneous/uniq-by.js +0 -11
  1641. package/esm5/utils/os/index.js +0 -4
  1642. package/esm5/utils/os/is-apple-platform.js +0 -17
  1643. package/esm5/utils/os/is-apple.js +0 -11
  1644. package/esm5/utils/os/is-ios.js +0 -12
  1645. package/esm5/utils/os/taiga-ui-cdk-utils-os.js +0 -5
  1646. package/esm5/utils/svg/index.js +0 -2
  1647. package/esm5/utils/svg/svg-linear-gradient-processor.js +0 -32
  1648. package/esm5/utils/svg/taiga-ui-cdk-utils-svg.js +0 -5
  1649. package/esm5/utils/taiga-ui-cdk-utils.js +0 -5
  1650. package/exceptions/taiga-ui-cdk-exceptions.metadata.json +0 -1
  1651. package/fesm2015/taiga-ui-cdk-components-portal-host.js +0 -23
  1652. package/fesm2015/taiga-ui-cdk-components-portal-host.js.map +0 -1
  1653. package/fesm5/taiga-ui-cdk-abstract.js +0 -682
  1654. package/fesm5/taiga-ui-cdk-abstract.js.map +0 -1
  1655. package/fesm5/taiga-ui-cdk-classes.js +0 -35
  1656. package/fesm5/taiga-ui-cdk-classes.js.map +0 -1
  1657. package/fesm5/taiga-ui-cdk-coercion.js +0 -16
  1658. package/fesm5/taiga-ui-cdk-coercion.js.map +0 -1
  1659. package/fesm5/taiga-ui-cdk-components-alert-host.js +0 -63
  1660. package/fesm5/taiga-ui-cdk-components-alert-host.js.map +0 -1
  1661. package/fesm5/taiga-ui-cdk-components-dialog-host.js +0 -107
  1662. package/fesm5/taiga-ui-cdk-components-dialog-host.js.map +0 -1
  1663. package/fesm5/taiga-ui-cdk-components-dropdown-host.js +0 -52
  1664. package/fesm5/taiga-ui-cdk-components-dropdown-host.js.map +0 -1
  1665. package/fesm5/taiga-ui-cdk-components-portal-host.js +0 -28
  1666. package/fesm5/taiga-ui-cdk-components-portal-host.js.map +0 -1
  1667. package/fesm5/taiga-ui-cdk-components.js +0 -9
  1668. package/fesm5/taiga-ui-cdk-components.js.map +0 -1
  1669. package/fesm5/taiga-ui-cdk-constants.js +0 -162
  1670. package/fesm5/taiga-ui-cdk-constants.js.map +0 -1
  1671. package/fesm5/taiga-ui-cdk-date-time.js +0 -1051
  1672. package/fesm5/taiga-ui-cdk-date-time.js.map +0 -1
  1673. package/fesm5/taiga-ui-cdk-decorators.js +0 -161
  1674. package/fesm5/taiga-ui-cdk-decorators.js.map +0 -1
  1675. package/fesm5/taiga-ui-cdk-directives-active-zone.js +0 -110
  1676. package/fesm5/taiga-ui-cdk-directives-active-zone.js.map +0 -1
  1677. package/fesm5/taiga-ui-cdk-directives-auto-focus.js +0 -273
  1678. package/fesm5/taiga-ui-cdk-directives-auto-focus.js.map +0 -1
  1679. package/fesm5/taiga-ui-cdk-directives-autofilled.js +0 -73
  1680. package/fesm5/taiga-ui-cdk-directives-autofilled.js.map +0 -1
  1681. package/fesm5/taiga-ui-cdk-directives-checked.js +0 -67
  1682. package/fesm5/taiga-ui-cdk-directives-checked.js.map +0 -1
  1683. package/fesm5/taiga-ui-cdk-directives-copy-processor.js +0 -57
  1684. package/fesm5/taiga-ui-cdk-directives-copy-processor.js.map +0 -1
  1685. package/fesm5/taiga-ui-cdk-directives-drag.js +0 -70
  1686. package/fesm5/taiga-ui-cdk-directives-drag.js.map +0 -1
  1687. package/fesm5/taiga-ui-cdk-directives-droppable.js +0 -61
  1688. package/fesm5/taiga-ui-cdk-directives-droppable.js.map +0 -1
  1689. package/fesm5/taiga-ui-cdk-directives-element.js +0 -40
  1690. package/fesm5/taiga-ui-cdk-directives-element.js.map +0 -1
  1691. package/fesm5/taiga-ui-cdk-directives-focus-trap.js +0 -96
  1692. package/fesm5/taiga-ui-cdk-directives-focus-trap.js.map +0 -1
  1693. package/fesm5/taiga-ui-cdk-directives-focus-visible.js +0 -47
  1694. package/fesm5/taiga-ui-cdk-directives-focus-visible.js.map +0 -1
  1695. package/fesm5/taiga-ui-cdk-directives-focusable.js +0 -52
  1696. package/fesm5/taiga-ui-cdk-directives-focusable.js.map +0 -1
  1697. package/fesm5/taiga-ui-cdk-directives-focused.js +0 -52
  1698. package/fesm5/taiga-ui-cdk-directives-focused.js.map +0 -1
  1699. package/fesm5/taiga-ui-cdk-directives-for-async.js +0 -74
  1700. package/fesm5/taiga-ui-cdk-directives-for-async.js.map +0 -1
  1701. package/fesm5/taiga-ui-cdk-directives-for.js +0 -57
  1702. package/fesm5/taiga-ui-cdk-directives-for.js.map +0 -1
  1703. package/fesm5/taiga-ui-cdk-directives-high-dpi.js +0 -49
  1704. package/fesm5/taiga-ui-cdk-directives-high-dpi.js.map +0 -1
  1705. package/fesm5/taiga-ui-cdk-directives-hovered.js +0 -62
  1706. package/fesm5/taiga-ui-cdk-directives-hovered.js.map +0 -1
  1707. package/fesm5/taiga-ui-cdk-directives-input-mode.js +0 -62
  1708. package/fesm5/taiga-ui-cdk-directives-input-mode.js.map +0 -1
  1709. package/fesm5/taiga-ui-cdk-directives-item.js +0 -36
  1710. package/fesm5/taiga-ui-cdk-directives-item.js.map +0 -1
  1711. package/fesm5/taiga-ui-cdk-directives-let.js +0 -79
  1712. package/fesm5/taiga-ui-cdk-directives-let.js.map +0 -1
  1713. package/fesm5/taiga-ui-cdk-directives-media.js +0 -148
  1714. package/fesm5/taiga-ui-cdk-directives-media.js.map +0 -1
  1715. package/fesm5/taiga-ui-cdk-directives-obscured.js +0 -71
  1716. package/fesm5/taiga-ui-cdk-directives-obscured.js.map +0 -1
  1717. package/fesm5/taiga-ui-cdk-directives-overscroll.js +0 -130
  1718. package/fesm5/taiga-ui-cdk-directives-overscroll.js.map +0 -1
  1719. package/fesm5/taiga-ui-cdk-directives-pan.js +0 -45
  1720. package/fesm5/taiga-ui-cdk-directives-pan.js.map +0 -1
  1721. package/fesm5/taiga-ui-cdk-directives-portal.js +0 -59
  1722. package/fesm5/taiga-ui-cdk-directives-portal.js.map +0 -1
  1723. package/fesm5/taiga-ui-cdk-directives-pressed.js +0 -48
  1724. package/fesm5/taiga-ui-cdk-directives-pressed.js.map +0 -1
  1725. package/fesm5/taiga-ui-cdk-directives-prevent-default.js +0 -56
  1726. package/fesm5/taiga-ui-cdk-directives-prevent-default.js.map +0 -1
  1727. package/fesm5/taiga-ui-cdk-directives-repeat-times.js +0 -84
  1728. package/fesm5/taiga-ui-cdk-directives-repeat-times.js.map +0 -1
  1729. package/fesm5/taiga-ui-cdk-directives-resize.js +0 -45
  1730. package/fesm5/taiga-ui-cdk-directives-resize.js.map +0 -1
  1731. package/fesm5/taiga-ui-cdk-directives-swipe.js +0 -45
  1732. package/fesm5/taiga-ui-cdk-directives-swipe.js.map +0 -1
  1733. package/fesm5/taiga-ui-cdk-directives-validator.js +0 -63
  1734. package/fesm5/taiga-ui-cdk-directives-validator.js.map +0 -1
  1735. package/fesm5/taiga-ui-cdk-directives-zoom.js +0 -48
  1736. package/fesm5/taiga-ui-cdk-directives-zoom.js.map +0 -1
  1737. package/fesm5/taiga-ui-cdk-directives.js +0 -35
  1738. package/fesm5/taiga-ui-cdk-directives.js.map +0 -1
  1739. package/fesm5/taiga-ui-cdk-enums.js +0 -141
  1740. package/fesm5/taiga-ui-cdk-enums.js.map +0 -1
  1741. package/fesm5/taiga-ui-cdk-exceptions.js +0 -148
  1742. package/fesm5/taiga-ui-cdk-exceptions.js.map +0 -1
  1743. package/fesm5/taiga-ui-cdk-interfaces.js +0 -4
  1744. package/fesm5/taiga-ui-cdk-interfaces.js.map +0 -1
  1745. package/fesm5/taiga-ui-cdk-observables.js +0 -204
  1746. package/fesm5/taiga-ui-cdk-observables.js.map +0 -1
  1747. package/fesm5/taiga-ui-cdk-pipes-filter.js +0 -44
  1748. package/fesm5/taiga-ui-cdk-pipes-filter.js.map +0 -1
  1749. package/fesm5/taiga-ui-cdk-pipes-keys.js +0 -33
  1750. package/fesm5/taiga-ui-cdk-pipes-keys.js.map +0 -1
  1751. package/fesm5/taiga-ui-cdk-pipes-mapper.js +0 -44
  1752. package/fesm5/taiga-ui-cdk-pipes-mapper.js.map +0 -1
  1753. package/fesm5/taiga-ui-cdk-pipes.js +0 -8
  1754. package/fesm5/taiga-ui-cdk-pipes.js.map +0 -1
  1755. package/fesm5/taiga-ui-cdk-services.js +0 -507
  1756. package/fesm5/taiga-ui-cdk-services.js.map +0 -1
  1757. package/fesm5/taiga-ui-cdk-tokens.js +0 -181
  1758. package/fesm5/taiga-ui-cdk-tokens.js.map +0 -1
  1759. package/fesm5/taiga-ui-cdk-types.js +0 -4
  1760. package/fesm5/taiga-ui-cdk-types.js.map +0 -1
  1761. package/fesm5/taiga-ui-cdk-utils-browser.js +0 -55
  1762. package/fesm5/taiga-ui-cdk-utils-browser.js.map +0 -1
  1763. package/fesm5/taiga-ui-cdk-utils-dom.js +0 -297
  1764. package/fesm5/taiga-ui-cdk-utils-dom.js.map +0 -1
  1765. package/fesm5/taiga-ui-cdk-utils-focus.js +0 -228
  1766. package/fesm5/taiga-ui-cdk-utils-focus.js.map +0 -1
  1767. package/fesm5/taiga-ui-cdk-utils-format.js +0 -37
  1768. package/fesm5/taiga-ui-cdk-utils-format.js.map +0 -1
  1769. package/fesm5/taiga-ui-cdk-utils-math.js +0 -166
  1770. package/fesm5/taiga-ui-cdk-utils-math.js.map +0 -1
  1771. package/fesm5/taiga-ui-cdk-utils-miscellaneous.js +0 -174
  1772. package/fesm5/taiga-ui-cdk-utils-miscellaneous.js.map +0 -1
  1773. package/fesm5/taiga-ui-cdk-utils-os.js +0 -44
  1774. package/fesm5/taiga-ui-cdk-utils-os.js.map +0 -1
  1775. package/fesm5/taiga-ui-cdk-utils-svg.js +0 -39
  1776. package/fesm5/taiga-ui-cdk-utils-svg.js.map +0 -1
  1777. package/fesm5/taiga-ui-cdk-utils.js +0 -13
  1778. package/fesm5/taiga-ui-cdk-utils.js.map +0 -1
  1779. package/fesm5/taiga-ui-cdk.js +0 -20
  1780. package/fesm5/taiga-ui-cdk.js.map +0 -1
  1781. package/interfaces/taiga-ui-cdk-interfaces.metadata.json +0 -1
  1782. package/observables/taiga-ui-cdk-observables.metadata.json +0 -1
  1783. package/pipes/filter/taiga-ui-cdk-pipes-filter.metadata.json +0 -1
  1784. package/pipes/keys/taiga-ui-cdk-pipes-keys.metadata.json +0 -1
  1785. package/pipes/mapper/taiga-ui-cdk-pipes-mapper.metadata.json +0 -1
  1786. package/pipes/taiga-ui-cdk-pipes.metadata.json +0 -1
  1787. package/services/hovered.service.d.ts +0 -9
  1788. package/services/taiga-ui-cdk-services.metadata.json +0 -1
  1789. package/taiga-ui-cdk.metadata.json +0 -1
  1790. package/tokens/sanitizer.d.ts +0 -2
  1791. package/tokens/taiga-ui-cdk-tokens.metadata.json +0 -1
  1792. package/types/taiga-ui-cdk-types.metadata.json +0 -1
  1793. package/utils/browser/is-ie.d.ts +0 -5
  1794. package/utils/browser/taiga-ui-cdk-utils-browser.metadata.json +0 -1
  1795. package/utils/dom/custom-event.d.ts +0 -2
  1796. package/utils/dom/get-closest-element.d.ts +0 -5
  1797. package/utils/dom/is-element.d.ts +0 -1
  1798. package/utils/dom/is-form-field.d.ts +0 -1
  1799. package/utils/dom/taiga-ui-cdk-utils-dom.metadata.json +0 -1
  1800. package/utils/focus/get-closest-keyboard-focusable.d.ts +0 -16
  1801. package/utils/focus/set-native-focused.d.ts +0 -10
  1802. package/utils/focus/taiga-ui-cdk-utils-focus.metadata.json +0 -1
  1803. package/utils/format/pad-start.d.ts +0 -9
  1804. package/utils/format/taiga-ui-cdk-utils-format.metadata.json +0 -1
  1805. package/utils/math/taiga-ui-cdk-utils-math.metadata.json +0 -1
  1806. package/utils/miscellaneous/fallback-value.d.ts +0 -7
  1807. package/utils/miscellaneous/identity.d.ts +0 -4
  1808. package/utils/miscellaneous/is-element-editable.d.ts +0 -5
  1809. package/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.metadata.json +0 -1
  1810. package/utils/os/taiga-ui-cdk-utils-os.metadata.json +0 -1
  1811. package/utils/svg/taiga-ui-cdk-utils-svg.metadata.json +0 -1
  1812. package/utils/taiga-ui-cdk-utils.metadata.json +0 -1
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "main": "../../bundles/taiga-ui-cdk-utils-os.umd.js",
3
- "module": "../../fesm5/taiga-ui-cdk-utils-os.js",
3
+ "module": "../../fesm2015/taiga-ui-cdk-utils-os.js",
4
4
  "es2015": "../../fesm2015/taiga-ui-cdk-utils-os.js",
5
- "esm5": "../../esm5/utils/os/taiga-ui-cdk-utils-os.js",
6
5
  "esm2015": "../../esm2015/utils/os/taiga-ui-cdk-utils-os.js",
7
- "fesm5": "../../fesm5/taiga-ui-cdk-utils-os.js",
8
6
  "fesm2015": "../../fesm2015/taiga-ui-cdk-utils-os.js",
9
7
  "typings": "taiga-ui-cdk-utils-os.d.ts",
10
- "metadata": "taiga-ui-cdk-utils-os.metadata.json",
11
8
  "sideEffects": false,
12
9
  "name": "@taiga-ui/cdk/utils/os"
13
- }
10
+ }
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
+ /// <amd-module name="@taiga-ui/cdk/utils/os" />
4
5
  export * from './index';
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "main": "../bundles/taiga-ui-cdk-utils.umd.js",
3
- "module": "../fesm5/taiga-ui-cdk-utils.js",
3
+ "module": "../fesm2015/taiga-ui-cdk-utils.js",
4
4
  "es2015": "../fesm2015/taiga-ui-cdk-utils.js",
5
- "esm5": "../esm5/utils/taiga-ui-cdk-utils.js",
6
5
  "esm2015": "../esm2015/utils/taiga-ui-cdk-utils.js",
7
- "fesm5": "../fesm5/taiga-ui-cdk-utils.js",
8
6
  "fesm2015": "../fesm2015/taiga-ui-cdk-utils.js",
9
7
  "typings": "taiga-ui-cdk-utils.d.ts",
10
- "metadata": "taiga-ui-cdk-utils.metadata.json",
11
8
  "sideEffects": false,
12
9
  "name": "@taiga-ui/cdk/utils"
13
- }
10
+ }
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "main": "../../bundles/taiga-ui-cdk-utils-svg.umd.js",
3
- "module": "../../fesm5/taiga-ui-cdk-utils-svg.js",
3
+ "module": "../../fesm2015/taiga-ui-cdk-utils-svg.js",
4
4
  "es2015": "../../fesm2015/taiga-ui-cdk-utils-svg.js",
5
- "esm5": "../../esm5/utils/svg/taiga-ui-cdk-utils-svg.js",
6
5
  "esm2015": "../../esm2015/utils/svg/taiga-ui-cdk-utils-svg.js",
7
- "fesm5": "../../fesm5/taiga-ui-cdk-utils-svg.js",
8
6
  "fesm2015": "../../fesm2015/taiga-ui-cdk-utils-svg.js",
9
7
  "typings": "taiga-ui-cdk-utils-svg.d.ts",
10
- "metadata": "taiga-ui-cdk-utils-svg.metadata.json",
11
8
  "sideEffects": false,
12
9
  "name": "@taiga-ui/cdk/utils/svg"
13
- }
10
+ }
@@ -1,5 +1,4 @@
1
1
  /**
2
- * @deprecated: use {@link tuiSvgLinearGradientProcessor} instead
3
2
  * @description:
4
3
  * Any ‘linearGradient’ attributes which are defined on the referenced
5
4
  * element which are not defined on this element are inherited by this element.
@@ -13,5 +12,4 @@
13
12
  * Documentation: https://www.w3.org/TR/SVG11/pservers.html
14
13
  *
15
14
  */
16
- export declare function svgLinearGradientProcessor(svg: string, salt?: number | string): string;
17
- export declare const tuiSvgLinearGradientProcessor: typeof svgLinearGradientProcessor;
15
+ export declare function tuiSvgLinearGradientProcessor(svg: string, salt?: number | string): string;
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
+ /// <amd-module name="@taiga-ui/cdk/utils/svg" />
4
5
  export * from './index';
@@ -1,4 +1,5 @@
1
1
  /**
2
2
  * Generated bundle index. Do not edit.
3
3
  */
4
+ /// <amd-module name="@taiga-ui/cdk/utils" />
4
5
  export * from './index';
@@ -1 +0,0 @@
1
- {"__symbolic":"module","version":4,"metadata":{"AbstractTuiControl":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"AbstractTuiInteractive"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":21,"character":1}}],"members":{"readOnly":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":37,"character":5},"arguments":["class._readonly"]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk/decorators","name":"tuiDefaultProp","line":38,"character":5}}]}],"pseudoInvalid":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":41,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk/decorators","name":"tuiDefaultProp","line":42,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/forms","name":"NgControl","line":46,"character":36},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":47,"character":46},{"__symbolic":"reference","name":"TuiControlValueTransformer","module":"@taiga-ui/cdk/interfaces","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":48,"character":73,"context":{"typeName":"T"},"module":"./control"}]}]}],"getFallbackValue":[{"__symbolic":"method"}],"computedInvalid":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":65,"character":5},"arguments":["class._invalid"]}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"checkControlUpdate":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"setDisabledState":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"updateFocused":[{"__symbolic":"method"}],"updateValue":[{"__symbolic":"method"}],"valueIdenticalComparator":[{"__symbolic":"method"}],"safeNgControlData":[{"__symbolic":"method"}],"controlMarkAsTouched":[{"__symbolic":"method"}],"controlSetValue":[{"__symbolic":"method"}],"refreshLocalValue":[{"__symbolic":"method"}],"fromControlValue":[{"__symbolic":"method"}],"toControlValue":[{"__symbolic":"method"}]}},"TuiController":{"__symbolic":"class","members":{"ngOnChanges":[{"__symbolic":"method"}]}},"AbstractTuiController":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"TuiController"},"members":{}},"AbstractTuiDialogDirective":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","module":"@tinkoff/ng-polymorpheus","name":"PolymorpheusTemplate","line":9,"character":60},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":8,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":31,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","line":31,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":33,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":33,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":34,"character":9},"arguments":[{"__symbolic":"reference","name":"AbstractTuiDialogService"}]}]],"parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"TuiDialog","module":"@taiga-ui/cdk/types","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":32,"character":43,"context":{"typeName":"T"},"module":"./dialog.directive"},{"__symbolic":"error","message":"Expression form not supported","line":32,"character":46,"module":"./dialog.directive"}]}]},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":33,"character":54},{"__symbolic":"reference","name":"AbstractTuiDialogService"}]}]}},"AbstractTuiDialogService":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","module":"rxjs","name":"Observable","line":8,"character":58},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":20,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk/services","name":"TuiIdService","line":20,"character":16}]}]],"parameters":[{"__symbolic":"reference","module":"@taiga-ui/cdk/services","name":"TuiIdService","line":20,"character":58}]}],"open":[{"__symbolic":"method"}]}},"AbstractTuiInteractive":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":8,"character":1}}],"members":{"pseudoHovered":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":18,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk/decorators","name":"tuiDefaultProp","line":19,"character":5}}]}],"pseudoPressed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk/decorators","name":"tuiDefaultProp","line":23,"character":5}}]}],"pseudoFocused":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk/decorators","name":"tuiDefaultProp","line":27,"character":5}}]}],"focusable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk/decorators","name":"tuiDefaultProp","line":34,"character":5}}]}],"nativeId":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":37,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk/decorators","name":"tuiDefaultProp","line":38,"character":5}}]}],"focusedChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":44,"character":5}}]}],"pressedChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":48,"character":5}}]}],"hoveredChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":52,"character":5}}]}],"focusVisibleChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":55,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor"}],"computedDisabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":70,"character":5},"arguments":["class._disabled"]}]}],"computedHovered":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":76,"character":5},"arguments":["class._hovered"]}]}],"computedPressed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":82,"character":5},"arguments":["class._pressed"]}]}],"computedFocused":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":91,"character":5},"arguments":["class._focused"]}]}],"computedFocusVisible":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding","line":96,"character":5},"arguments":["class._focus-visible"]}]}],"updateHovered":[{"__symbolic":"method"}],"updatePressed":[{"__symbolic":"method"}],"updateFocused":[{"__symbolic":"method"}],"updateFocusVisible":[{"__symbolic":"method"}]},"statics":{"autoId":0}},"AbstractTuiMultipleControl":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"AbstractTuiControl"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1}}],"members":{"clear":[{"__symbolic":"method"}],"getFallbackValue":[{"__symbolic":"method"}]}},"AbstractTuiNullableControl":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"AbstractTuiControl"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1}}],"members":{"getFallbackValue":[{"__symbolic":"method"}]}},"AbstractTuiPortalHostComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":18,"character":1}}],"members":{"viewContainerRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":20,"character":5},"arguments":["viewContainer",{"read":{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":20,"character":39}}]}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":24,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":24,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":26,"character":9},"arguments":[{"__symbolic":"reference","name":"AbstractTuiPortalService"}]}]],"parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":25,"character":40,"context":{"typeName":"HTMLElement"},"module":"./portal-host"}]},{"__symbolic":"reference","name":"AbstractTuiPortalService"}]}],"addComponentChild":[{"__symbolic":"method"}],"addTemplateChild":[{"__symbolic":"method"}]}},"AbstractTuiPortalService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":15,"character":1}}],"members":{"attach":[{"__symbolic":"method"}],"add":[{"__symbolic":"method"}],"remove":[{"__symbolic":"method"}],"addTemplate":[{"__symbolic":"method"}],"removeTemplate":[{"__symbolic":"method"}]}},"AbstractTuiThemeSwitcher":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":10,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":14,"character":17},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":14,"character":24}]}]],"parameters":[{"__symbolic":"error","message":"Could not resolve type","line":14,"character":64,"context":{"typeName":"Document"},"module":"./theme-switcher"}]}],"ngOnDestroy":[{"__symbolic":"method"}],"addTheme":[{"__symbolic":"method"}],"removeTheme":[{"__symbolic":"method"}]},"statics":{"style":null}}},"origins":{"AbstractTuiControl":"./control","TuiController":"./controller","AbstractTuiController":"./controller","AbstractTuiDialogDirective":"./dialog.directive","AbstractTuiDialogService":"./dialog.service","AbstractTuiInteractive":"./interactive","AbstractTuiMultipleControl":"./multiple-control","AbstractTuiNullableControl":"./nullable-control","AbstractTuiPortalHostComponent":"./portal-host","AbstractTuiPortalService":"./portal-service","AbstractTuiThemeSwitcher":"./theme-switcher"},"importAs":"@taiga-ui/cdk/abstract"}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/forms"),require("@taiga-ui/cdk/classes"),require("@taiga-ui/cdk/constants"),require("@taiga-ui/cdk/decorators"),require("rxjs"),require("rxjs/operators"),require("@tinkoff/ng-polymorpheus"),require("@taiga-ui/cdk/services"),require("@taiga-ui/cdk/exceptions"),require("@angular/common")):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/abstract",["exports","@angular/core","@angular/forms","@taiga-ui/cdk/classes","@taiga-ui/cdk/constants","@taiga-ui/cdk/decorators","rxjs","rxjs/operators","@tinkoff/ng-polymorpheus","@taiga-ui/cdk/services","@taiga-ui/cdk/exceptions","@angular/common"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].cdk=e["taiga-ui"].cdk||{},e["taiga-ui"].cdk.abstract={}),e.ng.core,e.ng.forms,e["taiga-ui"].cdk.classes,e["taiga-ui"].cdk.constants,e["taiga-ui"].cdk.decorators,e.rxjs,e.rxjs.operators,e.ngPolymorpheus,e["taiga-ui"].cdk.services,e["taiga-ui"].cdk.exceptions,e.ng.common)}(this,(function(e,t,o,n,r,i,u,a,s,c,l,p){"use strict";var d=function(e,t){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)};function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}var h=function(){return(h=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function g(e,t,o,n){var r,i=arguments.length,u=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(e,t,o,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(u=(i<3?r(u):i>3?r(t,o,u):r(t,o))||u);return i>3&&u&&Object.defineProperty(t,o,u),u}function y(e,t){return function(o,n){t(o,n,e)}}Object.create;function v(e,t){var o="function"==typeof Symbol&&e[Symbol.iterator];if(!o)return e;var n,r,i=o.call(e),u=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(e){r={error:e}}finally{try{n&&!n.done&&(o=i.return)&&o.call(i)}finally{if(r)throw r.error}}return u}Object.create;var b=function(){function e(){this.pseudoHovered=null,this.pseudoPressed=null,this.pseudoFocused=null,this.focusable=!0,this.nativeId="",this.focusedChange=new t.EventEmitter,this.pressedChange=new t.EventEmitter,this.hoveredChange=new t.EventEmitter,this.focusVisibleChange=new t.EventEmitter,this.hovered=!1,this.pressed=!1,this.focusVisible=!1,this.autoIdString="tui_interactive_"+o.autoId+++Date.now()}var o;return o=e,Object.defineProperty(e.prototype,"computedDisabled",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"computedHovered",{get:function(){var e;return!this.computedDisabled&&(null!==(e=this.pseudoHovered)&&void 0!==e?e:this.hovered)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"computedPressed",{get:function(){var e;return!this.computedDisabled&&(null!==(e=this.pseudoPressed)&&void 0!==e?e:this.pressed)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"computedFocusable",{get:function(){return!this.computedDisabled&&(this.focusable||this.focused)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"computedFocused",{get:function(){var e;return!this.computedDisabled&&(null!==(e=this.pseudoFocused)&&void 0!==e?e:this.focused)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"computedFocusVisible",{get:function(){var e;return!this.computedDisabled&&(null!==(e=this.pseudoFocused)&&void 0!==e?e:this.focusVisible)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.nativeId?this.nativeId:this.autoIdString},enumerable:!0,configurable:!0}),e.prototype.updateHovered=function(e){this.hovered!==e&&(this.hovered=e,this.hoveredChange.emit(e))},e.prototype.updatePressed=function(e){this.pressed!==e&&(this.pressed=e,this.pressedChange.emit(e))},e.prototype.updateFocused=function(e){this.focusedChange.emit(e)},e.prototype.updateFocusVisible=function(e){this.focusVisible!==e&&(this.focusVisible=e,this.focusVisibleChange.emit(e))},e.autoId=0,g([t.Input(),i.tuiDefaultProp()],e.prototype,"pseudoHovered",void 0),g([t.Input(),i.tuiDefaultProp()],e.prototype,"pseudoPressed",void 0),g([t.Input(),i.tuiDefaultProp()],e.prototype,"pseudoFocused",void 0),g([t.Input(),i.tuiDefaultProp()],e.prototype,"focusable",void 0),g([t.Input(),i.tuiDefaultProp()],e.prototype,"nativeId",void 0),g([t.Output()],e.prototype,"focusedChange",void 0),g([t.Output()],e.prototype,"pressedChange",void 0),g([t.Output()],e.prototype,"hoveredChange",void 0),g([t.Output()],e.prototype,"focusVisibleChange",void 0),g([t.HostBinding("class._disabled")],e.prototype,"computedDisabled",null),g([t.HostBinding("class._hovered")],e.prototype,"computedHovered",null),g([t.HostBinding("class._pressed")],e.prototype,"computedPressed",null),g([t.HostBinding("class._focused")],e.prototype,"computedFocused",null),g([t.HostBinding("class._focus-visible")],e.prototype,"computedFocusVisible",null),e=o=g([t.Directive()],e)}(),m=function(e){function s(t,o,i){var a=e.call(this)||this;return a.ngControl=t,a.changeDetectorRef=o,a.valueTransformer=i,a.onTouched=r.EMPTY_FUNCTION,a.onChange=r.EMPTY_FUNCTION,a.fallbackValue=a.getFallbackValue(),a.destroy$=new u.Subject,a.readOnly=!1,a.pseudoInvalid=null,null===a.ngControl?n.tuiAssert.assert(!1,"NgControl not injected in "+a.constructor.name+"!\n","Use [(ngModel)] or [formControl] or formControlName for correct work."):a.ngControl.valueAccessor=a,a}return f(s,e),Object.defineProperty(s.prototype,"computedInvalid",{get:function(){return this.interactive&&(null!==this.pseudoInvalid?this.pseudoInvalid:this.touched&&this.invalid)},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"value",{get:function(){var e;return null!==(e=this.previousInternalValue)&&void 0!==e?e:this.fallbackValue},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"safeCurrentValue",{get:function(){var e;return null!==(e=this.rawValue)&&void 0!==e?e:this.fallbackValue},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"invalid",{get:function(){return this.safeNgControlData((function(e){return e.invalid}),!1)},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"valid",{get:function(){return this.safeNgControlData((function(e){return e.valid}),!1)},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"touched",{get:function(){return this.safeNgControlData((function(e){return e.touched}),!1)},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"disabled",{get:function(){return this.safeNgControlData((function(e){return e.disabled}),!1)},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"interactive",{get:function(){return!this.readOnly&&!this.computedDisabled},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"control",{get:function(){return this.safeNgControlData((function(e){return e.control}),null)},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"computedName",{get:function(){var e,t;return null!==(t=null===(e=this.controlName)||void 0===e?void 0:e.toString())&&void 0!==t?t:null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"controlName",{get:function(){var e,t,o;return null!==(o=null===(t=null===(e=this.ngControl)||void 0===e?void 0:e.name)||void 0===t?void 0:t.toString())&&void 0!==o?o:null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"rawValue",{get:function(){var e=this.ngControl;if(null!==e){var t=e instanceof o.NgModel&&void 0===this.previousInternalValue?e.viewModel:e.value;return this.fromControlValue(t)}},enumerable:!0,configurable:!0}),s.prototype.ngOnInit=function(){var e,t,o=this;(null===(e=this.ngControl)||void 0===e?void 0:e.valueChanges)&&(null===(t=this.ngControl)||void 0===t?void 0:t.statusChanges)&&u.merge(this.ngControl.valueChanges,this.ngControl.statusChanges).pipe(a.takeUntil(this.destroy$)).subscribe((function(){return o.refreshLocalValue(o.safeCurrentValue)}))},s.prototype.ngOnDestroy=function(){this.destroy$.next(),this.destroy$.complete()},s.prototype.checkControlUpdate=function(){this.changeDetectorRef.markForCheck()},s.prototype.registerOnChange=function(e){var t=this;this.onChange=function(o){e(t.toControlValue(o))}},s.prototype.registerOnTouched=function(e){this.onTouched=e},s.prototype.setDisabledState=function(){this.checkControlUpdate()},s.prototype.writeValue=function(e){var t=this.ngControl instanceof o.NgModel&&void 0===this.previousInternalValue?this.ngControl.model:e;this.refreshLocalValue(this.fromControlValue(t))},s.prototype.updateFocused=function(t){t||this.controlMarkAsTouched(),e.prototype.updateFocused.call(this,t)},s.prototype.updateValue=function(e){this.disabled||this.valueIdenticalComparator(this.value,e)||(this.previousInternalValue=e,this.controlSetValue(e))},s.prototype.valueIdenticalComparator=function(e,t){return e===t},s.prototype.safeNgControlData=function(e,t){var o;return null!==(o=this.ngControl&&e(this.ngControl))&&void 0!==o?o:t},s.prototype.controlMarkAsTouched=function(){this.onTouched(),this.checkControlUpdate()},s.prototype.controlSetValue=function(e){this.onChange(e),this.checkControlUpdate()},s.prototype.refreshLocalValue=function(e){this.previousInternalValue=e,this.checkControlUpdate()},s.prototype.fromControlValue=function(e){return this.valueTransformer?this.valueTransformer.fromControlValue(e):e},s.prototype.toControlValue=function(e){return this.valueTransformer?this.valueTransformer.toControlValue(e):e},s.ctorParameters=function(){return[{type:o.NgControl},{type:t.ChangeDetectorRef},{type:void 0}]},g([t.Input(),t.HostBinding("class._readonly"),i.tuiDefaultProp()],s.prototype,"readOnly",void 0),g([t.Input(),i.tuiDefaultProp()],s.prototype,"pseudoInvalid",void 0),g([t.HostBinding("class._invalid")],s.prototype,"computedInvalid",null),s=g([t.Directive()],s)}(b),C=function(){function e(){this.change$=new u.Subject}return e.prototype.ngOnChanges=function(){this.change$.next()},e}(),j=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return f(t,e),t}(C),O=function(e){function o(t){var o=e.call(this,(function(e){return o.dialogs$.subscribe(e)}))||this;return o.idService=t,o.dialogs$=new u.BehaviorSubject([]),o}return f(o,e),o.prototype.open=function(e,t){var o=this;return void 0===t&&(t={}),new u.Observable((function(n){var r=h(h(h({},o.defaultOptions),t),{content:e,completeWith:function(e){n.next(e),n.complete()},$implicit:n,component:o.component,createdAt:Date.now(),id:o.idService.generate()});return o.dialogs$.next(function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}(o.dialogs$.value,[r])),function(){o.dialogs$.next(o.dialogs$.value.filter((function(e){return e!==r})))}}))},o.ctorParameters=function(){return[{type:c.TuiIdService,decorators:[{type:t.Inject,args:[c.TuiIdService]}]}]},o=g([t.Injectable(),y(0,t.Inject(c.TuiIdService))],o)}(u.Observable),P=function(e){function o(t,o,n){var r=e.call(this,t,o)||this;return r.service=n,r.open$=new u.Subject,r.options={},r.openChange=r.open$.pipe(a.switchMap((function(e){return e?r.service.open(r,r.options).pipe(a.ignoreElements(),a.endWith(!1)):u.EMPTY}))),r}return f(o,e),Object.defineProperty(o.prototype,"open",{set:function(e){this.open$.next(e)},enumerable:!0,configurable:!0}),o.ctorParameters=function(){return[{type:t.TemplateRef,decorators:[{type:t.Inject,args:[t.TemplateRef]}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]},{type:O,decorators:[{type:t.Inject,args:[O]}]}]},o=g([t.Directive(),y(0,t.Inject(t.TemplateRef)),y(1,t.Inject(t.ChangeDetectorRef)),y(2,t.Inject(O))],o)}(s.PolymorpheusTemplate),I=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return f(o,e),o.prototype.clear=function(){this.updateValue([])},o.prototype.getFallbackValue=function(){return[]},o=g([t.Directive()],o)}(m),T=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return f(o,e),o.prototype.getFallbackValue=function(){return null},o=g([t.Directive()],o)}(m),D=function(){function e(){}return Object.defineProperty(e.prototype,"safeHost",{get:function(){if(!this.host)throw new l.TuiNoHostException;return this.host},enumerable:!0,configurable:!0}),e.prototype.attach=function(e){this.host=e},e.prototype.add=function(e,t){return this.safeHost.addComponentChild(e,t)},e.prototype.remove=function(e){e.hostView.destroy()},e.prototype.addTemplate=function(e,t){return this.safeHost.addTemplateChild(e,t)},e.prototype.removeTemplate=function(e){e.destroy()},e=g([t.Injectable()],e)}(),V=function(){function e(e,t){this.elementRef=e,t.attach(this)}var o;return o=e,Object.defineProperty(e.prototype,"clientRect",{get:function(){return this.elementRef.nativeElement.getBoundingClientRect()},enumerable:!0,configurable:!0}),e.prototype.addComponentChild=function(e,n){return this.viewContainerRef.createComponent(e,void 0,t.Injector.create({parent:n,providers:[{provide:o,useValue:this}]}))},e.prototype.addTemplateChild=function(e,t){return this.viewContainerRef.createEmbeddedView(e,t)},e.ctorParameters=function(){return[{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:D,decorators:[{type:t.Inject,args:[D]}]}]},g([t.ViewChild("viewContainer",{read:t.ViewContainerRef})],e.prototype,"viewContainerRef",void 0),e=o=g([t.Directive(),y(0,t.Inject(t.ElementRef)),y(1,t.Inject(D))],e)}(),k=function(){function e(e){if(this.documentRef=e,null===this.style){var t=this.documentRef.head.querySelectorAll("style");this.constructor.style=t[t.length-1]}else this.addTheme()}return e,Object.defineProperty(e.prototype,"style",{get:function(){return this.constructor.style},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.removeTheme()},e.prototype.addTheme=function(){this.style&&this.documentRef.head.appendChild(this.style)},e.prototype.removeTheme=function(){this.style&&this.documentRef.head.contains(this.style)&&this.documentRef.head.removeChild(this.style)},e.style=null,e.ctorParameters=function(){return[{type:Document,decorators:[{type:t.Inject,args:[p.DOCUMENT]}]}]},e=g([t.Directive(),y(0,t.Inject(p.DOCUMENT))],e)}();e.AbstractTuiControl=m,e.AbstractTuiController=j,e.AbstractTuiDialogDirective=P,e.AbstractTuiDialogService=O,e.AbstractTuiInteractive=b,e.AbstractTuiMultipleControl=I,e.AbstractTuiNullableControl=T,e.AbstractTuiPortalHostComponent=V,e.AbstractTuiPortalService=D,e.AbstractTuiThemeSwitcher=k,e.TuiController=C,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-abstract.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","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"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__extends","TypeError","String","__","this","constructor","create","__assign","assign","t","s","i","n","arguments","length","apply","__decorate","decorators","target","key","desc","c","r","getOwnPropertyDescriptor","Reflect","decorate","defineProperty","__param","paramIndex","decorator","__read","o","m","Symbol","iterator","e","ar","next","done","push","value","error","AbstractTuiInteractive","pseudoHovered","pseudoPressed","pseudoFocused","focusable","nativeId","focusedChange","EventEmitter","pressedChange","hoveredChange","focusVisibleChange","hovered","pressed","focusVisible","autoIdString","AbstractTuiInteractive_1","autoId","Date","now","disabled","computedDisabled","_a","focused","updateHovered","emit","updatePressed","updateFocused","updateFocusVisible","Input","tuiDefaultProp","Output","HostBinding","Directive","AbstractTuiControl","ngControl","changeDetectorRef","valueTransformer","_this","_super","onTouched","EMPTY_FUNCTION","onChange","fallbackValue","getFallbackValue","destroy$","Subject","readOnly","pseudoInvalid","tuiAssert","assert","name","valueAccessor","interactive","touched","invalid","previousInternalValue","rawValue","safeNgControlData","valid","control","_b","controlName","toString","_c","controlValue","NgModel","undefined","viewModel","fromControlValue","ngOnInit","valueChanges","statusChanges","merge","pipe","takeUntil","subscribe","refreshLocalValue","safeCurrentValue","ngOnDestroy","complete","checkControlUpdate","markForCheck","registerOnChange","componentValue","toControlValue","registerOnTouched","setDisabledState","writeValue","model","controlMarkAsTouched","updateValue","valueIdenticalComparator","controlSetValue","oldValue","newValue","extractor","defaultFieldValue","NgControl","ChangeDetectorRef","TuiController","change$","ngOnChanges","AbstractTuiController","AbstractTuiDialogService","idService","observer","dialogs$","BehaviorSubject","open","content","options","Observable","dialog","defaultOptions","completeWith","result","$implicit","component","createdAt","id","generate","concat","__spread","filter","item","TuiIdService","type","Inject","args","Injectable","AbstractTuiDialogDirective","templateRef","service","open$","openChange","switchMap","ignoreElements","endWith","EMPTY","TemplateRef","PolymorpheusTemplate","AbstractTuiMultipleControl","clear","AbstractTuiNullableControl","AbstractTuiPortalService","host","TuiNoHostException","attach","add","componentFactory","injector","safeHost","addComponentChild","remove","hostView","destroy","addTemplate","context","addTemplateChild","removeTemplate","viewRef","AbstractTuiPortalHostComponent","elementRef","portalService","nativeElement","getBoundingClientRect","viewContainerRef","createComponent","Injector","parent","providers","provide","AbstractTuiPortalHostComponent_1","useValue","createEmbeddedView","ElementRef","ViewChild","read","ViewContainerRef","AbstractTuiThemeSwitcher","documentRef","style","styles","head","querySelectorAll","addTheme","removeTheme","appendChild","contains","removeChild","Document","DOCUMENT"],"mappings":"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","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {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"]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@taiga-ui/cdk/constants")):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/classes",["exports","@taiga-ui/cdk/constants"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].cdk=e["taiga-ui"].cdk||{},e["taiga-ui"].cdk.classes={}),e["taiga-ui"].cdk.constants)}(this,(function(e,t){"use strict";var i={enabled:!1,get assert(){return this.enabled?Function.prototype.bind.call(console.assert,console):t.EMPTY_FUNCTION}};var n=function(e,t){void 0===t&&(t={}),this.message=e,this.context=t};e.TuiValidationError=n,e.tuiAssert=i,e.tuiAssertIsHTMLElement=function(e){var t,n,a=null===(n=null===(t=e)||void 0===t?void 0:t.ownerDocument)||void 0===n?void 0:n.defaultView,s=!!a&&(e instanceof a.Element||e instanceof a.HTMLDocument);i.assert(s,"Node is not an Element")},Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-classes.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["ng://@taiga-ui/cdk/classes/assert.ts","ng://@taiga-ui/cdk/classes/validation-error.ts"],"names":["tuiAssert","enabled","assert","this","Function","prototype","bind","call","console","EMPTY_FUNCTION","message","context","node","defaultView","_b","_a","ownerDocument","isElement","Element","HTMLDocument"],"mappings":"sZAEaA,EAAY,CACrBC,SAAS,EACTC,aACI,OAAOC,KAAKF,QACNG,SAASC,UAAUC,KAAKC,KAAKC,QAAQN,OAAQM,SAC7CC,EAAAA,uBCJV,SACaC,EACAC,QAAA,IAAAA,IAAAA,EAAa,IADbR,KAAAO,QAAAA,EACAP,KAAAQ,QAAAA,0EDkBsBC,WAC7BC,EAA2C,QAA7BC,EAAc,QAAdC,EAACH,SAAa,IAAAG,OAAA,EAAAA,EAAEC,qBAAa,IAAAF,OAAA,EAAAA,EAC3CD,YACAI,IACAJ,IACDD,aAAgBC,EAAYK,SAAWN,aAAgBC,EAAYM,cAExEnB,EAAUE,OAAOe,EAAW","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"]}
@@ -1,2 +0,0 @@
1
- !function(e,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/coercion",["exports"],i):i(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].cdk=e["taiga-ui"].cdk||{},e["taiga-ui"].cdk.coercion={}))}(this,(function(e){"use strict";e.tuiCoerceBooleanProperty=function(e){return null!=e&&""+e!="false"},Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-coercion.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["ng://@taiga-ui/cdk/coercion/coerce-boolean-property.ts"],"names":["value"],"mappings":"6VAKIA,GAIA,OAAOA,MAAAA,GAAkD,GAAGA,GAAY","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"]}
@@ -1,2 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@taiga-ui/cdk/constants"),require("@taiga-ui/cdk/tokens"),require("@tinkoff/ng-polymorpheus"),require("@angular/common"),require("@taiga-ui/cdk/pipes")):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/components/alert-host",["exports","@angular/core","@taiga-ui/cdk/constants","@taiga-ui/cdk/tokens","@tinkoff/ng-polymorpheus","@angular/common","@taiga-ui/cdk/pipes"],e):e(((t=t||self)["taiga-ui"]=t["taiga-ui"]||{},t["taiga-ui"].cdk=t["taiga-ui"].cdk||{},t["taiga-ui"].cdk.components=t["taiga-ui"].cdk.components||{},t["taiga-ui"].cdk.components["alert-host"]={}),t.ng.core,t["taiga-ui"].cdk.constants,t["taiga-ui"].cdk.tokens,t.ngPolymorpheus,t.ng.common,t["taiga-ui"].cdk.pipes)}(this,(function(t,e,n,o,i,r,a){"use strict";function c(t,e,n,o){var i,r=arguments.length,a=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,o);else for(var c=t.length-1;c>=0;c--)(i=t[c])&&(a=(r<3?i(a):r>3?i(e,n,a):i(e,n))||a);return r>3&&a&&Object.defineProperty(e,n,a),a}function u(t,e){return function(n,o){e(n,o,t)}}Object.create;Object.create;var s=function(){function t(t,n){var o=this;this.alerts=t,this.injector=n,this.mapper=function(t){return e.Injector.create({providers:[{provide:i.POLYMORPHEUS_CONTEXT,useValue:t}],parent:o.injector})}}return t.ctorParameters=function(){return[{type:Array,decorators:[{type:e.Inject,args:[o.TUI_ALERTS]}]},{type:e.Injector,decorators:[{type:e.Inject,args:[e.INJECTOR]}]}]},t=c([e.Component({selector:"tui-alert-host",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',changeDetection:e.ChangeDetectionStrategy.OnPush,animations:[n.TUI_PARENT_ANIMATION],encapsulation:e.ViewEncapsulation.None,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}"]}),u(0,e.Inject(o.TUI_ALERTS)),u(1,e.Inject(e.INJECTOR))],t)}(),p=function(){function t(){}return t=c([e.NgModule({imports:[r.CommonModule,a.TuiMapperPipeModule],declarations:[s],exports:[s]})],t)}();t.TuiAlertHostComponent=s,t.TuiAlertHostModule=p,Object.defineProperty(t,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-components-alert-host.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/cdk/components/alert-host/alert-host.component.ts","ng://@taiga-ui/cdk/components/alert-host/alert-host.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","create","TuiAlertHostComponent","alerts","injector","_this","this","mapper","useValue","Injector","providers","provide","POLYMORPHEUS_CONTEXT","parent","Array","type","Inject","args","TUI_ALERTS","INJECTOR","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","animations","TUI_PARENT_ANIMATION","encapsulation","ViewEncapsulation","None","TuiAlertHostModule","NgModule","imports","CommonModule","TuiMapperPipeModule","declarations","exports"],"mappings":"k1BAsDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GAChJ,OAAOH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,EAGzD,SAASO,EAAQC,EAAYC,GAChC,OAAO,SAAUhB,EAAQC,GAAOe,EAAUhB,EAAQC,EAAKc,IA6C9BP,OAAOS,OA0GXT,OAAOS,wBC9L5B,SAAAC,EACiCC,EACMC,GAFvC,IAAAC,EAAAC,KACiCA,KAAAH,OAAAA,EACMG,KAAAF,SAAAA,EAG9BE,KAAAC,OAAuC,SAAAC,GAC5C,OAAAC,EAAAA,SAASR,OAAO,CACZS,UAAW,CACP,CACIC,QAASC,EAAAA,qBACTJ,SAAQA,IAGhBK,OAAQR,EAAKD,YAEzB,gDAd6CU,MAAK/B,WAAA,CAAA,CAAAgC,KAAzCC,EAAAA,OAAMC,KAAA,CAACC,EAAAA,qBACqCT,EAAAA,SAAQ1B,WAAA,CAAA,CAAAgC,KAApDC,EAAAA,OAAMC,KAAA,CAACE,EAAAA,eAHHjB,EAAqBpB,EAAA,CARjCsC,EAAAA,UAAU,CACPC,SAAU,iBACVC,SAAA,mUAEAC,gBAAiBC,EAAAA,wBAAwBC,OACzCC,WAAY,CAACC,EAAAA,sBACbC,cAAeC,EAAAA,kBAAkBC,mOAI5BhC,EAAA,EAAAkB,EAAAA,OAAOE,EAAAA,aACPpB,EAAA,EAAAkB,EAAAA,OAAOG,EAAAA,YAHHjB,mBCXb,SAAA6B,KAAiC,OAApBA,EAAkBjD,EAAA,CAL9BkD,EAAAA,SAAS,CACNC,QAAS,CAACC,EAAAA,aAAcC,EAAAA,qBACxBC,aAAc,CAAClC,GACfmC,QAAS,CAACnC,MAED6B","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {\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"]}
@@ -1,2 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/platform-browser"),require("@ng-web-apis/common"),require("@taiga-ui/cdk/constants"),require("@taiga-ui/cdk/tokens"),require("rxjs"),require("rxjs/operators"),require("@angular/common"),require("@taiga-ui/cdk/directives"),require("@taiga-ui/cdk/directives/focus-trap"),require("@taiga-ui/cdk/directives/overscroll"),require("@tinkoff/ng-polymorpheus")):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/components/dialog-host",["exports","@angular/core","@angular/platform-browser","@ng-web-apis/common","@taiga-ui/cdk/constants","@taiga-ui/cdk/tokens","rxjs","rxjs/operators","@angular/common","@taiga-ui/cdk/directives","@taiga-ui/cdk/directives/focus-trap","@taiga-ui/cdk/directives/overscroll","@tinkoff/ng-polymorpheus"],e):e(((t=t||self)["taiga-ui"]=t["taiga-ui"]||{},t["taiga-ui"].cdk=t["taiga-ui"].cdk||{},t["taiga-ui"].cdk.components=t["taiga-ui"].cdk.components||{},t["taiga-ui"].cdk.components["dialog-host"]={}),t.ng.core,t.ng.platformBrowser,t.common,t["taiga-ui"].cdk.constants,t["taiga-ui"].cdk.tokens,t.rxjs,t.rxjs.operators,t.ng.common,t["taiga-ui"].cdk.directives,t["taiga-ui"].cdk.directives["focus-trap"],t["taiga-ui"].cdk.directives.overscroll,t.ngPolymorpheus)}(this,(function(t,e,o,i,r,n,a,s,c,l,u,g,d){"use strict";function p(t,e,o,i){var r,n=arguments.length,a=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,o,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(n<3?r(a):n>3?r(e,o,a):r(e,o))||a);return n>3&&a&&Object.defineProperty(e,o,a),a}function f(t,e){return function(o,i){e(o,i,t)}}Object.create;function y(t,e){var o="function"==typeof Symbol&&t[Symbol.iterator];if(!o)return t;var i,r,n=o.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(o=n.return)&&o.call(n)}finally{if(r)throw r.error}}return a}Object.create;var m=new e.InjectionToken("Is closing dialog on browser backward navigation enabled",{factory:function(){return a.of(!1)}}),h={label:"ignoreMe"},v=function(t){return(null==t?void 0:t.label)===h.label},k=function(){function t(t,e,o,i){this.isDialogClosesOnBack$=t,this.dialogsByType=e,this.historyRef=o,this.titleService=i,this.dialogs$=a.combineLatest(this.dialogsByType).pipe(s.map((function(t){var e;return(e=new Array).concat.apply(e,function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(y(arguments[e]));return t}(t)).sort((function(t,e){return t.createdAt-e.createdAt}))})))}return t.prototype.closeLast=function(t,e){if(e){var o=y(t.slice(-1),1)[0];o&&(t.length>1&&this.historyRef.pushState(h,this.titleService.getTitle()),o.$implicit.complete())}},t.prototype.onDialog=function(t,e,o){var i=t.propertyName;o&&"letter-spacing"===i&&(e?this.historyRef.pushState(h,this.titleService.getTitle()):v(this.historyRef.state)&&this.historyRef.back())},t.ctorParameters=function(){return[{type:a.Observable,decorators:[{type:e.Inject,args:[m]}]},{type:Array,decorators:[{type:e.Inject,args:[n.TUI_DIALOGS]}]},{type:History,decorators:[{type:e.Inject,args:[i.HISTORY]}]},{type:o.Title,decorators:[{type:e.Inject,args:[o.Title]}]}]},t=p([e.Component({selector:"tui-dialog-host",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',changeDetection:e.ChangeDetectionStrategy.OnPush,animations:[r.TUI_PARENT_ANIMATION],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}"]}),f(0,e.Inject(m)),f(1,e.Inject(n.TUI_DIALOGS)),f(2,e.Inject(i.HISTORY)),f(3,e.Inject(o.Title))],t)}(),b=function(){function t(){}return t=p([e.NgModule({imports:[c.CommonModule,d.PolymorpheusModule,g.TuiOverscrollModule,u.TuiFocusTrapModule,l.TuiLetModule],declarations:[k],exports:[k]})],t)}();t.FAKE_HISTORY_STATE=h,t.TUI_DIALOG_CLOSES_ON_BACK=m,t.TuiDialogHostComponent=k,t.TuiDialogHostModule=b,t.isFakeHistoryState=v,Object.defineProperty(t,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-components-dialog-host.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/cdk/components/dialog-host/dialog-host.component.ts","ng://@taiga-ui/cdk/components/dialog-host/dialog-host.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","create","__read","o","n","m","Symbol","iterator","e","call","ar","next","done","push","value","error","TUI_DIALOG_CLOSES_ON_BACK","InjectionToken","factory","of","FAKE_HISTORY_STATE","label","isFakeHistoryState","historyState","TuiDialogHostComponent","isDialogClosesOnBack$","dialogsByType","historyRef","titleService","this","dialogs$","combineLatest","pipe","map","allTypesDialogs","_a","Array","concat","apply","__spread","sort","a","b","createdAt","prototype","closeLast","dialogs","isDialogClosesOnBack","last","slice","pushState","getTitle","$implicit","complete","onDialog","popupOpened","propertyName","state","back","Observable","type","Inject","args","TUI_DIALOGS","History","HISTORY","Title","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","animations","TUI_PARENT_ANIMATION","TuiDialogHostModule","NgModule","imports","CommonModule","PolymorpheusModule","TuiOverscrollModule","TuiFocusTrapModule","TuiLetModule","declarations","exports"],"mappings":"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","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {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"]}
@@ -1,2 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@taiga-ui/cdk/abstract"),require("@taiga-ui/cdk/components/portal-host"),require("@taiga-ui/cdk/constants")):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/components/dropdown-host",["exports","@angular/core","@taiga-ui/cdk/abstract","@taiga-ui/cdk/components/portal-host","@taiga-ui/cdk/constants"],e):e(((t=t||self)["taiga-ui"]=t["taiga-ui"]||{},t["taiga-ui"].cdk=t["taiga-ui"].cdk||{},t["taiga-ui"].cdk.components=t["taiga-ui"].cdk.components||{},t["taiga-ui"].cdk.components["dropdown-host"]={}),t.ng.core,t["taiga-ui"].cdk.abstract,t["taiga-ui"].cdk.components["portal-host"],t["taiga-ui"].cdk.constants)}(this,(function(t,e,o,n,i){"use strict";var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])})(t,e)};function c(t,e,o,n){var i,r=arguments.length,c=r<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,o,n);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(c=(r<3?i(c):r>3?i(e,o,c):i(e,o))||c);return r>3&&c&&Object.defineProperty(e,o,c),c}Object.create;Object.create;var a=function(t){function a(){return null!==t&&t.apply(this,arguments)||this}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}(a,t),a.prototype.fixedPositionOffset=function(){var t;return(null===(t=this.positionFixedOffsetRef)||void 0===t?void 0:t.nativeElement.getBoundingClientRect())||i.EMPTY_CLIENT_RECT},c([e.ViewChild("positionFixedOffset")],a.prototype,"positionFixedOffsetRef",void 0),a=c([e.Component({selector:"tui-dropdown-host",template:'<div\n #positionFixedOffset\n class="t-position-fixed-offset"\n></div>\n<ng-content></ng-content>\n<ng-container #viewContainer></ng-container>\n',changeDetection:e.ChangeDetectionStrategy.OnPush,providers:[{provide:o.AbstractTuiPortalService,useExisting:n.TuiPortalService}],styles:[":host{position:relative;z-index:0;display:block;height:100%}:host:before{content:'';display:block;overflow:hidden}.t-position-fixed-offset{position:fixed;left:0;top:0;pointer-events:none;visibility:hidden;width:100%;height:100%}"]})],a)}(o.AbstractTuiPortalHostComponent),s=function(){function t(){}return t=c([e.NgModule({declarations:[a],exports:[a]})],t)}();t.TuiDropdownHostComponent=a,t.TuiDropdownHostModule=s,Object.defineProperty(t,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-components-dropdown-host.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/cdk/components/dropdown-host/dropdown-host.component.ts","ng://@taiga-ui/cdk/components/dropdown-host/dropdown-host.module.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","create","TuiDropdownHostComponent","TypeError","String","__","this","constructor","__extends","_super","fixedPositionOffset","_a","positionFixedOffsetRef","nativeElement","getBoundingClientRect","EMPTY_CLIENT_RECT","ViewChild","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","providers","provide","AbstractTuiPortalService","useExisting","TuiPortalService","AbstractTuiPortalHostComponent","TuiDropdownHostModule","NgModule","declarations","exports"],"mappings":"uwBAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOC,OAAOK,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,MAC3EN,EAAGC,IAkCrB,SAASS,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2Hd,EAAvHe,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOZ,OAAOiB,yBAAyBP,EAAQC,GAAOC,EACrH,GAAuB,iBAAZM,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAASV,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIQ,EAAIX,EAAWM,OAAS,EAAGK,GAAK,EAAGA,KAAStB,EAAIW,EAAWW,MAAIJ,GAAKH,EAAI,EAAIf,EAAEkB,GAAKH,EAAI,EAAIf,EAAEY,EAAQC,EAAKK,GAAKlB,EAAEY,EAAQC,KAASK,GAChJ,OAAOH,EAAI,GAAKG,GAAKhB,OAAOqB,eAAeX,EAAQC,EAAKK,GAAIA,EAiDnChB,OAAOsB,OA0GXtB,OAAOsB,yBCnMhC,SAAAC,mDAUA,ODLO,SAAmBzB,EAAGC,GACzB,GAAiB,mBAANA,GAA0B,OAANA,EAC3B,MAAM,IAAIyB,UAAU,uBAAyBC,OAAO1B,GAAK,iCAE7D,SAAS2B,IAAOC,KAAKC,YAAc9B,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEO,UAAkB,OAANN,EAAaC,OAAOsB,OAAOvB,IAAM2B,EAAGrB,UAAYN,EAAEM,UAAW,IAAIqB,GCVrCG,CAAAN,EAAAO,GAI1CP,EAAAlB,UAAA0B,oBAAA,iBACI,OAC+B,QAA3BC,EAAAL,KAAKM,8BAAsB,IAAAD,OAAA,EAAAA,EAAEE,cAAcC,0BAC3CC,EAAAA,mBALR5B,EAAA,CADC6B,EAAAA,UAAU,qEADFd,EAAwBf,EAAA,CAPpC8B,EAAAA,UAAU,CACPC,SAAU,oBACVC,SAAA,0JAEAC,gBAAiBC,EAAAA,wBAAwBC,OACzCC,UAAW,CAAC,CAACC,QAASC,EAAAA,yBAA0BC,YAAaC,EAAAA,sQAEpDzB,IAAiC0B,EAAAA,6CCV9C,SAAAC,KAAoC,OAAvBA,EAAqB1C,EAAA,CAJjC2C,EAAAA,SAAS,CACNC,aAAc,CAAC7B,GACf8B,QAAS,CAAC9B,MAED2B","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {ChangeDetectionStrategy, Component, ElementRef, ViewChild} from '@angular/core';\nimport {\n AbstractTuiPortalHostComponent,\n AbstractTuiPortalService,\n} from '@taiga-ui/cdk/abstract';\nimport {TuiPortalService} from '@taiga-ui/cdk/components/portal-host';\nimport {EMPTY_CLIENT_RECT} from '@taiga-ui/cdk/constants';\n\n/**\n * Host element for dynamically created portals, for example using {@link TuiDropdownDirective}.\n */\n@Component({\n selector: `tui-dropdown-host`,\n templateUrl: `./dropdown-host.template.html`,\n styleUrls: [`./dropdown-host.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [{provide: AbstractTuiPortalService, useExisting: TuiPortalService}],\n})\nexport class TuiDropdownHostComponent extends AbstractTuiPortalHostComponent {\n @ViewChild(`positionFixedOffset`)\n private readonly positionFixedOffsetRef?: ElementRef<HTMLDivElement>;\n\n fixedPositionOffset(): ClientRect {\n return (\n this.positionFixedOffsetRef?.nativeElement.getBoundingClientRect() ||\n EMPTY_CLIENT_RECT\n );\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiDropdownHostComponent} from './dropdown-host.component';\n\n@NgModule({\n declarations: [TuiDropdownHostComponent],\n exports: [TuiDropdownHostComponent],\n})\nexport class TuiDropdownHostModule {}\n"]}