@dxos/plugin-explorer 0.8.3 → 0.8.4-main.1068cf700f

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (181) hide show
  1. package/dist/lib/browser/ExplorerContainer-46BHUF6R.mjs +45 -0
  2. package/dist/lib/browser/ExplorerContainer-46BHUF6R.mjs.map +7 -0
  3. package/dist/lib/browser/chunk-HIFLWHXR.mjs +83 -0
  4. package/dist/lib/browser/chunk-HIFLWHXR.mjs.map +7 -0
  5. package/dist/lib/browser/chunk-J5LGTIGS.mjs +10 -0
  6. package/dist/lib/browser/chunk-J5LGTIGS.mjs.map +7 -0
  7. package/dist/lib/browser/{chunk-JRKQNHS6.mjs → chunk-JZSBQYJQ.mjs} +152 -405
  8. package/dist/lib/{node-esm/chunk-IUFYOE44.mjs.map → browser/chunk-JZSBQYJQ.mjs.map} +3 -3
  9. package/dist/lib/browser/chunk-KIXHZZ2C.mjs +35 -0
  10. package/dist/lib/browser/chunk-KIXHZZ2C.mjs.map +7 -0
  11. package/dist/lib/browser/chunk-MGBT2ZFU.mjs +177 -0
  12. package/dist/lib/browser/chunk-MGBT2ZFU.mjs.map +7 -0
  13. package/dist/lib/browser/chunk-YNQF4CPY.mjs +24 -0
  14. package/dist/lib/browser/chunk-YNQF4CPY.mjs.map +7 -0
  15. package/dist/lib/browser/index.mjs +60 -70
  16. package/dist/lib/browser/index.mjs.map +4 -4
  17. package/dist/lib/browser/meta.json +1 -1
  18. package/dist/lib/browser/meta.mjs +2 -3
  19. package/dist/lib/browser/react-surface-TPQAT5EI.mjs +36 -0
  20. package/dist/lib/browser/react-surface-TPQAT5EI.mjs.map +7 -0
  21. package/dist/lib/browser/types/index.mjs +6 -6
  22. package/dist/lib/node-esm/ExplorerContainer-OZNG47QB.mjs +46 -0
  23. package/dist/lib/node-esm/ExplorerContainer-OZNG47QB.mjs.map +7 -0
  24. package/dist/lib/node-esm/chunk-3OE6TBJI.mjs +84 -0
  25. package/dist/lib/node-esm/chunk-3OE6TBJI.mjs.map +7 -0
  26. package/dist/lib/node-esm/{chunk-VSORIAHH.mjs → chunk-ASRWO2N5.mjs} +12 -7
  27. package/dist/lib/node-esm/chunk-ASRWO2N5.mjs.map +7 -0
  28. package/dist/lib/node-esm/{chunk-3CMBLK6W.mjs → chunk-DK77RB6M.mjs} +9 -6
  29. package/dist/lib/node-esm/chunk-DK77RB6M.mjs.map +7 -0
  30. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +11 -0
  31. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs.map +7 -0
  32. package/dist/lib/node-esm/{chunk-IUFYOE44.mjs → chunk-K5BYG7BW.mjs} +152 -405
  33. package/dist/lib/{browser/chunk-JRKQNHS6.mjs.map → node-esm/chunk-K5BYG7BW.mjs.map} +3 -3
  34. package/dist/lib/node-esm/chunk-YWJBDETV.mjs +179 -0
  35. package/dist/lib/node-esm/chunk-YWJBDETV.mjs.map +7 -0
  36. package/dist/lib/node-esm/index.mjs +60 -70
  37. package/dist/lib/node-esm/index.mjs.map +4 -4
  38. package/dist/lib/node-esm/meta.json +1 -1
  39. package/dist/lib/node-esm/meta.mjs +2 -3
  40. package/dist/lib/node-esm/react-surface-CYHGJJDU.mjs +37 -0
  41. package/dist/lib/node-esm/react-surface-CYHGJJDU.mjs.map +7 -0
  42. package/dist/lib/node-esm/types/index.mjs +6 -6
  43. package/dist/types/src/ExplorerPlugin.d.ts +2 -1
  44. package/dist/types/src/ExplorerPlugin.d.ts.map +1 -1
  45. package/dist/types/src/capabilities/index.d.ts +1 -2
  46. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  47. package/dist/types/src/capabilities/react-surface/index.d.ts +3 -0
  48. package/dist/types/src/capabilities/react-surface/index.d.ts.map +1 -0
  49. package/dist/types/src/capabilities/react-surface/react-surface.d.ts +5 -0
  50. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -0
  51. package/dist/types/src/components/Chart/Chart.d.ts.map +1 -1
  52. package/dist/types/src/components/Chart/Chart.stories.d.ts +8 -4
  53. package/dist/types/src/components/Chart/Chart.stories.d.ts.map +1 -1
  54. package/dist/types/src/components/ExplorerContainer.d.ts +4 -6
  55. package/dist/types/src/components/ExplorerContainer.d.ts.map +1 -1
  56. package/dist/types/src/components/Globe/Globe.d.ts.map +1 -1
  57. package/dist/types/src/components/Globe/Globe.stories.d.ts +8 -4
  58. package/dist/types/src/components/Globe/Globe.stories.d.ts.map +1 -1
  59. package/dist/types/src/components/Graph/D3ForceGraph.d.ts +2 -2
  60. package/dist/types/src/components/Graph/D3ForceGraph.d.ts.map +1 -1
  61. package/dist/types/src/components/Graph/D3ForceGraph.stories.d.ts +13 -4
  62. package/dist/types/src/components/Graph/D3ForceGraph.stories.d.ts.map +1 -1
  63. package/dist/types/src/components/Graph/ForceGraph.stories.d.ts +13 -4
  64. package/dist/types/src/components/Graph/ForceGraph.stories.d.ts.map +1 -1
  65. package/dist/types/src/components/Graph/adapter.d.ts +1 -1
  66. package/dist/types/src/components/Graph/adapter.d.ts.map +1 -1
  67. package/dist/types/src/components/Graph/testing.d.ts +1 -1
  68. package/dist/types/src/components/Graph/testing.d.ts.map +1 -1
  69. package/dist/types/src/components/Tree/Tree.d.ts.map +1 -1
  70. package/dist/types/src/components/Tree/Tree.stories.d.ts +13 -16
  71. package/dist/types/src/components/Tree/Tree.stories.d.ts.map +1 -1
  72. package/dist/types/src/components/Tree/testing/generator.d.ts.map +1 -1
  73. package/dist/types/src/components/Tree/types/tree.d.ts +18 -16
  74. package/dist/types/src/components/Tree/types/tree.d.ts.map +1 -1
  75. package/dist/types/src/components/Tree/types/types.d.ts +1 -1
  76. package/dist/types/src/components/Tree/types/types.d.ts.map +1 -1
  77. package/dist/types/src/components/index.d.ts +2 -4
  78. package/dist/types/src/components/index.d.ts.map +1 -1
  79. package/dist/types/src/hooks/useGraphModel.d.ts +2 -2
  80. package/dist/types/src/hooks/useGraphModel.d.ts.map +1 -1
  81. package/dist/types/src/meta.d.ts +2 -3
  82. package/dist/types/src/meta.d.ts.map +1 -1
  83. package/dist/types/src/translations.d.ts +34 -22
  84. package/dist/types/src/translations.d.ts.map +1 -1
  85. package/dist/types/src/types/ExplorerAction.d.ts +6 -0
  86. package/dist/types/src/types/ExplorerAction.d.ts.map +1 -0
  87. package/dist/types/src/types/Graph.d.ts +30 -0
  88. package/dist/types/src/types/Graph.d.ts.map +1 -0
  89. package/dist/types/src/types/index.d.ts +2 -2
  90. package/dist/types/src/types/index.d.ts.map +1 -1
  91. package/dist/types/tsconfig.tsbuildinfo +1 -1
  92. package/package.json +61 -44
  93. package/src/ExplorerPlugin.tsx +31 -53
  94. package/src/capabilities/index.ts +1 -4
  95. package/src/capabilities/react-surface/index.ts +7 -0
  96. package/src/capabilities/react-surface/react-surface.tsx +31 -0
  97. package/src/components/Chart/Chart.stories.tsx +10 -8
  98. package/src/components/Chart/Chart.tsx +1 -1
  99. package/src/components/ExplorerContainer.tsx +30 -14
  100. package/src/components/Globe/Globe.stories.tsx +15 -13
  101. package/src/components/Globe/Globe.tsx +1 -1
  102. package/src/components/Graph/D3ForceGraph.stories.tsx +40 -21
  103. package/src/components/Graph/D3ForceGraph.tsx +6 -6
  104. package/src/components/Graph/ForceGraph.stories.tsx +40 -21
  105. package/src/components/Graph/ForceGraph.tsx +5 -5
  106. package/src/components/Graph/adapter.ts +14 -8
  107. package/src/components/Graph/testing.ts +13 -10
  108. package/src/components/Tree/Tree.stories.tsx +29 -22
  109. package/src/components/Tree/Tree.tsx +11 -6
  110. package/src/components/Tree/testing/generator.ts +4 -2
  111. package/src/components/Tree/types/tree.test.ts +8 -5
  112. package/src/components/Tree/types/tree.ts +40 -19
  113. package/src/components/Tree/types/types.ts +1 -1
  114. package/src/components/index.ts +3 -3
  115. package/src/hooks/useGraphModel.ts +9 -5
  116. package/src/meta.ts +9 -6
  117. package/src/translations.ts +12 -6
  118. package/src/types/ExplorerAction.ts +21 -0
  119. package/src/types/Graph.ts +62 -0
  120. package/src/types/index.ts +2 -2
  121. package/dist/lib/browser/ExplorerContainer-DXL34I3F.mjs +0 -37
  122. package/dist/lib/browser/ExplorerContainer-DXL34I3F.mjs.map +0 -7
  123. package/dist/lib/browser/chunk-73YTQHOT.mjs +0 -38
  124. package/dist/lib/browser/chunk-73YTQHOT.mjs.map +0 -7
  125. package/dist/lib/browser/chunk-OBAFAA5V.mjs +0 -21
  126. package/dist/lib/browser/chunk-OBAFAA5V.mjs.map +0 -7
  127. package/dist/lib/browser/chunk-SLB2F5AO.mjs +0 -30
  128. package/dist/lib/browser/chunk-SLB2F5AO.mjs.map +0 -7
  129. package/dist/lib/browser/chunk-Z5BGAHLD.mjs +0 -187
  130. package/dist/lib/browser/chunk-Z5BGAHLD.mjs.map +0 -7
  131. package/dist/lib/browser/intent-resolver-JZKYVFQJ.mjs +0 -24
  132. package/dist/lib/browser/intent-resolver-JZKYVFQJ.mjs.map +0 -7
  133. package/dist/lib/browser/react-surface-IAEP2GBT.mjs +0 -31
  134. package/dist/lib/browser/react-surface-IAEP2GBT.mjs.map +0 -7
  135. package/dist/lib/node/ExplorerContainer-VUXH55VV.cjs +0 -61
  136. package/dist/lib/node/ExplorerContainer-VUXH55VV.cjs.map +0 -7
  137. package/dist/lib/node/chunk-4T4LCT5R.cjs +0 -52
  138. package/dist/lib/node/chunk-4T4LCT5R.cjs.map +0 -7
  139. package/dist/lib/node/chunk-BCDVG2CH.cjs +0 -44
  140. package/dist/lib/node/chunk-BCDVG2CH.cjs.map +0 -7
  141. package/dist/lib/node/chunk-MLRYW4WQ.cjs +0 -56
  142. package/dist/lib/node/chunk-MLRYW4WQ.cjs.map +0 -7
  143. package/dist/lib/node/chunk-SVU4VMYX.cjs +0 -11339
  144. package/dist/lib/node/chunk-SVU4VMYX.cjs.map +0 -7
  145. package/dist/lib/node/chunk-TY543HPV.cjs +0 -214
  146. package/dist/lib/node/chunk-TY543HPV.cjs.map +0 -7
  147. package/dist/lib/node/index.cjs +0 -130
  148. package/dist/lib/node/index.cjs.map +0 -7
  149. package/dist/lib/node/intent-resolver-G2MFNIXA.cjs +0 -39
  150. package/dist/lib/node/intent-resolver-G2MFNIXA.cjs.map +0 -7
  151. package/dist/lib/node/meta.cjs +0 -31
  152. package/dist/lib/node/meta.cjs.map +0 -7
  153. package/dist/lib/node/meta.json +0 -1
  154. package/dist/lib/node/react-surface-UJD5RGRZ.cjs +0 -53
  155. package/dist/lib/node/react-surface-UJD5RGRZ.cjs.map +0 -7
  156. package/dist/lib/node/types/index.cjs +0 -32
  157. package/dist/lib/node/types/index.cjs.map +0 -7
  158. package/dist/lib/node-esm/ExplorerContainer-MFE7PXF4.mjs +0 -38
  159. package/dist/lib/node-esm/ExplorerContainer-MFE7PXF4.mjs.map +0 -7
  160. package/dist/lib/node-esm/chunk-3CMBLK6W.mjs.map +0 -7
  161. package/dist/lib/node-esm/chunk-AE7VHUJM.mjs +0 -189
  162. package/dist/lib/node-esm/chunk-AE7VHUJM.mjs.map +0 -7
  163. package/dist/lib/node-esm/chunk-N6VEANUZ.mjs +0 -39
  164. package/dist/lib/node-esm/chunk-N6VEANUZ.mjs.map +0 -7
  165. package/dist/lib/node-esm/chunk-VSORIAHH.mjs.map +0 -7
  166. package/dist/lib/node-esm/intent-resolver-7G6ZKM6E.mjs +0 -25
  167. package/dist/lib/node-esm/intent-resolver-7G6ZKM6E.mjs.map +0 -7
  168. package/dist/lib/node-esm/react-surface-XBH3WZDL.mjs +0 -32
  169. package/dist/lib/node-esm/react-surface-XBH3WZDL.mjs.map +0 -7
  170. package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
  171. package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
  172. package/dist/types/src/capabilities/react-surface.d.ts +0 -4
  173. package/dist/types/src/capabilities/react-surface.d.ts.map +0 -1
  174. package/dist/types/src/types/schema.d.ts +0 -12
  175. package/dist/types/src/types/schema.d.ts.map +0 -1
  176. package/dist/types/src/types/types.d.ts +0 -18
  177. package/dist/types/src/types/types.d.ts.map +0 -1
  178. package/src/capabilities/intent-resolver.ts +0 -19
  179. package/src/capabilities/react-surface.tsx +0 -23
  180. package/src/types/schema.ts +0 -16
  181. package/src/types/types.ts +0 -21
