@ng-doc/app 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 (284) hide show
  1. package/classes/root-page/root-page.d.ts +2 -3
  2. package/components/api-list/api-list.component.d.ts +1 -1
  3. package/components/api-list/api-list.module.d.ts +6 -7
  4. package/components/breadcrumb/breadcrumb.component.d.ts +1 -1
  5. package/components/breadcrumb/index.d.ts +1 -2
  6. package/components/code/code.component.d.ts +1 -1
  7. package/components/code/index.d.ts +0 -1
  8. package/components/demo/demo.component.d.ts +1 -1
  9. package/components/demo/index.d.ts +0 -1
  10. package/components/demo-displayer/demo-displayer.component.d.ts +1 -1
  11. package/components/demo-displayer/index.d.ts +0 -1
  12. package/components/demo-pane/demo-pane.component.d.ts +1 -1
  13. package/components/demo-pane/index.d.ts +0 -1
  14. package/components/kind-icon/index.d.ts +0 -1
  15. package/components/kind-icon/kind-icon.component.d.ts +1 -1
  16. package/components/link/index.d.ts +0 -1
  17. package/components/link/link.component.d.ts +1 -1
  18. package/components/navbar/navbar.component.d.ts +1 -1
  19. package/components/navbar/navbar.module.d.ts +1 -7
  20. package/components/page/page.component.d.ts +1 -1
  21. package/components/page/page.module.d.ts +5 -10
  22. package/components/page-link/index.d.ts +0 -1
  23. package/components/page-link/page-link.component.d.ts +1 -1
  24. package/components/playground/index.d.ts +0 -1
  25. package/components/playground/playground-demo/playground-demo.component.d.ts +1 -1
  26. package/components/playground/playground-properties/playground-properties.component.d.ts +1 -1
  27. package/components/playground/playground-property/playground-property.component.d.ts +1 -1
  28. package/components/playground/playground.component.d.ts +1 -1
  29. package/components/root/index.d.ts +0 -1
  30. package/components/root/root.component.d.ts +3 -3
  31. package/components/search/search.component.d.ts +1 -1
  32. package/components/search/search.module.d.ts +6 -7
  33. package/components/search-result/index.d.ts +0 -1
  34. package/components/search-result/search-result.component.d.ts +1 -1
  35. package/components/sidebar/sidebar-category/sidebar-category.component.d.ts +1 -1
  36. package/components/sidebar/sidebar-item/sidebar-item.component.d.ts +1 -1
  37. package/components/sidebar/sidebar.component.d.ts +1 -1
  38. package/components/sidebar/sidebar.module.d.ts +1 -13
  39. package/components/theme-toggle/index.d.ts +0 -1
  40. package/components/theme-toggle/theme-toggle.component.d.ts +1 -1
  41. package/components/toc/index.d.ts +0 -1
  42. package/components/toc/toc-element/toc-element.component.d.ts +1 -1
  43. package/components/toc/toc.component.d.ts +1 -1
  44. package/directives/code-highlighter/code-highlighter.directive.d.ts +1 -1
  45. package/directives/code-highlighter/index.d.ts +0 -1
  46. package/directives/route-active/index.d.ts +0 -1
  47. package/directives/route-active/route-active.directive.d.ts +1 -1
  48. package/esm2022/classes/root-page/root-page.mjs +1 -1
  49. package/esm2022/components/api-list/api-list.component.mjs +29 -8
  50. package/esm2022/components/api-list/api-list.module.mjs +5 -54
  51. package/esm2022/components/breadcrumb/breadcrumb.component.mjs +6 -6
  52. package/esm2022/components/breadcrumb/index.mjs +2 -3
  53. package/esm2022/components/code/code.component.mjs +16 -7
  54. package/esm2022/components/code/index.mjs +1 -2
  55. package/esm2022/components/demo/demo.component.mjs +19 -10
  56. package/esm2022/components/demo/index.mjs +1 -2
  57. package/esm2022/components/demo-displayer/demo-displayer.component.mjs +17 -7
  58. package/esm2022/components/demo-displayer/index.mjs +1 -2
  59. package/esm2022/components/demo-pane/demo-pane.component.mjs +20 -9
  60. package/esm2022/components/demo-pane/index.mjs +1 -2
  61. package/esm2022/components/kind-icon/index.mjs +1 -2
  62. package/esm2022/components/kind-icon/kind-icon.component.mjs +3 -3
  63. package/esm2022/components/link/index.mjs +1 -2
  64. package/esm2022/components/link/link.component.mjs +4 -4
  65. package/esm2022/components/navbar/navbar.component.mjs +16 -10
  66. package/esm2022/components/navbar/navbar.module.mjs +4 -28
  67. package/esm2022/components/page/page.component.mjs +31 -10
  68. package/esm2022/components/page/page.module.mjs +5 -59
  69. package/esm2022/components/page-link/index.mjs +1 -2
  70. package/esm2022/components/page-link/page-link.component.mjs +5 -5
  71. package/esm2022/components/playground/index.mjs +1 -2
  72. package/esm2022/components/playground/playground-demo/playground-demo.component.mjs +5 -5
  73. package/esm2022/components/playground/playground-properties/playground-properties.component.mjs +23 -8
  74. package/esm2022/components/playground/playground-property/playground-property.component.mjs +4 -4
  75. package/esm2022/components/playground/playground.component.mjs +8 -8
  76. package/esm2022/components/root/index.mjs +1 -2
  77. package/esm2022/components/root/root.component.mjs +11 -9
  78. package/esm2022/components/search/search.component.mjs +34 -10
  79. package/esm2022/components/search/search.module.mjs +5 -69
  80. package/esm2022/components/search-result/index.mjs +1 -2
  81. package/esm2022/components/search-result/search-result.component.mjs +7 -7
  82. package/esm2022/components/sidebar/sidebar-category/sidebar-category.component.mjs +18 -11
  83. package/esm2022/components/sidebar/sidebar-item/sidebar-item.component.mjs +5 -6
  84. package/esm2022/components/sidebar/sidebar.component.mjs +6 -6
  85. package/esm2022/components/sidebar/sidebar.module.mjs +4 -46
  86. package/esm2022/components/theme-toggle/index.mjs +1 -2
  87. package/esm2022/components/theme-toggle/theme-toggle.component.mjs +5 -5
  88. package/esm2022/components/toc/index.mjs +1 -2
  89. package/esm2022/components/toc/toc-element/toc-element.component.mjs +3 -3
  90. package/esm2022/components/toc/toc.component.mjs +4 -6
  91. package/esm2022/directives/code-highlighter/code-highlighter.directive.mjs +3 -2
  92. package/esm2022/directives/code-highlighter/index.mjs +1 -2
  93. package/esm2022/directives/route-active/index.mjs +1 -2
  94. package/esm2022/directives/route-active/route-active.directive.mjs +3 -2
  95. package/esm2022/modules/root/ng-doc.module.mjs +6 -6
  96. package/esm2022/pipes/extract-value/extract-value.pipe.mjs +3 -2
  97. package/esm2022/pipes/extract-value/index.mjs +1 -2
  98. package/esm2022/pipes/filter-by-text/filter-by-text.pipe.mjs +3 -2
  99. package/esm2022/pipes/filter-by-text/index.mjs +1 -2
  100. package/esm2022/pipes/sanitize-html/index.mjs +1 -2
  101. package/esm2022/pipes/sanitize-html/sanitize-html.pipe.mjs +3 -2
  102. package/esm2022/processors/blockquote-processor/blockquote-processor.directive.mjs +3 -2
  103. package/esm2022/processors/blockquote-processor/index.mjs +1 -2
  104. package/esm2022/processors/code-processor/code-processor.directive.mjs +3 -2
  105. package/esm2022/processors/code-processor/index.mjs +1 -2
  106. package/esm2022/processors/demo-pane-processor/demo-pane-processor.directive.mjs +3 -2
  107. package/esm2022/processors/demo-pane-processor/index.mjs +1 -2
  108. package/esm2022/processors/demo-processor/demo-processor.directive.mjs +3 -2
  109. package/esm2022/processors/demo-processor/index.mjs +1 -2
  110. package/esm2022/processors/icon-processor/icon-processor.directive.mjs +3 -2
  111. package/esm2022/processors/icon-processor/index.mjs +1 -2
  112. package/esm2022/processors/link-processor/index.mjs +1 -2
  113. package/esm2022/processors/link-processor/link-processor.directive.mjs +3 -2
  114. package/esm2022/processors/playground-processor/index.mjs +1 -2
  115. package/esm2022/processors/playground-processor/playground-processor.directive.mjs +3 -2
  116. package/esm2022/processors/tooltip-processor/index.mjs +1 -2
  117. package/esm2022/processors/tooltip-processor/tooltip-processor.directive.mjs +3 -2
  118. package/esm2022/processors/tooltip-processor/tooltip-wrapper.component.mjs +5 -5
  119. package/esm2022/type-controls/boolean-control/boolean-control.component.mjs +4 -4
  120. package/esm2022/type-controls/boolean-control/boolean-control.module.mjs +4 -6
  121. package/esm2022/type-controls/number-control/number-control.component.mjs +18 -8
  122. package/esm2022/type-controls/number-control/number-control.module.mjs +4 -32
  123. package/esm2022/type-controls/string-control/string-control.component.mjs +18 -8
  124. package/esm2022/type-controls/string-control/string-control.module.mjs +4 -36
  125. package/esm2022/type-controls/type-alias-control/type-alias-control.component.mjs +27 -8
  126. package/esm2022/type-controls/type-alias-control/type-alias-control.module.mjs +5 -46
  127. package/fesm2022/ng-doc-app-classes-root-page.mjs.map +1 -1
  128. package/fesm2022/ng-doc-app-components-api-list.mjs +31 -61
  129. package/fesm2022/ng-doc-app-components-api-list.mjs.map +1 -1
  130. package/fesm2022/ng-doc-app-components-breadcrumb.mjs +6 -22
  131. package/fesm2022/ng-doc-app-components-breadcrumb.mjs.map +1 -1
  132. package/fesm2022/ng-doc-app-components-code.mjs +17 -49
  133. package/fesm2022/ng-doc-app-components-code.mjs.map +1 -1
  134. package/fesm2022/ng-doc-app-components-demo-displayer.mjs +18 -53
  135. package/fesm2022/ng-doc-app-components-demo-displayer.mjs.map +1 -1
  136. package/fesm2022/ng-doc-app-components-demo-pane.mjs +20 -26
  137. package/fesm2022/ng-doc-app-components-demo-pane.mjs.map +1 -1
  138. package/fesm2022/ng-doc-app-components-demo.mjs +19 -48
  139. package/fesm2022/ng-doc-app-components-demo.mjs.map +1 -1
  140. package/fesm2022/ng-doc-app-components-kind-icon.mjs +4 -19
  141. package/fesm2022/ng-doc-app-components-kind-icon.mjs.map +1 -1
  142. package/fesm2022/ng-doc-app-components-link.mjs +5 -21
  143. package/fesm2022/ng-doc-app-components-link.mjs.map +1 -1
  144. package/fesm2022/ng-doc-app-components-navbar.mjs +18 -36
  145. package/fesm2022/ng-doc-app-components-navbar.mjs.map +1 -1
  146. package/fesm2022/ng-doc-app-components-page-link.mjs +5 -21
  147. package/fesm2022/ng-doc-app-components-page-link.mjs.map +1 -1
  148. package/fesm2022/ng-doc-app-components-page.mjs +33 -67
  149. package/fesm2022/ng-doc-app-components-page.mjs.map +1 -1
  150. package/fesm2022/ng-doc-app-components-playground.mjs +141 -204
  151. package/fesm2022/ng-doc-app-components-playground.mjs.map +1 -1
  152. package/fesm2022/ng-doc-app-components-root.mjs +12 -26
  153. package/fesm2022/ng-doc-app-components-root.mjs.map +1 -1
  154. package/fesm2022/ng-doc-app-components-search-result.mjs +8 -26
  155. package/fesm2022/ng-doc-app-components-search-result.mjs.map +1 -1
  156. package/fesm2022/ng-doc-app-components-search.mjs +35 -78
  157. package/fesm2022/ng-doc-app-components-search.mjs.map +1 -1
  158. package/fesm2022/ng-doc-app-components-sidebar.mjs +25 -57
  159. package/fesm2022/ng-doc-app-components-sidebar.mjs.map +1 -1
  160. package/fesm2022/ng-doc-app-components-theme-toggle.mjs +6 -22
  161. package/fesm2022/ng-doc-app-components-theme-toggle.mjs.map +1 -1
  162. package/fesm2022/ng-doc-app-components-toc.mjs +9 -24
  163. package/fesm2022/ng-doc-app-components-toc.mjs.map +1 -1
  164. package/fesm2022/ng-doc-app-directives-code-highlighter.mjs +4 -16
  165. package/fesm2022/ng-doc-app-directives-code-highlighter.mjs.map +1 -1
  166. package/fesm2022/ng-doc-app-directives-route-active.mjs +4 -18
  167. package/fesm2022/ng-doc-app-directives-route-active.mjs.map +1 -1
  168. package/fesm2022/ng-doc-app-modules-root.mjs +5 -5
  169. package/fesm2022/ng-doc-app-modules-root.mjs.map +1 -1
  170. package/fesm2022/ng-doc-app-pipes-extract-value.mjs +4 -16
  171. package/fesm2022/ng-doc-app-pipes-extract-value.mjs.map +1 -1
  172. package/fesm2022/ng-doc-app-pipes-filter-by-text.mjs +4 -16
  173. package/fesm2022/ng-doc-app-pipes-filter-by-text.mjs.map +1 -1
  174. package/fesm2022/ng-doc-app-pipes-sanitize-html.mjs +4 -16
  175. package/fesm2022/ng-doc-app-pipes-sanitize-html.mjs.map +1 -1
  176. package/fesm2022/ng-doc-app-processors-blockquote-processor.mjs +5 -18
  177. package/fesm2022/ng-doc-app-processors-blockquote-processor.mjs.map +1 -1
  178. package/fesm2022/ng-doc-app-processors-code-processor.mjs +5 -18
  179. package/fesm2022/ng-doc-app-processors-code-processor.mjs.map +1 -1
  180. package/fesm2022/ng-doc-app-processors-demo-pane-processor.mjs +5 -18
  181. package/fesm2022/ng-doc-app-processors-demo-pane-processor.mjs.map +1 -1
  182. package/fesm2022/ng-doc-app-processors-demo-processor.mjs +5 -18
  183. package/fesm2022/ng-doc-app-processors-demo-processor.mjs.map +1 -1
  184. package/fesm2022/ng-doc-app-processors-icon-processor.mjs +4 -16
  185. package/fesm2022/ng-doc-app-processors-icon-processor.mjs.map +1 -1
  186. package/fesm2022/ng-doc-app-processors-link-processor.mjs +4 -16
  187. package/fesm2022/ng-doc-app-processors-link-processor.mjs.map +1 -1
  188. package/fesm2022/ng-doc-app-processors-playground-processor.mjs +5 -18
  189. package/fesm2022/ng-doc-app-processors-playground-processor.mjs.map +1 -1
  190. package/fesm2022/ng-doc-app-processors-tooltip-processor.mjs +8 -22
  191. package/fesm2022/ng-doc-app-processors-tooltip-processor.mjs.map +1 -1
  192. package/fesm2022/ng-doc-app-type-controls-boolean-control.mjs +6 -8
  193. package/fesm2022/ng-doc-app-type-controls-boolean-control.mjs.map +1 -1
  194. package/fesm2022/ng-doc-app-type-controls-number-control.mjs +19 -39
  195. package/fesm2022/ng-doc-app-type-controls-number-control.mjs.map +1 -1
  196. package/fesm2022/ng-doc-app-type-controls-string-control.mjs +19 -43
  197. package/fesm2022/ng-doc-app-type-controls-string-control.mjs.map +1 -1
  198. package/fesm2022/ng-doc-app-type-controls-type-alias-control.mjs +29 -54
  199. package/fesm2022/ng-doc-app-type-controls-type-alias-control.mjs.map +1 -1
  200. package/modules/root/ng-doc.module.d.ts +1 -1
  201. package/package.json +3 -3
  202. package/pipes/extract-value/extract-value.pipe.d.ts +1 -1
  203. package/pipes/extract-value/index.d.ts +0 -1
  204. package/pipes/filter-by-text/filter-by-text.pipe.d.ts +1 -1
  205. package/pipes/filter-by-text/index.d.ts +0 -1
  206. package/pipes/sanitize-html/index.d.ts +0 -1
  207. package/pipes/sanitize-html/sanitize-html.pipe.d.ts +1 -1
  208. package/processors/blockquote-processor/blockquote-processor.directive.d.ts +1 -1
  209. package/processors/blockquote-processor/index.d.ts +0 -1
  210. package/processors/code-processor/code-processor.directive.d.ts +1 -1
  211. package/processors/code-processor/index.d.ts +0 -1
  212. package/processors/demo-pane-processor/demo-pane-processor.directive.d.ts +1 -1
  213. package/processors/demo-pane-processor/index.d.ts +0 -1
  214. package/processors/demo-processor/demo-processor.directive.d.ts +1 -1
  215. package/processors/demo-processor/index.d.ts +0 -1
  216. package/processors/icon-processor/icon-processor.directive.d.ts +1 -1
  217. package/processors/icon-processor/index.d.ts +0 -1
  218. package/processors/link-processor/index.d.ts +0 -1
  219. package/processors/link-processor/link-processor.directive.d.ts +1 -1
  220. package/processors/playground-processor/index.d.ts +0 -1
  221. package/processors/playground-processor/playground-processor.directive.d.ts +1 -1
  222. package/processors/tooltip-processor/index.d.ts +0 -1
  223. package/processors/tooltip-processor/tooltip-processor.directive.d.ts +1 -1
  224. package/processors/tooltip-processor/tooltip-wrapper.component.d.ts +1 -1
  225. package/type-controls/boolean-control/boolean-control.component.d.ts +1 -1
  226. package/type-controls/boolean-control/boolean-control.module.d.ts +3 -4
  227. package/type-controls/number-control/number-control.component.d.ts +1 -1
  228. package/type-controls/number-control/number-control.module.d.ts +5 -6
  229. package/type-controls/string-control/string-control.component.d.ts +1 -1
  230. package/type-controls/string-control/string-control.module.d.ts +5 -7
  231. package/type-controls/type-alias-control/type-alias-control.component.d.ts +1 -1
  232. package/type-controls/type-alias-control/type-alias-control.module.d.ts +5 -7
  233. package/components/breadcrumb/breadcrumb.module.d.ts +0 -10
  234. package/components/code/code.module.d.ts +0 -11
  235. package/components/demo/demo.module.d.ts +0 -12
  236. package/components/demo-displayer/demo-displayer.module.d.ts +0 -12
  237. package/components/demo-pane/demo-pane.module.d.ts +0 -11
  238. package/components/kind-icon/kind-icon.module.d.ts +0 -8
  239. package/components/link/link.module.d.ts +0 -9
  240. package/components/page-link/page-link.module.d.ts +0 -9
  241. package/components/playground/playground.module.d.ts +0 -15
  242. package/components/root/root.module.d.ts +0 -10
  243. package/components/search-result/search-result.module.d.ts +0 -11
  244. package/components/theme-toggle/theme-toggle.module.d.ts +0 -9
  245. package/components/toc/toc.module.d.ts +0 -11
  246. package/directives/code-highlighter/code-highlighter.module.d.ts +0 -7
  247. package/directives/route-active/route-active.module.d.ts +0 -8
  248. package/esm2022/components/breadcrumb/breadcrumb.module.mjs +0 -21
  249. package/esm2022/components/code/code.module.mjs +0 -45
  250. package/esm2022/components/demo/demo.module.mjs +0 -43
  251. package/esm2022/components/demo-displayer/demo-displayer.module.mjs +0 -49
  252. package/esm2022/components/demo-pane/demo-pane.module.mjs +0 -22
  253. package/esm2022/components/kind-icon/kind-icon.module.mjs +0 -19
  254. package/esm2022/components/link/link.module.mjs +0 -20
  255. package/esm2022/components/page-link/page-link.module.mjs +0 -20
  256. package/esm2022/components/playground/playground.module.mjs +0 -86
  257. package/esm2022/components/root/root.module.mjs +0 -21
  258. package/esm2022/components/search-result/search-result.module.mjs +0 -22
  259. package/esm2022/components/theme-toggle/theme-toggle.module.mjs +0 -20
  260. package/esm2022/components/toc/toc.module.mjs +0 -22
  261. package/esm2022/directives/code-highlighter/code-highlighter.module.mjs +0 -17
  262. package/esm2022/directives/route-active/route-active.module.mjs +0 -19
  263. package/esm2022/pipes/extract-value/extract-value.module.mjs +0 -17
  264. package/esm2022/pipes/filter-by-text/filter-by-text.module.mjs +0 -17
  265. package/esm2022/pipes/sanitize-html/sanitize-html.module.mjs +0 -17
  266. package/esm2022/processors/blockquote-processor/blockquote-processor.module.mjs +0 -19
  267. package/esm2022/processors/code-processor/code-processor.module.mjs +0 -19
  268. package/esm2022/processors/demo-pane-processor/demo-pane-processor.module.mjs +0 -19
  269. package/esm2022/processors/demo-processor/demo-processor.module.mjs +0 -19
  270. package/esm2022/processors/icon-processor/icon-processor.module.mjs +0 -17
  271. package/esm2022/processors/link-processor/link-processor.module.mjs +0 -17
  272. package/esm2022/processors/playground-processor/playground-processor.module.mjs +0 -19
  273. package/esm2022/processors/tooltip-processor/tooltip-processor.module.mjs +0 -20
  274. package/pipes/extract-value/extract-value.module.d.ts +0 -7
  275. package/pipes/filter-by-text/filter-by-text.module.d.ts +0 -7
  276. package/pipes/sanitize-html/sanitize-html.module.d.ts +0 -7
  277. package/processors/blockquote-processor/blockquote-processor.module.d.ts +0 -8
  278. package/processors/code-processor/code-processor.module.d.ts +0 -8
  279. package/processors/demo-pane-processor/demo-pane-processor.module.d.ts +0 -8
  280. package/processors/demo-processor/demo-processor.module.d.ts +0 -8
  281. package/processors/icon-processor/icon-processor.module.d.ts +0 -7
  282. package/processors/link-processor/link-processor.module.d.ts +0 -7
  283. package/processors/playground-processor/playground-processor.module.d.ts +0 -8
  284. package/processors/tooltip-processor/tooltip-processor.module.d.ts +0 -9
