Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
feat(thread-comment): add data-source-service export (#2296)
zhangw41d0639e9a43
diff --git a/packages/thread-comment-ui/src/views/thread-comment-tree/index.tsx b/packages/thread-comment-ui/src/views/thread-comment-tree/index.tsxindex 47813d1d97..4c7c07493b 100644--- a/packages/thread-comment-ui/src/views/thread-comment-tree/index.tsx+++ b/packages/thread-comment-ui/src/views/thread-comment-tree/index.tsx@@ -110,8 +110,8 @@ const ThreadCommentItem = (props: IThreadCommentItemProps) => {<Dropdownoverlay={(<Menu>- <MenuItem onClick={() => onEditingChange?.(true)}>{localeService.t('threadCommentUI.item.edit')}</MenuItem>- <MenuItem onClick={handleDeleteItem}>{localeService.t('threadCommentUI.item.delete')}</MenuItem>+ <MenuItem key="edit" onClick={() => onEditingChange?.(true)}>{localeService.t('threadCommentUI.item.edit')}</MenuItem>+ <MenuItem key="delete" onClick={handleDeleteItem}>{localeService.t('threadCommentUI.item.delete')}</MenuItem></Menu>)}>diff --git a/packages/thread-comment/src/index.ts b/packages/thread-comment/src/index.tsindex 2e984f22e8..f203a06828 100644--- a/packages/thread-comment/src/index.ts+++ b/packages/thread-comment/src/index.ts@@ -50,3 +50,4 @@ export type {IUpdateCommentRefPayload,} from './commands/commands/comment.command';export { UniverThreadCommentPlugin } from './plugin';+export { IThreadCommentDataSourceService, ThreadCommentDataSourceService } from './services/tc-datasource.service';