@dxos/plugin-deck 0.7.5-main.9d2a38b → 0.7.5-main.b19bfc8

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 (233) hide show
  1. package/dist/lib/browser/{app-graph-builder-67VRUD5K.mjs → app-graph-builder-IYHAGFA3.mjs} +61 -31
  2. package/dist/lib/browser/app-graph-builder-IYHAGFA3.mjs.map +7 -0
  3. package/dist/lib/browser/{check-app-scheme-GEX6W2R5.mjs → check-app-scheme-S3EYUPMF.mjs} +3 -3
  4. package/dist/lib/browser/{check-app-scheme-GEX6W2R5.mjs.map → check-app-scheme-S3EYUPMF.mjs.map} +2 -2
  5. package/dist/lib/browser/{chunk-5VFDMW5M.mjs → chunk-22AQ5IVX.mjs} +2 -2
  6. package/dist/lib/browser/chunk-22AQ5IVX.mjs.map +7 -0
  7. package/dist/lib/browser/chunk-CYE6QZBQ.mjs +128 -0
  8. package/dist/lib/browser/chunk-CYE6QZBQ.mjs.map +7 -0
  9. package/dist/lib/browser/chunk-DIM5INBX.mjs +24 -0
  10. package/dist/lib/browser/chunk-DIM5INBX.mjs.map +7 -0
  11. package/dist/lib/browser/chunk-DIXE74SK.mjs +1097 -0
  12. package/dist/lib/browser/chunk-DIXE74SK.mjs.map +7 -0
  13. package/dist/lib/browser/chunk-KANJBSIX.mjs +97 -0
  14. package/dist/lib/browser/chunk-KANJBSIX.mjs.map +7 -0
  15. package/dist/lib/browser/{chunk-JQJ5UWVB.mjs → chunk-N7TEPFVR.mjs} +3 -2
  16. package/dist/lib/browser/{chunk-JQJ5UWVB.mjs.map → chunk-N7TEPFVR.mjs.map} +3 -3
  17. package/dist/lib/browser/index.mjs +45 -78
  18. package/dist/lib/browser/index.mjs.map +4 -4
  19. package/dist/lib/browser/intent-resolver-MWUADUNI.mjs +488 -0
  20. package/dist/lib/browser/intent-resolver-MWUADUNI.mjs.map +7 -0
  21. package/dist/lib/browser/meta.json +1 -1
  22. package/dist/lib/browser/{react-root-UL7ZDRVZ.mjs → react-root-IELFERPV.mjs} +12 -17
  23. package/dist/lib/browser/react-root-IELFERPV.mjs.map +7 -0
  24. package/dist/lib/browser/react-surface-WL45R43W.mjs +39 -0
  25. package/dist/lib/browser/react-surface-WL45R43W.mjs.map +7 -0
  26. package/dist/lib/browser/{settings-FNWW6WIJ.mjs → settings-YONG3QB7.mjs} +6 -7
  27. package/dist/lib/browser/settings-YONG3QB7.mjs.map +7 -0
  28. package/dist/lib/browser/state-MZZL5S2D.mjs +124 -0
  29. package/dist/lib/browser/state-MZZL5S2D.mjs.map +7 -0
  30. package/dist/lib/browser/tools-5LDJNU56.mjs +51 -0
  31. package/dist/lib/browser/tools-5LDJNU56.mjs.map +7 -0
  32. package/dist/lib/browser/types.mjs +16 -4
  33. package/dist/lib/browser/url-handler-MVHTKUYA.mjs +72 -0
  34. package/dist/lib/browser/url-handler-MVHTKUYA.mjs.map +7 -0
  35. package/dist/types/src/DeckPlugin.d.ts.map +1 -1
  36. package/dist/types/src/capabilities/app-graph-builder.d.ts +181 -0
  37. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -0
  38. package/dist/types/src/capabilities/capabilities.d.ts +137 -8
  39. package/dist/types/src/capabilities/capabilities.d.ts.map +1 -1
  40. package/dist/types/src/capabilities/check-app-scheme.d.ts.map +1 -0
  41. package/dist/types/src/capabilities/index.d.ts +188 -3
  42. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  43. package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -0
  44. package/dist/types/src/capabilities/react-root.d.ts.map +1 -0
  45. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
  46. package/dist/types/src/capabilities/settings.d.ts.map +1 -0
  47. package/dist/types/src/capabilities/state.d.ts +79 -0
  48. package/dist/types/src/capabilities/state.d.ts.map +1 -0
  49. package/dist/types/src/capabilities/tools.d.ts +10 -0
  50. package/dist/types/src/capabilities/tools.d.ts.map +1 -0
  51. package/dist/types/src/capabilities/url-handler.d.ts.map +1 -0
  52. package/dist/types/src/components/DeckLayout/ActiveNode.d.ts +1 -2
  53. package/dist/types/src/components/DeckLayout/ActiveNode.d.ts.map +1 -1
  54. package/dist/types/src/components/DeckLayout/Banner.d.ts +1 -2
  55. package/dist/types/src/components/DeckLayout/Banner.d.ts.map +1 -1
  56. package/dist/types/src/components/DeckLayout/ComplementarySidebar.d.ts +1 -4
  57. package/dist/types/src/components/DeckLayout/ComplementarySidebar.d.ts.map +1 -1
  58. package/dist/types/src/components/DeckLayout/ContentEmpty.d.ts +1 -2
  59. package/dist/types/src/components/DeckLayout/ContentEmpty.d.ts.map +1 -1
  60. package/dist/types/src/components/DeckLayout/DeckLayout.d.ts +2 -7
  61. package/dist/types/src/components/DeckLayout/DeckLayout.d.ts.map +1 -1
  62. package/dist/types/src/components/DeckLayout/Fallback.d.ts +1 -2
  63. package/dist/types/src/components/DeckLayout/Fallback.d.ts.map +1 -1
  64. package/dist/types/src/components/DeckLayout/Fullscreen.d.ts +1 -2
  65. package/dist/types/src/components/DeckLayout/Fullscreen.d.ts.map +1 -1
  66. package/dist/types/src/components/DeckLayout/NodePlankHeading.d.ts +3 -3
  67. package/dist/types/src/components/DeckLayout/NodePlankHeading.d.ts.map +1 -1
  68. package/dist/types/src/components/DeckLayout/Plank.d.ts +8 -6
  69. package/dist/types/src/components/DeckLayout/Plank.d.ts.map +1 -1
  70. package/dist/types/src/components/DeckLayout/PlankControls.d.ts +2 -2
  71. package/dist/types/src/components/DeckLayout/PlankControls.d.ts.map +1 -1
  72. package/dist/types/src/components/DeckLayout/PlankError.d.ts +6 -6
  73. package/dist/types/src/components/DeckLayout/PlankError.d.ts.map +1 -1
  74. package/dist/types/src/components/DeckLayout/PlankLoading.d.ts +1 -2
  75. package/dist/types/src/components/DeckLayout/PlankLoading.d.ts.map +1 -1
  76. package/dist/types/src/components/DeckLayout/Sidebar.d.ts +1 -2
  77. package/dist/types/src/components/DeckLayout/Sidebar.d.ts.map +1 -1
  78. package/dist/types/src/components/DeckLayout/SidebarButton.d.ts +6 -5
  79. package/dist/types/src/components/DeckLayout/SidebarButton.d.ts.map +1 -1
  80. package/dist/types/src/components/DeckLayout/StatusBar.d.ts +1 -2
  81. package/dist/types/src/components/DeckLayout/StatusBar.d.ts.map +1 -1
  82. package/dist/types/src/components/DeckLayout/Toast.d.ts +2 -3
  83. package/dist/types/src/components/DeckLayout/Toast.d.ts.map +1 -1
  84. package/dist/types/src/components/DeckLayout/Topbar.d.ts +1 -2
  85. package/dist/types/src/components/DeckLayout/Topbar.d.ts.map +1 -1
  86. package/dist/types/src/components/LayoutSettings.d.ts +1 -2
  87. package/dist/types/src/components/LayoutSettings.d.ts.map +1 -1
  88. package/dist/types/src/components/fragments.d.ts +2 -0
  89. package/dist/types/src/components/fragments.d.ts.map +1 -1
  90. package/dist/types/src/components/index.d.ts +0 -2
  91. package/dist/types/src/components/index.d.ts.map +1 -1
  92. package/dist/types/src/events.d.ts +1 -0
  93. package/dist/types/src/events.d.ts.map +1 -1
  94. package/dist/types/src/hooks/useMainSize.d.ts +2 -2
  95. package/dist/types/src/hooks/useNode.d.ts.map +1 -1
  96. package/dist/types/src/layout.d.ts +5 -19
  97. package/dist/types/src/layout.d.ts.map +1 -1
  98. package/dist/types/src/meta.d.ts +1 -0
  99. package/dist/types/src/meta.d.ts.map +1 -1
  100. package/dist/types/src/translations.d.ts +3 -3
  101. package/dist/types/src/types.d.ts +111 -2
  102. package/dist/types/src/types.d.ts.map +1 -1
  103. package/dist/types/src/util/index.d.ts +3 -1
  104. package/dist/types/src/util/index.d.ts.map +1 -1
  105. package/dist/types/src/util/layoutAppliesTopbar.d.ts +2 -0
  106. package/dist/types/src/util/layoutAppliesTopbar.d.ts.map +1 -0
  107. package/dist/types/src/util/set-active.d.ts +9 -0
  108. package/dist/types/src/util/set-active.d.ts.map +1 -0
  109. package/dist/types/src/util/useHoistStatusbar.d.ts.map +1 -1
  110. package/package.json +32 -31
  111. package/src/DeckPlugin.ts +23 -59
  112. package/src/capabilities/{layout/app-graph-builder.ts → app-graph-builder.ts} +40 -28
  113. package/src/capabilities/capabilities.ts +5 -7
  114. package/src/capabilities/{navigation/check-app-scheme.ts → check-app-scheme.ts} +2 -2
  115. package/src/capabilities/index.ts +12 -3
  116. package/src/capabilities/intent-resolver.ts +368 -0
  117. package/src/capabilities/{layout/react-root.tsx → react-root.tsx} +8 -14
  118. package/src/capabilities/react-surface.tsx +31 -0
  119. package/src/capabilities/{settings/settings.ts → settings.ts} +4 -5
  120. package/src/capabilities/state.ts +107 -0
  121. package/src/capabilities/tools.ts +61 -0
  122. package/src/capabilities/url-handler.ts +65 -0
  123. package/src/components/DeckLayout/ActiveNode.tsx +2 -3
  124. package/src/components/DeckLayout/ComplementarySidebar.tsx +137 -76
  125. package/src/components/DeckLayout/ContentEmpty.tsx +7 -10
  126. package/src/components/DeckLayout/DeckLayout.tsx +141 -84
  127. package/src/components/DeckLayout/Fullscreen.tsx +2 -3
  128. package/src/components/DeckLayout/NodePlankHeading.tsx +57 -65
  129. package/src/components/DeckLayout/Plank.tsx +33 -41
  130. package/src/components/DeckLayout/PlankControls.tsx +12 -11
  131. package/src/components/DeckLayout/PlankError.tsx +6 -5
  132. package/src/components/DeckLayout/Sidebar.tsx +17 -20
  133. package/src/components/DeckLayout/SidebarButton.tsx +25 -31
  134. package/src/components/DeckLayout/StatusBar.tsx +5 -11
  135. package/src/components/DeckLayout/Toast.tsx +2 -2
  136. package/src/components/LayoutSettings.tsx +8 -8
  137. package/src/components/fragments.ts +8 -0
  138. package/src/components/index.ts +0 -2
  139. package/src/events.ts +1 -0
  140. package/src/hooks/useMainSize.ts +3 -3
  141. package/src/hooks/useNode.ts +3 -1
  142. package/src/layout.ts +43 -212
  143. package/src/meta.ts +1 -0
  144. package/src/translations.ts +8 -8
  145. package/src/types.ts +97 -4
  146. package/src/util/index.ts +3 -1
  147. package/src/util/layoutAppliesTopbar.ts +7 -0
  148. package/src/util/set-active.ts +47 -0
  149. package/src/util/useHoistStatusbar.ts +13 -8
  150. package/dist/lib/browser/app-graph-builder-67VRUD5K.mjs.map +0 -7
  151. package/dist/lib/browser/chunk-2M4PXYNB.mjs +0 -1052
  152. package/dist/lib/browser/chunk-2M4PXYNB.mjs.map +0 -7
  153. package/dist/lib/browser/chunk-2PJNBVCY.mjs +0 -39
  154. package/dist/lib/browser/chunk-2PJNBVCY.mjs.map +0 -7
  155. package/dist/lib/browser/chunk-4C2AFTET.mjs +0 -186
  156. package/dist/lib/browser/chunk-4C2AFTET.mjs.map +0 -7
  157. package/dist/lib/browser/chunk-5VFDMW5M.mjs.map +0 -7
  158. package/dist/lib/browser/chunk-KY5WXIXY.mjs +0 -44
  159. package/dist/lib/browser/chunk-KY5WXIXY.mjs.map +0 -7
  160. package/dist/lib/browser/deck-PLCSKPGL.mjs +0 -26
  161. package/dist/lib/browser/deck-PLCSKPGL.mjs.map +0 -7
  162. package/dist/lib/browser/intent-resolver-FVOQSTBX.mjs +0 -152
  163. package/dist/lib/browser/intent-resolver-FVOQSTBX.mjs.map +0 -7
  164. package/dist/lib/browser/intent-resolver-K7GW4A2I.mjs +0 -249
  165. package/dist/lib/browser/intent-resolver-K7GW4A2I.mjs.map +0 -7
  166. package/dist/lib/browser/location-QHRBQBQN.mjs +0 -35
  167. package/dist/lib/browser/location-QHRBQBQN.mjs.map +0 -7
  168. package/dist/lib/browser/react-context-3BDW7W2N.mjs +0 -32
  169. package/dist/lib/browser/react-context-3BDW7W2N.mjs.map +0 -7
  170. package/dist/lib/browser/react-root-UL7ZDRVZ.mjs.map +0 -7
  171. package/dist/lib/browser/react-surface-VPNOGGNN.mjs +0 -28
  172. package/dist/lib/browser/react-surface-VPNOGGNN.mjs.map +0 -7
  173. package/dist/lib/browser/settings-FNWW6WIJ.mjs.map +0 -7
  174. package/dist/lib/browser/state-7I5BD7SE.mjs +0 -34
  175. package/dist/lib/browser/state-7I5BD7SE.mjs.map +0 -7
  176. package/dist/lib/browser/url-handler-Z5B7LD3N.mjs +0 -76
  177. package/dist/lib/browser/url-handler-Z5B7LD3N.mjs.map +0 -7
  178. package/dist/types/src/capabilities/layout/app-graph-builder.d.ts +0 -181
  179. package/dist/types/src/capabilities/layout/app-graph-builder.d.ts.map +0 -1
  180. package/dist/types/src/capabilities/layout/deck.d.ts +0 -4
  181. package/dist/types/src/capabilities/layout/deck.d.ts.map +0 -1
  182. package/dist/types/src/capabilities/layout/index.d.ts +0 -229
  183. package/dist/types/src/capabilities/layout/index.d.ts.map +0 -1
  184. package/dist/types/src/capabilities/layout/intent-resolver.d.ts.map +0 -1
  185. package/dist/types/src/capabilities/layout/react-context.d.ts +0 -8
  186. package/dist/types/src/capabilities/layout/react-context.d.ts.map +0 -1
  187. package/dist/types/src/capabilities/layout/react-root.d.ts.map +0 -1
  188. package/dist/types/src/capabilities/layout/state.d.ts +0 -42
  189. package/dist/types/src/capabilities/layout/state.d.ts.map +0 -1
  190. package/dist/types/src/capabilities/navigation/check-app-scheme.d.ts.map +0 -1
  191. package/dist/types/src/capabilities/navigation/index.d.ts +0 -5
  192. package/dist/types/src/capabilities/navigation/index.d.ts.map +0 -1
  193. package/dist/types/src/capabilities/navigation/intent-resolver.d.ts +0 -4
  194. package/dist/types/src/capabilities/navigation/intent-resolver.d.ts.map +0 -1
  195. package/dist/types/src/capabilities/navigation/location.d.ts +0 -4
  196. package/dist/types/src/capabilities/navigation/location.d.ts.map +0 -1
  197. package/dist/types/src/capabilities/navigation/set-location.d.ts +0 -10
  198. package/dist/types/src/capabilities/navigation/set-location.d.ts.map +0 -1
  199. package/dist/types/src/capabilities/navigation/url-handler.d.ts.map +0 -1
  200. package/dist/types/src/capabilities/settings/index.d.ts +0 -3
  201. package/dist/types/src/capabilities/settings/index.d.ts.map +0 -1
  202. package/dist/types/src/capabilities/settings/react-surface.d.ts.map +0 -1
  203. package/dist/types/src/capabilities/settings/settings.d.ts.map +0 -1
  204. package/dist/types/src/components/DeckContext.d.ts +0 -11
  205. package/dist/types/src/components/DeckContext.d.ts.map +0 -1
  206. package/dist/types/src/components/LayoutContext.d.ts +0 -5
  207. package/dist/types/src/components/LayoutContext.d.ts.map +0 -1
  208. package/dist/types/src/layout.test.d.ts +0 -2
  209. package/dist/types/src/layout.test.d.ts.map +0 -1
  210. package/dist/types/src/util/layout-parts.d.ts +0 -7
  211. package/dist/types/src/util/layout-parts.d.ts.map +0 -1
  212. package/src/capabilities/layout/deck.ts +0 -25
  213. package/src/capabilities/layout/index.ts +0 -12
  214. package/src/capabilities/layout/intent-resolver.ts +0 -128
  215. package/src/capabilities/layout/react-context.tsx +0 -26
  216. package/src/capabilities/layout/state.ts +0 -32
  217. package/src/capabilities/navigation/index.ts +0 -10
  218. package/src/capabilities/navigation/intent-resolver.ts +0 -216
  219. package/src/capabilities/navigation/location.ts +0 -28
  220. package/src/capabilities/navigation/set-location.ts +0 -38
  221. package/src/capabilities/navigation/url-handler.ts +0 -67
  222. package/src/capabilities/settings/index.ts +0 -8
  223. package/src/capabilities/settings/react-surface.tsx +0 -23
  224. package/src/components/DeckContext.ts +0 -19
  225. package/src/components/LayoutContext.ts +0 -12
  226. package/src/layout.test.ts +0 -380
  227. package/src/util/layout-parts.ts +0 -12
  228. /package/dist/types/src/capabilities/{navigation/check-app-scheme.d.ts → check-app-scheme.d.ts} +0 -0
  229. /package/dist/types/src/capabilities/{layout/intent-resolver.d.ts → intent-resolver.d.ts} +0 -0
  230. /package/dist/types/src/capabilities/{layout/react-root.d.ts → react-root.d.ts} +0 -0
  231. /package/dist/types/src/capabilities/{settings/react-surface.d.ts → react-surface.d.ts} +0 -0
  232. /package/dist/types/src/capabilities/{settings/settings.d.ts → settings.d.ts} +0 -0
  233. /package/dist/types/src/capabilities/{navigation/url-handler.d.ts → url-handler.d.ts} +0 -0
