@dxos/plugin-simple-layout 0.8.4-main.69d29f4 → 0.8.4-main.8360d9e660

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 (192) hide show
  1. package/dist/lib/browser/chunk-2YSUM2L4.mjs +1153 -0
  2. package/dist/lib/browser/chunk-2YSUM2L4.mjs.map +7 -0
  3. package/dist/lib/browser/{chunk-CLPGTNWJ.mjs → chunk-MRR7PXSM.mjs} +5 -5
  4. package/dist/lib/browser/chunk-MRR7PXSM.mjs.map +7 -0
  5. package/dist/lib/browser/index.mjs +27 -20
  6. package/dist/lib/browser/index.mjs.map +3 -3
  7. package/dist/lib/browser/meta.json +1 -1
  8. package/dist/lib/browser/{operation-resolver-LTB63NKP.mjs → operation-resolver-LV5FK6MN.mjs} +46 -19
  9. package/dist/lib/browser/operation-resolver-LV5FK6MN.mjs.map +7 -0
  10. package/dist/lib/browser/{react-root-6ARAPH3O.mjs → react-root-JR6OENXV.mjs} +5 -5
  11. package/dist/lib/browser/react-root-JR6OENXV.mjs.map +7 -0
  12. package/dist/lib/browser/{react-surface-SO7B23GS.mjs → react-surface-5JOPIP5Z.mjs} +18 -13
  13. package/dist/lib/browser/react-surface-5JOPIP5Z.mjs.map +7 -0
  14. package/dist/lib/browser/{spotlight-dismiss-VSNOPETH.mjs → spotlight-dismiss-67PHYS5B.mjs} +3 -3
  15. package/dist/lib/browser/spotlight-dismiss-67PHYS5B.mjs.map +7 -0
  16. package/dist/lib/browser/{state-H4IGICBB.mjs → state-TXSMUWYI.mjs} +8 -5
  17. package/dist/lib/browser/state-TXSMUWYI.mjs.map +7 -0
  18. package/dist/lib/browser/url-handler-RBRONH7S.mjs +151 -0
  19. package/dist/lib/browser/url-handler-RBRONH7S.mjs.map +7 -0
  20. package/dist/lib/node-esm/chunk-RCQE6FR2.mjs +1154 -0
  21. package/dist/lib/node-esm/chunk-RCQE6FR2.mjs.map +7 -0
  22. package/dist/lib/node-esm/{chunk-MUVVYBUE.mjs → chunk-WMNTJ2MK.mjs} +5 -5
  23. package/dist/lib/node-esm/chunk-WMNTJ2MK.mjs.map +7 -0
  24. package/dist/lib/node-esm/index.mjs +27 -20
  25. package/dist/lib/node-esm/index.mjs.map +3 -3
  26. package/dist/lib/node-esm/meta.json +1 -1
  27. package/dist/lib/node-esm/{operation-resolver-7O6O7T4Q.mjs → operation-resolver-FD3EF2LX.mjs} +46 -19
  28. package/dist/lib/node-esm/operation-resolver-FD3EF2LX.mjs.map +7 -0
  29. package/dist/lib/node-esm/{react-root-2CPA2ZUS.mjs → react-root-CRTCNH3F.mjs} +5 -5
  30. package/dist/lib/node-esm/react-root-CRTCNH3F.mjs.map +7 -0
  31. package/dist/lib/node-esm/{react-surface-FKAV56MO.mjs → react-surface-NRTDSGFB.mjs} +18 -13
  32. package/dist/lib/node-esm/react-surface-NRTDSGFB.mjs.map +7 -0
  33. package/dist/lib/node-esm/{spotlight-dismiss-L5PCWIJG.mjs → spotlight-dismiss-RMLRZUVY.mjs} +3 -3
  34. package/dist/lib/node-esm/spotlight-dismiss-RMLRZUVY.mjs.map +7 -0
  35. package/dist/lib/node-esm/{state-QIU2LMLT.mjs → state-JMX6FAG4.mjs} +8 -5
  36. package/dist/lib/node-esm/state-JMX6FAG4.mjs.map +7 -0
  37. package/dist/lib/node-esm/url-handler-QSMCH3JB.mjs +152 -0
  38. package/dist/lib/node-esm/url-handler-QSMCH3JB.mjs.map +7 -0
  39. package/dist/types/src/SimpleLayoutPlugin.d.ts.map +1 -1
  40. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +2 -2
  41. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +1 -1
  42. package/dist/types/src/capabilities/react-root/react-root.d.ts +1 -1
  43. package/dist/types/src/capabilities/react-root/react-root.d.ts.map +1 -1
  44. package/dist/types/src/capabilities/react-surface/index.d.ts +1 -1
  45. package/dist/types/src/capabilities/react-surface/index.d.ts.map +1 -1
  46. package/dist/types/src/capabilities/react-surface/react-surface.d.ts +2 -2
  47. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -1
  48. package/dist/types/src/capabilities/spotlight-dismiss/index.d.ts +1 -1
  49. package/dist/types/src/capabilities/spotlight-dismiss/index.d.ts.map +1 -1
  50. package/dist/types/src/capabilities/spotlight-dismiss/spotlight-dismiss.d.ts +1 -1
  51. package/dist/types/src/capabilities/spotlight-dismiss/spotlight-dismiss.d.ts.map +1 -1
  52. package/dist/types/src/capabilities/state/index.d.ts +1 -1
  53. package/dist/types/src/capabilities/state/state.d.ts +1 -1
  54. package/dist/types/src/capabilities/state/state.d.ts.map +1 -1
  55. package/dist/types/src/capabilities/url-handler/url-handler.d.ts +5 -3
  56. package/dist/types/src/capabilities/url-handler/url-handler.d.ts.map +1 -1
  57. package/dist/types/src/components/ContentError.stories.d.ts +7 -3
  58. package/dist/types/src/components/ContentError.stories.d.ts.map +1 -1
  59. package/dist/types/src/components/ContentLoading/ContentLoading.d.ts.map +1 -0
  60. package/dist/types/src/components/ContentLoading/ContentLoading.stories.d.ts.map +1 -0
  61. package/dist/types/src/components/ContentLoading/index.d.ts +2 -0
  62. package/dist/types/src/components/ContentLoading/index.d.ts.map +1 -0
  63. package/dist/types/src/components/Home/Home.d.ts.map +1 -1
  64. package/dist/types/src/components/MobileLayout/MobileLayout.d.ts +35 -0
  65. package/dist/types/src/components/MobileLayout/MobileLayout.d.ts.map +1 -0
  66. package/dist/types/src/components/MobileLayout/MobileLayout.stories.d.ts +7 -0
  67. package/dist/types/src/components/MobileLayout/MobileLayout.stories.d.ts.map +1 -0
  68. package/dist/types/src/components/MobileLayout/index.d.ts +2 -0
  69. package/dist/types/src/components/MobileLayout/index.d.ts.map +1 -0
  70. package/dist/types/src/components/NavBranch/NavBranch.d.ts +11 -0
  71. package/dist/types/src/components/NavBranch/NavBranch.d.ts.map +1 -0
  72. package/dist/types/src/components/NavBranch/index.d.ts +2 -0
  73. package/dist/types/src/components/NavBranch/index.d.ts.map +1 -0
  74. package/dist/types/src/components/Popover/Popover.d.ts.map +1 -1
  75. package/dist/types/src/components/SimpleLayout/AppBar.d.ts +26 -0
  76. package/dist/types/src/components/SimpleLayout/AppBar.d.ts.map +1 -0
  77. package/dist/types/src/components/SimpleLayout/AppBar.stories.d.ts +47 -0
  78. package/dist/types/src/components/SimpleLayout/AppBar.stories.d.ts.map +1 -0
  79. package/dist/types/src/components/SimpleLayout/Drawer.d.ts +9 -0
  80. package/dist/types/src/components/SimpleLayout/Drawer.d.ts.map +1 -0
  81. package/dist/types/src/components/SimpleLayout/Main.d.ts +1 -1
  82. package/dist/types/src/components/SimpleLayout/Main.d.ts.map +1 -1
  83. package/dist/types/src/components/SimpleLayout/NavBar.d.ts +13 -3
  84. package/dist/types/src/components/SimpleLayout/NavBar.d.ts.map +1 -1
  85. package/dist/types/src/components/SimpleLayout/NavBar.stories.d.ts +13 -9
  86. package/dist/types/src/components/SimpleLayout/NavBar.stories.d.ts.map +1 -1
  87. package/dist/types/src/components/SimpleLayout/SimpleLayout.d.ts.map +1 -1
  88. package/dist/types/src/components/SimpleLayout/SimpleLayout.stories.d.ts +10 -0
  89. package/dist/types/src/components/SimpleLayout/SimpleLayout.stories.d.ts.map +1 -1
  90. package/dist/types/src/components/SimpleLayout/index.d.ts +3 -0
  91. package/dist/types/src/components/SimpleLayout/index.d.ts.map +1 -1
  92. package/dist/types/src/components/hooks.d.ts +4 -2
  93. package/dist/types/src/components/hooks.d.ts.map +1 -1
  94. package/dist/types/src/components/index.d.ts +2 -1
  95. package/dist/types/src/components/index.d.ts.map +1 -1
  96. package/dist/types/src/hooks/actions.d.ts +19 -0
  97. package/dist/types/src/hooks/actions.d.ts.map +1 -0
  98. package/dist/types/src/hooks/index.d.ts +5 -0
  99. package/dist/types/src/hooks/index.d.ts.map +1 -1
  100. package/dist/types/src/hooks/useAppBarProps.d.ts +7 -0
  101. package/dist/types/src/hooks/useAppBarProps.d.ts.map +1 -0
  102. package/dist/types/src/hooks/useCompanions.d.ts +12 -0
  103. package/dist/types/src/hooks/useCompanions.d.ts.map +1 -0
  104. package/dist/types/src/hooks/useDrawerActions.d.ts +13 -0
  105. package/dist/types/src/hooks/useDrawerActions.d.ts.map +1 -0
  106. package/dist/types/src/hooks/useNavbarActions.d.ts +14 -0
  107. package/dist/types/src/hooks/useNavbarActions.d.ts.map +1 -0
  108. package/dist/types/src/hooks/useSimpleLayoutState.d.ts +3 -3
  109. package/dist/types/src/hooks/useSimpleLayoutState.d.ts.map +1 -1
  110. package/dist/types/src/translations.d.ts +6 -0
  111. package/dist/types/src/translations.d.ts.map +1 -1
  112. package/dist/types/src/types/capabilities.d.ts +8 -3
  113. package/dist/types/src/types/capabilities.d.ts.map +1 -1
  114. package/dist/types/src/types/events.d.ts.map +1 -1
  115. package/dist/types/tsconfig.tsbuildinfo +1 -1
  116. package/package.json +36 -30
  117. package/src/SimpleLayoutPlugin.ts +10 -9
  118. package/src/capabilities/operation-resolver/operation-resolver.ts +44 -19
  119. package/src/capabilities/react-root/react-root.tsx +2 -2
  120. package/src/capabilities/react-surface/react-surface.tsx +14 -11
  121. package/src/capabilities/spotlight-dismiss/spotlight-dismiss.ts +2 -2
  122. package/src/capabilities/state/state.tsx +6 -3
  123. package/src/capabilities/url-handler/url-handler.ts +98 -45
  124. package/src/components/ContentError.stories.tsx +8 -7
  125. package/src/components/{ContentLoading.stories.tsx → ContentLoading/ContentLoading.stories.tsx} +2 -2
  126. package/src/components/{ContentLoading.tsx → ContentLoading/ContentLoading.tsx} +1 -1
  127. package/src/components/ContentLoading/index.ts +5 -0
  128. package/src/components/Dialog/Dialog.tsx +5 -5
  129. package/src/components/Home/Home.tsx +44 -36
  130. package/src/components/MobileLayout/MobileLayout.stories.tsx +129 -0
  131. package/src/components/MobileLayout/MobileLayout.tsx +305 -0
  132. package/src/components/MobileLayout/index.ts +5 -0
  133. package/src/components/NavBranch/NavBranch.tsx +133 -0
  134. package/src/components/{Workspace → NavBranch}/index.ts +1 -1
  135. package/src/components/Popover/Popover.tsx +7 -7
  136. package/src/components/SimpleLayout/AppBar.stories.tsx +144 -0
  137. package/src/components/SimpleLayout/AppBar.tsx +94 -0
  138. package/src/components/SimpleLayout/Drawer.tsx +96 -0
  139. package/src/components/SimpleLayout/Main.tsx +46 -45
  140. package/src/components/SimpleLayout/NavBar.stories.tsx +131 -26
  141. package/src/components/SimpleLayout/NavBar.tsx +18 -59
  142. package/src/components/SimpleLayout/SimpleLayout.stories.tsx +24 -11
  143. package/src/components/SimpleLayout/SimpleLayout.tsx +45 -6
  144. package/src/components/SimpleLayout/index.ts +3 -0
  145. package/src/components/hooks.ts +10 -14
  146. package/src/components/index.ts +2 -1
  147. package/src/hooks/actions.ts +83 -0
  148. package/src/hooks/index.ts +5 -0
  149. package/src/hooks/useAppBarProps.ts +115 -0
  150. package/src/hooks/useCompanions.ts +22 -0
  151. package/src/hooks/useDrawerActions.ts +100 -0
  152. package/src/hooks/useNavbarActions.ts +87 -0
  153. package/src/hooks/useSimpleLayoutState.ts +5 -5
  154. package/src/meta.ts +1 -1
  155. package/src/translations.ts +6 -0
  156. package/src/types/capabilities.ts +13 -4
  157. package/src/types/events.ts +3 -2
  158. package/dist/lib/browser/chunk-CLPGTNWJ.mjs.map +0 -7
  159. package/dist/lib/browser/chunk-FK4M7GJV.mjs +0 -613
  160. package/dist/lib/browser/chunk-FK4M7GJV.mjs.map +0 -7
  161. package/dist/lib/browser/operation-resolver-LTB63NKP.mjs.map +0 -7
  162. package/dist/lib/browser/react-root-6ARAPH3O.mjs.map +0 -7
  163. package/dist/lib/browser/react-surface-SO7B23GS.mjs.map +0 -7
  164. package/dist/lib/browser/spotlight-dismiss-VSNOPETH.mjs.map +0 -7
  165. package/dist/lib/browser/state-H4IGICBB.mjs.map +0 -7
  166. package/dist/lib/browser/url-handler-7CFGTLNG.mjs +0 -54
  167. package/dist/lib/browser/url-handler-7CFGTLNG.mjs.map +0 -7
  168. package/dist/lib/node-esm/chunk-EGFZAVBD.mjs +0 -614
  169. package/dist/lib/node-esm/chunk-EGFZAVBD.mjs.map +0 -7
  170. package/dist/lib/node-esm/chunk-MUVVYBUE.mjs.map +0 -7
  171. package/dist/lib/node-esm/operation-resolver-7O6O7T4Q.mjs.map +0 -7
  172. package/dist/lib/node-esm/react-root-2CPA2ZUS.mjs.map +0 -7
  173. package/dist/lib/node-esm/react-surface-FKAV56MO.mjs.map +0 -7
  174. package/dist/lib/node-esm/spotlight-dismiss-L5PCWIJG.mjs.map +0 -7
  175. package/dist/lib/node-esm/state-QIU2LMLT.mjs.map +0 -7
  176. package/dist/lib/node-esm/url-handler-4LYP3JM7.mjs +0 -55
  177. package/dist/lib/node-esm/url-handler-4LYP3JM7.mjs.map +0 -7
  178. package/dist/types/src/components/ContentError.d.ts +0 -5
  179. package/dist/types/src/components/ContentError.d.ts.map +0 -1
  180. package/dist/types/src/components/ContentLoading.d.ts.map +0 -1
  181. package/dist/types/src/components/ContentLoading.stories.d.ts.map +0 -1
  182. package/dist/types/src/components/SimpleLayout/Banner.d.ts +0 -8
  183. package/dist/types/src/components/SimpleLayout/Banner.d.ts.map +0 -1
  184. package/dist/types/src/components/Workspace/Workspace.d.ts +0 -9
  185. package/dist/types/src/components/Workspace/Workspace.d.ts.map +0 -1
  186. package/dist/types/src/components/Workspace/index.d.ts +0 -2
  187. package/dist/types/src/components/Workspace/index.d.ts.map +0 -1
  188. package/src/components/ContentError.tsx +0 -23
  189. package/src/components/SimpleLayout/Banner.tsx +0 -82
  190. package/src/components/Workspace/Workspace.tsx +0 -115
  191. /package/dist/types/src/components/{ContentLoading.d.ts → ContentLoading/ContentLoading.d.ts} +0 -0
  192. /package/dist/types/src/components/{ContentLoading.stories.d.ts → ContentLoading/ContentLoading.stories.d.ts} +0 -0
