@dxos/plugin-explorer 0.8.4-main.5ea62a8 → 0.8.4-main.66e292d

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 (127) hide show
  1. package/dist/lib/browser/ExplorerContainer-NOLLVUTE.mjs +50 -0
  2. package/dist/lib/browser/ExplorerContainer-NOLLVUTE.mjs.map +7 -0
  3. package/dist/lib/browser/{chunk-3YITRGGW.mjs → chunk-6BVXZQPP.mjs} +15 -30
  4. package/dist/lib/browser/chunk-6BVXZQPP.mjs.map +7 -0
  5. package/dist/lib/browser/{chunk-VNOGW2JS.mjs → chunk-ARBGXQFH.mjs} +6 -258
  6. package/dist/lib/browser/{chunk-VNOGW2JS.mjs.map → chunk-ARBGXQFH.mjs.map} +3 -3
  7. package/dist/lib/browser/chunk-J5LGTIGS.mjs +10 -0
  8. package/dist/lib/browser/chunk-J5LGTIGS.mjs.map +7 -0
  9. package/dist/lib/browser/chunk-P6FFFVPM.mjs +100 -0
  10. package/dist/lib/browser/chunk-P6FFFVPM.mjs.map +7 -0
  11. package/dist/lib/browser/chunk-UBHZGWZQ.mjs +24 -0
  12. package/dist/lib/browser/chunk-UBHZGWZQ.mjs.map +7 -0
  13. package/dist/lib/browser/index.mjs +27 -27
  14. package/dist/lib/browser/index.mjs.map +3 -3
  15. package/dist/lib/browser/intent-resolver-EWB3H5KH.mjs +35 -0
  16. package/dist/lib/browser/intent-resolver-EWB3H5KH.mjs.map +7 -0
  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-BY2DYCTH.mjs +34 -0
  20. package/dist/lib/browser/react-surface-BY2DYCTH.mjs.map +7 -0
  21. package/dist/lib/browser/types/index.mjs +7 -6
  22. package/dist/lib/node-esm/{ExplorerContainer-OBSRVHZZ.mjs → ExplorerContainer-N3S5KSUX.mjs} +19 -6
  23. package/dist/lib/node-esm/ExplorerContainer-N3S5KSUX.mjs.map +7 -0
  24. package/dist/lib/node-esm/chunk-4BY2XZET.mjs +101 -0
  25. package/dist/lib/node-esm/chunk-4BY2XZET.mjs.map +7 -0
  26. package/dist/lib/node-esm/{chunk-GFYXDQQV.mjs → chunk-CRSVAZNA.mjs} +15 -30
  27. package/dist/lib/node-esm/chunk-CRSVAZNA.mjs.map +7 -0
  28. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs +11 -0
  29. package/dist/lib/node-esm/chunk-HSLMI22Q.mjs.map +7 -0
  30. package/dist/lib/node-esm/{chunk-ODMJ7DPA.mjs → chunk-NPIP4VEH.mjs} +6 -258
  31. package/dist/lib/node-esm/{chunk-ODMJ7DPA.mjs.map → chunk-NPIP4VEH.mjs.map} +3 -3
  32. package/dist/lib/node-esm/{chunk-PIAXA43R.mjs → chunk-UXZM5VJB.mjs} +8 -5
  33. package/dist/lib/node-esm/chunk-UXZM5VJB.mjs.map +7 -0
  34. package/dist/lib/node-esm/index.mjs +27 -27
  35. package/dist/lib/node-esm/index.mjs.map +3 -3
  36. package/dist/lib/node-esm/intent-resolver-SH6PW7VF.mjs +36 -0
  37. package/dist/lib/node-esm/intent-resolver-SH6PW7VF.mjs.map +7 -0
  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-7AAV7GBG.mjs +35 -0
  41. package/dist/lib/node-esm/react-surface-7AAV7GBG.mjs.map +7 -0
  42. package/dist/lib/node-esm/types/index.mjs +7 -6
  43. package/dist/types/src/ExplorerPlugin.d.ts +1 -1
  44. package/dist/types/src/ExplorerPlugin.d.ts.map +1 -1
  45. package/dist/types/src/capabilities/index.d.ts +1 -1
  46. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  47. package/dist/types/src/capabilities/intent-resolver.d.ts +2 -2
  48. package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
  49. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  50. package/dist/types/src/components/Chart/Chart.stories.d.ts +3 -1
  51. package/dist/types/src/components/Chart/Chart.stories.d.ts.map +1 -1
  52. package/dist/types/src/components/ExplorerContainer.d.ts +2 -2
  53. package/dist/types/src/components/ExplorerContainer.d.ts.map +1 -1
  54. package/dist/types/src/components/Globe/Globe.stories.d.ts +3 -1
  55. package/dist/types/src/components/Globe/Globe.stories.d.ts.map +1 -1
  56. package/dist/types/src/components/Graph/D3ForceGraph.d.ts +2 -2
  57. package/dist/types/src/components/Graph/D3ForceGraph.d.ts.map +1 -1
  58. package/dist/types/src/components/Graph/D3ForceGraph.stories.d.ts +5 -10
  59. package/dist/types/src/components/Graph/D3ForceGraph.stories.d.ts.map +1 -1
  60. package/dist/types/src/components/Graph/ForceGraph.stories.d.ts +4 -2
  61. package/dist/types/src/components/Graph/ForceGraph.stories.d.ts.map +1 -1
  62. package/dist/types/src/components/Graph/testing.d.ts.map +1 -1
  63. package/dist/types/src/components/Tree/Tree.stories.d.ts +0 -1
  64. package/dist/types/src/components/Tree/Tree.stories.d.ts.map +1 -1
  65. package/dist/types/src/components/Tree/types/tree.d.ts +7 -7
  66. package/dist/types/src/components/Tree/types/tree.d.ts.map +1 -1
  67. package/dist/types/src/components/index.d.ts +2 -4
  68. package/dist/types/src/components/index.d.ts.map +1 -1
  69. package/dist/types/src/meta.d.ts +0 -1
  70. package/dist/types/src/meta.d.ts.map +1 -1
  71. package/dist/types/src/translations.d.ts +25 -5
  72. package/dist/types/src/translations.d.ts.map +1 -1
  73. package/dist/types/src/types/ExplorerAction.d.ts +23 -0
  74. package/dist/types/src/types/ExplorerAction.d.ts.map +1 -0
  75. package/dist/types/src/types/Graph.d.ts +32 -0
  76. package/dist/types/src/types/Graph.d.ts.map +1 -0
  77. package/dist/types/src/types/index.d.ts +2 -2
  78. package/dist/types/src/types/index.d.ts.map +1 -1
  79. package/dist/types/tsconfig.tsbuildinfo +1 -1
  80. package/package.json +38 -36
  81. package/src/ExplorerPlugin.tsx +40 -49
  82. package/src/capabilities/intent-resolver.ts +12 -8
  83. package/src/capabilities/react-surface.tsx +8 -5
  84. package/src/components/Chart/Chart.stories.tsx +5 -4
  85. package/src/components/ExplorerContainer.tsx +22 -5
  86. package/src/components/Globe/Globe.stories.tsx +5 -4
  87. package/src/components/Graph/D3ForceGraph.stories.tsx +28 -15
  88. package/src/components/Graph/D3ForceGraph.tsx +4 -4
  89. package/src/components/Graph/ForceGraph.stories.tsx +28 -15
  90. package/src/components/Graph/ForceGraph.tsx +3 -3
  91. package/src/components/Graph/testing.ts +6 -6
  92. package/src/components/Tree/Tree.stories.tsx +2 -4
  93. package/src/components/Tree/Tree.tsx +2 -2
  94. package/src/components/Tree/types/tree.test.ts +2 -2
  95. package/src/components/Tree/types/tree.ts +1 -1
  96. package/src/components/index.ts +3 -3
  97. package/src/meta.ts +7 -4
  98. package/src/translations.ts +6 -2
  99. package/src/types/ExplorerAction.ts +37 -0
  100. package/src/types/Graph.ts +63 -0
  101. package/src/types/index.ts +2 -2
  102. package/dist/lib/browser/ExplorerContainer-7MTDS2TQ.mjs +0 -37
  103. package/dist/lib/browser/ExplorerContainer-7MTDS2TQ.mjs.map +0 -7
  104. package/dist/lib/browser/chunk-3YITRGGW.mjs.map +0 -7
  105. package/dist/lib/browser/chunk-CZZ3DDR7.mjs +0 -38
  106. package/dist/lib/browser/chunk-CZZ3DDR7.mjs.map +0 -7
  107. package/dist/lib/browser/chunk-UL5EDJPE.mjs +0 -21
  108. package/dist/lib/browser/chunk-UL5EDJPE.mjs.map +0 -7
  109. package/dist/lib/browser/intent-resolver-7MVEYNX7.mjs +0 -24
  110. package/dist/lib/browser/intent-resolver-7MVEYNX7.mjs.map +0 -7
  111. package/dist/lib/browser/react-surface-VLGQKYBI.mjs +0 -31
  112. package/dist/lib/browser/react-surface-VLGQKYBI.mjs.map +0 -7
  113. package/dist/lib/node-esm/ExplorerContainer-OBSRVHZZ.mjs.map +0 -7
  114. package/dist/lib/node-esm/chunk-4GWDNZ4Z.mjs +0 -39
  115. package/dist/lib/node-esm/chunk-4GWDNZ4Z.mjs.map +0 -7
  116. package/dist/lib/node-esm/chunk-GFYXDQQV.mjs.map +0 -7
  117. package/dist/lib/node-esm/chunk-PIAXA43R.mjs.map +0 -7
  118. package/dist/lib/node-esm/intent-resolver-NL3SR2XF.mjs +0 -25
  119. package/dist/lib/node-esm/intent-resolver-NL3SR2XF.mjs.map +0 -7
  120. package/dist/lib/node-esm/react-surface-BYJABDS5.mjs +0 -32
  121. package/dist/lib/node-esm/react-surface-BYJABDS5.mjs.map +0 -7
  122. package/dist/types/src/types/schema.d.ts +0 -12
  123. package/dist/types/src/types/schema.d.ts.map +0 -1
  124. package/dist/types/src/types/types.d.ts +0 -18
  125. package/dist/types/src/types/types.d.ts.map +0 -1
  126. package/src/types/schema.ts +0 -16
  127. package/src/types/types.ts +0 -22
