@kg-ui/kg-ui-plus 0.2.0 → 0.2.2
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/es/api/copilot.mjs +23 -6
- package/dist/es/index.mjs +1 -1
- package/dist/es/{KgCopilot/CopiCanvas → kgCopilot/copilotCanvas}/InitWrap.vue.mjs +1 -1
- package/dist/es/{KgCopilot/CopiCanvas → kgCopilot/copilotCanvas}/InitWrap.vue2.mjs +1 -1
- package/dist/es/kgCopilot/copilotCanvas/InitWrap.vue3.mjs +4 -0
- package/dist/es/{KgCopilot/CopiCanvas → kgCopilot/copilotCanvas}/docViewer/index.vue.mjs +1 -1
- package/dist/es/{KgCopilot/CopiCanvas → kgCopilot/copilotCanvas}/docViewer/index.vue2.mjs +4 -1
- package/dist/es/kgCopilot/copilotCanvas/docViewer/index.vue3.mjs +4 -0
- package/dist/es/{KgCopilot/CopiCanvas → kgCopilot/copilotCanvas}/docViewer/wpsFileViewer/wpsAi/AiBar.vue.mjs +1 -1
- package/dist/es/{KgCopilot/CopiCanvas → kgCopilot/copilotCanvas}/docViewer/wpsFileViewer/wpsAi/AiBar.vue2.mjs +1 -1
- package/dist/es/kgCopilot/copilotCanvas/docViewer/wpsFileViewer/wpsAi/AiBar.vue3.mjs +4 -0
- package/dist/es/{KgCopilot/CopiCanvas → kgCopilot/copilotCanvas}/docViewer/wpsFileViewer/wpsAi/AiInput.vue.mjs +1 -1
- package/dist/es/{KgCopilot/CopiCanvas → kgCopilot/copilotCanvas}/docViewer/wpsFileViewer/wpsAi/AiInput.vue2.mjs +1 -1
- package/dist/es/kgCopilot/copilotCanvas/docViewer/wpsFileViewer/wpsAi/AiInput.vue3.mjs +4 -0
- package/dist/es/{KgCopilot/CopiCanvas → kgCopilot/copilotCanvas}/docViewer/wpsFileViewer/wpsAi/index.vue.mjs +11 -6
- package/dist/es/{KgCopilot/CopiCanvas → kgCopilot/copilotCanvas}/docViewer/wpsFileViewer/wpsPanel.vue.mjs +1 -1
- package/dist/es/{KgCopilot/CopiCanvas → kgCopilot/copilotCanvas}/docViewer/wpsFileViewer/wpsPanel.vue2.mjs +71 -55
- package/dist/es/kgCopilot/copilotCanvas/docViewer/wpsFileViewer/wpsPanel.vue3.mjs +4 -0
- package/dist/es/{KgCopilot/CopiCanvas → kgCopilot/copilotCanvas}/index.vue.mjs +1 -1
- package/dist/es/{KgCopilot/CopiCanvas → kgCopilot/copilotCanvas}/index.vue2.mjs +30 -5
- package/dist/es/kgCopilot/copilotCanvas/index.vue3.mjs +4 -0
- package/dist/es/{KgCopilot → kgCopilot/copilotDialog}/CopiContent/AnswerHead.vue.mjs +2 -2
- package/dist/es/{KgCopilot → kgCopilot/copilotDialog}/CopiContent/AnswerHead.vue2.mjs +2 -2
- package/dist/es/kgCopilot/copilotDialog/CopiContent/AnswerHead.vue3.mjs +4 -0
- package/dist/es/{KgCopilot/dialogue → kgCopilot/copilotDialog/CopiContent}/SuggestMessage.vue.mjs +2 -2
- package/dist/es/{KgCopilot/dialogue → kgCopilot/copilotDialog/CopiContent}/SuggestMessage.vue2.mjs +2 -2
- package/dist/es/kgCopilot/copilotDialog/CopiContent/SuggestMessage.vue3.mjs +4 -0
- package/dist/es/{KgCopilot → kgCopilot/copilotDialog}/CopiContent/UserHead.vue.mjs +3 -3
- package/dist/es/kgCopilot/copilotDialog/CopiContent/UserHead.vue2.mjs +4 -0
- package/dist/es/{KgCopilot/dialogue → kgCopilot/copilotDialog/CopiContent}/index.vue.mjs +2 -2
- package/dist/es/{KgCopilot/dialogue → kgCopilot/copilotDialog/CopiContent}/index.vue2.mjs +6 -6
- package/dist/es/kgCopilot/copilotDialog/CopiContent/index.vue3.mjs +4 -0
- package/dist/es/{KgCopilot/dialogue → kgCopilot/copilotDialog/CopiContent}/messageParse/edit.vue.mjs +2 -2
- package/dist/es/{KgCopilot/dialogue → kgCopilot/copilotDialog/CopiContent}/messageParse/edit.vue2.mjs +3 -3
- package/dist/es/kgCopilot/copilotDialog/CopiContent/messageParse/edit.vue3.mjs +4 -0
- package/dist/es/{KgCopilot/dialogue → kgCopilot/copilotDialog/CopiContent}/messageParse/fileBox.vue.mjs +5 -5
- package/dist/es/kgCopilot/copilotDialog/CopiContent/messageParse/fileBox.vue2.mjs +4 -0
- package/dist/es/{KgCopilot/dialogue → kgCopilot/copilotDialog/CopiContent}/messageParse/index.vue.mjs +2 -2
- package/dist/es/{KgCopilot/dialogue → kgCopilot/copilotDialog/CopiContent}/messageParse/index.vue2.mjs +32 -7
- package/dist/es/kgCopilot/copilotDialog/CopiContent/messageParse/index.vue3.mjs +4 -0
- package/dist/es/{KgCopilot/dialogue → kgCopilot/copilotDialog/CopiContent}/messageParse/readMd.vue.mjs +2 -2
- package/dist/es/{KgCopilot/dialogue → kgCopilot/copilotDialog/CopiContent}/messageParse/readMd.vue2.mjs +5 -5
- package/dist/es/kgCopilot/copilotDialog/CopiContent/messageParse/readMd.vue3.mjs +4 -0
- package/dist/es/kgCopilot/copilotDialog/CopiContent/messageParse/readStreamMd.vue.mjs +7 -0
- package/dist/es/kgCopilot/copilotDialog/CopiContent/messageParse/readStreamMd.vue2.mjs +114 -0
- package/dist/es/kgCopilot/copilotDialog/CopiContent/messageParse/readStreamMd.vue3.mjs +4 -0
- package/dist/es/kgCopilot/copilotDialog/CopiContent/messageParse/reportBox.vue.mjs +128 -0
- package/dist/es/kgCopilot/copilotDialog/CopiContent/messageParse/reportBox.vue2.mjs +4 -0
- package/dist/es/{KgCopilot → kgCopilot/copilotDialog}/CopiFooter/SearchInput/InputFootTool.vue.mjs +2 -2
- package/dist/es/{KgCopilot → kgCopilot/copilotDialog}/CopiFooter/SearchInput/InputFootTool.vue2.mjs +3 -3
- package/dist/es/kgCopilot/copilotDialog/CopiFooter/SearchInput/InputFootTool.vue3.mjs +4 -0
- package/dist/es/{KgCopilot → kgCopilot/copilotDialog}/CopiFooter/SearchInput/NewTheme.vue.mjs +2 -2
- package/dist/es/{KgCopilot → kgCopilot/copilotDialog}/CopiFooter/SearchInput/NewTheme.vue2.mjs +2 -2
- package/dist/es/kgCopilot/copilotDialog/CopiFooter/SearchInput/NewTheme.vue3.mjs +4 -0
- package/dist/es/{KgCopilot → kgCopilot/copilotDialog}/CopiFooter/SearchInput/SelectPluginByKey.vue.mjs +2 -2
- package/dist/es/{KgCopilot → kgCopilot/copilotDialog}/CopiFooter/SearchInput/SelectPluginByKey.vue2.mjs +2 -2
- package/dist/es/kgCopilot/copilotDialog/CopiFooter/SearchInput/SelectPluginByKey.vue3.mjs +4 -0
- package/dist/es/{KgCopilot → kgCopilot/copilotDialog}/CopiFooter/SearchInput/index.vue.mjs +2 -2
- package/dist/es/{KgCopilot → kgCopilot/copilotDialog}/CopiFooter/SearchInput/index.vue2.mjs +7 -7
- package/dist/es/kgCopilot/copilotDialog/CopiFooter/SearchInput/index.vue3.mjs +4 -0
- package/dist/es/{KgCopilot → kgCopilot/copilotDialog}/CopiFooter/index.vue.mjs +2 -2
- package/dist/es/kgCopilot/copilotDialog/CopiFooter/index.vue3.mjs +4 -0
- package/dist/es/{KgCopilot/historyRecord → kgCopilot/copilotHistory}/index.vue.mjs +1 -1
- package/dist/es/{KgCopilot/historyRecord → kgCopilot/copilotHistory}/index.vue2.mjs +1 -1
- package/dist/es/kgCopilot/copilotHistory/index.vue3.mjs +4 -0
- package/dist/es/{KgCopilot → kgCopilot}/index.vue.mjs +1 -1
- package/dist/es/{KgCopilot → kgCopilot}/index.vue2.mjs +4 -4
- package/dist/es/kgCopilot/index.vue3.mjs +4 -0
- package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/loading.mjs +8 -0
- package/dist/es/node_modules/.pnpm/@iconify-icons_ri@1.2.3/node_modules/@iconify-icons/ri/share-forward-2-fill.mjs +8 -0
- package/dist/es/store/modules/copilot.mjs +86 -22
- package/dist/es/style.css +1 -1
- package/dist/es/utils/index.mjs +14 -0
- package/package.json +1 -1
- package/dist/es/KgCopilot/CopiCanvas/InitWrap.vue3.mjs +0 -4
- package/dist/es/KgCopilot/CopiCanvas/docViewer/index.vue3.mjs +0 -4
- package/dist/es/KgCopilot/CopiCanvas/docViewer/wpsFileViewer/wpsAi/AiBar.vue3.mjs +0 -4
- package/dist/es/KgCopilot/CopiCanvas/docViewer/wpsFileViewer/wpsAi/AiInput.vue3.mjs +0 -4
- package/dist/es/KgCopilot/CopiCanvas/docViewer/wpsFileViewer/wpsPanel.vue3.mjs +0 -4
- package/dist/es/KgCopilot/CopiCanvas/index.vue3.mjs +0 -4
- package/dist/es/KgCopilot/CopiContent/AnswerHead.vue3.mjs +0 -4
- package/dist/es/KgCopilot/CopiContent/UserHead.vue2.mjs +0 -4
- package/dist/es/KgCopilot/CopiFooter/SearchInput/InputFootTool.vue3.mjs +0 -4
- package/dist/es/KgCopilot/CopiFooter/SearchInput/NewTheme.vue3.mjs +0 -4
- package/dist/es/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue3.mjs +0 -4
- package/dist/es/KgCopilot/CopiFooter/SearchInput/index.vue3.mjs +0 -4
- package/dist/es/KgCopilot/CopiFooter/index.vue3.mjs +0 -4
- package/dist/es/KgCopilot/dialogue/SuggestMessage.vue3.mjs +0 -4
- package/dist/es/KgCopilot/dialogue/index.vue3.mjs +0 -4
- package/dist/es/KgCopilot/dialogue/messageParse/edit.vue3.mjs +0 -4
- package/dist/es/KgCopilot/dialogue/messageParse/fileBox.vue2.mjs +0 -4
- package/dist/es/KgCopilot/dialogue/messageParse/index.vue3.mjs +0 -4
- package/dist/es/KgCopilot/dialogue/messageParse/readMd.vue3.mjs +0 -4
- package/dist/es/KgCopilot/historyRecord/index.vue3.mjs +0 -4
- package/dist/es/KgCopilot/index.vue3.mjs +0 -4
- /package/dist/es/{KgCopilot/CopiCanvas → kgCopilot/copilotCanvas}/FileSkeletion.vue.mjs +0 -0
- /package/dist/es/{KgCopilot/CopiCanvas → kgCopilot/copilotCanvas}/FileSkeletion.vue2.mjs +0 -0
- /package/dist/es/{KgCopilot/CopiCanvas → kgCopilot/copilotCanvas}/docViewer/wpsFileViewer/lib/web-office-sdk-solution-v2.0.7.es.mjs +0 -0
- /package/dist/es/{KgCopilot/CopiCanvas → kgCopilot/copilotCanvas}/docViewer/wpsFileViewer/wpsAi/index.vue2.mjs +0 -0
- /package/dist/es/{KgCopilot/dialogue → kgCopilot/copilotDialog/CopiContent}/messageParse/fileIcon.vue.mjs +0 -0
- /package/dist/es/{KgCopilot/dialogue → kgCopilot/copilotDialog/CopiContent}/messageParse/fileIcon.vue2.mjs +0 -0
- /package/dist/es/{KgCopilot/dialogue → kgCopilot/copilotDialog/CopiContent}/messageParse/mdInCode.mjs +0 -0
- /package/dist/es/{KgCopilot → kgCopilot/copilotDialog}/CopiFooter/index.vue2.mjs +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent, ref, resolveComponent, openBlock, createElementBlock, Fragment, renderList, unref, createElementVNode, createBlock, withCtx, renderSlot, normalizeClass, createTextVNode, toDisplayString, createVNode, createCommentVNode, withDirectives, vShow, nextTick, pushScopeId, popScopeId } from "vue";
|
|
2
2
|
import MessageParse from "./messageParse/index.vue.mjs";
|
|
3
|
-
import UserHead from "
|
|
4
|
-
import AnswerHead from "
|
|
3
|
+
import UserHead from "./UserHead.vue.mjs";
|
|
4
|
+
import AnswerHead from "./AnswerHead.vue.mjs";
|
|
5
5
|
import SuggestMessage from "./SuggestMessage.vue.mjs";
|
|
6
|
-
import data$1 from "
|
|
7
|
-
import data from "
|
|
8
|
-
import { useCopilotStoreHook } from "
|
|
6
|
+
import data$1 from "../../../node_modules/.pnpm/@iconify-icons_ph@1.2.5/node_modules/@iconify-icons/ph/warning-bold.mjs";
|
|
7
|
+
import data from "../../../node_modules/.pnpm/@iconify-icons_ph@1.2.5/node_modules/@iconify-icons/ph/caret-down-fill.mjs";
|
|
8
|
+
import { useCopilotStoreHook } from "../../../store/modules/copilot.mjs";
|
|
9
9
|
import { storeToRefs } from "pinia";
|
|
10
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
10
|
+
const _withScopeId = (n) => (pushScopeId("data-v-a9f68771"), n = n(), popScopeId(), n);
|
|
11
11
|
const _hoisted_1 = { class: "msg-head" };
|
|
12
12
|
const _hoisted_2 = { class: "msg-box" };
|
|
13
13
|
const _hoisted_3 = {
|
package/dist/es/{KgCopilot/dialogue → kgCopilot/copilotDialog/CopiContent}/messageParse/edit.vue.mjs
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./edit.vue2.mjs";
|
|
2
2
|
import "./edit.vue3.mjs";
|
|
3
|
-
import _export_sfc from "
|
|
4
|
-
const Edit = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
3
|
+
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const Edit = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-856dc31a"]]);
|
|
5
5
|
export {
|
|
6
6
|
Edit as default
|
|
7
7
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, reactive, toRaw, resolveComponent, openBlock, createElementBlock, withDirectives, createElementVNode, createVNode, normalizeClass, unref, createCommentVNode, toDisplayString, vShow, withKeys, vModelText, createTextVNode } from "vue";
|
|
2
|
-
import data from "
|
|
2
|
+
import data from "../../../../node_modules/.pnpm/@iconify-icons_ph@1.2.5/node_modules/@iconify-icons/ph/note-pencil-bold.mjs";
|
|
3
3
|
import ReadMd from "./readMd.vue.mjs";
|
|
4
|
-
import { useVModel } from "
|
|
5
|
-
import { useCopilotStoreHook } from "
|
|
4
|
+
import { useVModel } from "../../../../node_modules/.pnpm/@vueuse_core@9.13.0_vue@3.2.45/node_modules/@vueuse/core/index.mjs";
|
|
5
|
+
import { useCopilotStoreHook } from "../../../../store/modules/copilot.mjs";
|
|
6
6
|
import { storeToRefs } from "pinia";
|
|
7
7
|
const _hoisted_1 = { class: "read-flex" };
|
|
8
8
|
const _hoisted_2 = {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ref, watch, onMounted, openBlock, createElementBlock, createElementVNode, createVNode, toDisplayString, createCommentVNode, withDirectives, vShow, unref } from "vue";
|
|
2
2
|
import _sfc_main$1 from "./fileIcon.vue.mjs";
|
|
3
|
-
import { convertBytes, urlDownload } from "
|
|
4
|
-
import { useCopilotStoreHook } from "
|
|
3
|
+
import { convertBytes, urlDownload } from "../../../../utils/home.mjs";
|
|
4
|
+
import { useCopilotStoreHook } from "../../../../store/modules/copilot.mjs";
|
|
5
5
|
import { storeToRefs } from "pinia";
|
|
6
|
-
import { downloadByWps } from "
|
|
6
|
+
import { downloadByWps } from "../../../../api/copilot.mjs";
|
|
7
7
|
import "./fileBox.vue2.mjs";
|
|
8
|
-
import _export_sfc from "
|
|
8
|
+
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
9
9
|
const _hoisted_1 = { class: "file-box" };
|
|
10
10
|
const _hoisted_2 = { class: "file-content" };
|
|
11
11
|
const _hoisted_3 = { class: "file-desc" };
|
|
@@ -110,7 +110,7 @@ const _sfc_main = {
|
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
|
-
const FileBox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
113
|
+
const FileBox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0ec7b3b0"]]);
|
|
114
114
|
export {
|
|
115
115
|
FileBox as default
|
|
116
116
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.mjs";
|
|
2
2
|
import "./index.vue3.mjs";
|
|
3
|
-
import _export_sfc from "
|
|
4
|
-
const MessageParse = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
3
|
+
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const MessageParse = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-32c6859b"]]);
|
|
5
5
|
export {
|
|
6
6
|
MessageParse as default
|
|
7
7
|
};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { defineComponent, watch, ref, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, renderList, unref, createBlock, createCommentVNode, nextTick } from "vue";
|
|
2
|
-
import { useCopilotStoreHook, DataType } from "
|
|
2
|
+
import { useCopilotStoreHook, DataType } from "../../../../store/modules/copilot.mjs";
|
|
3
3
|
import ReadMd from "./readMd.vue.mjs";
|
|
4
|
+
import ReadStreamMd from "./readStreamMd.vue.mjs";
|
|
4
5
|
import Edit from "./edit.vue.mjs";
|
|
5
|
-
import { storeToRefs } from "pinia";
|
|
6
|
-
import { useVModel } from "../../../node_modules/.pnpm/@vueuse_core@9.13.0_vue@3.2.45/node_modules/@vueuse/core/index.mjs";
|
|
7
6
|
import FileBox from "./fileBox.vue.mjs";
|
|
7
|
+
import ReportBox from "./reportBox.vue.mjs";
|
|
8
|
+
import { storeToRefs } from "pinia";
|
|
9
|
+
import { useVModel } from "../../../../node_modules/.pnpm/@vueuse_core@9.13.0_vue@3.2.45/node_modules/@vueuse/core/index.mjs";
|
|
8
10
|
const _hoisted_1 = {
|
|
9
11
|
key: 1,
|
|
10
12
|
class: "cursor"
|
|
@@ -145,8 +147,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
145
147
|
onPrintOk: printOk,
|
|
146
148
|
isSend: props.isSend
|
|
147
149
|
}, null, 8, ["text", "speed", "isPrinting", "onUpdate:isPrinting", "isSend"])) : createCommentVNode("", true),
|
|
148
|
-
item.type === unref(DataType)[unref(DataType).
|
|
150
|
+
item.type === unref(DataType)[unref(DataType).stream] ? (openBlock(), createBlock(ReadStreamMd, {
|
|
149
151
|
key: 1,
|
|
152
|
+
text: item.content,
|
|
153
|
+
scrollToBottom: dealHeight,
|
|
154
|
+
streamIsOver: item.streamIsOver,
|
|
155
|
+
isPrinting: item.needPrinting,
|
|
156
|
+
"onUpdate:isPrinting": ($event) => item.needPrinting = $event,
|
|
157
|
+
onPrintOk: printOk,
|
|
158
|
+
isSend: props.isSend
|
|
159
|
+
}, null, 8, ["text", "streamIsOver", "isPrinting", "onUpdate:isPrinting", "isSend"])) : createCommentVNode("", true),
|
|
160
|
+
item.type === unref(DataType)[unref(DataType).edit] ? (openBlock(), createBlock(Edit, {
|
|
161
|
+
key: 2,
|
|
150
162
|
content: item.content,
|
|
151
163
|
scrollToBottom: dealHeight,
|
|
152
164
|
isPrinting: item.needPrinting,
|
|
@@ -154,12 +166,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
154
166
|
onPrintOk: printOk
|
|
155
167
|
}, null, 8, ["content", "isPrinting", "onUpdate:isPrinting"])) : createCommentVNode("", true),
|
|
156
168
|
item.type === unref(DataType)[unref(DataType).file] ? (openBlock(), createBlock(FileBox, {
|
|
157
|
-
key:
|
|
169
|
+
key: 3,
|
|
158
170
|
desc: item.content,
|
|
159
171
|
isPrinting: item.needPrinting,
|
|
160
172
|
"onUpdate:isPrinting": ($event) => item.needPrinting = $event,
|
|
161
173
|
onPrintOk: printOk
|
|
162
|
-
}, null, 8, ["desc", "isPrinting", "onUpdate:isPrinting"])) : createCommentVNode("", true)
|
|
174
|
+
}, null, 8, ["desc", "isPrinting", "onUpdate:isPrinting"])) : createCommentVNode("", true),
|
|
175
|
+
item.type === unref(DataType).report ? (openBlock(), createBlock(ReportBox, {
|
|
176
|
+
key: 4,
|
|
177
|
+
file_status: item.file_status,
|
|
178
|
+
file_url: item.file_url,
|
|
179
|
+
file_name: item.file_name,
|
|
180
|
+
onPrintOk: printOk
|
|
181
|
+
}, null, 8, ["file_status", "file_url", "file_name"])) : createCommentVNode("", true)
|
|
163
182
|
], 64)) : createCommentVNode("", true),
|
|
164
183
|
props.isPrinting && index === current.value - 1 && !item.needPrinting && current.value <= firstResIndex.value ? (openBlock(), createElementBlock("span", _hoisted_1)) : createCommentVNode("", true)
|
|
165
184
|
], 64);
|
|
@@ -193,7 +212,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
193
212
|
isPrinting: item.needPrinting,
|
|
194
213
|
"onUpdate:isPrinting": ($event) => item.needPrinting = $event,
|
|
195
214
|
onPrintOk: printOk
|
|
196
|
-
}, null, 8, ["desc", "isPrinting", "onUpdate:isPrinting"])) : createCommentVNode("", true)
|
|
215
|
+
}, null, 8, ["desc", "isPrinting", "onUpdate:isPrinting"])) : createCommentVNode("", true),
|
|
216
|
+
item.type === unref(DataType).report ? (openBlock(), createBlock(ReportBox, {
|
|
217
|
+
key: 3,
|
|
218
|
+
file_status: item.file_status,
|
|
219
|
+
file_url: item.file_url,
|
|
220
|
+
file_name: item.file_name
|
|
221
|
+
}, null, 8, ["file_status", "file_url", "file_name"])) : createCommentVNode("", true)
|
|
197
222
|
], 64)) : createCommentVNode("", true),
|
|
198
223
|
props.isPrinting && index === current.value - 1 && !item.needPrinting && current.value > firstResIndex.value ? (openBlock(), createElementBlock("span", _hoisted_2)) : createCommentVNode("", true)
|
|
199
224
|
], 64);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./readMd.vue2.mjs";
|
|
2
2
|
import "./readMd.vue3.mjs";
|
|
3
|
-
import _export_sfc from "
|
|
4
|
-
const ReadMd = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
3
|
+
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const ReadMd = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-192e8e92"]]);
|
|
5
5
|
export {
|
|
6
6
|
ReadMd as default
|
|
7
7
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, onMounted, resolveComponent, resolveDirective, openBlock, createElementBlock, withDirectives, createElementVNode, unref, normalizeClass, normalizeStyle, createVNode, createCommentVNode, createBlock } from "vue";
|
|
2
|
-
import purify from "
|
|
3
|
-
import { marked } from "
|
|
2
|
+
import purify from "../../../../node_modules/.pnpm/dompurify@3.0.10/node_modules/dompurify/dist/purify.es.mjs";
|
|
3
|
+
import { marked } from "../../../../node_modules/.pnpm/marked@12.0.1/node_modules/marked/lib/marked.esm.mjs";
|
|
4
4
|
import isInCode from "./mdInCode.mjs";
|
|
5
|
-
import { useCopilotStoreHook } from "
|
|
5
|
+
import { useCopilotStoreHook } from "../../../../store/modules/copilot.mjs";
|
|
6
6
|
import { storeToRefs } from "pinia";
|
|
7
|
-
import data$1 from "
|
|
8
|
-
import data from "
|
|
7
|
+
import data$1 from "../../../../node_modules/.pnpm/@iconify-icons_ph@1.2.5/node_modules/@iconify-icons/ph/check-square-fill.mjs";
|
|
8
|
+
import data from "../../../../node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/copy-document.mjs";
|
|
9
9
|
const _hoisted_1 = ["innerHTML"];
|
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
11
|
__name: "readMd",
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import _sfc_main from "./readStreamMd.vue2.mjs";
|
|
2
|
+
import "./readStreamMd.vue3.mjs";
|
|
3
|
+
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const ReadStreamMd = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cad0518c"]]);
|
|
5
|
+
export {
|
|
6
|
+
ReadStreamMd as default
|
|
7
|
+
};
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { defineComponent, computed, watch, onMounted, resolveComponent, resolveDirective, openBlock, createElementBlock, withDirectives, createElementVNode, unref, normalizeClass, normalizeStyle, createBlock, createCommentVNode } from "vue";
|
|
2
|
+
import purify from "../../../../node_modules/.pnpm/dompurify@3.0.10/node_modules/dompurify/dist/purify.es.mjs";
|
|
3
|
+
import { marked } from "../../../../node_modules/.pnpm/marked@12.0.1/node_modules/marked/lib/marked.esm.mjs";
|
|
4
|
+
import isInCode from "./mdInCode.mjs";
|
|
5
|
+
import { useCopilotStoreHook } from "../../../../store/modules/copilot.mjs";
|
|
6
|
+
import { storeToRefs } from "pinia";
|
|
7
|
+
import data from "../../../../node_modules/.pnpm/@iconify-icons_ph@1.2.5/node_modules/@iconify-icons/ph/check-square-fill.mjs";
|
|
8
|
+
const _hoisted_1 = {
|
|
9
|
+
class: "flex",
|
|
10
|
+
style: { "align-items": "center" }
|
|
11
|
+
};
|
|
12
|
+
const _hoisted_2 = ["innerHTML"];
|
|
13
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
|
+
__name: "readStreamMd",
|
|
15
|
+
props: {
|
|
16
|
+
// 输入的 markdown 文本
|
|
17
|
+
text: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: ""
|
|
20
|
+
},
|
|
21
|
+
isPrinting: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: false
|
|
24
|
+
},
|
|
25
|
+
scrollToBottom: {
|
|
26
|
+
type: Function,
|
|
27
|
+
default: () => {
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
isSend: {
|
|
31
|
+
type: Boolean
|
|
32
|
+
},
|
|
33
|
+
streamIsOver: {
|
|
34
|
+
type: Boolean,
|
|
35
|
+
default: false
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
emits: ["update:isPrinting", "printOk"],
|
|
39
|
+
setup(__props, { emit: emits }) {
|
|
40
|
+
const props = __props;
|
|
41
|
+
const CopilotStore = useCopilotStoreHook();
|
|
42
|
+
const { requestSseing } = storeToRefs(CopilotStore);
|
|
43
|
+
const cursor = '<span class="cursor"></span>';
|
|
44
|
+
const vHtml = computed(() => {
|
|
45
|
+
return purify.sanitize(marked.parse(props.text.replace(/ {4}/g, " ")));
|
|
46
|
+
});
|
|
47
|
+
if (!props.isPrinting) {
|
|
48
|
+
emits("printOk");
|
|
49
|
+
}
|
|
50
|
+
watch(
|
|
51
|
+
() => props.streamIsOver,
|
|
52
|
+
(val) => {
|
|
53
|
+
if (val) {
|
|
54
|
+
if (props.isPrinting) {
|
|
55
|
+
emits("update:isPrinting", false);
|
|
56
|
+
emits("printOk");
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
immediate: true
|
|
62
|
+
}
|
|
63
|
+
);
|
|
64
|
+
watch(
|
|
65
|
+
() => requestSseing.value,
|
|
66
|
+
(val) => {
|
|
67
|
+
if (!val) {
|
|
68
|
+
if (props.isPrinting) {
|
|
69
|
+
emits("update:isPrinting", false);
|
|
70
|
+
emits("printOk");
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
);
|
|
75
|
+
watch(
|
|
76
|
+
() => props.text,
|
|
77
|
+
() => {
|
|
78
|
+
props.scrollToBottom();
|
|
79
|
+
}
|
|
80
|
+
);
|
|
81
|
+
onMounted(() => {
|
|
82
|
+
props.scrollToBottom(true);
|
|
83
|
+
});
|
|
84
|
+
const resultHtml = computed(() => {
|
|
85
|
+
return vHtml.value + (props.isPrinting && !isInCode(vHtml.value) ? cursor : "");
|
|
86
|
+
});
|
|
87
|
+
return (_ctx, _cache) => {
|
|
88
|
+
const _component_IconifyIconOffline = resolveComponent("IconifyIconOffline");
|
|
89
|
+
const _directive_highlight = resolveDirective("highlight");
|
|
90
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
91
|
+
withDirectives(createElementVNode("div", {
|
|
92
|
+
innerHTML: unref(resultHtml),
|
|
93
|
+
class: normalizeClass(["markdown markdown-text", [
|
|
94
|
+
props.text.includes("LLM") && !props.isPrinting && "llm-markdown-text",
|
|
95
|
+
props.isSend && "user-markdown-text"
|
|
96
|
+
]]),
|
|
97
|
+
style: normalizeStyle({
|
|
98
|
+
width: props.text.includes("LLM") && !props.isPrinting ? "auto" : "100%"
|
|
99
|
+
})
|
|
100
|
+
}, null, 14, _hoisted_2), [
|
|
101
|
+
[_directive_highlight]
|
|
102
|
+
]),
|
|
103
|
+
props.text.includes("LLM") && !props.isPrinting ? (openBlock(), createBlock(_component_IconifyIconOffline, {
|
|
104
|
+
key: 0,
|
|
105
|
+
class: "check-mark",
|
|
106
|
+
icon: unref(data)
|
|
107
|
+
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
108
|
+
]);
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
export {
|
|
113
|
+
_sfc_main as default
|
|
114
|
+
};
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { ref, onMounted, watch, resolveComponent, openBlock, createElementBlock, createElementVNode, createBlock, unref, toDisplayString, withModifiers, withDirectives, vShow, createCommentVNode } from "vue";
|
|
2
|
+
import _sfc_main$1 from "./fileIcon.vue.mjs";
|
|
3
|
+
import { urlDownload } from "../../../../utils/home.mjs";
|
|
4
|
+
import { useCopilotStoreHook } from "../../../../store/modules/copilot.mjs";
|
|
5
|
+
import { storeToRefs } from "pinia";
|
|
6
|
+
import { downloadByWps } from "../../../../api/copilot.mjs";
|
|
7
|
+
import data from "../../../../node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/loading.mjs";
|
|
8
|
+
import "./reportBox.vue2.mjs";
|
|
9
|
+
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
10
|
+
const _hoisted_1 = { class: "file-content flex-1 p-4" };
|
|
11
|
+
const _hoisted_2 = { class: "flex items-center" };
|
|
12
|
+
const _hoisted_3 = { class: "h-4 w-4 flex items-center justify-center text-blue-500 mr-3" };
|
|
13
|
+
const _hoisted_4 = { class: "flex-1 min-w-0" };
|
|
14
|
+
const _hoisted_5 = { class: "text-sm font-medium text-gray-800 truncate" };
|
|
15
|
+
const _hoisted_6 = { class: "text-xs text-gray-500 mt-1" };
|
|
16
|
+
const _hoisted_7 = {
|
|
17
|
+
key: 0,
|
|
18
|
+
class: "border-t border-gray-200 bg-gray-50 flex justify-end space-x-2"
|
|
19
|
+
};
|
|
20
|
+
const _hoisted_8 = ["onClick"];
|
|
21
|
+
const _hoisted_9 = ["onClick"];
|
|
22
|
+
const _sfc_main = {
|
|
23
|
+
__name: "reportBox",
|
|
24
|
+
props: {
|
|
25
|
+
file_status: {
|
|
26
|
+
type: String,
|
|
27
|
+
default: "loading"
|
|
28
|
+
},
|
|
29
|
+
file_url: {
|
|
30
|
+
type: String,
|
|
31
|
+
default: ""
|
|
32
|
+
},
|
|
33
|
+
file_name: {
|
|
34
|
+
type: String,
|
|
35
|
+
default: ""
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
emits: ["printOk", "update:isPrinting"],
|
|
39
|
+
setup(__props, { emit: emits }) {
|
|
40
|
+
const props = __props;
|
|
41
|
+
const CopilotStore = useCopilotStoreHook();
|
|
42
|
+
const { fullscreen, fileId } = storeToRefs(CopilotStore);
|
|
43
|
+
const { getPreviewFileUrl2, openCanvasVisible } = CopilotStore;
|
|
44
|
+
const fileType = ref("");
|
|
45
|
+
const downLoadFilde = async () => {
|
|
46
|
+
if (fileId.value) {
|
|
47
|
+
const res = await downloadByWps(fileId.value);
|
|
48
|
+
urlDownload(res == null ? void 0 : res.url, res == null ? void 0 : res.name);
|
|
49
|
+
} else {
|
|
50
|
+
urlDownload(props.file_url, props.file_name);
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
const preview = () => {
|
|
54
|
+
if (props.file_status === "success") {
|
|
55
|
+
getPreviewFileUrl2(props.file_url, props.file_name);
|
|
56
|
+
openCanvasVisible();
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
onMounted(() => {
|
|
60
|
+
emits("update:isPrinting", false);
|
|
61
|
+
emits("printOk");
|
|
62
|
+
});
|
|
63
|
+
watch(
|
|
64
|
+
() => props.file_status,
|
|
65
|
+
(newValue) => {
|
|
66
|
+
if (newValue === "success") {
|
|
67
|
+
const suffix = props.file_name.split(".").pop();
|
|
68
|
+
switch (suffix) {
|
|
69
|
+
case "doc":
|
|
70
|
+
fileType.value = "word";
|
|
71
|
+
break;
|
|
72
|
+
case "docx":
|
|
73
|
+
fileType.value = "word";
|
|
74
|
+
break;
|
|
75
|
+
}
|
|
76
|
+
getPreviewFileUrl2(props.file_url, props.file_name);
|
|
77
|
+
openCanvasVisible();
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
immediate: true
|
|
82
|
+
}
|
|
83
|
+
);
|
|
84
|
+
return (_ctx, _cache) => {
|
|
85
|
+
const _component_IconifyIconOffline = resolveComponent("IconifyIconOffline");
|
|
86
|
+
return openBlock(), createElementBlock("div", {
|
|
87
|
+
class: "file-box bg-gray-50 rounded-lg border border-gray-200 hover:bg-blue-50 hover:border-blue-100 transition-colors duration-200 shadow-sm overflow-hidden flex flex-col",
|
|
88
|
+
onClick: preview
|
|
89
|
+
}, [
|
|
90
|
+
createElementVNode("div", _hoisted_1, [
|
|
91
|
+
createElementVNode("div", _hoisted_2, [
|
|
92
|
+
createElementVNode("div", _hoisted_3, [
|
|
93
|
+
__props.file_status === "loading" ? (openBlock(), createBlock(_component_IconifyIconOffline, {
|
|
94
|
+
key: 0,
|
|
95
|
+
class: "animate-spin h-4 w-4",
|
|
96
|
+
icon: unref(data)
|
|
97
|
+
}, null, 8, ["icon"])) : (openBlock(), createBlock(_sfc_main$1, {
|
|
98
|
+
key: 1,
|
|
99
|
+
class: "",
|
|
100
|
+
type: fileType.value
|
|
101
|
+
}, null, 8, ["type"]))
|
|
102
|
+
]),
|
|
103
|
+
createElementVNode("div", _hoisted_4, [
|
|
104
|
+
createElementVNode("p", _hoisted_5, toDisplayString(__props.file_status === "loading" ? "报告生成中" : __props.file_status === "success" ? __props.file_name : "文件异常"), 1),
|
|
105
|
+
createElementVNode("p", _hoisted_6, toDisplayString(__props.file_status === "loading" ? "请稍候,正在为您生成文档..." : __props.file_status === "success" ? "点击预览文件内容" : "服务器错误,请稍后再试"), 1)
|
|
106
|
+
])
|
|
107
|
+
])
|
|
108
|
+
]),
|
|
109
|
+
__props.file_status === "success" ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
110
|
+
createElementVNode("button", {
|
|
111
|
+
class: "download-btn px-3 py-1.5 text-sm font-medium rounded-md text-blue-600 hover:text-blue-800 hover:bg-blue-100 transition-colors",
|
|
112
|
+
onClick: withModifiers(downLoadFilde, ["stop"])
|
|
113
|
+
}, " 下载 ", 8, _hoisted_8),
|
|
114
|
+
withDirectives(createElementVNode("button", {
|
|
115
|
+
class: "download-btn px-3 py-1.5 text-sm font-medium rounded-md text-blue-600 hover:text-blue-800 hover:bg-blue-100 transition-colors",
|
|
116
|
+
onClick: withModifiers(preview, ["stop"])
|
|
117
|
+
}, " 预览 ", 8, _hoisted_9), [
|
|
118
|
+
[vShow, unref(fullscreen)]
|
|
119
|
+
])
|
|
120
|
+
])) : createCommentVNode("", true)
|
|
121
|
+
]);
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
const ReportBox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-dc50eaa2"]]);
|
|
126
|
+
export {
|
|
127
|
+
ReportBox as default
|
|
128
|
+
};
|
package/dist/es/{KgCopilot → kgCopilot/copilotDialog}/CopiFooter/SearchInput/InputFootTool.vue.mjs
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./InputFootTool.vue2.mjs";
|
|
2
2
|
import "./InputFootTool.vue3.mjs";
|
|
3
|
-
import _export_sfc from "
|
|
4
|
-
const InputFootTool = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
3
|
+
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const InputFootTool = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6c9c570c"]]);
|
|
5
5
|
export {
|
|
6
6
|
InputFootTool as default
|
|
7
7
|
};
|
package/dist/es/{KgCopilot → kgCopilot/copilotDialog}/CopiFooter/SearchInput/InputFootTool.vue2.mjs
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, resolveComponent, openBlock, createElementBlock, unref, createBlock, withCtx, createElementVNode, normalizeClass, createVNode, createCommentVNode, Fragment, renderList, toDisplayString } from "vue";
|
|
2
2
|
import { storeToRefs } from "pinia";
|
|
3
|
-
import data from "
|
|
4
|
-
import { useCopilotStoreHook } from "
|
|
5
|
-
import { useDebounceFn } from "
|
|
3
|
+
import data from "../../../../node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/reading.mjs";
|
|
4
|
+
import { useCopilotStoreHook } from "../../../../store/modules/copilot.mjs";
|
|
5
|
+
import { useDebounceFn } from "../../../../node_modules/.pnpm/@vueuse_shared@9.13.0_vue@3.2.45/node_modules/@vueuse/shared/index.mjs";
|
|
6
6
|
const _hoisted_1 = {
|
|
7
7
|
class: "bottom-left-controls",
|
|
8
8
|
style: { "margin-left": "8px" }
|
package/dist/es/{KgCopilot → kgCopilot/copilotDialog}/CopiFooter/SearchInput/NewTheme.vue.mjs
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./NewTheme.vue2.mjs";
|
|
2
2
|
import "./NewTheme.vue3.mjs";
|
|
3
|
-
import _export_sfc from "
|
|
4
|
-
const NewTheme = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
3
|
+
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const NewTheme = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1be61c94"]]);
|
|
5
5
|
export {
|
|
6
6
|
NewTheme as default
|
|
7
7
|
};
|
package/dist/es/{KgCopilot → kgCopilot/copilotDialog}/CopiFooter/SearchInput/NewTheme.vue2.mjs
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, openBlock, createElementBlock, createElementVNode, normalizeStyle, createStaticVNode } from "vue";
|
|
2
|
-
import { useCopilotStoreHook } from "
|
|
2
|
+
import { useCopilotStoreHook } from "../../../../store/modules/copilot.mjs";
|
|
3
3
|
import { storeToRefs } from "pinia";
|
|
4
4
|
const _hoisted_1 = { class: "outside-left-container" };
|
|
5
|
-
const _hoisted_2 = /* @__PURE__ */ createStaticVNode('<div class="button-compose-content" data-v-
|
|
5
|
+
const _hoisted_2 = /* @__PURE__ */ createStaticVNode('<div class="button-compose-content" data-v-1be61c94><div class="button-compose-icon" data-v-1be61c94><svg class="button-compose-icon" width="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" data-v-1be61c94><path fill="#fff" d="M12 2C17.5228 2 22 6.47715 22 12C22 12.2628 21.9899 12.5232 21.97 12.7809C21.5319 12.3658 21.0361 12.0111 20.4958 11.73C20.3532 7.16054 16.6041 3.5 12 3.5C7.30558 3.5 3.5 7.30558 3.5 12C3.5 13.4696 3.87277 14.8834 4.57303 16.1375L4.72368 16.4072L3.61096 20.3914L7.59755 19.2792L7.86709 19.4295C9.04305 20.0852 10.3592 20.4531 11.73 20.4958C12.0111 21.0361 12.3658 21.5319 12.7809 21.97C12.5232 21.9899 12.2628 22 12 22C10.3817 22 8.81782 21.6146 7.41286 20.888L3.58704 21.9553C2.92212 22.141 2.23258 21.7525 2.04691 21.0876C1.98546 20.8676 1.98549 20.6349 2.04695 20.4151L3.11461 16.5922C2.38637 15.186 2 13.6203 2 12C2 6.47715 6.47715 2 12 2ZM23 17.5C23 14.4624 20.5376 12 17.5 12C14.4624 12 12 14.4624 12 17.5C12 20.5376 14.4624 23 17.5 23C20.5376 23 23 20.5376 23 17.5ZM18.0006 18L18.0011 20.5035C18.0011 20.7797 17.7773 21.0035 17.5011 21.0035C17.225 21.0035 17.0011 20.7797 17.0011 20.5035L17.0006 18H14.4956C14.2197 18 13.9961 17.7762 13.9961 17.5C13.9961 17.2239 14.2197 17 14.4956 17H17.0005L17 14.4993C17 14.2231 17.2239 13.9993 17.5 13.9993C17.7761 13.9993 18 14.2231 18 14.4993L18.0005 17H20.4966C20.7725 17 20.9961 17.2239 20.9961 17.5C20.9961 17.7762 20.7725 18 20.4966 18H18.0006Z" data-v-1be61c94></path></svg></div><div class="button-compose-text" data-v-1be61c94>新主题</div></div>', 1);
|
|
6
6
|
const _hoisted_3 = [
|
|
7
7
|
_hoisted_2
|
|
8
8
|
];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./SelectPluginByKey.vue2.mjs";
|
|
2
2
|
import "./SelectPluginByKey.vue3.mjs";
|
|
3
|
-
import _export_sfc from "
|
|
4
|
-
const SelectPluginByKey = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
3
|
+
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const SelectPluginByKey = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a4ebdd39"]]);
|
|
5
5
|
export {
|
|
6
6
|
SelectPluginByKey as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, nextTick, resolveComponent, openBlock, createBlock, Transition, withCtx, withDirectives, createElementBlock, normalizeStyle, createElementVNode, Fragment, renderList, normalizeClass, toDisplayString, unref, createVNode, createCommentVNode } from "vue";
|
|
2
2
|
import { ClickOutside } from "element-plus";
|
|
3
|
-
import data from "
|
|
4
|
-
import { useCopilotStoreHook } from "
|
|
3
|
+
import data from "../../../../node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/check.mjs";
|
|
4
|
+
import { useCopilotStoreHook } from "../../../../store/modules/copilot.mjs";
|
|
5
5
|
import { storeToRefs } from "pinia";
|
|
6
6
|
const _hoisted_1 = { class: "plugin-content" };
|
|
7
7
|
const _hoisted_2 = ["onClick"];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.mjs";
|
|
2
2
|
import "./index.vue3.mjs";
|
|
3
|
-
import _export_sfc from "
|
|
4
|
-
const SearchInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
3
|
+
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const SearchInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f1f0ba48"]]);
|
|
5
5
|
export {
|
|
6
6
|
SearchInput as default
|
|
7
7
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, watch, computed, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, normalizeClass, withModifiers, toDisplayString, unref, createCommentVNode, withCtx, Fragment, renderList, normalizeStyle, createBlock, withKeys, createTextVNode, nextTick, pushScopeId, popScopeId } from "vue";
|
|
2
2
|
import { storeToRefs } from "pinia";
|
|
3
3
|
import NewTheme from "./NewTheme.vue.mjs";
|
|
4
|
-
import { filterPluginByPinyin } from "
|
|
4
|
+
import { filterPluginByPinyin } from "../../../../utils/home.mjs";
|
|
5
5
|
import SelectPluginByKey from "./SelectPluginByKey.vue.mjs";
|
|
6
6
|
import InputFootTool from "./InputFootTool.vue.mjs";
|
|
7
|
-
import { useCopilotStoreHook } from "
|
|
8
|
-
import { plusParamToStr } from "
|
|
9
|
-
import data$2 from "
|
|
10
|
-
import data from "
|
|
11
|
-
import data$1 from "
|
|
12
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
7
|
+
import { useCopilotStoreHook } from "../../../../store/modules/copilot.mjs";
|
|
8
|
+
import { plusParamToStr } from "../../../../utils/copilot.mjs";
|
|
9
|
+
import data$2 from "../../../../node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/promotion.mjs";
|
|
10
|
+
import data from "../../../../node_modules/.pnpm/@iconify-icons_ri@1.2.3/node_modules/@iconify-icons/ri/braces-line.mjs";
|
|
11
|
+
import data$1 from "../../../../node_modules/.pnpm/@iconify-icons_ri@1.2.3/node_modules/@iconify-icons/ri/close-circle-line.mjs";
|
|
12
|
+
const _withScopeId = (n) => (pushScopeId("data-v-f1f0ba48"), n = n(), popScopeId(), n);
|
|
13
13
|
const _hoisted_1 = { class: "control-contain" };
|
|
14
14
|
const _hoisted_2 = ["disabled", "onClick"];
|
|
15
15
|
const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
|