@dxos/plugin-deck 0.8.4-main.c1de068 → 0.8.4-main.c85a9c8dae
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/browser/Banner-DR6B7XTO.mjs +15 -0
- package/dist/lib/browser/Banner-DR6B7XTO.mjs.map +7 -0
- package/dist/lib/browser/DeckSettings-HB5TKG2F.mjs +96 -0
- package/dist/lib/browser/DeckSettings-HB5TKG2F.mjs.map +7 -0
- package/dist/lib/browser/app-graph-builder-22XAL7YE.mjs +123 -0
- package/dist/lib/browser/app-graph-builder-22XAL7YE.mjs.map +7 -0
- package/dist/lib/browser/check-app-scheme-ZV3QWNNZ.mjs +33 -0
- package/dist/lib/browser/check-app-scheme-ZV3QWNNZ.mjs.map +7 -0
- package/dist/lib/browser/chunk-BJDEG7YZ.mjs +74 -0
- package/dist/lib/browser/chunk-BJDEG7YZ.mjs.map +7 -0
- package/dist/lib/browser/chunk-FBL4WVYZ.mjs +16 -0
- package/dist/lib/browser/chunk-FBL4WVYZ.mjs.map +7 -0
- package/dist/lib/browser/chunk-OAPMV5ZR.mjs +280 -0
- package/dist/lib/browser/chunk-OAPMV5ZR.mjs.map +7 -0
- package/dist/lib/browser/chunk-Q4GUCIRE.mjs +200 -0
- package/dist/lib/browser/chunk-Q4GUCIRE.mjs.map +7 -0
- package/dist/lib/browser/chunk-SKBPLX5T.mjs +81 -0
- package/dist/lib/browser/chunk-SKBPLX5T.mjs.map +7 -0
- package/dist/lib/browser/chunk-YGOOWRJE.mjs +1390 -0
- package/dist/lib/browser/chunk-YGOOWRJE.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +91 -74
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/operation-resolver-BLZGJWLO.mjs +580 -0
- package/dist/lib/browser/operation-resolver-BLZGJWLO.mjs.map +7 -0
- package/dist/lib/browser/react-root-4ESZAM6D.mjs +49 -0
- package/dist/lib/browser/react-root-4ESZAM6D.mjs.map +7 -0
- package/dist/lib/browser/react-surface-KYQGCALN.mjs +44 -0
- package/dist/lib/browser/react-surface-KYQGCALN.mjs.map +7 -0
- package/dist/lib/browser/settings-RY2TBSGP.mjs +40 -0
- package/dist/lib/browser/settings-RY2TBSGP.mjs.map +7 -0
- package/dist/lib/browser/state-CSTTMJ43.mjs +106 -0
- package/dist/lib/browser/state-CSTTMJ43.mjs.map +7 -0
- package/dist/lib/browser/toolkit-EONRPYA5.mjs +55 -0
- package/dist/lib/browser/toolkit-EONRPYA5.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +14 -6
- package/dist/lib/browser/url-handler-EM3SYHHX.mjs +95 -0
- package/dist/lib/browser/url-handler-EM3SYHHX.mjs.map +7 -0
- package/dist/lib/node-esm/Banner-HR7DPUZU.mjs +16 -0
- package/dist/lib/node-esm/Banner-HR7DPUZU.mjs.map +7 -0
- package/dist/lib/node-esm/DeckSettings-MWTR7HU2.mjs +97 -0
- package/dist/lib/node-esm/DeckSettings-MWTR7HU2.mjs.map +7 -0
- package/dist/lib/node-esm/app-graph-builder-GNNNCWGN.mjs +124 -0
- package/dist/lib/node-esm/app-graph-builder-GNNNCWGN.mjs.map +7 -0
- package/dist/lib/node-esm/check-app-scheme-ZNISVRFH.mjs +34 -0
- package/dist/lib/node-esm/check-app-scheme-ZNISVRFH.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-DGTRKKWZ.mjs +76 -0
- package/dist/lib/node-esm/chunk-DGTRKKWZ.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-EGFOT3DE.mjs +18 -0
- package/dist/lib/node-esm/chunk-EGFOT3DE.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-IR6ODCNC.mjs +83 -0
- package/dist/lib/node-esm/chunk-IR6ODCNC.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-L2NPJPGL.mjs +281 -0
- package/dist/lib/node-esm/chunk-L2NPJPGL.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-O4IOJICP.mjs +201 -0
- package/dist/lib/node-esm/chunk-O4IOJICP.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-Z43MBISY.mjs +1391 -0
- package/dist/lib/node-esm/chunk-Z43MBISY.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +186 -0
- package/dist/lib/node-esm/index.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -0
- package/dist/lib/node-esm/operation-resolver-5BYDNQND.mjs +581 -0
- package/dist/lib/node-esm/operation-resolver-5BYDNQND.mjs.map +7 -0
- package/dist/lib/node-esm/react-root-YO7IIC75.mjs +50 -0
- package/dist/lib/node-esm/react-root-YO7IIC75.mjs.map +7 -0
- package/dist/lib/node-esm/react-surface-G7VRKT4U.mjs +45 -0
- package/dist/lib/node-esm/react-surface-G7VRKT4U.mjs.map +7 -0
- package/dist/lib/node-esm/settings-GYLWWOBK.mjs +41 -0
- package/dist/lib/node-esm/settings-GYLWWOBK.mjs.map +7 -0
- package/dist/lib/node-esm/state-RQXTBWUX.mjs +107 -0
- package/dist/lib/node-esm/state-RQXTBWUX.mjs.map +7 -0
- package/dist/lib/node-esm/toolkit-EU3Z2R4H.mjs +56 -0
- package/dist/lib/node-esm/toolkit-EU3Z2R4H.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +41 -0
- package/dist/lib/node-esm/url-handler-VUK2LBJV.mjs +96 -0
- package/dist/lib/node-esm/url-handler-VUK2LBJV.mjs.map +7 -0
- package/dist/types/src/DeckPlugin.d.ts +2 -1
- package/dist/types/src/DeckPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +6 -0
- package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder/index.d.ts +3 -0
- package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/check-app-scheme/check-app-scheme.d.ts +5 -0
- package/dist/types/src/capabilities/check-app-scheme/check-app-scheme.d.ts.map +1 -0
- package/dist/types/src/capabilities/check-app-scheme/index.d.ts +3 -0
- package/dist/types/src/capabilities/check-app-scheme/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +8 -13
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/operation-resolver/index.d.ts +3 -0
- package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +5 -0
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-root/index.d.ts +6 -0
- package/dist/types/src/capabilities/react-root/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-root/react-root.d.ts +9 -0
- package/dist/types/src/capabilities/react-root/react-root.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface/index.d.ts +3 -0
- package/dist/types/src/capabilities/react-surface/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts +5 -0
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -0
- package/dist/types/src/capabilities/settings/index.d.ts +19 -0
- package/dist/types/src/capabilities/settings/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/settings/settings.d.ts +22 -0
- package/dist/types/src/capabilities/settings/settings.d.ts.map +1 -0
- package/dist/types/src/capabilities/state/index.d.ts +172 -0
- package/dist/types/src/capabilities/state/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/state/state.d.ts +175 -0
- package/dist/types/src/capabilities/state/state.d.ts.map +1 -0
- package/dist/types/src/capabilities/toolkit/index.d.ts +3 -0
- package/dist/types/src/capabilities/toolkit/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/toolkit/toolkit.d.ts +27 -0
- package/dist/types/src/capabilities/toolkit/toolkit.d.ts.map +1 -0
- package/dist/types/src/capabilities/tools/index.d.ts +3 -0
- package/dist/types/src/capabilities/tools/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/tools/tools.d.ts +12 -0
- package/dist/types/src/capabilities/tools/tools.d.ts.map +1 -0
- package/dist/types/src/capabilities/url-handler/index.d.ts +3 -0
- package/dist/types/src/capabilities/url-handler/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/url-handler/url-handler.d.ts +5 -0
- package/dist/types/src/capabilities/url-handler/url-handler.d.ts.map +1 -0
- package/dist/types/src/components/DeckLayout/ActiveNode.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Banner.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/ContentEmpty.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/DeckLayout.d.ts +2 -3
- package/dist/types/src/components/DeckLayout/DeckLayout.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/DeckLayout.stories.d.ts +75 -0
- package/dist/types/src/components/DeckLayout/DeckLayout.stories.d.ts.map +1 -0
- package/dist/types/src/components/DeckLayout/DeckMain.d.ts +3 -0
- package/dist/types/src/components/DeckLayout/DeckMain.d.ts.map +1 -0
- package/dist/types/src/components/DeckLayout/Dialog.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Fallback.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Popover.d.ts.map +1 -1
- package/dist/types/src/components/DeckLayout/Toast.d.ts +7 -2
- package/dist/types/src/components/DeckLayout/Toast.d.ts.map +1 -1
- package/dist/types/src/components/Plank/Plank.d.ts +6 -6
- package/dist/types/src/components/Plank/Plank.d.ts.map +1 -1
- package/dist/types/src/components/Plank/Plank.stories.d.ts +105 -5
- package/dist/types/src/components/Plank/Plank.stories.d.ts.map +1 -1
- package/dist/types/src/components/Plank/PlankControls.d.ts +1 -1
- package/dist/types/src/components/Plank/PlankControls.d.ts.map +1 -1
- package/dist/types/src/components/Plank/PlankError.d.ts +6 -4
- package/dist/types/src/components/Plank/PlankError.d.ts.map +1 -1
- package/dist/types/src/components/Plank/PlankHeading.d.ts +3 -3
- package/dist/types/src/components/Plank/PlankHeading.d.ts.map +1 -1
- package/dist/types/src/components/Sidebar/ComplementarySidebar.d.ts.map +1 -1
- package/dist/types/src/components/Sidebar/Sidebar.d.ts.map +1 -1
- package/dist/types/src/components/Sidebar/SidebarButton.d.ts.map +1 -1
- package/dist/types/src/components/fragments.d.ts +4 -1
- package/dist/types/src/components/fragments.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +0 -1
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/containers/Banner/Banner.d.ts +2 -0
- package/dist/types/src/containers/Banner/Banner.d.ts.map +1 -0
- package/dist/types/src/containers/Banner/index.d.ts +3 -0
- package/dist/types/src/containers/Banner/index.d.ts.map +1 -0
- package/dist/types/src/containers/DeckSettings/DeckSettings.d.ts +8 -0
- package/dist/types/src/containers/DeckSettings/DeckSettings.d.ts.map +1 -0
- package/dist/types/src/containers/DeckSettings/index.d.ts +3 -0
- package/dist/types/src/containers/DeckSettings/index.d.ts.map +1 -0
- package/dist/types/src/containers/index.d.ts +4 -0
- package/dist/types/src/containers/index.d.ts.map +1 -0
- package/dist/types/src/hooks/index.d.ts +2 -0
- package/dist/types/src/hooks/index.d.ts.map +1 -1
- package/dist/types/src/hooks/useDeckCompanions.d.ts +3 -3
- package/dist/types/src/hooks/useDeckCompanions.d.ts.map +1 -1
- package/dist/types/src/hooks/useDeckState.d.ts +17 -0
- package/dist/types/src/hooks/useDeckState.d.ts.map +1 -0
- package/dist/types/src/hooks/useHoistStatusbar.d.ts +1 -1
- package/dist/types/src/hooks/useHoistStatusbar.d.ts.map +1 -1
- package/dist/types/src/hooks/useMainSize.d.ts +2 -2
- package/dist/types/src/hooks/useNodeActionExpander.d.ts +1 -1
- package/dist/types/src/hooks/useNodeActionExpander.d.ts.map +1 -1
- package/dist/types/src/hooks/useSelectedCompanion.d.ts +13 -0
- package/dist/types/src/hooks/useSelectedCompanion.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +1 -2
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +2 -3
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +4 -1
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/{capabilities → types}/capabilities.d.ts +96 -90
- package/dist/types/src/types/capabilities.d.ts.map +1 -0
- package/dist/types/src/types/events.d.ts +7 -0
- package/dist/types/src/types/events.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +2 -0
- package/dist/types/src/types/index.d.ts.map +1 -1
- package/dist/types/src/types/schema.d.ts +96 -34
- package/dist/types/src/types/schema.d.ts.map +1 -1
- package/dist/types/src/util/set-active.d.ts +18 -3
- package/dist/types/src/util/set-active.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +58 -46
- package/src/DeckPlugin.ts +46 -61
- package/src/capabilities/app-graph-builder/app-graph-builder.ts +119 -0
- package/src/capabilities/app-graph-builder/index.ts +7 -0
- package/src/capabilities/check-app-scheme/check-app-scheme.ts +45 -0
- package/src/capabilities/check-app-scheme/index.ts +7 -0
- package/src/capabilities/index.ts +9 -13
- package/src/capabilities/operation-resolver/index.ts +10 -0
- package/src/capabilities/operation-resolver/operation-resolver.ts +560 -0
- package/src/capabilities/react-root/index.ts +7 -0
- package/src/capabilities/react-root/react-root.tsx +47 -0
- package/src/capabilities/react-surface/index.ts +7 -0
- package/src/capabilities/react-surface/react-surface.tsx +38 -0
- package/src/capabilities/settings/index.ts +7 -0
- package/src/capabilities/settings/settings.ts +39 -0
- package/src/capabilities/state/index.ts +7 -0
- package/src/capabilities/state/state.ts +105 -0
- package/src/capabilities/toolkit/index.ts +7 -0
- package/src/capabilities/toolkit/toolkit.ts +64 -0
- package/src/capabilities/tools/index.ts +7 -0
- package/src/capabilities/tools/tools.ts +91 -0
- package/src/capabilities/url-handler/index.ts +7 -0
- package/src/capabilities/url-handler/url-handler.ts +96 -0
- package/src/components/DeckLayout/ActiveNode.tsx +3 -2
- package/src/components/DeckLayout/Banner.tsx +12 -12
- package/src/components/DeckLayout/ContentEmpty.tsx +6 -7
- package/src/components/DeckLayout/DeckLayout.stories.tsx +53 -0
- package/src/components/DeckLayout/DeckLayout.tsx +18 -285
- package/src/components/DeckLayout/DeckMain.tsx +287 -0
- package/src/components/DeckLayout/Dialog.tsx +22 -13
- package/src/components/DeckLayout/Fallback.tsx +4 -8
- package/src/components/DeckLayout/Popover.tsx +70 -32
- package/src/components/DeckLayout/StatusBar.tsx +4 -4
- package/src/components/DeckLayout/Toast.tsx +30 -5
- package/src/components/Plank/Plank.stories.tsx +26 -17
- package/src/components/Plank/Plank.tsx +103 -67
- package/src/components/Plank/PlankControls.tsx +12 -14
- package/src/components/Plank/PlankError.tsx +33 -18
- package/src/components/Plank/PlankHeading.tsx +42 -48
- package/src/components/Plank/PlankLoading.tsx +1 -1
- package/src/components/Sidebar/ComplementarySidebar.tsx +77 -45
- package/src/components/Sidebar/Sidebar.tsx +9 -9
- package/src/components/Sidebar/SidebarButton.tsx +40 -33
- package/src/components/fragments.ts +10 -5
- package/src/components/index.ts +0 -1
- package/src/containers/Banner/Banner.tsx +5 -0
- package/src/containers/Banner/index.ts +7 -0
- package/src/containers/DeckSettings/DeckSettings.tsx +113 -0
- package/src/containers/DeckSettings/index.ts +7 -0
- package/src/containers/index.ts +8 -0
- package/src/hooks/index.ts +2 -0
- package/src/hooks/useCompanions.ts +2 -2
- package/src/hooks/useDeckCompanions.ts +7 -5
- package/src/hooks/useDeckState.ts +82 -0
- package/src/hooks/useHoistStatusbar.ts +4 -5
- package/src/hooks/useMainSize.ts +2 -2
- package/src/hooks/useNodeActionExpander.ts +4 -4
- package/src/hooks/useSelectedCompanion.ts +38 -0
- package/src/index.ts +1 -2
- package/src/meta.ts +8 -5
- package/src/translations.ts +4 -1
- package/src/types/capabilities.ts +33 -0
- package/src/types/events.ts +21 -0
- package/src/types/index.ts +2 -0
- package/src/types/schema.ts +96 -21
- package/src/util/layoutAppliesTopbar.ts +1 -1
- package/src/util/overscroll.ts +3 -3
- package/src/util/set-active.ts +49 -29
- package/dist/lib/browser/app-graph-builder-JTFSDT2I.mjs +0 -152
- package/dist/lib/browser/app-graph-builder-JTFSDT2I.mjs.map +0 -7
- package/dist/lib/browser/check-app-scheme-57U62A3A.mjs +0 -32
- package/dist/lib/browser/check-app-scheme-57U62A3A.mjs.map +0 -7
- package/dist/lib/browser/chunk-CNTGBCMK.mjs +0 -145
- package/dist/lib/browser/chunk-CNTGBCMK.mjs.map +0 -7
- package/dist/lib/browser/chunk-D7KTFCUV.mjs +0 -1494
- package/dist/lib/browser/chunk-D7KTFCUV.mjs.map +0 -7
- package/dist/lib/browser/chunk-F5BQOOEG.mjs +0 -160
- package/dist/lib/browser/chunk-F5BQOOEG.mjs.map +0 -7
- package/dist/lib/browser/chunk-JFTXENFN.mjs +0 -129
- package/dist/lib/browser/chunk-JFTXENFN.mjs.map +0 -7
- package/dist/lib/browser/chunk-M57WD3V6.mjs +0 -16
- package/dist/lib/browser/chunk-M57WD3V6.mjs.map +0 -7
- package/dist/lib/browser/chunk-QDZO4AJ4.mjs +0 -127
- package/dist/lib/browser/chunk-QDZO4AJ4.mjs.map +0 -7
- package/dist/lib/browser/chunk-Z5KITAZW.mjs +0 -13
- package/dist/lib/browser/chunk-Z5KITAZW.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-P2OBK5HK.mjs +0 -521
- package/dist/lib/browser/intent-resolver-P2OBK5HK.mjs.map +0 -7
- package/dist/lib/browser/react-root-PO64J7ML.mjs +0 -43
- package/dist/lib/browser/react-root-PO64J7ML.mjs.map +0 -7
- package/dist/lib/browser/react-surface-E45YOVF5.mjs +0 -40
- package/dist/lib/browser/react-surface-E45YOVF5.mjs.map +0 -7
- package/dist/lib/browser/settings-6AJZPZPM.mjs +0 -29
- package/dist/lib/browser/settings-6AJZPZPM.mjs.map +0 -7
- package/dist/lib/browser/state-MVDYX77Y.mjs +0 -12
- package/dist/lib/browser/tools-TKQDPCHJ.mjs +0 -88
- package/dist/lib/browser/tools-TKQDPCHJ.mjs.map +0 -7
- package/dist/lib/browser/url-handler-7L7M6IKH.mjs +0 -70
- package/dist/lib/browser/url-handler-7L7M6IKH.mjs.map +0 -7
- package/dist/types/src/capabilities/app-graph-builder.d.ts +0 -4
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +0 -1
- package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
- package/dist/types/src/capabilities/check-app-scheme.d.ts +0 -4
- package/dist/types/src/capabilities/check-app-scheme.d.ts.map +0 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-root.d.ts +0 -7
- package/dist/types/src/capabilities/react-root.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface.d.ts +0 -4
- package/dist/types/src/capabilities/react-surface.d.ts.map +0 -1
- package/dist/types/src/capabilities/settings.d.ts +0 -4
- package/dist/types/src/capabilities/settings.d.ts.map +0 -1
- package/dist/types/src/capabilities/state.d.ts +0 -101
- package/dist/types/src/capabilities/state.d.ts.map +0 -1
- package/dist/types/src/capabilities/tools.d.ts +0 -11
- package/dist/types/src/capabilities/tools.d.ts.map +0 -1
- package/dist/types/src/capabilities/url-handler.d.ts +0 -4
- package/dist/types/src/capabilities/url-handler.d.ts.map +0 -1
- package/dist/types/src/components/DeckSettings/DeckSettings.d.ts +0 -6
- package/dist/types/src/components/DeckSettings/DeckSettings.d.ts.map +0 -1
- package/dist/types/src/components/DeckSettings/index.d.ts +0 -2
- package/dist/types/src/components/DeckSettings/index.d.ts.map +0 -1
- package/dist/types/src/events.d.ts +0 -4
- package/dist/types/src/events.d.ts.map +0 -1
- package/src/capabilities/app-graph-builder.ts +0 -141
- package/src/capabilities/capabilities.ts +0 -14
- package/src/capabilities/check-app-scheme.ts +0 -40
- package/src/capabilities/intent-resolver.ts +0 -468
- package/src/capabilities/react-root.tsx +0 -38
- package/src/capabilities/react-surface.tsx +0 -30
- package/src/capabilities/settings.ts +0 -26
- package/src/capabilities/state.ts +0 -104
- package/src/capabilities/tools.ts +0 -81
- package/src/capabilities/url-handler.ts +0 -59
- package/src/components/DeckSettings/DeckSettings.tsx +0 -88
- package/src/components/DeckSettings/index.ts +0 -5
- package/src/events.ts +0 -11
- /package/dist/lib/{browser/state-MVDYX77Y.mjs.map → node-esm/types/index.mjs.map} +0 -0
package/package.json
CHANGED
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-deck",
|
|
3
|
-
"version": "0.8.4-main.
|
|
3
|
+
"version": "0.8.4-main.c85a9c8dae",
|
|
4
4
|
"description": "DXOS Surface plugin for the main application layout.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/dxos/dxos"
|
|
10
|
+
},
|
|
7
11
|
"license": "MIT",
|
|
8
12
|
"author": "DXOS.org",
|
|
9
13
|
"sideEffects": true,
|
|
10
14
|
"type": "module",
|
|
11
15
|
"exports": {
|
|
12
16
|
".": {
|
|
17
|
+
"source": "./src/index.ts",
|
|
13
18
|
"types": "./dist/types/src/index.d.ts",
|
|
14
19
|
"browser": "./dist/lib/browser/index.mjs"
|
|
15
20
|
},
|
|
16
21
|
"./types": {
|
|
22
|
+
"source": "./src/types/index.ts",
|
|
17
23
|
"types": "./dist/types/src/types/index.d.ts",
|
|
18
24
|
"browser": "./dist/lib/browser/types/index.mjs"
|
|
19
25
|
}
|
|
@@ -31,57 +37,63 @@
|
|
|
31
37
|
"src"
|
|
32
38
|
],
|
|
33
39
|
"dependencies": {
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@
|
|
40
|
+
"@effect-atom/atom": "^0.5.1",
|
|
41
|
+
"@effect-atom/atom-react": "^0.5.0",
|
|
42
|
+
"@effect/ai": "0.33.2",
|
|
43
|
+
"@effect/experimental": "0.58.0",
|
|
44
|
+
"@fluentui/react-tabster": "9.26.11",
|
|
37
45
|
"@radix-ui/react-context": "1.1.1",
|
|
38
|
-
"effect": "3.17.0",
|
|
39
46
|
"immer": "^10.1.1",
|
|
40
|
-
"@dxos/ai": "0.8.4-main.
|
|
41
|
-
"@dxos/
|
|
42
|
-
"@dxos/
|
|
43
|
-
"@dxos/
|
|
44
|
-
"@dxos/
|
|
45
|
-
"@dxos/
|
|
46
|
-
"@dxos/echo
|
|
47
|
-
"@dxos/
|
|
48
|
-
"@dxos/
|
|
49
|
-
"@dxos/keyboard": "0.8.4-main.
|
|
50
|
-
"@dxos/
|
|
51
|
-
"@dxos/
|
|
52
|
-
"@dxos/
|
|
53
|
-
"@dxos/plugin-
|
|
54
|
-
"@dxos/plugin-graph": "0.8.4-main.
|
|
55
|
-
"@dxos/plugin-
|
|
56
|
-
"@dxos/
|
|
57
|
-
"@dxos/react-
|
|
58
|
-
"@dxos/
|
|
59
|
-
"@dxos/react-ui-
|
|
60
|
-
"@dxos/react-ui-
|
|
61
|
-
"@dxos/react-ui-
|
|
62
|
-
"@dxos/
|
|
63
|
-
"@dxos/react-ui-
|
|
47
|
+
"@dxos/ai": "0.8.4-main.c85a9c8dae",
|
|
48
|
+
"@dxos/assistant": "0.8.4-main.c85a9c8dae",
|
|
49
|
+
"@dxos/app-toolkit": "0.8.4-main.c85a9c8dae",
|
|
50
|
+
"@dxos/blueprints": "0.8.4-main.c85a9c8dae",
|
|
51
|
+
"@dxos/async": "0.8.4-main.c85a9c8dae",
|
|
52
|
+
"@dxos/debug": "0.8.4-main.c85a9c8dae",
|
|
53
|
+
"@dxos/echo": "0.8.4-main.c85a9c8dae",
|
|
54
|
+
"@dxos/invariant": "0.8.4-main.c85a9c8dae",
|
|
55
|
+
"@dxos/effect": "0.8.4-main.c85a9c8dae",
|
|
56
|
+
"@dxos/keyboard": "0.8.4-main.c85a9c8dae",
|
|
57
|
+
"@dxos/log": "0.8.4-main.c85a9c8dae",
|
|
58
|
+
"@dxos/operation": "0.8.4-main.c85a9c8dae",
|
|
59
|
+
"@dxos/plugin-attention": "0.8.4-main.c85a9c8dae",
|
|
60
|
+
"@dxos/plugin-observability": "0.8.4-main.c85a9c8dae",
|
|
61
|
+
"@dxos/plugin-graph": "0.8.4-main.c85a9c8dae",
|
|
62
|
+
"@dxos/plugin-theme": "0.8.4-main.c85a9c8dae",
|
|
63
|
+
"@dxos/react-client": "0.8.4-main.c85a9c8dae",
|
|
64
|
+
"@dxos/react-error-boundary": "0.8.4-main.c85a9c8dae",
|
|
65
|
+
"@dxos/app-framework": "0.8.4-main.c85a9c8dae",
|
|
66
|
+
"@dxos/react-ui-form": "0.8.4-main.c85a9c8dae",
|
|
67
|
+
"@dxos/react-ui-attention": "0.8.4-main.c85a9c8dae",
|
|
68
|
+
"@dxos/react-ui-mosaic": "0.8.4-main.c85a9c8dae",
|
|
69
|
+
"@dxos/react-ui-tabs": "0.8.4-main.c85a9c8dae",
|
|
70
|
+
"@dxos/react-ui-stack": "0.8.4-main.c85a9c8dae",
|
|
71
|
+
"@dxos/util": "0.8.4-main.c85a9c8dae",
|
|
72
|
+
"@dxos/react-ui-text-tooltip": "0.8.4-main.c85a9c8dae",
|
|
73
|
+
"@dxos/ui-types": "0.8.4-main.c85a9c8dae"
|
|
64
74
|
},
|
|
65
75
|
"devDependencies": {
|
|
66
|
-
"@effect-
|
|
67
|
-
"@effect/platform": "0.
|
|
68
|
-
"@types/react": "~
|
|
69
|
-
"@types/react-dom": "~
|
|
70
|
-
"
|
|
71
|
-
"react
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"@dxos/
|
|
75
|
-
"@dxos/
|
|
76
|
+
"@effect-atom/atom-react": "^0.5.0",
|
|
77
|
+
"@effect/platform": "0.94.4",
|
|
78
|
+
"@types/react": "~19.2.7",
|
|
79
|
+
"@types/react-dom": "~19.2.3",
|
|
80
|
+
"effect": "3.19.16",
|
|
81
|
+
"react": "~19.2.3",
|
|
82
|
+
"react-dom": "~19.2.3",
|
|
83
|
+
"vite": "^7.1.11",
|
|
84
|
+
"@dxos/plugin-testing": "0.8.4-main.c85a9c8dae",
|
|
85
|
+
"@dxos/react-ui": "0.8.4-main.c85a9c8dae",
|
|
86
|
+
"@dxos/ui-theme": "0.8.4-main.c85a9c8dae",
|
|
87
|
+
"@dxos/storybook-utils": "0.8.4-main.c85a9c8dae"
|
|
76
88
|
},
|
|
77
89
|
"peerDependencies": {
|
|
78
|
-
"@effect-
|
|
79
|
-
"@effect/platform": "
|
|
80
|
-
"effect": "
|
|
81
|
-
"react": "~
|
|
82
|
-
"react-dom": "~
|
|
83
|
-
"@dxos/react-ui": "0.8.4-main.
|
|
84
|
-
"@dxos/
|
|
90
|
+
"@effect-atom/atom-react": "^0.5.0",
|
|
91
|
+
"@effect/platform": "0.94.4",
|
|
92
|
+
"effect": "3.19.16",
|
|
93
|
+
"react": "~19.2.3",
|
|
94
|
+
"react-dom": "~19.2.3",
|
|
95
|
+
"@dxos/react-ui": "0.8.4-main.c85a9c8dae",
|
|
96
|
+
"@dxos/ui-theme": "0.8.4-main.c85a9c8dae"
|
|
85
97
|
},
|
|
86
98
|
"publishConfig": {
|
|
87
99
|
"access": "public"
|
package/src/DeckPlugin.ts
CHANGED
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
import { setAutoFreeze } from 'immer';
|
|
6
6
|
|
|
7
|
-
import {
|
|
7
|
+
import { ActivationEvent, ActivationEvents, Plugin } from '@dxos/app-framework';
|
|
8
|
+
import { AppActivationEvents, AppPlugin } from '@dxos/app-toolkit';
|
|
8
9
|
import { translations as stackTranslations } from '@dxos/react-ui-stack';
|
|
9
10
|
|
|
10
11
|
import {
|
|
@@ -12,75 +13,59 @@ import {
|
|
|
12
13
|
CheckAppScheme,
|
|
13
14
|
DeckSettings,
|
|
14
15
|
DeckState,
|
|
15
|
-
|
|
16
|
+
LayoutOperationResolver,
|
|
16
17
|
ReactRoot,
|
|
17
18
|
ReactSurface,
|
|
18
|
-
|
|
19
|
+
Toolkit,
|
|
19
20
|
UrlHandler,
|
|
20
21
|
} from './capabilities';
|
|
21
|
-
import { DeckEvents } from './events';
|
|
22
22
|
import { meta } from './meta';
|
|
23
23
|
import { translations } from './translations';
|
|
24
|
+
import { DeckEvents } from './types';
|
|
24
25
|
|
|
25
26
|
// NOTE(Zan): When producing values with immer, we shouldn't auto-freeze them because
|
|
26
27
|
// our signal implementation needs to add some hidden properties to the produced values.
|
|
27
28
|
// TODO(Zan): Move this to a more global location if we use immer more broadly.
|
|
28
29
|
setAutoFreeze(false);
|
|
29
30
|
|
|
30
|
-
export const DeckPlugin = ()
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
defineModule({
|
|
72
|
-
id: `${meta.id}/module/app-graph-builder`,
|
|
73
|
-
activatesOn: Events.SetupAppGraph,
|
|
74
|
-
activate: AppGraphBuilder,
|
|
75
|
-
}),
|
|
76
|
-
defineModule({
|
|
77
|
-
id: `${meta.id}/module/tools`,
|
|
78
|
-
activatesOn: Events.SetupArtifactDefinition,
|
|
79
|
-
activate: Tools,
|
|
80
|
-
}),
|
|
81
|
-
defineModule({
|
|
82
|
-
id: `${meta.id}/module/url`,
|
|
83
|
-
activatesOn: allOf(Events.DispatcherReady, DeckEvents.StateReady),
|
|
84
|
-
activate: UrlHandler,
|
|
85
|
-
}),
|
|
86
|
-
]);
|
|
31
|
+
export const DeckPlugin = Plugin.define(meta).pipe(
|
|
32
|
+
AppPlugin.addAppGraphModule({ activate: AppGraphBuilder }),
|
|
33
|
+
AppPlugin.addOperationResolverModule({ activate: LayoutOperationResolver }),
|
|
34
|
+
AppPlugin.addSurfaceModule({ activate: ReactSurface }),
|
|
35
|
+
AppPlugin.addTranslationsModule({ translations: [...translations, ...stackTranslations] }),
|
|
36
|
+
Plugin.addModule({
|
|
37
|
+
activatesOn: AppActivationEvents.SetupSettings,
|
|
38
|
+
activatesAfter: [DeckEvents.SettingsReady],
|
|
39
|
+
activate: DeckSettings,
|
|
40
|
+
}),
|
|
41
|
+
Plugin.addModule({
|
|
42
|
+
activatesOn: DeckEvents.SettingsReady,
|
|
43
|
+
activate: CheckAppScheme,
|
|
44
|
+
}),
|
|
45
|
+
Plugin.addModule({
|
|
46
|
+
// TODO(wittjosiah): Does not integrate with settings store.
|
|
47
|
+
// Should this be a different event?
|
|
48
|
+
// Should settings store be renamed to be more generic?
|
|
49
|
+
activatesOn: ActivationEvent.oneOf(AppActivationEvents.SetupSettings, AppActivationEvents.SetupAppGraph),
|
|
50
|
+
activatesAfter: [AppActivationEvents.LayoutReady, DeckEvents.StateReady],
|
|
51
|
+
activate: DeckState,
|
|
52
|
+
}),
|
|
53
|
+
Plugin.addModule({
|
|
54
|
+
activatesOn: ActivationEvents.Startup,
|
|
55
|
+
activate: ReactRoot,
|
|
56
|
+
}),
|
|
57
|
+
// Plugin.addModule({
|
|
58
|
+
// activatesOn: Events.SetupArtifactDefinition,
|
|
59
|
+
// activate: Tools,
|
|
60
|
+
// }),
|
|
61
|
+
Plugin.addModule({
|
|
62
|
+
// TODO(wittjosiah): Shouldn't use the startup event.
|
|
63
|
+
activatesOn: ActivationEvents.Startup,
|
|
64
|
+
activate: Toolkit,
|
|
65
|
+
}),
|
|
66
|
+
Plugin.addModule({
|
|
67
|
+
activatesOn: ActivationEvent.allOf(ActivationEvents.OperationInvokerReady, DeckEvents.StateReady),
|
|
68
|
+
activate: UrlHandler,
|
|
69
|
+
}),
|
|
70
|
+
Plugin.make,
|
|
71
|
+
);
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import * as Effect from 'effect/Effect';
|
|
6
|
+
|
|
7
|
+
import { Capabilities, Capability } from '@dxos/app-framework';
|
|
8
|
+
import { AppCapabilities, LayoutOperation } from '@dxos/app-toolkit';
|
|
9
|
+
import { Operation } from '@dxos/operation';
|
|
10
|
+
import { AttentionCapabilities } from '@dxos/plugin-attention';
|
|
11
|
+
import { GraphBuilder, NodeMatcher } from '@dxos/plugin-graph';
|
|
12
|
+
|
|
13
|
+
import { meta } from '../../meta';
|
|
14
|
+
import { DeckCapabilities } from '../../types';
|
|
15
|
+
|
|
16
|
+
export default Capability.makeModule(
|
|
17
|
+
Effect.fnUntraced(function* () {
|
|
18
|
+
const extensions = yield* GraphBuilder.createExtension({
|
|
19
|
+
id: meta.id,
|
|
20
|
+
match: NodeMatcher.whenRoot,
|
|
21
|
+
actions: (_node, get) =>
|
|
22
|
+
Effect.gen(function* () {
|
|
23
|
+
// NOTE(Zan): This is currently disabled.
|
|
24
|
+
// TODO(Zan): Fullscreen needs to know the active node and provide that to the layout part.
|
|
25
|
+
// const _fullscreen = {
|
|
26
|
+
// id: `${LayoutAction.UpdateLayout._tag}/fullscreen`,
|
|
27
|
+
// data: async () => {
|
|
28
|
+
// const { dispatchPromise: dispatch } = context.get(Capabilities.IntentDispatcher);
|
|
29
|
+
// await dispatch(
|
|
30
|
+
// createIntent(LayoutAction.SetLayoutMode, { part: 'mode', options: { mode: 'fullscreen' } }),
|
|
31
|
+
// );
|
|
32
|
+
// },
|
|
33
|
+
// properties: {
|
|
34
|
+
// label: ['toggle fullscreen label', { ns: meta.id }],
|
|
35
|
+
// icon: 'ph--arrows-out--regular',
|
|
36
|
+
// keyBinding: {
|
|
37
|
+
// macos: 'ctrl+meta+f',
|
|
38
|
+
// windows: 'shift+ctrl+f',
|
|
39
|
+
// },
|
|
40
|
+
// },
|
|
41
|
+
// };
|
|
42
|
+
|
|
43
|
+
const closeCurrent = {
|
|
44
|
+
id: `${LayoutOperation.Close.meta.key}/current`,
|
|
45
|
+
data: Effect.fnUntraced(function* () {
|
|
46
|
+
const attention = yield* Capability.get(AttentionCapabilities.Attention);
|
|
47
|
+
const attended = attention.getCurrent().at(-1);
|
|
48
|
+
if (attended) {
|
|
49
|
+
yield* Operation.invoke(LayoutOperation.Close, { subject: [attended] });
|
|
50
|
+
}
|
|
51
|
+
}),
|
|
52
|
+
properties: {
|
|
53
|
+
label: ['close current label', { ns: meta.id }],
|
|
54
|
+
icon: 'ph--x--regular',
|
|
55
|
+
},
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
const closeOthers = {
|
|
59
|
+
id: `${LayoutOperation.Close.meta.key}/others`,
|
|
60
|
+
data: Effect.fnUntraced(function* () {
|
|
61
|
+
const attention = yield* Capability.get(AttentionCapabilities.Attention);
|
|
62
|
+
const deck = yield* DeckCapabilities.getDeck();
|
|
63
|
+
const attended = attention.getCurrent().at(-1);
|
|
64
|
+
const ids = deck.active.filter((id: string) => id !== attended) ?? [];
|
|
65
|
+
yield* Operation.invoke(LayoutOperation.Close, { subject: ids });
|
|
66
|
+
}),
|
|
67
|
+
properties: {
|
|
68
|
+
label: ['close others label', { ns: meta.id }],
|
|
69
|
+
icon: 'ph--x-square--regular',
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
const closeAll = {
|
|
74
|
+
id: `${LayoutOperation.Close.meta.key}/all`,
|
|
75
|
+
data: Effect.fnUntraced(function* () {
|
|
76
|
+
const deck = yield* DeckCapabilities.getDeck();
|
|
77
|
+
yield* Operation.invoke(LayoutOperation.Close, { subject: deck.active });
|
|
78
|
+
}),
|
|
79
|
+
properties: {
|
|
80
|
+
label: ['close all label', { ns: meta.id }],
|
|
81
|
+
icon: 'ph--x-circle--regular',
|
|
82
|
+
},
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
const state = get(yield* Capability.get(DeckCapabilities.State));
|
|
86
|
+
const deck = state.decks[state.activeDeck];
|
|
87
|
+
|
|
88
|
+
const toggleSidebar = {
|
|
89
|
+
id: `${LayoutOperation.UpdateSidebar.meta.key}/nav`,
|
|
90
|
+
data: Effect.fnUntraced(function* () {
|
|
91
|
+
yield* Capabilities.updateAtomValue(DeckCapabilities.State, (s) => ({
|
|
92
|
+
...s,
|
|
93
|
+
sidebarState: s.sidebarState === 'expanded' ? ('collapsed' as const) : ('expanded' as const),
|
|
94
|
+
}));
|
|
95
|
+
}),
|
|
96
|
+
properties: {
|
|
97
|
+
label: [
|
|
98
|
+
state.sidebarState === 'expanded'
|
|
99
|
+
? 'collapse navigation sidebar label'
|
|
100
|
+
: 'open navigation sidebar label',
|
|
101
|
+
{ ns: meta.id },
|
|
102
|
+
],
|
|
103
|
+
icon: 'ph--sidebar--regular',
|
|
104
|
+
keyBinding: {
|
|
105
|
+
macos: "meta+'",
|
|
106
|
+
},
|
|
107
|
+
disposition: 'pin-end',
|
|
108
|
+
position: 'hoist',
|
|
109
|
+
l0Breakpoint: 'lg',
|
|
110
|
+
},
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
return !deck?.solo ? [closeCurrent, closeOthers, closeAll, toggleSidebar] : [toggleSidebar];
|
|
114
|
+
}),
|
|
115
|
+
});
|
|
116
|
+
|
|
117
|
+
return Capability.contributes(AppCapabilities.AppGraphBuilder, extensions);
|
|
118
|
+
}),
|
|
119
|
+
);
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import * as Effect from 'effect/Effect';
|
|
6
|
+
|
|
7
|
+
import { Capabilities, Capability } from '@dxos/app-framework';
|
|
8
|
+
import { isTauri } from '@dxos/util';
|
|
9
|
+
|
|
10
|
+
import { DeckCapabilities } from '../../types';
|
|
11
|
+
|
|
12
|
+
const APP_SCHEME = 'composer://';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Attempts to redirect from the web app to the native desktop app using a custom URL scheme.
|
|
16
|
+
* Creates a hidden iframe that navigates to the custom scheme URL (e.g., composer://workspace/123).
|
|
17
|
+
* If the native app is installed and handles the scheme, the user will be redirected.
|
|
18
|
+
* The iframe is automatically removed after 3 seconds or when the page is hidden.
|
|
19
|
+
*/
|
|
20
|
+
// TODO(mjamesderocher): Factor out as part of NavigationPlugin.
|
|
21
|
+
const checkAppScheme = (url: string) => {
|
|
22
|
+
const iframe = document.createElement('iframe');
|
|
23
|
+
iframe.style.display = 'none';
|
|
24
|
+
document.body.appendChild(iframe);
|
|
25
|
+
|
|
26
|
+
iframe.src = url + window.location.pathname.replace(/^\/+/, '') + window.location.search;
|
|
27
|
+
|
|
28
|
+
const timer = setTimeout(() => {
|
|
29
|
+
document.body.removeChild(iframe);
|
|
30
|
+
}, 3000);
|
|
31
|
+
|
|
32
|
+
window.addEventListener('pagehide', (event) => {
|
|
33
|
+
clearTimeout(timer);
|
|
34
|
+
document.body.removeChild(iframe);
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export default Capability.makeModule(
|
|
39
|
+
Effect.fnUntraced(function* () {
|
|
40
|
+
const settings = yield* Capabilities.getAtomValue(DeckCapabilities.Settings);
|
|
41
|
+
if (!isTauri() && settings?.enableNativeRedirect) {
|
|
42
|
+
checkAppScheme(APP_SCHEME);
|
|
43
|
+
}
|
|
44
|
+
}),
|
|
45
|
+
);
|
|
@@ -2,17 +2,13 @@
|
|
|
2
2
|
// Copyright 2025 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export const LayoutIntentResolver = lazy(() => import('./intent-resolver'));
|
|
12
|
-
export const ReactRoot = lazy(() => import('./react-root'));
|
|
13
|
-
export const ReactSurface = lazy(() => import('./react-surface'));
|
|
14
|
-
export const Tools = lazy(() => import('./tools'));
|
|
15
|
-
export const UrlHandler = lazy(() => import('./url-handler'));
|
|
16
|
-
|
|
17
|
-
export * from './capabilities';
|
|
5
|
+
export * from './app-graph-builder';
|
|
6
|
+
export * from './check-app-scheme';
|
|
7
|
+
export * from './operation-resolver';
|
|
8
|
+
export * from './react-root';
|
|
9
|
+
export * from './react-surface';
|
|
10
|
+
export * from './settings';
|
|
18
11
|
export * from './state';
|
|
12
|
+
export * from './toolkit';
|
|
13
|
+
// export * from './tools';
|
|
14
|
+
export * from './url-handler';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Copyright 2025 DXOS.org
|
|
3
|
+
//
|
|
4
|
+
|
|
5
|
+
import { type Capability, Capability as Capability$ } from '@dxos/app-framework';
|
|
6
|
+
|
|
7
|
+
export const LayoutOperationResolver: Capability.LazyCapability = Capability$.lazy(
|
|
8
|
+
'LayoutOperationResolver',
|
|
9
|
+
() => import('./operation-resolver'),
|
|
10
|
+
);
|