@ng-doc/ui-kit 16.2.1 → 16.3.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (431) hide show
  1. package/cdk/combobox-host/combobox-host.component.d.ts +1 -1
  2. package/cdk/combobox-host/index.d.ts +0 -1
  3. package/components/blockquote/blockquote.component.d.ts +1 -1
  4. package/components/blockquote/index.d.ts +0 -1
  5. package/components/button/button.component.d.ts +1 -1
  6. package/components/button/index.d.ts +0 -1
  7. package/components/button-icon/button-icon.component.d.ts +1 -1
  8. package/components/button-icon/index.d.ts +0 -1
  9. package/components/checkbox/checkbox.component.d.ts +1 -1
  10. package/components/checkbox/index.d.ts +0 -1
  11. package/components/clear-control/clear-control.component.d.ts +1 -1
  12. package/components/clear-control/index.d.ts +0 -1
  13. package/components/combobox/combobox.component.d.ts +1 -1
  14. package/components/combobox/combobox.module.d.ts +5 -12
  15. package/components/data-list/data-list.component.d.ts +1 -1
  16. package/components/data-list/index.d.ts +0 -1
  17. package/components/data-list-group/data-list-group.component.d.ts +1 -1
  18. package/components/data-list-group/index.d.ts +0 -1
  19. package/components/dot/dot.component.d.ts +1 -1
  20. package/components/dot/index.d.ts +0 -1
  21. package/components/dropdown/dropdown.component.d.ts +1 -1
  22. package/components/dropdown/dropdown.module.d.ts +3 -3
  23. package/components/expander/expander.component.d.ts +1 -1
  24. package/components/expander/index.d.ts +0 -1
  25. package/components/floated-border/floated-border.component.d.ts +1 -1
  26. package/components/floated-border/index.d.ts +0 -1
  27. package/components/floated-content/floated-content.component.d.ts +1 -1
  28. package/components/floated-content/index.d.ts +0 -1
  29. package/components/focus-control/focus-control.component.d.ts +1 -1
  30. package/components/focus-control/index.d.ts +0 -1
  31. package/components/icon/icon.component.d.ts +1 -1
  32. package/components/icon/index.d.ts +0 -1
  33. package/components/input-wrapper/index.d.ts +0 -1
  34. package/components/input-wrapper/input-wrapper.component.d.ts +1 -1
  35. package/components/label/index.d.ts +0 -1
  36. package/components/label/label.component.d.ts +1 -1
  37. package/components/line/index.d.ts +0 -1
  38. package/components/line/line.component.d.ts +1 -1
  39. package/components/list/index.d.ts +0 -1
  40. package/components/list/list.component.d.ts +1 -1
  41. package/components/option/index.d.ts +0 -1
  42. package/components/option/option.component.d.ts +1 -1
  43. package/components/option-group/index.d.ts +0 -1
  44. package/components/option-group/option-group.component.d.ts +2 -2
  45. package/components/overlay-container/index.d.ts +0 -1
  46. package/components/overlay-container/overlay-container.component.d.ts +1 -1
  47. package/components/overlay-pointer/index.d.ts +0 -1
  48. package/components/overlay-pointer/overlay-pointer.component.d.ts +1 -1
  49. package/components/pane/index.d.ts +0 -1
  50. package/components/pane/pane.component.d.ts +3 -3
  51. package/components/selection/index.d.ts +0 -1
  52. package/components/selection/selection-host.directive.d.ts +1 -1
  53. package/components/selection/selection-origin.directive.d.ts +1 -1
  54. package/components/selection/selection.component.d.ts +1 -1
  55. package/components/sidenav/index.d.ts +0 -1
  56. package/components/sidenav/sidenav.component.d.ts +1 -1
  57. package/components/smooth-resize/index.d.ts +1 -2
  58. package/components/smooth-resize/smooth-resize.component.d.ts +1 -1
  59. package/components/spinner/index.d.ts +1 -2
  60. package/components/spinner/spinner.component.d.ts +1 -1
  61. package/components/tab-group/index.d.ts +0 -1
  62. package/components/tab-group/tab/tab.component.d.ts +1 -1
  63. package/components/tab-group/tab-group.component.d.ts +1 -1
  64. package/components/tag/index.d.ts +0 -1
  65. package/components/tag/tag.component.d.ts +1 -1
  66. package/components/text/index.d.ts +0 -1
  67. package/components/text/text-left.directive.d.ts +1 -1
  68. package/components/text/text-right.directive.d.ts +1 -1
  69. package/components/text/text.component.d.ts +1 -1
  70. package/components/toggle/index.d.ts +0 -1
  71. package/components/toggle/toggle.component.d.ts +1 -1
  72. package/components/wrapper/index.d.ts +0 -1
  73. package/components/wrapper/wrapper.component.d.ts +1 -1
  74. package/directives/autofocus/autofocus.directive.d.ts +1 -1
  75. package/directives/autofocus/index.d.ts +0 -1
  76. package/directives/checked-change/checked-change.directive.d.ts +1 -1
  77. package/directives/checked-change/index.d.ts +0 -1
  78. package/directives/data/data.directive.d.ts +1 -1
  79. package/directives/data/index.d.ts +0 -1
  80. package/directives/dropdown-handler/dropdown-handler.directive.d.ts +1 -1
  81. package/directives/dropdown-handler/index.d.ts +0 -1
  82. package/directives/dropdown-origin/dropdown-origin.directive.d.ts +1 -1
  83. package/directives/dropdown-origin/index.d.ts +0 -1
  84. package/directives/event-switcher/event-switcher.directive.d.ts +1 -1
  85. package/directives/event-switcher/index.d.ts +0 -1
  86. package/directives/focus-catcher/focus-catcher.directive.d.ts +1 -1
  87. package/directives/focus-catcher/index.d.ts +0 -1
  88. package/directives/focusable/focusable.directive.d.ts +1 -1
  89. package/directives/focusable/index.d.ts +0 -1
  90. package/directives/hotkey/hotkey.directive.d.ts +1 -1
  91. package/directives/hotkey/index.d.ts +0 -1
  92. package/directives/input-number/index.d.ts +0 -1
  93. package/directives/input-number/input-number.directive.d.ts +1 -1
  94. package/directives/input-string/index.d.ts +0 -1
  95. package/directives/input-string/input-string.directive.d.ts +1 -1
  96. package/directives/let/index.d.ts +0 -1
  97. package/directives/let/let.directive.d.ts +1 -1
  98. package/directives/media-query/index.d.ts +0 -1
  99. package/directives/media-query/media-query.directive.d.ts +1 -1
  100. package/directives/rotator/index.d.ts +0 -1
  101. package/directives/rotator/rotator.directive.d.ts +1 -1
  102. package/directives/tooltip/index.d.ts +0 -1
  103. package/directives/tooltip/tooltip.directive.d.ts +1 -1
  104. package/esm2022/cdk/combobox-host/combobox-host.component.mjs +8 -8
  105. package/esm2022/cdk/combobox-host/index.mjs +1 -2
  106. package/esm2022/components/blockquote/blockquote.component.mjs +5 -5
  107. package/esm2022/components/blockquote/index.mjs +1 -2
  108. package/esm2022/components/button/button.component.mjs +3 -3
  109. package/esm2022/components/button/index.mjs +1 -2
  110. package/esm2022/components/button-icon/button-icon.component.mjs +3 -3
  111. package/esm2022/components/button-icon/index.mjs +1 -2
  112. package/esm2022/components/checkbox/checkbox.component.mjs +10 -10
  113. package/esm2022/components/checkbox/index.mjs +1 -2
  114. package/esm2022/components/clear-control/clear-control.component.mjs +11 -11
  115. package/esm2022/components/clear-control/index.mjs +1 -2
  116. package/esm2022/components/combobox/combobox.component.mjs +23 -12
  117. package/esm2022/components/combobox/combobox.module.mjs +4 -41
  118. package/esm2022/components/data-list/data-list.component.mjs +9 -8
  119. package/esm2022/components/data-list/index.mjs +1 -2
  120. package/esm2022/components/data-list-group/data-list-group.component.mjs +19 -9
  121. package/esm2022/components/data-list-group/index.mjs +1 -2
  122. package/esm2022/components/dot/dot.component.mjs +3 -3
  123. package/esm2022/components/dot/index.mjs +1 -2
  124. package/esm2022/components/dropdown/dropdown.component.mjs +3 -3
  125. package/esm2022/components/dropdown/dropdown.module.mjs +3 -4
  126. package/esm2022/components/expander/expander.component.mjs +6 -5
  127. package/esm2022/components/expander/index.mjs +1 -2
  128. package/esm2022/components/floated-border/floated-border.component.mjs +3 -3
  129. package/esm2022/components/floated-border/index.mjs +1 -2
  130. package/esm2022/components/floated-content/floated-content.component.mjs +3 -3
  131. package/esm2022/components/floated-content/index.mjs +1 -2
  132. package/esm2022/components/focus-control/focus-control.component.mjs +5 -5
  133. package/esm2022/components/focus-control/index.mjs +1 -2
  134. package/esm2022/components/icon/icon.component.mjs +3 -3
  135. package/esm2022/components/icon/index.mjs +1 -2
  136. package/esm2022/components/input-wrapper/index.mjs +1 -2
  137. package/esm2022/components/input-wrapper/input-wrapper.component.mjs +19 -12
  138. package/esm2022/components/label/index.mjs +1 -2
  139. package/esm2022/components/label/label.component.mjs +6 -5
  140. package/esm2022/components/line/index.mjs +1 -2
  141. package/esm2022/components/line/line.component.mjs +3 -3
  142. package/esm2022/components/list/index.mjs +1 -2
  143. package/esm2022/components/list/list.component.mjs +3 -3
  144. package/esm2022/components/option/index.mjs +1 -2
  145. package/esm2022/components/option/option.component.mjs +3 -3
  146. package/esm2022/components/option-group/index.mjs +1 -2
  147. package/esm2022/components/option-group/option-group.component.mjs +10 -7
  148. package/esm2022/components/overlay-container/index.mjs +1 -2
  149. package/esm2022/components/overlay-container/overlay-container.component.mjs +13 -8
  150. package/esm2022/components/overlay-pointer/index.mjs +1 -2
  151. package/esm2022/components/overlay-pointer/overlay-pointer.component.mjs +4 -4
  152. package/esm2022/components/pane/index.mjs +1 -2
  153. package/esm2022/components/pane/pane.component.mjs +7 -5
  154. package/esm2022/components/selection/index.mjs +1 -2
  155. package/esm2022/components/selection/selection-host.directive.mjs +3 -2
  156. package/esm2022/components/selection/selection-origin.directive.mjs +3 -2
  157. package/esm2022/components/selection/selection.component.mjs +3 -3
  158. package/esm2022/components/sidenav/index.mjs +1 -2
  159. package/esm2022/components/sidenav/sidenav.component.mjs +6 -5
  160. package/esm2022/components/smooth-resize/index.mjs +2 -3
  161. package/esm2022/components/smooth-resize/smooth-resize.component.mjs +3 -3
  162. package/esm2022/components/spinner/index.mjs +2 -3
  163. package/esm2022/components/spinner/spinner.component.mjs +3 -3
  164. package/esm2022/components/tab-group/index.mjs +1 -2
  165. package/esm2022/components/tab-group/tab/tab.component.mjs +3 -3
  166. package/esm2022/components/tab-group/tab-group.component.mjs +15 -7
  167. package/esm2022/components/tag/index.mjs +1 -2
  168. package/esm2022/components/tag/tag.component.mjs +3 -3
  169. package/esm2022/components/text/index.mjs +1 -2
  170. package/esm2022/components/text/text-left.directive.mjs +3 -2
  171. package/esm2022/components/text/text-right.directive.mjs +3 -2
  172. package/esm2022/components/text/text.component.mjs +4 -4
  173. package/esm2022/components/toggle/index.mjs +1 -2
  174. package/esm2022/components/toggle/toggle.component.mjs +3 -3
  175. package/esm2022/components/wrapper/index.mjs +1 -2
  176. package/esm2022/components/wrapper/wrapper.component.mjs +3 -3
  177. package/esm2022/directives/autofocus/autofocus.directive.mjs +3 -2
  178. package/esm2022/directives/autofocus/index.mjs +1 -2
  179. package/esm2022/directives/checked-change/checked-change.directive.mjs +3 -2
  180. package/esm2022/directives/checked-change/index.mjs +1 -2
  181. package/esm2022/directives/data/data.directive.mjs +3 -2
  182. package/esm2022/directives/data/index.mjs +1 -2
  183. package/esm2022/directives/dropdown-handler/dropdown-handler.directive.mjs +3 -2
  184. package/esm2022/directives/dropdown-handler/index.mjs +1 -2
  185. package/esm2022/directives/dropdown-origin/dropdown-origin.directive.mjs +3 -2
  186. package/esm2022/directives/dropdown-origin/index.mjs +1 -2
  187. package/esm2022/directives/event-switcher/event-switcher.directive.mjs +3 -2
  188. package/esm2022/directives/event-switcher/index.mjs +1 -2
  189. package/esm2022/directives/focus-catcher/focus-catcher.directive.mjs +3 -2
  190. package/esm2022/directives/focus-catcher/index.mjs +1 -2
  191. package/esm2022/directives/focusable/focusable.directive.mjs +3 -2
  192. package/esm2022/directives/focusable/index.mjs +1 -2
  193. package/esm2022/directives/hotkey/hotkey.directive.mjs +3 -2
  194. package/esm2022/directives/hotkey/index.mjs +1 -2
  195. package/esm2022/directives/input-number/index.mjs +1 -2
  196. package/esm2022/directives/input-number/input-number.directive.mjs +3 -2
  197. package/esm2022/directives/input-string/index.mjs +1 -2
  198. package/esm2022/directives/input-string/input-string.directive.mjs +4 -7
  199. package/esm2022/directives/let/index.mjs +1 -2
  200. package/esm2022/directives/let/let.directive.mjs +3 -2
  201. package/esm2022/directives/media-query/index.mjs +1 -2
  202. package/esm2022/directives/media-query/media-query.directive.mjs +3 -2
  203. package/esm2022/directives/rotator/index.mjs +1 -2
  204. package/esm2022/directives/rotator/rotator.directive.mjs +3 -2
  205. package/esm2022/directives/tooltip/index.mjs +1 -2
  206. package/esm2022/directives/tooltip/tooltip.directive.mjs +3 -2
  207. package/esm2022/pipes/as-array/as-array.pipe.mjs +3 -2
  208. package/esm2022/pipes/as-array/index.mjs +1 -2
  209. package/esm2022/pipes/bind/bind.pipe.mjs +3 -2
  210. package/esm2022/pipes/bind/index.mjs +1 -2
  211. package/esm2022/pipes/highlighter/highlighter.pipe.mjs +3 -2
  212. package/esm2022/pipes/highlighter/index.mjs +1 -2
  213. package/esm2022/pipes/run/index.mjs +1 -2
  214. package/esm2022/pipes/run/run.pipe.mjs +3 -2
  215. package/fesm2022/ng-doc-ui-kit-cdk-combobox-host.mjs +9 -26
  216. package/fesm2022/ng-doc-ui-kit-cdk-combobox-host.mjs.map +1 -1
  217. package/fesm2022/ng-doc-ui-kit-components-blockquote.mjs +6 -22
  218. package/fesm2022/ng-doc-ui-kit-components-blockquote.mjs.map +1 -1
  219. package/fesm2022/ng-doc-ui-kit-components-button-icon.mjs +4 -19
  220. package/fesm2022/ng-doc-ui-kit-components-button-icon.mjs.map +1 -1
  221. package/fesm2022/ng-doc-ui-kit-components-button.mjs +4 -19
  222. package/fesm2022/ng-doc-ui-kit-components-button.mjs.map +1 -1
  223. package/fesm2022/ng-doc-ui-kit-components-checkbox.mjs +11 -29
  224. package/fesm2022/ng-doc-ui-kit-components-checkbox.mjs.map +1 -1
  225. package/fesm2022/ng-doc-ui-kit-components-clear-control.mjs +12 -30
  226. package/fesm2022/ng-doc-ui-kit-components-clear-control.mjs.map +1 -1
  227. package/fesm2022/ng-doc-ui-kit-components-combobox.mjs +25 -54
  228. package/fesm2022/ng-doc-ui-kit-components-combobox.mjs.map +1 -1
  229. package/fesm2022/ng-doc-ui-kit-components-data-list-group.mjs +19 -46
  230. package/fesm2022/ng-doc-ui-kit-components-data-list-group.mjs.map +1 -1
  231. package/fesm2022/ng-doc-ui-kit-components-data-list.mjs +9 -27
  232. package/fesm2022/ng-doc-ui-kit-components-data-list.mjs.map +1 -1
  233. package/fesm2022/ng-doc-ui-kit-components-dot.mjs +4 -19
  234. package/fesm2022/ng-doc-ui-kit-components-dot.mjs.map +1 -1
  235. package/fesm2022/ng-doc-ui-kit-components-dropdown.mjs +4 -5
  236. package/fesm2022/ng-doc-ui-kit-components-dropdown.mjs.map +1 -1
  237. package/fesm2022/ng-doc-ui-kit-components-expander.mjs +6 -21
  238. package/fesm2022/ng-doc-ui-kit-components-expander.mjs.map +1 -1
  239. package/fesm2022/ng-doc-ui-kit-components-floated-border.mjs +4 -19
  240. package/fesm2022/ng-doc-ui-kit-components-floated-border.mjs.map +1 -1
  241. package/fesm2022/ng-doc-ui-kit-components-floated-content.mjs +4 -17
  242. package/fesm2022/ng-doc-ui-kit-components-floated-content.mjs.map +1 -1
  243. package/fesm2022/ng-doc-ui-kit-components-focus-control.mjs +6 -21
  244. package/fesm2022/ng-doc-ui-kit-components-focus-control.mjs.map +1 -1
  245. package/fesm2022/ng-doc-ui-kit-components-icon.mjs +4 -19
  246. package/fesm2022/ng-doc-ui-kit-components-icon.mjs.map +1 -1
  247. package/fesm2022/ng-doc-ui-kit-components-input-wrapper.mjs +21 -54
  248. package/fesm2022/ng-doc-ui-kit-components-input-wrapper.mjs.map +1 -1
  249. package/fesm2022/ng-doc-ui-kit-components-label.mjs +6 -22
  250. package/fesm2022/ng-doc-ui-kit-components-label.mjs.map +1 -1
  251. package/fesm2022/ng-doc-ui-kit-components-line.mjs +4 -19
  252. package/fesm2022/ng-doc-ui-kit-components-line.mjs.map +1 -1
  253. package/fesm2022/ng-doc-ui-kit-components-list.mjs +4 -20
  254. package/fesm2022/ng-doc-ui-kit-components-list.mjs.map +1 -1
  255. package/fesm2022/ng-doc-ui-kit-components-option-group.mjs +11 -24
  256. package/fesm2022/ng-doc-ui-kit-components-option-group.mjs.map +1 -1
  257. package/fesm2022/ng-doc-ui-kit-components-option.mjs +4 -19
  258. package/fesm2022/ng-doc-ui-kit-components-option.mjs.map +1 -1
  259. package/fesm2022/ng-doc-ui-kit-components-overlay-container.mjs +15 -47
  260. package/fesm2022/ng-doc-ui-kit-components-overlay-container.mjs.map +1 -1
  261. package/fesm2022/ng-doc-ui-kit-components-overlay-pointer.mjs +5 -20
  262. package/fesm2022/ng-doc-ui-kit-components-overlay-pointer.mjs.map +1 -1
  263. package/fesm2022/ng-doc-ui-kit-components-pane.mjs +9 -21
  264. package/fesm2022/ng-doc-ui-kit-components-pane.mjs.map +1 -1
  265. package/fesm2022/ng-doc-ui-kit-components-selection.mjs +8 -21
  266. package/fesm2022/ng-doc-ui-kit-components-selection.mjs.map +1 -1
  267. package/fesm2022/ng-doc-ui-kit-components-sidenav.mjs +6 -21
  268. package/fesm2022/ng-doc-ui-kit-components-sidenav.mjs.map +1 -1
  269. package/fesm2022/ng-doc-ui-kit-components-smooth-resize.mjs +4 -19
  270. package/fesm2022/ng-doc-ui-kit-components-smooth-resize.mjs.map +1 -1
  271. package/fesm2022/ng-doc-ui-kit-components-spinner.mjs +4 -19
  272. package/fesm2022/ng-doc-ui-kit-components-spinner.mjs.map +1 -1
  273. package/fesm2022/ng-doc-ui-kit-components-tab-group.mjs +18 -29
  274. package/fesm2022/ng-doc-ui-kit-components-tab-group.mjs.map +1 -1
  275. package/fesm2022/ng-doc-ui-kit-components-tag.mjs +4 -19
  276. package/fesm2022/ng-doc-ui-kit-components-tag.mjs.map +1 -1
  277. package/fesm2022/ng-doc-ui-kit-components-text.mjs +9 -22
  278. package/fesm2022/ng-doc-ui-kit-components-text.mjs.map +1 -1
  279. package/fesm2022/ng-doc-ui-kit-components-toggle.mjs +4 -19
  280. package/fesm2022/ng-doc-ui-kit-components-toggle.mjs.map +1 -1
  281. package/fesm2022/ng-doc-ui-kit-components-wrapper.mjs +4 -19
  282. package/fesm2022/ng-doc-ui-kit-components-wrapper.mjs.map +1 -1
  283. package/fesm2022/ng-doc-ui-kit-directives-autofocus.mjs +4 -16
  284. package/fesm2022/ng-doc-ui-kit-directives-autofocus.mjs.map +1 -1
  285. package/fesm2022/ng-doc-ui-kit-directives-checked-change.mjs +4 -16
  286. package/fesm2022/ng-doc-ui-kit-directives-checked-change.mjs.map +1 -1
  287. package/fesm2022/ng-doc-ui-kit-directives-data.mjs +4 -16
  288. package/fesm2022/ng-doc-ui-kit-directives-data.mjs.map +1 -1
  289. package/fesm2022/ng-doc-ui-kit-directives-dropdown-handler.mjs +4 -16
  290. package/fesm2022/ng-doc-ui-kit-directives-dropdown-handler.mjs.map +1 -1
  291. package/fesm2022/ng-doc-ui-kit-directives-dropdown-origin.mjs +4 -16
  292. package/fesm2022/ng-doc-ui-kit-directives-dropdown-origin.mjs.map +1 -1
  293. package/fesm2022/ng-doc-ui-kit-directives-event-switcher.mjs +4 -16
  294. package/fesm2022/ng-doc-ui-kit-directives-event-switcher.mjs.map +1 -1
  295. package/fesm2022/ng-doc-ui-kit-directives-focus-catcher.mjs +4 -16
  296. package/fesm2022/ng-doc-ui-kit-directives-focus-catcher.mjs.map +1 -1
  297. package/fesm2022/ng-doc-ui-kit-directives-focusable.mjs +4 -16
  298. package/fesm2022/ng-doc-ui-kit-directives-focusable.mjs.map +1 -1
  299. package/fesm2022/ng-doc-ui-kit-directives-hotkey.mjs +4 -16
  300. package/fesm2022/ng-doc-ui-kit-directives-hotkey.mjs.map +1 -1
  301. package/fesm2022/ng-doc-ui-kit-directives-input-number.mjs +4 -16
  302. package/fesm2022/ng-doc-ui-kit-directives-input-number.mjs.map +1 -1
  303. package/fesm2022/ng-doc-ui-kit-directives-input-string.mjs +5 -21
  304. package/fesm2022/ng-doc-ui-kit-directives-input-string.mjs.map +1 -1
  305. package/fesm2022/ng-doc-ui-kit-directives-let.mjs +4 -16
  306. package/fesm2022/ng-doc-ui-kit-directives-let.mjs.map +1 -1
  307. package/fesm2022/ng-doc-ui-kit-directives-media-query.mjs +4 -16
  308. package/fesm2022/ng-doc-ui-kit-directives-media-query.mjs.map +1 -1
  309. package/fesm2022/ng-doc-ui-kit-directives-rotator.mjs +4 -16
  310. package/fesm2022/ng-doc-ui-kit-directives-rotator.mjs.map +1 -1
  311. package/fesm2022/ng-doc-ui-kit-directives-tooltip.mjs +4 -16
  312. package/fesm2022/ng-doc-ui-kit-directives-tooltip.mjs.map +1 -1
  313. package/fesm2022/ng-doc-ui-kit-pipes-as-array.mjs +4 -16
  314. package/fesm2022/ng-doc-ui-kit-pipes-as-array.mjs.map +1 -1
  315. package/fesm2022/ng-doc-ui-kit-pipes-bind.mjs +4 -16
  316. package/fesm2022/ng-doc-ui-kit-pipes-bind.mjs.map +1 -1
  317. package/fesm2022/ng-doc-ui-kit-pipes-highlighter.mjs +4 -16
  318. package/fesm2022/ng-doc-ui-kit-pipes-highlighter.mjs.map +1 -1
  319. package/fesm2022/ng-doc-ui-kit-pipes-run.mjs +4 -16
  320. package/fesm2022/ng-doc-ui-kit-pipes-run.mjs.map +1 -1
  321. package/package.json +2 -2
  322. package/pipes/as-array/as-array.pipe.d.ts +1 -1
  323. package/pipes/as-array/index.d.ts +0 -1
  324. package/pipes/bind/bind.pipe.d.ts +1 -1
  325. package/pipes/bind/index.d.ts +0 -1
  326. package/pipes/highlighter/highlighter.pipe.d.ts +1 -1
  327. package/pipes/highlighter/index.d.ts +0 -1
  328. package/pipes/run/index.d.ts +0 -1
  329. package/pipes/run/run.pipe.d.ts +1 -1
  330. package/cdk/combobox-host/combobox-host.module.d.ts +0 -10
  331. package/components/blockquote/blockquote.module.d.ts +0 -9
  332. package/components/button/button.module.d.ts +0 -8
  333. package/components/button-icon/button-icon.module.d.ts +0 -8
  334. package/components/checkbox/checkbox.module.d.ts +0 -11
  335. package/components/clear-control/clear-control.module.d.ts +0 -11
  336. package/components/data-list/data-list.module.d.ts +0 -12
  337. package/components/data-list-group/data-list-group.module.d.ts +0 -13
  338. package/components/dot/dot.module.d.ts +0 -8
  339. package/components/expander/expander.module.d.ts +0 -9
  340. package/components/floated-border/floated-border.module.d.ts +0 -8
  341. package/components/floated-content/floated-content.module.d.ts +0 -7
  342. package/components/focus-control/focus-control.module.d.ts +0 -8
  343. package/components/icon/icon.module.d.ts +0 -8
  344. package/components/input-wrapper/input-wrapper.module.d.ts +0 -14
  345. package/components/label/label.module.d.ts +0 -10
  346. package/components/line/line.module.d.ts +0 -8
  347. package/components/list/list.module.d.ts +0 -9
  348. package/components/option/option.module.d.ts +0 -8
  349. package/components/option-group/option-group.module.d.ts +0 -9
  350. package/components/overlay-container/overlay-container.module.d.ts +0 -14
  351. package/components/overlay-pointer/overlay-pointer.module.d.ts +0 -8
  352. package/components/pane/pane.module.d.ts +0 -8
  353. package/components/selection/selection.module.d.ts +0 -10
  354. package/components/sidenav/sidenav.module.d.ts +0 -9
  355. package/components/smooth-resize/smooth-resize.module.d.ts +0 -8
  356. package/components/spinner/spinner.module.d.ts +0 -8
  357. package/components/tab-group/tab-group.module.d.ts +0 -13
  358. package/components/tag/tag.module.d.ts +0 -8
  359. package/components/text/text.module.d.ts +0 -10
  360. package/components/toggle/toggle.module.d.ts +0 -8
  361. package/components/wrapper/wrapper.module.d.ts +0 -8
  362. package/directives/autofocus/autofocus.module.d.ts +0 -7
  363. package/directives/checked-change/checked-change.module.d.ts +0 -7
  364. package/directives/data/data.module.d.ts +0 -7
  365. package/directives/dropdown-handler/dropdown-handler.module.d.ts +0 -7
  366. package/directives/dropdown-origin/dropdown-origin.module.d.ts +0 -7
  367. package/directives/event-switcher/event-switcher.module.d.ts +0 -7
  368. package/directives/focus-catcher/focus-catcher.module.d.ts +0 -7
  369. package/directives/focusable/focusable.module.d.ts +0 -7
  370. package/directives/hotkey/hotkey.module.d.ts +0 -7
  371. package/directives/input-number/input-number.module.d.ts +0 -7
  372. package/directives/input-string/input-string.module.d.ts +0 -7
  373. package/directives/let/let.module.d.ts +0 -7
  374. package/directives/media-query/media-query.module.d.ts +0 -7
  375. package/directives/rotator/rotator.module.d.ts +0 -7
  376. package/directives/tooltip/tooltip.module.d.ts +0 -7
  377. package/esm2022/cdk/combobox-host/combobox-host.module.mjs +0 -21
  378. package/esm2022/components/blockquote/blockquote.module.mjs +0 -20
  379. package/esm2022/components/button/button.module.mjs +0 -19
  380. package/esm2022/components/button-icon/button-icon.module.mjs +0 -19
  381. package/esm2022/components/checkbox/checkbox.module.mjs +0 -22
  382. package/esm2022/components/clear-control/clear-control.module.mjs +0 -22
  383. package/esm2022/components/data-list/data-list.module.mjs +0 -23
  384. package/esm2022/components/data-list-group/data-list-group.module.mjs +0 -41
  385. package/esm2022/components/dot/dot.module.mjs +0 -19
  386. package/esm2022/components/expander/expander.module.mjs +0 -20
  387. package/esm2022/components/floated-border/floated-border.module.mjs +0 -19
  388. package/esm2022/components/floated-content/floated-content.module.mjs +0 -17
  389. package/esm2022/components/focus-control/focus-control.module.mjs +0 -19
  390. package/esm2022/components/icon/icon.module.mjs +0 -19
  391. package/esm2022/components/input-wrapper/input-wrapper.module.mjs +0 -45
  392. package/esm2022/components/label/label.module.mjs +0 -21
  393. package/esm2022/components/line/line.module.mjs +0 -19
  394. package/esm2022/components/list/list.module.mjs +0 -20
  395. package/esm2022/components/option/option.module.mjs +0 -19
  396. package/esm2022/components/option-group/option-group.module.mjs +0 -20
  397. package/esm2022/components/overlay-container/overlay-container.module.mjs +0 -44
  398. package/esm2022/components/overlay-pointer/overlay-pointer.module.mjs +0 -19
  399. package/esm2022/components/pane/pane.module.mjs +0 -19
  400. package/esm2022/components/selection/selection.module.mjs +0 -21
  401. package/esm2022/components/sidenav/sidenav.module.mjs +0 -20
  402. package/esm2022/components/smooth-resize/smooth-resize.module.mjs +0 -19
  403. package/esm2022/components/spinner/spinner.module.mjs +0 -19
  404. package/esm2022/components/tab-group/tab-group.module.mjs +0 -24
  405. package/esm2022/components/tag/tag.module.mjs +0 -19
  406. package/esm2022/components/text/text.module.mjs +0 -21
  407. package/esm2022/components/toggle/toggle.module.mjs +0 -19
  408. package/esm2022/components/wrapper/wrapper.module.mjs +0 -19
  409. package/esm2022/directives/autofocus/autofocus.module.mjs +0 -17
  410. package/esm2022/directives/checked-change/checked-change.module.mjs +0 -17
  411. package/esm2022/directives/data/data.module.mjs +0 -17
  412. package/esm2022/directives/dropdown-handler/dropdown-handler.module.mjs +0 -17
  413. package/esm2022/directives/dropdown-origin/dropdown-origin.module.mjs +0 -17
  414. package/esm2022/directives/event-switcher/event-switcher.module.mjs +0 -17
  415. package/esm2022/directives/focus-catcher/focus-catcher.module.mjs +0 -17
  416. package/esm2022/directives/focusable/focusable.module.mjs +0 -17
  417. package/esm2022/directives/hotkey/hotkey.module.mjs +0 -17
  418. package/esm2022/directives/input-number/input-number.module.mjs +0 -17
  419. package/esm2022/directives/input-string/input-string.module.mjs +0 -17
  420. package/esm2022/directives/let/let.module.mjs +0 -17
  421. package/esm2022/directives/media-query/media-query.module.mjs +0 -17
  422. package/esm2022/directives/rotator/rotator.module.mjs +0 -17
  423. package/esm2022/directives/tooltip/tooltip.module.mjs +0 -17
  424. package/esm2022/pipes/as-array/as-array.module.mjs +0 -17
  425. package/esm2022/pipes/bind/bind.module.mjs +0 -17
  426. package/esm2022/pipes/highlighter/highlighter.module.mjs +0 -17
  427. package/esm2022/pipes/run/run.module.mjs +0 -17
  428. package/pipes/as-array/as-array.module.d.ts +0 -7
  429. package/pipes/bind/bind.module.d.ts +0 -7
  430. package/pipes/highlighter/highlighter.module.d.ts +0 -7
  431. package/pipes/run/run.module.d.ts +0 -7