@@ -1,15 +1,10 @@
1
1
  import * as i1 from '@angular/cdk/clipboard';
2
+ import { NgIf, NgTemplateOutlet } from '@angular/common';
2
3
  import * as i0 from '@angular/core';
3
- import { Component, ChangeDetectionStrategy, Input, HostBinding, NgModule } from '@angular/core';
4
- import * as i2 from '@angular/common';
5
- import { CommonModule } from '@angular/common';
6
- import * as i3 from '@ng-doc/ui-kit';
7
- import { NgDocExpanderModule, NgDocButtonIconModule, NgDocIconModule, NgDocTooltipModule, NgDocSmoothResizeModule } from '@ng-doc/ui-kit';
8
- import * as i4 from '@ng-doc/app/components/code';
9
- import { NgDocCodeModule } from '@ng-doc/app/components/code';
10
- import * as i5 from '@ng-doc/app/directives/code-highlighter';
11
- import { NgDocCodeHighlighterModule } from '@ng-doc/app/directives/code-highlighter';
12
- import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
4
+ import { Component, ChangeDetectionStrategy, Input, HostBinding } from '@angular/core';
5
+ import { NgDocCodeComponent } from '@ng-doc/app/components/code';
6
+ import { NgDocCodeHighlighterDirective } from '@ng-doc/app/directives/code-highlighter';
7
+ import { NgDocButtonIconComponent, NgDocTooltipDirective, NgDocSmoothResizeComponent, NgDocIconComponent, NgDocExpanderComponent } from '@ng-doc/ui-kit';
13
8
 