@@ -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;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,GAAI,8DAA8D,iBAAiB,sBAqE3G,CAAC"}
@@ -1,18 +1,13 @@
1
- import '@dxos-theme';
2
1
  import { type StoryObj } from '@storybook/react-vite';
3
2
  import React from 'react';
4
3
  declare const meta: {
5
4
  title: string;
6
- component: React.FC<import("./D3ForceGraph").D3ForceGraphProps>;
7
- render: (args: Omit<{
8
- model?: import("@dxos/schema").SpaceGraphModel;
9
- match?: RegExp;
10
- selection?: import("@dxos/graph").SelectionModel;
11
- grid?: boolean;
12
- } & Pick<import("@dxos/react-ui-graph").GraphProps, "drag">, "className"> & {
13
- classNames?: import("@dxos/react-ui-types").ClassNameValue;
14
- }) => React.JSX.Element;
5
+ component: ({ classNames, model, selection: _selection, grid, ...props }: import("./D3ForceGraph").D3ForceGraphProps) => React.JSX.Element;
6
+ render: (args: unknown) => React.JSX.Element;
15
7
  decorators: import("@storybook/react").Decorator[];
8
+ parameters: {
9
+ layout: string;
10
+ };
16
11
  };
17
12
  export default meta;
18
13
  type Story = StoryObj<typeof meta>;