@@ -1,13 +1,142 @@
1
- import { type Label } from '@dxos/app-framework';
2
1
  import { type DeepReadonly } from '@dxos/util';
3
- import { type DeckContextType } from '../components';
2
+ import { type Panel } from '../types';
4
3
  export declare namespace DeckCapabilities {
5
- const DeckState: import("@dxos/app-framework").InterfaceDef<DeepReadonly<DeckContextType>>;
6
- const MutableDeckState: import("@dxos/app-framework").InterfaceDef<DeckContextType>;
7
- const ComplementaryPanel: import("@dxos/app-framework").InterfaceDef<{
8
- id: string;
9
- label: Label;
10
- icon: string;
4
+ const DeckState: import("@dxos/app-framework").InterfaceDef<DeepReadonly<{
5
+ deck: {
6
+ solo?: string | undefined;
7
+ fullscreen: boolean;
8
+ initialized: boolean;
9
+ active: string[];
10
+ inactive: string[];
11
+ plankSizing: {
12
+ [x: string]: number;
13
+ };
14
+ };
15
+ sidebarState: "closed" | "collapsed" | "expanded";
16
+ complementarySidebarState: "closed" | "collapsed" | "expanded";
17
+ complementarySidebarPanel?: string | undefined;
18
+ dialogOpen: boolean;
19
+ dialogContent?: any;
20
+ dialogBlockAlign?: "start" | "end" | "center" | undefined;
21
+ dialogType?: "default" | "alert" | undefined;
22
+ popoverOpen: boolean;
23
+ popoverSide?: "top" | "right" | "bottom" | "left" | undefined;
24
+ popoverContent?: any;
25
+ popoverAnchorId?: string | undefined;
26
+ toasts: {
27
+ readonly description?: string | [string, {
28
+ ns: string;
29
+ count?: number | undefined;
30
+ }] | undefined;
31
+ readonly id: string;
32
+ readonly title?: string | [string, {
33
+ ns: string;
34
+ count?: number | undefined;
35
+ }] | undefined;
36
+ readonly icon?: string | undefined;
37
+ readonly duration?: number | undefined;
38
+ readonly closeLabel?: string | [string, {
39
+ ns: string;
40
+ count?: number | undefined;
41
+ }] | undefined;
42
+ readonly actionLabel?: string | [string, {
43
+ ns: string;
44
+ count?: number | undefined;
45
+ }] | undefined;
46
+ readonly actionAlt?: string | [string, {
47
+ ns: string;
48
+ count?: number | undefined;
49
+ }] | undefined;
50
+ readonly onAction?: any;
51
+ }[];
52
+ currentUndoId?: string | undefined;
53
+ activeDeck: string;
54
+ previousDeck: string;
55
+ decks: {
56
+ [x: string]: {
57
+ solo?: string | undefined;
58
+ fullscreen: boolean;
59
+ initialized: boolean;
60
+ active: string[];
61
+ inactive: string[];
62
+ plankSizing: {
63
+ [x: string]: number;
64
+ };
65
+ };
66
+ };
67
+ previousMode: {
68
+ [x: string]: "deck" | "solo" | "fullscreen";
69
+ };
70
+ scrollIntoView?: string | undefined;
71
+ }>>;
72
+ const MutableDeckState: import("@dxos/app-framework").InterfaceDef<{
73
+ deck: {
74
+ solo?: string | undefined;
75
+ fullscreen: boolean;
76
+ initialized: boolean;
77
+ active: string[];
78
+ inactive: string[];
79
+ plankSizing: {
80
+ [x: string]: number;
81
+ };
82
+ };
83
+ sidebarState: "closed" | "collapsed" | "expanded";
84
+ complementarySidebarState: "closed" | "collapsed" | "expanded";
85
+ complementarySidebarPanel?: string | undefined;
86
+ dialogOpen: boolean;
87
+ dialogContent?: any;
88
+ dialogBlockAlign?: "start" | "end" | "center" | undefined;
89
+ dialogType?: "default" | "alert" | undefined;
90
+ popoverOpen: boolean;
91
+ popoverSide?: "top" | "right" | "bottom" | "left" | undefined;
92
+ popoverContent?: any;
93
+ popoverAnchorId?: string | undefined;
94
+ toasts: {
95
+ readonly description?: string | [string, {
96
+ ns: string;
97
+ count?: number | undefined;
98
+ }] | undefined;
99
+ readonly id: string;
100
+ readonly title?: string | [string, {
101
+ ns: string;
102
+ count?: number | undefined;
103
+ }] | undefined;
104
+ readonly icon?: string | undefined;
105
+ readonly duration?: number | undefined;
106
+ readonly closeLabel?: string | [string, {
107
+ ns: string;
108
+ count?: number | undefined;
109
+ }] | undefined;
110
+ readonly actionLabel?: string | [string, {
111
+ ns: string;
112
+ count?: number | undefined;
113
+ }] | undefined;
114
+ readonly actionAlt?: string | [string, {
115
+ ns: string;
116
+ count?: number | undefined;
117
+ }] | undefined;
118
+ readonly onAction?: any;
119
+ }[];
120
+ currentUndoId?: string | undefined;
121
+ activeDeck: string;
122
+ previousDeck: string;
123
+ decks: {
124
+ [x: string]: {
125
+ solo?: string | undefined;
126
+ fullscreen: boolean;
127
+ initialized: boolean;
128
+ active: string[];
129
+ inactive: string[];
130
+ plankSizing: {
131
+ [x: string]: number;
132
+ };
133
+ };
134
+ };
135
+ previousMode: {
136
+ [x: string]: "deck" | "solo" | "fullscreen";
137
+ };
138
+ scrollIntoView?: string | undefined;
11
139
  }>;
140
+ const ComplementaryPanel: import("@dxos/app-framework").InterfaceDef<Panel>;
12
141
  }
13
142
  //# sourceMappingURL=capabilities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/capabilities.ts"],"names":[],"mappings":"AAIA,OAAO,EAAoB,KAAK,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/C,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAGrD,yBAAiB,gBAAgB,CAAC;IACzB,MAAM,SAAS,2EAAqF,CAAC;IACrG,MAAM,gBAAgB,6DAAuE,CAAC;IAC9F,MAAM,kBAAkB;YAA0B,MAAM;eAAS,KAAK;cAAQ,MAAM;MAE1F,CAAC;CACH"}
1
+ {"version":3,"file":"capabilities.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/capabilities.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,YAAY,CAAC;AAG/C,OAAO,EAAkB,KAAK,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtD,yBAAiB,gBAAgB,CAAC;IACzB,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAA+E,CAAC;IAC/F,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAiE,CAAC;IACxF,MAAM,kBAAkB,mDAA2E,CAAC;CAC5G"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"check-app-scheme.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/check-app-scheme.ts"],"names":[],"mappings":"AAOA,OAAO,EAA6B,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;kCA4BtD,cAAc;AAA7C,wBAQE"}
@@ -1,5 +1,190 @@
1
+ export declare const AppGraphBuilder: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<Readonly<{
2
+ id: string;
3
+ position: import("@dxos/util").Position;
4
+ resolver?: import("@dxos/app-graph").ResolverExtension;
5
+ connector?: import("@dxos/app-graph").ConnectorExtension;
6
+ relation?: import("@dxos/app-graph").Relation;
7
+ type?: string;
8
+ filter?: (node: import("@dxos/app-graph").Node) => boolean;
9
+ }> | Readonly<{
10
+ id: string;
11
+ position: import("@dxos/util").Position;
12
+ resolver?: import("@dxos/app-graph").ResolverExtension;
13
+ connector?: import("@dxos/app-graph").ConnectorExtension;
14
+ relation?: import("@dxos/app-graph").Relation;
15
+ type?: string;
16
+ filter?: (node: import("@dxos/app-graph").Node) => boolean;
17
+ }>[] | (Readonly<{
18
+ id: string;
19
+ position: import("@dxos/util").Position;
20
+ resolver?: import("@dxos/app-graph").ResolverExtension;
21
+ connector?: import("@dxos/app-graph").ConnectorExtension;
22
+ relation?: import("@dxos/app-graph").Relation;
23
+ type?: string;
24
+ filter?: (node: import("@dxos/app-graph").Node) => boolean;
25
+ }> | Readonly<{
26
+ id: string;
27
+ position: import("@dxos/util").Position;
28
+ resolver?: import("@dxos/app-graph").ResolverExtension;
29
+ connector?: import("@dxos/app-graph").ConnectorExtension;
30
+ relation?: import("@dxos/app-graph").Relation;
31
+ type?: string;
32
+ filter?: (node: import("@dxos/app-graph").Node) => boolean;
33
+ }>[] | (Readonly<{
34
+ id: string;
35
+ position: import("@dxos/util").Position;
36
+ resolver?: import("@dxos/app-graph").ResolverExtension;
37
+ connector?: import("@dxos/app-graph").ConnectorExtension;
38
+ relation?: import("@dxos/app-graph").Relation;
39
+ type?: string;
40
+ filter?: (node: import("@dxos/app-graph").Node) => boolean;
41
+ }> | Readonly<{
42
+ id: string;
43
+ position: import("@dxos/util").Position;
44
+ resolver?: import("@dxos/app-graph").ResolverExtension;
45
+ connector?: import("@dxos/app-graph").ConnectorExtension;
46
+ relation?: import("@dxos/app-graph").Relation;
47
+ type?: string;
48
+ filter?: (node: import("@dxos/app-graph").Node) => boolean;
49
+ }>[] | (Readonly<{
50
+ id: string;
51
+ position: import("@dxos/util").Position;
52
+ resolver?: import("@dxos/app-graph").ResolverExtension;
53
+ connector?: import("@dxos/app-graph").ConnectorExtension;
54
+ relation?: import("@dxos/app-graph").Relation;
55
+ type?: string;
56
+ filter?: (node: import("@dxos/app-graph").Node) => boolean;
57
+ }> | Readonly<{
58
+ id: string;
59
+ position: import("@dxos/util").Position;
60
+ resolver?: import("@dxos/app-graph").ResolverExtension;
61
+ connector?: import("@dxos/app-graph").ConnectorExtension;
62
+ relation?: import("@dxos/app-graph").Relation;
63
+ type?: string;
64
+ filter?: (node: import("@dxos/app-graph").Node) => boolean;
65
+ }>[] | (Readonly<{
66
+ id: string;
67
+ position: import("@dxos/util").Position;
68
+ resolver?: import("@dxos/app-graph").ResolverExtension;
69
+ connector?: import("@dxos/app-graph").ConnectorExtension;
70
+ relation?: import("@dxos/app-graph").Relation;
71
+ type?: string;
72
+ filter?: (node: import("@dxos/app-graph").Node) => boolean;
73
+ }> | Readonly<{
74
+ id: string;
75
+ position: import("@dxos/util").Position;
76
+ resolver?: import("@dxos/app-graph").ResolverExtension;
77
+ connector?: import("@dxos/app-graph").ConnectorExtension;
78
+ relation?: import("@dxos/app-graph").Relation;
79
+ type?: string;
80
+ filter?: (node: import("@dxos/app-graph").Node) => boolean;
81
+ }>[] | (Readonly<{
82
+ id: string;
83
+ position: import("@dxos/util").Position;
84
+ resolver?: import("@dxos/app-graph").ResolverExtension;
85
+ connector?: import("@dxos/app-graph").ConnectorExtension;
86
+ relation?: import("@dxos/app-graph").Relation;
87
+ type?: string;
88
+ filter?: (node: import("@dxos/app-graph").Node) => boolean;
89
+ }> | Readonly<{
90
+ id: string;
91
+ position: import("@dxos/util").Position;
92
+ resolver?: import("@dxos/app-graph").ResolverExtension;
93
+ connector?: import("@dxos/app-graph").ConnectorExtension;
94
+ relation?: import("@dxos/app-graph").Relation;
95
+ type?: string;
96
+ filter?: (node: import("@dxos/app-graph").Node) => boolean;
97
+ }>[] | (Readonly<{
98
+ id: string;
99
+ position: import("@dxos/util").Position;
100
+ resolver?: import("@dxos/app-graph").ResolverExtension;
101
+ connector?: import("@dxos/app-graph").ConnectorExtension;
102
+ relation?: import("@dxos/app-graph").Relation;
103
+ type?: string;
104
+ filter?: (node: import("@dxos/app-graph").Node) => boolean;
105
+ }> | Readonly<{
106
+ id: string;
107
+ position: import("@dxos/util").Position;
108
+ resolver?: import("@dxos/app-graph").ResolverExtension;
109
+ connector?: import("@dxos/app-graph").ConnectorExtension;
110
+ relation?: import("@dxos/app-graph").Relation;
111
+ type?: string;
112
+ filter?: (node: import("@dxos/app-graph").Node) => boolean;
113
+ }>[] | (Readonly<{
114
+ id: string;
115
+ position: import("@dxos/util").Position;
116
+ resolver?: import("@dxos/app-graph").ResolverExtension;
117
+ connector?: import("@dxos/app-graph").ConnectorExtension;
118
+ relation?: import("@dxos/app-graph").Relation;
119
+ type?: string;
120
+ filter?: (node: import("@dxos/app-graph").Node) => boolean;
121
+ }> | Readonly<{
122
+ id: string;
123
+ position: import("@dxos/util").Position;
124
+ resolver?: import("@dxos/app-graph").ResolverExtension;
125
+ connector?: import("@dxos/app-graph").ConnectorExtension;
126
+ relation?: import("@dxos/app-graph").Relation;
127
+ type?: string;
128
+ filter?: (node: import("@dxos/app-graph").Node) => boolean;
129
+ }>[] | (Readonly<{
130
+ id: string;
131
+ position: import("@dxos/util").Position;
132
+ resolver?: import("@dxos/app-graph").ResolverExtension;
133
+ connector?: import("@dxos/app-graph").ConnectorExtension;
134
+ relation?: import("@dxos/app-graph").Relation;
135
+ type?: string;
136
+ filter?: (node: import("@dxos/app-graph").Node) => boolean;
137
+ }> | Readonly<{
138
+ id: string;
139
+ position: import("@dxos/util").Position;
140
+ resolver?: import("@dxos/app-graph").ResolverExtension;
141
+ connector?: import("@dxos/app-graph").ConnectorExtension;
142
+ relation?: import("@dxos/app-graph").Relation;
143
+ type?: string;
144
+ filter?: (node: import("@dxos/app-graph").Node) => boolean;
145
+ }>[] | (Readonly<{
146
+ id: string;
147
+ position: import("@dxos/util").Position;
148
+ resolver?: import("@dxos/app-graph").ResolverExtension;
149
+ connector?: import("@dxos/app-graph").ConnectorExtension;
150
+ relation?: import("@dxos/app-graph").Relation;
151
+ type?: string;
152
+ filter?: (node: import("@dxos/app-graph").Node) => boolean;
153
+ }> | Readonly<{
154
+ id: string;
155
+ position: import("@dxos/util").Position;
156
+ resolver?: import("@dxos/app-graph").ResolverExtension;
157
+ connector?: import("@dxos/app-graph").ConnectorExtension;
158
+ relation?: import("@dxos/app-graph").Relation;
159
+ type?: string;
160
+ filter?: (node: import("@dxos/app-graph").Node) => boolean;
161
+ }>[] | (any[] | Readonly<{
162
+ id: string;
163
+ position: import("@dxos/util").Position;
164
+ resolver?: import("@dxos/app-graph").ResolverExtension;
165
+ connector?: import("@dxos/app-graph").ConnectorExtension;
166
+ relation?: import("@dxos/app-graph").Relation;
167
+ type?: string;
168
+ filter?: (node: import("@dxos/app-graph").Node) => boolean;
169
+ }> | Readonly<{
170
+ id: string;
171
+ position: import("@dxos/util").Position;
172
+ resolver?: import("@dxos/app-graph").ResolverExtension;
173
+ connector?: import("@dxos/app-graph").ConnectorExtension;
174
+ relation?: import("@dxos/app-graph").Relation;
175
+ type?: string;
176
+ filter?: (node: import("@dxos/app-graph").Node) => boolean;
177
+ }>[])[])[])[])[])[])[])[])[])[])[]> | import("@dxos/app-framework").AnyCapability[]>>;
178
+ export declare const CheckAppScheme: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<null> | import("@dxos/app-framework").AnyCapability[]>>;
179
+ export declare const LayoutIntentResolver: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.IntentResolver> | import("@dxos/app-framework").AnyCapability[]>>;
180
+ export declare const ReactRoot: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<Readonly<{
181
+ id: string;
182
+ root: import("react").FC<import("react").PropsWithChildren>;
183
+ }>> | import("@dxos/app-framework").AnyCapability[]>>;
184
+ export declare const ReactSurface: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.ReactSurface> | import("@dxos/app-framework").AnyCapability[]>>;
185
+ export declare const DeckSettings: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/app-framework").Capabilities.Settings> | import("@dxos/app-framework").AnyCapability[]>>;
186
+ export declare const DeckState: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").AnyCapability[] | import("@dxos/app-framework").Capability<unknown>>>;
187
+ export declare const Tools: (props?: unknown) => Promise<() => Promise<import("@dxos/app-framework").Capability<import("@dxos/artifact").Tool[]> | import("@dxos/app-framework").AnyCapability[]>>;
188
+ export declare const UrlHandler: (props?: import("@dxos/app-framework").PluginsContext | undefined) => Promise<() => Promise<import("@dxos/app-framework").Capability<null> | import("@dxos/app-framework").AnyCapability[]>>;
1
189
  export * from './capabilities';