14
9
  class NgDocDemoDisplayerComponent {
15
10
  constructor(clipboard) {
@@ -29,11 +24,21 @@ class NgDocDemoDisplayerComponent {
29
24
  this.clipboard.copy(this.code);
30
25
  }
31
26
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoDisplayerComponent, deps: [{ token: i1.Clipboard }], target: i0.ɵɵFactoryTarget.Component }); }
32
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocDemoDisplayerComponent, selector: "ng-doc-demo-displayer", inputs: { codeContent: "codeContent", code: "code", language: "language", container: "container", border: "border", expanded: "expanded" }, host: { properties: { "attr.data-ng-doc-border": "this.border" } }, ngImport: i0, template: "<div class=\"ng-doc-demo-wrapper\" *ngIf=\"container; else demoTemplate\">\n\t<div class=\"ng-doc-demo-container\">\n\t\t<div class=\"ng-doc-demo\">\n\t\t\t<ng-container *ngTemplateOutlet=\"demoTemplate\"></ng-container>\n\t\t</div>\n\t\t<div class=\"ng-doc-demo-controls\">\n\t\t\t<button\n\t\t\t\tclass=\"ng-doc-copy-button\"\n\t\t\t\t*ngIf=\"!codeContent\"\n\t\t\t\tng-doc-button-icon\n\t\t\t\t(click)=\"copyCode(); copyTooltipText = 'Copied!'\"\n\t\t\t\t[ngDocTooltip]=\"tooltipContent\"\n\t\t\t\t(mouseenter)=\"copyTooltipText = 'Copy to clipboard'\"\n\t\t\t>\n\t\t\t\t<ng-template #tooltipContent>\n\t\t\t\t\t<ng-doc-smooth-resize [trigger]=\"copyTooltipText\">\n\t\t\t\t\t\t{{copyTooltipText}}\n\t\t\t\t\t</ng-doc-smooth-resize>\n\t\t\t\t</ng-template>\n\t\t\t\t<ng-doc-icon icon=\"copy\"></ng-doc-icon>\n\t\t\t</button>\n\t\t\t<button\n\t\t\t\tng-doc-button-icon\n\t\t\t\t(click)=\"expanded = !expanded\"\n\t\t\t\t[ngDocTooltip]=\"tooltipContent\"\n\t\t\t>\n\t\t\t\t<ng-template #tooltipContent>\n\t\t\t\t\t<ng-doc-smooth-resize [trigger]=\"expandTooltipText\">\n\t\t\t\t\t\t{{expandTooltipText}}\n\t\t\t\t\t</ng-doc-smooth-resize>\n\t\t\t\t</ng-template>\n\t\t\t\t<ng-doc-icon icon=\"code\"></ng-doc-icon>\n\t\t\t</button>\n\t\t</div>\n\t</div>\n\t<ng-doc-expander [content]=\"codeContent ? codeContent : expanderContent\" [expanded]=\"expanded\">\n\t\t<ng-template #expanderContent>\n\t\t\t<ng-doc-code [copyButton]=\"false\">\n\t\t\t\t<pre class=\"hljs ngde\">\n\t\t\t\t\t<code class=\"ngde\" [ngDocCodeHighlighter]=\"code\" [language]=\"'html'\"></code>\n\t\t\t\t</pre>\n\t\t\t</ng-doc-code>\n\t\t</ng-template>\n\t</ng-doc-expander>\n</div>\n\n<ng-template #demoTemplate>\n\t<ng-content></ng-content>\n</ng-template>\n", styles: [":host{display:flex;flex-direction:column;overflow:hidden;--ng-doc-code-margin: 0;--ng-doc-code-border-radius: 0}:host[data-ng-doc-border=true]{border:var(--ng-doc-demo-displayer-border);border-radius:var(--ng-doc-demo-displayer-border-radius)}:host .ng-doc-demo-wrapper{overflow:hidden}:host .ng-doc-demo-wrapper .ng-doc-demo-container{display:flex;justify-content:flex-start;width:100%;padding:calc(var(--ng-doc-base-gutter) * 2);background:var(--ng-doc-demo-displayer-background, var(--ng-doc-base-0))}:host .ng-doc-demo-wrapper .ng-doc-demo-container .ng-doc-demo{overflow:hidden;width:100%}:host .ng-doc-demo-wrapper .ng-doc-demo-container .ng-doc-demo-controls{flex-shrink:0;margin-left:auto}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.NgDocExpanderComponent, selector: "ng-doc-expander", inputs: ["expanded", "content", "from"] }, { kind: "component", type: i4.NgDocCodeComponent, selector: "ng-doc-code", inputs: ["html", "copyButton", "fileName", "lineNumbers"] }, { kind: "component", type: i3.NgDocButtonIconComponent, selector: "button[ng-doc-button-icon], a[ng-doc-button-icon]", inputs: ["size", "rounded"] }, { kind: "component", type: i3.NgDocIconComponent, selector: "ng-doc-icon", inputs: ["icon", "size"] }, { kind: "directive", type: i3.NgDocTooltipDirective, selector: "[ngDocTooltip]", inputs: ["ngDocTooltip", "delay", "displayOrigin", "pointerOrigin", "positions", "canOpen", "panelClass", "minHeight", "maxHeight", "height", "minWidth", "maxWidth", "width"], outputs: ["beforeOpen", "afterOpen", "beforeClose", "afterClose"], exportAs: ["ngDocTooltip"] }, { kind: "directive", type: i5.NgDocCodeHighlighterDirective, selector: "code[ngDocCodeHighlighter]", inputs: ["ngDocCodeHighlighter", "html", "language"] }, { kind: "component", type: i3.NgDocSmoothResizeComponent, selector: "ng-doc-smooth-resize", inputs: ["trigger", "animateOpacity"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
27
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocDemoDisplayerComponent, isStandalone: true, selector: "ng-doc-demo-displayer", inputs: { codeContent: "codeContent", code: "code", language: "language", container: "container", border: "border", expanded: "expanded" }, host: { properties: { "attr.data-ng-doc-border": "this.border" } }, ngImport: i0, template: "<div class=\"ng-doc-demo-wrapper\" *ngIf=\"container; else demoTemplate\">\n\t<div class=\"ng-doc-demo-container\">\n\t\t<div class=\"ng-doc-demo\">\n\t\t\t<ng-container *ngTemplateOutlet=\"demoTemplate\"></ng-container>\n\t\t</div>\n\t\t<div class=\"ng-doc-demo-controls\">\n\t\t\t<button\n\t\t\t\tclass=\"ng-doc-copy-button\"\n\t\t\t\t*ngIf=\"!codeContent\"\n\t\t\t\tng-doc-button-icon\n\t\t\t\t(click)=\"copyCode(); copyTooltipText = 'Copied!'\"\n\t\t\t\t[ngDocTooltip]=\"tooltipContent\"\n\t\t\t\t(mouseenter)=\"copyTooltipText = 'Copy to clipboard'\"\n\t\t\t>\n\t\t\t\t<ng-template #tooltipContent>\n\t\t\t\t\t<ng-doc-smooth-resize [trigger]=\"copyTooltipText\">\n\t\t\t\t\t\t{{copyTooltipText}}\n\t\t\t\t\t</ng-doc-smooth-resize>\n\t\t\t\t</ng-template>\n\t\t\t\t<ng-doc-icon icon=\"copy\"></ng-doc-icon>\n\t\t\t</button>\n\t\t\t<button\n\t\t\t\tng-doc-button-icon\n\t\t\t\t(click)=\"expanded = !expanded\"\n\t\t\t\t[ngDocTooltip]=\"tooltipContent\"\n\t\t\t>\n\t\t\t\t<ng-template #tooltipContent>\n\t\t\t\t\t<ng-doc-smooth-resize [trigger]=\"expandTooltipText\">\n\t\t\t\t\t\t{{expandTooltipText}}\n\t\t\t\t\t</ng-doc-smooth-resize>\n\t\t\t\t</ng-template>\n\t\t\t\t<ng-doc-icon icon=\"code\"></ng-doc-icon>\n\t\t\t</button>\n\t\t</div>\n\t</div>\n\t<ng-doc-expander [content]=\"codeContent ? codeContent : expanderContent\" [expanded]=\"expanded\">\n\t\t<ng-template #expanderContent>\n\t\t\t<ng-doc-code [copyButton]=\"false\">\n\t\t\t\t<pre class=\"hljs ngde\">\n\t\t\t\t\t<code class=\"ngde\" [ngDocCodeHighlighter]=\"code\" [language]=\"'html'\"></code>\n\t\t\t\t</pre>\n\t\t\t</ng-doc-code>\n\t\t</ng-template>\n\t</ng-doc-expander>\n</div>\n\n<ng-template #demoTemplate>\n\t<ng-content></ng-content>\n</ng-template>\n", styles: [":host{display:flex;flex-direction:column;overflow:hidden;--ng-doc-code-margin: 0;--ng-doc-code-border-radius: 0}:host[data-ng-doc-border=true]{border:var(--ng-doc-demo-displayer-border);border-radius:var(--ng-doc-demo-displayer-border-radius)}:host .ng-doc-demo-wrapper{overflow:hidden}:host .ng-doc-demo-wrapper .ng-doc-demo-container{display:flex;justify-content:flex-start;width:100%;padding:calc(var(--ng-doc-base-gutter) * 2);background:var(--ng-doc-demo-displayer-background, var(--ng-doc-base-0))}:host .ng-doc-demo-wrapper .ng-doc-demo-container .ng-doc-demo{overflow:hidden;width:100%}:host .ng-doc-demo-wrapper .ng-doc-demo-container .ng-doc-demo-controls{flex-shrink:0;margin-left:auto}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: NgDocButtonIconComponent, selector: "button[ng-doc-button-icon], a[ng-doc-button-icon]", inputs: ["size", "rounded"] }, { kind: "directive", type: NgDocTooltipDirective, selector: "[ngDocTooltip]", inputs: ["ngDocTooltip", "delay", "displayOrigin", "pointerOrigin", "positions", "canOpen", "panelClass", "minHeight", "maxHeight", "height", "minWidth", "maxWidth", "width"], outputs: ["beforeOpen", "afterOpen", "beforeClose", "afterClose"], exportAs: ["ngDocTooltip"] }, { kind: "component", type: NgDocSmoothResizeComponent, selector: "ng-doc-smooth-resize", inputs: ["trigger", "animateOpacity"] }, { kind: "component", type: NgDocIconComponent, selector: "ng-doc-icon", inputs: ["icon", "size"] }, { kind: "component", type: NgDocExpanderComponent, selector: "ng-doc-expander", inputs: ["expanded", "content", "from"] }, { kind: "component", type: NgDocCodeComponent, selector: "ng-doc-code", inputs: ["html", "copyButton", "fileName", "lineNumbers"] }, { kind: "directive", type: NgDocCodeHighlighterDirective, selector: "code[ngDocCodeHighlighter]", inputs: ["ngDocCodeHighlighter", "html", "language"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
33
28
  }
34
29
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoDisplayerComponent, decorators: [{
35
30
  type: Component,
36
- args: [{ selector: 'ng-doc-demo-displayer', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"ng-doc-demo-wrapper\" *ngIf=\"container; else demoTemplate\">\n\t<div class=\"ng-doc-demo-container\">\n\t\t<div class=\"ng-doc-demo\">\n\t\t\t<ng-container *ngTemplateOutlet=\"demoTemplate\"></ng-container>\n\t\t</div>\n\t\t<div class=\"ng-doc-demo-controls\">\n\t\t\t<button\n\t\t\t\tclass=\"ng-doc-copy-button\"\n\t\t\t\t*ngIf=\"!codeContent\"\n\t\t\t\tng-doc-button-icon\n\t\t\t\t(click)=\"copyCode(); copyTooltipText = 'Copied!'\"\n\t\t\t\t[ngDocTooltip]=\"tooltipContent\"\n\t\t\t\t(mouseenter)=\"copyTooltipText = 'Copy to clipboard'\"\n\t\t\t>\n\t\t\t\t<ng-template #tooltipContent>\n\t\t\t\t\t<ng-doc-smooth-resize [trigger]=\"copyTooltipText\">\n\t\t\t\t\t\t{{copyTooltipText}}\n\t\t\t\t\t</ng-doc-smooth-resize>\n\t\t\t\t</ng-template>\n\t\t\t\t<ng-doc-icon icon=\"copy\"></ng-doc-icon>\n\t\t\t</button>\n\t\t\t<button\n\t\t\t\tng-doc-button-icon\n\t\t\t\t(click)=\"expanded = !expanded\"\n\t\t\t\t[ngDocTooltip]=\"tooltipContent\"\n\t\t\t>\n\t\t\t\t<ng-template #tooltipContent>\n\t\t\t\t\t<ng-doc-smooth-resize [trigger]=\"expandTooltipText\">\n\t\t\t\t\t\t{{expandTooltipText}}\n\t\t\t\t\t</ng-doc-smooth-resize>\n\t\t\t\t</ng-template>\n\t\t\t\t<ng-doc-icon icon=\"code\"></ng-doc-icon>\n\t\t\t</button>\n\t\t</div>\n\t</div>\n\t<ng-doc-expander [content]=\"codeContent ? codeContent : expanderContent\" [expanded]=\"expanded\">\n\t\t<ng-template #expanderContent>\n\t\t\t<ng-doc-code [copyButton]=\"false\">\n\t\t\t\t<pre class=\"hljs ngde\">\n\t\t\t\t\t<code class=\"ngde\" [ngDocCodeHighlighter]=\"code\" [language]=\"'html'\"></code>\n\t\t\t\t</pre>\n\t\t\t</ng-doc-code>\n\t\t</ng-template>\n\t</ng-doc-expander>\n</div>\n\n<ng-template #demoTemplate>\n\t<ng-content></ng-content>\n</ng-template>\n", styles: [":host{display:flex;flex-direction:column;overflow:hidden;--ng-doc-code-margin: 0;--ng-doc-code-border-radius: 0}:host[data-ng-doc-border=true]{border:var(--ng-doc-demo-displayer-border);border-radius:var(--ng-doc-demo-displayer-border-radius)}:host .ng-doc-demo-wrapper{overflow:hidden}:host .ng-doc-demo-wrapper .ng-doc-demo-container{display:flex;justify-content:flex-start;width:100%;padding:calc(var(--ng-doc-base-gutter) * 2);background:var(--ng-doc-demo-displayer-background, var(--ng-doc-base-0))}:host .ng-doc-demo-wrapper .ng-doc-demo-container .ng-doc-demo{overflow:hidden;width:100%}:host .ng-doc-demo-wrapper .ng-doc-demo-container .ng-doc-demo-controls{flex-shrink:0;margin-left:auto}\n"] }]
31
+ args: [{ selector: 'ng-doc-demo-displayer', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
32
+ NgIf,
33
+ NgTemplateOutlet,
34
+ NgDocButtonIconComponent,
35
+ NgDocTooltipDirective,
36
+ NgDocSmoothResizeComponent,
37
+ NgDocIconComponent,
38
+ NgDocExpanderComponent,
39
+ NgDocCodeComponent,
40
+ NgDocCodeHighlighterDirective,
41
+ ], template: "<div class=\"ng-doc-demo-wrapper\" *ngIf=\"container; else demoTemplate\">\n\t<div class=\"ng-doc-demo-container\">\n\t\t<div class=\"ng-doc-demo\">\n\t\t\t<ng-container *ngTemplateOutlet=\"demoTemplate\"></ng-container>\n\t\t</div>\n\t\t<div class=\"ng-doc-demo-controls\">\n\t\t\t<button\n\t\t\t\tclass=\"ng-doc-copy-button\"\n\t\t\t\t*ngIf=\"!codeContent\"\n\t\t\t\tng-doc-button-icon\n\t\t\t\t(click)=\"copyCode(); copyTooltipText = 'Copied!'\"\n\t\t\t\t[ngDocTooltip]=\"tooltipContent\"\n\t\t\t\t(mouseenter)=\"copyTooltipText = 'Copy to clipboard'\"\n\t\t\t>\n\t\t\t\t<ng-template #tooltipContent>\n\t\t\t\t\t<ng-doc-smooth-resize [trigger]=\"copyTooltipText\">\n\t\t\t\t\t\t{{copyTooltipText}}\n\t\t\t\t\t</ng-doc-smooth-resize>\n\t\t\t\t</ng-template>\n\t\t\t\t<ng-doc-icon icon=\"copy\"></ng-doc-icon>\n\t\t\t</button>\n\t\t\t<button\n\t\t\t\tng-doc-button-icon\n\t\t\t\t(click)=\"expanded = !expanded\"\n\t\t\t\t[ngDocTooltip]=\"tooltipContent\"\n\t\t\t>\n\t\t\t\t<ng-template #tooltipContent>\n\t\t\t\t\t<ng-doc-smooth-resize [trigger]=\"expandTooltipText\">\n\t\t\t\t\t\t{{expandTooltipText}}\n\t\t\t\t\t</ng-doc-smooth-resize>\n\t\t\t\t</ng-template>\n\t\t\t\t<ng-doc-icon icon=\"code\"></ng-doc-icon>\n\t\t\t</button>\n\t\t</div>\n\t</div>\n\t<ng-doc-expander [content]=\"codeContent ? codeContent : expanderContent\" [expanded]=\"expanded\">\n\t\t<ng-template #expanderContent>\n\t\t\t<ng-doc-code [copyButton]=\"false\">\n\t\t\t\t<pre class=\"hljs ngde\">\n\t\t\t\t\t<code class=\"ngde\" [ngDocCodeHighlighter]=\"code\" [language]=\"'html'\"></code>\n\t\t\t\t</pre>\n\t\t\t</ng-doc-code>\n\t\t</ng-template>\n\t</ng-doc-expander>\n</div>\n\n<ng-template #demoTemplate>\n\t<ng-content></ng-content>\n</ng-template>\n", styles: [":host{display:flex;flex-direction:column;overflow:hidden;--ng-doc-code-margin: 0;--ng-doc-code-border-radius: 0}:host[data-ng-doc-border=true]{border:var(--ng-doc-demo-displayer-border);border-radius:var(--ng-doc-demo-displayer-border-radius)}:host .ng-doc-demo-wrapper{overflow:hidden}:host .ng-doc-demo-wrapper .ng-doc-demo-container{display:flex;justify-content:flex-start;width:100%;padding:calc(var(--ng-doc-base-gutter) * 2);background:var(--ng-doc-demo-displayer-background, var(--ng-doc-base-0))}:host .ng-doc-demo-wrapper .ng-doc-demo-container .ng-doc-demo{overflow:hidden;width:100%}:host .ng-doc-demo-wrapper .ng-doc-demo-container .ng-doc-demo-controls{flex-shrink:0;margin-left:auto}\n"] }]
37
42
  }], ctorParameters: function () { return [{ type: i1.Clipboard }]; }, propDecorators: { codeContent: [{
38
43
  type: Input
39
44
  }], code: [{
@@ -51,49 +56,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
51
56
  type: Input
52
57
  }] } });
53
58
 
54
- class NgDocDemoDisplayerModule {
55
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoDisplayerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
56
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoDisplayerModule, declarations: [NgDocDemoDisplayerComponent], imports: [CommonModule,
57
- PolymorpheusModule,
58
- NgDocExpanderModule,
59
- NgDocCodeModule,
60
- NgDocButtonIconModule,
61
- NgDocIconModule,
62
- NgDocTooltipModule,
63
- NgDocCodeHighlighterModule,
64
- NgDocSmoothResizeModule], exports: [NgDocDemoDisplayerComponent] }); }
65
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoDisplayerModule, imports: [CommonModule,
66
- PolymorpheusModule,
67
- NgDocExpanderModule,
68
- NgDocCodeModule,
69
- NgDocButtonIconModule,
70
- NgDocIconModule,
71
- NgDocTooltipModule,
72
- NgDocCodeHighlighterModule,
73
- NgDocSmoothResizeModule] }); }
74
- }
75
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoDisplayerModule, decorators: [{
76
- type: NgModule,
77
- args: [{
78
- declarations: [NgDocDemoDisplayerComponent],
79
- imports: [
80
- CommonModule,
81
- PolymorpheusModule,
82
- NgDocExpanderModule,
83
- NgDocCodeModule,
84
- NgDocButtonIconModule,
85
- NgDocIconModule,
86
- NgDocTooltipModule,
87
- NgDocCodeHighlighterModule,
88
- NgDocSmoothResizeModule,
89
- ],
90
- exports: [NgDocDemoDisplayerComponent],
91
- }]
92
- }] });
93
-
94
59
  /**
95
60
  * Generated bundle index. Do not edit.
96
61
  */
97
62
 
