@dxos/plugin-thread 0.6.14-main.2b6a0f3 → 0.6.14-main.69511f5
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/{ThreadArticle-43QSPQ2B.mjs → ThreadArticle-2Y7UWZLA.mjs} +2 -2
- package/dist/lib/browser/{ThreadMain-VXHMJDQC.mjs → ThreadMain-VK5UEBQ7.mjs} +2 -2
- package/dist/lib/browser/{chunk-TDPY6D4W.mjs → chunk-LHT42MTJ.mjs} +1 -1
- package/dist/lib/browser/{chunk-JFQZ5W2I.mjs → chunk-WKCIKGGW.mjs} +1 -1
- package/dist/lib/browser/{chunk-JFQZ5W2I.mjs.map → chunk-WKCIKGGW.mjs.map} +1 -1
- package/dist/lib/browser/index.mjs +32 -11
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/types.mjs +1 -1
- package/dist/lib/node/{ThreadArticle-ILLKCW6I.cjs → ThreadArticle-CIYBYISR.cjs} +6 -6
- package/dist/lib/node/{ThreadMain-7UVE5D34.cjs → ThreadMain-V6KBUQLH.cjs} +6 -6
- package/dist/lib/node/{chunk-FOZUQZF4.cjs → chunk-A2IORKQK.cjs} +4 -4
- package/dist/lib/node/{chunk-FOZUQZF4.cjs.map → chunk-A2IORKQK.cjs.map} +1 -1
- package/dist/lib/node/{chunk-QVOXOTRV.cjs → chunk-HWN7Q5XK.cjs} +4 -4
- package/dist/lib/node/index.cjs +57 -36
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/types.cjs +2 -2
- package/dist/lib/node/types.cjs.map +1 -1
- package/dist/lib/node-esm/{ThreadArticle-MN2KCRY4.mjs → ThreadArticle-PXO4ZJFU.mjs} +2 -2
- package/dist/lib/node-esm/{ThreadMain-VKPAHZK7.mjs → ThreadMain-U7R24CN3.mjs} +2 -2
- package/dist/lib/node-esm/{chunk-ZXIPFXSA.mjs → chunk-KWNXG6FG.mjs} +1 -1
- package/dist/lib/node-esm/{chunk-ZXIPFXSA.mjs.map → chunk-KWNXG6FG.mjs.map} +1 -1
- package/dist/lib/node-esm/{chunk-5XQXCOZP.mjs → chunk-SXXOBRAX.mjs} +1 -1
- package/dist/lib/node-esm/index.mjs +32 -11
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/types.mjs +1 -1
- package/dist/types/src/ThreadPlugin.d.ts.map +1 -1
- package/dist/types/src/types.d.ts +1 -1
- package/dist/types/src/types.d.ts.map +1 -1
- package/package.json +35 -44
- package/src/ThreadPlugin.tsx +24 -5
- package/src/components/ThreadSettings.tsx +3 -3
- package/src/types.ts +1 -1
- /package/dist/lib/browser/{ThreadArticle-43QSPQ2B.mjs.map → ThreadArticle-2Y7UWZLA.mjs.map} +0 -0
- /package/dist/lib/browser/{ThreadMain-VXHMJDQC.mjs.map → ThreadMain-VK5UEBQ7.mjs.map} +0 -0
- /package/dist/lib/browser/{chunk-TDPY6D4W.mjs.map → chunk-LHT42MTJ.mjs.map} +0 -0
- /package/dist/lib/node/{ThreadArticle-ILLKCW6I.cjs.map → ThreadArticle-CIYBYISR.cjs.map} +0 -0
- /package/dist/lib/node/{ThreadMain-7UVE5D34.cjs.map → ThreadMain-V6KBUQLH.cjs.map} +0 -0
- /package/dist/lib/node/{chunk-QVOXOTRV.cjs.map → chunk-HWN7Q5XK.cjs.map} +0 -0
- /package/dist/lib/node-esm/{ThreadArticle-MN2KCRY4.mjs.map → ThreadArticle-PXO4ZJFU.mjs.map} +0 -0
- /package/dist/lib/node-esm/{ThreadMain-VKPAHZK7.mjs.map → ThreadMain-U7R24CN3.mjs.map} +0 -0
- /package/dist/lib/node-esm/{chunk-5XQXCOZP.mjs.map → chunk-SXXOBRAX.mjs.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/plugins/plugin-thread/src/components/command-extension.ts":{"bytes":3679,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/useStatus.ts":{"bytes":3661,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/analytics.ts":{"bytes":4347,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/meta","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/index.ts":{"bytes":602,"imports":[{"path":"packages/plugins/plugin-thread/src/hooks/useStatus.ts","kind":"import-statement","original":"./useStatus"},{"path":"packages/plugins/plugin-thread/src/hooks/analytics.ts","kind":"import-statement","original":"./analytics"}],"format":"esm"},"packages/plugins/plugin-thread/src/meta.ts":{"bytes":1400,"imports":[],"format":"esm"},"packages/plugins/plugin-thread/src/util.ts":{"bytes":3056,"imports":[{"path":"@dxos/display-name","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/components/MessageContainer.tsx":{"bytes":23739,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/CommentContainer.tsx":{"bytes":24394,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx":{"bytes":9875,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/CommentContainer.tsx","kind":"import-statement","original":"./CommentContainer"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ChatContainer.tsx":{"bytes":18688,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-deck","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/types.ts":{"bytes":3772,"imports":[{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx":{"bytes":14271,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx":{"bytes":2595,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-settings","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadMain.tsx":{"bytes":2735,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/ChatContainer.tsx","kind":"import-statement","original":"./ChatContainer"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadArticle.tsx":{"bytes":1740,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/ChatContainer.tsx","kind":"import-statement","original":"./ChatContainer"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/index.ts":{"bytes":1828,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/CommentContainer.tsx","kind":"import-statement","original":"./CommentContainer"},{"path":"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx","kind":"import-statement","original":"./CommentsContainer"},{"path":"packages/plugins/plugin-thread/src/components/ChatContainer.tsx","kind":"import-statement","original":"./ChatContainer"},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx","kind":"import-statement","original":"./ThreadComplementary"},{"path":"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx","kind":"import-statement","original":"./ThreadSettings"},{"path":"packages/plugins/plugin-thread/src/components/ThreadMain.tsx","kind":"dynamic-import","original":"./ThreadMain"},{"path":"packages/plugins/plugin-thread/src/components/ThreadArticle.tsx","kind":"dynamic-import","original":"./ThreadArticle"}],"format":"esm"},"packages/plugins/plugin-thread/src/extensions/threads.ts":{"bytes":13948,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-thread/src/extensions/index.ts":{"bytes":512,"imports":[{"path":"packages/plugins/plugin-thread/src/extensions/threads.ts","kind":"import-statement","original":"./threads"}],"format":"esm"},"packages/plugins/plugin-thread/src/translations.ts":{"bytes":4946,"imports":[{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/ThreadPlugin.tsx":{"bytes":89300,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/meta","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-thread/src/extensions/index.ts","kind":"import-statement","original":"./extensions"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-thread/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-thread/src/index.ts":{"bytes":948,"imports":[{"path":"packages/plugins/plugin-thread/src/ThreadPlugin.tsx","kind":"import-statement","original":"./ThreadPlugin"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-thread/src/ThreadPlugin.tsx","kind":"import-statement","original":"./ThreadPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-thread/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":74916},"packages/plugins/plugin-thread/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-JFQZ5W2I.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-TDPY6D4W.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-5G3KL6TC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/meta","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/plugin-settings","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/dist/lib/browser/ThreadMain-VXHMJDQC.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/ThreadArticle-43QSPQ2B.mjs","kind":"dynamic-import"},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["ThreadAction","ThreadPlugin","default","useAnalyticsCallback","useOnEditAnalytics","useStatus"],"entryPoint":"packages/plugins/plugin-thread/src/index.ts","inputs":{"packages/plugins/plugin-thread/src/ThreadPlugin.tsx":{"bytesInOutput":23752},"packages/plugins/plugin-thread/src/components/index.ts":{"bytesInOutput":168},"packages/plugins/plugin-thread/src/components/CommentContainer.tsx":{"bytesInOutput":6383},"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx":{"bytesInOutput":2259},"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx":{"bytesInOutput":3508},"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx":{"bytesInOutput":581},"packages/plugins/plugin-thread/src/extensions/threads.ts":{"bytesInOutput":2936},"packages/plugins/plugin-thread/src/translations.ts":{"bytesInOutput":1495},"packages/plugins/plugin-thread/src/index.ts":{"bytesInOutput":32}},"bytes":42282},"packages/plugins/plugin-thread/dist/lib/browser/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-thread/dist/lib/browser/meta.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-5G3KL6TC.mjs","kind":"import-statement"}],"exports":["THREAD_ITEM","THREAD_PLUGIN","default"],"entryPoint":"packages/plugins/plugin-thread/src/meta.ts","inputs":{},"bytes":191},"packages/plugins/plugin-thread/dist/lib/browser/types.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-thread/dist/lib/browser/types.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-JFQZ5W2I.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-5G3KL6TC.mjs","kind":"import-statement"}],"exports":["ThreadAction"],"entryPoint":"packages/plugins/plugin-thread/src/types.ts","inputs":{},"bytes":148},"packages/plugins/plugin-thread/dist/lib/browser/chunk-JFQZ5W2I.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2080},"packages/plugins/plugin-thread/dist/lib/browser/chunk-JFQZ5W2I.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-5G3KL6TC.mjs","kind":"import-statement"}],"exports":["ThreadAction"],"inputs":{"packages/plugins/plugin-thread/src/types.ts":{"bytesInOutput":694}},"bytes":870},"packages/plugins/plugin-thread/dist/lib/browser/ThreadMain-VXHMJDQC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1392},"packages/plugins/plugin-thread/dist/lib/browser/ThreadMain-VXHMJDQC.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-TDPY6D4W.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-5G3KL6TC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/components/ThreadMain.tsx","inputs":{"packages/plugins/plugin-thread/src/components/ThreadMain.tsx":{"bytesInOutput":536}},"bytes":781},"packages/plugins/plugin-thread/dist/lib/browser/ThreadArticle-43QSPQ2B.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":852},"packages/plugins/plugin-thread/dist/lib/browser/ThreadArticle-43QSPQ2B.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-TDPY6D4W.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-5G3KL6TC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/components/ThreadArticle.tsx","inputs":{"packages/plugins/plugin-thread/src/components/ThreadArticle.tsx":{"bytesInOutput":271}},"bytes":525},"packages/plugins/plugin-thread/dist/lib/browser/chunk-TDPY6D4W.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":30039},"packages/plugins/plugin-thread/dist/lib/browser/chunk-TDPY6D4W.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-5G3KL6TC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/meta","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-deck","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/display-name","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["ChatContainer","ChatHeading","MessageContainer","command","getMessageMetadata","useAnalyticsCallback","useOnEditAnalytics","useStatus"],"inputs":{"packages/plugins/plugin-thread/src/hooks/useStatus.ts":{"bytesInOutput":748},"packages/plugins/plugin-thread/src/hooks/analytics.ts":{"bytesInOutput":975},"packages/plugins/plugin-thread/src/components/ChatContainer.tsx":{"bytesInOutput":4622},"packages/plugins/plugin-thread/src/components/MessageContainer.tsx":{"bytesInOutput":6234},"packages/plugins/plugin-thread/src/components/command-extension.ts":{"bytesInOutput":715},"packages/plugins/plugin-thread/src/util.ts":{"bytesInOutput":563}},"bytes":14640},"packages/plugins/plugin-thread/dist/lib/browser/chunk-5G3KL6TC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":669},"packages/plugins/plugin-thread/dist/lib/browser/chunk-5G3KL6TC.mjs":{"imports":[],"exports":["THREAD_ITEM","THREAD_PLUGIN","meta_default"],"inputs":{"packages/plugins/plugin-thread/src/meta.ts":{"bytesInOutput":229}},"bytes":379}}}
|
|
1
|
+
{"inputs":{"packages/plugins/plugin-thread/src/components/command-extension.ts":{"bytes":3679,"imports":[{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/useStatus.ts":{"bytes":3661,"imports":[{"path":"react","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/analytics.ts":{"bytes":4347,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/meta","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/hooks/index.ts":{"bytes":602,"imports":[{"path":"packages/plugins/plugin-thread/src/hooks/useStatus.ts","kind":"import-statement","original":"./useStatus"},{"path":"packages/plugins/plugin-thread/src/hooks/analytics.ts","kind":"import-statement","original":"./analytics"}],"format":"esm"},"packages/plugins/plugin-thread/src/meta.ts":{"bytes":1400,"imports":[],"format":"esm"},"packages/plugins/plugin-thread/src/util.ts":{"bytes":3056,"imports":[{"path":"@dxos/display-name","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"format":"esm"},"packages/plugins/plugin-thread/src/components/MessageContainer.tsx":{"bytes":23739,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/CommentContainer.tsx":{"bytes":24394,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx":{"bytes":9875,"imports":[{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/CommentContainer.tsx","kind":"import-statement","original":"./CommentContainer"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ChatContainer.tsx":{"bytes":18688,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-deck","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/command-extension.ts","kind":"import-statement","original":"./command-extension"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"../hooks"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/util.ts","kind":"import-statement","original":"../util"}],"format":"esm"},"packages/plugins/plugin-thread/src/types.ts":{"bytes":3800,"imports":[{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx":{"bytes":14271,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/index.ts","kind":"import-statement","original":"../components"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx":{"bytes":2561,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-data","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"../meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadMain.tsx":{"bytes":2735,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/ChatContainer.tsx","kind":"import-statement","original":"./ChatContainer"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/ThreadArticle.tsx":{"bytes":1740,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/ChatContainer.tsx","kind":"import-statement","original":"./ChatContainer"}],"format":"esm"},"packages/plugins/plugin-thread/src/components/index.ts":{"bytes":1828,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/CommentContainer.tsx","kind":"import-statement","original":"./CommentContainer"},{"path":"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx","kind":"import-statement","original":"./CommentsContainer"},{"path":"packages/plugins/plugin-thread/src/components/ChatContainer.tsx","kind":"import-statement","original":"./ChatContainer"},{"path":"packages/plugins/plugin-thread/src/components/MessageContainer.tsx","kind":"import-statement","original":"./MessageContainer"},{"path":"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx","kind":"import-statement","original":"./ThreadComplementary"},{"path":"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx","kind":"import-statement","original":"./ThreadSettings"},{"path":"packages/plugins/plugin-thread/src/components/ThreadMain.tsx","kind":"dynamic-import","original":"./ThreadMain"},{"path":"packages/plugins/plugin-thread/src/components/ThreadArticle.tsx","kind":"dynamic-import","original":"./ThreadArticle"}],"format":"esm"},"packages/plugins/plugin-thread/src/extensions/threads.ts":{"bytes":13948,"imports":[{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"../types"}],"format":"esm"},"packages/plugins/plugin-thread/src/extensions/index.ts":{"bytes":512,"imports":[{"path":"packages/plugins/plugin-thread/src/extensions/threads.ts","kind":"import-statement","original":"./threads"}],"format":"esm"},"packages/plugins/plugin-thread/src/translations.ts":{"bytes":4946,"imports":[{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"}],"format":"esm"},"packages/plugins/plugin-thread/src/ThreadPlugin.tsx":{"bytes":91797,"imports":[{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/meta","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/src/components/index.ts","kind":"import-statement","original":"./components"},{"path":"packages/plugins/plugin-thread/src/extensions/index.ts","kind":"import-statement","original":"./extensions"},{"path":"packages/plugins/plugin-thread/src/meta.ts","kind":"import-statement","original":"./meta"},{"path":"packages/plugins/plugin-thread/src/translations.ts","kind":"import-statement","original":"./translations"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"packages/plugins/plugin-thread/src/index.ts":{"bytes":948,"imports":[{"path":"packages/plugins/plugin-thread/src/ThreadPlugin.tsx","kind":"import-statement","original":"./ThreadPlugin"},{"path":"packages/plugins/plugin-thread/src/hooks/index.ts","kind":"import-statement","original":"./hooks"},{"path":"packages/plugins/plugin-thread/src/types.ts","kind":"import-statement","original":"./types"},{"path":"packages/plugins/plugin-thread/src/ThreadPlugin.tsx","kind":"import-statement","original":"./ThreadPlugin"}],"format":"esm"}},"outputs":{"packages/plugins/plugin-thread/dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":75760},"packages/plugins/plugin-thread/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WKCIKGGW.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-LHT42MTJ.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-5G3KL6TC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/local-storage","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/plugin-client","kind":"import-statement","external":true},{"path":"@dxos/plugin-graph","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/meta","kind":"import-statement","external":true},{"path":"@dxos/plugin-space","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-attention","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-data","kind":"import-statement","external":true},{"path":"packages/plugins/plugin-thread/dist/lib/browser/ThreadMain-VK5UEBQ7.mjs","kind":"dynamic-import"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/ThreadArticle-2Y7UWZLA.mjs","kind":"dynamic-import"},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@preact/signals-core","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["ThreadAction","ThreadPlugin","default","useAnalyticsCallback","useOnEditAnalytics","useStatus"],"entryPoint":"packages/plugins/plugin-thread/src/index.ts","inputs":{"packages/plugins/plugin-thread/src/ThreadPlugin.tsx":{"bytesInOutput":24359},"packages/plugins/plugin-thread/src/components/index.ts":{"bytesInOutput":168},"packages/plugins/plugin-thread/src/components/CommentContainer.tsx":{"bytesInOutput":6383},"packages/plugins/plugin-thread/src/components/CommentsContainer.tsx":{"bytesInOutput":2259},"packages/plugins/plugin-thread/src/components/ThreadComplementary.tsx":{"bytesInOutput":3508},"packages/plugins/plugin-thread/src/components/ThreadSettings.tsx":{"bytesInOutput":571},"packages/plugins/plugin-thread/src/extensions/threads.ts":{"bytesInOutput":2936},"packages/plugins/plugin-thread/src/extensions/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-thread/src/translations.ts":{"bytesInOutput":1495},"packages/plugins/plugin-thread/src/index.ts":{"bytesInOutput":32}},"bytes":42879},"packages/plugins/plugin-thread/dist/lib/browser/meta.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-thread/dist/lib/browser/meta.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-5G3KL6TC.mjs","kind":"import-statement"}],"exports":["THREAD_ITEM","THREAD_PLUGIN","default"],"entryPoint":"packages/plugins/plugin-thread/src/meta.ts","inputs":{},"bytes":191},"packages/plugins/plugin-thread/dist/lib/browser/types.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"packages/plugins/plugin-thread/dist/lib/browser/types.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-WKCIKGGW.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-5G3KL6TC.mjs","kind":"import-statement"}],"exports":["ThreadAction"],"entryPoint":"packages/plugins/plugin-thread/src/types.ts","inputs":{},"bytes":148},"packages/plugins/plugin-thread/dist/lib/browser/chunk-WKCIKGGW.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2101},"packages/plugins/plugin-thread/dist/lib/browser/chunk-WKCIKGGW.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-5G3KL6TC.mjs","kind":"import-statement"}],"exports":["ThreadAction"],"inputs":{"packages/plugins/plugin-thread/src/types.ts":{"bytesInOutput":694}},"bytes":870},"packages/plugins/plugin-thread/dist/lib/browser/ThreadMain-VK5UEBQ7.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":1392},"packages/plugins/plugin-thread/dist/lib/browser/ThreadMain-VK5UEBQ7.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-LHT42MTJ.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-5G3KL6TC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/components/ThreadMain.tsx","inputs":{"packages/plugins/plugin-thread/src/components/ThreadMain.tsx":{"bytesInOutput":536}},"bytes":781},"packages/plugins/plugin-thread/dist/lib/browser/ThreadArticle-2Y7UWZLA.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":852},"packages/plugins/plugin-thread/dist/lib/browser/ThreadArticle-2Y7UWZLA.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-LHT42MTJ.mjs","kind":"import-statement"},{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-5G3KL6TC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true}],"exports":["default"],"entryPoint":"packages/plugins/plugin-thread/src/components/ThreadArticle.tsx","inputs":{"packages/plugins/plugin-thread/src/components/ThreadArticle.tsx":{"bytesInOutput":271}},"bytes":525},"packages/plugins/plugin-thread/dist/lib/browser/chunk-LHT42MTJ.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":30039},"packages/plugins/plugin-thread/dist/lib/browser/chunk-LHT42MTJ.mjs":{"imports":[{"path":"packages/plugins/plugin-thread/dist/lib/browser/chunk-5G3KL6TC.mjs","kind":"import-statement"},{"path":"react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/plugin-observability/meta","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/echo-schema","kind":"import-statement","external":true},{"path":"@dxos/plugin-space/types","kind":"import-statement","external":true},{"path":"@dxos/react-client/echo","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-deck","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/view","kind":"import-statement","external":true},{"path":"@phosphor-icons/react","kind":"import-statement","external":true},{"path":"react","kind":"import-statement","external":true},{"path":"@dxos/app-framework","kind":"import-statement","external":true},{"path":"@dxos/react-client","kind":"import-statement","external":true},{"path":"@dxos/react-client/halo","kind":"import-statement","external":true},{"path":"@dxos/react-ui","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-mosaic","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/react-ui-thread","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"@codemirror/language","kind":"import-statement","external":true},{"path":"@dxos/react-ui-editor","kind":"import-statement","external":true},{"path":"@dxos/react-ui-theme","kind":"import-statement","external":true},{"path":"@dxos/display-name","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}],"exports":["ChatContainer","ChatHeading","MessageContainer","command","getMessageMetadata","useAnalyticsCallback","useOnEditAnalytics","useStatus"],"inputs":{"packages/plugins/plugin-thread/src/hooks/useStatus.ts":{"bytesInOutput":748},"packages/plugins/plugin-thread/src/hooks/analytics.ts":{"bytesInOutput":975},"packages/plugins/plugin-thread/src/hooks/index.ts":{"bytesInOutput":0},"packages/plugins/plugin-thread/src/components/ChatContainer.tsx":{"bytesInOutput":4622},"packages/plugins/plugin-thread/src/components/MessageContainer.tsx":{"bytesInOutput":6234},"packages/plugins/plugin-thread/src/components/command-extension.ts":{"bytesInOutput":715},"packages/plugins/plugin-thread/src/util.ts":{"bytesInOutput":563}},"bytes":14640},"packages/plugins/plugin-thread/dist/lib/browser/chunk-5G3KL6TC.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":669},"packages/plugins/plugin-thread/dist/lib/browser/chunk-5G3KL6TC.mjs":{"imports":[],"exports":["THREAD_ITEM","THREAD_PLUGIN","meta_default"],"inputs":{"packages/plugins/plugin-thread/src/meta.ts":{"bytesInOutput":229}},"bytes":379}}}
|
|
@@ -26,19 +26,19 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var ThreadArticle_CIYBYISR_exports = {};
|
|
30
|
+
__export(ThreadArticle_CIYBYISR_exports, {
|
|
31
31
|
default: () => ThreadArticle_default
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
34
|
-
var
|
|
33
|
+
module.exports = __toCommonJS(ThreadArticle_CIYBYISR_exports);
|
|
34
|
+
var import_chunk_HWN7Q5XK = require("./chunk-HWN7Q5XK.cjs");
|
|
35
35
|
var import_chunk_JIJ7Z6NO = require("./chunk-JIJ7Z6NO.cjs");
|
|
36
36
|
var import_react = __toESM(require("react"));
|
|
37
37
|
var ThreadArticle = (props) => {
|
|
38
38
|
return /* @__PURE__ */ import_react.default.createElement("div", {
|
|
39
39
|
role: "none",
|
|
40
40
|
className: "row-span-2"
|
|
41
|
-
}, /* @__PURE__ */ import_react.default.createElement(
|
|
41
|
+
}, /* @__PURE__ */ import_react.default.createElement(import_chunk_HWN7Q5XK.ChatContainer, props));
|
|
42
42
|
};
|
|
43
43
|
var ThreadArticle_default = ThreadArticle;
|
|
44
|
-
//# sourceMappingURL=ThreadArticle-
|
|
44
|
+
//# sourceMappingURL=ThreadArticle-CIYBYISR.cjs.map
|
|
@@ -26,12 +26,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var ThreadMain_V6KBUQLH_exports = {};
|
|
30
|
+
__export(ThreadMain_V6KBUQLH_exports, {
|
|
31
31
|
default: () => ThreadMain_default
|
|
32
32
|
});
|
|
33
|
-
module.exports = __toCommonJS(
|
|
34
|
-
var
|
|
33
|
+
module.exports = __toCommonJS(ThreadMain_V6KBUQLH_exports);
|
|
34
|
+
var import_chunk_HWN7Q5XK = require("./chunk-HWN7Q5XK.cjs");
|
|
35
35
|
var import_chunk_JIJ7Z6NO = require("./chunk-JIJ7Z6NO.cjs");
|
|
36
36
|
var import_react = __toESM(require("react"));
|
|
37
37
|
var import_react_ui = require("@dxos/react-ui");
|
|
@@ -44,9 +44,9 @@ var ThreadMain = ({ thread }) => {
|
|
|
44
44
|
import_react_ui_theme.topbarBlockPaddingStart,
|
|
45
45
|
import_react_ui_theme.bottombarBlockPaddingEnd
|
|
46
46
|
]
|
|
47
|
-
}, /* @__PURE__ */ import_react.default.createElement(
|
|
47
|
+
}, /* @__PURE__ */ import_react.default.createElement(import_chunk_HWN7Q5XK.ChatContainer, {
|
|
48
48
|
thread
|
|
49
49
|
}));
|
|
50
50
|
};
|
|
51
51
|
var ThreadMain_default = ThreadMain;
|
|
52
|
-
//# sourceMappingURL=ThreadMain-
|
|
52
|
+
//# sourceMappingURL=ThreadMain-V6KBUQLH.cjs.map
|
|
@@ -16,11 +16,11 @@ 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 chunk_A2IORKQK_exports = {};
|
|
20
|
+
__export(chunk_A2IORKQK_exports, {
|
|
21
21
|
ThreadAction: () => ThreadAction
|
|
22
22
|
});
|
|
23
|
-
module.exports = __toCommonJS(
|
|
23
|
+
module.exports = __toCommonJS(chunk_A2IORKQK_exports);
|
|
24
24
|
var import_chunk_JIJ7Z6NO = require("./chunk-JIJ7Z6NO.cjs");
|
|
25
25
|
var THREAD_ACTION = `${import_chunk_JIJ7Z6NO.THREAD_PLUGIN}/action`;
|
|
26
26
|
var ThreadAction;
|
|
@@ -36,4 +36,4 @@ var ThreadAction;
|
|
|
36
36
|
0 && (module.exports = {
|
|
37
37
|
ThreadAction
|
|
38
38
|
});
|
|
39
|
-
//# sourceMappingURL=chunk-
|
|
39
|
+
//# sourceMappingURL=chunk-A2IORKQK.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/types.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport type {\n GraphBuilderProvides,\n IntentResolverProvides,\n MetadataRecordsProvides,\n SettingsProvides,\n SurfaceProvides,\n TranslationsProvides,\n} from '@dxos/app-framework';\nimport { type SchemaProvides } from '@dxos/plugin-client';\nimport { type MarkdownExtensionProvides } from '@dxos/plugin-markdown';\nimport { type ThreadType } from '@dxos/plugin-space/types';\n\nimport { THREAD_PLUGIN } from './meta';\n\nconst THREAD_ACTION = `${THREAD_PLUGIN}/action`;\nexport enum ThreadAction {\n CREATE = `${THREAD_ACTION}/create`,\n SELECT = `${THREAD_ACTION}/select`,\n DELETE = `${THREAD_ACTION}/delete`,\n ON_MESSAGE_ADD = `${THREAD_ACTION}/on-message-add`,\n DELETE_MESSAGE = `${THREAD_ACTION}/delete-message`,\n TOGGLE_RESOLVED = `${THREAD_ACTION}/toggle-resolved`,\n}\n\n// TODO(Zan): Move this to the plugin-space plugin or another common location when we implement threads in sheets.\nexport type ThreadProvides<T> = {\n thread: {\n predicate: (obj: any) => obj is T;\n createSort: (obj: T) => (anchorA: string | undefined, anchorB: string | undefined) => number;\n };\n};\n\nexport type ThreadPluginProvides = SurfaceProvides &\n IntentResolverProvides &\n GraphBuilderProvides &\n MetadataRecordsProvides &\n SettingsProvides &\n TranslationsProvides &\n SchemaProvides &\n MarkdownExtensionProvides;\n\nexport type ThreadSettingsProps = { standalone?: boolean };\n\nexport interface ThreadModel {\n root: ThreadType;\n}\n\nexport type ThreadState = {\n /** In-memory draft threads. */\n drafts: Record<string, ThreadType[]>;\n current?: string | undefined;\n};\n"],
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2023 DXOS.org\n//\n\nimport type {\n GraphBuilderProvides,\n IntentResolverProvides,\n MetadataRecordsProvides,\n SettingsProvides,\n SurfaceProvides,\n TranslationsProvides,\n} from '@dxos/app-framework';\nimport { type SchemaProvides } from '@dxos/plugin-client';\nimport { type MarkdownExtensionProvides } from '@dxos/plugin-markdown';\nimport { type ThreadType } from '@dxos/plugin-space/types';\n\nimport { THREAD_PLUGIN } from './meta';\n\nconst THREAD_ACTION = `${THREAD_PLUGIN}/action`;\nexport enum ThreadAction {\n CREATE = `${THREAD_ACTION}/create`,\n SELECT = `${THREAD_ACTION}/select`,\n DELETE = `${THREAD_ACTION}/delete`,\n ON_MESSAGE_ADD = `${THREAD_ACTION}/on-message-add`,\n DELETE_MESSAGE = `${THREAD_ACTION}/delete-message`,\n TOGGLE_RESOLVED = `${THREAD_ACTION}/toggle-resolved`,\n}\n\n// TODO(Zan): Move this to the plugin-space plugin or another common location when we implement threads in sheets.\nexport type ThreadProvides<T> = {\n thread: {\n predicate: (obj: any) => obj is T;\n createSort: (obj: T) => (anchorA: string | undefined, anchorB: string | undefined) => number;\n };\n};\n\nexport type ThreadPluginProvides = SurfaceProvides &\n IntentResolverProvides &\n GraphBuilderProvides &\n MetadataRecordsProvides &\n SettingsProvides<ThreadSettingsProps> &\n TranslationsProvides &\n SchemaProvides &\n MarkdownExtensionProvides;\n\nexport type ThreadSettingsProps = { standalone?: boolean };\n\nexport interface ThreadModel {\n root: ThreadType;\n}\n\nexport type ThreadState = {\n /** In-memory draft threads. */\n drafts: Record<string, ThreadType[]>;\n current?: string | undefined;\n};\n"],
|
|
5
5
|
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAkBA,IAAMA,gBAAgB,GAAGC,mCAAAA;;UACbC,eAAAA;0CACD,GAAGF,aAAAA,SAAsB,IAAA;0CACzB,GAAGA,aAAAA,SAAsB,IAAA;0CACzB,GAAGA,aAAAA,SAAsB,IAAA;kDACjB,GAAGA,aAAAA,iBAA8B,IAAA;kDACjC,GAAGA,aAAAA,iBAA8B,IAAA;mDAChC,GAAGA,aAAAA,kBAA+B,IAAA;GAN1CE,iBAAAA,eAAAA,CAAAA,EAAAA;",
|
|
6
6
|
"names": ["THREAD_ACTION", "THREAD_PLUGIN", "ThreadAction"]
|
|
7
7
|
}
|
|
@@ -26,8 +26,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
mod
|
|
27
27
|
));
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
29
|
+
var chunk_HWN7Q5XK_exports = {};
|
|
30
|
+
__export(chunk_HWN7Q5XK_exports, {
|
|
31
31
|
ChatContainer: () => ChatContainer,
|
|
32
32
|
ChatHeading: () => ChatHeading,
|
|
33
33
|
MessageContainer: () => MessageContainer,
|
|
@@ -37,7 +37,7 @@ __export(chunk_QVOXOTRV_exports, {
|
|
|
37
37
|
useOnEditAnalytics: () => useOnEditAnalytics,
|
|
38
38
|
useStatus: () => useStatus
|
|
39
39
|
});
|
|
40
|
-
module.exports = __toCommonJS(
|
|
40
|
+
module.exports = __toCommonJS(chunk_HWN7Q5XK_exports);
|
|
41
41
|
var import_chunk_JIJ7Z6NO = require("./chunk-JIJ7Z6NO.cjs");
|
|
42
42
|
var import_react = require("react");
|
|
43
43
|
var import_react2 = require("react");
|
|
@@ -428,4 +428,4 @@ var ChatContainer = ({ thread, context, current, autoFocusTextbox }) => {
|
|
|
428
428
|
useOnEditAnalytics,
|
|
429
429
|
useStatus
|
|
430
430
|
});
|
|
431
|
-
//# sourceMappingURL=chunk-
|
|
431
|
+
//# sourceMappingURL=chunk-HWN7Q5XK.cjs.map
|
package/dist/lib/node/index.cjs
CHANGED
|
@@ -28,16 +28,16 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
29
|
var node_exports = {};
|
|
30
30
|
__export(node_exports, {
|
|
31
|
-
ThreadAction: () =>
|
|
31
|
+
ThreadAction: () => import_chunk_A2IORKQK.ThreadAction,
|
|
32
32
|
ThreadPlugin: () => ThreadPlugin,
|
|
33
33
|
default: () => src_default,
|
|
34
|
-
useAnalyticsCallback: () =>
|
|
35
|
-
useOnEditAnalytics: () =>
|
|
36
|
-
useStatus: () =>
|
|
34
|
+
useAnalyticsCallback: () => import_chunk_HWN7Q5XK.useAnalyticsCallback,
|
|
35
|
+
useOnEditAnalytics: () => import_chunk_HWN7Q5XK.useOnEditAnalytics,
|
|
36
|
+
useStatus: () => import_chunk_HWN7Q5XK.useStatus
|
|
37
37
|
});
|
|
38
38
|
module.exports = __toCommonJS(node_exports);
|
|
39
|
-
var
|
|
40
|
-
var
|
|
39
|
+
var import_chunk_A2IORKQK = require("./chunk-A2IORKQK.cjs");
|
|
40
|
+
var import_chunk_HWN7Q5XK = require("./chunk-HWN7Q5XK.cjs");
|
|
41
41
|
var import_chunk_JIJ7Z6NO = require("./chunk-JIJ7Z6NO.cjs");
|
|
42
42
|
var import_react = __toESM(require("react"));
|
|
43
43
|
var import_app_framework = require("@dxos/app-framework");
|
|
@@ -75,8 +75,8 @@ var import_react_ui3 = require("@dxos/react-ui");
|
|
|
75
75
|
var import_react_ui_attention = require("@dxos/react-ui-attention");
|
|
76
76
|
var import_util2 = require("@dxos/util");
|
|
77
77
|
var import_react8 = __toESM(require("react"));
|
|
78
|
-
var import_plugin_settings = require("@dxos/plugin-settings");
|
|
79
78
|
var import_react_ui4 = require("@dxos/react-ui");
|
|
79
|
+
var import_react_ui_data = require("@dxos/react-ui-data");
|
|
80
80
|
var import_view = require("@codemirror/view");
|
|
81
81
|
var import_signals_core = require("@preact/signals-core");
|
|
82
82
|
var import_types3 = require("@dxos/plugin-space/types");
|
|
@@ -133,11 +133,11 @@ var CommentContainer = ({ thread, detached, context, current, onAttend, onThread
|
|
|
133
133
|
const identity = (0, import_halo.useIdentity)();
|
|
134
134
|
const space = (0, import_echo3.getSpace)(thread);
|
|
135
135
|
const members = (0, import_echo3.useMembers)(space?.key);
|
|
136
|
-
const activity = (0,
|
|
136
|
+
const activity = (0, import_chunk_HWN7Q5XK.useStatus)(space, (0, import_echo3.fullyQualifiedId)(thread));
|
|
137
137
|
const { t } = (0, import_react_ui.useTranslation)(import_chunk_JIJ7Z6NO.THREAD_PLUGIN);
|
|
138
138
|
const threadScrollRef = (0, import_react4.useRef)(null);
|
|
139
139
|
const { themeMode } = (0, import_react_ui.useThemeContext)();
|
|
140
|
-
const textboxMetadata = (0,
|
|
140
|
+
const textboxMetadata = (0, import_chunk_HWN7Q5XK.getMessageMetadata)((0, import_echo3.fullyQualifiedId)(thread), identity);
|
|
141
141
|
const [_count, _setCount] = (0, import_react4.useState)(0);
|
|
142
142
|
const rerenderEditor = () => _setCount((count) => count + 1);
|
|
143
143
|
const messageRef = (0, import_react4.useRef)("");
|
|
@@ -151,7 +151,7 @@ var CommentContainer = ({ thread, detached, context, current, onAttend, onThread
|
|
|
151
151
|
(0, import_react_ui_editor.listener)({
|
|
152
152
|
onChange: (text) => messageRef.current = text
|
|
153
153
|
}),
|
|
154
|
-
|
|
154
|
+
import_chunk_HWN7Q5XK.command
|
|
155
155
|
], [
|
|
156
156
|
_count
|
|
157
157
|
]);
|
|
@@ -204,7 +204,7 @@ var CommentContainer = ({ thread, detached, context, current, onAttend, onThread
|
|
|
204
204
|
onResolve
|
|
205
205
|
}), onThreadDelete && /* @__PURE__ */ import_react4.default.createElement(DeleteThreadButton, {
|
|
206
206
|
onDelete: onThreadDelete
|
|
207
|
-
}))), thread.messages.filter(import_util.nonNullable).map((message) => /* @__PURE__ */ import_react4.default.createElement(
|
|
207
|
+
}))), thread.messages.filter(import_util.nonNullable).map((message) => /* @__PURE__ */ import_react4.default.createElement(import_chunk_HWN7Q5XK.MessageContainer, {
|
|
208
208
|
key: message.id,
|
|
209
209
|
message,
|
|
210
210
|
members,
|
|
@@ -336,7 +336,7 @@ var ThreadComplementary = ({ role, subject, drafts, current, showResolvedThreads
|
|
|
336
336
|
onThreadDelete: (thread) => {
|
|
337
337
|
return dispatch({
|
|
338
338
|
plugin: import_chunk_JIJ7Z6NO.THREAD_PLUGIN,
|
|
339
|
-
action:
|
|
339
|
+
action: import_chunk_A2IORKQK.ThreadAction.DELETE,
|
|
340
340
|
data: {
|
|
341
341
|
subject,
|
|
342
342
|
thread
|
|
@@ -345,7 +345,7 @@ var ThreadComplementary = ({ role, subject, drafts, current, showResolvedThreads
|
|
|
345
345
|
},
|
|
346
346
|
onMessageDelete: (thread, messageId) => dispatch({
|
|
347
347
|
plugin: import_chunk_JIJ7Z6NO.THREAD_PLUGIN,
|
|
348
|
-
action:
|
|
348
|
+
action: import_chunk_A2IORKQK.ThreadAction.DELETE_MESSAGE,
|
|
349
349
|
data: {
|
|
350
350
|
subject,
|
|
351
351
|
thread,
|
|
@@ -354,14 +354,14 @@ var ThreadComplementary = ({ role, subject, drafts, current, showResolvedThreads
|
|
|
354
354
|
}),
|
|
355
355
|
onThreadToggleResolved: (thread) => dispatch({
|
|
356
356
|
plugin: import_chunk_JIJ7Z6NO.THREAD_PLUGIN,
|
|
357
|
-
action:
|
|
357
|
+
action: import_chunk_A2IORKQK.ThreadAction.TOGGLE_RESOLVED,
|
|
358
358
|
data: {
|
|
359
359
|
thread
|
|
360
360
|
}
|
|
361
361
|
}),
|
|
362
362
|
onComment: (thread) => {
|
|
363
363
|
void dispatch({
|
|
364
|
-
action:
|
|
364
|
+
action: import_chunk_A2IORKQK.ThreadAction.ON_MESSAGE_ADD,
|
|
365
365
|
data: {
|
|
366
366
|
thread,
|
|
367
367
|
subject
|
|
@@ -375,15 +375,15 @@ var ThreadComplementary = ({ role, subject, drafts, current, showResolvedThreads
|
|
|
375
375
|
};
|
|
376
376
|
var ThreadSettings = ({ settings }) => {
|
|
377
377
|
const { t } = (0, import_react_ui4.useTranslation)(import_chunk_JIJ7Z6NO.THREAD_PLUGIN);
|
|
378
|
-
return /* @__PURE__ */ import_react8.default.createElement(import_react8.default.Fragment, null, /* @__PURE__ */ import_react8.default.createElement(
|
|
378
|
+
return /* @__PURE__ */ import_react8.default.createElement(import_react8.default.Fragment, null, /* @__PURE__ */ import_react8.default.createElement(import_react_ui_data.FormInput, {
|
|
379
379
|
label: t("settings standalone label")
|
|
380
380
|
}, /* @__PURE__ */ import_react8.default.createElement(import_react_ui4.Input.Switch, {
|
|
381
381
|
checked: settings.standalone,
|
|
382
382
|
onCheckedChange: (checked) => settings.standalone = !!checked
|
|
383
383
|
})));
|
|
384
384
|
};
|
|
385
|
-
var ThreadMain = (0, import_react2.lazy)(() => import("./ThreadMain-
|
|
386
|
-
var ThreadArticle = (0, import_react2.lazy)(() => import("./ThreadArticle-
|
|
385
|
+
var ThreadMain = (0, import_react2.lazy)(() => import("./ThreadMain-V6KBUQLH.cjs"));
|
|
386
|
+
var ThreadArticle = (0, import_react2.lazy)(() => import("./ThreadArticle-CIYBYISR.cjs"));
|
|
387
387
|
var getName = (doc, anchor) => {
|
|
388
388
|
if (doc.content) {
|
|
389
389
|
const [start, end] = anchor.split(":");
|
|
@@ -425,7 +425,7 @@ var threads = (state, doc, dispatch) => {
|
|
|
425
425
|
onCreate: ({ cursor }) => {
|
|
426
426
|
const name = getName(doc, cursor);
|
|
427
427
|
void dispatch({
|
|
428
|
-
action:
|
|
428
|
+
action: import_chunk_A2IORKQK.ThreadAction.CREATE,
|
|
429
429
|
data: {
|
|
430
430
|
cursor,
|
|
431
431
|
name,
|
|
@@ -455,7 +455,7 @@ var threads = (state, doc, dispatch) => {
|
|
|
455
455
|
},
|
|
456
456
|
onSelect: ({ selection: { current, closest } }) => {
|
|
457
457
|
void dispatch({
|
|
458
|
-
action:
|
|
458
|
+
action: import_chunk_A2IORKQK.ThreadAction.SELECT,
|
|
459
459
|
data: {
|
|
460
460
|
current: current ?? closest,
|
|
461
461
|
skipOpen: true
|
|
@@ -598,6 +598,8 @@ var ThreadPlugin = () => {
|
|
|
598
598
|
if (!client || !dispatch || !metadataResolver) {
|
|
599
599
|
return [];
|
|
600
600
|
}
|
|
601
|
+
const type = "orphan-comments-for-subject";
|
|
602
|
+
const icon = "ph--chat-text--regular";
|
|
601
603
|
return [
|
|
602
604
|
(0, import_plugin_graph.createExtension)({
|
|
603
605
|
id: `${import_chunk_JIJ7Z6NO.THREAD_PLUGIN}/comments-for-subject`,
|
|
@@ -606,8 +608,27 @@ var ThreadPlugin = () => {
|
|
|
606
608
|
return;
|
|
607
609
|
}
|
|
608
610
|
const [subjectId] = id.split("~");
|
|
609
|
-
const
|
|
611
|
+
const { spaceId, objectId } = (0, import_echo2.parseId)(subjectId);
|
|
610
612
|
const space = client.spaces.get().find((space2) => space2.id === spaceId);
|
|
613
|
+
if (!objectId) {
|
|
614
|
+
return {
|
|
615
|
+
id,
|
|
616
|
+
type,
|
|
617
|
+
data: null,
|
|
618
|
+
properties: {
|
|
619
|
+
icon,
|
|
620
|
+
label: [
|
|
621
|
+
"unnamed object threads label",
|
|
622
|
+
{
|
|
623
|
+
ns: import_chunk_JIJ7Z6NO.THREAD_PLUGIN
|
|
624
|
+
}
|
|
625
|
+
],
|
|
626
|
+
showResolvedThreads: false,
|
|
627
|
+
object: null,
|
|
628
|
+
space
|
|
629
|
+
}
|
|
630
|
+
};
|
|
631
|
+
}
|
|
611
632
|
const object = (0, import_plugin_graph.toSignal)((onChange) => {
|
|
612
633
|
const timeout = setTimeout(async () => {
|
|
613
634
|
await space?.db.loadObjectById(objectId);
|
|
@@ -628,10 +649,10 @@ var ThreadPlugin = () => {
|
|
|
628
649
|
const viewState = getViewState(subjectId);
|
|
629
650
|
return {
|
|
630
651
|
id,
|
|
631
|
-
type
|
|
652
|
+
type,
|
|
632
653
|
data: null,
|
|
633
654
|
properties: {
|
|
634
|
-
icon
|
|
655
|
+
icon,
|
|
635
656
|
label,
|
|
636
657
|
showResolvedThreads: viewState.showResolvedThreads,
|
|
637
658
|
object
|
|
@@ -681,7 +702,7 @@ var ThreadPlugin = () => {
|
|
|
681
702
|
}
|
|
682
703
|
}),
|
|
683
704
|
(0, import_plugin_graph.createExtension)({
|
|
684
|
-
id:
|
|
705
|
+
id: import_chunk_A2IORKQK.ThreadAction.CREATE,
|
|
685
706
|
filter: (node) => !!settings.values.standalone && (0, import_plugin_graph.isActionGroup)(node) && node.id.startsWith(import_plugin_space.SpaceAction.ADD_OBJECT),
|
|
686
707
|
actions: ({ node }) => {
|
|
687
708
|
const id = node.id.split("/").at(-1);
|
|
@@ -699,7 +720,7 @@ var ThreadPlugin = () => {
|
|
|
699
720
|
await dispatch([
|
|
700
721
|
{
|
|
701
722
|
plugin: import_chunk_JIJ7Z6NO.THREAD_PLUGIN,
|
|
702
|
-
action:
|
|
723
|
+
action: import_chunk_A2IORKQK.ThreadAction.CREATE
|
|
703
724
|
},
|
|
704
725
|
{
|
|
705
726
|
action: import_plugin_space.SpaceAction.ADD_OBJECT,
|
|
@@ -763,9 +784,9 @@ var ThreadPlugin = () => {
|
|
|
763
784
|
});
|
|
764
785
|
}
|
|
765
786
|
if (data.subject instanceof import_types.ThreadType) {
|
|
766
|
-
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
|
|
787
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(import_chunk_HWN7Q5XK.ChatHeading, {
|
|
767
788
|
attendableId: data.subject.id
|
|
768
|
-
}), /* @__PURE__ */ import_react.default.createElement(
|
|
789
|
+
}), /* @__PURE__ */ import_react.default.createElement(import_chunk_HWN7Q5XK.ChatContainer, {
|
|
769
790
|
thread: data.subject
|
|
770
791
|
}));
|
|
771
792
|
}
|
|
@@ -791,7 +812,7 @@ var ThreadPlugin = () => {
|
|
|
791
812
|
intent: {
|
|
792
813
|
resolver: async (intent) => {
|
|
793
814
|
switch (intent.action) {
|
|
794
|
-
case
|
|
815
|
+
case import_chunk_A2IORKQK.ThreadAction.CREATE: {
|
|
795
816
|
if (intent.data && intent.data.cursor !== void 0) {
|
|
796
817
|
const { cursor, name, subject } = intent.data;
|
|
797
818
|
if (subject?.threads === void 0) {
|
|
@@ -800,7 +821,7 @@ var ThreadPlugin = () => {
|
|
|
800
821
|
} catch (err) {
|
|
801
822
|
import_log.log.error("Subject does not support threads array", subject?.typename, {
|
|
802
823
|
F: __dxlog_file,
|
|
803
|
-
L:
|
|
824
|
+
L: 347,
|
|
804
825
|
S: void 0,
|
|
805
826
|
C: (f, a) => f(...a)
|
|
806
827
|
});
|
|
@@ -827,7 +848,7 @@ var ThreadPlugin = () => {
|
|
|
827
848
|
intents: [
|
|
828
849
|
[
|
|
829
850
|
{
|
|
830
|
-
action:
|
|
851
|
+
action: import_chunk_A2IORKQK.ThreadAction.SELECT,
|
|
831
852
|
data: {
|
|
832
853
|
current: (0, import_echo2.fullyQualifiedId)(thread)
|
|
833
854
|
}
|
|
@@ -866,7 +887,7 @@ var ThreadPlugin = () => {
|
|
|
866
887
|
};
|
|
867
888
|
}
|
|
868
889
|
}
|
|
869
|
-
case
|
|
890
|
+
case import_chunk_A2IORKQK.ThreadAction.SELECT: {
|
|
870
891
|
state.current = intent.data?.current;
|
|
871
892
|
return {
|
|
872
893
|
data: true,
|
|
@@ -884,7 +905,7 @@ var ThreadPlugin = () => {
|
|
|
884
905
|
] : []
|
|
885
906
|
};
|
|
886
907
|
}
|
|
887
|
-
case
|
|
908
|
+
case import_chunk_A2IORKQK.ThreadAction.TOGGLE_RESOLVED: {
|
|
888
909
|
const { thread } = intent.data ?? {};
|
|
889
910
|
if (!(thread instanceof import_types.ThreadType)) {
|
|
890
911
|
return;
|
|
@@ -914,7 +935,7 @@ var ThreadPlugin = () => {
|
|
|
914
935
|
]
|
|
915
936
|
};
|
|
916
937
|
}
|
|
917
|
-
case
|
|
938
|
+
case import_chunk_A2IORKQK.ThreadAction.DELETE: {
|
|
918
939
|
const { subject, thread } = intent.data ?? {};
|
|
919
940
|
if (!(thread instanceof import_types.ThreadType) || !(subject && typeof subject === "object" && "threads" in subject)) {
|
|
920
941
|
return;
|
|
@@ -986,7 +1007,7 @@ var ThreadPlugin = () => {
|
|
|
986
1007
|
}
|
|
987
1008
|
break;
|
|
988
1009
|
}
|
|
989
|
-
case
|
|
1010
|
+
case import_chunk_A2IORKQK.ThreadAction.ON_MESSAGE_ADD: {
|
|
990
1011
|
const { thread, subject } = intent.data ?? {};
|
|
991
1012
|
if (!(thread instanceof import_types.ThreadType) || !(subject && typeof subject === "object" && "threads" in subject && Array.isArray(subject.threads))) {
|
|
992
1013
|
return;
|
|
@@ -1029,7 +1050,7 @@ var ThreadPlugin = () => {
|
|
|
1029
1050
|
]
|
|
1030
1051
|
};
|
|
1031
1052
|
}
|
|
1032
|
-
case
|
|
1053
|
+
case import_chunk_A2IORKQK.ThreadAction.DELETE_MESSAGE: {
|
|
1033
1054
|
const { subject, thread, messageId } = intent.data ?? {};
|
|
1034
1055
|
const space = (0, import_echo2.getSpace)(subject);
|
|
1035
1056
|
if (!(thread instanceof import_types.ThreadType) || !(subject && typeof subject === "object" && "threads" in subject)) {
|
|
@@ -1046,7 +1067,7 @@ var ThreadPlugin = () => {
|
|
|
1046
1067
|
intents: [
|
|
1047
1068
|
[
|
|
1048
1069
|
{
|
|
1049
|
-
action:
|
|
1070
|
+
action: import_chunk_A2IORKQK.ThreadAction.DELETE,
|
|
1050
1071
|
data: {
|
|
1051
1072
|
subject,
|
|
1052
1073
|
thread
|