@@ -0,0 +1,37 @@
1
+ import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
+ import {
3
+ ExplorerContainer
4
+ } from "./chunk-K5BYG7BW.mjs";
5
+ import {
6
+ meta
7
+ } from "./chunk-DK77RB6M.mjs";
8
+ import {
9
+ Graph_exports
10
+ } from "./chunk-3OE6TBJI.mjs";
11
+ import "./chunk-YWJBDETV.mjs";
12
+ import "./chunk-HSLMI22Q.mjs";
13
+
14
+ // src/capabilities/react-surface/react-surface.tsx
15
+ import * as Effect from "effect/Effect";
16
+ import React from "react";
17
+ import { Capabilities, Capability } from "@dxos/app-framework";
18
+ import { Surface } from "@dxos/app-framework/ui";
19
+ import { Obj } from "@dxos/echo";
20
+ var react_surface_default = Capability.makeModule(() => Effect.succeed(Capability.contributes(Capabilities.ReactSurface, Surface.create({
21
+ id: `${meta.id}/article`,
22
+ role: [
23
+ "article",
24
+ "section"
25
+ ],
26
+ filter: (data) => Obj.instanceOf(Graph_exports.Graph, data.subject),
27
+ component: ({ data, role }) => {
28
+ return /* @__PURE__ */ React.createElement(ExplorerContainer, {
29
+ role,
30
+ subject: data.subject
31
+ });
32
+ }
33
+ }))));
34
+ export {
35
+ react_surface_default as default
36
+ };
37
+ //# sourceMappingURL=react-surface-CYHGJJDU.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/react-surface/react-surface.tsx"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport React from 'react';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { Surface } from '@dxos/app-framework/ui';\nimport { Obj } from '@dxos/echo';\nimport { type View } from '@dxos/schema';\n\nimport { ExplorerContainer } from '../../components';\nimport { meta } from '../../meta';\nimport { Graph } from '../../types';\n\nexport default Capability.makeModule(() =>\n Effect.succeed(\n Capability.contributes(\n Capabilities.ReactSurface,\n Surface.create({\n id: `${meta.id}/article`,\n role: ['article', 'section'],\n filter: (data): data is { subject: View.View } => Obj.instanceOf(Graph.Graph, data.subject),\n component: ({ data, role }) => {\n return <ExplorerContainer role={role} subject={data.subject} />;\n },\n }),\n ),\n ),\n);\n"],
5
+ "mappings": ";;;;;;;;;;;;;;AAIA,YAAYA,YAAY;AACxB,OAAOC,WAAW;AAElB,SAASC,cAAcC,kBAAkB;AACzC,SAASC,eAAe;AACxB,SAASC,WAAW;AAOpB,IAAA,wBAAeC,WAAWC,WAAW,MAC5BC,eACLF,WAAWG,YACTC,aAAaC,cACbC,QAAQC,OAAO;EACbC,IAAI,GAAGC,KAAKD,EAAE;EACdE,MAAM;IAAC;IAAW;;EAClBC,QAAQ,CAACC,SAAyCC,IAAIC,WAAWC,cAAMA,OAAOH,KAAKI,OAAO;EAC1FC,WAAW,CAAC,EAAEL,MAAMF,KAAI,MAAE;AACxB,WAAO,sBAAA,cAACQ,mBAAAA;MAAkBR;MAAYM,SAASJ,KAAKI;;EACtD;AACF,CAAA,CAAA,CAAA,CAAA;",
6
+ "names": ["Effect", "React", "Capabilities", "Capability", "Surface", "Obj", "Capability", "makeModule", "succeed", "contributes", "Capabilities", "ReactSurface", "Surface", "create", "id", "meta", "role", "filter", "data", "Obj", "instanceOf", "Graph", "subject", "component", "ExplorerContainer"]
7
+ }
@@ -1,11 +1,11 @@
1
1
  import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