@@ -1,10 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, Optional, Inject, HostBinding, HostListener, NgModule } from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, Optional, Inject, HostBinding, HostListener } from '@angular/core';
3
3
  import { NgDocListItem } from '@ng-doc/ui-kit/classes/list-item';
4
4
  import * as i1 from '@ng-doc/ui-kit/components/list';
5
5
  import * as i2 from 'flex-controls';
6
6
  import { FlControlSelector, FlCompareHost, FL_CONTROL_HOST } from 'flex-controls';
7
- import { CommonModule } from '@angular/common';
8
7
 
9
8
  class NgDocOptionComponent extends FlControlSelector {
10
9
  constructor(elementRef, changeDetectorRef, list, compareHost, host) {
@@ -37,7 +36,7 @@ class NgDocOptionComponent extends FlControlSelector {
37
36
  this.list?.unregisterItem(this);
38
37
  }
39
38
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocOptionComponent, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i1.NgDocListComponent, optional: true }, { token: FlCompareHost, optional: true }, { token: FL_CONTROL_HOST, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
40
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocOptionComponent, selector: "ng-doc-option", host: { listeners: { "click": "clickEvent()" }, properties: { "attr.data-ng-doc-hover": "this.hovered" } }, providers: [
39
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocOptionComponent, isStandalone: true, selector: "ng-doc-option", host: { listeners: { "click": "clickEvent()" }, properties: { "attr.data-ng-doc-hover": "this.hovered" } }, providers: [
41
40
  {
42
41
  provide: NgDocListItem,
43
42
  useExisting: NgDocOptionComponent,
@@ -51,7 +50,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
51
50
  provide: NgDocListItem,
52
51
  useExisting: NgDocOptionComponent,
53
52
  },
54
- ], changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{font-family:var(--ng-doc-font-family);font-variant:no-contextual;color:var(--ng-doc-text);line-height:var(--ng-doc-line-height);font-size:var(--ng-doc-font-size);font-weight:var(--ng-doc-font-weight);display:block;padding:var(--ng-doc-option-padding, var(--ng-doc-base-gutter) calc(var(--ng-doc-base-gutter) * 2))}:host:hover:not([data-disabled=true]),:host[data-ng-doc-hover=true]:not([data-disabled=true]){background-color:var(--ng-doc-base-1);cursor:pointer}:host[data-checked=true]{background-color:rgba(var(--ng-doc-primary-rgb),.2)}\n"] }]
53
+ ], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, styles: [":host{font-family:var(--ng-doc-font-family);font-variant:no-contextual;color:var(--ng-doc-text);line-height:var(--ng-doc-line-height);font-size:var(--ng-doc-font-size);font-weight:var(--ng-doc-font-weight);display:block;padding:var(--ng-doc-option-padding, var(--ng-doc-base-gutter) calc(var(--ng-doc-base-gutter) * 2))}:host:hover:not([data-disabled=true]),:host[data-ng-doc-hover=true]:not([data-disabled=true]){background-color:var(--ng-doc-base-1);cursor:pointer}:host[data-checked=true]{background-color:rgba(var(--ng-doc-primary-rgb),.2)}\n"] }]
55
54
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: i1.NgDocListComponent, decorators: [{
56
55
  type: Optional
57
56
  }] }, { type: i2.FlCompareHost, decorators: [{
@@ -72,23 +71,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
72
71
  args: ['click']
73
72
  }] } });