@@ -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,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAA8B,MAAM,OAAO,CAAC;AAyCnD,QAAA,MAAM,IAAI;;;;;;;;;;;;CAY2B,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,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;AA+CxC,QAAA,MAAM,IAAI;;;;;;;;CAqB2B,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -1,11 +1,13 @@
1
- import '@dxos-theme';
2
1
  import { type StoryObj } from '@storybook/react-vite';
3
2
  import React from 'react';
4
3
  declare const meta: {
5
4
  title: string;
6
5
  component: React.FC<import("./ForceGraph").ForceGraphProps>;
7
- render: (args: import("./ForceGraph").ForceGraphProps) => React.JSX.Element;
6
+ render: (args: unknown) => React.JSX.Element;
8
7
  decorators: import("@storybook/react").Decorator[];
8
+ parameters: {
9
+ layout: string;
10
+ };
9
11
  };
10
12
  export default meta;
11
13
  type Story = StoryObj<typeof meta>;
@@ -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,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAA8B,MAAM,OAAO,CAAC;AAyCnD,QAAA,MAAM,IAAI;;;;;CAYyB,CAAC;AAEpC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,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;AA+CxC,QAAA,MAAM,IAAI;;;;;;;;CAqByB,CAAC;AAEpC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -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,EAAE,KAAK,QAAQ,EAAE,KAAK,cAAc,EAAuB,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;AAIF;;GAEG;AACH,eAAO,MAAM,QAAQ,GACnB,OAAO,KAAK,EACZ,WAAW,cAAc,EACzB,sBAAuD,eAAoB,kBAoB5E,CAAC"}
@@ -1,4 +1,3 @@
1
- import '@dxos-theme';
2
1
  import { type StoryObj } from '@storybook/react-vite';