2
  import {
3
- ExplorerAction,
4
- ViewType
5
- } from "../chunk-N6VEANUZ.mjs";
6
- import "../chunk-3CMBLK6W.mjs";
3
+ ExplorerAction_exports,
4
+ Graph_exports
5
+ } from "../chunk-3OE6TBJI.mjs";
6
+ import "../chunk-HSLMI22Q.mjs";
7
7
  export {
8
- ExplorerAction,
9
- ViewType
8
+ ExplorerAction_exports as ExplorerAction,
9
+ Graph_exports as Graph
10
10
  };
11
11
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,3 @@
1
- export declare const ExplorerPlugin: () => import("@dxos/app-framework").Plugin;
1
+ import { Plugin } from '@dxos/app-framework';
2
+ export declare const ExplorerPlugin: Plugin.PluginFactory<void>;
2
3
  //# sourceMappingURL=ExplorerPlugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExplorerPlugin.d.ts","sourceRoot":"","sources":["../../../src/ExplorerPlugin.tsx"],"names":[],"mappings":"AAcA,eAAO,MAAM,cAAc,4CA6CvB,CAAC"}
1
+ {"version":3,"file":"ExplorerPlugin.d.ts","sourceRoot":"","sources":["../../../src/ExplorerPlugin.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAW7C,eAAO,MAAM,cAAc,4BAoB1B,CAAC"}
@@ -1,3 +1,2 @@
1
- export declare const IntentResolver: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.IntentResolver> | import("@dxos/app-framework").AnyCapability[]>>;
2
- export declare const ReactSurface: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.ReactSurface> | import("@dxos/app-framework").AnyCapability[]>>;
1
+ export * from './react-surface';
3
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc,kMAA0C,CAAC;AACtE,eAAO,MAAM,YAAY,gMAAwC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,cAAc,iBAAiB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Capability } from '@dxos/app-framework';
2
+ export declare const ReactSurface: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").ReactSurface>>, Error>;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/react-surface/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,YAAY,iJAAmE,CAAC"}
@@ -0,0 +1,5 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capabilities, Capability } from '@dxos/app-framework';
3
+ declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.ReactSurface>>, never, never>;
4
+ export default _default;
5
+ //# sourceMappingURL=react-surface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/react-surface/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;;AAS/D,wBAcE"}
@@ -1 +1 @@
1
- {"version":3,"file":"Chart.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chart/Chart.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAoB,MAAM,OAAO,CAAC;AAGzC,OAAO,EAAE,KAAK,QAAQ,EAAiB,KAAK,KAAK,EAAE,MAAM,SAAS,CAAC;AASnE,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3B,OAAO,CAAC,EAAE,UAAU,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,8BAAoD,SAAS,sBA6BlF,CAAC"}
1
+ {"version":3,"file":"Chart.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chart/Chart.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAoB,MAAM,OAAO,CAAC;AAGzC,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,KAAK,EAAiB,MAAM,SAAS,CAAC;AASnE,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC3B,OAAO,CAAC,EAAE,UAAU,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,8BAAoD,SAAS,sBA6BlF,CAAC"}
@@ -1,8 +1,12 @@
1
- import '@dxos-theme';
2
- import { type Meta } from '@storybook/react';
3
1
  import React from 'react';
