@ng-doc/ui-kit 17.6.15 → 18.0.0-beta.1

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 (355) hide show
  1. package/animations/expand-collapse.d.ts +0 -1
  2. package/animations/fade.d.ts +0 -1
  3. package/animations/index.d.ts +1 -1
  4. package/animations/overlay.d.ts +0 -1
  5. package/animations/popup.d.ts +2 -0
  6. package/animations/prevent-initial-animation.d.ts +0 -1
  7. package/animations/tab-fade.d.ts +0 -1
  8. package/assets/icons/16/maximize.svg +1 -0
  9. package/assets/icons/16/zoom-in.svg +1 -0
  10. package/assets/icons/16/zoom-out.svg +1 -0
  11. package/assets/icons/24/activity.svg +1 -0
  12. package/assets/icons/24/check.svg +1 -0
  13. package/cdk/index.d.ts +0 -1
  14. package/classes/base-input/base-input.d.ts +1 -1
  15. package/classes/base-input/index.d.ts +0 -1
  16. package/classes/display-value-host/display-value-host.d.ts +0 -1
  17. package/classes/display-value-host/index.d.ts +0 -1
  18. package/classes/index.d.ts +0 -1
  19. package/classes/input-host/index.d.ts +0 -1
  20. package/classes/input-host/input-host.d.ts +0 -1
  21. package/classes/list-host/index.d.ts +0 -1
  22. package/classes/list-host/list-host.d.ts +0 -1
  23. package/classes/list-item/index.d.ts +0 -1
  24. package/classes/list-item/list-item.d.ts +0 -1
  25. package/classes/overlay-host/index.d.ts +0 -1
  26. package/classes/overlay-host/overlay-host.d.ts +0 -1
  27. package/classes/overlay-ref/index.d.ts +0 -1
  28. package/classes/overlay-ref/overlay-ref.d.ts +0 -1
  29. package/components/blockquote/blockquote.component.d.ts +2 -1
  30. package/components/button/button.component.d.ts +20 -0
  31. package/components/button-icon/button-icon.component.d.ts +1 -1
  32. package/components/button-toggle/button-toggle.component.d.ts +8 -0
  33. package/components/button-toggle/index.d.ts +1 -0
  34. package/components/expander/expander.component.d.ts +5 -3
  35. package/components/floated-content/floated-content.component.d.ts +2 -8
  36. package/components/icon/icon.component.d.ts +1 -0
  37. package/components/index.d.ts +4 -1
  38. package/components/input-wrapper/input-wrapper.component.d.ts +1 -3
  39. package/components/magnifier/index.d.ts +1 -0
  40. package/components/magnifier/magnifier.component.d.ts +21 -0
  41. package/components/magnifier-controller/index.d.ts +1 -0
  42. package/components/magnifier-controller/magnifier-controller.component.d.ts +7 -0
  43. package/components/overlay-container/overlay-container.component.d.ts +6 -5
  44. package/components/sidenav/sidenav.component.d.ts +2 -20
  45. package/components/tab-group/tab/tab.component.d.ts +1 -1
  46. package/components/tab-routes-group/index.d.ts +2 -0
  47. package/components/tab-routes-group/tab-route/tab-route.component.d.ts +7 -0
  48. package/components/tab-routes-group/tab-routes-group.component.d.ts +6 -0
  49. package/constants/focus-events.d.ts +0 -1
  50. package/constants/handlers.d.ts +0 -1
  51. package/constants/index.d.ts +0 -1
  52. package/constants/stringify.d.ts +0 -1
  53. package/decorators/index.d.ts +0 -1
  54. package/decorators/pure.d.ts +0 -1
  55. package/directives/autofocus/autofocus.directive.d.ts +0 -1
  56. package/directives/autofocus/index.d.ts +0 -1
  57. package/directives/checked-change/checked-change.directive.d.ts +0 -1
  58. package/directives/checked-change/index.d.ts +0 -1
  59. package/directives/data/data.directive.d.ts +0 -1
  60. package/directives/data/index.d.ts +0 -1
  61. package/directives/dropdown-handler/dropdown-handler.directive.d.ts +0 -1
  62. package/directives/dropdown-handler/index.d.ts +0 -1
  63. package/directives/dropdown-origin/dropdown-origin.directive.d.ts +0 -1
  64. package/directives/dropdown-origin/index.d.ts +0 -1
  65. package/directives/event-switcher/event-switcher.directive.d.ts +0 -1
  66. package/directives/event-switcher/index.d.ts +0 -1
  67. package/directives/focus-catcher/focus-catcher.directive.d.ts +0 -1
  68. package/directives/focus-catcher/index.d.ts +0 -1
  69. package/directives/focusable/focusable.directive.d.ts +0 -1
  70. package/directives/focusable/index.d.ts +0 -1
  71. package/directives/hotkey/hotkey.directive.d.ts +0 -1
  72. package/directives/hotkey/index.d.ts +0 -1
  73. package/directives/index.d.ts +1 -2
  74. package/directives/input-number/index.d.ts +0 -1
  75. package/directives/input-number/input-number.directive.d.ts +0 -1
  76. package/directives/input-string/index.d.ts +0 -1
  77. package/directives/input-string/input-string.directive.d.ts +0 -1
  78. package/directives/let/index.d.ts +0 -1
  79. package/directives/let/let-context.d.ts +0 -1
  80. package/directives/let/let.directive.d.ts +0 -1
  81. package/directives/radio-group/index.d.ts +1 -0
  82. package/directives/radio-group/radio-group.directive.d.ts +7 -0
  83. package/directives/rotator/index.d.ts +0 -1
  84. package/directives/rotator/rotator.directive.d.ts +5 -10
  85. package/directives/tooltip/index.d.ts +0 -1
  86. package/directives/tooltip/tooltip.directive.d.ts +0 -1
  87. package/esm2022/animations/index.mjs +2 -1
  88. package/esm2022/animations/popup.mjs +8 -0
  89. package/esm2022/cdk/combobox-host/combobox-host.component.mjs +3 -3
  90. package/esm2022/classes/base-input/base-input.mjs +7 -6
  91. package/esm2022/classes/overlay-ref/overlay-ref.mjs +2 -2
  92. package/esm2022/components/blockquote/blockquote.component.mjs +7 -5
  93. package/esm2022/components/button/button.component.mjs +25 -5
  94. package/esm2022/components/button-icon/button-icon.component.mjs +5 -5
  95. package/esm2022/components/button-toggle/button-toggle.component.mjs +23 -0
  96. package/esm2022/components/button-toggle/index.mjs +2 -0
  97. package/esm2022/components/button-toggle/ng-doc-ui-kit-components-button-toggle.mjs +5 -0
  98. package/esm2022/components/checkbox/checkbox.component.mjs +5 -5
  99. package/esm2022/components/clear-control/clear-control.component.mjs +5 -5
  100. package/esm2022/components/combobox/combobox.component.mjs +6 -6
  101. package/esm2022/components/data-list/data-list.component.mjs +4 -4
  102. package/esm2022/components/data-list-group/data-list-group.component.mjs +3 -3
  103. package/esm2022/components/dialog-outlet/dialog-outlet.component.mjs +3 -3
  104. package/esm2022/components/dot/dot.component.mjs +3 -3
  105. package/esm2022/components/dropdown/dropdown.component.mjs +3 -3
  106. package/esm2022/components/expander/expander.component.mjs +13 -13
  107. package/esm2022/components/floated-border/floated-border.component.mjs +3 -3
  108. package/esm2022/components/floated-content/floated-content.component.mjs +9 -30
  109. package/esm2022/components/focus-control/focus-control.component.mjs +3 -3
  110. package/esm2022/components/icon/icon.component.mjs +7 -6
  111. package/esm2022/components/index.mjs +5 -1
  112. package/esm2022/components/input-wrapper/input-wrapper.component.mjs +6 -12
  113. package/esm2022/components/label/label.component.mjs +3 -3
  114. package/esm2022/components/line/line.component.mjs +3 -3
  115. package/esm2022/components/list/list.component.mjs +3 -3
  116. package/esm2022/components/magnifier/index.mjs +2 -0
  117. package/esm2022/components/magnifier/magnifier.component.mjs +79 -0
  118. package/esm2022/components/magnifier/ng-doc-ui-kit-components-magnifier.mjs +5 -0
  119. package/esm2022/components/magnifier-controller/index.mjs +2 -0
  120. package/esm2022/components/magnifier-controller/magnifier-controller.component.mjs +16 -0
  121. package/esm2022/components/magnifier-controller/ng-doc-ui-kit-components-magnifier-controller.mjs +5 -0
  122. package/esm2022/components/option/option.component.mjs +3 -3
  123. package/esm2022/components/option-group/option-group.component.mjs +6 -6
  124. package/esm2022/components/overlay-container/overlay-container.component.mjs +14 -8
  125. package/esm2022/components/overlay-pointer/overlay-pointer.component.mjs +3 -3
  126. package/esm2022/components/pane/pane.component.mjs +9 -9
  127. package/esm2022/components/selection/selection-host.directive.mjs +3 -3
  128. package/esm2022/components/selection/selection-origin.directive.mjs +3 -3
  129. package/esm2022/components/selection/selection.component.mjs +6 -5
  130. package/esm2022/components/sidenav/sidenav.component.mjs +10 -130
  131. package/esm2022/components/smooth-resize/smooth-resize.component.mjs +3 -3
  132. package/esm2022/components/spinner/spinner.component.mjs +3 -3
  133. package/esm2022/components/tab-group/tab/tab.component.mjs +5 -5
  134. package/esm2022/components/tab-group/tab-group.component.mjs +4 -4
  135. package/esm2022/components/tab-routes-group/index.mjs +3 -0
  136. package/esm2022/components/tab-routes-group/ng-doc-ui-kit-components-tab-routes-group.mjs +5 -0
  137. package/esm2022/components/tab-routes-group/tab-route/tab-route.component.mjs +21 -0
  138. package/esm2022/components/tab-routes-group/tab-routes-group.component.mjs +14 -0
  139. package/esm2022/components/tag/tag.component.mjs +4 -4
  140. package/esm2022/components/text/text-left.directive.mjs +3 -3
  141. package/esm2022/components/text/text-right.directive.mjs +3 -3
  142. package/esm2022/components/text/text.component.mjs +5 -5
  143. package/esm2022/components/toggle/toggle.component.mjs +3 -3
  144. package/esm2022/components/wrapper/wrapper.component.mjs +3 -3
  145. package/esm2022/directives/autofocus/autofocus.directive.mjs +3 -3
  146. package/esm2022/directives/checked-change/checked-change.directive.mjs +3 -3
  147. package/esm2022/directives/data/data.directive.mjs +3 -3
  148. package/esm2022/directives/dropdown-handler/dropdown-handler.directive.mjs +3 -3
  149. package/esm2022/directives/dropdown-origin/dropdown-origin.directive.mjs +3 -3
  150. package/esm2022/directives/event-switcher/event-switcher.directive.mjs +3 -3
  151. package/esm2022/directives/focus-catcher/focus-catcher.directive.mjs +3 -3
  152. package/esm2022/directives/focusable/focusable.directive.mjs +3 -3
  153. package/esm2022/directives/hotkey/hotkey.directive.mjs +3 -3
  154. package/esm2022/directives/index.mjs +2 -2
  155. package/esm2022/directives/input-number/input-number.directive.mjs +3 -3
  156. package/esm2022/directives/input-string/input-string.directive.mjs +3 -3
  157. package/esm2022/directives/let/let.directive.mjs +3 -3
  158. package/esm2022/directives/radio-group/index.mjs +2 -0
  159. package/esm2022/directives/{media-query/ng-doc-ui-kit-directives-media-query.mjs → radio-group/ng-doc-ui-kit-directives-radio-group.mjs} +1 -1
  160. package/esm2022/directives/radio-group/radio-group.directive.mjs +19 -0
  161. package/esm2022/directives/rotator/rotator.directive.mjs +15 -23
  162. package/esm2022/directives/tooltip/tooltip.directive.mjs +3 -3
  163. package/esm2022/interceptors/cache.interceptor.mjs +3 -3
  164. package/esm2022/observables/zone.mjs +5 -1
  165. package/esm2022/pipes/as-array/as-array.pipe.mjs +3 -3
  166. package/esm2022/pipes/bind/bind.pipe.mjs +4 -4
  167. package/esm2022/pipes/execute/execute.pipe.mjs +3 -3
  168. package/esm2022/pipes/highlighter/highlighter.pipe.mjs +3 -3
  169. package/esm2022/services/dialog/dialog.config.mjs +1 -1
  170. package/esm2022/services/dialog/dialog.service.mjs +14 -12
  171. package/esm2022/services/notify/notify.service.mjs +3 -3
  172. package/esm2022/services/overlay/overlay.service.mjs +6 -6
  173. package/esm2022/services/overlay-strategy/overlay-strategy.mjs +3 -3
  174. package/esm2022/services/scroll/scroll.service.mjs +3 -3
  175. package/esm2022/types/blockquote-type.mjs +1 -1
  176. package/esm2022/types/color.mjs +1 -1
  177. package/esm2022/types/content.mjs +1 -1
  178. package/fesm2022/ng-doc-ui-kit-animations.mjs +8 -1
  179. package/fesm2022/ng-doc-ui-kit-animations.mjs.map +1 -1
  180. package/fesm2022/ng-doc-ui-kit-cdk-combobox-host.mjs +3 -3
  181. package/fesm2022/ng-doc-ui-kit-classes-base-input.mjs +6 -5
  182. package/fesm2022/ng-doc-ui-kit-classes-base-input.mjs.map +1 -1
  183. package/fesm2022/ng-doc-ui-kit-classes-overlay-ref.mjs +1 -1
  184. package/fesm2022/ng-doc-ui-kit-classes-overlay-ref.mjs.map +1 -1
  185. package/fesm2022/ng-doc-ui-kit-components-blockquote.mjs +6 -4
  186. package/fesm2022/ng-doc-ui-kit-components-blockquote.mjs.map +1 -1
  187. package/fesm2022/ng-doc-ui-kit-components-button-icon.mjs +4 -4
  188. package/fesm2022/ng-doc-ui-kit-components-button-icon.mjs.map +1 -1
  189. package/fesm2022/ng-doc-ui-kit-components-button-toggle.mjs +30 -0
  190. package/fesm2022/ng-doc-ui-kit-components-button-toggle.mjs.map +1 -0
  191. package/fesm2022/ng-doc-ui-kit-components-button.mjs +24 -4
  192. package/fesm2022/ng-doc-ui-kit-components-button.mjs.map +1 -1
  193. package/fesm2022/ng-doc-ui-kit-components-checkbox.mjs +4 -4
  194. package/fesm2022/ng-doc-ui-kit-components-checkbox.mjs.map +1 -1
  195. package/fesm2022/ng-doc-ui-kit-components-clear-control.mjs +4 -4
  196. package/fesm2022/ng-doc-ui-kit-components-clear-control.mjs.map +1 -1
  197. package/fesm2022/ng-doc-ui-kit-components-combobox.mjs +5 -5
  198. package/fesm2022/ng-doc-ui-kit-components-combobox.mjs.map +1 -1
  199. package/fesm2022/ng-doc-ui-kit-components-data-list-group.mjs +3 -3
  200. package/fesm2022/ng-doc-ui-kit-components-data-list.mjs +4 -4
  201. package/fesm2022/ng-doc-ui-kit-components-dialog-outlet.mjs +3 -3
  202. package/fesm2022/ng-doc-ui-kit-components-dot.mjs +3 -3
  203. package/fesm2022/ng-doc-ui-kit-components-dropdown.mjs +3 -3
  204. package/fesm2022/ng-doc-ui-kit-components-expander.mjs +12 -12
  205. package/fesm2022/ng-doc-ui-kit-components-expander.mjs.map +1 -1
  206. package/fesm2022/ng-doc-ui-kit-components-floated-border.mjs +3 -3
  207. package/fesm2022/ng-doc-ui-kit-components-floated-content.mjs +8 -29
  208. package/fesm2022/ng-doc-ui-kit-components-floated-content.mjs.map +1 -1
  209. package/fesm2022/ng-doc-ui-kit-components-focus-control.mjs +3 -3
  210. package/fesm2022/ng-doc-ui-kit-components-icon.mjs +6 -5
  211. package/fesm2022/ng-doc-ui-kit-components-icon.mjs.map +1 -1
  212. package/fesm2022/ng-doc-ui-kit-components-input-wrapper.mjs +5 -11
  213. package/fesm2022/ng-doc-ui-kit-components-input-wrapper.mjs.map +1 -1
  214. package/fesm2022/ng-doc-ui-kit-components-label.mjs +3 -3
  215. package/fesm2022/ng-doc-ui-kit-components-line.mjs +3 -3
  216. package/fesm2022/ng-doc-ui-kit-components-list.mjs +3 -3
  217. package/fesm2022/ng-doc-ui-kit-components-magnifier-controller.mjs +23 -0
  218. package/fesm2022/ng-doc-ui-kit-components-magnifier-controller.mjs.map +1 -0
  219. package/fesm2022/ng-doc-ui-kit-components-magnifier.mjs +86 -0
  220. package/fesm2022/ng-doc-ui-kit-components-magnifier.mjs.map +1 -0
  221. package/fesm2022/ng-doc-ui-kit-components-option-group.mjs +6 -6
  222. package/fesm2022/ng-doc-ui-kit-components-option.mjs +3 -3
  223. package/fesm2022/ng-doc-ui-kit-components-overlay-container.mjs +13 -7
  224. package/fesm2022/ng-doc-ui-kit-components-overlay-container.mjs.map +1 -1
  225. package/fesm2022/ng-doc-ui-kit-components-overlay-pointer.mjs +3 -3
  226. package/fesm2022/ng-doc-ui-kit-components-pane.mjs +9 -9
  227. package/fesm2022/ng-doc-ui-kit-components-selection.mjs +11 -11
  228. package/fesm2022/ng-doc-ui-kit-components-selection.mjs.map +1 -1
  229. package/fesm2022/ng-doc-ui-kit-components-sidenav.mjs +9 -129
  230. package/fesm2022/ng-doc-ui-kit-components-sidenav.mjs.map +1 -1
  231. package/fesm2022/ng-doc-ui-kit-components-smooth-resize.mjs +3 -3
  232. package/fesm2022/ng-doc-ui-kit-components-spinner.mjs +3 -3
  233. package/fesm2022/ng-doc-ui-kit-components-tab-group.mjs +8 -8
  234. package/fesm2022/ng-doc-ui-kit-components-tab-group.mjs.map +1 -1
  235. package/fesm2022/ng-doc-ui-kit-components-tab-routes-group.mjs +37 -0
  236. package/fesm2022/ng-doc-ui-kit-components-tab-routes-group.mjs.map +1 -0
  237. package/fesm2022/ng-doc-ui-kit-components-tag.mjs +4 -4
  238. package/fesm2022/ng-doc-ui-kit-components-tag.mjs.map +1 -1
  239. package/fesm2022/ng-doc-ui-kit-components-text.mjs +10 -10
  240. package/fesm2022/ng-doc-ui-kit-components-text.mjs.map +1 -1
  241. package/fesm2022/ng-doc-ui-kit-components-toggle.mjs +3 -3
  242. package/fesm2022/ng-doc-ui-kit-components-wrapper.mjs +3 -3
  243. package/fesm2022/ng-doc-ui-kit-components.mjs +4 -0
  244. package/fesm2022/ng-doc-ui-kit-components.mjs.map +1 -1
  245. package/fesm2022/ng-doc-ui-kit-directives-autofocus.mjs +3 -3
  246. package/fesm2022/ng-doc-ui-kit-directives-checked-change.mjs +3 -3
  247. package/fesm2022/ng-doc-ui-kit-directives-data.mjs +3 -3
  248. package/fesm2022/ng-doc-ui-kit-directives-dropdown-handler.mjs +3 -3
  249. package/fesm2022/ng-doc-ui-kit-directives-dropdown-origin.mjs +3 -3
  250. package/fesm2022/ng-doc-ui-kit-directives-event-switcher.mjs +3 -3
  251. package/fesm2022/ng-doc-ui-kit-directives-focus-catcher.mjs +3 -3
  252. package/fesm2022/ng-doc-ui-kit-directives-focusable.mjs +3 -3
  253. package/fesm2022/ng-doc-ui-kit-directives-hotkey.mjs +3 -3
  254. package/fesm2022/ng-doc-ui-kit-directives-input-number.mjs +3 -3
  255. package/fesm2022/ng-doc-ui-kit-directives-input-string.mjs +3 -3
  256. package/fesm2022/ng-doc-ui-kit-directives-let.mjs +3 -3
  257. package/fesm2022/ng-doc-ui-kit-directives-radio-group.mjs +26 -0
  258. package/fesm2022/ng-doc-ui-kit-directives-radio-group.mjs.map +1 -0
  259. package/fesm2022/ng-doc-ui-kit-directives-rotator.mjs +14 -22
  260. package/fesm2022/ng-doc-ui-kit-directives-rotator.mjs.map +1 -1
  261. package/fesm2022/ng-doc-ui-kit-directives-tooltip.mjs +3 -3
  262. package/fesm2022/ng-doc-ui-kit-directives.mjs +1 -1
  263. package/fesm2022/ng-doc-ui-kit-interceptors.mjs +3 -3
  264. package/fesm2022/ng-doc-ui-kit-observables.mjs +4 -0
  265. package/fesm2022/ng-doc-ui-kit-observables.mjs.map +1 -1
  266. package/fesm2022/ng-doc-ui-kit-pipes-as-array.mjs +3 -3
  267. package/fesm2022/ng-doc-ui-kit-pipes-bind.mjs +3 -3
  268. package/fesm2022/ng-doc-ui-kit-pipes-bind.mjs.map +1 -1
  269. package/fesm2022/ng-doc-ui-kit-pipes-execute.mjs +3 -3
  270. package/fesm2022/ng-doc-ui-kit-pipes-highlighter.mjs +3 -3
  271. package/fesm2022/ng-doc-ui-kit-services-dialog.mjs +14 -12
  272. package/fesm2022/ng-doc-ui-kit-services-dialog.mjs.map +1 -1
  273. package/fesm2022/ng-doc-ui-kit-services-notify.mjs +3 -3
  274. package/fesm2022/ng-doc-ui-kit-services-overlay-strategy.mjs +3 -3
  275. package/fesm2022/ng-doc-ui-kit-services-overlay.mjs +5 -5
  276. package/fesm2022/ng-doc-ui-kit-services-overlay.mjs.map +1 -1
  277. package/fesm2022/ng-doc-ui-kit-services-scroll.mjs +3 -3
  278. package/fesm2022/ng-doc-ui-kit-types.mjs.map +1 -1
  279. package/helpers/index.d.ts +0 -1
  280. package/helpers/merge-overlay-configs.d.ts +0 -1
  281. package/helpers/to-element.d.ts +0 -1
  282. package/index.d.ts +0 -1
  283. package/interceptors/cache.interceptor.d.ts +0 -1
  284. package/interceptors/index.d.ts +0 -1
  285. package/interfaces/config.d.ts +0 -1
  286. package/interfaces/context-with-implicit.d.ts +0 -1
  287. package/interfaces/index.d.ts +0 -1
  288. package/interfaces/overlay-config.d.ts +0 -1
  289. package/interfaces/overlay-container.d.ts +0 -1
  290. package/interfaces/overlay-properties.d.ts +0 -1
  291. package/observables/from-subscribe.d.ts +0 -1
  292. package/observables/index.d.ts +0 -1
  293. package/observables/observable-state.d.ts +0 -1
  294. package/observables/zone.d.ts +3 -4
  295. package/package.json +34 -10
  296. package/pipes/as-array/as-array.pipe.d.ts +0 -1
  297. package/pipes/as-array/index.d.ts +0 -1
  298. package/pipes/bind/bind.pipe.d.ts +0 -1
  299. package/pipes/bind/index.d.ts +0 -1
  300. package/pipes/execute/execute.pipe.d.ts +0 -1
  301. package/pipes/execute/index.d.ts +0 -1
  302. package/pipes/highlighter/highlighter.pipe.d.ts +0 -1
  303. package/pipes/highlighter/index.d.ts +0 -1
  304. package/pipes/index.d.ts +0 -1
  305. package/providers/index.d.ts +0 -1
  306. package/providers/ng-doc-ui-kit-config/index.d.ts +0 -1
  307. package/providers/ng-doc-ui-kit-config/provide-ng-doc-ui-kit-config.d.ts +0 -1
  308. package/services/dialog/dialog.config.d.ts +3 -2
  309. package/services/dialog/dialog.service.d.ts +4 -1
  310. package/services/dialog/index.d.ts +0 -1
  311. package/services/index.d.ts +0 -1
  312. package/services/notify/index.d.ts +0 -1
  313. package/services/notify/notify.service.d.ts +0 -1
  314. package/services/overlay/index.d.ts +0 -1
  315. package/services/overlay/overlay.service.d.ts +0 -1
  316. package/services/overlay-strategy/index.d.ts +0 -1
  317. package/services/overlay-strategy/overlay-strategy.d.ts +0 -1
  318. package/services/scroll/index.d.ts +0 -1
  319. package/services/scroll/scroll.service.d.ts +0 -1
  320. package/styles/main.css +15 -9
  321. package/tokens/assets-path.d.ts +0 -1
  322. package/tokens/component-context.d.ts +0 -1
  323. package/tokens/custom-icons-path.d.ts +0 -1
  324. package/tokens/index.d.ts +0 -1
  325. package/types/align.d.ts +0 -1
  326. package/types/base-element.d.ts +0 -1
  327. package/types/blockquote-type.d.ts +1 -2
  328. package/types/color.d.ts +1 -2
  329. package/types/content.d.ts +0 -1
  330. package/types/define-value-fn.d.ts +0 -1
  331. package/types/display-value-fn.d.ts +0 -1
  332. package/types/group-fn.d.ts +0 -1
  333. package/types/handlers.d.ts +0 -1
  334. package/types/icon-size.d.ts +0 -1
  335. package/types/index.d.ts +0 -1
  336. package/types/orientation.d.ts +0 -1
  337. package/types/overlay-animation-event.d.ts +0 -1
  338. package/types/overlay-origin.d.ts +0 -1
  339. package/types/overlay-position.d.ts +0 -1
  340. package/types/overlay-relative-position.d.ts +0 -1
  341. package/types/position.d.ts +0 -1
  342. package/types/size.d.ts +0 -1
  343. package/types/subscribable.d.ts +0 -1
  344. package/types/tag-size.d.ts +0 -1
  345. package/types/text-color.d.ts +0 -1
  346. package/utils/focus-utils.d.ts +0 -1
  347. package/utils/index.d.ts +0 -1
  348. package/utils/overlay-utils.d.ts +0 -1
  349. package/utils/position-utils.d.ts +0 -1
  350. package/directives/media-query/index.d.ts +0 -2
  351. package/directives/media-query/media-query.directive.d.ts +0 -16
  352. package/esm2022/directives/media-query/index.mjs +0 -2
  353. package/esm2022/directives/media-query/media-query.directive.mjs +0 -50
  354. package/fesm2022/ng-doc-ui-kit-directives-media-query.mjs +0 -56
  355. package/fesm2022/ng-doc-ui-kit-directives-media-query.mjs.map +0 -1