98
- export { NgDocDemoDisplayerComponent, NgDocDemoDisplayerModule };
63
+ export { NgDocDemoDisplayerComponent };
99
64
  //# sourceMappingURL=ng-doc-app-components-demo-displayer.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-app-components-demo-displayer.mjs","sources":["../../../../libs/app/components/demo-displayer/demo-displayer.component.ts","../../../../libs/app/components/demo-displayer/demo-displayer.component.html","../../../../libs/app/components/demo-displayer/demo-displayer.module.ts","../../../../libs/app/components/demo-displayer/ng-doc-app-components-demo-displayer.ts"],"sourcesContent":["import {Clipboard} from '@angular/cdk/clipboard';\nimport {ChangeDetectionStrategy, Component, HostBinding, Input} from '@angular/core';\nimport {NgDocContent} from '@ng-doc/ui-kit';\n\n@Component({\n\tselector: 'ng-doc-demo-displayer',\n\ttemplateUrl: './demo-displayer.component.html',\n\tstyleUrls: ['./demo-displayer.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NgDocDemoDisplayerComponent {\n\t@Input()\n\tcodeContent: NgDocContent = '';\n\n\t@Input()\n\tcode: string = '';\n\n\t@Input()\n\tlanguage: string = 'typescript';\n\n\t@Input()\n\tcontainer: boolean = true;\n\n\t@Input()\n\t@HostBinding('attr.data-ng-doc-border')\n\tborder: boolean = true;\n\n\t@Input()\n\texpanded: boolean = false;\n\n\tcopyTooltipText: string = '';\n\n\tconstructor(private readonly clipboard: Clipboard) {}\n\n\tprotected get expandTooltipText(): string {\n\t\treturn this.expanded ? 'Collapse' : 'Expand';\n\t}\n\n\tcopyCode(): void {\n\t\tthis.clipboard.copy(this.code);\n\t}\n}\n","<div class=\"ng-doc-demo-wrapper\" *ngIf=\"container; else demoTemplate\">\n\t<div class=\"ng-doc-demo-container\">\n\t\t<div class=\"ng-doc-demo\">\n\t\t\t<ng-container *ngTemplateOutlet=\"demoTemplate\"></ng-container>\n\t\t</div>\n\t\t<div class=\"ng-doc-demo-controls\">\n\t\t\t<button\n\t\t\t\tclass=\"ng-doc-copy-button\"\n\t\t\t\t*ngIf=\"!codeContent\"\n\t\t\t\tng-doc-button-icon\n\t\t\t\t(click)=\"copyCode(); copyTooltipText = 'Copied!'\"\n\t\t\t\t[ngDocTooltip]=\"tooltipContent\"\n\t\t\t\t(mouseenter)=\"copyTooltipText = 'Copy to clipboard'\"\n\t\t\t>\n\t\t\t\t<ng-template #tooltipContent>\n\t\t\t\t\t<ng-doc-smooth-resize [trigger]=\"copyTooltipText\">\n\t\t\t\t\t\t{{copyTooltipText}}\n\t\t\t\t\t</ng-doc-smooth-resize>\n\t\t\t\t</ng-template>\n\t\t\t\t<ng-doc-icon icon=\"copy\"></ng-doc-icon>\n\t\t\t</button>\n\t\t\t<button\n\t\t\t\tng-doc-button-icon\n\t\t\t\t(click)=\"expanded = !expanded\"\n\t\t\t\t[ngDocTooltip]=\"tooltipContent\"\n\t\t\t>\n\t\t\t\t<ng-template #tooltipContent>\n\t\t\t\t\t<ng-doc-smooth-resize [trigger]=\"expandTooltipText\">\n\t\t\t\t\t\t{{expandTooltipText}}\n\t\t\t\t\t</ng-doc-smooth-resize>\n\t\t\t\t</ng-template>\n\t\t\t\t<ng-doc-icon icon=\"code\"></ng-doc-icon>\n\t\t\t</button>\n\t\t</div>\n\t</div>\n\t<ng-doc-expander [content]=\"codeContent ? codeContent : expanderContent\" [expanded]=\"expanded\">\n\t\t<ng-template #expanderContent>\n\t\t\t<ng-doc-code [copyButton]=\"false\">\n\t\t\t\t<pre class=\"hljs ngde\">\n\t\t\t\t\t<code class=\"ngde\" [ngDocCodeHighlighter]=\"code\" [language]=\"'html'\"></code>\n\t\t\t\t</pre>\n\t\t\t</ng-doc-code>\n\t\t</ng-template>\n\t</ng-doc-expander>\n</div>\n\n<ng-template #demoTemplate>\n\t<ng-content></ng-content>\n</ng-template>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {NgDocCodeModule} from '@ng-doc/app/components/code';\nimport {NgDocCodeHighlighterModule} from '@ng-doc/app/directives/code-highlighter';\nimport {\n\tNgDocButtonIconModule,\n\tNgDocExpanderModule,\n\tNgDocIconModule,\n\tNgDocSmoothResizeModule,\n\tNgDocTooltipModule,\n} from '@ng-doc/ui-kit';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {NgDocDemoDisplayerComponent} from './demo-displayer.component';\n\n@NgModule({\n\tdeclarations: [NgDocDemoDisplayerComponent],\n\timports: [\n\t\tCommonModule,\n\t\tPolymorpheusModule,\n\t\tNgDocExpanderModule,\n\t\tNgDocCodeModule,\n\t\tNgDocButtonIconModule,\n\t\tNgDocIconModule,\n\t\tNgDocTooltipModule,\n\t\tNgDocCodeHighlighterModule,\n\t\tNgDocSmoothResizeModule,\n\t],\n\texports: [NgDocDemoDisplayerComponent],\n})\nexport class NgDocDemoDisplayerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAIA,MAMa,2BAA2B,CAAA;AAsBvC,IAAA,WAAA,CAA6B,SAAoB,EAAA;QAApB,IAAS,CAAA,SAAA,GAAT,SAAS,CAAW;QApBjD,IAAW,CAAA,WAAA,GAAiB,EAAE,CAAC;QAG/B,IAAI,CAAA,IAAA,GAAW,EAAE,CAAC;QAGlB,IAAQ,CAAA,QAAA,GAAW,YAAY,CAAC;QAGhC,IAAS,CAAA,SAAA,GAAY,IAAI,CAAC;QAI1B,IAAM,CAAA,MAAA,GAAY,IAAI,CAAC;QAGvB,IAAQ,CAAA,QAAA,GAAY,KAAK,CAAC;QAE1B,IAAe,CAAA,eAAA,GAAW,EAAE,CAAC;KAEwB;AAErD,IAAA,IAAc,iBAAiB,GAAA;QAC9B,OAAO,IAAI,CAAC,QAAQ,GAAG,UAAU,GAAG,QAAQ,CAAC;KAC7C;IAED,QAAQ,GAAA;QACP,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAC/B;8GA9BW,2BAA2B,EAAA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AAC,yBAAyB,CAAA;gBAItC,QAAQ,EAAA,CAAA;sBADP,KAAK;;;AEZP,MAea,wBAAwB,CAAA;8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAxB,wBAAwB,EAAA,YAAA,EAAA,CAdrB,2BAA2B,CAAA,EAAA,OAAA,EAAA,CAEzC,YAAY;YACZ,kBAAkB;YAClB,mBAAmB;YACnB,eAAe;YACf,qBAAqB;YACrB,eAAe;YACf,kBAAkB;YAClB,0BAA0B;AAC1B,YAAA,uBAAuB,aAEd,2BAA2B,CAAA,EAAA,CAAA,CAAA,EAAA;AAEzB,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,wBAAwB,YAZnC,YAAY;YACZ,kBAAkB;YAClB,mBAAmB;YACnB,eAAe;YACf,qBAAqB;YACrB,eAAe;YACf,kBAAkB;YAClB,0BAA0B;YAC1B,uBAAuB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIZ,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAfpC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,YAAY,EAAE,CAAC,2BAA2B,CAAC;AAC3C,oBAAA,OAAO,EAAE;wBACR,YAAY;wBACZ,kBAAkB;wBAClB,mBAAmB;wBACnB,eAAe;wBACf,qBAAqB;wBACrB,eAAe;wBACf,kBAAkB;wBAClB,0BAA0B;wBAC1B,uBAAuB;AACvB,qBAAA;oBACD,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACtC,iBAAA,CAAA;;;AC7BD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-app-components-demo-displayer.mjs","sources":["../../../../libs/app/components/demo-displayer/demo-displayer.component.ts","../../../../libs/app/components/demo-displayer/demo-displayer.component.html","../../../../libs/app/components/demo-displayer/ng-doc-app-components-demo-displayer.ts"],"sourcesContent":["import {Clipboard} from '@angular/cdk/clipboard';\nimport {NgIf, NgTemplateOutlet} from '@angular/common';\nimport {ChangeDetectionStrategy, Component, HostBinding, Input} from '@angular/core';\nimport {NgDocCodeComponent} from '@ng-doc/app/components/code';\nimport {NgDocCodeHighlighterDirective} from '@ng-doc/app/directives/code-highlighter';\nimport {\n\tNgDocButtonIconComponent,\n\tNgDocContent,\n\tNgDocExpanderComponent,\n\tNgDocIconComponent,\n\tNgDocSmoothResizeComponent,\n\tNgDocTooltipDirective,\n} from '@ng-doc/ui-kit';\n\n@Component({\n\tselector: 'ng-doc-demo-displayer',\n\ttemplateUrl: './demo-displayer.component.html',\n\tstyleUrls: ['./demo-displayer.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [\n\t\tNgIf,\n\t\tNgTemplateOutlet,\n\t\tNgDocButtonIconComponent,\n\t\tNgDocTooltipDirective,\n\t\tNgDocSmoothResizeComponent,\n\t\tNgDocIconComponent,\n\t\tNgDocExpanderComponent,\n\t\tNgDocCodeComponent,\n\t\tNgDocCodeHighlighterDirective,\n\t],\n})\nexport class NgDocDemoDisplayerComponent {\n\t@Input()\n\tcodeContent: NgDocContent = '';\n\n\t@Input()\n\tcode: string = '';\n\n\t@Input()\n\tlanguage: string = 'typescript';\n\n\t@Input()\n\tcontainer: boolean = true;\n\n\t@Input()\n\t@HostBinding('attr.data-ng-doc-border')\n\tborder: boolean = true;\n\n\t@Input()\n\texpanded: boolean = false;\n\n\tcopyTooltipText: string = '';\n\n\tconstructor(private readonly clipboard: Clipboard) {}\n\n\tprotected get expandTooltipText(): string {\n\t\treturn this.expanded ? 'Collapse' : 'Expand';\n\t}\n\n\tcopyCode(): void {\n\t\tthis.clipboard.copy(this.code);\n\t}\n}\n","<div class=\"ng-doc-demo-wrapper\" *ngIf=\"container; else demoTemplate\">\n\t<div class=\"ng-doc-demo-container\">\n\t\t<div class=\"ng-doc-demo\">\n\t\t\t<ng-container *ngTemplateOutlet=\"demoTemplate\"></ng-container>\n\t\t</div>\n\t\t<div class=\"ng-doc-demo-controls\">\n\t\t\t<button\n\t\t\t\tclass=\"ng-doc-copy-button\"\n\t\t\t\t*ngIf=\"!codeContent\"\n\t\t\t\tng-doc-button-icon\n\t\t\t\t(click)=\"copyCode(); copyTooltipText = 'Copied!'\"\n\t\t\t\t[ngDocTooltip]=\"tooltipContent\"\n\t\t\t\t(mouseenter)=\"copyTooltipText = 'Copy to clipboard'\"\n\t\t\t>\n\t\t\t\t<ng-template #tooltipContent>\n\t\t\t\t\t<ng-doc-smooth-resize [trigger]=\"copyTooltipText\">\n\t\t\t\t\t\t{{copyTooltipText}}\n\t\t\t\t\t</ng-doc-smooth-resize>\n\t\t\t\t</ng-template>\n\t\t\t\t<ng-doc-icon icon=\"copy\"></ng-doc-icon>\n\t\t\t</button>\n\t\t\t<button\n\t\t\t\tng-doc-button-icon\n\t\t\t\t(click)=\"expanded = !expanded\"\n\t\t\t\t[ngDocTooltip]=\"tooltipContent\"\n\t\t\t>\n\t\t\t\t<ng-template #tooltipContent>\n\t\t\t\t\t<ng-doc-smooth-resize [trigger]=\"expandTooltipText\">\n\t\t\t\t\t\t{{expandTooltipText}}\n\t\t\t\t\t</ng-doc-smooth-resize>\n\t\t\t\t</ng-template>\n\t\t\t\t<ng-doc-icon icon=\"code\"></ng-doc-icon>\n\t\t\t</button>\n\t\t</div>\n\t</div>\n\t<ng-doc-expander [content]=\"codeContent ? codeContent : expanderContent\" [expanded]=\"expanded\">\n\t\t<ng-template #expanderContent>\n\t\t\t<ng-doc-code [copyButton]=\"false\">\n\t\t\t\t<pre class=\"hljs ngde\">\n\t\t\t\t\t<code class=\"ngde\" [ngDocCodeHighlighter]=\"code\" [language]=\"'html'\"></code>\n\t\t\t\t</pre>\n\t\t\t</ng-doc-code>\n\t\t</ng-template>\n\t</ng-doc-expander>\n</div>\n\n<ng-template #demoTemplate>\n\t<ng-content></ng-content>\n</ng-template>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAcA,MAkBa,2BAA2B,CAAA;AAsBvC,IAAA,WAAA,CAA6B,SAAoB,EAAA;QAApB,IAAS,CAAA,SAAA,GAAT,SAAS,CAAW;QApBjD,IAAW,CAAA,WAAA,GAAiB,EAAE,CAAC;QAG/B,IAAI,CAAA,IAAA,GAAW,EAAE,CAAC;QAGlB,IAAQ,CAAA,QAAA,GAAW,YAAY,CAAC;QAGhC,IAAS,CAAA,SAAA,GAAY,IAAI,CAAC;QAI1B,IAAM,CAAA,MAAA,GAAY,IAAI,CAAC;QAGvB,IAAQ,CAAA,QAAA,GAAY,KAAK,CAAC;QAE1B,IAAe,CAAA,eAAA,GAAW,EAAE,CAAC;KAEwB;AAErD,IAAA,IAAc,iBAAiB,GAAA;QAC9B,OAAO,IAAI,CAAC,QAAQ,GAAG,UAAU,GAAG,QAAQ,CAAC;KAC7C;IAED,QAAQ,GAAA;QACP,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAC/B;8GA9BW,2BAA2B,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,SAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAA3B,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,2BAA2B,iSChCxC,qsDAiDA,EAAA,MAAA,EAAA,CAAA,6rBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,ED5BE,IAAI,EACJ,QAAA,EAAA,QAAA,EAAA,MAAA,EAA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uB,mBAGhB,uBAAuB,CAAC,MAAM,EAAA,UAAA,EACnC,IAAI,EACP,OAAA,EAAA;wBACR,IAAI;wBACJ,gBAAgB;wBAChB,wBAAwB;wBACxB,qBAAqB;wBACrB,0BAA0B;wBAC1B,kBAAkB;wBAClB,sBAAsB;wBACtB,kBAAkB;wBAClB,6BAA6B;AAC7B,qBAAA,EAAA,QAAA,EAAA,qsDAAA,EAAA,MAAA,EAAA,CAAA,6rBAAA,CAAA,EAAA,CAAA;gGAID,WAAW,EAAA,CAAA;sBADV,KAAK;gBAIN,IAAI,EAAA,CAAA;sBADH,KAAK;gBAIN,QAAQ,EAAA,CAAA;sBADP,KAAK;gBAIN,SAAS,EAAA,CAAA;sBADR,KAAK;gBAKN,MAAM,EAAA,CAAA;sBAFL,KAAK;;sBACL,WAAW;uBAAC,yBAAyB,CAAA;gBAItC,QAAQ,EAAA,CAAA;sBADP,KAAK;;;AEjDP;;AAEG;;;;"}
@@ -1,15 +1,12 @@
1
+ import { NgTemplateOutlet, NgIf, NgFor } from '@angular/common';
1
2
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, Input, HostBinding, NgModule } from '@angular/core';
3
+ import { Component, ChangeDetectionStrategy, Input, HostBinding } from '@angular/core';
3
4
  import * as i1 from '@ng-doc/app/classes/root-page';
5
+ import { NgDocCodeComponent } from '@ng-doc/app/components/code';
4
6
  import { asArray } from '@ng-doc/core/helpers/as-array';
