@dxos/plugin-navtree 0.8.4-main.406dc2a → 0.8.4-main.52d7546f51

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 (170) hide show
  1. package/dist/lib/browser/app-graph-builder-XGA4GPGL.mjs +44 -0
  2. package/dist/lib/browser/app-graph-builder-XGA4GPGL.mjs.map +7 -0
  3. package/dist/lib/browser/chunk-63YLDLLE.mjs +1373 -0
  4. package/dist/lib/browser/chunk-63YLDLLE.mjs.map +7 -0
  5. package/dist/lib/browser/chunk-X2HDG62A.mjs +23 -0
  6. package/dist/lib/browser/chunk-X2HDG62A.mjs.map +7 -0
  7. package/dist/lib/browser/chunk-YKTYPINZ.mjs +19 -0
  8. package/dist/lib/browser/chunk-YKTYPINZ.mjs.map +7 -0
  9. package/dist/lib/browser/index.mjs +83 -91
  10. package/dist/lib/browser/index.mjs.map +4 -4
  11. package/dist/lib/browser/{keyboard-AHSAWKXA.mjs → keyboard-46XQHY2O.mjs} +21 -19
  12. package/dist/lib/browser/keyboard-46XQHY2O.mjs.map +7 -0
  13. package/dist/lib/browser/meta.json +1 -1
  14. package/dist/lib/browser/operation-resolver-NNNDII45.mjs +53 -0
  15. package/dist/lib/browser/operation-resolver-NNNDII45.mjs.map +7 -0
  16. package/dist/lib/browser/react-surface-APSEG23H.mjs +59 -0
  17. package/dist/lib/browser/react-surface-APSEG23H.mjs.map +7 -0
  18. package/dist/lib/browser/state-M5YUCIQU.mjs +121 -0
  19. package/dist/lib/browser/state-M5YUCIQU.mjs.map +7 -0
  20. package/dist/types/src/NavTreePlugin.d.ts +2 -1
  21. package/dist/types/src/NavTreePlugin.d.ts.map +1 -1
  22. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +6 -0
  23. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +1 -0
  24. package/dist/types/src/capabilities/app-graph-builder/index.d.ts +3 -0
  25. package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +1 -0
  26. package/dist/types/src/capabilities/index.d.ts +5 -108
  27. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  28. package/dist/types/src/capabilities/keyboard/index.d.ts +3 -0
  29. package/dist/types/src/capabilities/keyboard/index.d.ts.map +1 -0
  30. package/dist/types/src/capabilities/keyboard/keyboard.d.ts +5 -0
  31. package/dist/types/src/capabilities/keyboard/keyboard.d.ts.map +1 -0
  32. package/dist/types/src/capabilities/operation-resolver/index.d.ts +3 -0
  33. package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +1 -0
  34. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +5 -0
  35. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +1 -0
  36. package/dist/types/src/capabilities/react-surface/index.d.ts +3 -0
  37. package/dist/types/src/capabilities/react-surface/index.d.ts.map +1 -0
  38. package/dist/types/src/capabilities/react-surface/react-surface.d.ts +5 -0
  39. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -0
  40. package/dist/types/src/capabilities/state/index.d.ts +3 -0
  41. package/dist/types/src/capabilities/state/index.d.ts.map +1 -0
  42. package/dist/types/src/capabilities/state/state.d.ts +6 -0
  43. package/dist/types/src/capabilities/state/state.d.ts.map +1 -0
  44. package/dist/types/src/components/CommandsDialog/CommandsDialog.d.ts +3 -2
  45. package/dist/types/src/components/CommandsDialog/CommandsDialog.d.ts.map +1 -1
  46. package/dist/types/src/components/CommandsDialog/CommandsTrigger.d.ts.map +1 -1
  47. package/dist/types/src/components/NavTree/NavTree.d.ts +30 -1
  48. package/dist/types/src/components/NavTree/NavTree.d.ts.map +1 -1
  49. package/dist/types/src/components/NavTree/NavTree.stories.d.ts +4 -1
  50. package/dist/types/src/components/NavTree/NavTree.stories.d.ts.map +1 -1
  51. package/dist/types/src/components/NavTreeContainer.d.ts +8 -1
  52. package/dist/types/src/components/NavTreeContainer.d.ts.map +1 -1
  53. package/dist/types/src/components/NavTreeDocumentTitle.d.ts +1 -1
  54. package/dist/types/src/components/NavTreeDocumentTitle.d.ts.map +1 -1
  55. package/dist/types/src/components/NavTreeItem/NavTreeItemAction.d.ts +6 -6
  56. package/dist/types/src/components/NavTreeItem/NavTreeItemAction.d.ts.map +1 -1
  57. package/dist/types/src/components/NavTreeItem/NavTreeItemAction.stories.d.ts +2 -1
  58. package/dist/types/src/components/NavTreeItem/NavTreeItemAction.stories.d.ts.map +1 -1
  59. package/dist/types/src/components/Sidebar/L0Menu.d.ts +4 -4
  60. package/dist/types/src/components/Sidebar/L0Menu.d.ts.map +1 -1
  61. package/dist/types/src/components/Sidebar/L1Panel.d.ts +2 -2
  62. package/dist/types/src/components/Sidebar/L1Panel.d.ts.map +1 -1
  63. package/dist/types/src/components/Sidebar/L1Tabs.d.ts +2 -2
  64. package/dist/types/src/components/Sidebar/L1Tabs.d.ts.map +1 -1
  65. package/dist/types/src/components/index.d.ts.map +1 -1
  66. package/dist/types/src/components/types.d.ts +7 -7
  67. package/dist/types/src/components/types.d.ts.map +1 -1
  68. package/dist/types/src/experimental/Tree.stories.d.ts +15 -4
  69. package/dist/types/src/experimental/Tree.stories.d.ts.map +1 -1
  70. package/dist/types/src/hooks.d.ts +32 -1
  71. package/dist/types/src/hooks.d.ts.map +1 -1
  72. package/dist/types/src/index.d.ts +1 -2
  73. package/dist/types/src/index.d.ts.map +1 -1
  74. package/dist/types/src/meta.d.ts +2 -2
  75. package/dist/types/src/meta.d.ts.map +1 -1
  76. package/dist/types/src/testing/app-graph-builder.d.ts +2 -3
  77. package/dist/types/src/testing/app-graph-builder.d.ts.map +1 -1
  78. package/dist/types/src/testing/generator.d.ts +5 -6
  79. package/dist/types/src/testing/generator.d.ts.map +1 -1
  80. package/dist/types/src/testing/update-state.d.ts +2 -2
  81. package/dist/types/src/testing/update-state.d.ts.map +1 -1
  82. package/dist/types/src/types/capabilities.d.ts +16 -0
  83. package/dist/types/src/types/capabilities.d.ts.map +1 -0
  84. package/dist/types/src/types/events.d.ts +5 -0
  85. package/dist/types/src/types/events.d.ts.map +1 -0
  86. package/dist/types/src/types/index.d.ts +4 -0
  87. package/dist/types/src/types/index.d.ts.map +1 -0
  88. package/dist/types/src/{types.d.ts → types/schema.d.ts} +7 -7
  89. package/dist/types/src/types/schema.d.ts.map +1 -0
  90. package/dist/types/src/util.d.ts +7 -7
  91. package/dist/types/src/util.d.ts.map +1 -1
  92. package/dist/types/tsconfig.tsbuildinfo +1 -1
  93. package/package.json +54 -52
  94. package/src/NavTreePlugin.tsx +53 -72
  95. package/src/capabilities/app-graph-builder/app-graph-builder.ts +42 -0
  96. package/src/capabilities/app-graph-builder/index.ts +7 -0
  97. package/src/capabilities/index.ts +5 -9
  98. package/src/capabilities/keyboard/index.ts +7 -0
  99. package/src/capabilities/keyboard/keyboard.ts +66 -0
  100. package/src/capabilities/operation-resolver/index.ts +7 -0
  101. package/src/capabilities/operation-resolver/operation-resolver.ts +42 -0
  102. package/src/capabilities/react-surface/index.ts +7 -0
  103. package/src/capabilities/react-surface/react-surface.tsx +55 -0
  104. package/src/capabilities/state/index.ts +7 -0
  105. package/src/capabilities/state/state.ts +122 -0
  106. package/src/components/CommandsDialog/CommandsDialog.tsx +107 -97
  107. package/src/components/CommandsDialog/CommandsTrigger.tsx +4 -13
  108. package/src/components/NavTree/NavTree.stories.tsx +36 -44
  109. package/src/components/NavTree/NavTree.tsx +5 -15
  110. package/src/components/NavTreeContainer.tsx +255 -263
  111. package/src/components/NavTreeDocumentTitle.tsx +3 -2
  112. package/src/components/NavTreeItem/NavTreeItemAction.stories.tsx +17 -7
  113. package/src/components/NavTreeItem/NavTreeItemAction.tsx +18 -12
  114. package/src/components/NavTreeItem/NavTreeItemColumns.tsx +5 -5
  115. package/src/components/Sidebar/L0Menu.tsx +69 -98
  116. package/src/components/Sidebar/L1Panel.tsx +151 -72
  117. package/src/components/Sidebar/L1Tabs.tsx +6 -31
  118. package/src/components/UserAccountAvatar/UserAccountAvatar.stories.tsx +1 -1
  119. package/src/components/index.ts +1 -0
  120. package/src/components/types.ts +7 -7
  121. package/src/experimental/Tree.stories.tsx +45 -54
  122. package/src/experimental/Tree.tsx +3 -3
  123. package/src/hooks.ts +54 -2
  124. package/src/index.ts +1 -2
  125. package/src/meta.ts +7 -2
  126. package/src/testing/app-graph-builder.ts +159 -235
  127. package/src/testing/generator.ts +19 -17
  128. package/src/testing/update-state.ts +6 -6
  129. package/src/types/capabilities.ts +21 -0
  130. package/src/types/events.ts +12 -0
  131. package/src/types/index.ts +7 -0
  132. package/src/{types.ts → types/schema.ts} +6 -6
  133. package/src/util.ts +13 -16
  134. package/dist/lib/browser/app-graph-builder-YAPMENYT.mjs +0 -46
  135. package/dist/lib/browser/app-graph-builder-YAPMENYT.mjs.map +0 -7
  136. package/dist/lib/browser/chunk-IMFXKPSB.mjs +0 -1482
  137. package/dist/lib/browser/chunk-IMFXKPSB.mjs.map +0 -7
  138. package/dist/lib/browser/chunk-LPAREX6J.mjs +0 -15
  139. package/dist/lib/browser/chunk-LPAREX6J.mjs.map +0 -7
  140. package/dist/lib/browser/chunk-ZENLR72O.mjs +0 -14
  141. package/dist/lib/browser/chunk-ZENLR72O.mjs.map +0 -7
  142. package/dist/lib/browser/intent-resolver-TCQXGF6U.mjs +0 -47
  143. package/dist/lib/browser/intent-resolver-TCQXGF6U.mjs.map +0 -7
  144. package/dist/lib/browser/keyboard-AHSAWKXA.mjs.map +0 -7
  145. package/dist/lib/browser/react-surface-AH2TP73M.mjs +0 -51
  146. package/dist/lib/browser/react-surface-AH2TP73M.mjs.map +0 -7
  147. package/dist/lib/browser/state-2Q623V7U.mjs +0 -117
  148. package/dist/lib/browser/state-2Q623V7U.mjs.map +0 -7
  149. package/dist/types/src/capabilities/app-graph-builder.d.ts +0 -4
  150. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +0 -1
  151. package/dist/types/src/capabilities/capabilities.d.ts +0 -21
  152. package/dist/types/src/capabilities/capabilities.d.ts.map +0 -1
  153. package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
  154. package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
  155. package/dist/types/src/capabilities/keyboard.d.ts +0 -4
  156. package/dist/types/src/capabilities/keyboard.d.ts.map +0 -1
  157. package/dist/types/src/capabilities/react-surface.d.ts +0 -4
  158. package/dist/types/src/capabilities/react-surface.d.ts.map +0 -1
  159. package/dist/types/src/capabilities/state.d.ts +0 -20
  160. package/dist/types/src/capabilities/state.d.ts.map +0 -1
  161. package/dist/types/src/events.d.ts +0 -4
  162. package/dist/types/src/events.d.ts.map +0 -1
  163. package/dist/types/src/types.d.ts.map +0 -1
  164. package/src/capabilities/app-graph-builder.ts +0 -53
  165. package/src/capabilities/capabilities.ts +0 -20
  166. package/src/capabilities/intent-resolver.ts +0 -37
  167. package/src/capabilities/keyboard.ts +0 -59
  168. package/src/capabilities/react-surface.tsx +0 -45
  169. package/src/capabilities/state.ts +0 -105
  170. package/src/events.ts +0 -11
