@ng-doc/app 15.0.0-beta.5

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 (683) hide show
  1. package/README.md +7 -0
  2. package/assets/themes/ng-doc-night.css +17 -0
  3. package/classes/html-parser/html-parser.d.ts +10 -0
  4. package/classes/html-parser/index.d.ts +1 -0
  5. package/classes/index.d.ts +3 -0
  6. package/classes/root-page/index.d.ts +1 -0
  7. package/classes/root-page/root-page.d.ts +10 -0
  8. package/classes/search-engine/index.d.ts +1 -0
  9. package/classes/search-engine/search-engine.d.ts +10 -0
  10. package/components/api-list/api-list.component.d.ts +25 -0
  11. package/components/api-list/api-list.module.d.ts +12 -0
  12. package/components/api-list/index.d.ts +2 -0
  13. package/components/code/code.component.d.ts +18 -0
  14. package/components/code/code.module.d.ts +11 -0
  15. package/components/code/index.d.ts +2 -0
  16. package/components/demo/demo.component.d.ts +14 -0
  17. package/components/demo/demo.module.d.ts +12 -0
  18. package/components/demo/index.d.ts +2 -0
  19. package/components/demo-displayer/demo-displayer.component.d.ts +17 -0
  20. package/components/demo-displayer/demo-displayer.module.d.ts +11 -0
  21. package/components/demo-displayer/index.d.ts +2 -0
  22. package/components/index.d.ts +13 -0
  23. package/components/kind-icon/index.d.ts +2 -0
  24. package/components/kind-icon/kind-icon.component.d.ts +7 -0
  25. package/components/kind-icon/kind-icon.module.d.ts +8 -0
  26. package/components/link/index.d.ts +2 -0
  27. package/components/link/link.component.d.ts +6 -0
  28. package/components/link/link.module.d.ts +9 -0
  29. package/components/navbar/index.d.ts +2 -0
  30. package/components/navbar/navbar.component.d.ts +18 -0
  31. package/components/navbar/navbar.module.d.ts +11 -0
  32. package/components/page/index.d.ts +2 -0
  33. package/components/page/page.component.d.ts +8 -0
  34. package/components/page/page.module.d.ts +12 -0
  35. package/components/page-map/index.d.ts +3 -0
  36. package/components/page-map/page-map-element/page-map-element.component.d.ts +11 -0
  37. package/components/page-map/page-map.component.d.ts +21 -0
  38. package/components/page-map/page-map.module.d.ts +11 -0
  39. package/components/playground/index.d.ts +2 -0
  40. package/components/playground/playground.component.d.ts +22 -0
  41. package/components/playground/playground.module.d.ts +12 -0
  42. package/components/playground-demo/demo/base-demo.component.d.ts +7 -0
  43. package/components/playground-demo/index.d.ts +2 -0
  44. package/components/playground-demo/playground-demo.component.d.ts +29 -0
  45. package/components/playground-demo/playground-demo.module.d.ts +9 -0
  46. package/components/playground-properties/index.d.ts +2 -0
  47. package/components/playground-properties/playground-properties.component.d.ts +16 -0
  48. package/components/playground-properties/playground-properties.module.d.ts +11 -0
  49. package/components/playground-property/index.d.ts +2 -0
  50. package/components/playground-property/playground-property.component.d.ts +22 -0
  51. package/components/playground-property/playground-property.module.d.ts +11 -0
  52. package/components/root/index.d.ts +2 -0
  53. package/components/root/root.component.d.ts +18 -0
  54. package/components/root/root.module.d.ts +9 -0
  55. package/components/search/index.d.ts +2 -0
  56. package/components/search/search.component.d.ts +16 -0
  57. package/components/search/search.module.d.ts +11 -0
  58. package/components/search-result/index.d.ts +2 -0
  59. package/components/search-result/search-result.component.d.ts +11 -0
  60. package/components/search-result/search-result.module.d.ts +11 -0
  61. package/components/sidebar/index.d.ts +2 -0
  62. package/components/sidebar/sidebar-category/sidebar-category.component.d.ts +21 -0
  63. package/components/sidebar/sidebar-item/sidebar-item.component.d.ts +7 -0
  64. package/components/sidebar/sidebar.component.d.ts +15 -0
  65. package/components/sidebar/sidebar.module.d.ts +14 -0
  66. package/constants/index.d.ts +2 -0
  67. package/constants/store-keys.d.ts +1 -0
  68. package/constants/themes.d.ts +2 -0
  69. package/directives/code-highlighter/code-highlighter.directive.d.ts +13 -0
  70. package/directives/code-highlighter/code-highlighter.module.d.ts +7 -0
  71. package/directives/code-highlighter/index.d.ts +2 -0
  72. package/directives/index.d.ts +2 -0
  73. package/directives/route-active/index.d.ts +2 -0
  74. package/directives/route-active/route-active.directive.d.ts +15 -0
  75. package/directives/route-active/route-active.module.d.ts +8 -0
  76. package/esm2020/classes/html-parser/html-parser.mjs +52 -0
  77. package/esm2020/classes/html-parser/index.mjs +2 -0
  78. package/esm2020/classes/html-parser/ng-doc-app-classes-html-parser.mjs +5 -0
  79. package/esm2020/classes/index.mjs +4 -0
  80. package/esm2020/classes/ng-doc-app-classes.mjs +5 -0
  81. package/esm2020/classes/root-page/index.mjs +2 -0
  82. package/esm2020/classes/root-page/ng-doc-app-classes-root-page.mjs +5 -0
  83. package/esm2020/classes/root-page/root-page.mjs +3 -0
  84. package/esm2020/classes/search-engine/index.mjs +2 -0
  85. package/esm2020/classes/search-engine/ng-doc-app-classes-search-engine.mjs +5 -0
  86. package/esm2020/classes/search-engine/search-engine.mjs +54 -0
  87. package/esm2020/components/api-list/api-list.component.mjs +73 -0
  88. package/esm2020/components/api-list/api-list.module.mjs +66 -0
  89. package/esm2020/components/api-list/index.mjs +3 -0
  90. package/esm2020/components/api-list/ng-doc-app-components-api-list.mjs +5 -0
  91. package/esm2020/components/code/code.component.mjs +46 -0
  92. package/esm2020/components/code/code.module.mjs +38 -0
  93. package/esm2020/components/code/index.mjs +3 -0
  94. package/esm2020/components/code/ng-doc-app-components-code.mjs +5 -0
  95. package/esm2020/components/demo/demo.component.mjs +40 -0
  96. package/esm2020/components/demo/demo.module.mjs +42 -0
  97. package/esm2020/components/demo/index.mjs +3 -0
  98. package/esm2020/components/demo/ng-doc-app-components-demo.mjs +5 -0
  99. package/esm2020/components/demo-displayer/demo-displayer.component.mjs +44 -0
  100. package/esm2020/components/demo-displayer/demo-displayer.module.mjs +41 -0
  101. package/esm2020/components/demo-displayer/index.mjs +3 -0
  102. package/esm2020/components/demo-displayer/ng-doc-app-components-demo-displayer.mjs +5 -0
  103. package/esm2020/components/index.mjs +14 -0
  104. package/esm2020/components/kind-icon/index.mjs +3 -0
  105. package/esm2020/components/kind-icon/kind-icon.component.mjs +25 -0
  106. package/esm2020/components/kind-icon/kind-icon.module.mjs +18 -0
  107. package/esm2020/components/kind-icon/ng-doc-app-components-kind-icon.mjs +5 -0
  108. package/esm2020/components/link/index.mjs +3 -0
  109. package/esm2020/components/link/link.component.mjs +17 -0
  110. package/esm2020/components/link/link.module.mjs +19 -0
  111. package/esm2020/components/link/ng-doc-app-components-link.mjs +5 -0
  112. package/esm2020/components/navbar/index.mjs +3 -0
  113. package/esm2020/components/navbar/navbar.component.mjs +65 -0
  114. package/esm2020/components/navbar/navbar.module.mjs +41 -0
  115. package/esm2020/components/navbar/ng-doc-app-components-navbar.mjs +5 -0
  116. package/esm2020/components/ng-doc-app-components.mjs +5 -0
  117. package/esm2020/components/page/index.mjs +3 -0
  118. package/esm2020/components/page/ng-doc-app-components-page.mjs +5 -0
  119. package/esm2020/components/page/page.component.mjs +20 -0
  120. package/esm2020/components/page/page.module.mjs +45 -0
  121. package/esm2020/components/page-map/index.mjs +4 -0
  122. package/esm2020/components/page-map/ng-doc-app-components-page-map.mjs +5 -0
  123. package/esm2020/components/page-map/page-map-element/page-map-element.component.mjs +29 -0
  124. package/esm2020/components/page-map/page-map.component.mjs +78 -0
  125. package/esm2020/components/page-map/page-map.module.mjs +21 -0
  126. package/esm2020/components/playground/index.mjs +3 -0
  127. package/esm2020/components/playground/ng-doc-app-components-playground.mjs +5 -0
  128. package/esm2020/components/playground/playground.component.mjs +60 -0
  129. package/esm2020/components/playground/playground.module.mjs +36 -0
  130. package/esm2020/components/playground-demo/demo/base-demo.component.mjs +3 -0
  131. package/esm2020/components/playground-demo/index.mjs +3 -0
  132. package/esm2020/components/playground-demo/ng-doc-app-components-playground-demo.mjs +5 -0
  133. package/esm2020/components/playground-demo/playground-demo.component.mjs +101 -0
  134. package/esm2020/components/playground-demo/playground-demo.module.mjs +19 -0
  135. package/esm2020/components/playground-properties/index.mjs +3 -0
  136. package/esm2020/components/playground-properties/ng-doc-app-components-playground-properties.mjs +5 -0
  137. package/esm2020/components/playground-properties/playground-properties.component.mjs +36 -0
  138. package/esm2020/components/playground-properties/playground-properties.module.mjs +50 -0
  139. package/esm2020/components/playground-property/index.mjs +3 -0
  140. package/esm2020/components/playground-property/ng-doc-app-components-playground-property.mjs +5 -0
  141. package/esm2020/components/playground-property/playground-property.component.mjs +88 -0
  142. package/esm2020/components/playground-property/playground-property.module.mjs +21 -0
  143. package/esm2020/components/root/index.mjs +3 -0
  144. package/esm2020/components/root/ng-doc-app-components-root.mjs +5 -0
  145. package/esm2020/components/root/root.component.mjs +71 -0
  146. package/esm2020/components/root/root.module.mjs +19 -0
  147. package/esm2020/components/search/index.mjs +3 -0
  148. package/esm2020/components/search/ng-doc-app-components-search.mjs +5 -0
  149. package/esm2020/components/search/search.component.mjs +46 -0
  150. package/esm2020/components/search/search.module.mjs +53 -0
  151. package/esm2020/components/search-result/index.mjs +3 -0
  152. package/esm2020/components/search-result/ng-doc-app-components-search-result.mjs +5 -0
  153. package/esm2020/components/search-result/search-result.component.mjs +42 -0
  154. package/esm2020/components/search-result/search-result.module.mjs +21 -0
  155. package/esm2020/components/sidebar/index.mjs +3 -0
  156. package/esm2020/components/sidebar/ng-doc-app-components-sidebar.mjs +5 -0
  157. package/esm2020/components/sidebar/sidebar-category/sidebar-category.component.mjs +72 -0
  158. package/esm2020/components/sidebar/sidebar-item/sidebar-item.component.mjs +15 -0
  159. package/esm2020/components/sidebar/sidebar.component.mjs +42 -0
  160. package/esm2020/components/sidebar/sidebar.module.mjs +53 -0
  161. package/esm2020/constants/index.mjs +3 -0
  162. package/esm2020/constants/ng-doc-app-constants.mjs +5 -0
  163. package/esm2020/constants/store-keys.mjs +2 -0
  164. package/esm2020/constants/themes.mjs +2 -0
  165. package/esm2020/directives/code-highlighter/code-highlighter.directive.mjs +61 -0
  166. package/esm2020/directives/code-highlighter/code-highlighter.module.mjs +16 -0
  167. package/esm2020/directives/code-highlighter/index.mjs +3 -0
  168. package/esm2020/directives/code-highlighter/ng-doc-app-directives-code-highlighter.mjs +5 -0
  169. package/esm2020/directives/index.mjs +3 -0
  170. package/esm2020/directives/ng-doc-app-directives.mjs +5 -0
  171. package/esm2020/directives/route-active/index.mjs +3 -0
  172. package/esm2020/directives/route-active/ng-doc-app-directives-route-active.mjs +5 -0
  173. package/esm2020/directives/route-active/route-active.directive.mjs +55 -0
  174. package/esm2020/directives/route-active/route-active.module.mjs +18 -0
  175. package/esm2020/helpers/as-boolean/as-boolean.mjs +11 -0
  176. package/esm2020/helpers/as-boolean/index.mjs +2 -0
  177. package/esm2020/helpers/as-boolean/ng-doc-app-helpers-as-boolean.mjs +5 -0
  178. package/esm2020/helpers/compile-template/compile-template.mjs +85 -0
  179. package/esm2020/helpers/compile-template/index.mjs +2 -0
  180. package/esm2020/helpers/compile-template/ng-doc-app-helpers-compile-template.mjs +5 -0
  181. package/esm2020/helpers/format-html/format-html.mjs +15 -0
  182. package/esm2020/helpers/format-html/index.mjs +2 -0
  183. package/esm2020/helpers/format-html/ng-doc-app-helpers-format-html.mjs +5 -0
  184. package/esm2020/helpers/generate-page-map/generate-page-map.mjs +38 -0
  185. package/esm2020/helpers/generate-page-map/index.mjs +2 -0
  186. package/esm2020/helpers/generate-page-map/ng-doc-app-helpers-generate-page-map.mjs +5 -0
  187. package/esm2020/helpers/index.mjs +8 -0
  188. package/esm2020/helpers/is-external-link/index.mjs +2 -0
  189. package/esm2020/helpers/is-external-link/is-external-link.mjs +10 -0
  190. package/esm2020/helpers/is-external-link/ng-doc-app-helpers-is-external-link.mjs +5 -0
  191. package/esm2020/helpers/is-playground-property/index.mjs +2 -0
  192. package/esm2020/helpers/is-playground-property/is-playground-property.mjs +9 -0
  193. package/esm2020/helpers/is-playground-property/ng-doc-app-helpers-is-playground-property.mjs +5 -0
  194. package/esm2020/helpers/ng-doc-app-helpers.mjs +5 -0
  195. package/esm2020/helpers/provide-type-control/index.mjs +2 -0
  196. package/esm2020/helpers/provide-type-control/ng-doc-app-helpers-provide-type-control.mjs +5 -0
  197. package/esm2020/helpers/provide-type-control/provide-type-control.mjs +28 -0
  198. package/esm2020/index.mjs +13 -0
  199. package/esm2020/interfaces/application-config.mjs +2 -0
  200. package/esm2020/interfaces/context.mjs +2 -0
  201. package/esm2020/interfaces/demo-assets.mjs +2 -0
  202. package/esm2020/interfaces/index.mjs +12 -0
  203. package/esm2020/interfaces/navigation.mjs +2 -0
  204. package/esm2020/interfaces/ng-doc-app-interfaces.mjs +5 -0
  205. package/esm2020/interfaces/page-map.mjs +2 -0
  206. package/esm2020/interfaces/playground-form.mjs +2 -0
  207. package/esm2020/interfaces/processor-options.mjs +2 -0
  208. package/esm2020/interfaces/provided-type-control.mjs +2 -0
  209. package/esm2020/interfaces/theme.mjs +2 -0
  210. package/esm2020/interfaces/type-control-provider-options.mjs +2 -0
  211. package/esm2020/interfaces/type-control.mjs +2 -0
  212. package/esm2020/modules/index.mjs +2 -0
  213. package/esm2020/modules/ng-doc-app-modules.mjs +5 -0
  214. package/esm2020/modules/root/index.mjs +2 -0
  215. package/esm2020/modules/root/ng-doc-app-modules-root.mjs +5 -0
  216. package/esm2020/modules/root/ng-doc.module.mjs +54 -0
  217. package/esm2020/ng-doc-app.mjs +5 -0
  218. package/esm2020/pipes/extract-value/extract-value.module.mjs +16 -0
  219. package/esm2020/pipes/extract-value/extract-value.pipe.mjs +17 -0
  220. package/esm2020/pipes/extract-value/index.mjs +3 -0
  221. package/esm2020/pipes/extract-value/ng-doc-app-pipes-extract-value.mjs +5 -0
  222. package/esm2020/pipes/filter-by-text/filter-by-text.module.mjs +16 -0
  223. package/esm2020/pipes/filter-by-text/filter-by-text.pipe.mjs +16 -0
  224. package/esm2020/pipes/filter-by-text/index.mjs +3 -0
  225. package/esm2020/pipes/filter-by-text/ng-doc-app-pipes-filter-by-text.mjs +5 -0
  226. package/esm2020/pipes/index.mjs +4 -0
  227. package/esm2020/pipes/ng-doc-app-pipes.mjs +5 -0
  228. package/esm2020/pipes/sanitize-html/index.mjs +3 -0
  229. package/esm2020/pipes/sanitize-html/ng-doc-app-pipes-sanitize-html.mjs +5 -0
  230. package/esm2020/pipes/sanitize-html/sanitize-html.module.mjs +16 -0
  231. package/esm2020/pipes/sanitize-html/sanitize-html.pipe.mjs +21 -0
  232. package/esm2020/processors/blockquote-processor/blockquote-processor.directive.mjs +28 -0
  233. package/esm2020/processors/blockquote-processor/blockquote-processor.module.mjs +18 -0
  234. package/esm2020/processors/blockquote-processor/index.mjs +3 -0
  235. package/esm2020/processors/blockquote-processor/ng-doc-app-processors-blockquote-processor.mjs +5 -0
  236. package/esm2020/processors/code-processor/code-processor.directive.mjs +32 -0
  237. package/esm2020/processors/code-processor/code-processor.module.mjs +18 -0
  238. package/esm2020/processors/code-processor/index.mjs +3 -0
  239. package/esm2020/processors/code-processor/ng-doc-app-processors-code-processor.mjs +5 -0
  240. package/esm2020/processors/demo-processor/demo-processor.directive.mjs +38 -0
  241. package/esm2020/processors/demo-processor/demo-processor.module.mjs +18 -0
  242. package/esm2020/processors/demo-processor/index.mjs +3 -0
  243. package/esm2020/processors/demo-processor/ng-doc-app-processors-demo-processor.mjs +5 -0
  244. package/esm2020/processors/html-processor/html-processor.directive.mjs +39 -0
  245. package/esm2020/processors/html-processor/index.mjs +2 -0
  246. package/esm2020/processors/html-processor/ng-doc-app-processors-html-processor.mjs +5 -0
  247. package/esm2020/processors/icon-processor/icon-processor.directive.mjs +28 -0
  248. package/esm2020/processors/icon-processor/icon-processor.module.mjs +16 -0
  249. package/esm2020/processors/icon-processor/index.mjs +3 -0
  250. package/esm2020/processors/icon-processor/ng-doc-app-processors-icon-processor.mjs +5 -0
  251. package/esm2020/processors/index.mjs +7 -0
  252. package/esm2020/processors/ng-doc-app-processors.mjs +5 -0
  253. package/esm2020/processors/playground-processor/index.mjs +3 -0
  254. package/esm2020/processors/playground-processor/ng-doc-app-processors-playground-processor.mjs +5 -0
  255. package/esm2020/processors/playground-processor/playground-processor.directive.mjs +31 -0
  256. package/esm2020/processors/playground-processor/playground-processor.module.mjs +18 -0
  257. package/esm2020/services/index.mjs +4 -0
  258. package/esm2020/services/ng-doc-app-services.mjs +5 -0
  259. package/esm2020/services/sidebar/index.mjs +2 -0
  260. package/esm2020/services/sidebar/ng-doc-app-services-sidebar.mjs +5 -0
  261. package/esm2020/services/sidebar/sidebar.service.mjs +54 -0
  262. package/esm2020/services/store/index.mjs +2 -0
  263. package/esm2020/services/store/ng-doc-app-services-store.mjs +5 -0
  264. package/esm2020/services/store/store.service.mjs +20 -0
  265. package/esm2020/services/theme/index.mjs +2 -0
  266. package/esm2020/services/theme/ng-doc-app-services-theme.mjs +5 -0
  267. package/esm2020/services/theme/theme.service.mjs +70 -0
  268. package/esm2020/tokens/api-list.mjs +3 -0
  269. package/esm2020/tokens/context.mjs +3 -0
  270. package/esm2020/tokens/index.mjs +5 -0
  271. package/esm2020/tokens/ng-doc-app-tokens.mjs +5 -0
  272. package/esm2020/tokens/theme.mjs +28 -0
  273. package/esm2020/tokens/type-control.mjs +3 -0
  274. package/esm2020/type-controls/boolean-control/boolean-control.component.mjs +19 -0
  275. package/esm2020/type-controls/boolean-control/boolean-control.module.mjs +21 -0
  276. package/esm2020/type-controls/boolean-control/index.mjs +3 -0
  277. package/esm2020/type-controls/boolean-control/ng-doc-app-type-controls-boolean-control.mjs +5 -0
  278. package/esm2020/type-controls/index.mjs +5 -0
  279. package/esm2020/type-controls/ng-doc-app-type-controls.mjs +5 -0
  280. package/esm2020/type-controls/number-control/index.mjs +3 -0
  281. package/esm2020/type-controls/number-control/ng-doc-app-type-controls-number-control.mjs +5 -0
  282. package/esm2020/type-controls/number-control/number-control.component.mjs +26 -0
  283. package/esm2020/type-controls/number-control/number-control.module.mjs +49 -0
  284. package/esm2020/type-controls/string-control/index.mjs +3 -0
  285. package/esm2020/type-controls/string-control/ng-doc-app-type-controls-string-control.mjs +5 -0
  286. package/esm2020/type-controls/string-control/string-control.component.mjs +26 -0
  287. package/esm2020/type-controls/string-control/string-control.module.mjs +53 -0
  288. package/esm2020/type-controls/type-alias-control/index.mjs +3 -0
  289. package/esm2020/type-controls/type-alias-control/ng-doc-app-type-controls-type-alias-control.mjs +5 -0
  290. package/esm2020/type-controls/type-alias-control/type-alias-control.component.mjs +30 -0
  291. package/esm2020/type-controls/type-alias-control/type-alias-control.module.mjs +62 -0
  292. package/esm2020/types/header-level.mjs +2 -0
  293. package/esm2020/types/index.mjs +3 -0
  294. package/esm2020/types/ng-doc-app-types.mjs +5 -0
  295. package/esm2020/types/typed-form.mjs +2 -0
  296. package/fesm2015/ng-doc-app-classes-html-parser.mjs +61 -0
  297. package/fesm2015/ng-doc-app-classes-html-parser.mjs.map +1 -0
  298. package/fesm2015/ng-doc-app-classes-root-page.mjs +9 -0
  299. package/fesm2015/ng-doc-app-classes-root-page.mjs.map +1 -0
  300. package/fesm2015/ng-doc-app-classes-search-engine.mjs +61 -0
  301. package/fesm2015/ng-doc-app-classes-search-engine.mjs.map +1 -0
  302. package/fesm2015/ng-doc-app-classes.mjs +8 -0
  303. package/fesm2015/ng-doc-app-classes.mjs.map +1 -0
  304. package/fesm2015/ng-doc-app-components-api-list.mjs +142 -0
  305. package/fesm2015/ng-doc-app-components-api-list.mjs.map +1 -0
  306. package/fesm2015/ng-doc-app-components-code.mjs +87 -0
  307. package/fesm2015/ng-doc-app-components-code.mjs.map +1 -0
  308. package/fesm2015/ng-doc-app-components-demo-displayer.mjs +87 -0
  309. package/fesm2015/ng-doc-app-components-demo-displayer.mjs.map +1 -0
  310. package/fesm2015/ng-doc-app-components-demo.mjs +85 -0
  311. package/fesm2015/ng-doc-app-components-demo.mjs.map +1 -0
  312. package/fesm2015/ng-doc-app-components-kind-icon.mjs +47 -0
  313. package/fesm2015/ng-doc-app-components-kind-icon.mjs.map +1 -0
  314. package/fesm2015/ng-doc-app-components-link.mjs +40 -0
  315. package/fesm2015/ng-doc-app-components-link.mjs.map +1 -0
  316. package/fesm2015/ng-doc-app-components-navbar.mjs +110 -0
  317. package/fesm2015/ng-doc-app-components-navbar.mjs.map +1 -0
  318. package/fesm2015/ng-doc-app-components-page-map.mjs +127 -0
  319. package/fesm2015/ng-doc-app-components-page-map.mjs.map +1 -0
  320. package/fesm2015/ng-doc-app-components-page.mjs +68 -0
  321. package/fesm2015/ng-doc-app-components-page.mjs.map +1 -0
  322. package/fesm2015/ng-doc-app-components-playground-demo.mjs +123 -0
  323. package/fesm2015/ng-doc-app-components-playground-demo.mjs.map +1 -0
  324. package/fesm2015/ng-doc-app-components-playground-properties.mjs +90 -0
  325. package/fesm2015/ng-doc-app-components-playground-properties.mjs.map +1 -0
  326. package/fesm2015/ng-doc-app-components-playground-property.mjs +113 -0
  327. package/fesm2015/ng-doc-app-components-playground-property.mjs.map +1 -0
  328. package/fesm2015/ng-doc-app-components-playground.mjs +103 -0
  329. package/fesm2015/ng-doc-app-components-playground.mjs.map +1 -0
  330. package/fesm2015/ng-doc-app-components-root.mjs +94 -0
  331. package/fesm2015/ng-doc-app-components-root.mjs.map +1 -0
  332. package/fesm2015/ng-doc-app-components-search-result.mjs +67 -0
  333. package/fesm2015/ng-doc-app-components-search-result.mjs.map +1 -0
  334. package/fesm2015/ng-doc-app-components-search.mjs +102 -0
  335. package/fesm2015/ng-doc-app-components-search.mjs.map +1 -0
  336. package/fesm2015/ng-doc-app-components-sidebar.mjs +178 -0
  337. package/fesm2015/ng-doc-app-components-sidebar.mjs.map +1 -0
  338. package/fesm2015/ng-doc-app-components.mjs +18 -0
  339. package/fesm2015/ng-doc-app-components.mjs.map +1 -0
  340. package/fesm2015/ng-doc-app-constants.mjs +10 -0
  341. package/fesm2015/ng-doc-app-constants.mjs.map +1 -0
  342. package/fesm2015/ng-doc-app-directives-code-highlighter.mjs +82 -0
  343. package/fesm2015/ng-doc-app-directives-code-highlighter.mjs.map +1 -0
  344. package/fesm2015/ng-doc-app-directives-route-active.mjs +76 -0
  345. package/fesm2015/ng-doc-app-directives-route-active.mjs.map +1 -0
  346. package/fesm2015/ng-doc-app-directives.mjs +7 -0
  347. package/fesm2015/ng-doc-app-directives.mjs.map +1 -0
  348. package/fesm2015/ng-doc-app-helpers-as-boolean.mjs +17 -0
  349. package/fesm2015/ng-doc-app-helpers-as-boolean.mjs.map +1 -0
  350. package/fesm2015/ng-doc-app-helpers-compile-template.mjs +93 -0
  351. package/fesm2015/ng-doc-app-helpers-compile-template.mjs.map +1 -0
  352. package/fesm2015/ng-doc-app-helpers-format-html.mjs +22 -0
  353. package/fesm2015/ng-doc-app-helpers-format-html.mjs.map +1 -0
  354. package/fesm2015/ng-doc-app-helpers-generate-page-map.mjs +45 -0
  355. package/fesm2015/ng-doc-app-helpers-generate-page-map.mjs.map +1 -0
  356. package/fesm2015/ng-doc-app-helpers-is-external-link.mjs +16 -0
  357. package/fesm2015/ng-doc-app-helpers-is-external-link.mjs.map +1 -0
  358. package/fesm2015/ng-doc-app-helpers-is-playground-property.mjs +16 -0
  359. package/fesm2015/ng-doc-app-helpers-is-playground-property.mjs.map +1 -0
  360. package/fesm2015/ng-doc-app-helpers-provide-type-control.mjs +35 -0
  361. package/fesm2015/ng-doc-app-helpers-provide-type-control.mjs.map +1 -0
  362. package/fesm2015/ng-doc-app-helpers.mjs +12 -0
  363. package/fesm2015/ng-doc-app-helpers.mjs.map +1 -0
  364. package/fesm2015/ng-doc-app-interfaces.mjs +4 -0
  365. package/fesm2015/ng-doc-app-interfaces.mjs.map +1 -0
  366. package/fesm2015/ng-doc-app-modules-root.mjs +61 -0
  367. package/fesm2015/ng-doc-app-modules-root.mjs.map +1 -0
  368. package/fesm2015/ng-doc-app-modules.mjs +6 -0
  369. package/fesm2015/ng-doc-app-modules.mjs.map +1 -0
  370. package/fesm2015/ng-doc-app-pipes-extract-value.mjs +37 -0
  371. package/fesm2015/ng-doc-app-pipes-extract-value.mjs.map +1 -0
  372. package/fesm2015/ng-doc-app-pipes-filter-by-text.mjs +37 -0
  373. package/fesm2015/ng-doc-app-pipes-filter-by-text.mjs.map +1 -0
  374. package/fesm2015/ng-doc-app-pipes-sanitize-html.mjs +40 -0
  375. package/fesm2015/ng-doc-app-pipes-sanitize-html.mjs.map +1 -0
  376. package/fesm2015/ng-doc-app-pipes.mjs +8 -0
  377. package/fesm2015/ng-doc-app-pipes.mjs.map +1 -0
  378. package/fesm2015/ng-doc-app-processors-blockquote-processor.mjs +49 -0
  379. package/fesm2015/ng-doc-app-processors-blockquote-processor.mjs.map +1 -0
  380. package/fesm2015/ng-doc-app-processors-code-processor.mjs +55 -0
  381. package/fesm2015/ng-doc-app-processors-code-processor.mjs.map +1 -0
  382. package/fesm2015/ng-doc-app-processors-demo-processor.mjs +58 -0
  383. package/fesm2015/ng-doc-app-processors-demo-processor.mjs.map +1 -0
  384. package/fesm2015/ng-doc-app-processors-html-processor.mjs +47 -0
  385. package/fesm2015/ng-doc-app-processors-html-processor.mjs.map +1 -0
  386. package/fesm2015/ng-doc-app-processors-icon-processor.mjs +49 -0
  387. package/fesm2015/ng-doc-app-processors-icon-processor.mjs.map +1 -0
  388. package/fesm2015/ng-doc-app-processors-playground-processor.mjs +53 -0
  389. package/fesm2015/ng-doc-app-processors-playground-processor.mjs.map +1 -0
  390. package/fesm2015/ng-doc-app-processors.mjs +11 -0
  391. package/fesm2015/ng-doc-app-processors.mjs.map +1 -0
  392. package/fesm2015/ng-doc-app-services-sidebar.mjs +60 -0
  393. package/fesm2015/ng-doc-app-services-sidebar.mjs.map +1 -0
  394. package/fesm2015/ng-doc-app-services-store.mjs +27 -0
  395. package/fesm2015/ng-doc-app-services-store.mjs.map +1 -0
  396. package/fesm2015/ng-doc-app-services-theme.mjs +79 -0
  397. package/fesm2015/ng-doc-app-services-theme.mjs.map +1 -0
  398. package/fesm2015/ng-doc-app-services.mjs +8 -0
  399. package/fesm2015/ng-doc-app-services.mjs.map +1 -0
  400. package/fesm2015/ng-doc-app-tokens.mjs +41 -0
  401. package/fesm2015/ng-doc-app-tokens.mjs.map +1 -0
  402. package/fesm2015/ng-doc-app-type-controls-boolean-control.mjs +44 -0
  403. package/fesm2015/ng-doc-app-type-controls-boolean-control.mjs.map +1 -0
  404. package/fesm2015/ng-doc-app-type-controls-number-control.mjs +78 -0
  405. package/fesm2015/ng-doc-app-type-controls-number-control.mjs.map +1 -0
  406. package/fesm2015/ng-doc-app-type-controls-string-control.mjs +82 -0
  407. package/fesm2015/ng-doc-app-type-controls-string-control.mjs.map +1 -0
  408. package/fesm2015/ng-doc-app-type-controls-type-alias-control.mjs +96 -0
  409. package/fesm2015/ng-doc-app-type-controls-type-alias-control.mjs.map +1 -0
  410. package/fesm2015/ng-doc-app-type-controls.mjs +9 -0
  411. package/fesm2015/ng-doc-app-type-controls.mjs.map +1 -0
  412. package/fesm2015/ng-doc-app-types.mjs +4 -0
  413. package/fesm2015/ng-doc-app-types.mjs.map +1 -0
  414. package/fesm2015/ng-doc-app.mjs +17 -0
  415. package/fesm2015/ng-doc-app.mjs.map +1 -0
  416. package/fesm2020/ng-doc-app-classes-html-parser.mjs +59 -0
  417. package/fesm2020/ng-doc-app-classes-html-parser.mjs.map +1 -0
  418. package/fesm2020/ng-doc-app-classes-root-page.mjs +9 -0
  419. package/fesm2020/ng-doc-app-classes-root-page.mjs.map +1 -0
  420. package/fesm2020/ng-doc-app-classes-search-engine.mjs +61 -0
  421. package/fesm2020/ng-doc-app-classes-search-engine.mjs.map +1 -0
  422. package/fesm2020/ng-doc-app-classes.mjs +8 -0
  423. package/fesm2020/ng-doc-app-classes.mjs.map +1 -0
  424. package/fesm2020/ng-doc-app-components-api-list.mjs +140 -0
  425. package/fesm2020/ng-doc-app-components-api-list.mjs.map +1 -0
  426. package/fesm2020/ng-doc-app-components-code.mjs +86 -0
  427. package/fesm2020/ng-doc-app-components-code.mjs.map +1 -0
  428. package/fesm2020/ng-doc-app-components-demo-displayer.mjs +87 -0
  429. package/fesm2020/ng-doc-app-components-demo-displayer.mjs.map +1 -0
  430. package/fesm2020/ng-doc-app-components-demo.mjs +84 -0
  431. package/fesm2020/ng-doc-app-components-demo.mjs.map +1 -0
  432. package/fesm2020/ng-doc-app-components-kind-icon.mjs +47 -0
  433. package/fesm2020/ng-doc-app-components-kind-icon.mjs.map +1 -0
  434. package/fesm2020/ng-doc-app-components-link.mjs +40 -0
  435. package/fesm2020/ng-doc-app-components-link.mjs.map +1 -0
  436. package/fesm2020/ng-doc-app-components-navbar.mjs +108 -0
  437. package/fesm2020/ng-doc-app-components-navbar.mjs.map +1 -0
  438. package/fesm2020/ng-doc-app-components-page-map.mjs +124 -0
  439. package/fesm2020/ng-doc-app-components-page-map.mjs.map +1 -0
  440. package/fesm2020/ng-doc-app-components-page.mjs +68 -0
  441. package/fesm2020/ng-doc-app-components-page.mjs.map +1 -0
  442. package/fesm2020/ng-doc-app-components-playground-demo.mjs +123 -0
  443. package/fesm2020/ng-doc-app-components-playground-demo.mjs.map +1 -0
  444. package/fesm2020/ng-doc-app-components-playground-properties.mjs +89 -0
  445. package/fesm2020/ng-doc-app-components-playground-properties.mjs.map +1 -0
  446. package/fesm2020/ng-doc-app-components-playground-property.mjs +112 -0
  447. package/fesm2020/ng-doc-app-components-playground-property.mjs.map +1 -0
  448. package/fesm2020/ng-doc-app-components-playground.mjs +98 -0
  449. package/fesm2020/ng-doc-app-components-playground.mjs.map +1 -0
  450. package/fesm2020/ng-doc-app-components-root.mjs +91 -0
  451. package/fesm2020/ng-doc-app-components-root.mjs.map +1 -0
  452. package/fesm2020/ng-doc-app-components-search-result.mjs +67 -0
  453. package/fesm2020/ng-doc-app-components-search-result.mjs.map +1 -0
  454. package/fesm2020/ng-doc-app-components-search.mjs +102 -0
  455. package/fesm2020/ng-doc-app-components-search.mjs.map +1 -0
  456. package/fesm2020/ng-doc-app-components-sidebar.mjs +173 -0
  457. package/fesm2020/ng-doc-app-components-sidebar.mjs.map +1 -0
  458. package/fesm2020/ng-doc-app-components.mjs +18 -0
  459. package/fesm2020/ng-doc-app-components.mjs.map +1 -0
  460. package/fesm2020/ng-doc-app-constants.mjs +10 -0
  461. package/fesm2020/ng-doc-app-constants.mjs.map +1 -0
  462. package/fesm2020/ng-doc-app-directives-code-highlighter.mjs +81 -0
  463. package/fesm2020/ng-doc-app-directives-code-highlighter.mjs.map +1 -0
  464. package/fesm2020/ng-doc-app-directives-route-active.mjs +76 -0
  465. package/fesm2020/ng-doc-app-directives-route-active.mjs.map +1 -0
  466. package/fesm2020/ng-doc-app-directives.mjs +7 -0
  467. package/fesm2020/ng-doc-app-directives.mjs.map +1 -0
  468. package/fesm2020/ng-doc-app-helpers-as-boolean.mjs +17 -0
  469. package/fesm2020/ng-doc-app-helpers-as-boolean.mjs.map +1 -0
  470. package/fesm2020/ng-doc-app-helpers-compile-template.mjs +92 -0
  471. package/fesm2020/ng-doc-app-helpers-compile-template.mjs.map +1 -0
  472. package/fesm2020/ng-doc-app-helpers-format-html.mjs +22 -0
  473. package/fesm2020/ng-doc-app-helpers-format-html.mjs.map +1 -0
  474. package/fesm2020/ng-doc-app-helpers-generate-page-map.mjs +44 -0
  475. package/fesm2020/ng-doc-app-helpers-generate-page-map.mjs.map +1 -0
  476. package/fesm2020/ng-doc-app-helpers-is-external-link.mjs +16 -0
  477. package/fesm2020/ng-doc-app-helpers-is-external-link.mjs.map +1 -0
  478. package/fesm2020/ng-doc-app-helpers-is-playground-property.mjs +16 -0
  479. package/fesm2020/ng-doc-app-helpers-is-playground-property.mjs.map +1 -0
  480. package/fesm2020/ng-doc-app-helpers-provide-type-control.mjs +35 -0
  481. package/fesm2020/ng-doc-app-helpers-provide-type-control.mjs.map +1 -0
  482. package/fesm2020/ng-doc-app-helpers.mjs +12 -0
  483. package/fesm2020/ng-doc-app-helpers.mjs.map +1 -0
  484. package/fesm2020/ng-doc-app-interfaces.mjs +4 -0
  485. package/fesm2020/ng-doc-app-interfaces.mjs.map +1 -0
  486. package/fesm2020/ng-doc-app-modules-root.mjs +61 -0
  487. package/fesm2020/ng-doc-app-modules-root.mjs.map +1 -0
  488. package/fesm2020/ng-doc-app-modules.mjs +6 -0
  489. package/fesm2020/ng-doc-app-modules.mjs.map +1 -0
  490. package/fesm2020/ng-doc-app-pipes-extract-value.mjs +37 -0
  491. package/fesm2020/ng-doc-app-pipes-extract-value.mjs.map +1 -0
  492. package/fesm2020/ng-doc-app-pipes-filter-by-text.mjs +36 -0
  493. package/fesm2020/ng-doc-app-pipes-filter-by-text.mjs.map +1 -0
  494. package/fesm2020/ng-doc-app-pipes-sanitize-html.mjs +40 -0
  495. package/fesm2020/ng-doc-app-pipes-sanitize-html.mjs.map +1 -0
  496. package/fesm2020/ng-doc-app-pipes.mjs +8 -0
  497. package/fesm2020/ng-doc-app-pipes.mjs.map +1 -0
  498. package/fesm2020/ng-doc-app-processors-blockquote-processor.mjs +49 -0
  499. package/fesm2020/ng-doc-app-processors-blockquote-processor.mjs.map +1 -0
  500. package/fesm2020/ng-doc-app-processors-code-processor.mjs +53 -0
  501. package/fesm2020/ng-doc-app-processors-code-processor.mjs.map +1 -0
  502. package/fesm2020/ng-doc-app-processors-demo-processor.mjs +58 -0
  503. package/fesm2020/ng-doc-app-processors-demo-processor.mjs.map +1 -0
  504. package/fesm2020/ng-doc-app-processors-html-processor.mjs +46 -0
  505. package/fesm2020/ng-doc-app-processors-html-processor.mjs.map +1 -0
  506. package/fesm2020/ng-doc-app-processors-icon-processor.mjs +48 -0
  507. package/fesm2020/ng-doc-app-processors-icon-processor.mjs.map +1 -0
  508. package/fesm2020/ng-doc-app-processors-playground-processor.mjs +52 -0
  509. package/fesm2020/ng-doc-app-processors-playground-processor.mjs.map +1 -0
  510. package/fesm2020/ng-doc-app-processors.mjs +11 -0
  511. package/fesm2020/ng-doc-app-processors.mjs.map +1 -0
  512. package/fesm2020/ng-doc-app-services-sidebar.mjs +60 -0
  513. package/fesm2020/ng-doc-app-services-sidebar.mjs.map +1 -0
  514. package/fesm2020/ng-doc-app-services-store.mjs +27 -0
  515. package/fesm2020/ng-doc-app-services-store.mjs.map +1 -0
  516. package/fesm2020/ng-doc-app-services-theme.mjs +76 -0
  517. package/fesm2020/ng-doc-app-services-theme.mjs.map +1 -0
  518. package/fesm2020/ng-doc-app-services.mjs +8 -0
  519. package/fesm2020/ng-doc-app-services.mjs.map +1 -0
  520. package/fesm2020/ng-doc-app-tokens.mjs +41 -0
  521. package/fesm2020/ng-doc-app-tokens.mjs.map +1 -0
  522. package/fesm2020/ng-doc-app-type-controls-boolean-control.mjs +44 -0
  523. package/fesm2020/ng-doc-app-type-controls-boolean-control.mjs.map +1 -0
  524. package/fesm2020/ng-doc-app-type-controls-number-control.mjs +78 -0
  525. package/fesm2020/ng-doc-app-type-controls-number-control.mjs.map +1 -0
  526. package/fesm2020/ng-doc-app-type-controls-string-control.mjs +82 -0
  527. package/fesm2020/ng-doc-app-type-controls-string-control.mjs.map +1 -0
  528. package/fesm2020/ng-doc-app-type-controls-type-alias-control.mjs +96 -0
  529. package/fesm2020/ng-doc-app-type-controls-type-alias-control.mjs.map +1 -0
  530. package/fesm2020/ng-doc-app-type-controls.mjs +9 -0
  531. package/fesm2020/ng-doc-app-type-controls.mjs.map +1 -0
  532. package/fesm2020/ng-doc-app-types.mjs +4 -0
  533. package/fesm2020/ng-doc-app-types.mjs.map +1 -0
  534. package/fesm2020/ng-doc-app.mjs +17 -0
  535. package/fesm2020/ng-doc-app.mjs.map +1 -0
  536. package/helpers/as-boolean/as-boolean.d.ts +5 -0
  537. package/helpers/as-boolean/index.d.ts +1 -0
  538. package/helpers/compile-template/compile-template.d.ts +12 -0
  539. package/helpers/compile-template/index.d.ts +1 -0
  540. package/helpers/format-html/format-html.d.ts +5 -0
  541. package/helpers/format-html/index.d.ts +1 -0
  542. package/helpers/generate-page-map/generate-page-map.d.ts +7 -0
  543. package/helpers/generate-page-map/index.d.ts +1 -0
  544. package/helpers/index.d.ts +7 -0
  545. package/helpers/is-external-link/index.d.ts +1 -0
  546. package/helpers/is-external-link/is-external-link.d.ts +5 -0
  547. package/helpers/is-playground-property/index.d.ts +1 -0
  548. package/helpers/is-playground-property/is-playground-property.d.ts +6 -0
  549. package/helpers/provide-type-control/index.d.ts +1 -0
  550. package/helpers/provide-type-control/provide-type-control.d.ts +16 -0
  551. package/index.d.ts +12 -0
  552. package/interfaces/application-config.d.ts +5 -0
  553. package/interfaces/context.d.ts +4 -0
  554. package/interfaces/demo-assets.d.ts +9 -0
  555. package/interfaces/index.d.ts +11 -0
  556. package/interfaces/navigation.d.ts +14 -0
  557. package/interfaces/page-map.d.ts +6 -0
  558. package/interfaces/playground-form.d.ts +5 -0
  559. package/interfaces/processor-options.d.ts +4 -0
  560. package/interfaces/provided-type-control.d.ts +7 -0
  561. package/interfaces/theme.d.ts +13 -0
  562. package/interfaces/type-control-provider-options.d.ts +3 -0
  563. package/interfaces/type-control.d.ts +22 -0
  564. package/modules/index.d.ts +1 -0
  565. package/modules/root/index.d.ts +1 -0
  566. package/modules/root/ng-doc.module.d.ts +13 -0
  567. package/package.json +1 -0
  568. package/pipes/extract-value/extract-value.module.d.ts +7 -0
  569. package/pipes/extract-value/extract-value.pipe.d.ts +8 -0
  570. package/pipes/extract-value/index.d.ts +2 -0
  571. package/pipes/filter-by-text/filter-by-text.module.d.ts +7 -0
  572. package/pipes/filter-by-text/filter-by-text.pipe.d.ts +7 -0
  573. package/pipes/filter-by-text/index.d.ts +2 -0
  574. package/pipes/index.d.ts +3 -0
  575. package/pipes/sanitize-html/index.d.ts +2 -0
  576. package/pipes/sanitize-html/sanitize-html.module.d.ts +7 -0
  577. package/pipes/sanitize-html/sanitize-html.pipe.d.ts +10 -0
  578. package/processors/blockquote-processor/blockquote-processor.directive.d.ts +13 -0
  579. package/processors/blockquote-processor/blockquote-processor.module.d.ts +8 -0
  580. package/processors/blockquote-processor/index.d.ts +2 -0
  581. package/processors/code-processor/code-processor.directive.d.ts +14 -0
  582. package/processors/code-processor/code-processor.module.d.ts +8 -0
  583. package/processors/code-processor/index.d.ts +2 -0
  584. package/processors/demo-processor/demo-processor.directive.d.ts +14 -0
  585. package/processors/demo-processor/demo-processor.module.d.ts +8 -0
  586. package/processors/demo-processor/index.d.ts +2 -0
  587. package/processors/html-processor/html-processor.directive.d.ts +19 -0
  588. package/processors/html-processor/index.d.ts +1 -0
  589. package/processors/icon-processor/icon-processor.directive.d.ts +13 -0
  590. package/processors/icon-processor/icon-processor.module.d.ts +7 -0
  591. package/processors/icon-processor/index.d.ts +2 -0
  592. package/processors/index.d.ts +6 -0
  593. package/processors/playground-processor/index.d.ts +2 -0
  594. package/processors/playground-processor/playground-processor.directive.d.ts +13 -0
  595. package/processors/playground-processor/playground-processor.module.d.ts +8 -0
  596. package/schematics/collection.json +9 -0
  597. package/schematics/index.d.ts +0 -0
  598. package/schematics/index.js +2 -0
  599. package/schematics/index.js.map +1 -0
  600. package/schematics/ng-add/constants/app-component-content.d.ts +1 -0
  601. package/schematics/ng-add/constants/app-component-content.js +15 -0
  602. package/schematics/ng-add/constants/app-component-content.js.map +1 -0
  603. package/schematics/ng-add/constants/assets.d.ts +5 -0
  604. package/schematics/ng-add/constants/assets.js +21 -0
  605. package/schematics/ng-add/constants/assets.js.map +1 -0
  606. package/schematics/ng-add/constants/modules.d.ts +9 -0
  607. package/schematics/ng-add/constants/modules.js +32 -0
  608. package/schematics/ng-add/constants/modules.js.map +1 -0
  609. package/schematics/ng-add/constants/styles.d.ts +1 -0
  610. package/schematics/ng-add/constants/styles.js +9 -0
  611. package/schematics/ng-add/constants/styles.js.map +1 -0
  612. package/schematics/ng-add/constants/version.d.ts +1 -0
  613. package/schematics/ng-add/constants/version.js +6 -0
  614. package/schematics/ng-add/constants/version.js.map +1 -0
  615. package/schematics/ng-add/index.d.ts +7 -0
  616. package/schematics/ng-add/index.js +34 -0
  617. package/schematics/ng-add/index.js.map +1 -0
  618. package/schematics/ng-add/schema.d.ts +3 -0
  619. package/schematics/ng-add/schema.js +3 -0
  620. package/schematics/ng-add/schema.js.map +1 -0
  621. package/schematics/ng-add/steps/add-assets.d.ts +8 -0
  622. package/schematics/ng-add/steps/add-assets.js +31 -0
  623. package/schematics/ng-add/steps/add-assets.js.map +1 -0
  624. package/schematics/ng-add/steps/add-layout.d.ts +7 -0
  625. package/schematics/ng-add/steps/add-layout.js +47 -0
  626. package/schematics/ng-add/steps/add-layout.js.map +1 -0
  627. package/schematics/ng-add/steps/add-ng-doc-modules.d.ts +7 -0
  628. package/schematics/ng-add/steps/add-ng-doc-modules.js +53 -0
  629. package/schematics/ng-add/steps/add-ng-doc-modules.js.map +1 -0
  630. package/schematics/ng-add/steps/add-styles.d.ts +8 -0
  631. package/schematics/ng-add/steps/add-styles.js +31 -0
  632. package/schematics/ng-add/steps/add-styles.js.map +1 -0
  633. package/schematics/ng-add/steps/replace-builders.d.ts +8 -0
  634. package/schematics/ng-add/steps/replace-builders.js +36 -0
  635. package/schematics/ng-add/steps/replace-builders.js.map +1 -0
  636. package/schematics/ng-add/testing/ng-add.spec.d.ts +1 -0
  637. package/schematics/ng-add/testing/ng-add.spec.js +156 -0
  638. package/schematics/ng-add/testing/ng-add.spec.js.map +1 -0
  639. package/schematics/ng-add/utils/add-unique-import.d.ts +7 -0
  640. package/schematics/ng-add/utils/add-unique-import.js +37 -0
  641. package/schematics/ng-add/utils/add-unique-import.js.map +1 -0
  642. package/schematics/ng-add/utils/create-angular-json.d.ts +4 -0
  643. package/schematics/ng-add/utils/create-angular-json.js +36 -0
  644. package/schematics/ng-add/utils/create-angular-json.js.map +1 -0
  645. package/schematics/ng-add/utils/get-app-template-path.d.ts +12 -0
  646. package/schematics/ng-add/utils/get-app-template-path.js +35 -0
  647. package/schematics/ng-add/utils/get-app-template-path.js.map +1 -0
  648. package/schematics/ng-add/utils/get-initializer.d.ts +8 -0
  649. package/schematics/ng-add/utils/get-initializer.js +27 -0
  650. package/schematics/ng-add/utils/get-initializer.js.map +1 -0
  651. package/schematics/ng-add/utils/get-project.d.ts +8 -0
  652. package/schematics/ng-add/utils/get-project.js +16 -0
  653. package/schematics/ng-add/utils/get-project.js.map +1 -0
  654. package/services/index.d.ts +3 -0
  655. package/services/sidebar/index.d.ts +1 -0
  656. package/services/sidebar/sidebar.service.d.ts +20 -0
  657. package/services/store/index.d.ts +1 -0
  658. package/services/store/store.service.d.ts +9 -0
  659. package/services/theme/index.d.ts +1 -0
  660. package/services/theme/theme.service.d.ts +17 -0
  661. package/styles/global.css +1000 -0
  662. package/styles/main.css +950 -0
  663. package/tokens/api-list.d.ts +3 -0
  664. package/tokens/context.d.ts +3 -0
  665. package/tokens/index.d.ts +4 -0
  666. package/tokens/theme.d.ts +28 -0
  667. package/tokens/type-control.d.ts +3 -0
  668. package/type-controls/boolean-control/boolean-control.component.d.ts +10 -0
  669. package/type-controls/boolean-control/boolean-control.module.d.ts +9 -0
  670. package/type-controls/boolean-control/index.d.ts +2 -0
  671. package/type-controls/index.d.ts +4 -0
  672. package/type-controls/number-control/index.d.ts +2 -0
  673. package/type-controls/number-control/number-control.component.d.ts +11 -0
  674. package/type-controls/number-control/number-control.module.d.ts +11 -0
  675. package/type-controls/string-control/index.d.ts +2 -0
  676. package/type-controls/string-control/string-control.component.d.ts +11 -0
  677. package/type-controls/string-control/string-control.module.d.ts +12 -0
  678. package/type-controls/type-alias-control/index.d.ts +2 -0
  679. package/type-controls/type-alias-control/type-alias-control.component.d.ts +13 -0
  680. package/type-controls/type-alias-control/type-alias-control.module.d.ts +12 -0
  681. package/types/header-level.d.ts +4 -0
  682. package/types/index.d.ts +2 -0
  683. package/types/typed-form.d.ts +4 -0
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NG_DOC_ASSETS = void 0;
4
+ exports.NG_DOC_ASSETS = [
5
+ {
6
+ "glob": "**/*",
7
+ "input": "./node_modules/@ng-doc/ui-kit/assets",
8
+ "output": "assets"
9
+ },
10
+ {
11
+ "glob": "**/*",
12
+ "input": "./node_modules/@ng-doc/app/assets",
13
+ "output": "assets"
14
+ },
15
+ {
16
+ "glob": "**/*",
17
+ "input": "./node_modules/@ng-doc/builder/generated/assets",
18
+ "output": "assets"
19
+ }
20
+ ];
21
+ //# sourceMappingURL=assets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assets.js","sourceRoot":"","sources":["../../../../../../libs/app/schematics/ng-add/constants/assets.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAA2D;IACpF;QACC,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,sCAAsC;QAC/C,QAAQ,EAAE,QAAQ;KAClB;IACD;QACC,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,mCAAmC;QAC5C,QAAQ,EAAE,QAAQ;KAClB;IACD;QACC,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,iDAAiD;QAC1D,QAAQ,EAAE,QAAQ;KAClB;CACD,CAAA"}
@@ -0,0 +1,9 @@
1
+ export interface ImportModule {
2
+ initializer: string;
3
+ imports: EntityImport[];
4
+ }
5
+ export interface EntityImport {
6
+ name: string;
7
+ path: string;
8
+ }
9
+ export declare const MAIN_MODULES: readonly ImportModule[];
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MAIN_MODULES = void 0;
4
+ exports.MAIN_MODULES = [
5
+ {
6
+ initializer: 'BrowserAnimationsModule',
7
+ imports: [{ name: 'BrowserAnimationsModule', path: '@angular/platform-browser/animations' }],
8
+ },
9
+ {
10
+ initializer: 'RouterModule.forRoot(NG_DOC_ROUTING)',
11
+ imports: [
12
+ { name: 'RouterModule', path: '@angular/router' },
13
+ {
14
+ name: 'NG_DOC_ROUTING',
15
+ path: '@ng-doc/builder/generated',
16
+ },
17
+ ],
18
+ },
19
+ {
20
+ initializer: 'NgDocModule.forRoot()',
21
+ imports: [{ name: 'NgDocModule', path: '@ng-doc/app' }],
22
+ },
23
+ {
24
+ initializer: 'NgDocUiKitRootModule.forRoot()',
25
+ imports: [{ name: 'NgDocUiKitRootModule', path: '@ng-doc/ui-kit' }],
26
+ },
27
+ {
28
+ initializer: 'NgDocGeneratedModule.forRoot()',
29
+ imports: [{ name: 'NgDocGeneratedModule', path: '@ng-doc/builder/generated' }],
30
+ },
31
+ ];
32
+ //# sourceMappingURL=modules.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modules.js","sourceRoot":"","sources":["../../../../../../libs/app/schematics/ng-add/constants/modules.ts"],"names":[],"mappings":";;;AAUa,QAAA,YAAY,GAA4B;IACpD;QACC,WAAW,EAAE,yBAAyB;QACtC,OAAO,EAAE,CAAC,EAAC,IAAI,EAAE,yBAAyB,EAAE,IAAI,EAAE,sCAAsC,EAAC,CAAC;KAC1F;IACD;QACC,WAAW,EAAE,sCAAsC;QACnD,OAAO,EAAE;YACR,EAAC,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,iBAAiB,EAAC;YAC/C;gBACC,IAAI,EAAE,gBAAgB;gBACtB,IAAI,EAAE,2BAA2B;aACjC;SACD;KACD;IACD;QACC,WAAW,EAAE,uBAAuB;QACpC,OAAO,EAAE,CAAC,EAAC,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,aAAa,EAAC,CAAC;KACrD;IACD;QACC,WAAW,EAAE,gCAAgC;QAC7C,OAAO,EAAE,CAAC,EAAC,IAAI,EAAE,sBAAsB,EAAE,IAAI,EAAE,gBAAgB,EAAC,CAAC;KACjE;IACD;QACC,WAAW,EAAE,gCAAgC;QAC7C,OAAO,EAAE,CAAC,EAAC,IAAI,EAAE,sBAAsB,EAAE,IAAI,EAAE,2BAA2B,EAAC,CAAC;KAC5E;CACD,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const NG_DOC_STYLES: string[];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NG_DOC_STYLES = void 0;
4
+ exports.NG_DOC_STYLES = [
5
+ '@ng-doc/app/styles/global.scss',
6
+ 'highlight.js/styles/default.css',
7
+ 'highlight.js/styles/vs.css',
8
+ ];
9
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../libs/app/schematics/ng-add/constants/styles.ts"],"names":[],"mappings":";;;AAAa,QAAA,aAAa,GAAa;IACtC,gCAAgC;IAChC,iCAAiC;IACjC,4BAA4B;CAC5B,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const NG_DOC_VERSION: string;
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NG_DOC_VERSION = void 0;
4
+ const package_json_1 = require("../../../package.json");
5
+ exports.NG_DOC_VERSION = package_json_1.version;
6
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../../../../../libs/app/schematics/ng-add/constants/version.ts"],"names":[],"mappings":";;;AAAA,wDAA8C;AAEjC,QAAA,cAAc,GAAW,sBAAO,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ import { Schema } from './schema';
3
+ /**
4
+ *
5
+ * @param options
6
+ */
7
+ export declare function ngAdd(options: Schema): Rule;
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ngAdd = void 0;
4
+ const schematics_1 = require("@angular-devkit/schematics");
5
+ const tasks_1 = require("@angular-devkit/schematics/tasks");
6
+ const ng_morph_1 = require("ng-morph");
7
+ const version_1 = require("./constants/version");
8
+ const add_assets_1 = require("./steps/add-assets");
9
+ const add_layout_1 = require("./steps/add-layout");
10
+ const add_ng_doc_modules_1 = require("./steps/add-ng-doc-modules");
11
+ const add_styles_1 = require("./steps/add-styles");
12
+ const replace_builders_1 = require("./steps/replace-builders");
13
+ /**
14
+ *
15
+ * @param options
16
+ */
17
+ function ngAdd(options) {
18
+ return (tree, context) => {
19
+ (0, ng_morph_1.setActiveProject)((0, ng_morph_1.createProject)(tree, '/', ['**/*.ts', '**/*.json']));
20
+ (0, ng_morph_1.addPackageJsonDependency)(tree, { name: `@ng-doc/builder`, version: version_1.NG_DOC_VERSION });
21
+ (0, ng_morph_1.addPackageJsonDependency)(tree, { name: `@ng-doc/ui-kit`, version: version_1.NG_DOC_VERSION });
22
+ (0, ng_morph_1.addPackageJsonDependency)(tree, { name: `@ng-doc/core`, version: version_1.NG_DOC_VERSION });
23
+ context.addTask(new tasks_1.NodePackageInstallTask(), []);
24
+ return (0, schematics_1.chain)([
25
+ (0, replace_builders_1.replaceBuilders)(options, context),
26
+ (0, add_styles_1.addStyles)(options, context),
27
+ (0, add_assets_1.addAssets)(options, context),
28
+ (0, add_ng_doc_modules_1.addNgDocModules)(options),
29
+ (0, add_layout_1.addLayout)(options),
30
+ ]);
31
+ };
32
+ }
33
+ exports.ngAdd = ngAdd;
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/app/schematics/ng-add/index.ts"],"names":[],"mappings":";;;AAAA,2DAA+E;AAC/E,4DAAwE;AACxE,uCAAmF;AAEnF,iDAAmD;AAEnD,mDAA6C;AAC7C,mDAA6C;AAC7C,mEAA2D;AAC3D,mDAA6C;AAC7C,+DAAyD;AAEzD;;;GAGG;AACH,SAAgB,KAAK,CAAC,OAAe;IACpC,OAAO,CAAC,IAAU,EAAE,OAAyB,EAAE,EAAE;QAChD,IAAA,2BAAgB,EAAC,IAAA,wBAAa,EAAC,IAAI,EAAE,GAAG,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;QAErE,IAAA,mCAAwB,EAAC,IAAI,EAAE,EAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,EAAE,wBAAc,EAAC,CAAC,CAAC;QACnF,IAAA,mCAAwB,EAAC,IAAI,EAAE,EAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,EAAE,wBAAc,EAAC,CAAC,CAAC;QAClF,IAAA,mCAAwB,EAAC,IAAI,EAAE,EAAC,IAAI,EAAE,cAAc,EAAE,OAAO,EAAE,wBAAc,EAAC,CAAC,CAAC;QAEhF,OAAO,CAAC,OAAO,CAAC,IAAI,8BAAsB,EAAE,EAAE,EAAE,CAAC,CAAC;QAElD,OAAO,IAAA,kBAAK,EAAC;YACZ,IAAA,kCAAe,EAAC,OAAO,EAAE,OAAO,CAAC;YACjC,IAAA,sBAAS,EAAC,OAAO,EAAE,OAAO,CAAC;YAC3B,IAAA,sBAAS,EAAC,OAAO,EAAE,OAAO,CAAC;YAC3B,IAAA,oCAAe,EAAC,OAAO,CAAC;YACxB,IAAA,sBAAS,EAAC,OAAO,CAAC;SAClB,CAAC,CAAC;IACJ,CAAC,CAAC;AACH,CAAC;AAlBD,sBAkBC"}
@@ -0,0 +1,3 @@
1
+ export interface Schema {
2
+ readonly project: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../../libs/app/schematics/ng-add/schema.ts"],"names":[],"mappings":""}
@@ -0,0 +1,8 @@
1
+ import { Rule, SchematicContext } from '@angular-devkit/schematics';
2
+ import { Schema } from '../schema';
3
+ /**
4
+ *
5
+ * @param options
6
+ * @param context
7
+ */
8
+ export declare function addAssets(options: Schema, context: SchematicContext): Rule;
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.addAssets = void 0;
4
+ const schematics_1 = require("@angular/cdk/schematics");
5
+ const workspace_1 = require("@schematics/angular/utility/workspace");
6
+ const assets_1 = require("../constants/assets");
7
+ const get_project_1 = require("../utils/get-project");
8
+ /**
9
+ *
10
+ * @param options
11
+ * @param context
12
+ */
13
+ function addAssets(options, context) {
14
+ return (0, workspace_1.updateWorkspace)((workspace) => {
15
+ context.logger.info(`[INFO]: Adding global assets...`);
16
+ const project = (0, get_project_1.getProject)(options, workspace);
17
+ if (!project) {
18
+ context.logger.warn(`[WARNING]: Target project not found.`);
19
+ return;
20
+ }
21
+ const targetOptions = (0, schematics_1.getProjectTargetOptions)(project, 'build');
22
+ const assets = targetOptions['assets'];
23
+ if (!assets) {
24
+ targetOptions['assets'] = assets_1.NG_DOC_ASSETS;
25
+ return;
26
+ }
27
+ targetOptions['assets'] = Array.from(new Set([...assets_1.NG_DOC_ASSETS, ...assets]));
28
+ });
29
+ }
30
+ exports.addAssets = addAssets;
31
+ //# sourceMappingURL=add-assets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-assets.js","sourceRoot":"","sources":["../../../../../../libs/app/schematics/ng-add/steps/add-assets.ts"],"names":[],"mappings":";;;AAAA,wDAAgE;AAGhE,qEAA8G;AAE9G,gDAAkD;AAElD,sDAAgD;AAEhD;;;;GAIG;AACH,SAAgB,SAAS,CAAC,OAAe,EAAE,OAAyB;IACnE,OAAO,IAAA,2BAAe,EAAC,CAAC,SAA8B,EAAE,EAAE;QACzD,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;QAEvD,MAAM,OAAO,GAAkC,IAAA,wBAAU,EAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAE9E,IAAI,CAAC,OAAO,EAAE;YACb,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,sCAAsC,CAAC,CAAC;YAC5D,OAAO;SACP;QAED,MAAM,aAAa,GAA8B,IAAA,oCAAuB,EAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QAE3F,MAAM,MAAM,GAA0B,aAAa,CAAC,QAAQ,CAA0B,CAAC;QAEvF,IAAI,CAAC,MAAM,EAAE;YACZ,aAAa,CAAC,QAAQ,CAAC,GAAG,sBAAa,CAAC;YACxC,OAAO;SACP;QAED,aAAa,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC,GAAG,sBAAa,EAAE,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;IAC9E,CAAC,CAAC,CAAC;AACJ,CAAC;AAtBD,8BAsBC"}
@@ -0,0 +1,7 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ import { Schema } from '../schema';
3
+ /**
4
+ *
5
+ * @param options
6
+ */
7
+ export declare function addLayout(options: Schema): Rule;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.addLayout = void 0;
13
+ const schematics_1 = require("@angular/cdk/schematics");
14
+ const workspace_1 = require("@nrwl/workspace");
15
+ const app_component_content_1 = require("../constants/app-component-content");
16
+ const get_app_template_path_1 = require("../utils/get-app-template-path");
17
+ const get_project_1 = require("../utils/get-project");
18
+ /**
19
+ *
20
+ * @param options
21
+ */
22
+ function addLayout(options) {
23
+ return (tree, context) => __awaiter(this, void 0, void 0, function* () {
24
+ context.logger.info(`[INFO]: Adding NgDocLayour to the root component...`);
25
+ const workspace = yield (0, workspace_1.getWorkspace)(tree);
26
+ const project = (0, get_project_1.getProject)(options, workspace);
27
+ if (!project) {
28
+ return;
29
+ }
30
+ const buildOptions = (0, schematics_1.getProjectTargetOptions)(project, 'build');
31
+ const appTemplatePath = (0, get_app_template_path_1.getAppTemplatePath)(tree, buildOptions['main']);
32
+ if (!appTemplatePath) {
33
+ context.logger.error('Could not find the default main template file for this project.');
34
+ return;
35
+ }
36
+ const html = tree.read(appTemplatePath);
37
+ if (html) {
38
+ const recorder = tree.beginUpdate(appTemplatePath);
39
+ recorder.remove(0, html.length);
40
+ recorder.insertLeft(0, app_component_content_1.APP_COMPONENT_CONTENT);
41
+ tree.commitUpdate(recorder);
42
+ context.logger.info(`Content of the app component was replaced with ng-doc layout.`);
43
+ }
44
+ });
45
+ }
46
+ exports.addLayout = addLayout;
47
+ //# sourceMappingURL=add-layout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-layout.js","sourceRoot":"","sources":["../../../../../../libs/app/schematics/ng-add/steps/add-layout.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wDAAgE;AAIhE,+CAA6C;AAE7C,8EAAyE;AAEzE,0EAAkE;AAClE,sDAAgD;AAEhD;;;GAGG;AACH,SAAgB,SAAS,CAAC,OAAe;IACxC,OAAO,CAAO,IAAU,EAAE,OAAyB,EAAE,EAAE;QACtD,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,qDAAqD,CAAC,CAAC;QAE3E,MAAM,SAAS,GAAwB,MAAM,IAAA,wBAAY,EAAC,IAAI,CAAC,CAAC;QAChE,MAAM,OAAO,GAAkC,IAAA,wBAAU,EAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAE9E,IAAI,CAAC,OAAO,EAAE;YACb,OAAO;SACP;QAED,MAAM,YAAY,GAA8B,IAAA,oCAAuB,EAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QAE1F,MAAM,eAAe,GAAuB,IAAA,0CAAkB,EAAC,IAAI,EAAE,YAAY,CAAC,MAAM,CAAW,CAAC,CAAC;QAErG,IAAI,CAAC,eAAe,EAAE;YACrB,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,iEAAiE,CAAC,CAAC;YAExF,OAAO;SACP;QAED,MAAM,IAAI,GAAkB,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEvD,IAAI,IAAI,EAAE;YACT,MAAM,QAAQ,GAAmB,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;YAEnE,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;YAChC,QAAQ,CAAC,UAAU,CAAC,CAAC,EAAE,6CAAqB,CAAC,CAAC;YAC9C,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;YAE5B,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,+DAA+D,CAAC,CAAC;SACrF;IACF,CAAC,CAAA,CAAC;AACH,CAAC;AAjCD,8BAiCC"}
@@ -0,0 +1,7 @@
1
+ import { Rule } from '@angular-devkit/schematics';
2
+ import { Schema } from '../schema';
3
+ /**
4
+ *
5
+ * @param options
6
+ */
7
+ export declare function addNgDocModules(options: Schema): Rule;
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.addNgDocModules = void 0;
13
+ const schematics_1 = require("@angular/cdk/schematics");
14
+ const workspace_1 = require("@schematics/angular/utility/workspace");
15
+ const ng_morph_1 = require("ng-morph");
16
+ const modules_1 = require("../constants/modules");
17
+ const add_unique_import_1 = require("../utils/add-unique-import");
18
+ const get_project_1 = require("../utils/get-project");
19
+ /**
20
+ *
21
+ * @param options
22
+ */
23
+ function addNgDocModules(options) {
24
+ return (tree, context) => __awaiter(this, void 0, void 0, function* () {
25
+ context.logger.info(`[INFO]: Adding NgDoc modules to the root module...`);
26
+ const workspace = yield (0, workspace_1.getWorkspace)(tree);
27
+ const project = (0, get_project_1.getProject)(options, workspace);
28
+ if (!project) {
29
+ context.logger.warn('[WARNING]: Target project not found in current workspace');
30
+ return;
31
+ }
32
+ const buildOptions = (0, schematics_1.getProjectTargetOptions)(project, 'build');
33
+ (0, ng_morph_1.setActiveProject)((0, ng_morph_1.createProject)(tree, '/', ['**/*.ts', '**/*.json']));
34
+ const mainModule = (0, ng_morph_1.getMainModule)(buildOptions['main']);
35
+ importMainModules(mainModule);
36
+ (0, ng_morph_1.saveActiveProject)();
37
+ });
38
+ }
39
+ exports.addNgDocModules = addNgDocModules;
40
+ /**
41
+ *
42
+ * @param mainModule
43
+ */
44
+ function importMainModules(mainModule) {
45
+ const mainModulePath = mainModule.getSourceFile().getFilePath();
46
+ modules_1.MAIN_MODULES.forEach((module) => {
47
+ (0, ng_morph_1.addImportToNgModule)(mainModule, module.initializer, { unique: true });
48
+ module.imports.forEach((moduleImport) => {
49
+ (0, add_unique_import_1.addUniqueImport)(mainModulePath, moduleImport.name, moduleImport.path);
50
+ });
51
+ });
52
+ }
53
+ //# sourceMappingURL=add-ng-doc-modules.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-ng-doc-modules.js","sourceRoot":"","sources":["../../../../../../libs/app/schematics/ng-add/steps/add-ng-doc-modules.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,wDAAgE;AAIhE,qEAAmE;AACnE,uCAOkB;AAElB,kDAA8E;AAE9E,kEAA2D;AAC3D,sDAAgD;AAEhD;;;GAGG;AACH,SAAgB,eAAe,CAAC,OAAe;IAC9C,OAAO,CAAO,IAAU,EAAE,OAAyB,EAAE,EAAE;QACtD,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,oDAAoD,CAAC,CAAC;QAE1E,MAAM,SAAS,GAAwB,MAAM,IAAA,wBAAY,EAAC,IAAI,CAAC,CAAC;QAChE,MAAM,OAAO,GAAkC,IAAA,wBAAU,EAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAE9E,IAAI,CAAC,OAAO,EAAE;YACb,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,0DAA0D,CAAC,CAAC;YAChF,OAAO;SACP;QAED,MAAM,YAAY,GAA8B,IAAA,oCAAuB,EAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QAE1F,IAAA,2BAAgB,EAAC,IAAA,wBAAa,EAAC,IAAI,EAAE,GAAG,EAAE,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC;QAErE,MAAM,UAAU,GAAqB,IAAA,wBAAa,EAAC,YAAY,CAAC,MAAM,CAAW,CAAC,CAAC;QAEnF,iBAAiB,CAAC,UAAU,CAAC,CAAC;QAE9B,IAAA,4BAAiB,GAAE,CAAC;IACrB,CAAC,CAAA,CAAC;AACH,CAAC;AAtBD,0CAsBC;AAED;;;GAGG;AACH,SAAS,iBAAiB,CAAC,UAA4B;IACtD,MAAM,cAAc,GAAW,UAAU,CAAC,aAAa,EAAE,CAAC,WAAW,EAAE,CAAC;IAExE,sBAAY,CAAC,OAAO,CAAC,CAAC,MAAoB,EAAE,EAAE;QAC7C,IAAA,8BAAmB,EAAC,UAAU,EAAE,MAAM,CAAC,WAAW,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC,CAAC,CAAC;QAEpE,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,YAA0B,EAAE,EAAE;YACrD,IAAA,mCAAe,EAAC,cAAc,EAAE,YAAY,CAAC,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,CAAC;QACvE,CAAC,CAAC,CAAC;IACJ,CAAC,CAAC,CAAC;AACJ,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { Rule, SchematicContext } from '@angular-devkit/schematics';
2
+ import { Schema } from '../schema';
3
+ /**
4
+ *
5
+ * @param options
6
+ * @param context
7
+ */
8
+ export declare function addStyles(options: Schema, context: SchematicContext): Rule;
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.addStyles = void 0;
4
+ const schematics_1 = require("@angular/cdk/schematics");
5
+ const workspace_1 = require("@schematics/angular/utility/workspace");
6
+ const styles_1 = require("../constants/styles");
7
+ const get_project_1 = require("../utils/get-project");
8
+ /**
9
+ *
10
+ * @param options
11
+ * @param context
12
+ */
13
+ function addStyles(options, context) {
14
+ return (0, workspace_1.updateWorkspace)((workspace) => {
15
+ context.logger.info(`[INFO]: Adding global styles...`);
16
+ const project = (0, get_project_1.getProject)(options, workspace);
17
+ if (!project) {
18
+ context.logger.warn(`[WARNING]: Target project not found.`);
19
+ return;
20
+ }
21
+ const targetOptions = (0, schematics_1.getProjectTargetOptions)(project, 'build');
22
+ const styles = targetOptions['styles'];
23
+ if (!styles) {
24
+ targetOptions['styles'] = styles_1.NG_DOC_STYLES;
25
+ return;
26
+ }
27
+ targetOptions['styles'] = Array.from(new Set([...styles_1.NG_DOC_STYLES, ...styles]));
28
+ });
29
+ }
30
+ exports.addStyles = addStyles;
31
+ //# sourceMappingURL=add-styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-styles.js","sourceRoot":"","sources":["../../../../../../libs/app/schematics/ng-add/steps/add-styles.ts"],"names":[],"mappings":";;;AAAA,wDAAgE;AAGhE,qEAA8G;AAE9G,gDAAkD;AAElD,sDAAgD;AAEhD;;;;GAIG;AACH,SAAgB,SAAS,CAAC,OAAe,EAAE,OAAyB;IACnE,OAAO,IAAA,2BAAe,EAAC,CAAC,SAA8B,EAAE,EAAE;QACzD,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC;QAEvD,MAAM,OAAO,GAAkC,IAAA,wBAAU,EAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAE9E,IAAI,CAAC,OAAO,EAAE;YACb,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,sCAAsC,CAAC,CAAC;YAC5D,OAAO;SACP;QAED,MAAM,aAAa,GAA8B,IAAA,oCAAuB,EAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QAE3F,MAAM,MAAM,GAA0B,aAAa,CAAC,QAAQ,CAA0B,CAAC;QAEvF,IAAI,CAAC,MAAM,EAAE;YACZ,aAAa,CAAC,QAAQ,CAAC,GAAG,sBAAa,CAAC;YACxC,OAAO;SACP;QAED,aAAa,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC,GAAG,sBAAa,EAAE,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;IAC9E,CAAC,CAAC,CAAC;AACJ,CAAC;AAtBD,8BAsBC"}
@@ -0,0 +1,8 @@
1
+ import { Rule, SchematicContext } from '@angular-devkit/schematics';
2
+ import { Schema } from '../schema';
3
+ /**
4
+ *
5
+ * @param options
6
+ * @param context
7
+ */
8
+ export declare function replaceBuilders(options: Schema, context: SchematicContext): Rule;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.replaceBuilders = void 0;
4
+ const workspace_1 = require("@schematics/angular/utility/workspace");
5
+ const get_project_1 = require("../utils/get-project");
6
+ /**
7
+ *
8
+ * @param options
9
+ * @param context
10
+ */
11
+ function replaceBuilders(options, context) {
12
+ return (0, workspace_1.updateWorkspace)((workspace) => {
13
+ context.logger.info(`[INFO]: Replacing default builders...`);
14
+ const project = (0, get_project_1.getProject)(options, workspace);
15
+ if (!project) {
16
+ context.logger.warn(`[WARNING]: Target project not found.`);
17
+ return;
18
+ }
19
+ const buildTarget = project.targets.get('build');
20
+ const serveTarget = project.targets.get('serve');
21
+ if (buildTarget) {
22
+ buildTarget.builder = '@ng-doc/builder:browser';
23
+ }
24
+ else {
25
+ context.logger.warn(`[WARNING]: "build" target was not found, please add builder manually.`);
26
+ }
27
+ if (serveTarget) {
28
+ serveTarget.builder = '@ng-doc/builder:dev-server';
29
+ }
30
+ else {
31
+ context.logger.warn(`[WARNING]: "serve" target was not found, please add builder manually.`);
32
+ }
33
+ });
34
+ }
35
+ exports.replaceBuilders = replaceBuilders;
36
+ //# sourceMappingURL=replace-builders.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"replace-builders.js","sourceRoot":"","sources":["../../../../../../libs/app/schematics/ng-add/steps/replace-builders.ts"],"names":[],"mappings":";;;AACA,qEAK+C;AAG/C,sDAAgD;AAEhD;;;;GAIG;AACH,SAAgB,eAAe,CAAC,OAAe,EAAE,OAAyB;IACzE,OAAO,IAAA,2BAAe,EAAC,CAAC,SAA8B,EAAE,EAAE;QACzD,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,uCAAuC,CAAC,CAAC;QAE7D,MAAM,OAAO,GAAkC,IAAA,wBAAU,EAAC,OAAO,EAAE,SAAS,CAAC,CAAC;QAE9E,IAAI,CAAC,OAAO,EAAE;YACb,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,sCAAsC,CAAC,CAAC;YAC5D,OAAO;SACP;QAED,MAAM,WAAW,GAAiC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QAC/E,MAAM,WAAW,GAAiC,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QAE/E,IAAI,WAAW,EAAE;YAChB,WAAW,CAAC,OAAO,GAAG,yBAAyB,CAAC;SAChD;aAAM;YACN,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,uEAAuE,CAAC,CAAC;SAC7F;QAED,IAAI,WAAW,EAAE;YAChB,WAAW,CAAC,OAAO,GAAG,4BAA4B,CAAC;SACnD;aAAM;YACN,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,uEAAuE,CAAC,CAAC;SAC7F;IACF,CAAC,CAAC,CAAC;AACJ,CAAC;AA1BD,0CA0BC"}
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,156 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ const schematics_1 = require("@angular-devkit/schematics");
13
+ const testing_1 = require("@angular-devkit/schematics/testing");
14
+ const ng_morph_1 = require("ng-morph");
15
+ const path_1 = require("path");
16
+ const app_component_content_1 = require("../constants/app-component-content");
17
+ const version_1 = require("../constants/version");
18
+ const create_angular_json_1 = require("../utils/create-angular-json");
19
+ const collectionPath = (0, path_1.join)(__dirname, '../../collection.json');
20
+ describe('ng-add', () => {
21
+ let host;
22
+ let runner;
23
+ beforeEach(() => {
24
+ host = new testing_1.UnitTestTree(new schematics_1.HostTree());
25
+ runner = new testing_1.SchematicTestRunner('schematics', collectionPath);
26
+ (0, ng_morph_1.setActiveProject)((0, ng_morph_1.createProject)(host));
27
+ (0, ng_morph_1.createSourceFile)('package.json', '{"dependencies": {"@angular/core": "~13.0.0"}}');
28
+ (0, create_angular_json_1.createAngularJson)();
29
+ createMainFiles();
30
+ (0, ng_morph_1.saveActiveProject)();
31
+ });
32
+ it('should add main modules in package.json', () => __awaiter(void 0, void 0, void 0, function* () {
33
+ const options = {
34
+ project: '',
35
+ };
36
+ const tree = yield runner.runSchematicAsync('ng-add', options, host).toPromise();
37
+ expect(tree.readContent('package.json')).toEqual(`{
38
+ "dependencies": {
39
+ "@angular/core": "~13.0.0",
40
+ "@ng-doc/builder": "${version_1.NG_DOC_VERSION}",
41
+ "@ng-doc/core": "${version_1.NG_DOC_VERSION}",
42
+ "@ng-doc/ui-kit": "${version_1.NG_DOC_VERSION}"
43
+ }
44
+ }`);
45
+ }));
46
+ it('should replace content of the app components template', () => __awaiter(void 0, void 0, void 0, function* () {
47
+ const options = {
48
+ project: '',
49
+ };
50
+ const tree = yield runner.runSchematicAsync('ng-add', options, host).toPromise();
51
+ expect(tree.readContent('test/app/app.template.html')).toEqual(app_component_content_1.APP_COMPONENT_CONTENT);
52
+ }));
53
+ it('should add NgDoc modules', () => __awaiter(void 0, void 0, void 0, function* () {
54
+ const options = {
55
+ project: '',
56
+ };
57
+ const tree = yield runner.runSchematicAsync('ng-add', options, host).toPromise();
58
+ expect(tree.readContent('test/app/app.module.ts'))
59
+ .toEqual(`import { NgDocUiKitRootModule } from "@ng-doc/ui-kit";
60
+ import { NgDocModule } from "@ng-doc/app";
61
+ import { NG_DOC_ROUTING, NgDocGeneratedModule } from "@ng-doc/builder/generated";
62
+ import { RouterModule } from "@angular/router";
63
+ import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
64
+ import {NgModule} from '@angular/core';
65
+ import {AppComponent} from './app.component';
66
+
67
+ @NgModule({declarations: [AppComponent],
68
+ imports: [BrowserAnimationsModule, RouterModule.forRoot(NG_DOC_ROUTING), NgDocModule.forRoot(), NgDocUiKitRootModule.forRoot(), NgDocGeneratedModule.forRoot()]
69
+ })
70
+ export class AppModule {}
71
+ `);
72
+ }));
73
+ it('should update angular.json', () => __awaiter(void 0, void 0, void 0, function* () {
74
+ const options = {
75
+ project: '',
76
+ };
77
+ const tree = yield runner.runSchematicAsync('ng-add', options, host).toPromise();
78
+ expect(tree.readContent('angular.json')).toEqual(`
79
+ {
80
+ "version": 1,
81
+ "defaultProject": "demo",
82
+ "projects": {
83
+ "demo": {
84
+ \t"root": ".",
85
+ "architect": {
86
+ "build": {
87
+ "options": {
88
+ "main": "test/main.ts",
89
+ "styles": [
90
+ "@ng-doc/app/styles/global.scss",
91
+ "highlight.js/styles/default.css",
92
+ "highlight.js/styles/vs.css"
93
+ ],
94
+ "assets": [
95
+ {
96
+ "glob": "**/*",
97
+ "input": "./node_modules/@ng-doc/ui-kit/assets",
98
+ "output": "assets"
99
+ },
100
+ {
101
+ "glob": "**/*",
102
+ "input": "./node_modules/@ng-doc/app/assets",
103
+ "output": "assets"
104
+ },
105
+ {
106
+ "glob": "**/*",
107
+ "input": "./node_modules/@ng-doc/builder/generated/assets",
108
+ "output": "assets"
109
+ }
110
+ ]
111
+ },
112
+ "configurations": {
113
+ \t"production": {
114
+ \t\t"sourceMap": true,
115
+ \t\t\t\t\t"optimization": true,
116
+ \t\t\t\t\t"buildOptimizer": true,
117
+ \t\t\t\t\t"aot": true
118
+ \t}
119
+ },
120
+ "builder": "@ng-doc/builder:browser"
121
+ }
122
+ }
123
+ }
124
+ }
125
+ }`);
126
+ }));
127
+ });
128
+ /**
129
+ *
130
+ */
131
+ function createMainFiles() {
132
+ (0, ng_morph_1.createSourceFile)('test/main.ts', `import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
133
+ import {AppModule} from './app/app.module';
134
+ import {environment} from './environments/environment';
135
+
136
+ if (environment.production) {
137
+ enableProdMode();
138
+ }
139
+ platformBrowserDynamic()
140
+ .bootstrapModule(AppModule)
141
+ .catch(err => console.log(err));
142
+ `);
143
+ (0, ng_morph_1.createSourceFile)('test/app/app.module.ts', `import {NgModule} from '@angular/core';
144
+ import {AppComponent} from './app.component';
145
+
146
+ @NgModule({declarations: [AppComponent]})
147
+ export class AppModule {}
148
+ `);
149
+ (0, ng_morph_1.createSourceFile)('test/app/app.component.ts', `import {Component} from '@angular/core';
150
+ import {AppComponent} from './app.component';
151
+
152
+ @Component({templateUrl: './app.template.html'})
153
+ export class AppComponent {}`);
154
+ (0, ng_morph_1.createSourceFile)('test/app/app.template.html', `<app></app>`);
155
+ }
156
+ //# sourceMappingURL=ng-add.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ng-add.spec.js","sourceRoot":"","sources":["../../../../../../libs/app/schematics/ng-add/testing/ng-add.spec.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,2DAAoD;AACpD,gEAAqF;AACrF,uCAA8F;AAC9F,+BAA0B;AAE1B,8EAAyE;AACzE,kDAAoD;AAEpD,sEAA+D;AAE/D,MAAM,cAAc,GAAW,IAAA,WAAI,EAAC,SAAS,EAAE,uBAAuB,CAAC,CAAC;AAExE,QAAQ,CAAC,QAAQ,EAAE,GAAG,EAAE;IACvB,IAAI,IAAkB,CAAC;IACvB,IAAI,MAA2B,CAAC;IAEhC,UAAU,CAAC,GAAG,EAAE;QACf,IAAI,GAAG,IAAI,sBAAY,CAAC,IAAI,qBAAQ,EAAE,CAAC,CAAC;QACxC,MAAM,GAAG,IAAI,6BAAmB,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;QAE/D,IAAA,2BAAgB,EAAC,IAAA,wBAAa,EAAC,IAAI,CAAC,CAAC,CAAC;QAEtC,IAAA,2BAAgB,EAAC,cAAc,EAAE,gDAAgD,CAAC,CAAC;QACnF,IAAA,uCAAiB,GAAE,CAAC;QACpB,eAAe,EAAE,CAAC;QAClB,IAAA,4BAAiB,GAAE,CAAC;IACrB,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,yCAAyC,EAAE,GAAS,EAAE;QACxD,MAAM,OAAO,GAAW;YACvB,OAAO,EAAE,EAAE;SACX,CAAC;QAEF,MAAM,IAAI,GAAiB,MAAM,MAAM,CAAC,iBAAiB,CAAC,QAAQ,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;QAE/F,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC,CAAC,OAAO,CAC/C;;;0BAGuB,wBAAc;uBACjB,wBAAc;yBACZ,wBAAc;;EAErC,CACC,CAAC;IACH,CAAC,CAAA,CAAC,CAAC;IAEH,EAAE,CAAC,uDAAuD,EAAE,GAAS,EAAE;QACtE,MAAM,OAAO,GAAW;YACvB,OAAO,EAAE,EAAE;SACX,CAAC;QAEF,MAAM,IAAI,GAAiB,MAAM,MAAM,CAAC,iBAAiB,CAAC,QAAQ,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;QAE/F,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,4BAA4B,CAAC,CAAC,CAAC,OAAO,CAAC,6CAAqB,CAAC,CAAC;IACvF,CAAC,CAAA,CAAC,CAAC;IAEH,EAAE,CAAC,0BAA0B,EAAE,GAAS,EAAE;QACzC,MAAM,OAAO,GAAW;YACvB,OAAO,EAAE,EAAE;SACX,CAAC;QAEF,MAAM,IAAI,GAAiB,MAAM,MAAM,CAAC,iBAAiB,CAAC,QAAQ,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;QAE/F,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,wBAAwB,CAAC,CAAC;aAChD,OAAO,CAAC;;;;;;;;;;;;CAYX,CAAC,CAAC;IACF,CAAC,CAAA,CAAC,CAAC;IAEH,EAAE,CAAC,4BAA4B,EAAE,GAAS,EAAE;QAC3C,MAAM,OAAO,GAAW;YACvB,OAAO,EAAE,EAAE;SACX,CAAC;QAEF,MAAM,IAAI,GAAiB,MAAM,MAAM,CAAC,iBAAiB,CAAC,QAAQ,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC,SAAS,EAAE,CAAC;QAE/F,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+CjD,CAAC,CAAC;IACH,CAAC,CAAA,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH;;GAEG;AACH,SAAS,eAAe;IACvB,IAAA,2BAAgB,EACf,cAAc,EACd;;;;;;;;;;GAUC,CACD,CAAC;IAEF,IAAA,2BAAgB,EACf,wBAAwB,EACxB;;;;;CAKD,CACC,CAAC;IAEF,IAAA,2BAAgB,EACf,2BAA2B,EAC3B;;;;6BAI2B,CAC3B,CAAC;IAEF,IAAA,2BAAgB,EAAC,4BAA4B,EAAE,aAAa,CAAC,CAAC;AAC/D,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ *
3
+ * @param filePath
4
+ * @param namedImport
5
+ * @param moduleSpecifier
6
+ */
7
+ export declare function addUniqueImport(filePath: string, namedImport: string, moduleSpecifier: string): void;