@dxos/plugin-explorer 0.8.2 → 0.8.3-main.7f5a14c

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.
Files changed (67) hide show
  1. package/dist/lib/browser/{ExplorerContainer-BBZ54DJS.mjs → ExplorerContainer-DXL34I3F.mjs} +6 -6
  2. package/dist/lib/browser/ExplorerContainer-DXL34I3F.mjs.map +7 -0
  3. package/dist/lib/browser/{chunk-73GQ46YO.mjs → chunk-JRKQNHS6.mjs} +14 -16
  4. package/dist/lib/browser/{chunk-73GQ46YO.mjs.map → chunk-JRKQNHS6.mjs.map} +3 -3
  5. package/dist/lib/browser/{chunk-M2BGAY6H.mjs → chunk-Z5BGAHLD.mjs} +22 -12
  6. package/dist/lib/browser/chunk-Z5BGAHLD.mjs.map +7 -0
  7. package/dist/lib/browser/index.mjs +4 -4
  8. package/dist/lib/browser/{intent-resolver-FJDVBDE3.mjs → intent-resolver-JZKYVFQJ.mjs} +3 -3
  9. package/dist/lib/browser/intent-resolver-JZKYVFQJ.mjs.map +7 -0
  10. package/dist/lib/browser/meta.json +1 -1
  11. package/dist/lib/browser/{react-surface-H3YDMXAQ.mjs → react-surface-IAEP2GBT.mjs} +5 -5
  12. package/dist/lib/browser/react-surface-IAEP2GBT.mjs.map +7 -0
  13. package/dist/lib/node/{ExplorerContainer-MVP2AM7R.cjs → ExplorerContainer-VUXH55VV.cjs} +8 -8
  14. package/dist/lib/node/ExplorerContainer-VUXH55VV.cjs.map +7 -0
  15. package/dist/lib/node/{chunk-72H5HBTK.cjs → chunk-SVU4VMYX.cjs} +16 -18
  16. package/dist/lib/node/{chunk-72H5HBTK.cjs.map → chunk-SVU4VMYX.cjs.map} +3 -3
  17. package/dist/lib/node/{chunk-NELWWGBU.cjs → chunk-TY543HPV.cjs} +24 -14
  18. package/dist/lib/node/chunk-TY543HPV.cjs.map +7 -0
  19. package/dist/lib/node/index.cjs +11 -11
  20. package/dist/lib/node/{intent-resolver-DRT67ZU4.cjs → intent-resolver-G2MFNIXA.cjs} +6 -6
  21. package/dist/lib/node/intent-resolver-G2MFNIXA.cjs.map +7 -0
  22. package/dist/lib/node/meta.json +1 -1
  23. package/dist/lib/node/{react-surface-6ESLSM33.cjs → react-surface-UJD5RGRZ.cjs} +9 -9
  24. package/dist/lib/node/react-surface-UJD5RGRZ.cjs.map +7 -0
  25. package/dist/lib/node-esm/{ExplorerContainer-APGUQI4M.mjs → ExplorerContainer-MFE7PXF4.mjs} +6 -6
  26. package/dist/lib/node-esm/ExplorerContainer-MFE7PXF4.mjs.map +7 -0
  27. package/dist/lib/node-esm/{chunk-PVII2K2B.mjs → chunk-AE7VHUJM.mjs} +22 -12
  28. package/dist/lib/node-esm/chunk-AE7VHUJM.mjs.map +7 -0
  29. package/dist/lib/node-esm/{chunk-34X2VFQN.mjs → chunk-IUFYOE44.mjs} +14 -16
  30. package/dist/lib/node-esm/{chunk-34X2VFQN.mjs.map → chunk-IUFYOE44.mjs.map} +3 -3
  31. package/dist/lib/node-esm/index.mjs +4 -4
  32. package/dist/lib/node-esm/{intent-resolver-4RBV644N.mjs → intent-resolver-7G6ZKM6E.mjs} +3 -3
  33. package/dist/lib/node-esm/intent-resolver-7G6ZKM6E.mjs.map +7 -0
  34. package/dist/lib/node-esm/meta.json +1 -1
  35. package/dist/lib/node-esm/{react-surface-ZEVL3FXG.mjs → react-surface-XBH3WZDL.mjs} +5 -5
  36. package/dist/lib/node-esm/react-surface-XBH3WZDL.mjs.map +7 -0
  37. package/dist/types/src/components/Graph/ForceGraph.d.ts.map +1 -1
  38. package/dist/types/src/components/Graph/adapter.d.ts +3 -0
  39. package/dist/types/src/components/Graph/adapter.d.ts.map +1 -1
  40. package/dist/types/src/components/Graph/testing.d.ts.map +1 -1
  41. package/dist/types/src/components/Tree/types/tree.d.ts +4 -5
  42. package/dist/types/src/components/Tree/types/tree.d.ts.map +1 -1
  43. package/package.json +27 -26
  44. package/src/capabilities/intent-resolver.ts +2 -2
  45. package/src/capabilities/react-surface.tsx +2 -2
  46. package/src/components/ExplorerContainer.tsx +4 -4
  47. package/src/components/Graph/D3ForceGraph.stories.tsx +2 -2
  48. package/src/components/Graph/D3ForceGraph.tsx +2 -2
  49. package/src/components/Graph/ForceGraph.stories.tsx +2 -2
  50. package/src/components/Graph/ForceGraph.tsx +33 -24
  51. package/src/components/Graph/adapter.ts +3 -0
  52. package/src/components/Graph/testing.ts +13 -14
  53. package/src/components/Tree/testing/generator.ts +2 -2
  54. package/src/components/Tree/types/tree.test.ts +3 -3
  55. package/src/components/Tree/types/tree.ts +12 -14
  56. package/dist/lib/browser/ExplorerContainer-BBZ54DJS.mjs.map +0 -7
  57. package/dist/lib/browser/chunk-M2BGAY6H.mjs.map +0 -7
  58. package/dist/lib/browser/intent-resolver-FJDVBDE3.mjs.map +0 -7
  59. package/dist/lib/browser/react-surface-H3YDMXAQ.mjs.map +0 -7
  60. package/dist/lib/node/ExplorerContainer-MVP2AM7R.cjs.map +0 -7
  61. package/dist/lib/node/chunk-NELWWGBU.cjs.map +0 -7
  62. package/dist/lib/node/intent-resolver-DRT67ZU4.cjs.map +0 -7
  63. package/dist/lib/node/react-surface-6ESLSM33.cjs.map +0 -7
  64. package/dist/lib/node-esm/ExplorerContainer-APGUQI4M.mjs.map +0 -7
  65. package/dist/lib/node-esm/chunk-PVII2K2B.mjs.map +0 -7
  66. package/dist/lib/node-esm/intent-resolver-4RBV644N.mjs.map +0 -7
  67. package/dist/lib/node-esm/react-surface-ZEVL3FXG.mjs.map +0 -7
