@ng-doc/builder 16.2.1 → 16.3.0-beta.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.
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/api-documentation/ng-doc.category.js +1 -2
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/api-documentation/templating/ng-doc.page.js +2 -3
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/customization/layout/ng-doc.page.js +2 -3
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/customization/ng-doc.category.js +1 -2
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/customization/search/ng-doc.page.js +2 -3
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/customization/themes/ng-doc.page.js +2 -3
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/customization/type-controls/ng-doc.page.js +2 -3
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/develop/ng-doc.page.js +2 -3
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/features/cache/ng-doc.page.js +2 -3
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/features/keywords/ng-doc.page.js +2 -3
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/features/ng-doc.category.js +1 -2
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/file-entities/api/ng-doc.page.js +2 -3
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/file-entities/category/ng-doc.page.js +2 -3
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/file-entities/ng-doc.category.js +1 -2
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/file-entities/page/ng-doc.page.js +2 -3
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/getting-started/configuration/ng-doc.page.js +2 -3
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/getting-started/installation/ng-doc.page.js +2 -3
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/{file-entities/dependencies → getting-started/migrations}/ng-doc.page.js +11 -15
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/getting-started/ng-doc.category.js +1 -2
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/getting-started/what-is-ng-doc/ng-doc.page.js +2 -3
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/guides/demo/ng-doc.page.js +2 -3
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/guides/demo-pane/ng-doc.page.js +2 -3
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/guides/ng-doc.category.js +1 -2
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/guides/playground/ng-doc.page.js +2 -3
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/guides/snippets/ng-doc.page.js +2 -3
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/guides/templating/ng-doc.page.js +2 -3
- package/engine/.cache/apps/ng-doc/src/app/pages/docs/ng-doc.api.js +2 -4
- package/engine/actions/playground.action.js +5 -9
- package/engine/actions/playground.action.js.map +1 -1
- package/engine/builder.js +10 -20
- package/engine/builder.js.map +1 -1
- package/engine/entities/abstractions/file.entity.d.ts +2 -0
- package/engine/entities/abstractions/file.entity.js +3 -9
- package/engine/entities/abstractions/file.entity.js.map +1 -1
- package/engine/entities/abstractions/source-file.entity.d.ts +1 -7
- package/engine/entities/abstractions/source-file.entity.js +0 -12
- package/engine/entities/abstractions/source-file.entity.js.map +1 -1
- package/engine/entities/index.d.ts +0 -1
- package/engine/entities/index.js +0 -1
- package/engine/entities/index.js.map +1 -1
- package/engine/entities/page.entity.d.ts +26 -11
- package/engine/entities/page.entity.js +88 -22
- package/engine/entities/page.entity.js.map +1 -1
- package/engine/renderer.js +4 -2
- package/engine/renderer.js.map +1 -1
- package/engine/template-filters.d.ts +1 -1
- package/engine/template-filters.js +2 -1
- package/engine/template-filters.js.map +1 -1
- package/engine/variables.d.ts +3 -1
- package/engine/variables.js +4 -2
- package/engine/variables.js.map +1 -1
- package/helpers/angular/component-decorator.d.ts +8 -0
- package/helpers/angular/component-decorator.js +30 -0
- package/helpers/angular/component-decorator.js.map +1 -0
- package/helpers/angular/directive-decorator.d.ts +8 -0
- package/helpers/angular/directive-decorator.js +26 -0
- package/helpers/angular/directive-decorator.js.map +1 -0
- package/helpers/angular/index.d.ts +3 -0
- package/helpers/angular/index.js +7 -0
- package/helpers/angular/index.js.map +1 -0
- package/helpers/angular/is-standalone.d.ts +7 -0
- package/helpers/angular/is-standalone.js +16 -0
- package/helpers/angular/is-standalone.js.map +1 -0
- package/helpers/build-file-entity.d.ts +9 -0
- package/helpers/build-file-entity.js +68 -0
- package/helpers/build-file-entity.js.map +1 -0
- package/helpers/entity-type.d.ts +1 -6
- package/helpers/entity-type.js +1 -9
- package/helpers/entity-type.js.map +1 -1
- package/helpers/extract-selectors.js +4 -8
- package/helpers/extract-selectors.js.map +1 -1
- package/helpers/get-component-asset.js +3 -6
- package/helpers/get-component-asset.js.map +1 -1
- package/helpers/get-demo-class-declarations.js +2 -3
- package/helpers/get-demo-class-declarations.js.map +1 -1
- package/helpers/get-entity-constructor.js +0 -3
- package/helpers/get-entity-constructor.js.map +1 -1
- package/helpers/get-playground-by-id.js.map +1 -1
- package/helpers/get-playground-targets.d.ts +6 -0
- package/helpers/get-playground-targets.js +21 -0
- package/helpers/get-playground-targets.js.map +1 -0
- package/helpers/get-playgrounds-expression.d.ts +7 -0
- package/helpers/get-playgrounds-expression.js +23 -0
- package/helpers/get-playgrounds-expression.js.map +1 -0
- package/helpers/get-playgrounds-ids.d.ts +6 -0
- package/helpers/get-playgrounds-ids.js +17 -0
- package/helpers/get-playgrounds-ids.js.map +1 -0
- package/helpers/index.d.ts +5 -1
- package/helpers/index.js +5 -1
- package/helpers/index.js.map +1 -1
- package/{resolvers/string-expression.resolver.d.ts → helpers/string-expression.d.ts} +2 -2
- package/{resolvers/string-expression.resolver.js → helpers/string-expression.js} +5 -5
- package/helpers/string-expression.js.map +1 -0
- package/helpers/typescript/create-project.js +1 -5
- package/helpers/typescript/create-project.js.map +1 -1
- package/helpers/typescript/declaration-import.d.ts +6 -0
- package/helpers/typescript/declaration-import.js +20 -0
- package/helpers/typescript/declaration-import.js.map +1 -0
- package/helpers/typescript/get-object-expression-from-default.d.ts +7 -0
- package/helpers/typescript/get-object-expression-from-default.js +19 -0
- package/helpers/typescript/get-object-expression-from-default.js.map +1 -0
- package/helpers/typescript/index.d.ts +2 -0
- package/helpers/typescript/index.js +2 -0
- package/helpers/typescript/index.js.map +1 -1
- package/helpers/typescript/property/get-property-assignment.js.map +1 -0
- package/helpers/typescript/property/index.d.ts +1 -0
- package/helpers/typescript/property/index.js +1 -0
- package/helpers/typescript/property/index.js.map +1 -1
- package/interfaces/renderer-options.d.ts +1 -0
- package/package.json +4 -4
- package/schematics/category/index.js +3 -3
- package/schematics/category/index.js.map +1 -1
- package/schematics/category/schema.json +1 -1
- package/schematics/collection.json +4 -4
- package/schematics/migrations/standalone-pages/index.d.ts +8 -0
- package/schematics/migrations/standalone-pages/index.js +112 -0
- package/schematics/migrations/standalone-pages/index.js.map +1 -0
- package/schematics/migrations/standalone-pages/schema.d.ts +2 -0
- package/schematics/migrations/standalone-pages/schema.js.map +1 -0
- package/schematics/{dependencies → migrations/standalone-pages}/schema.json +2 -7
- package/schematics/page/files/ng-doc.page.ts.template +4 -2
- package/schematics/page/index.js +5 -6
- package/schematics/page/index.js.map +1 -1
- package/schematics/page/schema.d.ts +3 -4
- package/schematics/page/schema.json +4 -4
- package/schematics/utils/extract-default-export-name.d.ts +3 -1
- package/schematics/utils/extract-default-export-name.js +4 -5
- package/schematics/utils/extract-default-export-name.js.map +1 -1
- package/{helpers → schematics/utils}/find-closest-file.d.ts +3 -1
- package/{helpers → schematics/utils}/find-closest-file.js +4 -4
- package/schematics/utils/find-closest-file.js.map +1 -0
- package/schematics/utils/index.d.ts +1 -0
- package/schematics/utils/index.js +1 -0
- package/schematics/utils/index.js.map +1 -1
- package/templates/{component-assets.ts.nunj → demo-assets.ts.nunj} +2 -2
- package/templates/page.module.ts.nunj +18 -20
- package/templates/playgrounds.ts.nunj +17 -7
- package/engine/entities/dependencies.entity.d.ts +0 -31
- package/engine/entities/dependencies.entity.js +0 -155
- package/engine/entities/dependencies.entity.js.map +0 -1
- package/helpers/find-closest-file.js.map +0 -1
- package/resolvers/common/get-property-assignment.js.map +0 -1
- package/resolvers/component-decorator.resolver.d.ts +0 -9
- package/resolvers/component-decorator.resolver.js +0 -23
- package/resolvers/component-decorator.resolver.js.map +0 -1
- package/resolvers/string-expression.resolver.js.map +0 -1
- package/schematics/dependencies/files/ng-doc.dependencies.ts.template +0 -10
- package/schematics/dependencies/files/ng-doc.module.ts.template +0 -9
- package/schematics/dependencies/index.d.ts +0 -9
- package/schematics/dependencies/index.js +0 -38
- package/schematics/dependencies/index.js.map +0 -1
- package/schematics/dependencies/schema.d.ts +0 -20
- package/schematics/dependencies/schema.js.map +0 -1
- package/schematics/page/files/ng-doc.dependencies.ts.template +0 -10
- /package/{resolvers/common → helpers/typescript/property}/get-property-assignment.d.ts +0 -0
- /package/{resolvers/common → helpers/typescript/property}/get-property-assignment.js +0 -0
- /package/schematics/{dependencies → migrations/standalone-pages}/schema.js +0 -0
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* Just export filters from this file, they will be included to the template renderer automatically */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.objectKeys = exports.kebabCase = exports.buildPlaygroundDemoTemplate = exports.variablePresentation = exports.typeAliasPresentation = exports.toTemplateString = exports.sortNavigationEntities = exports.sortByNodesName = exports.notEmptyAssets = exports.noLineBreaks = exports.noEmpty = exports.methodPresentation = exports.marked = exports.groupAccessors = exports.getTemplateForPlayground = exports.getTargetForPlayground = exports.getPropertyChain = exports.getPlaygroundClassProperties = exports.getOverriddenMember = exports.getMethodChain = exports.getMemberParent = exports.getInterfaceProperties = exports.getInterfaceMethods = exports.getInterfaceAccessors = exports.getInheritedParent = exports.getImplementedMember = exports.getDeclarationType = exports.getContentForPlayground = exports.getClassProperties = exports.getClassMethods = exports.getClassAccessors = exports.getAccessorChain = exports.functionPresentation = exports.firstNodeWithComment = exports.filterUselessMembers = exports.filterByStatic = exports.filterByScope = exports.extractSelectors = exports.extractSeeDocs = exports.extractParameterDocs = exports.extractDocs = exports.displayType = exports.displayReturnType = exports.constructorPresentation = exports.accessorPresentation = void 0;
|
|
4
|
+
exports.objectKeys = exports.kebabCase = exports.buildPlaygroundDemoTemplate = exports.variablePresentation = exports.typeAliasPresentation = exports.toTemplateString = exports.sortNavigationEntities = exports.sortByNodesName = exports.notEmptyAssets = exports.noLineBreaks = exports.noEmpty = exports.methodPresentation = exports.marked = exports.groupAccessors = exports.getTemplateForPlayground = exports.getTargetForPlayground = exports.getPropertyChain = exports.getPlaygroundClassProperties = exports.getOverriddenMember = exports.getMethodChain = exports.getMemberParent = exports.getInterfaceProperties = exports.getInterfaceMethods = exports.getInterfaceAccessors = exports.getInheritedParent = exports.getImplementedMember = exports.getDeclarationType = exports.getContentForPlayground = exports.getClassProperties = exports.getClassMethods = exports.getClassAccessors = exports.getAccessorChain = exports.functionPresentation = exports.firstNodeWithComment = exports.filterUselessMembers = exports.filterByStatic = exports.filterByScope = exports.extractSelectors = exports.extractSeeDocs = exports.extractParameterDocs = exports.extractDocs = exports.displayType = exports.displayReturnType = exports.declarationImport = exports.constructorPresentation = exports.accessorPresentation = void 0;
|
|
5
5
|
var helpers_1 = require("../helpers");
|
|
6
6
|
Object.defineProperty(exports, "accessorPresentation", { enumerable: true, get: function () { return helpers_1.accessorPresentation; } });
|
|
7
7
|
Object.defineProperty(exports, "constructorPresentation", { enumerable: true, get: function () { return helpers_1.constructorPresentation; } });
|
|
8
|
+
Object.defineProperty(exports, "declarationImport", { enumerable: true, get: function () { return helpers_1.declarationImport; } });
|
|
8
9
|
Object.defineProperty(exports, "displayReturnType", { enumerable: true, get: function () { return helpers_1.displayReturnType; } });
|
|
9
10
|
Object.defineProperty(exports, "displayType", { enumerable: true, get: function () { return helpers_1.displayType; } });
|
|
10
11
|
Object.defineProperty(exports, "extractDocs", { enumerable: true, get: function () { return helpers_1.extractDocs; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-filters.js","sourceRoot":"","sources":["../../../../libs/builder/engine/template-filters.ts"],"names":[],"mappings":";AAAA,sGAAsG;;;AAEtG,
|
|
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"}
|
package/engine/variables.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export declare const GLOBALS: {
|
|
2
|
+
workspaceRoot: string;
|
|
3
|
+
};
|
|
1
4
|
export declare const PAGE_NAME: string;
|
|
2
5
|
export declare const CATEGORY_NAME: string;
|
|
3
6
|
export declare const PAGE_DEPENDENCIES_NAME: string;
|
|
@@ -5,7 +8,6 @@ export declare const API_NAME: string;
|
|
|
5
8
|
export declare const RENDERED_PAGE_NAME: string;
|
|
6
9
|
export declare const PAGE_PATTERN: string;
|
|
7
10
|
export declare const CATEGORY_PATTERN: string;
|
|
8
|
-
export declare const PAGE_DEPENDENCY_PATTERN: string;
|
|
9
11
|
export declare const API_PATTERN: string;
|
|
10
12
|
export declare const CACHE_PATH: string;
|
|
11
13
|
export declare const TEMPLATES_PATH: string;
|
package/engine/variables.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TEMPLATES_PATH = exports.CACHE_PATH = exports.API_PATTERN = exports.
|
|
3
|
+
exports.TEMPLATES_PATH = exports.CACHE_PATH = exports.API_PATTERN = exports.CATEGORY_PATTERN = exports.PAGE_PATTERN = exports.RENDERED_PAGE_NAME = exports.API_NAME = exports.PAGE_DEPENDENCIES_NAME = exports.CATEGORY_NAME = exports.PAGE_NAME = exports.GLOBALS = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const path = tslib_1.__importStar(require("path"));
|
|
6
|
+
exports.GLOBALS = {
|
|
7
|
+
workspaceRoot: '',
|
|
8
|
+
};
|
|
6
9
|
exports.PAGE_NAME = 'ng-doc.page.ts';
|
|
7
10
|
exports.CATEGORY_NAME = 'ng-doc.category.ts';
|
|
8
11
|
exports.PAGE_DEPENDENCIES_NAME = 'ng-doc.dependencies.ts';
|
|
@@ -10,7 +13,6 @@ exports.API_NAME = 'ng-doc.api.ts';
|
|
|
10
13
|
exports.RENDERED_PAGE_NAME = 'index.html';
|
|
11
14
|
exports.PAGE_PATTERN = `**/${exports.PAGE_NAME}`;
|
|
12
15
|
exports.CATEGORY_PATTERN = `**/${exports.CATEGORY_NAME}`;
|
|
13
|
-
exports.PAGE_DEPENDENCY_PATTERN = `**/${exports.PAGE_DEPENDENCIES_NAME}`;
|
|
14
16
|
exports.API_PATTERN = `**/${exports.API_NAME}`;
|
|
15
17
|
exports.CACHE_PATH = path.join(__dirname, '.cache');
|
|
16
18
|
exports.TEMPLATES_PATH = path.join(__dirname, '../templates');
|
package/engine/variables.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"variables.js","sourceRoot":"","sources":["../../../../libs/builder/engine/variables.ts"],"names":[],"mappings":";;;;AAAA,mDAA6B;AAEhB,QAAA,SAAS,GAAW,gBAAgB,CAAC;AACrC,QAAA,aAAa,GAAW,oBAAoB,CAAC;AAC7C,QAAA,sBAAsB,GAAW,wBAAwB,CAAC;AAC1D,QAAA,QAAQ,GAAW,eAAe,CAAC;AACnC,QAAA,kBAAkB,GAAW,YAAY,CAAC;AAE1C,QAAA,YAAY,GAAW,MAAM,iBAAS,EAAE,CAAC;AACzC,QAAA,gBAAgB,GAAW,MAAM,qBAAa,EAAE,CAAC;AACjD,QAAA,
|
|
1
|
+
{"version":3,"file":"variables.js","sourceRoot":"","sources":["../../../../libs/builder/engine/variables.ts"],"names":[],"mappings":";;;;AAAA,mDAA6B;AAEhB,QAAA,OAAO,GAAG;IACtB,aAAa,EAAE,EAAE;CACjB,CAAC;AACW,QAAA,SAAS,GAAW,gBAAgB,CAAC;AACrC,QAAA,aAAa,GAAW,oBAAoB,CAAC;AAC7C,QAAA,sBAAsB,GAAW,wBAAwB,CAAC;AAC1D,QAAA,QAAQ,GAAW,eAAe,CAAC;AACnC,QAAA,kBAAkB,GAAW,YAAY,CAAC;AAE1C,QAAA,YAAY,GAAW,MAAM,iBAAS,EAAE,CAAC;AACzC,QAAA,gBAAgB,GAAW,MAAM,qBAAa,EAAE,CAAC;AACjD,QAAA,WAAW,GAAW,MAAM,gBAAQ,EAAE,CAAC;AACvC,QAAA,UAAU,GAAW,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;AACpD,QAAA,cAAc,GAAW,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,cAAc,CAAC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { ClassDeclaration } from 'ts-morph';
|
|
3
|
+
/**
|
|
4
|
+
* Resolves the component decorator and return its properties.
|
|
5
|
+
*
|
|
6
|
+
* @param cls - class declaration
|
|
7
|
+
*/
|
|
8
|
+
export declare function componentDecorator(cls: ClassDeclaration): Component | undefined;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.componentDecorator = void 0;
|
|
4
|
+
const ts_morph_1 = require("ts-morph");
|
|
5
|
+
const string_expression_1 = require("../string-expression");
|
|
6
|
+
const typescript_1 = require("../typescript");
|
|
7
|
+
/**
|
|
8
|
+
* Resolves the component decorator and return its properties.
|
|
9
|
+
*
|
|
10
|
+
* @param cls - class declaration
|
|
11
|
+
*/
|
|
12
|
+
function componentDecorator(cls) {
|
|
13
|
+
const decorator = cls.getDecorator('Component');
|
|
14
|
+
const decoratorArgument = decorator === null || decorator === void 0 ? void 0 : decorator.getArguments()[0];
|
|
15
|
+
if (ts_morph_1.Node.isObjectLiteralExpression(decoratorArgument)) {
|
|
16
|
+
const standaloneProperty = decoratorArgument.getProperty('standalone');
|
|
17
|
+
const selectorProperty = decoratorArgument.getProperty('selector');
|
|
18
|
+
const templateProperty = decoratorArgument.getProperty('templateUrl');
|
|
19
|
+
const styleUrlsProperty = decoratorArgument.getProperty('styleUrls');
|
|
20
|
+
return {
|
|
21
|
+
standalone: (0, string_expression_1.stringExpression)((0, typescript_1.getPropertyAssignment)(standaloneProperty)),
|
|
22
|
+
selector: (0, string_expression_1.stringExpression)((0, typescript_1.getPropertyAssignment)(selectorProperty)),
|
|
23
|
+
templateUrl: (0, string_expression_1.stringExpression)((0, typescript_1.getPropertyAssignment)(templateProperty)),
|
|
24
|
+
styleUrls: (0, string_expression_1.stringExpression)((0, typescript_1.getPropertyAssignment)(styleUrlsProperty)),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.componentDecorator = componentDecorator;
|
|
30
|
+
//# sourceMappingURL=component-decorator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import { ClassDeclaration } from 'ts-morph';
|
|
3
|
+
/**
|
|
4
|
+
* Resolves the directive decorator and return its properties.
|
|
5
|
+
*
|
|
6
|
+
* @param cls - class declaration
|
|
7
|
+
*/
|
|
8
|
+
export declare function directiveDecorator(cls: ClassDeclaration): Directive | undefined;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.directiveDecorator = void 0;
|
|
4
|
+
const ts_morph_1 = require("ts-morph");
|
|
5
|
+
const string_expression_1 = require("../string-expression");
|
|
6
|
+
const typescript_1 = require("../typescript");
|
|
7
|
+
/**
|
|
8
|
+
* Resolves the directive decorator and return its properties.
|
|
9
|
+
*
|
|
10
|
+
* @param cls - class declaration
|
|
11
|
+
*/
|
|
12
|
+
function directiveDecorator(cls) {
|
|
13
|
+
const decorator = cls.getDecorator('Directive');
|
|
14
|
+
const decoratorArgument = decorator === null || decorator === void 0 ? void 0 : decorator.getArguments()[0];
|
|
15
|
+
if (ts_morph_1.Node.isObjectLiteralExpression(decoratorArgument)) {
|
|
16
|
+
const standaloneProperty = decoratorArgument.getProperty('standalone');
|
|
17
|
+
const selectorProperty = decoratorArgument.getProperty('selector');
|
|
18
|
+
return {
|
|
19
|
+
standalone: (0, string_expression_1.stringExpression)((0, typescript_1.getPropertyAssignment)(standaloneProperty)),
|
|
20
|
+
selector: (0, string_expression_1.stringExpression)((0, typescript_1.getPropertyAssignment)(selectorProperty)),
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
exports.directiveDecorator = directiveDecorator;
|
|
26
|
+
//# sourceMappingURL=directive-decorator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./component-decorator"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./directive-decorator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./is-standalone"), exports);
|
|
7
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/index.ts"],"names":[],"mappings":";;;AAAA,gEAAsC;AACtC,gEAAsC;AACtC,0DAAgC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isStandalone = void 0;
|
|
4
|
+
const component_decorator_1 = require("./component-decorator");
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @param cls
|
|
8
|
+
* @param notFoundResult
|
|
9
|
+
*/
|
|
10
|
+
function isStandalone(cls, notFoundResult = false) {
|
|
11
|
+
var _a;
|
|
12
|
+
const decorator = (0, component_decorator_1.componentDecorator)(cls);
|
|
13
|
+
return (_a = decorator === null || decorator === void 0 ? void 0 : decorator.standalone) !== null && _a !== void 0 ? _a : notFoundResult;
|
|
14
|
+
}
|
|
15
|
+
exports.isStandalone = isStandalone;
|
|
16
|
+
//# sourceMappingURL=is-standalone.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-standalone.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/angular/is-standalone.ts"],"names":[],"mappings":";;;AAGA,+DAAyD;AAEzD;;;;GAIG;AACH,SAAgB,YAAY,CAAC,GAAqB,EAAE,iBAA0B,KAAK;;IAClF,MAAM,SAAS,GAA0B,IAAA,wCAAkB,EAAC,GAAG,CAAC,CAAC;IAEjE,OAAO,MAAA,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,UAAU,mCAAI,cAAc,CAAC;AAChD,CAAC;AAJD,oCAIC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SourceFile } from 'ts-morph';
|
|
2
|
+
/**
|
|
3
|
+
* Builds file entity and returns the path to the built file
|
|
4
|
+
*
|
|
5
|
+
* @param sourceFile - source file to build
|
|
6
|
+
* @param tsconfig - path to tsconfig file
|
|
7
|
+
* @param outbase - path to the outbase directory
|
|
8
|
+
*/
|
|
9
|
+
export declare function buildFileEntity(sourceFile: SourceFile, tsconfig: string, outbase: string): Promise<string>;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.buildFileEntity = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const core_1 = require("@ng-doc/core");
|
|
6
|
+
const esbuild = tslib_1.__importStar(require("esbuild"));
|
|
7
|
+
const minimatch_1 = tslib_1.__importDefault(require("minimatch"));
|
|
8
|
+
const path = tslib_1.__importStar(require("path"));
|
|
9
|
+
const engine_1 = require("../engine");
|
|
10
|
+
const typescript_1 = require("./typescript");
|
|
11
|
+
/**
|
|
12
|
+
* Builds file entity and returns the path to the built file
|
|
13
|
+
*
|
|
14
|
+
* @param sourceFile - source file to build
|
|
15
|
+
* @param tsconfig - path to tsconfig file
|
|
16
|
+
* @param outbase - path to the outbase directory
|
|
17
|
+
*/
|
|
18
|
+
async function buildFileEntity(sourceFile, tsconfig, outbase) {
|
|
19
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
20
|
+
let code = sourceFile.getFullText();
|
|
21
|
+
const p = path.relative(outbase, sourceFile.getFilePath());
|
|
22
|
+
const outPath = path.join(engine_1.CACHE_PATH, p).replace(/\.ts$/, '.js');
|
|
23
|
+
/**
|
|
24
|
+
* Remove module, demo and playgrounds properties from the default export
|
|
25
|
+
* if the file is a page. This is done to prevent compiling the page dependencies
|
|
26
|
+
* that are not needed for the NgDoc builder
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
if ((0, minimatch_1.default)(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 = replaceCodeProperty(code, (_h = (_g = objectLiteralExpression.getProperty('playgrounds')) === null || _g === void 0 ? void 0 : _g.getText()) !== null && _h !== void 0 ? _h : '');
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
await esbuild.build({
|
|
42
|
+
stdin: {
|
|
43
|
+
contents: code,
|
|
44
|
+
resolveDir: path.dirname(p),
|
|
45
|
+
loader: 'ts',
|
|
46
|
+
sourcefile: p,
|
|
47
|
+
},
|
|
48
|
+
tsconfig,
|
|
49
|
+
bundle: true,
|
|
50
|
+
format: 'cjs',
|
|
51
|
+
treeShaking: true,
|
|
52
|
+
outbase,
|
|
53
|
+
outfile: outPath,
|
|
54
|
+
});
|
|
55
|
+
await sourceFile.refreshFromFileSystem();
|
|
56
|
+
return outPath;
|
|
57
|
+
}
|
|
58
|
+
exports.buildFileEntity = buildFileEntity;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @param code
|
|
62
|
+
* @param property
|
|
63
|
+
*/
|
|
64
|
+
function replaceCodeProperty(code, property) {
|
|
65
|
+
const regex = new RegExp(`${(0, core_1.escapeRegexp)(property)},?`);
|
|
66
|
+
return code.replace(regex, '');
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=build-file-entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-file-entity.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/build-file-entity.ts"],"names":[],"mappings":";;;;AAAA,uCAA0C;AAC1C,yDAAmC;AACnC,kEAAkC;AAClC,mDAA6B;AAG7B,sCAAmD;AACnD,6CAA4D;AAE5D;;;;;;GAMG;AACI,KAAK,UAAU,eAAe,CAAC,UAAsB,EAAE,QAAgB,EAAE,OAAe;;IAC9F,IAAI,IAAI,GAAW,UAAU,CAAC,WAAW,EAAE,CAAC;IAC5C,MAAM,CAAC,GAAW,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;IACnE,MAAM,OAAO,GAAW,IAAI,CAAC,IAAI,CAAC,mBAAU,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAEzE;;;;;OAKG;IACH,IAAI,IAAA,mBAAS,EAAC,CAAC,EAAE,qBAAY,CAAC,EAAE;QAC/B,MAAM,uBAAuB,GAAwC,IAAA,2CAA8B,EAAC,UAAU,CAAC,CAAC;QAEhH;;WAEG;QACH,IAAI,uBAAuB,EAAE;YAC5B,IAAI,GAAG,mBAAmB,CAAC,IAAI,EAAE,MAAA,MAAA,uBAAuB,CAAC,WAAW,CAAC,SAAS,CAAC,0CAAE,OAAO,EAAE,mCAAI,EAAE,CAAC,CAAC;YAClG,IAAI,GAAG,mBAAmB,CAAC,IAAI,EAAE,MAAA,MAAA,uBAAuB,CAAC,WAAW,CAAC,WAAW,CAAC,0CAAE,OAAO,EAAE,mCAAI,EAAE,CAAC,CAAC;YACpG,IAAI,GAAG,mBAAmB,CAAC,IAAI,EAAE,MAAA,MAAA,uBAAuB,CAAC,WAAW,CAAC,OAAO,CAAC,0CAAE,OAAO,EAAE,mCAAI,EAAE,CAAC,CAAC;YAChG,IAAI,GAAG,mBAAmB,CAAC,IAAI,EAAE,MAAA,MAAA,uBAAuB,CAAC,WAAW,CAAC,aAAa,CAAC,0CAAE,OAAO,EAAE,mCAAI,EAAE,CAAC,CAAC;SACtG;KACD;IAED,MAAM,OAAO,CAAC,KAAK,CAAC;QACnB,KAAK,EAAE;YACN,QAAQ,EAAE,IAAI;YACd,UAAU,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;YAC3B,MAAM,EAAE,IAAI;YACZ,UAAU,EAAE,CAAC;SACb;QACD,QAAQ;QACR,MAAM,EAAE,IAAI;QACZ,MAAM,EAAE,KAAK;QACb,WAAW,EAAE,IAAI;QACjB,OAAO;QACP,OAAO,EAAE,OAAO;KAChB,CAAC,CAAC;IAEH,MAAM,UAAU,CAAC,qBAAqB,EAAE,CAAC;IAEzC,OAAO,OAAO,CAAC;AAChB,CAAC;AA3CD,0CA2CC;AAED;;;;GAIG;AACH,SAAS,mBAAmB,CAAC,IAAY,EAAE,QAAgB;IAC1D,MAAM,KAAK,GAAW,IAAI,MAAM,CAAC,GAAG,IAAA,mBAAY,EAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAEhE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;AAChC,CAAC"}
|
package/helpers/entity-type.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { NgDocApiEntity, NgDocApiPageEntity, NgDocApiScopeEntity, NgDocCategoryEntity,
|
|
1
|
+
import { NgDocApiEntity, NgDocApiPageEntity, NgDocApiScopeEntity, NgDocCategoryEntity, NgDocPageEntity } from '../engine';
|
|
2
2
|
import { NgDocFileEntity } from '../engine/entities/abstractions/file.entity';
|
|
3
3
|
import { NgDocNavigationEntity } from '../engine/entities/abstractions/navigation.entity';
|
|
4
4
|
import { NgDocRouteEntity } from '../engine/entities/abstractions/route.entity';
|
|
@@ -8,11 +8,6 @@ import { Constructable } from '../types';
|
|
|
8
8
|
* @param page
|
|
9
9
|
*/
|
|
10
10
|
export declare function isPageEntity(page: InstanceType<Constructable>): page is NgDocPageEntity;
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
* @param dependency
|
|
14
|
-
*/
|
|
15
|
-
export declare function isDependencyEntity(dependency: InstanceType<Constructable>): dependency is NgDocDependenciesEntity;
|
|
16
11
|
/**
|
|
17
12
|
*
|
|
18
13
|
* @param page
|
package/helpers/entity-type.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isRouteEntity = exports.isApiScopeEntity = exports.isApiPageEntity = exports.isFileEntity = exports.isApiEntity = exports.isNavigationEntity = exports.isCategoryEntity = exports.
|
|
3
|
+
exports.isRouteEntity = exports.isApiScopeEntity = exports.isApiPageEntity = exports.isFileEntity = exports.isApiEntity = exports.isNavigationEntity = exports.isCategoryEntity = exports.isPageEntity = void 0;
|
|
4
4
|
const engine_1 = require("../engine");
|
|
5
5
|
const file_entity_1 = require("../engine/entities/abstractions/file.entity");
|
|
6
6
|
const navigation_entity_1 = require("../engine/entities/abstractions/navigation.entity");
|
|
@@ -13,14 +13,6 @@ function isPageEntity(page) {
|
|
|
13
13
|
return page instanceof engine_1.NgDocPageEntity;
|
|
14
14
|
}
|
|
15
15
|
exports.isPageEntity = isPageEntity;
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @param dependency
|
|
19
|
-
*/
|
|
20
|
-
function isDependencyEntity(dependency) {
|
|
21
|
-
return dependency instanceof engine_1.NgDocDependenciesEntity;
|
|
22
|
-
}
|
|
23
|
-
exports.isDependencyEntity = isDependencyEntity;
|
|
24
16
|
/**
|
|
25
17
|
*
|
|
26
18
|
* @param page
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-type.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/entity-type.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"entity-type.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/entity-type.ts"],"names":[],"mappings":";;;AAAA,sCAAwH;AACxH,6EAA4E;AAC5E,yFAAwF;AACxF,+EAA8E;AAG9E;;;GAGG;AACH,SAAgB,YAAY,CAAC,IAAiC;IAC7D,OAAO,IAAI,YAAY,wBAAe,CAAC;AACxC,CAAC;AAFD,oCAEC;AAED;;;GAGG;AACH,SAAgB,gBAAgB,CAAC,IAAiC;IACjE,OAAO,IAAI,YAAY,4BAAmB,CAAC;AAC5C,CAAC;AAFD,4CAEC;AAED;;;GAGG;AACH,SAAgB,kBAAkB,CAAC,IAAiC;IACnE,OAAO,IAAI,YAAY,yCAAqB,CAAC;AAC9C,CAAC;AAFD,gDAEC;AAED;;;GAGG;AACH,SAAgB,WAAW,CAAC,IAAiC;IAC5D,OAAO,IAAI,YAAY,uBAAc,CAAC;AACvC,CAAC;AAFD,kCAEC;AAED;;;GAGG;AACH,SAAgB,YAAY,CAAI,IAAiC;IAChE,OAAO,IAAI,YAAY,6BAAe,CAAC;AACxC,CAAC;AAFD,oCAEC;AAED;;;GAGG;AACH,SAAgB,eAAe,CAAC,IAAiC;IAChE,OAAO,IAAI,YAAY,2BAAkB,CAAC;AAC3C,CAAC;AAFD,0CAEC;AAED;;;GAGG;AACH,SAAgB,gBAAgB,CAAC,IAAiC;IACjE,OAAO,IAAI,YAAY,4BAAmB,CAAC;AAC5C,CAAC;AAFD,4CAEC;AAED;;;GAGG;AACH,SAAgB,aAAa,CAAC,IAAiC;IAC9D,OAAO,IAAI,YAAY,+BAAgB,CAAC;AACzC,CAAC;AAFD,sCAEC"}
|
|
@@ -2,21 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.extractSelectors = void 0;
|
|
4
4
|
const ts_morph_1 = require("ts-morph");
|
|
5
|
-
const
|
|
5
|
+
const angular_1 = require("./angular");
|
|
6
6
|
/**
|
|
7
7
|
*
|
|
8
8
|
* @param declaration
|
|
9
9
|
*/
|
|
10
10
|
function extractSelectors(declaration) {
|
|
11
|
-
var _a, _b;
|
|
11
|
+
var _a, _b, _c;
|
|
12
12
|
if (ts_morph_1.Node.isClassDeclaration(declaration)) {
|
|
13
|
-
const decorator = (_a =
|
|
13
|
+
const decorator = (_a = (0, angular_1.componentDecorator)(declaration)) !== null && _a !== void 0 ? _a : (0, angular_1.directiveDecorator)(declaration);
|
|
14
14
|
if (decorator) {
|
|
15
|
-
|
|
16
|
-
if (ts_morph_1.Node.isObjectLiteralExpression(expression)) {
|
|
17
|
-
const selector = (_b = (0, component_decorator_resolver_1.componentDecoratorResolver)(expression).selector) !== null && _b !== void 0 ? _b : '';
|
|
18
|
-
return selector.split(',').map((s) => s.trim());
|
|
19
|
-
}
|
|
15
|
+
return (_c = (_b = decorator.selector) === null || _b === void 0 ? void 0 : _b.split(',').map((s) => s.trim())) !== null && _c !== void 0 ? _c : [];
|
|
20
16
|
}
|
|
21
17
|
}
|
|
22
18
|
return [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extract-selectors.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/extract-selectors.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"extract-selectors.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/extract-selectors.ts"],"names":[],"mappings":";;;AACA,uCAA8B;AAG9B,uCAAiE;AAEjE;;;GAGG;AACH,SAAgB,gBAAgB,CAAC,WAAuC;;IACvE,IAAI,eAAI,CAAC,kBAAkB,CAAC,WAAW,CAAC,EAAE;QACzC,MAAM,SAAS,GACd,MAAA,IAAA,4BAAkB,EAAC,WAAW,CAAC,mCAAI,IAAA,4BAAkB,EAAC,WAAW,CAAC,CAAC;QAEpE,IAAI,SAAS,EAAE;YACd,OAAO,MAAA,MAAA,SAAS,CAAC,QAAQ,0CAAE,KAAK,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,mCAAI,EAAE,CAAC;SACzE;KACD;IAED,OAAO,EAAE,CAAC;AACX,CAAC;AAXD,4CAWC"}
|
|
@@ -4,9 +4,8 @@ exports.getComponentAsset = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const core_1 = require("@ng-doc/core");
|
|
6
6
|
const path = tslib_1.__importStar(require("path"));
|
|
7
|
-
const ts_morph_1 = require("ts-morph");
|
|
8
7
|
const renderer_1 = require("../engine/renderer");
|
|
9
|
-
const
|
|
8
|
+
const angular_1 = require("./angular");
|
|
10
9
|
const build_assets_1 = require("./build-assets");
|
|
11
10
|
const format_code_1 = require("./format-code");
|
|
12
11
|
const slash_1 = require("./slash");
|
|
@@ -18,10 +17,8 @@ const slash_1 = require("./slash");
|
|
|
18
17
|
*/
|
|
19
18
|
function getComponentAsset(classDeclaration, inlineStyleLang, outDir) {
|
|
20
19
|
var _a;
|
|
21
|
-
const
|
|
22
|
-
|
|
23
|
-
if (ts_morph_1.Node.isObjectLiteralExpression(decoratorArgument)) {
|
|
24
|
-
const decoratorData = (0, component_decorator_resolver_1.componentDecoratorResolver)(decoratorArgument);
|
|
20
|
+
const decoratorData = (0, angular_1.componentDecorator)(classDeclaration);
|
|
21
|
+
if (decoratorData) {
|
|
25
22
|
const filePath = classDeclaration.getSourceFile().getFilePath();
|
|
26
23
|
const fileDir = path.dirname(filePath);
|
|
27
24
|
const assets = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-component-asset.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/get-component-asset.ts"],"names":[],"mappings":";;;;AACA,uCAAqD;AACrD,mDAA6B;
|
|
1
|
+
{"version":3,"file":"get-component-asset.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/get-component-asset.ts"],"names":[],"mappings":";;;;AACA,uCAAqD;AACrD,mDAA6B;AAG7B,iDAAiD;AAGjD,uCAA6C;AAC7C,iDAA2C;AAC3C,+CAAyC;AACzC,mCAA8B;AAE9B;;;;;GAKG;AACH,SAAgB,iBAAiB,CAChC,gBAAkC,EAClC,eAA+B,EAC/B,MAAc;;IAEd,MAAM,aAAa,GAA0B,IAAA,4BAAkB,EAAC,gBAAgB,CAAC,CAAC;IAElF,IAAI,aAAa,EAAE;QAClB,MAAM,QAAQ,GAAW,gBAAgB,CAAC,aAAa,EAAE,CAAC,WAAW,EAAE,CAAC;QACxE,MAAM,OAAO,GAAW,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAE/C,MAAM,MAAM,GAA0C;YACrD,oCAAoC;YACpC,GAAG,IAAA,0BAAW,EAAC,QAAQ,EAAE,eAAe,CAAC;YACzC,gDAAgD;YAChD,GAAG,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,IAAA,0BAAW,EAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,aAAa,CAAC,WAAW,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;YACjH,+CAA+C;YAC/C,GAAG,IAAA,cAAO,EAAC,aAAa,CAAC,SAAS,CAAC;iBACjC,GAAG,CAAC,CAAC,QAAgB,EAAE,EAAE,CAAC,IAAA,0BAAW,EAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,EAAE,eAAe,CAAC,CAAC;iBACrF,IAAI,EAAE;SACR,CAAC;QAEF,OAAO;YACN,CAAC,MAAA,gBAAgB,CAAC,OAAO,EAAE,mCAAI,EAAE,CAAC,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,KAAqC,EAAE,CAAS,EAAE,EAAE;;gBACnG,MAAM,IAAI,GAAW,IAAA,wBAAU,EAAC,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;gBAE1D,OAAO;oBACN,GAAG,KAAK;oBACR,IAAI;oBACJ,MAAM,EAAE,IAAI,wBAAa,EAAE;yBACzB,UAAU,CAAC,kBAAkB,EAAE;wBAC/B,OAAO,EAAE;4BACR,IAAI;4BACJ,IAAI,EAAE,KAAK,CAAC,IAAI;yBAChB;qBACD,CAAC;yBACD,IAAI,EAAE;oBACR,UAAU,EAAE,IAAA,aAAK,EAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,MAAA,gBAAgB,CAAC,OAAO,EAAE,mCAAI,EAAE,EAAE,KAAK,CAAC,IAAI,EAAE,GAAG,KAAK,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC;iBAC5G,CAAC;YACH,CAAC,CAAC;SACF,CAAC;KACF;IAED,OAAO,EAAE,CAAC;AACX,CAAC;AA5CD,8CA4CC"}
|
|
@@ -8,9 +8,8 @@ const ts_morph_1 = require("ts-morph");
|
|
|
8
8
|
* @param objectExpression
|
|
9
9
|
*/
|
|
10
10
|
function getDemoClassDeclarations(objectExpression) {
|
|
11
|
-
const demoProperty = objectExpression.getProperty('
|
|
12
|
-
if (demoProperty &&
|
|
13
|
-
(ts_morph_1.Node.isPropertyAssignment(demoProperty) || ts_morph_1.Node.isShorthandPropertyAssignment(demoProperty))) {
|
|
11
|
+
const demoProperty = objectExpression.getProperty('demos');
|
|
12
|
+
if (demoProperty && (ts_morph_1.Node.isPropertyAssignment(demoProperty) || ts_morph_1.Node.isShorthandPropertyAssignment(demoProperty))) {
|
|
14
13
|
const initializer = demoProperty.getInitializer();
|
|
15
14
|
if (initializer && initializer instanceof ts_morph_1.ObjectLiteralExpression) {
|
|
16
15
|
return initializer
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-demo-class-declarations.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/get-demo-class-declarations.ts"],"names":[],"mappings":";;;AAAA,uCAAuC;AACvC,uCAA+G;AAE/G;;;GAGG;AACH,SAAgB,wBAAwB,CAAC,gBAAyC;IACjF,MAAM,YAAY,GAAyC,gBAAgB,CAAC,WAAW,CAAC,
|
|
1
|
+
{"version":3,"file":"get-demo-class-declarations.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/get-demo-class-declarations.ts"],"names":[],"mappings":";;;AAAA,uCAAuC;AACvC,uCAA+G;AAE/G;;;GAGG;AACH,SAAgB,wBAAwB,CAAC,gBAAyC;IACjF,MAAM,YAAY,GAAyC,gBAAgB,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAEjG,IAAI,YAAY,IAAI,CAAC,eAAI,CAAC,oBAAoB,CAAC,YAAY,CAAC,IAAI,eAAI,CAAC,6BAA6B,CAAC,YAAY,CAAC,CAAC,EAAE;QAClH,MAAM,WAAW,GAA2B,YAAY,CAAC,cAAc,EAAE,CAAC;QAE1E,IAAI,WAAW,IAAI,WAAW,YAAY,kCAAuB,EAAE;YAClE,OAAO,WAAW;iBAChB,aAAa,EAAE;iBACf,GAAG,CAAC,CAAC,QAAkC,EAAE,EAAE,WAAC,OAAA,MAAA,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,EAAE,0CAAE,mBAAmB,EAAE,CAAA,EAAA,CAAC;iBAClG,MAAM,CAAC,gBAAS,CAAC;iBACjB,MAAM,CAAC,eAAI,CAAC,kBAAkB,CAAC,CAAC;SAClC;KACD;IAED,OAAO,EAAE,CAAC;AACX,CAAC;AAhBD,4DAgBC"}
|
|
@@ -15,9 +15,6 @@ function getEntityConstructor(path) {
|
|
|
15
15
|
else if ((0, minimatch_1.default)(path, engine_1.CATEGORY_PATTERN)) {
|
|
16
16
|
return engine_1.NgDocCategoryEntity;
|
|
17
17
|
}
|
|
18
|
-
else if ((0, minimatch_1.default)(path, engine_1.PAGE_DEPENDENCY_PATTERN)) {
|
|
19
|
-
return engine_1.NgDocDependenciesEntity;
|
|
20
|
-
}
|
|
21
18
|
else if ((0, minimatch_1.default)(path, engine_1.API_PATTERN)) {
|
|
22
19
|
return engine_1.NgDocApiEntity;
|
|
23
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-entity-constructor.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/get-entity-constructor.ts"],"names":[],"mappings":";;;;AAAA,kEAAkC;AAGlC,
|
|
1
|
+
{"version":3,"file":"get-entity-constructor.js","sourceRoot":"","sources":["../../../../libs/builder/helpers/get-entity-constructor.ts"],"names":[],"mappings":";;;;AAAA,kEAAkC;AAGlC,sCAOmB;AAGnB;;;GAGG;AACH,SAAgB,oBAAoB,CAAC,IAAY;IAChD,IAAI,IAAA,mBAAS,EAAC,IAAI,EAAE,qBAAY,CAAC,EAAE;QAClC,OAAO,wBAAe,CAAC;KACvB;SAAM,IAAI,IAAA,mBAAS,EAAC,IAAI,EAAE,yBAAgB,CAAC,EAAE;QAC7C,OAAO,4BAAmB,CAAC;KAC3B;SAAM,IAAI,IAAA,mBAAS,EAAC,IAAI,EAAE,oBAAW,CAAC,EAAE;QACxC,OAAO,uBAAc,CAAC;KACtB;SAAM;QACN,MAAM,IAAI,KAAK,CAAC,iCAAiC,IAAI,EAAE,CAAC,CAAC;KACzD;AACF,CAAC;AAVD,oDAUC"}
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,CAChC,UAAmC,EACnC,YAAoB;IAEpB,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,CAAC;AAClB,CAAC;AAfD,8CAeC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ObjectLiteralExpression } from 'ts-morph';
|
|
2
|
+
/**
|
|
3
|
+
* Returns the playgrounds expression
|
|
4
|
+
*
|
|
5
|
+
* @param objectLiteralExpression - The object literal expression of the page
|
|
6
|
+
*/
|
|
7
|
+
export declare function getPlaygroundsExpression(objectLiteralExpression: ObjectLiteralExpression): ObjectLiteralExpression | undefined;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getPlaygroundsExpression = void 0;
|
|
4
|
+
const ts_morph_1 = require("ts-morph");
|
|
5
|
+
/**
|
|
6
|
+
* Returns the playgrounds expression
|
|
7
|
+
*
|
|
8
|
+
* @param objectLiteralExpression - The object literal expression of the page
|
|
9
|
+
*/
|
|
10
|
+
function getPlaygroundsExpression(objectLiteralExpression) {
|
|
11
|
+
if (objectLiteralExpression) {
|
|
12
|
+
const property = objectLiteralExpression.getProperty('playgrounds');
|
|
13
|
+
if (ts_morph_1.Node.isPropertyAssignment(property)) {
|
|
14
|
+
const value = property.getInitializer();
|
|
15
|
+
if (ts_morph_1.Node.isObjectLiteralExpression(value)) {
|
|
16
|
+
return value;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
exports.getPlaygroundsExpression = getPlaygroundsExpression;
|
|
23
|
+
//# sourceMappingURL=get-playgrounds-expression.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getPlaygroundsIds = void 0;
|
|
4
|
+
const ts_morph_1 = require("ts-morph");
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @param expression
|
|
8
|
+
*/
|
|
9
|
+
function getPlaygroundsIds(expression) {
|
|
10
|
+
var _a;
|
|
11
|
+
return ((_a = expression
|
|
12
|
+
.getProperties()
|
|
13
|
+
.filter(ts_morph_1.Node.isPropertyAssignment)
|
|
14
|
+
.map((p) => p.getName())) !== null && _a !== void 0 ? _a : []);
|
|
15
|
+
}
|
|
16
|
+
exports.getPlaygroundsIds = getPlaygroundsIds;
|
|
17
|
+
//# sourceMappingURL=get-playgrounds-ids.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
package/helpers/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
export * from './angular';
|
|
1
2
|
export * from './build-assets';
|
|
3
|
+
export * from './build-file-entity';
|
|
2
4
|
export * from './code-type-from-ext';
|
|
3
5
|
export * from './create-builder-context';
|
|
4
6
|
export * from './declaration-folder-name';
|
|
@@ -8,7 +10,6 @@ export * from './extract-docs';
|
|
|
8
10
|
export * from './extract-path-anchor';
|
|
9
11
|
export * from './extract-selectors';
|
|
10
12
|
export * from './filter-useless-members';
|
|
11
|
-
export * from './find-closest-file';
|
|
12
13
|
export * from './format-code';
|
|
13
14
|
export * from './generate-api-entities';
|
|
14
15
|
export * from './get-component-asset';
|
|
@@ -20,6 +21,8 @@ export * from './get-kind-type';
|
|
|
20
21
|
export * from './get-page-type';
|
|
21
22
|
export * from './get-playground-by-id';
|
|
22
23
|
export * from './get-playground-properties';
|
|
24
|
+
export * from './get-playground-targets';
|
|
25
|
+
export * from './get-playgrounds-ids';
|
|
23
26
|
export * from './import-es-module';
|
|
24
27
|
export * from './is-not-excluded-path';
|
|
25
28
|
export * from './is-supported-declaration';
|
|
@@ -34,6 +37,7 @@ export * from './process-snippets';
|
|
|
34
37
|
export * from './repo-link';
|
|
35
38
|
export * from './slash';
|
|
36
39
|
export * from './sort-navigation-entities';
|
|
40
|
+
export * from './string-expression';
|
|
37
41
|
export * from './to-template-string';
|
|
38
42
|
export * from './typescript';
|
|
39
43
|
export * from './unique-name';
|