74
73
 
75
- class NgDocOptionModule {
76
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocOptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
77
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocOptionModule, declarations: [NgDocOptionComponent], imports: [CommonModule], exports: [NgDocOptionComponent] }); }
78
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocOptionModule, imports: [CommonModule] }); }
79
- }
80
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocOptionModule, decorators: [{
81
- type: NgModule,
82
- args: [{
83
- declarations: [NgDocOptionComponent],
84
- imports: [CommonModule],
85
- exports: [NgDocOptionComponent],
86
- }]
87
- }] });
88
-
89
74
  /**
90
75
  * Generated bundle index. Do not edit.
91
76
  */
92
77
 
93
- export { NgDocOptionComponent, NgDocOptionModule };
78
+ export { NgDocOptionComponent };
94
79
  //# sourceMappingURL=ng-doc-ui-kit-components-option.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-ui-kit-components-option.mjs","sources":["../../../../libs/ui-kit/components/option/option.component.ts","../../../../libs/ui-kit/components/option/option.module.ts","../../../../libs/ui-kit/components/option/ng-doc-ui-kit-components-option.ts"],"sourcesContent":["import {\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tElementRef,\n\tHostBinding,\n\tHostListener,\n\tInject,\n\tOnDestroy,\n\tOptional,\n} from '@angular/core';\nimport {NgDocListItem} from '@ng-doc/ui-kit/classes/list-item';\nimport {NgDocListComponent} from '@ng-doc/ui-kit/components/list';\nimport {FL_CONTROL_HOST, FlCompareHost, FlControlHost, FlControlSelector} from 'flex-controls';\n\n@Component({\n\tselector: 'ng-doc-option',\n\ttemplate: '<ng-content></ng-content>',\n\tstyleUrls: ['./option.component.scss'],\n\tproviders: [\n\t\t{\n\t\t\tprovide: NgDocListItem,\n\t\t\tuseExisting: NgDocOptionComponent,\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NgDocOptionComponent<T> extends FlControlSelector<T> implements NgDocListItem, OnDestroy {\n\t@HostBinding('attr.data-ng-doc-hover')\n\tprotected hovered: boolean = false;\n\n\tconstructor(\n\t\treadonly elementRef: ElementRef<HTMLElement>,\n\t\tprotected override readonly changeDetectorRef: ChangeDetectorRef,\n\t\t@Optional()\n\t\tprivate readonly list: NgDocListComponent<T>,\n\t\t@Inject(FlCompareHost)\n\t\t@Optional()\n\t\tprotected override compareHost?: FlCompareHost<T | boolean | null>,\n\t\t@Inject(FL_CONTROL_HOST)\n\t\t@Optional()\n\t\tprotected override host?: FlControlHost<T>,\n\t) {\n\t\tsuper(compareHost, host);\n\t\tthis.list?.registerItem(this);\n\t}\n\n\t@HostListener('click')\n\tclickEvent(): void {\n\t\tthis.select();\n\t}\n\n\tselectByUser(): void {\n\t\tconst anchor: HTMLAnchorElement | null = this.elementRef.nativeElement.querySelector('a');\n\n\t\tanchor ? anchor.click() : this.select();\n\t}\n\n\tsetActiveStyles(): void {\n\t\tthis.hovered = true;\n\t\tthis.changeDetectorRef.markForCheck();\n\t}\n\n\tsetInactiveStyles(): void {\n\t\tthis.hovered = false;\n\t\tthis.changeDetectorRef.markForCheck();\n\t}\n\n\toverride ngOnDestroy(): void {\n\t\tsuper.ngOnDestroy();\n\t\tthis.list?.unregisterItem(this);\n\t}\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\nimport {NgDocOptionComponent} from './option.component';\n\n@NgModule({\n\tdeclarations: [NgDocOptionComponent],\n\timports: [CommonModule],\n\texports: [NgDocOptionComponent],\n})\nexport class NgDocOptionModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAeA,MAYa,oBAAwB,SAAQ,iBAAoB,CAAA;IAIhE,WACU,CAAA,UAAmC,EAChB,iBAAoC,EAE/C,IAA2B,EAGzB,WAA+C,EAG/C,IAAuB,EAAA;AAE1C,QAAA,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;QAXhB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QAChB,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB,CAAmB;QAE/C,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAuB;QAGzB,IAAW,CAAA,WAAA,GAAX,WAAW,CAAoC;QAG/C,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAmB;QAZjC,IAAO,CAAA,OAAA,GAAY,KAAK,CAAC;AAelC,QAAA,IAAI,CAAC,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,CAAC;KAC9B;IAGD,UAAU,GAAA;QACT,IAAI,CAAC,MAAM,EAAE,CAAC;KACd;IAED,YAAY,GAAA;AACX,QAAA,MAAM,MAAM,GAA6B,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;AAE1F,QAAA,MAAM,GAAG,MAAM,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC;KACxC;IAED,eAAe,GAAA;AACd,QAAA,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;AACpB,QAAA,IAAI,CAAC,iBAAiB,CAAC,YAAY,EAAE,CAAC;KACtC;IAED,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EAAA,CAAA;kBAL7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,YAAY,EAAE,CAAC,oBAAoB,CAAC;oBACpC,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,oBAAoB,CAAC;AAC/B,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-ui-kit-components-option.mjs","sources":["../../../../libs/ui-kit/components/option/option.component.ts","../../../../libs/ui-kit/components/option/ng-doc-ui-kit-components-option.ts"],"sourcesContent":["import {\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tElementRef,\n\tHostBinding,\n\tHostListener,\n\tInject,\n\tOnDestroy,\n\tOptional,\n} from '@angular/core';\nimport {NgDocListItem} from '@ng-doc/ui-kit/classes/list-item';\nimport {NgDocListComponent} from '@ng-doc/ui-kit/components/list';\nimport {FL_CONTROL_HOST, FlCompareHost, FlControlHost, FlControlSelector} from 'flex-controls';\n\n@Component({\n\tselector: 'ng-doc-option',\n\ttemplate: '<ng-content></ng-content>',\n\tstyleUrls: ['./option.component.scss'],\n\tproviders: [\n\t\t{\n\t\t\tprovide: NgDocListItem,\n\t\t\tuseExisting: NgDocOptionComponent,\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n})\nexport class NgDocOptionComponent<T> extends FlControlSelector<T> implements NgDocListItem, OnDestroy {\n\t@HostBinding('attr.data-ng-doc-hover')\n\tprotected hovered: boolean = false;\n\n\tconstructor(\n\t\treadonly elementRef: ElementRef<HTMLElement>,\n\t\tprotected override readonly changeDetectorRef: ChangeDetectorRef,\n\t\t@Optional()\n\t\tprivate readonly list: NgDocListComponent<T>,\n\t\t@Inject(FlCompareHost)\n\t\t@Optional()\n\t\tprotected override compareHost?: FlCompareHost<T | boolean | null>,\n\t\t@Inject(FL_CONTROL_HOST)\n\t\t@Optional()\n\t\tprotected override host?: FlControlHost<T>,\n\t) {\n\t\tsuper(compareHost, host);\n\t\tthis.list?.registerItem(this);\n\t}\n\n\t@HostListener('click')\n\tclickEvent(): void {\n\t\tthis.select();\n\t}\n\n\tselectByUser(): void {\n\t\tconst anchor: HTMLAnchorElement | null = this.elementRef.nativeElement.querySelector('a');\n\n\t\tanchor ? anchor.click() : this.select();\n\t}\n\n\tsetActiveStyles(): void {\n\t\tthis.hovered = true;\n\t\tthis.changeDetectorRef.markForCheck();\n\t}\n\n\tsetInactiveStyles(): void {\n\t\tthis.hovered = false;\n\t\tthis.changeDetectorRef.markForCheck();\n\t}\n\n\toverride ngOnDestroy(): void {\n\t\tsuper.ngOnDestroy();\n\t\tthis.list?.unregisterItem(this);\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAeA,MAaa,oBAAwB,SAAQ,iBAAoB,CAAA;IAIhE,WACU,CAAA,UAAmC,EAChB,iBAAoC,EAE/C,IAA2B,EAGzB,WAA+C,EAG/C,IAAuB,EAAA;AAE1C,QAAA,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;QAXhB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QAChB,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB,CAAmB;QAE/C,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAuB;QAGzB,IAAW,CAAA,WAAA,GAAX,WAAW,CAAoC;QAG/C,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAmB;QAZjC,IAAO,CAAA,OAAA,GAAY,KAAK,CAAC;AAelC,QAAA,IAAI,CAAC,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,CAAC;KAC9B;IAGD,UAAU,GAAA;QACT,IAAI,CAAC,MAAM,EAAE,CAAC;KACd;IAED,YAAY,GAAA;AACX,QAAA,MAAM,MAAM,GAA6B,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;AAE1F,QAAA,MAAM,GAA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B,gBAAA,WAAW,EAAE,oBAAoB;AACjC,aAAA;AACD,SAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAPS,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,oiBAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAWzB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAbhC,SAAS;+BACC,eAAe,EAAA,QAAA,EACf,2BAA2B,EAE1B,SAAA,EAAA;AACV,wBAAA;AACC,4BAAA,OAAO,EAAE,aAAa;AACtB,4BAAA,WAAW,EAAsB,oBAAA;AACjC,yBAAA;AACD,qBAAA,EAAA,eAAA,EACgB,uBAAuB,CAAC,MAAM,EAAA,UAAA,EACnC,IAAI,EAAA,MAAA,EAAA,CAAA,oiBAAA,CAAA,EAAA,CAAA;;0BASd,QAAQ;;0BAER,MAAM;2BAAC,aAAa,CAAA;;0BACpB,QAAQ;;0BAER,MAAM;2BAAC,eAAe,CAAA;;0BACtB,QAAQ;4CAXA,OAAO,EAAA,CAAA;sBADhB,WAAW;uBAAC,wBAAwB,CAAA;gBAoBrC,UAAU,EAAA,CAAA;sBADT,YAAY;uBAAC,OAAO,CAAA;;;AChDtB;;AAEG;;;;"}
@@ -1,10 +1,12 @@
1
1
  import * as i1 from '@angular/animations';
2
2
  import { FlexibleConnectedPositionStrategy } from '@angular/cdk/overlay';
3
- import { DOCUMENT, CommonModule } from '@angular/common';
3
+ import { DOCUMENT } from '@angular/common';
4
4
  import * as i0 from '@angular/core';
5
- import { ElementRef, Component, ChangeDetectionStrategy, Inject, ViewChild, HostBinding, NgModule } from '@angular/core';
6
- import * as i6 from '@ng-doc/ui-kit/directives/focus-catcher';
7
- import { NgDocFocusCatcherDirective, NgDocFocusCatcherModule } from '@ng-doc/ui-kit/directives/focus-catcher';
5
+ import { ElementRef, Component, ChangeDetectionStrategy, Inject, ViewChild, HostBinding } from '@angular/core';
6
+ import { NgDocFocusControlComponent } from '@ng-doc/ui-kit/components/focus-control';
7
+ import { NgDocOverlayPointerComponent } from '@ng-doc/ui-kit/components/overlay-pointer';
8
+ import { NgDocEventSwitcherDirective } from '@ng-doc/ui-kit/directives/event-switcher';
9
+ import { NgDocFocusCatcherDirective } from '@ng-doc/ui-kit/directives/focus-catcher';
8
10
  import { toElement } from '@ng-doc/ui-kit/helpers';
9
11
  import { ngDocZoneOptimize } from '@ng-doc/ui-kit/observables';
10
12
  import { NgDocOverlayUtils, NgDocFocusUtils } from '@ng-doc/ui-kit/utils';
