edu360-web-ui 1.0.87 → 1.0.89
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/main.css +1 -1
- package/dist/shizhanyun-web-ui.js +19 -13
- package/dist/shizhanyun-web-ui.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/main.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@charset "UTF-8";[data-v-
|
|
1
|
+
@charset "UTF-8";[data-v-5cd3fd6f]:root{--clnpmel-color-primary: #fc5b08 !important}.code-block-view[data-v-5cd3fd6f]{margin:10px 0}.code-block-view .code-block-view-cont[data-v-5cd3fd6f]{margin:0 30px;border-radius:6px;border:1px solid #ccc}.code-toolbar[data-v-5cd3fd6f]{display:flex;gap:6px;align-items:center;justify-content:space-between;padding:4px 8px;font-size:12px;background:#f8fafe;border-bottom:1px solid #ddd;height:36px;border-radius:6px 6px 0 0}.code-toolbar .code-toolbar-right[data-v-5cd3fd6f]{display:flex;align-items:center;gap:20px}.code-toolbar .el-dropdown-link[data-v-5cd3fd6f]{cursor:pointer;display:flex;align-items:center}.hljs[data-v-5cd3fd6f]{border-radius:0 0 6px 6px}.dark .code-toolbar[data-v-5cd3fd6f]{background:#272822;color:#ddd}.dark .code-toolbar .el-dropdown[data-v-5cd3fd6f]{color:#ddd}pre[data-v-5cd3fd6f]{margin:0!important;padding:10px!important;font-size:14px;overflow-x:auto}.code-content[data-v-5cd3fd6f]{font-family:Courier New,Courier,monospace;white-space:pre-wrap;word-wrap:break-word}[data-v-9d55d1b3]:root{--clnpmel-color-primary: #fc5b08 !important}.ai-popup[data-v-9d55d1b3]{margin:8px 30px;background:#fff;font-size:14px;box-shadow:0 0 0 .5px #6b729447,0 2px 4px #565b760a,0 4px 24px -2px #565b7614;border-radius:12px;position:relative;z-index:2}.ai-input[data-v-9d55d1b3]{border-radius:12px 12px 0 0;padding:16px 16px 12px;width:100%;box-sizing:border-box}.ai-input[data-v-9d55d1b3] .el-textarea__inner{box-shadow:none;resize:none;padding:0}.ai-btns[data-v-9d55d1b3]{display:flex;justify-content:flex-end;align-items:center;padding:0 16px 16px;border-radius:0 0 12px 12px}.ai-btns .ai-btns-send[data-v-9d55d1b3]{width:32px;height:32px;background-color:var(--el-color-primary);border-radius:50%;color:#fff;display:flex;justify-content:center;align-items:center;font-size:18px;cursor:pointer}.ai-btns .ai-btns-send.is-disabled[data-v-9d55d1b3]{background-color:#6b729452;cursor:not-allowed}.ai-quick-actions[data-v-9d55d1b3]{padding:20px;top:calc(100% + 6px);left:0;position:absolute!important;width:160px;max-height:46vh;overflow-y:auto;background:#fff;border-radius:12px;-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px);box-shadow:#565b7647 0 0 0 .5px,#00000014 0 2px 4px,#00000014 0 4px 12px -4px,#00000029 0 16px 24px -4px;gap:10px}.ai-quick-actions .ai-quick-actions-item[data-v-9d55d1b3]{height:32px;display:flex;justify-content:space-between;align-items:center;font-size:14px;cursor:pointer}.ai-quick-actions .ai-quick-actions-item>div[data-v-9d55d1b3]{display:flex;align-items:center;gap:4px}.tone-list[data-v-9d55d1b3]{display:flex;flex-direction:column;font-size:14px;gap:10px}.tone-list>p[data-v-9d55d1b3]{cursor:pointer}.ai-result .result-answer[data-v-9d55d1b3]{padding:0 18px;height:45px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #EEEEEE;font-size:14px;border-radius:12px 12px 0 0}.ai-result .result-text[data-v-9d55d1b3]{padding:20px 18px 0;font-size:14px;white-space:pre-wrap;max-height:300px;overflow-y:auto}.ai-result .result-image[data-v-9d55d1b3]{padding:10px;display:flex;justify-content:flex-start;gap:10px}.ai-result .result-image>div[data-v-9d55d1b3]{flex:1;width:0;position:relative}.ai-result .result-image>div>img[data-v-9d55d1b3]{object-fit:cover;width:100%}.ai-result .result-image>div .result-image-checkbox[data-v-9d55d1b3]{position:absolute;top:10px;right:10px}.ai-result .result-actions[data-v-9d55d1b3]{display:flex;align-items:center;gap:8px;padding:10px 20px 20px;border-radius:0 0 12px 12px}.result-text[data-v-9d55d1b3]{margin-bottom:8px;white-space:pre-wrap}.result-actions[data-v-9d55d1b3]{display:flex;gap:8px}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
|
|
2
2
|
Theme: GitHub
|
|
3
3
|
Description: Light theme as seen on github.com
|
|
4
4
|
Author: github.com
|
|
@@ -2,7 +2,7 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
var _a2;
|
|
5
|
-
import { ref, defineComponent, provide, markRaw, reactive, h as h$2, render as render$1, getCurrentInstance, watchEffect, nextTick, unref, onBeforeUnmount, customRef, shallowRef, onMounted, watch, onUnmounted,
|
|
5
|
+
import { ref, defineComponent, provide, markRaw, reactive, h as h$2, render as render$1, getCurrentInstance, watchEffect, nextTick, unref, onBeforeUnmount, customRef, shallowRef, onMounted, watch, onUnmounted, createBlock, openBlock, normalizeClass, withCtx, createElementVNode, createCommentVNode, createVNode, createTextVNode, toDisplayString, createElementBlock, Fragment as Fragment$1, renderList, resolveComponent, resolveDirective, normalizeStyle, withDirectives, vShow, withModifiers, Teleport, isRef, createApp, renderSlot, computed } from "vue";
|
|
6
6
|
import { ElDropdown, ElDropdownMenu, ElDropdownItem, ElMessage, ElInput, ElButton, ElCard, ElForm, ElFormItem, ElTooltip, ElUpload, ElPopover, ElDrawer, ElTable, ElTableColumn, ElColorPicker, ElButtonGroup, ElLoading, ElDialog } from "element-plus";
|
|
7
7
|
function OrderedMap(content) {
|
|
8
8
|
this.content = content;
|
|
@@ -78348,12 +78348,24 @@ const _sfc_main$b = {
|
|
|
78348
78348
|
const deleteBlock = () => {
|
|
78349
78349
|
props.deleteNode();
|
|
78350
78350
|
};
|
|
78351
|
+
const escapeHtml2 = (str = "") => {
|
|
78352
|
+
return str.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
78353
|
+
};
|
|
78351
78354
|
const preBlock = ref(null);
|
|
78352
78355
|
const highlight2 = () => {
|
|
78353
78356
|
nextTick(() => {
|
|
78354
78357
|
var _a3;
|
|
78355
78358
|
const codeEl = (_a3 = preBlock.value) == null ? void 0 : _a3.querySelector(".code-content");
|
|
78356
|
-
if (codeEl)
|
|
78359
|
+
if (codeEl) {
|
|
78360
|
+
codeEl.innerHTML = escapeHtml2(codeEl.innerText);
|
|
78361
|
+
const language = lang.value || props.node.attrs.language || "plaintext";
|
|
78362
|
+
codeEl.className = `language-${language}`;
|
|
78363
|
+
try {
|
|
78364
|
+
HighlightJS.highlightElement(codeEl);
|
|
78365
|
+
} catch (e) {
|
|
78366
|
+
console.warn("Highlight failed:", e);
|
|
78367
|
+
}
|
|
78368
|
+
}
|
|
78357
78369
|
});
|
|
78358
78370
|
};
|
|
78359
78371
|
highlight2();
|
|
@@ -78364,7 +78376,6 @@ const _sfc_main$b = {
|
|
|
78364
78376
|
"atom-one-dark": "dark"
|
|
78365
78377
|
};
|
|
78366
78378
|
return (_ctx, _cache) => {
|
|
78367
|
-
const _component_el_icon = resolveComponent("el-icon");
|
|
78368
78379
|
return openBlock(), createBlock(unref(NodeViewWrapper), {
|
|
78369
78380
|
class: normalizeClass(["code-block-view", codeContHeme[__props.node.attrs.theme]])
|
|
78370
78381
|
}, {
|
|
@@ -78401,15 +78412,10 @@ const _sfc_main$b = {
|
|
|
78401
78412
|
default: withCtx(() => [
|
|
78402
78413
|
createElementVNode("span", _hoisted_4$4, [
|
|
78403
78414
|
createTextVNode(toDisplayString(lang.value) + " ", 1),
|
|
78404
|
-
createVNode(
|
|
78405
|
-
|
|
78406
|
-
|
|
78407
|
-
|
|
78408
|
-
width: "12",
|
|
78409
|
-
height: "12"
|
|
78410
|
-
})
|
|
78411
|
-
]),
|
|
78412
|
-
_: 1
|
|
78415
|
+
createVNode(unref(Icon), {
|
|
78416
|
+
icon: "mingcute:down-line",
|
|
78417
|
+
width: "12",
|
|
78418
|
+
height: "12"
|
|
78413
78419
|
})
|
|
78414
78420
|
])
|
|
78415
78421
|
]),
|
|
@@ -78448,7 +78454,7 @@ const _sfc_main$b = {
|
|
|
78448
78454
|
};
|
|
78449
78455
|
}
|
|
78450
78456
|
};
|
|
78451
|
-
const CodeBlockView = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-
|
|
78457
|
+
const CodeBlockView = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-5cd3fd6f"]]);
|
|
78452
78458
|
function dart(hljs2) {
|
|
78453
78459
|
const SUBST = {
|
|
78454
78460
|
className: "subst",
|