5
- import * as i4 from '@tinkoff/ng-polymorpheus';
7
+ import { NgDocPaneComponent, NgDocPaneBackDirective, NgDocPaneFrontDirective, NgDocTabGroupComponent, NgDocTabComponent } from '@ng-doc/ui-kit';
8
+ import * as i2 from '@tinkoff/ng-polymorpheus';
6
9
  import { PolymorpheusComponent, PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
7
- import * as i2 from '@angular/common';
8
- import { CommonModule } from '@angular/common';
9
- import * as i3 from '@ng-doc/ui-kit';
10
- import { NgDocPaneModule, NgDocTabGroupModule } from '@ng-doc/ui-kit';
11
- import * as i5 from '@ng-doc/app/components/code';
12
- import { NgDocCodeModule } from '@ng-doc/app/components/code';
13
10
 
14
11
  class NgDocDemoPaneComponent {
15
12
  constructor(rootPage) {
@@ -26,7 +23,7 @@ class NgDocDemoPaneComponent {
26
23
  }
27
24
  getDemo() {
28
25
  if (this.componentName) {
29
- const component = this.rootPage.dependencies?.demo && this.rootPage.dependencies.demo[this.componentName];
26
+ const component = this.rootPage.page?.demos && this.rootPage.page.demos[this.componentName];
30
27
  return component ? new PolymorpheusComponent(component) : undefined;
31
28
  }
32
29
  return undefined;
@@ -38,11 +35,22 @@ class NgDocDemoPaneComponent {
38
35
  return [];
39
36
  }
40
37
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoPaneComponent, deps: [{ token: i1.NgDocRootPage }], target: i0.ɵɵFactoryTarget.Component }); }
41
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocDemoPaneComponent, selector: "ng-doc-demo-pane", inputs: { componentName: "componentName", options: "options" }, host: { properties: { "class": "this.classes" } }, ngImport: i0, template: "<ng-doc-pane [expanded]=\"options.expanded ?? false\">\n\t<ng-container *ngTemplateOutlet=\"codeContent\" ngDocPaneBack></ng-container>\n\t<ng-container *ngTemplateOutlet=\"demoTemplate\" ngDocPaneFront></ng-container>\n</ng-doc-pane>\n\n<ng-template #demoTemplate>\n\t<ng-container *polymorpheusOutlet=\"demo ?? ''; context: {}\"></ng-container>\n</ng-template>\n\n<ng-template #codeContent>\n\t<ng-container *ngIf=\"assets.length === 1\">\n\t\t<ng-doc-code *ngFor=\"let asset of assets\" [html]=\"asset.code\"></ng-doc-code>\n\t</ng-container>\n\n\t<ng-container *ngIf=\"assets.length > 1\">\n\t\t<ng-doc-tab-group [openedTab]=\"options.defaultTab\">\n\t\t\t<ng-doc-tab *ngFor=\"let asset of assets\" [id]=\"asset.title\" [label]=\"asset.title\" [content]=\"assetContent\">\n\t\t\t\t<ng-template #assetContent>\n\t\t\t\t\t<ng-doc-code [html]=\"asset.code\"></ng-doc-code>\n\t\t\t\t</ng-template>\n\t\t\t</ng-doc-tab>\n\t\t</ng-doc-tab-group>\n\t</ng-container>\n</ng-template>\n", styles: [":host{display:block;height:var(--ng-doc-demo-pain-height);--ng-doc-code-margin: 0;--ng-doc-code-border-radius: 0;--ng-doc-smooth-resize-height: var(--ng-doc-demo-pain-height);--ng-doc-smooth-resize-max-height: 100%}:host ng-doc-tab-group,:host ng-doc-code,:host ng-doc-pane{width:100%;height:100%}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.NgDocPaneComponent, selector: "ng-doc-pane", inputs: ["expanded"] }, { kind: "directive", type: i3.NgDocPaneFrontDirective, selector: "[ngDocPaneFront]" }, { kind: "directive", type: i3.NgDocPaneBackDirective, selector: "[ngDocPaneBack]" }, { kind: "directive", type: i4.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "component", type: i5.NgDocCodeComponent, selector: "ng-doc-code", inputs: ["html", "copyButton", "fileName", "lineNumbers"] }, { kind: "component", type: i3.NgDocTabGroupComponent, selector: "ng-doc-tab-group", inputs: ["openedTab"] }, { kind: "component", type: i3.NgDocTabComponent, selector: "ng-doc-tab", inputs: ["label", "id", "content"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
38
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocDemoPaneComponent, isStandalone: true, selector: "ng-doc-demo-pane", inputs: { componentName: "componentName", options: "options" }, host: { properties: { "class": "this.classes" } }, ngImport: i0, template: "<ng-doc-pane [expanded]=\"options.expanded ?? false\">\n\t<ng-container *ngTemplateOutlet=\"codeContent\" ngDocPaneBack></ng-container>\n\t<ng-container *ngTemplateOutlet=\"demoTemplate\" ngDocPaneFront></ng-container>\n</ng-doc-pane>\n\n<ng-template #demoTemplate>\n\t<ng-container *polymorpheusOutlet=\"demo ?? ''; context: {}\"></ng-container>\n</ng-template>\n\n<ng-template #codeContent>\n\t<ng-container *ngIf=\"assets.length === 1\">\n\t\t<ng-doc-code *ngFor=\"let asset of assets\" [html]=\"asset.code\"></ng-doc-code>\n\t</ng-container>\n\n\t<ng-container *ngIf=\"assets.length > 1\">\n\t\t<ng-doc-tab-group [openedTab]=\"options.defaultTab\">\n\t\t\t<ng-doc-tab *ngFor=\"let asset of assets\" [id]=\"asset.title\" [label]=\"asset.title\" [content]=\"assetContent\">\n\t\t\t\t<ng-template #assetContent>\n\t\t\t\t\t<ng-doc-code [html]=\"asset.code\"></ng-doc-code>\n\t\t\t\t</ng-template>\n\t\t\t</ng-doc-tab>\n\t\t</ng-doc-tab-group>\n\t</ng-container>\n</ng-template>\n", styles: [":host{display:block;height:var(--ng-doc-demo-pain-height);--ng-doc-code-margin: 0;--ng-doc-code-border-radius: 0;--ng-doc-smooth-resize-height: var(--ng-doc-demo-pain-height);--ng-doc-smooth-resize-max-height: 100%}:host ng-doc-tab-group,:host ng-doc-code,:host ng-doc-pane{width:100%;height:100%}\n"], dependencies: [{ kind: "component", type: NgDocPaneComponent, selector: "ng-doc-pane", inputs: ["expanded"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgDocPaneBackDirective, selector: "[ngDocPaneBack]" }, { kind: "directive", type: NgDocPaneFrontDirective, selector: "[ngDocPaneFront]" }, { kind: "ngmodule", type: PolymorpheusModule }, { kind: "directive", type: i2.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: NgDocCodeComponent, selector: "ng-doc-code", inputs: ["html", "copyButton", "fileName", "lineNumbers"] }, { kind: "component", type: NgDocTabGroupComponent, selector: "ng-doc-tab-group", inputs: ["openedTab"] }, { kind: "component", type: NgDocTabComponent, selector: "ng-doc-tab", inputs: ["label", "id", "content"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
42
39
  }
43
40
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoPaneComponent, decorators: [{
44
41
  type: Component,
45
- args: [{ selector: 'ng-doc-demo-pane', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-doc-pane [expanded]=\"options.expanded ?? false\">\n\t<ng-container *ngTemplateOutlet=\"codeContent\" ngDocPaneBack></ng-container>\n\t<ng-container *ngTemplateOutlet=\"demoTemplate\" ngDocPaneFront></ng-container>\n</ng-doc-pane>\n\n<ng-template #demoTemplate>\n\t<ng-container *polymorpheusOutlet=\"demo ?? ''; context: {}\"></ng-container>\n</ng-template>\n\n<ng-template #codeContent>\n\t<ng-container *ngIf=\"assets.length === 1\">\n\t\t<ng-doc-code *ngFor=\"let asset of assets\" [html]=\"asset.code\"></ng-doc-code>\n\t</ng-container>\n\n\t<ng-container *ngIf=\"assets.length > 1\">\n\t\t<ng-doc-tab-group [openedTab]=\"options.defaultTab\">\n\t\t\t<ng-doc-tab *ngFor=\"let asset of assets\" [id]=\"asset.title\" [label]=\"asset.title\" [content]=\"assetContent\">\n\t\t\t\t<ng-template #assetContent>\n\t\t\t\t\t<ng-doc-code [html]=\"asset.code\"></ng-doc-code>\n\t\t\t\t</ng-template>\n\t\t\t</ng-doc-tab>\n\t\t</ng-doc-tab-group>\n\t</ng-container>\n</ng-template>\n", styles: [":host{display:block;height:var(--ng-doc-demo-pain-height);--ng-doc-code-margin: 0;--ng-doc-code-border-radius: 0;--ng-doc-smooth-resize-height: var(--ng-doc-demo-pain-height);--ng-doc-smooth-resize-max-height: 100%}:host ng-doc-tab-group,:host ng-doc-code,:host ng-doc-pane{width:100%;height:100%}\n"] }]
42
+ args: [{ selector: 'ng-doc-demo-pane', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
43
+ NgDocPaneComponent,
44
+ NgTemplateOutlet,
45
+ NgDocPaneBackDirective,
46
+ NgDocPaneFrontDirective,
47
+ PolymorpheusModule,
48
+ NgIf,
49
+ NgFor,
50
+ NgDocCodeComponent,
51
+ NgDocTabGroupComponent,
52
+ NgDocTabComponent,
53
+ ], template: "<ng-doc-pane [expanded]=\"options.expanded ?? false\">\n\t<ng-container *ngTemplateOutlet=\"codeContent\" ngDocPaneBack></ng-container>\n\t<ng-container *ngTemplateOutlet=\"demoTemplate\" ngDocPaneFront></ng-container>\n</ng-doc-pane>\n\n<ng-template #demoTemplate>\n\t<ng-container *polymorpheusOutlet=\"demo ?? ''; context: {}\"></ng-container>\n</ng-template>\n\n<ng-template #codeContent>\n\t<ng-container *ngIf=\"assets.length === 1\">\n\t\t<ng-doc-code *ngFor=\"let asset of assets\" [html]=\"asset.code\"></ng-doc-code>\n\t</ng-container>\n\n\t<ng-container *ngIf=\"assets.length > 1\">\n\t\t<ng-doc-tab-group [openedTab]=\"options.defaultTab\">\n\t\t\t<ng-doc-tab *ngFor=\"let asset of assets\" [id]=\"asset.title\" [label]=\"asset.title\" [content]=\"assetContent\">\n\t\t\t\t<ng-template #assetContent>\n\t\t\t\t\t<ng-doc-code [html]=\"asset.code\"></ng-doc-code>\n\t\t\t\t</ng-template>\n\t\t\t</ng-doc-tab>\n\t\t</ng-doc-tab-group>\n\t</ng-container>\n</ng-template>\n", styles: [":host{display:block;height:var(--ng-doc-demo-pain-height);--ng-doc-code-margin: 0;--ng-doc-code-border-radius: 0;--ng-doc-smooth-resize-height: var(--ng-doc-demo-pain-height);--ng-doc-smooth-resize-max-height: 100%}:host ng-doc-tab-group,:host ng-doc-code,:host ng-doc-pane{width:100%;height:100%}\n"] }]
46
54
  }], ctorParameters: function () { return [{ type: i1.NgDocRootPage }]; }, propDecorators: { componentName: [{
47
55
  type: Input
48
56
  }], options: [{
@@ -52,23 +60,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
52
60
  args: ['class']
53
61
  }] } });
54
62
 
55
- class NgDocDemoPaneModule {
56
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoPaneModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
57
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoPaneModule, declarations: [NgDocDemoPaneComponent], imports: [CommonModule, NgDocPaneModule, PolymorpheusModule, NgDocCodeModule, NgDocTabGroupModule], exports: [NgDocDemoPaneComponent] }); }
58
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoPaneModule, imports: [CommonModule, NgDocPaneModule, PolymorpheusModule, NgDocCodeModule, NgDocTabGroupModule] }); }
59
- }
60
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoPaneModule, decorators: [{
61
- type: NgModule,
62
- args: [{
63
- declarations: [NgDocDemoPaneComponent],
64
- imports: [CommonModule, NgDocPaneModule, PolymorpheusModule, NgDocCodeModule, NgDocTabGroupModule],
65
- exports: [NgDocDemoPaneComponent],
66
- }]
67
- }] });
68
-
69
63
  /**
70
64
  * Generated bundle index. Do not edit.
71
65
  */
72
66
 