@@ -12,13 +14,6 @@ import * as i2 from '@tinkoff/ng-polymorpheus';
12
14
  import { PolymorpheusOutletDirective, PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
13
15
  import { Subject } from 'rxjs';
14
16
  import { distinctUntilChanged } from 'rxjs/operators';
15
- import * as i3 from '@ng-doc/ui-kit/components/overlay-pointer';
16
- import { NgDocOverlayPointerModule } from '@ng-doc/ui-kit/components/overlay-pointer';
17
- import * as i4 from '@ng-doc/ui-kit/directives/event-switcher';
18
- import { NgDocEventSwitcherModule } from '@ng-doc/ui-kit/directives/event-switcher';
19
- import * as i5 from '@ng-doc/ui-kit/components/focus-control';
20
- import { NgDocFocusControlModule } from '@ng-doc/ui-kit/components/focus-control';
21
- import { NgDocFocusableModule } from '@ng-doc/ui-kit/directives/focusable';
22
17
 
23
18
  class NgDocOverlayContainerComponent {
24
19
  constructor(elementRef, documentRef, changeDetectorRef, ngZone, animationBuilder) {
@@ -85,11 +80,17 @@ class NgDocOverlayContainerComponent {
85
80
  }
86
81
  }
87
82
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocOverlayContainerComponent, deps: [{ token: i0.ElementRef }, { token: DOCUMENT }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1.AnimationBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
88
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocOverlayContainerComponent, selector: "ng-doc-overlay-container", host: { properties: { "attr.data-ng-doc-overlay-position": "this.relativePosition", "attr.data-ng-doc-overlay-with-contact-border": "this.contactBorder" } }, viewQueries: [{ propertyName: "contentContainer", first: true, predicate: ["contentContainer"], descendants: true, read: ElementRef, static: true }, { propertyName: "focusCatcher", first: true, predicate: NgDocFocusCatcherDirective, descendants: true }, { propertyName: "outlet", first: true, predicate: PolymorpheusOutletDirective, descendants: true, static: true }], ngImport: i0, template: "<ng-doc-overlay-pointer\n\t[overlayPosition]=\"relativePosition\"\n\t[overlayAlign]=\"overlayAlign\"\n\t[withPointer]=\"!!config?.withPointer\"\n\t[ngDocEventSwitcher]=\"config?.viewContainerRef?.element?.nativeElement ?? null\"\n\t[events]=\"['focusin', 'focusout', 'keydown', 'scroll']\"\n>\n\t<ng-doc-focus-control [focusHost]=\"this.config?.viewContainerRef?.element?.nativeElement ?? null\" ngDocFocusCatcher>\n\t\t<div class=\"ng-doc-overlay-content\" [tabIndex]=\"-1\" #contentContainer>\n\t\t\t<ng-container *polymorpheusOutlet=\"content as text;\"\n\t\t\t>{{text}}</ng-container\n\t\t\t>\n\t\t</div>\n\t</ng-doc-focus-control>\n</ng-doc-overlay-pointer>\n", styles: [":host{display:block;height:auto;width:100%}.ng-doc-overlay-content{width:100%;height:100%;background-color:var(--ng-doc-overlay-background);border:1px solid var(--ng-doc-overlay-border);border-radius:var(--ng-doc-overlay-border-radius);box-shadow:var(--ng-doc-overlay-shadow);overflow:auto}:host[data-ng-doc-overlay-position=top]{transform-origin:bottom}:host[data-ng-doc-overlay-position=top][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-bottom:none}:host[data-ng-doc-overlay-position=bottom]{transform-origin:top}:host[data-ng-doc-overlay-position=bottom][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-top:none}:host[data-ng-doc-overlay-position=left]{transform-origin:right}:host[data-ng-doc-overlay-position=left][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-right:none}:host[data-ng-doc-overlay-position=right]{transform-origin:left}:host[data-ng-doc-overlay-position=right][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-left:none}\n"], dependencies: [{ kind: "directive", type: i2.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "component", type: i3.NgDocOverlayPointerComponent, selector: "ng-doc-overlay-pointer", inputs: ["overlayPosition", "overlayAlign", "withPointer"] }, { kind: "directive", type: i4.NgDocEventSwitcherDirective, selector: "[ngDocEventSwitcher]", inputs: ["ngDocEventSwitcher", "events"] }, { kind: "component", type: i5.NgDocFocusControlComponent, selector: "ng-doc-focus-control", inputs: ["focusHost"] }, { kind: "directive", type: i6.NgDocFocusCatcherDirective, selector: "[ngDocFocusCatcher]", outputs: ["focusEvent", "blurEvent"], exportAs: ["ngDocFocusCatcher"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
83
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocOverlayContainerComponent, isStandalone: true, selector: "ng-doc-overlay-container", host: { properties: { "attr.data-ng-doc-overlay-position": "this.relativePosition", "attr.data-ng-doc-overlay-with-contact-border": "this.contactBorder" } }, viewQueries: [{ propertyName: "contentContainer", first: true, predicate: ["contentContainer"], descendants: true, read: ElementRef, static: true }, { propertyName: "focusCatcher", first: true, predicate: NgDocFocusCatcherDirective, descendants: true }, { propertyName: "outlet", first: true, predicate: PolymorpheusOutletDirective, descendants: true, static: true }], ngImport: i0, template: "<ng-doc-overlay-pointer\n\t[overlayPosition]=\"relativePosition\"\n\t[overlayAlign]=\"overlayAlign\"\n\t[withPointer]=\"!!config?.withPointer\"\n\t[ngDocEventSwitcher]=\"config?.viewContainerRef?.element?.nativeElement ?? null\"\n\t[events]=\"['focusin', 'focusout', 'keydown', 'scroll']\"\n>\n\t<ng-doc-focus-control [focusHost]=\"this.config?.viewContainerRef?.element?.nativeElement ?? null\" ngDocFocusCatcher>\n\t\t<div class=\"ng-doc-overlay-content\" [tabIndex]=\"-1\" #contentContainer>\n\t\t\t<ng-container *polymorpheusOutlet=\"content as text;\"\n\t\t\t>{{text}}</ng-container\n\t\t\t>\n\t\t</div>\n\t</ng-doc-focus-control>\n</ng-doc-overlay-pointer>\n", styles: [":host{display:block;height:auto;width:100%}.ng-doc-overlay-content{width:100%;height:100%;background-color:var(--ng-doc-overlay-background);border:1px solid var(--ng-doc-overlay-border);border-radius:var(--ng-doc-overlay-border-radius);box-shadow:var(--ng-doc-overlay-shadow);overflow:auto}:host[data-ng-doc-overlay-position=top]{transform-origin:bottom}:host[data-ng-doc-overlay-position=top][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-bottom:none}:host[data-ng-doc-overlay-position=bottom]{transform-origin:top}:host[data-ng-doc-overlay-position=bottom][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-top:none}:host[data-ng-doc-overlay-position=left]{transform-origin:right}:host[data-ng-doc-overlay-position=left][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-right:none}:host[data-ng-doc-overlay-position=right]{transform-origin:left}:host[data-ng-doc-overlay-position=right][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-left:none}\n"], dependencies: [{ kind: "component", type: NgDocOverlayPointerComponent, selector: "ng-doc-overlay-pointer", inputs: ["overlayPosition", "overlayAlign", "withPointer"] }, { kind: "directive", type: NgDocEventSwitcherDirective, selector: "[ngDocEventSwitcher]", inputs: ["ngDocEventSwitcher", "events"] }, { kind: "component", type: NgDocFocusControlComponent, selector: "ng-doc-focus-control", inputs: ["focusHost"] }, { kind: "directive", type: NgDocFocusCatcherDirective, selector: "[ngDocFocusCatcher]", outputs: ["focusEvent", "blurEvent"], exportAs: ["ngDocFocusCatcher"] }, { kind: "ngmodule", type: PolymorpheusModule }, { kind: "directive", type: i2.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
89
84
  }
90
85
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocOverlayContainerComponent, decorators: [{
91
86
  type: Component,
92
- args: [{ selector: 'ng-doc-overlay-container', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-doc-overlay-pointer\n\t[overlayPosition]=\"relativePosition\"\n\t[overlayAlign]=\"overlayAlign\"\n\t[withPointer]=\"!!config?.withPointer\"\n\t[ngDocEventSwitcher]=\"config?.viewContainerRef?.element?.nativeElement ?? null\"\n\t[events]=\"['focusin', 'focusout', 'keydown', 'scroll']\"\n>\n\t<ng-doc-focus-control [focusHost]=\"this.config?.viewContainerRef?.element?.nativeElement ?? null\" ngDocFocusCatcher>\n\t\t<div class=\"ng-doc-overlay-content\" [tabIndex]=\"-1\" #contentContainer>\n\t\t\t<ng-container *polymorpheusOutlet=\"content as text;\"\n\t\t\t>{{text}}</ng-container\n\t\t\t>\n\t\t</div>\n\t</ng-doc-focus-control>\n</ng-doc-overlay-pointer>\n", styles: [":host{display:block;height:auto;width:100%}.ng-doc-overlay-content{width:100%;height:100%;background-color:var(--ng-doc-overlay-background);border:1px solid var(--ng-doc-overlay-border);border-radius:var(--ng-doc-overlay-border-radius);box-shadow:var(--ng-doc-overlay-shadow);overflow:auto}:host[data-ng-doc-overlay-position=top]{transform-origin:bottom}:host[data-ng-doc-overlay-position=top][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-bottom:none}:host[data-ng-doc-overlay-position=bottom]{transform-origin:top}:host[data-ng-doc-overlay-position=bottom][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-top:none}:host[data-ng-doc-overlay-position=left]{transform-origin:right}:host[data-ng-doc-overlay-position=left][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-right:none}:host[data-ng-doc-overlay-position=right]{transform-origin:left}:host[data-ng-doc-overlay-position=right][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-left:none}\n"] }]
87
+ args: [{ selector: 'ng-doc-overlay-container', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
88
+ NgDocOverlayPointerComponent,
89
+ NgDocEventSwitcherDirective,
90
+ NgDocFocusControlComponent,
91
+ NgDocFocusCatcherDirective,
92
+ PolymorpheusModule,
93
+ ], template: "<ng-doc-overlay-pointer\n\t[overlayPosition]=\"relativePosition\"\n\t[overlayAlign]=\"overlayAlign\"\n\t[withPointer]=\"!!config?.withPointer\"\n\t[ngDocEventSwitcher]=\"config?.viewContainerRef?.element?.nativeElement ?? null\"\n\t[events]=\"['focusin', 'focusout', 'keydown', 'scroll']\"\n>\n\t<ng-doc-focus-control [focusHost]=\"this.config?.viewContainerRef?.element?.nativeElement ?? null\" ngDocFocusCatcher>\n\t\t<div class=\"ng-doc-overlay-content\" [tabIndex]=\"-1\" #contentContainer>\n\t\t\t<ng-container *polymorpheusOutlet=\"content as text;\"\n\t\t\t>{{text}}</ng-container\n\t\t\t>\n\t\t</div>\n\t</ng-doc-focus-control>\n</ng-doc-overlay-pointer>\n", styles: [":host{display:block;height:auto;width:100%}.ng-doc-overlay-content{width:100%;height:100%;background-color:var(--ng-doc-overlay-background);border:1px solid var(--ng-doc-overlay-border);border-radius:var(--ng-doc-overlay-border-radius);box-shadow:var(--ng-doc-overlay-shadow);overflow:auto}:host[data-ng-doc-overlay-position=top]{transform-origin:bottom}:host[data-ng-doc-overlay-position=top][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-bottom:none}:host[data-ng-doc-overlay-position=bottom]{transform-origin:top}:host[data-ng-doc-overlay-position=bottom][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-top:none}:host[data-ng-doc-overlay-position=left]{transform-origin:right}:host[data-ng-doc-overlay-position=left][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-right:none}:host[data-ng-doc-overlay-position=right]{transform-origin:left}:host[data-ng-doc-overlay-position=right][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-left:none}\n"] }]
93
94
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: Document, decorators: [{
94
95
  type: Inject,
95
96
  args: [DOCUMENT]
@@ -110,42 +111,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
110
111
  args: ['attr.data-ng-doc-overlay-with-contact-border']
111
112
  }] } });
112
113
 
113
- class NgDocOverlayContainerModule {
114
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocOverlayContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
115
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocOverlayContainerModule, declarations: [NgDocOverlayContainerComponent], imports: [CommonModule,
116
- PolymorpheusModule,
117
- NgDocOverlayPointerModule,
118
- NgDocEventSwitcherModule,
119
- NgDocFocusableModule,
120
- NgDocFocusControlModule,
121
- NgDocFocusCatcherModule] }); }
122
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocOverlayContainerModule, imports: [CommonModule,
123
- PolymorpheusModule,
124
- NgDocOverlayPointerModule,
125
- NgDocEventSwitcherModule,
126
- NgDocFocusableModule,
127
- NgDocFocusControlModule,
128
- NgDocFocusCatcherModule] }); }
129
- }
130
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocOverlayContainerModule, decorators: [{
131
- type: NgModule,
132
- args: [{
133
- declarations: [NgDocOverlayContainerComponent],
134
- imports: [
135
- CommonModule,
136
- PolymorpheusModule,
137
- NgDocOverlayPointerModule,
138
- NgDocEventSwitcherModule,
139
- NgDocFocusableModule,
140
- NgDocFocusControlModule,
141
- NgDocFocusCatcherModule,
142
- ],
143
- }]
144
- }] });
145
-
146
114
  /**
147
115
  * Generated bundle index. Do not edit.
148
116
  */
149
117
 
