@dxos/plugin-explorer 0.8.1-main.303c73a → 0.8.1-main.81238a8
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-T5CTMBIS.mjs → ExplorerContainer-3FC557MG.mjs} +2 -2
- package/dist/lib/browser/{chunk-SU3K2HL7.mjs → chunk-4OFGICWF.mjs} +3 -3
- package/dist/lib/browser/{chunk-PMHCTMKT.mjs → chunk-B3EX52V3.mjs} +2 -2
- package/dist/lib/browser/{chunk-QOKAZK4V.mjs → chunk-KYB47PZA.mjs} +1 -1
- package/dist/lib/browser/chunk-KYB47PZA.mjs.map +7 -0
- package/dist/lib/browser/{chunk-V23FAKIX.mjs → chunk-X5CI43J6.mjs} +1 -1
- package/dist/lib/browser/{chunk-V23FAKIX.mjs.map → chunk-X5CI43J6.mjs.map} +2 -2
- package/dist/lib/browser/index.mjs +8 -8
- package/dist/lib/browser/index.mjs.map +2 -2
- package/dist/lib/browser/{intent-resolver-UJNDAIDZ.mjs → intent-resolver-5UXBTZAM.mjs} +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/meta.mjs +1 -1
- package/dist/lib/browser/{react-surface-Q7OT6GXC.mjs → react-surface-7HHUAS3J.mjs} +7 -6
- package/dist/lib/browser/react-surface-7HHUAS3J.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +2 -2
- package/dist/lib/node/{ExplorerContainer-SO5XAXFS.cjs → ExplorerContainer-2DQFUEG7.cjs} +6 -6
- package/dist/lib/node/{chunk-5MTMJYC4.cjs → chunk-6VLMSRD5.cjs} +4 -4
- package/dist/lib/node/chunk-6VLMSRD5.cjs.map +7 -0
- package/dist/lib/node/{chunk-6GTOKVKH.cjs → chunk-AABHIUUW.cjs} +4 -4
- package/dist/lib/node/{chunk-6GTOKVKH.cjs.map → chunk-AABHIUUW.cjs.map} +2 -2
- package/dist/lib/node/{chunk-YUY7P7R2.cjs → chunk-C4DXEIBU.cjs} +6 -6
- package/dist/lib/node/{chunk-CQYBCGC4.cjs → chunk-ZJL53DLS.cjs} +7 -7
- package/dist/lib/node/index.cjs +31 -31
- package/dist/lib/node/index.cjs.map +2 -2
- package/dist/lib/node/{intent-resolver-XQV24IAA.cjs → intent-resolver-WDMZJTJ5.cjs} +8 -8
- package/dist/lib/node/meta.cjs +3 -3
- package/dist/lib/node/meta.cjs.map +1 -1
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/{react-surface-5G52HSJW.cjs → react-surface-UKU6NFBS.cjs} +12 -11
- package/dist/lib/node/react-surface-UKU6NFBS.cjs.map +7 -0
- package/dist/lib/node/types/index.cjs +4 -4
- package/dist/lib/node/types/index.cjs.map +1 -1
- package/dist/lib/node-esm/{ExplorerContainer-DTUTEZLK.mjs → ExplorerContainer-RBGUFI5X.mjs} +2 -2
- package/dist/lib/node-esm/{chunk-4IST6Y3Z.mjs → chunk-PIOV7IOO.mjs} +3 -3
- package/dist/lib/node-esm/{chunk-UHJZUVRI.mjs → chunk-RKQR2GVZ.mjs} +1 -1
- package/dist/lib/node-esm/chunk-RKQR2GVZ.mjs.map +7 -0
- package/dist/lib/node-esm/{chunk-Q2IQDIKJ.mjs → chunk-TI3P4L2P.mjs} +1 -1
- package/dist/lib/node-esm/{chunk-Q2IQDIKJ.mjs.map → chunk-TI3P4L2P.mjs.map} +2 -2
- package/dist/lib/node-esm/{chunk-57K7ORAW.mjs → chunk-WJ6AML7W.mjs} +2 -2
- package/dist/lib/node-esm/index.mjs +8 -8
- package/dist/lib/node-esm/index.mjs.map +2 -2
- package/dist/lib/node-esm/{intent-resolver-RZQ3EEOE.mjs → intent-resolver-KBRYGW6I.mjs} +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/meta.mjs +1 -1
- package/dist/lib/node-esm/{react-surface-QSQVINGP.mjs → react-surface-UZYRBRXP.mjs} +7 -6
- package/dist/lib/node-esm/react-surface-UZYRBRXP.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +2 -2
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/components/Graph/Graph.d.ts.map +1 -1
- package/dist/types/src/components/Tree/Tree.stories.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +2 -9
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +3 -3
- package/package.json +26 -25
- package/src/ExplorerPlugin.tsx +1 -1
- package/src/capabilities/react-surface.tsx +2 -1
- package/src/components/Graph/Graph.tsx +1 -0
- package/src/components/Tree/Tree.stories.tsx +3 -36
- package/src/meta.ts +2 -2
- package/src/translations.ts +1 -1
- package/dist/lib/browser/chunk-QOKAZK4V.mjs.map +0 -7
- package/dist/lib/browser/react-surface-Q7OT6GXC.mjs.map +0 -7
- package/dist/lib/node/chunk-5MTMJYC4.cjs.map +0 -7
- package/dist/lib/node/react-surface-5G52HSJW.cjs.map +0 -7
- package/dist/lib/node-esm/chunk-UHJZUVRI.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-QSQVINGP.mjs.map +0 -7
- /package/dist/lib/browser/{ExplorerContainer-T5CTMBIS.mjs.map → ExplorerContainer-3FC557MG.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-SU3K2HL7.mjs.map → chunk-4OFGICWF.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-PMHCTMKT.mjs.map → chunk-B3EX52V3.mjs.map} +0 -0
- /package/dist/lib/browser/{intent-resolver-UJNDAIDZ.mjs.map → intent-resolver-5UXBTZAM.mjs.map} +0 -0
- /package/dist/lib/node/{ExplorerContainer-SO5XAXFS.cjs.map → ExplorerContainer-2DQFUEG7.cjs.map} +0 -0
- /package/dist/lib/node/{chunk-YUY7P7R2.cjs.map → chunk-C4DXEIBU.cjs.map} +0 -0
- /package/dist/lib/node/{chunk-CQYBCGC4.cjs.map → chunk-ZJL53DLS.cjs.map} +0 -0
- /package/dist/lib/node/{intent-resolver-XQV24IAA.cjs.map → intent-resolver-WDMZJTJ5.cjs.map} +0 -0
- /package/dist/lib/node-esm/{ExplorerContainer-DTUTEZLK.mjs.map → ExplorerContainer-RBGUFI5X.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-4IST6Y3Z.mjs.map → chunk-PIOV7IOO.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-57K7ORAW.mjs.map → chunk-WJ6AML7W.mjs.map} +0 -0
- /package/dist/lib/node-esm/{intent-resolver-RZQ3EEOE.mjs.map → intent-resolver-KBRYGW6I.mjs.map} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-explorer",
|
|
3
|
-
"version": "0.8.1-main.
|
|
3
|
+
"version": "0.8.1-main.81238a8",
|
|
4
4
|
"description": "Braneframe data visualization plugin",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -33,29 +33,30 @@
|
|
|
33
33
|
"src"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
+
"3d-force-graph": "^1.76.1",
|
|
36
37
|
"@observablehq/plot": "^0.6.11",
|
|
37
38
|
"@preact/signals-core": "^1.6.0",
|
|
38
39
|
"d3": "^7.9.0",
|
|
39
|
-
"force-graph": "1.49.
|
|
40
|
+
"force-graph": "^1.49.4",
|
|
40
41
|
"lodash.defaultsdeep": "^4.6.1",
|
|
41
42
|
"lodash.get": "^4.4.2",
|
|
42
43
|
"react-resize-detector": "^11.0.1",
|
|
43
44
|
"topojson-client": "^3.1.0",
|
|
44
|
-
"@dxos/
|
|
45
|
-
"@dxos/async": "0.8.1-main.
|
|
46
|
-
"@dxos/
|
|
47
|
-
"@dxos/
|
|
48
|
-
"@dxos/
|
|
49
|
-
"@dxos/gem-
|
|
50
|
-
"@dxos/
|
|
51
|
-
"@dxos/
|
|
52
|
-
"@dxos/plugin-
|
|
53
|
-
"@dxos/
|
|
54
|
-
"@dxos/plugin-
|
|
55
|
-
"@dxos/plugin-space": "0.8.1-main.
|
|
56
|
-
"@dxos/react-client": "0.8.1-main.
|
|
57
|
-
"@dxos/react-ui-stack": "0.8.1-main.
|
|
58
|
-
"@dxos/util": "0.8.1-main.
|
|
45
|
+
"@dxos/client": "0.8.1-main.81238a8",
|
|
46
|
+
"@dxos/async": "0.8.1-main.81238a8",
|
|
47
|
+
"@dxos/app-framework": "0.8.1-main.81238a8",
|
|
48
|
+
"@dxos/echo-schema": "0.8.1-main.81238a8",
|
|
49
|
+
"@dxos/gem-spore": "0.8.1-main.81238a8",
|
|
50
|
+
"@dxos/gem-core": "0.8.1-main.81238a8",
|
|
51
|
+
"@dxos/log": "0.8.1-main.81238a8",
|
|
52
|
+
"@dxos/plugin-client": "0.8.1-main.81238a8",
|
|
53
|
+
"@dxos/plugin-graph": "0.8.1-main.81238a8",
|
|
54
|
+
"@dxos/live-object": "0.8.1-main.81238a8",
|
|
55
|
+
"@dxos/plugin-search": "0.8.1-main.81238a8",
|
|
56
|
+
"@dxos/plugin-space": "0.8.1-main.81238a8",
|
|
57
|
+
"@dxos/react-client": "0.8.1-main.81238a8",
|
|
58
|
+
"@dxos/react-ui-stack": "0.8.1-main.81238a8",
|
|
59
|
+
"@dxos/util": "0.8.1-main.81238a8"
|
|
59
60
|
},
|
|
60
61
|
"devDependencies": {
|
|
61
62
|
"@phosphor-icons/react": "^2.1.5",
|
|
@@ -70,19 +71,19 @@
|
|
|
70
71
|
"react": "~18.2.0",
|
|
71
72
|
"react-dom": "~18.2.0",
|
|
72
73
|
"vite": "5.4.7",
|
|
73
|
-
"@dxos/
|
|
74
|
-
"@dxos/
|
|
75
|
-
"@dxos/
|
|
76
|
-
"@dxos/
|
|
77
|
-
"@dxos/react-ui": "0.8.1-main.
|
|
78
|
-
"@dxos/
|
|
74
|
+
"@dxos/plugin-outliner": "0.8.1-main.81238a8",
|
|
75
|
+
"@dxos/echo-generator": "0.8.1-main.81238a8",
|
|
76
|
+
"@dxos/random": "0.8.1-main.81238a8",
|
|
77
|
+
"@dxos/react-ui": "0.8.1-main.81238a8",
|
|
78
|
+
"@dxos/react-ui-theme": "0.8.1-main.81238a8",
|
|
79
|
+
"@dxos/storybook-utils": "0.8.1-main.81238a8"
|
|
79
80
|
},
|
|
80
81
|
"peerDependencies": {
|
|
81
82
|
"@phosphor-icons/react": "^2.1.5",
|
|
82
83
|
"react": "~18.2.0",
|
|
83
84
|
"react-dom": "~18.2.0",
|
|
84
|
-
"@dxos/react-ui": "0.8.1-main.
|
|
85
|
-
"@dxos/react-ui-theme": "0.8.1-main.
|
|
85
|
+
"@dxos/react-ui": "0.8.1-main.81238a8",
|
|
86
|
+
"@dxos/react-ui-theme": "0.8.1-main.81238a8"
|
|
86
87
|
},
|
|
87
88
|
"publishConfig": {
|
|
88
89
|
"access": "public"
|
package/src/ExplorerPlugin.tsx
CHANGED
|
@@ -26,7 +26,7 @@ export const ExplorerPlugin = () =>
|
|
|
26
26
|
contributes(Capabilities.Metadata, {
|
|
27
27
|
id: ViewType.typename,
|
|
28
28
|
metadata: {
|
|
29
|
-
placeholder: ['object
|
|
29
|
+
placeholder: ['object placeholder', { ns: EXPLORER_PLUGIN }],
|
|
30
30
|
icon: 'ph--graph--regular',
|
|
31
31
|
},
|
|
32
32
|
}),
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
|
|
7
7
|
import { Capabilities, contributes, createSurface } from '@dxos/app-framework';
|
|
8
|
+
import { isInstanceOf } from '@dxos/echo-schema';
|
|
8
9
|
|
|
9
10
|
import { ExplorerContainer } from '../components';
|
|
10
11
|
import { EXPLORER_PLUGIN } from '../meta';
|
|
@@ -16,7 +17,7 @@ export default () =>
|
|
|
16
17
|
createSurface({
|
|
17
18
|
id: `${EXPLORER_PLUGIN}/article`,
|
|
18
19
|
role: ['article', 'section'],
|
|
19
|
-
filter: (data): data is { subject: ViewType } => data.subject
|
|
20
|
+
filter: (data): data is { subject: ViewType } => isInstanceOf(ViewType, data.subject),
|
|
20
21
|
component: ({ data, role }) => <ExplorerContainer view={data.subject} role={role} />,
|
|
21
22
|
}),
|
|
22
23
|
);
|
|
@@ -34,6 +34,7 @@ export const Graph: FC<GraphProps> = ({ space, match }) => {
|
|
|
34
34
|
useEffect(() => {
|
|
35
35
|
if (rootRef.current) {
|
|
36
36
|
// https://github.com/vasturiano/force-graph
|
|
37
|
+
// https://github.com/vasturiano/3d-force-graph
|
|
37
38
|
forceGraph.current = new ForceGraph(rootRef.current)
|
|
38
39
|
.nodeRelSize(6)
|
|
39
40
|
.nodeLabel((node: any) => {
|
|
@@ -7,59 +7,26 @@ import '@dxos-theme';
|
|
|
7
7
|
import { type Meta } from '@storybook/react';
|
|
8
8
|
import React, { type FC, useEffect, useState } from 'react';
|
|
9
9
|
|
|
10
|
-
import {
|
|
11
|
-
import { TreeItemType, TreeType } from '@dxos/plugin-outliner/types';
|
|
10
|
+
import { TreeType, Tree as TreeModel } from '@dxos/plugin-outliner/types';
|
|
12
11
|
import { faker } from '@dxos/random';
|
|
13
12
|
import { useClient } from '@dxos/react-client';
|
|
14
13
|
import { type ClientRepeatedComponentProps, ClientRepeater } from '@dxos/react-client/testing';
|
|
15
14
|
import { withLayout, withTheme } from '@dxos/storybook-utils';
|
|
16
|
-
import { range } from '@dxos/util';
|
|
17
15
|
|
|
18
16
|
import { Tree, type TreeComponentProps } from './Tree';
|
|
19
17
|
|
|
20
18
|
// TODO(burdon): Storybook for Graph/Tree/Plot (generics); incl. GraphModel.
|
|
21
19
|
// TODO(burdon): Type for all Explorer components (Space, Object, Query, etc.) incl.
|
|
22
|
-
// TODO(burdon): Factor out to gem?
|
|
23
20
|
|
|
24
21
|
faker.seed(1);
|
|
25
22
|
|
|
26
|
-
const makeTreeItems = <T extends number>(count: T, items: TreeItemType[] = []) => {
|
|
27
|
-
return range(count, () => create(TreeItemType, { content: '', items: items.map((item) => makeRef(item)) }));
|
|
28
|
-
};
|
|
29
|
-
|
|
30
23
|
const Story: FC<ClientRepeatedComponentProps & { type?: TreeComponentProps<any>['variant'] }> = ({ type }) => {
|
|
31
24
|
const client = useClient();
|
|
32
25
|
const space = client.spaces.default;
|
|
33
26
|
const [object, setObject] = useState<TreeType>();
|
|
34
27
|
useEffect(() => {
|
|
35
28
|
setTimeout(() => {
|
|
36
|
-
const tree = create(
|
|
37
|
-
root: makeRef(
|
|
38
|
-
makeTreeItems(1, [
|
|
39
|
-
...makeTreeItems(7),
|
|
40
|
-
...makeTreeItems(1, [
|
|
41
|
-
...makeTreeItems(1),
|
|
42
|
-
...makeTreeItems(1, [
|
|
43
|
-
...makeTreeItems(3),
|
|
44
|
-
...makeTreeItems(1, makeTreeItems(2)),
|
|
45
|
-
...makeTreeItems(2),
|
|
46
|
-
...makeTreeItems(1, makeTreeItems(2)),
|
|
47
|
-
...makeTreeItems(2),
|
|
48
|
-
]),
|
|
49
|
-
...makeTreeItems(1),
|
|
50
|
-
]),
|
|
51
|
-
...makeTreeItems(2),
|
|
52
|
-
...makeTreeItems(1, [
|
|
53
|
-
...makeTreeItems(1),
|
|
54
|
-
...makeTreeItems(1, [...makeTreeItems(2), ...makeTreeItems(1, makeTreeItems(2))]),
|
|
55
|
-
...makeTreeItems(1),
|
|
56
|
-
]),
|
|
57
|
-
...makeTreeItems(2),
|
|
58
|
-
])[0],
|
|
59
|
-
),
|
|
60
|
-
});
|
|
61
|
-
|
|
62
|
-
space.db.add(tree);
|
|
29
|
+
const tree = space.db.add(TreeModel.create());
|
|
63
30
|
setObject(tree);
|
|
64
31
|
});
|
|
65
32
|
}, []);
|
|
@@ -92,7 +59,7 @@ export const Edge = {
|
|
|
92
59
|
const meta: Meta = {
|
|
93
60
|
title: 'plugins/plugin-explorer/Tree',
|
|
94
61
|
component: Tree,
|
|
95
|
-
render: () => <ClientRepeater component={Story} types={[TreeType
|
|
62
|
+
render: () => <ClientRepeater component={Story} types={[TreeType]} createSpace />,
|
|
96
63
|
decorators: [withTheme, withLayout({ fullscreen: true })],
|
|
97
64
|
parameters: {
|
|
98
65
|
layout: 'fullscreen',
|
package/src/meta.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { type PluginMeta } from '@dxos/app-framework';
|
|
|
6
6
|
|
|
7
7
|
export const EXPLORER_PLUGIN = 'dxos.org/plugin/explorer';
|
|
8
8
|
|
|
9
|
-
export const meta = {
|
|
9
|
+
export const meta: PluginMeta = {
|
|
10
10
|
id: EXPLORER_PLUGIN,
|
|
11
11
|
name: 'Explorer',
|
|
12
12
|
description: 'Install this plugin to view a hypergraph of all objects inside of your Space.',
|
|
@@ -14,4 +14,4 @@ export const meta = {
|
|
|
14
14
|
source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/experimental/plugin-explorer',
|
|
15
15
|
tags: ['experimental'],
|
|
16
16
|
screenshots: ['https://dxos.network/plugin-details-explorer-dark.png'],
|
|
17
|
-
}
|
|
17
|
+
};
|
package/src/translations.ts
CHANGED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/meta.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type PluginMeta } from '@dxos/app-framework';\n\nexport const EXPLORER_PLUGIN = 'dxos.org/plugin/explorer';\n\nexport const meta = {\n id: EXPLORER_PLUGIN,\n name: 'Explorer',\n description: 'Install this plugin to view a hypergraph of all objects inside of your Space.',\n icon: 'ph--graph--regular',\n source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/experimental/plugin-explorer',\n tags: ['experimental'],\n screenshots: ['https://dxos.network/plugin-details-explorer-dark.png'],\n} satisfies PluginMeta;\n"],
|
|
5
|
-
"mappings": ";AAMO,IAAMA,kBAAkB;AAExB,IAAMC,OAAO;EAClBC,IAAIF;EACJG,MAAM;EACNC,aAAa;EACbC,MAAM;EACNC,QAAQ;EACRC,MAAM;IAAC;;EACPC,aAAa;IAAC;;AAChB;",
|
|
6
|
-
"names": ["EXPLORER_PLUGIN", "meta", "id", "name", "description", "icon", "source", "tags", "screenshots"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/capabilities/react-surface.tsx"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport React from 'react';\n\nimport { Capabilities, contributes, createSurface } from '@dxos/app-framework';\n\nimport { ExplorerContainer } from '../components';\nimport { EXPLORER_PLUGIN } from '../meta';\nimport { ViewType } from '../types';\n\nexport default () =>\n contributes(\n Capabilities.ReactSurface,\n createSurface({\n id: `${EXPLORER_PLUGIN}/article`,\n role: ['article', 'section'],\n filter: (data): data is { subject: ViewType } => data.subject instanceof ViewType,\n component: ({ data, role }) => <ExplorerContainer view={data.subject} role={role} />,\n }),\n );\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;AAIA,OAAOA,WAAW;AAElB,SAASC,cAAcC,aAAaC,qBAAqB;AAMzD,IAAA,wBAAe,MACbC,YACEC,aAAaC,cACbC,cAAc;EACZC,IAAI,GAAGC,eAAAA;EACPC,MAAM;IAAC;IAAW;;EAClBC,QAAQ,CAACC,SAAwCA,KAAKC,mBAAmBC;EACzEC,WAAW,CAAC,EAAEH,MAAMF,KAAI,MAAO,sBAAA,cAACM,mBAAAA;IAAkBC,MAAML,KAAKC;IAASH;;AACxE,CAAA,CAAA;",
|
|
6
|
-
"names": ["React", "Capabilities", "contributes", "createSurface", "contributes", "Capabilities", "ReactSurface", "createSurface", "id", "EXPLORER_PLUGIN", "role", "filter", "data", "subject", "ViewType", "component", "ExplorerContainer", "view"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/meta.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type PluginMeta } from '@dxos/app-framework';\n\nexport const EXPLORER_PLUGIN = 'dxos.org/plugin/explorer';\n\nexport const meta = {\n id: EXPLORER_PLUGIN,\n name: 'Explorer',\n description: 'Install this plugin to view a hypergraph of all objects inside of your Space.',\n icon: 'ph--graph--regular',\n source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/experimental/plugin-explorer',\n tags: ['experimental'],\n screenshots: ['https://dxos.network/plugin-details-explorer-dark.png'],\n} satisfies PluginMeta;\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAMO,IAAMA,kBAAkB;AAExB,IAAMC,OAAO;EAClBC,IAAIF;EACJG,MAAM;EACNC,aAAa;EACbC,MAAM;EACNC,QAAQ;EACRC,MAAM;IAAC;;EACPC,aAAa;IAAC;;AAChB;",
|
|
6
|
-
"names": ["EXPLORER_PLUGIN", "meta", "id", "name", "description", "icon", "source", "tags", "screenshots"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/capabilities/react-surface.tsx"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport React from 'react';\n\nimport { Capabilities, contributes, createSurface } from '@dxos/app-framework';\n\nimport { ExplorerContainer } from '../components';\nimport { EXPLORER_PLUGIN } from '../meta';\nimport { ViewType } from '../types';\n\nexport default () =>\n contributes(\n Capabilities.ReactSurface,\n createSurface({\n id: `${EXPLORER_PLUGIN}/article`,\n role: ['article', 'section'],\n filter: (data): data is { subject: ViewType } => data.subject instanceof ViewType,\n component: ({ data, role }) => <ExplorerContainer view={data.subject} role={role} />,\n }),\n );\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,mBAAkB;AAElB,2BAAyD;AAMzD,IAAA,wBAAe,UACbA,kCACEC,kCAAaC,kBACbC,oCAAc;EACZC,IAAI,GAAGC,qCAAAA;EACPC,MAAM;IAAC;IAAW;;EAClBC,QAAQ,CAACC,SAAwCA,KAAKC,mBAAmBC;EACzEC,WAAW,CAAC,EAAEH,MAAMF,KAAI,MAAO,6BAAAM,QAAA,cAACC,yCAAAA;IAAkBC,MAAMN,KAAKC;IAASH;;AACxE,CAAA,CAAA;",
|
|
6
|
-
"names": ["contributes", "Capabilities", "ReactSurface", "createSurface", "id", "EXPLORER_PLUGIN", "role", "filter", "data", "subject", "ViewType", "component", "React", "ExplorerContainer", "view"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/meta.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type PluginMeta } from '@dxos/app-framework';\n\nexport const EXPLORER_PLUGIN = 'dxos.org/plugin/explorer';\n\nexport const meta = {\n id: EXPLORER_PLUGIN,\n name: 'Explorer',\n description: 'Install this plugin to view a hypergraph of all objects inside of your Space.',\n icon: 'ph--graph--regular',\n source: 'https://github.com/dxos/dxos/tree/main/packages/plugins/experimental/plugin-explorer',\n tags: ['experimental'],\n screenshots: ['https://dxos.network/plugin-details-explorer-dark.png'],\n} satisfies PluginMeta;\n"],
|
|
5
|
-
"mappings": ";;;AAMO,IAAMA,kBAAkB;AAExB,IAAMC,OAAO;EAClBC,IAAIF;EACJG,MAAM;EACNC,aAAa;EACbC,MAAM;EACNC,QAAQ;EACRC,MAAM;IAAC;;EACPC,aAAa;IAAC;;AAChB;",
|
|
6
|
-
"names": ["EXPLORER_PLUGIN", "meta", "id", "name", "description", "icon", "source", "tags", "screenshots"]
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../src/capabilities/react-surface.tsx"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport React from 'react';\n\nimport { Capabilities, contributes, createSurface } from '@dxos/app-framework';\n\nimport { ExplorerContainer } from '../components';\nimport { EXPLORER_PLUGIN } from '../meta';\nimport { ViewType } from '../types';\n\nexport default () =>\n contributes(\n Capabilities.ReactSurface,\n createSurface({\n id: `${EXPLORER_PLUGIN}/article`,\n role: ['article', 'section'],\n filter: (data): data is { subject: ViewType } => data.subject instanceof ViewType,\n component: ({ data, role }) => <ExplorerContainer view={data.subject} role={role} />,\n }),\n );\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;AAIA,OAAOA,WAAW;AAElB,SAASC,cAAcC,aAAaC,qBAAqB;AAMzD,IAAA,wBAAe,MACbC,YACEC,aAAaC,cACbC,cAAc;EACZC,IAAI,GAAGC,eAAAA;EACPC,MAAM;IAAC;IAAW;;EAClBC,QAAQ,CAACC,SAAwCA,KAAKC,mBAAmBC;EACzEC,WAAW,CAAC,EAAEH,MAAMF,KAAI,MAAO,sBAAA,cAACM,mBAAAA;IAAkBC,MAAML,KAAKC;IAASH;;AACxE,CAAA,CAAA;",
|
|
6
|
-
"names": ["React", "Capabilities", "contributes", "createSurface", "contributes", "Capabilities", "ReactSurface", "createSurface", "id", "EXPLORER_PLUGIN", "role", "filter", "data", "subject", "ViewType", "component", "ExplorerContainer", "view"]
|
|
7
|
-
}
|
/package/dist/lib/browser/{ExplorerContainer-T5CTMBIS.mjs.map → ExplorerContainer-3FC557MG.mjs.map}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/lib/browser/{intent-resolver-UJNDAIDZ.mjs.map → intent-resolver-5UXBTZAM.mjs.map}
RENAMED
|
File without changes
|
/package/dist/lib/node/{ExplorerContainer-SO5XAXFS.cjs.map → ExplorerContainer-2DQFUEG7.cjs.map}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/lib/node/{intent-resolver-XQV24IAA.cjs.map → intent-resolver-WDMZJTJ5.cjs.map}
RENAMED
|
File without changes
|
/package/dist/lib/node-esm/{ExplorerContainer-DTUTEZLK.mjs.map → ExplorerContainer-RBGUFI5X.mjs.map}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/lib/node-esm/{intent-resolver-RZQ3EEOE.mjs.map → intent-resolver-KBRYGW6I.mjs.map}
RENAMED
|
File without changes
|