@dxos/plugin-thread 0.8.4-main.bc674ce → 0.8.4-main.bcb3aa67d6
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/add-message-RNUQFJTH.mjs +97 -0
- package/dist/lib/browser/add-message-RNUQFJTH.mjs.map +7 -0
- package/dist/lib/browser/blueprints/index.mjs +33 -4
- package/dist/lib/browser/blueprints/index.mjs.map +4 -4
- package/dist/lib/browser/chunk-BHQ62SKT.mjs +259 -0
- package/dist/lib/browser/chunk-BHQ62SKT.mjs.map +7 -0
- package/dist/lib/browser/chunk-H32XEGIV.mjs +61 -0
- package/dist/lib/browser/chunk-H32XEGIV.mjs.map +7 -0
- package/dist/lib/browser/create-UWYTS35R.mjs +55 -0
- package/dist/lib/browser/create-UWYTS35R.mjs.map +7 -0
- package/dist/lib/browser/create-channel-7RX3G7QV.mjs +21 -0
- package/dist/lib/browser/create-channel-7RX3G7QV.mjs.map +7 -0
- package/dist/lib/browser/create-channel-thread-ZA7IVGTL.mjs +28 -0
- package/dist/lib/browser/create-channel-thread-ZA7IVGTL.mjs.map +7 -0
- package/dist/lib/browser/create-proposals-74FZ3XTC.mjs +57 -0
- package/dist/lib/browser/create-proposals-74FZ3XTC.mjs.map +7 -0
- package/dist/lib/browser/delete-SJBDYXW3.mjs +59 -0
- package/dist/lib/browser/delete-SJBDYXW3.mjs.map +7 -0
- package/dist/lib/browser/delete-message-AHSDDYXK.mjs +64 -0
- package/dist/lib/browser/delete-message-AHSDDYXK.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +2225 -211
- package/dist/lib/browser/index.mjs.map +4 -4
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/on-create-space-YNZHJSZ5.mjs +25 -0
- package/dist/lib/browser/on-create-space-YNZHJSZ5.mjs.map +7 -0
- package/dist/lib/browser/operations/index.mjs +14 -0
- package/dist/lib/browser/operations/index.mjs.map +7 -0
- package/dist/lib/browser/restore-X2K3ZKFD.mjs +33 -0
- package/dist/lib/browser/restore-X2K3ZKFD.mjs.map +7 -0
- package/dist/lib/browser/restore-message-EHSQSLM3.mjs +42 -0
- package/dist/lib/browser/restore-message-EHSQSLM3.mjs.map +7 -0
- package/dist/lib/browser/select-GKW3QALS.mjs +26 -0
- package/dist/lib/browser/select-GKW3QALS.mjs.map +7 -0
- package/dist/lib/browser/toggle-resolved-Y5KJLQO3.mjs +45 -0
- package/dist/lib/browser/toggle-resolved-Y5KJLQO3.mjs.map +7 -0
- package/dist/lib/browser/types/index.mjs +5 -7
- package/dist/lib/node-esm/add-message-R3XLXRZ5.mjs +98 -0
- package/dist/lib/node-esm/add-message-R3XLXRZ5.mjs.map +7 -0
- package/dist/lib/node-esm/blueprints/index.mjs +33 -4
- package/dist/lib/node-esm/blueprints/index.mjs.map +4 -4
- package/dist/lib/node-esm/chunk-BAKHDRSB.mjs +260 -0
- package/dist/lib/node-esm/chunk-BAKHDRSB.mjs.map +7 -0
- package/dist/lib/node-esm/chunk-M6EZRL5B.mjs +62 -0
- package/dist/lib/node-esm/chunk-M6EZRL5B.mjs.map +7 -0
- package/dist/lib/node-esm/create-SKEKGLSD.mjs +56 -0
- package/dist/lib/node-esm/create-SKEKGLSD.mjs.map +7 -0
- package/dist/lib/node-esm/create-channel-4UICXKGI.mjs +22 -0
- package/dist/lib/node-esm/create-channel-4UICXKGI.mjs.map +7 -0
- package/dist/lib/node-esm/create-channel-thread-EWDR3J44.mjs +29 -0
- package/dist/lib/node-esm/create-channel-thread-EWDR3J44.mjs.map +7 -0
- package/dist/lib/node-esm/create-proposals-SASCDSNZ.mjs +58 -0
- package/dist/lib/node-esm/create-proposals-SASCDSNZ.mjs.map +7 -0
- package/dist/lib/node-esm/delete-IGQXPUHX.mjs +60 -0
- package/dist/lib/node-esm/delete-IGQXPUHX.mjs.map +7 -0
- package/dist/lib/node-esm/delete-message-IEJYQNZY.mjs +65 -0
- package/dist/lib/node-esm/delete-message-IEJYQNZY.mjs.map +7 -0
- package/dist/lib/node-esm/index.mjs +2225 -211
- package/dist/lib/node-esm/index.mjs.map +4 -4
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/on-create-space-UGALNIWK.mjs +26 -0
- package/dist/lib/node-esm/on-create-space-UGALNIWK.mjs.map +7 -0
- package/dist/lib/node-esm/operations/index.mjs +15 -0
- package/dist/lib/node-esm/operations/index.mjs.map +7 -0
- package/dist/lib/node-esm/restore-4EAMGSOF.mjs +34 -0
- package/dist/lib/node-esm/restore-4EAMGSOF.mjs.map +7 -0
- package/dist/lib/node-esm/restore-message-2Z6KR3RJ.mjs +43 -0
- package/dist/lib/node-esm/restore-message-2Z6KR3RJ.mjs.map +7 -0
- package/dist/lib/node-esm/select-MLVUUPYK.mjs +27 -0
- package/dist/lib/node-esm/select-MLVUUPYK.mjs.map +7 -0
- package/dist/lib/node-esm/toggle-resolved-Y2FRSWZ3.mjs +46 -0
- package/dist/lib/node-esm/toggle-resolved-Y2FRSWZ3.mjs.map +7 -0
- package/dist/lib/node-esm/types/index.mjs +5 -7
- package/dist/types/src/ThreadPlugin.d.ts.map +1 -1
- package/dist/types/src/blueprints/index.d.ts +1 -1
- package/dist/types/src/blueprints/index.d.ts.map +1 -1
- package/dist/types/src/blueprints/thread-blueprint.d.ts +3 -20
- package/dist/types/src/blueprints/thread-blueprint.d.ts.map +1 -1
- package/dist/types/src/calls-service.stories.d.ts +2 -2
- package/dist/types/src/calls-service.stories.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +6 -0
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -0
- package/dist/types/src/capabilities/blueprint-definition.d.ts +6 -0
- package/dist/types/src/capabilities/blueprint-definition.d.ts.map +1 -0
- package/dist/types/src/capabilities/call-manager.d.ts +6 -0
- package/dist/types/src/capabilities/call-manager.d.ts.map +1 -0
- package/dist/types/src/capabilities/index.d.ts +15 -10
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/markdown.d.ts +5 -0
- package/dist/types/src/capabilities/markdown.d.ts.map +1 -0
- package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
- package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
- package/dist/types/src/capabilities/{react-root/react-root.d.ts → react-root.d.ts} +1 -1
- package/dist/types/src/capabilities/react-root.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface.d.ts +5 -0
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -0
- package/dist/types/src/capabilities/settings.d.ts +6 -0
- package/dist/types/src/capabilities/settings.d.ts.map +1 -0
- package/dist/types/src/capabilities/state.d.ts +7 -0
- package/dist/types/src/capabilities/state.d.ts.map +1 -0
- package/dist/types/src/capabilities/undo-mappings.d.ts +5 -0
- package/dist/types/src/capabilities/undo-mappings.d.ts.map +1 -0
- package/dist/types/src/components/Call/Toolbar.d.ts +1 -1
- package/dist/types/src/components/Call/Toolbar.d.ts.map +1 -1
- package/dist/types/src/components/CommentsPanel/CommentsPanel.d.ts +13 -0
- package/dist/types/src/components/CommentsPanel/CommentsPanel.d.ts.map +1 -0
- package/dist/types/src/components/CommentsPanel/CommentsPanel.stories.d.ts +160 -0
- package/dist/types/src/components/CommentsPanel/CommentsPanel.stories.d.ts.map +1 -0
- package/dist/types/src/components/{CommentsThreadContainer.d.ts → CommentsPanel/CommentsThread.d.ts} +3 -3
- package/dist/types/src/components/CommentsPanel/CommentsThread.d.ts.map +1 -0
- package/dist/types/src/components/CommentsPanel/index.d.ts +3 -0
- package/dist/types/src/components/CommentsPanel/index.d.ts.map +1 -0
- package/dist/types/src/components/MessagePanel/MessagePanel.d.ts +15 -0
- package/dist/types/src/components/MessagePanel/MessagePanel.d.ts.map +1 -0
- package/dist/types/src/components/MessagePanel/index.d.ts +2 -0
- package/dist/types/src/components/MessagePanel/index.d.ts.map +1 -0
- package/dist/types/src/components/ResponsiveGrid/ResponsiveGrid.stories.d.ts +142 -144
- package/dist/types/src/components/ResponsiveGrid/ResponsiveGrid.stories.d.ts.map +1 -1
- package/dist/types/src/components/ResponsiveGrid/{ResponsiveContainer.d.ts → ResponsivePanel.d.ts} +4 -4
- package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.d.ts.map +1 -0
- package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.stories.d.ts +164 -0
- package/dist/types/src/components/ResponsiveGrid/ResponsivePanel.stories.d.ts.map +1 -0
- package/dist/types/src/components/ResponsiveGrid/index.d.ts +1 -1
- package/dist/types/src/components/ResponsiveGrid/index.d.ts.map +1 -1
- package/dist/types/src/components/ThreadSettings/ThreadSettings.d.ts +6 -0
- package/dist/types/src/components/ThreadSettings/ThreadSettings.d.ts.map +1 -0
- package/dist/types/src/components/ThreadSettings/ThreadSettings.stories.d.ts +161 -0
- package/dist/types/src/components/ThreadSettings/ThreadSettings.stories.d.ts.map +1 -0
- package/dist/types/src/components/ThreadSettings/index.d.ts +3 -0
- package/dist/types/src/components/ThreadSettings/index.d.ts.map +1 -0
- package/dist/types/src/components/index.d.ts +4 -9
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/{components → containers/CallDebugPanel}/CallDebugPanel.d.ts +1 -1
- package/dist/types/src/containers/CallDebugPanel/CallDebugPanel.d.ts.map +1 -0
- package/dist/types/src/containers/CallDebugPanel/index.d.ts +3 -0
- package/dist/types/src/containers/CallDebugPanel/index.d.ts.map +1 -0
- package/dist/types/src/{components → containers/CallSidebar}/CallSidebar.d.ts +0 -1
- package/dist/types/src/containers/CallSidebar/CallSidebar.d.ts.map +1 -0
- package/dist/types/src/containers/CallSidebar/index.d.ts +3 -0
- package/dist/types/src/containers/CallSidebar/index.d.ts.map +1 -0
- package/dist/types/src/containers/ChannelContainer/ChannelContainer.d.ts +12 -0
- package/dist/types/src/containers/ChannelContainer/ChannelContainer.d.ts.map +1 -0
- package/dist/types/src/containers/ChannelContainer/ChannelContainer.stories.d.ts +162 -0
- package/dist/types/src/containers/ChannelContainer/ChannelContainer.stories.d.ts.map +1 -0
- package/dist/types/src/containers/ChannelContainer/index.d.ts +3 -0
- package/dist/types/src/containers/ChannelContainer/index.d.ts.map +1 -0
- package/dist/types/src/{components → containers/ChatContainer}/ChatContainer.d.ts +7 -5
- package/dist/types/src/containers/ChatContainer/ChatContainer.d.ts.map +1 -0
- package/dist/types/src/containers/ChatContainer/ChatContainer.stories.d.ts +162 -0
- package/dist/types/src/containers/ChatContainer/ChatContainer.stories.d.ts.map +1 -0
- package/dist/types/src/containers/ChatContainer/index.d.ts +4 -0
- package/dist/types/src/containers/ChatContainer/index.d.ts.map +1 -0
- package/dist/types/src/containers/ThreadCompanion/ThreadCompanion.d.ts +8 -0
- package/dist/types/src/containers/ThreadCompanion/ThreadCompanion.d.ts.map +1 -0
- package/dist/types/src/containers/ThreadCompanion/index.d.ts +3 -0
- package/dist/types/src/containers/ThreadCompanion/index.d.ts.map +1 -0
- package/dist/types/src/containers/index.d.ts +7 -0
- package/dist/types/src/containers/index.d.ts.map +1 -0
- package/dist/types/src/{components/command-extension.d.ts → extensions/command.d.ts} +1 -1
- package/dist/types/src/extensions/command.d.ts.map +1 -0
- package/dist/types/src/extensions/index.d.ts +1 -0
- package/dist/types/src/extensions/index.d.ts.map +1 -1
- package/dist/types/src/extensions/threads.d.ts +1 -1
- package/dist/types/src/extensions/threads.d.ts.map +1 -1
- package/dist/types/src/hooks/analytics.d.ts.map +1 -1
- package/dist/types/src/operations/add-message.d.ts +5 -0
- package/dist/types/src/operations/add-message.d.ts.map +1 -0
- package/dist/types/src/operations/create-channel-thread.d.ts +5 -0
- package/dist/types/src/operations/create-channel-thread.d.ts.map +1 -0
- package/dist/types/src/operations/create-channel.d.ts +5 -0
- package/dist/types/src/operations/create-channel.d.ts.map +1 -0
- package/dist/types/src/operations/create-proposals.d.ts +5 -0
- package/dist/types/src/operations/create-proposals.d.ts.map +1 -0
- package/dist/types/src/operations/create.d.ts +5 -0
- package/dist/types/src/operations/create.d.ts.map +1 -0
- package/dist/types/src/operations/definitions.d.ts +2789 -0
- package/dist/types/src/operations/definitions.d.ts.map +1 -0
- package/dist/types/src/operations/delete-message.d.ts +5 -0
- package/dist/types/src/operations/delete-message.d.ts.map +1 -0
- package/dist/types/src/operations/delete.d.ts +5 -0
- package/dist/types/src/operations/delete.d.ts.map +1 -0
- package/dist/types/src/operations/index.d.ts +4 -0
- package/dist/types/src/operations/index.d.ts.map +1 -0
- package/dist/types/src/operations/on-create-space.d.ts +5 -0
- package/dist/types/src/operations/on-create-space.d.ts.map +1 -0
- package/dist/types/src/operations/restore-message.d.ts +5 -0
- package/dist/types/src/operations/restore-message.d.ts.map +1 -0
- package/dist/types/src/operations/restore.d.ts +5 -0
- package/dist/types/src/operations/restore.d.ts.map +1 -0
- package/dist/types/src/operations/select.d.ts +5 -0
- package/dist/types/src/operations/select.d.ts.map +1 -0
- package/dist/types/src/operations/toggle-resolved.d.ts +5 -0
- package/dist/types/src/operations/toggle-resolved.d.ts.map +1 -0
- package/dist/types/src/{components/testing.d.ts → testing/data.d.ts} +1 -1
- package/dist/types/src/testing/data.d.ts.map +1 -0
- package/dist/types/src/testing/stories.d.ts.map +1 -1
- package/dist/types/src/translations.d.ts +140 -142
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/Channel.d.ts +25 -9
- package/dist/types/src/types/Channel.d.ts.map +1 -1
- package/dist/types/src/types/Settings.d.ts +4 -0
- package/dist/types/src/types/Settings.d.ts.map +1 -0
- package/dist/types/src/types/capabilities.d.ts.map +1 -1
- package/dist/types/src/types/types.d.ts +1 -3227
- package/dist/types/src/types/types.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +88 -66
- package/src/ThreadPlugin.tsx +55 -57
- package/src/blueprints/index.ts +1 -1
- package/src/blueprints/thread-blueprint.ts +13 -8
- package/src/calls-service.stories.tsx +8 -8
- package/src/capabilities/{app-graph-builder/app-graph-builder.ts → app-graph-builder.ts} +41 -50
- package/src/capabilities/blueprint-definition.ts +17 -0
- package/src/capabilities/{call-manager/call-manager.ts → call-manager.ts} +5 -5
- package/src/capabilities/index.ts +16 -10
- package/src/capabilities/{markdown/markdown.ts → markdown.ts} +13 -15
- package/src/capabilities/operation-handler.ts +16 -0
- package/src/capabilities/{react-root/react-root.tsx → react-root.tsx} +4 -4
- package/src/capabilities/{react-surface/react-surface.tsx → react-surface.tsx} +32 -34
- package/src/capabilities/{settings/settings.ts → settings.ts} +8 -7
- package/src/capabilities/{state/state.ts → state.ts} +1 -1
- package/src/capabilities/undo-mappings.ts +46 -0
- package/src/components/Call/Call.tsx +4 -4
- package/src/components/Call/Toolbar.tsx +30 -21
- package/src/components/{Comments.stories.tsx → CommentsPanel/CommentsPanel.stories.tsx} +14 -13
- package/src/components/{CommentsContainer.tsx → CommentsPanel/CommentsPanel.tsx} +15 -14
- package/src/components/{CommentsThreadContainer.tsx → CommentsPanel/CommentsThread.tsx} +19 -20
- package/src/components/CommentsPanel/index.ts +6 -0
- package/src/components/Lobby/Lobby.tsx +7 -7
- package/src/components/Media/VideoObject.stories.tsx +6 -6
- package/src/components/Media/VideoObject.tsx +1 -1
- package/src/components/{MessageContainer.tsx → MessagePanel/MessagePanel.tsx} +18 -18
- package/src/components/MessagePanel/index.ts +5 -0
- package/src/components/Participant/Participant.tsx +2 -2
- package/src/components/ResponsiveGrid/ResponsiveGrid.stories.tsx +6 -6
- package/src/components/ResponsiveGrid/ResponsiveGrid.tsx +8 -8
- package/src/components/ResponsiveGrid/ResponsiveGridItem.tsx +9 -9
- package/src/components/ResponsiveGrid/{ResponsiveContainer.stories.tsx → ResponsivePanel.stories.tsx} +7 -7
- package/src/components/ResponsiveGrid/{ResponsiveContainer.tsx → ResponsivePanel.tsx} +5 -5
- package/src/components/ResponsiveGrid/index.ts +1 -1
- package/src/components/ThreadSettings/ThreadSettings.stories.tsx +32 -0
- package/src/components/ThreadSettings/ThreadSettings.tsx +20 -0
- package/src/components/ThreadSettings/index.ts +7 -0
- package/src/components/index.ts +5 -9
- package/src/{components → containers/CallDebugPanel}/CallDebugPanel.tsx +7 -7
- package/src/containers/CallDebugPanel/index.ts +7 -0
- package/src/{components → containers/CallSidebar}/CallSidebar.tsx +4 -7
- package/src/containers/CallSidebar/index.ts +7 -0
- package/src/{components → containers/ChannelContainer}/ChannelContainer.stories.tsx +11 -13
- package/src/{components → containers/ChannelContainer}/ChannelContainer.tsx +75 -60
- package/src/containers/ChannelContainer/index.ts +7 -0
- package/src/{components/Chat.stories.tsx → containers/ChatContainer/ChatContainer.stories.tsx} +20 -18
- package/src/containers/ChatContainer/ChatContainer.tsx +130 -0
- package/src/containers/ChatContainer/index.ts +8 -0
- package/src/{components → containers/ThreadCompanion}/ThreadCompanion.tsx +74 -50
- package/src/containers/ThreadCompanion/index.ts +7 -0
- package/src/containers/index.ts +11 -0
- package/src/{components/command-extension.ts → extensions/command.ts} +1 -1
- package/src/extensions/index.ts +1 -0
- package/src/extensions/threads.ts +14 -13
- package/src/hooks/analytics.ts +3 -2
- package/src/meta.ts +2 -2
- package/src/operations/add-message.ts +82 -0
- package/src/operations/create-channel-thread.ts +26 -0
- package/src/operations/create-channel.ts +21 -0
- package/src/operations/create-proposals.ts +49 -0
- package/src/operations/create.ts +49 -0
- package/src/operations/definitions.ts +177 -0
- package/src/operations/delete-message.ts +53 -0
- package/src/operations/delete.ts +64 -0
- package/src/operations/index.ts +22 -0
- package/src/operations/on-create-space.ts +27 -0
- package/src/operations/restore-message.ts +38 -0
- package/src/operations/restore.ts +38 -0
- package/src/operations/select.ts +25 -0
- package/src/operations/toggle-resolved.ts +41 -0
- package/src/testing/stories.ts +6 -11
- package/src/translations.ts +72 -76
- package/src/types/Channel.ts +11 -4
- package/src/types/Settings.ts +10 -0
- package/src/types/capabilities.ts +8 -7
- package/src/types/types.ts +2 -184
- package/src/util.ts +1 -1
- package/dist/lib/browser/app-graph-builder-7C2QW32W.mjs +0 -188
- package/dist/lib/browser/app-graph-builder-7C2QW32W.mjs.map +0 -7
- package/dist/lib/browser/blueprint-definition-UQ63QKQG.mjs +0 -17
- package/dist/lib/browser/blueprint-definition-UQ63QKQG.mjs.map +0 -7
- package/dist/lib/browser/call-manager-4P536YNX.mjs +0 -26
- package/dist/lib/browser/call-manager-4P536YNX.mjs.map +0 -7
- package/dist/lib/browser/chunk-2FIHSX35.mjs +0 -293
- package/dist/lib/browser/chunk-2FIHSX35.mjs.map +0 -7
- package/dist/lib/browser/chunk-CP7E2HRE.mjs +0 -31
- package/dist/lib/browser/chunk-CP7E2HRE.mjs.map +0 -7
- package/dist/lib/browser/chunk-DLO2G3DM.mjs +0 -184
- package/dist/lib/browser/chunk-DLO2G3DM.mjs.map +0 -7
- package/dist/lib/browser/chunk-ERK254BS.mjs +0 -1810
- package/dist/lib/browser/chunk-ERK254BS.mjs.map +0 -7
- package/dist/lib/browser/chunk-ISCHODBV.mjs +0 -106
- package/dist/lib/browser/chunk-ISCHODBV.mjs.map +0 -7
- package/dist/lib/browser/chunk-YSHXWAL3.mjs +0 -1815
- package/dist/lib/browser/chunk-YSHXWAL3.mjs.map +0 -7
- package/dist/lib/browser/chunk-ZFLSTQSE.mjs +0 -106
- package/dist/lib/browser/chunk-ZFLSTQSE.mjs.map +0 -7
- package/dist/lib/browser/markdown-QMJLRR6R.mjs +0 -210
- package/dist/lib/browser/markdown-QMJLRR6R.mjs.map +0 -7
- package/dist/lib/browser/operation-resolver-T63EP5TY.mjs +0 -441
- package/dist/lib/browser/operation-resolver-T63EP5TY.mjs.map +0 -7
- package/dist/lib/browser/react-root-56MJI77R.mjs +0 -25
- package/dist/lib/browser/react-root-56MJI77R.mjs.map +0 -7
- package/dist/lib/browser/react-surface-DMBHQOXJ.mjs +0 -110
- package/dist/lib/browser/react-surface-DMBHQOXJ.mjs.map +0 -7
- package/dist/lib/browser/repair-6OZ75AUU.mjs +0 -38
- package/dist/lib/browser/repair-6OZ75AUU.mjs.map +0 -7
- package/dist/lib/browser/settings-WZMJMML3.mjs +0 -32
- package/dist/lib/browser/settings-WZMJMML3.mjs.map +0 -7
- package/dist/lib/browser/state-SJR2GL5G.mjs +0 -24
- package/dist/lib/browser/state-SJR2GL5G.mjs.map +0 -7
- package/dist/lib/node-esm/app-graph-builder-JCSVFRVY.mjs +0 -189
- package/dist/lib/node-esm/app-graph-builder-JCSVFRVY.mjs.map +0 -7
- package/dist/lib/node-esm/blueprint-definition-MZZXXL37.mjs +0 -18
- package/dist/lib/node-esm/blueprint-definition-MZZXXL37.mjs.map +0 -7
- package/dist/lib/node-esm/call-manager-FMLRR5S5.mjs +0 -27
- package/dist/lib/node-esm/call-manager-FMLRR5S5.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-7XQLXMX7.mjs +0 -1816
- package/dist/lib/node-esm/chunk-7XQLXMX7.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-ABUFOZVX.mjs +0 -33
- package/dist/lib/node-esm/chunk-ABUFOZVX.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-AQHPP6ZX.mjs +0 -107
- package/dist/lib/node-esm/chunk-AQHPP6ZX.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-KRBZBJRI.mjs +0 -185
- package/dist/lib/node-esm/chunk-KRBZBJRI.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-QP3KQOPQ.mjs +0 -1811
- package/dist/lib/node-esm/chunk-QP3KQOPQ.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-VBI32FGI.mjs +0 -108
- package/dist/lib/node-esm/chunk-VBI32FGI.mjs.map +0 -7
- package/dist/lib/node-esm/chunk-WMWUXWAS.mjs +0 -294
- package/dist/lib/node-esm/chunk-WMWUXWAS.mjs.map +0 -7
- package/dist/lib/node-esm/markdown-L6LLQLIN.mjs +0 -211
- package/dist/lib/node-esm/markdown-L6LLQLIN.mjs.map +0 -7
- package/dist/lib/node-esm/operation-resolver-G6GZPBRP.mjs +0 -442
- package/dist/lib/node-esm/operation-resolver-G6GZPBRP.mjs.map +0 -7
- package/dist/lib/node-esm/react-root-V4W4X5GL.mjs +0 -26
- package/dist/lib/node-esm/react-root-V4W4X5GL.mjs.map +0 -7
- package/dist/lib/node-esm/react-surface-ELDSTUA3.mjs +0 -111
- package/dist/lib/node-esm/react-surface-ELDSTUA3.mjs.map +0 -7
- package/dist/lib/node-esm/repair-6777EPOM.mjs +0 -39
- package/dist/lib/node-esm/repair-6777EPOM.mjs.map +0 -7
- package/dist/lib/node-esm/settings-37CO3SNR.mjs +0 -33
- package/dist/lib/node-esm/settings-37CO3SNR.mjs.map +0 -7
- package/dist/lib/node-esm/state-5R3TZJQE.mjs +0 -25
- package/dist/lib/node-esm/state-5R3TZJQE.mjs.map +0 -7
- package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts +0 -6
- package/dist/types/src/capabilities/app-graph-builder/app-graph-builder.d.ts.map +0 -1
- package/dist/types/src/capabilities/app-graph-builder/index.d.ts +0 -3
- package/dist/types/src/capabilities/app-graph-builder/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/blueprint-definition/blueprint-definition.d.ts +0 -9
- package/dist/types/src/capabilities/blueprint-definition/blueprint-definition.d.ts.map +0 -1
- package/dist/types/src/capabilities/blueprint-definition/index.d.ts +0 -3
- package/dist/types/src/capabilities/blueprint-definition/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/call-manager/call-manager.d.ts +0 -6
- package/dist/types/src/capabilities/call-manager/call-manager.d.ts.map +0 -1
- package/dist/types/src/capabilities/call-manager/index.d.ts +0 -3
- package/dist/types/src/capabilities/call-manager/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/markdown/index.d.ts +0 -3
- package/dist/types/src/capabilities/markdown/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/markdown/markdown.d.ts +0 -5
- package/dist/types/src/capabilities/markdown/markdown.d.ts.map +0 -1
- package/dist/types/src/capabilities/operation-resolver/index.d.ts +0 -3
- package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +0 -5
- package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-root/index.d.ts +0 -6
- package/dist/types/src/capabilities/react-root/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-root/react-root.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface/index.d.ts +0 -3
- package/dist/types/src/capabilities/react-surface/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts +0 -5
- package/dist/types/src/capabilities/react-surface/react-surface.d.ts.map +0 -1
- package/dist/types/src/capabilities/repair/index.d.ts +0 -3
- package/dist/types/src/capabilities/repair/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/repair/repair.d.ts +0 -6
- package/dist/types/src/capabilities/repair/repair.d.ts.map +0 -1
- package/dist/types/src/capabilities/settings/index.d.ts +0 -3
- package/dist/types/src/capabilities/settings/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/settings/settings.d.ts +0 -5
- package/dist/types/src/capabilities/settings/settings.d.ts.map +0 -1
- package/dist/types/src/capabilities/state/index.d.ts +0 -3
- package/dist/types/src/capabilities/state/index.d.ts.map +0 -1
- package/dist/types/src/capabilities/state/state.d.ts +0 -7
- package/dist/types/src/capabilities/state/state.d.ts.map +0 -1
- package/dist/types/src/components/CallDebugPanel.d.ts.map +0 -1
- package/dist/types/src/components/CallSidebar.d.ts.map +0 -1
- package/dist/types/src/components/ChannelContainer.d.ts +0 -13
- package/dist/types/src/components/ChannelContainer.d.ts.map +0 -1
- package/dist/types/src/components/ChannelContainer.stories.d.ts +0 -164
- package/dist/types/src/components/ChannelContainer.stories.d.ts.map +0 -1
- package/dist/types/src/components/Chat.stories.d.ts +0 -164
- package/dist/types/src/components/Chat.stories.d.ts.map +0 -1
- package/dist/types/src/components/ChatContainer.d.ts.map +0 -1
- package/dist/types/src/components/Comments.stories.d.ts +0 -162
- package/dist/types/src/components/Comments.stories.d.ts.map +0 -1
- package/dist/types/src/components/CommentsContainer.d.ts +0 -13
- package/dist/types/src/components/CommentsContainer.d.ts.map +0 -1
- package/dist/types/src/components/CommentsThreadContainer.d.ts.map +0 -1
- package/dist/types/src/components/MessageContainer.d.ts +0 -15
- package/dist/types/src/components/MessageContainer.d.ts.map +0 -1
- package/dist/types/src/components/ResponsiveGrid/ResponsiveContainer.d.ts.map +0 -1
- package/dist/types/src/components/ResponsiveGrid/ResponsiveContainer.stories.d.ts +0 -166
- package/dist/types/src/components/ResponsiveGrid/ResponsiveContainer.stories.d.ts.map +0 -1
- package/dist/types/src/components/ThreadCompanion.d.ts +0 -5
- package/dist/types/src/components/ThreadCompanion.d.ts.map +0 -1
- package/dist/types/src/components/ThreadSettings.d.ts +0 -8
- package/dist/types/src/components/ThreadSettings.d.ts.map +0 -1
- package/dist/types/src/components/command-extension.d.ts.map +0 -1
- package/dist/types/src/components/testing.d.ts.map +0 -1
- package/dist/types/src/functions/create-proposals.d.ts +0 -6
- package/dist/types/src/functions/create-proposals.d.ts.map +0 -1
- package/dist/types/src/functions/index.d.ts +0 -2
- package/dist/types/src/functions/index.d.ts.map +0 -1
- package/src/capabilities/app-graph-builder/index.ts +0 -7
- package/src/capabilities/blueprint-definition/blueprint-definition.ts +0 -23
- package/src/capabilities/blueprint-definition/index.ts +0 -7
- package/src/capabilities/call-manager/index.ts +0 -7
- package/src/capabilities/markdown/index.ts +0 -7
- package/src/capabilities/operation-resolver/index.ts +0 -7
- package/src/capabilities/operation-resolver/operation-resolver.ts +0 -400
- package/src/capabilities/react-root/index.ts +0 -7
- package/src/capabilities/react-surface/index.ts +0 -7
- package/src/capabilities/repair/index.ts +0 -7
- package/src/capabilities/repair/repair.ts +0 -51
- package/src/capabilities/settings/index.ts +0 -7
- package/src/capabilities/state/index.ts +0 -7
- package/src/components/ChatContainer.tsx +0 -155
- package/src/components/ThreadSettings.tsx +0 -21
- package/src/functions/create-proposals.ts +0 -57
- package/src/functions/index.ts +0 -5
- /package/src/{components/testing.ts → testing/data.ts} +0 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
RestoreMessage
|
|
4
|
+
} from "./chunk-BAKHDRSB.mjs";
|
|
5
|
+
import "./chunk-M6EZRL5B.mjs";
|
|
6
|
+
import "./chunk-HSLMI22Q.mjs";
|
|
7
|
+
|
|
8
|
+
// src/operations/restore-message.ts
|
|
9
|
+
import * as Effect from "effect/Effect";
|
|
10
|
+
import { Obj, Ref, Relation } from "@dxos/echo";
|
|
11
|
+
import { invariant } from "@dxos/invariant";
|
|
12
|
+
import { Operation } from "@dxos/operation";
|
|
13
|
+
import { ObservabilityOperation } from "@dxos/plugin-observability/operations";
|
|
14
|
+
var __dxlog_file = "/__w/dxos/dxos/packages/plugins/plugin-thread/src/operations/restore-message.ts";
|
|
15
|
+
var handler = RestoreMessage.pipe(Operation.withHandler(Effect.fnUntraced(function* ({ anchor, message, messageIndex }) {
|
|
16
|
+
const thread = Relation.getSource(anchor);
|
|
17
|
+
const db = Obj.getDatabase(thread);
|
|
18
|
+
invariant(db, "Database not found", {
|
|
19
|
+
F: __dxlog_file,
|
|
20
|
+
L: 20,
|
|
21
|
+
S: this,
|
|
22
|
+
A: [
|
|
23
|
+
"db",
|
|
24
|
+
"'Database not found'"
|
|
25
|
+
]
|
|
26
|
+
});
|
|
27
|
+
Obj.change(thread, (obj) => {
|
|
28
|
+
obj.messages.splice(messageIndex, 0, Ref.make(message));
|
|
29
|
+
});
|
|
30
|
+
yield* Operation.schedule(ObservabilityOperation.SendEvent, {
|
|
31
|
+
name: "threads.message.undo-delete",
|
|
32
|
+
properties: {
|
|
33
|
+
spaceId: db.spaceId,
|
|
34
|
+
threadId: thread.id,
|
|
35
|
+
messageId: message.id
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
})));
|
|
39
|
+
var restore_message_default = handler;
|
|
40
|
+
export {
|
|
41
|
+
restore_message_default as default
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=restore-message-2Z6KR3RJ.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/operations/restore-message.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Obj, Ref, Relation } from '@dxos/echo';\nimport { invariant } from '@dxos/invariant';\nimport { Operation } from '@dxos/operation';\nimport { ObservabilityOperation } from '@dxos/plugin-observability/operations';\nimport { Thread } from '@dxos/types';\n\nimport { RestoreMessage } from './definitions';\n\nconst handler: Operation.WithHandler<typeof RestoreMessage> = RestoreMessage.pipe(\n Operation.withHandler(\n Effect.fnUntraced(function* ({ anchor, message, messageIndex }) {\n const thread = Relation.getSource(anchor) as Thread.Thread;\n const db = Obj.getDatabase(thread);\n invariant(db, 'Database not found');\n\n Obj.change(thread, (obj) => {\n obj.messages.splice(messageIndex, 0, Ref.make(message));\n });\n\n yield* Operation.schedule(ObservabilityOperation.SendEvent, {\n name: 'threads.message.undo-delete',\n properties: {\n spaceId: db.spaceId,\n threadId: thread.id,\n messageId: message.id,\n },\n });\n }),\n ),\n);\n\nexport default handler;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,KAAKC,KAAKC,gBAAgB;AACnC,SAASC,iBAAiB;AAC1B,SAASC,iBAAiB;AAC1B,SAASC,8BAA8B;;AAKvC,IAAMC,UAAwDC,eAAeC,KAC3EC,UAAUC,YACDC,kBAAW,WAAW,EAAEC,QAAQC,SAASC,aAAY,GAAE;AAC5D,QAAMC,SAASC,SAASC,UAAUL,MAAAA;AAClC,QAAMM,KAAKC,IAAIC,YAAYL,MAAAA;AAC3BM,YAAUH,IAAI,sBAAA;;;;;;;;;AAEdC,MAAIG,OAAOP,QAAQ,CAACQ,QAAAA;AAClBA,QAAIC,SAASC,OAAOX,cAAc,GAAGY,IAAIC,KAAKd,OAAAA,CAAAA;EAChD,CAAA;AAEA,SAAOJ,UAAUmB,SAASC,uBAAuBC,WAAW;IAC1DC,MAAM;IACNC,YAAY;MACVC,SAASf,GAAGe;MACZC,UAAUnB,OAAOoB;MACjBC,WAAWvB,QAAQsB;IACrB;EACF,CAAA;AACF,CAAA,CAAA,CAAA;AAIJ,IAAA,0BAAe7B;",
|
|
6
|
+
"names": ["Effect", "Obj", "Ref", "Relation", "invariant", "Operation", "ObservabilityOperation", "handler", "RestoreMessage", "pipe", "Operation", "withHandler", "fnUntraced", "anchor", "message", "messageIndex", "thread", "Relation", "getSource", "db", "Obj", "getDatabase", "invariant", "change", "obj", "messages", "splice", "Ref", "make", "schedule", "ObservabilityOperation", "SendEvent", "name", "properties", "spaceId", "threadId", "id", "messageId"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
Select
|
|
4
|
+
} from "./chunk-BAKHDRSB.mjs";
|
|
5
|
+
import {
|
|
6
|
+
ThreadCapabilities
|
|
7
|
+
} from "./chunk-M6EZRL5B.mjs";
|
|
8
|
+
import "./chunk-HSLMI22Q.mjs";
|
|
9
|
+
|
|
10
|
+
// src/operations/select.ts
|
|
11
|
+
import * as Effect from "effect/Effect";
|
|
12
|
+
import { Capabilities, Capability } from "@dxos/app-framework";
|
|
13
|
+
import { Operation } from "@dxos/operation";
|
|
14
|
+
var handler = Select.pipe(Operation.withHandler(Effect.fnUntraced(function* (input) {
|
|
15
|
+
const registry = yield* Capability.get(Capabilities.AtomRegistry);
|
|
16
|
+
const stateAtom = yield* Capability.get(ThreadCapabilities.State);
|
|
17
|
+
const current = registry.get(stateAtom);
|
|
18
|
+
registry.set(stateAtom, {
|
|
19
|
+
...current,
|
|
20
|
+
current: input.current
|
|
21
|
+
});
|
|
22
|
+
})));
|
|
23
|
+
var select_default = handler;
|
|
24
|
+
export {
|
|
25
|
+
select_default as default
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=select-MLVUUPYK.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/operations/select.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Capabilities, Capability } from '@dxos/app-framework';\nimport { Operation } from '@dxos/operation';\n\nimport { Select } from './definitions';\n\nimport { ThreadCapabilities } from '../types';\n\nconst handler: Operation.WithHandler<typeof Select> = Select.pipe(\n Operation.withHandler(\n Effect.fnUntraced(function* (input) {\n const registry = yield* Capability.get(Capabilities.AtomRegistry);\n const stateAtom = yield* Capability.get(ThreadCapabilities.State);\n const current = registry.get(stateAtom);\n registry.set(stateAtom, { ...current, current: input.current });\n }),\n ),\n);\n\nexport default handler;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,cAAcC,kBAAkB;AACzC,SAASC,iBAAiB;AAM1B,IAAMC,UAAgDC,OAAOC,KAC3DC,UAAUC,YACDC,kBAAW,WAAWC,OAAK;AAChC,QAAMC,WAAW,OAAOC,WAAWC,IAAIC,aAAaC,YAAY;AAChE,QAAMC,YAAY,OAAOJ,WAAWC,IAAII,mBAAmBC,KAAK;AAChE,QAAMC,UAAUR,SAASE,IAAIG,SAAAA;AAC7BL,WAASS,IAAIJ,WAAW;IAAE,GAAGG;IAASA,SAAST,MAAMS;EAAQ,CAAA;AAC/D,CAAA,CAAA,CAAA;AAIJ,IAAA,iBAAef;",
|
|
6
|
+
"names": ["Effect", "Capabilities", "Capability", "Operation", "handler", "Select", "pipe", "Operation", "withHandler", "fnUntraced", "input", "registry", "Capability", "get", "Capabilities", "AtomRegistry", "stateAtom", "ThreadCapabilities", "State", "current", "set"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
ToggleResolved
|
|
4
|
+
} from "./chunk-BAKHDRSB.mjs";
|
|
5
|
+
import "./chunk-M6EZRL5B.mjs";
|
|
6
|
+
import "./chunk-HSLMI22Q.mjs";
|
|
7
|
+
|
|
8
|
+
// src/operations/toggle-resolved.ts
|
|
9
|
+
import * as Effect from "effect/Effect";
|
|
10
|
+
import { Obj } from "@dxos/echo";
|
|
11
|
+
import { invariant } from "@dxos/invariant";
|
|
12
|
+
import { Operation } from "@dxos/operation";
|
|
13
|
+
import { ObservabilityOperation } from "@dxos/plugin-observability/operations";
|
|
14
|
+
var __dxlog_file = "/__w/dxos/dxos/packages/plugins/plugin-thread/src/operations/toggle-resolved.ts";
|
|
15
|
+
var handler = ToggleResolved.pipe(Operation.withHandler(Effect.fnUntraced(function* (input) {
|
|
16
|
+
const thread = input.thread;
|
|
17
|
+
Obj.change(thread, (obj) => {
|
|
18
|
+
if (obj.status === "active" || obj.status === void 0) {
|
|
19
|
+
obj.status = "resolved";
|
|
20
|
+
} else if (obj.status === "resolved") {
|
|
21
|
+
obj.status = "active";
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
const db = Obj.getDatabase(thread);
|
|
25
|
+
invariant(db, "Database not found", {
|
|
26
|
+
F: __dxlog_file,
|
|
27
|
+
L: 28,
|
|
28
|
+
S: this,
|
|
29
|
+
A: [
|
|
30
|
+
"db",
|
|
31
|
+
"'Database not found'"
|
|
32
|
+
]
|
|
33
|
+
});
|
|
34
|
+
yield* Operation.schedule(ObservabilityOperation.SendEvent, {
|
|
35
|
+
name: "threads.toggle-resolved",
|
|
36
|
+
properties: {
|
|
37
|
+
spaceId: db.spaceId,
|
|
38
|
+
threadId: thread.id
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
})));
|
|
42
|
+
var toggle_resolved_default = handler;
|
|
43
|
+
export {
|
|
44
|
+
toggle_resolved_default as default
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=toggle-resolved-Y2FRSWZ3.mjs.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/operations/toggle-resolved.ts"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2025 DXOS.org\n//\n\nimport * as Effect from 'effect/Effect';\n\nimport { Obj } from '@dxos/echo';\nimport { invariant } from '@dxos/invariant';\nimport { Operation } from '@dxos/operation';\nimport { ObservabilityOperation } from '@dxos/plugin-observability/operations';\n\nimport { ToggleResolved } from './definitions';\n\nconst handler: Operation.WithHandler<typeof ToggleResolved> = ToggleResolved.pipe(\n Operation.withHandler(\n Effect.fnUntraced(function* (input) {\n const thread = input.thread;\n\n Obj.change(thread, (obj) => {\n if (obj.status === 'active' || obj.status === undefined) {\n obj.status = 'resolved';\n } else if (obj.status === 'resolved') {\n obj.status = 'active';\n }\n });\n\n const db = Obj.getDatabase(thread);\n invariant(db, 'Database not found');\n\n yield* Operation.schedule(ObservabilityOperation.SendEvent, {\n name: 'threads.toggle-resolved',\n properties: {\n spaceId: db.spaceId,\n threadId: thread.id,\n },\n });\n }),\n ),\n);\n\nexport default handler;\n"],
|
|
5
|
+
"mappings": ";;;;;;;;AAIA,YAAYA,YAAY;AAExB,SAASC,WAAW;AACpB,SAASC,iBAAiB;AAC1B,SAASC,iBAAiB;AAC1B,SAASC,8BAA8B;;AAIvC,IAAMC,UAAwDC,eAAeC,KAC3EC,UAAUC,YACDC,kBAAW,WAAWC,OAAK;AAChC,QAAMC,SAASD,MAAMC;AAErBC,MAAIC,OAAOF,QAAQ,CAACG,QAAAA;AAClB,QAAIA,IAAIC,WAAW,YAAYD,IAAIC,WAAWC,QAAW;AACvDF,UAAIC,SAAS;IACf,WAAWD,IAAIC,WAAW,YAAY;AACpCD,UAAIC,SAAS;IACf;EACF,CAAA;AAEA,QAAME,KAAKL,IAAIM,YAAYP,MAAAA;AAC3BQ,YAAUF,IAAI,sBAAA;;;;;;;;;AAEd,SAAOV,UAAUa,SAASC,uBAAuBC,WAAW;IAC1DC,MAAM;IACNC,YAAY;MACVC,SAASR,GAAGQ;MACZC,UAAUf,OAAOgB;IACnB;EACF,CAAA;AACF,CAAA,CAAA,CAAA;AAIJ,IAAA,0BAAevB;",
|
|
6
|
+
"names": ["Effect", "Obj", "invariant", "Operation", "ObservabilityOperation", "handler", "ToggleResolved", "pipe", "Operation", "withHandler", "fnUntraced", "input", "thread", "Obj", "change", "obj", "status", "undefined", "db", "getDatabase", "invariant", "schedule", "ObservabilityOperation", "SendEvent", "name", "properties", "spaceId", "threadId", "id"]
|
|
7
|
+
}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { createRequire } from 'node:module';const require = createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
Channel_exports,
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "../chunk-WMWUXWAS.mjs";
|
|
4
|
+
Settings_exports,
|
|
5
|
+
ThreadCapabilities
|
|
6
|
+
} from "../chunk-M6EZRL5B.mjs";
|
|
8
7
|
import "../chunk-HSLMI22Q.mjs";
|
|
9
8
|
export {
|
|
10
9
|
Channel_exports as Channel,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
ThreadSettingsSchema
|
|
10
|
+
Settings_exports as Settings,
|
|
11
|
+
ThreadCapabilities
|
|
14
12
|
};
|
|
15
13
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThreadPlugin.d.ts","sourceRoot":"","sources":["../../../src/ThreadPlugin.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ThreadPlugin.d.ts","sourceRoot":"","sources":["../../../src/ThreadPlugin.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAc,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAkCzD,eAAO,MAAM,YAAY,4BAyFxB,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { default as ThreadBlueprint } from './thread-blueprint';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/blueprints/index.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/blueprints/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,21 +1,4 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
export declare const make: () => import("@dxos/echo/Obj").Obj<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
5
|
-
readonly description?: string | undefined;
|
|
6
|
-
readonly name: string;
|
|
7
|
-
readonly key: string;
|
|
8
|
-
readonly instructions: {
|
|
9
|
-
readonly source: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
10
|
-
readonly content: string;
|
|
11
|
-
}>;
|
|
12
|
-
readonly inputs?: readonly {
|
|
13
|
-
readonly function?: string | undefined;
|
|
14
|
-
readonly name: string;
|
|
15
|
-
readonly kind?: "function" | "value" | "pass-through" | "retriever" | "query" | "resolver" | "context" | "schema" | undefined;
|
|
16
|
-
readonly default?: any;
|
|
17
|
-
}[] | undefined;
|
|
18
|
-
};
|
|
19
|
-
readonly tools: readonly (string & import("effect/Brand").Brand<"ToolId">)[];
|
|
20
|
-
}>;
|
|
1
|
+
import { type AppCapabilities } from '@dxos/app-toolkit';
|
|
2
|
+
declare const blueprint: AppCapabilities.BlueprintDefinition;
|
|
3
|
+
export default blueprint;
|
|
21
4
|
//# sourceMappingURL=thread-blueprint.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread-blueprint.d.ts","sourceRoot":"","sources":["../../../../src/blueprints/thread-blueprint.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"thread-blueprint.d.ts","sourceRoot":"","sources":["../../../../src/blueprints/thread-blueprint.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AA2BzD,QAAA,MAAM,SAAS,EAAE,eAAe,CAAC,mBAGhC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { type StoryObj } from '@storybook/react-vite';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
type
|
|
3
|
+
type DefaultStoryProps = {
|
|
4
4
|
source: string;
|
|
5
5
|
};
|
|
6
6
|
declare const meta: {
|
|
7
7
|
title: string;
|
|
8
|
-
render: ({ source }:
|
|
8
|
+
render: ({ source }: DefaultStoryProps) => React.JSX.Element;
|
|
9
9
|
decorators: import("@storybook/react").Decorator[];
|
|
10
10
|
parameters: {
|
|
11
11
|
layout: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calls-service.stories.d.ts","sourceRoot":"","sources":["../../../src/calls-service.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAA4D,MAAM,OAAO,CAAC;AA+HjF,KAAK,
|
|
1
|
+
{"version":3,"file":"calls-service.stories.d.ts","sourceRoot":"","sources":["../../../src/calls-service.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAA4D,MAAM,OAAO,CAAC;AA+HjF,KAAK,iBAAiB,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAyC5C,QAAA,MAAM,IAAI;;yBAvCwB,iBAAiB;;;;;CAyDd,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,yBAAyB;;CAYrC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;CAWjC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capability } from '@dxos/app-framework';
|
|
3
|
+
import { GraphBuilder } from '@dxos/plugin-graph';
|
|
4
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<GraphBuilder.BuilderExtensions>>, never, Capability.Service>;
|
|
5
|
+
export default _default;
|
|
6
|
+
//# sourceMappingURL=app-graph-builder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-graph-builder.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/app-graph-builder.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAMjD,OAAO,EAAE,YAAY,EAAe,MAAM,oBAAoB,CAAC;;AA4C/D,wBAqIE"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capability } from '@dxos/app-framework';
|
|
3
|
+
import { AppCapabilities } from '@dxos/app-toolkit';
|
|
4
|
+
declare const blueprintDefinition: (props: []) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<AppCapabilities.BlueprintDefinition>>[], Error, Capability.Service>;
|
|
5
|
+
export default blueprintDefinition;
|
|
6
|
+
//# sourceMappingURL=blueprint-definition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blueprint-definition.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/blueprint-definition.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAIpD,QAAA,MAAM,mBAAmB,gJAG8E,CAAC;AAExG,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capability } from '@dxos/app-framework';
|
|
3
|
+
import { CallManager } from '../calls';
|
|
4
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<CallManager>>, Error, Capability.Service>;
|
|
5
|
+
export default _default;
|
|
6
|
+
//# sourceMappingURL=call-manager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"call-manager.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/call-manager.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAG/D,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;;AAGvC,wBAaE"}
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { Capability } from '@dxos/app-framework';
|
|
2
|
+
import { OperationHandlerSet } from '@dxos/operation';
|
|
3
|
+
export declare const AppGraphBuilder: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-graph").BuilderExtensions>>, Error>;
|
|
4
|
+
export declare const BlueprintDefinition: Capability.LazyCapability<[], Capability.Capability<Capability.InterfaceDef<import("@dxos/app-toolkit").AppCapabilities.BlueprintDefinition>>[], Error>;
|
|
5
|
+
export declare const CallManager: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("..").CallManager>>, Error>;
|
|
6
|
+
export declare const Markdown: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/plugin-markdown").MarkdownExtensionProvider[]>>, Error>;
|
|
7
|
+
export declare const OperationHandler: Capability.LazyCapability<OperationHandlerSet.OperationHandlerSet, Capability.ModuleReturn, Error>;
|
|
8
|
+
export declare const ReactRoot: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<Readonly<{
|
|
9
|
+
id: string;
|
|
10
|
+
root: import("react").FC<import("react").PropsWithChildren>;
|
|
11
|
+
}>>>, Error>;
|
|
12
|
+
export declare const ReactSurface: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").ReactSurface>>, Error>;
|
|
13
|
+
export declare const ThreadSettings: Capability.LazyCapability<void, [Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<{}, {}>>>, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-toolkit").AppCapabilities.Settings>>], Error>;
|
|
14
|
+
export declare const ThreadState: Capability.LazyCapability<void, [Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<import("../types").ThreadState, import("../types").ThreadState>>>, Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<import("../types").ViewStore, import("../types").ViewStore>>>], Error>;
|
|
15
|
+
export declare const UndoMappings: Capability.LazyCapability<void, Capability.Capability<Capability.InterfaceDef<import("@dxos/app-framework/Capabilities").UndoMapping[]>>, Error>;
|
|
11
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAEtD,eAAO,MAAM,eAAe,qIAA0E,CAAC;AACvG,eAAO,MAAM,mBAAmB,yJAAiF,CAAC;AAClH,eAAO,MAAM,WAAW,kHAAiE,CAAC;AAC1F,eAAO,MAAM,QAAQ,qJAA0D,CAAC;AAChF,eAAO,MAAM,gBAAgB,oGAG5B,CAAC;AACF,eAAO,MAAM,SAAS;;;YAA6D,CAAC;AACpF,eAAO,MAAM,YAAY,iJAAmE,CAAC;AAC7F,eAAO,MAAM,cAAc,mPAAgE,CAAC;AAC5F,eAAO,MAAM,WAAW,4VAA0D,CAAC;AACnF,eAAO,MAAM,YAAY,kJAAmE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capability } from '@dxos/app-framework';
|
|
3
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<import("@dxos/plugin-markdown").MarkdownExtensionProvider[]>>, never, Capability.Service>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=markdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/markdown.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;;AAS/D,wBA+CE"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capability } from '@dxos/app-framework';
|
|
3
|
+
import type { OperationHandlerSet } from '@dxos/operation';
|
|
4
|
+
declare const _default: (props: OperationHandlerSet.OperationHandlerSet) => Effect.Effect<Capability.ModuleReturn, Error, Capability.Service>;
|
|
5
|
+
export default _default;
|
|
6
|
+
//# sourceMappingURL=operation-handler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"operation-handler.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/operation-handler.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;;AAI3D,wBAIE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Effect from 'effect/Effect';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Capability } from '@dxos/app-framework';
|
|
4
|
-
declare const _default: (props
|
|
4
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Readonly<{
|
|
5
5
|
id: string;
|
|
6
6
|
root: React.FC<React.PropsWithChildren>;
|
|
7
7
|
}>>>, never, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-root.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-root.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;;;;;AAK/D,wBAOE"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capabilities, Capability } from '@dxos/app-framework';
|
|
3
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.ReactSurface>>, never, never>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=react-surface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;;AAY/D,wBA0EE"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capability } from '@dxos/app-framework';
|
|
3
|
+
import { AppCapabilities } from '@dxos/app-toolkit';
|
|
4
|
+
declare const _default: (props: void) => Effect.Effect<[Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<{}, {}>>>, Capability.Capability<Capability.InterfaceDef<AppCapabilities.Settings>>], never, never>;
|
|
5
|
+
export default _default;
|
|
6
|
+
//# sourceMappingURL=settings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/settings.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;;AAOpD,wBAmBE"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Atom } from '@effect-atom/atom-react';
|
|
2
|
+
import * as Effect from 'effect/Effect';
|
|
3
|
+
import { Capability } from '@dxos/app-framework';
|
|
4
|
+
import { type ThreadState, type ViewStore } from '#types';
|
|
5
|
+
declare const _default: (props: void) => Effect.Effect<[Capability.Capability<Capability.InterfaceDef<Atom.Writable<ThreadState, ThreadState>>>, Capability.Capability<Capability.InterfaceDef<Atom.Writable<ViewStore, ViewStore>>>], never, never>;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,EAAsB,KAAK,WAAW,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC;;AAE9E,wBAUE"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capabilities, Capability } from '@dxos/app-framework';
|
|
3
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Capability<Capability.InterfaceDef<Capabilities.UndoMapping[]>>, never, never>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=undo-mappings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"undo-mappings.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/undo-mappings.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAe,MAAM,qBAAqB,CAAC;;AAK5E,wBAkCE"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type ThemedClassName } from '@dxos/react-ui';
|
|
3
|
-
import { type Channel } from '
|
|
3
|
+
import { type Channel } from '#types';
|
|
4
4
|
export type ToolbarProps = ThemedClassName<{
|
|
5
5
|
channel?: Channel.Channel;
|
|
6
6
|
participants?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/Toolbar.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Call/Toolbar.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAKL,KAAK,eAAe,EAGrB,MAAM,gBAAgB,CAAC;AAKxB,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,QAAQ,CAAC;AAEtC,MAAM,MAAM,YAAY,GAAG,eAAe,CAAC;IACzC,OAAO,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC,CAAC;AAGH,eAAO,MAAM,OAAO;gFAOjB,YAAY;;CAiId,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type AnchoredTo } from '@dxos/types';
|
|
3
|
+
import { type CommentsThreadProps } from './CommentsThread';
|
|
4
|
+
export type CommentsPanelProps = Omit<CommentsThreadProps, 'anchor' | 'current'> & {
|
|
5
|
+
anchors: AnchoredTo.AnchoredTo[];
|
|
6
|
+
currentId?: string;
|
|
7
|
+
showResolvedThreads?: boolean;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Root container for collection of comment threads.
|
|
11
|
+
*/
|
|
12
|
+
export declare const CommentsPanel: ({ anchors, currentId, showResolvedThreads, ...props }: CommentsPanelProps) => React.JSX.Element;
|
|
13
|
+
//# sourceMappingURL=CommentsPanel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommentsPanel.d.ts","sourceRoot":"","sources":["../../../../../src/components/CommentsPanel/CommentsPanel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAIzC,OAAO,EAAE,KAAK,UAAU,EAAe,MAAM,aAAa,CAAC;AAI3D,OAAO,EAAkB,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5E,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,mBAAmB,EAAE,QAAQ,GAAG,SAAS,CAAC,GAAG;IACjF,OAAO,EAAE,UAAU,CAAC,UAAU,EAAE,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,uDAAuD,kBAAkB,sBA+CtG,CAAC"}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { type StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
render: () => React.JSX.Element;
|
|
6
|
+
decorators: import("@storybook/react").Decorator[];
|
|
7
|
+
parameters: {
|
|
8
|
+
translations: [{
|
|
9
|
+
readonly 'en-US': {
|
|
10
|
+
readonly [x: string]: {
|
|
11
|
+
readonly 'typename.label': "Channel";
|
|
12
|
+
readonly 'typename.label_zero': "Channels";
|
|
13
|
+
readonly 'typename.label_one': "Channel";
|
|
14
|
+
readonly 'typename.label_other': "Channels";
|
|
15
|
+
readonly 'object-name.placeholder': "New channel";
|
|
16
|
+
readonly 'add-object.label': "Add channel";
|
|
17
|
+
readonly 'rename-object.label': "Rename channel";
|
|
18
|
+
readonly 'delete-object.label': "Delete channel";
|
|
19
|
+
readonly 'object-deleted.label': "Channel deleted";
|
|
20
|
+
readonly 'plugin.name'?: undefined;
|
|
21
|
+
readonly 'channel-title.label'?: undefined;
|
|
22
|
+
readonly 'message.placeholder'?: undefined;
|
|
23
|
+
readonly 'activity.message'?: undefined;
|
|
24
|
+
readonly 'anonymous.label'?: undefined;
|
|
25
|
+
readonly 'delete-message-block.label'?: undefined;
|
|
26
|
+
readonly 'detached-thread.label'?: undefined;
|
|
27
|
+
readonly 'delete-thread.label'?: undefined;
|
|
28
|
+
readonly 'resolve-thread.label'?: undefined;
|
|
29
|
+
readonly 'thread-deleted.label'?: undefined;
|
|
30
|
+
readonly 'message-deleted.label'?: undefined;
|
|
31
|
+
readonly 'comments.heading'?: undefined;
|
|
32
|
+
readonly 'chat.heading'?: undefined;
|
|
33
|
+
readonly 'draft.button'?: undefined;
|
|
34
|
+
readonly 'no-comments.title'?: undefined;
|
|
35
|
+
readonly 'no-comments.message'?: undefined;
|
|
36
|
+
readonly 'toggle-show-resolved.label'?: undefined;
|
|
37
|
+
readonly 'unnamed-object-threads.label'?: undefined;
|
|
38
|
+
readonly 'mark-as-resolved.label'?: undefined;
|
|
39
|
+
readonly 'mark-as-unresolved.label'?: undefined;
|
|
40
|
+
readonly 'save-message.label'?: undefined;
|
|
41
|
+
readonly 'edit-message.label'?: undefined;
|
|
42
|
+
readonly 'delete-message.label'?: undefined;
|
|
43
|
+
readonly 'accept-proposal.label'?: undefined;
|
|
44
|
+
readonly 'open-comments-panel.label'?: undefined;
|
|
45
|
+
readonly 'comments.label'?: undefined;
|
|
46
|
+
readonly 'show-all.label'?: undefined;
|
|
47
|
+
readonly 'show-unresolved.label'?: undefined;
|
|
48
|
+
readonly 'add-comment.label'?: undefined;
|
|
49
|
+
readonly 'channel-companion.label'?: undefined;
|
|
50
|
+
readonly 'call-panel.label'?: undefined;
|
|
51
|
+
readonly 'display-name.label'?: undefined;
|
|
52
|
+
readonly 'display-name.description'?: undefined;
|
|
53
|
+
readonly 'display-name-input.placeholder'?: undefined;
|
|
54
|
+
readonly 'set-display-name.label'?: undefined;
|
|
55
|
+
readonly 'call-tab.label'?: undefined;
|
|
56
|
+
readonly 'meeting-status.title'?: undefined;
|
|
57
|
+
readonly 'share-meeting-link.label'?: undefined;
|
|
58
|
+
readonly 'show-webrtc-stats.title'?: undefined;
|
|
59
|
+
readonly 'show-calls-history.title'?: undefined;
|
|
60
|
+
readonly 'meeting-summary.label'?: undefined;
|
|
61
|
+
readonly 'summarize.label'?: undefined;
|
|
62
|
+
readonly 'summarizing.label'?: undefined;
|
|
63
|
+
readonly 'create-summary.message'?: undefined;
|
|
64
|
+
readonly 'icon-pin.label'?: undefined;
|
|
65
|
+
readonly 'icon-unpin.label'?: undefined;
|
|
66
|
+
readonly 'icon-wave.label'?: undefined;
|
|
67
|
+
readonly 'icon-muted.label'?: undefined;
|
|
68
|
+
readonly 'join-call.button'?: undefined;
|
|
69
|
+
readonly 'leave-call.button'?: undefined;
|
|
70
|
+
readonly 'mic-on.button'?: undefined;
|
|
71
|
+
readonly 'mic-off.button'?: undefined;
|
|
72
|
+
readonly 'camera-on.button'?: undefined;
|
|
73
|
+
readonly 'camera-off.button'?: undefined;
|
|
74
|
+
readonly 'camera-off.label'?: undefined;
|
|
75
|
+
readonly 'raise-hand.button'?: undefined;
|
|
76
|
+
readonly 'lower-hand.button'?: undefined;
|
|
77
|
+
readonly 'screenshare-on.button'?: undefined;
|
|
78
|
+
readonly 'screenshare-off.button'?: undefined;
|
|
79
|
+
readonly 'channel-toolbar.title'?: undefined;
|
|
80
|
+
readonly 'start-video-call.menu'?: undefined;
|
|
81
|
+
} | {
|
|
82
|
+
readonly 'plugin.name': "Chat";
|
|
83
|
+
readonly 'channel-title.label': "Title";
|
|
84
|
+
readonly 'message.placeholder': "Reply…";
|
|
85
|
+
readonly 'activity.message': "Processing…";
|
|
86
|
+
readonly 'anonymous.label': "Anonymous";
|
|
87
|
+
readonly 'delete-message-block.label': "Delete message block";
|
|
88
|
+
readonly 'detached-thread.label': "Referenced content was removed";
|
|
89
|
+
readonly 'delete-thread.label': "Delete thread";
|
|
90
|
+
readonly 'resolve-thread.label': "Resolve thread";
|
|
91
|
+
readonly 'thread-deleted.label': "Thread deleted";
|
|
92
|
+
readonly 'message-deleted.label': "Message deleted";
|
|
93
|
+
readonly 'comments.heading': "Comments";
|
|
94
|
+
readonly 'chat.heading': "Chat";
|
|
95
|
+
readonly 'draft.button': "DRAFT";
|
|
96
|
+
readonly 'no-comments.title': "Comments";
|
|
97
|
+
readonly 'no-comments.message': "Click on the <commentIcon></commentIcon> button in the document toolbar to create a comment thread on the selected text.";
|
|
98
|
+
readonly 'toggle-show-resolved.label': "Show resolved";
|
|
99
|
+
readonly 'unnamed-object-threads.label': "Threads";
|
|
100
|
+
readonly 'mark-as-resolved.label': "Mark as resolved";
|
|
101
|
+
readonly 'mark-as-unresolved.label': "Mark as unresolved";
|
|
102
|
+
readonly 'save-message.label': "Save";
|
|
103
|
+
readonly 'edit-message.label': "Edit";
|
|
104
|
+
readonly 'delete-message.label': "Delete message";
|
|
105
|
+
readonly 'accept-proposal.label': "Accept proposal";
|
|
106
|
+
readonly 'open-comments-panel.label': "Show Comments";
|
|
107
|
+
readonly 'comments.label': "Comments";
|
|
108
|
+
readonly 'show-all.label': "All comments";
|
|
109
|
+
readonly 'show-unresolved.label': "Unresolved comments";
|
|
110
|
+
readonly 'add-comment.label': "Add comment";
|
|
111
|
+
readonly 'channel-companion.label': "Channel";
|
|
112
|
+
readonly 'call-panel.label': "Active Call";
|
|
113
|
+
readonly 'display-name.label': "Display name";
|
|
114
|
+
readonly 'display-name.description': "Set your display name before joining a meeting.";
|
|
115
|
+
readonly 'display-name-input.placeholder': "Enter your name";
|
|
116
|
+
readonly 'set-display-name.label': "Continue";
|
|
117
|
+
readonly 'call-tab.label': "Call";
|
|
118
|
+
readonly 'meeting-status.title': "Calls";
|
|
119
|
+
readonly 'share-meeting-link.label': "Share meeting";
|
|
120
|
+
readonly 'show-webrtc-stats.title': "WebRTC Stats";
|
|
121
|
+
readonly 'show-calls-history.title': "Service History";
|
|
122
|
+
readonly 'meeting-summary.label': "Summary";
|
|
123
|
+
readonly 'summarize.label': "Summarize";
|
|
124
|
+
readonly 'summarizing.label': "Creating summary...";
|
|
125
|
+
readonly 'create-summary.message': "A summary doesn’t exist for this meeting yet. Create one now?";
|
|
126
|
+
readonly 'icon-pin.label': "Pin video";
|
|
127
|
+
readonly 'icon-unpin.label': "Unpin video";
|
|
128
|
+
readonly 'icon-wave.label': "Waving";
|
|
129
|
+
readonly 'icon-muted.label': "Muted";
|
|
130
|
+
readonly 'join-call.button': "Join";
|
|
131
|
+
readonly 'leave-call.button': "Leave";
|
|
132
|
+
readonly 'mic-on.button': "Unmute";
|
|
133
|
+
readonly 'mic-off.button': "Mute";
|
|
134
|
+
readonly 'camera-on.button': "Turn camera on";
|
|
135
|
+
readonly 'camera-off.button': "Turn camera off";
|
|
136
|
+
readonly 'camera-off.label': "Camera off";
|
|
137
|
+
readonly 'raise-hand.button': "Raise hand";
|
|
138
|
+
readonly 'lower-hand.button': "Lower hand";
|
|
139
|
+
readonly 'screenshare-on.button': "Share screen";
|
|
140
|
+
readonly 'screenshare-off.button': "Stop streaming";
|
|
141
|
+
readonly 'channel-toolbar.title': "Channel actions";
|
|
142
|
+
readonly 'start-video-call.menu': "Start video call";
|
|
143
|
+
readonly 'typename.label'?: undefined;
|
|
144
|
+
readonly 'typename.label_zero'?: undefined;
|
|
145
|
+
readonly 'typename.label_one'?: undefined;
|
|
146
|
+
readonly 'typename.label_other'?: undefined;
|
|
147
|
+
readonly 'object-name.placeholder'?: undefined;
|
|
148
|
+
readonly 'add-object.label'?: undefined;
|
|
149
|
+
readonly 'rename-object.label'?: undefined;
|
|
150
|
+
readonly 'delete-object.label'?: undefined;
|
|
151
|
+
readonly 'object-deleted.label'?: undefined;
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
}];
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
export default meta;
|
|
158
|
+
type Story = StoryObj<typeof meta>;
|
|
159
|
+
export declare const Default: Story;
|
|
160
|
+
//# sourceMappingURL=CommentsPanel.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommentsPanel.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/CommentsPanel/CommentsPanel.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAwD1B,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyB2B,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC"}
|