@dxos/plugin-space 0.6.8-main.046e6cf

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 (109) hide show
  1. package/LICENSE +8 -0
  2. package/README.md +15 -0
  3. package/dist/lib/browser/chunk-DTVUOG2C.mjs +95 -0
  4. package/dist/lib/browser/chunk-DTVUOG2C.mjs.map +7 -0
  5. package/dist/lib/browser/chunk-LZEGRS7H.mjs +35 -0
  6. package/dist/lib/browser/chunk-LZEGRS7H.mjs.map +7 -0
  7. package/dist/lib/browser/index.mjs +2660 -0
  8. package/dist/lib/browser/index.mjs.map +7 -0
  9. package/dist/lib/browser/meta.json +1 -0
  10. package/dist/lib/browser/meta.mjs +13 -0
  11. package/dist/lib/browser/meta.mjs.map +7 -0
  12. package/dist/lib/browser/types/index.mjs +21 -0
  13. package/dist/lib/browser/types/index.mjs.map +7 -0
  14. package/dist/lib/node/chunk-6CNYF6YU.cjs +60 -0
  15. package/dist/lib/node/chunk-6CNYF6YU.cjs.map +7 -0
  16. package/dist/lib/node/chunk-CVZPI2P3.cjs +120 -0
  17. package/dist/lib/node/chunk-CVZPI2P3.cjs.map +7 -0
  18. package/dist/lib/node/index.cjs +2682 -0
  19. package/dist/lib/node/index.cjs.map +7 -0
  20. package/dist/lib/node/meta.cjs +34 -0
  21. package/dist/lib/node/meta.cjs.map +7 -0
  22. package/dist/lib/node/meta.json +1 -0
  23. package/dist/lib/node/types/index.cjs +43 -0
  24. package/dist/lib/node/types/index.cjs.map +7 -0
  25. package/dist/types/src/SpacePlugin.d.ts +27 -0
  26. package/dist/types/src/SpacePlugin.d.ts.map +1 -0
  27. package/dist/types/src/components/AwaitingObject.d.ts +5 -0
  28. package/dist/types/src/components/AwaitingObject.d.ts.map +1 -0
  29. package/dist/types/src/components/CollectionMain.d.ts +6 -0
  30. package/dist/types/src/components/CollectionMain.d.ts.map +1 -0
  31. package/dist/types/src/components/CollectionSection.d.ts +6 -0
  32. package/dist/types/src/components/CollectionSection.d.ts.map +1 -0
  33. package/dist/types/src/components/EmptySpace.d.ts +3 -0
  34. package/dist/types/src/components/EmptySpace.d.ts.map +1 -0
  35. package/dist/types/src/components/EmptyTree.d.ts +3 -0
  36. package/dist/types/src/components/EmptyTree.d.ts.map +1 -0
  37. package/dist/types/src/components/MenuFooter.d.ts +6 -0
  38. package/dist/types/src/components/MenuFooter.d.ts.map +1 -0
  39. package/dist/types/src/components/MissingObject.d.ts +5 -0
  40. package/dist/types/src/components/MissingObject.d.ts.map +1 -0
  41. package/dist/types/src/components/PersistenceStatus.d.ts +6 -0
  42. package/dist/types/src/components/PersistenceStatus.d.ts.map +1 -0
  43. package/dist/types/src/components/PopoverRenameObject.d.ts +6 -0
  44. package/dist/types/src/components/PopoverRenameObject.d.ts.map +1 -0
  45. package/dist/types/src/components/PopoverRenameSpace.d.ts +6 -0
  46. package/dist/types/src/components/PopoverRenameSpace.d.ts.map +1 -0
  47. package/dist/types/src/components/ShareSpaceButton.d.ts +8 -0
  48. package/dist/types/src/components/ShareSpaceButton.d.ts.map +1 -0
  49. package/dist/types/src/components/ShareSpaceButton.stories.d.ts +98 -0
  50. package/dist/types/src/components/ShareSpaceButton.stories.d.ts.map +1 -0
  51. package/dist/types/src/components/SpaceMain/SpaceMain.d.ts +10 -0
  52. package/dist/types/src/components/SpaceMain/SpaceMain.d.ts.map +1 -0
  53. package/dist/types/src/components/SpaceMain/SpaceMembersSection.d.ts +6 -0
  54. package/dist/types/src/components/SpaceMain/SpaceMembersSection.d.ts.map +1 -0
  55. package/dist/types/src/components/SpaceMain/index.d.ts +2 -0
  56. package/dist/types/src/components/SpaceMain/index.d.ts.map +1 -0
  57. package/dist/types/src/components/SpacePresence.d.ts +34 -0
  58. package/dist/types/src/components/SpacePresence.d.ts.map +1 -0
  59. package/dist/types/src/components/SpacePresence.stories.d.ts +97 -0
  60. package/dist/types/src/components/SpacePresence.stories.d.ts.map +1 -0
  61. package/dist/types/src/components/SpaceSettings.d.ts +6 -0
  62. package/dist/types/src/components/SpaceSettings.d.ts.map +1 -0
  63. package/dist/types/src/components/index.d.ts +15 -0
  64. package/dist/types/src/components/index.d.ts.map +1 -0
  65. package/dist/types/src/index.d.ts +9 -0
  66. package/dist/types/src/index.d.ts.map +1 -0
  67. package/dist/types/src/meta.d.ts +26 -0
  68. package/dist/types/src/meta.d.ts.map +1 -0
  69. package/dist/types/src/translations.d.ts +83 -0
  70. package/dist/types/src/translations.d.ts.map +1 -0
  71. package/dist/types/src/types/collection.d.ts +18 -0
  72. package/dist/types/src/types/collection.d.ts.map +1 -0
  73. package/dist/types/src/types/index.d.ts +4 -0
  74. package/dist/types/src/types/index.d.ts.map +1 -0
  75. package/dist/types/src/types/thread.d.ts +225 -0
  76. package/dist/types/src/types/thread.d.ts.map +1 -0
  77. package/dist/types/src/types/types.d.ts +54 -0
  78. package/dist/types/src/types/types.d.ts.map +1 -0
  79. package/dist/types/src/util.d.ts +85 -0
  80. package/dist/types/src/util.d.ts.map +1 -0
  81. package/package.json +101 -0
  82. package/src/SpacePlugin.tsx +1234 -0
  83. package/src/components/AwaitingObject.tsx +118 -0
  84. package/src/components/CollectionMain.tsx +33 -0
  85. package/src/components/CollectionSection.tsx +20 -0
  86. package/src/components/EmptySpace.tsx +25 -0
  87. package/src/components/EmptyTree.tsx +25 -0
  88. package/src/components/MenuFooter.tsx +33 -0
  89. package/src/components/MissingObject.tsx +54 -0
  90. package/src/components/PersistenceStatus.tsx +87 -0
  91. package/src/components/PopoverRenameObject.tsx +54 -0
  92. package/src/components/PopoverRenameSpace.tsx +44 -0
  93. package/src/components/ShareSpaceButton.stories.tsx +23 -0
  94. package/src/components/ShareSpaceButton.tsx +27 -0
  95. package/src/components/SpaceMain/SpaceMain.tsx +81 -0
  96. package/src/components/SpaceMain/SpaceMembersSection.tsx +205 -0
  97. package/src/components/SpaceMain/index.ts +5 -0
  98. package/src/components/SpacePresence.stories.tsx +102 -0
  99. package/src/components/SpacePresence.tsx +244 -0
  100. package/src/components/SpaceSettings.tsx +34 -0
  101. package/src/components/index.ts +18 -0
  102. package/src/index.ts +15 -0
  103. package/src/meta.ts +31 -0
  104. package/src/translations.ts +92 -0
  105. package/src/types/collection.ts +16 -0
  106. package/src/types/index.ts +7 -0
  107. package/src/types/thread.ts +68 -0
  108. package/src/types/types.ts +81 -0
  109. package/src/util.tsx +642 -0