@@ -0,0 +1,26 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Directive } from '@angular/core';
3
+ import { DIControl, provideHostControl } from 'di-controls';
4
+
5
+ class NgDocRadioGroupDirective extends DIControl {
6
+ constructor() {
7
+ super();
8
+ }
9
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocRadioGroupDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
10
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.1", type: NgDocRadioGroupDirective, isStandalone: true, selector: "[ngDocRadioGroup]", providers: [provideHostControl(NgDocRadioGroupDirective)], usesInheritance: true, ngImport: i0 }); }
11
+ }
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocRadioGroupDirective, decorators: [{
13
+ type: Directive,
14
+ args: [{
15
+ selector: '[ngDocRadioGroup]',
16
+ standalone: true,
17
+ providers: [provideHostControl(NgDocRadioGroupDirective)],
18
+ }]
19
+ }], ctorParameters: () => [] });
20
+
21
+ /**
22
+ * Generated bundle index. Do not edit.
23
+ */
24
+
25
+ export { NgDocRadioGroupDirective };
26
+ //# sourceMappingURL=ng-doc-ui-kit-directives-radio-group.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ng-doc-ui-kit-directives-radio-group.mjs","sources":["../../../../libs/ui-kit/directives/radio-group/radio-group.directive.ts","../../../../libs/ui-kit/directives/radio-group/ng-doc-ui-kit-directives-radio-group.ts"],"sourcesContent":["import { Directive } from '@angular/core';\nimport { DIControl, provideHostControl } from 'di-controls';\n\n@Directive({\n selector: '[ngDocRadioGroup]',\n standalone: true,\n providers: [provideHostControl(NgDocRadioGroupDirective)],\n})\nexport class NgDocRadioGroupDirective<T> extends DIControl<T> {\n constructor() {\n super();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAQM,MAAO,wBAA4B,SAAQ,SAAY,CAAA;AAC3D,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE,CAAC;KACT;8GAHU,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAxB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,wBAAwB,gEAFxB,CAAC,kBAAkB,CAAC,wBAAwB,CAAC,CAAC,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAE9C,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBALpC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,mBAAmB;AAC7B,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,SAAS,EAAE,CAAC,kBAAkB,CAAA,wBAAA,CAA0B,CAAC;AAC1D,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
@@ -1,11 +1,11 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, Input } from '@angular/core';
2
+ import { Directive, Input, HostBinding } from '@angular/core';
3
3
 
