@forgeax/view 0.5.0-dev.13604.c415409c3b9d → 0.5.0-dev.13619.c20ebf66cef4
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/README.md +50 -6
- package/dist/build-revision.json +1 -1
- package/dist/modules/backend.mjs +34 -34
- package/dist/modules/browser.mjs +55 -49
- package/dist/modules/chunks/{chunk-B6QUJ33G.mjs → chunk-25PFC2DY.mjs} +3 -3
- package/dist/modules/chunks/{chunk-6KM24NH6.mjs → chunk-3Y5WN22T.mjs} +3 -3
- package/dist/modules/chunks/chunk-3Y5WN22T.mjs.map +7 -0
- package/dist/modules/chunks/{chunk-D2RCKG7Q.mjs → chunk-43L37UYV.mjs} +6 -6
- package/dist/modules/chunks/{chunk-FNRGLCZW.mjs → chunk-4RTL3LS3.mjs} +36 -10
- package/dist/modules/chunks/chunk-4RTL3LS3.mjs.map +7 -0
- package/dist/modules/chunks/{chunk-WVU3CQ62.mjs → chunk-4ZI5DFBR.mjs} +3 -3
- package/dist/modules/chunks/{chunk-47RJSHLM.mjs → chunk-5HJ336VM.mjs} +3 -3
- package/dist/modules/chunks/{chunk-PVP5YBNR.mjs → chunk-5N5FDO5Y.mjs} +2 -2
- package/dist/modules/chunks/{chunk-APD2EWSZ.mjs → chunk-5PZL6W3F.mjs} +2 -2
- package/dist/modules/chunks/{chunk-LZ57Y73Z.mjs → chunk-5SHQXSSM.mjs} +9 -7
- package/dist/modules/chunks/chunk-5SHQXSSM.mjs.map +7 -0
- package/dist/modules/chunks/{chunk-KI4WGTWL.mjs → chunk-5WVRCLHN.mjs} +2 -2
- package/dist/modules/chunks/{chunk-YNHEYXDG.mjs → chunk-7MQIGD6Q.mjs} +3 -3
- package/dist/modules/chunks/{chunk-F5RLQAPN.mjs → chunk-7YWMB7HV.mjs} +3 -3
- package/dist/modules/chunks/{chunk-FICPCJKR.mjs → chunk-A22PJUZM.mjs} +3 -3
- package/dist/modules/chunks/{chunk-P5XMFZY4.mjs → chunk-A7HXBQUG.mjs} +2 -2
- package/dist/modules/chunks/{chunk-TTRUYO7Q.mjs → chunk-AOD6XLJC.mjs} +3 -3
- package/dist/modules/chunks/{chunk-TTRUYO7Q.mjs.map → chunk-AOD6XLJC.mjs.map} +2 -2
- package/dist/modules/chunks/{chunk-HRKW766Y.mjs → chunk-AZHCKPUL.mjs} +2 -2
- package/dist/modules/chunks/chunk-BJTFQQQR.mjs +13 -0
- package/dist/modules/chunks/chunk-BJTFQQQR.mjs.map +7 -0
- package/dist/modules/chunks/{chunk-6I7RY73G.mjs → chunk-CEB76QBE.mjs} +4 -4
- package/dist/modules/chunks/{chunk-VKNIYV2W.mjs → chunk-CRPXFJ6K.mjs} +202 -35
- package/dist/modules/chunks/chunk-CRPXFJ6K.mjs.map +7 -0
- package/dist/modules/chunks/{chunk-U64FRQKP.mjs → chunk-CVIF6DYH.mjs} +3 -3
- package/dist/modules/chunks/{chunk-DWT3TA6M.mjs → chunk-CYQ7BITZ.mjs} +9 -8
- package/dist/modules/chunks/chunk-CYQ7BITZ.mjs.map +7 -0
- package/dist/modules/chunks/{chunk-OQXDADAS.mjs → chunk-D3GX7HWI.mjs} +6 -6
- package/dist/modules/chunks/chunk-D3GX7HWI.mjs.map +7 -0
- package/dist/modules/chunks/{chunk-XQYF2P6M.mjs → chunk-D3ISMGT6.mjs} +7 -7
- package/dist/modules/chunks/{chunk-OKQ5RBKO.mjs → chunk-DC3PU6SO.mjs} +2 -2
- package/dist/modules/chunks/{chunk-4T3D67CS.mjs → chunk-DJKXBCZH.mjs} +7 -7
- package/dist/modules/chunks/{chunk-E3PJGTLI.mjs → chunk-DX4M6LZH.mjs} +5 -5
- package/dist/modules/chunks/{chunk-IZAHIOFU.mjs → chunk-EOW4JGVV.mjs} +6 -6
- package/dist/modules/chunks/{chunk-U5R6MVM4.mjs → chunk-EQRDY5CQ.mjs} +2 -2
- package/dist/modules/chunks/{chunk-7IGFAI5H.mjs → chunk-EW7VMNZA.mjs} +5 -5
- package/dist/modules/chunks/{chunk-FMCHH5R4.mjs → chunk-FSSKCXPL.mjs} +3 -3
- package/dist/modules/chunks/{chunk-357UOBAS.mjs → chunk-FSYQ3LBQ.mjs} +2 -2
- package/dist/modules/chunks/{chunk-D25SR5FS.mjs → chunk-FVSDKOXR.mjs} +3 -3
- package/dist/modules/chunks/{chunk-XMP4THLF.mjs → chunk-J7QRK3FU.mjs} +4 -4
- package/dist/modules/chunks/{chunk-D57DDEV2.mjs → chunk-JE4N575J.mjs} +5 -5
- package/dist/modules/chunks/{chunk-ZIDEETK4.mjs → chunk-JKDBKS7P.mjs} +3 -3
- package/dist/modules/chunks/{chunk-U5J7OTEB.mjs → chunk-K4C5WOTT.mjs} +3 -3
- package/dist/modules/chunks/{chunk-QUFVUMSY.mjs → chunk-KOBAWLZL.mjs} +2 -2
- package/dist/modules/chunks/{chunk-CX5WREJC.mjs → chunk-KY2AWNDR.mjs} +2 -2
- package/dist/modules/chunks/{chunk-RJVOH7G2.mjs → chunk-L24HPIQP.mjs} +27 -27
- package/dist/modules/chunks/{chunk-27XASYEH.mjs → chunk-LCVL3V5U.mjs} +17 -11
- package/dist/modules/chunks/chunk-LCVL3V5U.mjs.map +7 -0
- package/dist/modules/chunks/{chunk-PJFFCRRD.mjs → chunk-LOVO3P2Q.mjs} +2 -2
- package/dist/modules/chunks/{chunk-X4NNZ5X6.mjs → chunk-M66NDY35.mjs} +3 -3
- package/dist/modules/chunks/{chunk-EZSGDSCC.mjs → chunk-M7XSCLYV.mjs} +18 -4
- package/dist/modules/chunks/chunk-M7XSCLYV.mjs.map +7 -0
- package/dist/modules/chunks/{chunk-YLCJNKIW.mjs → chunk-MFEFV3YF.mjs} +70 -30
- package/dist/modules/chunks/chunk-MFEFV3YF.mjs.map +7 -0
- package/dist/modules/chunks/{chunk-55F55BQY.mjs → chunk-MUBV2LNK.mjs} +3 -3
- package/dist/modules/chunks/{chunk-M6S5YA6X.mjs → chunk-NHNPQ3ZS.mjs} +3 -3
- package/dist/modules/chunks/{chunk-STQPRNEO.mjs → chunk-NSPN5OQ5.mjs} +2 -2
- package/dist/modules/chunks/{chunk-XE6ITXHT.mjs → chunk-NZ4N7AVG.mjs} +2 -2
- package/dist/modules/chunks/{chunk-KAGFU64Y.mjs → chunk-OGFZB75B.mjs} +2 -2
- package/dist/modules/chunks/{chunk-EWSCJF77.mjs → chunk-OS7BK3FO.mjs} +2 -2
- package/dist/modules/chunks/{chunk-HWZCLROY.mjs → chunk-P27F2TZN.mjs} +248 -42
- package/dist/modules/chunks/chunk-P27F2TZN.mjs.map +7 -0
- package/dist/modules/chunks/{chunk-5W7SC5D4.mjs → chunk-P2Y73QJJ.mjs} +11 -1
- package/dist/modules/chunks/{chunk-5W7SC5D4.mjs.map → chunk-P2Y73QJJ.mjs.map} +2 -2
- package/dist/modules/chunks/{chunk-U6UMATPV.mjs → chunk-P3ZW2T37.mjs} +3 -3
- package/dist/modules/chunks/{chunk-INTTYJVW.mjs → chunk-PHCUCHVL.mjs} +2 -2
- package/dist/modules/chunks/{chunk-JK7K7RG3.mjs → chunk-QNJL265P.mjs} +4 -4
- package/dist/modules/chunks/{chunk-ZGOGO7SS.mjs → chunk-QNSUBUZF.mjs} +1 -1
- package/dist/modules/chunks/{chunk-5YTMN435.mjs → chunk-QNUBIFAY.mjs} +13 -3
- package/dist/modules/chunks/chunk-QNUBIFAY.mjs.map +7 -0
- package/dist/modules/chunks/{chunk-TXLD7JI5.mjs → chunk-QQP7ZGQD.mjs} +2 -2
- package/dist/modules/chunks/{chunk-E3Z7GLFU.mjs → chunk-QYJZ3SOV.mjs} +12 -1
- package/dist/modules/chunks/chunk-QYJZ3SOV.mjs.map +7 -0
- package/dist/modules/chunks/{chunk-PZIAKZJC.mjs → chunk-R6MT6F3T.mjs} +3 -3
- package/dist/modules/chunks/{chunk-P4UPH74B.mjs → chunk-RGM4S2BE.mjs} +3 -3
- package/dist/modules/chunks/{chunk-AGVLPYVE.mjs → chunk-SKZC6VTV.mjs} +2 -2
- package/dist/modules/chunks/{chunk-4D3Q7K44.mjs → chunk-SSVRSFTX.mjs} +2 -2
- package/dist/modules/chunks/{chunk-2Z5KEV6L.mjs → chunk-TFBSEYKW.mjs} +3 -3
- package/dist/modules/chunks/{chunk-K2QZRFLE.mjs → chunk-TPLT4PBX.mjs} +4 -4
- package/dist/modules/chunks/{chunk-5PHAXNFO.mjs → chunk-U5LBMAG3.mjs} +3 -3
- package/dist/modules/chunks/{chunk-46UEGAXY.mjs → chunk-V4SOFUJI.mjs} +6 -6
- package/dist/modules/chunks/{chunk-IJPWKKIU.mjs → chunk-VD3C4DYT.mjs} +14 -13
- package/dist/modules/chunks/chunk-VD3C4DYT.mjs.map +7 -0
- package/dist/modules/chunks/{chunk-YFQGSDK3.mjs → chunk-VD4QU7KY.mjs} +2 -2
- package/dist/modules/chunks/{chunk-KX2WU5Z6.mjs → chunk-WC6NGMGI.mjs} +3 -3
- package/dist/modules/chunks/{chunk-H256DQT6.mjs → chunk-XOZ5EMNY.mjs} +2 -2
- package/dist/modules/chunks/{chunk-ZHO2G4JR.mjs → chunk-XXJ32F5P.mjs} +3 -3
- package/dist/modules/chunks/{chunk-VW2ZF3P4.mjs → chunk-Y4SFATAM.mjs} +6 -6
- package/dist/modules/chunks/{chunk-SRYQLFBV.mjs → chunk-ZKFH7EMU.mjs} +2 -2
- package/dist/modules/chunks/{chunk-CKYXAT7H.mjs → chunk-ZRG7LDCA.mjs} +2 -2
- package/dist/modules/chunks/{chunk-PW5CE2Y6.mjs → chunk-ZW7LLDOL.mjs} +2 -2
- package/dist/modules/cli-contributions.mjs +14 -14
- package/dist/modules/cli.mjs +5 -5
- package/dist/modules/command-executor.mjs +3 -3
- package/dist/modules/embedded.mjs +82 -42
- package/dist/modules/embedded.mjs.map +2 -2
- package/dist/modules/extension-bridge.mjs +4 -4
- package/dist/modules/frontend-root.mjs +46 -46
- package/dist/modules/index.mjs +71 -65
- package/dist/modules/index.mjs.map +1 -1
- package/dist/modules/pages/scene.mjs +5 -5
- package/dist/modules/plugin.mjs +35 -35
- package/dist/modules/plugins/asset/frontend.mjs +10 -10
- package/dist/modules/plugins/asset/identity.mjs +9 -9
- package/dist/modules/plugins/asset/ui.mjs +3 -3
- package/dist/modules/plugins/content-browser/frontend.mjs +3 -3
- package/dist/modules/plugins/content-browser/identity.mjs +2 -2
- package/dist/modules/plugins/content-browser/ui.mjs +3 -3
- package/dist/modules/plugins/display/api.mjs +1 -1
- package/dist/modules/plugins/display/backend.mjs +4 -4
- package/dist/modules/plugins/display/frontend.mjs +5 -5
- package/dist/modules/plugins/display/identity.mjs +2 -2
- package/dist/modules/plugins/display/ui.mjs +3 -3
- package/dist/modules/plugins/inspector/frontend.mjs +3 -3
- package/dist/modules/plugins/inspector/identity.mjs +2 -2
- package/dist/modules/plugins/inspector/ui.mjs +3 -3
- package/dist/modules/plugins/material/frontend.mjs +10 -10
- package/dist/modules/plugins/material/identity.mjs +9 -9
- package/dist/modules/plugins/material/ui.mjs +10 -10
- package/dist/modules/plugins/mesh/frontend.mjs +10 -10
- package/dist/modules/plugins/mesh/identity.mjs +9 -9
- package/dist/modules/plugins/mesh/ui.mjs +10 -10
- package/dist/modules/plugins/plugins/api.mjs +4 -4
- package/dist/modules/plugins/plugins/backend.mjs +7 -7
- package/dist/modules/plugins/plugins/cli.mjs +5 -5
- package/dist/modules/plugins/plugins/frontend.mjs +3 -3
- package/dist/modules/plugins/plugins/identity.mjs +2 -2
- package/dist/modules/plugins/plugins/runtime.mjs +6 -6
- package/dist/modules/plugins/plugins/ui/panel.mjs +3 -3
- package/dist/modules/plugins/plugins/ui.mjs +4 -4
- package/dist/modules/plugins/scene/frontend.mjs +5 -5
- package/dist/modules/plugins/scene/identity.mjs +2 -2
- package/dist/modules/plugins/scene-tree/frontend.mjs +3 -3
- package/dist/modules/plugins/scene-tree/identity.mjs +2 -2
- package/dist/modules/plugins/scene-tree/ui.mjs +3 -3
- package/dist/modules/plugins/texture/frontend.mjs +10 -10
- package/dist/modules/plugins/texture/identity.mjs +9 -9
- package/dist/modules/plugins/texture/ui.mjs +10 -10
- package/dist/modules/plugins/viewport/frontend.mjs +12 -12
- package/dist/modules/plugins/viewport/identity.mjs +2 -2
- package/dist/modules/plugins/viewport/presentation.mjs +4 -4
- package/dist/modules/plugins/viewport/schema.mjs +2 -2
- package/dist/modules/plugins/viewport/workspace-shell.mjs +9 -9
- package/dist/modules/product.mjs +35 -35
- package/dist/modules/shell/frontend.mjs +1 -1
- package/dist/modules/viewer/catalog/backend.mjs +31 -31
- package/dist/modules/viewer/catalog/frontend.mjs +42 -42
- package/dist/modules/viewer/catalog/shared.mjs +20 -20
- package/dist/modules/viewer/catalog.mjs +51 -51
- package/dist/modules/viewer/cli.mjs +10 -10
- package/dist/modules/viewer-host/frontend.mjs +48 -48
- package/dist/modules/viewer-host/page-registry.mjs +6 -6
- package/dist/modules/viewer-host.mjs +7 -7
- package/dist/modules/viewer.mjs +51 -51
- package/dist/modules/workspace/api.mjs +1 -1
- package/dist/modules/workspace/backend.mjs +10 -10
- package/dist/modules/workspace/broker.mjs +9 -9
- package/dist/modules/workspace/cli.mjs +2 -2
- package/dist/modules/workspace/client.mjs +3 -3
- package/dist/modules/workspace/command-error.mjs +2 -2
- package/dist/modules/workspace/contract.mjs +7 -1
- package/dist/modules/workspace/engine-adapter.mjs +3 -3
- package/dist/modules/workspace/extension-bridge.mjs +4 -4
- package/dist/modules/workspace/frontend-plugin.mjs +8 -8
- package/dist/modules/workspace/frontend.mjs +9 -9
- package/dist/modules/workspace/page-title.mjs +3 -3
- package/dist/modules/workspace/presentation.mjs +4 -4
- package/dist/modules/workspace/preview-surface.mjs +7 -7
- package/dist/modules/workspace/project-session.mjs +2 -2
- package/dist/modules/workspace/render-resize-sync.mjs +2 -2
- package/dist/modules/workspace/resident.mjs +4 -4
- package/dist/modules/workspace/resource-open.mjs +5 -5
- package/dist/modules/workspace/resource-page.mjs +8 -8
- package/dist/modules/workspace/tool-runtime.mjs +7 -5
- package/dist/modules/workspace/view-trace.mjs +3 -3
- package/dist/modules/workspace/workspace-recovery.mjs +4 -4
- package/dist/modules/workspace/workspace-state.mjs +2 -2
- package/dist/modules/workspace-frontend.mjs +8 -8
- package/dist/viewer/assets/{embedded-DXSSFAyM.js → embedded-BZSPh0if.js} +2 -2
- package/dist/viewer/assets/{embedded-DXSSFAyM.js.map → embedded-BZSPh0if.js.map} +1 -1
- package/dist/viewer/assets/main-CmJEE-8D.js +22 -0
- package/dist/viewer/assets/main-CmJEE-8D.js.map +1 -0
- package/dist/viewer/assets/panels-ui-Cm3As_jE.js +12 -0
- package/dist/viewer/assets/panels-ui-Cm3As_jE.js.map +1 -0
- package/dist/viewer/assets/style-CcYzhsIZ.css +2 -0
- package/dist/viewer/index.html +3 -3
- package/dist/viewer/panels.js +1 -1
- package/package.json +2 -2
- package/scripts/verify-runtime-content-engine.mjs +7 -4
- package/skills/forgeax-view-cli/SKILL.md +4 -0
- package/dist/modules/chunks/chunk-27XASYEH.mjs.map +0 -7
- package/dist/modules/chunks/chunk-5YTMN435.mjs.map +0 -7
- package/dist/modules/chunks/chunk-6KM24NH6.mjs.map +0 -7
- package/dist/modules/chunks/chunk-DWT3TA6M.mjs.map +0 -7
- package/dist/modules/chunks/chunk-E3Z7GLFU.mjs.map +0 -7
- package/dist/modules/chunks/chunk-EZSGDSCC.mjs.map +0 -7
- package/dist/modules/chunks/chunk-FNRGLCZW.mjs.map +0 -7
- package/dist/modules/chunks/chunk-HWZCLROY.mjs.map +0 -7
- package/dist/modules/chunks/chunk-IJPWKKIU.mjs.map +0 -7
- package/dist/modules/chunks/chunk-LZ57Y73Z.mjs.map +0 -7
- package/dist/modules/chunks/chunk-OQXDADAS.mjs.map +0 -7
- package/dist/modules/chunks/chunk-QELNKFSI.mjs +0 -10
- package/dist/modules/chunks/chunk-QELNKFSI.mjs.map +0 -7
- package/dist/modules/chunks/chunk-VKNIYV2W.mjs.map +0 -7
- package/dist/modules/chunks/chunk-YLCJNKIW.mjs.map +0 -7
- package/dist/viewer/assets/main-CI6ZQziX.js +0 -22
- package/dist/viewer/assets/main-CI6ZQziX.js.map +0 -1
- package/dist/viewer/assets/panels-ui-CfUtl68h.js +0 -12
- package/dist/viewer/assets/panels-ui-CfUtl68h.js.map +0 -1
- package/dist/viewer/assets/style-gOtSMZif.css +0 -2
- /package/dist/modules/chunks/{chunk-B6QUJ33G.mjs.map → chunk-25PFC2DY.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-D2RCKG7Q.mjs.map → chunk-43L37UYV.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-WVU3CQ62.mjs.map → chunk-4ZI5DFBR.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-47RJSHLM.mjs.map → chunk-5HJ336VM.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-PVP5YBNR.mjs.map → chunk-5N5FDO5Y.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-APD2EWSZ.mjs.map → chunk-5PZL6W3F.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-KI4WGTWL.mjs.map → chunk-5WVRCLHN.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-YNHEYXDG.mjs.map → chunk-7MQIGD6Q.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-F5RLQAPN.mjs.map → chunk-7YWMB7HV.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-FICPCJKR.mjs.map → chunk-A22PJUZM.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-P5XMFZY4.mjs.map → chunk-A7HXBQUG.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-HRKW766Y.mjs.map → chunk-AZHCKPUL.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-6I7RY73G.mjs.map → chunk-CEB76QBE.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-U64FRQKP.mjs.map → chunk-CVIF6DYH.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-XQYF2P6M.mjs.map → chunk-D3ISMGT6.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-OKQ5RBKO.mjs.map → chunk-DC3PU6SO.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-4T3D67CS.mjs.map → chunk-DJKXBCZH.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-E3PJGTLI.mjs.map → chunk-DX4M6LZH.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-IZAHIOFU.mjs.map → chunk-EOW4JGVV.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-U5R6MVM4.mjs.map → chunk-EQRDY5CQ.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-7IGFAI5H.mjs.map → chunk-EW7VMNZA.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-FMCHH5R4.mjs.map → chunk-FSSKCXPL.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-357UOBAS.mjs.map → chunk-FSYQ3LBQ.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-D25SR5FS.mjs.map → chunk-FVSDKOXR.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-XMP4THLF.mjs.map → chunk-J7QRK3FU.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-D57DDEV2.mjs.map → chunk-JE4N575J.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-ZIDEETK4.mjs.map → chunk-JKDBKS7P.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-U5J7OTEB.mjs.map → chunk-K4C5WOTT.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-QUFVUMSY.mjs.map → chunk-KOBAWLZL.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-CX5WREJC.mjs.map → chunk-KY2AWNDR.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-RJVOH7G2.mjs.map → chunk-L24HPIQP.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-PJFFCRRD.mjs.map → chunk-LOVO3P2Q.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-X4NNZ5X6.mjs.map → chunk-M66NDY35.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-55F55BQY.mjs.map → chunk-MUBV2LNK.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-M6S5YA6X.mjs.map → chunk-NHNPQ3ZS.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-STQPRNEO.mjs.map → chunk-NSPN5OQ5.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-XE6ITXHT.mjs.map → chunk-NZ4N7AVG.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-KAGFU64Y.mjs.map → chunk-OGFZB75B.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-EWSCJF77.mjs.map → chunk-OS7BK3FO.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-U6UMATPV.mjs.map → chunk-P3ZW2T37.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-INTTYJVW.mjs.map → chunk-PHCUCHVL.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-JK7K7RG3.mjs.map → chunk-QNJL265P.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-ZGOGO7SS.mjs.map → chunk-QNSUBUZF.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-TXLD7JI5.mjs.map → chunk-QQP7ZGQD.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-PZIAKZJC.mjs.map → chunk-R6MT6F3T.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-P4UPH74B.mjs.map → chunk-RGM4S2BE.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-AGVLPYVE.mjs.map → chunk-SKZC6VTV.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-4D3Q7K44.mjs.map → chunk-SSVRSFTX.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-2Z5KEV6L.mjs.map → chunk-TFBSEYKW.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-K2QZRFLE.mjs.map → chunk-TPLT4PBX.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-5PHAXNFO.mjs.map → chunk-U5LBMAG3.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-46UEGAXY.mjs.map → chunk-V4SOFUJI.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-YFQGSDK3.mjs.map → chunk-VD4QU7KY.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-KX2WU5Z6.mjs.map → chunk-WC6NGMGI.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-H256DQT6.mjs.map → chunk-XOZ5EMNY.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-ZHO2G4JR.mjs.map → chunk-XXJ32F5P.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-VW2ZF3P4.mjs.map → chunk-Y4SFATAM.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-SRYQLFBV.mjs.map → chunk-ZKFH7EMU.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-CKYXAT7H.mjs.map → chunk-ZRG7LDCA.mjs.map} +0 -0
- /package/dist/modules/chunks/{chunk-PW5CE2Y6.mjs.map → chunk-ZW7LLDOL.mjs.map} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
identity_exports as identity_exports9
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FVSDKOXR.mjs";
|
|
4
4
|
import {
|
|
5
5
|
BACKEND_MODULE,
|
|
6
6
|
BACKEND_PLUGIN_ID,
|
|
7
7
|
identity_exports
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SKZC6VTV.mjs";
|
|
9
9
|
import {
|
|
10
10
|
BACKEND_MODULE as BACKEND_MODULE2,
|
|
11
11
|
BACKEND_PLUGIN_ID as BACKEND_PLUGIN_ID2,
|
|
12
12
|
identity_exports as identity_exports2
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OS7BK3FO.mjs";
|
|
14
14
|
import {
|
|
15
15
|
identity_exports as identity_exports7
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-M66NDY35.mjs";
|
|
17
17
|
import {
|
|
18
18
|
identity_exports as identity_exports8
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FSSKCXPL.mjs";
|
|
20
20
|
import {
|
|
21
21
|
identity_exports as identity_exports5
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NSPN5OQ5.mjs";
|
|
23
23
|
import {
|
|
24
24
|
identity_exports as identity_exports6
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-R6MT6F3T.mjs";
|
|
26
26
|
import {
|
|
27
27
|
identity_exports as identity_exports3
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-KOBAWLZL.mjs";
|
|
29
29
|
import {
|
|
30
30
|
identity_exports as identity_exports4
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-AZHCKPUL.mjs";
|
|
32
32
|
import {
|
|
33
33
|
identity_exports as identity_exports10
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-XOZ5EMNY.mjs";
|
|
35
35
|
import {
|
|
36
36
|
PRESENTATION_MODULE,
|
|
37
37
|
PRESENTATION_PLUGIN_ID
|
|
@@ -41,14 +41,14 @@ import {
|
|
|
41
41
|
FRONTEND_PLUGIN_ID,
|
|
42
42
|
PAGE_TYPE,
|
|
43
43
|
identity_exports as identity_exports11
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-A7HXBQUG.mjs";
|
|
45
45
|
import {
|
|
46
46
|
SHELL_MODULE,
|
|
47
47
|
SHELL_PLUGIN_ID
|
|
48
48
|
} from "./chunk-QAXALJEY.mjs";
|
|
49
49
|
|
|
50
50
|
// view-revision:revision
|
|
51
|
-
var revision_default = "
|
|
51
|
+
var revision_default = "f22cccc5b7694100d44cd8f254c5ee6a82560a18160029a3e63563983d3a1387";
|
|
52
52
|
|
|
53
53
|
// packages/viewer/src/catalog-shared.ts
|
|
54
54
|
var VIEW_PLUGIN_VERSION = "0.2.0";
|
|
@@ -94,6 +94,7 @@ function createViewProductPlan({ backendConfig, frontendConfig, disabledPages =
|
|
|
94
94
|
workspaceEngine: backendConfig?.workspaceEngine,
|
|
95
95
|
workspaceAccessToken: backendConfig?.workspaceAccessToken,
|
|
96
96
|
workspaceAuthorize: backendConfig?.workspaceAuthorize,
|
|
97
|
+
packSources: backendConfig?.packSources,
|
|
97
98
|
capabilities: backendConfig?.capabilities
|
|
98
99
|
};
|
|
99
100
|
const backend = [
|
|
@@ -125,4 +126,4 @@ export {
|
|
|
125
126
|
VIEW_PRODUCT_PLUGINS,
|
|
126
127
|
createViewProductPlan
|
|
127
128
|
};
|
|
128
|
-
//# sourceMappingURL=chunk-
|
|
129
|
+
//# sourceMappingURL=chunk-VD3C4DYT.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["view-revision:revision", "../../../packages/viewer/src/catalog-shared.ts"],
|
|
4
|
+
"sourcesContent": ["export default \"f22cccc5b7694100d44cd8f254c5ee6a82560a18160029a3e63563983d3a1387\"", "import type { ViewFrontendConfig } from './config.ts';\nimport type { EngineWorkspaceProvider } from '@forgeax/engine/app';\nimport type { ViewPlatform, CarrierCapabilities } from '@forgeax/view-plugin-display/carrier-contract';\nimport type { ViewWorkspaceBroker } from '@forgeax/view-workspace-core/broker';\nexport type ViewBackendProductConfig = {\n platform?: ViewPlatform; capabilities?: Partial<CarrierCapabilities>; workspaceEngine?: EngineWorkspaceProvider;\n workspaceAccessToken?: string; workspaceAuthorize?: NonNullable<ConstructorParameters<typeof ViewWorkspaceBroker>[0]>['authorize'];\n packSources?: NonNullable<ConstructorParameters<typeof ViewWorkspaceBroker>[0]>['packSources'];\n};\nimport buildRevision from './build-identity.ts';\nimport * as display from '@forgeax/view-plugin-display/identity';\nimport * as plugins from '@forgeax/view-plugin-plugins/identity';\nimport * as inspector from '@forgeax/view-plugin-inspector/identity';\nimport * as contentBrowser from '@forgeax/view-plugin-content-browser/identity';\nimport * as sceneTree from '@forgeax/view-plugin-scene-tree/identity';\nimport * as material from '@forgeax/view-plugin-material/identity';\nimport * as mesh from '@forgeax/view-plugin-mesh/identity';\nimport * as texture from '@forgeax/view-plugin-texture/identity';\nimport * as asset from '@forgeax/view-plugin-asset/identity';\nimport * as viewport from '@forgeax/view-plugin-viewport/identity';\nimport * as scene from '@forgeax/view-plugin-scene/identity';\n\nimport { SHELL_MODULE, SHELL_PLUGIN_ID } from './plugins/shell-identity.ts';\nimport { PRESENTATION_MODULE, PRESENTATION_PLUGIN_ID } from '@forgeax/view-plugin-viewport/presentation-identity';\n\nexport const VIEW_PLUGIN_VERSION = '0.2.0';\nexport const VIEW_FRONTEND_ROOT_PROGRAM = '@forgeax/view/frontend-root';\nexport const VIEW_FRONTEND_MODULE = Object.freeze({ specifier: VIEW_FRONTEND_ROOT_PROGRAM });\n\nexport function viewFrontendRoot(frontendConfig: ViewFrontendConfig | undefined, disabledPages: readonly string[] = []) {\n return Object.freeze({\n program: VIEW_FRONTEND_ROOT_PROGRAM,\n codeRevision: buildRevision,\n config: { frontendConfig, disabledPages },\n });\n}\n\nexport const VIEW_WORKSPACE_CORE = Object.freeze({\n BACKEND_PLUGIN_ID: 'forgeax.view.service.workspace.backend',\n FRONTEND_PLUGIN_ID: 'forgeax.view.service.workspace-client.frontend',\n BACKEND_MODULE: '@forgeax/view-workspace-core/backend',\n FRONTEND_MODULE: '@forgeax/view/workspace-frontend',\n});\n\nexport const VIEW_PRODUCT_PLUGINS = Object.freeze([\n scene,\n display,\n viewport,\n contentBrowser,\n plugins,\n inspector,\n sceneTree,\n material,\n mesh,\n texture,\n asset,\n]);\n\n/** Static native composition. Pack assets own game plugin identity; View owns only its UI policy. */\nexport function createViewProductPlan({ backendConfig, frontendConfig, disabledPages = [] }: { backendConfig?: ViewBackendProductConfig; frontendConfig?: ViewFrontendConfig; disabledPages?: readonly string[] } = {}) {\n const pages = new Set<string>(VIEW_PRODUCT_PLUGINS.map(plugin => plugin.PAGE_TYPE));\n for (const page of disabledPages) {\n if (!pages.has(page)) throw new TypeError(`Unknown View page: ${page}`);\n }\n const disabled = new Set(disabledPages);\n const displayBackendConfig = {\n platform: backendConfig?.platform,\n capabilities: backendConfig?.capabilities,\n };\n const workspaceBackendConfig = {\n workspaceEngine: backendConfig?.workspaceEngine,\n workspaceAccessToken: backendConfig?.workspaceAccessToken,\n workspaceAuthorize: backendConfig?.workspaceAuthorize,\n packSources: backendConfig?.packSources,\n capabilities: backendConfig?.capabilities,\n };\n const backend = [\n { id: VIEW_WORKSPACE_CORE.BACKEND_PLUGIN_ID, module: VIEW_WORKSPACE_CORE.BACKEND_MODULE, config: workspaceBackendConfig },\n { id: display.BACKEND_PLUGIN_ID, module: display.BACKEND_MODULE, config: displayBackendConfig },\n { id: plugins.BACKEND_PLUGIN_ID, module: plugins.BACKEND_MODULE, config: {} },\n ];\n const frontend = [\n { id: SHELL_PLUGIN_ID, module: SHELL_MODULE },\n { id: VIEW_WORKSPACE_CORE.FRONTEND_PLUGIN_ID, module: VIEW_WORKSPACE_CORE.FRONTEND_MODULE },\n ...(!disabled.has(scene.PAGE_TYPE) ? [{ id: scene.FRONTEND_PLUGIN_ID, module: scene.FRONTEND_MODULE }] : []),\n { id: PRESENTATION_PLUGIN_ID, module: PRESENTATION_MODULE },\n ...VIEW_PRODUCT_PLUGINS.filter(plugin => plugin !== scene && !disabled.has(plugin.PAGE_TYPE))\n .map(plugin => ({ id: plugin.FRONTEND_PLUGIN_ID, module: plugin.FRONTEND_MODULE })),\n ];\n return Object.freeze({\n backend: Object.freeze(backend),\n frontend: Object.freeze(frontend),\n frontendConfig,\n disabledPages: Object.freeze([...disabled]),\n });\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAO,mBAAQ;;;ACyBR,IAAM,sBAAsB;AAC5B,IAAM,6BAA6B;AACnC,IAAM,uBAAuB,OAAO,OAAO,EAAE,WAAW,2BAA2B,CAAC;AAEpF,SAAS,iBAAiB,gBAAgD,gBAAmC,CAAC,GAAG;AACtH,SAAO,OAAO,OAAO;AAAA,IACnB,SAAS;AAAA,IACT,cAAc;AAAA,IACd,QAAQ,EAAE,gBAAgB,cAAc;AAAA,EAC1C,CAAC;AACH;AAEO,IAAM,sBAAsB,OAAO,OAAO;AAAA,EAC/C,mBAAmB;AAAA,EACnB,oBAAoB;AAAA,EACpB,gBAAgB;AAAA,EAChB,iBAAiB;AACnB,CAAC;AAEM,IAAM,uBAAuB,OAAO,OAAO;AAAA,EAChDA;AAAA,EACA;AAAA,EACAA;AAAA,EACAA;AAAA,EACAA;AAAA,EACAA;AAAA,EACAA;AAAA,EACAA;AAAA,EACAA;AAAA,EACAA;AAAA,EACAA;AACF,CAAC;AAGM,SAAS,sBAAsB,EAAE,eAAe,gBAAgB,gBAAgB,CAAC,EAAE,IAA0H,CAAC,GAAG;AACtN,QAAM,QAAQ,IAAI,IAAY,qBAAqB,IAAI,YAAU,OAAO,SAAS,CAAC;AAClF,aAAW,QAAQ,eAAe;AAChC,QAAI,CAAC,MAAM,IAAI,IAAI,EAAG,OAAM,IAAI,UAAU,sBAAsB,IAAI,EAAE;AAAA,EACxE;AACA,QAAM,WAAW,IAAI,IAAI,aAAa;AACtC,QAAM,uBAAuB;AAAA,IAC3B,UAAU,eAAe;AAAA,IACzB,cAAc,eAAe;AAAA,EAC/B;AACA,QAAM,yBAAyB;AAAA,IAC7B,iBAAiB,eAAe;AAAA,IAChC,sBAAsB,eAAe;AAAA,IACrC,oBAAoB,eAAe;AAAA,IACnC,aAAa,eAAe;AAAA,IAC5B,cAAc,eAAe;AAAA,EAC/B;AACA,QAAM,UAAU;AAAA,IACd,EAAE,IAAI,oBAAoB,mBAAmB,QAAQ,oBAAoB,gBAAgB,QAAQ,uBAAuB;AAAA,IACxH,EAAE,IAAY,mBAAmB,QAAgB,gBAAgB,QAAQ,qBAAqB;AAAA,IAC9F,EAAE,IAAYC,oBAAmB,QAAgBC,iBAAgB,QAAQ,CAAC,EAAE;AAAA,EAC9E;AACA,QAAM,WAAW;AAAA,IACf,EAAE,IAAI,iBAAiB,QAAQ,aAAa;AAAA,IAC5C,EAAE,IAAI,oBAAoB,oBAAoB,QAAQ,oBAAoB,gBAAgB;AAAA,IAC1F,GAAI,CAAC,SAAS,IAAU,SAAS,IAAI,CAAC,EAAE,IAAU,oBAAoB,QAAc,gBAAgB,CAAC,IAAI,CAAC;AAAA,IAC1G,EAAE,IAAI,wBAAwB,QAAQ,oBAAoB;AAAA,IAC1D,GAAG,qBAAqB,OAAO,YAAU,WAAWF,sBAAS,CAAC,SAAS,IAAI,OAAO,SAAS,CAAC,EACzF,IAAI,aAAW,EAAE,IAAI,OAAO,oBAAoB,QAAQ,OAAO,gBAAgB,EAAE;AAAA,EACtF;AACA,SAAO,OAAO,OAAO;AAAA,IACnB,SAAS,OAAO,OAAO,OAAO;AAAA,IAC9B,UAAU,OAAO,OAAO,QAAQ;AAAA,IAChC;AAAA,IACA,eAAe,OAAO,OAAO,CAAC,GAAG,QAAQ,CAAC;AAAA,EAC5C,CAAC;AACH;",
|
|
6
|
+
"names": ["identity_exports", "BACKEND_PLUGIN_ID", "BACKEND_MODULE"]
|
|
7
|
+
}
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
PANEL_LAYOUT,
|
|
6
6
|
SLOT,
|
|
7
7
|
TITLE_I18N_KEY
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NSPN5OQ5.mjs";
|
|
9
9
|
|
|
10
10
|
// packages/view-plugin-scene-tree/src/frontend.ts
|
|
11
11
|
var VIEW_SCENE_TREE_FRONTEND_PLUGIN_ID = FRONTEND_PLUGIN_ID;
|
|
@@ -39,4 +39,4 @@ export {
|
|
|
39
39
|
viewSceneTreeFrontendPlugin,
|
|
40
40
|
frontend_default
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=chunk-
|
|
42
|
+
//# sourceMappingURL=chunk-VD4QU7KY.mjs.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
dedicatedPreviewPresentation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-25PFC2DY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
liveEnginePresentation
|
|
6
6
|
} from "./chunk-IM3H4F4X.mjs";
|
|
7
7
|
import {
|
|
8
8
|
logResourceOpen
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JKDBKS7P.mjs";
|
|
10
10
|
|
|
11
11
|
// packages/view-workspace-core/src/resource-page.ts
|
|
12
12
|
var RESOURCE_PREVIEW_LAYOUT = Object.freeze({
|
|
@@ -126,4 +126,4 @@ export {
|
|
|
126
126
|
createResourcePanelClaims,
|
|
127
127
|
applyResourcePagePlugin
|
|
128
128
|
};
|
|
129
|
-
//# sourceMappingURL=chunk-
|
|
129
|
+
//# sourceMappingURL=chunk-WC6NGMGI.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VIEW_PAGE_TYPES
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QYJZ3SOV.mjs";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
6
|
} from "./chunk-FLGC65SR.mjs";
|
|
@@ -47,4 +47,4 @@ export {
|
|
|
47
47
|
VIEWPORT_TARGET_ROLE,
|
|
48
48
|
identity_exports
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=chunk-
|
|
50
|
+
//# sourceMappingURL=chunk-XOZ5EMNY.mjs.map
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
FRONTEND_MODULE,
|
|
3
3
|
FRONTEND_PLUGIN_ID,
|
|
4
4
|
identity_exports
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-R6MT6F3T.mjs";
|
|
6
6
|
import {
|
|
7
7
|
applyResourcePagePlugin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WC6NGMGI.mjs";
|
|
9
9
|
|
|
10
10
|
// packages/view-plugin-material/src/frontend.ts
|
|
11
11
|
var VIEW_MATERIAL_FRONTEND_PLUGIN_ID = FRONTEND_PLUGIN_ID;
|
|
@@ -29,4 +29,4 @@ export {
|
|
|
29
29
|
viewMaterialFrontendPlugin,
|
|
30
30
|
frontend_default
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=chunk-
|
|
32
|
+
//# sourceMappingURL=chunk-XXJ32F5P.mjs.map
|
|
@@ -14,20 +14,20 @@ import {
|
|
|
14
14
|
} from "./chunk-ZYTHV373.mjs";
|
|
15
15
|
import {
|
|
16
16
|
RESOURCE_KINDS
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-FSSKCXPL.mjs";
|
|
18
18
|
import {
|
|
19
19
|
bindWorkspacePreviewSurface
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-25PFC2DY.mjs";
|
|
21
21
|
import {
|
|
22
22
|
selectWorkspaceResourcePreview,
|
|
23
23
|
selectWorkspaceResourceSubject
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-JKDBKS7P.mjs";
|
|
25
25
|
import {
|
|
26
26
|
createWorkspaceStateReader
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-QQP7ZGQD.mjs";
|
|
28
28
|
import {
|
|
29
29
|
VIEW_WORKSPACE_TAB_ID
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-QYJZ3SOV.mjs";
|
|
31
31
|
|
|
32
32
|
// packages/view-plugin-texture/src/ui/mount.tsx
|
|
33
33
|
import { createRoot } from "react-dom/client";
|
|
@@ -232,4 +232,4 @@ export {
|
|
|
232
232
|
mountTexturePreviewPanel,
|
|
233
233
|
mountTexturePropertiesPanel
|
|
234
234
|
};
|
|
235
|
-
//# sourceMappingURL=chunk-
|
|
235
|
+
//# sourceMappingURL=chunk-Y4SFATAM.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VIEW_WORKSPACE_CORE_OPERATION_DESCRIPTIONS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BJTFQQQR.mjs";
|
|
4
4
|
|
|
5
5
|
// packages/view-workspace-core/src/cli.ts
|
|
6
6
|
var workspaceCoreCliContributions = Object.freeze(
|
|
@@ -15,4 +15,4 @@ var workspaceCoreCliContributions = Object.freeze(
|
|
|
15
15
|
export {
|
|
16
16
|
workspaceCoreCliContributions
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=chunk-
|
|
18
|
+
//# sourceMappingURL=chunk-ZKFH7EMU.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createWorkspaceStateReader
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QQP7ZGQD.mjs";
|
|
4
4
|
|
|
5
5
|
// packages/view-workspace-core/src/page-title.ts
|
|
6
6
|
function editorPageTitleFromWorkspace(state) {
|
|
@@ -30,4 +30,4 @@ export {
|
|
|
30
30
|
editorPageTitleFromWorkspace,
|
|
31
31
|
createEditorPageTitleController
|
|
32
32
|
};
|
|
33
|
-
//# sourceMappingURL=chunk-
|
|
33
|
+
//# sourceMappingURL=chunk-ZRG7LDCA.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PluginsPanel
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-U5LBMAG3.mjs";
|
|
4
4
|
import {
|
|
5
5
|
OverlayRootProvider
|
|
6
6
|
} from "./chunk-CXOD7FW6.mjs";
|
|
@@ -39,4 +39,4 @@ async function mountPluginsPanel(props) {
|
|
|
39
39
|
export {
|
|
40
40
|
mountPluginsPanel
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=chunk-
|
|
42
|
+
//# sourceMappingURL=chunk-ZW7LLDOL.mjs.map
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createViewCliContributions,
|
|
3
3
|
createViewHostCliContributions
|
|
4
|
-
} from "./chunks/chunk-
|
|
5
|
-
import "./chunks/chunk-
|
|
6
|
-
import "./chunks/chunk-
|
|
4
|
+
} from "./chunks/chunk-CEB76QBE.mjs";
|
|
5
|
+
import "./chunks/chunk-ZKFH7EMU.mjs";
|
|
6
|
+
import "./chunks/chunk-BJTFQQQR.mjs";
|
|
7
7
|
import {
|
|
8
8
|
VIEW_CLI_CONTRIBUTION_ID
|
|
9
|
-
} from "./chunks/chunk-
|
|
10
|
-
import "./chunks/chunk-
|
|
9
|
+
} from "./chunks/chunk-JE4N575J.mjs";
|
|
10
|
+
import "./chunks/chunk-5WVRCLHN.mjs";
|
|
11
11
|
import "./chunks/chunk-UMKHEGRE.mjs";
|
|
12
12
|
import "./chunks/chunk-KGA5CEJD.mjs";
|
|
13
13
|
import "./chunks/chunk-TNYITXOZ.mjs";
|
|
14
14
|
import "./chunks/chunk-VGCFVNFW.mjs";
|
|
15
15
|
import "./chunks/chunk-OVJ3UJJB.mjs";
|
|
16
|
-
import "./chunks/chunk-
|
|
17
|
-
import "./chunks/chunk-
|
|
16
|
+
import "./chunks/chunk-NZ4N7AVG.mjs";
|
|
17
|
+
import "./chunks/chunk-MUBV2LNK.mjs";
|
|
18
18
|
import "./chunks/chunk-YCMZAYBM.mjs";
|
|
19
|
-
import "./chunks/chunk-
|
|
20
|
-
import "./chunks/chunk-
|
|
21
|
-
import "./chunks/chunk-
|
|
22
|
-
import "./chunks/chunk-
|
|
23
|
-
import "./chunks/chunk-
|
|
24
|
-
import "./chunks/chunk-
|
|
25
|
-
import "./chunks/chunk-
|
|
19
|
+
import "./chunks/chunk-SSVRSFTX.mjs";
|
|
20
|
+
import "./chunks/chunk-EW7VMNZA.mjs";
|
|
21
|
+
import "./chunks/chunk-DC3PU6SO.mjs";
|
|
22
|
+
import "./chunks/chunk-M7XSCLYV.mjs";
|
|
23
|
+
import "./chunks/chunk-OS7BK3FO.mjs";
|
|
24
|
+
import "./chunks/chunk-EQRDY5CQ.mjs";
|
|
25
|
+
import "./chunks/chunk-QYJZ3SOV.mjs";
|
|
26
26
|
import "./chunks/chunk-4XEXLHX4.mjs";
|
|
27
27
|
import "./chunks/chunk-FLGC65SR.mjs";
|
|
28
28
|
export {
|
package/dist/modules/cli.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
runViewWorkspaceCli
|
|
4
|
-
} from "./chunks/chunk-
|
|
5
|
-
import "./chunks/chunk-
|
|
6
|
-
import "./chunks/chunk-
|
|
7
|
-
import "./chunks/chunk-
|
|
8
|
-
import "./chunks/chunk-
|
|
4
|
+
} from "./chunks/chunk-QNJL265P.mjs";
|
|
5
|
+
import "./chunks/chunk-K4C5WOTT.mjs";
|
|
6
|
+
import "./chunks/chunk-4RTL3LS3.mjs";
|
|
7
|
+
import "./chunks/chunk-EQRDY5CQ.mjs";
|
|
8
|
+
import "./chunks/chunk-QYJZ3SOV.mjs";
|
|
9
9
|
import "./chunks/chunk-4XEXLHX4.mjs";
|
|
10
10
|
import "./chunks/chunk-FLGC65SR.mjs";
|
|
11
11
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runViewProjectOpen
|
|
3
|
-
} from "./chunks/chunk-
|
|
3
|
+
} from "./chunks/chunk-NZ4N7AVG.mjs";
|
|
4
4
|
import {
|
|
5
5
|
runViewStartInteractive,
|
|
6
6
|
runViewStatus,
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
} from "./chunks/chunk-YCMZAYBM.mjs";
|
|
9
9
|
import {
|
|
10
10
|
workspaceDiagnosticRecord
|
|
11
|
-
} from "./chunks/chunk-
|
|
12
|
-
import "./chunks/chunk-
|
|
11
|
+
} from "./chunks/chunk-EQRDY5CQ.mjs";
|
|
12
|
+
import "./chunks/chunk-QYJZ3SOV.mjs";
|
|
13
13
|
import "./chunks/chunk-4XEXLHX4.mjs";
|
|
14
14
|
import "./chunks/chunk-FLGC65SR.mjs";
|
|
15
15
|
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mountAssetPropertiesPanel
|
|
3
|
-
} from "./chunks/chunk-
|
|
3
|
+
} from "./chunks/chunk-TFBSEYKW.mjs";
|
|
4
4
|
import {
|
|
5
5
|
mountTexturePreviewPanel,
|
|
6
6
|
mountTexturePropertiesPanel
|
|
7
|
-
} from "./chunks/chunk-
|
|
7
|
+
} from "./chunks/chunk-Y4SFATAM.mjs";
|
|
8
8
|
import "./chunks/chunk-LJWOHJ5J.mjs";
|
|
9
9
|
import "./chunks/chunk-R6BDHFU3.mjs";
|
|
10
10
|
import {
|
|
11
11
|
mountMaterialPanel,
|
|
12
12
|
mountMaterialPreviewPanel,
|
|
13
13
|
mountMaterialPropertiesPanel
|
|
14
|
-
} from "./chunks/chunk-
|
|
14
|
+
} from "./chunks/chunk-EOW4JGVV.mjs";
|
|
15
15
|
import {
|
|
16
16
|
mountMeshPreviewPanel,
|
|
17
17
|
mountMeshPropertiesPanel
|
|
18
|
-
} from "./chunks/chunk-
|
|
18
|
+
} from "./chunks/chunk-V4SOFUJI.mjs";
|
|
19
19
|
import "./chunks/chunk-KZUXFEY4.mjs";
|
|
20
20
|
import {
|
|
21
21
|
mountSceneTreePanel
|
|
22
|
-
} from "./chunks/chunk-
|
|
22
|
+
} from "./chunks/chunk-A22PJUZM.mjs";
|
|
23
23
|
import "./chunks/chunk-NLPIM3SO.mjs";
|
|
24
24
|
import "./chunks/chunk-LPWEUDT5.mjs";
|
|
25
25
|
import "./chunks/chunk-DVMSDYK7.mjs";
|
|
26
26
|
import {
|
|
27
27
|
mountPluginsPanel
|
|
28
|
-
} from "./chunks/chunk-
|
|
29
|
-
import "./chunks/chunk-
|
|
28
|
+
} from "./chunks/chunk-ZW7LLDOL.mjs";
|
|
29
|
+
import "./chunks/chunk-U5LBMAG3.mjs";
|
|
30
30
|
import {
|
|
31
31
|
mountInspectorPanel
|
|
32
|
-
} from "./chunks/chunk-
|
|
32
|
+
} from "./chunks/chunk-5HJ336VM.mjs";
|
|
33
33
|
import "./chunks/chunk-YHX6NYXX.mjs";
|
|
34
34
|
import "./chunks/chunk-C7KUVPDA.mjs";
|
|
35
35
|
import {
|
|
36
36
|
mountContentBrowserPanel
|
|
37
|
-
} from "./chunks/chunk-
|
|
37
|
+
} from "./chunks/chunk-CRPXFJ6K.mjs";
|
|
38
38
|
import "./chunks/chunk-B65OFRMW.mjs";
|
|
39
39
|
import {
|
|
40
40
|
Button,
|
|
@@ -61,7 +61,7 @@ import "./chunks/chunk-GRSJED6K.mjs";
|
|
|
61
61
|
import "./chunks/chunk-ZYTHV373.mjs";
|
|
62
62
|
import {
|
|
63
63
|
createViewPanelHost
|
|
64
|
-
} from "./chunks/chunk-
|
|
64
|
+
} from "./chunks/chunk-P2Y73QJJ.mjs";
|
|
65
65
|
import "./chunks/chunk-UMKHEGRE.mjs";
|
|
66
66
|
import "./chunks/chunk-KGA5CEJD.mjs";
|
|
67
67
|
import "./chunks/chunk-TNYITXOZ.mjs";
|
|
@@ -79,62 +79,62 @@ import {
|
|
|
79
79
|
resolvePageTypeTitle,
|
|
80
80
|
resolveResourcePageType,
|
|
81
81
|
subscribePageTypeTitles
|
|
82
|
-
} from "./chunks/chunk-
|
|
82
|
+
} from "./chunks/chunk-5N5FDO5Y.mjs";
|
|
83
83
|
import {
|
|
84
84
|
createViewSlotRegistry
|
|
85
85
|
} from "./chunks/chunk-GQOXQ4AV.mjs";
|
|
86
|
-
import "./chunks/chunk-
|
|
87
|
-
import "./chunks/chunk-
|
|
88
|
-
import "./chunks/chunk-
|
|
86
|
+
import "./chunks/chunk-PHCUCHVL.mjs";
|
|
87
|
+
import "./chunks/chunk-M66NDY35.mjs";
|
|
88
|
+
import "./chunks/chunk-FSSKCXPL.mjs";
|
|
89
89
|
import {
|
|
90
90
|
PANEL_LAYOUT as PANEL_LAYOUT3
|
|
91
|
-
} from "./chunks/chunk-
|
|
92
|
-
import "./chunks/chunk-
|
|
91
|
+
} from "./chunks/chunk-NSPN5OQ5.mjs";
|
|
92
|
+
import "./chunks/chunk-R6MT6F3T.mjs";
|
|
93
93
|
import {
|
|
94
94
|
PANEL_LAYOUT
|
|
95
|
-
} from "./chunks/chunk-
|
|
95
|
+
} from "./chunks/chunk-KOBAWLZL.mjs";
|
|
96
96
|
import {
|
|
97
97
|
PANEL_LAYOUT as PANEL_LAYOUT2
|
|
98
|
-
} from "./chunks/chunk-
|
|
99
|
-
import "./chunks/chunk-
|
|
100
|
-
import "./chunks/chunk-
|
|
101
|
-
import "./chunks/chunk-
|
|
98
|
+
} from "./chunks/chunk-AZHCKPUL.mjs";
|
|
99
|
+
import "./chunks/chunk-WC6NGMGI.mjs";
|
|
100
|
+
import "./chunks/chunk-25PFC2DY.mjs";
|
|
101
|
+
import "./chunks/chunk-LOVO3P2Q.mjs";
|
|
102
102
|
import "./chunks/chunk-IM3H4F4X.mjs";
|
|
103
103
|
import {
|
|
104
104
|
adoptRemoteWorkspaceProject,
|
|
105
105
|
navigateToWorkspaceProjectTarget,
|
|
106
106
|
reopenWorkspaceProject,
|
|
107
107
|
shouldOfferWorkspaceRecovery
|
|
108
|
-
} from "./chunks/chunk-
|
|
108
|
+
} from "./chunks/chunk-TPLT4PBX.mjs";
|
|
109
109
|
import {
|
|
110
110
|
PANEL_LAYOUT as PANEL_LAYOUT4
|
|
111
|
-
} from "./chunks/chunk-
|
|
111
|
+
} from "./chunks/chunk-XOZ5EMNY.mjs";
|
|
112
112
|
import "./chunks/chunk-QW3ZY2AD.mjs";
|
|
113
113
|
import {
|
|
114
114
|
restoreProjectPreferences
|
|
115
|
-
} from "./chunks/chunk-
|
|
115
|
+
} from "./chunks/chunk-QNUBIFAY.mjs";
|
|
116
116
|
import {
|
|
117
117
|
logResourceOpen,
|
|
118
118
|
summarizeResourceAsset
|
|
119
|
-
} from "./chunks/chunk-
|
|
119
|
+
} from "./chunks/chunk-JKDBKS7P.mjs";
|
|
120
120
|
import {
|
|
121
121
|
downloadViewTraceTxtFile,
|
|
122
122
|
enableViewTrace
|
|
123
|
-
} from "./chunks/chunk-
|
|
123
|
+
} from "./chunks/chunk-OGFZB75B.mjs";
|
|
124
124
|
import {
|
|
125
125
|
formatWorkspaceCommandError,
|
|
126
126
|
reportWorkspaceCommandError,
|
|
127
127
|
subscribeWorkspaceCommandErrors
|
|
128
|
-
} from "./chunks/chunk-
|
|
128
|
+
} from "./chunks/chunk-EQRDY5CQ.mjs";
|
|
129
129
|
import {
|
|
130
130
|
createWorkspaceStateReader
|
|
131
|
-
} from "./chunks/chunk-
|
|
131
|
+
} from "./chunks/chunk-QQP7ZGQD.mjs";
|
|
132
132
|
import {
|
|
133
133
|
VIEW_DISPLAY_TAB_ID,
|
|
134
134
|
VIEW_PAGE_TYPES,
|
|
135
135
|
VIEW_WORKSPACE_TAB_ID,
|
|
136
136
|
workspaceError
|
|
137
|
-
} from "./chunks/chunk-
|
|
137
|
+
} from "./chunks/chunk-QYJZ3SOV.mjs";
|
|
138
138
|
import "./chunks/chunk-4XEXLHX4.mjs";
|
|
139
139
|
import {
|
|
140
140
|
__export
|
|
@@ -18157,6 +18157,13 @@ function installEdgeDrawer(api, root) {
|
|
|
18157
18157
|
return {
|
|
18158
18158
|
close,
|
|
18159
18159
|
forceClose,
|
|
18160
|
+
revealPanel(panelId2) {
|
|
18161
|
+
const panel = api.getPanel(panelId2);
|
|
18162
|
+
if (!panel || panel.api.location.type !== "edge") return false;
|
|
18163
|
+
panel.api.setActive();
|
|
18164
|
+
open(panel.group);
|
|
18165
|
+
return true;
|
|
18166
|
+
},
|
|
18160
18167
|
suspendForPage,
|
|
18161
18168
|
resumePinned,
|
|
18162
18169
|
togglePinForPanel,
|
|
@@ -19793,7 +19800,7 @@ function useWorkspaceRecovery(client, { adoptRemote = false } = {}) {
|
|
|
19793
19800
|
const busy = client?.projectSession ? sessionState.busy : localBusy;
|
|
19794
19801
|
const error = client?.projectSession ? sessionState.error : localError;
|
|
19795
19802
|
const [staleTarget, setStaleTarget] = useState3(false);
|
|
19796
|
-
const [projectRoot, setProjectRoot] = useState3("");
|
|
19803
|
+
const [projectRoot, setProjectRoot] = useState3(() => globalThis.location ? new URL(globalThis.location.href).searchParams.get("project") ?? "" : "");
|
|
19797
19804
|
useEffect3(() => () => reader.dispose(), [reader]);
|
|
19798
19805
|
useEffect3(() => {
|
|
19799
19806
|
if (!adoptRemote || client?.projectSession) return;
|
|
@@ -19874,7 +19881,7 @@ function WorkspaceProjectRecovery({ client, required }) {
|
|
|
19874
19881
|
const inputRef = useRef2(null);
|
|
19875
19882
|
const pathId = useId();
|
|
19876
19883
|
const descriptionId = useId();
|
|
19877
|
-
if (!required || restoring && busy && !error || snapshot.project?.root && (!error || !visible) || !client.openProject) return null;
|
|
19884
|
+
if (!required && !error || restoring && busy && !error || snapshot.project?.root && (!error || !visible) || !client.openProject) return null;
|
|
19878
19885
|
return /* @__PURE__ */ jsx5(
|
|
19879
19886
|
Dialog,
|
|
19880
19887
|
{
|
|
@@ -20026,7 +20033,7 @@ function pageIdFor(pageType) {
|
|
|
20026
20033
|
function useViewPages(pageTypes, titleFor) {
|
|
20027
20034
|
const [pages, setPages] = useState4([]);
|
|
20028
20035
|
const [activePageId, setActivePageId] = useState4(null);
|
|
20029
|
-
const
|
|
20036
|
+
const userSelectedPage = useRef4(false);
|
|
20030
20037
|
const typesById = useMemo3(
|
|
20031
20038
|
() => new Map(pageTypes.map((pageType) => [pageType.typeId, pageType])),
|
|
20032
20039
|
[pageTypes]
|
|
@@ -20056,20 +20063,24 @@ function useViewPages(pageTypes, titleFor) {
|
|
|
20056
20063
|
});
|
|
20057
20064
|
}, [pageTypes, titleFor, typesById]);
|
|
20058
20065
|
useEffect5(() => {
|
|
20059
|
-
|
|
20060
|
-
|
|
20061
|
-
|
|
20062
|
-
|
|
20066
|
+
if (!userSelectedPage.current) {
|
|
20067
|
+
const firstInitial = pageTypes.find((type) => type.initial && pages.some((page) => page.typeId === type.typeId));
|
|
20068
|
+
if (firstInitial) {
|
|
20069
|
+
const preferredId = pages.find((page) => page.typeId === firstInitial.typeId).id;
|
|
20070
|
+
if (preferredId !== activePageId) setActivePageId(preferredId);
|
|
20071
|
+
return;
|
|
20072
|
+
}
|
|
20063
20073
|
}
|
|
20064
20074
|
if (pages.some((page) => page.id === activePageId)) return;
|
|
20065
20075
|
setActivePageId(pages[0]?.id ?? null);
|
|
20066
|
-
}, [activePageId, pages]);
|
|
20076
|
+
}, [activePageId, pages, pageTypes]);
|
|
20067
20077
|
const selectPage = useCallback4((pageId) => {
|
|
20068
|
-
|
|
20078
|
+
userSelectedPage.current = true;
|
|
20069
20079
|
setActivePageId(pageId);
|
|
20070
20080
|
}, []);
|
|
20071
20081
|
const closePage = useCallback4(
|
|
20072
20082
|
(pageId) => {
|
|
20083
|
+
userSelectedPage.current = true;
|
|
20073
20084
|
setPages((current) => {
|
|
20074
20085
|
const next = current.filter((page) => page.id !== pageId);
|
|
20075
20086
|
if (activePageId === pageId) {
|
|
@@ -20083,7 +20094,7 @@ function useViewPages(pageTypes, titleFor) {
|
|
|
20083
20094
|
[activePageId]
|
|
20084
20095
|
);
|
|
20085
20096
|
const closeOthers = useCallback4((pageId) => {
|
|
20086
|
-
|
|
20097
|
+
userSelectedPage.current = true;
|
|
20087
20098
|
setPages((current) => current.filter((page) => page.id === pageId || page.closable === false));
|
|
20088
20099
|
setActivePageId(pageId);
|
|
20089
20100
|
}, []);
|
|
@@ -20115,17 +20126,17 @@ function useViewPages(pageTypes, titleFor) {
|
|
|
20115
20126
|
singleton: pageType?.singleton === true
|
|
20116
20127
|
}, { level: plan.action === "none" ? "warn" : "info" });
|
|
20117
20128
|
if (plan.action === "focus") {
|
|
20118
|
-
|
|
20129
|
+
userSelectedPage.current = true;
|
|
20119
20130
|
setActivePageId(plan.pageId);
|
|
20120
20131
|
return;
|
|
20121
20132
|
}
|
|
20122
20133
|
if (plan.action !== "open" || !pageType) return;
|
|
20134
|
+
userSelectedPage.current = true;
|
|
20123
20135
|
const id = plan.pageId ?? pageIdFor(pageType);
|
|
20124
20136
|
setPages((current) => [
|
|
20125
20137
|
...current,
|
|
20126
20138
|
{ id, title: titleFor(pageType), typeId, closable: pageType.closable }
|
|
20127
20139
|
]);
|
|
20128
|
-
explicitlySelected.current = true;
|
|
20129
20140
|
setActivePageId(id);
|
|
20130
20141
|
}, [pages, titleFor, typesById]);
|
|
20131
20142
|
const activePage = useMemo3(
|
|
@@ -20281,7 +20292,8 @@ function DockPageWorkbench({
|
|
|
20281
20292
|
active,
|
|
20282
20293
|
layoutHostId,
|
|
20283
20294
|
hideWhenInactive,
|
|
20284
|
-
responsiveAutoTuck
|
|
20295
|
+
responsiveAutoTuck,
|
|
20296
|
+
registerPanelRevealer
|
|
20285
20297
|
}) {
|
|
20286
20298
|
const { t: t2 } = useTranslation();
|
|
20287
20299
|
const apiRef = useRef4(null);
|
|
@@ -20296,6 +20308,13 @@ function DockPageWorkbench({
|
|
|
20296
20308
|
const pinScopeRef = useRef4(null);
|
|
20297
20309
|
pinScopeRef.current = edgePinScope;
|
|
20298
20310
|
const [layoutReady, setLayoutReady] = useState4(false);
|
|
20311
|
+
useEffect5(() => registerPanelRevealer?.(pageTypeId, (slot) => {
|
|
20312
|
+
const panel = apiRef.current?.getPanel(slot);
|
|
20313
|
+
if (!panel) return false;
|
|
20314
|
+
panel.api.setActive();
|
|
20315
|
+
if (panel.api.location.type === "edge") edgeDrawerRef.current?.revealPanel(slot);
|
|
20316
|
+
return true;
|
|
20317
|
+
}), [pageTypeId, registerPanelRevealer]);
|
|
20299
20318
|
const [dockReadyRevision, setDockReadyRevision] = useState4(0);
|
|
20300
20319
|
const [presentationReady, setPresentationReady] = useState4(0);
|
|
20301
20320
|
const [dockExtent, setDockExtent] = useState4({ width: 0, height: 0 });
|
|
@@ -20499,6 +20518,7 @@ function ViewerShell({
|
|
|
20499
20518
|
slotRegistry,
|
|
20500
20519
|
pageRegistry,
|
|
20501
20520
|
pageHost,
|
|
20521
|
+
panelHost,
|
|
20502
20522
|
hostConnection = { phase: "connected" },
|
|
20503
20523
|
workspaceClient,
|
|
20504
20524
|
selectedPageType,
|
|
@@ -20544,6 +20564,24 @@ function ViewerShell({
|
|
|
20544
20564
|
} = useViewPages(pageTypes, titleForPageType);
|
|
20545
20565
|
const openPageRef = useRef4(openPage);
|
|
20546
20566
|
openPageRef.current = openPage;
|
|
20567
|
+
const panelRevealers = useRef4(/* @__PURE__ */ new Map());
|
|
20568
|
+
const registerPanelRevealer = useCallback4((pageType, reveal) => {
|
|
20569
|
+
panelRevealers.current.set(pageType, reveal);
|
|
20570
|
+
return () => {
|
|
20571
|
+
if (panelRevealers.current.get(pageType) === reveal) panelRevealers.current.delete(pageType);
|
|
20572
|
+
};
|
|
20573
|
+
}, []);
|
|
20574
|
+
useEffect5(() => panelHost?.setRevealer(async (slot) => {
|
|
20575
|
+
const claim = claims.find((item) => item.id === slot);
|
|
20576
|
+
if (!claim) return false;
|
|
20577
|
+
openPageRef.current(claim.pageType);
|
|
20578
|
+
onSelectPageType?.(claim.pageType);
|
|
20579
|
+
for (let attempt = 0; attempt < 80; attempt++) {
|
|
20580
|
+
if (panelRevealers.current.get(claim.pageType)?.(slot)) return true;
|
|
20581
|
+
await new Promise((resolve) => setTimeout(resolve, 100));
|
|
20582
|
+
}
|
|
20583
|
+
return false;
|
|
20584
|
+
}), [claims, onSelectPageType, panelHost]);
|
|
20547
20585
|
const pageTypesRef = useRef4(pageTypes);
|
|
20548
20586
|
pageTypesRef.current = pageTypes;
|
|
20549
20587
|
const handledOpenRequest = useRef4(null);
|
|
@@ -20730,6 +20768,7 @@ function ViewerShell({
|
|
|
20730
20768
|
{
|
|
20731
20769
|
pageId: page.id,
|
|
20732
20770
|
pageTypeId: page.typeId,
|
|
20771
|
+
registerPanelRevealer,
|
|
20733
20772
|
claims: claimsForPage(claims, page.typeId),
|
|
20734
20773
|
slotRegistry,
|
|
20735
20774
|
titleForClaim,
|
|
@@ -21016,6 +21055,7 @@ var embeddedShell = {
|
|
|
21016
21055
|
slotRegistry: registry,
|
|
21017
21056
|
pageRegistry,
|
|
21018
21057
|
pageHost,
|
|
21058
|
+
panelHost,
|
|
21019
21059
|
responsiveAutoTuck: config.layout?.responsiveAutoTuck,
|
|
21020
21060
|
hostConnection,
|
|
21021
21061
|
workspaceClient: client,
|