@dxos/plugin-search 0.8.4-main.3c1ae3b → 0.8.4-main.3eb6e50203

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 (122) hide show
  1. package/dist/lib/browser/app-graph-builder-NUJ2FOVQ.mjs +82 -0
  2. package/dist/lib/browser/app-graph-builder-NUJ2FOVQ.mjs.map +7 -0
  3. package/dist/lib/browser/{chunk-GN2FSWTM.mjs → chunk-HRIWTRJV.mjs} +1 -1
  4. package/dist/lib/browser/chunk-HRIWTRJV.mjs.map +7 -0
  5. package/dist/lib/browser/chunk-I7YWQSUZ.mjs +26 -0
  6. package/dist/lib/browser/chunk-I7YWQSUZ.mjs.map +7 -0
  7. package/dist/lib/browser/{chunk-MBISM5WN.mjs → chunk-ZRJJXRGF.mjs} +47 -56
  8. package/dist/lib/browser/chunk-ZRJJXRGF.mjs.map +7 -0
  9. package/dist/lib/browser/index.mjs +48 -55
  10. package/dist/lib/browser/index.mjs.map +4 -4
  11. package/dist/lib/browser/meta.json +1 -1
  12. package/dist/lib/browser/operation-resolver-QEGN4ZKN.mjs +26 -0
  13. package/dist/lib/browser/operation-resolver-QEGN4ZKN.mjs.map +7 -0
  14. package/dist/lib/browser/react-surface-QE45EVGF.mjs +369 -0
  15. package/dist/lib/browser/react-surface-QE45EVGF.mjs.map +7 -0
  16. package/dist/types/src/SearchPlugin.d.ts +2 -1
  17. package/dist/types/src/SearchPlugin.d.ts.map +1 -1
  18. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +6 -0
  19. package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +1 -0
  20. package/dist/types/src/capabilities/app-graph-builder/index.d.ts +3 -0
  21. package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +1 -0
  22. package/dist/types/src/capabilities/index.d.ts +3 -3
  23. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  24. package/dist/types/src/capabilities/operation-resolver/index.d.ts +3 -0
  25. package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +1 -0
  26. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +5 -0
  27. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +1 -0
  28. package/dist/types/src/capabilities/react-surface/index.d.ts +3 -0
  29. package/dist/types/src/capabilities/react-surface/index.d.ts.map +1 -0
  30. package/dist/types/src/capabilities/react-surface/react-surface.d.ts +5 -0
  31. package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +1 -0
  32. package/dist/types/src/components/SearchDialog.d.ts.map +1 -1
  33. package/dist/types/src/components/SearchMain.d.ts.map +1 -1
  34. package/dist/types/src/components/SearchMain.stories.d.ts +31 -0
  35. package/dist/types/src/components/SearchMain.stories.d.ts.map +1 -0
  36. package/dist/types/src/components/SpaceMain.d.ts +9 -0
  37. package/dist/types/src/components/SpaceMain.d.ts.map +1 -0
  38. package/dist/types/src/components/index.d.ts +1 -1
  39. package/dist/types/src/components/index.d.ts.map +1 -1
  40. package/dist/types/src/hooks/sync.d.ts +3 -2
  41. package/dist/types/src/hooks/sync.d.ts.map +1 -1
  42. package/dist/types/src/hooks/useGlobalSearch.d.ts +7 -3
  43. package/dist/types/src/hooks/useGlobalSearch.d.ts.map +1 -1
  44. package/dist/types/src/hooks/useSearchResults.d.ts +3 -2
  45. package/dist/types/src/hooks/useSearchResults.d.ts.map +1 -1
  46. package/dist/types/src/hooks/useWebSearch.d.ts +6 -3
  47. package/dist/types/src/hooks/useWebSearch.d.ts.map +1 -1
  48. package/dist/types/src/meta.d.ts +2 -2
  49. package/dist/types/src/meta.d.ts.map +1 -1
  50. package/dist/types/src/search/exa.d.ts +3 -1
  51. package/dist/types/src/search/exa.d.ts.map +1 -1
  52. package/dist/types/src/translations.d.ts +1 -1
  53. package/dist/types/src/types/action.d.ts +13 -10
  54. package/dist/types/src/types/action.d.ts.map +1 -1
  55. package/dist/types/src/types/search.d.ts +3 -7
  56. package/dist/types/src/types/search.d.ts.map +1 -1
  57. package/dist/types/tsconfig.tsbuildinfo +1 -1
  58. package/package.json +54 -47
  59. package/src/SearchPlugin.tsx +25 -42
  60. package/src/capabilities/app-graph-builder/app-graph-builder.ts +71 -0
  61. package/src/capabilities/app-graph-builder/index.ts +7 -0
  62. package/src/capabilities/index.ts +3 -5
  63. package/src/capabilities/operation-resolver/index.ts +7 -0
  64. package/src/capabilities/operation-resolver/operation-resolver.ts +24 -0
  65. package/src/capabilities/react-surface/index.ts +7 -0
  66. package/src/capabilities/react-surface/react-surface.tsx +71 -0
  67. package/src/components/SearchDialog.tsx +54 -70
  68. package/src/components/SearchMain.stories.tsx +90 -0
  69. package/src/components/SearchMain.tsx +63 -37
  70. package/src/components/SpaceMain.tsx +172 -0
  71. package/src/components/index.ts +1 -1
  72. package/src/hooks/sync.test.ts +5 -3
  73. package/src/hooks/sync.ts +22 -27
  74. package/src/hooks/useGlobalSearch.tsx +31 -12
  75. package/src/hooks/useSearchResults.ts +5 -2
  76. package/src/hooks/useWebSearch.ts +19 -8
  77. package/src/meta.ts +2 -2
  78. package/src/search/exa.ts +4 -3
  79. package/src/translations.ts +1 -1
  80. package/src/types/action.tsx +8 -6
  81. package/src/types/command-score.d.ts +16 -0
  82. package/src/types/search.ts +3 -9
  83. package/dist/lib/browser/app-graph-builder-BFLYNCSJ.mjs +0 -79
  84. package/dist/lib/browser/app-graph-builder-BFLYNCSJ.mjs.map +0 -7
  85. package/dist/lib/browser/chunk-GN2FSWTM.mjs.map +0 -7
  86. package/dist/lib/browser/chunk-MBISM5WN.mjs.map +0 -7
  87. package/dist/lib/browser/chunk-TCVYYI44.mjs +0 -21
  88. package/dist/lib/browser/chunk-TCVYYI44.mjs.map +0 -7
  89. package/dist/lib/browser/intent-resolver-UYQA6UUQ.mjs +0 -22
  90. package/dist/lib/browser/intent-resolver-UYQA6UUQ.mjs.map +0 -7
  91. package/dist/lib/browser/react-surface-NNSCVH4Q.mjs +0 -301
  92. package/dist/lib/browser/react-surface-NNSCVH4Q.mjs.map +0 -7
  93. package/dist/types/src/capabilities/app-graph-builder.d.ts +0 -4
  94. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +0 -1
  95. package/dist/types/src/capabilities/intent-resolver.d.ts +0 -4
  96. package/dist/types/src/capabilities/intent-resolver.d.ts.map +0 -1
  97. package/dist/types/src/capabilities/react-surface.d.ts +0 -4
  98. package/dist/types/src/capabilities/react-surface.d.ts.map +0 -1
  99. package/dist/types/src/components/Search.stories.d.ts +0 -16
  100. package/dist/types/src/components/Search.stories.d.ts.map +0 -1
  101. package/dist/types/src/components/SearchResults/SearchResults.d.ts +0 -20
  102. package/dist/types/src/components/SearchResults/SearchResults.d.ts.map +0 -1
  103. package/dist/types/src/components/SearchResults/SearchResults.stories.d.ts +0 -16
  104. package/dist/types/src/components/SearchResults/SearchResults.stories.d.ts.map +0 -1
  105. package/dist/types/src/components/SearchResults/index.d.ts +0 -2
  106. package/dist/types/src/components/SearchResults/index.d.ts.map +0 -1
  107. package/dist/types/src/components/Searchbar/Searchbar.d.ts +0 -10
  108. package/dist/types/src/components/Searchbar/Searchbar.d.ts.map +0 -1
  109. package/dist/types/src/components/Searchbar/Searchbar.stories.d.ts +0 -13
  110. package/dist/types/src/components/Searchbar/Searchbar.stories.d.ts.map +0 -1
  111. package/dist/types/src/components/Searchbar/index.d.ts +0 -2
  112. package/dist/types/src/components/Searchbar/index.d.ts.map +0 -1
  113. package/src/capabilities/app-graph-builder.ts +0 -81
  114. package/src/capabilities/intent-resolver.ts +0 -18
  115. package/src/capabilities/react-surface.tsx +0 -56
  116. package/src/components/Search.stories.tsx +0 -64
  117. package/src/components/SearchResults/SearchResults.stories.tsx +0 -59
  118. package/src/components/SearchResults/SearchResults.tsx +0 -83
  119. package/src/components/SearchResults/index.ts +0 -5
  120. package/src/components/Searchbar/Searchbar.stories.tsx +0 -28
  121. package/src/components/Searchbar/Searchbar.tsx +0 -57
  122. package/src/components/Searchbar/index.ts +0 -5