150
- export { NgDocOverlayContainerComponent, NgDocOverlayContainerModule };
118
+ export { NgDocOverlayContainerComponent };
151
119
  //# sourceMappingURL=ng-doc-ui-kit-components-overlay-container.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-ui-kit-components-overlay-container.mjs","sources":["../../../../libs/ui-kit/components/overlay-container/overlay-container.component.ts","../../../../libs/ui-kit/components/overlay-container/overlay-container.component.html","../../../../libs/ui-kit/components/overlay-container/overlay-container.module.ts","../../../../libs/ui-kit/components/overlay-container/ng-doc-ui-kit-components-overlay-container.ts"],"sourcesContent":["import {AnimationBuilder, AnimationMetadata, AnimationPlayer} from '@angular/animations';\nimport {ConnectedOverlayPositionChange, FlexibleConnectedPositionStrategy} from '@angular/cdk/overlay';\nimport {DOCUMENT} from '@angular/common';\nimport {\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tElementRef,\n\tHostBinding,\n\tInject,\n\tNgZone,\n\tOnDestroy,\n\tOnInit,\n\tViewChild,\n} from '@angular/core';\nimport {NgDocFocusCatcherDirective} from '@ng-doc/ui-kit/directives/focus-catcher';\nimport {toElement} from '@ng-doc/ui-kit/helpers';\nimport {NgDocOverlayConfig, NgDocOverlayContainer} from '@ng-doc/ui-kit/interfaces';\nimport {ngDocZoneOptimize} from '@ng-doc/ui-kit/observables';\nimport {\n\tNgDocContent,\n\tNgDocHorizontalAlign,\n\tNgDocOverlayAnimationEvent,\n\tNgDocOverlayPosition,\n\tNgDocOverlayRelativePosition,\n\tNgDocVerticalAlign,\n} from '@ng-doc/ui-kit/types';\nimport {NgDocFocusUtils, NgDocOverlayUtils} from '@ng-doc/ui-kit/utils';\nimport {PolymorpheusOutletDirective} from '@tinkoff/ng-polymorpheus';\nimport {Observable, Subject} from 'rxjs';\nimport {distinctUntilChanged} from 'rxjs/operators';\n\n@Component({\n\tselector: 'ng-doc-overlay-container',\n\ttemplateUrl: './overlay-container.component.html',\n\tstyleUrls: ['./overlay-container.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NgDocOverlayContainerComponent implements NgDocOverlayContainer, OnInit, OnDestroy {\n\t@ViewChild('contentContainer', {read: ElementRef, static: true})\n\tcontentContainer?: ElementRef<HTMLElement>;\n\n\t@ViewChild(NgDocFocusCatcherDirective)\n\tfocusCatcher?: NgDocFocusCatcherDirective;\n\n\t@ViewChild(PolymorpheusOutletDirective, {static: true})\n\toutlet?: PolymorpheusOutletDirective<object>;\n\n\t@HostBinding('attr.data-ng-doc-overlay-position')\n\trelativePosition: NgDocOverlayRelativePosition | null = null;\n\n\tconfig?: NgDocOverlayConfig;\n\tcontent: NgDocContent = '';\n\n\tprivate currentPosition?: NgDocOverlayPosition;\n\tprivate animationEvent$: Subject<NgDocOverlayAnimationEvent> = new Subject<NgDocOverlayAnimationEvent>();\n\tprivate isOpened: boolean = true;\n\n\tconstructor(\n\t\tprivate elementRef: ElementRef<HTMLElement>,\n\t\t@Inject(DOCUMENT) private documentRef: Document,\n\t\tprivate changeDetectorRef: ChangeDetectorRef,\n\t\tprivate ngZone: NgZone,\n\t\tprivate animationBuilder: AnimationBuilder,\n\t) {}\n\n\tngOnInit(): void {\n\t\tthis.runAnimation(this.config?.openAnimation || []);\n\t\tif (this.config?.positionStrategy instanceof FlexibleConnectedPositionStrategy) {\n\t\t\tthis.config.positionStrategy.positionChanges\n\t\t\t\t.pipe(\n\t\t\t\t\tdistinctUntilChanged(\n\t\t\t\t\t\t(a: ConnectedOverlayPositionChange, b: ConnectedOverlayPositionChange) =>\n\t\t\t\t\t\t\ta.connectionPair === b.connectionPair,\n\t\t\t\t\t),\n\t\t\t\t\tngDocZoneOptimize(this.ngZone),\n\t\t\t\t)\n\t\t\t\t.subscribe((change: ConnectedOverlayPositionChange) => {\n\t\t\t\t\tthis.currentPosition = NgDocOverlayUtils.getOverlayPosition(change.connectionPair);\n\t\t\t\t\tthis.relativePosition = NgDocOverlayUtils.getRelativePosition(this.currentPosition);\n\t\t\t\t\tthis.changeDetectorRef.markForCheck();\n\t\t\t\t});\n\t\t}\n\t}\n\n\t@HostBinding('attr.data-ng-doc-overlay-with-contact-border')\n\tget contactBorder(): boolean {\n\t\treturn !!this.config?.contactBorder;\n\t}\n\n\tget isFocused(): boolean {\n\t\treturn !!this.focusCatcher?.focused;\n\t}\n\n\tget animationEvent(): Observable<NgDocOverlayAnimationEvent> {\n\t\treturn this.animationEvent$.asObservable();\n\t}\n\n\tget overlayAlign(): NgDocHorizontalAlign | NgDocVerticalAlign | null {\n\t\treturn this.currentPosition\n\t\t\t? NgDocOverlayUtils.getPositionAlign(NgDocOverlayUtils.toConnectedPosition(this.currentPosition))\n\t\t\t: null;\n\t}\n\n\tclose(): void {\n\t\tif (this.isOpened) {\n\t\t\tthis.runAnimation(this.config?.closeAnimation || [], true);\n\t\t\tthis.isOpened = false;\n\t\t\tthis.changeDetectorRef.markForCheck();\n\t\t}\n\t}\n\n\tfocus(): void {\n\t\tif (this.contentContainer) {\n\t\t\tNgDocFocusUtils.focusClosestElement(toElement(this.contentContainer), toElement(this.contentContainer));\n\t\t}\n\t}\n\n\tmarkForCheck(): void {\n\t\tthis.changeDetectorRef.markForCheck();\n\t}\n\n\tprivate runAnimation(animation: AnimationMetadata[], close: boolean = false): void {\n\t\tconst player: AnimationPlayer = this.animationBuilder.build(animation).create(this.elementRef.nativeElement);\n\t\tplayer.onStart(() => this.animationEvent$.next(close ? 'beforeClose' : 'beforeOpen'));\n\t\tplayer.onDone(() => this.animationEvent$.next(close ? 'afterClose' : 'afterOpen'));\n\t\tplayer.play();\n\t}\n\n\tngOnDestroy(): void {\n\t\tif (this.isFocused && this.config && this.config.viewContainerRef) {\n\t\t\tNgDocFocusUtils.focusClosestElement(\n\t\t\t\tthis.config.viewContainerRef.element.nativeElement,\n\t\t\t\tthis.documentRef.body,\n\t\t\t\tfalse,\n\t\t\t);\n\t\t}\n\t}\n}\n","<ng-doc-overlay-pointer\n\t[overlayPosition]=\"relativePosition\"\n\t[overlayAlign]=\"overlayAlign\"\n\t[withPointer]=\"!!config?.withPointer\"\n\t[ngDocEventSwitcher]=\"config?.viewContainerRef?.element?.nativeElement ?? null\"\n\t[events]=\"['focusin', 'focusout', 'keydown', 'scroll']\"\n>\n\t<ng-doc-focus-control [focusHost]=\"this.config?.viewContainerRef?.element?.nativeElement ?? null\" ngDocFocusCatcher>\n\t\t<div class=\"ng-doc-overlay-content\" [tabIndex]=\"-1\" #contentContainer>\n\t\t\t<ng-container *polymorpheusOutlet=\"content as text;\"\n\t\t\t>{{text}}</ng-container\n\t\t\t>\n\t\t</div>\n\t</ng-doc-focus-control>\n</ng-doc-overlay-pointer>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {NgDocFocusControlModule} from '@ng-doc/ui-kit/components/focus-control';\nimport {NgDocOverlayPointerModule} from '@ng-doc/ui-kit/components/overlay-pointer';\nimport {NgDocEventSwitcherModule} from '@ng-doc/ui-kit/directives/event-switcher';\nimport {NgDocFocusCatcherModule} from '@ng-doc/ui-kit/directives/focus-catcher';\nimport {NgDocFocusableModule} from '@ng-doc/ui-kit/directives/focusable';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {NgDocOverlayContainerComponent} from './overlay-container.component';\n\n@NgModule({\n\tdeclarations: [NgDocOverlayContainerComponent],\n\timports: [\n\t\tCommonModule,\n\t\tPolymorpheusModule,\n\t\tNgDocOverlayPointerModule,\n\t\tNgDocEventSwitcherModule,\n\t\tNgDocFocusableModule,\n\t\tNgDocFocusControlModule,\n\t\tNgDocFocusCatcherModule,\n\t],\n})\nexport class NgDocOverlayContainerModule {}\n","/**\n * Generated bundle index.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AAA,CAAA,EAAA;;2FAGZ,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAZvC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,YAAY,EAAE,CAAC,8BAA8B,CAAC;AAC9C,oBAAA,OAAO,EAAE;wBACR,YAAY;wBACZ,kBAAkB;wBAClB,yBAAyB;wBACzB,wBAAwB;wBACxB,oBAAoB;wBACpB,uBAAuB;wBACvB,uBAAuB;AACvB,qBAAA;AACD,iBAAA,CAAA;;;ACtBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-ui-kit-components-overlay-container.mjs","sources":["../../../../libs/ui-kit/components/overlay-container/overlay-container.component.ts","../../../../libs/ui-kit/components/overlay-container/overlay-container.component.html","../../../../libs/ui-kit/components/overlay-container/ng-doc-ui-kit-components-overlay-container.ts"],"sourcesContent":["import {AnimationBuilder, AnimationMetadata, AnimationPlayer} from '@angular/animations';\nimport {ConnectedOverlayPositionChange, FlexibleConnectedPositionStrategy} from '@angular/cdk/overlay';\nimport {DOCUMENT} from '@angular/common';\nimport {\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tElementRef,\n\tHostBinding,\n\tInject,\n\tNgZone,\n\tOnDestroy,\n\tOnInit,\n\tViewChild,\n} from '@angular/core';\nimport {NgDocFocusControlComponent} from '@ng-doc/ui-kit/components/focus-control';\nimport {NgDocOverlayPointerComponent} from '@ng-doc/ui-kit/components/overlay-pointer';\nimport {NgDocEventSwitcherDirective} from '@ng-doc/ui-kit/directives/event-switcher';\nimport {NgDocFocusCatcherDirective} from '@ng-doc/ui-kit/directives/focus-catcher';\nimport {toElement} from '@ng-doc/ui-kit/helpers';\nimport {NgDocOverlayConfig, NgDocOverlayContainer} from '@ng-doc/ui-kit/interfaces';\nimport {ngDocZoneOptimize} from '@ng-doc/ui-kit/observables';\nimport {\n\tNgDocContent,\n\tNgDocHorizontalAlign,\n\tNgDocOverlayAnimationEvent,\n\tNgDocOverlayPosition,\n\tNgDocOverlayRelativePosition,\n\tNgDocVerticalAlign,\n} from '@ng-doc/ui-kit/types';\nimport {NgDocFocusUtils, NgDocOverlayUtils} from '@ng-doc/ui-kit/utils';\nimport {PolymorpheusModule, PolymorpheusOutletDirective} from '@tinkoff/ng-polymorpheus';\nimport {Observable, Subject} from 'rxjs';\nimport {distinctUntilChanged} from 'rxjs/operators';\n\n@Component({\n\tselector: 'ng-doc-overlay-container',\n\ttemplateUrl: './overlay-container.component.html',\n\tstyleUrls: ['./overlay-container.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [\n\t\tNgDocOverlayPointerComponent,\n\t\tNgDocEventSwitcherDirective,\n\t\tNgDocFocusControlComponent,\n\t\tNgDocFocusCatcherDirective,\n\t\tPolymorpheusModule,\n\t],\n})\nexport class NgDocOverlayContainerComponent implements NgDocOverlayContainer, OnInit, OnDestroy {\n\t@ViewChild('contentContainer', {read: ElementRef, static: true})\n\tcontentContainer?: ElementRef<HTMLElement>;\n\n\t@ViewChild(NgDocFocusCatcherDirective)\n\tfocusCatcher?: NgDocFocusCatcherDirective;\n\n\t@ViewChild(PolymorpheusOutletDirective, {static: true})\n\toutlet?: PolymorpheusOutletDirective<object>;\n\n\t@HostBinding('attr.data-ng-doc-overlay-position')\n\trelativePosition: NgDocOverlayRelativePosition | null = null;\n\n\tconfig?: NgDocOverlayConfig;\n\tcontent: NgDocContent = '';\n\n\tprivate currentPosition?: NgDocOverlayPosition;\n\tprivate animationEvent$: Subject<NgDocOverlayAnimationEvent> = new Subject<NgDocOverlayAnimationEvent>();\n\tprivate isOpened: boolean = true;\n\n\tconstructor(\n\t\tprivate elementRef: ElementRef<HTMLElement>,\n\t\t@Inject(DOCUMENT) private documentRef: Document,\n\t\tprivate changeDetectorRef: ChangeDetectorRef,\n\t\tprivate ngZone: NgZone,\n\t\tprivate animationBuilder: AnimationBuilder,\n\t) {}\n\n\tngOnInit(): void {\n\t\tthis.runAnimation(this.config?.openAnimation || []);\n\t\tif (this.config?.positionStrategy instanceof FlexibleConnectedPositionStrategy) {\n\t\t\tthis.config.positionStrategy.positionChanges\n\t\t\t\t.pipe(\n\t\t\t\t\tdistinctUntilChanged(\n\t\t\t\t\t\t(a: ConnectedOverlayPositionChange, b: ConnectedOverlayPositionChange) =>\n\t\t\t\t\t\t\ta.connectionPair === b.connectionPair,\n\t\t\t\t\t),\n\t\t\t\t\tngDocZoneOptimize(this.ngZone),\n\t\t\t\t)\n\t\t\t\t.subscribe((change: ConnectedOverlayPositionChange) => {\n\t\t\t\t\tthis.currentPosition = NgDocOverlayUtils.getOverlayPosition(change.connectionPair);\n\t\t\t\t\tthis.relativePosition = NgDocOverlayUtils.getRelativePosition(this.currentPosition);\n\t\t\t\t\tthis.changeDetectorRef.markForCheck();\n\t\t\t\t});\n\t\t}\n\t}\n\n\t@HostBinding('attr.data-ng-doc-overlay-with-contact-border')\n\tget contactBorder(): boolean {\n\t\treturn !!this.config?.contactBorder;\n\t}\n\n\tget isFocused(): boolean {\n\t\treturn !!this.focusCatcher?.focused;\n\t}\n\n\tget animationEvent(): Observable<NgDocOverlayAnimationEvent> {\n\t\treturn this.animationEvent$.asObservable();\n\t}\n\n\tget overlayAlign(): NgDocHorizontalAlign | NgDocVerticalAlign | null {\n\t\treturn this.currentPosition\n\t\t\t? NgDocOverlayUtils.getPositionAlign(NgDocOverlayUtils.toConnectedPosition(this.currentPosition))\n\t\t\t: null;\n\t}\n\n\tclose(): void {\n\t\tif (this.isOpened) {\n\t\t\tthis.runAnimation(this.config?.closeAnimation || [], true);\n\t\t\tthis.isOpened = false;\n\t\t\tthis.changeDetectorRef.markForCheck();\n\t\t}\n\t}\n\n\tfocus(): void {\n\t\tif (this.contentContainer) {\n\t\t\tNgDocFocusUtils.focusClosestElement(toElement(this.contentContainer), toElement(this.contentContainer));\n\t\t}\n\t}\n\n\tmarkForCheck(): void {\n\t\tthis.changeDetectorRef.markForCheck();\n\t}\n\n\tprivate runAnimation(animation: AnimationMetadata[], close: boolean = false): void {\n\t\tconst player: AnimationPlayer = this.animationBuilder.build(animation).create(this.elementRef.nativeElement);\n\t\tplayer.onStart(() => this.animationEvent$.next(close ? 'beforeClose' : 'beforeOpen'));\n\t\tplayer.onDone(() => this.animationEvent$.next(close ? 'afterClose' : 'afterOpen'));\n\t\tplayer.play();\n\t}\n\n\tngOnDestroy(): void {\n\t\tif (this.isFocused && this.config && this.config.viewContainerRef) {\n\t\t\tNgDocFocusUtils.focusClosestElement(\n\t\t\t\tthis.config.viewContainerRef.element.nativeElement,\n\t\t\t\tthis.documentRef.body,\n\t\t\t\tfalse,\n\t\t\t);\n\t\t}\n\t}\n}\n","<ng-doc-overlay-pointer\n\t[overlayPosition]=\"relativePosition\"\n\t[overlayAlign]=\"overlayAlign\"\n\t[withPointer]=\"!!config?.withPointer\"\n\t[ngDocEventSwitcher]=\"config?.viewContainerRef?.element?.nativeElement ?? null\"\n\t[events]=\"['focusin', 'focusout', 'keydown', 'scroll']\"\n>\n\t<ng-doc-focus-control [focusHost]=\"this.config?.viewContainerRef?.element?.nativeElement ?? null\" ngDocFocusCatcher>\n\t\t<div class=\"ng-doc-overlay-content\" [tabIndex]=\"-1\" #contentContainer>\n\t\t\t<ng-container *polymorpheusOutlet=\"content as text;\"\n\t\t\t>{{text}}</ng-container\n\t\t\t>\n\t\t</div>\n\t</ng-doc-focus-control>\n</ng-doc-overlay-pointer>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAmCA,MAca,8BAA8B,CAAA;IAoB1C,WACS,CAAA,UAAmC,EACjB,WAAqB,EACvC,iBAAoC,EACpC,MAAc,EACd,gBAAkC,EAAA;QAJlC,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QACjB,IAAW,CAAA,WAAA,GAAX,WAAW,CAAU;QACvC,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB,CAAmB;QACpC,IAAM,CAAA,MAAA,GAAN,M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CAAA;gBAIrC,MAAM,EAAA,CAAA;sBADL,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,2BAA2B,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC,CAAA;gBAItD,gBAAgB,EAAA,CAAA;sBADf,WAAW;uBAAC,mCAAmC,CAAA;gBAsC5C,aAAa,EAAA,CAAA;sBADhB,WAAW;uBAAC,8CAA8C,CAAA;;;AEhG5D;;AAEG;;;;"}
@@ -1,7 +1,6 @@
1
+ import { NgIf } from '@angular/common';
1
2
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, Input, HostBinding, NgModule } from '@angular/core';
3
- import * as i1 from '@angular/common';
4
- import { CommonModule } from '@angular/common';
3
+ import { Component, ChangeDetectionStrategy, Input, HostBinding } from '@angular/core';
5
4
 
