@dxos/plugin-explorer 0.8.1 → 0.8.2-main.2f9c567
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/{ExplorerContainer-HL532ODG.mjs → ExplorerContainer-UJJIZBXP.mjs} +2 -2
- package/dist/lib/{node-esm/chunk-PZOORWFE.mjs → browser/chunk-AOQ4BVBH.mjs} +18 -19
- package/dist/lib/browser/{chunk-B2DMPSP5.mjs.map → chunk-AOQ4BVBH.mjs.map} +3 -3
- package/dist/lib/browser/{chunk-SBLNE7FL.mjs → chunk-DHAPRNIM.mjs} +5 -4
- package/dist/lib/browser/chunk-DHAPRNIM.mjs.map +7 -0
- package/dist/lib/browser/{chunk-QLQLPZNI.mjs → chunk-HKQSZX7S.mjs} +10 -9
- package/dist/lib/browser/chunk-HKQSZX7S.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +5 -5
- package/dist/lib/browser/{intent-resolver-NHHRWTOP.mjs → intent-resolver-7JF4DU2C.mjs} +4 -4
- package/dist/lib/browser/intent-resolver-7JF4DU2C.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-N7TC6BMF.mjs → react-surface-VFVM6HNB.mjs} +4 -4
- package/dist/lib/browser/types/index.mjs +1 -1
- package/dist/lib/node/{ExplorerContainer-73AHSBAG.cjs → ExplorerContainer-XJUAYKA6.cjs} +6 -6
- package/dist/lib/node/{chunk-OIHH6TVE.cjs → chunk-4VLNAK7T.cjs} +7 -6
- package/dist/lib/node/chunk-4VLNAK7T.cjs.map +7 -0
- package/dist/lib/node/{chunk-YLL7H7CZ.cjs → chunk-6R5P3UVS.cjs} +12 -11
- package/dist/lib/node/chunk-6R5P3UVS.cjs.map +7 -0
- package/dist/lib/node/{chunk-HCDBN6NN.cjs → chunk-AUWXU65U.cjs} +22 -22
- package/dist/lib/node/{chunk-HCDBN6NN.cjs.map → chunk-AUWXU65U.cjs.map} +3 -3
- package/dist/lib/node/index.cjs +17 -17
- package/dist/lib/node/{intent-resolver-EEOTX3OZ.cjs → intent-resolver-VDAHQEE7.cjs} +7 -7
- package/dist/lib/node/intent-resolver-VDAHQEE7.cjs.map +7 -0
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/{react-surface-WD4G2NRS.cjs → react-surface-4YBNYQED.cjs} +9 -9
- package/dist/lib/node/types/index.cjs +3 -3
- package/dist/lib/node/types/index.cjs.map +1 -1
- package/dist/lib/node-esm/{ExplorerContainer-NMI55PYM.mjs → ExplorerContainer-5K4RALZR.mjs} +2 -2
- package/dist/lib/{browser/chunk-B2DMPSP5.mjs → node-esm/chunk-4C6UIJCM.mjs} +19 -18
- package/dist/lib/node-esm/{chunk-PZOORWFE.mjs.map → chunk-4C6UIJCM.mjs.map} +3 -3
- package/dist/lib/node-esm/{chunk-QZH2GDN5.mjs → chunk-QOJSLABX.mjs} +10 -9
- package/dist/lib/node-esm/chunk-QOJSLABX.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-SZRRNWYT.mjs → chunk-XMTM43JC.mjs} +5 -4
- package/dist/lib/node-esm/chunk-XMTM43JC.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +5 -5
- package/dist/lib/node-esm/{intent-resolver-PTFKXAT4.mjs → intent-resolver-XWRVHP6H.mjs} +4 -4
- package/dist/lib/node-esm/intent-resolver-XWRVHP6H.mjs.map +7 -0
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-surface-J5SW7VF2.mjs → react-surface-6BTL55DB.mjs} +4 -4
- package/dist/lib/node-esm/types/index.mjs +1 -1
- package/dist/types/src/components/Graph/graph-model.d.ts +3 -3
- package/dist/types/src/components/Graph/graph-model.d.ts.map +1 -1
- 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/dist/types/src/types/schema.d.ts +6 -6
- package/dist/types/src/types/schema.d.ts.map +1 -1
- package/dist/types/src/types/types.d.ts +6 -6
- package/dist/types/src/types/types.d.ts.map +1 -1
- package/package.json +26 -24
- package/src/capabilities/intent-resolver.ts +2 -2
- package/src/components/Globe/Globe.stories.tsx +13 -13
- package/src/components/Graph/Graph.stories.tsx +2 -2
- package/src/components/Graph/graph-model.ts +7 -6
- 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/src/types/schema.ts +5 -3
- package/src/types/types.ts +5 -5
- package/dist/lib/browser/chunk-QLQLPZNI.mjs.map +0 -7
- package/dist/lib/browser/chunk-SBLNE7FL.mjs.map +0 -7
- package/dist/lib/browser/intent-resolver-NHHRWTOP.mjs.map +0 -7
- package/dist/lib/node/chunk-OIHH6TVE.cjs.map +0 -7
- package/dist/lib/node/chunk-YLL7H7CZ.cjs.map +0 -7
- package/dist/lib/node/intent-resolver-EEOTX3OZ.cjs.map +0 -7
- package/dist/lib/node-esm/chunk-QZH2GDN5.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-SZRRNWYT.mjs.map +0 -7
- package/dist/lib/node-esm/intent-resolver-PTFKXAT4.mjs.map +0 -7
- /package/dist/lib/browser/{ExplorerContainer-HL532ODG.mjs.map → ExplorerContainer-UJJIZBXP.mjs.map} +0 -0
- /package/dist/lib/browser/{react-surface-N7TC6BMF.mjs.map → react-surface-VFVM6HNB.mjs.map} +0 -0
- /package/dist/lib/node/{ExplorerContainer-73AHSBAG.cjs.map → ExplorerContainer-XJUAYKA6.cjs.map} +0 -0
- /package/dist/lib/node/{react-surface-WD4G2NRS.cjs.map → react-surface-4YBNYQED.cjs.map} +0 -0
- /package/dist/lib/node-esm/{ExplorerContainer-NMI55PYM.mjs.map → ExplorerContainer-5K4RALZR.mjs.map} +0 -0
- /package/dist/lib/node-esm/{react-surface-J5SW7VF2.mjs.map → react-surface-6BTL55DB.mjs.map} +0 -0
|
@@ -4,26 +4,27 @@ import {
|
|
|
4
4
|
} from "./chunk-PUFSCMN4.mjs";
|
|
5
5
|
|
|
6
6
|
// packages/plugins/plugin-explorer/src/types/schema.ts
|
|
7
|
-
import {
|
|
7
|
+
import { Schema } from "effect";
|
|
8
|
+
import { TypedObject } from "@dxos/echo-schema";
|
|
8
9
|
var ViewType = class extends TypedObject({
|
|
9
10
|
typename: "dxos.org/type/ExplorerView",
|
|
10
11
|
version: "0.1.0"
|
|
11
12
|
})({
|
|
12
|
-
name:
|
|
13
|
-
type:
|
|
13
|
+
name: Schema.optional(Schema.String),
|
|
14
|
+
type: Schema.String
|
|
14
15
|
}) {
|
|
15
16
|
};
|
|
16
17
|
|
|
17
18
|
// packages/plugins/plugin-explorer/src/types/types.ts
|
|
18
|
-
import {
|
|
19
|
+
import { Schema as Schema2 } from "effect";
|
|
19
20
|
var ExplorerAction;
|
|
20
21
|
(function(ExplorerAction2) {
|
|
21
22
|
const EXPLORER_ACTION = `${EXPLORER_PLUGIN}/action`;
|
|
22
|
-
class Create extends
|
|
23
|
-
input:
|
|
24
|
-
name:
|
|
23
|
+
class Create extends Schema2.TaggedClass()(`${EXPLORER_ACTION}/create`, {
|
|
24
|
+
input: Schema2.Struct({
|
|
25
|
+
name: Schema2.optional(Schema2.String)
|
|
25
26
|
}),
|
|
26
|
-
output:
|
|
27
|
+
output: Schema2.Struct({
|
|
27
28
|
object: ViewType
|
|
28
29
|
})
|
|
29
30
|
}) {
|
|
@@ -35,4 +36,4 @@ export {
|
|
|
35
36
|
ViewType,
|
|
36
37
|
ExplorerAction
|
|
37
38
|
};
|
|
38
|
-
//# sourceMappingURL=chunk-
|
|
39
|
+
//# sourceMappingURL=chunk-QOJSLABX.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/types/schema.ts", "../../../src/types/types.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport { Schema } from 'effect';\n\nimport { TypedObject } from '@dxos/echo-schema';\n\n// TODO(burdon): Clashes with sdk/view.\nexport class ViewType extends TypedObject({\n typename: 'dxos.org/type/ExplorerView',\n version: '0.1.0',\n})({\n name: Schema.optional(Schema.String),\n type: Schema.String,\n}) {}\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { Schema } from 'effect';\n\nimport { ViewType } from './schema';\nimport { EXPLORER_PLUGIN } from '../meta';\n\nexport namespace ExplorerAction {\n const EXPLORER_ACTION = `${EXPLORER_PLUGIN}/action`;\n\n export class Create extends Schema.TaggedClass<Create>()(`${EXPLORER_ACTION}/create`, {\n input: Schema.Struct({\n name: Schema.optional(Schema.String),\n }),\n output: Schema.Struct({\n object: ViewType,\n }),\n }) {}\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;AAIA,SAASA,cAAc;AAEvB,SAASC,mBAAmB;AAGrB,IAAMC,WAAN,cAAuBC,YAAY;EACxCC,UAAU;EACVC,SAAS;AACX,CAAA,EAAG;EACDC,MAAMC,OAAOC,SAASD,OAAOE,MAAM;EACnCC,MAAMH,OAAOE;AACf,CAAA,EAAA;AAAI;;;ACXJ,SAASE,UAAAA,eAAc;;UAKNC,iBAAAA;AACf,QAAMC,kBAAkB,GAAGC,eAAAA;EAEpB,MAAMC,eAAeC,QAAOC,YAAW,EAAW,GAAGJ,eAAAA,WAA0B;IACpFK,OAAOF,QAAOG,OAAO;MACnBC,MAAMJ,QAAOK,SAASL,QAAOM,MAAM;IACrC,CAAA;IACAC,QAAQP,QAAOG,OAAO;MACpBK,QAAQC;IACV,CAAA;EACF,CAAA,EAAA;EAAI;kBAPSV,SAAAA;AAQf,GAXiBH,mBAAAA,iBAAAA,CAAAA,EAAAA;",
|
|
6
|
+
"names": ["Schema", "TypedObject", "ViewType", "TypedObject", "typename", "version", "name", "Schema", "optional", "String", "type", "Schema", "ExplorerAction", "EXPLORER_ACTION", "EXPLORER_PLUGIN", "Create", "Schema", "TaggedClass", "input", "Struct", "name", "optional", "String", "output", "object", "ViewType"]
|
|
7
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
2
|
|
|
3
3
|
// packages/plugins/plugin-explorer/src/components/Graph/graph-model.ts
|
|
4
|
-
import {
|
|
4
|
+
import { SchemaAST } from "effect";
|
|
5
|
+
import { getSchema, getSchemaDXN, ReferenceAnnotationId, SchemaValidator, StoredSchema } from "@dxos/echo-schema";
|
|
5
6
|
import { GraphModel } from "@dxos/gem-spore";
|
|
6
7
|
import { log } from "@dxos/log";
|
|
7
8
|
import { CollectionType } from "@dxos/plugin-space/types";
|
|
@@ -94,12 +95,12 @@ var SpaceGraphModel = class extends GraphModel {
|
|
|
94
95
|
typename
|
|
95
96
|
}, {
|
|
96
97
|
F: __dxlog_file,
|
|
97
|
-
L:
|
|
98
|
+
L: 148,
|
|
98
99
|
S: this,
|
|
99
100
|
C: (f, a) => f(...a)
|
|
100
101
|
});
|
|
101
102
|
}
|
|
102
|
-
|
|
103
|
+
SchemaAST.getPropertySignatures(schema.ast).forEach((prop) => {
|
|
103
104
|
if (!SchemaValidator.hasTypeAnnotation(schema, prop.name.toString(), ReferenceAnnotationId)) {
|
|
104
105
|
return;
|
|
105
106
|
}
|
|
@@ -204,4 +205,4 @@ export {
|
|
|
204
205
|
SpaceGraphModel,
|
|
205
206
|
Graph
|
|
206
207
|
};
|
|
207
|
-
//# sourceMappingURL=chunk-
|
|
208
|
+
//# sourceMappingURL=chunk-XMTM43JC.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/components/Graph/graph-model.ts", "../../../src/components/Graph/Graph.tsx"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { SchemaAST } from 'effect';\n\nimport { type CleanupFn } from '@dxos/async';\nimport {\n getSchema,\n getSchemaDXN,\n type EchoSchema,\n ReferenceAnnotationId,\n SchemaValidator,\n StoredSchema,\n} from '@dxos/echo-schema';\nimport { type GraphData, GraphModel } from '@dxos/gem-spore';\nimport { log } from '@dxos/log';\nimport { CollectionType } from '@dxos/plugin-space/types';\nimport { Filter, type AnyLiveObject, type Space } from '@dxos/react-client/echo';\n\nexport type SpaceGraphModelOptions = {\n schema?: boolean;\n};\n\n// TODO(burdon): Convert to common/graph.\n\ntype SchemaGraphNode = {\n id: string;\n type: 'schema';\n data: { typename: string };\n};\n\ntype ObjectGraphNode = {\n id: string;\n type: 'object';\n data: { typename: string; object: AnyLiveObject<any> };\n};\n\nexport type EchoGraphNode = SchemaGraphNode | ObjectGraphNode;\n\n/**\n * Converts ECHO objects to a graph.\n */\nexport class SpaceGraphModel extends GraphModel<EchoGraphNode> {\n private readonly _graph: GraphData<EchoGraphNode> = {\n nodes: [],\n links: [],\n };\n\n private _schema?: EchoSchema[];\n private _schemaSubscription?: CleanupFn;\n private _objects?: AnyLiveObject<any>[];\n private _objectsSubscription?: CleanupFn;\n\n constructor(private readonly _options: SpaceGraphModelOptions = {}) {\n super();\n }\n\n override get graph(): GraphData<EchoGraphNode> {\n return this._graph;\n }\n\n get objects(): AnyLiveObject<any>[] {\n return this._objects ?? [];\n }\n\n // TODO(burdon): Alternative diagram types:\n // - https://observablehq.com/@d3/radial-tree/2\n // - https://observablehq.com/@d3/disjoint-force-directed-graph/2\n // - https://observablehq.com/@mbostock/tadpoles\n // - https://observablehq.com/@d3/psr-b1919-21\n // - https://vasturiano.github.io/react-force-graph/example/basic (3D)\n\n async open(space: Space, objectId?: string) {\n // TODO(burdon): Factor out graph builder to lib (use common/graph abstraction).\n if (!this._schemaSubscription) {\n // TODO(burdon): Normalize unsubscribe callbacks and merge handlers.\n // TODO(burdon): Trigger initial subscription update.\n // TODO(burdon): Normalize subscription cb for objects, schema, etc.\n\n const schemaaQuery = space.db.schemaRegistry.query({});\n const schemas = await schemaaQuery.run();\n const onSchemaUpdate = ({ results }: { results: EchoSchema[] }) => (this._schema = results);\n this._schemaSubscription = schemaaQuery.subscribe(onSchemaUpdate);\n onSchemaUpdate({ results: schemas });\n\n this._objectsSubscription = space.db\n // TODO(burdon): ERROR: Cannot mix type and or filters.\n .query(Filter.not(Filter.or(Filter.schema(StoredSchema), Filter.schema(CollectionType))))\n .subscribe(\n ({ objects }) => {\n this._objects = objects;\n\n // Merge with current nodes.\n const currentNodes = this._graph.nodes;\n\n this._graph.nodes = [];\n this._graph.links = [];\n\n const addSchema = (typename: string) => {\n const current = currentNodes.find((node) => node.id === typename);\n if (typename) {\n this._graph.nodes.push({\n ...current,\n id: typename,\n type: 'schema',\n data: { typename },\n });\n }\n };\n\n // Runtime schema.\n space.db.graph.schemaRegistry.schemas.forEach((schema) => {\n const typename = getSchemaDXN(schema)?.typename;\n if (typename) {\n addSchema(typename);\n }\n });\n\n // Database Schema.\n this._schema?.forEach((schema) => {\n const typename = getSchemaDXN(schema)?.typename;\n if (typename) {\n addSchema(typename);\n }\n });\n\n // Database Objects.\n this._objects.forEach((object) => {\n const schema = getSchema(object);\n if (schema) {\n const typename = getSchemaDXN(schema)?.typename;\n if (typename) {\n const current = currentNodes.find((node) => node.id === object.id);\n this._graph.nodes.push({ ...current, id: object.id, type: 'object', data: { typename, object } });\n\n // Link to schema.\n const schemaNode = this._graph.nodes.find(\n (node) => node.type === 'schema' && node.data.typename === typename,\n );\n if (schemaNode) {\n this._graph.links.push({\n id: `${object.id}-${schemaNode.id}`,\n source: object.id,\n target: schemaNode.id,\n });\n } else {\n log.info('schema node not found', { typename });\n }\n\n // Link ot refs.\n // TODO(burdon): This isn't working.\n SchemaAST.getPropertySignatures(schema.ast).forEach((prop) => {\n if (!SchemaValidator.hasTypeAnnotation(schema, prop.name.toString(), ReferenceAnnotationId)) {\n return;\n }\n\n const value = object[String(prop.name)];\n if (value) {\n const refs = Array.isArray(value) ? value : [value];\n for (const ref of refs) {\n if (objects.findIndex((obj) => obj.id === ref.id) !== -1) {\n this._graph.links.push({\n id: `${object.id}-${String(prop.name)}-${ref.id}`,\n source: object.id,\n target: ref.id,\n });\n }\n }\n }\n });\n }\n }\n });\n\n this.triggerUpdate();\n },\n { fire: true },\n );\n }\n\n this.setSelected(objectId);\n return this;\n }\n\n close() {\n this._schemaSubscription?.();\n this._schemaSubscription = undefined;\n this._objectsSubscription?.();\n this._objectsSubscription = undefined;\n\n return this;\n }\n}\n", "//\n// Copyright 2023 DXOS.org\n//\n\nimport { forceLink, forceManyBody } from 'd3';\nimport ForceGraph from 'force-graph';\nimport React, { type FC, useEffect, useRef } from 'react';\nimport { useResizeDetector } from 'react-resize-detector';\n\nimport { type Space } from '@dxos/client/echo';\nimport { filterObjectsSync, type SearchResult } from '@dxos/plugin-search';\nimport { useAsyncState } from '@dxos/react-ui';\n\nimport { SpaceGraphModel } from './graph-model';\n\nexport type GraphProps = {\n space: Space;\n match?: RegExp;\n};\n\nexport const Graph: FC<GraphProps> = ({ space, match }) => {\n const { ref, width, height } = useResizeDetector({ refreshRate: 200 });\n const rootRef = useRef<HTMLDivElement>(null);\n const forceGraph = useRef<ForceGraph>();\n\n const [model] = useAsyncState(\n async () => (space ? new SpaceGraphModel({ schema: true }).open(space) : undefined),\n [space],\n );\n\n const filteredRef = useRef<SearchResult[]>();\n filteredRef.current = filterObjectsSync(model?.objects ?? [], match);\n\n useEffect(() => {\n if (rootRef.current) {\n // https://github.com/vasturiano/force-graph\n // https://github.com/vasturiano/3d-force-graph\n forceGraph.current = new ForceGraph(rootRef.current)\n .nodeRelSize(6)\n .nodeLabel((node: any) => {\n if (node.type === 'schema') {\n return node.data.typename;\n }\n\n return node.id;\n })\n .nodeAutoColorBy((node: any) => (node.type === 'schema' ? 'schema' : node.data.typename))\n .linkColor(() => 'rgba(255,255,255,0.25)');\n }\n\n return () => {\n forceGraph.current?.pauseAnimation().graphData({ nodes: [], links: [] });\n forceGraph.current = undefined;\n };\n }, []);\n\n useEffect(() => {\n if (forceGraph.current && width && height && model) {\n forceGraph.current\n .pauseAnimation()\n .width(width)\n .height(height)\n .onEngineStop(() => {\n handleZoomToFit();\n })\n\n // https://github.com/vasturiano/force-graph?tab=readme-ov-file#force-engine-d3-force-configuration\n // .d3Force('center', forceCenter().strength(0.9))\n .d3Force('link', forceLink().distance(160).strength(0.5))\n .d3Force('charge', forceManyBody().strength(-30))\n // .d3AlphaDecay(0.0228)\n // .d3VelocityDecay(0.4)\n\n .graphData(model.graph)\n .warmupTicks(100)\n .cooldownTime(1000)\n .resumeAnimation();\n }\n }, [model, width, height]);\n\n const handleZoomToFit = () => {\n forceGraph.current?.zoomToFit(400, 40);\n };\n\n return (\n <div ref={ref} className='relative grow' onClick={handleZoomToFit}>\n <div ref={rootRef} className='absolute inset-0' />\n </div>\n );\n};\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
|
+
"names": ["SchemaAST", "getSchema", "getSchemaDXN", "ReferenceAnnotationId", "SchemaValidator", "StoredSchema", "GraphModel", "log", "CollectionType", "Filter", "SpaceGraphModel", "constructor", "_options", "_graph", "nodes", "links", "graph", "objects", "_objects", "open", "space", "objectId", "_schemaSubscription", "schemaaQuery", "db", "schemaRegistry", "query", "schemas", "run", "onSchemaUpdate", "results", "_schema", "subscribe", "_objectsSubscription", "not", "or", "schema", "currentNodes", "addSchema", "typename", "current", "find", "node", "id", "push", "type", "data", "forEach", "object", "schemaNode", "source", "target", "info", "getPropertySignatures", "ast", "prop", "hasTypeAnnotation", "name", "toString", "value", "String", "refs", "Array", "isArray", "ref", "findIndex", "obj", "triggerUpdate", "fire", "setSelected", "close", "undefined", "forceLink", "forceManyBody", "ForceGraph", "React", "useEffect", "useRef", "useResizeDetector", "filterObjectsSync", "useAsyncState", "Graph", "space", "match", "ref", "width", "height", "useResizeDetector", "refreshRate", "rootRef", "useRef", "forceGraph", "model", "useAsyncState", "SpaceGraphModel", "schema", "open", "undefined", "filteredRef", "current", "filterObjectsSync", "objects", "useEffect", "ForceGraph", "nodeRelSize", "nodeLabel", "node", "type", "data", "typename", "id", "nodeAutoColorBy", "linkColor", "pauseAnimation", "graphData", "nodes", "links", "onEngineStop", "handleZoomToFit", "d3Force", "forceLink", "distance", "strength", "forceManyBody", "graph", "warmupTicks", "cooldownTime", "resumeAnimation", "zoomToFit", "div", "className", "onClick"]
|
|
7
|
+
}
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
Globe,
|
|
6
6
|
Tree,
|
|
7
7
|
defaultTreeLayoutSlots
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4C6UIJCM.mjs";
|
|
9
9
|
import {
|
|
10
10
|
Graph,
|
|
11
11
|
SpaceGraphModel
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XMTM43JC.mjs";
|
|
13
13
|
import {
|
|
14
14
|
ExplorerAction,
|
|
15
15
|
ViewType
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QOJSLABX.mjs";
|
|
17
17
|
import {
|
|
18
18
|
EXPLORER_PLUGIN,
|
|
19
19
|
meta
|
|
@@ -27,8 +27,8 @@ import { defineObjectForm } from "@dxos/plugin-space/types";
|
|
|
27
27
|
|
|
28
28
|
// packages/plugins/plugin-explorer/src/capabilities/index.ts
|
|
29
29
|
import { lazy } from "@dxos/app-framework";
|
|
30
|
-
var IntentResolver = lazy(() => import("./intent-resolver-
|
|
31
|
-
var ReactSurface = lazy(() => import("./react-surface-
|
|
30
|
+
var IntentResolver = lazy(() => import("./intent-resolver-XWRVHP6H.mjs"));
|
|
31
|
+
var ReactSurface = lazy(() => import("./react-surface-6BTL55DB.mjs"));
|
|
32
32
|
|
|
33
33
|
// packages/plugins/plugin-explorer/src/translations.ts
|
|
34
34
|
var translations_default = [
|
|
@@ -2,17 +2,17 @@ import { createRequire } from 'node:module';const require = createRequire(import
|
|
|
2
2
|
import {
|
|
3
3
|
ExplorerAction,
|
|
4
4
|
ViewType
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QOJSLABX.mjs";
|
|
6
6
|
import "./chunk-PUFSCMN4.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 {
|
|
10
|
+
import { live } from "@dxos/live-object";
|
|
11
11
|
var intent_resolver_default = () => contributes(Capabilities.IntentResolver, createResolver({
|
|
12
12
|
intent: ExplorerAction.Create,
|
|
13
13
|
resolve: ({ name }) => ({
|
|
14
14
|
data: {
|
|
15
|
-
object:
|
|
15
|
+
object: live(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-
|
|
25
|
+
//# sourceMappingURL=intent-resolver-XWRVHP6H.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 { live } from '@dxos/live-object';\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: live(ViewType, { name, type: '' }) },\n }),\n }),\n );\n"],
|
|
5
|
+
"mappings": ";;;;;;;;AAIA,SAASA,aAAaC,cAAcC,sBAAsB;AAC1D,SAASC,YAAY;AAIrB,IAAA,0BAAe,MACbC,YACEC,aAAaC,gBACbC,eAAe;EACbC,QAAQC,eAAeC;EACvBC,SAAS,CAAC,EAAEC,KAAI,OAAQ;IACtBC,MAAM;MAAEC,QAAQC,KAAKC,UAAU;QAAEJ;QAAMK,MAAM;MAAG,CAAA;IAAG;EACrD;AACF,CAAA,CAAA;",
|
|
6
|
+
"names": ["contributes", "Capabilities", "createResolver", "live", "contributes", "Capabilities", "IntentResolver", "createResolver", "intent", "ExplorerAction", "Create", "resolve", "name", "data", "object", "live", "ViewType", "type"]
|
|
7
|
+
}
|
|
@@ -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":2234,"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-PTFKXAT4.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-PTFKXAT4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1090},"packages/plugins/plugin-explorer/dist/lib/node-esm/intent-resolver-PTFKXAT4.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":381}},"bytes":749},"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":22158,"imports":[{"path":"effect","kind":"import-statement","external":true},{"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":1560,"imports":[{"path":"effect","kind":"import-statement","external":true},{"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":2316,"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":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-4C6UIJCM.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-XMTM43JC.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-QOJSLABX.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-XWRVHP6H.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/react-surface-6BTL55DB.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-QOJSLABX.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-5K4RALZR.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1383},"packages/plugins/plugin-explorer/dist/lib/node-esm/ExplorerContainer-5K4RALZR.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-XMTM43JC.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-XWRVHP6H.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1082},"packages/plugins/plugin-explorer/dist/lib/node-esm/intent-resolver-XWRVHP6H.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-QOJSLABX.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-6BTL55DB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1434},"packages/plugins/plugin-explorer/dist/lib/node-esm/react-surface-6BTL55DB.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-4C6UIJCM.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-XMTM43JC.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-QOJSLABX.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-4C6UIJCM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":475788},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-4C6UIJCM.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-XMTM43JC.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-5K4RALZR.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-XMTM43JC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":15447},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-XMTM43JC.mjs":{"imports":[{"path":"effect","kind":"import-statement","external":true},{"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":4906},"packages/plugins/plugin-explorer/src/components/Graph/Graph.tsx":{"bytesInOutput":2042},"packages/plugins/plugin-explorer/src/components/Graph/index.ts":{"bytesInOutput":0}},"bytes":7265},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-QOJSLABX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1806},"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-QOJSLABX.mjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node-esm/chunk-PUFSCMN4.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-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,11 +1,11 @@
|
|
|
1
1
|
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
ExplorerContainer
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-4C6UIJCM.mjs";
|
|
5
|
+
import "./chunk-XMTM43JC.mjs";
|
|
6
6
|
import {
|
|
7
7
|
ViewType
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QOJSLABX.mjs";
|
|
9
9
|
import {
|
|
10
10
|
EXPLORER_PLUGIN
|
|
11
11
|
} from "./chunk-PUFSCMN4.mjs";
|
|
@@ -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-6BTL55DB.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type GraphData, GraphModel } from '@dxos/gem-spore';
|
|
2
|
-
import { type
|
|
2
|
+
import { type AnyLiveObject, type Space } from '@dxos/react-client/echo';
|
|
3
3
|
export type SpaceGraphModelOptions = {
|
|
4
4
|
schema?: boolean;
|
|
5
5
|
};
|
|
@@ -15,7 +15,7 @@ type ObjectGraphNode = {
|
|
|
15
15
|
type: 'object';
|
|
16
16
|
data: {
|
|
17
17
|
typename: string;
|
|
18
|
-
object:
|
|
18
|
+
object: AnyLiveObject<any>;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
21
|
export type EchoGraphNode = SchemaGraphNode | ObjectGraphNode;
|
|
@@ -31,7 +31,7 @@ export declare class SpaceGraphModel extends GraphModel<EchoGraphNode> {
|
|
|
31
31
|
private _objectsSubscription?;
|
|
32
32
|
constructor(_options?: SpaceGraphModelOptions);
|
|
33
33
|
get graph(): GraphData<EchoGraphNode>;
|
|
34
|
-
get objects():
|
|
34
|
+
get objects(): AnyLiveObject<any>[];
|
|
35
35
|
open(space: Space, objectId?: string): Promise<this>;
|
|
36
36
|
close(): this;
|
|
37
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graph-model.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/graph-model.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"graph-model.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/graph-model.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,KAAK,SAAS,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG7D,OAAO,EAAU,KAAK,aAAa,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEjF,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAIF,KAAK,eAAe,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;CAC5B,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,aAAa,CAAC,GAAG,CAAC,CAAA;KAAE,CAAC;CACxD,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,eAAe,GAAG,eAAe,CAAC;AAE9D;;GAEG;AACH,qBAAa,eAAgB,SAAQ,UAAU,CAAC,aAAa,CAAC;IAWhD,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAVrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAGrB;IAEF,OAAO,CAAC,OAAO,CAAC,CAAe;IAC/B,OAAO,CAAC,mBAAmB,CAAC,CAAY;IACxC,OAAO,CAAC,QAAQ,CAAC,CAAuB;IACxC,OAAO,CAAC,oBAAoB,CAAC,CAAY;gBAEZ,QAAQ,GAAE,sBAA2B;IAIlE,IAAa,KAAK,IAAI,SAAS,CAAC,aAAa,CAAC,CAE7C;IAED,IAAI,OAAO,IAAI,aAAa,CAAC,GAAG,CAAC,EAAE,CAElC;IASK,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,CAAC,EAAE,MAAM;IAgH1C,KAAK;CAQN"}
|
|
@@ -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"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Schema } from 'effect';
|
|
2
2
|
declare const ViewType_base: import("@dxos/echo-schema").TypedObjectPrototype<import("@dxos/echo-schema").TypedObjectFields<{
|
|
3
|
-
name:
|
|
4
|
-
type: typeof
|
|
5
|
-
}, import("@dxos/echo-schema").TypedObjectOptions>,
|
|
6
|
-
name:
|
|
7
|
-
type: typeof
|
|
3
|
+
name: Schema.optional<typeof Schema.String>;
|
|
4
|
+
type: typeof Schema.String;
|
|
5
|
+
}, import("@dxos/echo-schema").TypedObjectOptions>, Schema.Struct.Encoded<{
|
|
6
|
+
name: Schema.optional<typeof Schema.String>;
|
|
7
|
+
type: typeof Schema.String;
|
|
8
8
|
}>>;
|
|
9
9
|
export declare class ViewType extends ViewType_base {
|
|
10
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/types/schema.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;;;;;;;;AAKhC,qBAAa,QAAS,SAAQ,aAM5B;CAAG"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Schema } from 'effect';
|
|
2
2
|
import { ViewType } from './schema';
|
|
3
3
|
export declare namespace ExplorerAction {
|
|
4
|
-
const Create_base:
|
|
5
|
-
readonly _tag:
|
|
4
|
+
const Create_base: Schema.TaggedClass<Create, "dxos.org/plugin/explorer/action/create", {
|
|
5
|
+
readonly _tag: Schema.tag<"dxos.org/plugin/explorer/action/create">;
|
|
6
6
|
} & {
|
|
7
|
-
input:
|
|
8
|
-
name:
|
|
7
|
+
input: Schema.Struct<{
|
|
8
|
+
name: Schema.optional<typeof Schema.String>;
|
|
9
9
|
}>;
|
|
10
|
-
output:
|
|
10
|
+
output: Schema.Struct<{
|
|
11
11
|
object: typeof ViewType;
|
|
12
12
|
}>;
|
|
13
13
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGpC,yBAAiB,cAAc,CAAC;;;;;;;;;;;IAG9B,MAAM,OAAO,MAAO,SAAQ,WAO1B;KAAG;;CACN"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-explorer",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2-main.2f9c567",
|
|
4
4
|
"description": "Braneframe data visualization plugin",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -37,26 +37,27 @@
|
|
|
37
37
|
"@observablehq/plot": "^0.6.11",
|
|
38
38
|
"@preact/signals-core": "^1.6.0",
|
|
39
39
|
"d3": "^7.9.0",
|
|
40
|
+
"effect": "^3.13.3",
|
|
40
41
|
"force-graph": "^1.49.4",
|
|
41
42
|
"lodash.defaultsdeep": "^4.6.1",
|
|
42
43
|
"lodash.get": "^4.4.2",
|
|
43
44
|
"react-resize-detector": "^11.0.1",
|
|
44
45
|
"topojson-client": "^3.1.0",
|
|
45
|
-
"@dxos/
|
|
46
|
-
"@dxos/
|
|
47
|
-
"@dxos/client": "0.8.
|
|
48
|
-
"@dxos/echo-schema": "0.8.
|
|
49
|
-
"@dxos/gem-
|
|
50
|
-
"@dxos/live-object": "0.8.
|
|
51
|
-
"@dxos/gem-
|
|
52
|
-
"@dxos/
|
|
53
|
-
"@dxos/
|
|
54
|
-
"@dxos/plugin-
|
|
55
|
-
"@dxos/plugin-
|
|
56
|
-
"@dxos/plugin-
|
|
57
|
-
"@dxos/react-
|
|
58
|
-
"@dxos/
|
|
59
|
-
"@dxos/
|
|
46
|
+
"@dxos/app-framework": "0.8.2-main.2f9c567",
|
|
47
|
+
"@dxos/async": "0.8.2-main.2f9c567",
|
|
48
|
+
"@dxos/client": "0.8.2-main.2f9c567",
|
|
49
|
+
"@dxos/echo-schema": "0.8.2-main.2f9c567",
|
|
50
|
+
"@dxos/gem-spore": "0.8.2-main.2f9c567",
|
|
51
|
+
"@dxos/live-object": "0.8.2-main.2f9c567",
|
|
52
|
+
"@dxos/gem-core": "0.8.2-main.2f9c567",
|
|
53
|
+
"@dxos/plugin-client": "0.8.2-main.2f9c567",
|
|
54
|
+
"@dxos/log": "0.8.2-main.2f9c567",
|
|
55
|
+
"@dxos/plugin-graph": "0.8.2-main.2f9c567",
|
|
56
|
+
"@dxos/plugin-space": "0.8.2-main.2f9c567",
|
|
57
|
+
"@dxos/plugin-search": "0.8.2-main.2f9c567",
|
|
58
|
+
"@dxos/react-ui-stack": "0.8.2-main.2f9c567",
|
|
59
|
+
"@dxos/util": "0.8.2-main.2f9c567",
|
|
60
|
+
"@dxos/react-client": "0.8.2-main.2f9c567"
|
|
60
61
|
},
|
|
61
62
|
"devDependencies": {
|
|
62
63
|
"@phosphor-icons/react": "^2.1.5",
|
|
@@ -71,19 +72,20 @@
|
|
|
71
72
|
"react": "~18.2.0",
|
|
72
73
|
"react-dom": "~18.2.0",
|
|
73
74
|
"vite": "5.4.7",
|
|
74
|
-
"@dxos/echo-generator": "0.8.
|
|
75
|
-
"@dxos/
|
|
76
|
-
"@dxos/
|
|
77
|
-
"@dxos/react-ui": "0.8.
|
|
78
|
-
"@dxos/
|
|
79
|
-
"@dxos/
|
|
75
|
+
"@dxos/echo-generator": "0.8.2-main.2f9c567",
|
|
76
|
+
"@dxos/random": "0.8.2-main.2f9c567",
|
|
77
|
+
"@dxos/plugin-outliner": "0.8.2-main.2f9c567",
|
|
78
|
+
"@dxos/react-ui": "0.8.2-main.2f9c567",
|
|
79
|
+
"@dxos/react-ui-theme": "0.8.2-main.2f9c567",
|
|
80
|
+
"@dxos/storybook-utils": "0.8.2-main.2f9c567"
|
|
80
81
|
},
|
|
81
82
|
"peerDependencies": {
|
|
82
83
|
"@phosphor-icons/react": "^2.1.5",
|
|
84
|
+
"effect": "^3.13.3",
|
|
83
85
|
"react": "~18.2.0",
|
|
84
86
|
"react-dom": "~18.2.0",
|
|
85
|
-
"@dxos/react-ui": "0.8.
|
|
86
|
-
"@dxos/react-ui-theme": "0.8.
|
|
87
|
+
"@dxos/react-ui": "0.8.2-main.2f9c567",
|
|
88
|
+
"@dxos/react-ui-theme": "0.8.2-main.2f9c567"
|
|
87
89
|
},
|
|
88
90
|
"publishConfig": {
|
|
89
91
|
"access": "public"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
//
|
|
4
4
|
|
|
5
5
|
import { contributes, Capabilities, createResolver } from '@dxos/app-framework';
|
|
6
|
-
import {
|
|
6
|
+
import { live } from '@dxos/live-object';
|
|
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:
|
|
16
|
+
data: { object: live(ViewType, { name, type: '' }) },
|
|
17
17
|
}),
|
|
18
18
|
}),
|
|
19
19
|
);
|