@@ -0,0 +1,121 @@
1
+ import {
2
+ NavTreeCapabilities
3
+ } from "./chunk-X2HDG62A.mjs";
4
+ import {
5
+ meta
6
+ } from "./chunk-YKTYPINZ.mjs";
7
+
8
+ // src/capabilities/state/state.ts
9
+ import { Atom } from "@effect-atom/atom-react";
10
+ import * as Effect from "effect/Effect";
11
+ import { Capabilities, Capability } from "@dxos/app-framework";
12
+ import { AppCapabilities } from "@dxos/app-toolkit";
13
+ import { Path } from "@dxos/react-ui-list";
14
+ var KEY = `${meta.id}/state/v1`;
15
+ var defaultItemState = {
16
+ open: false,
17
+ current: false,
18
+ alternateTree: false
19
+ };
20
+ var defaultStateEntries = [
21
+ [
22
+ "root",
23
+ {
24
+ open: true,
25
+ current: false
26
+ }
27
+ ],
28
+ [
29
+ "root~dxos.org/plugin/space-spaces",
30
+ {
31
+ open: true,
32
+ current: false
33
+ }
34
+ ],
35
+ [
36
+ "root~dxos.org/plugin/files",
37
+ {
38
+ open: true,
39
+ current: false
40
+ }
41
+ ]
42
+ ];
43
+ var getInitialState = () => {
44
+ const stringified = localStorage.getItem(KEY);
45
+ if (!stringified) {
46
+ return new Map(defaultStateEntries);
47
+ }
48
+ try {
49
+ const cached = JSON.parse(stringified);
50
+ return new Map(cached.map(([key, value]) => [
51
+ key,
52
+ {
53
+ open: value.open,
54
+ current: false
55
+ }
56
+ ]));
57
+ } catch {
58
+ return new Map(defaultStateEntries);
59
+ }
60
+ };
61
+ var state_default = Capability.makeModule(Effect.fnUntraced(function* () {
62
+ const registry = yield* Capability.get(Capabilities.AtomRegistry);
63
+ const layoutAtom = yield* Capability.get(AppCapabilities.Layout);
64
+ const backingState = getInitialState();
65
+ const itemAtomFamily = Atom.family((pathString) => Atom.make(backingState.get(pathString) ?? {
66
+ ...defaultItemState
67
+ }).pipe(Atom.keepAlive));
68
+ const getItemAtom = (path) => {
69
+ const pathString = Path.create(...path);
70
+ return itemAtomFamily(pathString);
71
+ };
72
+ const getItem = (path) => {
73
+ return registry.get(getItemAtom(path));
74
+ };
75
+ const setItem = (path, key, next) => {
76
+ const pathString = Path.create(...path);
77
+ const atom = itemAtomFamily(pathString);
78
+ const currentValue = registry.get(atom);
79
+ const newValue = {
80
+ ...currentValue,
81
+ [key]: next
82
+ };
83
+ registry.set(atom, newValue);
84
+ backingState.set(pathString, newValue);
85
+ localStorage.setItem(KEY, JSON.stringify(Array.from(backingState.entries())));
86
+ };
87
+ let previous = [];
88
+ const unsubscribe = registry.subscribe(layoutAtom, (layout) => {
89
+ const removed = previous.filter((id) => !layout.active.includes(id));
90
+ previous = layout.active;
91
+ const handleUpdate = () => {
92
+ removed.forEach((id) => {
93
+ const keys = Array.from(backingState.keys()).filter((key) => Path.last(key) === id);
94
+ keys.forEach((key) => {
95
+ setItem(Path.parts(key), "current", false);
96
+ });
97
+ });
98
+ layout.active.forEach((id) => {
99
+ const keys = Array.from(/* @__PURE__ */ new Set([
100
+ ...backingState.keys(),
101
+ id
102
+ ])).filter((key) => Path.last(key) === id);
103
+ keys.forEach((key) => {
104
+ setItem(Path.parts(key), "current", true);
105
+ });
106
+ });
107
+ };
108
+ const timeout = setTimeout(handleUpdate, 500);
109
+ handleUpdate();
110
+ return () => clearTimeout(timeout);
111
+ });
112
+ return Capability.contributes(NavTreeCapabilities.State, {
113
+ getItem,
114
+ getItemAtom,
115
+ setItem
116
+ }, () => Effect.sync(() => unsubscribe()));
117
+ }));
118
+ export {
119
+ state_default as default
120
+ };
121
+ //# sourceMappingURL=state-M5YUCIQU.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/state/state.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { Atom } from '@effect-atom/atom-react';\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { AppCapabilities } from '@dxos/app-toolkit';\nimport { Path } from '@dxos/react-ui-list';\n\nimport { meta } from '../../meta';\nimport { type NavTreeCapabilities as NC, NavTreeCapabilities } from '../../types';\n\nconst KEY = `${meta.id}/state/v1`;\n\n/** Default item state for new entries. */\nconst defaultItemState: NC.NavTreeItemState = { open: false, current: false, alternateTree: false };\n\n/** Default state entries for initial tree structure. */\n// TODO(thure): Initialize these dynamically.\nconst defaultStateEntries: [string, NC.NavTreeItemState][] = [\n ['root', { open: true, current: false }],\n ['root~dxos.org/plugin/space-spaces', { open: true, current: false }],\n ['root~dxos.org/plugin/files', { open: true, current: false }],\n];\n\nconst getInitialState = (): Map<string, NC.NavTreeItemState> => {\n const stringified = localStorage.getItem(KEY);\n if (!stringified) {\n return new Map(defaultStateEntries);\n }\n\n try {\n const cached: [string, { open: boolean; current: boolean }][] = JSON.parse(stringified);\n return new Map(cached.map(([key, value]) => [key, { open: value.open, current: false }]));\n } catch {\n return new Map(defaultStateEntries);\n }\n};\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* () {\n const registry = yield* Capability.get(Capabilities.AtomRegistry);\n const layoutAtom = yield* Capability.get(AppCapabilities.Layout);\n\n // Backing state for persistence (not reactive).\n const backingState = getInitialState();\n\n // Per-path atom family for fine-grained reactivity.\n // keepAlive prevents atoms from being garbage collected when components unmount,\n // ensuring state is preserved across deletion/restoration cycles.\n const itemAtomFamily = Atom.family((pathString: string) =>\n Atom.make<NC.NavTreeItemState>(backingState.get(pathString) ?? { ...defaultItemState }).pipe(Atom.keepAlive),\n );\n\n const getItemAtom = (path: string[]): Atom.Atom<NC.NavTreeItemState> => {\n const pathString = Path.create(...path);\n return itemAtomFamily(pathString);\n };\n\n const getItem = (path: string[]): NC.NavTreeItemState => {\n return registry.get(getItemAtom(path));\n };\n\n const setItem = (path: string[], key: 'open' | 'current' | 'alternateTree', next: boolean) => {\n const pathString = Path.create(...path);\n const atom = itemAtomFamily(pathString);\n const currentValue = registry.get(atom);\n const newValue = { ...currentValue, [key]: next };\n\n // Update the atom.\n registry.set(atom, newValue);\n\n // Update backing state and persist to localStorage.\n backingState.set(pathString, newValue);\n localStorage.setItem(KEY, JSON.stringify(Array.from(backingState.entries())));\n };\n\n // Subscribe to layout changes to update current state.\n let previous: string[] = [];\n const unsubscribe = registry.subscribe(layoutAtom, (layout) => {\n const removed = previous.filter((id) => !layout.active.includes(id));\n previous = layout.active;\n\n const handleUpdate = () => {\n // Mark removed items as not current.\n removed.forEach((id) => {\n const keys = Array.from(backingState.keys()).filter((key) => Path.last(key) === id);\n keys.forEach((key) => {\n setItem(Path.parts(key), 'current', false);\n });\n });\n\n // Mark active items as current.\n layout.active.forEach((id: string) => {\n const keys = Array.from(new Set([...backingState.keys(), id])).filter((key) => Path.last(key) === id);\n keys.forEach((key) => {\n setItem(Path.parts(key), 'current', true);\n });\n });\n };\n\n // TODO(wittjosiah): This is setTimeout because there's a race between the keys being initialized.\n // Keys are initialized on the first render of an item in the navtree.\n // This could be avoided if the location was a path as well and not just an id.\n const timeout = setTimeout(handleUpdate, 500);\n handleUpdate();\n return () => clearTimeout(timeout);\n });\n\n return Capability.contributes(\n NavTreeCapabilities.State,\n {\n getItem,\n getItemAtom,\n setItem,\n },\n () => Effect.sync(() => unsubscribe()),\n );\n }),\n);\n"],
5
+ "mappings": "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",
6
+ "names": ["Atom", "Effect", "Capabilities", "Capability", "AppCapabilities", "Path", "KEY", "meta", "id", "defaultItemState", "open", "current", "alternateTree", "defaultStateEntries", "getInitialState", "stringified", "localStorage", "getItem", "Map", "cached", "JSON", "parse", "map", "key", "value", "Capability", "makeModule", "fnUntraced", "registry", "get", "Capabilities", "AtomRegistry", "layoutAtom", "AppCapabilities", "Layout", "backingState", "itemAtomFamily", "Atom", "family", "pathString", "make", "pipe", "keepAlive", "getItemAtom", "path", "Path", "create", "setItem", "next", "atom", "currentValue", "newValue", "set", "stringify", "Array", "from", "entries", "previous", "unsubscribe", "subscribe", "layout", "removed", "filter", "active", "includes", "handleUpdate", "forEach", "keys", "last", "parts", "Set", "timeout", "setTimeout", "clearTimeout", "contributes", "NavTreeCapabilities", "State", "sync"]
7
+ }
@@ -1,2 +1,3 @@
1
- export declare const NavTreePlugin: import("@dxos/app-framework").PluginFactory<void>;
1
+ import { Plugin } from '@dxos/app-framework';
2
+ export declare const NavTreePlugin: Plugin.PluginFactory<void>;
2
3
  //# sourceMappingURL=NavTreePlugin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NavTreePlugin.d.ts","sourceRoot":"","sources":["../../../src/NavTreePlugin.tsx"],"names":[],"mappings":"AAsBA,eAAO,MAAM,aAAa,mDAuExB,CAAC"}