3
2
  import React from 'react';
4
3
  declare const meta: {
@@ -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,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAA8B,MAAM,OAAO,CAAC;AAuCnD,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
+ {"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;AAuCnD,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,13 +1,13 @@
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, {
7
+ ref: Schema.optional<import("@dxos/echo/internal").RefSchema<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
8
8
  [x: string]: any;
9
- id: string;
10
- }, never>>>;
9
+ id: Key.ObjectId;
10
+ }>>;
11
11
  }>>;
12
12
  export interface TreeNodeType extends Schema.Schema.Type<typeof TreeNodeType> {
13
13
  }
@@ -17,10 +17,10 @@ export declare const TreeType: Type.obj<Schema.Struct<{
17
17
  id: import("@dxos/keys").ObjectIdClass;
18
18
  children: Schema.mutable<Schema.Array$<import("@dxos/keys").ObjectIdClass>>;
19
19
  data: Schema.mutable<Schema.Record$<typeof Schema.String, typeof Schema.Any>>;
20
- ref: Schema.optional<Type.ref<Schema.Schema<Type.Expando, {
20
+ ref: Schema.optional<import("@dxos/echo/internal").RefSchema<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
21
21
  [x: string]: any;
22
- id: string;
23
- }, never>>>;
22
+ id: Key.ObjectId;
23
+ }>>;
24
24
  }>>>>;
25
25
  }>>;
