@dxos/plugin-space 0.7.5-staging.b81e783 → 0.7.5-staging.e6154f3
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/{chunk-POARSSRI.mjs → chunk-PCEP3KQY.mjs} +47 -42
- package/dist/lib/browser/chunk-PCEP3KQY.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +2 -1
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/{intent-resolver-E2UU3DAS.mjs → intent-resolver-GPNAQ2SG.mjs} +2 -2
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-root-STUND2SO.mjs → react-root-4CCSD7TZ.mjs} +2 -2
- package/dist/lib/browser/{react-surface-P7CKFNJR.mjs → react-surface-FKMRI3WV.mjs} +2 -2
- package/dist/lib/node/{chunk-RHYA4XUB.cjs → chunk-QE4GVR6C.cjs} +22 -17
- package/dist/lib/node/chunk-QE4GVR6C.cjs.map +7 -0
- package/dist/lib/node/index.cjs +45 -44
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/{intent-resolver-TJ5DFPZP.cjs → intent-resolver-ICHHI6I6.cjs} +13 -13
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/{react-root-WQGBCJ2K.cjs → react-root-TCBTUOOJ.cjs} +6 -6
- package/dist/lib/node/{react-surface-GSEV6XCR.cjs → react-surface-JSCCIZS5.cjs} +38 -38
- package/dist/lib/node-esm/{chunk-ONKFX23L.mjs → chunk-HJCEJNW3.mjs} +47 -42
- package/dist/lib/node-esm/chunk-HJCEJNW3.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +2 -1
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/{intent-resolver-7NJCJ3FA.mjs → intent-resolver-VR42K5GE.mjs} +2 -2
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/{react-root-OLYAEMP5.mjs → react-root-THJBSTQS.mjs} +2 -2
- package/dist/lib/node-esm/{react-surface-6IFC6ZMN.mjs → react-surface-Z3BBQ5HX.mjs} +2 -2
- package/dist/types/src/SpacePlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +88 -88
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +111 -111
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/components/JoinDialog.d.ts.map +1 -1
- package/dist/types/src/types/collection.d.ts +2 -2
- package/dist/types/src/types/thread.d.ts +34 -34
- package/dist/types/src/types/types.d.ts +9 -9
- package/dist/types/src/util.d.ts +1 -1
- package/package.json +39 -39
- package/src/SpacePlugin.tsx +1 -0
- package/src/components/JoinDialog.tsx +3 -1
- package/src/components/PopoverAddSpace.tsx +8 -8
- package/dist/lib/browser/chunk-POARSSRI.mjs.map +0 -7
- package/dist/lib/node/chunk-RHYA4XUB.cjs.map +0 -7
- package/dist/lib/node-esm/chunk-ONKFX23L.mjs.map +0 -7
- /package/dist/lib/browser/{intent-resolver-E2UU3DAS.mjs.map → intent-resolver-GPNAQ2SG.mjs.map} +0 -0
- /package/dist/lib/browser/{react-root-STUND2SO.mjs.map → react-root-4CCSD7TZ.mjs.map} +0 -0
- /package/dist/lib/browser/{react-surface-P7CKFNJR.mjs.map → react-surface-FKMRI3WV.mjs.map} +0 -0
- /package/dist/lib/node/{intent-resolver-TJ5DFPZP.cjs.map → intent-resolver-ICHHI6I6.cjs.map} +0 -0
- /package/dist/lib/node/{react-root-WQGBCJ2K.cjs.map → react-root-TCBTUOOJ.cjs.map} +0 -0
- /package/dist/lib/node/{react-surface-GSEV6XCR.cjs.map → react-surface-JSCCIZS5.cjs.map} +0 -0
- /package/dist/lib/node-esm/{intent-resolver-7NJCJ3FA.mjs.map → intent-resolver-VR42K5GE.mjs.map} +0 -0
- /package/dist/lib/node-esm/{react-root-OLYAEMP5.mjs.map → react-root-THJBSTQS.mjs.map} +0 -0
- /package/dist/lib/node-esm/{react-surface-6IFC6ZMN.mjs.map → react-surface-Z3BBQ5HX.mjs.map} +0 -0
package/dist/lib/node/index.cjs
CHANGED
|
@@ -18,47 +18,47 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
var node_exports = {};
|
|
20
20
|
__export(node_exports, {
|
|
21
|
-
AdvancedObjectSettings: () =>
|
|
22
|
-
AwaitingObject: () =>
|
|
23
|
-
BaseObjectSettings: () =>
|
|
21
|
+
AdvancedObjectSettings: () => import_chunk_QE4GVR6C.AdvancedObjectSettings,
|
|
22
|
+
AwaitingObject: () => import_chunk_QE4GVR6C.AwaitingObject,
|
|
23
|
+
BaseObjectSettings: () => import_chunk_QE4GVR6C.BaseObjectSettings,
|
|
24
24
|
COMPOSER_SPACE_LOCK: () => import_chunk_OVGKWJOC.COMPOSER_SPACE_LOCK,
|
|
25
|
-
CREATE_OBJECT_DIALOG: () =>
|
|
26
|
-
CREATE_SPACE_DIALOG: () =>
|
|
27
|
-
CollectionMain: () =>
|
|
28
|
-
CollectionSection: () =>
|
|
29
|
-
CreateObjectDialog: () =>
|
|
30
|
-
CreateSpaceDialog: () =>
|
|
31
|
-
FullPresence: () =>
|
|
32
|
-
InlineSyncStatus: () =>
|
|
33
|
-
JOIN_DIALOG: () =>
|
|
34
|
-
JoinDialog: () =>
|
|
35
|
-
MenuFooter: () =>
|
|
36
|
-
POPOVER_ADD_SPACE: () =>
|
|
37
|
-
POPOVER_RENAME_OBJECT: () =>
|
|
38
|
-
POPOVER_RENAME_SPACE: () =>
|
|
39
|
-
PersistenceStatus: () =>
|
|
40
|
-
PopoverAddSpace: () =>
|
|
41
|
-
PopoverRenameObject: () =>
|
|
42
|
-
PopoverRenameSpace: () =>
|
|
25
|
+
CREATE_OBJECT_DIALOG: () => import_chunk_QE4GVR6C.CREATE_OBJECT_DIALOG,
|
|
26
|
+
CREATE_SPACE_DIALOG: () => import_chunk_QE4GVR6C.CREATE_SPACE_DIALOG,
|
|
27
|
+
CollectionMain: () => import_chunk_QE4GVR6C.CollectionMain,
|
|
28
|
+
CollectionSection: () => import_chunk_QE4GVR6C.CollectionSection,
|
|
29
|
+
CreateObjectDialog: () => import_chunk_QE4GVR6C.CreateObjectDialog,
|
|
30
|
+
CreateSpaceDialog: () => import_chunk_QE4GVR6C.CreateSpaceDialog,
|
|
31
|
+
FullPresence: () => import_chunk_QE4GVR6C.FullPresence,
|
|
32
|
+
InlineSyncStatus: () => import_chunk_QE4GVR6C.InlineSyncStatus,
|
|
33
|
+
JOIN_DIALOG: () => import_chunk_QE4GVR6C.JOIN_DIALOG,
|
|
34
|
+
JoinDialog: () => import_chunk_QE4GVR6C.JoinDialog,
|
|
35
|
+
MenuFooter: () => import_chunk_QE4GVR6C.MenuFooter,
|
|
36
|
+
POPOVER_ADD_SPACE: () => import_chunk_QE4GVR6C.POPOVER_ADD_SPACE,
|
|
37
|
+
POPOVER_RENAME_OBJECT: () => import_chunk_QE4GVR6C.POPOVER_RENAME_OBJECT,
|
|
38
|
+
POPOVER_RENAME_SPACE: () => import_chunk_QE4GVR6C.POPOVER_RENAME_SPACE,
|
|
39
|
+
PersistenceStatus: () => import_chunk_QE4GVR6C.PersistenceStatus,
|
|
40
|
+
PopoverAddSpace: () => import_chunk_QE4GVR6C.PopoverAddSpace,
|
|
41
|
+
PopoverRenameObject: () => import_chunk_QE4GVR6C.PopoverRenameObject,
|
|
42
|
+
PopoverRenameSpace: () => import_chunk_QE4GVR6C.PopoverRenameSpace,
|
|
43
43
|
SHARED: () => import_chunk_OVGKWJOC.SHARED,
|
|
44
44
|
SPACES: () => import_chunk_OVGKWJOC.SPACES,
|
|
45
45
|
SPACE_PLUGIN: () => import_chunk_WZR6OAN3.SPACE_PLUGIN,
|
|
46
|
-
SPACE_SETTINGS_DIALOG: () =>
|
|
46
|
+
SPACE_SETTINGS_DIALOG: () => import_chunk_QE4GVR6C.SPACE_SETTINGS_DIALOG,
|
|
47
47
|
SPACE_TYPE: () => import_chunk_OVGKWJOC.SPACE_TYPE,
|
|
48
|
-
ShareSpaceButton: () =>
|
|
49
|
-
ShareSpaceButtonImpl: () =>
|
|
50
|
-
SmallPresence: () =>
|
|
51
|
-
SmallPresenceLive: () =>
|
|
48
|
+
ShareSpaceButton: () => import_chunk_QE4GVR6C.ShareSpaceButton,
|
|
49
|
+
ShareSpaceButtonImpl: () => import_chunk_QE4GVR6C.ShareSpaceButtonImpl,
|
|
50
|
+
SmallPresence: () => import_chunk_QE4GVR6C.SmallPresence,
|
|
51
|
+
SmallPresenceLive: () => import_chunk_QE4GVR6C.SmallPresenceLive,
|
|
52
52
|
SpaceCapabilities: () => import_chunk_YZKNRFHU.SpaceCapabilities,
|
|
53
53
|
SpaceEvents: () => SpaceEvents,
|
|
54
54
|
SpacePlugin: () => SpacePlugin,
|
|
55
|
-
SpacePluginSettings: () =>
|
|
56
|
-
SpacePresence: () =>
|
|
57
|
-
SpaceSettingsDialog: () =>
|
|
58
|
-
SpaceSettingsPanel: () =>
|
|
59
|
-
SyncStatus: () =>
|
|
60
|
-
SyncStatusDetail: () =>
|
|
61
|
-
SyncStatusIndicator: () =>
|
|
55
|
+
SpacePluginSettings: () => import_chunk_QE4GVR6C.SpacePluginSettings,
|
|
56
|
+
SpacePresence: () => import_chunk_QE4GVR6C.SpacePresence,
|
|
57
|
+
SpaceSettingsDialog: () => import_chunk_QE4GVR6C.SpaceSettingsDialog,
|
|
58
|
+
SpaceSettingsPanel: () => import_chunk_QE4GVR6C.SpaceSettingsPanel,
|
|
59
|
+
SyncStatus: () => import_chunk_QE4GVR6C.SyncStatus,
|
|
60
|
+
SyncStatusDetail: () => import_chunk_QE4GVR6C.SyncStatusDetail,
|
|
61
|
+
SyncStatusIndicator: () => import_chunk_QE4GVR6C.SyncStatusIndicator,
|
|
62
62
|
ThreadCapabilities: () => import_chunk_YZKNRFHU.ThreadCapabilities,
|
|
63
63
|
ThreadEvents: () => ThreadEvents,
|
|
64
64
|
cloneObject: () => import_chunk_OVGKWJOC.cloneObject,
|
|
@@ -74,7 +74,7 @@ __export(node_exports, {
|
|
|
74
74
|
});
|
|
75
75
|
module.exports = __toCommonJS(node_exports);
|
|
76
76
|
var import_chunk_U6DYXAR3 = require("./chunk-U6DYXAR3.cjs");
|
|
77
|
-
var
|
|
77
|
+
var import_chunk_QE4GVR6C = require("./chunk-QE4GVR6C.cjs");
|
|
78
78
|
var import_chunk_YZKNRFHU = require("./chunk-YZKNRFHU.cjs");
|
|
79
79
|
var import_chunk_OVGKWJOC = require("./chunk-OVGKWJOC.cjs");
|
|
80
80
|
var import_chunk_WAJKBO3J = require("./chunk-WAJKBO3J.cjs");
|
|
@@ -114,12 +114,12 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
114
114
|
activatesAfter: [
|
|
115
115
|
SpaceEvents.StateReady
|
|
116
116
|
],
|
|
117
|
-
activate:
|
|
117
|
+
activate: import_chunk_QE4GVR6C.SpaceState
|
|
118
118
|
}),
|
|
119
119
|
(0, import_app_framework2.defineModule)({
|
|
120
120
|
id: `${import_chunk_WZR6OAN3.meta.id}/module/settings`,
|
|
121
121
|
activatesOn: import_app_framework2.Events.SetupSettings,
|
|
122
|
-
activate:
|
|
122
|
+
activate: import_chunk_QE4GVR6C.SpaceSettings
|
|
123
123
|
}),
|
|
124
124
|
(0, import_app_framework2.defineModule)({
|
|
125
125
|
id: `${import_chunk_WZR6OAN3.meta.id}/module/translations`,
|
|
@@ -173,6 +173,7 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
173
173
|
}
|
|
174
174
|
],
|
|
175
175
|
icon: "ph--sliders--regular",
|
|
176
|
+
position: "hoist",
|
|
176
177
|
filter: (node) => (0, import_echo.isEchoObject)(node.data) && !!(0, import_echo.getSpace)(node.data)
|
|
177
178
|
})
|
|
178
179
|
}),
|
|
@@ -182,12 +183,12 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
182
183
|
activatesBefore: [
|
|
183
184
|
import_plugin_client.ClientEvents.SetupSchema
|
|
184
185
|
],
|
|
185
|
-
activate:
|
|
186
|
+
activate: import_chunk_QE4GVR6C.Schema
|
|
186
187
|
}),
|
|
187
188
|
(0, import_app_framework2.defineModule)({
|
|
188
189
|
id: `${import_chunk_WZR6OAN3.meta.id}/module/react-root`,
|
|
189
190
|
activatesOn: import_app_framework2.Events.Startup,
|
|
190
|
-
activate:
|
|
191
|
+
activate: import_chunk_QE4GVR6C.ReactRoot
|
|
191
192
|
}),
|
|
192
193
|
(0, import_app_framework2.defineModule)({
|
|
193
194
|
id: `${import_chunk_WZR6OAN3.meta.id}/module/react-surface`,
|
|
@@ -196,14 +197,14 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
196
197
|
activatesBefore: [
|
|
197
198
|
SpaceEvents.SetupSettingsPanel
|
|
198
199
|
],
|
|
199
|
-
activate: () => (0,
|
|
200
|
+
activate: () => (0, import_chunk_QE4GVR6C.ReactSurface)({
|
|
200
201
|
createInvitationUrl
|
|
201
202
|
})
|
|
202
203
|
}),
|
|
203
204
|
(0, import_app_framework2.defineModule)({
|
|
204
205
|
id: `${import_chunk_WZR6OAN3.meta.id}/module/intent-resolver`,
|
|
205
206
|
activatesOn: import_app_framework2.Events.SetupIntentResolver,
|
|
206
|
-
activate: (context) => (0,
|
|
207
|
+
activate: (context) => (0, import_chunk_QE4GVR6C.IntentResolver)({
|
|
207
208
|
createInvitationUrl,
|
|
208
209
|
context,
|
|
209
210
|
observability
|
|
@@ -212,13 +213,13 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
212
213
|
(0, import_app_framework2.defineModule)({
|
|
213
214
|
id: `${import_chunk_WZR6OAN3.meta.id}/module/app-graph-builder`,
|
|
214
215
|
activatesOn: import_app_framework2.Events.SetupAppGraph,
|
|
215
|
-
activate:
|
|
216
|
+
activate: import_chunk_QE4GVR6C.AppGraphBuilder
|
|
216
217
|
}),
|
|
217
218
|
// TODO(wittjosiah): This could probably be deferred.
|
|
218
219
|
(0, import_app_framework2.defineModule)({
|
|
219
220
|
id: `${import_chunk_WZR6OAN3.meta.id}/module/app-graph-serializer`,
|
|
220
221
|
activatesOn: import_app_framework2.Events.AppGraphReady,
|
|
221
|
-
activate:
|
|
222
|
+
activate: import_chunk_QE4GVR6C.AppGraphSerializer
|
|
222
223
|
}),
|
|
223
224
|
(0, import_app_framework2.defineModule)({
|
|
224
225
|
id: `${import_chunk_WZR6OAN3.meta.id}/module/identity-created`,
|
|
@@ -226,12 +227,12 @@ var SpacePlugin = ({ invitationUrl = window.location.origin, invitationParam = "
|
|
|
226
227
|
activatesAfter: [
|
|
227
228
|
SpaceEvents.DefaultSpaceReady
|
|
228
229
|
],
|
|
229
|
-
activate:
|
|
230
|
+
activate: import_chunk_QE4GVR6C.IdentityCreated
|
|
230
231
|
}),
|
|
231
232
|
(0, import_app_framework2.defineModule)({
|
|
232
233
|
id: `${import_chunk_WZR6OAN3.meta.id}/module/spaces-ready`,
|
|
233
234
|
activatesOn: (0, import_app_framework2.allOf)(import_app_framework2.Events.DispatcherReady, import_app_framework2.Events.LayoutReady, import_app_framework2.Events.AppGraphReady, import_plugin_attention.AttentionEvents.AttentionReady, SpaceEvents.StateReady, import_plugin_client.ClientEvents.SpacesReady),
|
|
234
|
-
activate:
|
|
235
|
+
activate: import_chunk_QE4GVR6C.SpacesReady
|
|
235
236
|
})
|
|
236
237
|
]);
|
|
237
238
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/events.ts", "../../../src/SpacePlugin.tsx"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { defineEvent } from '@dxos/app-framework';\n\nimport { SPACE_PLUGIN } from './meta';\n\nexport namespace SpaceEvents {\n export const SetupSettingsPanel = defineEvent(`${SPACE_PLUGIN}/event/setup-settings-panel`);\n export const StateReady = defineEvent(`${SPACE_PLUGIN}/event/state-ready`);\n export const DefaultSpaceReady = defineEvent(`${SPACE_PLUGIN}/event/default-space-ready`);\n}\n\n// TODO(wittjosiah): Factor out.\nexport namespace ThreadEvents {\n export const SetupThread = defineEvent(`${SPACE_PLUGIN}/event/setup-thread`);\n}\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport {\n allOf,\n Capabilities,\n contributes,\n createIntent,\n defineModule,\n definePlugin,\n Events,\n oneOf,\n} from '@dxos/app-framework';\nimport { S } from '@dxos/echo-schema';\nimport { RefArray } from '@dxos/live-object';\nimport { AttentionEvents } from '@dxos/plugin-attention';\nimport { ClientEvents } from '@dxos/plugin-client';\nimport { DeckCapabilities, DeckEvents } from '@dxos/plugin-deck';\nimport { isEchoObject, getSpace } from '@dxos/react-client/echo';\nimport { osTranslations } from '@dxos/shell/react';\n\nimport {\n AppGraphBuilder,\n AppGraphSerializer,\n IdentityCreated,\n IntentResolver,\n ReactRoot,\n ReactSurface,\n Schema,\n SpaceCapabilities,\n SpaceSettings,\n SpacesReady,\n SpaceState,\n} from './capabilities';\nimport { SpaceEvents } from './events';\nimport { meta, SPACE_PLUGIN } from './meta';\nimport translations from './translations';\nimport { CollectionAction, CollectionType, defineObjectForm } from './types';\n\nexport type SpacePluginOptions = {\n /**\n * Base URL for the invitation link.\n */\n invitationUrl?: string;\n\n /**\n * Query parameter for the invitation code.\n */\n invitationParam?: string;\n\n /**\n * Whether to send observability events.\n */\n observability?: boolean;\n};\n\nexport const SpacePlugin = ({\n invitationUrl = window.location.origin,\n invitationParam = 'spaceInvitationCode',\n observability = true,\n}: SpacePluginOptions = {}) => {\n const createInvitationUrl = (invitationCode: string) => {\n const baseUrl = new URL(invitationUrl);\n baseUrl.searchParams.set(invitationParam, invitationCode);\n return baseUrl.toString();\n };\n\n return definePlugin(meta, [\n defineModule({\n id: `${meta.id}/module/state`,\n // TODO(wittjosiah): Does not integrate with settings store.\n // Should this be a different event?\n // Should settings store be renamed to be more generic?\n activatesOn: oneOf(Events.SetupSettings, Events.SetupAppGraph),\n activatesAfter: [SpaceEvents.StateReady],\n activate: SpaceState,\n }),\n defineModule({\n id: `${meta.id}/module/settings`,\n activatesOn: Events.SetupSettings,\n activate: SpaceSettings,\n }),\n defineModule({\n id: `${meta.id}/module/translations`,\n activatesOn: Events.SetupTranslations,\n activate: () => contributes(Capabilities.Translations, [...translations, osTranslations]),\n }),\n defineModule({\n id: `${meta.id}/module/metadata`,\n activatesOn: Events.SetupMetadata,\n activate: () =>\n contributes(Capabilities.Metadata, {\n id: CollectionType.typename,\n metadata: {\n placeholder: ['unnamed collection label', { ns: SPACE_PLUGIN }],\n icon: 'ph--cards-three--regular',\n // TODO(wittjosiah): Move out of metadata.\n loadReferences: async (collection: CollectionType) =>\n await RefArray.loadAll([...collection.objects, ...Object.values(collection.views)]),\n },\n }),\n }),\n defineModule({\n id: `${meta.id}/module/object-form`,\n activatesOn: ClientEvents.SetupSchema,\n activate: () =>\n contributes(\n SpaceCapabilities.ObjectForm,\n defineObjectForm({\n objectSchema: CollectionType,\n formSchema: S.Struct({ name: S.optional(S.String) }),\n getIntent: (props) => createIntent(CollectionAction.Create, props),\n }),\n ),\n }),\n defineModule({\n id: `${meta.id}/module/complementary-panel`,\n activatesOn: DeckEvents.SetupComplementaryPanels,\n activate: () =>\n contributes(DeckCapabilities.ComplementaryPanel, {\n id: 'settings',\n label: ['settings panel label', { ns: SPACE_PLUGIN }],\n icon: 'ph--sliders--regular',\n filter: (node) => isEchoObject(node.data) && !!getSpace(node.data),\n }),\n }),\n defineModule({\n id: `${meta.id}/module/schema`,\n activatesOn: ClientEvents.ClientReady,\n activatesBefore: [ClientEvents.SetupSchema],\n activate: Schema,\n }),\n defineModule({\n id: `${meta.id}/module/react-root`,\n activatesOn: Events.Startup,\n activate: ReactRoot,\n }),\n defineModule({\n id: `${meta.id}/module/react-surface`,\n activatesOn: Events.SetupReactSurface,\n // TODO(wittjosiah): Should occur before the settings dialog is loaded when surfaces activation is more granular.\n activatesBefore: [SpaceEvents.SetupSettingsPanel],\n activate: () => ReactSurface({ createInvitationUrl }),\n }),\n defineModule({\n id: `${meta.id}/module/intent-resolver`,\n activatesOn: Events.SetupIntentResolver,\n activate: (context) => IntentResolver({ createInvitationUrl, context, observability }),\n }),\n defineModule({\n id: `${meta.id}/module/app-graph-builder`,\n activatesOn: Events.SetupAppGraph,\n activate: AppGraphBuilder,\n }),\n // TODO(wittjosiah): This could probably be deferred.\n defineModule({\n id: `${meta.id}/module/app-graph-serializer`,\n activatesOn: Events.AppGraphReady,\n activate: AppGraphSerializer,\n }),\n defineModule({\n id: `${meta.id}/module/identity-created`,\n activatesOn: ClientEvents.IdentityCreated,\n activatesAfter: [SpaceEvents.DefaultSpaceReady],\n activate: IdentityCreated,\n }),\n defineModule({\n id: `${meta.id}/module/spaces-ready`,\n activatesOn: allOf(\n Events.DispatcherReady,\n Events.LayoutReady,\n Events.AppGraphReady,\n AttentionEvents.AttentionReady,\n SpaceEvents.StateReady,\n ClientEvents.SpacesReady,\n ),\n activate: SpacesReady,\n }),\n ]);\n};\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,2BAA4B;ACA5B,IAAAA,wBASO;AACP,yBAAkB;AAClB,yBAAyB;AACzB,8BAAgC;AAChC,2BAA6B;AAC7B,yBAA6C;AAC7C,kBAAuC;AACvC,mBAA+B;;UDZdC,cAAAA;eACFC,yBAAqBC,kCAAY,GAAGC,kCAAAA,6BAAyC;eAC7EC,iBAAaF,kCAAY,GAAGC,kCAAAA,oBAAgC;eAC5DE,wBAAoBH,kCAAY,GAAGC,kCAAAA,4BAAwC;AAC1F,GAJiBH,gBAAAA,cAAAA,CAAAA,EAAAA;;UAOAM,eAAAA;gBACFC,kB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I,mCACEuB,wCAAkBC,gBAClBC,wCAAiB;QACfC,cAAcnB;QACdoB,YAAYC,qBAAEC,OAAO;UAAEC,MAAMF,qBAAEG,SAASH,qBAAEI,MAAM;QAAE,CAAA;QAClDC,WAAW,CAACC,cAAUC,oCAAaC,uCAAiBC,QAAQH,KAAAA;MAC9D,CAAA,CAAA;IAEN,CAAA;QACA9C,oCAAa;MACXC,IAAI,GAAGF,2BAAKE,EAAE;MACdC,aAAagD,8BAAWC;MACxB3C,UAAU,UACRI,mCAAYwC,oCAAiBC,oBAAoB;QAC/CpD,IAAI;QACJqD,OAAO;UAAC;UAAwB;YAAE/B,IAAI5C;UAAa;;QACnD6C,MAAM;QACN+B,QAAQ,CAACC,aAASC,0BAAaD,KAAKE,IAAI,KAAK,CAAC,KAACC,sBAASH,KAAKE,IAAI;MACnE,CAAA;IACJ,CAAA;
|
|
6
|
-
"names": ["import_app_framework", "SpaceEvents", "SetupSettingsPanel", "defineEvent", "SPACE_PLUGIN", "StateReady", "DefaultSpaceReady", "ThreadEvents", "SetupThread", "SpacePlugin", "invitationUrl", "window", "location", "origin", "invitationParam", "observability", "createInvitationUrl", "invitationCode", "baseUrl", "URL", "searchParams", "set", "toString", "definePlugin", "meta", "defineModule", "id", "activatesOn", "oneOf", "Events", "SetupSettings", "SetupAppGraph", "activatesAfter", "activate", "SpaceState", "SpaceSettings", "SetupTranslations", "contributes", "Capabilities", "Translations", "translations", "osTranslations", "SetupMetadata", "Metadata", "CollectionType", "typename", "metadata", "placeholder", "ns", "icon", "loadReferences", "collection", "RefArray", "loadAll", "objects", "Object", "values", "views", "ClientEvents", "SetupSchema", "SpaceCapabilities", "ObjectForm", "defineObjectForm", "objectSchema", "formSchema", "S", "Struct", "name", "optional", "String", "getIntent", "props", "createIntent", "CollectionAction", "Create", "DeckEvents", "SetupComplementaryPanels", "DeckCapabilities", "ComplementaryPanel", "label", "filter", "node", "isEchoObject", "data", "getSpace", "ClientReady", "activatesBefore", "Schema", "Startup", "ReactRoot", "SetupReactSurface", "ReactSurface", "SetupIntentResolver", "context", "IntentResolver", "AppGraphBuilder", "AppGraphReady", "AppGraphSerializer", "IdentityCreated", "allOf", "DispatcherReady", "LayoutReady", "AttentionEvents", "AttentionReady", "SpacesReady"]
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport { defineEvent } from '@dxos/app-framework';\n\nimport { SPACE_PLUGIN } from './meta';\n\nexport namespace SpaceEvents {\n export const SetupSettingsPanel = defineEvent(`${SPACE_PLUGIN}/event/setup-settings-panel`);\n export const StateReady = defineEvent(`${SPACE_PLUGIN}/event/state-ready`);\n export const DefaultSpaceReady = defineEvent(`${SPACE_PLUGIN}/event/default-space-ready`);\n}\n\n// TODO(wittjosiah): Factor out.\nexport namespace ThreadEvents {\n export const SetupThread = defineEvent(`${SPACE_PLUGIN}/event/setup-thread`);\n}\n", "//\n// Copyright 2025 DXOS.org\n//\n\nimport {\n allOf,\n Capabilities,\n contributes,\n createIntent,\n defineModule,\n definePlugin,\n Events,\n oneOf,\n} from '@dxos/app-framework';\nimport { S } from '@dxos/echo-schema';\nimport { RefArray } from '@dxos/live-object';\nimport { AttentionEvents } from '@dxos/plugin-attention';\nimport { ClientEvents } from '@dxos/plugin-client';\nimport { DeckCapabilities, DeckEvents } from '@dxos/plugin-deck';\nimport { isEchoObject, getSpace } from '@dxos/react-client/echo';\nimport { osTranslations } from '@dxos/shell/react';\n\nimport {\n AppGraphBuilder,\n AppGraphSerializer,\n IdentityCreated,\n IntentResolver,\n ReactRoot,\n ReactSurface,\n Schema,\n SpaceCapabilities,\n SpaceSettings,\n SpacesReady,\n SpaceState,\n} from './capabilities';\nimport { SpaceEvents } from './events';\nimport { meta, SPACE_PLUGIN } from './meta';\nimport translations from './translations';\nimport { CollectionAction, CollectionType, defineObjectForm } from './types';\n\nexport type SpacePluginOptions = {\n /**\n * Base URL for the invitation link.\n */\n invitationUrl?: string;\n\n /**\n * Query parameter for the invitation code.\n */\n invitationParam?: string;\n\n /**\n * Whether to send observability events.\n */\n observability?: boolean;\n};\n\nexport const SpacePlugin = ({\n invitationUrl = window.location.origin,\n invitationParam = 'spaceInvitationCode',\n observability = true,\n}: SpacePluginOptions = {}) => {\n const createInvitationUrl = (invitationCode: string) => {\n const baseUrl = new URL(invitationUrl);\n baseUrl.searchParams.set(invitationParam, invitationCode);\n return baseUrl.toString();\n };\n\n return definePlugin(meta, [\n defineModule({\n id: `${meta.id}/module/state`,\n // TODO(wittjosiah): Does not integrate with settings store.\n // Should this be a different event?\n // Should settings store be renamed to be more generic?\n activatesOn: oneOf(Events.SetupSettings, Events.SetupAppGraph),\n activatesAfter: [SpaceEvents.StateReady],\n activate: SpaceState,\n }),\n defineModule({\n id: `${meta.id}/module/settings`,\n activatesOn: Events.SetupSettings,\n activate: SpaceSettings,\n }),\n defineModule({\n id: `${meta.id}/module/translations`,\n activatesOn: Events.SetupTranslations,\n activate: () => contributes(Capabilities.Translations, [...translations, osTranslations]),\n }),\n defineModule({\n id: `${meta.id}/module/metadata`,\n activatesOn: Events.SetupMetadata,\n activate: () =>\n contributes(Capabilities.Metadata, {\n id: CollectionType.typename,\n metadata: {\n placeholder: ['unnamed collection label', { ns: SPACE_PLUGIN }],\n icon: 'ph--cards-three--regular',\n // TODO(wittjosiah): Move out of metadata.\n loadReferences: async (collection: CollectionType) =>\n await RefArray.loadAll([...collection.objects, ...Object.values(collection.views)]),\n },\n }),\n }),\n defineModule({\n id: `${meta.id}/module/object-form`,\n activatesOn: ClientEvents.SetupSchema,\n activate: () =>\n contributes(\n SpaceCapabilities.ObjectForm,\n defineObjectForm({\n objectSchema: CollectionType,\n formSchema: S.Struct({ name: S.optional(S.String) }),\n getIntent: (props) => createIntent(CollectionAction.Create, props),\n }),\n ),\n }),\n defineModule({\n id: `${meta.id}/module/complementary-panel`,\n activatesOn: DeckEvents.SetupComplementaryPanels,\n activate: () =>\n contributes(DeckCapabilities.ComplementaryPanel, {\n id: 'settings',\n label: ['settings panel label', { ns: SPACE_PLUGIN }],\n icon: 'ph--sliders--regular',\n position: 'hoist',\n filter: (node) => isEchoObject(node.data) && !!getSpace(node.data),\n }),\n }),\n defineModule({\n id: `${meta.id}/module/schema`,\n activatesOn: ClientEvents.ClientReady,\n activatesBefore: [ClientEvents.SetupSchema],\n activate: Schema,\n }),\n defineModule({\n id: `${meta.id}/module/react-root`,\n activatesOn: Events.Startup,\n activate: ReactRoot,\n }),\n defineModule({\n id: `${meta.id}/module/react-surface`,\n activatesOn: Events.SetupReactSurface,\n // TODO(wittjosiah): Should occur before the settings dialog is loaded when surfaces activation is more granular.\n activatesBefore: [SpaceEvents.SetupSettingsPanel],\n activate: () => ReactSurface({ createInvitationUrl }),\n }),\n defineModule({\n id: `${meta.id}/module/intent-resolver`,\n activatesOn: Events.SetupIntentResolver,\n activate: (context) => IntentResolver({ createInvitationUrl, context, observability }),\n }),\n defineModule({\n id: `${meta.id}/module/app-graph-builder`,\n activatesOn: Events.SetupAppGraph,\n activate: AppGraphBuilder,\n }),\n // TODO(wittjosiah): This could probably be deferred.\n defineModule({\n id: `${meta.id}/module/app-graph-serializer`,\n activatesOn: Events.AppGraphReady,\n activate: AppGraphSerializer,\n }),\n defineModule({\n id: `${meta.id}/module/identity-created`,\n activatesOn: ClientEvents.IdentityCreated,\n activatesAfter: [SpaceEvents.DefaultSpaceReady],\n activate: IdentityCreated,\n }),\n defineModule({\n id: `${meta.id}/module/spaces-ready`,\n activatesOn: allOf(\n Events.DispatcherReady,\n Events.LayoutReady,\n Events.AppGraphReady,\n AttentionEvents.AttentionReady,\n SpaceEvents.StateReady,\n ClientEvents.SpacesReady,\n ),\n activate: SpacesReady,\n }),\n ]);\n};\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,2BAA4B;ACA5B,IAAAA,wBASO;AACP,yBAAkB;AAClB,yBAAyB;AAC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;MAAoB,CAAA;IACrD,CAAA;QACAS,oCAAa;MACXC,IAAI,GAAGF,2BAAKE,EAAE;MACdC,aAAaE,6BAAOgE;MACpB5D,UAAU,CAAC6D,gBAAYC,sCAAe;QAAE/E;QAAqB8E;QAAS/E;MAAc,CAAA;IACtF,CAAA;QACAU,oCAAa;MACXC,IAAI,GAAGF,2BAAKE,EAAE;MACdC,aAAaE,6BAAOE;MACpBE,UAAU+D;IACZ,CAAA;;QAEAvE,oCAAa;MACXC,IAAI,GAAGF,2BAAKE,EAAE;MACdC,aAAaE,6BAAOoE;MACpBhE,UAAUiE;IACZ,CAAA;QACAzE,oCAAa;MACXC,IAAI,GAAGF,2BAAKE,EAAE;MACdC,aAAa+B,kCAAayC;MAC1BnE,gBAAgB;QAAC/B,YAAYK;;MAC7B2B,UAAUkE;IACZ,CAAA;QACA1E,oCAAa;MACXC,IAAI,GAAGF,2BAAKE,EAAE;MACdC,iBAAayE,6BACXvE,6BAAOwE,iBACPxE,6BAAOyE,aACPzE,6BAAOoE,eACPM,wCAAgBC,gBAChBvG,YAAYI,YACZqD,kCAAa+C,WAAW;MAE1BxE,UAAUwE;IACZ,CAAA;GACD;AACH;",
|
|
6
|
+
"names": ["import_app_framework", "SpaceEvents", "SetupSettingsPanel", "defineEvent", "SPACE_PLUGIN", "StateReady", "DefaultSpaceReady", "ThreadEvents", "SetupThread", "SpacePlugin", "invitationUrl", "window", "location", "origin", "invitationParam", "observability", "createInvitationUrl", "invitationCode", "baseUrl", "URL", "searchParams", "set", "toString", "definePlugin", "meta", "defineModule", "id", "activatesOn", "oneOf", "Events", "SetupSettings", "SetupAppGraph", "activatesAfter", "activate", "SpaceState", "SpaceSettings", "SetupTranslations", "contributes", "Capabilities", "Translations", "translations", "osTranslations", "SetupMetadata", "Metadata", "CollectionType", "typename", "metadata", "placeholder", "ns", "icon", "loadReferences", "collection", "RefArray", "loadAll", "objects", "Object", "values", "views", "ClientEvents", "SetupSchema", "SpaceCapabilities", "ObjectForm", "defineObjectForm", "objectSchema", "formSchema", "S", "Struct", "name", "optional", "String", "getIntent", "props", "createIntent", "CollectionAction", "Create", "DeckEvents", "SetupComplementaryPanels", "DeckCapabilities", "ComplementaryPanel", "label", "position", "filter", "node", "isEchoObject", "data", "getSpace", "ClientReady", "activatesBefore", "Schema", "Startup", "ReactRoot", "SetupReactSurface", "ReactSurface", "SetupIntentResolver", "context", "IntentResolver", "AppGraphBuilder", "AppGraphReady", "AppGraphSerializer", "IdentityCreated", "allOf", "DispatcherReady", "LayoutReady", "AttentionEvents", "AttentionReady", "SpacesReady"]
|
|
7
7
|
}
|
|
@@ -16,12 +16,12 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
return to;
|
|
17
17
|
};
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
19
|
+
var intent_resolver_ICHHI6I6_exports = {};
|
|
20
|
+
__export(intent_resolver_ICHHI6I6_exports, {
|
|
21
21
|
default: () => intent_resolver_default
|
|
22
22
|
});
|
|
23
|
-
module.exports = __toCommonJS(
|
|
24
|
-
var
|
|
23
|
+
module.exports = __toCommonJS(intent_resolver_ICHHI6I6_exports);
|
|
24
|
+
var import_chunk_QE4GVR6C = require("./chunk-QE4GVR6C.cjs");
|
|
25
25
|
var import_chunk_YZKNRFHU = require("./chunk-YZKNRFHU.cjs");
|
|
26
26
|
var import_chunk_OVGKWJOC = require("./chunk-OVGKWJOC.cjs");
|
|
27
27
|
var import_chunk_WAJKBO3J = require("./chunk-WAJKBO3J.cjs");
|
|
@@ -47,7 +47,7 @@ var intent_resolver_default = ({ createInvitationUrl, context, observability })
|
|
|
47
47
|
intents: [
|
|
48
48
|
(0, import_app_framework.createIntent)(import_app_framework.LayoutAction.UpdateDialog, {
|
|
49
49
|
part: "dialog",
|
|
50
|
-
subject:
|
|
50
|
+
subject: import_chunk_QE4GVR6C.CREATE_SPACE_DIALOG,
|
|
51
51
|
options: {
|
|
52
52
|
blockAlign: "start"
|
|
53
53
|
}
|
|
@@ -101,7 +101,7 @@ var intent_resolver_default = ({ createInvitationUrl, context, observability })
|
|
|
101
101
|
intents: [
|
|
102
102
|
(0, import_app_framework.createIntent)(import_app_framework.LayoutAction.UpdateDialog, {
|
|
103
103
|
part: "dialog",
|
|
104
|
-
subject:
|
|
104
|
+
subject: import_chunk_QE4GVR6C.JOIN_DIALOG,
|
|
105
105
|
options: {
|
|
106
106
|
blockAlign: "start",
|
|
107
107
|
props: {
|
|
@@ -123,7 +123,7 @@ var intent_resolver_default = ({ createInvitationUrl, context, observability })
|
|
|
123
123
|
intents: [
|
|
124
124
|
(0, import_app_framework.createIntent)(import_app_framework.LayoutAction.UpdateDialog, {
|
|
125
125
|
part: "dialog",
|
|
126
|
-
subject:
|
|
126
|
+
subject: import_chunk_QE4GVR6C.SPACE_SETTINGS_DIALOG,
|
|
127
127
|
options: {
|
|
128
128
|
blockAlign: "start",
|
|
129
129
|
props: {
|
|
@@ -189,7 +189,7 @@ var intent_resolver_default = ({ createInvitationUrl, context, observability })
|
|
|
189
189
|
intents: [
|
|
190
190
|
(0, import_app_framework.createIntent)(import_app_framework.LayoutAction.UpdatePopover, {
|
|
191
191
|
part: "popover",
|
|
192
|
-
subject:
|
|
192
|
+
subject: import_chunk_QE4GVR6C.POPOVER_RENAME_SPACE,
|
|
193
193
|
options: {
|
|
194
194
|
anchorId: `dxos.org/ui/${caller}/${space.id}`,
|
|
195
195
|
props: space
|
|
@@ -206,7 +206,7 @@ var intent_resolver_default = ({ createInvitationUrl, context, observability })
|
|
|
206
206
|
intents: [
|
|
207
207
|
(0, import_app_framework.createIntent)(import_app_framework.LayoutAction.UpdatePopover, {
|
|
208
208
|
part: "popover",
|
|
209
|
-
subject:
|
|
209
|
+
subject: import_chunk_QE4GVR6C.POPOVER_ADD_SPACE,
|
|
210
210
|
options: {
|
|
211
211
|
anchorId: import_chunk_WAJKBO3J.SpaceAction.AddSpace._tag,
|
|
212
212
|
side: "right"
|
|
@@ -223,7 +223,7 @@ var intent_resolver_default = ({ createInvitationUrl, context, observability })
|
|
|
223
223
|
intents: [
|
|
224
224
|
(0, import_app_framework.createIntent)(import_app_framework.LayoutAction.UpdateDialog, {
|
|
225
225
|
part: "dialog",
|
|
226
|
-
subject:
|
|
226
|
+
subject: import_chunk_QE4GVR6C.SPACE_SETTINGS_DIALOG,
|
|
227
227
|
options: {
|
|
228
228
|
blockAlign: "start",
|
|
229
229
|
props: {
|
|
@@ -283,7 +283,7 @@ var intent_resolver_default = ({ createInvitationUrl, context, observability })
|
|
|
283
283
|
intents: [
|
|
284
284
|
(0, import_app_framework.createIntent)(import_app_framework.LayoutAction.UpdateDialog, {
|
|
285
285
|
part: "dialog",
|
|
286
|
-
subject:
|
|
286
|
+
subject: import_chunk_QE4GVR6C.CREATE_OBJECT_DIALOG,
|
|
287
287
|
options: {
|
|
288
288
|
blockAlign: "start",
|
|
289
289
|
props: {
|
|
@@ -496,7 +496,7 @@ var intent_resolver_default = ({ createInvitationUrl, context, observability })
|
|
|
496
496
|
intents: [
|
|
497
497
|
(0, import_app_framework.createIntent)(import_app_framework.LayoutAction.UpdatePopover, {
|
|
498
498
|
part: "popover",
|
|
499
|
-
subject:
|
|
499
|
+
subject: import_chunk_QE4GVR6C.POPOVER_RENAME_OBJECT,
|
|
500
500
|
options: {
|
|
501
501
|
anchorId: `dxos.org/ui/${caller}/${(0, import_echo.fullyQualifiedId)(object)}`,
|
|
502
502
|
props: object
|
|
@@ -550,4 +550,4 @@ var intent_resolver_default = ({ createInvitationUrl, context, observability })
|
|
|
550
550
|
})
|
|
551
551
|
]);
|
|
552
552
|
};
|
|
553
|
-
//# sourceMappingURL=intent-resolver-
|
|
553
|
+
//# sourceMappingURL=intent-resolver-ICHHI6I6.cjs.map
|