@dxos/plugin-space 0.7.1 → 0.7.2-staging.6d26b2a
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 +98 -48
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node/index.cjs +96 -46
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +98 -48
- 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/components/DefaultObjectSettings.d.ts +2 -2
- package/dist/types/src/components/MenuFooter.d.ts +2 -2
- package/dist/types/src/util.d.ts +9 -7
- package/dist/types/src/util.d.ts.map +1 -1
- package/package.json +35 -35
- package/src/SpacePlugin.tsx +96 -41
- package/src/components/DefaultObjectSettings.tsx +2 -2
- package/src/components/MenuFooter.tsx +2 -2
- package/src/util.tsx +13 -11
|
@@ -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":65877,"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":200559,"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":214851},"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":51791},"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":16022},"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":119257},"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
|
@@ -466,6 +466,11 @@ var constructSpaceNode = ({ space, navigable = false, personal, namesCache, reso
|
|
|
466
466
|
return {
|
|
467
467
|
id: space.id,
|
|
468
468
|
type: SPACE_TYPE,
|
|
469
|
+
cacheable: [
|
|
470
|
+
"label",
|
|
471
|
+
"icon",
|
|
472
|
+
"role"
|
|
473
|
+
],
|
|
469
474
|
data: space,
|
|
470
475
|
properties: {
|
|
471
476
|
...partials,
|
|
@@ -745,6 +750,11 @@ var createObjectNode = ({ object, space, navigable = false, resolve }) => {
|
|
|
745
750
|
return {
|
|
746
751
|
id: (0, import_echo5.fullyQualifiedId)(object),
|
|
747
752
|
type,
|
|
753
|
+
cacheable: [
|
|
754
|
+
"label",
|
|
755
|
+
"icon",
|
|
756
|
+
"role"
|
|
757
|
+
],
|
|
748
758
|
data: object,
|
|
749
759
|
properties: {
|
|
750
760
|
...partials,
|
|
@@ -938,7 +948,7 @@ var cloneObject = async (object, resolve, newSpace) => {
|
|
|
938
948
|
const serializer = metadata.serializer;
|
|
939
949
|
(0, import_invariant2.invariant)(serializer, `No serializer for type: ${typename}`, {
|
|
940
950
|
F: __dxlog_file,
|
|
941
|
-
L:
|
|
951
|
+
L: 634,
|
|
942
952
|
S: void 0,
|
|
943
953
|
A: [
|
|
944
954
|
"serializer",
|
|
@@ -1958,7 +1968,7 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
1958
1968
|
err: err.message
|
|
1959
1969
|
}, {
|
|
1960
1970
|
F: __dxlog_file6,
|
|
1961
|
-
L:
|
|
1971
|
+
L: 294,
|
|
1962
1972
|
S: void 0,
|
|
1963
1973
|
C: (f, a) => f(...a)
|
|
1964
1974
|
});
|
|
@@ -2245,6 +2255,10 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
2245
2255
|
{
|
|
2246
2256
|
id: SPACES,
|
|
2247
2257
|
type: SPACES,
|
|
2258
|
+
cacheable: [
|
|
2259
|
+
"label",
|
|
2260
|
+
"role"
|
|
2261
|
+
],
|
|
2248
2262
|
properties: {
|
|
2249
2263
|
label: [
|
|
2250
2264
|
"spaces label",
|
|
@@ -2266,7 +2280,7 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
2266
2280
|
} else {
|
|
2267
2281
|
import_log.log.warn("spaces order object not found", void 0, {
|
|
2268
2282
|
F: __dxlog_file6,
|
|
2269
|
-
L:
|
|
2283
|
+
L: 599,
|
|
2270
2284
|
S: void 0,
|
|
2271
2285
|
C: (f, a) => f(...a)
|
|
2272
2286
|
});
|
|
@@ -2351,37 +2365,31 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
2351
2365
|
}));
|
|
2352
2366
|
} catch {
|
|
2353
2367
|
}
|
|
2354
|
-
}
|
|
2355
|
-
}),
|
|
2356
|
-
// Find an object by its fully qualified id.
|
|
2357
|
-
(0, import_plugin_graph.createExtension)({
|
|
2358
|
-
id: `${import_chunk_JFDDZI4Y.SPACE_PLUGIN}/objects`,
|
|
2368
|
+
},
|
|
2359
2369
|
resolver: ({ id }) => {
|
|
2360
|
-
|
|
2361
|
-
const space = client.spaces.get().find((space2) => space2.id === spaceId);
|
|
2362
|
-
if (!space) {
|
|
2370
|
+
if (id.length !== import_echo.SPACE_ID_LENGTH) {
|
|
2363
2371
|
return;
|
|
2364
2372
|
}
|
|
2365
|
-
const
|
|
2366
|
-
|
|
2373
|
+
const spaces = (0, import_plugin_graph.toSignal)((onChange) => client.spaces.subscribe(() => onChange()).unsubscribe, () => client.spaces.get());
|
|
2374
|
+
const isReady = (0, import_plugin_graph.toSignal)((onChange) => client.spaces.isReady.subscribe(() => onChange()).unsubscribe, () => client.spaces.isReady.get());
|
|
2375
|
+
if (!spaces || !isReady) {
|
|
2367
2376
|
return;
|
|
2368
2377
|
}
|
|
2369
|
-
const
|
|
2370
|
-
|
|
2371
|
-
if (!store.value) {
|
|
2372
|
-
void space.db.loadObjectById(objectId).then((o) => store.value = o);
|
|
2373
|
-
}
|
|
2374
|
-
}, id);
|
|
2375
|
-
const object = store.value;
|
|
2376
|
-
if (!object) {
|
|
2378
|
+
const space = spaces.find((space2) => space2.id === id);
|
|
2379
|
+
if (!space) {
|
|
2377
2380
|
return;
|
|
2378
2381
|
}
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2382
|
+
if (space.state.get() === import_echo.SpaceState.SPACE_INACTIVE) {
|
|
2383
|
+
return false;
|
|
2384
|
+
} else {
|
|
2385
|
+
return constructSpaceNode({
|
|
2386
|
+
space,
|
|
2387
|
+
navigable: state.values.navigableCollections,
|
|
2388
|
+
personal: space === client.spaces.default,
|
|
2389
|
+
namesCache: state.values.spaceNames,
|
|
2390
|
+
resolve
|
|
2391
|
+
});
|
|
2392
|
+
}
|
|
2385
2393
|
}
|
|
2386
2394
|
}),
|
|
2387
2395
|
// Create space actions and action groups.
|
|
@@ -2425,23 +2433,9 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
2425
2433
|
})).filter(import_util.nonNullable);
|
|
2426
2434
|
}
|
|
2427
2435
|
}),
|
|
2428
|
-
// Create collection
|
|
2429
|
-
(0, import_plugin_graph.createExtension)({
|
|
2430
|
-
id: `${import_chunk_JFDDZI4Y.SPACE_PLUGIN}/object-actions`,
|
|
2431
|
-
filter: (node) => (0, import_echo.isEchoObject)(node.data),
|
|
2432
|
-
actionGroups: ({ node }) => constructObjectActionGroups({
|
|
2433
|
-
object: node.data,
|
|
2434
|
-
dispatch,
|
|
2435
|
-
navigable: state.values.navigableCollections
|
|
2436
|
-
}),
|
|
2437
|
-
actions: ({ node }) => constructObjectActions({
|
|
2438
|
-
node,
|
|
2439
|
-
dispatch
|
|
2440
|
-
})
|
|
2441
|
-
}),
|
|
2442
|
-
// Create nodes for objects in collections.
|
|
2436
|
+
// Create nodes for objects in a collection or by its fully qualified id.
|
|
2443
2437
|
(0, import_plugin_graph.createExtension)({
|
|
2444
|
-
id: `${import_chunk_JFDDZI4Y.SPACE_PLUGIN}/
|
|
2438
|
+
id: `${import_chunk_JFDDZI4Y.SPACE_PLUGIN}/objects`,
|
|
2445
2439
|
filter: (node) => node.data instanceof import_chunk_FYWGZYJB.CollectionType,
|
|
2446
2440
|
connector: ({ node }) => {
|
|
2447
2441
|
const collection = node.data;
|
|
@@ -2455,8 +2449,61 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
2455
2449
|
resolve,
|
|
2456
2450
|
navigable: state.values.navigableCollections
|
|
2457
2451
|
})).filter(import_util.nonNullable);
|
|
2452
|
+
},
|
|
2453
|
+
resolver: ({ id }) => {
|
|
2454
|
+
if (id.length !== import_echo.FQ_ID_LENGTH) {
|
|
2455
|
+
return;
|
|
2456
|
+
}
|
|
2457
|
+
const [spaceId, objectId] = id.split(":");
|
|
2458
|
+
if (spaceId.length !== import_echo.SPACE_ID_LENGTH && objectId.length !== import_echo.OBJECT_ID_LENGTH) {
|
|
2459
|
+
return;
|
|
2460
|
+
}
|
|
2461
|
+
const space = client.spaces.get().find((space2) => space2.id === spaceId);
|
|
2462
|
+
if (!space) {
|
|
2463
|
+
return;
|
|
2464
|
+
}
|
|
2465
|
+
const spaceState = (0, import_plugin_graph.toSignal)((onChange) => space.state.subscribe(() => onChange()).unsubscribe, () => space.state.get(), space.id);
|
|
2466
|
+
if (spaceState !== import_echo.SpaceState.SPACE_READY) {
|
|
2467
|
+
return;
|
|
2468
|
+
}
|
|
2469
|
+
const store = (0, import_plugin_graph.memoize)(() => (0, import_signals_core.signal)(space.db.getObjectById(objectId)), id);
|
|
2470
|
+
(0, import_plugin_graph.memoize)(() => {
|
|
2471
|
+
if (!store.value) {
|
|
2472
|
+
void space.db.query({
|
|
2473
|
+
id: objectId
|
|
2474
|
+
}).first().then((o) => store.value = o);
|
|
2475
|
+
}
|
|
2476
|
+
}, id);
|
|
2477
|
+
const object = store.value;
|
|
2478
|
+
if (!object) {
|
|
2479
|
+
return;
|
|
2480
|
+
}
|
|
2481
|
+
if ((0, import_echo_schema.isDeleted)(object)) {
|
|
2482
|
+
return false;
|
|
2483
|
+
} else {
|
|
2484
|
+
return createObjectNode({
|
|
2485
|
+
object,
|
|
2486
|
+
space,
|
|
2487
|
+
resolve,
|
|
2488
|
+
navigable: state.values.navigableCollections
|
|
2489
|
+
});
|
|
2490
|
+
}
|
|
2458
2491
|
}
|
|
2459
2492
|
}),
|
|
2493
|
+
// Create collection actions and action groups.
|
|
2494
|
+
(0, import_plugin_graph.createExtension)({
|
|
2495
|
+
id: `${import_chunk_JFDDZI4Y.SPACE_PLUGIN}/object-actions`,
|
|
2496
|
+
filter: (node) => (0, import_echo.isEchoObject)(node.data),
|
|
2497
|
+
actionGroups: ({ node }) => constructObjectActionGroups({
|
|
2498
|
+
object: node.data,
|
|
2499
|
+
dispatch,
|
|
2500
|
+
navigable: state.values.navigableCollections
|
|
2501
|
+
}),
|
|
2502
|
+
actions: ({ node }) => constructObjectActions({
|
|
2503
|
+
node,
|
|
2504
|
+
dispatch
|
|
2505
|
+
})
|
|
2506
|
+
}),
|
|
2460
2507
|
// Create nodes for object settings.
|
|
2461
2508
|
(0, import_plugin_graph.createExtension)({
|
|
2462
2509
|
id: `${import_chunk_JFDDZI4Y.SPACE_PLUGIN}/settings-for-subject`,
|
|
@@ -2468,7 +2515,8 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
2468
2515
|
const icon = "ph--gear--regular";
|
|
2469
2516
|
const [subjectId] = id.split("~");
|
|
2470
2517
|
const { spaceId, objectId } = (0, import_echo.parseId)(subjectId);
|
|
2471
|
-
const
|
|
2518
|
+
const spaces = (0, import_plugin_graph.toSignal)((onChange) => client.spaces.subscribe(() => onChange()).unsubscribe, () => client.spaces.get());
|
|
2519
|
+
const space = spaces?.find((space2) => space2.id === spaceId && space2.state.get() === import_echo.SpaceState.SPACE_READY);
|
|
2472
2520
|
if (!objectId) {
|
|
2473
2521
|
const label2 = space ? space.properties.name || [
|
|
2474
2522
|
"unnamed space label",
|
|
@@ -2496,7 +2544,9 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
2496
2544
|
}
|
|
2497
2545
|
const object = (0, import_plugin_graph.toSignal)((onChange) => {
|
|
2498
2546
|
const timeout = setTimeout(async () => {
|
|
2499
|
-
await space?.db.
|
|
2547
|
+
await space?.db.query({
|
|
2548
|
+
id: objectId
|
|
2549
|
+
}).first();
|
|
2500
2550
|
onChange();
|
|
2501
2551
|
});
|
|
2502
2552
|
return () => clearTimeout(timeout);
|
|
@@ -2963,7 +3013,7 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
2963
3013
|
const objects = intent.data?.objects ?? intent.data?.result;
|
|
2964
3014
|
(0, import_invariant.invariant)(Array.isArray(objects), void 0, {
|
|
2965
3015
|
F: __dxlog_file6,
|
|
2966
|
-
L:
|
|
3016
|
+
L: 1346,
|
|
2967
3017
|
S: void 0,
|
|
2968
3018
|
A: [
|
|
2969
3019
|
"Array.isArray(objects)",
|