@dxos/plugin-explorer 0.8.2-main.12df754 → 0.8.2-main.36232bc
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/{chunk-B2DMPSP5.mjs → chunk-RRXH3JYB.mjs} +16 -16
- package/dist/lib/browser/{chunk-B2DMPSP5.mjs.map → chunk-RRXH3JYB.mjs.map} +3 -3
- package/dist/lib/browser/index.mjs +2 -2
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-N7TC6BMF.mjs → react-surface-TPR4VUPE.mjs} +2 -2
- package/dist/lib/node/{chunk-HCDBN6NN.cjs → chunk-4QUNUHKB.cjs} +19 -19
- package/dist/lib/node/{chunk-HCDBN6NN.cjs.map → chunk-4QUNUHKB.cjs.map} +3 -3
- package/dist/lib/node/index.cjs +7 -7
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/{react-surface-WD4G2NRS.cjs → react-surface-OLIOGYOK.cjs} +6 -6
- package/dist/lib/node-esm/{chunk-PZOORWFE.mjs → chunk-VNMYGDGZ.mjs} +16 -16
- package/dist/lib/node-esm/{chunk-PZOORWFE.mjs.map → chunk-VNMYGDGZ.mjs.map} +3 -3
- package/dist/lib/node-esm/index.mjs +2 -2
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-surface-J5SW7VF2.mjs → react-surface-QLB55AWT.mjs} +2 -2
- package/dist/types/src/components/Tree/layout/HierarchicalEdgeBundling.d.ts.map +1 -1
- package/dist/types/src/components/Tree/layout/RadialTree.d.ts.map +1 -1
- package/dist/types/src/components/Tree/layout/TidyTree.d.ts.map +1 -1
- package/package.json +24 -24
- package/src/components/Globe/Globe.stories.tsx +13 -13
- package/src/components/Tree/layout/HierarchicalEdgeBundling.ts +17 -19
- package/src/components/Tree/layout/RadialTree.ts +5 -7
- package/src/components/Tree/layout/TidyTree.ts +5 -6
- /package/dist/lib/browser/{react-surface-N7TC6BMF.mjs.map → react-surface-TPR4VUPE.mjs.map} +0 -0
- /package/dist/lib/node/{react-surface-WD4G2NRS.cjs.map → react-surface-OLIOGYOK.cjs.map} +0 -0
- /package/dist/lib/node-esm/{react-surface-J5SW7VF2.mjs.map → react-surface-QLB55AWT.mjs.map} +0 -0
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
Globe,
|
|
6
6
|
Tree,
|
|
7
7
|
defaultTreeLayoutSlots
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VNMYGDGZ.mjs";
|
|
9
9
|
import {
|
|
10
10
|
Graph,
|
|
11
11
|
SpaceGraphModel
|
|
@@ -28,7 +28,7 @@ import { defineObjectForm } from "@dxos/plugin-space/types";
|
|
|
28
28
|
// packages/plugins/plugin-explorer/src/capabilities/index.ts
|
|
29
29
|
import { lazy } from "@dxos/app-framework";
|
|
30
30
|
var IntentResolver = lazy(() => import("./intent-resolver-OMUHLTGU.mjs"));
|
|
31
|
-
var ReactSurface = lazy(() => import("./react-surface-
|
|
31
|
+
var ReactSurface = lazy(() => import("./react-surface-QLB55AWT.mjs"));
|
|
32
32
|
|
|
33
33
|
// packages/plugins/plugin-explorer/src/translations.ts
|
|
34
34
|
var translations_default = [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/plugins/plugin-explorer/src/components/plot.ts":{"bytes":1452,"imports":[],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Chart/Chart.tsx":{"bytes":4922,"imports":[{"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":514,"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":7510,"imports":[{"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":514,"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/graph-model.ts":{"bytes":22069,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/gem-spore","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Graph/Graph.tsx":{"bytes":9918,"imports":[{"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":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/src/components/Graph/graph-model.ts","kind":"import-statement","original":"./graph-model"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Graph/index.ts":{"bytes":617,"imports":[{"path":"packages/plugins/plugin-explorer/src/components/Graph/graph-model.ts","kind":"import-statement","original":"./graph-model"},{"path":"packages/plugins/plugin-explorer/src/components/Graph/Graph.tsx","kind":"import-statement","original":"./Graph"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/layout/HierarchicalEdgeBundling.ts":{"bytes":17747,"imports":[{"path":"d3","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/layout/RadialTree.ts":{"bytes":8806,"imports":[{"path":"d3","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/layout/TidyTree.ts":{"bytes":9309,"imports":[{"path":"d3","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/layout/index.ts":{"bytes":1143,"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.ts":{"bytes":3854,"imports":[],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/Tree.tsx":{"bytes":10127,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/gem-core","kind":"import-statement","external":true},{"path":"@dxos/react-ui","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.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-explorer/src/components/Graph/index.ts","kind":"import-statement","original":"../Graph"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/index.ts":{"bytes":512,"imports":[{"path":"packages/plugins/plugin-explorer/src/components/Tree/Tree.tsx","kind":"import-statement","original":"./Tree"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/ExplorerContainer.tsx":{"bytes":2730,"imports":[{"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"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/index.ts":{"bytes":1150,"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/types/schema.ts":{"bytes":1423,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/meta.ts":{"bytes":1971,"imports":[],"format":"esm"},"packages/plugins/plugin-explorer/src/types/types.ts":{"bytes":2265,"imports":[{"path":"@dxos/echo-schema","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":589,"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":2222,"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":2957,"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":1083,"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":1740,"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":7518,"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":785,"imports":[{"path":"packages/plugins/plugin-explorer/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-explorer/src/ExplorerPlugin.tsx","kind":"import-statement","original":"./ExplorerPlugin"},{"path":"packages/plugins/plugin-explorer/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-explorer/dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4788},"packages/plugins/plugin-explorer/dist/lib/node-esm/index.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PZOORWFE.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-SZRRNWYT.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-QZH2GDN5.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PUFSCMN4.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-OMUHLTGU.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/react-surface-J5SW7VF2.mjs","kind":"dynamic-import"}],"exports":["Chart","EXPLORER_PLUGIN","ExplorerContainer","ExplorerPlugin","Globe","Graph","SpaceGraphModel","Tree","defaultTreeLayoutSlots","meta"],"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":2869},"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-PUFSCMN4.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-QZH2GDN5.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PUFSCMN4.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-NMI55PYM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1383},"packages/plugins/plugin-explorer/dist/lib/node-esm/ExplorerContainer-NMI55PYM.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-SZRRNWYT.mjs","kind":"import-statement"},{"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":590}},"bytes":911},"packages/plugins/plugin-explorer/dist/lib/node-esm/intent-resolver-OMUHLTGU.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1082},"packages/plugins/plugin-explorer/dist/lib/node-esm/intent-resolver-OMUHLTGU.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-QZH2GDN5.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PUFSCMN4.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-J5SW7VF2.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1434},"packages/plugins/plugin-explorer/dist/lib/node-esm/react-surface-J5SW7VF2.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PZOORWFE.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-SZRRNWYT.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-QZH2GDN5.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PUFSCMN4.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-PZOORWFE.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":475537},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PZOORWFE.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-SZRRNWYT.mjs","kind":"import-statement"},{"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":"@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":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/gem-core","kind":"import-statement","external":true},{"path":"@dxos/react-ui","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":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/ExplorerContainer-NMI55PYM.mjs","kind":"dynamic-import"}],"exports":["Chart","ExplorerContainer","Globe","Tree","defaultTreeLayoutSlots"],"inputs":{"packages/plugins/plugin-explorer/src/components/Chart/Chart.tsx":{"bytesInOutput":1031},"packages/plugins/plugin-explorer/src/components/plot.ts":{"bytesInOutput":133},"packages/plugins/plugin-explorer/src/components/Globe/Globe.tsx":{"bytesInOutput":1707},"packages/plugins/plugin-explorer/data/countries-110m.js":{"bytesInOutput":188376},"packages/plugins/plugin-explorer/src/components/Tree/Tree.tsx":{"bytesInOutput":2078},"packages/plugins/plugin-explorer/src/components/Tree/layout/HierarchicalEdgeBundling.ts":{"bytesInOutput":2134},"packages/plugins/plugin-explorer/src/components/Tree/layout/RadialTree.ts":{"bytesInOutput":1313},"packages/plugins/plugin-explorer/src/components/Tree/layout/TidyTree.ts":{"bytesInOutput":1542},"packages/plugins/plugin-explorer/src/components/Tree/types.ts":{"bytesInOutput":699},"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":200299},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-SZRRNWYT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":15411},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-SZRRNWYT.mjs":{"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/gem-spore","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","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":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["Graph","SpaceGraphModel"],"inputs":{"packages/plugins/plugin-explorer/src/components/Graph/graph-model.ts":{"bytesInOutput":4869},"packages/plugins/plugin-explorer/src/components/Graph/Graph.tsx":{"bytesInOutput":2042},"packages/plugins/plugin-explorer/src/components/Graph/index.ts":{"bytesInOutput":0}},"bytes":7228},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-QZH2GDN5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1706},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-QZH2GDN5.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PUFSCMN4.mjs","kind":"import-statement"},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"exports":["ExplorerAction","ViewType"],"inputs":{"packages/plugins/plugin-explorer/src/types/schema.ts":{"bytesInOutput":216},"packages/plugins/plugin-explorer/src/types/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-explorer/src/types/types.ts":{"bytesInOutput":431}},"bytes":996},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PUFSCMN4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":919},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PUFSCMN4.mjs":{"imports":[],"exports":["EXPLORER_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-explorer/src/meta.ts":{"bytesInOutput":448}},"bytes":672}}}
|
|
1
|
+
{"inputs":{"packages/plugins/plugin-explorer/src/components/plot.ts":{"bytes":1452,"imports":[],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Chart/Chart.tsx":{"bytes":4922,"imports":[{"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":514,"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":7510,"imports":[{"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":514,"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/graph-model.ts":{"bytes":22069,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/gem-spore","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Graph/Graph.tsx":{"bytes":9918,"imports":[{"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":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/src/components/Graph/graph-model.ts","kind":"import-statement","original":"./graph-model"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Graph/index.ts":{"bytes":617,"imports":[{"path":"packages/plugins/plugin-explorer/src/components/Graph/graph-model.ts","kind":"import-statement","original":"./graph-model"},{"path":"packages/plugins/plugin-explorer/src/components/Graph/Graph.tsx","kind":"import-statement","original":"./Graph"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/layout/HierarchicalEdgeBundling.ts":{"bytes":17704,"imports":[{"path":"d3","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/layout/RadialTree.ts":{"bytes":8806,"imports":[{"path":"d3","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/layout/TidyTree.ts":{"bytes":9328,"imports":[{"path":"d3","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/layout/index.ts":{"bytes":1143,"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.ts":{"bytes":3854,"imports":[],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/Tree.tsx":{"bytes":10127,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/gem-core","kind":"import-statement","external":true},{"path":"@dxos/react-ui","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.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-explorer/src/components/Graph/index.ts","kind":"import-statement","original":"../Graph"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/Tree/index.ts":{"bytes":512,"imports":[{"path":"packages/plugins/plugin-explorer/src/components/Tree/Tree.tsx","kind":"import-statement","original":"./Tree"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/ExplorerContainer.tsx":{"bytes":2730,"imports":[{"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"}],"format":"esm"},"packages/plugins/plugin-explorer/src/components/index.ts":{"bytes":1150,"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/types/schema.ts":{"bytes":1423,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-explorer/src/meta.ts":{"bytes":1971,"imports":[],"format":"esm"},"packages/plugins/plugin-explorer/src/types/types.ts":{"bytes":2265,"imports":[{"path":"@dxos/echo-schema","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":589,"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":2222,"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":2957,"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":1083,"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":1740,"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":7518,"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":785,"imports":[{"path":"packages/plugins/plugin-explorer/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-explorer/src/ExplorerPlugin.tsx","kind":"import-statement","original":"./ExplorerPlugin"},{"path":"packages/plugins/plugin-explorer/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-explorer/dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4788},"packages/plugins/plugin-explorer/dist/lib/node-esm/index.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-VNMYGDGZ.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-SZRRNWYT.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-QZH2GDN5.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PUFSCMN4.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-OMUHLTGU.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/react-surface-QLB55AWT.mjs","kind":"dynamic-import"}],"exports":["Chart","EXPLORER_PLUGIN","ExplorerContainer","ExplorerPlugin","Globe","Graph","SpaceGraphModel","Tree","defaultTreeLayoutSlots","meta"],"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":2869},"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-PUFSCMN4.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-QZH2GDN5.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PUFSCMN4.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-NMI55PYM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1383},"packages/plugins/plugin-explorer/dist/lib/node-esm/ExplorerContainer-NMI55PYM.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-SZRRNWYT.mjs","kind":"import-statement"},{"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":590}},"bytes":911},"packages/plugins/plugin-explorer/dist/lib/node-esm/intent-resolver-OMUHLTGU.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1082},"packages/plugins/plugin-explorer/dist/lib/node-esm/intent-resolver-OMUHLTGU.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-QZH2GDN5.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PUFSCMN4.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-QLB55AWT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1434},"packages/plugins/plugin-explorer/dist/lib/node-esm/react-surface-QLB55AWT.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-VNMYGDGZ.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-SZRRNWYT.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-QZH2GDN5.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PUFSCMN4.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-VNMYGDGZ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":475788},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-VNMYGDGZ.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-SZRRNWYT.mjs","kind":"import-statement"},{"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":"@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":"react","kind":"import-statement","external":true},{"path":"react-resize-detector","kind":"import-statement","external":true},{"path":"@dxos/gem-core","kind":"import-statement","external":true},{"path":"@dxos/react-ui","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":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/ExplorerContainer-NMI55PYM.mjs","kind":"dynamic-import"}],"exports":["Chart","ExplorerContainer","Globe","Tree","defaultTreeLayoutSlots"],"inputs":{"packages/plugins/plugin-explorer/src/components/Chart/Chart.tsx":{"bytesInOutput":1031},"packages/plugins/plugin-explorer/src/components/plot.ts":{"bytesInOutput":133},"packages/plugins/plugin-explorer/src/components/Globe/Globe.tsx":{"bytesInOutput":1707},"packages/plugins/plugin-explorer/data/countries-110m.js":{"bytesInOutput":188376},"packages/plugins/plugin-explorer/src/components/Tree/Tree.tsx":{"bytesInOutput":2078},"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.ts":{"bytesInOutput":699},"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":200428},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-SZRRNWYT.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":15411},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-SZRRNWYT.mjs":{"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/gem-spore","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","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":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["Graph","SpaceGraphModel"],"inputs":{"packages/plugins/plugin-explorer/src/components/Graph/graph-model.ts":{"bytesInOutput":4869},"packages/plugins/plugin-explorer/src/components/Graph/Graph.tsx":{"bytesInOutput":2042},"packages/plugins/plugin-explorer/src/components/Graph/index.ts":{"bytesInOutput":0}},"bytes":7228},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-QZH2GDN5.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1706},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-QZH2GDN5.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PUFSCMN4.mjs","kind":"import-statement"},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"exports":["ExplorerAction","ViewType"],"inputs":{"packages/plugins/plugin-explorer/src/types/schema.ts":{"bytesInOutput":216},"packages/plugins/plugin-explorer/src/types/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-explorer/src/types/types.ts":{"bytesInOutput":431}},"bytes":996},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PUFSCMN4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":919},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PUFSCMN4.mjs":{"imports":[],"exports":["EXPLORER_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-explorer/src/meta.ts":{"bytesInOutput":448}},"bytes":672}}}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
ExplorerContainer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VNMYGDGZ.mjs";
|
|
5
5
|
import "./chunk-SZRRNWYT.mjs";
|
|
6
6
|
import {
|
|
7
7
|
ViewType
|
|
@@ -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-
|
|
32
|
+
//# sourceMappingURL=react-surface-QLB55AWT.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HierarchicalEdgeBundling.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/layout/HierarchicalEdgeBundling.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AASzC,QAAA,MAAM,wBAAwB,MAAO,aAAa,QAAQ,QAAQ,WAAW,WAAW,
|
|
1
|
+
{"version":3,"file":"HierarchicalEdgeBundling.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/layout/HierarchicalEdgeBundling.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AASzC,QAAA,MAAM,wBAAwB,MAAO,aAAa,QAAQ,QAAQ,WAAW,WAAW,SAuFvF,CAAC;AAwDF,eAAe,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadialTree.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/layout/RadialTree.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAK3C,QAAA,MAAM,UAAU,MAAO,aAAa,QAAQ,GAAG,WAAW,WAAW,
|
|
1
|
+
{"version":3,"file":"RadialTree.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/layout/RadialTree.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAK3C,QAAA,MAAM,UAAU,MAAO,aAAa,QAAQ,GAAG,WAAW,WAAW,yBA+EpE,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TidyTree.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/layout/TidyTree.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAI3C,QAAA,MAAM,QAAQ,MAAO,aAAa,QAAQ,GAAG,WAAW,WAAW,
|
|
1
|
+
{"version":3,"file":"TidyTree.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/layout/TidyTree.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAI3C,QAAA,MAAM,QAAQ,MAAO,aAAa,QAAQ,GAAG,WAAW,WAAW,SAuFlE,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-explorer",
|
|
3
|
-
"version": "0.8.2-main.
|
|
3
|
+
"version": "0.8.2-main.36232bc",
|
|
4
4
|
"description": "Braneframe data visualization plugin",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -42,21 +42,21 @@
|
|
|
42
42
|
"lodash.get": "^4.4.2",
|
|
43
43
|
"react-resize-detector": "^11.0.1",
|
|
44
44
|
"topojson-client": "^3.1.0",
|
|
45
|
-
"@dxos/
|
|
46
|
-
"@dxos/
|
|
47
|
-
"@dxos/
|
|
48
|
-
"@dxos/
|
|
49
|
-
"@dxos/gem-
|
|
50
|
-
"@dxos/
|
|
51
|
-
"@dxos/
|
|
52
|
-
"@dxos/
|
|
53
|
-
"@dxos/plugin-
|
|
54
|
-
"@dxos/plugin-
|
|
55
|
-
"@dxos/
|
|
56
|
-
"@dxos/plugin-
|
|
57
|
-
"@dxos/react-client": "0.8.2-main.
|
|
58
|
-
"@dxos/
|
|
59
|
-
"@dxos/
|
|
45
|
+
"@dxos/async": "0.8.2-main.36232bc",
|
|
46
|
+
"@dxos/app-framework": "0.8.2-main.36232bc",
|
|
47
|
+
"@dxos/echo-schema": "0.8.2-main.36232bc",
|
|
48
|
+
"@dxos/gem-spore": "0.8.2-main.36232bc",
|
|
49
|
+
"@dxos/gem-core": "0.8.2-main.36232bc",
|
|
50
|
+
"@dxos/live-object": "0.8.2-main.36232bc",
|
|
51
|
+
"@dxos/client": "0.8.2-main.36232bc",
|
|
52
|
+
"@dxos/log": "0.8.2-main.36232bc",
|
|
53
|
+
"@dxos/plugin-client": "0.8.2-main.36232bc",
|
|
54
|
+
"@dxos/plugin-search": "0.8.2-main.36232bc",
|
|
55
|
+
"@dxos/plugin-space": "0.8.2-main.36232bc",
|
|
56
|
+
"@dxos/plugin-graph": "0.8.2-main.36232bc",
|
|
57
|
+
"@dxos/react-client": "0.8.2-main.36232bc",
|
|
58
|
+
"@dxos/react-ui-stack": "0.8.2-main.36232bc",
|
|
59
|
+
"@dxos/util": "0.8.2-main.36232bc"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@phosphor-icons/react": "^2.1.5",
|
|
@@ -71,19 +71,19 @@
|
|
|
71
71
|
"react": "~18.2.0",
|
|
72
72
|
"react-dom": "~18.2.0",
|
|
73
73
|
"vite": "5.4.7",
|
|
74
|
-
"@dxos/echo-generator": "0.8.2-main.
|
|
75
|
-
"@dxos/
|
|
76
|
-
"@dxos/
|
|
77
|
-
"@dxos/react-ui": "0.8.2-main.
|
|
78
|
-
"@dxos/
|
|
79
|
-
"@dxos/
|
|
74
|
+
"@dxos/echo-generator": "0.8.2-main.36232bc",
|
|
75
|
+
"@dxos/random": "0.8.2-main.36232bc",
|
|
76
|
+
"@dxos/plugin-outliner": "0.8.2-main.36232bc",
|
|
77
|
+
"@dxos/react-ui": "0.8.2-main.36232bc",
|
|
78
|
+
"@dxos/react-ui-theme": "0.8.2-main.36232bc",
|
|
79
|
+
"@dxos/storybook-utils": "0.8.2-main.36232bc"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
82
|
"@phosphor-icons/react": "^2.1.5",
|
|
83
83
|
"react": "~18.2.0",
|
|
84
84
|
"react-dom": "~18.2.0",
|
|
85
|
-
"@dxos/react-ui": "0.8.2-main.
|
|
86
|
-
"@dxos/react-ui
|
|
85
|
+
"@dxos/react-ui-theme": "0.8.2-main.36232bc",
|
|
86
|
+
"@dxos/react-ui": "0.8.2-main.36232bc"
|
|
87
87
|
},
|
|
88
88
|
"publishConfig": {
|
|
89
89
|
"access": "public"
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
import '@dxos-theme';
|
|
6
6
|
|
|
7
|
-
import
|
|
7
|
+
import { plot, sphere, geo, graticule, dot } from '@observablehq/plot';
|
|
8
8
|
import { type Meta } from '@storybook/react';
|
|
9
|
-
import
|
|
9
|
+
import { geoCircle } from 'd3';
|
|
10
10
|
import React, { useEffect } from 'react';
|
|
11
11
|
import { useResizeDetector } from 'react-resize-detector';
|
|
12
|
-
import
|
|
12
|
+
import { feature } from 'topojson-client';
|
|
13
13
|
|
|
14
14
|
import { ClientRepeater } from '@dxos/react-client/testing';
|
|
15
15
|
import { withLayout, withTheme } from '@dxos/storybook-utils';
|
|
@@ -37,18 +37,18 @@ const ExtendedStory = () => {
|
|
|
37
37
|
return;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
const land =
|
|
40
|
+
const land = feature(CountriesData as any, CountriesData.objects.land as any);
|
|
41
41
|
const items = CitiesData.features.map((feature: any) => ({
|
|
42
42
|
lat: feature.geometry.coordinates[0],
|
|
43
43
|
lng: feature.geometry.coordinates[1],
|
|
44
44
|
}));
|
|
45
45
|
|
|
46
46
|
const city = items[0];
|
|
47
|
-
const circle =
|
|
47
|
+
const circle = geoCircle().center([city.lat, city.lng]).radius(16)();
|
|
48
48
|
|
|
49
49
|
// https://observablehq.com/plot/marks/geo
|
|
50
50
|
// https://observablehq.com/@observablehq/plot-earthquake-globe?intent=fork
|
|
51
|
-
const
|
|
51
|
+
const drawing = plot({
|
|
52
52
|
// https://observablehq.com/plot/features/projections
|
|
53
53
|
projection: { type: 'orthographic', rotate: [-city.lat + 30, -30] },
|
|
54
54
|
// projection: { type: 'equirectangular', rotate: [-140, -30] },
|
|
@@ -58,11 +58,11 @@ const ExtendedStory = () => {
|
|
|
58
58
|
background: 'transparent',
|
|
59
59
|
},
|
|
60
60
|
marks: [
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
61
|
+
sphere({ fill: 'lightblue', fillOpacity: 0.5 }),
|
|
62
|
+
geo(land, { fill: 'green', fillOpacity: 0.3 }),
|
|
63
|
+
graticule(),
|
|
64
|
+
geo(circle, { stroke: 'black', fill: 'darkblue', fillOpacity: 0.1, strokeWidth: 2 }),
|
|
65
|
+
dot(items, {
|
|
66
66
|
x: 'lat',
|
|
67
67
|
y: 'lng',
|
|
68
68
|
r: 6,
|
|
@@ -73,8 +73,8 @@ const ExtendedStory = () => {
|
|
|
73
73
|
],
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
containerRef.current!.append(
|
|
77
|
-
return () =>
|
|
76
|
+
containerRef.current!.append(drawing);
|
|
77
|
+
return () => drawing?.remove();
|
|
78
78
|
}, [width, height]);
|
|
79
79
|
|
|
80
80
|
return <div ref={containerRef} className='grow p-8' />;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Copyright 2022 Observable, Inc.
|
|
4
4
|
//
|
|
5
5
|
|
|
6
|
-
import
|
|
6
|
+
import { cluster, curveBundle, hierarchy, lineRadial, select } from 'd3';
|
|
7
7
|
import { type HierarchyNode } from 'd3-hierarchy';
|
|
8
8
|
|
|
9
9
|
import { type TreeOptions } from '../Tree';
|
|
@@ -17,16 +17,16 @@ const getId = (node: HierarchyNode<TreeNode>): string =>
|
|
|
17
17
|
// https://github.com/d3/d3-hierarchy
|
|
18
18
|
// https://observablehq.com/@d3/hierarchical-edge-bundling?intent=fork
|
|
19
19
|
const HierarchicalEdgeBundling = (s: SVGSVGElement, data: TreeNode, options: TreeOptions) => {
|
|
20
|
-
const svg =
|
|
20
|
+
const svg = select(s);
|
|
21
21
|
svg.selectAll('*').remove();
|
|
22
22
|
|
|
23
23
|
const { radius = 600, padding = 100, slots } = options;
|
|
24
24
|
|
|
25
25
|
// https://d3js.org/d3-hierarchy/hierarchy
|
|
26
|
-
const root =
|
|
27
|
-
// .sort((a, b) =>
|
|
26
|
+
const root = hierarchy(flatten(data));
|
|
27
|
+
// .sort((a, b) => ascending(a.height, b.height) || ascending(getName(a.data), getName(b.data)));
|
|
28
28
|
|
|
29
|
-
const tree =
|
|
29
|
+
const tree = cluster<TreeNode>().size([2 * Math.PI, radius - padding]);
|
|
30
30
|
const layout = tree(addLinks(root));
|
|
31
31
|
|
|
32
32
|
// eslint-disable-next-line unused-imports/no-unused-vars
|
|
@@ -54,9 +54,8 @@ const HierarchicalEdgeBundling = (s: SVGSVGElement, data: TreeNode, options: Tre
|
|
|
54
54
|
);
|
|
55
55
|
|
|
56
56
|
// https://d3js.org/d3-shape/radial-line
|
|
57
|
-
const line =
|
|
58
|
-
.
|
|
59
|
-
.curve(d3.curveBundle.beta(0.85))
|
|
57
|
+
const line = lineRadial()
|
|
58
|
+
.curve(curveBundle.beta(0.85))
|
|
60
59
|
.radius((d: any) => d.y)
|
|
61
60
|
.angle((d: any) => d.x);
|
|
62
61
|
|
|
@@ -77,30 +76,30 @@ const HierarchicalEdgeBundling = (s: SVGSVGElement, data: TreeNode, options: Tre
|
|
|
77
76
|
|
|
78
77
|
// function overed(event: any, d: X) {
|
|
79
78
|
// link.style('mix-blend-mode', null);
|
|
80
|
-
//
|
|
81
|
-
//
|
|
79
|
+
// select(this).attr('font-weight', 'bold');
|
|
80
|
+
// selectAll(d.incoming.map((d) => d.path))
|
|
82
81
|
// .attr('stroke', color.in)
|
|
83
82
|
// .raise();
|
|
84
|
-
//
|
|
83
|
+
// selectAll((d as any).incoming.map(([d]) => d.text))
|
|
85
84
|
// .attr('fill', color.in)
|
|
86
85
|
// .attr('font-weight', 'bold');
|
|
87
|
-
//
|
|
86
|
+
// selectAll(d.outgoing.map((d) => d.path))
|
|
88
87
|
// .attr('stroke', color.out)
|
|
89
88
|
// .raise();
|
|
90
|
-
//
|
|
89
|
+
// selectAll(d.outgoing.map(([, d]) => d.text))
|
|
91
90
|
// .attr('fill', color.out)
|
|
92
91
|
// .attr('font-weight', 'bold');
|
|
93
92
|
// }
|
|
94
93
|
|
|
95
94
|
// function outed(event: any, d: HierarchyNode<Datum>) {
|
|
96
95
|
// // @ts-ignore
|
|
97
|
-
//
|
|
98
|
-
//
|
|
99
|
-
//
|
|
96
|
+
// select(this).attr('font-weight', null);
|
|
97
|
+
// selectAll(d.incoming.map((d) => d.path)).attr('stroke', null);
|
|
98
|
+
// selectAll(d.incoming.map(([d]) => d.text))
|
|
100
99
|
// .attr('fill', null)
|
|
101
100
|
// .attr('font-weight', null);
|
|
102
|
-
//
|
|
103
|
-
//
|
|
101
|
+
// selectAll(d.outgoing.map((d) => d.path)).attr('stroke', null);
|
|
102
|
+
// selectAll(d.outgoing.map(([, d]) => d.text))
|
|
104
103
|
// .attr('fill', null)
|
|
105
104
|
// .attr('font-weight', null);
|
|
106
105
|
// }
|
|
@@ -119,7 +118,6 @@ const addLinks = (root: HierarchyNode<TreeNode>) => {
|
|
|
119
118
|
|
|
120
119
|
for (const d of root.leaves()) {
|
|
121
120
|
// (d as any).incoming = [];
|
|
122
|
-
|
|
123
121
|
const parent = parents.get(d.data.id);
|
|
124
122
|
if (parent) {
|
|
125
123
|
// Skip the first node which is a placeholder created by flatten().
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Copyright 2022 Observable, Inc.
|
|
4
4
|
//
|
|
5
5
|
|
|
6
|
-
import
|
|
6
|
+
import { hierarchy, linkRadial, select, tree } from 'd3';
|
|
7
7
|
|
|
8
8
|
import { type TreeOptions } from '../Tree';
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ import { type TreeOptions } from '../Tree';
|
|
|
11
11
|
// https://observablehq.com/@d3/radial-tree
|
|
12
12
|
// https://observablehq.com/@d3/tree
|
|
13
13
|
const RadialTree = (s: SVGSVGElement, data: any, options: TreeOptions) => {
|
|
14
|
-
const svg =
|
|
14
|
+
const svg = select(s);
|
|
15
15
|
svg.selectAll('*').remove();
|
|
16
16
|
|
|
17
17
|
const {
|
|
@@ -23,7 +23,7 @@ const RadialTree = (s: SVGSVGElement, data: any, options: TreeOptions) => {
|
|
|
23
23
|
|
|
24
24
|
const arc = 2 * Math.PI;
|
|
25
25
|
|
|
26
|
-
const root =
|
|
26
|
+
const root = hierarchy(data);
|
|
27
27
|
|
|
28
28
|
// Sort the nodes.
|
|
29
29
|
// if (sort) {
|
|
@@ -35,8 +35,7 @@ const RadialTree = (s: SVGSVGElement, data: any, options: TreeOptions) => {
|
|
|
35
35
|
const getLabel = label === null ? null : descendants.map((d) => label(d.data));
|
|
36
36
|
|
|
37
37
|
// Compute the layout.
|
|
38
|
-
const layout =
|
|
39
|
-
.tree()
|
|
38
|
+
const layout = tree()
|
|
40
39
|
.size([arc, radius])
|
|
41
40
|
.separation((a: any, b: any) => (a.parent === b.parent ? 1 : 2) / a.depth);
|
|
42
41
|
layout(root);
|
|
@@ -50,8 +49,7 @@ const RadialTree = (s: SVGSVGElement, data: any, options: TreeOptions) => {
|
|
|
50
49
|
.attr('class', slots?.path ?? '')
|
|
51
50
|
.attr(
|
|
52
51
|
'd',
|
|
53
|
-
|
|
54
|
-
.linkRadial()
|
|
52
|
+
linkRadial()
|
|
55
53
|
.angle((d: any) => d.x + Math.PI / 2)
|
|
56
54
|
.radius((d: any) => d.y) as any,
|
|
57
55
|
);
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
// Copyright 2021 Observable, Inc.
|
|
4
4
|
//
|
|
5
5
|
|
|
6
|
-
import
|
|
6
|
+
import { curveBumpX, hierarchy, link, select, tree } from 'd3';
|
|
7
7
|
|
|
8
8
|
import { type TreeOptions } from '../Tree';
|
|
9
9
|
|
|
10
10
|
// Released under the ISC license.
|
|
11
11
|
// https://observablehq.com/@d3/tree
|
|
12
12
|
const TidyTree = (s: SVGSVGElement, data: any, options: TreeOptions) => {
|
|
13
|
-
const svg =
|
|
13
|
+
const svg = select(s);
|
|
14
14
|
svg.selectAll('*').remove();
|
|
15
15
|
|
|
16
16
|
const { label, width, height, r = 4, padding = 4, margin = 60, slots } = options;
|
|
17
17
|
|
|
18
|
-
const root =
|
|
18
|
+
const root = hierarchy(data);
|
|
19
19
|
|
|
20
20
|
// Compute labels and titles.
|
|
21
21
|
const descendants = root.descendants();
|
|
@@ -24,7 +24,7 @@ const TidyTree = (s: SVGSVGElement, data: any, options: TreeOptions) => {
|
|
|
24
24
|
// Compute the layout.
|
|
25
25
|
const dx = 16;
|
|
26
26
|
const dy = width / (root.height + padding);
|
|
27
|
-
const layout =
|
|
27
|
+
const layout = tree().nodeSize([dx, dy]);
|
|
28
28
|
layout(root);
|
|
29
29
|
|
|
30
30
|
// Center the tree.
|
|
@@ -61,8 +61,7 @@ const TidyTree = (s: SVGSVGElement, data: any, options: TreeOptions) => {
|
|
|
61
61
|
.attr('class', slots?.path ?? '')
|
|
62
62
|
.attr(
|
|
63
63
|
'd',
|
|
64
|
-
|
|
65
|
-
.link(d3.curveBumpX)
|
|
64
|
+
link(curveBumpX)
|
|
66
65
|
.x((d: any) => d.y + oy)
|
|
67
66
|
.y((d: any) => d.x * sx) as any,
|
|
68
67
|
);
|
|
File without changes
|
|
File without changes
|
/package/dist/lib/node-esm/{react-surface-J5SW7VF2.mjs.map → react-surface-QLB55AWT.mjs.map}
RENAMED
|
File without changes
|