@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
package/dist/lib/node/index.cjs
CHANGED
|
@@ -28,33 +28,33 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
29
|
var node_exports = {};
|
|
30
30
|
__export(node_exports, {
|
|
31
|
-
Chart: () =>
|
|
31
|
+
Chart: () => import_chunk_AUWXU65U.Chart,
|
|
32
32
|
EXPLORER_PLUGIN: () => import_chunk_VB3QE6XY.EXPLORER_PLUGIN,
|
|
33
|
-
ExplorerContainer: () =>
|
|
33
|
+
ExplorerContainer: () => import_chunk_AUWXU65U.ExplorerContainer,
|
|
34
34
|
ExplorerPlugin: () => ExplorerPlugin,
|
|
35
|
-
Globe: () =>
|
|
36
|
-
Graph: () =>
|
|
37
|
-
SpaceGraphModel: () =>
|
|
38
|
-
Tree: () =>
|
|
39
|
-
defaultTreeLayoutSlots: () =>
|
|
35
|
+
Globe: () => import_chunk_AUWXU65U.Globe,
|
|
36
|
+
Graph: () => import_chunk_4VLNAK7T.Graph,
|
|
37
|
+
SpaceGraphModel: () => import_chunk_4VLNAK7T.SpaceGraphModel,
|
|
38
|
+
Tree: () => import_chunk_AUWXU65U.Tree,
|
|
39
|
+
defaultTreeLayoutSlots: () => import_chunk_AUWXU65U.defaultTreeLayoutSlots,
|
|
40
40
|
meta: () => import_chunk_VB3QE6XY.meta
|
|
41
41
|
});
|
|
42
42
|
module.exports = __toCommonJS(node_exports);
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var
|
|
43
|
+
var import_chunk_AUWXU65U = require("./chunk-AUWXU65U.cjs");
|
|
44
|
+
var import_chunk_4VLNAK7T = require("./chunk-4VLNAK7T.cjs");
|
|
45
|
+
var import_chunk_6R5P3UVS = require("./chunk-6R5P3UVS.cjs");
|
|
46
46
|
var import_chunk_VB3QE6XY = require("./chunk-VB3QE6XY.cjs");
|
|
47
47
|
var import_app_framework = require("@dxos/app-framework");
|
|
48
48
|
var import_plugin_client = require("@dxos/plugin-client");
|
|
49
49
|
var import_plugin_space = require("@dxos/plugin-space");
|
|
50
50
|
var import_types = require("@dxos/plugin-space/types");
|
|
51
51
|
var import_app_framework2 = require("@dxos/app-framework");
|
|
52
|
-
var IntentResolver = (0, import_app_framework2.lazy)(() => import("./intent-resolver-
|
|
53
|
-
var ReactSurface = (0, import_app_framework2.lazy)(() => import("./react-surface-
|
|
52
|
+
var IntentResolver = (0, import_app_framework2.lazy)(() => import("./intent-resolver-VDAHQEE7.cjs"));
|
|
53
|
+
var ReactSurface = (0, import_app_framework2.lazy)(() => import("./react-surface-4YBNYQED.cjs"));
|
|
54
54
|
var translations_default = [
|
|
55
55
|
{
|
|
56
56
|
"en-US": {
|
|
57
|
-
[
|
|
57
|
+
[import_chunk_6R5P3UVS.ViewType.typename]: {
|
|
58
58
|
"typename label": "Explorer",
|
|
59
59
|
"object name placeholder": "New explorer"
|
|
60
60
|
},
|
|
@@ -75,7 +75,7 @@ var ExplorerPlugin = () => (0, import_app_framework.definePlugin)(import_chunk_V
|
|
|
75
75
|
id: `${import_chunk_VB3QE6XY.meta.id}/module/metadata`,
|
|
76
76
|
activatesOn: import_app_framework.Events.SetupMetadata,
|
|
77
77
|
activate: () => (0, import_app_framework.contributes)(import_app_framework.Capabilities.Metadata, {
|
|
78
|
-
id:
|
|
78
|
+
id: import_chunk_6R5P3UVS.ViewType.typename,
|
|
79
79
|
metadata: {
|
|
80
80
|
icon: "ph--graph--regular"
|
|
81
81
|
}
|
|
@@ -85,15 +85,15 @@ var ExplorerPlugin = () => (0, import_app_framework.definePlugin)(import_chunk_V
|
|
|
85
85
|
id: `${import_chunk_VB3QE6XY.meta.id}/module/object-form`,
|
|
86
86
|
activatesOn: import_plugin_client.ClientEvents.SetupSchema,
|
|
87
87
|
activate: () => (0, import_app_framework.contributes)(import_plugin_space.SpaceCapabilities.ObjectForm, (0, import_types.defineObjectForm)({
|
|
88
|
-
objectSchema:
|
|
89
|
-
getIntent: () => (0, import_app_framework.createIntent)(
|
|
88
|
+
objectSchema: import_chunk_6R5P3UVS.ViewType,
|
|
89
|
+
getIntent: () => (0, import_app_framework.createIntent)(import_chunk_6R5P3UVS.ExplorerAction.Create)
|
|
90
90
|
}))
|
|
91
91
|
}),
|
|
92
92
|
(0, import_app_framework.defineModule)({
|
|
93
93
|
id: `${import_chunk_VB3QE6XY.meta.id}/module/schema`,
|
|
94
94
|
activatesOn: import_plugin_client.ClientEvents.SetupSchema,
|
|
95
95
|
activate: () => (0, import_app_framework.contributes)(import_plugin_client.ClientCapabilities.Schema, [
|
|
96
|
-
|
|
96
|
+
import_chunk_6R5P3UVS.ViewType
|
|
97
97
|
])
|
|
98
98
|
}),
|
|
99
99
|
(0, import_app_framework.defineModule)({
|
|
@@ -16,24 +16,24 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
19
|
+
var intent_resolver_VDAHQEE7_exports = {};
|
|
20
|
+
__export(intent_resolver_VDAHQEE7_exports, {
|
|
21
21
|
default: () => intent_resolver_default
|
|
22
22
|
});
|
|
23
|
-
module.exports = __toCommonJS(
|
|
24
|
-
var
|
|
23
|
+
module.exports = __toCommonJS(intent_resolver_VDAHQEE7_exports);
|
|
24
|
+
var import_chunk_6R5P3UVS = require("./chunk-6R5P3UVS.cjs");
|
|
25
25
|
var import_chunk_VB3QE6XY = require("./chunk-VB3QE6XY.cjs");
|
|
26
26
|
var import_app_framework = require("@dxos/app-framework");
|
|
27
27
|
var import_live_object = require("@dxos/live-object");
|
|
28
28
|
var intent_resolver_default = () => (0, import_app_framework.contributes)(import_app_framework.Capabilities.IntentResolver, (0, import_app_framework.createResolver)({
|
|
29
|
-
intent:
|
|
29
|
+
intent: import_chunk_6R5P3UVS.ExplorerAction.Create,
|
|
30
30
|
resolve: ({ name }) => ({
|
|
31
31
|
data: {
|
|
32
|
-
object: (0, import_live_object.
|
|
32
|
+
object: (0, import_live_object.live)(import_chunk_6R5P3UVS.ViewType, {
|
|
33
33
|
name,
|
|
34
34
|
type: ""
|
|
35
35
|
})
|
|
36
36
|
}
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
|
-
//# sourceMappingURL=intent-resolver-
|
|
39
|
+
//# sourceMappingURL=intent-resolver-VDAHQEE7.cjs.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,2BAA0D;AAC1D,yBAAqB;AAIrB,IAAA,0BAAe,UACbA,kCACEC,kCAAaC,oBACbC,qCAAe;EACbC,QAAQC,qCAAeC;EACvBC,SAAS,CAAC,EAAEC,KAAI,OAAQ;IACtBC,MAAM;MAAEC,YAAQC,yBAAKC,gCAAU;QAAEJ;QAAMK,MAAM;MAAG,CAAA;IAAG;EACrD;AACF,CAAA,CAAA;",
|
|
6
|
+
"names": ["contributes", "Capabilities", "IntentResolver", "createResolver", "intent", "ExplorerAction", "Create", "resolve", "name", "data", "object", "live", "ViewType", "type"]
|
|
7
|
+
}
|
package/dist/lib/node/meta.json
CHANGED
|
@@ -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/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4787},"packages/plugins/plugin-explorer/dist/lib/node/index.cjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-HCDBN6NN.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-OIHH6TVE.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-YLL7H7CZ.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-VB3QE6XY.cjs","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/intent-resolver-EEOTX3OZ.cjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-explorer/dist/lib/node/react-surface-WD4G2NRS.cjs","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":2777},"packages/plugins/plugin-explorer/dist/lib/node/meta.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-explorer/dist/lib/node/meta.cjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-VB3QE6XY.cjs","kind":"import-statement"}],"exports":["EXPLORER_PLUGIN","meta"],"entryPoint":"packages/plugins/plugin-explorer/src/meta.ts","inputs":{},"bytes":138},"packages/plugins/plugin-explorer/dist/lib/node/types/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-explorer/dist/lib/node/types/index.cjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-YLL7H7CZ.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-VB3QE6XY.cjs","kind":"import-statement"}],"exports":["ExplorerAction","ViewType"],"entryPoint":"packages/plugins/plugin-explorer/src/types/index.ts","inputs":{},"bytes":178},"packages/plugins/plugin-explorer/dist/lib/node/ExplorerContainer-73AHSBAG.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1382},"packages/plugins/plugin-explorer/dist/lib/node/ExplorerContainer-73AHSBAG.cjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-OIHH6TVE.cjs","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":819},"packages/plugins/plugin-explorer/dist/lib/node/intent-resolver-EEOTX3OZ.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1089},"packages/plugins/plugin-explorer/dist/lib/node/intent-resolver-EEOTX3OZ.cjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-YLL7H7CZ.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-VB3QE6XY.cjs","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":657},"packages/plugins/plugin-explorer/dist/lib/node/react-surface-WD4G2NRS.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1433},"packages/plugins/plugin-explorer/dist/lib/node/react-surface-WD4G2NRS.cjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-HCDBN6NN.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-OIHH6TVE.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-YLL7H7CZ.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-VB3QE6XY.cjs","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":888},"packages/plugins/plugin-explorer/dist/lib/node/chunk-HCDBN6NN.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":475536},"packages/plugins/plugin-explorer/dist/lib/node/chunk-HCDBN6NN.cjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-OIHH6TVE.cjs","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/ExplorerContainer-73AHSBAG.cjs","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":200207},"packages/plugins/plugin-explorer/dist/lib/node/chunk-OIHH6TVE.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":15409},"packages/plugins/plugin-explorer/dist/lib/node/chunk-OIHH6TVE.cjs":{"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":7135},"packages/plugins/plugin-explorer/dist/lib/node/chunk-YLL7H7CZ.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1705},"packages/plugins/plugin-explorer/dist/lib/node/chunk-YLL7H7CZ.cjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-VB3QE6XY.cjs","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":904},"packages/plugins/plugin-explorer/dist/lib/node/chunk-VB3QE6XY.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":917},"packages/plugins/plugin-explorer/dist/lib/node/chunk-VB3QE6XY.cjs":{"imports":[],"exports":["EXPLORER_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-explorer/src/meta.ts":{"bytesInOutput":448}},"bytes":579}}}
|
|
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/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4787},"packages/plugins/plugin-explorer/dist/lib/node/index.cjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-AUWXU65U.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-4VLNAK7T.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-6R5P3UVS.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-VB3QE6XY.cjs","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/intent-resolver-VDAHQEE7.cjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-explorer/dist/lib/node/react-surface-4YBNYQED.cjs","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":2777},"packages/plugins/plugin-explorer/dist/lib/node/meta.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-explorer/dist/lib/node/meta.cjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-VB3QE6XY.cjs","kind":"import-statement"}],"exports":["EXPLORER_PLUGIN","meta"],"entryPoint":"packages/plugins/plugin-explorer/src/meta.ts","inputs":{},"bytes":138},"packages/plugins/plugin-explorer/dist/lib/node/types/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-explorer/dist/lib/node/types/index.cjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-6R5P3UVS.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-VB3QE6XY.cjs","kind":"import-statement"}],"exports":["ExplorerAction","ViewType"],"entryPoint":"packages/plugins/plugin-explorer/src/types/index.ts","inputs":{},"bytes":178},"packages/plugins/plugin-explorer/dist/lib/node/ExplorerContainer-XJUAYKA6.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1382},"packages/plugins/plugin-explorer/dist/lib/node/ExplorerContainer-XJUAYKA6.cjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-4VLNAK7T.cjs","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":819},"packages/plugins/plugin-explorer/dist/lib/node/intent-resolver-VDAHQEE7.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1081},"packages/plugins/plugin-explorer/dist/lib/node/intent-resolver-VDAHQEE7.cjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-6R5P3UVS.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-VB3QE6XY.cjs","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":653},"packages/plugins/plugin-explorer/dist/lib/node/react-surface-4YBNYQED.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1433},"packages/plugins/plugin-explorer/dist/lib/node/react-surface-4YBNYQED.cjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-AUWXU65U.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-4VLNAK7T.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-6R5P3UVS.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-VB3QE6XY.cjs","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":888},"packages/plugins/plugin-explorer/dist/lib/node/chunk-AUWXU65U.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":475787},"packages/plugins/plugin-explorer/dist/lib/node/chunk-AUWXU65U.cjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-4VLNAK7T.cjs","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/ExplorerContainer-XJUAYKA6.cjs","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":200336},"packages/plugins/plugin-explorer/dist/lib/node/chunk-4VLNAK7T.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":15445},"packages/plugins/plugin-explorer/dist/lib/node/chunk-4VLNAK7T.cjs":{"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":7172},"packages/plugins/plugin-explorer/dist/lib/node/chunk-6R5P3UVS.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1805},"packages/plugins/plugin-explorer/dist/lib/node/chunk-6R5P3UVS.cjs":{"imports":[{"path":"packages/plugins/plugin-explorer/dist/lib/node/chunk-VB3QE6XY.cjs","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":973},"packages/plugins/plugin-explorer/dist/lib/node/chunk-VB3QE6XY.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":917},"packages/plugins/plugin-explorer/dist/lib/node/chunk-VB3QE6XY.cjs":{"imports":[],"exports":["EXPLORER_PLUGIN","meta"],"inputs":{"packages/plugins/plugin-explorer/src/meta.ts":{"bytesInOutput":448}},"bytes":579}}}
|
|
@@ -26,14 +26,14 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var react_surface_4YBNYQED_exports = {};
|
|
30
|
+
__export(react_surface_4YBNYQED_exports, {
|
|
31
31
|
default: () => react_surface_default
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
34
|
-
var
|
|
35
|
-
var
|
|
36
|
-
var
|
|
33
|
+
module.exports = __toCommonJS(react_surface_4YBNYQED_exports);
|
|
34
|
+
var import_chunk_AUWXU65U = require("./chunk-AUWXU65U.cjs");
|
|
35
|
+
var import_chunk_4VLNAK7T = require("./chunk-4VLNAK7T.cjs");
|
|
36
|
+
var import_chunk_6R5P3UVS = require("./chunk-6R5P3UVS.cjs");
|
|
37
37
|
var import_chunk_VB3QE6XY = require("./chunk-VB3QE6XY.cjs");
|
|
38
38
|
var import_react = __toESM(require("react"));
|
|
39
39
|
var import_app_framework = require("@dxos/app-framework");
|
|
@@ -44,10 +44,10 @@ var react_surface_default = () => (0, import_app_framework.contributes)(import_a
|
|
|
44
44
|
"article",
|
|
45
45
|
"section"
|
|
46
46
|
],
|
|
47
|
-
filter: (data) => (0, import_echo_schema.isInstanceOf)(
|
|
48
|
-
component: ({ data, role }) => /* @__PURE__ */ import_react.default.createElement(
|
|
47
|
+
filter: (data) => (0, import_echo_schema.isInstanceOf)(import_chunk_6R5P3UVS.ViewType, data.subject),
|
|
48
|
+
component: ({ data, role }) => /* @__PURE__ */ import_react.default.createElement(import_chunk_AUWXU65U.ExplorerContainer, {
|
|
49
49
|
view: data.subject,
|
|
50
50
|
role
|
|
51
51
|
})
|
|
52
52
|
}));
|
|
53
|
-
//# sourceMappingURL=react-surface-
|
|
53
|
+
//# sourceMappingURL=react-surface-4YBNYQED.cjs.map
|
|
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var types_exports = {};
|
|
20
20
|
__export(types_exports, {
|
|
21
|
-
ExplorerAction: () =>
|
|
22
|
-
ViewType: () =>
|
|
21
|
+
ExplorerAction: () => import_chunk_6R5P3UVS.ExplorerAction,
|
|
22
|
+
ViewType: () => import_chunk_6R5P3UVS.ViewType
|
|
23
23
|
});
|
|
24
24
|
module.exports = __toCommonJS(types_exports);
|
|
25
|
-
var
|
|
25
|
+
var import_chunk_6R5P3UVS = require("../chunk-6R5P3UVS.cjs");
|
|
26
26
|
var import_chunk_VB3QE6XY = require("../chunk-VB3QE6XY.cjs");
|
|
27
27
|
// Annotate the CommonJS export names for ESM import in node:
|
|
28
28
|
0 && (module.exports = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["index.cjs"],
|
|
4
|
-
"sourcesContent": ["import {\n ExplorerAction,\n ViewType\n} from \"../chunk-
|
|
4
|
+
"sourcesContent": ["import {\n ExplorerAction,\n ViewType\n} from \"../chunk-6R5P3UVS.cjs\";\nimport \"../chunk-VB3QE6XY.cjs\";\nexport {\n ExplorerAction,\n ViewType\n};\n//# sourceMappingURL=index.cjs.map\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAGO;AACP,4BAAO;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
Graph
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XMTM43JC.mjs";
|
|
5
5
|
|
|
6
6
|
// packages/plugins/plugin-explorer/src/components/ExplorerContainer.tsx
|
|
7
7
|
import React from "react";
|
|
@@ -25,4 +25,4 @@ var ExplorerContainer_default = ExplorerContainer;
|
|
|
25
25
|
export {
|
|
26
26
|
ExplorerContainer_default as default
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=ExplorerContainer-
|
|
28
|
+
//# sourceMappingURL=ExplorerContainer-5K4RALZR.mjs.map
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
1
2
|
import {
|
|
2
3
|
SpaceGraphModel
|
|
3
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XMTM43JC.mjs";
|
|
4
5
|
|
|
5
6
|
// packages/plugins/plugin-explorer/src/components/Chart/Chart.tsx
|
|
6
7
|
import * as Plot from "@observablehq/plot";
|
|
@@ -10831,19 +10832,19 @@ import { createSvgContext, SVG, SVGRoot } from "@dxos/gem-core";
|
|
|
10831
10832
|
import { useAsyncState } from "@dxos/react-ui";
|
|
10832
10833
|
|
|
10833
10834
|
// packages/plugins/plugin-explorer/src/components/Tree/layout/HierarchicalEdgeBundling.ts
|
|
10834
|
-
import
|
|
10835
|
+
import { cluster, curveBundle, hierarchy, lineRadial, select } from "d3";
|
|
10835
10836
|
var HierarchicalEdgeBundling = (s, data, options) => {
|
|
10836
|
-
const svg =
|
|
10837
|
+
const svg = select(s);
|
|
10837
10838
|
svg.selectAll("*").remove();
|
|
10838
10839
|
const { radius = 600, padding = 100, slots } = options;
|
|
10839
|
-
const root =
|
|
10840
|
-
const tree3 =
|
|
10840
|
+
const root = hierarchy(flatten(data));
|
|
10841
|
+
const tree3 = cluster().size([
|
|
10841
10842
|
2 * Math.PI,
|
|
10842
10843
|
radius - padding
|
|
10843
10844
|
]);
|
|
10844
10845
|
const layout = tree3(addLinks(root));
|
|
10845
10846
|
const node = svg.append("g").selectAll().data(layout.leaves()).join("g").attr("transform", (d) => `rotate(${d.x * (180 / Math.PI) - 90}) translate(${d.y},0)`).append("text").attr("class", slots?.text ?? "").attr("dy", "0.31em").attr("x", (d) => d.x < Math.PI ? 6 : -6).attr("text-anchor", (d) => d.x < Math.PI ? "start" : "end").attr("transform", (d) => d.x >= Math.PI ? "rotate(180)" : null).call((text) => text.text((d) => d.data.id.slice(0, 8)));
|
|
10846
|
-
const line =
|
|
10847
|
+
const line = lineRadial().curve(curveBundle.beta(0.85)).radius((d) => d.y).angle((d) => d.x);
|
|
10847
10848
|
const links = svg.append("g").selectAll().data(layout.leaves().flatMap((leaf) => leaf.outgoing)).join("path").style("mix-blend-mode", "multiply").attr("class", slots?.path ?? "").attr("d", ([i, o]) => {
|
|
10848
10849
|
return line(i.path(o));
|
|
10849
10850
|
}).each(function(d) {
|
|
@@ -10894,21 +10895,21 @@ var flatten = (node) => {
|
|
|
10894
10895
|
var HierarchicalEdgeBundling_default = HierarchicalEdgeBundling;
|
|
10895
10896
|
|
|
10896
10897
|
// packages/plugins/plugin-explorer/src/components/Tree/layout/RadialTree.ts
|
|
10897
|
-
import
|
|
10898
|
+
import { hierarchy as hierarchy2, linkRadial, select as select2, tree } from "d3";
|
|
10898
10899
|
var RadialTree = (s, data, options) => {
|
|
10899
|
-
const svg =
|
|
10900
|
+
const svg = select2(s);
|
|
10900
10901
|
svg.selectAll("*").remove();
|
|
10901
10902
|
const { label, radius = 400, r = 4, slots } = options;
|
|
10902
10903
|
const arc = 2 * Math.PI;
|
|
10903
|
-
const root =
|
|
10904
|
+
const root = hierarchy2(data);
|
|
10904
10905
|
const descendants = root.descendants();
|
|
10905
10906
|
const getLabel = label === null ? null : descendants.map((d) => label(d.data));
|
|
10906
|
-
const layout =
|
|
10907
|
+
const layout = tree().size([
|
|
10907
10908
|
arc,
|
|
10908
10909
|
radius
|
|
10909
10910
|
]).separation((a, b) => (a.parent === b.parent ? 1 : 2) / a.depth);
|
|
10910
10911
|
layout(root);
|
|
10911
|
-
svg.append("g").selectAll("path").data(root.links()).join("path").attr("class", slots?.path ?? "").attr("d",
|
|
10912
|
+
svg.append("g").selectAll("path").data(root.links()).join("path").attr("class", slots?.path ?? "").attr("d", linkRadial().angle((d) => d.x + Math.PI / 2).radius((d) => d.y));
|
|
10912
10913
|
const node = svg.append("g").selectAll("a").data(root.descendants()).join("a").attr("transform", (d) => `rotate(${d.x * 180 / Math.PI}) translate(${d.y},0)`);
|
|
10913
10914
|
node.append("circle").attr("class", slots?.node ?? "").attr("r", r);
|
|
10914
10915
|
if (getLabel) {
|
|
@@ -10919,17 +10920,17 @@ var RadialTree = (s, data, options) => {
|
|
|
10919
10920
|
var RadialTree_default = RadialTree;
|
|
10920
10921
|
|
|
10921
10922
|
// packages/plugins/plugin-explorer/src/components/Tree/layout/TidyTree.ts
|
|
10922
|
-
import
|
|
10923
|
+
import { curveBumpX, hierarchy as hierarchy3, link, select as select3, tree as tree2 } from "d3";
|
|
10923
10924
|
var TidyTree = (s, data, options) => {
|
|
10924
|
-
const svg =
|
|
10925
|
+
const svg = select3(s);
|
|
10925
10926
|
svg.selectAll("*").remove();
|
|
10926
10927
|
const { label, width, height, r = 4, padding = 4, margin = 60, slots } = options;
|
|
10927
|
-
const root =
|
|
10928
|
+
const root = hierarchy3(data);
|
|
10928
10929
|
const descendants = root.descendants();
|
|
10929
10930
|
const getLabel = label == null ? null : descendants.map((d) => label(d.data));
|
|
10930
10931
|
const dx = 16;
|
|
10931
10932
|
const dy = width / (root.height + padding);
|
|
10932
|
-
const layout =
|
|
10933
|
+
const layout = tree2().nodeSize([
|
|
10933
10934
|
dx,
|
|
10934
10935
|
dy
|
|
10935
10936
|
]);
|
|
@@ -10954,7 +10955,7 @@ var TidyTree = (s, data, options) => {
|
|
|
10954
10955
|
});
|
|
10955
10956
|
const sx = Math.min(2, Math.max(1, (height - margin * 2) / (x1 - x0)));
|
|
10956
10957
|
const oy = -(width - (y1 - y0)) / 2;
|
|
10957
|
-
svg.append("g").selectAll("path").data(root.links()).join("path").attr("class", slots?.path ?? "").attr("d",
|
|
10958
|
+
svg.append("g").selectAll("path").data(root.links()).join("path").attr("class", slots?.path ?? "").attr("d", link(curveBumpX).x((d) => d.y + oy).y((d) => d.x * sx));
|
|
10958
10959
|
const node = svg.append("g").selectAll("a").data(root.descendants()).join("a").attr("transform", (d) => `translate(${d.y + oy},${d.x * sx})`);
|
|
10959
10960
|
node.append("circle").attr("class", slots?.node ?? "").attr("r", r);
|
|
10960
10961
|
if (getLabel) {
|
|
@@ -11059,7 +11060,7 @@ var Tree = ({ space, selected, variant = "tidy", onNodeClick }) => {
|
|
|
11059
11060
|
|
|
11060
11061
|
// packages/plugins/plugin-explorer/src/components/index.ts
|
|
11061
11062
|
import { lazy } from "react";
|
|
11062
|
-
var ExplorerContainer = lazy(() => import("./ExplorerContainer-
|
|
11063
|
+
var ExplorerContainer = lazy(() => import("./ExplorerContainer-5K4RALZR.mjs"));
|
|
11063
11064
|
|
|
11064
11065
|
export {
|
|
11065
11066
|
Chart,
|
|
@@ -11068,4 +11069,4 @@ export {
|
|
|
11068
11069
|
Tree,
|
|
11069
11070
|
ExplorerContainer
|
|
11070
11071
|
};
|
|
11071
|
-
//# sourceMappingURL=chunk-
|
|
11072
|
+
//# sourceMappingURL=chunk-4C6UIJCM.mjs.map
|