@dxos/plugin-navtree 0.7.4 → 0.7.5-labs.071a3e2
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-BL7LRXCM.mjs +44 -0
- package/dist/lib/browser/app-graph-builder-BL7LRXCM.mjs.map +7 -0
- package/dist/lib/browser/chunk-54MPRXMH.mjs +1109 -0
- package/dist/lib/browser/chunk-54MPRXMH.mjs.map +7 -0
- package/dist/lib/browser/chunk-AOAGODQB.mjs +15 -0
- package/dist/lib/browser/chunk-AOAGODQB.mjs.map +7 -0
- package/dist/lib/browser/{chunk-PSVCPL4T.mjs → chunk-KOXMEAOS.mjs} +5 -3
- package/dist/lib/browser/chunk-KOXMEAOS.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +107 -1218
- 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/keyboard-MUBRTPI5.mjs +46 -0
- package/dist/lib/browser/keyboard-MUBRTPI5.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-65TQKYX7.mjs +108 -0
- package/dist/lib/browser/state-65TQKYX7.mjs.map +7 -0
- package/dist/types/src/NavTreePlugin.d.ts +1 -3
- package/dist/types/src/NavTreePlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +181 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -0
- package/dist/types/src/capabilities/capabilities.d.ts +18 -0
- package/dist/types/src/capabilities/capabilities.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +251 -0
- package/dist/types/src/capabilities/index.d.ts.map +1 -0
- package/dist/types/src/capabilities/intent-resolver.d.ts +4 -0
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -0
- package/dist/types/src/capabilities/keyboard.d.ts +4 -0
- package/dist/types/src/capabilities/keyboard.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface.d.ts +4 -0
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
- package/dist/types/src/capabilities/state.d.ts +17 -0
- package/dist/types/src/capabilities/state.d.ts.map +1 -0
- 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 +4 -8
- package/dist/types/src/components/NavTreeItemAction.d.ts.map +1 -1
- package/dist/types/src/components/NavTreeItemAction.stories.d.ts +0 -5
- package/dist/types/src/components/NavTreeItemAction.stories.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/NotchStart.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +3 -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/events.d.ts +4 -0
- package/dist/types/src/events.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/index.d.ts +3 -2
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +2 -2
- package/dist/types/src/meta.d.ts.map +1 -1
- 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 -7
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types.d.ts +3 -2
- 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 -0
- package/package.json +34 -39
- package/src/NavTreePlugin.tsx +68 -287
- package/src/capabilities/app-graph-builder.ts +42 -0
- package/src/capabilities/capabilities.ts +19 -0
- package/src/capabilities/index.ts +13 -0
- package/src/capabilities/intent-resolver.ts +36 -0
- package/src/capabilities/keyboard.ts +54 -0
- package/src/capabilities/react-surface.tsx +56 -0
- package/src/capabilities/state.ts +97 -0
- package/src/components/CommandsDialog.tsx +4 -5
- package/src/components/CommandsTrigger.tsx +13 -8
- 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 -121
- package/src/components/NavTreeContainer.tsx +109 -69
- package/src/components/NavTreeContext.tsx +13 -0
- package/src/components/NavTreeItemAction.stories.tsx +0 -2
- package/src/components/NavTreeItemAction.tsx +58 -316
- package/src/components/NavTreeItemColumns.tsx +71 -0
- package/src/components/NotchStart.tsx +9 -8
- package/src/components/index.ts +3 -0
- package/src/components/types.ts +33 -0
- package/src/events.ts +11 -0
- package/src/hooks.ts +21 -0
- package/src/index.ts +3 -4
- package/src/meta.ts +3 -1
- package/src/stories/Graph.stories.tsx +5 -4
- package/src/stories/StorybookNavTree.tsx +63 -0
- package/src/translations.ts +0 -7
- package/src/types.ts +3 -2
- package/src/util.ts +54 -0
- package/dist/lib/browser/chunk-PSVCPL4T.mjs.map +0 -7
- package/dist/lib/browser/meta.mjs +0 -11
- package/dist/lib/browser/meta.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 -158
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/plugins/plugin-navtree/src/meta.ts":{"bytes":1128,"imports":[],"format":"esm"},"packages/plugins/plugin-navtree/src/components/CommandsDialog.tsx":{"bytes":16433,"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/NavTreeItemAction.tsx":{"bytes":42901,"imports":[{"path":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","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/NavTree.tsx":{"bytes":14049,"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/components/NavTreeFooter.tsx":{"bytes":18328,"imports":[{"path":"@phosphor-icons/react","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},{"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":32746,"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/components/NavTreeFooter.tsx","kind":"import-statement","original":"./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/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":3865,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client/meta","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":941,"imports":[{"path":"packages/plugins/plugin-navtree/src/components/CommandsDialog.tsx","kind":"import-statement","original":"./CommandsDialog"},{"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/CommandsTrigger.tsx":{"bytes":3992,"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/translations.ts":{"bytes":3150,"imports":[{"path":"packages/plugins/plugin-navtree/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-navtree/src/NavTreePlugin.tsx":{"bytes":39351,"imports":[{"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/keyboard","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":"@dxos/util","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/components/CommandsTrigger.tsx","kind":"import-statement","original":"./components/CommandsTrigger"},{"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"},{"path":"packages/plugins/plugin-navtree/src/util.ts","kind":"import-statement","original":"./util"}],"format":"esm"},"packages/plugins/plugin-navtree/src/index.ts":{"bytes":875,"imports":[{"path":"packages/plugins/plugin-navtree/src/NavTreePlugin.tsx","kind":"import-statement","original":"./NavTreePlugin"},{"path":"packages/plugins/plugin-navtree/src/NavTreePlugin.tsx","kind":"import-statement","original":"./NavTreePlugin"},{"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":99643},"packages/plugins/plugin-navtree/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-PSVCPL4T.mjs","kind":"import-statement"},{"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/keyboard","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":"@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/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":"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":"@radix-ui/react-use-controllable-state","kind":"import-statement","external":true},{"path":"react","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":"@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":"@phosphor-icons/react","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},{"path":"@dxos/app-graph","kind":"import-statement","external":true},{"path":"@dxos/util","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/meta","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":"@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}],"exports":["NavTreePlugin","default","expandActions","expandChildren","expandChildrenAndActions","getActions","getChildren","getParent","getPersistenceParent","resolveMigrationOperation","sortActions"],"entryPoint":"packages/plugins/plugin-navtree/src/index.ts","inputs":{"packages/plugins/plugin-navtree/src/NavTreePlugin.tsx":{"bytesInOutput":9013},"packages/plugins/plugin-navtree/src/components/CommandsDialog.tsx":{"bytesInOutput":4002},"packages/plugins/plugin-navtree/src/components/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-navtree/src/components/NavTree.tsx":{"bytesInOutput":3368},"packages/plugins/plugin-navtree/src/components/NavTreeItemAction.tsx":{"bytesInOutput":9874},"packages/plugins/plugin-navtree/src/components/NavTreeContainer.tsx":{"bytesInOutput":7993},"packages/plugins/plugin-navtree/src/components/NavTreeFooter.tsx":{"bytesInOutput":5311},"packages/plugins/plugin-navtree/src/util.ts":{"bytesInOutput":2751},"packages/plugins/plugin-navtree/src/components/NavTreeDocumentTitle.tsx":{"bytesInOutput":456},"packages/plugins/plugin-navtree/src/components/NotchStart.tsx":{"bytesInOutput":879},"packages/plugins/plugin-navtree/src/components/HaloButton.tsx":{"bytesInOutput":1237},"packages/plugins/plugin-navtree/src/components/CommandsTrigger.tsx":{"bytesInOutput":990},"packages/plugins/plugin-navtree/src/translations.ts":{"bytesInOutput":879},"packages/plugins/plugin-navtree/src/index.ts":{"bytesInOutput":33}},"bytes":48232},"packages/plugins/plugin-navtree/dist/lib/browser/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-navtree/dist/lib/browser/meta.mjs":{"imports":[{"path":"packages/plugins/plugin-navtree/dist/lib/browser/chunk-PSVCPL4T.mjs","kind":"import-statement"}],"exports":["KEY_BINDING","NAVTREE_PLUGIN","default"],"entryPoint":"packages/plugins/plugin-navtree/src/meta.ts","inputs":{},"bytes":193},"packages/plugins/plugin-navtree/dist/lib/browser/chunk-PSVCPL4T.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":523},"packages/plugins/plugin-navtree/dist/lib/browser/chunk-PSVCPL4T.mjs":{"imports":[],"exports":["KEY_BINDING","NAVTREE_PLUGIN","meta_default"],"inputs":{"packages/plugins/plugin-navtree/src/meta.ts":{"bytesInOutput":125}},"bytes":277}}}
|
|
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
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import {
|
|
2
|
+
NavTreeCapabilities
|
|
3
|
+
} from "./chunk-AOAGODQB.mjs";
|
|
4
|
+
import {
|
|
5
|
+
NAVTREE_PLUGIN
|
|
6
|
+
} from "./chunk-KOXMEAOS.mjs";
|
|
7
|
+
|
|
8
|
+
// packages/plugins/plugin-navtree/src/capabilities/state.ts
|
|
9
|
+
import { effect } from "@preact/signals-core";
|
|
10
|
+
import { Capabilities, contributes } from "@dxos/app-framework";
|
|
11
|
+
import { create } from "@dxos/live-object";
|
|
12
|
+
import { Path } from "@dxos/react-ui-mosaic";
|
|
13
|
+
var KEY = `${NAVTREE_PLUGIN}/state`;
|
|
14
|
+
var getInitialState = () => {
|
|
15
|
+
const stringified = localStorage.getItem(KEY);
|
|
16
|
+
if (!stringified) {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
try {
|
|
20
|
+
const cached = JSON.parse(stringified);
|
|
21
|
+
return cached.map(([key, value]) => [
|
|
22
|
+
key,
|
|
23
|
+
create({
|
|
24
|
+
open: value.open,
|
|
25
|
+
current: false
|
|
26
|
+
})
|
|
27
|
+
]);
|
|
28
|
+
} catch {
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
var state_default = (context) => {
|
|
32
|
+
const layout = context.requestCapability(Capabilities.Layout);
|
|
33
|
+
const state = new Map(getInitialState() ?? [
|
|
34
|
+
// TODO(thure): Initialize these dynamically.
|
|
35
|
+
[
|
|
36
|
+
"root",
|
|
37
|
+
create({
|
|
38
|
+
open: true,
|
|
39
|
+
current: false
|
|
40
|
+
})
|
|
41
|
+
],
|
|
42
|
+
[
|
|
43
|
+
"root~dxos.org/plugin/space-spaces",
|
|
44
|
+
create({
|
|
45
|
+
open: true,
|
|
46
|
+
current: false
|
|
47
|
+
})
|
|
48
|
+
],
|
|
49
|
+
[
|
|
50
|
+
"root~dxos.org/plugin/files",
|
|
51
|
+
create({
|
|
52
|
+
open: true,
|
|
53
|
+
current: false
|
|
54
|
+
})
|
|
55
|
+
]
|
|
56
|
+
]);
|
|
57
|
+
const getItem = (_path) => {
|
|
58
|
+
const path = Path.create(..._path);
|
|
59
|
+
const value = state.get(path) ?? create({
|
|
60
|
+
open: false,
|
|
61
|
+
current: false
|
|
62
|
+
});
|
|
63
|
+
if (!state.has(path)) {
|
|
64
|
+
state.set(path, value);
|
|
65
|
+
}
|
|
66
|
+
return value;
|
|
67
|
+
};
|
|
68
|
+
const setItem = (path, key, next) => {
|
|
69
|
+
const value = getItem(path);
|
|
70
|
+
value[key] = next;
|
|
71
|
+
localStorage.setItem(KEY, JSON.stringify(Array.from(state.entries())));
|
|
72
|
+
};
|
|
73
|
+
const isOpen = (path) => getItem(path).open;
|
|
74
|
+
const isCurrent = (path) => getItem(path).current;
|
|
75
|
+
let previous = [];
|
|
76
|
+
const unsubscribe = effect(() => {
|
|
77
|
+
const removed = previous.filter((id) => !layout.active.includes(id));
|
|
78
|
+
previous = layout.active;
|
|
79
|
+
setTimeout(() => {
|
|
80
|
+
removed.forEach((id) => {
|
|
81
|
+
const keys = Array.from(state.keys()).filter((key) => Path.last(key) === id);
|
|
82
|
+
keys.forEach((key) => {
|
|
83
|
+
setItem(Path.parts(key), "current", false);
|
|
84
|
+
});
|
|
85
|
+
});
|
|
86
|
+
layout.active.forEach((id) => {
|
|
87
|
+
const keys = Array.from(/* @__PURE__ */ new Set([
|
|
88
|
+
...state.keys(),
|
|
89
|
+
id
|
|
90
|
+
])).filter((key) => Path.last(key) === id);
|
|
91
|
+
keys.forEach((key) => {
|
|
92
|
+
setItem(Path.parts(key), "current", true);
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
});
|
|
96
|
+
});
|
|
97
|
+
return contributes(NavTreeCapabilities.State, {
|
|
98
|
+
state,
|
|
99
|
+
getItem,
|
|
100
|
+
setItem,
|
|
101
|
+
isOpen,
|
|
102
|
+
isCurrent
|
|
103
|
+
}, () => unsubscribe());
|
|
104
|
+
};
|
|
105
|
+
export {
|
|
106
|
+
state_default as default
|
|
107
|
+
};
|
|
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,4 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export type NavTreePluginProvides = SurfaceProvides & MetadataRecordsProvides & GraphBuilderProvides & TranslationsProvides & IntentResolverProvides;
|
|
3
|
-
export declare const NavTreePlugin: () => PluginDefinition<NavTreePluginProvides>;
|
|
1
|
+
export declare const NavTreePlugin: () => import("@dxos/app-framework").Plugin;
|
|
4
2
|
//# sourceMappingURL=NavTreePlugin.d.ts.map
|
|
@@ -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"}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { type PluginsContext } from '@dxos/app-framework';
|
|
2
|
+
import { type Node } from '@dxos/plugin-graph';
|
|
3
|
+
declare const _default: (context: PluginsContext) => import("@dxos/app-framework").Capability<Readonly<{
|
|
4
|
+
id: string;
|
|
5
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
6
|
+
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
7
|
+
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
8
|
+
relation?: import("@dxos/plugin-graph").Relation;
|
|
9
|
+
type?: string;
|
|
10
|
+
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
11
|
+
}> | Readonly<{
|
|
12
|
+
id: string;
|
|
13
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
14
|
+
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
15
|
+
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
16
|
+
relation?: import("@dxos/plugin-graph").Relation;
|
|
17
|
+
type?: string;
|
|
18
|
+
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
19
|
+
}>[] | (Readonly<{
|
|
20
|
+
id: string;
|
|
21
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
22
|
+
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
23
|
+
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
24
|
+
relation?: import("@dxos/plugin-graph").Relation;
|
|
25
|
+
type?: string;
|
|
26
|
+
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
27
|
+
}> | Readonly<{
|
|
28
|
+
id: string;
|
|
29
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
30
|
+
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
31
|
+
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
32
|
+
relation?: import("@dxos/plugin-graph").Relation;
|
|
33
|
+
type?: string;
|
|
34
|
+
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
35
|
+
}>[] | (Readonly<{
|
|
36
|
+
id: string;
|
|
37
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
38
|
+
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
39
|
+
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
40
|
+
relation?: import("@dxos/plugin-graph").Relation;
|
|
41
|
+
type?: string;
|
|
42
|
+
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
43
|
+
}> | Readonly<{
|
|
44
|
+
id: string;
|
|
45
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
46
|
+
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
47
|
+
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
48
|
+
relation?: import("@dxos/plugin-graph").Relation;
|
|
49
|
+
type?: string;
|
|
50
|
+
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
51
|
+
}>[] | (Readonly<{
|
|
52
|
+
id: string;
|
|
53
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
54
|
+
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
55
|
+
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
56
|
+
relation?: import("@dxos/plugin-graph").Relation;
|
|
57
|
+
type?: string;
|
|
58
|
+
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
59
|
+
}> | Readonly<{
|
|
60
|
+
id: string;
|
|
61
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
62
|
+
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
63
|
+
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
64
|
+
relation?: import("@dxos/plugin-graph").Relation;
|
|
65
|
+
type?: string;
|
|
66
|
+
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
67
|
+
}>[] | (Readonly<{
|
|
68
|
+
id: string;
|
|
69
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
70
|
+
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
71
|
+
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
72
|
+
relation?: import("@dxos/plugin-graph").Relation;
|
|
73
|
+
type?: string;
|
|
74
|
+
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
75
|
+
}> | Readonly<{
|
|
76
|
+
id: string;
|
|
77
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
78
|
+
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
79
|
+
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
80
|
+
relation?: import("@dxos/plugin-graph").Relation;
|
|
81
|
+
type?: string;
|
|
82
|
+
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
83
|
+
}>[] | (Readonly<{
|
|
84
|
+
id: string;
|
|
85
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
86
|
+
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
87
|
+
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
88
|
+
relation?: import("@dxos/plugin-graph").Relation;
|
|
89
|
+
type?: string;
|
|
90
|
+
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
91
|
+
}> | Readonly<{
|
|
92
|
+
id: string;
|
|
93
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
94
|
+
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
95
|
+
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
96
|
+
relation?: import("@dxos/plugin-graph").Relation;
|
|
97
|
+
type?: string;
|
|
98
|
+
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
99
|
+
}>[] | (Readonly<{
|
|
100
|
+
id: string;
|
|
101
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
102
|
+
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
103
|
+
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
104
|
+
relation?: import("@dxos/plugin-graph").Relation;
|
|
105
|
+
type?: string;
|
|
106
|
+
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
107
|
+
}> | Readonly<{
|
|
108
|
+
id: string;
|
|
109
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
110
|
+
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
111
|
+
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
112
|
+
relation?: import("@dxos/plugin-graph").Relation;
|
|
113
|
+
type?: string;
|
|
114
|
+
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
115
|
+
}>[] | (Readonly<{
|
|
116
|
+
id: string;
|
|
117
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
118
|
+
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
119
|
+
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
120
|
+
relation?: import("@dxos/plugin-graph").Relation;
|
|
121
|
+
type?: string;
|
|
122
|
+
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
123
|
+
}> | Readonly<{
|
|
124
|
+
id: string;
|
|
125
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
126
|
+
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
127
|
+
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
128
|
+
relation?: import("@dxos/plugin-graph").Relation;
|
|
129
|
+
type?: string;
|
|
130
|
+
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
131
|
+
}>[] | (Readonly<{
|
|
132
|
+
id: string;
|
|
133
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
134
|
+
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
135
|
+
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
136
|
+
relation?: import("@dxos/plugin-graph").Relation;
|
|
137
|
+
type?: string;
|
|
138
|
+
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
139
|
+
}> | Readonly<{
|
|
140
|
+
id: string;
|
|
141
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
142
|
+
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
143
|
+
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
144
|
+
relation?: import("@dxos/plugin-graph").Relation;
|
|
145
|
+
type?: string;
|
|
146
|
+
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
147
|
+
}>[] | (Readonly<{
|
|
148
|
+
id: string;
|
|
149
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
150
|
+
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
151
|
+
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
152
|
+
relation?: import("@dxos/plugin-graph").Relation;
|
|
153
|
+
type?: string;
|
|
154
|
+
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
155
|
+
}> | Readonly<{
|
|
156
|
+
id: string;
|
|
157
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
158
|
+
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
159
|
+
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
160
|
+
relation?: import("@dxos/plugin-graph").Relation;
|
|
161
|
+
type?: string;
|
|
162
|
+
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
163
|
+
}>[] | (any[] | Readonly<{
|
|
164
|
+
id: string;
|
|
165
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
166
|
+
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
167
|
+
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
168
|
+
relation?: import("@dxos/plugin-graph").Relation;
|
|
169
|
+
type?: string;
|
|
170
|
+
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
171
|
+
}> | Readonly<{
|
|
172
|
+
id: string;
|
|
173
|
+
position: import("packages/common/util/dist/types/src").Position;
|
|
174
|
+
resolver?: import("@dxos/plugin-graph").ResolverExtension;
|
|
175
|
+
connector?: import("@dxos/plugin-graph").ConnectorExtension;
|
|
176
|
+
relation?: import("@dxos/plugin-graph").Relation;
|
|
177
|
+
type?: string;
|
|
178
|
+
filter?: (node: import("packages/sdk/app-graph/dist/types/src").Node) => boolean;
|
|
179
|
+
}>[])[])[])[])[])[])[])[])[])[])[]>;
|
|
180
|
+
export default _default;
|
|
181
|
+
//# sourceMappingURL=app-graph-builder.d.ts.map
|
|
@@ -0,0 +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;;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"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type ReactiveObject } from '@dxos/live-object';
|
|
2
|
+
import { type NavTreeItemGraphNode } from '../types';
|
|
3
|
+
export declare namespace NavTreeCapabilities {
|
|
4
|
+
const State: import("@dxos/app-framework").InterfaceDef<{
|
|
5
|
+
state: Map<string, ReactiveObject<{
|
|
6
|
+
open: boolean;
|
|
7
|
+
current: boolean;
|
|
8
|
+
}>>;
|
|
9
|
+
getItem: (path: string[]) => ReactiveObject<{
|
|
10
|
+
open: boolean;
|
|
11
|
+
current: boolean;
|
|
12
|
+
}>;
|
|
13
|
+
setItem: (path: string[], key: "open" | "current", next: boolean) => void;
|
|
14
|
+
isOpen: (path: string[], item: NavTreeItemGraphNode) => boolean;
|
|
15
|
+
isCurrent: (path: string[], item: NavTreeItemGraphNode) => boolean;
|
|
16
|
+
}>;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=capabilities.d.ts.map
|
|
@@ -0,0 +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;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"}
|