2
- export * from './layout';
3
- export * from './navigation';
4
- export * from './settings';
5
190
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe;;qBAWqsF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAwF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;;;qBAAqF,YAAY;sBAAsC,iBAAiB;uBAAgD,iBAAiB;sBAAgD,iBAAiB;;2BAAkE,iBAAiB;qFAXh8U,CAAC;AACzE,eAAO,MAAM,cAAc,8LAA2C,CAAC;AACvE,eAAO,MAAM,oBAAoB,mPAA0C,CAAC;AAC5E,eAAO,MAAM,SAAS;;;qDAAqC,CAAC;AAC5D,eAAO,MAAM,YAAY,gMAAwC,CAAC;AAClE,eAAO,MAAM,YAAY,4LAAmC,CAAC;AAC7D,eAAO,MAAM,SAAS,gJAAgC,CAAC;AACvD,eAAO,MAAM,KAAK,wKAAgC,CAAC;AACnD,eAAO,MAAM,UAAU,8LAAsC,CAAC;AAE9D,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"intent-resolver.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/intent-resolver.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,YAAY,EAKZ,KAAK,cAAc,EAGpB,MAAM,qBAAqB,CAAC;kCAcJ,cAAc;AAAvC,wBAiVK"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"react-root.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-root.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;;;;;AAS3C,wBAgCK"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAA8B,MAAM,qBAAqB,CAAC;;AAQ/E,wBAgBK"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/settings.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAe,MAAM,qBAAqB,CAAC;;AAMhE,wBAUE"}
@@ -0,0 +1,79 @@
1
+ declare const _default: () => (import("@dxos/app-framework").Capability<import("@dxos/util").DeepReadonly<{
2
+ deck: {
3
+ solo?: string | undefined;
4
+ fullscreen: boolean;
5
+ initialized: boolean;
6
+ active: string[];
7
+ inactive: string[];
8
+ plankSizing: {
9
+ [x: string]: number;
10
+ };
11
+ };
12
+ sidebarState: "closed" | "collapsed" | "expanded";
13
+ complementarySidebarState: "closed" | "collapsed" | "expanded";
14
+ complementarySidebarPanel?: string | undefined;
15
+ dialogOpen: boolean;
16
+ dialogContent?: any;
17
+ dialogBlockAlign?: "start" | "end" | "center" | undefined;
18
+ dialogType?: "default" | "alert" | undefined;
19
+ popoverOpen: boolean;
20
+ popoverSide?: "top" | "right" | "bottom" | "left" | undefined;
21
+ popoverContent?: any;
22
+ popoverAnchorId?: string | undefined;
23
+ toasts: {
24
+ readonly description?: string | [string, {
25
+ ns: string;
26
+ count?: number | undefined;
27
+ }] | undefined;
28
+ readonly id: string;
29
+ readonly title?: string | [string, {
30
+ ns: string;
31
+ count?: number | undefined;
32
+ }] | undefined;
33
+ readonly icon?: string | undefined;
34
+ readonly duration?: number | undefined;
35
+ readonly closeLabel?: string | [string, {
36
+ ns: string;
37
+ count?: number | undefined;
38
+ }] | undefined;
39
+ readonly actionLabel?: string | [string, {
40
+ ns: string;
41
+ count?: number | undefined;
42
+ }] | undefined;
43
+ readonly actionAlt?: string | [string, {
44
+ ns: string;
45
+ count?: number | undefined;
46
+ }] | undefined;
47
+ readonly onAction?: any;
48
+ }[];
49
+ currentUndoId?: string | undefined;
50
+ activeDeck: string;
51
+ previousDeck: string;
52
+ decks: {
53
+ [x: string]: {
54
+ solo?: string | undefined;
55
+ fullscreen: boolean;
56
+ initialized: boolean;
57
+ active: string[];
58
+ inactive: string[];
59
+ plankSizing: {
60
+ [x: string]: number;
61
+ };
62
+ };
63
+ };
64
+ previousMode: {
65
+ [x: string]: "deck" | "solo" | "fullscreen";
66
+ };
67
+ scrollIntoView?: string | undefined;
68
+ }>> | import("@dxos/app-framework").Capability<import("@dxos/live-object").ReactiveObject<Readonly<{
69
+ mode: string;
70
+ dialogOpen: boolean;
71
+ sidebarOpen: boolean;
72
+ complementarySidebarOpen: boolean;
73
+ workspace: string;
74
+ active: string[];
75
+ inactive: string[];
76
+ scrollIntoView: string | undefined;
77
+ }>>>)[];
78
+ export default _default;
79
+ //# sourceMappingURL=state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA,wBA2EE"}
@@ -0,0 +1,10 @@
1
+ import { type PromiseIntentDispatcher } from '@dxos/app-framework';
2
+ declare global {
3
+ interface ToolContextExtensions {
4
+ dispatch?: PromiseIntentDispatcher;
5
+ pivotId?: string;
6
+ }
7
+ }
8
+ declare const _default: () => import("@dxos/app-framework").Capability<import("@dxos/artifact").Tool[]>;
9
+ export default _default;
10
+ //# sourceMappingURL=tools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/tools.ts"],"names":[],"mappings":"AAIA,OAAO,EAKL,KAAK,uBAAuB,EAC7B,MAAM,qBAAqB,CAAC;AAM7B,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,QAAQ,CAAC,EAAE,uBAAuB,CAAC;QACnC,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB;CACF;;AAED,wBAqCK"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url-handler.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/url-handler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyD,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;kCAMlF,cAAc;AAA7C,wBAsDE"}
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- export declare const ActiveNode: () => React.JSX.Element;
1
+ export declare const ActiveNode: () => import("react/jsx-runtime").JSX.Element;
3
2
  //# sourceMappingURL=ActiveNode.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ActiveNode.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/ActiveNode.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,eAAO,MAAM,UAAU,yBAatB,CAAC"}