@@ -1 +1 @@
1
- {"inputs":{"src/hooks/sync.ts":{"bytes":11956,"imports":[{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useGlobalSearch.tsx":{"bytes":5138,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"src/hooks/sync.ts","kind":"import-statement","original":"./sync"}],"format":"esm"},"src/hooks/useSearchResults.ts":{"bytes":6640,"imports":[{"path":"main-thread-scheduling","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/hooks/sync.ts","kind":"import-statement","original":"./sync"}],"format":"esm"},"src/search/exa.ts":{"bytes":22705,"imports":[{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/echo-protocol","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/search/index.ts":{"bytes":455,"imports":[{"path":"src/search/exa.ts","kind":"import-statement","original":"./exa"}],"format":"esm"},"src/hooks/useWebSearch.ts":{"bytes":6472,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ai/testing","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/schema/testing","kind":"import-statement","external":true},{"path":"src/search/index.ts","kind":"import-statement","original":"../search"},{"path":"src/hooks/sync.ts","kind":"import-statement","original":"./sync"}],"format":"esm"},"src/hooks/index.ts":{"bytes":774,"imports":[{"path":"src/hooks/sync.ts","kind":"import-statement","original":"./sync"},{"path":"src/hooks/useGlobalSearch.tsx","kind":"import-statement","original":"./useGlobalSearch"},{"path":"src/hooks/useSearchResults.ts","kind":"import-statement","original":"./useSearchResults"},{"path":"src/hooks/useWebSearch.ts","kind":"import-statement","original":"./useWebSearch"}],"format":"esm"},"src/meta.ts":{"bytes":2101,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/types/action.tsx":{"bytes":1706,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/index.ts":{"bytes":501,"imports":[{"path":"src/types/action.tsx","kind":"import-statement","original":"./action"}],"format":"esm"},"src/capabilities/app-graph-builder.ts":{"bytes":11288,"imports":[{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","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/capabilities/intent-resolver.ts":{"bytes":2212,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"src/components/Searchbar/Searchbar.tsx":{"bytes":5639,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"src/components/Searchbar/index.ts":{"bytes":483,"imports":[{"path":"src/components/Searchbar/Searchbar.tsx","kind":"import-statement","original":"./Searchbar"}],"format":"esm"},"src/components/SearchResults/SearchResults.tsx":{"bytes":9797,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"src/components/SearchResults/index.ts":{"bytes":499,"imports":[{"path":"src/components/SearchResults/SearchResults.tsx","kind":"import-statement","original":"./SearchResults"}],"format":"esm"},"src/components/SearchMain.tsx":{"bytes":7421,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-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"},{"path":"src/components/Searchbar/index.ts","kind":"import-statement","original":"./Searchbar"},{"path":"src/components/SearchResults/index.ts","kind":"import-statement","original":"./SearchResults"}],"format":"esm"},"src/components/SearchDialog.tsx":{"bytes":17834,"imports":[{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Option","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/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-searchlist","kind":"import-statement","external":true},{"path":"@dxos/react-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/index.ts":{"bytes":663,"imports":[{"path":"src/components/Searchbar/index.ts","kind":"import-statement","original":"./Searchbar"},{"path":"src/components/SearchMain.tsx","kind":"import-statement","original":"./SearchMain"},{"path":"src/components/SearchDialog.tsx","kind":"import-statement","original":"./SearchDialog"}],"format":"esm"},"src/capabilities/react-surface.tsx":{"bytes":5574,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../hooks"}],"format":"esm"},"src/capabilities/index.ts":{"bytes":1300,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"},{"path":"src/capabilities/intent-resolver.ts","kind":"dynamic-import","original":"./intent-resolver"},{"path":"src/capabilities/react-surface.tsx","kind":"dynamic-import","original":"./react-surface"}],"format":"esm"},"src/translations.ts":{"bytes":2104,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/SearchPlugin.tsx":{"bytes":6454,"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"}],"format":"esm"},"src/index.ts":{"bytes":715,"imports":[{"path":"src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"src/SearchPlugin.tsx","kind":"import-statement","original":"./SearchPlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4493},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-TCVYYI44.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-MBISM5WN.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GN2FSWTM.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/app-graph-builder-BFLYNCSJ.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/intent-resolver-UYQA6UUQ.mjs","kind":"dynamic-import"},{"path":"dist/lib/browser/react-surface-NNSCVH4Q.mjs","kind":"dynamic-import"}],"exports":["SEARCH_RESULT","SearchAction","SearchContextProvider","SearchPlugin","filterObjects","filterObjectsSync","getStringProperty","mapObjectToTextFields","meta","queryStringToMatch","useGlobalFilteredObjects","useGlobalSearch","useGlobalSearchResults","useSearchResults","useWebSearch"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/SearchPlugin.tsx":{"bytesInOutput":1327},"src/capabilities/index.ts":{"bytesInOutput":268},"src/translations.ts":{"bytesInOutput":458}},"bytes":2898},"dist/lib/browser/app-graph-builder-BFLYNCSJ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":5453},"dist/lib/browser/app-graph-builder-BFLYNCSJ.mjs":{"imports":[{"path":"dist/lib/browser/chunk-TCVYYI44.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GN2FSWTM.mjs","kind":"import-statement"},{"path":"@effect-atom/atom-react","kind":"import-statement","external":true},{"path":"effect/Function","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder.ts":{"bytesInOutput":2518}},"bytes":2769},"dist/lib/browser/intent-resolver-UYQA6UUQ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1137},"dist/lib/browser/intent-resolver-UYQA6UUQ.mjs":{"imports":[{"path":"dist/lib/browser/chunk-TCVYYI44.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GN2FSWTM.mjs","kind":"import-statement"},{"path":"@dxos/app-framework","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/intent-resolver.ts","inputs":{"src/capabilities/intent-resolver.ts":{"bytesInOutput":412}},"bytes":641},"dist/lib/browser/chunk-TCVYYI44.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":815},"dist/lib/browser/chunk-TCVYYI44.mjs":{"imports":[{"path":"dist/lib/browser/chunk-GN2FSWTM.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true}],"exports":["SearchAction"],"inputs":{"src/types/action.tsx":{"bytesInOutput":354},"src/types/index.ts":{"bytesInOutput":0}},"bytes":498},"dist/lib/browser/react-surface-NNSCVH4Q.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":22236},"dist/lib/browser/react-surface-NNSCVH4Q.mjs":{"imports":[{"path":"dist/lib/browser/chunk-MBISM5WN.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-GN2FSWTM.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/react","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-stack","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"effect/Option","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/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-searchlist","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface.tsx","inputs":{"src/capabilities/react-surface.tsx":{"bytesInOutput":1302},"src/components/Searchbar/Searchbar.tsx":{"bytesInOutput":1338},"src/components/Searchbar/index.ts":{"bytesInOutput":0},"src/components/index.ts":{"bytesInOutput":0},"src/components/SearchMain.tsx":{"bytesInOutput":1752},"src/components/SearchResults/SearchResults.tsx":{"bytesInOutput":956},"src/components/SearchResults/index.ts":{"bytesInOutput":0},"src/components/SearchDialog.tsx":{"bytesInOutput":4943}},"bytes":10858},"dist/lib/browser/chunk-MBISM5WN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":24199},"dist/lib/browser/chunk-MBISM5WN.mjs":{"imports":[{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@preact-signals/safe-react/tracking","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"main-thread-scheduling","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ai/testing","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/schema/testing","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/echo-protocol","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["SearchContextProvider","filterObjects","filterObjectsSync","getStringProperty","mapObjectToTextFields","queryStringToMatch","useGlobalFilteredObjects","useGlobalSearch","useGlobalSearchResults","useSearchResults","useWebSearch"],"inputs":{"src/hooks/sync.ts":{"bytesInOutput":2347},"src/hooks/useGlobalSearch.tsx":{"bytesInOutput":1181},"src/hooks/useSearchResults.ts":{"bytesInOutput":1446},"src/hooks/useWebSearch.ts":{"bytesInOutput":1707},"src/search/exa.ts":{"bytesInOutput":1286},"src/search/index.ts":{"bytesInOutput":0},"src/hooks/index.ts":{"bytesInOutput":0}},"bytes":8434},"dist/lib/browser/chunk-GN2FSWTM.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":997},"dist/lib/browser/chunk-GN2FSWTM.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["SEARCH_RESULT","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":501}},"bytes":597}}}
1
+ {"inputs":{"src/hooks/sync.ts":{"bytes":11342,"imports":[{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useGlobalSearch.tsx":{"bytes":6269,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/react-ui-searchlist","kind":"import-statement","external":true},{"path":"src/hooks/sync.ts","kind":"import-statement","original":"./sync"},{"path":"@dxos/react-ui-searchlist","kind":"import-statement","external":true}],"format":"esm"},"src/hooks/useSearchResults.ts":{"bytes":6688,"imports":[{"path":"main-thread-scheduling","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"src/hooks/sync.ts","kind":"import-statement","original":"./sync"}],"format":"esm"},"src/search/exa.ts":{"bytes":22818,"imports":[{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/echo-protocol","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/search/index.ts":{"bytes":455,"imports":[{"path":"src/search/exa.ts","kind":"import-statement","original":"./exa"}],"format":"esm"},"src/hooks/useWebSearch.ts":{"bytes":6816,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ai/testing","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/schema/testing","kind":"import-statement","external":true},{"path":"src/search/index.ts","kind":"import-statement","original":"../search"},{"path":"src/hooks/sync.ts","kind":"import-statement","original":"./sync"}],"format":"esm"},"src/hooks/index.ts":{"bytes":774,"imports":[{"path":"src/hooks/sync.ts","kind":"import-statement","original":"./sync"},{"path":"src/hooks/useGlobalSearch.tsx","kind":"import-statement","original":"./useGlobalSearch"},{"path":"src/hooks/useSearchResults.ts","kind":"import-statement","original":"./useSearchResults"},{"path":"src/hooks/useWebSearch.ts","kind":"import-statement","original":"./useWebSearch"}],"format":"esm"},"src/meta.ts":{"bytes":2097,"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"src/types/action.tsx":{"bytes":2057,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/types/index.ts":{"bytes":501,"imports":[{"path":"src/types/action.tsx","kind":"import-statement","original":"./action"}],"format":"esm"},"src/capabilities/app-graph-builder/app-graph-builder.ts":{"bytes":9726,"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":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","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/capabilities/app-graph-builder/index.ts":{"bytes":944,"imports":[{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"src/capabilities/app-graph-builder/app-graph-builder.ts","kind":"dynamic-import","original":"./app-graph-builder"}],"format":"esm"},"src/capabilities/operation-resolver/operation-resolver.ts":{"bytes":2953,"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":962,"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/SearchMain.tsx":{"bytes":11465,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","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/schema","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/SearchDialog.tsx":{"bytes":16266,"imports":[{"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/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","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/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"src/components/SpaceMain.tsx":{"bytes":21900,"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/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","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/schema","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/index.ts":{"bytes":663,"imports":[{"path":"src/components/SearchMain.tsx","kind":"import-statement","original":"./SearchMain"},{"path":"src/components/SearchDialog.tsx","kind":"import-statement","original":"./SearchDialog"},{"path":"src/components/SpaceMain.tsx","kind":"import-statement","original":"./SpaceMain"}],"format":"esm"},"src/capabilities/react-surface/react-surface.tsx":{"bytes":7957,"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-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"src/components/index.ts","kind":"import-statement","original":"../../components"},{"path":"src/hooks/index.ts","kind":"import-statement","original":"../../hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"src/capabilities/react-surface/index.ts":{"bytes":910,"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/index.ts":{"bytes":710,"imports":[{"path":"src/capabilities/app-graph-builder/index.ts","kind":"import-statement","original":"./app-graph-builder"},{"path":"src/capabilities/operation-resolver/index.ts","kind":"import-statement","original":"./operation-resolver"},{"path":"src/capabilities/react-surface/index.ts","kind":"import-statement","original":"./react-surface"}],"format":"esm"},"src/translations.ts":{"bytes":2069,"imports":[{"path":"src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"src/SearchPlugin.tsx":{"bytes":4428,"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"}],"format":"esm"},"src/index.ts":{"bytes":715,"imports":[{"path":"src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"src/SearchPlugin.tsx","kind":"import-statement","original":"./SearchPlugin"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4240},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-I7YWQSUZ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-ZRJJXRGF.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-HRIWTRJV.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/app-graph-builder-NUJ2FOVQ.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/operation-resolver-QEGN4ZKN.mjs","kind":"dynamic-import"},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"dist/lib/browser/react-surface-QE45EVGF.mjs","kind":"dynamic-import"}],"exports":["GlobalFilterProvider","SEARCH_RESULT","SearchContextProvider","SearchOperation","SearchPlugin","filterObjects","filterObjectsSync","getStringProperty","mapObjectToTextFields","meta","queryStringToMatch","useGlobalFilteredObjects","useGlobalSearch","useGlobalSearchResults","useSearchResults","useWebSearch"],"entryPoint":"src/index.ts","inputs":{"src/index.ts":{"bytesInOutput":0},"src/SearchPlugin.tsx":{"bytesInOutput":830},"src/capabilities/app-graph-builder/index.ts":{"bytesInOutput":158},"src/capabilities/index.ts":{"bytesInOutput":0},"src/capabilities/operation-resolver/index.ts":{"bytesInOutput":179},"src/capabilities/react-surface/index.ts":{"bytesInOutput":164},"src/translations.ts":{"bytesInOutput":443}},"bytes":2784},"dist/lib/browser/app-graph-builder-NUJ2FOVQ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":4705},"dist/lib/browser/app-graph-builder-NUJ2FOVQ.mjs":{"imports":[{"path":"dist/lib/browser/chunk-I7YWQSUZ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-HRIWTRJV.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},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-deck/types","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/app-graph-builder/app-graph-builder.ts","inputs":{"src/capabilities/app-graph-builder/app-graph-builder.ts":{"bytesInOutput":2389}},"bytes":2661},"dist/lib/browser/operation-resolver-QEGN4ZKN.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1559},"dist/lib/browser/operation-resolver-QEGN4ZKN.mjs":{"imports":[{"path":"dist/lib/browser/chunk-I7YWQSUZ.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-HRIWTRJV.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":636}},"bytes":896},"dist/lib/browser/chunk-I7YWQSUZ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":988},"dist/lib/browser/chunk-I7YWQSUZ.mjs":{"imports":[{"path":"dist/lib/browser/chunk-HRIWTRJV.mjs","kind":"import-statement"},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true}],"exports":["SearchOperation"],"inputs":{"src/types/action.tsx":{"bytesInOutput":449},"src/types/index.ts":{"bytesInOutput":0}},"bytes":596},"dist/lib/browser/react-surface-QE45EVGF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":30539},"dist/lib/browser/react-surface-QE45EVGF.mjs":{"imports":[{"path":"dist/lib/browser/chunk-ZRJJXRGF.mjs","kind":"import-statement"},{"path":"dist/lib/browser/chunk-HRIWTRJV.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-space","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework/ui","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","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/schema","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/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","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":"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/echo","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","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/schema","kind":"import-statement","external":true},{"path":"@dxos/ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"src/capabilities/react-surface/react-surface.tsx","inputs":{"src/capabilities/react-surface/react-surface.tsx":{"bytesInOutput":1868},"src/components/SearchMain.tsx":{"bytesInOutput":2838},"src/components/index.ts":{"bytesInOutput":0},"src/components/SearchDialog.tsx":{"bytesInOutput":4246},"src/components/SpaceMain.tsx":{"bytesInOutput":5232}},"bytes":14684},"dist/lib/browser/chunk-ZRJJXRGF.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":24926},"dist/lib/browser/chunk-ZRJJXRGF.mjs":{"imports":[{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/react-ui-searchlist","kind":"import-statement","external":true},{"path":"@dxos/react-ui-searchlist","kind":"import-statement","external":true},{"path":"main-thread-scheduling","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/ai/testing","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"@dxos/schema/testing","kind":"import-statement","external":true},{"path":"effect/Option","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/echo-protocol","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["GlobalFilterProvider","SearchContextProvider","filterObjects","filterObjectsSync","getStringProperty","mapObjectToTextFields","queryStringToMatch","useGlobalFilteredObjects","useGlobalSearch","useGlobalSearchResults","useSearchResults","useWebSearch"],"inputs":{"src/hooks/sync.ts":{"bytesInOutput":2149},"src/hooks/useGlobalSearch.tsx":{"bytesInOutput":1244},"src/hooks/useSearchResults.ts":{"bytesInOutput":1446},"src/hooks/useWebSearch.ts":{"bytesInOutput":1726},"src/search/exa.ts":{"bytesInOutput":1286},"src/search/index.ts":{"bytesInOutput":0},"src/hooks/index.ts":{"bytesInOutput":0}},"bytes":8367},"dist/lib/browser/chunk-HRIWTRJV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":994},"dist/lib/browser/chunk-HRIWTRJV.mjs":{"imports":[{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["SEARCH_RESULT","meta"],"inputs":{"src/meta.ts":{"bytesInOutput":501}},"bytes":597}}}
@@ -0,0 +1,26 @@
1
+ import {
2
+ SearchOperation
3
+ } from "./chunk-I7YWQSUZ.mjs";
4
+ import "./chunk-HRIWTRJV.mjs";
5
+
6
+ // src/capabilities/operation-resolver/operation-resolver.ts
7
+ import * as Effect from "effect/Effect";
8
+ import { Capabilities, Capability } from "@dxos/app-framework";
9
+ import { LayoutOperation } from "@dxos/app-toolkit";
10
+ import { Operation, OperationResolver } from "@dxos/operation";
11
+ var operation_resolver_default = Capability.makeModule(Effect.fnUntraced(function* () {
12
+ return Capability.contributes(Capabilities.OperationResolver, [
13
+ OperationResolver.make({
14
+ operation: SearchOperation.OpenSearch,
15
+ handler: Effect.fnUntraced(function* () {
16
+ yield* Operation.invoke(LayoutOperation.UpdateComplementary, {
17
+ subject: "search"
18
+ });
19
+ })
20
+ })
21
+ ]);
22
+ }));
23
+ export {
24
+ operation_resolver_default as default
25
+ };
26
+ //# sourceMappingURL=operation-resolver-QEGN4ZKN.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 { LayoutOperation } from '@dxos/app-toolkit';\nimport { Operation, OperationResolver } from '@dxos/operation';\n\nimport { SearchOperation } from '../../types';\n\nexport default Capability.makeModule(\n Effect.fnUntraced(function* () {\n return Capability.contributes(Capabilities.OperationResolver, [\n OperationResolver.make({\n operation: SearchOperation.OpenSearch,\n handler: Effect.fnUntraced(function* () {\n yield* Operation.invoke(LayoutOperation.UpdateComplementary, { subject: 'search' });\n }),\n }),\n ]);\n }),\n);\n"],
5
+ "mappings": ";;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,cAAcC,kBAAkB;AACzC,SAASC,uBAAuB;AAChC,SAASC,WAAWC,yBAAyB;AAI7C,IAAA,6BAAeC,WAAWC,WACjBC,kBAAW,aAAA;AAChB,SAAOF,WAAWG,YAAYC,aAAaC,mBAAmB;IAC5DA,kBAAkBC,KAAK;MACrBC,WAAWC,gBAAgBC;MAC3BC,SAAgBR,kBAAW,aAAA;AACzB,eAAOS,UAAUC,OAAOC,gBAAgBC,qBAAqB;UAAEC,SAAS;QAAS,CAAA;MACnF,CAAA;IACF,CAAA;GACD;AACH,CAAA,CAAA;",
6
+ "names": ["Effect", "Capabilities", "Capability", "LayoutOperation", "Operation", "OperationResolver", "Capability", "makeModule", "fnUntraced", "contributes", "Capabilities", "OperationResolver", "make", "operation", "SearchOperation", "OpenSearch", "handler", "Operation", "invoke", "LayoutOperation", "UpdateComplementary", "subject"]
7
+ }
@@ -0,0 +1,369 @@
1
+ import {
2
+ SearchContextProvider,
3
+ useGlobalSearch,
4
+ useGlobalSearchResults,
5
+ useSearchResults,
6
+ useWebSearch
7
+ } from "./chunk-ZRJJXRGF.mjs";
8
+ import {
9
+ meta
10
+ } from "./chunk-HRIWTRJV.mjs";
11
+
12
+ // src/capabilities/react-surface/react-surface.tsx
13
+ import * as Effect from "effect/Effect";
14
+ import React4 from "react";
15
+ import { Capabilities, Capability } from "@dxos/app-framework";
16
+ import { Surface as Surface2 } from "@dxos/app-framework/ui";
17
+ import { useActiveSpace } from "@dxos/plugin-space";
18
+ import { SpaceState, isSpace } from "@dxos/react-client/echo";
19
+
20
+ // src/components/SearchMain.tsx
21
+ import React, { useCallback, useMemo, useState } from "react";
22
+ import { Surface } from "@dxos/app-framework/ui";
23
+ import { Entity, Query } from "@dxos/echo";
24
+ import { Filter, useQuery } from "@dxos/react-client/echo";
25
+ import { ScrollArea, Toolbar, useTranslation } from "@dxos/react-ui";
26
+ import { Layout } from "@dxos/react-ui";
27
+ import { Card, Mosaic } from "@dxos/react-ui-mosaic";
28
+ import { SearchList } from "@dxos/react-ui-searchlist";
29
+ import { Text } from "@dxos/schema";
30
+ var SearchMain = ({ space }) => {
31
+ const { t } = useTranslation(meta.id);
32
+ const { setMatch } = useGlobalSearch();
33
+ const [query, setQuery] = useState();
34
+ const objects = useQuery(space?.db, query === void 0 ? Query.select(Filter.nothing()) : Query.all(Query.select(Filter.text(query, {
35
+ type: "full-text"
36
+ })).select(Filter.not(Filter.type(Text.Text))), Query.select(Filter.text(query, {
37
+ type: "full-text"
38
+ })).select(Filter.type(Text.Text)).referencedBy("dxos.org/type/Document", "content")));
39
+ const results = useGlobalSearchResults(objects);
40
+ const { results: webResults } = useWebSearch({
41
+ query
42
+ });
43
+ const allResults = useMemo(() => [
44
+ ...results,
45
+ ...webResults
46
+ ].filter(({ object }) => object && Entity.getLabel(object)), [
47
+ results,
48
+ webResults
49
+ ]);
50
+ const handleSearch = useCallback((text) => {
51
+ setQuery(text);
52
+ setMatch?.(text);
53
+ }, [
54
+ setMatch
55
+ ]);
56
+ return /* @__PURE__ */ React.createElement(Layout.Main, {
57
+ toolbar: true
58
+ }, /* @__PURE__ */ React.createElement(SearchList.Root, {
59
+ onSearch: handleSearch
60
+ }, /* @__PURE__ */ React.createElement(Toolbar.Root, null, /* @__PURE__ */ React.createElement(SearchList.Input, {
61
+ placeholder: t("search placeholder")
62
+ })), /* @__PURE__ */ React.createElement(SearchList.Content, null, /* @__PURE__ */ React.createElement(Mosaic.Container, {
63
+ asChild: true
64
+ }, /* @__PURE__ */ React.createElement(ScrollArea.Root, {
65
+ orientation: "vertical"
66
+ }, /* @__PURE__ */ React.createElement(ScrollArea.Viewport, null, /* @__PURE__ */ React.createElement(Mosaic.Stack, {
67
+ items: allResults,
68
+ getId: (result) => result.object.id,
69
+ Tile: SearchResultTile
70
+ })))), allResults.length === 0 && /* @__PURE__ */ React.createElement(SearchList.Empty, null, t("empty results message")))));
71
+ };
72
+ var SearchResultTile = ({ data }) => {
73
+ return /* @__PURE__ */ React.createElement(Card.Root, {
74
+ key: data.id
75
+ }, /* @__PURE__ */ React.createElement(Card.Toolbar, null, /* @__PURE__ */ React.createElement(Card.DragHandle, null), /* @__PURE__ */ React.createElement(Card.Title, null, data.label ?? (data.object && Entity.getLabel(data.object))), /* @__PURE__ */ React.createElement(Card.Menu, null)), /* @__PURE__ */ React.createElement(Surface.Surface, {
76
+ role: "card--content",
77
+ data: {
78
+ subject: data.object
79
+ },
80
+ limit: 1
81
+ }));
82
+ };
83
+
84
+ // src/components/SearchDialog.tsx
85
+ import * as Option from "effect/Option";
86
+ import React2, { forwardRef, useCallback as useCallback2, useState as useState2 } from "react";
87
+ import { useOperationInvoker } from "@dxos/app-framework/ui";
88
+ import { LayoutOperation } from "@dxos/app-toolkit";
89
+ import { useAppGraph, useLayout } from "@dxos/app-toolkit/ui";
90
+ import { Obj } from "@dxos/echo";
91
+ import { Graph } from "@dxos/plugin-graph";
92
+ import { useClient } from "@dxos/react-client";
93
+ import { Filter as Filter2, useQuery as useQuery2 } from "@dxos/react-client/echo";
94
+ import { Button, Dialog, toLocalizedString, useTranslation as useTranslation2 } from "@dxos/react-ui";
95
+ import { SearchList as SearchList2 } from "@dxos/react-ui-searchlist";
96
+ import { descriptionText, mx, osTranslations } from "@dxos/ui-theme";
97
+ var SEARCH_DIALOG = `${meta.id}/SearchDialog`;
98
+ var SearchListResult = /* @__PURE__ */ forwardRef(({ node, onSelect }, forwardedRef) => {
99
+ const { t } = useTranslation2(meta.id);
100
+ const label = toLocalizedString(node?.properties.label ?? "never", t);
101
+ const handleSelect = useCallback2(() => {
102
+ onSelect?.(node.id);
103
+ }, [
104
+ node,
105
+ onSelect
106
+ ]);
107
+ return /* @__PURE__ */ React2.createElement(SearchList2.Item, {
108
+ value: node.id,
109
+ label,
110
+ icon: node?.properties.icon,
111
+ classNames: "flex gap-2 items-center pli-2",
112
+ onSelect: handleSelect,
113
+ ref: forwardedRef
114
+ });
115
+ });
116
+ var SearchDialog = ({ pivotId }) => {
117
+ const { t } = useTranslation2(meta.id);
118
+ const { graph } = useAppGraph();
119
+ const layout = useLayout();
120
+ const closed = (Array.isArray(layout.inactive) ? layout.inactive : [
121
+ layout.inactive
122
+ ]).map((id) => graph ? Graph.getNode(graph, id) : Option.none()).filter(Boolean);
123
+ const [queryString, setQueryString] = useState2("");
124
+ const client = useClient();
125
+ const dangerouslyLoadAllObjects = useQuery2(client.spaces, Filter2.everything());
126
+ const [pending, results] = useSearchResults(queryString, dangerouslyLoadAllObjects);
127
+ const resultObjects = Array.from(results.keys());
128
+ const { invokePromise } = useOperationInvoker();
129
+ const handleSelect = useCallback2(async (nodeId) => {
130
+ await invokePromise(LayoutOperation.UpdateDialog, {
131
+ state: false
132
+ });
133
+ const index = layout.active.findIndex((id) => id === nodeId);
134
+ if (index !== -1) {
135
+ await invokePromise(LayoutOperation.ScrollIntoView, {
136
+ subject: nodeId
137
+ });
138
+ } else {
139
+ await invokePromise(LayoutOperation.Open, {
140
+ subject: [
141
+ nodeId
142
+ ],
143
+ pivotId,
144
+ positioning: "end"
145
+ });
146
+ }
147
+ }, [
148
+ pivotId,
149
+ invokePromise,
150
+ layout
151
+ ]);
152
+ const handleSearch = useCallback2((query) => {
153
+ setQueryString(query);
154
+ }, []);
155
+ return /* @__PURE__ */ React2.createElement(Dialog.Content, null, /* @__PURE__ */ React2.createElement(Dialog.Title, null, t("search dialog title")), /* @__PURE__ */ React2.createElement(SearchList2.Root, {
156
+ onSearch: handleSearch
157
+ }, /* @__PURE__ */ React2.createElement(SearchList2.Content, {
158
+ classNames: "max-bs-[24rem] overflow-auto"
159
+ }, /* @__PURE__ */ React2.createElement(SearchList2.Input, {
160
+ placeholder: t("search placeholder")
161
+ }), /* @__PURE__ */ React2.createElement(SearchList2.Viewport, null, queryString.length > 0 ? resultObjects.length > 0 ? resultObjects.map((object) => Graph.getNode(graph, Obj.getDXN(object).toString())).filter(Option.isSome).map((node) => /* @__PURE__ */ React2.createElement(SearchListResult, {
162
+ key: node.value.id,
163
+ node: node.value,
164
+ onSelect: handleSelect
165
+ })) : /* @__PURE__ */ React2.createElement("p", {
166
+ className: "pli-1"
167
+ }, t(pending ? "pending results message" : "empty results message")) : /* @__PURE__ */ React2.createElement(React2.Fragment, null, closed.length > 0 && /* @__PURE__ */ React2.createElement("h2", {
168
+ className: mx("mlb-1", descriptionText)
169
+ }, t("recently closed heading")), closed.filter(Option.isSome).map((node) => /* @__PURE__ */ React2.createElement(SearchListResult, {
170
+ key: node.value.id,
171
+ node: node.value,
172
+ onSelect: handleSelect
173
+ })))))), /* @__PURE__ */ React2.createElement(Dialog.Close, {
174
+ asChild: true
175
+ }, /* @__PURE__ */ React2.createElement(Button, {
176
+ variant: "primary"
177
+ }, t("close label", {
178
+ ns: osTranslations
179
+ }))));
180
+ };
181
+
182
+ // src/components/SpaceMain.tsx
183
+ import React3, { useCallback as useCallback3, useEffect, useMemo as useMemo2, useState as useState3 } from "react";
184
+ import { useCapabilities, useOperationInvoker as useOperationInvoker2 } from "@dxos/app-framework/ui";
185
+ import { AppCapabilities, LayoutOperation as LayoutOperation2 } from "@dxos/app-toolkit";
186
+ import { useAppGraph as useAppGraph2 } from "@dxos/app-toolkit/ui";
187
+ import { Filter as Filter3, Obj as Obj2, Query as Query2 } from "@dxos/echo";
188
+ import { Graph as Graph2, Node, useActionRunner, useConnections } from "@dxos/plugin-graph";
189
+ import { useQuery as useQuery3 } from "@dxos/react-client/echo";
190
+ import { ScrollArea as ScrollArea2, Toolbar as Toolbar2, toLocalizedString as toLocalizedString2, useTranslation as useTranslation3 } from "@dxos/react-ui";
191
+ import { Layout as Layout2 } from "@dxos/react-ui";
192
+ import { Card as Card2, Mosaic as Mosaic2 } from "@dxos/react-ui-mosaic";
193
+ import { SearchList as SearchList3 } from "@dxos/react-ui-searchlist";
194
+ import { Text as Text2 } from "@dxos/schema";
195
+ import { getStyles } from "@dxos/ui-theme";
196
+ var SpaceMain = ({ space }) => {
197
+ const { t } = useTranslation3(meta.id);
198
+ const { items, handleSearch } = useSpaceItems(space);
199
+ return /* @__PURE__ */ React3.createElement(Layout2.Main, {
200
+ toolbar: true
201
+ }, /* @__PURE__ */ React3.createElement(SearchList3.Root, {
202
+ onSearch: handleSearch
203
+ }, /* @__PURE__ */ React3.createElement(Toolbar2.Root, null, /* @__PURE__ */ React3.createElement(SearchList3.Input, {
204
+ placeholder: t("search placeholder")
205
+ })), /* @__PURE__ */ React3.createElement(SearchList3.Content, null, /* @__PURE__ */ React3.createElement(Mosaic2.Container, {
206
+ asChild: true
207
+ }, /* @__PURE__ */ React3.createElement(ScrollArea2.Root, {
208
+ orientation: "vertical"
209
+ }, /* @__PURE__ */ React3.createElement(ScrollArea2.Viewport, {
210
+ classNames: "p-2"
211
+ }, /* @__PURE__ */ React3.createElement(Mosaic2.Stack, {
212
+ items,
213
+ getId: (node) => node.id,
214
+ Tile: NodeTile
215
+ })))))));
216
+ };
217
+ var NodeTile = ({ data: node }) => {
218
+ const { t } = useTranslation3(meta.id);
219
+ const { graph } = useAppGraph2();
220
+ const { invokeSync } = useOperationInvoker2();
221
+ const runAction = useActionRunner();
222
+ const label = toLocalizedString2(node.properties.label, t);
223
+ const icon = node.properties.icon ?? "ph--placeholder--regular";
224
+ const iconHue = node.properties.iconHue;
225
+ const styles = iconHue ? getStyles(iconHue) : void 0;
226
+ const handleClick = () => {
227
+ if (Node.isAction(node)) {
228
+ const [parent] = Graph2.getConnections(graph, node.id, "inbound");
229
+ if (parent) {
230
+ void runAction(node, {
231
+ parent
232
+ });
233
+ }
234
+ } else {
235
+ invokeSync(LayoutOperation2.Open, {
236
+ subject: [
237
+ node.id
238
+ ]
239
+ });
240
+ }
241
+ };
242
+ return /* @__PURE__ */ React3.createElement(Card2.Root, {
243
+ fullWidth: true
244
+ }, /* @__PURE__ */ React3.createElement(Card2.Toolbar, null, /* @__PURE__ */ React3.createElement(Card2.ToolbarIconButton, {
245
+ variant: "ghost",
246
+ label,
247
+ icon,
248
+ iconOnly: true,
249
+ iconClassNames: styles?.icon
250
+ }), /* @__PURE__ */ React3.createElement(Card2.Title, {
251
+ onClick: handleClick
252
+ }, label), /* @__PURE__ */ React3.createElement(Card2.Menu, null)));
253
+ };
254
+ var useMetadataResolver = () => {
255
+ const allMetadata = useCapabilities(AppCapabilities.Metadata);
256
+ return useCallback3((typename) => allMetadata.find((m) => m.id === typename)?.metadata ?? {}, [
257
+ allMetadata
258
+ ]);
259
+ };
260
+ var useSpaceItems = (space) => {
261
+ const { graph } = useAppGraph2();
262
+ const [query, setQuery] = useState3();
263
+ const resolveMetadata = useMetadataResolver();
264
+ useEffect(() => {
265
+ const frame = requestAnimationFrame(() => {
266
+ Graph2.expand(graph, space.id, "outbound");
267
+ });
268
+ return () => cancelAnimationFrame(frame);
269
+ }, [
270
+ graph,
271
+ space.id
272
+ ]);
273
+ const children = useConnections(graph, space.id, "outbound");
274
+ const handleSearch = useCallback3((text) => {
275
+ setQuery(text);
276
+ }, []);
277
+ const results = useQuery3(space.db, query === void 0 ? Query2.select(Filter3.nothing()) : Query2.all(Query2.select(Filter3.text(query, {
278
+ type: "full-text"
279
+ })).select(Filter3.not(Filter3.type(Text2.Text))), Query2.select(Filter3.text(query, {
280
+ type: "full-text"
281
+ })).select(Filter3.type(Text2.Text)).referencedBy("dxos.org/type/Document", "content")));
282
+ const isQueryEmpty = !query?.trim();
283
+ const filteredChildren = useMemo2(() => children.filter((node) => {
284
+ if (Obj2.isObject(node.data)) {
285
+ return true;
286
+ }
287
+ return Node.isAction(node) && node.properties.disposition === "item";
288
+ }), [
289
+ children
290
+ ]);
291
+ const items = useMemo2(() => {
292
+ if (isQueryEmpty) {
293
+ return filteredChildren;
294
+ }
295
+ return results.map((obj) => {
296
+ const typename = Obj2.getTypename(obj);
297
+ const metadata = typename ? resolveMetadata(typename) : {};
298
+ return {
299
+ id: obj.id,
300
+ type: "search-result",
301
+ data: obj,
302
+ properties: {
303
+ label: Obj2.getLabel(obj) ?? obj.id,
304
+ icon: metadata.icon ?? "ph--placeholder--regular",
305
+ iconHue: metadata.iconHue
306
+ }
307
+ };
308
+ });
309
+ }, [
310
+ isQueryEmpty,
311
+ filteredChildren,
312
+ results,
313
+ resolveMetadata
314
+ ]);
315
+ return {
316
+ items,
317
+ handleSearch
318
+ };
319
+ };
320
+
321
+ // src/capabilities/react-surface/react-surface.tsx
322
+ var react_surface_default = Capability.makeModule(() => Effect.succeed(Capability.contributes(Capabilities.ReactSurface, [
323
+ Surface2.create({
324
+ id: SEARCH_DIALOG,
325
+ role: "dialog",
326
+ filter: (data) => data.component === SEARCH_DIALOG,
327
+ component: ({ data }) => /* @__PURE__ */ React4.createElement(SearchContextProvider, null, /* @__PURE__ */ React4.createElement(SearchDialog, data.props))
328
+ }),
329
+ Surface2.create({
330
+ id: `${SEARCH_DIALOG}/search-input`,
331
+ role: "search-input",
332
+ component: () => {
333
+ const space = useActiveSpace();
334
+ return /* @__PURE__ */ React4.createElement(SearchContextProvider, null, /* @__PURE__ */ React4.createElement(SearchMain, {
335
+ space
336
+ }));
337
+ }
338
+ }),
339
+ Surface2.create({
340
+ id: `${SEARCH_DIALOG}/search`,
341
+ role: "deck-companion--search",
342
+ filter: (data) => isSpace(data.subject),
343
+ component: ({ data }) => {
344
+ const space = data.subject;
345
+ if (!space) {
346
+ return null;
347
+ }
348
+ return /* @__PURE__ */ React4.createElement(SearchContextProvider, null, /* @__PURE__ */ React4.createElement(SearchMain, {
349
+ space
350
+ }));
351
+ }
352
+ }),
353
+ Surface2.create({
354
+ id: `${meta.id}/space-article`,
355
+ role: "article",
356
+ position: "hoist",
357
+ filter: (data) => (
358
+ // TODO(wittjosiah): Need to avoid shotgun parsing space state everywhere.
359
+ isSpace(data.subject) && data.subject.state.get() === SpaceState.SPACE_READY
360
+ ),
361
+ component: ({ data }) => /* @__PURE__ */ React4.createElement(SpaceMain, {
362
+ space: data.subject
363
+ })
364
+ })
365
+ ])));
366
+ export {
367
+ react_surface_default as default
368
+ };
369
+ //# sourceMappingURL=react-surface-QE45EVGF.mjs.map