@powerlines/plugin-alloy 0.19.24 → 0.19.25
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-uzudbU6M.mjs → builtin-file-B8Y36s1a.mjs} +4 -4
- package/dist/{builtin-file-uzudbU6M.mjs.map → builtin-file-B8Y36s1a.mjs.map} +1 -1
- package/dist/builtin-file-BDHvdI1i.d.mts +35 -0
- package/dist/{builtin-file-Sx0sbgXZ.d.cts.map → builtin-file-BDHvdI1i.d.mts.map} +1 -1
- package/dist/{builtin-file-Sx0sbgXZ.d.cts → builtin-file-Bf0byhqY.d.cts} +4 -4
- package/dist/builtin-file-Bf0byhqY.d.cts.map +1 -0
- package/dist/{builtin-file-V_vMh8s8.cjs → builtin-file-vG9RwKpd.cjs} +3 -3
- package/dist/{context-CdPajCh6.mjs → context-BaVJCPfX.mjs} +1 -1
- package/dist/{context-CdPajCh6.mjs.map → context-BaVJCPfX.mjs.map} +1 -1
- package/dist/core/components/index.cjs +4 -4
- package/dist/core/components/index.mjs +4 -4
- package/dist/core/components/output.cjs +2 -2
- package/dist/core/components/output.mjs +2 -2
- package/dist/core/components/source-file.cjs +2 -2
- package/dist/core/components/source-file.mjs +2 -2
- package/dist/core/contexts/context.cjs +1 -1
- package/dist/core/contexts/context.mjs +1 -1
- package/dist/core/contexts/index.cjs +2 -2
- package/dist/core/contexts/index.mjs +2 -2
- package/dist/core/contexts/meta.cjs +1 -1
- package/dist/core/contexts/meta.mjs +1 -1
- package/dist/core/index.cjs +4 -4
- package/dist/core/index.mjs +4 -4
- package/dist/{dynamic-import-statement-CkTDZa9C.d.cts → dynamic-import-statement-C142NY9L.d.cts} +3 -3
- package/dist/{dynamic-import-statement-CkTDZa9C.d.cts.map → dynamic-import-statement-C142NY9L.d.cts.map} +1 -1
- package/dist/{entry-file-Big6nfUK.cjs → entry-file-BF1TZjhp.cjs} +2 -2
- package/dist/{entry-file-CI22kUBs.d.cts → entry-file-CHSinjc8.d.cts} +3 -3
- package/dist/{entry-file-6OSh_HPP.d.mts.map → entry-file-CHSinjc8.d.cts.map} +1 -1
- package/dist/{entry-file-DW7QEqXv.d.cts → entry-file-DlyBq92D.d.cts} +2 -2
- package/dist/{entry-file-CI22kUBs.d.cts.map → entry-file-DlyBq92D.d.cts.map} +1 -1
- package/dist/{entry-file-BwAnSku3.mjs → entry-file-DzlSog-0.mjs} +3 -3
- package/dist/{entry-file-BwAnSku3.mjs.map → entry-file-DzlSog-0.mjs.map} +1 -1
- package/dist/{entry-file-6OSh_HPP.d.mts → entry-file-RCTtBe-Z.d.mts} +4 -4
- package/dist/{entry-file-DW7QEqXv.d.cts.map → entry-file-RCTtBe-Z.d.mts.map} +1 -1
- package/dist/{front-matter-DNU08CaL.d.mts → front-matter-BxgmGhju.d.cts} +3 -3
- package/dist/{front-matter-DNU08CaL.d.mts.map → front-matter-BxgmGhju.d.cts.map} +1 -1
- package/dist/{front-matter-D_wSuNkq.d.cts → front-matter-DpKD40Zz.d.cts} +3 -3
- package/dist/{front-matter-BdXzBycV.d.cts.map → front-matter-DpKD40Zz.d.cts.map} +1 -1
- package/dist/index.cjs +2 -13
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2 -13
- package/dist/index.mjs.map +1 -1
- package/dist/markdown/components/front-matter.d.cts +1 -1
- package/dist/markdown/components/index.cjs +4 -4
- package/dist/markdown/components/index.d.cts +3 -3
- package/dist/markdown/components/index.mjs +4 -4
- package/dist/markdown/components/markdown-file.cjs +4 -4
- package/dist/markdown/components/markdown-file.d.cts +2 -2
- package/dist/markdown/components/markdown-file.mjs +4 -4
- package/dist/markdown/components/markdown-table.d.cts +1 -1
- package/dist/markdown/index.cjs +4 -4
- package/dist/markdown/index.d.cts +3 -3
- package/dist/markdown/index.mjs +4 -4
- package/dist/{markdown-file-B6gbsDmK.cjs → markdown-file-BDzUAptw.cjs} +2 -2
- package/dist/{markdown-file-DD1Uc7fZ.d.cts → markdown-file-C0tsAvPo.d.cts} +6 -6
- package/dist/{markdown-file-B7Epw0lo.d.mts.map → markdown-file-C0tsAvPo.d.cts.map} +1 -1
- package/dist/{markdown-file-BNzfeQa-.d.cts → markdown-file-CwMc-alS.d.cts} +5 -5
- package/dist/{markdown-file-BNzfeQa-.d.cts.map → markdown-file-CwMc-alS.d.cts.map} +1 -1
- package/dist/{markdown-file-k5ep-0VI.mjs → markdown-file-DLIS2yeG.mjs} +3 -3
- package/dist/{markdown-file-k5ep-0VI.mjs.map → markdown-file-DLIS2yeG.mjs.map} +1 -1
- package/dist/{markdown-file-B7Epw0lo.d.mts → markdown-file-DwxnA0FP.d.mts} +6 -6
- package/dist/markdown-file-DwxnA0FP.d.mts.map +1 -0
- package/dist/markdown-table-CZMEY6IR.d.cts.map +1 -1
- package/dist/{markdown-table-BPAguEBC.d.cts → markdown-table-Cv6HmRUB.d.cts} +5 -5
- package/dist/markdown-table-Cv6HmRUB.d.cts.map +1 -0
- package/dist/markdown-table-D2KgJkWx.d.cts +28 -0
- package/dist/markdown-table-D2KgJkWx.d.cts.map +1 -0
- package/dist/markdown-table-FflgG7B5.d.mts +28 -0
- package/dist/markdown-table-FflgG7B5.d.mts.map +1 -0
- package/dist/{meta-D0pfCtdR.mjs → meta-BuwJuxY9.mjs} +1 -1
- package/dist/{meta-D0pfCtdR.mjs.map → meta-BuwJuxY9.mjs.map} +1 -1
- package/dist/{output-CPbwcL2j.mjs → output-BehYSTRr.mjs} +2 -2
- package/dist/{output-CPbwcL2j.mjs.map → output-BehYSTRr.mjs.map} +1 -1
- package/dist/{output-B52VAyyC.cjs → output-Ck9L8v3E.cjs} +1 -1
- package/dist/output-gLuHZTGo.d.mts +19 -0
- package/dist/{output-CGYPi1rL.d.cts.map → output-gLuHZTGo.d.mts.map} +1 -1
- package/dist/{output-CGYPi1rL.d.cts → output-qne-NsTE.d.cts} +3 -3
- package/dist/output-qne-NsTE.d.cts.map +1 -0
- package/dist/single-line-comment-B35kAUee.d.mts +23 -0
- package/dist/single-line-comment-B35kAUee.d.mts.map +1 -0
- package/dist/single-line-comment-VsK5yZdC.d.cts +23 -0
- package/dist/single-line-comment-VsK5yZdC.d.cts.map +1 -0
- package/dist/{source-file-MLTzYO0w.mjs → source-file-B5FSrvOa.mjs} +2 -2
- package/dist/{source-file-MLTzYO0w.mjs.map → source-file-B5FSrvOa.mjs.map} +1 -1
- package/dist/{source-file-ZzGhiuHr.d.cts → source-file-BsjyDo3Z.d.cts} +3 -3
- package/dist/source-file-BsjyDo3Z.d.cts.map +1 -0
- package/dist/{source-file-BCcq9Me3.cjs → source-file-C8ntga6V.cjs} +1 -1
- package/dist/source-file-ChbaAOt8.d.mts +33 -0
- package/dist/{source-file-ZzGhiuHr.d.cts.map → source-file-ChbaAOt8.d.mts.map} +1 -1
- package/dist/tsdoc-BpOXtq0v.d.cts.map +1 -1
- package/dist/{tsdoc-BufL8muf.cjs → tsdoc-fSRc8v2O.cjs} +1 -1
- package/dist/{tsdoc-DB1Qzwsn.mjs → tsdoc-prhuuYav.mjs} +2 -2
- package/dist/{tsdoc-DB1Qzwsn.mjs.map → tsdoc-prhuuYav.mjs.map} +1 -1
- package/dist/{tsdoc-reflection-BrqOulOQ.d.cts → tsdoc-reflection-BGmCcaYs.d.cts} +5 -5
- package/dist/{tsdoc-reflection-BOeS3c66.d.mts.map → tsdoc-reflection-BGmCcaYs.d.cts.map} +1 -1
- package/dist/{tsdoc-reflection-BOeS3c66.d.mts → tsdoc-reflection-B_mvCfkF.d.mts} +5 -5
- package/dist/{tsdoc-reflection-DU6zoCVk.d.cts.map → tsdoc-reflection-B_mvCfkF.d.mts.map} +1 -1
- package/dist/{tsdoc-reflection-Cov5Qh1c.cjs → tsdoc-reflection-BpkFCXw6.cjs} +1 -1
- package/dist/{tsdoc-reflection-BcTrWAwt.mjs → tsdoc-reflection-CQX-iDtz.mjs} +2 -2
- package/dist/{tsdoc-reflection-BcTrWAwt.mjs.map → tsdoc-reflection-CQX-iDtz.mjs.map} +1 -1
- package/dist/{tsdoc-reflection-DU6zoCVk.d.cts → tsdoc-reflection-DpF0t1Xj.d.cts} +5 -5
- package/dist/{tsdoc-reflection-BrqOulOQ.d.cts.map → tsdoc-reflection-DpF0t1Xj.d.cts.map} +1 -1
- package/dist/typescript/components/builtin-file.cjs +6 -6
- package/dist/typescript/components/builtin-file.mjs +6 -6
- package/dist/typescript/components/dynamic-import-statement.d.cts +1 -1
- package/dist/typescript/components/entry-file.cjs +5 -5
- package/dist/typescript/components/entry-file.d.cts +1 -1
- package/dist/typescript/components/entry-file.d.mts +1 -1
- package/dist/typescript/components/entry-file.mjs +5 -5
- package/dist/typescript/components/index.cjs +10 -10
- package/dist/typescript/components/index.d.cts +5 -5
- package/dist/typescript/components/index.d.mts +4 -4
- package/dist/typescript/components/index.mjs +10 -10
- package/dist/typescript/components/tsdoc-reflection.cjs +3 -3
- package/dist/typescript/components/tsdoc-reflection.d.cts +1 -1
- package/dist/typescript/components/tsdoc-reflection.d.mts +1 -1
- package/dist/typescript/components/tsdoc-reflection.mjs +3 -3
- package/dist/typescript/components/tsdoc.cjs +2 -2
- package/dist/typescript/components/tsdoc.mjs +2 -2
- package/dist/typescript/components/typescript-file.cjs +4 -4
- package/dist/typescript/components/typescript-file.mjs +4 -4
- package/dist/typescript/components/typescript-interface.cjs +4 -4
- package/dist/typescript/components/typescript-interface.d.cts +1 -1
- package/dist/typescript/components/typescript-interface.d.mts +1 -1
- package/dist/typescript/components/typescript-interface.mjs +4 -4
- package/dist/typescript/components/typescript-object.cjs +4 -4
- package/dist/typescript/components/typescript-object.d.cts +1 -1
- package/dist/typescript/components/typescript-object.d.mts +1 -1
- package/dist/typescript/components/typescript-object.mjs +4 -4
- package/dist/typescript/index.cjs +10 -10
- package/dist/typescript/index.d.cts +5 -5
- package/dist/typescript/index.d.mts +4 -4
- package/dist/typescript/index.mjs +10 -10
- package/dist/{typescript-file-BqsB2ASG.d.cts → typescript-file-C-JfXPBj.d.cts} +2 -2
- package/dist/{typescript-file-BqsB2ASG.d.cts.map → typescript-file-C-JfXPBj.d.cts.map} +1 -1
- package/dist/{typescript-file-DJy5gCL9.mjs → typescript-file-CNCLRiyf.mjs} +3 -3
- package/dist/{typescript-file-DJy5gCL9.mjs.map → typescript-file-CNCLRiyf.mjs.map} +1 -1
- package/dist/{typescript-file-D8ACLdIR.cjs → typescript-file-DKYD5v5W.cjs} +2 -2
- package/dist/typescript-file-uSWR-Uzq.d.mts +50 -0
- package/dist/typescript-file-uSWR-Uzq.d.mts.map +1 -0
- package/dist/{typescript-interface-CGQ0pwib.mjs → typescript-interface-BnRXH_zM.mjs} +2 -2
- package/dist/{typescript-interface-CGQ0pwib.mjs.map → typescript-interface-BnRXH_zM.mjs.map} +1 -1
- package/dist/{typescript-interface-CTyDcMdt.d.mts → typescript-interface-C1n8sI7E.d.mts} +4 -4
- package/dist/{typescript-interface-CTyDcMdt.d.mts.map → typescript-interface-C1n8sI7E.d.mts.map} +1 -1
- package/dist/{typescript-interface-Q4trMyzm.cjs → typescript-interface-DC2d5S0V.cjs} +1 -1
- package/dist/typescript-interface-DX0WJLCa.d.mts +26 -0
- package/dist/{typescript-interface-Xgm71cgZ.d.cts.map → typescript-interface-DX0WJLCa.d.mts.map} +1 -1
- package/dist/{typescript-interface-Xgm71cgZ.d.cts → typescript-interface-LTD6nhQZ.d.cts} +4 -4
- package/dist/typescript-interface-LTD6nhQZ.d.cts.map +1 -0
- package/dist/{typescript-object-DSdGl3Ha.d.cts → typescript-object-BHwyh1vl.d.cts} +4 -4
- package/dist/{typescript-object-B_md46Hq.d.cts.map → typescript-object-BHwyh1vl.d.cts.map} +1 -1
- package/dist/{typescript-object-B_md46Hq.d.cts → typescript-object-BeOv-T9D.d.cts} +4 -4
- package/dist/{typescript-object-DSdGl3Ha.d.cts.map → typescript-object-BeOv-T9D.d.cts.map} +1 -1
- package/dist/{typescript-object-DHFnCfRa.cjs → typescript-object-CGjPvsYM.cjs} +1 -1
- package/dist/{typescript-object-L2Zn4zbB.d.mts → typescript-object-DK3sl8cB.d.mts} +4 -4
- package/dist/{typescript-object-L2Zn4zbB.d.mts.map → typescript-object-DK3sl8cB.d.mts.map} +1 -1
- package/dist/{typescript-object-B0R92yL7.mjs → typescript-object-Dhr7lMRV.mjs} +2 -2
- package/dist/{typescript-object-B0R92yL7.mjs.map → typescript-object-Dhr7lMRV.mjs.map} +1 -1
- package/dist/typescript-object-zP6NWofT.d.mts +30 -0
- package/dist/typescript-object-zP6NWofT.d.mts.map +1 -0
- package/package.json +2 -2
- package/dist/front-matter-BdXzBycV.d.cts +0 -16
- package/dist/front-matter-D_wSuNkq.d.cts.map +0 -1
- package/dist/markdown-file-DD1Uc7fZ.d.cts.map +0 -1
- package/dist/markdown-table-BPAguEBC.d.cts.map +0 -1
- /package/dist/{context-DNdlL_gp.cjs → context-D-lZVHpZ.cjs} +0 -0
- /package/dist/{meta-BjTflizw.cjs → meta-CBKMGDr1.cjs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as ComponentProps } from "./components-DqfyRVFO.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
3
3
|
import { VarDeclarationProps } from "@alloy-js/typescript";
|
|
4
4
|
import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
|
|
5
5
|
|
|
@@ -17,14 +17,14 @@ interface TypescriptObjectPropertyProps extends ComponentProps {
|
|
|
17
17
|
/**
|
|
18
18
|
* Generates a TypeScript object for the given reflection class.
|
|
19
19
|
*/
|
|
20
|
-
declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>):
|
|
20
|
+
declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>): _alloy_js_core0.Children;
|
|
21
21
|
/**
|
|
22
22
|
* Generates a TypeScript object property for the given reflection class.
|
|
23
23
|
*/
|
|
24
|
-
declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps):
|
|
24
|
+
declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps): _alloy_js_core0.Children;
|
|
25
25
|
declare type __ΩComputedRef = any[];
|
|
26
26
|
declare type __ΩTypescriptObjectProps = any[];
|
|
27
27
|
declare type __ΩTypescriptObjectPropertyProps = any[];
|
|
28
28
|
//#endregion
|
|
29
29
|
export { TypescriptObjectProps as a, __ΩTypescriptObjectProps as c, TypescriptObjectPropertyProps as i, TypescriptObject as n, __ΩComputedRef as o, TypescriptObjectProperty as r, __ΩTypescriptObjectPropertyProps as s, ComputedRef as t };
|
|
30
|
-
//# sourceMappingURL=typescript-object-
|
|
30
|
+
//# sourceMappingURL=typescript-object-BHwyh1vl.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typescript-object-
|
|
1
|
+
{"version":3,"file":"typescript-object-BHwyh1vl.d.cts","names":[],"sources":["../src/typescript/components/typescript-object.tsx"],"sourcesContent":[],"mappings":";;;;;;UAuDiB;kBACC;;AADD,UAIA,qBAHE,CAAA,UAIP,MAJO,CAAA,MAAA,EAAA,GAAA,CAAA,GAIe,MAJf,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,SAKT,mBALS,CAAA;EAGF,UAAA,CAAA,EAGF,WAHuB,CAGX,eAHW,CAGK,CAHL,CAAA,CAAA;EAC1B,YAAA,CAAA,EAGK,WAHL,CAGiB,OAHjB,CAGyB,CAHzB,CAAA,GAAA,SAAA,CAAA;;AAE+B,UAI1B,6BAAA,SAAsC,cAJZ,CAAA;EAAhB,QAAA,EAKf,kBALe;;;;;AADjB,iBAYM,gBAZN,CAAA,UAaE,MAbF,CAAA,MAAA,EAAA,GAAA,CAAA,GAawB,MAbxB,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAcD,qBAdC,CAcqB,CAdrB,CAAA,CAAA,EAcoB,eAAA,CAAG,QAdvB;;AAKV;AAOA;AACY,iBAkHI,wBAAA,CAlHJ,KAAA,EAkHoC,6BAlHpC,CAAA,EAkHiE,eAAA,CAAA,QAlHjE;AAAsB,8BAAA,GAAA,EAAA;AACH,wCAAA,GAAA,EAAA;AAAtB,gDAAA,GAAA,EAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as ComponentProps } from "./components-DqfyRVFO.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core15 from "@alloy-js/core";
|
|
3
3
|
import { VarDeclarationProps } from "@alloy-js/typescript";
|
|
4
4
|
import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
|
|
5
5
|
|
|
@@ -17,14 +17,14 @@ interface TypescriptObjectPropertyProps extends ComponentProps {
|
|
|
17
17
|
/**
|
|
18
18
|
* Generates a TypeScript object for the given reflection class.
|
|
19
19
|
*/
|
|
20
|
-
declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>):
|
|
20
|
+
declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>): _alloy_js_core15.Children;
|
|
21
21
|
/**
|
|
22
22
|
* Generates a TypeScript object property for the given reflection class.
|
|
23
23
|
*/
|
|
24
|
-
declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps):
|
|
24
|
+
declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps): _alloy_js_core15.Children;
|
|
25
25
|
declare type __ΩComputedRef = any[];
|
|
26
26
|
declare type __ΩTypescriptObjectProps = any[];
|
|
27
27
|
declare type __ΩTypescriptObjectPropertyProps = any[];
|
|
28
28
|
//#endregion
|
|
29
29
|
export { TypescriptObjectProps as a, __ΩTypescriptObjectProps as c, TypescriptObjectPropertyProps as i, TypescriptObject as n, __ΩComputedRef as o, TypescriptObjectProperty as r, __ΩTypescriptObjectPropertyProps as s, ComputedRef as t };
|
|
30
|
-
//# sourceMappingURL=typescript-object-
|
|
30
|
+
//# sourceMappingURL=typescript-object-BeOv-T9D.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typescript-object-
|
|
1
|
+
{"version":3,"file":"typescript-object-BeOv-T9D.d.cts","names":[],"sources":["../src/typescript/components/typescript-object.tsx"],"sourcesContent":[],"mappings":";;;;;;UAuDiB;kBACC;;AADD,UAIA,qBAHE,CAAA,UAIP,MAJO,CAAA,MAAA,EAAA,GAAA,CAAA,GAIe,MAJf,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,SAKT,mBALS,CAAA;EAGF,UAAA,CAAA,EAGF,WAHuB,CAGX,eAHW,CAGK,CAHL,CAAA,CAAA;EAC1B,YAAA,CAAA,EAGK,WAHL,CAGiB,OAHjB,CAGyB,CAHzB,CAAA,GAAA,SAAA,CAAA;;AAE+B,UAI1B,6BAAA,SAAsC,cAJZ,CAAA;EAAhB,QAAA,EAKf,kBALe;;;;;AADjB,iBAYM,gBAZN,CAAA,UAaE,MAbF,CAAA,MAAA,EAAA,GAAA,CAAA,GAawB,MAbxB,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAcD,qBAdC,CAcqB,CAdrB,CAAA,CAAA,EAcoB,gBAAA,CAAG,QAdvB;;AAKV;AAOA;AACY,iBAkHI,wBAAA,CAlHJ,KAAA,EAkHoC,6BAlHpC,CAAA,EAkHiE,gBAAA,CAAA,QAlHjE;AAAsB,8BAAA,GAAA,EAAA;AACH,wCAAA,GAAA,EAAA;AAAtB,gDAAA,GAAA,EAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_chunk = require('./chunk-CbDLau6x.cjs');
|
|
2
2
|
const require_reflection = require('./reflection-BSrdR0Qz.cjs');
|
|
3
|
-
const require_tsdoc_reflection = require('./tsdoc-reflection-
|
|
3
|
+
const require_tsdoc_reflection = require('./tsdoc-reflection-BpkFCXw6.cjs');
|
|
4
4
|
let __alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
5
5
|
let __alloy_js_core = require("@alloy-js/core");
|
|
6
6
|
let __powerlines_deepkit_utilities = require("@powerlines/deepkit/utilities");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as ComponentProps } from "./components-REdw2IIi.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core10 from "@alloy-js/core";
|
|
3
3
|
import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
|
|
4
4
|
import { VarDeclarationProps } from "@alloy-js/typescript";
|
|
5
5
|
|
|
@@ -17,14 +17,14 @@ interface TypescriptObjectPropertyProps extends ComponentProps {
|
|
|
17
17
|
/**
|
|
18
18
|
* Generates a TypeScript object for the given reflection class.
|
|
19
19
|
*/
|
|
20
|
-
declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>):
|
|
20
|
+
declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>): _alloy_js_core10.Children;
|
|
21
21
|
/**
|
|
22
22
|
* Generates a TypeScript object property for the given reflection class.
|
|
23
23
|
*/
|
|
24
|
-
declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps):
|
|
24
|
+
declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps): _alloy_js_core10.Children;
|
|
25
25
|
declare type __ΩComputedRef = any[];
|
|
26
26
|
declare type __ΩTypescriptObjectProps = any[];
|
|
27
27
|
declare type __ΩTypescriptObjectPropertyProps = any[];
|
|
28
28
|
//#endregion
|
|
29
29
|
export { TypescriptObjectProps as a, __ΩTypescriptObjectProps as c, TypescriptObjectPropertyProps as i, TypescriptObject as n, __ΩComputedRef as o, TypescriptObjectProperty as r, __ΩTypescriptObjectPropertyProps as s, ComputedRef as t };
|
|
30
|
-
//# sourceMappingURL=typescript-object-
|
|
30
|
+
//# sourceMappingURL=typescript-object-DK3sl8cB.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typescript-object-
|
|
1
|
+
{"version":3,"file":"typescript-object-DK3sl8cB.d.mts","names":[],"sources":["../src/typescript/components/typescript-object.tsx"],"sourcesContent":[],"mappings":";;;;;;UAuDiB;kBACC;;AADD,UAIA,qBAHE,CAAA,UAIP,MAJO,CAAA,MAAA,EAAA,GAAA,CAAA,GAIe,MAJf,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,SAKT,mBALS,CAAA;EAGF,UAAA,CAAA,EAGF,WAHuB,CAGX,eAHW,CAGK,CAHL,CAAA,CAAA;EAC1B,YAAA,CAAA,EAGK,WAHL,CAGiB,OAHjB,CAGyB,CAHzB,CAAA,GAAA,SAAA,CAAA;;AAE+B,UAI1B,6BAAA,SAAsC,cAJZ,CAAA;EAAhB,QAAA,EAKf,kBALe;;;;;AADjB,iBAYM,gBAZN,CAAA,UAaE,MAbF,CAAA,MAAA,EAAA,GAAA,CAAA,GAawB,MAbxB,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAcD,qBAdC,CAcqB,CAdrB,CAAA,CAAA,EAcoB,gBAAA,CAAG,QAdvB;;AAKV;AAOA;AACY,iBAkHI,wBAAA,CAlHJ,KAAA,EAkHoC,6BAlHpC,CAAA,EAkHiE,gBAAA,CAAA,QAlHjE;AAAsB,8BAAA,GAAA,EAAA;AACH,wCAAA,GAAA,EAAA;AAAtB,gDAAA,GAAA,EAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as ReflectionPropertyContext, t as ReflectionClassContext } from "./reflection-Btb1NqwS.mjs";
|
|
2
|
-
import { r as TSDocReflectionProperty, t as TSDocReflectionClass } from "./tsdoc-reflection-
|
|
2
|
+
import { r as TSDocReflectionProperty, t as TSDocReflectionClass } from "./tsdoc-reflection-CQX-iDtz.mjs";
|
|
3
3
|
import { createComponent, createIntrinsic, memo } from "@alloy-js/core/jsx-runtime";
|
|
4
4
|
import { Declaration, For, Name, Show, computed, createSymbolSlot, splitProps } from "@alloy-js/core";
|
|
5
5
|
import { stringifyDefaultValue } from "@powerlines/deepkit/utilities";
|
|
@@ -121,4 +121,4 @@ function TypescriptObjectProperty(props) {
|
|
|
121
121
|
|
|
122
122
|
//#endregion
|
|
123
123
|
export { TypescriptObjectProperty as n, TypescriptObject as t };
|
|
124
|
-
//# sourceMappingURL=typescript-object-
|
|
124
|
+
//# sourceMappingURL=typescript-object-Dhr7lMRV.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typescript-object-
|
|
1
|
+
{"version":3,"file":"typescript-object-Dhr7lMRV.mjs","names":["computed","Declaration","CoreDeclaration","createSymbolSlot","For","Name","Show","splitProps","createValueSymbol","ObjectExpression","ObjectProperty","TSSymbolFlags","TypeRefContext","useTSNamePolicy","stringifyDefaultValue","camelCase","pascalCase","isString","isUndefined","ReflectionClassContext","ReflectionPropertyContext","TSDocReflectionClass","TSDocReflectionProperty","TypescriptObject","props","reflection","value","objectName","name","toString","getName","objectType","type","properties","getProperties","filter","item","isIgnored","defaultValue","getNameAsString","getAlias","reduce","ret","alias","undefined","getDefaultValue","sort","a","b","isReadonly","localeCompare","TypeSymbolSlot","ValueTypeSymbolSlot","sym","refkeys","refkey","default","export","metadata","tsFlags","nullish","Nullish","None","firstSymbol","namePolicy","for","moveMembersTo","keyword","var","let","_$createComponent","children","when","Provider","override","symbol","_$memo","initializer","each","comma","doubleHardline","prop","TypescriptObjectProperty","property","_$createIntrinsic"],"sources":["../src/typescript/components/typescript-object.tsx"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport {\n computed,\n Declaration as CoreDeclaration,\n createSymbolSlot,\n For,\n Name,\n Show,\n splitProps\n} from \"@alloy-js/core\";\nimport {\n createValueSymbol,\n ObjectExpression,\n ObjectProperty,\n TSSymbolFlags,\n TypeRefContext,\n useTSNamePolicy,\n VarDeclarationProps\n} from \"@alloy-js/typescript\";\nimport { stringifyDefaultValue } from \"@powerlines/deepkit/utilities\";\nimport type {\n ReflectionClass,\n ReflectionProperty\n} from \"@powerlines/deepkit/vendor/type\";\nimport { camelCase } from \"@stryke/string-format/camel-case\";\nimport { pascalCase } from \"@stryke/string-format/pascal-case\";\nimport { isString } from \"@stryke/type-checks/is-string\";\nimport { isUndefined } from \"@stryke/type-checks/is-undefined\";\nimport {\n ReflectionClassContext,\n ReflectionPropertyContext\n} from \"../../core/contexts/reflection\";\nimport { ComponentProps } from \"../../types/components\";\nimport {\n TSDocReflectionClass,\n TSDocReflectionProperty\n} from \"./tsdoc-reflection\";\n\nexport interface ComputedRef<T = any> {\n readonly value: T;\n}\n\nexport interface TypescriptObjectProps<\n T extends Record<string, any> = Record<string, any>\n> extends VarDeclarationProps {\n reflection?: ComputedRef<ReflectionClass<T>>;\n defaultValue?: ComputedRef<Partial<T> | undefined>;\n}\n\nexport interface TypescriptObjectPropertyProps extends ComponentProps {\n property: ReflectionProperty;\n}\n\n/**\n * Generates a TypeScript object for the given reflection class.\n */\nexport function TypescriptObject<\n T extends Record<string, any> = Record<string, any>\n>(props: TypescriptObjectProps<T>) {\n if (!props.reflection?.value) {\n return null;\n }\n\n const objectName = computed(() =>\n camelCase(\n (isString(props.name) ? props.name : props.name.toString()) ||\n props.reflection!.value.getName()\n )\n );\n const objectType = computed(\n () => props.type || pascalCase(props.reflection!.value.getName())\n );\n const properties = computed(() =>\n props\n .reflection!.value.getProperties()\n .filter(\n item =>\n !item.isIgnored() &&\n !isUndefined(\n props.defaultValue?.value?.[item.getNameAsString()] ??\n item.getAlias().reduce((ret, alias) => {\n if (\n isUndefined(ret) &&\n !isUndefined(\n (props.defaultValue as Record<string, any>)?.value?.[alias]\n )\n ) {\n return (props.defaultValue as Record<string, any>)?.value?.[\n alias\n ];\n }\n\n return ret;\n }, undefined) ??\n item.getDefaultValue()\n )\n )\n .sort((a, b) =>\n (a.isReadonly() && b.isReadonly()) ||\n (!a.isReadonly() && !b.isReadonly())\n ? a.getNameAsString().localeCompare(b.getNameAsString())\n : a.isReadonly()\n ? 1\n : -1\n )\n );\n\n const TypeSymbolSlot = createSymbolSlot();\n const ValueTypeSymbolSlot = createSymbolSlot();\n const sym = createValueSymbol(props.name, {\n refkeys: props.refkey,\n default: props.default,\n export: props.export,\n metadata: props.metadata,\n tsFlags: props.nullish ? TSSymbolFlags.Nullish : TSSymbolFlags.None,\n type: props.type ? TypeSymbolSlot.firstSymbol : undefined,\n namePolicy: useTSNamePolicy().for(\"variable\")\n });\n\n if (!props.type) {\n ValueTypeSymbolSlot.moveMembersTo(sym);\n }\n\n const keyword = props.var ? \"var\" : props.let ? \"let\" : \"const\";\n const type = props.type ? (\n <TypeRefContext>\n : <TypeSymbolSlot>{props.type}</TypeSymbolSlot>\n </TypeRefContext>\n ) : undefined;\n\n return (\n <Show when={!!props.reflection.value}>\n <ReflectionClassContext.Provider\n value={{\n reflection: props.reflection.value as ReflectionClass<any>,\n override: {\n name: objectName.value,\n type: objectType.value,\n defaultValue: props.defaultValue?.value\n }\n }}>\n <Show when={!!objectName.value && !!objectType.value}>\n <TSDocReflectionClass />\n <CoreDeclaration symbol={sym}>\n {props.export ? \"export \" : \"\"}\n {props.default ? \"default \" : \"\"}\n {keyword} <Name />\n {type} ={\" \"}\n <ValueTypeSymbolSlot>\n {props.initializer ?? props.children ?? (\n <ObjectExpression>\n <For\n each={properties.value ?? []}\n comma={true}\n doubleHardline={true}>\n {prop => <TypescriptObjectProperty property={prop} />}\n </For>\n </ObjectExpression>\n )}\n </ValueTypeSymbolSlot>\n </CoreDeclaration>\n </Show>\n <hbr />\n </ReflectionClassContext.Provider>\n </Show>\n );\n}\n\n/**\n * Generates a TypeScript object property for the given reflection class.\n */\nexport function TypescriptObjectProperty(props: TypescriptObjectPropertyProps) {\n const [{ property }] = splitProps(props, [\"property\"]);\n\n return (\n <ReflectionPropertyContext.Provider value={property}>\n <TSDocReflectionProperty />\n <ObjectProperty\n name={property.getNameAsString()}\n value={stringifyDefaultValue(property)}\n />\n <hbr />\n </ReflectionPropertyContext.Provider>\n );\n}\n"],"mappings":""}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { n as ComponentProps } from "./components-REdw2IIi.mjs";
|
|
2
|
+
import * as _alloy_js_core12 from "@alloy-js/core";
|
|
3
|
+
import { ReflectionClass, ReflectionProperty } from "@powerlines/deepkit/vendor/type";
|
|
4
|
+
import { VarDeclarationProps } from "@alloy-js/typescript";
|
|
5
|
+
|
|
6
|
+
//#region src/typescript/components/typescript-object.d.ts
|
|
7
|
+
interface ComputedRef<T = any> {
|
|
8
|
+
readonly value: T;
|
|
9
|
+
}
|
|
10
|
+
interface TypescriptObjectProps<T extends Record<string, any> = Record<string, any>> extends VarDeclarationProps {
|
|
11
|
+
reflection?: ComputedRef<ReflectionClass<T>>;
|
|
12
|
+
defaultValue?: ComputedRef<Partial<T> | undefined>;
|
|
13
|
+
}
|
|
14
|
+
interface TypescriptObjectPropertyProps extends ComponentProps {
|
|
15
|
+
property: ReflectionProperty;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Generates a TypeScript object for the given reflection class.
|
|
19
|
+
*/
|
|
20
|
+
declare function TypescriptObject<T extends Record<string, any> = Record<string, any>>(props: TypescriptObjectProps<T>): _alloy_js_core12.Children;
|
|
21
|
+
/**
|
|
22
|
+
* Generates a TypeScript object property for the given reflection class.
|
|
23
|
+
*/
|
|
24
|
+
declare function TypescriptObjectProperty(props: TypescriptObjectPropertyProps): _alloy_js_core12.Children;
|
|
25
|
+
declare type __ΩComputedRef = any[];
|
|
26
|
+
declare type __ΩTypescriptObjectProps = any[];
|
|
27
|
+
declare type __ΩTypescriptObjectPropertyProps = any[];
|
|
28
|
+
//#endregion
|
|
29
|
+
export { TypescriptObjectProps as a, __ΩTypescriptObjectProps as c, TypescriptObjectPropertyProps as i, TypescriptObject as n, __ΩComputedRef as o, TypescriptObjectProperty as r, __ΩTypescriptObjectPropertyProps as s, ComputedRef as t };
|
|
30
|
+
//# sourceMappingURL=typescript-object-zP6NWofT.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typescript-object-zP6NWofT.d.mts","names":[],"sources":["../src/typescript/components/typescript-object.tsx"],"sourcesContent":[],"mappings":";;;;;;UAuDiB;kBACC;;AADD,UAIA,qBAHE,CAAA,UAIP,MAJO,CAAA,MAAA,EAAA,GAAA,CAAA,GAIe,MAJf,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,SAKT,mBALS,CAAA;EAGF,UAAA,CAAA,EAGF,WAHuB,CAGX,eAHW,CAGK,CAHL,CAAA,CAAA;EAC1B,YAAA,CAAA,EAGK,WAHL,CAGiB,OAHjB,CAGyB,CAHzB,CAAA,GAAA,SAAA,CAAA;;AAE+B,UAI1B,6BAAA,SAAsC,cAJZ,CAAA;EAAhB,QAAA,EAKf,kBALe;;;;;AADjB,iBAYM,gBAZN,CAAA,UAaE,MAbF,CAAA,MAAA,EAAA,GAAA,CAAA,GAawB,MAbxB,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAcD,qBAdC,CAcqB,CAdrB,CAAA,CAAA,EAcoB,gBAAA,CAAG,QAdvB;;AAKV;AAOA;AACY,iBAkHI,wBAAA,CAlHJ,KAAA,EAkHoC,6BAlHpC,CAAA,EAkHiE,gBAAA,CAAA,QAlHjE;AAAsB,8BAAA,GAAA,EAAA;AACH,wCAAA,GAAA,EAAA;AAAtB,gDAAA,GAAA,EAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-alloy",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.25",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing various Alloy framework components and helper utilities.",
|
|
6
6
|
"repository": {
|
|
@@ -581,5 +581,5 @@
|
|
|
581
581
|
"@types/node": "^24.10.9"
|
|
582
582
|
},
|
|
583
583
|
"publishConfig": { "access": "public" },
|
|
584
|
-
"gitHead": "
|
|
584
|
+
"gitHead": "2837168b53a7792936b608efced771e4ddd4c69e"
|
|
585
585
|
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as _alloy_js_core13 from "@alloy-js/core";
|
|
2
|
-
|
|
3
|
-
//#region src/markdown/components/front-matter.d.ts
|
|
4
|
-
interface FrontMatterProps {
|
|
5
|
-
data: Record<string, any>;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Renders YAML front matter for a markdown file.
|
|
9
|
-
*
|
|
10
|
-
* @see https://jekyllrb.com/docs/front-matter/
|
|
11
|
-
*/
|
|
12
|
-
declare function FrontMatter(props: FrontMatterProps): _alloy_js_core13.Children;
|
|
13
|
-
declare type __ΩFrontMatterProps = any[];
|
|
14
|
-
//#endregion
|
|
15
|
-
export { FrontMatterProps as n, __ΩFrontMatterProps as r, FrontMatter as t };
|
|
16
|
-
//# sourceMappingURL=front-matter-BdXzBycV.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"front-matter-D_wSuNkq.d.cts","names":[],"sources":["../src/markdown/components/front-matter.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,gBAAA;QACT;;AADR;AASA;;;;iBAAgB,WAAA,QAAmB,mBAAgB,gBAAA,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-file-DD1Uc7fZ.d.cts","names":[],"sources":["../src/markdown/components/markdown-file.tsx"],"sourcesContent":[],"mappings":";;;;;;KA4BY,iBAAA,GAAoB,KAAK,iCACnC,iBACA;;;AAFF;;;;AAEE,iBAQc,YAAA,CARd,KAAA,EAQkC,iBARlC,CAAA,EAQmD,gBAAA,CAAA,QARnD;AAAuB,KA2Bb,uBAAA,GAA0B,qBA3Bb,GAAA;EAQT,WAAA,CAAA,EAoBA,gBApBoB,CAAA,MAAA,CAAA;AAmBpC,CAAA;AAUA;;;;;;iBAAgB,kBAAA,QAA0B,0BAAuB,gBAAA,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-table-BPAguEBC.d.cts","names":[],"sources":["../src/markdown/components/markdown-table.tsx"],"sourcesContent":[],"mappings":";;;;;UA4BiB,6BACL,sBAAsB,6BACxB;QACF;;AAHR;;;AAGQ,iBAMQ,aANR,CAAA,UAOI,MAPJ,CAAA,MAAA,EAAA,GAAA,CAAA,GAO0B,MAP1B,CAAA,MAAA,EAAA,GAAA,CAAA,CAAA,CAAA,KAAA,EAQC,kBARD,CAQoB,CARpB,CAAA,CAAA,EAQmB,gBAAA,CAAG,QARtB;AADE,KA4BE,wBAAA,GAA2B,cA5B7B,GA6BR,OA7BQ,CA6BA,IA7BA,CA6BK,mCA7BL,EAAA,OAAA,CAAA,CAAA,GA8BR,QA9BQ,CA8BC,IA9BD,CA8BM,mCA9BN,EAAA,MAAA,CAAA,CAAA,GAAA;EAAc,KAAA,CAAA,EAAA,MAAA;AAOxB,CAAA;;;;AAES,iBA4BO,mBAAA,CA5BP,KAAA,EA4BkC,wBA5BlC,CAAA,EA4B0D,gBAAA,CAAA,QA5B1D;;;AAmBT;AAAuC,iBAsDvB,yBAAA,CAtDuB,KAAA,EAsDU,wBAtDV,CAAA,EAsDkC,gBAAA,CAAA,QAtDlC;AACxB,qCAAA,GAAA,EAAA;AAAL,2CAAA,GAAA,EAAA"}
|
|
File without changes
|
|
File without changes
|