73
- export { NgDocDemoPaneComponent, NgDocDemoPaneModule };
67
+ export { NgDocDemoPaneComponent };
74
68
  //# sourceMappingURL=ng-doc-app-components-demo-pane.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-app-components-demo-pane.mjs","sources":["../../../../libs/app/components/demo-pane/demo-pane.component.ts","../../../../libs/app/components/demo-pane/demo-pane.component.html","../../../../libs/app/components/demo-pane/demo-pane.module.ts","../../../../libs/app/components/demo-pane/ng-doc-app-components-demo-pane.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, HostBinding, Input, OnInit, Type} from '@angular/core';\nimport {NgDocRootPage} from '@ng-doc/app/classes/root-page';\nimport {NgDocDemoAsset} from '@ng-doc/app/interfaces';\nimport {asArray} from '@ng-doc/core/helpers/as-array';\nimport {NgDocDemoPaneActionOptions} from '@ng-doc/core/interfaces';\nimport {NgDocContent} from '@ng-doc/ui-kit/types';\nimport {PolymorpheusComponent} from '@tinkoff/ng-polymorpheus';\n\n@Component({\n\tselector: 'ng-doc-demo-pane',\n\ttemplateUrl: './demo-pane.component.html',\n\tstyleUrls: ['./demo-pane.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NgDocDemoPaneComponent implements OnInit {\n\t@Input()\n\tcomponentName?: string;\n\n\t@Input()\n\toptions: NgDocDemoPaneActionOptions = {};\n\n\tdemo?: NgDocContent<object>;\n\tassets: NgDocDemoAsset[] = [];\n\n\tconstructor(private readonly rootPage: NgDocRootPage) {}\n\n\t@HostBinding('class')\n\tprotected get classes(): string | string[] {\n\t\treturn this.options.class ?? '';\n\t}\n\n\tngOnInit(): void {\n\t\tthis.demo = this.getDemo();\n\t\tthis.assets = this.getAssets();\n\t}\n\n\tprivate getDemo(): NgDocContent<object> | undefined {\n\t\tif (this.componentName) {\n\t\t\tconst component: Type<unknown> | undefined =\n\t\t\t\tthis.rootPage.dependencies?.demo && this.rootPage.dependencies.demo[this.componentName];\n\n\t\t\treturn component ? new PolymorpheusComponent(component as Type<object>) : undefined;\n\t\t}\n\n\t\treturn undefined;\n\t}\n\n\tprivate getAssets(): NgDocDemoAsset[] {\n\t\tif (this.componentName) {\n\t\t\treturn ((this.rootPage.demoAssets && this.rootPage.demoAssets[this.componentName]) ?? []).filter(\n\t\t\t\t(asset: NgDocDemoAsset) => !this.options.tabs?.length || asArray(this.options.tabs).includes(asset.title),\n\t\t\t);\n\t\t}\n\n\t\treturn [];\n\t}\n}\n","<ng-doc-pane [expanded]=\"options.expanded ?? false\">\n\t<ng-container *ngTemplateOutlet=\"codeContent\" ngDocPaneBack></ng-container>\n\t<ng-container *ngTemplateOutlet=\"demoTemplate\" ngDocPaneFront></ng-container>\n</ng-doc-pane>\n\n<ng-template #demoTemplate>\n\t<ng-container *polymorpheusOutlet=\"demo ?? ''; context: {}\"></ng-container>\n</ng-template>\n\n<ng-template #codeContent>\n\t<ng-container *ngIf=\"assets.length === 1\">\n\t\t<ng-doc-code *ngFor=\"let asset of assets\" [html]=\"asset.code\"></ng-doc-code>\n\t</ng-container>\n\n\t<ng-container *ngIf=\"assets.length > 1\">\n\t\t<ng-doc-tab-group [openedTab]=\"options.defaultTab\">\n\t\t\t<ng-doc-tab *ngFor=\"let asset of assets\" [id]=\"asset.title\" [label]=\"asset.title\" [content]=\"assetContent\">\n\t\t\t\t<ng-template #assetContent>\n\t\t\t\t\t<ng-doc-code [html]=\"asset.code\"></ng-doc-code>\n\t\t\t\t</ng-template>\n\t\t\t</ng-doc-tab>\n\t\t</ng-doc-tab-group>\n\t</ng-container>\n</ng-template>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {NgDocCodeModule} from '@ng-doc/app/components/code';\nimport {NgDocPaneModule, NgDocTabGroupModule} from '@ng-doc/ui-kit';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {NgDocDemoPaneComponent} from './demo-pane.component';\n\n@NgModule({\n\tdeclarations: [NgDocDemoPaneComponent],\n\timports: [CommonModule, NgDocPaneModule, PolymorpheusModule, NgDocCodeModule, NgDocTabGroupModule],\n\texports: [NgDocDemoPaneComponent],\n})\nexport class NgDocDemoPaneModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAQA,MAMa,sBAAsB,CAAA;AAUlC,IAAA,WAAA,CAA6B,QAAuB,EAAA;QAAvB,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAe;QALpD,IAAO,CAAA,OAAA,GAA+B,EAAE,CAAC;QAGzC,IAAM,CAAA,MAAA,GAAqB,EAAE,CAAC;KAE0B;AAExD,IAAA,IACc,OAAO,GAAA;AACpB,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC;KAChC;IAED,QAAQ,GAAA;AACP,QAAA,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;AAC3B,QAAA,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;KAC/B;IAEO,OAAO,GAAA;QACd,IAAI,IAAI,CAAC,aAAa,EAAE;YACvB,MAAM,SAAS,GACd,IAAI,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,IAAI,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;AAEzF,YAAA,OAAO,SAAS,GAAG,IAAI,qBAAqB,CAAC,SAAyB,CAAC,GAAG,SAAS,CAAC;AACpF,SAAA;AAED,QAAA,OAAO,SAAS,CAAC;KACjB;IAEO,SAAS,GAAA;QAChB,IAAI,IAAI,CAAC,aAAa,EAAE;YACvB,OAAO,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,IAAI,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,EAAE,EAAE,MAAM,C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mB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAnB,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,mBAAmB,EAJhB,YAAA,EAAA,CAAA,sBAAsB,CAC3B,EAAA,OAAA,EAAA,CAAA,YAAY,EAAE,eAAe,EAAE,kBAAkB,EAAE,eAAe,EAAE,mBAAmB,aACvF,sBAAsB,CAAA,EAAA,CAAA,CAAA,EAAA;+GAEpB,mBAAmB,EAAA,OAAA,EAAA,CAHrB,YAAY,EAAE,eAAe,EAAE,kBAAkB,EAAE,eAAe,EAAE,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGrF,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAL/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,YAAY,EAAE,CAAC,sBAAsB,CAAC;oBACtC,OAAO,EAAE,CAAC,YAAY,EAAE,eAAe,EAAE,kBAAkB,EAAE,eAAe,EAAE,mBAAmB,CAAC;oBAClG,OAAO,EAAE,CAAC,sBAAsB,CAAC;AACjC,iBAAA,CAAA;;;ACZD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-app-components-demo-pane.mjs","sources":["../../../../libs/app/components/demo-pane/demo-pane.component.ts","../../../../libs/app/components/demo-pane/demo-pane.component.html","../../../../libs/app/components/demo-pane/ng-doc-app-components-demo-pane.ts"],"sourcesContent":["import {NgFor, NgIf, NgTemplateOutlet} from '@angular/common';\nimport {ChangeDetectionStrategy, Component, HostBinding, Input, OnInit, Type} from '@angular/core';\nimport {NgDocRootPage} from '@ng-doc/app/classes/root-page';\nimport {NgDocCodeComponent} from '@ng-doc/app/components/code';\nimport {NgDocDemoAsset} from '@ng-doc/app/interfaces';\nimport {asArray} from '@ng-doc/core/helpers/as-array';\nimport {NgDocDemoPaneActionOptions} from '@ng-doc/core/interfaces';\nimport {\n\tNgDocPaneBackDirective,\n\tNgDocPaneComponent,\n\tNgDocPaneFrontDirective,\n\tNgDocTabComponent,\n\tNgDocTabGroupComponent,\n} from '@ng-doc/ui-kit';\nimport {NgDocContent} from '@ng-doc/ui-kit/types';\nimport {PolymorpheusComponent, PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\n@Component({\n\tselector: 'ng-doc-demo-pane',\n\ttemplateUrl: './demo-pane.component.html',\n\tstyleUrls: ['./demo-pane.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [\n\t\tNgDocPaneComponent,\n\t\tNgTemplateOutlet,\n\t\tNgDocPaneBackDirective,\n\t\tNgDocPaneFrontDirective,\n\t\tPolymorpheusModule,\n\t\tNgIf,\n\t\tNgFor,\n\t\tNgDocCodeComponent,\n\t\tNgDocTabGroupComponent,\n\t\tNgDocTabComponent,\n\t],\n})\nexport class NgDocDemoPaneComponent implements OnInit {\n\t@Input()\n\tcomponentName?: string;\n\n\t@Input()\n\toptions: NgDocDemoPaneActionOptions = {};\n\n\tdemo?: NgDocContent<object>;\n\tassets: NgDocDemoAsset[] = [];\n\n\tconstructor(private readonly rootPage: NgDocRootPage) {}\n\n\t@HostBinding('class')\n\tprotected get classes(): string | string[] {\n\t\treturn this.options.class ?? '';\n\t}\n\n\tngOnInit(): void {\n\t\tthis.demo = this.getDemo();\n\t\tthis.assets = this.getAssets();\n\t}\n\n\tprivate getDemo(): NgDocContent<object> | undefined {\n\t\tif (this.componentName) {\n\t\t\tconst component: Type<unknown> | undefined =\n\t\t\t\tthis.rootPage.page?.demos && this.rootPage.page.demos[this.componentName];\n\n\t\t\treturn component ? new PolymorpheusComponent(component as Type<object>) : undefined;\n\t\t}\n\n\t\treturn undefined;\n\t}\n\n\tprivate getAssets(): NgDocDemoAsset[] {\n\t\tif (this.componentName) {\n\t\t\treturn ((this.rootPage.demoAssets && this.rootPage.demoAssets[this.componentName]) ?? []).filter(\n\t\t\t\t(asset: NgDocDemoAsset) => !this.options.tabs?.length || asArray(this.options.tabs).includes(asset.title),\n\t\t\t);\n\t\t}\n\n\t\treturn [];\n\t}\n}\n","<ng-doc-pane [expanded]=\"options.expanded ?? false\">\n\t<ng-container *ngTemplateOutlet=\"codeContent\" ngDocPaneBack></ng-container>\n\t<ng-container *ngTemplateOutlet=\"demoTemplate\" ngDocPaneFront></ng-container>\n</ng-doc-pane>\n\n<ng-template #demoTemplate>\n\t<ng-container *polymorpheusOutlet=\"demo ?? ''; context: {}\"></ng-container>\n</ng-template>\n\n<ng-template #codeContent>\n\t<ng-container *ngIf=\"assets.length === 1\">\n\t\t<ng-doc-code *ngFor=\"let asset of assets\" [html]=\"asset.code\"></ng-doc-code>\n\t</ng-container>\n\n\t<ng-container *ngIf=\"assets.length > 1\">\n\t\t<ng-doc-tab-group [openedTab]=\"options.defaultTab\">\n\t\t\t<ng-doc-tab *ngFor=\"let asset of assets\" [id]=\"asset.title\" [label]=\"asset.title\" [content]=\"assetContent\">\n\t\t\t\t<ng-template #assetContent>\n\t\t\t\t\t<ng-doc-code [html]=\"asset.code\"></ng-doc-code>\n\t\t\t\t</ng-template>\n\t\t\t</ng-doc-tab>\n\t\t</ng-doc-tab-group>\n\t</ng-container>\n</ng-template>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAiBA,MAmBa,sBAAsB,CAAA;AAUlC,IAAA,WAAA,CAA6B,QAAuB,EAAA;QAAvB,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAe;QALpD,IAAO,CAAA,OAAA,GAA+B,EAAE,CAAC;QAGzC,IAAM,CAAA,MAAA,GAAqB,EAAE,CAAC;KAE0B;AAExD,IAAA,IACc,OAAO,GAAA;AACpB,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,IAA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AA,EAAA,SAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAGN,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAnBlC,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,kBAAkB,mBAGX,uBAAuB,CAAC,MAAM,EAAA,UAAA,EACnC,IAAI,EACP,OAAA,EAAA;wBACR,kBAAkB;wBAClB,gBAAgB;wBAChB,sBAAsB;wBACtB,uBAAuB;wBACvB,kBAAkB;wBAClB,IAAI;wBACJ,KAAK;wBACL,kBAAkB;wBAClB,sBAAsB;wBACtB,iBAAiB;AACjB,qBAAA,EAAA,QAAA,EAAA,s9BAAA,EAAA,MAAA,EAAA,CAAA,6SAAA,CAAA,EAAA,CAAA;oGAID,aAAa,EAAA,CAAA;sBADZ,KAAK;gBAIN,OAAO,EAAA,CAAA;sBADN,KAAK;gBASQ,OAAO,EAAA,CAAA;sBADpB,WAAW;uBAAC,OAAO,CAAA;;;AEhDrB;;AAEG;;;;"}
@@ -1,17 +1,13 @@
1
+ import { NgIf, NgTemplateOutlet, NgFor } from '@angular/common';
1
2
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, Input, HostBinding, NgModule } from '@angular/core';
3
+ import { Component, ChangeDetectionStrategy, Input, HostBinding } from '@angular/core';
3
4
  import * as i1 from '@ng-doc/app/classes/root-page';
5
+ import { NgDocCodeComponent } from '@ng-doc/app/components/code';
6
+ import { NgDocDemoDisplayerComponent } from '@ng-doc/app/components/demo-displayer';
4
7
  import { asArray } from '@ng-doc/core/helpers/as-array';
5
- import * as i5 from '@tinkoff/ng-polymorpheus';
8
+ import { NgDocTabGroupComponent, NgDocTabComponent } from '@ng-doc/ui-kit';
9
+ import * as i2 from '@tinkoff/ng-polymorpheus';
6
10
  import { PolymorpheusComponent, PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
7
- import * as i2 from '@angular/common';
8
- import { CommonModule } from '@angular/common';
9
- import * as i3 from '@ng-doc/ui-kit';
10
- import { NgDocTabGroupModule, NgDocIconModule, NgDocTextModule } from '@ng-doc/ui-kit';
11
- import * as i4 from '@ng-doc/app/components/code';
12
- import { NgDocCodeModule } from '@ng-doc/app/components/code';
13
- import * as i6 from '@ng-doc/app/components/demo-displayer';
14
- import { NgDocDemoDisplayerModule } from '@ng-doc/app/components/demo-displayer';
15
11
 
16
12
  class NgDocDemoComponent {
17
13
  constructor(rootPage) {
@@ -28,7 +24,7 @@ class NgDocDemoComponent {
28
24
  }
29
25
  getDemo() {
30
26
  if (this.componentName) {
31
- const component = this.rootPage.dependencies?.demo && this.rootPage.dependencies.demo[this.componentName];
27
+ const component = this.rootPage.page?.demos && this.rootPage.page.demos[this.componentName];
32
28
  return component ? new PolymorpheusComponent(component) : undefined;
33
29
  }
34
30
  return undefined;
@@ -40,11 +36,20 @@ class NgDocDemoComponent {
40
36
  return [];
41
37
  }
42
38
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoComponent, deps: [{ token: i1.NgDocRootPage }], target: i0.ɵɵFactoryTarget.Component }); }
43
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocDemoComponent, selector: "ng-doc-demo", inputs: { componentName: "componentName", options: "options" }, host: { properties: { "class": "this.classes" } }, ngImport: i0, template: "<ng-container *ngIf=\"options.container ?? true; else demoTemplate\">\n\t<ng-doc-demo-displayer [codeContent]=\"codeContent\" [expanded]=\"!!options.expanded\">\n\t\t<ng-container *ngTemplateOutlet=\"demoTemplate\"></ng-container>\n\t\t<ng-template #codeContent>\n\t\t\t<ng-container *ngIf=\"assets.length === 1\">\n\t\t\t\t<ng-doc-code *ngFor=\"let asset of assets\" [html]=\"asset.code\"></ng-doc-code>\n\t\t\t</ng-container>\n\n\t\t\t<ng-container *ngIf=\"assets.length > 1\">\n\t\t\t\t<ng-doc-tab-group [openedTab]=\"options.defaultTab\">\n\t\t\t\t\t<ng-doc-tab\n\t\t\t\t\t\t*ngFor=\"let asset of assets\"\n\t\t\t\t\t\t[id]=\"asset.title\"\n\t\t\t\t\t\t[label]=\"asset.title\"\n\t\t\t\t\t\t[content]=\"assetContent\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<ng-template #assetContent>\n\t\t\t\t\t\t\t<ng-doc-code [html]=\"asset.code\"></ng-doc-code>\n\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t</ng-doc-tab>\n\t\t\t\t</ng-doc-tab-group>\n\t\t\t</ng-container>\n\t\t</ng-template>\n\t</ng-doc-demo-displayer>\n</ng-container>\n\n<ng-template #demoTemplate>\n\t<ng-container *polymorpheusOutlet=\"demo ?? ''; context: {}\"></ng-container>\n</ng-template>\n", styles: [":host{display:block;--ng-doc-tab-group-background: var(--ng-doc-code-background)}:host .ng-doc-example{padding:calc(var(--ng-doc-base-gutter) * 3)}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.NgDocTabGroupComponent, selector: "ng-doc-tab-group", inputs: ["openedTab"] }, { kind: "component", type: i3.NgDocTabComponent, selector: "ng-doc-tab", inputs: ["label", "id", "content"] }, { kind: "component", type: i4.NgDocCodeComponent, selector: "ng-doc-code", inputs: ["html", "copyButton", "fileName", "lineNumbers"] }, { kind: "directive", type: i5.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "component", type: i6.NgDocDemoDisplayerComponent, selector: "ng-doc-demo-displayer", inputs: ["codeContent", "code", "language", "container", "border", "expanded"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
39
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocDemoComponent, isStandalone: true, selector: "ng-doc-demo", inputs: { componentName: "componentName", options: "options" }, host: { properties: { "class": "this.classes" } }, ngImport: i0, template: "<ng-container *ngIf=\"options.container ?? true; else demoTemplate\">\n\t<ng-doc-demo-displayer [codeContent]=\"codeContent\" [expanded]=\"!!options.expanded\">\n\t\t<ng-container *ngTemplateOutlet=\"demoTemplate\"></ng-container>\n\t\t<ng-template #codeContent>\n\t\t\t<ng-container *ngIf=\"assets.length === 1\">\n\t\t\t\t<ng-doc-code *ngFor=\"let asset of assets\" [html]=\"asset.code\"></ng-doc-code>\n\t\t\t</ng-container>\n\n\t\t\t<ng-container *ngIf=\"assets.length > 1\">\n\t\t\t\t<ng-doc-tab-group [openedTab]=\"options.defaultTab\">\n\t\t\t\t\t<ng-doc-tab\n\t\t\t\t\t\t*ngFor=\"let asset of assets\"\n\t\t\t\t\t\t[id]=\"asset.title\"\n\t\t\t\t\t\t[label]=\"asset.title\"\n\t\t\t\t\t\t[content]=\"assetContent\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<ng-template #assetContent>\n\t\t\t\t\t\t\t<ng-doc-code [html]=\"asset.code\"></ng-doc-code>\n\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t</ng-doc-tab>\n\t\t\t\t</ng-doc-tab-group>\n\t\t\t</ng-container>\n\t\t</ng-template>\n\t</ng-doc-demo-displayer>\n</ng-container>\n\n<ng-template #demoTemplate>\n\t<ng-container *polymorpheusOutlet=\"demo ?? ''; context: {}\"></ng-container>\n</ng-template>\n", styles: [":host{display:block;--ng-doc-tab-group-background: var(--ng-doc-code-background)}:host .ng-doc-example{padding:calc(var(--ng-doc-base-gutter) * 3)}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: NgDocDemoDisplayerComponent, selector: "ng-doc-demo-displayer", inputs: ["codeContent", "code", "language", "container", "border", "expanded"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: NgDocCodeComponent, selector: "ng-doc-code", inputs: ["html", "copyButton", "fileName", "lineNumbers"] }, { kind: "component", type: NgDocTabGroupComponent, selector: "ng-doc-tab-group", inputs: ["openedTab"] }, { kind: "component", type: NgDocTabComponent, selector: "ng-doc-tab", inputs: ["label", "id", "content"] }, { kind: "ngmodule", type: PolymorpheusModule }, { kind: "directive", type: i2.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
44
40
  }
45
41
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoComponent, decorators: [{
46
42
  type: Component,
47
- args: [{ selector: 'ng-doc-demo', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"options.container ?? true; else demoTemplate\">\n\t<ng-doc-demo-displayer [codeContent]=\"codeContent\" [expanded]=\"!!options.expanded\">\n\t\t<ng-container *ngTemplateOutlet=\"demoTemplate\"></ng-container>\n\t\t<ng-template #codeContent>\n\t\t\t<ng-container *ngIf=\"assets.length === 1\">\n\t\t\t\t<ng-doc-code *ngFor=\"let asset of assets\" [html]=\"asset.code\"></ng-doc-code>\n\t\t\t</ng-container>\n\n\t\t\t<ng-container *ngIf=\"assets.length > 1\">\n\t\t\t\t<ng-doc-tab-group [openedTab]=\"options.defaultTab\">\n\t\t\t\t\t<ng-doc-tab\n\t\t\t\t\t\t*ngFor=\"let asset of assets\"\n\t\t\t\t\t\t[id]=\"asset.title\"\n\t\t\t\t\t\t[label]=\"asset.title\"\n\t\t\t\t\t\t[content]=\"assetContent\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<ng-template #assetContent>\n\t\t\t\t\t\t\t<ng-doc-code [html]=\"asset.code\"></ng-doc-code>\n\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t</ng-doc-tab>\n\t\t\t\t</ng-doc-tab-group>\n\t\t\t</ng-container>\n\t\t</ng-template>\n\t</ng-doc-demo-displayer>\n</ng-container>\n\n<ng-template #demoTemplate>\n\t<ng-container *polymorpheusOutlet=\"demo ?? ''; context: {}\"></ng-container>\n</ng-template>\n", styles: [":host{display:block;--ng-doc-tab-group-background: var(--ng-doc-code-background)}:host .ng-doc-example{padding:calc(var(--ng-doc-base-gutter) * 3)}\n"] }]
43
+ args: [{ selector: 'ng-doc-demo', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
44
+ NgIf,
45
+ NgDocDemoDisplayerComponent,
46
+ NgTemplateOutlet,
47
+ NgFor,
48
+ NgDocCodeComponent,
49
+ NgDocTabGroupComponent,
50
+ NgDocTabComponent,
51
+ PolymorpheusModule,
52
+ ], template: "<ng-container *ngIf=\"options.container ?? true; else demoTemplate\">\n\t<ng-doc-demo-displayer [codeContent]=\"codeContent\" [expanded]=\"!!options.expanded\">\n\t\t<ng-container *ngTemplateOutlet=\"demoTemplate\"></ng-container>\n\t\t<ng-template #codeContent>\n\t\t\t<ng-container *ngIf=\"assets.length === 1\">\n\t\t\t\t<ng-doc-code *ngFor=\"let asset of assets\" [html]=\"asset.code\"></ng-doc-code>\n\t\t\t</ng-container>\n\n\t\t\t<ng-container *ngIf=\"assets.length > 1\">\n\t\t\t\t<ng-doc-tab-group [openedTab]=\"options.defaultTab\">\n\t\t\t\t\t<ng-doc-tab\n\t\t\t\t\t\t*ngFor=\"let asset of assets\"\n\t\t\t\t\t\t[id]=\"asset.title\"\n\t\t\t\t\t\t[label]=\"asset.title\"\n\t\t\t\t\t\t[content]=\"assetContent\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<ng-template #assetContent>\n\t\t\t\t\t\t\t<ng-doc-code [html]=\"asset.code\"></ng-doc-code>\n\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t</ng-doc-tab>\n\t\t\t\t</ng-doc-tab-group>\n\t\t\t</ng-container>\n\t\t</ng-template>\n\t</ng-doc-demo-displayer>\n</ng-container>\n\n<ng-template #demoTemplate>\n\t<ng-container *polymorpheusOutlet=\"demo ?? ''; context: {}\"></ng-container>\n</ng-template>\n", styles: [":host{display:block;--ng-doc-tab-group-background: var(--ng-doc-code-background)}:host .ng-doc-example{padding:calc(var(--ng-doc-base-gutter) * 3)}\n"] }]
48
53
  }], ctorParameters: function () { return [{ type: i1.NgDocRootPage }]; }, propDecorators: { componentName: [{
49
54
  type: Input
50
55
  }], options: [{
@@ -54,43 +59,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
54
59
  args: ['class']
55
60
  }] } });