1
+ {"version":3,"file":"ActiveNode.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/ActiveNode.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,UAAU,+CAatB,CAAC"}
@@ -1,6 +1,5 @@
1
- import React from 'react';
2
1
  import { type ThemedClassName } from '@dxos/react-ui';
3
2
  export declare const Banner: ({ variant, classNames }: ThemedClassName<{
4
3
  variant?: "topbar" | "sidebar";
5
- }>) => React.JSX.Element;
4
+ }>) => import("react/jsx-runtime").JSX.Element;
6
5
  //# sourceMappingURL=Banner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Banner.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAKtD,eAAO,MAAM,MAAM,4BAA6B,eAAe,CAAC;IAAE,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAAE,CAAC,sBAwBlG,CAAC"}
1
+ {"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Banner.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAKtD,eAAO,MAAM,MAAM,4BAA6B,eAAe,CAAC;IAAE,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;CAAE,CAAC,4CAwBlG,CAAC"}
@@ -1,8 +1,5 @@
1
- import React from 'react';
2
- import { type Panel } from '../../types';
3
1
  export type ComplementarySidebarProps = {
4
- panels: Panel[];
5
2
  current?: string;
6
3
  };
7
- export declare const ComplementarySidebar: ({ panels, current }: ComplementarySidebarProps) => React.JSX.Element;
4
+ export declare const ComplementarySidebar: ({ current }: ComplementarySidebarProps) => import("react/jsx-runtime").JSX.Element;
8
5
  //# sourceMappingURL=ComplementarySidebar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ComplementarySidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/ComplementarySidebar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoD,MAAM,OAAO,CAAC;AAezE,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,aAAa,CAAC;AAGzC,MAAM,MAAM,yBAAyB,GAAG;IACtC,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,oBAAoB,wBAAyB,yBAAyB,sBAoFlF,CAAC"}
