@kg-ui/kg-ui-plus 0.1.46 → 0.1.48
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/KgCopilot/CopiCanvas/index.vue.mjs +1 -1
- package/dist/es/KgCopilot/CopiCanvas/index.vue2.mjs +4 -5
- package/dist/es/KgCopilot/CopiCanvas/index.vue3.mjs +2 -2
- package/dist/es/KgCopilot/CopiCanvas/testWPS.vue.mjs +7 -0
- package/dist/es/KgCopilot/CopiCanvas/testWPS.vue2.mjs +51 -0
- package/dist/es/KgCopilot/CopiCanvas/testWPS.vue3.mjs +4 -0
- package/dist/es/KgCopilot/CopiCanvas/web-office-sdk-solution-v2.0.7.es.mjs +854 -0
- package/dist/es/KgCopilot/CopiFooter/SearchInput/InputFootTool.vue2.mjs +1 -1
- package/dist/es/KgCopilot/CopiFooter/SearchInput/SelectPluginByKey.vue2.mjs +1 -1
- package/dist/es/KgCopilot/CopiFooter/SearchInput/index.vue2.mjs +1 -1
- package/dist/es/KgCopilot/dialogue/SuggestMessage.vue2.mjs +1 -1
- package/dist/es/KgCopilot/dialogue/messageParse/readMd.vue2.mjs +3 -3
- package/dist/es/KgCopilot/historyRecord/index.vue.mjs +1 -1
- package/dist/es/KgCopilot/historyRecord/index.vue2.mjs +7 -7
- package/dist/es/KgCopilot/historyRecord/index.vue3.mjs +2 -2
- package/dist/es/KgCopilot/index.vue.mjs +1 -1
- package/dist/es/KgCopilot/index.vue2.mjs +8 -5
- package/dist/es/KgCopilot/index.vue3.mjs +2 -2
- package/dist/es/api/copilot.mjs +0 -8
- package/dist/es/directives/heighlight/index.mjs +27 -27
- package/dist/es/home/LFilter/FilterHead.vue.mjs +1 -1
- package/dist/es/node_modules/.pnpm/@vueuse_core@9.13.0_vue@3.2.45/node_modules/@vueuse/core/index.mjs +1 -3
- package/dist/es/node_modules/.pnpm/@vueuse_shared@9.13.0_vue@3.2.45/node_modules/@vueuse/shared/index.mjs +1 -52
- package/dist/es/node_modules/.pnpm/{dompurify@3.2.3 → dompurify@3.0.10}/node_modules/dompurify/dist/purify.es.mjs +91 -119
- package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/apache.mjs +0 -4
- package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/bash.mjs +2 -20
- package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/basic.mjs +1 -7
- package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/c.mjs +4 -19
- package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/css.mjs +8 -214
- package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/dart.mjs +2 -10
- package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/erlang.mjs +6 -48
- package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/go.mjs +3 -23
- package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/java.mjs +1 -3
- package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/javascript.mjs +11 -15
- package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/json.mjs +0 -1
- package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/markdown.mjs +1 -7
- package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/php.mjs +2 -16
- package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/python.mjs +1 -3
- package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/ruby.mjs +1 -1
- package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/stylus.mjs +8 -214
- package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/swift.mjs +14 -60
- package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/typescript.mjs +18 -45
- package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/lib/core.mjs +8 -8
- package/dist/es/node_modules/.pnpm/{marked@12.0.2 → marked@12.0.1}/node_modules/marked/lib/marked.esm.mjs +1 -2
- package/dist/es/store/modules/copilot.mjs +8 -2
- package/dist/es/style.css +1 -1
- package/dist/es/utils/http/index.mjs +4 -0
- package/package.json +2 -2
- package/dist/es/KgCopilot/CopiCanvas/FilePreview.vue.mjs +0 -7
- package/dist/es/KgCopilot/CopiCanvas/FilePreview.vue2.mjs +0 -295
- package/dist/es/KgCopilot/CopiCanvas/FilePreview.vue3.mjs +0 -4
- package/dist/es/KgCopilot/CopiCanvas/FileSkeletion.vue.mjs +0 -96
- package/dist/es/KgCopilot/CopiCanvas/FileSkeletion.vue2.mjs +0 -4
- package/dist/es/KgCopilot/CopiCanvas/InitWrap.vue.mjs +0 -7
- package/dist/es/KgCopilot/CopiCanvas/InitWrap.vue2.mjs +0 -41
- package/dist/es/KgCopilot/CopiCanvas/InitWrap.vue3.mjs +0 -4
- package/dist/es/_virtual/_commonjs-dynamic-modules.mjs +0 -6
- package/dist/es/_virtual/jszip.min.mjs +0 -13
- package/dist/es/assets/empty.png.mjs +0 -4
- package/dist/es/node_modules/.pnpm/@iconify-icons_ep@1.2.12/node_modules/@iconify-icons/ep/folder-opened.mjs +0 -8
- package/dist/es/node_modules/.pnpm/@iconify-icons_ri@1.2.3/node_modules/@iconify-icons/ri/file-damage-line.mjs +0 -8
- package/dist/es/node_modules/.pnpm/docx-preview@0.3.3/node_modules/docx-preview/dist/docx-preview.mjs +0 -3877
- package/dist/es/node_modules/.pnpm/jszip@3.10.1/node_modules/jszip/dist/jszip.min.mjs +0 -2649
- /package/dist/es/node_modules/.pnpm/{@iconify-icons_ep@1.2.12 → @iconify-icons_ep@1.2.7}/node_modules/@iconify-icons/ep/arrow-left.mjs +0 -0
- /package/dist/es/node_modules/.pnpm/{@iconify-icons_ep@1.2.12 → @iconify-icons_ep@1.2.7}/node_modules/@iconify-icons/ep/arrow-right.mjs +0 -0
- /package/dist/es/node_modules/.pnpm/{@iconify-icons_ep@1.2.12 → @iconify-icons_ep@1.2.7}/node_modules/@iconify-icons/ep/check.mjs +0 -0
- /package/dist/es/node_modules/.pnpm/{@iconify-icons_ep@1.2.12 → @iconify-icons_ep@1.2.7}/node_modules/@iconify-icons/ep/close.mjs +0 -0
- /package/dist/es/node_modules/.pnpm/{@iconify-icons_ep@1.2.12 → @iconify-icons_ep@1.2.7}/node_modules/@iconify-icons/ep/copy-document.mjs +0 -0
- /package/dist/es/node_modules/.pnpm/{@iconify-icons_ep@1.2.12 → @iconify-icons_ep@1.2.7}/node_modules/@iconify-icons/ep/delete.mjs +0 -0
- /package/dist/es/node_modules/.pnpm/{@iconify-icons_ep@1.2.12 → @iconify-icons_ep@1.2.7}/node_modules/@iconify-icons/ep/edit.mjs +0 -0
- /package/dist/es/node_modules/.pnpm/{@iconify-icons_ep@1.2.12 → @iconify-icons_ep@1.2.7}/node_modules/@iconify-icons/ep/notebook.mjs +0 -0
- /package/dist/es/node_modules/.pnpm/{@iconify-icons_ep@1.2.12 → @iconify-icons_ep@1.2.7}/node_modules/@iconify-icons/ep/promotion.mjs +0 -0
- /package/dist/es/node_modules/.pnpm/{@iconify-icons_ep@1.2.12 → @iconify-icons_ep@1.2.7}/node_modules/@iconify-icons/ep/reading.mjs +0 -0
- /package/dist/es/node_modules/.pnpm/{@iconify-icons_ep@1.2.12 → @iconify-icons_ep@1.2.7}/node_modules/@iconify-icons/ep/search.mjs +0 -0
- /package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/core.mjs +0 -0
- /package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/django.mjs +0 -0
- /package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/dns.mjs +0 -0
- /package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/dos.mjs +0 -0
- /package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/dust.mjs +0 -0
- /package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/http.mjs +0 -0
- /package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/nginx.mjs +0 -0
- /package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/es/languages/xml.mjs +0 -0
- /package/dist/es/node_modules/.pnpm/{highlight.js@11.11.1 → highlight.js@11.9.0}/node_modules/highlight.js/styles/sunburst.css.mjs +0 -0
@@ -1,6 +1,6 @@
|
|
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 "../../../node_modules/.pnpm/@iconify-icons_ep@1.2.
|
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 { 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 = {
|
@@ -1,6 +1,6 @@
|
|
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 "../../../node_modules/.pnpm/@iconify-icons_ep@1.2.
|
3
|
+
import data from "../../../node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/check.mjs";
|
4
4
|
import { useCopilotStoreHook } from "../../../store/modules/copilot.mjs";
|
5
5
|
import { storeToRefs } from "pinia";
|
6
6
|
const _hoisted_1 = { class: "plugin-content" };
|
@@ -6,7 +6,7 @@ import SelectPluginByKey from "./SelectPluginByKey.vue.mjs";
|
|
6
6
|
import InputFootTool from "./InputFootTool.vue.mjs";
|
7
7
|
import { useCopilotStoreHook } from "../../../store/modules/copilot.mjs";
|
8
8
|
import { plusParamToStr } from "../../../utils/copilot.mjs";
|
9
|
-
import data$2 from "../../../node_modules/.pnpm/@iconify-icons_ep@1.2.
|
9
|
+
import data$2 from "../../../node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/promotion.mjs";
|
10
10
|
import data from "../../../node_modules/.pnpm/@iconify-icons_ri@1.2.3/node_modules/@iconify-icons/ri/braces-line.mjs";
|
11
11
|
import data$1 from "../../../node_modules/.pnpm/@iconify-icons_ri@1.2.3/node_modules/@iconify-icons/ri/close-circle-line.mjs";
|
12
12
|
const _withScopeId = (n) => (pushScopeId("data-v-5d5f0fcf"), n = n(), popScopeId(), n);
|
@@ -1,6 +1,6 @@
|
|
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 "../../node_modules/.pnpm/@iconify-icons_ep@1.2.
|
3
|
+
import data from "../../node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/arrow-right.mjs";
|
4
4
|
import { useCopilotStoreHook } from "../../store/modules/copilot.mjs";
|
5
5
|
const _hoisted_1 = {
|
6
6
|
key: 0,
|
@@ -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 "../../../node_modules/.pnpm/dompurify@3.
|
3
|
-
import { marked } from "../../../node_modules/.pnpm/marked@12.0.
|
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
5
|
import { useCopilotStoreHook } from "../../../store/modules/copilot.mjs";
|
6
6
|
import { storeToRefs } from "pinia";
|
7
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.
|
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",
|
@@ -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 HistoryReport = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const HistoryReport = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-66b6e252"]]);
|
5
5
|
export {
|
6
6
|
HistoryReport as default
|
7
7
|
};
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, normalizeStyle, createElementVNode, createVNode, withCtx, unref, Fragment, renderList, normalizeClass, withDirectives, toDisplayString, vShow, withModifiers, withKeys, createCommentVNode, nextTick, pushScopeId, popScopeId } from "vue";
|
2
2
|
import { storeToRefs } from "pinia";
|
3
3
|
import { ElMessageBox } from "element-plus";
|
4
|
-
import data$1 from "../../node_modules/.pnpm/@iconify-icons_ep@1.2.
|
5
|
-
import data$4 from "../../node_modules/.pnpm/@iconify-icons_ep@1.2.
|
6
|
-
import data from "../../node_modules/.pnpm/@iconify-icons_ep@1.2.
|
7
|
-
import data$2 from "../../node_modules/.pnpm/@iconify-icons_ep@1.2.
|
8
|
-
import data$3 from "../../node_modules/.pnpm/@iconify-icons_ep@1.2.
|
4
|
+
import data$1 from "../../node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/delete.mjs";
|
5
|
+
import data$4 from "../../node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/edit.mjs";
|
6
|
+
import data from "../../node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/search.mjs";
|
7
|
+
import data$2 from "../../node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/check.mjs";
|
8
|
+
import data$3 from "../../node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/close.mjs";
|
9
9
|
import { useCopilotStoreHook } from "../../store/modules/copilot.mjs";
|
10
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
10
|
+
const _withScopeId = (n) => (pushScopeId("data-v-66b6e252"), n = n(), popScopeId(), n);
|
11
11
|
const _hoisted_1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("h3", { class: "history-title" }, "历史记录", -1));
|
12
12
|
const _hoisted_2 = { class: "search_box" };
|
13
13
|
const _hoisted_3 = { class: "list_box" };
|
@@ -107,7 +107,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
107
107
|
createElementVNode("div", _hoisted_3, [
|
108
108
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(searchList), (item, index) => {
|
109
109
|
return openBlock(), createElementBlock("div", {
|
110
|
-
key: item.
|
110
|
+
key: item.sessionId,
|
111
111
|
onClick: ($event) => changeActive(item),
|
112
112
|
class: normalizeClass({
|
113
113
|
list_item: true,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
const
|
1
|
+
const index_vue_vue_type_style_index_0_scoped_66b6e252_lang = "";
|
2
2
|
export {
|
3
|
-
|
3
|
+
index_vue_vue_type_style_index_0_scoped_66b6e252_lang as default
|
4
4
|
};
|
@@ -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 KgCopilot = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
4
|
+
const KgCopilot = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4bbbeb79"]]);
|
5
5
|
export {
|
6
6
|
KgCopilot as default
|
7
7
|
};
|
@@ -6,9 +6,9 @@ import Dialogue from "./dialogue/index.vue.mjs";
|
|
6
6
|
import CopiCanvas from "./CopiCanvas/index.vue.mjs";
|
7
7
|
import "../style/tailwind.css.mjs";
|
8
8
|
import "../style/index.scss.mjs";
|
9
|
-
import data$2 from "../node_modules/.pnpm/@iconify-icons_ep@1.2.
|
10
|
-
import data$1 from "../node_modules/.pnpm/@iconify-icons_ep@1.2.
|
11
|
-
import data from "../node_modules/.pnpm/@iconify-icons_ep@1.2.
|
9
|
+
import data$2 from "../node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/arrow-right.mjs";
|
10
|
+
import data$1 from "../node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/arrow-left.mjs";
|
11
|
+
import data from "../node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/notebook.mjs";
|
12
12
|
import { deviceDetection as Rn } from "../node_modules/.pnpm/@pureadmin_utils@1.8.5_vue@3.2.45/node_modules/@pureadmin/utils/dist/index.mjs";
|
13
13
|
import { useCopilotStoreHook } from "../store/modules/copilot.mjs";
|
14
14
|
const _hoisted_1 = {
|
@@ -35,7 +35,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
35
35
|
useHistoryRecord: { type: Boolean, default: false },
|
36
36
|
knowledgeToken: null,
|
37
37
|
isLittleComponent: { type: Boolean, default: true },
|
38
|
-
reviseReport: { type: Boolean, default: false }
|
38
|
+
reviseReport: { type: Boolean, default: false },
|
39
|
+
loginOutFun: { type: Function, default: () => {
|
40
|
+
} }
|
39
41
|
},
|
40
42
|
emits: ["cancleBtnEvent"],
|
41
43
|
setup(__props, { expose, emit }) {
|
@@ -57,7 +59,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
57
59
|
useHistoryRecord: props.useHistoryRecord,
|
58
60
|
knowledgeToken: props.knowledgeToken,
|
59
61
|
isLittleComponent: props.isLittleComponent,
|
60
|
-
reviseReport: props.reviseReport
|
62
|
+
reviseReport: props.reviseReport,
|
63
|
+
loginOutFun: props.loginOutFun
|
61
64
|
});
|
62
65
|
});
|
63
66
|
const getSearchText = () => {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
const
|
1
|
+
const index_vue_vue_type_style_index_0_scoped_4bbbeb79_lang = "";
|
2
2
|
export {
|
3
|
-
|
3
|
+
index_vue_vue_type_style_index_0_scoped_4bbbeb79_lang as default
|
4
4
|
};
|
package/dist/es/api/copilot.mjs
CHANGED
@@ -78,18 +78,10 @@ const updataHistoryRecord = (data) => {
|
|
78
78
|
timeout: 6e4
|
79
79
|
});
|
80
80
|
};
|
81
|
-
const getDocxFileByUrl = (url) => {
|
82
|
-
return http.request("get", url, {
|
83
|
-
responseType: "blob",
|
84
|
-
timeout: 60 * 1e3 * 10,
|
85
|
-
needHeader: true
|
86
|
-
});
|
87
|
-
};
|
88
81
|
export {
|
89
82
|
createHistoryInfo,
|
90
83
|
createHistoryRecord,
|
91
84
|
deleteHistoryRecord,
|
92
|
-
getDocxFileByUrl,
|
93
85
|
getHistoryInfo,
|
94
86
|
getHistoryRecordList,
|
95
87
|
getReport,
|
@@ -1,30 +1,30 @@
|
|
1
|
-
import HighlightJS from "../../node_modules/.pnpm/highlight.js@11.
|
2
|
-
import "../../node_modules/.pnpm/highlight.js@11.
|
3
|
-
import python from "../../node_modules/.pnpm/highlight.js@11.
|
4
|
-
import java from "../../node_modules/.pnpm/highlight.js@11.
|
5
|
-
import c from "../../node_modules/.pnpm/highlight.js@11.
|
6
|
-
import javascript from "../../node_modules/.pnpm/highlight.js@11.
|
7
|
-
import typescript from "../../node_modules/.pnpm/highlight.js@11.
|
8
|
-
import swift from "../../node_modules/.pnpm/highlight.js@11.
|
9
|
-
import stylus from "../../node_modules/.pnpm/highlight.js@11.
|
10
|
-
import php from "../../node_modules/.pnpm/highlight.js@11.
|
11
|
-
import nginx from "../../node_modules/.pnpm/highlight.js@11.
|
12
|
-
import json from "../../node_modules/.pnpm/highlight.js@11.
|
13
|
-
import go from "../../node_modules/.pnpm/highlight.js@11.
|
14
|
-
import http from "../../node_modules/.pnpm/highlight.js@11.
|
15
|
-
import erlang from "../../node_modules/.pnpm/highlight.js@11.
|
16
|
-
import ruby from "../../node_modules/.pnpm/highlight.js@11.
|
17
|
-
import dust from "../../node_modules/.pnpm/highlight.js@11.
|
18
|
-
import dos from "../../node_modules/.pnpm/highlight.js@11.
|
19
|
-
import dns from "../../node_modules/.pnpm/highlight.js@11.
|
20
|
-
import django from "../../node_modules/.pnpm/highlight.js@11.
|
21
|
-
import dart from "../../node_modules/.pnpm/highlight.js@11.
|
22
|
-
import markdown from "../../node_modules/.pnpm/highlight.js@11.
|
23
|
-
import css from "../../node_modules/.pnpm/highlight.js@11.
|
24
|
-
import bash from "../../node_modules/.pnpm/highlight.js@11.
|
25
|
-
import basic from "../../node_modules/.pnpm/highlight.js@11.
|
26
|
-
import xml from "../../node_modules/.pnpm/highlight.js@11.
|
27
|
-
import apache from "../../node_modules/.pnpm/highlight.js@11.
|
1
|
+
import HighlightJS from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/lib/core.mjs";
|
2
|
+
import "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/styles/sunburst.css.mjs";
|
3
|
+
import python from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/python.mjs";
|
4
|
+
import java from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/java.mjs";
|
5
|
+
import c from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/c.mjs";
|
6
|
+
import javascript from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/javascript.mjs";
|
7
|
+
import typescript from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/typescript.mjs";
|
8
|
+
import swift from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/swift.mjs";
|
9
|
+
import stylus from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/stylus.mjs";
|
10
|
+
import php from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/php.mjs";
|
11
|
+
import nginx from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/nginx.mjs";
|
12
|
+
import json from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/json.mjs";
|
13
|
+
import go from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/go.mjs";
|
14
|
+
import http from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/http.mjs";
|
15
|
+
import erlang from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/erlang.mjs";
|
16
|
+
import ruby from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/ruby.mjs";
|
17
|
+
import dust from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/dust.mjs";
|
18
|
+
import dos from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/dos.mjs";
|
19
|
+
import dns from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/dns.mjs";
|
20
|
+
import django from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/django.mjs";
|
21
|
+
import dart from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/dart.mjs";
|
22
|
+
import markdown from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/markdown.mjs";
|
23
|
+
import css from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/css.mjs";
|
24
|
+
import bash from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/bash.mjs";
|
25
|
+
import basic from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/basic.mjs";
|
26
|
+
import xml from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/xml.mjs";
|
27
|
+
import apache from "../../node_modules/.pnpm/highlight.js@11.9.0/node_modules/highlight.js/es/languages/apache.mjs";
|
28
28
|
HighlightJS.registerLanguage("python", python);
|
29
29
|
HighlightJS.registerLanguage("java", java);
|
30
30
|
HighlightJS.registerLanguage("c", c);
|
@@ -2,7 +2,7 @@ import { defineComponent, computed, resolveComponent, openBlock, createElementBl
|
|
2
2
|
import { useFilterStoreHook } from "../../store/modules/filters.mjs";
|
3
3
|
import { storeToRefs } from "pinia";
|
4
4
|
import { isAllEmpty as B } from "../../node_modules/.pnpm/@pureadmin_utils@1.8.5_vue@3.2.45/node_modules/@pureadmin/utils/dist/index.mjs";
|
5
|
-
import data from "../../node_modules/.pnpm/@iconify-icons_ep@1.2.
|
5
|
+
import data from "../../node_modules/.pnpm/@iconify-icons_ep@1.2.7/node_modules/@iconify-icons/ep/close.mjs";
|
6
6
|
import data$1 from "../../node_modules/.pnpm/@iconify-icons_ri@1.2.3/node_modules/@iconify-icons/ri/arrow-down-s-line.mjs";
|
7
7
|
import data$2 from "../../node_modules/.pnpm/@iconify-icons_ri@1.2.3/node_modules/@iconify-icons/ri/arrow-up-s-line.mjs";
|
8
8
|
const _hoisted_1 = { class: "flex justify-between p-1 bg-white text-xs text-[#666]" };
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { identity, isFunction, isDef } from "../../../../@vueuse_shared@9.13.0_vue@3.2.45/node_modules/@vueuse/shared/index.mjs";
|
2
|
-
import { createFilterWrapper, debounceFilter, isClient, noop, resolveUnref,
|
2
|
+
import { createFilterWrapper, debounceFilter, isClient, noop, resolveUnref, useDebounceFn } from "../../../../@vueuse_shared@9.13.0_vue@3.2.45/node_modules/@vueuse/shared/index.mjs";
|
3
3
|
import { getCurrentInstance, ref, watch, computed } from "vue";
|
4
4
|
function cloneFnJSON(source) {
|
5
5
|
return JSON.parse(JSON.stringify(source));
|
@@ -111,8 +111,6 @@ export {
|
|
111
111
|
isFunction,
|
112
112
|
noop,
|
113
113
|
resolveUnref,
|
114
|
-
throttleFilter,
|
115
114
|
useDebounceFn,
|
116
|
-
useThrottleFn,
|
117
115
|
useVModel
|
118
116
|
};
|
@@ -58,61 +58,12 @@ function debounceFilter(ms, options = {}) {
|
|
58
58
|
};
|
59
59
|
return filter;
|
60
60
|
}
|
61
|
-
function throttleFilter(ms, trailing = true, leading = true, rejectOnCancel = false) {
|
62
|
-
let lastExec = 0;
|
63
|
-
let timer;
|
64
|
-
let isLeading = true;
|
65
|
-
let lastRejector = noop;
|
66
|
-
let lastValue;
|
67
|
-
const clear = () => {
|
68
|
-
if (timer) {
|
69
|
-
clearTimeout(timer);
|
70
|
-
timer = void 0;
|
71
|
-
lastRejector();
|
72
|
-
lastRejector = noop;
|
73
|
-
}
|
74
|
-
};
|
75
|
-
const filter = (_invoke) => {
|
76
|
-
const duration = resolveUnref(ms);
|
77
|
-
const elapsed = Date.now() - lastExec;
|
78
|
-
const invoke = () => {
|
79
|
-
return lastValue = _invoke();
|
80
|
-
};
|
81
|
-
clear();
|
82
|
-
if (duration <= 0) {
|
83
|
-
lastExec = Date.now();
|
84
|
-
return invoke();
|
85
|
-
}
|
86
|
-
if (elapsed > duration && (leading || !isLeading)) {
|
87
|
-
lastExec = Date.now();
|
88
|
-
invoke();
|
89
|
-
} else if (trailing) {
|
90
|
-
lastValue = new Promise((resolve, reject) => {
|
91
|
-
lastRejector = rejectOnCancel ? reject : resolve;
|
92
|
-
timer = setTimeout(() => {
|
93
|
-
lastExec = Date.now();
|
94
|
-
isLeading = true;
|
95
|
-
resolve(invoke());
|
96
|
-
clear();
|
97
|
-
}, Math.max(0, duration - elapsed));
|
98
|
-
});
|
99
|
-
}
|
100
|
-
if (!leading && !timer)
|
101
|
-
timer = setTimeout(() => isLeading = true, duration);
|
102
|
-
isLeading = false;
|
103
|
-
return lastValue;
|
104
|
-
};
|
105
|
-
return filter;
|
106
|
-
}
|
107
61
|
function identity(arg) {
|
108
62
|
return arg;
|
109
63
|
}
|
110
64
|
function useDebounceFn(fn, ms = 200, options = {}) {
|
111
65
|
return createFilterWrapper(debounceFilter(ms, options), fn);
|
112
66
|
}
|
113
|
-
function useThrottleFn(fn, ms = 200, trailing = false, leading = true, rejectOnCancel = false) {
|
114
|
-
return createFilterWrapper(throttleFilter(ms, trailing, leading, rejectOnCancel), fn);
|
115
|
-
}
|
116
67
|
export {
|
117
68
|
createFilterWrapper,
|
118
69
|
debounceFilter,
|
@@ -122,7 +73,5 @@ export {
|
|
122
73
|
isFunction,
|
123
74
|
noop,
|
124
75
|
resolveUnref,
|
125
|
-
|
126
|
-
useDebounceFn,
|
127
|
-
useThrottleFn
|
76
|
+
useDebounceFn
|
128
77
|
};
|