@@ -1 +1 @@
1
- {"inputs":{"src/meta.ts":{"bytes":1495,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/types/capabilities.ts":{"bytes":2477,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/events.ts":{"bytes":1548,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/types/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/types/index.ts":{"bytes":568,"imports":[{"path":"src/types/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/types/events.ts","kind":"import-statement","original":"./events"}],"format":"esm"},"src/capabilities/operation-resolver/operation-resolver.ts":{"bytes":21443,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/operation-resolver/index.ts":{"bytes":1105,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/operation-resolver/operation-resolver.ts","kind":"dynamic-import","original":"./operation-resolver"}],"format":"esm"},"src/components/ContentLoading.tsx":{"bytes":1223,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/components/hooks.ts":{"bytes":3144,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"format":"esm"},"src/components/Home/Home.tsx":{"bytes":16278,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/react-ui-searchlist","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/components/hooks.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/components/Home/index.ts":{"bytes":472,"imports":[{"path":"src/components/Home/Home.tsx","kind":"import-statement","original":"./Home"}],"format":"esm"},"src/hooks/useSimpleLayoutState.ts":{"bytes":3117,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/hooks/index.ts":{"bytes":502,"imports":[{"path":"src/hooks/useSimpleLayoutState.ts","kind":"import-statement","original":"./useSimpleLayoutState"}],"format":"esm"},"src/components/Popover/Popover.tsx":{"bytes":15039,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/Popover/index.ts":{"bytes":482,"imports":[{"path":"src/components/Popover/Popover.tsx","kind":"import-statement","original":"./Popover"}],"format":"esm"},"src/components/ContentError.tsx":{"bytes":2659,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/components/Dialog/Dialog.tsx":{"bytes":5006,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/components/ContentError.tsx","kind":"import-statement","original":"../ContentError"}],"format":"esm"},"src/components/Dialog/index.ts":{"bytes":480,"imports":[{"path":"src/components/Dialog/Dialog.tsx","kind":"import-statement","original":"./Dialog"}],"format":"esm"},"src/components/SimpleLayout/Banner.tsx":{"bytes":10904,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/SimpleLayout/NavBar.tsx":{"bytes":7489,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/SimpleLayout/Main.tsx":{"bytes":9875,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/components/ContentError.tsx","kind":"import-statement","original":"../ContentError"},{"path":"src/components/ContentLoading.tsx","kind":"import-statement","original":"../ContentLoading"},{"path":"src/components/SimpleLayout/Banner.tsx","kind":"import-statement","original":"./Banner"},{"path":"src/components/SimpleLayout/NavBar.tsx","kind":"import-statement","original":"./NavBar"}],"format":"esm"},"src/components/SimpleLayout/SimpleLayout.tsx":{"bytes":1619,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"src/components/Dialog/index.ts","kind":"import-statement","original":"../Dialog"},{"path":"src/components/Popover/index.ts","kind":"import-statement","original":"../Popover"},{"path":"src/components/SimpleLayout/Main.tsx","kind":"import-statement","original":"./Main"}],"format":"esm"},"src/components/SimpleLayout/index.ts":{"bytes":500,"imports":[{"path":"src/components/SimpleLayout/SimpleLayout.tsx","kind":"import-statement","original":"./SimpleLayout"}],"format":"esm"},"src/components/Workspace/Workspace.tsx":{"bytes":13471,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/react-ui-searchlist","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/components/hooks.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/components/Workspace/index.ts":{"bytes":490,"imports":[{"path":"src/components/Workspace/Workspace.tsx","kind":"import-statement","original":"./Workspace"}],"format":"esm"},"src/components/index.ts":{"bytes":849,"imports":[{"path":"src/components/ContentLoading.tsx","kind":"import-statement","original":"./ContentLoading"},{"path":"src/components/Home/index.ts","kind":"import-statement","original":"./Home"},{"path":"src/components/Popover/index.ts","kind":"import-statement","original":"./Popover"},{"path":"src/components/SimpleLayout/index.ts","kind":"import-statement","original":"./SimpleLayout"},{"path":"src/components/Workspace/index.ts","kind":"import-statement","original":"./Workspace"}],"format":"esm"},"src/capabilities/react-root/react-root.tsx":{"bytes":2037,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/capabilities/react-root/index.ts":{"bytes":889,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/react-root/react-root.tsx","kind":"dynamic-import","original":"./react-root"}],"format":"esm"},"src/capabilities/react-surface/react-surface.tsx":{"bytes":4380,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/capabilities/react-surface/index.ts":{"bytes":917,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/react-surface/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/capabilities/spotlight-dismiss/spotlight-dismiss.ts":{"bytes":8395,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/spotlight-dismiss/index.ts":{"bytes":957,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/spotlight-dismiss/spotlight-dismiss.ts","kind":"dynamic-import","original":"./spotlight-dismiss"}],"format":"esm"},"src/capabilities/state/state.tsx":{"bytes":5191,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/state/index.ts":{"bytes":923,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/state/state.tsx","kind":"dynamic-import","original":"./state"}],"format":"esm"},"src/capabilities/url-handler/url-handler.ts":{"bytes":9574,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/url-handler/index.ts":{"bytes":897,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/url-handler/url-handler.ts","kind":"dynamic-import","original":"./url-handler"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":991,"imports":[{"path":"src/capabilities/operation-resolver/index.ts","kind":"import-statement","original":"./operation-resolver"},{"path":"src/capabilities/react-root/index.ts","kind":"import-statement","original":"./react-root"},{"path":"src/capabilities/react-surface/index.ts","kind":"import-statement","original":"./react-surface"},{"path":"src/capabilities/spotlight-dismiss/index.ts","kind":"import-statement","original":"./spotlight-dismiss"},{"path":"src/capabilities/state/index.ts","kind":"import-statement","original":"./state"},{"path":"src/capabilities/url-handler/index.ts","kind":"import-statement","original":"./url-handler"}],"format":"esm"},"src/translations.ts":{"bytes":2518,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/SimpleLayoutPlugin.ts":{"bytes":6664,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/index.ts":{"bytes":490,"imports":[{"path":"src/SimpleLayoutPlugin.ts","kind":"import-statement","original":"./SimpleLayoutPlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":6819},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-CLPGTNWJ.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/operation-resolver-LTB63NKP.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/react-root-6ARAPH3O.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/react-surface-SO7B23GS.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/spotlight-dismiss-VSNOPETH.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/state-H4IGICBB.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/url-handler-7CFGTLNG.mjs","kind":"dynamic-import"}],"exports":["SimpleLayoutPlugin"],"entryPoint":"src/index.ts","inputs":{"src/SimpleLayoutPlugin.ts":{"bytesInOutput":1292},"src/capabilities/operation-resolver/index.ts":{"bytesInOutput":179},"src/capabilities/index.ts":{"bytesInOutput":0},"src/capabilities/react-root/index.ts":{"bytesInOutput":139},"src/capabilities/react-surface/index.ts":{"bytesInOutput":164},"src/capabilities/spotlight-dismiss/index.ts":{"bytesInOutput":176},"src/capabilities/state/index.ts":{"bytesInOutput":142},"src/capabilities/url-handler/index.ts":{"bytesInOutput":158},"src/translations.ts":{"bytesInOutput":579},"src/index.ts":{"bytesInOutput":0}},"bytes":3310},"dist/lib/browser/operation-resolver-LTB63NKP.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":10110},"dist/lib/browser/operation-resolver-LTB63NKP.mjs":{"imports":[{"path":"dist/lib/browser/chunk-CLPGTNWJ.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/operation-resolver/operation-resolver.ts","inputs":{"src/capabilities/operation-resolver/operation-resolver.ts":{"bytesInOutput":5119}},"bytes":5350},"dist/lib/browser/react-root-6ARAPH3O.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1018},"dist/lib/browser/react-root-6ARAPH3O.mjs":{"imports":[{"path":"dist/lib/browser/chunk-FK4M7GJV.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-CLPGTNWJ.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-root/react-root.tsx","inputs":{"src/capabilities/react-root/react-root.tsx":{"bytesInOutput":357}},"bytes":599},"dist/lib/browser/react-surface-SO7B23GS.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2240},"dist/lib/browser/react-surface-SO7B23GS.mjs":{"imports":[{"path":"dist/lib/browser/chunk-FK4M7GJV.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-CLPGTNWJ.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface/react-surface.tsx","inputs":{"src/capabilities/react-surface/react-surface.tsx":{"bytesInOutput":898}},"bytes":1157},"dist/lib/browser/chunk-FK4M7GJV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":47198},"dist/lib/browser/chunk-FK4M7GJV.mjs":{"imports":[{"path":"dist/lib/browser/chunk-CLPGTNWJ.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/react-ui-searchlist","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/react-ui-searchlist","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"exports":["Home","SimpleLayout","Workspace"],"inputs":{"src/components/Home/Home.tsx":{"bytesInOutput":4108},"src/components/hooks.ts":{"bytesInOutput":589},"src/components/SimpleLayout/SimpleLayout.tsx":{"bytesInOutput":286},"src/components/Dialog/Dialog.tsx":{"bytesInOutput":1172},"src/hooks/useSimpleLayoutState.ts":{"bytesInOutput":565},"src/hooks/index.ts":{"bytesInOutput":0},"src/components/ContentError.tsx":{"bytesInOutput":629},"src/components/Dialog/index.ts":{"bytesInOutput":0},"src/components/Popover/Popover.tsx":{"bytesInOutput":3888},"src/components/Popover/index.ts":{"bytesInOutput":0},"src/components/SimpleLayout/Main.tsx":{"bytesInOutput":2661},"src/components/ContentLoading.tsx":{"bytesInOutput":198},"src/components/SimpleLayout/Banner.tsx":{"bytesInOutput":2712},"src/components/SimpleLayout/NavBar.tsx":{"bytesInOutput":1528},"src/components/Workspace/Workspace.tsx":{"bytesInOutput":3613},"src/components/index.ts":{"bytesInOutput":0},"src/components/Home/index.ts":{"bytesInOutput":0},"src/components/SimpleLayout/index.ts":{"bytesInOutput":0},"src/components/Workspace/index.ts":{"bytesInOutput":0}},"bytes":22738},"dist/lib/browser/spotlight-dismiss-VSNOPETH.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4089},"dist/lib/browser/spotlight-dismiss-VSNOPETH.mjs":{"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/spotlight-dismiss/spotlight-dismiss.ts","inputs":{"src/capabilities/spotlight-dismiss/spotlight-dismiss.ts":{"bytesInOutput":1822}},"bytes":1988},"dist/lib/browser/state-H4IGICBB.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2694},"dist/lib/browser/state-H4IGICBB.mjs":{"imports":[{"path":"dist/lib/browser/chunk-CLPGTNWJ.mjs","kind":"import-statement"},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/state/state.tsx","inputs":{"src/capabilities/state/state.tsx":{"bytesInOutput":1015}},"bytes":1195},"dist/lib/browser/url-handler-7CFGTLNG.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4754},"dist/lib/browser/url-handler-7CFGTLNG.mjs":{"imports":[{"path":"dist/lib/browser/chunk-CLPGTNWJ.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/url-handler/url-handler.ts","inputs":{"src/capabilities/url-handler/url-handler.ts":{"bytesInOutput":1721}},"bytes":1924},"dist/lib/browser/chunk-CLPGTNWJ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2896},"dist/lib/browser/chunk-CLPGTNWJ.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["SimpleLayoutEvents","SimpleLayoutState","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":323},"src/types/capabilities.ts":{"bytesInOutput":111},"src/types/index.ts":{"bytesInOutput":0},"src/types/events.ts":{"bytesInOutput":262}},"bytes":872}}}
1
+ {"inputs":{"src/meta.ts":{"bytes":1495,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/types/capabilities.ts":{"bytes":2825,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/events.ts":{"bytes":1600,"imports":[{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"src/types/capabilities.ts","kind":"import-statement","original":"./capabilities"}],"format":"esm"},"src/types/index.ts":{"bytes":568,"imports":[{"path":"src/types/capabilities.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/types/events.ts","kind":"import-statement","original":"./events"}],"format":"esm"},"src/capabilities/operation-resolver/operation-resolver.ts":{"bytes":24141,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/operation-resolver/index.ts":{"bytes":1105,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/operation-resolver/operation-resolver.ts","kind":"dynamic-import","original":"./operation-resolver"}],"format":"esm"},"src/components/ContentLoading/ContentLoading.tsx":{"bytes":1245,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"src/components/ContentLoading/index.ts":{"bytes":508,"imports":[{"path":"src/components/ContentLoading/ContentLoading.tsx","kind":"import-statement","original":"./ContentLoading"}],"format":"esm"},"src/components/hooks.ts":{"bytes":2611,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"format":"esm"},"src/components/Home/Home.tsx":{"bytes":17278,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/react-ui-searchlist","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/components/hooks.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/components/Home/index.ts":{"bytes":472,"imports":[{"path":"src/components/Home/Home.tsx","kind":"import-statement","original":"./Home"}],"format":"esm"},"src/components/MobileLayout/MobileLayout.tsx":{"bytes":27245,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/MobileLayout/index.ts":{"bytes":500,"imports":[{"path":"src/components/MobileLayout/MobileLayout.tsx","kind":"import-statement","original":"./MobileLayout"}],"format":"esm"},"src/hooks/useAppBarProps.ts":{"bytes":16719,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/hooks/actions.ts":{"bytes":9400,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useCompanions.ts":{"bytes":2953,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/hooks/actions.ts","kind":"import-statement","original":"./actions"}],"format":"esm"},"src/hooks/useSimpleLayoutState.ts":{"bytes":2929,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/hooks/useDrawerActions.ts":{"bytes":12919,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/hooks/actions.ts","kind":"import-statement","original":"./actions"},{"path":"src/hooks/useSimpleLayoutState.ts","kind":"import-statement","original":"./useSimpleLayoutState"}],"format":"esm"},"src/hooks/useNavbarActions.ts":{"bytes":10188,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"},{"path":"src/hooks/actions.ts","kind":"import-statement","original":"./actions"},{"path":"src/hooks/useSimpleLayoutState.ts","kind":"import-statement","original":"./useSimpleLayoutState"}],"format":"esm"},"src/hooks/index.ts":{"bytes":1012,"imports":[{"path":"src/hooks/useAppBarProps.ts","kind":"import-statement","original":"./useAppBarProps"},{"path":"src/hooks/useCompanions.ts","kind":"import-statement","original":"./useCompanions"},{"path":"src/hooks/actions.ts","kind":"import-statement","original":"./actions"},{"path":"src/hooks/useDrawerActions.ts","kind":"import-statement","original":"./useDrawerActions"},{"path":"src/hooks/useNavbarActions.ts","kind":"import-statement","original":"./useNavbarActions"},{"path":"src/hooks/useSimpleLayoutState.ts","kind":"import-statement","original":"./useSimpleLayoutState"}],"format":"esm"},"src/components/Popover/Popover.tsx":{"bytes":15303,"imports":[{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/components/Popover/index.ts":{"bytes":482,"imports":[{"path":"src/components/Popover/Popover.tsx","kind":"import-statement","original":"./Popover"}],"format":"esm"},"src/components/SimpleLayout/AppBar.tsx":{"bytes":9365,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/components/MobileLayout/index.ts","kind":"import-statement","original":"../MobileLayout"}],"format":"esm"},"src/components/SimpleLayout/NavBar.tsx":{"bytes":2798,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true}],"format":"esm"},"src/components/SimpleLayout/Main.tsx":{"bytes":9103,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/components/ContentLoading/index.ts","kind":"import-statement","original":"../ContentLoading"},{"path":"src/components/hooks.ts","kind":"import-statement","original":"../hooks"},{"path":"src/components/MobileLayout/index.ts","kind":"import-statement","original":"../MobileLayout"},{"path":"src/components/SimpleLayout/AppBar.tsx","kind":"import-statement","original":"./AppBar"},{"path":"src/components/SimpleLayout/NavBar.tsx","kind":"import-statement","original":"./NavBar"}],"format":"esm"},"src/components/Dialog/Dialog.tsx":{"bytes":5085,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"}],"format":"esm"},"src/components/Dialog/index.ts":{"bytes":480,"imports":[{"path":"src/components/Dialog/Dialog.tsx","kind":"import-statement","original":"./Dialog"}],"format":"esm"},"src/components/SimpleLayout/Drawer.tsx":{"bytes":11020,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/components/ContentLoading/index.ts","kind":"import-statement","original":"../ContentLoading"}],"format":"esm"},"src/components/SimpleLayout/SimpleLayout.tsx":{"bytes":7492,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/components/Dialog/index.ts","kind":"import-statement","original":"../Dialog"},{"path":"src/components/MobileLayout/index.ts","kind":"import-statement","original":"../MobileLayout"},{"path":"src/components/Popover/index.ts","kind":"import-statement","original":"../Popover"},{"path":"src/components/SimpleLayout/Drawer.tsx","kind":"import-statement","original":"./Drawer"},{"path":"src/components/SimpleLayout/Main.tsx","kind":"import-statement","original":"./Main"}],"format":"esm"},"src/components/SimpleLayout/index.ts":{"bytes":748,"imports":[{"path":"src/components/SimpleLayout/AppBar.tsx","kind":"import-statement","original":"./AppBar"},{"path":"src/components/SimpleLayout/Main.tsx","kind":"import-statement","original":"./Main"},{"path":"src/components/SimpleLayout/NavBar.tsx","kind":"import-statement","original":"./NavBar"},{"path":"src/components/SimpleLayout/SimpleLayout.tsx","kind":"import-statement","original":"./SimpleLayout"}],"format":"esm"},"src/components/NavBranch/NavBranch.tsx":{"bytes":15735,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/react-ui-searchlist","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"},{"path":"src/components/hooks.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/components/NavBranch/index.ts":{"bytes":490,"imports":[{"path":"src/components/NavBranch/NavBranch.tsx","kind":"import-statement","original":"./NavBranch"}],"format":"esm"},"src/components/index.ts":{"bytes":949,"imports":[{"path":"src/components/ContentLoading/index.ts","kind":"import-statement","original":"./ContentLoading"},{"path":"src/components/Home/index.ts","kind":"import-statement","original":"./Home"},{"path":"src/components/MobileLayout/index.ts","kind":"import-statement","original":"./MobileLayout"},{"path":"src/components/Popover/index.ts","kind":"import-statement","original":"./Popover"},{"path":"src/components/SimpleLayout/index.ts","kind":"import-statement","original":"./SimpleLayout"},{"path":"src/components/NavBranch/index.ts","kind":"import-statement","original":"./NavBranch"}],"format":"esm"},"src/capabilities/react-root/react-root.tsx":{"bytes":2030,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/capabilities/react-root/index.ts":{"bytes":889,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/react-root/react-root.tsx","kind":"dynamic-import","original":"./react-root"}],"format":"esm"},"src/capabilities/react-surface/react-surface.tsx":{"bytes":4827,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../../components"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/capabilities/react-surface/index.ts":{"bytes":917,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/react-surface/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/capabilities/spotlight-dismiss/spotlight-dismiss.ts":{"bytes":8388,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/capabilities/spotlight-dismiss/index.ts":{"bytes":957,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/spotlight-dismiss/spotlight-dismiss.ts","kind":"dynamic-import","original":"./spotlight-dismiss"}],"format":"esm"},"src/capabilities/state/state.tsx":{"bytes":5542,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"}],"format":"esm"},"src/capabilities/state/index.ts":{"bytes":923,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/state/state.tsx","kind":"dynamic-import","original":"./state"}],"format":"esm"},"src/capabilities/url-handler/url-handler.ts":{"bytes":17021,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../../types"},{"path":"@tauri-apps/plugin-deep-link","kind":"dynamic-import","external":true}],"format":"esm"},"src/capabilities/url-handler/index.ts":{"bytes":897,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/url-handler/url-handler.ts","kind":"dynamic-import","original":"./url-handler"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":991,"imports":[{"path":"src/capabilities/operation-resolver/index.ts","kind":"import-statement","original":"./operation-resolver"},{"path":"src/capabilities/react-root/index.ts","kind":"import-statement","original":"./react-root"},{"path":"src/capabilities/react-surface/index.ts","kind":"import-statement","original":"./react-surface"},{"path":"src/capabilities/spotlight-dismiss/index.ts","kind":"import-statement","original":"./spotlight-dismiss"},{"path":"src/capabilities/state/index.ts","kind":"import-statement","original":"./state"},{"path":"src/capabilities/url-handler/index.ts","kind":"import-statement","original":"./url-handler"}],"format":"esm"},"src/translations.ts":{"bytes":3310,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/SimpleLayoutPlugin.ts":{"bytes":6773,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"src/capabilities/index.ts","kind":"import-statement","original":"./capabilities"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/index.ts":{"bytes":490,"imports":[{"path":"src/SimpleLayoutPlugin.ts","kind":"import-statement","original":"./SimpleLayoutPlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":7284},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-MRR7PXSM.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/operation-resolver-LV5FK6MN.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/react-root-JR6OENXV.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/react-surface-5JOPIP5Z.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/spotlight-dismiss-67PHYS5B.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/state-TXSMUWYI.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/url-handler-RBRONH7S.mjs","kind":"dynamic-import"}],"exports":["SimpleLayoutPlugin"],"entryPoint":"src/index.ts","inputs":{"src/SimpleLayoutPlugin.ts":{"bytesInOutput":1329},"src/capabilities/operation-resolver/index.ts":{"bytesInOutput":179},"src/capabilities/index.ts":{"bytesInOutput":0},"src/capabilities/react-root/index.ts":{"bytesInOutput":139},"src/capabilities/react-surface/index.ts":{"bytesInOutput":164},"src/capabilities/spotlight-dismiss/index.ts":{"bytesInOutput":176},"src/capabilities/state/index.ts":{"bytesInOutput":142},"src/capabilities/url-handler/index.ts":{"bytesInOutput":158},"src/translations.ts":{"bytesInOutput":847},"src/index.ts":{"bytesInOutput":0}},"bytes":3615},"dist/lib/browser/operation-resolver-LV5FK6MN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":11455},"dist/lib/browser/operation-resolver-LV5FK6MN.mjs":{"imports":[{"path":"dist/lib/browser/chunk-MRR7PXSM.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/operation-resolver/operation-resolver.ts","inputs":{"src/capabilities/operation-resolver/operation-resolver.ts":{"bytesInOutput":5979}},"bytes":6210},"dist/lib/browser/react-root-JR6OENXV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1027},"dist/lib/browser/react-root-JR6OENXV.mjs":{"imports":[{"path":"dist/lib/browser/chunk-2YSUM2L4.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-MRR7PXSM.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-root/react-root.tsx","inputs":{"src/capabilities/react-root/react-root.tsx":{"bytesInOutput":358}},"bytes":600},"dist/lib/browser/react-surface-5JOPIP5Z.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2474},"dist/lib/browser/react-surface-5JOPIP5Z.mjs":{"imports":[{"path":"dist/lib/browser/chunk-2YSUM2L4.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-MRR7PXSM.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface/react-surface.tsx","inputs":{"src/capabilities/react-surface/react-surface.tsx":{"bytesInOutput":1027}},"bytes":1286},"dist/lib/browser/chunk-2YSUM2L4.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":92263},"dist/lib/browser/chunk-2YSUM2L4.mjs":{"imports":[{"path":"dist/lib/browser/chunk-MRR7PXSM.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/react-ui-searchlist","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@radix-ui/react-context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/react-ui-searchlist","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit/ui","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-menu","kind":"import-statement","external":true}],"exports":["Home","NavBranch","SimpleLayout"],"inputs":{"src/components/Home/Home.tsx":{"bytesInOutput":4450},"src/components/hooks.ts":{"bytesInOutput":456},"src/components/SimpleLayout/SimpleLayout.tsx":{"bytesInOutput":1829},"src/hooks/useAppBarProps.ts":{"bytesInOutput":3717},"src/hooks/index.ts":{"bytesInOutput":0},"src/hooks/useCompanions.ts":{"bytesInOutput":571},"src/hooks/actions.ts":{"bytesInOutput":1814},"src/hooks/useDrawerActions.ts":{"bytesInOutput":2708},"src/components/ContentLoading/ContentLoading.tsx":{"bytesInOutput":201},"src/components/ContentLoading/index.ts":{"bytesInOutput":0},"src/components/index.ts":{"bytesInOutput":0},"src/components/Home/index.ts":{"bytesInOutput":0},"src/components/MobileLayout/MobileLayout.tsx":{"bytesInOutput":5786},"src/components/MobileLayout/index.ts":{"bytesInOutput":0},"src/components/Popover/Popover.tsx":{"bytesInOutput":3978},"src/components/Popover/index.ts":{"bytesInOutput":0},"src/components/SimpleLayout/AppBar.tsx":{"bytesInOutput":2233},"src/components/SimpleLayout/index.ts":{"bytesInOutput":0},"src/components/SimpleLayout/Main.tsx":{"bytesInOutput":2122},"src/components/SimpleLayout/NavBar.tsx":{"bytesInOutput":487},"src/components/NavBranch/NavBranch.tsx":{"bytesInOutput":4155},"src/components/NavBranch/index.ts":{"bytesInOutput":0},"src/hooks/useSimpleLayoutState.ts":{"bytesInOutput":599},"src/hooks/useNavbarActions.ts":{"bytesInOutput":2034},"src/components/Dialog/Dialog.tsx":{"bytesInOutput":1279},"src/components/Dialog/index.ts":{"bytesInOutput":0},"src/components/SimpleLayout/Drawer.tsx":{"bytesInOutput":2625}},"bytes":42088},"dist/lib/browser/spotlight-dismiss-67PHYS5B.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4092},"dist/lib/browser/spotlight-dismiss-67PHYS5B.mjs":{"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/spotlight-dismiss/spotlight-dismiss.ts","inputs":{"src/capabilities/spotlight-dismiss/spotlight-dismiss.ts":{"bytesInOutput":1823}},"bytes":1989},"dist/lib/browser/state-TXSMUWYI.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2885},"dist/lib/browser/state-TXSMUWYI.mjs":{"imports":[{"path":"dist/lib/browser/chunk-MRR7PXSM.mjs","kind":"import-statement"},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/state/state.tsx","inputs":{"src/capabilities/state/state.tsx":{"bytesInOutput":1111}},"bytes":1291},"dist/lib/browser/url-handler-RBRONH7S.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8154},"dist/lib/browser/url-handler-RBRONH7S.mjs":{"imports":[{"path":"dist/lib/browser/chunk-MRR7PXSM.mjs","kind":"import-statement"},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@tauri-apps/plugin-deep-link","kind":"dynamic-import","external":true}],"exports":["default"],"entryPoint":"src/capabilities/url-handler/url-handler.ts","inputs":{"src/capabilities/url-handler/url-handler.ts":{"bytesInOutput":4436}},"bytes":4639},"dist/lib/browser/chunk-MRR7PXSM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":3204},"dist/lib/browser/chunk-MRR7PXSM.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/app-toolkit","kind":"import-statement","external":true}],"exports":["SimpleLayoutEvents","SimpleLayoutState","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":323},"src/types/capabilities.ts":{"bytesInOutput":111},"src/types/index.ts":{"bytesInOutput":0},"src/types/events.ts":{"bytesInOutput":270}},"bytes":880}}}
@@ -1,39 +1,65 @@
1
1
  import {
2
2
  SimpleLayoutState
3
- } from "./chunk-CLPGTNWJ.mjs";
3
+ } from "./chunk-MRR7PXSM.mjs";
4
4
 
5
5
  // src/capabilities/operation-resolver/operation-resolver.ts
6
6
  import * as Effect from "effect/Effect";
7
- import { Capability, Common } from "@dxos/app-framework";
7
+ import { Capabilities, Capability } from "@dxos/app-framework";
8
+ import { getCompanionVariant, LayoutOperation, isPinnedWorkspace } from "@dxos/app-toolkit";
8
9
  import { Operation, OperationResolver } from "@dxos/operation";
9
10
  var MAX_HISTORY_LENGTH = 50;
10
11
  var operation_resolver_default = Capability.makeModule(Effect.fnUntraced(function* () {
11
- const registry = yield* Capability.get(Common.Capability.AtomRegistry);
12
+ const registry = yield* Capability.get(Capabilities.AtomRegistry);
12
13
  const stateAtom = yield* Capability.get(SimpleLayoutState);
13
14
  const getState = () => registry.get(stateAtom);
14
15
  const updateState = (fn) => {
15
16
  registry.set(stateAtom, fn(getState()));
16
17
  };
17
- return Capability.contributes(Common.Capability.OperationResolver, [
18
+ return Capability.contributes(Capabilities.OperationResolver, [
19
+ //
20
+ // SetLayoutMode
21
+ //
22
+ // TODO(burdon): No-op for to fix startup bug?
23
+ OperationResolver.make({
24
+ operation: LayoutOperation.SetLayoutMode,
25
+ handler: Effect.fnUntraced(function* () {
26
+ })
27
+ }),
18
28
  //
19
29
  // UpdateSidebar - No-op for simple layout.
20
30
  //
21
31
  OperationResolver.make({
22
- operation: Common.LayoutOperation.UpdateSidebar,
32
+ operation: LayoutOperation.UpdateSidebar,
23
33
  handler: () => Effect.void
24
34
  }),
25
35
  //
26
- // UpdateComplementary - No-op for simple layout.
36
+ // UpdateComplementary - Controls companion drawer.
27
37
  //
38
+ // TODO(wittjosiah): Not sure if we should be using this for the drawer.
28
39
  OperationResolver.make({
29
- operation: Common.LayoutOperation.UpdateComplementary,
30
- handler: () => Effect.void
40
+ operation: LayoutOperation.UpdateComplementary,
41
+ handler: Effect.fnUntraced(function* (input) {
42
+ if (input.state === "closed") {
43
+ updateState((state) => ({
44
+ ...state,
45
+ drawerState: "closed",
46
+ companionVariant: void 0
47
+ }));
48
+ } else if (input.subject) {
49
+ const variant = getCompanionVariant(input.subject);
50
+ updateState((state) => ({
51
+ ...state,
52
+ companionVariant: variant,
53
+ drawerState: input.state === "expanded" ? "expanded" : "open"
54
+ }));
55
+ }
56
+ })
31
57
  }),
32
58
  //
33
59
  // UpdateDialog
34
60
  //
35
61
  OperationResolver.make({
36
- operation: Common.LayoutOperation.UpdateDialog,
62
+ operation: LayoutOperation.UpdateDialog,
37
63
  handler: Effect.fnUntraced(function* (input) {
38
64
  updateState((state) => ({
39
65
  ...state,
@@ -53,7 +79,7 @@ var operation_resolver_default = Capability.makeModule(Effect.fnUntraced(functio
53
79
  // UpdatePopover
54
80
  //
55
81
  OperationResolver.make({
56
- operation: Common.LayoutOperation.UpdatePopover,
82
+ operation: LayoutOperation.UpdatePopover,
57
83
  handler: Effect.fnUntraced(function* (input) {
58
84
  updateState((state) => ({
59
85
  ...state,
@@ -77,13 +103,13 @@ var operation_resolver_default = Capability.makeModule(Effect.fnUntraced(functio
77
103
  // SwitchWorkspace
78
104
  //
79
105
  OperationResolver.make({
80
- operation: Common.LayoutOperation.SwitchWorkspace,
106
+ operation: LayoutOperation.SwitchWorkspace,
81
107
  handler: Effect.fnUntraced(function* (input) {
82
108
  updateState((state) => ({
83
109
  ...state,
84
110
  // TODO(wittjosiah): This is a hack to prevent the previous deck from being set for pinned items.
85
111
  // Ideally this should be worked into the data model in a generic way.
86
- previousWorkspace: !state.workspace.startsWith("!") ? state.workspace : state.previousWorkspace,
112
+ previousWorkspace: !isPinnedWorkspace(state.workspace) ? state.workspace : state.previousWorkspace,
87
113
  workspace: input.subject,
88
114
  active: void 0,
89
115
  // Clear history when switching workspaces.
@@ -95,10 +121,10 @@ var operation_resolver_default = Capability.makeModule(Effect.fnUntraced(functio
95
121
  // RevertWorkspace
96
122
  //
97
123
  OperationResolver.make({
98
- operation: Common.LayoutOperation.RevertWorkspace,
124
+ operation: LayoutOperation.RevertWorkspace,
99
125
  handler: Effect.fnUntraced(function* () {
100
126
  const state = getState();
101
- yield* Operation.invoke(Common.LayoutOperation.SwitchWorkspace, {
127
+ yield* Operation.invoke(LayoutOperation.SwitchWorkspace, {
102
128
  subject: state.previousWorkspace
103
129
  });
104
130
  })
@@ -107,8 +133,9 @@ var operation_resolver_default = Capability.makeModule(Effect.fnUntraced(functio
107
133
  // Open
108
134
  //
109
135
  OperationResolver.make({
110
- operation: Common.LayoutOperation.Open,
136
+ operation: LayoutOperation.Open,
111
137
  handler: Effect.fnUntraced(function* (input) {
138
+ const id = input.subject[0];
112
139
  updateState((state) => {
113
140
  const newHistory = state.active ? [
114
141
  ...state.history,
@@ -117,7 +144,7 @@ var operation_resolver_default = Capability.makeModule(Effect.fnUntraced(functio
117
144
  const trimmedHistory = newHistory.length > MAX_HISTORY_LENGTH ? newHistory.slice(-MAX_HISTORY_LENGTH) : newHistory;
118
145
  return {
119
146
  ...state,
120
- active: input.subject[0],
147
+ active: id,
121
148
  history: trimmedHistory
122
149
  };
123
150
  });
@@ -127,7 +154,7 @@ var operation_resolver_default = Capability.makeModule(Effect.fnUntraced(functio
127
154
  // Close
128
155
  //
129
156
  OperationResolver.make({
130
- operation: Common.LayoutOperation.Close,
157
+ operation: LayoutOperation.Close,
131
158
  handler: Effect.fnUntraced(function* () {
132
159
  updateState((state) => {
133
160
  if (state.history.length > 0) {
@@ -152,7 +179,7 @@ var operation_resolver_default = Capability.makeModule(Effect.fnUntraced(functio
152
179
  // Set
153
180
  //
154
181
  OperationResolver.make({
155
- operation: Common.LayoutOperation.Set,
182
+ operation: LayoutOperation.Set,
156
183
  handler: Effect.fnUntraced(function* (input) {
157
184
  updateState((state) => ({
158
185
  ...state,
@@ -165,4 +192,4 @@ var operation_resolver_default = Capability.makeModule(Effect.fnUntraced(functio
165
192
  export {
166
193
  operation_resolver_default as default
167
194
  };
168
- //# sourceMappingURL=operation-resolver-LTB63NKP.mjs.map
195
+ //# sourceMappingURL=operation-resolver-LV5FK6MN.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/operation-resolver/operation-resolver.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { getCompanionVariant, LayoutOperation, isPinnedWorkspace } from '@dxos/app-toolkit';\nimport { Operation, OperationResolver } from '@dxos/operation';\n\nimport { type SimpleLayoutState, SimpleLayoutState as SimpleLayoutStateCapability } from '../../types';\n\n/** Maximum number of items to keep in navigation history. */\nconst MAX_HISTORY_LENGTH = 50;\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* () {\n const registry = yield* Capability.get(Capabilities.AtomRegistry);\n const stateAtom = yield* Capability.get(SimpleLayoutStateCapability);\n\n const getState = () => registry.get(stateAtom);\n const updateState = (fn: (current: SimpleLayoutState) => SimpleLayoutState) => {\n registry.set(stateAtom, fn(getState()));\n };\n\n return Capability.contributes(Capabilities.OperationResolver, [\n //\n // SetLayoutMode\n //\n // TODO(burdon): No-op for to fix startup bug?\n OperationResolver.make({\n operation: LayoutOperation.SetLayoutMode,\n handler: Effect.fnUntraced(function* () {}),\n }),\n\n //\n // UpdateSidebar - No-op for simple layout.\n //\n OperationResolver.make({\n operation: LayoutOperation.UpdateSidebar,\n handler: () => Effect.void,\n }),\n\n //\n // UpdateComplementary - Controls companion drawer.\n //\n // TODO(wittjosiah): Not sure if we should be using this for the drawer.\n OperationResolver.make({\n operation: LayoutOperation.UpdateComplementary,\n handler: Effect.fnUntraced(function* (input) {\n if (input.state === 'closed') {\n updateState((state) => ({\n ...state,\n drawerState: 'closed',\n companionVariant: undefined,\n }));\n } else if (input.subject) {\n const variant = getCompanionVariant(input.subject);\n updateState((state) => ({\n ...state,\n companionVariant: variant,\n drawerState: input.state === 'expanded' ? 'expanded' : 'open',\n }));\n }\n }),\n }),\n\n //\n // UpdateDialog\n //\n OperationResolver.make({\n operation: LayoutOperation.UpdateDialog,\n handler: Effect.fnUntraced(function* (input) {\n updateState((state) => ({\n ...state,\n dialogOpen: input.state ?? Boolean(input.subject),\n dialogType: input.type ?? 'default',\n dialogBlockAlign: input.blockAlign ?? 'center',\n dialogOverlayClasses: input.overlayClasses,\n dialogOverlayStyle: input.overlayStyle,\n dialogContent: input.subject ? { component: input.subject, props: input.props } : undefined,\n }));\n }),\n }),\n\n //\n // UpdatePopover\n //\n OperationResolver.make({\n operation: LayoutOperation.UpdatePopover,\n handler: Effect.fnUntraced(function* (input) {\n updateState((state) => ({\n ...state,\n popoverOpen: input.state ?? Boolean(input.subject),\n popoverKind: input.kind ?? 'base',\n popoverTitle: input.kind === 'card' ? input.title : undefined,\n popoverContent:\n typeof input.subject === 'string'\n ? { component: input.subject, props: input.props }\n : input.subject\n ? { subject: input.subject }\n : undefined,\n popoverSide: input.side,\n popoverVariant: input.variant,\n popoverAnchor: input.variant === 'virtual' ? input.anchor : state.popoverAnchor,\n popoverAnchorId: input.variant !== 'virtual' ? input.anchorId : state.popoverAnchorId,\n }));\n }),\n }),\n\n //\n // SwitchWorkspace\n //\n OperationResolver.make({\n operation: LayoutOperation.SwitchWorkspace,\n handler: Effect.fnUntraced(function* (input) {\n updateState((state) => ({\n ...state,\n // TODO(wittjosiah): This is a hack to prevent the previous deck from being set for pinned items.\n // Ideally this should be worked into the data model in a generic way.\n previousWorkspace: !isPinnedWorkspace(state.workspace) ? state.workspace : state.previousWorkspace,\n workspace: input.subject,\n active: undefined,\n // Clear history when switching workspaces.\n history: [],\n }));\n }),\n }),\n\n //\n // RevertWorkspace\n //\n OperationResolver.make({\n operation: LayoutOperation.RevertWorkspace,\n handler: Effect.fnUntraced(function* () {\n const state = getState();\n yield* Operation.invoke(LayoutOperation.SwitchWorkspace, {\n subject: state.previousWorkspace,\n });\n }),\n }),\n\n //\n // Open\n //\n OperationResolver.make({\n operation: LayoutOperation.Open,\n handler: Effect.fnUntraced(function* (input) {\n const id = input.subject[0];\n updateState((state) => {\n const newHistory = state.active ? [...state.history, state.active] : state.history;\n const trimmedHistory =\n newHistory.length > MAX_HISTORY_LENGTH ? newHistory.slice(-MAX_HISTORY_LENGTH) : newHistory;\n return {\n ...state,\n active: id,\n history: trimmedHistory,\n };\n });\n }),\n }),\n\n //\n // Close\n //\n OperationResolver.make({\n operation: LayoutOperation.Close,\n handler: Effect.fnUntraced(function* () {\n updateState((state) => {\n // Pop from history if available.\n if (state.history.length > 0) {\n const newHistory = [...state.history];\n const previousActive = newHistory.pop();\n return {\n ...state,\n active: previousActive,\n history: newHistory,\n };\n }\n // No history, just clear active.\n return {\n ...state,\n active: undefined,\n };\n });\n }),\n }),\n\n //\n // Set\n //\n OperationResolver.make({\n operation: LayoutOperation.Set,\n handler: Effect.fnUntraced(function* (input) {\n updateState((state) => ({\n ...state,\n active: input.subject[0],\n }));\n }),\n }),\n ]);\n }),\n);\n"],
5
+ "mappings": ";;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,cAAcC,kBAAkB;AACzC,SAASC,qBAAqBC,iBAAiBC,yBAAyB;AACxE,SAASC,WAAWC,yBAAyB;AAK7C,IAAMC,qBAAqB;AAE3B,IAAA,6BAAeC,WAAWC,WACjBC,kBAAW,aAAA;AAChB,QAAMC,WAAW,OAAOH,WAAWI,IAAIC,aAAaC,YAAY;AAChE,QAAMC,YAAY,OAAOP,WAAWI,IAAII,iBAAAA;AAExC,QAAMC,WAAW,MAAMN,SAASC,IAAIG,SAAAA;AACpC,QAAMG,cAAc,CAACC,OAAAA;AACnBR,aAASS,IAAIL,WAAWI,GAAGF,SAAAA,CAAAA,CAAAA;EAC7B;AAEA,SAAOT,WAAWa,YAAYR,aAAaS,mBAAmB;;;;;IAK5DA,kBAAkBC,KAAK;MACrBC,WAAWC,gBAAgBC;MAC3BC,SAAgBjB,kBAAW,aAAA;MAAc,CAAA;IAC3C,CAAA;;;;IAKAY,kBAAkBC,KAAK;MACrBC,WAAWC,gBAAgBG;MAC3BD,SAAS,MAAaE;IACxB,CAAA;;;;;IAMAP,kBAAkBC,KAAK;MACrBC,WAAWC,gBAAgBK;MAC3BH,SAAgBjB,kBAAW,WAAWqB,OAAK;AACzC,YAAIA,MAAMC,UAAU,UAAU;AAC5Bd,sBAAY,CAACc,WAAW;YACtB,GAAGA;YACHC,aAAa;YACbC,kBAAkBC;UACpB,EAAA;QACF,WAAWJ,MAAMK,SAAS;AACxB,gBAAMC,UAAUC,oBAAoBP,MAAMK,OAAO;AACjDlB,sBAAY,CAACc,WAAW;YACtB,GAAGA;YACHE,kBAAkBG;YAClBJ,aAAaF,MAAMC,UAAU,aAAa,aAAa;UACzD,EAAA;QACF;MACF,CAAA;IACF,CAAA;;;;IAKAV,kBAAkBC,KAAK;MACrBC,WAAWC,gBAAgBc;MAC3BZ,SAAgBjB,kBAAW,WAAWqB,OAAK;AACzCb,oBAAY,CAACc,WAAW;UACtB,GAAGA;UACHQ,YAAYT,MAAMC,SAASS,QAAQV,MAAMK,OAAO;UAChDM,YAAYX,MAAMY,QAAQ;UAC1BC,kBAAkBb,MAAMc,cAAc;UACtCC,sBAAsBf,MAAMgB;UAC5BC,oBAAoBjB,MAAMkB;UAC1BC,eAAenB,MAAMK,UAAU;YAAEe,WAAWpB,MAAMK;YAASgB,OAAOrB,MAAMqB;UAAM,IAAIjB;QACpF,EAAA;MACF,CAAA;IACF,CAAA;;;;IAKAb,kBAAkBC,KAAK;MACrBC,WAAWC,gBAAgB4B;MAC3B1B,SAAgBjB,kBAAW,WAAWqB,OAAK;AACzCb,oBAAY,CAACc,WAAW;UACtB,GAAGA;UACHsB,aAAavB,MAAMC,SAASS,QAAQV,MAAMK,OAAO;UACjDmB,aAAaxB,MAAMyB,QAAQ;UAC3BC,cAAc1B,MAAMyB,SAAS,SAASzB,MAAM2B,QAAQvB;UACpDwB,gBACE,OAAO5B,MAAMK,YAAY,WACrB;YAAEe,WAAWpB,MAAMK;YAASgB,OAAOrB,MAAMqB;UAAM,IAC/CrB,MAAMK,UACJ;YAAEA,SAASL,MAAMK;UAAQ,IACzBD;UACRyB,aAAa7B,MAAM8B;UACnBC,gBAAgB/B,MAAMM;UACtB0B,eAAehC,MAAMM,YAAY,YAAYN,MAAMiC,SAAShC,MAAM+B;UAClEE,iBAAiBlC,MAAMM,YAAY,YAAYN,MAAMmC,WAAWlC,MAAMiC;QACxE,EAAA;MACF,CAAA;IACF,CAAA;;;;IAKA3C,kBAAkBC,KAAK;MACrBC,WAAWC,gBAAgB0C;MAC3BxC,SAAgBjB,kBAAW,WAAWqB,OAAK;AACzCb,oBAAY,CAACc,WAAW;UACtB,GAAGA;;;UAGHoC,mBAAmB,CAACC,kBAAkBrC,MAAMsC,SAAS,IAAItC,MAAMsC,YAAYtC,MAAMoC;UACjFE,WAAWvC,MAAMK;UACjBmC,QAAQpC;;UAERqC,SAAS,CAAA;QACX,EAAA;MACF,CAAA;IACF,CAAA;;;;IAKAlD,kBAAkBC,KAAK;MACrBC,WAAWC,gBAAgBgD;MAC3B9C,SAAgBjB,kBAAW,aAAA;AACzB,cAAMsB,QAAQf,SAAAA;AACd,eAAOyD,UAAUC,OAAOlD,gBAAgB0C,iBAAiB;UACvD/B,SAASJ,MAAMoC;QACjB,CAAA;MACF,CAAA;IACF,CAAA;;;;IAKA9C,kBAAkBC,KAAK;MACrBC,WAAWC,gBAAgBmD;MAC3BjD,SAAgBjB,kBAAW,WAAWqB,OAAK;AACzC,cAAM8C,KAAK9C,MAAMK,QAAQ,CAAA;AACzBlB,oBAAY,CAACc,UAAAA;AACX,gBAAM8C,aAAa9C,MAAMuC,SAAS;eAAIvC,MAAMwC;YAASxC,MAAMuC;cAAUvC,MAAMwC;AAC3E,gBAAMO,iBACJD,WAAWE,SAASzE,qBAAqBuE,WAAWG,MAAM,CAAC1E,kBAAAA,IAAsBuE;AACnF,iBAAO;YACL,GAAG9C;YACHuC,QAAQM;YACRL,SAASO;UACX;QACF,CAAA;MACF,CAAA;IACF,CAAA;;;;IAKAzD,kBAAkBC,KAAK;MACrBC,WAAWC,gBAAgByD;MAC3BvD,SAAgBjB,kBAAW,aAAA;AACzBQ,oBAAY,CAACc,UAAAA;AAEX,cAAIA,MAAMwC,QAAQQ,SAAS,GAAG;AAC5B,kBAAMF,aAAa;iBAAI9C,MAAMwC;;AAC7B,kBAAMW,iBAAiBL,WAAWM,IAAG;AACrC,mBAAO;cACL,GAAGpD;cACHuC,QAAQY;cACRX,SAASM;YACX;UACF;AAEA,iBAAO;YACL,GAAG9C;YACHuC,QAAQpC;UACV;QACF,CAAA;MACF,CAAA;IACF,CAAA;;;;IAKAb,kBAAkBC,KAAK;MACrBC,WAAWC,gBAAgB4D;MAC3B1D,SAAgBjB,kBAAW,WAAWqB,OAAK;AACzCb,oBAAY,CAACc,WAAW;UACtB,GAAGA;UACHuC,QAAQxC,MAAMK,QAAQ,CAAA;QACxB,EAAA;MACF,CAAA;IACF,CAAA;GACD;AACH,CAAA,CAAA;",
6
+ "names": ["Effect", "Capabilities", "Capability", "getCompanionVariant", "LayoutOperation", "isPinnedWorkspace", "Operation", "OperationResolver", "MAX_HISTORY_LENGTH", "Capability", "makeModule", "fnUntraced", "registry", "get", "Capabilities", "AtomRegistry", "stateAtom", "SimpleLayoutStateCapability", "getState", "updateState", "fn", "set", "contributes", "OperationResolver", "make", "operation", "LayoutOperation", "SetLayoutMode", "handler", "UpdateSidebar", "void", "UpdateComplementary", "input", "state", "drawerState", "companionVariant", "undefined", "subject", "variant", "getCompanionVariant", "UpdateDialog", "dialogOpen", "Boolean", "dialogType", "type", "dialogBlockAlign", "blockAlign", "dialogOverlayClasses", "overlayClasses", "dialogOverlayStyle", "overlayStyle", "dialogContent", "component", "props", "UpdatePopover", "popoverOpen", "popoverKind", "kind", "popoverTitle", "title", "popoverContent", "popoverSide", "side", "popoverVariant", "popoverAnchor", "anchor", "popoverAnchorId", "anchorId", "SwitchWorkspace", "previousWorkspace", "isPinnedWorkspace", "workspace", "active", "history", "RevertWorkspace", "Operation", "invoke", "Open", "id", "newHistory", "trimmedHistory", "length", "slice", "Close", "previousActive", "pop", "Set"]
7
+ }
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  SimpleLayout
3
- } from "./chunk-FK4M7GJV.mjs";
3
+ } from "./chunk-2YSUM2L4.mjs";
4
4
  import {
5
5
  meta
6
- } from "./chunk-CLPGTNWJ.mjs";
6
+ } from "./chunk-MRR7PXSM.mjs";
7
7
 
8
8
  // src/capabilities/react-root/react-root.tsx
9
9
  import * as Effect from "effect/Effect";
10
10
  import React from "react";
11
- import { Capability, Common } from "@dxos/app-framework";
12
- var react_root_default = Capability.makeModule(() => Effect.succeed(Capability.contributes(Common.Capability.ReactRoot, {
11
+ import { Capabilities, Capability } from "@dxos/app-framework";
12
+ var react_root_default = Capability.makeModule(() => Effect.succeed(Capability.contributes(Capabilities.ReactRoot, {
13
13
  id: meta.id,
14
14
  root: () => {
15
15
  return /* @__PURE__ */ React.createElement(SimpleLayout, null);
@@ -18,4 +18,4 @@ var react_root_default = Capability.makeModule(() => Effect.succeed(Capability.c
18
18
  export {
19
19
  react_root_default as default
20
20
  };
21
- //# sourceMappingURL=react-root-6ARAPH3O.mjs.map
21
+ //# sourceMappingURL=react-root-JR6OENXV.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/react-root/react-root.tsx"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport React from 'react';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\n\nimport { SimpleLayout } from '../../components';\nimport { meta } from '../../meta';\n\nexport default Capability.makeModule(() =>\n Effect.succeed(\n Capability.contributes(Capabilities.ReactRoot, {\n id: meta.id,\n root: () => {\n return <SimpleLayout />;\n },\n }),\n ),\n);\n"],
5
+ "mappings": ";;;;;;;;AAIA,YAAYA,YAAY;AACxB,OAAOC,WAAW;AAElB,SAASC,cAAcC,kBAAkB;AAKzC,IAAA,qBAAeC,WAAWC,WAAW,MAC5BC,eACLF,WAAWG,YAAYC,aAAaC,WAAW;EAC7CC,IAAIC,KAAKD;EACTE,MAAM,MAAA;AACJ,WAAO,sBAAA,cAACC,cAAAA,IAAAA;EACV;AACF,CAAA,CAAA,CAAA;",
6
+ "names": ["Effect", "React", "Capabilities", "Capability", "Capability", "makeModule", "succeed", "contributes", "Capabilities", "ReactRoot", "id", "meta", "root", "SimpleLayout"]
7
+ }
@@ -1,34 +1,39 @@
1
1
  import {
2
2
  Home,
3
- Workspace
4
- } from "./chunk-FK4M7GJV.mjs";
3
+ NavBranch
4
+ } from "./chunk-2YSUM2L4.mjs";
5
5
  import {
6
6
  meta
7
- } from "./chunk-CLPGTNWJ.mjs";
7
+ } from "./chunk-MRR7PXSM.mjs";
8
8
 
9
9
  // src/capabilities/react-surface/react-surface.tsx
10
10
  import * as Effect from "effect/Effect";
11
11
  import React from "react";
12
- import { Capability, Common } from "@dxos/app-framework";
12
+ import { Capabilities, Capability } from "@dxos/app-framework";
13
+ import { Surface } from "@dxos/app-framework/ui";
13
14
  import { Node } from "@dxos/plugin-graph";
14
15
  var ALLOWED_DISPOSITIONS = [
15
16
  "workspace",
16
17
  "user-account",
17
- "pin-end"
18
+ "pin-end",
19
+ "alternate-tree"
18
20
  ];
19
- var react_surface_default = Capability.makeModule(() => Effect.succeed(Capability.contributes(Common.Capability.ReactSurface, [
20
- Common.createSurface({
21
- id: `${meta.id}/home`,
21
+ var react_surface_default = Capability.makeModule(() => Effect.succeed(Capability.contributes(Capabilities.ReactSurface, [
22
+ Surface.create({
23
+ id: `${meta.id}.home`,
22
24
  role: "article",
23
25
  filter: (data) => data.attendableId === Node.RootId,
24
26
  component: () => /* @__PURE__ */ React.createElement(Home, null)
25
27
  }),
26
- Common.createSurface({
27
- id: `${meta.id}/workspace-article`,
28
+ Surface.create({
29
+ id: `${meta.id}.nav-branch`,
28
30
  role: "article",
29
31
  position: "fallback",
30
- filter: (data) => ALLOWED_DISPOSITIONS.includes(data.properties?.disposition),
31
- component: ({ data }) => /* @__PURE__ */ React.createElement(Workspace, {
32
+ filter: (data) => {
33
+ const props = data.properties;
34
+ return ALLOWED_DISPOSITIONS.includes(props?.disposition) || props?.role === "branch";
35
+ },
36
+ component: ({ data }) => /* @__PURE__ */ React.createElement(NavBranch, {
32
37
  id: data.attendableId
33
38
  })
34
39
  })
@@ -36,4 +41,4 @@ var react_surface_default = Capability.makeModule(() => Effect.succeed(Capabilit
36
41
  export {
37
42
  react_surface_default as default
38
43
  };
39
- //# sourceMappingURL=react-surface-SO7B23GS.mjs.map
44
+ //# sourceMappingURL=react-surface-5JOPIP5Z.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/react-surface/react-surface.tsx"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\nimport React from 'react';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { Surface } from '@dxos/app-framework/ui';\nimport { Node } from '@dxos/plugin-graph';\n\nimport { Home, NavBranch } from '../../components';\nimport { meta } from '../../meta';\n\ntype SurfaceData = {\n attendableId: string;\n properties: Record<string, any>;\n};\n\nconst ALLOWED_DISPOSITIONS = ['workspace', 'user-account', 'pin-end', 'alternate-tree'];\n\nexport default Capability.makeModule(() =>\n Effect.succeed(\n Capability.contributes(Capabilities.ReactSurface, [\n Surface.create({\n id: `${meta.id}.home`,\n role: 'article',\n filter: (data): data is SurfaceData => data.attendableId === Node.RootId,\n component: () => <Home />,\n }),\n Surface.create({\n id: `${meta.id}.nav-branch`,\n role: 'article',\n position: 'fallback',\n filter: (data): data is SurfaceData => {\n const props = data.properties as Record<string, any>;\n return ALLOWED_DISPOSITIONS.includes(props?.disposition) || props?.role === 'branch';\n },\n component: ({ data }) => <NavBranch id={data.attendableId} />,\n }),\n ]),\n ),\n);\n"],
5
+ "mappings": ";;;;;;;;;AAIA,YAAYA,YAAY;AACxB,OAAOC,WAAW;AAElB,SAASC,cAAcC,kBAAkB;AACzC,SAASC,eAAe;AACxB,SAASC,YAAY;AAUrB,IAAMC,uBAAuB;EAAC;EAAa;EAAgB;EAAW;;AAEtE,IAAA,wBAAeC,WAAWC,WAAW,MAC5BC,eACLF,WAAWG,YAAYC,aAAaC,cAAc;EAChDC,QAAQC,OAAO;IACbC,IAAI,GAAGC,KAAKD,EAAE;IACdE,MAAM;IACNC,QAAQ,CAACC,SAA8BA,KAAKC,iBAAiBC,KAAKC;IAClEC,WAAW,MAAM,sBAAA,cAACC,MAAAA,IAAAA;EACpB,CAAA;EACAX,QAAQC,OAAO;IACbC,IAAI,GAAGC,KAAKD,EAAE;IACdE,MAAM;IACNQ,UAAU;IACVP,QAAQ,CAACC,SAAAA;AACP,YAAMO,QAAQP,KAAKQ;AACnB,aAAOrB,qBAAqBsB,SAASF,OAAOG,WAAAA,KAAgBH,OAAOT,SAAS;IAC9E;IACAM,WAAW,CAAC,EAAEJ,KAAI,MAAO,sBAAA,cAACW,WAAAA;MAAUf,IAAII,KAAKC;;EAC/C,CAAA;CACD,CAAA,CAAA;",
6
+ "names": ["Effect", "React", "Capabilities", "Capability", "Surface", "Node", "ALLOWED_DISPOSITIONS", "Capability", "makeModule", "succeed", "contributes", "Capabilities", "ReactSurface", "Surface", "create", "id", "meta", "role", "filter", "data", "attendableId", "Node", "RootId", "component", "Home", "position", "props", "properties", "includes", "disposition", "NavBranch"]
7
+ }
@@ -1,6 +1,6 @@
1
1
  // src/capabilities/spotlight-dismiss/spotlight-dismiss.ts
2
2
  import * as Effect from "effect/Effect";
3
- import { Capability, Common } from "@dxos/app-framework";
3
+ import { Capabilities, Capability } from "@dxos/app-framework";
4
4
  import { log } from "@dxos/log";
5
5
  import { isTauri } from "@dxos/util";
6
6
  var __dxlog_file = "/__w/dxos/dxos/packages/plugins/plugin-simple-layout/src/capabilities/spotlight-dismiss/spotlight-dismiss.ts";
@@ -55,7 +55,7 @@ var spotlight_dismiss_default = Capability.makeModule(({ isPopover = false } = {
55
55
  }
56
56
  };
57
57
  window.addEventListener("keydown", handleKeyDown);
58
- return Capability.contributes(Common.Capability.Null, null, () => Effect.sync(() => {
58
+ return Capability.contributes(Capabilities.Null, null, () => Effect.sync(() => {
59
59
  focusCleanup?.();
60
60
  window.removeEventListener("keydown", handleKeyDown);
61
61
  }));
@@ -63,4 +63,4 @@ var spotlight_dismiss_default = Capability.makeModule(({ isPopover = false } = {
63
63
  export {
64
64
  spotlight_dismiss_default as default
65
65
  };
66
- //# sourceMappingURL=spotlight-dismiss-VSNOPETH.mjs.map
66
+ //# sourceMappingURL=spotlight-dismiss-67PHYS5B.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/capabilities/spotlight-dismiss/spotlight-dismiss.ts"],
4
+ "sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\n// Based on the frontend-driven dismiss pattern from:\n// https://github.com/Jedliu/tauri-template-demo\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { log } from '@dxos/log';\nimport { isTauri } from '@dxos/util';\n\n/**\n * Get the Tauri window API from the global object.\n */\nconst getTauriWindow = (): any => {\n const tauri = (globalThis as any).__TAURI__;\n return tauri?.window;\n};\n\n/**\n * Get the Tauri core API (invoke) from the global object.\n */\nconst getTauriCore = (): any => {\n const tauri = (globalThis as any).__TAURI__;\n return tauri?.core;\n};\n\nexport type SpotlightDismissOptions = {\n /** Whether running in popover window context. */\n isPopover?: boolean;\n};\n\n/**\n * Capability that sets up spotlight panel dismiss behavior.\n * When running in Tauri popover mode, listens for focus loss and Escape key\n * to dismiss the spotlight panel. Runs at startup before React renders.\n */\nexport default Capability.makeModule(({ isPopover = false }: SpotlightDismissOptions = {}) =>\n Effect.promise(async () => {\n if (!isPopover || !isTauri()) {\n return [];\n }\n\n // Set up focus listener.\n let focusCleanup: (() => void) | undefined;\n try {\n const tauriWindow = getTauriWindow();\n const tauriCore = getTauriCore();\n if (tauriWindow && tauriCore) {\n const win = tauriWindow.getCurrentWindow();\n focusCleanup = await win.onFocusChanged(async ({ payload }: { payload: boolean }) => {\n if (!payload) {\n await tauriCore.invoke('hide_spotlight');\n }\n });\n }\n } catch (err) {\n log.catch(err);\n }\n\n // Set up Escape key listener.\n const handleKeyDown = async (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n event.preventDefault();\n try {\n const tauriCore = getTauriCore();\n if (tauriCore) {\n await tauriCore.invoke('hide_spotlight');\n }\n } catch (err) {\n log.catch(err);\n }\n }\n };\n window.addEventListener('keydown', handleKeyDown);\n\n return Capability.contributes(Capabilities.Null, null, () =>\n Effect.sync(() => {\n focusCleanup?.();\n window.removeEventListener('keydown', handleKeyDown);\n }),\n );\n }),\n);\n"],
5
+ "mappings": ";AAOA,YAAYA,YAAY;AAExB,SAASC,cAAcC,kBAAkB;AACzC,SAASC,WAAW;AACpB,SAASC,eAAe;;AAKxB,IAAMC,iBAAiB,MAAA;AACrB,QAAMC,QAASC,WAAmBC;AAClC,SAAOF,OAAOG;AAChB;AAKA,IAAMC,eAAe,MAAA;AACnB,QAAMJ,QAASC,WAAmBC;AAClC,SAAOF,OAAOK;AAChB;AAYA,IAAA,4BAAeT,WAAWU,WAAW,CAAC,EAAEC,YAAY,MAAK,IAA8B,CAAC,MAC/EC,eAAQ,YAAA;AACb,MAAI,CAACD,aAAa,CAACT,QAAAA,GAAW;AAC5B,WAAO,CAAA;EACT;AAGA,MAAIW;AACJ,MAAI;AACF,UAAMC,cAAcX,eAAAA;AACpB,UAAMY,YAAYP,aAAAA;AAClB,QAAIM,eAAeC,WAAW;AAC5B,YAAMC,MAAMF,YAAYG,iBAAgB;AACxCJ,qBAAe,MAAMG,IAAIE,eAAe,OAAO,EAAEC,QAAO,MAAwB;AAC9E,YAAI,CAACA,SAAS;AACZ,gBAAMJ,UAAUK,OAAO,gBAAA;QACzB;MACF,CAAA;IACF;EACF,SAASC,KAAK;AACZpB,QAAIqB,MAAMD,KAAAA,QAAAA;;;;;;EACZ;AAGA,QAAME,gBAAgB,OAAOC,UAAAA;AAC3B,QAAIA,MAAMC,QAAQ,UAAU;AAC1BD,YAAME,eAAc;AACpB,UAAI;AACF,cAAMX,YAAYP,aAAAA;AAClB,YAAIO,WAAW;AACb,gBAAMA,UAAUK,OAAO,gBAAA;QACzB;MACF,SAASC,KAAK;AACZpB,YAAIqB,MAAMD,KAAAA,QAAAA;;;;;;MACZ;IACF;EACF;AACAd,SAAOoB,iBAAiB,WAAWJ,aAAAA;AAEnC,SAAOvB,WAAW4B,YAAY7B,aAAa8B,MAAM,MAAM,MAC9CC,YAAK,MAAA;AACVjB,mBAAAA;AACAN,WAAOwB,oBAAoB,WAAWR,aAAAA;EACxC,CAAA,CAAA;AAEJ,CAAA,CAAA;",
6
+ "names": ["Effect", "Capabilities", "Capability", "log", "isTauri", "getTauriWindow", "tauri", "globalThis", "__TAURI__", "window", "getTauriCore", "core", "makeModule", "isPopover", "promise", "focusCleanup", "tauriWindow", "tauriCore", "win", "getCurrentWindow", "onFocusChanged", "payload", "invoke", "err", "catch", "handleKeyDown", "event", "key", "preventDefault", "addEventListener", "contributes", "Null", "sync", "removeEventListener"]
7
+ }