@dxos/plugin-deck 0.8.4-main.422d1c7879 → 0.8.4-main.4f23b4e393
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/{browser/add-toast-EUN62IUE.mjs → neutral/add-toast-2OMTFZ2L.mjs} +5 -5
- package/dist/lib/{browser/add-toast-EUN62IUE.mjs.map → neutral/add-toast-2OMTFZ2L.mjs.map} +2 -2
- package/dist/lib/{browser/adjust-XWB6ZZ6U.mjs → neutral/adjust-RXTF3IT3.mjs} +15 -17
- 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-6MOYMDKQ.mjs +8 -0
- package/dist/lib/neutral/chunk-6MOYMDKQ.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/{browser/chunk-KUTDCWZF.mjs → neutral/chunk-GLB73Q6U.mjs} +2 -10
- package/dist/lib/{browser/chunk-KUTDCWZF.mjs.map → neutral/chunk-GLB73Q6U.mjs.map} +2 -2
- package/dist/lib/neutral/chunk-JMYWDX4I.mjs +19 -0
- package/dist/lib/neutral/chunk-JMYWDX4I.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/{browser/chunk-DF2VZ6W3.mjs → neutral/chunk-ZYYOSX5I.mjs} +1 -1
- package/dist/lib/{browser/chunk-DF2VZ6W3.mjs.map → neutral/chunk-ZYYOSX5I.mjs.map} +2 -2
- package/dist/lib/{browser/close-JXK73YIM.mjs → neutral/close-DG5IVQCE.mjs} +12 -12
- package/dist/lib/{browser/close-JXK73YIM.mjs.map → neutral/close-DG5IVQCE.mjs.map} +2 -2
- 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/{node-esm/types → neutral}/index.mjs +13 -8
- package/dist/lib/neutral/meta.json +1 -0
- package/dist/lib/neutral/meta.mjs +8 -0
- package/dist/lib/{browser/open-K2JOEW2E.mjs → neutral/open-SGYZO7RF.mjs} +21 -24
- package/dist/lib/neutral/open-SGYZO7RF.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/{browser/revert-workspace-BNIR5U64.mjs → neutral/revert-workspace-V6D7W6CL.mjs} +5 -5
- package/dist/lib/{browser/revert-workspace-BNIR5U64.mjs.map → neutral/revert-workspace-V6D7W6CL.mjs.map} +2 -2
- package/dist/lib/{browser/scroll-into-view-4GSKC3GA.mjs → neutral/scroll-into-view-UM446Q2T.mjs} +5 -5
- package/dist/lib/{browser/scroll-into-view-4GSKC3GA.mjs.map → neutral/scroll-into-view-UM446Q2T.mjs.map} +2 -2
- package/dist/lib/{browser/set-XCG6NIAO.mjs → neutral/set-JFFKT32S.mjs} +11 -11
- package/dist/lib/{browser/set-XCG6NIAO.mjs.map → neutral/set-JFFKT32S.mjs.map} +2 -2
- package/dist/lib/{browser/set-layout-mode-BEVNGOY2.mjs → neutral/set-layout-mode-I4YV5V2Y.mjs} +10 -15
- 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/{browser/show-undo-5RQNREEB.mjs → neutral/show-undo-ZCMF4J2Q.mjs} +5 -5
- package/dist/lib/{browser/show-undo-5RQNREEB.mjs.map → neutral/show-undo-ZCMF4J2Q.mjs.map} +2 -2
- package/dist/lib/neutral/state-IIDXMQUO.mjs +86 -0
- package/dist/lib/neutral/state-IIDXMQUO.mjs.map +7 -0
- package/dist/lib/{browser/switch-workspace-ICJJWNFT.mjs → neutral/switch-workspace-CVDYG5YZ.mjs} +8 -16
- 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/{browser → neutral}/types/index.mjs +7 -5
- package/dist/lib/neutral/types/index.mjs.map +7 -0
- package/dist/lib/{browser/update-companion-VPCBH3YT.mjs → neutral/update-companion-VPCM7FJX.mjs} +7 -7
- package/dist/lib/neutral/update-companion-VPCM7FJX.mjs.map +7 -0
- package/dist/lib/{browser/update-complementary-74DEQY6T.mjs → neutral/update-complementary-SEQ6DDWA.mjs} +6 -6
- package/dist/lib/neutral/update-complementary-SEQ6DDWA.mjs.map +7 -0
- package/dist/lib/{browser/update-dialog-6TDUYI5R.mjs → neutral/update-dialog-VDHYE4QH.mjs} +5 -5
- package/dist/lib/{browser/update-dialog-6TDUYI5R.mjs.map → neutral/update-dialog-VDHYE4QH.mjs.map} +2 -2
- 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/{browser/update-popover-W7E2Z5T6.mjs → neutral/update-popover-VFP32W57.mjs} +5 -5
- package/dist/lib/{browser/update-popover-W7E2Z5T6.mjs.map → neutral/update-popover-VFP32W57.mjs.map} +2 -2
- package/dist/lib/{browser/update-sidebar-H3A6ZFRU.mjs → neutral/update-sidebar-O5HBOXYH.mjs} +6 -6
- package/dist/lib/{browser/update-sidebar-H3A6ZFRU.mjs.map → neutral/update-sidebar-O5HBOXYH.mjs.map} +2 -2
- 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 +1 -0
- 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.map +1 -1
- package/dist/types/src/capabilities/check-app-scheme.d.ts +1 -1
- package/dist/types/src/capabilities/check-app-scheme.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +17 -17
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/operation-handler.d.ts +1 -1
- package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-root.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/settings.d.ts.map +1 -1
- package/dist/types/src/capabilities/state.d.ts +16 -16
- package/dist/types/src/capabilities/state.d.ts.map +1 -1
- package/dist/types/src/capabilities/tools.d.ts.map +1 -1
- package/dist/types/src/capabilities/url-handler.d.ts +1 -1
- package/dist/types/src/capabilities/url-handler.d.ts.map +1 -1
- package/dist/types/src/components/DeckSettings/DeckSettings.d.ts.map +1 -1
- package/dist/types/src/components/DeckSettings/DeckSettings.stories.d.ts +42 -52
- package/dist/types/src/components/DeckSettings/DeckSettings.stories.d.ts.map +1 -1
- package/dist/types/src/components/Matrix/Matrix.d.ts +2 -2
- package/dist/types/src/components/Matrix/Matrix.d.ts.map +1 -1
- package/dist/types/src/components/Matrix/Matrix.stories.d.ts.map +1 -1
- package/dist/types/src/containers/Deck/Banner.d.ts +1 -1
- package/dist/types/src/containers/Deck/Banner.d.ts.map +1 -1
- package/dist/types/src/containers/Deck/Deck.d.ts.map +1 -1
- package/dist/types/src/containers/Deck/Deck.stories.d.ts +42 -52
- package/dist/types/src/containers/Deck/Deck.stories.d.ts.map +1 -1
- package/dist/types/src/containers/Deck/DeckContent.d.ts +4 -4
- package/dist/types/src/containers/Deck/DeckContent.d.ts.map +1 -1
- package/dist/types/src/containers/Deck/DeckRoot.d.ts +5 -8
- package/dist/types/src/containers/Deck/DeckRoot.d.ts.map +1 -1
- package/dist/types/src/containers/Deck/DeckViewport.d.ts +4 -7
- package/dist/types/src/containers/Deck/DeckViewport.d.ts.map +1 -1
- package/dist/types/src/containers/Deck/StatusBar.d.ts.map +1 -1
- package/dist/types/src/containers/DeckLayout/DeckLayout.d.ts.map +1 -1
- package/dist/types/src/containers/DeckLayout/DeckLayout.stories.d.ts +42 -52
- package/dist/types/src/containers/DeckLayout/DeckLayout.stories.d.ts.map +1 -1
- package/dist/types/src/containers/DeckLayout/Popover.d.ts.map +1 -1
- package/dist/types/src/containers/DeckLayout/Toast.d.ts +1 -1
- package/dist/types/src/containers/DeckLayout/Toast.d.ts.map +1 -1
- package/dist/types/src/containers/DeckLayout/index.d.ts.map +1 -1
- package/dist/types/src/containers/Plank/Plank.d.ts +1 -1
- package/dist/types/src/containers/Plank/Plank.d.ts.map +1 -1
- package/dist/types/src/containers/Plank/Plank.stories.d.ts +42 -52
- package/dist/types/src/containers/Plank/Plank.stories.d.ts.map +1 -1
- package/dist/types/src/containers/Plank/PlankContent.d.ts +1 -1
- package/dist/types/src/containers/Plank/PlankError.d.ts +1 -1
- package/dist/types/src/containers/Plank/PlankError.d.ts.map +1 -1
- package/dist/types/src/containers/Plank/PlankRoot.d.ts +1 -1
- package/dist/types/src/containers/Plank/PlankRoot.d.ts.map +1 -1
- package/dist/types/src/containers/Sidebar/ComplementarySidebar.d.ts.map +1 -1
- package/dist/types/src/containers/Sidebar/SidebarButton.d.ts +1 -1
- package/dist/types/src/containers/Sidebar/SidebarButton.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 +1 -1
- package/dist/types/src/hooks/useDeckCompanions.d.ts.map +1 -1
- package/dist/types/src/hooks/useHoistStatusbar.d.ts.map +1 -1
- package/dist/types/src/hooks/useMainSize.d.ts.map +1 -1
- package/dist/types/src/hooks/useNodeActionExpander.d.ts.map +1 -1
- package/dist/types/src/hooks/useSelectedCompanion.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -3
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/layout.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/operations/add-toast.d.ts +1 -1
- package/dist/types/src/operations/add-toast.d.ts.map +1 -1
- package/dist/types/src/operations/adjust.d.ts +3 -3
- package/dist/types/src/operations/adjust.d.ts.map +1 -1
- package/dist/types/src/operations/close.d.ts +1 -1
- package/dist/types/src/operations/close.d.ts.map +1 -1
- package/dist/types/src/operations/helpers.d.ts.map +1 -1
- package/dist/types/src/operations/index.d.ts +1 -2
- package/dist/types/src/operations/index.d.ts.map +1 -1
- package/dist/types/src/operations/open.d.ts +1 -1
- package/dist/types/src/operations/open.d.ts.map +1 -1
- package/dist/types/src/operations/revert-workspace.d.ts +1 -1
- package/dist/types/src/operations/revert-workspace.d.ts.map +1 -1
- package/dist/types/src/operations/scroll-into-view.d.ts +1 -1
- package/dist/types/src/operations/scroll-into-view.d.ts.map +1 -1
- package/dist/types/src/operations/set-layout-mode.d.ts +1 -1
- package/dist/types/src/operations/set-layout-mode.d.ts.map +1 -1
- package/dist/types/src/operations/set.d.ts +1 -1
- package/dist/types/src/operations/set.d.ts.map +1 -1
- package/dist/types/src/operations/show-undo.d.ts +1 -1
- package/dist/types/src/operations/show-undo.d.ts.map +1 -1
- package/dist/types/src/operations/switch-workspace.d.ts +1 -1
- package/dist/types/src/operations/switch-workspace.d.ts.map +1 -1
- package/dist/types/src/operations/update-companion.d.ts +1 -1
- package/dist/types/src/operations/update-companion.d.ts.map +1 -1
- package/dist/types/src/operations/update-complementary.d.ts +1 -1
- package/dist/types/src/operations/update-complementary.d.ts.map +1 -1
- package/dist/types/src/operations/update-dialog.d.ts +1 -1
- package/dist/types/src/operations/update-dialog.d.ts.map +1 -1
- package/dist/types/src/operations/update-plank-size.d.ts +3 -3
- package/dist/types/src/operations/update-plank-size.d.ts.map +1 -1
- package/dist/types/src/operations/update-popover.d.ts +1 -1
- package/dist/types/src/operations/update-popover.d.ts.map +1 -1
- package/dist/types/src/operations/update-sidebar.d.ts +1 -1
- package/dist/types/src/operations/update-sidebar.d.ts.map +1 -1
- 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 +42 -53
- 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 +5 -5
- package/dist/types/src/types/Settings.d.ts.map +1 -1
- package/dist/types/src/types/index.d.ts +3 -2
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/types/schema.d.ts +0 -1
- package/dist/types/src/types/schema.d.ts.map +1 -1
- package/dist/types/src/util/layoutAppliesTopbar.d.ts.map +1 -1
- package/dist/types/src/util/plank-url-params.d.ts.map +1 -1
- package/dist/types/src/util/sanitize-persisted-state.d.ts.map +1 -1
- package/dist/types/src/util/set-active.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +102 -66
- package/src/DeckPlugin.node.ts +17 -0
- package/src/DeckPlugin.test.ts +27 -0
- package/src/DeckPlugin.ts +4 -3
- package/src/capabilities/app-graph-builder.ts +3 -3
- package/src/capabilities/index.ts +1 -1
- package/src/capabilities/operation-handler.ts +1 -1
- package/src/capabilities/settings.ts +1 -1
- package/src/capabilities/url-handler.ts +1 -1
- package/src/components/DeckSettings/DeckSettings.stories.tsx +2 -1
- package/src/components/DeckSettings/DeckSettings.tsx +8 -47
- package/src/components/Matrix/Matrix.stories.tsx +1 -1
- package/src/containers/Deck/Banner.tsx +2 -2
- package/src/containers/Deck/Deck.stories.tsx +1 -1
- package/src/containers/Deck/DeckContent.tsx +1 -1
- package/src/containers/Deck/DeckViewport.tsx +4 -9
- package/src/containers/DeckLayout/ActiveNode.tsx +1 -1
- package/src/containers/DeckLayout/DeckLayout.stories.tsx +2 -2
- package/src/containers/DeckLayout/Fallback.tsx +1 -1
- package/src/containers/Plank/Plank.stories.tsx +2 -2
- package/src/containers/Plank/PlankHeading.tsx +3 -3
- package/src/containers/Plank/PlankLoading.tsx +1 -1
- package/src/containers/Plank/PlankRoot.tsx +1 -1
- package/src/containers/Sidebar/ComplementarySidebar.tsx +5 -7
- package/src/containers/Sidebar/SidebarButton.tsx +7 -1
- package/src/hooks/useDeckCompanions.ts +1 -1
- package/src/index.ts +1 -3
- package/src/meta.ts +1 -0
- package/src/operations/add-toast.ts +1 -1
- package/src/operations/adjust.ts +4 -5
- package/src/operations/close.ts +2 -2
- package/src/operations/index.ts +1 -3
- package/src/operations/open.ts +7 -7
- package/src/operations/revert-workspace.ts +1 -1
- package/src/operations/scroll-into-view.ts +1 -1
- package/src/operations/set-layout-mode.ts +1 -1
- package/src/operations/set.ts +2 -2
- package/src/operations/show-undo.ts +1 -1
- package/src/operations/switch-workspace.ts +1 -1
- package/src/operations/update-companion.ts +1 -1
- package/src/operations/update-complementary.ts +1 -1
- package/src/operations/update-dialog.ts +1 -1
- package/src/operations/update-plank-size.ts +3 -4
- package/src/operations/update-popover.ts +1 -1
- package/src/operations/update-sidebar.ts +1 -1
- package/src/plugin.ts +11 -0
- package/src/translations.ts +2 -12
- package/src/types/DeckCapabilities.ts +34 -0
- package/src/types/DeckEvents.ts +21 -0
- package/src/{operations/definitions.ts → types/DeckOperation.ts} +6 -4
- package/src/types/Settings.ts +30 -5
- package/src/types/index.ts +4 -2
- package/src/types/schema.ts +0 -2
- package/dist/lib/browser/adjust-XWB6ZZ6U.mjs.map +0 -7
- package/dist/lib/browser/chunk-5LM6A3EC.mjs +0 -208
- package/dist/lib/browser/chunk-5LM6A3EC.mjs.map +0 -7
- package/dist/lib/browser/chunk-BRZAVPMC.mjs +0 -48
- package/dist/lib/browser/chunk-BRZAVPMC.mjs.map +0 -7
- package/dist/lib/browser/chunk-FRVCL5NO.mjs +0 -72
- package/dist/lib/browser/chunk-FRVCL5NO.mjs.map +0 -7
- package/dist/lib/browser/index.mjs +0 -201
- package/dist/lib/browser/index.mjs.map +0 -7
- package/dist/lib/browser/meta.json +0 -1
- package/dist/lib/browser/open-K2JOEW2E.mjs.map +0 -7
- package/dist/lib/browser/operations/index.mjs +0 -13
- package/dist/lib/browser/operations/index.mjs.map +0 -7
- package/dist/lib/browser/set-layout-mode-BEVNGOY2.mjs.map +0 -7
- package/dist/lib/browser/switch-workspace-ICJJWNFT.mjs.map +0 -7
- package/dist/lib/browser/update-companion-VPCBH3YT.mjs.map +0 -7
- package/dist/lib/browser/update-complementary-74DEQY6T.mjs.map +0 -7
- package/dist/lib/browser/update-plank-size-5VHZOTHE.mjs +0 -28
- package/dist/lib/browser/update-plank-size-5VHZOTHE.mjs.map +0 -7
- package/dist/lib/node-esm/add-toast-AZM7NFNM.mjs +0 -25
- package/dist/lib/node-esm/add-toast-AZM7NFNM.mjs.map +0 -7
- package/dist/lib/node-esm/adjust-ICALXQ6F.mjs +0 -96
- package/dist/lib/node-esm/adjust-ICALXQ6F.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-A63Q53TW.mjs +0 -73
- package/dist/lib/node-esm/chunk-A63Q53TW.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-B7WZXRW4.mjs +0 -209
- package/dist/lib/node-esm/chunk-B7WZXRW4.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +0 -11
- package/dist/lib/node-esm/chunk-IRWCUYJY.mjs +0 -71
- package/dist/lib/node-esm/chunk-IRWCUYJY.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-MB4SDDVY.mjs +0 -50
- package/dist/lib/node-esm/chunk-MB4SDDVY.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-MLVJ2ODW.mjs +0 -32
- package/dist/lib/node-esm/chunk-MLVJ2ODW.mjs.map +0 -7
- package/dist/lib/node-esm/close-GC5V3GD5.mjs +0 -45
- package/dist/lib/node-esm/close-GC5V3GD5.mjs.map +0 -7
- package/dist/lib/node-esm/index.mjs +0 -202
- package/dist/lib/node-esm/index.mjs.map +0 -7
- package/dist/lib/node-esm/meta.json +0 -1
- package/dist/lib/node-esm/open-XXEHIR6G.mjs +0 -151
- package/dist/lib/node-esm/open-XXEHIR6G.mjs.map +0 -7
- package/dist/lib/node-esm/operations/index.mjs +0 -14
- package/dist/lib/node-esm/operations/index.mjs.map +0 -7
- package/dist/lib/node-esm/revert-workspace-WCXAL5C6.mjs +0 -22
- package/dist/lib/node-esm/revert-workspace-WCXAL5C6.mjs.map +0 -7
- package/dist/lib/node-esm/scroll-into-view-2ZNU44ZO.mjs +0 -22
- package/dist/lib/node-esm/scroll-into-view-2ZNU44ZO.mjs.map +0 -7
- package/dist/lib/node-esm/set-5MO2JCUQ.mjs +0 -38
- package/dist/lib/node-esm/set-5MO2JCUQ.mjs.map +0 -7
- package/dist/lib/node-esm/set-layout-mode-3RK4HIG7.mjs +0 -91
- package/dist/lib/node-esm/set-layout-mode-3RK4HIG7.mjs.map +0 -7
- package/dist/lib/node-esm/show-undo-WV7SAYGJ.mjs +0 -60
- package/dist/lib/node-esm/show-undo-WV7SAYGJ.mjs.map +0 -7
- package/dist/lib/node-esm/switch-workspace-VNM75H66.mjs +0 -69
- package/dist/lib/node-esm/switch-workspace-VNM75H66.mjs.map +0 -7
- package/dist/lib/node-esm/update-companion-SIB3GWH7.mjs +0 -33
- package/dist/lib/node-esm/update-companion-SIB3GWH7.mjs.map +0 -7
- package/dist/lib/node-esm/update-complementary-CZTIVIXU.mjs +0 -29
- package/dist/lib/node-esm/update-complementary-CZTIVIXU.mjs.map +0 -7
- package/dist/lib/node-esm/update-dialog-HEDV5XBB.mjs +0 -30
- package/dist/lib/node-esm/update-dialog-HEDV5XBB.mjs.map +0 -7
- package/dist/lib/node-esm/update-plank-size-JJLU7VE3.mjs +0 -29
- package/dist/lib/node-esm/update-plank-size-JJLU7VE3.mjs.map +0 -7
- package/dist/lib/node-esm/update-popover-HI5TU2VT.mjs +0 -34
- package/dist/lib/node-esm/update-popover-HI5TU2VT.mjs.map +0 -7
- package/dist/lib/node-esm/update-sidebar-QB5BA655.mjs +0 -26
- package/dist/lib/node-esm/update-sidebar-QB5BA655.mjs.map +0 -7
- package/dist/types/src/operations/definitions.d.ts +0 -15
- package/dist/types/src/operations/definitions.d.ts.map +0 -1
- package/dist/types/src/types/capabilities.d.ts +0 -191
- package/dist/types/src/types/capabilities.d.ts.map +0 -1
- package/dist/types/src/types/events.d.ts +0 -7
- package/dist/types/src/types/events.d.ts.map +0 -1
- package/src/types/capabilities.ts +0 -35
- package/src/types/events.ts +0 -21
- /package/dist/lib/{browser/chunk-J5LGTIGS.mjs.map → neutral/check-app-scheme-A7FZVNZO.mjs.map} +0 -0
- /package/dist/lib/{browser → neutral}/chunk-J5LGTIGS.mjs +0 -0
- /package/dist/lib/{browser/types/index.mjs.map → neutral/chunk-J5LGTIGS.mjs.map} +0 -0
- /package/dist/lib/{node-esm/types → neutral}/index.mjs.map +0 -0
- /package/dist/lib/{node-esm/chunk-HSLMI22Q.mjs.map → neutral/meta.mjs.map} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"inputs":{"src/types/capabilities.ts":{"bytes":4122,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/types/events.ts":{"bytes":2122,"imports":[{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"src/types/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/types/Settings.ts":{"bytes":2226,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true}],"format":"esm"},"src/types/schema.ts":{"bytes":21382,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"src/types/Settings.ts","kind":"import-statement","original":"./Settings"},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true}],"format":"esm"},"src/types/index.ts":{"bytes":793,"imports":[{"path":"src/types/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/types/events.ts","kind":"import-statement","original":"./events"},{"path":"src/types/schema.ts","kind":"import-statement","original":"./schema"},{"path":"src/types/Settings.ts","kind":"import-statement","original":"./Settings"}],"format":"esm"},"src/translations.ts":{"bytes":9584,"imports":[{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/DeckPlugin.ts":{"bytes":8319,"imports":[{"path":"immer","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"src/meta.ts":{"bytes":1480,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useBreakpoints.ts":{"bytes":1275,"imports":[{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useCompanions.ts":{"bytes":2516,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useDeckCompanions.ts":{"bytes":3070,"imports":[{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useDeckState.ts":{"bytes":7612,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useHoistStatusbar.ts":{"bytes":2755,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useMainSize.ts":{"bytes":1470,"imports":[{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useNodeActionExpander.ts":{"bytes":2009,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useSelectedCompanion.ts":{"bytes":3930,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/index.ts":{"bytes":1242,"imports":[{"path":"src/hooks/useBreakpoints.ts","kind":"import-statement","original":"./useBreakpoints"},{"path":"src/hooks/useCompanions.ts","kind":"import-statement","original":"./useCompanions"},{"path":"src/hooks/useDeckCompanions.ts","kind":"import-statement","original":"./useDeckCompanions"},{"path":"src/hooks/useDeckState.ts","kind":"import-statement","original":"./useDeckState"},{"path":"src/hooks/useHoistStatusbar.ts","kind":"import-statement","original":"./useHoistStatusbar"},{"path":"src/hooks/useMainSize.ts","kind":"import-statement","original":"./useMainSize"},{"path":"src/hooks/useNodeActionExpander.ts","kind":"import-statement","original":"./useNodeActionExpander"},{"path":"src/hooks/useSelectedCompanion.ts","kind":"import-statement","original":"./useSelectedCompanion"}],"format":"esm"},"src/index.ts":{"bytes":922,"imports":[{"path":"src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"src/DeckPlugin.ts","kind":"import-statement","original":"./DeckPlugin"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"./hooks"}],"format":"esm"},"src/operations/definitions.ts":{"bytes":6457,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/operations/add-toast.ts":{"bytes":2612,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/layout.ts":{"bytes":9861,"imports":[{"path":"immer","kind":"import-statement","external":true}],"format":"esm"},"src/util/layoutAppliesTopbar.ts":{"bytes":1259,"imports":[],"format":"esm"},"src/util/plank-url-params.ts":{"bytes":3929,"imports":[{"path":"@dxos/app-toolkit","kind":"import-statement","external":true}],"format":"esm"},"src/util/sanitize-persisted-state.ts":{"bytes":5345,"imports":[],"format":"esm"},"src/util/set-active.ts":{"bytes":6351,"imports":[],"format":"esm"},"src/util/index.ts":{"bytes":821,"imports":[{"path":"src/util/layoutAppliesTopbar.ts","kind":"import-statement","original":"./layoutAppliesTopbar"},{"path":"src/util/plank-url-params.ts","kind":"import-statement","original":"./plank-url-params"},{"path":"src/util/sanitize-persisted-state.ts","kind":"import-statement","original":"./sanitize-persisted-state"},{"path":"src/util/set-active.ts","kind":"import-statement","original":"./set-active"}],"format":"esm"},"src/operations/helpers.ts":{"bytes":2270,"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"src/operations/adjust.ts":{"bytes":12017,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/layout.ts","kind":"import-statement","original":"../layout"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"},{"path":"src/operations/definitions.ts","kind":"import-statement","original":"./definitions"},{"path":"src/operations/helpers.ts","kind":"import-statement","original":"./helpers"}],"format":"esm"},"src/operations/close.ts":{"bytes":5050,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention/types","kind":"import-statement","external":true},{"path":"src/layout.ts","kind":"import-statement","original":"../layout"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"},{"path":"src/operations/helpers.ts","kind":"import-statement","original":"./helpers"}],"format":"esm"},"src/operations/open.ts":{"bytes":25697,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-client/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/operations","kind":"import-statement","external":true},{"path":"src/layout.ts","kind":"import-statement","original":"../layout"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"},{"path":"src/operations/helpers.ts","kind":"import-statement","original":"./helpers"}],"format":"esm"},"src/operations/revert-workspace.ts":{"bytes":2617,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/operations/scroll-into-view.ts":{"bytes":2572,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/operations/set.ts":{"bytes":4402,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention/types","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/util/index.ts","kind":"import-statement","original":"../util"},{"path":"src/operations/helpers.ts","kind":"import-statement","original":"./helpers"}],"format":"esm"},"src/operations/set-layout-mode.ts":{"bytes":11147,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/operations/helpers.ts","kind":"import-statement","original":"./helpers"}],"format":"esm"},"src/operations/show-undo.ts":{"bytes":6095,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/operations/switch-workspace.ts":{"bytes":8680,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/operations/update-companion.ts":{"bytes":3952,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/operations/helpers.ts","kind":"import-statement","original":"./helpers"}],"format":"esm"},"src/operations/update-complementary.ts":{"bytes":4413,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/operations/update-dialog.ts":{"bytes":3984,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/operations/update-plank-size.ts":{"bytes":3013,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/operations/definitions.ts","kind":"import-statement","original":"./definitions"},{"path":"src/operations/helpers.ts","kind":"import-statement","original":"./helpers"}],"format":"esm"},"src/operations/update-popover.ts":{"bytes":4956,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/operations/update-sidebar.ts":{"bytes":3134,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/operations/index.ts":{"bytes":2695,"imports":[{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/operations/definitions.ts","kind":"import-statement","original":"./definitions"},{"path":"src/operations/add-toast.ts","kind":"dynamic-import","original":"./add-toast"},{"path":"src/operations/adjust.ts","kind":"dynamic-import","original":"./adjust"},{"path":"src/operations/close.ts","kind":"dynamic-import","original":"./close"},{"path":"src/operations/open.ts","kind":"dynamic-import","original":"./open"},{"path":"src/operations/revert-workspace.ts","kind":"dynamic-import","original":"./revert-workspace"},{"path":"src/operations/scroll-into-view.ts","kind":"dynamic-import","original":"./scroll-into-view"},{"path":"src/operations/set.ts","kind":"dynamic-import","original":"./set"},{"path":"src/operations/set-layout-mode.ts","kind":"dynamic-import","original":"./set-layout-mode"},{"path":"src/operations/show-undo.ts","kind":"dynamic-import","original":"./show-undo"},{"path":"src/operations/switch-workspace.ts","kind":"dynamic-import","original":"./switch-workspace"},{"path":"src/operations/update-companion.ts","kind":"dynamic-import","original":"./update-companion"},{"path":"src/operations/update-complementary.ts","kind":"dynamic-import","original":"./update-complementary"},{"path":"src/operations/update-dialog.ts","kind":"dynamic-import","original":"./update-dialog"},{"path":"src/operations/update-plank-size.ts","kind":"dynamic-import","original":"./update-plank-size"},{"path":"src/operations/update-popover.ts","kind":"dynamic-import","original":"./update-popover"},{"path":"src/operations/update-sidebar.ts","kind":"dynamic-import","original":"./update-sidebar"}],"format":"esm"}},"outputs":{"dist/lib/browser/update-plank-size-5VHZOTHE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1554},"dist/lib/browser/update-plank-size-5VHZOTHE.mjs":{"imports":[{"path":"dist/lib/browser/chunk-FRVCL5NO.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-KUTDCWZF.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-5LM6A3EC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/update-plank-size.ts","inputs":{"src/operations/update-plank-size.ts":{"bytesInOutput":493}},"bytes":847},"dist/lib/browser/update-popover-W7E2Z5T6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2603},"dist/lib/browser/update-popover-W7E2Z5T6.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5LM6A3EC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/update-popover.ts","inputs":{"src/operations/update-popover.ts":{"bytesInOutput":1038}},"bytes":1266},"dist/lib/browser/update-sidebar-H3A6ZFRU.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1649},"dist/lib/browser/update-sidebar-H3A6ZFRU.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5LM6A3EC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/update-sidebar.ts","inputs":{"src/operations/update-sidebar.ts":{"bytesInOutput":639}},"bytes":867},"dist/lib/browser/scroll-into-view-4GSKC3GA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1371},"dist/lib/browser/scroll-into-view-4GSKC3GA.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5LM6A3EC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/scroll-into-view.ts","inputs":{"src/operations/scroll-into-view.ts":{"bytesInOutput":487}},"bytes":721},"dist/lib/browser/set-XCG6NIAO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2351},"dist/lib/browser/set-XCG6NIAO.mjs":{"imports":[{"path":"dist/lib/browser/chunk-BRZAVPMC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-KUTDCWZF.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-5LM6A3EC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention/types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/set.ts","inputs":{"src/operations/set.ts":{"bytesInOutput":875}},"bytes":1192},"dist/lib/browser/set-layout-mode-BEVNGOY2.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5749},"dist/lib/browser/set-layout-mode-BEVNGOY2.mjs":{"imports":[{"path":"dist/lib/browser/chunk-KUTDCWZF.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-5LM6A3EC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/set-layout-mode.ts","inputs":{"src/operations/set-layout-mode.ts":{"bytesInOutput":2622}},"bytes":2939},"dist/lib/browser/show-undo-5RQNREEB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3054},"dist/lib/browser/show-undo-5RQNREEB.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5LM6A3EC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/show-undo.ts","inputs":{"src/operations/show-undo.ts":{"bytesInOutput":1347}},"bytes":1560},"dist/lib/browser/switch-workspace-ICJJWNFT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4408},"dist/lib/browser/switch-workspace-ICJJWNFT.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5LM6A3EC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/switch-workspace.ts","inputs":{"src/operations/switch-workspace.ts":{"bytesInOutput":2073}},"bytes":2322},"dist/lib/browser/update-companion-VPCBH3YT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2103},"dist/lib/browser/update-companion-VPCBH3YT.mjs":{"imports":[{"path":"dist/lib/browser/chunk-KUTDCWZF.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-5LM6A3EC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/update-companion.ts","inputs":{"src/operations/update-companion.ts":{"bytesInOutput":815}},"bytes":1108},"dist/lib/browser/update-complementary-74DEQY6T.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2295},"dist/lib/browser/update-complementary-74DEQY6T.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5LM6A3EC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/update-complementary.ts","inputs":{"src/operations/update-complementary.ts":{"bytesInOutput":994}},"bytes":1240},"dist/lib/browser/update-dialog-6TDUYI5R.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2122},"dist/lib/browser/update-dialog-6TDUYI5R.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5LM6A3EC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/update-dialog.ts","inputs":{"src/operations/update-dialog.ts":{"bytesInOutput":795}},"bytes":1020},"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":18147},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5LM6A3EC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"immer","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"#types","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":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true}],"exports":["DeckCapabilities","DeckEvents","DeckPlugin","meta","useCompanions"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/DeckPlugin.ts":{"bytesInOutput":2037},"src/translations.ts":{"bytesInOutput":3179},"src/meta.ts":{"bytesInOutput":322},"src/hooks/useBreakpoints.ts":{"bytesInOutput":48},"src/hooks/index.ts":{"bytesInOutput":0},"src/hooks/useCompanions.ts":{"bytesInOutput":544},"src/hooks/useDeckCompanions.ts":{"bytesInOutput":285},"src/hooks/useDeckState.ts":{"bytesInOutput":331},"src/hooks/useHoistStatusbar.ts":{"bytesInOutput":219},"src/hooks/useMainSize.ts":{"bytesInOutput":49},"src/hooks/useNodeActionExpander.ts":{"bytesInOutput":79},"src/hooks/useSelectedCompanion.ts":{"bytesInOutput":106}},"bytes":7784},"dist/lib/browser/operations/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1383},"dist/lib/browser/operations/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-FRVCL5NO.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"dist/lib/browser/add-toast-EUN62IUE.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/adjust-XWB6ZZ6U.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/close-JXK73YIM.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/open-K2JOEW2E.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/revert-workspace-BNIR5U64.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/scroll-into-view-4GSKC3GA.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/set-XCG6NIAO.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/set-layout-mode-BEVNGOY2.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/show-undo-5RQNREEB.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/switch-workspace-ICJJWNFT.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/update-companion-VPCBH3YT.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/update-complementary-74DEQY6T.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/update-dialog-6TDUYI5R.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/update-plank-size-5VHZOTHE.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/update-popover-W7E2Z5T6.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/update-sidebar-H3A6ZFRU.mjs","kind":"dynamic-import"}],"exports":["DeckOperation","DeckOperationHandlerSet"],"entryPoint":"src/operations/index.ts","inputs":{"src/operations/index.ts":{"bytesInOutput":848}},"bytes":1084},"dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/types/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5LM6A3EC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"}],"exports":["DECK_COMPANION_TYPE","DeckAction","DeckCapabilities","DeckEvents","DeckState","EphemeralDeckState","PLANK_COMPANION_TYPE","PlankSizing","Settings","StoredDeckState","defaultDeck","getMode","isLayoutMode"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":582},"dist/lib/browser/add-toast-EUN62IUE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1365},"dist/lib/browser/add-toast-EUN62IUE.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5LM6A3EC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/add-toast.ts","inputs":{"src/operations/add-toast.ts":{"bytesInOutput":495}},"bytes":708},"dist/lib/browser/adjust-XWB6ZZ6U.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6212},"dist/lib/browser/adjust-XWB6ZZ6U.mjs":{"imports":[{"path":"dist/lib/browser/chunk-FRVCL5NO.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-DF2VZ6W3.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-BRZAVPMC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-KUTDCWZF.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-5LM6A3EC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/adjust.ts","inputs":{"src/operations/adjust.ts":{"bytesInOutput":2696}},"bytes":3152},"dist/lib/browser/chunk-FRVCL5NO.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3193},"dist/lib/browser/chunk-FRVCL5NO.mjs":{"imports":[{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["Adjust","UpdatePlankSize","definitions_exports"],"inputs":{"src/operations/definitions.ts":{"bytesInOutput":1808}},"bytes":2001},"dist/lib/browser/close-JXK73YIM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2670},"dist/lib/browser/close-JXK73YIM.mjs":{"imports":[{"path":"dist/lib/browser/chunk-DF2VZ6W3.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-BRZAVPMC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-KUTDCWZF.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-5LM6A3EC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention/types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/close.ts","inputs":{"src/operations/close.ts":{"bytesInOutput":1007}},"bytes":1383},"dist/lib/browser/open-K2JOEW2E.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":13106},"dist/lib/browser/open-K2JOEW2E.mjs":{"imports":[{"path":"dist/lib/browser/chunk-DF2VZ6W3.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-BRZAVPMC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-KUTDCWZF.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-5LM6A3EC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-client/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/operations","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/open.ts","inputs":{"src/operations/open.ts":{"bytesInOutput":5191}},"bytes":5578},"dist/lib/browser/chunk-DF2VZ6W3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5047},"dist/lib/browser/chunk-DF2VZ6W3.mjs":{"imports":[{"path":"immer","kind":"import-statement","external":true}],"exports":["closeEntry","incrementPlank","openSubjectsOnActiveDeck"],"inputs":{"src/layout.ts":{"bytesInOutput":1761}},"bytes":1894},"dist/lib/browser/chunk-BRZAVPMC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4633},"dist/lib/browser/chunk-BRZAVPMC.mjs":{"imports":[{"path":"@dxos/app-toolkit","kind":"import-statement","external":true}],"exports":["computeActiveUpdates"],"inputs":{"src/util/set-active.ts":{"bytesInOutput":1130},"src/util/index.ts":{"bytesInOutput":0},"src/util/plank-url-params.ts":{"bytesInOutput":60}},"bytes":1329},"dist/lib/browser/chunk-KUTDCWZF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1068},"dist/lib/browser/chunk-KUTDCWZF.mjs":{"imports":[{"path":"@dxos/invariant","kind":"import-statement","external":true}],"exports":["updateActiveDeck"],"inputs":{"src/operations/helpers.ts":{"bytesInOutput":613}},"bytes":718},"dist/lib/browser/revert-workspace-BNIR5U64.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1408},"dist/lib/browser/revert-workspace-BNIR5U64.mjs":{"imports":[{"path":"dist/lib/browser/chunk-5LM6A3EC.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/revert-workspace.ts","inputs":{"src/operations/revert-workspace.ts":{"bytesInOutput":516}},"bytes":750},"dist/lib/browser/chunk-5LM6A3EC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":14620},"dist/lib/browser/chunk-5LM6A3EC.mjs":{"imports":[{"path":"dist/lib/browser/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true}],"exports":["DECK_COMPANION_TYPE","DeckAction","DeckCapabilities","DeckEvents","DeckState","EphemeralDeckState","PLANK_COMPANION_TYPE","PlankSizing","Settings_exports","StoredDeckState","defaultDeck","getMode","isLayoutMode"],"inputs":{"src/types/capabilities.ts":{"bytesInOutput":1040},"src/types/index.ts":{"bytesInOutput":0},"src/types/events.ts":{"bytesInOutput":375},"src/types/schema.ts":{"bytesInOutput":5340},"src/types/Settings.ts":{"bytesInOutput":508}},"bytes":7724},"dist/lib/browser/chunk-J5LGTIGS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/chunk-J5LGTIGS.mjs":{"imports":[],"exports":["__export"],"inputs":{},"bytes":235}}}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/operations/open.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport * as Option from 'effect/Option';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport {\n AppCapabilities,\n LayoutOperation,\n createEdgeExistenceChecker,\n expandPath,\n validateNavigationTarget,\n} from '@dxos/app-toolkit';\nimport { Context } from '@dxos/context';\nimport { Obj } from '@dxos/echo';\nimport { Operation } from '@dxos/operation';\nimport { AttentionCapabilities } from '@dxos/plugin-attention/types';\nimport { ClientCapabilities } from '@dxos/plugin-client/types';\nimport { Graph } from '@dxos/plugin-graph';\nimport { ObservabilityOperation } from '@dxos/plugin-observability/operations';\n\nimport { openSubjectsOnActiveDeck } from '../layout';\nimport { DeckCapabilities } from '../types';\nimport { computeActiveUpdates } from '../util';\nimport { updateActiveDeck } from './helpers';\n\nconst handler: Operation.WithHandler<typeof LayoutOperation.Open> = LayoutOperation.Open.pipe(\n Operation.withHandler(\n Effect.fnUntraced(function* (input) {\n const { graph } = yield* Capability.get(AppCapabilities.AppGraph);\n const attention = yield* Capability.get(AttentionCapabilities.Attention);\n\n // Validate navigation targets, redirecting to 404 if not found.\n const capabilities = yield* Capability.Service;\n const pathResolvers = capabilities.getAll(AppCapabilities.NavigationPathResolver);\n const checkRemoteExistence = yield* Capability.get(ClientCapabilities.Client).pipe(\n Effect.map((client) =>\n createEdgeExistenceChecker((spaceId, body) => client.edge.http.execQuery(new Context(), spaceId, body)),\n ),\n Effect.catchAll(() => Effect.succeed(undefined)),\n );\n\n // Immediate: skip 404 / resolver checks but still expand the path (same as validate’s first step).\n if (input.navigation === 'immediate') {\n for (const subjectId of input.subject) {\n expandPath(graph, subjectId);\n }\n }\n\n const validatedSubjects = yield* Effect.all(\n input.subject.map((subjectId) =>\n input.navigation === 'immediate'\n ? Effect.succeed(subjectId)\n : validateNavigationTarget({ graph, subjectId, pathResolvers, checkRemoteExistence }),\n ),\n );\n input = { ...input, subject: validatedSubjects };\n\n {\n const state = yield* Capabilities.getAtomValue(DeckCapabilities.State);\n if (input.workspace && state.activeDeck !== input.workspace) {\n yield* Operation.invoke(LayoutOperation.SwitchWorkspace, { subject: input.workspace });\n }\n }\n\n // Dedup subjects against the active deck using DXN identity.\n // The same object can appear under different graph paths (e.g., via collections vs types).\n // Resolve each subject's DXN and, if it matches an already-open deck item, remap the\n // subject to the existing deck entry so that openEntry's exact-match check succeeds.\n // Only needed in multi (deck) mode; solo mode replaces the single visible item anyway.\n {\n const deck = yield* DeckCapabilities.getDeck();\n const active = !deck.solo && deck.initialized ? deck.active : [];\n if (active.length > 0 && input.subject.length > 0) {\n const resolveDxn = (qualifiedPath: string) =>\n Effect.reduce(pathResolvers, Option.none<string>(), (acc, resolver) =>\n Option.isSome(acc)\n ? Effect.succeed(acc)\n : resolver(qualifiedPath).pipe(\n Effect.map((opt) => Option.map(opt, (dxn) => dxn.toString())),\n Effect.catchAll(() => Effect.succeed(Option.none<string>())),\n ),\n );\n\n // Build DXN → deck item ID map for active items.\n const deckDxnMap = new Map<string, string>();\n yield* Effect.all(\n active.map((deckId) =>\n resolveDxn(deckId).pipe(\n Effect.map((opt) => {\n if (Option.isSome(opt)) {\n deckDxnMap.set(opt.value, deckId);\n }\n }),\n ),\n ),\n { concurrency: 'unbounded' },\n );\n\n // Remap subjects whose DXN matches an existing deck item.\n if (deckDxnMap.size > 0) {\n const remapped = yield* Effect.all(\n input.subject.map((subjectId) =>\n resolveDxn(subjectId).pipe(\n Effect.map((opt) => {\n if (Option.isSome(opt)) {\n const existing = deckDxnMap.get(opt.value);\n if (existing && existing !== subjectId) {\n return existing;\n }\n }\n return subjectId;\n }),\n ),\n ),\n { concurrency: 'unbounded' },\n );\n input = { ...input, subject: remapped };\n }\n }\n }\n\n // Compute the next active deck state and apply it.\n // In solo or uninitialized mode the subject list replaces the deck entirely.\n // In multi (deck) mode, subjects are merged via openSubjectsOnActiveDeck which\n // uses stack semantics (truncate after pivot, then push new entries).\n let previouslyOpenIds: Set<string>;\n {\n const deck = yield* DeckCapabilities.getDeck();\n previouslyOpenIds = new Set<string>(deck.solo ? [deck.solo] : deck.active);\n const next =\n deck.solo || !deck.initialized\n ? [...input.subject]\n : openSubjectsOnActiveDeck(deck.active, input.subject, {\n pivotId: input.pivotId,\n key: input.key,\n });\n\n const { deckUpdates, toAttend: _toAttend } = computeActiveUpdates({ next, deck, attention });\n yield* Capabilities.updateAtomValue(DeckCapabilities.State, (state) => updateActiveDeck(state, deckUpdates));\n }\n\n // Schedule side-effects for the newly opened items: scroll into view, expose in\n // the navigation sidebar, and emit observability events.\n // When nothing is newly opened (subject was already visible), the fallback\n // `input.subject[0]` still triggers scroll and expose so the user is taken there.\n {\n const deck = yield* DeckCapabilities.getDeck();\n const ids = deck.solo ? [deck.solo] : deck.active;\n const newlyOpen = ids.filter((i: string) => !previouslyOpenIds.has(i));\n\n if (input.scrollIntoView !== false && (newlyOpen[0] ?? input.subject[0])) {\n yield* Operation.schedule(LayoutOperation.ScrollIntoView, {\n subject: newlyOpen[0] ?? input.subject[0],\n });\n }\n\n if (newlyOpen[0] ?? input.subject[0]) {\n yield* Operation.schedule(LayoutOperation.Expose, { subject: newlyOpen[0] ?? input.subject[0] });\n }\n\n for (const subjectId of newlyOpen) {\n const typename = Option.match(Graph.getNode(graph, subjectId), {\n onNone: () => undefined,\n onSome: (node) => {\n const active = node.data;\n return Obj.isObject(active) ? Obj.getTypename(active) : undefined;\n },\n });\n yield* Operation.schedule(ObservabilityOperation.SendEvent, {\n name: 'navigation.activate',\n properties: { subjectId, typename },\n });\n }\n }\n\n return validatedSubjects;\n }),\n ),\n);\n\nexport default handler;\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;AAIA,YAAYA,YAAY;AACxB,YAAYC,YAAY;AAExB,SAASC,cAAcC,kBAAkB;AACzC,SACEC,iBACAC,iBACAC,4BACAC,YACAC,gCACK;AACP,SAASC,eAAe;AACxB,SAASC,WAAW;AACpB,SAASC,iBAAiB;AAC1B,SAASC,6BAA6B;AACtC,SAASC,0BAA0B;AACnC,SAASC,aAAa;AACtB,SAASC,8BAA8B;;AAOvC,IAAMC,UAA8DC,gBAAgBC,KAAKC,KACvFC,UAAUC,YACDC,kBAAW,WAAWC,OAAK;AAChC,QAAM,EAAEC,MAAK,IAAK,OAAOC,WAAWC,IAAIC,gBAAgBC,QAAQ;AAChE,QAAMC,YAAY,OAAOJ,WAAWC,IAAII,sBAAsBC,SAAS;AAGvE,QAAMC,eAAe,OAAOP,WAAWQ;AACvC,QAAMC,gBAAgBF,aAAaG,OAAOR,gBAAgBS,sBAAsB;AAChF,QAAMC,uBAAuB,OAAOZ,WAAWC,IAAIY,mBAAmBC,MAAM,EAAEpB,KACrEqB,WAAI,CAACC,WACVC,2BAA2B,CAACC,SAASC,SAASH,OAAOI,KAAKC,KAAKC,UAAU,IAAIC,QAAAA,QAAAA;;;MAAWL,SAASC,IAAAA,CAAAA,CAAAA,GAE5FK,gBAAS,MAAaC,eAAQC,MAAAA,CAAAA,CAAAA;AAIvC,MAAI5B,MAAM6B,eAAe,aAAa;AACpC,eAAWC,aAAa9B,MAAM+B,SAAS;AACrCC,iBAAW/B,OAAO6B,SAAAA;IACpB;EACF;AAEA,QAAMG,oBAAoB,OAAcC,WACtClC,MAAM+B,QAAQd,IAAI,CAACa,cACjB9B,MAAM6B,eAAe,cACVF,eAAQG,SAAAA,IACfK,yBAAyB;IAAElC;IAAO6B;IAAWnB;IAAeG;EAAqB,CAAA,CAAA,CAAA;AAGzFd,UAAQ;IAAE,GAAGA;IAAO+B,SAASE;EAAkB;AAE/C;AACE,UAAMG,QAAQ,OAAOC,aAAaC,aAAaC,iBAAiBC,KAAK;AACrE,QAAIxC,MAAMyC,aAAaL,MAAMM,eAAe1C,MAAMyC,WAAW;AAC3D,aAAO5C,UAAU8C,OAAOjD,gBAAgBkD,iBAAiB;QAAEb,SAAS/B,MAAMyC;MAAU,CAAA;IACtF;EACF;AAOA;AACE,UAAMI,OAAO,OAAON,iBAAiBO,QAAO;AAC5C,UAAMC,SAAS,CAACF,KAAKG,QAAQH,KAAKI,cAAcJ,KAAKE,SAAS,CAAA;AAC9D,QAAIA,OAAOG,SAAS,KAAKlD,MAAM+B,QAAQmB,SAAS,GAAG;AACjD,YAAMC,aAAa,CAACC,kBACXC,cAAO1C,eAAsB2C,YAAI,GAAY,CAACC,KAAKC,aACjDC,cAAOF,GAAAA,IACH5B,eAAQ4B,GAAAA,IACfC,SAASJ,aAAAA,EAAexD,KACfqB,WAAI,CAACyC,QAAezC,WAAIyC,KAAK,CAACC,QAAQA,IAAIC,SAAQ,CAAA,CAAA,GAClDlC,gBAAS,MAAaC,eAAe2B,YAAI,CAAA,CAAA,CAAA,CAAA;AAK1D,YAAMO,aAAa,oBAAIC,IAAAA;AACvB,aAAc5B,WACZa,OAAO9B,IAAI,CAAC8C,WACVZ,WAAWY,MAAAA,EAAQnE,KACVqB,WAAI,CAACyC,QAAAA;AACV,YAAWD,cAAOC,GAAAA,GAAM;AACtBG,qBAAWG,IAAIN,IAAIO,OAAOF,MAAAA;QAC5B;MACF,CAAA,CAAA,CAAA,GAGJ;QAAEG,aAAa;MAAY,CAAA;AAI7B,UAAIL,WAAWM,OAAO,GAAG;AACvB,cAAMC,WAAW,OAAclC,WAC7BlC,MAAM+B,QAAQd,IAAI,CAACa,cACjBqB,WAAWrB,SAAAA,EAAWlC,KACbqB,WAAI,CAACyC,QAAAA;AACV,cAAWD,cAAOC,GAAAA,GAAM;AACtB,kBAAMW,WAAWR,WAAW1D,IAAIuD,IAAIO,KAAK;AACzC,gBAAII,YAAYA,aAAavC,WAAW;AACtC,qBAAOuC;YACT;UACF;AACA,iBAAOvC;QACT,CAAA,CAAA,CAAA,GAGJ;UAAEoC,aAAa;QAAY,CAAA;AAE7BlE,gBAAQ;UAAE,GAAGA;UAAO+B,SAASqC;QAAS;MACxC;IACF;EACF;AAMA,MAAIE;AACJ;AACE,UAAMzB,OAAO,OAAON,iBAAiBO,QAAO;AAC5CwB,wBAAoB,IAAIC,IAAY1B,KAAKG,OAAO;MAACH,KAAKG;QAAQH,KAAKE,MAAM;AACzE,UAAMyB,OACJ3B,KAAKG,QAAQ,CAACH,KAAKI,cACf;SAAIjD,MAAM+B;QACV0C,yBAAyB5B,KAAKE,QAAQ/C,MAAM+B,SAAS;MACnD2C,SAAS1E,MAAM0E;MACfC,KAAK3E,MAAM2E;IACb,CAAA;AAEN,UAAM,EAAEC,aAAaC,UAAUC,UAAS,IAAKC,qBAAqB;MAAEP;MAAM3B;MAAMvC;IAAU,CAAA;AAC1F,WAAO+B,aAAa2C,gBAAgBzC,iBAAiBC,OAAO,CAACJ,UAAU6C,iBAAiB7C,OAAOwC,WAAAA,CAAAA;EACjG;AAMA;AACE,UAAM/B,OAAO,OAAON,iBAAiBO,QAAO;AAC5C,UAAMoC,MAAMrC,KAAKG,OAAO;MAACH,KAAKG;QAAQH,KAAKE;AAC3C,UAAMoC,YAAYD,IAAIE,OAAO,CAACC,MAAc,CAACf,kBAAkBgB,IAAID,CAAAA,CAAAA;AAEnE,QAAIrF,MAAMuF,mBAAmB,UAAUJ,UAAU,CAAA,KAAMnF,MAAM+B,QAAQ,CAAA,IAAK;AACxE,aAAOlC,UAAU2F,SAAS9F,gBAAgB+F,gBAAgB;QACxD1D,SAASoD,UAAU,CAAA,KAAMnF,MAAM+B,QAAQ,CAAA;MACzC,CAAA;IACF;AAEA,QAAIoD,UAAU,CAAA,KAAMnF,MAAM+B,QAAQ,CAAA,GAAI;AACpC,aAAOlC,UAAU2F,SAAS9F,gBAAgBgG,QAAQ;QAAE3D,SAASoD,UAAU,CAAA,KAAMnF,MAAM+B,QAAQ,CAAA;MAAG,CAAA;IAChG;AAEA,eAAWD,aAAaqD,WAAW;AACjC,YAAMQ,WAAkBC,aAAMC,MAAMC,QAAQ7F,OAAO6B,SAAAA,GAAY;QAC7DiE,QAAQ,MAAMnE;QACdoE,QAAQ,CAACC,SAAAA;AACP,gBAAMlD,SAASkD,KAAKC;AACpB,iBAAOC,IAAIC,SAASrD,MAAAA,IAAUoD,IAAIE,YAAYtD,MAAAA,IAAUnB;QAC1D;MACF,CAAA;AACA,aAAO/B,UAAU2F,SAASc,uBAAuBC,WAAW;QAC1DC,MAAM;QACNC,YAAY;UAAE3E;UAAW6D;QAAS;MACpC,CAAA;IACF;EACF;AAEA,SAAO1D;AACT,CAAA,CAAA,CAAA;AAIJ,IAAA,eAAexC;",
|
|
6
|
-
"names": ["Effect", "Option", "Capabilities", "Capability", "AppCapabilities", "LayoutOperation", "createEdgeExistenceChecker", "expandPath", "validateNavigationTarget", "Context", "Obj", "Operation", "AttentionCapabilities", "ClientCapabilities", "Graph", "ObservabilityOperation", "handler", "LayoutOperation", "Open", "pipe", "Operation", "withHandler", "fnUntraced", "input", "graph", "Capability", "get", "AppCapabilities", "AppGraph", "attention", "AttentionCapabilities", "Attention", "capabilities", "Service", "pathResolvers", "getAll", "NavigationPathResolver", "checkRemoteExistence", "ClientCapabilities", "Client", "map", "client", "createEdgeExistenceChecker", "spaceId", "body", "edge", "http", "execQuery", "Context", "catchAll", "succeed", "undefined", "navigation", "subjectId", "subject", "expandPath", "validatedSubjects", "all", "validateNavigationTarget", "state", "Capabilities", "getAtomValue", "DeckCapabilities", "State", "workspace", "activeDeck", "invoke", "SwitchWorkspace", "deck", "getDeck", "active", "solo", "initialized", "length", "resolveDxn", "qualifiedPath", "reduce", "none", "acc", "resolver", "isSome", "opt", "dxn", "toString", "deckDxnMap", "Map", "deckId", "set", "value", "concurrency", "size", "remapped", "existing", "previouslyOpenIds", "Set", "next", "openSubjectsOnActiveDeck", "pivotId", "key", "deckUpdates", "toAttend", "_toAttend", "computeActiveUpdates", "updateAtomValue", "updateActiveDeck", "ids", "newlyOpen", "filter", "i", "has", "scrollIntoView", "schedule", "ScrollIntoView", "Expose", "typename", "match", "Graph", "getNode", "onNone", "onSome", "node", "data", "Obj", "isObject", "getTypename", "ObservabilityOperation", "SendEvent", "name", "properties"]
|
|
7
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
definitions_exports
|
|
3
|
-
} from "../chunk-FRVCL5NO.mjs";
|
|
4
|
-
import "../chunk-J5LGTIGS.mjs";
|
|
5
|
-
|
|
6
|
-
// src/operations/index.ts
|
|
7
|
-
import { OperationHandlerSet } from "@dxos/operation";
|
|
8
|
-
var DeckOperationHandlerSet = OperationHandlerSet.lazy(() => import("../add-toast-EUN62IUE.mjs"), () => import("../adjust-XWB6ZZ6U.mjs"), () => import("../close-JXK73YIM.mjs"), () => import("../open-K2JOEW2E.mjs"), () => import("../revert-workspace-BNIR5U64.mjs"), () => import("../scroll-into-view-4GSKC3GA.mjs"), () => import("../set-XCG6NIAO.mjs"), () => import("../set-layout-mode-BEVNGOY2.mjs"), () => import("../show-undo-5RQNREEB.mjs"), () => import("../switch-workspace-ICJJWNFT.mjs"), () => import("../update-companion-VPCBH3YT.mjs"), () => import("../update-complementary-74DEQY6T.mjs"), () => import("../update-dialog-6TDUYI5R.mjs"), () => import("../update-plank-size-5VHZOTHE.mjs"), () => import("../update-popover-W7E2Z5T6.mjs"), () => import("../update-sidebar-H3A6ZFRU.mjs"));
|
|
9
|
-
export {
|
|
10
|
-
definitions_exports as DeckOperation,
|
|
11
|
-
DeckOperationHandlerSet
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../src/operations/index.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { OperationHandlerSet } from '@dxos/operation';\n\nexport * as DeckOperation from './definitions';\n\nexport const DeckOperationHandlerSet = OperationHandlerSet.lazy(\n () => import('./add-toast'),\n () => import('./adjust'),\n () => import('./close'),\n () => import('./open'),\n () => import('./revert-workspace'),\n () => import('./scroll-into-view'),\n () => import('./set'),\n () => import('./set-layout-mode'),\n () => import('./show-undo'),\n () => import('./switch-workspace'),\n () => import('./update-companion'),\n () => import('./update-complementary'),\n () => import('./update-dialog'),\n () => import('./update-plank-size'),\n () => import('./update-popover'),\n () => import('./update-sidebar'),\n);\n"],
|
|
5
|
-
"mappings": ";;;;;;AAIA,SAASA,2BAA2B;AAI7B,IAAMC,0BAA0BC,oBAAoBC,KACzD,MAAM,OAAO,2BAAA,GACb,MAAM,OAAO,wBAAA,GACb,MAAM,OAAO,uBAAA,GACb,MAAM,OAAO,sBAAA,GACb,MAAM,OAAO,kCAAA,GACb,MAAM,OAAO,kCAAA,GACb,MAAM,OAAO,qBAAA,GACb,MAAM,OAAO,iCAAA,GACb,MAAM,OAAO,2BAAA,GACb,MAAM,OAAO,kCAAA,GACb,MAAM,OAAO,kCAAA,GACb,MAAM,OAAO,sCAAA,GACb,MAAM,OAAO,+BAAA,GACb,MAAM,OAAO,mCAAA,GACb,MAAM,OAAO,gCAAA,GACb,MAAM,OAAO,gCAAA,CAAA;",
|
|
6
|
-
"names": ["OperationHandlerSet", "DeckOperationHandlerSet", "OperationHandlerSet", "lazy"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/operations/set-layout-mode.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities } from '@dxos/app-framework';\nimport { LayoutOperation } from '@dxos/app-toolkit';\nimport { log } from '@dxos/log';\nimport { Operation } from '@dxos/operation';\nimport { isNonNullable } from '@dxos/util';\n\nimport { DeckCapabilities, type DeckState, type LayoutMode, getMode, isLayoutMode } from '../types';\nimport { updateActiveDeck } from './helpers';\n\n/**\n * Transitions between layout modes (multi, solo, solo--fullscreen) or reverts to the previous mode.\n * Computes which planks become active/inactive and persists the previous mode for revert support.\n */\nconst handler: Operation.WithHandler<typeof LayoutOperation.SetLayoutMode> = LayoutOperation.SetLayoutMode.pipe(\n Operation.withHandler(\n Effect.fnUntraced(function* (input) {\n if ('mode' in input && !isLayoutMode(input.mode)) {\n return;\n }\n\n const state = yield* Capabilities.getAtomValue(DeckCapabilities.State);\n const deck = yield* DeckCapabilities.getDeck();\n\n const computeModeUpdate = (mode: LayoutMode, subject?: string): Partial<DeckState> => {\n const current = deck.solo ? [deck.solo] : deck.active;\n const next = (mode !== 'multi' ? [subject ?? deck.solo ?? deck.active[0]] : [...deck.active, deck.solo]).filter(\n isNonNullable,\n );\n\n const removed = current.filter((id: string) => !next.includes(id));\n const closed = Array.from(new Set([...deck.inactive.filter((id: string) => !next.includes(id)), ...removed]));\n\n const soloUpdate =\n mode !== 'multi' && next[0]\n ? { solo: next[0] }\n : mode === 'multi' && deck.solo\n ? { solo: undefined, initialized: true }\n : {};\n\n const fullscreenUpdate = mode === 'solo--fullscreen' ? { fullscreen: !deck.fullscreen } : {};\n\n return {\n inactive: closed,\n ...soloUpdate,\n ...fullscreenUpdate,\n };\n };\n\n if ('mode' in input) {\n const currentMode = getMode(deck);\n const subject = 'subject' in input ? input.subject : undefined;\n const deckUpdates = computeModeUpdate(input.mode as LayoutMode, subject);\n\n yield* Capabilities.updateAtomValue(DeckCapabilities.State, (state) => {\n const newPreviousMode =\n currentMode !== input.mode\n ? { ...state.previousMode, [state.activeDeck]: currentMode }\n : state.previousMode;\n return {\n ...updateActiveDeck(state, deckUpdates),\n previousMode: newPreviousMode,\n };\n });\n\n if (subject) {\n yield* Operation.schedule(LayoutOperation.Expose, { subject });\n }\n } else if ('revert' in input) {\n const deckUpdates = computeModeUpdate(state.previousMode[state.activeDeck]);\n yield* Capabilities.updateAtomValue(DeckCapabilities.State, (state) => updateActiveDeck(state, deckUpdates));\n } else {\n log.warn('Invalid layout mode', input);\n }\n }),\n ),\n);\n\nexport default handler;\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,oBAAoB;AAC7B,SAASC,uBAAuB;AAChC,SAASC,WAAW;AACpB,SAASC,iBAAiB;AAC1B,SAASC,qBAAqB;;AAS9B,IAAMC,UAAuEC,gBAAgBC,cAAcC,KACzGC,UAAUC,YACDC,kBAAW,WAAWC,OAAK;AAChC,MAAI,UAAUA,SAAS,CAACC,aAAaD,MAAME,IAAI,GAAG;AAChD;EACF;AAEA,QAAMC,QAAQ,OAAOC,aAAaC,aAAaC,iBAAiBC,KAAK;AACrE,QAAMC,OAAO,OAAOF,iBAAiBG,QAAO;AAE5C,QAAMC,oBAAoB,CAACR,MAAkBS,YAAAA;AAC3C,UAAMC,UAAUJ,KAAKK,OAAO;MAACL,KAAKK;QAAQL,KAAKM;AAC/C,UAAMC,QAAQb,SAAS,UAAU;MAACS,WAAWH,KAAKK,QAAQL,KAAKM,OAAO,CAAA;QAAM;SAAIN,KAAKM;MAAQN,KAAKK;OAAOG,OACvGC,aAAAA;AAGF,UAAMC,UAAUN,QAAQI,OAAO,CAACG,OAAe,CAACJ,KAAKK,SAASD,EAAAA,CAAAA;AAC9D,UAAME,SAASC,MAAMC,KAAK,oBAAIC,IAAI;SAAIhB,KAAKiB,SAAST,OAAO,CAACG,OAAe,CAACJ,KAAKK,SAASD,EAAAA,CAAAA;SAASD;KAAQ,CAAA;AAE3G,UAAMQ,aACJxB,SAAS,WAAWa,KAAK,CAAA,IACrB;MAAEF,MAAME,KAAK,CAAA;IAAG,IAChBb,SAAS,WAAWM,KAAKK,OACvB;MAAEA,MAAMc;MAAWC,aAAa;IAAK,IACrC,CAAC;AAET,UAAMC,mBAAmB3B,SAAS,qBAAqB;MAAE4B,YAAY,CAACtB,KAAKsB;IAAW,IAAI,CAAC;AAE3F,WAAO;MACLL,UAAUJ;MACV,GAAGK;MACH,GAAGG;IACL;EACF;AAEA,MAAI,UAAU7B,OAAO;AACnB,UAAM+B,cAAcC,QAAQxB,IAAAA;AAC5B,UAAMG,UAAU,aAAaX,QAAQA,MAAMW,UAAUgB;AACrD,UAAMM,cAAcvB,kBAAkBV,MAAME,MAAoBS,OAAAA;AAEhE,WAAOP,aAAa8B,gBAAgB5B,iBAAiBC,OAAO,CAACJ,WAAAA;AAC3D,YAAMgC,kBACJJ,gBAAgB/B,MAAME,OAClB;QAAE,GAAGC,OAAMiC;QAAc,CAACjC,OAAMkC,UAAU,GAAGN;MAAY,IACzD5B,OAAMiC;AACZ,aAAO;QACL,GAAGE,iBAAiBnC,QAAO8B,WAAAA;QAC3BG,cAAcD;MAChB;IACF,CAAA;AAEA,QAAIxB,SAAS;AACX,aAAOd,UAAU0C,SAAS7C,gBAAgB8C,QAAQ;QAAE7B;MAAQ,CAAA;IAC9D;EACF,WAAW,YAAYX,OAAO;AAC5B,UAAMiC,cAAcvB,kBAAkBP,MAAMiC,aAAajC,MAAMkC,UAAU,CAAC;AAC1E,WAAOjC,aAAa8B,gBAAgB5B,iBAAiBC,OAAO,CAACJ,WAAUmC,iBAAiBnC,QAAO8B,WAAAA,CAAAA;EACjG,OAAO;AACLQ,QAAIC,KAAK,uBAAuB1C,OAAAA;;;;;;EAClC;AACF,CAAA,CAAA,CAAA;AAIJ,IAAA,0BAAeP;",
|
|
6
|
-
"names": ["Effect", "Capabilities", "LayoutOperation", "log", "Operation", "isNonNullable", "handler", "LayoutOperation", "SetLayoutMode", "pipe", "Operation", "withHandler", "fnUntraced", "input", "isLayoutMode", "mode", "state", "Capabilities", "getAtomValue", "DeckCapabilities", "State", "deck", "getDeck", "computeModeUpdate", "subject", "current", "solo", "active", "next", "filter", "isNonNullable", "removed", "id", "includes", "closed", "Array", "from", "Set", "inactive", "soloUpdate", "undefined", "initialized", "fullscreenUpdate", "fullscreen", "currentMode", "getMode", "deckUpdates", "updateAtomValue", "newPreviousMode", "previousMode", "activeDeck", "updateActiveDeck", "schedule", "Expose", "log", "warn"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/operations/switch-workspace.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { AppCapabilities, isPinnedWorkspace, LayoutOperation } from '@dxos/app-toolkit';\nimport { invariant } from '@dxos/invariant';\nimport { Operation } from '@dxos/operation';\nimport { Graph, Node } from '@dxos/plugin-graph';\n\nimport { DeckCapabilities, defaultDeck } from '../types';\n\nconst handler: Operation.WithHandler<typeof LayoutOperation.SwitchWorkspace> = LayoutOperation.SwitchWorkspace.pipe(\n Operation.withHandler(\n Effect.fnUntraced(function* (input) {\n const { graph } = yield* Capability.get(AppCapabilities.AppGraph);\n\n {\n const state = yield* Capabilities.getAtomValue(DeckCapabilities.State);\n // TODO(wittjosiah): This is a hack to prevent the previous deck from being set for pinned items.\n // Ideally this should be worked into the data model in a generic way.\n const shouldUpdatePrevious = !isPinnedWorkspace(state.activeDeck);\n\n yield* Capabilities.updateAtomValue(DeckCapabilities.State, (state) => {\n const newDecks = state.decks[input.subject]\n ? state.decks\n : { ...state.decks, [input.subject]: { ...defaultDeck } };\n return {\n ...state,\n previousDeck: shouldUpdatePrevious ? state.activeDeck : state.previousDeck,\n activeDeck: input.subject,\n decks: newDecks,\n };\n });\n }\n\n {\n const state = yield* Capabilities.getAtomValue(DeckCapabilities.State);\n const deck = state.decks[input.subject];\n invariant(deck, `Deck not found: ${input.subject}`);\n\n const first = deck.solo ? deck.solo : deck.active[0];\n if (first) {\n yield* Operation.schedule(LayoutOperation.ScrollIntoView, { subject: first });\n } else {\n const [item] = Graph.getConnections(graph, input.subject, 'child').filter(\n (node) => !Node.isActionLike(node) && !node.properties.disposition,\n );\n if (item) {\n yield* Operation.schedule(LayoutOperation.Open, { subject: [item.id] });\n }\n }\n }\n }),\n ),\n);\n\nexport default handler;\n"],
|
|
5
|
-
"mappings": ";;;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,cAAcC,kBAAkB;AACzC,SAASC,iBAAiBC,mBAAmBC,uBAAuB;AACpE,SAASC,iBAAiB;AAC1B,SAASC,iBAAiB;AAC1B,SAASC,OAAOC,YAAY;;AAI5B,IAAMC,UAAyEC,gBAAgBC,gBAAgBC,KAC7GC,UAAUC,YACDC,kBAAW,WAAWC,OAAK;AAChC,QAAM,EAAEC,MAAK,IAAK,OAAOC,WAAWC,IAAIC,gBAAgBC,QAAQ;AAEhE;AACE,UAAMC,QAAQ,OAAOC,aAAaC,aAAaC,iBAAiBC,KAAK;AAGrE,UAAMC,uBAAuB,CAACC,kBAAkBN,MAAMO,UAAU;AAEhE,WAAON,aAAaO,gBAAgBL,iBAAiBC,OAAO,CAACJ,WAAAA;AAC3D,YAAMS,WAAWT,OAAMU,MAAMhB,MAAMiB,OAAO,IACtCX,OAAMU,QACN;QAAE,GAAGV,OAAMU;QAAO,CAAChB,MAAMiB,OAAO,GAAG;UAAE,GAAGC;QAAY;MAAE;AAC1D,aAAO;QACL,GAAGZ;QACHa,cAAcR,uBAAuBL,OAAMO,aAAaP,OAAMa;QAC9DN,YAAYb,MAAMiB;QAClBD,OAAOD;MACT;IACF,CAAA;EACF;AAEA;AACE,UAAMT,QAAQ,OAAOC,aAAaC,aAAaC,iBAAiBC,KAAK;AACrE,UAAMU,OAAOd,MAAMU,MAAMhB,MAAMiB,OAAO;AACtCI,cAAUD,MAAM,mBAAmBpB,MAAMiB,OAAO,IAAE;;;;;;;;;AAElD,UAAMK,QAAQF,KAAKG,OAAOH,KAAKG,OAAOH,KAAKI,OAAO,CAAA;AAClD,QAAIF,OAAO;AACT,aAAOzB,UAAU4B,SAAS/B,gBAAgBgC,gBAAgB;QAAET,SAASK;MAAM,CAAA;IAC7E,OAAO;AACL,YAAM,CAACK,IAAAA,IAAQC,MAAMC,eAAe5B,OAAOD,MAAMiB,SAAS,OAAA,EAASa,OACjE,CAACC,SAAS,CAACC,KAAKC,aAAaF,IAAAA,KAAS,CAACA,KAAKG,WAAWC,WAAW;AAEpE,UAAIR,MAAM;AACR,eAAO9B,UAAU4B,SAAS/B,gBAAgB0C,MAAM;UAAEnB,SAAS;YAACU,KAAKU;;QAAI,CAAA;MACvE;IACF;EACF;AACF,CAAA,CAAA,CAAA;AAIJ,IAAA,2BAAe5C;",
|
|
6
|
-
"names": ["Effect", "Capabilities", "Capability", "AppCapabilities", "isPinnedWorkspace", "LayoutOperation", "invariant", "Operation", "Graph", "Node", "handler", "LayoutOperation", "SwitchWorkspace", "pipe", "Operation", "withHandler", "fnUntraced", "input", "graph", "Capability", "get", "AppCapabilities", "AppGraph", "state", "Capabilities", "getAtomValue", "DeckCapabilities", "State", "shouldUpdatePrevious", "isPinnedWorkspace", "activeDeck", "updateAtomValue", "newDecks", "decks", "subject", "defaultDeck", "previousDeck", "deck", "invariant", "first", "solo", "active", "schedule", "ScrollIntoView", "item", "Graph", "getConnections", "filter", "node", "Node", "isActionLike", "properties", "disposition", "Open", "id"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/operations/update-companion.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities } from '@dxos/app-framework';\nimport { LayoutOperation } from '@dxos/app-toolkit';\nimport { Operation } from '@dxos/operation';\nimport { getLinkedVariant } from '@dxos/react-ui-attention';\n\nimport { DeckCapabilities } from '../types';\nimport { updateActiveDeck } from './helpers';\n\nconst handler: Operation.WithHandler<typeof LayoutOperation.UpdateCompanion> = LayoutOperation.UpdateCompanion.pipe(\n Operation.withHandler(\n Effect.fnUntraced(function* (input) {\n if (input.subject === null) {\n yield* Capabilities.updateAtomValue(DeckCapabilities.State, (state) =>\n updateActiveDeck(state, { companionOpen: false }),\n );\n } else {\n const variant = getLinkedVariant(input.subject);\n yield* Capabilities.updateAtomValue(DeckCapabilities.State, (state) =>\n updateActiveDeck(state, {\n companionOpen: true,\n companionVariant: variant,\n }),\n );\n }\n }),\n ),\n);\n\nexport default handler;\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,oBAAoB;AAC7B,SAASC,uBAAuB;AAChC,SAASC,iBAAiB;AAC1B,SAASC,wBAAwB;AAKjC,IAAMC,UAAyEC,gBAAgBC,gBAAgBC,KAC7GC,UAAUC,YACDC,kBAAW,WAAWC,OAAK;AAChC,MAAIA,MAAMC,YAAY,MAAM;AAC1B,WAAOC,aAAaC,gBAAgBC,iBAAiBC,OAAO,CAACC,UAC3DC,iBAAiBD,OAAO;MAAEE,eAAe;IAAM,CAAA,CAAA;EAEnD,OAAO;AACL,UAAMC,UAAUC,iBAAiBV,MAAMC,OAAO;AAC9C,WAAOC,aAAaC,gBAAgBC,iBAAiBC,OAAO,CAACC,UAC3DC,iBAAiBD,OAAO;MACtBE,eAAe;MACfG,kBAAkBF;IACpB,CAAA,CAAA;EAEJ;AACF,CAAA,CAAA,CAAA;AAIJ,IAAA,2BAAehB;",
|
|
6
|
-
"names": ["Effect", "Capabilities", "LayoutOperation", "Operation", "getLinkedVariant", "handler", "LayoutOperation", "UpdateCompanion", "pipe", "Operation", "withHandler", "fnUntraced", "input", "subject", "Capabilities", "updateAtomValue", "DeckCapabilities", "State", "state", "updateActiveDeck", "companionOpen", "variant", "getLinkedVariant", "companionVariant"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/operations/update-complementary.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities } from '@dxos/app-framework';\nimport { LayoutOperation } from '@dxos/app-toolkit';\nimport { Operation } from '@dxos/operation';\n\nimport { DeckCapabilities } from '../types';\n\nconst handler: Operation.WithHandler<typeof LayoutOperation.UpdateComplementary> =\n LayoutOperation.UpdateComplementary.pipe(\n Operation.withHandler(\n Effect.fnUntraced(function* (input) {\n const state = yield* Capabilities.getAtomValue(DeckCapabilities.State);\n const panelChanged = state.complementarySidebarPanel !== input.subject;\n const next = input.subject ? 'expanded' : (input.state ?? state.complementarySidebarState);\n const stateChanged = next !== state.complementarySidebarState;\n\n if (panelChanged || stateChanged) {\n yield* Capabilities.updateAtomValue(DeckCapabilities.State, (state) => ({\n ...state,\n complementarySidebarPanel: panelChanged ? input.subject : state.complementarySidebarPanel,\n complementarySidebarState: stateChanged ? next : state.complementarySidebarState,\n }));\n }\n }),\n ),\n );\n\nexport default handler;\n"],
|
|
5
|
-
"mappings": ";;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,oBAAoB;AAC7B,SAASC,uBAAuB;AAChC,SAASC,iBAAiB;AAI1B,IAAMC,UACJC,gBAAgBC,oBAAoBC,KAClCC,UAAUC,YACDC,kBAAW,WAAWC,OAAK;AAChC,QAAMC,QAAQ,OAAOC,aAAaC,aAAaC,iBAAiBC,KAAK;AACrE,QAAMC,eAAeL,MAAMM,8BAA8BP,MAAMQ;AAC/D,QAAMC,OAAOT,MAAMQ,UAAU,aAAcR,MAAMC,SAASA,MAAMS;AAChE,QAAMC,eAAeF,SAASR,MAAMS;AAEpC,MAAIJ,gBAAgBK,cAAc;AAChC,WAAOT,aAAaU,gBAAgBR,iBAAiBC,OAAO,CAACJ,YAAW;MACtE,GAAGA;MACHM,2BAA2BD,eAAeN,MAAMQ,UAAUP,OAAMM;MAChEG,2BAA2BC,eAAeF,OAAOR,OAAMS;IACzD,EAAA;EACF;AACF,CAAA,CAAA,CAAA;AAIN,IAAA,+BAAejB;",
|
|
6
|
-
"names": ["Effect", "Capabilities", "LayoutOperation", "Operation", "handler", "LayoutOperation", "UpdateComplementary", "pipe", "Operation", "withHandler", "fnUntraced", "input", "state", "Capabilities", "getAtomValue", "DeckCapabilities", "State", "panelChanged", "complementarySidebarPanel", "subject", "next", "complementarySidebarState", "stateChanged", "updateAtomValue"]
|
|
7
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
UpdatePlankSize
|
|
3
|
-
} from "./chunk-FRVCL5NO.mjs";
|
|
4
|
-
import {
|
|
5
|
-
updateActiveDeck
|
|
6
|
-
} from "./chunk-KUTDCWZF.mjs";
|
|
7
|
-
import {
|
|
8
|
-
DeckCapabilities
|
|
9
|
-
} from "./chunk-5LM6A3EC.mjs";
|
|
10
|
-
import "./chunk-J5LGTIGS.mjs";
|
|
11
|
-
|
|
12
|
-
// src/operations/update-plank-size.ts
|
|
13
|
-
import * as Effect from "effect/Effect";
|
|
14
|
-
import { Capabilities } from "@dxos/app-framework";
|
|
15
|
-
import { Operation } from "@dxos/operation";
|
|
16
|
-
var handler = UpdatePlankSize.pipe(Operation.withHandler(Effect.fnUntraced(function* (input) {
|
|
17
|
-
yield* Capabilities.updateAtomValue(DeckCapabilities.State, (state) => updateActiveDeck(state, {
|
|
18
|
-
plankSizing: {
|
|
19
|
-
...state.decks[state.activeDeck]?.plankSizing,
|
|
20
|
-
[input.id]: input.size
|
|
21
|
-
}
|
|
22
|
-
}));
|
|
23
|
-
})));
|
|
24
|
-
var update_plank_size_default = handler;
|
|
25
|
-
export {
|
|
26
|
-
update_plank_size_default as default
|
|
27
|
-
};
|
|
28
|
-
//# sourceMappingURL=update-plank-size-5VHZOTHE.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/operations/update-plank-size.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities } from '@dxos/app-framework';\nimport { Operation } from '@dxos/operation';\n\nimport { DeckCapabilities } from '../types';\nimport { UpdatePlankSize } from './definitions';\nimport { updateActiveDeck } from './helpers';\n\nconst handler: Operation.WithHandler<typeof UpdatePlankSize> = UpdatePlankSize.pipe(\n Operation.withHandler(\n Effect.fnUntraced(function* (input) {\n yield* Capabilities.updateAtomValue(DeckCapabilities.State, (state) =>\n updateActiveDeck(state, {\n plankSizing: {\n ...state.decks[state.activeDeck]?.plankSizing,\n [input.id]: input.size,\n },\n }),\n );\n }),\n ),\n);\n\nexport default handler;\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,oBAAoB;AAC7B,SAASC,iBAAiB;AAM1B,IAAMC,UAAyDC,gBAAgBC,KAC7EC,UAAUC,YACDC,kBAAW,WAAWC,OAAK;AAChC,SAAOC,aAAaC,gBAAgBC,iBAAiBC,OAAO,CAACC,UAC3DC,iBAAiBD,OAAO;IACtBE,aAAa;MACX,GAAGF,MAAMG,MAAMH,MAAMI,UAAU,GAAGF;MAClC,CAACP,MAAMU,EAAE,GAAGV,MAAMW;IACpB;EACF,CAAA,CAAA;AAEJ,CAAA,CAAA,CAAA;AAIJ,IAAA,4BAAejB;",
|
|
6
|
-
"names": ["Effect", "Capabilities", "Operation", "handler", "UpdatePlankSize", "pipe", "Operation", "withHandler", "fnUntraced", "input", "Capabilities", "updateAtomValue", "DeckCapabilities", "State", "state", "updateActiveDeck", "plankSizing", "decks", "activeDeck", "id", "size"]
|
|
7
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
DeckCapabilities
|
|
4
|
-
} from "./chunk-B7WZXRW4.mjs";
|
|
5
|
-
import "./chunk-HSLMI22Q.mjs";
|
|
6
|
-
|
|
7
|
-
// src/operations/add-toast.ts
|
|
8
|
-
import * as Effect from "effect/Effect";
|
|
9
|
-
import { Capabilities } from "@dxos/app-framework";
|
|
10
|
-
import { LayoutOperation } from "@dxos/app-toolkit";
|
|
11
|
-
import { Operation } from "@dxos/operation";
|
|
12
|
-
var handler = LayoutOperation.AddToast.pipe(Operation.withHandler(Effect.fnUntraced(function* (input) {
|
|
13
|
-
yield* Capabilities.updateAtomValue(DeckCapabilities.EphemeralState, (state) => ({
|
|
14
|
-
...state,
|
|
15
|
-
toasts: [
|
|
16
|
-
...state.toasts,
|
|
17
|
-
input
|
|
18
|
-
]
|
|
19
|
-
}));
|
|
20
|
-
})));
|
|
21
|
-
var add_toast_default = handler;
|
|
22
|
-
export {
|
|
23
|
-
add_toast_default as default
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=add-toast-AZM7NFNM.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/operations/add-toast.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities } from '@dxos/app-framework';\nimport { LayoutOperation } from '@dxos/app-toolkit';\nimport { Operation } from '@dxos/operation';\n\nimport { DeckCapabilities } from '../types';\n\nconst handler: Operation.WithHandler<typeof LayoutOperation.AddToast> = LayoutOperation.AddToast.pipe(\n Operation.withHandler(\n Effect.fnUntraced(function* (input) {\n yield* Capabilities.updateAtomValue(DeckCapabilities.EphemeralState, (state) => ({\n ...state,\n toasts: [...state.toasts, input as LayoutOperation.Toast],\n }));\n }),\n ),\n);\n\nexport default handler;\n"],
|
|
5
|
-
"mappings": ";;;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,oBAAoB;AAC7B,SAASC,uBAAuB;AAChC,SAASC,iBAAiB;AAI1B,IAAMC,UAAkEC,gBAAgBC,SAASC,KAC/FC,UAAUC,YACDC,kBAAW,WAAWC,OAAK;AAChC,SAAOC,aAAaC,gBAAgBC,iBAAiBC,gBAAgB,CAACC,WAAW;IAC/E,GAAGA;IACHC,QAAQ;SAAID,MAAMC;MAAQN;;EAC5B,EAAA;AACF,CAAA,CAAA,CAAA;AAIJ,IAAA,oBAAeP;",
|
|
6
|
-
"names": ["Effect", "Capabilities", "LayoutOperation", "Operation", "handler", "LayoutOperation", "AddToast", "pipe", "Operation", "withHandler", "fnUntraced", "input", "Capabilities", "updateAtomValue", "DeckCapabilities", "EphemeralState", "state", "toasts"]
|
|
7
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
Adjust
|
|
4
|
-
} from "./chunk-A63Q53TW.mjs";
|
|
5
|
-
import {
|
|
6
|
-
incrementPlank
|
|
7
|
-
} from "./chunk-IRWCUYJY.mjs";
|
|
8
|
-
import {
|
|
9
|
-
computeActiveUpdates
|
|
10
|
-
} from "./chunk-MB4SDDVY.mjs";
|
|
11
|
-
import {
|
|
12
|
-
updateActiveDeck
|
|
13
|
-
} from "./chunk-MLVJ2ODW.mjs";
|
|
14
|
-
import {
|
|
15
|
-
DeckCapabilities,
|
|
16
|
-
PLANK_COMPANION_TYPE
|
|
17
|
-
} from "./chunk-B7WZXRW4.mjs";
|
|
18
|
-
import "./chunk-HSLMI22Q.mjs";
|
|
19
|
-
|
|
20
|
-
// src/operations/adjust.ts
|
|
21
|
-
import * as Effect from "effect/Effect";
|
|
22
|
-
import * as Function from "effect/Function";
|
|
23
|
-
import * as Option from "effect/Option";
|
|
24
|
-
import { Capabilities, Capability } from "@dxos/app-framework";
|
|
25
|
-
import { AppCapabilities, LayoutOperation } from "@dxos/app-toolkit";
|
|
26
|
-
import { Operation } from "@dxos/operation";
|
|
27
|
-
import { AttentionCapabilities } from "@dxos/plugin-attention/types";
|
|
28
|
-
import { Graph } from "@dxos/plugin-graph";
|
|
29
|
-
import { byPosition } from "@dxos/util";
|
|
30
|
-
var handler = Adjust.pipe(Operation.withHandler(Effect.fnUntraced(function* (input) {
|
|
31
|
-
const _state = yield* Capabilities.getAtomValue(DeckCapabilities.State);
|
|
32
|
-
const deck = yield* DeckCapabilities.getDeck();
|
|
33
|
-
const attention = yield* Capability.get(AttentionCapabilities.Attention);
|
|
34
|
-
const { graph } = yield* Capability.get(AppCapabilities.AppGraph);
|
|
35
|
-
let soloOperation;
|
|
36
|
-
if (input.type === "increment-end" || input.type === "increment-start") {
|
|
37
|
-
const next = incrementPlank(deck.active, input);
|
|
38
|
-
const { deckUpdates } = computeActiveUpdates({
|
|
39
|
-
next,
|
|
40
|
-
deck,
|
|
41
|
-
attention
|
|
42
|
-
});
|
|
43
|
-
yield* Capabilities.updateAtomValue(DeckCapabilities.State, (state) => updateActiveDeck(state, deckUpdates));
|
|
44
|
-
}
|
|
45
|
-
if (input.type.startsWith("solo")) {
|
|
46
|
-
const entryId = input.id;
|
|
47
|
-
if (!deck.solo) {
|
|
48
|
-
soloOperation = {
|
|
49
|
-
type: "solo",
|
|
50
|
-
entryId,
|
|
51
|
-
mode: input.type
|
|
52
|
-
};
|
|
53
|
-
} else {
|
|
54
|
-
if (input.type === "solo--fullscreen") {
|
|
55
|
-
soloOperation = {
|
|
56
|
-
type: "solo",
|
|
57
|
-
entryId,
|
|
58
|
-
mode: "solo--fullscreen"
|
|
59
|
-
};
|
|
60
|
-
} else if (input.type === "solo") {
|
|
61
|
-
soloOperation = {
|
|
62
|
-
type: "unsolo",
|
|
63
|
-
entryId
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
if (soloOperation?.type === "solo") {
|
|
69
|
-
yield* Operation.invoke(LayoutOperation.SetLayoutMode, {
|
|
70
|
-
subject: soloOperation.entryId,
|
|
71
|
-
mode: soloOperation.mode
|
|
72
|
-
});
|
|
73
|
-
} else if (soloOperation?.type === "unsolo") {
|
|
74
|
-
yield* Operation.invoke(LayoutOperation.SetLayoutMode, {
|
|
75
|
-
mode: "multi"
|
|
76
|
-
});
|
|
77
|
-
yield* Operation.invoke(LayoutOperation.Open, {
|
|
78
|
-
subject: [
|
|
79
|
-
soloOperation.entryId
|
|
80
|
-
]
|
|
81
|
-
});
|
|
82
|
-
}
|
|
83
|
-
if (input.type === "companion") {
|
|
84
|
-
const companion = Function.pipe(Graph.getNode(graph, input.id), Option.map((node) => Graph.getConnections(graph, node.id, "child").filter((n) => n.type === PLANK_COMPANION_TYPE).toSorted((a, b) => byPosition(a.properties, b.properties))), Option.flatMap((companions) => companions.length > 0 ? Option.some(companions[0]) : Option.none()));
|
|
85
|
-
if (Option.isSome(companion)) {
|
|
86
|
-
yield* Operation.invoke(LayoutOperation.UpdateCompanion, {
|
|
87
|
-
subject: companion.value.id
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
})));
|
|
92
|
-
var adjust_default = handler;
|
|
93
|
-
export {
|
|
94
|
-
adjust_default as default
|
|
95
|
-
};
|
|
96
|
-
//# sourceMappingURL=adjust-ICALXQ6F.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/operations/adjust.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport * as Function from 'effect/Function';\nimport * as Option from 'effect/Option';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { AppCapabilities, LayoutOperation } from '@dxos/app-toolkit';\nimport { Operation } from '@dxos/operation';\nimport { AttentionCapabilities } from '@dxos/plugin-attention/types';\nimport { Graph } from '@dxos/plugin-graph';\nimport { byPosition } from '@dxos/util';\n\nimport { incrementPlank } from '../layout';\nimport { DeckCapabilities, PLANK_COMPANION_TYPE } from '../types';\nimport { computeActiveUpdates } from '../util';\nimport { Adjust } from './definitions';\nimport { updateActiveDeck } from './helpers';\n\nconst handler: Operation.WithHandler<typeof Adjust> = Adjust.pipe(\n Operation.withHandler(\n Effect.fnUntraced(function* (input) {\n const _state = yield* Capabilities.getAtomValue(DeckCapabilities.State);\n const deck = yield* DeckCapabilities.getDeck();\n const attention = yield* Capability.get(AttentionCapabilities.Attention);\n const { graph } = yield* Capability.get(AppCapabilities.AppGraph);\n\n let soloOperation:\n | { type: 'solo'; entryId: string; mode: string }\n | { type: 'unsolo'; entryId: string }\n | undefined;\n\n if (input.type === 'increment-end' || input.type === 'increment-start') {\n const next = incrementPlank(deck.active, input);\n const { deckUpdates } = computeActiveUpdates({ next, deck, attention });\n yield* Capabilities.updateAtomValue(DeckCapabilities.State, (state) => updateActiveDeck(state, deckUpdates));\n }\n\n if (input.type.startsWith('solo')) {\n const entryId = input.id;\n if (!deck.solo) {\n soloOperation = { type: 'solo', entryId, mode: input.type };\n } else {\n if (input.type === 'solo--fullscreen') {\n soloOperation = { type: 'solo', entryId, mode: 'solo--fullscreen' };\n } else if (input.type === 'solo') {\n soloOperation = { type: 'unsolo', entryId };\n }\n }\n }\n\n if (soloOperation?.type === 'solo') {\n yield* Operation.invoke(LayoutOperation.SetLayoutMode, {\n subject: soloOperation.entryId,\n mode: soloOperation.mode,\n });\n } else if (soloOperation?.type === 'unsolo') {\n yield* Operation.invoke(LayoutOperation.SetLayoutMode, { mode: 'multi' });\n yield* Operation.invoke(LayoutOperation.Open, { subject: [soloOperation.entryId] });\n }\n\n if (input.type === 'companion') {\n const companion = Function.pipe(\n Graph.getNode(graph, input.id),\n Option.map((node) =>\n Graph.getConnections(graph, node.id, 'child')\n .filter((n) => n.type === PLANK_COMPANION_TYPE)\n .toSorted((a, b) => byPosition(a.properties, b.properties)),\n ),\n Option.flatMap((companions) => (companions.length > 0 ? Option.some(companions[0]) : Option.none())),\n );\n\n if (Option.isSome(companion)) {\n yield* Operation.invoke(LayoutOperation.UpdateCompanion, { subject: companion.value.id });\n }\n }\n }),\n ),\n);\n\nexport default handler;\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAIA,YAAYA,YAAY;AACxB,YAAYC,cAAc;AAC1B,YAAYC,YAAY;AAExB,SAASC,cAAcC,kBAAkB;AACzC,SAASC,iBAAiBC,uBAAuB;AACjD,SAASC,iBAAiB;AAC1B,SAASC,6BAA6B;AACtC,SAASC,aAAa;AACtB,SAASC,kBAAkB;AAQ3B,IAAMC,UAAgDC,OAAOC,KAC3DC,UAAUC,YACDC,kBAAW,WAAWC,OAAK;AAChC,QAAMC,SAAS,OAAOC,aAAaC,aAAaC,iBAAiBC,KAAK;AACtE,QAAMC,OAAO,OAAOF,iBAAiBG,QAAO;AAC5C,QAAMC,YAAY,OAAOC,WAAWC,IAAIC,sBAAsBC,SAAS;AACvE,QAAM,EAAEC,MAAK,IAAK,OAAOJ,WAAWC,IAAII,gBAAgBC,QAAQ;AAEhE,MAAIC;AAKJ,MAAIhB,MAAMiB,SAAS,mBAAmBjB,MAAMiB,SAAS,mBAAmB;AACtE,UAAMC,OAAOC,eAAeb,KAAKc,QAAQpB,KAAAA;AACzC,UAAM,EAAEqB,YAAW,IAAKC,qBAAqB;MAAEJ;MAAMZ;MAAME;IAAU,CAAA;AACrE,WAAON,aAAaqB,gBAAgBnB,iBAAiBC,OAAO,CAACmB,UAAUC,iBAAiBD,OAAOH,WAAAA,CAAAA;EACjG;AAEA,MAAIrB,MAAMiB,KAAKS,WAAW,MAAA,GAAS;AACjC,UAAMC,UAAU3B,MAAM4B;AACtB,QAAI,CAACtB,KAAKuB,MAAM;AACdb,sBAAgB;QAAEC,MAAM;QAAQU;QAASG,MAAM9B,MAAMiB;MAAK;IAC5D,OAAO;AACL,UAAIjB,MAAMiB,SAAS,oBAAoB;AACrCD,wBAAgB;UAAEC,MAAM;UAAQU;UAASG,MAAM;QAAmB;MACpE,WAAW9B,MAAMiB,SAAS,QAAQ;AAChCD,wBAAgB;UAAEC,MAAM;UAAUU;QAAQ;MAC5C;IACF;EACF;AAEA,MAAIX,eAAeC,SAAS,QAAQ;AAClC,WAAOpB,UAAUkC,OAAOC,gBAAgBC,eAAe;MACrDC,SAASlB,cAAcW;MACvBG,MAAMd,cAAcc;IACtB,CAAA;EACF,WAAWd,eAAeC,SAAS,UAAU;AAC3C,WAAOpB,UAAUkC,OAAOC,gBAAgBC,eAAe;MAAEH,MAAM;IAAQ,CAAA;AACvE,WAAOjC,UAAUkC,OAAOC,gBAAgBG,MAAM;MAAED,SAAS;QAAClB,cAAcW;;IAAS,CAAA;EACnF;AAEA,MAAI3B,MAAMiB,SAAS,aAAa;AAC9B,UAAMmB,YAAqBxC,cACzByC,MAAMC,QAAQzB,OAAOb,MAAM4B,EAAE,GACtBW,WAAI,CAACC,SACVH,MAAMI,eAAe5B,OAAO2B,KAAKZ,IAAI,OAAA,EAClCc,OAAO,CAACC,MAAMA,EAAE1B,SAAS2B,oBAAAA,EACzBC,SAAS,CAACC,GAAGC,MAAMC,WAAWF,EAAEG,YAAYF,EAAEE,UAAU,CAAA,CAAA,GAEtDC,eAAQ,CAACC,eAAgBA,WAAWC,SAAS,IAAWC,YAAKF,WAAW,CAAA,CAAE,IAAWG,YAAI,CAAA,CAAA;AAGlG,QAAWC,cAAOnB,SAAAA,GAAY;AAC5B,aAAOvC,UAAUkC,OAAOC,gBAAgBwB,iBAAiB;QAAEtB,SAASE,UAAUqB,MAAM7B;MAAG,CAAA;IACzF;EACF;AACF,CAAA,CAAA,CAAA;AAIJ,IAAA,iBAAelC;",
|
|
6
|
-
"names": ["Effect", "Function", "Option", "Capabilities", "Capability", "AppCapabilities", "LayoutOperation", "Operation", "AttentionCapabilities", "Graph", "byPosition", "handler", "Adjust", "pipe", "Operation", "withHandler", "fnUntraced", "input", "_state", "Capabilities", "getAtomValue", "DeckCapabilities", "State", "deck", "getDeck", "attention", "Capability", "get", "AttentionCapabilities", "Attention", "graph", "AppCapabilities", "AppGraph", "soloOperation", "type", "next", "incrementPlank", "active", "deckUpdates", "computeActiveUpdates", "updateAtomValue", "state", "updateActiveDeck", "startsWith", "entryId", "id", "solo", "mode", "invoke", "LayoutOperation", "SetLayoutMode", "subject", "Open", "companion", "Graph", "getNode", "map", "node", "getConnections", "filter", "n", "PLANK_COMPANION_TYPE", "toSorted", "a", "b", "byPosition", "properties", "flatMap", "companions", "length", "some", "none", "isSome", "UpdateCompanion", "value"]
|
|
7
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
__export
|
|
4
|
-
} from "./chunk-HSLMI22Q.mjs";
|
|
5
|
-
|
|
6
|
-
// src/operations/definitions.ts
|
|
7
|
-
var definitions_exports = {};
|
|
8
|
-
__export(definitions_exports, {
|
|
9
|
-
Adjust: () => Adjust,
|
|
10
|
-
UpdatePlankSize: () => UpdatePlankSize
|
|
11
|
-
});
|
|
12
|
-
import * as Schema from "effect/Schema";
|
|
13
|
-
import { Capability } from "@dxos/app-framework";
|
|
14
|
-
import { Operation } from "@dxos/operation";
|
|
15
|
-
import { meta } from "#meta";
|
|
16
|
-
var PartAdjustment = Schema.Union(Schema.Literal("close").annotations({
|
|
17
|
-
description: "Close the plank."
|
|
18
|
-
}), Schema.Literal("companion").annotations({
|
|
19
|
-
description: "Open the companion plank."
|
|
20
|
-
}), Schema.Literal("solo").annotations({
|
|
21
|
-
description: "Solo the plank."
|
|
22
|
-
}), Schema.Literal("solo--fullscreen").annotations({
|
|
23
|
-
description: "Fullscreen the plank."
|
|
24
|
-
}), Schema.Literal("increment-start").annotations({
|
|
25
|
-
description: "Move the plank towards the start of the deck."
|
|
26
|
-
}), Schema.Literal("increment-end").annotations({
|
|
27
|
-
description: "Move the plank towards the end of the deck."
|
|
28
|
-
}));
|
|
29
|
-
var Adjust = Operation.make({
|
|
30
|
-
meta: {
|
|
31
|
-
key: `${meta.id}.operation.adjust`,
|
|
32
|
-
name: "Adjust",
|
|
33
|
-
description: "Adjust the layout of a plank."
|
|
34
|
-
},
|
|
35
|
-
services: [
|
|
36
|
-
Capability.Service
|
|
37
|
-
],
|
|
38
|
-
input: Schema.Struct({
|
|
39
|
-
id: Schema.String.annotations({
|
|
40
|
-
description: "The id of the plank to adjust."
|
|
41
|
-
}),
|
|
42
|
-
type: PartAdjustment.annotations({
|
|
43
|
-
description: "The type of adjustment to make."
|
|
44
|
-
})
|
|
45
|
-
}),
|
|
46
|
-
output: Schema.Void
|
|
47
|
-
});
|
|
48
|
-
var UpdatePlankSize = Operation.make({
|
|
49
|
-
meta: {
|
|
50
|
-
key: `${meta.id}.operation.update-plank-size`,
|
|
51
|
-
name: "Update Plank Size",
|
|
52
|
-
description: "Update the size of a plank."
|
|
53
|
-
},
|
|
54
|
-
services: [
|
|
55
|
-
Capability.Service
|
|
56
|
-
],
|
|
57
|
-
input: Schema.Struct({
|
|
58
|
-
id: Schema.String.annotations({
|
|
59
|
-
description: "The id of the plank to resize."
|
|
60
|
-
}),
|
|
61
|
-
size: Schema.Number.annotations({
|
|
62
|
-
description: "The new size of the plank."
|
|
63
|
-
})
|
|
64
|
-
}),
|
|
65
|
-
output: Schema.Void
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
export {
|
|
69
|
-
Adjust,
|
|
70
|
-
UpdatePlankSize,
|
|
71
|
-
definitions_exports
|
|
72
|
-
};
|
|
73
|
-
//# sourceMappingURL=chunk-A63Q53TW.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/operations/definitions.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { Capability } from '@dxos/app-framework';\nimport { Operation } from '@dxos/operation';\n\nimport { meta } from '#meta';\n\nconst PartAdjustment = Schema.Union(\n Schema.Literal('close').annotations({ description: 'Close the plank.' }),\n Schema.Literal('companion').annotations({ description: 'Open the companion plank.' }),\n Schema.Literal('solo').annotations({ description: 'Solo the plank.' }),\n Schema.Literal('solo--fullscreen').annotations({ description: 'Fullscreen the plank.' }),\n Schema.Literal('increment-start').annotations({ description: 'Move the plank towards the start of the deck.' }),\n Schema.Literal('increment-end').annotations({ description: 'Move the plank towards the end of the deck.' }),\n);\n\nexport type PartAdjustment = Schema.Schema.Type<typeof PartAdjustment>;\n\nexport const Adjust = Operation.make({\n meta: {\n key: `${meta.id}.operation.adjust`,\n name: 'Adjust',\n description: 'Adjust the layout of a plank.',\n },\n services: [Capability.Service],\n input: Schema.Struct({\n id: Schema.String.annotations({ description: 'The id of the plank to adjust.' }),\n type: PartAdjustment.annotations({ description: 'The type of adjustment to make.' }),\n }),\n output: Schema.Void,\n});\n\nexport const UpdatePlankSize = Operation.make({\n meta: {\n key: `${meta.id}.operation.update-plank-size`,\n name: 'Update Plank Size',\n description: 'Update the size of a plank.',\n },\n services: [Capability.Service],\n input: Schema.Struct({\n id: Schema.String.annotations({ description: 'The id of the plank to resize.' }),\n size: Schema.Number.annotations({ description: 'The new size of the plank.' }),\n }),\n output: Schema.Void,\n});\n"],
|
|
5
|
-
"mappings": ";;;;;;AAAA;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,kBAAkB;AAC3B,SAASC,iBAAiB;AAE1B,SAASC,YAAY;AAErB,IAAMC,iBAAwBC,aACrBC,eAAQ,OAAA,EAASC,YAAY;EAAEC,aAAa;AAAmB,CAAA,GAC/DF,eAAQ,WAAA,EAAaC,YAAY;EAAEC,aAAa;AAA4B,CAAA,GAC5EF,eAAQ,MAAA,EAAQC,YAAY;EAAEC,aAAa;AAAkB,CAAA,GAC7DF,eAAQ,kBAAA,EAAoBC,YAAY;EAAEC,aAAa;AAAwB,CAAA,GAC/EF,eAAQ,iBAAA,EAAmBC,YAAY;EAAEC,aAAa;AAAgD,CAAA,GACtGF,eAAQ,eAAA,EAAiBC,YAAY;EAAEC,aAAa;AAA8C,CAAA,CAAA;AAKpG,IAAMC,SAASC,UAAUC,KAAK;EACnCC,MAAM;IACJC,KAAK,GAAGD,KAAKE,EAAE;IACfC,MAAM;IACNP,aAAa;EACf;EACAQ,UAAU;IAACC,WAAWC;;EACtBC,OAAcC,cAAO;IACnBN,IAAWO,cAAOd,YAAY;MAAEC,aAAa;IAAiC,CAAA;IAC9Ec,MAAMlB,eAAeG,YAAY;MAAEC,aAAa;IAAkC,CAAA;EACpF,CAAA;EACAe,QAAeC;AACjB,CAAA;AAEO,IAAMC,kBAAkBf,UAAUC,KAAK;EAC5CC,MAAM;IACJC,KAAK,GAAGD,KAAKE,EAAE;IACfC,MAAM;IACNP,aAAa;EACf;EACAQ,UAAU;IAACC,WAAWC;;EACtBC,OAAcC,cAAO;IACnBN,IAAWO,cAAOd,YAAY;MAAEC,aAAa;IAAiC,CAAA;IAC9EkB,MAAaC,cAAOpB,YAAY;MAAEC,aAAa;IAA6B,CAAA;EAC9E,CAAA;EACAe,QAAeC;AACjB,CAAA;",
|
|
6
|
-
"names": ["Schema", "Capability", "Operation", "meta", "PartAdjustment", "Union", "Literal", "annotations", "description", "Adjust", "Operation", "make", "meta", "key", "id", "name", "services", "Capability", "Service", "input", "Struct", "String", "type", "output", "Void", "UpdatePlankSize", "size", "Number"]
|
|
7
|
-
}
|