6
5
  class NgDocOverlayPointerComponent {
7
6
  constructor() {
@@ -10,11 +9,11 @@ class NgDocOverlayPointerComponent {
10
9
  this.withPointer = true;
11
10
  }
12
11
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocOverlayPointerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
13
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocOverlayPointerComponent, selector: "ng-doc-overlay-pointer", inputs: { overlayPosition: "overlayPosition", overlayAlign: "overlayAlign", withPointer: "withPointer" }, host: { properties: { "attr.data-ng-doc-overlay-position": "this.overlayPosition", "attr.data-ng-doc-overlay-align": "this.overlayAlign" } }, ngImport: i0, template: "<div class=\"ng-doc-overlay-pointer-wrapper\">\n\t<div class=\"ng-doc-overlay-pointer\" *ngIf=\"withPointer\">\n\t\t<div class=\"ng-doc-pointer\"></div>\n\t</div>\n\t<div class=\"ng-doc-overlay-pointer-content\">\n\t\t<ng-content></ng-content>\n\t</div>\n</div>\n", styles: [":host{display:block;height:100%}.ng-doc-overlay-pointer-wrapper{display:flex;flex-direction:column;height:100%}.ng-doc-overlay-pointer-wrapper .ng-doc-overlay-pointer{display:flex}.ng-doc-overlay-pointer-wrapper .ng-doc-overlay-pointer .ng-doc-pointer{position:relative}.ng-doc-overlay-pointer-wrapper .ng-doc-overlay-pointer .ng-doc-pointer:before{position:relative;display:block;content:\"\";width:0;height:0;border:8px solid transparent}.ng-doc-overlay-pointer-wrapper .ng-doc-overlay-pointer .ng-doc-pointer:after{position:absolute;display:block;content:\"\";width:0;height:0;border:7px solid transparent}.ng-doc-overlay-pointer-wrapper .ng-doc-overlay-pointer-content{display:flex;flex:1;height:100%}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer-wrapper,:host[data-ng-doc-overlay-position=bottom] .ng-doc-overlay-pointer-wrapper{min-width:calc(var(--ng-doc-base-gutter) * 4)}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer,:host[data-ng-doc-overlay-position=bottom] .ng-doc-overlay-pointer{justify-content:center}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer .ng-doc-pointer,:host[data-ng-doc-overlay-position=bottom] .ng-doc-overlay-pointer .ng-doc-pointer{top:1px}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer .ng-doc-pointer:before,:host[data-ng-doc-overlay-position=bottom] .ng-doc-overlay-pointer .ng-doc-pointer:before{border-bottom:8px solid;border-bottom-color:var(--ng-doc-overlay-border)}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer .ng-doc-pointer:after,:host[data-ng-doc-overlay-position=bottom] .ng-doc-overlay-pointer .ng-doc-pointer:after{top:2px;right:1px;border-bottom:7px solid;border-bottom-color:var(--ng-doc-overlay-background)}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer-wrapper{flex-direction:column-reverse}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer{transform:rotate(180deg) scaleX(-1)}:host[data-ng-doc-overlay-align=left] .ng-doc-overlay-pointer{justify-content:flex-start}:host[data-ng-doc-overlay-align=left] .ng-doc-overlay-pointer .ng-doc-pointer{margin-left:calc(var(--ng-doc-base-gutter) * 2)}:host[data-ng-doc-overlay-align=right] .ng-doc-overlay-pointer{justify-content:flex-end}:host[data-ng-doc-overlay-align=right] .ng-doc-overlay-pointer .ng-doc-pointer{margin-right:calc(var(--ng-doc-base-gutter) * 2)}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer-wrapper,:host[data-ng-doc-overlay-position=right] .ng-doc-overlay-pointer-wrapper{flex-direction:row;min-height:calc(var(--ng-doc-base-gutter) * 4)}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer,:host[data-ng-doc-overlay-position=right] .ng-doc-overlay-pointer{align-items:center}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer .ng-doc-pointer,:host[data-ng-doc-overlay-position=right] .ng-doc-overlay-pointer .ng-doc-pointer{left:1px}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer .ng-doc-pointer:before,:host[data-ng-doc-overlay-position=right] .ng-doc-overlay-pointer .ng-doc-pointer:before{border-right:8px solid var(--ng-doc-overlay-border)}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer .ng-doc-pointer:after,:host[data-ng-doc-overlay-position=right] .ng-doc-overlay-pointer .ng-doc-pointer:after{top:1px;right:0;border-right:7px solid var(--ng-doc-overlay-background)}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer-wrapper{flex-direction:row-reverse}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer{transform:rotate(180deg) scaleY(-1)}:host[data-ng-doc-overlay-align=top] .ng-doc-overlay-pointer{align-items:flex-start}:host[data-ng-doc-overlay-align=top] .ng-doc-overlay-pointer .ng-doc-pointer{margin-top:calc(var(--ng-doc-base-gutter) * 2)}:host[data-ng-doc-overlay-align=bottom] .ng-doc-overlay-pointer{align-items:flex-end}:host[data-ng-doc-overlay-align=bottom] .ng-doc-overlay-pointer .ng-doc-pointer{margin-bottom:calc(var(--ng-doc-base-gutter) * 2)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
12
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocOverlayPointerComponent, isStandalone: true, selector: "ng-doc-overlay-pointer", inputs: { overlayPosition: "overlayPosition", overlayAlign: "overlayAlign", withPointer: "withPointer" }, host: { properties: { "attr.data-ng-doc-overlay-position": "this.overlayPosition", "attr.data-ng-doc-overlay-align": "this.overlayAlign" } }, ngImport: i0, template: "<div class=\"ng-doc-overlay-pointer-wrapper\">\n\t<div class=\"ng-doc-overlay-pointer\" *ngIf=\"withPointer\">\n\t\t<div class=\"ng-doc-pointer\"></div>\n\t</div>\n\t<div class=\"ng-doc-overlay-pointer-content\">\n\t\t<ng-content></ng-content>\n\t</div>\n</div>\n", styles: [":host{display:block;height:100%}.ng-doc-overlay-pointer-wrapper{display:flex;flex-direction:column;height:100%}.ng-doc-overlay-pointer-wrapper .ng-doc-overlay-pointer{display:flex}.ng-doc-overlay-pointer-wrapper .ng-doc-overlay-pointer .ng-doc-pointer{position:relative}.ng-doc-overlay-pointer-wrapper .ng-doc-overlay-pointer .ng-doc-pointer:before{position:relative;display:block;content:\"\";width:0;height:0;border:8px solid transparent}.ng-doc-overlay-pointer-wrapper .ng-doc-overlay-pointer .ng-doc-pointer:after{position:absolute;display:block;content:\"\";width:0;height:0;border:7px solid transparent}.ng-doc-overlay-pointer-wrapper .ng-doc-overlay-pointer-content{display:flex;flex:1;height:100%}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer-wrapper,:host[data-ng-doc-overlay-position=bottom] .ng-doc-overlay-pointer-wrapper{min-width:calc(var(--ng-doc-base-gutter) * 4)}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer,:host[data-ng-doc-overlay-position=bottom] .ng-doc-overlay-pointer{justify-content:center}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer .ng-doc-pointer,:host[data-ng-doc-overlay-position=bottom] .ng-doc-overlay-pointer .ng-doc-pointer{top:1px}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer .ng-doc-pointer:before,:host[data-ng-doc-overlay-position=bottom] .ng-doc-overlay-pointer .ng-doc-pointer:before{border-bottom:8px solid;border-bottom-color:var(--ng-doc-overlay-border)}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer .ng-doc-pointer:after,:host[data-ng-doc-overlay-position=bottom] .ng-doc-overlay-pointer .ng-doc-pointer:after{top:2px;right:1px;border-bottom:7px solid;border-bottom-color:var(--ng-doc-overlay-background)}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer-wrapper{flex-direction:column-reverse}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer{transform:rotate(180deg) scaleX(-1)}:host[data-ng-doc-overlay-align=left] .ng-doc-overlay-pointer{justify-content:flex-start}:host[data-ng-doc-overlay-align=left] .ng-doc-overlay-pointer .ng-doc-pointer{margin-left:calc(var(--ng-doc-base-gutter) * 2)}:host[data-ng-doc-overlay-align=right] .ng-doc-overlay-pointer{justify-content:flex-end}:host[data-ng-doc-overlay-align=right] .ng-doc-overlay-pointer .ng-doc-pointer{margin-right:calc(var(--ng-doc-base-gutter) * 2)}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer-wrapper,:host[data-ng-doc-overlay-position=right] .ng-doc-overlay-pointer-wrapper{flex-direction:row;min-height:calc(var(--ng-doc-base-gutter) * 4)}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer,:host[data-ng-doc-overlay-position=right] .ng-doc-overlay-pointer{align-items:center}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer .ng-doc-pointer,:host[data-ng-doc-overlay-position=right] .ng-doc-overlay-pointer .ng-doc-pointer{left:1px}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer .ng-doc-pointer:before,:host[data-ng-doc-overlay-position=right] .ng-doc-overlay-pointer .ng-doc-pointer:before{border-right:8px solid var(--ng-doc-overlay-border)}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer .ng-doc-pointer:after,:host[data-ng-doc-overlay-position=right] .ng-doc-overlay-pointer .ng-doc-pointer:after{top:1px;right:0;border-right:7px solid var(--ng-doc-overlay-background)}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer-wrapper{flex-direction:row-reverse}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer{transform:rotate(180deg) scaleY(-1)}:host[data-ng-doc-overlay-align=top] .ng-doc-overlay-pointer{align-items:flex-start}:host[data-ng-doc-overlay-align=top] .ng-doc-overlay-pointer .ng-doc-pointer{margin-top:calc(var(--ng-doc-base-gutter) * 2)}:host[data-ng-doc-overlay-align=bottom] .ng-doc-overlay-pointer{align-items:flex-end}:host[data-ng-doc-overlay-align=bottom] .ng-doc-overlay-pointer .ng-doc-pointer{margin-bottom:calc(var(--ng-doc-base-gutter) * 2)}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
14
13
  }
15
14
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocOverlayPointerComponent, decorators: [{
16
15
  type: Component,
17
- args: [{ selector: 'ng-doc-overlay-pointer', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"ng-doc-overlay-pointer-wrapper\">\n\t<div class=\"ng-doc-overlay-pointer\" *ngIf=\"withPointer\">\n\t\t<div class=\"ng-doc-pointer\"></div>\n\t</div>\n\t<div class=\"ng-doc-overlay-pointer-content\">\n\t\t<ng-content></ng-content>\n\t</div>\n</div>\n", styles: [":host{display:block;height:100%}.ng-doc-overlay-pointer-wrapper{display:flex;flex-direction:column;height:100%}.ng-doc-overlay-pointer-wrapper .ng-doc-overlay-pointer{display:flex}.ng-doc-overlay-pointer-wrapper .ng-doc-overlay-pointer .ng-doc-pointer{position:relative}.ng-doc-overlay-pointer-wrapper .ng-doc-overlay-pointer .ng-doc-pointer:before{position:relative;display:block;content:\"\";width:0;height:0;border:8px solid transparent}.ng-doc-overlay-pointer-wrapper .ng-doc-overlay-pointer .ng-doc-pointer:after{position:absolute;display:block;content:\"\";width:0;height:0;border:7px solid transparent}.ng-doc-overlay-pointer-wrapper .ng-doc-overlay-pointer-content{display:flex;flex:1;height:100%}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer-wrapper,:host[data-ng-doc-overlay-position=bottom] .ng-doc-overlay-pointer-wrapper{min-width:calc(var(--ng-doc-base-gutter) * 4)}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer,:host[data-ng-doc-overlay-position=bottom] .ng-doc-overlay-pointer{justify-content:center}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer .ng-doc-pointer,:host[data-ng-doc-overlay-position=bottom] .ng-doc-overlay-pointer .ng-doc-pointer{top:1px}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer .ng-doc-pointer:before,:host[data-ng-doc-overlay-position=bottom] .ng-doc-overlay-pointer .ng-doc-pointer:before{border-bottom:8px solid;border-bottom-color:var(--ng-doc-overlay-border)}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer .ng-doc-pointer:after,:host[data-ng-doc-overlay-position=bottom] .ng-doc-overlay-pointer .ng-doc-pointer:after{top:2px;right:1px;border-bottom:7px solid;border-bottom-color:var(--ng-doc-overlay-background)}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer-wrapper{flex-direction:column-reverse}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer{transform:rotate(180deg) scaleX(-1)}:host[data-ng-doc-overlay-align=left] .ng-doc-overlay-pointer{justify-content:flex-start}:host[data-ng-doc-overlay-align=left] .ng-doc-overlay-pointer .ng-doc-pointer{margin-left:calc(var(--ng-doc-base-gutter) * 2)}:host[data-ng-doc-overlay-align=right] .ng-doc-overlay-pointer{justify-content:flex-end}:host[data-ng-doc-overlay-align=right] .ng-doc-overlay-pointer .ng-doc-pointer{margin-right:calc(var(--ng-doc-base-gutter) * 2)}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer-wrapper,:host[data-ng-doc-overlay-position=right] .ng-doc-overlay-pointer-wrapper{flex-direction:row;min-height:calc(var(--ng-doc-base-gutter) * 4)}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer,:host[data-ng-doc-overlay-position=right] .ng-doc-overlay-pointer{align-items:center}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer .ng-doc-pointer,:host[data-ng-doc-overlay-position=right] .ng-doc-overlay-pointer .ng-doc-pointer{left:1px}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer .ng-doc-pointer:before,:host[data-ng-doc-overlay-position=right] .ng-doc-overlay-pointer .ng-doc-pointer:before{border-right:8px solid var(--ng-doc-overlay-border)}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer .ng-doc-pointer:after,:host[data-ng-doc-overlay-position=right] .ng-doc-overlay-pointer .ng-doc-pointer:after{top:1px;right:0;border-right:7px solid var(--ng-doc-overlay-background)}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer-wrapper{flex-direction:row-reverse}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer{transform:rotate(180deg) scaleY(-1)}:host[data-ng-doc-overlay-align=top] .ng-doc-overlay-pointer{align-items:flex-start}:host[data-ng-doc-overlay-align=top] .ng-doc-overlay-pointer .ng-doc-pointer{margin-top:calc(var(--ng-doc-base-gutter) * 2)}:host[data-ng-doc-overlay-align=bottom] .ng-doc-overlay-pointer{align-items:flex-end}:host[data-ng-doc-overlay-align=bottom] .ng-doc-overlay-pointer .ng-doc-pointer{margin-bottom:calc(var(--ng-doc-base-gutter) * 2)}\n"] }]
16
+ args: [{ selector: 'ng-doc-overlay-pointer', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgIf], template: "<div class=\"ng-doc-overlay-pointer-wrapper\">\n\t<div class=\"ng-doc-overlay-pointer\" *ngIf=\"withPointer\">\n\t\t<div class=\"ng-doc-pointer\"></div>\n\t</div>\n\t<div class=\"ng-doc-overlay-pointer-content\">\n\t\t<ng-content></ng-content>\n\t</div>\n</div>\n", styles: [":host{display:block;height:100%}.ng-doc-overlay-pointer-wrapper{display:flex;flex-direction:column;height:100%}.ng-doc-overlay-pointer-wrapper .ng-doc-overlay-pointer{display:flex}.ng-doc-overlay-pointer-wrapper .ng-doc-overlay-pointer .ng-doc-pointer{position:relative}.ng-doc-overlay-pointer-wrapper .ng-doc-overlay-pointer .ng-doc-pointer:before{position:relative;display:block;content:\"\";width:0;height:0;border:8px solid transparent}.ng-doc-overlay-pointer-wrapper .ng-doc-overlay-pointer .ng-doc-pointer:after{position:absolute;display:block;content:\"\";width:0;height:0;border:7px solid transparent}.ng-doc-overlay-pointer-wrapper .ng-doc-overlay-pointer-content{display:flex;flex:1;height:100%}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer-wrapper,:host[data-ng-doc-overlay-position=bottom] .ng-doc-overlay-pointer-wrapper{min-width:calc(var(--ng-doc-base-gutter) * 4)}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer,:host[data-ng-doc-overlay-position=bottom] .ng-doc-overlay-pointer{justify-content:center}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer .ng-doc-pointer,:host[data-ng-doc-overlay-position=bottom] .ng-doc-overlay-pointer .ng-doc-pointer{top:1px}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer .ng-doc-pointer:before,:host[data-ng-doc-overlay-position=bottom] .ng-doc-overlay-pointer .ng-doc-pointer:before{border-bottom:8px solid;border-bottom-color:var(--ng-doc-overlay-border)}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer .ng-doc-pointer:after,:host[data-ng-doc-overlay-position=bottom] .ng-doc-overlay-pointer .ng-doc-pointer:after{top:2px;right:1px;border-bottom:7px solid;border-bottom-color:var(--ng-doc-overlay-background)}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer-wrapper{flex-direction:column-reverse}:host[data-ng-doc-overlay-position=top] .ng-doc-overlay-pointer{transform:rotate(180deg) scaleX(-1)}:host[data-ng-doc-overlay-align=left] .ng-doc-overlay-pointer{justify-content:flex-start}:host[data-ng-doc-overlay-align=left] .ng-doc-overlay-pointer .ng-doc-pointer{margin-left:calc(var(--ng-doc-base-gutter) * 2)}:host[data-ng-doc-overlay-align=right] .ng-doc-overlay-pointer{justify-content:flex-end}:host[data-ng-doc-overlay-align=right] .ng-doc-overlay-pointer .ng-doc-pointer{margin-right:calc(var(--ng-doc-base-gutter) * 2)}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer-wrapper,:host[data-ng-doc-overlay-position=right] .ng-doc-overlay-pointer-wrapper{flex-direction:row;min-height:calc(var(--ng-doc-base-gutter) * 4)}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer,:host[data-ng-doc-overlay-position=right] .ng-doc-overlay-pointer{align-items:center}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer .ng-doc-pointer,:host[data-ng-doc-overlay-position=right] .ng-doc-overlay-pointer .ng-doc-pointer{left:1px}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer .ng-doc-pointer:before,:host[data-ng-doc-overlay-position=right] .ng-doc-overlay-pointer .ng-doc-pointer:before{border-right:8px solid var(--ng-doc-overlay-border)}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer .ng-doc-pointer:after,:host[data-ng-doc-overlay-position=right] .ng-doc-overlay-pointer .ng-doc-pointer:after{top:1px;right:0;border-right:7px solid var(--ng-doc-overlay-background)}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer-wrapper{flex-direction:row-reverse}:host[data-ng-doc-overlay-position=left] .ng-doc-overlay-pointer{transform:rotate(180deg) scaleY(-1)}:host[data-ng-doc-overlay-align=top] .ng-doc-overlay-pointer{align-items:flex-start}:host[data-ng-doc-overlay-align=top] .ng-doc-overlay-pointer .ng-doc-pointer{margin-top:calc(var(--ng-doc-base-gutter) * 2)}:host[data-ng-doc-overlay-align=bottom] .ng-doc-overlay-pointer{align-items:flex-end}:host[data-ng-doc-overlay-align=bottom] .ng-doc-overlay-pointer .ng-doc-pointer{margin-bottom:calc(var(--ng-doc-base-gutter) * 2)}\n"] }]
18
17
  }], propDecorators: { overlayPosition: [{
19
18
  type: Input
20
19
  }, {
@@ -29,23 +28,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
29
28
  type: Input
30
29
  }] } });
31
30
 
32
- class NgDocOverlayPointerModule {
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocOverlayPointerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
34
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocOverlayPointerModule, declarations: [NgDocOverlayPointerComponent], imports: [CommonModule], exports: [NgDocOverlayPointerComponent] }); }
35
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocOverlayPointerModule, imports: [CommonModule] }); }
36
- }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocOverlayPointerModule, decorators: [{
38
- type: NgModule,
39
- args: [{
40
- declarations: [NgDocOverlayPointerComponent],
41
- exports: [NgDocOverlayPointerComponent],
42
- imports: [CommonModule],
43
- }]
44
- }] });
45
-
46
31
  /**
47
32
  * Generated bundle index. Do not edit.
48
33
  */
49
34
 