56
61
 
57
- class NgDocDemoModule {
58
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
59
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoModule, declarations: [NgDocDemoComponent], imports: [CommonModule,
60
- NgDocTabGroupModule,
61
- NgDocCodeModule,
62
- NgDocIconModule,
63
- NgDocTextModule,
64
- PolymorpheusModule,
65
- NgDocDemoDisplayerModule], exports: [NgDocDemoComponent] }); }
66
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoModule, imports: [CommonModule,
67
- NgDocTabGroupModule,
68
- NgDocCodeModule,
69
- NgDocIconModule,
70
- NgDocTextModule,
71
- PolymorpheusModule,
72
- NgDocDemoDisplayerModule] }); }
73
- }
74
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocDemoModule, decorators: [{
75
- type: NgModule,
76
- args: [{
77
- declarations: [NgDocDemoComponent],
78
- imports: [
79
- CommonModule,
80
- NgDocTabGroupModule,
81
- NgDocCodeModule,
82
- NgDocIconModule,
83
- NgDocTextModule,
84
- PolymorpheusModule,
85
- NgDocDemoDisplayerModule,
86
- ],
87
- exports: [NgDocDemoComponent],
88
- }]
89
- }] });
90
-
91
62
  /**
92
63
  * Generated bundle index. Do not edit.
93
64
  */
94
65
 
95
- export { NgDocDemoComponent, NgDocDemoModule };
66
+ export { NgDocDemoComponent };
96
67
  //# sourceMappingURL=ng-doc-app-components-demo.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-app-components-demo.mjs","sources":["../../../../libs/app/components/demo/demo.component.ts","../../../../libs/app/components/demo/demo.component.html","../../../../libs/app/components/demo/demo.module.ts","../../../../libs/app/components/demo/ng-doc-app-components-demo.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, HostBinding, Input, OnInit, Type} from '@angular/core';\nimport {NgDocRootPage} from '@ng-doc/app/classes/root-page';\nimport {NgDocDemoAsset} from '@ng-doc/app/interfaces';\nimport {asArray} from '@ng-doc/core/helpers/as-array';\nimport {NgDocDemoActionOptions} from '@ng-doc/core/interfaces';\nimport {NgDocContent} from '@ng-doc/ui-kit/types';\nimport {PolymorpheusComponent} from '@tinkoff/ng-polymorpheus';\n\n@Component({\n\tselector: 'ng-doc-demo',\n\ttemplateUrl: './demo.component.html',\n\tstyleUrls: ['./demo.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NgDocDemoComponent implements OnInit {\n\t@Input()\n\tcomponentName?: string;\n\n\t@Input()\n\toptions: NgDocDemoActionOptions = {};\n\n\tdemo?: NgDocContent<object>;\n\tassets: NgDocDemoAsset[] = [];\n\n\tconstructor(private readonly rootPage: NgDocRootPage) {}\n\n\t@HostBinding('class')\n\tprotected get classes(): string | string[] {\n\t\treturn this.options.class ?? '';\n\t}\n\n\tngOnInit(): void {\n\t\tthis.demo = this.getDemo();\n\t\tthis.assets = this.getAssets();\n\t}\n\n\tprivate getDemo(): NgDocContent<object> | undefined {\n\t\tif (this.componentName) {\n\t\t\tconst component: Type<unknown> | undefined =\n\t\t\t\tthis.rootPage.dependencies?.demo && this.rootPage.dependencies.demo[this.componentName];\n\n\t\t\treturn component ? new PolymorpheusComponent(component as Type<object>) : undefined;\n\t\t}\n\n\t\treturn undefined;\n\t}\n\n\tprivate getAssets(): NgDocDemoAsset[] {\n\t\tif (this.componentName) {\n\t\t\treturn ((this.rootPage.demoAssets && this.rootPage.demoAssets[this.componentName]) ?? []).filter(\n\t\t\t\t(asset: NgDocDemoAsset) => !this.options.tabs?.length || asArray(this.options.tabs).includes(asset.title),\n\t\t\t);\n\t\t}\n\n\t\treturn [];\n\t}\n}\n","<ng-container *ngIf=\"options.container ?? true; else demoTemplate\">\n\t<ng-doc-demo-displayer [codeContent]=\"codeContent\" [expanded]=\"!!options.expanded\">\n\t\t<ng-container *ngTemplateOutlet=\"demoTemplate\"></ng-container>\n\t\t<ng-template #codeContent>\n\t\t\t<ng-container *ngIf=\"assets.length === 1\">\n\t\t\t\t<ng-doc-code *ngFor=\"let asset of assets\" [html]=\"asset.code\"></ng-doc-code>\n\t\t\t</ng-container>\n\n\t\t\t<ng-container *ngIf=\"assets.length > 1\">\n\t\t\t\t<ng-doc-tab-group [openedTab]=\"options.defaultTab\">\n\t\t\t\t\t<ng-doc-tab\n\t\t\t\t\t\t*ngFor=\"let asset of assets\"\n\t\t\t\t\t\t[id]=\"asset.title\"\n\t\t\t\t\t\t[label]=\"asset.title\"\n\t\t\t\t\t\t[content]=\"assetContent\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<ng-template #assetContent>\n\t\t\t\t\t\t\t<ng-doc-code [html]=\"asset.code\"></ng-doc-code>\n\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t</ng-doc-tab>\n\t\t\t\t</ng-doc-tab-group>\n\t\t\t</ng-container>\n\t\t</ng-template>\n\t</ng-doc-demo-displayer>\n</ng-container>\n\n<ng-template #demoTemplate>\n\t<ng-container *polymorpheusOutlet=\"demo ?? ''; context: {}\"></ng-container>\n</ng-template>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {NgDocCodeModule} from '@ng-doc/app/components/code';\nimport {NgDocDemoDisplayerModule} from '@ng-doc/app/components/demo-displayer';\nimport {NgDocIconModule, NgDocTabGroupModule, NgDocTextModule} from '@ng-doc/ui-kit';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {NgDocDemoComponent} from './demo.component';\n\n@NgModule({\n\tdeclarations: [NgDocDemoComponent],\n\timports: [\n\t\tCommonModule,\n\t\tNgDocTabGroupModule,\n\t\tNgDocCodeModule,\n\t\tNgDocIconModule,\n\t\tNgDocTextModule,\n\t\tPolymorpheusModule,\n\t\tNgDocDemoDisplayerModule,\n\t],\n\texports: [NgDocDemoComponent],\n})\nexport class NgDocDemoModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAQA,MAMa,kBAAkB,CAAA;AAU9B,IAAA,WAAA,CAA6B,QAAuB,EAAA;QAAvB,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAe;QALpD,IAAO,CAAA,OAAA,GAA2B,EAAE,CAAC;QAGrC,IAAM,CAAA,MAAA,GAAqB,EAAE,CAAC;KAE0B;AAExD,IAAA,IACc,OAAO,GAAA;AACpB,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC;KAChC;IAED,QAAQ,GAAA;AACP,QAAA,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;AAC3B,QAAA,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,eAAe;wBACf,eAAe;wBACf,eAAe;wBACf,kBAAkB;wBAClB,wBAAwB;AACxB,qBAAA;oBACD,OAAO,EAAE,CAAC,kBAAkB,CAAC;AAC7B,iBAAA,CAAA;;;ACrBD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-app-components-demo.mjs","sources":["../../../../libs/app/components/demo/demo.component.ts","../../../../libs/app/components/demo/demo.component.html","../../../../libs/app/components/demo/ng-doc-app-components-demo.ts"],"sourcesContent":["import {NgFor, NgIf, NgTemplateOutlet} from '@angular/common';\nimport {ChangeDetectionStrategy, Component, HostBinding, Input, OnInit, Type} from '@angular/core';\nimport {NgDocRootPage} from '@ng-doc/app/classes/root-page';\nimport {NgDocCodeComponent} from '@ng-doc/app/components/code';\nimport {NgDocDemoDisplayerComponent} from '@ng-doc/app/components/demo-displayer';\nimport {NgDocDemoAsset} from '@ng-doc/app/interfaces';\nimport {asArray} from '@ng-doc/core/helpers/as-array';\nimport {NgDocDemoActionOptions} from '@ng-doc/core/interfaces';\nimport {NgDocTabComponent, NgDocTabGroupComponent} from '@ng-doc/ui-kit';\nimport {NgDocContent} from '@ng-doc/ui-kit/types';\nimport {PolymorpheusComponent, PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\n@Component({\n\tselector: 'ng-doc-demo',\n\ttemplateUrl: './demo.component.html',\n\tstyleUrls: ['./demo.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [\n\t\tNgIf,\n\t\tNgDocDemoDisplayerComponent,\n\t\tNgTemplateOutlet,\n\t\tNgFor,\n\t\tNgDocCodeComponent,\n\t\tNgDocTabGroupComponent,\n\t\tNgDocTabComponent,\n\t\tPolymorpheusModule,\n\t],\n})\nexport class NgDocDemoComponent implements OnInit {\n\t@Input()\n\tcomponentName?: string;\n\n\t@Input()\n\toptions: NgDocDemoActionOptions = {};\n\n\tdemo?: NgDocContent<object>;\n\tassets: NgDocDemoAsset[] = [];\n\n\tconstructor(private readonly rootPage: NgDocRootPage) {}\n\n\t@HostBinding('class')\n\tprotected get classes(): string | string[] {\n\t\treturn this.options.class ?? '';\n\t}\n\n\tngOnInit(): void {\n\t\tthis.demo = this.getDemo();\n\t\tthis.assets = this.getAssets();\n\t}\n\n\tprivate getDemo(): NgDocContent<object> | undefined {\n\t\tif (this.componentName) {\n\t\t\tconst component: Type<unknown> | undefined =\n\t\t\t\tthis.rootPage.page?.demos && this.rootPage.page.demos[this.componentName];\n\n\t\t\treturn component ? new PolymorpheusComponent(component as Type<object>) : undefined;\n\t\t}\n\n\t\treturn undefined;\n\t}\n\n\tprivate getAssets(): NgDocDemoAsset[] {\n\t\tif (this.componentName) {\n\t\t\treturn ((this.rootPage.demoAssets && this.rootPage.demoAssets[this.componentName]) ?? []).filter(\n\t\t\t\t(asset: NgDocDemoAsset) => !this.options.tabs?.length || asArray(this.options.tabs).includes(asset.title),\n\t\t\t);\n\t\t}\n\n\t\treturn [];\n\t}\n}\n","<ng-container *ngIf=\"options.container ?? true; else demoTemplate\">\n\t<ng-doc-demo-displayer [codeContent]=\"codeContent\" [expanded]=\"!!options.expanded\">\n\t\t<ng-container *ngTemplateOutlet=\"demoTemplate\"></ng-container>\n\t\t<ng-template #codeContent>\n\t\t\t<ng-container *ngIf=\"assets.length === 1\">\n\t\t\t\t<ng-doc-code *ngFor=\"let asset of assets\" [html]=\"asset.code\"></ng-doc-code>\n\t\t\t</ng-container>\n\n\t\t\t<ng-container *ngIf=\"assets.length > 1\">\n\t\t\t\t<ng-doc-tab-group [openedTab]=\"options.defaultTab\">\n\t\t\t\t\t<ng-doc-tab\n\t\t\t\t\t\t*ngFor=\"let asset of assets\"\n\t\t\t\t\t\t[id]=\"asset.title\"\n\t\t\t\t\t\t[label]=\"asset.title\"\n\t\t\t\t\t\t[content]=\"assetContent\"\n\t\t\t\t\t>\n\t\t\t\t\t\t<ng-template #assetContent>\n\t\t\t\t\t\t\t<ng-doc-code [html]=\"asset.code\"></ng-doc-code>\n\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t</ng-doc-tab>\n\t\t\t\t</ng-doc-tab-group>\n\t\t\t</ng-container>\n\t\t</ng-template>\n\t</ng-doc-demo-displayer>\n</ng-container>\n\n<ng-template #demoTemplate>\n\t<ng-container *polymorpheusOutlet=\"demo ?? ''; context: {}\"></ng-container>\n</ng-template>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAYA,MAiBa,kBAAkB,CAAA;AAU9B,IAAA,WAAA,CAA6B,QAAuB,EAAA;QAAvB,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAe;QALpD,IAAO,CAAA,OAAA,GAA2B,EAAE,CAAC;QAGrC,IAAM,CAAA,MAAA,GAAqB,EAAE,CAAC;KAE0B;AAExD,IAAA,IACc,OAAO,GAAA;AACpB,QAAA,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC;KAChC;IAED,QAAQ,GAAA;AACP,QAAA,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,OAAO,EAAE,CAAC;AAC3B,QAAA,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC;KAC/B;IAEO,OAAO,GAAA;QACd,IAAI,IAAI,CAAC,aAAa,EAAE;YACvB,MAAM,SAAS,GACd,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;AAE3E,YAAA,OAAO,SAAS,GAAG,IAAI,qBAAqB,CAAC,SAAyB,CAAC,GAAG,SAAS,CAAC;AACpF,SAAA;AAED,QAAA,OAAO,SAAS,CAAC;KACjB;IAEO,SAAS,GAAA;QAChB,IAAI,IAAI,CAAC,aAAa,EAAE;YACvB,OAAO,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,IAAI,IAAI,CAAC,QAAQ,CAAC,U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A,aAAA,EAAA,MAAA,EAAA,CAAA,MAAA,EAAA,YAAA,EAAA,UAAA,EAAA,aAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAClB,sBAAsB,EACtB,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,CAAA,WAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,iBAAiB,0FACjB,kBAAkB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,2BAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,CAAA,oBAAA,EAAA,2BAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAGP,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAjB9B,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,mBAGN,uBAAuB,CAAC,MAAM,EAAA,UAAA,EACnC,IAAI,EACP,OAAA,EAAA;wBACR,IAAI;wBACJ,2BAA2B;wBAC3B,gBAAgB;wBAChB,KAAK;wBACL,kBAAkB;wBAClB,sBAAsB;wBACtB,iBAAiB;wBACjB,kBAAkB;AAClB,qBAAA,EAAA,QAAA,EAAA,qnCAAA,EAAA,MAAA,EAAA,CAAA,uJAAA,CAAA,EAAA,CAAA;oGAID,aAAa,EAAA,CAAA;sBADZ,KAAK;gBAIN,OAAO,EAAA,CAAA;sBADN,KAAK;gBASQ,OAAO,EAAA,CAAA;sBADpB,WAAW;uBAAC,OAAO,CAAA;;;AEzCrB;;AAEG;;;;"}
