edu360-web-ui 1.0.88 → 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 +14 -2
- 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
|
|
@@ -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();
|
|
@@ -78442,7 +78454,7 @@ const _sfc_main$b = {
|
|
|
78442
78454
|
};
|
|
78443
78455
|
}
|
|
78444
78456
|
};
|
|
78445
|
-
const CodeBlockView = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-
|
|
78457
|
+
const CodeBlockView = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-5cd3fd6f"]]);
|
|
78446
78458
|
function dart(hljs2) {
|
|
78447
78459
|
const SUBST = {
|
|
78448
78460
|
className: "subst",
|