@dxos/plugin-space 0.6.13 → 0.6.14-main.1366248

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 (108) hide show
  1. package/dist/lib/browser/{chunk-LZEGRS7H.mjs → chunk-AVLRQF6L.mjs} +1 -1
  2. package/dist/lib/browser/chunk-AVLRQF6L.mjs.map +7 -0
  3. package/dist/lib/browser/{chunk-DTVUOG2C.mjs → chunk-WZAM3FNP.mjs} +24 -5
  4. package/dist/lib/browser/chunk-WZAM3FNP.mjs.map +7 -0
  5. package/dist/lib/browser/index.mjs +852 -348
  6. package/dist/lib/browser/index.mjs.map +4 -4
  7. package/dist/lib/browser/meta.json +1 -1
  8. package/dist/lib/browser/meta.mjs +1 -1
  9. package/dist/lib/browser/types/index.mjs +7 -3
  10. package/dist/lib/node/{chunk-CVZPI2P3.cjs → chunk-HTAM5LQD.cjs} +30 -9
  11. package/dist/lib/node/chunk-HTAM5LQD.cjs.map +7 -0
  12. package/dist/lib/node/{chunk-6CNYF6YU.cjs → chunk-P4XUXM7Y.cjs} +4 -4
  13. package/dist/lib/node/chunk-P4XUXM7Y.cjs.map +7 -0
  14. package/dist/lib/node/index.cjs +1046 -550
  15. package/dist/lib/node/index.cjs.map +4 -4
  16. package/dist/lib/node/meta.cjs +5 -5
  17. package/dist/lib/node/meta.cjs.map +1 -1
  18. package/dist/lib/node/meta.json +1 -1
  19. package/dist/lib/node/types/index.cjs +14 -10
  20. package/dist/lib/node/types/index.cjs.map +2 -2
  21. package/dist/lib/node-esm/chunk-TRJKV4PK.mjs +116 -0
  22. package/dist/lib/node-esm/chunk-TRJKV4PK.mjs.map +7 -0
  23. package/dist/lib/node-esm/chunk-YPQGKWHJ.mjs +37 -0
  24. package/dist/lib/node-esm/chunk-YPQGKWHJ.mjs.map +7 -0
  25. package/dist/lib/node-esm/index.mjs +3145 -0
  26. package/dist/lib/node-esm/index.mjs.map +7 -0
  27. package/dist/lib/node-esm/meta.json +1 -0
  28. package/dist/lib/node-esm/meta.mjs +14 -0
  29. package/dist/lib/node-esm/meta.mjs.map +7 -0
  30. package/dist/lib/node-esm/types/index.mjs +26 -0
  31. package/dist/lib/node-esm/types/index.mjs.map +7 -0
  32. package/dist/types/src/SpacePlugin.d.ts.map +1 -1
  33. package/dist/types/src/components/DefaultObjectSettings.d.ts +7 -0
  34. package/dist/types/src/components/DefaultObjectSettings.d.ts.map +1 -0
  35. package/dist/types/src/components/MenuFooter.d.ts +1 -1
  36. package/dist/types/src/components/MenuFooter.d.ts.map +1 -1
  37. package/dist/types/src/components/ShareSpaceButton.stories.d.ts +3 -91
  38. package/dist/types/src/components/ShareSpaceButton.stories.d.ts.map +1 -1
  39. package/dist/types/src/components/SpaceMain/SpaceMain.d.ts.map +1 -1
  40. package/dist/types/src/components/SpacePresence.d.ts +4 -2
  41. package/dist/types/src/components/SpacePresence.d.ts.map +1 -1
  42. package/dist/types/src/components/SpacePresence.stories.d.ts +4 -92
  43. package/dist/types/src/components/SpacePresence.stories.d.ts.map +1 -1
  44. package/dist/types/src/components/SpaceSettings.d.ts.map +1 -1
  45. package/dist/types/src/components/SpaceSettingsPanel.d.ts +7 -0
  46. package/dist/types/src/components/SpaceSettingsPanel.d.ts.map +1 -0
  47. package/dist/types/src/components/SyncStatus/Space.d.ts +8 -0
  48. package/dist/types/src/components/SyncStatus/Space.d.ts.map +1 -0
  49. package/dist/types/src/components/SyncStatus/SyncStatus.d.ts +14 -0
  50. package/dist/types/src/components/SyncStatus/SyncStatus.d.ts.map +1 -0
  51. package/dist/types/src/components/SyncStatus/SyncStatus.stories.d.ts +9 -0
  52. package/dist/types/src/components/SyncStatus/SyncStatus.stories.d.ts.map +1 -0
  53. package/dist/types/src/components/SyncStatus/index.d.ts +2 -0
  54. package/dist/types/src/components/SyncStatus/index.d.ts.map +1 -0
  55. package/dist/types/src/components/SyncStatus/save-tracker.d.ts +3 -0
  56. package/dist/types/src/components/SyncStatus/save-tracker.d.ts.map +1 -0
  57. package/dist/types/src/components/SyncStatus/status.d.ts +9 -0
  58. package/dist/types/src/components/SyncStatus/status.d.ts.map +1 -0
  59. package/dist/types/src/components/SyncStatus/sync-state.d.ts +14 -0
  60. package/dist/types/src/components/SyncStatus/sync-state.d.ts.map +1 -0
  61. package/dist/types/src/components/index.d.ts +3 -3
  62. package/dist/types/src/components/index.d.ts.map +1 -1
  63. package/dist/types/src/meta.d.ts.map +1 -1
  64. package/dist/types/src/translations.d.ts +14 -0
  65. package/dist/types/src/translations.d.ts.map +1 -1
  66. package/dist/types/src/types/thread.d.ts +15 -1
  67. package/dist/types/src/types/thread.d.ts.map +1 -1
  68. package/dist/types/src/types/types.d.ts +23 -2
  69. package/dist/types/src/types/types.d.ts.map +1 -1
  70. package/dist/types/src/util.d.ts +4 -7
  71. package/dist/types/src/util.d.ts.map +1 -1
  72. package/package.json +46 -45
  73. package/src/SpacePlugin.tsx +275 -137
  74. package/src/components/DefaultObjectSettings.tsx +33 -0
  75. package/src/components/MenuFooter.tsx +2 -2
  76. package/src/components/ShareSpaceButton.stories.tsx +11 -7
  77. package/src/components/SpaceMain/SpaceMain.tsx +1 -22
  78. package/src/components/SpacePresence.stories.tsx +11 -9
  79. package/src/components/SpacePresence.tsx +34 -23
  80. package/src/components/SpaceSettings.tsx +35 -6
  81. package/src/components/SpaceSettingsPanel.tsx +69 -0
  82. package/src/components/SyncStatus/Space.tsx +109 -0
  83. package/src/components/SyncStatus/SyncStatus.stories.tsx +74 -0
  84. package/src/components/SyncStatus/SyncStatus.tsx +102 -0
  85. package/src/components/SyncStatus/index.ts +5 -0
  86. package/src/components/SyncStatus/save-tracker.ts +71 -0
  87. package/src/components/SyncStatus/status.ts +44 -0
  88. package/src/components/SyncStatus/sync-state.ts +77 -0
  89. package/src/components/index.ts +3 -3
  90. package/src/meta.ts +3 -1
  91. package/src/translations.ts +16 -2
  92. package/src/types/collection.ts +1 -1
  93. package/src/types/thread.ts +12 -2
  94. package/src/types/types.ts +31 -3
  95. package/src/util.tsx +23 -58
  96. package/dist/lib/browser/chunk-DTVUOG2C.mjs.map +0 -7
  97. package/dist/lib/browser/chunk-LZEGRS7H.mjs.map +0 -7
  98. package/dist/lib/node/chunk-6CNYF6YU.cjs.map +0 -7
  99. package/dist/lib/node/chunk-CVZPI2P3.cjs.map +0 -7
  100. package/dist/types/src/components/EmptySpace.d.ts +0 -3
  101. package/dist/types/src/components/EmptySpace.d.ts.map +0 -1
  102. package/dist/types/src/components/EmptyTree.d.ts +0 -3
  103. package/dist/types/src/components/EmptyTree.d.ts.map +0 -1
  104. package/dist/types/src/components/MissingObject.d.ts +0 -5
  105. package/dist/types/src/components/MissingObject.d.ts.map +0 -1
  106. package/src/components/EmptySpace.tsx +0 -25
  107. package/src/components/EmptyTree.tsx +0 -25
  108. package/src/components/MissingObject.tsx +0 -54
