@ng-doc/builder 17.6.16 → 18.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (931) hide show
  1. package/application/index.js +13 -16
  2. package/application/index.js.map +1 -1
  3. package/classes/index.d.ts +1 -0
  4. package/classes/index.js +1 -0
  5. package/classes/index.js.map +1 -1
  6. package/classes/observable-map.d.ts +17 -0
  7. package/classes/observable-map.js +48 -0
  8. package/classes/observable-map.js.map +1 -0
  9. package/classes/observable-set.d.ts +4 -1
  10. package/classes/observable-set.js +9 -3
  11. package/classes/observable-set.js.map +1 -1
  12. package/dev-server/index.js +9 -6
  13. package/dev-server/index.js.map +1 -1
  14. package/dev-server/patch-builder-context.js +8 -9
  15. package/dev-server/patch-builder-context.js.map +1 -1
  16. package/engine/.cache/apps/ng-doc/docs/api-documentation/auto-generation/ng-doc.page.mjs +20 -0
  17. package/engine/.cache/apps/ng-doc/docs/api-documentation/documenting-declarations/ng-doc.page.mjs +20 -0
  18. package/engine/.cache/apps/ng-doc/docs/api-documentation/rendering-api/ng-doc.page.mjs +19 -0
  19. package/engine/.cache/apps/ng-doc/docs/customization/icons/ng-doc.page.mjs +19 -0
  20. package/engine/.cache/apps/ng-doc/docs/customization/layout/ng-doc.page.mjs +19 -0
  21. package/engine/.cache/apps/ng-doc/docs/customization/page-processors/ng-doc.page.mjs +19 -0
  22. package/engine/.cache/apps/ng-doc/docs/customization/page-skeleton/ng-doc.page.mjs +19 -0
  23. package/engine/.cache/apps/ng-doc/docs/customization/search/ng-doc.page.mjs +19 -0
  24. package/engine/.cache/apps/ng-doc/docs/customization/themes/ng-doc.page.mjs +19 -0
  25. package/engine/.cache/apps/ng-doc/docs/develop/ng-doc.page.mjs +36 -0
  26. package/engine/.cache/apps/ng-doc/docs/getting-started/configuration/ng-doc.page.mjs +19 -0
  27. package/engine/.cache/apps/ng-doc/docs/getting-started/installation/ng-doc.page.mjs +19 -0
  28. package/engine/.cache/apps/ng-doc/docs/getting-started/migrations/ng-doc.page.mjs +18 -0
  29. package/engine/.cache/apps/ng-doc/docs/getting-started/ssr/ng-doc.page.mjs +19 -0
  30. package/engine/.cache/apps/ng-doc/docs/getting-started/what-is-ng-doc/ng-doc.page.mjs +19 -0
  31. package/engine/.cache/apps/ng-doc/docs/ng-doc.api.mjs +42 -0
  32. package/engine/.cache/apps/ng-doc/docs/recipes/ignoring-file-lines/ng-doc.page.mjs +18 -0
  33. package/engine/.cache/apps/ng-doc/docs/recipes/performance/ng-doc.page.mjs +19 -0
  34. package/engine/.cache/apps/ng-doc/docs/writing-content/blockquotes/ng-doc.page.mjs +18 -0
  35. package/engine/.cache/apps/ng-doc/docs/writing-content/code-blocks/ng-doc.page.mjs +18 -0
  36. package/engine/.cache/apps/ng-doc/docs/writing-content/demo-and-demo-pane/ng-doc.page.mjs +19 -0
  37. package/engine/.cache/apps/ng-doc/docs/writing-content/images-videos-and-embeds/ng-doc.page.mjs +18 -0
  38. package/engine/.cache/apps/ng-doc/docs/writing-content/keywords/ng-doc.page.mjs +17 -0
  39. package/engine/.cache/apps/ng-doc/docs/writing-content/mermaid-diagrams/ng-doc.page.mjs +18 -0
  40. package/engine/.cache/apps/ng-doc/docs/writing-content/nunjucks/ng-doc.page.mjs +18 -0
  41. package/engine/.cache/apps/ng-doc/docs/writing-content/pages-and-categories/ng-doc.page.mjs +18 -0
  42. package/engine/.cache/apps/ng-doc/docs/writing-content/playground/ng-doc.page.mjs +33 -0
  43. package/engine/build-ng-doc.d.ts +2 -3
  44. package/engine/build-ng-doc.js +25 -47
  45. package/engine/build-ng-doc.js.map +1 -1
  46. package/engine/builders/api-list/api-list-component.builder.d.ts +13 -0
  47. package/engine/builders/api-list/api-list-component.builder.js +27 -0
  48. package/engine/builders/api-list/api-list-component.builder.js.map +1 -0
  49. package/engine/builders/api-list/api-list.builder.d.ts +17 -0
  50. package/engine/builders/api-list/api-list.builder.js +42 -0
  51. package/engine/builders/api-list/api-list.builder.js.map +1 -0
  52. package/engine/builders/api-list/api-page-template.builder.d.ts +18 -0
  53. package/engine/builders/api-list/api-page-template.builder.js +67 -0
  54. package/engine/builders/api-list/api-page-template.builder.js.map +1 -0
  55. package/engine/builders/api-list/index.d.ts +10 -0
  56. package/engine/builders/api-list/index.js +63 -0
  57. package/engine/builders/api-list/index.js.map +1 -0
  58. package/engine/builders/api-list/keywords/build-api-keywords.d.ts +7 -0
  59. package/engine/builders/api-list/keywords/build-api-keywords.js +28 -0
  60. package/engine/builders/api-list/keywords/build-api-keywords.js.map +1 -0
  61. package/engine/builders/api-list/keywords/get-api-anchor-keywords.d.ts +8 -0
  62. package/engine/builders/api-list/keywords/get-api-anchor-keywords.js +27 -0
  63. package/engine/builders/api-list/keywords/get-api-anchor-keywords.js.map +1 -0
  64. package/engine/builders/api-list/keywords/get-pipe-keywords.d.ts +7 -0
  65. package/engine/builders/api-list/keywords/get-pipe-keywords.js +20 -0
  66. package/engine/builders/api-list/keywords/get-pipe-keywords.js.map +1 -0
  67. package/engine/builders/api-list/keywords/get-selector-keywords.d.ts +7 -0
  68. package/engine/builders/api-list/keywords/get-selector-keywords.js +38 -0
  69. package/engine/builders/api-list/keywords/get-selector-keywords.js.map +1 -0
  70. package/engine/builders/api-list/render-api-header.d.ts +10 -0
  71. package/engine/builders/api-list/render-api-header.js +24 -0
  72. package/engine/builders/api-list/render-api-header.js.map +1 -0
  73. package/engine/builders/global/context-and-routes.builder.d.ts +16 -0
  74. package/engine/builders/global/context-and-routes.builder.js +61 -0
  75. package/engine/builders/global/context-and-routes.builder.js.map +1 -0
  76. package/engine/builders/global/index.builder.d.ts +8 -0
  77. package/engine/builders/global/index.builder.js +24 -0
  78. package/engine/builders/global/index.builder.js.map +1 -0
  79. package/engine/builders/global/index.d.ts +7 -0
  80. package/engine/builders/global/index.js +16 -0
  81. package/engine/builders/global/index.js.map +1 -0
  82. package/engine/builders/global/keywords.builder.d.ts +7 -0
  83. package/engine/builders/global/keywords.builder.js +23 -0
  84. package/engine/builders/global/keywords.builder.js.map +1 -0
  85. package/engine/builders/global/search-indexes.builder.d.ts +7 -0
  86. package/engine/builders/global/search-indexes.builder.js +20 -0
  87. package/engine/builders/global/search-indexes.builder.js.map +1 -0
  88. package/engine/builders/helpers/create-declaration-metadata.d.ts +12 -0
  89. package/engine/builders/helpers/create-declaration-metadata.js +58 -0
  90. package/engine/builders/helpers/create-declaration-metadata.js.map +1 -0
  91. package/engine/builders/helpers/create-declaration-tab-metadata.d.ts +16 -0
  92. package/engine/builders/helpers/create-declaration-tab-metadata.js +31 -0
  93. package/engine/builders/helpers/create-declaration-tab-metadata.js.map +1 -0
  94. package/engine/builders/helpers/create-entry-metadata.d.ts +10 -0
  95. package/engine/builders/helpers/create-entry-metadata.js +72 -0
  96. package/engine/builders/helpers/create-entry-metadata.js.map +1 -0
  97. package/engine/builders/helpers/create-import-path.d.ts +7 -0
  98. package/engine/builders/helpers/create-import-path.js +19 -0
  99. package/engine/builders/helpers/create-import-path.js.map +1 -0
  100. package/engine/builders/helpers/create-markdown-metadata.d.ts +8 -0
  101. package/engine/builders/helpers/create-markdown-metadata.js +32 -0
  102. package/engine/builders/helpers/create-markdown-metadata.js.map +1 -0
  103. package/engine/builders/helpers/get-category-source-file.d.ts +7 -0
  104. package/engine/builders/helpers/get-category-source-file.js +31 -0
  105. package/engine/builders/helpers/get-category-source-file.js.map +1 -0
  106. package/engine/builders/helpers/get-entry-out-dir.d.ts +9 -0
  107. package/engine/builders/helpers/get-entry-out-dir.js +25 -0
  108. package/engine/builders/helpers/get-entry-out-dir.js.map +1 -0
  109. package/engine/builders/helpers/get-entry-relative-path.d.ts +6 -0
  110. package/engine/builders/helpers/get-entry-relative-path.js +16 -0
  111. package/engine/builders/helpers/get-entry-relative-path.js.map +1 -0
  112. package/engine/builders/helpers/get-entry-route.d.ts +7 -0
  113. package/engine/builders/helpers/get-entry-route.js +23 -0
  114. package/engine/builders/helpers/get-entry-route.js.map +1 -0
  115. package/engine/builders/helpers/get-playground-metadata.d.ts +9 -0
  116. package/engine/builders/helpers/get-playground-metadata.js +40 -0
  117. package/engine/builders/helpers/get-playground-metadata.js.map +1 -0
  118. package/engine/builders/helpers/get-scoped-keyword.d.ts +8 -0
  119. package/engine/builders/helpers/get-scoped-keyword.js +19 -0
  120. package/engine/builders/helpers/get-scoped-keyword.js.map +1 -0
  121. package/engine/builders/helpers/get-structured-docs.d.ts +11 -0
  122. package/engine/builders/helpers/get-structured-docs.js +55 -0
  123. package/engine/builders/helpers/get-structured-docs.js.map +1 -0
  124. package/engine/builders/helpers/get-variable-statement-from-object-literal-expression.d.ts +6 -0
  125. package/engine/builders/helpers/get-variable-statement-from-object-literal-expression.js +19 -0
  126. package/engine/builders/helpers/get-variable-statement-from-object-literal-expression.js.map +1 -0
  127. package/engine/builders/helpers/index.d.ts +14 -0
  128. package/engine/builders/helpers/index.js +18 -0
  129. package/engine/builders/helpers/index.js.map +1 -0
  130. package/engine/builders/helpers/markdown-front-matter.d.ts +8 -0
  131. package/engine/builders/helpers/markdown-front-matter.js +14 -0
  132. package/engine/builders/helpers/markdown-front-matter.js.map +1 -0
  133. package/engine/builders/index.d.ts +4 -0
  134. package/engine/builders/index.js +8 -0
  135. package/engine/builders/index.js.map +1 -0
  136. package/engine/builders/interfaces/entry-metadata.d.ts +32 -0
  137. package/engine/builders/interfaces/entry-metadata.js +13 -0
  138. package/engine/builders/interfaces/entry-metadata.js.map +1 -0
  139. package/engine/builders/interfaces/entry.d.ts +23 -0
  140. package/engine/builders/interfaces/entry.js +23 -0
  141. package/engine/builders/interfaces/entry.js.map +1 -0
  142. package/engine/builders/interfaces/index.d.ts +4 -0
  143. package/engine/builders/interfaces/index.js +8 -0
  144. package/engine/builders/interfaces/index.js.map +1 -0
  145. package/engine/builders/interfaces/markdown-entry.d.ts +21 -0
  146. package/engine/{entities/plugins/types/entity-plugin.js → builders/interfaces/markdown-entry.js} +1 -1
  147. package/engine/builders/interfaces/markdown-entry.js.map +1 -0
  148. package/engine/builders/interfaces/template-builder-output.d.ts +8 -0
  149. package/engine/builders/interfaces/template-builder-output.js +3 -0
  150. package/engine/builders/interfaces/template-builder-output.js.map +1 -0
  151. package/engine/builders/page/demo-assets.builder.d.ts +20 -0
  152. package/engine/builders/page/demo-assets.builder.js +74 -0
  153. package/engine/builders/page/demo-assets.builder.js.map +1 -0
  154. package/engine/builders/page/guide-template.builder.d.ts +17 -0
  155. package/engine/builders/page/guide-template.builder.js +71 -0
  156. package/engine/builders/page/guide-template.builder.js.map +1 -0
  157. package/engine/builders/page/index.d.ts +11 -0
  158. package/engine/builders/page/index.js +39 -0
  159. package/engine/builders/page/index.js.map +1 -0
  160. package/engine/builders/page/keywords/build-guide-keywords.d.ts +7 -0
  161. package/engine/builders/page/keywords/build-guide-keywords.js +25 -0
  162. package/engine/builders/page/keywords/build-guide-keywords.js.map +1 -0
  163. package/engine/builders/page/keywords/get-page-anchor-keywords.d.ts +8 -0
  164. package/engine/builders/page/keywords/get-page-anchor-keywords.js +27 -0
  165. package/engine/builders/page/keywords/get-page-anchor-keywords.js.map +1 -0
  166. package/engine/builders/page/playground.builder.d.ts +13 -0
  167. package/engine/builders/page/playground.builder.js +45 -0
  168. package/engine/builders/page/playground.builder.js.map +1 -0
  169. package/engine/builders/page/render-page-header.d.ts +13 -0
  170. package/engine/builders/page/render-page-header.js +20 -0
  171. package/engine/builders/page/render-page-header.js.map +1 -0
  172. package/engine/builders/shared/content.builder.d.ts +21 -0
  173. package/engine/builders/shared/content.builder.js +84 -0
  174. package/engine/builders/shared/content.builder.js.map +1 -0
  175. package/engine/builders/shared/entry.builder.d.ts +20 -0
  176. package/engine/builders/shared/entry.builder.js +45 -0
  177. package/engine/builders/shared/entry.builder.js.map +1 -0
  178. package/engine/builders/shared/index.d.ts +3 -0
  179. package/engine/builders/shared/index.js +7 -0
  180. package/engine/builders/shared/index.js.map +1 -0
  181. package/engine/builders/shared/page-component.builder.d.ts +22 -0
  182. package/engine/builders/shared/page-component.builder.js +64 -0
  183. package/engine/builders/shared/page-component.builder.js.map +1 -0
  184. package/engine/builders/shared/page-wrapper.builder.d.ts +18 -0
  185. package/engine/builders/shared/page-wrapper.builder.js +84 -0
  186. package/engine/builders/shared/page-wrapper.builder.js.map +1 -0
  187. package/engine/{entities/cache → cache}/cache.js +3 -6
  188. package/engine/cache/cache.js.map +1 -0
  189. package/engine/{entities/cache → cache}/cached-files-initializer.js +1 -2
  190. package/engine/cache/cached-files-initializer.js.map +1 -0
  191. package/engine/{entities/cache → cache}/cached-props-initializer.js +3 -4
  192. package/engine/cache/cached-props-initializer.js.map +1 -0
  193. package/engine/{entities/cache → cache}/decorators/cached-entity.js +5 -6
  194. package/engine/cache/decorators/cached-entity.js.map +1 -0
  195. package/engine/cache/decorators/cached-files-getter.js.map +1 -0
  196. package/engine/cache/decorators/cached-property.js.map +1 -0
  197. package/engine/cache/decorators/index.js.map +1 -0
  198. package/engine/cache/helpers/create-cache-for-file.js.map +1 -0
  199. package/engine/{entities/cache → cache}/helpers/create-cache.d.ts +3 -2
  200. package/engine/{entities/cache → cache}/helpers/create-cache.js +5 -4
  201. package/engine/cache/helpers/create-cache.js.map +1 -0
  202. package/engine/{entities/cache → cache}/helpers/get-cache-dir-path.js +2 -3
  203. package/engine/cache/helpers/get-cache-dir-path.js.map +1 -0
  204. package/engine/cache/helpers/get-cache-file-path.js.map +1 -0
  205. package/engine/cache/helpers/index.js.map +1 -0
  206. package/engine/{entities/cache → cache}/helpers/invalidate-cache-if-needed.js +1 -1
  207. package/engine/cache/helpers/invalidate-cache-if-needed.js.map +1 -0
  208. package/engine/{entities/cache → cache}/helpers/is-cache-valid.js +2 -3
  209. package/engine/cache/helpers/is-cache-valid.js.map +1 -0
  210. package/engine/{entities/cache → cache}/helpers/load-cache.d.ts +1 -1
  211. package/engine/cache/helpers/load-cache.js.map +1 -0
  212. package/engine/{entities/cache → cache}/helpers/update-cache.d.ts +1 -1
  213. package/engine/cache/helpers/update-cache.js.map +1 -0
  214. package/engine/cache/index.js.map +1 -0
  215. package/engine/cache/interfaces/cache-accessor.js.map +1 -0
  216. package/engine/cache/interfaces/cached-data.d.ts +6 -0
  217. package/engine/cache/interfaces/cached-data.js.map +1 -0
  218. package/engine/cache/interfaces/index.js.map +1 -0
  219. package/engine/core/index.d.ts +6 -0
  220. package/engine/core/index.js +10 -0
  221. package/engine/core/index.js.map +1 -0
  222. package/engine/core/operators/builder-state.d.ts +13 -0
  223. package/engine/core/operators/builder-state.js +20 -0
  224. package/engine/core/operators/builder-state.js.map +1 -0
  225. package/engine/core/operators/create-builder.d.ts +10 -0
  226. package/engine/core/operators/create-builder.js +32 -0
  227. package/engine/core/operators/create-builder.js.map +1 -0
  228. package/engine/core/operators/distinct-pending.d.ts +6 -0
  229. package/engine/core/operators/distinct-pending.js +12 -0
  230. package/engine/core/operators/distinct-pending.js.map +1 -0
  231. package/engine/core/operators/emit-cache.d.ts +17 -0
  232. package/engine/core/operators/emit-cache.js +31 -0
  233. package/engine/core/operators/emit-cache.js.map +1 -0
  234. package/engine/core/operators/emit-file-output.d.ts +7 -0
  235. package/engine/core/operators/emit-file-output.js +36 -0
  236. package/engine/core/operators/emit-file-output.js.map +1 -0
  237. package/engine/core/operators/entries-emitter.d.ts +8 -0
  238. package/engine/core/operators/entries-emitter.js +37 -0
  239. package/engine/core/operators/entries-emitter.js.map +1 -0
  240. package/engine/core/operators/factory.d.ts +12 -0
  241. package/engine/core/operators/factory.js +54 -0
  242. package/engine/core/operators/factory.js.map +1 -0
  243. package/engine/core/operators/handle-cache-strategy.d.ts +16 -0
  244. package/engine/core/operators/handle-cache-strategy.js +61 -0
  245. package/engine/core/operators/handle-cache-strategy.js.map +1 -0
  246. package/engine/core/operators/index.d.ts +16 -0
  247. package/engine/core/operators/index.js +20 -0
  248. package/engine/core/operators/index.js.map +1 -0
  249. package/engine/core/operators/join-builder-states.d.ts +9 -0
  250. package/engine/core/operators/join-builder-states.js +29 -0
  251. package/engine/core/operators/join-builder-states.js.map +1 -0
  252. package/engine/core/operators/merge-factory.d.ts +14 -0
  253. package/engine/core/operators/merge-factory.js +38 -0
  254. package/engine/core/operators/merge-factory.js.map +1 -0
  255. package/engine/core/operators/print-build-progress.d.ts +5 -0
  256. package/engine/core/operators/print-build-progress.js +16 -0
  257. package/engine/core/operators/print-build-progress.js.map +1 -0
  258. package/engine/core/operators/print-errors.d.ts +6 -0
  259. package/engine/core/operators/print-errors.js +17 -0
  260. package/engine/core/operators/print-errors.js.map +1 -0
  261. package/engine/core/operators/resolve-async-file-outputs.d.ts +6 -0
  262. package/engine/core/operators/resolve-async-file-outputs.js +29 -0
  263. package/engine/core/operators/resolve-async-file-outputs.js.map +1 -0
  264. package/engine/core/operators/run-build.d.ts +10 -0
  265. package/engine/core/operators/run-build.js +22 -0
  266. package/engine/core/operators/run-build.js.map +1 -0
  267. package/engine/core/operators/stack.d.ts +27 -0
  268. package/engine/core/operators/stack.js +78 -0
  269. package/engine/core/operators/stack.js.map +1 -0
  270. package/engine/core/operators/when-builders-done.d.ts +9 -0
  271. package/engine/core/operators/when-builders-done.js +21 -0
  272. package/engine/core/operators/when-builders-done.js.map +1 -0
  273. package/engine/core/operators/when-done.d.ts +20 -0
  274. package/engine/core/operators/when-done.js +40 -0
  275. package/engine/core/operators/when-done.js.map +1 -0
  276. package/engine/core/stores/api.d.ts +2 -0
  277. package/engine/core/stores/api.js +6 -0
  278. package/engine/core/stores/api.js.map +1 -0
  279. package/engine/core/stores/index-store.d.ts +3 -0
  280. package/engine/core/stores/index-store.js +6 -0
  281. package/engine/core/stores/index-store.js.map +1 -0
  282. package/engine/core/stores/index.d.ts +4 -0
  283. package/engine/core/stores/index.js +8 -0
  284. package/engine/core/stores/index.js.map +1 -0
  285. package/engine/core/stores/keywords.d.ts +9 -0
  286. package/engine/core/stores/keywords.js +35 -0
  287. package/engine/core/stores/keywords.js.map +1 -0
  288. package/engine/core/stores/page-store.d.ts +3 -0
  289. package/engine/core/stores/page-store.js +6 -0
  290. package/engine/core/stores/page-store.js.map +1 -0
  291. package/engine/core/triggers/index.d.ts +3 -0
  292. package/engine/core/triggers/index.js +7 -0
  293. package/engine/core/triggers/index.js.map +1 -0
  294. package/engine/core/triggers/on-dependencies-change.d.ts +12 -0
  295. package/engine/core/triggers/on-dependencies-change.js +19 -0
  296. package/engine/core/triggers/on-dependencies-change.js.map +1 -0
  297. package/engine/core/triggers/on-keywords-touch.d.ts +13 -0
  298. package/engine/core/triggers/on-keywords-touch.js +27 -0
  299. package/engine/core/triggers/on-keywords-touch.js.map +1 -0
  300. package/engine/core/triggers/on-remove-from-store.d.ts +11 -0
  301. package/engine/core/triggers/on-remove-from-store.js +15 -0
  302. package/engine/core/triggers/on-remove-from-store.js.map +1 -0
  303. package/engine/core/types/builder.d.ts +3 -0
  304. package/{interfaces/build-result.js → engine/core/types/builder.js} +1 -1
  305. package/engine/core/types/builder.js.map +1 -0
  306. package/engine/core/types/cache-strategy.d.ts +29 -0
  307. package/engine/core/types/cache-strategy.js +3 -0
  308. package/engine/core/types/cache-strategy.js.map +1 -0
  309. package/engine/core/types/file-output.d.ts +10 -0
  310. package/engine/core/types/file-output.js +11 -0
  311. package/engine/core/types/file-output.js.map +1 -0
  312. package/engine/core/types/index.d.ts +5 -0
  313. package/engine/core/types/index.js +9 -0
  314. package/engine/core/types/index.js.map +1 -0
  315. package/engine/core/types/state.d.ts +74 -0
  316. package/engine/core/types/state.js +81 -0
  317. package/engine/core/types/state.js.map +1 -0
  318. package/engine/core/types/trigger.d.ts +30 -0
  319. package/engine/core/types/trigger.js +36 -0
  320. package/engine/core/types/trigger.js.map +1 -0
  321. package/engine/core/variables/cold-start.d.ts +8 -0
  322. package/engine/core/variables/cold-start.js +18 -0
  323. package/engine/core/variables/cold-start.js.map +1 -0
  324. package/engine/core/variables/index.d.ts +1 -0
  325. package/engine/{entities/plugins/types → core/variables}/index.js +1 -1
  326. package/engine/core/variables/index.js.map +1 -0
  327. package/engine/core/watcher/index.d.ts +2 -0
  328. package/engine/core/watcher/index.js +6 -0
  329. package/engine/core/watcher/index.js.map +1 -0
  330. package/engine/core/watcher/watch-file.d.ts +9 -0
  331. package/engine/core/watcher/watch-file.js +29 -0
  332. package/engine/core/watcher/watch-file.js.map +1 -0
  333. package/engine/core/watcher/watch-folder.d.ts +8 -0
  334. package/engine/core/watcher/watch-folder.js +31 -0
  335. package/engine/core/watcher/watch-folder.js.map +1 -0
  336. package/engine/core/watcher/watch.d.ts +8 -0
  337. package/engine/core/watcher/watch.js +39 -0
  338. package/engine/core/watcher/watch.js.map +1 -0
  339. package/engine/index.d.ts +2 -6
  340. package/engine/index.js +2 -6
  341. package/engine/index.js.map +1 -1
  342. package/engine/nunjucks/actions/api-details.action.d.ts +6 -0
  343. package/engine/nunjucks/actions/api-details.action.js +27 -0
  344. package/engine/nunjucks/actions/api-details.action.js.map +1 -0
  345. package/engine/nunjucks/actions/api.action.d.ts +6 -0
  346. package/engine/nunjucks/actions/api.action.js +35 -0
  347. package/engine/nunjucks/actions/api.action.js.map +1 -0
  348. package/engine/{actions → nunjucks/actions}/demo-pane.action.d.ts +2 -2
  349. package/engine/{actions → nunjucks/actions}/demo-pane.action.js +1 -1
  350. package/engine/nunjucks/actions/demo-pane.action.js.map +1 -0
  351. package/engine/{actions → nunjucks/actions}/demo.action.d.ts +2 -2
  352. package/engine/{actions → nunjucks/actions}/demo.action.js +1 -1
  353. package/engine/nunjucks/actions/demo.action.js.map +1 -0
  354. package/engine/nunjucks/actions/js-doc-has-tag.action.d.ts +7 -0
  355. package/engine/nunjucks/actions/js-doc-has-tag.action.js +23 -0
  356. package/engine/nunjucks/actions/js-doc-has-tag.action.js.map +1 -0
  357. package/engine/nunjucks/actions/js-doc-tag.action.d.ts +7 -0
  358. package/engine/nunjucks/actions/js-doc-tag.action.js +23 -0
  359. package/engine/nunjucks/actions/js-doc-tag.action.js.map +1 -0
  360. package/engine/nunjucks/actions/js-doc-tags.action.d.ts +7 -0
  361. package/engine/nunjucks/actions/js-doc-tags.action.js +24 -0
  362. package/engine/nunjucks/actions/js-doc-tags.action.js.map +1 -0
  363. package/engine/nunjucks/actions/js-doc.action.d.ts +6 -0
  364. package/engine/nunjucks/actions/js-doc.action.js +22 -0
  365. package/engine/nunjucks/actions/js-doc.action.js.map +1 -0
  366. package/engine/{actions → nunjucks/actions}/playground.action.d.ts +2 -2
  367. package/engine/{actions → nunjucks/actions}/playground.action.js +7 -6
  368. package/engine/nunjucks/actions/playground.action.js.map +1 -0
  369. package/engine/{actions.d.ts → nunjucks/actions.d.ts} +4 -5
  370. package/engine/{actions.js → nunjucks/actions.js} +7 -12
  371. package/engine/nunjucks/actions.js.map +1 -0
  372. package/engine/nunjucks/api.d.ts +7 -0
  373. package/engine/nunjucks/api.js +20 -0
  374. package/engine/nunjucks/api.js.map +1 -0
  375. package/engine/nunjucks/base-action.d.ts +10 -0
  376. package/engine/nunjucks/base-action.js +16 -0
  377. package/engine/nunjucks/base-action.js.map +1 -0
  378. package/engine/nunjucks/filters.d.ts +2 -1
  379. package/engine/nunjucks/filters.js +10 -7
  380. package/engine/nunjucks/filters.js.map +1 -1
  381. package/engine/nunjucks/index.d.ts +3 -0
  382. package/engine/nunjucks/index.js +3 -0
  383. package/engine/nunjucks/index.js.map +1 -1
  384. package/engine/nunjucks/js-doc.d.ts +11 -0
  385. package/engine/nunjucks/js-doc.js +28 -0
  386. package/engine/nunjucks/js-doc.js.map +1 -0
  387. package/engine/nunjucks/render-template.d.ts +6 -0
  388. package/engine/nunjucks/render-template.js +27 -10
  389. package/engine/nunjucks/render-template.js.map +1 -1
  390. package/engine/transform-index-html.d.ts +5 -0
  391. package/engine/transform-index-html.js +15 -0
  392. package/engine/transform-index-html.js.map +1 -0
  393. package/engine/watcher.js +1 -1
  394. package/engine/watcher.js.map +1 -1
  395. package/helpers/angular/get-component-assets.d.ts +3 -1
  396. package/helpers/angular/get-component-assets.js +20 -3
  397. package/helpers/angular/get-component-assets.js.map +1 -1
  398. package/helpers/angular/get-component-decorator.js +1 -1
  399. package/helpers/angular/get-component-decorator.js.map +1 -1
  400. package/helpers/angular/get-component-inputs.js.map +1 -1
  401. package/helpers/angular/get-component-source-files.js.map +1 -1
  402. package/helpers/angular/get-directive-decorator.js +1 -1
  403. package/helpers/angular/get-directive-decorator.js.map +1 -1
  404. package/helpers/angular/get-input-name.js +4 -5
  405. package/helpers/angular/get-input-name.js.map +1 -1
  406. package/helpers/angular/get-input-type.js.map +1 -1
  407. package/helpers/angular/get-pipe-decorator.js +1 -1
  408. package/helpers/angular/get-pipe-decorator.js.map +1 -1
  409. package/helpers/angular/is-input.js +2 -3
  410. package/helpers/angular/is-input.js.map +1 -1
  411. package/helpers/angular/is-standalone.d.ts +1 -1
  412. package/helpers/angular/is-standalone.js +3 -4
  413. package/helpers/angular/is-standalone.js.map +1 -1
  414. package/helpers/build-file-assets.js +1 -1
  415. package/helpers/build-file-assets.js.map +1 -1
  416. package/helpers/build-file-entity.js +45 -48
  417. package/helpers/build-file-entity.js.map +1 -1
  418. package/helpers/build-indexes.js +41 -45
  419. package/helpers/build-indexes.js.map +1 -1
  420. package/helpers/construct-page-keyword.d.ts +10 -0
  421. package/helpers/construct-page-keyword.js +24 -0
  422. package/helpers/construct-page-keyword.js.map +1 -0
  423. package/helpers/create-builder-context.js +12 -11
  424. package/helpers/create-builder-context.js.map +1 -1
  425. package/helpers/create-import-path.js.map +1 -1
  426. package/helpers/{get-demo-class-declarations.js → demo/get-demo-class-declarations.js} +1 -2
  427. package/helpers/demo/get-demo-class-declarations.js.map +1 -0
  428. package/helpers/demo/index.d.ts +1 -1
  429. package/helpers/demo/index.js +1 -1
  430. package/helpers/extract-selectors.d.ts +7 -2
  431. package/helpers/extract-selectors.js +16 -3
  432. package/helpers/extract-selectors.js.map +1 -1
  433. package/helpers/filter-useless-members.d.ts +2 -2
  434. package/helpers/filter-useless-members.js.map +1 -1
  435. package/helpers/format-code.js +3 -4
  436. package/helpers/format-code.js.map +1 -1
  437. package/helpers/format-keyword-key.d.ts +5 -0
  438. package/helpers/{keyword-key.js → format-keyword-key.js} +3 -3
  439. package/helpers/format-keyword-key.js.map +1 -0
  440. package/helpers/get-declaration-by-path.d.ts +8 -0
  441. package/helpers/get-declaration-by-path.js +30 -0
  442. package/helpers/get-declaration-by-path.js.map +1 -0
  443. package/helpers/get-declaration-type.js +1 -1
  444. package/helpers/get-declaration-type.js.map +1 -1
  445. package/helpers/get-js-doc.d.ts +35 -0
  446. package/helpers/get-js-doc.js +121 -0
  447. package/helpers/get-js-doc.js.map +1 -0
  448. package/helpers/import-fresh-esm.js +10 -12
  449. package/helpers/import-fresh-esm.js.map +1 -1
  450. package/helpers/index.d.ts +7 -13
  451. package/helpers/index.js +7 -13
  452. package/helpers/index.js.map +1 -1
  453. package/helpers/is-public-declaration.d.ts +6 -0
  454. package/helpers/is-public-declaration.js +16 -0
  455. package/helpers/is-public-declaration.js.map +1 -0
  456. package/helpers/is-supported-declaration.d.ts +2 -2
  457. package/helpers/is-supported-declaration.js.map +1 -1
  458. package/helpers/load-config.js +1 -2
  459. package/helpers/load-config.js.map +1 -1
  460. package/helpers/markdown-to-html.js +16 -10
  461. package/helpers/markdown-to-html.js.map +1 -1
  462. package/helpers/minify-html.d.ts +5 -0
  463. package/helpers/minify-html.js +22 -0
  464. package/helpers/minify-html.js.map +1 -0
  465. package/helpers/playground/build-playground-metadata.js +15 -11
  466. package/helpers/playground/build-playground-metadata.js.map +1 -1
  467. package/helpers/playground/get-playground-inputs.js +6 -6
  468. package/helpers/playground/get-playground-inputs.js.map +1 -1
  469. package/helpers/playground/get-playgrounds-class-declarations.d.ts +6 -0
  470. package/helpers/playground/get-playgrounds-class-declarations.js +26 -0
  471. package/helpers/playground/get-playgrounds-class-declarations.js.map +1 -0
  472. package/helpers/playground/get-playgrounds-ids.js +2 -3
  473. package/helpers/playground/get-playgrounds-ids.js.map +1 -1
  474. package/helpers/playground/get-target-for-playground.js +4 -3
  475. package/helpers/playground/get-target-for-playground.js.map +1 -1
  476. package/helpers/playground/index.d.ts +1 -0
  477. package/helpers/playground/index.js +1 -0
  478. package/helpers/playground/index.js.map +1 -1
  479. package/helpers/presentation.js +3 -6
  480. package/helpers/presentation.js.map +1 -1
  481. package/helpers/print.d.ts +0 -15
  482. package/helpers/print.js +0 -24
  483. package/helpers/print.js.map +1 -1
  484. package/helpers/process-legacy-snippets.js +7 -8
  485. package/helpers/process-legacy-snippets.js.map +1 -1
  486. package/helpers/process-snippets.js +4 -5
  487. package/helpers/process-snippets.js.map +1 -1
  488. package/helpers/remove-lines-from-code.js +1 -2
  489. package/helpers/remove-lines-from-code.js.map +1 -1
  490. package/helpers/snippets-from-asset.js +8 -2
  491. package/helpers/snippets-from-asset.js.map +1 -1
  492. package/helpers/sort-navigation-entities.d.ts +3 -3
  493. package/helpers/sort-navigation-entities.js +9 -9
  494. package/helpers/sort-navigation-entities.js.map +1 -1
  495. package/helpers/to-template-string.js +5 -2
  496. package/helpers/to-template-string.js.map +1 -1
  497. package/helpers/typescript/accessor/group-accessors.js +2 -2
  498. package/helpers/typescript/accessor/group-accessors.js.map +1 -1
  499. package/helpers/typescript/create-project.js +19 -1
  500. package/helpers/typescript/create-project.js.map +1 -1
  501. package/helpers/typescript/declaration-import.d.ts +2 -2
  502. package/helpers/typescript/declaration-import.js.map +1 -1
  503. package/helpers/typescript/display-type.d.ts +2 -1
  504. package/helpers/typescript/display-type.js +2 -1
  505. package/helpers/typescript/display-type.js.map +1 -1
  506. package/helpers/typescript/exclude-by-js-doc-tags.d.ts +7 -0
  507. package/helpers/typescript/exclude-by-js-doc-tags.js +14 -0
  508. package/helpers/typescript/exclude-by-js-doc-tags.js.map +1 -0
  509. package/helpers/typescript/find-declarations.d.ts +10 -0
  510. package/helpers/typescript/find-declarations.js +35 -0
  511. package/helpers/typescript/find-declarations.js.map +1 -0
  512. package/helpers/typescript/first-node-with-comment.d.ts +1 -1
  513. package/helpers/typescript/first-node-with-comment.js +1 -2
  514. package/helpers/typescript/first-node-with-comment.js.map +1 -1
  515. package/helpers/typescript/get-object-expression-from-default.js +4 -4
  516. package/helpers/typescript/get-object-expression-from-default.js.map +1 -1
  517. package/helpers/typescript/index.d.ts +2 -1
  518. package/helpers/typescript/index.js +2 -1
  519. package/helpers/typescript/index.js.map +1 -1
  520. package/helpers/typescript/interface/find-interface.js +1 -1
  521. package/helpers/typescript/interface/find-interface.js.map +1 -1
  522. package/helpers/typescript/interface/for-all-interfaces.js +1 -1
  523. package/helpers/typescript/interface/for-all-interfaces.js.map +1 -1
  524. package/helpers/typescript/interface/get-interface-member.d.ts +2 -2
  525. package/helpers/typescript/interface/get-interface-member.js.map +1 -1
  526. package/helpers/typescript/member/find-member.d.ts +3 -3
  527. package/helpers/typescript/member/find-member.js +3 -3
  528. package/helpers/typescript/member/find-member.js.map +1 -1
  529. package/helpers/typescript/member/get-implemented-member.d.ts +2 -2
  530. package/helpers/typescript/member/get-implemented-member.js +1 -1
  531. package/helpers/typescript/member/get-implemented-member.js.map +1 -1
  532. package/helpers/typescript/member/get-inherited-parent.d.ts +2 -2
  533. package/helpers/typescript/member/get-inherited-parent.js.map +1 -1
  534. package/helpers/typescript/member/get-member-parent.d.ts +2 -2
  535. package/helpers/typescript/member/get-member-parent.js.map +1 -1
  536. package/helpers/typescript/member/get-overridden-member.d.ts +2 -2
  537. package/helpers/typescript/member/get-overridden-member.js.map +1 -1
  538. package/helpers/typescript/member/member-type.d.ts +9 -4
  539. package/helpers/typescript/member/member-type.js +12 -0
  540. package/helpers/typescript/member/member-type.js.map +1 -1
  541. package/helpers/typescript/method/get-method-chain.js.map +1 -1
  542. package/helpers/typescript/node/sort-by-nodes-name.js +1 -1
  543. package/helpers/typescript/node/sort-by-nodes-name.js.map +1 -1
  544. package/helpers/typescript/property/get-property-assignment.d.ts +1 -1
  545. package/helpers/typescript/property/get-property-assignment.js +2 -3
  546. package/helpers/typescript/property/get-property-assignment.js.map +1 -1
  547. package/helpers/utils.d.ts +6 -0
  548. package/helpers/utils.js +12 -0
  549. package/helpers/utils.js.map +1 -0
  550. package/interfaces/action-output.d.ts +2 -2
  551. package/interfaces/builder-context.d.ts +7 -5
  552. package/interfaces/configuration.d.ts +16 -2
  553. package/interfaces/entity-keyword.d.ts +1 -1
  554. package/interfaces/index.d.ts +0 -1
  555. package/interfaces/index.js +0 -1
  556. package/interfaces/index.js.map +1 -1
  557. package/interfaces/renderer-options.d.ts +1 -1
  558. package/operators/index.d.ts +0 -2
  559. package/operators/index.js +0 -2
  560. package/operators/index.js.map +1 -1
  561. package/package.json +16 -14
  562. package/parsers/helpers/param.js +1 -1
  563. package/parsers/helpers/param.js.map +1 -1
  564. package/parsers/parse-code-block-params.js +3 -3
  565. package/parsers/parse-code-block-params.js.map +1 -1
  566. package/parsers/parse-snippet.js +2 -2
  567. package/parsers/parse-snippet.js.map +1 -1
  568. package/schematics/api/files/ng-doc.api.ts.template +1 -1
  569. package/schematics/api/index.js +2 -3
  570. package/schematics/api/index.js.map +1 -1
  571. package/schematics/category/index.js +10 -7
  572. package/schematics/category/index.js.map +1 -1
  573. package/schematics/category/schema.json +54 -54
  574. package/schematics/migration.json +8 -8
  575. package/schematics/migrations/standalone-pages/index.js +13 -6
  576. package/schematics/migrations/standalone-pages/index.js.map +1 -1
  577. package/schematics/ng-update/index.js +2 -4
  578. package/schematics/ng-update/index.js.map +1 -1
  579. package/schematics/ng-update/steps/{update-git-ignore.d.ts → update-pages.d.ts} +1 -1
  580. package/schematics/ng-update/steps/update-pages.js +89 -0
  581. package/schematics/ng-update/steps/update-pages.js.map +1 -0
  582. package/schematics/page/files/index.md.template +3 -1
  583. package/schematics/page/files/ng-doc.page.ts.template +1 -2
  584. package/schematics/page/index.js +12 -7
  585. package/schematics/page/index.js.map +1 -1
  586. package/schematics/page/schema.d.ts +2 -5
  587. package/schematics/page/schema.json +44 -49
  588. package/schematics/utils/get-project.js +1 -2
  589. package/schematics/utils/get-project.js.map +1 -1
  590. package/scripts/restore-theme.js +6 -0
  591. package/templates/api/base.html.nunj +9 -19
  592. package/templates/api/class-declaration.html.nunj +57 -0
  593. package/templates/api/details/class-declaration.html.nunj +47 -0
  594. package/templates/api/details/enum-declaration.html.nunj +0 -0
  595. package/templates/api/details/function-declaration.html.nunj +14 -0
  596. package/templates/api/details/helpers/decorators.html.nunj +14 -0
  597. package/templates/api/details/helpers/extends.html.nunj +6 -0
  598. package/templates/api/details/helpers/selectors.html.nunj +12 -0
  599. package/templates/api/details/helpers/type-parameters.html.nunj +14 -0
  600. package/templates/api/details/interface-declaration.html.nunj +27 -0
  601. package/templates/api/details/type-alias-declaration.html.nunj +14 -0
  602. package/templates/api/details/variable-declaration.html.nunj +0 -0
  603. package/templates/api/details.html.nunj +9 -0
  604. package/templates/api/{enum.html.nunj → enum-declaration.html.nunj} +3 -5
  605. package/templates/api/function-declaration.html.nunj +24 -0
  606. package/templates/api/interface-declaration.html.nunj +27 -0
  607. package/templates/api/type-alias-declaration.html.nunj +8 -0
  608. package/templates/api/variable-declaration.html.nunj +8 -0
  609. package/templates/api-header.html.nunj +11 -0
  610. package/templates/api-list.ts.nunj +10 -21
  611. package/templates/api-page-content.html.nunj +1 -15
  612. package/templates/context.ts.nunj +48 -33
  613. package/templates/helpers/accessor.html.nunj +50 -47
  614. package/templates/helpers/code.html.nunj +1 -2
  615. package/templates/helpers/constructor.html.nunj +24 -26
  616. package/templates/helpers/members.html.nunj +26 -20
  617. package/templates/helpers/method.html.nunj +58 -44
  618. package/templates/helpers/no-content.html.nunj +1 -1
  619. package/templates/helpers/overload.html.nunj +47 -0
  620. package/templates/helpers/parameters.html.nunj +37 -37
  621. package/templates/helpers/properties.html.nunj +43 -37
  622. package/templates/helpers/status.html.nunj +37 -0
  623. package/templates/helpers/type.html.nunj +4 -0
  624. package/templates/index.ts.nunj +2 -2
  625. package/templates/page-header.html.nunj +5 -0
  626. package/templates/page-wrapper.ts.nunj +42 -0
  627. package/templates/page.ts.nunj +55 -38
  628. package/templates/parts/page-tags.html.nunj +0 -15
  629. package/templates/parts/see-also.html.nunj +1 -1
  630. package/templates/parts/usage-notes.html.nunj +1 -1
  631. package/templates/playgrounds.ts.nunj +1 -1
  632. package/templates/routes.ts.nunj +27 -0
  633. package/types/action.d.ts +2 -3
  634. package/types/index.d.ts +1 -1
  635. package/types/index.js +1 -1
  636. package/types/index.js.map +1 -1
  637. package/types/supported-declaration.d.ts +2 -0
  638. package/types/supported-declaration.js +3 -0
  639. package/types/supported-declaration.js.map +1 -0
  640. package/engine/actions/demo-pane.action.js.map +0 -1
  641. package/engine/actions/demo.action.js.map +0 -1
  642. package/engine/actions/playground.action.js.map +0 -1
  643. package/engine/actions.js.map +0 -1
  644. package/engine/builder-operators/add-build-candidates.d.ts +0 -8
  645. package/engine/builder-operators/add-build-candidates.js +0 -26
  646. package/engine/builder-operators/add-build-candidates.js.map +0 -1
  647. package/engine/builder-operators/build.d.ts +0 -11
  648. package/engine/builder-operators/build.js +0 -22
  649. package/engine/builder-operators/build.js.map +0 -1
  650. package/engine/builder-operators/collect-garbage.d.ts +0 -7
  651. package/engine/builder-operators/collect-garbage.js +0 -19
  652. package/engine/builder-operators/collect-garbage.js.map +0 -1
  653. package/engine/builder-operators/compile.d.ts +0 -6
  654. package/engine/builder-operators/compile.js +0 -19
  655. package/engine/builder-operators/compile.js.map +0 -1
  656. package/engine/builder-operators/dependency-changes.d.ts +0 -9
  657. package/engine/builder-operators/dependency-changes.js +0 -23
  658. package/engine/builder-operators/dependency-changes.js.map +0 -1
  659. package/engine/builder-operators/emit.d.ts +0 -6
  660. package/engine/builder-operators/emit.js +0 -13
  661. package/engine/builder-operators/emit.js.map +0 -1
  662. package/engine/builder-operators/index.d.ts +0 -9
  663. package/engine/builder-operators/index.js +0 -13
  664. package/engine/builder-operators/index.js.map +0 -1
  665. package/engine/builder-operators/load.d.ts +0 -7
  666. package/engine/builder-operators/load.js +0 -20
  667. package/engine/builder-operators/load.js.map +0 -1
  668. package/engine/builder-operators/post-build.d.ts +0 -6
  669. package/engine/builder-operators/post-build.js +0 -22
  670. package/engine/builder-operators/post-build.js.map +0 -1
  671. package/engine/builder-operators/post-process.d.ts +0 -12
  672. package/engine/builder-operators/post-process.js +0 -29
  673. package/engine/builder-operators/post-process.js.map +0 -1
  674. package/engine/builder-operators/print-output.d.ts +0 -7
  675. package/engine/builder-operators/print-output.js +0 -52
  676. package/engine/builder-operators/print-output.js.map +0 -1
  677. package/engine/builder-operators/refresh.d.ts +0 -6
  678. package/engine/builder-operators/refresh.js +0 -19
  679. package/engine/builder-operators/refresh.js.map +0 -1
  680. package/engine/builder-operators/task.d.ts +0 -23
  681. package/engine/builder-operators/task.js +0 -43
  682. package/engine/builder-operators/task.js.map +0 -1
  683. package/engine/builder-operators/to-builder-output.d.ts +0 -6
  684. package/engine/builder-operators/to-builder-output.js +0 -12
  685. package/engine/builder-operators/to-builder-output.js.map +0 -1
  686. package/engine/builder-operators/update-cache.d.ts +0 -7
  687. package/engine/builder-operators/update-cache.js +0 -14
  688. package/engine/builder-operators/update-cache.js.map +0 -1
  689. package/engine/entities/abstractions/entity.d.ts +0 -122
  690. package/engine/entities/abstractions/entity.js +0 -186
  691. package/engine/entities/abstractions/entity.js.map +0 -1
  692. package/engine/entities/abstractions/file.entity.d.ts +0 -28
  693. package/engine/entities/abstractions/file.entity.js +0 -68
  694. package/engine/entities/abstractions/file.entity.js.map +0 -1
  695. package/engine/entities/abstractions/module.entity.d.ts +0 -25
  696. package/engine/entities/abstractions/module.entity.js +0 -57
  697. package/engine/entities/abstractions/module.entity.js.map +0 -1
  698. package/engine/entities/abstractions/navigation.entity.d.ts +0 -27
  699. package/engine/entities/abstractions/navigation.entity.js +0 -36
  700. package/engine/entities/abstractions/navigation.entity.js.map +0 -1
  701. package/engine/entities/abstractions/route.entity.d.ts +0 -35
  702. package/engine/entities/abstractions/route.entity.js +0 -68
  703. package/engine/entities/abstractions/route.entity.js.map +0 -1
  704. package/engine/entities/abstractions/source-file.entity.d.ts +0 -38
  705. package/engine/entities/abstractions/source-file.entity.js +0 -69
  706. package/engine/entities/abstractions/source-file.entity.js.map +0 -1
  707. package/engine/entities/api-list.entity.d.ts +0 -20
  708. package/engine/entities/api-list.entity.js +0 -74
  709. package/engine/entities/api-list.entity.js.map +0 -1
  710. package/engine/entities/api-page.entity.d.ts +0 -36
  711. package/engine/entities/api-page.entity.js +0 -140
  712. package/engine/entities/api-page.entity.js.map +0 -1
  713. package/engine/entities/api-scope.entity.d.ts +0 -41
  714. package/engine/entities/api-scope.entity.js +0 -115
  715. package/engine/entities/api-scope.entity.js.map +0 -1
  716. package/engine/entities/api.entity.d.ts +0 -27
  717. package/engine/entities/api.entity.js +0 -118
  718. package/engine/entities/api.entity.js.map +0 -1
  719. package/engine/entities/cache/cache.js.map +0 -1
  720. package/engine/entities/cache/cached-files-initializer.js.map +0 -1
  721. package/engine/entities/cache/cached-props-initializer.js.map +0 -1
  722. package/engine/entities/cache/decorators/cached-entity.js.map +0 -1
  723. package/engine/entities/cache/decorators/cached-files-getter.js.map +0 -1
  724. package/engine/entities/cache/decorators/cached-property.js.map +0 -1
  725. package/engine/entities/cache/decorators/index.js.map +0 -1
  726. package/engine/entities/cache/helpers/create-cache-for-file.js.map +0 -1
  727. package/engine/entities/cache/helpers/create-cache.js.map +0 -1
  728. package/engine/entities/cache/helpers/get-cache-dir-path.js.map +0 -1
  729. package/engine/entities/cache/helpers/get-cache-file-path.js.map +0 -1
  730. package/engine/entities/cache/helpers/index.js.map +0 -1
  731. package/engine/entities/cache/helpers/invalidate-cache-if-needed.js.map +0 -1
  732. package/engine/entities/cache/helpers/is-cache-valid.js.map +0 -1
  733. package/engine/entities/cache/helpers/load-cache.js.map +0 -1
  734. package/engine/entities/cache/helpers/update-cache.js.map +0 -1
  735. package/engine/entities/cache/index.js.map +0 -1
  736. package/engine/entities/cache/interfaces/cache-accessor.js.map +0 -1
  737. package/engine/entities/cache/interfaces/cached-data.d.ts +0 -5
  738. package/engine/entities/cache/interfaces/cached-data.js.map +0 -1
  739. package/engine/entities/cache/interfaces/index.js.map +0 -1
  740. package/engine/entities/category.entity.d.ts +0 -28
  741. package/engine/entities/category.entity.js +0 -108
  742. package/engine/entities/category.entity.js.map +0 -1
  743. package/engine/entities/context.entity.d.ts +0 -11
  744. package/engine/entities/context.entity.js +0 -34
  745. package/engine/entities/context.entity.js.map +0 -1
  746. package/engine/entities/index-file.entity.d.ts +0 -12
  747. package/engine/entities/index-file.entity.js +0 -57
  748. package/engine/entities/index-file.entity.js.map +0 -1
  749. package/engine/entities/index.d.ts +0 -13
  750. package/engine/entities/index.js +0 -17
  751. package/engine/entities/index.js.map +0 -1
  752. package/engine/entities/indexes.entity.d.ts +0 -12
  753. package/engine/entities/indexes.entity.js +0 -35
  754. package/engine/entities/indexes.entity.js.map +0 -1
  755. package/engine/entities/keywords.entity.d.ts +0 -12
  756. package/engine/entities/keywords.entity.js +0 -32
  757. package/engine/entities/keywords.entity.js.map +0 -1
  758. package/engine/entities/page-demo.entity.d.ts +0 -20
  759. package/engine/entities/page-demo.entity.js +0 -96
  760. package/engine/entities/page-demo.entity.js.map +0 -1
  761. package/engine/entities/page-playground.entity.d.ts +0 -22
  762. package/engine/entities/page-playground.entity.js +0 -101
  763. package/engine/entities/page-playground.entity.js.map +0 -1
  764. package/engine/entities/page.entity.d.ts +0 -33
  765. package/engine/entities/page.entity.js +0 -175
  766. package/engine/entities/page.entity.js.map +0 -1
  767. package/engine/entities/plugins/entity-plugins/add-to-dependencies.plugin.d.ts +0 -5
  768. package/engine/entities/plugins/entity-plugins/add-to-dependencies.plugin.js +0 -19
  769. package/engine/entities/plugins/entity-plugins/add-to-dependencies.plugin.js.map +0 -1
  770. package/engine/entities/plugins/entity-plugins/apply.plugin.d.ts +0 -26
  771. package/engine/entities/plugins/entity-plugins/apply.plugin.js +0 -64
  772. package/engine/entities/plugins/entity-plugins/apply.plugin.js.map +0 -1
  773. package/engine/entities/plugins/entity-plugins/extract-snippets.plugin.d.ts +0 -6
  774. package/engine/entities/plugins/entity-plugins/extract-snippets.plugin.js +0 -22
  775. package/engine/entities/plugins/entity-plugins/extract-snippets.plugin.js.map +0 -1
  776. package/engine/entities/plugins/entity-plugins/fill-indexes.plugin.d.ts +0 -6
  777. package/engine/entities/plugins/entity-plugins/fill-indexes.plugin.js +0 -26
  778. package/engine/entities/plugins/entity-plugins/fill-indexes.plugin.js.map +0 -1
  779. package/engine/entities/plugins/entity-plugins/index.d.ts +0 -9
  780. package/engine/entities/plugins/entity-plugins/index.js +0 -13
  781. package/engine/entities/plugins/entity-plugins/index.js.map +0 -1
  782. package/engine/entities/plugins/entity-plugins/markdown-to-html.plugin.d.ts +0 -5
  783. package/engine/entities/plugins/entity-plugins/markdown-to-html.plugin.js +0 -20
  784. package/engine/entities/plugins/entity-plugins/markdown-to-html.plugin.js.map +0 -1
  785. package/engine/entities/plugins/entity-plugins/post-process-html.plugin.d.ts +0 -5
  786. package/engine/entities/plugins/entity-plugins/post-process-html.plugin.js +0 -17
  787. package/engine/entities/plugins/entity-plugins/post-process-html.plugin.js.map +0 -1
  788. package/engine/entities/plugins/entity-plugins/process-html.plugin.d.ts +0 -5
  789. package/engine/entities/plugins/entity-plugins/process-html.plugin.js +0 -17
  790. package/engine/entities/plugins/entity-plugins/process-html.plugin.js.map +0 -1
  791. package/engine/entities/plugins/entity-plugins/remove-lines.plugin.d.ts +0 -6
  792. package/engine/entities/plugins/entity-plugins/remove-lines.plugin.js +0 -22
  793. package/engine/entities/plugins/entity-plugins/remove-lines.plugin.js.map +0 -1
  794. package/engine/entities/plugins/entity-plugins/wrap-code.plugin.d.ts +0 -6
  795. package/engine/entities/plugins/entity-plugins/wrap-code.plugin.js +0 -20
  796. package/engine/entities/plugins/entity-plugins/wrap-code.plugin.js.map +0 -1
  797. package/engine/entities/plugins/helpers/execute-plugins.d.ts +0 -10
  798. package/engine/entities/plugins/helpers/execute-plugins.js +0 -17
  799. package/engine/entities/plugins/helpers/execute-plugins.js.map +0 -1
  800. package/engine/entities/plugins/helpers/index.d.ts +0 -1
  801. package/engine/entities/plugins/helpers/index.js +0 -5
  802. package/engine/entities/plugins/helpers/index.js.map +0 -1
  803. package/engine/entities/plugins/index.d.ts +0 -3
  804. package/engine/entities/plugins/index.js +0 -7
  805. package/engine/entities/plugins/index.js.map +0 -1
  806. package/engine/entities/plugins/types/entity-plugin.d.ts +0 -5
  807. package/engine/entities/plugins/types/entity-plugin.js.map +0 -1
  808. package/engine/entities/plugins/types/index.d.ts +0 -1
  809. package/engine/entities/plugins/types/index.js.map +0 -1
  810. package/engine/entities/routes.entity.d.ts +0 -11
  811. package/engine/entities/routes.entity.js +0 -37
  812. package/engine/entities/routes.entity.js.map +0 -1
  813. package/engine/entity-emitter.d.ts +0 -18
  814. package/engine/entity-emitter.js +0 -49
  815. package/engine/entity-emitter.js.map +0 -1
  816. package/engine/entity-store.d.ts +0 -19
  817. package/engine/entity-store.js +0 -82
  818. package/engine/entity-store.js.map +0 -1
  819. package/engine/functions/build-candidates.d.ts +0 -10
  820. package/engine/functions/build-candidates.js +0 -47
  821. package/engine/functions/build-candidates.js.map +0 -1
  822. package/engine/functions/if-not-cached-or-invalid.d.ts +0 -9
  823. package/engine/functions/if-not-cached-or-invalid.js +0 -18
  824. package/engine/functions/if-not-cached-or-invalid.js.map +0 -1
  825. package/engine/functions/index.d.ts +0 -2
  826. package/engine/functions/index.js +0 -6
  827. package/engine/functions/index.js.map +0 -1
  828. package/engine/ts-doc-formatter.d.ts +0 -5
  829. package/engine/ts-doc-formatter.js +0 -29
  830. package/engine/ts-doc-formatter.js.map +0 -1
  831. package/helpers/build-entity-keyword.d.ts +0 -10
  832. package/helpers/build-entity-keyword.js +0 -27
  833. package/helpers/build-entity-keyword.js.map +0 -1
  834. package/helpers/demo/assets-from-component-asset.d.ts +0 -6
  835. package/helpers/demo/assets-from-component-asset.js +0 -13
  836. package/helpers/demo/assets-from-component-asset.js.map +0 -1
  837. package/helpers/entity-type.d.ts +0 -51
  838. package/helpers/entity-type.js +0 -80
  839. package/helpers/entity-type.js.map +0 -1
  840. package/helpers/extract-docs.d.ts +0 -20
  841. package/helpers/extract-docs.js +0 -78
  842. package/helpers/extract-docs.js.map +0 -1
  843. package/helpers/extract-path-anchor.d.ts +0 -7
  844. package/helpers/extract-path-anchor.js +0 -17
  845. package/helpers/extract-path-anchor.js.map +0 -1
  846. package/helpers/generate-api-entities.d.ts +0 -6
  847. package/helpers/generate-api-entities.js +0 -68
  848. package/helpers/generate-api-entities.js.map +0 -1
  849. package/helpers/get-demo-class-declarations.js.map +0 -1
  850. package/helpers/get-entity-constructor.d.ts +0 -7
  851. package/helpers/get-entity-constructor.js +0 -24
  852. package/helpers/get-entity-constructor.js.map +0 -1
  853. package/helpers/get-keyword-type-from-entity.d.ts +0 -7
  854. package/helpers/get-keyword-type-from-entity.js +0 -20
  855. package/helpers/get-keyword-type-from-entity.js.map +0 -1
  856. package/helpers/get-page-type.d.ts +0 -7
  857. package/helpers/get-page-type.js +0 -12
  858. package/helpers/get-page-type.js.map +0 -1
  859. package/helpers/is-not-excluded-path.d.ts +0 -6
  860. package/helpers/is-not-excluded-path.js +0 -15
  861. package/helpers/is-not-excluded-path.js.map +0 -1
  862. package/helpers/keyword-key.d.ts +0 -5
  863. package/helpers/keyword-key.js.map +0 -1
  864. package/helpers/process-html.d.ts +0 -13
  865. package/helpers/process-html.js +0 -43
  866. package/helpers/process-html.js.map +0 -1
  867. package/helpers/typescript/exclude-by-ts-docs-tags.d.ts +0 -7
  868. package/helpers/typescript/exclude-by-ts-docs-tags.js +0 -17
  869. package/helpers/typescript/exclude-by-ts-docs-tags.js.map +0 -1
  870. package/helpers/unique-name.d.ts +0 -5
  871. package/helpers/unique-name.js +0 -21
  872. package/helpers/unique-name.js.map +0 -1
  873. package/interfaces/build-result.d.ts +0 -10
  874. package/interfaces/build-result.js.map +0 -1
  875. package/operators/buffer-until-once.d.ts +0 -6
  876. package/operators/buffer-until-once.js +0 -14
  877. package/operators/buffer-until-once.js.map +0 -1
  878. package/operators/error-handler.d.ts +0 -7
  879. package/operators/error-handler.js +0 -20
  880. package/operators/error-handler.js.map +0 -1
  881. package/operators/fork-join-or-empty.d.ts +0 -6
  882. package/operators/fork-join-or-empty.js +0 -12
  883. package/operators/fork-join-or-empty.js.map +0 -1
  884. package/schematics/ng-update/steps/update-angular-json.d.ts +0 -4
  885. package/schematics/ng-update/steps/update-angular-json.js +0 -73
  886. package/schematics/ng-update/steps/update-angular-json.js.map +0 -1
  887. package/schematics/ng-update/steps/update-git-ignore.js +0 -21
  888. package/schematics/ng-update/steps/update-git-ignore.js.map +0 -1
  889. package/schematics/ng-update/steps/update-ts-config.d.ts +0 -5
  890. package/schematics/ng-update/steps/update-ts-config.js +0 -38
  891. package/schematics/ng-update/steps/update-ts-config.js.map +0 -1
  892. package/schematics/page/files/ng-doc.module.ts.template +0 -9
  893. package/templates/api/class.html.nunj +0 -96
  894. package/templates/api/function.html.nunj +0 -20
  895. package/templates/api/interface.html.nunj +0 -46
  896. package/templates/api/type-alias.html.nunj +0 -10
  897. package/templates/api/variable.html.nunj +0 -10
  898. package/templates/api-page.ts.nunj +0 -41
  899. package/templates/routing.ts.nunj +0 -11
  900. package/types/supported-declarations.d.ts +0 -2
  901. package/types/supported-declarations.js +0 -3
  902. package/types/supported-declarations.js.map +0 -1
  903. /package/engine/{entities/cache → cache}/cache.d.ts +0 -0
  904. /package/engine/{entities/cache → cache}/cached-files-initializer.d.ts +0 -0
  905. /package/engine/{entities/cache → cache}/cached-props-initializer.d.ts +0 -0
  906. /package/engine/{entities/cache → cache}/decorators/cached-entity.d.ts +0 -0
  907. /package/engine/{entities/cache → cache}/decorators/cached-files-getter.d.ts +0 -0
  908. /package/engine/{entities/cache → cache}/decorators/cached-files-getter.js +0 -0
  909. /package/engine/{entities/cache → cache}/decorators/cached-property.d.ts +0 -0
  910. /package/engine/{entities/cache → cache}/decorators/cached-property.js +0 -0
  911. /package/engine/{entities/cache → cache}/decorators/index.d.ts +0 -0
  912. /package/engine/{entities/cache → cache}/decorators/index.js +0 -0
  913. /package/engine/{entities/cache → cache}/helpers/create-cache-for-file.d.ts +0 -0
  914. /package/engine/{entities/cache → cache}/helpers/create-cache-for-file.js +0 -0
  915. /package/engine/{entities/cache → cache}/helpers/get-cache-dir-path.d.ts +0 -0
  916. /package/engine/{entities/cache → cache}/helpers/get-cache-file-path.d.ts +0 -0
  917. /package/engine/{entities/cache → cache}/helpers/get-cache-file-path.js +0 -0
  918. /package/engine/{entities/cache → cache}/helpers/index.d.ts +0 -0
  919. /package/engine/{entities/cache → cache}/helpers/index.js +0 -0
  920. /package/engine/{entities/cache → cache}/helpers/invalidate-cache-if-needed.d.ts +0 -0
  921. /package/engine/{entities/cache → cache}/helpers/is-cache-valid.d.ts +0 -0
  922. /package/engine/{entities/cache → cache}/helpers/load-cache.js +0 -0
  923. /package/engine/{entities/cache → cache}/helpers/update-cache.js +0 -0
  924. /package/engine/{entities/cache → cache}/index.d.ts +0 -0
  925. /package/engine/{entities/cache → cache}/index.js +0 -0
  926. /package/engine/{entities/cache → cache}/interfaces/cache-accessor.d.ts +0 -0
  927. /package/engine/{entities/cache → cache}/interfaces/cache-accessor.js +0 -0
  928. /package/engine/{entities/cache → cache}/interfaces/cached-data.js +0 -0
  929. /package/engine/{entities/cache → cache}/interfaces/index.d.ts +0 -0
  930. /package/engine/{entities/cache → cache}/interfaces/index.js +0 -0
  931. /package/helpers/{get-demo-class-declarations.d.ts → demo/get-demo-class-declarations.d.ts} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"js-doc.js","sourceRoot":"","sources":["../../../../../libs/builder/engine/nunjucks/js-doc.ts"],"names":[],"mappings":";;;AAAA,2DAAsD;AACtD,2EAAoE;AACpE,mEAA6D;AAC7D,qEAA+D;AAC/D,+CAA2C;AAE3C;;;GAGG;AACH,MAAa,KAAM,SAAQ,wBAAU;IACnC,WAAW,CAAC,eAAuB;QACjC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAA,2BAAW,EAAC,eAAe,CAAC,CAAC,CAAC,MAAM,CAAC;IAC3D,CAAC;IAED,GAAG,CAAC,eAAuB,EAAE,OAAe;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAA,kCAAc,EAAC,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC;IACvE,CAAC;IAED,IAAI,CAAC,eAAuB,EAAE,OAAe;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAA,oCAAe,EAAC,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC;IACxE,CAAC;IAED,MAAM,CAAC,eAAuB,EAAE,OAAe;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAA,yCAAiB,EAAC,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1E,CAAC;CACF;AAhBD,sBAgBC"}
