@dxos/plugin-deck 0.8.3 → 0.8.4-main.03d5cd7b56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/neutral/DeckLayout-6SICSSUF.mjs +278 -0
- package/dist/lib/neutral/DeckLayout-6SICSSUF.mjs.map +7 -0
- package/dist/lib/neutral/DeckPlugin.mjs +70 -0
- package/dist/lib/neutral/DeckPlugin.mjs.map +7 -0
- package/dist/lib/neutral/DeckPlugin.node.mjs +18 -0
- package/dist/lib/neutral/DeckPlugin.node.mjs.map +7 -0
- package/dist/lib/neutral/DeckSettings-W5I57OXM.mjs +27 -0
- package/dist/lib/neutral/DeckSettings-W5I57OXM.mjs.map +7 -0
- package/dist/lib/neutral/add-toast-2OMTFZ2L.mjs +24 -0
- package/dist/lib/neutral/add-toast-2OMTFZ2L.mjs.map +7 -0
- package/dist/lib/neutral/adjust-RXTF3IT3.mjs +93 -0
- package/dist/lib/neutral/adjust-RXTF3IT3.mjs.map +7 -0
- package/dist/lib/neutral/app-graph-builder-GZYYAN5B.mjs +129 -0
- package/dist/lib/neutral/app-graph-builder-GZYYAN5B.mjs.map +7 -0
- package/dist/lib/neutral/capabilities/index.mjs +23 -0
- package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
- package/dist/lib/neutral/check-app-scheme-A7FZVNZO.mjs +10 -0
- package/dist/lib/neutral/chunk-4MYX2NT3.mjs +1335 -0
- package/dist/lib/neutral/chunk-4MYX2NT3.mjs.map +7 -0
- package/dist/lib/neutral/chunk-64ODQD6S.mjs +282 -0
- package/dist/lib/neutral/chunk-64ODQD6S.mjs.map +7 -0
- package/dist/lib/neutral/chunk-GBIGQKYW.mjs +112 -0
- package/dist/lib/neutral/chunk-GBIGQKYW.mjs.map +7 -0
- package/dist/lib/neutral/chunk-GLB73Q6U.mjs +22 -0
- package/dist/lib/neutral/chunk-GLB73Q6U.mjs.map +7 -0
- package/dist/lib/neutral/chunk-J5LGTIGS.mjs +10 -0
- package/dist/lib/neutral/chunk-JMYWDX4I.mjs +19 -0
- package/dist/lib/neutral/chunk-JMYWDX4I.mjs.map +7 -0
- package/dist/lib/neutral/chunk-KX4QRGG5.mjs +8 -0
- package/dist/lib/neutral/chunk-KX4QRGG5.mjs.map +7 -0
- package/dist/lib/neutral/chunk-VHETZ22W.mjs +101 -0
- package/dist/lib/neutral/chunk-VHETZ22W.mjs.map +7 -0
- package/dist/lib/neutral/chunk-ZYYOSX5I.mjs +69 -0
- package/dist/lib/neutral/chunk-ZYYOSX5I.mjs.map +7 -0
- package/dist/lib/neutral/close-DG5IVQCE.mjs +44 -0
- package/dist/lib/neutral/close-DG5IVQCE.mjs.map +7 -0
- package/dist/lib/neutral/components/index.mjs +126 -0
- package/dist/lib/neutral/components/index.mjs.map +7 -0
- package/dist/lib/neutral/containers/index.mjs +32 -0
- package/dist/lib/neutral/containers/index.mjs.map +7 -0
- package/dist/lib/neutral/hooks/index.mjs +178 -0
- package/dist/lib/neutral/hooks/index.mjs.map +7 -0
- package/dist/lib/neutral/index.mjs +38 -0
- package/dist/lib/neutral/index.mjs.map +7 -0
- package/dist/lib/neutral/meta.json +1 -0
- package/dist/lib/neutral/meta.mjs +8 -0
- package/dist/lib/neutral/meta.mjs.map +7 -0
- package/dist/lib/neutral/open-BGH4LFTC.mjs +147 -0
- package/dist/lib/neutral/open-BGH4LFTC.mjs.map +7 -0
- package/dist/lib/neutral/operation-handler-266CVMTW.mjs +13 -0
- package/dist/lib/neutral/operation-handler-266CVMTW.mjs.map +7 -0
- package/dist/lib/neutral/operations/index.mjs +8 -0
- package/dist/lib/neutral/operations/index.mjs.map +7 -0
- package/dist/lib/neutral/plugin.mjs +16 -0
- package/dist/lib/neutral/plugin.mjs.map +7 -0
- package/dist/lib/neutral/react-root-WZ6KH27J.mjs +41 -0
- package/dist/lib/neutral/react-root-WZ6KH27J.mjs.map +7 -0
- package/dist/lib/neutral/react-surface-KAAZDHV3.mjs +34 -0
- package/dist/lib/neutral/react-surface-KAAZDHV3.mjs.map +7 -0
- package/dist/lib/neutral/revert-workspace-V6D7W6CL.mjs +21 -0
- package/dist/lib/neutral/revert-workspace-V6D7W6CL.mjs.map +7 -0
- package/dist/lib/neutral/scroll-into-view-UM446Q2T.mjs +21 -0
- package/dist/lib/neutral/scroll-into-view-UM446Q2T.mjs.map +7 -0
- package/dist/lib/neutral/set-JFFKT32S.mjs +37 -0
- package/dist/lib/neutral/set-JFFKT32S.mjs.map +7 -0
- package/dist/lib/neutral/set-layout-mode-I4YV5V2Y.mjs +85 -0
- package/dist/lib/neutral/set-layout-mode-I4YV5V2Y.mjs.map +7 -0
- package/dist/lib/neutral/settings-FE7AC5VS.mjs +34 -0
- package/dist/lib/neutral/settings-FE7AC5VS.mjs.map +7 -0
- package/dist/lib/neutral/show-undo-ZCMF4J2Q.mjs +59 -0
- package/dist/lib/neutral/show-undo-ZCMF4J2Q.mjs.map +7 -0
- package/dist/lib/neutral/state-IIDXMQUO.mjs +86 -0
- package/dist/lib/neutral/state-IIDXMQUO.mjs.map +7 -0
- package/dist/lib/neutral/switch-workspace-CVDYG5YZ.mjs +60 -0
- package/dist/lib/neutral/switch-workspace-CVDYG5YZ.mjs.map +7 -0
- package/dist/lib/neutral/translations.mjs +57 -0
- package/dist/lib/neutral/translations.mjs.map +7 -0
- package/dist/lib/neutral/types/index.mjs +34 -0
- package/dist/lib/neutral/types/index.mjs.map +7 -0
- package/dist/lib/neutral/update-companion-VPCM7FJX.mjs +32 -0
- package/dist/lib/neutral/update-companion-VPCM7FJX.mjs.map +7 -0
- package/dist/lib/neutral/update-complementary-SEQ6DDWA.mjs +28 -0
- package/dist/lib/neutral/update-complementary-SEQ6DDWA.mjs.map +7 -0
- package/dist/lib/neutral/update-dialog-VDHYE4QH.mjs +29 -0
- package/dist/lib/neutral/update-dialog-VDHYE4QH.mjs.map +7 -0
- package/dist/lib/neutral/update-plank-size-ZXOUZD7Y.mjs +26 -0
- package/dist/lib/neutral/update-plank-size-ZXOUZD7Y.mjs.map +7 -0
- package/dist/lib/neutral/update-popover-VFP32W57.mjs +33 -0
- package/dist/lib/neutral/update-popover-VFP32W57.mjs.map +7 -0
- package/dist/lib/neutral/update-sidebar-O5HBOXYH.mjs +25 -0
- package/dist/lib/neutral/update-sidebar-O5HBOXYH.mjs.map +7 -0
- package/dist/lib/neutral/url-handler-3QTKEM2K.mjs +184 -0
- package/dist/lib/neutral/url-handler-3QTKEM2K.mjs.map +7 -0
- package/dist/types/src/DeckPlugin.d.ts +3 -1
- package/dist/types/src/DeckPlugin.d.ts.map +1 -1
- package/dist/types/src/DeckPlugin.node.d.ts +4 -0
- package/dist/types/src/DeckPlugin.node.d.ts.map +1 -0
- package/dist/types/src/DeckPlugin.test.d.ts +2 -0
- package/dist/types/src/DeckPlugin.test.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts +4 -2
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/check-app-scheme.d.ts +17 -2
- package/dist/types/src/capabilities/check-app-scheme.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +196 -12
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
- package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-root.d.ts +4 -2
- package/dist/types/src/capabilities/react-root.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts +3 -2
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/settings.d.ts +5 -2
- package/dist/types/src/capabilities/settings.d.ts.map +1 -1
- package/dist/types/src/capabilities/state.d.ts +136 -46
- package/dist/types/src/capabilities/state.d.ts.map +1 -1
- package/dist/types/src/capabilities/tools.d.ts +4 -3
- package/dist/types/src/capabilities/tools.d.ts.map +1 -1
- package/dist/types/src/capabilities/url-handler.d.ts +3 -2
- package/dist/types/src/capabilities/url-handler.d.ts.map +1 -1
- package/dist/types/src/components/DeckSettings/DeckSettings.d.ts +4 -4
- package/dist/types/src/components/DeckSettings/DeckSettings.d.ts.map +1 -1
- package/dist/types/src/components/DeckSettings/DeckSettings.stories.d.ts +61 -0
- package/dist/types/src/components/DeckSettings/DeckSettings.stories.d.ts.map +1 -0
- package/dist/types/src/components/DeckSettings/index.d.ts +1 -1
- package/dist/types/src/components/DeckSettings/index.d.ts.map +1 -1
- package/dist/types/src/components/Matrix/Matrix.d.ts +41 -0
- package/dist/types/src/components/Matrix/Matrix.d.ts.map +1 -0
- package/dist/types/src/components/Matrix/Matrix.stories.d.ts +17 -0
- package/dist/types/src/components/Matrix/Matrix.stories.d.ts.map +1 -0
- package/dist/types/src/components/Matrix/index.d.ts +3 -0
- package/dist/types/src/components/Matrix/index.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +3 -2
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/{components/DeckLayout → containers/Deck}/Banner.d.ts +1 -1
- package/dist/types/src/containers/Deck/Banner.d.ts.map +1 -0
- package/dist/types/src/containers/Deck/Deck.d.ts +25 -0
- package/dist/types/src/containers/Deck/Deck.d.ts.map +1 -0
- package/dist/types/src/containers/Deck/Deck.stories.d.ts +61 -0
- package/dist/types/src/containers/Deck/Deck.stories.d.ts.map +1 -0
- package/dist/types/src/containers/Deck/DeckContent.d.ts +7 -0
- package/dist/types/src/containers/Deck/DeckContent.d.ts.map +1 -0
- package/dist/types/src/containers/Deck/DeckRoot.d.ts +39 -0
- package/dist/types/src/containers/Deck/DeckRoot.d.ts.map +1 -0
- package/dist/types/src/containers/Deck/DeckViewport.d.ts +16 -0
- package/dist/types/src/containers/Deck/DeckViewport.d.ts.map +1 -0
- package/dist/types/src/containers/Deck/StatusBar.d.ts.map +1 -0
- package/dist/types/src/containers/Deck/index.d.ts +2 -0
- package/dist/types/src/containers/Deck/index.d.ts.map +1 -0
- package/dist/types/src/containers/DeckLayout/ActiveNode.d.ts.map +1 -0
- package/dist/types/src/containers/DeckLayout/DeckLayout.d.ts +5 -0
- package/dist/types/src/containers/DeckLayout/DeckLayout.d.ts.map +1 -0
- package/dist/types/src/containers/DeckLayout/DeckLayout.stories.d.ts +63 -0
- package/dist/types/src/containers/DeckLayout/DeckLayout.stories.d.ts.map +1 -0
- package/dist/types/src/containers/DeckLayout/Dialog.d.ts.map +1 -0
- package/dist/types/src/containers/DeckLayout/Fallback.d.ts +2 -0
- package/dist/types/src/containers/DeckLayout/Fallback.d.ts.map +1 -0
- package/dist/types/src/containers/DeckLayout/Popover.d.ts +5 -0
- package/dist/types/src/containers/DeckLayout/Popover.d.ts.map +1 -0
- package/dist/types/src/containers/DeckLayout/Toast.d.ts +10 -0
- package/dist/types/src/containers/DeckLayout/Toast.d.ts.map +1 -0
- package/dist/types/src/containers/DeckLayout/constants.d.ts.map +1 -0
- package/dist/types/src/containers/DeckLayout/index.d.ts +4 -0
- package/dist/types/src/containers/DeckLayout/index.d.ts.map +1 -0
- package/dist/types/src/containers/Plank/Plank.d.ts +17 -0
- package/dist/types/src/containers/Plank/Plank.d.ts.map +1 -0
- package/dist/types/src/containers/Plank/Plank.stories.d.ts +61 -0
- package/dist/types/src/containers/Plank/Plank.stories.d.ts.map +1 -0
- package/dist/types/src/containers/Plank/PlankComponent.d.ts +17 -0
- package/dist/types/src/containers/Plank/PlankComponent.d.ts.map +1 -0
- package/dist/types/src/containers/Plank/PlankContent.d.ts +10 -0
- package/dist/types/src/containers/Plank/PlankContent.d.ts.map +1 -0
- package/dist/types/src/{components → containers}/Plank/PlankControls.d.ts +5 -6
- package/dist/types/src/containers/Plank/PlankControls.d.ts.map +1 -0
- package/dist/types/src/containers/Plank/PlankError.d.ts +15 -0
- package/dist/types/src/containers/Plank/PlankError.d.ts.map +1 -0
- package/dist/types/src/{components → containers}/Plank/PlankHeading.d.ts +5 -4
- package/dist/types/src/containers/Plank/PlankHeading.d.ts.map +1 -0
- package/dist/types/src/{components → containers}/Plank/PlankLoading.d.ts.map +1 -1
- package/dist/types/src/containers/Plank/PlankRoot.d.ts +37 -0
- package/dist/types/src/containers/Plank/PlankRoot.d.ts.map +1 -0
- package/dist/types/src/containers/Plank/index.d.ts +4 -0
- package/dist/types/src/containers/Plank/index.d.ts.map +1 -0
- package/dist/types/src/containers/Sidebar/ComplementarySidebar.d.ts.map +1 -0
- package/dist/types/src/containers/Sidebar/Sidebar.d.ts.map +1 -0
- package/dist/types/src/{components → containers}/Sidebar/SidebarButton.d.ts +1 -1
- package/dist/types/src/containers/Sidebar/SidebarButton.d.ts.map +1 -0
- package/dist/types/src/{components → containers}/Sidebar/index.d.ts.map +1 -1
- package/dist/types/src/containers/index.d.ts +6 -0
- package/dist/types/src/containers/index.d.ts.map +1 -0
- package/dist/types/src/hooks/index.d.ts +2 -0
- package/dist/types/src/hooks/index.d.ts.map +1 -1
- package/dist/types/src/hooks/useBreakpoints.d.ts +1 -1
- package/dist/types/src/hooks/useCompanions.d.ts.map +1 -1
- package/dist/types/src/hooks/useDeckCompanions.d.ts +4 -4
- package/dist/types/src/hooks/useDeckCompanions.d.ts.map +1 -1
- package/dist/types/src/hooks/useDeckState.d.ts +17 -0
- package/dist/types/src/hooks/useDeckState.d.ts.map +1 -0
- package/dist/types/src/hooks/useHoistStatusbar.d.ts +1 -1
- package/dist/types/src/hooks/useHoistStatusbar.d.ts.map +1 -1
- package/dist/types/src/hooks/useMainSize.d.ts +2 -2
- package/dist/types/src/hooks/useMainSize.d.ts.map +1 -1
- package/dist/types/src/hooks/useNodeActionExpander.d.ts +1 -1
- package/dist/types/src/hooks/useNodeActionExpander.d.ts.map +1 -1
- package/dist/types/src/hooks/useSelectedCompanion.d.ts +13 -0
- package/dist/types/src/hooks/useSelectedCompanion.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +1 -4
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/layout.d.ts +20 -9
- package/dist/types/src/layout.d.ts.map +1 -1
- package/dist/types/src/layout.test.d.ts +2 -0
- package/dist/types/src/layout.test.d.ts.map +1 -0
- package/dist/types/src/meta.d.ts +2 -3
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/operations/add-toast.d.ts +5 -0
- package/dist/types/src/operations/add-toast.d.ts.map +1 -0
- package/dist/types/src/operations/adjust.d.ts +5 -0
- package/dist/types/src/operations/adjust.d.ts.map +1 -0
- package/dist/types/src/operations/close.d.ts +5 -0
- package/dist/types/src/operations/close.d.ts.map +1 -0
- package/dist/types/src/operations/helpers.d.ts +3 -0
- package/dist/types/src/operations/helpers.d.ts.map +1 -0
- package/dist/types/src/operations/index.d.ts +3 -0
- package/dist/types/src/operations/index.d.ts.map +1 -0
- package/dist/types/src/operations/open.d.ts +5 -0
- package/dist/types/src/operations/open.d.ts.map +1 -0
- package/dist/types/src/operations/revert-workspace.d.ts +5 -0
- package/dist/types/src/operations/revert-workspace.d.ts.map +1 -0
- package/dist/types/src/operations/scroll-into-view.d.ts +5 -0
- package/dist/types/src/operations/scroll-into-view.d.ts.map +1 -0
- package/dist/types/src/operations/set-layout-mode.d.ts +9 -0
- package/dist/types/src/operations/set-layout-mode.d.ts.map +1 -0
- package/dist/types/src/operations/set.d.ts +5 -0
- package/dist/types/src/operations/set.d.ts.map +1 -0
- package/dist/types/src/operations/show-undo.d.ts +5 -0
- package/dist/types/src/operations/show-undo.d.ts.map +1 -0
- package/dist/types/src/operations/switch-workspace.d.ts +5 -0
- package/dist/types/src/operations/switch-workspace.d.ts.map +1 -0
- package/dist/types/src/operations/update-companion.d.ts +5 -0
- package/dist/types/src/operations/update-companion.d.ts.map +1 -0
- package/dist/types/src/operations/update-complementary.d.ts +5 -0
- package/dist/types/src/operations/update-complementary.d.ts.map +1 -0
- package/dist/types/src/operations/update-dialog.d.ts +5 -0
- package/dist/types/src/operations/update-dialog.d.ts.map +1 -0
- package/dist/types/src/operations/update-plank-size.d.ts +5 -0
- package/dist/types/src/operations/update-plank-size.d.ts.map +1 -0
- package/dist/types/src/operations/update-popover.d.ts +5 -0
- package/dist/types/src/operations/update-popover.d.ts.map +1 -0
- package/dist/types/src/operations/update-sidebar.d.ts +5 -0
- package/dist/types/src/operations/update-sidebar.d.ts.map +1 -0
- package/dist/types/src/plugin.d.ts +4 -0
- package/dist/types/src/plugin.d.ts.map +1 -0
- package/dist/types/src/translations.d.ts +45 -56
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/DeckCapabilities.d.ts +188 -0
- package/dist/types/src/types/DeckCapabilities.d.ts.map +1 -0
- package/dist/types/src/types/DeckEvents.d.ts +5 -0
- package/dist/types/src/types/DeckEvents.d.ts.map +1 -0
- package/dist/types/src/types/DeckOperation.d.ts +15 -0
- package/dist/types/src/types/DeckOperation.d.ts.map +1 -0
- package/dist/types/src/types/Settings.d.ts +11 -0
- package/dist/types/src/types/Settings.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +6 -0
- package/dist/types/src/types/index.d.ts.map +1 -0
- package/dist/types/src/{types.d.ts → types/schema.d.ts} +66 -66
- package/dist/types/src/types/schema.d.ts.map +1 -0
- package/dist/types/src/util/index.d.ts +2 -1
- package/dist/types/src/util/index.d.ts.map +1 -1
- package/dist/types/src/util/layoutAppliesTopbar.d.ts +1 -1
- package/dist/types/src/util/layoutAppliesTopbar.d.ts.map +1 -1
- package/dist/types/src/util/plank-url-params.d.ts +14 -0
- package/dist/types/src/util/plank-url-params.d.ts.map +1 -0
- package/dist/types/src/util/plank-url-params.test.d.ts +2 -0
- package/dist/types/src/util/plank-url-params.test.d.ts.map +1 -0
- package/dist/types/src/util/sanitize-persisted-state.d.ts +19 -0
- package/dist/types/src/util/sanitize-persisted-state.d.ts.map +1 -0
- package/dist/types/src/util/sanitize-persisted-state.test.d.ts +2 -0
- package/dist/types/src/util/sanitize-persisted-state.test.d.ts.map +1 -0
- package/dist/types/src/util/set-active.d.ts +19 -4
- package/dist/types/src/util/set-active.d.ts.map +1 -1
- package/dist/types/src/util/set-active.test.d.ts +2 -0
- package/dist/types/src/util/set-active.test.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +128 -62
- package/src/DeckPlugin.node.ts +17 -0
- package/src/DeckPlugin.test.ts +27 -0
- package/src/DeckPlugin.ts +46 -65
- package/src/capabilities/app-graph-builder.ts +112 -126
- package/src/capabilities/check-app-scheme.ts +123 -24
- package/src/capabilities/index.ts +13 -13
- package/src/capabilities/operation-handler.ts +16 -0
- package/src/capabilities/react-root.tsx +37 -28
- package/src/capabilities/react-surface.tsx +28 -22
- package/src/capabilities/settings.ts +30 -19
- package/src/capabilities/state.ts +74 -87
- package/src/capabilities/tools.ts +65 -55
- package/src/capabilities/url-handler.ts +221 -49
- package/src/components/DeckSettings/DeckSettings.stories.tsx +38 -0
- package/src/components/DeckSettings/DeckSettings.tsx +19 -73
- package/src/components/DeckSettings/index.ts +2 -2
- package/src/components/Matrix/Matrix.stories.tsx +220 -0
- package/src/components/Matrix/Matrix.tsx +205 -0
- package/src/components/Matrix/SPEC.md +219 -0
- package/src/components/Matrix/index.ts +6 -0
- package/src/components/index.ts +6 -3
- package/src/containers/Deck/Banner.tsx +41 -0
- package/src/containers/Deck/Deck.stories.tsx +81 -0
- package/src/containers/Deck/Deck.tsx +21 -0
- package/src/containers/Deck/DeckContent.tsx +105 -0
- package/src/containers/Deck/DeckRoot.tsx +50 -0
- package/src/containers/Deck/DeckViewport.tsx +451 -0
- package/src/{components/DeckLayout → containers/Deck}/StatusBar.tsx +4 -4
- package/src/containers/Deck/index.ts +5 -0
- package/src/{components → containers}/DeckLayout/ActiveNode.tsx +9 -4
- package/src/containers/DeckLayout/DeckLayout.stories.tsx +397 -0
- package/src/containers/DeckLayout/DeckLayout.tsx +62 -0
- package/src/containers/DeckLayout/Dialog.tsx +52 -0
- package/src/containers/DeckLayout/Fallback.tsx +24 -0
- package/src/containers/DeckLayout/Popover.tsx +161 -0
- package/src/{components → containers}/DeckLayout/Toast.tsx +30 -5
- package/src/{components → containers}/DeckLayout/constants.ts +1 -0
- package/src/{components → containers}/DeckLayout/index.ts +3 -2
- package/src/containers/Plank/Plank.stories.tsx +108 -0
- package/src/containers/Plank/Plank.tsx +22 -0
- package/src/containers/Plank/PlankComponent.tsx +217 -0
- package/src/containers/Plank/PlankContent.tsx +45 -0
- package/src/{components → containers}/Plank/PlankControls.tsx +45 -38
- package/src/containers/Plank/PlankError.tsx +79 -0
- package/src/{components → containers}/Plank/PlankHeading.tsx +70 -65
- package/src/{components → containers}/Plank/PlankLoading.tsx +1 -1
- package/src/containers/Plank/PlankRoot.tsx +49 -0
- package/src/{components → containers}/Plank/index.ts +0 -2
- package/src/containers/Sidebar/ComplementarySidebar.tsx +208 -0
- package/src/containers/Sidebar/Sidebar.tsx +44 -0
- package/src/containers/Sidebar/SidebarButton.tsx +100 -0
- package/src/containers/index.ts +11 -0
- package/src/hooks/index.ts +2 -0
- package/src/hooks/useCompanions.ts +3 -3
- package/src/hooks/useDeckCompanions.ts +9 -11
- package/src/hooks/useDeckState.ts +73 -0
- package/src/hooks/useHoistStatusbar.ts +4 -5
- package/src/hooks/useMainSize.ts +2 -2
- package/src/hooks/useNodeActionExpander.ts +4 -4
- package/src/hooks/useSelectedCompanion.ts +32 -0
- package/src/index.ts +1 -4
- package/src/layout.test.ts +59 -0
- package/src/layout.ts +38 -40
- package/src/meta.ts +9 -5
- package/src/operations/add-toast.ts +24 -0
- package/src/operations/adjust.ts +82 -0
- package/src/operations/close.ts +35 -0
- package/src/operations/helpers.ts +22 -0
- package/src/operations/index.ts +24 -0
- package/src/operations/open.ts +184 -0
- package/src/operations/revert-workspace.ts +22 -0
- package/src/operations/scroll-into-view.ts +24 -0
- package/src/operations/set-layout-mode.ts +84 -0
- package/src/operations/set.ts +36 -0
- package/src/operations/show-undo.ts +47 -0
- package/src/operations/switch-workspace.ts +60 -0
- package/src/operations/update-companion.ts +35 -0
- package/src/operations/update-complementary.ts +33 -0
- package/src/operations/update-dialog.ts +34 -0
- package/src/operations/update-plank-size.ts +28 -0
- package/src/operations/update-popover.ts +36 -0
- package/src/operations/update-sidebar.ts +28 -0
- package/src/plugin.ts +11 -0
- package/src/translations.ts +47 -55
- package/src/types/DeckCapabilities.ts +34 -0
- package/src/types/DeckEvents.ts +21 -0
- package/src/types/DeckOperation.ts +51 -0
- package/src/types/Settings.ts +42 -0
- package/src/types/index.ts +10 -0
- package/src/{types.ts → types/schema.ts} +50 -59
- package/src/util/index.ts +2 -1
- package/src/util/layoutAppliesTopbar.ts +2 -2
- package/src/util/plank-url-params.test.ts +85 -0
- package/src/util/plank-url-params.ts +36 -0
- package/src/util/sanitize-persisted-state.test.ts +79 -0
- package/src/util/sanitize-persisted-state.ts +52 -0
- package/src/util/set-active.test.ts +106 -0
- package/src/util/set-active.ts +50 -30
- package/src/vite-env.d.ts +5 -0
- package/dist/lib/browser/app-graph-builder-YCO7Y54J.mjs +0 -152
- package/dist/lib/browser/app-graph-builder-YCO7Y54J.mjs.map +0 -7
- package/dist/lib/browser/check-app-scheme-7AXGR6UT.mjs +0 -32
- package/dist/lib/browser/check-app-scheme-7AXGR6UT.mjs.map +0 -7
- package/dist/lib/browser/chunk-FX44YX3G.mjs +0 -128
- package/dist/lib/browser/chunk-FX44YX3G.mjs.map +0 -7
- package/dist/lib/browser/chunk-KLN73CM3.mjs +0 -16
- package/dist/lib/browser/chunk-KLN73CM3.mjs.map +0 -7
- package/dist/lib/browser/chunk-NSATFAEE.mjs +0 -13
- package/dist/lib/browser/chunk-NSATFAEE.mjs.map +0 -7
- package/dist/lib/browser/chunk-RAZK4XT5.mjs +0 -127
- package/dist/lib/browser/chunk-RAZK4XT5.mjs.map +0 -7
- package/dist/lib/browser/chunk-RMCRP7HV.mjs +0 -1494
- package/dist/lib/browser/chunk-RMCRP7HV.mjs.map +0 -7
- package/dist/lib/browser/chunk-TRFYUEBA.mjs +0 -145
- package/dist/lib/browser/chunk-TRFYUEBA.mjs.map +0 -7
- package/dist/lib/browser/chunk-YN5OZEGS.mjs +0 -162
- package/dist/lib/browser/chunk-YN5OZEGS.mjs.map +0 -7
- package/dist/lib/browser/index.mjs +0 -168
- package/dist/lib/browser/index.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-EGLWTKJG.mjs +0 -521
- package/dist/lib/browser/intent-resolver-EGLWTKJG.mjs.map +0 -7
- package/dist/lib/browser/meta.json +0 -1
- package/dist/lib/browser/react-root-C4HIM5CI.mjs +0 -43
- package/dist/lib/browser/react-root-C4HIM5CI.mjs.map +0 -7
- package/dist/lib/browser/react-surface-RV2AZ6WZ.mjs +0 -40
- package/dist/lib/browser/react-surface-RV2AZ6WZ.mjs.map +0 -7
- package/dist/lib/browser/settings-7VUU3ZJ4.mjs +0 -29
- package/dist/lib/browser/settings-7VUU3ZJ4.mjs.map +0 -7
- package/dist/lib/browser/state-VJ6E3ADY.mjs +0 -10
- package/dist/lib/browser/tools-N57NQ2LH.mjs +0 -88
- package/dist/lib/browser/tools-N57NQ2LH.mjs.map +0 -7
- package/dist/lib/browser/types.mjs +0 -34
- package/dist/lib/browser/url-handler-BUGI6XRE.mjs +0 -70
- package/dist/lib/browser/url-handler-BUGI6XRE.mjs.map +0 -7
- package/dist/types/src/capabilities/capabilities.d.ts +0 -184
- package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
- package/dist/types/src/components/DeckLayout/ActiveNode.d.ts.map +0 -1
- package/dist/types/src/components/DeckLayout/Banner.d.ts.map +0 -1
- package/dist/types/src/components/DeckLayout/ContentEmpty.d.ts +0 -3
- package/dist/types/src/components/DeckLayout/ContentEmpty.d.ts.map +0 -1
- package/dist/types/src/components/DeckLayout/DeckLayout.d.ts +0 -6
- package/dist/types/src/components/DeckLayout/DeckLayout.d.ts.map +0 -1
- package/dist/types/src/components/DeckLayout/Dialog.d.ts.map +0 -1
- package/dist/types/src/components/DeckLayout/Fallback.d.ts +0 -3
- package/dist/types/src/components/DeckLayout/Fallback.d.ts.map +0 -1
- package/dist/types/src/components/DeckLayout/Popover.d.ts +0 -5
- package/dist/types/src/components/DeckLayout/Popover.d.ts.map +0 -1
- package/dist/types/src/components/DeckLayout/StatusBar.d.ts.map +0 -1
- package/dist/types/src/components/DeckLayout/Toast.d.ts +0 -5
- package/dist/types/src/components/DeckLayout/Toast.d.ts.map +0 -1
- package/dist/types/src/components/DeckLayout/Topbar.d.ts +0 -3
- package/dist/types/src/components/DeckLayout/Topbar.d.ts.map +0 -1
- package/dist/types/src/components/DeckLayout/constants.d.ts.map +0 -1
- package/dist/types/src/components/DeckLayout/index.d.ts +0 -4
- package/dist/types/src/components/DeckLayout/index.d.ts.map +0 -1
- package/dist/types/src/components/Plank/Plank.d.ts +0 -27
- package/dist/types/src/components/Plank/Plank.d.ts.map +0 -1
- package/dist/types/src/components/Plank/Plank.stories.d.ts +0 -8
- package/dist/types/src/components/Plank/Plank.stories.d.ts.map +0 -1
- package/dist/types/src/components/Plank/PlankControls.d.ts.map +0 -1
- package/dist/types/src/components/Plank/PlankError.d.ts +0 -13
- package/dist/types/src/components/Plank/PlankError.d.ts.map +0 -1
- package/dist/types/src/components/Plank/PlankHeading.d.ts.map +0 -1
- package/dist/types/src/components/Plank/index.d.ts +0 -6
- package/dist/types/src/components/Plank/index.d.ts.map +0 -1
- package/dist/types/src/components/Sidebar/ComplementarySidebar.d.ts.map +0 -1
- package/dist/types/src/components/Sidebar/Sidebar.d.ts.map +0 -1
- package/dist/types/src/components/Sidebar/SidebarButton.d.ts.map +0 -1
- package/dist/types/src/components/fragments.d.ts +0 -4
- package/dist/types/src/components/fragments.d.ts.map +0 -1
- package/dist/types/src/events.d.ts +0 -4
- package/dist/types/src/events.d.ts.map +0 -1
- package/dist/types/src/types.d.ts.map +0 -1
- package/dist/types/src/util/overscroll.d.ts +0 -47
- package/dist/types/src/util/overscroll.d.ts.map +0 -1
- package/src/capabilities/capabilities.ts +0 -14
- package/src/capabilities/intent-resolver.ts +0 -468
- package/src/components/DeckLayout/Banner.tsx +0 -39
- package/src/components/DeckLayout/ContentEmpty.tsx +0 -31
- package/src/components/DeckLayout/DeckLayout.tsx +0 -301
- package/src/components/DeckLayout/Dialog.tsx +0 -36
- package/src/components/DeckLayout/Fallback.tsx +0 -28
- package/src/components/DeckLayout/Popover.tsx +0 -104
- package/src/components/DeckLayout/Topbar.tsx +0 -11
- package/src/components/Plank/Plank.stories.tsx +0 -55
- package/src/components/Plank/Plank.tsx +0 -266
- package/src/components/Plank/PlankError.tsx +0 -51
- package/src/components/Sidebar/ComplementarySidebar.tsx +0 -193
- package/src/components/Sidebar/Sidebar.tsx +0 -42
- package/src/components/Sidebar/SidebarButton.tsx +0 -87
- package/src/components/fragments.ts +0 -14
- package/src/events.ts +0 -11
- package/src/util/overscroll.ts +0 -69
- /package/dist/lib/{browser/state-VJ6E3ADY.mjs.map → neutral/check-app-scheme-A7FZVNZO.mjs.map} +0 -0
- /package/dist/lib/{browser/types.mjs.map → neutral/chunk-J5LGTIGS.mjs.map} +0 -0
- /package/dist/types/src/{components/DeckLayout → containers/Deck}/StatusBar.d.ts +0 -0
- /package/dist/types/src/{components → containers}/DeckLayout/ActiveNode.d.ts +0 -0
- /package/dist/types/src/{components → containers}/DeckLayout/Dialog.d.ts +0 -0
- /package/dist/types/src/{components → containers}/DeckLayout/constants.d.ts +0 -0
- /package/dist/types/src/{components → containers}/Plank/PlankLoading.d.ts +0 -0
- /package/dist/types/src/{components → containers}/Sidebar/ComplementarySidebar.d.ts +0 -0
- /package/dist/types/src/{components → containers}/Sidebar/Sidebar.d.ts +0 -0
- /package/dist/types/src/{components → containers}/Sidebar/index.d.ts +0 -0
- /package/src/{components → containers}/Sidebar/index.ts +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"inputs":{"packages/plugins/plugin-deck/src/meta.ts":{"bytes":1016,"imports":[],"format":"esm"},"packages/plugins/plugin-deck/src/capabilities/capabilities.ts":{"bytes":1742,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-deck/src/types.ts":{"bytes":21716,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-deck/src/capabilities/state.ts":{"bytes":12443,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-deck/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-deck/src/capabilities/app-graph-builder.ts":{"bytes":20218,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-deck/src/capabilities/check-app-scheme.ts":{"bytes":4651,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-deck/src/capabilities/settings.ts":{"bytes":2532,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-deck/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-deck/src/layout.ts":{"bytes":9834,"imports":[{"path":"immer","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-deck/src/util/layoutAppliesTopbar.ts":{"bytes":1264,"imports":[],"format":"esm"},"packages/plugins/plugin-deck/src/util/overscroll.ts":{"bytes":17436,"imports":[],"format":"esm"},"packages/plugins/plugin-deck/src/util/set-active.ts":{"bytes":5634,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-deck/src/util/index.ts":{"bytes":688,"imports":[{"path":"packages/plugins/plugin-deck/src/util/layoutAppliesTopbar.ts","kind":"import-statement","original":"./layoutAppliesTopbar"},{"path":"packages/plugins/plugin-deck/src/util/overscroll.ts","kind":"import-statement","original":"./overscroll"},{"path":"packages/plugins/plugin-deck/src/util/set-active.ts","kind":"import-statement","original":"./set-active"}],"format":"esm"},"packages/plugins/plugin-deck/src/capabilities/intent-resolver.ts":{"bytes":72198,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-deck/src/layout.ts","kind":"import-statement","original":"../layout"},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-deck/src/types.ts","kind":"import-statement","original":"../types"},{"path":"packages/plugins/plugin-deck/src/util/index.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-deck/src/components/DeckLayout/constants.ts":{"bytes":697,"imports":[],"format":"esm"},"packages/plugins/plugin-deck/src/hooks/useBreakpoints.ts":{"bytes":1288,"imports":[{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-deck/src/hooks/useCompanions.ts":{"bytes":2501,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-deck/src/hooks/useDeckCompanions.ts":{"bytes":3494,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-deck/src/hooks/useHoistStatusbar.ts":{"bytes":3222,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-deck/src/hooks/useMainSize.ts":{"bytes":1516,"imports":[{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-deck/src/hooks/useNodeActionExpander.ts":{"bytes":1926,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-deck/src/hooks/index.ts":{"bytes":1035,"imports":[{"path":"packages/plugins/plugin-deck/src/hooks/useBreakpoints.ts","kind":"import-statement","original":"./useBreakpoints"},{"path":"packages/plugins/plugin-deck/src/hooks/useCompanions.ts","kind":"import-statement","original":"./useCompanions"},{"path":"packages/plugins/plugin-deck/src/hooks/useDeckCompanions.ts","kind":"import-statement","original":"./useDeckCompanions"},{"path":"packages/plugins/plugin-deck/src/hooks/useHoistStatusbar.ts","kind":"import-statement","original":"./useHoistStatusbar"},{"path":"packages/plugins/plugin-deck/src/hooks/useMainSize.ts","kind":"import-statement","original":"./useMainSize"},{"path":"packages/plugins/plugin-deck/src/hooks/useNodeActionExpander.ts","kind":"import-statement","original":"./useNodeActionExpander"}],"format":"esm"},"packages/plugins/plugin-deck/src/components/Sidebar/SidebarButton.tsx":{"bytes":10441,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"},{"path":"packages/plugins/plugin-deck/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-deck/src/components/Plank/PlankControls.tsx":{"bytes":18597,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-deck/src/types.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"packages/plugins/plugin-deck/src/components/fragments.ts":{"bytes":1879,"imports":[{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-deck/src/components/Plank/PlankHeading.tsx":{"bytes":28027,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-text-tooltip","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/components/Plank/PlankControls.tsx","kind":"import-statement","original":"./PlankControls"},{"path":"packages/plugins/plugin-deck/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/plugins/plugin-deck/src/layout.ts","kind":"import-statement","original":"../../layout"},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-deck/src/types.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-deck/src/components/fragments.ts","kind":"import-statement","original":"../fragments"}],"format":"esm"},"packages/plugins/plugin-deck/src/components/Plank/PlankLoading.tsx":{"bytes":1407,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-deck/src/components/Plank/PlankError.tsx":{"bytes":5441,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/components/Plank/PlankHeading.tsx","kind":"import-statement","original":"./PlankHeading"},{"path":"packages/plugins/plugin-deck/src/components/Plank/PlankLoading.tsx","kind":"import-statement","original":"./PlankLoading"},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-deck/src/components/Plank/Plank.tsx":{"bytes":31696,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/components/Plank/PlankError.tsx","kind":"import-statement","original":"./PlankError"},{"path":"packages/plugins/plugin-deck/src/components/Plank/PlankHeading.tsx","kind":"import-statement","original":"./PlankHeading"},{"path":"packages/plugins/plugin-deck/src/components/Plank/PlankLoading.tsx","kind":"import-statement","original":"./PlankLoading"},{"path":"packages/plugins/plugin-deck/src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"},{"path":"packages/plugins/plugin-deck/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/plugins/plugin-deck/src/layout.ts","kind":"import-statement","original":"../../layout"},{"path":"packages/plugins/plugin-deck/src/types.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"packages/plugins/plugin-deck/src/components/Plank/index.ts":{"bytes":873,"imports":[{"path":"packages/plugins/plugin-deck/src/components/Plank/Plank.tsx","kind":"import-statement","original":"./Plank"},{"path":"packages/plugins/plugin-deck/src/components/Plank/PlankControls.tsx","kind":"import-statement","original":"./PlankControls"},{"path":"packages/plugins/plugin-deck/src/components/Plank/PlankError.tsx","kind":"import-statement","original":"./PlankError"},{"path":"packages/plugins/plugin-deck/src/components/Plank/PlankHeading.tsx","kind":"import-statement","original":"./PlankHeading"},{"path":"packages/plugins/plugin-deck/src/components/Plank/PlankLoading.tsx","kind":"import-statement","original":"./PlankLoading"}],"format":"esm"},"packages/plugins/plugin-deck/src/components/Sidebar/ComplementarySidebar.tsx":{"bytes":24324,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/components/Sidebar/SidebarButton.tsx","kind":"import-statement","original":"./SidebarButton"},{"path":"packages/plugins/plugin-deck/src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"},{"path":"packages/plugins/plugin-deck/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-deck/src/types.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-deck/src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"packages/plugins/plugin-deck/src/components/Plank/index.ts","kind":"import-statement","original":"../Plank"}],"format":"esm"},"packages/plugins/plugin-deck/src/components/Sidebar/Sidebar.tsx":{"bytes":5538,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"},{"path":"packages/plugins/plugin-deck/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-deck/src/types.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-deck/src/util/index.ts","kind":"import-statement","original":"../../util"}],"format":"esm"},"packages/plugins/plugin-deck/src/components/Sidebar/index.ts":{"bytes":707,"imports":[{"path":"packages/plugins/plugin-deck/src/components/Sidebar/ComplementarySidebar.tsx","kind":"import-statement","original":"./ComplementarySidebar"},{"path":"packages/plugins/plugin-deck/src/components/Sidebar/Sidebar.tsx","kind":"import-statement","original":"./Sidebar"},{"path":"packages/plugins/plugin-deck/src/components/Sidebar/SidebarButton.tsx","kind":"import-statement","original":"./SidebarButton"}],"format":"esm"},"packages/plugins/plugin-deck/src/components/DeckLayout/Banner.tsx":{"bytes":5396,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-deck/src/components/Sidebar/index.ts","kind":"import-statement","original":"../Sidebar"}],"format":"esm"},"packages/plugins/plugin-deck/src/components/DeckLayout/ActiveNode.tsx":{"bytes":3328,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"packages/plugins/plugin-deck/src/components/DeckLayout/ContentEmpty.tsx":{"bytes":4112,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"},{"path":"packages/plugins/plugin-deck/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/plugins/plugin-deck/src/types.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-deck/src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"packages/plugins/plugin-deck/src/components/Sidebar/index.ts","kind":"import-statement","original":"../Sidebar"},{"path":"packages/plugins/plugin-deck/src/components/fragments.ts","kind":"import-statement","original":"../fragments"}],"format":"esm"},"packages/plugins/plugin-deck/src/components/DeckLayout/Dialog.tsx":{"bytes":6058,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"},{"path":"packages/plugins/plugin-deck/src/components/Plank/index.ts","kind":"import-statement","original":"../Plank"}],"format":"esm"},"packages/plugins/plugin-deck/src/components/DeckLayout/Popover.tsx":{"bytes":12809,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"}],"format":"esm"},"packages/plugins/plugin-deck/src/components/DeckLayout/StatusBar.tsx":{"bytes":2637,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-deck/src/components/DeckLayout/Toast.tsx":{"bytes":6622,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-deck/src/components/DeckLayout/Topbar.tsx":{"bytes":1164,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/components/DeckLayout/Banner.tsx","kind":"import-statement","original":"./Banner"}],"format":"esm"},"packages/plugins/plugin-deck/src/components/DeckLayout/DeckLayout.tsx":{"bytes":39439,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/components/DeckLayout/ActiveNode.tsx","kind":"import-statement","original":"./ActiveNode"},{"path":"packages/plugins/plugin-deck/src/components/DeckLayout/ContentEmpty.tsx","kind":"import-statement","original":"./ContentEmpty"},{"path":"packages/plugins/plugin-deck/src/components/DeckLayout/Dialog.tsx","kind":"import-statement","original":"./Dialog"},{"path":"packages/plugins/plugin-deck/src/components/DeckLayout/Popover.tsx","kind":"import-statement","original":"./Popover"},{"path":"packages/plugins/plugin-deck/src/components/DeckLayout/StatusBar.tsx","kind":"import-statement","original":"./StatusBar"},{"path":"packages/plugins/plugin-deck/src/components/DeckLayout/Toast.tsx","kind":"import-statement","original":"./Toast"},{"path":"packages/plugins/plugin-deck/src/components/DeckLayout/Topbar.tsx","kind":"import-statement","original":"./Topbar"},{"path":"packages/plugins/plugin-deck/src/capabilities/index.ts","kind":"import-statement","original":"../../capabilities"},{"path":"packages/plugins/plugin-deck/src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-deck/src/types.ts","kind":"import-statement","original":"../../types"},{"path":"packages/plugins/plugin-deck/src/util/index.ts","kind":"import-statement","original":"../../util"},{"path":"packages/plugins/plugin-deck/src/components/Plank/index.ts","kind":"import-statement","original":"../Plank"},{"path":"packages/plugins/plugin-deck/src/components/Sidebar/index.ts","kind":"import-statement","original":"../Sidebar"},{"path":"packages/plugins/plugin-deck/src/components/fragments.ts","kind":"import-statement","original":"../fragments"}],"format":"esm"},"packages/plugins/plugin-deck/src/components/DeckLayout/index.ts":{"bytes":720,"imports":[{"path":"packages/plugins/plugin-deck/src/components/DeckLayout/constants.ts","kind":"import-statement","original":"./constants"},{"path":"packages/plugins/plugin-deck/src/components/DeckLayout/Banner.tsx","kind":"import-statement","original":"./Banner"},{"path":"packages/plugins/plugin-deck/src/components/DeckLayout/DeckLayout.tsx","kind":"import-statement","original":"./DeckLayout"}],"format":"esm"},"packages/plugins/plugin-deck/src/components/DeckSettings/DeckSettings.tsx":{"bytes":11502,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"packages/plugins/plugin-deck/src/types.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"packages/plugins/plugin-deck/src/components/DeckSettings/index.ts":{"bytes":504,"imports":[{"path":"packages/plugins/plugin-deck/src/components/DeckSettings/DeckSettings.tsx","kind":"import-statement","original":"./DeckSettings"}],"format":"esm"},"packages/plugins/plugin-deck/src/components/index.ts":{"bytes":585,"imports":[{"path":"packages/plugins/plugin-deck/src/components/DeckLayout/index.ts","kind":"import-statement","original":"./DeckLayout"},{"path":"packages/plugins/plugin-deck/src/components/DeckSettings/index.ts","kind":"import-statement","original":"./DeckSettings"}],"format":"esm"},"packages/plugins/plugin-deck/src/capabilities/react-root.tsx":{"bytes":4519,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-deck/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-deck/src/capabilities/react-surface.tsx":{"bytes":3715,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-deck/src/capabilities/tools.ts":{"bytes":8489,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-deck/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-deck/src/capabilities/url-handler.ts":{"bytes":8588,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-signals/core","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-deck/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-deck/src/capabilities/index.ts":{"bytes":2864,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-deck/src/capabilities/state.ts","kind":"import-statement","original":"./state"},{"path":"packages/plugins/plugin-deck/src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"packages/plugins/plugin-deck/src/capabilities/check-app-scheme.ts","kind":"dynamic-import","original":"./check-app-scheme"},{"path":"packages/plugins/plugin-deck/src/capabilities/settings.ts","kind":"dynamic-import","original":"./settings"},{"path":"packages/plugins/plugin-deck/src/capabilities/state.ts","kind":"dynamic-import","original":"./state"},{"path":"packages/plugins/plugin-deck/src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"packages/plugins/plugin-deck/src/capabilities/react-root.tsx","kind":"dynamic-import","original":"./react-root"},{"path":"packages/plugins/plugin-deck/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"packages/plugins/plugin-deck/src/capabilities/tools.ts","kind":"dynamic-import","original":"./tools"},{"path":"packages/plugins/plugin-deck/src/capabilities/url-handler.ts","kind":"dynamic-import","original":"./url-handler"}],"format":"esm"},"packages/plugins/plugin-deck/src/events.ts":{"bytes":1180,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-deck/src/translations.ts":{"bytes":9009,"imports":[{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-deck/src/DeckPlugin.ts":{"bytes":10045,"imports":[{"path":"immer","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-deck/src/events.ts","kind":"import-statement","original":"./events"},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-deck/src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"packages/plugins/plugin-deck/src/index.ts":{"bytes":1037,"imports":[{"path":"packages/plugins/plugin-deck/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-deck/src/events.ts","kind":"import-statement","original":"./events"},{"path":"packages/plugins/plugin-deck/src/DeckPlugin.ts","kind":"import-statement","original":"./DeckPlugin"},{"path":"packages/plugins/plugin-deck/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-deck/src/hooks/index.ts","kind":"import-statement","original":"./hooks"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-deck/dist/lib/browser/react-surface-RV2AZ6WZ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1869},"packages/plugins/plugin-deck/dist/lib/browser/react-surface-RV2AZ6WZ.mjs":{"imports":[{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-RMCRP7HV.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-RAZK4XT5.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-FX44YX3G.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-TRFYUEBA.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-KLN73CM3.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-YN5OZEGS.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-NSATFAEE.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-deck/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-deck/src/capabilities/react-surface.tsx":{"bytesInOutput":769}},"bytes":1210},"packages/plugins/plugin-deck/dist/lib/browser/tools-N57NQ2LH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3925},"packages/plugins/plugin-deck/dist/lib/browser/tools-N57NQ2LH.mjs":{"imports":[{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-YN5OZEGS.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-NSATFAEE.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-deck/src/capabilities/tools.ts","inputs":{"packages/plugins/plugin-deck/src/capabilities/tools.ts":{"bytesInOutput":2289}},"bytes":2531},"packages/plugins/plugin-deck/dist/lib/browser/url-handler-BUGI6XRE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4325},"packages/plugins/plugin-deck/dist/lib/browser/url-handler-BUGI6XRE.mjs":{"imports":[{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-KLN73CM3.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-YN5OZEGS.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-NSATFAEE.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-signals/core","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-deck/src/capabilities/url-handler.ts","inputs":{"packages/plugins/plugin-deck/src/capabilities/url-handler.ts":{"bytesInOutput":1915}},"bytes":2219},"packages/plugins/plugin-deck/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9144},"packages/plugins/plugin-deck/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-RAZK4XT5.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-FX44YX3G.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-KLN73CM3.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-YN5OZEGS.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-NSATFAEE.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"immer","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true}],"exports":["DECK_PLUGIN","DeckCapabilities","DeckEvents","DeckPlugin","meta","useCompanions"],"entryPoint":"packages/plugins/plugin-deck/src/index.ts","inputs":{"packages/plugins/plugin-deck/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-deck/src/events.ts":{"bytesInOutput":206},"packages/plugins/plugin-deck/src/DeckPlugin.ts":{"bytesInOutput":2051},"packages/plugins/plugin-deck/src/translations.ts":{"bytesInOutput":2978}},"bytes":5952},"packages/plugins/plugin-deck/dist/lib/browser/types.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-deck/dist/lib/browser/types.mjs":{"imports":[{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-YN5OZEGS.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-NSATFAEE.mjs","kind":"import-statement"}],"exports":["ATTENDABLE_PATH_SEPARATOR","DECK_ACTION","DECK_COMPANION_TYPE","DeckAction","DeckPluginState","DeckSettingsSchema","DeckState","NewPlankPositions","OverscrollOptions","PLANK_COMPANION_TYPE","PlankSizing","defaultDeck","getMode","isLayoutMode"],"entryPoint":"packages/plugins/plugin-deck/src/types.ts","inputs":{},"bytes":632},"packages/plugins/plugin-deck/dist/lib/browser/state-VJ6E3ADY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-deck/dist/lib/browser/state-VJ6E3ADY.mjs":{"imports":[{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-FX44YX3G.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-KLN73CM3.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-YN5OZEGS.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-NSATFAEE.mjs","kind":"import-statement"}],"exports":["default"],"entryPoint":"packages/plugins/plugin-deck/src/capabilities/state.ts","inputs":{},"bytes":232},"packages/plugins/plugin-deck/dist/lib/browser/app-graph-builder-YCO7Y54J.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9364},"packages/plugins/plugin-deck/dist/lib/browser/app-graph-builder-YCO7Y54J.mjs":{"imports":[{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-KLN73CM3.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-NSATFAEE.mjs","kind":"import-statement"},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-deck/src/capabilities/app-graph-builder.ts","inputs":{"packages/plugins/plugin-deck/src/capabilities/app-graph-builder.ts":{"bytesInOutput":4345}},"bytes":4636},"packages/plugins/plugin-deck/dist/lib/browser/check-app-scheme-7AXGR6UT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2521},"packages/plugins/plugin-deck/dist/lib/browser/check-app-scheme-7AXGR6UT.mjs":{"imports":[{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-NSATFAEE.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-deck/src/capabilities/check-app-scheme.ts","inputs":{"packages/plugins/plugin-deck/src/capabilities/check-app-scheme.ts":{"bytesInOutput":875}},"bytes":1104},"packages/plugins/plugin-deck/dist/lib/browser/settings-7VUU3ZJ4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1313},"packages/plugins/plugin-deck/dist/lib/browser/settings-7VUU3ZJ4.mjs":{"imports":[{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-YN5OZEGS.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-NSATFAEE.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-deck/src/capabilities/settings.ts","inputs":{"packages/plugins/plugin-deck/src/capabilities/settings.ts":{"bytesInOutput":461}},"bytes":720},"packages/plugins/plugin-deck/dist/lib/browser/intent-resolver-EGLWTKJG.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":33728},"packages/plugins/plugin-deck/dist/lib/browser/intent-resolver-EGLWTKJG.mjs":{"imports":[{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-TRFYUEBA.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-KLN73CM3.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-YN5OZEGS.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-NSATFAEE.mjs","kind":"import-statement"},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/types","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-deck/src/capabilities/intent-resolver.ts","inputs":{"packages/plugins/plugin-deck/src/capabilities/intent-resolver.ts":{"bytesInOutput":17836}},"bytes":18354},"packages/plugins/plugin-deck/dist/lib/browser/react-root-C4HIM5CI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2229},"packages/plugins/plugin-deck/dist/lib/browser/react-root-C4HIM5CI.mjs":{"imports":[{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-RMCRP7HV.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-RAZK4XT5.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-FX44YX3G.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-TRFYUEBA.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-KLN73CM3.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-YN5OZEGS.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-NSATFAEE.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-deck/src/capabilities/react-root.tsx","inputs":{"packages/plugins/plugin-deck/src/capabilities/react-root.tsx":{"bytesInOutput":819}},"bytes":1267},"packages/plugins/plugin-deck/dist/lib/browser/chunk-RMCRP7HV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":109911},"packages/plugins/plugin-deck/dist/lib/browser/chunk-RMCRP7HV.mjs":{"imports":[{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-RAZK4XT5.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-TRFYUEBA.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-KLN73CM3.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-YN5OZEGS.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-NSATFAEE.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-text-tooltip","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-form","kind":"import-statement","external":true}],"exports":["Banner","DeckLayout","DeckSettings"],"inputs":{"packages/plugins/plugin-deck/src/components/DeckLayout/Banner.tsx":{"bytesInOutput":1752},"packages/plugins/plugin-deck/src/components/Sidebar/ComplementarySidebar.tsx":{"bytesInOutput":6989},"packages/plugins/plugin-deck/src/components/Sidebar/SidebarButton.tsx":{"bytesInOutput":2879},"packages/plugins/plugin-deck/src/components/Plank/Plank.tsx":{"bytesInOutput":6870},"packages/plugins/plugin-deck/src/components/Plank/PlankError.tsx":{"bytesInOutput":1505},"packages/plugins/plugin-deck/src/components/Plank/PlankHeading.tsx":{"bytesInOutput":7383},"packages/plugins/plugin-deck/src/components/Plank/PlankControls.tsx":{"bytesInOutput":5299},"packages/plugins/plugin-deck/src/components/fragments.ts":{"bytesInOutput":435},"packages/plugins/plugin-deck/src/components/Plank/PlankLoading.tsx":{"bytesInOutput":361},"packages/plugins/plugin-deck/src/components/Plank/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-deck/src/components/Sidebar/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-deck/src/components/Sidebar/Sidebar.tsx":{"bytesInOutput":1379},"packages/plugins/plugin-deck/src/components/DeckLayout/DeckLayout.tsx":{"bytesInOutput":9711},"packages/plugins/plugin-deck/src/components/DeckLayout/ActiveNode.tsx":{"bytesInOutput":838},"packages/plugins/plugin-deck/src/components/DeckLayout/ContentEmpty.tsx":{"bytesInOutput":969},"packages/plugins/plugin-deck/src/components/DeckLayout/Dialog.tsx":{"bytesInOutput":1627},"packages/plugins/plugin-deck/src/components/DeckLayout/Popover.tsx":{"bytesInOutput":3430},"packages/plugins/plugin-deck/src/components/DeckLayout/StatusBar.tsx":{"bytesInOutput":834},"packages/plugins/plugin-deck/src/components/DeckLayout/Toast.tsx":{"bytesInOutput":1857},"packages/plugins/plugin-deck/src/components/DeckLayout/Topbar.tsx":{"bytesInOutput":303},"packages/plugins/plugin-deck/src/components/DeckSettings/DeckSettings.tsx":{"bytesInOutput":3382},"packages/plugins/plugin-deck/src/components/DeckLayout/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-deck/src/components/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-deck/src/components/DeckSettings/index.ts":{"bytesInOutput":0}},"bytes":60202},"packages/plugins/plugin-deck/dist/lib/browser/chunk-RAZK4XT5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8314},"packages/plugins/plugin-deck/dist/lib/browser/chunk-RAZK4XT5.mjs":{"imports":[{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-YN5OZEGS.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-NSATFAEE.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-deck/dist/lib/browser/app-graph-builder-YCO7Y54J.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/check-app-scheme-7AXGR6UT.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/settings-7VUU3ZJ4.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/state-VJ6E3ADY.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/intent-resolver-EGLWTKJG.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/react-root-C4HIM5CI.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/react-surface-RV2AZ6WZ.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/tools-N57NQ2LH.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/url-handler-BUGI6XRE.mjs","kind":"dynamic-import"}],"exports":["AppGraphBuilder","CheckAppScheme","DeckSettings","DeckState","LayoutIntentResolver","ReactRoot","ReactSurface","Tools","UrlHandler","getCompanionId","useBreakpoints","useCompanions","useDeckCompanions","useHoistStatusbar","useMainSize","useNodeActionExpander"],"inputs":{"packages/plugins/plugin-deck/src/hooks/useCompanions.ts":{"bytesInOutput":487},"packages/plugins/plugin-deck/src/hooks/useBreakpoints.ts":{"bytesInOutput":236},"packages/plugins/plugin-deck/src/hooks/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-deck/src/hooks/useDeckCompanions.ts":{"bytesInOutput":628},"packages/plugins/plugin-deck/src/hooks/useHoistStatusbar.ts":{"bytesInOutput":804},"packages/plugins/plugin-deck/src/hooks/useMainSize.ts":{"bytesInOutput":319},"packages/plugins/plugin-deck/src/hooks/useNodeActionExpander.ts":{"bytesInOutput":371},"packages/plugins/plugin-deck/src/capabilities/index.ts":{"bytesInOutput":664}},"bytes":4445},"packages/plugins/plugin-deck/dist/lib/browser/chunk-FX44YX3G.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6318},"packages/plugins/plugin-deck/dist/lib/browser/chunk-FX44YX3G.mjs":{"imports":[{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-KLN73CM3.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-YN5OZEGS.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-NSATFAEE.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true}],"exports":["state_default"],"inputs":{"packages/plugins/plugin-deck/src/capabilities/state.ts":{"bytesInOutput":3077}},"bytes":3387},"packages/plugins/plugin-deck/dist/lib/browser/chunk-TRFYUEBA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":16063},"packages/plugins/plugin-deck/dist/lib/browser/chunk-TRFYUEBA.mjs":{"imports":[{"path":"immer","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true}],"exports":["calculateOverscroll","closeEntry","createEntryId","incrementPlank","layoutAppliesTopbar","openEntry","parseEntryId","setActive"],"inputs":{"packages/plugins/plugin-deck/src/layout.ts":{"bytesInOutput":2156},"packages/plugins/plugin-deck/src/util/set-active.ts":{"bytesInOutput":1130},"packages/plugins/plugin-deck/src/util/layoutAppliesTopbar.ts":{"bytesInOutput":188},"packages/plugins/plugin-deck/src/util/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-deck/src/util/overscroll.ts":{"bytesInOutput":759}},"bytes":4649},"packages/plugins/plugin-deck/dist/lib/browser/chunk-KLN73CM3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":897},"packages/plugins/plugin-deck/dist/lib/browser/chunk-KLN73CM3.mjs":{"imports":[{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-NSATFAEE.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["DeckCapabilities"],"inputs":{"packages/plugins/plugin-deck/src/capabilities/capabilities.ts":{"bytesInOutput":335}},"bytes":531},"packages/plugins/plugin-deck/dist/lib/browser/chunk-YN5OZEGS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":11397},"packages/plugins/plugin-deck/dist/lib/browser/chunk-YN5OZEGS.mjs":{"imports":[{"path":"packages/plugins/plugin-deck/dist/lib/browser/chunk-NSATFAEE.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true}],"exports":["ATTENDABLE_PATH_SEPARATOR","DECK_ACTION","DECK_COMPANION_TYPE","DeckAction","DeckPluginState","DeckSettingsSchema","DeckState","NewPlankPositions","OverscrollOptions","PLANK_COMPANION_TYPE","PlankSizing","defaultDeck","getMode","isLayoutMode"],"inputs":{"packages/plugins/plugin-deck/src/types.ts":{"bytesInOutput":5125}},"bytes":5539},"packages/plugins/plugin-deck/dist/lib/browser/chunk-NSATFAEE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":504},"packages/plugins/plugin-deck/dist/lib/browser/chunk-NSATFAEE.mjs":{"imports":[],"exports":["DECK_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-deck/src/meta.ts":{"bytesInOutput":125}},"bytes":248}}}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DeckLayout
|
|
3
|
-
} from "./chunk-RMCRP7HV.mjs";
|
|
4
|
-
import "./chunk-RAZK4XT5.mjs";
|
|
5
|
-
import "./chunk-FX44YX3G.mjs";
|
|
6
|
-
import "./chunk-TRFYUEBA.mjs";
|
|
7
|
-
import {
|
|
8
|
-
DeckCapabilities
|
|
9
|
-
} from "./chunk-KLN73CM3.mjs";
|
|
10
|
-
import "./chunk-YN5OZEGS.mjs";
|
|
11
|
-
import {
|
|
12
|
-
DECK_PLUGIN
|
|
13
|
-
} from "./chunk-NSATFAEE.mjs";
|
|
14
|
-
|
|
15
|
-
// packages/plugins/plugin-deck/src/capabilities/react-root.tsx
|
|
16
|
-
import React, { useCallback } from "react";
|
|
17
|
-
import { Capabilities, contributes, useCapability } from "@dxos/app-framework";
|
|
18
|
-
var react_root_default = () => contributes(Capabilities.ReactRoot, {
|
|
19
|
-
id: DECK_PLUGIN,
|
|
20
|
-
root: () => {
|
|
21
|
-
const layout = useCapability(DeckCapabilities.MutableDeckState);
|
|
22
|
-
const handleDismissToast = useCallback((id) => {
|
|
23
|
-
const index = layout.toasts.findIndex((toast) => toast.id === id);
|
|
24
|
-
if (index !== -1) {
|
|
25
|
-
setTimeout(() => {
|
|
26
|
-
if (layout.toasts[index].id === layout.currentUndoId) {
|
|
27
|
-
layout.currentUndoId = void 0;
|
|
28
|
-
}
|
|
29
|
-
layout.toasts.splice(index, 1);
|
|
30
|
-
}, 1e3);
|
|
31
|
-
}
|
|
32
|
-
}, [
|
|
33
|
-
layout.toasts
|
|
34
|
-
]);
|
|
35
|
-
return /* @__PURE__ */ React.createElement(DeckLayout, {
|
|
36
|
-
onDismissToast: handleDismissToast
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
export {
|
|
41
|
-
react_root_default as default
|
|
42
|
-
};
|
|
43
|
-
//# sourceMappingURL=react-root-C4HIM5CI.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/capabilities/react-root.tsx"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport React, { useCallback } from 'react';\n\nimport { Capabilities, contributes, useCapability } from '@dxos/app-framework';\n\nimport { DeckCapabilities } from './capabilities';\nimport { DeckLayout } from '../components';\nimport { DECK_PLUGIN } from '../meta';\n\nexport default () =>\n contributes(Capabilities.ReactRoot, {\n id: DECK_PLUGIN,\n root: () => {\n const layout = useCapability(DeckCapabilities.MutableDeckState);\n\n const handleDismissToast = useCallback(\n (id: string) => {\n const index = layout.toasts.findIndex((toast) => toast.id === id);\n if (index !== -1) {\n // Allow time for the toast to animate out.\n // TODO(burdon): Factor out and unregister timeout.\n setTimeout(() => {\n if (layout.toasts[index].id === layout.currentUndoId) {\n layout.currentUndoId = undefined;\n }\n layout.toasts.splice(index, 1);\n }, 1_000);\n }\n },\n [layout.toasts],\n );\n\n return <DeckLayout onDismissToast={handleDismissToast} />;\n },\n });\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;AAIA,OAAOA,SAASC,mBAAmB;AAEnC,SAASC,cAAcC,aAAaC,qBAAqB;AAMzD,IAAA,qBAAe,MACbC,YAAYC,aAAaC,WAAW;EAClCC,IAAIC;EACJC,MAAM,MAAA;AACJ,UAAMC,SAASC,cAAcC,iBAAiBC,gBAAgB;AAE9D,UAAMC,qBAAqBC,YACzB,CAACR,OAAAA;AACC,YAAMS,QAAQN,OAAOO,OAAOC,UAAU,CAACC,UAAUA,MAAMZ,OAAOA,EAAAA;AAC9D,UAAIS,UAAU,IAAI;AAGhBI,mBAAW,MAAA;AACT,cAAIV,OAAOO,OAAOD,KAAAA,EAAOT,OAAOG,OAAOW,eAAe;AACpDX,mBAAOW,gBAAgBC;UACzB;AACAZ,iBAAOO,OAAOM,OAAOP,OAAO,CAAA;QAC9B,GAAG,GAAA;MACL;IACF,GACA;MAACN,OAAOO;KAAO;AAGjB,WAAO,sBAAA,cAACO,YAAAA;MAAWC,gBAAgBX;;EACrC;AACF,CAAA;",
|
|
6
|
-
"names": ["React", "useCallback", "Capabilities", "contributes", "useCapability", "contributes", "Capabilities", "ReactRoot", "id", "DECK_PLUGIN", "root", "layout", "useCapability", "DeckCapabilities", "MutableDeckState", "handleDismissToast", "useCallback", "index", "toasts", "findIndex", "toast", "setTimeout", "currentUndoId", "undefined", "splice", "DeckLayout", "onDismissToast"]
|
|
7
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Banner,
|
|
3
|
-
DeckSettings
|
|
4
|
-
} from "./chunk-RMCRP7HV.mjs";
|
|
5
|
-
import "./chunk-RAZK4XT5.mjs";
|
|
6
|
-
import "./chunk-FX44YX3G.mjs";
|
|
7
|
-
import "./chunk-TRFYUEBA.mjs";
|
|
8
|
-
import "./chunk-KLN73CM3.mjs";
|
|
9
|
-
import "./chunk-YN5OZEGS.mjs";
|
|
10
|
-
import {
|
|
11
|
-
DECK_PLUGIN
|
|
12
|
-
} from "./chunk-NSATFAEE.mjs";
|
|
13
|
-
|
|
14
|
-
// packages/plugins/plugin-deck/src/capabilities/react-surface.tsx
|
|
15
|
-
import React from "react";
|
|
16
|
-
import { Capabilities, contributes, createSurface } from "@dxos/app-framework";
|
|
17
|
-
import { SettingsStore } from "@dxos/local-storage";
|
|
18
|
-
var react_surface_default = () => contributes(Capabilities.ReactSurface, [
|
|
19
|
-
createSurface({
|
|
20
|
-
id: `${DECK_PLUGIN}/plugin-settings`,
|
|
21
|
-
role: "article",
|
|
22
|
-
filter: (data) => data.subject instanceof SettingsStore && data.subject.prefix === DECK_PLUGIN,
|
|
23
|
-
component: ({ data: { subject } }) => /* @__PURE__ */ React.createElement(DeckSettings, {
|
|
24
|
-
settings: subject.value
|
|
25
|
-
})
|
|
26
|
-
}),
|
|
27
|
-
createSurface({
|
|
28
|
-
id: `${DECK_PLUGIN}/banner`,
|
|
29
|
-
role: "banner",
|
|
30
|
-
component: ({ data }) => {
|
|
31
|
-
return /* @__PURE__ */ React.createElement(Banner, {
|
|
32
|
-
variant: data.variant
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
})
|
|
36
|
-
]);
|
|
37
|
-
export {
|
|
38
|
-
react_surface_default as default
|
|
39
|
-
};
|
|
40
|
-
//# sourceMappingURL=react-surface-RV2AZ6WZ.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/capabilities/react-surface.tsx"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport React from 'react';\n\nimport { Capabilities, contributes, createSurface } from '@dxos/app-framework';\nimport { SettingsStore } from '@dxos/local-storage';\n\nimport { DeckSettings, Banner } from '../components';\nimport { DECK_PLUGIN } from '../meta';\nimport { type DeckSettingsProps } from '../types';\n\nexport default () =>\n contributes(Capabilities.ReactSurface, [\n createSurface({\n id: `${DECK_PLUGIN}/plugin-settings`,\n role: 'article',\n filter: (data): data is { subject: SettingsStore<DeckSettingsProps> } =>\n data.subject instanceof SettingsStore && data.subject.prefix === DECK_PLUGIN,\n component: ({ data: { subject } }) => <DeckSettings settings={subject.value} />,\n }),\n createSurface({\n id: `${DECK_PLUGIN}/banner`,\n role: 'banner',\n component: ({ data }) => {\n return <Banner variant={data.variant} />;\n },\n }),\n ]);\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;AAIA,OAAOA,WAAW;AAElB,SAASC,cAAcC,aAAaC,qBAAqB;AACzD,SAASC,qBAAqB;AAM9B,IAAA,wBAAe,MACbC,YAAYC,aAAaC,cAAc;EACrCC,cAAc;IACZC,IAAI,GAAGC,WAAAA;IACPC,MAAM;IACNC,QAAQ,CAACC,SACPA,KAAKC,mBAAmBC,iBAAiBF,KAAKC,QAAQE,WAAWN;IACnEO,WAAW,CAAC,EAAEJ,MAAM,EAAEC,QAAO,EAAE,MAAO,sBAAA,cAACI,cAAAA;MAAaC,UAAUL,QAAQM;;EACxE,CAAA;EACAZ,cAAc;IACZC,IAAI,GAAGC,WAAAA;IACPC,MAAM;IACNM,WAAW,CAAC,EAAEJ,KAAI,MAAE;AAClB,aAAO,sBAAA,cAACQ,QAAAA;QAAOC,SAAST,KAAKS;;IAC/B;EACF,CAAA;CACD;",
|
|
6
|
-
"names": ["React", "Capabilities", "contributes", "createSurface", "SettingsStore", "contributes", "Capabilities", "ReactSurface", "createSurface", "id", "DECK_PLUGIN", "role", "filter", "data", "subject", "SettingsStore", "prefix", "component", "DeckSettings", "settings", "value", "Banner", "variant"]
|
|
7
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DeckSettingsSchema
|
|
3
|
-
} from "./chunk-YN5OZEGS.mjs";
|
|
4
|
-
import {
|
|
5
|
-
meta
|
|
6
|
-
} from "./chunk-NSATFAEE.mjs";
|
|
7
|
-
|
|
8
|
-
// packages/plugins/plugin-deck/src/capabilities/settings.ts
|
|
9
|
-
import { Capabilities, contributes } from "@dxos/app-framework";
|
|
10
|
-
import { live } from "@dxos/live-object";
|
|
11
|
-
var settings_default = () => {
|
|
12
|
-
const settings = live({
|
|
13
|
-
showHints: false,
|
|
14
|
-
enableDeck: false,
|
|
15
|
-
enableStatusbar: false,
|
|
16
|
-
enableNativeRedirect: false,
|
|
17
|
-
newPlankPositioning: "start",
|
|
18
|
-
overscroll: "none"
|
|
19
|
-
});
|
|
20
|
-
return contributes(Capabilities.Settings, {
|
|
21
|
-
prefix: meta.id,
|
|
22
|
-
schema: DeckSettingsSchema,
|
|
23
|
-
value: settings
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
export {
|
|
27
|
-
settings_default as default
|
|
28
|
-
};
|
|
29
|
-
//# sourceMappingURL=settings-7VUU3ZJ4.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/capabilities/settings.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capabilities, contributes } from '@dxos/app-framework';\nimport { live } from '@dxos/live-object';\n\nimport { meta } from '../meta';\nimport { DeckSettingsSchema, type DeckSettingsProps } from '../types';\n\nexport default () => {\n const settings = live<DeckSettingsProps>({\n showHints: false,\n enableDeck: false,\n enableStatusbar: false,\n enableNativeRedirect: false,\n newPlankPositioning: 'start',\n overscroll: 'none',\n });\n\n return contributes(Capabilities.Settings, {\n prefix: meta.id,\n schema: DeckSettingsSchema,\n value: settings,\n });\n};\n"],
|
|
5
|
-
"mappings": ";;;;;;;;AAIA,SAASA,cAAcC,mBAAmB;AAC1C,SAASC,YAAY;AAKrB,IAAA,mBAAe,MAAA;AACb,QAAMC,WAAWC,KAAwB;IACvCC,WAAW;IACXC,YAAY;IACZC,iBAAiB;IACjBC,sBAAsB;IACtBC,qBAAqB;IACrBC,YAAY;EACd,CAAA;AAEA,SAAOC,YAAYC,aAAaC,UAAU;IACxCC,QAAQC,KAAKC;IACbC,QAAQC;IACRC,OAAOhB;EACT,CAAA;AACF;",
|
|
6
|
-
"names": ["Capabilities", "contributes", "live", "settings", "live", "showHints", "enableDeck", "enableStatusbar", "enableNativeRedirect", "newPlankPositioning", "overscroll", "contributes", "Capabilities", "Settings", "prefix", "meta", "id", "schema", "DeckSettingsSchema", "value"]
|
|
7
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DeckAction
|
|
3
|
-
} from "./chunk-YN5OZEGS.mjs";
|
|
4
|
-
import {
|
|
5
|
-
meta
|
|
6
|
-
} from "./chunk-NSATFAEE.mjs";
|
|
7
|
-
|
|
8
|
-
// packages/plugins/plugin-deck/src/capabilities/tools.ts
|
|
9
|
-
import { Schema } from "effect";
|
|
10
|
-
import { createTool, ToolResult } from "@dxos/ai";
|
|
11
|
-
import { contributes, createIntent, Capabilities, LayoutAction } from "@dxos/app-framework";
|
|
12
|
-
import { invariant } from "@dxos/invariant";
|
|
13
|
-
var __dxlog_file = "/home/runner/work/dxos/dxos/packages/plugins/plugin-deck/src/capabilities/tools.ts";
|
|
14
|
-
var tools_default = () => contributes(Capabilities.Tools, [
|
|
15
|
-
createTool(meta.id, {
|
|
16
|
-
name: "show",
|
|
17
|
-
description: `
|
|
18
|
-
Show an item as a companion to an existing plank. This will make the item appear alongside the primary content.
|
|
19
|
-
When supplying IDs, they must be fully qualified like space:object.
|
|
20
|
-
`,
|
|
21
|
-
caption: "Showing item...",
|
|
22
|
-
// TODO(wittjosiah): Refactor Layout/Navigation/Deck actions so that they can be used directly.
|
|
23
|
-
schema: Schema.Struct({
|
|
24
|
-
id: Schema.String.annotations({
|
|
25
|
-
description: "The ID of the item to show."
|
|
26
|
-
})
|
|
27
|
-
}),
|
|
28
|
-
execute: async ({ id }, { extensions }) => {
|
|
29
|
-
invariant(extensions, void 0, {
|
|
30
|
-
F: __dxlog_file,
|
|
31
|
-
L: 45,
|
|
32
|
-
S: void 0,
|
|
33
|
-
A: [
|
|
34
|
-
"extensions",
|
|
35
|
-
""
|
|
36
|
-
]
|
|
37
|
-
});
|
|
38
|
-
const { pivotId, dispatch, part } = extensions;
|
|
39
|
-
invariant(pivotId, "No pivot ID", {
|
|
40
|
-
F: __dxlog_file,
|
|
41
|
-
L: 47,
|
|
42
|
-
S: void 0,
|
|
43
|
-
A: [
|
|
44
|
-
"pivotId",
|
|
45
|
-
"'No pivot ID'"
|
|
46
|
-
]
|
|
47
|
-
});
|
|
48
|
-
invariant(dispatch, "No intent dispatcher", {
|
|
49
|
-
F: __dxlog_file,
|
|
50
|
-
L: 48,
|
|
51
|
-
S: void 0,
|
|
52
|
-
A: [
|
|
53
|
-
"dispatch",
|
|
54
|
-
"'No intent dispatcher'"
|
|
55
|
-
]
|
|
56
|
-
});
|
|
57
|
-
if (part === "deck") {
|
|
58
|
-
const { data, error } = await dispatch(createIntent(DeckAction.ChangeCompanion, {
|
|
59
|
-
primary: pivotId,
|
|
60
|
-
companion: id
|
|
61
|
-
}));
|
|
62
|
-
if (error) {
|
|
63
|
-
return ToolResult.Error(error.message);
|
|
64
|
-
}
|
|
65
|
-
return ToolResult.Success(data);
|
|
66
|
-
} else {
|
|
67
|
-
const { data, error } = await dispatch(createIntent(LayoutAction.Open, {
|
|
68
|
-
subject: [
|
|
69
|
-
id
|
|
70
|
-
],
|
|
71
|
-
part: "main",
|
|
72
|
-
options: {
|
|
73
|
-
pivotId,
|
|
74
|
-
positioning: "end"
|
|
75
|
-
}
|
|
76
|
-
}));
|
|
77
|
-
if (error) {
|
|
78
|
-
return ToolResult.Error(error.message);
|
|
79
|
-
}
|
|
80
|
-
return ToolResult.Success(data);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
})
|
|
84
|
-
]);
|
|
85
|
-
export {
|
|
86
|
-
tools_default as default
|
|
87
|
-
};
|
|
88
|
-
//# sourceMappingURL=tools-N57NQ2LH.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/capabilities/tools.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Schema } from 'effect';\n\nimport { createTool, ToolResult } from '@dxos/ai';\nimport {\n contributes,\n createIntent,\n Capabilities,\n LayoutAction,\n type PromiseIntentDispatcher,\n} from '@dxos/app-framework';\nimport { invariant } from '@dxos/invariant';\n\nimport { meta } from '../meta';\nimport { DeckAction } from '../types';\n\n// TODO(burdon): Factor out.\ndeclare global {\n interface ToolContextExtensions {\n dispatch?: PromiseIntentDispatcher;\n pivotId?: string;\n part?: 'deck' | 'dialog';\n }\n}\n\nexport default () =>\n contributes(Capabilities.Tools, [\n createTool(meta.id, {\n name: 'show',\n description: `\n Show an item as a companion to an existing plank. This will make the item appear alongside the primary content.\n When supplying IDs, they must be fully qualified like space:object.\n `,\n caption: 'Showing item...',\n // TODO(wittjosiah): Refactor Layout/Navigation/Deck actions so that they can be used directly.\n schema: Schema.Struct({\n id: Schema.String.annotations({\n description: 'The ID of the item to show.',\n }),\n }),\n execute: async ({ id }, { extensions }) => {\n invariant(extensions);\n const { pivotId, dispatch, part } = extensions;\n invariant(pivotId, 'No pivot ID');\n invariant(dispatch, 'No intent dispatcher');\n\n if (part === 'deck') {\n const { data, error } = await dispatch(\n createIntent(DeckAction.ChangeCompanion, {\n primary: pivotId,\n companion: id,\n }),\n );\n if (error) {\n return ToolResult.Error(error.message);\n }\n\n return ToolResult.Success(data);\n } else {\n const { data, error } = await dispatch(\n createIntent(LayoutAction.Open, {\n subject: [id],\n part: 'main',\n options: {\n pivotId,\n positioning: 'end',\n },\n }),\n );\n if (error) {\n return ToolResult.Error(error.message);\n }\n\n return ToolResult.Success(data);\n }\n },\n }),\n ]);\n"],
|
|
5
|
-
"mappings": ";;;;;;;;AAIA,SAASA,cAAc;AAEvB,SAASC,YAAYC,kBAAkB;AACvC,SACEC,aACAC,cACAC,cACAC,oBAEK;AACP,SAASC,iBAAiB;;AAc1B,IAAA,gBAAe,MACbC,YAAYC,aAAaC,OAAO;EAC9BC,WAAWC,KAAKC,IAAI;IAClBC,MAAM;IACNC,aAAa;;;;IAIbC,SAAS;;IAETC,QAAQC,OAAOC,OAAO;MACpBN,IAAIK,OAAOE,OAAOC,YAAY;QAC5BN,aAAa;MACf,CAAA;IACF,CAAA;IACAO,SAAS,OAAO,EAAET,GAAE,GAAI,EAAEU,WAAU,MAAE;AACpCC,gBAAUD,YAAAA,QAAAA;;;;;;;;;AACV,YAAM,EAAEE,SAASC,UAAUC,KAAI,IAAKJ;AACpCC,gBAAUC,SAAS,eAAA;;;;;;;;;AACnBD,gBAAUE,UAAU,wBAAA;;;;;;;;;AAEpB,UAAIC,SAAS,QAAQ;AACnB,cAAM,EAAEC,MAAMC,MAAK,IAAK,MAAMH,SAC5BI,aAAaC,WAAWC,iBAAiB;UACvCC,SAASR;UACTS,WAAWrB;QACb,CAAA,CAAA;AAEF,YAAIgB,OAAO;AACT,iBAAOM,WAAWC,MAAMP,MAAMQ,OAAO;QACvC;AAEA,eAAOF,WAAWG,QAAQV,IAAAA;MAC5B,OAAO;AACL,cAAM,EAAEA,MAAMC,MAAK,IAAK,MAAMH,SAC5BI,aAAaS,aAAaC,MAAM;UAC9BC,SAAS;YAAC5B;;UACVc,MAAM;UACNe,SAAS;YACPjB;YACAkB,aAAa;UACf;QACF,CAAA,CAAA;AAEF,YAAId,OAAO;AACT,iBAAOM,WAAWC,MAAMP,MAAMQ,OAAO;QACvC;AAEA,eAAOF,WAAWG,QAAQV,IAAAA;MAC5B;IACF;EACF,CAAA;CACD;",
|
|
6
|
-
"names": ["Schema", "createTool", "ToolResult", "contributes", "createIntent", "Capabilities", "LayoutAction", "invariant", "contributes", "Capabilities", "Tools", "createTool", "meta", "id", "name", "description", "caption", "schema", "Schema", "Struct", "String", "annotations", "execute", "extensions", "invariant", "pivotId", "dispatch", "part", "data", "error", "createIntent", "DeckAction", "ChangeCompanion", "primary", "companion", "ToolResult", "Error", "message", "Success", "LayoutAction", "Open", "subject", "options", "positioning"]
|
|
7
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ATTENDABLE_PATH_SEPARATOR,
|
|
3
|
-
DECK_ACTION,
|
|
4
|
-
DECK_COMPANION_TYPE,
|
|
5
|
-
DeckAction,
|
|
6
|
-
DeckPluginState,
|
|
7
|
-
DeckSettingsSchema,
|
|
8
|
-
DeckState,
|
|
9
|
-
NewPlankPositions,
|
|
10
|
-
OverscrollOptions,
|
|
11
|
-
PLANK_COMPANION_TYPE,
|
|
12
|
-
PlankSizing,
|
|
13
|
-
defaultDeck,
|
|
14
|
-
getMode,
|
|
15
|
-
isLayoutMode
|
|
16
|
-
} from "./chunk-YN5OZEGS.mjs";
|
|
17
|
-
import "./chunk-NSATFAEE.mjs";
|
|
18
|
-
export {
|
|
19
|
-
ATTENDABLE_PATH_SEPARATOR,
|
|
20
|
-
DECK_ACTION,
|
|
21
|
-
DECK_COMPANION_TYPE,
|
|
22
|
-
DeckAction,
|
|
23
|
-
DeckPluginState,
|
|
24
|
-
DeckSettingsSchema,
|
|
25
|
-
DeckState,
|
|
26
|
-
NewPlankPositions,
|
|
27
|
-
OverscrollOptions,
|
|
28
|
-
PLANK_COMPANION_TYPE,
|
|
29
|
-
PlankSizing,
|
|
30
|
-
defaultDeck,
|
|
31
|
-
getMode,
|
|
32
|
-
isLayoutMode
|
|
33
|
-
};
|
|
34
|
-
//# sourceMappingURL=types.mjs.map
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DeckCapabilities
|
|
3
|
-
} from "./chunk-KLN73CM3.mjs";
|
|
4
|
-
import {
|
|
5
|
-
defaultDeck
|
|
6
|
-
} from "./chunk-YN5OZEGS.mjs";
|
|
7
|
-
import "./chunk-NSATFAEE.mjs";
|
|
8
|
-
|
|
9
|
-
// packages/plugins/plugin-deck/src/capabilities/url-handler.ts
|
|
10
|
-
import { Capabilities, contributes, createIntent, LayoutAction } from "@dxos/app-framework";
|
|
11
|
-
import { scheduledEffect } from "@dxos/echo-signals/core";
|
|
12
|
-
var url_handler_default = async (context) => {
|
|
13
|
-
const { dispatchPromise: dispatch } = context.getCapability(Capabilities.IntentDispatcher);
|
|
14
|
-
const state = context.getCapability(DeckCapabilities.MutableDeckState);
|
|
15
|
-
const handleNavigation = async () => {
|
|
16
|
-
const pathname = window.location.pathname;
|
|
17
|
-
if (pathname === "/reset") {
|
|
18
|
-
state.activeDeck = "default";
|
|
19
|
-
state.decks = {
|
|
20
|
-
default: {
|
|
21
|
-
...defaultDeck
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
window.location.pathname = "/";
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
const [_, nextDeck, nextSolo] = pathname.split("/");
|
|
28
|
-
if (nextDeck && nextDeck !== state.activeDeck) {
|
|
29
|
-
await dispatch(createIntent(LayoutAction.SwitchWorkspace, {
|
|
30
|
-
part: "workspace",
|
|
31
|
-
subject: nextDeck
|
|
32
|
-
}));
|
|
33
|
-
}
|
|
34
|
-
if (nextSolo && nextSolo !== state.deck.solo) {
|
|
35
|
-
await dispatch(createIntent(LayoutAction.SetLayoutMode, {
|
|
36
|
-
part: "mode",
|
|
37
|
-
subject: nextSolo,
|
|
38
|
-
options: {
|
|
39
|
-
mode: "solo"
|
|
40
|
-
}
|
|
41
|
-
}));
|
|
42
|
-
} else if (!nextSolo && state.deck.solo) {
|
|
43
|
-
await dispatch(createIntent(LayoutAction.SetLayoutMode, {
|
|
44
|
-
part: "mode",
|
|
45
|
-
options: {
|
|
46
|
-
mode: "deck"
|
|
47
|
-
}
|
|
48
|
-
}));
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
await handleNavigation();
|
|
52
|
-
window.addEventListener("popstate", handleNavigation);
|
|
53
|
-
const unsubscribe = scheduledEffect(() => ({
|
|
54
|
-
solo: state.deck.solo,
|
|
55
|
-
activeDeck: state.activeDeck
|
|
56
|
-
}), ({ solo, activeDeck }) => {
|
|
57
|
-
const path = solo ? `/${activeDeck}/${solo}` : `/${activeDeck}`;
|
|
58
|
-
if (window.location.pathname !== path) {
|
|
59
|
-
history.pushState(null, "", `${path}${window.location.search}`);
|
|
60
|
-
}
|
|
61
|
-
});
|
|
62
|
-
return contributes(Capabilities.Null, null, () => {
|
|
63
|
-
window.removeEventListener("popstate", handleNavigation);
|
|
64
|
-
unsubscribe();
|
|
65
|
-
});
|
|
66
|
-
};
|
|
67
|
-
export {
|
|
68
|
-
url_handler_default as default
|
|
69
|
-
};
|
|
70
|
-
//# sourceMappingURL=url-handler-BUGI6XRE.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/capabilities/url-handler.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Capabilities, contributes, createIntent, LayoutAction, type PluginContext } from '@dxos/app-framework';\nimport { scheduledEffect } from '@dxos/echo-signals/core';\n\nimport { DeckCapabilities } from './capabilities';\nimport { defaultDeck } from '../types';\n\n// TODO(wittjosiah): Cleanup the url handling. May justify introducing routing capabilities.\nexport default async (context: PluginContext) => {\n const { dispatchPromise: dispatch } = context.getCapability(Capabilities.IntentDispatcher);\n const state = context.getCapability(DeckCapabilities.MutableDeckState);\n\n const handleNavigation = async () => {\n const pathname = window.location.pathname;\n if (pathname === '/reset') {\n state.activeDeck = 'default';\n state.decks = {\n default: { ...defaultDeck },\n };\n window.location.pathname = '/';\n return;\n }\n\n const [_, nextDeck, nextSolo] = pathname.split('/');\n if (nextDeck && nextDeck !== state.activeDeck) {\n await dispatch(createIntent(LayoutAction.SwitchWorkspace, { part: 'workspace', subject: nextDeck }));\n }\n\n if (nextSolo && nextSolo !== state.deck.solo) {\n await dispatch(\n createIntent(LayoutAction.SetLayoutMode, { part: 'mode', subject: nextSolo, options: { mode: 'solo' } }),\n );\n } else if (!nextSolo && state.deck.solo) {\n await dispatch(createIntent(LayoutAction.SetLayoutMode, { part: 'mode', options: { mode: 'deck' } }));\n }\n };\n\n await handleNavigation();\n window.addEventListener('popstate', handleNavigation);\n\n const unsubscribe = scheduledEffect(\n () => ({ solo: state.deck.solo, activeDeck: state.activeDeck }),\n ({ solo, activeDeck }) => {\n const path = solo ? `/${activeDeck}/${solo}` : `/${activeDeck}`;\n if (window.location.pathname !== path) {\n // TODO(thure): In some browsers, this only preserves the most recent state change, even though this is not `history.replace`…\n history.pushState(null, '', `${path}${window.location.search}`);\n }\n },\n );\n\n return contributes(Capabilities.Null, null, () => {\n window.removeEventListener('popstate', handleNavigation);\n unsubscribe();\n });\n};\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;AAIA,SAASA,cAAcC,aAAaC,cAAcC,oBAAwC;AAC1F,SAASC,uBAAuB;AAMhC,IAAA,sBAAe,OAAOC,YAAAA;AACpB,QAAM,EAAEC,iBAAiBC,SAAQ,IAAKF,QAAQG,cAAcC,aAAaC,gBAAgB;AACzF,QAAMC,QAAQN,QAAQG,cAAcI,iBAAiBC,gBAAgB;AAErE,QAAMC,mBAAmB,YAAA;AACvB,UAAMC,WAAWC,OAAOC,SAASF;AACjC,QAAIA,aAAa,UAAU;AACzBJ,YAAMO,aAAa;AACnBP,YAAMQ,QAAQ;QACZC,SAAS;UAAE,GAAGC;QAAY;MAC5B;AACAL,aAAOC,SAASF,WAAW;AAC3B;IACF;AAEA,UAAM,CAACO,GAAGC,UAAUC,QAAAA,IAAYT,SAASU,MAAM,GAAA;AAC/C,QAAIF,YAAYA,aAAaZ,MAAMO,YAAY;AAC7C,YAAMX,SAASmB,aAAaC,aAAaC,iBAAiB;QAAEC,MAAM;QAAaC,SAASP;MAAS,CAAA,CAAA;IACnG;AAEA,QAAIC,YAAYA,aAAab,MAAMoB,KAAKC,MAAM;AAC5C,YAAMzB,SACJmB,aAAaC,aAAaM,eAAe;QAAEJ,MAAM;QAAQC,SAASN;QAAUU,SAAS;UAAEC,MAAM;QAAO;MAAE,CAAA,CAAA;IAE1G,WAAW,CAACX,YAAYb,MAAMoB,KAAKC,MAAM;AACvC,YAAMzB,SAASmB,aAAaC,aAAaM,eAAe;QAAEJ,MAAM;QAAQK,SAAS;UAAEC,MAAM;QAAO;MAAE,CAAA,CAAA;IACpG;EACF;AAEA,QAAMrB,iBAAAA;AACNE,SAAOoB,iBAAiB,YAAYtB,gBAAAA;AAEpC,QAAMuB,cAAcC,gBAClB,OAAO;IAAEN,MAAMrB,MAAMoB,KAAKC;IAAMd,YAAYP,MAAMO;EAAW,IAC7D,CAAC,EAAEc,MAAMd,WAAU,MAAE;AACnB,UAAMqB,OAAOP,OAAO,IAAId,UAAAA,IAAcc,IAAAA,KAAS,IAAId,UAAAA;AACnD,QAAIF,OAAOC,SAASF,aAAawB,MAAM;AAErCC,cAAQC,UAAU,MAAM,IAAI,GAAGF,IAAAA,GAAOvB,OAAOC,SAASyB,MAAM,EAAE;IAChE;EACF,CAAA;AAGF,SAAOC,YAAYlC,aAAamC,MAAM,MAAM,MAAA;AAC1C5B,WAAO6B,oBAAoB,YAAY/B,gBAAAA;AACvCuB,gBAAAA;EACF,CAAA;AACF;",
|
|
6
|
-
"names": ["Capabilities", "contributes", "createIntent", "LayoutAction", "scheduledEffect", "context", "dispatchPromise", "dispatch", "getCapability", "Capabilities", "IntentDispatcher", "state", "DeckCapabilities", "MutableDeckState", "handleNavigation", "pathname", "window", "location", "activeDeck", "decks", "default", "defaultDeck", "_", "nextDeck", "nextSolo", "split", "createIntent", "LayoutAction", "SwitchWorkspace", "part", "subject", "deck", "solo", "SetLayoutMode", "options", "mode", "addEventListener", "unsubscribe", "scheduledEffect", "path", "history", "pushState", "search", "contributes", "Null", "removeEventListener"]
|
|
7
|
-
}
|