50
- export { NgDocOverlayPointerComponent, NgDocOverlayPointerModule };
35
+ export { NgDocOverlayPointerComponent };
51
36
  //# sourceMappingURL=ng-doc-ui-kit-components-overlay-pointer.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-ui-kit-components-overlay-pointer.mjs","sources":["../../../../libs/ui-kit/components/overlay-pointer/overlay-pointer.component.ts","../../../../libs/ui-kit/components/overlay-pointer/overlay-pointer.component.html","../../../../libs/ui-kit/components/overlay-pointer/overlay-pointer.module.ts","../../../../libs/ui-kit/components/overlay-pointer/ng-doc-ui-kit-components-overlay-pointer.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, HostBinding, Input} from '@angular/core';\nimport {NgDocHorizontalAlign, NgDocOverlayRelativePosition, NgDocVerticalAlign} from '@ng-doc/ui-kit/types';\n\n@Component({\n\tselector: 'ng-doc-overlay-pointer',\n\ttemplateUrl: './overlay-pointer.component.html',\n\tstyleUrls: ['./overlay-pointer.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NgDocOverlayPointerComponent {\n\t@Input()\n\t@HostBinding('attr.data-ng-doc-overlay-position')\n\toverlayPosition: NgDocOverlayRelativePosition | null = null;\n\n\t@Input()\n\t@HostBinding('attr.data-ng-doc-overlay-align')\n\toverlayAlign: NgDocHorizontalAlign | NgDocVerticalAlign | null = null;\n\n\t@Input()\n\twithPointer: boolean = true;\n}\n","<div class=\"ng-doc-overlay-pointer-wrapper\">\n\t<div class=\"ng-doc-overlay-pointer\" *ngIf=\"withPointer\">\n\t\t<div class=\"ng-doc-pointer\"></div>\n\t</div>\n\t<div class=\"ng-doc-overlay-pointer-content\">\n\t\t<ng-content></ng-content>\n\t</div>\n</div>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\nimport {NgDocOverlayPointerComponent} from './overlay-pointer.component';\n\n@NgModule({\n\tdeclarations: [NgDocOverlayPointerComponent],\n\texports: [NgDocOverlayPointerComponent],\n\timports: [CommonModule],\n})\nexport class NgDocOverlayPointerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],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A,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAzB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,yBAAyB,EAJtB,YAAA,EAAA,CAAA,4BAA4B,CAEjC,EAAA,OAAA,EAAA,CAAA,YAAY,aADZ,4BAA4B,CAAA,EAAA,CAAA,CAAA,EAAA;AAG1B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,yBAAyB,YAF3B,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAEV,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBALrC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,YAAY,EAAE,CAAC,4BAA4B,CAAC;oBAC5C,OAAO,EAAE,CAAC,4BAA4B,CAAC;oBACvC,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-ui-kit-components-overlay-pointer.mjs","sources":["../../../../libs/ui-kit/components/overlay-pointer/overlay-pointer.component.ts","../../../../libs/ui-kit/components/overlay-pointer/overlay-pointer.component.html","../../../../libs/ui-kit/components/overlay-pointer/ng-doc-ui-kit-components-overlay-pointer.ts"],"sourcesContent":["import {NgIf} from '@angular/common';\nimport {ChangeDetectionStrategy, Component, HostBinding, Input} from '@angular/core';\nimport {NgDocHorizontalAlign, NgDocOverlayRelativePosition, NgDocVerticalAlign} from '@ng-doc/ui-kit/types';\n\n@Component({\n\tselector: 'ng-doc-overlay-pointer',\n\ttemplateUrl: './overlay-pointer.component.html',\n\tstyleUrls: ['./overlay-pointer.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [NgIf],\n})\nexport class NgDocOverlayPointerComponent {\n\t@Input()\n\t@HostBinding('attr.data-ng-doc-overlay-position')\n\toverlayPosition: NgDocOverlayRelativePosition | null = null;\n\n\t@Input()\n\t@HostBinding('attr.data-ng-doc-overlay-align')\n\toverlayAlign: NgDocHorizontalAlign | NgDocVerticalAlign | null = null;\n\n\t@Input()\n\twithPointer: boolean = true;\n}\n","<div class=\"ng-doc-overlay-pointer-wrapper\">\n\t<div class=\"ng-doc-overlay-pointer\" *ngIf=\"withPointer\">\n\t\t<div class=\"ng-doc-pointer\"></div>\n\t</div>\n\t<div class=\"ng-doc-overlay-pointer-content\">\n\t\t<ng-content></ng-content>\n\t</div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAIA,MAQa,4BAA4B,CAAA;AARzC,IAAA,WAAA,GAAA;QAWC,IAAe,CAAA,eAAA,GAAwC,IAAI,CAAC;QAI5D,IAAY,CAAA,YAAA,GAAqD,IAAI,CAAC;QAGtE,IAAW,CAAA,WAAA,GAAY,IAAI,CAAC;AAC5B,KAAA;8GAXY,4BAA4B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA5B,4BAA4B,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,wBAAA,EAAA,MAAA,EAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,YAAA,EAAA,cAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,mCAAA,EAAA,sBAAA,EAAA,gCAAA,EAAA,mBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECZzC,yQAQA,EAAA,MAAA,EAAA,CAAA,+6HAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EDEW,IAAI,EAAA,QAAA,EAAA,QAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,UAAA,EAAA,UAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAEF,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBARxC,SAAS;+BACC,wBAAwB,EAAA,eAAA,EAGjB,uBAAuB,CAAC,MAAM,cACnC,IAAI,EAAA,OAAA,EACP,CAAC,IAAI,CAAC,EAAA,QAAA,EAAA,yQAAA,EAAA,MAAA,EAAA,CAAA,+6HAAA,CAAA,EAAA,CAAA;8BAKf,eAAe,EAAA,CAAA;sBAFd,KAAK;;sBACL,WAAW;uBAAC,mCAAmC,CAAA;gBAKhD,YAAY,EAAA,CAAA;sBAFX,KAAK;;sBACL,WAAW;uBAAC,gCAAgC,CAAA;gBAI7C,WAAW,EAAA,CAAA;sBADV,KAAK;;;AErBP;;AAEG;;;;"}
@@ -1,7 +1,7 @@
1
1
  import { __decorate, __metadata } from 'tslib';
2
- import { DOCUMENT, CommonModule } from '@angular/common';
2
+ import { DOCUMENT } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { Directive, ChangeDetectorRef, ElementRef, NgZone, Component, ChangeDetectionStrategy, Inject, Input, ViewChild, HostBinding, NgModule } from '@angular/core';
4
+ import { Directive, ChangeDetectorRef, ElementRef, NgZone, Component, ChangeDetectionStrategy, Inject, Input, ViewChild, HostBinding } from '@angular/core';
5
5
  import { ngDocZoneOptimize } from '@ng-doc/ui-kit/observables';
6
6
  import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
7
7
  import { fromEvent, merge } from 'rxjs';
@@ -9,22 +9,24 @@ import { tap, map, pairwise, switchMap, takeUntil, take, filter, debounceTime }
9
9
 
10
10
  class NgDocPaneFrontDirective {
11
11
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPaneFrontDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
12
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocPaneFrontDirective, selector: "[ngDocPaneFront]", ngImport: i0 }); }
12
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocPaneFrontDirective, isStandalone: true, selector: "[ngDocPaneFront]", ngImport: i0 }); }
13
13
  }
14
14
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPaneFrontDirective, decorators: [{
15
15
  type: Directive,
16
16
  args: [{
17
17
  selector: '[ngDocPaneFront]',
18
+ standalone: true,
18
19
  }]
19
20
  }] });
20
21
  class NgDocPaneBackDirective {
21
22
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPaneBackDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
22
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocPaneBackDirective, selector: "[ngDocPaneBack]", ngImport: i0 }); }
23
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0", type: NgDocPaneBackDirective, isStandalone: true, selector: "[ngDocPaneBack]", ngImport: i0 }); }
23
24
  }
24
25
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPaneBackDirective, decorators: [{
25
26
  type: Directive,
26
27
  args: [{
27
28
  selector: '[ngDocPaneBack]',
29
+ standalone: true,
28
30
  }]
29
31
  }] });
30
32
  let NgDocPaneComponent = class NgDocPaneComponent {
@@ -89,7 +91,7 @@ let NgDocPaneComponent = class NgDocPaneComponent {
89
91
  }
90
92
  }