4
- /** Directive rotates host with transition */
4
+ /**
5
+ * Directive rotates host with transition
6
+ */
5
7
  class NgDocRotatorDirective {
6
- constructor(elementRef, renderer) {
7
- this.elementRef = elementRef;
8
- this.renderer = renderer;
8
+ constructor() {
9
9
  /** Rotator state */
10
10
  this.rotated = false;
11
11
  /** Start position angle */
@@ -13,36 +13,28 @@ class NgDocRotatorDirective {
13
13
  /** End position anle */
14
14
  this.to = 90;
15
15
  }
16
- ngOnChanges({ rotated, to }) {
17
- if (rotated) {
18
- this.rotate(this.rotated ? this.to : this.from, true);
19
- }
20
- }
21
- ngOnInit() {
22
- this.rotate(this.rotated ? this.to : this.from);
23
- }
24
- rotate(degree, animated) {
25
- if (animated) {
26
- this.renderer.setStyle(this.elementRef.nativeElement, `transition`, `var(--ng-doc-transition)`);
27
- }
28
- this.renderer.setStyle(this.elementRef.nativeElement, `transform`, `rotateZ(${degree}deg`);
16
+ get transform() {
17
+ return `rotateZ(${this.rotated ? this.to : this.from}deg)`;
29
18
  }
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocRotatorDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
31
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.0", type: NgDocRotatorDirective, isStandalone: true, selector: "[ngDocRotator]", inputs: { rotated: ["ngDocRotator", "rotated"], from: "from", to: "to" }, usesOnChanges: true, ngImport: i0 }); }
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocRotatorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
20
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.1", type: NgDocRotatorDirective, isStandalone: true, selector: "[ngDocRotator]", inputs: { rotated: ["ngDocRotator", "rotated"], from: "from", to: "to" }, host: { properties: { "style.transform": "this.transform" } }, ngImport: i0 }); }
32
21
  }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocRotatorDirective, decorators: [{
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocRotatorDirective, decorators: [{
34
23
  type: Directive,
35
24
  args: [{
36
25
  selector: '[ngDocRotator]',
37
26
  standalone: true,
38
27
  }]
39
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { rotated: [{
28
+ }], propDecorators: { rotated: [{
40
29
  type: Input,
41
30
  args: ['ngDocRotator']
42
31
  }], from: [{
43
32
  type: Input
44
33
  }], to: [{
45
34
  type: Input
35
+ }], transform: [{
36
+ type: HostBinding,
37
+ args: ['style.transform']
46
38
  }] } });
47
39
 
48
40
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-ui-kit-directives-rotator.mjs","sources":["../../../../libs/ui-kit/directives/rotator/rotator.directive.ts","../../../../libs/ui-kit/directives/rotator/ng-doc-ui-kit-directives-rotator.ts"],"sourcesContent":["import {\n\tDirective,\n\tElementRef,\n\tInput,\n\tOnChanges,\n\tOnInit,\n\tRenderer2,\n\tSimpleChanges,\n} from '@angular/core';\n\n/** Directive rotates host with transition */\n@Directive({\n\tselector: '[ngDocRotator]',\n\tstandalone: true,\n})\nexport class NgDocRotatorDirective implements OnChanges, OnInit {\n\t/** Rotator state */\n\t@Input('ngDocRotator')\n\trotated: boolean = false;\n\n\t/** Start position angle */\n\t@Input()\n\tfrom: number = 0;\n\n\t/** End position anle */\n\t@Input()\n\tto: number = 90;\n\n\tconstructor(\n\t\tprivate readonly elementRef: ElementRef<HTMLElement>,\n\t\tprivate readonly renderer: Renderer2,\n\t) {}\n\n\tngOnChanges({ rotated, to }: SimpleChanges): void {\n\t\tif (rotated) {\n\t\t\tthis.rotate(this.rotated ? this.to : this.from, true);\n\t\t}\n\t}\n\n\tngOnInit(): void {\n\t\tthis.rotate(this.rotated ? this.to : this.from);\n\t}\n\n\tprivate rotate(degree: number, animated?: boolean): void {\n\t\tif (animated) {\n\t\t\tthis.renderer.setStyle(\n\t\t\t\tthis.elementRef.nativeElement,\n\t\t\t\t`transition`,\n\t\t\t\t`var(--ng-doc-transition)`,\n\t\t\t);\n\t\t}\n\t\tthis.renderer.setStyle(this.elementRef.nativeElement, `transform`, `rotateZ(${degree}deg`);\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":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AAA,EAAA;kGAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,CAAA,cAAA,EAAA,SAAA,CAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;uGAIA,OAAO,EAAA,CAAA;sBADN,KAAK;uBAAC,cAAc,CAAA;gBAKrB,IAAI,EAAA,CAAA;sBADH,KAAK;gBAKN,EAAE,EAAA,CAAA;sBADD,KAAK;;;ACzBP;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-ui-kit-directives-rotator.mjs","sources":["../../../../libs/ui-kit/directives/rotator/rotator.directive.ts","../../../../libs/ui-kit/directives/rotator/ng-doc-ui-kit-directives-rotator.ts"],"sourcesContent":["import { Directive, HostBinding, Input } from '@angular/core';\n\n/**\n * Directive rotates host with transition\n */\n@Directive({\n selector: '[ngDocRotator]',\n standalone: true,\n})\nexport class NgDocRotatorDirective {\n /** Rotator state */\n @Input('ngDocRotator')\n rotated: boolean = false;\n\n /** Start position angle */\n @Input()\n from: number = 0;\n\n /** End position anle */\n @Input()\n to: number = 90;\n\n @HostBinding('style.transform')\n get transform(): string {\n return `rotateZ(${this.rotated ? this.to : this.from}deg)`;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEA;;AAEG;MAKU,qBAAqB,CAAA;AAJlC,IAAA,WAAA,GAAA;;QAOE,IAAO,CAAA,OAAA,GAAY,KAAK,CAAC;;QAIzB,IAAI,CAAA,IAAA,GAAW,CAAC,CAAC;;QAIjB,IAAE,CAAA,EAAA,GAAW,EAAE,CAAC;AAMjB,KAAA;AAJC,IAAA,IACI,SAAS,GAAA;AACX,QAAA,OAAO,WAAW,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,IAAI,MAAM,CAAC;KAC5D;8GAhBU,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,CAAA,cAAA,EAAA,SAAA,CAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,gBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA,CAAA;8BAIC,OAAO,EAAA,CAAA;sBADN,KAAK;uBAAC,cAAc,CAAA;gBAKrB,IAAI,EAAA,CAAA;sBADH,KAAK;gBAKN,EAAE,EAAA,CAAA;sBADD,KAAK;gBAIF,SAAS,EAAA,CAAA;sBADZ,WAAW;uBAAC,iBAAiB,CAAA;;;ACtBhC;;AAEG;;;;"}
@@ -128,8 +128,8 @@ let NgDocTooltipDirective = class NgDocTooltipDirective {
128
128
  ? positions
129
129
  : ['bottom-center', 'top-center', 'right-center', 'left-center'], this.displayOriginElement, 0, true);
130
130
  }
131
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocTooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.ViewContainerRef }, { token: i1.NgDocOverlayService }, { token: i0.NgZone }, { token: i2.NgDocOverlayStrategy }], target: i0.ɵɵFactoryTarget.Directive }); }
132
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.0", type: NgDocTooltipDirective, isStandalone: true, selector: "[ngDocTooltip]", inputs: { content: ["ngDocTooltip", "content"], delay: "delay", displayOrigin: "displayOrigin", pointerOrigin: "pointerOrigin", positions: "positions", canOpen: "canOpen", panelClass: "panelClass", minHeight: "minHeight", maxHeight: "maxHeight", height: "height", minWidth: "minWidth", maxWidth: "maxWidth", width: "width" }, outputs: { beforeOpen: "beforeOpen", afterOpen: "afterOpen", beforeClose: "beforeClose", afterClose: "afterClose" }, exportAs: ["ngDocTooltip"], ngImport: i0 }); }
131
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocTooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }, { token: i0.ViewContainerRef }, { token: i1.NgDocOverlayService }, { token: i0.NgZone }, { token: i2.NgDocOverlayStrategy }], target: i0.ɵɵFactoryTarget.Directive }); }
132
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.1", type: NgDocTooltipDirective, isStandalone: true, selector: "[ngDocTooltip]", inputs: { content: ["ngDocTooltip", "content"], delay: "delay", displayOrigin: "displayOrigin", pointerOrigin: "pointerOrigin", positions: "positions", canOpen: "canOpen", panelClass: "panelClass", minHeight: "minHeight", maxHeight: "maxHeight", height: "height", minWidth: "minWidth", maxWidth: "maxWidth", width: "width" }, outputs: { beforeOpen: "beforeOpen", afterOpen: "afterOpen", beforeClose: "beforeClose", afterClose: "afterClose" }, exportAs: ["ngDocTooltip"], ngImport: i0 }); }
133
133
  };