1
+ {"version":3,"file":"ComplementarySidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/ComplementarySidebar.tsx"],"names":[],"mappings":"AA2BA,MAAM,MAAM,yBAAyB,GAAG;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,oBAAoB,gBAAiB,yBAAyB,4CA6I1E,CAAC"}
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- export declare const ContentEmpty: () => React.JSX.Element;
1
+ export declare const ContentEmpty: () => import("react/jsx-runtime").JSX.Element;
3
2
  //# sourceMappingURL=ContentEmpty.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContentEmpty.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/ContentEmpty.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,eAAO,MAAM,YAAY,yBAgBxB,CAAC"}
1
+ {"version":3,"file":"ContentEmpty.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/ContentEmpty.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,YAAY,+CAaxB,CAAC"}
@@ -1,13 +1,8 @@
1
- import React from 'react';
2
- import { type LayoutParts, type Toast as ToastSchema } from '@dxos/app-framework';
3
- import { type ComplementarySidebarProps } from './ComplementarySidebar';
4
1
  import { type Overscroll } from '../../types';
5
2
  export type DeckLayoutProps = {
6
- layoutParts: LayoutParts;
7
- toasts: ToastSchema[];
8
3
  overscroll: Overscroll;
9
4
  showHints: boolean;
10
5
  onDismissToast: (id: string) => void;
11
- } & Pick<ComplementarySidebarProps, 'panels'>;
12
- export declare const DeckLayout: ({ layoutParts, toasts, overscroll, showHints, panels, onDismissToast }: DeckLayoutProps) => React.JSX.Element;
6
+ };
7
+ export declare const DeckLayout: ({ overscroll, showHints, onDismissToast }: DeckLayoutProps) => import("react/jsx-runtime").JSX.Element;
13
8
  //# sourceMappingURL=DeckLayout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeckLayout.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/DeckLayout.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA0E,MAAM,OAAO,CAAC;AAE/F,OAAO,EAIL,KAAK,WAAW,EAChB,KAAK,KAAK,IAAI,WAAW,EAC1B,MAAM,qBAAqB,CAAC;AAO7B,OAAO,EAAwB,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAQ9F,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAM9C,MAAM,MAAM,eAAe,GAAG;IAC5B,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,GAAG,IAAI,CAAC,yBAAyB,EAAE,QAAQ,CAAC,CAAC;AAK9C,eAAO,MAAM,UAAU,2EAA4E,eAAe,sBAmOjH,CAAC"}
