@powerlines/plugin-alloy 0.15.6 → 0.15.7
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/dist/builtin-file-BTFY397y.d.mts +34 -0
- package/dist/builtin-file-Cc9EahS_.mjs +42 -0
- package/dist/builtin-file-Cx2gYmvj.cjs +47 -0
- package/dist/builtin-file-DZ0j7GQ3.d.cts +34 -0
- package/dist/capnp-Bej06Vo6.mjs +259 -0
- package/dist/capnp-CirEkAHB.d.cts +86 -0
- package/dist/capnp-kgq1Wxjw.d.mts +87 -0
- package/dist/capnp-uHWANTSk.cjs +356 -0
- package/dist/{_virtual/rolldown_runtime.cjs → chunk-BrXtsOCC.cjs} +13 -1
- package/dist/chunk-CLCJnD51.mjs +39 -0
- package/dist/components-BK5Ml-fB.mjs +1 -0
- package/dist/components-BYyc8-6U.cjs +0 -0
- package/dist/components-C9Lp4xr5.mjs +1 -0
- package/dist/components-CNE_Nde0.mjs +1 -0
- package/dist/components-Cvpo9IEL.cjs +0 -0
- package/dist/components-DSpDVIf0.d.cts +142 -0
- package/dist/components-Gg416Czx.cjs +0 -0
- package/dist/components-ZbItRNLr.cjs +0 -0
- package/dist/components-cffsgxGP.d.mts +142 -0
- package/dist/components-pztyf7qk.mjs +1 -0
- package/dist/context-B6PdDHc7.d.cts +26 -0
- package/dist/context-BDpEChDc.cjs +43 -0
- package/dist/context-BRIdBgyT.d.mts +1680 -0
- package/dist/context-CWt70HA3.d.cts +1680 -0
- package/dist/context-uyV_b5LD.mjs +26 -0
- package/dist/context-wYPSb88-.d.mts +26 -0
- package/dist/contexts-CWIkvja3.mjs +1 -0
- package/dist/contexts-Do5bLA7f.cjs +0 -0
- package/dist/contexts-DzdhIC7G.cjs +0 -0
- package/dist/contexts-oubuaPo0.mjs +1 -0
- package/dist/core/components/index.cjs +9 -6
- package/dist/core/components/index.d.cts +6 -3
- package/dist/core/components/index.d.mts +6 -3
- package/dist/core/components/index.mjs +6 -3
- package/dist/core/components/output.cjs +4 -39
- package/dist/core/components/output.d.cts +2 -17
- package/dist/core/components/output.d.mts +2 -17
- package/dist/core/components/output.mjs +3 -37
- package/dist/core/components/single-line-comment.cjs +3 -21
- package/dist/core/components/single-line-comment.d.cts +3 -21
- package/dist/core/components/single-line-comment.d.mts +3 -21
- package/dist/core/components/single-line-comment.mjs +2 -19
- package/dist/core/components/source-file.cjs +3 -57
- package/dist/core/components/source-file.d.cts +3 -30
- package/dist/core/components/source-file.d.mts +3 -30
- package/dist/core/components/source-file.mjs +2 -54
- package/dist/core/contexts/context.cjs +5 -28
- package/dist/core/contexts/context.d.cts +2 -25
- package/dist/core/contexts/context.d.mts +2 -25
- package/dist/core/contexts/context.mjs +2 -24
- package/dist/core/contexts/index.cjs +15 -13
- package/dist/core/contexts/index.d.cts +5 -2
- package/dist/core/contexts/index.d.mts +6 -2
- package/dist/core/contexts/index.mjs +4 -2
- package/dist/core/contexts/reflection.cjs +10 -67
- package/dist/core/contexts/reflection.d.cts +3 -50
- package/dist/core/contexts/reflection.d.mts +4 -50
- package/dist/core/contexts/reflection.mjs +2 -58
- package/dist/core/index.cjs +22 -21
- package/dist/core/index.d.cts +9 -5
- package/dist/core/index.d.mts +10 -7
- package/dist/core/index.mjs +8 -7
- package/dist/create-builtin-Be3J_vqf.mjs +18 -0
- package/dist/create-builtin-BhPGJIAV.d.mts +15 -0
- package/dist/create-builtin-Bok_ENQo.d.cts +15 -0
- package/dist/create-builtin-eQVsnSGQ.cjs +24 -0
- package/dist/dynamic-import-statement-CKVyBkh0.cjs +29 -0
- package/dist/dynamic-import-statement-CQUyuOvA.mjs +23 -0
- package/dist/dynamic-import-statement-DcFHKm1U.d.mts +32 -0
- package/dist/dynamic-import-statement-Dv-agvo9.d.cts +32 -0
- package/dist/entry-file-BZUmlDWP.d.cts +27 -0
- package/dist/entry-file-CJVwkVNJ.mjs +36 -0
- package/dist/entry-file-Cw1Nykfb.cjs +44 -0
- package/dist/entry-file-Dvn4sgIC.d.mts +27 -0
- package/dist/helpers/capnp.cjs +18 -274
- package/dist/helpers/capnp.d.cts +2 -85
- package/dist/helpers/capnp.d.mts +3 -85
- package/dist/helpers/capnp.mjs +1 -255
- package/dist/helpers/create-builtin.cjs +2 -18
- package/dist/helpers/create-builtin.d.cts +1 -14
- package/dist/helpers/create-builtin.d.mts +1 -14
- package/dist/helpers/create-builtin.mjs +1 -16
- package/dist/helpers/index.cjs +24 -23
- package/dist/helpers/index.d.cts +5 -4
- package/dist/helpers/index.d.mts +6 -4
- package/dist/helpers/index.mjs +5 -4
- package/dist/helpers/refkey.cjs +3 -15
- package/dist/helpers/refkey.d.cts +1 -12
- package/dist/helpers/refkey.d.mts +1 -12
- package/dist/helpers/refkey.mjs +2 -13
- package/dist/helpers/typescript.cjs +2 -45
- package/dist/helpers/typescript.d.cts +1 -22
- package/dist/helpers/typescript.d.mts +2 -22
- package/dist/helpers/typescript.mjs +1 -43
- package/dist/index-Blaks7l8.d.cts +1 -0
- package/dist/index-BwFl_eS0.d.mts +1 -0
- package/dist/index-CCKHlTA4.d.mts +1 -0
- package/dist/index-CwSIy_W-.d.cts +1 -0
- package/dist/index-D13oYj4_.d.mts +1 -0
- package/dist/index-DBGd4WeR.d.mts +1 -0
- package/dist/index-DdxxIAKU.d.cts +1 -0
- package/dist/index-DrZ2Dh-H.d.cts +1 -0
- package/dist/index-gpCH5158.d.mts +1 -0
- package/dist/index-lQ_hGQ08.d.cts +1 -0
- package/dist/index.cjs +277 -130
- package/dist/index.d.cts +5 -25
- package/dist/index.d.mts +5 -30
- package/dist/index.mjs +27 -50
- package/dist/jsx-runtime-CUeGxIAS.mjs +6617 -0
- package/dist/jsx-runtime-DYxEHXau.cjs +7511 -0
- package/dist/markdown/components/index.cjs +13 -7
- package/dist/markdown/components/index.d.cts +7 -2
- package/dist/markdown/components/index.d.mts +7 -2
- package/dist/markdown/components/index.mjs +8 -2
- package/dist/markdown/components/markdown-file.cjs +7 -117
- package/dist/markdown/components/markdown-file.d.cts +4 -22
- package/dist/markdown/components/markdown-file.d.mts +4 -22
- package/dist/markdown/components/markdown-file.mjs +5 -114
- package/dist/markdown/components/markdown-table.cjs +6 -100
- package/dist/markdown/components/markdown-table.d.cts +4 -26
- package/dist/markdown/components/markdown-table.d.mts +4 -26
- package/dist/markdown/components/markdown-table.mjs +3 -96
- package/dist/markdown/contexts/index.cjs +7 -5
- package/dist/markdown/contexts/index.d.cts +2 -1
- package/dist/markdown/contexts/index.d.mts +2 -1
- package/dist/markdown/contexts/index.mjs +3 -1
- package/dist/markdown/contexts/markdown-table.cjs +6 -36
- package/dist/markdown/contexts/markdown-table.d.cts +1 -36
- package/dist/markdown/contexts/markdown-table.d.mts +1 -36
- package/dist/markdown/contexts/markdown-table.mjs +2 -31
- package/dist/markdown/index.cjs +18 -14
- package/dist/markdown/index.d.cts +8 -3
- package/dist/markdown/index.d.mts +8 -5
- package/dist/markdown/index.mjs +9 -5
- package/dist/markdown-file-BMWEBCyl.cjs +127 -0
- package/dist/markdown-file-Cfrqc-hN.mjs +115 -0
- package/dist/markdown-file-DUSLyCXK.d.cts +23 -0
- package/dist/markdown-file-nmspmOXL.d.mts +23 -0
- package/dist/markdown-table-BH93E_KU.d.cts +27 -0
- package/dist/markdown-table-BOFmeE2m.d.mts +27 -0
- package/dist/markdown-table-CBzXYSUb.cjs +56 -0
- package/dist/markdown-table-CqyI4NbJ.d.cts +37 -0
- package/dist/markdown-table-D7tYGUEd.mjs +97 -0
- package/dist/markdown-table-DB3e0UqW.d.mts +37 -0
- package/dist/markdown-table-DCJGVRji.mjs +33 -0
- package/dist/markdown-table-DJnMnLrC.cjs +116 -0
- package/dist/output-BwrSWhh_.cjs +45 -0
- package/dist/output-C5E9Yg_M.d.mts +18 -0
- package/dist/output-CwItdY-C.mjs +38 -0
- package/dist/output-dEdF2_eK.d.cts +18 -0
- package/dist/plugin-CB4x_Q7V.d.mts +40 -0
- package/dist/plugin-CihR7e46.d.cts +40 -0
- package/dist/plugin-CofWgH_d.cjs +0 -0
- package/dist/plugin-DYr7uFlI.mjs +1 -0
- package/dist/record-expression-AF7Vq6a_.d.cts +12 -0
- package/dist/record-expression-B3Ey9GU1.d.mts +12 -0
- package/dist/record-expression-BAmHoqT_.mjs +11 -0
- package/dist/record-expression-Dib5JNnw.cjs +16 -0
- package/dist/refkey-1S6o7FvP.cjs +20 -0
- package/dist/refkey-Bde1cIzZ.d.cts +13 -0
- package/dist/refkey-JNhwrUqU.d.mts +13 -0
- package/dist/refkey-MvGS-pyo.mjs +15 -0
- package/dist/reflection-50U0xo4F.d.mts +52 -0
- package/dist/reflection-CEg9I3Z-.cjs +107 -0
- package/dist/reflection-DdUbSUpz.d.cts +51 -0
- package/dist/reflection-rAKwnBc8.mjs +60 -0
- package/dist/single-line-comment-BlsLcI_G.d.cts +22 -0
- package/dist/single-line-comment-CwrahJhq.d.mts +22 -0
- package/dist/single-line-comment-LR74JZLa.mjs +20 -0
- package/dist/single-line-comment-LhhrQO3v.cjs +25 -0
- package/dist/source-file-B3nELUUN.cjs +62 -0
- package/dist/source-file-BhgOu1Wr.d.mts +31 -0
- package/dist/source-file-CusamdN4.d.cts +31 -0
- package/dist/source-file-CxzTxqAg.mjs +55 -0
- package/dist/tsdoc-97Dh6htZ.cjs +575 -0
- package/dist/tsdoc-BMyugfPn.d.mts +152 -0
- package/dist/tsdoc-D2BVcBJd.mjs +455 -0
- package/dist/tsdoc-DWIcbd8M.d.cts +152 -0
- package/dist/tsdoc-reflection-B66tRNu1.d.cts +18 -0
- package/dist/tsdoc-reflection-BTAFEc-s.cjs +188 -0
- package/dist/tsdoc-reflection-CBEWiA-g.d.mts +18 -0
- package/dist/tsdoc-reflection-DOgVWcNP.mjs +169 -0
- package/dist/type-f5ttv0My.d.mts +3 -0
- package/dist/types/components.cjs +1 -0
- package/dist/types/components.d.cts +2 -142
- package/dist/types/components.d.mts +2 -142
- package/dist/types/components.mjs +2 -0
- package/dist/types/index.cjs +2 -0
- package/dist/types/index.d.cts +3 -2
- package/dist/types/index.d.mts +3 -2
- package/dist/types/index.mjs +3 -0
- package/dist/types/plugin.cjs +1 -0
- package/dist/types/plugin.d.cts +2 -41
- package/dist/types/plugin.d.mts +2 -41
- package/dist/types/plugin.mjs +2 -0
- package/dist/typescript/components/builtin-file.cjs +8 -43
- package/dist/typescript/components/builtin-file.d.cts +6 -33
- package/dist/typescript/components/builtin-file.d.mts +6 -33
- package/dist/typescript/components/builtin-file.mjs +7 -41
- package/dist/typescript/components/dynamic-import-statement.cjs +3 -24
- package/dist/typescript/components/dynamic-import-statement.d.cts +1 -31
- package/dist/typescript/components/dynamic-import-statement.d.mts +1 -31
- package/dist/typescript/components/dynamic-import-statement.mjs +2 -22
- package/dist/typescript/components/entry-file.cjs +7 -38
- package/dist/typescript/components/entry-file.d.cts +5 -26
- package/dist/typescript/components/entry-file.d.mts +5 -26
- package/dist/typescript/components/entry-file.mjs +6 -35
- package/dist/typescript/components/index.cjs +49 -43
- package/dist/typescript/components/index.d.cts +13 -9
- package/dist/typescript/components/index.d.mts +14 -9
- package/dist/typescript/components/index.mjs +15 -9
- package/dist/typescript/components/record-expression.cjs +3 -11
- package/dist/typescript/components/record-expression.d.cts +1 -11
- package/dist/typescript/components/record-expression.d.mts +1 -11
- package/dist/typescript/components/record-expression.mjs +2 -9
- package/dist/typescript/components/tsdoc-reflection.cjs +8 -172
- package/dist/typescript/components/tsdoc-reflection.d.cts +4 -17
- package/dist/typescript/components/tsdoc-reflection.d.mts +4 -17
- package/dist/typescript/components/tsdoc-reflection.mjs +5 -168
- package/dist/typescript/components/tsdoc.cjs +23 -475
- package/dist/typescript/components/tsdoc.d.cts +3 -151
- package/dist/typescript/components/tsdoc.d.mts +3 -151
- package/dist/typescript/components/tsdoc.mjs +3 -454
- package/dist/typescript/components/typescript-file.cjs +8 -192
- package/dist/typescript/components/typescript-file.d.cts +4 -46
- package/dist/typescript/components/typescript-file.d.mts +4 -46
- package/dist/typescript/components/typescript-file.mjs +5 -188
- package/dist/typescript/components/typescript-interface.cjs +8 -67
- package/dist/typescript/components/typescript-interface.d.cts +3 -23
- package/dist/typescript/components/typescript-interface.d.mts +4 -23
- package/dist/typescript/components/typescript-interface.mjs +6 -64
- package/dist/typescript/components/typescript-object.cjs +8 -124
- package/dist/typescript/components/typescript-object.d.cts +3 -24
- package/dist/typescript/components/typescript-object.d.mts +4 -24
- package/dist/typescript/components/typescript-object.mjs +6 -121
- package/dist/typescript/index.cjs +49 -44
- package/dist/typescript/index.d.cts +13 -9
- package/dist/typescript/index.d.mts +14 -10
- package/dist/typescript/index.mjs +15 -10
- package/dist/typescript-BXhP0qIJ.mjs +45 -0
- package/dist/typescript-BwiYpbhk.cjs +51 -0
- package/dist/typescript-DNBFhP72.d.mts +25 -0
- package/dist/typescript-YczHz9BQ.d.cts +23 -0
- package/dist/typescript-file-BMGxgxo7.cjs +207 -0
- package/dist/typescript-file-BqxyTQ52.d.cts +47 -0
- package/dist/typescript-file-CAT-CIk2.mjs +189 -0
- package/dist/typescript-file-CxDEGozE.d.mts +47 -0
- package/dist/typescript-interface-BGdhcY-U.d.cts +24 -0
- package/dist/typescript-interface-CTw2F_uD.d.mts +25 -0
- package/dist/typescript-interface-CqST5f2X.cjs +79 -0
- package/dist/typescript-interface-WZX7BAi8.mjs +66 -0
- package/dist/typescript-object-65Ei0RFv.d.cts +25 -0
- package/dist/typescript-object-C8Wd0Uhv.d.mts +26 -0
- package/dist/typescript-object-D1y6Cvnl.mjs +122 -0
- package/dist/typescript-object-KhCP_Nc8.cjs +135 -0
- package/package.json +8 -41
- package/dist/deepkit/src/utilities.cjs +0 -112
- package/dist/deepkit/src/utilities.mjs +0 -108
- package/dist/powerlines/src/lib/utilities/file-header.cjs +0 -13
- package/dist/powerlines/src/lib/utilities/file-header.mjs +0 -12
- package/dist/powerlines/src/types/babel.d.mts +0 -2
- package/dist/powerlines/src/types/build.d.cts +0 -145
- package/dist/powerlines/src/types/build.d.mts +0 -145
- package/dist/powerlines/src/types/commands.d.cts +0 -8
- package/dist/powerlines/src/types/commands.d.mts +0 -9
- package/dist/powerlines/src/types/config.d.cts +0 -369
- package/dist/powerlines/src/types/config.d.mts +0 -369
- package/dist/powerlines/src/types/context.d.cts +0 -362
- package/dist/powerlines/src/types/context.d.mts +0 -364
- package/dist/powerlines/src/types/fs.d.cts +0 -458
- package/dist/powerlines/src/types/fs.d.mts +0 -458
- package/dist/powerlines/src/types/hooks.d.mts +0 -2
- package/dist/powerlines/src/types/plugin.d.cts +0 -231
- package/dist/powerlines/src/types/plugin.d.mts +0 -231
- package/dist/powerlines/src/types/resolved.d.cts +0 -81
- package/dist/powerlines/src/types/resolved.d.mts +0 -81
- package/dist/powerlines/src/types/tsconfig.d.cts +0 -69
- package/dist/powerlines/src/types/tsconfig.d.mts +0 -69
- package/dist/vendor.cjs +0 -12594
- package/dist/vendor.d.cts +0 -1
- package/dist/vendor.d.ts +0 -1
- package/dist/vendor.js +0 -12424
|
@@ -1,45 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { isUndefined } from "@stryke/type-checks/is-undefined";
|
|
3
|
-
import { camelCase } from "@stryke/string-format/camel-case";
|
|
4
|
-
import { titleCase } from "@stryke/string-format/title-case";
|
|
1
|
+
import { t as generateTypeScriptObject } from "../typescript-BXhP0qIJ.mjs";
|
|
5
2
|
|
|
6
|
-
//#region src/helpers/typescript.ts
|
|
7
|
-
/**
|
|
8
|
-
* Generates a TypeScript object for the given reflection class.
|
|
9
|
-
*
|
|
10
|
-
* @param reflection - The reflection class to generate the object for.
|
|
11
|
-
* @param options - Options for generating the object.
|
|
12
|
-
* @returns A string containing the TypeScript object definition.
|
|
13
|
-
*/
|
|
14
|
-
function generateTypeScriptObject(reflection, options = {}) {
|
|
15
|
-
if (!reflection) return "";
|
|
16
|
-
return `
|
|
17
|
-
/**
|
|
18
|
-
* ${reflection.getDescription() || `${titleCase(options.overrideName || reflection.getClassName() || reflection.getName())} object instance`}.
|
|
19
|
-
*/
|
|
20
|
-
export const ${camelCase(options.overrideName || reflection.getName())}${options.overrideExtends !== false && (options.overrideExtends || reflection.getSuperReflectionClass()?.getName()) ? `: ${options.overrideExtends || reflection.getSuperReflectionClass()?.getName()}` : ""} = {
|
|
21
|
-
${reflection.getProperties().filter((item) => !item.isIgnored() && !isUndefined(options.defaultValues?.[item.getNameAsString()] ?? item.getAlias().reduce((ret, alias) => {
|
|
22
|
-
if (isUndefined(ret) && !isUndefined(options.defaultValues?.[alias])) return options.defaultValues?.[alias];
|
|
23
|
-
return ret;
|
|
24
|
-
}, void 0) ?? item.getDefaultValue())).sort((a, b) => a.isReadonly() && b.isReadonly() || !a.isReadonly() && !b.isReadonly() ? a.getNameAsString().localeCompare(b.getNameAsString()) : a.isReadonly() ? 1 : -1).map((item) => ` /**
|
|
25
|
-
* ${item.getDescription() || item.getTitle() || titleCase(item.getNameAsString())}
|
|
26
|
-
*
|
|
27
|
-
* @title ${item.getTitle() || titleCase(item.getNameAsString())}${item.getAlias().length ? `
|
|
28
|
-
${item.getAlias().map((alias) => ` * @alias ${alias}`).join("\n")}` : ""}${item.getDomain() ? `
|
|
29
|
-
* @domain ${item.getDomain()}` : ""}${item.getPermission().length ? `
|
|
30
|
-
${item.getPermission().map((permission) => ` * @permission ${permission}`).join("\n")}` : ""}${item.isInternal() ? `
|
|
31
|
-
* @internal` : ""}${item.isReadonly() ? `
|
|
32
|
-
* @readonly` : ""}${item.isIgnored() ? `
|
|
33
|
-
* @ignored` : ""}${item.isHidden() ? `
|
|
34
|
-
* @hidden` : ""}
|
|
35
|
-
*/
|
|
36
|
-
${item.getNameAsString()}: ${stringifyValue(item.getType(), options.defaultValues?.[item.getNameAsString()] ?? item.getAlias().reduce((ret, alias) => {
|
|
37
|
-
if (isUndefined(ret) && !isUndefined(options.defaultValues?.[alias])) return options.defaultValues?.[alias];
|
|
38
|
-
return ret;
|
|
39
|
-
}, void 0) ?? item.getDefaultValue())}`).join(", \n")}
|
|
40
|
-
};
|
|
41
|
-
`;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
//#endregion
|
|
45
3
|
export { generateTypeScriptObject };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/index.cjs
CHANGED
|
@@ -1,40 +1,17 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
const require_core_contexts_reflection = require('./core/contexts/reflection.cjs');
|
|
8
|
-
require('./core/index.cjs');
|
|
9
|
-
const require_helpers_capnp = require('./helpers/capnp.cjs');
|
|
10
|
-
const require_helpers_create_builtin = require('./helpers/create-builtin.cjs');
|
|
11
|
-
const require_helpers_refkey = require('./helpers/refkey.cjs');
|
|
12
|
-
const require_helpers_typescript = require('./helpers/typescript.cjs');
|
|
13
|
-
require('./helpers/index.cjs');
|
|
14
|
-
const require_markdown_components_markdown_file = require('./markdown/components/markdown-file.cjs');
|
|
15
|
-
const require_markdown_contexts_markdown_table = require('./markdown/contexts/markdown-table.cjs');
|
|
16
|
-
const require_markdown_components_markdown_table = require('./markdown/components/markdown-table.cjs');
|
|
17
|
-
require('./markdown/index.cjs');
|
|
18
|
-
const require_typescript_components_tsdoc = require('./typescript/components/tsdoc.cjs');
|
|
19
|
-
const require_typescript_components_typescript_file = require('./typescript/components/typescript-file.cjs');
|
|
20
|
-
const require_typescript_components_builtin_file = require('./typescript/components/builtin-file.cjs');
|
|
21
|
-
const require_typescript_components_dynamic_import_statement = require('./typescript/components/dynamic-import-statement.cjs');
|
|
22
|
-
const require_typescript_components_entry_file = require('./typescript/components/entry-file.cjs');
|
|
23
|
-
const require_typescript_components_record_expression = require('./typescript/components/record-expression.cjs');
|
|
24
|
-
const require_typescript_components_tsdoc_reflection = require('./typescript/components/tsdoc-reflection.cjs');
|
|
25
|
-
const require_typescript_components_typescript_interface = require('./typescript/components/typescript-interface.cjs');
|
|
26
|
-
const require_typescript_components_typescript_object = require('./typescript/components/typescript-object.cjs');
|
|
27
|
-
require('./typescript/index.cjs');
|
|
28
|
-
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
29
|
-
let __alloy_js_core = require("@alloy-js/core");
|
|
2
|
+
const require_chunk = require('./chunk-BrXtsOCC.cjs');
|
|
3
|
+
const require_jsx_runtime = require('./jsx-runtime-DYxEHXau.cjs');
|
|
4
|
+
require('./context-BDpEChDc.cjs');
|
|
5
|
+
const require_output = require('./output-BwrSWhh_.cjs');
|
|
6
|
+
let prettier_doc_js = require("prettier/doc.js");
|
|
30
7
|
let __alloy_js_rollup_plugin = require("@alloy-js/rollup-plugin");
|
|
31
|
-
__alloy_js_rollup_plugin =
|
|
8
|
+
__alloy_js_rollup_plugin = require_chunk.__toESM(__alloy_js_rollup_plugin);
|
|
32
9
|
let __storm_software_config_tools_types = require("@storm-software/config-tools/types");
|
|
33
10
|
let __stryke_json_storm_json = require("@stryke/json/storm-json");
|
|
34
11
|
let __stryke_path_is_parent_path = require("@stryke/path/is-parent-path");
|
|
35
12
|
let __stryke_path_replace = require("@stryke/path/replace");
|
|
36
13
|
let __stryke_type_checks_is_set_string = require("@stryke/type-checks/is-set-string");
|
|
37
|
-
let
|
|
14
|
+
let __vue_reactivity = require("@vue/reactivity");
|
|
38
15
|
|
|
39
16
|
//#region src/index.tsx
|
|
40
17
|
/**
|
|
@@ -58,13 +35,7 @@ const plugin = (options = {}) => {
|
|
|
58
35
|
pragma: "Alloy.createElement",
|
|
59
36
|
importSource: "@alloy-js/core"
|
|
60
37
|
} } },
|
|
61
|
-
plugins: [(0, __alloy_js_rollup_plugin.default)()]
|
|
62
|
-
alias: { "@alloy-js/core": "@powerlines/plugin-alloy/vendor" },
|
|
63
|
-
external: [
|
|
64
|
-
"@alloy-js/core",
|
|
65
|
-
"@vue/reactivity",
|
|
66
|
-
"@vue/shared"
|
|
67
|
-
]
|
|
38
|
+
plugins: [(0, __alloy_js_rollup_plugin.default)()]
|
|
68
39
|
}
|
|
69
40
|
};
|
|
70
41
|
},
|
|
@@ -79,20 +50,27 @@ const plugin = (options = {}) => {
|
|
|
79
50
|
if (this.config.alloy?.typescript !== false) this.dependencies["@alloy-js/typescript"] = "^0.22.0";
|
|
80
51
|
if (this.config.alloy?.json === true) this.dependencies["@alloy-js/json"] = "^0.22.0";
|
|
81
52
|
if (this.config.alloy?.markdown === true) this.dependencies["@alloy-js/markdown"] = "^0.22.0";
|
|
53
|
+
},
|
|
54
|
+
resolveId(id) {
|
|
55
|
+
if (id === "@alloy-js/core") return {
|
|
56
|
+
id: "@powerlines/plugin-alloy",
|
|
57
|
+
external: true
|
|
58
|
+
};
|
|
59
|
+
return null;
|
|
82
60
|
}
|
|
83
61
|
}, {
|
|
84
62
|
name: "alloy:update-context",
|
|
85
63
|
configResolved: {
|
|
86
64
|
order: "pre",
|
|
87
65
|
async handler() {
|
|
88
|
-
this.render = async (children) => {
|
|
66
|
+
this.render = async (children$1) => {
|
|
89
67
|
const _self$ = this;
|
|
90
|
-
const tree =
|
|
68
|
+
const tree = require_jsx_runtime.renderTree(require_jsx_runtime.createComponent(require_output.Output, {
|
|
91
69
|
context: _self$,
|
|
92
70
|
get basePath() {
|
|
93
71
|
return _self$.workspaceConfig.workspaceRoot;
|
|
94
72
|
},
|
|
95
|
-
children
|
|
73
|
+
children: children$1
|
|
96
74
|
}));
|
|
97
75
|
await writeTree(this, tree, this.config.alloy);
|
|
98
76
|
};
|
|
@@ -108,14 +86,14 @@ var src_default = plugin;
|
|
|
108
86
|
* @param tree - The rendered output files.
|
|
109
87
|
*/
|
|
110
88
|
async function writeTree(context, tree, options = {}) {
|
|
111
|
-
await
|
|
89
|
+
await require_jsx_runtime.flushJobsAsync();
|
|
112
90
|
let result;
|
|
113
|
-
const generateOutput = async (currentDirectory, root) => {
|
|
114
|
-
if (!Array.isArray(root)) return;
|
|
91
|
+
const generateOutput = async (currentDirectory, root$1) => {
|
|
92
|
+
if (!Array.isArray(root$1)) return;
|
|
115
93
|
const recurse = async (cwd) => {
|
|
116
|
-
for (const child of root) await generateOutput(cwd, child);
|
|
94
|
+
for (const child of root$1) await generateOutput(cwd, child);
|
|
117
95
|
};
|
|
118
|
-
const renderContext =
|
|
96
|
+
const renderContext = require_jsx_runtime.getContextForRenderNode(root$1);
|
|
119
97
|
if (!renderContext) return recurse(currentDirectory);
|
|
120
98
|
if (renderContext.meta?.directory) {
|
|
121
99
|
const directory = {
|
|
@@ -138,7 +116,7 @@ async function writeTree(context, tree, options = {}) {
|
|
|
138
116
|
path: (0, __stryke_path_replace.replacePath)(renderContext.meta.sourceFile.path, context.builtinsPath),
|
|
139
117
|
filetype: renderContext.meta.sourceFile.filetype,
|
|
140
118
|
preset: renderContext.meta.output?.mode,
|
|
141
|
-
contents: await printTree(context, root, options)
|
|
119
|
+
contents: await printTree$1(context, root$1, options)
|
|
142
120
|
};
|
|
143
121
|
} else if (renderContext.meta?.entry || (0, __stryke_path_is_parent_path.isParentPath)(context.entryPath, renderContext.meta.sourceFile.path)) {
|
|
144
122
|
context.log(__storm_software_config_tools_types.LogLevelLabel.TRACE, `Rendering entry module at path: ${renderContext.meta.sourceFile.path}`);
|
|
@@ -148,7 +126,7 @@ async function writeTree(context, tree, options = {}) {
|
|
|
148
126
|
path: renderContext.meta.sourceFile.path,
|
|
149
127
|
filetype: renderContext.meta.sourceFile.filetype,
|
|
150
128
|
preset: renderContext.meta.output?.mode,
|
|
151
|
-
contents: await printTree(context, root, options)
|
|
129
|
+
contents: await printTree$1(context, root$1, options)
|
|
152
130
|
};
|
|
153
131
|
} else {
|
|
154
132
|
context.log(__storm_software_config_tools_types.LogLevelLabel.TRACE, `Rendering source file at path: ${renderContext.meta.sourceFile.path}`);
|
|
@@ -157,7 +135,7 @@ async function writeTree(context, tree, options = {}) {
|
|
|
157
135
|
path: renderContext.meta.sourceFile.path,
|
|
158
136
|
filetype: renderContext.meta.sourceFile.filetype,
|
|
159
137
|
preset: renderContext.meta.output?.mode,
|
|
160
|
-
contents: await printTree(context, root, options)
|
|
138
|
+
contents: await printTree$1(context, root$1, options)
|
|
161
139
|
};
|
|
162
140
|
}
|
|
163
141
|
currentDirectory.contents.push(outputFile);
|
|
@@ -175,8 +153,8 @@ async function writeTree(context, tree, options = {}) {
|
|
|
175
153
|
} else await recurse(currentDirectory);
|
|
176
154
|
};
|
|
177
155
|
await generateOutput(void 0, tree);
|
|
178
|
-
const writeOutput = async (context$1, output) => {
|
|
179
|
-
for (const sub of output.contents) if (sub.kind === "directory") await writeOutput(context$1, sub);
|
|
156
|
+
const writeOutput$1 = async (context$1, output) => {
|
|
157
|
+
for (const sub of output.contents) if (sub.kind === "directory") await writeOutput$1(context$1, sub);
|
|
180
158
|
else if (sub.kind === "builtin") await context$1.emitBuiltin(sub.contents, sub.id, sub.path);
|
|
181
159
|
else if (sub.kind === "entry") await context$1.emitEntry(sub.contents, sub.path, sub.typeDefinition);
|
|
182
160
|
else if (sub.kind === "file") if ("sourcePath" in sub && sub.sourcePath) {
|
|
@@ -187,14 +165,14 @@ async function writeTree(context, tree, options = {}) {
|
|
|
187
165
|
} else if ("contents" in sub && (0, __stryke_type_checks_is_set_string.isSetString)(sub.contents)) await context$1.fs.write(sub.path, sub.contents);
|
|
188
166
|
else throw new Error(`Unexpected output extracted from the render tree: \n\n${JSON.stringify(sub, null, 2)}`);
|
|
189
167
|
};
|
|
190
|
-
await writeOutput(context, result);
|
|
168
|
+
await writeOutput$1(context, result);
|
|
191
169
|
}
|
|
192
|
-
async function printTree(context, tree, options = {}) {
|
|
170
|
+
async function printTree$1(context, tree, options = {}) {
|
|
193
171
|
options.printWidth ??= 160;
|
|
194
172
|
options.tabWidth ??= 2;
|
|
195
173
|
options.useTabs ??= false;
|
|
196
174
|
options.insertFinalNewLine ??= true;
|
|
197
|
-
await
|
|
175
|
+
await require_jsx_runtime.flushJobsAsync();
|
|
198
176
|
const result = prettier_doc_js.printer.printDocToString(printTreeWorker(tree), options).formatted;
|
|
199
177
|
return options.insertFinalNewLine && !result.endsWith("\n") ? `${result}\n` : result;
|
|
200
178
|
}
|
|
@@ -203,87 +181,256 @@ function printTreeWorker(tree) {
|
|
|
203
181
|
for (const node of tree) if (typeof node === "string") {
|
|
204
182
|
const normalizedNode = node.split(/\r?\n/).flatMap((line, index, array) => index < array.length - 1 ? [line] : [line]);
|
|
205
183
|
doc.push(normalizedNode);
|
|
206
|
-
} else if (
|
|
184
|
+
} else if (require_jsx_runtime.isPrintHook(node)) doc.push(node.print(node.subtree, printTreeWorker));
|
|
207
185
|
else doc.push(printTreeWorker(node));
|
|
208
186
|
return doc;
|
|
209
187
|
}
|
|
210
188
|
|
|
211
189
|
//#endregion
|
|
212
|
-
exports.
|
|
213
|
-
exports.
|
|
214
|
-
exports.
|
|
215
|
-
exports.
|
|
216
|
-
exports.
|
|
217
|
-
exports.
|
|
218
|
-
exports.
|
|
219
|
-
exports.
|
|
220
|
-
exports.
|
|
221
|
-
exports.
|
|
222
|
-
exports.
|
|
223
|
-
exports.
|
|
224
|
-
exports.
|
|
225
|
-
exports.
|
|
226
|
-
exports.
|
|
227
|
-
exports.
|
|
228
|
-
exports.
|
|
229
|
-
exports.
|
|
230
|
-
exports.
|
|
231
|
-
exports.
|
|
232
|
-
exports.
|
|
233
|
-
exports.
|
|
234
|
-
exports.
|
|
235
|
-
exports.
|
|
236
|
-
exports.
|
|
237
|
-
exports.
|
|
238
|
-
exports.
|
|
239
|
-
exports.
|
|
240
|
-
exports.
|
|
241
|
-
exports.
|
|
242
|
-
exports.
|
|
243
|
-
exports.
|
|
244
|
-
exports.
|
|
245
|
-
exports.
|
|
246
|
-
exports.
|
|
247
|
-
exports.
|
|
248
|
-
exports.
|
|
249
|
-
exports.
|
|
250
|
-
exports.
|
|
251
|
-
exports.
|
|
252
|
-
exports.
|
|
253
|
-
exports.
|
|
254
|
-
exports.
|
|
255
|
-
exports.
|
|
256
|
-
exports.
|
|
257
|
-
exports
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
exports
|
|
190
|
+
exports.AppendFile = require_jsx_runtime.AppendFile;
|
|
191
|
+
exports.AppendRegion = require_jsx_runtime.AppendRegion;
|
|
192
|
+
exports.AssignmentContext = require_jsx_runtime.AssignmentContext;
|
|
193
|
+
exports.BasicScope = require_jsx_runtime.BasicScope;
|
|
194
|
+
exports.BasicSymbol = require_jsx_runtime.BasicSymbol;
|
|
195
|
+
exports.BinderContext = require_jsx_runtime.BinderContext;
|
|
196
|
+
exports.Block = require_jsx_runtime.Block;
|
|
197
|
+
exports.CopyFile = require_jsx_runtime.CopyFile;
|
|
198
|
+
exports.Declaration = require_jsx_runtime.Declaration;
|
|
199
|
+
exports.DeclarationContext = require_jsx_runtime.DeclarationContext;
|
|
200
|
+
exports.For = require_jsx_runtime.For;
|
|
201
|
+
exports.FormatOptions = require_jsx_runtime.FormatOptions;
|
|
202
|
+
exports.Indent = require_jsx_runtime.Indent;
|
|
203
|
+
exports.List = require_jsx_runtime.List;
|
|
204
|
+
exports.Match = require_jsx_runtime.Match;
|
|
205
|
+
exports.MemberContext = require_jsx_runtime.MemberContext;
|
|
206
|
+
exports.MemberDeclaration = require_jsx_runtime.MemberDeclaration;
|
|
207
|
+
exports.MemberDeclarationContext = require_jsx_runtime.MemberDeclarationContext;
|
|
208
|
+
exports.MemberName = require_jsx_runtime.MemberName;
|
|
209
|
+
exports.MemberScope = require_jsx_runtime.MemberScope;
|
|
210
|
+
exports.Name = require_jsx_runtime.Name;
|
|
211
|
+
exports.NamePolicyContext = require_jsx_runtime.NamePolicyContext;
|
|
212
|
+
exports.Output = require_jsx_runtime.Output;
|
|
213
|
+
exports.OutputDeclarationSpace = require_jsx_runtime.OutputDeclarationSpace;
|
|
214
|
+
exports.OutputMemberSpace = require_jsx_runtime.OutputMemberSpace;
|
|
215
|
+
exports.OutputScope = require_jsx_runtime.OutputScope;
|
|
216
|
+
exports.OutputSymbol = require_jsx_runtime.OutputSymbol;
|
|
217
|
+
exports.Prose = require_jsx_runtime.Prose;
|
|
218
|
+
exports.REFKEYABLE = require_jsx_runtime.REFKEYABLE;
|
|
219
|
+
exports.RENDERABLE = require_jsx_runtime.RENDERABLE;
|
|
220
|
+
exports.ReactiveUnionSet = require_jsx_runtime.ReactiveUnionSet;
|
|
221
|
+
exports.ReferenceOrContent = require_jsx_runtime.ReferenceOrContent;
|
|
222
|
+
exports.Scope = require_jsx_runtime.Scope;
|
|
223
|
+
exports.ScopeContext = require_jsx_runtime.ScopeContext;
|
|
224
|
+
exports.Show = require_jsx_runtime.Show;
|
|
225
|
+
exports.SourceDirectory = require_jsx_runtime.SourceDirectory;
|
|
226
|
+
exports.SourceDirectoryContext = require_jsx_runtime.SourceDirectoryContext;
|
|
227
|
+
exports.SourceFile = require_jsx_runtime.SourceFile;
|
|
228
|
+
exports.SourceFileContext = require_jsx_runtime.SourceFileContext;
|
|
229
|
+
exports.StatementList = require_jsx_runtime.StatementList;
|
|
230
|
+
exports.Switch = require_jsx_runtime.Switch;
|
|
231
|
+
exports.SymbolTable = require_jsx_runtime.SymbolTable;
|
|
232
|
+
exports.TO_SYMBOL = require_jsx_runtime.TO_SYMBOL;
|
|
233
|
+
exports.TemplateFile = require_jsx_runtime.TemplateFile;
|
|
234
|
+
exports.TemplateVariable = require_jsx_runtime.TemplateVariable;
|
|
235
|
+
Object.defineProperty(exports, 'TrackOpTypes', {
|
|
236
|
+
enumerable: true,
|
|
237
|
+
get: function () {
|
|
238
|
+
return __vue_reactivity.TrackOpTypes;
|
|
239
|
+
}
|
|
240
|
+
});
|
|
241
|
+
Object.defineProperty(exports, 'TriggerOpTypes', {
|
|
242
|
+
enumerable: true,
|
|
243
|
+
get: function () {
|
|
244
|
+
return __vue_reactivity.TriggerOpTypes;
|
|
245
|
+
}
|
|
246
|
+
});
|
|
247
|
+
exports.UpdateFile = require_jsx_runtime.UpdateFile;
|
|
248
|
+
exports.Wrap = require_jsx_runtime.Wrap;
|
|
249
|
+
exports.baseListPropsToMapJoinArgs = require_jsx_runtime.baseListPropsToMapJoinArgs;
|
|
250
|
+
exports.children = require_jsx_runtime.children;
|
|
251
|
+
exports.childrenArray = require_jsx_runtime.childrenArray;
|
|
252
|
+
exports.code = require_jsx_runtime.code;
|
|
253
|
+
Object.defineProperty(exports, 'computed', {
|
|
254
|
+
enumerable: true,
|
|
255
|
+
get: function () {
|
|
256
|
+
return __vue_reactivity.computed;
|
|
257
|
+
}
|
|
258
|
+
});
|
|
259
|
+
exports.contextsByKey = require_jsx_runtime.contextsByKey;
|
|
260
|
+
exports.createAssignmentContext = require_jsx_runtime.createAssignmentContext;
|
|
261
|
+
exports.createComponent = require_jsx_runtime.createComponent;
|
|
262
|
+
exports.createContentSlot = require_jsx_runtime.createContentSlot;
|
|
263
|
+
exports.createContext = require_jsx_runtime.createContext;
|
|
264
|
+
exports.createCustomContext = require_jsx_runtime.createCustomContext;
|
|
265
|
+
exports.createDeclarationTap = require_jsx_runtime.createDeclarationTap;
|
|
266
|
+
exports.createFileResource = require_jsx_runtime.createFileResource;
|
|
267
|
+
exports.createFormatOptionsContextFor = require_jsx_runtime.createFormatOptionsContextFor;
|
|
268
|
+
exports.createIntrinsic = require_jsx_runtime.createIntrinsic;
|
|
269
|
+
exports.createMemberTap = require_jsx_runtime.createMemberTap;
|
|
270
|
+
exports.createNamePolicy = require_jsx_runtime.createNamePolicy;
|
|
271
|
+
exports.createNamedContext = require_jsx_runtime.createNamedContext;
|
|
272
|
+
exports.createOutputBinder = require_jsx_runtime.createOutputBinder;
|
|
273
|
+
exports.createRenderTreeHook = require_jsx_runtime.createRenderTreeHook;
|
|
274
|
+
exports.createResource = require_jsx_runtime.createResource;
|
|
275
|
+
exports.createScopeTap = require_jsx_runtime.createScopeTap;
|
|
276
|
+
exports.createSourceFileTap = require_jsx_runtime.createSourceFileTap;
|
|
277
|
+
exports.createSymbolSlot = require_jsx_runtime.createSymbolSlot;
|
|
278
|
+
exports.createTap = require_jsx_runtime.createTap;
|
|
279
|
+
exports.decl = require_jsx_runtime.decl;
|
|
264
280
|
exports.default = src_default;
|
|
265
|
-
exports.
|
|
266
|
-
exports.
|
|
267
|
-
exports.
|
|
268
|
-
exports.
|
|
269
|
-
exports.
|
|
270
|
-
exports.
|
|
271
|
-
exports.
|
|
272
|
-
exports.
|
|
273
|
-
exports.
|
|
274
|
-
exports.
|
|
275
|
-
exports.
|
|
276
|
-
exports.
|
|
277
|
-
exports.
|
|
281
|
+
exports.defaultProps = require_jsx_runtime.defaultProps;
|
|
282
|
+
exports.effect = require_jsx_runtime.effect;
|
|
283
|
+
exports.emitSymbol = require_jsx_runtime.emitSymbol;
|
|
284
|
+
exports.findKeyedChild = require_jsx_runtime.findKeyedChild;
|
|
285
|
+
exports.findKeyedChildren = require_jsx_runtime.findKeyedChildren;
|
|
286
|
+
exports.findUnkeyedChildren = require_jsx_runtime.findUnkeyedChildren;
|
|
287
|
+
exports.flushJobs = require_jsx_runtime.flushJobs;
|
|
288
|
+
exports.flushJobsAsync = require_jsx_runtime.flushJobsAsync;
|
|
289
|
+
exports.getAssignmentSymbol = require_jsx_runtime.getAssignmentSymbol;
|
|
290
|
+
exports.getContext = require_jsx_runtime.getContext;
|
|
291
|
+
exports.getContextForRenderNode = require_jsx_runtime.getContextForRenderNode;
|
|
292
|
+
exports.getElementCache = require_jsx_runtime.getElementCache;
|
|
293
|
+
exports.getSymbolCreator = require_jsx_runtime.getSymbolCreator;
|
|
294
|
+
exports.getSymbolCreatorSymbol = require_jsx_runtime.getSymbolCreatorSymbol;
|
|
295
|
+
exports.inspectRefkey = require_jsx_runtime.inspectRefkey;
|
|
296
|
+
exports.instantiateTakenMembersTo = require_jsx_runtime.instantiateTakenMembersTo;
|
|
297
|
+
exports.intrinsicElementKey = require_jsx_runtime.intrinsicElementKey;
|
|
298
|
+
exports.isComponentCreator = require_jsx_runtime.isComponentCreator;
|
|
299
|
+
exports.isCustomContext = require_jsx_runtime.isCustomContext;
|
|
300
|
+
exports.isIntrinsicElement = require_jsx_runtime.isIntrinsicElement;
|
|
301
|
+
exports.isKeyedChild = require_jsx_runtime.isKeyedChild;
|
|
302
|
+
exports.isLibrarySymbolReference = require_jsx_runtime.isLibrarySymbolReference;
|
|
303
|
+
exports.isMemberRefkey = require_jsx_runtime.isMemberRefkey;
|
|
304
|
+
exports.isNamekey = require_jsx_runtime.isNamekey;
|
|
305
|
+
exports.isPrintHook = require_jsx_runtime.isPrintHook;
|
|
306
|
+
Object.defineProperty(exports, 'isProxy', {
|
|
307
|
+
enumerable: true,
|
|
308
|
+
get: function () {
|
|
309
|
+
return __vue_reactivity.isProxy;
|
|
310
|
+
}
|
|
311
|
+
});
|
|
312
|
+
Object.defineProperty(exports, 'isReactive', {
|
|
313
|
+
enumerable: true,
|
|
314
|
+
get: function () {
|
|
315
|
+
return __vue_reactivity.isReactive;
|
|
316
|
+
}
|
|
317
|
+
});
|
|
318
|
+
Object.defineProperty(exports, 'isRef', {
|
|
319
|
+
enumerable: true,
|
|
320
|
+
get: function () {
|
|
321
|
+
return __vue_reactivity.isRef;
|
|
322
|
+
}
|
|
323
|
+
});
|
|
324
|
+
exports.isRefkey = require_jsx_runtime.isRefkey;
|
|
325
|
+
exports.isRefkeyable = require_jsx_runtime.isRefkeyable;
|
|
326
|
+
exports.isRenderableObject = require_jsx_runtime.isRenderableObject;
|
|
327
|
+
exports.isSymbolRefkey = require_jsx_runtime.isSymbolRefkey;
|
|
328
|
+
exports.join = require_jsx_runtime.join;
|
|
329
|
+
exports.mapJoin = require_jsx_runtime.mapJoin;
|
|
330
|
+
exports.matchTag = require_jsx_runtime.matchTag;
|
|
331
|
+
exports.memberRefkey = require_jsx_runtime.memberRefkey;
|
|
332
|
+
exports.memo = require_jsx_runtime.memo;
|
|
333
|
+
exports.mergeProps = require_jsx_runtime.mergeProps;
|
|
334
|
+
exports.moveTakenMembersTo = require_jsx_runtime.moveTakenMembersTo;
|
|
335
|
+
exports.namekey = require_jsx_runtime.namekey;
|
|
336
|
+
exports.notifyContentState = require_jsx_runtime.notifyContentState;
|
|
337
|
+
exports.onCleanup = require_jsx_runtime.onCleanup;
|
|
278
338
|
exports.plugin = plugin;
|
|
279
|
-
exports.
|
|
280
|
-
exports.
|
|
281
|
-
exports.
|
|
282
|
-
exports.
|
|
283
|
-
exports.
|
|
284
|
-
exports.
|
|
285
|
-
exports
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
339
|
+
exports.popStack = require_jsx_runtime.popStack;
|
|
340
|
+
exports.printHookTag = require_jsx_runtime.printHookTag;
|
|
341
|
+
exports.printRenderStack = require_jsx_runtime.printRenderStack;
|
|
342
|
+
exports.printTree = require_jsx_runtime.printTree;
|
|
343
|
+
exports.pushStack = require_jsx_runtime.pushStack;
|
|
344
|
+
exports.queueJob = require_jsx_runtime.queueJob;
|
|
345
|
+
Object.defineProperty(exports, 'reactive', {
|
|
346
|
+
enumerable: true,
|
|
347
|
+
get: function () {
|
|
348
|
+
return __vue_reactivity.reactive;
|
|
349
|
+
}
|
|
350
|
+
});
|
|
351
|
+
Object.defineProperty(exports, 'ref', {
|
|
352
|
+
enumerable: true,
|
|
353
|
+
get: function () {
|
|
354
|
+
return __vue_reactivity.ref;
|
|
355
|
+
}
|
|
356
|
+
});
|
|
357
|
+
exports.refId = require_jsx_runtime.refId;
|
|
358
|
+
exports.refkey = require_jsx_runtime.refkey;
|
|
359
|
+
exports.render = require_jsx_runtime.render;
|
|
360
|
+
exports.renderAsync = require_jsx_runtime.renderAsync;
|
|
361
|
+
exports.renderTree = require_jsx_runtime.renderTree;
|
|
362
|
+
exports.resolve = require_jsx_runtime.resolve;
|
|
363
|
+
exports.root = require_jsx_runtime.root;
|
|
364
|
+
exports.scheduler = require_jsx_runtime.scheduler;
|
|
365
|
+
Object.defineProperty(exports, 'shallowReactive', {
|
|
366
|
+
enumerable: true,
|
|
367
|
+
get: function () {
|
|
368
|
+
return __vue_reactivity.shallowReactive;
|
|
369
|
+
}
|
|
370
|
+
});
|
|
371
|
+
Object.defineProperty(exports, 'shallowRef', {
|
|
372
|
+
enumerable: true,
|
|
373
|
+
get: function () {
|
|
374
|
+
return __vue_reactivity.shallowRef;
|
|
375
|
+
}
|
|
376
|
+
});
|
|
377
|
+
exports.shouldDebug = require_jsx_runtime.shouldDebug;
|
|
378
|
+
exports.sourceFilesForTree = require_jsx_runtime.sourceFilesForTree;
|
|
379
|
+
exports.sourceFilesForTreeAsync = require_jsx_runtime.sourceFilesForTreeAsync;
|
|
380
|
+
exports.splitProps = require_jsx_runtime.splitProps;
|
|
381
|
+
exports.stc = require_jsx_runtime.stc;
|
|
382
|
+
exports.sti = require_jsx_runtime.sti;
|
|
383
|
+
exports.symbolForRefkey = require_jsx_runtime.symbolForRefkey;
|
|
384
|
+
exports.taggedComponent = require_jsx_runtime.taggedComponent;
|
|
385
|
+
exports.takeSymbols = require_jsx_runtime.takeSymbols;
|
|
386
|
+
exports.text = require_jsx_runtime.text;
|
|
387
|
+
Object.defineProperty(exports, 'toRaw', {
|
|
388
|
+
enumerable: true,
|
|
389
|
+
get: function () {
|
|
390
|
+
return __vue_reactivity.toRaw;
|
|
391
|
+
}
|
|
392
|
+
});
|
|
393
|
+
Object.defineProperty(exports, 'toRef', {
|
|
394
|
+
enumerable: true,
|
|
395
|
+
get: function () {
|
|
396
|
+
return __vue_reactivity.toRef;
|
|
397
|
+
}
|
|
398
|
+
});
|
|
399
|
+
exports.toRefkey = require_jsx_runtime.toRefkey;
|
|
400
|
+
Object.defineProperty(exports, 'toRefs', {
|
|
401
|
+
enumerable: true,
|
|
402
|
+
get: function () {
|
|
403
|
+
return __vue_reactivity.toRefs;
|
|
404
|
+
}
|
|
405
|
+
});
|
|
406
|
+
Object.defineProperty(exports, 'track', {
|
|
407
|
+
enumerable: true,
|
|
408
|
+
get: function () {
|
|
409
|
+
return __vue_reactivity.track;
|
|
410
|
+
}
|
|
411
|
+
});
|
|
412
|
+
exports.trackPromise = require_jsx_runtime.trackPromise;
|
|
413
|
+
exports.traverseOutput = require_jsx_runtime.traverseOutput;
|
|
414
|
+
Object.defineProperty(exports, 'trigger', {
|
|
415
|
+
enumerable: true,
|
|
416
|
+
get: function () {
|
|
417
|
+
return __vue_reactivity.trigger;
|
|
418
|
+
}
|
|
419
|
+
});
|
|
420
|
+
exports.unresolvedRefkey = require_jsx_runtime.unresolvedRefkey;
|
|
421
|
+
exports.untrack = require_jsx_runtime.untrack;
|
|
422
|
+
exports.useBinder = require_jsx_runtime.useBinder;
|
|
423
|
+
exports.useContext = require_jsx_runtime.useContext;
|
|
424
|
+
exports.useFormatOptions = require_jsx_runtime.useFormatOptions;
|
|
425
|
+
exports.useMemberContext = require_jsx_runtime.useMemberContext;
|
|
426
|
+
exports.useMemberDeclaration = require_jsx_runtime.useMemberDeclaration;
|
|
427
|
+
exports.useMemberScope = require_jsx_runtime.useMemberScope;
|
|
428
|
+
exports.useNamePolicy = require_jsx_runtime.useNamePolicy;
|
|
429
|
+
exports.useScope = require_jsx_runtime.useScope;
|
|
430
|
+
Object.defineProperty(exports, 'watch', {
|
|
431
|
+
enumerable: true,
|
|
432
|
+
get: function () {
|
|
433
|
+
return __vue_reactivity.watch;
|
|
434
|
+
}
|
|
435
|
+
});
|
|
436
|
+
exports.writeOutput = require_jsx_runtime.writeOutput;
|