134
134
  NgDocTooltipDirective = __decorate([
135
135
  UntilDestroy(),
@@ -140,7 +140,7 @@ NgDocTooltipDirective = __decorate([
140
140
  NgZone,
141
141
  NgDocOverlayStrategy])
142
142
  ], NgDocTooltipDirective);
143
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocTooltipDirective, decorators: [{
143
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocTooltipDirective, decorators: [{
144
144
  type: Directive,
145
145
  args: [{
146
146
  selector: '[ngDocTooltip]',
@@ -10,7 +10,7 @@ export * from '@ng-doc/ui-kit/directives/hotkey';
10
10
  export * from '@ng-doc/ui-kit/directives/input-number';
11
11
  export * from '@ng-doc/ui-kit/directives/input-string';
12
12
  export * from '@ng-doc/ui-kit/directives/let';
13
- export * from '@ng-doc/ui-kit/directives/media-query';
13
+ export * from '@ng-doc/ui-kit/directives/radio-group';
14
14
  export * from '@ng-doc/ui-kit/directives/rotator';
15
15
  export * from '@ng-doc/ui-kit/directives/tooltip';
16
16
 
@@ -38,10 +38,10 @@ class NgDocCacheInterceptor {
38
38
  this.cache.set(request.url, newHandler);
39
39
  return newHandler;
40
40
  }
41
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocCacheInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
42
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocCacheInterceptor }); }
41
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocCacheInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
42
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocCacheInterceptor }); }
43
43
  }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocCacheInterceptor, decorators: [{
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocCacheInterceptor, decorators: [{
45
45
  type: Injectable
46
46
  }] });
47
47
 
@@ -1,5 +1,6 @@
1
1
  import { Observable, of, pipe } from 'rxjs';
2
2
  import { startWith, switchMap, map, catchError, tap } from 'rxjs/operators';
3
+ import { inject, NgZone } from '@angular/core';
3
4
 
4
5
  /**
5
6
  * @param subscribable
@@ -65,6 +66,7 @@ function zoneDetach(ngZone) {
65
66
  * @param ngZone
66
67
  */