1
+ {"version":3,"file":"DeckLayout.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/DeckLayout.tsx"],"names":[],"mappings":"AAuCA,OAAO,EAAW,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAIvD,MAAM,MAAM,eAAe,GAAG;IAC5B,UAAU,EAAE,UAAU,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,cAAc,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC,CAAC;AAKF,eAAO,MAAM,UAAU,8CAA+C,eAAe,4CAqRpF,CAAC"}
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- export declare const Fallback: () => React.JSX.Element;
1
+ export declare const Fallback: () => import("react/jsx-runtime").JSX.Element;
3
2
  //# sourceMappingURL=Fallback.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Fallback.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Fallback.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,eAAO,MAAM,QAAQ,yBAgBpB,CAAC"}
1
+ {"version":3,"file":"Fallback.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Fallback.tsx"],"names":[],"mappings":"AAWA,eAAO,MAAM,QAAQ,+CAgBpB,CAAC"}
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
1
  export declare const Fullscreen: ({ id }: {
3
2
  id?: string;
4
- }) => React.JSX.Element;
3
+ }) => import("react/jsx-runtime").JSX.Element;
5
4
  //# sourceMappingURL=Fullscreen.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Fullscreen.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Fullscreen.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,eAAO,MAAM,UAAU,WAAY;IAAE,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,sBAiBjD,CAAC"}
