@seafile/sdoc-editor 1.0.176 → 1.0.178
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/api/seafile-api.js +12 -0
- package/dist/basic-sdk/assets/images/sdoc-ask-ai.png +0 -0
- package/dist/basic-sdk/comment/components/comment-editor.js +0 -1
- package/dist/basic-sdk/comment/components/comment-item-wrapper.js +19 -10
- package/dist/basic-sdk/comment/components/comment-list.css +2 -6
- package/dist/basic-sdk/comment/components/comment-list.js +29 -39
- package/dist/basic-sdk/comment/components/editor-comment.js +13 -2
- package/dist/basic-sdk/constants/index.js +2 -1
- package/dist/basic-sdk/extension/commons/file-insert-dialog/index.js +28 -18
- package/dist/basic-sdk/extension/commons/file-insert-dialog/style.css +12 -9
- package/dist/basic-sdk/extension/commons/insert-element-dialog/index.js +10 -0
- package/dist/basic-sdk/extension/commons/select-file-dialog/helpers.js +9 -2
- package/dist/basic-sdk/extension/commons/select-file-dialog/index.css +115 -0
- package/dist/basic-sdk/extension/commons/select-file-dialog/index.js +68 -5
- package/dist/basic-sdk/extension/commons/select-file-dialog/local-files/index.css +42 -0
- package/dist/basic-sdk/extension/commons/select-file-dialog/local-files/index.js +49 -12
- package/dist/basic-sdk/extension/constants/element-type.js +2 -1
- package/dist/basic-sdk/extension/constants/menus-config.js +1 -1
- package/dist/basic-sdk/extension/core/queries/index.js +12 -1
- package/dist/basic-sdk/extension/plugins/ai/ai-icon/index.js +26 -0
- package/dist/basic-sdk/extension/plugins/ai/ai-icon/style.css +22 -0
- package/dist/basic-sdk/extension/plugins/ai/ai-menu/ai-context-menu.js +39 -0
- package/dist/basic-sdk/extension/plugins/ai/ai-menu/ai-dropdown-menu.js +35 -0
- package/dist/basic-sdk/extension/plugins/ai/ai-menu/index.js +20 -0
- package/dist/basic-sdk/extension/plugins/ai/ai-menu/menu-item.js +62 -0
- package/dist/basic-sdk/extension/plugins/ai/ai-menu/style.css +3 -0
- package/dist/basic-sdk/extension/plugins/ai/ai-module/adjust-sub-menu.js +40 -0
- package/dist/basic-sdk/extension/plugins/ai/ai-module/index.js +452 -0
- package/dist/basic-sdk/extension/plugins/ai/ai-module/lang-sub-menu.js +55 -0
- package/dist/basic-sdk/extension/plugins/ai/ai-module/style.css +104 -0
- package/dist/basic-sdk/extension/plugins/ai/ai-module/tip-dialog.js +32 -0
- package/dist/basic-sdk/extension/plugins/ai/constants/index.js +128 -0
- package/dist/basic-sdk/extension/plugins/ai/index.js +1 -0
- package/dist/basic-sdk/extension/plugins/blockquote/plugin.js +2 -2
- package/dist/basic-sdk/extension/plugins/image/helpers.js +25 -16
- package/dist/basic-sdk/extension/plugins/image/hover-menu/index.js +1 -1
- package/dist/basic-sdk/extension/plugins/sdoc-link/helpers.js +7 -2
- package/dist/basic-sdk/extension/plugins/sdoc-link/render/render-elem.css +19 -3
- package/dist/basic-sdk/extension/plugins/sdoc-link/render/render-elem.js +8 -3
- package/dist/basic-sdk/extension/plugins/text-style/menu/comemnt-editor-menu.js +7 -11
- package/dist/basic-sdk/extension/plugins/text-style/menu/index.js +7 -17
- package/dist/basic-sdk/extension/plugins/video/helpers.js +1 -0
- package/dist/basic-sdk/extension/plugins/video/plugin.js +26 -1
- package/dist/basic-sdk/extension/toolbar/side-toolbar/index.js +7 -0
- package/dist/basic-sdk/extension/toolbar/side-toolbar/side-menu.js +4 -1
- package/dist/components/doc-operations/revision-operations/more-revision-operations/index.js +4 -0
- package/dist/components/doc-operations/revision-operations/revisions/index.js +13 -0
- package/dist/constants/index.js +3 -1
- package/dist/context.js +8 -0
- package/package.json +1 -1
- package/public/locales/cs/sdoc-editor.json +23 -1
- package/public/locales/de/sdoc-editor.json +23 -1
- package/public/locales/en/sdoc-editor.json +23 -1
- package/public/locales/es/sdoc-editor.json +23 -1
- package/public/locales/es_AR/sdoc-editor.json +23 -1
- package/public/locales/es_MX/sdoc-editor.json +23 -1
- package/public/locales/fr/sdoc-editor.json +23 -1
- package/public/locales/it/sdoc-editor.json +23 -1
- package/public/locales/ru/sdoc-editor.json +24 -2
- package/public/locales/zh_CN/sdoc-editor.json +23 -1
- package/public/media/sdoc-editor-font/iconfont.css +548 -0
- package/public/media/sdoc-editor-font/iconfont.eot +0 -0
- package/public/media/sdoc-editor-font/iconfont.svg +18 -0
- package/public/media/sdoc-editor-font/iconfont.ttf +0 -0
- package/public/media/sdoc-editor-font/iconfont.woff +0 -0
- package/public/media/sdoc-editor-font/iconfont.woff2 +0 -0
- package/public/media/sdoc-editor-font.css +42 -6
|
@@ -581,5 +581,27 @@
|
|
|
581
581
|
"Page": "Page",
|
|
582
582
|
"Share_1": "Share",
|
|
583
583
|
"Collect": "Collect",
|
|
584
|
-
"Collected": "Collected"
|
|
584
|
+
"Collected": "Collected",
|
|
585
|
+
"Link_to_file": "Link to file",
|
|
586
|
+
"Create_a_new_file": "Create a new file",
|
|
587
|
+
"Suggestion": "Suggestion",
|
|
588
|
+
"Continuation": "Continuation",
|
|
589
|
+
"More_details": "More details",
|
|
590
|
+
"More_concise": "More concise",
|
|
591
|
+
"More_vivid": "More vivid",
|
|
592
|
+
"Translate": "Translate",
|
|
593
|
+
"Adjustment": "Adjustment",
|
|
594
|
+
"Try_again": "Try again",
|
|
595
|
+
"Deprecation": "Deprecation",
|
|
596
|
+
"Generated_content_x_words": "Generated content {{count}} words",
|
|
597
|
+
"Ask_AI_anything": "Ask AI anything...",
|
|
598
|
+
"Thinking": "Thinking...",
|
|
599
|
+
"Translation_error_message": "Translation error, please try again.",
|
|
600
|
+
"The_translation_content_cannot_be_empty": "The translation content cannot be empty",
|
|
601
|
+
"Processing_message": "Processing, please wait...",
|
|
602
|
+
"AI_tip_content": "Discard current content?",
|
|
603
|
+
"Discard": "Discard",
|
|
604
|
+
"English": "English",
|
|
605
|
+
"Chinese": "Chinese",
|
|
606
|
+
"Ask_AI": "Ask AI"
|
|
585
607
|
}
|
|
@@ -581,5 +581,27 @@
|
|
|
581
581
|
"Page": "Page",
|
|
582
582
|
"Share_1": "Compartir",
|
|
583
583
|
"Collect": "Collect",
|
|
584
|
-
"Collected": "Collected"
|
|
584
|
+
"Collected": "Collected",
|
|
585
|
+
"Link_to_file": "Link to file",
|
|
586
|
+
"Create_a_new_file": "Create a new file",
|
|
587
|
+
"Suggestion": "Sugerencia",
|
|
588
|
+
"Continuation": "Continuation",
|
|
589
|
+
"More_details": "More details",
|
|
590
|
+
"More_concise": "More concise",
|
|
591
|
+
"More_vivid": "More vivid",
|
|
592
|
+
"Translate": "Translate",
|
|
593
|
+
"Adjustment": "Adjustment",
|
|
594
|
+
"Try_again": "Try again",
|
|
595
|
+
"Deprecation": "Deprecation",
|
|
596
|
+
"Generated_content_x_words": "Generated content {{count}} words",
|
|
597
|
+
"Ask_AI_anything": "Ask AI anything...",
|
|
598
|
+
"Thinking": "Thinking...",
|
|
599
|
+
"Translation_error_message": "Translation error, please try again.",
|
|
600
|
+
"The_translation_content_cannot_be_empty": "The translation content cannot be empty",
|
|
601
|
+
"Processing_message": "Processing, please wait...",
|
|
602
|
+
"AI_tip_content": "Discard current content?",
|
|
603
|
+
"Discard": "Descartar",
|
|
604
|
+
"English": "English",
|
|
605
|
+
"Chinese": "Chinese",
|
|
606
|
+
"Ask_AI": "Ask AI"
|
|
585
607
|
}
|
|
@@ -581,5 +581,27 @@
|
|
|
581
581
|
"Page": "Page",
|
|
582
582
|
"Share_1": "Compartir",
|
|
583
583
|
"Collect": "Collect",
|
|
584
|
-
"Collected": "Collected"
|
|
584
|
+
"Collected": "Collected",
|
|
585
|
+
"Link_to_file": "Link to file",
|
|
586
|
+
"Create_a_new_file": "Create a new file",
|
|
587
|
+
"Suggestion": "Sugerencia",
|
|
588
|
+
"Continuation": "Continuation",
|
|
589
|
+
"More_details": "More details",
|
|
590
|
+
"More_concise": "More concise",
|
|
591
|
+
"More_vivid": "More vivid",
|
|
592
|
+
"Translate": "Translate",
|
|
593
|
+
"Adjustment": "Adjustment",
|
|
594
|
+
"Try_again": "Try again",
|
|
595
|
+
"Deprecation": "Deprecation",
|
|
596
|
+
"Generated_content_x_words": "Generated content {{count}} words",
|
|
597
|
+
"Ask_AI_anything": "Ask AI anything...",
|
|
598
|
+
"Thinking": "Thinking...",
|
|
599
|
+
"Translation_error_message": "Translation error, please try again.",
|
|
600
|
+
"The_translation_content_cannot_be_empty": "The translation content cannot be empty",
|
|
601
|
+
"Processing_message": "Processing, please wait...",
|
|
602
|
+
"AI_tip_content": "Discard current content?",
|
|
603
|
+
"Discard": "Descartar",
|
|
604
|
+
"English": "English",
|
|
605
|
+
"Chinese": "Chinese",
|
|
606
|
+
"Ask_AI": "Ask AI"
|
|
585
607
|
}
|
|
@@ -581,5 +581,27 @@
|
|
|
581
581
|
"Page": "Page",
|
|
582
582
|
"Share_1": "Compartir",
|
|
583
583
|
"Collect": "Collect",
|
|
584
|
-
"Collected": "Collected"
|
|
584
|
+
"Collected": "Collected",
|
|
585
|
+
"Link_to_file": "Link to file",
|
|
586
|
+
"Create_a_new_file": "Create a new file",
|
|
587
|
+
"Suggestion": "Sugerencia",
|
|
588
|
+
"Continuation": "Continuation",
|
|
589
|
+
"More_details": "More details",
|
|
590
|
+
"More_concise": "More concise",
|
|
591
|
+
"More_vivid": "More vivid",
|
|
592
|
+
"Translate": "Translate",
|
|
593
|
+
"Adjustment": "Adjustment",
|
|
594
|
+
"Try_again": "Try again",
|
|
595
|
+
"Deprecation": "Deprecation",
|
|
596
|
+
"Generated_content_x_words": "Generated content {{count}} words",
|
|
597
|
+
"Ask_AI_anything": "Ask AI anything...",
|
|
598
|
+
"Thinking": "Thinking...",
|
|
599
|
+
"Translation_error_message": "Translation error, please try again.",
|
|
600
|
+
"The_translation_content_cannot_be_empty": "The translation content cannot be empty",
|
|
601
|
+
"Processing_message": "Processing, please wait...",
|
|
602
|
+
"AI_tip_content": "Discard current content?",
|
|
603
|
+
"Discard": "Descartar",
|
|
604
|
+
"English": "English",
|
|
605
|
+
"Chinese": "Chinese",
|
|
606
|
+
"Ask_AI": "Ask AI"
|
|
585
607
|
}
|
|
@@ -581,5 +581,27 @@
|
|
|
581
581
|
"Page": "Page",
|
|
582
582
|
"Share_1": "Partager",
|
|
583
583
|
"Collect": "Collect",
|
|
584
|
-
"Collected": "Collected"
|
|
584
|
+
"Collected": "Collected",
|
|
585
|
+
"Link_to_file": "Link to file",
|
|
586
|
+
"Create_a_new_file": "Create a new file",
|
|
587
|
+
"Suggestion": "Suggestion",
|
|
588
|
+
"Continuation": "Continuation",
|
|
589
|
+
"More_details": "More details",
|
|
590
|
+
"More_concise": "More concise",
|
|
591
|
+
"More_vivid": "More vivid",
|
|
592
|
+
"Translate": "Translate",
|
|
593
|
+
"Adjustment": "Adjustment",
|
|
594
|
+
"Try_again": "Try again",
|
|
595
|
+
"Deprecation": "Deprecation",
|
|
596
|
+
"Generated_content_x_words": "Generated content {{count}} words",
|
|
597
|
+
"Ask_AI_anything": "Ask AI anything...",
|
|
598
|
+
"Thinking": "Thinking...",
|
|
599
|
+
"Translation_error_message": "Translation error, please try again.",
|
|
600
|
+
"The_translation_content_cannot_be_empty": "The translation content cannot be empty",
|
|
601
|
+
"Processing_message": "Processing, please wait...",
|
|
602
|
+
"AI_tip_content": "Discard current content?",
|
|
603
|
+
"Discard": "Abandonner",
|
|
604
|
+
"English": "English",
|
|
605
|
+
"Chinese": "Chinese",
|
|
606
|
+
"Ask_AI": "Ask AI"
|
|
585
607
|
}
|
|
@@ -581,5 +581,27 @@
|
|
|
581
581
|
"Page": "Page",
|
|
582
582
|
"Share_1": "Condividi",
|
|
583
583
|
"Collect": "Collect",
|
|
584
|
-
"Collected": "Collected"
|
|
584
|
+
"Collected": "Collected",
|
|
585
|
+
"Link_to_file": "Link to file",
|
|
586
|
+
"Create_a_new_file": "Create a new file",
|
|
587
|
+
"Suggestion": "Suggestion",
|
|
588
|
+
"Continuation": "Continuation",
|
|
589
|
+
"More_details": "More details",
|
|
590
|
+
"More_concise": "More concise",
|
|
591
|
+
"More_vivid": "More vivid",
|
|
592
|
+
"Translate": "Translate",
|
|
593
|
+
"Adjustment": "Adjustment",
|
|
594
|
+
"Try_again": "Try again",
|
|
595
|
+
"Deprecation": "Deprecation",
|
|
596
|
+
"Generated_content_x_words": "Generated content {{count}} words",
|
|
597
|
+
"Ask_AI_anything": "Ask AI anything...",
|
|
598
|
+
"Thinking": "Thinking...",
|
|
599
|
+
"Translation_error_message": "Translation error, please try again.",
|
|
600
|
+
"The_translation_content_cannot_be_empty": "The translation content cannot be empty",
|
|
601
|
+
"Processing_message": "Processing, please wait...",
|
|
602
|
+
"AI_tip_content": "Discard current content?",
|
|
603
|
+
"Discard": "Scarta",
|
|
604
|
+
"English": "English",
|
|
605
|
+
"Chinese": "Chinese",
|
|
606
|
+
"Ask_AI": "Ask AI"
|
|
585
607
|
}
|
|
@@ -580,6 +580,28 @@
|
|
|
580
580
|
"No_page_results": "Нет результатов на странице",
|
|
581
581
|
"Page": "Страница",
|
|
582
582
|
"Share_1": "Общий доступ",
|
|
583
|
-
"Collect": "
|
|
584
|
-
"Collected": "
|
|
583
|
+
"Collect": "Собрать",
|
|
584
|
+
"Collected": "Собрано",
|
|
585
|
+
"Link_to_file": "Ссылка на файл",
|
|
586
|
+
"Create_a_new_file": "Создать новый файл",
|
|
587
|
+
"Suggestion": "Предложение",
|
|
588
|
+
"Continuation": "Continuation",
|
|
589
|
+
"More_details": "More details",
|
|
590
|
+
"More_concise": "More concise",
|
|
591
|
+
"More_vivid": "More vivid",
|
|
592
|
+
"Translate": "Translate",
|
|
593
|
+
"Adjustment": "Adjustment",
|
|
594
|
+
"Try_again": "Try again",
|
|
595
|
+
"Deprecation": "Deprecation",
|
|
596
|
+
"Generated_content_x_words": "Generated content {{count}} words",
|
|
597
|
+
"Ask_AI_anything": "Ask AI anything...",
|
|
598
|
+
"Thinking": "Thinking...",
|
|
599
|
+
"Translation_error_message": "Translation error, please try again.",
|
|
600
|
+
"The_translation_content_cannot_be_empty": "The translation content cannot be empty",
|
|
601
|
+
"Processing_message": "Processing, please wait...",
|
|
602
|
+
"AI_tip_content": "Discard current content?",
|
|
603
|
+
"Discard": "Отменить",
|
|
604
|
+
"English": "English",
|
|
605
|
+
"Chinese": "Chinese",
|
|
606
|
+
"Ask_AI": "Спросить ИИ"
|
|
585
607
|
}
|
|
@@ -581,5 +581,27 @@
|
|
|
581
581
|
"Page": "页面",
|
|
582
582
|
"Share_1": "分享",
|
|
583
583
|
"Collect": "收藏",
|
|
584
|
-
"Collected": "已收藏"
|
|
584
|
+
"Collected": "已收藏",
|
|
585
|
+
"Link_to_file": "链接到文件",
|
|
586
|
+
"Create_a_new_file": "新建文件",
|
|
587
|
+
"Suggestion": "建议",
|
|
588
|
+
"Continuation": "继续写",
|
|
589
|
+
"More_details": "更加详细",
|
|
590
|
+
"More_concise": "更加简单",
|
|
591
|
+
"More_vivid": "更加生动",
|
|
592
|
+
"Translate": "翻译",
|
|
593
|
+
"Adjustment": "调整",
|
|
594
|
+
"Try_again": "再试一次",
|
|
595
|
+
"Deprecation": "弃用",
|
|
596
|
+
"Generated_content_x_words": "已生成内容 {{count}} 字",
|
|
597
|
+
"Ask_AI_anything": "向 AI 询问任何事情...",
|
|
598
|
+
"Thinking": "思考...",
|
|
599
|
+
"Translation_error_message": "翻译出错,请重试",
|
|
600
|
+
"The_translation_content_cannot_be_empty": "翻译内容不能为空",
|
|
601
|
+
"Processing_message": "正在处理,请稍侯...",
|
|
602
|
+
"AI_tip_content": "是否丢失当前内容?",
|
|
603
|
+
"Discard": "丢弃",
|
|
604
|
+
"English": "英语",
|
|
605
|
+
"Chinese": "中文",
|
|
606
|
+
"Ask_AI": "向 AI 提问"
|
|
585
607
|
}
|