4
- import { Chart } from './Chart';
5
2
  export declare const Default: () => React.JSX.Element;
6
- declare const meta: Meta<typeof Chart>;
3
+ declare const meta: {
4
+ title: string;
5
+ component: ({ items, accessor, options }: import("./Chart").CharProps) => React.JSX.Element;
6
+ decorators: import("@storybook/react").Decorator[];
7
+ parameters: {
8
+ layout: string;
9
+ };
10
+ };
7
11
  export default meta;
8
12
  //# sourceMappingURL=Chart.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chart.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chart/Chart.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAoBhC,eAAO,MAAM,OAAO,yBAA6C,CAAC;AAElE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAI5B,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Chart.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chart/Chart.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AA0B1B,eAAO,MAAM,OAAO,yBAA6C,CAAC;AAElE,QAAA,MAAM,IAAI;;;;;;;CAOoB,CAAC;AAE/B,eAAe,IAAI,CAAC"}
@@ -1,9 +1,7 @@
1
1
  import React from 'react';
2
- import { type ViewType } from '../types';
3
- type ExplorerContainerProps = {
4
- role: string;
5
- view: ViewType;
6
- };
7
- declare const ExplorerContainer: ({ role, view }: ExplorerContainerProps) => React.JSX.Element | null;
2
+ import { type SurfaceComponentProps } from '@dxos/app-toolkit/ui';
3
+ import { type View } from '@dxos/schema';
4
+ export type ExplorerContainerProps = SurfaceComponentProps<View.View>;
5
+ declare const ExplorerContainer: ({ role, subject: view }: ExplorerContainerProps) => React.JSX.Element | null;
8
6
  export default ExplorerContainer;