1
+ {"version":3,"file":"Fullscreen.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/Fullscreen.tsx"],"names":[],"mappings":"AAaA,eAAO,MAAM,UAAU,WAAY;IAAE,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,4CAiBjD,CAAC"}
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- import { type LayoutCoordinate } from '@dxos/app-framework';
3
2
  import { type Node } from '@dxos/plugin-graph';
4
3
  import { type StackItemSigilAction } from '@dxos/react-ui-stack';
5
4
  export type NodePlankHeadingProps = {
6
- coordinate: LayoutCoordinate;
5
+ id: string;
6
+ part: 'solo' | 'deck' | 'complementary';
7
7
  node?: Node;
8
8
  canIncrementStart?: boolean;
9
9
  canIncrementEnd?: boolean;
@@ -11,5 +11,5 @@ export type NodePlankHeadingProps = {
11
11
  pending?: boolean;
12
12
  actions?: StackItemSigilAction[];
13
13
  };
14
- export declare const NodePlankHeading: React.MemoExoticComponent<({ coordinate, node, canIncrementStart, canIncrementEnd, popoverAnchorId, pending, actions, }: NodePlankHeadingProps) => React.JSX.Element>;
14
+ export declare const NodePlankHeading: React.MemoExoticComponent<({ id, part, node, canIncrementStart, canIncrementEnd, popoverAnchorId, pending, actions, }: NodePlankHeadingProps) => import("react/jsx-runtime").JSX.Element>;
15
15
  //# sourceMappingURL=NodePlankHeading.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NodePlankHeading.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/NodePlankHeading.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA6C,MAAM,OAAO,CAAC;AAElE,OAAO,EAOL,KAAK,gBAAgB,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,IAAI,EAAY,MAAM,oBAAoB,CAAC;AAEzD,OAAO,EAAa,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAS5E,MAAM,MAAM,qBAAqB,GAAG;IAClC,UAAU,EAAE,gBAAgB,CAAC;IAC7B,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,gBAAgB,2HASxB,qBAAqB,uBA8GzB,CAAC"}
1
+ {"version":3,"file":"NodePlankHeading.d.ts","sourceRoot":"","sources":["../../../../../src/components/DeckLayout/NodePlankHeading.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA0D,MAAM,OAAO,CAAC;AAG/E,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE/C,OAAO,EAAa,KAAK,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAS5E,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,eAAe,CAAC;IACxC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,gBAAgB,yHAUxB,qBAAqB,6CA4GzB,CAAC"}
@@ -1,11 +1,13 @@
1
1
  import React from 'react';
2
- import { type Layout, type LayoutEntry, type LayoutPart, type LayoutParts } from '@dxos/app-framework';
2
+ import { type NodePlankHeadingProps } from './NodePlankHeading';
3
+ import { type LayoutMode } from '../../types';
3
4
  export type PlankProps = {
4
- entry?: LayoutEntry;
5
- layoutParts: LayoutParts;
6
- part: LayoutPart;
7
- layoutMode: Layout['layoutMode'];
5
+ id?: string;
6
+ part: NodePlankHeadingProps['part'];
7
+ path?: string[];
8
8
  order?: number;
9
+ active?: string[];
10
+ layoutMode: LayoutMode;
9
11
  };
10
- export declare const Plank: React.MemoExoticComponent<({ entry, layoutParts, part, layoutMode, order }: PlankProps) => React.JSX.Element>;
12
+ export declare const Plank: React.MemoExoticComponent<({ id, part, path, order, active, layoutMode }: PlankProps) => import("react/jsx-runtime").JSX.Element>;
11
13
  //# sourceMappingURL=Plank.d.ts.map