@@ -8,11 +8,11 @@ import {
8
8
  Globe,
9
9
  Tree,
10
10
  defaultTreeLayoutSlots
11
- } from "./chunk-34X2VFQN.mjs";
11
+ } from "./chunk-IUFYOE44.mjs";
12
12
  import {
13
13
  D3ForceGraph,
14
14
  ForceGraph
15
- } from "./chunk-PVII2K2B.mjs";
15
+ } from "./chunk-AE7VHUJM.mjs";
16
16
  import {
17
17
  ExplorerAction,
18
18
  ViewType
@@ -30,8 +30,8 @@ import { defineObjectForm } from "@dxos/plugin-space/types";
30
30
 
31
31
  // packages/plugins/plugin-explorer/src/capabilities/index.ts
32
32
  import { lazy } from "@dxos/app-framework";
33
- var IntentResolver = lazy(() => import("./intent-resolver-4RBV644N.mjs"));
34
- var ReactSurface = lazy(() => import("./react-surface-ZEVL3FXG.mjs"));
33
+ var IntentResolver = lazy(() => import("./intent-resolver-7G6ZKM6E.mjs"));
34
+ var ReactSurface = lazy(() => import("./react-surface-XBH3WZDL.mjs"));
35
35
 
36
36
  // packages/plugins/plugin-explorer/src/translations.ts
37
37
  var translations_default = [
@@ -7,12 +7,12 @@ import "./chunk-3CMBLK6W.mjs";
7
7
 
8
8
  // packages/plugins/plugin-explorer/src/capabilities/intent-resolver.ts
9
9
  import { contributes, Capabilities, createResolver } from "@dxos/app-framework";
10
- import { live } from "@dxos/live-object";
10
+ import { Obj } from "@dxos/echo";
11
11
  var intent_resolver_default = () => contributes(Capabilities.IntentResolver, createResolver({
12
12
  intent: ExplorerAction.Create,
13
13
  resolve: ({ name }) => ({
14
14
  data: {
15
- object: live(ViewType, {
15
+ object: Obj.make(ViewType, {
16
16
  name,
17
17
  type: ""
18
18
  })
@@ -22,4 +22,4 @@ var intent_resolver_default = () => contributes(Capabilities.IntentResolver, cre
22
22
  export {
23
23
  intent_resolver_default as default
24
24
  };
25
- //# sourceMappingURL=intent-resolver-4RBV644N.mjs.map
25
+ //# sourceMappingURL=intent-resolver-7G6ZKM6E.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/intent-resolver.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { contributes, Capabilities, createResolver } from '@dxos/app-framework';\nimport { Obj } from '@dxos/echo';\n\nimport { ExplorerAction, ViewType } from '../types';\n\nexport default () =>\n contributes(\n Capabilities.IntentResolver,\n createResolver({\n intent: ExplorerAction.Create,\n resolve: ({ name }) => ({\n data: { object: Obj.make(ViewType, { name, type: '' }) },\n }),\n }),\n );\n"],
5
+ "mappings": ";;;;;;;;AAIA,SAASA,aAAaC,cAAcC,sBAAsB;AAC1D,SAASC,WAAW;AAIpB,IAAA,0BAAe,MACbC,YACEC,aAAaC,gBACbC,eAAe;EACbC,QAAQC,eAAeC;EACvBC,SAAS,CAAC,EAAEC,KAAI,OAAQ;IACtBC,MAAM;MAAEC,QAAQC,IAAIC,KAAKC,UAAU;QAAEL;QAAMM,MAAM;MAAG,CAAA;IAAG;EACzD;AACF,CAAA,CAAA;",
6
+ "names": ["contributes", "Capabilities", "createResolver", "Obj", "contributes", "Capabilities", "IntentResolver", "createResolver", "intent", "ExplorerAction", "Create", "resolve", "name", "data", "object", "Obj", "make", "ViewType", "type"]
7
+ }
@@ -1 +1 @@
1
- {"inputs":{"packages/plugins/plugin-explorer/src/components/plot.ts":{"bytes":1420,"imports":[],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Chart/Chart.tsx":{"bytes":5152,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@observablehq/plot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/src/components/plot.ts","kind":"import-statement","original":"../plot"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Chart/index.ts":{"bytes":482,"imports":[{"path":"packages/plugins/plugin-explorer/src/components/Chart/Chart.tsx","kind":"import-statement","original":"./Chart"}],"format":"esm"},"packages/plugins/plugin-explorer/data/countries-110m.js":{"bytes":187226,"imports":[],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Globe/Globe.tsx":{"bytes":7796,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@observablehq/plot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"topojson-client","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/data/countries-110m.js","kind":"import-statement","original":"../../../data/countries-110m.js"},{"path":"packages/plugins/plugin-explorer/src/components/plot.ts","kind":"import-statement","original":"../plot"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Globe/index.ts":{"bytes":482,"imports":[{"path":"packages/plugins/plugin-explorer/src/components/Globe/Globe.tsx","kind":"import-statement","original":"./Globe"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Graph/D3ForceGraph.tsx":{"bytes":10409,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-graph/styles/graph.css","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Graph/adapter.ts":{"bytes":3071,"imports":[],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Graph/ForceGraph.tsx":{"bytes":10284,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"d3","kind":"import-statement","external":true},{"path":"force-graph","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/plugin-search","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/src/components/Graph/adapter.ts","kind":"import-statement","original":"./adapter"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Graph/index.ts":{"bytes":595,"imports":[{"path":"packages/plugins/plugin-explorer/src/components/Graph/D3ForceGraph.tsx","kind":"import-statement","original":"./D3ForceGraph"},{"path":"packages/plugins/plugin-explorer/src/components/Graph/ForceGraph.tsx","kind":"import-statement","original":"./ForceGraph"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/layout/HierarchicalEdgeBundling.ts":{"bytes":17492,"imports":[{"path":"d3","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/layout/RadialTree.ts":{"bytes":8718,"imports":[{"path":"d3","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/layout/TidyTree.ts":{"bytes":9220,"imports":[{"path":"d3","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/layout/index.ts":{"bytes":1107,"imports":[{"path":"packages/plugins/plugin-explorer/src/components/Tree/layout/HierarchicalEdgeBundling.ts","kind":"import-statement","original":"./HierarchicalEdgeBundling"},{"path":"packages/plugins/plugin-explorer/src/components/Tree/layout/RadialTree.ts","kind":"import-statement","original":"./RadialTree"},{"path":"packages/plugins/plugin-explorer/src/components/Tree/layout/TidyTree.ts","kind":"import-statement","original":"./TidyTree"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/types/tree.ts":{"bytes":26149,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/types/types.ts":{"bytes":3316,"imports":[],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/types/index.ts":{"bytes":567,"imports":[{"path":"packages/plugins/plugin-explorer/src/components/Tree/types/tree.ts","kind":"import-statement","original":"./tree"},{"path":"packages/plugins/plugin-explorer/src/components/Tree/types/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/Tree.tsx":{"bytes":9679,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-graph","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/src/components/Tree/layout/index.ts","kind":"import-statement","original":"./layout"},{"path":"packages/plugins/plugin-explorer/src/components/Tree/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/index.ts":{"bytes":480,"imports":[{"path":"packages/plugins/plugin-explorer/src/components/Tree/Tree.tsx","kind":"import-statement","original":"./Tree"}],"format":"esm"},"packages/plugins/plugin-explorer/src/hooks/useGraphModel.ts":{"bytes":3269,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/hooks/index.ts":{"bytes":495,"imports":[{"path":"packages/plugins/plugin-explorer/src/hooks/useGraphModel.ts","kind":"import-statement","original":"./useGraphModel"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/ExplorerContainer.tsx":{"bytes":3342,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-search","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/src/components/Graph/index.ts","kind":"import-statement","original":"./Graph"},{"path":"packages/plugins/plugin-explorer/src/hooks/index.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/index.ts":{"bytes":1110,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/src/components/Chart/index.ts","kind":"import-statement","original":"./Chart"},{"path":"packages/plugins/plugin-explorer/src/components/Globe/index.ts","kind":"import-statement","original":"./Globe"},{"path":"packages/plugins/plugin-explorer/src/components/Graph/index.ts","kind":"import-statement","original":"./Graph"},{"path":"packages/plugins/plugin-explorer/src/components/Tree/index.ts","kind":"import-statement","original":"./Tree"},{"path":"packages/plugins/plugin-explorer/src/components/ExplorerContainer.tsx","kind":"dynamic-import","original":"./ExplorerContainer"}],"format":"esm"},"packages/plugins/plugin-explorer/src/meta.ts":{"bytes":1874,"imports":[],"format":"esm"},"packages/plugins/plugin-explorer/src/types/schema.ts":{"bytes":1516,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/types/types.ts":{"bytes":2252,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/src/types/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/plugins/plugin-explorer/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-explorer/src/types/index.ts":{"bytes":557,"imports":[{"path":"packages/plugins/plugin-explorer/src/types/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/plugins/plugin-explorer/src/types/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-explorer/src/capabilities/intent-resolver.ts":{"bytes":2174,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-explorer/src/capabilities/react-surface.tsx":{"bytes":2897,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-explorer/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-explorer/src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-explorer/src/capabilities/index.ts":{"bytes":1051,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"packages/plugins/plugin-explorer/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"packages/plugins/plugin-explorer/src/translations.ts":{"bytes":1688,"imports":[{"path":"packages/plugins/plugin-explorer/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-explorer/src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-explorer/src/ExplorerPlugin.tsx":{"bytes":7382,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-explorer/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-explorer/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-explorer/src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-explorer/src/index.ts":{"bytes":745,"imports":[{"path":"packages/plugins/plugin-explorer/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-explorer/src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"packages/plugins/plugin-explorer/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-explorer/src/ExplorerPlugin.tsx","kind":"import-statement","original":"./ExplorerPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-explorer/dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4791},"packages/plugins/plugin-explorer/dist/lib/node-esm/index.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-VSORIAHH.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-34X2VFQN.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PVII2K2B.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-N6VEANUZ.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-3CMBLK6W.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/intent-resolver-4RBV644N.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/react-surface-ZEVL3FXG.mjs","kind":"dynamic-import"}],"exports":["Chart","D3ForceGraph","EXPLORER_PLUGIN","ExplorerContainer","ExplorerPlugin","ForceGraph","Globe","Tree","defaultTreeLayoutSlots","meta","useGraphModel"],"entryPoint":"packages/plugins/plugin-explorer/src/index.ts","inputs":{"packages/plugins/plugin-explorer/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-explorer/src/ExplorerPlugin.tsx":{"bytesInOutput":1546},"packages/plugins/plugin-explorer/src/capabilities/index.ts":{"bytesInOutput":190},"packages/plugins/plugin-explorer/src/translations.ts":{"bytesInOutput":295}},"bytes":2946},"packages/plugins/plugin-explorer/dist/lib/node-esm/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-explorer/dist/lib/node-esm/meta.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-3CMBLK6W.mjs","kind":"import-statement"}],"exports":["EXPLORER_PLUGIN","meta"],"entryPoint":"packages/plugins/plugin-explorer/src/meta.ts","inputs":{},"bytes":230},"packages/plugins/plugin-explorer/dist/lib/node-esm/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-explorer/dist/lib/node-esm/types/index.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-N6VEANUZ.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-3CMBLK6W.mjs","kind":"import-statement"}],"exports":["ExplorerAction","ViewType"],"entryPoint":"packages/plugins/plugin-explorer/src/types/index.ts","inputs":{},"bytes":270},"packages/plugins/plugin-explorer/dist/lib/node-esm/ExplorerContainer-APGUQI4M.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1632},"packages/plugins/plugin-explorer/dist/lib/node-esm/ExplorerContainer-APGUQI4M.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-VSORIAHH.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PVII2K2B.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-search","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-explorer/src/components/ExplorerContainer.tsx","inputs":{"packages/plugins/plugin-explorer/src/components/ExplorerContainer.tsx":{"bytesInOutput":822}},"bytes":1204},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-VSORIAHH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1783},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-VSORIAHH.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["useGraphModel"],"inputs":{"packages/plugins/plugin-explorer/src/hooks/useGraphModel.ts":{"bytesInOutput":590},"packages/plugins/plugin-explorer/src/hooks/index.ts":{"bytesInOutput":0}},"bytes":819},"packages/plugins/plugin-explorer/dist/lib/node-esm/intent-resolver-4RBV644N.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1082},"packages/plugins/plugin-explorer/dist/lib/node-esm/intent-resolver-4RBV644N.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-N6VEANUZ.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-3CMBLK6W.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-explorer/src/capabilities/intent-resolver.ts","inputs":{"packages/plugins/plugin-explorer/src/capabilities/intent-resolver.ts":{"bytesInOutput":377}},"bytes":745},"packages/plugins/plugin-explorer/dist/lib/node-esm/react-surface-ZEVL3FXG.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1434},"packages/plugins/plugin-explorer/dist/lib/node-esm/react-surface-ZEVL3FXG.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-34X2VFQN.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PVII2K2B.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-N6VEANUZ.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-3CMBLK6W.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-explorer/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-explorer/src/capabilities/react-surface.tsx":{"bytesInOutput":517}},"bytes":980},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-34X2VFQN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":487578},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-34X2VFQN.mjs":{"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@observablehq/plot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@observablehq/plot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"topojson-client","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-graph","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"d3","kind":"import-statement","external":true},{"path":"d3","kind":"import-statement","external":true},{"path":"d3","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/live-object","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/ExplorerContainer-APGUQI4M.mjs","kind":"dynamic-import"}],"exports":["Chart","ExplorerContainer","Globe","Tree","defaultTreeLayoutSlots"],"inputs":{"packages/plugins/plugin-explorer/src/components/Chart/Chart.tsx":{"bytesInOutput":1254},"packages/plugins/plugin-explorer/src/components/plot.ts":{"bytesInOutput":133},"packages/plugins/plugin-explorer/src/components/Globe/Globe.tsx":{"bytesInOutput":1968},"packages/plugins/plugin-explorer/data/countries-110m.js":{"bytesInOutput":188376},"packages/plugins/plugin-explorer/src/components/Tree/Tree.tsx":{"bytesInOutput":2157},"packages/plugins/plugin-explorer/src/components/Tree/layout/HierarchicalEdgeBundling.ts":{"bytesInOutput":2167},"packages/plugins/plugin-explorer/src/components/Tree/layout/RadialTree.ts":{"bytesInOutput":1355},"packages/plugins/plugin-explorer/src/components/Tree/layout/TidyTree.ts":{"bytesInOutput":1596},"packages/plugins/plugin-explorer/src/components/Tree/types/tree.ts":{"bytesInOutput":6378},"packages/plugins/plugin-explorer/src/components/Tree/types/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-explorer/src/components/Tree/types/types.ts":{"bytesInOutput":82},"packages/plugins/plugin-explorer/src/components/index.ts":{"bytesInOutput":110},"packages/plugins/plugin-explorer/src/components/Chart/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-explorer/src/components/Globe/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-explorer/src/components/Tree/index.ts":{"bytesInOutput":0}},"bytes":206780},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PVII2K2B.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":12031},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PVII2K2B.mjs":{"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-graph/styles/graph.css","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"d3","kind":"import-statement","external":true},{"path":"force-graph","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/plugin-search","kind":"import-statement","external":true}],"exports":["D3ForceGraph","ForceGraph"],"inputs":{"packages/plugins/plugin-explorer/src/components/Graph/D3ForceGraph.tsx":{"bytesInOutput":2413},"packages/plugins/plugin-explorer/src/components/Graph/ForceGraph.tsx":{"bytesInOutput":2193},"packages/plugins/plugin-explorer/src/components/Graph/adapter.ts":{"bytesInOutput":488},"packages/plugins/plugin-explorer/src/components/Graph/index.ts":{"bytesInOutput":0}},"bytes":5562},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-N6VEANUZ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1806},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-N6VEANUZ.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-3CMBLK6W.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true}],"exports":["ExplorerAction","ViewType"],"inputs":{"packages/plugins/plugin-explorer/src/types/schema.ts":{"bytesInOutput":261},"packages/plugins/plugin-explorer/src/types/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-explorer/src/types/types.ts":{"bytesInOutput":455}},"bytes":1065},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-3CMBLK6W.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":898},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-3CMBLK6W.mjs":{"imports":[],"exports":["EXPLORER_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-explorer/src/meta.ts":{"bytesInOutput":427}},"bytes":651}}}
1
+ {"inputs":{"packages/plugins/plugin-explorer/src/components/plot.ts":{"bytes":1420,"imports":[],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Chart/Chart.tsx":{"bytes":5152,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@observablehq/plot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/src/components/plot.ts","kind":"import-statement","original":"../plot"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Chart/index.ts":{"bytes":482,"imports":[{"path":"packages/plugins/plugin-explorer/src/components/Chart/Chart.tsx","kind":"import-statement","original":"./Chart"}],"format":"esm"},"packages/plugins/plugin-explorer/data/countries-110m.js":{"bytes":187226,"imports":[],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Globe/Globe.tsx":{"bytes":7796,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@observablehq/plot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"topojson-client","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/data/countries-110m.js","kind":"import-statement","original":"../../../data/countries-110m.js"},{"path":"packages/plugins/plugin-explorer/src/components/plot.ts","kind":"import-statement","original":"../plot"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Globe/index.ts":{"bytes":482,"imports":[{"path":"packages/plugins/plugin-explorer/src/components/Globe/Globe.tsx","kind":"import-statement","original":"./Globe"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Graph/D3ForceGraph.tsx":{"bytes":10402,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-graph/styles/graph.css","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Graph/adapter.ts":{"bytes":3210,"imports":[],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Graph/ForceGraph.tsx":{"bytes":11059,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"d3","kind":"import-statement","external":true},{"path":"force-graph","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/plugin-search","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/src/components/Graph/adapter.ts","kind":"import-statement","original":"./adapter"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Graph/index.ts":{"bytes":595,"imports":[{"path":"packages/plugins/plugin-explorer/src/components/Graph/D3ForceGraph.tsx","kind":"import-statement","original":"./D3ForceGraph"},{"path":"packages/plugins/plugin-explorer/src/components/Graph/ForceGraph.tsx","kind":"import-statement","original":"./ForceGraph"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/layout/HierarchicalEdgeBundling.ts":{"bytes":17492,"imports":[{"path":"d3","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/layout/RadialTree.ts":{"bytes":8718,"imports":[{"path":"d3","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/layout/TidyTree.ts":{"bytes":9220,"imports":[{"path":"d3","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/layout/index.ts":{"bytes":1107,"imports":[{"path":"packages/plugins/plugin-explorer/src/components/Tree/layout/HierarchicalEdgeBundling.ts","kind":"import-statement","original":"./HierarchicalEdgeBundling"},{"path":"packages/plugins/plugin-explorer/src/components/Tree/layout/RadialTree.ts","kind":"import-statement","original":"./RadialTree"},{"path":"packages/plugins/plugin-explorer/src/components/Tree/layout/TidyTree.ts","kind":"import-statement","original":"./TidyTree"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/types/tree.ts":{"bytes":26074,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/types/types.ts":{"bytes":3316,"imports":[],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/types/index.ts":{"bytes":567,"imports":[{"path":"packages/plugins/plugin-explorer/src/components/Tree/types/tree.ts","kind":"import-statement","original":"./tree"},{"path":"packages/plugins/plugin-explorer/src/components/Tree/types/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/Tree.tsx":{"bytes":9679,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-graph","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/src/components/Tree/layout/index.ts","kind":"import-statement","original":"./layout"},{"path":"packages/plugins/plugin-explorer/src/components/Tree/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/index.ts":{"bytes":480,"imports":[{"path":"packages/plugins/plugin-explorer/src/components/Tree/Tree.tsx","kind":"import-statement","original":"./Tree"}],"format":"esm"},"packages/plugins/plugin-explorer/src/hooks/useGraphModel.ts":{"bytes":3269,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/hooks/index.ts":{"bytes":495,"imports":[{"path":"packages/plugins/plugin-explorer/src/hooks/useGraphModel.ts","kind":"import-statement","original":"./useGraphModel"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/ExplorerContainer.tsx":{"bytes":3354,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-search","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/src/components/Graph/index.ts","kind":"import-statement","original":"./Graph"},{"path":"packages/plugins/plugin-explorer/src/hooks/index.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/index.ts":{"bytes":1110,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/src/components/Chart/index.ts","kind":"import-statement","original":"./Chart"},{"path":"packages/plugins/plugin-explorer/src/components/Globe/index.ts","kind":"import-statement","original":"./Globe"},{"path":"packages/plugins/plugin-explorer/src/components/Graph/index.ts","kind":"import-statement","original":"./Graph"},{"path":"packages/plugins/plugin-explorer/src/components/Tree/index.ts","kind":"import-statement","original":"./Tree"},{"path":"packages/plugins/plugin-explorer/src/components/ExplorerContainer.tsx","kind":"dynamic-import","original":"./ExplorerContainer"}],"format":"esm"},"packages/plugins/plugin-explorer/src/meta.ts":{"bytes":1874,"imports":[],"format":"esm"},"packages/plugins/plugin-explorer/src/types/schema.ts":{"bytes":1516,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/types/types.ts":{"bytes":2252,"imports":[{"path":"effect","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/src/types/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/plugins/plugin-explorer/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-explorer/src/types/index.ts":{"bytes":557,"imports":[{"path":"packages/plugins/plugin-explorer/src/types/schema.ts","kind":"import-statement","original":"./schema"},{"path":"packages/plugins/plugin-explorer/src/types/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-explorer/src/capabilities/intent-resolver.ts":{"bytes":2182,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-explorer/src/capabilities/react-surface.tsx":{"bytes":2879,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-explorer/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-explorer/src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-explorer/src/capabilities/index.ts":{"bytes":1051,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"packages/plugins/plugin-explorer/src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"packages/plugins/plugin-explorer/src/translations.ts":{"bytes":1688,"imports":[{"path":"packages/plugins/plugin-explorer/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-explorer/src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-explorer/src/ExplorerPlugin.tsx":{"bytes":7382,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"packages/plugins/plugin-explorer/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-explorer/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-explorer/src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-explorer/src/index.ts":{"bytes":745,"imports":[{"path":"packages/plugins/plugin-explorer/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-explorer/src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"packages/plugins/plugin-explorer/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-explorer/src/ExplorerPlugin.tsx","kind":"import-statement","original":"./ExplorerPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-explorer/dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4791},"packages/plugins/plugin-explorer/dist/lib/node-esm/index.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-VSORIAHH.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-IUFYOE44.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-AE7VHUJM.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-N6VEANUZ.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-3CMBLK6W.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/intent-resolver-7G6ZKM6E.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/react-surface-XBH3WZDL.mjs","kind":"dynamic-import"}],"exports":["Chart","D3ForceGraph","EXPLORER_PLUGIN","ExplorerContainer","ExplorerPlugin","ForceGraph","Globe","Tree","defaultTreeLayoutSlots","meta","useGraphModel"],"entryPoint":"packages/plugins/plugin-explorer/src/index.ts","inputs":{"packages/plugins/plugin-explorer/src/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-explorer/src/ExplorerPlugin.tsx":{"bytesInOutput":1546},"packages/plugins/plugin-explorer/src/capabilities/index.ts":{"bytesInOutput":190},"packages/plugins/plugin-explorer/src/translations.ts":{"bytesInOutput":295}},"bytes":2946},"packages/plugins/plugin-explorer/dist/lib/node-esm/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-explorer/dist/lib/node-esm/meta.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-3CMBLK6W.mjs","kind":"import-statement"}],"exports":["EXPLORER_PLUGIN","meta"],"entryPoint":"packages/plugins/plugin-explorer/src/meta.ts","inputs":{},"bytes":230},"packages/plugins/plugin-explorer/dist/lib/node-esm/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-explorer/dist/lib/node-esm/types/index.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-N6VEANUZ.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-3CMBLK6W.mjs","kind":"import-statement"}],"exports":["ExplorerAction","ViewType"],"entryPoint":"packages/plugins/plugin-explorer/src/types/index.ts","inputs":{},"bytes":270},"packages/plugins/plugin-explorer/dist/lib/node-esm/ExplorerContainer-MFE7PXF4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1638},"packages/plugins/plugin-explorer/dist/lib/node-esm/ExplorerContainer-MFE7PXF4.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-VSORIAHH.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-AE7VHUJM.mjs","kind":"import-statement"},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-search","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-explorer/src/components/ExplorerContainer.tsx","inputs":{"packages/plugins/plugin-explorer/src/components/ExplorerContainer.tsx":{"bytesInOutput":824}},"bytes":1208},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-VSORIAHH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1783},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-VSORIAHH.mjs":{"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"exports":["useGraphModel"],"inputs":{"packages/plugins/plugin-explorer/src/hooks/useGraphModel.ts":{"bytesInOutput":590},"packages/plugins/plugin-explorer/src/hooks/index.ts":{"bytesInOutput":0}},"bytes":819},"packages/plugins/plugin-explorer/dist/lib/node-esm/intent-resolver-7G6ZKM6E.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1090},"packages/plugins/plugin-explorer/dist/lib/node-esm/intent-resolver-7G6ZKM6E.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-N6VEANUZ.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-3CMBLK6W.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-explorer/src/capabilities/intent-resolver.ts","inputs":{"packages/plugins/plugin-explorer/src/capabilities/intent-resolver.ts":{"bytesInOutput":373}},"bytes":741},"packages/plugins/plugin-explorer/dist/lib/node-esm/react-surface-XBH3WZDL.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1420},"packages/plugins/plugin-explorer/dist/lib/node-esm/react-surface-XBH3WZDL.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-IUFYOE44.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-AE7VHUJM.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-N6VEANUZ.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-3CMBLK6W.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-explorer/src/capabilities/react-surface.tsx","inputs":{"packages/plugins/plugin-explorer/src/capabilities/react-surface.tsx":{"bytesInOutput":503}},"bytes":966},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-IUFYOE44.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":487537},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-IUFYOE44.mjs":{"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@observablehq/plot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"@observablehq/plot","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"topojson-client","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-graph","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"d3","kind":"import-statement","external":true},{"path":"d3","kind":"import-statement","external":true},{"path":"d3","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/ExplorerContainer-MFE7PXF4.mjs","kind":"dynamic-import"}],"exports":["Chart","ExplorerContainer","Globe","Tree","defaultTreeLayoutSlots"],"inputs":{"packages/plugins/plugin-explorer/src/components/Chart/Chart.tsx":{"bytesInOutput":1254},"packages/plugins/plugin-explorer/src/components/plot.ts":{"bytesInOutput":133},"packages/plugins/plugin-explorer/src/components/Globe/Globe.tsx":{"bytesInOutput":1968},"packages/plugins/plugin-explorer/data/countries-110m.js":{"bytesInOutput":188376},"packages/plugins/plugin-explorer/src/components/Tree/Tree.tsx":{"bytesInOutput":2157},"packages/plugins/plugin-explorer/src/components/Tree/layout/HierarchicalEdgeBundling.ts":{"bytesInOutput":2167},"packages/plugins/plugin-explorer/src/components/Tree/layout/RadialTree.ts":{"bytesInOutput":1355},"packages/plugins/plugin-explorer/src/components/Tree/layout/TidyTree.ts":{"bytesInOutput":1596},"packages/plugins/plugin-explorer/src/components/Tree/types/tree.ts":{"bytesInOutput":6323},"packages/plugins/plugin-explorer/src/components/Tree/types/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-explorer/src/components/Tree/types/types.ts":{"bytesInOutput":82},"packages/plugins/plugin-explorer/src/components/index.ts":{"bytesInOutput":110},"packages/plugins/plugin-explorer/src/components/Chart/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-explorer/src/components/Globe/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-explorer/src/components/Tree/index.ts":{"bytesInOutput":0}},"bytes":206725},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-AE7VHUJM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":12519},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-AE7VHUJM.mjs":{"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-graph/styles/graph.css","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"d3","kind":"import-statement","external":true},{"path":"force-graph","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/plugin-search","kind":"import-statement","external":true}],"exports":["D3ForceGraph","ForceGraph"],"inputs":{"packages/plugins/plugin-explorer/src/components/Graph/D3ForceGraph.tsx":{"bytesInOutput":2402},"packages/plugins/plugin-explorer/src/components/Graph/ForceGraph.tsx":{"bytesInOutput":2413},"packages/plugins/plugin-explorer/src/components/Graph/adapter.ts":{"bytesInOutput":488},"packages/plugins/plugin-explorer/src/components/Graph/index.ts":{"bytesInOutput":0}},"bytes":5771},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-N6VEANUZ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1806},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-N6VEANUZ.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-3CMBLK6W.mjs","kind":"import-statement"},{"path":"effect","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"effect","kind":"import-statement","external":true}],"exports":["ExplorerAction","ViewType"],"inputs":{"packages/plugins/plugin-explorer/src/types/schema.ts":{"bytesInOutput":261},"packages/plugins/plugin-explorer/src/types/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-explorer/src/types/types.ts":{"bytesInOutput":455}},"bytes":1065},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-3CMBLK6W.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":898},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-3CMBLK6W.mjs":{"imports":[],"exports":["EXPLORER_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-explorer/src/meta.ts":{"bytesInOutput":427}},"bytes":651}}}
@@ -1,8 +1,8 @@
1
1
  import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
2
  import {
3
3
  ExplorerContainer
4
- } from "./chunk-34X2VFQN.mjs";
5
- import "./chunk-PVII2K2B.mjs";
4
+ } from "./chunk-IUFYOE44.mjs";
5
+ import "./chunk-AE7VHUJM.mjs";
6
6
  import {
7
7
  ViewType
8
8
  } from "./chunk-N6VEANUZ.mjs";
@@ -13,14 +13,14 @@ import {
13
13
  // packages/plugins/plugin-explorer/src/capabilities/react-surface.tsx
14
14
  import React from "react";
15
15
  import { Capabilities, contributes, createSurface } from "@dxos/app-framework";
16
- import { isInstanceOf } from "@dxos/echo-schema";
16
+ import { Obj } from "@dxos/echo";
17
17
  var react_surface_default = () => contributes(Capabilities.ReactSurface, createSurface({
18
18
  id: `${EXPLORER_PLUGIN}/article`,
19
19
  role: [
20
20
  "article",
21
21
  "section"
22
22
  ],
23
- filter: (data) => isInstanceOf(ViewType, data.subject),
23
+ filter: (data) => Obj.instanceOf(ViewType, data.subject),
24
24
  component: ({ data, role }) => /* @__PURE__ */ React.createElement(ExplorerContainer, {
25
25
  view: data.subject,
26
26
  role
@@ -29,4 +29,4 @@ var react_surface_default = () => contributes(Capabilities.ReactSurface, createS
29
29
  export {
30
30
  react_surface_default as default
31
31
  };
32
- //# sourceMappingURL=react-surface-ZEVL3FXG.mjs.map
32
+ //# sourceMappingURL=react-surface-XBH3WZDL.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 { Obj } from '@dxos/echo';\n\nimport { ExplorerContainer } from '../components';\nimport { EXPLORER_PLUGIN } from '../meta';\nimport { ViewType } from '../types';\n\nexport default () =>\n contributes(\n Capabilities.ReactSurface,\n createSurface({\n id: `${EXPLORER_PLUGIN}/article`,\n role: ['article', 'section'],\n filter: (data): data is { subject: ViewType } => Obj.instanceOf(ViewType, data.subject),\n component: ({ data, role }) => <ExplorerContainer view={data.subject} role={role} />,\n }),\n );\n"],
5
+ "mappings": ";;;;;;;;;;;;;AAIA,OAAOA,WAAW;AAElB,SAASC,cAAcC,aAAaC,qBAAqB;AACzD,SAASC,WAAW;AAMpB,IAAA,wBAAe,MACbC,YACEC,aAAaC,cACbC,cAAc;EACZC,IAAI,GAAGC,eAAAA;EACPC,MAAM;IAAC;IAAW;;EAClBC,QAAQ,CAACC,SAAwCC,IAAIC,WAAWC,UAAUH,KAAKI,OAAO;EACtFC,WAAW,CAAC,EAAEL,MAAMF,KAAI,MAAO,sBAAA,cAACQ,mBAAAA;IAAkBC,MAAMP,KAAKI;IAASN;;AACxE,CAAA,CAAA;",
6
+ "names": ["React", "Capabilities", "contributes", "createSurface", "Obj", "contributes", "Capabilities", "ReactSurface", "createSurface", "id", "EXPLORER_PLUGIN", "role", "filter", "data", "Obj", "instanceOf", "ViewType", "subject", "component", "ExplorerContainer", "view"]
7
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"ForceGraph.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/ForceGraph.tsx"],"names":[],"mappings":"AAMA,OAAc,EAAE,KAAK,EAAE,EAAqB,MAAM,OAAO,CAAC;AAI1D,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAIpD,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA+D1C,CAAC"}
1
+ {"version":3,"file":"ForceGraph.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/ForceGraph.tsx"],"names":[],"mappings":"AAMA,OAAc,EAAE,KAAK,EAAE,EAA+B,MAAM,OAAO,CAAC;AAIpE,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAIpD,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAwE1C,CAAC"}
@@ -10,6 +10,9 @@ export type GraphData = {
10
10
  nodes: GraphNode[];
11
11
  links: GraphLink[];
12
12
  };
13
+ /**
14
+ * Map common graph to force-graph format.
15
+ */
13
16
  export declare class GraphAdapter implements GraphData {
14
17
  private readonly graph;
15
18
  private readonly _nodes;
@@ -1 +1 @@
1
- {"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/adapter.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB,CAAC;AAEF,qBAAa,YAAa,YAAW,SAAS;IAIhC,OAAO,CAAC,QAAQ,CAAC,KAAK;IAHlC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAC1C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;gBAEb,KAAK,EAAE,KAAK;IAezC,IAAI,KAAK,gBAER;IAED,IAAI,KAAK,gBAER;CACF"}
1
+ {"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/adapter.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,qBAAa,YAAa,YAAW,SAAS;IAIhC,OAAO,CAAC,QAAQ,CAAC,KAAK;IAHlC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAC1C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;gBAEb,KAAK,EAAE,KAAK;IAezC,IAAI,KAAK,gBAER;IAED,IAAI,KAAK,gBAER;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/testing.ts"],"names":[],"mappings":"AAIA,OAAO,EAA4B,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAGzE,OAAO,EAAuB,KAAK,cAAc,EAAE,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAW/F,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE;QACV,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH,CAAC;AAIF;;GAEG;AACH,eAAO,MAAM,QAAQ,GACnB,OAAO,KAAK,EACZ,WAAW,cAAc,EACzB,sBAAuD,eAAoB,kBAsB5E,CAAC"}
1
+ {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/testing.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAI/C,OAAO,EAAuB,KAAK,cAAc,EAAE,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAW/F,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE;QACV,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH,CAAC;AAIF;;GAEG;AACH,eAAO,MAAM,QAAQ,GACnB,OAAO,KAAK,EACZ,WAAW,cAAc,EACzB,sBAAuD,eAAoB,kBAoB5E,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import { Schema } from 'effect';
2
- import { Type } from '@dxos/echo';
3
- import { ObjectId } from '@dxos/echo-schema';
2
+ import { Key, Type } from '@dxos/echo';
4
3
  export declare const TreeNodeType: Schema.mutable<Schema.Struct<{
5
4
  id: import("@dxos/keys").ObjectIdClass;
6
5
  children: Schema.mutable<Schema.Array$<import("@dxos/keys").ObjectIdClass>>;
@@ -33,8 +32,8 @@ export declare class Tree {
33
32
  /**
34
33
  * Recursively traverse the tree until the callback returns a value.
35
34
  */
36
- tranverse<T>(callback: (node: TreeNodeType, depth: number) => T | void, root?: ObjectId, depth?: number): T | void;
37
- getNode(id: ObjectId): TreeNodeType;
35
+ tranverse<T>(callback: (node: TreeNodeType, depth: number) => T | void, root?: Key.ObjectId, depth?: number): T | void;
36
+ getNode(id: Key.ObjectId): TreeNodeType;
38
37
  /**
39
38
  * Get the children of a node.
40
39
  */
@@ -66,7 +65,7 @@ export declare class Tree {
66
65
  /**
67
66
  * Delete node.
68
67
  */
69
- deleteNode(parent: TreeNodeType, id: ObjectId): TreeNodeType | undefined;
68
+ deleteNode(parent: TreeNodeType, id: Key.ObjectId): TreeNodeType | undefined;
70
69
  /**
71
70
  * Move child node.
72
71
  */
@@ -1 +1 @@
1
- {"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/types/tree.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAgB,MAAM,mBAAmB,CAAC;AAM3D,eAAO,MAAM,YAAY;;;;;GAKF,CAAC;AAExB,MAAM,WAAW,YAAa,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,YAAY,CAAC;CAAG;AAEhF,eAAO,MAAM,QAAQ;;;;;;;;OAQpB,CAAC;AAEF,MAAM,WAAW,QAAS,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,QAAQ,CAAC;CAAG;AAExE;;GAEG;AACH,qBAAa,IAAI;IACf,MAAM,CAAC,MAAM,QAAO,QAAQ,CAY1B;IAEF,OAAO,CAAC,KAAK,CAAW;gBAEZ,IAAI,CAAC,EAAE,QAAQ;IAI3B,IAAI,IAAI,aAEP;IAGD,IAAI,IAAI,WAEP;IAED,IAAI,IAAI,iBAEP;IAMD;;OAEG;IACH,SAAS,CAAC,CAAC,EACT,QAAQ,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC,GAAG,IAAI,EACzD,IAAI,GAAE,QAA0B,EAChC,KAAK,SAAI,GACR,CAAC,GAAG,IAAI;IAeX,OAAO,CAAC,EAAE,EAAE,QAAQ,GAAG,YAAY;IAMnC;;OAEG;IACH,aAAa,CAAC,IAAI,EAAE,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC;IAItD;;OAEG;IACH,SAAS,CAAC,IAAI,EAAE,YAAY,GAAG,YAAY,GAAG,IAAI;IAUlD;;OAEG;IACH,OAAO,CAAC,IAAI,EAAE,YAAY,EAAE,YAAY,UAAO,GAAG,YAAY,GAAG,SAAS;IAmB1E;;OAEG;IACH,WAAW,CAAC,IAAI,EAAE,YAAY,EAAE,YAAY,UAAO,GAAG,YAAY,GAAG,SAAS;IAiB9E;;OAEG;IACH,iBAAiB,CAAC,IAAI,EAAE,YAAY,GAAG,YAAY,GAAG,SAAS;IAc/D;;OAEG;IACH,KAAK,IAAI,IAAI;IAQb;;OAEG;IACH,OAAO,CAAC,MAAM,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,YAAY,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,YAAY;IAWhF;;OAEG;IACH,UAAU,CAAC,MAAM,EAAE,YAAY,EAAE,EAAE,EAAE,QAAQ,GAAG,YAAY,GAAG,SAAS;IAexE;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,YAAY,GAAG,IAAI;IAa3E;;OAEG;IACH,UAAU,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI;IAgBpC;;OAEG;IACH,YAAY,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI;CAuBvC"}
1
+ {"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/types/tree.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,GAAG,EAAO,IAAI,EAAE,MAAM,YAAY,CAAC;AAK5C,eAAO,MAAM,YAAY;;;;;GAKF,CAAC;AAExB,MAAM,WAAW,YAAa,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,YAAY,CAAC;CAAG;AAEhF,eAAO,MAAM,QAAQ;;;;;;;;OAQpB,CAAC;AAEF,MAAM,WAAW,QAAS,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,QAAQ,CAAC;CAAG;AAExE;;GAEG;AACH,qBAAa,IAAI;IACf,MAAM,CAAC,MAAM,QAAO,QAAQ,CAY1B;IAEF,OAAO,CAAC,KAAK,CAAW;gBAEZ,IAAI,CAAC,EAAE,QAAQ;IAI3B,IAAI,IAAI,aAEP;IAGD,IAAI,IAAI,WAEP;IAED,IAAI,IAAI,iBAEP;IAMD;;OAEG;IACH,SAAS,CAAC,CAAC,EACT,QAAQ,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC,GAAG,IAAI,EACzD,IAAI,GAAE,GAAG,CAAC,QAA0B,EACpC,KAAK,SAAI,GACR,CAAC,GAAG,IAAI;IAeX,OAAO,CAAC,EAAE,EAAE,GAAG,CAAC,QAAQ,GAAG,YAAY;IAMvC;;OAEG;IACH,aAAa,CAAC,IAAI,EAAE,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC;IAItD;;OAEG;IACH,SAAS,CAAC,IAAI,EAAE,YAAY,GAAG,YAAY,GAAG,IAAI;IAUlD;;OAEG;IACH,OAAO,CAAC,IAAI,EAAE,YAAY,EAAE,YAAY,UAAO,GAAG,YAAY,GAAG,SAAS;IAmB1E;;OAEG;IACH,WAAW,CAAC,IAAI,EAAE,YAAY,EAAE,YAAY,UAAO,GAAG,YAAY,GAAG,SAAS;IAiB9E;;OAEG;IACH,iBAAiB,CAAC,IAAI,EAAE,YAAY,GAAG,YAAY,GAAG,SAAS;IAc/D;;OAEG;IACH,KAAK,IAAI,IAAI;IAQb;;OAEG;IACH,OAAO,CAAC,MAAM,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,YAAY,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,YAAY;IAWhF;;OAEG;IACH,UAAU,CAAC,MAAM,EAAE,YAAY,EAAE,EAAE,EAAE,GAAG,CAAC,QAAQ,GAAG,YAAY,GAAG,SAAS;IAe5E;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,YAAY,GAAG,IAAI;IAa3E;;OAEG;IACH,UAAU,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI;IAgBpC;;OAEG;IACH,YAAY,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI;CAuBvC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/plugin-explorer",
3
- "version": "0.8.2",
3
+ "version": "0.8.3-main.7f5a14c",
4
4
  "description": "Braneframe data visualization plugin",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -43,24 +43,25 @@
43
43
  "lodash.defaultsdeep": "^4.6.1",
44
44
  "react-resize-detector": "^11.0.1",
45
45
  "topojson-client": "^3.1.0",
46
- "@dxos/app-framework": "0.8.2",
47
- "@dxos/async": "0.8.2",
48
- "@dxos/client": "0.8.2",
49
- "@dxos/echo": "0.8.2",
50
- "@dxos/echo-schema": "0.8.2",
51
- "@dxos/graph": "0.8.2",
52
- "@dxos/invariant": "0.8.2",
53
- "@dxos/live-object": "0.8.2",
54
- "@dxos/plugin-client": "0.8.2",
55
- "@dxos/log": "0.8.2",
56
- "@dxos/plugin-search": "0.8.2",
57
- "@dxos/plugin-graph": "0.8.2",
58
- "@dxos/plugin-space": "0.8.2",
59
- "@dxos/react-client": "0.8.2",
60
- "@dxos/react-ui-graph": "0.8.2",
61
- "@dxos/react-ui-stack": "0.8.2",
62
- "@dxos/util": "0.8.2",
63
- "@dxos/schema": "0.8.2"
46
+ "@dxos/app-framework": "0.8.3-main.7f5a14c",
47
+ "@dxos/echo": "0.8.3-main.7f5a14c",
48
+ "@dxos/graph": "0.8.3-main.7f5a14c",
49
+ "@dxos/async": "0.8.3-main.7f5a14c",
50
+ "@dxos/echo-schema": "0.8.3-main.7f5a14c",
51
+ "@dxos/live-object": "0.8.3-main.7f5a14c",
52
+ "@dxos/log": "0.8.3-main.7f5a14c",
53
+ "@dxos/invariant": "0.8.3-main.7f5a14c",
54
+ "@dxos/client": "0.8.3-main.7f5a14c",
55
+ "@dxos/plugin-client": "0.8.3-main.7f5a14c",
56
+ "@dxos/plugin-graph": "0.8.3-main.7f5a14c",
57
+ "@dxos/plugin-search": "0.8.3-main.7f5a14c",
58
+ "@dxos/react-client": "0.8.3-main.7f5a14c",
59
+ "@dxos/react-ui-attention": "0.8.3-main.7f5a14c",
60
+ "@dxos/plugin-space": "0.8.3-main.7f5a14c",
61
+ "@dxos/react-ui-stack": "0.8.3-main.7f5a14c",
62
+ "@dxos/util": "0.8.3-main.7f5a14c",
63
+ "@dxos/react-ui-graph": "0.8.3-main.7f5a14c",
64
+ "@dxos/schema": "0.8.3-main.7f5a14c"
64
65
  },
65
66
  "devDependencies": {
66
67
  "@phosphor-icons/react": "^2.1.5",
@@ -74,19 +75,19 @@
74
75
  "react": "~18.2.0",
75
76
  "react-dom": "~18.2.0",
76
77
  "vite": "5.4.7",
77
- "@dxos/echo-generator": "0.8.2",
78
- "@dxos/random": "0.8.2",
79
- "@dxos/react-ui": "0.8.2",
80
- "@dxos/react-ui-theme": "0.8.2",
81
- "@dxos/storybook-utils": "0.8.2"
78
+ "@dxos/echo-generator": "0.8.3-main.7f5a14c",
79
+ "@dxos/random": "0.8.3-main.7f5a14c",
80
+ "@dxos/react-ui-theme": "0.8.3-main.7f5a14c",
81
+ "@dxos/storybook-utils": "0.8.3-main.7f5a14c",
82
+ "@dxos/react-ui": "0.8.3-main.7f5a14c"
82
83
  },
83
84
  "peerDependencies": {
84
85
  "@phosphor-icons/react": "^2.1.5",
85
86
  "effect": "^3.13.3",
86
87
  "react": "~18.2.0",
87
88
  "react-dom": "~18.2.0",
88
- "@dxos/react-ui-theme": "0.8.2",
89
- "@dxos/react-ui": "0.8.2"
89
+ "@dxos/react-ui": "0.8.3-main.7f5a14c",
90
+ "@dxos/react-ui-theme": "0.8.3-main.7f5a14c"
90
91
  },
91
92
  "publishConfig": {
92
93
  "access": "public"
@@ -3,7 +3,7 @@
3
3
  //
4
4
 
5
5
  import { contributes, Capabilities, createResolver } from '@dxos/app-framework';
6
- import { live } from '@dxos/live-object';
6
+ import { Obj } from '@dxos/echo';
7
7
 
8
8
  import { ExplorerAction, ViewType } from '../types';
9
9
 
@@ -13,7 +13,7 @@ export default () =>
13
13
  createResolver({
14
14
  intent: ExplorerAction.Create,
15
15
  resolve: ({ name }) => ({
16
- data: { object: live(ViewType, { name, type: '' }) },
16
+ data: { object: Obj.make(ViewType, { name, type: '' }) },
17
17
  }),
18
18
  }),
19
19
  );
@@ -5,7 +5,7 @@
5
5
  import React from 'react';
6
6
 
7
7
  import { Capabilities, contributes, createSurface } from '@dxos/app-framework';
8
- import { isInstanceOf } from '@dxos/echo-schema';
8
+ import { Obj } from '@dxos/echo';
9
9
 
10
10
  import { ExplorerContainer } from '../components';
11
11
  import { EXPLORER_PLUGIN } from '../meta';
@@ -17,7 +17,7 @@ export default () =>
17
17
  createSurface({
18
18
  id: `${EXPLORER_PLUGIN}/article`,
19
19
  role: ['article', 'section'],
20
- filter: (data): data is { subject: ViewType } => isInstanceOf(ViewType, data.subject),
20
+ filter: (data): data is { subject: ViewType } => Obj.instanceOf(ViewType, data.subject),
21
21
  component: ({ data, role }) => <ExplorerContainer view={data.subject} role={role} />,
22
22
  }),
23
23
  );
@@ -8,7 +8,7 @@ import { useGlobalSearch } from '@dxos/plugin-search';
8
8
  import { getSpace } from '@dxos/react-client/echo';
9
9
  import { StackItem } from '@dxos/react-ui-stack';
10
10
 
11
- import { ForceGraph } from './Graph';
11
+ import { D3ForceGraph } from './Graph';
12
12
  import { useGraphModel } from '../hooks';
13
13
  import { type ViewType } from '../types';
14
14
 
@@ -19,16 +19,16 @@ type ExplorerContainerProps = {
19
19
 
20
20
  const ExplorerContainer = ({ role, view }: ExplorerContainerProps) => {
21
21
  const space = getSpace(view);
22
- const { match } = useGlobalSearch();
23
22
  const model = useGraphModel(space);
23
+ const { match } = useGlobalSearch();
24
24
 
25
- if (!model || !space) {
25
+ if (!space || !model) {
26
26
  return null;
27
27
  }
28
28
 
29
29
  return (
30
30
  <StackItem.Content size={role === 'section' ? 'square' : 'intrinsic'}>
31
- <ForceGraph model={model} match={match} />
31
+ <D3ForceGraph model={model} match={match} />
32
32
  </StackItem.Content>
33
33
  );
34
34
  };
@@ -7,9 +7,9 @@ import '@dxos-theme';
7
7
  import { type Meta } from '@storybook/react';
8
8
  import React, { useEffect, useState } from 'react';
9
9
 
10
+ import { Obj } from '@dxos/echo';
10
11
  import { faker } from '@dxos/random';
11
12
  import { useClient } from '@dxos/react-client';
12
- import { live } from '@dxos/react-client/echo';
13
13
  import { type Space } from '@dxos/react-client/echo';
14
14
  import { withClientProvider } from '@dxos/react-client/testing';
15
15
  import { DataType } from '@dxos/schema';
@@ -32,7 +32,7 @@ const DefaultStory = () => {
32
32
  useEffect(() => {
33
33
  const space = client.spaces.default;
34
34
  void generate(space, generator);
35
- const view = space.db.add(live(ViewType, { name: '', type: '' }));
35
+ const view = space.db.add(Obj.make(ViewType, { name: '', type: '' }));
36
36
  setSpace(space);
37
37
  setView(view);
38
38
  }, []);
@@ -4,7 +4,7 @@
4
4
 
5
5
  import React, { type FC, useCallback, useEffect, useMemo, useRef } from 'react';
6
6
 
7
- import { getTypename } from '@dxos/echo-schema';
7
+ import { Obj } from '@dxos/echo';
8
8
  import { SelectionModel } from '@dxos/graph';
9
9
  import { type ThemedClassName } from '@dxos/react-ui';
10
10
  import {
@@ -85,7 +85,7 @@ export const D3ForceGraph: FC<D3ForceGraphProps> = ({ classNames, model, selecti
85
85
  const obj = node.data?.data.object;
86
86
  return {
87
87
  data: {
88
- color: getHashColor(obj && getTypename(obj))?.color,
88
+ color: getHashColor(obj && Obj.getTypename(obj))?.color,
89
89
  },
90
90
  classes: {
91
91
  'dx-selected': selection.contains(node.id),
@@ -7,9 +7,9 @@ import '@dxos-theme';
7
7
  import { type Meta } from '@storybook/react';
8
8
  import React, { useEffect, useState } from 'react';
9
9
 
10
+ import { Obj } from '@dxos/echo';
10
11
  import { faker } from '@dxos/random';
11
12
  import { useClient } from '@dxos/react-client';
12
- import { live } from '@dxos/react-client/echo';
13
13
  import { type Space } from '@dxos/react-client/echo';
14
14
  import { withClientProvider } from '@dxos/react-client/testing';
15
15
  import { DataType } from '@dxos/schema';
@@ -32,7 +32,7 @@ const DefaultStory = () => {
32
32
  useEffect(() => {
33
33
  const space = client.spaces.default;
34
34
  void generate(space, generator);
35
- const view = space.db.add(live(ViewType, { name: '', type: '' }));
35
+ const view = space.db.add(Obj.make(ViewType, { name: '', type: '' }));
36
36
  setSpace(space);
37
37
  setView(view);
38
38
  }, []);