1
+ {"version":3,"file":"NavTreePlugin.d.ts","sourceRoot":"","sources":["../../../src/NavTreePlugin.tsx"],"names":[],"mappings":"AAMA,OAAO,EAA+D,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAW1G,eAAO,MAAM,aAAa,4BAyDzB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capability } from '@dxos/app-framework';
3
+ import { GraphBuilder } from '@dxos/plugin-graph';
4
+ declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<GraphBuilder.BuilderExtensions>>, never, never>;
5
+ export default _default;
6
+ //# sourceMappingURL=app-graph-builder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/app-graph-builder/app-graph-builder.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,OAAO,EAAE,YAAY,EAAe,MAAM,oBAAoB,CAAC;;AAI/D,wBA4BE"}
@@ -0,0 +1,3 @@
1
+ import { Capability } from '@dxos/app-framework';
2
+ export declare const AppGraphBuilder: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-graph").BuilderExtensions>>, Error>;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/app-graph-builder/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,eAAe,qIAA0E,CAAC"}
@@ -1,109 +1,6 @@
1
- export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/app-graph").BuilderExtensions>> | import("@dxos/app-framework").AnyCapability[]>>;
2
- export declare const IntentResolver: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/app-framework").Capabilities.IntentResolver>> | import("@dxos/app-framework").AnyCapability[]>>;
3
- export declare const Keyboard: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<null>> | import("@dxos/app-framework").AnyCapability[]>>;
4
- export declare const ReactSurface: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<import("@dxos/app-framework").Capabilities.ReactSurface>> | import("@dxos/app-framework").AnyCapability[]>>;
5
- export declare const State: (props?: import("@dxos/app-framework").PluginContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").InterfaceDef<{
6
- state: Map<string, import("@dxos/live-object").Live<{
7
- open: boolean;
8
- current: boolean;
9
- alternateTree?: boolean;
10
- }>>;
11
- getItem: (path: string[]) => import("@dxos/live-object").Live<{
12
- open: boolean;
13
- current: boolean;
14
- alternateTree?: boolean;
15
- }>;
16
- setItem: (path: string[], key: "open" | "current" | "alternateTree", next: boolean) => void;
17
- isOpen: (path: string[], item: Readonly<{
18
- id: string;
19
- type: string;
20
- cacheable?: string[];
21
- properties: Readonly<Partial<{
22
- testId?: string;
23
- disabled?: boolean;
24
- position?: import("@dxos/util").Position;
25
- label: import("@dxos/react-ui").Label;
26
- className?: string;
27
- headingClassName?: string;
28
- icon?: string;
29
- iconClassName?: string;
30
- } & {
31
- role?: string;
32
- error?: string;
33
- modified?: boolean;
34
- palette?: string;
35
- } & {
36
- persistenceClass: string;
37
- persistenceKey: string;
38
- acceptPersistenceClass: Set<string>;
39
- acceptPersistenceKey: Set<string>;
40
- onRearrangeChildren: (nextOrder: Readonly</*elided*/ any>[]) => import("@dxos/util").MaybePromise<void>;
41
- onCopy: (activeNode: Readonly</*elided*/ any>, index?: number) => import("@dxos/util").MaybePromise<void>;
42
- onTransferStart: (activeNode: Readonly</*elided*/ any>, index?: number) => import("@dxos/util").MaybePromise<void>;
43
- onTransferEnd: (activeNode: Readonly</*elided*/ any>, destinationParent: Readonly</*elided*/ any>) => import("@dxos/util").MaybePromise<void>;
44
- }>>;
45
- data: any;
46
- }>) => boolean;
47
- isCurrent: (path: string[], item: Readonly<{
48
- id: string;
49
- type: string;
50
- cacheable?: string[];
51
- properties: Readonly<Partial<{
52
- testId?: string;
53
- disabled?: boolean;
54
- position?: import("@dxos/util").Position;
55
- label: import("@dxos/react-ui").Label;
56
- className?: string;
57
- headingClassName?: string;
58
- icon?: string;
59
- iconClassName?: string;
60
- } & {
61
- role?: string;
62
- error?: string;
63
- modified?: boolean;
64
- palette?: string;
65
- } & {
66
- persistenceClass: string;
67
- persistenceKey: string;
68
- acceptPersistenceClass: Set<string>;
69
- acceptPersistenceKey: Set<string>;
70
- onRearrangeChildren: (nextOrder: Readonly</*elided*/ any>[]) => import("@dxos/util").MaybePromise<void>;
71
- onCopy: (activeNode: Readonly</*elided*/ any>, index?: number) => import("@dxos/util").MaybePromise<void>;
72
- onTransferStart: (activeNode: Readonly</*elided*/ any>, index?: number) => import("@dxos/util").MaybePromise<void>;
73
- onTransferEnd: (activeNode: Readonly</*elided*/ any>, destinationParent: Readonly</*elided*/ any>) => import("@dxos/util").MaybePromise<void>;
74
- }>>;
75
- data: any;
76
- }>) => boolean;
77
- isAlternateTree: (path: string[], item: Readonly<{
78
- id: string;
79
- type: string;
80
- cacheable?: string[];
81
- properties: Readonly<Partial<{
82
- testId?: string;
83
- disabled?: boolean;
84
- position?: import("@dxos/util").Position;
85
- label: import("@dxos/react-ui").Label;
86
- className?: string;
87
- headingClassName?: string;
88
- icon?: string;
89
- iconClassName?: string;
90
- } & {
91
- role?: string;
92
- error?: string;
93
- modified?: boolean;
94
- palette?: string;
95
- } & {
96
- persistenceClass: string;
97
- persistenceKey: string;
98
- acceptPersistenceClass: Set<string>;
99
- acceptPersistenceKey: Set<string>;
100
- onRearrangeChildren: (nextOrder: Readonly</*elided*/ any>[]) => import("@dxos/util").MaybePromise<void>;
101
- onCopy: (activeNode: Readonly</*elided*/ any>, index?: number) => import("@dxos/util").MaybePromise<void>;
102
- onTransferStart: (activeNode: Readonly</*elided*/ any>, index?: number) => import("@dxos/util").MaybePromise<void>;
103
- onTransferEnd: (activeNode: Readonly</*elided*/ any>, destinationParent: Readonly</*elided*/ any>) => import("@dxos/util").MaybePromise<void>;
104
- }>>;
105
- data: any;
106
- }>) => boolean;
107
- }>> | import("@dxos/app-framework").AnyCapability[]>>;
108
- export * from './capabilities';
1
+ export * from './app-graph-builder';
2
+ export * from './keyboard';
3
+ export * from './operation-resolver';
4
+ export * from './react-surface';
5
+ export * from './state';
109
6
  //# 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,eAAe,gRAA4C,CAAC;AACzE,eAAO,MAAM,cAAc,8RAA0C,CAAC;AACtE,eAAO,MAAM,QAAQ,yOAAmC,CAAC;AACzD,eAAO,MAAM,YAAY,4OAAwC,CAAC;AAClE,eAAO,MAAM,KAAK;;;;qBAAe,CAAC;;;;;qBAGgB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;gEAAqG,CAAC;yEAAgG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gEAAlG,CAAC;yEAAgG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gEAAlG,CAAC;yEAAgG,CAAC;;;;;qDAHxM,CAAC;AAEnD,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Capability } from '@dxos/app-framework';
