@dxos/plugin-space 0.7.2-main.f1adc9f → 0.7.2
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.
- package/dist/lib/browser/index.mjs +32 -45
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node/index.cjs +27 -40
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +32 -45
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/SpacePlugin.d.ts.map +1 -1
- package/dist/types/src/util.d.ts.map +1 -1
- package/package.json +35 -35
- package/src/SpacePlugin.tsx +24 -27
- package/src/util.tsx +1 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/plugins/plugin-space/src/meta.ts":{"bytes":4638,"imports":[],"format":"esm"},"packages/plugins/plugin-space/src/components/AwaitingObject.tsx":{"bytes":13851,"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/components/JoinDialog.tsx":{"bytes":11489,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/meta","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":"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":5181,"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":66735,"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":3507,"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/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/SpacePluginSettings.tsx":{"bytes":6982,"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-form","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/SpaceSettings/SpaceSettingsPanel.tsx":{"bytes":8332,"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":"@dxos/react-ui-form","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/SpaceSettingsDialog.tsx":{"bytes":13672,"imports":[{"path":"react","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-tabs","kind":"import-statement","external":true},{"path":"@dxos/shell/react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-space/src/components/SpaceSettings/SpaceSettingsPanel.tsx","kind":"import-statement","original":"./SpaceSettingsPanel"},{"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/SpaceSettings/index.ts":{"bytes":671,"imports":[{"path":"packages/plugins/plugin-space/src/components/SpaceSettings/SpaceSettingsDialog.tsx","kind":"import-statement","original":"./SpaceSettingsDialog"},{"path":"packages/plugins/plugin-space/src/components/SpaceSettings/SpaceSettingsPanel.tsx","kind":"import-statement","original":"./SpaceSettingsPanel"}],"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":1935,"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/JoinDialog.tsx","kind":"import-statement","original":"./JoinDialog"},{"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/SpacePresence.tsx","kind":"import-statement","original":"./SpacePresence"},{"path":"packages/plugins/plugin-space/src/components/SpacePluginSettings.tsx","kind":"import-statement","original":"./SpacePluginSettings"},{"path":"packages/plugins/plugin-space/src/components/SpaceSettings/index.ts","kind":"import-statement","original":"./SpaceSettings"},{"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":15821,"imports":[{"path":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-space/src/SpacePlugin.tsx":{"bytes":208173,"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/invariant","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/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/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":218678},"packages/plugins/plugin-space/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-space/dist/lib/browser/chunk-DJE2HYFV.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-space/dist/lib/browser/chunk-OWZKSWMX.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/invariant","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/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":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/meta","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":"@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":"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-form","kind":"import-statement","external":true},{"path":"react","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-tabs","kind":"import-statement","external":true},{"path":"@dxos/shell/react","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":"@dxos/react-ui-form","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","JoinDialog","MenuFooter","MessageState","MessageType","PersistenceStatus","PopoverRenameObject","PopoverRenameSpace","SHARED","SPACES","SPACE_DIRECTORY_HANDLE","SPACE_PLUGIN","SPACE_PLUGIN_SHORT_ID","SPACE_TYPE","ShareSpaceButton","ShareSpaceButtonImpl","SmallPresence","SmallPresenceLive","SpaceAction","SpacePlugin","SpacePluginSettings","SpacePresence","SpaceSettingsDialog","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":53834},"packages/plugins/plugin-space/src/components/AwaitingObject.tsx":{"bytesInOutput":3846},"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/JoinDialog.tsx":{"bytesInOutput":2548},"packages/plugins/plugin-space/src/components/MenuFooter.tsx":{"bytesInOutput":1295},"packages/plugins/plugin-space/src/util.tsx":{"bytesInOutput":16238},"packages/plugins/plugin-space/src/components/PersistenceStatus.tsx":{"bytesInOutput":2738},"packages/plugins/plugin-space/src/components/PopoverRenameObject.tsx":{"bytesInOutput":1893},"packages/plugins/plugin-space/src/components/PopoverRenameSpace.tsx":{"bytesInOutput":1609},"packages/plugins/plugin-space/src/components/ShareSpaceButton.tsx":{"bytesInOutput":756},"packages/plugins/plugin-space/src/components/SpacePresence.tsx":{"bytesInOutput":7352},"packages/plugins/plugin-space/src/components/SpacePluginSettings.tsx":{"bytesInOutput":1729},"packages/plugins/plugin-space/src/components/SpaceSettings/SpaceSettingsDialog.tsx":{"bytesInOutput":3960},"packages/plugins/plugin-space/src/components/SpaceSettings/SpaceSettingsPanel.tsx":{"bytesInOutput":2337},"packages/plugins/plugin-space/src/components/SpaceSettings/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-space/src/components/SyncStatus/SyncStatus.tsx":{"bytesInOutput":3211},"packages/plugins/plugin-space/src/components/SyncStatus/Space.tsx":{"bytesInOutput":3094},"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":5314},"packages/plugins/plugin-space/src/index.ts":{"bytesInOutput":31}},"bytes":121516},"packages/plugins/plugin-space/dist/lib/browser/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-space/dist/lib/browser/meta.mjs":{"imports":[{"path":"packages/plugins/plugin-space/dist/lib/browser/chunk-DJE2HYFV.mjs","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/browser/chunk-DJE2HYFV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1958},"packages/plugins/plugin-space/dist/lib/browser/chunk-DJE2HYFV.mjs":{"imports":[],"exports":["SPACE_PLUGIN","SPACE_PLUGIN_SHORT_ID","SpaceAction","meta_default"],"inputs":{"packages/plugins/plugin-space/src/meta.ts":{"bytesInOutput":1686}},"bytes":1859},"packages/plugins/plugin-space/dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-space/dist/lib/browser/types/index.mjs":{"imports":[{"path":"packages/plugins/plugin-space/dist/lib/browser/chunk-OWZKSWMX.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":434},"packages/plugins/plugin-space/dist/lib/browser/chunk-OWZKSWMX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9963},"packages/plugins/plugin-space/dist/lib/browser/chunk-OWZKSWMX.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":4169}}}
|
|
1
|
+
{"inputs":{"packages/plugins/plugin-space/src/meta.ts":{"bytes":4638,"imports":[],"format":"esm"},"packages/plugins/plugin-space/src/components/AwaitingObject.tsx":{"bytes":13851,"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/components/JoinDialog.tsx":{"bytes":11489,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/meta","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":"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":5181,"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":66293,"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":3507,"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/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/SpacePluginSettings.tsx":{"bytes":6982,"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-form","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/SpaceSettings/SpaceSettingsPanel.tsx":{"bytes":8332,"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":"@dxos/react-ui-form","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/SpaceSettingsDialog.tsx":{"bytes":13672,"imports":[{"path":"react","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-tabs","kind":"import-statement","external":true},{"path":"@dxos/shell/react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-space/src/components/SpaceSettings/SpaceSettingsPanel.tsx","kind":"import-statement","original":"./SpaceSettingsPanel"},{"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/SpaceSettings/index.ts":{"bytes":671,"imports":[{"path":"packages/plugins/plugin-space/src/components/SpaceSettings/SpaceSettingsDialog.tsx","kind":"import-statement","original":"./SpaceSettingsDialog"},{"path":"packages/plugins/plugin-space/src/components/SpaceSettings/SpaceSettingsPanel.tsx","kind":"import-statement","original":"./SpaceSettingsPanel"}],"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":1935,"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/JoinDialog.tsx","kind":"import-statement","original":"./JoinDialog"},{"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/SpacePresence.tsx","kind":"import-statement","original":"./SpacePresence"},{"path":"packages/plugins/plugin-space/src/components/SpacePluginSettings.tsx","kind":"import-statement","original":"./SpacePluginSettings"},{"path":"packages/plugins/plugin-space/src/components/SpaceSettings/index.ts","kind":"import-statement","original":"./SpaceSettings"},{"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":15821,"imports":[{"path":"packages/plugins/plugin-space/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-space/src/SpacePlugin.tsx":{"bytes":207352,"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/invariant","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/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/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":218150},"packages/plugins/plugin-space/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-space/dist/lib/browser/chunk-DJE2HYFV.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-space/dist/lib/browser/chunk-OWZKSWMX.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/invariant","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/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":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/meta","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":"@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":"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-form","kind":"import-statement","external":true},{"path":"react","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-tabs","kind":"import-statement","external":true},{"path":"@dxos/shell/react","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":"@dxos/react-ui-form","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","JoinDialog","MenuFooter","MessageState","MessageType","PersistenceStatus","PopoverRenameObject","PopoverRenameSpace","SHARED","SPACES","SPACE_DIRECTORY_HANDLE","SPACE_PLUGIN","SPACE_PLUGIN_SHORT_ID","SPACE_TYPE","ShareSpaceButton","ShareSpaceButtonImpl","SmallPresence","SmallPresenceLive","SpaceAction","SpacePlugin","SpacePluginSettings","SpacePresence","SpaceSettingsDialog","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":53595},"packages/plugins/plugin-space/src/components/AwaitingObject.tsx":{"bytesInOutput":3846},"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/JoinDialog.tsx":{"bytesInOutput":2548},"packages/plugins/plugin-space/src/components/MenuFooter.tsx":{"bytesInOutput":1295},"packages/plugins/plugin-space/src/util.tsx":{"bytesInOutput":16154},"packages/plugins/plugin-space/src/components/PersistenceStatus.tsx":{"bytesInOutput":2738},"packages/plugins/plugin-space/src/components/PopoverRenameObject.tsx":{"bytesInOutput":1893},"packages/plugins/plugin-space/src/components/PopoverRenameSpace.tsx":{"bytesInOutput":1609},"packages/plugins/plugin-space/src/components/ShareSpaceButton.tsx":{"bytesInOutput":756},"packages/plugins/plugin-space/src/components/SpacePresence.tsx":{"bytesInOutput":7352},"packages/plugins/plugin-space/src/components/SpacePluginSettings.tsx":{"bytesInOutput":1729},"packages/plugins/plugin-space/src/components/SpaceSettings/SpaceSettingsDialog.tsx":{"bytesInOutput":3960},"packages/plugins/plugin-space/src/components/SpaceSettings/SpaceSettingsPanel.tsx":{"bytesInOutput":2337},"packages/plugins/plugin-space/src/components/SpaceSettings/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-space/src/components/SyncStatus/SyncStatus.tsx":{"bytesInOutput":3211},"packages/plugins/plugin-space/src/components/SyncStatus/Space.tsx":{"bytesInOutput":3094},"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":5314},"packages/plugins/plugin-space/src/index.ts":{"bytesInOutput":31}},"bytes":121193},"packages/plugins/plugin-space/dist/lib/browser/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-space/dist/lib/browser/meta.mjs":{"imports":[{"path":"packages/plugins/plugin-space/dist/lib/browser/chunk-DJE2HYFV.mjs","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/browser/chunk-DJE2HYFV.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1958},"packages/plugins/plugin-space/dist/lib/browser/chunk-DJE2HYFV.mjs":{"imports":[],"exports":["SPACE_PLUGIN","SPACE_PLUGIN_SHORT_ID","SpaceAction","meta_default"],"inputs":{"packages/plugins/plugin-space/src/meta.ts":{"bytesInOutput":1686}},"bytes":1859},"packages/plugins/plugin-space/dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-space/dist/lib/browser/types/index.mjs":{"imports":[{"path":"packages/plugins/plugin-space/dist/lib/browser/chunk-OWZKSWMX.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":434},"packages/plugins/plugin-space/dist/lib/browser/chunk-OWZKSWMX.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9963},"packages/plugins/plugin-space/dist/lib/browser/chunk-OWZKSWMX.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":4169}}}
|
package/dist/lib/node/index.cjs
CHANGED
|
@@ -393,10 +393,7 @@ var COMPOSER_SPACE_LOCK = "dxos.org/plugin/space/lock";
|
|
|
393
393
|
var SHARED = "shared-spaces";
|
|
394
394
|
var EMPTY_ARRAY = [];
|
|
395
395
|
var memoizeQuery = (spaceOrEcho, filter, options) => {
|
|
396
|
-
const key =
|
|
397
|
-
space: (0, import_echo5.isSpace)(spaceOrEcho) ? spaceOrEcho.id : void 0,
|
|
398
|
-
filter: import_echo5.Filter.from(filter).toProto()
|
|
399
|
-
});
|
|
396
|
+
const key = (0, import_echo5.isSpace)(spaceOrEcho) ? spaceOrEcho.id : void 0;
|
|
400
397
|
const query = (0, import_plugin_graph3.memoize)(() => (0, import_echo5.isSpace)(spaceOrEcho) ? spaceOrEcho.db.query(filter, options) : spaceOrEcho?.query(filter, options), key);
|
|
401
398
|
const unsubscribe = (0, import_plugin_graph3.memoize)(() => query?.subscribe(), key);
|
|
402
399
|
(0, import_plugin_graph3.cleanup)(() => unsubscribe?.());
|
|
@@ -951,7 +948,7 @@ var cloneObject = async (object, resolve, newSpace) => {
|
|
|
951
948
|
const serializer = metadata.serializer;
|
|
952
949
|
(0, import_invariant2.invariant)(serializer, `No serializer for type: ${typename}`, {
|
|
953
950
|
F: __dxlog_file,
|
|
954
|
-
L:
|
|
951
|
+
L: 634,
|
|
955
952
|
S: void 0,
|
|
956
953
|
A: [
|
|
957
954
|
"serializer",
|
|
@@ -1935,25 +1932,17 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
1935
1932
|
});
|
|
1936
1933
|
}).unsubscribe);
|
|
1937
1934
|
subscriptions.add((0, import_core.scheduledEffect)(() => ({
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
closed: [
|
|
1944
|
-
...location.closed
|
|
1945
|
-
]
|
|
1946
|
-
}), ({ open, closed }) => {
|
|
1935
|
+
ids: (0, import_app_framework.openIds)(location.active),
|
|
1936
|
+
removed: location.closed ? [
|
|
1937
|
+
location.closed
|
|
1938
|
+
].flat() : []
|
|
1939
|
+
}), ({ ids, removed }) => {
|
|
1947
1940
|
const send = () => {
|
|
1948
1941
|
const spaces = client.spaces.get();
|
|
1949
1942
|
const identity = client.halo.identity.get();
|
|
1950
1943
|
if (identity && location.active) {
|
|
1951
|
-
const idsBySpace = (0, import_util.reduceGroupBy)(
|
|
1952
|
-
const [spaceId] =
|
|
1953
|
-
return spaceId;
|
|
1954
|
-
});
|
|
1955
|
-
const removedBySpace = (0, import_util.reduceGroupBy)(closed, (id) => {
|
|
1956
|
-
const [spaceId] = (0, import_echo.parseFullyQualifiedId)(id);
|
|
1944
|
+
const idsBySpace = (0, import_util.reduceGroupBy)(ids, (id) => {
|
|
1945
|
+
const [spaceId] = id.split(":");
|
|
1957
1946
|
return spaceId;
|
|
1958
1947
|
});
|
|
1959
1948
|
for (const space of spaces) {
|
|
@@ -1961,8 +1950,7 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
1961
1950
|
idsBySpace.set(space.id, []);
|
|
1962
1951
|
}
|
|
1963
1952
|
}
|
|
1964
|
-
for (const [spaceId,
|
|
1965
|
-
const removed = removedBySpace.get(spaceId) ?? [];
|
|
1953
|
+
for (const [spaceId, ids2] of idsBySpace) {
|
|
1966
1954
|
const space = spaces.find((space2) => space2.id === spaceId);
|
|
1967
1955
|
if (!space) {
|
|
1968
1956
|
continue;
|
|
@@ -1972,14 +1960,15 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
1972
1960
|
attended: attention.attended ? [
|
|
1973
1961
|
...attention.attended
|
|
1974
1962
|
] : [],
|
|
1975
|
-
added,
|
|
1976
|
-
removed
|
|
1963
|
+
added: ids2,
|
|
1964
|
+
// TODO(Zan): When we re-open a part, we should remove it from the removed list in the navigation plugin.
|
|
1965
|
+
removed: removed.filter((id) => !ids2.includes(id))
|
|
1977
1966
|
}).catch((err) => {
|
|
1978
1967
|
import_log.log.warn("Failed to broadcast active node for presence.", {
|
|
1979
1968
|
err: err.message
|
|
1980
1969
|
}, {
|
|
1981
1970
|
F: __dxlog_file6,
|
|
1982
|
-
L:
|
|
1971
|
+
L: 294,
|
|
1983
1972
|
S: void 0,
|
|
1984
1973
|
C: (f, a) => f(...a)
|
|
1985
1974
|
});
|
|
@@ -1997,8 +1986,7 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
1997
1986
|
spaceSubscriptions.add(space.listen("viewing", (message) => {
|
|
1998
1987
|
const { added, removed, attended } = message.payload;
|
|
1999
1988
|
const identityKey = import_react_client.PublicKey.safeFrom(message.payload.identityKey);
|
|
2000
|
-
|
|
2001
|
-
if (identityKey && !currentIdentity?.identityKey.equals(identityKey) && Array.isArray(added) && Array.isArray(removed)) {
|
|
1989
|
+
if (identityKey && Array.isArray(added) && Array.isArray(removed)) {
|
|
2002
1990
|
added.forEach((id) => {
|
|
2003
1991
|
if (typeof id === "string") {
|
|
2004
1992
|
if (!(id in state.values.viewersByObject)) {
|
|
@@ -2292,7 +2280,7 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
2292
2280
|
} else {
|
|
2293
2281
|
import_log.log.warn("spaces order object not found", void 0, {
|
|
2294
2282
|
F: __dxlog_file6,
|
|
2295
|
-
L:
|
|
2283
|
+
L: 599,
|
|
2296
2284
|
S: void 0,
|
|
2297
2285
|
C: (f, a) => f(...a)
|
|
2298
2286
|
});
|
|
@@ -2483,14 +2471,7 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
2483
2471
|
if (!store.value) {
|
|
2484
2472
|
void space.db.query({
|
|
2485
2473
|
id: objectId
|
|
2486
|
-
}).first().then((o) => store.value = o)
|
|
2487
|
-
objectId
|
|
2488
|
-
}, {
|
|
2489
|
-
F: __dxlog_file6,
|
|
2490
|
-
L: 835,
|
|
2491
|
-
S: void 0,
|
|
2492
|
-
C: (f, a) => f(...a)
|
|
2493
|
-
}));
|
|
2474
|
+
}).first().then((o) => store.value = o);
|
|
2494
2475
|
}
|
|
2495
2476
|
}, id);
|
|
2496
2477
|
const object = store.value;
|
|
@@ -2561,9 +2542,15 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
2561
2542
|
}
|
|
2562
2543
|
};
|
|
2563
2544
|
}
|
|
2564
|
-
const
|
|
2565
|
-
|
|
2566
|
-
|
|
2545
|
+
const object = (0, import_plugin_graph.toSignal)((onChange) => {
|
|
2546
|
+
const timeout = setTimeout(async () => {
|
|
2547
|
+
await space?.db.query({
|
|
2548
|
+
id: objectId
|
|
2549
|
+
}).first();
|
|
2550
|
+
onChange();
|
|
2551
|
+
});
|
|
2552
|
+
return () => clearTimeout(timeout);
|
|
2553
|
+
}, () => space?.db.getObjectById(objectId), subjectId);
|
|
2567
2554
|
if (!object || !subjectId) {
|
|
2568
2555
|
return;
|
|
2569
2556
|
}
|
|
@@ -3026,7 +3013,7 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
3026
3013
|
const objects = intent.data?.objects ?? intent.data?.result;
|
|
3027
3014
|
(0, import_invariant.invariant)(Array.isArray(objects), void 0, {
|
|
3028
3015
|
F: __dxlog_file6,
|
|
3029
|
-
L:
|
|
3016
|
+
L: 1346,
|
|
3030
3017
|
S: void 0,
|
|
3031
3018
|
A: [
|
|
3032
3019
|
"Array.isArray(objects)",
|