@@ -0,0 +1 @@
1
+ {"inputs":{"packages/plugins/plugin-space/src/meta.ts":{"bytes":4308,"imports":[],"format":"esm"},"packages/plugins/plugin-space/src/components/AwaitingObject.tsx":{"bytes":13778,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","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-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-space/src/components/CollectionMain.tsx":{"bytes":3145,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-space/src/components/CollectionSection.tsx":{"bytes":2283,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-space/src/components/EmptySpace.tsx":{"bytes":2119,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-space/src/components/EmptyTree.tsx":{"bytes":2112,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-space/src/types/collection.ts":{"bytes":3094,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-space/src/types/thread.ts":{"bytes":9132,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-space/src/types/types.ts":{"bytes":3548,"imports":[],"format":"esm"},"packages/plugins/plugin-space/src/types/index.ts":{"bytes":680,"imports":[{"path":"packages/plugins/plugin-space/src/types/collection.ts","kind":"import-statement","original":"./collection"},{"path":"packages/plugins/plugin-space/src/types/thread.ts","kind":"import-statement","original":"./thread"},{"path":"packages/plugins/plugin-space/src/types/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-space/src/util.tsx":{"bytes":69090,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/migrations","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":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-space/src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-space/src/components/MenuFooter.tsx":{"bytes":4727,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-space/src/util.tsx","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-space/src/components/MissingObject.tsx":{"bytes":5838,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-space/src/components/PersistenceStatus.tsx":{"bytes":10909,"imports":[{"path":"@phosphor-icons/react","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":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-space/src/components/PopoverRenameObject.tsx":{"bytes":6883,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-space/src/components/PopoverRenameSpace.tsx":{"bytes":6155,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-space/src/components/ShareSpaceButton.tsx":{"bytes":3357,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-space/src/components/SpaceMain/SpaceMembersSection.tsx":{"bytes":28279,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/invitations","kind":"import-statement","external":true},{"path":"@dxos/react-client/invitations","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/shell/react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-space/src/components/SpaceMain/SpaceMain.tsx":{"bytes":11505,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","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-theme","kind":"import-statement","external":true},{"path":"@dxos/shell/react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-space/src/components/SpaceMain/SpaceMembersSection.tsx","kind":"import-statement","original":"./SpaceMembersSection"},{"path":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-space/src/components/SpaceMain/index.ts":{"bytes":523,"imports":[{"path":"packages/plugins/plugin-space/src/components/SpaceMain/SpaceMain.tsx","kind":"import-statement","original":"./SpaceMain"}],"format":"esm"},"packages/plugins/plugin-space/src/components/SpacePresence.tsx":{"bytes":28128,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/display-name","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-client/halo","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/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-space/src/components/SpaceSettings.tsx":{"bytes":3551,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-settings","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-space/src/components/index.ts":{"bytes":1888,"imports":[{"path":"packages/plugins/plugin-space/src/components/AwaitingObject.tsx","kind":"import-statement","original":"./AwaitingObject"},{"path":"packages/plugins/plugin-space/src/components/CollectionMain.tsx","kind":"import-statement","original":"./CollectionMain"},{"path":"packages/plugins/plugin-space/src/components/CollectionSection.tsx","kind":"import-statement","original":"./CollectionSection"},{"path":"packages/plugins/plugin-space/src/components/EmptySpace.tsx","kind":"import-statement","original":"./EmptySpace"},{"path":"packages/plugins/plugin-space/src/components/EmptyTree.tsx","kind":"import-statement","original":"./EmptyTree"},{"path":"packages/plugins/plugin-space/src/components/MenuFooter.tsx","kind":"import-statement","original":"./MenuFooter"},{"path":"packages/plugins/plugin-space/src/components/MissingObject.tsx","kind":"import-statement","original":"./MissingObject"},{"path":"packages/plugins/plugin-space/src/components/PersistenceStatus.tsx","kind":"import-statement","original":"./PersistenceStatus"},{"path":"packages/plugins/plugin-space/src/components/PopoverRenameObject.tsx","kind":"import-statement","original":"./PopoverRenameObject"},{"path":"packages/plugins/plugin-space/src/components/PopoverRenameSpace.tsx","kind":"import-statement","original":"./PopoverRenameSpace"},{"path":"packages/plugins/plugin-space/src/components/ShareSpaceButton.tsx","kind":"import-statement","original":"./ShareSpaceButton"},{"path":"packages/plugins/plugin-space/src/components/SpaceMain/index.ts","kind":"import-statement","original":"./SpaceMain"},{"path":"packages/plugins/plugin-space/src/components/SpacePresence.tsx","kind":"import-statement","original":"./SpacePresence"},{"path":"packages/plugins/plugin-space/src/components/SpaceSettings.tsx","kind":"import-statement","original":"./SpaceSettings"}],"format":"esm"},"packages/plugins/plugin-space/src/translations.ts":{"bytes":13238,"imports":[{"path":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-space/src/SpacePlugin.tsx":{"bytes":175679,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/migrations","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/meta","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/shell/react","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-space/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-space/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-space/src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-space/src/util.tsx","kind":"import-statement","original":"./util"}],"format":"esm"},"packages/plugins/plugin-space/src/index.ts":{"bytes":1326,"imports":[{"path":"packages/plugins/plugin-space/src/SpacePlugin.tsx","kind":"import-statement","original":"./SpacePlugin"},{"path":"packages/plugins/plugin-space/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-space/src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-space/src/util.tsx","kind":"import-statement","original":"./util"},{"path":"packages/plugins/plugin-space/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-space/src/SpacePlugin.tsx","kind":"import-statement","original":"./SpacePlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-space/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":185552},"packages/plugins/plugin-space/dist/lib/node/index.cjs":{"imports":[{"path":"packages/plugins/plugin-space/dist/lib/node/chunk-6CNYF6YU.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-space/dist/lib/node/chunk-CVZPI2P3.cjs","kind":"import-statement"},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/migrations","kind":"import-statement","external":true},{"path":"@dxos/plugin-attention","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/meta","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/shell/react","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","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-theme","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-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","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-theme","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-theme","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/migrations","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":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","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":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","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","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","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-theme","kind":"import-statement","external":true},{"path":"@dxos/shell/react","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/invitations","kind":"import-statement","external":true},{"path":"@dxos/react-client/invitations","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/shell/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/display-name","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-client/halo","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/util","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-settings","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"exports":["ActorSchema","AwaitingObject","COMPOSER_SPACE_LOCK","ChannelType","CollectionMain","CollectionSection","CollectionType","ContactType","EmptySpace","EmptyTree","FullPresence","MenuFooter","MessageType","MissingObject","PersistenceStatus","PopoverRenameObject","PopoverRenameSpace","SHARED","SPACES","SPACE_DIRECTORY_HANDLE","SPACE_PLUGIN","SPACE_PLUGIN_SHORT_ID","SPACE_TYPE","ShareSpaceButton","ShareSpaceButtonImpl","SmallPresence","SmallPresenceLive","SpaceAction","SpaceMain","SpacePlugin","SpacePresence","SpaceSettings","ThreadStatus","ThreadType","cloneObject","constructObjectActionGroups","constructObjectActions","constructSpaceActionGroups","constructSpaceActions","constructSpaceNode","createObjectNode","default","getActiveSpace","getNestedObjects","getSpaceDisplayName","memoizeQuery","parseSpacePlugin","translations"],"entryPoint":"packages/plugins/plugin-space/src/index.ts","inputs":{"packages/plugins/plugin-space/src/SpacePlugin.tsx":{"bytesInOutput":45396},"packages/plugins/plugin-space/src/components/AwaitingObject.tsx":{"bytesInOutput":3833},"packages/plugins/plugin-space/src/components/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-space/src/components/CollectionMain.tsx":{"bytesInOutput":752},"packages/plugins/plugin-space/src/components/CollectionSection.tsx":{"bytesInOutput":469},"packages/plugins/plugin-space/src/components/EmptySpace.tsx":{"bytesInOutput":485},"packages/plugins/plugin-space/src/components/EmptyTree.tsx":{"bytesInOutput":483},"packages/plugins/plugin-space/src/components/MenuFooter.tsx":{"bytesInOutput":1307},"packages/plugins/plugin-space/src/util.tsx":{"bytesInOutput":17355},"packages/plugins/plugin-space/src/components/MissingObject.tsx":{"bytesInOutput":1590},"packages/plugins/plugin-space/src/components/PersistenceStatus.tsx":{"bytesInOutput":2741},"packages/plugins/plugin-space/src/components/PopoverRenameObject.tsx":{"bytesInOutput":1871},"packages/plugins/plugin-space/src/components/PopoverRenameSpace.tsx":{"bytesInOutput":1619},"packages/plugins/plugin-space/src/components/ShareSpaceButton.tsx":{"bytesInOutput":721},"packages/plugins/plugin-space/src/components/SpaceMain/SpaceMain.tsx":{"bytesInOutput":2363},"packages/plugins/plugin-space/src/components/SpaceMain/SpaceMembersSection.tsx":{"bytesInOutput":7927},"packages/plugins/plugin-space/src/components/SpaceMain/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-space/src/components/SpacePresence.tsx":{"bytesInOutput":7126},"packages/plugins/plugin-space/src/components/SpaceSettings.tsx":{"bytesInOutput":824},"packages/plugins/plugin-space/src/translations.ts":{"bytesInOutput":4431},"packages/plugins/plugin-space/src/index.ts":{"bytesInOutput":31}},"bytes":104008},"packages/plugins/plugin-space/dist/lib/node/meta.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-space/dist/lib/node/meta.cjs":{"imports":[{"path":"packages/plugins/plugin-space/dist/lib/node/chunk-6CNYF6YU.cjs","kind":"import-statement"}],"exports":["SPACE_PLUGIN","SPACE_PLUGIN_SHORT_ID","SpaceAction","default"],"entryPoint":"packages/plugins/plugin-space/src/meta.ts","inputs":{},"bytes":239},"packages/plugins/plugin-space/dist/lib/node/chunk-6CNYF6YU.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1793},"packages/plugins/plugin-space/dist/lib/node/chunk-6CNYF6YU.cjs":{"imports":[],"exports":["SPACE_PLUGIN","SPACE_PLUGIN_SHORT_ID","SpaceAction","meta_default"],"inputs":{"packages/plugins/plugin-space/src/meta.ts":{"bytesInOutput":1584}},"bytes":1757},"packages/plugins/plugin-space/dist/lib/node/types/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-space/dist/lib/node/types/index.cjs":{"imports":[{"path":"packages/plugins/plugin-space/dist/lib/node/chunk-CVZPI2P3.cjs","kind":"import-statement"}],"exports":["ActorSchema","ChannelType","CollectionType","ContactType","MessageType","SPACE_DIRECTORY_HANDLE","ThreadStatus","ThreadType"],"entryPoint":"packages/plugins/plugin-space/src/types/index.ts","inputs":{},"bytes":354},"packages/plugins/plugin-space/dist/lib/node/chunk-CVZPI2P3.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":8416},"packages/plugins/plugin-space/dist/lib/node/chunk-CVZPI2P3.cjs":{"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"exports":["ActorSchema","ChannelType","CollectionType","ContactType","MessageType","SPACE_DIRECTORY_HANDLE","ThreadStatus","ThreadType"],"inputs":{"packages/plugins/plugin-space/src/types/collection.ts":{"bytesInOutput":830},"packages/plugins/plugin-space/src/types/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-space/src/types/thread.ts":{"bytesInOutput":2294},"packages/plugins/plugin-space/src/types/types.ts":{"bytesInOutput":64}},"bytes":3542}}}
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var types_exports = {};
20
+ __export(types_exports, {
21
+ ActorSchema: () => import_chunk_CVZPI2P3.ActorSchema,
22
+ ChannelType: () => import_chunk_CVZPI2P3.ChannelType,
23
+ CollectionType: () => import_chunk_CVZPI2P3.CollectionType,
24
+ ContactType: () => import_chunk_CVZPI2P3.ContactType,
25
+ MessageType: () => import_chunk_CVZPI2P3.MessageType,
26
+ SPACE_DIRECTORY_HANDLE: () => import_chunk_CVZPI2P3.SPACE_DIRECTORY_HANDLE,
27
+ ThreadStatus: () => import_chunk_CVZPI2P3.ThreadStatus,
28
+ ThreadType: () => import_chunk_CVZPI2P3.ThreadType
29
+ });
30
+ module.exports = __toCommonJS(types_exports);
31
+ var import_chunk_CVZPI2P3 = require("../chunk-CVZPI2P3.cjs");
32
+ // Annotate the CommonJS export names for ESM import in node:
33
+ 0 && (module.exports = {
34
+ ActorSchema,
35
+ ChannelType,
36
+ CollectionType,
37
+ ContactType,
38
+ MessageType,
39
+ SPACE_DIRECTORY_HANDLE,
40
+ ThreadStatus,
41
+ ThreadType
42
+ });
43
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["index.cjs"],
4
+ "sourcesContent": ["import {\n ActorSchema,\n ChannelType,\n CollectionType,\n ContactType,\n MessageType,\n SPACE_DIRECTORY_HANDLE,\n ThreadStatus,\n ThreadType\n} from \"../chunk-CVZPI2P3.cjs\";\nexport {\n ActorSchema,\n ChannelType,\n CollectionType,\n ContactType,\n MessageType,\n SPACE_DIRECTORY_HANDLE,\n ThreadStatus,\n ThreadType\n};\n//# sourceMappingURL=index.cjs.map\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,4BASO;",
6
+ "names": []
7
+ }
@@ -0,0 +1,27 @@
1
+ import { type IntentDispatcher, type Plugin, type PluginDefinition } from '@dxos/app-framework';
2
+ import { type Trigger } from '@dxos/async';
3
+ import { type Client } from '@dxos/react-client';
4
+ import { type SpacePluginProvides } from './types';
5
+ export declare const parseSpacePlugin: (plugin?: Plugin) => Plugin<SpacePluginProvides> | undefined;
6
+ export type SpacePluginOptions = {
7
+ /**
8
+ * Fired when first run logic should be executed.
9
+ *
10
+ * This trigger is invoked once the HALO identity is created but must only be run in one instance of the application.
11
+ * As such it cannot depend directly on the HALO identity event.
12
+ */
13
+ firstRun?: Trigger<void>;
14
+ /**
15
+ * Root collection structure is created on application first run if it does not yet exist.
16
+ * This callback is invoked immediately following the creation of the root collection structure.
17
+ *
18
+ * @param params.client DXOS Client
19
+ * @param params.dispatch Function to dispatch intents
20
+ */
21
+ onFirstRun?: (params: {
22
+ client: Client;
23
+ dispatch: IntentDispatcher;
24
+ }) => Promise<void>;
25
+ };
26
+ export declare const SpacePlugin: ({ firstRun, onFirstRun, }?: SpacePluginOptions) => PluginDefinition<SpacePluginProvides>;
27
+ //# sourceMappingURL=SpacePlugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpacePlugin.d.ts","sourceRoot":"","sources":["../../../src/SpacePlugin.tsx"],"names":[],"mappings":"AAQA,OAAO,EACL,KAAK,gBAAgB,EAMrB,KAAK,MAAM,EACX,KAAK,gBAAgB,EAQtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAsB,KAAK,OAAO,EAA4B,MAAM,aAAa,CAAC;AASzF,OAAO,EAAE,KAAK,MAAM,EAAa,MAAM,oBAAoB,CAAC;AAsC5D,OAAO,EAAkB,KAAK,mBAAmB,EAA6C,MAAM,SAAS,CAAC;AAuB9G,eAAO,MAAM,gBAAgB,YAAa,MAAM,4CAC+D,CAAC;AAEhH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;IAEzB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,gBAAgB,CAAA;KAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACxF,CAAC;AAEF,eAAO,MAAM,WAAW,+BAGrB,kBAAkB,KAAQ,gBAAgB,CAAC,mBAAmB,CAylChE,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const AwaitingObject: ({ id }: {
3
+ id: string;
4
+ }) => React.JSX.Element;
5
+ //# sourceMappingURL=AwaitingObject.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AwaitingObject.d.ts","sourceRoot":"","sources":["../../../../src/components/AwaitingObject.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAanD,eAAO,MAAM,cAAc,WAAY;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,sBAmGpD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import type { CollectionType } from '../types';
3
+ export declare const CollectionMain: ({ collection }: {
4
+ collection: CollectionType;
5
+ }) => React.JSX.Element;
6
+ //# sourceMappingURL=CollectionMain.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CollectionMain.d.ts","sourceRoot":"","sources":["../../../../src/components/CollectionMain.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,cAAc,mBAAoB;IAAE,UAAU,EAAE,cAAc,CAAA;CAAE,sBAoB5E,CAAC"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import type { CollectionType } from '../types';
3
+ export declare const CollectionSection: ({ collection }: {
4
+ collection: CollectionType;
5
+ }) => React.JSX.Element;
6
+ //# sourceMappingURL=CollectionSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CollectionSection.d.ts","sourceRoot":"","sources":["../../../../src/components/CollectionSection.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,iBAAiB,mBAAoB;IAAE,UAAU,EAAE,cAAc,CAAA;CAAE,sBAQ/E,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const EmptySpace: () => React.JSX.Element;
3
+ //# sourceMappingURL=EmptySpace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmptySpace.d.ts","sourceRoot":"","sources":["../../../../src/components/EmptySpace.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,eAAO,MAAM,UAAU,yBAatB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ export declare const EmptyTree: () => React.JSX.Element;
3
+ //# sourceMappingURL=EmptyTree.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EmptyTree.d.ts","sourceRoot":"","sources":["../../../../src/components/EmptyTree.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,eAAO,MAAM,SAAS,yBAarB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import type { EchoReactiveObject } from '@dxos/echo-schema';
3
+ export declare const MenuFooter: ({ object }: {
4
+ object: EchoReactiveObject<any>;
5
+ }) => React.JSX.Element | null;
6
+ //# sourceMappingURL=MenuFooter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MenuFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/MenuFooter.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAO5D,eAAO,MAAM,UAAU,eAAgB;IAAE,MAAM,EAAE,kBAAkB,CAAC,GAAG,CAAC,CAAA;CAAE,6BAkBzE,CAAC"}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export declare const MissingObject: ({ id }: {
3
+ id: string;
4
+ }) => React.JSX.Element;
5
+ //# sourceMappingURL=MissingObject.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MissingObject.d.ts","sourceRoot":"","sources":["../../../../src/components/MissingObject.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAUnD,eAAO,MAAM,aAAa,WAAY;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,sBAuCnD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { type EchoDatabase } from '@dxos/react-client/echo';
3
+ export declare const PersistenceStatus: ({ db }: {
4
+ db: EchoDatabase;
5
+ }) => React.JSX.Element;
6
+ //# sourceMappingURL=PersistenceStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PersistenceStatus.d.ts","sourceRoot":"","sources":["../../../../src/components/PersistenceStatus.tsx"],"names":[],"mappings":"AAKA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAGnD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAa5D,eAAO,MAAM,iBAAiB,WAAY;IAAE,EAAE,EAAE,YAAY,CAAA;CAAE,sBAiE7D,CAAC"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { type ReactiveObject } from '@dxos/echo-schema';
3
+ export declare const PopoverRenameObject: ({ object: obj }: {
4
+ object: ReactiveObject<any>;
5
+ }) => React.JSX.Element;
6
+ //# sourceMappingURL=PopoverRenameObject.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PopoverRenameObject.d.ts","sourceRoot":"","sources":["../../../../src/components/PopoverRenameObject.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAMxD,eAAO,MAAM,mBAAmB,oBAAqB;IAAE,MAAM,EAAE,cAAc,CAAC,GAAG,CAAC,CAAA;CAAE,sBAyCnF,CAAC"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { type Space } from '@dxos/react-client/echo';
3
+ export declare const PopoverRenameSpace: ({ space }: {
4
+ space: Space;
5
+ }) => React.JSX.Element;
6
+ //# sourceMappingURL=PopoverRenameSpace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PopoverRenameSpace.d.ts","sourceRoot":"","sources":["../../../../src/components/PopoverRenameSpace.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAKrD,eAAO,MAAM,kBAAkB,cAAe;IAAE,KAAK,EAAE,KAAK,CAAA;CAAE,sBAgC7D,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export declare const ShareSpaceButton: ({ spaceId }: {
3
+ spaceId: string;
4
+ }) => React.JSX.Element;
5
+ export declare const ShareSpaceButtonImpl: ({ onClick }: {
6
+ onClick: () => void;
7
+ }) => React.JSX.Element;
8
+ //# sourceMappingURL=ShareSpaceButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShareSpaceButton.d.ts","sourceRoot":"","sources":["../../../../src/components/ShareSpaceButton.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,eAAO,MAAM,gBAAgB,gBAAiB;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,sBAIhE,CAAC;AAGF,eAAO,MAAM,oBAAoB,gBAAiB;IAAE,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,sBAQxE,CAAC"}
@@ -0,0 +1,98 @@
1
+ import '@dxosTheme';
2
+ declare const _default: {
3
+ title: string;
4
+ component: ({ onClick }: {
5
+ onClick: () => void;
6
+ }) => import("react").JSX.Element;
7
+ decorators: import("@storybook/react/*").Decorator[];
8
+ parameters: {
9
+ translations: {
10
+ 'en-US': {
11
+ "dxos.org/plugin/space": {
12
+ 'plugin name': string;
13
+ 'first run message': string;
14
+ 'create space label': string;
15
+ 'join space label': string;
16
+ 'empty space message': string;
17
+ 'empty tree message': string;
18
+ 'unnamed space label': string;
19
+ 'closed space label': string;
20
+ 'loading space label': string;
21
+ 'lock space label': string;
22
+ 'unlock space label': string;
23
+ 'rename space label': string;
24
+ 'active space label': string;
25
+ 'space name label': string;
26
+ 'object name label': string;
27
+ 'close space label': string;
28
+ 'open space label': string;
29
+ 'export data label': string;
30
+ 'import data label': string;
31
+ 'migrate space label': string;
32
+ 'share space': string;
33
+ 'save space to disk label': string;
34
+ 'load space from disk label': string;
35
+ 'confirm restore title': string;
36
+ 'confirm restore body': string;
37
+ 'upload file message': string;
38
+ 'object title placeholder': string;
39
+ 'personal space label': string;
40
+ 'spaces label': string;
41
+ 'show hidden spaces label': string;
42
+ 'save files to directory label': string;
43
+ 'select path label': string;
44
+ 'rename collection label': string;
45
+ 'rename object label': string;
46
+ 'duplicate object label': string;
47
+ 'delete collection label': string;
48
+ 'delete object label': string;
49
+ 'collection deleted label': string;
50
+ 'object deleted label': string;
51
+ 'go to object label': string;
52
+ 'found object label': string;
53
+ 'found object description': string;
54
+ 'waiting for object label': string;
55
+ 'waiting for object description': string;
56
+ 'object not found label': string;
57
+ 'object not found description': string;
58
+ 'missing object message': string;
59
+ 'missing object description': string;
60
+ 'create collection label': string;
61
+ 'unnamed object label': string;
62
+ 'unnamed collection label': string;
63
+ 'create object in space label': string;
64
+ 'create object in collection label': string;
65
+ 'share space label': string;
66
+ 'space members label': string;
67
+ 'active space members heading': string;
68
+ 'inactive space members heading': string;
69
+ 'presence label_zero': string;
70
+ 'presence label_one': string;
71
+ 'presence label_other': string;
72
+ 'persisted locally label': string;
73
+ 'persisted locally message': string;
74
+ 'persistence pending label': string;
75
+ 'persistence error label': string;
76
+ 'more actions label': string;
77
+ 'invitations heading': string;
78
+ 'keyshortcuts label': string;
79
+ 'menu footer label': string;
80
+ 'location label': string;
81
+ 'space limit label': string;
82
+ 'space limit description': string;
83
+ 'space limit close label': string;
84
+ 'remove deleted objects label': string;
85
+ 'remove deleted objects alt': string;
86
+ 'copy link label': string;
87
+ };
88
+ };
89
+ }[];
90
+ };
91
+ };
92
+ export default _default;
93
+ export declare const Default: {
94
+ args: {
95
+ onClick: () => void;
96
+ };
97
+ };
98
+ //# sourceMappingURL=ShareSpaceButton.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShareSpaceButton.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ShareSpaceButton.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOpB,wBAKE;AAEF,eAAO,MAAM,OAAO;;;;CAInB,CAAC"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { type Space } from '@dxos/react-client/echo';
3
+ /**
4
+ * @deprecated
5
+ */
6
+ export declare const SpaceMain: ({ space, role }: {
7
+ space: Space;
8
+ role: "main" | "article";
9
+ }) => React.JSX.Element;
10
+ //# sourceMappingURL=SpaceMain.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpaceMain.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceMain/SpaceMain.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAc,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AA8CjE;;GAEG;AAEH,eAAO,MAAM,SAAS,oBAAqB;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,sBAqBpF,CAAC"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { type Space } from '@dxos/react-client/echo';
3
+ export declare const SpaceMembersSection: ({ space }: {
4
+ space: Space;
5
+ }) => React.JSX.Element;
6
+ //# sourceMappingURL=SpaceMembersSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpaceMembersSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceMain/SpaceMembersSection.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAGrD,OAAO,EAAE,KAAK,KAAK,EAAgD,MAAM,yBAAyB,CAAC;AA+BnG,eAAO,MAAM,mBAAmB,cAAe;IAAE,KAAK,EAAE,KAAK,CAAA;CAAE,sBAqK9D,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './SpaceMain';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceMain/index.ts"],"names":[],"mappings":"AAIA,cAAc,aAAa,CAAC"}
@@ -0,0 +1,34 @@
1
+ import React from 'react';
2
+ import { type Expando } from '@dxos/echo-schema';
3
+ import { PublicKey } from '@dxos/react-client';
4
+ import { type SpaceMember } from '@dxos/react-client/echo';
5
+ import { type Size, type ThemedClassName } from '@dxos/react-ui';
6
+ import { ComplexMap } from '@dxos/util';
7
+ import type { ObjectViewerProps } from '../types';
8
+ export declare const SpacePresence: ({ object, spaceKey }: {
9
+ object: Expando;
10
+ spaceKey?: PublicKey;
11
+ }) => React.JSX.Element | null;
12
+ export type Member = SpaceMember & {
13
+ /**
14
+ * Last time a member was seen on this object.
15
+ */
16
+ lastSeen: number;
17
+ currentlyAttended: boolean;
18
+ };
19
+ export type MemberPresenceProps = ThemedClassName<{
20
+ size?: Size;
21
+ members?: Member[];
22
+ showCount?: boolean;
23
+ onMemberClick?: (member: Member) => void;
24
+ }>;
25
+ export declare const FullPresence: (props: MemberPresenceProps) => React.JSX.Element | null;
26
+ export declare const SmallPresenceLive: ({ viewers, onCloseClick, }: {
27
+ viewers?: ComplexMap<PublicKey, ObjectViewerProps>;
28
+ onCloseClick?: () => void;
29
+ }) => React.JSX.Element;
30
+ export declare const SmallPresence: ({ count, onCloseClick }: {
31
+ count: number;
32
+ onCloseClick?: () => void;
33
+ }) => React.JSX.Element;
34
+ //# sourceMappingURL=SpacePresence.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpacePresence.d.ts","sourceRoot":"","sources":["../../../../src/components/SpacePresence.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAIhE,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAa,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAwB,KAAK,WAAW,EAAoB,MAAM,yBAAyB,CAAC;AAEnG,OAAO,EAIL,KAAK,IAAI,EACT,KAAK,eAAe,EAOrB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,UAAU,EAAiB,MAAM,YAAY,CAAC;AAGvD,OAAO,KAAK,EAAE,iBAAiB,EAAuB,MAAM,UAAU,CAAC;AAYvE,eAAO,MAAM,aAAa,yBAA0B;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,EAAE,SAAS,CAAA;CAAE,6BAoD5F,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,WAAW,GAAG;IACjC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC;IAChD,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C,CAAC,CAAC;AAEH,eAAO,MAAM,YAAY,UAAW,mBAAmB,6BA8DtD,CAAC;AA8BF,eAAO,MAAM,iBAAiB,+BAG3B;IACD,OAAO,CAAC,EAAE,UAAU,CAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC;IACnD,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,sBAcA,CAAC;AAEF,eAAO,MAAM,aAAa,4BAA6B;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,IAAI,CAAA;CAAE,sBAmBlG,CAAC"}
@@ -0,0 +1,97 @@
1
+ import React from 'react';
2
+ import '@dxosTheme';
3
+ import { type MemberPresenceProps } from './SpacePresence';
4
+ declare const _default: {
5
+ title: string;
6
+ decorators: import("@storybook/react/*").Decorator[];
7
+ parameters: {
8
+ translations: {
9
+ 'en-US': {
10
+ "dxos.org/plugin/space": {
11
+ 'plugin name': string;
12
+ 'first run message': string;
13
+ 'create space label': string;
14
+ 'join space label': string;
15
+ 'empty space message': string;
16
+ 'empty tree message': string;
17
+ 'unnamed space label': string;
18
+ 'closed space label': string;
19
+ 'loading space label': string;
20
+ 'lock space label': string;
21
+ 'unlock space label': string;
22
+ 'rename space label': string;
23
+ 'active space label': string;
24
+ 'space name label': string;
25
+ 'object name label': string;
26
+ 'close space label': string;
27
+ 'open space label': string;
28
+ 'export data label': string;
29
+ 'import data label': string;
30
+ 'migrate space label': string;
31
+ 'share space': string;
32
+ 'save space to disk label': string;
33
+ 'load space from disk label': string;
34
+ 'confirm restore title': string;
35
+ 'confirm restore body': string;
36
+ 'upload file message': string;
37
+ 'object title placeholder': string;
38
+ 'personal space label': string;
39
+ 'spaces label': string;
40
+ 'show hidden spaces label': string;
41
+ 'save files to directory label': string;
42
+ 'select path label': string;
43
+ 'rename collection label': string;
44
+ 'rename object label': string;
45
+ 'duplicate object label': string;
46
+ 'delete collection label': string;
47
+ 'delete object label': string;
48
+ 'collection deleted label': string;
49
+ 'object deleted label': string;
50
+ 'go to object label': string;
51
+ 'found object label': string;
52
+ 'found object description': string;
53
+ 'waiting for object label': string;
54
+ 'waiting for object description': string;
55
+ 'object not found label': string;
56
+ 'object not found description': string;
57
+ 'missing object message': string;
58
+ 'missing object description': string;
59
+ 'create collection label': string;
60
+ 'unnamed object label': string;
61
+ 'unnamed collection label': string;
62
+ 'create object in space label': string;
63
+ 'create object in collection label': string;
64
+ 'share space label': string;
65
+ 'space members label': string;
66
+ 'active space members heading': string;
67
+ 'inactive space members heading': string;
68
+ 'presence label_zero': string;
69
+ 'presence label_one': string;
70
+ 'presence label_other': string;
71
+ 'persisted locally label': string;
72
+ 'persisted locally message': string;
73
+ 'persistence pending label': string;
74
+ 'persistence error label': string;
75
+ 'more actions label': string;
76
+ 'invitations heading': string;
77
+ 'keyshortcuts label': string;
78
+ 'menu footer label': string;
79
+ 'location label': string;
80
+ 'space limit label': string;
81
+ 'space limit description': string;
82
+ 'space limit close label': string;
83
+ 'remove deleted objects label': string;
84
+ 'remove deleted objects alt': string;
85
+ 'copy link label': string;
86
+ };
87
+ };
88
+ }[];
89
+ };
90
+ actions: {
91
+ argTypesRegex: string;
92
+ };
93
+ };
94
+ export default _default;
95
+ export declare const Full: (props: MemberPresenceProps) => React.JSX.Element;
96
+ export declare const Small: (props: MemberPresenceProps) => React.JSX.Element;
97
+ //# sourceMappingURL=SpacePresence.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpacePresence.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/SpacePresence.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,YAAY,CAAC;AAOpB,OAAO,EAAgB,KAAK,mBAAmB,EAA8B,MAAM,iBAAiB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrG,wBAKE;AAWF,eAAO,MAAM,IAAI,UAAW,mBAAmB,sBAsC9C,CAAC;AAEF,eAAO,MAAM,KAAK,UAAW,mBAAmB,sBA6B/C,CAAC"}
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ import { type SpaceSettingsProps } from '../types';
3
+ export declare const SpaceSettings: ({ settings }: {
4
+ settings: SpaceSettingsProps;
5
+ }) => React.JSX.Element;
6
+ //# sourceMappingURL=SpaceSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpaceSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/SpaceSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,eAAO,MAAM,aAAa,iBAAkB;IAAE,QAAQ,EAAE,kBAAkB,CAAA;CAAE,sBAoB3E,CAAC"}