2
+ export declare const Keyboard: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<null>>, Error>;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/keyboard/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,QAAQ,8FAA0D,CAAC"}
@@ -0,0 +1,5 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capability } from '@dxos/app-framework';
3
+ declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<null>>, Error, Capability.Service>;
4
+ export default _default;
5
+ //# sourceMappingURL=keyboard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keyboard.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/keyboard/keyboard.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;;AAS/D,wBAkDE"}
@@ -0,0 +1,3 @@
1
+ import { Capability } from '@dxos/app-framework';
2
+ export declare const OperationResolver: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").OperationResolver[]>>, Error>;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/operation-resolver/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,iBAAiB,wJAA6E,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.OperationResolver[]>>, never, never>;
4
+ export default _default;
5
+ //# sourceMappingURL=operation-resolver.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operation-resolver.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/operation-resolver/operation-resolver.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;;AAQ/D,wBA2BE"}
@@ -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;;AAO/D,wBAwCE"}
@@ -0,0 +1,3 @@
1
+ import { Capability } from '@dxos/app-framework';
2
+ export declare const State: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("../..").NavTreeCapabilities.NavTreeStateStore>>, Error>;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/state/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,eAAO,MAAM,KAAK,+IAAoD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capability } from '@dxos/app-framework';
3
+ import { type NavTreeCapabilities as NC } from '../../types';
4
+ declare const _default: (props?: void | undefined) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<NC.NavTreeStateStore>>, Error, Capability.Service>;
5
+ export default _default;
6
+ //# sourceMappingURL=state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../../src/capabilities/state/state.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAK/D,OAAO,EAAE,KAAK,mBAAmB,IAAI,EAAE,EAAuB,MAAM,aAAa,CAAC;;AA6BlF,wBAgFE"}
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
- export declare const CommandsDialogContent: ({ selected: initial }: {
2
+ export type CommandsDialogContentProps = {
3
3
  selected?: string;
4
- }) => React.JSX.Element;
4
+ };
5
+ export declare const CommandsDialogContent: React.ForwardRefExoticComponent<CommandsDialogContentProps & React.RefAttributes<HTMLDivElement>>;
5
6
  //# sourceMappingURL=CommandsDialog.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CommandsDialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/CommandsDialog/CommandsDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAoBjD,eAAO,MAAM,qBAAqB,GAAI,uBAAuB;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,sBA6FjF,CAAC"}
