@ng-doc/app 15.0.0-beta.32 → 15.0.0-beta.34

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 (332) hide show
  1. package/assets/themes/ng-doc-dark-purple.css +112 -0
  2. package/assets/themes/ng-doc-night.css +1 -0
  3. package/classes/index.d.ts +0 -1
  4. package/classes/root-page/root-page.d.ts +24 -5
  5. package/classes/search-engine/search-engine.d.ts +1 -1
  6. package/components/api-list/api-list.component.d.ts +3 -4
  7. package/components/api-list/api-list.module.d.ts +1 -1
  8. package/components/demo/demo.component.d.ts +5 -4
  9. package/components/demo-displayer/demo-displayer.component.d.ts +1 -1
  10. package/components/demo-displayer/demo-displayer.module.d.ts +2 -1
  11. package/components/index.d.ts +1 -0
  12. package/components/navbar/navbar.component.d.ts +18 -0
  13. package/components/navbar/navbar.module.d.ts +4 -2
  14. package/components/page/page.component.d.ts +9 -1
  15. package/components/page/page.module.d.ts +8 -6
  16. package/components/playground/base-playground.d.ts +15 -0
  17. package/components/playground/index.d.ts +5 -0
  18. package/components/playground/playground-demo/playground-demo.component.d.ts +33 -0
  19. package/components/playground/playground-form.d.ts +6 -0
  20. package/components/playground/playground-properties/playground-properties.component.d.ts +22 -0
  21. package/components/{playground-property → playground/playground-property}/playground-property.component.d.ts +2 -2
  22. package/components/playground/playground.component.d.ts +6 -5
  23. package/components/playground/playground.module.d.ts +9 -6
  24. package/components/root/root.component.d.ts +36 -2
  25. package/components/root/root.module.d.ts +2 -2
  26. package/components/search/search.component.d.ts +1 -1
  27. package/components/search/search.module.d.ts +1 -1
  28. package/components/search-result/search-result.component.d.ts +1 -1
  29. package/components/sidebar/sidebar-category/sidebar-category.component.d.ts +2 -2
  30. package/components/sidebar/sidebar.module.d.ts +9 -4
  31. package/components/theme-toggle/theme-toggle.component.d.ts +2 -1
  32. package/constants/themes.d.ts +63 -0
  33. package/esm2020/classes/index.mjs +1 -2
  34. package/esm2020/classes/root-page/root-page.mjs +4 -1
  35. package/esm2020/classes/search-engine/search-engine.mjs +9 -10
  36. package/esm2020/components/api-list/api-list.component.mjs +18 -8
  37. package/esm2020/components/api-list/api-list.module.mjs +7 -4
  38. package/esm2020/components/code/code.component.mjs +4 -4
  39. package/esm2020/components/demo/demo.component.mjs +8 -7
  40. package/esm2020/components/demo-displayer/demo-displayer.component.mjs +6 -3
  41. package/esm2020/components/demo-displayer/demo-displayer.module.mjs +7 -3
  42. package/esm2020/components/index.mjs +2 -1
  43. package/esm2020/components/link/link.component.mjs +1 -1
  44. package/esm2020/components/navbar/navbar.component.mjs +24 -4
  45. package/esm2020/components/navbar/navbar.module.mjs +4 -5
  46. package/esm2020/components/page/page.component.mjs +35 -12
  47. package/esm2020/components/page/page.module.mjs +46 -7
  48. package/esm2020/components/playground/base-playground.mjs +18 -0
  49. package/esm2020/components/playground/index.mjs +6 -1
  50. package/esm2020/components/playground/playground-demo/playground-demo.component.mjs +117 -0
  51. package/esm2020/components/playground/playground-form.mjs +2 -0
  52. package/esm2020/components/playground/playground-properties/playground-properties.component.mjs +42 -0
  53. package/esm2020/components/playground/playground-property/playground-property.component.mjs +89 -0
  54. package/esm2020/components/playground/playground.component.mjs +15 -13
  55. package/esm2020/components/playground/playground.module.mjs +57 -14
  56. package/esm2020/components/root/root.component.mjs +54 -7
  57. package/esm2020/components/root/root.module.mjs +6 -6
  58. package/esm2020/components/search/search.component.mjs +3 -3
  59. package/esm2020/components/search/search.module.mjs +10 -4
  60. package/esm2020/components/search-result/search-result.component.mjs +1 -1
  61. package/esm2020/components/sidebar/sidebar-category/sidebar-category.component.mjs +10 -6
  62. package/esm2020/components/sidebar/sidebar-item/sidebar-item.component.mjs +5 -4
  63. package/esm2020/components/sidebar/sidebar.component.mjs +4 -16
  64. package/esm2020/components/sidebar/sidebar.module.mjs +7 -2
  65. package/esm2020/components/theme-toggle/theme-toggle.component.mjs +21 -14
  66. package/esm2020/components/toc/toc-element/toc-element.component.mjs +3 -3
  67. package/esm2020/components/toc/toc.component.mjs +4 -4
  68. package/esm2020/constants/themes.mjs +67 -1
  69. package/esm2020/directives/code-highlighter/code-highlighter.directive.mjs +1 -19
  70. package/esm2020/directives/route-active/route-active.directive.mjs +2 -2
  71. package/esm2020/helpers/generate-toc/generate-toc.mjs +10 -14
  72. package/esm2020/helpers/index.mjs +2 -3
  73. package/esm2020/helpers/is-playground-property/is-playground-property.mjs +2 -2
  74. package/esm2020/helpers/provide-playground-demo/index.mjs +2 -0
  75. package/esm2020/helpers/provide-playground-demo/ng-doc-app-helpers-provide-playground-demo.mjs +5 -0
  76. package/esm2020/helpers/provide-playground-demo/provide-playground-demo.mjs +29 -0
  77. package/esm2020/helpers/provide-type-control/provide-type-control.mjs +1 -1
  78. package/esm2020/index.mjs +2 -1
  79. package/esm2020/interfaces/context.mjs +1 -1
  80. package/esm2020/interfaces/demo-assets.mjs +1 -1
  81. package/esm2020/interfaces/index.mjs +1 -2
  82. package/esm2020/interfaces/navigation.mjs +1 -1
  83. package/esm2020/interfaces/provided-type-control.mjs +1 -1
  84. package/esm2020/interfaces/type-control-provider-options.mjs +1 -1
  85. package/esm2020/modules/root/ng-doc.module.mjs +11 -11
  86. package/esm2020/pipes/extract-value/extract-value.pipe.mjs +2 -2
  87. package/esm2020/processors/demo-processor/demo-processor.directive.mjs +2 -3
  88. package/esm2020/processors/html-processor/html-processor.directive.mjs +2 -3
  89. package/esm2020/processors/tooltip-processor/tooltip-wrapper.component.mjs +3 -3
  90. package/esm2020/services/sidebar/sidebar.service.mjs +49 -8
  91. package/esm2020/services/theme/theme.service.mjs +2 -2
  92. package/esm2020/tokens/api-list.mjs +1 -1
  93. package/esm2020/type-controls/boolean-control/boolean-control.module.mjs +4 -3
  94. package/esm2020/type-controls/number-control/number-control.component.mjs +2 -2
  95. package/esm2020/type-controls/number-control/number-control.module.mjs +4 -3
  96. package/esm2020/type-controls/string-control/string-control.component.mjs +2 -2
  97. package/esm2020/type-controls/string-control/string-control.module.mjs +4 -3
  98. package/esm2020/type-controls/type-alias-control/type-alias-control.component.mjs +2 -2
  99. package/esm2020/type-controls/type-alias-control/type-alias-control.module.mjs +4 -3
  100. package/esm2020/types/index.mjs +1 -2
  101. package/fesm2015/ng-doc-app-classes-root-page.mjs +3 -0
  102. package/fesm2015/ng-doc-app-classes-root-page.mjs.map +1 -1
  103. package/fesm2015/ng-doc-app-classes-search-engine.mjs +10 -11
  104. package/fesm2015/ng-doc-app-classes-search-engine.mjs.map +1 -1
  105. package/fesm2015/ng-doc-app-classes.mjs +0 -1
  106. package/fesm2015/ng-doc-app-classes.mjs.map +1 -1
  107. package/fesm2015/ng-doc-app-components-api-list.mjs +23 -10
  108. package/fesm2015/ng-doc-app-components-api-list.mjs.map +1 -1
  109. package/fesm2015/ng-doc-app-components-code.mjs +3 -3
  110. package/fesm2015/ng-doc-app-components-code.mjs.map +1 -1
  111. package/fesm2015/ng-doc-app-components-demo-displayer.mjs +11 -4
  112. package/fesm2015/ng-doc-app-components-demo-displayer.mjs.map +1 -1
  113. package/fesm2015/ng-doc-app-components-demo.mjs +8 -6
  114. package/fesm2015/ng-doc-app-components-demo.mjs.map +1 -1
  115. package/fesm2015/ng-doc-app-components-link.mjs.map +1 -1
  116. package/fesm2015/ng-doc-app-components-navbar.mjs +27 -7
  117. package/fesm2015/ng-doc-app-components-navbar.mjs.map +1 -1
  118. package/fesm2015/ng-doc-app-components-page.mjs +83 -18
  119. package/fesm2015/ng-doc-app-components-page.mjs.map +1 -1
  120. package/fesm2015/ng-doc-app-components-playground.mjs +324 -31
  121. package/fesm2015/ng-doc-app-components-playground.mjs.map +1 -1
  122. package/fesm2015/ng-doc-app-components-root.mjs +58 -10
  123. package/fesm2015/ng-doc-app-components-root.mjs.map +1 -1
  124. package/fesm2015/ng-doc-app-components-search-result.mjs.map +1 -1
  125. package/fesm2015/ng-doc-app-components-search.mjs +11 -5
  126. package/fesm2015/ng-doc-app-components-search.mjs.map +1 -1
  127. package/fesm2015/ng-doc-app-components-sidebar.mjs +20 -23
  128. package/fesm2015/ng-doc-app-components-sidebar.mjs.map +1 -1
  129. package/fesm2015/ng-doc-app-components-theme-toggle.mjs +21 -13
  130. package/fesm2015/ng-doc-app-components-theme-toggle.mjs.map +1 -1
  131. package/fesm2015/ng-doc-app-components-toc.mjs +5 -5
  132. package/fesm2015/ng-doc-app-components-toc.mjs.map +1 -1
  133. package/fesm2015/ng-doc-app-components.mjs +1 -0
  134. package/fesm2015/ng-doc-app-components.mjs.map +1 -1
  135. package/fesm2015/ng-doc-app-constants.mjs +67 -1
  136. package/fesm2015/ng-doc-app-constants.mjs.map +1 -1
  137. package/fesm2015/ng-doc-app-directives-code-highlighter.mjs +0 -18
  138. package/fesm2015/ng-doc-app-directives-code-highlighter.mjs.map +1 -1
  139. package/fesm2015/ng-doc-app-directives-route-active.mjs +1 -1
  140. package/fesm2015/ng-doc-app-directives-route-active.mjs.map +1 -1
  141. package/fesm2015/ng-doc-app-helpers-generate-toc.mjs +10 -13
  142. package/fesm2015/ng-doc-app-helpers-generate-toc.mjs.map +1 -1
  143. package/fesm2015/ng-doc-app-helpers-is-playground-property.mjs +1 -1
  144. package/fesm2015/ng-doc-app-helpers-is-playground-property.mjs.map +1 -1
  145. package/fesm2015/ng-doc-app-helpers-provide-playground-demo.mjs +37 -0
  146. package/fesm2015/ng-doc-app-helpers-provide-playground-demo.mjs.map +1 -0
  147. package/fesm2015/ng-doc-app-helpers-provide-type-control.mjs.map +1 -1
  148. package/fesm2015/ng-doc-app-helpers.mjs +1 -2
  149. package/fesm2015/ng-doc-app-helpers.mjs.map +1 -1
  150. package/fesm2015/ng-doc-app-modules-root.mjs +10 -10
  151. package/fesm2015/ng-doc-app-modules-root.mjs.map +1 -1
  152. package/fesm2015/ng-doc-app-pipes-extract-value.mjs +1 -1
  153. package/fesm2015/ng-doc-app-pipes-extract-value.mjs.map +1 -1
  154. package/fesm2015/ng-doc-app-processors-demo-processor.mjs +2 -2
  155. package/fesm2015/ng-doc-app-processors-demo-processor.mjs.map +1 -1
  156. package/fesm2015/ng-doc-app-processors-html-processor.mjs +1 -2
  157. package/fesm2015/ng-doc-app-processors-html-processor.mjs.map +1 -1
  158. package/fesm2015/ng-doc-app-processors-tooltip-processor.mjs +2 -2
  159. package/fesm2015/ng-doc-app-processors-tooltip-processor.mjs.map +1 -1
  160. package/fesm2015/ng-doc-app-services-sidebar.mjs +50 -7
  161. package/fesm2015/ng-doc-app-services-sidebar.mjs.map +1 -1
  162. package/fesm2015/ng-doc-app-services-theme.mjs +1 -1
  163. package/fesm2015/ng-doc-app-services-theme.mjs.map +1 -1
  164. package/fesm2015/ng-doc-app-tokens.mjs.map +1 -1
  165. package/fesm2015/ng-doc-app-type-controls-boolean-control.mjs +3 -2
  166. package/fesm2015/ng-doc-app-type-controls-boolean-control.mjs.map +1 -1
  167. package/fesm2015/ng-doc-app-type-controls-number-control.mjs +4 -3
  168. package/fesm2015/ng-doc-app-type-controls-number-control.mjs.map +1 -1
  169. package/fesm2015/ng-doc-app-type-controls-string-control.mjs +4 -3
  170. package/fesm2015/ng-doc-app-type-controls-string-control.mjs.map +1 -1
  171. package/fesm2015/ng-doc-app-type-controls-type-alias-control.mjs +4 -3
  172. package/fesm2015/ng-doc-app-type-controls-type-alias-control.mjs.map +1 -1
  173. package/fesm2015/ng-doc-app.mjs +1 -0
  174. package/fesm2015/ng-doc-app.mjs.map +1 -1
  175. package/fesm2020/ng-doc-app-classes-root-page.mjs +3 -0
  176. package/fesm2020/ng-doc-app-classes-root-page.mjs.map +1 -1
  177. package/fesm2020/ng-doc-app-classes-search-engine.mjs +10 -11
  178. package/fesm2020/ng-doc-app-classes-search-engine.mjs.map +1 -1
  179. package/fesm2020/ng-doc-app-classes.mjs +0 -1
  180. package/fesm2020/ng-doc-app-classes.mjs.map +1 -1
  181. package/fesm2020/ng-doc-app-components-api-list.mjs +23 -10
  182. package/fesm2020/ng-doc-app-components-api-list.mjs.map +1 -1
  183. package/fesm2020/ng-doc-app-components-code.mjs +3 -3
  184. package/fesm2020/ng-doc-app-components-code.mjs.map +1 -1
  185. package/fesm2020/ng-doc-app-components-demo-displayer.mjs +11 -4
  186. package/fesm2020/ng-doc-app-components-demo-displayer.mjs.map +1 -1
  187. package/fesm2020/ng-doc-app-components-demo.mjs +7 -6
  188. package/fesm2020/ng-doc-app-components-demo.mjs.map +1 -1
  189. package/fesm2020/ng-doc-app-components-link.mjs.map +1 -1
  190. package/fesm2020/ng-doc-app-components-navbar.mjs +27 -7
  191. package/fesm2020/ng-doc-app-components-navbar.mjs.map +1 -1
  192. package/fesm2020/ng-doc-app-components-page.mjs +79 -18
  193. package/fesm2020/ng-doc-app-components-page.mjs.map +1 -1
  194. package/fesm2020/ng-doc-app-components-playground.mjs +315 -31
  195. package/fesm2020/ng-doc-app-components-playground.mjs.map +1 -1
  196. package/fesm2020/ng-doc-app-components-root.mjs +58 -10
  197. package/fesm2020/ng-doc-app-components-root.mjs.map +1 -1
  198. package/fesm2020/ng-doc-app-components-search-result.mjs.map +1 -1
  199. package/fesm2020/ng-doc-app-components-search.mjs +11 -5
  200. package/fesm2020/ng-doc-app-components-search.mjs.map +1 -1
  201. package/fesm2020/ng-doc-app-components-sidebar.mjs +20 -23
  202. package/fesm2020/ng-doc-app-components-sidebar.mjs.map +1 -1
  203. package/fesm2020/ng-doc-app-components-theme-toggle.mjs +20 -13
  204. package/fesm2020/ng-doc-app-components-theme-toggle.mjs.map +1 -1
  205. package/fesm2020/ng-doc-app-components-toc.mjs +5 -5
  206. package/fesm2020/ng-doc-app-components-toc.mjs.map +1 -1
  207. package/fesm2020/ng-doc-app-components.mjs +1 -0
  208. package/fesm2020/ng-doc-app-components.mjs.map +1 -1
  209. package/fesm2020/ng-doc-app-constants.mjs +67 -1
  210. package/fesm2020/ng-doc-app-constants.mjs.map +1 -1
  211. package/fesm2020/ng-doc-app-directives-code-highlighter.mjs +0 -18
  212. package/fesm2020/ng-doc-app-directives-code-highlighter.mjs.map +1 -1
  213. package/fesm2020/ng-doc-app-directives-route-active.mjs +1 -1
  214. package/fesm2020/ng-doc-app-directives-route-active.mjs.map +1 -1
  215. package/fesm2020/ng-doc-app-helpers-generate-toc.mjs +10 -13
  216. package/fesm2020/ng-doc-app-helpers-generate-toc.mjs.map +1 -1
  217. package/fesm2020/ng-doc-app-helpers-is-playground-property.mjs +1 -1
  218. package/fesm2020/ng-doc-app-helpers-is-playground-property.mjs.map +1 -1
  219. package/fesm2020/ng-doc-app-helpers-provide-playground-demo.mjs +36 -0
  220. package/fesm2020/ng-doc-app-helpers-provide-playground-demo.mjs.map +1 -0
  221. package/fesm2020/ng-doc-app-helpers-provide-type-control.mjs.map +1 -1
  222. package/fesm2020/ng-doc-app-helpers.mjs +1 -2
  223. package/fesm2020/ng-doc-app-helpers.mjs.map +1 -1
  224. package/fesm2020/ng-doc-app-modules-root.mjs +10 -10
  225. package/fesm2020/ng-doc-app-modules-root.mjs.map +1 -1
  226. package/fesm2020/ng-doc-app-pipes-extract-value.mjs +1 -1
  227. package/fesm2020/ng-doc-app-pipes-extract-value.mjs.map +1 -1
  228. package/fesm2020/ng-doc-app-processors-demo-processor.mjs +1 -2
  229. package/fesm2020/ng-doc-app-processors-demo-processor.mjs.map +1 -1
  230. package/fesm2020/ng-doc-app-processors-html-processor.mjs +1 -2
  231. package/fesm2020/ng-doc-app-processors-html-processor.mjs.map +1 -1
  232. package/fesm2020/ng-doc-app-processors-tooltip-processor.mjs +2 -2
  233. package/fesm2020/ng-doc-app-processors-tooltip-processor.mjs.map +1 -1
  234. package/fesm2020/ng-doc-app-services-sidebar.mjs +48 -7
  235. package/fesm2020/ng-doc-app-services-sidebar.mjs.map +1 -1
  236. package/fesm2020/ng-doc-app-services-theme.mjs +1 -1
  237. package/fesm2020/ng-doc-app-services-theme.mjs.map +1 -1
  238. package/fesm2020/ng-doc-app-tokens.mjs.map +1 -1
  239. package/fesm2020/ng-doc-app-type-controls-boolean-control.mjs +3 -2
  240. package/fesm2020/ng-doc-app-type-controls-boolean-control.mjs.map +1 -1
  241. package/fesm2020/ng-doc-app-type-controls-number-control.mjs +4 -3
  242. package/fesm2020/ng-doc-app-type-controls-number-control.mjs.map +1 -1
  243. package/fesm2020/ng-doc-app-type-controls-string-control.mjs +4 -3
  244. package/fesm2020/ng-doc-app-type-controls-string-control.mjs.map +1 -1
  245. package/fesm2020/ng-doc-app-type-controls-type-alias-control.mjs +4 -3
  246. package/fesm2020/ng-doc-app-type-controls-type-alias-control.mjs.map +1 -1
  247. package/fesm2020/ng-doc-app.mjs +1 -0
  248. package/fesm2020/ng-doc-app.mjs.map +1 -1
  249. package/helpers/generate-toc/generate-toc.d.ts +2 -1
  250. package/helpers/index.d.ts +1 -2
  251. package/helpers/is-playground-property/is-playground-property.d.ts +1 -1
  252. package/helpers/provide-playground-demo/index.d.ts +1 -0
  253. package/helpers/provide-playground-demo/provide-playground-demo.d.ts +18 -0
  254. package/helpers/provide-type-control/provide-type-control.d.ts +1 -1
  255. package/index.d.ts +1 -0
  256. package/interfaces/context.d.ts +6 -0
  257. package/interfaces/demo-assets.d.ts +1 -1
  258. package/interfaces/index.d.ts +0 -1
  259. package/interfaces/navigation.d.ts +3 -0
  260. package/interfaces/provided-type-control.d.ts +1 -1
  261. package/interfaces/type-control-provider-options.d.ts +7 -0
  262. package/modules/root/ng-doc.module.d.ts +2 -4
  263. package/package.json +12 -55
  264. package/pipes/extract-value/extract-value.pipe.d.ts +1 -1
  265. package/services/sidebar/sidebar.service.d.ts +28 -1
  266. package/styles/global.css +200 -171
  267. package/styles/main.css +200 -171
  268. package/tokens/api-list.d.ts +1 -1
  269. package/types/index.d.ts +0 -1
  270. package/classes/html-parser/index.d.ts +0 -1
  271. package/components/playground-demo/demo/base-demo.component.d.ts +0 -7
  272. package/components/playground-demo/index.d.ts +0 -2
  273. package/components/playground-demo/playground-demo.component.d.ts +0 -29
  274. package/components/playground-demo/playground-demo.module.d.ts +0 -9
  275. package/components/playground-properties/index.d.ts +0 -2
  276. package/components/playground-properties/playground-properties.component.d.ts +0 -16
  277. package/components/playground-properties/playground-properties.module.d.ts +0 -11
  278. package/components/playground-property/index.d.ts +0 -2
  279. package/components/playground-property/playground-property.module.d.ts +0 -11
  280. package/esm2020/classes/html-parser/index.mjs +0 -2
  281. package/esm2020/classes/html-parser/ng-doc-app-classes-html-parser.mjs +0 -5
  282. package/esm2020/components/playground-demo/demo/base-demo.component.mjs +0 -3
  283. package/esm2020/components/playground-demo/index.mjs +0 -3
  284. package/esm2020/components/playground-demo/ng-doc-app-components-playground-demo.mjs +0 -5
  285. package/esm2020/components/playground-demo/playground-demo.component.mjs +0 -101
  286. package/esm2020/components/playground-demo/playground-demo.module.mjs +0 -19
  287. package/esm2020/components/playground-properties/index.mjs +0 -3
  288. package/esm2020/components/playground-properties/ng-doc-app-components-playground-properties.mjs +0 -5
  289. package/esm2020/components/playground-properties/playground-properties.component.mjs +0 -36
  290. package/esm2020/components/playground-properties/playground-properties.module.mjs +0 -50
  291. package/esm2020/components/playground-property/index.mjs +0 -3
  292. package/esm2020/components/playground-property/ng-doc-app-components-playground-property.mjs +0 -5
  293. package/esm2020/components/playground-property/playground-property.component.mjs +0 -88
  294. package/esm2020/components/playground-property/playground-property.module.mjs +0 -21
  295. package/esm2020/helpers/compile-template/compile-template.mjs +0 -116
  296. package/esm2020/helpers/compile-template/index.mjs +0 -2
  297. package/esm2020/helpers/compile-template/ng-doc-app-helpers-compile-template.mjs +0 -5
  298. package/esm2020/helpers/format-html/format-html.mjs +0 -16
  299. package/esm2020/helpers/format-html/index.mjs +0 -2
  300. package/esm2020/helpers/format-html/ng-doc-app-helpers-format-html.mjs +0 -5
  301. package/esm2020/interfaces/playground-form.mjs +0 -2
  302. package/esm2020/types/header-level.mjs +0 -2
  303. package/fesm2015/ng-doc-app-classes-html-parser.mjs +0 -8
  304. package/fesm2015/ng-doc-app-classes-html-parser.mjs.map +0 -1
  305. package/fesm2015/ng-doc-app-components-playground-demo.mjs +0 -123
  306. package/fesm2015/ng-doc-app-components-playground-demo.mjs.map +0 -1
  307. package/fesm2015/ng-doc-app-components-playground-properties.mjs +0 -90
  308. package/fesm2015/ng-doc-app-components-playground-properties.mjs.map +0 -1
  309. package/fesm2015/ng-doc-app-components-playground-property.mjs +0 -113
  310. package/fesm2015/ng-doc-app-components-playground-property.mjs.map +0 -1
  311. package/fesm2015/ng-doc-app-helpers-compile-template.mjs +0 -122
  312. package/fesm2015/ng-doc-app-helpers-compile-template.mjs.map +0 -1
  313. package/fesm2015/ng-doc-app-helpers-format-html.mjs +0 -22
  314. package/fesm2015/ng-doc-app-helpers-format-html.mjs.map +0 -1
  315. package/fesm2020/ng-doc-app-classes-html-parser.mjs +0 -8
  316. package/fesm2020/ng-doc-app-classes-html-parser.mjs.map +0 -1
  317. package/fesm2020/ng-doc-app-components-playground-demo.mjs +0 -123
  318. package/fesm2020/ng-doc-app-components-playground-demo.mjs.map +0 -1
  319. package/fesm2020/ng-doc-app-components-playground-properties.mjs +0 -89
  320. package/fesm2020/ng-doc-app-components-playground-properties.mjs.map +0 -1
  321. package/fesm2020/ng-doc-app-components-playground-property.mjs +0 -112
  322. package/fesm2020/ng-doc-app-components-playground-property.mjs.map +0 -1
  323. package/fesm2020/ng-doc-app-helpers-compile-template.mjs +0 -122
  324. package/fesm2020/ng-doc-app-helpers-compile-template.mjs.map +0 -1
  325. package/fesm2020/ng-doc-app-helpers-format-html.mjs +0 -22
  326. package/fesm2020/ng-doc-app-helpers-format-html.mjs.map +0 -1
  327. package/helpers/compile-template/compile-template.d.ts +0 -18
  328. package/helpers/compile-template/index.d.ts +0 -1
  329. package/helpers/format-html/format-html.d.ts +0 -5
  330. package/helpers/format-html/index.d.ts +0 -1
  331. package/interfaces/playground-form.d.ts +0 -5
  332. package/types/header-level.d.ts +0 -4
