@dxos/shell 0.3.11-main.1caa3af

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 (530) hide show
  1. package/LICENSE +8 -0
  2. package/README.md +21 -0
  3. package/dist/lib/browser/chunk-ZSTKOCBT.mjs +10 -0
  4. package/dist/lib/browser/chunk-ZSTKOCBT.mjs.map +7 -0
  5. package/dist/lib/browser/meta.json +1 -0
  6. package/dist/lib/browser/react.mjs +3617 -0
  7. package/dist/lib/browser/react.mjs.map +7 -0
  8. package/dist/lib/browser/testing/index.mjs +179 -0
  9. package/dist/lib/browser/testing/index.mjs.map +7 -0
  10. package/dist/types/src/components/AuthCode.d.ts +8 -0
  11. package/dist/types/src/components/AuthCode.d.ts.map +1 -0
  12. package/dist/types/src/components/AuthCode.js +26 -0
  13. package/dist/types/src/components/AuthCode.js.map +1 -0
  14. package/dist/types/src/components/Clipboard/ClipboardProvider.d.ts +9 -0
  15. package/dist/types/src/components/Clipboard/ClipboardProvider.d.ts.map +1 -0
  16. package/dist/types/src/components/Clipboard/ClipboardProvider.js +46 -0
  17. package/dist/types/src/components/Clipboard/ClipboardProvider.js.map +1 -0
  18. package/dist/types/src/components/Clipboard/CopyButton.d.ts +9 -0
  19. package/dist/types/src/components/Clipboard/CopyButton.d.ts.map +1 -0
  20. package/dist/types/src/components/Clipboard/CopyButton.js +65 -0
  21. package/dist/types/src/components/Clipboard/CopyButton.js.map +1 -0
  22. package/dist/types/src/components/Clipboard/index.d.ts +3 -0
  23. package/dist/types/src/components/Clipboard/index.d.ts.map +1 -0
  24. package/dist/types/src/components/Clipboard/index.js +22 -0
  25. package/dist/types/src/components/Clipboard/index.js.map +1 -0
  26. package/dist/types/src/components/CompoundButton/CompoundButton.d.ts +17 -0
  27. package/dist/types/src/components/CompoundButton/CompoundButton.d.ts.map +1 -0
  28. package/dist/types/src/components/CompoundButton/CompoundButton.js +29 -0
  29. package/dist/types/src/components/CompoundButton/CompoundButton.js.map +1 -0
  30. package/dist/types/src/components/CompoundButton/CompoundButton.stories.d.ts +35 -0
  31. package/dist/types/src/components/CompoundButton/CompoundButton.stories.d.ts.map +1 -0
  32. package/dist/types/src/components/CompoundButton/CompoundButton.stories.js +45 -0
  33. package/dist/types/src/components/CompoundButton/CompoundButton.stories.js.map +1 -0
  34. package/dist/types/src/components/CompoundButton/index.d.ts +2 -0
  35. package/dist/types/src/components/CompoundButton/index.d.ts.map +1 -0
  36. package/dist/types/src/components/CompoundButton/index.js +21 -0
  37. package/dist/types/src/components/CompoundButton/index.js.map +1 -0
  38. package/dist/types/src/components/IdentityList/DeviceList.d.ts +7 -0
  39. package/dist/types/src/components/IdentityList/DeviceList.d.ts.map +1 -0
  40. package/dist/types/src/components/IdentityList/DeviceList.js +29 -0
  41. package/dist/types/src/components/IdentityList/DeviceList.js.map +1 -0
  42. package/dist/types/src/components/IdentityList/IdentityListItem.d.ts +11 -0
  43. package/dist/types/src/components/IdentityList/IdentityListItem.d.ts.map +1 -0
  44. package/dist/types/src/components/IdentityList/IdentityListItem.js +47 -0
  45. package/dist/types/src/components/IdentityList/IdentityListItem.js.map +1 -0
  46. package/dist/types/src/components/IdentityList/SpaceMemberList.d.ts +13 -0
  47. package/dist/types/src/components/IdentityList/SpaceMemberList.d.ts.map +1 -0
  48. package/dist/types/src/components/IdentityList/SpaceMemberList.js +54 -0
  49. package/dist/types/src/components/IdentityList/SpaceMemberList.js.map +1 -0
  50. package/dist/types/src/components/IdentityList/SpaceMemberList.stories.d.ts +17 -0
  51. package/dist/types/src/components/IdentityList/SpaceMemberList.stories.d.ts.map +1 -0
  52. package/dist/types/src/components/IdentityList/SpaceMemberList.stories.js +26 -0
  53. package/dist/types/src/components/IdentityList/SpaceMemberList.stories.js.map +1 -0
  54. package/dist/types/src/components/IdentityList/index.d.ts +4 -0
  55. package/dist/types/src/components/IdentityList/index.d.ts.map +1 -0
  56. package/dist/types/src/components/IdentityList/index.js +23 -0
  57. package/dist/types/src/components/IdentityList/index.js.map +1 -0
  58. package/dist/types/src/components/InvitationList/InvitationList.d.ts +11 -0
  59. package/dist/types/src/components/InvitationList/InvitationList.d.ts.map +1 -0
  60. package/dist/types/src/components/InvitationList/InvitationList.js +22 -0
  61. package/dist/types/src/components/InvitationList/InvitationList.js.map +1 -0
  62. package/dist/types/src/components/InvitationList/InvitationList.stories.d.ts +17 -0
  63. package/dist/types/src/components/InvitationList/InvitationList.stories.d.ts.map +1 -0
  64. package/dist/types/src/components/InvitationList/InvitationList.stories.js +39 -0
  65. package/dist/types/src/components/InvitationList/InvitationList.stories.js.map +1 -0
  66. package/dist/types/src/components/InvitationList/InvitationListContainer.d.ts +7 -0
  67. package/dist/types/src/components/InvitationList/InvitationListContainer.d.ts.map +1 -0
  68. package/dist/types/src/components/InvitationList/InvitationListContainer.js +42 -0
  69. package/dist/types/src/components/InvitationList/InvitationListContainer.js.map +1 -0
  70. package/dist/types/src/components/InvitationList/InvitationListItem.d.ts +12 -0
  71. package/dist/types/src/components/InvitationList/InvitationListItem.d.ts.map +1 -0
  72. package/dist/types/src/components/InvitationList/InvitationListItem.js +103 -0
  73. package/dist/types/src/components/InvitationList/InvitationListItem.js.map +1 -0
  74. package/dist/types/src/components/InvitationList/InvitationListProps.d.ts +9 -0
  75. package/dist/types/src/components/InvitationList/InvitationListProps.d.ts.map +1 -0
  76. package/dist/types/src/components/InvitationList/InvitationListProps.js +3 -0
  77. package/dist/types/src/components/InvitationList/InvitationListProps.js.map +1 -0
  78. package/dist/types/src/components/InvitationList/index.d.ts +4 -0
  79. package/dist/types/src/components/InvitationList/index.d.ts.map +1 -0
  80. package/dist/types/src/components/InvitationList/index.js +23 -0
  81. package/dist/types/src/components/InvitationList/index.js.map +1 -0
  82. package/dist/types/src/components/Panel/Action.d.ts +20 -0
  83. package/dist/types/src/components/Panel/Action.d.ts.map +1 -0
  84. package/dist/types/src/components/Panel/Action.js +93 -0
  85. package/dist/types/src/components/Panel/Action.js.map +1 -0
  86. package/dist/types/src/components/Panel/Actions.d.ts +11 -0
  87. package/dist/types/src/components/Panel/Actions.d.ts.map +1 -0
  88. package/dist/types/src/components/Panel/Actions.js +36 -0
  89. package/dist/types/src/components/Panel/Actions.js.map +1 -0
  90. package/dist/types/src/components/Panel/CloseButton.d.ts +5 -0
  91. package/dist/types/src/components/Panel/CloseButton.d.ts.map +1 -0
  92. package/dist/types/src/components/Panel/CloseButton.js +21 -0
  93. package/dist/types/src/components/Panel/CloseButton.js.map +1 -0
  94. package/dist/types/src/components/Panel/Emoji.d.ts +7 -0
  95. package/dist/types/src/components/Panel/Emoji.d.ts.map +1 -0
  96. package/dist/types/src/components/Panel/Emoji.js +24 -0
  97. package/dist/types/src/components/Panel/Emoji.js.map +1 -0
  98. package/dist/types/src/components/Panel/Heading.d.ts +16 -0
  99. package/dist/types/src/components/Panel/Heading.d.ts.map +1 -0
  100. package/dist/types/src/components/Panel/Heading.js +39 -0
  101. package/dist/types/src/components/Panel/Heading.js.map +1 -0
  102. package/dist/types/src/components/Panel/Input.d.ts +11 -0
  103. package/dist/types/src/components/Panel/Input.d.ts.map +1 -0
  104. package/dist/types/src/components/Panel/Input.js +19 -0
  105. package/dist/types/src/components/Panel/Input.js.map +1 -0
  106. package/dist/types/src/components/Panel/Label.d.ts +4 -0
  107. package/dist/types/src/components/Panel/Label.d.ts.map +1 -0
  108. package/dist/types/src/components/Panel/Label.js +17 -0
  109. package/dist/types/src/components/Panel/Label.js.map +1 -0
  110. package/dist/types/src/components/Panel/Panel.stories.d.ts +13 -0
  111. package/dist/types/src/components/Panel/Panel.stories.d.ts.map +1 -0
  112. package/dist/types/src/components/Panel/Panel.stories.js +44 -0
  113. package/dist/types/src/components/Panel/Panel.stories.js.map +1 -0
  114. package/dist/types/src/components/Panel/StepHeading.d.ts +5 -0
  115. package/dist/types/src/components/Panel/StepHeading.d.ts.map +1 -0
  116. package/dist/types/src/components/Panel/StepHeading.js +35 -0
  117. package/dist/types/src/components/Panel/StepHeading.js.map +1 -0
  118. package/dist/types/src/components/Panel/index.d.ts +9 -0
  119. package/dist/types/src/components/Panel/index.d.ts.map +1 -0
  120. package/dist/types/src/components/Panel/index.js +28 -0
  121. package/dist/types/src/components/Panel/index.js.map +1 -0
  122. package/dist/types/src/components/SpaceListItem.d.ts +7 -0
  123. package/dist/types/src/components/SpaceListItem.d.ts.map +1 -0
  124. package/dist/types/src/components/SpaceListItem.js +46 -0
  125. package/dist/types/src/components/SpaceListItem.js.map +1 -0
  126. package/dist/types/src/components/StorybookDialog.d.ts +6 -0
  127. package/dist/types/src/components/StorybookDialog.d.ts.map +1 -0
  128. package/dist/types/src/components/StorybookDialog.js +23 -0
  129. package/dist/types/src/components/StorybookDialog.js.map +1 -0
  130. package/dist/types/src/components/Viewport/Viewport.d.ts +39 -0
  131. package/dist/types/src/components/Viewport/Viewport.d.ts.map +1 -0
  132. package/dist/types/src/components/Viewport/Viewport.js +73 -0
  133. package/dist/types/src/components/Viewport/Viewport.js.map +1 -0
  134. package/dist/types/src/components/Viewport/Viewport.stories.d.ts +17 -0
  135. package/dist/types/src/components/Viewport/Viewport.stories.d.ts.map +1 -0
  136. package/dist/types/src/components/Viewport/Viewport.stories.js +51 -0
  137. package/dist/types/src/components/Viewport/Viewport.stories.js.map +1 -0
  138. package/dist/types/src/components/Viewport/index.d.ts +2 -0
  139. package/dist/types/src/components/Viewport/index.d.ts.map +1 -0
  140. package/dist/types/src/components/Viewport/index.js +21 -0
  141. package/dist/types/src/components/Viewport/index.js.map +1 -0
  142. package/dist/types/src/components/index.d.ts +9 -0
  143. package/dist/types/src/components/index.d.ts.map +1 -0
  144. package/dist/types/src/components/index.js +28 -0
  145. package/dist/types/src/components/index.js.map +1 -0
  146. package/dist/types/src/composites/IdentityDialog/IdentityDialog.d.ts +7 -0
  147. package/dist/types/src/composites/IdentityDialog/IdentityDialog.d.ts.map +1 -0
  148. package/dist/types/src/composites/IdentityDialog/IdentityDialog.js +26 -0
  149. package/dist/types/src/composites/IdentityDialog/IdentityDialog.js.map +1 -0
  150. package/dist/types/src/composites/IdentityDialog/index.d.ts +2 -0
  151. package/dist/types/src/composites/IdentityDialog/index.d.ts.map +1 -0
  152. package/dist/types/src/composites/IdentityDialog/index.js +21 -0
  153. package/dist/types/src/composites/IdentityDialog/index.js.map +1 -0
  154. package/dist/types/src/composites/JoinDialog/JoinDialog.d.ts +6 -0
  155. package/dist/types/src/composites/JoinDialog/JoinDialog.d.ts.map +1 -0
  156. package/dist/types/src/composites/JoinDialog/JoinDialog.js +27 -0
  157. package/dist/types/src/composites/JoinDialog/JoinDialog.js.map +1 -0
  158. package/dist/types/src/composites/JoinDialog/index.d.ts +2 -0
  159. package/dist/types/src/composites/JoinDialog/index.d.ts.map +1 -0
  160. package/dist/types/src/composites/JoinDialog/index.js +21 -0
  161. package/dist/types/src/composites/JoinDialog/index.js.map +1 -0
  162. package/dist/types/src/composites/Shell/Shell.d.ts +6 -0
  163. package/dist/types/src/composites/Shell/Shell.d.ts.map +1 -0
  164. package/dist/types/src/composites/Shell/Shell.js +90 -0
  165. package/dist/types/src/composites/Shell/Shell.js.map +1 -0
  166. package/dist/types/src/composites/Shell/ShellContext.d.ts +30 -0
  167. package/dist/types/src/composites/Shell/ShellContext.d.ts.map +1 -0
  168. package/dist/types/src/composites/Shell/ShellContext.js +129 -0
  169. package/dist/types/src/composites/Shell/ShellContext.js.map +1 -0
  170. package/dist/types/src/composites/Shell/index.d.ts +4 -0
  171. package/dist/types/src/composites/Shell/index.d.ts.map +1 -0
  172. package/dist/types/src/composites/Shell/index.js +23 -0
  173. package/dist/types/src/composites/Shell/index.js.map +1 -0
  174. package/dist/types/src/composites/Shell/memory-shell-runtime.d.ts +16 -0
  175. package/dist/types/src/composites/Shell/memory-shell-runtime.d.ts.map +1 -0
  176. package/dist/types/src/composites/Shell/memory-shell-runtime.js +38 -0
  177. package/dist/types/src/composites/Shell/memory-shell-runtime.js.map +1 -0
  178. package/dist/types/src/composites/Shell/run-shell.d.ts +3 -0
  179. package/dist/types/src/composites/Shell/run-shell.d.ts.map +1 -0
  180. package/dist/types/src/composites/Shell/run-shell.js +54 -0
  181. package/dist/types/src/composites/Shell/run-shell.js.map +1 -0
  182. package/dist/types/src/composites/SpaceDialog/SpaceDialog.d.ts +6 -0
  183. package/dist/types/src/composites/SpaceDialog/SpaceDialog.d.ts.map +1 -0
  184. package/dist/types/src/composites/SpaceDialog/SpaceDialog.js +26 -0
  185. package/dist/types/src/composites/SpaceDialog/SpaceDialog.js.map +1 -0
  186. package/dist/types/src/composites/SpaceDialog/index.d.ts +2 -0
  187. package/dist/types/src/composites/SpaceDialog/index.d.ts.map +1 -0
  188. package/dist/types/src/composites/SpaceDialog/index.js +21 -0
  189. package/dist/types/src/composites/SpaceDialog/index.js.map +1 -0
  190. package/dist/types/src/composites/index.d.ts +5 -0
  191. package/dist/types/src/composites/index.d.ts.map +1 -0
  192. package/dist/types/src/composites/index.js +24 -0
  193. package/dist/types/src/composites/index.js.map +1 -0
  194. package/dist/types/src/index.d.ts +3 -0
  195. package/dist/types/src/index.d.ts.map +1 -0
  196. package/dist/types/src/index.js +10 -0
  197. package/dist/types/src/index.js.map +1 -0
  198. package/dist/types/src/panels/IdentityPanel/IdentityPanel.d.ts +4 -0
  199. package/dist/types/src/panels/IdentityPanel/IdentityPanel.d.ts.map +1 -0
  200. package/dist/types/src/panels/IdentityPanel/IdentityPanel.js +124 -0
  201. package/dist/types/src/panels/IdentityPanel/IdentityPanel.js.map +1 -0
  202. package/dist/types/src/panels/IdentityPanel/IdentityPanel.stories.d.ts +22 -0
  203. package/dist/types/src/panels/IdentityPanel/IdentityPanel.stories.d.ts.map +1 -0
  204. package/dist/types/src/panels/IdentityPanel/IdentityPanel.stories.js +86 -0
  205. package/dist/types/src/panels/IdentityPanel/IdentityPanel.stories.js.map +1 -0
  206. package/dist/types/src/panels/IdentityPanel/IdentityPanelProps.d.ts +27 -0
  207. package/dist/types/src/panels/IdentityPanel/IdentityPanelProps.d.ts.map +1 -0
  208. package/dist/types/src/panels/IdentityPanel/IdentityPanelProps.js +6 -0
  209. package/dist/types/src/panels/IdentityPanel/IdentityPanelProps.js.map +1 -0
  210. package/dist/types/src/panels/IdentityPanel/identityMachine.d.ts +46 -0
  211. package/dist/types/src/panels/IdentityPanel/identityMachine.d.ts.map +1 -0
  212. package/dist/types/src/panels/IdentityPanel/identityMachine.js +79 -0
  213. package/dist/types/src/panels/IdentityPanel/identityMachine.js.map +1 -0
  214. package/dist/types/src/panels/IdentityPanel/index.d.ts +3 -0
  215. package/dist/types/src/panels/IdentityPanel/index.d.ts.map +1 -0
  216. package/dist/types/src/panels/IdentityPanel/index.js +22 -0
  217. package/dist/types/src/panels/IdentityPanel/index.js.map +1 -0
  218. package/dist/types/src/panels/IdentityPanel/steps/IdentityActionChooser.d.ts +9 -0
  219. package/dist/types/src/panels/IdentityPanel/steps/IdentityActionChooser.d.ts.map +1 -0
  220. package/dist/types/src/panels/IdentityPanel/steps/IdentityActionChooser.js +85 -0
  221. package/dist/types/src/panels/IdentityPanel/steps/IdentityActionChooser.js.map +1 -0
  222. package/dist/types/src/panels/IdentityPanel/steps/ProfileForm.d.ts +15 -0
  223. package/dist/types/src/panels/IdentityPanel/steps/ProfileForm.d.ts.map +1 -0
  224. package/dist/types/src/panels/IdentityPanel/steps/ProfileForm.js +62 -0
  225. package/dist/types/src/panels/IdentityPanel/steps/ProfileForm.js.map +1 -0
  226. package/dist/types/src/panels/IdentityPanel/steps/index.d.ts +3 -0
  227. package/dist/types/src/panels/IdentityPanel/steps/index.d.ts.map +1 -0
  228. package/dist/types/src/panels/IdentityPanel/steps/index.js +22 -0
  229. package/dist/types/src/panels/IdentityPanel/steps/index.js.map +1 -0
  230. package/dist/types/src/panels/JoinPanel/JoinHeading.d.ts +10 -0
  231. package/dist/types/src/panels/JoinPanel/JoinHeading.d.ts.map +1 -0
  232. package/dist/types/src/panels/JoinPanel/JoinHeading.js +45 -0
  233. package/dist/types/src/panels/JoinPanel/JoinHeading.js.map +1 -0
  234. package/dist/types/src/panels/JoinPanel/JoinPanel.d.ts +4 -0
  235. package/dist/types/src/panels/JoinPanel/JoinPanel.d.ts.map +1 -0
  236. package/dist/types/src/panels/JoinPanel/JoinPanel.js +293 -0
  237. package/dist/types/src/panels/JoinPanel/JoinPanel.js.map +1 -0
  238. package/dist/types/src/panels/JoinPanel/JoinPanel.stories.d.ts +92 -0
  239. package/dist/types/src/panels/JoinPanel/JoinPanel.stories.d.ts.map +1 -0
  240. package/dist/types/src/panels/JoinPanel/JoinPanel.stories.js +74 -0
  241. package/dist/types/src/panels/JoinPanel/JoinPanel.stories.js.map +1 -0
  242. package/dist/types/src/panels/JoinPanel/JoinPanelProps.d.ts +91 -0
  243. package/dist/types/src/panels/JoinPanel/JoinPanelProps.d.ts.map +1 -0
  244. package/dist/types/src/panels/JoinPanel/JoinPanelProps.js +6 -0
  245. package/dist/types/src/panels/JoinPanel/JoinPanelProps.js.map +1 -0
  246. package/dist/types/src/panels/JoinPanel/index.d.ts +3 -0
  247. package/dist/types/src/panels/JoinPanel/index.d.ts.map +1 -0
  248. package/dist/types/src/panels/JoinPanel/index.js +22 -0
  249. package/dist/types/src/panels/JoinPanel/index.js.map +1 -0
  250. package/dist/types/src/panels/JoinPanel/joinMachine.d.ts +87 -0
  251. package/dist/types/src/panels/JoinPanel/joinMachine.d.ts.map +1 -0
  252. package/dist/types/src/panels/JoinPanel/joinMachine.js +402 -0
  253. package/dist/types/src/panels/JoinPanel/joinMachine.js.map +1 -0
  254. package/dist/types/src/panels/JoinPanel/steps/AdditionMethodChooser.d.ts +4 -0
  255. package/dist/types/src/panels/JoinPanel/steps/AdditionMethodChooser.d.ts.map +1 -0
  256. package/dist/types/src/panels/JoinPanel/steps/AdditionMethodChooser.js +34 -0
  257. package/dist/types/src/panels/JoinPanel/steps/AdditionMethodChooser.js.map +1 -0
  258. package/dist/types/src/panels/JoinPanel/steps/IdentityAdded.d.ts +8 -0
  259. package/dist/types/src/panels/JoinPanel/steps/IdentityAdded.d.ts.map +1 -0
  260. package/dist/types/src/panels/JoinPanel/steps/IdentityAdded.js +56 -0
  261. package/dist/types/src/panels/JoinPanel/steps/IdentityAdded.js.map +1 -0
  262. package/dist/types/src/panels/JoinPanel/steps/IdentityInput.d.ts +12 -0
  263. package/dist/types/src/panels/JoinPanel/steps/IdentityInput.d.ts.map +1 -0
  264. package/dist/types/src/panels/JoinPanel/steps/IdentityInput.js +67 -0
  265. package/dist/types/src/panels/JoinPanel/steps/IdentityInput.js.map +1 -0
  266. package/dist/types/src/panels/JoinPanel/steps/InvitationAccepted.d.ts +9 -0
  267. package/dist/types/src/panels/JoinPanel/steps/InvitationAccepted.d.ts.map +1 -0
  268. package/dist/types/src/panels/JoinPanel/steps/InvitationAccepted.js +44 -0
  269. package/dist/types/src/panels/JoinPanel/steps/InvitationAccepted.js.map +1 -0
  270. package/dist/types/src/panels/JoinPanel/steps/InvitationAuthenticator.d.ts +11 -0
  271. package/dist/types/src/panels/JoinPanel/steps/InvitationAuthenticator.d.ts.map +1 -0
  272. package/dist/types/src/panels/JoinPanel/steps/InvitationAuthenticator.js +72 -0
  273. package/dist/types/src/panels/JoinPanel/steps/InvitationAuthenticator.js.map +1 -0
  274. package/dist/types/src/panels/JoinPanel/steps/InvitationInput.d.ts +8 -0
  275. package/dist/types/src/panels/JoinPanel/steps/InvitationInput.d.ts.map +1 -0
  276. package/dist/types/src/panels/JoinPanel/steps/InvitationInput.js +68 -0
  277. package/dist/types/src/panels/JoinPanel/steps/InvitationInput.js.map +1 -0
  278. package/dist/types/src/panels/JoinPanel/steps/InvitationRescuer.d.ts +11 -0
  279. package/dist/types/src/panels/JoinPanel/steps/InvitationRescuer.d.ts.map +1 -0
  280. package/dist/types/src/panels/JoinPanel/steps/InvitationRescuer.js +49 -0
  281. package/dist/types/src/panels/JoinPanel/steps/InvitationRescuer.js.map +1 -0
  282. package/dist/types/src/panels/JoinPanel/steps/ResetIdentity.d.ts +12 -0
  283. package/dist/types/src/panels/JoinPanel/steps/ResetIdentity.d.ts.map +1 -0
  284. package/dist/types/src/panels/JoinPanel/steps/ResetIdentity.js +63 -0
  285. package/dist/types/src/panels/JoinPanel/steps/ResetIdentity.js.map +1 -0
  286. package/dist/types/src/panels/JoinPanel/steps/index.d.ts +9 -0
  287. package/dist/types/src/panels/JoinPanel/steps/index.d.ts.map +1 -0
  288. package/dist/types/src/panels/JoinPanel/steps/index.js +28 -0
  289. package/dist/types/src/panels/JoinPanel/steps/index.js.map +1 -0
  290. package/dist/types/src/panels/Panels.stories.d.ts +22 -0
  291. package/dist/types/src/panels/Panels.stories.d.ts.map +1 -0
  292. package/dist/types/src/panels/Panels.stories.js +71 -0
  293. package/dist/types/src/panels/Panels.stories.js.map +1 -0
  294. package/dist/types/src/panels/SpacePanel/SpacePanel.d.ts +4 -0
  295. package/dist/types/src/panels/SpacePanel/SpacePanel.d.ts.map +1 -0
  296. package/dist/types/src/panels/SpacePanel/SpacePanel.js +93 -0
  297. package/dist/types/src/panels/SpacePanel/SpacePanel.js.map +1 -0
  298. package/dist/types/src/panels/SpacePanel/SpacePanel.stories.d.ts +30 -0
  299. package/dist/types/src/panels/SpacePanel/SpacePanel.stories.d.ts.map +1 -0
  300. package/dist/types/src/panels/SpacePanel/SpacePanel.stories.js +183 -0
  301. package/dist/types/src/panels/SpacePanel/SpacePanel.stories.js.map +1 -0
  302. package/dist/types/src/panels/SpacePanel/SpacePanelProps.d.ts +30 -0
  303. package/dist/types/src/panels/SpacePanel/SpacePanelProps.d.ts.map +1 -0
  304. package/dist/types/src/panels/SpacePanel/SpacePanelProps.js +6 -0
  305. package/dist/types/src/panels/SpacePanel/SpacePanelProps.js.map +1 -0
  306. package/dist/types/src/panels/SpacePanel/index.d.ts +3 -0
  307. package/dist/types/src/panels/SpacePanel/index.d.ts.map +1 -0
  308. package/dist/types/src/panels/SpacePanel/index.js +22 -0
  309. package/dist/types/src/panels/SpacePanel/index.js.map +1 -0
  310. package/dist/types/src/panels/SpacePanel/spaceMachine.d.ts +35 -0
  311. package/dist/types/src/panels/SpacePanel/spaceMachine.d.ts.map +1 -0
  312. package/dist/types/src/panels/SpacePanel/spaceMachine.js +46 -0
  313. package/dist/types/src/panels/SpacePanel/spaceMachine.js.map +1 -0
  314. package/dist/types/src/panels/SpacePanel/steps/SpaceManager.d.ts +15 -0
  315. package/dist/types/src/panels/SpacePanel/steps/SpaceManager.d.ts.map +1 -0
  316. package/dist/types/src/panels/SpacePanel/steps/SpaceManager.js +120 -0
  317. package/dist/types/src/panels/SpacePanel/steps/SpaceManager.js.map +1 -0
  318. package/dist/types/src/panels/SpacePanel/steps/index.d.ts +2 -0
  319. package/dist/types/src/panels/SpacePanel/steps/index.d.ts.map +1 -0
  320. package/dist/types/src/panels/SpacePanel/steps/index.js +21 -0
  321. package/dist/types/src/panels/SpacePanel/steps/index.js.map +1 -0
  322. package/dist/types/src/panels/index.d.ts +4 -0
  323. package/dist/types/src/panels/index.d.ts.map +1 -0
  324. package/dist/types/src/panels/index.js +23 -0
  325. package/dist/types/src/panels/index.js.map +1 -0
  326. package/dist/types/src/playwright/invitations-manager.d.ts +26 -0
  327. package/dist/types/src/playwright/invitations-manager.d.ts.map +1 -0
  328. package/dist/types/src/playwright/invitations-manager.js +142 -0
  329. package/dist/types/src/playwright/invitations-manager.js.map +1 -0
  330. package/dist/types/src/playwright/invitations.spec.d.ts +2 -0
  331. package/dist/types/src/playwright/invitations.spec.d.ts.map +1 -0
  332. package/dist/types/src/playwright/invitations.spec.js +298 -0
  333. package/dist/types/src/playwright/invitations.spec.js.map +1 -0
  334. package/dist/types/src/playwright/playwright.config.d.ts +3 -0
  335. package/dist/types/src/playwright/playwright.config.d.ts.map +1 -0
  336. package/dist/types/src/playwright/playwright.config.js +8 -0
  337. package/dist/types/src/playwright/playwright.config.js.map +1 -0
  338. package/dist/types/src/react.d.ts +6 -0
  339. package/dist/types/src/react.d.ts.map +1 -0
  340. package/dist/types/src/react.js +25 -0
  341. package/dist/types/src/react.js.map +1 -0
  342. package/dist/types/src/steps/InvitationManager.d.ts +7 -0
  343. package/dist/types/src/steps/InvitationManager.d.ts.map +1 -0
  344. package/dist/types/src/steps/InvitationManager.js +80 -0
  345. package/dist/types/src/steps/InvitationManager.js.map +1 -0
  346. package/dist/types/src/steps/StepProps.d.ts +14 -0
  347. package/dist/types/src/steps/StepProps.d.ts.map +1 -0
  348. package/dist/types/src/steps/StepProps.js +6 -0
  349. package/dist/types/src/steps/StepProps.js.map +1 -0
  350. package/dist/types/src/steps/index.d.ts +3 -0
  351. package/dist/types/src/steps/index.d.ts.map +1 -0
  352. package/dist/types/src/steps/index.js +22 -0
  353. package/dist/types/src/steps/index.js.map +1 -0
  354. package/dist/types/src/stories/Invitations.e2e-stories.d.ts +22 -0
  355. package/dist/types/src/stories/Invitations.e2e-stories.d.ts.map +1 -0
  356. package/dist/types/src/stories/Invitations.e2e-stories.js +146 -0
  357. package/dist/types/src/stories/Invitations.e2e-stories.js.map +1 -0
  358. package/dist/types/src/styles/index.d.ts +3 -0
  359. package/dist/types/src/styles/index.d.ts.map +1 -0
  360. package/dist/types/src/styles/index.js +22 -0
  361. package/dist/types/src/styles/index.js.map +1 -0
  362. package/dist/types/src/styles/invitationStatusStyles.d.ts +20 -0
  363. package/dist/types/src/styles/invitationStatusStyles.d.ts.map +1 -0
  364. package/dist/types/src/styles/invitationStatusStyles.js +41 -0
  365. package/dist/types/src/styles/invitationStatusStyles.js.map +1 -0
  366. package/dist/types/src/styles/panelStyles.d.ts +2 -0
  367. package/dist/types/src/styles/panelStyles.d.ts.map +1 -0
  368. package/dist/types/src/styles/panelStyles.js +8 -0
  369. package/dist/types/src/styles/panelStyles.js.map +1 -0
  370. package/dist/types/src/testing/fixtures/identities.d.ts +3 -0
  371. package/dist/types/src/testing/fixtures/identities.d.ts.map +1 -0
  372. package/dist/types/src/testing/fixtures/identities.js +18 -0
  373. package/dist/types/src/testing/fixtures/identities.js.map +1 -0
  374. package/dist/types/src/testing/fixtures/index.d.ts +3 -0
  375. package/dist/types/src/testing/fixtures/index.d.ts.map +1 -0
  376. package/dist/types/src/testing/fixtures/index.js +22 -0
  377. package/dist/types/src/testing/fixtures/index.js.map +1 -0
  378. package/dist/types/src/testing/fixtures/invitations.d.ts +3 -0
  379. package/dist/types/src/testing/fixtures/invitations.d.ts.map +1 -0
  380. package/dist/types/src/testing/fixtures/invitations.js +25 -0
  381. package/dist/types/src/testing/fixtures/invitations.js.map +1 -0
  382. package/dist/types/src/testing/index.d.ts +4 -0
  383. package/dist/types/src/testing/index.d.ts.map +1 -0
  384. package/dist/types/src/testing/index.js +23 -0
  385. package/dist/types/src/testing/index.js.map +1 -0
  386. package/dist/types/src/testing/scoped-shell-manager.d.ts +17 -0
  387. package/dist/types/src/testing/scoped-shell-manager.d.ts.map +1 -0
  388. package/dist/types/src/testing/scoped-shell-manager.js +71 -0
  389. package/dist/types/src/testing/scoped-shell-manager.js.map +1 -0
  390. package/dist/types/src/testing/shell-manager.d.ts +24 -0
  391. package/dist/types/src/testing/shell-manager.d.ts.map +1 -0
  392. package/dist/types/src/testing/shell-manager.js +85 -0
  393. package/dist/types/src/testing/shell-manager.js.map +1 -0
  394. package/dist/types/src/translations/index.d.ts +5 -0
  395. package/dist/types/src/translations/index.d.ts.map +1 -0
  396. package/dist/types/src/translations/index.js +32 -0
  397. package/dist/types/src/translations/index.js.map +1 -0
  398. package/dist/types/src/translations/locales/en-US.d.ts +97 -0
  399. package/dist/types/src/translations/locales/en-US.d.ts.map +1 -0
  400. package/dist/types/src/translations/locales/en-US.js +103 -0
  401. package/dist/types/src/translations/locales/en-US.js.map +1 -0
  402. package/dist/types/src/types/FailReason.d.ts +2 -0
  403. package/dist/types/src/types/FailReason.d.ts.map +1 -0
  404. package/dist/types/src/types/FailReason.js +6 -0
  405. package/dist/types/src/types/FailReason.js.map +1 -0
  406. package/dist/types/src/types/IInvitation.d.ts +7 -0
  407. package/dist/types/src/types/IInvitation.d.ts.map +1 -0
  408. package/dist/types/src/types/IInvitation.js +6 -0
  409. package/dist/types/src/types/IInvitation.js.map +1 -0
  410. package/dist/types/src/types/index.d.ts +3 -0
  411. package/dist/types/src/types/index.d.ts.map +1 -0
  412. package/dist/types/src/types/index.js +22 -0
  413. package/dist/types/src/types/index.js.map +1 -0
  414. package/dist/types/src/util/index.d.ts +3 -0
  415. package/dist/types/src/util/index.d.ts.map +1 -0
  416. package/dist/types/src/util/index.js +22 -0
  417. package/dist/types/src/util/index.js.map +1 -0
  418. package/dist/types/src/util/invitationStatusValue.d.ts +8 -0
  419. package/dist/types/src/util/invitationStatusValue.d.ts.map +1 -0
  420. package/dist/types/src/util/invitationStatusValue.js +24 -0
  421. package/dist/types/src/util/invitationStatusValue.js.map +1 -0
  422. package/dist/types/src/util/toEmoji.d.ts +2 -0
  423. package/dist/types/src/util/toEmoji.d.ts.map +1 -0
  424. package/dist/types/src/util/toEmoji.js +26 -0
  425. package/dist/types/src/util/toEmoji.js.map +1 -0
  426. package/package.json +79 -0
  427. package/src/components/AuthCode.tsx +36 -0
  428. package/src/components/Clipboard/ClipboardProvider.tsx +26 -0
  429. package/src/components/Clipboard/CopyButton.tsx +70 -0
  430. package/src/components/Clipboard/index.ts +6 -0
  431. package/src/components/CompoundButton/CompoundButton.stories.tsx +49 -0
  432. package/src/components/CompoundButton/CompoundButton.tsx +89 -0
  433. package/src/components/CompoundButton/index.ts +5 -0
  434. package/src/components/IdentityList/DeviceList.tsx +45 -0
  435. package/src/components/IdentityList/IdentityListItem.tsx +42 -0
  436. package/src/components/IdentityList/SpaceMemberList.stories.tsx +24 -0
  437. package/src/components/IdentityList/SpaceMemberList.tsx +65 -0
  438. package/src/components/IdentityList/index.ts +7 -0
  439. package/src/components/InvitationList/InvitationList.stories.tsx +44 -0
  440. package/src/components/InvitationList/InvitationList.tsx +31 -0
  441. package/src/components/InvitationList/InvitationListContainer.tsx +27 -0
  442. package/src/components/InvitationList/InvitationListItem.tsx +183 -0
  443. package/src/components/InvitationList/InvitationListProps.ts +9 -0
  444. package/src/components/InvitationList/index.ts +7 -0
  445. package/src/components/Panel/Action.tsx +142 -0
  446. package/src/components/Panel/Actions.tsx +31 -0
  447. package/src/components/Panel/CloseButton.tsx +24 -0
  448. package/src/components/Panel/Emoji.tsx +36 -0
  449. package/src/components/Panel/Heading.tsx +32 -0
  450. package/src/components/Panel/Input.tsx +27 -0
  451. package/src/components/Panel/Label.tsx +14 -0
  452. package/src/components/Panel/Panel.stories.tsx +52 -0
  453. package/src/components/Panel/StepHeading.tsx +17 -0
  454. package/src/components/Panel/index.ts +12 -0
  455. package/src/components/SpaceListItem.tsx +35 -0
  456. package/src/components/StorybookDialog.tsx +33 -0
  457. package/src/components/Viewport/Viewport.stories.tsx +66 -0
  458. package/src/components/Viewport/Viewport.tsx +120 -0
  459. package/src/components/Viewport/index.tsx +5 -0
  460. package/src/components/index.ts +12 -0
  461. package/src/composites/IdentityDialog/IdentityDialog.tsx +39 -0
  462. package/src/composites/IdentityDialog/index.ts +5 -0
  463. package/src/composites/JoinDialog/JoinDialog.tsx +40 -0
  464. package/src/composites/JoinDialog/index.ts +5 -0
  465. package/src/composites/Shell/Shell.tsx +98 -0
  466. package/src/composites/Shell/ShellContext.tsx +163 -0
  467. package/src/composites/Shell/index.ts +7 -0
  468. package/src/composites/Shell/memory-shell-runtime.ts +50 -0
  469. package/src/composites/Shell/run-shell.tsx +38 -0
  470. package/src/composites/SpaceDialog/SpaceDialog.tsx +37 -0
  471. package/src/composites/SpaceDialog/index.ts +5 -0
  472. package/src/composites/index.ts +8 -0
  473. package/src/index.ts +7 -0
  474. package/src/panels/IdentityPanel/IdentityPanel.stories.tsx +113 -0
  475. package/src/panels/IdentityPanel/IdentityPanel.tsx +158 -0
  476. package/src/panels/IdentityPanel/IdentityPanelProps.ts +36 -0
  477. package/src/panels/IdentityPanel/identityMachine.ts +131 -0
  478. package/src/panels/IdentityPanel/index.ts +6 -0
  479. package/src/panels/IdentityPanel/steps/IdentityActionChooser.tsx +96 -0
  480. package/src/panels/IdentityPanel/steps/ProfileForm.tsx +79 -0
  481. package/src/panels/IdentityPanel/steps/index.ts +6 -0
  482. package/src/panels/JoinPanel/JoinHeading.tsx +49 -0
  483. package/src/panels/JoinPanel/JoinPanel.stories.tsx +91 -0
  484. package/src/panels/JoinPanel/JoinPanel.tsx +415 -0
  485. package/src/panels/JoinPanel/JoinPanelProps.ts +132 -0
  486. package/src/panels/JoinPanel/index.ts +6 -0
  487. package/src/panels/JoinPanel/joinMachine.ts +536 -0
  488. package/src/panels/JoinPanel/steps/AdditionMethodChooser.tsx +65 -0
  489. package/src/panels/JoinPanel/steps/IdentityAdded.tsx +75 -0
  490. package/src/panels/JoinPanel/steps/IdentityInput.tsx +86 -0
  491. package/src/panels/JoinPanel/steps/InvitationAccepted.tsx +43 -0
  492. package/src/panels/JoinPanel/steps/InvitationAuthenticator.tsx +99 -0
  493. package/src/panels/JoinPanel/steps/InvitationInput.tsx +102 -0
  494. package/src/panels/JoinPanel/steps/InvitationRescuer.tsx +102 -0
  495. package/src/panels/JoinPanel/steps/ResetIdentity.tsx +71 -0
  496. package/src/panels/JoinPanel/steps/index.ts +12 -0
  497. package/src/panels/Panels.stories.tsx +61 -0
  498. package/src/panels/SpacePanel/SpacePanel.stories.tsx +328 -0
  499. package/src/panels/SpacePanel/SpacePanel.tsx +122 -0
  500. package/src/panels/SpacePanel/SpacePanelProps.ts +40 -0
  501. package/src/panels/SpacePanel/index.ts +6 -0
  502. package/src/panels/SpacePanel/spaceMachine.ts +72 -0
  503. package/src/panels/SpacePanel/steps/SpaceManager.tsx +157 -0
  504. package/src/panels/SpacePanel/steps/index.ts +5 -0
  505. package/src/panels/index.ts +7 -0
  506. package/src/playwright/invitations-manager.ts +168 -0
  507. package/src/playwright/invitations.spec.ts +364 -0
  508. package/src/playwright/playwright.config.ts +7 -0
  509. package/src/react.ts +9 -0
  510. package/src/steps/InvitationManager.tsx +116 -0
  511. package/src/steps/StepProps.ts +17 -0
  512. package/src/steps/index.ts +6 -0
  513. package/src/stories/Invitations.e2e-stories.tsx +231 -0
  514. package/src/styles/index.ts +6 -0
  515. package/src/styles/invitationStatusStyles.ts +42 -0
  516. package/src/styles/panelStyles.ts +5 -0
  517. package/src/testing/fixtures/identities.ts +16 -0
  518. package/src/testing/fixtures/index.ts +6 -0
  519. package/src/testing/fixtures/invitations.ts +23 -0
  520. package/src/testing/index.ts +7 -0
  521. package/src/testing/scoped-shell-manager.ts +79 -0
  522. package/src/testing/shell-manager.ts +102 -0
  523. package/src/translations/index.ts +7 -0
  524. package/src/translations/locales/en-US.ts +101 -0
  525. package/src/types/FailReason.ts +5 -0
  526. package/src/types/IInvitation.ts +14 -0
  527. package/src/types/index.ts +6 -0
  528. package/src/util/index.ts +6 -0
  529. package/src/util/invitationStatusValue.ts +22 -0
  530. package/src/util/toEmoji.ts +22 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JoinDialog.js","sourceRoot":"","sources":["../../../../../src/composites/JoinDialog/JoinDialog.tsx"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,kDAA0B;AAE1B,6CAAqG;AAErG,yCAA8D;AAMvD,MAAM,UAAU,GAAG,CAAC,cAA+B,EAAE,EAAE;IAC5D,MAAM,OAAO,GAAG,IAAA,gBAAK,EAAC,mBAAmB,CAAC,CAAC;IAC3C,iEAAiE;IACjE,MAAM,EAAE,MAAM,EAAE,GAAG,IAAA,4BAAiB,GAAE,CAAC;IACvC,OAAO,CACL,8BAAC,sBAAW,CAAC,IAAI,IACf,WAAW,QACX,YAAY,EAAE,CAAC,IAAI,EAAE,EAAE,WAAC,OAAA,IAAI,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,cAAc,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,MAAA,cAAc,CAAC,MAAM,+DAAG,IAAI,CAAC,CAAC,CAAA,EAAA;QAEjH,8BAAC,sBAAW,CAAC,MAAM;YACjB,8BAAC,sBAAW,CAAC,OAAO,IAAC,UAAU,EAAC,eAAe,KAAK,CAAC,MAAM,IAAI,EAAE,KAAK,EAAE,EAAE,SAAS,EAAE,GAAG,MAAM,IAAI,EAAE,EAAE,CAAC;gBACrG,8BAAC,sBAAW,CAAC,OAAO,uBAAkB,OAAO;oBAC3C,8BAAC,kBAAS,IAEN,GAAG,cAAc;wBACjB,OAAO;wBACP,gBAAgB,EAAE,CAAC,sBAAW,CAAC,MAAM,CAAC,OAAO,EAAG;wBAChD,gBAAgB,EAAE,CAAC,sBAAW,CAAC,MAAM,CAAC,OAAO,EAAG,GAElD,CACkB,CACF,CACH,CACJ,CACpB,CAAC;AACJ,CAAC,CAAC;AAzBW,QAAA,UAAU,cAyBrB"}
