@dxos/plugin-navtree 0.8.4-main.e098934 → 0.8.4-main.ead640a
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/{app-graph-builder-6JDBQ25U.mjs → app-graph-builder-YAPMENYT.mjs} +10 -9
- package/dist/lib/browser/app-graph-builder-YAPMENYT.mjs.map +7 -0
- package/dist/lib/browser/{chunk-ZKVY35IG.mjs → chunk-IMFXKPSB.mjs} +115 -102
- package/dist/lib/browser/chunk-IMFXKPSB.mjs.map +7 -0
- package/dist/lib/browser/{chunk-WCARAZ7J.mjs → chunk-LPAREX6J.mjs} +4 -4
- package/dist/lib/browser/chunk-LPAREX6J.mjs.map +7 -0
- package/dist/lib/browser/chunk-ZENLR72O.mjs +14 -0
- package/dist/lib/browser/chunk-ZENLR72O.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +5 -7
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/{intent-resolver-N35ZIHFD.mjs → intent-resolver-TCQXGF6U.mjs} +6 -6
- package/dist/lib/browser/intent-resolver-TCQXGF6U.mjs.map +7 -0
- package/dist/lib/browser/{keyboard-HMTMA33N.mjs → keyboard-AHSAWKXA.mjs} +4 -4
- package/dist/lib/browser/{keyboard-HMTMA33N.mjs.map → keyboard-AHSAWKXA.mjs.map} +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-5PZ4XJT7.mjs → react-surface-AH2TP73M.mjs} +10 -10
- package/dist/lib/browser/react-surface-AH2TP73M.mjs.map +7 -0
- package/dist/lib/browser/{state-P5DGL7KS.mjs → state-2Q623V7U.mjs} +7 -7
- package/dist/lib/browser/state-2Q623V7U.mjs.map +7 -0
- package/dist/types/src/NavTreePlugin.d.ts +1 -1
- package/dist/types/src/NavTreePlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/capabilities.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +12 -9
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/state.d.ts.map +1 -1
- package/dist/types/src/components/NavTree/NavTree.d.ts.map +1 -1
- package/dist/types/src/components/NavTree/NavTree.stories.d.ts +1 -2
- package/dist/types/src/components/NavTree/NavTree.stories.d.ts.map +1 -1
- package/dist/types/src/components/NavTreeContainer.d.ts.map +1 -1
- package/dist/types/src/components/NavTreeItem/NavTreeItemAction.d.ts.map +1 -1
- package/dist/types/src/components/NavTreeItem/NavTreeItemAction.stories.d.ts +1 -2
- 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 +2 -0
- package/dist/types/src/components/Sidebar/L0Menu.d.ts.map +1 -1
- package/dist/types/src/components/Sidebar/L1Panel.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 +1 -2
- package/dist/types/src/components/UserAccountAvatar/UserAccountAvatar.stories.d.ts.map +1 -1
- package/dist/types/src/events.d.ts.map +1 -1
- package/dist/types/src/experimental/Tree.d.ts +1 -2
- package/dist/types/src/experimental/Tree.d.ts.map +1 -1
- package/dist/types/src/experimental/Tree.stories.d.ts +2 -3
- package/dist/types/src/experimental/Tree.stories.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/testing/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/testing/generator.d.ts +1 -1
- package/dist/types/src/testing/generator.d.ts.map +1 -1
- package/dist/types/src/types.d.ts +4 -3
- package/dist/types/src/types.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +47 -47
- package/src/NavTreePlugin.tsx +70 -71
- package/src/capabilities/app-graph-builder.ts +6 -5
- package/src/capabilities/capabilities.ts +2 -2
- package/src/capabilities/intent-resolver.ts +1 -1
- package/src/capabilities/react-surface.tsx +4 -4
- package/src/capabilities/state.ts +2 -2
- package/src/components/CommandsDialog/CommandsDialog.tsx +3 -3
- package/src/components/CommandsDialog/CommandsTrigger.tsx +2 -2
- package/src/components/NavTree/NavTree.stories.tsx +61 -47
- package/src/components/NavTree/NavTree.tsx +4 -0
- package/src/components/NavTreeContainer.tsx +13 -6
- package/src/components/NavTreeDocumentTitle.tsx +2 -2
- package/src/components/NavTreeItem/NavTreeItemAction.stories.tsx +2 -4
- package/src/components/NavTreeItem/NavTreeItemAction.tsx +5 -4
- package/src/components/NavTreeItem/NavTreeItemColumns.tsx +27 -21
- package/src/components/Sidebar/L0Menu.tsx +50 -49
- package/src/components/Sidebar/L1Panel.tsx +7 -8
- package/src/components/UserAccountAvatar/UserAccountAvatar.stories.tsx +3 -4
- package/src/components/UserAccountAvatar/UserAccountAvatar.tsx +20 -12
- package/src/events.ts +2 -2
- package/src/experimental/Tree.stories.tsx +24 -28
- package/src/experimental/Tree.tsx +5 -22
- package/src/meta.ts +5 -7
- package/src/testing/app-graph-builder.ts +9 -8
- package/src/testing/generator.ts +2 -2
- package/src/types.ts +4 -3
- 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-WCARAZ7J.mjs.map +0 -7
- package/dist/lib/browser/chunk-ZKVY35IG.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-N35ZIHFD.mjs.map +0 -7
- package/dist/lib/browser/react-surface-5PZ4XJT7.mjs.map +0 -7
- package/dist/lib/browser/state-P5DGL7KS.mjs.map +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/meta.ts":{"bytes":1521,"imports":[],"format":"esm"},"src/capabilities/capabilities.ts":{"bytes":2100,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/app-graph-builder.ts":{"bytes":6324,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/intent-resolver.ts":{"bytes":5179,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/keyboard.ts":{"bytes":7660,"imports":[{"path":"@dxos/app-framework","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":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/components/CommandsDialog/CommandsDialog.tsx":{"bytes":17728,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/keyboard","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-searchlist","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/CommandsDialog/CommandsTrigger.tsx":{"bytes":4164,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/CommandsDialog/index.ts":{"bytes":609,"imports":[{"path":"src/components/CommandsDialog/CommandsDialog.tsx","kind":"import-statement","original":"./CommandsDialog"},{"path":"src/components/CommandsDialog/CommandsTrigger.tsx","kind":"import-statement","original":"./CommandsTrigger"}],"format":"esm"},"src/hooks.ts":{"bytes":1931,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"./components"}],"format":"esm"},"src/components/NavTreeContext.tsx":{"bytes":1463,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}],"format":"esm"},"src/util.ts":{"bytes":10042,"imports":[{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/components/UserAccountAvatar/UserAccountAvatar.tsx":{"bytes":3374,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/components/UserAccountAvatar/index.ts":{"bytes":512,"imports":[{"path":"src/components/UserAccountAvatar/UserAccountAvatar.tsx","kind":"import-statement","original":"./UserAccountAvatar"}],"format":"esm"},"src/components/Sidebar/L0Menu.tsx":{"bytes":50652,"imports":[{"path":"@preact-signals/safe-react/tracking","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":"@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/hooks.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/util.ts","kind":"import-statement","original":"../../util"},{"path":"src/components/NavTreeContext.tsx","kind":"import-statement","original":"../NavTreeContext"},{"path":"src/components/UserAccountAvatar/index.ts","kind":"import-statement","original":"../UserAccountAvatar"}],"format":"esm"},"src/components/NavTreeItem/NavTreeItemAction.tsx":{"bytes":12037,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/NavTreeItem/NavTreeItemColumns.tsx":{"bytes":10880,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/hooks.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/components/NavTree/index.ts","kind":"import-statement","original":"../NavTree"},{"path":"src/components/NavTreeContext.tsx","kind":"import-statement","original":"../NavTreeContext"},{"path":"src/components/NavTreeItem/NavTreeItemAction.tsx","kind":"import-statement","original":"./NavTreeItemAction"}],"format":"esm"},"src/components/NavTreeItem/index.ts":{"bytes":620,"imports":[{"path":"src/components/NavTreeItem/NavTreeItemAction.tsx","kind":"import-statement","original":"./NavTreeItemAction"},{"path":"src/components/NavTreeItem/NavTreeItemColumns.tsx","kind":"import-statement","original":"./NavTreeItemColumns"}],"format":"esm"},"src/components/Sidebar/L1Panel.tsx":{"bytes":19262,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/components/NavTreeContext.tsx","kind":"import-statement","original":"../NavTreeContext"},{"path":"src/components/NavTreeItem/index.ts","kind":"import-statement","original":"../NavTreeItem"}],"format":"esm"},"src/components/Sidebar/L1Tabs.tsx":{"bytes":5994,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"src/hooks.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/util.ts","kind":"import-statement","original":"../../util"},{"path":"src/components/NavTreeContext.tsx","kind":"import-statement","original":"../NavTreeContext"},{"path":"src/components/Sidebar/L1Panel.tsx","kind":"import-statement","original":"./L1Panel"}],"format":"esm"},"src/components/Sidebar/index.ts":{"bytes":644,"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":8093,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"src/hooks.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/components/NavTreeContext.tsx","kind":"import-statement","original":"../NavTreeContext"},{"path":"src/components/Sidebar/index.ts","kind":"import-statement","original":"../Sidebar"}],"format":"esm"},"src/components/NavTree/index.ts":{"bytes":476,"imports":[{"path":"src/components/NavTree/NavTree.tsx","kind":"import-statement","original":"./NavTree"}],"format":"esm"},"src/components/NavTreeContainer.tsx":{"bytes":43570,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/adapter","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop-hitbox/tree-item","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","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-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/util.ts","kind":"import-statement","original":"../util"},{"path":"src/components/NavTree/index.ts","kind":"import-statement","original":"./NavTree"},{"path":"src/components/NavTreeContext.tsx","kind":"import-statement","original":"./NavTreeContext"}],"format":"esm"},"src/components/NavTreeDocumentTitle.tsx":{"bytes":2226,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/components/index.ts":{"bytes":948,"imports":[{"path":"src/components/CommandsDialog/index.ts","kind":"import-statement","original":"./CommandsDialog"},{"path":"src/components/NavTree/index.ts","kind":"import-statement","original":"./NavTree"},{"path":"src/components/NavTreeContainer.tsx","kind":"import-statement","original":"./NavTreeContainer"},{"path":"src/components/NavTreeContext.tsx","kind":"import-statement","original":"./NavTreeContext"},{"path":"src/components/NavTreeDocumentTitle.tsx","kind":"import-statement","original":"./NavTreeDocumentTitle"}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":5747,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/state.ts":{"bytes":13346,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":1815,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"src/capabilities/keyboard.ts","kind":"dynamic-import","original":"./keyboard"},{"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/events.ts":{"bytes":1146,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/translations.ts":{"bytes":2272,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/NavTreePlugin.tsx":{"bytes":12086,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/events.ts","kind":"import-statement","original":"./events"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"src/index.ts":{"bytes":983,"imports":[{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/events.ts","kind":"import-statement","original":"./events"},{"path":"src/NavTreePlugin.tsx","kind":"import-statement","original":"./NavTreePlugin"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":7254},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-ZKVY35IG.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WCARAZ7J.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-ERDGQTH5.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["COMMANDS_DIALOG","KEY_BINDING","NAVTREE_PLUGIN","NavTreeCapabilities","NavTreeEvents","NavTreePlugin","getChildren","getParent","getPersistenceParent","l0ItemType","meta","resolveMigrationOperation","sortActions"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/events.ts":{"bytesInOutput":207},"src/NavTreePlugin.tsx":{"bytesInOutput":2457},"src/translations.ts":{"bytesInOutput":516}},"bytes":3944},"dist/lib/browser/app-graph-builder-6JDBQ25U.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3195},"dist/lib/browser/app-graph-builder-6JDBQ25U.mjs":{"imports":[{"path":"dist/lib/browser/chunk-ERDGQTH5.mjs","kind":"import-statement"},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder.ts":{"bytesInOutput":1220}},"bytes":1445},"dist/lib/browser/intent-resolver-N35ZIHFD.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2661},"dist/lib/browser/intent-resolver-N35ZIHFD.mjs":{"imports":[{"path":"dist/lib/browser/chunk-WCARAZ7J.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-ERDGQTH5.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/intent-resolver.ts","inputs":{"src/capabilities/intent-resolver.ts":{"bytesInOutput":1220}},"bytes":1456},"dist/lib/browser/keyboard-HMTMA33N.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3967},"dist/lib/browser/keyboard-HMTMA33N.mjs":{"imports":[{"path":"dist/lib/browser/chunk-ERDGQTH5.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","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}],"exports":["default"],"entryPoint":"src/capabilities/keyboard.ts","inputs":{"src/capabilities/keyboard.ts":{"bytesInOutput":1588}},"bytes":1764},"dist/lib/browser/react-surface-5PZ4XJT7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2882},"dist/lib/browser/react-surface-5PZ4XJT7.mjs":{"imports":[{"path":"dist/lib/browser/chunk-ZKVY35IG.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-WCARAZ7J.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-ERDGQTH5.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":1246}},"bytes":1618},"dist/lib/browser/chunk-ZKVY35IG.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":96590},"dist/lib/browser/chunk-ZKVY35IG.mjs":{"imports":[{"path":"dist/lib/browser/chunk-WCARAZ7J.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-ERDGQTH5.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/keyboard","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-searchlist","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/adapter","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop-hitbox/tree-item","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","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-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/app-graph-builder-6JDBQ25U.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/intent-resolver-N35ZIHFD.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/keyboard-HMTMA33N.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-surface-5PZ4XJT7.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/state-P5DGL7KS.mjs","kind":"dynamic-import"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@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":"@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"exports":["AppGraphBuilder","CommandsDialogContent","CommandsTrigger","IntentResolver","Keyboard","NODE_TYPE","NavTreeContainer","NavTreeDocumentTitle","ReactSurface","State","getChildren","getParent","getPersistenceParent","l0ItemType","resolveMigrationOperation","sortActions"],"inputs":{"src/components/CommandsDialog/CommandsDialog.tsx":{"bytesInOutput":4596},"src/components/CommandsDialog/CommandsTrigger.tsx":{"bytesInOutput":1159},"src/util.ts":{"bytesInOutput":2177},"src/components/NavTreeContainer.tsx":{"bytesInOutput":10983},"src/capabilities/index.ts":{"bytesInOutput":387},"src/components/NavTree/NavTree.tsx":{"bytesInOutput":2079},"src/hooks.ts":{"bytesInOutput":349},"src/components/CommandsDialog/index.ts":{"bytesInOutput":0},"src/components/index.ts":{"bytesInOutput":0},"src/components/NavTreeContext.tsx":{"bytesInOutput":250},"src/components/NavTreeDocumentTitle.tsx":{"bytesInOutput":441},"src/components/Sidebar/L0Menu.tsx":{"bytesInOutput":14382},"src/components/UserAccountAvatar/UserAccountAvatar.tsx":{"bytesInOutput":876},"src/components/UserAccountAvatar/index.ts":{"bytesInOutput":0},"src/components/Sidebar/index.ts":{"bytesInOutput":0},"src/components/Sidebar/L1Panel.tsx":{"bytesInOutput":5373},"src/components/NavTreeItem/NavTreeItemAction.tsx":{"bytesInOutput":3349},"src/components/NavTreeItem/index.ts":{"bytesInOutput":0},"src/components/NavTreeItem/NavTreeItemColumns.tsx":{"bytesInOutput":2855},"src/components/Sidebar/L1Tabs.tsx":{"bytesInOutput":1513},"src/components/NavTree/index.ts":{"bytesInOutput":0}},"bytes":52069},"dist/lib/browser/state-P5DGL7KS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6905},"dist/lib/browser/state-P5DGL7KS.mjs":{"imports":[{"path":"dist/lib/browser/chunk-WCARAZ7J.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-ERDGQTH5.mjs","kind":"import-statement"},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/state.ts","inputs":{"src/capabilities/state.ts":{"bytesInOutput":2786}},"bytes":3018},"dist/lib/browser/chunk-WCARAZ7J.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1233},"dist/lib/browser/chunk-WCARAZ7J.mjs":{"imports":[{"path":"dist/lib/browser/chunk-ERDGQTH5.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["NavTreeCapabilities"],"inputs":{"src/capabilities/capabilities.ts":{"bytesInOutput":257}},"bytes":430},"dist/lib/browser/chunk-ERDGQTH5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":721},"dist/lib/browser/chunk-ERDGQTH5.mjs":{"imports":[],"exports":["COMMANDS_DIALOG","KEY_BINDING","NAVTREE_PLUGIN","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":194}},"bytes":325}}}
|
|
1
|
+
{"inputs":{"src/meta.ts":{"bytes":1340,"imports":[],"format":"esm"},"src/capabilities/capabilities.ts":{"bytes":2067,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/app-graph-builder.ts":{"bytes":6460,"imports":[{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/intent-resolver.ts":{"bytes":5195,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/keyboard.ts":{"bytes":7660,"imports":[{"path":"@dxos/app-framework","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":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/components/CommandsDialog/CommandsDialog.tsx":{"bytes":17692,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/keyboard","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-searchlist","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/CommandsDialog/CommandsTrigger.tsx":{"bytes":4131,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/CommandsDialog/index.ts":{"bytes":609,"imports":[{"path":"src/components/CommandsDialog/CommandsDialog.tsx","kind":"import-statement","original":"./CommandsDialog"},{"path":"src/components/CommandsDialog/CommandsTrigger.tsx","kind":"import-statement","original":"./CommandsTrigger"}],"format":"esm"},"src/hooks.ts":{"bytes":1931,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"./components"}],"format":"esm"},"src/components/NavTreeContext.tsx":{"bytes":1463,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}],"format":"esm"},"src/util.ts":{"bytes":10042,"imports":[{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/components/UserAccountAvatar/UserAccountAvatar.tsx":{"bytes":4083,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/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":512,"imports":[{"path":"src/components/UserAccountAvatar/UserAccountAvatar.tsx","kind":"import-statement","original":"./UserAccountAvatar"}],"format":"esm"},"src/components/Sidebar/L0Menu.tsx":{"bytes":49927,"imports":[{"path":"@preact-signals/safe-react/tracking","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":"@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/lit-ui/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/hooks.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/util.ts","kind":"import-statement","original":"../../util"},{"path":"src/components/NavTreeContext.tsx","kind":"import-statement","original":"../NavTreeContext"},{"path":"src/components/UserAccountAvatar/index.ts","kind":"import-statement","original":"../UserAccountAvatar"}],"format":"esm"},"src/components/NavTreeItem/NavTreeItemAction.tsx":{"bytes":12009,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/NavTreeItem/NavTreeItemColumns.tsx":{"bytes":11352,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/hooks.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/components/NavTree/index.ts","kind":"import-statement","original":"../NavTree"},{"path":"src/components/NavTreeContext.tsx","kind":"import-statement","original":"../NavTreeContext"},{"path":"src/components/NavTreeItem/NavTreeItemAction.tsx","kind":"import-statement","original":"./NavTreeItemAction"}],"format":"esm"},"src/components/NavTreeItem/index.ts":{"bytes":620,"imports":[{"path":"src/components/NavTreeItem/NavTreeItemAction.tsx","kind":"import-statement","original":"./NavTreeItemAction"},{"path":"src/components/NavTreeItem/NavTreeItemColumns.tsx","kind":"import-statement","original":"./NavTreeItemColumns"}],"format":"esm"},"src/components/Sidebar/L1Panel.tsx":{"bytes":19224,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/components/NavTreeContext.tsx","kind":"import-statement","original":"../NavTreeContext"},{"path":"src/components/NavTreeItem/index.ts","kind":"import-statement","original":"../NavTreeItem"}],"format":"esm"},"src/components/Sidebar/L1Tabs.tsx":{"bytes":5994,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"src/hooks.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/util.ts","kind":"import-statement","original":"../../util"},{"path":"src/components/NavTreeContext.tsx","kind":"import-statement","original":"../NavTreeContext"},{"path":"src/components/Sidebar/L1Panel.tsx","kind":"import-statement","original":"./L1Panel"}],"format":"esm"},"src/components/Sidebar/index.ts":{"bytes":644,"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":9131,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"src/hooks.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/components/NavTreeContext.tsx","kind":"import-statement","original":"../NavTreeContext"},{"path":"src/components/Sidebar/index.ts","kind":"import-statement","original":"../Sidebar"}],"format":"esm"},"src/components/NavTree/index.ts":{"bytes":476,"imports":[{"path":"src/components/NavTree/NavTree.tsx","kind":"import-statement","original":"./NavTree"}],"format":"esm"},"src/components/NavTreeContainer.tsx":{"bytes":44264,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/adapter","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop-hitbox/tree-item","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","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-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"../capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/util.ts","kind":"import-statement","original":"../util"},{"path":"src/components/NavTree/index.ts","kind":"import-statement","original":"./NavTree"},{"path":"src/components/NavTreeContext.tsx","kind":"import-statement","original":"./NavTreeContext"}],"format":"esm"},"src/components/NavTreeDocumentTitle.tsx":{"bytes":2193,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/components/index.ts":{"bytes":948,"imports":[{"path":"src/components/CommandsDialog/index.ts","kind":"import-statement","original":"./CommandsDialog"},{"path":"src/components/NavTree/index.ts","kind":"import-statement","original":"./NavTree"},{"path":"src/components/NavTreeContainer.tsx","kind":"import-statement","original":"./NavTreeContainer"},{"path":"src/components/NavTreeContext.tsx","kind":"import-statement","original":"./NavTreeContext"},{"path":"src/components/NavTreeDocumentTitle.tsx","kind":"import-statement","original":"./NavTreeDocumentTitle"}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":5704,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/capabilities/state.ts":{"bytes":13325,"imports":[{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":1815,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"src/capabilities/keyboard.ts","kind":"dynamic-import","original":"./keyboard"},{"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/events.ts":{"bytes":1113,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/translations.ts":{"bytes":2272,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/NavTreePlugin.tsx":{"bytes":11894,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"src/events.ts","kind":"import-statement","original":"./events"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"src/index.ts":{"bytes":983,"imports":[{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/events.ts","kind":"import-statement","original":"./events"},{"path":"src/NavTreePlugin.tsx","kind":"import-statement","original":"./NavTreePlugin"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":7093},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-IMFXKPSB.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-LPAREX6J.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-ZENLR72O.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["COMMANDS_DIALOG","KEY_BINDING","NavTreeCapabilities","NavTreeEvents","NavTreePlugin","getChildren","getParent","getPersistenceParent","l0ItemType","meta","resolveMigrationOperation","sortActions"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/events.ts":{"bytesInOutput":200},"src/NavTreePlugin.tsx":{"bytesInOutput":2457},"src/translations.ts":{"bytesInOutput":516}},"bytes":3901},"dist/lib/browser/app-graph-builder-YAPMENYT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3205},"dist/lib/browser/app-graph-builder-YAPMENYT.mjs":{"imports":[{"path":"dist/lib/browser/chunk-ZENLR72O.mjs","kind":"import-statement"},{"path":"@effect-rx/rx-react","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder.ts":{"bytesInOutput":1264}},"bytes":1479},"dist/lib/browser/intent-resolver-TCQXGF6U.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2652},"dist/lib/browser/intent-resolver-TCQXGF6U.mjs":{"imports":[{"path":"dist/lib/browser/chunk-LPAREX6J.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-ZENLR72O.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/intent-resolver.ts","inputs":{"src/capabilities/intent-resolver.ts":{"bytesInOutput":1230}},"bytes":1466},"dist/lib/browser/keyboard-AHSAWKXA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3967},"dist/lib/browser/keyboard-AHSAWKXA.mjs":{"imports":[{"path":"dist/lib/browser/chunk-ZENLR72O.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","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}],"exports":["default"],"entryPoint":"src/capabilities/keyboard.ts","inputs":{"src/capabilities/keyboard.ts":{"bytesInOutput":1590}},"bytes":1766},"dist/lib/browser/react-surface-AH2TP73M.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2856},"dist/lib/browser/react-surface-AH2TP73M.mjs":{"imports":[{"path":"dist/lib/browser/chunk-IMFXKPSB.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-LPAREX6J.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-ZENLR72O.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":1227}},"bytes":1589},"dist/lib/browser/chunk-IMFXKPSB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":97430},"dist/lib/browser/chunk-IMFXKPSB.mjs":{"imports":[{"path":"dist/lib/browser/chunk-LPAREX6J.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-ZENLR72O.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/keyboard","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-searchlist","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop/element/adapter","kind":"import-statement","external":true},{"path":"@atlaskit/pragmatic-drag-and-drop-hitbox/tree-item","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","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-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/app-graph-builder-YAPMENYT.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/intent-resolver-TCQXGF6U.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/keyboard-AHSAWKXA.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-surface-AH2TP73M.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/state-2Q623V7U.mjs","kind":"dynamic-import"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@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":"@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/lit-ui/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true}],"exports":["AppGraphBuilder","CommandsDialogContent","CommandsTrigger","IntentResolver","Keyboard","NODE_TYPE","NavTreeContainer","NavTreeDocumentTitle","ReactSurface","State","getChildren","getParent","getPersistenceParent","l0ItemType","resolveMigrationOperation","sortActions"],"inputs":{"src/components/CommandsDialog/CommandsDialog.tsx":{"bytesInOutput":4582},"src/components/CommandsDialog/CommandsTrigger.tsx":{"bytesInOutput":1152},"src/util.ts":{"bytesInOutput":2177},"src/components/NavTreeContainer.tsx":{"bytesInOutput":11150},"src/capabilities/index.ts":{"bytesInOutput":387},"src/components/NavTree/NavTree.tsx":{"bytesInOutput":2542},"src/hooks.ts":{"bytesInOutput":349},"src/components/CommandsDialog/index.ts":{"bytesInOutput":0},"src/components/index.ts":{"bytesInOutput":0},"src/components/NavTreeContext.tsx":{"bytesInOutput":250},"src/components/NavTreeDocumentTitle.tsx":{"bytesInOutput":434},"src/components/Sidebar/L0Menu.tsx":{"bytesInOutput":14172},"src/components/UserAccountAvatar/UserAccountAvatar.tsx":{"bytesInOutput":1087},"src/components/UserAccountAvatar/index.ts":{"bytesInOutput":0},"src/components/Sidebar/index.ts":{"bytesInOutput":0},"src/components/Sidebar/L1Panel.tsx":{"bytesInOutput":5413},"src/components/NavTreeItem/NavTreeItemAction.tsx":{"bytesInOutput":3335},"src/components/NavTreeItem/index.ts":{"bytesInOutput":0},"src/components/NavTreeItem/NavTreeItemColumns.tsx":{"bytesInOutput":3052},"src/components/Sidebar/L1Tabs.tsx":{"bytesInOutput":1513},"src/components/NavTree/index.ts":{"bytesInOutput":0}},"bytes":52877},"dist/lib/browser/state-2Q623V7U.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6892},"dist/lib/browser/state-2Q623V7U.mjs":{"imports":[{"path":"dist/lib/browser/chunk-LPAREX6J.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-ZENLR72O.mjs","kind":"import-statement"},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"@dxos/react-ui-list","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/state.ts","inputs":{"src/capabilities/state.ts":{"bytesInOutput":2781}},"bytes":3003},"dist/lib/browser/chunk-LPAREX6J.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1217},"dist/lib/browser/chunk-LPAREX6J.mjs":{"imports":[{"path":"dist/lib/browser/chunk-ZENLR72O.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["NavTreeCapabilities"],"inputs":{"src/capabilities/capabilities.ts":{"bytesInOutput":250}},"bytes":413},"dist/lib/browser/chunk-ZENLR72O.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":631},"dist/lib/browser/chunk-ZENLR72O.mjs":{"imports":[],"exports":["COMMANDS_DIALOG","KEY_BINDING","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":150}},"bytes":263}}}
|
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
CommandsTrigger,
|
|
4
4
|
NavTreeContainer,
|
|
5
5
|
NavTreeDocumentTitle
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-IMFXKPSB.mjs";
|
|
7
|
+
import "./chunk-LPAREX6J.mjs";
|
|
8
8
|
import {
|
|
9
9
|
COMMANDS_DIALOG,
|
|
10
|
-
|
|
11
|
-
} from "./chunk-
|
|
10
|
+
meta
|
|
11
|
+
} from "./chunk-ZENLR72O.mjs";
|
|
12
12
|
|
|
13
13
|
// src/capabilities/react-surface.tsx
|
|
14
14
|
import React from "react";
|
|
15
15
|
import { Capabilities, contributes, createSurface } from "@dxos/app-framework";
|
|
16
16
|
import { isGraphNode } from "@dxos/plugin-graph";
|
|
17
|
-
var react_surface_default = () => contributes(Capabilities.ReactSurface, [
|
|
17
|
+
var react_surface_default = (() => contributes(Capabilities.ReactSurface, [
|
|
18
18
|
createSurface({
|
|
19
19
|
id: COMMANDS_DIALOG,
|
|
20
20
|
role: "dialog",
|
|
@@ -22,7 +22,7 @@ var react_surface_default = () => contributes(Capabilities.ReactSurface, [
|
|
|
22
22
|
component: ({ data }) => /* @__PURE__ */ React.createElement(CommandsDialogContent, data.props)
|
|
23
23
|
}),
|
|
24
24
|
createSurface({
|
|
25
|
-
id: `${
|
|
25
|
+
id: `${meta.id}/navigation`,
|
|
26
26
|
role: "navigation",
|
|
27
27
|
filter: (data) => typeof data.current === "string",
|
|
28
28
|
component: ({ data }) => /* @__PURE__ */ React.createElement(NavTreeContainer, {
|
|
@@ -32,20 +32,20 @@ var react_surface_default = () => contributes(Capabilities.ReactSurface, [
|
|
|
32
32
|
})
|
|
33
33
|
}),
|
|
34
34
|
createSurface({
|
|
35
|
-
id: `${
|
|
35
|
+
id: `${meta.id}/document-title`,
|
|
36
36
|
role: "document-title",
|
|
37
37
|
component: ({ data }) => /* @__PURE__ */ React.createElement(NavTreeDocumentTitle, {
|
|
38
38
|
node: isGraphNode(data.subject) ? data.subject : void 0
|
|
39
39
|
})
|
|
40
40
|
}),
|
|
41
41
|
createSurface({
|
|
42
|
-
id: `${
|
|
42
|
+
id: `${meta.id}/search-input`,
|
|
43
43
|
role: "search-input",
|
|
44
44
|
position: "fallback",
|
|
45
45
|
component: () => /* @__PURE__ */ React.createElement(CommandsTrigger, null)
|
|
46
46
|
})
|
|
47
|
-
]);
|
|
47
|
+
]));
|
|
48
48
|
export {
|
|
49
49
|
react_surface_default as default
|
|
50
50
|
};
|
|
51
|
-
//# sourceMappingURL=react-surface-
|
|
51
|
+
//# sourceMappingURL=react-surface-AH2TP73M.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 React from 'react';\n\nimport { Capabilities, contributes, createSurface } from '@dxos/app-framework';\nimport { isGraphNode } from '@dxos/plugin-graph';\n\nimport { CommandsDialogContent, CommandsTrigger, NavTreeContainer, NavTreeDocumentTitle } from '../components';\nimport { COMMANDS_DIALOG, meta } from '../meta';\n\nexport default () =>\n contributes(Capabilities.ReactSurface, [\n createSurface({\n id: COMMANDS_DIALOG,\n role: 'dialog',\n filter: (data): data is { props: { selected?: string } } => data.component === COMMANDS_DIALOG,\n component: ({ data }) => <CommandsDialogContent {...data.props} />,\n }),\n createSurface({\n id: `${meta.id}/navigation`,\n role: 'navigation',\n filter: (data): data is { popoverAnchorId?: string; topbar: boolean; current: string } =>\n typeof data.current === 'string',\n component: ({ data }) => (\n <NavTreeContainer\n tab={data.current}\n popoverAnchorId={data.popoverAnchorId as string | undefined}\n topbar={data.topbar as boolean}\n />\n ),\n }),\n createSurface({\n id: `${meta.id}/document-title`,\n role: 'document-title',\n component: ({ data }) => <NavTreeDocumentTitle node={isGraphNode(data.subject) ? data.subject : undefined} />,\n }),\n createSurface({\n id: `${meta.id}/search-input`,\n role: 'search-input',\n position: 'fallback',\n component: () => <CommandsTrigger />,\n }),\n ]);\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;AAIA,OAAOA,WAAW;AAElB,SAASC,cAAcC,aAAaC,qBAAqB;AACzD,SAASC,mBAAmB;AAK5B,IAAA,yBAAe,MACbC,YAAYC,aAAaC,cAAc;EACrCC,cAAc;IACZC,IAAIC;IACJC,MAAM;IACNC,QAAQ,CAACC,SAAmDA,KAAKC,cAAcJ;IAC/EI,WAAW,CAAC,EAAED,KAAI,MAAO,sBAAA,cAACE,uBAA0BF,KAAKG,KAAK;EAChE,CAAA;EACAR,cAAc;IACZC,IAAI,GAAGQ,KAAKR,EAAE;IACdE,MAAM;IACNC,QAAQ,CAACC,SACP,OAAOA,KAAKK,YAAY;IAC1BJ,WAAW,CAAC,EAAED,KAAI,MAChB,sBAAA,cAACM,kBAAAA;MACCC,KAAKP,KAAKK;MACVG,iBAAiBR,KAAKQ;MACtBC,QAAQT,KAAKS;;EAGnB,CAAA;EACAd,cAAc;IACZC,IAAI,GAAGQ,KAAKR,EAAE;IACdE,MAAM;IACNG,WAAW,CAAC,EAAED,KAAI,MAAO,sBAAA,cAACU,sBAAAA;MAAqBC,MAAMC,YAAYZ,KAAKa,OAAO,IAAIb,KAAKa,UAAUC;;EAClG,CAAA;EACAnB,cAAc;IACZC,IAAI,GAAGQ,KAAKR,EAAE;IACdE,MAAM;IACNiB,UAAU;IACVd,WAAW,MAAM,sBAAA,cAACe,iBAAAA,IAAAA;EACpB,CAAA;CACD;",
|
|
6
|
+
"names": ["React", "Capabilities", "contributes", "createSurface", "isGraphNode", "contributes", "Capabilities", "ReactSurface", "createSurface", "id", "COMMANDS_DIALOG", "role", "filter", "data", "component", "CommandsDialogContent", "props", "meta", "current", "NavTreeContainer", "tab", "popoverAnchorId", "topbar", "NavTreeDocumentTitle", "node", "isGraphNode", "subject", "undefined", "position", "CommandsTrigger"]
|
|
7
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NavTreeCapabilities
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LPAREX6J.mjs";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./chunk-
|
|
5
|
+
meta
|
|
6
|
+
} from "./chunk-ZENLR72O.mjs";
|
|
7
7
|
|
|
8
8
|
// src/capabilities/state.ts
|
|
9
9
|
import { effect, untracked } from "@preact/signals-core";
|
|
10
10
|
import { Capabilities, contributes } from "@dxos/app-framework";
|
|
11
11
|
import { live } from "@dxos/live-object";
|
|
12
12
|
import { Path } from "@dxos/react-ui-list";
|
|
13
|
-
var KEY = `${
|
|
13
|
+
var KEY = `${meta.id}/state/v1`;
|
|
14
14
|
var getInitialState = () => {
|
|
15
15
|
const stringified = localStorage.getItem(KEY);
|
|
16
16
|
if (!stringified) {
|
|
@@ -28,7 +28,7 @@ var getInitialState = () => {
|
|
|
28
28
|
} catch {
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
|
-
var state_default = (context) => {
|
|
31
|
+
var state_default = ((context) => {
|
|
32
32
|
const layout = context.getCapability(Capabilities.Layout);
|
|
33
33
|
const state = new Map(getInitialState() ?? [
|
|
34
34
|
// TODO(thure): Initialize these dynamically.
|
|
@@ -110,8 +110,8 @@ var state_default = (context) => {
|
|
|
110
110
|
isCurrent,
|
|
111
111
|
isAlternateTree
|
|
112
112
|
}, () => unsubscribe());
|
|
113
|
-
};
|
|
113
|
+
});
|
|
114
114
|
export {
|
|
115
115
|
state_default as default
|
|
116
116
|
};
|
|
117
|
-
//# sourceMappingURL=state-
|
|
117
|
+
//# sourceMappingURL=state-2Q623V7U.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 { effect, untracked } from '@preact/signals-core';\n\nimport { Capabilities, type PluginContext, contributes } from '@dxos/app-framework';\nimport { type Live } from '@dxos/echo';\nimport { live } from '@dxos/live-object';\nimport { Path } from '@dxos/react-ui-list';\n\nimport { meta } from '../meta';\n\nimport { NavTreeCapabilities } from './capabilities';\n\nconst KEY = `${meta.id}/state/v1`;\n\nconst getInitialState = () => {\n const stringified = localStorage.getItem(KEY);\n if (!stringified) {\n return;\n }\n\n try {\n const cached: [string, { open: boolean; current: boolean }][] = JSON.parse(stringified);\n return cached.map(([key, value]): [string, Live<{ open: boolean; current: boolean }>] => [\n key,\n live({ open: value.open, current: false }),\n ]);\n } catch {}\n};\n\nexport default (context: PluginContext) => {\n const layout = context.getCapability(Capabilities.Layout);\n\n // TODO(wittjosiah): This currently needs to be not a Live at the root.\n // If it is a Live then React errors when initializing new paths because of state change during render.\n // Ideally this could be a Live but be able to access and update the root level without breaking render.\n // Wrapping accesses and updates in `untracked` didn't seem to work in all cases.\n const state = new Map<string, Live<{ open: boolean; current: boolean; alternateTree?: boolean }>>(\n getInitialState() ?? [\n // TODO(thure): Initialize these dynamically.\n ['root', live({ open: true, current: false })],\n ['root~dxos.org/plugin/space-spaces', live({ open: true, current: false })],\n ['root~dxos.org/plugin/files', live({ open: true, current: false })],\n ],\n );\n\n const getItem = (_path: string[]) => {\n const path = Path.create(..._path);\n const value = state.get(path) ?? live({ open: false, current: false, alternateTree: false });\n if (!state.has(path)) {\n state.set(path, value);\n }\n\n return value;\n };\n\n const setItem = (path: string[], key: 'open' | 'current' | 'alternateTree', next: boolean) => {\n const value = getItem(path);\n value[key] = next;\n\n localStorage.setItem(KEY, JSON.stringify(Array.from(state.entries())));\n };\n\n const isOpen = (path: string[]) => getItem(path).open;\n const isCurrent = (path: string[]) => getItem(path).current;\n const isAlternateTree = (path: string[]) => {\n const item = getItem(path);\n return item.alternateTree ?? false;\n };\n\n let previous: string[] = [];\n const unsubscribe = effect(() => {\n const removed = previous.filter((id) => !layout.active.includes(id));\n previous = layout.active;\n\n const handleUpdate = () => {\n removed.forEach((id) => {\n const keys = Array.from(state.keys()).filter((key) => Path.last(key) === id);\n keys.forEach((key) => {\n setItem(Path.parts(key), 'current', false);\n });\n });\n\n layout.active.forEach((id) => {\n const keys = Array.from(new Set([...state.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 be 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 const timeout = setTimeout(handleUpdate, 500);\n untracked(() => handleUpdate());\n return () => clearTimeout(timeout);\n });\n\n return contributes(NavTreeCapabilities.State, { state, getItem, setItem, isOpen, isCurrent, isAlternateTree }, () =>\n unsubscribe(),\n );\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;;;AAIA,SAASA,QAAQC,iBAAiB;AAElC,SAASC,cAAkCC,mBAAmB;AAE9D,SAASC,YAAY;AACrB,SAASC,YAAY;AAMrB,IAAMC,MAAM,GAAGC,KAAKC,EAAE;AAEtB,IAAMC,kBAAkB,MAAA;AACtB,QAAMC,cAAcC,aAAaC,QAAQN,GAAAA;AACzC,MAAI,CAACI,aAAa;AAChB;EACF;AAEA,MAAI;AACF,UAAMG,SAA0DC,KAAKC,MAAML,WAAAA;AAC3E,WAAOG,OAAOG,IAAI,CAAC,CAACC,KAAKC,KAAAA,MAAgE;MACvFD;MACAE,KAAK;QAAEC,MAAMF,MAAME;QAAMC,SAAS;MAAM,CAAA;KACzC;EACH,QAAQ;EAAC;AACX;AAEA,IAAA,iBAAe,CAACC,YAAAA;AACd,QAAMC,SAASD,QAAQE,cAAcC,aAAaC,MAAM;AAMxD,QAAMC,QAAQ,IAAIC,IAChBnB,gBAAAA,KAAqB;;IAEnB;MAAC;MAAQU,KAAK;QAAEC,MAAM;QAAMC,SAAS;MAAM,CAAA;;IAC3C;MAAC;MAAqCF,KAAK;QAAEC,MAAM;QAAMC,SAAS;MAAM,CAAA;;IACxE;MAAC;MAA8BF,KAAK;QAAEC,MAAM;QAAMC,SAAS;MAAM,CAAA;;GAClE;AAGH,QAAMT,UAAU,CAACiB,UAAAA;AACf,UAAMC,OAAOC,KAAKC,OAAM,GAAIH,KAAAA;AAC5B,UAAMX,QAAQS,MAAMM,IAAIH,IAAAA,KAASX,KAAK;MAAEC,MAAM;MAAOC,SAAS;MAAOa,eAAe;IAAM,CAAA;AAC1F,QAAI,CAACP,MAAMQ,IAAIL,IAAAA,GAAO;AACpBH,YAAMS,IAAIN,MAAMZ,KAAAA;IAClB;AAEA,WAAOA;EACT;AAEA,QAAMmB,UAAU,CAACP,MAAgBb,KAA2CqB,SAAAA;AAC1E,UAAMpB,QAAQN,QAAQkB,IAAAA;AACtBZ,UAAMD,GAAAA,IAAOqB;AAEb3B,iBAAa0B,QAAQ/B,KAAKQ,KAAKyB,UAAUC,MAAMC,KAAKd,MAAMe,QAAO,CAAA,CAAA,CAAA;EACnE;AAEA,QAAMC,SAAS,CAACb,SAAmBlB,QAAQkB,IAAAA,EAAMV;AACjD,QAAMwB,YAAY,CAACd,SAAmBlB,QAAQkB,IAAAA,EAAMT;AACpD,QAAMwB,kBAAkB,CAACf,SAAAA;AACvB,UAAMgB,OAAOlC,QAAQkB,IAAAA;AACrB,WAAOgB,KAAKZ,iBAAiB;EAC/B;AAEA,MAAIa,WAAqB,CAAA;AACzB,QAAMC,cAAcC,OAAO,MAAA;AACzB,UAAMC,UAAUH,SAASI,OAAO,CAAC3C,OAAO,CAACe,OAAO6B,OAAOC,SAAS7C,EAAAA,CAAAA;AAChEuC,eAAWxB,OAAO6B;AAElB,UAAME,eAAe,MAAA;AACnBJ,cAAQK,QAAQ,CAAC/C,OAAAA;AACf,cAAMgD,OAAOhB,MAAMC,KAAKd,MAAM6B,KAAI,CAAA,EAAIL,OAAO,CAAClC,QAAQc,KAAK0B,KAAKxC,GAAAA,MAAST,EAAAA;AACzEgD,aAAKD,QAAQ,CAACtC,QAAAA;AACZoB,kBAAQN,KAAK2B,MAAMzC,GAAAA,GAAM,WAAW,KAAA;QACtC,CAAA;MACF,CAAA;AAEAM,aAAO6B,OAAOG,QAAQ,CAAC/C,OAAAA;AACrB,cAAMgD,OAAOhB,MAAMC,KAAK,oBAAIkB,IAAI;aAAIhC,MAAM6B,KAAI;UAAIhD;SAAG,CAAA,EAAG2C,OAAO,CAAClC,QAAQc,KAAK0B,KAAKxC,GAAAA,MAAST,EAAAA;AAC3FgD,aAAKD,QAAQ,CAACtC,QAAAA;AACZoB,kBAAQN,KAAK2B,MAAMzC,GAAAA,GAAM,WAAW,IAAA;QACtC,CAAA;MACF,CAAA;IACF;AAKA,UAAM2C,UAAUC,WAAWP,cAAc,GAAA;AACzCQ,cAAU,MAAMR,aAAAA,CAAAA;AAChB,WAAO,MAAMS,aAAaH,OAAAA;EAC5B,CAAA;AAEA,SAAOI,YAAYC,oBAAoBC,OAAO;IAAEvC;IAAOf;IAASyB;IAASM;IAAQC;IAAWC;EAAgB,GAAG,MAC7GG,YAAAA,CAAAA;AAEJ;",
|
|
6
|
+
"names": ["effect", "untracked", "Capabilities", "contributes", "live", "Path", "KEY", "meta", "id", "getInitialState", "stringified", "localStorage", "getItem", "cached", "JSON", "parse", "map", "key", "value", "live", "open", "current", "context", "layout", "getCapability", "Capabilities", "Layout", "state", "Map", "_path", "path", "Path", "create", "get", "alternateTree", "has", "set", "setItem", "next", "stringify", "Array", "from", "entries", "isOpen", "isCurrent", "isAlternateTree", "item", "previous", "unsubscribe", "effect", "removed", "filter", "active", "includes", "handleUpdate", "forEach", "keys", "last", "parts", "Set", "timeout", "setTimeout", "untracked", "clearTimeout", "contributes", "NavTreeCapabilities", "State"]
|
|
7
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const NavTreePlugin:
|
|
1
|
+
export declare const NavTreePlugin: import("@dxos/app-framework").PluginFactory<void>;
|
|
2
2
|
//# sourceMappingURL=NavTreePlugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavTreePlugin.d.ts","sourceRoot":"","sources":["../../../src/NavTreePlugin.tsx"],"names":[],"mappings":"AAsBA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"NavTreePlugin.d.ts","sourceRoot":"","sources":["../../../src/NavTreePlugin.tsx"],"names":[],"mappings":"AAsBA,eAAO,MAAM,aAAa,mDAuExB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAQA,OAAO,EAA8B,KAAK,aAAa,EAA6B,MAAM,qBAAqB,CAAC;yBAKhG,SAAS,aAAa;AAAtC,wBAuCI"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/capabilities.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAG9C,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAErD,yBAAiB,mBAAmB,CAAC;IAC5B,MAAM,KAAK;eACT,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC;YAAE,IAAI,EAAE,OAAO,CAAC;YAAC,OAAO,EAAE,OAAO,CAAC;YAAC,aAAa,CAAC,EAAE,OAAO,CAAA;SAAE,CAAC,CAAC;iBAC7E,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;YAAE,IAAI,EAAE,OAAO,CAAC;YAAC,OAAO,EAAE,OAAO,CAAC;YAAC,aAAa,CAAC,EAAE,OAAO,CAAA;SAAE,CAAC;iBACtF,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,eAAe,EAAE,IAAI,EAAE,OAAO,KAAK,IAAI;gBACnF,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,oBAAoB,KAAK,OAAO;mBACpD,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,oBAAoB,KAAK,OAAO;yBACjD,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,oBAAoB,KAAK,OAAO;
|
|
1
|
+
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/capabilities.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAG9C,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAErD,yBAAiB,mBAAmB,CAAC;IAC5B,MAAM,KAAK;eACT,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC;YAAE,IAAI,EAAE,OAAO,CAAC;YAAC,OAAO,EAAE,OAAO,CAAC;YAAC,aAAa,CAAC,EAAE,OAAO,CAAA;SAAE,CAAC,CAAC;iBAC7E,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;YAAE,IAAI,EAAE,OAAO,CAAC;YAAC,OAAO,EAAE,OAAO,CAAC;YAAC,aAAa,CAAC,EAAE,OAAO,CAAA;SAAE,CAAC;iBACtF,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,eAAe,EAAE,IAAI,EAAE,OAAO,KAAK,IAAI;gBACnF,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,oBAAoB,KAAK,OAAO;mBACpD,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,oBAAoB,KAAK,OAAO;yBACjD,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,oBAAoB,KAAK,OAAO;MACzC,CAAC;CACnC"}
|
|
@@ -19,13 +19,14 @@ export declare const State: (props?: import("@dxos/app-framework").PluginContext
|
|
|
19
19
|
type: string;
|
|
20
20
|
cacheable?: string[];
|
|
21
21
|
properties: Readonly<Partial<{
|
|
22
|
-
|
|
23
|
-
icon?: string;
|
|
22
|
+
testId?: string;
|
|
24
23
|
disabled?: boolean;
|
|
25
24
|
position?: import("@dxos/util").Position;
|
|
26
|
-
|
|
25
|
+
label: import("@dxos/react-ui").Label;
|
|
27
26
|
className?: string;
|
|
28
27
|
headingClassName?: string;
|
|
28
|
+
icon?: string;
|
|
29
|
+
iconClassName?: string;
|
|
29
30
|
} & {
|
|
30
31
|
role?: string;
|
|
31
32
|
error?: string;
|
|
@@ -48,13 +49,14 @@ export declare const State: (props?: import("@dxos/app-framework").PluginContext
|
|
|
48
49
|
type: string;
|
|
49
50
|
cacheable?: string[];
|
|
50
51
|
properties: Readonly<Partial<{
|
|
51
|
-
|
|
52
|
-
icon?: string;
|
|
52
|
+
testId?: string;
|
|
53
53
|
disabled?: boolean;
|
|
54
54
|
position?: import("@dxos/util").Position;
|
|
55
|
-
|
|
55
|
+
label: import("@dxos/react-ui").Label;
|
|
56
56
|
className?: string;
|
|
57
57
|
headingClassName?: string;
|
|
58
|
+
icon?: string;
|
|
59
|
+
iconClassName?: string;
|
|
58
60
|
} & {
|
|
59
61
|
role?: string;
|
|
60
62
|
error?: string;
|
|
@@ -77,13 +79,14 @@ export declare const State: (props?: import("@dxos/app-framework").PluginContext
|
|
|
77
79
|
type: string;
|
|
78
80
|
cacheable?: string[];
|
|
79
81
|
properties: Readonly<Partial<{
|
|
80
|
-
|
|
81
|
-
icon?: string;
|
|
82
|
+
testId?: string;
|
|
82
83
|
disabled?: boolean;
|
|
83
84
|
position?: import("@dxos/util").Position;
|
|
84
|
-
|
|
85
|
+
label: import("@dxos/react-ui").Label;
|
|
85
86
|
className?: string;
|
|
86
87
|
headingClassName?: string;
|
|
88
|
+
icon?: string;
|
|
89
|
+
iconClassName?: string;
|
|
87
90
|
} & {
|
|
88
91
|
role?: string;
|
|
89
92
|
error?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe,gRAA4C,CAAC;AACzE,eAAO,MAAM,cAAc,8RAA0C,CAAC;AACtE,eAAO,MAAM,QAAQ,yOAAmC,CAAC;AACzD,eAAO,MAAM,YAAY,4OAAwC,CAAC;AAClE,eAAO,MAAM,KAAK;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe,gRAA4C,CAAC;AACzE,eAAO,MAAM,cAAc,8RAA0C,CAAC;AACtE,eAAO,MAAM,QAAQ,yOAAmC,CAAC;AACzD,eAAO,MAAM,YAAY,4OAAwC,CAAC;AAClE,eAAO,MAAM,KAAK;;;;qBAAe,CAAC;;;;;qBAGgB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;gEAAqG,CAAC;yEAAgG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gEAAlG,CAAC;yEAAgG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gEAAlG,CAAC;yEAAgG,CAAC;;;;;qDAHxM,CAAC;AAEnD,cAAc,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.ts"],"names":[],"mappings":"AAMA,OAAO,EAAgB,KAAK,aAAa,EAAe,MAAM,qBAAqB,CAAC;AACpF,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,YAAY,CAAC;yBAyBvB,SAAS,aAAa;;;;qBAnBM,CAAC;;;;;
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.ts"],"names":[],"mappings":"AAMA,OAAO,EAAgB,KAAK,aAAa,EAAe,MAAM,qBAAqB,CAAC;AACpF,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,YAAY,CAAC;yBAyBvB,SAAS,aAAa;;;;qBAnBM,CAAC;;;;;qBAKtB,CAAC;;;;;;;AAcxB,wBAwEE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavTree.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTree/NavTree.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAExD,OAAO,EAAkB,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9D,eAAO,MAAM,aAAa,gBAAgB,CAAC;AAE3C,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,SAAS,CAAC,oBAAoB,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;AAE5G,eAAO,MAAM,OAAO,GAAI,wBAAwB,YAAY,
|
|
1
|
+
{"version":3,"file":"NavTree.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTree/NavTree.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAExD,OAAO,EAAkB,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9D,eAAO,MAAM,aAAa,gBAAgB,CAAC;AAE3C,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,SAAS,CAAC,oBAAoB,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;AAE5G,eAAO,MAAM,OAAO,GAAI,wBAAwB,YAAY,sBA+C3D,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import '@dxos-theme';
|
|
2
1
|
import { type StoryObj } from '@storybook/react-vite';
|
|
3
2
|
import React from 'react';
|
|
4
3
|
import { NavTreeContainer } from '../NavTreeContainer';
|
|
@@ -8,6 +7,7 @@ declare const meta: {
|
|
|
8
7
|
render: () => React.JSX.Element;
|
|
9
8
|
decorators: import("@storybook/react").Decorator[];
|
|
10
9
|
parameters: {
|
|
10
|
+
layout: string;
|
|
11
11
|
translations: [{
|
|
12
12
|
readonly 'en-US': {
|
|
13
13
|
readonly [meta.id]: {
|
|
@@ -28,5 +28,4 @@ declare const meta: {
|
|
|
28
28
|
export default meta;
|
|
29
29
|
type Story = StoryObj<typeof NavTreeContainer>;
|
|
30
30
|
export declare const Default: Story;
|
|
31
|
-
export declare const WithClient: Story;
|
|
32
31
|
//# sourceMappingURL=NavTree.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavTree.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTree/NavTree.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"NavTree.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTree/NavTree.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAkD,MAAM,OAAO,CAAC;AA6BvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AA2FvD,QAAA,MAAM,IAAI;;;;;;;;;yBAxHY,CAAQ,IAAI,CAAE,EAAC,CAAC;;;;;;;;;;;;;;CA6JG,CAAC;AAE1C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE/C,eAAO,MAAM,OAAO,EAAE,KA4CrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavTreeContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/NavTreeContainer.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAgD,MAAM,OAAO,CAAC;AA0BrE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGnD,eAAO,MAAM,SAAS,wBAAwB,CAAC;AA0D/C,MAAM,MAAM,qBAAqB,GAAG;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,GAAG,IAAI,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC;AAErC,eAAO,MAAM,gBAAgB,+DAA2C,qBAAqB,
|
|
1
|
+
{"version":3,"file":"NavTreeContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/NavTreeContainer.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAgD,MAAM,OAAO,CAAC;AA0BrE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGnD,eAAO,MAAM,SAAS,wBAAwB,CAAC;AA0D/C,MAAM,MAAM,qBAAqB,GAAG;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,GAAG,IAAI,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC;AAErC,eAAO,MAAM,gBAAgB,+DAA2C,qBAAqB,uBAsP3F,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavTreeItemAction.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/NavTreeItemAction.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAMzD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,GAAG;IAC1D,MAAM,EAAE,IAAI,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB,CAAC;AAaF,eAAO,MAAM,6BAA6B,GAAI,uDAO3C,0BAA0B,sBAoB5B,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,yGAKzC,MAAM,GAAG;IAAE,MAAM,EAAE,IAAI,CAAC;IAAC,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"NavTreeItemAction.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/NavTreeItemAction.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAMzD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,GAAG;IAC1D,MAAM,EAAE,IAAI,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB,CAAC;AAaF,eAAO,MAAM,6BAA6B,GAAI,uDAO3C,0BAA0B,sBAoB5B,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,yGAKzC,MAAM,GAAG;IAAE,MAAM,EAAE,IAAI,CAAC;IAAC,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,sBA2BnF,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,qDAAqD,0BAA0B,sBAWhH,CAAC"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import '@dxos-theme';
|
|
2
1
|
import { type StoryObj } from '@storybook/react-vite';
|
|
3
2
|
import { type NavTreeItemActionMenuProps } from './NavTreeItemAction';
|
|
4
3
|
declare const meta: {
|
|
5
4
|
title: string;
|
|
6
5
|
component: ({ monolithic, menuActions, parent: node, ...props }: NavTreeItemActionMenuProps) => import("react").JSX.Element;
|
|
7
|
-
decorators: import("@storybook/react").Decorator[];
|
|
8
6
|
args: {
|
|
9
7
|
icon: string;
|
|
10
8
|
parent: {
|
|
@@ -27,6 +25,7 @@ declare const meta: {
|
|
|
27
25
|
}[];
|
|
28
26
|
label: string;
|
|
29
27
|
};
|
|
28
|
+
decorators: import("@storybook/react").Decorator[];
|
|
30
29
|
parameters: {
|
|
31
30
|
layout: string;
|
|
32
31
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavTreeItemAction.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/NavTreeItemAction.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"NavTreeItemAction.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/NavTreeItemAction.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAMjE,OAAO,EAAqB,KAAK,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AA6BzF,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAagC,CAAC;AAE3C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type NavTreeItemColumnsProps } from '../types';
|
|
3
|
-
export declare const NavTreeItemColumns: React.MemoExoticComponent<({ path, item, open
|
|
3
|
+
export declare const NavTreeItemColumns: React.MemoExoticComponent<({ path, item, open }: NavTreeItemColumnsProps) => React.JSX.Element>;
|
|
4
4
|
//# sourceMappingURL=NavTreeItemColumns.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavTreeItemColumns.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/NavTreeItemColumns.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAyB,MAAM,OAAO,CAAC;AAS9C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAIxD,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"NavTreeItemColumns.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/NavTreeItemColumns.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAyB,MAAM,OAAO,CAAC;AAS9C,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAIxD,eAAO,MAAM,kBAAkB,mDAA+B,uBAAuB,uBA6DnF,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type Node } from '@dxos/app-graph';
|
|
3
|
+
import { type ThemedClassName } from '@dxos/react-ui';
|
|
3
4
|
import { type MenuItem } from '@dxos/react-ui-menu';
|
|
5
|
+
export declare const L0ItemActiveTabIndicator: ({ classNames }: ThemedClassName<{}>) => React.JSX.Element;
|
|
4
6
|
export type L0MenuProps = {
|
|
5
7
|
menuActions: MenuItem[];
|
|
6
8
|
topLevelItems: Node<any>[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"L0Menu.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/L0Menu.tsx"],"names":[],"mappings":"AAaA,OAAO,KASN,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EAAgB,KAAK,QAAQ,EAAgB,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"L0Menu.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/L0Menu.tsx"],"names":[],"mappings":"AAaA,OAAO,KASN,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EAIL,KAAK,eAAe,EAKrB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAgB,KAAK,QAAQ,EAAgB,MAAM,qBAAqB,CAAC;AAwGhF,eAAO,MAAM,wBAAwB,GAAI,gBAAgB,eAAe,CAAC,EAAE,CAAC,sBAQ3E,CAAC;AAgKF,MAAM,MAAM,WAAW,GAAG;IACxB,WAAW,EAAE,QAAQ,EAAE,CAAC;IACxB,aAAa,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;IAC3B,WAAW,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;IACzB,eAAe,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IAC5B,MAAM,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IACnB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,4EAA4E,WAAW,sBA4F7G,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"L1Panel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/L1Panel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAU5C,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,GAAI,6CAA6C,YAAY,
|
|
1
|
+
{"version":3,"file":"L1Panel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/L1Panel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAU5C,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,GAAI,6CAA6C,YAAY,sBAgEhF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserAccountAvatar.d.ts","sourceRoot":"","sources":["../../../../../src/components/UserAccountAvatar/UserAccountAvatar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAU,KAAK,YAAY,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"UserAccountAvatar.d.ts","sourceRoot":"","sources":["../../../../../src/components/UserAccountAvatar/UserAccountAvatar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAU,KAAK,YAAY,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAKtE,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,YAAY,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,sCAAsC,sBAAsB,sBAuB7F,CAAC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import '@dxos-theme';
|
|
2
1
|
import { type StoryObj } from '@storybook/react-vite';
|
|
3
2
|
declare const meta: {
|
|
4
3
|
title: string;
|
|
5
|
-
component: ({ size, userId, hue, emoji, status }: import("./UserAccountAvatar").UserAccountAvatarProps) => import("react").JSX.Element;
|
|
6
4
|
decorators: import("@storybook/react").Decorator[];
|
|
5
|
+
component: ({ size, userId, hue, emoji, status }: import("./UserAccountAvatar").UserAccountAvatarProps) => import("react").JSX.Element;
|
|
7
6
|
};
|
|
8
7
|
export default meta;
|
|
9
8
|
type Story = StoryObj<typeof meta>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserAccountAvatar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/UserAccountAvatar/UserAccountAvatar.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"UserAccountAvatar.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/UserAccountAvatar/UserAccountAvatar.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAMjE,QAAA,MAAM,IAAI;;;;CAKgC,CAAC;AAE3C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/events.ts"],"names":[],"mappings":"AAQA,yBAAiB,aAAa,CAAC;IACtB,MAAM,UAAU,+
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/events.ts"],"names":[],"mappings":"AAQA,yBAAiB,aAAa,CAAC;IACtB,MAAM,UAAU,+CAAmC,CAAC;CAC5D"}
|