@dxos/plugin-navtree 0.8.4-main.fd6878d → 0.8.4-staging.60fe92afc8
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/PLUGIN.mdl +376 -0
- package/README.md +1 -1
- package/dist/lib/neutral/CommandsDialogContent-UBGIQ5FI.mjs +112 -0
- package/dist/lib/neutral/CommandsDialogContent-UBGIQ5FI.mjs.map +7 -0
- package/dist/lib/neutral/CommandsTrigger-BH5WLMHK.mjs +27 -0
- package/dist/lib/neutral/CommandsTrigger-BH5WLMHK.mjs.map +7 -0
- package/dist/lib/neutral/NavTreeContainer-6AR4BFDD.mjs +12 -0
- package/dist/lib/neutral/NavTreeContainer-6AR4BFDD.mjs.map +7 -0
- package/dist/lib/neutral/NavTreeDocumentTitle-H3E6ZLYE.mjs +22 -0
- package/dist/lib/neutral/NavTreeDocumentTitle-H3E6ZLYE.mjs.map +7 -0
- package/dist/lib/neutral/NavTreePlugin.mjs +68 -0
- package/dist/lib/neutral/NavTreePlugin.mjs.map +7 -0
- package/dist/lib/neutral/NavTreePlugin.node.mjs +18 -0
- package/dist/lib/neutral/NavTreePlugin.node.mjs.map +7 -0
- package/dist/lib/neutral/NavTreePlugin.workerd.mjs +16 -0
- package/dist/lib/neutral/NavTreePlugin.workerd.mjs.map +7 -0
- package/dist/lib/neutral/app-graph-builder-Z347LKSF.mjs +42 -0
- package/dist/lib/neutral/app-graph-builder-Z347LKSF.mjs.map +7 -0
- package/dist/lib/neutral/capabilities/index.mjs +17 -0
- package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
- package/dist/lib/neutral/chunk-5OPDKH6B.mjs +273 -0
- package/dist/lib/neutral/chunk-5OPDKH6B.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-JOSNCOV4.mjs +79 -0
- package/dist/lib/neutral/chunk-JOSNCOV4.mjs.map +7 -0
- package/dist/lib/neutral/chunk-MDGKDQMZ.mjs +37 -0
- package/dist/lib/neutral/chunk-MDGKDQMZ.mjs.map +7 -0
- package/dist/lib/neutral/chunk-T7QS2EFI.mjs +8 -0
- package/dist/lib/neutral/chunk-T7QS2EFI.mjs.map +7 -0
- package/dist/lib/neutral/chunk-ZSWYB7JW.mjs +27 -0
- package/dist/lib/neutral/chunk-ZSWYB7JW.mjs.map +7 -0
- package/dist/lib/neutral/components/index.mjs +805 -0
- package/dist/lib/neutral/components/index.mjs.map +7 -0
- package/dist/lib/neutral/containers/index.mjs +20 -0
- package/dist/lib/neutral/containers/index.mjs.map +7 -0
- package/dist/lib/neutral/expose-26FV4W5D.mjs +38 -0
- package/dist/lib/neutral/expose-26FV4W5D.mjs.map +7 -0
- package/dist/lib/neutral/hooks/index.mjs +178 -0
- package/dist/lib/neutral/hooks/index.mjs.map +7 -0
- package/dist/lib/neutral/index.mjs +34 -0
- package/dist/lib/neutral/index.mjs.map +7 -0
- package/dist/lib/{browser/keyboard-HMTMA33N.mjs → neutral/keyboard-EJ65BVTC.mjs} +25 -20
- package/dist/lib/neutral/keyboard-EJ65BVTC.mjs.map +7 -0
- package/dist/lib/neutral/meta.json +1 -0
- package/dist/lib/neutral/meta.mjs +12 -0
- package/dist/lib/neutral/meta.mjs.map +7 -0
- package/dist/lib/neutral/operation-handler-ORDOJUL2.mjs +13 -0
- package/dist/lib/neutral/operation-handler-ORDOJUL2.mjs.map +7 -0
- package/dist/lib/neutral/operations/index.mjs +8 -0
- package/dist/lib/neutral/operations/index.mjs.map +7 -0
- package/dist/lib/neutral/plugin.mjs +16 -0
- package/dist/lib/neutral/plugin.mjs.map +7 -0
- package/dist/lib/neutral/react-surface-Q5XMAG7Z.mjs +50 -0
- package/dist/lib/neutral/react-surface-Q5XMAG7Z.mjs.map +7 -0
- package/dist/lib/neutral/state-VVJEWUHM.mjs +126 -0
- package/dist/lib/neutral/state-VVJEWUHM.mjs.map +7 -0
- package/dist/lib/neutral/testing/index.mjs +439 -0
- package/dist/lib/neutral/testing/index.mjs.map +7 -0
- package/dist/lib/neutral/translations.mjs +23 -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/types/src/NavTreePlugin.d.ts +3 -1
- package/dist/types/src/NavTreePlugin.d.ts.map +1 -1
- package/dist/types/src/NavTreePlugin.node.d.ts +4 -0
- package/dist/types/src/NavTreePlugin.node.d.ts.map +1 -0
- package/dist/types/src/NavTreePlugin.test.d.ts +2 -0
- package/dist/types/src/NavTreePlugin.test.d.ts.map +1 -0
- package/dist/types/src/NavTreePlugin.workerd.d.ts +4 -0
- package/dist/types/src/NavTreePlugin.workerd.d.ts.map +1 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts +4 -2
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +7 -105
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/keyboard.d.ts +3 -2
- package/dist/types/src/capabilities/keyboard.d.ts.map +1 -1
- package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
- package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface.d.ts +3 -2
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/state.d.ts +4 -18
- package/dist/types/src/capabilities/state.d.ts.map +1 -1
- package/dist/types/src/components/NavTree/NavTree.d.ts +11 -4
- package/dist/types/src/components/NavTree/NavTree.d.ts.map +1 -1
- package/dist/types/src/components/NavTree/NavTree.stories.d.ts +25 -5
- package/dist/types/src/components/NavTree/NavTree.stories.d.ts.map +1 -1
- package/dist/types/src/components/{NavTreeContext.d.ts → NavTreeContext/NavTreeContext.d.ts} +1 -1
- package/dist/types/src/components/NavTreeContext/NavTreeContext.d.ts.map +1 -0
- package/dist/types/src/components/NavTreeContext/index.d.ts +2 -0
- package/dist/types/src/components/NavTreeContext/index.d.ts.map +1 -0
- package/dist/types/src/components/NavTreeItem/NavTreeItemAction.d.ts +13 -9
- package/dist/types/src/components/NavTreeItem/NavTreeItemAction.d.ts.map +1 -1
- package/dist/types/src/components/NavTreeItem/NavTreeItemAction.stories.d.ts +33 -4
- package/dist/types/src/components/NavTreeItem/NavTreeItemAction.stories.d.ts.map +1 -1
- package/dist/types/src/components/NavTreeItem/NavTreeItemColumns.d.ts +1 -1
- package/dist/types/src/components/NavTreeItem/NavTreeItemColumns.d.ts.map +1 -1
- package/dist/types/src/components/Sidebar/L0Menu.d.ts +10 -5
- package/dist/types/src/components/Sidebar/L0Menu.d.ts.map +1 -1
- package/dist/types/src/components/Sidebar/L1Panel.d.ts +4 -7
- package/dist/types/src/components/Sidebar/L1Panel.d.ts.map +1 -1
- package/dist/types/src/components/Sidebar/L1Tabs.d.ts +5 -4
- package/dist/types/src/components/Sidebar/L1Tabs.d.ts.map +1 -1
- package/dist/types/src/components/UserAccountAvatar/UserAccountAvatar.d.ts.map +1 -1
- package/dist/types/src/components/UserAccountAvatar/UserAccountAvatar.stories.d.ts +8 -5
- package/dist/types/src/components/UserAccountAvatar/UserAccountAvatar.stories.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +0 -3
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/components/types.d.ts +8 -17
- package/dist/types/src/components/types.d.ts.map +1 -1
- package/dist/types/src/containers/CommandsDialogContent/CommandsDialogContent.d.ts +6 -0
- package/dist/types/src/containers/CommandsDialogContent/CommandsDialogContent.d.ts.map +1 -0
- package/dist/types/src/containers/CommandsDialogContent/CommandsDialogContent.stories.d.ts +28 -0
- package/dist/types/src/containers/CommandsDialogContent/CommandsDialogContent.stories.d.ts.map +1 -0
- package/dist/types/src/containers/CommandsDialogContent/index.d.ts +2 -0
- package/dist/types/src/containers/CommandsDialogContent/index.d.ts.map +1 -0
- package/dist/types/src/containers/CommandsTrigger/CommandsTrigger.d.ts.map +1 -0
- package/dist/types/src/containers/CommandsTrigger/index.d.ts +2 -0
- package/dist/types/src/containers/CommandsTrigger/index.d.ts.map +1 -0
- package/dist/types/src/containers/NavTreeContainer/NavTreeContainer.d.ts +9 -0
- package/dist/types/src/containers/NavTreeContainer/NavTreeContainer.d.ts.map +1 -0
- package/dist/types/src/containers/NavTreeContainer/index.d.ts +3 -0
- package/dist/types/src/containers/NavTreeContainer/index.d.ts.map +1 -0
- package/dist/types/src/{components → containers/NavTreeDocumentTitle}/NavTreeDocumentTitle.d.ts +1 -1
- package/dist/types/src/containers/NavTreeDocumentTitle/NavTreeDocumentTitle.d.ts.map +1 -0
- package/dist/types/src/containers/NavTreeDocumentTitle/index.d.ts +2 -0
- package/dist/types/src/containers/NavTreeDocumentTitle/index.d.ts.map +1 -0
- package/dist/types/src/containers/index.d.ts +7 -0
- package/dist/types/src/containers/index.d.ts.map +1 -0
- package/dist/types/src/experimental/Tree.d.ts +3 -4
- package/dist/types/src/experimental/Tree.d.ts.map +1 -1
- package/dist/types/src/experimental/Tree.stories.d.ts +23 -6
- package/dist/types/src/experimental/Tree.stories.d.ts.map +1 -1
- package/dist/types/src/hooks/index.d.ts +5 -0
- package/dist/types/src/hooks/index.d.ts.map +1 -0
- package/dist/types/src/hooks/useActions.d.ts +11 -0
- package/dist/types/src/hooks/useActions.d.ts.map +1 -0
- package/dist/types/src/hooks/useLoadDescendents.d.ts +6 -0
- package/dist/types/src/hooks/useLoadDescendents.d.ts.map +1 -0
- package/dist/types/src/hooks/useNavTreeModel.d.ts +7 -0
- package/dist/types/src/hooks/useNavTreeModel.d.ts.map +1 -0
- package/dist/types/src/hooks/useNavTreeState.d.ts +18 -0
- package/dist/types/src/hooks/useNavTreeState.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +1 -3
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +4 -4
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/operations/expose.d.ts +5 -0
- package/dist/types/src/operations/expose.d.ts.map +1 -0
- package/dist/types/src/operations/index.d.ts +3 -0
- package/dist/types/src/operations/index.d.ts.map +1 -0
- package/dist/types/src/plugin.d.ts +4 -0
- package/dist/types/src/plugin.d.ts.map +1 -0
- package/dist/types/src/testing/app-graph-builder.d.ts +2 -3
- package/dist/types/src/testing/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/testing/generator.d.ts +5 -6
- package/dist/types/src/testing/generator.d.ts.map +1 -1
- package/dist/types/src/testing/update-state.d.ts +2 -2
- package/dist/types/src/testing/update-state.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +8 -11
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/NavTreeCapabilities.d.ts +13 -0
- package/dist/types/src/types/NavTreeCapabilities.d.ts.map +1 -0
- package/dist/types/src/types/NavTreeEvents.d.ts +3 -0
- package/dist/types/src/types/NavTreeEvents.d.ts.map +1 -0
- package/dist/types/src/types/index.d.ts +4 -0
- package/dist/types/src/types/index.d.ts.map +1 -0
- package/dist/types/src/{types.d.ts → types/schema.d.ts} +14 -9
- package/dist/types/src/types/schema.d.ts.map +1 -0
- package/dist/types/src/util.d.ts +12 -8
- package/dist/types/src/util.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +124 -62
- package/src/NavTreePlugin.node.ts +17 -0
- package/src/NavTreePlugin.test.ts +27 -0
- package/src/NavTreePlugin.tsx +56 -87
- package/src/NavTreePlugin.workerd.ts +16 -0
- package/src/capabilities/app-graph-builder.ts +34 -44
- package/src/capabilities/index.ts +10 -8
- package/src/capabilities/keyboard.ts +58 -51
- package/src/capabilities/operation-handler.ts +16 -0
- package/src/capabilities/react-surface.tsx +46 -38
- package/src/capabilities/state.ts +132 -84
- package/src/components/NavTree/NavTree.stories.tsx +112 -106
- package/src/components/NavTree/NavTree.tsx +69 -33
- package/src/components/{NavTreeContext.tsx → NavTreeContext/NavTreeContext.tsx} +1 -1
- package/src/components/NavTreeContext/index.ts +5 -0
- package/src/components/NavTreeItem/NavTreeItemAction.stories.tsx +25 -19
- package/src/components/NavTreeItem/NavTreeItemAction.tsx +78 -54
- package/src/components/NavTreeItem/NavTreeItemColumns.tsx +40 -51
- package/src/components/Sidebar/L0Menu.tsx +182 -210
- package/src/components/Sidebar/L1Panel.tsx +185 -110
- package/src/components/Sidebar/L1Tabs.tsx +18 -34
- package/src/components/UserAccountAvatar/UserAccountAvatar.stories.tsx +9 -9
- package/src/components/UserAccountAvatar/UserAccountAvatar.tsx +20 -12
- package/src/components/index.ts +1 -3
- package/src/components/types.ts +13 -19
- package/src/containers/CommandsDialogContent/CommandsDialogContent.stories.tsx +46 -0
- package/src/containers/CommandsDialogContent/CommandsDialogContent.tsx +127 -0
- package/src/containers/CommandsDialogContent/index.ts +5 -0
- package/src/containers/CommandsTrigger/CommandsTrigger.tsx +28 -0
- package/src/containers/CommandsTrigger/index.ts +5 -0
- package/src/containers/NavTreeContainer/NavTreeContainer.tsx +271 -0
- package/src/containers/NavTreeContainer/index.ts +6 -0
- package/src/{components → containers/NavTreeDocumentTitle}/NavTreeDocumentTitle.tsx +5 -4
- package/src/containers/NavTreeDocumentTitle/index.ts +5 -0
- package/src/containers/index.ts +12 -0
- package/src/experimental/Tree.stories.tsx +105 -110
- package/src/experimental/Tree.tsx +7 -24
- package/src/hooks/index.ts +8 -0
- package/src/hooks/useActions.ts +44 -0
- package/src/hooks/useLoadDescendents.ts +23 -0
- package/src/hooks/useNavTreeModel.ts +120 -0
- package/src/hooks/useNavTreeState.ts +35 -0
- package/src/index.ts +1 -3
- package/src/meta.ts +26 -8
- package/src/operations/expose.ts +42 -0
- package/src/operations/index.ts +7 -0
- package/src/plugin.ts +11 -0
- package/src/testing/app-graph-builder.ts +169 -238
- package/src/testing/generator.ts +36 -39
- package/src/testing/update-state.ts +6 -6
- package/src/translations.ts +8 -10
- package/src/types/NavTreeCapabilities.ts +21 -0
- package/src/types/NavTreeEvents.ts +12 -0
- package/src/types/index.ts +8 -0
- package/src/{types.ts → types/schema.ts} +13 -8
- package/src/util.ts +28 -17
- package/src/vite-env.d.ts +10 -0
- package/dist/lib/browser/app-graph-builder-6JDBQ25U.mjs +0 -45
- package/dist/lib/browser/app-graph-builder-6JDBQ25U.mjs.map +0 -7
- package/dist/lib/browser/chunk-ERDGQTH5.mjs +0 -16
- package/dist/lib/browser/chunk-ERDGQTH5.mjs.map +0 -7
- package/dist/lib/browser/chunk-SNGLGBFJ.mjs +0 -1469
- package/dist/lib/browser/chunk-SNGLGBFJ.mjs.map +0 -7
- package/dist/lib/browser/chunk-WCARAZ7J.mjs +0 -15
- package/dist/lib/browser/chunk-WCARAZ7J.mjs.map +0 -7
- package/dist/lib/browser/index.mjs +0 -148
- package/dist/lib/browser/index.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-N35ZIHFD.mjs +0 -47
- package/dist/lib/browser/intent-resolver-N35ZIHFD.mjs.map +0 -7
- package/dist/lib/browser/keyboard-HMTMA33N.mjs.map +0 -7
- package/dist/lib/browser/meta.json +0 -1
- package/dist/lib/browser/react-surface-WKWXMM2N.mjs +0 -51
- package/dist/lib/browser/react-surface-WKWXMM2N.mjs.map +0 -7
- package/dist/lib/browser/state-P5DGL7KS.mjs +0 -117
- package/dist/lib/browser/state-P5DGL7KS.mjs.map +0 -7
- package/dist/types/src/capabilities/capabilities.d.ts +0 -21
- package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
- package/dist/types/src/components/CommandsDialog/CommandsDialog.d.ts +0 -5
- package/dist/types/src/components/CommandsDialog/CommandsDialog.d.ts.map +0 -1
- package/dist/types/src/components/CommandsDialog/CommandsTrigger.d.ts.map +0 -1
- package/dist/types/src/components/CommandsDialog/index.d.ts +0 -3
- package/dist/types/src/components/CommandsDialog/index.d.ts.map +0 -1
- package/dist/types/src/components/NavTreeContainer.d.ts +0 -9
- package/dist/types/src/components/NavTreeContainer.d.ts.map +0 -1
- package/dist/types/src/components/NavTreeContext.d.ts.map +0 -1
- package/dist/types/src/components/NavTreeDocumentTitle.d.ts.map +0 -1
- package/dist/types/src/events.d.ts +0 -4
- package/dist/types/src/events.d.ts.map +0 -1
- package/dist/types/src/hooks.d.ts +0 -3
- package/dist/types/src/hooks.d.ts.map +0 -1
- package/dist/types/src/types.d.ts.map +0 -1
- package/src/capabilities/capabilities.ts +0 -20
- package/src/capabilities/intent-resolver.ts +0 -37
- package/src/components/CommandsDialog/CommandsDialog.tsx +0 -118
- package/src/components/CommandsDialog/CommandsTrigger.tsx +0 -35
- package/src/components/CommandsDialog/index.ts +0 -6
- package/src/components/NavTreeContainer.tsx +0 -337
- package/src/events.ts +0 -11
- package/src/hooks.ts +0 -21
- /package/dist/types/src/{components/CommandsDialog → containers/CommandsTrigger}/CommandsTrigger.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"inputs":{"src/meta.ts":{"bytes":4320,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/types/schema.ts":{"bytes":3014,"imports":[],"format":"esm"},"src/types/NavTreeCapabilities.ts":{"bytes":1481,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/types/NavTreeEvents.ts":{"bytes":1128,"imports":[{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/types/index.ts":{"bytes":782,"imports":[{"path":"src/types/schema.ts","kind":"import-statement","original":"./schema"},{"path":"src/types/NavTreeCapabilities.ts","kind":"import-statement","original":"./NavTreeCapabilities"},{"path":"src/types/NavTreeEvents.ts","kind":"import-statement","original":"./NavTreeEvents"}],"format":"esm"},"src/util.ts":{"bytes":11113,"imports":[{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":525,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"src/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"raw-loader:/__w/dxos/dxos/packages/plugins/plugin-navtree/PLUGIN.mdl?raw":{"bytes":11311,"imports":[]},"src/NavTreePlugin.tsx":{"bytes":9620,"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/plugin-graph","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#translations","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true},{"path":"raw-loader:/__w/dxos/dxos/packages/plugins/plugin-navtree/PLUGIN.mdl?raw","kind":"import-statement","original":"../PLUGIN.mdl?raw"}],"format":"esm"},"src/NavTreePlugin.node.ts":{"bytes":1941,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/NavTreePlugin.workerd.ts":{"bytes":1636,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/app-graph-builder.ts":{"bytes":4862,"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/compute","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/keyboard.ts":{"bytes":8981,"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/async","kind":"import-statement","external":true},{"path":"@dxos/keyboard","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/operation-handler.ts":{"bytes":1667,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#operations","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":6385,"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/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"#containers","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/state.ts":{"bytes":19651,"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":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/index.ts":{"bytes":2217,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"src/capabilities/keyboard.ts","kind":"dynamic-import","original":"./keyboard"},{"path":"src/capabilities/operation-handler.ts","kind":"dynamic-import","original":"./operation-handler"},{"path":"src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"src/capabilities/state.ts","kind":"dynamic-import","original":"./state"}],"format":"esm"},"src/components/NavTreeContext/NavTreeContext.tsx":{"bytes":1360,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}],"format":"esm"},"src/components/NavTreeContext/index.ts":{"bytes":394,"imports":[{"path":"src/components/NavTreeContext/NavTreeContext.tsx","kind":"import-statement","original":"./NavTreeContext"}],"format":"esm"},"src/components/UserAccountAvatar/UserAccountAvatar.tsx":{"bytes":3717,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/components/Sidebar/index.ts","kind":"import-statement","original":"../Sidebar"}],"format":"esm"},"src/components/UserAccountAvatar/index.ts":{"bytes":401,"imports":[{"path":"src/components/UserAccountAvatar/UserAccountAvatar.tsx","kind":"import-statement","original":"./UserAccountAvatar"}],"format":"esm"},"src/components/Sidebar/L0Menu.tsx":{"bytes":43552,"imports":[{"path":"@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/combine","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/adapter","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/preserve-offset-on-source","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/scroll-just-enough-into-view","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/lit-ui/react","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":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#hooks","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"src/util.ts","kind":"import-statement","original":"../../util"},{"path":"src/components/NavTreeContext/index.ts","kind":"import-statement","original":"../NavTreeContext"},{"path":"src/components/UserAccountAvatar/index.ts","kind":"import-statement","original":"../UserAccountAvatar"}],"format":"esm"},"src/components/NavTreeItem/NavTreeItemAction.tsx":{"bytes":13590,"imports":[{"path":"react","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-menu","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/components/NavTreeItem/NavTreeItemColumns.tsx":{"bytes":7573,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"#hooks","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"src/components/NavTree/index.ts","kind":"import-statement","original":"../NavTree"},{"path":"src/components/NavTreeContext/index.ts","kind":"import-statement","original":"../NavTreeContext"},{"path":"src/components/NavTreeItem/NavTreeItemAction.tsx","kind":"import-statement","original":"./NavTreeItemAction"}],"format":"esm"},"src/components/Sidebar/L1Panel.tsx":{"bytes":24969,"imports":[{"path":"effect/Option","kind":"import-statement","external":true},{"path":"react","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-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"#hooks","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"src/components/NavTree/index.ts","kind":"import-statement","original":"../NavTree"},{"path":"src/components/NavTreeContext/index.ts","kind":"import-statement","original":"../NavTreeContext"},{"path":"src/components/NavTreeItem/NavTreeItemColumns.tsx","kind":"import-statement","original":"../NavTreeItem/NavTreeItemColumns"}],"format":"esm"},"src/components/Sidebar/L1Tabs.tsx":{"bytes":2979,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/util.ts","kind":"import-statement","original":"../../util"},{"path":"src/components/Sidebar/L1Panel.tsx","kind":"import-statement","original":"./L1Panel"}],"format":"esm"},"src/components/Sidebar/index.ts":{"bytes":539,"imports":[{"path":"src/components/Sidebar/L0Menu.tsx","kind":"import-statement","original":"./L0Menu"},{"path":"src/components/Sidebar/L1Panel.tsx","kind":"import-statement","original":"./L1Panel"},{"path":"src/components/Sidebar/L1Tabs.tsx","kind":"import-statement","original":"./L1Tabs"}],"format":"esm"},"src/components/NavTree/NavTree.tsx":{"bytes":12696,"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/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#hooks","kind":"import-statement","external":true},{"path":"src/components/NavTreeContext/index.ts","kind":"import-statement","original":"../NavTreeContext"},{"path":"src/components/Sidebar/index.ts","kind":"import-statement","original":"../Sidebar"}],"format":"esm"},"src/components/NavTree/index.ts":{"bytes":375,"imports":[{"path":"src/components/NavTree/NavTree.tsx","kind":"import-statement","original":"./NavTree"}],"format":"esm"},"src/components/index.ts":{"bytes":521,"imports":[{"path":"src/components/NavTree/index.ts","kind":"import-statement","original":"./NavTree"},{"path":"src/components/NavTreeContext/index.ts","kind":"import-statement","original":"./NavTreeContext"}],"format":"esm"},"src/containers/NavTreeContainer/NavTreeContainer.tsx":{"bytes":36383,"imports":[{"path":"@atlaskit/pragmatic-drag-and-drop-hitbox/tree-item","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/adapter","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-list","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#components","kind":"import-statement","external":true},{"path":"#hooks","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"src/util.ts","kind":"import-statement","original":"../../util"}],"format":"esm"},"src/containers/NavTreeContainer/index.ts":{"bytes":756,"imports":[{"path":"src/containers/NavTreeContainer/NavTreeContainer.tsx","kind":"import-statement","original":"./NavTreeContainer"},{"path":"src/containers/NavTreeContainer/NavTreeContainer.tsx","kind":"import-statement","original":"./NavTreeContainer"}],"format":"esm"},"src/containers/CommandsDialogContent/CommandsDialogContent.tsx":{"bytes":17856,"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/keyboard","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","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":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/containers/CommandsDialogContent/index.ts":{"bytes":560,"imports":[{"path":"src/containers/CommandsDialogContent/CommandsDialogContent.tsx","kind":"import-statement","original":"./CommandsDialogContent"}],"format":"esm"},"src/containers/CommandsTrigger/CommandsTrigger.tsx":{"bytes":3380,"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/react-ui","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/containers/CommandsTrigger/index.ts":{"bytes":524,"imports":[{"path":"src/containers/CommandsTrigger/CommandsTrigger.tsx","kind":"import-statement","original":"./CommandsTrigger"}],"format":"esm"},"src/containers/NavTreeDocumentTitle/NavTreeDocumentTitle.tsx":{"bytes":2277,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"},"src/containers/NavTreeDocumentTitle/index.ts":{"bytes":554,"imports":[{"path":"src/containers/NavTreeDocumentTitle/NavTreeDocumentTitle.tsx","kind":"import-statement","original":"./NavTreeDocumentTitle"}],"format":"esm"},"src/containers/index.ts":{"bytes":1826,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/containers/NavTreeContainer/index.ts","kind":"import-statement","original":"./NavTreeContainer"},{"path":"src/containers/CommandsDialogContent/index.ts","kind":"dynamic-import","original":"./CommandsDialogContent"},{"path":"src/containers/CommandsTrigger/index.ts","kind":"dynamic-import","original":"./CommandsTrigger"},{"path":"src/containers/NavTreeContainer/index.ts","kind":"dynamic-import","original":"./NavTreeContainer"},{"path":"src/containers/NavTreeDocumentTitle/index.ts","kind":"dynamic-import","original":"./NavTreeDocumentTitle"}],"format":"esm"},"src/hooks/useActions.ts":{"bytes":5240,"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}],"format":"esm"},"src/hooks/useLoadDescendents.ts":{"bytes":1843,"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}],"format":"esm"},"src/hooks/useNavTreeState.ts":{"bytes":3574,"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":"#types","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useNavTreeModel.ts":{"bytes":17927,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Option","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-deck","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/util.ts","kind":"import-statement","original":"../util"},{"path":"src/hooks/useNavTreeState.ts","kind":"import-statement","original":"./useNavTreeState"}],"format":"esm"},"src/hooks/index.ts":{"bytes":710,"imports":[{"path":"src/hooks/useActions.ts","kind":"import-statement","original":"./useActions"},{"path":"src/hooks/useLoadDescendents.ts","kind":"import-statement","original":"./useLoadDescendents"},{"path":"src/hooks/useNavTreeModel.ts","kind":"import-statement","original":"./useNavTreeModel"},{"path":"src/hooks/useNavTreeState.ts","kind":"import-statement","original":"./useNavTreeState"}],"format":"esm"},"src/operations/expose.ts":{"bytes":5054,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/operations/index.ts":{"bytes":837,"imports":[{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"src/operations/expose.ts","kind":"dynamic-import","original":"./expose"}],"format":"esm"},"src/plugin.ts":{"bytes":1079,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/operations/index.ts","kind":"import-statement","original":"./operations"},{"path":"#plugin","kind":"dynamic-import","external":true}],"format":"esm"},"src/testing/app-graph-builder.ts":{"bytes":23140,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/random","kind":"import-statement","external":true}],"format":"esm"},"src/testing/generator.ts":{"bytes":20255,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/testing","kind":"import-statement","external":true},{"path":"@dxos/random","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/testing/update-state.ts":{"bytes":6849,"imports":[{"path":"@dxos/log","kind":"import-statement","external":true}],"format":"esm"},"src/testing/index.ts":{"bytes":590,"imports":[{"path":"src/testing/app-graph-builder.ts","kind":"import-statement","original":"./app-graph-builder"},{"path":"src/testing/generator.ts","kind":"import-statement","original":"./generator"},{"path":"src/testing/update-state.ts","kind":"import-statement","original":"./update-state"}],"format":"esm"},"src/translations.ts":{"bytes":1956,"imports":[{"path":"#meta","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"dist/lib/neutral/operation-handler-ORDOJUL2.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":931},"dist/lib/neutral/operation-handler-ORDOJUL2.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#operations","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/operation-handler.ts","inputs":{"src/capabilities/operation-handler.ts":{"bytesInOutput":347}},"bytes":527},"dist/lib/neutral/react-surface-Q5XMAG7Z.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3271},"dist/lib/neutral/react-surface-Q5XMAG7Z.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.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/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"#containers","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":1559}},"bytes":1728},"dist/lib/neutral/state-VVJEWUHM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10229},"dist/lib/neutral/state-VVJEWUHM.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.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},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/state.ts","inputs":{"src/capabilities/state.ts":{"bytesInOutput":3890}},"bytes":4034},"dist/lib/neutral/NavTreeContainer-6AR4BFDD.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/NavTreeContainer-6AR4BFDD.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-5OPDKH6B.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-JOSNCOV4.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"}],"exports":["NODE_TYPE","NavTreeContainer","default"],"entryPoint":"src/containers/NavTreeContainer/index.ts","inputs":{},"bytes":264},"dist/lib/neutral/CommandsDialogContent-UBGIQ5FI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9508},"dist/lib/neutral/CommandsDialogContent-UBGIQ5FI.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.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/keyboard","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","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":"#meta","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/containers/CommandsDialogContent/index.ts","inputs":{"src/containers/CommandsDialogContent/CommandsDialogContent.tsx":{"bytesInOutput":4300},"src/containers/CommandsDialogContent/index.ts":{"bytesInOutput":0}},"bytes":4505},"dist/lib/neutral/CommandsTrigger-BH5WLMHK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1749},"dist/lib/neutral/CommandsTrigger-BH5WLMHK.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.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/react-ui","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/containers/CommandsTrigger/index.ts","inputs":{"src/containers/CommandsTrigger/CommandsTrigger.tsx":{"bytesInOutput":852},"src/containers/CommandsTrigger/index.ts":{"bytesInOutput":0}},"bytes":1033},"dist/lib/neutral/NavTreeDocumentTitle-H3E6ZLYE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1255},"dist/lib/neutral/NavTreeDocumentTitle-H3E6ZLYE.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/containers/NavTreeDocumentTitle/index.ts","inputs":{"src/containers/NavTreeDocumentTitle/NavTreeDocumentTitle.tsx":{"bytesInOutput":476},"src/containers/NavTreeDocumentTitle/index.ts":{"bytesInOutput":0}},"bytes":677},"dist/lib/neutral/expose-26FV4W5D.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2525},"dist/lib/neutral/expose-26FV4W5D.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-ZSWYB7JW.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/operations/expose.ts","inputs":{"src/operations/expose.ts":{"bytesInOutput":1285}},"bytes":1500},"dist/lib/neutral/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/meta.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-MDGKDQMZ.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"}],"exports":["COMMANDS_DIALOG","KEY_BINDING","meta"],"entryPoint":"src/meta.ts","inputs":{},"bytes":199},"dist/lib/neutral/operations/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/operations/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-T7QS2EFI.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"}],"exports":["NavTreeOperationHandlerSet"],"entryPoint":"src/operations/index.ts","inputs":{},"bytes":178},"dist/lib/neutral/plugin.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":509},"dist/lib/neutral/plugin.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-T7QS2EFI.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-MDGKDQMZ.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#plugin","kind":"dynamic-import","external":true}],"exports":["NavTreeOperationHandlerSet","NavTreePlugin"],"entryPoint":"src/plugin.ts","inputs":{"src/plugin.ts":{"bytesInOutput":110}},"bytes":369},"dist/lib/neutral/chunk-T7QS2EFI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":450},"dist/lib/neutral/chunk-T7QS2EFI.mjs":{"imports":[{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"dist/lib/neutral/expose-26FV4W5D.mjs","kind":"dynamic-import"}],"exports":["NavTreeOperationHandlerSet"],"inputs":{"src/operations/index.ts":{"bytesInOutput":151}},"bytes":264},"dist/lib/neutral/testing/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":23343},"dist/lib/neutral/testing/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/random","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/testing","kind":"import-statement","external":true},{"path":"@dxos/random","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"exports":["Priority","Status","TestObjectGenerator","createTree","defaultGenerators","storybookGraphBuilders","updateState"],"entryPoint":"src/testing/index.ts","inputs":{"src/testing/app-graph-builder.ts":{"bytesInOutput":5853},"src/testing/index.ts":{"bytesInOutput":0},"src/testing/generator.ts":{"bytesInOutput":4740},"src/testing/update-state.ts":{"bytesInOutput":1569}},"bytes":12459},"dist/lib/neutral/translations.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":955},"dist/lib/neutral/translations.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"#meta","kind":"import-statement","external":true}],"exports":["translations"],"entryPoint":"src/translations.ts","inputs":{"src/translations.ts":{"bytesInOutput":470}},"bytes":594},"dist/lib/neutral/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/types/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-ZSWYB7JW.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"}],"exports":["NavTreeCapabilities","NavTreeEvents"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":270},"dist/lib/neutral/app-graph-builder-Z347LKSF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2427},"dist/lib/neutral/app-graph-builder-Z347LKSF.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/compute","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder.ts":{"bytesInOutput":1154}},"bytes":1334},"dist/lib/neutral/keyboard-EJ65BVTC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4640},"dist/lib/neutral/keyboard-EJ65BVTC.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/keyboard","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/keyboard.ts","inputs":{"src/capabilities/keyboard.ts":{"bytesInOutput":1977}},"bytes":2130},"dist/lib/neutral/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-MDGKDQMZ.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-ZSWYB7JW.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-JOSNCOV4.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"}],"exports":["COMMANDS_DIALOG","KEY_BINDING","NavTreeCapabilities","NavTreeEvents","filterItems","getChildren","getParent","getPersistenceParent","l0ItemType","meta","resolveMigrationOperation","sortActions"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0}},"bytes":680},"dist/lib/neutral/chunk-MDGKDQMZ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2000},"dist/lib/neutral/chunk-MDGKDQMZ.mjs":{"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["COMMANDS_DIALOG","KEY_BINDING","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":1313}},"bytes":1426},"dist/lib/neutral/chunk-ZSWYB7JW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1421},"dist/lib/neutral/chunk-ZSWYB7JW.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["NavTreeCapabilities_exports","NavTreeEvents_exports"],"inputs":{"src/types/index.ts":{"bytesInOutput":0},"src/types/NavTreeCapabilities.ts":{"bytesInOutput":243},"src/types/NavTreeEvents.ts":{"bytesInOutput":262}},"bytes":736},"dist/lib/neutral/NavTreePlugin.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":17804},"dist/lib/neutral/NavTreePlugin.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"#translations","kind":"import-statement","external":true},{"path":"#types","kind":"import-statement","external":true}],"exports":["NavTreePlugin","default"],"entryPoint":"src/NavTreePlugin.tsx","inputs":{"src/NavTreePlugin.tsx":{"bytesInOutput":2151},"raw-loader:/__w/dxos/dxos/packages/plugins/plugin-navtree/PLUGIN.mdl?raw":{"bytesInOutput":12510}},"bytes":14928},"dist/lib/neutral/NavTreePlugin.node.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1030},"dist/lib/neutral/NavTreePlugin.node.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["NavTreePlugin","default"],"entryPoint":"src/NavTreePlugin.node.ts","inputs":{"src/NavTreePlugin.node.ts":{"bytesInOutput":430}},"bytes":608},"dist/lib/neutral/NavTreePlugin.workerd.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":862},"dist/lib/neutral/NavTreePlugin.workerd.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"#capabilities","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["NavTreePlugin","default"],"entryPoint":"src/NavTreePlugin.workerd.ts","inputs":{"src/NavTreePlugin.workerd.ts":{"bytesInOutput":354}},"bytes":541},"dist/lib/neutral/capabilities/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1193},"dist/lib/neutral/capabilities/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/neutral/app-graph-builder-Z347LKSF.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/keyboard-EJ65BVTC.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/operation-handler-ORDOJUL2.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/react-surface-Q5XMAG7Z.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/state-VVJEWUHM.mjs","kind":"dynamic-import"}],"exports":["AppGraphBuilder","Keyboard","OperationHandler","ReactSurface","State"],"entryPoint":"src/capabilities/index.ts","inputs":{"src/capabilities/index.ts":{"bytesInOutput":532}},"bytes":716},"dist/lib/neutral/components/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":57250},"dist/lib/neutral/components/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-JOSNCOV4.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"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/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#hooks","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/combine","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/adapter","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/preserve-offset-on-source","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/scroll-just-enough-into-view","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/lit-ui/react","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":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#hooks","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"react","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-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"#hooks","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"#hooks","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"react","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-menu","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"exports":["NAV_TREE_ITEM","NavTree","NavTreeContext","useNavTreeContext"],"entryPoint":"src/components/index.ts","inputs":{"src/components/NavTree/NavTree.tsx":{"bytesInOutput":3398},"src/components/NavTreeContext/NavTreeContext.tsx":{"bytesInOutput":250},"src/components/NavTreeContext/index.ts":{"bytesInOutput":0},"src/components/Sidebar/L0Menu.tsx":{"bytesInOutput":11281},"src/components/UserAccountAvatar/UserAccountAvatar.tsx":{"bytesInOutput":891},"src/components/UserAccountAvatar/index.ts":{"bytesInOutput":0},"src/components/Sidebar/index.ts":{"bytesInOutput":0},"src/components/Sidebar/L1Panel.tsx":{"bytesInOutput":6588},"src/components/NavTreeItem/NavTreeItemColumns.tsx":{"bytesInOutput":1885},"src/components/NavTreeItem/NavTreeItemAction.tsx":{"bytesInOutput":2867},"src/components/Sidebar/L1Tabs.tsx":{"bytesInOutput":490},"src/components/NavTree/index.ts":{"bytesInOutput":0},"src/components/index.ts":{"bytesInOutput":0}},"bytes":28392},"dist/lib/neutral/containers/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":972},"dist/lib/neutral/containers/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-5OPDKH6B.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-JOSNCOV4.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"dist/lib/neutral/CommandsDialogContent-UBGIQ5FI.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/CommandsTrigger-BH5WLMHK.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/NavTreeContainer-6AR4BFDD.mjs","kind":"dynamic-import"},{"path":"dist/lib/neutral/NavTreeDocumentTitle-H3E6ZLYE.mjs","kind":"dynamic-import"}],"exports":["CommandsDialogContent","CommandsTrigger","NODE_TYPE","NavTreeContainer","NavTreeDocumentTitle"],"entryPoint":"src/containers/index.ts","inputs":{"src/containers/index.ts":{"bytesInOutput":362}},"bytes":654},"dist/lib/neutral/chunk-5OPDKH6B.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":18900},"dist/lib/neutral/chunk-5OPDKH6B.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-JOSNCOV4.mjs","kind":"import-statement"},{"path":"@atlaskit/pragmatic-drag-and-drop-hitbox/tree-item","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/adapter","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-list","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"#components","kind":"import-statement","external":true},{"path":"#hooks","kind":"import-statement","external":true},{"path":"#meta","kind":"import-statement","external":true}],"exports":["NODE_TYPE","NavTreeContainer"],"inputs":{"src/containers/NavTreeContainer/NavTreeContainer.tsx":{"bytesInOutput":8780},"src/containers/NavTreeContainer/index.ts":{"bytesInOutput":0}},"bytes":9022},"dist/lib/neutral/hooks/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":14912},"dist/lib/neutral/hooks/index.mjs":{"imports":[{"path":"dist/lib/neutral/chunk-JOSNCOV4.mjs","kind":"import-statement"},{"path":"dist/lib/neutral/chunk-J5LGTIGS.mjs","kind":"import-statement"},{"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":"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":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Option","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-deck","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","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":"#types","kind":"import-statement","external":true}],"exports":["getListActions","useActions","useLoadDescendents","useNavTreeItemState","useNavTreeModel","useNavTreeState"],"entryPoint":"src/hooks/index.ts","inputs":{"src/hooks/useActions.ts":{"bytesInOutput":972},"src/hooks/index.ts":{"bytesInOutput":0},"src/hooks/useLoadDescendents.ts":{"bytesInOutput":367},"src/hooks/useNavTreeModel.ts":{"bytesInOutput":3847},"src/hooks/useNavTreeState.ts":{"bytesInOutput":577}},"bytes":6174},"dist/lib/neutral/chunk-JOSNCOV4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6007},"dist/lib/neutral/chunk-JOSNCOV4.mjs":{"imports":[{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["filterItems","getChildren","getParent","getPersistenceParent","l0ItemType","resolveMigrationOperation","sortActions"],"inputs":{"src/util.ts":{"bytesInOutput":2381}},"bytes":2577},"dist/lib/neutral/chunk-J5LGTIGS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/neutral/chunk-J5LGTIGS.mjs":{"imports":[],"exports":["__export"],"inputs":{},"bytes":235}}}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "./chunk-J5LGTIGS.mjs";
|
|
2
|
+
|
|
3
|
+
// src/capabilities/operation-handler.ts
|
|
4
|
+
import * as Effect from "effect/Effect";
|
|
5
|
+
import { Capabilities, Capability } from "@dxos/app-framework";
|
|
6
|
+
import { NavTreeOperationHandlerSet } from "#operations";
|
|
7
|
+
var operation_handler_default = Capability.makeModule(Effect.fnUntraced(function* () {
|
|
8
|
+
return Capability.contributes(Capabilities.OperationHandler, NavTreeOperationHandlerSet);
|
|
9
|
+
}));
|
|
10
|
+
export {
|
|
11
|
+
operation_handler_default as default
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=operation-handler-ORDOJUL2.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/operation-handler.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport type { OperationHandlerSet } from '@dxos/compute';\n\nimport { NavTreeOperationHandlerSet } from '#operations';\n\nexport default Capability.makeModule<OperationHandlerSet.OperationHandlerSet>(\n Effect.fnUntraced(function* () {\n return Capability.contributes(Capabilities.OperationHandler, NavTreeOperationHandlerSet);\n }),\n);\n"],
|
|
5
|
+
"mappings": ";;;AAIA,YAAYA,YAAY;AAExB,SAASC,cAAcC,kBAAkB;AAGzC,SAASC,kCAAkC;AAE3C,IAAA,4BAAeD,WAAWE,WACjBC,kBAAW,aAAA;AAChB,SAAOH,WAAWI,YAAYL,aAAaM,kBAAkBJ,0BAAAA;AAC/D,CAAA,CAAA;",
|
|
6
|
+
"names": ["Effect", "Capabilities", "Capability", "NavTreeOperationHandlerSet", "makeModule", "fnUntraced", "contributes", "OperationHandler"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import {
|
|
2
|
+
NavTreeOperationHandlerSet
|
|
3
|
+
} from "./chunk-T7QS2EFI.mjs";
|
|
4
|
+
import {
|
|
5
|
+
meta
|
|
6
|
+
} from "./chunk-MDGKDQMZ.mjs";
|
|
7
|
+
import "./chunk-J5LGTIGS.mjs";
|
|
8
|
+
|
|
9
|
+
// src/plugin.ts
|
|
10
|
+
import { Plugin } from "@dxos/app-framework";
|
|
11
|
+
var NavTreePlugin = Plugin.lazy(meta, () => import("#plugin"));
|
|
12
|
+
export {
|
|
13
|
+
NavTreeOperationHandlerSet,
|
|
14
|
+
NavTreePlugin
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=plugin.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/plugin.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Plugin } from '@dxos/app-framework';\n\nimport { meta } from './meta';\n\nexport const NavTreePlugin = Plugin.lazy(meta, () => import('#plugin'));\n\nexport { NavTreeOperationHandlerSet } from './operations';\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;AAIA,SAASA,cAAc;AAIhB,IAAMC,gBAAgBC,OAAOC,KAAKC,MAAM,MAAM,OAAO,SAAA,CAAA;",
|
|
6
|
+
"names": ["Plugin", "NavTreePlugin", "Plugin", "lazy", "meta"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import "./chunk-J5LGTIGS.mjs";
|
|
2
|
+
|
|
3
|
+
// src/capabilities/react-surface.tsx
|
|
4
|
+
import * as Effect from "effect/Effect";
|
|
5
|
+
import React from "react";
|
|
6
|
+
import { Capabilities, Capability } from "@dxos/app-framework";
|
|
7
|
+
import { Surface } from "@dxos/app-framework/ui";
|
|
8
|
+
import { AppSurface } from "@dxos/app-toolkit/ui";
|
|
9
|
+
import { Node } from "@dxos/plugin-graph";
|
|
10
|
+
import { CommandsDialogContent, CommandsTrigger, NavTreeContainer, NavTreeDocumentTitle } from "#containers";
|
|
11
|
+
import { COMMANDS_DIALOG } from "#meta";
|
|
12
|
+
var react_surface_default = Capability.makeModule(() => Effect.succeed(Capability.contributes(Capabilities.ReactSurface, [
|
|
13
|
+
Surface.create({
|
|
14
|
+
id: COMMANDS_DIALOG,
|
|
15
|
+
filter: AppSurface.component(AppSurface.Dialog, COMMANDS_DIALOG),
|
|
16
|
+
component: ({ data, ref }) => /* @__PURE__ */ React.createElement(CommandsDialogContent, {
|
|
17
|
+
...data.props,
|
|
18
|
+
ref
|
|
19
|
+
})
|
|
20
|
+
}),
|
|
21
|
+
Surface.create({
|
|
22
|
+
id: "navigation",
|
|
23
|
+
role: "navigation",
|
|
24
|
+
filter: (data) => typeof data.current === "string",
|
|
25
|
+
component: ({ data, ref }) => {
|
|
26
|
+
return /* @__PURE__ */ React.createElement(NavTreeContainer, {
|
|
27
|
+
tab: data.current,
|
|
28
|
+
popoverAnchorId: data.popoverAnchorId,
|
|
29
|
+
ref
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
}),
|
|
33
|
+
Surface.create({
|
|
34
|
+
id: "documentTitle",
|
|
35
|
+
role: "document-title",
|
|
36
|
+
component: ({ data }) => /* @__PURE__ */ React.createElement(NavTreeDocumentTitle, {
|
|
37
|
+
node: Node.isGraphNode(data.subject) ? data.subject : void 0
|
|
38
|
+
})
|
|
39
|
+
}),
|
|
40
|
+
Surface.create({
|
|
41
|
+
id: "searchInput",
|
|
42
|
+
role: "search-input",
|
|
43
|
+
position: "last",
|
|
44
|
+
component: () => /* @__PURE__ */ React.createElement(CommandsTrigger, null)
|
|
45
|
+
})
|
|
46
|
+
])));
|
|
47
|
+
export {
|
|
48
|
+
react_surface_default as default
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=react-surface-Q5XMAG7Z.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/react-surface.tsx"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport React, { type ComponentProps } from 'react';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { Surface } from '@dxos/app-framework/ui';\nimport { AppSurface } from '@dxos/app-toolkit/ui';\nimport { Node } from '@dxos/plugin-graph';\n\nimport { CommandsDialogContent, CommandsTrigger, NavTreeContainer, NavTreeDocumentTitle } from '#containers';\nimport { COMMANDS_DIALOG } from '#meta';\n\nexport default Capability.makeModule(() =>\n Effect.succeed(\n Capability.contributes(Capabilities.ReactSurface, [\n Surface.create({\n id: COMMANDS_DIALOG,\n filter: AppSurface.component<ComponentProps<typeof CommandsDialogContent>>(AppSurface.Dialog, COMMANDS_DIALOG),\n component: ({ data, ref }) => <CommandsDialogContent {...data.props} ref={ref} />,\n }),\n Surface.create({\n id: 'navigation',\n role: 'navigation',\n filter: (data): data is { popoverAnchorId?: string; current: string } => typeof data.current === 'string',\n component: ({ data, ref }) => {\n return (\n <NavTreeContainer\n tab={data.current}\n popoverAnchorId={data.popoverAnchorId as string | undefined}\n ref={ref}\n />\n );\n },\n }),\n Surface.create({\n id: 'documentTitle',\n role: 'document-title',\n component: ({ data }) => (\n <NavTreeDocumentTitle node={Node.isGraphNode(data.subject) ? data.subject : undefined} />\n ),\n }),\n Surface.create({\n id: 'searchInput',\n role: 'search-input',\n position: 'last',\n component: () => <CommandsTrigger />,\n }),\n ]),\n ),\n);\n"],
|
|
5
|
+
"mappings": ";;;AAIA,YAAYA,YAAY;AACxB,OAAOC,WAAoC;AAE3C,SAASC,cAAcC,kBAAkB;AACzC,SAASC,eAAe;AACxB,SAASC,kBAAkB;AAC3B,SAASC,YAAY;AAErB,SAASC,uBAAuBC,iBAAiBC,kBAAkBC,4BAA4B;AAC/F,SAASC,uBAAuB;AAEhC,IAAA,wBAAeR,WAAWS,WAAW,MAC5BC,eACLV,WAAWW,YAAYZ,aAAaa,cAAc;EAChDX,QAAQY,OAAO;IACbC,IAAIN;IACJO,QAAQb,WAAWc,UAAwDd,WAAWe,QAAQT,eAAAA;IAC9FQ,WAAW,CAAC,EAAEE,MAAMC,IAAG,MAAO,sBAAA,cAACf,uBAAAA;MAAuB,GAAGc,KAAKE;MAAOD;;EACvE,CAAA;EACAlB,QAAQY,OAAO;IACbC,IAAI;IACJO,MAAM;IACNN,QAAQ,CAACG,SAAgE,OAAOA,KAAKI,YAAY;IACjGN,WAAW,CAAC,EAAEE,MAAMC,IAAG,MAAE;AACvB,aACE,sBAAA,cAACb,kBAAAA;QACCiB,KAAKL,KAAKI;QACVE,iBAAiBN,KAAKM;QACtBL;;IAGN;EACF,CAAA;EACAlB,QAAQY,OAAO;IACbC,IAAI;IACJO,MAAM;IACNL,WAAW,CAAC,EAAEE,KAAI,MAChB,sBAAA,cAACX,sBAAAA;MAAqBkB,MAAMtB,KAAKuB,YAAYR,KAAKS,OAAO,IAAIT,KAAKS,UAAUC;;EAEhF,CAAA;EACA3B,QAAQY,OAAO;IACbC,IAAI;IACJO,MAAM;IACNQ,UAAU;IACVb,WAAW,MAAM,sBAAA,cAACX,iBAAAA,IAAAA;EACpB,CAAA;CACD,CAAA,CAAA;",
|
|
6
|
+
"names": ["Effect", "React", "Capabilities", "Capability", "Surface", "AppSurface", "Node", "CommandsDialogContent", "CommandsTrigger", "NavTreeContainer", "NavTreeDocumentTitle", "COMMANDS_DIALOG", "makeModule", "succeed", "contributes", "ReactSurface", "create", "id", "filter", "component", "Dialog", "data", "ref", "props", "role", "current", "tab", "popoverAnchorId", "node", "isGraphNode", "subject", "undefined", "position"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import "./chunk-J5LGTIGS.mjs";
|
|
2
|
+
|
|
3
|
+
// src/capabilities/state.ts
|
|
4
|
+
import { Atom } from "@effect-atom/atom-react";
|
|
5
|
+
import * as Effect from "effect/Effect";
|
|
6
|
+
import { Capabilities, Capability } from "@dxos/app-framework";
|
|
7
|
+
import { AppCapabilities } from "@dxos/app-toolkit";
|
|
8
|
+
import { Graph, Node } from "@dxos/plugin-graph";
|
|
9
|
+
import { Path } from "@dxos/react-ui-list";
|
|
10
|
+
import { meta } from "#meta";
|
|
11
|
+
import { NavTreeCapabilities } from "#types";
|
|
12
|
+
var KEY = `${meta.id}.state.v1`;
|
|
13
|
+
var defaultItemState = {
|
|
14
|
+
open: false,
|
|
15
|
+
current: false
|
|
16
|
+
};
|
|
17
|
+
var isTopLevelPath = (path) => path.length === 2 && path[0] === Node.RootId;
|
|
18
|
+
var defaultStateEntries = [
|
|
19
|
+
[
|
|
20
|
+
"root",
|
|
21
|
+
{
|
|
22
|
+
open: true,
|
|
23
|
+
current: false
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
];
|
|
27
|
+
var getInitialState = () => {
|
|
28
|
+
const stringified = localStorage.getItem(KEY);
|
|
29
|
+
if (!stringified) {
|
|
30
|
+
return new Map(defaultStateEntries);
|
|
31
|
+
}
|
|
32
|
+
try {
|
|
33
|
+
const cached = JSON.parse(stringified);
|
|
34
|
+
return new Map(cached.map(([key, value]) => [
|
|
35
|
+
key,
|
|
36
|
+
{
|
|
37
|
+
open: value.open,
|
|
38
|
+
current: false
|
|
39
|
+
}
|
|
40
|
+
]));
|
|
41
|
+
} catch {
|
|
42
|
+
return new Map(defaultStateEntries);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
var state_default = Capability.makeModule(Effect.fnUntraced(function* () {
|
|
46
|
+
const registry = yield* Capability.get(Capabilities.AtomRegistry);
|
|
47
|
+
const layoutAtom = yield* Capability.get(AppCapabilities.Layout);
|
|
48
|
+
const backingState = getInitialState();
|
|
49
|
+
const itemAtomFamily = Atom.family((pathString) => Atom.make(backingState.get(pathString) ?? {
|
|
50
|
+
...defaultItemState
|
|
51
|
+
}).pipe(Atom.keepAlive));
|
|
52
|
+
const getItemAtom = (path) => {
|
|
53
|
+
const pathString = Path.create(...path);
|
|
54
|
+
if (!backingState.has(pathString)) {
|
|
55
|
+
backingState.set(pathString, {
|
|
56
|
+
...defaultItemState
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
return itemAtomFamily(pathString);
|
|
60
|
+
};
|
|
61
|
+
const getItem = (path) => {
|
|
62
|
+
return registry.get(getItemAtom(path));
|
|
63
|
+
};
|
|
64
|
+
const setItem = (path, key, next) => {
|
|
65
|
+
const pathString = Path.create(...path);
|
|
66
|
+
const atom = itemAtomFamily(pathString);
|
|
67
|
+
const currentValue = registry.get(atom);
|
|
68
|
+
const newValue = {
|
|
69
|
+
...currentValue,
|
|
70
|
+
[key]: next
|
|
71
|
+
};
|
|
72
|
+
registry.set(atom, newValue);
|
|
73
|
+
if (!(key === "open" && isTopLevelPath(path))) {
|
|
74
|
+
backingState.set(pathString, newValue);
|
|
75
|
+
localStorage.setItem(KEY, JSON.stringify(Array.from(backingState.entries())));
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
let previous = [];
|
|
79
|
+
const unsubscribe = registry.subscribe(layoutAtom, (layout) => {
|
|
80
|
+
const removed = previous.filter((id) => !layout.active.includes(id));
|
|
81
|
+
previous = layout.active;
|
|
82
|
+
const handleUpdate = () => {
|
|
83
|
+
removed.forEach((id) => {
|
|
84
|
+
const keys = Array.from(backingState.keys()).filter((key) => Path.last(key) === id);
|
|
85
|
+
keys.forEach((key) => {
|
|
86
|
+
setItem(Path.parts(key), "current", false);
|
|
87
|
+
});
|
|
88
|
+
});
|
|
89
|
+
layout.active.forEach((id) => {
|
|
90
|
+
const keys = Array.from(/* @__PURE__ */ new Set([
|
|
91
|
+
...backingState.keys(),
|
|
92
|
+
id
|
|
93
|
+
])).filter((key) => Path.last(key) === id);
|
|
94
|
+
keys.forEach((key) => {
|
|
95
|
+
setItem(Path.parts(key), "current", true);
|
|
96
|
+
});
|
|
97
|
+
});
|
|
98
|
+
};
|
|
99
|
+
const timeout = setTimeout(handleUpdate, 500);
|
|
100
|
+
return () => clearTimeout(timeout);
|
|
101
|
+
});
|
|
102
|
+
yield* Effect.gen(function* () {
|
|
103
|
+
const { graph } = yield* Capability.waitFor(AppCapabilities.AppGraph);
|
|
104
|
+
const layout = registry.get(layoutAtom);
|
|
105
|
+
if (layout.workspace) {
|
|
106
|
+
Graph.expand(graph, layout.workspace, "child");
|
|
107
|
+
}
|
|
108
|
+
const openPaths = Array.from(backingState.entries()).filter(([, state]) => state.open).map(([pathString]) => Path.parts(pathString)).filter((path) => !isTopLevelPath(path));
|
|
109
|
+
for (const path of openPaths) {
|
|
110
|
+
const nodeId = path[path.length - 1];
|
|
111
|
+
if (!nodeId) {
|
|
112
|
+
continue;
|
|
113
|
+
}
|
|
114
|
+
Graph.expand(graph, nodeId, "child");
|
|
115
|
+
}
|
|
116
|
+
}).pipe(Effect.forkDaemon);
|
|
117
|
+
return Capability.contributes(NavTreeCapabilities.State, {
|
|
118
|
+
getItem,
|
|
119
|
+
getItemAtom,
|
|
120
|
+
setItem
|
|
121
|
+
}, () => Effect.sync(() => unsubscribe()));
|
|
122
|
+
}));
|
|
123
|
+
export {
|
|
124
|
+
state_default as default
|
|
125
|
+
};
|
|
126
|
+
//# sourceMappingURL=state-VVJEWUHM.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/capabilities/state.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Atom } from '@effect-atom/atom-react';\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { AppCapabilities } from '@dxos/app-toolkit';\nimport { Graph, Node } from '@dxos/plugin-graph';\nimport { Path } from '@dxos/react-ui-list';\n\nimport { meta } from '#meta';\nimport { NavTreeCapabilities } from '#types';\n\nconst KEY = `${meta.id}.state.v1`;\n\n/** Default item state for new entries. */\nconst defaultItemState: NavTreeCapabilities.NavTreeItemState = { open: false, current: false };\n\n/** L0 (top-level workspace) paths are direct children of root — not part of the expandable tree model. */\nconst isTopLevelPath = (path: string[]): boolean => path.length === 2 && path[0] === Node.RootId;\n\n/** Default state entries for initial tree structure. */\n// TODO(thure): Initialize these dynamically.\nconst defaultStateEntries: [string, NavTreeCapabilities.NavTreeItemState][] = [\n ['root', { open: true, current: false }],\n];\n\nconst getInitialState = (): Map<string, NavTreeCapabilities.NavTreeItemState> => {\n const stringified = localStorage.getItem(KEY);\n if (!stringified) {\n return new Map(defaultStateEntries);\n }\n\n try {\n const cached: [string, { open: boolean; current: boolean }][] = JSON.parse(stringified);\n return new Map(cached.map(([key, value]) => [key, { open: value.open, current: false }]));\n } catch {\n return new Map(defaultStateEntries);\n }\n};\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* () {\n const registry = yield* Capability.get(Capabilities.AtomRegistry);\n const layoutAtom = yield* Capability.get(AppCapabilities.Layout);\n\n // Backing state for persistence (not reactive).\n const backingState = getInitialState();\n\n // Per-path atom family for fine-grained reactivity.\n // keepAlive prevents atoms from being garbage collected when components unmount,\n // ensuring state is preserved across deletion/restoration cycles.\n const itemAtomFamily = Atom.family((pathString: string) =>\n Atom.make<NavTreeCapabilities.NavTreeItemState>(backingState.get(pathString) ?? { ...defaultItemState }).pipe(\n Atom.keepAlive,\n ),\n );\n\n const getItemAtom = (path: string[]): Atom.Atom<NavTreeCapabilities.NavTreeItemState> => {\n const pathString = Path.create(...path);\n if (!backingState.has(pathString)) {\n backingState.set(pathString, { ...defaultItemState });\n }\n return itemAtomFamily(pathString);\n };\n\n const getItem = (path: string[]): NavTreeCapabilities.NavTreeItemState => {\n return registry.get(getItemAtom(path));\n };\n\n const setItem = (path: string[], key: 'open' | 'current', next: boolean) => {\n const pathString = Path.create(...path);\n const atom = itemAtomFamily(pathString);\n const currentValue = registry.get(atom);\n const newValue = { ...currentValue, [key]: next };\n\n registry.set(atom, newValue);\n\n if (!(key === 'open' && isTopLevelPath(path))) {\n backingState.set(pathString, newValue);\n localStorage.setItem(KEY, JSON.stringify(Array.from(backingState.entries())));\n }\n };\n\n // Subscribe to layout changes to update current state.\n let previous: string[] = [];\n const unsubscribe = registry.subscribe(layoutAtom, (layout) => {\n const removed = previous.filter((id) => !layout.active.includes(id));\n previous = layout.active;\n\n const handleUpdate = () => {\n // Mark removed items as not current.\n removed.forEach((id) => {\n const keys = Array.from(backingState.keys()).filter((key) => Path.last(key) === id);\n keys.forEach((key) => {\n setItem(Path.parts(key), 'current', false);\n });\n });\n\n // Mark active items as current.\n layout.active.forEach((id: string) => {\n const keys = Array.from(new Set([...backingState.keys(), id])).filter((key) => Path.last(key) === id);\n keys.forEach((key) => {\n setItem(Path.parts(key), 'current', true);\n });\n });\n };\n\n // TODO(wittjosiah): This is setTimeout because there's a race between the keys being initialized.\n // Keys are initialized on the first render of an item in the navtree.\n // This could be avoided if the location was a path as well and not just an id.\n // Defer so item path atoms exist and we do not setState during tree render.\n const timeout = setTimeout(handleUpdate, 500);\n return () => clearTimeout(timeout);\n });\n\n // Once graph is ready, expand every node marked open in state so the graph has children loaded for rendering.\n yield* Effect.gen(function* () {\n const { graph } = yield* Capability.waitFor(AppCapabilities.AppGraph);\n\n // Always expand the active workspace so its subtree is initialized.\n const layout = registry.get(layoutAtom);\n if (layout.workspace) {\n Graph.expand(graph, layout.workspace, 'child');\n }\n\n // Expand persisted open nodes, skipping inactive workspace tabs.\n const openPaths = Array.from(backingState.entries())\n .filter(([, state]) => state.open)\n .map(([pathString]) => Path.parts(pathString))\n .filter((path) => !isTopLevelPath(path));\n for (const path of openPaths) {\n const nodeId = path[path.length - 1];\n if (!nodeId) {\n continue;\n }\n Graph.expand(graph, nodeId, 'child');\n }\n }).pipe(Effect.forkDaemon);\n\n return Capability.contributes(\n NavTreeCapabilities.State,\n {\n getItem,\n getItemAtom,\n setItem,\n },\n () => Effect.sync(() => unsubscribe()),\n );\n }),\n);\n"],
|
|
5
|
+
"mappings": ";;;AAIA,SAASA,YAAY;AACrB,YAAYC,YAAY;AAExB,SAASC,cAAcC,kBAAkB;AACzC,SAASC,uBAAuB;AAChC,SAASC,OAAOC,YAAY;AAC5B,SAASC,YAAY;AAErB,SAASC,YAAY;AACrB,SAASC,2BAA2B;AAEpC,IAAMC,MAAM,GAAGF,KAAKG,EAAE;AAGtB,IAAMC,mBAAyD;EAAEC,MAAM;EAAOC,SAAS;AAAM;AAG7F,IAAMC,iBAAiB,CAACC,SAA4BA,KAAKC,WAAW,KAAKD,KAAK,CAAA,MAAOV,KAAKY;AAI1F,IAAMC,sBAAwE;EAC5E;IAAC;IAAQ;MAAEN,MAAM;MAAMC,SAAS;IAAM;;;AAGxC,IAAMM,kBAAkB,MAAA;AACtB,QAAMC,cAAcC,aAAaC,QAAQb,GAAAA;AACzC,MAAI,CAACW,aAAa;AAChB,WAAO,IAAIG,IAAIL,mBAAAA;EACjB;AAEA,MAAI;AACF,UAAMM,SAA0DC,KAAKC,MAAMN,WAAAA;AAC3E,WAAO,IAAIG,IAAIC,OAAOG,IAAI,CAAC,CAACC,KAAKC,KAAAA,MAAW;MAACD;MAAK;QAAEhB,MAAMiB,MAAMjB;QAAMC,SAAS;MAAM;KAAE,CAAA;EACzF,QAAQ;AACN,WAAO,IAAIU,IAAIL,mBAAAA;EACjB;AACF;AAEA,IAAA,gBAAehB,WAAW4B,WACjBC,kBAAW,aAAA;AAChB,QAAMC,WAAW,OAAO9B,WAAW+B,IAAIhC,aAAaiC,YAAY;AAChE,QAAMC,aAAa,OAAOjC,WAAW+B,IAAI9B,gBAAgBiC,MAAM;AAG/D,QAAMC,eAAelB,gBAAAA;AAKrB,QAAMmB,iBAAiBvC,KAAKwC,OAAO,CAACC,eAClCzC,KAAK0C,KAA2CJ,aAAaJ,IAAIO,UAAAA,KAAe;IAAE,GAAG7B;EAAiB,CAAA,EAAG+B,KACvG3C,KAAK4C,SAAS,CAAA;AAIlB,QAAMC,cAAc,CAAC7B,SAAAA;AACnB,UAAMyB,aAAalC,KAAKuC,OAAM,GAAI9B,IAAAA;AAClC,QAAI,CAACsB,aAAaS,IAAIN,UAAAA,GAAa;AACjCH,mBAAaU,IAAIP,YAAY;QAAE,GAAG7B;MAAiB,CAAA;IACrD;AACA,WAAO2B,eAAeE,UAAAA;EACxB;AAEA,QAAMlB,UAAU,CAACP,SAAAA;AACf,WAAOiB,SAASC,IAAIW,YAAY7B,IAAAA,CAAAA;EAClC;AAEA,QAAMiC,UAAU,CAACjC,MAAgBa,KAAyBqB,SAAAA;AACxD,UAAMT,aAAalC,KAAKuC,OAAM,GAAI9B,IAAAA;AAClC,UAAMmC,OAAOZ,eAAeE,UAAAA;AAC5B,UAAMW,eAAenB,SAASC,IAAIiB,IAAAA;AAClC,UAAME,WAAW;MAAE,GAAGD;MAAc,CAACvB,GAAAA,GAAMqB;IAAK;AAEhDjB,aAASe,IAAIG,MAAME,QAAAA;AAEnB,QAAI,EAAExB,QAAQ,UAAUd,eAAeC,IAAAA,IAAQ;AAC7CsB,mBAAaU,IAAIP,YAAYY,QAAAA;AAC7B/B,mBAAa2B,QAAQvC,KAAKgB,KAAK4B,UAAUC,MAAMC,KAAKlB,aAAamB,QAAO,CAAA,CAAA,CAAA;IAC1E;EACF;AAGA,MAAIC,WAAqB,CAAA;AACzB,QAAMC,cAAc1B,SAAS2B,UAAUxB,YAAY,CAACyB,WAAAA;AAClD,UAAMC,UAAUJ,SAASK,OAAO,CAACpD,OAAO,CAACkD,OAAOG,OAAOC,SAAStD,EAAAA,CAAAA;AAChE+C,eAAWG,OAAOG;AAElB,UAAME,eAAe,MAAA;AAEnBJ,cAAQK,QAAQ,CAACxD,OAAAA;AACf,cAAMyD,OAAOb,MAAMC,KAAKlB,aAAa8B,KAAI,CAAA,EAAIL,OAAO,CAAClC,QAAQtB,KAAK8D,KAAKxC,GAAAA,MAASlB,EAAAA;AAChFyD,aAAKD,QAAQ,CAACtC,QAAAA;AACZoB,kBAAQ1C,KAAK+D,MAAMzC,GAAAA,GAAM,WAAW,KAAA;QACtC,CAAA;MACF,CAAA;AAGAgC,aAAOG,OAAOG,QAAQ,CAACxD,OAAAA;AACrB,cAAMyD,OAAOb,MAAMC,KAAK,oBAAIe,IAAI;aAAIjC,aAAa8B,KAAI;UAAIzD;SAAG,CAAA,EAAGoD,OAAO,CAAClC,QAAQtB,KAAK8D,KAAKxC,GAAAA,MAASlB,EAAAA;AAClGyD,aAAKD,QAAQ,CAACtC,QAAAA;AACZoB,kBAAQ1C,KAAK+D,MAAMzC,GAAAA,GAAM,WAAW,IAAA;QACtC,CAAA;MACF,CAAA;IACF;AAMA,UAAM2C,UAAUC,WAAWP,cAAc,GAAA;AACzC,WAAO,MAAMQ,aAAaF,OAAAA;EAC5B,CAAA;AAGA,SAAcG,WAAI,aAAA;AAChB,UAAM,EAAEC,MAAK,IAAK,OAAOzE,WAAW0E,QAAQzE,gBAAgB0E,QAAQ;AAGpE,UAAMjB,SAAS5B,SAASC,IAAIE,UAAAA;AAC5B,QAAIyB,OAAOkB,WAAW;AACpB1E,YAAM2E,OAAOJ,OAAOf,OAAOkB,WAAW,OAAA;IACxC;AAGA,UAAME,YAAY1B,MAAMC,KAAKlB,aAAamB,QAAO,CAAA,EAC9CM,OAAO,CAAC,CAAA,EAAGmB,KAAAA,MAAWA,MAAMrE,IAAI,EAChCe,IAAI,CAAC,CAACa,UAAAA,MAAgBlC,KAAK+D,MAAM7B,UAAAA,CAAAA,EACjCsB,OAAO,CAAC/C,SAAS,CAACD,eAAeC,IAAAA,CAAAA;AACpC,eAAWA,QAAQiE,WAAW;AAC5B,YAAME,SAASnE,KAAKA,KAAKC,SAAS,CAAA;AAClC,UAAI,CAACkE,QAAQ;AACX;MACF;AACA9E,YAAM2E,OAAOJ,OAAOO,QAAQ,OAAA;IAC9B;EACF,CAAA,EAAGxC,KAAYyC,iBAAU;AAEzB,SAAOjF,WAAWkF,YAChB5E,oBAAoB6E,OACpB;IACE/D;IACAsB;IACAI;EACF,GACA,MAAasC,YAAK,MAAM5B,YAAAA,CAAAA,CAAAA;AAE5B,CAAA,CAAA;",
|
|
6
|
+
"names": ["Atom", "Effect", "Capabilities", "Capability", "AppCapabilities", "Graph", "Node", "Path", "meta", "NavTreeCapabilities", "KEY", "id", "defaultItemState", "open", "current", "isTopLevelPath", "path", "length", "RootId", "defaultStateEntries", "getInitialState", "stringified", "localStorage", "getItem", "Map", "cached", "JSON", "parse", "map", "key", "value", "makeModule", "fnUntraced", "registry", "get", "AtomRegistry", "layoutAtom", "Layout", "backingState", "itemAtomFamily", "family", "pathString", "make", "pipe", "keepAlive", "getItemAtom", "create", "has", "set", "setItem", "next", "atom", "currentValue", "newValue", "stringify", "Array", "from", "entries", "previous", "unsubscribe", "subscribe", "layout", "removed", "filter", "active", "includes", "handleUpdate", "forEach", "keys", "last", "parts", "Set", "timeout", "setTimeout", "clearTimeout", "gen", "graph", "waitFor", "AppGraph", "workspace", "expand", "openPaths", "state", "nodeId", "forkDaemon", "contributes", "State", "sync"]
|
|
7
|
+
}
|