@@ -0,0 +1 @@
1
+ {"inputs":{"packages/plugins/plugin-space/src/meta.ts":{"bytes":4416,"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/DefaultObjectSettings.tsx":{"bytes":3236,"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/types/collection.ts":{"bytes":3206,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-space/src/types/thread.ts":{"bytes":10106,"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-space/src/types/types.ts":{"bytes":4893,"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":64262,"imports":[{"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":4679,"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/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":28293,"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":8374,"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":28954,"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":6946,"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-data","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/SpaceSettingsPanel.tsx":{"bytes":8871,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/echo/metadata","kind":"import-statement","external":true},{"path":"@dxos/react-client","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":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-space/src/components/SyncStatus/Space.tsx":{"bytes":11153,"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}],"format":"esm"},"packages/plugins/plugin-space/src/components/SyncStatus/save-tracker.ts":{"bytes":7230,"imports":[{"path":"@dxos/context","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-space/src/components/SyncStatus/status.ts":{"bytes":3504,"imports":[],"format":"esm"},"packages/plugins/plugin-space/src/components/SyncStatus/sync-state.ts":{"bytes":8551,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-space/src/components/SyncStatus/SyncStatus.tsx":{"bytes":12919,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-status-bar","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-syntax-highlighter","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-space/src/components/SyncStatus/Space.tsx","kind":"import-statement","original":"./Space"},{"path":"packages/plugins/plugin-space/src/components/SyncStatus/save-tracker.ts","kind":"import-statement","original":"./save-tracker"},{"path":"packages/plugins/plugin-space/src/components/SyncStatus/status.ts","kind":"import-statement","original":"./status"},{"path":"packages/plugins/plugin-space/src/components/SyncStatus/sync-state.ts","kind":"import-statement","original":"./sync-state"},{"path":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"../../meta"}],"format":"esm"},"packages/plugins/plugin-space/src/components/SyncStatus/index.ts":{"bytes":529,"imports":[{"path":"packages/plugins/plugin-space/src/components/SyncStatus/SyncStatus.tsx","kind":"import-statement","original":"./SyncStatus"}],"format":"esm"},"packages/plugins/plugin-space/src/components/index.ts":{"bytes":1929,"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/DefaultObjectSettings.tsx","kind":"import-statement","original":"./DefaultObjectSettings"},{"path":"packages/plugins/plugin-space/src/components/MenuFooter.tsx","kind":"import-statement","original":"./MenuFooter"},{"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"},{"path":"packages/plugins/plugin-space/src/components/SpaceSettingsPanel.tsx","kind":"import-statement","original":"./SpaceSettingsPanel"},{"path":"packages/plugins/plugin-space/src/components/SyncStatus/index.ts","kind":"import-statement","original":"./SyncStatus"}],"format":"esm"},"packages/plugins/plugin-space/src/translations.ts":{"bytes":15266,"imports":[{"path":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-space/src/SpacePlugin.tsx":{"bytes":192452,"imports":[{"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/echo-signals/core","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-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":215948},"packages/plugins/plugin-space/dist/lib/node-esm/index.mjs":{"imports":[{"path":"packages/plugins/plugin-space/dist/lib/node-esm/chunk-YPQGKWHJ.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-space/dist/lib/node-esm/chunk-TRJKV4PK.mjs","kind":"import-statement"},{"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/echo-signals/core","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":"@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":"@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":"@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/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-data","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/echo/metadata","kind":"import-statement","external":true},{"path":"@dxos/react-client","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":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-status-bar","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-syntax-highlighter","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":"@dxos/context","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true}],"exports":["ActorSchema","AwaitingObject","COMPOSER_SPACE_LOCK","ChannelType","CollectionMain","CollectionSection","CollectionType","ContactType","DefaultObjectSettings","FullPresence","MenuFooter","MessageState","MessageType","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","SpaceSettingsPanel","SyncStatus","SyncStatusDetail","SyncStatusIndicator","ThreadStatus","ThreadType","cloneObject","constructObjectActionGroups","constructObjectActions","constructSpaceActionGroups","constructSpaceActions","constructSpaceNode","createObjectNode","default","getActiveSpace","getNestedObjects","getSpaceDisplayName","memoizeQuery","parseSpaceInitPlugin","parseSpacePlugin","translations"],"entryPoint":"packages/plugins/plugin-space/src/index.ts","inputs":{"packages/plugins/plugin-space/src/SpacePlugin.tsx":{"bytesInOutput":49648},"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/DefaultObjectSettings.tsx":{"bytesInOutput":661},"packages/plugins/plugin-space/src/components/MenuFooter.tsx":{"bytesInOutput":1295},"packages/plugins/plugin-space/src/util.tsx":{"bytesInOutput":15770},"packages/plugins/plugin-space/src/components/PersistenceStatus.tsx":{"bytesInOutput":2738},"packages/plugins/plugin-space/src/components/PopoverRenameObject.tsx":{"bytesInOutput":1876},"packages/plugins/plugin-space/src/components/PopoverRenameSpace.tsx":{"bytesInOutput":1609},"packages/plugins/plugin-space/src/components/ShareSpaceButton.tsx":{"bytesInOutput":716},"packages/plugins/plugin-space/src/components/SpaceMain/SpaceMain.tsx":{"bytesInOutput":2303},"packages/plugins/plugin-space/src/components/SpaceMain/SpaceMembersSection.tsx":{"bytesInOutput":7933},"packages/plugins/plugin-space/src/components/SpaceMain/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-space/src/components/SpacePresence.tsx":{"bytesInOutput":7378},"packages/plugins/plugin-space/src/components/SpaceSettings.tsx":{"bytesInOutput":1723},"packages/plugins/plugin-space/src/components/SpaceSettingsPanel.tsx":{"bytesInOutput":2549},"packages/plugins/plugin-space/src/components/SyncStatus/SyncStatus.tsx":{"bytesInOutput":3211},"packages/plugins/plugin-space/src/components/SyncStatus/Space.tsx":{"bytesInOutput":3083},"packages/plugins/plugin-space/src/components/SyncStatus/save-tracker.ts":{"bytesInOutput":1718},"packages/plugins/plugin-space/src/components/SyncStatus/status.ts":{"bytesInOutput":790},"packages/plugins/plugin-space/src/components/SyncStatus/sync-state.ts":{"bytesInOutput":2065},"packages/plugins/plugin-space/src/components/SyncStatus/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-space/src/translations.ts":{"bytesInOutput":5127},"packages/plugins/plugin-space/src/index.ts":{"bytesInOutput":31}},"bytes":120587},"packages/plugins/plugin-space/dist/lib/node-esm/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-space/dist/lib/node-esm/meta.mjs":{"imports":[{"path":"packages/plugins/plugin-space/dist/lib/node-esm/chunk-YPQGKWHJ.mjs","kind":"import-statement"}],"exports":["SPACE_PLUGIN","SPACE_PLUGIN_SHORT_ID","SpaceAction","default"],"entryPoint":"packages/plugins/plugin-space/src/meta.ts","inputs":{},"bytes":331},"packages/plugins/plugin-space/dist/lib/node-esm/chunk-YPQGKWHJ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1874},"packages/plugins/plugin-space/dist/lib/node-esm/chunk-YPQGKWHJ.mjs":{"imports":[],"exports":["SPACE_PLUGIN","SPACE_PLUGIN_SHORT_ID","SpaceAction","meta_default"],"inputs":{"packages/plugins/plugin-space/src/meta.ts":{"bytesInOutput":1584}},"bytes":1850},"packages/plugins/plugin-space/dist/lib/node-esm/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-space/dist/lib/node-esm/types/index.mjs":{"imports":[{"path":"packages/plugins/plugin-space/dist/lib/node-esm/chunk-TRJKV4PK.mjs","kind":"import-statement"}],"exports":["ActorSchema","ChannelType","CollectionType","ContactType","MessageState","MessageType","SPACE_DIRECTORY_HANDLE","ThreadStatus","ThreadType","parseSpaceInitPlugin"],"entryPoint":"packages/plugins/plugin-space/src/types/index.ts","inputs":{},"bytes":526},"packages/plugins/plugin-space/dist/lib/node-esm/chunk-TRJKV4PK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9749},"packages/plugins/plugin-space/dist/lib/node-esm/chunk-TRJKV4PK.mjs":{"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"exports":["ActorSchema","ChannelType","CollectionType","ContactType","MessageState","MessageType","SPACE_DIRECTORY_HANDLE","ThreadStatus","ThreadType","parseSpaceInitPlugin"],"inputs":{"packages/plugins/plugin-space/src/types/collection.ts":{"bytesInOutput":856},"packages/plugins/plugin-space/src/types/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-space/src/types/thread.ts":{"bytesInOutput":2740},"packages/plugins/plugin-space/src/types/types.ts":{"bytesInOutput":179}},"bytes":4262}}}
@@ -0,0 +1,14 @@
1
+ import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
+ import {
3
+ SPACE_PLUGIN,
4
+ SPACE_PLUGIN_SHORT_ID,
5
+ SpaceAction,
6
+ meta_default
7
+ } from "./chunk-YPQGKWHJ.mjs";
8
+ export {
9
+ SPACE_PLUGIN,
10
+ SPACE_PLUGIN_SHORT_ID,
11
+ SpaceAction,
12
+ meta_default as default
13
+ };
14
+ //# sourceMappingURL=meta.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -0,0 +1,26 @@
1
+ import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
2
+ import {
3
+ ActorSchema,
4
+ ChannelType,
5
+ CollectionType,
6
+ ContactType,
7
+ MessageState,
8
+ MessageType,
9
+ SPACE_DIRECTORY_HANDLE,
10
+ ThreadStatus,
11
+ ThreadType,
12
+ parseSpaceInitPlugin
13
+ } from "../chunk-TRJKV4PK.mjs";
14
+ export {
15
+ ActorSchema,
16
+ ChannelType,
17
+ CollectionType,
18
+ ContactType,
19
+ MessageState,
20
+ MessageType,
21
+ SPACE_DIRECTORY_HANDLE,
22
+ ThreadStatus,
23
+ ThreadType,
24
+ parseSpaceInitPlugin
25
+ };
26
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
@@ -1 +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;AAqC5D,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,CAmlChE,CAAC"}
1
+ {"version":3,"file":"SpacePlugin.d.ts","sourceRoot":"","sources":["../../../src/SpacePlugin.tsx"],"names":[],"mappings":"AAOA,OAAO,EAEL,KAAK,gBAAgB,EAMrB,KAAK,MAAM,EACX,KAAK,gBAAgB,EAUtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAsB,KAAK,OAAO,EAA4B,MAAM,aAAa,CAAC;AAUzF,OAAO,EAAE,KAAK,MAAM,EAAa,MAAM,oBAAoB,CAAC;AAwC5D,OAAO,EAAoC,KAAK,mBAAmB,EAA2B,MAAM,SAAS,CAAC;AAsB9G,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,CAwtChE,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { type EchoReactiveObject } from '@dxos/react-client/echo';
3
+ export type DefaultObjectSettingsProps = {
4
+ object: EchoReactiveObject<any>;
5
+ };
6
+ export declare const DefaultObjectSettings: ({ object }: DefaultObjectSettingsProps) => React.JSX.Element;
7
+ //# sourceMappingURL=DefaultObjectSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DefaultObjectSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/DefaultObjectSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAKlE,MAAM,MAAM,0BAA0B,GAAG;IACvC,MAAM,EAAE,kBAAkB,CAAC,GAAG,CAAC,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,qBAAqB,eAAgB,0BAA0B,sBAiB3E,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { EchoReactiveObject } from '@dxos/echo-schema';
2
+ import { type EchoReactiveObject } from '@dxos/client/echo';
3
3
  export declare const MenuFooter: ({ object }: {
4
4
  object: EchoReactiveObject<any>;
5
5
  }) => React.JSX.Element | null;
@@ -1 +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"}
1
+ {"version":3,"file":"MenuFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/MenuFooter.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,KAAK,kBAAkB,EAAY,MAAM,mBAAmB,CAAC;AAOtE,eAAO,MAAM,UAAU,eAAgB;IAAE,MAAM,EAAE,kBAAkB,CAAC,GAAG,CAAC,CAAA;CAAE,6BAkBzE,CAAC"}
@@ -1,98 +1,10 @@
1
1
  import '@dxos-theme';
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;
2
+ import { type Meta } from '@storybook/react';
93
3
  export declare const Default: {
94
4
  args: {
95
5
  onClick: () => void;
96
6
  };
97
7
  };
8
+ declare const meta: Meta;
9
+ export default meta;
98
10
  //# sourceMappingURL=ShareSpaceButton.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ShareSpaceButton.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ShareSpaceButton.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOrB,wBAKE;AAEF,eAAO,MAAM,OAAO;;;;CAInB,CAAC"}
1
+ {"version":3,"file":"ShareSpaceButton.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/ShareSpaceButton.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAO7C,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAKX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1 +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"}
1
+ {"version":3,"file":"SpaceMain.d.ts","sourceRoot":"","sources":["../../../../../src/components/SpaceMain/SpaceMain.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAc,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AA0BjE;;GAEG;AAEH,eAAO,MAAM,SAAS,oBAAqB;IAAE,KAAK,EAAE,KAAK,CAAC;IAAC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,sBAqBpF,CAAC"}
@@ -23,10 +23,12 @@ export type MemberPresenceProps = ThemedClassName<{
23
23
  onMemberClick?: (member: Member) => void;
24
24
  }>;
25
25
  export declare const FullPresence: (props: MemberPresenceProps) => React.JSX.Element | null;
26
- export declare const SmallPresenceLive: ({ viewers }: {
26
+ export declare const SmallPresenceLive: ({ id, viewers, }: {
27
+ id?: string;
27
28
  viewers?: ComplexMap<PublicKey, ObjectViewerProps>;
28
29
  }) => React.JSX.Element;
29
- export declare const SmallPresence: ({ count }: {
30
+ export declare const SmallPresence: ({ id, count }: {
31
+ id?: string;
30
32
  count: number;
31
33
  }) => React.JSX.Element;
32
34
  //# sourceMappingURL=SpacePresence.d.ts.map
@@ -1 +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,gBAAiB;IAAE,OAAO,CAAC,EAAE,UAAU,CAAC,SAAS,EAAE,iBAAiB,CAAC,CAAA;CAAE,sBAcpG,CAAC;AAEF,eAAO,MAAM,aAAa,cAAe;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,sBAezD,CAAC"}
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,EAMrB,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,6BA+C5F,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,qBAG3B;IACD,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,UAAU,CAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC;CACpD,sBAmBA,CAAC;AAEF,eAAO,MAAM,aAAa,kBAAmB;IAAE,EAAE,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,sBAqB1E,CAAC"}
@@ -1,97 +1,9 @@
1
- import React from 'react';
2
1
  import '@dxos-theme';
2
+ import { type Meta } from '@storybook/react';
3
+ import React from 'react';
3
4
  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
5
  export declare const Full: (props: MemberPresenceProps) => React.JSX.Element;
96
6
  export declare const Small: (props: MemberPresenceProps) => React.JSX.Element;
7
+ declare const meta: Meta;
8
+ export default meta;
97
9
  //# sourceMappingURL=SpacePresence.stories.d.ts.map
@@ -1 +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,aAAa,CAAC;AAMrB,OAAO,EAAgB,KAAK,mBAAmB,EAA8B,MAAM,iBAAiB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrG,wBAKE;AAWF,eAAO,MAAM,IAAI,UAAW,mBAAmB,sBAoC9C,CAAC;AAEF,eAAO,MAAM,KAAK,UAAW,mBAAmB,sBA2B/C,CAAC"}
1
+ {"version":3,"file":"SpacePresence.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/SpacePresence.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAgB,KAAK,mBAAmB,EAA8B,MAAM,iBAAiB,CAAC;AAYrG,eAAO,MAAM,IAAI,UAAW,mBAAmB,sBAoC9C,CAAC;AAEF,eAAO,MAAM,KAAK,UAAW,mBAAmB,sBA2B/C,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAIX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1 +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"}
1
+ {"version":3,"file":"SpaceSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/SpaceSettings.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAwB,KAAK,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEzE,eAAO,MAAM,aAAa,iBAAkB;IAAE,QAAQ,EAAE,kBAAkB,CAAA;CAAE,sBAiD3E,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { type Space } from '@dxos/react-client/echo';
3
+ export type SpaceSettingsPanelProps = {
4
+ space: Space;
5
+ };
6
+ export declare const SpaceSettingsPanel: ({ space }: SpaceSettingsPanelProps) => React.JSX.Element;
7
+ //# sourceMappingURL=SpaceSettingsPanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpaceSettingsPanel.d.ts","sourceRoot":"","sources":["../../../../src/components/SpaceSettingsPanel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAKrD,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAMrD,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,kBAAkB,cAAe,uBAAuB,sBAiDpE,CAAC"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { type PeerSyncState } from './sync-state';
3
+ export declare const SYNC_STALLED_TIMEOUT = 5000;
4
+ export declare const SpaceRow: ({ spaceId, state: { localDocumentCount, remoteDocumentCount, missingOnLocal, missingOnRemote }, }: {
5
+ spaceId: string;
6
+ state: PeerSyncState;
7
+ }) => React.JSX.Element;
8
+ //# sourceMappingURL=Space.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Space.d.ts","sourceRoot":"","sources":["../../../../../src/components/SyncStatus/Space.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAMxE,OAAO,EAAiB,KAAK,aAAa,EAAE,MAAM,cAAc,CAAC;AAEjE,eAAO,MAAM,oBAAoB,OAAQ,CAAC;AA+B1C,eAAO,MAAM,QAAQ,sGAGlB;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,aAAa,CAAC;CACtB,sBA6BA,CAAC"}
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { type ThemedClassName } from '@dxos/react-ui';
3
+ import { type PeerSyncState, type SpaceSyncStateMap } from './sync-state';
4
+ export declare const SyncStatus: () => React.JSX.Element;
5
+ export declare const SyncStatusIndicator: ({ state, saved }: {
6
+ state: SpaceSyncStateMap;
7
+ saved: Boolean;
8
+ }) => React.JSX.Element;
9
+ export declare const SyncStatusDetail: ({ classNames, state, summary, debug, }: ThemedClassName<{
10
+ state: SpaceSyncStateMap;
11
+ summary: PeerSyncState;
12
+ debug?: boolean;
13
+ }>) => React.JSX.Element;
14
+ //# sourceMappingURL=SyncStatus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SyncStatus.d.ts","sourceRoot":"","sources":["../../../../../src/components/SyncStatus/SyncStatus.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAOtD,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,iBAAiB,EAAgC,MAAM,cAAc,CAAC;AAGxG,eAAO,MAAM,UAAU,yBAYtB,CAAC;AAEF,eAAO,MAAM,mBAAmB,qBAAsB;IAAE,KAAK,EAAE,iBAAiB,CAAC;IAAC,KAAK,EAAE,OAAO,CAAA;CAAE,sBAyCjG,CAAC;AAEF,eAAO,MAAM,gBAAgB,2CAK1B,eAAe,CAAC;IACjB,KAAK,EAAE,iBAAiB,CAAC;IACzB,OAAO,EAAE,aAAa,CAAC;IACvB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC,sBAgBD,CAAC"}
@@ -0,0 +1,9 @@
1
+ import '@dxos-theme';
2
+ import { type Meta, type StoryObj } from '@storybook/react';
3
+ import { SyncStatusDetail, SyncStatusIndicator } from './SyncStatus';
4
+ export declare const Default: StoryObj<typeof SyncStatusIndicator>;
5
+ export declare const Saving: StoryObj<typeof SyncStatusIndicator>;
6
+ export declare const Detail: StoryObj<typeof SyncStatusDetail>;
7
+ declare const meta: Meta;
8
+ export default meta;
9
+ //# sourceMappingURL=SyncStatus.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SyncStatus.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/SyncStatus/SyncStatus.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAM5D,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AA6BrE,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,mBAAmB,CAKxD,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,QAAQ,CAAC,OAAO,mBAAmB,CAKvD,CAAC;AAGF,eAAO,MAAM,MAAM,EAAE,QAAQ,CAAC,OAAO,gBAAgB,CAOpD,CAAC;AAEF,QAAA,MAAM,IAAI,EAAE,IAMX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './SyncStatus';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/SyncStatus/index.ts"],"names":[],"mappings":"AAIA,cAAc,cAAc,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { type Client } from '@dxos/client';
2
+ export declare const createClientSaveTracker: (client: Client, cb: (state: "saved" | "saving") => void) => () => void;
3
+ //# sourceMappingURL=save-tracker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-tracker.d.ts","sourceRoot":"","sources":["../../../../../src/components/SyncStatus/save-tracker.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,cAAc,CAAC;AAI3C,eAAO,MAAM,uBAAuB,WAAY,MAAM,MAAM,CAAC,KAAK,EAAE,OAAO,GAAG,QAAQ,KAAK,IAAI,eA2B9F,CAAC"}
@@ -0,0 +1,9 @@
1
+ export type Status = 'saving locally' | 'downloading' | 'uploading' | 'offline persisted' | 'remote synced';
2
+ export declare const getStatus: ({ offline, saved, needsToUpload, needsToDownload, }: {
3
+ offline: Boolean;
4
+ saved: Boolean;
5
+ needsToUpload: Boolean;
6
+ needsToDownload: Boolean;
7
+ }) => Status;
8
+ export declare const getIcon: (status: Status) => "ph--download--regular" | "ph--cloud-arrow-down--regular" | "ph--cloud-arrow-up--regular" | "ph--check-circle--regular" | "ph--cloud-check--regular";
9
+ //# sourceMappingURL=status.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../../../src/components/SyncStatus/status.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,MAAM,GAAG,gBAAgB,GAAG,aAAa,GAAG,WAAW,GAAG,mBAAmB,GAAG,eAAe,CAAC;AAE5G,eAAO,MAAM,SAAS,wDAKnB;IACD,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC;IACf,aAAa,EAAE,OAAO,CAAC;IACvB,eAAe,EAAE,OAAO,CAAC;CAC1B,KAAG,MAYH,CAAC;AAEF,eAAO,MAAM,OAAO,WAAY,MAAM,yJAarC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { type SpaceId, type SpaceSyncState } from '@dxos/client/echo';
2
+ export type Progress = {
3
+ count: number;
4
+ total: number;
5
+ };
6
+ export type PeerSyncState = Omit<SpaceSyncState.PeerState, 'peerId'>;
7
+ export type SpaceSyncStateMap = Record<SpaceId, PeerSyncState>;
8
+ export declare const createEmptyEdgeSyncState: () => PeerSyncState;
9
+ export declare const getSyncSummary: (syncMap: SpaceSyncStateMap) => PeerSyncState;
10
+ /**
11
+ * Hook Subscribes to sync state for each space.
12
+ */
13
+ export declare const useSyncState: () => SpaceSyncStateMap;
14
+ //# sourceMappingURL=sync-state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sync-state.d.ts","sourceRoot":"","sources":["../../../../../src/components/SyncStatus/sync-state.ts"],"names":[],"mappings":"AAMA,OAAO,EAAc,KAAK,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAKlF,MAAM,MAAM,QAAQ,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAExD,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,cAAc,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;AAErE,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;AAE/D,eAAO,MAAM,wBAAwB,QAAO,aAM1C,CAAC;AAEH,eAAO,MAAM,cAAc,YAAa,iBAAiB,KAAG,aAS3D,CAAC;AAKF;;GAEG;AACH,eAAO,MAAM,YAAY,QAAO,iBAkC/B,CAAC"}
@@ -1,10 +1,8 @@
1
1
  export * from './AwaitingObject';
2
2
  export * from './CollectionMain';
3
3
  export * from './CollectionSection';
4
- export * from './EmptySpace';
5
- export * from './EmptyTree';
4
+ export * from './DefaultObjectSettings';
6
5
  export * from './MenuFooter';
7
- export * from './MissingObject';
8
6
  export * from './PersistenceStatus';
9
7
  export * from './PopoverRenameObject';
10
8
  export * from './PopoverRenameSpace';
@@ -12,4 +10,6 @@ export * from './ShareSpaceButton';
12
10
  export * from './SpaceMain';
13
11
  export * from './SpacePresence';
14
12
  export * from './SpaceSettings';
13
+ export * from './SpaceSettingsPanel';
14
+ export * from './SyncStatus';
15
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,cAAc,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,0BAA0B,CAAC;AACpD,eAAO,MAAM,qBAAqB,UAAU,CAAC;;;;;;AAE7C,wBAIE;AAGF,oBAAY,WAAW;IACrB,MAAM,wCAA2B;IACjC,IAAI,sCAAyB;IAC7B,KAAK,uCAA0B;IAC/B,IAAI,sCAAyB;IAC7B,MAAM,wCAA2B;IACjC,MAAM,wCAA2B;IACjC,IAAI,sCAAyB;IAC7B,KAAK,uCAA0B;IAC/B,OAAO,yCAA4B;IACnC,UAAU,4CAA+B;IACzC,aAAa,+CAAkC;IAC/C,aAAa,+CAAkC;IAC/C,gBAAgB,kDAAqC;IACrD,eAAe,iDAAoC;IACnD,aAAa,+CAAkC;CAChD"}
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,YAAY,0BAA0B,CAAC;AACpD,eAAO,MAAM,qBAAqB,UAAU,CAAC;;;;;;AAE7C,wBAIuB;AAGvB,oBAAY,WAAW;IACrB,MAAM,wCAA2B;IACjC,IAAI,sCAAyB;IAC7B,KAAK,uCAA0B;IAC/B,IAAI,sCAAyB;IAC7B,MAAM,wCAA2B;IACjC,MAAM,wCAA2B;IACjC,IAAI,sCAAyB;IAC7B,KAAK,uCAA0B;IAC/B,OAAO,yCAA4B;IACnC,UAAU,4CAA+B;IACzC,aAAa,+CAAkC;IAC/C,aAAa,+CAAkC;IAC/C,gBAAgB,kDAAqC;IACrD,eAAe,iDAAoC;IACnD,aAAa,+CAAkC;CAChD"}