@@ -5,3 +5,9 @@ import { NgDocRendererOptions } from '../../interfaces';
5
5
  * @param options - The options to render the template with.
6
6
  */
7
7
  export declare function renderTemplate<T extends object>(template: string, options?: NgDocRendererOptions<T>): string;
8
+ /**
9
+ * Renders a template string with the given options via Nunjucks.
10
+ * @param template - The template string to render.
11
+ * @param options - The options to render the template with.
12
+ */
13
+ export declare function renderTemplateString<T extends object>(template: string, options: NgDocRendererOptions<T>): string;
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.renderTemplate = renderTemplate;
4
+ exports.renderTemplateString = renderTemplateString;
4
5
  const tslib_1 = require("tslib");
5
6
  const core_1 = require("@ng-doc/core");
6
7
  const fs = tslib_1.__importStar(require("fs"));
@@ -16,9 +17,8 @@ class NgDocRelativeLoader {
16
17
  this.dependenciesStore = dependenciesStore;
17
18
  }
18
19
  getSource(name) {
19
- var _a;
20
20
  const fullPath = path.join(this.path, name);
21
- (_a = this.dependenciesStore) === null || _a === void 0 ? void 0 : _a.add(fullPath);
21
+ this.dependenciesStore?.add(fullPath);
22
22
  return {
23
23
  src: fs.readFileSync(fullPath, 'utf-8'),
24
24
  path: fullPath,
@@ -26,19 +26,36 @@ class NgDocRelativeLoader {
26
26
  };
27
27
  }
28
28
  }