@@ -0,0 +1,2 @@
1
+ export * from './JoinDialog';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/composites/JoinDialog/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ //
3
+ // Copyright 2023 DXOS.org
4
+ //
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
17
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
18
+ };
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ __exportStar(require("./JoinDialog"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/composites/JoinDialog/index.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;;;;;;;;;;;AAEF,+CAA6B"}
@@ -0,0 +1,6 @@
1
+ import { type ShellRuntime } from '@dxos/react-client';
2
+ export declare const Shell: ({ runtime, origin }: {
3
+ runtime: ShellRuntime;
4
+ origin: string;
5
+ }) => JSX.Element | null;
6
+ //# sourceMappingURL=Shell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Shell.d.ts","sourceRoot":"","sources":["../../../../../src/composites/Shell/Shell.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAiD,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAOtG,eAAO,MAAM,KAAK;aAAoC,YAAY;YAAU,MAAM;wBAmFjF,CAAC"}
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+ //
3
+ // Copyright 2023 DXOS.org
4
+ //
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Shell = void 0;
30
+ const react_1 = __importStar(require("react"));
31
+ const log_1 = require("@dxos/log");
32
+ const react_client_1 = require("@dxos/react-client");
33
+ const echo_1 = require("@dxos/react-client/echo");
34
+ const IdentityDialog_1 = require("../IdentityDialog");
35
+ const JoinDialog_1 = require("../JoinDialog");
36
+ const SpaceDialog_1 = require("../SpaceDialog");
37
+ const Shell = ({ runtime, origin }) => {
38
+ const [{ layout, invitationCode, spaceKey }, setLayout] = (0, react_1.useState)({
39
+ layout: runtime.layout,
40
+ invitationCode: runtime.invitationCode,
41
+ spaceKey: runtime.spaceKey,
42
+ });
43
+ const space = (0, echo_1.useSpace)(spaceKey);
44
+ (0, react_1.useEffect)(() => {
45
+ return runtime.layoutUpdate.on((request) => setLayout(request));
46
+ }, [runtime]);
47
+ (0, react_1.useEffect)(() => {
48
+ if (layout === react_client_1.ShellLayout.SPACE && !space) {
49
+ log_1.log.warn('No space found for shell space invitations.');
50
+ const timeout = setTimeout(async () => {
51
+ await runtime.setAppContext({ display: react_client_1.ShellDisplay.NONE });
52
+ runtime.setLayout({ layout: react_client_1.ShellLayout.DEFAULT });
53
+ });
54
+ return () => clearTimeout(timeout);
55
+ }
56
+ }, [runtime, layout, space]);
57
+ switch (layout) {
58
+ case react_client_1.ShellLayout.INITIALIZE_IDENTITY:
59
+ return (react_1.default.createElement(JoinDialog_1.JoinDialog, { mode: 'halo-only', initialInvitationCode: invitationCode, onDone: () => {
60
+ void runtime.setAppContext({ display: react_client_1.ShellDisplay.NONE });
61
+ runtime.setLayout({ layout: react_client_1.ShellLayout.DEFAULT });
62
+ } }));
63
+ // TODO(wittjosiah): Jump straight to specific step if SHARE or EDIT are specified.
64
+ case react_client_1.ShellLayout.IDENTITY:
65
+ case react_client_1.ShellLayout.SHARE_IDENTITY:
66
+ case react_client_1.ShellLayout.EDIT_PROFILE:
67
+ return (react_1.default.createElement(IdentityDialog_1.IdentityDialog, { createInvitationUrl: (invitationCode) => `${origin}?deviceInvitationCode=${invitationCode}`, onDone: async () => {
68
+ await runtime.setAppContext({ display: react_client_1.ShellDisplay.NONE });
69
+ runtime.setLayout({ layout: react_client_1.ShellLayout.DEFAULT });
70
+ } }));
71
+ case react_client_1.ShellLayout.SPACE:
72
+ return space ? (react_1.default.createElement(SpaceDialog_1.SpaceDialog, { space: space, createInvitationUrl: (invitationCode) => `${origin}?spaceInvitationCode=${invitationCode}`, onDone: async () => {
73
+ await runtime.setAppContext({ display: react_client_1.ShellDisplay.NONE });
74
+ runtime.setLayout({ layout: react_client_1.ShellLayout.DEFAULT });
75
+ } })) : null;
76
+ case react_client_1.ShellLayout.JOIN_SPACE:
77
+ return (react_1.default.createElement(JoinDialog_1.JoinDialog, { initialInvitationCode: invitationCode, onDone: async (result) => {
78
+ var _a;
79
+ await runtime.setAppContext({ display: react_client_1.ShellDisplay.NONE, spaceKey: (_a = result === null || result === void 0 ? void 0 : result.spaceKey) !== null && _a !== void 0 ? _a : undefined });
80
+ runtime.setLayout({ layout: react_client_1.ShellLayout.DEFAULT });
81
+ }, onExit: async () => {
82
+ await runtime.setAppContext({ display: react_client_1.ShellDisplay.NONE });
83
+ runtime.setLayout({ layout: react_client_1.ShellLayout.DEFAULT });
84
+ } }));
85
+ default:
86
+ return null;
87
+ }
88
+ };
89
+ exports.Shell = Shell;
90
+ //# sourceMappingURL=Shell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Shell.js","sourceRoot":"","sources":["../../../../../src/composites/Shell/Shell.tsx"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;AAEF,+CAAmD;AAEnD,mCAAgC;AAChC,qDAAsG;AACtG,kDAAmD;AAEnD,sDAAmD;AACnD,8CAA2C;AAC3C,gDAA6C;AAEtC,MAAM,KAAK,GAAG,CAAC,EAAE,OAAO,EAAE,MAAM,EAA6C,EAAE,EAAE;IACtF,MAAM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M,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE;;oBACvB,MAAM,OAAO,CAAC,aAAa,CAAC,EAAE,OAAO,EAAE,2BAAY,CAAC,IAAI,EAAE,QAAQ,EAAE,MAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,QAAQ,mCAAI,SAAS,EAAE,CAAC,CAAC;oBACrG,OAAO,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,0BAAW,CAAC,OAAO,EAAE,CAAC,CAAC;gBACrD,CAAC,EACD,MAAM,EAAE,KAAK,IAAI,EAAE;oBACjB,MAAM,OAAO,CAAC,aAAa,CAAC,EAAE,OAAO,EAAE,2BAAY,CAAC,IAAI,EAAE,CAAC,CAAC;oBAC5D,OAAO,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,0BAAW,CAAC,OAAO,EAAE,CAAC,CAAC;gBACrD,CAAC,GACD,CACH,CAAC;QAEJ;YACE,OAAO,IAAI,CAAC;KACf;AACH,CAAC,CAAC;AAnFW,QAAA,KAAK,SAmFhB"}
@@ -0,0 +1,30 @@
1
+ import { type Context, type PropsWithChildren } from 'react';
2
+ import { type PublicKey, ShellDisplay, ShellLayout, type LayoutRequest } from '@dxos/react-client';
3
+ import type { Space } from '@dxos/react-client/echo';
4
+ import { MemoryShellRuntime } from './memory-shell-runtime';
5
+ export type ShellContextProps = {
6
+ runtime?: MemoryShellRuntime;
7
+ setDisplay?: (display: ShellDisplay) => void;
8
+ };
9
+ export declare const ShellContext: Context<ShellContextProps>;
10
+ type SetLayout = (layout: ShellLayout, options?: Omit<LayoutRequest, 'layout'>) => void;
11
+ /**
12
+ * @deprecated
13
+ */
14
+ export declare const useShell: () => {
15
+ setLayout: SetLayout;
16
+ };
17
+ export type ShellProviderProps = PropsWithChildren<{
18
+ space?: Space;
19
+ deviceInvitationCode?: string | null;
20
+ spaceInvitationCode?: string | null;
21
+ onJoinedSpace?: (spaceKey?: PublicKey) => void;
22
+ }>;
23
+ /**
24
+ * Renders the DXOS shell and provides a way to set the layout of the shell from the rest of the app.
25
+ *
26
+ * @deprecated
27
+ */
28
+ export declare const ShellProvider: ({ space, deviceInvitationCode, spaceInvitationCode, onJoinedSpace, children, }: ShellProviderProps) => JSX.Element;
29
+ export {};
30
+ //# sourceMappingURL=ShellContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShellContext.d.ts","sourceRoot":"","sources":["../../../../../src/composites/Shell/ShellContext.tsx"],"names":[],"mappings":"AAIA,OAAc,EACZ,KAAK,OAAO,EAEZ,KAAK,iBAAiB,EAMvB,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,KAAK,SAAS,EAAE,YAAY,EAAE,WAAW,EAAa,KAAK,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAC9G,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAKrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE5D,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;CAC9C,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,OAAO,CAAC,iBAAiB,CAAwC,CAAC;AAE7F,KAAK,SAAS,GAAG,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,QAAQ,CAAC,KAAK,IAAI,CAAC;AAExF;;GAEG;AACH,eAAO,MAAM,QAAQ;eAAoB,SAAS;CAqBjD,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,CAAC;IACjD,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,aAAa,CAAC,EAAE,CAAC,QAAQ,CAAC,EAAE,SAAS,KAAK,IAAI,CAAC;CAChD,CAAC,CAAC;AAEH;;;;GAIG;AAEH,eAAO,MAAM,aAAa,mFAMvB,kBAAkB,gBAqFpB,CAAC"}
@@ -0,0 +1,129 @@
1
+ "use strict";
2
+ //
3
+ // Copyright 2023 DXOS.org
4
+ //
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.ShellProvider = exports.useShell = exports.ShellContext = void 0;
30
+ const react_1 = __importStar(require("react"));
31
+ const react_client_1 = require("@dxos/react-client");
32
+ const halo_1 = require("@dxos/react-client/halo");
33
+ const react_ui_theme_1 = require("@dxos/react-ui-theme");
34
+ const Shell_1 = require("./Shell");
35
+ const memory_shell_runtime_1 = require("./memory-shell-runtime");
36
+ exports.ShellContext = (0, react_1.createContext)({});
37
+ /**
38
+ * @deprecated
39
+ */
40
+ const useShell = () => {
41
+ const client = (0, react_client_1.useClient)();
42
+ const { runtime, setDisplay } = (0, react_1.useContext)(exports.ShellContext);
43
+ const setLayout = async (layout, options) => {
44
+ if (runtime) {
45
+ if (layout === react_client_1.ShellLayout.DEFAULT) {
46
+ setDisplay === null || setDisplay === void 0 ? void 0 : setDisplay(react_client_1.ShellDisplay.NONE);
47
+ }
48
+ else {
49
+ setDisplay === null || setDisplay === void 0 ? void 0 : setDisplay(react_client_1.ShellDisplay.FULLSCREEN);
50
+ }
51
+ runtime.setLayout({ layout, ...options });
52
+ }
53
+ await client.shell.open(layout, options);
54
+ };
55
+ return {
56
+ setLayout,
57
+ };
58
+ };
59
+ exports.useShell = useShell;
60
+ /**
61
+ * Renders the DXOS shell and provides a way to set the layout of the shell from the rest of the app.
62
+ *
63
+ * @deprecated
64
+ */
65
+ // TODO(wittjosiah): Remove? Is MemoryShellRuntime needed? We now can use shell with monolithic client.
66
+ const ShellProvider = ({ space, deviceInvitationCode, spaceInvitationCode, onJoinedSpace, children, }) => {
67
+ const client = (0, react_client_1.useClient)();
68
+ //
69
+ // Component Shell
70
+ //
71
+ const identity = (0, halo_1.useIdentity)();
72
+ const [display, setDisplay] = (0, react_1.useState)(!identity || spaceInvitationCode || deviceInvitationCode ? react_client_1.ShellDisplay.FULLSCREEN : react_client_1.ShellDisplay.NONE);
73
+ const shellRuntime = (0, react_1.useMemo)(() => {
74
+ if (client.config.get('runtime.app.env.DX_VAULT') !== 'false') {
75
+ return;
76
+ }
77
+ if (spaceInvitationCode) {
78
+ return new memory_shell_runtime_1.MemoryShellRuntime({
79
+ layout: react_client_1.ShellLayout.JOIN_SPACE,
80
+ invitationCode: spaceInvitationCode,
81
+ });
82
+ }
83
+ if (deviceInvitationCode) {
84
+ return new memory_shell_runtime_1.MemoryShellRuntime({
85
+ layout: react_client_1.ShellLayout.INITIALIZE_IDENTITY,
86
+ invitationCode: deviceInvitationCode,
87
+ });
88
+ }
89
+ return new memory_shell_runtime_1.MemoryShellRuntime({ layout: identity ? react_client_1.ShellLayout.DEFAULT : react_client_1.ShellLayout.INITIALIZE_IDENTITY });
90
+ }, [client, identity, spaceInvitationCode, deviceInvitationCode]);
91
+ const handleKeyDown = (0, react_1.useCallback)((event) => {
92
+ if (!space || !shellRuntime) {
93
+ return;
94
+ }
95
+ const modifier = event.ctrlKey || event.metaKey;
96
+ if (event.key === '>' && event.shiftKey && modifier) {
97
+ shellRuntime.setLayout({ layout: react_client_1.ShellLayout.SHARE_IDENTITY });
98
+ setDisplay(react_client_1.ShellDisplay.FULLSCREEN);
99
+ }
100
+ else if (event.key === '.' && modifier) {
101
+ shellRuntime.setLayout({ layout: react_client_1.ShellLayout.SPACE, spaceKey: space.key });
102
+ setDisplay(react_client_1.ShellDisplay.FULLSCREEN);
103
+ }
104
+ }, [space, shellRuntime]);
105
+ (0, react_1.useEffect)(() => {
106
+ if (!shellRuntime) {
107
+ return;
108
+ }
109
+ window.addEventListener('keydown', handleKeyDown);
110
+ return () => window.removeEventListener('keydown', handleKeyDown);
111
+ }, [shellRuntime, handleKeyDown]);
112
+ (0, react_1.useEffect)(() => {
113
+ if (!shellRuntime) {
114
+ return;
115
+ }
116
+ return shellRuntime.contextUpdate.on(({ display, spaceKey }) => {
117
+ if (display) {
118
+ setDisplay(display);
119
+ }
120
+ onJoinedSpace === null || onJoinedSpace === void 0 ? void 0 : onJoinedSpace(spaceKey);
121
+ });
122
+ }, [shellRuntime]);
123
+ return (react_1.default.createElement(react_1.default.Fragment, null,
124
+ shellRuntime && (react_1.default.createElement("div", { className: (0, react_ui_theme_1.mx)(display === react_client_1.ShellDisplay.NONE ? 'hidden' : '') },
125
+ react_1.default.createElement(Shell_1.Shell, { runtime: shellRuntime, origin: window.location.origin }))),
126
+ react_1.default.createElement(exports.ShellContext.Provider, { value: { runtime: shellRuntime, setDisplay } }, children)));
127
+ };
128
+ exports.ShellProvider = ShellProvider;
129
+ //# sourceMappingURL=ShellContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShellContext.js","sourceRoot":"","sources":["../../../../../src/composites/Shell/ShellContext.tsx"],"names":[],"mappings":";AAAA,EAAE;A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C,EAAE,CAAC;YAC/D,8BAAC,aAAK,IAAC,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,GAAI,CAC5D,CACP;QAED,8BAAC,oBAAY,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,IAAG,QAAQ,CAAyB,CACtG,CACJ,CAAC;AACJ,CAAC,CAAC;AA3FW,QAAA,aAAa,iBA2FxB"}
@@ -0,0 +1,4 @@
1
+ export * from './run-shell';
2
+ export * from './Shell';
3
+ export * from './ShellContext';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/composites/Shell/index.ts"],"names":[],"mappings":"AAIA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC"}
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ //
3
+ // Copyright 2023 DXOS.org
4
+ //
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
17
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
18
+ };
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ __exportStar(require("./run-shell"), exports);
21
+ __exportStar(require("./Shell"), exports);
22
+ __exportStar(require("./ShellContext"), exports);
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/composites/Shell/index.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;;;;;;;;;;;AAEF,8CAA4B;AAC5B,0CAAwB;AACxB,iDAA+B"}
@@ -0,0 +1,16 @@
1
+ import { Event } from '@dxos/async';
2
+ import { type AppContextRequest, type LayoutRequest, type PublicKey, ShellLayout, type ShellRuntime } from '@dxos/react-client';
3
+ export declare class MemoryShellRuntime implements ShellRuntime {
4
+ readonly layoutUpdate: Event<LayoutRequest>;
5
+ readonly contextUpdate: Event<AppContextRequest>;
6
+ private _layout;
7
+ private _invitationCode?;
8
+ private _spaceKey?;
9
+ constructor({ layout, invitationCode, spaceKey }?: Partial<LayoutRequest> & Partial<AppContextRequest>);
10
+ get layout(): ShellLayout;
11
+ get invitationCode(): string | undefined;
12
+ get spaceKey(): PublicKey | undefined;
13
+ setLayout(request: LayoutRequest): void;
14
+ setAppContext(context: AppContextRequest): Promise<void>;
15
+ }
16
+ //# sourceMappingURL=memory-shell-runtime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"memory-shell-runtime.d.ts","sourceRoot":"","sources":["../../../../../src/composites/Shell/memory-shell-runtime.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,WAAW,EACX,KAAK,YAAY,EAClB,MAAM,oBAAoB,CAAC;AAG5B,qBAAa,kBAAmB,YAAW,YAAY;IACrD,QAAQ,CAAC,YAAY,uBAA8B;IACnD,QAAQ,CAAC,aAAa,2BAAkC;IACxD,OAAO,CAAC,OAAO,CAAc;IAC7B,OAAO,CAAC,eAAe,CAAC,CAAS;IACjC,OAAO,CAAC,SAAS,CAAC,CAAY;gBAElB,EAAE,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,GAAE,OAAO,CAAC,aAAa,CAAC,GAAG,OAAO,CAAC,iBAAiB,CAAM;IAM1G,IAAI,MAAM,gBAET;IAED,IAAI,cAAc,uBAEjB;IAED,IAAI,QAAQ,0BAEX;IAED,SAAS,CAAC,OAAO,EAAE,aAAa;IAO1B,aAAa,CAAC,OAAO,EAAE,iBAAiB;CAG/C"}
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ //
3
+ // Copyright 2023 DXOS.org
4
+ //
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.MemoryShellRuntime = void 0;
7
+ const async_1 = require("@dxos/async");
8
+ const react_client_1 = require("@dxos/react-client");
9
+ // TODO(wittjosiah): Remove?
10
+ class MemoryShellRuntime {
11
+ constructor({ layout, invitationCode, spaceKey } = {}) {
12
+ this.layoutUpdate = new async_1.Event();
13
+ this.contextUpdate = new async_1.Event();
14
+ this._layout = layout !== null && layout !== void 0 ? layout : react_client_1.ShellLayout.DEFAULT;
15
+ this._invitationCode = invitationCode;
16
+ this._spaceKey = spaceKey;
17
+ }
18
+ get layout() {
19
+ return this._layout;
20
+ }
21
+ get invitationCode() {
22
+ return this._invitationCode;
23
+ }
24
+ get spaceKey() {
25
+ return this._spaceKey;
26
+ }
27
+ setLayout(request) {
28
+ this._layout = request.layout;
29
+ this._invitationCode = request.invitationCode;
30
+ this._spaceKey = request.spaceKey;
31
+ this.layoutUpdate.emit(request);
32
+ }
33
+ async setAppContext(context) {
34
+ this.contextUpdate.emit(context);
35
+ }
36
+ }
37
+ exports.MemoryShellRuntime = MemoryShellRuntime;
38
+ //# sourceMappingURL=memory-shell-runtime.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"memory-shell-runtime.js","sourceRoot":"","sources":["../../../../../src/composites/Shell/memory-shell-runtime.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;AAEF,uCAAoC;AACpC,qDAM4B;AAE5B,4BAA4B;AAC5B,MAAa,kBAAkB;IAO7B,YAAY,EAAE,MAAM,EAAE,cAAc,EAAE,QAAQ,KAA0D,EAAE;QANjG,iBAAY,GAAG,IAAI,aAAK,EAAiB,CAAC;QAC1C,kBAAa,GAAG,IAAI,aAAK,EAAqB,CAAC;QAMtD,IAAI,CAAC,OAAO,GAAG,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,0BAAW,CAAC,OAAO,CAAC;QAC7C,IAAI,CAAC,eAAe,GAAG,cAAc,CAAC;QACtC,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;IAC5B,CAAC;IAED,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED,IAAI,cAAc;QAChB,OAAO,IAAI,CAAC,eAAe,CAAC;IAC9B,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED,SAAS,CAAC,OAAsB;QAC9B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC;QAC9B,IAAI,CAAC,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC;QAC9C,IAAI,CAAC,SAAS,GAAG,OAAO,CAAC,QAAQ,CAAC;QAClC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAClC,CAAC;IAED,KAAK,CAAC,aAAa,CAAC,OAA0B;QAC5C,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACnC,CAAC;CACF;AAnCD,gDAmCC"}
@@ -0,0 +1,3 @@
1
+ import { Config } from '@dxos/react-client';
2
+ export declare const runShell: (config?: Config) => Promise<void>;
3
+ //# sourceMappingURL=run-shell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-shell.d.ts","sourceRoot":"","sources":["../../../../../src/composites/Shell/run-shell.tsx"],"names":[],"mappings":"AASA,OAAO,EAA8C,MAAM,EAAgB,MAAM,oBAAoB,CAAC;AAStG,eAAO,MAAM,QAAQ,YAAkB,MAAM,kBAmB5C,CAAC"}
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ //
3
+ // Copyright 2023 DXOS.org
4
+ //
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.runShell = void 0;
30
+ const react_1 = __importStar(require("react"));
31
+ const client_1 = require("react-dom/client");
32
+ const client_protocol_1 = require("@dxos/client-protocol");
33
+ const client_services_1 = require("@dxos/client-services");
34
+ const react_client_1 = require("@dxos/react-client");
35
+ const react_ui_1 = require("@dxos/react-ui");
36
+ const react_ui_theme_1 = require("@dxos/react-ui-theme");
37
+ const rpc_tunnel_1 = require("@dxos/rpc-tunnel");
38
+ const Shell_1 = require("./Shell");
39
+ const components_1 = require("../../components");
40
+ const translations_1 = require("../../translations");
41
+ const runShell = async (config = new react_client_1.Config()) => {
42
+ const services = new react_client_1.ClientServicesProxy((0, rpc_tunnel_1.createIFramePort)({ channel: client_protocol_1.DEFAULT_CLIENT_CHANNEL }));
43
+ const client = new react_client_1.Client({ config, services });
44
+ const runtime = new client_services_1.ShellRuntimeImpl((0, rpc_tunnel_1.createIFramePort)({ channel: client_protocol_1.DEFAULT_SHELL_CHANNEL }));
45
+ await Promise.all([runtime.open(), client.initialize()]);
46
+ (0, client_1.createRoot)(document.getElementById('root')).render(react_1.default.createElement(react_1.StrictMode, null,
47
+ react_1.default.createElement(react_ui_1.ThemeProvider, { tx: react_ui_theme_1.defaultTx, resourceExtensions: [translations_1.osTranslations] },
48
+ react_1.default.createElement(react_client_1.ClientContext.Provider, { value: { client, status: react_client_1.SystemStatus.ACTIVE } },
49
+ react_1.default.createElement(components_1.ClipboardProvider, null,
50
+ react_1.default.createElement(react_ui_1.Tooltip.Provider, null,
51
+ react_1.default.createElement(Shell_1.Shell, { runtime: runtime, origin: location.origin })))))));
52
+ };
53
+ exports.runShell = runShell;
54
+ //# sourceMappingURL=run-shell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"run-shell.js","sourceRoot":"","sources":["../../../../../src/composites/Shell/run-shell.tsx"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;AAEF,+CAA0C;AAC1C,6CAA8C;AAE9C,2DAAsF;AACtF,2DAAyD;AACzD,qDAAsG;AACtG,6CAAwD;AACxD,yDAAiD;AACjD,iDAAoD;AAEpD,mCAAgC;AAChC,iDAAqD;AACrD,qDAAoD;AAE7C,MAAM,QAAQ,GAAG,KAAK,EAAE,SAAiB,IAAI,qBAAM,EAAE,EAAE,EAAE;IAC9D,MAAM,QAAQ,GAAG,IAAI,kCAAmB,CAAC,IAAA,6BAAgB,EAAC,EAAE,OAAO,EAAE,wCAAsB,EAAE,CAAC,CAAC,CAAC;IAChG,MAAM,MAAM,GAAG,IAAI,qBAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;IAChD,MAAM,OAAO,GAAG,IAAI,kCAAgB,CAAC,IAAA,6BAAgB,EAAC,EAAE,OAAO,EAAE,uCAAqB,EAAE,CAAC,CAAC,CAAC;IAC3F,MAAM,OAAO,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,MAAM,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;IAEzD,IAAA,mBAAU,EAAC,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAE,CAAC,CAAC,MAAM,CACjD,8BAAC,kBAAU;QACT,8BAAC,wBAAa,IAAC,EAAE,EAAE,0BAAS,EAAE,kBAAkB,EAAE,CAAC,6BAAc,CAAC;YAChE,8BAAC,4BAAa,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,2BAAY,CAAC,MAAM,EAAE;gBACpE,8BAAC,8BAAiB;oBAChB,8BAAC,kBAAO,CAAC,QAAQ;wBACf,8BAAC,aAAK,IAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,MAAM,GAAI,CACnC,CACD,CACG,CACX,CACL,CACd,CAAC;AACJ,CAAC,CAAC;AAnBW,QAAA,QAAQ,YAmBnB"}
@@ -0,0 +1,6 @@
1
+ import { type DialogContentProps } from '@dxos/react-ui';
2
+ import { type SpacePanelProps } from '../../panels';
3
+ export interface SpaceDialogProps extends Omit<DialogContentProps, 'children'>, Omit<SpacePanelProps, 'doneActionParent'> {
4
+ }
5
+ export declare const SpaceDialog: (spacePanelProps: SpaceDialogProps) => JSX.Element;
6
+ //# sourceMappingURL=SpaceDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpaceDialog.d.ts","sourceRoot":"","sources":["../../../../../src/composites/SpaceDialog/SpaceDialog.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAU,KAAK,kBAAkB,EAAS,MAAM,gBAAgB,CAAC;AAGxE,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAEhE,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC,EAC1C,IAAI,CAAC,eAAe,EAAE,kBAAkB,CAAC;CAAG;AAEhD,eAAO,MAAM,WAAW,oBAAqB,gBAAgB,gBAqB5D,CAAC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ //
3
+ // Copyright 2023 DXOS.org
4
+ //
5
+ var __importDefault = (this && this.__importDefault) || function (mod) {
6
+ return (mod && mod.__esModule) ? mod : { "default": mod };
7
+ };
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.SpaceDialog = void 0;
10
+ const react_1 = __importDefault(require("react"));
11
+ const react_ui_1 = require("@dxos/react-ui");
12
+ const components_1 = require("../../components");
13
+ const panels_1 = require("../../panels");
14
+ const SpaceDialog = (spacePanelProps) => {
15
+ const titleId = (0, react_ui_1.useId)('spaceDialog__title');
16
+ return (react_1.default.createElement(react_ui_1.Dialog.Root, { defaultOpen: true, onOpenChange: (open) => { var _a; return open || ((_a = spacePanelProps.onDone) === null || _a === void 0 ? void 0 : _a.call(spacePanelProps)); } },
17
+ react_1.default.createElement(react_ui_1.Dialog.Portal, null,
18
+ react_1.default.createElement(react_ui_1.Dialog.Overlay, null,
19
+ react_1.default.createElement(react_ui_1.Dialog.Content, { "aria-labelledby": titleId },
20
+ react_1.default.createElement(components_1.ClipboardProvider, null,
21
+ react_1.default.createElement(panels_1.SpacePanel, { ...spacePanelProps,
22
+ titleId,
23
+ doneActionParent: <react_ui_1.Dialog.Close asChild/> })))))));
24
+ };
25
+ exports.SpaceDialog = SpaceDialog;
26
+ //# sourceMappingURL=SpaceDialog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpaceDialog.js","sourceRoot":"","sources":["../../../../../src/composites/SpaceDialog/SpaceDialog.tsx"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;AAEF,kDAA0B;AAE1B,6CAAwE;AAExE,iDAAqD;AACrD,yCAAgE;AAMzD,MAAM,WAAW,GAAG,CAAC,eAAiC,EAAE,EAAE;IAC/D,MAAM,OAAO,GAAG,IAAA,gBAAK,EAAC,oBAAoB,CAAC,CAAC;IAC5C,OAAO,CACL,8BAAC,iBAAM,CAAC,IAAI,IAAC,WAAW,QAAC,YAAY,EAAE,CAAC,IAAI,EAAE,EAAE,WAAC,OAAA,IAAI,KAAI,MAAA,eAAe,CAAC,MAAM,+DAAI,CAAA,CAAA,EAAA;QACjF,8BAAC,iBAAM,CAAC,MAAM;YACZ,8BAAC,iBAAM,CAAC,OAAO;gBACb,8BAAC,iBAAM,CAAC,OAAO,uBAAkB,OAAO;oBACtC,8BAAC,8BAAiB;wBAChB,8BAAC,mBAAU,IAEP,GAAG,eAAe;4BAClB,OAAO;4BACP,gBAAgB,EAAE,CAAC,iBAAM,CAAC,KAAK,CAAC,OAAO,EAAG,GAE5C,CACgB,CACL,CACF,CACH,CACJ,CACf,CAAC;AACJ,CAAC,CAAC;AArBW,QAAA,WAAW,eAqBtB"}
@@ -0,0 +1,2 @@
1
+ export * from './SpaceDialog';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/composites/SpaceDialog/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ //
3
+ // Copyright 2023 DXOS.org
4
+ //
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
17
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
18
+ };
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ __exportStar(require("./SpaceDialog"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/composites/SpaceDialog/index.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;;;;;;;;;;;AAEF,gDAA8B"}
@@ -0,0 +1,5 @@
1
+ export * from './IdentityDialog';
2
+ export * from './JoinDialog';
3
+ export * from './Shell';
4
+ export * from './SpaceDialog';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ //
3
+ // Copyright 2022 DXOS.org
4
+ //
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
17
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
18
+ };
19
+ Object.defineProperty(exports, "__esModule", { value: true });
20
+ __exportStar(require("./IdentityDialog"), exports);
21
+ __exportStar(require("./JoinDialog"), exports);
22
+ __exportStar(require("./Shell"), exports);
23
+ __exportStar(require("./SpaceDialog"), exports);
24
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/composites/index.ts"],"names":[],"mappings":";AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;;;;;;;;;;;;;;;;AAEF,mDAAiC;AACjC,+CAA6B;AAC7B,0CAAwB;AACxB,gDAA8B"}
@@ -0,0 +1,3 @@
1
+ import '@dxosTheme';
2
+ export { runShell } from './composites';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;AAEpB,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC"}