@dxos/plugin-explorer 0.6.8-main.046e6cf

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 (124) hide show
  1. package/LICENSE +8 -0
  2. package/README.md +3 -0
  3. package/dist/lib/browser/ExplorerArticle-IPAJQMAX.mjs +27 -0
  4. package/dist/lib/browser/ExplorerArticle-IPAJQMAX.mjs.map +7 -0
  5. package/dist/lib/browser/ExplorerMain-3KFXOEYO.mjs +33 -0
  6. package/dist/lib/browser/ExplorerMain-3KFXOEYO.mjs.map +7 -0
  7. package/dist/lib/browser/chunk-7YEM64IQ.mjs +473 -0
  8. package/dist/lib/browser/chunk-7YEM64IQ.mjs.map +7 -0
  9. package/dist/lib/browser/chunk-JIDPF2GF.mjs +27 -0
  10. package/dist/lib/browser/chunk-JIDPF2GF.mjs.map +7 -0
  11. package/dist/lib/browser/chunk-TL6ADY3P.mjs +21 -0
  12. package/dist/lib/browser/chunk-TL6ADY3P.mjs.map +7 -0
  13. package/dist/lib/browser/index.mjs +38151 -0
  14. package/dist/lib/browser/index.mjs.map +7 -0
  15. package/dist/lib/browser/meta.json +1 -0
  16. package/dist/lib/browser/meta.mjs +9 -0
  17. package/dist/lib/browser/meta.mjs.map +7 -0
  18. package/dist/lib/browser/types/index.mjs +10 -0
  19. package/dist/lib/browser/types/index.mjs.map +7 -0
  20. package/dist/lib/node/ExplorerArticle-PYOGBY3Z.cjs +53 -0
  21. package/dist/lib/node/ExplorerArticle-PYOGBY3Z.cjs.map +7 -0
  22. package/dist/lib/node/ExplorerMain-HGCLO5O4.cjs +59 -0
  23. package/dist/lib/node/ExplorerMain-HGCLO5O4.cjs.map +7 -0
  24. package/dist/lib/node/chunk-2GOPBQBC.cjs +494 -0
  25. package/dist/lib/node/chunk-2GOPBQBC.cjs.map +7 -0
  26. package/dist/lib/node/chunk-HYXFS3AG.cjs +45 -0
  27. package/dist/lib/node/chunk-HYXFS3AG.cjs.map +7 -0
  28. package/dist/lib/node/chunk-UJZYAOD2.cjs +54 -0
  29. package/dist/lib/node/chunk-UJZYAOD2.cjs.map +7 -0
  30. package/dist/lib/node/index.cjs +38158 -0
  31. package/dist/lib/node/index.cjs.map +7 -0
  32. package/dist/lib/node/meta.cjs +30 -0
  33. package/dist/lib/node/meta.cjs.map +7 -0
  34. package/dist/lib/node/meta.json +1 -0
  35. package/dist/lib/node/types/index.cjs +32 -0
  36. package/dist/lib/node/types/index.cjs.map +7 -0
  37. package/dist/types/src/ExplorerPlugin.d.ts +4 -0
  38. package/dist/types/src/ExplorerPlugin.d.ts.map +1 -0
  39. package/dist/types/src/components/Chart/Chart.d.ts +10 -0
  40. package/dist/types/src/components/Chart/Chart.d.ts.map +1 -0
  41. package/dist/types/src/components/Chart/Chart.stories.d.ts +11 -0
  42. package/dist/types/src/components/Chart/Chart.stories.d.ts.map +1 -0
  43. package/dist/types/src/components/Chart/index.d.ts +2 -0
  44. package/dist/types/src/components/Chart/index.d.ts.map +1 -0
  45. package/dist/types/src/components/ExplorerArticle.d.ts +7 -0
  46. package/dist/types/src/components/ExplorerArticle.d.ts.map +1 -0
  47. package/dist/types/src/components/ExplorerMain.d.ts +7 -0
  48. package/dist/types/src/components/ExplorerMain.d.ts.map +1 -0
  49. package/dist/types/src/components/Globe/Globe.d.ts +12 -0
  50. package/dist/types/src/components/Globe/Globe.d.ts.map +1 -0
  51. package/dist/types/src/components/Globe/Globe.stories.d.ts +12 -0
  52. package/dist/types/src/components/Globe/Globe.stories.d.ts.map +1 -0
  53. package/dist/types/src/components/Globe/index.d.ts +2 -0
  54. package/dist/types/src/components/Globe/index.d.ts.map +1 -0
  55. package/dist/types/src/components/Graph/Graph.d.ts +8 -0
  56. package/dist/types/src/components/Graph/Graph.d.ts.map +1 -0
  57. package/dist/types/src/components/Graph/Graph.stories.d.ts +14 -0
  58. package/dist/types/src/components/Graph/Graph.stories.d.ts.map +1 -0
  59. package/dist/types/src/components/Graph/graph-model.d.ts +33 -0
  60. package/dist/types/src/components/Graph/graph-model.d.ts.map +1 -0
  61. package/dist/types/src/components/Graph/index.d.ts +3 -0
  62. package/dist/types/src/components/Graph/index.d.ts.map +1 -0
  63. package/dist/types/src/components/Tree/Tree.d.ts +27 -0
  64. package/dist/types/src/components/Tree/Tree.d.ts.map +1 -0
  65. package/dist/types/src/components/Tree/Tree.stories.d.ts +29 -0
  66. package/dist/types/src/components/Tree/Tree.stories.d.ts.map +1 -0
  67. package/dist/types/src/components/Tree/index.d.ts +2 -0
  68. package/dist/types/src/components/Tree/index.d.ts.map +1 -0
  69. package/dist/types/src/components/Tree/layout/HierarchicalEdgeBundling.d.ts +5 -0
  70. package/dist/types/src/components/Tree/layout/HierarchicalEdgeBundling.d.ts.map +1 -0
  71. package/dist/types/src/components/Tree/layout/RadialTree.d.ts +4 -0
  72. package/dist/types/src/components/Tree/layout/RadialTree.d.ts.map +1 -0
  73. package/dist/types/src/components/Tree/layout/TidyTree.d.ts +4 -0
  74. package/dist/types/src/components/Tree/layout/TidyTree.d.ts.map +1 -0
  75. package/dist/types/src/components/Tree/layout/index.d.ts +5 -0
  76. package/dist/types/src/components/Tree/layout/index.d.ts.map +1 -0
  77. package/dist/types/src/components/Tree/types.d.ts +8 -0
  78. package/dist/types/src/components/Tree/types.d.ts.map +1 -0
  79. package/dist/types/src/components/index.d.ts +12 -0
  80. package/dist/types/src/components/index.d.ts.map +1 -0
  81. package/dist/types/src/components/plot.d.ts +12 -0
  82. package/dist/types/src/components/plot.d.ts.map +1 -0
  83. package/dist/types/src/index.d.ts +5 -0
  84. package/dist/types/src/index.d.ts.map +1 -0
  85. package/dist/types/src/meta.d.ts +15 -0
  86. package/dist/types/src/meta.d.ts.map +1 -0
  87. package/dist/types/src/translations.d.ts +12 -0
  88. package/dist/types/src/translations.d.ts.map +1 -0
  89. package/dist/types/src/types/index.d.ts +3 -0
  90. package/dist/types/src/types/index.d.ts.map +1 -0
  91. package/dist/types/src/types/types.d.ts +7 -0
  92. package/dist/types/src/types/types.d.ts.map +1 -0
  93. package/dist/types/src/types/view.d.ts +14 -0
  94. package/dist/types/src/types/view.d.ts.map +1 -0
  95. package/package.json +98 -0
  96. package/src/ExplorerPlugin.tsx +103 -0
  97. package/src/components/Chart/Chart.stories.tsx +46 -0
  98. package/src/components/Chart/Chart.tsx +54 -0
  99. package/src/components/Chart/index.ts +5 -0
  100. package/src/components/ExplorerArticle.tsx +28 -0
  101. package/src/components/ExplorerMain.tsx +34 -0
  102. package/src/components/Globe/Globe.stories.tsx +115 -0
  103. package/src/components/Globe/Globe.tsx +65 -0
  104. package/src/components/Globe/index.ts +5 -0
  105. package/src/components/Graph/Graph.stories.tsx +59 -0
  106. package/src/components/Graph/Graph.tsx +151 -0
  107. package/src/components/Graph/graph-model.ts +146 -0
  108. package/src/components/Graph/index.ts +7 -0
  109. package/src/components/Tree/Tree.stories.tsx +97 -0
  110. package/src/components/Tree/Tree.tsx +109 -0
  111. package/src/components/Tree/index.ts +5 -0
  112. package/src/components/Tree/layout/HierarchicalEdgeBundling.ts +164 -0
  113. package/src/components/Tree/layout/RadialTree.ts +96 -0
  114. package/src/components/Tree/layout/TidyTree.ts +102 -0
  115. package/src/components/Tree/layout/index.ts +9 -0
  116. package/src/components/Tree/types.ts +39 -0
  117. package/src/components/index.ts +14 -0
  118. package/src/components/plot.ts +15 -0
  119. package/src/index.ts +12 -0
  120. package/src/meta.tsx +19 -0
  121. package/src/translations.ts +18 -0
  122. package/src/types/index.ts +6 -0
  123. package/src/types/types.ts +27 -0
  124. package/src/types/view.ts +11 -0
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var meta_exports = {};
20
+ __export(meta_exports, {
21
+ EXPLORER_PLUGIN: () => import_chunk_UJZYAOD2.EXPLORER_PLUGIN,
22
+ default: () => import_chunk_UJZYAOD2.meta_default
23
+ });
24
+ module.exports = __toCommonJS(meta_exports);
25
+ var import_chunk_UJZYAOD2 = require("./chunk-UJZYAOD2.cjs");
26
+ // Annotate the CommonJS export names for ESM import in node:
27
+ 0 && (module.exports = {
28
+ EXPLORER_PLUGIN
29
+ });
30
+ //# sourceMappingURL=meta.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["meta.cjs"],
4
+ "sourcesContent": ["import {\n EXPLORER_PLUGIN,\n meta_default\n} from \"./chunk-UJZYAOD2.cjs\";\nexport {\n EXPLORER_PLUGIN,\n meta_default as default\n};\n//# sourceMappingURL=meta.cjs.map\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAGO;",
6
+ "names": []
7
+ }
@@ -0,0 +1 @@
1
+ {"inputs":{"packages/plugins/experimental/plugin-explorer/src/components/plot.ts":{"bytes":1465,"imports":[],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/components/Chart/Chart.tsx":{"bytes":4935,"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/experimental/plugin-explorer/src/components/plot.ts","kind":"import-statement","original":"../plot"}],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/components/Chart/index.ts":{"bytes":527,"imports":[{"path":"packages/plugins/experimental/plugin-explorer/src/components/Chart/Chart.tsx","kind":"import-statement","original":"./Chart"}],"format":"esm"},"packages/plugins/experimental/plugin-explorer/public/countries-110m.json?json":{"bytes":421483,"imports":[]},"packages/plugins/experimental/plugin-explorer/src/components/Globe/Globe.tsx":{"bytes":7502,"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/experimental/plugin-explorer/public/countries-110m.json?json","kind":"import-statement","original":"../../../public/countries-110m.json?json"},{"path":"packages/plugins/experimental/plugin-explorer/src/components/plot.ts","kind":"import-statement","original":"../plot"}],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/components/Globe/index.ts":{"bytes":527,"imports":[{"path":"packages/plugins/experimental/plugin-explorer/src/components/Globe/Globe.tsx","kind":"import-statement","original":"./Globe"}],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/components/Graph/graph-model.ts":{"bytes":15323,"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}],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/components/Tree/layout/HierarchicalEdgeBundling.ts":{"bytes":17760,"imports":[{"path":"d3","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/components/Tree/layout/RadialTree.ts":{"bytes":8819,"imports":[{"path":"d3","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/components/Tree/layout/TidyTree.ts":{"bytes":9322,"imports":[{"path":"d3","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/components/Tree/layout/index.ts":{"bytes":1156,"imports":[{"path":"packages/plugins/experimental/plugin-explorer/src/components/Tree/layout/HierarchicalEdgeBundling.ts","kind":"import-statement","original":"./HierarchicalEdgeBundling"},{"path":"packages/plugins/experimental/plugin-explorer/src/components/Tree/layout/RadialTree.ts","kind":"import-statement","original":"./RadialTree"},{"path":"packages/plugins/experimental/plugin-explorer/src/components/Tree/layout/TidyTree.ts","kind":"import-statement","original":"./TidyTree"}],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/components/Tree/types.ts":{"bytes":3749,"imports":[],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/components/Tree/Tree.tsx":{"bytes":10029,"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":"packages/plugins/experimental/plugin-explorer/src/components/Tree/layout/index.ts","kind":"import-statement","original":"./layout"},{"path":"packages/plugins/experimental/plugin-explorer/src/components/Tree/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/experimental/plugin-explorer/src/components/Graph/index.ts","kind":"import-statement","original":"../Graph"}],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/components/Tree/index.ts":{"bytes":525,"imports":[{"path":"packages/plugins/experimental/plugin-explorer/src/components/Tree/Tree.tsx","kind":"import-statement","original":"./Tree"}],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/components/Graph/Graph.tsx":{"bytes":16586,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/gem-core","kind":"import-statement","external":true},{"path":"@dxos/gem-spore","kind":"import-statement","external":true},{"path":"@dxos/plugin-search","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/experimental/plugin-explorer/src/components/Graph/graph-model.ts","kind":"import-statement","original":"./graph-model"},{"path":"packages/plugins/experimental/plugin-explorer/src/components/Tree/index.ts","kind":"import-statement","original":"../Tree"}],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/components/Graph/index.ts":{"bytes":630,"imports":[{"path":"packages/plugins/experimental/plugin-explorer/src/components/Graph/graph-model.ts","kind":"import-statement","original":"./graph-model"},{"path":"packages/plugins/experimental/plugin-explorer/src/components/Graph/Graph.tsx","kind":"import-statement","original":"./Graph"}],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/components/ExplorerMain.tsx":{"bytes":3322,"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","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/experimental/plugin-explorer/src/components/Graph/index.ts","kind":"import-statement","original":"./Graph"}],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/components/ExplorerArticle.tsx":{"bytes":2443,"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":"packages/plugins/experimental/plugin-explorer/src/components/Graph/index.ts","kind":"import-statement","original":"./Graph"}],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/components/index.ts":{"bytes":1576,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/experimental/plugin-explorer/src/components/Chart/index.ts","kind":"import-statement","original":"./Chart"},{"path":"packages/plugins/experimental/plugin-explorer/src/components/Globe/index.ts","kind":"import-statement","original":"./Globe"},{"path":"packages/plugins/experimental/plugin-explorer/src/components/Graph/index.ts","kind":"import-statement","original":"./Graph"},{"path":"packages/plugins/experimental/plugin-explorer/src/components/Tree/index.ts","kind":"import-statement","original":"./Tree"},{"path":"packages/plugins/experimental/plugin-explorer/src/components/ExplorerMain.tsx","kind":"dynamic-import","original":"./ExplorerMain"},{"path":"packages/plugins/experimental/plugin-explorer/src/components/ExplorerArticle.tsx","kind":"dynamic-import","original":"./ExplorerArticle"}],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/meta.tsx":{"bytes":2012,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/translations.ts":{"bytes":1473,"imports":[{"path":"packages/plugins/experimental/plugin-explorer/src/meta.tsx","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/types/view.ts":{"bytes":1394,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/types/types.ts":{"bytes":1762,"imports":[{"path":"packages/plugins/experimental/plugin-explorer/src/meta.tsx","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/types/index.ts":{"bytes":596,"imports":[{"path":"packages/plugins/experimental/plugin-explorer/src/types/view.ts","kind":"import-statement","original":"./view"},{"path":"packages/plugins/experimental/plugin-explorer/src/types/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/ExplorerPlugin.tsx":{"bytes":15313,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"packages/plugins/experimental/plugin-explorer/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/experimental/plugin-explorer/src/meta.tsx","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/experimental/plugin-explorer/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/experimental/plugin-explorer/src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/experimental/plugin-explorer/src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/experimental/plugin-explorer/src/index.ts":{"bytes":1004,"imports":[{"path":"packages/plugins/experimental/plugin-explorer/src/ExplorerPlugin.tsx","kind":"import-statement","original":"./ExplorerPlugin"},{"path":"packages/plugins/experimental/plugin-explorer/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/experimental/plugin-explorer/src/ExplorerPlugin.tsx","kind":"import-statement","original":"./ExplorerPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/experimental/plugin-explorer/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":857974},"packages/plugins/experimental/plugin-explorer/dist/lib/node/index.cjs":{"imports":[{"path":"packages/plugins/experimental/plugin-explorer/dist/lib/node/chunk-HYXFS3AG.cjs","kind":"import-statement"},{"path":"packages/plugins/experimental/plugin-explorer/dist/lib/node/chunk-UJZYAOD2.cjs","kind":"import-statement"},{"path":"packages/plugins/experimental/plugin-explorer/dist/lib/node/chunk-2GOPBQBC.cjs","kind":"import-statement"},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"react","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":"@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/experimental/plugin-explorer/dist/lib/node/ExplorerMain-HGCLO5O4.cjs","kind":"dynamic-import"},{"path":"packages/plugins/experimental/plugin-explorer/dist/lib/node/ExplorerArticle-PYOGBY3Z.cjs","kind":"dynamic-import"}],"exports":["Chart","ExplorerArticle","ExplorerMain","ExplorerPlugin","Globe","Graph","SpaceGraphModel","Tree","default","defaultTreeLayoutSlots"],"entryPoint":"packages/plugins/experimental/plugin-explorer/src/index.ts","inputs":{"packages/plugins/experimental/plugin-explorer/src/ExplorerPlugin.tsx":{"bytesInOutput":3977},"packages/plugins/experimental/plugin-explorer/src/components/index.ts":{"bytesInOutput":188},"packages/plugins/experimental/plugin-explorer/src/components/Chart/Chart.tsx":{"bytesInOutput":1031},"packages/plugins/experimental/plugin-explorer/src/components/plot.ts":{"bytesInOutput":133},"packages/plugins/experimental/plugin-explorer/src/components/Chart/index.ts":{"bytesInOutput":0},"packages/plugins/experimental/plugin-explorer/src/components/Globe/Globe.tsx":{"bytesInOutput":1707},"packages/plugins/experimental/plugin-explorer/public/countries-110m.json?json":{"bytesInOutput":420420},"packages/plugins/experimental/plugin-explorer/src/components/Globe/index.ts":{"bytesInOutput":0},"packages/plugins/experimental/plugin-explorer/src/translations.ts":{"bytesInOutput":271},"packages/plugins/experimental/plugin-explorer/src/index.ts":{"bytesInOutput":34}},"bytes":429116},"packages/plugins/experimental/plugin-explorer/dist/lib/node/meta.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/experimental/plugin-explorer/dist/lib/node/meta.cjs":{"imports":[{"path":"packages/plugins/experimental/plugin-explorer/dist/lib/node/chunk-UJZYAOD2.cjs","kind":"import-statement"}],"exports":["EXPLORER_PLUGIN","default"],"entryPoint":"packages/plugins/experimental/plugin-explorer/src/meta.tsx","inputs":{},"bytes":165},"packages/plugins/experimental/plugin-explorer/dist/lib/node/types/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/experimental/plugin-explorer/dist/lib/node/types/index.cjs":{"imports":[{"path":"packages/plugins/experimental/plugin-explorer/dist/lib/node/chunk-HYXFS3AG.cjs","kind":"import-statement"},{"path":"packages/plugins/experimental/plugin-explorer/dist/lib/node/chunk-UJZYAOD2.cjs","kind":"import-statement"}],"exports":["ExplorerAction","ViewType"],"entryPoint":"packages/plugins/experimental/plugin-explorer/src/types/index.ts","inputs":{},"bytes":178},"packages/plugins/experimental/plugin-explorer/dist/lib/node/chunk-HYXFS3AG.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1523},"packages/plugins/experimental/plugin-explorer/dist/lib/node/chunk-HYXFS3AG.cjs":{"imports":[{"path":"packages/plugins/experimental/plugin-explorer/dist/lib/node/chunk-UJZYAOD2.cjs","kind":"import-statement"},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"exports":["ExplorerAction","ViewType"],"inputs":{"packages/plugins/experimental/plugin-explorer/src/types/view.ts":{"bytesInOutput":208},"packages/plugins/experimental/plugin-explorer/src/types/index.ts":{"bytesInOutput":0},"packages/plugins/experimental/plugin-explorer/src/types/types.ts":{"bytesInOutput":232}},"bytes":721},"packages/plugins/experimental/plugin-explorer/dist/lib/node/chunk-UJZYAOD2.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":983},"packages/plugins/experimental/plugin-explorer/dist/lib/node/chunk-UJZYAOD2.cjs":{"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["EXPLORER_PLUGIN","meta_default"],"inputs":{"packages/plugins/experimental/plugin-explorer/src/meta.tsx":{"bytesInOutput":448}},"bytes":601},"packages/plugins/experimental/plugin-explorer/dist/lib/node/ExplorerMain-HGCLO5O4.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1722},"packages/plugins/experimental/plugin-explorer/dist/lib/node/ExplorerMain-HGCLO5O4.cjs":{"imports":[{"path":"packages/plugins/experimental/plugin-explorer/dist/lib/node/chunk-2GOPBQBC.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","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/experimental/plugin-explorer/src/components/ExplorerMain.tsx","inputs":{"packages/plugins/experimental/plugin-explorer/src/components/ExplorerMain.tsx":{"bytesInOutput":757}},"bytes":984},"packages/plugins/experimental/plugin-explorer/dist/lib/node/ExplorerArticle-PYOGBY3Z.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1213},"packages/plugins/experimental/plugin-explorer/dist/lib/node/ExplorerArticle-PYOGBY3Z.cjs":{"imports":[{"path":"packages/plugins/experimental/plugin-explorer/dist/lib/node/chunk-2GOPBQBC.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}],"exports":["default"],"entryPoint":"packages/plugins/experimental/plugin-explorer/src/components/ExplorerArticle.tsx","inputs":{"packages/plugins/experimental/plugin-explorer/src/components/ExplorerArticle.tsx":{"bytesInOutput":522}},"bytes":758},"packages/plugins/experimental/plugin-explorer/dist/lib/node/chunk-2GOPBQBC.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":40511},"packages/plugins/experimental/plugin-explorer/dist/lib/node/chunk-2GOPBQBC.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":"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":"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":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/gem-core","kind":"import-statement","external":true},{"path":"@dxos/gem-spore","kind":"import-statement","external":true},{"path":"@dxos/plugin-search","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["Graph","SpaceGraphModel","Tree","defaultTreeLayoutSlots"],"inputs":{"packages/plugins/experimental/plugin-explorer/src/components/Graph/graph-model.ts":{"bytesInOutput":3490},"packages/plugins/experimental/plugin-explorer/src/components/Tree/Tree.tsx":{"bytesInOutput":2106},"packages/plugins/experimental/plugin-explorer/src/components/Tree/layout/HierarchicalEdgeBundling.ts":{"bytesInOutput":2144},"packages/plugins/experimental/plugin-explorer/src/components/Tree/layout/RadialTree.ts":{"bytesInOutput":1324},"packages/plugins/experimental/plugin-explorer/src/components/Tree/layout/TidyTree.ts":{"bytesInOutput":1553},"packages/plugins/experimental/plugin-explorer/src/components/Tree/types.ts":{"bytesInOutput":699},"packages/plugins/experimental/plugin-explorer/src/components/Graph/index.ts":{"bytesInOutput":0},"packages/plugins/experimental/plugin-explorer/src/components/Graph/Graph.tsx":{"bytesInOutput":4022},"packages/plugins/experimental/plugin-explorer/src/components/Tree/index.ts":{"bytesInOutput":0}},"bytes":16144}}}
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var types_exports = {};
20
+ __export(types_exports, {
21
+ ExplorerAction: () => import_chunk_HYXFS3AG.ExplorerAction,
22
+ ViewType: () => import_chunk_HYXFS3AG.ViewType
23
+ });
24
+ module.exports = __toCommonJS(types_exports);
25
+ var import_chunk_HYXFS3AG = require("../chunk-HYXFS3AG.cjs");
26
+ var import_chunk_UJZYAOD2 = require("../chunk-UJZYAOD2.cjs");
27
+ // Annotate the CommonJS export names for ESM import in node:
28
+ 0 && (module.exports = {
29
+ ExplorerAction,
30
+ ViewType
31
+ });
32
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["index.cjs"],
4
+ "sourcesContent": ["import {\n ExplorerAction,\n ViewType\n} from \"../chunk-HYXFS3AG.cjs\";\nimport \"../chunk-UJZYAOD2.cjs\";\nexport {\n ExplorerAction,\n ViewType\n};\n//# sourceMappingURL=index.cjs.map\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BAGO;AACP,4BAAO;",
6
+ "names": []
7
+ }
@@ -0,0 +1,4 @@
1
+ import { type PluginDefinition } from '@dxos/app-framework';
2
+ import { type ExplorerPluginProvides } from './types';
3
+ export declare const ExplorerPlugin: () => PluginDefinition<ExplorerPluginProvides>;
4
+ //# sourceMappingURL=ExplorerPlugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExplorerPlugin.d.ts","sourceRoot":"","sources":["../../../src/ExplorerPlugin.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAsD,KAAK,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAUhH,OAAO,EAAkB,KAAK,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtE,eAAO,MAAM,cAAc,QAAO,gBAAgB,CAAC,sBAAsB,CAmFxE,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { type DotOptions } from '@observablehq/plot';
2
+ import React from 'react';
3
+ import { type Accessor, type Point } from '../plot';
4
+ export type CharProps = {
5
+ items?: any[];
6
+ accessor?: Accessor<Point>;
7
+ options?: DotOptions;
8
+ };
9
+ export declare const Chart: ({ items, accessor, options }: CharProps) => React.JSX.Element;
10
+ //# sourceMappingURL=Chart.d.ts.map
@@ -0,0 +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,iCAAwD,SAAS,sBA6BlF,CAAC"}
@@ -0,0 +1,11 @@
1
+ import '@dxosTheme';
2
+ import * as Plot from '@observablehq/plot';
3
+ import React from 'react';
4
+ declare const _default: {
5
+ title: string;
6
+ component: typeof Plot;
7
+ decorators: import("@storybook/react/*").Decorator[];
8
+ };
9
+ export default _default;
10
+ export declare const Default: () => React.JSX.Element;
11
+ //# sourceMappingURL=Chart.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Chart.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chart/Chart.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAEpB,OAAO,KAAK,IAAI,MAAM,oBAAoB,CAAC;AAC3C,OAAO,KAA8B,MAAM,OAAO,CAAC;;;;;;AAUnD,wBAIE;AAEF,eAAO,MAAM,OAAO,yBAAoD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './Chart';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chart/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { type ViewType } from '../types';
3
+ declare const ExplorerArticle: ({ view }: {
4
+ view: ViewType;
5
+ }) => React.JSX.Element | null;
6
+ export default ExplorerArticle;
7
+ //# sourceMappingURL=ExplorerArticle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExplorerArticle.d.ts","sourceRoot":"","sources":["../../../../src/components/ExplorerArticle.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,QAAA,MAAM,eAAe,aAAc;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,6BAapD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { type ViewType } from '../types';
3
+ declare const ExplorerMain: ({ view }: {
4
+ view: ViewType;
5
+ }) => React.JSX.Element | null;
6
+ export default ExplorerMain;
7
+ //# sourceMappingURL=ExplorerMain.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExplorerMain.d.ts","sourceRoot":"","sources":["../../../../src/components/ExplorerMain.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,QAAA,MAAM,YAAY,aAAc;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,6BAYjD,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { DotOptions } from '@observablehq/plot';
2
+ import * as Plot from '@observablehq/plot';
3
+ import React from 'react';
4
+ import { type Accessor, type GeoLocation } from '../plot';
5
+ export type GlobeProps = {
6
+ items?: any[];
7
+ accessor?: Accessor<GeoLocation>;
8
+ projection?: Plot.ProjectionName;
9
+ options?: DotOptions;
10
+ };
11
+ export declare const Globe: ({ items, accessor, projection, options }: GlobeProps) => React.JSX.Element;
12
+ //# sourceMappingURL=Globe.d.ts.map
@@ -0,0 +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;AAMzC,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,6CAAqF,UAAU,sBAsChH,CAAC"}
@@ -0,0 +1,12 @@
1
+ import '@dxosTheme';
2
+ import * as Plot from '@observablehq/plot';
3
+ import React from 'react';
4
+ declare const _default: {
5
+ title: string;
6
+ component: typeof Plot;
7
+ decorators: import("@storybook/react/*").Decorator[];
8
+ };
9
+ export default _default;
10
+ export declare const Default: () => React.JSX.Element;
11
+ export declare const Extended: () => React.JSX.Element;
12
+ //# sourceMappingURL=Globe.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Globe.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Globe/Globe.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAEpB,OAAO,KAAK,IAAI,MAAM,oBAAoB,CAAC;AAE3C,OAAO,KAA8B,MAAM,OAAO,CAAC;;;;;;AAYnD,wBAIE;AAEF,eAAO,MAAM,OAAO,yBAAgE,CAAC;AA2BrF,eAAO,MAAM,QAAQ,yBAAiE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './Globe';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Globe/index.ts"],"names":[],"mappings":"AAIA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type FC } from 'react';
2
+ import { type Space } from '@dxos/client/echo';
3
+ export type GraphProps = {
4
+ space: Space;
5
+ match?: RegExp;
6
+ };
7
+ export declare const Graph: FC<GraphProps>;
8
+ //# sourceMappingURL=Graph.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Graph.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/Graph.tsx"],"names":[],"mappings":"AAIA,OAAc,EAAE,KAAK,EAAE,EAAwC,MAAM,OAAO,CAAC;AAE7E,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAuC/C,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,UAAU,CAoGhC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import '@dxosTheme';
2
+ import React from 'react';
3
+ declare const _default: {
4
+ title: string;
5
+ component: React.FC<import("./Graph").GraphProps>;
6
+ render: () => React.JSX.Element;
7
+ decorators: import("@storybook/react/*").Decorator[];
8
+ parameters: {
9
+ layout: string;
10
+ };
11
+ };
12
+ export default _default;
13
+ export declare const Default: {};
14
+ //# sourceMappingURL=Graph.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Graph.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/Graph.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAEpB,OAAO,KAA8B,MAAM,OAAO,CAAC;;;;;;;;;;AA0CnD,wBAQE;AAEF,eAAO,MAAM,OAAO,IAAK,CAAC"}
@@ -0,0 +1,33 @@
1
+ import { type S } from '@dxos/echo-schema';
2
+ import { type GraphData, GraphModel } from '@dxos/gem-spore';
3
+ import { type EchoReactiveObject, type Space } from '@dxos/react-client/echo';
4
+ export type SpaceGraphModelOptions = {
5
+ schema?: boolean;
6
+ };
7
+ export type EchoGraphNode = SchemaGraphNode | EchoObjectGraphNode;
8
+ type EchoObjectGraphNode = {
9
+ id: string;
10
+ type: 'echo-object';
11
+ object: EchoReactiveObject<any>;
12
+ };
13
+ type SchemaGraphNode = {
14
+ id: string;
15
+ type: 'schema';
16
+ schema: S.Schema<any>;
17
+ };
18
+ /**
19
+ * Converts ECHO objects to a graph.
20
+ */
21
+ export declare class SpaceGraphModel extends GraphModel<EchoGraphNode> {
22
+ private readonly _options;
23
+ private readonly _graph;
24
+ private _subscription?;
25
+ private _objects?;
26
+ constructor(_options?: SpaceGraphModelOptions);
27
+ get graph(): GraphData<EchoGraphNode>;
28
+ get objects(): EchoReactiveObject<any>[];
29
+ open(space: Space, objectId?: string): this;
30
+ close(): this;
31
+ }
32
+ export {};
33
+ //# sourceMappingURL=graph-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"graph-model.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/graph-model.ts"],"names":[],"mappings":"AAIA,OAAO,EAML,KAAK,CAAC,EAGP,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,KAAK,SAAS,EAAkB,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAG7E,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,KAAK,EAAqB,MAAM,yBAAyB,CAAC;AAEjG,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,eAAe,GAAG,mBAAmB,CAAC;AAElE,KAAK,mBAAmB,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,kBAAkB,CAAC,GAAG,CAAC,CAAC;CACjC,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,QAAQ,CAAC;IACf,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;CACvB,CAAC;AAEF;;GAEG;AACH,qBAAa,eAAgB,SAAQ,UAAU,CAAC,aAAa,CAAC;IAShD,OAAO,CAAC,QAAQ,CAAC,QAAQ;IARrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAGrB;IAEF,OAAO,CAAC,aAAa,CAAC,CAAe;IACrC,OAAO,CAAC,QAAQ,CAAC,CAA4B;gBAEhB,QAAQ,GAAE,sBAA2B;IAIlE,IAAa,KAAK,IAAI,SAAS,CAAC,aAAa,CAAC,CAE7C;IAED,IAAI,OAAO,IAAI,kBAAkB,CAAC,GAAG,CAAC,EAAE,CAEvC;IAED,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,CAAC,EAAE,MAAM;IA4EpC,KAAK;CAQN"}
@@ -0,0 +1,3 @@
1
+ export * from './graph-model';
2
+ export * from './Graph';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Graph/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAE9B,cAAc,SAAS,CAAC"}
@@ -0,0 +1,27 @@
1
+ import React from 'react';
2
+ import { type Space } from '@dxos/client/echo';
3
+ export type LayoutVariant = 'tidy' | 'radial' | 'edge';
4
+ export type TreeLayoutSlots = {
5
+ node?: string;
6
+ path?: string;
7
+ text?: string;
8
+ };
9
+ export type TreeOptions = {
10
+ label: (d: any) => string;
11
+ slots?: TreeLayoutSlots;
12
+ radius?: number;
13
+ width: number;
14
+ height: number;
15
+ margin?: number;
16
+ padding?: number;
17
+ r?: number;
18
+ };
19
+ export declare const defaultTreeLayoutSlots: TreeLayoutSlots;
20
+ export type TreeComponentProps<N = unknown> = {
21
+ space: Space;
22
+ selected?: string;
23
+ variant?: LayoutVariant;
24
+ onNodeClick?: (node?: N) => void;
25
+ };
26
+ export declare const Tree: <N>({ space, selected, variant, onNodeClick }: TreeComponentProps<N>) => React.JSX.Element;
27
+ //# sourceMappingURL=Tree.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tree.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tree/Tree.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAG5D,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAY/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;IAEhB,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,sBAAsB,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,6CAAuD,kBAAkB,CAAC,CAAC,CAAC,sBA6CjG,CAAC"}
@@ -0,0 +1,29 @@
1
+ import '@dxosTheme';
2
+ import React from 'react';
3
+ import { type TreeComponentProps } from './Tree';
4
+ declare const _default: {
5
+ title: string;
6
+ component: <N>({ space, selected, variant, onNodeClick }: TreeComponentProps<N>) => React.JSX.Element;
7
+ render: () => React.JSX.Element;
8
+ decorators: import("@storybook/react/*").Decorator[];
9
+ parameters: {
10
+ layout: string;
11
+ };
12
+ };
13
+ export default _default;
14
+ export declare const Tidy: {
15
+ args: {
16
+ type: string;
17
+ };
18
+ };
19
+ export declare const Radial: {
20
+ args: {
21
+ type: string;
22
+ };
23
+ };
24
+ export declare const Edge: {
25
+ args: {
26
+ type: string;
27
+ };
28
+ };
29
+ //# sourceMappingURL=Tree.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tree.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tree/Tree.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAEpB,OAAO,KAAuC,MAAM,OAAO,CAAC;AAU5D,OAAO,EAAQ,KAAK,kBAAkB,EAAE,MAAM,QAAQ,CAAC;;;;;;;;;;AAsDvD,wBAQE;AAEF,eAAO,MAAM,IAAI;;;;CAIhB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;CAIlB,CAAC;AAEF,eAAO,MAAM,IAAI;;;;CAIhB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './Tree';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tree/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { type TreeOptions } from '../Tree';
2
+ import { type TreeNode } from '../types';
3
+ declare const HierarchicalEdgeBundling: (s: SVGSVGElement, data: TreeNode, options: TreeOptions) => void;
4
+ export default HierarchicalEdgeBundling;
5
+ //# sourceMappingURL=HierarchicalEdgeBundling.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HierarchicalEdgeBundling.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/layout/HierarchicalEdgeBundling.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,UAAU,CAAC;AASzC,QAAA,MAAM,wBAAwB,MAAO,aAAa,QAAQ,QAAQ,WAAW,WAAW,SAwFvF,CAAC;AAyDF,eAAe,wBAAwB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type TreeOptions } from '../Tree';
2
+ declare const RadialTree: (s: SVGSVGElement, data: any, options: TreeOptions) => SVGSVGElement | null;
3
+ export default RadialTree;
4
+ //# sourceMappingURL=RadialTree.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadialTree.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/layout/RadialTree.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAK3C,QAAA,MAAM,UAAU,MAAO,aAAa,QAAQ,GAAG,WAAW,WAAW,yBAiFpE,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type TreeOptions } from '../Tree';
2
+ declare const TidyTree: (s: SVGSVGElement, data: any, options: TreeOptions) => void;
3
+ export default TidyTree;
4
+ //# sourceMappingURL=TidyTree.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TidyTree.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/layout/TidyTree.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAI3C,QAAA,MAAM,QAAQ,MAAO,aAAa,QAAQ,GAAG,WAAW,WAAW,SAwFlE,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,5 @@
1
+ import HierarchicalEdgeBundling from './HierarchicalEdgeBundling';
2
+ import RadialTree from './RadialTree';
3
+ import TidyTree from './TidyTree';
4
+ export { HierarchicalEdgeBundling, RadialTree, TidyTree };
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/layout/index.ts"],"names":[],"mappings":"AAIA,OAAO,wBAAwB,MAAM,4BAA4B,CAAC;AAClE,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAElC,OAAO,EAAE,wBAAwB,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { GraphModel } from '@dxos/gem-spore';
2
+ export type TreeNode = {
3
+ id: string;
4
+ label?: string;
5
+ children?: TreeNode[];
6
+ };
7
+ export declare const mapGraphToTreeData: <N>(model: GraphModel<N>, maxDepth?: number) => TreeNode | undefined;
8
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Tree/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,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,CAAC,SAAS,UAAU,CAAC,CAAC,CAAC,wBAAiB,QAAQ,GAAG,SA0BrF,CAAC"}
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ export declare const ExplorerMain: React.LazyExoticComponent<({ view }: {
3
+ view: import("../types").ViewType;
4
+ }) => React.JSX.Element | null>;
5
+ export declare const ExplorerArticle: React.LazyExoticComponent<({ view }: {
6
+ view: import("../types").ViewType;
7
+ }) => React.JSX.Element | null>;
8
+ export * from './Chart';
9
+ export * from './Globe';
10
+ export * from './Graph';
11
+ export * from './Tree';
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,eAAO,MAAM,YAAY;;+BAA6C,CAAC;AACvE,eAAO,MAAM,eAAe;;+BAAgD,CAAC;AAE7E,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { ChannelValueSpec } from '@observablehq/plot';
2
+ export type Point = {
3
+ x: number;
4
+ y: number;
5
+ };
6
+ export type GeoLocation = {
7
+ lat: number;
8
+ lng: number;
9
+ };
10
+ export type Accessor<T> = (object: any) => T;
11
+ export declare const createAdapter: <T extends Record<string, any>>(prop: string, accessor: Accessor<T> | undefined) => ChannelValueSpec;
12
+ //# sourceMappingURL=plot.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plot.d.ts","sourceRoot":"","sources":["../../../../src/components/plot.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,MAAM,KAAK,GAAG;IAAE,CAAC,EAAE,MAAM,CAAC;IAAC,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAC7C,MAAM,MAAM,WAAW,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvD,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC;AAE7C,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QACnD,MAAM,YACF,QAAQ,CAAC,CAAC,CAAC,GAAG,SAAS,KAChC,gBAA+G,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { ExplorerPlugin } from './ExplorerPlugin';
2
+ export default ExplorerPlugin;
3
+ export * from './components';
4
+ export * from './ExplorerPlugin';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,eAAe,cAAc,CAAC;AAG9B,cAAc,cAAc,CAAC;AAE7B,cAAc,kBAAkB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { type IconProps } from '@phosphor-icons/react';
2
+ import React from 'react';
3
+ export declare const EXPLORER_PLUGIN = "dxos.org/plugin/explorer";
4
+ declare const _default: {
5
+ id: string;
6
+ shortId?: string;
7
+ name?: string;
8
+ description?: string;
9
+ homePage?: string;
10
+ tags?: string[];
11
+ iconComponent?: React.FC<IconProps>;
12
+ iconSymbol?: string;
13
+ };
14
+ export default _default;
15
+ //# sourceMappingURL=meta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAC9D,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,eAAe,6BAA6B,CAAC;;;;;;;;;;;AAE1D,wBAOG"}
@@ -0,0 +1,12 @@
1
+ declare const _default: {
2
+ 'en-US': {
3
+ "dxos.org/plugin/explorer": {
4
+ 'plugin name': string;
5
+ 'object title label': string;
6
+ 'object title placeholder': string;
7
+ 'create object label': string;
8
+ };
9
+ };
10
+ }[];
11
+ export default _default;
12
+ //# sourceMappingURL=translations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":";;;;;;;;;;AAMA,wBAWE"}
@@ -0,0 +1,3 @@
1
+ export * from './view';
2
+ export * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { GraphBuilderProvides, IntentResolverProvides, MetadataRecordsProvides, SurfaceProvides, TranslationsProvides } from '@dxos/app-framework';
2
+ import { type SchemaProvides } from '@dxos/plugin-client';
3
+ export declare enum ExplorerAction {
4
+ CREATE = "dxos.org/plugin/explorer/action/create"
5
+ }
6
+ export type ExplorerPluginProvides = SurfaceProvides & IntentResolverProvides & GraphBuilderProvides & MetadataRecordsProvides & TranslationsProvides & SchemaProvides;
7
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/types/types.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,oBAAoB,EACpB,sBAAsB,EACtB,uBAAuB,EACvB,eAAe,EACf,oBAAoB,EACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAM1D,oBAAY,cAAc;IACxB,MAAM,2CAA8B;CACrC;AAED,MAAM,MAAM,sBAAsB,GAAG,eAAe,GAClD,sBAAsB,GACtB,oBAAoB,GACpB,uBAAuB,GACvB,oBAAoB,GACpB,cAAc,CAAC"}