26
26
  export interface TreeType extends Schema.Schema.Type<typeof TreeType> {
@@ -1 +1 @@
1
- {"version":3,"file":"tree.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tree/types/tree.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,OAAO,EAAE,GAAG,EAAO,IAAI,EAAE,MAAM,YAAY,CAAC;AAK5C,eAAO,MAAM,YAAY;;;;;;;;GAKF,CAAC;AAExB,MAAM,WAAW,YAAa,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,YAAY,CAAC;CAAG;AAEhF,eAAO,MAAM,QAAQ;;;;;;;;;;;GAQpB,CAAC;AAEF,MAAM,WAAW,QAAS,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,QAAQ,CAAC;CAAG;AAExE;;GAEG;AACH,qBAAa,IAAI;IACf,MAAM,CAAC,MAAM,QAAO,QAAQ,CAY1B;IAEF,OAAO,CAAC,KAAK,CAAW;gBAEZ,IAAI,CAAC,EAAE,QAAQ;IAI3B,IAAI,IAAI,aAEP;IAGD,IAAI,IAAI,WAEP;IAED,IAAI,IAAI,iBAEP;IAMD;;OAEG;IACH,SAAS,CAAC,CAAC,EACT,QAAQ,EAAE,CAAC,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC,GAAG,IAAI,EACzD,IAAI,GAAE,GAAG,CAAC,QAA0B,EACpC,KAAK,SAAI,GACR,CAAC,GAAG,IAAI;IAeX,OAAO,CAAC,EAAE,EAAE,GAAG,CAAC,QAAQ,GAAG,YAAY;IAMvC;;OAEG;IACH,aAAa,CAAC,IAAI,EAAE,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC;IAItD;;OAEG;IAC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AAS;IAe5E;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,YAAY,GAAG,IAAI;IAa3E;;OAEG;IACH,UAAU,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI;IAgBpC;;OAEG;IACH,YAAY,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI;CAuBvC"}
@@ -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,3 @@
1
1
  import { type PluginMeta } from '@dxos/app-framework';
2
- export declare const EXPLORER_PLUGIN = "dxos.org/plugin/explorer";
3
2
  export declare const meta: PluginMeta;
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,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGtD,eAAO,MAAM,IAAI,EAAE,UAYlB,CAAC"}
@@ -1,8 +1,6 @@
1
- import { meta } from './meta';
2
- import { ViewType } from './types';
3
1
  export declare const translations: [{
4
2
  readonly 'en-US': {
5
- readonly [ViewType.typename]: {
3
+ readonly [x: string]: {
6
4
  readonly 'typename label': "Explorer";
7
5
  readonly 'typename label_zero': "Explorers";
8
6
  readonly 'typename label_one': "Explorer";
@@ -10,10 +8,32 @@ export declare const translations: [{
10
8
  readonly 'object name placeholder': "New explorer";
11
9
  readonly 'rename object label': "Rename explorer";
12
10
  readonly 'delete object label': "Delete explorer";
13
- };
14
- readonly [meta.id]: {
11
+ readonly 'object deleted label': "Explorer deleted";
12
+ readonly 'plugin name'?: undefined;
13
+ readonly 'object title label'?: undefined;
14
+ } | {
15
15
  readonly 'plugin name': "Explorer";
16
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;
25
+ };
26
+ };
27
+ }, {
28
+ readonly 'en-US': {
29
+ readonly "react-ui-components": {
30
+ readonly "scroll-down.button": "Scroll down";
31
+ readonly "no commits message": "No events yet";
32
+ readonly "query placeholder": "Enter query (e.g., \"#tag\", \"type\")";
33
+ readonly "picker select": "Select";
34
+ readonly "picker none": "None";
35
+ readonly "picker type placeholder": "Type";
36
+ readonly "picker tag placeholder": "Tag";
17
37
  };
18
38
  };
19
39
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,QAAQ,CAAC,QAAQ,CAAC;;;;;;;;UAQlB;QACD,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;UAGR;;EAGwB,CAAC"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBM,CAAC"}
@@ -0,0 +1,23 @@
1
+ import * as Schema from 'effect/Schema';
2
+ import * as Graph from './Graph';
3
+ export declare const GraphProps: Schema.Struct<{
4
+ name: Schema.optional<typeof Schema.String>;
5
+ typename: Schema.optional<Schema.SchemaClass<string, string, never>>;
6
+ }>;
7
+ declare const CreateGraph_base: Schema.TaggedClass<CreateGraph, `${string}/create-graph`, {
8
+ readonly _tag: Schema.tag<`${string}/create-graph`>;
9
+ } & {
10
+ input: Schema.extend<Schema.Struct<{
11
+ space: Schema.Schema<import("@dxos/client-protocol").Space, import("@dxos/client-protocol").Space, never>;
12
+ }>, Schema.Struct<{
13
+ name: Schema.optional<typeof Schema.String>;
14
+ typename: Schema.optional<Schema.SchemaClass<string, string, never>>;
15
+ }>>;
16
+ output: Schema.Struct<{
17
+ object: Schema.Schema<Graph.Graph, Graph.GraphEncoded, never>;
18
+ }>;
19
+ }>;
20
+ export declare class CreateGraph extends CreateGraph_base {
21
+ }
22
+ export {};
23
+ //# 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;AAOxC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AAIjC,eAAO,MAAM,UAAU;;;EAYrB,CAAC;;;;;;;;;;;;;;AAEH,qBAAa,WAAY,SAAQ,gBAO/B;CAAG"}
@@ -0,0 +1,32 @@
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<Schema.Struct<{
5
+ name: Schema.optional<typeof Schema.String>;
6
+ view: import("@dxos/echo/internal").RefSchema<View.View>;
7
+ query: Schema.mutable<Schema.Struct<{
8
+ raw: Schema.optional<typeof Schema.String>;
9
+ ast: Schema.Schema<QueryAST.QuerySelectClause | QueryAST.QueryFilterClause | QueryAST.QueryReferenceTraversalClause | QueryAST.QueryIncomingReferencesClause | QueryAST.QueryRelationClause | QueryAST.QueryRelationTraversalClause | QueryAST.QueryUnionClause | QueryAST.QuerySetDifferenceClause | QueryAST.QueryOrderClause | QueryAST.QueryOptionsClause, QueryAST.QuerySelectClause | QueryAST.QueryFilterClause | QueryAST.QueryReferenceTraversalClause | QueryAST.QueryIncomingReferencesClause | QueryAST.QueryRelationClause | QueryAST.QueryRelationTraversalClause | QueryAST.QueryUnionClause | QueryAST.QuerySetDifferenceClause | QueryAST.QueryOrderClause | QueryAST.QueryOptionsClause, never>;
10
+ }>>;
11
+ }>>;
12
+ export interface Graph extends Schema.Schema.Type<typeof GraphSchema> {
13
+ }
14
+ export interface GraphEncoded extends Schema.Schema.Encoded<typeof GraphSchema> {
15
+ }
16
+ export declare const Graph: Schema.Schema<Graph, GraphEncoded>;
17
+ type MakeProps = Omit<Partial<Obj.MakeProps<typeof Graph>>, 'view'> & {
18
+ view: View.View;
19
+ };
20
+ /**
21
+ * Make a graph as a view of a data set.
22
+ */
23
+ export declare const make: ({ name, query, view, }: MakeProps) => Graph;
24
+ export declare const GraphV1: Type.obj<Schema.Struct<{
25
+ name: Schema.optional<typeof Schema.String>;
26
+ query: Schema.mutable<Schema.Struct<{
27
+ raw: Schema.optional<typeof Schema.String>;
28
+ ast: Schema.Schema<QueryAST.QuerySelectClause | QueryAST.QueryFilterClause | QueryAST.QueryReferenceTraversalClause | QueryAST.QueryIncomingReferencesClause | QueryAST.QueryRelationClause | QueryAST.QueryRelationTraversalClause | QueryAST.QueryUnionClause | QueryAST.QuerySetDifferenceClause | QueryAST.QueryOrderClause | QueryAST.QueryOptionsClause, QueryAST.QuerySelectClause | QueryAST.QueryFilterClause | QueryAST.QueryReferenceTraversalClause | QueryAST.QueryIncomingReferencesClause | QueryAST.QueryRelationClause | QueryAST.QueryRelationTraversalClause | QueryAST.QueryUnionClause | QueryAST.QuerySetDifferenceClause | QueryAST.QueryOrderClause | QueryAST.QueryOptionsClause, never>;
29
+ }>>;
30
+ }>>;
31
+ export {};
32
+ //# 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;;;;;;;GAgBhB,CAAC;AACF,MAAM,WAAW,KAAM,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC;CAAG;AACxE,MAAM,WAAW,YAAa,SAAQ,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC;CAAG;AAClF,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,YAAY,CAAe,CAAC;AAErE,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;;;;;;GAYnB,CAAC"}
@@ -1,3 +1,3 @@
1
- export * from './schema';
2
- export * from './types';
1
+ export * as ExplorerAction from './ExplorerAction';
2
+ export * as Graph from './Graph';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,cAAc,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC"}