@@ -1,6 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, Input, HostBinding, NgModule } from '@angular/core';
3
- import { CommonModule } from '@angular/common';
2
+ import { Component, ChangeDetectionStrategy, Input, HostBinding } from '@angular/core';
4
3
 
5
4
  class NgDocKindIconComponent {
6
5
  constructor() {
@@ -8,11 +7,11 @@ class NgDocKindIconComponent {
8
7
  this.type = 'declaration';
9
8
  }
10
9
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocKindIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
11
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocKindIconComponent, selector: "ng-doc-kind-icon", inputs: { kind: "kind", type: "type" }, host: { properties: { "attr.data-ng-doc-kind": "this.kind", "attr.data-ng-doc-type": "this.type" } }, ngImport: i0, template: '{{kind[0]}}', isInline: true, styles: [":host{display:inline-block;width:calc(var(--ng-doc-base-gutter) * 2);height:calc(var(--ng-doc-base-gutter) * 2);border-radius:calc(var(--ng-doc-base-gutter) / 4);font-size:13px;text-align:center;line-height:calc(var(--ng-doc-base-gutter) * 2);text-transform:uppercase;flex-shrink:0;font-weight:700}:host[data-ng-doc-type=declaration]{color:var(--ng-doc-white)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Class]{background:var(--ng-doc-class-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Interface]{background:var(--ng-doc-interface-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Enum]{background:var(--ng-doc-enum-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Variable]{background:var(--ng-doc-variable-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Function]{background:var(--ng-doc-function-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=TypeAlias]{background:var(--ng-doc-type-alias-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Component]{background:var(--ng-doc-component-decorator-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Directive]{background:var(--ng-doc-directive-decorator-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Injectable]{background:var(--ng-doc-injectable-decorator-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Pipe]{background:var(--ng-doc-pipe-decorator-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=NgModule]{background:var(--ng-doc-ng-module-decorator-color)}:host[data-ng-doc-type=type][data-ng-doc-kind=string]{background-color:var(--ng-doc-deep-purple-100);color:var(--ng-doc-white)}:host[data-ng-doc-type=type][data-ng-doc-kind=number]{background-color:var(--ng-doc-blue-100);color:var(--ng-doc-white)}:host[data-ng-doc-type=type][data-ng-doc-kind=boolean]{background-color:var(--ng-doc-orange-100);color:var(--ng-doc-white)}:host[data-ng-doc-type=type][data-ng-doc-kind=null]{background-color:var(--ng-doc-light-blue-100);color:var(--ng-doc-white)}:host[data-ng-doc-type=type][data-ng-doc-kind=undefined]{background-color:var(--ng-doc-indigo-100);color:var(--ng-doc-white)}:host[data-ng-doc-type=type][data-ng-doc-kind=object]{background-color:var(--ng-doc-green-100);color:var(--ng-doc-white)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
10
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocKindIconComponent, isStandalone: true, selector: "ng-doc-kind-icon", inputs: { kind: "kind", type: "type" }, host: { properties: { "attr.data-ng-doc-kind": "this.kind", "attr.data-ng-doc-type": "this.type" } }, ngImport: i0, template: '{{kind[0]}}', isInline: true, styles: [":host{display:inline-block;width:calc(var(--ng-doc-base-gutter) * 2);height:calc(var(--ng-doc-base-gutter) * 2);border-radius:calc(var(--ng-doc-base-gutter) / 4);font-size:13px;text-align:center;line-height:calc(var(--ng-doc-base-gutter) * 2);text-transform:uppercase;flex-shrink:0;font-weight:700}:host[data-ng-doc-type=declaration]{color:var(--ng-doc-white)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Class]{background:var(--ng-doc-class-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Interface]{background:var(--ng-doc-interface-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Enum]{background:var(--ng-doc-enum-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Variable]{background:var(--ng-doc-variable-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Function]{background:var(--ng-doc-function-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=TypeAlias]{background:var(--ng-doc-type-alias-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Component]{background:var(--ng-doc-component-decorator-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Directive]{background:var(--ng-doc-directive-decorator-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Injectable]{background:var(--ng-doc-injectable-decorator-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Pipe]{background:var(--ng-doc-pipe-decorator-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=NgModule]{background:var(--ng-doc-ng-module-decorator-color)}:host[data-ng-doc-type=type][data-ng-doc-kind=string]{background-color:var(--ng-doc-deep-purple-100);color:var(--ng-doc-white)}:host[data-ng-doc-type=type][data-ng-doc-kind=number]{background-color:var(--ng-doc-blue-100);color:var(--ng-doc-white)}:host[data-ng-doc-type=type][data-ng-doc-kind=boolean]{background-color:var(--ng-doc-orange-100);color:var(--ng-doc-white)}:host[data-ng-doc-type=type][data-ng-doc-kind=null]{background-color:var(--ng-doc-light-blue-100);color:var(--ng-doc-white)}:host[data-ng-doc-type=type][data-ng-doc-kind=undefined]{background-color:var(--ng-doc-indigo-100);color:var(--ng-doc-white)}:host[data-ng-doc-type=type][data-ng-doc-kind=object]{background-color:var(--ng-doc-green-100);color:var(--ng-doc-white)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
12
11
  }
13
12
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocKindIconComponent, decorators: [{
14
13
  type: Component,
15
- args: [{ selector: 'ng-doc-kind-icon', template: '{{kind[0]}}', changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display:inline-block;width:calc(var(--ng-doc-base-gutter) * 2);height:calc(var(--ng-doc-base-gutter) * 2);border-radius:calc(var(--ng-doc-base-gutter) / 4);font-size:13px;text-align:center;line-height:calc(var(--ng-doc-base-gutter) * 2);text-transform:uppercase;flex-shrink:0;font-weight:700}:host[data-ng-doc-type=declaration]{color:var(--ng-doc-white)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Class]{background:var(--ng-doc-class-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Interface]{background:var(--ng-doc-interface-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Enum]{background:var(--ng-doc-enum-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Variable]{background:var(--ng-doc-variable-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Function]{background:var(--ng-doc-function-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=TypeAlias]{background:var(--ng-doc-type-alias-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Component]{background:var(--ng-doc-component-decorator-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Directive]{background:var(--ng-doc-directive-decorator-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Injectable]{background:var(--ng-doc-injectable-decorator-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Pipe]{background:var(--ng-doc-pipe-decorator-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=NgModule]{background:var(--ng-doc-ng-module-decorator-color)}:host[data-ng-doc-type=type][data-ng-doc-kind=string]{background-color:var(--ng-doc-deep-purple-100);color:var(--ng-doc-white)}:host[data-ng-doc-type=type][data-ng-doc-kind=number]{background-color:var(--ng-doc-blue-100);color:var(--ng-doc-white)}:host[data-ng-doc-type=type][data-ng-doc-kind=boolean]{background-color:var(--ng-doc-orange-100);color:var(--ng-doc-white)}:host[data-ng-doc-type=type][data-ng-doc-kind=null]{background-color:var(--ng-doc-light-blue-100);color:var(--ng-doc-white)}:host[data-ng-doc-type=type][data-ng-doc-kind=undefined]{background-color:var(--ng-doc-indigo-100);color:var(--ng-doc-white)}:host[data-ng-doc-type=type][data-ng-doc-kind=object]{background-color:var(--ng-doc-green-100);color:var(--ng-doc-white)}\n"] }]
14
+ args: [{ selector: 'ng-doc-kind-icon', template: '{{kind[0]}}', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, styles: [":host{display:inline-block;width:calc(var(--ng-doc-base-gutter) * 2);height:calc(var(--ng-doc-base-gutter) * 2);border-radius:calc(var(--ng-doc-base-gutter) / 4);font-size:13px;text-align:center;line-height:calc(var(--ng-doc-base-gutter) * 2);text-transform:uppercase;flex-shrink:0;font-weight:700}:host[data-ng-doc-type=declaration]{color:var(--ng-doc-white)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Class]{background:var(--ng-doc-class-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Interface]{background:var(--ng-doc-interface-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Enum]{background:var(--ng-doc-enum-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Variable]{background:var(--ng-doc-variable-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Function]{background:var(--ng-doc-function-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=TypeAlias]{background:var(--ng-doc-type-alias-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Component]{background:var(--ng-doc-component-decorator-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Directive]{background:var(--ng-doc-directive-decorator-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Injectable]{background:var(--ng-doc-injectable-decorator-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=Pipe]{background:var(--ng-doc-pipe-decorator-color)}:host[data-ng-doc-type=declaration][data-ng-doc-kind=NgModule]{background:var(--ng-doc-ng-module-decorator-color)}:host[data-ng-doc-type=type][data-ng-doc-kind=string]{background-color:var(--ng-doc-deep-purple-100);color:var(--ng-doc-white)}:host[data-ng-doc-type=type][data-ng-doc-kind=number]{background-color:var(--ng-doc-blue-100);color:var(--ng-doc-white)}:host[data-ng-doc-type=type][data-ng-doc-kind=boolean]{background-color:var(--ng-doc-orange-100);color:var(--ng-doc-white)}:host[data-ng-doc-type=type][data-ng-doc-kind=null]{background-color:var(--ng-doc-light-blue-100);color:var(--ng-doc-white)}:host[data-ng-doc-type=type][data-ng-doc-kind=undefined]{background-color:var(--ng-doc-indigo-100);color:var(--ng-doc-white)}:host[data-ng-doc-type=type][data-ng-doc-kind=object]{background-color:var(--ng-doc-green-100);color:var(--ng-doc-white)}\n"] }]
16
15
  }], propDecorators: { kind: [{
17
16
  type: Input
18
17
  }, {
@@ -25,23 +24,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
25
24
  args: ['attr.data-ng-doc-type']
26
25
  }] } });
27
26
 
28
- class NgDocKindIconModule {
29
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocKindIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
30
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: NgDocKindIconModule, declarations: [NgDocKindIconComponent], imports: [CommonModule], exports: [NgDocKindIconComponent] }); }
31
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocKindIconModule, imports: [CommonModule] }); }
32
- }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocKindIconModule, decorators: [{
34
- type: NgModule,
35
- args: [{
36
- declarations: [NgDocKindIconComponent],
37
- imports: [CommonModule],
38
- exports: [NgDocKindIconComponent],
39
- }]
40
- }] });
41
-
42
27
  /**
43
28
  * Generated bundle index. Do not edit.
44
29
  */
45
30
 
46
- export { NgDocKindIconComponent, NgDocKindIconModule };
31
+ export { NgDocKindIconComponent };
47
32
  //# sourceMappingURL=ng-doc-app-components-kind-icon.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-app-components-kind-icon.mjs","sources":["../../../../libs/app/components/kind-icon/kind-icon.component.ts","../../../../libs/app/components/kind-icon/kind-icon.module.ts","../../../../libs/app/components/kind-icon/ng-doc-app-components-kind-icon.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, HostBinding, Input} from '@angular/core';\n\n@Component({\n\tselector: 'ng-doc-kind-icon',\n\ttemplate: '{{kind[0]}}',\n\tstyleUrls: ['./kind-icon.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NgDocKindIconComponent {\n\t@Input()\n\t@HostBinding('attr.data-ng-doc-kind')\n\tkind: string = '';\n\n\t@Input()\n\t@HostBinding('attr.data-ng-doc-type')\n\ttype: 'declaration' | 'type' = 'declaration';\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\n\nimport {NgDocKindIconComponent} from './kind-icon.component';\n\n@NgModule({\n\tdeclarations: [NgDocKindIconComponent],\n\timports: [CommonModule],\n\texports: [NgDocKindIconComponent],\n})\nexport class NgDocKindIconModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAEA,MAMa,sBAAsB,CAAA;AANnC,IAAA,WAAA,GAAA;QASC,IAAI,CAAA,IAAA,GAAW,EAAE,CAAC;QAIlB,IAAI,CAAA,IAAA,GAA2B,aAAa,CAAC;AAC7C,KAAA;8GARY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,sMAJxB,aAAa,EAAA,QAAA,EAAA,IAAA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sBAAsB,CAAC;oBACtC,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,sBAAsB,CAAC;AACjC,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-app-components-kind-icon.mjs","sources":["../../../../libs/app/components/kind-icon/kind-icon.component.ts","../../../../libs/app/components/kind-icon/ng-doc-app-components-kind-icon.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, HostBinding, Input} from '@angular/core';\n\n@Component({\n\tselector: 'ng-doc-kind-icon',\n\ttemplate: '{{kind[0]}}',\n\tstyleUrls: ['./kind-icon.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n})\nexport class NgDocKindIconComponent {\n\t@Input()\n\t@HostBinding('attr.data-ng-doc-kind')\n\tkind: string = '';\n\n\t@Input()\n\t@HostBinding('attr.data-ng-doc-type')\n\ttype: 'declaration' | 'type' = 'declaration';\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEA,MAOa,sBAAsB,CAAA;AAPnC,IAAA,WAAA,GAAA;QAUC,IAAI,CAAA,IAAA,GAAW,EAAE,CAAC;QAIlB,IAAI,CAAA,IAAA,GAA2B,aAAa,CAAC;AAC7C,KAAA;8GARY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAtB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,0NALxB,aAAa,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,uuEAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAKX,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAPlC,SAAS;AACC,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,kBAAkB,YAClB,aAAa,EAAA,eAAA,EAEN,uBAAuB,CAAC,MAAM,cACnC,IAAI,EAAA,MAAA,EAAA,CAAA,uuEAAA,CAAA,EAAA,CAAA;8BAKhB,IAAI,EAAA,CAAA;sBAFH,KAAK;;sBACL,WAAW;uBAAC,uBAAuB,CAAA;gBAKpC,IAAI,EAAA,CAAA;sBAFH,KAAK;;sBACL,WAAW;uBAAC,uBAAuB,CAAA;;;ACfrC;;AAEG;;;;"}