9
7
  //# sourceMappingURL=ExplorerContainer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExplorerContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/ExplorerContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,KAAK,sBAAsB,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC;AAEF,QAAA,MAAM,iBAAiB,GAAI,gBAAgB,sBAAsB,6BAchE,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"ExplorerContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/ExplorerContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAOlE,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,cAAc,CAAC;AAMzC,MAAM,MAAM,sBAAsB,GAAG,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAEtE,QAAA,MAAM,iBAAiB,GAAI,yBAAyB,sBAAsB,6BA4BzE,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Globe.d.ts","sourceRoot":"","sources":["../../../../../src/components/Globe/Globe.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,IAAI,MAAM,oBAAoB,CAAC;AAC3C,OAAO,KAAoB,MAAM,OAAO,CAAC;AAKzC,OAAO,EAAE,KAAK,QAAQ,EAAiB,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAOzE,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IACjC,UAAU,CAAC,EAAE,IAAI,CAAC,cAAc,CAAC;IACjC,OAAO,CAAC,EAAE,UAAU,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,0CAAiF,UAAU,sBAsChH,CAAC"}
1
+ {"version":3,"file":"Globe.d.ts","sourceRoot":"","sources":["../../../../../src/components/Globe/Globe.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,IAAI,MAAM,oBAAoB,CAAC;AAC3C,OAAO,KAAoB,MAAM,OAAO,CAAC;AAKzC,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,WAAW,EAAiB,MAAM,SAAS,CAAC;AAOzE,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,CAAC,WAAW,CAAC,CAAC;IACjC,UAAU,CAAC,EAAE,IAAI,CAAC,cAAc,CAAC;IACjC,OAAO,CAAC,EAAE,UAAU,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,0CAAiF,UAAU,sBAsChH,CAAC"}
@@ -1,8 +1,12 @@
1
- import '@dxos-theme';
2
- import { type Meta } from '@storybook/react';
3
1
  import React from 'react';
2
+ declare const meta: {
3
+ title: string;
4
+ decorators: import("@storybook/react").Decorator[];
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ };
9
+ export default meta;
4
10
  export declare const Default: () => React.JSX.Element;
5
11
  export declare const Extended: () => React.JSX.Element;
6
- declare const meta: Meta;
7
- export default meta;
8
12
  //# sourceMappingURL=Globe.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Globe.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Globe/Globe.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAGrB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,OAAO,KAAoB,MAAM,OAAO,CAAC;AAyEzC,eAAO,MAAM,OAAO,yBAAgE,CAAC;AAErF,eAAO,MAAM,QAAQ,yBAAiE,CAAC;AAEvF,QAAA,MAAM,IAAI,EAAE,IAGX,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Globe.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Globe/Globe.stories.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAoB,MAAM,OAAO,CAAC;AA0EzC,QAAA,MAAM,IAAI;;;;;;CAMM,CAAC;AAEjB,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,yBAAgE,CAAC;AAErF,eAAO,MAAM,QAAQ,yBAAiE,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type FC } from 'react';
1
+ import React from 'react';
2
2
  import { SelectionModel } from '@dxos/graph';
3
3
  import { type ThemedClassName } from '@dxos/react-ui';
4
4
  import { type GraphProps } from '@dxos/react-ui-graph';
@@ -10,5 +10,5 @@ export type D3ForceGraphProps = ThemedClassName<{
10
10
  selection?: SelectionModel;
11
11
  grid?: boolean;
12
12
  } & Pick<GraphProps, 'drag'>>;
13
- export declare const D3ForceGraph: FC<D3ForceGraphProps>;
13
+ export declare const D3ForceGraph: ({ classNames, model, selection: _selection, grid, ...props }: D3ForceGraphProps) => React.JSX.Element;
14
14
  //# sourceMappingURL=D3ForceGraph.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"D3ForceGraph.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/D3ForceGraph.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,KAAK,EAAE,EAA2C,MAAM,OAAO,CAAC;AAGhF,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAIL,KAAK,UAAU,EAGhB,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAuB,KAAK,eAAe,EAAuB,MAAM,cAAc,CAAC;AAE9F,OAAO,uCAAuC,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAC7C;IACE,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAC7B,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAqE9C,CAAC"}
1
+ {"version":3,"file":"D3ForceGraph.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/D3ForceGraph.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAGvE,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACtD,OAAO,EAIL,KAAK,UAAU,EAGhB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAuB,KAAK,eAAe,EAAuB,MAAM,cAAc,CAAC;AAG9F,OAAO,uCAAuC,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAC7C;IACE,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAC7B,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,8DAA8D,iBAAiB,sBAqE3G,CAAC"}
@@ -1,6 +1,15 @@
1
- import '@dxos-theme';
2
- import { type Meta } from '@storybook/react';
3
- declare const meta: Meta;
1
+ import { type StoryObj } from '@storybook/react-vite';
2
+ import React from 'react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: ({ classNames, model, selection: _selection, grid, ...props }: import("./D3ForceGraph").D3ForceGraphProps) => React.JSX.Element;
6
+ render: (args: unknown) => React.JSX.Element;
7
+ decorators: import("@storybook/react").Decorator[];
8
+ parameters: {
9
+ layout: string;
10
+ };
11
+ };
4
12
  export default meta;
5
- export declare const Default: {};
13
+ type Story = StoryObj<typeof meta>;
14
+ export declare const Default: Story;
6
15
  //# sourceMappingURL=D3ForceGraph.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"D3ForceGraph.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/D3ForceGraph.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAyC7C,QAAA,MAAM,IAAI,EAAE,IAYX,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,IAAK,CAAC"}
1
+ {"version":3,"file":"D3ForceGraph.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/D3ForceGraph.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAmB,MAAM,OAAO,CAAC;AAgDxC,QAAA,MAAM,IAAI;;;;;;;;CAuB2B,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1,6 +1,15 @@
1
- import '@dxos-theme';
2
- import { type Meta } from '@storybook/react';
3
- declare const meta: Meta;
1
+ import { type StoryObj } from '@storybook/react-vite';
2
+ import React from 'react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: React.FC<import("./ForceGraph").ForceGraphProps>;
6
+ render: (args: unknown) => React.JSX.Element;
7
+ decorators: import("@storybook/react").Decorator[];
8
+ parameters: {
9
+ layout: string;
10
+ };
11
+ };
4
12
  export default meta;
