@ng-doc/builder 16.3.6 → 16.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (252) hide show
  1. package/browser/index.js +14 -11
  2. package/browser/index.js.map +1 -1
  3. package/dev-server/index.js +5 -5
  4. package/dev-server/index.js.map +1 -1
  5. package/engine/actions/playground.action.js +9 -21
  6. package/engine/actions/playground.action.js.map +1 -1
  7. package/engine/build-ng-doc.d.ts +9 -0
  8. package/engine/build-ng-doc.js +61 -0
  9. package/engine/build-ng-doc.js.map +1 -0
  10. package/engine/builder-operators/add-build-candidates.d.ts +8 -0
  11. package/engine/builder-operators/add-build-candidates.js +27 -0
  12. package/engine/builder-operators/add-build-candidates.js.map +1 -0
  13. package/engine/builder-operators/build.d.ts +13 -0
  14. package/engine/builder-operators/build.js +20 -0
  15. package/engine/builder-operators/build.js.map +1 -0
  16. package/engine/builder-operators/collect-garbage.d.ts +8 -0
  17. package/engine/builder-operators/collect-garbage.js +21 -0
  18. package/engine/builder-operators/collect-garbage.js.map +1 -0
  19. package/engine/builder-operators/compile.d.ts +6 -0
  20. package/engine/builder-operators/compile.js +20 -0
  21. package/engine/builder-operators/compile.js.map +1 -0
  22. package/engine/builder-operators/dependency-changes.d.ts +10 -0
  23. package/engine/builder-operators/dependency-changes.js +25 -0
  24. package/engine/builder-operators/dependency-changes.js.map +1 -0
  25. package/engine/builder-operators/emit.d.ts +6 -0
  26. package/engine/builder-operators/emit.js +14 -0
  27. package/engine/builder-operators/emit.js.map +1 -0
  28. package/engine/builder-operators/index.d.ts +8 -0
  29. package/engine/builder-operators/index.js +12 -0
  30. package/engine/builder-operators/index.js.map +1 -0
  31. package/engine/builder-operators/load.d.ts +6 -0
  32. package/engine/builder-operators/load.js +20 -0
  33. package/engine/builder-operators/load.js.map +1 -0
  34. package/engine/builder-operators/post-process.d.ts +13 -0
  35. package/engine/builder-operators/post-process.js +32 -0
  36. package/engine/builder-operators/post-process.js.map +1 -0
  37. package/engine/builder-operators/print-output.d.ts +8 -0
  38. package/engine/builder-operators/print-output.js +53 -0
  39. package/engine/builder-operators/print-output.js.map +1 -0
  40. package/engine/builder-operators/refresh.d.ts +6 -0
  41. package/engine/builder-operators/refresh.js +20 -0
  42. package/engine/builder-operators/refresh.js.map +1 -0
  43. package/engine/builder-operators/task.d.ts +25 -0
  44. package/engine/builder-operators/task.js +46 -0
  45. package/engine/builder-operators/task.js.map +1 -0
  46. package/engine/entities/abstractions/entity.d.ts +18 -16
  47. package/engine/entities/abstractions/entity.js +21 -19
  48. package/engine/entities/abstractions/entity.js.map +1 -1
  49. package/engine/entities/abstractions/file.entity.d.ts +11 -1
  50. package/engine/entities/abstractions/file.entity.js +32 -13
  51. package/engine/entities/abstractions/file.entity.js.map +1 -1
  52. package/engine/entities/abstractions/route.entity.d.ts +9 -1
  53. package/engine/entities/abstractions/route.entity.js +49 -27
  54. package/engine/entities/abstractions/route.entity.js.map +1 -1
  55. package/engine/entities/abstractions/source-file.entity.d.ts +11 -9
  56. package/engine/entities/abstractions/source-file.entity.js +18 -13
  57. package/engine/entities/abstractions/source-file.entity.js.map +1 -1
  58. package/engine/entities/api-page.entity.d.ts +13 -11
  59. package/engine/entities/api-page.entity.js +41 -28
  60. package/engine/entities/api-page.entity.js.map +1 -1
  61. package/engine/entities/api-scope.entity.d.ts +12 -10
  62. package/engine/entities/api-scope.entity.js +15 -13
  63. package/engine/entities/api-scope.entity.js.map +1 -1
  64. package/engine/entities/api.entity.d.ts +5 -5
  65. package/engine/entities/api.entity.js +18 -17
  66. package/engine/entities/api.entity.js.map +1 -1
  67. package/engine/entities/cache/decorators/cached-entity.d.ts +7 -5
  68. package/engine/entities/cache/decorators/cached-entity.js +11 -16
  69. package/engine/entities/cache/decorators/cached-entity.js.map +1 -1
  70. package/engine/entities/category.entity.d.ts +5 -5
  71. package/engine/entities/category.entity.js +16 -20
  72. package/engine/entities/category.entity.js.map +1 -1
  73. package/engine/entities/indexes.entity.d.ts +2 -3
  74. package/engine/entities/indexes.entity.js +2 -5
  75. package/engine/entities/indexes.entity.js.map +1 -1
  76. package/engine/entities/page.entity.d.ts +10 -10
  77. package/engine/entities/page.entity.js +83 -73
  78. package/engine/entities/page.entity.js.map +1 -1
  79. package/engine/entities/skeleton.entity.d.ts +2 -4
  80. package/engine/entities/skeleton.entity.js +11 -25
  81. package/engine/entities/skeleton.entity.js.map +1 -1
  82. package/engine/entity-emitter.d.ts +19 -0
  83. package/engine/entity-emitter.js +52 -0
  84. package/engine/entity-emitter.js.map +1 -0
  85. package/engine/entity-store.d.ts +1 -0
  86. package/engine/entity-store.js +7 -4
  87. package/engine/entity-store.js.map +1 -1
  88. package/engine/functions/build-candidates.js +16 -5
  89. package/engine/functions/build-candidates.js.map +1 -1
  90. package/engine/index.d.ts +3 -2
  91. package/engine/index.js +3 -2
  92. package/engine/index.js.map +1 -1
  93. package/engine/nunjucks/extentions/index.d.ts +1 -0
  94. package/engine/nunjucks/extentions/index.extension.js.map +1 -0
  95. package/engine/nunjucks/extentions/index.js +5 -0
  96. package/engine/nunjucks/extentions/index.js.map +1 -0
  97. package/engine/nunjucks/filters.d.ts +2 -0
  98. package/engine/{template-filters.js → nunjucks/filters.js} +5 -9
  99. package/engine/nunjucks/filters.js.map +1 -0
  100. package/engine/nunjucks/index.d.ts +2 -0
  101. package/engine/nunjucks/index.js +6 -0
  102. package/engine/nunjucks/index.js.map +1 -0
  103. package/engine/nunjucks/render-template.d.ts +8 -0
  104. package/engine/nunjucks/render-template.js +46 -0
  105. package/engine/nunjucks/render-template.js.map +1 -0
  106. package/engine/variables.d.ts +0 -2
  107. package/engine/variables.js +1 -3
  108. package/engine/variables.js.map +1 -1
  109. package/engine/watcher.d.ts +3 -5
  110. package/engine/watcher.js +13 -9
  111. package/engine/watcher.js.map +1 -1
  112. package/helpers/angular/{component-decorator.d.ts → get-component-decorator.d.ts} +1 -1
  113. package/helpers/angular/{component-decorator.js → get-component-decorator.js} +4 -4
  114. package/helpers/angular/get-component-decorator.js.map +1 -0
  115. package/helpers/angular/{directive-decorator.d.ts → get-directive-decorator.d.ts} +1 -1
  116. package/helpers/angular/{directive-decorator.js → get-directive-decorator.js} +4 -4
  117. package/helpers/angular/get-directive-decorator.js.map +1 -0
  118. package/helpers/angular/get-pipe-decorator.d.ts +8 -0
  119. package/helpers/angular/get-pipe-decorator.js +26 -0
  120. package/helpers/angular/get-pipe-decorator.js.map +1 -0
  121. package/helpers/angular/index.d.ts +3 -2
  122. package/helpers/angular/index.js +3 -2
  123. package/helpers/angular/index.js.map +1 -1
  124. package/helpers/angular/is-standalone.js +6 -4
  125. package/helpers/angular/is-standalone.js.map +1 -1
  126. package/helpers/build-entity-keyword.d.ts +10 -0
  127. package/helpers/build-entity-keyword.js +28 -0
  128. package/helpers/build-entity-keyword.js.map +1 -0
  129. package/helpers/build-file-entity.js +36 -34
  130. package/helpers/build-file-entity.js.map +1 -1
  131. package/helpers/build-indexes.js +43 -40
  132. package/helpers/build-indexes.js.map +1 -1
  133. package/helpers/emit-built-output.d.ts +2 -2
  134. package/helpers/emit-built-output.js +1 -1
  135. package/helpers/emit-built-output.js.map +1 -1
  136. package/helpers/entity-type.d.ts +6 -0
  137. package/helpers/entity-type.js +10 -1
  138. package/helpers/entity-type.js.map +1 -1
  139. package/helpers/extract-docs.js +2 -2
  140. package/helpers/extract-docs.js.map +1 -1
  141. package/helpers/extract-selectors.js +1 -1
  142. package/helpers/extract-selectors.js.map +1 -1
  143. package/helpers/generate-api-entities.js +4 -3
  144. package/helpers/generate-api-entities.js.map +1 -1
  145. package/helpers/get-component-asset.js +4 -11
  146. package/helpers/get-component-asset.js.map +1 -1
  147. package/helpers/index.d.ts +3 -5
  148. package/helpers/index.js +3 -5
  149. package/helpers/index.js.map +1 -1
  150. package/helpers/playground/build-playground-metadata.d.ts +9 -0
  151. package/helpers/playground/build-playground-metadata.js +66 -0
  152. package/helpers/playground/build-playground-metadata.js.map +1 -0
  153. package/helpers/playground/get-content-for-playground.d.ts +8 -0
  154. package/helpers/playground/get-content-for-playground.js +39 -0
  155. package/helpers/playground/get-content-for-playground.js.map +1 -0
  156. package/helpers/playground/get-playground-by-id.js.map +1 -0
  157. package/helpers/playground/get-playground-inputs.d.ts +12 -0
  158. package/helpers/playground/get-playground-inputs.js +72 -0
  159. package/helpers/playground/get-playground-inputs.js.map +1 -0
  160. package/helpers/playground/get-playground-template-inputs.d.ts +7 -0
  161. package/helpers/playground/get-playground-template-inputs.js +17 -0
  162. package/helpers/playground/get-playground-template-inputs.js.map +1 -0
  163. package/helpers/playground/get-playgrounds-expression.js.map +1 -0
  164. package/helpers/playground/get-playgrounds-ids.js.map +1 -0
  165. package/helpers/playground/get-target-for-playground.d.ts +8 -0
  166. package/helpers/playground/get-target-for-playground.js +26 -0
  167. package/helpers/playground/get-target-for-playground.js.map +1 -0
  168. package/helpers/playground/get-template-for-playground.d.ts +8 -0
  169. package/helpers/playground/get-template-for-playground.js +22 -0
  170. package/helpers/playground/get-template-for-playground.js.map +1 -0
  171. package/helpers/playground/index.d.ts +9 -0
  172. package/helpers/playground/index.js +13 -0
  173. package/helpers/playground/index.js.map +1 -0
  174. package/helpers/print.d.ts +24 -0
  175. package/helpers/print.js +46 -0
  176. package/helpers/print.js.map +1 -0
  177. package/helpers/process-html.d.ts +9 -2
  178. package/helpers/process-html.js +29 -10
  179. package/helpers/process-html.js.map +1 -1
  180. package/helpers/typescript/accessor/group-accessors.js +2 -2
  181. package/helpers/typescript/accessor/group-accessors.js.map +1 -1
  182. package/helpers/typescript/create-project.js +1 -18
  183. package/helpers/typescript/create-project.js.map +1 -1
  184. package/interfaces/entity-keyword.d.ts +5 -0
  185. package/interfaces/entity-keyword.js +3 -0
  186. package/interfaces/entity-keyword.js.map +1 -0
  187. package/interfaces/index.d.ts +3 -1
  188. package/interfaces/index.js +3 -1
  189. package/interfaces/index.js.map +1 -1
  190. package/interfaces/output.d.ts +6 -0
  191. package/interfaces/{built-output.js → output.js} +1 -1
  192. package/interfaces/output.js.map +1 -0
  193. package/interfaces/playground-metadata.d.ts +12 -0
  194. package/interfaces/playground-metadata.js +3 -0
  195. package/interfaces/playground-metadata.js.map +1 -0
  196. package/operators/error-handler.d.ts +8 -0
  197. package/operators/error-handler.js +22 -0
  198. package/operators/error-handler.js.map +1 -0
  199. package/package.json +3 -3
  200. package/schematics/api/index.js +1 -1
  201. package/schematics/api/index.js.map +1 -1
  202. package/schematics/category/index.js +1 -1
  203. package/schematics/category/index.js.map +1 -1
  204. package/schematics/migrations/standalone-pages/index.js +2 -9
  205. package/schematics/migrations/standalone-pages/index.js.map +1 -1
  206. package/schematics/page/index.js +1 -7
  207. package/schematics/page/index.js.map +1 -1
  208. package/templates/api-page.module.ts.nunj +2 -2
  209. package/templates/helpers/accessor.html.nunj +2 -1
  210. package/templates/helpers/constructor.html.nunj +1 -1
  211. package/templates/helpers/members.html.nunj +2 -1
  212. package/templates/helpers/method.html.nunj +1 -1
  213. package/templates/helpers/parameters.html.nunj +2 -2
  214. package/templates/helpers/properties.html.nunj +1 -1
  215. package/templates/page.module.ts.nunj +2 -2
  216. package/templates/playgrounds.ts.nunj +15 -19
  217. package/engine/builder.d.ts +0 -23
  218. package/engine/builder.js +0 -125
  219. package/engine/builder.js.map +0 -1
  220. package/engine/entity-life-cycle.d.ts +0 -15
  221. package/engine/entity-life-cycle.js +0 -32
  222. package/engine/entity-life-cycle.js.map +0 -1
  223. package/engine/extentions/index.extension.js.map +0 -1
  224. package/engine/renderer.d.ts +0 -7
  225. package/engine/renderer.js +0 -49
  226. package/engine/renderer.js.map +0 -1
  227. package/engine/template-filters.d.ts +0 -2
  228. package/engine/template-filters.js.map +0 -1
  229. package/helpers/angular/component-decorator.js.map +0 -1
  230. package/helpers/angular/directive-decorator.js.map +0 -1
  231. package/helpers/get-playground-by-id.js.map +0 -1
  232. package/helpers/get-playground-properties.d.ts +0 -25
  233. package/helpers/get-playground-properties.js +0 -113
  234. package/helpers/get-playground-properties.js.map +0 -1
  235. package/helpers/get-playground-targets.d.ts +0 -6
  236. package/helpers/get-playground-targets.js +0 -21
  237. package/helpers/get-playground-targets.js.map +0 -1
  238. package/helpers/get-playgrounds-expression.js.map +0 -1
  239. package/helpers/get-playgrounds-ids.js.map +0 -1
  240. package/helpers/print-progress.d.ts +0 -6
  241. package/helpers/print-progress.js +0 -19
  242. package/helpers/print-progress.js.map +0 -1
  243. package/interfaces/built-output.d.ts +0 -4
  244. package/interfaces/built-output.js.map +0 -1
  245. /package/engine/{extentions → nunjucks/extentions}/index.extension.d.ts +0 -0
  246. /package/engine/{extentions → nunjucks/extentions}/index.extension.js +0 -0
  247. /package/helpers/{get-playground-by-id.d.ts → playground/get-playground-by-id.d.ts} +0 -0
  248. /package/helpers/{get-playground-by-id.js → playground/get-playground-by-id.js} +0 -0
  249. /package/helpers/{get-playgrounds-expression.d.ts → playground/get-playgrounds-expression.d.ts} +0 -0
  250. /package/helpers/{get-playgrounds-expression.js → playground/get-playgrounds-expression.js} +0 -0
  251. /package/helpers/{get-playgrounds-ids.d.ts → playground/get-playgrounds-ids.d.ts} +0 -0
  252. /package/helpers/{get-playgrounds-ids.js → playground/get-playgrounds-ids.js} +0 -0