67
68
  function ngDocZoneAttach(ngZone) {
69
+ ngZone = ngZone || inject(NgZone);
68
70
  return (source) => new Observable((subscriber) => source.subscribe({
69
71
  next: (value) => ngZone.run(() => subscriber.next(value)),
70
72
  error: (error) => ngZone.run(() => subscriber.error(error)),
@@ -76,6 +78,7 @@ function ngDocZoneAttach(ngZone) {
76
78
  * @param ngZone
77
79
  */
78
80
  function ngDocZoneDetach(ngZone) {
81
+ ngZone = ngZone || inject(NgZone);
79
82
  return pipe(zoneDetach(ngZone), zoneDetachSource(ngZone));
80
83
  }
81
84
  /**
@@ -83,6 +86,7 @@ function ngDocZoneDetach(ngZone) {
83
86
  * @param ngZone
84
87
  */
85
88
  function ngDocZoneOptimize(ngZone) {
89
+ ngZone = ngZone || inject(NgZone);
86
90
  return pipe(zoneDetach(ngZone), zoneDetachSource(ngZone), ngDocZoneAttach(ngZone));
87
91
  }
88
92
 
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-ui-kit-observables.mjs","sources":["../../../../libs/ui-kit/observables/from-subscribe.ts","../../../../libs/ui-kit/observables/observable-state.ts","../../../../libs/ui-kit/observables/zone.ts","../../../../libs/ui-kit/observables/ng-doc-ui-kit-observables.ts"],"sourcesContent":["import {NgDocSubscribable} from '@ng-doc/ui-kit/types';\nimport {Observable, Subscriber, Unsubscribable} from 'rxjs';\n\n/**\n * @param subscribable\n */\nexport function fromSubscribe<T>(subscribable: NgDocSubscribable<T>): Observable<T> {\n\treturn new Observable<T>((observer: Subscriber<T>) => {\n\t\tconst subscription: Unsubscribable = subscribable.subscribe(\n\t\t\t(next: T) => observer.next(next),\n\t\t\t(error: unknown) => observer.error(error),\n\t\t\t() => observer.complete(),\n\t\t);\n\t\treturn () => subscription.unsubscribe();\n\t});\n}\n","import type { Observable, OperatorFunction } from 'rxjs';\nimport { of } from 'rxjs';\nimport { catchError, map, startWith, switchMap, tap } from 'rxjs/operators';\n\nexport type StatedObservable<T, E = Error> = Observable<ObservableState<T, E>>;\n\nexport interface ObservableState<T, E = Error> {\n\tresult: T | null;\n\terror: E | null;\n\tpending: boolean;\n}\n\n/**\n *\n * @param retry\n */\nexport function observableState<T, E = Error>(\n\tretry?: Observable<unknown>,\n): OperatorFunction<T, ObservableState<T, E>> {\n\treturn (source: Observable<T>) => {\n\t\tlet state: ObservableState<T, E> = {\n\t\t\tresult: null,\n\t\t\terror: null,\n\t\t\tpending: false,\n\t\t};\n\n\t\treturn (retry ? retry.pipe(startWith(null)) : of(null)).pipe(\n\t\t\tswitchMap(() =>\n\t\t\t\tsource.pipe(\n\t\t\t\t\t// Map result of observable\n\t\t\t\t\tmap((result: T) => ({ result, pending: false })),\n\t\t\t\t\t// Map error of observable\n\t\t\t\t\tcatchError((error: E) => of({ result: null, error, pending: false })),\n\t\t\t\t\t// Start from pending state and clear error\n\t\t\t\t\tstartWith({ error: null, pending: true }),\n\t\t\t\t\t// Merge the current state with new state\n\t\t\t\t\ttap(\n\t\t\t\t\t\t(updatedState: Partial<ObservableState<T, E>>) =>\n\t\t\t\t\t\t\t(state = { ...state, ...updatedState }),\n\t\t\t\t\t),\n\t\t\t\t\tmap(() => state),\n\t\t\t\t),\n\t\t\t),\n\t\t);\n\t};\n}\n","import { NgZone } from '@angular/core';\nimport {\n\tMonoTypeOperatorFunction,\n\tObservable,\n\tObserver,\n\tOperator,\n\tpipe,\n\tSubscriber,\n\tTeardownLogic,\n} from 'rxjs';\n\nclass NgDocZoneDetachSourceOperator<T> implements Operator<T, T> {\n\tconstructor(private readonly ngZone: NgZone) {}\n\n\tcall(observer: Observer<T>, source: Observable<T>): TeardownLogic {\n\t\treturn this.ngZone.runOutsideAngular(() => source.subscribe(observer));\n\t}\n}\n\n/**\n *\n * @param ngZone\n */\nfunction zoneDetachSource<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n\treturn (source: Observable<T>) => source.lift(new NgDocZoneDetachSourceOperator<T>(ngZone));\n}\n\n/**\n *\n * @param ngZone\n */\nfunction zoneDetach<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n\treturn (source: Observable<T>) =>\n\t\tnew Observable((subscriber: Subscriber<T>) =>\n\t\t\tsource.subscribe({\n\t\t\t\tnext: (value: T) => ngZone.runOutsideAngular(() => subscriber.next(value)),\n\t\t\t\terror: (error: unknown) => ngZone.runOutsideAngular(() => subscriber.error(error)),\n\t\t\t\tcomplete: () => ngZone.runOutsideAngular(() => subscriber.complete()),\n\t\t\t}),\n\t\t);\n}\n\n/**\n *\n * @param ngZone\n */\nexport function ngDocZoneAttach<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n\treturn (source: Observable<T>) =>\n\t\tnew Observable((subscriber: Subscriber<T>) =>\n\t\t\tsource.subscribe({\n\t\t\t\tnext: (value: T) => ngZone.run(() => subscriber.next(value)),\n\t\t\t\terror: (error: unknown) => ngZone.run(() => subscriber.error(error)),\n\t\t\t\tcomplete: () => ngZone.run(() => subscriber.complete()),\n\t\t\t}),\n\t\t);\n}\n\n/**\n *\n * @param ngZone\n */\nexport function ngDocZoneDetach<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n\treturn pipe(zoneDetach(ngZone), zoneDetachSource(ngZone));\n}\n\n/**\n *\n * @param ngZone\n */\nexport function ngDocZoneOptimize<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n\treturn pipe(zoneDetach(ngZone), zoneDetachSource(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UAAU,CAAC,CAAC,UAAyB,KACxC,MAAM,CAAC,SAAS,CAAC;AAChB,QAAA,IAAI,EAAE,CAAC,KAAQ,KAAK,MAAM,CAAC,GAAG,CAAC,MAAM,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAC5D,QAAA,KAAK,EAAE,CAAC,KAAc,KAAK,MAAM,CAAC,GAAG,CAAC,MAAM,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AACpE,QAAA,QAAQ,EAAE,MAAM,MAAM,CAAC,GAAG,CAAC,MAAM,UAAU,CAAC,QAAQ,EAAE,CAAC;AACvD,KAAA,CAAC,CACF,CAAC;AACJ,CAAC;AAED;;;AAGG;AACG,SAAU,eAAe,CAAI,MAAc,EAAA;AAChD,IAAA,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAC;AAC3D,CAAC;AAED;;;AAGG;AACG,SAAU,iBAAiB,CAAI,MAAc,EAAA;AAClD,IAAA,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC;AACpF;;ACvEA;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-ui-kit-observables.mjs","sources":["../../../../libs/ui-kit/observables/from-subscribe.ts","../../../../libs/ui-kit/observables/observable-state.ts","../../../../libs/ui-kit/observables/zone.ts","../../../../libs/ui-kit/observables/ng-doc-ui-kit-observables.ts"],"sourcesContent":["import {NgDocSubscribable} from '@ng-doc/ui-kit/types';\nimport {Observable, Subscriber, Unsubscribable} from 'rxjs';\n\n/**\n * @param subscribable\n */\nexport function fromSubscribe<T>(subscribable: NgDocSubscribable<T>): Observable<T> {\n\treturn new Observable<T>((observer: Subscriber<T>) => {\n\t\tconst subscription: Unsubscribable = subscribable.subscribe(\n\t\t\t(next: T) => observer.next(next),\n\t\t\t(error: unknown) => observer.error(error),\n\t\t\t() => observer.complete(),\n\t\t);\n\t\treturn () => subscription.unsubscribe();\n\t});\n}\n","import type { Observable, OperatorFunction } from 'rxjs';\nimport { of } from 'rxjs';\nimport { catchError, map, startWith, switchMap, tap } from 'rxjs/operators';\n\nexport type StatedObservable<T, E = Error> = Observable<ObservableState<T, E>>;\n\nexport interface ObservableState<T, E = Error> {\n\tresult: T | null;\n\terror: E | null;\n\tpending: boolean;\n}\n\n/**\n *\n * @param retry\n */\nexport function observableState<T, E = Error>(\n\tretry?: Observable<unknown>,\n): OperatorFunction<T, ObservableState<T, E>> {\n\treturn (source: Observable<T>) => {\n\t\tlet state: ObservableState<T, E> = {\n\t\t\tresult: null,\n\t\t\terror: null,\n\t\t\tpending: false,\n\t\t};\n\n\t\treturn (retry ? retry.pipe(startWith(null)) : of(null)).pipe(\n\t\t\tswitchMap(() =>\n\t\t\t\tsource.pipe(\n\t\t\t\t\t// Map result of observable\n\t\t\t\t\tmap((result: T) => ({ result, pending: false })),\n\t\t\t\t\t// Map error of observable\n\t\t\t\t\tcatchError((error: E) => of({ result: null, error, pending: false })),\n\t\t\t\t\t// Start from pending state and clear error\n\t\t\t\t\tstartWith({ error: null, pending: true }),\n\t\t\t\t\t// Merge the current state with new state\n\t\t\t\t\ttap(\n\t\t\t\t\t\t(updatedState: Partial<ObservableState<T, E>>) =>\n\t\t\t\t\t\t\t(state = { ...state, ...updatedState }),\n\t\t\t\t\t),\n\t\t\t\t\tmap(() => state),\n\t\t\t\t),\n\t\t\t),\n\t\t);\n\t};\n}\n","import { inject, NgZone } from '@angular/core';\nimport {\n MonoTypeOperatorFunction,\n Observable,\n Observer,\n Operator,\n pipe,\n Subscriber,\n TeardownLogic,\n} from 'rxjs';\n\nclass NgDocZoneDetachSourceOperator<T> implements Operator<T, T> {\n constructor(private readonly ngZone: NgZone) {}\n\n call(observer: Observer<T>, source: Observable<T>): TeardownLogic {\n return this.ngZone.runOutsideAngular(() => source.subscribe(observer));\n }\n}\n\n/**\n *\n * @param ngZone\n */\nfunction zoneDetachSource<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n return (source: Observable<T>) => source.lift(new NgDocZoneDetachSourceOperator<T>(ngZone));\n}\n\n/**\n *\n * @param ngZone\n */\nfunction zoneDetach<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n return (source: Observable<T>) =>\n new Observable((subscriber: Subscriber<T>) =>\n source.subscribe({\n next: (value: T) => ngZone.runOutsideAngular(() => subscriber.next(value)),\n error: (error: unknown) => ngZone.runOutsideAngular(() => subscriber.error(error)),\n complete: () => ngZone.runOutsideAngular(() => subscriber.complete()),\n }),\n );\n}\n\n/**\n *\n * @param ngZone\n */\nexport function ngDocZoneAttach<T>(ngZone?: NgZone): MonoTypeOperatorFunction<T> {\n ngZone = ngZone || inject(NgZone);\n\n return (source: Observable<T>) =>\n new Observable((subscriber: Subscriber<T>) =>\n source.subscribe({\n next: (value: T) => ngZone.run(() => subscriber.next(value)),\n error: (error: unknown) => ngZone.run(() => subscriber.error(error)),\n complete: () => ngZone.run(() => subscriber.complete()),\n }),\n );\n}\n\n/**\n *\n * @param ngZone\n */\nexport function ngDocZoneDetach<T>(ngZone?: NgZone): MonoTypeOperatorFunction<T> {\n ngZone = ngZone || inject(NgZone);\n\n return pipe(zoneDetach(ngZone), zoneDetachSource(ngZone));\n}\n\n/**\n *\n * @param ngZone\n */\nexport function ngDocZoneOptimize<T>(ngZone?: NgZone): MonoTypeOperatorFunction<T> {\n ngZone = ngZone || inject(NgZone);\n\n return pipe(zoneDetach(ngZone), zoneDetachSource(ngZone), ngDocZoneAttach(ngZone));\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA;;AAEG;AACG,SAAU,aAAa,CAAI,YAAkC,EAAA;AAClE,IAAA,OAAO,IAAI,UAAU,CAAI,CAAC,QAAuB,KAAI;AACpD,QAAA,MAAM,YAAY,GAAmB,YAAY,CAAC,SAAS,CAC1D,CA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E,CAAC,KAAc,KAAK,MAAM,CAAC,GAAG,CAAC,MAAM,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AACpE,QAAA,QAAQ,EAAE,MAAM,MAAM,CAAC,GAAG,CAAC,MAAM,UAAU,CAAC,QAAQ,EAAE,CAAC;AACxD,KAAA,CAAC,CACH,CAAC;AACN,CAAC;AAED;;;AAGG;AACG,SAAU,eAAe,CAAI,MAAe,EAAA;AAChD,IAAA,MAAM,GAAG,MAAM,IAAI,MAAM,CAAC,MAAM,CAAC,CAAC;AAElC,IAAA,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAC;AAC5D,CAAC;AAED;;;AAGG;AACG,SAAU,iBAAiB,CAAI,MAAe,EAAA;AAClD,IAAA,MAAM,GAAG,MAAM,IAAI,MAAM,CAAC,MAAM,CAAC,CAAC;AAElC,IAAA,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC;AACrF;;AC7EA;;AAEG;;;;"}
@@ -6,10 +6,10 @@ class NgDocAsArrayPipe {
6
6
  transform(value) {
7
7
  return asArray(value);
8
8
  }
9
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocAsArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
10
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: NgDocAsArrayPipe, isStandalone: true, name: "asArray" }); }
9
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocAsArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
10
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: NgDocAsArrayPipe, isStandalone: true, name: "asArray" }); }
11
11
  }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocAsArrayPipe, decorators: [{
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocAsArrayPipe, decorators: [{
13
13
  type: Pipe,
14
14
  args: [{
15
15
  name: 'asArray',
@@ -5,10 +5,10 @@ class NgDocBindPipe {
5
5
  transform(fn, _this) {
6
6
  return fn.bind(_this);
7
7
  }
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocBindPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
9
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: NgDocBindPipe, isStandalone: true, name: "bind" }); }
8
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocBindPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
9
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: NgDocBindPipe, isStandalone: true, name: "bind" }); }
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocBindPipe, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocBindPipe, decorators: [{
12
12
  type: Pipe,
13
13
  args: [{
14
14
  name: 'bind',
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-ui-kit-pipes-bind.mjs","sources":["../../../../libs/ui-kit/pipes/bind/bind.pipe.ts","../../../../libs/ui-kit/pipes/bind/ng-doc-ui-kit-pipes-bind.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { FunctionType } from '@ng-doc/core';\n\n@Pipe({\n\tname: 'bind',\n\tstandalone: true,\n})\nexport class NgDocBindPipe implements PipeTransform {\n\ttransform<R>(fn: FunctionType<R>, _this: unknown): FunctionType<R> {\n\t\treturn fn.bind(_this);\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAOa,aAAa,CAAA;IACzB,SAAS,CAAI,EAAmB,EAAE,KAAc,EAAA;AAC/C,QAAA,OAAO,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACtB;8GAHW,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACL,oBAAA,IAAI,EAAE,MAAM;AACZ,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;;;ACND;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-ui-kit-pipes-bind.mjs","sources":["../../../../libs/ui-kit/pipes/bind/bind.pipe.ts","../../../../libs/ui-kit/pipes/bind/ng-doc-ui-kit-pipes-bind.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { FunctionType } from '@ng-doc/core';\n\n@Pipe({\n name: 'bind',\n standalone: true,\n})\nexport class NgDocBindPipe implements PipeTransform {\n transform<R>(fn: FunctionType<R>, _this: unknown): FunctionType<R> {\n return fn.bind(_this);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAOa,aAAa,CAAA;IACxB,SAAS,CAAI,EAAmB,EAAE,KAAc,EAAA;AAC9C,QAAA,OAAO,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACvB;8GAHU,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,MAAM;AACZ,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA,CAAA;;;ACND;;AAEG;;;;"}
@@ -5,10 +5,10 @@ class NgDocExecutePipe {
5
5
  transform(fn, ...args) {
6
6
  return fn(...args);
7
7
  }
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocExecutePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
9
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: NgDocExecutePipe, isStandalone: true, name: "execute" }); }
8
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocExecutePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
9
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: NgDocExecutePipe, isStandalone: true, name: "execute" }); }
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocExecutePipe, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocExecutePipe, decorators: [{
12
12
  type: Pipe,
13
13
  args: [{
14
14
  name: 'execute',
@@ -12,10 +12,10 @@ class NgDocHighlighterPipe {
12
12
  });
13
13
  return input;
14
14
  }
15
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocHighlighterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
16
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: NgDocHighlighterPipe, isStandalone: true, name: "ngDocHighlighterPipe" }); }
15
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocHighlighterPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
16
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.1.1", ngImport: i0, type: NgDocHighlighterPipe, isStandalone: true, name: "ngDocHighlighterPipe" }); }
17
17
  }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocHighlighterPipe, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocHighlighterPipe, decorators: [{
19
19
  type: Pipe,
20
20
  args: [{
21
21
  name: 'ngDocHighlighterPipe',
@@ -1,9 +1,10 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, Injectable } from '@angular/core';
3
- import { asArray } from '@ng-doc/core';
2
+ import { InjectionToken, inject, Injectable } from '@angular/core';
3
+ import { asArray } from '@ng-doc/core/helpers/as-array';
4
4
  import { NgDocOverlayContainerComponent } from '@ng-doc/ui-kit/components/overlay-container';
5
5
  import { NgDocOverlayService } from '@ng-doc/ui-kit/services/overlay';
6
6
 
7
+ const NG_DOC_DIALOG_DATA = new InjectionToken('NG_DOC_DIALOG_DATA');
7
8
  class NgDocDialogService {
8
9
  constructor() {
9
10
  this.overlayService = inject(NgDocOverlayService);
@@ -11,19 +12,20 @@ class NgDocDialogService {
11
12
  open(content, config) {
12
13
  return this.overlayService.open(content, {
13
14
  overlayContainer: NgDocOverlayContainerComponent,
14
- positionStrategy: this.overlayService
15
- .globalPositionStrategy()
16
- .centerHorizontally()
17
- .centerVertically(),
18
- scrollStrategy: this.overlayService.scrollStrategy().block(),
15
+ positionStrategy: config?.positionStrategy ??
16
+ this.overlayService.globalPositionStrategy().centerHorizontally().centerVertically(),
17
+ scrollStrategy: config?.scrollStrategy ?? this.overlayService.scrollStrategy().block(),
19
18
  ...config,
20
19
  panelClass: ['ng-doc-dialog', ...asArray(config?.panelClass)],
21
- });
20
+ }, [{ provide: NG_DOC_DIALOG_DATA, useValue: config?.data }]);
22
21
  }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
24
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocDialogService, providedIn: 'root' }); }
22
+ positionStrategy() {
23
+ return this.overlayService.globalPositionStrategy();
24
+ }
25
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocDialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
26
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocDialogService, providedIn: 'root' }); }
25
27
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocDialogService, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocDialogService, decorators: [{
27
29
  type: Injectable,
28
30
  args: [{
29
31
  providedIn: 'root',
@@ -34,5 +36,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImpor
34
36
  * Generated bundle index. Do not edit.
35
37
  */
36
38
 
37
- export { NgDocDialogService };
39
+ export { NG_DOC_DIALOG_DATA, NgDocDialogService };
38
40
  //# sourceMappingURL=ng-doc-ui-kit-services-dialog.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-ui-kit-services-dialog.mjs","sources":["../../../../libs/ui-kit/services/dialog/dialog.service.ts","../../../../libs/ui-kit/services/dialog/ng-doc-ui-kit-services-dialog.ts"],"sourcesContent":["import { inject, Injectable } from '@angular/core';\nimport { asArray } from '@ng-doc/core';\nimport { NgDocOverlayRef } from '@ng-doc/ui-kit/classes';\nimport { NgDocOverlayContainerComponent } from '@ng-doc/ui-kit/components/overlay-container';\nimport { NgDocOverlayService } from '@ng-doc/ui-kit/services/overlay';\nimport { NgDocContent } from '@ng-doc/ui-kit/types';\n\nimport { NgDocDialogConfig } from './dialog.config';\n\n@Injectable({\n\tprovidedIn: 'root',\n})\nexport class NgDocDialogService {\n\tprotected overlayService: NgDocOverlayService = inject(NgDocOverlayService);\n\n\topen<R = unknown>(content: NgDocContent, config?: NgDocDialogConfig): NgDocOverlayRef<R> {\n\t\treturn this.overlayService.open(content, {\n\t\t\toverlayContainer: NgDocOverlayContainerComponent,\n\t\t\tpositionStrategy: this.overlayService\n\t\t\t\t.globalPositionStrategy()\n\t\t\t\t.centerHorizontally()\n\t\t\t\t.centerVertically(),\n\t\t\tscrollStrategy: this.overlayService.scrollStrategy().block(),\n\t\t\t...config,\n\t\t\tpanelClass: ['ng-doc-dialog', ...asArray(config?.panelClass)],\n\t\t});\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAYa,kBAAkB,CAAA;AAH/B,IAAA,WAAA,GAAA;AAIW,QAAA,IAAA,CAAA,cAAc,GAAwB,MAAM,CAAC,mBAAmB,CAAC,CAAC;AAc5E,KAAA;IAZA,IAAI,CAAc,OAAqB,EAAE,MAA0B,EAAA;AAClE,QAAA,OAAO,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,EAAE;AACxC,YAAA,gBAAgB,EAAE,8BAA8B;YAChD,gBAAgB,EAAE,IAAI,CAAC,cAAc;AACnC,iBAAA,sBAAsB,EAAE;AACxB,iBAAA,kBAAkB,EAAE;AACpB,iBAAA,gBAAgB,EAAE;YACpB,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,cAAc,EAAE,CAAC,KAAK,EAAE;AAC5D,YAAA,GAAG,MAAM;YACT,UAAU,EAAE,CAAC,eAAe,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;AAC7D,SAAA,CAAC,CAAC;KACH;8GAdW,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,cAFlB,MAAM,EAAA,CAAA,CAAA,EAAA;;2FAEN,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAH9B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACX,oBAAA,UAAU,EAAE,MAAM;AAClB,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-ui-kit-services-dialog.mjs","sources":["../../../../libs/ui-kit/services/dialog/dialog.service.ts","../../../../libs/ui-kit/services/dialog/ng-doc-ui-kit-services-dialog.ts"],"sourcesContent":["import { GlobalPositionStrategy } from '@angular/cdk/overlay';\nimport { inject, Injectable, InjectionToken } from '@angular/core';\nimport { asArray } from '@ng-doc/core/helpers/as-array';\nimport { NgDocOverlayRef } from '@ng-doc/ui-kit/classes';\nimport { NgDocOverlayContainerComponent } from '@ng-doc/ui-kit/components/overlay-container';\nimport { NgDocOverlayService } from '@ng-doc/ui-kit/services/overlay';\nimport { NgDocContent } from '@ng-doc/ui-kit/types';\n\nimport { NgDocDialogConfig } from './dialog.config';\n\nexport const NG_DOC_DIALOG_DATA = new InjectionToken<unknown>('NG_DOC_DIALOG_DATA');\n\n@Injectable({\n providedIn: 'root',\n})\nexport class NgDocDialogService {\n protected overlayService: NgDocOverlayService = inject(NgDocOverlayService);\n\n open<R = unknown>(content: NgDocContent, config?: NgDocDialogConfig): NgDocOverlayRef<R> {\n return this.overlayService.open(\n content,\n {\n overlayContainer: NgDocOverlayContainerComponent,\n positionStrategy:\n config?.positionStrategy ??\n this.overlayService.globalPositionStrategy().centerHorizontally().centerVertically(),\n scrollStrategy: config?.scrollStrategy ?? this.overlayService.scrollStrategy().block(),\n ...config,\n panelClass: ['ng-doc-dialog', ...asArray(config?.panelClass)],\n },\n [{ provide: NG_DOC_DIALOG_DATA, useValue: config?.data }],\n );\n }\n\n positionStrategy(): GlobalPositionStrategy {\n return this.overlayService.globalPositionStrategy();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAUa,kBAAkB,GAAG,IAAI,cAAc,CAAU,oBAAoB,EAAE;MAKvE,kBAAkB,CAAA;AAH/B,IAAA,WAAA,GAAA;AAIY,QAAA,IAAA,CAAA,cAAc,GAAwB,MAAM,CAAC,mBAAmB,CAAC,CAAC;AAqB7E,KAAA;IAnBC,IAAI,CAAc,OAAqB,EAAE,MAA0B,EAAA;AACjE,QAAA,OAAO,IAAI,CAAC,cAAc,CAAC,IAAI,CAC7B,OAAO,EACP;AACE,YAAA,gBAAgB,EAAE,8BAA8B;YAChD,gBAAgB,EACd,MAAM,EAAE,gBAAgB;gBACxB,IAAI,CAAC,cAAc,CAAC,sBAAsB,EAAE,CAAC,kBAAkB,EAAE,CAAC,gBAAgB,EAAE;AACtF,YAAA,cAAc,EAAE,MAAM,EAAE,cAAc,IAAI,IAAI,CAAC,cAAc,CAAC,cAAc,EAAE,CAAC,KAAK,EAAE;AACtF,YAAA,GAAG,MAAM;YACT,UAAU,EAAE,CAAC,eAAe,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;AAC9D,SAAA,EACD,CAAC,EAAE,OAAO,EAAE,kBAAkB,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAC1D,CAAC;KACH;IAED,gBAAgB,GAAA;AACd,QAAA,OAAO,IAAI,CAAC,cAAc,CAAC,sBAAsB,EAAE,CAAC;KACrD;8GArBU,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,cAFjB,MAAM,EAAA,CAAA,CAAA,EAAA;;2FAEP,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAH9B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;ACdD;;AAEG;;;;"}
@@ -32,14 +32,14 @@ let NgDocNotifyService = class NgDocNotifyService {
32
32
  closeAnimation: notificationCloseAnimation,
33
33
  });
34
34
  }
35
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocNotifyService, deps: [{ token: i1.NgDocOverlayService }], target: i0.ɵɵFactoryTarget.Injectable }); }
36
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocNotifyService, providedIn: 'root' }); }
35
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocNotifyService, deps: [{ token: i1.NgDocOverlayService }], target: i0.ɵɵFactoryTarget.Injectable }); }
36
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocNotifyService, providedIn: 'root' }); }
37
37
  };