1
+ {"version":3,"file":"CommandsDialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/CommandsDialog/CommandsDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAe7D,MAAM,MAAM,0BAA0B,GAAG;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAGF,eAAO,MAAM,qBAAqB,mGAuGjC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CommandsTrigger.d.ts","sourceRoot":"","sources":["../../../../../src/components/CommandsDialog/CommandsTrigger.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,eAAO,MAAM,eAAe,yBAsB3B,CAAC"}
1
+ {"version":3,"file":"CommandsTrigger.d.ts","sourceRoot":"","sources":["../../../../../src/components/CommandsDialog/CommandsTrigger.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,eAAO,MAAM,eAAe,yBAY3B,CAAC"}
@@ -4,5 +4,34 @@ import { type NavTreeItemGraphNode } from '../../types';
4
4
  import { type L1TabsProps } from '../Sidebar';
5
5
  export declare const NAV_TREE_ITEM = "NavTreeItem";
6
6
  export type NavTreeProps = Pick<TreeProps<NavTreeItemGraphNode>, 'id' | 'root'> & Pick<L1TabsProps, 'open'>;
7
- export declare const NavTree: ({ id, root, ...props }: NavTreeProps) => React.JSX.Element;
7
+ export declare const NavTree: React.ForwardRefExoticComponent<Pick<TreeProps<Readonly<{
8
+ id: string;
9
+ type: string;
10
+ cacheable?: string[];
11
+ properties: Readonly<Partial<{
12
+ testId?: string;
13
+ disabled?: boolean;
14
+ position?: import("@dxos/util").Position;
15
+ label: import("@dxos/ui-types").Label;
16
+ className?: string;
17
+ headingClassName?: string;
18
+ icon?: string;
19
+ iconHue?: string;
20
+ } & {
21
+ role?: string;
22
+ error?: string;
23
+ modified?: boolean;
24
+ palette?: string;
25
+ } & {
26
+ persistenceClass: string;
27
+ persistenceKey: string;
28
+ acceptPersistenceClass: Set<string>;
29
+ acceptPersistenceKey: Set<string>;
30
+ onRearrange: (nextOrder: unknown[]) => import("@dxos/util").MaybePromise<void>;
31
+ onCopy: (activeNode: NavTreeItemGraphNode, index?: number) => import("@dxos/util").MaybePromise<void>;
32
+ onTransferStart: (activeNode: NavTreeItemGraphNode, index?: number) => import("@dxos/util").MaybePromise<void>;
33
+ onTransferEnd: (activeNode: NavTreeItemGraphNode, destinationParent: NavTreeItemGraphNode) => import("@dxos/util").MaybePromise<void>;
34
+ }>>;
35
+ data: any;
36
+ }>>, "id" | "root"> & Pick<L1TabsProps, "open"> & React.RefAttributes<HTMLDivElement>>;
8
37
  //# sourceMappingURL=NavTree.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NavTree.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTree/NavTree.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAExD,OAAO,EAAkB,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9D,eAAO,MAAM,aAAa,gBAAgB,CAAC;AAE3C,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,SAAS,CAAC,oBAAoB,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;AAE5G,eAAO,MAAM,OAAO,GAAI,wBAAwB,YAAY,sBA+C3D,CAAC"}
1
+ {"version":3,"file":"NavTree.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTree/NavTree.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAExD,OAAO,EAAkB,KAAK,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9D,eAAO,MAAM,aAAa,gBAAgB,CAAC;AAE3C,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,SAAS,CAAC,oBAAoB,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;AAE5G,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;wDAF+D,CAAC;iEAEb,CAAA;;;;sFAqCrE,CAAC"}
@@ -3,7 +3,10 @@ import React from 'react';
3
3
  import { NavTreeContainer } from '../NavTreeContainer';
4
4
  declare const meta: {
5
5
  title: string;
6
- component: React.MemoExoticComponent<({ tab, popoverAnchorId, topbar }: import("..").NavTreeContainerProps) => React.JSX.Element>;
6
+ component: React.NamedExoticComponent<{
7
+ popoverAnchorId?: string;
8
+ topbar?: boolean;
9
+ } & Pick<import("..").NavTreeContextValue, "tab"> & React.RefAttributes<HTMLDivElement>>;
7
10
  render: () => React.JSX.Element;
8
11
  decorators: import("@storybook/react").Decorator[];
9
12
  parameters: {
@@ -1 +1 @@
1
- {"version":3,"file":"NavTree.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTree/NavTree.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAkD,MAAM,OAAO,CAAC;AA6BvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AA2FvD,QAAA,MAAM,IAAI;;;;;;;;;yBAxHY,CAAQ,IAAI,CAAE,EAAC,CAAC;;;;;;;;;;;;;;CA6JG,CAAC;AAE1C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE/C,eAAO,MAAM,OAAO,EAAE,KA4CrB,CAAC"}
1
+ {"version":3,"file":"NavTree.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTree/NavTree.stories.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAkD,MAAM,OAAO,CAAC;AAmBvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AA2FvD,QAAA,MAAM,IAAI;;;;;;;;;;;;yBA/GV,CAAS,IAAG,CAAC,EAAE,CAAC;;;;;;;;;;;;;;CAqJyB,CAAC;AAE1C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE/C,eAAO,MAAM,OAAO,EAAE,KA4CrB,CAAC"}
@@ -5,5 +5,12 @@ export type NavTreeContainerProps = {
5
5
  popoverAnchorId?: string;
6
6
  topbar?: boolean;
7
7
  } & Pick<NavTreeContextValue, 'tab'>;
8
- export declare const NavTreeContainer: React.MemoExoticComponent<({ tab, popoverAnchorId, topbar }: NavTreeContainerProps) => React.JSX.Element>;
8
+ export declare const NavTreeContainer$: React.ForwardRefExoticComponent<{
9
+ popoverAnchorId?: string;
10
+ topbar?: boolean;
11
+ } & Pick<NavTreeContextValue, "tab"> & React.RefAttributes<HTMLDivElement>>;
12
+ export declare const NavTreeContainer: React.NamedExoticComponent<{
13
+ popoverAnchorId?: string;
14
+ topbar?: boolean;
15
+ } & Pick<NavTreeContextValue, "tab"> & React.RefAttributes<HTMLDivElement>>;
9
16
  //# sourceMappingURL=NavTreeContainer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NavTreeContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/NavTreeContainer.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAgD,MAAM,OAAO,CAAC;AA0BrE,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGnD,eAAO,MAAM,SAAS,wBAAwB,CAAC;AA0D/C,MAAM,MAAM,qBAAqB,GAAG;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,GAAG,IAAI,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC;AAErC,eAAO,MAAM,gBAAgB,+DAA2C,qBAAqB,uBAsP3F,CAAC"}
1
+ {"version":3,"file":"NavTreeContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/NavTreeContainer.tsx"],"names":[],"mappings":"AAMA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAoBjF,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGnD,eAAO,MAAM,SAAS,wBAAwB,CAAC;AA0D/C,MAAM,MAAM,qBAAqB,GAAG;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,GAAG,IAAI,CAAC,mBAAmB,EAAE,KAAK,CAAC,CAAC;AAErC,eAAO,MAAM,iBAAiB;sBAJV,MAAM;aACf,OAAO;2EAsPjB,CAAC;AAEF,eAAO,MAAM,gBAAgB;sBAzPT,MAAM;aACf,OAAO;2EAwPqC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { type Node } from '@dxos/app-graph';
2
2
  export declare const NavTreeDocumentTitle: ({ node }: {
3
- node?: Node;
3
+ node?: Node.Node;
4
4
  }) => null;
5
5
  //# sourceMappingURL=NavTreeDocumentTitle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NavTreeDocumentTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/NavTreeDocumentTitle.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAK5C,eAAO,MAAM,oBAAoB,GAAI,UAAU;IAAE,IAAI,CAAC,EAAE,IAAI,CAAA;CAAE,SAM7D,CAAC"}
1
+ {"version":3,"file":"NavTreeDocumentTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/NavTreeDocumentTitle.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAM5C,eAAO,MAAM,oBAAoB,GAAI,UAAU;IAAE,IAAI,CAAC,EAAE,IAAI,CAAC,IAAI,CAAA;CAAE,SAMlE,CAAC"}
@@ -1,16 +1,16 @@
1
1
  import React from 'react';
2
- import { type Action, type Node } from '@dxos/app-graph';
2
+ import { type Node } from '@dxos/app-graph';
3
3
  import { type ActionProperties } from '../../types';
4
4
  export type NavTreeItemActionMenuProps = ActionProperties & {
5
- parent: Node;
5
+ parent: Node.Node;
6
6
  caller?: string;
7
7
  monolithic?: boolean;
8
- menuActions?: Action[];
8
+ menuActions?: Node.Action[];
9
9
  };
10
10
  export declare const NavTreeItemActionDropdownMenu: ({ parent, label, icon, testId, menuActions, caller, }: NavTreeItemActionMenuProps) => React.JSX.Element;
11
- export declare const NavTreeItemMonolithicAction: ({ parent, properties: { disabled, caller, testId, icon, variant, iconOnly }, data: invoke, baseLabel, }: Action & {
12
- parent: Node;
13
- onAction?: (action: Action) => void;
11
+ export declare const NavTreeItemMonolithicAction: (props: Node.Action & {
12
+ parent: Node.Node;
13
+ onAction?: (action: Node.Action) => void;
14
14
  baseLabel: string;
15
15
  }) => React.JSX.Element;
16
16
  export declare const NavTreeItemAction: ({ monolithic, menuActions, parent: node, ...props }: NavTreeItemActionMenuProps) => React.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"NavTreeItemAction.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/NavTreeItemAction.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAMzD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,GAAG;IAC1D,MAAM,EAAE,IAAI,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB,CAAC;AAaF,eAAO,MAAM,6BAA6B,GAAI,uDAO3C,0BAA0B,sBAoB5B,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,yGAKzC,MAAM,GAAG;IAAE,MAAM,EAAE,IAAI,CAAC;IAAC,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,sBA2BnF,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,qDAAqD,0BAA0B,sBAWhH,CAAC"}
1
+ {"version":3,"file":"NavTreeItemAction.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/NavTreeItemAction.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAO5C,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,GAAG;IAC1D,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC;CAC7B,CAAC;AAaF,eAAO,MAAM,6BAA6B,GAAI,uDAO3C,0BAA0B,sBAsB5B,CAAC;AAEF,eAAO,MAAM,2BAA2B,GACtC,OAAO,IAAI,CAAC,MAAM,GAAG;IAAE,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC;IAAC,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,KAAK,IAAI,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,sBAkCxG,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,qDAAqD,0BAA0B,sBAWhH,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { type StoryObj } from '@storybook/react-vite';
2
+ import * as Effect from 'effect/Effect';
2
3
  import { type NavTreeItemActionMenuProps } from './NavTreeItemAction';
3
4
  declare const meta: {
4
5
  title: string;
@@ -17,7 +18,7 @@ declare const meta: {
17
18
  menuActions: {
18
19
  id: string;
19
20
  type: string;
20
- data: () => void;
21
+ data: () => Effect.Effect<void, never, never>;
21
22
  properties: {
22
23
  label: string;
23
24
  icon: string;
@@ -1 +1 @@
1
- {"version":3,"file":"NavTreeItemAction.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/NavTreeItemAction.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAMjE,OAAO,EAAqB,KAAK,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AA6BzF,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAagC,CAAC;AAE3C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
1
+ {"version":3,"file":"NavTreeItemAction.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/NavTreeItem/NavTreeItemAction.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AASxC,OAAO,EAAqB,KAAK,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AA8BzF,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkBgC,CAAC;AAE3C,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
@@ -5,10 +5,10 @@ import { type MenuItem } from '@dxos/react-ui-menu';
5
5
  export declare const L0ItemActiveTabIndicator: ({ classNames }: ThemedClassName<{}>) => React.JSX.Element;
6
6
  export type L0MenuProps = {
7
7
  menuActions: MenuItem[];
8
- topLevelItems: Node<any>[];
9
- pinnedItems: Node<any>[];
10
- userAccountItem?: Node<any>;
11
- parent?: Node<any>;
8
+ topLevelItems: Node.Node[];
9
+ pinnedItems: Node.Node[];
10
+ userAccountItem?: Node.Node;
11
+ parent?: Node.Node;
12
12
  path: string[];
13
13
  };
14
14
  export declare const L0Menu: ({ menuActions, topLevelItems, pinnedItems, userAccountItem, parent, path }: L0MenuProps) => React.JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"L0Menu.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/L0Menu.tsx"],"names":[],"mappings":"AAaA,OAAO,KASN,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EAIL,KAAK,eAAe,EAKrB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAgB,KAAK,QAAQ,EAAgB,MAAM,qBAAqB,CAAC;AAwGhF,eAAO,MAAM,wBAAwB,GAAI,gBAAgB,eAAe,CAAC,EAAE,CAAC,sBAQ3E,CAAC;AAgKF,MAAM,MAAM,WAAW,GAAG;IACxB,WAAW,EAAE,QAAQ,EAAE,CAAC;IACxB,aAAa,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;IAC3B,WAAW,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;IACzB,eAAe,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IAC5B,MAAM,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IACnB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,4EAA4E,WAAW,sBA4F7G,CAAC"}
1
+ {"version":3,"file":"L0Menu.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/L0Menu.tsx"],"names":[],"mappings":"AAaA,OAAO,KASN,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAG5C,OAAO,EAIL,KAAK,eAAe,EAKrB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAgB,KAAK,QAAQ,EAAgB,MAAM,qBAAqB,CAAC;AAoGhF,eAAO,MAAM,wBAAwB,GAAI,gBAAgB,eAAe,CAAC,EAAE,CAAC,sBAQ3E,CAAC;AAgHF,MAAM,MAAM,WAAW,GAAG;IACxB,WAAW,EAAE,QAAQ,EAAE,CAAC;IACxB,aAAa,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;IAC3B,WAAW,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;IACzB,eAAe,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC;IAC5B,MAAM,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC;IACnB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,4EAA4E,WAAW,sBAmH7G,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- import { type Node } from '@dxos/app-graph';
2
+ import { Node } from '@dxos/app-graph';
3
3
  export type L1PanelProps = {
4
4
  open?: boolean;
5
5
  path: string[];
6
- item: Node<any>;
6
+ item: Node.Node;
7
7
  currentItemId: string;
8
8
  onBack?: () => void;
9
9
  };
@@ -1 +1 @@
1
- {"version":3,"file":"L1Panel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/L1Panel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAU5C,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,GAAI,6CAA6C,YAAY,sBAgEhF,CAAC"}
1
+ {"version":3,"file":"L1Panel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Sidebar/L1Panel.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAcvC,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,OAAO,GAAI,6CAA6C,YAAY,sBAkEhF,CAAC"}
@@ -3,10 +3,10 @@ import { type Node } from '@dxos/app-graph';
3
3
  import { type L1PanelProps } from './L1Panel';
4
4
  export type L1TabsProps = Pick<L1PanelProps, 'open' | 'currentItemId' | 'onBack'> & {
5
5
  path: string[];
6
- topLevelItems: Node<any>[];
6
+ topLevelItems: Node.Node[];
7
7
  };
8
8
  /**
9
- * Each space is an L1 tab.
9
+ * Each workspace is an L1 tab.
10
10
  */
11
11
  export declare const L1Tabs: ({ topLevelItems, onBack, ...props }: L1TabsProps) => React.JSX.Element;
12
12
  //# sourceMappingURL=L1Tabs.d.ts.map