@@ -1,49 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NgDocRenderer = void 0;
4
- const tslib_1 = require("tslib");
5
- const core_1 = require("@ng-doc/core");
6
- const fs = tslib_1.__importStar(require("fs"));
7
- const nunjucks_1 = require("nunjucks");
8
- const path = tslib_1.__importStar(require("path"));
9
- const rxjs_1 = require("rxjs");
10
- const ts_morph_1 = require("ts-morph");
11
- const index_extension_1 = require("./extentions/index.extension");
12
- const filters = tslib_1.__importStar(require("./template-filters"));
13
- const variables_1 = require("./variables");
14
- class NgDocRelativeLoader {
15
- constructor(path, dependenciesStore) {
16
- this.path = path;
17
- this.dependenciesStore = dependenciesStore;
18
- }
19
- getSource(name) {
20
- var _a;
21
- const fullPath = path.join(this.path, name);
22
- (_a = this.dependenciesStore) === null || _a === void 0 ? void 0 : _a.add(fullPath);
23
- return {
24
- src: fs.readFileSync(fullPath, 'utf-8'),
25
- path: fullPath,
26
- noCache: true,
27
- };
28
- }
29
- }
30
- class NgDocRenderer {
31
- render(template, options) {
32
- return (0, rxjs_1.of)(this.renderSync(template, options));
33
- }
34
- renderSync(template, options) {
35
- return this.getEnvironment(options).render(template, options === null || options === void 0 ? void 0 : options.context);
36
- }
37
- getEnvironment(options) {
38
- var _a;
39
- 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 });
40
- if ((options === null || options === void 0 ? void 0 : options.filters) !== false) {
41
- (0, core_1.objectKeys)(filters).forEach((filter) => (environment = environment.addFilter(filter, filters[filter])));
42
- environment.addGlobal('Node', ts_morph_1.Node);
43
- }
44
- environment.addExtension('NgDocIndexExtension', new index_extension_1.NgDocIndexExtension());
45
- return environment;
46
- }
47
- }
48
- exports.NgDocRenderer = NgDocRenderer;
49
- //# sourceMappingURL=renderer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"renderer.js","sourceRoot":"","sources":["../../../../libs/builder/engine/renderer.ts"],"names":[],"mappings":";;;;AAAA,uCAAwC;AACxC,+CAAyB;AACzB,uCAA8C;AAC9C,mDAA6B;AAC7B,+BAAoC;AACpC,uCAA8B;AAI9B,kEAAiE;AACjE,oEAA8C;AAC9C,2CAA2C;AAE3C,MAAM,mBAAmB;IACxB,YAA6B,IAAY,EAAmB,iBAAyC;QAAxE,SAAI,GAAJ,IAAI,CAAQ;QAAmB,sBAAiB,GAAjB,iBAAiB,CAAwB;IAAG,CAAC;IACzG,SAAS,CAAC,IAAY;;QACrB,MAAM,QAAQ,GAAW,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAEpD,MAAA,IAAI,CAAC,i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OAAO,WAAW,CAAC;IACpB,CAAC;CACD;AA1BD,sCA0BC"}
@@ -1,2 +0,0 @@
1
- export { accessorPresentation, constructorPresentation, declarationImport, displayReturnType, displayType, extractDocs, extractParameterDocs, extractSeeDocs, extractSelectors, filterByScope, filterByStatic, filterUselessMembers, firstNodeWithComment, functionPresentation, getAccessorChain, getClassAccessors, getClassMethods, getClassProperties, getContentForPlayground, getDeclarationType, getImplementedMember, getInheritedParent, getInterfaceAccessors, getInterfaceMethods, getInterfaceProperties, getMemberParent, getMethodChain, getOverriddenMember, getPlaygroundClassProperties, getPropertyChain, getTargetForPlayground, getTemplateForPlayground, groupAccessors, marked, methodPresentation, noEmpty, noLineBreaks, notEmptyAssets, sortByNodesName, sortNavigationEntities, toTemplateString, typeAliasPresentation, variablePresentation, } from '../helpers';
2
- export { buildPlaygroundDemoTemplate, kebabCase, objectKeys } from '@ng-doc/core';
@@ -1 +0,0 @@
1
- {"version":3,"file":"template-filters.js","sourceRoot":"","sources":["../../../../libs/builder/engine/template-filters.ts"],"names":[],"mappings":";AAAA,sGAAsG;;;AAEtG,sCA4CoB;AA3CnB,+GAAA,oBAAoB,OAAA;AACpB,kHAAA,uBAAuB,OAAA;AACvB,4GAAA,iBAAiB,OAAA;AACjB,4GAAA,iBAAiB,OAAA;AACjB,sGAAA,WAAW,OAAA;AACX,sGAAA,WAAW,OAAA;AACX,+GAAA,oBAAoB,OAAA;AACpB,yGAAA,cAAc,OAAA;AACd,2GAAA,gBAAgB,OAAA;AAChB,wGAAA,aAAa,OAAA;AACb,yGAAA,cAAc,OAAA;AACd,+GAAA,oBAAoB,OAAA;AACpB,+GAAA,oBAAoB,OAAA;AACpB,+GAAA,oBAAoB,OAAA;AACpB,2GAAA,gBAAgB,OAAA;AAChB,4GAAA,iBAAiB,OAAA;AACjB,0GAAA,eAAe,OAAA;AACf,6GAAA,kBAAkB,OAAA;AAClB,kHAAA,uBAAuB,OAAA;AACvB,6GAAA,kBAAkB,OAAA;AAClB,+GAAA,oBAAoB,OAAA;AACpB,6GAAA,kBAAkB,OAAA;AAClB,gHAAA,qBAAqB,OAAA;AACrB,8GAAA,mBAAmB,OAAA;AACnB,iHAAA,sBAAsB,OAAA;AACtB,0GAAA,eAAe,OAAA;AACf,yGAAA,cAAc,OAAA;AACd,8GAAA,mBAAmB,OAAA;AACnB,uHAAA,4BAA4B,OAAA;AAC5B,2GAAA,gBAAgB,OAAA;AAChB,iHAAA,sBAAsB,OAAA;AACtB,mHAAA,wBAAwB,OAAA;AACxB,yGAAA,cAAc,OAAA;AACd,iGAAA,MAAM,OAAA;AACN,6GAAA,kBAAkB,OAAA;AAClB,kGAAA,OAAO,OAAA;AACP,uGAAA,YAAY,OAAA;AACZ,yGAAA,cAAc,OAAA;AACd,0GAAA,eAAe,OAAA;AACf,iHAAA,sBAAsB,OAAA;AACtB,2GAAA,gBAAgB,OAAA;AAChB,gHAAA,qBAAqB,OAAA;AACrB,+GAAA,oBAAoB,OAAA;AAErB,qCAAgF;AAAxE,mHAAA,2BAA2B,OAAA;AAAE,iGAAA,SAAS,OAAA;AAAE,kGAAA,UAAU,OAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"component-decorator.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/component-decorator.ts"],"names":[],"mappings":";;;AACA,uCAAqF;AAErF,4DAAsD;AACtD,8CAAoD;AAEpD;;;;GAIG;AACH,SAAgB,kBAAkB,CAAC,GAAqB;IACvD,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;QACtD,MAAM,kBAAkB,GAAyC,iBAAiB,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;QAC7G,MAAM,gBAAgB,GAAyC,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;QACzG,MAAM,gBAAgB,GAAyC,iBAAiB,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;QAC5G,MAAM,iBAAiB,GAAyC,iBAAiB,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;QAE3G,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,SAAS,EAAE,IAAA,oCAAgB,EAAC,IAAA,kCAAqB,EAAC,iBAAiB,CAAC,CAAC;SACrE,CAAC;KACF;IAED,OAAO,SAAS,CAAC;AAClB,CAAC;AAnBD,gDAmBC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"directive-decorator.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/directive-decorator.ts"],"names":[],"mappings":";;;AACA,uCAAqF;AAErF,4DAAsD;AACtD,8CAAoD;AAEpD;;;;GAIG;AACH,SAAgB,kBAAkB,CAAC,GAAqB;IACvD,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;QACtD,MAAM,kBAAkB,GAAyC,iBAAiB,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;QAC7G,MAAM,gBAAgB,GAAyC,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;QAEzG,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;KACF;IAED,OAAO,SAAS,CAAC;AAClB,CAAC;AAfD,gDAeC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-playground-by-id.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/get-playground-by-id.ts"],"names":[],"mappings":";;;AAAA,uCAA6F;AAE7F;;;;GAIG;AACH,SAAgB,iBAAiB,CAAC,UAAmC,EAAE,YAAoB;IAC1F,MAAM,oBAAoB,GAAyC,UAAU,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;IAExG,IAAI,eAAI,CAAC,oBAAoB,CAAC,oBAAoB,CAAC,EAAE;QACpD,MAAM,qBAAqB,GAA2B,oBAAoB,CAAC,cAAc,EAAE,CAAC;QAE5F,IAAI,eAAI,CAAC,yBAAyB,CAAC,qBAAqB,CAAC,EAAE;YAC1D,OAAO,qBAAqB,CAAC;SAC7B;KACD;IAED,OAAO,SAAS,CAAA;AACjB,CAAC;AAZD,8CAYC"}
@@ -1,25 +0,0 @@
1
- import { NgDocPlaygroundProperties } from '@ng-doc/core';
2
- import { ClassDeclaration, ObjectLiteralExpression } from 'ts-morph';
3
- /**
4
- *
5
- * @param expression
6
- * @param playgroundId
7
- */
8
- export declare function getTargetForPlayground(expression: ObjectLiteralExpression, playgroundId: string): ClassDeclaration | undefined;
9
- /**
10
- *
11
- * @param expression
12
- * @param playgroundId
13
- */
14
- export declare function getTemplateForPlayground(expression: ObjectLiteralExpression, playgroundId: string): string;
15
- /**
16
- *
17
- * @param expression
18
- * @param playgroundId
19
- */
20
- export declare function getContentForPlayground(expression: ObjectLiteralExpression, playgroundId: string): Record<string, string>;
21
- /**
22
- *
23
- * @param declaration
24
- */
25
- export declare function getPlaygroundClassProperties(declaration: ClassDeclaration): NgDocPlaygroundProperties;
@@ -1,113 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getPlaygroundClassProperties = exports.getContentForPlayground = exports.getTemplateForPlayground = exports.getTargetForPlayground = void 0;
4
- const ts_morph_1 = require("ts-morph");
5
- const get_playground_by_id_1 = require("./get-playground-by-id");
6
- const typescript_1 = require("./typescript");
7
- /**
8
- *
9
- * @param expression
10
- * @param playgroundId
11
- */
12
- function getTargetForPlayground(expression, playgroundId) {
13
- var _a, _b;
14
- const playground = (0, get_playground_by_id_1.getPlaygroundById)(expression, playgroundId);
15
- if (playground) {
16
- const target = playground.getProperty('target');
17
- if (ts_morph_1.Node.isPropertyAssignment(target)) {
18
- const targetInitializer = target.getInitializer();
19
- if (ts_morph_1.Node.isIdentifier(targetInitializer)) {
20
- const declaration = (_b = (_a = targetInitializer.getType()) === null || _a === void 0 ? void 0 : _a.getSymbol()) === null || _b === void 0 ? void 0 : _b.getDeclarations()[0];
21
- if (ts_morph_1.Node.isClassDeclaration(declaration)) {
22
- return declaration;
23
- }
24
- }
25
- }
26
- }
27
- return undefined;
28
- }
29
- exports.getTargetForPlayground = getTargetForPlayground;
30
- /**
31
- *
32
- * @param expression
33
- * @param playgroundId
34
- */
35
- function getTemplateForPlayground(expression, playgroundId) {
36
- const playground = (0, get_playground_by_id_1.getPlaygroundById)(expression, playgroundId);
37
- if (playground) {
38
- const template = playground.getProperty('template');
39
- if (ts_morph_1.Node.isPropertyAssignment(template)) {
40
- const templateInitializer = template.getInitializer();
41
- if (ts_morph_1.Node.isStringLiteral(templateInitializer) || ts_morph_1.Node.isNoSubstitutionTemplateLiteral(templateInitializer)) {
42
- return templateInitializer.getLiteralValue();
43
- }
44
- }
45
- }
46
- return '';
47
- }
48
- exports.getTemplateForPlayground = getTemplateForPlayground;
49
- /**
50
- *
51
- * @param expression
52
- * @param playgroundId
53
- */
54
- function getContentForPlayground(expression, playgroundId) {
55
- const playground = (0, get_playground_by_id_1.getPlaygroundById)(expression, playgroundId);
56
- if (playground) {
57
- const content = playground.getProperty('content');
58
- if (ts_morph_1.Node.isPropertyAssignment(content)) {
59
- const contentInitializer = content.getInitializer();
60
- if (ts_morph_1.Node.isObjectLiteralExpression(contentInitializer)) {
61
- return contentInitializer
62
- .getProperties()
63
- .reduce((content, property) => {
64
- if (ts_morph_1.Node.isPropertyAssignment(property)) {
65
- const initializer = property.getInitializer();
66
- if (ts_morph_1.Node.isObjectLiteralExpression(initializer)) {
67
- const templateProperty = initializer.getProperty('template');
68
- if (ts_morph_1.Node.isPropertyAssignment(templateProperty)) {
69
- const templateInitializer = templateProperty.getInitializer();
70
- if (ts_morph_1.Node.isStringLiteral(templateInitializer) ||
71
- ts_morph_1.Node.isNoSubstitutionTemplateLiteral(templateInitializer)) {
72
- content[property.getName()] = templateInitializer.getLiteralValue();
73
- }
74
- }
75
- }
76
- }
77
- return content;
78
- }, {});
79
- }
80
- }
81
- }
82
- return {};
83
- }
84
- exports.getContentForPlayground = getContentForPlayground;
85
- /**
86
- *
87
- * @param declaration
88
- */
89
- function getPlaygroundClassProperties(declaration) {
90
- return declaration
91
- .getProperties()
92
- .filter((property) => !!property.getDecorator('Input'))
93
- .reduce((properties, property) => {
94
- var _a, _b, _c, _d;
95
- const inputName = (_c = (_b = (_a = property
96
- .getDecorator('Input')) === null || _a === void 0 ? void 0 : _a.getArguments()[0]) === null || _b === void 0 ? void 0 : _b.getText().replace(/^["']|['"]$/g, '')) !== null && _c !== void 0 ? _c : property.getName();
97
- properties[property.getName()] = {
98
- name: inputName,
99
- type: (0, typescript_1.displayType)(property, ts_morph_1.TypeFormatFlags.NoTruncation | ts_morph_1.TypeFormatFlags.UseSingleQuotesForStringLiteralType),
100
- default: (_d = property.getInitializer()) === null || _d === void 0 ? void 0 : _d.getText(),
101
- description: property
102
- .getJsDocs()
103
- .reduce((comment, doc) => `${comment}\n${doc.getCommentText()}`.trim(), ''),
104
- options: property
105
- .getType()
106
- .getUnionTypes()
107
- .map((type) => type.getText(undefined, ts_morph_1.TypeFormatFlags.NoTruncation | ts_morph_1.TypeFormatFlags.UseSingleQuotesForStringLiteralType)),
108
- };
109
- return properties;
110
- }, {});
111
- }
112
- exports.getPlaygroundClassProperties = getPlaygroundClassProperties;
113
- //# sourceMappingURL=get-playground-properties.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-playground-properties.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/get-playground-properties.ts"],"names":[],"mappings":";;;AACA,uCAUkB;AAElB,iEAAyD;AACzD,6CAAyC;AAEzC;;;;GAIG;AACH,SAAgB,sBAAsB,CACrC,UAAmC,EACnC,YAAoB;;IAEpB,MAAM,UAAU,GAAwC,IAAA,wCAAiB,EAAC,UAAU,EAAE,YAAY,CAAC,CAAC;IAEpG,IAAI,UAAU,EAAE;QACf,MAAM,MAAM,GAAyC,UAAU,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;QAEtF,IAAI,eAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,EAAE;YACtC,MAAM,iBAAiB,GAA2B,MAAM,CAAC,cAAc,EAAE,CAAC;YAE1E,IAAI,eAAI,CAAC,YAAY,CAAC,iBAAiB,CAAC,EAAE;gBACzC,MAAM,WAAW,GAAqB,MAAA,MAAA,iBAAiB,CAAC,OAAO,EAAE,0CAAE,SAAS,EAAE,0CAAE,eAAe,GAAG,CAAC,CAAC,CAAC;gBAErG,IAAI,eAAI,CAAC,kBAAkB,CAAC,WAAW,CAAC,EAAE;oBACzC,OAAO,WAAW,CAAC;iBACnB;aACD;SACD;KACD;IAED,OAAO,SAAS,CAAC;AAClB,CAAC;AAvBD,wDAuBC;AAED;;;;GAIG;AACH,SAAgB,wBAAwB,CAAC,UAAmC,EAAE,YAAoB;IACjG,MAAM,UAAU,GAAwC,IAAA,wCAAiB,EAAC,UAAU,EAAE,YAAY,CAAC,CAAC;IAEpG,IAAI,UAAU,EAAE;QACf,MAAM,QAAQ,GAAyC,UAAU,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;QAE1F,IAAI,eAAI,CAAC,oBAAoB,CAAC,Q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ACf,GAAG,CAAC,CAAC,IAAU,EAAE,EAAE,CACnB,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,0BAAe,CAAC,YAAY,GAAG,0BAAe,CAAC,mCAAmC,CAAC,CAC3G;SACF,CAAC;QAEF,OAAO,UAAU,CAAC;IACnB,CAAC,EAAE,EAAE,CAAC,CAAC;AACT,CAAC;AA7BD,oEA6BC"}
@@ -1,6 +0,0 @@
1
- import { ClassDeclaration, ObjectLiteralExpression } from 'ts-morph';
2
- /**
3
- *
4
- * @param expression
5
- */
6
- export declare function getPlaygroundTargets(expression: ObjectLiteralExpression): ClassDeclaration[];
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getPlaygroundTargets = void 0;
4
- const core_1 = require("@ng-doc/core");
5
- const get_playground_properties_1 = require("./get-playground-properties");
6
- const get_playgrounds_expression_1 = require("./get-playgrounds-expression");
7
- const get_playgrounds_ids_1 = require("./get-playgrounds-ids");
8
- /**
9
- *
10
- * @param expression
11
- */
12
- function getPlaygroundTargets(expression) {
13
- const playgroundExpression = (0, get_playgrounds_expression_1.getPlaygroundsExpression)(expression);
14
- if (playgroundExpression) {
15
- const ids = (0, get_playgrounds_ids_1.getPlaygroundsIds)(playgroundExpression);
16
- return ids.map((id) => (0, get_playground_properties_1.getTargetForPlayground)(playgroundExpression, id)).filter(core_1.isPresent);
17
- }
18
- return [];
19
- }
20
- exports.getPlaygroundTargets = getPlaygroundTargets;
21
- //# sourceMappingURL=get-playground-targets.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-playground-targets.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/get-playground-targets.ts"],"names":[],"mappings":";;;AAAA,uCAAuC;AAGvC,2EAAmE;AACnE,6EAAsE;AACtE,+DAAwD;AAExD;;;GAGG;AACH,SAAgB,oBAAoB,CAAC,UAAmC;IACvE,MAAM,oBAAoB,GAAwC,IAAA,qDAAwB,EAAC,UAAU,CAAC,CAAC;IAEvG,IAAI,oBAAoB,EAAE;QACzB,MAAM,GAAG,GAAa,IAAA,uCAAiB,EAAC,oBAAoB,CAAC,CAAC;QAE9D,OAAO,GAAG,CAAC,GAAG,CAAC,CAAC,EAAU,EAAE,EAAE,CAAC,IAAA,kDAAsB,EAAC,oBAAoB,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,gBAAS,CAAC,CAAC;KACnG;IAED,OAAO,EAAE,CAAC;AACX,CAAC;AAVD,oDAUC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-playgrounds-expression.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/get-playgrounds-expression.ts"],"names":[],"mappings":";;;AAAA,uCAA6F;AAE7F;;;;GAIG;AACH,SAAgB,wBAAwB,CACvC,uBAAgD;IAEhD,IAAI,uBAAuB,EAAE;QAC5B,MAAM,QAAQ,GAAyC,uBAAuB,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;QAE1G,IAAI,eAAI,CAAC,oBAAoB,CAAC,QAAQ,CAAC,EAAE;YACxC,MAAM,KAAK,GAA2B,QAAQ,CAAC,cAAc,EAAE,CAAC;YAEhE,IAAI,eAAI,CAAC,yBAAyB,CAAC,KAAK,CAAC,EAAE;gBAC1C,OAAO,KAAK,CAAC;aACb;SACD;KACD;IAED,OAAO,SAAS,CAAC;AAClB,CAAC;AAhBD,4DAgBC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-playgrounds-ids.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/get-playgrounds-ids.ts"],"names":[],"mappings":";;;AAAA,uCAA2E;AAE3E;;;GAGG;AACH,SAAgB,iBAAiB,CAAC,UAAmC;;IACpE,OAAO,CACN,MAAA,UAAU;SACR,aAAa,EAAE;SACf,MAAM,CAAC,eAAI,CAAC,oBAAoB,CAAC;SACjC,GAAG,CAAC,CAAC,CAAqB,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,mCAAI,EAAE,CACnD,CAAC;AACH,CAAC;AAPD,8CAOC"}
@@ -1,6 +0,0 @@
1
- /**
2
- * Prints a progress message. If no message is passed, the message will be cleared.
3
- *
4
- * @param text - The message to print.
5
- */
6
- export declare function printProgress(text?: string): void;
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.printProgress = void 0;
4
- const spinner_1 = require("@angular/cli/src/utilities/spinner");
5
- let spinner;
6
- /**
7
- * Prints a progress message. If no message is passed, the message will be cleared.
8
- *
9
- * @param text - The message to print.
10
- */
11
- function printProgress(text) {
12
- spinner === null || spinner === void 0 ? void 0 : spinner.stop();
13
- if (text) {
14
- spinner = new spinner_1.Spinner(`NgDoc: ${text}`);
15
- spinner.start();
16
- }
17
- }
18
- exports.printProgress = printProgress;
19
- //# sourceMappingURL=print-progress.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"print-progress.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/print-progress.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,IAAI,OAAgB,CAAC;AAErB;;;;GAIG;AACH,SAAgB,aAAa,CAAC,IAAa;IAC1C,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,IAAI,EAAE,CAAC;IAEhB,IAAI,IAAI,EAAE;QACT,OAAO,GAAG,IAAI,iBAAO,CAAC,UAAU,IAAI,EAAE,CAAC,CAAC;QACxC,OAAO,CAAC,KAAK,EAAE,CAAC;KAChB;AACF,CAAC;AAPD,sCAOC"}
@@ -1,4 +0,0 @@
1
- export interface NgDocBuiltOutput {
2
- content: string;
3
- filePath: string;
4
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"built-output.js","sourceRoot":"","sources":["../../../../libs/builder/interfaces/built-output.ts"],"names":[],"mappings":""}