@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
package/dist/lib/node/meta.json
CHANGED
|
@@ -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/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":218678},"packages/plugins/plugin-space/dist/lib/node/index.cjs":{"imports":[{"path":"packages/plugins/plugin-space/dist/lib/node/chunk-JFDDZI4Y.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-space/dist/lib/node/chunk-FYWGZYJB.cjs","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/node/meta.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-space/dist/lib/node/meta.cjs":{"imports":[{"path":"packages/plugins/plugin-space/dist/lib/node/chunk-JFDDZI4Y.cjs","kind":"import-statement"}],"exports":["SPACE_PLUGIN","SPACE_PLUGIN_SHORT_ID","SpaceAction","default"],"entryPoint":"packages/plugins/plugin-space/src/meta.ts","inputs":{},"bytes":239},"packages/plugins/plugin-space/dist/lib/node/chunk-JFDDZI4Y.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1958},"packages/plugins/plugin-space/dist/lib/node/chunk-JFDDZI4Y.cjs":{"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/node/types/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-space/dist/lib/node/types/index.cjs":{"imports":[{"path":"packages/plugins/plugin-space/dist/lib/node/chunk-FYWGZYJB.cjs","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/node/chunk-FYWGZYJB.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9963},"packages/plugins/plugin-space/dist/lib/node/chunk-FYWGZYJB.cjs":{"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"exports":["ActorSchema","ChannelType","CollectionType","ContactType","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/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":218150},"packages/plugins/plugin-space/dist/lib/node/index.cjs":{"imports":[{"path":"packages/plugins/plugin-space/dist/lib/node/chunk-JFDDZI4Y.cjs","kind":"import-statement"},{"path":"packages/plugins/plugin-space/dist/lib/node/chunk-FYWGZYJB.cjs","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/node/meta.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-space/dist/lib/node/meta.cjs":{"imports":[{"path":"packages/plugins/plugin-space/dist/lib/node/chunk-JFDDZI4Y.cjs","kind":"import-statement"}],"exports":["SPACE_PLUGIN","SPACE_PLUGIN_SHORT_ID","SpaceAction","default"],"entryPoint":"packages/plugins/plugin-space/src/meta.ts","inputs":{},"bytes":239},"packages/plugins/plugin-space/dist/lib/node/chunk-JFDDZI4Y.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1958},"packages/plugins/plugin-space/dist/lib/node/chunk-JFDDZI4Y.cjs":{"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/node/types/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-space/dist/lib/node/types/index.cjs":{"imports":[{"path":"packages/plugins/plugin-space/dist/lib/node/chunk-FYWGZYJB.cjs","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/node/chunk-FYWGZYJB.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":9963},"packages/plugins/plugin-space/dist/lib/node/chunk-FYWGZYJB.cjs":{"imports":[{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true}],"exports":["ActorSchema","ChannelType","CollectionType","ContactType","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}}}
|
|
@@ -34,7 +34,7 @@ import { parseClientPlugin } from "@dxos/plugin-client";
|
|
|
34
34
|
import { createExtension, memoize as memoize2, toSignal } from "@dxos/plugin-graph";
|
|
35
35
|
import { ObservabilityAction as ObservabilityAction2 } from "@dxos/plugin-observability/meta";
|
|
36
36
|
import { PublicKey as PublicKey2 } from "@dxos/react-client";
|
|
37
|
-
import { Expando, Filter
|
|
37
|
+
import { Expando, Filter, SpaceState as SpaceState2, create as create2, fullyQualifiedId as fullyQualifiedId4, getSpace as getSpace4, getTypename as getTypename2, isEchoObject as isEchoObject2, isSpace as isSpace2, loadObjectReferences, parseId, FQ_ID_LENGTH, SPACE_ID_LENGTH, OBJECT_ID_LENGTH } from "@dxos/react-client/echo";
|
|
38
38
|
import { osTranslations } from "@dxos/shell/react";
|
|
39
39
|
import { ComplexMap as ComplexMap2, nonNullable, reduceGroupBy } from "@dxos/util";
|
|
40
40
|
|
|
@@ -281,7 +281,7 @@ import { create, isReactiveObject, getTypename, getSchema, getObjectAnnotation,
|
|
|
281
281
|
import { invariant } from "@dxos/invariant";
|
|
282
282
|
import { Migrations } from "@dxos/migrations";
|
|
283
283
|
import { ACTION_TYPE, ACTION_GROUP_TYPE, actionGroupSymbol, getGraph, cleanup, memoize } from "@dxos/plugin-graph";
|
|
284
|
-
import { fullyQualifiedId as fullyQualifiedId2, getSpace, isEchoObject, isSpace, SpaceState
|
|
284
|
+
import { fullyQualifiedId as fullyQualifiedId2, getSpace, isEchoObject, isSpace, SpaceState } from "@dxos/react-client/echo";
|
|
285
285
|
var __dxlog_file = "/home/runner/work/dxos/dxos/packages/plugins/plugin-space/src/util.tsx";
|
|
286
286
|
var SPACES = `${SPACE_PLUGIN}-spaces`;
|
|
287
287
|
var SPACE_TYPE = "dxos.org/type/Space";
|
|
@@ -289,10 +289,7 @@ var COMPOSER_SPACE_LOCK = "dxos.org/plugin/space/lock";
|
|
|
289
289
|
var SHARED = "shared-spaces";
|
|
290
290
|
var EMPTY_ARRAY = [];
|
|
291
291
|
var memoizeQuery = (spaceOrEcho, filter, options) => {
|
|
292
|
-
const key =
|
|
293
|
-
space: isSpace(spaceOrEcho) ? spaceOrEcho.id : void 0,
|
|
294
|
-
filter: Filter.from(filter).toProto()
|
|
295
|
-
});
|
|
292
|
+
const key = isSpace(spaceOrEcho) ? spaceOrEcho.id : void 0;
|
|
296
293
|
const query = memoize(() => isSpace(spaceOrEcho) ? spaceOrEcho.db.query(filter, options) : spaceOrEcho?.query(filter, options), key);
|
|
297
294
|
const unsubscribe = memoize(() => query?.subscribe(), key);
|
|
298
295
|
cleanup(() => unsubscribe?.());
|
|
@@ -847,7 +844,7 @@ var cloneObject = async (object, resolve, newSpace) => {
|
|
|
847
844
|
const serializer = metadata.serializer;
|
|
848
845
|
invariant(serializer, `No serializer for type: ${typename}`, {
|
|
849
846
|
F: __dxlog_file,
|
|
850
|
-
L:
|
|
847
|
+
L: 634,
|
|
851
848
|
S: void 0,
|
|
852
849
|
A: [
|
|
853
850
|
"serializer",
|
|
@@ -1875,7 +1872,7 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
1875
1872
|
if (typeof defaultSpace.properties[COMPOSER_SPACE_LOCK] !== "boolean") {
|
|
1876
1873
|
defaultSpace.properties[COMPOSER_SPACE_LOCK] = true;
|
|
1877
1874
|
}
|
|
1878
|
-
const { objects: [spacesOrder] } = await defaultSpace.db.query(
|
|
1875
|
+
const { objects: [spacesOrder] } = await defaultSpace.db.query(Filter.schema(Expando, {
|
|
1879
1876
|
key: SHARED
|
|
1880
1877
|
})).run();
|
|
1881
1878
|
if (!spacesOrder) {
|
|
@@ -1919,25 +1916,17 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
1919
1916
|
});
|
|
1920
1917
|
}).unsubscribe);
|
|
1921
1918
|
subscriptions.add(scheduledEffect(() => ({
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
closed: [
|
|
1928
|
-
...location.closed
|
|
1929
|
-
]
|
|
1930
|
-
}), ({ open, closed }) => {
|
|
1919
|
+
ids: openIds(location.active),
|
|
1920
|
+
removed: location.closed ? [
|
|
1921
|
+
location.closed
|
|
1922
|
+
].flat() : []
|
|
1923
|
+
}), ({ ids, removed }) => {
|
|
1931
1924
|
const send = () => {
|
|
1932
1925
|
const spaces = client.spaces.get();
|
|
1933
1926
|
const identity = client.halo.identity.get();
|
|
1934
1927
|
if (identity && location.active) {
|
|
1935
|
-
const idsBySpace = reduceGroupBy(
|
|
1936
|
-
const [spaceId] =
|
|
1937
|
-
return spaceId;
|
|
1938
|
-
});
|
|
1939
|
-
const removedBySpace = reduceGroupBy(closed, (id) => {
|
|
1940
|
-
const [spaceId] = parseFullyQualifiedId(id);
|
|
1928
|
+
const idsBySpace = reduceGroupBy(ids, (id) => {
|
|
1929
|
+
const [spaceId] = id.split(":");
|
|
1941
1930
|
return spaceId;
|
|
1942
1931
|
});
|
|
1943
1932
|
for (const space of spaces) {
|
|
@@ -1945,8 +1934,7 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
1945
1934
|
idsBySpace.set(space.id, []);
|
|
1946
1935
|
}
|
|
1947
1936
|
}
|
|
1948
|
-
for (const [spaceId,
|
|
1949
|
-
const removed = removedBySpace.get(spaceId) ?? [];
|
|
1937
|
+
for (const [spaceId, ids2] of idsBySpace) {
|
|
1950
1938
|
const space = spaces.find((space2) => space2.id === spaceId);
|
|
1951
1939
|
if (!space) {
|
|
1952
1940
|
continue;
|
|
@@ -1956,14 +1944,15 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
1956
1944
|
attended: attention.attended ? [
|
|
1957
1945
|
...attention.attended
|
|
1958
1946
|
] : [],
|
|
1959
|
-
added,
|
|
1960
|
-
removed
|
|
1947
|
+
added: ids2,
|
|
1948
|
+
// TODO(Zan): When we re-open a part, we should remove it from the removed list in the navigation plugin.
|
|
1949
|
+
removed: removed.filter((id) => !ids2.includes(id))
|
|
1961
1950
|
}).catch((err) => {
|
|
1962
1951
|
log3.warn("Failed to broadcast active node for presence.", {
|
|
1963
1952
|
err: err.message
|
|
1964
1953
|
}, {
|
|
1965
1954
|
F: __dxlog_file6,
|
|
1966
|
-
L:
|
|
1955
|
+
L: 294,
|
|
1967
1956
|
S: void 0,
|
|
1968
1957
|
C: (f, a) => f(...a)
|
|
1969
1958
|
});
|
|
@@ -1981,8 +1970,7 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
1981
1970
|
spaceSubscriptions.add(space.listen("viewing", (message) => {
|
|
1982
1971
|
const { added, removed, attended } = message.payload;
|
|
1983
1972
|
const identityKey = PublicKey2.safeFrom(message.payload.identityKey);
|
|
1984
|
-
|
|
1985
|
-
if (identityKey && !currentIdentity?.identityKey.equals(identityKey) && Array.isArray(added) && Array.isArray(removed)) {
|
|
1973
|
+
if (identityKey && Array.isArray(added) && Array.isArray(removed)) {
|
|
1986
1974
|
added.forEach((id) => {
|
|
1987
1975
|
if (typeof id === "string") {
|
|
1988
1976
|
if (!(id in state.values.viewersByObject)) {
|
|
@@ -2268,7 +2256,7 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
2268
2256
|
childrenPersistenceClass: "echo",
|
|
2269
2257
|
onRearrangeChildren: async (nextOrder) => {
|
|
2270
2258
|
graph._sortEdges(SPACES, "outbound", nextOrder.map(({ id }) => id));
|
|
2271
|
-
const { objects: [spacesOrder] } = await client.spaces.default.db.query(
|
|
2259
|
+
const { objects: [spacesOrder] } = await client.spaces.default.db.query(Filter.schema(Expando, {
|
|
2272
2260
|
key: SHARED
|
|
2273
2261
|
})).run();
|
|
2274
2262
|
if (spacesOrder) {
|
|
@@ -2276,7 +2264,7 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
2276
2264
|
} else {
|
|
2277
2265
|
log3.warn("spaces order object not found", void 0, {
|
|
2278
2266
|
F: __dxlog_file6,
|
|
2279
|
-
L:
|
|
2267
|
+
L: 599,
|
|
2280
2268
|
S: void 0,
|
|
2281
2269
|
C: (f, a) => f(...a)
|
|
2282
2270
|
});
|
|
@@ -2341,7 +2329,7 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
2341
2329
|
return;
|
|
2342
2330
|
}
|
|
2343
2331
|
try {
|
|
2344
|
-
const [spacesOrder] = memoizeQuery(client.spaces.default,
|
|
2332
|
+
const [spacesOrder] = memoizeQuery(client.spaces.default, Filter.schema(Expando, {
|
|
2345
2333
|
key: SHARED
|
|
2346
2334
|
}));
|
|
2347
2335
|
const order = spacesOrder?.order ?? [];
|
|
@@ -2467,14 +2455,7 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
2467
2455
|
if (!store.value) {
|
|
2468
2456
|
void space.db.query({
|
|
2469
2457
|
id: objectId
|
|
2470
|
-
}).first().then((o) => store.value = o)
|
|
2471
|
-
objectId
|
|
2472
|
-
}, {
|
|
2473
|
-
F: __dxlog_file6,
|
|
2474
|
-
L: 835,
|
|
2475
|
-
S: void 0,
|
|
2476
|
-
C: (f, a) => f(...a)
|
|
2477
|
-
}));
|
|
2458
|
+
}).first().then((o) => store.value = o);
|
|
2478
2459
|
}
|
|
2479
2460
|
}, id);
|
|
2480
2461
|
const object = store.value;
|
|
@@ -2545,9 +2526,15 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
2545
2526
|
}
|
|
2546
2527
|
};
|
|
2547
2528
|
}
|
|
2548
|
-
const
|
|
2549
|
-
|
|
2550
|
-
|
|
2529
|
+
const object = toSignal((onChange) => {
|
|
2530
|
+
const timeout = setTimeout(async () => {
|
|
2531
|
+
await space?.db.query({
|
|
2532
|
+
id: objectId
|
|
2533
|
+
}).first();
|
|
2534
|
+
onChange();
|
|
2535
|
+
});
|
|
2536
|
+
return () => clearTimeout(timeout);
|
|
2537
|
+
}, () => space?.db.getObjectById(objectId), subjectId);
|
|
2551
2538
|
if (!object || !subjectId) {
|
|
2552
2539
|
return;
|
|
2553
2540
|
}
|
|
@@ -3010,7 +2997,7 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
3010
2997
|
const objects = intent.data?.objects ?? intent.data?.result;
|
|
3011
2998
|
invariant2(Array.isArray(objects), void 0, {
|
|
3012
2999
|
F: __dxlog_file6,
|
|
3013
|
-
L:
|
|
3000
|
+
L: 1346,
|
|
3014
3001
|
S: void 0,
|
|
3015
3002
|
A: [
|
|
3016
3003
|
"Array.isArray(objects)",
|