@ng-doc/builder 16.11.1 → 16.12.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/entities/page-playground.entity.d.ts +1 -0
- package/engine/entities/page-playground.entity.js +16 -2
- package/engine/entities/page-playground.entity.js.map +1 -1
- package/helpers/build-file-entity.js +30 -2
- package/helpers/build-file-entity.js.map +1 -1
- package/helpers/playground/build-playground-metadata.d.ts +3 -1
- package/helpers/playground/build-playground-metadata.js +3 -2
- package/helpers/playground/build-playground-metadata.js.map +1 -1
- package/package.json +3 -3
- package/engine/.cache/apps/ng-doc/docs/api-documentation/ng-doc.category.js +0 -31
- package/engine/.cache/apps/ng-doc/docs/api-documentation/templating/ng-doc.page.js +0 -43
- package/engine/.cache/apps/ng-doc/docs/customization/icons/ng-doc.page.js +0 -42
- package/engine/.cache/apps/ng-doc/docs/customization/layout/ng-doc.page.js +0 -41
- package/engine/.cache/apps/ng-doc/docs/customization/ng-doc.category.js +0 -30
- package/engine/.cache/apps/ng-doc/docs/customization/search/ng-doc.page.js +0 -41
- package/engine/.cache/apps/ng-doc/docs/customization/themes/ng-doc.page.js +0 -42
- package/engine/.cache/apps/ng-doc/docs/customization/type-controls/ng-doc.page.js +0 -41
- package/engine/.cache/apps/ng-doc/docs/develop/ng-doc.page.js +0 -47
- package/engine/.cache/apps/ng-doc/docs/features/cache/ng-doc.page.js +0 -40
- package/engine/.cache/apps/ng-doc/docs/features/keywords/ng-doc.page.js +0 -41
- package/engine/.cache/apps/ng-doc/docs/features/keywords-loaders/ng-doc.page.js +0 -41
- package/engine/.cache/apps/ng-doc/docs/features/markdown/ng-doc.page.js +0 -41
- package/engine/.cache/apps/ng-doc/docs/features/ng-doc.category.js +0 -29
- package/engine/.cache/apps/ng-doc/docs/features/page-processors/ng-doc.page.js +0 -41
- package/engine/.cache/apps/ng-doc/docs/file-entities/api/ng-doc.page.js +0 -42
- package/engine/.cache/apps/ng-doc/docs/file-entities/category/ng-doc.page.js +0 -42
- package/engine/.cache/apps/ng-doc/docs/file-entities/ng-doc.category.js +0 -30
- package/engine/.cache/apps/ng-doc/docs/file-entities/page/ng-doc.page.js +0 -43
- package/engine/.cache/apps/ng-doc/docs/getting-started/configuration/ng-doc.page.js +0 -41
- package/engine/.cache/apps/ng-doc/docs/getting-started/installation/ng-doc.page.js +0 -41
- package/engine/.cache/apps/ng-doc/docs/getting-started/migrations/ng-doc.page.js +0 -39
- package/engine/.cache/apps/ng-doc/docs/getting-started/ng-doc.category.js +0 -30
- package/engine/.cache/apps/ng-doc/docs/getting-started/what-is-ng-doc/ng-doc.page.js +0 -40
- package/engine/.cache/apps/ng-doc/docs/guides/demo/ng-doc.page.js +0 -42
- package/engine/.cache/apps/ng-doc/docs/guides/demo-pane/ng-doc.page.js +0 -42
- package/engine/.cache/apps/ng-doc/docs/guides/ng-doc.category.js +0 -30
- package/engine/.cache/apps/ng-doc/docs/guides/playground/ng-doc.page.js +0 -41
- package/engine/.cache/apps/ng-doc/docs/guides/snippets/ng-doc.page.js +0 -42
- package/engine/.cache/apps/ng-doc/docs/guides/templating/ng-doc.page.js +0 -42
- package/engine/.cache/apps/ng-doc/docs/ng-doc.api.js +0 -58
- package/engine/.cache/apps/ng-doc/docs/recipes/ignoring-file-lines/ng-doc.page.js +0 -41
- package/engine/.cache/apps/ng-doc/docs/recipes/ng-doc.category.js +0 -30
|
@@ -53,15 +53,17 @@ exports.NgDocPagePlaygroundEntity = (() => {
|
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
55
|
getMetadata() {
|
|
56
|
-
|
|
56
|
+
const page = this.parent.target;
|
|
57
|
+
if (this.parent.objectExpression && page) {
|
|
57
58
|
this.parent.refreshDependencies();
|
|
58
59
|
const expression = (0, helpers_1.getPlaygroundsExpression)(this.parent.objectExpression);
|
|
59
60
|
if (expression) {
|
|
60
61
|
return (0, helpers_1.getPlaygroundsIds)(expression).reduce((metadata, id) => {
|
|
62
|
+
var _a, _b, _c;
|
|
61
63
|
if (expression) {
|
|
62
64
|
const playground = (0, helpers_1.getPlaygroundById)(expression, id);
|
|
63
65
|
if (playground) {
|
|
64
|
-
metadata[id] = (0, helpers_1.buildPlaygroundMetadata)(id, playground);
|
|
66
|
+
metadata[id] = (0, helpers_1.buildPlaygroundMetadata)(id, playground, this.controlsToProperties((_c = (_b = (_a = page.playgrounds) === null || _a === void 0 ? void 0 : _a[id]) === null || _b === void 0 ? void 0 : _b.controls) !== null && _c !== void 0 ? _c : {}));
|
|
65
67
|
}
|
|
66
68
|
}
|
|
67
69
|
return metadata;
|
|
@@ -70,6 +72,18 @@ exports.NgDocPagePlaygroundEntity = (() => {
|
|
|
70
72
|
}
|
|
71
73
|
return {};
|
|
72
74
|
}
|
|
75
|
+
controlsToProperties(controls) {
|
|
76
|
+
return Object.entries(controls).reduce((properties, [name, value]) => {
|
|
77
|
+
var _a, _b, _c;
|
|
78
|
+
properties[name] = {
|
|
79
|
+
inputName: typeof value === 'string' ? name : (_a = value.alias) !== null && _a !== void 0 ? _a : name,
|
|
80
|
+
type: typeof value === 'string' ? value : value.type,
|
|
81
|
+
description: typeof value === 'string' ? undefined : (_b = value.description) !== null && _b !== void 0 ? _b : undefined,
|
|
82
|
+
options: typeof value === 'string' ? undefined : (_c = value.options) !== null && _c !== void 0 ? _c : undefined,
|
|
83
|
+
};
|
|
84
|
+
return properties;
|
|
85
|
+
}, {});
|
|
86
|
+
}
|
|
73
87
|
},
|
|
74
88
|
(() => {
|
|
75
89
|
_get_outputPath_decorators = [(0, cache_1.CachedFilesGetter)()];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-playground.entity.js","sourceRoot":"","sources":["../../../../../libs/builder/engine/entities/page-playground.entity.ts"],"names":[],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"page-playground.entity.js","sourceRoot":"","sources":["../../../../../libs/builder/engine/entities/page-playground.entity.ts"],"names":[],"mappings":";;;;AACA,wDAAwB;AACxB,+BAAoC;AAGp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CAAC,CAAC,MAAA,KAAK,CAAC,KAAK,mCAAI,IAAI;wBACjE,IAAI,EAAE,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI;wBACpD,WAAW,EAAE,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAA,KAAK,CAAC,WAAW,mCAAI,SAAS;wBACnF,OAAO,EAAE,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAA,KAAK,CAAC,OAAO,mCAAI,SAAS;qBAC3E,CAAC;oBAEF,OAAO,UAAU,CAAC;gBACnB,CAAC,EAAE,EAAE,CAAC,CAAC;YACR,CAAC;;;0CAlEA,IAAA,yBAAiB,GAAE;YACpB,2LAAI,UAAU,wCAEb"}
|
|
@@ -17,7 +17,7 @@ const typescript_1 = require("./typescript");
|
|
|
17
17
|
* @param outbase - path to the outbase directory
|
|
18
18
|
*/
|
|
19
19
|
function buildFileEntity(sourceFile, tsconfig, outbase) {
|
|
20
|
-
var _a, _b, _c, _d, _e, _f
|
|
20
|
+
var _a, _b, _c, _d, _e, _f;
|
|
21
21
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
22
22
|
let code = sourceFile.getFullText();
|
|
23
23
|
const p = path.relative(outbase, sourceFile.getFilePath());
|
|
@@ -36,7 +36,7 @@ function buildFileEntity(sourceFile, tsconfig, outbase) {
|
|
|
36
36
|
code = replaceCodeProperty(code, (_b = (_a = objectLiteralExpression.getProperty('imports')) === null || _a === void 0 ? void 0 : _a.getText()) !== null && _b !== void 0 ? _b : '');
|
|
37
37
|
code = replaceCodeProperty(code, (_d = (_c = objectLiteralExpression.getProperty('providers')) === null || _c === void 0 ? void 0 : _c.getText()) !== null && _d !== void 0 ? _d : '');
|
|
38
38
|
code = replaceCodeProperty(code, (_f = (_e = objectLiteralExpression.getProperty('demos')) === null || _e === void 0 ? void 0 : _e.getText()) !== null && _f !== void 0 ? _f : '');
|
|
39
|
-
code =
|
|
39
|
+
code = removePlaygroundTarget(code, objectLiteralExpression);
|
|
40
40
|
if (objectLiteralExpression.getProperty('route')) {
|
|
41
41
|
const route = objectLiteralExpression.getProperty('route');
|
|
42
42
|
if (ts_morph_1.Node.isPropertyAssignment(route)) {
|
|
@@ -71,6 +71,34 @@ function buildFileEntity(sourceFile, tsconfig, outbase) {
|
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
73
|
exports.buildFileEntity = buildFileEntity;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @param code
|
|
77
|
+
* @param objectLiteralExpression
|
|
78
|
+
*/
|
|
79
|
+
function removePlaygroundTarget(code, objectLiteralExpression) {
|
|
80
|
+
// List of properties that should not be removed
|
|
81
|
+
const keepProperties = ['controls'];
|
|
82
|
+
const playgrounds = objectLiteralExpression.getProperty('playgrounds');
|
|
83
|
+
if (ts_morph_1.Node.isPropertyAssignment(playgrounds)) {
|
|
84
|
+
const playgroundsValue = playgrounds.getInitializer();
|
|
85
|
+
if (ts_morph_1.Node.isObjectLiteralExpression(playgroundsValue)) {
|
|
86
|
+
playgroundsValue.getProperties().forEach((prop) => {
|
|
87
|
+
if (ts_morph_1.Node.isPropertyAssignment(prop)) {
|
|
88
|
+
const playground = prop.getInitializer();
|
|
89
|
+
if (ts_morph_1.Node.isObjectLiteralExpression(playground)) {
|
|
90
|
+
playground.getProperties().forEach((playgroundProp) => {
|
|
91
|
+
if (ts_morph_1.Node.isPropertyAssignment(playgroundProp) && !keepProperties.includes(playgroundProp.getName())) {
|
|
92
|
+
code = replaceCodeProperty(code, playgroundProp.getText());
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
return code;
|
|
101
|
+
}
|
|
74
102
|
/**
|
|
75
103
|
*
|
|
76
104
|
* @param code
|
|
@@ -1 +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,yCAAoC;AACpC,mDAA6B;AAC7B,uCAAkE;AAElE,sCAAmD;AACnD,6CAA4D;AAE5D;;;;;;GAMG;AACH,SAAsB,eAAe,CAAC,UAAsB,EAAE,QAAgB,EAAE,OAAe;;;QAC9F,IAAI,IAAI,GAAW,UAAU,CAAC,WAAW,EAAE,CAAC;QAC5C,MAAM,CAAC,GAAW,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;QACnE,MAAM,OAAO,GAAW,IAAI,CAAC,IAAI,CAAC,mBAAU,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;QAEzE;;;;WAIG;QACH,IAAI,IAAA,qBAAS,EAAC,CAAC,EAAE,qBAAY,CAAC,EAAE;YAC/B,MAAM,uBAAuB,GAAwC,IAAA,2CAA8B,EAAC,UAAU,CAAC,CAAC;YAEhH;;eAEG;YACH,IAAI,uBAAuB,EAAE;gBAC5B,IAAI,GAAG,mBAAmB,CAAC,IAAI,EAAE,MAAA,MAAA,uBAAuB,CAAC,WAAW,CAAC,SAAS,CAAC,0CAAE,OAAO,EAAE,mCAAI,EAAE,CAAC,CAAC;gBAClG,IAAI,GAAG,mBAAmB,CAAC,IAAI,EAAE,MAAA,MAAA,uBAAuB,CAAC,WAAW,CAAC,WAAW,CAAC,0CAAE,OAAO,EAAE,mCAAI,EAAE,CAAC,CAAC;gBACpG,IAAI,GAAG,mBAAmB,CAAC,IAAI,EAAE,MAAA,MAAA,uBAAuB,CAAC,WAAW,CAAC,OAAO,CAAC,0CAAE,OAAO,EAAE,mCAAI,EAAE,CAAC,CAAC;gBAChG,IAAI,GAAG,
|
|
1
|
+
{"version":3,"file":"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B,CAAC,WAAW,CAAC,EAAE;QAC3C,MAAM,gBAAgB,GAAG,WAAW,CAAC,cAAc,EAAE,CAAC;QAEtD,IAAI,eAAI,CAAC,yBAAyB,CAAC,gBAAgB,CAAC,EAAE;YACrD,gBAAgB,CAAC,aAAa,EAAE,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;gBACjD,IAAI,eAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAE;oBACpC,MAAM,UAAU,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;oBAEzC,IAAI,eAAI,CAAC,yBAAyB,CAAC,UAAU,CAAC,EAAE;wBAC/C,UAAU,CAAC,aAAa,EAAE,CAAC,OAAO,CAAC,CAAC,cAAc,EAAE,EAAE;4BACrD,IAAI,eAAI,CAAC,oBAAoB,CAAC,cAAc,CAAC,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC,EAAE;gCACpG,IAAI,GAAG,mBAAmB,CAAC,IAAI,EAAE,cAAc,CAAC,OAAO,EAAE,CAAC,CAAC;6BAC3D;wBACF,CAAC,CAAC,CAAA;qBACF;iBACD;YACF,CAAC,CAAC,CAAA;SACF;KACD;IAED,OAAO,IAAI,CAAC;AACb,CAAC;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"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NgDocPlaygroundProperties } from '@ng-doc/core';
|
|
1
2
|
import { ObjectLiteralExpression } from 'ts-morph';
|
|
2
3
|
import { NgDocPlaygroundMetadata } from '../../interfaces';
|
|
3
4
|
/**
|
|
@@ -5,5 +6,6 @@ import { NgDocPlaygroundMetadata } from '../../interfaces';
|
|
|
5
6
|
*
|
|
6
7
|
* @param id - The id of the playground
|
|
7
8
|
* @param playground - The playground object
|
|
9
|
+
* @param additionalProps
|
|
8
10
|
*/
|
|
9
|
-
export declare function buildPlaygroundMetadata(id: string, playground: ObjectLiteralExpression): NgDocPlaygroundMetadata;
|
|
11
|
+
export declare function buildPlaygroundMetadata(id: string, playground: ObjectLiteralExpression, additionalProps?: NgDocPlaygroundProperties): NgDocPlaygroundMetadata;
|
|
@@ -14,8 +14,9 @@ const get_template_for_playground_1 = require("./get-template-for-playground");
|
|
|
14
14
|
*
|
|
15
15
|
* @param id - The id of the playground
|
|
16
16
|
* @param playground - The playground object
|
|
17
|
+
* @param additionalProps
|
|
17
18
|
*/
|
|
18
|
-
function buildPlaygroundMetadata(id, playground) {
|
|
19
|
+
function buildPlaygroundMetadata(id, playground, additionalProps) {
|
|
19
20
|
var _a, _b;
|
|
20
21
|
const target = (0, get_target_for_playground_1.getTargetForPlayground)(playground);
|
|
21
22
|
if (!target) {
|
|
@@ -30,7 +31,7 @@ function buildPlaygroundMetadata(id, playground) {
|
|
|
30
31
|
const standalone = (0, angular_1.isStandalone)(target);
|
|
31
32
|
if ('selector' in decorator) {
|
|
32
33
|
const selector = decorator.selector.replace(/[\n\s]/gm, '');
|
|
33
|
-
const properties = (0, get_playground_inputs_1.getPlaygroundComponentInputs)(target);
|
|
34
|
+
const properties = Object.assign(Object.assign({}, (0, get_playground_inputs_1.getPlaygroundComponentInputs)(target)), additionalProps);
|
|
34
35
|
const templateInputs = (0, get_playground_template_inputs_1.getPlaygroundTemplateInputs)(properties);
|
|
35
36
|
return {
|
|
36
37
|
selector: selector,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-playground-metadata.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/playground/build-playground-metadata.ts"],"names":[],"mappings":";;;AACA,uCAAqH;AAIrH,wCAAwG;AACxG,4DAAsD;AACtD,6EAAqE;AACrE,mEAA8F;AAC9F,qFAA6E;AAC7E,2EAAmE;AACnE,+EAAuE;AAEvE
|
|
1
|
+
{"version":3,"file":"build-playground-metadata.js","sourceRoot":"","sources":["../../../../../libs/builder/helpers/playground/build-playground-metadata.ts"],"names":[],"mappings":";;;AACA,uCAAqH;AAIrH,wCAAwG;AACxG,4DAAsD;AACtD,6EAAqE;AACrE,mEAA8F;AAC9F,qFAA6E;AAC7E,2EAAmE;AACnE,+EAAuE;AAEvE;;;;;;GAMG;AACH,SAAgB,uBAAuB,CAAC,EAAU,EAAE,UAAmC,EAAE,eAA2C;;IACnI,MAAM,MAAM,GAAiC,IAAA,kDAAsB,EAAC,UAAU,CAAC,CAAC;IAEhF,IAAI,CAAC,MAAM,EAAE;QACZ,MAAM,IAAI,KAAK,CAAC,uCAAuC,EAAE,GAAG,CAAC,CAAC;KAC9D;IAED,MAAM,SAAS,GACd,MAAA,MAAA,IAAA,+BAAqB,EAAC,MAAM,CAAC,mCAAI,IAAA,+BAAqB,EAAC,MAAM,CAAC,mCAAI,IAAA,0BAAgB,EAAC,MAAM,CAAC,CAAC;IAE5F,IAAI,CAAC,SAAS,EAAE;QACf,MAAM,IAAI,KAAK,CACd,wCAAwC,EAAE,gFAAgF,CAC1H,CAAC;KACF;IAED,MAAM,QAAQ,GAAW,IAAA,sDAAwB,EAAC,UAAU,CAAC,CAAC;IAC9D,MAAM,OAAO,GAA2B,IAAA,oDAAuB,EAAC,UAAU,CAAC,CAAC;IAC5E,MAAM,UAAU,GAAY,IAAA,sBAAY,EAAC,MAAM,CAAC,CAAC;IAEjD,IAAI,UAAU,IAAI,SAAS,EAAE;QAC5B,MAAM,QAAQ,GAAW,SAAS,CAAC,QAAS,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;QACrE,MAAM,UAAU,mCAAkC,IAAA,oDAA4B,EAAC,MAAM,CAAC,GAAK,eAAe,CAAC,CAAC;QAC5G,MAAM,cAAc,GAA2B,IAAA,4DAA2B,EAAC,UAAU,CAAC,CAAC;QAEvF,OAAO;YACN,QAAQ,EAAE,QAAQ;YAClB,UAAU;YACV,QAAQ;YACR,qBAAqB,EAAE,IAAA,oCAAgB,EAAC,MAAM,CAAC,CAAC,MAAM,CACrD,CAAC,qBAA6C,EAAE,QAAgB,EAAE,EAAE;gBACnE,uCACI,qBAAqB,KACxB,CAAC,QAAQ,CAAC,EAAE,IAAA,kCAA2B,EAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,cAAc,EAAE,KAAK,CAAC,IAC1F;YACH,CAAC,EACD,EAAE,CACF;YACD,KAAK,EAAE,MAAM;YACb,UAAU;YACV,OAAO;SACP,CAAC;KACF;SAAM,IAAI,MAAM,IAAI,SAAS,EAAE;QAC/B,MAAM,IAAI,GAAW,SAAS,CAAC,IAAK,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;QAC7D,MAAM,UAAU,GAA8B,IAAA,+CAAuB,EAAC,MAAM,CAAC,CAAC;QAC9E,MAAM,cAAc,GAA2B,IAAA,4DAA2B,EAAC,UAAU,CAAC,CAAC;QAEvF,OAAO;YACN,IAAI;YACJ,UAAU;YACV,QAAQ;YACR,qBAAqB,EAAE,EAAC,CAAC,IAAI,CAAC,EAAE,IAAA,sCAA+B,EAAC,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,cAAc,EAAE,KAAK,CAAC,EAAC;YAChH,KAAK,EAAE,MAAM;YACb,UAAU;YACV,OAAO;SACP,CAAC;KACF;SAAM;QACN,MAAM,IAAI,KAAK,CACd,kCAAkC,EAAE,mHAAmH,CACvJ,CAAC;KACF;AACF,CAAC;AA7DD,0DA6DC"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-doc/builder",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.12.1",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"builders": "./builders.json",
|
|
6
6
|
"schematics": "./schematics/collection.json",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@ng-doc/core": "16.
|
|
9
|
-
"@ng-doc/utils": "16.
|
|
8
|
+
"@ng-doc/core": "16.12.1",
|
|
9
|
+
"@ng-doc/utils": "16.12.1",
|
|
10
10
|
"@angular-devkit/architect": ">=0.1600.0",
|
|
11
11
|
"@angular-devkit/build-angular": ">=16.0.0",
|
|
12
12
|
"chokidar": "3.5.3",
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
|
|
19
|
-
// apps/ng-doc/docs/api-documentation/apps/ng-doc/docs/api-documentation/ng-doc.category.ts
|
|
20
|
-
var ng_doc_category_exports = {};
|
|
21
|
-
__export(ng_doc_category_exports, {
|
|
22
|
-
default: () => ng_doc_category_default
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(ng_doc_category_exports);
|
|
25
|
-
var ApiCategory = {
|
|
26
|
-
title: "API Documentation",
|
|
27
|
-
route: "api-documentation",
|
|
28
|
-
expandable: true,
|
|
29
|
-
order: 4
|
|
30
|
-
};
|
|
31
|
-
var ng_doc_category_default = ApiCategory;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
|
|
19
|
-
// apps/ng-doc/docs/api-documentation/templating/apps/ng-doc/docs/api-documentation/templating/ng-doc.page.ts
|
|
20
|
-
var ng_doc_page_exports = {};
|
|
21
|
-
__export(ng_doc_page_exports, {
|
|
22
|
-
default: () => ng_doc_page_default
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(ng_doc_page_exports);
|
|
25
|
-
|
|
26
|
-
// apps/ng-doc/docs/api-documentation/ng-doc.category.ts
|
|
27
|
-
var ApiCategory = {
|
|
28
|
-
title: "API Documentation",
|
|
29
|
-
route: "api-documentation",
|
|
30
|
-
expandable: true,
|
|
31
|
-
order: 4
|
|
32
|
-
};
|
|
33
|
-
var ng_doc_category_default = ApiCategory;
|
|
34
|
-
|
|
35
|
-
// apps/ng-doc/docs/api-documentation/templating/apps/ng-doc/docs/api-documentation/templating/ng-doc.page.ts
|
|
36
|
-
var ApiTemplatingPage = {
|
|
37
|
-
title: "Templating",
|
|
38
|
-
mdFile: "./index.md",
|
|
39
|
-
category: ng_doc_category_default,
|
|
40
|
-
order: 1,
|
|
41
|
-
keyword: "ContentApiTemplating"
|
|
42
|
-
};
|
|
43
|
-
var ng_doc_page_default = ApiTemplatingPage;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
|
|
19
|
-
// apps/ng-doc/docs/customization/icons/apps/ng-doc/docs/customization/icons/ng-doc.page.ts
|
|
20
|
-
var ng_doc_page_exports = {};
|
|
21
|
-
__export(ng_doc_page_exports, {
|
|
22
|
-
default: () => ng_doc_page_default
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(ng_doc_page_exports);
|
|
25
|
-
|
|
26
|
-
// apps/ng-doc/docs/customization/ng-doc.category.ts
|
|
27
|
-
var CustomizationCategory = {
|
|
28
|
-
title: "Customization",
|
|
29
|
-
order: 6,
|
|
30
|
-
expandable: true
|
|
31
|
-
};
|
|
32
|
-
var ng_doc_category_default = CustomizationCategory;
|
|
33
|
-
|
|
34
|
-
// apps/ng-doc/docs/customization/icons/apps/ng-doc/docs/customization/icons/ng-doc.page.ts
|
|
35
|
-
var IconsPage = {
|
|
36
|
-
title: `Icons`,
|
|
37
|
-
mdFile: "./index.md",
|
|
38
|
-
category: ng_doc_category_default,
|
|
39
|
-
order: 4,
|
|
40
|
-
keyword: "Icons"
|
|
41
|
-
};
|
|
42
|
-
var ng_doc_page_default = IconsPage;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
|
|
19
|
-
// apps/ng-doc/docs/customization/layout/apps/ng-doc/docs/customization/layout/ng-doc.page.ts
|
|
20
|
-
var ng_doc_page_exports = {};
|
|
21
|
-
__export(ng_doc_page_exports, {
|
|
22
|
-
default: () => ng_doc_page_default
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(ng_doc_page_exports);
|
|
25
|
-
|
|
26
|
-
// apps/ng-doc/docs/customization/ng-doc.category.ts
|
|
27
|
-
var CustomizationCategory = {
|
|
28
|
-
title: "Customization",
|
|
29
|
-
order: 6,
|
|
30
|
-
expandable: true
|
|
31
|
-
};
|
|
32
|
-
var ng_doc_category_default = CustomizationCategory;
|
|
33
|
-
|
|
34
|
-
// apps/ng-doc/docs/customization/layout/apps/ng-doc/docs/customization/layout/ng-doc.page.ts
|
|
35
|
-
var LayoutPage = {
|
|
36
|
-
title: `Layout`,
|
|
37
|
-
mdFile: "./index.md",
|
|
38
|
-
category: ng_doc_category_default,
|
|
39
|
-
order: 1
|
|
40
|
-
};
|
|
41
|
-
var ng_doc_page_default = LayoutPage;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
|
|
19
|
-
// apps/ng-doc/docs/customization/apps/ng-doc/docs/customization/ng-doc.category.ts
|
|
20
|
-
var ng_doc_category_exports = {};
|
|
21
|
-
__export(ng_doc_category_exports, {
|
|
22
|
-
default: () => ng_doc_category_default
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(ng_doc_category_exports);
|
|
25
|
-
var CustomizationCategory = {
|
|
26
|
-
title: "Customization",
|
|
27
|
-
order: 6,
|
|
28
|
-
expandable: true
|
|
29
|
-
};
|
|
30
|
-
var ng_doc_category_default = CustomizationCategory;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
|
|
19
|
-
// apps/ng-doc/docs/customization/search/apps/ng-doc/docs/customization/search/ng-doc.page.ts
|
|
20
|
-
var ng_doc_page_exports = {};
|
|
21
|
-
__export(ng_doc_page_exports, {
|
|
22
|
-
default: () => ng_doc_page_default
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(ng_doc_page_exports);
|
|
25
|
-
|
|
26
|
-
// apps/ng-doc/docs/customization/ng-doc.category.ts
|
|
27
|
-
var CustomizationCategory = {
|
|
28
|
-
title: "Customization",
|
|
29
|
-
order: 6,
|
|
30
|
-
expandable: true
|
|
31
|
-
};
|
|
32
|
-
var ng_doc_category_default = CustomizationCategory;
|
|
33
|
-
|
|
34
|
-
// apps/ng-doc/docs/customization/search/apps/ng-doc/docs/customization/search/ng-doc.page.ts
|
|
35
|
-
var SearchPage = {
|
|
36
|
-
title: "Search",
|
|
37
|
-
mdFile: "./index.md",
|
|
38
|
-
order: 2,
|
|
39
|
-
category: ng_doc_category_default
|
|
40
|
-
};
|
|
41
|
-
var ng_doc_page_default = SearchPage;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
|
|
19
|
-
// apps/ng-doc/docs/customization/themes/apps/ng-doc/docs/customization/themes/ng-doc.page.ts
|
|
20
|
-
var ng_doc_page_exports = {};
|
|
21
|
-
__export(ng_doc_page_exports, {
|
|
22
|
-
default: () => ng_doc_page_default
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(ng_doc_page_exports);
|
|
25
|
-
|
|
26
|
-
// apps/ng-doc/docs/customization/ng-doc.category.ts
|
|
27
|
-
var CustomizationCategory = {
|
|
28
|
-
title: "Customization",
|
|
29
|
-
order: 6,
|
|
30
|
-
expandable: true
|
|
31
|
-
};
|
|
32
|
-
var ng_doc_category_default = CustomizationCategory;
|
|
33
|
-
|
|
34
|
-
// apps/ng-doc/docs/customization/themes/apps/ng-doc/docs/customization/themes/ng-doc.page.ts
|
|
35
|
-
var ThemesPage = {
|
|
36
|
-
title: "Themes",
|
|
37
|
-
mdFile: "./index.md",
|
|
38
|
-
category: ng_doc_category_default,
|
|
39
|
-
order: 3,
|
|
40
|
-
keyword: "CustomizationThemes"
|
|
41
|
-
};
|
|
42
|
-
var ng_doc_page_default = ThemesPage;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
|
|
19
|
-
// apps/ng-doc/docs/customization/type-controls/apps/ng-doc/docs/customization/type-controls/ng-doc.page.ts
|
|
20
|
-
var ng_doc_page_exports = {};
|
|
21
|
-
__export(ng_doc_page_exports, {
|
|
22
|
-
default: () => ng_doc_page_default
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(ng_doc_page_exports);
|
|
25
|
-
|
|
26
|
-
// apps/ng-doc/docs/customization/ng-doc.category.ts
|
|
27
|
-
var CustomizationCategory = {
|
|
28
|
-
title: "Customization",
|
|
29
|
-
order: 6,
|
|
30
|
-
expandable: true
|
|
31
|
-
};
|
|
32
|
-
var ng_doc_category_default = CustomizationCategory;
|
|
33
|
-
|
|
34
|
-
// apps/ng-doc/docs/customization/type-controls/apps/ng-doc/docs/customization/type-controls/ng-doc.page.ts
|
|
35
|
-
var TypeControlsPage = {
|
|
36
|
-
title: "Type Controls",
|
|
37
|
-
mdFile: "./index.md",
|
|
38
|
-
category: ng_doc_category_default,
|
|
39
|
-
keyword: "CustomizationTypeControls"
|
|
40
|
-
};
|
|
41
|
-
var ng_doc_page_default = TypeControlsPage;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
|
|
19
|
-
// apps/ng-doc/docs/develop/apps/ng-doc/docs/develop/ng-doc.page.ts
|
|
20
|
-
var ng_doc_page_exports = {};
|
|
21
|
-
__export(ng_doc_page_exports, {
|
|
22
|
-
DevelopPage: () => DevelopPage,
|
|
23
|
-
default: () => ng_doc_page_default
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(ng_doc_page_exports);
|
|
26
|
-
|
|
27
|
-
// libs/core/constants/angular-entities.ts
|
|
28
|
-
var NgDocAngularEntities = ["Component", "Directive", "Pipe", "Injectable", "NgModule"];
|
|
29
|
-
|
|
30
|
-
// libs/core/constants/declarations.ts
|
|
31
|
-
var NgDocDeclarations = ["Class", "Interface", "Enum", "Function", "TypeAlias", "Variable"];
|
|
32
|
-
|
|
33
|
-
// apps/ng-doc/docs/develop/apps/ng-doc/docs/develop/ng-doc.page.ts
|
|
34
|
-
var DevelopPage = {
|
|
35
|
-
title: "Develop",
|
|
36
|
-
mdFile: "./index.md.nunj",
|
|
37
|
-
onlyForTags: ["development"],
|
|
38
|
-
data: {
|
|
39
|
-
modifiers: ["abstract", "static", "async", "readonly"],
|
|
40
|
-
entities: {
|
|
41
|
-
typescript: NgDocDeclarations,
|
|
42
|
-
angular: NgDocAngularEntities
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
keyword: "DevelopPage"
|
|
46
|
-
};
|
|
47
|
-
var ng_doc_page_default = DevelopPage;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
|
|
19
|
-
// apps/ng-doc/docs/features/cache/apps/ng-doc/docs/features/cache/ng-doc.page.ts
|
|
20
|
-
var ng_doc_page_exports = {};
|
|
21
|
-
__export(ng_doc_page_exports, {
|
|
22
|
-
default: () => ng_doc_page_default
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(ng_doc_page_exports);
|
|
25
|
-
|
|
26
|
-
// apps/ng-doc/docs/features/ng-doc.category.ts
|
|
27
|
-
var FeaturesCategory = {
|
|
28
|
-
title: "Features",
|
|
29
|
-
order: 5
|
|
30
|
-
};
|
|
31
|
-
var ng_doc_category_default = FeaturesCategory;
|
|
32
|
-
|
|
33
|
-
// apps/ng-doc/docs/features/cache/apps/ng-doc/docs/features/cache/ng-doc.page.ts
|
|
34
|
-
var CachePage = {
|
|
35
|
-
title: `Cache`,
|
|
36
|
-
mdFile: "./index.md",
|
|
37
|
-
category: ng_doc_category_default,
|
|
38
|
-
order: 3
|
|
39
|
-
};
|
|
40
|
-
var ng_doc_page_default = CachePage;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
|
|
19
|
-
// apps/ng-doc/docs/features/keywords/apps/ng-doc/docs/features/keywords/ng-doc.page.ts
|
|
20
|
-
var ng_doc_page_exports = {};
|
|
21
|
-
__export(ng_doc_page_exports, {
|
|
22
|
-
default: () => ng_doc_page_default
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(ng_doc_page_exports);
|
|
25
|
-
|
|
26
|
-
// apps/ng-doc/docs/features/ng-doc.category.ts
|
|
27
|
-
var FeaturesCategory = {
|
|
28
|
-
title: "Features",
|
|
29
|
-
order: 5
|
|
30
|
-
};
|
|
31
|
-
var ng_doc_category_default = FeaturesCategory;
|
|
32
|
-
|
|
33
|
-
// apps/ng-doc/docs/features/keywords/apps/ng-doc/docs/features/keywords/ng-doc.page.ts
|
|
34
|
-
var KeywordsPage = {
|
|
35
|
-
title: "Keywords",
|
|
36
|
-
mdFile: "./index.md",
|
|
37
|
-
category: ng_doc_category_default,
|
|
38
|
-
keyword: "FeaturesKeywords",
|
|
39
|
-
order: 4
|
|
40
|
-
};
|
|
41
|
-
var ng_doc_page_default = KeywordsPage;
|