@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
package/dist/es/api/copilot.mjs
CHANGED
|
@@ -92,12 +92,28 @@ const updateFileToWps = (data) => {
|
|
|
92
92
|
});
|
|
93
93
|
};
|
|
94
94
|
const downloadByWps = (fileId) => {
|
|
95
|
-
return http.request(
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
95
|
+
return http.request(
|
|
96
|
+
"post",
|
|
97
|
+
"/api/uploadFile/getUploadFileById",
|
|
98
|
+
{
|
|
99
|
+
params: {
|
|
100
|
+
fileId
|
|
101
|
+
},
|
|
102
|
+
timeout: 6e4
|
|
103
|
+
}
|
|
104
|
+
);
|
|
105
|
+
};
|
|
106
|
+
const getWpsShareCode = (fileId) => {
|
|
107
|
+
return http.request(
|
|
108
|
+
"post",
|
|
109
|
+
"/api/uploadFile/getUploadFileById",
|
|
110
|
+
{
|
|
111
|
+
params: {
|
|
112
|
+
fileId
|
|
113
|
+
},
|
|
114
|
+
timeout: 6e4
|
|
115
|
+
}
|
|
116
|
+
);
|
|
101
117
|
};
|
|
102
118
|
export {
|
|
103
119
|
createHistoryInfo,
|
|
@@ -108,6 +124,7 @@ export {
|
|
|
108
124
|
getHistoryInfo,
|
|
109
125
|
getHistoryRecordList,
|
|
110
126
|
getReport,
|
|
127
|
+
getWpsShareCode,
|
|
111
128
|
updataHistoryInfo,
|
|
112
129
|
updataHistoryRecord,
|
|
113
130
|
updateFileToWps
|
package/dist/es/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Home from "./home/index.vue.mjs";
|
|
2
|
-
import KgCopilot from "./
|
|
2
|
+
import KgCopilot from "./kgCopilot/index.vue.mjs";
|
|
3
3
|
import * as index from "./directives/index.mjs";
|
|
4
4
|
import { setupStore } from "./store/index.mjs";
|
|
5
5
|
const component = [Home, KgCopilot];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./InitWrap.vue2.mjs";
|
|
2
2
|
import "./InitWrap.vue3.mjs";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const InitWrap = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const InitWrap = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c5041311"]]);
|
|
5
5
|
export {
|
|
6
6
|
InitWrap as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, unref, pushScopeId, popScopeId } from "vue";
|
|
2
2
|
import _imports_0 from "../../assets/empty.png.mjs";
|
|
3
3
|
import data from "../../node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/folder-opened.mjs";
|
|
4
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
4
|
+
const _withScopeId = (n) => (pushScopeId("data-v-c5041311"), n = n(), popScopeId(), n);
|
|
5
5
|
const _hoisted_1 = { class: "flex flex-col justify-center flex-wrap items-center" };
|
|
6
6
|
const _hoisted_2 = { class: "flex justify-center items-center folder" };
|
|
7
7
|
const _hoisted_3 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("h2", null, "文件预览", -1));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.mjs";
|
|
2
2
|
import "./index.vue3.mjs";
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const wpsIndex = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const wpsIndex = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-044d1ce3"]]);
|
|
5
5
|
export {
|
|
6
6
|
wpsIndex as default
|
|
7
7
|
};
|
|
@@ -16,7 +16,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16
16
|
__name: "index",
|
|
17
17
|
setup(__props) {
|
|
18
18
|
const CopilotStore = useCopilotStoreHook();
|
|
19
|
-
const { previewFileUrl, fileUrl, fileName, fileId } = storeToRefs(CopilotStore);
|
|
19
|
+
const { previewFileUrl, fileUrl, fileName, fileId, successShowFile } = storeToRefs(CopilotStore);
|
|
20
20
|
const { setWpsFileId } = CopilotStore;
|
|
21
21
|
const result = ref("");
|
|
22
22
|
const loading = ref(false);
|
|
@@ -30,13 +30,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
30
30
|
getDocxFileByUrl(url).then((res) => {
|
|
31
31
|
updateFileToWps({ url: fileUrl.value, name: fileName.value }).then((res2) => {
|
|
32
32
|
loading.value = false;
|
|
33
|
+
successShowFile.value = true;
|
|
33
34
|
setWpsFileId(res2);
|
|
34
35
|
}).catch((res2) => {
|
|
35
36
|
result.value = res2.response.status === 403 ? "文件已过期" : "获取失败";
|
|
37
|
+
successShowFile.value = false;
|
|
36
38
|
loading.value = false;
|
|
37
39
|
});
|
|
38
40
|
}).catch((res) => {
|
|
39
41
|
result.value = res.response.status === 403 ? "文件已过期" : "获取失败";
|
|
42
|
+
successShowFile.value = false;
|
|
40
43
|
loading.value = false;
|
|
41
44
|
});
|
|
42
45
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./AiBar.vue2.mjs";
|
|
2
2
|
import "./AiBar.vue3.mjs";
|
|
3
3
|
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const AiBar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const AiBar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b054e852"]]);
|
|
5
5
|
export {
|
|
6
6
|
AiBar as default
|
|
7
7
|
};
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, onMounted, openBlock, createElementBloc
|
|
|
2
2
|
import { onClickOutside } from "../../../../../node_modules/.pnpm/@vueuse_core@9.13.0_vue@3.2.45/node_modules/@vueuse/core/index.mjs";
|
|
3
3
|
import { aiBarBtnType } from "../../../../../store/modules/copilot.mjs";
|
|
4
4
|
import { message } from "../../../../../utils/message.mjs";
|
|
5
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
5
|
+
const _withScopeId = (n) => (pushScopeId("data-v-b054e852"), n = n(), popScopeId(), n);
|
|
6
6
|
const _hoisted_1 = { class: "ai-bar__buttons flex items-center" };
|
|
7
7
|
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "logo mr-2" }, "➤", -1));
|
|
8
8
|
const _hoisted_3 = { class: "flex gap-2" };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./AiInput.vue2.mjs";
|
|
2
2
|
import "./AiInput.vue3.mjs";
|
|
3
3
|
import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const AiInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const AiInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-be2025bf"]]);
|
|
5
5
|
export {
|
|
6
6
|
AiInput as default
|
|
7
7
|
};
|
|
@@ -3,7 +3,7 @@ import { storeToRefs } from "pinia";
|
|
|
3
3
|
import { onClickOutside } from "../../../../../node_modules/.pnpm/@vueuse_core@9.13.0_vue@3.2.45/node_modules/@vueuse/core/index.mjs";
|
|
4
4
|
import { useCopilotStoreHook, aiBarBtnType, wpsAiOpt } from "../../../../../store/modules/copilot.mjs";
|
|
5
5
|
import data from "../../../../../node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/refresh.mjs";
|
|
6
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
6
|
+
const _withScopeId = (n) => (pushScopeId("data-v-be2025bf"), n = n(), popScopeId(), n);
|
|
7
7
|
const _hoisted_1 = { class: "textarea overflow-y-auto text-gray-800 text-base border-2 border-blue-500 rounded-xl p-3 mb-2 font-serif select-text" };
|
|
8
8
|
const _hoisted_2 = { class: "flex justify-between items-center mt-4" };
|
|
9
9
|
const _hoisted_3 = { class: "flex items-center text-sm text-gray-500 mr-2" };
|
|
@@ -13,7 +13,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
13
13
|
emits: ["opt"],
|
|
14
14
|
setup(__props, { emit }) {
|
|
15
15
|
const props = __props;
|
|
16
|
-
const aiBarShow = computed(
|
|
16
|
+
const aiBarShow = computed(
|
|
17
|
+
() => props.selectedText.length > 0 && !aiAreaInputShow.value
|
|
18
|
+
);
|
|
17
19
|
const aiAreaInputShow = ref(false);
|
|
18
20
|
const aiAreaInputText = ref("");
|
|
19
21
|
const aiAreaInputType = ref(aiBarBtnType.rewrite);
|
|
@@ -31,12 +33,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
31
33
|
aiAreaInputText.value = "";
|
|
32
34
|
aiAreaInputShow.value = false;
|
|
33
35
|
};
|
|
34
|
-
watch(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
watch(
|
|
37
|
+
() => props.selectedText,
|
|
38
|
+
(newValue) => {
|
|
39
|
+
if (!newValue || newValue.length === 0) {
|
|
40
|
+
if (aiAreaInputShow.value)
|
|
41
|
+
aiAreaInputShow.value = false;
|
|
42
|
+
}
|
|
38
43
|
}
|
|
39
|
-
|
|
44
|
+
);
|
|
40
45
|
return (_ctx, _cache) => {
|
|
41
46
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
42
47
|
unref(aiBarShow) ? (openBlock(), createBlock(AiBar, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./wpsPanel.vue2.mjs";
|
|
2
2
|
import "./wpsPanel.vue3.mjs";
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const WpsPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const WpsPanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-60dd4890"]]);
|
|
5
5
|
export {
|
|
6
6
|
WpsPanel as default
|
|
7
7
|
};
|
|
@@ -6,7 +6,7 @@ import { useCopilotStoreHook, wpsAiOpt } from "../../../../store/modules/copilot
|
|
|
6
6
|
import { downloadByWps } from "../../../../api/copilot.mjs";
|
|
7
7
|
import { urlDownload } from "../../../../utils/home.mjs";
|
|
8
8
|
import { useThrottleFn } from "../../../../node_modules/.pnpm/@vueuse_shared@9.13.0_vue@3.2.45/node_modules/@vueuse/shared/index.mjs";
|
|
9
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
9
|
+
const _withScopeId = (n) => (pushScopeId("data-v-60dd4890"), n = n(), popScopeId(), n);
|
|
10
10
|
const _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", {
|
|
11
11
|
id: "office-container",
|
|
12
12
|
class: ""
|
|
@@ -75,80 +75,80 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
75
75
|
},
|
|
76
76
|
commandBars: [
|
|
77
77
|
{
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
78
|
+
cmbId: "FloatQuickHelp",
|
|
79
|
+
attributes: {
|
|
80
|
+
visible: false,
|
|
81
|
+
enable: true
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
85
|
+
cmbId: "HeaderRight",
|
|
86
|
+
attributes: {
|
|
87
|
+
visible: false,
|
|
88
|
+
enable: true
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
92
|
+
cmbId: "HistoryRecord",
|
|
93
|
+
attributes: {
|
|
94
|
+
visible: false,
|
|
95
|
+
enable: true
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
99
|
+
cmbId: "HistoryVersion",
|
|
100
|
+
attributes: {
|
|
101
|
+
visible: false,
|
|
102
|
+
enable: true
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
106
|
+
cmbId: "ShareLink",
|
|
107
|
+
attributes: {
|
|
108
|
+
visible: false,
|
|
109
|
+
enable: true
|
|
110
110
|
}
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
113
|
+
cmbId: "HeaderHistoryMenuBtn",
|
|
114
|
+
attributes: {
|
|
115
|
+
visible: false,
|
|
116
|
+
enable: true
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
120
|
+
cmbId: "PreviewDownload",
|
|
121
|
+
attributes: {
|
|
122
|
+
visible: false,
|
|
123
|
+
enable: true
|
|
124
124
|
}
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
127
|
+
cmbId: "ContextMenuConvene",
|
|
128
|
+
attributes: {
|
|
129
|
+
visible: false,
|
|
130
|
+
enable: true
|
|
131
131
|
}
|
|
132
132
|
},
|
|
133
133
|
{
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
134
|
+
cmbId: "ReviewTrackChanges",
|
|
135
|
+
attributes: {
|
|
136
|
+
visible: false,
|
|
137
|
+
enable: true
|
|
138
138
|
}
|
|
139
139
|
},
|
|
140
140
|
{
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
141
|
+
cmbId: "RevisionSetting",
|
|
142
|
+
attributes: {
|
|
143
|
+
visible: false,
|
|
144
|
+
enable: true
|
|
145
145
|
}
|
|
146
146
|
},
|
|
147
147
|
{
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
148
|
+
cmbId: "RightMenuHistory",
|
|
149
|
+
attributes: {
|
|
150
|
+
visible: false,
|
|
151
|
+
enable: true
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
]
|
|
@@ -170,9 +170,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
170
170
|
rectH = rect.height;
|
|
171
171
|
rect.width;
|
|
172
172
|
}
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
173
|
+
const startPos = await getSelectionPos(app, begin);
|
|
174
|
+
const endPos = await getSelectionPos(app, end);
|
|
175
|
+
const x = startPos.x;
|
|
176
176
|
let y = startPos.y;
|
|
177
177
|
if (startPos.y === endPos.y) {
|
|
178
178
|
y = endPos.y + 95;
|
|
@@ -187,13 +187,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
187
187
|
const docWitch = info.OffsetWidth;
|
|
188
188
|
const PageSetup = await app.ActiveDocument.Sections.Item(1).PageSetup;
|
|
189
189
|
const pageWidth = await PageSetup.PageWidth;
|
|
190
|
-
wpsAiInputPos.value = {
|
|
190
|
+
wpsAiInputPos.value = {
|
|
191
|
+
x: offsetX + (docWitch - pageWidth) / 2,
|
|
192
|
+
y: wpsAiInputPosY,
|
|
193
|
+
w: pageWidth,
|
|
194
|
+
h
|
|
195
|
+
};
|
|
191
196
|
}
|
|
192
197
|
async function getSelectionPos(app2, index) {
|
|
193
|
-
|
|
194
|
-
|
|
198
|
+
const rangeIdx = await index;
|
|
199
|
+
const relativeBodyPos = await app2.ActiveDocument.ActiveWindow.Selection.GetRelativePosByGcp(
|
|
200
|
+
rangeIdx
|
|
201
|
+
);
|
|
195
202
|
await app2.ActiveDocument.ActiveWindow.Selection.GetPosByGcp(rangeIdx);
|
|
196
|
-
|
|
203
|
+
const pos = relativeBodyPos;
|
|
197
204
|
return {
|
|
198
205
|
x: pos.x ? pos.x : pos.X,
|
|
199
206
|
y: pos.y ? pos.y : pos.Y
|
|
@@ -218,13 +225,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
218
225
|
});
|
|
219
226
|
});
|
|
220
227
|
async function insertText(newText) {
|
|
221
|
-
const range = await app.ActiveDocument.Range.SetRange(
|
|
228
|
+
const range = await app.ActiveDocument.Range.SetRange(
|
|
229
|
+
selContextIndex.value[1],
|
|
230
|
+
selContextIndex.value[1]
|
|
231
|
+
);
|
|
222
232
|
range.Text = newText;
|
|
223
233
|
}
|
|
224
234
|
async function replaceText(newText) {
|
|
225
|
-
const range = await app.ActiveDocument.Range.SetRange(
|
|
235
|
+
const range = await app.ActiveDocument.Range.SetRange(
|
|
236
|
+
selContextIndex.value[0],
|
|
237
|
+
selContextIndex.value[1]
|
|
238
|
+
);
|
|
226
239
|
range.Text = "";
|
|
227
|
-
const range1 = await app.ActiveDocument.Range.SetRange(
|
|
240
|
+
const range1 = await app.ActiveDocument.Range.SetRange(
|
|
241
|
+
selContextIndex.value[0],
|
|
242
|
+
selContextIndex.value[0]
|
|
243
|
+
);
|
|
228
244
|
range1.Text = newText;
|
|
229
245
|
}
|
|
230
246
|
const handleAiAction = ({ type, text = "" }) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.mjs";
|
|
2
2
|
import "./index.vue3.mjs";
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const CopiCanvas = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const CopiCanvas = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-18e6109e"]]);
|
|
5
5
|
export {
|
|
6
6
|
CopiCanvas as default
|
|
7
7
|
};
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import { defineComponent, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, createVNode, toDisplayString,
|
|
1
|
+
import { defineComponent, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, createVNode, toDisplayString, createCommentVNode, createBlock } from "vue";
|
|
2
2
|
import { storeToRefs } from "pinia";
|
|
3
3
|
import data from "../../node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/reading.mjs";
|
|
4
4
|
import { useCopilotStoreHook } from "../../store/modules/copilot.mjs";
|
|
5
5
|
import wpsIndex from "./docViewer/index.vue.mjs";
|
|
6
6
|
import InitWrap from "./InitWrap.vue.mjs";
|
|
7
|
+
import data$1 from "../../node_modules/.pnpm/@iconify-icons_ri@1.2.3/node_modules/@iconify-icons/ri/share-forward-2-fill.mjs";
|
|
8
|
+
import { getWpsShareCode } from "../../api/copilot.mjs";
|
|
9
|
+
import { execCommand } from "../../utils/index.mjs";
|
|
10
|
+
import { message } from "../../utils/message.mjs";
|
|
7
11
|
const _hoisted_1 = { class: "canvas-icon" };
|
|
8
12
|
const _hoisted_2 = { class: "canvas-content" };
|
|
9
13
|
const _hoisted_3 = {
|
|
@@ -11,7 +15,11 @@ const _hoisted_3 = {
|
|
|
11
15
|
style: { "height": "100%" }
|
|
12
16
|
};
|
|
13
17
|
const _hoisted_4 = { class: "flex justify-between p-4" };
|
|
14
|
-
const _hoisted_5 = {
|
|
18
|
+
const _hoisted_5 = {
|
|
19
|
+
key: 0,
|
|
20
|
+
class: "mr-10"
|
|
21
|
+
};
|
|
22
|
+
const _hoisted_6 = { style: { "height": "calc(100% - 60px)" } };
|
|
15
23
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
24
|
__name: "index",
|
|
17
25
|
props: {
|
|
@@ -19,8 +27,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
27
|
},
|
|
20
28
|
setup(__props) {
|
|
21
29
|
const CopilotStore = useCopilotStoreHook();
|
|
22
|
-
const { canvasVisible, previewFileUrl } = storeToRefs(CopilotStore);
|
|
30
|
+
const { canvasVisible, previewFileUrl, successShowFile, fileId } = storeToRefs(CopilotStore);
|
|
23
31
|
const { changeCanvasVisible } = CopilotStore;
|
|
32
|
+
const shareFile = async () => {
|
|
33
|
+
const res = await getWpsShareCode(fileId.value);
|
|
34
|
+
if (res && res.shareCode) {
|
|
35
|
+
const copyText = `链接:${location.href.split("#")[0]}#/preview?fileId=${fileId.value} 提取码:${res.shareCode}`;
|
|
36
|
+
execCommand(copyText);
|
|
37
|
+
message("分享链接及分享码已复制成功,请尽快分享", { type: "success" });
|
|
38
|
+
} else {
|
|
39
|
+
message("获取分享码失败", { type: "error" });
|
|
40
|
+
}
|
|
41
|
+
};
|
|
24
42
|
return (_ctx, _cache) => {
|
|
25
43
|
const _component_IconifyIconOffline = resolveComponent("IconifyIconOffline");
|
|
26
44
|
return openBlock(), createElementBlock("div", {
|
|
@@ -36,9 +54,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36
54
|
createElementVNode("div", _hoisted_2, [
|
|
37
55
|
unref(canvasVisible) ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
38
56
|
createElementVNode("div", _hoisted_4, [
|
|
39
|
-
createElementVNode("h3", null, toDisplayString(__props.title), 1)
|
|
57
|
+
createElementVNode("h3", null, toDisplayString(__props.title), 1),
|
|
58
|
+
unref(successShowFile) ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
59
|
+
createVNode(_component_IconifyIconOffline, {
|
|
60
|
+
icon: unref(data$1),
|
|
61
|
+
class: "icon hover:bg-[#eeeeee] hover:rounded-md",
|
|
62
|
+
onClick: shareFile
|
|
63
|
+
}, null, 8, ["icon"])
|
|
64
|
+
])) : createCommentVNode("", true)
|
|
40
65
|
]),
|
|
41
|
-
createElementVNode("div",
|
|
66
|
+
createElementVNode("div", _hoisted_6, [
|
|
42
67
|
unref(previewFileUrl) ? (openBlock(), createBlock(wpsIndex, { key: 0 })) : (openBlock(), createBlock(InitWrap, { key: 1 }))
|
|
43
68
|
])
|
|
44
69
|
])) : createCommentVNode("", true)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./AnswerHead.vue2.mjs";
|
|
2
2
|
import "./AnswerHead.vue3.mjs";
|
|
3
|
-
import _export_sfc from "
|
|
4
|
-
const AnswerHead = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
3
|
+
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const AnswerHead = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8fa8cfc7"]]);
|
|
5
5
|
export {
|
|
6
6
|
AnswerHead as default
|
|
7
7
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, renderSlot, toDisplayString, unref, 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: "answer" };
|
|
5
5
|
const _hoisted_2 = { class: "icon" };
|
|
6
|
-
const _hoisted_3 = /* @__PURE__ */ createStaticVNode('<svg viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-
|
|
6
|
+
const _hoisted_3 = /* @__PURE__ */ createStaticVNode('<svg viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg" data-v-8fa8cfc7><g clip-path="url(#clip0_3984_10372)" data-v-8fa8cfc7><path d="M35.1201 6.46024C34.4524 4.39741 32.5312 3 30.363 3L28.7093 3C26.2926 3 24.2217 4.72855 23.7898 7.10639L21.448 19.9984L22.1587 17.5866C22.7854 15.46 24.7377 14 26.9548 14H35.2947L38.8884 15.7857L42.3527 14H41.1975C39.0293 14 37.1082 12.6026 36.4405 10.5398L35.1201 6.46024Z" fill="url(#paint0_radial_3984_10372)" data-v-8fa8cfc7></path><path d="M13.3948 41.5178C14.0556 43.5918 15.9822 45 18.1589 45H21.397C24.1428 45 26.3748 42.7858 26.3968 40.0401L26.4921 28.1641L25.8179 30.428C25.1866 32.5478 23.2377 34.0009 21.0259 34.0009L12.623 34.0009L9.54267 31.9459L6.20776 34.0009H7.34528C9.52197 34.0009 11.4486 35.4091 12.1093 37.4831L13.3948 41.5178Z" fill="url(#paint1_radial_3984_10372)" data-v-8fa8cfc7></path><path d="M30 3H12.5C7.49997 3 4.49997 9.5 2.49997 16C0.13049 23.7008 -2.97003 34 5.99997 34H13.6122C15.8393 34 17.7964 32.5325 18.4179 30.394C19.7318 25.8726 22.0338 17.9871 23.8421 11.9841C24.7611 8.93305 25.5266 6.31272 26.7015 4.68095C27.3602 3.76611 28.458 3 30 3Z" fill="url(#paint2_linear_3984_10372)" data-v-8fa8cfc7></path><path d="M30 3H12.5C7.49997 3 4.49997 9.5 2.49997 16C0.13049 23.7008 -2.97003 34 5.99997 34H13.6122C15.8393 34 17.7964 32.5325 18.4179 30.394C19.7318 25.8726 22.0338 17.9871 23.8421 11.9841C24.7611 8.93305 25.5266 6.31272 26.7015 4.68095C27.3602 3.76611 28.458 3 30 3Z" fill="url(#paint3_linear_3984_10372)" data-v-8fa8cfc7></path><path d="M17.9963 45H35.4963C40.4963 45 43.4963 38.5 45.4963 32C47.8658 24.2992 50.9663 14 41.9963 14H34.3841C32.157 14 30.1999 15.4675 29.5784 17.606C28.2645 22.1274 25.9625 30.0129 24.1543 36.0159C23.2352 39.0669 22.4697 41.6873 21.2948 43.319C20.6361 44.2339 19.5383 45 17.9963 45Z" fill="url(#paint4_radial_3984_10372)" data-v-8fa8cfc7></path><path d="M17.9963 45H35.4963C40.4963 45 43.4963 38.5 45.4963 32C47.8658 24.2992 50.9663 14 41.9963 14H34.3841C32.157 14 30.1999 15.4675 29.5784 17.606C28.2645 22.1274 25.9625 30.0129 24.1543 36.0159C23.2352 39.0669 22.4697 41.6873 21.2948 43.319C20.6361 44.2339 19.5383 45 17.9963 45Z" fill="url(#paint5_linear_3984_10372)" data-v-8fa8cfc7></path></g><defs data-v-8fa8cfc7><radialGradient id="paint0_radial_3984_10372" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(39.3087 20.1095) rotate(-130.498) scale(18.242 17.2825)" data-v-8fa8cfc7><stop offset="0.0955758" stop-color="#00AEFF" data-v-8fa8cfc7></stop><stop offset="0.773185" stop-color="#2253CE" data-v-8fa8cfc7></stop><stop offset="1" stop-color="#0736C4" data-v-8fa8cfc7></stop></radialGradient><radialGradient id="paint1_radial_3984_10372" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(9.88779 33.7078) rotate(50.1259) scale(16.5438 16.2528)" data-v-8fa8cfc7><stop stop-color="#FFB657" data-v-8fa8cfc7></stop><stop offset="0.633728" stop-color="#FF5F3D" data-v-8fa8cfc7></stop><stop offset="0.923392" stop-color="#C02B3C" data-v-8fa8cfc7></stop></radialGradient><linearGradient id="paint2_linear_3984_10372" x1="11.4526" y1="6.75624" x2="13.8689" y2="35.1765" gradientUnits="userSpaceOnUse" data-v-8fa8cfc7><stop offset="0.156162" stop-color="#0D91E1" data-v-8fa8cfc7></stop><stop offset="0.487484" stop-color="#52B471" data-v-8fa8cfc7></stop><stop offset="0.652394" stop-color="#98BD42" data-v-8fa8cfc7></stop><stop offset="0.937361" stop-color="#FFC800" data-v-8fa8cfc7></stop></linearGradient><linearGradient id="paint3_linear_3984_10372" x1="13.6347" y1="3" x2="14.954" y2="34.0019" gradientUnits="userSpaceOnUse" data-v-8fa8cfc7><stop stop-color="#3DCBFF" data-v-8fa8cfc7></stop><stop offset="0.246674" stop-color="#0588F7" stop-opacity="0" data-v-8fa8cfc7></stop></linearGradient><radialGradient id="paint4_radial_3984_10372" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(42.8953 10.9649) rotate(109.574) scale(41.2667 50.0822)" data-v-8fa8cfc7><stop offset="0.0661714" stop-color="#8C48FF" data-v-8fa8cfc7></stop><stop offset="0.5" stop-color="#F2598A" data-v-8fa8cfc7></stop><stop offset="0.895833" stop-color="#FFB152" data-v-8fa8cfc7></stop></radialGradient><linearGradient id="paint5_linear_3984_10372" x1="44.2778" y1="12.1074" x2="44.2606" y2="20.5507" gradientUnits="userSpaceOnUse" data-v-8fa8cfc7><stop offset="0.0581535" stop-color="#F8ADFA" data-v-8fa8cfc7></stop><stop offset="0.708063" stop-color="#A86EDD" stop-opacity="0" data-v-8fa8cfc7></stop></linearGradient><clipPath id="clip0_3984_10372" data-v-8fa8cfc7><rect width="48" height="48" fill="white" data-v-8fa8cfc7></rect></clipPath></defs></svg>', 1);
|
|
7
7
|
const _hoisted_4 = { class: "head-label" };
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "AnswerHead",
|
package/dist/es/{KgCopilot/dialogue → kgCopilot/copilotDialog/CopiContent}/SuggestMessage.vue.mjs
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./SuggestMessage.vue2.mjs";
|
|
2
2
|
import "./SuggestMessage.vue3.mjs";
|
|
3
|
-
import _export_sfc from "
|
|
4
|
-
const SuggestMessage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
3
|
+
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const SuggestMessage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f8f88e70"]]);
|
|
5
5
|
export {
|
|
6
6
|
SuggestMessage as default
|
|
7
7
|
};
|
package/dist/es/{KgCopilot/dialogue → kgCopilot/copilotDialog/CopiContent}/SuggestMessage.vue2.mjs
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, resolveComponent, unref, openBlock, createElementBlock, Fragment, renderList, createCommentVNode, createElementVNode, toDisplayString, createVNode } from "vue";
|
|
2
2
|
import { storeToRefs } from "pinia";
|
|
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/arrow-right.mjs";
|
|
4
|
+
import { useCopilotStoreHook } from "../../../store/modules/copilot.mjs";
|
|
5
5
|
const _hoisted_1 = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "my-4 ml-9 suggest-ques-box"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { openBlock, createElementBlock, pushScopeId, popScopeId, createElementVNode } from "vue";
|
|
2
2
|
import "./UserHead.vue2.mjs";
|
|
3
|
-
import _export_sfc from "
|
|
3
|
+
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
4
|
const _sfc_main = {};
|
|
5
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
5
|
+
const _withScopeId = (n) => (pushScopeId("data-v-3697e1e3"), n = n(), popScopeId(), n);
|
|
6
6
|
const _hoisted_1 = { class: "user" };
|
|
7
7
|
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "icon header-avatar rounded-full" }, [
|
|
8
8
|
/* @__PURE__ */ createElementVNode("svg", {
|
|
@@ -20,7 +20,7 @@ const _hoisted_4 = [
|
|
|
20
20
|
function _sfc_render(_ctx, _cache) {
|
|
21
21
|
return openBlock(), createElementBlock("div", _hoisted_1, _hoisted_4);
|
|
22
22
|
}
|
|
23
|
-
const UserHead = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
23
|
+
const UserHead = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-3697e1e3"]]);
|
|
24
24
|
export {
|
|
25
25
|
UserHead as default
|
|
26
26
|
};
|
|
@@ -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 Dialogue = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
3
|
+
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
+
const Dialogue = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a9f68771"]]);
|
|
5
5
|
export {
|
|
6
6
|
Dialogue as default
|
|
7
7
|
};
|