@taiga-ui/cdk 2.54.0 → 3.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1680) hide show
  1. package/abstract/control.d.ts +3 -0
  2. package/abstract/controller.d.ts +4 -7
  3. package/abstract/dialog.directive.d.ts +3 -0
  4. package/abstract/dialog.service.d.ts +3 -0
  5. package/abstract/interactive.d.ts +6 -19
  6. package/abstract/multiple-control.d.ts +3 -0
  7. package/abstract/nullable-control.d.ts +3 -0
  8. package/abstract/package.json +2 -5
  9. package/abstract/portal-host.d.ts +3 -0
  10. package/abstract/portal-service.d.ts +3 -0
  11. package/abstract/taiga-ui-cdk-abstract.d.ts +1 -0
  12. package/abstract/theme-switcher.d.ts +3 -0
  13. package/bundles/taiga-ui-cdk-abstract.umd.js +550 -489
  14. package/bundles/taiga-ui-cdk-abstract.umd.js.map +1 -1
  15. package/bundles/taiga-ui-cdk-classes.umd.js +14 -12
  16. package/bundles/taiga-ui-cdk-classes.umd.js.map +1 -1
  17. package/bundles/taiga-ui-cdk-coercion.umd.js +8 -4
  18. package/bundles/taiga-ui-cdk-coercion.umd.js.map +1 -1
  19. package/bundles/taiga-ui-cdk-components-alert-host.umd.js +68 -284
  20. package/bundles/taiga-ui-cdk-components-alert-host.umd.js.map +1 -1
  21. package/bundles/taiga-ui-cdk-components-dialog-host.umd.js +421 -296
  22. package/bundles/taiga-ui-cdk-components-dialog-host.umd.js.map +1 -1
  23. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js +403 -270
  24. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js.map +1 -1
  25. package/bundles/taiga-ui-cdk-components.umd.js +11 -25
  26. package/bundles/taiga-ui-cdk-components.umd.js.map +1 -1
  27. package/bundles/taiga-ui-cdk-constants.umd.js +34 -29
  28. package/bundles/taiga-ui-cdk-constants.umd.js.map +1 -1
  29. package/bundles/taiga-ui-cdk-date-time.umd.js +393 -461
  30. package/bundles/taiga-ui-cdk-date-time.umd.js.map +1 -1
  31. package/bundles/taiga-ui-cdk-decorators.umd.js +336 -260
  32. package/bundles/taiga-ui-cdk-decorators.umd.js.map +1 -1
  33. package/bundles/taiga-ui-cdk-directives-active-zone.umd.js +407 -294
  34. package/bundles/taiga-ui-cdk-directives-active-zone.umd.js.map +1 -1
  35. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js +463 -345
  36. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js.map +1 -1
  37. package/bundles/taiga-ui-cdk-directives-autofilled.umd.js +102 -316
  38. package/bundles/taiga-ui-cdk-directives-autofilled.umd.js.map +1 -1
  39. package/bundles/taiga-ui-cdk-directives-checked.umd.js +64 -282
  40. package/bundles/taiga-ui-cdk-directives-checked.umd.js.map +1 -1
  41. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js +384 -273
  42. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js.map +1 -1
  43. package/bundles/taiga-ui-cdk-directives-drag.umd.js +63 -280
  44. package/bundles/taiga-ui-cdk-directives-drag.umd.js.map +1 -1
  45. package/bundles/taiga-ui-cdk-directives-droppable.umd.js +61 -278
  46. package/bundles/taiga-ui-cdk-directives-droppable.umd.js.map +1 -1
  47. package/bundles/taiga-ui-cdk-directives-element.umd.js +377 -267
  48. package/bundles/taiga-ui-cdk-directives-element.umd.js.map +1 -1
  49. package/bundles/taiga-ui-cdk-directives-focus-trap.umd.js +66 -281
  50. package/bundles/taiga-ui-cdk-directives-focus-trap.umd.js.map +1 -1
  51. package/bundles/taiga-ui-cdk-directives-focus-visible.umd.js +51 -267
  52. package/bundles/taiga-ui-cdk-directives-focus-visible.umd.js.map +1 -1
  53. package/bundles/taiga-ui-cdk-directives-focusable.umd.js +50 -268
  54. package/bundles/taiga-ui-cdk-directives-focusable.umd.js.map +1 -1
  55. package/bundles/taiga-ui-cdk-directives-focused.umd.js +54 -271
  56. package/bundles/taiga-ui-cdk-directives-focused.umd.js.map +1 -1
  57. package/bundles/taiga-ui-cdk-directives-for-async.umd.js +380 -271
  58. package/bundles/taiga-ui-cdk-directives-for-async.umd.js.map +1 -1
  59. package/bundles/taiga-ui-cdk-directives-for.umd.js +54 -274
  60. package/bundles/taiga-ui-cdk-directives-for.umd.js.map +1 -1
  61. package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js +54 -269
  62. package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js.map +1 -1
  63. package/bundles/taiga-ui-cdk-directives-hovered.umd.js +415 -286
  64. package/bundles/taiga-ui-cdk-directives-hovered.umd.js.map +1 -1
  65. package/bundles/taiga-ui-cdk-directives-input-mode.umd.js +67 -279
  66. package/bundles/taiga-ui-cdk-directives-input-mode.umd.js.map +1 -1
  67. package/bundles/taiga-ui-cdk-directives-item.umd.js +62 -281
  68. package/bundles/taiga-ui-cdk-directives-item.umd.js.map +1 -1
  69. package/bundles/taiga-ui-cdk-directives-let.umd.js +55 -272
  70. package/bundles/taiga-ui-cdk-directives-let.umd.js.map +1 -1
  71. package/bundles/taiga-ui-cdk-directives-media.umd.js +433 -313
  72. package/bundles/taiga-ui-cdk-directives-media.umd.js.map +1 -1
  73. package/bundles/taiga-ui-cdk-directives-obscured.umd.js +397 -284
  74. package/bundles/taiga-ui-cdk-directives-obscured.umd.js.map +1 -1
  75. package/bundles/taiga-ui-cdk-directives-overscroll.umd.js +79 -293
  76. package/bundles/taiga-ui-cdk-directives-overscroll.umd.js.map +1 -1
  77. package/bundles/taiga-ui-cdk-directives-pan.umd.js +51 -267
  78. package/bundles/taiga-ui-cdk-directives-pan.umd.js.map +1 -1
  79. package/bundles/taiga-ui-cdk-directives-portal.umd.js +57 -273
  80. package/bundles/taiga-ui-cdk-directives-portal.umd.js.map +1 -1
  81. package/bundles/taiga-ui-cdk-directives-pressed.umd.js +53 -270
  82. package/bundles/taiga-ui-cdk-directives-pressed.umd.js.map +1 -1
  83. package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js +60 -273
  84. package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js.map +1 -1
  85. package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js +384 -272
  86. package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js.map +1 -1
  87. package/bundles/taiga-ui-cdk-directives-resize.umd.js +51 -267
  88. package/bundles/taiga-ui-cdk-directives-resize.umd.js.map +1 -1
  89. package/bundles/taiga-ui-cdk-directives-swipe.umd.js +51 -267
  90. package/bundles/taiga-ui-cdk-directives-swipe.umd.js.map +1 -1
  91. package/bundles/taiga-ui-cdk-directives-validator.umd.js +388 -274
  92. package/bundles/taiga-ui-cdk-directives-validator.umd.js.map +1 -1
  93. package/bundles/taiga-ui-cdk-directives-zoom.umd.js +54 -270
  94. package/bundles/taiga-ui-cdk-directives-zoom.umd.js.map +1 -1
  95. package/bundles/taiga-ui-cdk-directives.umd.js +71 -125
  96. package/bundles/taiga-ui-cdk-directives.umd.js.map +1 -1
  97. package/bundles/taiga-ui-cdk-enums.umd.js +14 -62
  98. package/bundles/taiga-ui-cdk-enums.umd.js.map +1 -1
  99. package/bundles/taiga-ui-cdk-exceptions.umd.js +351 -308
  100. package/bundles/taiga-ui-cdk-exceptions.umd.js.map +1 -1
  101. package/bundles/taiga-ui-cdk-interfaces.umd.js +2 -2
  102. package/bundles/taiga-ui-cdk-interfaces.umd.js.map +1 -1
  103. package/bundles/taiga-ui-cdk-observables.umd.js +25 -32
  104. package/bundles/taiga-ui-cdk-observables.umd.js.map +1 -1
  105. package/bundles/taiga-ui-cdk-pipes-filter.umd.js +369 -260
  106. package/bundles/taiga-ui-cdk-pipes-filter.umd.js.map +1 -1
  107. package/bundles/taiga-ui-cdk-pipes-mapper.umd.js +369 -260
  108. package/bundles/taiga-ui-cdk-pipes-mapper.umd.js.map +1 -1
  109. package/bundles/taiga-ui-cdk-pipes.umd.js +7 -11
  110. package/bundles/taiga-ui-cdk-pipes.umd.js.map +1 -1
  111. package/bundles/taiga-ui-cdk-services.umd.js +595 -479
  112. package/bundles/taiga-ui-cdk-services.umd.js.map +1 -1
  113. package/bundles/taiga-ui-cdk-tokens.umd.js +378 -301
  114. package/bundles/taiga-ui-cdk-tokens.umd.js.map +1 -1
  115. package/bundles/taiga-ui-cdk-types.umd.js +2 -2
  116. package/bundles/taiga-ui-cdk-types.umd.js.map +1 -1
  117. package/bundles/taiga-ui-cdk-utils-browser.umd.js +14 -22
  118. package/bundles/taiga-ui-cdk-utils-browser.umd.js.map +1 -1
  119. package/bundles/taiga-ui-cdk-utils-dom.umd.js +23 -52
  120. package/bundles/taiga-ui-cdk-utils-dom.umd.js.map +1 -1
  121. package/bundles/taiga-ui-cdk-utils-focus.umd.js +64 -86
  122. package/bundles/taiga-ui-cdk-utils-focus.umd.js.map +1 -1
  123. package/bundles/taiga-ui-cdk-utils-format.umd.js +8 -26
  124. package/bundles/taiga-ui-cdk-utils-format.umd.js.map +1 -1
  125. package/bundles/taiga-ui-cdk-utils-math.umd.js +13 -24
  126. package/bundles/taiga-ui-cdk-utils-math.umd.js.map +1 -1
  127. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js +26 -33
  128. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js.map +1 -1
  129. package/bundles/taiga-ui-cdk-utils-os.umd.js +8 -4
  130. package/bundles/taiga-ui-cdk-utils-os.umd.js.map +1 -1
  131. package/bundles/taiga-ui-cdk-utils-svg.umd.js +334 -254
  132. package/bundles/taiga-ui-cdk-utils-svg.umd.js.map +1 -1
  133. package/bundles/taiga-ui-cdk-utils.umd.js +19 -35
  134. package/bundles/taiga-ui-cdk-utils.umd.js.map +1 -1
  135. package/bundles/taiga-ui-cdk.umd.js +47 -65
  136. package/bundles/taiga-ui-cdk.umd.js.map +1 -1
  137. package/classes/assert.d.ts +1 -1
  138. package/classes/package.json +2 -5
  139. package/classes/taiga-ui-cdk-classes.d.ts +1 -0
  140. package/coercion/package.json +2 -5
  141. package/coercion/taiga-ui-cdk-coercion.d.ts +1 -0
  142. package/components/alert-host/alert-host.component.d.ts +3 -0
  143. package/components/alert-host/alert-host.module.d.ts +7 -0
  144. package/components/alert-host/package.json +2 -5
  145. package/components/alert-host/taiga-ui-cdk-components-alert-host.d.ts +1 -0
  146. package/components/dialog-host/dialog-host.component.d.ts +3 -6
  147. package/components/dialog-host/dialog-host.module.d.ts +10 -0
  148. package/components/dialog-host/package.json +2 -5
  149. package/components/dialog-host/taiga-ui-cdk-components-dialog-host.d.ts +1 -0
  150. package/components/dropdown-host/dropdown-host.component.d.ts +3 -0
  151. package/components/dropdown-host/dropdown-host.module.d.ts +5 -0
  152. package/components/dropdown-host/dropdown-portal.service.d.ts +9 -0
  153. package/components/dropdown-host/index.d.ts +1 -0
  154. package/components/dropdown-host/package.json +2 -5
  155. package/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.d.ts +1 -0
  156. package/components/index.d.ts +0 -1
  157. package/components/package.json +2 -5
  158. package/components/taiga-ui-cdk-components.d.ts +1 -0
  159. package/constants/empty.d.ts +0 -3
  160. package/constants/package.json +2 -5
  161. package/constants/taiga-ui-cdk-constants.d.ts +1 -0
  162. package/constants/unicode-chars.d.ts +9 -2
  163. package/date-time/date-fillers.d.ts +0 -9
  164. package/date-time/day-range.d.ts +5 -7
  165. package/date-time/day.d.ts +0 -16
  166. package/date-time/month-range.d.ts +0 -4
  167. package/date-time/month.d.ts +0 -17
  168. package/date-time/package.json +2 -5
  169. package/date-time/taiga-ui-cdk-date-time.d.ts +1 -0
  170. package/date-time/year.d.ts +0 -16
  171. package/decorators/package.json +2 -5
  172. package/decorators/taiga-ui-cdk-decorators.d.ts +1 -0
  173. package/directives/active-zone/active-zone.directive.d.ts +3 -0
  174. package/directives/active-zone/active-zone.module.d.ts +5 -0
  175. package/directives/active-zone/package.json +2 -5
  176. package/directives/active-zone/taiga-ui-cdk-directives-active-zone.d.ts +1 -0
  177. package/directives/auto-focus/autofocus.directive.d.ts +3 -0
  178. package/directives/auto-focus/autofocus.module.d.ts +5 -0
  179. package/directives/auto-focus/autofocus.options.d.ts +3 -2
  180. package/directives/auto-focus/handlers/abstract.handler.d.ts +3 -0
  181. package/directives/auto-focus/handlers/default.handler.d.ts +3 -0
  182. package/directives/auto-focus/handlers/ios.handler.d.ts +3 -0
  183. package/directives/auto-focus/package.json +2 -5
  184. package/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.d.ts +1 -0
  185. package/directives/autofilled/autofilled-style.component.d.ts +3 -0
  186. package/directives/autofilled/autofilled.directive.d.ts +3 -0
  187. package/directives/autofilled/autofilled.module.d.ts +6 -0
  188. package/directives/autofilled/package.json +2 -5
  189. package/directives/autofilled/taiga-ui-cdk-directives-autofilled.d.ts +1 -0
  190. package/directives/checked/checked.directive.d.ts +3 -0
  191. package/directives/checked/checked.module.d.ts +5 -0
  192. package/directives/checked/package.json +2 -5
  193. package/directives/checked/taiga-ui-cdk-directives-checked.d.ts +1 -0
  194. package/directives/copy-processor/copy-processor.directive.d.ts +3 -0
  195. package/directives/copy-processor/copy-processor.module.d.ts +5 -0
  196. package/directives/copy-processor/package.json +2 -5
  197. package/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.d.ts +1 -0
  198. package/directives/drag/drag.directive.d.ts +3 -0
  199. package/directives/drag/drag.module.d.ts +5 -0
  200. package/directives/drag/package.json +2 -5
  201. package/directives/drag/taiga-ui-cdk-directives-drag.d.ts +1 -0
  202. package/directives/droppable/droppable.directive.d.ts +3 -0
  203. package/directives/droppable/droppable.module.d.ts +5 -0
  204. package/directives/droppable/package.json +2 -5
  205. package/directives/droppable/taiga-ui-cdk-directives-droppable.d.ts +1 -0
  206. package/directives/element/element.directive.d.ts +3 -0
  207. package/directives/element/element.module.d.ts +5 -0
  208. package/directives/element/package.json +2 -5
  209. package/directives/element/taiga-ui-cdk-directives-element.d.ts +1 -0
  210. package/directives/focus-trap/focus-trap.directive.d.ts +3 -0
  211. package/directives/focus-trap/focus-trap.module.d.ts +5 -0
  212. package/directives/focus-trap/package.json +2 -5
  213. package/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.d.ts +1 -0
  214. package/directives/focus-visible/focus-visible.directive.d.ts +3 -0
  215. package/directives/focus-visible/focus-visible.module.d.ts +5 -0
  216. package/directives/focus-visible/package.json +2 -5
  217. package/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.d.ts +1 -0
  218. package/directives/focusable/focusable.directive.d.ts +3 -0
  219. package/directives/focusable/focusable.module.d.ts +5 -0
  220. package/directives/focusable/package.json +2 -5
  221. package/directives/focusable/taiga-ui-cdk-directives-focusable.d.ts +1 -0
  222. package/directives/focused/focused.directive.d.ts +3 -0
  223. package/directives/focused/focused.module.d.ts +5 -0
  224. package/directives/focused/package.json +2 -5
  225. package/directives/focused/taiga-ui-cdk-directives-focused.d.ts +1 -0
  226. package/directives/for/for.directive.d.ts +3 -0
  227. package/directives/for/for.module.d.ts +5 -0
  228. package/directives/for/package.json +2 -5
  229. package/directives/for/taiga-ui-cdk-directives-for.d.ts +1 -0
  230. package/directives/for-async/for-async.directive.d.ts +3 -0
  231. package/directives/for-async/for-async.module.d.ts +5 -0
  232. package/directives/for-async/package.json +2 -5
  233. package/directives/for-async/taiga-ui-cdk-directives-for-async.d.ts +1 -0
  234. package/directives/high-dpi/high-dpi.directive.d.ts +3 -0
  235. package/directives/high-dpi/high-dpi.module.d.ts +5 -0
  236. package/directives/high-dpi/package.json +2 -5
  237. package/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.d.ts +1 -0
  238. package/directives/hovered/hovered.directive.d.ts +6 -5
  239. package/directives/hovered/hovered.module.d.ts +5 -0
  240. package/directives/hovered/hovered.service.d.ts +11 -0
  241. package/directives/hovered/index.d.ts +1 -0
  242. package/directives/hovered/package.json +2 -5
  243. package/directives/hovered/taiga-ui-cdk-directives-hovered.d.ts +1 -0
  244. package/directives/index.d.ts +1 -0
  245. package/directives/input-mode/input-mode.directive.d.ts +5 -2
  246. package/directives/input-mode/input-mode.module.d.ts +5 -0
  247. package/directives/input-mode/package.json +2 -5
  248. package/directives/input-mode/taiga-ui-cdk-directives-input-mode.d.ts +1 -0
  249. package/directives/item/item.directive.d.ts +4 -2
  250. package/directives/item/item.module.d.ts +5 -0
  251. package/directives/item/package.json +2 -5
  252. package/directives/item/taiga-ui-cdk-directives-item.d.ts +1 -0
  253. package/directives/let/let.directive.d.ts +3 -0
  254. package/directives/let/let.module.d.ts +5 -0
  255. package/directives/let/package.json +2 -5
  256. package/directives/let/taiga-ui-cdk-directives-let.d.ts +1 -0
  257. package/directives/media/media.directive.d.ts +3 -0
  258. package/directives/media/media.module.d.ts +5 -0
  259. package/directives/media/package.json +2 -5
  260. package/directives/media/taiga-ui-cdk-directives-media.d.ts +1 -0
  261. package/directives/obscured/obscured.directive.d.ts +3 -0
  262. package/directives/obscured/obscured.module.d.ts +5 -0
  263. package/directives/obscured/package.json +2 -5
  264. package/directives/obscured/taiga-ui-cdk-directives-obscured.d.ts +1 -0
  265. package/directives/overscroll/overscroll.directive.d.ts +5 -2
  266. package/directives/overscroll/overscroll.module.d.ts +5 -0
  267. package/directives/overscroll/package.json +2 -5
  268. package/directives/overscroll/taiga-ui-cdk-directives-overscroll.d.ts +1 -0
  269. package/directives/package.json +2 -5
  270. package/directives/pan/package.json +2 -5
  271. package/directives/pan/pan.directive.d.ts +3 -0
  272. package/directives/pan/pan.module.d.ts +5 -0
  273. package/directives/pan/taiga-ui-cdk-directives-pan.d.ts +1 -0
  274. package/directives/portal/package.json +2 -5
  275. package/directives/portal/portal.directive.d.ts +5 -2
  276. package/directives/portal/portal.module.d.ts +5 -0
  277. package/directives/portal/taiga-ui-cdk-directives-portal.d.ts +1 -0
  278. package/directives/pressed/package.json +2 -5
  279. package/directives/pressed/pressed.directive.d.ts +3 -0
  280. package/directives/pressed/pressed.module.d.ts +5 -0
  281. package/directives/pressed/taiga-ui-cdk-directives-pressed.d.ts +1 -0
  282. package/directives/prevent-default/package.json +2 -5
  283. package/directives/prevent-default/prevent-default.directive.d.ts +3 -0
  284. package/directives/prevent-default/prevent-default.module.d.ts +5 -0
  285. package/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.d.ts +1 -0
  286. package/directives/repeat-times/package.json +2 -5
  287. package/directives/repeat-times/repeat-times.directive.d.ts +3 -0
  288. package/directives/repeat-times/repeat-times.module.d.ts +5 -0
  289. package/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.d.ts +1 -0
  290. package/directives/resize/package.json +2 -5
  291. package/directives/resize/resize.directive.d.ts +3 -1
  292. package/directives/resize/resize.module.d.ts +5 -0
  293. package/directives/resize/taiga-ui-cdk-directives-resize.d.ts +1 -0
  294. package/directives/swipe/package.json +2 -5
  295. package/directives/swipe/swipe.directive.d.ts +3 -0
  296. package/directives/swipe/swipe.module.d.ts +5 -0
  297. package/directives/swipe/taiga-ui-cdk-directives-swipe.d.ts +1 -0
  298. package/directives/taiga-ui-cdk-directives.d.ts +1 -0
  299. package/directives/validator/package.json +2 -5
  300. package/directives/validator/taiga-ui-cdk-directives-validator.d.ts +1 -0
  301. package/directives/validator/validator.directive.d.ts +3 -0
  302. package/directives/validator/validator.module.d.ts +5 -0
  303. package/directives/zoom/package.json +2 -5
  304. package/directives/zoom/taiga-ui-cdk-directives-zoom.d.ts +1 -0
  305. package/directives/zoom/zoom.directive.d.ts +3 -0
  306. package/directives/zoom/zoom.module.d.ts +5 -0
  307. package/enums/autocomplete.d.ts +0 -10
  308. package/enums/index.d.ts +0 -3
  309. package/enums/package.json +2 -5
  310. package/enums/taiga-ui-cdk-enums.d.ts +1 -0
  311. package/esm2015/abstract/control.js +23 -21
  312. package/esm2015/abstract/controller.js +9 -8
  313. package/esm2015/abstract/dialog.directive.js +19 -16
  314. package/esm2015/abstract/dialog.service.js +13 -12
  315. package/esm2015/abstract/index.js +1 -1
  316. package/esm2015/abstract/interactive.js +43 -85
  317. package/esm2015/abstract/multiple-control.js +9 -8
  318. package/esm2015/abstract/nullable-control.js +9 -8
  319. package/esm2015/abstract/portal-host.js +21 -20
  320. package/esm2015/abstract/portal-service.js +9 -8
  321. package/esm2015/abstract/taiga-ui-cdk-abstract.js +1 -1
  322. package/esm2015/abstract/theme-switcher.js +13 -14
  323. package/esm2015/classes/assert.js +7 -9
  324. package/esm2015/classes/index.js +1 -1
  325. package/esm2015/classes/taiga-ui-cdk-classes.js +1 -1
  326. package/esm2015/classes/validation-error.js +1 -1
  327. package/esm2015/coercion/coerce-boolean-property.js +2 -2
  328. package/esm2015/coercion/index.js +1 -1
  329. package/esm2015/coercion/taiga-ui-cdk-coercion.js +1 -1
  330. package/esm2015/components/alert-host/alert-host.component.js +25 -21
  331. package/esm2015/components/alert-host/alert-host.module.js +15 -12
  332. package/esm2015/components/alert-host/index.js +1 -1
  333. package/esm2015/components/alert-host/taiga-ui-cdk-components-alert-host.js +1 -1
  334. package/esm2015/components/dialog-host/dialog-host.component.js +40 -31
  335. package/esm2015/components/dialog-host/dialog-host.module.js +26 -13
  336. package/esm2015/components/dialog-host/index.js +1 -1
  337. package/esm2015/components/dialog-host/taiga-ui-cdk-components-dialog-host.js +1 -1
  338. package/esm2015/components/dropdown-host/dropdown-host.component.js +24 -18
  339. package/esm2015/components/dropdown-host/dropdown-host.module.js +14 -11
  340. package/esm2015/components/dropdown-host/dropdown-portal.service.js +17 -0
  341. package/esm2015/components/dropdown-host/index.js +2 -1
  342. package/esm2015/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.js +1 -1
  343. package/esm2015/components/index.js +1 -2
  344. package/esm2015/components/taiga-ui-cdk-components.js +1 -1
  345. package/esm2015/constants/always-false-handler.js +1 -1
  346. package/esm2015/constants/always-true-handler.js +1 -1
  347. package/esm2015/constants/browser.js +1 -1
  348. package/esm2015/constants/empty.js +1 -3
  349. package/esm2015/constants/index.js +1 -1
  350. package/esm2015/constants/matcher.js +1 -1
  351. package/esm2015/constants/parent-animation.js +5 -5
  352. package/esm2015/constants/polling-time.js +1 -1
  353. package/esm2015/constants/stringify.js +1 -1
  354. package/esm2015/constants/svg-node-filter.js +2 -2
  355. package/esm2015/constants/taiga-ui-cdk-constants.js +1 -1
  356. package/esm2015/constants/unicode-chars.js +19 -12
  357. package/esm2015/date-time/date-fillers.js +1 -17
  358. package/esm2015/date-time/date-format.js +3 -3
  359. package/esm2015/date-time/date-separator.js +3 -3
  360. package/esm2015/date-time/date-time.js +1 -1
  361. package/esm2015/date-time/day-range.js +6 -16
  362. package/esm2015/date-time/day.js +23 -57
  363. package/esm2015/date-time/days.const.js +1 -1
  364. package/esm2015/date-time/index.js +1 -1
  365. package/esm2015/date-time/month-range.js +1 -7
  366. package/esm2015/date-time/month.js +7 -35
  367. package/esm2015/date-time/taiga-ui-cdk-date-time.js +1 -1
  368. package/esm2015/date-time/time.js +13 -14
  369. package/esm2015/date-time/year.js +6 -34
  370. package/esm2015/decorators/default-prop.js +1 -1
  371. package/esm2015/decorators/index.js +1 -1
  372. package/esm2015/decorators/pure.js +2 -2
  373. package/esm2015/decorators/required-setter.js +1 -1
  374. package/esm2015/decorators/taiga-ui-cdk-decorators.js +1 -1
  375. package/esm2015/directives/active-zone/active-zone.directive.js +37 -30
  376. package/esm2015/directives/active-zone/active-zone.module.js +14 -11
  377. package/esm2015/directives/active-zone/index.js +1 -1
  378. package/esm2015/directives/active-zone/taiga-ui-cdk-directives-active-zone.js +1 -1
  379. package/esm2015/directives/auto-focus/autofocus.directive.js +18 -18
  380. package/esm2015/directives/auto-focus/autofocus.module.js +14 -11
  381. package/esm2015/directives/auto-focus/autofocus.options.js +5 -10
  382. package/esm2015/directives/auto-focus/handlers/abstract.handler.js +11 -14
  383. package/esm2015/directives/auto-focus/handlers/default.handler.js +25 -20
  384. package/esm2015/directives/auto-focus/handlers/ios.handler.js +45 -39
  385. package/esm2015/directives/auto-focus/index.js +1 -1
  386. package/esm2015/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.js +1 -1
  387. package/esm2015/directives/autofilled/autofilled-style.component.js +14 -12
  388. package/esm2015/directives/autofilled/autofilled.directive.js +26 -25
  389. package/esm2015/directives/autofilled/autofilled.module.js +15 -12
  390. package/esm2015/directives/autofilled/index.js +1 -1
  391. package/esm2015/directives/autofilled/taiga-ui-cdk-directives-autofilled.js +1 -1
  392. package/esm2015/directives/checked/checked.directive.js +29 -29
  393. package/esm2015/directives/checked/checked.module.js +14 -11
  394. package/esm2015/directives/checked/index.js +1 -1
  395. package/esm2015/directives/checked/taiga-ui-cdk-directives-checked.js +1 -1
  396. package/esm2015/directives/copy-processor/copy-processor.directive.js +22 -19
  397. package/esm2015/directives/copy-processor/copy-processor.module.js +14 -11
  398. package/esm2015/directives/copy-processor/index.js +1 -1
  399. package/esm2015/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.js +1 -1
  400. package/esm2015/directives/drag/drag.directive.js +24 -23
  401. package/esm2015/directives/drag/drag.module.js +14 -11
  402. package/esm2015/directives/drag/index.js +1 -1
  403. package/esm2015/directives/drag/taiga-ui-cdk-directives-drag.js +1 -1
  404. package/esm2015/directives/droppable/droppable.directive.js +28 -27
  405. package/esm2015/directives/droppable/droppable.module.js +14 -11
  406. package/esm2015/directives/droppable/index.js +1 -1
  407. package/esm2015/directives/droppable/taiga-ui-cdk-directives-droppable.js +1 -1
  408. package/esm2015/directives/element/element.directive.js +16 -15
  409. package/esm2015/directives/element/element.module.js +14 -11
  410. package/esm2015/directives/element/index.js +1 -1
  411. package/esm2015/directives/element/taiga-ui-cdk-directives-element.js +1 -1
  412. package/esm2015/directives/focus-trap/focus-trap.directive.js +35 -32
  413. package/esm2015/directives/focus-trap/focus-trap.module.js +14 -11
  414. package/esm2015/directives/focus-trap/index.js +1 -1
  415. package/esm2015/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.js +1 -1
  416. package/esm2015/directives/focus-visible/focus-visible.directive.js +18 -17
  417. package/esm2015/directives/focus-visible/focus-visible.module.js +14 -11
  418. package/esm2015/directives/focus-visible/index.js +1 -1
  419. package/esm2015/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.js +1 -1
  420. package/esm2015/directives/focusable/focusable.directive.js +18 -16
  421. package/esm2015/directives/focusable/focusable.module.js +14 -11
  422. package/esm2015/directives/focusable/index.js +1 -1
  423. package/esm2015/directives/focusable/taiga-ui-cdk-directives-focusable.js +1 -1
  424. package/esm2015/directives/focused/focused.directive.js +22 -21
  425. package/esm2015/directives/focused/focused.module.js +14 -11
  426. package/esm2015/directives/focused/index.js +1 -1
  427. package/esm2015/directives/focused/taiga-ui-cdk-directives-focused.js +1 -1
  428. package/esm2015/directives/for/for.directive.js +22 -24
  429. package/esm2015/directives/for/for.module.js +14 -11
  430. package/esm2015/directives/for/index.js +1 -1
  431. package/esm2015/directives/for/taiga-ui-cdk-directives-for.js +1 -1
  432. package/esm2015/directives/for-async/for-async.directive.js +21 -21
  433. package/esm2015/directives/for-async/for-async.module.js +14 -11
  434. package/esm2015/directives/for-async/index.js +1 -1
  435. package/esm2015/directives/for-async/taiga-ui-cdk-directives-for-async.js +1 -1
  436. package/esm2015/directives/high-dpi/high-dpi.directive.js +21 -18
  437. package/esm2015/directives/high-dpi/high-dpi.module.js +14 -11
  438. package/esm2015/directives/high-dpi/index.js +1 -1
  439. package/esm2015/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.js +1 -1
  440. package/esm2015/directives/hovered/hovered.directive.js +22 -38
  441. package/esm2015/directives/hovered/hovered.module.js +14 -11
  442. package/esm2015/directives/hovered/hovered.service.js +36 -0
  443. package/esm2015/directives/hovered/index.js +2 -1
  444. package/esm2015/directives/hovered/taiga-ui-cdk-directives-hovered.js +1 -1
  445. package/esm2015/directives/index.js +2 -1
  446. package/esm2015/directives/input-mode/index.js +1 -1
  447. package/esm2015/directives/input-mode/input-mode.directive.js +33 -27
  448. package/esm2015/directives/input-mode/input-mode.module.js +14 -11
  449. package/esm2015/directives/input-mode/taiga-ui-cdk-directives-input-mode.js +1 -1
  450. package/esm2015/directives/item/index.js +1 -1
  451. package/esm2015/directives/item/item.directive.js +13 -12
  452. package/esm2015/directives/item/item.module.js +14 -11
  453. package/esm2015/directives/item/taiga-ui-cdk-directives-item.js +1 -1
  454. package/esm2015/directives/let/index.js +1 -1
  455. package/esm2015/directives/let/let-context.js +1 -1
  456. package/esm2015/directives/let/let.directive.js +20 -19
  457. package/esm2015/directives/let/let.module.js +14 -11
  458. package/esm2015/directives/let/taiga-ui-cdk-directives-let.js +1 -1
  459. package/esm2015/directives/media/index.js +1 -1
  460. package/esm2015/directives/media/media.directive.js +59 -47
  461. package/esm2015/directives/media/media.module.js +14 -11
  462. package/esm2015/directives/media/taiga-ui-cdk-directives-media.js +1 -1
  463. package/esm2015/directives/obscured/index.js +1 -1
  464. package/esm2015/directives/obscured/obscured.directive.js +30 -23
  465. package/esm2015/directives/obscured/obscured.module.js +14 -11
  466. package/esm2015/directives/obscured/taiga-ui-cdk-directives-obscured.js +1 -1
  467. package/esm2015/directives/overscroll/index.js +1 -1
  468. package/esm2015/directives/overscroll/overscroll.directive.js +37 -34
  469. package/esm2015/directives/overscroll/overscroll.module.js +14 -11
  470. package/esm2015/directives/overscroll/taiga-ui-cdk-directives-overscroll.js +1 -1
  471. package/esm2015/directives/pan/index.js +1 -1
  472. package/esm2015/directives/pan/pan.directive.js +18 -17
  473. package/esm2015/directives/pan/pan.module.js +14 -11
  474. package/esm2015/directives/pan/taiga-ui-cdk-directives-pan.js +1 -1
  475. package/esm2015/directives/portal/index.js +1 -1
  476. package/esm2015/directives/portal/portal.directive.js +23 -21
  477. package/esm2015/directives/portal/portal.module.js +14 -11
  478. package/esm2015/directives/portal/taiga-ui-cdk-directives-portal.js +1 -1
  479. package/esm2015/directives/pressed/index.js +1 -1
  480. package/esm2015/directives/pressed/pressed.directive.js +20 -19
  481. package/esm2015/directives/pressed/pressed.module.js +14 -11
  482. package/esm2015/directives/pressed/taiga-ui-cdk-directives-pressed.js +1 -1
  483. package/esm2015/directives/prevent-default/index.js +1 -1
  484. package/esm2015/directives/prevent-default/prevent-default.directive.js +27 -22
  485. package/esm2015/directives/prevent-default/prevent-default.module.js +14 -11
  486. package/esm2015/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.js +1 -1
  487. package/esm2015/directives/repeat-times/index.js +1 -1
  488. package/esm2015/directives/repeat-times/repeat-times.directive.js +21 -17
  489. package/esm2015/directives/repeat-times/repeat-times.module.js +14 -11
  490. package/esm2015/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.js +1 -1
  491. package/esm2015/directives/resize/index.js +1 -1
  492. package/esm2015/directives/resize/resize.directive.js +18 -17
  493. package/esm2015/directives/resize/resize.module.js +14 -11
  494. package/esm2015/directives/resize/taiga-ui-cdk-directives-resize.js +1 -1
  495. package/esm2015/directives/swipe/index.js +1 -1
  496. package/esm2015/directives/swipe/swipe.directive.js +18 -17
  497. package/esm2015/directives/swipe/swipe.module.js +14 -11
  498. package/esm2015/directives/swipe/taiga-ui-cdk-directives-swipe.js +1 -1
  499. package/esm2015/directives/taiga-ui-cdk-directives.js +1 -1
  500. package/esm2015/directives/validator/index.js +1 -1
  501. package/esm2015/directives/validator/taiga-ui-cdk-directives-validator.js +1 -1
  502. package/esm2015/directives/validator/validator.directive.js +27 -18
  503. package/esm2015/directives/validator/validator.module.js +14 -11
  504. package/esm2015/directives/zoom/index.js +1 -1
  505. package/esm2015/directives/zoom/taiga-ui-cdk-directives-zoom.js +1 -1
  506. package/esm2015/directives/zoom/zoom.directive.js +21 -20
  507. package/esm2015/directives/zoom/zoom.module.js +14 -11
  508. package/esm2015/enums/autocomplete.js +1 -11
  509. package/esm2015/enums/day-of-week.js +1 -1
  510. package/esm2015/enums/index.js +1 -4
  511. package/esm2015/enums/month-number.js +1 -1
  512. package/esm2015/enums/taiga-ui-cdk-enums.js +1 -1
  513. package/esm2015/exceptions/computed-document.exception.js +2 -2
  514. package/esm2015/exceptions/document-selection.exception.js +2 -2
  515. package/esm2015/exceptions/index.js +1 -1
  516. package/esm2015/exceptions/invalid-day.exception.js +2 -9
  517. package/esm2015/exceptions/invalid-month.exception.js +2 -9
  518. package/esm2015/exceptions/invalid-year.exception.js +2 -9
  519. package/esm2015/exceptions/no-host.exception.js +2 -2
  520. package/esm2015/exceptions/owner-document.exception.js +2 -2
  521. package/esm2015/exceptions/pure.exception.js +2 -2
  522. package/esm2015/exceptions/table-sort-key.exception.js +2 -2
  523. package/esm2015/exceptions/taiga-ui-cdk-exceptions.js +1 -1
  524. package/esm2015/exceptions/ts-parser.exception.js +2 -2
  525. package/esm2015/exceptions/value-changes.exception.js +2 -2
  526. package/esm2015/exceptions/value-present.exception.js +2 -2
  527. package/esm2015/exceptions/xml-parsing.exception.js +2 -2
  528. package/esm2015/index.js +3 -1
  529. package/esm2015/interfaces/alert-context.js +2 -1
  530. package/esm2015/interfaces/aria-dialog-context.js +2 -1
  531. package/esm2015/interfaces/base-dialog-context.js +2 -1
  532. package/esm2015/interfaces/base-dialog.js +2 -1
  533. package/esm2015/interfaces/context-with-implicit.js +2 -1
  534. package/esm2015/interfaces/control-value-transformer.js +2 -1
  535. package/esm2015/interfaces/day-like.js +2 -1
  536. package/esm2015/interfaces/focusable-element-accessor.js +2 -1
  537. package/esm2015/interfaces/index.js +14 -1
  538. package/esm2015/interfaces/month-like.js +2 -1
  539. package/esm2015/interfaces/swipe.js +2 -1
  540. package/esm2015/interfaces/taiga-ui-cdk-interfaces.js +2 -1
  541. package/esm2015/interfaces/time-like.js +2 -1
  542. package/esm2015/interfaces/year-like.js +2 -1
  543. package/esm2015/interfaces/zoom.js +2 -1
  544. package/esm2015/observables/drag-and-drop-from.js +2 -2
  545. package/esm2015/observables/focus-visible-observable.js +7 -7
  546. package/esm2015/observables/index.js +1 -1
  547. package/esm2015/observables/is-alive.js +1 -1
  548. package/esm2015/observables/items-query-list-observable.js +1 -1
  549. package/esm2015/observables/mouse-drag-finish-from.js +2 -2
  550. package/esm2015/observables/must-be-present.js +1 -1
  551. package/esm2015/observables/pressed-observable.js +2 -2
  552. package/esm2015/observables/prevent-default.js +1 -1
  553. package/esm2015/observables/replay-control-value-changes.js +2 -3
  554. package/esm2015/observables/stop-propagation.js +1 -1
  555. package/esm2015/observables/taiga-ui-cdk-observables.js +1 -1
  556. package/esm2015/observables/typed-from-event.js +1 -1
  557. package/esm2015/observables/watch.js +1 -1
  558. package/esm2015/observables/zone-free.js +1 -1
  559. package/esm2015/pipes/filter/filter.module.js +14 -11
  560. package/esm2015/pipes/filter/filter.pipe.js +10 -8
  561. package/esm2015/pipes/filter/index.js +1 -1
  562. package/esm2015/pipes/filter/taiga-ui-cdk-pipes-filter.js +1 -1
  563. package/esm2015/pipes/index.js +1 -1
  564. package/esm2015/pipes/mapper/index.js +1 -1
  565. package/esm2015/pipes/mapper/mapper.module.js +14 -11
  566. package/esm2015/pipes/mapper/mapper.pipe.js +10 -8
  567. package/esm2015/pipes/mapper/taiga-ui-cdk-pipes-mapper.js +1 -1
  568. package/esm2015/pipes/taiga-ui-cdk-pipes.js +1 -1
  569. package/esm2015/services/destroy.service.js +9 -8
  570. package/esm2015/services/directive-styles.service.js +27 -27
  571. package/esm2015/services/focus-visible.service.js +19 -16
  572. package/esm2015/services/id.service.js +13 -14
  573. package/esm2015/services/index.js +1 -2
  574. package/esm2015/services/obscured.service.js +32 -24
  575. package/esm2015/services/pan.service.js +19 -18
  576. package/esm2015/services/parents-scroll.service.js +16 -15
  577. package/esm2015/services/resize.service.js +28 -23
  578. package/esm2015/services/scroll.service.js +22 -22
  579. package/esm2015/services/static-request.service.js +12 -12
  580. package/esm2015/services/swipe.service.js +19 -17
  581. package/esm2015/services/taiga-ui-cdk-services.js +1 -1
  582. package/esm2015/services/zoom.service.js +17 -16
  583. package/esm2015/taiga-ui-cdk.js +1 -1
  584. package/esm2015/tokens/active-element.js +9 -9
  585. package/esm2015/tokens/alerts.js +2 -2
  586. package/esm2015/tokens/default-renderer.js +2 -2
  587. package/esm2015/tokens/dialogs.js +2 -2
  588. package/esm2015/tokens/focusable-item-accessor.js +2 -2
  589. package/esm2015/tokens/index.js +1 -1
  590. package/esm2015/tokens/is-android.js +2 -2
  591. package/esm2015/tokens/is-apple.js +2 -2
  592. package/esm2015/tokens/is-chromium.js +2 -2
  593. package/esm2015/tokens/is-cypress.js +2 -2
  594. package/esm2015/tokens/is-firefox.js +3 -3
  595. package/esm2015/tokens/is-ios.js +2 -2
  596. package/esm2015/tokens/is-mobile.js +2 -2
  597. package/esm2015/tokens/is-webkit.js +2 -2
  598. package/esm2015/tokens/removed-element.js +3 -4
  599. package/esm2015/tokens/sanitizer.js +2 -2
  600. package/esm2015/tokens/swipe-options.js +2 -2
  601. package/esm2015/tokens/taiga-ui-cdk-tokens.js +1 -1
  602. package/esm2015/tokens/take-only-trusted-events.js +2 -2
  603. package/esm2015/tokens/touch-supported.js +3 -3
  604. package/esm2015/tokens/window-height.js +3 -3
  605. package/esm2015/tokens/zoom-options.js +2 -2
  606. package/esm2015/types/date-mode.js +2 -1
  607. package/esm2015/types/dialog.js +2 -1
  608. package/esm2015/types/event-with.js +2 -1
  609. package/esm2015/types/handler.js +2 -1
  610. package/esm2015/types/index.js +11 -1
  611. package/esm2015/types/input-mode.js +2 -1
  612. package/esm2015/types/input-type.js +2 -1
  613. package/esm2015/types/mapper.js +2 -1
  614. package/esm2015/types/matcher.js +2 -1
  615. package/esm2015/types/overscroll-mode.js +2 -1
  616. package/esm2015/types/taiga-ui-cdk-types.js +2 -1
  617. package/esm2015/types/time-mode.js +2 -1
  618. package/esm2015/utils/browser/index.js +1 -1
  619. package/esm2015/utils/browser/is-edge-older-than.js +3 -8
  620. package/esm2015/utils/browser/is-edge.js +2 -2
  621. package/esm2015/utils/browser/is-firefox.js +2 -2
  622. package/esm2015/utils/browser/is-ie.js +3 -8
  623. package/esm2015/utils/browser/is-safari.js +2 -2
  624. package/esm2015/utils/browser/taiga-ui-cdk-utils-browser.js +1 -1
  625. package/esm2015/utils/dom/can-scroll.js +1 -1
  626. package/esm2015/utils/dom/contains-or-after.js +1 -1
  627. package/esm2015/utils/dom/get-actual-target.js +2 -2
  628. package/esm2015/utils/dom/get-clipboard-data-text.js +4 -4
  629. package/esm2015/utils/dom/get-document-or-shadow-root.js +2 -2
  630. package/esm2015/utils/dom/get-element-obscurers.js +1 -1
  631. package/esm2015/utils/dom/get-element-offset.js +2 -2
  632. package/esm2015/utils/dom/get-scroll-parent.js +1 -1
  633. package/esm2015/utils/dom/get-selected-text.js +1 -1
  634. package/esm2015/utils/dom/index.js +1 -3
  635. package/esm2015/utils/dom/is-current-target.js +1 -1
  636. package/esm2015/utils/dom/is-form-field.js +4 -4
  637. package/esm2015/utils/dom/is-inside-iframe.js +1 -1
  638. package/esm2015/utils/dom/is-node-in.js +4 -5
  639. package/esm2015/utils/dom/point-to-client-rect.js +1 -1
  640. package/esm2015/utils/dom/taiga-ui-cdk-utils-dom.js +1 -1
  641. package/esm2015/utils/focus/blur-native-focused.js +4 -5
  642. package/esm2015/utils/focus/get-closest-keyboard-focusable.js +7 -13
  643. package/esm2015/utils/focus/get-native-focused.js +2 -4
  644. package/esm2015/utils/focus/index.js +1 -1
  645. package/esm2015/utils/focus/is-native-focused-in.js +4 -6
  646. package/esm2015/utils/focus/is-native-focused.js +4 -6
  647. package/esm2015/utils/focus/is-native-keyboard-focusable.js +15 -18
  648. package/esm2015/utils/focus/is-native-mouse-focusable.js +6 -7
  649. package/esm2015/utils/focus/move-focus.js +4 -6
  650. package/esm2015/utils/focus/set-native-focused.js +1 -1
  651. package/esm2015/utils/focus/set-native-mouse-focused.js +5 -5
  652. package/esm2015/utils/focus/taiga-ui-cdk-utils-focus.js +1 -1
  653. package/esm2015/utils/format/index.js +1 -2
  654. package/esm2015/utils/format/px.js +3 -5
  655. package/esm2015/utils/format/taiga-ui-cdk-utils-format.js +1 -1
  656. package/esm2015/utils/index.js +1 -1
  657. package/esm2015/utils/math/clamp.js +1 -1
  658. package/esm2015/utils/math/in-range.js +2 -12
  659. package/esm2015/utils/math/index.js +1 -1
  660. package/esm2015/utils/math/normalize-to-int-number.js +2 -5
  661. package/esm2015/utils/math/quantize.js +1 -1
  662. package/esm2015/utils/math/round.js +5 -5
  663. package/esm2015/utils/math/sum.js +1 -1
  664. package/esm2015/utils/math/taiga-ui-cdk-utils-math.js +1 -1
  665. package/esm2015/utils/math/to-int.js +1 -1
  666. package/esm2015/utils/math/to-radians.js +1 -1
  667. package/esm2015/utils/miscellaneous/distance-between-touches.js +1 -1
  668. package/esm2015/utils/miscellaneous/ease-in-out-quad.js +2 -2
  669. package/esm2015/utils/miscellaneous/flat-length.js +1 -1
  670. package/esm2015/utils/miscellaneous/get-original-array-from-query-list.js +1 -1
  671. package/esm2015/utils/miscellaneous/get-swipe-direction.js +3 -3
  672. package/esm2015/utils/miscellaneous/identity.js +1 -1
  673. package/esm2015/utils/miscellaneous/index.js +2 -2
  674. package/esm2015/utils/miscellaneous/is-element-editable.js +1 -1
  675. package/esm2015/utils/miscellaneous/is-number.js +2 -2
  676. package/esm2015/utils/miscellaneous/is-present.js +1 -1
  677. package/esm2015/utils/miscellaneous/is-string.js +4 -0
  678. package/esm2015/utils/miscellaneous/mark-control-as-touched-and-validate.js +1 -1
  679. package/esm2015/utils/miscellaneous/nullable-same.js +2 -5
  680. package/esm2015/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.js +1 -1
  681. package/esm2015/utils/miscellaneous/uniq-by.js +1 -1
  682. package/esm2015/utils/os/index.js +1 -1
  683. package/esm2015/utils/os/is-apple-platform.js +2 -2
  684. package/esm2015/utils/os/is-apple.js +1 -1
  685. package/esm2015/utils/os/is-ios.js +1 -1
  686. package/esm2015/utils/os/taiga-ui-cdk-utils-os.js +1 -1
  687. package/esm2015/utils/svg/index.js +1 -1
  688. package/esm2015/utils/svg/svg-linear-gradient-processor.js +2 -2
  689. package/esm2015/utils/svg/taiga-ui-cdk-utils-svg.js +1 -1
  690. package/esm2015/utils/taiga-ui-cdk-utils.js +1 -1
  691. package/exceptions/invalid-day.exception.d.ts +1 -7
  692. package/exceptions/invalid-month.exception.d.ts +1 -7
  693. package/exceptions/invalid-year.exception.d.ts +1 -7
  694. package/exceptions/package.json +2 -5
  695. package/exceptions/taiga-ui-cdk-exceptions.d.ts +1 -0
  696. package/fesm2015/taiga-ui-cdk-abstract.js +147 -175
  697. package/fesm2015/taiga-ui-cdk-abstract.js.map +1 -1
  698. package/fesm2015/taiga-ui-cdk-classes.js +7 -9
  699. package/fesm2015/taiga-ui-cdk-classes.js.map +1 -1
  700. package/fesm2015/taiga-ui-cdk-coercion.js +1 -1
  701. package/fesm2015/taiga-ui-cdk-coercion.js.map +1 -1
  702. package/fesm2015/taiga-ui-cdk-components-alert-host.js +38 -29
  703. package/fesm2015/taiga-ui-cdk-components-alert-host.js.map +1 -1
  704. package/fesm2015/taiga-ui-cdk-components-dialog-host.js +65 -41
  705. package/fesm2015/taiga-ui-cdk-components-dialog-host.js.map +1 -1
  706. package/fesm2015/taiga-ui-cdk-components-dropdown-host.js +51 -27
  707. package/fesm2015/taiga-ui-cdk-components-dropdown-host.js.map +1 -1
  708. package/fesm2015/taiga-ui-cdk-components.js +0 -1
  709. package/fesm2015/taiga-ui-cdk-components.js.map +1 -1
  710. package/fesm2015/taiga-ui-cdk-constants.js +24 -19
  711. package/fesm2015/taiga-ui-cdk-constants.js.map +1 -1
  712. package/fesm2015/taiga-ui-cdk-date-time.js +50 -169
  713. package/fesm2015/taiga-ui-cdk-date-time.js.map +1 -1
  714. package/fesm2015/taiga-ui-cdk-decorators.js +1 -1
  715. package/fesm2015/taiga-ui-cdk-decorators.js.map +1 -1
  716. package/fesm2015/taiga-ui-cdk-directives-active-zone.js +48 -36
  717. package/fesm2015/taiga-ui-cdk-directives-active-zone.js.map +1 -1
  718. package/fesm2015/taiga-ui-cdk-directives-auto-focus.js +109 -98
  719. package/fesm2015/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
  720. package/fesm2015/taiga-ui-cdk-directives-autofilled.js +51 -42
  721. package/fesm2015/taiga-ui-cdk-directives-autofilled.js.map +1 -1
  722. package/fesm2015/taiga-ui-cdk-directives-checked.js +41 -36
  723. package/fesm2015/taiga-ui-cdk-directives-checked.js.map +1 -1
  724. package/fesm2015/taiga-ui-cdk-directives-copy-processor.js +34 -26
  725. package/fesm2015/taiga-ui-cdk-directives-copy-processor.js.map +1 -1
  726. package/fesm2015/taiga-ui-cdk-directives-drag.js +36 -30
  727. package/fesm2015/taiga-ui-cdk-directives-drag.js.map +1 -1
  728. package/fesm2015/taiga-ui-cdk-directives-droppable.js +40 -34
  729. package/fesm2015/taiga-ui-cdk-directives-droppable.js.map +1 -1
  730. package/fesm2015/taiga-ui-cdk-directives-element.js +28 -22
  731. package/fesm2015/taiga-ui-cdk-directives-element.js.map +1 -1
  732. package/fesm2015/taiga-ui-cdk-directives-focus-trap.js +46 -38
  733. package/fesm2015/taiga-ui-cdk-directives-focus-trap.js.map +1 -1
  734. package/fesm2015/taiga-ui-cdk-directives-focus-visible.js +30 -24
  735. package/fesm2015/taiga-ui-cdk-directives-focus-visible.js.map +1 -1
  736. package/fesm2015/taiga-ui-cdk-directives-focusable.js +30 -23
  737. package/fesm2015/taiga-ui-cdk-directives-focusable.js.map +1 -1
  738. package/fesm2015/taiga-ui-cdk-directives-focused.js +34 -28
  739. package/fesm2015/taiga-ui-cdk-directives-focused.js.map +1 -1
  740. package/fesm2015/taiga-ui-cdk-directives-for-async.js +32 -27
  741. package/fesm2015/taiga-ui-cdk-directives-for-async.js.map +1 -1
  742. package/fesm2015/taiga-ui-cdk-directives-for.js +33 -30
  743. package/fesm2015/taiga-ui-cdk-directives-for.js.map +1 -1
  744. package/fesm2015/taiga-ui-cdk-directives-high-dpi.js +33 -25
  745. package/fesm2015/taiga-ui-cdk-directives-high-dpi.js.map +1 -1
  746. package/fesm2015/taiga-ui-cdk-directives-hovered.js +63 -41
  747. package/fesm2015/taiga-ui-cdk-directives-hovered.js.map +1 -1
  748. package/fesm2015/taiga-ui-cdk-directives-input-mode.js +45 -34
  749. package/fesm2015/taiga-ui-cdk-directives-input-mode.js.map +1 -1
  750. package/fesm2015/taiga-ui-cdk-directives-item.js +24 -18
  751. package/fesm2015/taiga-ui-cdk-directives-item.js.map +1 -1
  752. package/fesm2015/taiga-ui-cdk-directives-let.js +32 -26
  753. package/fesm2015/taiga-ui-cdk-directives-let.js.map +1 -1
  754. package/fesm2015/taiga-ui-cdk-directives-media.js +71 -54
  755. package/fesm2015/taiga-ui-cdk-directives-media.js.map +1 -1
  756. package/fesm2015/taiga-ui-cdk-directives-obscured.js +42 -30
  757. package/fesm2015/taiga-ui-cdk-directives-obscured.js.map +1 -1
  758. package/fesm2015/taiga-ui-cdk-directives-overscroll.js +49 -41
  759. package/fesm2015/taiga-ui-cdk-directives-overscroll.js.map +1 -1
  760. package/fesm2015/taiga-ui-cdk-directives-pan.js +30 -24
  761. package/fesm2015/taiga-ui-cdk-directives-pan.js.map +1 -1
  762. package/fesm2015/taiga-ui-cdk-directives-portal.js +34 -27
  763. package/fesm2015/taiga-ui-cdk-directives-portal.js.map +1 -1
  764. package/fesm2015/taiga-ui-cdk-directives-pressed.js +32 -26
  765. package/fesm2015/taiga-ui-cdk-directives-pressed.js.map +1 -1
  766. package/fesm2015/taiga-ui-cdk-directives-prevent-default.js +39 -29
  767. package/fesm2015/taiga-ui-cdk-directives-prevent-default.js.map +1 -1
  768. package/fesm2015/taiga-ui-cdk-directives-repeat-times.js +33 -24
  769. package/fesm2015/taiga-ui-cdk-directives-repeat-times.js.map +1 -1
  770. package/fesm2015/taiga-ui-cdk-directives-resize.js +30 -24
  771. package/fesm2015/taiga-ui-cdk-directives-resize.js.map +1 -1
  772. package/fesm2015/taiga-ui-cdk-directives-swipe.js +30 -24
  773. package/fesm2015/taiga-ui-cdk-directives-swipe.js.map +1 -1
  774. package/fesm2015/taiga-ui-cdk-directives-validator.js +39 -25
  775. package/fesm2015/taiga-ui-cdk-directives-validator.js.map +1 -1
  776. package/fesm2015/taiga-ui-cdk-directives-zoom.js +33 -27
  777. package/fesm2015/taiga-ui-cdk-directives-zoom.js.map +1 -1
  778. package/fesm2015/taiga-ui-cdk-directives.js +1 -0
  779. package/fesm2015/taiga-ui-cdk-directives.js.map +1 -1
  780. package/fesm2015/taiga-ui-cdk-enums.js +1 -53
  781. package/fesm2015/taiga-ui-cdk-enums.js.map +1 -1
  782. package/fesm2015/taiga-ui-cdk-exceptions.js +14 -35
  783. package/fesm2015/taiga-ui-cdk-exceptions.js.map +1 -1
  784. package/fesm2015/taiga-ui-cdk-interfaces.js.map +1 -1
  785. package/fesm2015/taiga-ui-cdk-observables.js +11 -12
  786. package/fesm2015/taiga-ui-cdk-observables.js.map +1 -1
  787. package/fesm2015/taiga-ui-cdk-pipes-filter.js +21 -14
  788. package/fesm2015/taiga-ui-cdk-pipes-filter.js.map +1 -1
  789. package/fesm2015/taiga-ui-cdk-pipes-mapper.js +21 -14
  790. package/fesm2015/taiga-ui-cdk-pipes-mapper.js.map +1 -1
  791. package/fesm2015/taiga-ui-cdk-pipes.js.map +1 -1
  792. package/fesm2015/taiga-ui-cdk-services.js +213 -200
  793. package/fesm2015/taiga-ui-cdk-services.js.map +1 -1
  794. package/fesm2015/taiga-ui-cdk-tokens.js +31 -32
  795. package/fesm2015/taiga-ui-cdk-tokens.js.map +1 -1
  796. package/fesm2015/taiga-ui-cdk-types.js.map +1 -1
  797. package/fesm2015/taiga-ui-cdk-utils-browser.js +8 -18
  798. package/fesm2015/taiga-ui-cdk-utils-browser.js.map +1 -1
  799. package/fesm2015/taiga-ui-cdk-utils-dom.js +13 -43
  800. package/fesm2015/taiga-ui-cdk-utils-dom.js.map +1 -1
  801. package/fesm2015/taiga-ui-cdk-utils-focus.js +55 -73
  802. package/fesm2015/taiga-ui-cdk-utils-focus.js.map +1 -1
  803. package/fesm2015/taiga-ui-cdk-utils-format.js +3 -22
  804. package/fesm2015/taiga-ui-cdk-utils-format.js.map +1 -1
  805. package/fesm2015/taiga-ui-cdk-utils-math.js +7 -20
  806. package/fesm2015/taiga-ui-cdk-utils-math.js.map +1 -1
  807. package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js +19 -29
  808. package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js.map +1 -1
  809. package/fesm2015/taiga-ui-cdk-utils-os.js +1 -1
  810. package/fesm2015/taiga-ui-cdk-utils-os.js.map +1 -1
  811. package/fesm2015/taiga-ui-cdk-utils-svg.js +1 -1
  812. package/fesm2015/taiga-ui-cdk-utils-svg.js.map +1 -1
  813. package/fesm2015/taiga-ui-cdk-utils.js.map +1 -1
  814. package/fesm2015/taiga-ui-cdk.js +2 -0
  815. package/fesm2015/taiga-ui-cdk.js.map +1 -1
  816. package/interfaces/package.json +2 -5
  817. package/interfaces/taiga-ui-cdk-interfaces.d.ts +1 -0
  818. package/observables/package.json +2 -5
  819. package/observables/replay-control-value-changes.d.ts +1 -2
  820. package/observables/taiga-ui-cdk-observables.d.ts +1 -0
  821. package/package.json +9 -13
  822. package/pipes/filter/filter.module.d.ts +5 -0
  823. package/pipes/filter/filter.pipe.d.ts +3 -0
  824. package/pipes/filter/package.json +2 -5
  825. package/pipes/filter/taiga-ui-cdk-pipes-filter.d.ts +1 -0
  826. package/pipes/mapper/mapper.module.d.ts +5 -0
  827. package/pipes/mapper/mapper.pipe.d.ts +3 -0
  828. package/pipes/mapper/package.json +2 -5
  829. package/pipes/mapper/taiga-ui-cdk-pipes-mapper.d.ts +1 -0
  830. package/pipes/package.json +2 -5
  831. package/pipes/taiga-ui-cdk-pipes.d.ts +1 -0
  832. package/schematics/constants/taiga-styles.d.ts +3 -0
  833. package/schematics/constants/taiga-styles.js +6 -0
  834. package/schematics/ng-add/constants/modules.js +5 -4
  835. package/schematics/ng-add/constants/packages.js +1 -0
  836. package/schematics/ng-add/constants/versions.js +1 -0
  837. package/schematics/ng-add/index.js +1 -0
  838. package/schematics/ng-add/steps/add-taiga-icons.d.ts +1 -1
  839. package/schematics/ng-add/steps/add-taiga-icons.js +4 -3
  840. package/schematics/ng-add/steps/add-taiga-modules.js +1 -0
  841. package/schematics/ng-add/steps/add-taiga-styles.d.ts +0 -1
  842. package/schematics/ng-add/steps/add-taiga-styles.js +5 -18
  843. package/schematics/ng-add/steps/wrap-with-tui-root.js +1 -0
  844. package/schematics/ng-update/constants/consts.js +31 -0
  845. package/schematics/ng-update/constants/deprecated-functions.js +1 -0
  846. package/schematics/ng-update/constants/enums.js +12 -0
  847. package/schematics/ng-update/constants/modules.js +2 -0
  848. package/schematics/ng-update/constants/services.js +1 -0
  849. package/schematics/ng-update/constants/templates.d.ts +8 -0
  850. package/schematics/ng-update/constants/templates.js +99 -20
  851. package/schematics/ng-update/constants/tui-interactive-selectors.js +1 -0
  852. package/schematics/ng-update/constants/types.js +1 -0
  853. package/schematics/ng-update/constants/warnings.js +11 -0
  854. package/schematics/ng-update/index.d.ts +1 -1
  855. package/schematics/ng-update/index.js +27 -8
  856. package/schematics/ng-update/steps/migrate-date-time.js +1 -0
  857. package/schematics/ng-update/steps/migrate-polymorpheus.d.ts +8 -0
  858. package/schematics/ng-update/steps/migrate-polymorpheus.js +73 -0
  859. package/schematics/ng-update/steps/migrate-progress.js +1 -0
  860. package/schematics/ng-update/steps/migrate-sliders/index.js +1 -0
  861. package/schematics/ng-update/steps/migrate-sliders/migrate-input-range.js +1 -0
  862. package/schematics/ng-update/steps/migrate-sliders/migrate-input-slider.js +1 -0
  863. package/schematics/ng-update/steps/migrate-templates.js +8 -17
  864. package/schematics/ng-update/steps/miscellaneous.js +11 -0
  865. package/schematics/ng-update/steps/remove-module.js +1 -0
  866. package/schematics/ng-update/steps/rename-types.js +1 -0
  867. package/schematics/ng-update/steps/replace-const.js +1 -0
  868. package/schematics/ng-update/steps/replace-deep-import.js +1 -0
  869. package/schematics/ng-update/steps/replace-enums.js +1 -0
  870. package/schematics/ng-update/steps/replace-functions.js +1 -0
  871. package/schematics/ng-update/steps/replace-services.js +1 -0
  872. package/schematics/ng-update/steps/show-warnings.js +7 -3
  873. package/schematics/utils/add-styles.d.ts +3 -0
  874. package/schematics/utils/add-styles.js +17 -0
  875. package/schematics/utils/add-unique-import.js +1 -0
  876. package/schematics/utils/angular/ng-component.js +1 -0
  877. package/schematics/utils/angular/ng-module.js +1 -0
  878. package/schematics/utils/colored-log.js +1 -0
  879. package/schematics/utils/create-angular-json.d.ts +3 -0
  880. package/schematics/utils/create-angular-json.js +29 -0
  881. package/schematics/utils/get-named-import-references.js +7 -3
  882. package/schematics/utils/get-project-target-options.js +1 -0
  883. package/schematics/utils/get-project.js +1 -0
  884. package/schematics/utils/import-manipulations.js +1 -0
  885. package/schematics/utils/insert-todo.js +1 -0
  886. package/schematics/utils/replace-tag.d.ts +3 -0
  887. package/schematics/utils/replace-tag.js +17 -0
  888. package/schematics/utils/templates/elements.d.ts +3 -2
  889. package/schematics/utils/templates/elements.js +13 -7
  890. package/schematics/utils/templates/get-component-templates.js +1 -0
  891. package/schematics/utils/templates/ng-component-input-manipulations.js +1 -0
  892. package/schematics/utils/templates/template-resource.js +1 -0
  893. package/services/destroy.service.d.ts +3 -0
  894. package/services/directive-styles.service.d.ts +3 -0
  895. package/services/focus-visible.service.d.ts +3 -0
  896. package/services/id.service.d.ts +3 -0
  897. package/services/index.d.ts +0 -1
  898. package/services/obscured.service.d.ts +3 -0
  899. package/services/package.json +2 -5
  900. package/services/pan.service.d.ts +3 -0
  901. package/services/parents-scroll.service.d.ts +3 -0
  902. package/services/resize.service.d.ts +4 -2
  903. package/services/scroll.service.d.ts +3 -0
  904. package/services/static-request.service.d.ts +3 -0
  905. package/services/swipe.service.d.ts +3 -0
  906. package/services/taiga-ui-cdk-services.d.ts +1 -0
  907. package/services/zoom.service.d.ts +3 -0
  908. package/taiga-ui-cdk.d.ts +1 -0
  909. package/tokens/package.json +2 -5
  910. package/tokens/taiga-ui-cdk-tokens.d.ts +1 -0
  911. package/types/input-mode.d.ts +1 -1
  912. package/types/input-type.d.ts +1 -1
  913. package/types/overscroll-mode.d.ts +1 -1
  914. package/types/package.json +2 -5
  915. package/types/taiga-ui-cdk-types.d.ts +1 -0
  916. package/utils/browser/is-edge-older-than.d.ts +1 -5
  917. package/utils/browser/is-ie.d.ts +1 -5
  918. package/utils/browser/package.json +2 -5
  919. package/utils/browser/taiga-ui-cdk-utils-browser.d.ts +1 -0
  920. package/utils/dom/index.d.ts +0 -2
  921. package/utils/dom/package.json +2 -5
  922. package/utils/dom/taiga-ui-cdk-utils-dom.d.ts +1 -0
  923. package/utils/focus/get-closest-keyboard-focusable.d.ts +1 -7
  924. package/utils/focus/get-native-focused.d.ts +1 -3
  925. package/utils/focus/is-native-focused-in.d.ts +1 -3
  926. package/utils/focus/is-native-focused.d.ts +1 -3
  927. package/utils/focus/is-native-keyboard-focusable.d.ts +1 -3
  928. package/utils/focus/is-native-mouse-focusable.d.ts +1 -3
  929. package/utils/focus/move-focus.d.ts +1 -3
  930. package/utils/focus/package.json +2 -5
  931. package/utils/focus/taiga-ui-cdk-utils-focus.d.ts +1 -0
  932. package/utils/format/index.d.ts +0 -1
  933. package/utils/format/package.json +2 -5
  934. package/utils/format/px.d.ts +1 -3
  935. package/utils/format/taiga-ui-cdk-utils-format.d.ts +1 -0
  936. package/utils/math/in-range.d.ts +1 -10
  937. package/utils/math/normalize-to-int-number.d.ts +1 -3
  938. package/utils/math/package.json +2 -5
  939. package/utils/math/taiga-ui-cdk-utils-math.d.ts +1 -0
  940. package/utils/miscellaneous/index.d.ts +1 -1
  941. package/utils/miscellaneous/is-string.d.ts +1 -0
  942. package/utils/miscellaneous/nullable-same.d.ts +1 -3
  943. package/utils/miscellaneous/package.json +2 -5
  944. package/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.d.ts +1 -0
  945. package/utils/os/package.json +2 -5
  946. package/utils/os/taiga-ui-cdk-utils-os.d.ts +1 -0
  947. package/utils/package.json +2 -5
  948. package/utils/svg/package.json +2 -5
  949. package/utils/svg/taiga-ui-cdk-utils-svg.d.ts +1 -0
  950. package/utils/taiga-ui-cdk-utils.d.ts +1 -0
  951. package/abstract/taiga-ui-cdk-abstract.metadata.json +0 -1
  952. package/bundles/taiga-ui-cdk-abstract.umd.min.js +0 -2
  953. package/bundles/taiga-ui-cdk-abstract.umd.min.js.map +0 -1
  954. package/bundles/taiga-ui-cdk-classes.umd.min.js +0 -2
  955. package/bundles/taiga-ui-cdk-classes.umd.min.js.map +0 -1
  956. package/bundles/taiga-ui-cdk-coercion.umd.min.js +0 -2
  957. package/bundles/taiga-ui-cdk-coercion.umd.min.js.map +0 -1
  958. package/bundles/taiga-ui-cdk-components-alert-host.umd.min.js +0 -2
  959. package/bundles/taiga-ui-cdk-components-alert-host.umd.min.js.map +0 -1
  960. package/bundles/taiga-ui-cdk-components-dialog-host.umd.min.js +0 -2
  961. package/bundles/taiga-ui-cdk-components-dialog-host.umd.min.js.map +0 -1
  962. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.min.js +0 -2
  963. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.min.js.map +0 -1
  964. package/bundles/taiga-ui-cdk-components-portal-host.umd.js +0 -279
  965. package/bundles/taiga-ui-cdk-components-portal-host.umd.js.map +0 -1
  966. package/bundles/taiga-ui-cdk-components-portal-host.umd.min.js +0 -2
  967. package/bundles/taiga-ui-cdk-components-portal-host.umd.min.js.map +0 -1
  968. package/bundles/taiga-ui-cdk-components.umd.min.js +0 -2
  969. package/bundles/taiga-ui-cdk-components.umd.min.js.map +0 -1
  970. package/bundles/taiga-ui-cdk-constants.umd.min.js +0 -2
  971. package/bundles/taiga-ui-cdk-constants.umd.min.js.map +0 -1
  972. package/bundles/taiga-ui-cdk-date-time.umd.min.js +0 -2
  973. package/bundles/taiga-ui-cdk-date-time.umd.min.js.map +0 -1
  974. package/bundles/taiga-ui-cdk-decorators.umd.min.js +0 -2
  975. package/bundles/taiga-ui-cdk-decorators.umd.min.js.map +0 -1
  976. package/bundles/taiga-ui-cdk-directives-active-zone.umd.min.js +0 -2
  977. package/bundles/taiga-ui-cdk-directives-active-zone.umd.min.js.map +0 -1
  978. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.min.js +0 -2
  979. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.min.js.map +0 -1
  980. package/bundles/taiga-ui-cdk-directives-autofilled.umd.min.js +0 -2
  981. package/bundles/taiga-ui-cdk-directives-autofilled.umd.min.js.map +0 -1
  982. package/bundles/taiga-ui-cdk-directives-checked.umd.min.js +0 -2
  983. package/bundles/taiga-ui-cdk-directives-checked.umd.min.js.map +0 -1
  984. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.min.js +0 -2
  985. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.min.js.map +0 -1
  986. package/bundles/taiga-ui-cdk-directives-drag.umd.min.js +0 -2
  987. package/bundles/taiga-ui-cdk-directives-drag.umd.min.js.map +0 -1
  988. package/bundles/taiga-ui-cdk-directives-droppable.umd.min.js +0 -2
  989. package/bundles/taiga-ui-cdk-directives-droppable.umd.min.js.map +0 -1
  990. package/bundles/taiga-ui-cdk-directives-element.umd.min.js +0 -2
  991. package/bundles/taiga-ui-cdk-directives-element.umd.min.js.map +0 -1
  992. package/bundles/taiga-ui-cdk-directives-focus-trap.umd.min.js +0 -2
  993. package/bundles/taiga-ui-cdk-directives-focus-trap.umd.min.js.map +0 -1
  994. package/bundles/taiga-ui-cdk-directives-focus-visible.umd.min.js +0 -2
  995. package/bundles/taiga-ui-cdk-directives-focus-visible.umd.min.js.map +0 -1
  996. package/bundles/taiga-ui-cdk-directives-focusable.umd.min.js +0 -2
  997. package/bundles/taiga-ui-cdk-directives-focusable.umd.min.js.map +0 -1
  998. package/bundles/taiga-ui-cdk-directives-focused.umd.min.js +0 -2
  999. package/bundles/taiga-ui-cdk-directives-focused.umd.min.js.map +0 -1
  1000. package/bundles/taiga-ui-cdk-directives-for-async.umd.min.js +0 -2
  1001. package/bundles/taiga-ui-cdk-directives-for-async.umd.min.js.map +0 -1
  1002. package/bundles/taiga-ui-cdk-directives-for.umd.min.js +0 -2
  1003. package/bundles/taiga-ui-cdk-directives-for.umd.min.js.map +0 -1
  1004. package/bundles/taiga-ui-cdk-directives-high-dpi.umd.min.js +0 -2
  1005. package/bundles/taiga-ui-cdk-directives-high-dpi.umd.min.js.map +0 -1
  1006. package/bundles/taiga-ui-cdk-directives-hovered.umd.min.js +0 -2
  1007. package/bundles/taiga-ui-cdk-directives-hovered.umd.min.js.map +0 -1
  1008. package/bundles/taiga-ui-cdk-directives-input-mode.umd.min.js +0 -2
  1009. package/bundles/taiga-ui-cdk-directives-input-mode.umd.min.js.map +0 -1
  1010. package/bundles/taiga-ui-cdk-directives-item.umd.min.js +0 -2
  1011. package/bundles/taiga-ui-cdk-directives-item.umd.min.js.map +0 -1
  1012. package/bundles/taiga-ui-cdk-directives-let.umd.min.js +0 -2
  1013. package/bundles/taiga-ui-cdk-directives-let.umd.min.js.map +0 -1
  1014. package/bundles/taiga-ui-cdk-directives-media.umd.min.js +0 -2
  1015. package/bundles/taiga-ui-cdk-directives-media.umd.min.js.map +0 -1
  1016. package/bundles/taiga-ui-cdk-directives-obscured.umd.min.js +0 -2
  1017. package/bundles/taiga-ui-cdk-directives-obscured.umd.min.js.map +0 -1
  1018. package/bundles/taiga-ui-cdk-directives-overscroll.umd.min.js +0 -2
  1019. package/bundles/taiga-ui-cdk-directives-overscroll.umd.min.js.map +0 -1
  1020. package/bundles/taiga-ui-cdk-directives-pan.umd.min.js +0 -2
  1021. package/bundles/taiga-ui-cdk-directives-pan.umd.min.js.map +0 -1
  1022. package/bundles/taiga-ui-cdk-directives-portal.umd.min.js +0 -2
  1023. package/bundles/taiga-ui-cdk-directives-portal.umd.min.js.map +0 -1
  1024. package/bundles/taiga-ui-cdk-directives-pressed.umd.min.js +0 -2
  1025. package/bundles/taiga-ui-cdk-directives-pressed.umd.min.js.map +0 -1
  1026. package/bundles/taiga-ui-cdk-directives-prevent-default.umd.min.js +0 -2
  1027. package/bundles/taiga-ui-cdk-directives-prevent-default.umd.min.js.map +0 -1
  1028. package/bundles/taiga-ui-cdk-directives-repeat-times.umd.min.js +0 -2
  1029. package/bundles/taiga-ui-cdk-directives-repeat-times.umd.min.js.map +0 -1
  1030. package/bundles/taiga-ui-cdk-directives-resize.umd.min.js +0 -2
  1031. package/bundles/taiga-ui-cdk-directives-resize.umd.min.js.map +0 -1
  1032. package/bundles/taiga-ui-cdk-directives-swipe.umd.min.js +0 -2
  1033. package/bundles/taiga-ui-cdk-directives-swipe.umd.min.js.map +0 -1
  1034. package/bundles/taiga-ui-cdk-directives-validator.umd.min.js +0 -2
  1035. package/bundles/taiga-ui-cdk-directives-validator.umd.min.js.map +0 -1
  1036. package/bundles/taiga-ui-cdk-directives-zoom.umd.min.js +0 -2
  1037. package/bundles/taiga-ui-cdk-directives-zoom.umd.min.js.map +0 -1
  1038. package/bundles/taiga-ui-cdk-directives.umd.min.js +0 -2
  1039. package/bundles/taiga-ui-cdk-directives.umd.min.js.map +0 -1
  1040. package/bundles/taiga-ui-cdk-enums.umd.min.js +0 -2
  1041. package/bundles/taiga-ui-cdk-enums.umd.min.js.map +0 -1
  1042. package/bundles/taiga-ui-cdk-exceptions.umd.min.js +0 -2
  1043. package/bundles/taiga-ui-cdk-exceptions.umd.min.js.map +0 -1
  1044. package/bundles/taiga-ui-cdk-interfaces.umd.min.js +0 -2
  1045. package/bundles/taiga-ui-cdk-interfaces.umd.min.js.map +0 -1
  1046. package/bundles/taiga-ui-cdk-observables.umd.min.js +0 -2
  1047. package/bundles/taiga-ui-cdk-observables.umd.min.js.map +0 -1
  1048. package/bundles/taiga-ui-cdk-pipes-filter.umd.min.js +0 -2
  1049. package/bundles/taiga-ui-cdk-pipes-filter.umd.min.js.map +0 -1
  1050. package/bundles/taiga-ui-cdk-pipes-mapper.umd.min.js +0 -2
  1051. package/bundles/taiga-ui-cdk-pipes-mapper.umd.min.js.map +0 -1
  1052. package/bundles/taiga-ui-cdk-pipes.umd.min.js +0 -2
  1053. package/bundles/taiga-ui-cdk-pipes.umd.min.js.map +0 -1
  1054. package/bundles/taiga-ui-cdk-services.umd.min.js +0 -2
  1055. package/bundles/taiga-ui-cdk-services.umd.min.js.map +0 -1
  1056. package/bundles/taiga-ui-cdk-tokens.umd.min.js +0 -2
  1057. package/bundles/taiga-ui-cdk-tokens.umd.min.js.map +0 -1
  1058. package/bundles/taiga-ui-cdk-types.umd.min.js +0 -2
  1059. package/bundles/taiga-ui-cdk-types.umd.min.js.map +0 -1
  1060. package/bundles/taiga-ui-cdk-utils-browser.umd.min.js +0 -2
  1061. package/bundles/taiga-ui-cdk-utils-browser.umd.min.js.map +0 -1
  1062. package/bundles/taiga-ui-cdk-utils-dom.umd.min.js +0 -2
  1063. package/bundles/taiga-ui-cdk-utils-dom.umd.min.js.map +0 -1
  1064. package/bundles/taiga-ui-cdk-utils-focus.umd.min.js +0 -2
  1065. package/bundles/taiga-ui-cdk-utils-focus.umd.min.js.map +0 -1
  1066. package/bundles/taiga-ui-cdk-utils-format.umd.min.js +0 -2
  1067. package/bundles/taiga-ui-cdk-utils-format.umd.min.js.map +0 -1
  1068. package/bundles/taiga-ui-cdk-utils-math.umd.min.js +0 -2
  1069. package/bundles/taiga-ui-cdk-utils-math.umd.min.js.map +0 -1
  1070. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.min.js +0 -2
  1071. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.min.js.map +0 -1
  1072. package/bundles/taiga-ui-cdk-utils-os.umd.min.js +0 -2
  1073. package/bundles/taiga-ui-cdk-utils-os.umd.min.js.map +0 -1
  1074. package/bundles/taiga-ui-cdk-utils-svg.umd.min.js +0 -2
  1075. package/bundles/taiga-ui-cdk-utils-svg.umd.min.js.map +0 -1
  1076. package/bundles/taiga-ui-cdk-utils.umd.min.js +0 -2
  1077. package/bundles/taiga-ui-cdk-utils.umd.min.js.map +0 -1
  1078. package/bundles/taiga-ui-cdk.umd.min.js +0 -2
  1079. package/bundles/taiga-ui-cdk.umd.min.js.map +0 -1
  1080. package/classes/taiga-ui-cdk-classes.metadata.json +0 -1
  1081. package/coercion/taiga-ui-cdk-coercion.metadata.json +0 -1
  1082. package/components/alert-host/taiga-ui-cdk-components-alert-host.metadata.json +0 -1
  1083. package/components/dialog-host/taiga-ui-cdk-components-dialog-host.metadata.json +0 -1
  1084. package/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.metadata.json +0 -1
  1085. package/components/portal-host/index.d.ts +0 -1
  1086. package/components/portal-host/package.json +0 -13
  1087. package/components/portal-host/portal.service.d.ts +0 -7
  1088. package/components/portal-host/taiga-ui-cdk-components-portal-host.d.ts +0 -4
  1089. package/components/portal-host/taiga-ui-cdk-components-portal-host.metadata.json +0 -1
  1090. package/components/taiga-ui-cdk-components.metadata.json +0 -1
  1091. package/constants/taiga-ui-cdk-constants.metadata.json +0 -1
  1092. package/date-time/taiga-ui-cdk-date-time.metadata.json +0 -1
  1093. package/decorators/taiga-ui-cdk-decorators.metadata.json +0 -1
  1094. package/directives/active-zone/taiga-ui-cdk-directives-active-zone.metadata.json +0 -1
  1095. package/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.metadata.json +0 -1
  1096. package/directives/autofilled/taiga-ui-cdk-directives-autofilled.metadata.json +0 -1
  1097. package/directives/checked/taiga-ui-cdk-directives-checked.metadata.json +0 -1
  1098. package/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.metadata.json +0 -1
  1099. package/directives/drag/taiga-ui-cdk-directives-drag.metadata.json +0 -1
  1100. package/directives/droppable/taiga-ui-cdk-directives-droppable.metadata.json +0 -1
  1101. package/directives/element/taiga-ui-cdk-directives-element.metadata.json +0 -1
  1102. package/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.metadata.json +0 -1
  1103. package/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.metadata.json +0 -1
  1104. package/directives/focusable/taiga-ui-cdk-directives-focusable.metadata.json +0 -1
  1105. package/directives/focused/taiga-ui-cdk-directives-focused.metadata.json +0 -1
  1106. package/directives/for/taiga-ui-cdk-directives-for.metadata.json +0 -1
  1107. package/directives/for-async/taiga-ui-cdk-directives-for-async.metadata.json +0 -1
  1108. package/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.metadata.json +0 -1
  1109. package/directives/hovered/taiga-ui-cdk-directives-hovered.metadata.json +0 -1
  1110. package/directives/input-mode/taiga-ui-cdk-directives-input-mode.metadata.json +0 -1
  1111. package/directives/item/taiga-ui-cdk-directives-item.metadata.json +0 -1
  1112. package/directives/let/taiga-ui-cdk-directives-let.metadata.json +0 -1
  1113. package/directives/media/taiga-ui-cdk-directives-media.metadata.json +0 -1
  1114. package/directives/obscured/taiga-ui-cdk-directives-obscured.metadata.json +0 -1
  1115. package/directives/overscroll/taiga-ui-cdk-directives-overscroll.metadata.json +0 -1
  1116. package/directives/pan/taiga-ui-cdk-directives-pan.metadata.json +0 -1
  1117. package/directives/portal/taiga-ui-cdk-directives-portal.metadata.json +0 -1
  1118. package/directives/pressed/taiga-ui-cdk-directives-pressed.metadata.json +0 -1
  1119. package/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.metadata.json +0 -1
  1120. package/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.metadata.json +0 -1
  1121. package/directives/resize/taiga-ui-cdk-directives-resize.metadata.json +0 -1
  1122. package/directives/swipe/taiga-ui-cdk-directives-swipe.metadata.json +0 -1
  1123. package/directives/taiga-ui-cdk-directives.metadata.json +0 -1
  1124. package/directives/validator/taiga-ui-cdk-directives-validator.metadata.json +0 -1
  1125. package/directives/zoom/taiga-ui-cdk-directives-zoom.metadata.json +0 -1
  1126. package/enums/input-mode.d.ts +0 -13
  1127. package/enums/input-type.d.ts +0 -10
  1128. package/enums/overscroll-mode.d.ts +0 -13
  1129. package/enums/taiga-ui-cdk-enums.metadata.json +0 -1
  1130. package/esm2015/components/portal-host/index.js +0 -2
  1131. package/esm2015/components/portal-host/portal.service.js +0 -18
  1132. package/esm2015/components/portal-host/taiga-ui-cdk-components-portal-host.js +0 -5
  1133. package/esm2015/enums/input-mode.js +0 -15
  1134. package/esm2015/enums/input-type.js +0 -12
  1135. package/esm2015/enums/overscroll-mode.js +0 -15
  1136. package/esm2015/services/hovered.service.js +0 -34
  1137. package/esm2015/utils/dom/custom-event.js +0 -10
  1138. package/esm2015/utils/dom/get-closest-element.js +0 -20
  1139. package/esm2015/utils/format/pad-start.js +0 -17
  1140. package/esm2015/utils/miscellaneous/fallback-value.js +0 -12
  1141. package/esm5/abstract/control.js +0 -247
  1142. package/esm5/abstract/controller.js +0 -25
  1143. package/esm5/abstract/dialog.directive.js +0 -44
  1144. package/esm5/abstract/dialog.service.js +0 -39
  1145. package/esm5/abstract/index.js +0 -11
  1146. package/esm5/abstract/interactive.js +0 -172
  1147. package/esm5/abstract/multiple-control.js +0 -21
  1148. package/esm5/abstract/nullable-control.js +0 -18
  1149. package/esm5/abstract/portal-host.js +0 -50
  1150. package/esm5/abstract/portal-service.js +0 -42
  1151. package/esm5/abstract/taiga-ui-cdk-abstract.js +0 -5
  1152. package/esm5/abstract/theme-switcher.js +0 -55
  1153. package/esm5/classes/assert.js +0 -19
  1154. package/esm5/classes/index.js +0 -3
  1155. package/esm5/classes/taiga-ui-cdk-classes.js +0 -5
  1156. package/esm5/classes/validation-error.js +0 -10
  1157. package/esm5/coercion/coerce-boolean-property.js +0 -10
  1158. package/esm5/coercion/index.js +0 -2
  1159. package/esm5/coercion/taiga-ui-cdk-coercion.js +0 -5
  1160. package/esm5/components/alert-host/alert-host.component.js +0 -42
  1161. package/esm5/components/alert-host/alert-host.module.js +0 -19
  1162. package/esm5/components/alert-host/index.js +0 -3
  1163. package/esm5/components/alert-host/taiga-ui-cdk-components-alert-host.js +0 -5
  1164. package/esm5/components/dialog-host/dialog-host.component.js +0 -77
  1165. package/esm5/components/dialog-host/dialog-host.module.js +0 -28
  1166. package/esm5/components/dialog-host/index.js +0 -3
  1167. package/esm5/components/dialog-host/taiga-ui-cdk-components-dialog-host.js +0 -5
  1168. package/esm5/components/dropdown-host/dropdown-host.component.js +0 -34
  1169. package/esm5/components/dropdown-host/dropdown-host.module.js +0 -16
  1170. package/esm5/components/dropdown-host/index.js +0 -3
  1171. package/esm5/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.js +0 -5
  1172. package/esm5/components/index.js +0 -5
  1173. package/esm5/components/portal-host/index.js +0 -2
  1174. package/esm5/components/portal-host/portal.service.js +0 -23
  1175. package/esm5/components/portal-host/taiga-ui-cdk-components-portal-host.js +0 -5
  1176. package/esm5/components/taiga-ui-cdk-components.js +0 -5
  1177. package/esm5/constants/always-false-handler.js +0 -5
  1178. package/esm5/constants/always-true-handler.js +0 -5
  1179. package/esm5/constants/browser.js +0 -2
  1180. package/esm5/constants/empty.js +0 -20
  1181. package/esm5/constants/index.js +0 -11
  1182. package/esm5/constants/matcher.js +0 -35
  1183. package/esm5/constants/parent-animation.js +0 -8
  1184. package/esm5/constants/polling-time.js +0 -2
  1185. package/esm5/constants/stringify.js +0 -5
  1186. package/esm5/constants/svg-node-filter.js +0 -8
  1187. package/esm5/constants/taiga-ui-cdk-constants.js +0 -5
  1188. package/esm5/constants/unicode-chars.js +0 -49
  1189. package/esm5/date-time/date-fillers.js +0 -31
  1190. package/esm5/date-time/date-format.js +0 -5
  1191. package/esm5/date-time/date-separator.js +0 -6
  1192. package/esm5/date-time/date-time.js +0 -19
  1193. package/esm5/date-time/day-range.js +0 -111
  1194. package/esm5/date-time/day.js +0 -350
  1195. package/esm5/date-time/days.const.js +0 -5
  1196. package/esm5/date-time/index.js +0 -12
  1197. package/esm5/date-time/month-range.js +0 -43
  1198. package/esm5/date-time/month.js +0 -209
  1199. package/esm5/date-time/taiga-ui-cdk-date-time.js +0 -5
  1200. package/esm5/date-time/time.js +0 -134
  1201. package/esm5/date-time/year.js +0 -168
  1202. package/esm5/decorators/default-prop.js +0 -62
  1203. package/esm5/decorators/index.js +0 -4
  1204. package/esm5/decorators/pure.js +0 -55
  1205. package/esm5/decorators/required-setter.js +0 -39
  1206. package/esm5/decorators/taiga-ui-cdk-decorators.js +0 -5
  1207. package/esm5/directives/active-zone/active-zone.directive.js +0 -92
  1208. package/esm5/directives/active-zone/active-zone.module.js +0 -16
  1209. package/esm5/directives/active-zone/index.js +0 -3
  1210. package/esm5/directives/active-zone/taiga-ui-cdk-directives-active-zone.js +0 -5
  1211. package/esm5/directives/auto-focus/autofocus.directive.js +0 -31
  1212. package/esm5/directives/auto-focus/autofocus.module.js +0 -16
  1213. package/esm5/directives/auto-focus/autofocus.options.js +0 -29
  1214. package/esm5/directives/auto-focus/handlers/abstract.handler.js +0 -34
  1215. package/esm5/directives/auto-focus/handlers/default.handler.js +0 -43
  1216. package/esm5/directives/auto-focus/handlers/ios.handler.js +0 -137
  1217. package/esm5/directives/auto-focus/index.js +0 -7
  1218. package/esm5/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.js +0 -5
  1219. package/esm5/directives/autofilled/autofilled-style.component.js +0 -16
  1220. package/esm5/directives/autofilled/autofilled.directive.js +0 -42
  1221. package/esm5/directives/autofilled/autofilled.module.js +0 -18
  1222. package/esm5/directives/autofilled/index.js +0 -4
  1223. package/esm5/directives/autofilled/taiga-ui-cdk-directives-autofilled.js +0 -5
  1224. package/esm5/directives/checked/checked.directive.js +0 -49
  1225. package/esm5/directives/checked/checked.module.js +0 -16
  1226. package/esm5/directives/checked/index.js +0 -3
  1227. package/esm5/directives/checked/taiga-ui-cdk-directives-checked.js +0 -5
  1228. package/esm5/directives/copy-processor/copy-processor.directive.js +0 -39
  1229. package/esm5/directives/copy-processor/copy-processor.module.js +0 -16
  1230. package/esm5/directives/copy-processor/index.js +0 -3
  1231. package/esm5/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.js +0 -5
  1232. package/esm5/directives/drag/drag.directive.js +0 -52
  1233. package/esm5/directives/drag/drag.module.js +0 -16
  1234. package/esm5/directives/drag/index.js +0 -3
  1235. package/esm5/directives/drag/taiga-ui-cdk-directives-drag.js +0 -5
  1236. package/esm5/directives/droppable/droppable.directive.js +0 -43
  1237. package/esm5/directives/droppable/droppable.module.js +0 -16
  1238. package/esm5/directives/droppable/index.js +0 -3
  1239. package/esm5/directives/droppable/taiga-ui-cdk-directives-droppable.js +0 -5
  1240. package/esm5/directives/element/element.directive.js +0 -22
  1241. package/esm5/directives/element/element.module.js +0 -16
  1242. package/esm5/directives/element/index.js +0 -3
  1243. package/esm5/directives/element/taiga-ui-cdk-directives-element.js +0 -5
  1244. package/esm5/directives/focus-trap/focus-trap.directive.js +0 -78
  1245. package/esm5/directives/focus-trap/focus-trap.module.js +0 -16
  1246. package/esm5/directives/focus-trap/index.js +0 -3
  1247. package/esm5/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.js +0 -5
  1248. package/esm5/directives/focus-visible/focus-visible.directive.js +0 -29
  1249. package/esm5/directives/focus-visible/focus-visible.module.js +0 -16
  1250. package/esm5/directives/focus-visible/index.js +0 -3
  1251. package/esm5/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.js +0 -5
  1252. package/esm5/directives/focusable/focusable.directive.js +0 -34
  1253. package/esm5/directives/focusable/focusable.module.js +0 -16
  1254. package/esm5/directives/focusable/index.js +0 -3
  1255. package/esm5/directives/focusable/taiga-ui-cdk-directives-focusable.js +0 -5
  1256. package/esm5/directives/focused/focused.directive.js +0 -34
  1257. package/esm5/directives/focused/focused.module.js +0 -16
  1258. package/esm5/directives/focused/index.js +0 -3
  1259. package/esm5/directives/focused/taiga-ui-cdk-directives-focused.js +0 -5
  1260. package/esm5/directives/for/for.directive.js +0 -39
  1261. package/esm5/directives/for/for.module.js +0 -16
  1262. package/esm5/directives/for/index.js +0 -3
  1263. package/esm5/directives/for/taiga-ui-cdk-directives-for.js +0 -5
  1264. package/esm5/directives/for-async/for-async.directive.js +0 -53
  1265. package/esm5/directives/for-async/for-async.module.js +0 -19
  1266. package/esm5/directives/for-async/index.js +0 -3
  1267. package/esm5/directives/for-async/taiga-ui-cdk-directives-for-async.js +0 -5
  1268. package/esm5/directives/high-dpi/high-dpi.directive.js +0 -31
  1269. package/esm5/directives/high-dpi/high-dpi.module.js +0 -16
  1270. package/esm5/directives/high-dpi/index.js +0 -3
  1271. package/esm5/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.js +0 -5
  1272. package/esm5/directives/hovered/hovered.directive.js +0 -41
  1273. package/esm5/directives/hovered/hovered.module.js +0 -16
  1274. package/esm5/directives/hovered/index.js +0 -3
  1275. package/esm5/directives/hovered/taiga-ui-cdk-directives-hovered.js +0 -5
  1276. package/esm5/directives/index.js +0 -31
  1277. package/esm5/directives/input-mode/index.js +0 -3
  1278. package/esm5/directives/input-mode/input-mode.directive.js +0 -44
  1279. package/esm5/directives/input-mode/input-mode.module.js +0 -16
  1280. package/esm5/directives/input-mode/taiga-ui-cdk-directives-input-mode.js +0 -5
  1281. package/esm5/directives/item/index.js +0 -3
  1282. package/esm5/directives/item/item.directive.js +0 -18
  1283. package/esm5/directives/item/item.module.js +0 -16
  1284. package/esm5/directives/item/taiga-ui-cdk-directives-item.js +0 -5
  1285. package/esm5/directives/let/index.js +0 -4
  1286. package/esm5/directives/let/let-context.js +0 -25
  1287. package/esm5/directives/let/let.directive.js +0 -38
  1288. package/esm5/directives/let/let.module.js +0 -16
  1289. package/esm5/directives/let/taiga-ui-cdk-directives-let.js +0 -5
  1290. package/esm5/directives/media/index.js +0 -3
  1291. package/esm5/directives/media/media.directive.js +0 -130
  1292. package/esm5/directives/media/media.module.js +0 -16
  1293. package/esm5/directives/media/taiga-ui-cdk-directives-media.js +0 -5
  1294. package/esm5/directives/obscured/index.js +0 -3
  1295. package/esm5/directives/obscured/obscured.directive.js +0 -53
  1296. package/esm5/directives/obscured/obscured.module.js +0 -16
  1297. package/esm5/directives/obscured/taiga-ui-cdk-directives-obscured.js +0 -5
  1298. package/esm5/directives/overscroll/index.js +0 -3
  1299. package/esm5/directives/overscroll/overscroll.directive.js +0 -112
  1300. package/esm5/directives/overscroll/overscroll.module.js +0 -16
  1301. package/esm5/directives/overscroll/taiga-ui-cdk-directives-overscroll.js +0 -5
  1302. package/esm5/directives/pan/index.js +0 -3
  1303. package/esm5/directives/pan/pan.directive.js +0 -24
  1304. package/esm5/directives/pan/pan.module.js +0 -19
  1305. package/esm5/directives/pan/taiga-ui-cdk-directives-pan.js +0 -5
  1306. package/esm5/directives/portal/index.js +0 -3
  1307. package/esm5/directives/portal/portal.directive.js +0 -41
  1308. package/esm5/directives/portal/portal.module.js +0 -16
  1309. package/esm5/directives/portal/taiga-ui-cdk-directives-portal.js +0 -5
  1310. package/esm5/directives/pressed/index.js +0 -3
  1311. package/esm5/directives/pressed/pressed.directive.js +0 -30
  1312. package/esm5/directives/pressed/pressed.module.js +0 -16
  1313. package/esm5/directives/pressed/taiga-ui-cdk-directives-pressed.js +0 -5
  1314. package/esm5/directives/prevent-default/index.js +0 -3
  1315. package/esm5/directives/prevent-default/prevent-default.directive.js +0 -38
  1316. package/esm5/directives/prevent-default/prevent-default.module.js +0 -16
  1317. package/esm5/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.js +0 -5
  1318. package/esm5/directives/repeat-times/index.js +0 -3
  1319. package/esm5/directives/repeat-times/repeat-times.directive.js +0 -67
  1320. package/esm5/directives/repeat-times/repeat-times.module.js +0 -16
  1321. package/esm5/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.js +0 -5
  1322. package/esm5/directives/resize/index.js +0 -3
  1323. package/esm5/directives/resize/resize.directive.js +0 -24
  1324. package/esm5/directives/resize/resize.module.js +0 -19
  1325. package/esm5/directives/resize/taiga-ui-cdk-directives-resize.js +0 -5
  1326. package/esm5/directives/swipe/index.js +0 -3
  1327. package/esm5/directives/swipe/swipe.directive.js +0 -24
  1328. package/esm5/directives/swipe/swipe.module.js +0 -19
  1329. package/esm5/directives/swipe/taiga-ui-cdk-directives-swipe.js +0 -5
  1330. package/esm5/directives/taiga-ui-cdk-directives.js +0 -5
  1331. package/esm5/directives/validator/index.js +0 -3
  1332. package/esm5/directives/validator/taiga-ui-cdk-directives-validator.js +0 -5
  1333. package/esm5/directives/validator/validator.directive.js +0 -45
  1334. package/esm5/directives/validator/validator.module.js +0 -16
  1335. package/esm5/directives/zoom/index.js +0 -3
  1336. package/esm5/directives/zoom/taiga-ui-cdk-directives-zoom.js +0 -5
  1337. package/esm5/directives/zoom/zoom.directive.js +0 -27
  1338. package/esm5/directives/zoom/zoom.module.js +0 -19
  1339. package/esm5/enums/autocomplete.js +0 -66
  1340. package/esm5/enums/day-of-week.js +0 -11
  1341. package/esm5/enums/index.js +0 -7
  1342. package/esm5/enums/input-mode.js +0 -15
  1343. package/esm5/enums/input-type.js +0 -12
  1344. package/esm5/enums/month-number.js +0 -16
  1345. package/esm5/enums/overscroll-mode.js +0 -15
  1346. package/esm5/enums/taiga-ui-cdk-enums.js +0 -5
  1347. package/esm5/exceptions/computed-document.exception.js +0 -10
  1348. package/esm5/exceptions/document-selection.exception.js +0 -10
  1349. package/esm5/exceptions/index.js +0 -14
  1350. package/esm5/exceptions/invalid-day.exception.js +0 -23
  1351. package/esm5/exceptions/invalid-month.exception.js +0 -23
  1352. package/esm5/exceptions/invalid-year.exception.js +0 -23
  1353. package/esm5/exceptions/no-host.exception.js +0 -10
  1354. package/esm5/exceptions/owner-document.exception.js +0 -10
  1355. package/esm5/exceptions/pure.exception.js +0 -10
  1356. package/esm5/exceptions/table-sort-key.exception.js +0 -10
  1357. package/esm5/exceptions/taiga-ui-cdk-exceptions.js +0 -5
  1358. package/esm5/exceptions/ts-parser.exception.js +0 -10
  1359. package/esm5/exceptions/value-changes.exception.js +0 -10
  1360. package/esm5/exceptions/value-present.exception.js +0 -10
  1361. package/esm5/exceptions/xml-parsing.exception.js +0 -10
  1362. package/esm5/index.js +0 -16
  1363. package/esm5/interfaces/alert-context.js +0 -1
  1364. package/esm5/interfaces/aria-dialog-context.js +0 -1
  1365. package/esm5/interfaces/base-dialog-context.js +0 -1
  1366. package/esm5/interfaces/base-dialog.js +0 -1
  1367. package/esm5/interfaces/context-with-implicit.js +0 -1
  1368. package/esm5/interfaces/control-value-transformer.js +0 -1
  1369. package/esm5/interfaces/day-like.js +0 -1
  1370. package/esm5/interfaces/focusable-element-accessor.js +0 -1
  1371. package/esm5/interfaces/index.js +0 -1
  1372. package/esm5/interfaces/month-like.js +0 -1
  1373. package/esm5/interfaces/swipe.js +0 -1
  1374. package/esm5/interfaces/taiga-ui-cdk-interfaces.js +0 -4
  1375. package/esm5/interfaces/time-like.js +0 -1
  1376. package/esm5/interfaces/year-like.js +0 -1
  1377. package/esm5/interfaces/zoom.js +0 -1
  1378. package/esm5/observables/drag-and-drop-from.js +0 -33
  1379. package/esm5/observables/focus-visible-observable.js +0 -36
  1380. package/esm5/observables/index.js +0 -14
  1381. package/esm5/observables/is-alive.js +0 -10
  1382. package/esm5/observables/items-query-list-observable.js +0 -12
  1383. package/esm5/observables/mouse-drag-finish-from.js +0 -13
  1384. package/esm5/observables/must-be-present.js +0 -17
  1385. package/esm5/observables/pressed-observable.js +0 -21
  1386. package/esm5/observables/prevent-default.js +0 -10
  1387. package/esm5/observables/replay-control-value-changes.js +0 -16
  1388. package/esm5/observables/stop-propagation.js +0 -12
  1389. package/esm5/observables/taiga-ui-cdk-observables.js +0 -5
  1390. package/esm5/observables/typed-from-event.js +0 -11
  1391. package/esm5/observables/watch.js +0 -12
  1392. package/esm5/observables/zone-free.js +0 -23
  1393. package/esm5/pipes/filter/filter.module.js +0 -16
  1394. package/esm5/pipes/filter/filter.pipe.js +0 -26
  1395. package/esm5/pipes/filter/index.js +0 -3
  1396. package/esm5/pipes/filter/taiga-ui-cdk-pipes-filter.js +0 -5
  1397. package/esm5/pipes/index.js +0 -3
  1398. package/esm5/pipes/mapper/index.js +0 -3
  1399. package/esm5/pipes/mapper/mapper.module.js +0 -16
  1400. package/esm5/pipes/mapper/mapper.pipe.js +0 -26
  1401. package/esm5/pipes/mapper/taiga-ui-cdk-pipes-mapper.js +0 -5
  1402. package/esm5/pipes/taiga-ui-cdk-pipes.js +0 -5
  1403. package/esm5/services/destroy.service.js +0 -22
  1404. package/esm5/services/directive-styles.service.js +0 -56
  1405. package/esm5/services/focus-visible.service.js +0 -35
  1406. package/esm5/services/hovered.service.js +0 -39
  1407. package/esm5/services/id.service.js +0 -26
  1408. package/esm5/services/index.js +0 -14
  1409. package/esm5/services/obscured.service.js +0 -50
  1410. package/esm5/services/pan.service.js +0 -47
  1411. package/esm5/services/parents-scroll.service.js +0 -40
  1412. package/esm5/services/resize.service.js +0 -41
  1413. package/esm5/services/scroll.service.js +0 -58
  1414. package/esm5/services/static-request.service.js +0 -48
  1415. package/esm5/services/swipe.service.js +0 -60
  1416. package/esm5/services/taiga-ui-cdk-services.js +0 -5
  1417. package/esm5/services/zoom.service.js +0 -64
  1418. package/esm5/taiga-ui-cdk.js +0 -5
  1419. package/esm5/tokens/active-element.js +0 -67
  1420. package/esm5/tokens/alerts.js +0 -5
  1421. package/esm5/tokens/default-renderer.js +0 -7
  1422. package/esm5/tokens/dialogs.js +0 -5
  1423. package/esm5/tokens/focusable-item-accessor.js +0 -3
  1424. package/esm5/tokens/index.js +0 -21
  1425. package/esm5/tokens/is-android.js +0 -7
  1426. package/esm5/tokens/is-apple.js +0 -5
  1427. package/esm5/tokens/is-chromium.js +0 -6
  1428. package/esm5/tokens/is-cypress.js +0 -9
  1429. package/esm5/tokens/is-firefox.js +0 -9
  1430. package/esm5/tokens/is-ios.js +0 -7
  1431. package/esm5/tokens/is-mobile.js +0 -12
  1432. package/esm5/tokens/is-webkit.js +0 -6
  1433. package/esm5/tokens/removed-element.js +0 -19
  1434. package/esm5/tokens/sanitizer.js +0 -4
  1435. package/esm5/tokens/swipe-options.js +0 -5
  1436. package/esm5/tokens/taiga-ui-cdk-tokens.js +0 -5
  1437. package/esm5/tokens/take-only-trusted-events.js +0 -11
  1438. package/esm5/tokens/touch-supported.js +0 -6
  1439. package/esm5/tokens/window-height.js +0 -11
  1440. package/esm5/tokens/zoom-options.js +0 -7
  1441. package/esm5/types/date-mode.js +0 -1
  1442. package/esm5/types/dialog.js +0 -1
  1443. package/esm5/types/event-with.js +0 -1
  1444. package/esm5/types/handler.js +0 -1
  1445. package/esm5/types/index.js +0 -1
  1446. package/esm5/types/input-mode.js +0 -1
  1447. package/esm5/types/input-type.js +0 -1
  1448. package/esm5/types/mapper.js +0 -1
  1449. package/esm5/types/matcher.js +0 -1
  1450. package/esm5/types/overscroll-mode.js +0 -1
  1451. package/esm5/types/taiga-ui-cdk-types.js +0 -4
  1452. package/esm5/types/time-mode.js +0 -1
  1453. package/esm5/utils/browser/index.js +0 -6
  1454. package/esm5/utils/browser/is-edge-older-than.js +0 -11
  1455. package/esm5/utils/browser/is-edge.js +0 -9
  1456. package/esm5/utils/browser/is-firefox.js +0 -9
  1457. package/esm5/utils/browser/is-ie.js +0 -9
  1458. package/esm5/utils/browser/is-safari.js +0 -11
  1459. package/esm5/utils/browser/taiga-ui-cdk-utils-browser.js +0 -5
  1460. package/esm5/utils/dom/can-scroll.js +0 -47
  1461. package/esm5/utils/dom/contains-or-after.js +0 -10
  1462. package/esm5/utils/dom/custom-event.js +0 -11
  1463. package/esm5/utils/dom/get-actual-target.js +0 -13
  1464. package/esm5/utils/dom/get-clipboard-data-text.js +0 -15
  1465. package/esm5/utils/dom/get-closest-element.js +0 -20
  1466. package/esm5/utils/dom/get-document-or-shadow-root.js +0 -11
  1467. package/esm5/utils/dom/get-element-obscurers.js +0 -39
  1468. package/esm5/utils/dom/get-element-offset.js +0 -23
  1469. package/esm5/utils/dom/get-scroll-parent.js +0 -23
  1470. package/esm5/utils/dom/get-selected-text.js +0 -17
  1471. package/esm5/utils/dom/index.js +0 -17
  1472. package/esm5/utils/dom/is-current-target.js +0 -10
  1473. package/esm5/utils/dom/is-form-field.js +0 -8
  1474. package/esm5/utils/dom/is-inside-iframe.js +0 -10
  1475. package/esm5/utils/dom/is-node-in.js +0 -18
  1476. package/esm5/utils/dom/point-to-client-rect.js +0 -13
  1477. package/esm5/utils/dom/taiga-ui-cdk-utils-dom.js +0 -5
  1478. package/esm5/utils/focus/blur-native-focused.js +0 -16
  1479. package/esm5/utils/focus/get-closest-keyboard-focusable.js +0 -42
  1480. package/esm5/utils/focus/get-native-focused.js +0 -19
  1481. package/esm5/utils/focus/index.js +0 -11
  1482. package/esm5/utils/focus/is-native-focused-in.js +0 -19
  1483. package/esm5/utils/focus/is-native-focused.js +0 -16
  1484. package/esm5/utils/focus/is-native-keyboard-focusable.js +0 -36
  1485. package/esm5/utils/focus/is-native-mouse-focusable.js +0 -11
  1486. package/esm5/utils/focus/move-focus.js +0 -23
  1487. package/esm5/utils/focus/set-native-focused.js +0 -21
  1488. package/esm5/utils/focus/set-native-mouse-focused.js +0 -28
  1489. package/esm5/utils/focus/taiga-ui-cdk-utils-focus.js +0 -5
  1490. package/esm5/utils/format/index.js +0 -3
  1491. package/esm5/utils/format/pad-start.js +0 -18
  1492. package/esm5/utils/format/px.js +0 -12
  1493. package/esm5/utils/format/taiga-ui-cdk-utils-format.js +0 -5
  1494. package/esm5/utils/index.js +0 -9
  1495. package/esm5/utils/math/clamp.js +0 -19
  1496. package/esm5/utils/math/in-range.js +0 -19
  1497. package/esm5/utils/math/index.js +0 -9
  1498. package/esm5/utils/math/normalize-to-int-number.js +0 -25
  1499. package/esm5/utils/math/quantize.js +0 -18
  1500. package/esm5/utils/math/round.js +0 -49
  1501. package/esm5/utils/math/sum.js +0 -14
  1502. package/esm5/utils/math/taiga-ui-cdk-utils-math.js +0 -5
  1503. package/esm5/utils/math/to-int.js +0 -9
  1504. package/esm5/utils/math/to-radians.js +0 -10
  1505. package/esm5/utils/miscellaneous/distance-between-touches.js +0 -10
  1506. package/esm5/utils/miscellaneous/ease-in-out-quad.js +0 -11
  1507. package/esm5/utils/miscellaneous/fallback-value.js +0 -12
  1508. package/esm5/utils/miscellaneous/flat-length.js +0 -12
  1509. package/esm5/utils/miscellaneous/get-original-array-from-query-list.js +0 -18
  1510. package/esm5/utils/miscellaneous/get-swipe-direction.js +0 -14
  1511. package/esm5/utils/miscellaneous/identity.js +0 -8
  1512. package/esm5/utils/miscellaneous/index.js +0 -14
  1513. package/esm5/utils/miscellaneous/is-element-editable.js +0 -12
  1514. package/esm5/utils/miscellaneous/is-number.js +0 -9
  1515. package/esm5/utils/miscellaneous/is-present.js +0 -9
  1516. package/esm5/utils/miscellaneous/mark-control-as-touched-and-validate.js +0 -21
  1517. package/esm5/utils/miscellaneous/nullable-same.js +0 -21
  1518. package/esm5/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.js +0 -5
  1519. package/esm5/utils/miscellaneous/uniq-by.js +0 -11
  1520. package/esm5/utils/os/index.js +0 -4
  1521. package/esm5/utils/os/is-apple-platform.js +0 -17
  1522. package/esm5/utils/os/is-apple.js +0 -11
  1523. package/esm5/utils/os/is-ios.js +0 -12
  1524. package/esm5/utils/os/taiga-ui-cdk-utils-os.js +0 -5
  1525. package/esm5/utils/svg/index.js +0 -2
  1526. package/esm5/utils/svg/svg-linear-gradient-processor.js +0 -32
  1527. package/esm5/utils/svg/taiga-ui-cdk-utils-svg.js +0 -5
  1528. package/esm5/utils/taiga-ui-cdk-utils.js +0 -5
  1529. package/exceptions/taiga-ui-cdk-exceptions.metadata.json +0 -1
  1530. package/fesm2015/taiga-ui-cdk-components-portal-host.js +0 -23
  1531. package/fesm2015/taiga-ui-cdk-components-portal-host.js.map +0 -1
  1532. package/fesm5/taiga-ui-cdk-abstract.js +0 -682
  1533. package/fesm5/taiga-ui-cdk-abstract.js.map +0 -1
  1534. package/fesm5/taiga-ui-cdk-classes.js +0 -35
  1535. package/fesm5/taiga-ui-cdk-classes.js.map +0 -1
  1536. package/fesm5/taiga-ui-cdk-coercion.js +0 -16
  1537. package/fesm5/taiga-ui-cdk-coercion.js.map +0 -1
  1538. package/fesm5/taiga-ui-cdk-components-alert-host.js +0 -63
  1539. package/fesm5/taiga-ui-cdk-components-alert-host.js.map +0 -1
  1540. package/fesm5/taiga-ui-cdk-components-dialog-host.js +0 -107
  1541. package/fesm5/taiga-ui-cdk-components-dialog-host.js.map +0 -1
  1542. package/fesm5/taiga-ui-cdk-components-dropdown-host.js +0 -52
  1543. package/fesm5/taiga-ui-cdk-components-dropdown-host.js.map +0 -1
  1544. package/fesm5/taiga-ui-cdk-components-portal-host.js +0 -28
  1545. package/fesm5/taiga-ui-cdk-components-portal-host.js.map +0 -1
  1546. package/fesm5/taiga-ui-cdk-components.js +0 -9
  1547. package/fesm5/taiga-ui-cdk-components.js.map +0 -1
  1548. package/fesm5/taiga-ui-cdk-constants.js +0 -145
  1549. package/fesm5/taiga-ui-cdk-constants.js.map +0 -1
  1550. package/fesm5/taiga-ui-cdk-date-time.js +0 -1051
  1551. package/fesm5/taiga-ui-cdk-date-time.js.map +0 -1
  1552. package/fesm5/taiga-ui-cdk-decorators.js +0 -161
  1553. package/fesm5/taiga-ui-cdk-decorators.js.map +0 -1
  1554. package/fesm5/taiga-ui-cdk-directives-active-zone.js +0 -110
  1555. package/fesm5/taiga-ui-cdk-directives-active-zone.js.map +0 -1
  1556. package/fesm5/taiga-ui-cdk-directives-auto-focus.js +0 -273
  1557. package/fesm5/taiga-ui-cdk-directives-auto-focus.js.map +0 -1
  1558. package/fesm5/taiga-ui-cdk-directives-autofilled.js +0 -73
  1559. package/fesm5/taiga-ui-cdk-directives-autofilled.js.map +0 -1
  1560. package/fesm5/taiga-ui-cdk-directives-checked.js +0 -67
  1561. package/fesm5/taiga-ui-cdk-directives-checked.js.map +0 -1
  1562. package/fesm5/taiga-ui-cdk-directives-copy-processor.js +0 -57
  1563. package/fesm5/taiga-ui-cdk-directives-copy-processor.js.map +0 -1
  1564. package/fesm5/taiga-ui-cdk-directives-drag.js +0 -70
  1565. package/fesm5/taiga-ui-cdk-directives-drag.js.map +0 -1
  1566. package/fesm5/taiga-ui-cdk-directives-droppable.js +0 -61
  1567. package/fesm5/taiga-ui-cdk-directives-droppable.js.map +0 -1
  1568. package/fesm5/taiga-ui-cdk-directives-element.js +0 -40
  1569. package/fesm5/taiga-ui-cdk-directives-element.js.map +0 -1
  1570. package/fesm5/taiga-ui-cdk-directives-focus-trap.js +0 -96
  1571. package/fesm5/taiga-ui-cdk-directives-focus-trap.js.map +0 -1
  1572. package/fesm5/taiga-ui-cdk-directives-focus-visible.js +0 -47
  1573. package/fesm5/taiga-ui-cdk-directives-focus-visible.js.map +0 -1
  1574. package/fesm5/taiga-ui-cdk-directives-focusable.js +0 -52
  1575. package/fesm5/taiga-ui-cdk-directives-focusable.js.map +0 -1
  1576. package/fesm5/taiga-ui-cdk-directives-focused.js +0 -52
  1577. package/fesm5/taiga-ui-cdk-directives-focused.js.map +0 -1
  1578. package/fesm5/taiga-ui-cdk-directives-for-async.js +0 -74
  1579. package/fesm5/taiga-ui-cdk-directives-for-async.js.map +0 -1
  1580. package/fesm5/taiga-ui-cdk-directives-for.js +0 -57
  1581. package/fesm5/taiga-ui-cdk-directives-for.js.map +0 -1
  1582. package/fesm5/taiga-ui-cdk-directives-high-dpi.js +0 -49
  1583. package/fesm5/taiga-ui-cdk-directives-high-dpi.js.map +0 -1
  1584. package/fesm5/taiga-ui-cdk-directives-hovered.js +0 -59
  1585. package/fesm5/taiga-ui-cdk-directives-hovered.js.map +0 -1
  1586. package/fesm5/taiga-ui-cdk-directives-input-mode.js +0 -62
  1587. package/fesm5/taiga-ui-cdk-directives-input-mode.js.map +0 -1
  1588. package/fesm5/taiga-ui-cdk-directives-item.js +0 -36
  1589. package/fesm5/taiga-ui-cdk-directives-item.js.map +0 -1
  1590. package/fesm5/taiga-ui-cdk-directives-let.js +0 -79
  1591. package/fesm5/taiga-ui-cdk-directives-let.js.map +0 -1
  1592. package/fesm5/taiga-ui-cdk-directives-media.js +0 -148
  1593. package/fesm5/taiga-ui-cdk-directives-media.js.map +0 -1
  1594. package/fesm5/taiga-ui-cdk-directives-obscured.js +0 -71
  1595. package/fesm5/taiga-ui-cdk-directives-obscured.js.map +0 -1
  1596. package/fesm5/taiga-ui-cdk-directives-overscroll.js +0 -130
  1597. package/fesm5/taiga-ui-cdk-directives-overscroll.js.map +0 -1
  1598. package/fesm5/taiga-ui-cdk-directives-pan.js +0 -45
  1599. package/fesm5/taiga-ui-cdk-directives-pan.js.map +0 -1
  1600. package/fesm5/taiga-ui-cdk-directives-portal.js +0 -59
  1601. package/fesm5/taiga-ui-cdk-directives-portal.js.map +0 -1
  1602. package/fesm5/taiga-ui-cdk-directives-pressed.js +0 -48
  1603. package/fesm5/taiga-ui-cdk-directives-pressed.js.map +0 -1
  1604. package/fesm5/taiga-ui-cdk-directives-prevent-default.js +0 -56
  1605. package/fesm5/taiga-ui-cdk-directives-prevent-default.js.map +0 -1
  1606. package/fesm5/taiga-ui-cdk-directives-repeat-times.js +0 -84
  1607. package/fesm5/taiga-ui-cdk-directives-repeat-times.js.map +0 -1
  1608. package/fesm5/taiga-ui-cdk-directives-resize.js +0 -45
  1609. package/fesm5/taiga-ui-cdk-directives-resize.js.map +0 -1
  1610. package/fesm5/taiga-ui-cdk-directives-swipe.js +0 -45
  1611. package/fesm5/taiga-ui-cdk-directives-swipe.js.map +0 -1
  1612. package/fesm5/taiga-ui-cdk-directives-validator.js +0 -63
  1613. package/fesm5/taiga-ui-cdk-directives-validator.js.map +0 -1
  1614. package/fesm5/taiga-ui-cdk-directives-zoom.js +0 -48
  1615. package/fesm5/taiga-ui-cdk-directives-zoom.js.map +0 -1
  1616. package/fesm5/taiga-ui-cdk-directives.js +0 -35
  1617. package/fesm5/taiga-ui-cdk-directives.js.map +0 -1
  1618. package/fesm5/taiga-ui-cdk-enums.js +0 -141
  1619. package/fesm5/taiga-ui-cdk-enums.js.map +0 -1
  1620. package/fesm5/taiga-ui-cdk-exceptions.js +0 -148
  1621. package/fesm5/taiga-ui-cdk-exceptions.js.map +0 -1
  1622. package/fesm5/taiga-ui-cdk-interfaces.js +0 -4
  1623. package/fesm5/taiga-ui-cdk-interfaces.js.map +0 -1
  1624. package/fesm5/taiga-ui-cdk-observables.js +0 -204
  1625. package/fesm5/taiga-ui-cdk-observables.js.map +0 -1
  1626. package/fesm5/taiga-ui-cdk-pipes-filter.js +0 -44
  1627. package/fesm5/taiga-ui-cdk-pipes-filter.js.map +0 -1
  1628. package/fesm5/taiga-ui-cdk-pipes-mapper.js +0 -44
  1629. package/fesm5/taiga-ui-cdk-pipes-mapper.js.map +0 -1
  1630. package/fesm5/taiga-ui-cdk-pipes.js +0 -7
  1631. package/fesm5/taiga-ui-cdk-pipes.js.map +0 -1
  1632. package/fesm5/taiga-ui-cdk-services.js +0 -507
  1633. package/fesm5/taiga-ui-cdk-services.js.map +0 -1
  1634. package/fesm5/taiga-ui-cdk-tokens.js +0 -181
  1635. package/fesm5/taiga-ui-cdk-tokens.js.map +0 -1
  1636. package/fesm5/taiga-ui-cdk-types.js +0 -4
  1637. package/fesm5/taiga-ui-cdk-types.js.map +0 -1
  1638. package/fesm5/taiga-ui-cdk-utils-browser.js +0 -55
  1639. package/fesm5/taiga-ui-cdk-utils-browser.js.map +0 -1
  1640. package/fesm5/taiga-ui-cdk-utils-dom.js +0 -292
  1641. package/fesm5/taiga-ui-cdk-utils-dom.js.map +0 -1
  1642. package/fesm5/taiga-ui-cdk-utils-focus.js +0 -228
  1643. package/fesm5/taiga-ui-cdk-utils-focus.js.map +0 -1
  1644. package/fesm5/taiga-ui-cdk-utils-format.js +0 -37
  1645. package/fesm5/taiga-ui-cdk-utils-format.js.map +0 -1
  1646. package/fesm5/taiga-ui-cdk-utils-math.js +0 -166
  1647. package/fesm5/taiga-ui-cdk-utils-math.js.map +0 -1
  1648. package/fesm5/taiga-ui-cdk-utils-miscellaneous.js +0 -174
  1649. package/fesm5/taiga-ui-cdk-utils-miscellaneous.js.map +0 -1
  1650. package/fesm5/taiga-ui-cdk-utils-os.js +0 -44
  1651. package/fesm5/taiga-ui-cdk-utils-os.js.map +0 -1
  1652. package/fesm5/taiga-ui-cdk-utils-svg.js +0 -39
  1653. package/fesm5/taiga-ui-cdk-utils-svg.js.map +0 -1
  1654. package/fesm5/taiga-ui-cdk-utils.js +0 -13
  1655. package/fesm5/taiga-ui-cdk-utils.js.map +0 -1
  1656. package/fesm5/taiga-ui-cdk.js +0 -20
  1657. package/fesm5/taiga-ui-cdk.js.map +0 -1
  1658. package/interfaces/taiga-ui-cdk-interfaces.metadata.json +0 -1
  1659. package/observables/taiga-ui-cdk-observables.metadata.json +0 -1
  1660. package/pipes/filter/taiga-ui-cdk-pipes-filter.metadata.json +0 -1
  1661. package/pipes/mapper/taiga-ui-cdk-pipes-mapper.metadata.json +0 -1
  1662. package/pipes/taiga-ui-cdk-pipes.metadata.json +0 -1
  1663. package/services/hovered.service.d.ts +0 -9
  1664. package/services/taiga-ui-cdk-services.metadata.json +0 -1
  1665. package/taiga-ui-cdk.metadata.json +0 -1
  1666. package/tokens/taiga-ui-cdk-tokens.metadata.json +0 -1
  1667. package/types/taiga-ui-cdk-types.metadata.json +0 -1
  1668. package/utils/browser/taiga-ui-cdk-utils-browser.metadata.json +0 -1
  1669. package/utils/dom/custom-event.d.ts +0 -2
  1670. package/utils/dom/get-closest-element.d.ts +0 -5
  1671. package/utils/dom/taiga-ui-cdk-utils-dom.metadata.json +0 -1
  1672. package/utils/focus/taiga-ui-cdk-utils-focus.metadata.json +0 -1
  1673. package/utils/format/pad-start.d.ts +0 -9
  1674. package/utils/format/taiga-ui-cdk-utils-format.metadata.json +0 -1
  1675. package/utils/math/taiga-ui-cdk-utils-math.metadata.json +0 -1
  1676. package/utils/miscellaneous/fallback-value.d.ts +0 -7
  1677. package/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.metadata.json +0 -1
  1678. package/utils/os/taiga-ui-cdk-utils-os.metadata.json +0 -1
  1679. package/utils/svg/taiga-ui-cdk-utils-svg.metadata.json +0 -1
  1680. package/utils/taiga-ui-cdk-utils.metadata.json +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/cdk/directives/auto-focus/handlers/abstract.handler.ts","ng://@taiga-ui/cdk/directives/auto-focus/handlers/default.handler.ts","ng://@taiga-ui/cdk/directives/auto-focus/handlers/ios.handler.ts","ng://@taiga-ui/cdk/directives/auto-focus/autofocus.options.ts","ng://@taiga-ui/cdk/directives/auto-focus/autofocus.directive.ts","ng://@taiga-ui/cdk/directives/auto-focus/autofocus.module.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__extends","TypeError","String","__","this","constructor","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","__values","o","s","Symbol","iterator","m","next","value","done","AbstractTuiAutofocusHandler","tuiFocusableComponent","elementRef","_a","nativeFocusableElement","nativeElement","element","matches","ElementRef","Directive","TuiDefaultAutofocusHandler","animationFrame$","_this","_super","setFocus","isTextFieldElement","race","timer","pipe","throttleTime","POLLING_TIME","map","closest","skipWhile","Boolean","take","subscribe","focus","Optional","type","Self","Inject","args","TUI_FOCUSABLE_ITEM_ACCESSOR","Observable","ANIMATION_FRAME","TuiIosAutofocusHandler","renderer","ngZone","windowRef","patchCssStyles","runOutsideAngular","iosWebkitAutofocus","fakeInput","makeFakeInput","duration","getDurationTimeBeforeFocus","fakeFocusTimeoutId","elementFocusTimeoutId","blurHandler","preventScroll","focusHandler","clearTimeout","setTimeout","removeEventListener","remove","addEventListener","once","insideDialog","document","body","appendChild","parentElement","createElement","rect","getBoundingClientRect","style","height","px","width","position","opacity","fontSize","readOnly","top","left","parseFloat","getComputedStyle","getPropertyValue","documentRef","_b","documentElement","_c","setProperty","Renderer2","NgZone","Window","WINDOW","TUI_AUTOFOCUS_HANDLER","InjectionToken","tuiAutofocusHandlerFactory","isIos","TUI_AUTOFOCUS_PROVIDERS","provide","useFactory","deps","TUI_IS_IOS","TuiAutoFocusDirective","handler","autoFocus","ngAfterViewInit","Input","selector","providers","TuiAutoFocusModule","NgModule","declarations","exports"],"mappings":"m2BAgBA,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,IAGrB,SAASS,EAAUV,EAAGC,GACzB,GAAiB,mBAANA,GAA0B,OAANA,EAC3B,MAAM,IAAIU,UAAU,uBAAyBC,OAAOX,GAAK,iCAE7D,SAASY,IAAOC,KAAKC,YAAcf,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEO,UAAkB,OAANN,EAAaC,OAAOc,OAAOf,IAAMY,EAAGN,UAAYN,EAAEM,UAAW,IAAIM,GA0B5E,SAASI,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HrB,EAAvHsB,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOnB,OAAOwB,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,KAAS7B,EAAIkB,EAAWW,MAAIJ,GAAKH,EAAI,EAAItB,EAAEyB,GAAKH,EAAI,EAAItB,EAAEmB,EAAQC,EAAKK,GAAKzB,EAAEmB,EAAQC,KAASK,GAChJ,OAAOH,EAAI,GAAKG,GAAKvB,OAAO4B,eAAeX,EAAQC,EAAKK,GAAIA,EAGzD,SAASM,EAAQC,EAAYC,GAChC,OAAO,SAAUd,EAAQC,GAAOa,EAAUd,EAAQC,EAAKY,IA6C9B9B,OAAOc,OAgB7B,SAASkB,EAASC,GACrB,IAAIC,EAAsB,mBAAXC,QAAyBA,OAAOC,SAAUC,EAAIH,GAAKD,EAAEC,GAAIP,EAAI,EAC5E,GAAIU,EAAG,OAAOA,EAAE9B,KAAK0B,GACrB,GAAIA,GAAyB,iBAAbA,EAAEX,OAAqB,MAAO,CAC1CgB,KAAM,WAEF,OADIL,GAAKN,GAAKM,EAAEX,SAAQW,OAAI,GACrB,CAAEM,MAAON,GAAKA,EAAEN,KAAMa,MAAOP,KAG5C,MAAM,IAAIxB,UAAUyB,EAAI,0BAA4B,mCAiF/BlC,OAAOc,wBC3M5B,SAAA2B,EACuBC,EACAC,GADA/B,KAAA8B,sBAAAA,EACA9B,KAAA+B,WAAAA,EAe3B,OAZI3C,OAAA4B,eAAca,EAAApC,UAAA,UAAO,KAArB,iBACI,OAC8B,QAA1BuC,EAAAhC,KAAK8B,6BAAqB,IAAAE,OAAA,EAAAA,EAAEC,yBAC5BjC,KAAK+B,WAAWG,+CAIxB9C,OAAA4B,eAAca,EAAApC,UAAA,qBAAkB,KAAhC,WACI,OAAOO,KAAKmC,QAAQC,QAAQ,2GAXGC,EAAAA,cAHjBR,EAA2B1B,EAAA,CADhDmC,EAAAA,aACqBT,oBCMlB,SAAAU,EAIIT,EACoBC,EACsBS,GAN9C,IAAAC,EAQIC,EAAA/C,KAAAK,KAAM8B,EAAuBC,IAAW/B,YAFEyC,EAAAD,gBAAAA,IAoBlD,OA3BgD5C,EAAA2C,EAAAG,GAY5CH,EAAA9C,UAAAkD,SAAA,WAAA,IAAAF,EAAAzC,KACQA,KAAK4C,mBACLC,EAAAA,KACIC,EAAAA,MAnBA,KAoBA9C,KAAKwC,gBAAgBO,KACjBC,EAAAA,aAAaC,EAAAA,cACbC,EAAAA,KAAI,WAAM,OAAAT,EAAKN,QAAQgB,QArBb,oBAsBVC,EAAAA,UAAUC,SACVC,EAAAA,KAAK,KAEXC,WAAU,WAAM,OAAAd,EAAKN,QAAQqB,WAE/BxD,KAAKmC,QAAQqB,2EAtBhBC,EAAAA,UAAQ,CAAAC,KACRC,EAAAA,MAAI,CAAAD,KACJE,EAAAA,OAAMC,KAAA,CAACC,EAAAA,sCAEwBzB,EAAAA,WAAUjC,WAAA,CAAA,CAAAsD,KAAzCE,EAAAA,OAAMC,KAAA,CAACxB,EAAAA,qBACmD0B,EAAAA,WAAU3D,WAAA,CAAA,CAAAsD,KAApEE,EAAAA,OAAMC,KAAA,CAACG,EAAAA,sBAPHzB,EAA0BpC,EAAA,CADtCmC,EAAAA,YAGQrB,EAAA,EAAAwC,EAAAA,YACAxC,EAAA,EAAA0C,EAAAA,QACA1C,EAAA,EAAA2C,EAAAA,OAAOE,EAAAA,8BAEP7C,EAAA,EAAA2C,EAAAA,OAAOvB,EAAAA,aACPpB,EAAA,EAAA2C,EAAAA,OAAOI,EAAAA,mBAPHzB,IAAmCV,iBCK5C,SAAAoC,EAIInC,EACoBC,EACgBmC,EACHC,EACAC,GARrC,IAAA3B,EAUIC,EAAA/C,KAAAK,KAAM8B,EAAuBC,IAAW/B,YAJJyC,EAAAyB,SAAAA,EACHzB,EAAA0B,OAAAA,EACA1B,EAAA2B,UAAAA,EAGjC3B,EAAK4B,mBA0Gb,OAtH4CzE,EAAAqE,EAAAvB,GAexCuB,EAAAxE,UAAAkD,SAAA,WAAA,IAAAF,EAAAzC,KACQA,KAAK4C,mBACL5C,KAAKmE,OAAOG,mBAAkB,WAAM,OAAA7B,EAAK8B,wBAEzCvE,KAAKmC,QAAQqB,SAIbS,EAAAxE,UAAA8E,mBAAR,WAAA,MAAA9B,EAAAzC,KACUwE,EAA8BxE,KAAKyE,gBACnCC,EAAW1E,KAAK2E,6BAClBC,EAAqB,EACrBC,EAAwB,EAEtBC,EAAc,WAAY,OAAAN,EAAUhB,MAAM,CAACuB,eAAe,KAC1DC,EAAe,WACjBC,aAAaL,GAEbA,EAAqBnC,EAAK2B,UAAUc,YAAW,WAC3CD,aAAaJ,GAEbL,EAAUW,oBAAoB,OAAQL,GACtCN,EAAUW,oBAAoB,QAASH,GAEvCH,EAAwBpC,EAAK2B,UAAUc,YAAW,WAC9CzC,EAAKN,QAAQqB,MAAM,CAACuB,eAAe,IACnCP,EAAUY,WACXV,OAIXF,EAAUa,iBAAiB,OAAQP,EAAa,CAACQ,MAAM,IACvDd,EAAUa,iBAAiB,QAASL,GAEhChF,KAAKuF,eACLvF,KAAKoE,UAAUoB,SAASC,KAAKC,YAAYlB,GAEf,QAA1BxC,EAAAhC,KAAKmC,QAAQwD,qBAAa,IAAA3D,GAAAA,EAAE0D,YAAYlB,GAG5CA,EAAUhB,MAAM,CAACuB,eAAe,KAQ5Bd,EAAAxE,UAAAgF,cAAR,WACI,IAAMD,EAA8BxE,KAAKkE,SAAS0B,cAAc,SAC1DC,EAAgB7F,KAAKmC,QAAQ2D,wBAanC,OAXAtB,EAAUuB,MAAMC,OAASC,EAAAA,GAAGJ,EAAKG,QACjCxB,EAAUuB,MAAMG,MAAQD,EAAAA,GAAGJ,EAAKK,MAAQ,GACxC1B,EAAUuB,MAAMI,SAAW,QAC3B3B,EAAUuB,MAAMK,QAAU,IAC1B5B,EAAUuB,MAAMM,SAAWJ,EAAAA,GAAG,IAC9BzB,EAAU8B,UAAW,EAGrB9B,EAAUuB,MAAMQ,IAAMN,EAAAA,GAAGJ,EAAKU,KAC9B/B,EAAUuB,MAAMS,KAAOP,EAAAA,GAAGJ,EAAKW,MAExBhC,GAGHP,EAAAxE,UAAAkF,2BAAR,WACI,OACI8B,WACIzG,KAAKoE,UACAsC,iBAAiB1G,KAAKmC,SACtBwE,iBAAiB,oBACrB,GAWL1C,EAAAxE,UAAA8F,aAAR,WACI,QAASvF,KAAKmC,QAAQgB,QAAQ,eAW1Bc,EAAAxE,UAAA4E,eAAR,mBACUuC,EAAc5G,KAAKoE,UAAUoB,aAEnC,IAAsB,IAAAqB,EAAAzF,EAAA,CAACwF,EAAYE,gBAAiBF,EAAYnB,OAAKsB,EAAAF,EAAAnF,QAAAqF,EAAAnF,KAAAmF,EAAAF,EAAAnF,OAAE,CAAlE,IAAMS,EAAO4E,EAAApF,MACdQ,EAAQ4D,MAAMiB,YAAY,WAAY,QACtC7E,EAAQ4D,MAAMiB,YAAY,SAAU,8KAjHvCvD,EAAAA,UAAQ,CAAAC,KACRC,EAAAA,MAAI,CAAAD,KACJE,EAAAA,OAAMC,KAAA,CAACC,EAAAA,sCAEwBzB,EAAAA,WAAUjC,WAAA,CAAA,CAAAsD,KAAzCE,EAAAA,OAAMC,KAAA,CAACxB,EAAAA,qBACsC4E,EAAAA,UAAS7G,WAAA,CAAA,CAAAsD,KAAtDE,EAAAA,OAAMC,KAAA,CAACoD,EAAAA,oBACiCC,EAAAA,OAAM9G,WAAA,CAAA,CAAAsD,KAA9CE,EAAAA,OAAMC,KAAA,CAACqD,EAAAA,iBACoCC,OAAM/G,WAAA,CAAA,CAAAsD,KAAjDE,EAAAA,OAAMC,KAAA,CAACuD,EAAAA,aATHnD,EAAsB9D,EAAA,CADlCmC,EAAAA,YAGQrB,EAAA,EAAAwC,EAAAA,YACAxC,EAAA,EAAA0C,EAAAA,QACA1C,EAAA,EAAA2C,EAAAA,OAAOE,EAAAA,8BAEP7C,EAAA,EAAA2C,EAAAA,OAAOvB,EAAAA,aACPpB,EAAA,EAAA2C,EAAAA,OAAOqD,EAAAA,YACPhG,EAAA,EAAA2C,EAAAA,OAAOsD,EAAAA,SACPjG,EAAA,EAAA2C,EAAAA,OAAOwD,EAAAA,UATHnD,IAA+BpC,GCE/BwF,EAAwB,IAAIC,EAAAA,eACrC,iCAIYC,EACZzF,EACAC,EACAS,EACA0B,EACAC,EACAC,EACAoD,GAEA,OAAOA,EACD,IAAIvD,EACAnC,EACAC,EACAmC,EACAC,EACAC,GAEJ,IAAI7B,EACAT,EACAC,EACAS,OAIDiF,EAA0B,CACnC,CACIC,QAASL,EAETM,WAAYJ,EACZK,KAAM,CACF,CAAC,IAAInE,EAAAA,SAAY,IAAIE,EAAAA,KAAQG,EAAAA,6BAC7BzB,EAAAA,WACA2B,EAAAA,gBACAiD,EAAAA,UACAC,EAAAA,OACAE,EAAAA,OACAS,EAAAA,2BC5CR,SAAAC,EACoDC,GAAA/H,KAAA+H,QAAAA,EAHpD/H,KAAAgI,WAAY,EAWhB,OALIF,EAAArI,UAAAwI,gBAAA,WACQjI,KAAKgI,WACLhI,KAAK+H,QAAQpF,8EALhBiB,EAAAA,OAAMC,KAAA,CAACwD,QAHZlH,EAAA,CADC+H,EAAAA,yCADQJ,EAAqB3H,EAAA,CAJjCmC,EAAAA,UAAU,CACP6F,SAAU,iBACVC,UAAWX,IAONxG,EAAA,EAAA2C,EAAAA,OAAOyD,KALHS,mBCLb,SAAAO,KAAiC,OAApBA,EAAkBlI,EAAA,CAJ9BmI,EAAAA,SAAS,CACNC,aAAc,CAACT,GACfU,QAAS,CAACV,MAEDO","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, ElementRef} from '@angular/core';\nimport {\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk/interfaces';\n\nimport {TuiAutofocusHandler} from '../autofocus.options';\n\n@Directive()\nexport abstract class AbstractTuiAutofocusHandler implements TuiAutofocusHandler {\n protected constructor(\n protected readonly tuiFocusableComponent: TuiFocusableElementAccessor | null,\n protected readonly elementRef: ElementRef<HTMLElement>,\n ) {}\n\n protected get element(): TuiNativeFocusableElement {\n return (\n this.tuiFocusableComponent?.nativeFocusableElement ||\n this.elementRef.nativeElement\n );\n }\n\n protected get isTextFieldElement(): boolean {\n return this.element.matches('input, textarea');\n }\n\n abstract setFocus(): void;\n}\n","import {Directive, ElementRef, Inject, Optional, Self} from '@angular/core';\nimport {ANIMATION_FRAME} from '@ng-web-apis/common';\nimport {POLLING_TIME} from '@taiga-ui/cdk/constants';\nimport {TuiFocusableElementAccessor} from '@taiga-ui/cdk/interfaces';\nimport {TUI_FOCUSABLE_ITEM_ACCESSOR} from '@taiga-ui/cdk/tokens';\nimport {Observable, race, timer} from 'rxjs';\nimport {map, skipWhile, take, throttleTime} from 'rxjs/operators';\n\nimport {AbstractTuiAutofocusHandler} from './abstract.handler';\n\nconst TIMEOUT = 1000;\nconst NG_ANIMATION_SELECTOR = '.ng-animating';\n\n@Directive()\nexport class TuiDefaultAutofocusHandler extends AbstractTuiAutofocusHandler {\n constructor(\n @Optional()\n @Self()\n @Inject(TUI_FOCUSABLE_ITEM_ACCESSOR)\n tuiFocusableComponent: TuiFocusableElementAccessor | null,\n @Inject(ElementRef) elementRef: ElementRef<HTMLElement>,\n @Inject(ANIMATION_FRAME) private readonly animationFrame$: Observable<number>,\n ) {\n super(tuiFocusableComponent, elementRef);\n }\n\n setFocus(): void {\n if (this.isTextFieldElement) {\n race(\n timer(TIMEOUT),\n this.animationFrame$.pipe(\n throttleTime(POLLING_TIME),\n map(() => this.element.closest(NG_ANIMATION_SELECTOR)),\n skipWhile(Boolean),\n take(1),\n ),\n ).subscribe(() => this.element.focus());\n } else {\n this.element.focus();\n }\n }\n}\n","import {\n Directive,\n ElementRef,\n Inject,\n NgZone,\n Optional,\n Renderer2,\n Self,\n} from '@angular/core';\nimport {WINDOW} from '@ng-web-apis/common';\nimport {TuiFocusableElementAccessor} from '@taiga-ui/cdk/interfaces';\nimport {TUI_FOCUSABLE_ITEM_ACCESSOR} from '@taiga-ui/cdk/tokens';\nimport {px} from '@taiga-ui/cdk/utils';\n\nimport {AbstractTuiAutofocusHandler} from './abstract.handler';\n\n// @dynamic\n@Directive()\nexport class TuiIosAutofocusHandler extends AbstractTuiAutofocusHandler {\n constructor(\n @Optional()\n @Self()\n @Inject(TUI_FOCUSABLE_ITEM_ACCESSOR)\n tuiFocusableComponent: TuiFocusableElementAccessor | null,\n @Inject(ElementRef) elementRef: ElementRef<HTMLElement>,\n @Inject(Renderer2) private readonly renderer: Renderer2,\n @Inject(NgZone) private readonly ngZone: NgZone,\n @Inject(WINDOW) private readonly windowRef: Window,\n ) {\n super(tuiFocusableComponent, elementRef);\n this.patchCssStyles();\n }\n\n setFocus(): void {\n if (this.isTextFieldElement) {\n this.ngZone.runOutsideAngular(() => this.iosWebkitAutofocus());\n } else {\n this.element.focus();\n }\n }\n\n private iosWebkitAutofocus(): void {\n const fakeInput: HTMLInputElement = this.makeFakeInput();\n const duration = this.getDurationTimeBeforeFocus();\n let fakeFocusTimeoutId = 0;\n let elementFocusTimeoutId = 0;\n\n const blurHandler = (): void => fakeInput.focus({preventScroll: true});\n const focusHandler = (): void => {\n clearTimeout(fakeFocusTimeoutId);\n\n fakeFocusTimeoutId = this.windowRef.setTimeout(() => {\n clearTimeout(elementFocusTimeoutId);\n\n fakeInput.removeEventListener('blur', blurHandler);\n fakeInput.removeEventListener('focus', focusHandler);\n\n elementFocusTimeoutId = this.windowRef.setTimeout(() => {\n this.element.focus({preventScroll: false});\n fakeInput.remove();\n }, duration);\n });\n };\n\n fakeInput.addEventListener('blur', blurHandler, {once: true});\n fakeInput.addEventListener('focus', focusHandler);\n\n if (this.insideDialog()) {\n this.windowRef.document.body.appendChild(fakeInput);\n } else {\n this.element.parentElement?.appendChild(fakeInput);\n }\n\n fakeInput.focus({preventScroll: true});\n }\n\n /**\n * @note:\n * emulate textfield position in layout with cursor\n * before focus to real textfield element\n */\n private makeFakeInput(): HTMLInputElement {\n const fakeInput: HTMLInputElement = this.renderer.createElement('input');\n const rect: DOMRect = this.element.getBoundingClientRect();\n\n fakeInput.style.height = px(rect.height);\n fakeInput.style.width = px(rect.width / 2);\n fakeInput.style.position = 'fixed';\n fakeInput.style.opacity = '0';\n fakeInput.style.fontSize = px(16); // disable possible auto zoom\n fakeInput.readOnly = true; // prevent keyboard for fake input\n\n // @note: emulate position cursor before focus to real textfield element\n fakeInput.style.top = px(rect.top);\n fakeInput.style.left = px(rect.left);\n\n return fakeInput;\n }\n\n private getDurationTimeBeforeFocus(): number {\n return (\n parseFloat(\n this.windowRef\n .getComputedStyle(this.element)\n .getPropertyValue('--tui-duration'),\n ) || 0\n );\n }\n\n /**\n * @note:\n * unfortunately, in older versions of iOS\n * there is a bug that the fake input cursor\n * will move along with the dialog animation\n * and then that dialog will be shaking\n */\n private insideDialog(): boolean {\n return !!this.element.closest('tui-dialog');\n }\n\n /**\n * @note:\n * This is necessary so that the viewport isn't recalculated\n * and then the dialogs don't shake.\n *\n * Also, we need to fixed height viewport,\n * so that when focusing the dialogs don't shake\n */\n private patchCssStyles(): void {\n const documentRef = this.windowRef.document;\n\n for (const element of [documentRef.documentElement, documentRef.body]) {\n element.style.setProperty('overflow', 'auto');\n element.style.setProperty('height', '100%');\n }\n }\n}\n","import {\n ElementRef,\n InjectionToken,\n NgZone,\n Optional,\n Renderer2,\n Self,\n} from '@angular/core';\nimport {ANIMATION_FRAME, WINDOW} from '@ng-web-apis/common';\nimport {TuiFocusableElementAccessor} from '@taiga-ui/cdk/interfaces';\nimport {TUI_FOCUSABLE_ITEM_ACCESSOR, TUI_IS_IOS} from '@taiga-ui/cdk/tokens';\nimport {Observable} from 'rxjs';\n\nimport {TuiDefaultAutofocusHandler} from './handlers/default.handler';\nimport {TuiIosAutofocusHandler} from './handlers/ios.handler';\n\nexport interface TuiAutofocusHandler {\n setFocus(): void;\n}\n\nexport const TUI_AUTOFOCUS_HANDLER = new InjectionToken<TuiAutofocusHandler>(\n 'Autofocusing handler',\n);\n\n// TODO: 3.0 remove in ivy compilation\nexport function tuiAutofocusHandlerFactory(\n tuiFocusableComponent: TuiFocusableElementAccessor | null,\n elementRef: ElementRef<HTMLElement>,\n animationFrame$: Observable<number>,\n renderer: Renderer2,\n ngZone: NgZone,\n windowRef: Window,\n isIos: boolean,\n): TuiAutofocusHandler {\n return isIos\n ? new TuiIosAutofocusHandler(\n tuiFocusableComponent,\n elementRef,\n renderer,\n ngZone,\n windowRef,\n )\n : new TuiDefaultAutofocusHandler(\n tuiFocusableComponent,\n elementRef,\n animationFrame$,\n );\n}\n\nexport const TUI_AUTOFOCUS_PROVIDERS = [\n {\n provide: TUI_AUTOFOCUS_HANDLER,\n // TODO: replace to useClass in v3.0\n useFactory: tuiAutofocusHandlerFactory,\n deps: [\n [new Optional(), new Self(), TUI_FOCUSABLE_ITEM_ACCESSOR],\n ElementRef,\n ANIMATION_FRAME,\n Renderer2,\n NgZone,\n WINDOW,\n TUI_IS_IOS,\n ],\n },\n];\n","import {AfterViewInit, Directive, Inject, Input} from '@angular/core';\n\nimport {\n TUI_AUTOFOCUS_HANDLER,\n TUI_AUTOFOCUS_PROVIDERS,\n TuiAutofocusHandler,\n} from './autofocus.options';\n\n// TODO: 3.0 change input name to tuiAutoFocus and handle empty string\n@Directive({\n selector: '[tuiAutoFocus]',\n providers: TUI_AUTOFOCUS_PROVIDERS,\n})\nexport class TuiAutoFocusDirective implements AfterViewInit {\n @Input()\n autoFocus = true;\n\n constructor(\n @Inject(TUI_AUTOFOCUS_HANDLER) private readonly handler: TuiAutofocusHandler,\n ) {}\n\n ngAfterViewInit(): void {\n if (this.autoFocus) {\n this.handler.setFocus();\n }\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiAutoFocusDirective} from './autofocus.directive';\n\n@NgModule({\n declarations: [TuiAutoFocusDirective],\n exports: [TuiAutoFocusDirective],\n})\nexport class TuiAutoFocusModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@taiga-ui/cdk/services")):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/directives/autofilled",["exports","@angular/core","@taiga-ui/cdk/services"],e):e(((t=t||self)["taiga-ui"]=t["taiga-ui"]||{},t["taiga-ui"].cdk=t["taiga-ui"].cdk||{},t["taiga-ui"].cdk.directives=t["taiga-ui"].cdk.directives||{},t["taiga-ui"].cdk.directives.autofilled={}),t.ng.core,t["taiga-ui"].cdk.services)}(this,(function(t,e,i){"use strict";function o(t,e,i,o){var n,r=arguments.length,a=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,i,o);else for(var u=t.length-1;u>=0;u--)(n=t[u])&&(a=(r<3?n(a):r>3?n(e,i,a):n(e,i))||a);return r>3&&a&&Object.defineProperty(e,i,a),a}Object.create;Object.create;var n=function(){function t(){}return t=o([e.Component({template:"",encapsulation:e.ViewEncapsulation.None,styles:[".tui-autofill,.tui-autofill input{transition:box-shadow 10ms}.tui-autofill input::-webkit-credit-card-auto-fill-button,.tui-autofill::-webkit-credit-card-auto-fill-button{pointer-events:none;background-color:transparent!important;-webkit-mask-image:none!important}"]})],t)}(),r=function(){function t(t){this.autofilled=!1,this.tuiAutofilledChange=new e.EventEmitter,t.addComponent(n)}var r,a;return t.prototype.transitionStartHandler=function(t){var e,i=t.propertyName,o=t.target;i.includes("box-shadow")&&(null===(e=o)||void 0===e?void 0:e.matches("input"))&&(this.autofilled=!this.autofilled,this.tuiAutofilledChange.emit(this.autofilled))},t.ctorParameters=function(){return[{type:i.TuiDirectiveStylesService,decorators:[{type:e.Inject,args:[i.TuiDirectiveStylesService]}]}]},o([e.HostBinding("class._autofilled")],t.prototype,"autofilled",void 0),o([e.Output()],t.prototype,"tuiAutofilledChange",void 0),o([e.HostListener("transitionstart",["$event"])],t.prototype,"transitionStartHandler",null),t=o([e.Directive({selector:"[tuiAutofilledChange]",host:{class:"tui-autofill"}}),(r=0,a=e.Inject(i.TuiDirectiveStylesService),function(t,e){a(t,e,r)})],t)}(),a=function(){function t(){}return t=o([e.NgModule({exports:[r],entryComponents:[n],declarations:[r,n]})],t)}();t.TuiAutofilledDirective=r,t.TuiAutofilledModule=a,t.TuiAutofilledStyleComponent=n,Object.defineProperty(t,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-directives-autofilled.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/cdk/directives/autofilled/autofilled-style.component.ts","ng://@taiga-ui/cdk/directives/autofilled/autofilled.directive.ts","ng://@taiga-ui/cdk/directives/autofilled/autofilled.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","create","TuiAutofilledStyleComponent","Component","template","encapsulation","ViewEncapsulation","None","TuiAutofilledDirective","directiveStyles","this","autofilled","tuiAutofilledChange","EventEmitter","addComponent","paramIndex","decorator","prototype","transitionStartHandler","_a","propertyName","includes","_b","matches","emit","TuiDirectiveStylesService","type","Inject","args","HostBinding","Output","HostListener","Directive","selector","host","class","TuiAutofilledModule","NgModule","exports","entryComponents","declarations"],"mappings":"8hBAsDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GAChJ,OAAOH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,EAiDnCC,OAAOM,OA0GXN,OAAOM,wBC9MhC,SAAAC,KAA0C,OAA7BA,EAA2BjB,EAAA,CALvCkB,EAAAA,UAAU,CACPC,SAAU,GAEVC,cAAeC,EAAAA,kBAAkBC,4RAExBL,mBCgBT,SAAAM,EACuCC,GANvCC,KAAAC,YAAa,EAGJD,KAAAE,oBAAsB,IAAIC,EAAAA,aAK/BJ,EAAgBK,aAAaZ,GFmC9B,IAAiBa,EAAYC,EEtBpC,OATIR,EAAAS,UAAAC,uBAAA,SAAuBC,SAACC,EAAAD,EAAAC,aAAcjC,EAAAgC,EAAAhC,OAE9BiC,EAAaC,SAAS,gBAAoC,QAAvBC,EAAKnC,SAAkB,IAAAmC,OAAA,EAAAA,EAAEC,QAAQ,YAGpEb,KAAKC,YAAcD,KAAKC,WACxBD,KAAKE,oBAAoBY,KAAKd,KAAKC,uDAZac,EAAAA,0BAAyBvC,WAAA,CAAA,CAAAwC,KAA5EC,EAAAA,OAAMC,KAAA,CAACH,EAAAA,gCANZxC,EAAA,CADC4C,EAAAA,YAAY,uDAIb5C,EAAA,CADC6C,EAAAA,oDAUD7C,EAAA,CADC8C,EAAAA,aAAa,kBAAmB,CAAC,uDAbzBvB,EAAsBvB,EAAA,CAJlC+C,EAAAA,UAAU,CACPC,SAAU,wBACVC,KAAM,CAACC,MAAO,mBF+CMpB,EErCf,EFqC2BC,EErC3BW,EAAAA,OAAOF,EAAAA,2BFsCL,SAAUtC,EAAQC,GAAO4B,EAAU7B,EAAQC,EAAK2B,ME9C9CP,mBCNb,SAAA4B,KAAkC,OAArBA,EAAmBnD,EAAA,CAL/BoD,EAAAA,SAAS,CACNC,QAAS,CAAC9B,GACV+B,gBAAiB,CAACrC,GAClBsC,aAAc,CAAChC,EAAwBN,MAE9BkC","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 {Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n template: '',\n styleUrls: ['./autofilled.style.less'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class TuiAutofilledStyleComponent {}\n","import {\n Directive,\n EventEmitter,\n HostBinding,\n HostListener,\n Inject,\n Output,\n} from '@angular/core';\nimport {TuiDirectiveStylesService} from '@taiga-ui/cdk/services';\n\nimport {TuiAutofilledStyleComponent} from './autofilled-style.component';\n\n@Directive({\n selector: '[tuiAutofilledChange]',\n host: {class: 'tui-autofill'},\n})\nexport class TuiAutofilledDirective {\n @HostBinding('class._autofilled')\n autofilled = false;\n\n @Output()\n readonly tuiAutofilledChange = new EventEmitter<boolean>();\n\n constructor(\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n ) {\n directiveStyles.addComponent(TuiAutofilledStyleComponent);\n }\n\n @HostListener('transitionstart', ['$event'])\n transitionStartHandler({propertyName, target}: TransitionEvent): void {\n const matchedAutofill =\n propertyName.includes('box-shadow') && (target as Element)?.matches('input');\n\n if (matchedAutofill) {\n this.autofilled = !this.autofilled;\n this.tuiAutofilledChange.emit(this.autofilled);\n }\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiAutofilledDirective} from './autofilled.directive';\nimport {TuiAutofilledStyleComponent} from './autofilled-style.component';\n\n@NgModule({\n exports: [TuiAutofilledDirective],\n entryComponents: [TuiAutofilledStyleComponent],\n declarations: [TuiAutofilledDirective, TuiAutofilledStyleComponent],\n})\nexport class TuiAutofilledModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/directives/checked",["exports","@angular/core"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].cdk=e["taiga-ui"].cdk||{},e["taiga-ui"].cdk.directives=e["taiga-ui"].cdk.directives||{},e["taiga-ui"].cdk.directives.checked={}),e.ng.core)}(this,(function(e,t){"use strict";function r(e,t,r,n){var i,c=arguments.length,o=c<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(o=(c<3?i(o):c>3?i(t,r,o):i(t,r))||o);return c>3&&o&&Object.defineProperty(t,r,o),o}function n(e,t){return function(r,n){t(r,n,e)}}Object.create;Object.create;var i=function(){function e(e,r){this.element=e,this.renderer=r,this.tuiCheckedChange=new t.EventEmitter,this.updateProperty("checked",!1)}return Object.defineProperty(e.prototype,"tuiChecked",{set:function(e){this.updateProperty("checked",e||!1),this.updateProperty("indeterminate",null===e)},enumerable:!0,configurable:!0}),e.prototype.onChange=function(e){var t=e.checked;this.updateProperty("indeterminate",!1),this.tuiCheckedChange.emit(t)},e.prototype.updateProperty=function(e,t){this.renderer.setProperty(this.element.nativeElement,e,t)},e.ctorParameters=function(){return[{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:t.Renderer2,decorators:[{type:t.Inject,args:[t.Renderer2]}]}]},r([t.Input()],e.prototype,"tuiChecked",null),r([t.Output()],e.prototype,"tuiCheckedChange",void 0),r([t.HostListener("change",["$event.target"])],e.prototype,"onChange",null),e=r([t.Directive({selector:"input[tuiChecked], input[tuiCheckedChange]"}),n(0,t.Inject(t.ElementRef)),n(1,t.Inject(t.Renderer2))],e)}(),c=function(){function e(){}return e=r([t.NgModule({declarations:[i],exports:[i]})],e)}();e.TuiCheckedDirective=i,e.TuiCheckedModule=c,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-directives-checked.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/cdk/directives/checked/checked.directive.ts","ng://@taiga-ui/cdk/directives/checked/checked.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","create","TuiCheckedDirective","element","renderer","this","tuiCheckedChange","EventEmitter","updateProperty","prototype","checked","onChange","_a","emit","property","value","setProperty","nativeElement","ElementRef","type","Inject","args","Renderer2","Input","Output","HostListener","Directive","selector","TuiCheckedModule","NgModule","declarations","exports"],"mappings":"gcAsDO,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,wBC7L5B,SAAAC,EAEqBC,EACmBC,GADnBC,KAAAF,QAAAA,EACmBE,KAAAD,SAAAA,EAL/BC,KAAAC,iBAAmB,IAAIC,EAAAA,aAO5BF,KAAKG,eAAe,WAAW,GAYvC,OAzBIhB,OAAAK,eAAIK,EAAAO,UAAA,aAAU,KAAd,SAAeC,GACXL,KAAKG,eAAe,UAAWE,IAAW,GAC1CL,KAAKG,eAAe,gBAA6B,OAAZE,oCAezCR,EAAAO,UAAAE,SAAA,SAASC,OAACF,EAAAE,EAAAF,QACNL,KAAKG,eAAe,iBAAiB,GACrCH,KAAKC,iBAAiBO,KAAKH,IAGvBR,EAAAO,UAAAD,eAAR,SAAuBM,EAAuCC,GAC1DV,KAAKD,SAASY,YAAYX,KAAKF,QAAQc,cAAeH,EAAUC,6CAbtCG,EAAAA,WAAUnC,WAAA,CAAA,CAAAoC,KADnCC,EAAAA,OAAMC,KAAA,CAACH,EAAAA,qBAEsCI,EAAAA,UAASvC,WAAA,CAAA,CAAAoC,KAAtDC,EAAAA,OAAMC,KAAA,CAACC,EAAAA,gBAXZxC,EAAA,CADCyC,EAAAA,wCAODzC,EAAA,CADC0C,EAAAA,iDAYD1C,EAAA,CADC2C,EAAAA,aAAa,SAAU,CAAC,gDAlBhBvB,EAAmBpB,EAAA,CAH/B4C,EAAAA,UAAU,CACPC,SAAU,+CAaL7B,EAAA,EAAAsB,EAAAA,OAAOF,EAAAA,aAEPpB,EAAA,EAAAsB,EAAAA,OAAOE,EAAAA,aAbHpB,mBCNb,SAAA0B,KAA+B,OAAlBA,EAAgB9C,EAAA,CAJ5B+C,EAAAA,SAAS,CACNC,aAAc,CAAC5B,GACf6B,QAAS,CAAC7B,MAED0B","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 Directive,\n ElementRef,\n EventEmitter,\n HostListener,\n Inject,\n Input,\n Output,\n Renderer2,\n} from '@angular/core';\n\n@Directive({\n selector: 'input[tuiChecked], input[tuiCheckedChange]',\n})\nexport class TuiCheckedDirective {\n @Input()\n set tuiChecked(checked: null | boolean) {\n this.updateProperty('checked', checked || false);\n this.updateProperty('indeterminate', checked === null);\n }\n\n @Output()\n readonly tuiCheckedChange = new EventEmitter<boolean>();\n\n constructor(\n @Inject(ElementRef)\n private readonly element: ElementRef<HTMLInputElement>,\n @Inject(Renderer2) private readonly renderer: Renderer2,\n ) {\n this.updateProperty('checked', false);\n }\n\n @HostListener('change', ['$event.target'])\n onChange({checked}: HTMLInputElement): void {\n this.updateProperty('indeterminate', false);\n this.tuiCheckedChange.emit(checked);\n }\n\n private updateProperty(property: 'checked' | 'indeterminate', value: boolean): void {\n this.renderer.setProperty(this.element.nativeElement, property, value);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiCheckedDirective} from './checked.directive';\n\n@NgModule({\n declarations: [TuiCheckedDirective],\n exports: [TuiCheckedDirective],\n})\nexport class TuiCheckedModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@ng-web-apis/common"),require("@taiga-ui/cdk/decorators"),require("@taiga-ui/cdk/utils"),require("rxjs")):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/directives/copy-processor",["exports","@angular/core","@ng-web-apis/common","@taiga-ui/cdk/decorators","@taiga-ui/cdk/utils","rxjs"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].cdk=e["taiga-ui"].cdk||{},e["taiga-ui"].cdk.directives=e["taiga-ui"].cdk.directives||{},e["taiga-ui"].cdk.directives["copy-processor"]={}),e.ng.core,e.common,e["taiga-ui"].cdk.decorators,e["taiga-ui"].cdk.utils,e.rxjs)}(this,(function(e,t,o,i,r,c){"use strict";function n(e,t,o,i){var r,c=arguments.length,n=c<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(n=(c<3?r(n):c>3?r(t,o,n):r(t,o))||n);return c>3&&n&&Object.defineProperty(t,o,n),n}Object.create;Object.create;var a=function(){function e(e){this.windowRef=e,this.tuiCopyProcessor=c.identity}var a,u;return e.prototype.onCopy=function(e){var t,o=r.tuiGetSelectedText(this.windowRef);o&&(null===(t=e.clipboardData)||void 0===t||t.setData("text/plain",this.tuiCopyProcessor(o)))},e.ctorParameters=function(){return[{type:Window,decorators:[{type:t.Inject,args:[o.WINDOW]}]}]},n([t.Input(),i.tuiDefaultProp()],e.prototype,"tuiCopyProcessor",void 0),n([t.HostListener("copy.prevent",["$event"])],e.prototype,"onCopy",null),e=n([t.Directive({selector:"[tuiCopyProcessor]"}),(a=0,u=t.Inject(o.WINDOW),function(e,t){u(e,t,a)})],e)}(),u=function(){function e(){}return e=n([t.NgModule({declarations:[a],exports:[a]})],e)}();e.TuiCopyProcessorDirective=a,e.TuiCopyProcessorModule=u,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-directives-copy-processor.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/cdk/directives/copy-processor/copy-processor.directive.ts","ng://@taiga-ui/cdk/directives/copy-processor/copy-processor.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","create","TuiCopyProcessorDirective","windowRef","this","tuiCopyProcessor","identity","paramIndex","decorator","prototype","onCopy","event","text","tuiGetSelectedText","_a","clipboardData","setData","Window","type","Inject","args","WINDOW","Input","tuiDefaultProp","HostListener","Directive","selector","TuiCopyProcessorModule","NgModule","declarations","exports"],"mappings":"8tBAsDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GAChJ,OAAOH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,EAiDnCC,OAAOM,OA0GXN,OAAOM,wBCrM5B,SAAAC,EAA6CC,GAAAC,KAAAD,UAAAA,EAF7CC,KAAAC,iBAA6CC,EAAAA,SD+C1C,IAAiBC,EAAYC,ECnCpC,OAPIN,EAAAO,UAAAC,OAAA,SAAOC,SACGC,EAAOC,EAAAA,mBAAmBT,KAAKD,WAEjCS,IACmB,QAAnBE,EAAAH,EAAMI,qBAAa,IAAAD,GAAAA,EAAEE,QAAQ,aAAcZ,KAAKC,iBAAiBO,+CAPjBK,OAAM/B,WAAA,CAAA,CAAAgC,KAAjDC,EAAAA,OAAMC,KAAA,CAACC,EAAAA,aAFpBpC,EAAA,CAFCqC,EAAAA,QACAC,EAAAA,yDAMDtC,EAAA,CADCuC,EAAAA,aAAa,eAAgB,CAAC,uCAPtBtB,EAAyBjB,EAAA,CAHrCwC,EAAAA,UAAU,CACPC,SAAU,wBDoDUnB,EC7CP,ED6CmBC,EC7CnBW,EAAAA,OAAOE,EAAAA,QD8Cb,SAAUlC,EAAQC,GAAOoB,EAAUrB,EAAQC,EAAKmB,MCnD9CL,mBCHb,SAAAyB,KAAqC,OAAxBA,EAAsB1C,EAAA,CAJlC2C,EAAAA,SAAS,CACNC,aAAc,CAAC3B,GACf4B,QAAS,CAAC5B,MAEDyB","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, HostListener, Inject, Input} from '@angular/core';\nimport {WINDOW} from '@ng-web-apis/common';\nimport {tuiDefaultProp} from '@taiga-ui/cdk/decorators';\nimport {TuiStringHandler} from '@taiga-ui/cdk/types';\nimport {tuiGetSelectedText} from '@taiga-ui/cdk/utils';\nimport {identity} from 'rxjs';\n\n// @dynamic\n@Directive({\n selector: '[tuiCopyProcessor]',\n})\nexport class TuiCopyProcessorDirective {\n @Input()\n @tuiDefaultProp()\n tuiCopyProcessor: TuiStringHandler<string> = identity;\n\n constructor(@Inject(WINDOW) private readonly windowRef: Window) {}\n\n @HostListener('copy.prevent', ['$event'])\n onCopy(event: ClipboardEvent): void {\n const text = tuiGetSelectedText(this.windowRef);\n\n if (text) {\n event.clipboardData?.setData('text/plain', this.tuiCopyProcessor(text));\n }\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiCopyProcessorDirective} from './copy-processor.directive';\n\n@NgModule({\n declarations: [TuiCopyProcessorDirective],\n exports: [TuiCopyProcessorDirective],\n})\nexport class TuiCopyProcessorModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@taiga-ui/cdk/observables"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/directives/drag",["exports","@angular/core","@taiga-ui/cdk/observables","rxjs/operators"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].cdk=e["taiga-ui"].cdk||{},e["taiga-ui"].cdk.directives=e["taiga-ui"].cdk.directives||{},e["taiga-ui"].cdk.directives.drag={}),e.ng.core,e["taiga-ui"].cdk.observables,e.rxjs.operators)}(this,(function(e,t,r,i){"use strict";function n(e,t,r,i){var n,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,i);else for(var u=e.length-1;u>=0;u--)(n=e[u])&&(a=(o<3?n(a):o>3?n(t,r,a):n(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}Object.create;Object.create;var o=function(){function e(e){this.elementRef=e,this.dragAndDropFrom$=r.dragAndDropFrom(this.elementRef.nativeElement),this.start=this.dragAndDropFrom$.pipe(i.filter((function(e){return 0===e.stage})),i.map((function(e){return e.event}))),this.continues=this.dragAndDropFrom$.pipe(i.filter((function(e){return 1===e.stage})),i.map((function(e){return e.event}))),this.end=this.dragAndDropFrom$.pipe(i.filter((function(e){return 2===e.stage})),i.map((function(e){return e.event})))}var o,a;return e.ctorParameters=function(){return[{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]}]},n([t.Output("tuiDragStart")],e.prototype,"start",void 0),n([t.Output("tuiDragContinues")],e.prototype,"continues",void 0),n([t.Output("tuiDragEnd")],e.prototype,"end",void 0),e=n([t.Directive({selector:"[tuiDragStart], [tuiDragContinues], [tuiDragEnd]"}),(o=0,a=t.Inject(t.ElementRef),function(e,t){a(e,t,o)})],e)}(),a=function(){function e(){}return e=n([t.NgModule({declarations:[o],exports:[o]})],e)}();e.TuiDragDirective=o,e.TuiDragModule=a,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-directives-drag.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/cdk/directives/drag/drag.directive.ts","ng://@taiga-ui/cdk/directives/drag/drag.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","create","TuiDragDirective","elementRef","this","dragAndDropFrom$","dragAndDropFrom","nativeElement","start","pipe","filter","_a","stage","map","event","continues","end","paramIndex","decorator","ElementRef","type","Inject","args","Output","Directive","selector","TuiDragModule","NgModule","declarations","exports"],"mappings":"ylBAsDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GAChJ,OAAOH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,EAiDnCC,OAAOM,OA0GXN,OAAOM,wBCxL5B,SAAAC,EAEqBC,GAAAC,KAAAD,WAAAA,EAtBJC,KAAAC,iBAAmBC,EAAAA,gBAAgBF,KAAKD,WAAWI,eAG3DH,KAAAI,MAAgCJ,KAAKC,iBAAiBI,KAC3DC,EAAAA,QAAO,SAACC,GAAY,OAAK,IAAhBA,EAAAC,SACTC,EAAAA,KAAI,SAACF,GAAY,OAAXA,EAAAG,UAIDV,KAAAW,UAAoCX,KAAKC,iBAAiBI,KAC/DC,EAAAA,QAAO,SAACC,GAAY,OAAK,IAAhBA,EAAAC,SACTC,EAAAA,KAAI,SAACF,GAAY,OAAXA,EAAAG,UAIDV,KAAAY,IAA8BZ,KAAKC,iBAAiBI,KACzDC,EAAAA,QAAO,SAACC,GAAY,OAAK,IAAhBA,EAAAC,SACTC,EAAAA,KAAI,SAACF,GAAY,OAAXA,EAAAG,UDmCP,IAAiBG,EAAYC,EC5BpC,gDAFqCC,EAAAA,WAAUjC,WAAA,CAAA,CAAAkC,KADtCC,EAAAA,OAAMC,KAAA,CAACH,EAAAA,iBAlBZlC,EAAA,CADCsC,EAAAA,OAAO,6CAORtC,EAAA,CADCsC,EAAAA,OAAO,qDAORtC,EAAA,CADCsC,EAAAA,OAAO,yCAfCrB,EAAgBjB,EAAA,CAH5BuC,EAAAA,UAAU,CACPC,SAAU,sDDuDUR,EC/Bf,ED+B2BC,EC/B3BG,EAAAA,OAAOF,EAAAA,YDgCL,SAAUhC,EAAQC,GAAO8B,EAAU/B,EAAQC,EAAK6B,MCtD9Cf,mBCAb,SAAAwB,KAA4B,OAAfA,EAAazC,EAAA,CAJzB0C,EAAAA,SAAS,CACNC,aAAc,CAAC1B,GACf2B,QAAS,CAAC3B,MAEDwB","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, ElementRef, Inject, Output} from '@angular/core';\nimport {dragAndDropFrom, TuiDragStage} from '@taiga-ui/cdk/observables';\nimport {Observable} from 'rxjs';\nimport {filter, map} from 'rxjs/operators';\n\n@Directive({\n selector: '[tuiDragStart], [tuiDragContinues], [tuiDragEnd]',\n})\nexport class TuiDragDirective {\n private readonly dragAndDropFrom$ = dragAndDropFrom(this.elementRef.nativeElement);\n\n @Output('tuiDragStart')\n readonly start: Observable<MouseEvent> = this.dragAndDropFrom$.pipe(\n filter(({stage}) => stage === TuiDragStage.Start),\n map(({event}) => event),\n );\n\n @Output('tuiDragContinues')\n readonly continues: Observable<MouseEvent> = this.dragAndDropFrom$.pipe(\n filter(({stage}) => stage === TuiDragStage.Continues),\n map(({event}) => event),\n );\n\n @Output('tuiDragEnd')\n readonly end: Observable<MouseEvent> = this.dragAndDropFrom$.pipe(\n filter(({stage}) => stage === TuiDragStage.End),\n map(({event}) => event),\n );\n\n constructor(\n @Inject(ElementRef)\n private readonly elementRef: ElementRef<Element>,\n ) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiDragDirective} from './drag.directive';\n\n@NgModule({\n declarations: [TuiDragDirective],\n exports: [TuiDragDirective],\n})\nexport class TuiDragModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@taiga-ui/cdk/observables"),require("@taiga-ui/cdk/services"),require("@taiga-ui/cdk/utils/miscellaneous"),require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/directives/droppable",["exports","@angular/core","@taiga-ui/cdk/observables","@taiga-ui/cdk/services","@taiga-ui/cdk/utils/miscellaneous","rxjs","rxjs/operators"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].cdk=e["taiga-ui"].cdk||{},e["taiga-ui"].cdk.directives=e["taiga-ui"].cdk.directives||{},e["taiga-ui"].cdk.directives.droppable={}),e.ng.core,e["taiga-ui"].cdk.observables,e["taiga-ui"].cdk.services,e["taiga-ui"].cdk.utils.miscellaneous,e.rxjs,e.rxjs.operators)}(this,(function(e,t,r,i,a,o,n){"use strict";function u(e,t,r,i){var a,o=arguments.length,n=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,i);else for(var u=e.length-1;u>=0;u--)(a=e[u])&&(n=(o<3?a(n):o>3?a(t,r,n):a(t,r))||n);return o>3&&n&&Object.defineProperty(t,r,n),n}function c(e,t){return function(r,i){t(r,i,e)}}Object.create;Object.create;var p=function(){function e(e,t){var i=e.nativeElement;this.tuiDroppableDropped=r.typedFromEvent(i,"drop").pipe(r.preventDefault(),n.map((function(e){return e.dataTransfer})),n.filter(a.isPresent)),this.tuiDroppableDragOverChange=r.typedFromEvent(i,"dragenter").pipe(n.switchMap((function(e){var t=e.target,a=e.dataTransfer;return o.merge(r.typedFromEvent(i,"dragleave").pipe(n.filter((function(e){return e.target===t}))),r.typedFromEvent(i,"drop")).pipe(n.mapTo(null),n.startWith(a))})),n.distinctUntilChanged((function(e,t){return!!e&&!!t||!e&&!t}))),r.typedFromEvent(i,"dragover").pipe(r.preventDefault(),n.takeUntil(t)).subscribe()}return e.ctorParameters=function(){return[{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:o.Observable,decorators:[{type:t.Inject,args:[i.TuiDestroyService]}]}]},u([t.Output()],e.prototype,"tuiDroppableDropped",void 0),u([t.Output()],e.prototype,"tuiDroppableDragOverChange",void 0),e=u([t.Directive({selector:"[tuiDroppableDropped], [tuiDroppableDragOverChange]",providers:[i.TuiDestroyService]}),c(0,t.Inject(t.ElementRef)),c(1,t.Inject(i.TuiDestroyService))],e)}(),s=function(){function e(){}return e=u([t.NgModule({declarations:[p],exports:[p]})],e)}();e.TuiDroppableDirective=p,e.TuiDroppableModule=s,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-directives-droppable.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/cdk/directives/droppable/droppable.directive.ts","ng://@taiga-ui/cdk/directives/droppable/droppable.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","create","TuiDroppableDirective","_a","destroy$","nativeElement","this","tuiDroppableDropped","typedFromEvent","pipe","preventDefault","map","event","dataTransfer","filter","isPresent","tuiDroppableDragOverChange","switchMap","merge","mapTo","startWith","distinctUntilChanged","a","b","takeUntil","subscribe","ElementRef","type","Inject","args","Observable","TuiDestroyService","Output","Directive","selector","providers","TuiDroppableModule","NgModule","declarations","exports"],"mappings":"o1BAsDO,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,wBC1L5B,SAAAC,EACwBC,EACOC,OADNC,EAAAF,EAAAE,cAGrBC,KAAKC,oBAAsBC,EAAAA,eAAeH,EAAe,QAAQI,KAC7DC,EAAAA,iBACAC,EAAAA,KAAI,SAAAC,GAAS,OAAAA,EAAMC,gBACnBC,EAAAA,OAAOC,EAAAA,YAGXT,KAAKU,2BAA6BR,EAAAA,eAAeH,EAAe,aAAaI,KACzEQ,EAAAA,WAAU,SAACd,OAACnB,EAAAmB,EAAAnB,OAAQ6B,EAAAV,EAAAU,aAChB,OAAAK,EAAAA,MACIV,EAAAA,eAAeH,EAAe,aAAaI,KACvCK,EAAAA,QAAO,SAAAF,GAAS,OAAAA,EAAM5B,SAAWA,MAErCwB,EAAAA,eAAeH,EAAe,SAChCI,KAAKU,EAAAA,MAAM,MAAOC,EAAAA,UAAUP,OAElCQ,EAAAA,sBAAqB,SAACC,EAAGC,GAAM,QAAGD,KAAOC,IAAQD,IAAMC,MAI3Df,EAAAA,eAAeH,EAAe,YACzBI,KAAKC,EAAAA,iBAAkBc,EAAAA,UAAUpB,IACjCqB,YAEb,gDA1B6CC,EAAAA,WAAU3C,WAAA,CAAA,CAAA4C,KAA9CC,EAAAA,OAAMC,KAAA,CAACH,EAAAA,qBAC6BI,EAAAA,WAAU/C,WAAA,CAAA,CAAA4C,KAA9CC,EAAAA,OAAMC,KAAA,CAACE,EAAAA,wBAPZjD,EAAA,CADCkD,EAAAA,oDAIDlD,EAAA,CADCkD,EAAAA,2DAJQ9B,EAAqBpB,EAAA,CAJjCmD,EAAAA,UAAU,CACPC,SAAU,sDACVC,UAAW,CAACJ,EAAAA,qBAUPjC,EAAA,EAAA8B,EAAAA,OAAOF,EAAAA,aACP5B,EAAA,EAAA8B,EAAAA,OAAOG,EAAAA,qBATH7B,mBCZb,SAAAkC,KAAiC,OAApBA,EAAkBtD,EAAA,CAJ9BuD,EAAAA,SAAS,CACNC,aAAc,CAACpC,GACfqC,QAAS,CAACrC,MAEDkC","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, ElementRef, Inject, Output} from '@angular/core';\nimport {preventDefault, typedFromEvent} from '@taiga-ui/cdk/observables';\nimport {TuiDestroyService} from '@taiga-ui/cdk/services';\nimport {isPresent} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {merge, Observable} from 'rxjs';\nimport {\n distinctUntilChanged,\n filter,\n map,\n mapTo,\n startWith,\n switchMap,\n takeUntil,\n} from 'rxjs/operators';\n\n// @dynamic\n@Directive({\n selector: '[tuiDroppableDropped], [tuiDroppableDragOverChange]',\n providers: [TuiDestroyService],\n})\nexport class TuiDroppableDirective {\n @Output()\n readonly tuiDroppableDropped: Observable<DataTransfer>;\n\n @Output()\n readonly tuiDroppableDragOverChange: Observable<DataTransfer | null>;\n\n constructor(\n @Inject(ElementRef) {nativeElement}: ElementRef<HTMLElement>,\n @Inject(TuiDestroyService) destroy$: Observable<void>,\n ) {\n this.tuiDroppableDropped = typedFromEvent(nativeElement, 'drop').pipe(\n preventDefault(),\n map(event => event.dataTransfer),\n filter(isPresent),\n );\n\n this.tuiDroppableDragOverChange = typedFromEvent(nativeElement, 'dragenter').pipe(\n switchMap(({target, dataTransfer}) =>\n merge(\n typedFromEvent(nativeElement, 'dragleave').pipe(\n filter(event => event.target === target),\n ),\n typedFromEvent(nativeElement, 'drop'),\n ).pipe(mapTo(null), startWith(dataTransfer)),\n ),\n distinctUntilChanged((a, b) => (!!a && !!b) || (!a && !b)),\n );\n\n // Required by Drag and Drop API to stop redirecting\n typedFromEvent(nativeElement, 'dragover')\n .pipe(preventDefault(), takeUntil(destroy$))\n .subscribe();\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiDroppableDirective} from './droppable.directive';\n\n@NgModule({\n declarations: [TuiDroppableDirective],\n exports: [TuiDroppableDirective],\n})\nexport class TuiDroppableModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/directives/element",["exports","@angular/core"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].cdk=e["taiga-ui"].cdk||{},e["taiga-ui"].cdk.directives=e["taiga-ui"].cdk.directives||{},e["taiga-ui"].cdk.directives.element={}),e.ng.core)}(this,(function(e,t){"use strict";var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function r(e,t,n,r){var o,i=arguments.length,c=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(c=(i<3?o(c):i>3?o(t,n,c):o(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c}Object.create;Object.create;var o=function(e){function o(t){var n=t.nativeElement;return e.call(this,n)||this}var i,c;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(o,e),o.ctorParameters=function(){return[{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]}]},o=r([t.Directive({selector:"[tuiElement]",exportAs:"elementRef"}),(i=0,c=t.Inject(t.ElementRef),function(e,t){c(e,t,i)})],o)}(t.ElementRef),i=function(){function e(){}return e=r([t.NgModule({declarations:[o],exports:[o]})],e)}();e.TuiElementDirective=o,e.TuiElementModule=i,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-directives-element.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/cdk/directives/element/element.directive.ts","ng://@taiga-ui/cdk/directives/element/element.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","TuiElementDirective","_a","nativeElement","_super","this","paramIndex","decorator","TypeError","String","__","constructor","__extends","ElementRef","type","Inject","args","Directive","selector","exportAs","TuiElementModule","NgModule","declarations","exports"],"mappings":"gcAgBA,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,yBC9M5B,SAAAC,EAAgCC,OAACC,EAAAD,EAAAC,qBAC7BC,EAAAnB,KAAAoB,KAAMF,IAAcE,KDqDrB,IAAiBC,EAAYC,ECnDpC,ODaO,SAAmB/B,EAAGC,GACzB,GAAiB,mBAANA,GAA0B,OAANA,EAC3B,MAAM,IAAI+B,UAAU,uBAAyBC,OAAOhC,GAAK,iCAE7D,SAASiC,IAAOL,KAAKM,YAAcnC,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEO,UAAkB,OAANN,EAAaC,OAAOsB,OAAOvB,IAAMiC,EAAG3B,UAAYN,EAAEM,UAAW,IAAI2B,GCtBTE,CAAAX,EAAAG,4CACrBS,EAAAA,WAAU1B,WAAA,CAAA,CAAA2B,KAA9CC,EAAAA,OAAMC,KAAA,CAACH,EAAAA,iBADXZ,EAAmBf,EAAA,CAJ/B+B,EAAAA,UAAU,CACPC,SAAU,eACVC,SAAU,gBDyDUb,ECtDP,EDsDmBC,ECtDnBQ,EAAAA,OAAOF,EAAAA,YDuDb,SAAUzB,EAAQC,GAAOkB,EAAUnB,EAAQC,EAAKiB,MCxD9CL,IAA6DY,EAAAA,yBCE1E,SAAAO,KAA+B,OAAlBA,EAAgBlC,EAAA,CAJ5BmC,EAAAA,SAAS,CACNC,aAAc,CAACrB,GACfsB,QAAS,CAACtB,MAEDmB","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, ElementRef, Inject} from '@angular/core';\n\n@Directive({\n selector: '[tuiElement]',\n exportAs: 'elementRef',\n})\nexport class TuiElementDirective<T extends Element = HTMLElement> extends ElementRef<T> {\n constructor(@Inject(ElementRef) {nativeElement}: ElementRef<T>) {\n super(nativeElement);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiElementDirective} from './element.directive';\n\n@NgModule({\n declarations: [TuiElementDirective],\n exports: [TuiElementDirective],\n})\nexport class TuiElementModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/common"),require("@angular/core"),require("@taiga-ui/cdk/utils/dom"),require("@taiga-ui/cdk/utils/focus")):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/directives/focus-trap",["exports","@angular/common","@angular/core","@taiga-ui/cdk/utils/dom","@taiga-ui/cdk/utils/focus"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].cdk=e["taiga-ui"].cdk||{},e["taiga-ui"].cdk.directives=e["taiga-ui"].cdk.directives||{},e["taiga-ui"].cdk.directives["focus-trap"]={}),e.ng.common,e.ng.core,e["taiga-ui"].cdk.utils.dom,e["taiga-ui"].cdk.utils.focus)}(this,(function(e,t,n,i,o){"use strict";function r(e,t,n,i){var o,r=arguments.length,c=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,i);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(c=(r<3?o(c):r>3?o(t,n,c):o(t,n))||c);return r>3&&c&&Object.defineProperty(t,n,c),c}function c(e,t){return function(n,i){t(n,i,e)}}Object.create;Object.create;var u=function(){function e(e,t,n){var i=this;this.documentRef=e,this.elementRef=t,this.renderer=n,this.activeElement=o.getNativeFocused(this.documentRef),Promise.resolve().then((function(){o.setNativeFocused(i.elementRef.nativeElement)}))}return e.prototype.onBlur=function(){this.renderer.removeAttribute(this.elementRef.nativeElement,"tabIndex")},e.prototype.onFocusIn=function(e){if(!i.containsOrAfter(this.elementRef.nativeElement,e)){var t=o.getClosestFocusable(this.elementRef.nativeElement,!1,this.elementRef.nativeElement);t&&o.setNativeFocused(t)}},e.prototype.ngOnDestroy=function(){var e=this;o.blurNativeFocused(this.documentRef),Promise.resolve().then((function(){e.activeElement instanceof HTMLElement&&o.setNativeFocused(e.activeElement)}))},e.ctorParameters=function(){return[{type:Document,decorators:[{type:n.Inject,args:[t.DOCUMENT]}]},{type:n.ElementRef,decorators:[{type:n.Inject,args:[n.ElementRef]}]},{type:n.Renderer2,decorators:[{type:n.Inject,args:[n.Renderer2]}]}]},r([n.HostListener("blur")],e.prototype,"onBlur",null),r([n.HostListener("window:focusin.silent",["$event.target"])],e.prototype,"onFocusIn",null),e=r([n.Directive({selector:"[tuiFocusTrap]",host:{tabIndex:"0"}}),c(0,n.Inject(t.DOCUMENT)),c(1,n.Inject(n.ElementRef)),c(2,n.Inject(n.Renderer2))],e)}(),a=function(){function e(){}return e=r([n.NgModule({declarations:[u],exports:[u]})],e)}();e.TuiFocusTrapDirective=u,e.TuiFocusTrapModule=a,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-directives-focus-trap.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/cdk/directives/focus-trap/focus-trap.directive.ts","ng://@taiga-ui/cdk/directives/focus-trap/focus-trap.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","create","TuiFocusTrapDirective","documentRef","elementRef","renderer","_this","this","activeElement","getNativeFocused","Promise","resolve","then","setNativeFocused","nativeElement","prototype","onBlur","removeAttribute","onFocusIn","node","containsOrAfter","focusable","getClosestFocusable","ngOnDestroy","blurNativeFocused","HTMLElement","Document","type","Inject","args","DOCUMENT","ElementRef","Renderer2","HostListener","Directive","selector","host","tabIndex","TuiFocusTrapModule","NgModule","declarations","exports"],"mappings":"gsBAsDO,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,wBC1L5B,SAAAC,EACuCC,EAElBC,EACmBC,GAJxC,IAAAC,EAAAC,KACuCA,KAAAJ,YAAAA,EAElBI,KAAAH,WAAAA,EACmBG,KAAAF,SAAAA,EANvBE,KAAAC,cAAgBC,EAAAA,iBAAiBF,KAAKJ,aAcnDO,QAAQC,UAAUC,MAAK,WACnBC,EAAAA,iBAAiBP,EAAKF,WAAWU,kBA2C7C,OAtCIZ,EAAAa,UAAAC,OAAA,WACIT,KAAKF,SAASY,gBAAgBV,KAAKH,WAAWU,cAAe,aAIjEZ,EAAAa,UAAAG,UAAA,SAAUC,GACN,IAAIC,EAAAA,gBAAgBb,KAAKH,WAAWU,cAAeK,GAAnD,CAIA,IAAME,EAAYC,EAAAA,oBACdf,KAAKH,WAAWU,eAChB,EACAP,KAAKH,WAAWU,eAGhBO,GACAR,EAAAA,iBAAiBQ,KAIzBnB,EAAAa,UAAAQ,YAAA,WAAA,IAAAjB,EAAAC,KACIiB,EAAAA,kBAAkBjB,KAAKJ,aASvBO,QAAQC,UAAUC,MAAK,WAEfN,EAAKE,yBAAyBiB,aAC9BZ,EAAAA,iBAAiBP,EAAKE,4DAnDkBkB,SAAQ3C,WAAA,CAAA,CAAA4C,KAAvDC,EAAAA,OAAMC,KAAA,CAACC,EAAAA,mBAEqBC,EAAAA,WAAUhD,WAAA,CAAA,CAAA4C,KADtCC,EAAAA,OAAMC,KAAA,CAACE,EAAAA,qBAEsCC,EAAAA,UAASjD,WAAA,CAAA,CAAA4C,KAAtDC,EAAAA,OAAMC,KAAA,CAACG,EAAAA,gBAcZlD,EAAA,CADCmD,EAAAA,aAAa,oCAMdnD,EAAA,CADCmD,EAAAA,aAAa,wBAAyB,CAAC,iDAzB/B/B,EAAqBpB,EAAA,CANjCoD,EAAAA,UAAU,CACPC,SAAU,iBACVC,KAAM,CACFC,SAAU,OAOTvC,EAAA,EAAA8B,EAAAA,OAAOE,EAAAA,WACPhC,EAAA,EAAA8B,EAAAA,OAAOG,EAAAA,aAEPjC,EAAA,EAAA8B,EAAAA,OAAOI,EAAAA,aAPH9B,mBChBb,SAAAoC,KAAiC,OAApBA,EAAkBxD,EAAA,CAJ9ByD,EAAAA,SAAS,CACNC,aAAc,CAACtC,GACfuC,QAAS,CAACvC,MAEDoC","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 {DOCUMENT} from '@angular/common';\nimport {\n Directive,\n ElementRef,\n HostListener,\n Inject,\n OnDestroy,\n Renderer2,\n} from '@angular/core';\nimport {containsOrAfter} from '@taiga-ui/cdk/utils/dom';\nimport {\n blurNativeFocused,\n getClosestFocusable,\n getNativeFocused,\n setNativeFocused,\n} from '@taiga-ui/cdk/utils/focus';\n\n// @dynamic\n@Directive({\n selector: '[tuiFocusTrap]',\n host: {\n tabIndex: '0',\n },\n})\nexport class TuiFocusTrapDirective implements OnDestroy {\n private readonly activeElement = getNativeFocused(this.documentRef);\n\n constructor(\n @Inject(DOCUMENT) private readonly documentRef: Document,\n @Inject(ElementRef)\n private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(Renderer2) private readonly renderer: Renderer2,\n ) {\n /**\n * This would cause currently focused element to lose focus,\n * but it might cause ExpressionChanged error due to potential HostBinding.\n * Microtask keeps it in the same frame but allows change detection to run\n */\n // eslint-disable-next-line @typescript-eslint/no-floating-promises\n Promise.resolve().then(() => {\n setNativeFocused(this.elementRef.nativeElement);\n });\n }\n\n @HostListener('blur')\n onBlur(): void {\n this.renderer.removeAttribute(this.elementRef.nativeElement, 'tabIndex');\n }\n\n @HostListener('window:focusin.silent', ['$event.target'])\n onFocusIn(node: Node): void {\n if (containsOrAfter(this.elementRef.nativeElement, node)) {\n return;\n }\n\n const focusable = getClosestFocusable(\n this.elementRef.nativeElement,\n false,\n this.elementRef.nativeElement,\n );\n\n if (focusable) {\n setNativeFocused(focusable);\n }\n }\n\n ngOnDestroy(): void {\n blurNativeFocused(this.documentRef);\n\n /**\n * HostListeners are triggered even after ngOnDestroy\n * {@link https://github.com/angular/angular/issues/38100}\n * so we need to delay it but stay in the same sync cycle,\n * therefore using Promise instead of setTimeout\n */\n // eslint-disable-next-line\n Promise.resolve().then(() => {\n // TODO: iframe warning\n if (this.activeElement instanceof HTMLElement) {\n setNativeFocused(this.activeElement);\n }\n });\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiFocusTrapDirective} from './focus-trap.directive';\n\n@NgModule({\n declarations: [TuiFocusTrapDirective],\n exports: [TuiFocusTrapDirective],\n})\nexport class TuiFocusTrapModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(e,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports,require("@angular/core"),require("@taiga-ui/cdk/services"),require("rxjs")):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/directives/focus-visible",["exports","@angular/core","@taiga-ui/cdk/services","rxjs"],i):i(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].cdk=e["taiga-ui"].cdk||{},e["taiga-ui"].cdk.directives=e["taiga-ui"].cdk.directives||{},e["taiga-ui"].cdk.directives["focus-visible"]={}),e.ng.core,e["taiga-ui"].cdk.services,e.rxjs)}(this,(function(e,i,t,r){"use strict";function c(e,i,t,r){var c,u=arguments.length,o=u<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,t):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,i,t,r);else for(var s=e.length-1;s>=0;s--)(c=e[s])&&(o=(u<3?c(o):u>3?c(i,t,o):c(i,t))||o);return u>3&&o&&Object.defineProperty(i,t,o),o}Object.create;Object.create;var u=function(){function e(e){this.tuiFocusVisibleChange=e}var u,o;return e.ctorParameters=function(){return[{type:r.Observable,decorators:[{type:i.Inject,args:[t.TuiFocusVisibleService]}]}]},e=c([i.Directive({selector:"[tuiFocusVisibleChange]",outputs:["tuiFocusVisibleChange"],providers:[t.TuiDestroyService,t.TuiFocusVisibleService]}),(u=0,o=i.Inject(t.TuiFocusVisibleService),function(e,i){o(e,i,u)})],e)}(),o=function(){function e(){}return e=c([i.NgModule({declarations:[u],exports:[u]})],e)}();e.TuiFocusVisibleDirective=u,e.TuiFocusVisibleModule=o,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-directives-focus-visible.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/cdk/directives/focus-visible/focus-visible.directive.ts","ng://@taiga-ui/cdk/directives/focus-visible/focus-visible.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","create","TuiFocusVisibleDirective","tuiFocusVisibleChange","this","paramIndex","decorator","Observable","type","Inject","args","TuiFocusVisibleService","Directive","selector","outputs","providers","TuiDestroyService","TuiFocusVisibleModule","NgModule","declarations","exports"],"mappings":"ukBAsDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GAChJ,OAAOH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,EAiDnCC,OAAOM,OA0GXN,OAAOM,wBCrM5B,SAAAC,EAEaC,GAAAC,KAAAD,sBAAAA,ED2CV,IAAiBE,EAAYC,ECzCpC,gDAFwCC,EAAAA,WAAUrB,WAAA,CAAA,CAAAsB,KADzCC,EAAAA,OAAMC,KAAA,CAACC,EAAAA,6BAFHT,EAAwBjB,EAAA,CALpC2B,EAAAA,UAAU,CACPC,SAAU,0BACVC,QAAS,CAAC,yBACVC,UAAW,CAACC,EAAAA,kBAAmBL,EAAAA,2BDgDXN,EC5Cf,ED4C2BC,EC5C3BG,EAAAA,OAAOE,EAAAA,wBD6CL,SAAUxB,EAAQC,GAAOkB,EAAUnB,EAAQC,EAAKiB,MC/C9CH,mBCPb,SAAAe,KAAoC,OAAvBA,EAAqBhC,EAAA,CAJjCiC,EAAAA,SAAS,CACNC,aAAc,CAACjB,GACfkB,QAAS,CAAClB,MAEDe","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, Inject} from '@angular/core';\nimport {TuiDestroyService, TuiFocusVisibleService} from '@taiga-ui/cdk/services';\nimport {Observable} from 'rxjs';\n\n/**\n * Directive to imitate :focus-visible\n * (https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible)\n * in browsers that do not support it\n * @dynamic\n */\n@Directive({\n selector: '[tuiFocusVisibleChange]',\n outputs: ['tuiFocusVisibleChange'],\n providers: [TuiDestroyService, TuiFocusVisibleService],\n})\nexport class TuiFocusVisibleDirective {\n constructor(\n @Inject(TuiFocusVisibleService)\n readonly tuiFocusVisibleChange: Observable<boolean>,\n ) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiFocusVisibleDirective} from './focus-visible.directive';\n\n@NgModule({\n declarations: [TuiFocusVisibleDirective],\n exports: [TuiFocusVisibleDirective],\n})\nexport class TuiFocusVisibleModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core")):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/directives/focusable",["exports","@angular/core"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].cdk=e["taiga-ui"].cdk||{},e["taiga-ui"].cdk.directives=e["taiga-ui"].cdk.directives||{},e["taiga-ui"].cdk.directives.focusable={}),e.ng.core)}(this,(function(e,t){"use strict";function i(e,t,i,o){var c,r=arguments.length,u=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(e,t,i,o);else for(var n=e.length-1;n>=0;n--)(c=e[n])&&(u=(r<3?c(u):r>3?c(t,i,u):c(t,i))||u);return r>3&&u&&Object.defineProperty(t,i,u),u}Object.create;Object.create;var o=function(){function e(){this.focusable=!0}return Object.defineProperty(e.prototype,"tabIndex",{get:function(){return this.focusable?0:-1},enumerable:!0,configurable:!0}),i([t.Input("tuiFocusable")],e.prototype,"focusable",void 0),i([t.HostBinding("tabIndex")],e.prototype,"tabIndex",null),e=i([t.Directive({selector:"[tuiFocusable]"})],e)}(),c=function(){function e(){}return e=i([t.NgModule({declarations:[o],exports:[o]})],e)}();e.TuiFocusableDirective=o,e.TuiFocusableModule=c,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-directives-focusable.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/cdk/directives/focusable/focusable.directive.ts","ng://@taiga-ui/cdk/directives/focusable/focusable.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","create","TuiFocusableDirective","this","focusable","prototype","Input","HostBinding","Directive","selector","TuiFocusableModule","NgModule","declarations","exports"],"mappings":"ocAsDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GAChJ,OAAOH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,EAiDnCC,OAAOM,OA0GXN,OAAOM,wBC7MhC,SAAAC,IAKIC,KAAAC,WAAY,EAMhB,OAHIT,OAAAK,eAAIE,EAAAG,UAAA,WAAQ,KAAZ,WACI,OAAOF,KAAKC,UAAY,GAAK,mCAJjCnB,EAAA,CADCqB,EAAAA,MAAM,iDAIPrB,EAAA,CADCsB,EAAAA,YAAY,0CAPJL,EAAqBjB,EAAA,CAHjCuB,EAAAA,UAAU,CACPC,SAAU,oBAEDP,mBCAb,SAAAQ,KAAiC,OAApBA,EAAkBzB,EAAA,CAJ9B0B,EAAAA,SAAS,CACNC,aAAc,CAACV,GACfW,QAAS,CAACX,MAEDQ","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, HostBinding, Input} from '@angular/core';\n\n/**\n * Abstraction over `tabindex`\n */\n@Directive({\n selector: '[tuiFocusable]',\n})\nexport class TuiFocusableDirective {\n /**\n * Element can be focused with keyboard\n */\n @Input('tuiFocusable')\n focusable = true;\n\n @HostBinding('tabIndex')\n get tabIndex(): number {\n return this.focusable ? 0 : -1;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiFocusableDirective} from './focusable.directive';\n\n@NgModule({\n declarations: [TuiFocusableDirective],\n exports: [TuiFocusableDirective],\n})\nexport class TuiFocusableModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@taiga-ui/cdk/observables"),require("@taiga-ui/cdk/utils/focus"),require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@taiga-ui/cdk/directives/focused",["exports","@angular/core","@taiga-ui/cdk/observables","@taiga-ui/cdk/utils/focus","rxjs","rxjs/operators"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].cdk=e["taiga-ui"].cdk||{},e["taiga-ui"].cdk.directives=e["taiga-ui"].cdk.directives||{},e["taiga-ui"].cdk.directives.focused={}),e.ng.core,e["taiga-ui"].cdk.observables,e["taiga-ui"].cdk.utils.focus,e.rxjs,e.rxjs.operators)}(this,(function(e,t,i,r,o,c){"use strict";function u(e,t,i,r){var o,c=arguments.length,u=c<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(e,t,i,r);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(u=(c<3?o(u):c>3?o(t,i,u):o(t,i))||u);return c>3&&u&&Object.defineProperty(t,i,u),u}function n(e,t){return function(i,r){t(i,r,e)}}Object.create;Object.create;var a=function(){function e(e,t){var u=e.nativeElement;this.tuiFocusedChange=o.merge(i.typedFromEvent(u,"focusin"),i.typedFromEvent(u,"focusout")).pipe(c.map((function(){return r.isNativeFocused(u)})),c.startWith(!1),c.distinctUntilChanged(),c.skip(1),i.tuiZoneOptimized(t))}return e.ctorParameters=function(){return[{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:t.NgZone,decorators:[{type:t.Inject,args:[t.NgZone]}]}]},u([t.Output()],e.prototype,"tuiFocusedChange",void 0),e=u([t.Directive({selector:"[tuiFocusedChange]"}),n(0,t.Inject(t.ElementRef)),n(1,t.Inject(t.NgZone))],e)}(),s=function(){function e(){}return e=u([t.NgModule({declarations:[a],exports:[a]})],e)}();e.TuiFocusedDirective=a,e.TuiFocusedModule=s,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-cdk-directives-focused.umd.min.js.map