5
- export declare const Default: {};
13
+ type Story = StoryObj<typeof meta>;
14
+ export declare const Default: Story;
6
15
  //# sourceMappingURL=ForceGraph.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ForceGraph.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/ForceGraph.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAyC7C,QAAA,MAAM,IAAI,EAAE,IAYX,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,IAAK,CAAC"}
1
+ {"version":3,"file":"ForceGraph.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/ForceGraph.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAmB,MAAM,OAAO,CAAC;AAgDxC,QAAA,MAAM,IAAI;;;;;;;;CAuByB,CAAC;AAEpC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -17,7 +17,7 @@ export declare class GraphAdapter implements GraphData {
17
17
  private readonly graph;
18
18
  private readonly _nodes;
19
19
  private readonly _links;
20
- constructor(graph: Graph);
20
+ constructor(graph: Graph.Any);
21
21
  get nodes(): GraphNode[];
22
22
  get links(): GraphLink[];
23
23
  }
@@ -1 +1 @@
1
- {"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/adapter.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,qBAAa,YAAa,YAAW,SAAS;IAIhC,OAAO,CAAC,QAAQ,CAAC,KAAK;IAHlC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAC1C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;gBAEb,KAAK,EAAE,KAAK;IAezC,IAAI,KAAK,gBAER;IAED,IAAI,KAAK,gBAER;CACF"}
1
+ {"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/adapter.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACtB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,KAAK,EAAE,SAAS,EAAE,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,qBAAa,YAAa,YAAW,SAAS;IAIhC,OAAO,CAAC,QAAQ,CAAC,KAAK;IAHlC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAC1C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;gBAEb,KAAK,EAAE,KAAK,CAAC,GAAG;IAqB7C,IAAI,KAAK,gBAER;IAED,IAAI,KAAK,gBAER;CACF"}
@@ -1,5 +1,5 @@
1
1
  import { type Space } from '@dxos/client/echo';