38
38
  NgDocNotifyService = __decorate([
39
39
  UntilDestroy(),
40
40
  __metadata("design:paramtypes", [NgDocOverlayService])
41
41
  ], NgDocNotifyService);
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocNotifyService, decorators: [{
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocNotifyService, decorators: [{
43
43
  type: Injectable,
44
44
  args: [{
45
45
  providedIn: 'root',
@@ -40,10 +40,10 @@ class NgDocOverlayStrategy {
40
40
  });
41
41
  }
42
42
  }
43
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocOverlayStrategy, deps: [{ token: DOCUMENT }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
44
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocOverlayStrategy, providedIn: 'root' }); }
43
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocOverlayStrategy, deps: [{ token: DOCUMENT }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
44
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocOverlayStrategy, providedIn: 'root' }); }
45
45
  }
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocOverlayStrategy, decorators: [{
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocOverlayStrategy, decorators: [{
47
47
  type: Injectable,
48
48
  args: [{ providedIn: 'root' }]
49
49
  }], ctorParameters: () => [{ type: Document, decorators: [{
@@ -27,8 +27,8 @@ class NgDocOverlayService {
27
27
  if (content instanceof PolymorpheusComponent) {
28
28
  content = new PolymorpheusComponent(content.component, this.createInjector(overlayRef, providers, config.viewContainerRef?.injector));
29
29
  }
30
- containerRef.instance.config = config;
31
- containerRef.instance.content = content;
30
+ containerRef.setInput('config', config);
31
+ containerRef.setInput('content', content);
32
32
  containerRef.instance.markForCheck();
33
33
  return overlayRef;
34
34
  }
@@ -67,10 +67,10 @@ class NgDocOverlayService {
67
67
  parent: injector || this.injector,
68
68
  });
69
69
  }
70
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocOverlayService, deps: [{ token: i1.Overlay }, { token: i0.NgZone }, { token: i0.Injector }, { token: i2.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
71
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocOverlayService, providedIn: 'root' }); }
70
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocOverlayService, deps: [{ token: i1.Overlay }, { token: i0.NgZone }, { token: i0.Injector }, { token: i2.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
71
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocOverlayService, providedIn: 'root' }); }
72
72
  }
73
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocOverlayService, decorators: [{
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocOverlayService, decorators: [{
74
74
  type: Injectable,
75
75
  args: [{ providedIn: 'root' }]
76
76
  }], ctorParameters: () => [{ type: i1.Overlay }, { type: i0.NgZone }, { type: i0.Injector }, { type: i2.Router, decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-ui-kit-services-overlay.mjs","sources":["../../../../libs/ui-kit/services/overlay/overlay.service.ts","../../../../libs/ui-kit/services/overlay/ng-doc-ui-kit-services-overlay.ts"],"sourcesContent":["import {\n\tFlexibleConnectedPositionStrategy,\n\tGlobalPositionStrategy,\n\tOverlay,\n\tOverlayRef,\n\tScrollStrategyOptions,\n} from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport {\n\tComponentRef,\n\tInjectable,\n\tInjector,\n\tNgZone,\n\tOptional,\n\tStaticProvider,\n} from '@angular/core';\nimport { Router } from '@angular/router';\nimport { asArray } from '@ng-doc/core/helpers/as-array';\nimport { NgDocOverlayRef } from '@ng-doc/ui-kit/classes';\nimport { NgDocOverlayConfig, NgDocOverlayContainer } from '@ng-doc/ui-kit/interfaces';\nimport { NgDocContent, NgDocOverlayOrigin, NgDocOverlayPosition } from '@ng-doc/ui-kit/types';\nimport { NgDocOverlayUtils } from '@ng-doc/ui-kit/utils';\nimport { PolymorpheusComponent } from '@tinkoff/ng-polymorpheus';\nimport { take } from 'rxjs/operators';\n\n@Injectable({ providedIn: 'root' })\nexport class NgDocOverlayService {\n\tconstructor(\n\t\tprivate overlay: Overlay,\n\t\tprivate ngZone: NgZone,\n\t\tprivate injector: Injector,\n\t\t@Optional()\n\t\tprivate router?: Router,\n\t) {}\n\n\topen<R>(\n\t\tcontent: NgDocContent,\n\t\tconfig: NgDocOverlayConfig,\n\t\tproviders: StaticProvider[] = [],\n\t): NgDocOverlayRef<R> {\n\t\tconst overlayRef: OverlayRef = this.createOverlay(config);\n\t\treturn this.attachTooltipContainer(content, overlayRef, config, providers);\n\t}\n\n\tprivate attachTooltipContainer<R>(\n\t\tcontent: NgDocContent,\n\t\toverlay: OverlayRef,\n\t\tconfig: NgDocOverlayConfig,\n\t\tproviders: StaticProvider[],\n\t): NgDocOverlayRef<R> {\n\t\tconst containerPortal: ComponentPortal<NgDocOverlayContainer> = new ComponentPortal(\n\t\t\tconfig.overlayContainer,\n\t\t\tconfig.viewContainerRef,\n\t\t\tconfig.viewContainerRef?.injector,\n\t\t);\n\t\tconst containerRef: ComponentRef<NgDocOverlayContainer> = overlay.attach(containerPortal);\n\t\tconst overlayRef: NgDocOverlayRef<R> = new NgDocOverlayRef<R>(\n\t\t\toverlay,\n\t\t\tconfig,\n\t\t\tcontainerRef.instance,\n\t\t\tthis.ngZone,\n\t\t\tthis.router,\n\t\t);\n\n\t\tif (content instanceof PolymorpheusComponent) {\n\t\t\tcontent = new PolymorpheusComponent(\n\t\t\t\tcontent.component,\n\t\t\t\tthis.createInjector(overlayRef, providers, config.viewContainerRef?.injector),\n\t\t\t);\n\t\t}\n\n\t\tcontainerRef.instance.config = config;\n\t\tcontainerRef.instance.content = content;\n\t\tcontainerRef.instance.markForCheck();\n\n\t\treturn overlayRef;\n\t}\n\n\tprivate createOverlay(config: NgDocOverlayConfig): OverlayRef {\n\t\tconst overlayRef: OverlayRef = this.overlay.create(config);\n\t\toverlayRef\n\t\t\t.detachments()\n\t\t\t.pipe(take(1))\n\t\t\t.subscribe(() => {\n\t\t\t\toverlayRef.hasAttached() && overlayRef.detach();\n\t\t\t});\n\t\treturn overlayRef;\n\t}\n\n\tconnectedPositionStrategy(\n\t\torigin: NgDocOverlayOrigin,\n\t\tpositions: NgDocOverlayPosition | NgDocOverlayPosition[],\n\t): FlexibleConnectedPositionStrategy {\n\t\treturn this.overlay\n\t\t\t.position()\n\t\t\t.flexibleConnectedTo(origin)\n\t\t\t.withPositions(NgDocOverlayUtils.toConnectedPositions(asArray(positions)))\n\t\t\t.withPush(true);\n\t}\n\n\tglobalPositionStrategy(): GlobalPositionStrategy {\n\t\treturn this.overlay.position().global();\n\t}\n\n\tscrollStrategy(): ScrollStrategyOptions {\n\t\treturn this.overlay.scrollStrategies;\n\t}\n\n\tprivate createInjector<R>(\n\t\toverlayRef: NgDocOverlayRef<R>,\n\t\tproviders: StaticProvider[],\n\t\tinjector?: Injector,\n\t): Injector {\n\t\treturn Injector.create({\n\t\t\tproviders: [\n\t\t\t\t...providers,\n\t\t\t\t{\n\t\t\t\t\tprovide: NgDocOverlayRef,\n\t\t\t\t\tuseValue: overlayRef,\n\t\t\t\t},\n\t\t\t],\n\t\t\tparent: injector || this.injector,\n\t\t});\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MA0Ba,mBAAmB,CAAA;AAC/B,IAAA,WAAA,CACS,OAAgB,EAChB,MAAc,EACd,QAAkB,EAElB,MAAe,EAAA;QAJf,IAAO,CAAA,OAAA,GAAP,OAAO,CAAS;QAChB,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;QACd,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAU;QAElB,IAAM,CAAA,MAAA,GAAN,MAAM,CAAS;KACpB;AAEJ,IAAA,IAAI,CACH,OAAqB,EACrB,MAA0B,EAC1B,YAA8B,EAAE,EAAA;QAEhC,MAAM,UAAU,GAAe,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;AAC1D,QAAA,OAAO,IAAI,CAAC,sBAAsB,CAAC,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,CAAC,CAAC;KAC3E;AAEO,IAAA,sBAAsB,CAC7B,OAAqB,EACrB,OAAmB,EACnB,MAA0B,EAC1B,SAA2B,EAAA;AAE3B,QAAA,MAAM,eAAe,GAA2C,IAAI,eAAe,CAClF,MAAM,CAAC,gBAAgB,EACvB,MAAM,CAAC,gBAAgB,EACvB,MAAM,CAAC,gBAAgB,EAAE,QAAQ,CACjC,CAAC;QACF,MAAM,YAAY,GAAwC,OAAO,CAAC,MAAM,CAAC,eAAe,CAA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../libs/ui-kit/services/overlay/ng-doc-ui-kit-services-overlay.ts"],"sourcesContent":["import {\n FlexibleConnectedPositionStrategy,\n GlobalPositionStrategy,\n Overlay,\n OverlayRef,\n ScrollStrategyOptions,\n} from '@angular/cdk/overlay';\nimport { ComponentPortal } from '@angular/cdk/portal';\nimport {\n ComponentRef,\n Injectable,\n Injector,\n NgZone,\n Optional,\n StaticProvider,\n} from '@angular/core';\nimport { Router } from '@angular/router';\nimport { asArray } from '@ng-doc/core/helpers/as-array';\nimport { NgDocOverlayRef } from '@ng-doc/ui-kit/classes';\nimport { NgDocOverlayConfig, NgDocOverlayContainer } from '@ng-doc/ui-kit/interfaces';\nimport { NgDocContent, NgDocOverlayOrigin, NgDocOverlayPosition } from '@ng-doc/ui-kit/types';\nimport { NgDocOverlayUtils } from '@ng-doc/ui-kit/utils';\nimport { PolymorpheusComponent } from '@tinkoff/ng-polymorpheus';\nimport { take } from 'rxjs/operators';\n\n@Injectable({ providedIn: 'root' })\nexport class NgDocOverlayService {\n constructor(\n private overlay: Overlay,\n private ngZone: NgZone,\n private injector: Injector,\n @Optional()\n private router?: Router,\n ) {}\n\n open<R>(\n content: NgDocContent,\n config: NgDocOverlayConfig,\n providers: StaticProvider[] = [],\n ): NgDocOverlayRef<R> {\n const overlayRef: OverlayRef = this.createOverlay(config);\n return this.attachTooltipContainer(content, overlayRef, config, providers);\n }\n\n private attachTooltipContainer<R>(\n content: NgDocContent,\n overlay: OverlayRef,\n config: NgDocOverlayConfig,\n providers: StaticProvider[],\n ): NgDocOverlayRef<R> {\n const containerPortal: ComponentPortal<NgDocOverlayContainer> = new ComponentPortal(\n config.overlayContainer,\n config.viewContainerRef,\n config.viewContainerRef?.injector,\n );\n const containerRef: ComponentRef<NgDocOverlayContainer> = overlay.attach(containerPortal);\n const overlayRef: NgDocOverlayRef<R> = new NgDocOverlayRef<R>(\n overlay,\n config,\n containerRef.instance,\n this.ngZone,\n this.router,\n );\n\n if (content instanceof PolymorpheusComponent) {\n content = new PolymorpheusComponent(\n content.component,\n this.createInjector(overlayRef, providers, config.viewContainerRef?.injector),\n );\n }\n\n containerRef.setInput('config', config);\n containerRef.setInput('content', content);\n containerRef.instance.markForCheck();\n\n return overlayRef;\n }\n\n private createOverlay(config: NgDocOverlayConfig): OverlayRef {\n const overlayRef: OverlayRef = this.overlay.create(config);\n overlayRef\n .detachments()\n .pipe(take(1))\n .subscribe(() => {\n overlayRef.hasAttached() && overlayRef.detach();\n });\n return overlayRef;\n }\n\n connectedPositionStrategy(\n origin: NgDocOverlayOrigin,\n positions: NgDocOverlayPosition | NgDocOverlayPosition[],\n ): FlexibleConnectedPositionStrategy {\n return this.overlay\n .position()\n .flexibleConnectedTo(origin)\n .withPositions(NgDocOverlayUtils.toConnectedPositions(asArray(positions)))\n .withPush(true);\n }\n\n globalPositionStrategy(): GlobalPositionStrategy {\n return this.overlay.position().global();\n }\n\n scrollStrategy(): ScrollStrategyOptions {\n return this.overlay.scrollStrategies;\n }\n\n private createInjector<R>(\n overlayRef: NgDocOverlayRef<R>,\n providers: StaticProvider[],\n injector?: Injector,\n ): Injector {\n return Injector.create({\n providers: [\n ...providers,\n {\n provide: NgDocOverlayRef,\n useValue: overlayRef,\n },\n ],\n parent: injector || this.injector,\n });\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;MA0Ba,mBAAmB,CAAA;AAC9B,IAAA,WAAA,CACU,OAAgB,EAChB,MAAc,EACd,QAAkB,EAElB,MAAe,EAAA;QAJf,IAAO,CAAA,OAAA,GAAP,OAAO,CAAS;QAChB,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;QACd,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAU;QAElB,IAAM,CAAA,MAAA,GAAN,MAAM,CAAS;KACrB;AAEJ,IAAA,IAAI,CACF,OAAqB,EACrB,MAA0B,EAC1B,YAA8B,EAAE,EAAA;QAEhC,MAAM,UAAU,GAAe,IAAI,C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A,CAAA,CAAA,EAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,cADN,MAAM,EAAA,CAAA,CAAA,EAAA;;2FACnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAD/B,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAA;;0BAM7B,QAAQ;;;AC/Bb;;AAEG;;;;"}
@@ -22,10 +22,10 @@ class NgDocScrollService {
22
22
  unblock() {
23
23
  this.scrollStrategy.disable();
24
24
  }
25
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocScrollService, deps: [{ token: DOCUMENT }, { token: i1.ViewportRuler }], target: i0.ɵɵFactoryTarget.Injectable }); }
26
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocScrollService, providedIn: 'root' }); }
25
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocScrollService, deps: [{ token: DOCUMENT }, { token: i1.ViewportRuler }], target: i0.ɵɵFactoryTarget.Injectable }); }
26
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocScrollService, providedIn: 'root' }); }
27
27
  }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: NgDocScrollService, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.1", ngImport: i0, type: NgDocScrollService, decorators: [{