91
93
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPaneComponent, deps: [{ token: DOCUMENT }, { token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
92
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocPaneComponent, selector: "ng-doc-pane", inputs: { expanded: "expanded" }, host: { properties: { "attr.data-ng-doc-dragging": "this.dragging" } }, viewQueries: [{ propertyName: "resizer", first: true, predicate: ["resizer"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"ng-doc-pane-back\" [style.width]=\"width\">\n\t<div class=\"ng-doc-pane-content\">\n\t\t<ng-content select=\"[ngDocPaneBack]\"></ng-content>\n\t</div>\n</div>\n<div class=\"ng-doc-pane-resizer\" #resizer></div>\n<div class=\"ng-doc-pane-front\">\n\t<div class=\"ng-doc-pane-content\">\n\t\t<ng-content select=\"[ngDocPaneFront]\"></ng-content>\n\t</div>\n</div>\n", styles: [":host{position:relative;display:flex;width:100%;border-radius:var(--ng-doc-base-gutter);overflow:hidden}:host[data-ng-doc-dragging=false] .ng-doc-pane-back{transition:var(--ng-doc-transition) width}:host .ng-doc-pane-front{position:relative;display:flex;width:100%;background-color:var(--ng-doc-pane-front-background, var(--ng-doc-pane-background, var(--ng-doc-base-1)));overflow:hidden;border-top-right-radius:var(--ng-doc-base-gutter);border-bottom-right-radius:var(--ng-doc-base-gutter);border:var(--ng-doc-pane-front-border, var(--ng-doc-pane-border))}:host .ng-doc-pane-back{position:relative;display:flex;flex-shrink:0;width:100%;background-color:var(--ng-doc-pane-back-background, var(--ng-doc-pane-background, var(--ng-doc-base-1)));overflow:hidden;border-top-left-radius:var(--ng-doc-base-gutter);border-bottom-left-radius:var(--ng-doc-base-gutter);border:var(--ng-doc-pane-back-border, var(--ng-doc-pane-border))}:host .ng-doc-pane-resizer{position:relative;flex-shrink:0;transform:translateZ(0);background-color:var(--ng-doc-base-3);width:16px;display:block;cursor:ew-resize}:host .ng-doc-pane-resizer:after{content:\"\";display:flex;background:var(--ng-doc-base-11);border-radius:50px;position:absolute;width:4px;height:20%;margin-left:6px;top:50%;transform:translateY(-50%);opacity:1;transition:var(--ng-doc-transition) height}:host .ng-doc-pane-content{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:100%;height:100%;min-width:var(--ng-doc-pane-content-min-width, 200px)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
94
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocPaneComponent, isStandalone: true, selector: "ng-doc-pane", inputs: { expanded: "expanded" }, host: { properties: { "attr.data-ng-doc-dragging": "this.dragging" } }, viewQueries: [{ propertyName: "resizer", first: true, predicate: ["resizer"], descendants: true, static: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"ng-doc-pane-back\" [style.width]=\"width\">\n\t<div class=\"ng-doc-pane-content\">\n\t\t<ng-content select=\"[ngDocPaneBack]\"></ng-content>\n\t</div>\n</div>\n<div class=\"ng-doc-pane-resizer\" #resizer></div>\n<div class=\"ng-doc-pane-front\">\n\t<div class=\"ng-doc-pane-content\">\n\t\t<ng-content select=\"[ngDocPaneFront]\"></ng-content>\n\t</div>\n</div>\n", styles: [":host{position:relative;display:flex;width:100%;border-radius:var(--ng-doc-base-gutter);overflow:hidden}:host[data-ng-doc-dragging=false] .ng-doc-pane-back{transition:var(--ng-doc-transition) width}:host .ng-doc-pane-front{position:relative;display:flex;width:100%;background-color:var(--ng-doc-pane-front-background, var(--ng-doc-pane-background, var(--ng-doc-base-1)));overflow:hidden;border-top-right-radius:var(--ng-doc-base-gutter);border-bottom-right-radius:var(--ng-doc-base-gutter);border:var(--ng-doc-pane-front-border, var(--ng-doc-pane-border))}:host .ng-doc-pane-back{position:relative;display:flex;flex-shrink:0;width:100%;background-color:var(--ng-doc-pane-back-background, var(--ng-doc-pane-background, var(--ng-doc-base-1)));overflow:hidden;border-top-left-radius:var(--ng-doc-base-gutter);border-bottom-left-radius:var(--ng-doc-base-gutter);border:var(--ng-doc-pane-back-border, var(--ng-doc-pane-border))}:host .ng-doc-pane-resizer{position:relative;flex-shrink:0;transform:translateZ(0);background-color:var(--ng-doc-base-3);width:16px;display:block;cursor:ew-resize}:host .ng-doc-pane-resizer:after{content:\"\";display:flex;background:var(--ng-doc-base-11);border-radius:50px;position:absolute;width:4px;height:20%;margin-left:6px;top:50%;transform:translateY(-50%);opacity:1;transition:var(--ng-doc-transition) height}:host .ng-doc-pane-content{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:100%;height:100%;min-width:var(--ng-doc-pane-content-min-width, 200px)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
93
95
  };
94
96
  NgDocPaneComponent = __decorate([
95
97
  UntilDestroy(),
@@ -100,7 +102,7 @@ NgDocPaneComponent = __decorate([
100
102
  ], NgDocPaneComponent);
101
103
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPaneComponent, decorators: [{
102
104
  type: Component,
103
- args: [{ selector: 'ng-doc-pane', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"ng-doc-pane-back\" [style.width]=\"width\">\n\t<div class=\"ng-doc-pane-content\">\n\t\t<ng-content select=\"[ngDocPaneBack]\"></ng-content>\n\t</div>\n</div>\n<div class=\"ng-doc-pane-resizer\" #resizer></div>\n<div class=\"ng-doc-pane-front\">\n\t<div class=\"ng-doc-pane-content\">\n\t\t<ng-content select=\"[ngDocPaneFront]\"></ng-content>\n\t</div>\n</div>\n", styles: [":host{position:relative;display:flex;width:100%;border-radius:var(--ng-doc-base-gutter);overflow:hidden}:host[data-ng-doc-dragging=false] .ng-doc-pane-back{transition:var(--ng-doc-transition) width}:host .ng-doc-pane-front{position:relative;display:flex;width:100%;background-color:var(--ng-doc-pane-front-background, var(--ng-doc-pane-background, var(--ng-doc-base-1)));overflow:hidden;border-top-right-radius:var(--ng-doc-base-gutter);border-bottom-right-radius:var(--ng-doc-base-gutter);border:var(--ng-doc-pane-front-border, var(--ng-doc-pane-border))}:host .ng-doc-pane-back{position:relative;display:flex;flex-shrink:0;width:100%;background-color:var(--ng-doc-pane-back-background, var(--ng-doc-pane-background, var(--ng-doc-base-1)));overflow:hidden;border-top-left-radius:var(--ng-doc-base-gutter);border-bottom-left-radius:var(--ng-doc-base-gutter);border:var(--ng-doc-pane-back-border, var(--ng-doc-pane-border))}:host .ng-doc-pane-resizer{position:relative;flex-shrink:0;transform:translateZ(0);background-color:var(--ng-doc-base-3);width:16px;display:block;cursor:ew-resize}:host .ng-doc-pane-resizer:after{content:\"\";display:flex;background:var(--ng-doc-base-11);border-radius:50px;position:absolute;width:4px;height:20%;margin-left:6px;top:50%;transform:translateY(-50%);opacity:1;transition:var(--ng-doc-transition) height}:host .ng-doc-pane-content{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:100%;height:100%;min-width:var(--ng-doc-pane-content-min-width, 200px)}\n"] }]
105
+ args: [{ selector: 'ng-doc-pane', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<div class=\"ng-doc-pane-back\" [style.width]=\"width\">\n\t<div class=\"ng-doc-pane-content\">\n\t\t<ng-content select=\"[ngDocPaneBack]\"></ng-content>\n\t</div>\n</div>\n<div class=\"ng-doc-pane-resizer\" #resizer></div>\n<div class=\"ng-doc-pane-front\">\n\t<div class=\"ng-doc-pane-content\">\n\t\t<ng-content select=\"[ngDocPaneFront]\"></ng-content>\n\t</div>\n</div>\n", styles: [":host{position:relative;display:flex;width:100%;border-radius:var(--ng-doc-base-gutter);overflow:hidden}:host[data-ng-doc-dragging=false] .ng-doc-pane-back{transition:var(--ng-doc-transition) width}:host .ng-doc-pane-front{position:relative;display:flex;width:100%;background-color:var(--ng-doc-pane-front-background, var(--ng-doc-pane-background, var(--ng-doc-base-1)));overflow:hidden;border-top-right-radius:var(--ng-doc-base-gutter);border-bottom-right-radius:var(--ng-doc-base-gutter);border:var(--ng-doc-pane-front-border, var(--ng-doc-pane-border))}:host .ng-doc-pane-back{position:relative;display:flex;flex-shrink:0;width:100%;background-color:var(--ng-doc-pane-back-background, var(--ng-doc-pane-background, var(--ng-doc-base-1)));overflow:hidden;border-top-left-radius:var(--ng-doc-base-gutter);border-bottom-left-radius:var(--ng-doc-base-gutter);border:var(--ng-doc-pane-back-border, var(--ng-doc-pane-border))}:host .ng-doc-pane-resizer{position:relative;flex-shrink:0;transform:translateZ(0);background-color:var(--ng-doc-base-3);width:16px;display:block;cursor:ew-resize}:host .ng-doc-pane-resizer:after{content:\"\";display:flex;background:var(--ng-doc-base-11);border-radius:50px;position:absolute;width:4px;height:20%;margin-left:6px;top:50%;transform:translateY(-50%);opacity:1;transition:var(--ng-doc-transition) height}:host .ng-doc-pane-content{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:100%;height:100%;min-width:var(--ng-doc-pane-content-min-width, 200px)}\n"] }]
104
106
  }], ctorParameters: function () { return [{ type: Document, decorators: [{
105
107
  type: Inject,
106
108
  args: [DOCUMENT]
@@ -114,23 +116,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
114
116
  args: ['attr.data-ng-doc-dragging']
115
117
  }] } });
116
118
 
117
- class NgDocPaneModule {
118
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPaneModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
119
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocPaneModule, declarations: [NgDocPaneComponent, NgDocPaneFrontDirective, NgDocPaneBackDirective], imports: [CommonModule], exports: [NgDocPaneComponent, NgDocPaneFrontDirective, NgDocPaneBackDirective] }); }
120
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPaneModule, imports: [CommonModule] }); }
121
- }
122
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocPaneModule, decorators: [{
123
- type: NgModule,
124
- args: [{
125
- declarations: [NgDocPaneComponent, NgDocPaneFrontDirective, NgDocPaneBackDirective],
126
- imports: [CommonModule],
127
- exports: [NgDocPaneComponent, NgDocPaneFrontDirective, NgDocPaneBackDirective],
128
- }]
129
- }] });
130
-
131
119
  /**
132
120
  * Generated bundle index. Do not edit.
133
121
  */
134
122
 
135
- export { NgDocPaneBackDirective, NgDocPaneComponent, NgDocPaneFrontDirective, NgDocPaneModule };
123
+ export { NgDocPaneBackDirective, NgDocPaneComponent, NgDocPaneFrontDirective };
136
124
  //# sourceMappingURL=ng-doc-ui-kit-components-pane.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-ui-kit-components-pane.mjs","sources":["../../../../libs/ui-kit/components/pane/pane.component.ts","../../../../libs/ui-kit/components/pane/pane.component.html","../../../../libs/ui-kit/components/pane/pane.module.ts","../../../../libs/ui-kit/components/pane/ng-doc-ui-kit-components-pane.ts"],"sourcesContent":["import {DOCUMENT} from '@angular/common';\nimport {\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tDirective,\n\tElementRef,\n\tHostBinding,\n\tInject,\n\tInput,\n\tNgZone,\n\tOnChanges,\n\tOnInit,\n\tSimpleChanges,\n\tViewChild,\n} from '@angular/core';\nimport {ngDocZoneOptimize} from '@ng-doc/ui-kit/observables';\nimport {UntilDestroy, untilDestroyed} from '@ngneat/until-destroy';\nimport {fromEvent, merge, Observable} from 'rxjs';\nimport {debounceTime, filter, map, pairwise, switchMap, take, takeUntil, tap} from 'rxjs/operators';\n\n@Directive({\n\tselector: '[ngDocPaneFront]',\n})\nexport class NgDocPaneFrontDirective {}\n\n@Directive({\n\tselector: '[ngDocPaneBack]',\n})\nexport class NgDocPaneBackDirective {}\n\n@Component({\n\tselector: 'ng-doc-pane',\n\ttemplateUrl: './pane.component.html',\n\tstyleUrls: ['./pane.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\n@UntilDestroy()\nexport class NgDocPaneComponent implements OnChanges, OnInit {\n\t@Input()\n\texpanded: boolean = false;\n\n\t@ViewChild('resizer', {static: true})\n\tresizer?: ElementRef<HTMLElement>;\n\n\twidth: string = '0%';\n\n\t@HostBinding('attr.data-ng-doc-dragging')\n\tdragging: boolean = false;\n\n\tconstructor(\n\t\t@Inject(DOCUMENT)\n\t\tprivate readonly document: Document,\n\t\tprivate readonly changeDetectorRef: ChangeDetectorRef,\n\t\tprivate readonly elementRef: ElementRef<HTMLElement>,\n\t\tprivate readonly ngZone: NgZone,\n\t) {}\n\n\tngOnInit(): void {\n\t\tif (this.resizer) {\n\t\t\tconst mouseDown$ = fromEvent(this.resizer.nativeElement, 'mousedown').pipe(\n\t\t\t\ttap(() => {\n\t\t\t\t\tthis.dragging = true;\n\t\t\t\t\tthis.changeDetectorRef.markForCheck();\n\t\t\t\t}),\n\t\t\t);\n\n\t\t\tconst mouseUp$ = fromEvent(this.document, 'mouseup').pipe(\n\t\t\t\ttap(() => {\n\t\t\t\t\tthis.dragging = false;\n\t\t\t\t\tthis.changeDetectorRef.markForCheck();\n\t\t\t\t}),\n\t\t\t);\n\n\t\t\tconst mouseMove$ = (fromEvent(this.document, 'mousemove') as Observable<MouseEvent>).pipe(\n\t\t\t\tmap((event: MouseEvent) => event.clientX),\n\t\t\t\tpairwise(),\n\t\t\t\tmap(([prev, next]: [number, number]) => next - prev),\n\t\t\t);\n\n\t\t\tmouseDown$\n\t\t\t\t.pipe(\n\t\t\t\t\tswitchMap(() => {\n\t\t\t\t\t\tconst dragEvent$ = mouseMove$.pipe(takeUntil(mouseUp$));\n\n\t\t\t\t\t\tconst clickEvent$ = mouseUp$.pipe(\n\t\t\t\t\t\t\tmap(() => null),\n\t\t\t\t\t\t\ttakeUntil(mouseMove$),\n\t\t\t\t\t\t\ttake(1),\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\treturn merge(dragEvent$, clickEvent$);\n\t\t\t\t\t}),\n\t\t\t\t\tfilter((delta: number | null) => delta !== 0),\n\t\t\t\t\tngDocZoneOptimize(this.ngZone),\n\t\t\t\t\tuntilDestroyed(this),\n\t\t\t\t)\n\t\t\t\t.subscribe((delta: number | null) => {\n\t\t\t\t\tdelta === null ? this.toggle() : this.addDelta(delta);\n\t\t\t\t});\n\t\t}\n\n\t\tfromEvent(window, 'resize')\n\t\t\t.pipe(debounceTime(100), untilDestroyed(this), ngDocZoneOptimize(this.ngZone))\n\t\t\t.subscribe(() => this.addDelta(0));\n\n\t\tthis.addDelta(0);\n\t}\n\n\tngOnChanges({expanded}: SimpleChanges): void {\n\t\tif (expanded) {\n\t\t\texpanded.currentValue\n\t\t\t\t? this.addDelta(this.elementRef.nativeElement.offsetWidth)\n\t\t\t\t: this.addDelta(-this.elementRef.nativeElement.offsetWidth);\n\t\t}\n\t}\n\n\ttoggle(): void {\n\t\tif (this.resizer) {\n\t\t\tconst middle = this.elementRef.nativeElement.offsetWidth / 2;\n\n\t\t\tif (this.resizer.nativeElement.offsetLeft < middle) {\n\t\t\t\tthis.addDelta(this.elementRef.nativeElement.offsetWidth);\n\t\t\t} else {\n\t\t\t\tthis.addDelta(-this.elementRef.nativeElement.offsetWidth);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate addDelta(delta: number): void {\n\t\tif (this.resizer) {\n\t\t\tconst maxWidth = this.elementRef.nativeElement.offsetWidth - this.resizer.nativeElement.offsetWidth;\n\n\t\t\tthis.width = `${Math.min(maxWidth, Math.max(0, this.resizer.nativeElement.offsetLeft + delta))}px`;\n\t\t\tthis.changeDetectorRef.detectChanges();\n\t\t}\n\t}\n}\n","<div class=\"ng-doc-pane-back\" [style.width]=\"width\">\n\t<div class=\"ng-doc-pane-content\">\n\t\t<ng-content select=\"[ngDocPaneBack]\"></ng-content>\n\t</div>\n</div>\n<div class=\"ng-doc-pane-resizer\" #resizer></div>\n<div class=\"ng-doc-pane-front\">\n\t<div class=\"ng-doc-pane-content\">\n\t\t<ng-content select=\"[ngDocPaneFront]\"></ng-content>\n\t</div>\n</div>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\nimport {NgDocPaneBackDirective, NgDocPaneComponent, NgDocPaneFrontDirective} from './pane.component';\n\n@NgModule({\n\tdeclarations: [NgDocPaneComponent, NgDocPaneFrontDirective, NgDocPaneBackDirective],\n\timports: [CommonModule],\n\texports: [NgDocPaneComponent, NgDocPaneFrontDirective, NgDocPaneBackDirective],\n})\nexport class NgDocPaneModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAqBA,MAGa,uBAAuB,CAAA;8GAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAvB,uBAAuB,EAAA,QAAA,EAAA,kBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAHnC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,kBAAkB;AAC5B,iBAAA,CAAA;;AAGD,MAGa,sBAAsB,CAAA;8GAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAtB,sBAAsB,EAAA,QAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAHlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,iBAAA,CAA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EAAA,CAAA,CAAA,EAAA;AAAf,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,EAJZ,YAAA,EAAA,CAAA,kBAAkB,EAAE,uBAAuB,EAAE,sBAAsB,CACxE,EAAA,OAAA,EAAA,CAAA,YAAY,CACZ,EAAA,OAAA,EAAA,CAAA,kBAAkB,EAAE,uBAAuB,EAAE,sBAAsB,CAAA,EAAA,CAAA,CAAA,EAAA;AAEjE,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,YAHjB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGV,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,YAAY,EAAE,CAAC,kBAAkB,EAAE,uBAAuB,EAAE,sBAAsB,CAAC;oBACnF,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,OAAO,EAAE,CAAC,kBAAkB,EAAE,uBAAuB,EAAE,sBAAsB,CAAC;AAC9E,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-ui-kit-components-pane.mjs","sources":["../../../../libs/ui-kit/components/pane/pane.component.ts","../../../../libs/ui-kit/components/pane/pane.component.html","../../../../libs/ui-kit/components/pane/ng-doc-ui-kit-components-pane.ts"],"sourcesContent":["import {DOCUMENT} from '@angular/common';\nimport {\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tDirective,\n\tElementRef,\n\tHostBinding,\n\tInject,\n\tInput,\n\tNgZone,\n\tOnChanges,\n\tOnInit,\n\tSimpleChanges,\n\tViewChild,\n} from '@angular/core';\nimport {ngDocZoneOptimize} from '@ng-doc/ui-kit/observables';\nimport {UntilDestroy, untilDestroyed} from '@ngneat/until-destroy';\nimport {fromEvent, merge, Observable} from 'rxjs';\nimport {debounceTime, filter, map, pairwise, switchMap, take, takeUntil, tap} from 'rxjs/operators';\n\n@Directive({\n\tselector: '[ngDocPaneFront]',\n\tstandalone: true,\n})\nexport class NgDocPaneFrontDirective {}\n\n@Directive({\n\tselector: '[ngDocPaneBack]',\n\tstandalone: true,\n})\nexport class NgDocPaneBackDirective {}\n\n@Component({\n\tselector: 'ng-doc-pane',\n\ttemplateUrl: './pane.component.html',\n\tstyleUrls: ['./pane.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n})\n@UntilDestroy()\nexport class NgDocPaneComponent implements OnChanges, OnInit {\n\t@Input()\n\texpanded: boolean = false;\n\n\t@ViewChild('resizer', {static: true})\n\tresizer?: ElementRef<HTMLElement>;\n\n\twidth: string = '0%';\n\n\t@HostBinding('attr.data-ng-doc-dragging')\n\tdragging: boolean = false;\n\n\tconstructor(\n\t\t@Inject(DOCUMENT)\n\t\tprivate readonly document: Document,\n\t\tprivate readonly changeDetectorRef: ChangeDetectorRef,\n\t\tprivate readonly elementRef: ElementRef<HTMLElement>,\n\t\tprivate readonly ngZone: NgZone,\n\t) {}\n\n\tngOnInit(): void {\n\t\tif (this.resizer) {\n\t\t\tconst mouseDown$ = fromEvent(this.resizer.nativeElement, 'mousedown').pipe(\n\t\t\t\ttap(() => {\n\t\t\t\t\tthis.dragging = true;\n\t\t\t\t\tthis.changeDetectorRef.markForCheck();\n\t\t\t\t}),\n\t\t\t);\n\n\t\t\tconst mouseUp$ = fromEvent(this.document, 'mouseup').pipe(\n\t\t\t\ttap(() => {\n\t\t\t\t\tthis.dragging = false;\n\t\t\t\t\tthis.changeDetectorRef.markForCheck();\n\t\t\t\t}),\n\t\t\t);\n\n\t\t\tconst mouseMove$ = (fromEvent(this.document, 'mousemove') as Observable<MouseEvent>).pipe(\n\t\t\t\tmap((event: MouseEvent) => event.clientX),\n\t\t\t\tpairwise(),\n\t\t\t\tmap(([prev, next]: [number, number]) => next - prev),\n\t\t\t);\n\n\t\t\tmouseDown$\n\t\t\t\t.pipe(\n\t\t\t\t\tswitchMap(() => {\n\t\t\t\t\t\tconst dragEvent$ = mouseMove$.pipe(takeUntil(mouseUp$));\n\n\t\t\t\t\t\tconst clickEvent$ = mouseUp$.pipe(\n\t\t\t\t\t\t\tmap(() => null),\n\t\t\t\t\t\t\ttakeUntil(mouseMove$),\n\t\t\t\t\t\t\ttake(1),\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\treturn merge(dragEvent$, clickEvent$);\n\t\t\t\t\t}),\n\t\t\t\t\tfilter((delta: number | null) => delta !== 0),\n\t\t\t\t\tngDocZoneOptimize(this.ngZone),\n\t\t\t\t\tuntilDestroyed(this),\n\t\t\t\t)\n\t\t\t\t.subscribe((delta: number | null) => {\n\t\t\t\t\tdelta === null ? this.toggle() : this.addDelta(delta);\n\t\t\t\t});\n\t\t}\n\n\t\tfromEvent(window, 'resize')\n\t\t\t.pipe(debounceTime(100), untilDestroyed(this), ngDocZoneOptimize(this.ngZone))\n\t\t\t.subscribe(() => this.addDelta(0));\n\n\t\tthis.addDelta(0);\n\t}\n\n\tngOnChanges({expanded}: SimpleChanges): void {\n\t\tif (expanded) {\n\t\t\texpanded.currentValue\n\t\t\t\t? this.addDelta(this.elementRef.nativeElement.offsetWidth)\n\t\t\t\t: this.addDelta(-this.elementRef.nativeElement.offsetWidth);\n\t\t}\n\t}\n\n\ttoggle(): void {\n\t\tif (this.resizer) {\n\t\t\tconst middle = this.elementRef.nativeElement.offsetWidth / 2;\n\n\t\t\tif (this.resizer.nativeElement.offsetLeft < middle) {\n\t\t\t\tthis.addDelta(this.elementRef.nativeElement.offsetWidth);\n\t\t\t} else {\n\t\t\t\tthis.addDelta(-this.elementRef.nativeElement.offsetWidth);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate addDelta(delta: number): void {\n\t\tif (this.resizer) {\n\t\t\tconst maxWidth = this.elementRef.nativeElement.offsetWidth - this.resizer.nativeElement.offsetWidth;\n\n\t\t\tthis.width = `${Math.min(maxWidth, Math.max(0, this.resizer.nativeElement.offsetLeft + delta))}px`;\n\t\t\tthis.changeDetectorRef.detectChanges();\n\t\t}\n\t}\n}\n","<div class=\"ng-doc-pane-back\" [style.width]=\"width\">\n\t<div class=\"ng-doc-pane-content\">\n\t\t<ng-content select=\"[ngDocPaneBack]\"></ng-content>\n\t</div>\n</div>\n<div class=\"ng-doc-pane-resizer\" #resizer></div>\n<div class=\"ng-doc-pane-front\">\n\t<div class=\"ng-doc-pane-content\">\n\t\t<ng-content select=\"[ngDocPaneFront]\"></ng-content>\n\t</div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAqBA,MAIa,uBAAuB,CAAA;8GAAvB,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAAvB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBAJnC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,kBAAkB;AAC5B,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;AAGD,MAIa,sBAAsB,CAAA;8GAAtB,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAtB,sBAAsB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,iBAAA,EAAA,QA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