@@ -1,24 +1,276 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
3
- import { objectKeys, extractValue } from '@ng-doc/core';
4
- import * as i1 from '@ng-doc/app/classes';
5
- import * as i2 from '@angular/forms';
6
- import { ReactiveFormsModule } from '@angular/forms';
7
- import * as i3 from '@angular/common';
2
+ import { Directive, isDevMode, ViewContainerRef, Component, ChangeDetectionStrategy, Input, ViewChild, HostBinding, EventEmitter, Output, ChangeDetectorRef, Injector, NgModule } from '@angular/core';
3
+ import { extractValueOrThrow, extractValue } from '@ng-doc/core/helpers/extract-value';
4
+ import { objectKeys } from '@ng-doc/core/helpers/object-keys';
5
+ import * as i1$1 from '@ng-doc/app/classes/root-page';
6
+ import { NgDocRootPage } from '@ng-doc/app/classes/root-page';
7
+ import * as i3 from '@angular/forms';
8
+ import { ReactiveFormsModule, FormsModule } from '@angular/forms';
9
+ import * as i2 from '@angular/common';
8
10
  import { CommonModule } from '@angular/common';
9
- import * as i4 from '@ng-doc/app/components/playground-demo';
10
- import { NgDocPlaygroundDemoModule } from '@ng-doc/app/components/playground-demo';
11
- import * as i5 from '@ng-doc/app/components/playground-properties';
12
- import { NgDocPlaygroundPropertiesModule } from '@ng-doc/app/components/playground-properties';
13
- import * as i6 from '@ng-doc/ui-kit';
14
- import { NgDocAsArrayModule } from '@ng-doc/ui-kit';
11
+ import * as i1 from '@angular/cdk/layout';
12
+ import { Breakpoints } from '@angular/cdk/layout';
13
+ import { pluck, takeUntil } from 'rxjs/operators';
14
+ import * as i4 from '@ng-doc/ui-kit';
15
+ import { NgDocLabelModule, NgDocTooltipModule, NgDocAsArrayModule, NgDocButtonIconModule, NgDocIconModule, NgDocTextModule, NgDocCheckboxModule, NgDocButtonModule } from '@ng-doc/ui-kit';
16
+ import { isPlaygroundProperty } from '@ng-doc/app/helpers/is-playground-property';
17
+ import { getTokenForType } from '@ng-doc/app/helpers/provide-type-control';
18
+ import { __decorate, __metadata } from 'tslib';
19
+ import { getPlaygroundDemoToken } from '@ng-doc/app/helpers/provide-playground-demo';
20
+ import { buildPlaygroundDemoTemplate } from '@ng-doc/core/helpers/build-playground-demo-template';
21
+ import { formatHtml } from '@ng-doc/core/helpers/format-html';
22
+ import { untilDestroyed, UntilDestroy } from '@ngneat/until-destroy';
23
+ import { of, Subject } from 'rxjs';
24
+ import * as i2$1 from '@ng-doc/app/components/demo-displayer';
25
+ import { NgDocDemoDisplayerModule } from '@ng-doc/app/components/demo-displayer';
26
+ import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
27
+
28
+ /**
29
+ * Base class for playgrounds components.
30
+ */
31
+ class NgDocBasePlayground {
32
+ constructor() {
33
+ this.data = {};
34
+ this.content = {};
35
+ }
36
+ }
37
+ NgDocBasePlayground.selector = 'unknown';
38
+ NgDocBasePlayground.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NgDocBasePlayground, deps: [], target: i0.ɵɵFactoryTarget.Directive });
39
+ NgDocBasePlayground.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.3", type: NgDocBasePlayground, ngImport: i0 });
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NgDocBasePlayground, decorators: [{
41
+ type: Directive
42
+ }] });
43
+
44
+ class NgDocPlaygroundPropertyComponent {
45
+ constructor(injector) {
46
+ this.injector = injector;
47
+ this.name = '';
48
+ }
49
+ ngOnChanges({ property, control }) {
50
+ var _a, _b, _c, _d, _e, _f;
51
+ if (property && this.property) {
52
+ (_a = this.propertyControl) === null || _a === void 0 ? void 0 : _a.destroy();
53
+ this.propertyControl = undefined;
54
+ const type = isPlaygroundProperty(this.property) ? this.property.type : 'boolean';
55
+ const typeControl = (_b = this.getControlForType(type)) !== null && _b !== void 0 ? _b : this.getControlForTypeAlias(isPlaygroundProperty(this.property) ? this.property.options : undefined);
56
+ if (typeControl && this.propertyOutlet) {
57
+ this.propertyControl = this.propertyOutlet.createComponent(typeControl.control);
58
+ this.propertyControl.instance.name = this.name;
59
+ this.propertyControl.instance.description = this.tooltipContent;
60
+ this.propertyControl.instance.options = isPlaygroundProperty(this.property)
61
+ ? this.property.options
62
+ : undefined;
63
+ this.propertyControl.instance.default = isPlaygroundProperty(this.property)
64
+ ? this.property.default
65
+ : undefined;
66
+ this.propertyControl.instance.writeValue((_c = this.control) === null || _c === void 0 ? void 0 : _c.value);
67
+ this.option = typeControl.options;
68
+ }
69
+ else if (isDevMode()) {
70
+ console.warn(`NgDocPlayground didn't find the control for the @Input "${this.name}", the type "${type}" was not recognized'`);
71
+ }
72
+ }
73
+ if (control) {
74
+ (_d = this.control) === null || _d === void 0 ? void 0 : _d.registerOnChange((value) => { var _a, _b; return (_b = (_a = this.propertyControl) === null || _a === void 0 ? void 0 : _a.instance) === null || _b === void 0 ? void 0 : _b.writeValue(value); });
75
+ (_e = this.propertyControl) === null || _e === void 0 ? void 0 : _e.instance.registerOnChange((value) => { var _a; return (_a = this.control) === null || _a === void 0 ? void 0 : _a.setValue(value); });
76
+ (_f = this.propertyControl) === null || _f === void 0 ? void 0 : _f.instance.registerOnTouched(() => { var _a; return (_a = this.control) === null || _a === void 0 ? void 0 : _a.markAsTouched(); });
77
+ }
78
+ }
79
+ get hasPropertyControl() {
80
+ return !!this.propertyControl;
81
+ }
82
+ get tooltipContent() {
83
+ var _a;
84
+ return this.property && isPlaygroundProperty(this.property) ? (_a = this.property.description) !== null && _a !== void 0 ? _a : '' : '';
85
+ }
86
+ getControlForType(type) {
87
+ const token = getTokenForType(type);
88
+ return token ? this.injector.get(token) : undefined;
89
+ }
90
+ getControlForTypeAlias(options) {
91
+ if (options && options.length) {
92
+ let optionsIsValid = true;
93
+ try {
94
+ // checking that all values are extractable
95
+ options.forEach((item) => extractValueOrThrow(item));
96
+ }
97
+ catch (_a) {
98
+ optionsIsValid = false;
99
+ }
100
+ if (optionsIsValid) {
101
+ const token = getTokenForType('NgDocTypeAlias');
102
+ return token ? this.injector.get(token) : undefined;
103
+ }
104
+ }
105
+ return undefined;
106
+ }
107
+ }
108
+ NgDocPlaygroundPropertyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NgDocPlaygroundPropertyComponent, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
109
+ NgDocPlaygroundPropertyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: NgDocPlaygroundPropertyComponent, selector: "ng-doc-playground-property", inputs: { name: "name", property: "property", control: "control" }, host: { properties: { "attr.data-has-property-control": "this.hasPropertyControl" } }, viewQueries: [{ propertyName: "propertyOutlet", first: true, predicate: ["propertyOutlet"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, template: "<label [ng-doc-label]=\"option?.hideLabel ? '' : labelContent\">\n\t<ng-template #labelContent>\n\t\t<span\n\t\t\t[ngDocTooltip]=\"tooltipContent\"\n\t\t\t[canOpen]=\"!!tooltipContent\"\n\t\t\t[positions]=\"['left-center', 'top-right', 'bottom-right']\"\n\t\t\t>{{ name }}</span\n\t\t>\n\t</ng-template>\n\t<ng-container #propertyOutlet></ng-container>\n</label>\n", styles: [":host{display:block}:host[data-has-property-control=false]{display:none}\n"], dependencies: [{ kind: "component", type: i4.NgDocLabelComponent, selector: "label[ng-doc-label]", inputs: ["ng-doc-label", "align"] }, { kind: "directive", type: i4.NgDocTooltipDirective, selector: "[ngDocTooltip]", inputs: ["ngDocTooltip", "delay", "displayOrigin", "pointerOrigin", "positions", "canOpen", "panelClass", "minHeight", "maxHeight", "height", "minWidth", "maxWidth", "width"], outputs: ["beforeOpen", "afterOpen", "beforeClose", "afterClose"], exportAs: ["ngDocTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
110
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NgDocPlaygroundPropertyComponent, decorators: [{
111
+ type: Component,
112
+ args: [{ selector: 'ng-doc-playground-property', changeDetection: ChangeDetectionStrategy.OnPush, template: "<label [ng-doc-label]=\"option?.hideLabel ? '' : labelContent\">\n\t<ng-template #labelContent>\n\t\t<span\n\t\t\t[ngDocTooltip]=\"tooltipContent\"\n\t\t\t[canOpen]=\"!!tooltipContent\"\n\t\t\t[positions]=\"['left-center', 'top-right', 'bottom-right']\"\n\t\t\t>{{ name }}</span\n\t\t>\n\t</ng-template>\n\t<ng-container #propertyOutlet></ng-container>\n</label>\n", styles: [":host{display:block}:host[data-has-property-control=false]{display:none}\n"] }]
113
+ }], ctorParameters: function () { return [{ type: i0.Injector }]; }, propDecorators: { name: [{
114
+ type: Input
115
+ }], property: [{
116
+ type: Input
117
+ }], control: [{
118
+ type: Input
119
+ }], propertyOutlet: [{
120
+ type: ViewChild,
121
+ args: ['propertyOutlet', { read: ViewContainerRef, static: true }]
122
+ }], hasPropertyControl: [{
123
+ type: HostBinding,
124
+ args: ['attr.data-has-property-control']
125
+ }] } });
126
+
127
+ class NgDocPlaygroundPropertiesComponent {
128
+ constructor(breakpointObserver) {
129
+ this.breakpointObserver = breakpointObserver;
130
+ this.recreateDemo = false;
131
+ this.recreateDemoChange = new EventEmitter();
132
+ this.resetForm = new EventEmitter();
133
+ this.breakpoints = [Breakpoints.XSmall];
134
+ this.observer = this.breakpointObserver.observe(this.breakpoints).pipe(pluck('matches'));
135
+ }
136
+ getFormControl(controlType, key) {
137
+ var _a;
138
+ return (_a = this.form.get(controlType)) === null || _a === void 0 ? void 0 : _a.get(key);
139
+ }
140
+ }
141
+ NgDocPlaygroundPropertiesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NgDocPlaygroundPropertiesComponent, deps: [{ token: i1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Component });
142
+ NgDocPlaygroundPropertiesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: NgDocPlaygroundPropertiesComponent, selector: "ng-doc-playground-properties", inputs: { form: "form", properties: "properties", dynamicContent: "dynamicContent", recreateDemo: "recreateDemo" }, outputs: { recreateDemoChange: "recreateDemoChange", resetForm: "resetForm" }, ngImport: i0, template: "<div class=\"ng-doc-playground-properties-wrapper\" [class.vertical]=\"observer | async\">\n\t<div class=\"ng-doc-playground-demos\">\n\t\t<ng-content></ng-content>\n\t</div>\n\t<div class=\"ng-doc-playground-properties\">\n\t\t<div class=\"ng-doc-playground-header\">\n\t\t\t<h4 ng-doc-text>Playground</h4>\n\t\t\t<button ng-doc-button color=\"red\" (click)=\"resetForm.emit()\">Reset</button>\n\t\t</div>\n\t\t<div class=\"ng-doc-playground-setting\">\n\t\t\t<ng-doc-checkbox [(ngModel)]=\"recreateDemo\" (ngModelChange)=\"recreateDemoChange.emit($event)\">\n\t\t\t\t<span\n\t\t\t\t\tng-doc-text\n\t\t\t\t\t[ngDocTooltip]=\"'Recreates demo everytime\\none of the input has changed'\"\n\t\t\t\t\t[positions]=\"['bottom-right', 'left-center']\"\n\t\t\t\t>\n\t\t\t\t\tRecreate\n\t\t\t\t\t<ng-doc-icon icon=\"info\" ngDocTextRight></ng-doc-icon>\n\t\t\t\t</span>\n\t\t\t</ng-doc-checkbox>\n\t\t</div>\n\t\t<div class=\"ng-doc-playground-divider\"></div>\n\t\t<ng-container *ngIf=\"(properties | keyvalue)?.length\">\n\t\t\t<h5 class=\"ng-doc-title\" ng-doc-text>Settings</h5>\n\t\t\t<ng-doc-playground-property\n\t\t\t\t*ngFor=\"let property of properties | keyvalue\"\n\t\t\t\t[name]=\"property.value.name\"\n\t\t\t\t[property]=\"property.value\"\n\t\t\t\t[control]=\"getFormControl('properties', property.key)\"\n\t\t\t>\n\t\t\t</ng-doc-playground-property>\n\t\t</ng-container>\n\n\t\t<ng-container *ngIf=\"(dynamicContent | keyvalue)?.length\">\n\t\t\t<h5 class=\"ng-doc-title\" ng-doc-text>Content</h5>\n\t\t\t<ng-doc-playground-property\n\t\t\t\t*ngFor=\"let content of dynamicContent | keyvalue\"\n\t\t\t\t[name]=\"content.value.label\"\n\t\t\t\t[property]=\"content.value\"\n\t\t\t\t[control]=\"getFormControl('content', content.key)\"\n\t\t\t>\n\t\t\t</ng-doc-playground-property>\n\t\t</ng-container>\n\t</div>\n</div>\n", styles: [":host .ng-doc-playground-properties-wrapper{position:relative;display:flex}:host .ng-doc-playground-properties-wrapper.vertical{flex-direction:column}:host .ng-doc-playground-properties-wrapper.vertical .ng-doc-playground-demos{margin-right:0;margin-bottom:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-playground-properties-wrapper.vertical .ng-doc-playground-properties{width:100%}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-demos{display:flex;flex-direction:column;width:100%;overflow:hidden;margin-right:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties{flex-shrink:0;width:300px;padding:calc(var(--ng-doc-base-gutter) * 2) calc(var(--ng-doc-base-gutter) * 3);background-color:var(--ng-doc-base-1);border-radius:var(--ng-doc-base-gutter)}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties ng-doc-playground-property:not(:last-child){margin-bottom:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties .ng-doc-playground-controls{display:flex;justify-content:flex-end}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties .ng-doc-playground-header{display:flex;align-items:center;justify-content:space-between;height:40px;margin-bottom:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties .ng-doc-playground-header h4{margin:0}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties .ng-doc-playground-setting{display:flex;flex-direction:column}:host .ng-doc-playground-properties-wrapper .ng-doc-title{margin-top:0;margin-bottom:calc(var(--ng-doc-base-gutter) + var(--ng-doc-base-gutter) / 2)}:host .ng-doc-playground-divider{margin:calc(var(--ng-doc-base-gutter) * 2) 0;height:1px;background-color:var(--ng-doc-base-2)}\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: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.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: i4.NgDocIconComponent, selector: "ng-doc-icon", inputs: ["icon", "size"] }, { kind: "component", type: i4.NgDocTextComponent, selector: "[ng-doc-text]", inputs: ["size", "color", "align", "absoluteContent"] }, { kind: "directive", type: i4.NgDocTextRightDirective, selector: "[ngDocTextRight]" }, { kind: "component", type: i4.NgDocCheckboxComponent, selector: "ng-doc-checkbox", inputs: ["color"] }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.NgDocButtonComponent, selector: "button[ng-doc-button], a[ng-doc-button], button[ng-doc-button-flat], a[ng-doc-button-flat], button[ng-doc-button-text], a[ng-doc-button-text]", inputs: ["size", "color", "rounded"] }, { kind: "component", type: NgDocPlaygroundPropertyComponent, selector: "ng-doc-playground-property", inputs: ["name", "property", "control"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i2.KeyValuePipe, name: "keyvalue" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
143
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NgDocPlaygroundPropertiesComponent, decorators: [{
144
+ type: Component,
145
+ args: [{ selector: 'ng-doc-playground-properties', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"ng-doc-playground-properties-wrapper\" [class.vertical]=\"observer | async\">\n\t<div class=\"ng-doc-playground-demos\">\n\t\t<ng-content></ng-content>\n\t</div>\n\t<div class=\"ng-doc-playground-properties\">\n\t\t<div class=\"ng-doc-playground-header\">\n\t\t\t<h4 ng-doc-text>Playground</h4>\n\t\t\t<button ng-doc-button color=\"red\" (click)=\"resetForm.emit()\">Reset</button>\n\t\t</div>\n\t\t<div class=\"ng-doc-playground-setting\">\n\t\t\t<ng-doc-checkbox [(ngModel)]=\"recreateDemo\" (ngModelChange)=\"recreateDemoChange.emit($event)\">\n\t\t\t\t<span\n\t\t\t\t\tng-doc-text\n\t\t\t\t\t[ngDocTooltip]=\"'Recreates demo everytime\\none of the input has changed'\"\n\t\t\t\t\t[positions]=\"['bottom-right', 'left-center']\"\n\t\t\t\t>\n\t\t\t\t\tRecreate\n\t\t\t\t\t<ng-doc-icon icon=\"info\" ngDocTextRight></ng-doc-icon>\n\t\t\t\t</span>\n\t\t\t</ng-doc-checkbox>\n\t\t</div>\n\t\t<div class=\"ng-doc-playground-divider\"></div>\n\t\t<ng-container *ngIf=\"(properties | keyvalue)?.length\">\n\t\t\t<h5 class=\"ng-doc-title\" ng-doc-text>Settings</h5>\n\t\t\t<ng-doc-playground-property\n\t\t\t\t*ngFor=\"let property of properties | keyvalue\"\n\t\t\t\t[name]=\"property.value.name\"\n\t\t\t\t[property]=\"property.value\"\n\t\t\t\t[control]=\"getFormControl('properties', property.key)\"\n\t\t\t>\n\t\t\t</ng-doc-playground-property>\n\t\t</ng-container>\n\n\t\t<ng-container *ngIf=\"(dynamicContent | keyvalue)?.length\">\n\t\t\t<h5 class=\"ng-doc-title\" ng-doc-text>Content</h5>\n\t\t\t<ng-doc-playground-property\n\t\t\t\t*ngFor=\"let content of dynamicContent | keyvalue\"\n\t\t\t\t[name]=\"content.value.label\"\n\t\t\t\t[property]=\"content.value\"\n\t\t\t\t[control]=\"getFormControl('content', content.key)\"\n\t\t\t>\n\t\t\t</ng-doc-playground-property>\n\t\t</ng-container>\n\t</div>\n</div>\n", styles: [":host .ng-doc-playground-properties-wrapper{position:relative;display:flex}:host .ng-doc-playground-properties-wrapper.vertical{flex-direction:column}:host .ng-doc-playground-properties-wrapper.vertical .ng-doc-playground-demos{margin-right:0;margin-bottom:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-playground-properties-wrapper.vertical .ng-doc-playground-properties{width:100%}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-demos{display:flex;flex-direction:column;width:100%;overflow:hidden;margin-right:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties{flex-shrink:0;width:300px;padding:calc(var(--ng-doc-base-gutter) * 2) calc(var(--ng-doc-base-gutter) * 3);background-color:var(--ng-doc-base-1);border-radius:var(--ng-doc-base-gutter)}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties ng-doc-playground-property:not(:last-child){margin-bottom:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties .ng-doc-playground-controls{display:flex;justify-content:flex-end}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties .ng-doc-playground-header{display:flex;align-items:center;justify-content:space-between;height:40px;margin-bottom:calc(var(--ng-doc-base-gutter) * 2)}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties .ng-doc-playground-header h4{margin:0}:host .ng-doc-playground-properties-wrapper .ng-doc-playground-properties .ng-doc-playground-setting{display:flex;flex-direction:column}:host .ng-doc-playground-properties-wrapper .ng-doc-title{margin-top:0;margin-bottom:calc(var(--ng-doc-base-gutter) + var(--ng-doc-base-gutter) / 2)}:host .ng-doc-playground-divider{margin:calc(var(--ng-doc-base-gutter) * 2) 0;height:1px;background-color:var(--ng-doc-base-2)}\n"] }]
146
+ }], ctorParameters: function () { return [{ type: i1.BreakpointObserver }]; }, propDecorators: { form: [{
147
+ type: Input
148
+ }], properties: [{
149
+ type: Input
150
+ }], dynamicContent: [{
151
+ type: Input
152
+ }], recreateDemo: [{
153
+ type: Input
154
+ }], recreateDemoChange: [{
155
+ type: Output
156
+ }], resetForm: [{
157
+ type: Output
158
+ }] } });
159
+
160
+ let NgDocPlaygroundDemoComponent = class NgDocPlaygroundDemoComponent {
161
+ constructor(rootPage, injector) {
162
+ this.rootPage = rootPage;
163
+ this.injector = injector;
164
+ this.id = '';
165
+ this.selector = '';
166
+ this.recreateDemo = false;
167
+ this.code = of('');
168
+ this.unsubscribe$ = new Subject();
169
+ }
170
+ ngOnChanges({ form, id }) {
171
+ var _a;
172
+ if (form && id) {
173
+ this.unsubscribe$.next();
174
+ const demoInjector = getPlaygroundDemoToken(this.id);
175
+ if (demoInjector) {
176
+ const demos = this.injector.get(demoInjector, []);
177
+ this.playgroundDemo = demos.find((demo) => demo.selector === this.selector);
178
+ }
179
+ this.updateDemo();
180
+ (_a = this.form) === null || _a === void 0 ? void 0 : _a.valueChanges.pipe(takeUntil(this.unsubscribe$), untilDestroyed(this)).subscribe((data) => this.updateDemo(data));
181
+ }
182
+ }
183
+ updateDemo(data) {
184
+ var _a, _b, _c, _d, _e, _f, _g, _h;
185
+ if (this.recreateDemo || !this.demoRef) {
186
+ this.renderDemo();
187
+ }
188
+ if (data) {
189
+ Object.assign((_b = (_a = this.demoRef) === null || _a === void 0 ? void 0 : _a.instance.playground) !== null && _b !== void 0 ? _b : {}, data.properties);
190
+ Object.assign((_d = (_c = this.demoRef) === null || _c === void 0 ? void 0 : _c.instance.content) !== null && _d !== void 0 ? _d : {}, data.content);
191
+ (_h = (_g = (_f = (_e = this.demoRef) === null || _e === void 0 ? void 0 : _e.instance) === null || _f === void 0 ? void 0 : _f.viewContainerRef) === null || _g === void 0 ? void 0 : _g.injector.get(ChangeDetectorRef)) === null || _h === void 0 ? void 0 : _h.markForCheck();
192
+ }
193
+ this.updateCodeView();
194
+ }
195
+ renderDemo() {
196
+ var _a, _b, _c;
197
+ if (this.playgroundDemo) {
198
+ (_a = this.demoRef) === null || _a === void 0 ? void 0 : _a.destroy();
199
+ if (this.playgroundDemo) {
200
+ this.demoRef = (_b = this.demoOutlet) === null || _b === void 0 ? void 0 : _b.createComponent(this.playgroundDemo);
201
+ }
202
+ (_c = this.demoRef) === null || _c === void 0 ? void 0 : _c.changeDetectorRef.markForCheck();
203
+ }
204
+ }
205
+ updateCodeView() {
206
+ var _a, _b;
207
+ const template = buildPlaygroundDemoTemplate((_b = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.template) !== null && _b !== void 0 ? _b : '', this.selector, this.getActiveContent(), this.getActiveInputs());
208
+ this.code = formatHtml(template);
209
+ }
210
+ getActiveContent() {
211
+ var _a, _b;
212
+ const formData = (_b = (_a = this.form) === null || _a === void 0 ? void 0 : _a.controls.content.value) !== null && _b !== void 0 ? _b : {};
213
+ return objectKeys(formData).reduce((result, key) => {
214
+ var _a, _b, _c;
215
+ result[key] = formData[key] ? (_c = (_b = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.content) === null || _b === void 0 ? void 0 : _b[key].template) !== null && _c !== void 0 ? _c : '' : '';
216
+ return result;
217
+ }, {});
218
+ }
219
+ getActiveInputs() {
220
+ var _a, _b;
221
+ const formData = (_b = (_a = this.form) === null || _a === void 0 ? void 0 : _a.controls.properties.value) !== null && _b !== void 0 ? _b : {};
222
+ return objectKeys(formData).reduce((result, key) => {
223
+ var _a, _b;
224
+ const property = (_a = this.properties) === null || _a === void 0 ? void 0 : _a[key];
225
+ if (property) {
226
+ const value = formData[key];
227
+ const isString = typeof value === 'string';
228
+ const inputValue = isString ? `'${value}'` : `${JSON.stringify(value)}`;
229
+ if (((_b = property.default) !== null && _b !== void 0 ? _b : '') !== inputValue) {
230
+ result[property.name] = inputValue;
231
+ }
232
+ }
233
+ return result;
234
+ }, {});
235
+ }
236
+ ngOnDestroy() {
237
+ this.unsubscribe$.next();
238
+ this.unsubscribe$.complete();
239
+ }
240
+ };
241
+ NgDocPlaygroundDemoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NgDocPlaygroundDemoComponent, deps: [{ token: i1$1.NgDocRootPage }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
242
+ NgDocPlaygroundDemoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: NgDocPlaygroundDemoComponent, selector: "ng-doc-playground-demo", inputs: { id: "id", selector: "selector", configuration: "configuration", properties: "properties", recreateDemo: "recreateDemo", form: "form" }, viewQueries: [{ propertyName: "demoOutlet", first: true, predicate: ["demoOutlet"], descendants: true, read: ViewContainerRef, static: true }], usesOnChanges: true, ngImport: i0, template: "<ng-doc-demo-displayer [code]=\"(code | async) ?? ''\" [border]=\"false\" language=\"html\">\n\t<ng-container #demoOutlet></ng-container>\n</ng-doc-demo-displayer>\n", styles: [":host{display:block;border:var(--ng-doc-demo-displayer-border);border-radius:var(--ng-doc-demo-displayer-border-radius);overflow:hidden}:host:not(:last-child){border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}:host:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}\n"], dependencies: [{ kind: "component", type: i2$1.NgDocDemoDisplayerComponent, selector: "ng-doc-demo-displayer", inputs: ["codeContent", "code", "language", "container", "border", "expanded"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
243
+ NgDocPlaygroundDemoComponent = __decorate([
244
+ UntilDestroy(),
245
+ __metadata("design:paramtypes", [NgDocRootPage, Injector])
246
+ ], NgDocPlaygroundDemoComponent);
247
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NgDocPlaygroundDemoComponent, decorators: [{
248
+ type: Component,
249
+ args: [{ selector: 'ng-doc-playground-demo', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-doc-demo-displayer [code]=\"(code | async) ?? ''\" [border]=\"false\" language=\"html\">\n\t<ng-container #demoOutlet></ng-container>\n</ng-doc-demo-displayer>\n", styles: [":host{display:block;border:var(--ng-doc-demo-displayer-border);border-radius:var(--ng-doc-demo-displayer-border-radius);overflow:hidden}:host:not(:last-child){border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}:host:not(:first-child){border-top-left-radius:0;border-top-right-radius:0}\n"] }]
250
+ }], ctorParameters: function () { return [{ type: i1$1.NgDocRootPage }, { type: i0.Injector }]; }, propDecorators: { id: [{
251
+ type: Input
252
+ }], selector: [{
253
+ type: Input
254
+ }], configuration: [{
255
+ type: Input
256
+ }], properties: [{
257
+ type: Input
258
+ }], recreateDemo: [{
259
+ type: Input
260
+ }], form: [{
261
+ type: Input
262
+ }], demoOutlet: [{
263
+ type: ViewChild,
264
+ args: ['demoOutlet', { static: true, read: ViewContainerRef }]
265
+ }] } });
15
266
 
16
267
  class NgDocPlaygroundComponent {
17
268
  constructor(rootPage, formBuilder) {
18
269
  this.rootPage = rootPage;
19
270
  this.formBuilder = formBuilder;
271
+ this.id = '';
20
272
  this.selectors = [];
21
- this.reinitializeDemo = false;
273
+ this.recreateDemo = false;
22
274
  }
23
275
  ngOnInit() {
24
276
  const propertiesForm = this.formBuilder.group(this.getPropertiesFormValues());
@@ -27,10 +279,10 @@ class NgDocPlaygroundComponent {
27
279
  properties: propertiesForm,
28
280
  content: contentForm,
29
281
  });
30
- console.log(this.rootPage.playground, this.id, this.properties);
31
282
  }
32
283
  get configuration() {
33
- return this.id && this.rootPage.playground ? this.rootPage.playground[this.id] : undefined;
284
+ var _a, _b;
285
+ return (_b = (_a = this.rootPage.dependencies) === null || _a === void 0 ? void 0 : _a.playgrounds) === null || _b === void 0 ? void 0 : _b[this.id];
34
286
  }
35
287
  getPropertiesFormValues() {
36
288
  var _a;
@@ -44,13 +296,14 @@ class NgDocPlaygroundComponent {
44
296
  }
45
297
  getContentFormValues() {
46
298
  var _a, _b;
47
- return objectKeys((_b = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.dynamicContent) !== null && _b !== void 0 ? _b : {}).reduce((controls, key) => {
299
+ return objectKeys((_b = (_a = this.configuration) === null || _a === void 0 ? void 0 : _a.content) !== null && _b !== void 0 ? _b : {}).reduce((controls, key) => {
48
300
  var _a;
49
- if ((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.dynamicContent) {
301
+ if ((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.content) {
50
302
  controls[key] = false;
51
303
  }
52
304
  return controls;
53
305
  }, {});
306
+ return {};
54
307
  }
55
308
  resetForm() {
56
309
  var _a;
@@ -60,38 +313,78 @@ class NgDocPlaygroundComponent {
60
313
  });
61
314
  }
62
315
  }
63
- NgDocPlaygroundComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NgDocPlaygroundComponent, deps: [{ token: i1.NgDocRootPage }, { token: i2.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
64
- NgDocPlaygroundComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: NgDocPlaygroundComponent, selector: "ng-doc-playground", ngImport: i0, template: "<ng-container *ngIf=\"configuration\">\n\t<ng-doc-playground-properties [form]=\"formGroup\" [properties]=\"properties\"\n\t\t\t\t\t\t\t\t [dynamicContent]=\"configuration.dynamicContent\"\n\t\t\t\t\t\t\t\t [(reinitializeDemo)]=\"reinitializeDemo\"\n\t\t\t\t\t\t\t\t (resetForm)=\"resetForm()\">\n\t\t<ng-doc-playground-demo *ngFor=\"let selector of (configuration.selectors ?? selectors) | asArray\"\n\t\t\t\t\t\t\t\t[target]=\"configuration.target\"\n\t\t\t\t\t\t\t\t[selector]=\"selector\"\n\t\t\t\t\t\t\t\t[template]=\"configuration.template\"\n\t\t\t\t\t\t\t\t[properties]=\"properties\"\n\t\t\t\t\t\t\t\t[data]=\"configuration.data\"\n\t\t\t\t\t\t\t\t[dynamicContent]=\"configuration.dynamicContent\"\n\t\t\t\t\t\t\t\t[reinitializeDemo]=\"reinitializeDemo\"\n\t\t\t\t\t\t\t\t[form]=\"formGroup\">\n\t\t</ng-doc-playground-demo>\n\t</ng-doc-playground-properties>\n</ng-container>\n", styles: [":host{display:block}\n"], dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i4.NgDocPlaygroundDemoComponent, selector: "ng-doc-playground-demo", inputs: ["target", "selector", "template", "properties", "dynamicContent", "data", "reinitializeDemo", "form"] }, { kind: "component", type: i5.NgDocPlaygroundPropertiesComponent, selector: "ng-doc-playground-properties", inputs: ["form", "properties", "dynamicContent", "reinitializeDemo"], outputs: ["reinitializeDemoChange", "resetForm"] }, { kind: "pipe", type: i6.NgDocAsArrayPipe, name: "asArray" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
316
+ NgDocPlaygroundComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NgDocPlaygroundComponent, deps: [{ token: i1$1.NgDocRootPage }, { token: i3.FormBuilder }], target: i0.ɵɵFactoryTarget.Component });
317
+ NgDocPlaygroundComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.3", type: NgDocPlaygroundComponent, selector: "ng-doc-playground", ngImport: i0, template: "<ng-container *ngIf=\"configuration\">\n\t<ng-doc-playground-properties\n\t\t[form]=\"formGroup\"\n\t\t[properties]=\"properties\"\n\t\t[dynamicContent]=\"configuration.content\"\n\t\t[(recreateDemo)]=\"recreateDemo\"\n\t\t(resetForm)=\"resetForm()\"\n\t>\n\t\t<ng-doc-playground-demo\n\t\t\t*ngFor=\"let selector of configuration.selectors ?? selectors | asArray\"\n\t\t\t[id]=\"id\"\n\t\t\t[selector]=\"selector\"\n\t\t\t[properties]=\"properties\"\n\t\t\t[configuration]=\"configuration\"\n\t\t\t[recreateDemo]=\"recreateDemo\"\n\t\t\t[form]=\"formGroup\"\n\t\t>\n\t\t</ng-doc-playground-demo>\n\t</ng-doc-playground-properties>\n</ng-container>\n", styles: [":host{display:block}\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: "component", type: NgDocPlaygroundPropertiesComponent, selector: "ng-doc-playground-properties", inputs: ["form", "properties", "dynamicContent", "recreateDemo"], outputs: ["recreateDemoChange", "resetForm"] }, { kind: "component", type: NgDocPlaygroundDemoComponent, selector: "ng-doc-playground-demo", inputs: ["id", "selector", "configuration", "properties", "recreateDemo", "form"] }, { kind: "pipe", type: i4.NgDocAsArrayPipe, name: "asArray" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
65
318
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NgDocPlaygroundComponent, decorators: [{
66
319
  type: Component,
67
- args: [{ selector: 'ng-doc-playground', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"configuration\">\n\t<ng-doc-playground-properties [form]=\"formGroup\" [properties]=\"properties\"\n\t\t\t\t\t\t\t\t [dynamicContent]=\"configuration.dynamicContent\"\n\t\t\t\t\t\t\t\t [(reinitializeDemo)]=\"reinitializeDemo\"\n\t\t\t\t\t\t\t\t (resetForm)=\"resetForm()\">\n\t\t<ng-doc-playground-demo *ngFor=\"let selector of (configuration.selectors ?? selectors) | asArray\"\n\t\t\t\t\t\t\t\t[target]=\"configuration.target\"\n\t\t\t\t\t\t\t\t[selector]=\"selector\"\n\t\t\t\t\t\t\t\t[template]=\"configuration.template\"\n\t\t\t\t\t\t\t\t[properties]=\"properties\"\n\t\t\t\t\t\t\t\t[data]=\"configuration.data\"\n\t\t\t\t\t\t\t\t[dynamicContent]=\"configuration.dynamicContent\"\n\t\t\t\t\t\t\t\t[reinitializeDemo]=\"reinitializeDemo\"\n\t\t\t\t\t\t\t\t[form]=\"formGroup\">\n\t\t</ng-doc-playground-demo>\n\t</ng-doc-playground-properties>\n</ng-container>\n", styles: [":host{display:block}\n"] }]
68
- }], ctorParameters: function () { return [{ type: i1.NgDocRootPage }, { type: i2.FormBuilder }]; } });
320
+ args: [{ selector: 'ng-doc-playground', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"configuration\">\n\t<ng-doc-playground-properties\n\t\t[form]=\"formGroup\"\n\t\t[properties]=\"properties\"\n\t\t[dynamicContent]=\"configuration.content\"\n\t\t[(recreateDemo)]=\"recreateDemo\"\n\t\t(resetForm)=\"resetForm()\"\n\t>\n\t\t<ng-doc-playground-demo\n\t\t\t*ngFor=\"let selector of configuration.selectors ?? selectors | asArray\"\n\t\t\t[id]=\"id\"\n\t\t\t[selector]=\"selector\"\n\t\t\t[properties]=\"properties\"\n\t\t\t[configuration]=\"configuration\"\n\t\t\t[recreateDemo]=\"recreateDemo\"\n\t\t\t[form]=\"formGroup\"\n\t\t>\n\t\t</ng-doc-playground-demo>\n\t</ng-doc-playground-properties>\n</ng-container>\n", styles: [":host{display:block}\n"] }]
321
+ }], ctorParameters: function () { return [{ type: i1$1.NgDocRootPage }, { type: i3.FormBuilder }]; } });
69
322
 
70
323
  class NgDocPlaygroundModule {
71
324
  }
72
325
  NgDocPlaygroundModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NgDocPlaygroundModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
73
- NgDocPlaygroundModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: NgDocPlaygroundModule, declarations: [NgDocPlaygroundComponent], imports: [CommonModule,
326
+ NgDocPlaygroundModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.3", ngImport: i0, type: NgDocPlaygroundModule, declarations: [NgDocPlaygroundComponent,
327
+ NgDocPlaygroundPropertyComponent,
328
+ NgDocPlaygroundPropertiesComponent,
329
+ NgDocPlaygroundDemoComponent], imports: [CommonModule,
74
330
  ReactiveFormsModule,
331
+ NgDocLabelModule,
332
+ NgDocTooltipModule,
333
+ PolymorpheusModule,
75
334
  NgDocAsArrayModule,
76
- NgDocPlaygroundDemoModule,
77
- NgDocPlaygroundPropertiesModule], exports: [NgDocPlaygroundComponent] });
335
+ NgDocButtonIconModule,
336
+ NgDocIconModule,
337
+ NgDocTextModule,
338
+ NgDocCheckboxModule,
339
+ FormsModule,
340
+ NgDocButtonModule,
341
+ NgDocDemoDisplayerModule], exports: [NgDocPlaygroundComponent,
342
+ NgDocPlaygroundPropertyComponent,
343
+ NgDocPlaygroundPropertiesComponent,
344
+ NgDocPlaygroundDemoComponent] });
78
345
  NgDocPlaygroundModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NgDocPlaygroundModule, imports: [CommonModule,
79
346
  ReactiveFormsModule,
347
+ NgDocLabelModule,
348
+ NgDocTooltipModule,
349
+ PolymorpheusModule,
80
350
  NgDocAsArrayModule,
81
- NgDocPlaygroundDemoModule,
82
- NgDocPlaygroundPropertiesModule] });
351
+ NgDocButtonIconModule,
352
+ NgDocIconModule,
353
+ NgDocTextModule,
354
+ NgDocCheckboxModule,
355
+ FormsModule,
356
+ NgDocButtonModule,
357
+ NgDocDemoDisplayerModule] });
83
358
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImport: i0, type: NgDocPlaygroundModule, decorators: [{
84
359
  type: NgModule,
85
360
  args: [{
86
- declarations: [NgDocPlaygroundComponent],
361
+ declarations: [
362
+ NgDocPlaygroundComponent,
363
+ NgDocPlaygroundPropertyComponent,
364
+ NgDocPlaygroundPropertiesComponent,
365
+ NgDocPlaygroundDemoComponent,
366
+ ],
87
367
  imports: [
88
368
  CommonModule,
89
369
  ReactiveFormsModule,
370
+ NgDocLabelModule,
371
+ NgDocTooltipModule,
372
+ PolymorpheusModule,
90
373
  NgDocAsArrayModule,
91
- NgDocPlaygroundDemoModule,
92
- NgDocPlaygroundPropertiesModule,
374
+ NgDocButtonIconModule,
375
+ NgDocIconModule,
376
+ NgDocTextModule,
377
+ NgDocCheckboxModule,
378
+ FormsModule,
379
+ NgDocButtonModule,
380
+ NgDocDemoDisplayerModule,
381
+ ],
382
+ exports: [
383
+ NgDocPlaygroundComponent,
384
+ NgDocPlaygroundPropertyComponent,
385
+ NgDocPlaygroundPropertiesComponent,
386
+ NgDocPlaygroundDemoComponent,
93
387
  ],
94
- exports: [NgDocPlaygroundComponent],
95
388
  }]
96
389
  }] });
97
390
 
@@ -99,5 +392,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.3", ngImpor
99
392
  * Generated bundle index. Do not edit.
100
393
  */
101
394
 
102
- export { NgDocPlaygroundComponent, NgDocPlaygroundModule };
395
+ export { NgDocBasePlayground, NgDocPlaygroundComponent, NgDocPlaygroundDemoComponent, NgDocPlaygroundModule, NgDocPlaygroundPropertiesComponent, NgDocPlaygroundPropertyComponent };
103
396
  //# sourceMappingURL=ng-doc-app-components-playground.mjs.map