@dxos/plugin-simple-layout 0.8.4-main.7996785055 → 0.8.4-main.8baae0fced
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/LICENSE +102 -5
- package/dist/lib/neutral/SimpleLayoutPlugin.mjs +52 -0
- package/dist/lib/neutral/SimpleLayoutPlugin.mjs.map +7 -0
- package/dist/lib/neutral/app-graph-builder-EYQKLRRP.mjs +21 -0
- package/dist/lib/neutral/app-graph-builder-EYQKLRRP.mjs.map +7 -0
- package/dist/lib/neutral/capabilities/index.mjs +21 -0
- package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
- package/dist/lib/neutral/chunk-5LQGH5KW.mjs +20 -0
- package/dist/lib/neutral/chunk-5LQGH5KW.mjs.map +7 -0
- package/dist/lib/{browser/chunk-XJVW3PRY.mjs → neutral/chunk-7UDV3JDT.mjs} +4 -4
- package/dist/lib/neutral/chunk-7UDV3JDT.mjs.map +7 -0
- package/dist/lib/neutral/chunk-FD2CAY4Q.mjs +26 -0
- package/dist/lib/neutral/chunk-FD2CAY4Q.mjs.map +7 -0
- package/dist/lib/neutral/chunk-J5LGTIGS.mjs +10 -0
- package/dist/lib/neutral/chunk-J5LGTIGS.mjs.map +7 -0
- package/dist/lib/neutral/chunk-Y2QR5SYD.mjs +8 -0
- package/dist/lib/neutral/chunk-Y2QR5SYD.mjs.map +7 -0
- package/dist/lib/{browser/close-OT5JOGVY.mjs → neutral/close-WKMURGUB.mjs} +5 -4
- package/dist/lib/{node-esm/close-PEVHREL2.mjs.map → neutral/close-WKMURGUB.mjs.map} +1 -1
- package/dist/lib/{browser/chunk-J5FQ32AV.mjs → neutral/components/index.mjs} +261 -591
- package/dist/lib/neutral/components/index.mjs.map +7 -0
- package/dist/lib/neutral/hooks/index.mjs +332 -0
- package/dist/lib/neutral/hooks/index.mjs.map +7 -0
- package/dist/lib/neutral/index.mjs +14 -0
- package/dist/lib/neutral/index.mjs.map +7 -0
- package/dist/lib/neutral/meta.json +1 -0
- package/dist/lib/neutral/meta.mjs +8 -0
- package/dist/lib/neutral/meta.mjs.map +7 -0
- package/dist/lib/neutral/open-PEVXNVTV.mjs +51 -0
- package/dist/lib/neutral/open-PEVXNVTV.mjs.map +7 -0
- package/dist/lib/neutral/operation-handler-EAIE7KPR.mjs +13 -0
- package/dist/lib/neutral/operation-handler-EAIE7KPR.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/{browser/react-root-6KIGPLUT.mjs → neutral/react-root-VE265VX4.mjs} +5 -8
- package/dist/lib/neutral/react-root-VE265VX4.mjs.map +7 -0
- package/dist/lib/{node-esm/react-surface-WLKB6AET.mjs → neutral/react-surface-YHXOHJI7.mjs} +16 -15
- package/dist/lib/neutral/react-surface-YHXOHJI7.mjs.map +7 -0
- package/dist/lib/{browser/revert-workspace-DLE265AN.mjs → neutral/revert-workspace-ST6NZUNG.mjs} +5 -4
- package/dist/lib/{node-esm/revert-workspace-XZXT64YA.mjs.map → neutral/revert-workspace-ST6NZUNG.mjs.map} +1 -1
- package/dist/lib/{browser/set-52HGTSH4.mjs → neutral/set-6ZRLWPJS.mjs} +5 -4
- package/dist/lib/{node-esm/set-5I6LFH5L.mjs.map → neutral/set-6ZRLWPJS.mjs.map} +1 -1
- package/dist/lib/{browser/set-layout-mode-T6QI3DGU.mjs → neutral/set-layout-mode-L22HRCKS.mjs} +4 -2
- package/dist/lib/neutral/set-layout-mode-L22HRCKS.mjs.map +7 -0
- package/dist/lib/{browser/spotlight-dismiss-67PHYS5B.mjs → neutral/spotlight-dismiss-EIYW5E7M.mjs} +7 -15
- package/dist/lib/{node-esm/spotlight-dismiss-RMLRZUVY.mjs.map → neutral/spotlight-dismiss-EIYW5E7M.mjs.map} +3 -3
- package/dist/lib/{browser/state-TXSMUWYI.mjs → neutral/state-7NXKBLPY.mjs} +5 -6
- package/dist/lib/neutral/state-7NXKBLPY.mjs.map +7 -0
- package/dist/lib/{browser/switch-workspace-5Y6T4BWJ.mjs → neutral/switch-workspace-PYWPTMFO.mjs} +5 -4
- package/dist/lib/{node-esm/switch-workspace-PB6T2SGY.mjs.map → neutral/switch-workspace-PYWPTMFO.mjs.map} +1 -1
- package/dist/lib/neutral/translations.mjs +36 -0
- package/dist/lib/neutral/translations.mjs.map +7 -0
- package/dist/lib/neutral/types/index.mjs +10 -0
- package/dist/lib/neutral/types/index.mjs.map +7 -0
- package/dist/lib/{browser/update-complementary-MX3TTVAB.mjs → neutral/update-complementary-HKWF5OXT.mjs} +8 -6
- package/dist/lib/neutral/update-complementary-HKWF5OXT.mjs.map +7 -0
- package/dist/lib/{browser/update-dialog-FPAPZXKO.mjs → neutral/update-dialog-P4ASXCE7.mjs} +5 -4
- package/dist/lib/{node-esm/update-dialog-ID267DCL.mjs.map → neutral/update-dialog-P4ASXCE7.mjs.map} +1 -1
- package/dist/lib/{browser/update-popover-6V5ZTIYN.mjs → neutral/update-popover-REAKC2GN.mjs} +5 -4
- package/dist/lib/{node-esm/update-popover-RLHU2HF4.mjs.map → neutral/update-popover-REAKC2GN.mjs.map} +1 -1
- package/dist/lib/{browser/update-sidebar-WHDKYMV7.mjs → neutral/update-sidebar-O5SQPR6Q.mjs} +4 -2
- package/dist/lib/neutral/update-sidebar-O5SQPR6Q.mjs.map +7 -0
- package/dist/lib/{node-esm/url-handler-WMONO2T6.mjs → neutral/url-handler-GZXUUAHD.mjs} +45 -80
- package/dist/lib/neutral/url-handler-GZXUUAHD.mjs.map +7 -0
- package/dist/types/src/SimpleLayoutPlugin.d.ts +1 -0
- package/dist/types/src/SimpleLayoutPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +6 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +21 -6
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/{operation-handler/operation-handler.d.ts → operation-handler.d.ts} +1 -1
- package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-root.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
- package/dist/types/src/capabilities/{spotlight-dismiss/spotlight-dismiss.d.ts → spotlight-dismiss.d.ts} +1 -1
- package/dist/types/src/capabilities/spotlight-dismiss.d.ts.map +1 -0
- package/dist/types/src/capabilities/{state/state.d.ts → state.d.ts} +3 -3
- package/dist/types/src/capabilities/state.d.ts.map +1 -0
- package/dist/types/src/capabilities/{url-handler/url-handler.d.ts → url-handler.d.ts} +1 -1
- package/dist/types/src/capabilities/url-handler.d.ts.map +1 -0
- package/dist/types/src/components/ContentError.stories.d.ts +21 -19
- package/dist/types/src/components/ContentError.stories.d.ts.map +1 -1
- package/dist/types/src/components/DebugOverlay/DebugOverlay.d.ts.map +1 -1
- package/dist/types/src/components/Dialog/Dialog.d.ts.map +1 -1
- package/dist/types/src/components/Home/Home.d.ts.map +1 -1
- package/dist/types/src/components/Loading/Loading.stories.d.ts.map +1 -1
- package/dist/types/src/components/MobileLayout/MobileLayout.d.ts +2 -2
- package/dist/types/src/components/MobileLayout/MobileLayout.d.ts.map +1 -1
- package/dist/types/src/components/MobileLayout/MobileLayout.stories.d.ts.map +1 -1
- package/dist/types/src/components/NavBranch/NavBranch.d.ts.map +1 -1
- package/dist/types/src/components/Popover/Popover.d.ts.map +1 -1
- package/dist/types/src/components/SimpleLayout/AppBar.d.ts +1 -5
- package/dist/types/src/components/SimpleLayout/AppBar.d.ts.map +1 -1
- package/dist/types/src/components/SimpleLayout/AppBar.stories.d.ts +21 -19
- package/dist/types/src/components/SimpleLayout/AppBar.stories.d.ts.map +1 -1
- package/dist/types/src/components/SimpleLayout/Drawer.d.ts +4 -7
- package/dist/types/src/components/SimpleLayout/Drawer.d.ts.map +1 -1
- package/dist/types/src/components/SimpleLayout/Main.d.ts +4 -7
- package/dist/types/src/components/SimpleLayout/Main.d.ts.map +1 -1
- package/dist/types/src/components/SimpleLayout/NavBar.d.ts +1 -5
- package/dist/types/src/components/SimpleLayout/NavBar.d.ts.map +1 -1
- package/dist/types/src/components/SimpleLayout/NavBar.stories.d.ts +22 -24
- package/dist/types/src/components/SimpleLayout/NavBar.stories.d.ts.map +1 -1
- package/dist/types/src/components/SimpleLayout/SimpleLayout.stories.d.ts +21 -19
- package/dist/types/src/components/SimpleLayout/SimpleLayout.stories.d.ts.map +1 -1
- package/dist/types/src/components/hooks.d.ts.map +1 -1
- package/dist/types/src/hooks/actions.d.ts +3 -3
- package/dist/types/src/hooks/actions.d.ts.map +1 -1
- package/dist/types/src/hooks/useAppBarProps.d.ts +2 -2
- package/dist/types/src/hooks/useAppBarProps.d.ts.map +1 -1
- package/dist/types/src/hooks/useCompanions.d.ts.map +1 -1
- package/dist/types/src/hooks/useDrawerActions.d.ts.map +1 -1
- package/dist/types/src/hooks/useSimpleLayoutState.d.ts +3 -3
- package/dist/types/src/hooks/useSimpleLayoutState.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +2 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.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/index.d.ts +1 -1
- 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/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/state-access.d.ts +3 -3
- package/dist/types/src/operations/state-access.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-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-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 +21 -20
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/{capabilities.d.ts → SimpleLayoutCapabilities.d.ts} +12 -10
- package/dist/types/src/types/SimpleLayoutCapabilities.d.ts.map +1 -0
- package/dist/types/src/types/SimpleLayoutEvents.d.ts +4 -0
- package/dist/types/src/types/SimpleLayoutEvents.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +2 -2
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +87 -33
- package/src/SimpleLayoutPlugin.ts +17 -6
- package/src/capabilities/app-graph-builder.ts +21 -0
- package/src/capabilities/index.ts +13 -6
- package/src/capabilities/{operation-handler/operation-handler.ts → operation-handler.ts} +2 -2
- package/src/capabilities/{react-root/react-root.tsx → react-root.tsx} +2 -2
- package/src/capabilities/{react-surface/react-surface.tsx → react-surface.tsx} +13 -6
- package/src/capabilities/{state/state.tsx → state.tsx} +5 -6
- package/src/capabilities/url-handler.ts +164 -0
- package/src/components/ContentError.stories.tsx +1 -1
- package/src/components/Dialog/Dialog.tsx +14 -3
- package/src/components/Home/Home.tsx +3 -2
- package/src/components/Loading/Loading.tsx +1 -1
- package/src/components/MobileLayout/MobileLayout.stories.tsx +13 -13
- package/src/components/MobileLayout/MobileLayout.tsx +0 -2
- package/src/components/NavBranch/NavBranch.tsx +4 -7
- package/src/components/Popover/Popover.tsx +10 -5
- package/src/components/SimpleLayout/AppBar.stories.tsx +7 -7
- package/src/components/SimpleLayout/AppBar.tsx +45 -42
- package/src/components/SimpleLayout/Drawer.tsx +24 -16
- package/src/components/SimpleLayout/Main.tsx +5 -5
- package/src/components/SimpleLayout/NavBar.stories.tsx +2 -2
- package/src/components/SimpleLayout/SimpleLayout.stories.tsx +10 -10
- package/src/components/SimpleLayout/SimpleLayout.tsx +9 -9
- package/src/components/hooks.ts +1 -1
- package/src/hooks/actions.ts +8 -5
- package/src/hooks/useAppBarProps.ts +4 -24
- package/src/hooks/useDrawerActions.ts +6 -6
- package/src/hooks/useNavbarActions.ts +4 -4
- package/src/hooks/useSimpleLayoutState.ts +7 -5
- package/src/index.ts +2 -1
- package/src/meta.ts +3 -1
- package/src/operations/close.ts +1 -1
- package/src/operations/index.ts +1 -1
- package/src/operations/open.ts +36 -3
- package/src/operations/revert-workspace.ts +1 -1
- package/src/operations/set-layout-mode.ts +1 -1
- package/src/operations/set.ts +1 -1
- package/src/operations/state-access.ts +5 -3
- package/src/operations/switch-workspace.ts +1 -1
- package/src/operations/update-complementary.ts +4 -3
- package/src/operations/update-dialog.ts +1 -1
- 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 +20 -19
- package/src/types/{capabilities.ts → SimpleLayoutCapabilities.ts} +6 -18
- package/src/types/SimpleLayoutEvents.ts +15 -0
- package/src/types/index.ts +2 -2
- package/dist/lib/browser/chunk-J5FQ32AV.mjs.map +0 -7
- package/dist/lib/browser/chunk-MRR7PXSM.mjs +0 -29
- package/dist/lib/browser/chunk-MRR7PXSM.mjs.map +0 -7
- package/dist/lib/browser/chunk-XJVW3PRY.mjs.map +0 -7
- package/dist/lib/browser/close-OT5JOGVY.mjs.map +0 -7
- package/dist/lib/browser/index.mjs +0 -102
- package/dist/lib/browser/index.mjs.map +0 -7
- package/dist/lib/browser/meta.json +0 -1
- package/dist/lib/browser/open-4FQ44Z5G.mjs +0 -31
- package/dist/lib/browser/open-4FQ44Z5G.mjs.map +0 -7
- package/dist/lib/browser/operation-handler-OAD7LISD.mjs +0 -16
- package/dist/lib/browser/operation-handler-OAD7LISD.mjs.map +0 -7
- package/dist/lib/browser/react-root-6KIGPLUT.mjs.map +0 -7
- package/dist/lib/browser/react-surface-JLIEQGOL.mjs +0 -44
- package/dist/lib/browser/react-surface-JLIEQGOL.mjs.map +0 -7
- package/dist/lib/browser/revert-workspace-DLE265AN.mjs.map +0 -7
- package/dist/lib/browser/set-52HGTSH4.mjs.map +0 -7
- package/dist/lib/browser/set-layout-mode-T6QI3DGU.mjs.map +0 -7
- package/dist/lib/browser/spotlight-dismiss-67PHYS5B.mjs.map +0 -7
- package/dist/lib/browser/state-TXSMUWYI.mjs.map +0 -7
- package/dist/lib/browser/switch-workspace-5Y6T4BWJ.mjs.map +0 -7
- package/dist/lib/browser/update-complementary-MX3TTVAB.mjs.map +0 -7
- package/dist/lib/browser/update-dialog-FPAPZXKO.mjs.map +0 -7
- package/dist/lib/browser/update-popover-6V5ZTIYN.mjs.map +0 -7
- package/dist/lib/browser/update-sidebar-WHDKYMV7.mjs.map +0 -7
- package/dist/lib/browser/url-handler-GUJ3L7Y3.mjs +0 -163
- package/dist/lib/browser/url-handler-GUJ3L7Y3.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-27K22G6S.mjs +0 -23
- package/dist/lib/node-esm/chunk-27K22G6S.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-EXNDYZTP.mjs +0 -1257
- package/dist/lib/node-esm/chunk-EXNDYZTP.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-WMNTJ2MK.mjs +0 -31
- package/dist/lib/node-esm/chunk-WMNTJ2MK.mjs.map +0 -7
- package/dist/lib/node-esm/close-PEVHREL2.mjs +0 -35
- package/dist/lib/node-esm/index.mjs +0 -103
- 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-LMJY7JCJ.mjs +0 -32
- package/dist/lib/node-esm/open-LMJY7JCJ.mjs.map +0 -7
- package/dist/lib/node-esm/operation-handler-A2DC4WHC.mjs +0 -18
- package/dist/lib/node-esm/operation-handler-A2DC4WHC.mjs.map +0 -7
- package/dist/lib/node-esm/react-root-5SCW2KTH.mjs +0 -22
- package/dist/lib/node-esm/react-root-5SCW2KTH.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-WLKB6AET.mjs.map +0 -7
- package/dist/lib/node-esm/revert-workspace-XZXT64YA.mjs +0 -22
- package/dist/lib/node-esm/set-5I6LFH5L.mjs +0 -22
- package/dist/lib/node-esm/set-layout-mode-F5B6QLZM.mjs +0 -13
- package/dist/lib/node-esm/set-layout-mode-F5B6QLZM.mjs.map +0 -7
- package/dist/lib/node-esm/spotlight-dismiss-RMLRZUVY.mjs +0 -68
- package/dist/lib/node-esm/state-JMX6FAG4.mjs +0 -49
- package/dist/lib/node-esm/state-JMX6FAG4.mjs.map +0 -7
- package/dist/lib/node-esm/switch-workspace-PB6T2SGY.mjs +0 -25
- package/dist/lib/node-esm/update-complementary-FTW423IY.mjs +0 -32
- package/dist/lib/node-esm/update-complementary-FTW423IY.mjs.map +0 -7
- package/dist/lib/node-esm/update-dialog-ID267DCL.mjs +0 -30
- package/dist/lib/node-esm/update-popover-RLHU2HF4.mjs +0 -34
- package/dist/lib/node-esm/update-sidebar-BJ7HTNZ4.mjs +0 -12
- package/dist/lib/node-esm/update-sidebar-BJ7HTNZ4.mjs.map +0 -7
- package/dist/lib/node-esm/url-handler-WMONO2T6.mjs.map +0 -7
- package/dist/types/src/capabilities/operation-handler/index.d.ts +0 -4
- package/dist/types/src/capabilities/operation-handler/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/operation-handler/operation-handler.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-root/index.d.ts +0 -6
- package/dist/types/src/capabilities/react-root/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-root/react-root.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface/index.d.ts +0 -3
- package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
- package/dist/types/src/capabilities/spotlight-dismiss/index.d.ts +0 -3
- package/dist/types/src/capabilities/spotlight-dismiss/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/spotlight-dismiss/spotlight-dismiss.d.ts.map +0 -1
- package/dist/types/src/capabilities/state/index.d.ts +0 -13
- package/dist/types/src/capabilities/state/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/state/state.d.ts.map +0 -1
- package/dist/types/src/capabilities/url-handler/index.d.ts +0 -3
- package/dist/types/src/capabilities/url-handler/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/url-handler/url-handler.d.ts.map +0 -1
- package/dist/types/src/types/capabilities.d.ts.map +0 -1
- package/dist/types/src/types/events.d.ts +0 -6
- package/dist/types/src/types/events.d.ts.map +0 -1
- package/src/capabilities/operation-handler/index.ts +0 -9
- package/src/capabilities/react-root/index.ts +0 -7
- package/src/capabilities/react-surface/index.ts +0 -7
- package/src/capabilities/spotlight-dismiss/index.ts +0 -7
- package/src/capabilities/state/index.ts +0 -9
- package/src/capabilities/url-handler/index.ts +0 -7
- package/src/capabilities/url-handler/url-handler.ts +0 -145
- package/src/types/events.ts +0 -15
- /package/dist/types/src/capabilities/{react-root/react-root.d.ts → react-root.d.ts} +0 -0
- /package/dist/types/src/capabilities/{react-surface/react-surface.d.ts → react-surface.d.ts} +0 -0
- /package/src/capabilities/{spotlight-dismiss/spotlight-dismiss.ts → spotlight-dismiss.ts} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"inputs":{"src/meta.ts":{"bytes":1495,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/types/capabilities.ts":{"bytes":2825,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/events.ts":{"bytes":1600,"imports":[{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"src/types/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/types/index.ts":{"bytes":568,"imports":[{"path":"src/types/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/types/events.ts","kind":"import-statement","original":"./events"}],"format":"esm"},"src/operations/state-access.ts":{"bytes":2521,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/operations/close.ts":{"bytes":3262,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/operations/state-access.ts","kind":"import-statement","original":"./state-access"}],"format":"esm"},"src/operations/open.ts":{"bytes":3487,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/operations/state-access.ts","kind":"import-statement","original":"./state-access"}],"format":"esm"},"src/operations/revert-workspace.ts":{"bytes":2469,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/operations/state-access.ts","kind":"import-statement","original":"./state-access"}],"format":"esm"},"src/operations/set.ts":{"bytes":2258,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/operations/state-access.ts","kind":"import-statement","original":"./state-access"}],"format":"esm"},"src/operations/set-layout-mode.ts":{"bytes":1492,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true}],"format":"esm"},"src/operations/switch-workspace.ts":{"bytes":3010,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/operations/state-access.ts","kind":"import-statement","original":"./state-access"}],"format":"esm"},"src/operations/update-complementary.ts":{"bytes":3760,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/operations/state-access.ts","kind":"import-statement","original":"./state-access"}],"format":"esm"},"src/operations/update-dialog.ts":{"bytes":3700,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/operations/state-access.ts","kind":"import-statement","original":"./state-access"}],"format":"esm"},"src/operations/update-popover.ts":{"bytes":4710,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/operations/state-access.ts","kind":"import-statement","original":"./state-access"}],"format":"esm"},"src/operations/update-sidebar.ts":{"bytes":1433,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true}],"format":"esm"},"src/operations/index.ts":{"bytes":1881,"imports":[{"path":"@dxos/operation","kind":"import-statement","external":true},{"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/set.ts","kind":"dynamic-import","original":"./set"},{"path":"src/operations/set-layout-mode.ts","kind":"dynamic-import","original":"./set-layout-mode"},{"path":"src/operations/switch-workspace.ts","kind":"dynamic-import","original":"./switch-workspace"},{"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-popover.ts","kind":"dynamic-import","original":"./update-popover"},{"path":"src/operations/update-sidebar.ts","kind":"dynamic-import","original":"./update-sidebar"}],"format":"esm"},"src/capabilities/operation-handler/operation-handler.ts":{"bytes":1803,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/operations/index.ts","kind":"import-statement","original":"../../operations"}],"format":"esm"},"src/capabilities/operation-handler/index.ts":{"bytes":1055,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/operation-handler/operation-handler.ts","kind":"dynamic-import","original":"./operation-handler"}],"format":"esm"},"src/components/DebugOverlay/DebugOverlay.tsx":{"bytes":7702,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/components/DebugOverlay/index.ts":{"bytes":632,"imports":[{"path":"src/components/DebugOverlay/DebugOverlay.tsx","kind":"import-statement","original":"./DebugOverlay"}],"format":"esm"},"src/components/hooks.ts":{"bytes":2611,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"format":"esm"},"src/components/Home/Home.tsx":{"bytes":16911,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","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/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/react-ui-search","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/components/hooks.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/components/Home/index.ts":{"bytes":472,"imports":[{"path":"src/components/Home/Home.tsx","kind":"import-statement","original":"./Home"}],"format":"esm"},"src/components/Loading/Loading.tsx":{"bytes":1192,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/components/Loading/index.ts":{"bytes":482,"imports":[{"path":"src/components/Loading/Loading.tsx","kind":"import-statement","original":"./Loading"}],"format":"esm"},"src/components/MobileLayout/MobileLayout.tsx":{"bytes":36873,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/components/DebugOverlay/index.ts","kind":"import-statement","original":"../DebugOverlay"}],"format":"esm"},"src/components/MobileLayout/index.ts":{"bytes":500,"imports":[{"path":"src/components/MobileLayout/MobileLayout.tsx","kind":"import-statement","original":"./MobileLayout"}],"format":"esm"},"src/hooks/useAppBarProps.ts":{"bytes":16831,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","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/react-ui","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/hooks/actions.ts":{"bytes":9400,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useCompanions.ts":{"bytes":2953,"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":"src/hooks/actions.ts","kind":"import-statement","original":"./actions"}],"format":"esm"},"src/hooks/useSimpleLayoutState.ts":{"bytes":2929,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/hooks/useDrawerActions.ts":{"bytes":12919,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","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/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/hooks/actions.ts","kind":"import-statement","original":"./actions"},{"path":"src/hooks/useSimpleLayoutState.ts","kind":"import-statement","original":"./useSimpleLayoutState"}],"format":"esm"},"src/hooks/useNavbarActions.ts":{"bytes":10188,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","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/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/hooks/actions.ts","kind":"import-statement","original":"./actions"},{"path":"src/hooks/useSimpleLayoutState.ts","kind":"import-statement","original":"./useSimpleLayoutState"}],"format":"esm"},"src/hooks/index.ts":{"bytes":1012,"imports":[{"path":"src/hooks/useAppBarProps.ts","kind":"import-statement","original":"./useAppBarProps"},{"path":"src/hooks/useCompanions.ts","kind":"import-statement","original":"./useCompanions"},{"path":"src/hooks/actions.ts","kind":"import-statement","original":"./actions"},{"path":"src/hooks/useDrawerActions.ts","kind":"import-statement","original":"./useDrawerActions"},{"path":"src/hooks/useNavbarActions.ts","kind":"import-statement","original":"./useNavbarActions"},{"path":"src/hooks/useSimpleLayoutState.ts","kind":"import-statement","original":"./useSimpleLayoutState"}],"format":"esm"},"src/components/Popover/Popover.tsx":{"bytes":15303,"imports":[{"path":"@radix-ui/react-context","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":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/Popover/index.ts":{"bytes":482,"imports":[{"path":"src/components/Popover/Popover.tsx","kind":"import-statement","original":"./Popover"}],"format":"esm"},"src/components/SimpleLayout/AppBar.tsx":{"bytes":9975,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/components/MobileLayout/index.ts","kind":"import-statement","original":"../MobileLayout"}],"format":"esm"},"src/components/SimpleLayout/NavBar.tsx":{"bytes":3193,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/SimpleLayout/Main.tsx":{"bytes":8818,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","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/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/components/Loading/index.ts","kind":"import-statement","original":"../Loading"},{"path":"src/components/hooks.ts","kind":"import-statement","original":"../hooks"},{"path":"src/components/MobileLayout/index.ts","kind":"import-statement","original":"../MobileLayout"},{"path":"src/components/SimpleLayout/AppBar.tsx","kind":"import-statement","original":"./AppBar"},{"path":"src/components/SimpleLayout/NavBar.tsx","kind":"import-statement","original":"./NavBar"}],"format":"esm"},"src/components/Dialog/Dialog.tsx":{"bytes":5085,"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":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"src/components/Dialog/index.ts":{"bytes":480,"imports":[{"path":"src/components/Dialog/Dialog.tsx","kind":"import-statement","original":"./Dialog"}],"format":"esm"},"src/components/SimpleLayout/Drawer.tsx":{"bytes":10932,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","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/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/components/Loading/index.ts","kind":"import-statement","original":"../Loading"}],"format":"esm"},"src/components/SimpleLayout/SimpleLayout.tsx":{"bytes":7215,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/components/DebugOverlay/index.ts","kind":"import-statement","original":"../DebugOverlay"},{"path":"src/components/Dialog/index.ts","kind":"import-statement","original":"../Dialog"},{"path":"src/components/MobileLayout/index.ts","kind":"import-statement","original":"../MobileLayout"},{"path":"src/components/Popover/index.ts","kind":"import-statement","original":"../Popover"},{"path":"src/components/SimpleLayout/Drawer.tsx","kind":"import-statement","original":"./Drawer"},{"path":"src/components/SimpleLayout/Main.tsx","kind":"import-statement","original":"./Main"}],"format":"esm"},"src/components/SimpleLayout/index.ts":{"bytes":748,"imports":[{"path":"src/components/SimpleLayout/AppBar.tsx","kind":"import-statement","original":"./AppBar"},{"path":"src/components/SimpleLayout/Main.tsx","kind":"import-statement","original":"./Main"},{"path":"src/components/SimpleLayout/NavBar.tsx","kind":"import-statement","original":"./NavBar"},{"path":"src/components/SimpleLayout/SimpleLayout.tsx","kind":"import-statement","original":"./SimpleLayout"}],"format":"esm"},"src/components/NavBranch/NavBranch.tsx":{"bytes":14419,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","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/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/react-ui-search","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/components/hooks.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/components/NavBranch/index.ts":{"bytes":490,"imports":[{"path":"src/components/NavBranch/NavBranch.tsx","kind":"import-statement","original":"./NavBranch"}],"format":"esm"},"src/components/index.ts":{"bytes":1030,"imports":[{"path":"src/components/DebugOverlay/index.ts","kind":"import-statement","original":"./DebugOverlay"},{"path":"src/components/Home/index.ts","kind":"import-statement","original":"./Home"},{"path":"src/components/Loading/index.ts","kind":"import-statement","original":"./Loading"},{"path":"src/components/MobileLayout/index.ts","kind":"import-statement","original":"./MobileLayout"},{"path":"src/components/Popover/index.ts","kind":"import-statement","original":"./Popover"},{"path":"src/components/SimpleLayout/index.ts","kind":"import-statement","original":"./SimpleLayout"},{"path":"src/components/NavBranch/index.ts","kind":"import-statement","original":"./NavBranch"}],"format":"esm"},"src/capabilities/react-root/react-root.tsx":{"bytes":2030,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/capabilities/react-root/index.ts":{"bytes":889,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/react-root/react-root.tsx","kind":"dynamic-import","original":"./react-root"}],"format":"esm"},"src/capabilities/react-surface/react-surface.tsx":{"bytes":4827,"imports":[{"path":"effect/Effect","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/plugin-graph","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/capabilities/react-surface/index.ts":{"bytes":917,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/react-surface/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/capabilities/spotlight-dismiss/spotlight-dismiss.ts":{"bytes":8388,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/spotlight-dismiss/index.ts":{"bytes":957,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/spotlight-dismiss/spotlight-dismiss.ts","kind":"dynamic-import","original":"./spotlight-dismiss"}],"format":"esm"},"src/capabilities/state/state.tsx":{"bytes":5542,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"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/plugin-graph","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/state/index.ts":{"bytes":923,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/state/state.tsx","kind":"dynamic-import","original":"./state"}],"format":"esm"},"src/capabilities/url-handler/url-handler.ts":{"bytes":18510,"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/util","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"@tauri-apps/plugin-deep-link","kind":"dynamic-import","external":true}],"format":"esm"},"src/capabilities/url-handler/index.ts":{"bytes":897,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/url-handler/url-handler.ts","kind":"dynamic-import","original":"./url-handler"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":986,"imports":[{"path":"src/capabilities/operation-handler/index.ts","kind":"import-statement","original":"./operation-handler"},{"path":"src/capabilities/react-root/index.ts","kind":"import-statement","original":"./react-root"},{"path":"src/capabilities/react-surface/index.ts","kind":"import-statement","original":"./react-surface"},{"path":"src/capabilities/spotlight-dismiss/index.ts","kind":"import-statement","original":"./spotlight-dismiss"},{"path":"src/capabilities/state/index.ts","kind":"import-statement","original":"./state"},{"path":"src/capabilities/url-handler/index.ts","kind":"import-statement","original":"./url-handler"}],"format":"esm"},"src/translations.ts":{"bytes":3510,"imports":[{"path":"@dxos/react-ui-search","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/SimpleLayoutPlugin.ts":{"bytes":6770,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/index.ts":{"bytes":490,"imports":[{"path":"src/SimpleLayoutPlugin.ts","kind":"import-statement","original":"./SimpleLayoutPlugin"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/url-handler-WMONO2T6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8806},"dist/lib/node-esm/url-handler-WMONO2T6.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-WMNTJ2MK.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/util","kind":"import-statement","external":true},{"path":"@tauri-apps/plugin-deep-link","kind":"dynamic-import","external":true}],"exports":["default"],"entryPoint":"src/capabilities/url-handler/url-handler.ts","inputs":{"src/capabilities/url-handler/url-handler.ts":{"bytesInOutput":4770}},"bytes":5065},"dist/lib/node-esm/update-dialog-ID267DCL.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1953},"dist/lib/node-esm/update-dialog-ID267DCL.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-27K22G6S.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-WMNTJ2MK.mjs","kind":"import-statement"},{"path":"effect/Effect","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":740}},"bytes":1058},"dist/lib/node-esm/update-popover-RLHU2HF4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2463},"dist/lib/node-esm/update-popover-RLHU2HF4.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-27K22G6S.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-WMNTJ2MK.mjs","kind":"import-statement"},{"path":"effect/Effect","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":977}},"bytes":1298},"dist/lib/node-esm/update-sidebar-BJ7HTNZ4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":777},"dist/lib/node-esm/update-sidebar-BJ7HTNZ4.mjs":{"imports":[{"path":"effect/Effect","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":269}},"bytes":499},"dist/lib/node-esm/operation-handler-A2DC4WHC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1885},"dist/lib/node-esm/operation-handler-A2DC4WHC.mjs":{"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":"dist/lib/node-esm/close-PEVHREL2.mjs","kind":"dynamic-import"},{"path":"dist/lib/node-esm/open-LMJY7JCJ.mjs","kind":"dynamic-import"},{"path":"dist/lib/node-esm/revert-workspace-XZXT64YA.mjs","kind":"dynamic-import"},{"path":"dist/lib/node-esm/set-5I6LFH5L.mjs","kind":"dynamic-import"},{"path":"dist/lib/node-esm/set-layout-mode-F5B6QLZM.mjs","kind":"dynamic-import"},{"path":"dist/lib/node-esm/switch-workspace-PB6T2SGY.mjs","kind":"dynamic-import"},{"path":"dist/lib/node-esm/update-complementary-FTW423IY.mjs","kind":"dynamic-import"},{"path":"dist/lib/node-esm/update-dialog-ID267DCL.mjs","kind":"dynamic-import"},{"path":"dist/lib/node-esm/update-popover-RLHU2HF4.mjs","kind":"dynamic-import"},{"path":"dist/lib/node-esm/update-sidebar-BJ7HTNZ4.mjs","kind":"dynamic-import"}],"exports":["default"],"entryPoint":"src/capabilities/operation-handler/operation-handler.ts","inputs":{"src/capabilities/operation-handler/operation-handler.ts":{"bytesInOutput":294},"src/operations/index.ts":{"bytesInOutput":569}},"bytes":1210},"dist/lib/node-esm/react-root-5SCW2KTH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1028},"dist/lib/node-esm/react-root-5SCW2KTH.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-EXNDYZTP.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-WMNTJ2MK.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-root/react-root.tsx","inputs":{"src/capabilities/react-root/react-root.tsx":{"bytesInOutput":358}},"bytes":692},"dist/lib/node-esm/react-surface-WLKB6AET.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2475},"dist/lib/node-esm/react-surface-WLKB6AET.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-EXNDYZTP.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-WMNTJ2MK.mjs","kind":"import-statement"},{"path":"effect/Effect","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/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface/react-surface.tsx","inputs":{"src/capabilities/react-surface/react-surface.tsx":{"bytesInOutput":1027}},"bytes":1378},"dist/lib/node-esm/chunk-EXNDYZTP.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":100849},"dist/lib/node-esm/chunk-EXNDYZTP.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-WMNTJ2MK.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","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/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/react-ui-search","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","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":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","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/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":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","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/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","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/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","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/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/react-ui-search","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","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/ui","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/ui","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/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","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":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","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/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true}],"exports":["Home","NavBranch","SimpleLayout"],"inputs":{"src/components/Home/Home.tsx":{"bytesInOutput":4251},"src/components/hooks.ts":{"bytesInOutput":456},"src/components/SimpleLayout/SimpleLayout.tsx":{"bytesInOutput":1759},"src/hooks/useAppBarProps.ts":{"bytesInOutput":3753},"src/hooks/index.ts":{"bytesInOutput":0},"src/hooks/useCompanions.ts":{"bytesInOutput":571},"src/hooks/actions.ts":{"bytesInOutput":1814},"src/hooks/useDrawerActions.ts":{"bytesInOutput":2708},"src/components/DebugOverlay/DebugOverlay.tsx":{"bytesInOutput":1330},"src/components/DebugOverlay/index.ts":{"bytesInOutput":0},"src/components/index.ts":{"bytesInOutput":0},"src/components/Home/index.ts":{"bytesInOutput":0},"src/components/Loading/Loading.tsx":{"bytesInOutput":194},"src/components/Loading/index.ts":{"bytesInOutput":0},"src/components/MobileLayout/MobileLayout.tsx":{"bytesInOutput":8007},"src/components/MobileLayout/index.ts":{"bytesInOutput":0},"src/components/Popover/Popover.tsx":{"bytesInOutput":3978},"src/components/Popover/index.ts":{"bytesInOutput":0},"src/components/SimpleLayout/AppBar.tsx":{"bytesInOutput":2334},"src/components/SimpleLayout/index.ts":{"bytesInOutput":0},"src/components/SimpleLayout/Main.tsx":{"bytesInOutput":2013},"src/components/SimpleLayout/NavBar.tsx":{"bytesInOutput":655},"src/components/NavBranch/NavBranch.tsx":{"bytesInOutput":3700},"src/components/NavBranch/index.ts":{"bytesInOutput":0},"src/hooks/useSimpleLayoutState.ts":{"bytesInOutput":599},"src/hooks/useNavbarActions.ts":{"bytesInOutput":2034},"src/components/Dialog/Dialog.tsx":{"bytesInOutput":1284},"src/components/Dialog/index.ts":{"bytesInOutput":0},"src/components/SimpleLayout/Drawer.tsx":{"bytesInOutput":2613}},"bytes":45224},"dist/lib/node-esm/spotlight-dismiss-RMLRZUVY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4094},"dist/lib/node-esm/spotlight-dismiss-RMLRZUVY.mjs":{"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/spotlight-dismiss/spotlight-dismiss.ts","inputs":{"src/capabilities/spotlight-dismiss/spotlight-dismiss.ts":{"bytesInOutput":1823}},"bytes":2082},"dist/lib/node-esm/state-JMX6FAG4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2886},"dist/lib/node-esm/state-JMX6FAG4.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-WMNTJ2MK.mjs","kind":"import-statement"},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"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/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/state/state.tsx","inputs":{"src/capabilities/state/state.tsx":{"bytesInOutput":1111}},"bytes":1383},"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":7433},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-WMNTJ2MK.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/operation-handler-A2DC4WHC.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/react-root-5SCW2KTH.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/react-surface-WLKB6AET.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/spotlight-dismiss-RMLRZUVY.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/state-JMX6FAG4.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/node-esm/url-handler-WMONO2T6.mjs","kind":"dynamic-import"},{"path":"@dxos/react-ui-search","kind":"import-statement","external":true}],"exports":["SimpleLayoutPlugin"],"entryPoint":"src/index.ts","inputs":{"src/SimpleLayoutPlugin.ts":{"bytesInOutput":1327},"src/capabilities/operation-handler/index.ts":{"bytesInOutput":160},"src/capabilities/index.ts":{"bytesInOutput":0},"src/capabilities/react-root/index.ts":{"bytesInOutput":155},"src/capabilities/react-surface/index.ts":{"bytesInOutput":164},"src/capabilities/spotlight-dismiss/index.ts":{"bytesInOutput":176},"src/capabilities/state/index.ts":{"bytesInOutput":142},"src/capabilities/url-handler/index.ts":{"bytesInOutput":158},"src/translations.ts":{"bytesInOutput":905},"src/index.ts":{"bytesInOutput":0}},"bytes":3759},"dist/lib/node-esm/close-PEVHREL2.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1707},"dist/lib/node-esm/close-PEVHREL2.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-27K22G6S.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-WMNTJ2MK.mjs","kind":"import-statement"},{"path":"effect/Effect","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/close.ts","inputs":{"src/operations/close.ts":{"bytesInOutput":664}},"bytes":958},"dist/lib/node-esm/open-LMJY7JCJ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1846},"dist/lib/node-esm/open-LMJY7JCJ.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-27K22G6S.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-WMNTJ2MK.mjs","kind":"import-statement"},{"path":"effect/Effect","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/open.ts","inputs":{"src/operations/open.ts":{"bytesInOutput":728}},"bytes":1019},"dist/lib/node-esm/revert-workspace-XZXT64YA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1336},"dist/lib/node-esm/revert-workspace-XZXT64YA.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-27K22G6S.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-WMNTJ2MK.mjs","kind":"import-statement"},{"path":"effect/Effect","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":472}},"bytes":799},"dist/lib/node-esm/set-5I6LFH5L.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1200},"dist/lib/node-esm/set-5I6LFH5L.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-27K22G6S.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-WMNTJ2MK.mjs","kind":"import-statement"},{"path":"effect/Effect","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/set.ts","inputs":{"src/operations/set.ts":{"bytesInOutput":401}},"bytes":689},"dist/lib/node-esm/set-layout-mode-F5B6QLZM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":818},"dist/lib/node-esm/set-layout-mode-F5B6QLZM.mjs":{"imports":[{"path":"effect/Effect","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/set-layout-mode.ts","inputs":{"src/operations/set-layout-mode.ts":{"bytesInOutput":288}},"bytes":521},"dist/lib/node-esm/switch-workspace-PB6T2SGY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1620},"dist/lib/node-esm/switch-workspace-PB6T2SGY.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-27K22G6S.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-WMNTJ2MK.mjs","kind":"import-statement"},{"path":"effect/Effect","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/switch-workspace.ts","inputs":{"src/operations/switch-workspace.ts":{"bytesInOutput":586}},"bytes":913},"dist/lib/node-esm/update-complementary-FTW423IY.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1990},"dist/lib/node-esm/update-complementary-FTW423IY.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-27K22G6S.mjs","kind":"import-statement"},{"path":"dist/lib/node-esm/chunk-WMNTJ2MK.mjs","kind":"import-statement"},{"path":"effect/Effect","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":772}},"bytes":1111},"dist/lib/node-esm/chunk-27K22G6S.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1334},"dist/lib/node-esm/chunk-27K22G6S.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-WMNTJ2MK.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["layoutStateAccess"],"inputs":{"src/operations/state-access.ts":{"bytesInOutput":444}},"bytes":708},"dist/lib/node-esm/chunk-WMNTJ2MK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3206},"dist/lib/node-esm/chunk-WMNTJ2MK.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true}],"exports":["SimpleLayoutEvents","SimpleLayoutState","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":323},"src/types/capabilities.ts":{"bytesInOutput":111},"src/types/index.ts":{"bytesInOutput":0},"src/types/events.ts":{"bytesInOutput":270}},"bytes":973}}}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
layoutStateAccess
|
|
4
|
-
} from "./chunk-27K22G6S.mjs";
|
|
5
|
-
import "./chunk-WMNTJ2MK.mjs";
|
|
6
|
-
|
|
7
|
-
// src/operations/open.ts
|
|
8
|
-
import * as Effect from "effect/Effect";
|
|
9
|
-
import { LayoutOperation } from "@dxos/app-toolkit";
|
|
10
|
-
import { Operation } from "@dxos/operation";
|
|
11
|
-
var handler = LayoutOperation.Open.pipe(Operation.withHandler(Effect.fnUntraced(function* (input) {
|
|
12
|
-
const { updateState } = yield* layoutStateAccess;
|
|
13
|
-
const id = input.subject[0];
|
|
14
|
-
updateState((state) => {
|
|
15
|
-
const newHistory = state.active ? [
|
|
16
|
-
...state.history,
|
|
17
|
-
state.active
|
|
18
|
-
] : state.history;
|
|
19
|
-
const trimmedHistory = newHistory.length > MAX_HISTORY_LENGTH ? newHistory.slice(-MAX_HISTORY_LENGTH) : newHistory;
|
|
20
|
-
return {
|
|
21
|
-
...state,
|
|
22
|
-
active: id,
|
|
23
|
-
history: trimmedHistory
|
|
24
|
-
};
|
|
25
|
-
});
|
|
26
|
-
})));
|
|
27
|
-
var open_default = handler;
|
|
28
|
-
var MAX_HISTORY_LENGTH = 50;
|
|
29
|
-
export {
|
|
30
|
-
open_default as default
|
|
31
|
-
};
|
|
32
|
-
//# sourceMappingURL=open-LMJY7JCJ.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/operations/open.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright 2025 DXOS.org\n\nimport * as Effect from 'effect/Effect';\n\nimport { LayoutOperation } from '@dxos/app-toolkit';\nimport { Operation } from '@dxos/operation';\n\nimport { layoutStateAccess } from './state-access';\n\nconst handler: Operation.WithHandler<typeof LayoutOperation.Open> = LayoutOperation.Open.pipe(\n Operation.withHandler(\n Effect.fnUntraced(function* (input) {\n const { updateState } = yield* layoutStateAccess;\n const id = input.subject[0];\n\n updateState((state) => {\n const newHistory = state.active ? [...state.history, state.active] : state.history;\n const trimmedHistory =\n newHistory.length > MAX_HISTORY_LENGTH ? newHistory.slice(-MAX_HISTORY_LENGTH) : newHistory;\n return {\n ...state,\n active: id,\n history: trimmedHistory,\n };\n });\n }),\n ),\n);\n\nexport default handler;\n\nconst MAX_HISTORY_LENGTH = 50;\n"],
|
|
5
|
-
"mappings": ";;;;;;;AAEA,YAAYA,YAAY;AAExB,SAASC,uBAAuB;AAChC,SAASC,iBAAiB;AAI1B,IAAMC,UAA8DC,gBAAgBC,KAAKC,KACvFC,UAAUC,YACDC,kBAAW,WAAWC,OAAK;AAChC,QAAM,EAAEC,YAAW,IAAK,OAAOC;AAC/B,QAAMC,KAAKH,MAAMI,QAAQ,CAAA;AAEzBH,cAAY,CAACI,UAAAA;AACX,UAAMC,aAAaD,MAAME,SAAS;SAAIF,MAAMG;MAASH,MAAME;QAAUF,MAAMG;AAC3E,UAAMC,iBACJH,WAAWI,SAASC,qBAAqBL,WAAWM,MAAM,CAACD,kBAAAA,IAAsBL;AACnF,WAAO;MACL,GAAGD;MACHE,QAAQJ;MACRK,SAASC;IACX;EACF,CAAA;AACF,CAAA,CAAA,CAAA;AAIJ,IAAA,eAAehB;AAEf,IAAMkB,qBAAqB;",
|
|
6
|
-
"names": ["Effect", "LayoutOperation", "Operation", "handler", "LayoutOperation", "Open", "pipe", "Operation", "withHandler", "fnUntraced", "input", "updateState", "layoutStateAccess", "id", "subject", "state", "newHistory", "active", "history", "trimmedHistory", "length", "MAX_HISTORY_LENGTH", "slice"]
|
|
7
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
-
|
|
3
|
-
// src/capabilities/operation-handler/operation-handler.ts
|
|
4
|
-
import * as Effect from "effect/Effect";
|
|
5
|
-
import { Capabilities, Capability } from "@dxos/app-framework";
|
|
6
|
-
|
|
7
|
-
// src/operations/index.ts
|
|
8
|
-
import { OperationHandlerSet } from "@dxos/operation";
|
|
9
|
-
var SimpleLayoutOperationHandlerSet = OperationHandlerSet.lazy(() => import("./close-PEVHREL2.mjs"), () => import("./open-LMJY7JCJ.mjs"), () => import("./revert-workspace-XZXT64YA.mjs"), () => import("./set-5I6LFH5L.mjs"), () => import("./set-layout-mode-F5B6QLZM.mjs"), () => import("./switch-workspace-PB6T2SGY.mjs"), () => import("./update-complementary-FTW423IY.mjs"), () => import("./update-dialog-ID267DCL.mjs"), () => import("./update-popover-RLHU2HF4.mjs"), () => import("./update-sidebar-BJ7HTNZ4.mjs"));
|
|
10
|
-
|
|
11
|
-
// src/capabilities/operation-handler/operation-handler.ts
|
|
12
|
-
var operation_handler_default = Capability.makeModule(Effect.fnUntraced(function* () {
|
|
13
|
-
return Capability.contributes(Capabilities.OperationHandler, SimpleLayoutOperationHandlerSet);
|
|
14
|
-
}));
|
|
15
|
-
export {
|
|
16
|
-
operation_handler_default as default
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=operation-handler-A2DC4WHC.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/capabilities/operation-handler/operation-handler.ts", "../../../src/operations/index.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright 2025 DXOS.org\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport type { OperationHandlerSet } from '@dxos/operation';\n\nimport { SimpleLayoutOperationHandlerSet } from '../../operations';\n\nexport default Capability.makeModule<OperationHandlerSet.OperationHandlerSet>(\n Effect.fnUntraced(function* () {\n return Capability.contributes(Capabilities.OperationHandler, SimpleLayoutOperationHandlerSet);\n }),\n);\n", "// Copyright 2025 DXOS.org\n\nimport { OperationHandlerSet } from '@dxos/operation';\n\nexport const SimpleLayoutOperationHandlerSet = OperationHandlerSet.lazy(\n () => import('./close'),\n () => import('./open'),\n () => import('./revert-workspace'),\n () => import('./set'),\n () => import('./set-layout-mode'),\n () => import('./switch-workspace'),\n () => import('./update-complementary'),\n () => import('./update-dialog'),\n () => import('./update-popover'),\n () => import('./update-sidebar'),\n);\n"],
|
|
5
|
-
"mappings": ";;;AAEA,YAAYA,YAAY;AAExB,SAASC,cAAcC,kBAAkB;;;ACFzC,SAASC,2BAA2B;AAE7B,IAAMC,kCAAkCC,oBAAoBC,KACjE,MAAM,OAAO,sBAAA,GACb,MAAM,OAAO,qBAAA,GACb,MAAM,OAAO,iCAAA,GACb,MAAM,OAAO,oBAAA,GACb,MAAM,OAAO,gCAAA,GACb,MAAM,OAAO,iCAAA,GACb,MAAM,OAAO,qCAAA,GACb,MAAM,OAAO,8BAAA,GACb,MAAM,OAAO,+BAAA,GACb,MAAM,OAAO,+BAAA,CAAA;;;ADLf,IAAA,4BAAeC,WAAWC,WACjBC,kBAAW,aAAA;AAChB,SAAOF,WAAWG,YAAYC,aAAaC,kBAAkBC,+BAAAA;AAC/D,CAAA,CAAA;",
|
|
6
|
-
"names": ["Effect", "Capabilities", "Capability", "OperationHandlerSet", "SimpleLayoutOperationHandlerSet", "OperationHandlerSet", "lazy", "Capability", "makeModule", "fnUntraced", "contributes", "Capabilities", "OperationHandler", "SimpleLayoutOperationHandlerSet"]
|
|
7
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
SimpleLayout
|
|
4
|
-
} from "./chunk-EXNDYZTP.mjs";
|
|
5
|
-
import {
|
|
6
|
-
meta
|
|
7
|
-
} from "./chunk-WMNTJ2MK.mjs";
|
|
8
|
-
|
|
9
|
-
// src/capabilities/react-root/react-root.tsx
|
|
10
|
-
import * as Effect from "effect/Effect";
|
|
11
|
-
import React from "react";
|
|
12
|
-
import { Capabilities, Capability } from "@dxos/app-framework";
|
|
13
|
-
var react_root_default = Capability.makeModule(() => Effect.succeed(Capability.contributes(Capabilities.ReactRoot, {
|
|
14
|
-
id: meta.id,
|
|
15
|
-
root: () => {
|
|
16
|
-
return /* @__PURE__ */ React.createElement(SimpleLayout, null);
|
|
17
|
-
}
|
|
18
|
-
})));
|
|
19
|
-
export {
|
|
20
|
-
react_root_default as default
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=react-root-5SCW2KTH.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/capabilities/react-root/react-root.tsx"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport React from 'react';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\n\nimport { SimpleLayout } from '../../components';\nimport { meta } from '../../meta';\n\nexport default Capability.makeModule(() =>\n Effect.succeed(\n Capability.contributes(Capabilities.ReactRoot, {\n id: meta.id,\n root: () => {\n return <SimpleLayout />;\n },\n }),\n ),\n);\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;AAIA,YAAYA,YAAY;AACxB,OAAOC,WAAW;AAElB,SAASC,cAAcC,kBAAkB;AAKzC,IAAA,qBAAeC,WAAWC,WAAW,MAC5BC,eACLF,WAAWG,YAAYC,aAAaC,WAAW;EAC7CC,IAAIC,KAAKD;EACTE,MAAM,MAAA;AACJ,WAAO,sBAAA,cAACC,cAAAA,IAAAA;EACV;AACF,CAAA,CAAA,CAAA;",
|
|
6
|
-
"names": ["Effect", "React", "Capabilities", "Capability", "Capability", "makeModule", "succeed", "contributes", "Capabilities", "ReactRoot", "id", "meta", "root", "SimpleLayout"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/capabilities/react-surface/react-surface.tsx"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport React from 'react';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { Surface } from '@dxos/app-framework/ui';\nimport { Node } from '@dxos/plugin-graph';\n\nimport { Home, NavBranch } from '../../components';\nimport { meta } from '../../meta';\n\ntype SurfaceData = {\n attendableId: string;\n properties: Record<string, any>;\n};\n\nconst ALLOWED_DISPOSITIONS = ['workspace', 'user-account', 'pin-end', 'alternate-tree'];\n\nexport default Capability.makeModule(() =>\n Effect.succeed(\n Capability.contributes(Capabilities.ReactSurface, [\n Surface.create({\n id: `${meta.id}.home`,\n role: 'article',\n filter: (data): data is SurfaceData => data.attendableId === Node.RootId,\n component: () => <Home />,\n }),\n Surface.create({\n id: `${meta.id}.nav-branch`,\n role: 'article',\n position: 'fallback',\n filter: (data): data is SurfaceData => {\n const props = data.properties as Record<string, any>;\n return ALLOWED_DISPOSITIONS.includes(props?.disposition) || props?.role === 'branch';\n },\n component: ({ data }) => <NavBranch id={data.attendableId} />,\n }),\n ]),\n ),\n);\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;AAIA,YAAYA,YAAY;AACxB,OAAOC,WAAW;AAElB,SAASC,cAAcC,kBAAkB;AACzC,SAASC,eAAe;AACxB,SAASC,YAAY;AAUrB,IAAMC,uBAAuB;EAAC;EAAa;EAAgB;EAAW;;AAEtE,IAAA,wBAAeC,WAAWC,WAAW,MAC5BC,eACLF,WAAWG,YAAYC,aAAaC,cAAc;EAChDC,QAAQC,OAAO;IACbC,IAAI,GAAGC,KAAKD,EAAE;IACdE,MAAM;IACNC,QAAQ,CAACC,SAA8BA,KAAKC,iBAAiBC,KAAKC;IAClEC,WAAW,MAAM,sBAAA,cAACC,MAAAA,IAAAA;EACpB,CAAA;EACAX,QAAQC,OAAO;IACbC,IAAI,GAAGC,KAAKD,EAAE;IACdE,MAAM;IACNQ,UAAU;IACVP,QAAQ,CAACC,SAAAA;AACP,YAAMO,QAAQP,KAAKQ;AACnB,aAAOrB,qBAAqBsB,SAASF,OAAOG,WAAAA,KAAgBH,OAAOT,SAAS;IAC9E;IACAM,WAAW,CAAC,EAAEJ,KAAI,MAAO,sBAAA,cAACW,WAAAA;MAAUf,IAAII,KAAKC;;EAC/C,CAAA;CACD,CAAA,CAAA;",
|
|
6
|
-
"names": ["Effect", "React", "Capabilities", "Capability", "Surface", "Node", "ALLOWED_DISPOSITIONS", "Capability", "makeModule", "succeed", "contributes", "Capabilities", "ReactSurface", "Surface", "create", "id", "meta", "role", "filter", "data", "attendableId", "Node", "RootId", "component", "Home", "position", "props", "properties", "includes", "disposition", "NavBranch"]
|
|
7
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
layoutStateAccess
|
|
4
|
-
} from "./chunk-27K22G6S.mjs";
|
|
5
|
-
import "./chunk-WMNTJ2MK.mjs";
|
|
6
|
-
|
|
7
|
-
// src/operations/revert-workspace.ts
|
|
8
|
-
import * as Effect from "effect/Effect";
|
|
9
|
-
import { LayoutOperation } from "@dxos/app-toolkit";
|
|
10
|
-
import { Operation } from "@dxos/operation";
|
|
11
|
-
var handler = LayoutOperation.RevertWorkspace.pipe(Operation.withHandler(Effect.fnUntraced(function* () {
|
|
12
|
-
const { getState } = yield* layoutStateAccess;
|
|
13
|
-
const state = getState();
|
|
14
|
-
yield* Operation.invoke(LayoutOperation.SwitchWorkspace, {
|
|
15
|
-
subject: state.previousWorkspace
|
|
16
|
-
});
|
|
17
|
-
})));
|
|
18
|
-
var revert_workspace_default = handler;
|
|
19
|
-
export {
|
|
20
|
-
revert_workspace_default as default
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=revert-workspace-XZXT64YA.mjs.map
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
layoutStateAccess
|
|
4
|
-
} from "./chunk-27K22G6S.mjs";
|
|
5
|
-
import "./chunk-WMNTJ2MK.mjs";
|
|
6
|
-
|
|
7
|
-
// src/operations/set.ts
|
|
8
|
-
import * as Effect from "effect/Effect";
|
|
9
|
-
import { LayoutOperation } from "@dxos/app-toolkit";
|
|
10
|
-
import { Operation } from "@dxos/operation";
|
|
11
|
-
var handler = LayoutOperation.Set.pipe(Operation.withHandler(Effect.fnUntraced(function* (input) {
|
|
12
|
-
const { updateState } = yield* layoutStateAccess;
|
|
13
|
-
updateState((state) => ({
|
|
14
|
-
...state,
|
|
15
|
-
active: input.subject[0]
|
|
16
|
-
}));
|
|
17
|
-
})));
|
|
18
|
-
var set_default = handler;
|
|
19
|
-
export {
|
|
20
|
-
set_default as default
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=set-5I6LFH5L.mjs.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
-
|
|
3
|
-
// src/operations/set-layout-mode.ts
|
|
4
|
-
import * as Effect from "effect/Effect";
|
|
5
|
-
import { LayoutOperation } from "@dxos/app-toolkit";
|
|
6
|
-
import { Operation } from "@dxos/operation";
|
|
7
|
-
var handler = LayoutOperation.SetLayoutMode.pipe(Operation.withHandler(Effect.fnUntraced(function* () {
|
|
8
|
-
})));
|
|
9
|
-
var set_layout_mode_default = handler;
|
|
10
|
-
export {
|
|
11
|
-
set_layout_mode_default as default
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=set-layout-mode-F5B6QLZM.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/operations/set-layout-mode.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright 2025 DXOS.org\n\nimport * as Effect from 'effect/Effect';\n\nimport { LayoutOperation } from '@dxos/app-toolkit';\nimport { Operation } from '@dxos/operation';\n\nconst handler: Operation.WithHandler<typeof LayoutOperation.SetLayoutMode> = LayoutOperation.SetLayoutMode.pipe(\n Operation.withHandler(Effect.fnUntraced(function* () {})),\n);\n\nexport default handler;\n"],
|
|
5
|
-
"mappings": ";;;AAEA,YAAYA,YAAY;AAExB,SAASC,uBAAuB;AAChC,SAASC,iBAAiB;AAE1B,IAAMC,UAAuEC,gBAAgBC,cAAcC,KACzGC,UAAUC,YAAmBC,kBAAW,aAAA;AAAc,CAAA,CAAA,CAAA;AAGxD,IAAA,0BAAeN;",
|
|
6
|
-
"names": ["Effect", "LayoutOperation", "Operation", "handler", "LayoutOperation", "SetLayoutMode", "pipe", "Operation", "withHandler", "fnUntraced"]
|
|
7
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
-
|
|
3
|
-
// src/capabilities/spotlight-dismiss/spotlight-dismiss.ts
|
|
4
|
-
import * as Effect from "effect/Effect";
|
|
5
|
-
import { Capabilities, Capability } from "@dxos/app-framework";
|
|
6
|
-
import { log } from "@dxos/log";
|
|
7
|
-
import { isTauri } from "@dxos/util";
|
|
8
|
-
var __dxlog_file = "/__w/dxos/dxos/packages/plugins/plugin-simple-layout/src/capabilities/spotlight-dismiss/spotlight-dismiss.ts";
|
|
9
|
-
var getTauriWindow = () => {
|
|
10
|
-
const tauri = globalThis.__TAURI__;
|
|
11
|
-
return tauri?.window;
|
|
12
|
-
};
|
|
13
|
-
var getTauriCore = () => {
|
|
14
|
-
const tauri = globalThis.__TAURI__;
|
|
15
|
-
return tauri?.core;
|
|
16
|
-
};
|
|
17
|
-
var spotlight_dismiss_default = Capability.makeModule(({ isPopover = false } = {}) => Effect.promise(async () => {
|
|
18
|
-
if (!isPopover || !isTauri()) {
|
|
19
|
-
return [];
|
|
20
|
-
}
|
|
21
|
-
let focusCleanup;
|
|
22
|
-
try {
|
|
23
|
-
const tauriWindow = getTauriWindow();
|
|
24
|
-
const tauriCore = getTauriCore();
|
|
25
|
-
if (tauriWindow && tauriCore) {
|
|
26
|
-
const win = tauriWindow.getCurrentWindow();
|
|
27
|
-
focusCleanup = await win.onFocusChanged(async ({ payload }) => {
|
|
28
|
-
if (!payload) {
|
|
29
|
-
await tauriCore.invoke("hide_spotlight");
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
} catch (err) {
|
|
34
|
-
log.catch(err, void 0, {
|
|
35
|
-
F: __dxlog_file,
|
|
36
|
-
L: 60,
|
|
37
|
-
S: void 0,
|
|
38
|
-
C: (f, a) => f(...a)
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
const handleKeyDown = async (event) => {
|
|
42
|
-
if (event.key === "Escape") {
|
|
43
|
-
event.preventDefault();
|
|
44
|
-
try {
|
|
45
|
-
const tauriCore = getTauriCore();
|
|
46
|
-
if (tauriCore) {
|
|
47
|
-
await tauriCore.invoke("hide_spotlight");
|
|
48
|
-
}
|
|
49
|
-
} catch (err) {
|
|
50
|
-
log.catch(err, void 0, {
|
|
51
|
-
F: __dxlog_file,
|
|
52
|
-
L: 73,
|
|
53
|
-
S: void 0,
|
|
54
|
-
C: (f, a) => f(...a)
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
window.addEventListener("keydown", handleKeyDown);
|
|
60
|
-
return Capability.contributes(Capabilities.Null, null, () => Effect.sync(() => {
|
|
61
|
-
focusCleanup?.();
|
|
62
|
-
window.removeEventListener("keydown", handleKeyDown);
|
|
63
|
-
}));
|
|
64
|
-
}));
|
|
65
|
-
export {
|
|
66
|
-
spotlight_dismiss_default as default
|
|
67
|
-
};
|
|
68
|
-
//# sourceMappingURL=spotlight-dismiss-RMLRZUVY.mjs.map
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
SimpleLayoutState
|
|
4
|
-
} from "./chunk-WMNTJ2MK.mjs";
|
|
5
|
-
|
|
6
|
-
// src/capabilities/state/state.tsx
|
|
7
|
-
import { Atom } from "@effect-atom/atom-react";
|
|
8
|
-
import * as Effect from "effect/Effect";
|
|
9
|
-
import { Capability } from "@dxos/app-framework";
|
|
10
|
-
import { AppCapabilities } from "@dxos/app-toolkit";
|
|
11
|
-
import { Node } from "@dxos/plugin-graph";
|
|
12
|
-
var defaultState = {
|
|
13
|
-
dialogOpen: false,
|
|
14
|
-
workspace: Node.RootId,
|
|
15
|
-
previousWorkspace: Node.RootId,
|
|
16
|
-
history: [],
|
|
17
|
-
isPopover: false,
|
|
18
|
-
companionVariant: void 0,
|
|
19
|
-
drawerState: "closed"
|
|
20
|
-
};
|
|
21
|
-
var state_default = Capability.makeModule(({ initialState } = {}) => Effect.sync(() => {
|
|
22
|
-
const stateAtom = Atom.make({
|
|
23
|
-
...defaultState,
|
|
24
|
-
...initialState
|
|
25
|
-
});
|
|
26
|
-
const layoutAtom = Atom.make((get) => {
|
|
27
|
-
const state = get(stateAtom);
|
|
28
|
-
return {
|
|
29
|
-
mode: "simple",
|
|
30
|
-
dialogOpen: state.dialogOpen,
|
|
31
|
-
sidebarOpen: false,
|
|
32
|
-
complementarySidebarOpen: false,
|
|
33
|
-
workspace: state.workspace,
|
|
34
|
-
active: state.active ? [
|
|
35
|
-
state.active
|
|
36
|
-
] : [],
|
|
37
|
-
inactive: [],
|
|
38
|
-
scrollIntoView: void 0
|
|
39
|
-
};
|
|
40
|
-
});
|
|
41
|
-
return [
|
|
42
|
-
Capability.contributes(SimpleLayoutState, stateAtom),
|
|
43
|
-
Capability.contributes(AppCapabilities.Layout, layoutAtom)
|
|
44
|
-
];
|
|
45
|
-
}));
|
|
46
|
-
export {
|
|
47
|
-
state_default as default
|
|
48
|
-
};
|
|
49
|
-
//# sourceMappingURL=state-JMX6FAG4.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/capabilities/state/state.tsx"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Atom } from '@effect-atom/atom-react';\nimport * as Effect from 'effect/Effect';\n\nimport { Capability } from '@dxos/app-framework';\nimport { AppCapabilities } from '@dxos/app-toolkit';\nimport { Node } from '@dxos/plugin-graph';\n\nimport { type SimpleLayoutState } from '../../types';\nimport { SimpleLayoutState as SimpleLayoutStateCapability } from '../../types';\n\nconst defaultState: SimpleLayoutState = {\n dialogOpen: false,\n workspace: Node.RootId,\n previousWorkspace: Node.RootId,\n history: [],\n isPopover: false,\n companionVariant: undefined,\n drawerState: 'closed',\n};\n\nexport type SimpleLayoutStateOptions = {\n initialState?: Partial<SimpleLayoutState>;\n};\n\nexport default Capability.makeModule(({ initialState }: SimpleLayoutStateOptions = {}) =>\n Effect.sync(() => {\n const stateAtom = Atom.make<SimpleLayoutState>({ ...defaultState, ...initialState });\n\n const layoutAtom = Atom.make((get): AppCapabilities.Layout => {\n const state = get(stateAtom);\n return {\n mode: 'simple',\n dialogOpen: state.dialogOpen,\n sidebarOpen: false,\n complementarySidebarOpen: false,\n workspace: state.workspace,\n active: state.active ? [state.active] : [],\n inactive: [],\n scrollIntoView: undefined,\n };\n });\n\n return [\n Capability.contributes(SimpleLayoutStateCapability, stateAtom),\n Capability.contributes(AppCapabilities.Layout, layoutAtom),\n ];\n }),\n);\n"],
|
|
5
|
-
"mappings": ";;;;;;AAIA,SAASA,YAAY;AACrB,YAAYC,YAAY;AAExB,SAASC,kBAAkB;AAC3B,SAASC,uBAAuB;AAChC,SAASC,YAAY;AAKrB,IAAMC,eAAkC;EACtCC,YAAY;EACZC,WAAWC,KAAKC;EAChBC,mBAAmBF,KAAKC;EACxBE,SAAS,CAAA;EACTC,WAAW;EACXC,kBAAkBC;EAClBC,aAAa;AACf;AAMA,IAAA,gBAAeC,WAAWC,WAAW,CAAC,EAAEC,aAAY,IAA+B,CAAC,MAC3EC,YAAK,MAAA;AACV,QAAMC,YAAYC,KAAKC,KAAwB;IAAE,GAAGjB;IAAc,GAAGa;EAAa,CAAA;AAElF,QAAMK,aAAaF,KAAKC,KAAK,CAACE,QAAAA;AAC5B,UAAMC,QAAQD,IAAIJ,SAAAA;AAClB,WAAO;MACLM,MAAM;MACNpB,YAAYmB,MAAMnB;MAClBqB,aAAa;MACbC,0BAA0B;MAC1BrB,WAAWkB,MAAMlB;MACjBsB,QAAQJ,MAAMI,SAAS;QAACJ,MAAMI;UAAU,CAAA;MACxCC,UAAU,CAAA;MACVC,gBAAgBjB;IAClB;EACF,CAAA;AAEA,SAAO;IACLE,WAAWgB,YAAYC,mBAA6Bb,SAAAA;IACpDJ,WAAWgB,YAAYE,gBAAgBC,QAAQZ,UAAAA;;AAEnD,CAAA,CAAA;",
|
|
6
|
-
"names": ["Atom", "Effect", "Capability", "AppCapabilities", "Node", "defaultState", "dialogOpen", "workspace", "Node", "RootId", "previousWorkspace", "history", "isPopover", "companionVariant", "undefined", "drawerState", "Capability", "makeModule", "initialState", "sync", "stateAtom", "Atom", "make", "layoutAtom", "get", "state", "mode", "sidebarOpen", "complementarySidebarOpen", "active", "inactive", "scrollIntoView", "contributes", "SimpleLayoutStateCapability", "AppCapabilities", "Layout"]
|
|
7
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
layoutStateAccess
|
|
4
|
-
} from "./chunk-27K22G6S.mjs";
|
|
5
|
-
import "./chunk-WMNTJ2MK.mjs";
|
|
6
|
-
|
|
7
|
-
// src/operations/switch-workspace.ts
|
|
8
|
-
import * as Effect from "effect/Effect";
|
|
9
|
-
import { isPinnedWorkspace, LayoutOperation } from "@dxos/app-toolkit";
|
|
10
|
-
import { Operation } from "@dxos/operation";
|
|
11
|
-
var handler = LayoutOperation.SwitchWorkspace.pipe(Operation.withHandler(Effect.fnUntraced(function* (input) {
|
|
12
|
-
const { updateState } = yield* layoutStateAccess;
|
|
13
|
-
updateState((state) => ({
|
|
14
|
-
...state,
|
|
15
|
-
previousWorkspace: !isPinnedWorkspace(state.workspace) ? state.workspace : state.previousWorkspace,
|
|
16
|
-
workspace: input.subject,
|
|
17
|
-
active: void 0,
|
|
18
|
-
history: []
|
|
19
|
-
}));
|
|
20
|
-
})));
|
|
21
|
-
var switch_workspace_default = handler;
|
|
22
|
-
export {
|
|
23
|
-
switch_workspace_default as default
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=switch-workspace-PB6T2SGY.mjs.map
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
-
import {
|
|
3
|
-
layoutStateAccess
|
|
4
|
-
} from "./chunk-27K22G6S.mjs";
|
|
5
|
-
import "./chunk-WMNTJ2MK.mjs";
|
|
6
|
-
|
|
7
|
-
// src/operations/update-complementary.ts
|
|
8
|
-
import * as Effect from "effect/Effect";
|
|
9
|
-
import { getCompanionVariant, LayoutOperation } from "@dxos/app-toolkit";
|
|
10
|
-
import { Operation } from "@dxos/operation";
|
|
11
|
-
var handler = LayoutOperation.UpdateComplementary.pipe(Operation.withHandler(Effect.fnUntraced(function* (input) {
|
|
12
|
-
const { updateState } = yield* layoutStateAccess;
|
|
13
|
-
if (input.state === "closed") {
|
|
14
|
-
updateState((state) => ({
|
|
15
|
-
...state,
|
|
16
|
-
drawerState: "closed",
|
|
17
|
-
companionVariant: void 0
|
|
18
|
-
}));
|
|
19
|
-
} else if (input.subject) {
|
|
20
|
-
const variant = getCompanionVariant(input.subject);
|
|
21
|
-
updateState((state) => ({
|
|
22
|
-
...state,
|
|
23
|
-
companionVariant: variant,
|
|
24
|
-
drawerState: input.state === "expanded" ? "expanded" : "open"
|
|
25
|
-
}));
|
|
26
|
-
}
|
|
27
|
-
})));
|
|
28
|
-
var update_complementary_default = handler;
|
|
29
|
-
export {
|
|
30
|
-
update_complementary_default as default
|
|
31
|
-
};
|
|
32
|
-
//# sourceMappingURL=update-complementary-FTW423IY.mjs.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/operations/update-complementary.ts"],
|
|
4
|
-
"sourcesContent": ["// Copyright 2025 DXOS.org\n\nimport * as Effect from 'effect/Effect';\n\nimport { getCompanionVariant, LayoutOperation } from '@dxos/app-toolkit';\nimport { Operation } from '@dxos/operation';\n\nimport { layoutStateAccess } from './state-access';\n\nconst handler: Operation.WithHandler<typeof LayoutOperation.UpdateComplementary> =\n LayoutOperation.UpdateComplementary.pipe(\n Operation.withHandler(\n Effect.fnUntraced(function* (input) {\n const { updateState } = yield* layoutStateAccess;\n\n if (input.state === 'closed') {\n updateState((state) => ({\n ...state,\n drawerState: 'closed',\n companionVariant: undefined,\n }));\n } else if (input.subject) {\n const variant = getCompanionVariant(input.subject);\n updateState((state) => ({\n ...state,\n companionVariant: variant,\n drawerState: input.state === 'expanded' ? 'expanded' : 'open',\n }));\n }\n }),\n ),\n );\n\nexport default handler;\n"],
|
|
5
|
-
"mappings": ";;;;;;;AAEA,YAAYA,YAAY;AAExB,SAASC,qBAAqBC,uBAAuB;AACrD,SAASC,iBAAiB;AAI1B,IAAMC,UACJC,gBAAgBC,oBAAoBC,KAClCC,UAAUC,YACDC,kBAAW,WAAWC,OAAK;AAChC,QAAM,EAAEC,YAAW,IAAK,OAAOC;AAE/B,MAAIF,MAAMG,UAAU,UAAU;AAC5BF,gBAAY,CAACE,WAAW;MACtB,GAAGA;MACHC,aAAa;MACbC,kBAAkBC;IACpB,EAAA;EACF,WAAWN,MAAMO,SAAS;AACxB,UAAMC,UAAUC,oBAAoBT,MAAMO,OAAO;AACjDN,gBAAY,CAACE,WAAW;MACtB,GAAGA;MACHE,kBAAkBG;MAClBJ,aAAaJ,MAAMG,UAAU,aAAa,aAAa;IACzD,EAAA;EACF;AACF,CAAA,CAAA,CAAA;AAIN,IAAA,+BAAeV;",
|
|
6
|
-
"names": ["Effect", "getCompanionVariant", "LayoutOperation", "Operation", "handler", "LayoutOperation", "UpdateComplementary", "pipe", "Operation", "withHandler", "fnUntraced", "input", "updateState", "layoutStateAccess", "state", "drawerState", "companionVariant", "undefined", "subject", "variant", "getCompanionVariant"]
|
|
7
|
-
}
|