29
+ /**
30
+ *
31
+ * @param scope
32
+ * @param dependencies
33
+ */
34
+ function getEnvironment(scope, dependencies) {
35
+ let environment = new nunjucks_1.Environment(new NgDocRelativeLoader(scope, dependencies), {
36
+ autoescape: false,
37
+ });
38
+ (0, core_1.objectKeys)(filters).forEach((filter) => (environment = environment.addFilter(filter, filters[filter])));
39
+ environment.addGlobal('Node', ts_morph_1.Node);
40
+ environment.addExtension('NgDocIndexExtension', new extentions_1.NgDocIndexExtension());
41
+ return environment;
42
+ }
29
43
  /**
30
44
  * Renders a template with the given options via Nunjucks.
31
45
  * @param template - The template path to render.
32
46
  * @param options - The options to render the template with.
33
47
  */
34
48
  function renderTemplate(template, options) {
35
- var _a;
36
- let environment = new nunjucks_1.Environment(new NgDocRelativeLoader((_a = options === null || options === void 0 ? void 0 : options.scope) !== null && _a !== void 0 ? _a : variables_1.TEMPLATES_PATH, options === null || options === void 0 ? void 0 : options.dependenciesStore), { autoescape: false });
37
- if ((options === null || options === void 0 ? void 0 : options.filters) !== false) {
38
- (0, core_1.objectKeys)(filters).forEach((filter) => (environment = environment.addFilter(filter, filters[filter])));
39
- environment.addGlobal('Node', ts_morph_1.Node);
40
- }
41
- environment.addExtension('NgDocIndexExtension', new extentions_1.NgDocIndexExtension());
42
- return environment.render(template, options === null || options === void 0 ? void 0 : options.context);
49
+ const environment = getEnvironment(options?.scope ?? variables_1.TEMPLATES_PATH, options?.dependencies);
50
+ return environment.render(template, options?.context);
51
+ }
52
+ /**
53
+ * Renders a template string with the given options via Nunjucks.
54
+ * @param template - The template string to render.
55
+ * @param options - The options to render the template with.
56
+ */
57
+ function renderTemplateString(template, options) {
58
+ const environment = getEnvironment(options?.scope ?? variables_1.TEMPLATES_PATH, options?.dependencies);
59
+ return environment.renderString(template, options?.context ?? {});
43
60
  }
