@forgeax/view 0.2.1-beta-20260924075842
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/CHANGELOG.md +11 -0
- package/README.md +742 -0
- package/dist/modules/backend.mjs +54 -0
- package/dist/modules/backend.mjs.map +7 -0
- package/dist/modules/browser.mjs +180 -0
- package/dist/modules/browser.mjs.map +7 -0
- package/dist/modules/carrier-contract.mjs +38 -0
- package/dist/modules/carrier-contract.mjs.map +7 -0
- package/dist/modules/carrier.mjs +13 -0
- package/dist/modules/carrier.mjs.map +7 -0
- package/dist/modules/chunks/chunk-2ASWB6IX.mjs +225 -0
- package/dist/modules/chunks/chunk-2ASWB6IX.mjs.map +7 -0
- package/dist/modules/chunks/chunk-2IJKOG2F.mjs +801 -0
- package/dist/modules/chunks/chunk-2IJKOG2F.mjs.map +7 -0
- package/dist/modules/chunks/chunk-2K3BBJ5S.mjs +9 -0
- package/dist/modules/chunks/chunk-2K3BBJ5S.mjs.map +7 -0
- package/dist/modules/chunks/chunk-32GD5LL6.mjs +482 -0
- package/dist/modules/chunks/chunk-32GD5LL6.mjs.map +7 -0
- package/dist/modules/chunks/chunk-3B4KFAEC.mjs +10 -0
- package/dist/modules/chunks/chunk-3B4KFAEC.mjs.map +7 -0
- package/dist/modules/chunks/chunk-46O5WX43.mjs +25 -0
- package/dist/modules/chunks/chunk-46O5WX43.mjs.map +7 -0
- package/dist/modules/chunks/chunk-47J5JXAB.mjs +237 -0
- package/dist/modules/chunks/chunk-47J5JXAB.mjs.map +7 -0
- package/dist/modules/chunks/chunk-4BXQOUDQ.mjs +17 -0
- package/dist/modules/chunks/chunk-4BXQOUDQ.mjs.map +7 -0
- package/dist/modules/chunks/chunk-4GQWYU2V.mjs +126 -0
- package/dist/modules/chunks/chunk-4GQWYU2V.mjs.map +7 -0
- package/dist/modules/chunks/chunk-4N5X2PRQ.mjs +48 -0
- package/dist/modules/chunks/chunk-4N5X2PRQ.mjs.map +7 -0
- package/dist/modules/chunks/chunk-4WXD2KYX.mjs +56 -0
- package/dist/modules/chunks/chunk-4WXD2KYX.mjs.map +7 -0
- package/dist/modules/chunks/chunk-6ZWWVAZK.mjs +468 -0
- package/dist/modules/chunks/chunk-6ZWWVAZK.mjs.map +7 -0
- package/dist/modules/chunks/chunk-73UZNRHN.mjs +296 -0
- package/dist/modules/chunks/chunk-73UZNRHN.mjs.map +7 -0
- package/dist/modules/chunks/chunk-7ITLCRND.mjs +10 -0
- package/dist/modules/chunks/chunk-7ITLCRND.mjs.map +7 -0
- package/dist/modules/chunks/chunk-7TGVWKH7.mjs +59 -0
- package/dist/modules/chunks/chunk-7TGVWKH7.mjs.map +7 -0
- package/dist/modules/chunks/chunk-7URFF53W.mjs +42 -0
- package/dist/modules/chunks/chunk-7URFF53W.mjs.map +7 -0
- package/dist/modules/chunks/chunk-7YSDRIFN.mjs +14 -0
- package/dist/modules/chunks/chunk-7YSDRIFN.mjs.map +7 -0
- package/dist/modules/chunks/chunk-AAFVCQPK.mjs +52 -0
- package/dist/modules/chunks/chunk-AAFVCQPK.mjs.map +7 -0
- package/dist/modules/chunks/chunk-AEK7ZESQ.mjs +18 -0
- package/dist/modules/chunks/chunk-AEK7ZESQ.mjs.map +7 -0
- package/dist/modules/chunks/chunk-AL6ZWIEU.mjs +42 -0
- package/dist/modules/chunks/chunk-AL6ZWIEU.mjs.map +7 -0
- package/dist/modules/chunks/chunk-ALT7XVMQ.mjs +73 -0
- package/dist/modules/chunks/chunk-ALT7XVMQ.mjs.map +7 -0
- package/dist/modules/chunks/chunk-ASI2HBE6.mjs +116 -0
- package/dist/modules/chunks/chunk-ASI2HBE6.mjs.map +7 -0
- package/dist/modules/chunks/chunk-ATWGCH7I.mjs +174 -0
- package/dist/modules/chunks/chunk-ATWGCH7I.mjs.map +7 -0
- package/dist/modules/chunks/chunk-C45U6IIY.mjs +692 -0
- package/dist/modules/chunks/chunk-C45U6IIY.mjs.map +7 -0
- package/dist/modules/chunks/chunk-C7R3YRA7.mjs +98 -0
- package/dist/modules/chunks/chunk-C7R3YRA7.mjs.map +7 -0
- package/dist/modules/chunks/chunk-CRMICXKN.mjs +87 -0
- package/dist/modules/chunks/chunk-CRMICXKN.mjs.map +7 -0
- package/dist/modules/chunks/chunk-CUH2G6UF.mjs +81 -0
- package/dist/modules/chunks/chunk-CUH2G6UF.mjs.map +7 -0
- package/dist/modules/chunks/chunk-D7GWRZLL.mjs +77 -0
- package/dist/modules/chunks/chunk-D7GWRZLL.mjs.map +7 -0
- package/dist/modules/chunks/chunk-DBWUIBE3.mjs +10 -0
- package/dist/modules/chunks/chunk-DBWUIBE3.mjs.map +7 -0
- package/dist/modules/chunks/chunk-DQWVWWUU.mjs +77 -0
- package/dist/modules/chunks/chunk-DQWVWWUU.mjs.map +7 -0
- package/dist/modules/chunks/chunk-DZZ2WFEU.mjs +122 -0
- package/dist/modules/chunks/chunk-DZZ2WFEU.mjs.map +7 -0
- package/dist/modules/chunks/chunk-E4UIAN26.mjs +58 -0
- package/dist/modules/chunks/chunk-E4UIAN26.mjs.map +7 -0
- package/dist/modules/chunks/chunk-EJGBVKFE.mjs +77 -0
- package/dist/modules/chunks/chunk-EJGBVKFE.mjs.map +7 -0
- package/dist/modules/chunks/chunk-EPSTTHWV.mjs +173 -0
- package/dist/modules/chunks/chunk-EPSTTHWV.mjs.map +7 -0
- package/dist/modules/chunks/chunk-ER7T6QJ3.mjs +64 -0
- package/dist/modules/chunks/chunk-ER7T6QJ3.mjs.map +7 -0
- package/dist/modules/chunks/chunk-FD4BAJ6K.mjs +389 -0
- package/dist/modules/chunks/chunk-FD4BAJ6K.mjs.map +7 -0
- package/dist/modules/chunks/chunk-FJM6WWIY.mjs +80 -0
- package/dist/modules/chunks/chunk-FJM6WWIY.mjs.map +7 -0
- package/dist/modules/chunks/chunk-FKCQYDLX.mjs +162 -0
- package/dist/modules/chunks/chunk-FKCQYDLX.mjs.map +7 -0
- package/dist/modules/chunks/chunk-FLGC65SR.mjs +10 -0
- package/dist/modules/chunks/chunk-FLGC65SR.mjs.map +7 -0
- package/dist/modules/chunks/chunk-FMCACPX5.mjs +289 -0
- package/dist/modules/chunks/chunk-FMCACPX5.mjs.map +7 -0
- package/dist/modules/chunks/chunk-FOBRLUQV.mjs +51 -0
- package/dist/modules/chunks/chunk-FOBRLUQV.mjs.map +7 -0
- package/dist/modules/chunks/chunk-FV3DSKZB.mjs +33 -0
- package/dist/modules/chunks/chunk-FV3DSKZB.mjs.map +7 -0
- package/dist/modules/chunks/chunk-G7BAFAGO.mjs +98 -0
- package/dist/modules/chunks/chunk-G7BAFAGO.mjs.map +7 -0
- package/dist/modules/chunks/chunk-GQBZMCTK.mjs +145 -0
- package/dist/modules/chunks/chunk-GQBZMCTK.mjs.map +7 -0
- package/dist/modules/chunks/chunk-GYWIY7AL.mjs +131 -0
- package/dist/modules/chunks/chunk-GYWIY7AL.mjs.map +7 -0
- package/dist/modules/chunks/chunk-H3KNBALD.mjs +256 -0
- package/dist/modules/chunks/chunk-H3KNBALD.mjs.map +7 -0
- package/dist/modules/chunks/chunk-H3M22JDL.mjs +144 -0
- package/dist/modules/chunks/chunk-H3M22JDL.mjs.map +7 -0
- package/dist/modules/chunks/chunk-HES3DNTM.mjs +40 -0
- package/dist/modules/chunks/chunk-HES3DNTM.mjs.map +7 -0
- package/dist/modules/chunks/chunk-I5BFP7SS.mjs +2392 -0
- package/dist/modules/chunks/chunk-I5BFP7SS.mjs.map +7 -0
- package/dist/modules/chunks/chunk-IGRMZYRD.mjs +15 -0
- package/dist/modules/chunks/chunk-IGRMZYRD.mjs.map +7 -0
- package/dist/modules/chunks/chunk-IKNGC766.mjs +321 -0
- package/dist/modules/chunks/chunk-IKNGC766.mjs.map +7 -0
- package/dist/modules/chunks/chunk-IVHNYKZB.mjs +35 -0
- package/dist/modules/chunks/chunk-IVHNYKZB.mjs.map +7 -0
- package/dist/modules/chunks/chunk-JHOURMYW.mjs +101 -0
- package/dist/modules/chunks/chunk-JHOURMYW.mjs.map +7 -0
- package/dist/modules/chunks/chunk-JURXMRFA.mjs +282 -0
- package/dist/modules/chunks/chunk-JURXMRFA.mjs.map +7 -0
- package/dist/modules/chunks/chunk-JWZIREC3.mjs +18 -0
- package/dist/modules/chunks/chunk-JWZIREC3.mjs.map +7 -0
- package/dist/modules/chunks/chunk-KHRTIZ56.mjs +1400 -0
- package/dist/modules/chunks/chunk-KHRTIZ56.mjs.map +7 -0
- package/dist/modules/chunks/chunk-KLJZZ23J.mjs +102 -0
- package/dist/modules/chunks/chunk-KLJZZ23J.mjs.map +7 -0
- package/dist/modules/chunks/chunk-KNBAYU5I.mjs +49 -0
- package/dist/modules/chunks/chunk-KNBAYU5I.mjs.map +7 -0
- package/dist/modules/chunks/chunk-KSZNCFU4.mjs +125 -0
- package/dist/modules/chunks/chunk-KSZNCFU4.mjs.map +7 -0
- package/dist/modules/chunks/chunk-L45W6KM6.mjs +158 -0
- package/dist/modules/chunks/chunk-L45W6KM6.mjs.map +7 -0
- package/dist/modules/chunks/chunk-LERMYZRC.mjs +239 -0
- package/dist/modules/chunks/chunk-LERMYZRC.mjs.map +7 -0
- package/dist/modules/chunks/chunk-LKJCXYSJ.mjs +91 -0
- package/dist/modules/chunks/chunk-LKJCXYSJ.mjs.map +7 -0
- package/dist/modules/chunks/chunk-MBS3EICT.mjs +25 -0
- package/dist/modules/chunks/chunk-MBS3EICT.mjs.map +7 -0
- package/dist/modules/chunks/chunk-MUOQZPVH.mjs +609 -0
- package/dist/modules/chunks/chunk-MUOQZPVH.mjs.map +7 -0
- package/dist/modules/chunks/chunk-MVEPGFSB.mjs +1 -0
- package/dist/modules/chunks/chunk-MVEPGFSB.mjs.map +7 -0
- package/dist/modules/chunks/chunk-NBJKLWJ5.mjs +42 -0
- package/dist/modules/chunks/chunk-NBJKLWJ5.mjs.map +7 -0
- package/dist/modules/chunks/chunk-NBLGKTEM.mjs +86 -0
- package/dist/modules/chunks/chunk-NBLGKTEM.mjs.map +7 -0
- package/dist/modules/chunks/chunk-NI7CS3I2.mjs +110 -0
- package/dist/modules/chunks/chunk-NI7CS3I2.mjs.map +7 -0
- package/dist/modules/chunks/chunk-NJH2OJFC.mjs +2113 -0
- package/dist/modules/chunks/chunk-NJH2OJFC.mjs.map +7 -0
- package/dist/modules/chunks/chunk-OBK4LIJB.mjs +20 -0
- package/dist/modules/chunks/chunk-OBK4LIJB.mjs.map +7 -0
- package/dist/modules/chunks/chunk-PEUT3FW7.mjs +1 -0
- package/dist/modules/chunks/chunk-PEUT3FW7.mjs.map +7 -0
- package/dist/modules/chunks/chunk-PRZOWPDN.mjs +66 -0
- package/dist/modules/chunks/chunk-PRZOWPDN.mjs.map +7 -0
- package/dist/modules/chunks/chunk-Q4RXBGQS.mjs +55 -0
- package/dist/modules/chunks/chunk-Q4RXBGQS.mjs.map +7 -0
- package/dist/modules/chunks/chunk-QBHBKOIL.mjs +55 -0
- package/dist/modules/chunks/chunk-QBHBKOIL.mjs.map +7 -0
- package/dist/modules/chunks/chunk-QD6CCRMG.mjs +20 -0
- package/dist/modules/chunks/chunk-QD6CCRMG.mjs.map +7 -0
- package/dist/modules/chunks/chunk-QF4V23GW.mjs +39 -0
- package/dist/modules/chunks/chunk-QF4V23GW.mjs.map +7 -0
- package/dist/modules/chunks/chunk-QK6W7MJO.mjs +42 -0
- package/dist/modules/chunks/chunk-QK6W7MJO.mjs.map +7 -0
- package/dist/modules/chunks/chunk-QL7V6DK7.mjs +34 -0
- package/dist/modules/chunks/chunk-QL7V6DK7.mjs.map +7 -0
- package/dist/modules/chunks/chunk-QLBQQKRI.mjs +25 -0
- package/dist/modules/chunks/chunk-QLBQQKRI.mjs.map +7 -0
- package/dist/modules/chunks/chunk-QLZQGZDC.mjs +418 -0
- package/dist/modules/chunks/chunk-QLZQGZDC.mjs.map +7 -0
- package/dist/modules/chunks/chunk-QSKQZGK7.mjs +1625 -0
- package/dist/modules/chunks/chunk-QSKQZGK7.mjs.map +7 -0
- package/dist/modules/chunks/chunk-QURKBAG4.mjs +25 -0
- package/dist/modules/chunks/chunk-QURKBAG4.mjs.map +7 -0
- package/dist/modules/chunks/chunk-R274XBEH.mjs +53 -0
- package/dist/modules/chunks/chunk-R274XBEH.mjs.map +7 -0
- package/dist/modules/chunks/chunk-R4I4JEY5.mjs +77 -0
- package/dist/modules/chunks/chunk-R4I4JEY5.mjs.map +7 -0
- package/dist/modules/chunks/chunk-RR6L6VVR.mjs +9 -0
- package/dist/modules/chunks/chunk-RR6L6VVR.mjs.map +7 -0
- package/dist/modules/chunks/chunk-RXF7SBBZ.mjs +125 -0
- package/dist/modules/chunks/chunk-RXF7SBBZ.mjs.map +7 -0
- package/dist/modules/chunks/chunk-SR66S6EJ.mjs +138 -0
- package/dist/modules/chunks/chunk-SR66S6EJ.mjs.map +7 -0
- package/dist/modules/chunks/chunk-SSQMQJ52.mjs +27 -0
- package/dist/modules/chunks/chunk-SSQMQJ52.mjs.map +7 -0
- package/dist/modules/chunks/chunk-TP26TASL.mjs +20 -0
- package/dist/modules/chunks/chunk-TP26TASL.mjs.map +7 -0
- package/dist/modules/chunks/chunk-TSAEK5P3.mjs +50 -0
- package/dist/modules/chunks/chunk-TSAEK5P3.mjs.map +7 -0
- package/dist/modules/chunks/chunk-UAY27HT3.mjs +68 -0
- package/dist/modules/chunks/chunk-UAY27HT3.mjs.map +7 -0
- package/dist/modules/chunks/chunk-UDLIWGWS.mjs +103 -0
- package/dist/modules/chunks/chunk-UDLIWGWS.mjs.map +7 -0
- package/dist/modules/chunks/chunk-UDVQHPWV.mjs +89 -0
- package/dist/modules/chunks/chunk-UDVQHPWV.mjs.map +7 -0
- package/dist/modules/chunks/chunk-UM23W3G7.mjs +237 -0
- package/dist/modules/chunks/chunk-UM23W3G7.mjs.map +7 -0
- package/dist/modules/chunks/chunk-VDZJWEAA.mjs +214 -0
- package/dist/modules/chunks/chunk-VDZJWEAA.mjs.map +7 -0
- package/dist/modules/chunks/chunk-VIGOJWSO.mjs +42 -0
- package/dist/modules/chunks/chunk-VIGOJWSO.mjs.map +7 -0
- package/dist/modules/chunks/chunk-VY3S5BWI.mjs +284 -0
- package/dist/modules/chunks/chunk-VY3S5BWI.mjs.map +7 -0
- package/dist/modules/chunks/chunk-VZXGRZYU.mjs +47 -0
- package/dist/modules/chunks/chunk-VZXGRZYU.mjs.map +7 -0
- package/dist/modules/chunks/chunk-W5DMQZB5.mjs +42 -0
- package/dist/modules/chunks/chunk-W5DMQZB5.mjs.map +7 -0
- package/dist/modules/chunks/chunk-WOMHSTVZ.mjs +918 -0
- package/dist/modules/chunks/chunk-WOMHSTVZ.mjs.map +7 -0
- package/dist/modules/chunks/chunk-XFQT7XCG.mjs +42 -0
- package/dist/modules/chunks/chunk-XFQT7XCG.mjs.map +7 -0
- package/dist/modules/chunks/chunk-XJZEVRYX.mjs +98 -0
- package/dist/modules/chunks/chunk-XJZEVRYX.mjs.map +7 -0
- package/dist/modules/chunks/chunk-XUYFV23R.mjs +317 -0
- package/dist/modules/chunks/chunk-XUYFV23R.mjs.map +7 -0
- package/dist/modules/chunks/chunk-Y5HXCPPQ.mjs +58 -0
- package/dist/modules/chunks/chunk-Y5HXCPPQ.mjs.map +7 -0
- package/dist/modules/chunks/chunk-YTHGRKGI.mjs +147 -0
- package/dist/modules/chunks/chunk-YTHGRKGI.mjs.map +7 -0
- package/dist/modules/chunks/chunk-YVQSDKAO.mjs +341 -0
- package/dist/modules/chunks/chunk-YVQSDKAO.mjs.map +7 -0
- package/dist/modules/chunks/chunk-YYXQDUVT.mjs +123 -0
- package/dist/modules/chunks/chunk-YYXQDUVT.mjs.map +7 -0
- package/dist/modules/chunks/chunk-ZFXZ2NUI.mjs +142 -0
- package/dist/modules/chunks/chunk-ZFXZ2NUI.mjs.map +7 -0
- package/dist/modules/chunks/chunk-ZLNWF4ET.mjs +9 -0
- package/dist/modules/chunks/chunk-ZLNWF4ET.mjs.map +7 -0
- package/dist/modules/chunks/chunk-ZLU5QW2O.mjs +9 -0
- package/dist/modules/chunks/chunk-ZLU5QW2O.mjs.map +7 -0
- package/dist/modules/chunks/chunk-ZNZPYE2V.mjs +28 -0
- package/dist/modules/chunks/chunk-ZNZPYE2V.mjs.map +7 -0
- package/dist/modules/chunks/core-564N45MO.mjs +7480 -0
- package/dist/modules/chunks/core-564N45MO.mjs.map +7 -0
- package/dist/modules/chunks/css-BKH4SVJG.mjs +8 -0
- package/dist/modules/chunks/css-BKH4SVJG.mjs.map +7 -0
- package/dist/modules/chunks/engine-javascript-PDVIGNGR.mjs +3241 -0
- package/dist/modules/chunks/engine-javascript-PDVIGNGR.mjs.map +7 -0
- package/dist/modules/chunks/github-dark-default-6HVTHEWF.mjs +8 -0
- package/dist/modules/chunks/github-dark-default-6HVTHEWF.mjs.map +7 -0
- package/dist/modules/chunks/github-light-default-LAXRA6XL.mjs +8 -0
- package/dist/modules/chunks/github-light-default-LAXRA6XL.mjs.map +7 -0
- package/dist/modules/chunks/glsl-UC3YWUD2.mjs +18 -0
- package/dist/modules/chunks/glsl-UC3YWUD2.mjs.map +7 -0
- package/dist/modules/chunks/html-FRVIUV63.mjs +19 -0
- package/dist/modules/chunks/html-FRVIUV63.mjs.map +7 -0
- package/dist/modules/chunks/javascript-LN3OC7S2.mjs +8 -0
- package/dist/modules/chunks/javascript-LN3OC7S2.mjs.map +7 -0
- package/dist/modules/chunks/json-5CUGWTOP.mjs +11 -0
- package/dist/modules/chunks/json-5CUGWTOP.mjs.map +7 -0
- package/dist/modules/chunks/json5-YZQI5VNO.mjs +11 -0
- package/dist/modules/chunks/json5-YZQI5VNO.mjs.map +7 -0
- package/dist/modules/chunks/jsonc-SWID6VOZ.mjs +11 -0
- package/dist/modules/chunks/jsonc-SWID6VOZ.mjs.map +7 -0
- package/dist/modules/chunks/jsx-A7RDCLJO.mjs +11 -0
- package/dist/modules/chunks/jsx-A7RDCLJO.mjs.map +7 -0
- package/dist/modules/chunks/markdown-QTCU5KP5.mjs +11 -0
- package/dist/modules/chunks/markdown-QTCU5KP5.mjs.map +7 -0
- package/dist/modules/chunks/python-LAZONBIB.mjs +11 -0
- package/dist/modules/chunks/python-LAZONBIB.mjs.map +7 -0
- package/dist/modules/chunks/rust-XWTPJFJO.mjs +11 -0
- package/dist/modules/chunks/rust-XWTPJFJO.mjs.map +7 -0
- package/dist/modules/chunks/scss-CFXRHUUW.mjs +15 -0
- package/dist/modules/chunks/scss-CFXRHUUW.mjs.map +7 -0
- package/dist/modules/chunks/shellscript-OHO3LCVU.mjs +11 -0
- package/dist/modules/chunks/shellscript-OHO3LCVU.mjs.map +7 -0
- package/dist/modules/chunks/toml-IOHFZJ5B.mjs +11 -0
- package/dist/modules/chunks/toml-IOHFZJ5B.mjs.map +7 -0
- package/dist/modules/chunks/tsx-2E6WNX2E.mjs +11 -0
- package/dist/modules/chunks/tsx-2E6WNX2E.mjs.map +7 -0
- package/dist/modules/chunks/typescript-PBKAS54P.mjs +11 -0
- package/dist/modules/chunks/typescript-PBKAS54P.mjs.map +7 -0
- package/dist/modules/chunks/wgsl-PS6QPRLZ.mjs +11 -0
- package/dist/modules/chunks/wgsl-PS6QPRLZ.mjs.map +7 -0
- package/dist/modules/chunks/xml-JECR2ACB.mjs +18 -0
- package/dist/modules/chunks/xml-JECR2ACB.mjs.map +7 -0
- package/dist/modules/chunks/yaml-P2SV4LOE.mjs +11 -0
- package/dist/modules/chunks/yaml-P2SV4LOE.mjs.map +7 -0
- package/dist/modules/cli-contributions.mjs +32 -0
- package/dist/modules/cli-contributions.mjs.map +7 -0
- package/dist/modules/cli.mjs +14 -0
- package/dist/modules/cli.mjs.map +7 -0
- package/dist/modules/command-executor.mjs +65 -0
- package/dist/modules/command-executor.mjs.map +7 -0
- package/dist/modules/commands.mjs +10 -0
- package/dist/modules/commands.mjs.map +7 -0
- package/dist/modules/embedded.mjs +18608 -0
- package/dist/modules/embedded.mjs.map +7 -0
- package/dist/modules/extension-bridge.mjs +18 -0
- package/dist/modules/extension-bridge.mjs.map +7 -0
- package/dist/modules/frontend-root.mjs +61 -0
- package/dist/modules/frontend-root.mjs.map +7 -0
- package/dist/modules/index.mjs +784 -0
- package/dist/modules/index.mjs.map +7 -0
- package/dist/modules/page.mjs +45 -0
- package/dist/modules/page.mjs.map +7 -0
- package/dist/modules/pages/scene.mjs +18 -0
- package/dist/modules/pages/scene.mjs.map +7 -0
- package/dist/modules/plugin.mjs +56 -0
- package/dist/modules/plugin.mjs.map +7 -0
- package/dist/modules/plugins/asset/frontend.mjs +23 -0
- package/dist/modules/plugins/asset/frontend.mjs.map +7 -0
- package/dist/modules/plugins/asset/i18n.mjs +15 -0
- package/dist/modules/plugins/asset/i18n.mjs.map +7 -0
- package/dist/modules/plugins/asset/identity.mjs +42 -0
- package/dist/modules/plugins/asset/identity.mjs.map +7 -0
- package/dist/modules/plugins/asset/schema.mjs +10 -0
- package/dist/modules/plugins/asset/schema.mjs.map +7 -0
- package/dist/modules/plugins/asset/ui.mjs +16 -0
- package/dist/modules/plugins/asset/ui.mjs.map +7 -0
- package/dist/modules/plugins/content-browser/frontend.mjs +17 -0
- package/dist/modules/plugins/content-browser/frontend.mjs.map +7 -0
- package/dist/modules/plugins/content-browser/i18n.mjs +15 -0
- package/dist/modules/plugins/content-browser/i18n.mjs.map +7 -0
- package/dist/modules/plugins/content-browser/identity.mjs +22 -0
- package/dist/modules/plugins/content-browser/identity.mjs.map +7 -0
- package/dist/modules/plugins/content-browser/schema.mjs +12 -0
- package/dist/modules/plugins/content-browser/schema.mjs.map +7 -0
- package/dist/modules/plugins/content-browser/ui.mjs +15 -0
- package/dist/modules/plugins/content-browser/ui.mjs.map +7 -0
- package/dist/modules/plugins/display/api.mjs +10 -0
- package/dist/modules/plugins/display/api.mjs.map +7 -0
- package/dist/modules/plugins/display/backend.mjs +16 -0
- package/dist/modules/plugins/display/backend.mjs.map +7 -0
- package/dist/modules/plugins/display/carrier-contract.mjs +38 -0
- package/dist/modules/plugins/display/carrier-contract.mjs.map +7 -0
- package/dist/modules/plugins/display/carrier.mjs +13 -0
- package/dist/modules/plugins/display/carrier.mjs.map +7 -0
- package/dist/modules/plugins/display/effects.mjs +8 -0
- package/dist/modules/plugins/display/effects.mjs.map +7 -0
- package/dist/modules/plugins/display/frontend.mjs +14 -0
- package/dist/modules/plugins/display/frontend.mjs.map +7 -0
- package/dist/modules/plugins/display/i18n.mjs +58 -0
- package/dist/modules/plugins/display/i18n.mjs.map +7 -0
- package/dist/modules/plugins/display/identity.mjs +30 -0
- package/dist/modules/plugins/display/identity.mjs.map +7 -0
- package/dist/modules/plugins/display/page-broker.mjs +12 -0
- package/dist/modules/plugins/display/page-broker.mjs.map +7 -0
- package/dist/modules/plugins/display/schema.mjs +40 -0
- package/dist/modules/plugins/display/schema.mjs.map +7 -0
- package/dist/modules/plugins/display/ui.mjs +9 -0
- package/dist/modules/plugins/display/ui.mjs.map +7 -0
- package/dist/modules/plugins/inspector/frontend.mjs +17 -0
- package/dist/modules/plugins/inspector/frontend.mjs.map +7 -0
- package/dist/modules/plugins/inspector/i18n.mjs +15 -0
- package/dist/modules/plugins/inspector/i18n.mjs.map +7 -0
- package/dist/modules/plugins/inspector/identity.mjs +22 -0
- package/dist/modules/plugins/inspector/identity.mjs.map +7 -0
- package/dist/modules/plugins/inspector/schema.mjs +12 -0
- package/dist/modules/plugins/inspector/schema.mjs.map +7 -0
- package/dist/modules/plugins/inspector/ui.mjs +16 -0
- package/dist/modules/plugins/inspector/ui.mjs.map +7 -0
- package/dist/modules/plugins/material/frontend.mjs +25 -0
- package/dist/modules/plugins/material/frontend.mjs.map +7 -0
- package/dist/modules/plugins/material/i18n.mjs +15 -0
- package/dist/modules/plugins/material/i18n.mjs.map +7 -0
- package/dist/modules/plugins/material/identity.mjs +60 -0
- package/dist/modules/plugins/material/identity.mjs.map +7 -0
- package/dist/modules/plugins/material/schema.mjs +47 -0
- package/dist/modules/plugins/material/schema.mjs.map +7 -0
- package/dist/modules/plugins/material/ui.mjs +28 -0
- package/dist/modules/plugins/material/ui.mjs.map +7 -0
- package/dist/modules/plugins/mesh/frontend.mjs +23 -0
- package/dist/modules/plugins/mesh/frontend.mjs.map +7 -0
- package/dist/modules/plugins/mesh/i18n.mjs +15 -0
- package/dist/modules/plugins/mesh/i18n.mjs.map +7 -0
- package/dist/modules/plugins/mesh/identity.mjs +54 -0
- package/dist/modules/plugins/mesh/identity.mjs.map +7 -0
- package/dist/modules/plugins/mesh/schema.mjs +10 -0
- package/dist/modules/plugins/mesh/schema.mjs.map +7 -0
- package/dist/modules/plugins/mesh/ui.mjs +26 -0
- package/dist/modules/plugins/mesh/ui.mjs.map +7 -0
- package/dist/modules/plugins/plugins/api.mjs +11 -0
- package/dist/modules/plugins/plugins/api.mjs.map +7 -0
- package/dist/modules/plugins/plugins/backend.mjs +21 -0
- package/dist/modules/plugins/plugins/backend.mjs.map +7 -0
- package/dist/modules/plugins/plugins/cli.mjs +12 -0
- package/dist/modules/plugins/plugins/cli.mjs.map +7 -0
- package/dist/modules/plugins/plugins/frontend.mjs +17 -0
- package/dist/modules/plugins/plugins/frontend.mjs.map +7 -0
- package/dist/modules/plugins/plugins/i18n.mjs +15 -0
- package/dist/modules/plugins/plugins/i18n.mjs.map +7 -0
- package/dist/modules/plugins/plugins/identity.mjs +26 -0
- package/dist/modules/plugins/plugins/identity.mjs.map +7 -0
- package/dist/modules/plugins/plugins/runtime.mjs +50 -0
- package/dist/modules/plugins/plugins/runtime.mjs.map +7 -0
- package/dist/modules/plugins/plugins/schema.mjs +12 -0
- package/dist/modules/plugins/plugins/schema.mjs.map +7 -0
- package/dist/modules/plugins/plugins/ui/panel.mjs +14 -0
- package/dist/modules/plugins/plugins/ui/panel.mjs.map +7 -0
- package/dist/modules/plugins/plugins/ui.mjs +15 -0
- package/dist/modules/plugins/plugins/ui.mjs.map +7 -0
- package/dist/modules/plugins/scene/frontend.mjs +18 -0
- package/dist/modules/plugins/scene/frontend.mjs.map +7 -0
- package/dist/modules/plugins/scene/identity.mjs +14 -0
- package/dist/modules/plugins/scene/identity.mjs.map +7 -0
- package/dist/modules/plugins/scene-tree/frontend.mjs +17 -0
- package/dist/modules/plugins/scene-tree/frontend.mjs.map +7 -0
- package/dist/modules/plugins/scene-tree/i18n.mjs +15 -0
- package/dist/modules/plugins/scene-tree/i18n.mjs.map +7 -0
- package/dist/modules/plugins/scene-tree/identity.mjs +22 -0
- package/dist/modules/plugins/scene-tree/identity.mjs.map +7 -0
- package/dist/modules/plugins/scene-tree/schema.mjs +12 -0
- package/dist/modules/plugins/scene-tree/schema.mjs.map +7 -0
- package/dist/modules/plugins/scene-tree/ui.mjs +16 -0
- package/dist/modules/plugins/scene-tree/ui.mjs.map +7 -0
- package/dist/modules/plugins/texture/frontend.mjs +23 -0
- package/dist/modules/plugins/texture/frontend.mjs.map +7 -0
- package/dist/modules/plugins/texture/i18n.mjs +15 -0
- package/dist/modules/plugins/texture/i18n.mjs.map +7 -0
- package/dist/modules/plugins/texture/identity.mjs +54 -0
- package/dist/modules/plugins/texture/identity.mjs.map +7 -0
- package/dist/modules/plugins/texture/schema.mjs +10 -0
- package/dist/modules/plugins/texture/schema.mjs.map +7 -0
- package/dist/modules/plugins/texture/ui.mjs +26 -0
- package/dist/modules/plugins/texture/ui.mjs.map +7 -0
- package/dist/modules/plugins/viewport/frontend.mjs +27 -0
- package/dist/modules/plugins/viewport/frontend.mjs.map +7 -0
- package/dist/modules/plugins/viewport/identity.mjs +28 -0
- package/dist/modules/plugins/viewport/identity.mjs.map +7 -0
- package/dist/modules/plugins/viewport/presentation-identity.mjs +10 -0
- package/dist/modules/plugins/viewport/presentation-identity.mjs.map +7 -0
- package/dist/modules/plugins/viewport/presentation.mjs +18 -0
- package/dist/modules/plugins/viewport/presentation.mjs.map +7 -0
- package/dist/modules/plugins/viewport/schema.mjs +18 -0
- package/dist/modules/plugins/viewport/schema.mjs.map +7 -0
- package/dist/modules/plugins/viewport/workspace-shell.mjs +29 -0
- package/dist/modules/plugins/viewport/workspace-shell.mjs.map +7 -0
- package/dist/modules/shell/contract.mjs +10 -0
- package/dist/modules/shell/contract.mjs.map +7 -0
- package/dist/modules/shell/frontend.mjs +14 -0
- package/dist/modules/shell/frontend.mjs.map +7 -0
- package/dist/modules/shell/layout-zones.mjs +20 -0
- package/dist/modules/shell/layout-zones.mjs.map +7 -0
- package/dist/modules/start-cli.mjs +57 -0
- package/dist/modules/start-cli.mjs.map +7 -0
- package/dist/modules/start.mjs +18 -0
- package/dist/modules/start.mjs.map +7 -0
- package/dist/modules/viewer/catalog/backend.mjs +47 -0
- package/dist/modules/viewer/catalog/backend.mjs.map +7 -0
- package/dist/modules/viewer/catalog/frontend.mjs +55 -0
- package/dist/modules/viewer/catalog/frontend.mjs.map +7 -0
- package/dist/modules/viewer/catalog/shared.mjs +43 -0
- package/dist/modules/viewer/catalog/shared.mjs.map +7 -0
- package/dist/modules/viewer/catalog.mjs +85 -0
- package/dist/modules/viewer/catalog.mjs.map +7 -0
- package/dist/modules/viewer/cli.mjs +23 -0
- package/dist/modules/viewer/cli.mjs.map +7 -0
- package/dist/modules/viewer-host/frontend.mjs +65 -0
- package/dist/modules/viewer-host/frontend.mjs.map +7 -0
- package/dist/modules/viewer-host/page-registry.mjs +27 -0
- package/dist/modules/viewer-host/page-registry.mjs.map +7 -0
- package/dist/modules/viewer-host/slot-registry.mjs +8 -0
- package/dist/modules/viewer-host/slot-registry.mjs.map +7 -0
- package/dist/modules/viewer-host.mjs +43 -0
- package/dist/modules/viewer-host.mjs.map +7 -0
- package/dist/modules/viewer.mjs +85 -0
- package/dist/modules/viewer.mjs.map +7 -0
- package/dist/modules/workspace/adopt-surface.mjs +16 -0
- package/dist/modules/workspace/adopt-surface.mjs.map +7 -0
- package/dist/modules/workspace/api.mjs +8 -0
- package/dist/modules/workspace/api.mjs.map +7 -0
- package/dist/modules/workspace/backend.mjs +23 -0
- package/dist/modules/workspace/backend.mjs.map +7 -0
- package/dist/modules/workspace/broker.mjs +16 -0
- package/dist/modules/workspace/broker.mjs.map +7 -0
- package/dist/modules/workspace/cli.mjs +9 -0
- package/dist/modules/workspace/cli.mjs.map +7 -0
- package/dist/modules/workspace/client.mjs +15 -0
- package/dist/modules/workspace/client.mjs.map +7 -0
- package/dist/modules/workspace/command-error.mjs +16 -0
- package/dist/modules/workspace/command-error.mjs.map +7 -0
- package/dist/modules/workspace/contract.mjs +71 -0
- package/dist/modules/workspace/contract.mjs.map +7 -0
- package/dist/modules/workspace/demo-client.mjs +127 -0
- package/dist/modules/workspace/demo-client.mjs.map +7 -0
- package/dist/modules/workspace/engine-adapter.mjs +16 -0
- package/dist/modules/workspace/engine-adapter.mjs.map +7 -0
- package/dist/modules/workspace/engine-presentation.mjs +10 -0
- package/dist/modules/workspace/engine-presentation.mjs.map +7 -0
- package/dist/modules/workspace/extension-bridge.mjs +18 -0
- package/dist/modules/workspace/extension-bridge.mjs.map +7 -0
- package/dist/modules/workspace/frontend-plugin.mjs +18 -0
- package/dist/modules/workspace/frontend-plugin.mjs.map +7 -0
- package/dist/modules/workspace/frontend.mjs +29 -0
- package/dist/modules/workspace/frontend.mjs.map +7 -0
- package/dist/modules/workspace/id.mjs +8 -0
- package/dist/modules/workspace/id.mjs.map +7 -0
- package/dist/modules/workspace/inspection-presentation.mjs +12 -0
- package/dist/modules/workspace/inspection-presentation.mjs.map +7 -0
- package/dist/modules/workspace/locale-bridge.mjs +14 -0
- package/dist/modules/workspace/locale-bridge.mjs.map +7 -0
- package/dist/modules/workspace/page-title.mjs +13 -0
- package/dist/modules/workspace/page-title.mjs.map +7 -0
- package/dist/modules/workspace/presentation.mjs +18 -0
- package/dist/modules/workspace/presentation.mjs.map +7 -0
- package/dist/modules/workspace/preview-surface.mjs +17 -0
- package/dist/modules/workspace/preview-surface.mjs.map +7 -0
- package/dist/modules/workspace/project-session.mjs +18 -0
- package/dist/modules/workspace/project-session.mjs.map +7 -0
- package/dist/modules/workspace/render-resize-sync.mjs +12 -0
- package/dist/modules/workspace/render-resize-sync.mjs.map +7 -0
- package/dist/modules/workspace/resident.mjs +16 -0
- package/dist/modules/workspace/resident.mjs.map +7 -0
- package/dist/modules/workspace/resource-open.mjs +34 -0
- package/dist/modules/workspace/resource-open.mjs.map +7 -0
- package/dist/modules/workspace/resource-page.mjs +27 -0
- package/dist/modules/workspace/resource-page.mjs.map +7 -0
- package/dist/modules/workspace/tool-runtime.mjs +14 -0
- package/dist/modules/workspace/tool-runtime.mjs.map +7 -0
- package/dist/modules/workspace/view-trace.mjs +60 -0
- package/dist/modules/workspace/view-trace.mjs.map +7 -0
- package/dist/modules/workspace/workspace-client-connection.mjs +22 -0
- package/dist/modules/workspace/workspace-client-connection.mjs.map +7 -0
- package/dist/modules/workspace/workspace-recovery.mjs +35 -0
- package/dist/modules/workspace/workspace-recovery.mjs.map +7 -0
- package/dist/modules/workspace/workspace-state.mjs +12 -0
- package/dist/modules/workspace/workspace-state.mjs.map +7 -0
- package/dist/modules/workspace-frontend.mjs +17 -0
- package/dist/modules/workspace-frontend.mjs.map +7 -0
- package/dist/viewer/assets/chunk-CilyBKbf.js +1 -0
- package/dist/viewer/assets/core-DSQma37-.js +13 -0
- package/dist/viewer/assets/core-DSQma37-.js.map +1 -0
- package/dist/viewer/assets/css-Bq1BXecw.js +2 -0
- package/dist/viewer/assets/css-Bq1BXecw.js.map +1 -0
- package/dist/viewer/assets/css-CWQWazmX.js +1 -0
- package/dist/viewer/assets/embedded-D4ZDx--W.js +2 -0
- package/dist/viewer/assets/embedded-D4ZDx--W.js.map +1 -0
- package/dist/viewer/assets/engine-javascript-BvokIV9O.js +142 -0
- package/dist/viewer/assets/engine-javascript-BvokIV9O.js.map +1 -0
- package/dist/viewer/assets/github-dark-default-DaDlj-WZ.js +2 -0
- package/dist/viewer/assets/github-dark-default-DaDlj-WZ.js.map +1 -0
- package/dist/viewer/assets/github-light-default-BqhWxAZd.js +2 -0
- package/dist/viewer/assets/github-light-default-BqhWxAZd.js.map +1 -0
- package/dist/viewer/assets/glsl-BJgVnv11.js +2 -0
- package/dist/viewer/assets/glsl-BJgVnv11.js.map +1 -0
- package/dist/viewer/assets/html-AaaHGGyt.js +2 -0
- package/dist/viewer/assets/html-AaaHGGyt.js.map +1 -0
- package/dist/viewer/assets/javascript-BX9W64FE.js +1 -0
- package/dist/viewer/assets/javascript-DQODvD07.js +2 -0
- package/dist/viewer/assets/javascript-DQODvD07.js.map +1 -0
- package/dist/viewer/assets/json-CpcIDpT7.js +2 -0
- package/dist/viewer/assets/json-CpcIDpT7.js.map +1 -0
- package/dist/viewer/assets/json5-Czq4A7dk.js +2 -0
- package/dist/viewer/assets/json5-Czq4A7dk.js.map +1 -0
- package/dist/viewer/assets/jsonc-BXDfCMmu.js +2 -0
- package/dist/viewer/assets/jsonc-BXDfCMmu.js.map +1 -0
- package/dist/viewer/assets/jsx-DAWscEnf.js +2 -0
- package/dist/viewer/assets/jsx-DAWscEnf.js.map +1 -0
- package/dist/viewer/assets/main-C-2CHTN_.js +15 -0
- package/dist/viewer/assets/main-C-2CHTN_.js.map +1 -0
- package/dist/viewer/assets/markdown-Cx1FMNw-.js +2 -0
- package/dist/viewer/assets/markdown-Cx1FMNw-.js.map +1 -0
- package/dist/viewer/assets/panels-entry-Ddhfjgf0.js +46 -0
- package/dist/viewer/assets/panels-entry-Ddhfjgf0.js.map +1 -0
- package/dist/viewer/assets/python-CYPKjWV9.js +2 -0
- package/dist/viewer/assets/python-CYPKjWV9.js.map +1 -0
- package/dist/viewer/assets/rust-0e5cNx_V.js +2 -0
- package/dist/viewer/assets/rust-0e5cNx_V.js.map +1 -0
- package/dist/viewer/assets/scss-B-aKzLbT.js +2 -0
- package/dist/viewer/assets/scss-B-aKzLbT.js.map +1 -0
- package/dist/viewer/assets/shellscript-CpXD-pSm.js +2 -0
- package/dist/viewer/assets/shellscript-CpXD-pSm.js.map +1 -0
- package/dist/viewer/assets/style-ClttNKZk.css +2 -0
- package/dist/viewer/assets/styles-BXozhwiU.js +11 -0
- package/dist/viewer/assets/styles-BXozhwiU.js.map +1 -0
- package/dist/viewer/assets/toml-GmchYTXa.js +2 -0
- package/dist/viewer/assets/toml-GmchYTXa.js.map +1 -0
- package/dist/viewer/assets/tsx-Crj1Bi53.js +2 -0
- package/dist/viewer/assets/tsx-Crj1Bi53.js.map +1 -0
- package/dist/viewer/assets/typescript-xi0cSHCO.js +2 -0
- package/dist/viewer/assets/typescript-xi0cSHCO.js.map +1 -0
- package/dist/viewer/assets/wgsl-BoEPRo9U.js +2 -0
- package/dist/viewer/assets/wgsl-BoEPRo9U.js.map +1 -0
- package/dist/viewer/assets/xml-B8JqQrMD.js +2 -0
- package/dist/viewer/assets/xml-B8JqQrMD.js.map +1 -0
- package/dist/viewer/assets/yaml-DsIB85X9.js +2 -0
- package/dist/viewer/assets/yaml-DsIB85X9.js.map +1 -0
- package/dist/viewer/index.html +15 -0
- package/dist/viewer/panels.js +1 -0
- package/host.pack.json +13 -0
- package/package.json +174 -0
- package/skills/forgeax-view-cli/SKILL.md +74 -0
- package/skills/forgeax-view-start/SKILL.md +202 -0
- package/skills/forgeax-view-start/scripts/start-view.mjs +202 -0
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
import {
|
|
2
|
+
reportWorkspaceCommandError
|
|
3
|
+
} from "./chunk-ASI2HBE6.mjs";
|
|
4
|
+
import {
|
|
5
|
+
VIEW_WORKSPACE_SERVICES,
|
|
6
|
+
VIEW_WORKSPACE_STATE_TOPIC,
|
|
7
|
+
ViewWorkspaceError,
|
|
8
|
+
createWorkspaceRequest,
|
|
9
|
+
requireWorkspaceString
|
|
10
|
+
} from "./chunk-32GD5LL6.mjs";
|
|
11
|
+
|
|
12
|
+
// packages/view-workspace-core/src/client.mjs
|
|
13
|
+
var VIEW_INSPECTOR_TOPIC = "forgeax.view.inspector.changed";
|
|
14
|
+
function workspaceBrowserEndpoint(endpoint, token, baseHref, role, frontendTicket) {
|
|
15
|
+
requireWorkspaceString(endpoint, "endpoint");
|
|
16
|
+
requireWorkspaceString(token, "token");
|
|
17
|
+
const url = new URL(endpoint, baseHref);
|
|
18
|
+
if (url.protocol !== "ws:" && url.protocol !== "wss:") throw new TypeError("View frontend endpoint must use ws: or wss:");
|
|
19
|
+
url.searchParams.set("token", token);
|
|
20
|
+
if (role !== void 0) url.searchParams.set("role", role);
|
|
21
|
+
if (role === "frontend" && frontendTicket !== void 0) url.searchParams.set("frontendTicket", frontendTicket);
|
|
22
|
+
return url.toString();
|
|
23
|
+
}
|
|
24
|
+
function decodeWorkspaceTransportError(error) {
|
|
25
|
+
if (error instanceof ViewWorkspaceError) return error;
|
|
26
|
+
const transportCode = error?.code;
|
|
27
|
+
const remoteCode = typeof error?.detail?.remoteCode === "string" ? error.detail.remoteCode : void 0;
|
|
28
|
+
const code = [transportCode, remoteCode].find(
|
|
29
|
+
(candidate) => typeof candidate === "string" && candidate.startsWith("view-")
|
|
30
|
+
);
|
|
31
|
+
if (code === void 0) return error;
|
|
32
|
+
const message = typeof error?.message === "string" && error.message.trim() !== "" ? error.message : String(error);
|
|
33
|
+
return new ViewWorkspaceError(
|
|
34
|
+
code,
|
|
35
|
+
typeof error?.expected === "string" ? error.expected : message,
|
|
36
|
+
typeof error?.hint === "string" ? error.hint : message,
|
|
37
|
+
{
|
|
38
|
+
...error?.detail && typeof error.detail === "object" ? error.detail : {},
|
|
39
|
+
transportCode,
|
|
40
|
+
...remoteCode === void 0 ? {} : { remoteCode },
|
|
41
|
+
...typeof error?.name === "string" ? { name: error.name } : {}
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
var ViewWorkspaceClient = class {
|
|
46
|
+
constructor({ transport, clientId, token } = {}) {
|
|
47
|
+
if (!transport || typeof transport.request !== "function") {
|
|
48
|
+
throw new TypeError("View workspace client requires an Engine Host transport");
|
|
49
|
+
}
|
|
50
|
+
this.transport = transport;
|
|
51
|
+
this.clientId = requireWorkspaceString(clientId, "clientId");
|
|
52
|
+
this.token = token === void 0 ? void 0 : requireWorkspaceString(token, "token");
|
|
53
|
+
}
|
|
54
|
+
call(operation, args = {}, { signal, generation, requestId } = {}) {
|
|
55
|
+
const request = createWorkspaceRequest(operation, args, {
|
|
56
|
+
clientId: this.clientId,
|
|
57
|
+
token: this.token,
|
|
58
|
+
requestId
|
|
59
|
+
});
|
|
60
|
+
return Promise.resolve().then(() => this.transport.request(VIEW_WORKSPACE_SERVICES.call, request, { signal, generation })).catch((error) => {
|
|
61
|
+
const decoded = decodeWorkspaceTransportError(error);
|
|
62
|
+
reportWorkspaceCommandError(decoded, { operation, signal });
|
|
63
|
+
throw decoded;
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
sources(options = {}) {
|
|
67
|
+
return this.call("plugins.sources", {}, options);
|
|
68
|
+
}
|
|
69
|
+
inspectPlugins(options = {}) {
|
|
70
|
+
const { signal, requestId, ...args } = options;
|
|
71
|
+
return this.call("plugins.inspect", args, { signal, requestId });
|
|
72
|
+
}
|
|
73
|
+
watchPlugins(options = {}) {
|
|
74
|
+
const { signal, requestId, ...args } = options;
|
|
75
|
+
return this.call("plugins.watch", args, { signal, requestId });
|
|
76
|
+
}
|
|
77
|
+
capabilities(options = {}) {
|
|
78
|
+
return this.transport.request(VIEW_WORKSPACE_SERVICES.capabilities, void 0, options);
|
|
79
|
+
}
|
|
80
|
+
getState(options = {}) {
|
|
81
|
+
return this.call("tabs.get", {}, options);
|
|
82
|
+
}
|
|
83
|
+
selectTab(tabId, options = {}) {
|
|
84
|
+
return this.call("tabs.select", { tabId }, options);
|
|
85
|
+
}
|
|
86
|
+
selectSceneEntity(entityId, { label, tabId, targetId, targetGeneration, ...options } = {}) {
|
|
87
|
+
return this.call(
|
|
88
|
+
"scene.select",
|
|
89
|
+
{
|
|
90
|
+
entityId,
|
|
91
|
+
targetId,
|
|
92
|
+
targetGeneration,
|
|
93
|
+
...tabId === void 0 ? {} : { tabId },
|
|
94
|
+
...label === void 0 ? {} : { label }
|
|
95
|
+
},
|
|
96
|
+
options
|
|
97
|
+
);
|
|
98
|
+
}
|
|
99
|
+
clearSceneSelection({ tabId, targetId, targetGeneration, ...options } = {}) {
|
|
100
|
+
return this.call("scene.clear", { targetId, targetGeneration, ...tabId === void 0 ? {} : { tabId } }, options);
|
|
101
|
+
}
|
|
102
|
+
openProject(root, { tabId, expectedTargetId, ...options } = {}) {
|
|
103
|
+
return this.call("project.open", { root, tabId, ...expectedTargetId === void 0 ? {} : { expectedTargetId } }, options);
|
|
104
|
+
}
|
|
105
|
+
reopenProject({ root, tabId, expectedTargetId, expectedTargetState, ...options } = {}) {
|
|
106
|
+
return this.call(
|
|
107
|
+
"project.reopen",
|
|
108
|
+
{
|
|
109
|
+
...root === void 0 ? {} : { root },
|
|
110
|
+
...tabId === void 0 ? {} : { tabId },
|
|
111
|
+
...expectedTargetId === void 0 ? {} : { expectedTargetId },
|
|
112
|
+
...expectedTargetState === void 0 ? {} : { expectedTargetState }
|
|
113
|
+
},
|
|
114
|
+
options
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
closeProject(projectId, { tabId, ...options } = {}) {
|
|
118
|
+
return this.call("project.close", { projectId, tabId }, options);
|
|
119
|
+
}
|
|
120
|
+
listAssets(projectId, { tabId, ...options } = {}) {
|
|
121
|
+
return this.call("assets.list", { projectId, tabId }, options);
|
|
122
|
+
}
|
|
123
|
+
inspectAsset(guid, { projectId, tabId, ...options } = {}) {
|
|
124
|
+
return this.call("asset.inspect", { guid, tabId, ...projectId === void 0 ? {} : { projectId } }, options);
|
|
125
|
+
}
|
|
126
|
+
rebuildAssetSource(guid, { projectId, tabId, expectedRevision, requestId, ...options } = {}) {
|
|
127
|
+
return this.call(
|
|
128
|
+
"asset-source.rebuild",
|
|
129
|
+
{
|
|
130
|
+
guid,
|
|
131
|
+
tabId,
|
|
132
|
+
...projectId === void 0 ? {} : { projectId },
|
|
133
|
+
...expectedRevision === void 0 ? {} : { expectedRevision },
|
|
134
|
+
...requestId === void 0 ? {} : { requestId }
|
|
135
|
+
},
|
|
136
|
+
options
|
|
137
|
+
);
|
|
138
|
+
}
|
|
139
|
+
coldCookAssetSource(guid, { projectId, tabId, expectedRevision, requestId, ...options } = {}) {
|
|
140
|
+
return this.call(
|
|
141
|
+
"asset-source.cold-cook",
|
|
142
|
+
{
|
|
143
|
+
guid,
|
|
144
|
+
tabId,
|
|
145
|
+
...projectId === void 0 ? {} : { projectId },
|
|
146
|
+
...expectedRevision === void 0 ? {} : { expectedRevision },
|
|
147
|
+
...requestId === void 0 ? {} : { requestId }
|
|
148
|
+
},
|
|
149
|
+
options
|
|
150
|
+
);
|
|
151
|
+
}
|
|
152
|
+
openAsset(guid, { projectId, width, height, tabId, ...options } = {}) {
|
|
153
|
+
return this.call(
|
|
154
|
+
"asset.open",
|
|
155
|
+
{
|
|
156
|
+
guid,
|
|
157
|
+
tabId,
|
|
158
|
+
...projectId === void 0 ? {} : { projectId },
|
|
159
|
+
...width === void 0 ? {} : { width },
|
|
160
|
+
...height === void 0 ? {} : { height }
|
|
161
|
+
},
|
|
162
|
+
options
|
|
163
|
+
);
|
|
164
|
+
}
|
|
165
|
+
closePreview({ targetId, targetGeneration, tabId, ...options } = {}) {
|
|
166
|
+
return this.call(
|
|
167
|
+
"preview.close",
|
|
168
|
+
{ tabId, targetGeneration, ...targetId === void 0 ? {} : { targetId } },
|
|
169
|
+
options
|
|
170
|
+
);
|
|
171
|
+
}
|
|
172
|
+
capture(options = {}) {
|
|
173
|
+
const { signal, generation, requestId, targetId, targetGeneration, tabId, ...args } = options;
|
|
174
|
+
return this.call(
|
|
175
|
+
"preview.capture",
|
|
176
|
+
{ tabId, targetGeneration, ...targetId === void 0 ? {} : { targetId }, ...args },
|
|
177
|
+
{ signal, generation, requestId }
|
|
178
|
+
);
|
|
179
|
+
}
|
|
180
|
+
resizePreview({ targetId, targetGeneration, width, height, tabId, ...options } = {}) {
|
|
181
|
+
return this.call(
|
|
182
|
+
"preview.resize",
|
|
183
|
+
{
|
|
184
|
+
tabId,
|
|
185
|
+
targetGeneration,
|
|
186
|
+
...targetId === void 0 ? {} : { targetId },
|
|
187
|
+
width,
|
|
188
|
+
height
|
|
189
|
+
},
|
|
190
|
+
options
|
|
191
|
+
);
|
|
192
|
+
}
|
|
193
|
+
getCamera({ targetId, targetGeneration, tabId, ...options } = {}) {
|
|
194
|
+
return this.call("camera.get", { tabId, targetGeneration, ...targetId === void 0 ? {} : { targetId } }, options);
|
|
195
|
+
}
|
|
196
|
+
beginCamera({ targetId, targetGeneration, baseVersion, interactionId, tabId, ...options } = {}) {
|
|
197
|
+
return this.call(
|
|
198
|
+
"camera.begin",
|
|
199
|
+
{
|
|
200
|
+
tabId,
|
|
201
|
+
targetGeneration,
|
|
202
|
+
...targetId === void 0 ? {} : { targetId },
|
|
203
|
+
baseVersion,
|
|
204
|
+
...interactionId === void 0 ? {} : { interactionId }
|
|
205
|
+
},
|
|
206
|
+
options
|
|
207
|
+
);
|
|
208
|
+
}
|
|
209
|
+
updateCamera({ targetId, targetGeneration, interactionId, camera, input, tabId, ...options } = {}) {
|
|
210
|
+
return this.call(
|
|
211
|
+
"camera.update",
|
|
212
|
+
{
|
|
213
|
+
tabId,
|
|
214
|
+
targetGeneration,
|
|
215
|
+
targetId,
|
|
216
|
+
interactionId,
|
|
217
|
+
...camera === void 0 ? {} : { camera },
|
|
218
|
+
...input === void 0 ? {} : { input }
|
|
219
|
+
},
|
|
220
|
+
options
|
|
221
|
+
);
|
|
222
|
+
}
|
|
223
|
+
commitCamera({ targetId, targetGeneration, interactionId, operationId, expectedVersion, camera, tabId, ...options } = {}) {
|
|
224
|
+
return this.call(
|
|
225
|
+
"camera.commit",
|
|
226
|
+
{ tabId, targetId, targetGeneration, interactionId, operationId, expectedVersion, camera },
|
|
227
|
+
options
|
|
228
|
+
);
|
|
229
|
+
}
|
|
230
|
+
abortCamera({ targetId, targetGeneration, interactionId, reason, tabId, ...options } = {}) {
|
|
231
|
+
return this.call(
|
|
232
|
+
"camera.abort",
|
|
233
|
+
{
|
|
234
|
+
tabId,
|
|
235
|
+
targetGeneration,
|
|
236
|
+
targetId,
|
|
237
|
+
interactionId,
|
|
238
|
+
...reason === void 0 ? {} : { reason }
|
|
239
|
+
},
|
|
240
|
+
options
|
|
241
|
+
);
|
|
242
|
+
}
|
|
243
|
+
getSceneTree({ projectId, targetId, targetGeneration, tabId, offset, limit, revision, ...options } = {}) {
|
|
244
|
+
return this.call(
|
|
245
|
+
"scene-tree.get",
|
|
246
|
+
{
|
|
247
|
+
tabId,
|
|
248
|
+
...projectId === void 0 ? {} : { projectId },
|
|
249
|
+
...targetId === void 0 ? {} : { targetId },
|
|
250
|
+
...targetGeneration === void 0 ? {} : { targetGeneration },
|
|
251
|
+
...offset === void 0 ? {} : { offset },
|
|
252
|
+
...limit === void 0 ? {} : { limit },
|
|
253
|
+
...revision === void 0 ? {} : { revision }
|
|
254
|
+
},
|
|
255
|
+
options
|
|
256
|
+
);
|
|
257
|
+
}
|
|
258
|
+
subscribe(listener) {
|
|
259
|
+
if (typeof this.transport.subscribe !== "function") return () => {
|
|
260
|
+
};
|
|
261
|
+
return this.transport.subscribe(VIEW_WORKSPACE_STATE_TOPIC, listener);
|
|
262
|
+
}
|
|
263
|
+
subscribeInspector(listener) {
|
|
264
|
+
return this.transport.subscribe?.(VIEW_INSPECTOR_TOPIC, listener) ?? (() => {
|
|
265
|
+
});
|
|
266
|
+
}
|
|
267
|
+
onDisconnect(listener) {
|
|
268
|
+
return this.transport.onDisconnect?.(listener) ?? (() => {
|
|
269
|
+
});
|
|
270
|
+
}
|
|
271
|
+
close(reason) {
|
|
272
|
+
this.transport.close?.(reason);
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
function createViewWorkspaceClient(options) {
|
|
276
|
+
return new ViewWorkspaceClient(options);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export {
|
|
280
|
+
workspaceBrowserEndpoint,
|
|
281
|
+
ViewWorkspaceClient,
|
|
282
|
+
createViewWorkspaceClient
|
|
283
|
+
};
|
|
284
|
+
//# sourceMappingURL=chunk-VY3S5BWI.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../packages/view-workspace-core/src/client.mjs"],
|
|
4
|
+
"sourcesContent": ["import {\n VIEW_WORKSPACE_SERVICES,\n VIEW_WORKSPACE_STATE_TOPIC,\n ViewWorkspaceError,\n createWorkspaceRequest,\n requireWorkspaceString,\n} from './contract.mjs';\nimport { reportWorkspaceCommandError } from './command-error.mjs';\nconst VIEW_INSPECTOR_TOPIC = 'forgeax.view.inspector.changed';\n\nexport function workspaceBrowserEndpoint(endpoint, token, baseHref, role, frontendTicket) {\n requireWorkspaceString(endpoint, 'endpoint');\n requireWorkspaceString(token, 'token');\n const url = new URL(endpoint, baseHref);\n if (url.protocol !== 'ws:' && url.protocol !== 'wss:') throw new TypeError('View frontend endpoint must use ws: or wss:');\n url.searchParams.set('token', token);\n if (role !== undefined) url.searchParams.set('role', role);\n if (role === 'frontend' && frontendTicket !== undefined) url.searchParams.set('frontendTicket', frontendTicket);\n return url.toString();\n}\n\nfunction decodeWorkspaceTransportError(error) {\n if (error instanceof ViewWorkspaceError) return error;\n const transportCode = error?.code;\n const remoteCode =\n typeof error?.detail?.remoteCode === 'string'\n ? error.detail.remoteCode\n : undefined;\n const code = [transportCode, remoteCode].find(\n (candidate) => typeof candidate === 'string' && candidate.startsWith('view-'),\n );\n if (code === undefined) return error;\n const message = typeof error?.message === 'string' && error.message.trim() !== ''\n ? error.message\n : String(error);\n return new ViewWorkspaceError(\n code,\n typeof error?.expected === 'string' ? error.expected : message,\n typeof error?.hint === 'string' ? error.hint : message,\n {\n ...(error?.detail && typeof error.detail === 'object' ? error.detail : {}),\n transportCode,\n ...(remoteCode === undefined ? {} : { remoteCode }),\n ...(typeof error?.name === 'string' ? { name: error.name } : {}),\n },\n );\n}\n\n/**\n * Typed client used by both the View frontend and an independent CLI process.\n * It has no local domain state: every operation goes through the Engine Host\n * workspace service and every returned value is the backend authority's value.\n */\nexport class ViewWorkspaceClient {\n constructor({ transport, clientId, token } = {}) {\n if (!transport || typeof transport.request !== 'function') {\n throw new TypeError('View workspace client requires an Engine Host transport');\n }\n this.transport = transport;\n this.clientId = requireWorkspaceString(clientId, 'clientId');\n this.token = token === undefined ? undefined : requireWorkspaceString(token, 'token');\n }\n\n call(operation, args = {}, { signal, generation, requestId } = {}) {\n const request = createWorkspaceRequest(operation, args, {\n clientId: this.clientId,\n token: this.token,\n requestId,\n });\n return Promise.resolve()\n .then(() => this.transport.request(VIEW_WORKSPACE_SERVICES.call, request, { signal, generation }))\n .catch((error) => {\n const decoded = decodeWorkspaceTransportError(error);\n reportWorkspaceCommandError(decoded, { operation, signal });\n throw decoded;\n });\n }\n\n sources(options = {}) {\n return this.call('plugins.sources', {}, options);\n }\n\n inspectPlugins(options = {}) {\n // generation identifies the inspected source, not the workspace transport service.\n const { signal, requestId, ...args } = options;\n return this.call('plugins.inspect', args, { signal, requestId });\n }\n\n watchPlugins(options = {}) {\n const { signal, requestId, ...args } = options;\n return this.call('plugins.watch', args, { signal, requestId });\n }\n\n capabilities(options = {}) {\n return this.transport.request(VIEW_WORKSPACE_SERVICES.capabilities, undefined, options);\n }\n\n getState(options = {}) {\n return this.call('tabs.get', {}, options);\n }\n\n selectTab(tabId, options = {}) {\n return this.call('tabs.select', { tabId }, options);\n }\n\n selectSceneEntity(entityId, { label, tabId, targetId, targetGeneration, ...options } = {}) {\n return this.call(\n 'scene.select',\n {\n entityId, targetId, targetGeneration,\n ...(tabId === undefined ? {} : { tabId }),\n ...(label === undefined ? {} : { label }),\n },\n options,\n );\n }\n\n clearSceneSelection({ tabId, targetId, targetGeneration, ...options } = {}) {\n return this.call('scene.clear', { targetId, targetGeneration, ...(tabId === undefined ? {} : { tabId }) }, options);\n }\n\n openProject(root, { tabId, expectedTargetId, ...options } = {}) {\n return this.call('project.open', { root, tabId, ...(expectedTargetId === undefined ? {} : { expectedTargetId }) }, options);\n }\n\n reopenProject({ root, tabId, expectedTargetId, expectedTargetState, ...options } = {}) {\n return this.call(\n 'project.reopen',\n {\n ...(root === undefined ? {} : { root }),\n ...(tabId === undefined ? {} : { tabId }),\n ...(expectedTargetId === undefined ? {} : { expectedTargetId }),\n ...(expectedTargetState === undefined ? {} : { expectedTargetState }),\n },\n options,\n );\n }\n\n closeProject(projectId, { tabId, ...options } = {}) {\n return this.call('project.close', { projectId, tabId }, options);\n }\n\n listAssets(projectId, { tabId, ...options } = {}) {\n return this.call('assets.list', { projectId, tabId }, options);\n }\n\n inspectAsset(guid, { projectId, tabId, ...options } = {}) {\n return this.call('asset.inspect', { guid, tabId, ...(projectId === undefined ? {} : { projectId }) }, options);\n }\n\n rebuildAssetSource(guid, { projectId, tabId, expectedRevision, requestId, ...options } = {}) {\n return this.call(\n 'asset-source.rebuild',\n {\n guid,\n tabId,\n ...(projectId === undefined ? {} : { projectId }),\n ...(expectedRevision === undefined ? {} : { expectedRevision }),\n ...(requestId === undefined ? {} : { requestId }),\n },\n options,\n );\n }\n\n coldCookAssetSource(guid, { projectId, tabId, expectedRevision, requestId, ...options } = {}) {\n return this.call(\n 'asset-source.cold-cook',\n {\n guid,\n tabId,\n ...(projectId === undefined ? {} : { projectId }),\n ...(expectedRevision === undefined ? {} : { expectedRevision }),\n ...(requestId === undefined ? {} : { requestId }),\n },\n options,\n );\n }\n\n openAsset(guid, { projectId, width, height, tabId, ...options } = {}) {\n return this.call(\n 'asset.open',\n {\n guid,\n tabId,\n ...(projectId === undefined ? {} : { projectId }),\n ...(width === undefined ? {} : { width }),\n ...(height === undefined ? {} : { height }),\n },\n options,\n );\n }\n\n closePreview({ targetId, targetGeneration, tabId, ...options } = {}) {\n return this.call(\n 'preview.close',\n { tabId, targetGeneration, ...(targetId === undefined ? {} : { targetId }) },\n options,\n );\n }\n\n capture(options = {}) {\n const { signal, generation, requestId, targetId, targetGeneration, tabId, ...args } = options;\n return this.call(\n 'preview.capture',\n { tabId, targetGeneration, ...(targetId === undefined ? {} : { targetId }), ...args },\n { signal, generation, requestId },\n );\n }\n\n resizePreview({ targetId, targetGeneration, width, height, tabId, ...options } = {}) {\n return this.call(\n 'preview.resize',\n {\n tabId,\n targetGeneration,\n ...(targetId === undefined ? {} : { targetId }),\n width,\n height,\n },\n options,\n );\n }\n\n getCamera({ targetId, targetGeneration, tabId, ...options } = {}) {\n return this.call('camera.get', { tabId, targetGeneration, ...(targetId === undefined ? {} : { targetId }) }, options);\n }\n\n beginCamera({ targetId, targetGeneration, baseVersion, interactionId, tabId, ...options } = {}) {\n return this.call(\n 'camera.begin',\n {\n tabId,\n targetGeneration,\n ...(targetId === undefined ? {} : { targetId }),\n baseVersion,\n ...(interactionId === undefined ? {} : { interactionId }),\n },\n options,\n );\n }\n\n updateCamera({ targetId, targetGeneration, interactionId, camera, input, tabId, ...options } = {}) {\n return this.call(\n 'camera.update',\n {\n tabId,\n targetGeneration,\n targetId,\n interactionId,\n ...(camera === undefined ? {} : { camera }),\n ...(input === undefined ? {} : { input }),\n },\n options,\n );\n }\n\n commitCamera({ targetId, targetGeneration, interactionId, operationId, expectedVersion, camera, tabId, ...options } = {}) {\n return this.call(\n 'camera.commit',\n { tabId, targetId, targetGeneration, interactionId, operationId, expectedVersion, camera },\n options,\n );\n }\n\n abortCamera({ targetId, targetGeneration, interactionId, reason, tabId, ...options } = {}) {\n return this.call(\n 'camera.abort',\n {\n tabId,\n targetGeneration,\n targetId,\n interactionId,\n ...(reason === undefined ? {} : { reason }),\n },\n options,\n );\n }\n\n getSceneTree({ projectId, targetId, targetGeneration, tabId, offset, limit, revision, ...options } = {}) {\n return this.call(\n 'scene-tree.get',\n {\n tabId,\n ...(projectId === undefined ? {} : { projectId }),\n ...(targetId === undefined ? {} : { targetId }),\n ...(targetGeneration === undefined ? {} : { targetGeneration }),\n ...(offset === undefined ? {} : { offset }),\n ...(limit === undefined ? {} : { limit }),\n ...(revision === undefined ? {} : { revision }),\n },\n options,\n );\n }\n\n subscribe(listener) {\n if (typeof this.transport.subscribe !== 'function') return () => {};\n return this.transport.subscribe(VIEW_WORKSPACE_STATE_TOPIC, listener);\n }\n\n subscribeInspector(listener) {\n return this.transport.subscribe?.(VIEW_INSPECTOR_TOPIC, listener) ?? (() => {});\n }\n\n onDisconnect(listener) {\n return this.transport.onDisconnect?.(listener) ?? (() => {});\n }\n\n close(reason) {\n this.transport.close?.(reason);\n }\n}\n\nexport function createViewWorkspaceClient(options) {\n return new ViewWorkspaceClient(options);\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;AAQA,IAAM,uBAAuB;AAEtB,SAAS,yBAAyB,UAAU,OAAO,UAAU,MAAM,gBAAgB;AACxF,yBAAuB,UAAU,UAAU;AAC3C,yBAAuB,OAAO,OAAO;AACrC,QAAM,MAAM,IAAI,IAAI,UAAU,QAAQ;AACtC,MAAI,IAAI,aAAa,SAAS,IAAI,aAAa,OAAQ,OAAM,IAAI,UAAU,6CAA6C;AACxH,MAAI,aAAa,IAAI,SAAS,KAAK;AACnC,MAAI,SAAS,OAAW,KAAI,aAAa,IAAI,QAAQ,IAAI;AACzD,MAAI,SAAS,cAAc,mBAAmB,OAAW,KAAI,aAAa,IAAI,kBAAkB,cAAc;AAC9G,SAAO,IAAI,SAAS;AACtB;AAEA,SAAS,8BAA8B,OAAO;AAC5C,MAAI,iBAAiB,mBAAoB,QAAO;AAChD,QAAM,gBAAgB,OAAO;AAC7B,QAAM,aACJ,OAAO,OAAO,QAAQ,eAAe,WACjC,MAAM,OAAO,aACb;AACN,QAAM,OAAO,CAAC,eAAe,UAAU,EAAE;AAAA,IACvC,CAAC,cAAc,OAAO,cAAc,YAAY,UAAU,WAAW,OAAO;AAAA,EAC9E;AACA,MAAI,SAAS,OAAW,QAAO;AAC/B,QAAM,UAAU,OAAO,OAAO,YAAY,YAAY,MAAM,QAAQ,KAAK,MAAM,KAC3E,MAAM,UACN,OAAO,KAAK;AAChB,SAAO,IAAI;AAAA,IACT;AAAA,IACA,OAAO,OAAO,aAAa,WAAW,MAAM,WAAW;AAAA,IACvD,OAAO,OAAO,SAAS,WAAW,MAAM,OAAO;AAAA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,KAAK,UAAU,eAAe,QAAQ,MAAM,MAAM;AAAA,IAAC;AAAA,EAC5D;AAAA,EAEA,MAAM,QAAQ;AACZ,SAAK,UAAU,QAAQ,MAAM;AAAA,EAC/B;AACF;AAEO,SAAS,0BAA0B,SAAS;AACjD,SAAO,IAAI,oBAAoB,OAAO;AACxC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import {
|
|
2
|
+
VIEW_PAGE_TYPES
|
|
3
|
+
} from "./chunk-32GD5LL6.mjs";
|
|
4
|
+
import {
|
|
5
|
+
__export
|
|
6
|
+
} from "./chunk-FLGC65SR.mjs";
|
|
7
|
+
|
|
8
|
+
// packages/view-plugin-plugins/src/identity.mjs
|
|
9
|
+
var identity_exports = {};
|
|
10
|
+
__export(identity_exports, {
|
|
11
|
+
BACKEND_MODULE: () => BACKEND_MODULE,
|
|
12
|
+
BACKEND_PLUGIN_ID: () => BACKEND_PLUGIN_ID,
|
|
13
|
+
FRONTEND_MODULE: () => FRONTEND_MODULE,
|
|
14
|
+
FRONTEND_PLUGIN_ID: () => FRONTEND_PLUGIN_ID,
|
|
15
|
+
PAGE_TYPE: () => PAGE_TYPE,
|
|
16
|
+
PANEL_LAYOUT: () => PANEL_LAYOUT,
|
|
17
|
+
PLUGIN_ID: () => PLUGIN_ID,
|
|
18
|
+
SLOT: () => SLOT,
|
|
19
|
+
TITLE_I18N_KEY: () => TITLE_I18N_KEY
|
|
20
|
+
});
|
|
21
|
+
var PLUGIN_ID = "forgeax.view.plugins";
|
|
22
|
+
var BACKEND_PLUGIN_ID = "forgeax.view.service.plugin-inspection.backend";
|
|
23
|
+
var FRONTEND_PLUGIN_ID = "forgeax.view.page.plugin-browser.frontend";
|
|
24
|
+
var BACKEND_MODULE = "@forgeax/view/plugins/plugins/backend";
|
|
25
|
+
var FRONTEND_MODULE = "@forgeax/view/plugins/plugins/frontend";
|
|
26
|
+
var SLOT = "plugins";
|
|
27
|
+
var PAGE_TYPE = VIEW_PAGE_TYPES.plugins;
|
|
28
|
+
var PANEL_LAYOUT = Object.freeze({
|
|
29
|
+
dock: "fill",
|
|
30
|
+
stack: "tabs",
|
|
31
|
+
order: 0
|
|
32
|
+
});
|
|
33
|
+
var TITLE_I18N_KEY = "view.slots.plugins";
|
|
34
|
+
|
|
35
|
+
export {
|
|
36
|
+
PLUGIN_ID,
|
|
37
|
+
BACKEND_PLUGIN_ID,
|
|
38
|
+
FRONTEND_PLUGIN_ID,
|
|
39
|
+
BACKEND_MODULE,
|
|
40
|
+
FRONTEND_MODULE,
|
|
41
|
+
SLOT,
|
|
42
|
+
PAGE_TYPE,
|
|
43
|
+
PANEL_LAYOUT,
|
|
44
|
+
TITLE_I18N_KEY,
|
|
45
|
+
identity_exports
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=chunk-VZXGRZYU.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../packages/view-plugin-plugins/src/identity.mjs"],
|
|
4
|
+
"sourcesContent": ["import { VIEW_PAGE_TYPES } from '@forgeax/view-workspace-core/contract';\n\nexport const PLUGIN_ID = 'forgeax.view.plugins';\nexport const BACKEND_PLUGIN_ID = 'forgeax.view.service.plugin-inspection.backend';\nexport const FRONTEND_PLUGIN_ID = 'forgeax.view.page.plugin-browser.frontend';\nexport const BACKEND_MODULE = '@forgeax/view/plugins/plugins/backend';\nexport const FRONTEND_MODULE = '@forgeax/view/plugins/plugins/frontend';\nexport const SLOT = 'plugins';\nexport const PAGE_TYPE = VIEW_PAGE_TYPES.plugins;\nexport const PANEL_LAYOUT = Object.freeze({\n dock: 'fill',\n stack: 'tabs',\n order: 0,\n});\nexport const TITLE_I18N_KEY = 'view.slots.plugins';\n"],
|
|
5
|
+
"mappings": ";;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,IAAM,YAAY;AAClB,IAAM,oBAAoB;AAC1B,IAAM,qBAAqB;AAC3B,IAAM,iBAAiB;AACvB,IAAM,kBAAkB;AACxB,IAAM,OAAO;AACb,IAAM,YAAY,gBAAgB;AAClC,IAAM,eAAe,OAAO,OAAO;AAAA,EACxC,MAAM;AAAA,EACN,OAAO;AAAA,EACP,OAAO;AACT,CAAC;AACM,IAAM,iBAAiB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import {
|
|
2
|
+
PluginsPanel
|
|
3
|
+
} from "./chunk-QLZQGZDC.mjs";
|
|
4
|
+
import {
|
|
5
|
+
OverlayRootProvider
|
|
6
|
+
} from "./chunk-NJH2OJFC.mjs";
|
|
7
|
+
|
|
8
|
+
// packages/view-plugin-plugins/src/ui/mount.tsx
|
|
9
|
+
import { createRoot } from "react-dom/client";
|
|
10
|
+
|
|
11
|
+
// packages/view-plugin-plugins/src/ui/plugins.css
|
|
12
|
+
var css = "/* packages/view-plugin-plugins/src/ui/plugins.css */\n.fx-plugins {\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n min-height: 0;\n overflow: hidden;\n}\n.fx-plugins-header .fx-panel-header__slot:nth-child(2) {\n flex: 1;\n justify-content: flex-end;\n}\n.fx-plugins-toolbar {\n width: min(100%, 320px);\n}\n.fx-plugins-toolbar .fx-search {\n flex: 1;\n}\n.fx-plugins-toolbar .fx-input {\n height: var(--fx-component-control-height-compact);\n}\n.fx-plugins-filters {\n display: flex;\n flex-direction: column;\n gap: var(--fx-ref-space-6);\n padding: var(--fx-ref-space-8) var(--fx-ref-space-12);\n border-bottom: var(--fx-border-width) solid var(--fx-color-border-subtle);\n}\n.fx-plugins-filter-row {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--fx-ref-space-4);\n}\n.fx-plugins-filter-label {\n min-width: 48px;\n color: var(--fx-color-text-muted);\n}\n.fx-plugin-filter {\n max-width: 100%;\n overflow-wrap: anywhere;\n border-radius: var(--fx-radius-control);\n}\n.fx-plugin-filter[aria-pressed=true] {\n background: var(--fx-color-selection-bg);\n color: var(--fx-color-selection-fg);\n box-shadow: inset 0 0 0 1px var(--fx-color-selection-indicator);\n}\n.fx-plugin-filter span {\n font-variant-numeric: tabular-nums;\n color: var(--fx-color-text-secondary);\n}\n.fx-plugins-filter-help {\n color: var(--fx-color-text-muted);\n}\n.fx-plugin-source-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--fx-space-control);\n padding: var(--fx-ref-space-8) var(--fx-ref-space-12);\n border-block: var(--fx-border-width) solid var(--fx-color-border-subtle);\n background: var(--fx-color-surface-sidebar);\n overflow-wrap: anywhere;\n}\n.fx-plugins-notice {\n padding: var(--fx-ref-space-6) var(--fx-ref-space-12);\n max-height: 120px;\n overflow: auto;\n color: var(--fx-color-text-secondary);\n overflow-wrap: anywhere;\n}\n.fx-plugins-notice p {\n margin: 0;\n}\n.fx-plugin-tags {\n display: flex;\n flex-wrap: wrap;\n gap: var(--fx-ref-space-4);\n}\n.fx-plugin-copy .fx-plugin-operations {\n white-space: normal;\n overflow-wrap: anywhere;\n}\n.fx-plugins-summary {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--fx-space-control);\n padding: var(--fx-ref-space-6) var(--fx-ref-space-12);\n border-bottom: var(--fx-border-width) solid var(--fx-color-border-subtle);\n background: var(--fx-color-surface-sidebar);\n}\n.fx-plugins-summary > .fx-text {\n display: inline-flex;\n align-items: center;\n gap: var(--fx-ref-space-4);\n}\n.fx-plugins-summary .fx-icon {\n width: var(--fx-component-control-icon-size);\n height: var(--fx-component-control-icon-size);\n}\n.fx-plugins-list {\n flex: 1;\n min-height: 0;\n overflow: auto;\n padding: var(--fx-ref-space-4) 0;\n background: var(--fx-color-surface-canvas);\n}\n.fx-plugin-row {\n display: flex;\n align-items: center;\n width: 100%;\n min-height: 48px;\n gap: var(--fx-space-control);\n padding: var(--fx-ref-space-6) var(--fx-ref-space-12);\n border: 0;\n border-inline-start: 2px solid transparent;\n background: transparent;\n color: var(--fx-color-text-primary);\n text-align: left;\n cursor: pointer;\n}\n.fx-plugin-row:hover {\n background: var(--fx-color-surface-hover);\n}\n.fx-plugin-row.selected {\n border-inline-start-color: var(--fx-color-selection-indicator);\n background: var(--fx-color-selection-bg);\n color: var(--fx-color-selection-fg);\n}\n.fx-plugin-icon {\n display: grid;\n place-items: center;\n width: var(--fx-component-control-height-default);\n height: var(--fx-component-control-height-default);\n flex: 0 0 auto;\n border: var(--fx-border-width) solid var(--fx-color-border-subtle);\n border-radius: var(--fx-radius-control);\n background: var(--fx-color-surface-inset);\n color: var(--fx-color-text-secondary);\n}\n.fx-plugin-copy {\n display: flex;\n flex: 1;\n min-width: 0;\n flex-direction: column;\n}\n.fx-plugin-copy strong {\n overflow: hidden;\n color: var(--fx-color-text-primary);\n font-weight: var(--fx-ref-font-weight-500);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.fx-plugin-copy small {\n overflow: hidden;\n color: var(--fx-color-text-muted);\n font: var(--fx-type-caption-font-weight) var(--fx-type-caption-font-size)/var(--fx-type-caption-line-height) var(--fx-type-code-font-family);\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.fx-plugin-version {\n color: var(--fx-color-text-muted);\n font: var(--fx-type-caption-font-weight) var(--fx-type-caption-font-size)/var(--fx-type-caption-line-height) var(--fx-type-code-font-family);\n}\n.fx-plugin-type,\n.fx-plugin-state {\n flex: 0 0 auto;\n text-transform: uppercase;\n}\n.fx-plugins-empty-icon {\n width: var(--fx-ref-space-32);\n height: var(--fx-ref-space-32);\n color: var(--fx-color-text-muted);\n}\n@media (max-width: 520px) {\n .fx-plugin-version {\n display: none;\n }\n .fx-plugin-row {\n flex-wrap: wrap;\n }\n .fx-plugin-copy {\n flex-basis: calc(100% - 52px);\n }\n .fx-plugins-header {\n flex-wrap: wrap;\n }\n}\n";
|
|
13
|
+
if (typeof document !== "undefined" && !document.querySelector('style[data-forgeax-css="L2RhdGEvaG9tZS9nYWhvdWxpYW8vYWN0aW9ucy1ydW5uZXIvX3dvcmsvZm9yZ2VheC12aWV3L2ZvcmdlYXgtdmlldy9wYWNrYWdlcy92aWV3LXBsdWdpbi1wbHVnaW5zL3NyYy91aS9wbHVnaW5zLmNzcw"]')) {
|
|
14
|
+
const style = document.createElement("style");
|
|
15
|
+
style.dataset.forgeaxCss = "L2RhdGEvaG9tZS9nYWhvdWxpYW8vYWN0aW9ucy1ydW5uZXIvX3dvcmsvZm9yZ2VheC12aWV3L2ZvcmdlYXgtdmlldy9wYWNrYWdlcy92aWV3LXBsdWdpbi1wbHVnaW5zL3NyYy91aS9wbHVnaW5zLmNzcw";
|
|
16
|
+
style.textContent = css;
|
|
17
|
+
document.head.append(style);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// packages/view-plugin-plugins/src/ui/mount.tsx
|
|
21
|
+
import { jsx } from "react/jsx-runtime";
|
|
22
|
+
async function mountPluginsPanel(props) {
|
|
23
|
+
if (!props.mountElement) throw new TypeError("mountPluginsPanel requires mountElement");
|
|
24
|
+
const root = createRoot(props.mountElement);
|
|
25
|
+
root.render(
|
|
26
|
+
/* @__PURE__ */ jsx(OverlayRootProvider, { root: props.overlayRoot ?? props.mountElement, children: /* @__PURE__ */ jsx(
|
|
27
|
+
PluginsPanel,
|
|
28
|
+
{
|
|
29
|
+
hostAssembly: props.hostAssembly,
|
|
30
|
+
connectionId: props.connectionId,
|
|
31
|
+
client: props.client,
|
|
32
|
+
workspaceClient: props.workspaceClient
|
|
33
|
+
}
|
|
34
|
+
) })
|
|
35
|
+
);
|
|
36
|
+
return async () => root.unmount();
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export {
|
|
40
|
+
mountPluginsPanel
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=chunk-W5DMQZB5.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../packages/view-plugin-plugins/src/ui/mount.tsx", "../../../packages/view-plugin-plugins/src/ui/plugins.css"],
|
|
4
|
+
"sourcesContent": ["import { OverlayRootProvider } from '@forgeax/view-components';\nimport '../i18n/index.mjs';\nimport { createRoot } from 'react-dom/client';\nimport { PluginsPanel } from './PluginsPanel';\nimport './plugins.css';\n\nexport async function mountPluginsPanel(props: {\n hostAssembly?: unknown;\n connectionId?: string;\n client?: unknown;\n workspaceClient?: unknown;\n mountElement: HTMLElement;\n overlayRoot?: HTMLElement;\n}) {\n if (!props.mountElement) throw new TypeError('mountPluginsPanel requires mountElement');\n const root = createRoot(props.mountElement);\n root.render(\n <OverlayRootProvider root={props.overlayRoot ?? props.mountElement}>\n <PluginsPanel\n hostAssembly={props.hostAssembly}\n connectionId={props.connectionId}\n client={props.client as never}\n workspaceClient={props.workspaceClient as never}\n />\n </OverlayRootProvider>,\n );\n return async () => root.unmount();\n}\n", "\n const css = \"/* packages/view-plugin-plugins/src/ui/plugins.css */\\n.fx-plugins {\\n display: flex;\\n flex-direction: column;\\n width: 100%;\\n height: 100%;\\n min-height: 0;\\n overflow: hidden;\\n}\\n.fx-plugins-header .fx-panel-header__slot:nth-child(2) {\\n flex: 1;\\n justify-content: flex-end;\\n}\\n.fx-plugins-toolbar {\\n width: min(100%, 320px);\\n}\\n.fx-plugins-toolbar .fx-search {\\n flex: 1;\\n}\\n.fx-plugins-toolbar .fx-input {\\n height: var(--fx-component-control-height-compact);\\n}\\n.fx-plugins-filters {\\n display: flex;\\n flex-direction: column;\\n gap: var(--fx-ref-space-6);\\n padding: var(--fx-ref-space-8) var(--fx-ref-space-12);\\n border-bottom: var(--fx-border-width) solid var(--fx-color-border-subtle);\\n}\\n.fx-plugins-filter-row {\\n display: flex;\\n align-items: center;\\n flex-wrap: wrap;\\n gap: var(--fx-ref-space-4);\\n}\\n.fx-plugins-filter-label {\\n min-width: 48px;\\n color: var(--fx-color-text-muted);\\n}\\n.fx-plugin-filter {\\n max-width: 100%;\\n overflow-wrap: anywhere;\\n border-radius: var(--fx-radius-control);\\n}\\n.fx-plugin-filter[aria-pressed=true] {\\n background: var(--fx-color-selection-bg);\\n color: var(--fx-color-selection-fg);\\n box-shadow: inset 0 0 0 1px var(--fx-color-selection-indicator);\\n}\\n.fx-plugin-filter span {\\n font-variant-numeric: tabular-nums;\\n color: var(--fx-color-text-secondary);\\n}\\n.fx-plugins-filter-help {\\n color: var(--fx-color-text-muted);\\n}\\n.fx-plugin-source-header {\\n display: flex;\\n align-items: center;\\n justify-content: space-between;\\n gap: var(--fx-space-control);\\n padding: var(--fx-ref-space-8) var(--fx-ref-space-12);\\n border-block: var(--fx-border-width) solid var(--fx-color-border-subtle);\\n background: var(--fx-color-surface-sidebar);\\n overflow-wrap: anywhere;\\n}\\n.fx-plugins-notice {\\n padding: var(--fx-ref-space-6) var(--fx-ref-space-12);\\n max-height: 120px;\\n overflow: auto;\\n color: var(--fx-color-text-secondary);\\n overflow-wrap: anywhere;\\n}\\n.fx-plugins-notice p {\\n margin: 0;\\n}\\n.fx-plugin-tags {\\n display: flex;\\n flex-wrap: wrap;\\n gap: var(--fx-ref-space-4);\\n}\\n.fx-plugin-copy .fx-plugin-operations {\\n white-space: normal;\\n overflow-wrap: anywhere;\\n}\\n.fx-plugins-summary {\\n display: flex;\\n align-items: center;\\n justify-content: space-between;\\n gap: var(--fx-space-control);\\n padding: var(--fx-ref-space-6) var(--fx-ref-space-12);\\n border-bottom: var(--fx-border-width) solid var(--fx-color-border-subtle);\\n background: var(--fx-color-surface-sidebar);\\n}\\n.fx-plugins-summary > .fx-text {\\n display: inline-flex;\\n align-items: center;\\n gap: var(--fx-ref-space-4);\\n}\\n.fx-plugins-summary .fx-icon {\\n width: var(--fx-component-control-icon-size);\\n height: var(--fx-component-control-icon-size);\\n}\\n.fx-plugins-list {\\n flex: 1;\\n min-height: 0;\\n overflow: auto;\\n padding: var(--fx-ref-space-4) 0;\\n background: var(--fx-color-surface-canvas);\\n}\\n.fx-plugin-row {\\n display: flex;\\n align-items: center;\\n width: 100%;\\n min-height: 48px;\\n gap: var(--fx-space-control);\\n padding: var(--fx-ref-space-6) var(--fx-ref-space-12);\\n border: 0;\\n border-inline-start: 2px solid transparent;\\n background: transparent;\\n color: var(--fx-color-text-primary);\\n text-align: left;\\n cursor: pointer;\\n}\\n.fx-plugin-row:hover {\\n background: var(--fx-color-surface-hover);\\n}\\n.fx-plugin-row.selected {\\n border-inline-start-color: var(--fx-color-selection-indicator);\\n background: var(--fx-color-selection-bg);\\n color: var(--fx-color-selection-fg);\\n}\\n.fx-plugin-icon {\\n display: grid;\\n place-items: center;\\n width: var(--fx-component-control-height-default);\\n height: var(--fx-component-control-height-default);\\n flex: 0 0 auto;\\n border: var(--fx-border-width) solid var(--fx-color-border-subtle);\\n border-radius: var(--fx-radius-control);\\n background: var(--fx-color-surface-inset);\\n color: var(--fx-color-text-secondary);\\n}\\n.fx-plugin-copy {\\n display: flex;\\n flex: 1;\\n min-width: 0;\\n flex-direction: column;\\n}\\n.fx-plugin-copy strong {\\n overflow: hidden;\\n color: var(--fx-color-text-primary);\\n font-weight: var(--fx-ref-font-weight-500);\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n}\\n.fx-plugin-copy small {\\n overflow: hidden;\\n color: var(--fx-color-text-muted);\\n font: var(--fx-type-caption-font-weight) var(--fx-type-caption-font-size)/var(--fx-type-caption-line-height) var(--fx-type-code-font-family);\\n text-overflow: ellipsis;\\n white-space: nowrap;\\n}\\n.fx-plugin-version {\\n color: var(--fx-color-text-muted);\\n font: var(--fx-type-caption-font-weight) var(--fx-type-caption-font-size)/var(--fx-type-caption-line-height) var(--fx-type-code-font-family);\\n}\\n.fx-plugin-type,\\n.fx-plugin-state {\\n flex: 0 0 auto;\\n text-transform: uppercase;\\n}\\n.fx-plugins-empty-icon {\\n width: var(--fx-ref-space-32);\\n height: var(--fx-ref-space-32);\\n color: var(--fx-color-text-muted);\\n}\\n@media (max-width: 520px) {\\n .fx-plugin-version {\\n display: none;\\n }\\n .fx-plugin-row {\\n flex-wrap: wrap;\\n }\\n .fx-plugin-copy {\\n flex-basis: calc(100% - 52px);\\n }\\n .fx-plugins-header {\\n flex-wrap: wrap;\\n }\\n}\\n\";\n if (typeof document !== 'undefined' && !document.querySelector('style[data-forgeax-css=\"L2RhdGEvaG9tZS9nYWhvdWxpYW8vYWN0aW9ucy1ydW5uZXIvX3dvcmsvZm9yZ2VheC12aWV3L2ZvcmdlYXgtdmlldy9wYWNrYWdlcy92aWV3LXBsdWdpbi1wbHVnaW5zL3NyYy91aS9wbHVnaW5zLmNzcw\"]')) {\n const style = document.createElement('style');\n style.dataset.forgeaxCss = \"L2RhdGEvaG9tZS9nYWhvdWxpYW8vYWN0aW9ucy1ydW5uZXIvX3dvcmsvZm9yZ2VheC12aWV3L2ZvcmdlYXgtdmlldy9wYWNrYWdlcy92aWV3LXBsdWdpbi1wbHVnaW5zL3NyYy91aS9wbHVnaW5zLmNzcw\";\n style.textContent = css;\n document.head.append(style);\n }\n export default css;\n "],
|
|
5
|
+
"mappings": ";;;;;;;;AAEA,SAAS,kBAAkB;;;ACDjB,IAAM,MAAM;AACZ,IAAI,OAAO,aAAa,eAAe,CAAC,SAAS,cAAc,sLAAsL,GAAG;AACtP,QAAM,QAAQ,SAAS,cAAc,OAAO;AAC5C,QAAM,QAAQ,aAAa;AAC3B,QAAM,cAAc;AACpB,WAAS,KAAK,OAAO,KAAK;AAC5B;;;ADWJ;AAZN,eAAsB,kBAAkB,OAOrC;AACD,MAAI,CAAC,MAAM,aAAc,OAAM,IAAI,UAAU,yCAAyC;AACtF,QAAM,OAAO,WAAW,MAAM,YAAY;AAC1C,OAAK;AAAA,IACH,oBAAC,uBAAoB,MAAM,MAAM,eAAe,MAAM,cACpD;AAAA,MAAC;AAAA;AAAA,QACC,cAAc,MAAM;AAAA,QACpB,cAAc,MAAM;AAAA,QACpB,QAAQ,MAAM;AAAA,QACd,iBAAiB,MAAM;AAAA;AAAA,IACzB,GACF;AAAA,EACF;AACA,SAAO,YAAY,KAAK,QAAQ;AAClC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|