@dxos/plugin-navtree 0.7.5-labs.5f04cf6 → 0.7.5-labs.e27f9b9
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-OF4MMBLH.mjs → app-graph-builder-BL7LRXCM.mjs} +7 -5
- package/dist/lib/browser/{app-graph-builder-OF4MMBLH.mjs.map → app-graph-builder-BL7LRXCM.mjs.map} +3 -3
- package/dist/lib/browser/chunk-54MPRXMH.mjs +1109 -0
- package/dist/lib/browser/chunk-54MPRXMH.mjs.map +7 -0
- package/dist/lib/browser/{chunk-OI7AAA6Q.mjs → chunk-AOAGODQB.mjs} +1 -1
- package/dist/lib/browser/chunk-AOAGODQB.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +21 -26
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/intent-resolver-U25VBFH3.mjs +47 -0
- package/dist/lib/browser/intent-resolver-U25VBFH3.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/react-surface-LNRTNSM6.mjs +57 -0
- package/dist/lib/browser/react-surface-LNRTNSM6.mjs.map +7 -0
- package/dist/lib/browser/{state-HT65TAYL.mjs → state-65TQKYX7.mjs} +6 -9
- package/dist/lib/browser/state-65TQKYX7.mjs.map +7 -0
- package/dist/types/src/NavTreePlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +22 -22
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/capabilities.d.ts +3 -2
- package/dist/types/src/capabilities/capabilities.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +88 -32
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/state.d.ts +3 -3
- package/dist/types/src/capabilities/state.d.ts.map +1 -1
- package/dist/types/src/components/CommandsDialog.d.ts.map +1 -1
- package/dist/types/src/components/CommandsTrigger.d.ts.map +1 -1
- package/dist/types/src/components/L0Menu.d.ts +9 -0
- package/dist/types/src/components/L0Menu.d.ts.map +1 -0
- package/dist/types/src/components/L1Panels.d.ts +8 -0
- package/dist/types/src/components/L1Panels.d.ts.map +1 -0
- package/dist/types/src/components/NavTree.d.ts +3 -20
- package/dist/types/src/components/NavTree.d.ts.map +1 -1
- package/dist/types/src/components/NavTree.stories.d.ts +2 -2
- package/dist/types/src/components/NavTree.stories.d.ts.map +1 -1
- package/dist/types/src/components/NavTreeContainer.d.ts +4 -3
- package/dist/types/src/components/NavTreeContainer.d.ts.map +1 -1
- package/dist/types/src/components/NavTreeContext.d.ts +4 -0
- package/dist/types/src/components/NavTreeContext.d.ts.map +1 -0
- package/dist/types/src/components/NavTreeItemAction.d.ts +1 -1
- package/dist/types/src/components/NavTreeItemAction.d.ts.map +1 -1
- package/dist/types/src/components/NavTreeItemColumns.d.ts +4 -0
- package/dist/types/src/components/NavTreeItemColumns.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +2 -0
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/components/types.d.ts +25 -0
- package/dist/types/src/components/types.d.ts.map +1 -0
- package/dist/types/src/hooks.d.ts +3 -0
- package/dist/types/src/hooks.d.ts.map +1 -0
- package/dist/types/src/stories/Graph.stories.d.ts +2 -2
- package/dist/types/src/stories/Graph.stories.d.ts.map +1 -1
- package/dist/types/src/stories/StorybookNavTree.d.ts +4 -0
- package/dist/types/src/stories/StorybookNavTree.d.ts.map +1 -0
- package/dist/types/src/translations.d.ts +0 -6
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types.d.ts +2 -1
- package/dist/types/src/types.d.ts.map +1 -1
- package/dist/types/src/util.d.ts +9 -0
- package/dist/types/src/util.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +33 -31
- package/src/NavTreePlugin.tsx +8 -10
- package/src/capabilities/app-graph-builder.ts +6 -4
- package/src/capabilities/capabilities.ts +3 -2
- package/src/capabilities/intent-resolver.ts +22 -16
- package/src/capabilities/react-surface.tsx +15 -41
- package/src/capabilities/state.ts +5 -8
- package/src/components/CommandsDialog.tsx +3 -4
- package/src/components/CommandsTrigger.tsx +7 -5
- package/src/components/L0Menu.tsx +210 -0
- package/src/components/L1Panels.tsx +100 -0
- package/src/components/NavTree.stories.tsx +5 -5
- package/src/components/NavTree.tsx +26 -116
- package/src/components/NavTreeContainer.tsx +106 -32
- package/src/components/NavTreeContext.tsx +13 -0
- package/src/components/NavTreeItemAction.tsx +12 -4
- package/src/components/NavTreeItemColumns.tsx +71 -0
- package/src/components/NotchStart.tsx +2 -2
- package/src/components/index.ts +2 -0
- package/src/components/types.ts +33 -0
- package/src/hooks.ts +21 -0
- package/src/stories/Graph.stories.tsx +5 -4
- package/src/stories/StorybookNavTree.tsx +63 -0
- package/src/translations.ts +0 -6
- package/src/types.ts +2 -1
- package/src/util.ts +54 -0
- package/dist/lib/browser/chunk-IMGT2LAL.mjs +0 -658
- package/dist/lib/browser/chunk-IMGT2LAL.mjs.map +0 -7
- package/dist/lib/browser/chunk-OI7AAA6Q.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-74JPWYBP.mjs +0 -42
- package/dist/lib/browser/intent-resolver-74JPWYBP.mjs.map +0 -7
- package/dist/lib/browser/react-surface-6QWXI53A.mjs +0 -189
- package/dist/lib/browser/react-surface-6QWXI53A.mjs.map +0 -7
- package/dist/lib/browser/state-HT65TAYL.mjs.map +0 -7
- package/dist/types/src/components/NavTreeFooter.d.ts +0 -6
- package/dist/types/src/components/NavTreeFooter.d.ts.map +0 -1
- package/src/components/NavTreeFooter.tsx +0 -161
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/plugins/plugin-navtree/src/meta.ts":{"bytes":1521,"imports":[],"format":"esm"},"packages/plugins/plugin-navtree/src/capabilities/capabilities.ts":{"bytes":1857,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/capabilities/app-graph-builder.ts":{"bytes":4862,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/capabilities/intent-resolver.ts":{"bytes":4404,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"packages/plugins/plugin-navtree/src/capabilities/keyboard.ts":{"bytes":7323,"imports":[{"path":"@dxos/app-framework","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":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/CommandsDialog.tsx":{"bytes":16495,"imports":[{"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-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/CommandsTrigger.tsx":{"bytes":4127,"imports":[{"path":"@phosphor-icons/react","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/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/NavTreeItemAction.tsx":{"bytes":10867,"imports":[{"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":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/NavTree.tsx":{"bytes":13566,"imports":[{"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":"@dxos/react-ui-list","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/components/NavTreeItemAction.tsx","kind":"import-statement","original":"./NavTreeItemAction"},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/util.ts":{"bytes":12786,"imports":[{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/NavTreeContainer.tsx":{"bytes":30439,"imports":[{"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-graph","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","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":"packages/plugins/plugin-navtree/src/components/NavTree.tsx","kind":"import-statement","original":"./NavTree"},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-navtree/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/NavTreeDocumentTitle.tsx":{"bytes":2287,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/HaloButton.tsx":{"bytes":4991,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/mesh","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/NotchStart.tsx":{"bytes":4051,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/components/HaloButton.tsx","kind":"import-statement","original":"./HaloButton"}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/index.ts":{"bytes":1052,"imports":[{"path":"packages/plugins/plugin-navtree/src/components/CommandsDialog.tsx","kind":"import-statement","original":"./CommandsDialog"},{"path":"packages/plugins/plugin-navtree/src/components/CommandsTrigger.tsx","kind":"import-statement","original":"./CommandsTrigger"},{"path":"packages/plugins/plugin-navtree/src/components/NavTree.tsx","kind":"import-statement","original":"./NavTree"},{"path":"packages/plugins/plugin-navtree/src/components/NavTreeContainer.tsx","kind":"import-statement","original":"./NavTreeContainer"},{"path":"packages/plugins/plugin-navtree/src/components/NavTreeDocumentTitle.tsx","kind":"import-statement","original":"./NavTreeDocumentTitle"},{"path":"packages/plugins/plugin-navtree/src/components/NotchStart.tsx","kind":"import-statement","original":"./NotchStart"}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/NavTreeFooter.tsx":{"bytes":18100,"imports":[{"path":"date-fns/formatDistance","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","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":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/capabilities/react-surface.tsx":{"bytes":10072,"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":"packages/plugins/plugin-navtree/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-navtree/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-navtree/src/components/NavTreeFooter.tsx","kind":"import-statement","original":"../components/NavTreeFooter"},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-navtree/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-navtree/src/capabilities/state.ts":{"bytes":12981,"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-mosaic","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/capabilities/index.ts":{"bytes":1864,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-navtree/src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"packages/plugins/plugin-navtree/src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"packages/plugins/plugin-navtree/src/capabilities/keyboard.ts","kind":"dynamic-import","original":"./keyboard"},{"path":"packages/plugins/plugin-navtree/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"packages/plugins/plugin-navtree/src/capabilities/state.ts","kind":"dynamic-import","original":"./state"}],"format":"esm"},"packages/plugins/plugin-navtree/src/events.ts":{"bytes":1199,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/translations.ts":{"bytes":2947,"imports":[{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/NavTreePlugin.tsx":{"bytes":11108,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-navtree/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-navtree/src/events.ts","kind":"import-statement","original":"./events"},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-navtree/src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"packages/plugins/plugin-navtree/src/index.ts":{"bytes":1032,"imports":[{"path":"packages/plugins/plugin-navtree/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-navtree/src/events.ts","kind":"import-statement","original":"./events"},{"path":"packages/plugins/plugin-navtree/src/NavTreePlugin.tsx","kind":"import-statement","original":"./NavTreePlugin"},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-navtree/src/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-navtree/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":7779},"packages/plugins/plugin-navtree/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-IMGT2LAL.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-OI7AAA6Q.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-KOXMEAOS.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/app-graph-builder-OF4MMBLH.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/intent-resolver-74JPWYBP.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/keyboard-MUBRTPI5.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/react-surface-6QWXI53A.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/state-HT65TAYL.mjs","kind":"dynamic-import"},{"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","expandActions","expandChildren","expandChildrenAndActions","getActions","getChildren","getParent","getPersistenceParent","meta","resolveMigrationOperation","sortActions"],"entryPoint":"packages/plugins/plugin-navtree/src/index.ts","inputs":{"packages/plugins/plugin-navtree/src/capabilities/index.ts":{"bytesInOutput":386},"packages/plugins/plugin-navtree/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-navtree/src/events.ts":{"bytesInOutput":207},"packages/plugins/plugin-navtree/src/NavTreePlugin.tsx":{"bytesInOutput":2313},"packages/plugins/plugin-navtree/src/translations.ts":{"bytesInOutput":801}},"bytes":4713},"packages/plugins/plugin-navtree/dist/lib/browser/app-graph-builder-OF4MMBLH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2377},"packages/plugins/plugin-navtree/dist/lib/browser/app-graph-builder-OF4MMBLH.mjs":{"imports":[{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-KOXMEAOS.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-navtree/src/capabilities/app-graph-builder.ts","inputs":{"packages/plugins/plugin-navtree/src/capabilities/app-graph-builder.ts":{"bytesInOutput":976}},"bytes":1233},"packages/plugins/plugin-navtree/dist/lib/browser/intent-resolver-74JPWYBP.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2214},"packages/plugins/plugin-navtree/dist/lib/browser/intent-resolver-74JPWYBP.mjs":{"imports":[{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-OI7AAA6Q.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-KOXMEAOS.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-navtree/src/capabilities/intent-resolver.ts","inputs":{"packages/plugins/plugin-navtree/src/capabilities/intent-resolver.ts":{"bytesInOutput":1048}},"bytes":1316},"packages/plugins/plugin-navtree/dist/lib/browser/keyboard-MUBRTPI5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3671},"packages/plugins/plugin-navtree/dist/lib/browser/keyboard-MUBRTPI5.mjs":{"imports":[{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-KOXMEAOS.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","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":"packages/plugins/plugin-navtree/src/capabilities/keyboard.ts","inputs":{"packages/plugins/plugin-navtree/src/capabilities/keyboard.ts":{"bytesInOutput":1480}},"bytes":1688},"packages/plugins/plugin-navtree/dist/lib/browser/react-surface-6QWXI53A.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":14540},"packages/plugins/plugin-navtree/dist/lib/browser/react-surface-6QWXI53A.mjs":{"imports":[{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-IMGT2LAL.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-OI7AAA6Q.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-KOXMEAOS.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},{"path":"date-fns/formatDistance","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","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}],"exports":["default"],"entryPoint":"packages/plugins/plugin-navtree/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-navtree/src/capabilities/react-surface.tsx":{"bytesInOutput":2076},"packages/plugins/plugin-navtree/src/components/NavTreeFooter.tsx":{"bytesInOutput":5043}},"bytes":7736},"packages/plugins/plugin-navtree/dist/lib/browser/chunk-IMGT2LAL.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":51813},"packages/plugins/plugin-navtree/dist/lib/browser/chunk-IMGT2LAL.mjs":{"imports":[{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-KOXMEAOS.mjs","kind":"import-statement"},{"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-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","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/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/util","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-graph","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","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":"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":"@dxos/react-ui-list","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":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/mesh","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["CommandsDialogContent","CommandsTrigger","NODE_TYPE","NavTreeContainer","NavTreeDocumentTitle","NotchStart","expandActions","expandChildren","expandChildrenAndActions","getActions","getChildren","getParent","getPersistenceParent","resolveMigrationOperation","sortActions"],"inputs":{"packages/plugins/plugin-navtree/src/components/CommandsDialog.tsx":{"bytesInOutput":3998},"packages/plugins/plugin-navtree/src/components/CommandsTrigger.tsx":{"bytesInOutput":1022},"packages/plugins/plugin-navtree/src/util.ts":{"bytesInOutput":2751},"packages/plugins/plugin-navtree/src/components/NavTreeContainer.tsx":{"bytesInOutput":7275},"packages/plugins/plugin-navtree/src/components/NavTree.tsx":{"bytesInOutput":3272},"packages/plugins/plugin-navtree/src/components/NavTreeItemAction.tsx":{"bytesInOutput":2574},"packages/plugins/plugin-navtree/src/components/NavTreeDocumentTitle.tsx":{"bytesInOutput":456},"packages/plugins/plugin-navtree/src/components/NotchStart.tsx":{"bytesInOutput":881},"packages/plugins/plugin-navtree/src/components/HaloButton.tsx":{"bytesInOutput":1237},"packages/plugins/plugin-navtree/src/components/index.ts":{"bytesInOutput":0}},"bytes":24707},"packages/plugins/plugin-navtree/dist/lib/browser/state-HT65TAYL.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6598},"packages/plugins/plugin-navtree/dist/lib/browser/state-HT65TAYL.mjs":{"imports":[{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-OI7AAA6Q.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-KOXMEAOS.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-mosaic","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-navtree/src/capabilities/state.ts","inputs":{"packages/plugins/plugin-navtree/src/capabilities/state.ts":{"bytesInOutput":2675}},"bytes":2939},"packages/plugins/plugin-navtree/dist/lib/browser/chunk-OI7AAA6Q.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1005},"packages/plugins/plugin-navtree/dist/lib/browser/chunk-OI7AAA6Q.mjs":{"imports":[{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-KOXMEAOS.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["NavTreeCapabilities"],"inputs":{"packages/plugins/plugin-navtree/src/capabilities/capabilities.ts":{"bytesInOutput":257}},"bytes":462},"packages/plugins/plugin-navtree/dist/lib/browser/chunk-KOXMEAOS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":690},"packages/plugins/plugin-navtree/dist/lib/browser/chunk-KOXMEAOS.mjs":{"imports":[],"exports":["COMMANDS_DIALOG","KEY_BINDING","NAVTREE_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-navtree/src/meta.ts":{"bytesInOutput":175}},"bytes":338}}}
|
|
1
|
+
{"inputs":{"packages/plugins/plugin-navtree/src/meta.ts":{"bytes":1521,"imports":[],"format":"esm"},"packages/plugins/plugin-navtree/src/capabilities/capabilities.ts":{"bytes":2005,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/capabilities/app-graph-builder.ts":{"bytes":5007,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/capabilities/intent-resolver.ts":{"bytes":5294,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"packages/plugins/plugin-navtree/src/capabilities/keyboard.ts":{"bytes":7323,"imports":[{"path":"@dxos/app-framework","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":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/CommandsDialog.tsx":{"bytes":16513,"imports":[{"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/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-searchlist","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/CommandsTrigger.tsx":{"bytes":4234,"imports":[{"path":"@phosphor-icons/react","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/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/NavTreeContext.tsx":{"bytes":1514,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/HaloButton.tsx":{"bytes":4991,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/mesh","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/NotchStart.tsx":{"bytes":4052,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/components/HaloButton.tsx","kind":"import-statement","original":"./HaloButton"}],"format":"esm"},"packages/plugins/plugin-navtree/src/hooks.ts":{"bytes":2031,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/components/NavTreeContext.tsx","kind":"import-statement","original":"./components/NavTreeContext"}],"format":"esm"},"packages/plugins/plugin-navtree/src/util.ts":{"bytes":18367,"imports":[{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/L0Menu.tsx":{"bytes":26513,"imports":[{"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/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/components/NavTreeContext.tsx","kind":"import-statement","original":"./NavTreeContext"},{"path":"packages/plugins/plugin-navtree/src/components/NotchStart.tsx","kind":"import-statement","original":"./NotchStart"},{"path":"packages/plugins/plugin-navtree/src/hooks.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-navtree/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/NavTreeItemAction.tsx":{"bytes":11669,"imports":[{"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":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/NavTreeItemColumns.tsx":{"bytes":9922,"imports":[{"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":"packages/plugins/plugin-navtree/src/components/NavTree.tsx","kind":"import-statement","original":"./NavTree"},{"path":"packages/plugins/plugin-navtree/src/components/NavTreeContext.tsx","kind":"import-statement","original":"./NavTreeContext"},{"path":"packages/plugins/plugin-navtree/src/components/NavTreeItemAction.tsx","kind":"import-statement","original":"./NavTreeItemAction"},{"path":"packages/plugins/plugin-navtree/src/hooks.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/L1Panels.tsx":{"bytes":11419,"imports":[{"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/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/components/NavTreeContext.tsx","kind":"import-statement","original":"./NavTreeContext"},{"path":"packages/plugins/plugin-navtree/src/components/NavTreeItemColumns.tsx","kind":"import-statement","original":"./NavTreeItemColumns"},{"path":"packages/plugins/plugin-navtree/src/hooks.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-navtree/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/NavTree.tsx":{"bytes":6573,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/components/L0Menu.tsx","kind":"import-statement","original":"./L0Menu"},{"path":"packages/plugins/plugin-navtree/src/components/L1Panels.tsx","kind":"import-statement","original":"./L1Panels"},{"path":"packages/plugins/plugin-navtree/src/components/NavTreeContext.tsx","kind":"import-statement","original":"./NavTreeContext"},{"path":"packages/plugins/plugin-navtree/src/hooks.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/NavTreeContainer.tsx":{"bytes":36724,"imports":[{"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/react-client/echo","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":"packages/plugins/plugin-navtree/src/components/NavTree.tsx","kind":"import-statement","original":"./NavTree"},{"path":"packages/plugins/plugin-navtree/src/components/NavTreeContext.tsx","kind":"import-statement","original":"./NavTreeContext"},{"path":"packages/plugins/plugin-navtree/src/capabilities/index.ts","kind":"import-statement","original":"../capabilities"},{"path":"packages/plugins/plugin-navtree/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/NavTreeDocumentTitle.tsx":{"bytes":2287,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/components/types.ts":{"bytes":1770,"imports":[],"format":"esm"},"packages/plugins/plugin-navtree/src/components/index.ts":{"bytes":1239,"imports":[{"path":"packages/plugins/plugin-navtree/src/components/CommandsDialog.tsx","kind":"import-statement","original":"./CommandsDialog"},{"path":"packages/plugins/plugin-navtree/src/components/CommandsTrigger.tsx","kind":"import-statement","original":"./CommandsTrigger"},{"path":"packages/plugins/plugin-navtree/src/components/NavTree.tsx","kind":"import-statement","original":"./NavTree"},{"path":"packages/plugins/plugin-navtree/src/components/NavTreeContainer.tsx","kind":"import-statement","original":"./NavTreeContainer"},{"path":"packages/plugins/plugin-navtree/src/components/NavTreeContext.tsx","kind":"import-statement","original":"./NavTreeContext"},{"path":"packages/plugins/plugin-navtree/src/components/NavTreeDocumentTitle.tsx","kind":"import-statement","original":"./NavTreeDocumentTitle"},{"path":"packages/plugins/plugin-navtree/src/components/NotchStart.tsx","kind":"import-statement","original":"./NotchStart"},{"path":"packages/plugins/plugin-navtree/src/components/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-navtree/src/capabilities/react-surface.tsx":{"bytes":6457,"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":"packages/plugins/plugin-navtree/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/capabilities/state.ts":{"bytes":12275,"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-mosaic","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/capabilities/index.ts":{"bytes":1864,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/capabilities/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-navtree/src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"packages/plugins/plugin-navtree/src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"packages/plugins/plugin-navtree/src/capabilities/keyboard.ts","kind":"dynamic-import","original":"./keyboard"},{"path":"packages/plugins/plugin-navtree/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"},{"path":"packages/plugins/plugin-navtree/src/capabilities/state.ts","kind":"dynamic-import","original":"./state"}],"format":"esm"},"packages/plugins/plugin-navtree/src/events.ts":{"bytes":1199,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/translations.ts":{"bytes":1959,"imports":[{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/NavTreePlugin.tsx":{"bytes":10777,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-navtree/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-navtree/src/events.ts","kind":"import-statement","original":"./events"},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-navtree/src/translations.ts","kind":"import-statement","original":"./translations"}],"format":"esm"},"packages/plugins/plugin-navtree/src/index.ts":{"bytes":1032,"imports":[{"path":"packages/plugins/plugin-navtree/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-navtree/src/events.ts","kind":"import-statement","original":"./events"},{"path":"packages/plugins/plugin-navtree/src/NavTreePlugin.tsx","kind":"import-statement","original":"./NavTreePlugin"},{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-navtree/src/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-navtree/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6356},"packages/plugins/plugin-navtree/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-54MPRXMH.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-AOAGODQB.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-KOXMEAOS.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","expandActions","expandChildren","expandChildrenAndActions","getActions","getChildren","getFirstTwoRenderableChars","getParent","getPersistenceParent","l0ItemType","meta","resolveMigrationOperation","sortActions"],"entryPoint":"packages/plugins/plugin-navtree/src/index.ts","inputs":{"packages/plugins/plugin-navtree/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-navtree/src/events.ts":{"bytesInOutput":207},"packages/plugins/plugin-navtree/src/NavTreePlugin.tsx":{"bytesInOutput":2231},"packages/plugins/plugin-navtree/src/translations.ts":{"bytesInOutput":453}},"bytes":3997},"packages/plugins/plugin-navtree/dist/lib/browser/app-graph-builder-BL7LRXCM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2435},"packages/plugins/plugin-navtree/dist/lib/browser/app-graph-builder-BL7LRXCM.mjs":{"imports":[{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-KOXMEAOS.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-navtree/src/capabilities/app-graph-builder.ts","inputs":{"packages/plugins/plugin-navtree/src/capabilities/app-graph-builder.ts":{"bytesInOutput":1003}},"bytes":1260},"packages/plugins/plugin-navtree/dist/lib/browser/intent-resolver-U25VBFH3.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2665},"packages/plugins/plugin-navtree/dist/lib/browser/intent-resolver-U25VBFH3.mjs":{"imports":[{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-AOAGODQB.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-KOXMEAOS.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-navtree/src/capabilities/intent-resolver.ts","inputs":{"packages/plugins/plugin-navtree/src/capabilities/intent-resolver.ts":{"bytesInOutput":1242}},"bytes":1510},"packages/plugins/plugin-navtree/dist/lib/browser/keyboard-MUBRTPI5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3671},"packages/plugins/plugin-navtree/dist/lib/browser/keyboard-MUBRTPI5.mjs":{"imports":[{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-KOXMEAOS.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","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":"packages/plugins/plugin-navtree/src/capabilities/keyboard.ts","inputs":{"packages/plugins/plugin-navtree/src/capabilities/keyboard.ts":{"bytesInOutput":1480}},"bytes":1688},"packages/plugins/plugin-navtree/dist/lib/browser/react-surface-LNRTNSM6.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3166},"packages/plugins/plugin-navtree/dist/lib/browser/react-surface-LNRTNSM6.mjs":{"imports":[{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-54MPRXMH.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-AOAGODQB.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-KOXMEAOS.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":"packages/plugins/plugin-navtree/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-navtree/src/capabilities/react-surface.tsx":{"bytesInOutput":1411}},"bytes":1829},"packages/plugins/plugin-navtree/dist/lib/browser/chunk-54MPRXMH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":80817},"packages/plugins/plugin-navtree/dist/lib/browser/chunk-54MPRXMH.mjs":{"imports":[{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-AOAGODQB.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-KOXMEAOS.mjs","kind":"import-statement"},{"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/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-searchlist","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","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/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/mesh","kind":"import-statement","external":true},{"path":"@dxos/react-ui","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-graph","kind":"import-statement","external":true},{"path":"@dxos/util","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/react-client/echo","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":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/util","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/react-ui-tabs","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","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":"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/react-ui-list","kind":"import-statement","external":true},{"path":"@dxos/react-ui-tabs","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":"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":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/app-graph-builder-BL7LRXCM.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/intent-resolver-U25VBFH3.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/keyboard-MUBRTPI5.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/react-surface-LNRTNSM6.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/state-65TQKYX7.mjs","kind":"dynamic-import"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["AppGraphBuilder","CommandsDialogContent","CommandsTrigger","IntentResolver","Keyboard","NODE_TYPE","NavTreeContainer","NavTreeDocumentTitle","NotchStart","ReactSurface","State","expandActions","expandChildren","expandChildrenAndActions","getActions","getChildren","getFirstTwoRenderableChars","getParent","getPersistenceParent","l0ItemType","resolveMigrationOperation","sortActions"],"inputs":{"packages/plugins/plugin-navtree/src/components/CommandsDialog.tsx":{"bytesInOutput":4002},"packages/plugins/plugin-navtree/src/components/CommandsTrigger.tsx":{"bytesInOutput":1039},"packages/plugins/plugin-navtree/src/components/NotchStart.tsx":{"bytesInOutput":882},"packages/plugins/plugin-navtree/src/components/HaloButton.tsx":{"bytesInOutput":1237},"packages/plugins/plugin-navtree/src/util.ts":{"bytesInOutput":3760},"packages/plugins/plugin-navtree/src/components/NavTreeContainer.tsx":{"bytesInOutput":8864},"packages/plugins/plugin-navtree/src/components/NavTree.tsx":{"bytesInOutput":1609},"packages/plugins/plugin-navtree/src/components/L0Menu.tsx":{"bytesInOutput":7063},"packages/plugins/plugin-navtree/src/components/NavTreeContext.tsx":{"bytesInOutput":252},"packages/plugins/plugin-navtree/src/hooks.ts":{"bytesInOutput":334},"packages/plugins/plugin-navtree/src/components/L1Panels.tsx":{"bytesInOutput":2924},"packages/plugins/plugin-navtree/src/components/NavTreeItemColumns.tsx":{"bytesInOutput":2423},"packages/plugins/plugin-navtree/src/components/NavTreeItemAction.tsx":{"bytesInOutput":2792},"packages/plugins/plugin-navtree/src/capabilities/index.ts":{"bytesInOutput":387},"packages/plugins/plugin-navtree/src/components/NavTreeDocumentTitle.tsx":{"bytesInOutput":456},"packages/plugins/plugin-navtree/src/components/index.ts":{"bytesInOutput":0}},"bytes":40039},"packages/plugins/plugin-navtree/dist/lib/browser/state-65TQKYX7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6219},"packages/plugins/plugin-navtree/dist/lib/browser/state-65TQKYX7.mjs":{"imports":[{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-AOAGODQB.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-KOXMEAOS.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-mosaic","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-navtree/src/capabilities/state.ts","inputs":{"packages/plugins/plugin-navtree/src/capabilities/state.ts":{"bytesInOutput":2489}},"bytes":2753},"packages/plugins/plugin-navtree/dist/lib/browser/chunk-AOAGODQB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1116},"packages/plugins/plugin-navtree/dist/lib/browser/chunk-AOAGODQB.mjs":{"imports":[{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-KOXMEAOS.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["NavTreeCapabilities"],"inputs":{"packages/plugins/plugin-navtree/src/capabilities/capabilities.ts":{"bytesInOutput":257}},"bytes":462},"packages/plugins/plugin-navtree/dist/lib/browser/chunk-KOXMEAOS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":690},"packages/plugins/plugin-navtree/dist/lib/browser/chunk-KOXMEAOS.mjs":{"imports":[],"exports":["COMMANDS_DIALOG","KEY_BINDING","NAVTREE_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-navtree/src/meta.ts":{"bytesInOutput":175}},"bytes":338}}}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CommandsDialogContent,
|
|
3
|
+
CommandsTrigger,
|
|
4
|
+
NavTreeContainer,
|
|
5
|
+
NavTreeDocumentTitle,
|
|
6
|
+
NotchStart
|
|
7
|
+
} from "./chunk-54MPRXMH.mjs";
|
|
8
|
+
import "./chunk-AOAGODQB.mjs";
|
|
9
|
+
import {
|
|
10
|
+
COMMANDS_DIALOG,
|
|
11
|
+
NAVTREE_PLUGIN
|
|
12
|
+
} from "./chunk-KOXMEAOS.mjs";
|
|
13
|
+
|
|
14
|
+
// packages/plugins/plugin-navtree/src/capabilities/react-surface.tsx
|
|
15
|
+
import React from "react";
|
|
16
|
+
import { Capabilities, contributes, createSurface } from "@dxos/app-framework";
|
|
17
|
+
import { isGraphNode } from "@dxos/plugin-graph";
|
|
18
|
+
var react_surface_default = () => contributes(Capabilities.ReactSurface, [
|
|
19
|
+
createSurface({
|
|
20
|
+
id: COMMANDS_DIALOG,
|
|
21
|
+
role: "dialog",
|
|
22
|
+
filter: (data) => data.component === COMMANDS_DIALOG,
|
|
23
|
+
component: ({ data }) => /* @__PURE__ */ React.createElement(CommandsDialogContent, data.props)
|
|
24
|
+
}),
|
|
25
|
+
createSurface({
|
|
26
|
+
id: `${NAVTREE_PLUGIN}/navigation`,
|
|
27
|
+
role: "navigation",
|
|
28
|
+
filter: (data) => typeof data.current === "string",
|
|
29
|
+
component: ({ data }) => /* @__PURE__ */ React.createElement(NavTreeContainer, {
|
|
30
|
+
tab: data.current,
|
|
31
|
+
popoverAnchorId: data.popoverAnchorId,
|
|
32
|
+
topbar: data.topbar
|
|
33
|
+
})
|
|
34
|
+
}),
|
|
35
|
+
createSurface({
|
|
36
|
+
id: `${NAVTREE_PLUGIN}/document-title`,
|
|
37
|
+
role: "document-title",
|
|
38
|
+
component: ({ data }) => /* @__PURE__ */ React.createElement(NavTreeDocumentTitle, {
|
|
39
|
+
node: isGraphNode(data.subject) ? data.subject : void 0
|
|
40
|
+
})
|
|
41
|
+
}),
|
|
42
|
+
createSurface({
|
|
43
|
+
id: `${NAVTREE_PLUGIN}/notch-start`,
|
|
44
|
+
role: "notch-start",
|
|
45
|
+
component: () => /* @__PURE__ */ React.createElement(NotchStart, null)
|
|
46
|
+
}),
|
|
47
|
+
createSurface({
|
|
48
|
+
id: `${NAVTREE_PLUGIN}/search-input`,
|
|
49
|
+
role: "search-input",
|
|
50
|
+
position: "fallback",
|
|
51
|
+
component: () => /* @__PURE__ */ React.createElement(CommandsTrigger, null)
|
|
52
|
+
})
|
|
53
|
+
]);
|
|
54
|
+
export {
|
|
55
|
+
react_surface_default as default
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=react-surface-LNRTNSM6.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 {\n CommandsDialogContent,\n CommandsTrigger,\n NavTreeDocumentTitle,\n NotchStart,\n NavTreeContainer,\n} from '../components';\nimport { COMMANDS_DIALOG, NAVTREE_PLUGIN } 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: `${NAVTREE_PLUGIN}/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: `${NAVTREE_PLUGIN}/document-title`,\n role: 'document-title',\n component: ({ data }) => <NavTreeDocumentTitle node={isGraphNode(data.subject) ? data.subject : undefined} />,\n }),\n createSurface({\n id: `${NAVTREE_PLUGIN}/notch-start`,\n role: 'notch-start',\n component: () => <NotchStart />,\n }),\n createSurface({\n id: `${NAVTREE_PLUGIN}/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;AAW5B,IAAA,wBAAe,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,cAAAA;IACPN,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,cAAAA;IACPN,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,cAAAA;IACPN,MAAM;IACNG,WAAW,MAAM,sBAAA,cAACc,YAAAA,IAAAA;EACpB,CAAA;EACApB,cAAc;IACZC,IAAI,GAAGQ,cAAAA;IACPN,MAAM;IACNkB,UAAU;IACVf,WAAW,MAAM,sBAAA,cAACgB,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", "NAVTREE_PLUGIN", "current", "NavTreeContainer", "tab", "popoverAnchorId", "topbar", "NavTreeDocumentTitle", "node", "isGraphNode", "subject", "undefined", "NotchStart", "position", "CommandsTrigger"]
|
|
7
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NavTreeCapabilities
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AOAGODQB.mjs";
|
|
4
4
|
import {
|
|
5
5
|
NAVTREE_PLUGIN
|
|
6
6
|
} from "./chunk-KOXMEAOS.mjs";
|
|
@@ -29,6 +29,7 @@ var getInitialState = () => {
|
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
var state_default = (context) => {
|
|
32
|
+
const layout = context.requestCapability(Capabilities.Layout);
|
|
32
33
|
const state = new Map(getInitialState() ?? [
|
|
33
34
|
// TODO(thure): Initialize these dynamically.
|
|
34
35
|
[
|
|
@@ -71,14 +72,10 @@ var state_default = (context) => {
|
|
|
71
72
|
};
|
|
72
73
|
const isOpen = (path) => getItem(path).open;
|
|
73
74
|
const isCurrent = (path) => getItem(path).current;
|
|
74
|
-
const location = context.requestCapability(Capabilities.Location);
|
|
75
|
-
const layout = context.requestCapability(Capabilities.Layout);
|
|
76
75
|
let previous = [];
|
|
77
76
|
const unsubscribe = effect(() => {
|
|
78
|
-
const
|
|
79
|
-
|
|
80
|
-
const removed = previous.filter((id) => !current.includes(id));
|
|
81
|
-
previous = current;
|
|
77
|
+
const removed = previous.filter((id) => !layout.active.includes(id));
|
|
78
|
+
previous = layout.active;
|
|
82
79
|
setTimeout(() => {
|
|
83
80
|
removed.forEach((id) => {
|
|
84
81
|
const keys = Array.from(state.keys()).filter((key) => Path.last(key) === id);
|
|
@@ -86,7 +83,7 @@ var state_default = (context) => {
|
|
|
86
83
|
setItem(Path.parts(key), "current", false);
|
|
87
84
|
});
|
|
88
85
|
});
|
|
89
|
-
|
|
86
|
+
layout.active.forEach((id) => {
|
|
90
87
|
const keys = Array.from(/* @__PURE__ */ new Set([
|
|
91
88
|
...state.keys(),
|
|
92
89
|
id
|
|
@@ -108,4 +105,4 @@ var state_default = (context) => {
|
|
|
108
105
|
export {
|
|
109
106
|
state_default as default
|
|
110
107
|
};
|
|
111
|
-
//# sourceMappingURL=state-
|
|
108
|
+
//# sourceMappingURL=state-65TQKYX7.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 } from '@preact/signals-core';\n\nimport { Capabilities, contributes, type PluginsContext } from '@dxos/app-framework';\nimport { type ReactiveObject, create } from '@dxos/live-object';\nimport { Path } from '@dxos/react-ui-mosaic';\n\nimport { NavTreeCapabilities } from './capabilities';\nimport { NAVTREE_PLUGIN } from '../meta';\n\nconst KEY = `${NAVTREE_PLUGIN}/state`;\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(\n ([key, value]): [\n string,\n ReactiveObject<{\n open: boolean;\n current: boolean;\n }>,\n ] => [key, create({ open: value.open, current: false })],\n );\n } catch {}\n};\n\nexport default (context: PluginsContext) => {\n const layout = context.requestCapability(Capabilities.Layout);\n\n // TODO(wittjosiah): This currently needs to be not a ReactiveObject at the root.\n // If it is a ReactiveObject then React errors when initializing new paths because of state change during render.\n // Ideally this could be a ReactiveObject 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, ReactiveObject<{ open: boolean; current: boolean }>>(\n getInitialState() ?? [\n // TODO(thure): Initialize these dynamically.\n ['root', create({ open: true, current: false })],\n ['root~dxos.org/plugin/space-spaces', create({ open: true, current: false })],\n ['root~dxos.org/plugin/files', create({ open: true, current: false })],\n ],\n );\n\n const getItem = (_path: string[]) => {\n const path = Path.create(..._path);\n const value = state.get(path) ?? create({ open: false, current: 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', 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\n let previous: string[] = [];\n const unsubscribe = effect(() => {\n const removed = previous.filter((id) => !layout.active.includes(id));\n previous = layout.active;\n\n // TODO(wittjosiah): This is setTimeout because there's a race between the keys be initialized.\n // This could be avoided if the location was a path as well and not just an id.\n setTimeout(() => {\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\n return contributes(NavTreeCapabilities.State, { state, getItem, setItem, isOpen, isCurrent }, () => unsubscribe());\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;;;AAIA,SAASA,cAAc;AAEvB,SAASC,cAAcC,mBAAwC;AAC/D,SAA8BC,cAAc;AAC5C,SAASC,YAAY;AAKrB,IAAMC,MAAM,GAAGC,cAAAA;AAEf,IAAMC,kBAAkB,MAAA;AACtB,QAAMC,cAAcC,aAAaC,QAAQL,GAAAA;AACzC,MAAI,CAACG,aAAa;AAChB;EACF;AAEA,MAAI;AACF,UAAMG,SAA0DC,KAAKC,MAAML,WAAAA;AAC3E,WAAOG,OAAOG,IACZ,CAAC,CAACC,KAAKC,KAAAA,MAMF;MAACD;MAAKE,OAAO;QAAEC,MAAMF,MAAME;QAAMC,SAAS;MAAM,CAAA;KAAG;EAE5D,QAAQ;EAAC;AACX;AAEA,IAAA,gBAAe,CAACC,YAAAA;AACd,QAAMC,SAASD,QAAQE,kBAAkBC,aAAaC,MAAM;AAM5D,QAAMC,QAAQ,IAAIC,IAChBnB,gBAAAA,KAAqB;;IAEnB;MAAC;MAAQU,OAAO;QAAEC,MAAM;QAAMC,SAAS;MAAM,CAAA;;IAC7C;MAAC;MAAqCF,OAAO;QAAEC,MAAM;QAAMC,SAAS;MAAM,CAAA;;IAC1E;MAAC;MAA8BF,OAAO;QAAEC,MAAM;QAAMC,SAAS;MAAM,CAAA;;GACpE;AAGH,QAAMT,UAAU,CAACiB,UAAAA;AACf,UAAMC,OAAOC,KAAKZ,OAAM,GAAIU,KAAAA;AAC5B,UAAMX,QAAQS,MAAMK,IAAIF,IAAAA,KAASX,OAAO;MAAEC,MAAM;MAAOC,SAAS;IAAM,CAAA;AACtE,QAAI,CAACM,MAAMM,IAAIH,IAAAA,GAAO;AACpBH,YAAMO,IAAIJ,MAAMZ,KAAAA;IAClB;AAEA,WAAOA;EACT;AAEA,QAAMiB,UAAU,CAACL,MAAgBb,KAAyBmB,SAAAA;AACxD,UAAMlB,QAAQN,QAAQkB,IAAAA;AACtBZ,UAAMD,GAAAA,IAAOmB;AAEbzB,iBAAawB,QAAQ5B,KAAKO,KAAKuB,UAAUC,MAAMC,KAAKZ,MAAMa,QAAO,CAAA,CAAA,CAAA;EACnE;AAEA,QAAMC,SAAS,CAACX,SAAmBlB,QAAQkB,IAAAA,EAAMV;AACjD,QAAMsB,YAAY,CAACZ,SAAmBlB,QAAQkB,IAAAA,EAAMT;AAEpD,MAAIsB,WAAqB,CAAA;AACzB,QAAMC,cAAcC,OAAO,MAAA;AACzB,UAAMC,UAAUH,SAASI,OAAO,CAACC,OAAO,CAACzB,OAAO0B,OAAOC,SAASF,EAAAA,CAAAA;AAChEL,eAAWpB,OAAO0B;AAIlBE,eAAW,MAAA;AACTL,cAAQM,QAAQ,CAACJ,OAAAA;AACf,cAAMK,OAAOf,MAAMC,KAAKZ,MAAM0B,KAAI,CAAA,EAAIN,OAAO,CAAC9B,QAAQc,KAAKuB,KAAKrC,GAAAA,MAAS+B,EAAAA;AACzEK,aAAKD,QAAQ,CAACnC,QAAAA;AACZkB,kBAAQJ,KAAKwB,MAAMtC,GAAAA,GAAM,WAAW,KAAA;QACtC,CAAA;MACF,CAAA;AAEAM,aAAO0B,OAAOG,QAAQ,CAACJ,OAAAA;AACrB,cAAMK,OAAOf,MAAMC,KAAK,oBAAIiB,IAAI;aAAI7B,MAAM0B,KAAI;UAAIL;SAAG,CAAA,EAAGD,OAAO,CAAC9B,QAAQc,KAAKuB,KAAKrC,GAAAA,MAAS+B,EAAAA;AAC3FK,aAAKD,QAAQ,CAACnC,QAAAA;AACZkB,kBAAQJ,KAAKwB,MAAMtC,GAAAA,GAAM,WAAW,IAAA;QACtC,CAAA;MACF,CAAA;IACF,CAAA;EACF,CAAA;AAEA,SAAOwC,YAAYC,oBAAoBC,OAAO;IAAEhC;IAAOf;IAASuB;IAASM;IAAQC;EAAU,GAAG,MAAME,YAAAA,CAAAA;AACtG;",
|
|
6
|
+
"names": ["effect", "Capabilities", "contributes", "create", "Path", "KEY", "NAVTREE_PLUGIN", "getInitialState", "stringified", "localStorage", "getItem", "cached", "JSON", "parse", "map", "key", "value", "create", "open", "current", "context", "layout", "requestCapability", "Capabilities", "Layout", "state", "Map", "_path", "path", "Path", "get", "has", "set", "setItem", "next", "stringify", "Array", "from", "entries", "isOpen", "isCurrent", "previous", "unsubscribe", "effect", "removed", "filter", "id", "active", "includes", "setTimeout", "forEach", "keys", "last", "parts", "Set", "contributes", "NavTreeCapabilities", "State"]
|
|
7
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavTreePlugin.d.ts","sourceRoot":"","sources":["../../../src/NavTreePlugin.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavTreePlugin.d.ts","sourceRoot":"","sources":["../../../src/NavTreePlugin.tsx"],"names":[],"mappings":"AAsBA,eAAO,MAAM,aAAa,4CAmEtB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { type PluginsContext } from '@dxos/app-framework';
|
|
|
2
2
|
import { type Node } from '@dxos/plugin-graph';
|
|
3
3
|
declare const _default: (context: PluginsContext) => import("@dxos/app-framework").Capability<Readonly<{
|
|
4
4
|
id: string;
|
|
5
|
-
|
|
5
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
6
6
|
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
7
7
|
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
8
8
|
relation?: import("@dxos/plugin-graph").Relation;
|
|
@@ -10,7 +10,7 @@ declare const _default: (context: PluginsContext) => import("@dxos/app-framework
|
|
|
10
10
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
11
11
|
}> | Readonly<{
|
|
12
12
|
id: string;
|
|
13
|
-
|
|
13
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
14
14
|
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
15
15
|
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
16
16
|
relation?: import("@dxos/plugin-graph").Relation;
|
|
@@ -18,7 +18,7 @@ declare const _default: (context: PluginsContext) => import("@dxos/app-framework
|
|
|
18
18
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
19
19
|
}>[] | (Readonly<{
|
|
20
20
|
id: string;
|
|
21
|
-
|
|
21
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
22
22
|
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
23
23
|
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
24
24
|
relation?: import("@dxos/plugin-graph").Relation;
|
|
@@ -26,7 +26,7 @@ declare const _default: (context: PluginsContext) => import("@dxos/app-framework
|
|
|
26
26
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
27
27
|
}> | Readonly<{
|
|
28
28
|
id: string;
|
|
29
|
-
|
|
29
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
30
30
|
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
31
31
|
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
32
32
|
relation?: import("@dxos/plugin-graph").Relation;
|
|
@@ -34,7 +34,7 @@ declare const _default: (context: PluginsContext) => import("@dxos/app-framework
|
|
|
34
34
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
35
35
|
}>[] | (Readonly<{
|
|
36
36
|
id: string;
|
|
37
|
-
|
|
37
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
38
38
|
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
39
39
|
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
40
40
|
relation?: import("@dxos/plugin-graph").Relation;
|
|
@@ -42,7 +42,7 @@ declare const _default: (context: PluginsContext) => import("@dxos/app-framework
|
|
|
42
42
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
43
43
|
}> | Readonly<{
|
|
44
44
|
id: string;
|
|
45
|
-
|
|
45
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
46
46
|
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
47
47
|
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
48
48
|
relation?: import("@dxos/plugin-graph").Relation;
|
|
@@ -50,7 +50,7 @@ declare const _default: (context: PluginsContext) => import("@dxos/app-framework
|
|
|
50
50
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
51
51
|
}>[] | (Readonly<{
|
|
52
52
|
id: string;
|
|
53
|
-
|
|
53
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
54
54
|
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
55
55
|
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
56
56
|
relation?: import("@dxos/plugin-graph").Relation;
|
|
@@ -58,7 +58,7 @@ declare const _default: (context: PluginsContext) => import("@dxos/app-framework
|
|
|
58
58
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
59
59
|
}> | Readonly<{
|
|
60
60
|
id: string;
|
|
61
|
-
|
|
61
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
62
62
|
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
63
63
|
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
64
64
|
relation?: import("@dxos/plugin-graph").Relation;
|
|
@@ -66,7 +66,7 @@ declare const _default: (context: PluginsContext) => import("@dxos/app-framework
|
|
|
66
66
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
67
67
|
}>[] | (Readonly<{
|
|
68
68
|
id: string;
|
|
69
|
-
|
|
69
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
70
70
|
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
71
71
|
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
72
72
|
relation?: import("@dxos/plugin-graph").Relation;
|
|
@@ -74,7 +74,7 @@ declare const _default: (context: PluginsContext) => import("@dxos/app-framework
|
|
|
74
74
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
75
75
|
}> | Readonly<{
|
|
76
76
|
id: string;
|
|
77
|
-
|
|
77
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
78
78
|
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
79
79
|
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
80
80
|
relation?: import("@dxos/plugin-graph").Relation;
|
|
@@ -82,7 +82,7 @@ declare const _default: (context: PluginsContext) => import("@dxos/app-framework
|
|
|
82
82
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
83
83
|
}>[] | (Readonly<{
|
|
84
84
|
id: string;
|
|
85
|
-
|
|
85
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
86
86
|
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
87
87
|
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
88
88
|
relation?: import("@dxos/plugin-graph").Relation;
|
|
@@ -90,7 +90,7 @@ declare const _default: (context: PluginsContext) => import("@dxos/app-framework
|
|
|
90
90
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
91
91
|
}> | Readonly<{
|
|
92
92
|
id: string;
|
|
93
|
-
|
|
93
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
94
94
|
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
95
95
|
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
96
96
|
relation?: import("@dxos/plugin-graph").Relation;
|
|
@@ -98,7 +98,7 @@ declare const _default: (context: PluginsContext) => import("@dxos/app-framework
|
|
|
98
98
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
99
99
|
}>[] | (Readonly<{
|
|
100
100
|
id: string;
|
|
101
|
-
|
|
101
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
102
102
|
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
103
103
|
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
104
104
|
relation?: import("@dxos/plugin-graph").Relation;
|
|
@@ -106,7 +106,7 @@ declare const _default: (context: PluginsContext) => import("@dxos/app-framework
|
|
|
106
106
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
107
107
|
}> | Readonly<{
|
|
108
108
|
id: string;
|
|
109
|
-
|
|
109
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
110
110
|
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
111
111
|
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
112
112
|
relation?: import("@dxos/plugin-graph").Relation;
|
|
@@ -114,7 +114,7 @@ declare const _default: (context: PluginsContext) => import("@dxos/app-framework
|
|
|
114
114
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
115
115
|
}>[] | (Readonly<{
|
|
116
116
|
id: string;
|
|
117
|
-
|
|
117
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
118
118
|
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
119
119
|
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
120
120
|
relation?: import("@dxos/plugin-graph").Relation;
|
|
@@ -122,7 +122,7 @@ declare const _default: (context: PluginsContext) => import("@dxos/app-framework
|
|
|
122
122
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
123
123
|
}> | Readonly<{
|
|
124
124
|
id: string;
|
|
125
|
-
|
|
125
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
126
126
|
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
127
127
|
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
128
128
|
relation?: import("@dxos/plugin-graph").Relation;
|
|
@@ -130,7 +130,7 @@ declare const _default: (context: PluginsContext) => import("@dxos/app-framework
|
|
|
130
130
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
131
131
|
}>[] | (Readonly<{
|
|
132
132
|
id: string;
|
|
133
|
-
|
|
133
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
134
134
|
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
135
135
|
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
136
136
|
relation?: import("@dxos/plugin-graph").Relation;
|
|
@@ -138,7 +138,7 @@ declare const _default: (context: PluginsContext) => import("@dxos/app-framework
|
|
|
138
138
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
139
139
|
}> | Readonly<{
|
|
140
140
|
id: string;
|
|
141
|
-
|
|
141
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
142
142
|
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
143
143
|
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
144
144
|
relation?: import("@dxos/plugin-graph").Relation;
|
|
@@ -146,7 +146,7 @@ declare const _default: (context: PluginsContext) => import("@dxos/app-framework
|
|
|
146
146
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
147
147
|
}>[] | (Readonly<{
|
|
148
148
|
id: string;
|
|
149
|
-
|
|
149
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
150
150
|
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
151
151
|
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
152
152
|
relation?: import("@dxos/plugin-graph").Relation;
|
|
@@ -154,7 +154,7 @@ declare const _default: (context: PluginsContext) => import("@dxos/app-framework
|
|
|
154
154
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
155
155
|
}> | Readonly<{
|
|
156
156
|
id: string;
|
|
157
|
-
|
|
157
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
158
158
|
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
159
159
|
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
160
160
|
relation?: import("@dxos/plugin-graph").Relation;
|
|
@@ -162,7 +162,7 @@ declare const _default: (context: PluginsContext) => import("@dxos/app-framework
|
|
|
162
162
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
163
163
|
}>[] | (any[] | Readonly<{
|
|
164
164
|
id: string;
|
|
165
|
-
|
|
165
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
166
166
|
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
167
167
|
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
168
168
|
relation?: import("@dxos/plugin-graph").Relation;
|
|
@@ -170,7 +170,7 @@ declare const _default: (context: PluginsContext) => import("@dxos/app-framework
|
|
|
170
170
|
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
171
171
|
}> | Readonly<{
|
|
172
172
|
id: string;
|
|
173
|
-
|
|
173
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
174
174
|
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
175
175
|
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
176
176
|
relation?: import("@dxos/plugin-graph").Relation;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6B,KAAK,cAAc,EAA8B,MAAM,qBAAqB,CAAC;AACjH,OAAO,EAAmB,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;kCAIvC,cAAc;;
|
|
1
|
+
{"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,EAA6B,KAAK,cAAc,EAA8B,MAAM,qBAAqB,CAAC;AACjH,OAAO,EAAmB,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;kCAIvC,cAAc;;qBAiCq6D,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAwF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;;qBAAqF,qCAAqC;sBAAsC,oBAAiB;uBAAgD,oBAAiB;sBAAgD,oBAAiB;;2BAAkE,uCAAiB;;AAjCzxU,wBAgCI"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type ReactiveObject } from '@dxos/live-object';
|
|
2
|
+
import { type NavTreeItemGraphNode } from '../types';
|
|
2
3
|
export declare namespace NavTreeCapabilities {
|
|
3
4
|
const State: import("@dxos/app-framework").InterfaceDef<{
|
|
4
5
|
state: Map<string, ReactiveObject<{
|
|
@@ -10,8 +11,8 @@ export declare namespace NavTreeCapabilities {
|
|
|
10
11
|
current: boolean;
|
|
11
12
|
}>;
|
|
12
13
|
setItem: (path: string[], key: "open" | "current", next: boolean) => void;
|
|
13
|
-
isOpen: (path: string[]) => boolean;
|
|
14
|
-
isCurrent: (path: string[]) => boolean;
|
|
14
|
+
isOpen: (path: string[], item: NavTreeItemGraphNode) => boolean;
|
|
15
|
+
isCurrent: (path: string[], item: NavTreeItemGraphNode) => boolean;
|
|
15
16
|
}>;
|
|
16
17
|
}
|
|
17
18
|
//# sourceMappingURL=capabilities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/capabilities.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/capabilities.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGxD,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAErD,yBAAiB,mBAAmB,CAAC;IAC5B,MAAM,KAAK;eACT,GAAG,CAAC,MAAM,EAAE,cAAc,CAAC;YAAE,IAAI,EAAE,OAAO,CAAC;YAAC,OAAO,EAAE,OAAO,CAAA;SAAE,CAAC,CAAC;iBAC9D,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,cAAc,CAAC;YAAE,IAAI,EAAE,OAAO,CAAC;YAAC,OAAO,EAAE,OAAO,CAAA;SAAE,CAAC;iBACvE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,GAAG,SAAS,EAAE,IAAI,EAAE,OAAO,KAAK,IAAI;gBACjE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,oBAAoB,KAAK,OAAO;mBACpD,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,oBAAoB,KAAK,OAAO;MAC5B,CAAC;CAC1C"}
|