44
61
  //# sourceMappingURL=render-template.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"render-template.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C,CAAC,CAAC,CAC/D,CAAC;QAEF,WAAW,CAAC,SAAS,CAAC,MAAM,EAAE,eAAI,CAAC,CAAC;IACrC,CAAC;IACD,WAAW,CAAC,YAAY,CAAC,qBAAqB,EAAE,IAAI,gCAAmB,EAAE,CAAC,CAAC;IAE3E,OAAO,WAAW,CAAC,MAAM,CAAC,QAAQ,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,CAAC,CAAC;AACvD,CAAC"}
1
+ {"version":3,"file":"render-template.js","sourceRoot":"","sources":["../../../../../libs/builder/engine/nunjucks/render-template.ts"],"names":[],"mappings":";;AAyDA,wCAUC;AAOD,oDAUC;;AApFD,uCAA0C;AAC1C,+CAAyB;AACzB,uCAA8D;AAC9D,mDAA6B;AAC7B,uCAAgC;AAIhC,4CAA8C;AAC9C,6CAAmD;AACnD,2DAAqC;AAErC,MAAM,mBAAmB;IACvB,YACmB,IAAY,EACZ,iBAAyC;QADzC,SAAI,GAAJ,IAAI,CAAQ;QACZ,sBAAiB,GAAjB,iBAAiB,CAAwB;IACzD,CAAC;IAEJ,SAAS,CAAC,IAAY;QACpB,MAAM,QAAQ,GAAW,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAEpD,IAAI,CAAC,iBAAiB,EAAE,GAAG,CAAC,QAAQ,CAAC,CAAC;QAEtC,OAAO;YACL,GAAG,EAAE,EAAE,CAAC,YAAY,CAAC,QAAQ,EAAE,OAAO,CAAC;YACvC,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,IAAI;SACd,CAAC;IACJ,CAAC;CACF;AAED;;;;GAIG;AACH,SAAS,cAAc,CAAC,KAAa,EAAE,YAAoC;IACzE,IAAI,WAAW,GAAgB,IAAI,sBAAW,CAAC,IAAI,mBAAmB,CAAC,KAAK,EAAE,YAAY,CAAC,EAAE;QAC3F,UAAU,EAAE,KAAK;KAClB,CAAC,CAAC;IAEH,IAAA,iBAAU,EAAC,OAAO,CAAC,CAAC,OAAO,CACzB,CAAC,MAA4B,EAAE,EAAE,CAC/B,CAAC,WAAW,GAAG,WAAW,CAAC,SAAS,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CACjE,CAAC;IAEF,WAAW,CAAC,SAAS,CAAC,MAAM,EAAE,eAAI,CAAC,CAAC;IACpC,WAAW,CAAC,YAAY,CAAC,qBAAqB,EAAE,IAAI,gCAAmB,EAAE,CAAC,CAAC;IAE3E,OAAO,WAAW,CAAC;AACrB,CAAC;AAED;;;;GAIG;AACH,SAAgB,cAAc,CAC5B,QAAgB,EAChB,OAAiC;IAEjC,MAAM,WAAW,GAAgB,cAAc,CAC7C,OAAO,EAAE,KAAK,IAAI,0BAAc,EAChC,OAAO,EAAE,YAAY,CACtB,CAAC;IAEF,OAAO,WAAW,CAAC,MAAM,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;AACxD,CAAC;AAED;;;;GAIG;AACH,SAAgB,oBAAoB,CAClC,QAAgB,EAChB,OAAgC;IAEhC,MAAM,WAAW,GAAgB,cAAc,CAC7C,OAAO,EAAE,KAAK,IAAI,0BAAc,EAChC,OAAO,EAAE,YAAY,CACtB,CAAC;IAEF,OAAO,WAAW,CAAC,YAAY,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,IAAI,EAAE,CAAC,CAAC;AACpE,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ *
3
+ * @param content
4
+ */
5
+ export declare function transformIndexHtml(content: string): Promise<string>;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.transformIndexHtml = transformIndexHtml;
4
+ const tslib_1 = require("tslib");
5
+ const fs_1 = tslib_1.__importDefault(require("fs"));
6
+ const path_1 = tslib_1.__importDefault(require("path"));
7
+ /**
8
+ *
9
+ * @param content
10
+ */
11
+ async function transformIndexHtml(content) {
12
+ const script = await fs_1.default.promises.readFile(path_1.default.join(__dirname, '../scripts/restore-theme.js'), 'utf-8');
13
+ return content.replace(/<head>/, `<head><script>${script}</script>`);
14
+ }
15
+ //# sourceMappingURL=transform-index-html.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transform-index-html.js","sourceRoot":"","sources":["../../../../libs/builder/engine/transform-index-html.ts"],"names":[],"mappings":";;AAOA,gDAOC;;AAdD,oDAAoB;AACpB,wDAAwB;AAExB;;;GAGG;AACI,KAAK,UAAU,kBAAkB,CAAC,OAAe;IACtD,MAAM,MAAM,GAAG,MAAM,YAAE,CAAC,QAAQ,CAAC,QAAQ,CACvC,cAAI,CAAC,IAAI,CAAC,SAAS,EAAE,6BAA6B,CAAC,EACnD,OAAO,CACR,CAAC;IAEF,OAAO,OAAO,CAAC,OAAO,CAAC,QAAQ,EAAE,iBAAiB,MAAM,WAAW,CAAC,CAAC;AACvE,CAAC"}
package/engine/watcher.js CHANGED
@@ -23,7 +23,7 @@ class NgDocWatcher {
23
23
  this.add$ = new rxjs_1.Subject();
24
24
  this.unlink$ = new rxjs_1.Subject();
25
25
  this.ready$ = new rxjs_1.ReplaySubject(1);
26
- this.watcher = chokidar.watch(files !== null && files !== void 0 ? files : [], {
26
+ this.watcher = chokidar.watch(files ?? [], {
27
27
  /* `useFsEvents` causes problems on Mac when chokidar doesn't fire `unlink` event if the file has been moved */
28
28
  useFsEvents: false,
29
29
  });
@@ -1 +1 @@
1
- {"version":3,"file":"watcher.js","sourceRoot":"","sources":["../../../../libs/builder/engine/watcher.ts"],"names":[],"mappings":";;;;AAAA,2DAAqC;AACrC,yCAAsC;AACtC,+BAA0D;AAC1D,8CAA6C;AAE7C,wCAAyC;AACzC,4CAA8C;AAE9C;;;;;GAKG;AACH,SAAS,eAAe,CAAC,OAA2B,EAAE,QAAkB;IACvE,OAAO,OAAO,CAAC,IAAI,CAClB,IAAA,0BAAc,EAAC,EAAE,CAAC,EAClB,IAAA,eAAG,EAAC,CAAC,KAAe,EAAE,EAAE,CACvB,KAAK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,EAAE,WAAW,CAAC,CAAC;IACnD,CAAC;IAED,OAAO;QACN,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,EAAE,CAAC;IACnC,CAAC;IAED,KAAK;QACJ,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IACtB,CAAC;CACD;AA7CD,oCA6CC"}
@@ -1,7 +1,9 @@
1
+ import { NgDocStyleType } from '@ng-doc/core';
1
2
  import { ClassDeclaration } from 'ts-morph';
2
3
  import { NgDocAsset } from '../../interfaces';
3
4
  /**
4
5
  * Creates an array of assets from a component source file.
5
6
  * @param cls - The class declaration.
7
+ * @param inlineStyleLanguage
6
8
  */
7
- export declare function getComponentAssets(cls: ClassDeclaration): NgDocAsset[];
9
+ export declare function getDemoAssets(cls: ClassDeclaration, inlineStyleLanguage: NgDocStyleType): NgDocAsset[];
@@ -1,13 +1,30 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getComponentAssets = getComponentAssets;
3
+ exports.getDemoAssets = getDemoAssets;
4
+ const builder_1 = require("@ng-doc/builder");
4
5
  const build_file_assets_1 = require("../build-file-assets");
6
+ const remove_lines_from_code_1 = require("../remove-lines-from-code");
7
+ const snippets_from_asset_1 = require("../snippets-from-asset");
5
8
  const get_component_source_files_1 = require("./get-component-source-files");
6
9
  /**
7
10
  * Creates an array of assets from a component source file.
8
11
  * @param cls - The class declaration.
12
+ * @param inlineStyleLanguage
9
13
  */
10
- function getComponentAssets(cls) {
11
- return (0, get_component_source_files_1.getComponentSourceFiles)(cls).map((filePath) => (0, build_file_assets_1.buildFileAsset)(filePath));
14
+ function getDemoAssets(cls, inlineStyleLanguage) {
15
+ const assets = (0, get_component_source_files_1.getComponentSourceFiles)(cls)
16
+ .map((filePath) => (0, build_file_assets_1.buildFileAsset)(filePath))
17
+ .map((asset) => {
18
+ const snippets = (0, snippets_from_asset_1.snippetsFromAsset)(asset, inlineStyleLanguage);
19
+ return snippets.length ? snippets : [asset];
20
+ })
21
+ .flat()
22
+ .map((asset) => ({
23
+ ...asset,
24
+ code: (0, builder_1.renderTemplate)('./code.html.nunj', {
25
+ context: { code: (0, remove_lines_from_code_1.removeLinesFromCode)(asset.code), lang: asset.lang || 'ts' },
26
+ }).trim(),
27
+ }));
28
+ return assets;
12
29
  }
13
30
  //# sourceMappingURL=get-component-assets.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-component-assets.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/get-component-assets.ts"],"names":[],"mappings":";;AAUA,gDAEC;AATD,4DAAsD;AACtD,6EAAuE;AAEvE;;;GAGG;AACH,SAAgB,kBAAkB,CAAC,GAAqB;IACvD,OAAO,IAAA,oDAAuB,EAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,QAAgB,EAAE,EAAE,CAAC,IAAA,kCAAc,EAAC,QAAQ,CAAC,CAAC,CAAC;AACzF,CAAC"}
1
+ {"version":3,"file":"get-component-assets.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/get-component-assets.ts"],"names":[],"mappings":";;AAeA,sCAoBC;AAnCD,6CAAiD;AAKjD,4DAAsD;AACtD,sEAAgE;AAChE,gEAA2D;AAC3D,6EAAuE;AAEvE;;;;GAIG;AACH,SAAgB,aAAa,CAC3B,GAAqB,EACrB,mBAAmC;IAEnC,MAAM,MAAM,GAAG,IAAA,oDAAuB,EAAC,GAAG,CAAC;SACxC,GAAG,CAAC,CAAC,QAAgB,EAAE,EAAE,CAAC,IAAA,kCAAc,EAAC,QAAQ,CAAC,CAAC;SACnD,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE;QACb,MAAM,QAAQ,GAAG,IAAA,uCAAiB,EAAC,KAAK,EAAE,mBAAmB,CAAC,CAAC;QAE/D,OAAO,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAC9C,CAAC,CAAC;SACD,IAAI,EAAE;SACN,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACf,GAAG,KAAK;QACR,IAAI,EAAE,IAAA,wBAAc,EAAC,kBAAkB,EAAE;YACvC,OAAO,EAAE,EAAE,IAAI,EAAE,IAAA,4CAAmB,EAAC,KAAK,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,IAAI,IAAI,EAAE;SAC7E,CAAC,CAAC,IAAI,EAAE;KACV,CAAC,CAAC,CAAC;IAEN,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -10,7 +10,7 @@ const typescript_1 = require("../typescript");
10
10
  */
11
11
  function getComponentDecorator(cls) {
12
12
  const decorator = cls.getDecorator('Component');
13
- const decoratorArgument = decorator === null || decorator === void 0 ? void 0 : decorator.getArguments()[0];
13
+ const decoratorArgument = decorator?.getArguments()[0];
14
14
  if (ts_morph_1.Node.isObjectLiteralExpression(decoratorArgument)) {
15
15
  const standaloneProperty = decoratorArgument.getProperty('standalone');
16
16
  const selectorProperty = decoratorArgument.getProperty('selector');
@@ -1 +1 @@
1
- {"version":3,"file":"get-component-decorator.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/get-component-decorator.ts"],"names":[],"mappings":";;AAUA,sDA0BC;AAnCD,uCAAuF;AAEvF,4DAAwD;AACxD,8CAAsD;AAEtD;;;GAGG;AACH,SAAgB,qBAAqB,CAAC,GAAqB;IAC1D,MAAM,SAAS,GAA0B,GAAG,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC;IACvE,MAAM,iBAAiB,GAAqB,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,YAAY,GAAG,CAAC,CAAC,CAAC;IAEzE,IAAI,eAAI,CAAC,yBAAyB,CAAC,iBAAiB,CAAC,EAAE,CAAC;QACvD,MAAM,kBAAkB,GACvB,iBAAiB,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;QAC7C,MAAM,gBAAgB,GACrB,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;QAC3C,MAAM,gBAAgB,GACrB,iBAAiB,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;QAC9C,MAAM,gBAAgB,GACrB,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;QAC3C,MAAM,iBAAiB,GACtB,iBAAiB,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;QAE5C,OAAO;YACN,UAAU,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,kBAAkB,CAAC,CAAC;YACvE,QAAQ,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,gBAAgB,CAAC,CAAC;YACnE,WAAW,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,gBAAgB,CAAC,CAAC;YACtE,QAAQ,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,gBAAgB,CAAC,CAAC;YACnE,SAAS,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,iBAAiB,CAAC,CAAC;SACrE,CAAC;IACH,CAAC;IAED,OAAO,SAAS,CAAC;AAClB,CAAC"}
1
+ {"version":3,"file":"get-component-decorator.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/get-component-decorator.ts"],"names":[],"mappings":";;AAUA,sDA0BC;AAnCD,uCAAuF;AAEvF,4DAAwD;AACxD,8CAAsD;AAEtD;;;GAGG;AACH,SAAgB,qBAAqB,CAAC,GAAqB;IACzD,MAAM,SAAS,GAA0B,GAAG,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC;IACvE,MAAM,iBAAiB,GAAqB,SAAS,EAAE,YAAY,EAAE,CAAC,CAAC,CAAC,CAAC;IAEzE,IAAI,eAAI,CAAC,yBAAyB,CAAC,iBAAiB,CAAC,EAAE,CAAC;QACtD,MAAM,kBAAkB,GACtB,iBAAiB,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;QAC9C,MAAM,gBAAgB,GACpB,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;QAC5C,MAAM,gBAAgB,GACpB,iBAAiB,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;QAC/C,MAAM,gBAAgB,GACpB,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;QAC5C,MAAM,iBAAiB,GACrB,iBAAiB,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;QAE7C,OAAO;YACL,UAAU,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,kBAAkB,CAAC,CAAC;YACvE,QAAQ,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,gBAAgB,CAAC,CAAC;YACnE,WAAW,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,gBAAgB,CAAC,CAAC;YACtE,QAAQ,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,gBAAgB,CAAC,CAAC;YACnE,SAAS,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,iBAAiB,CAAC,CAAC;SACtE,CAAC;IACJ,CAAC;IAED,OAAO,SAAS,CAAC;AACnB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-component-inputs.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/get-component-inputs.ts"],"names":[],"mappings":";;AAeA,gDAwBC;AAhCD,yEAAoE;AACpE,yCAA4D;AAE5D;;;;GAIG;AACH,SAAgB,kBAAkB,CAAC,GAAqB;IACvD,MAAM,UAAU,GAAuC,IAAI,GAAG,EAAE,CAAC;IAEjE,IAAA,+BAAa,EAAC,GAAG,EAAE,CAAC,CAAmB,EAAE,EAAE;QAC1C,CAAC,CAAC,aAAa,EAAE,CAAC,OAAO,CAAC,CAAC,CAAsB,EAAE,EAAE;YACpD,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,IAAI,IAAA,kBAAO,EAAC,CAAC,CAAC,EAAE,CAAC;gBAChD,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;YAChC,CAAC;QACF,CAAC,CAAC,CAAC;QAEH,CAAC,CAAC,eAAe,EAAE,CAAC,OAAO,CAAC,CAAC,CAAyB,EAAE,EAAE;YACzD,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,IAAI,IAAA,kBAAO,EAAC,CAAC,CAAC,EAAE,CAAC;gBAChD,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;YAChC,CAAC;QACF,CAAC,CAAC,CAAC;QAEH,CAAC,CAAC,eAAe,EAAE,CAAC,OAAO,CAAC,CAAC,CAAyB,EAAE,EAAE;YACzD,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,IAAI,IAAA,kBAAO,EAAC,CAAC,CAAC,EAAE,CAAC;gBAChD,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;YAChC,CAAC;QACF,CAAC,CAAC,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,OAAO,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC,CAAC;AACxC,CAAC"}
1
+ {"version":3,"file":"get-component-inputs.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/get-component-inputs.ts"],"names":[],"mappings":";;AAeA,gDAwBC;AAhCD,yEAAoE;AACpE,yCAA4D;AAE5D;;;;GAIG;AACH,SAAgB,kBAAkB,CAAC,GAAqB;IACtD,MAAM,UAAU,GAAuC,IAAI,GAAG,EAAE,CAAC;IAEjE,IAAA,+BAAa,EAAC,GAAG,EAAE,CAAC,CAAmB,EAAE,EAAE;QACzC,CAAC,CAAC,aAAa,EAAE,CAAC,OAAO,CAAC,CAAC,CAAsB,EAAE,EAAE;YACnD,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,IAAI,IAAA,kBAAO,EAAC,CAAC,CAAC,EAAE,CAAC;gBAC/C,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;YACjC,CAAC;QACH,CAAC,CAAC,CAAC;QAEH,CAAC,CAAC,eAAe,EAAE,CAAC,OAAO,CAAC,CAAC,CAAyB,EAAE,EAAE;YACxD,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,IAAI,IAAA,kBAAO,EAAC,CAAC,CAAC,EAAE,CAAC;gBAC/C,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;YACjC,CAAC;QACH,CAAC,CAAC,CAAC;QAEH,CAAC,CAAC,eAAe,EAAE,CAAC,OAAO,CAAC,CAAC,CAAyB,EAAE,EAAE;YACxD,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,IAAI,IAAA,kBAAO,EAAC,CAAC,CAAC,EAAE,CAAC;gBAC/C,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC;YACjC,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,OAAO,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE,CAAC,CAAC;AACzC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-component-source-files.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/get-component-source-files.ts"],"names":[],"mappings":";;AAWA,0DAiBC;;AA3BD,uCAAuC;AACvC,wDAAwB;AAGxB,uEAAkE;AAElE;;;GAGG;AACH,SAAgB,uBAAuB,CAAC,GAAqB;IAC5D,MAAM,aAAa,GAA0B,IAAA,+CAAqB,EAAC,GAAG,CAAC,CAAC;IAExE,IAAI,aAAa,EAAE,CAAC;QACnB,MAAM,QAAQ,GAAW,GAAG,CAAC,aAAa,EAAE,CAAC,WAAW,EAAE,CAAC;QAC3D,MAAM,OAAO,GAAW,cAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAE/C,OAAO,IAAA,cAAO,EACb,QAAQ,EACR,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,cAAI,CAAC,IAAI,CAAC,OAAO,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE,EAC9E,IAAA,cAAO,EAAC,aAAa,CAAC,SAAS,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,QAAgB,EAAE,EAAE,CACjF,cAAI,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,CAC5B,CACD,CAAC;IACH,CAAC;IAED,OAAO,EAAE,CAAC;AACX,CAAC"}
1
+ {"version":3,"file":"get-component-source-files.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/get-component-source-files.ts"],"names":[],"mappings":";;AAWA,0DAiBC;;AA3BD,uCAAuC;AACvC,wDAAwB;AAGxB,uEAAkE;AAElE;;;GAGG;AACH,SAAgB,uBAAuB,CAAC,GAAqB;IAC3D,MAAM,aAAa,GAA0B,IAAA,+CAAqB,EAAC,GAAG,CAAC,CAAC;IAExE,IAAI,aAAa,EAAE,CAAC;QAClB,MAAM,QAAQ,GAAW,GAAG,CAAC,aAAa,EAAE,CAAC,WAAW,EAAE,CAAC;QAC3D,MAAM,OAAO,GAAW,cAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAE/C,OAAO,IAAA,cAAO,EACZ,QAAQ,EACR,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,cAAI,CAAC,IAAI,CAAC,OAAO,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE,EAC9E,IAAA,cAAO,EAAC,aAAa,CAAC,SAAS,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,QAAgB,EAAE,EAAE,CAChF,cAAI,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,CAC7B,CACF,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,CAAC;AACZ,CAAC"}
@@ -10,7 +10,7 @@ const typescript_1 = require("../typescript");
10
10
  */
11
11
  function getDirectiveDecorator(cls) {
12
12
  const decorator = cls.getDecorator('Directive');
13
- const decoratorArgument = decorator === null || decorator === void 0 ? void 0 : decorator.getArguments()[0];
13
+ const decoratorArgument = decorator?.getArguments()[0];
14
14
  if (ts_morph_1.Node.isObjectLiteralExpression(decoratorArgument)) {
15
15
  const standaloneProperty = decoratorArgument.getProperty('standalone');
16
16
  const selectorProperty = decoratorArgument.getProperty('selector');
@@ -1 +1 @@
1
- {"version":3,"file":"get-directive-decorator.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/get-directive-decorator.ts"],"names":[],"mappings":";;AAUA,sDAiBC;AA1BD,uCAAuF;AAEvF,4DAAwD;AACxD,8CAAsD;AAEtD;;;GAGG;AACH,SAAgB,qBAAqB,CAAC,GAAqB;IAC1D,MAAM,SAAS,GAA0B,GAAG,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC;IACvE,MAAM,iBAAiB,GAAqB,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,YAAY,GAAG,CAAC,CAAC,CAAC;IAEzE,IAAI,eAAI,CAAC,yBAAyB,CAAC,iBAAiB,CAAC,EAAE,CAAC;QACvD,MAAM,kBAAkB,GACvB,iBAAiB,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;QAC7C,MAAM,gBAAgB,GACrB,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;QAE3C,OAAO;YACN,UAAU,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,kBAAkB,CAAC,CAAC;YACvE,QAAQ,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,gBAAgB,CAAC,CAAC;SACnE,CAAC;IACH,CAAC;IAED,OAAO,SAAS,CAAC;AAClB,CAAC"}
1
+ {"version":3,"file":"get-directive-decorator.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/get-directive-decorator.ts"],"names":[],"mappings":";;AAUA,sDAiBC;AA1BD,uCAAuF;AAEvF,4DAAwD;AACxD,8CAAsD;AAEtD;;;GAGG;AACH,SAAgB,qBAAqB,CAAC,GAAqB;IAC1D,MAAM,SAAS,GAA0B,GAAG,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC;IACvE,MAAM,iBAAiB,GAAqB,SAAS,EAAE,YAAY,EAAE,CAAC,CAAC,CAAC,CAAC;IAEzE,IAAI,eAAI,CAAC,yBAAyB,CAAC,iBAAiB,CAAC,EAAE,CAAC;QACvD,MAAM,kBAAkB,GACvB,iBAAiB,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;QAC7C,MAAM,gBAAgB,GACrB,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;QAE3C,OAAO;YACN,UAAU,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,kBAAkB,CAAC,CAAC;YACvE,QAAQ,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,gBAAgB,CAAC,CAAC;SACnE,CAAC;IACH,CAAC;IAED,OAAO,SAAS,CAAC;AAClB,CAAC"}
@@ -8,9 +8,8 @@ const is_input_1 = require("./is-input");
8
8
  * @param property - The property declaration
9
9
  */
10
10
  function getInputName(property) {
11
- var _a, _b;
12
11
  if ((0, is_input_1.isInputDecorator)(property)) {
13
- const inputArgument = (_a = property.getDecorator('Input')) === null || _a === void 0 ? void 0 : _a.getArguments()[0];
12
+ const inputArgument = property.getDecorator('Input')?.getArguments()[0];
14
13
  if (ts_morph_1.Node.isStringLiteral(inputArgument)) {
15
14
  return inputArgument.getLiteralText().replace(/^["']|['"]$/g, '');
16
15
  }
@@ -24,11 +23,11 @@ function getInputName(property) {
24
23
  }
25
24
  }
26
25
  if ((0, is_input_1.isInputSignal)(property)) {
27
- const typeDeclaration = (_b = property.getType().getSymbol()) === null || _b === void 0 ? void 0 : _b.getDeclarations()[0];
26
+ const typeDeclaration = property.getType().getSymbol()?.getDeclarations()[0];
28
27
  if (ts_morph_1.Node.isInterfaceDeclaration(typeDeclaration) && ts_morph_1.Node.isPropertyDeclaration(property)) {
29
28
  const inputInitializer = property.getInitializerIfKind(ts_morph_1.SyntaxKind.CallExpression);
30
- const argumentsIndex = (inputInitializer === null || inputInitializer === void 0 ? void 0 : inputInitializer.getExpression().getText()) === 'input.required' ? 0 : 1;
31
- const objectExpression = inputInitializer === null || inputInitializer === void 0 ? void 0 : inputInitializer.getArguments()[argumentsIndex];
29
+ const argumentsIndex = inputInitializer?.getExpression().getText() === 'input.required' ? 0 : 1;
30
+ const objectExpression = inputInitializer?.getArguments()[argumentsIndex];
32
31
  if (ts_morph_1.Node.isObjectLiteralExpression(objectExpression)) {
33
32
  const inputAliasProperty = objectExpression.getProperty('alias');
34
33
  if (ts_morph_1.Node.isPropertyAssignment(inputAliasProperty)) {
@@ -1 +1 @@
1
- {"version":3,"file":"get-input-name.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/get-input-name.ts"],"names":[],"mappings":";;AAQA,oCAyCC;AAjDD,uCAA4C;AAE5C,yCAAoF;AAEpF;;;GAGG;AACH,SAAgB,YAAY,CAAC,QAA+B;;IAC3D,IAAI,IAAA,2BAAgB,EAAC,QAAQ,CAAC,EAAE,CAAC;QAChC,MAAM,aAAa,GAAG,MAAA,QAAQ,CAAC,YAAY,CAAC,OAAO,CAAC,0CAAE,YAAY,GAAG,CAAC,CAAC,CAAC;QAExE,IAAI,eAAI,CAAC,eAAe,CAAC,aAAa,CAAC,EAAE,CAAC;YACzC,OAAO,aAAa,CAAC,cAAc,EAAE,CAAC,OAAO,CAAC,cAAc,EAAE,EAAE,CAAC,CAAC;QACnE,CAAC;QAED,IAAI,e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M,gBAAgB,GAAG,QAAQ,CAAC,oBAAoB,CAAC,qBAAU,CAAC,cAAc,CAAC,CAAC;YAClF,MAAM,cAAc,GAClB,gBAAgB,EAAE,aAAa,EAAE,CAAC,OAAO,EAAE,KAAK,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAC3E,MAAM,gBAAgB,GAAG,gBAAgB,EAAE,YAAY,EAAE,CAAC,cAAc,CAAC,CAAC;YAE1E,IAAI,eAAI,CAAC,yBAAyB,CAAC,gBAAgB,CAAC,EAAE,CAAC;gBACrD,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;gBAEjE,IAAI,eAAI,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,EAAE,CAAC;oBAClD,OAAO,kBAAkB;yBACtB,2BAA2B,CAAC,qBAAU,CAAC,aAAa,CAAC;yBACrD,cAAc,EAAE,CAAC;gBACtB,CAAC;YACH,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,QAAQ,CAAC,OAAO,EAAE,CAAC;AAC5B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"get-input-type.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/get-input-type.ts"],"names":[],"mappings":";;AAQA,oCAEC;AARD,yCAAkE;AAElE;;;GAGG;AACH,SAAgB,YAAY,CAAC,CAAwB;IACpD,OAAO,IAAA,wBAAa,EAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;AAC3E,CAAC"}
1
+ {"version":3,"file":"get-input-type.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/get-input-type.ts"],"names":[],"mappings":";;AAQA,oCAEC;AARD,yCAAkE;AAElE;;;GAGG;AACH,SAAgB,YAAY,CAAC,CAAwB;IACnD,OAAO,IAAA,wBAAa,EAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;AAC5E,CAAC"}
@@ -10,7 +10,7 @@ const typescript_1 = require("../typescript");
10
10
  */
11
11
  function getPipeDecorator(cls) {
12
12
  const decorator = cls.getDecorator('Pipe');
13
- const decoratorArgument = decorator === null || decorator === void 0 ? void 0 : decorator.getArguments()[0];
13
+ const decoratorArgument = decorator?.getArguments()[0];
14
14
  if (ts_morph_1.Node.isObjectLiteralExpression(decoratorArgument)) {
15
15
  const standaloneProperty = decoratorArgument.getProperty('standalone');
16
16
  const nameProperty = decoratorArgument.getProperty('name');
@@ -1 +1 @@
1
- {"version":3,"file":"get-pipe-decorator.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/get-pipe-decorator.ts"],"names":[],"mappings":";;AAUA,4CAiBC;AA1BD,uCAAuF;AAEvF,4DAAwD;AACxD,8CAAsD;AAEtD;;;GAGG;AACH,SAAgB,gBAAgB,CAAC,GAAqB;IACrD,MAAM,SAAS,GAA0B,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;IAClE,MAAM,iBAAiB,GAAqB,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,YAAY,GAAG,CAAC,CAAC,CAAC;IAEzE,IAAI,eAAI,CAAC,yBAAyB,CAAC,iBAAiB,CAAC,EAAE,CAAC;QACvD,MAAM,kBAAkB,GACvB,iBAAiB,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;QAC7C,MAAM,YAAY,GACjB,iBAAiB,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QAEvC,OAAO;YACN,UAAU,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,kBAAkB,CAAC,CAAC;YACvE,IAAI,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,YAAY,CAAC,CAAC;SAC3D,CAAC;IACH,CAAC;IAED,OAAO,SAAS,CAAC;AAClB,CAAC"}
1
+ {"version":3,"file":"get-pipe-decorator.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/get-pipe-decorator.ts"],"names":[],"mappings":";;AAUA,4CAiBC;AA1BD,uCAAuF;AAEvF,4DAAwD;AACxD,8CAAsD;AAEtD;;;GAGG;AACH,SAAgB,gBAAgB,CAAC,GAAqB;IACrD,MAAM,SAAS,GAA0B,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;IAClE,MAAM,iBAAiB,GAAqB,SAAS,EAAE,YAAY,EAAE,CAAC,CAAC,CAAC,CAAC;IAEzE,IAAI,eAAI,CAAC,yBAAyB,CAAC,iBAAiB,CAAC,EAAE,CAAC;QACvD,MAAM,kBAAkB,GACvB,iBAAiB,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;QAC7C,MAAM,YAAY,GACjB,iBAAiB,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QAEvC,OAAO;YACN,UAAU,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,kBAAkB,CAAC,CAAC;YACvE,IAAI,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,YAAY,CAAC,CAAC;SAC3D,CAAC;IACH,CAAC;IAED,OAAO,SAAS,CAAC;AAClB,CAAC"}
@@ -16,10 +16,9 @@ function isInput(p) {
16
16
  * @param p
17
17
  */
18
18
  function isInputSignal(p) {
19
- var _a;
20
- const typeDeclaration = (_a = p.getType().getSymbol()) === null || _a === void 0 ? void 0 : _a.getDeclarations()[0];
19
+ const typeDeclaration = p.getType().getSymbol()?.getDeclarations()[0];
21
20
  if (ts_morph_1.Node.isInterfaceDeclaration(typeDeclaration)) {
22
- return typeDeclaration.getName() === 'InputSignal';
21
+ return ['InputSignal', 'InputSignalWithTransform'].includes(typeDeclaration.getName());
23
22
  }
24
23
  return false;
25
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"is-input.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/is-input.ts"],"names":[],"mappings":";;AAgBA,0BAEC;AAMD,sCAQC;AAMD,4CAEC;AAxCD,uCAKkB;AAOlB;;;GAGG;AACH,SAAgB,OAAO,CAAC,CAAwB;IAC/C,OAAO,gBAAgB,CAAC,CAAC,CAAC,IAAI,aAAa,CAAC,CAAC,CAAC,CAAC;AAChD,CAAC;AAED;;;GAGG;AACH,SAAgB,aAAa,CAAC,CAAwB;;IACrD,MAAM,eAAe,GAAG,MAAA,CAAC,CAAC,OAAO,EAAE,CAAC,SAAS,EAAE,0CAAE,eAAe,GAAG,CAAC,CAAC,CAAC;IAEtE,IAAI,eAAI,CAAC,sBAAsB,CAAC,eAAe,CAAC,EAAE,CAAC;QAClD,OAAO,eAAe,CAAC,OAAO,EAAE,KAAK,aAAa,CAAC;IACpD,CAAC;IAED,OAAO,KAAK,CAAC;AACd,CAAC;AAED;;;GAGG;AACH,SAAgB,gBAAgB,CAAC,CAAwB;IACxD,OAAO,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;AAClC,CAAC"}
1
+ {"version":3,"file":"is-input.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/is-input.ts"],"names":[],"mappings":";;AAgBA,0BAEC;AAMD,sCAQC;AAMD,4CAEC;AAxCD,uCAKkB;AAOlB;;;GAGG;AACH,SAAgB,OAAO,CAAC,CAAwB;IAC9C,OAAO,gBAAgB,CAAC,CAAC,CAAC,IAAI,aAAa,CAAC,CAAC,CAAC,CAAC;AACjD,CAAC;AAED;;;GAGG;AACH,SAAgB,aAAa,CAAC,CAAwB;IACpD,MAAM,eAAe,GAAG,CAAC,CAAC,OAAO,EAAE,CAAC,SAAS,EAAE,EAAE,eAAe,EAAE,CAAC,CAAC,CAAC,CAAC;IAEtE,IAAI,eAAI,CAAC,sBAAsB,CAAC,eAAe,CAAC,EAAE,CAAC;QACjD,OAAO,CAAC,aAAa,EAAE,0BAA0B,CAAC,CAAC,QAAQ,CAAC,eAAe,CAAC,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;GAGG;AACH,SAAgB,gBAAgB,CAAC,CAAwB;IACvD,OAAO,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;AACnC,CAAC"}
@@ -4,4 +4,4 @@ import { ClassDeclaration } from 'ts-morph';
4
4
  * @param cls
5
5
  * @param notFoundResult
6
6
  */
7
- export declare function isStandalone(cls: ClassDeclaration, notFoundResult?: boolean): boolean;
7
+ export declare function isStandalone(cls: ClassDeclaration): boolean;
@@ -9,9 +9,8 @@ const get_pipe_decorator_1 = require("./get-pipe-decorator");
9
9
  * @param cls
10
10
  * @param notFoundResult
11
11
  */
12
- function isStandalone(cls, notFoundResult = false) {
13
- var _a, _b, _c;
14
- const decorator = (_b = (_a = (0, get_component_decorator_1.getComponentDecorator)(cls)) !== null && _a !== void 0 ? _a : (0, get_directive_decorator_1.getDirectiveDecorator)(cls)) !== null && _b !== void 0 ? _b : (0, get_pipe_decorator_1.getPipeDecorator)(cls);
15
- return (_c = decorator === null || decorator === void 0 ? void 0 : decorator.standalone) !== null && _c !== void 0 ? _c : notFoundResult;
12
+ function isStandalone(cls) {
13
+ const decorator = (0, get_component_decorator_1.getComponentDecorator)(cls) ?? (0, get_directive_decorator_1.getDirectiveDecorator)(cls) ?? (0, get_pipe_decorator_1.getPipeDecorator)(cls);
14
+ return !!decorator?.standalone;
16
15
  }
17
16
  //# sourceMappingURL=is-standalone.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"is-standalone.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/is-standalone.ts"],"names":[],"mappings":";;AAYA,oCAKC;AAdD,uEAAgE;AAChE,uEAAgE;AAChE,6DAAsD;AAEtD;;;;GAIG;AACH,SAAgB,YAAY,CAAC,GAAqB,EAAE,iBAA0B,KAAK;;IAClF,MAAM,SAAS,GACd,MAAA,MAAA,IAAA,+CAAqB,EAAC,GAAG,CAAC,mCAAI,IAAA,+CAAqB,EAAC,GAAG,CAAC,mCAAI,IAAA,qCAAgB,EAAC,GAAG,CAAC,CAAC;IAEnF,OAAO,MAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,UAAU,mCAAI,cAAc,CAAC;AAChD,CAAC"}
1
+ {"version":3,"file":"is-standalone.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/is-standalone.ts"],"names":[],"mappings":";;AAYA,oCAKC;AAdD,uEAAkE;AAClE,uEAAkE;AAClE,6DAAwD;AAExD;;;;GAIG;AACH,SAAgB,YAAY,CAAC,GAAqB;IAChD,MAAM,SAAS,GACb,IAAA,+CAAqB,EAAC,GAAG,CAAC,IAAI,IAAA,+CAAqB,EAAC,GAAG,CAAC,IAAI,IAAA,qCAAgB,EAAC,GAAG,CAAC,CAAC;IAEpF,OAAO,CAAC,CAAC,SAAS,EAAE,UAAU,CAAC;AACjC,CAAC"}
@@ -17,7 +17,7 @@ function buildFileAsset(filePath) {
17
17
  code: fileContent,
18
18
  isEmpty: !fileContent,
19
19
  filePath: variables_1.GLOBALS.relative(filePath),
20
- lang: codeType,
20
+ lang: codeType.replace('TypeScript', 'angular-ts').replace('HTML', 'angular-html'),
21
21
  };
22
22
  }
23
23
  //# sourceMappingURL=build-file-assets.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"build-file-assets.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/build-file-assets.ts"],"names":[],"mappings":";;AAWA,wCAWC;;AArBD,+CAAyB;AAEzB,mDAA8C;AAE9C,6DAAuD;AAEvD;;;GAGG;AACH,SAAgB,cAAc,CAAC,QAAgB;IAC9C,MAAM,WAAW,GAAW,EAAE,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;IACrE,MAAM,QAAQ,GAAkB,IAAA,oCAAe,EAAC,QAAQ,CAAC,CAAC;IAE1D,OAAO;QACN,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE,CAAC,WAAW;QACrB,QAAQ,EAAE,mBAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC;QACpC,IAAI,EAAE,QAAQ;KACd,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"build-file-assets.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/build-file-assets.ts"],"names":[],"mappings":";;AAWA,wCAWC;;AArBD,+CAAyB;AAEzB,mDAA8C;AAE9C,6DAAuD;AAEvD;;;GAGG;AACH,SAAgB,cAAc,CAAC,QAAgB;IAC7C,MAAM,WAAW,GAAW,EAAE,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC;IACrE,MAAM,QAAQ,GAAkB,IAAA,oCAAe,EAAC,QAAQ,CAAC,CAAC;IAE1D,OAAO;QACL,KAAK,EAAE,QAAQ;QACf,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE,CAAC,WAAW;QACrB,QAAQ,EAAE,mBAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC;QACpC,IAAI,EAAE,QAAQ,CAAC,OAAO,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,cAAc,CAAC;KACnF,CAAC;AACJ,CAAC"}
@@ -15,61 +15,58 @@ const typescript_1 = require("./typescript");
15
15
  * @param tsconfig - path to tsconfig file
16
16
  * @param outbase - path to the outbase directory
17
17
  */
18
- function buildFileEntity(sourceFile, tsconfig, outbase) {
19
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
20
- var _a, _b, _c, _d, _e, _f;
21
- let code = sourceFile.getFullText();
22
- const p = path.relative(outbase, sourceFile.getFilePath());
23
- const outPath = path.join(engine_1.CACHE_PATH, p).replace(/\.ts$/, '.mjs');
18
+ async function buildFileEntity(sourceFile, tsconfig, outbase) {
19
+ let code = sourceFile.getFullText();
20
+ const p = path.relative(outbase, sourceFile.getFilePath());
21
+ const outPath = path.join(engine_1.CACHE_PATH, p).replace(/\.ts$/, '.mjs');
22
+ /**
23
+ * Remove `imports`, `providers`, `demos` and `playgrounds` properties from the default export
24
+ * if the file is a page. This is done to prevent compiling the page dependencies
25
+ * that are not needed for the NgDoc builder to work or may cause performance issues.
26
+ */
27
+ if ((0, minimatch_1.minimatch)(p, engine_1.PAGE_PATTERN)) {
28
+ const objectLiteralExpression = (0, typescript_1.getObjectExpressionFromDefault)(sourceFile);
24
29
  /**
25
- * Remove `imports`, `providers`, `demos` and `playgrounds` properties from the default export
26
- * if the file is a page. This is done to prevent compiling the page dependencies
27
- * that are not needed for the NgDoc builder to work or may cause performance issues.
30
+ * We use regex to remove the properties because ts-morph does it slowly
28
31
  */
29
- if ((0, minimatch_1.minimatch)(p, engine_1.PAGE_PATTERN)) {
30
- const objectLiteralExpression = (0, typescript_1.getObjectExpressionFromDefault)(sourceFile);
31
- /**
32
- * We use regex to remove the properties because ts-morph does it slowly
33
- */
34
- if (objectLiteralExpression) {
35
- code = replaceCodeProperty(code, (_b = (_a = objectLiteralExpression.getProperty('imports')) === null || _a === void 0 ? void 0 : _a.getText()) !== null && _b !== void 0 ? _b : '');
36
- code = replaceCodeProperty(code, (_d = (_c = objectLiteralExpression.getProperty('providers')) === null || _c === void 0 ? void 0 : _c.getText()) !== null && _d !== void 0 ? _d : '');
37
- code = replaceCodeProperty(code, (_f = (_e = objectLiteralExpression.getProperty('demos')) === null || _e === void 0 ? void 0 : _e.getText()) !== null && _f !== void 0 ? _f : '');
38
- code = removePlaygroundTarget(code, objectLiteralExpression);
39
- if (objectLiteralExpression.getProperty('route')) {
40
- const route = objectLiteralExpression.getProperty('route');
41
- if (ts_morph_1.Node.isPropertyAssignment(route)) {
42
- const routeValue = route.getInitializer();
43
- if (ts_morph_1.Node.isObjectLiteralExpression(routeValue)) {
44
- routeValue.getProperties().forEach((prop) => {
45
- if (ts_morph_1.Node.isPropertyAssignment(prop) && prop.getName() !== 'path') {
46
- code = replaceCodeProperty(code, prop.getText());
47
- }
48
- });
49
- }
32
+ if (objectLiteralExpression) {
33
+ code = replaceCodeProperty(code, objectLiteralExpression.getProperty('imports')?.getText() ?? '');
34
+ code = replaceCodeProperty(code, objectLiteralExpression.getProperty('providers')?.getText() ?? '');
35
+ code = replaceCodeProperty(code, objectLiteralExpression.getProperty('demos')?.getText() ?? '');
36
+ code = removePlaygroundTarget(code, objectLiteralExpression);
37
+ if (objectLiteralExpression.getProperty('route')) {
38
+ const route = objectLiteralExpression.getProperty('route');
39
+ if (ts_morph_1.Node.isPropertyAssignment(route)) {
40
+ const routeValue = route.getInitializer();
41
+ if (ts_morph_1.Node.isObjectLiteralExpression(routeValue)) {
42
+ routeValue.getProperties().forEach((prop) => {
43
+ if (ts_morph_1.Node.isPropertyAssignment(prop) && prop.getName() !== 'path') {
44
+ code = replaceCodeProperty(code, prop.getText());
45
+ }
46
+ });
50
47
  }
51
48
  }
52
49
  }
53
50
  }
54
- yield esbuild.build({
55
- stdin: {
56
- contents: code,
57
- resolveDir: path.dirname(p),
58
- loader: 'ts',
59
- sourcefile: p,
60
- },
61
- tsconfig,
62
- bundle: true,
63
- format: 'esm',
64
- treeShaking: true,
65
- packages: 'external',
66
- outbase,
67
- outfile: outPath,
68
- });
69
- // Restore the file from the file system
70
- yield sourceFile.refreshFromFileSystem();
71
- return outPath;
51
+ }
52
+ await esbuild.build({
53
+ stdin: {
54
+ contents: code,
55
+ resolveDir: path.dirname(p),
56
+ loader: 'ts',
57
+ sourcefile: p,
58
+ },
59
+ tsconfig,
60
+ bundle: true,
61
+ format: 'esm',
62
+ treeShaking: true,
63
+ packages: 'external',
64
+ outbase,
65
+ outfile: outPath,
72
66
  });
67
+ // Restore the file from the file system
68
+ await sourceFile.refreshFromFileSystem();
69
+ return outPath;
73
70
  }
74
71
  /**
75
72
  *
@@ -1 +1 @@
1
- {"version":3,"file":"build-file-entity.js","sourceRoot":"","sources":["../../../../libs/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