2
- import { type ValueGenerator, type TypeSpec } from '@dxos/schema/testing';
2
+ import { type TypeSpec, type ValueGenerator } from '@dxos/schema/testing';
3
3
  export type GenerateOptions = {
4
4
  spec?: TypeSpec[];
5
5
  relations?: {
@@ -1 +1 @@
1
- {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/testing.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG/C,OAAO,EAAuB,KAAK,cAAc,EAAE,KAAK,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAW/F,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE;QACV,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH,CAAC;AAIF;;GAEG;AACH,eAAO,MAAM,QAAQ,GACnB,OAAO,KAAK,EACZ,WAAW,cAAc,EACzB,sBAAuD,eAAoB,kBAoB5E,CAAC"}
1
+ {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/testing.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAuB,MAAM,sBAAsB,CAAC;AAY/F,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,QAAQ,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE;QACV,KAAK,EAAE,MAAM,CAAC;QACd,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH,CAAC;AAOF;;GAEG;AACH,eAAO,MAAM,QAAQ,GACnB,OAAO,KAAK,EACZ,WAAW,cAAc,EACzB,sBAAuD,eAAoB,kBAoB5E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Tree.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tree/Tree.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAa/C,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;AAGvD,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,MAAM,CAAC;IAE1B,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IA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AsB,EAAE,eAIpC,CAAC;AAQF,MAAM,MAAM,kBAAkB,CAAC,CAAC,GAAG,OAAO,IAAI;IAC5C,KAAK,EAAE,KAAK,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC;CAClC,CAAC;AAGF,eAAO,MAAM,IAAI,GAAI,CAAC,EAAG,2CAAoD,kBAAkB,CAAC,CAAC,CAAC,sBA+CjG,CAAC"}
@@ -1,20 +1,17 @@
1
- import '@dxos-theme';
2
- import { type Meta } from '@storybook/react';
3
- export declare const Tidy: {
4
- args: {
5
- type: string;
1
+ import { type StoryObj } from '@storybook/react-vite';
2
+ import React from 'react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: any;
6
+ render: () => React.JSX.Element;
7
+ decorators: import("@storybook/react").Decorator[];
8
+ parameters: {
9
+ layout: string;
6
10
  };
7
11
  };
8
- export declare const Radial: {
9
- args: {
10
- type: string;
11
- };
12
- };
13
- export declare const Edge: {
14
- args: {
15
- type: string;
16
- };
17
- };
18
- declare const meta: Meta;
19
12
  export default meta;
13
+ type Story = StoryObj<typeof meta>;
14
+ export declare const Tidy: Story;
15
+ export declare const Radial: Story;
16
+ export declare const Edge: Story;
20
17
  //# sourceMappingURL=Tree.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tree.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tree/Tree.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAkC7C,eAAO,MAAM,IAAI;;;;CAIhB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;CAIlB,CAAC;AAEF,eAAO,MAAM,IAAI;;;;CAIhB,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAQX,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Tree.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tree/Tree.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAA8B,MAAM,OAAO,CAAC;AAwCnD,QAAA,MAAM,IAAI;;eAEW,GAAG;;;;;;CAMa,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAIpB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,KAIlB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/testing/generator.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,IAAI,EAAqB,MAAM,UAAU,CAAC;AAEnD,KAAK,mBAAmB,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;AAI7C;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,OAAM,mBAAmB,EAAO,EAAE,aAAa,MAAM,MAAM,KAAG,IA6BxF,CAAC"}
1
+ {"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/testing/generator.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,IAAI,EAAqB,MAAM,UAAU,CAAC;AAEnD,KAAK,mBAAmB,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;AAI7C;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,OAAM,mBAAmB,EAAO,EAAE,aAAa,MAAM,MAAM,KAAG,IA+BxF,CAAC"}
@@ -1,28 +1,30 @@
1
- import { Schema } from 'effect';
1
+ import * as Schema from 'effect/Schema';
2
2
  import { Key, Type } from '@dxos/echo';
3
3
  export declare const TreeNodeType: Schema.mutable<Schema.Struct<{
4
4
  id: import("@dxos/keys").ObjectIdClass;
5
5
  children: Schema.mutable<Schema.Array$<import("@dxos/keys").ObjectIdClass>>;
6
6
  data: Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
7
- ref: Schema.optional<Type.ref<Schema.Schema<Type.Expando, {
8
- [x: string]: any;
9
- id: string;
10
- }, never>>>;
7
+ ref: Schema.optional<import("@dxos/echo/internal").RefSchema<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
8
+ readonly [x: string]: any;
9
+ }>>;
11
10
  }>>;
12
11
  export interface TreeNodeType extends Schema.Schema.Type<typeof TreeNodeType> {
13
12
  }
14
- export declare const TreeType: Type.obj<Schema.Struct<{
15
- root: import("@dxos/keys").ObjectIdClass;
16
- nodes: Schema.mutable<Schema.Record$<import("@dxos/keys").ObjectIdClass, Schema.mutable<Schema.Struct<{
17
- id: import("@dxos/keys").ObjectIdClass;
18
- children: Schema.mutable<Schema.Array$<import("@dxos/keys").ObjectIdClass>>;
19
- data: Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
20
- ref: Schema.optional<Type.ref<Schema.Schema<Type.Expando, {
21
- [x: string]: any;
13
+ export declare const TreeType: Type.Obj<{
14
+ readonly nodes: {
15
+ [x: string]: {
16
+ ref?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
17
+ readonly [x: string]: any;
18
+ }> | undefined;
19
+ children: string[];
20
+ data: {
21
+ [x: string]: any;
22
+ };
22
23
  id: string;
23
- }, never>>>;
24
- }>>>>;
25
- }>>;
24
+ };
25
+ };
26
+ readonly root: string;
27
+ }, Schema.Struct.Fields>;
26
28
  export interface TreeType extends Schema.Schema.Type<typeof TreeType> {
27
29
  }
28
30
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/types/tree.ts"],"names":[],"mappings":"AAIA,OAAO,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5 @@ export type TreeNode = {
4
4
  label?: string;
5
5
  children?: TreeNode[];
6
6
  };
7
- export declare const mapGraphToTreeData: (model: GraphModel, maxDepth?: number) => TreeNode | undefined;
7
+ export declare const mapGraphToTreeData: (model: GraphModel.GraphModel, maxDepth?: number) => TreeNode | undefined;
8
8
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,OAAO,UAAU,EAAE,iBAAY,KAAG,QAAQ,GAAG,SA4B/E,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAE9C,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,OAAO,UAAU,CAAC,UAAU,EAAE,iBAAY,KAAG,QAAQ,GAAG,SA4B1F,CAAC"}
@@ -1,9 +1,7 @@
1
- export declare const ExplorerContainer: import("react").LazyExoticComponent<({ role, view }: {
2
- role: string;
3
- view: import("../types").ViewType;
4
- }) => import("react").JSX.Element | null>;
1
+ import { type ComponentType } from 'react';
5
2
  export * from './Chart';
6
3
  export * from './Globe';
7
4
  export * from './Graph';
8
5
  export * from './Tree';
6
+ export declare const ExplorerContainer: ComponentType<any>;
9
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB;;;yCAA4C,CAAC;AAE3E,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,OAAO,CAAC;AAEjD,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AAEvB,eAAO,MAAM,iBAAiB,EAAE,aAAa,CAAC,GAAG,CAA6C,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type Filter, type Space } from '@dxos/client/echo';
1
+ import { type Filter, type Queue, type Space } from '@dxos/client/echo';
2
2
  import { SpaceGraphModel, type SpaceGraphModelOptions } from '@dxos/schema';
3
- export declare const useGraphModel: (space: Space | undefined, filter?: Filter.Any | undefined, options?: SpaceGraphModelOptions) => SpaceGraphModel | undefined;
3
+ export declare const useGraphModel: (space: Space | undefined, filter?: Filter.Any | undefined, options?: SpaceGraphModelOptions, queue?: Queue) => SpaceGraphModel | undefined;
4
4
  //# sourceMappingURL=useGraphModel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useGraphModel.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useGraphModel.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,KAAK,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAG5E,eAAO,MAAM,aAAa,GACxB,OAAO,KAAK,GAAG,SAAS,EACxB,SAAS,MAAM,CAAC,GAAG,GAAG,SAAS,EAC/B,UAAU,sBAAsB,KAC/B,eAAe,GAAG,SAoBpB,CAAC"}
1
+ {"version":3,"file":"useGraphModel.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useGraphModel.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,KAAK,EAAE,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,KAAK,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAG5E,eAAO,MAAM,aAAa,GACxB,OAAO,KAAK,GAAG,SAAS,EACxB,SAAS,MAAM,CAAC,GAAG,GAAG,SAAS,EAC/B,UAAU,sBAAsB,EAChC,QAAQ,KAAK,KACZ,eAAe,GAAG,SAqBpB,CAAC"}
@@ -1,4 +1,3 @@
1
- import { type PluginMeta } from '@dxos/app-framework';
2
- export declare const EXPLORER_PLUGIN = "dxos.org/plugin/explorer";
3
- export declare const meta: PluginMeta;
1
+ import { type Plugin } from '@dxos/app-framework';
2
+ export declare const meta: Plugin.Meta;
4
3
  //# sourceMappingURL=meta.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtD,eAAO,MAAM,eAAe,6BAA6B,CAAC;AAE1D,eAAO,MAAM,IAAI,EAAE,UAQlB,CAAC"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAGlD,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,IAYzB,CAAC"}
@@ -1,27 +1,39 @@
1
- declare const _default: {
2
- 'en-US': {
3
- [x: string]: {
4
- 'typename label': string;
5
- 'typename label_zero': string;
6
- 'typename label_one': string;
7
- 'typename label_other': string;
8
- 'object name placeholder': string;
9
- 'plugin name'?: undefined;
10
- 'object title label'?: undefined;
1
+ export declare const translations: [{
2
+ readonly 'en-US': {
3
+ readonly [x: string]: {
4
+ readonly 'typename label': "Explorer";
5
+ readonly 'typename label_zero': "Explorers";
6
+ readonly 'typename label_one': "Explorer";
7
+ readonly 'typename label_other': "Explorers";
8
+ readonly 'object name placeholder': "New explorer";
9
+ readonly 'rename object label': "Rename explorer";
10
+ readonly 'delete object label': "Delete explorer";
11
+ readonly 'object deleted label': "Explorer deleted";
12
+ readonly 'plugin name'?: undefined;
13
+ readonly 'object title label'?: undefined;
11
14
  } | {
12
- 'plugin name': string;
13
- 'object title label': string;
14
- 'typename label'?: undefined;
15
- 'typename label_zero'?: undefined;
16
- 'typename label_one'?: undefined;
17
- 'typename label_other'?: undefined;
18
- 'object name placeholder'?: undefined;
15
+ readonly 'plugin name': "Explorer";
16
+ readonly 'object title label': "Title";
17
+ readonly 'typename label'?: undefined;
18
+ readonly 'typename label_zero'?: undefined;
19
+ readonly 'typename label_one'?: undefined;
20
+ readonly 'typename label_other'?: undefined;
21
+ readonly 'object name placeholder'?: undefined;
22
+ readonly 'rename object label'?: undefined;
23
+ readonly 'delete object label'?: undefined;
24
+ readonly 'object deleted label'?: undefined;
19
25
  };
20
- "dxos.org/plugin/explorer": {
21
- 'plugin name': string;
22
- 'object title label': string;
26
+ };
27
+ }, {
28
+ readonly 'en-US': {
29
+ readonly "@dxos/react-ui-components": {
30
+ readonly "no commits message": "No events yet";
31
+ readonly "query editor placeholder": "Enter query (e.g., \"#tag\", \"type\")";
32
+ readonly "picker select label": "Select";
33
+ readonly "picker none label": "None";
34
+ readonly "picker type placeholder": "Type";
35
+ readonly "picker tag placeholder": "Tag";
23
36
  };
24
37
  };
25
- }[];
26
- export default _default;
38
+ }];
27
39
  //# sourceMappingURL=translations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBAgBE"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBM,CAAC"}
@@ -0,0 +1,6 @@
1
+ import * as Schema from 'effect/Schema';
2
+ export declare const GraphProps: Schema.Struct<{
3
+ name: Schema.optional<typeof Schema.String>;
4
+ typename: Schema.optional<Schema.SchemaClass<string, string, never>>;
5
+ }>;
6
+ //# sourceMappingURL=ExplorerAction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExplorerAction.d.ts","sourceRoot":"","sources":["../../../../src/types/ExplorerAction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,eAAO,MAAM,UAAU;;;EAYrB,CAAC"}
@@ -0,0 +1,30 @@
1
+ import * as Schema from 'effect/Schema';
2
+ import { Obj, QueryAST, Type } from '@dxos/echo';
3
+ import { View } from '@dxos/schema';
4
+ declare const GraphSchema: Type.Obj<{
5
+ readonly view: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & View.View>;
6
+ readonly query: {
7
+ readonly ast: QueryAST.QuerySelectClause | QueryAST.QueryFilterClause | QueryAST.QueryReferenceTraversalClause | QueryAST.QueryIncomingReferencesClause | QueryAST.QueryRelationClause | QueryAST.QueryRelationTraversalClause | QueryAST.QueryHierarchyTraversalClause | QueryAST.QueryUnionClause | QueryAST.QuerySetDifferenceClause | QueryAST.QueryOrderClause | QueryAST.QueryOptionsClause | QueryAST.QueryLimitClause;
8
+ readonly raw?: string | undefined;
9
+ };
10
+ readonly name?: string | undefined;
11
+ }, Schema.Struct.Fields>;
12
+ export interface Graph extends Schema.Schema.Type<typeof GraphSchema> {
13
+ }
14
+ export declare const Graph: Type.Obj<Graph>;
15
+ type MakeProps = Omit<Partial<Obj.MakeProps<typeof Graph>>, 'view'> & {
16
+ view: View.View;
17
+ };
18
+ /**
19
+ * Make a graph as a view of a data set.
20
+ */
21
+ export declare const make: ({ name, query, view, }: MakeProps) => Graph;
22
+ export declare const GraphV1: Type.Obj<{
23
+ readonly query: {
24
+ readonly ast: QueryAST.QuerySelectClause | QueryAST.QueryFilterClause | QueryAST.QueryReferenceTraversalClause | QueryAST.QueryIncomingReferencesClause | QueryAST.QueryRelationClause | QueryAST.QueryRelationTraversalClause | QueryAST.QueryHierarchyTraversalClause | QueryAST.QueryUnionClause | QueryAST.QuerySetDifferenceClause | QueryAST.QueryOrderClause | QueryAST.QueryOptionsClause | QueryAST.QueryLimitClause;
25
+ readonly raw?: string | undefined;
26
+ };
27
+ readonly name?: string | undefined;
28
+ }, Schema.Struct.Fields>;
29
+ export {};
30
+ //# sourceMappingURL=Graph.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Graph.d.ts","sourceRoot":"","sources":["../../../../src/types/Graph.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAU,GAAG,EAAS,QAAQ,EAAO,IAAI,EAAE,MAAM,YAAY,CAAC;AAErE,OAAO,EAAE,IAAI,EAAkB,MAAM,cAAc,CAAC;AAEpD,QAAA,MAAM,WAAW;;;;;;;wBAgBhB,CAAC;AACF,MAAM,WAAW,KAAM,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC;CAAG;AACxE,eAAO,MAAM,KAAK,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,CAAsB,CAAC;AAEzD,KAAK,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,OAAO,KAAK,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG;IACpE,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,IAAI,GAAI,wBAIlB,SAAS,KAAG,KAEd,CAAC;AAMF,eAAO,MAAM,OAAO;;;;;;wBAYnB,CAAC"}