29
29
  type: Injectable,
30
30
  args: [{
31
31
  providedIn: 'root',
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-ui-kit-types.mjs","sources":["../../../../libs/ui-kit/types/content.ts","../../../../libs/ui-kit/types/ng-doc-ui-kit-types.ts"],"sourcesContent":["import { Injector, TemplateRef, Type } from '@angular/core';\nimport { NG_DOC_COMPONENT_CONTEXT } from '@ng-doc/ui-kit/tokens';\nimport {\n\tPolymorpheusComponent,\n\tPolymorpheusHandler,\n\tPolymorpheusTemplate,\n} from '@tinkoff/ng-polymorpheus';\n\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport type NgDocContent<C extends object = {}> =\n\t| string\n\t| number\n\t| null\n\t| undefined\n\t| TemplateRef<C>\n\t| PolymorpheusTemplate<C>\n\t| PolymorpheusHandler<C>\n\t| NgDocComponentContent<object, C>;\n\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport class NgDocComponentContent<\n\tT extends object,\n\tC extends object = object,\n> extends PolymorpheusComponent<T, C> {\n\tconstructor(override readonly component: Type<T>, readonly injectorRef?: Injector) {\n\t\tsuper(component);\n\t}\n\n\toverride createInjector<C>(injector: Injector, useValue?: C): Injector {\n\t\treturn Injector.create({\n\t\t\tparent: this.injectorRef || injector,\n\t\t\tproviders: [\n\t\t\t\t{\n\t\t\t\t\tprovide: NG_DOC_COMPONENT_CONTEXT,\n\t\t\t\t\tuseValue,\n\t\t\t\t},\n\t\t\t],\n\t\t});\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAmBA;AACM,MAAO,qBAGX,SAAQ,qBAA2B,CAAA;IACpC,WAA8B,CAAA,SAAkB,EAAW,WAAsB,EAAA;QAChF,KAAK,CAAC,SAAS,CAAC,CAAC;QADY,IAAS,CAAA,SAAA,GAAT,SAAS,CAAS;QAAW,IAAW,CAAA,WAAA,GAAX,WAAW,CAAW;KAEhF;IAEQ,cAAc,CAAI,QAAkB,EAAE,QAAY,EAAA;QAC1D,OAAO,QAAQ,CAAC,MAAM,CAAC;AACtB,YAAA,MAAM,EAAE,IAAI,CAAC,WAAW,IAAI,QAAQ;AACpC,YAAA,SAAS,EAAE;AACV,gBAAA;AACC,oBAAA,OAAO,EAAE,wBAAwB;oBACjC,QAAQ;AACR,iBAAA;AACD,aAAA;AACD,SAAA,CAAC,CAAC;KACH;AACD;;ACvCD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-ui-kit-types.mjs","sources":["../../../../libs/ui-kit/types/content.ts","../../../../libs/ui-kit/types/ng-doc-ui-kit-types.ts"],"sourcesContent":["import { Injector, TemplateRef, Type } from '@angular/core';\nimport { NG_DOC_COMPONENT_CONTEXT } from '@ng-doc/ui-kit/tokens';\nimport {\n\tPolymorpheusComponent,\n\tPolymorpheusHandler,\n\tPolymorpheusTemplate,\n} from '@tinkoff/ng-polymorpheus';\n\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport type NgDocContent<C extends object = {}> =\n\t| string\n\t| number\n\t| null\n\t| undefined\n\t| TemplateRef<C>\n\t| PolymorpheusTemplate<C>\n\t| PolymorpheusHandler<C>\n\t| NgDocComponentContent<object, C>;\n\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport class NgDocComponentContent<\n\tT extends object,\n\tC extends object = object,\n> extends PolymorpheusComponent<T, C> {\n\tconstructor(\n\t\toverride readonly component: Type<T>,\n\t\treadonly injectorRef?: Injector,\n\t) {\n\t\tsuper(component);\n\t}\n\n\toverride createInjector<C>(injector: Injector, useValue?: C): Injector {\n\t\treturn Injector.create({\n\t\t\tparent: this.injectorRef || injector,\n\t\t\tproviders: [\n\t\t\t\t{\n\t\t\t\t\tprovide: NG_DOC_COMPONENT_CONTEXT,\n\t\t\t\t\tuseValue,\n\t\t\t\t},\n\t\t\t],\n\t\t});\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAmBA;AACM,MAAO,qBAGX,SAAQ,qBAA2B,CAAA;IACpC,WACmB,CAAA,SAAkB,EAC3B,WAAsB,EAAA;QAE/B,KAAK,CAAC,SAAS,CAAC,CAAC;QAHC,IAAS,CAAA,SAAA,GAAT,SAAS,CAAS;QAC3B,IAAW,CAAA,WAAA,GAAX,WAAW,CAAW;KAG/B;IAEQ,cAAc,CAAI,QAAkB,EAAE,QAAY,EAAA;QAC1D,OAAO,QAAQ,CAAC,MAAM,CAAC;AACtB,YAAA,MAAM,EAAE,IAAI,CAAC,WAAW,IAAI,QAAQ;AACpC,YAAA,SAAS,EAAE;AACV,gBAAA;AACC,oBAAA,OAAO,EAAE,wBAAwB;oBACjC,QAAQ;AACR,iBAAA;AACD,aAAA;AACD,SAAA,CAAC,CAAC;KACH;AACD;;AC1CD;;AAEG;;;;"}
@@ -1,3 +1,2 @@
1
- /// <reference path="index.ngtypecheck.d.ts" />
2
1
  export * from './merge-overlay-configs';
3
2
  export * from './to-element';
@@ -1,4 +1,3 @@
1
- /// <reference path="merge-overlay-configs.ngtypecheck.d.ts" />
2
1
  import { NgDocOverlayProperties } from '@ng-doc/ui-kit/interfaces';
3
2
  /**
4
3
  *
@@ -1,4 +1,3 @@
1
- /// <reference path="to-element.ngtypecheck.d.ts" />
2
1
  import { BaseElement } from '@ng-doc/ui-kit/types';
3
2
  /**
4
3
  * @param element
package/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference path="index.ngtypecheck.d.ts" />
2
1
  export * from '@ng-doc/ui-kit/animations';
3
2
  export * from '@ng-doc/ui-kit/cdk';
4
3
  export * from '@ng-doc/ui-kit/components';
@@ -1,4 +1,3 @@
1
- /// <reference path="cache.interceptor.ngtypecheck.d.ts" />
2
1
  import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
3
2
  import { Observable } from 'rxjs';
4
3
  import * as i0 from "@angular/core";
@@ -1,2 +1 @@
1
- /// <reference path="index.ngtypecheck.d.ts" />
2
1
  export * from './cache.interceptor';
@@ -1,4 +1,3 @@
1
- /// <reference path="config.ngtypecheck.d.ts" />
2
1
  export interface NgDocUiConfig {
3
2
  assetsPath: string;
4
3
  customIconsPath: string;
@@ -1,4 +1,3 @@
1
- /// <reference path="context-with-implicit.ngtypecheck.d.ts" />
2
1
  export interface NgDocContextWithImplicit<T> {
3
2
  $implicit: T;
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference path="index.ngtypecheck.d.ts" />
2
1
  export * from './config';
3
2
  export * from './context-with-implicit';
4
3
  export * from './overlay-config';
@@ -1,4 +1,3 @@
1
- /// <reference path="overlay-config.ngtypecheck.d.ts" />
2
1
  import { AnimationMetadata } from '@angular/animations';
3
2
  import { OverlayConfig } from '@angular/cdk/overlay';
4
3
  import { ViewContainerRef } from '@angular/core';
@@ -1,4 +1,3 @@
1
- /// <reference path="overlay-container.ngtypecheck.d.ts" />
2
1
  import { NgDocContent, NgDocOverlayAnimationEvent } from '@ng-doc/ui-kit/types';
3
2
  import { Observable } from 'rxjs';
4
3
  import { NgDocOverlayConfig } from './overlay-config';
@@ -1,4 +1,3 @@
1
- /// <reference path="overlay-properties.ngtypecheck.d.ts" />
2
1
  import { Direction, Directionality } from '@angular/cdk/bidi';
3
2
  import { NgDocOverlayOrigin, NgDocOverlayPosition } from '@ng-doc/ui-kit/types';
4
3
  export interface NgDocOverlayProperties {
@@ -1,4 +1,3 @@
1
- /// <reference path="from-subscribe.ngtypecheck.d.ts" />
2
1
  import { NgDocSubscribable } from '@ng-doc/ui-kit/types';
3
2
  import { Observable } from 'rxjs';
4
3
  /**
@@ -1,4 +1,3 @@
1
- /// <reference path="index.ngtypecheck.d.ts" />
2
1
  export * from './from-subscribe';
3
2
  export * from './observable-state';
4
3
  export * from './zone';