@umoteam/editor 4.1.0 → 4.2.0
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/style.css +1 -1
- package/dist/umo-editor.mjs +413 -348
- package/package.json +2 -2
package/dist/umo-editor.mjs
CHANGED
|
@@ -60,7 +60,7 @@ import { saveAs as Y0 } from "file-saver";
|
|
|
60
60
|
import { toBlob as Z0, toJpeg as cS, toPng as dS } from "dom-to-image-more";
|
|
61
61
|
import Po from "nzh/cn";
|
|
62
62
|
/**
|
|
63
|
-
* @umoteam/editor 4.
|
|
63
|
+
* @umoteam/editor 4.2.0
|
|
64
64
|
* @license MIT
|
|
65
65
|
* @author umodoc https://www.umodoc.com
|
|
66
66
|
* @see https://editor.umodoc.com/en/docs
|
|
@@ -20837,7 +20837,7 @@ const QH = ["width", "height"], eU = ["xlink:href", "fill"], at = {
|
|
|
20837
20837
|
setup(t) {
|
|
20838
20838
|
const e = t;
|
|
20839
20839
|
return (n, r) => (x(), re("svg", {
|
|
20840
|
-
class: "icon",
|
|
20840
|
+
class: "umo-icon",
|
|
20841
20841
|
"aria-hidden": "true",
|
|
20842
20842
|
width: t.size,
|
|
20843
20843
|
height: t.size
|
|
@@ -21066,7 +21066,7 @@ const QH = ["width", "height"], eU = ["xlink:href", "fill"], at = {
|
|
|
21066
21066
|
text: "插入表格",
|
|
21067
21067
|
tip: "插入新表格",
|
|
21068
21068
|
property: "表格属性",
|
|
21069
|
-
withHeader: "
|
|
21069
|
+
withHeader: "包含表头",
|
|
21070
21070
|
rows: "行数:",
|
|
21071
21071
|
cols: "列数:",
|
|
21072
21072
|
create: "创建表格"
|
|
@@ -21148,8 +21148,8 @@ const QH = ["width", "height"], eU = ["xlink:href", "fill"], at = {
|
|
|
21148
21148
|
insert: "插入",
|
|
21149
21149
|
tip: "选择纯色背景电子章的影印件或者照片,将自动扣取电子章,所有操作在本地完成,不会向服务器发送数据,请放心使用。",
|
|
21150
21150
|
insertTip: "点击此处选择电子章图片",
|
|
21151
|
-
converting1: "
|
|
21152
|
-
converting2: "
|
|
21151
|
+
converting1: "正在加载抠图组件...",
|
|
21152
|
+
converting2: "正在加载抠图组件: {ppercentage}%",
|
|
21153
21153
|
converting3: "正在抠图中,请稍后...",
|
|
21154
21154
|
convertError: "电子章抠取失败,请重试",
|
|
21155
21155
|
notEmpty: "请选择电子章"
|
|
@@ -21476,7 +21476,7 @@ const QH = ["width", "height"], eU = ["xlink:href", "fill"], at = {
|
|
|
21476
21476
|
pdf: {
|
|
21477
21477
|
text: "PDF文档",
|
|
21478
21478
|
title: "导出 PDF 文档",
|
|
21479
|
-
message: "导出 PDF 文档前,请确保所有页面中的图片已加载完毕。然后在弹出的打印框中选择”打印机 - 另存为PDF
|
|
21479
|
+
message: "导出 PDF 文档前,请确保所有页面中的图片已加载完毕。然后在弹出的打印框中选择”打印机 - 另存为PDF“,再点击”保存“按钮即可。如果遇到节点背景不显示,请在打印框中勾选 “背景图形”选项。",
|
|
21480
21480
|
confirm: "我知道了"
|
|
21481
21481
|
},
|
|
21482
21482
|
text: "文本文档"
|
|
@@ -22134,7 +22134,7 @@ Black`
|
|
|
22134
22134
|
pdf: {
|
|
22135
22135
|
text: "PDF Document",
|
|
22136
22136
|
title: "Export PDF Document",
|
|
22137
|
-
message: "Before exporting the PDF document, make sure that all images on the pages have finished loading. Then, in the print dialog box that appears, select 'Printer - Save as PDF', and click 'Save' button to save the document.",
|
|
22137
|
+
message: "Before exporting the PDF document, make sure that all images on the pages have finished loading. Then, in the print dialog box that appears, select 'Printer - Save as PDF', and click 'Save' button to save the document. If node backgrounds are not displayed, please check the 'Background graphics' option in the print dialog box.",
|
|
22138
22138
|
confirm: "I Understand"
|
|
22139
22139
|
},
|
|
22140
22140
|
text: "Text"
|
|
@@ -22406,6 +22406,24 @@ Black`
|
|
|
22406
22406
|
fontFamily: "SimSun",
|
|
22407
22407
|
fontWeight: "normal",
|
|
22408
22408
|
text: ""
|
|
22409
|
+
},
|
|
22410
|
+
/*
|
|
22411
|
+
* 新添加的 bolck 自定义节点如果需要参与分页,需要给 types 添加对应的类型 types:["myBlock"],
|
|
22412
|
+
* 如果是用 nodeView 实现的节点,需要自定义节点外层添加代码 :id="node.attrs.id",可以参考 image 扩展
|
|
22413
|
+
* 如果需要添加自定义计算方法,请在 nodesComputedOption 中添加
|
|
22414
|
+
* 例如新添加节点名字为 'myBlock'
|
|
22415
|
+
* nodesComputedOption:{
|
|
22416
|
+
* types: ["myBlock"],
|
|
22417
|
+
* nodesComputed: {
|
|
22418
|
+
* 'myBlock': (splitContex, node, pos, parent, dom) => {
|
|
22419
|
+
* //分页计算代码
|
|
22420
|
+
* }
|
|
22421
|
+
* }
|
|
22422
|
+
* } 否则走默认的计算
|
|
22423
|
+
**/
|
|
22424
|
+
nodesComputedOption: {
|
|
22425
|
+
types: [],
|
|
22426
|
+
nodesComputed: {}
|
|
22409
22427
|
}
|
|
22410
22428
|
},
|
|
22411
22429
|
document: {
|
|
@@ -22776,6 +22794,20 @@ Black`
|
|
|
22776
22794
|
validate: "string"
|
|
22777
22795
|
}
|
|
22778
22796
|
}
|
|
22797
|
+
},
|
|
22798
|
+
nodesComputedOption: {
|
|
22799
|
+
schema: {
|
|
22800
|
+
types: {
|
|
22801
|
+
merge: "replace",
|
|
22802
|
+
validate(t) {
|
|
22803
|
+
}
|
|
22804
|
+
},
|
|
22805
|
+
nodesComputed: {
|
|
22806
|
+
merge: "replace",
|
|
22807
|
+
validate(t) {
|
|
22808
|
+
}
|
|
22809
|
+
}
|
|
22810
|
+
}
|
|
22779
22811
|
}
|
|
22780
22812
|
}
|
|
22781
22813
|
},
|
|
@@ -24026,7 +24058,7 @@ function XK() {
|
|
|
24026
24058
|
};
|
|
24027
24059
|
}, { width: n, height: r } = e(), { right: a, left: o, bottom: l, top: i } = t.value.margin;
|
|
24028
24060
|
let s = en.getElementById("computeddiv");
|
|
24029
|
-
en.getElementsByClassName("umo-watermark")[0].setAttribute(
|
|
24061
|
+
en.getElementsByClassName("umo-page-watermark")[0].setAttribute(
|
|
24030
24062
|
"style",
|
|
24031
24063
|
`width: ${n + "cm"};height: ${r + "cm"}`
|
|
24032
24064
|
), s.setAttribute(
|
|
@@ -24039,10 +24071,12 @@ function JK() {
|
|
|
24039
24071
|
Kr = t, Kr.setAttribute(
|
|
24040
24072
|
"id",
|
|
24041
24073
|
`${e.replace("#", "")}-computediframe`
|
|
24042
|
-
), Kr.setAttribute("class", "editor-page-computed"), en = Kr.contentDocument || Kr.contentWindow.document, nW(en), rW(t, ["header", "iframe", "footer"]), QK(t), eW(t);
|
|
24074
|
+
), Kr.setAttribute("class", "umo-editor-page-computed"), en = Kr.contentDocument || Kr.contentWindow.document, nW(en), rW(t, ["header", "iframe", "footer"]), QK(t), eW(t);
|
|
24043
24075
|
}
|
|
24044
24076
|
function QK(t) {
|
|
24045
|
-
const n = (t.contentDocument || t.contentWindow.document).getElementsByClassName(
|
|
24077
|
+
const n = (t.contentDocument || t.contentWindow.document).getElementsByClassName(
|
|
24078
|
+
"umo-page-node-content"
|
|
24079
|
+
)[0];
|
|
24046
24080
|
n.setAttribute("id", "computeddiv"), n.innerHTML = "";
|
|
24047
24081
|
let r = n.parentNode.parentNode, a = n.parentNode;
|
|
24048
24082
|
for (; r.lastChild != a; )
|
|
@@ -24436,7 +24470,7 @@ const aW = (t, e) => (n) => lW(
|
|
|
24436
24470
|
name: s.icon
|
|
24437
24471
|
}, null, 8, ["name"])) : s.html ? (x(), re("span", {
|
|
24438
24472
|
key: 1,
|
|
24439
|
-
class: "icon",
|
|
24473
|
+
class: "shortcut-icon",
|
|
24440
24474
|
innerHTML: s.html
|
|
24441
24475
|
}, null, 8, vW)) : se("", !0),
|
|
24442
24476
|
s.tag ? (x(), X(Wc(s.tag), { key: 2 }, {
|
|
@@ -24463,7 +24497,7 @@ const aW = (t, e) => (n) => lW(
|
|
|
24463
24497
|
]);
|
|
24464
24498
|
};
|
|
24465
24499
|
}
|
|
24466
|
-
}, bW = /* @__PURE__ */ Le(gW, [["__scopeId", "data-v-
|
|
24500
|
+
}, bW = /* @__PURE__ */ Le(gW, [["__scopeId", "data-v-1213c973"]]), Il = {
|
|
24467
24501
|
__name: "tooltip",
|
|
24468
24502
|
props: {
|
|
24469
24503
|
content: {}
|
|
@@ -28786,16 +28820,16 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
28786
28820
|
attach: hv,
|
|
28787
28821
|
...n
|
|
28788
28822
|
});
|
|
28789
|
-
}, gv = (t) => (ro("data-v-
|
|
28823
|
+
}, gv = (t) => (ro("data-v-7c4465fe"), t = t(), ao(), t), Uue = {
|
|
28790
28824
|
key: 0,
|
|
28791
|
-
class: "status-bar"
|
|
28792
|
-
}, Kue = { class: "bar-left" }, Wue = /* @__PURE__ */ gv(() => /* @__PURE__ */ M("div", { class: "bar-split" }, null, -1)), Gue = /* @__PURE__ */ gv(() => /* @__PURE__ */ M("div", { class: "bar-split" }, null, -1)), que = { key: 0 }, Yue = {
|
|
28825
|
+
class: "umo-status-bar"
|
|
28826
|
+
}, Kue = { class: "umo-status-bar-left" }, Wue = /* @__PURE__ */ gv(() => /* @__PURE__ */ M("div", { class: "bar-split" }, null, -1)), Gue = /* @__PURE__ */ gv(() => /* @__PURE__ */ M("div", { class: "umo-status-bar-split" }, null, -1)), que = { key: 0 }, Yue = {
|
|
28793
28827
|
key: 0,
|
|
28794
28828
|
class: "umo-word-count-detail"
|
|
28795
|
-
}, Zue = { class: "umo-word-count-title" }, Xue = { key: 0 }, Jue = { class: "bar-right" }, Que = /* @__PURE__ */ gv(() => /* @__PURE__ */ M("div", { class: "bar-split" }, null, -1)), ece = { class: "zoom-level-bar" }, tce = {
|
|
28829
|
+
}, Zue = { class: "umo-word-count-title" }, Xue = { key: 0 }, Jue = { class: "umo-status-bar-right" }, Que = /* @__PURE__ */ gv(() => /* @__PURE__ */ M("div", { class: "umo-status-bar-split" }, null, -1)), ece = { class: "umo-zoom-level-bar" }, tce = {
|
|
28796
28830
|
key: 1,
|
|
28797
|
-
class: "preview-bar"
|
|
28798
|
-
}, nce = { class: "
|
|
28831
|
+
class: "umo-preview-bar"
|
|
28832
|
+
}, nce = { class: "umo-shortcuts-drawer-header" }, rce = {
|
|
28799
28833
|
__name: "index",
|
|
28800
28834
|
setup(t) {
|
|
28801
28835
|
const { container: e, options: n, page: r, editor: a } = le(), o = Je("document"), l = j(!1), i = Ct("reset"), s = () => {
|
|
@@ -28817,7 +28851,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
28817
28851
|
f.value = mk(document.querySelector(e)), Rn("f11, command+f11", f.value.toggle);
|
|
28818
28852
|
});
|
|
28819
28853
|
const d = async () => {
|
|
28820
|
-
r.value.showToc = !1, r.value.preview.enabled = !r.value.preview.enabled, r.value.preview.enabled && (document.querySelector(`${e} .zoomable-container`).scrollTop = 0);
|
|
28854
|
+
r.value.showToc = !1, r.value.preview.enabled = !r.value.preview.enabled, r.value.preview.enabled && (document.querySelector(`${e} .umo-zoomable-container`).scrollTop = 0);
|
|
28821
28855
|
};
|
|
28822
28856
|
je(() => Rn("f5", d)), ce(
|
|
28823
28857
|
() => r.value.preview.enabled,
|
|
@@ -28845,7 +28879,9 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
28845
28879
|
return;
|
|
28846
28880
|
}
|
|
28847
28881
|
try {
|
|
28848
|
-
const k = document.querySelector(
|
|
28882
|
+
const k = document.querySelector(
|
|
28883
|
+
`${e} .umo-zoomable-container`
|
|
28884
|
+
), T = k.querySelector(".umo-page-content"), O = k.clientWidth, E = T.clientWidth;
|
|
28849
28885
|
r.value.zoomLevel = parseInt(
|
|
28850
28886
|
(O - S * 2) / E * 100
|
|
28851
28887
|
), r.value.autoWidth = !0;
|
|
@@ -28905,7 +28941,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
28905
28941
|
}, {
|
|
28906
28942
|
default: z(() => [
|
|
28907
28943
|
p(T, {
|
|
28908
|
-
class: Fe(["bar-button", { active: y(r).showToc }]),
|
|
28944
|
+
class: Fe(["umo-status-bar-button", { active: y(r).showToc }]),
|
|
28909
28945
|
variant: "text",
|
|
28910
28946
|
size: "small",
|
|
28911
28947
|
onClick: S[0] || (S[0] = (I) => y(r).showToc = !y(r).showToc)
|
|
@@ -28927,7 +28963,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
28927
28963
|
}, {
|
|
28928
28964
|
default: z(() => [
|
|
28929
28965
|
p(T, {
|
|
28930
|
-
class: Fe(["bar-button", { active: y(o).spellcheck }]),
|
|
28966
|
+
class: Fe(["umo-status-bar-button", { active: y(o).spellcheck }]),
|
|
28931
28967
|
variant: "text",
|
|
28932
28968
|
size: "small",
|
|
28933
28969
|
onClick: S[1] || (S[1] = (I) => y(o).spellcheck = !y(o).spellcheck)
|
|
@@ -28948,7 +28984,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
28948
28984
|
}, {
|
|
28949
28985
|
default: z(() => [
|
|
28950
28986
|
p(T, {
|
|
28951
|
-
class: Fe(["bar-button", { active: y(r).pagination }]),
|
|
28987
|
+
class: Fe(["umo-status-bar-button", { active: y(r).pagination }]),
|
|
28952
28988
|
variant: "text",
|
|
28953
28989
|
size: "small",
|
|
28954
28990
|
onClick: s
|
|
@@ -28966,7 +29002,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
28966
29002
|
}, {
|
|
28967
29003
|
default: z(() => [
|
|
28968
29004
|
p(T, {
|
|
28969
|
-
class: "bar-button",
|
|
29005
|
+
class: "umo-status-bar-button",
|
|
28970
29006
|
variant: "text",
|
|
28971
29007
|
size: "small",
|
|
28972
29008
|
onClick: S[2] || (S[2] = (I) => l.value = !0)
|
|
@@ -28984,7 +29020,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
28984
29020
|
}, {
|
|
28985
29021
|
default: z(() => [
|
|
28986
29022
|
p(T, {
|
|
28987
|
-
class: "bar-button",
|
|
29023
|
+
class: "umo-status-bar-button",
|
|
28988
29024
|
variant: "text",
|
|
28989
29025
|
size: "small",
|
|
28990
29026
|
onClick: y(i)
|
|
@@ -29003,7 +29039,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29003
29039
|
}, {
|
|
29004
29040
|
default: z(() => [
|
|
29005
29041
|
p(T, {
|
|
29006
|
-
class: "bar-button",
|
|
29042
|
+
class: "umo-status-bar-button",
|
|
29007
29043
|
variant: "text",
|
|
29008
29044
|
size: "small",
|
|
29009
29045
|
href: `https://editor.umodoc.com/${y(Bt).global.locale.value === "zh-CN" ? "cn" : "en"}/docs`,
|
|
@@ -29022,7 +29058,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29022
29058
|
}, {
|
|
29023
29059
|
default: z(() => [
|
|
29024
29060
|
p(T, {
|
|
29025
|
-
class: "bar-button",
|
|
29061
|
+
class: "umo-status-bar-button",
|
|
29026
29062
|
variant: "text",
|
|
29027
29063
|
size: "small",
|
|
29028
29064
|
href: "https://github.com/umodoc/editor/issues",
|
|
@@ -29076,7 +29112,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29076
29112
|
}),
|
|
29077
29113
|
default: z(() => [
|
|
29078
29114
|
p(T, {
|
|
29079
|
-
class: "bar-button auto-width word-count",
|
|
29115
|
+
class: "umo-status-bar-button auto-width word-count",
|
|
29080
29116
|
variant: "text",
|
|
29081
29117
|
size: "small"
|
|
29082
29118
|
}, {
|
|
@@ -29098,7 +29134,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29098
29134
|
}, {
|
|
29099
29135
|
default: z(() => [
|
|
29100
29136
|
p(T, {
|
|
29101
|
-
class: Fe(["bar-button", { active: y(r).preview.enabled }]),
|
|
29137
|
+
class: Fe(["umo-status-bar-button", { active: y(r).preview.enabled }]),
|
|
29102
29138
|
variant: "text",
|
|
29103
29139
|
size: "small",
|
|
29104
29140
|
onClick: d
|
|
@@ -29116,7 +29152,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29116
29152
|
}, {
|
|
29117
29153
|
default: z(() => [
|
|
29118
29154
|
p(T, {
|
|
29119
|
-
class: "bar-button",
|
|
29155
|
+
class: "umo-status-bar-button",
|
|
29120
29156
|
variant: "text",
|
|
29121
29157
|
size: "small",
|
|
29122
29158
|
onClick: y(f).toggle
|
|
@@ -29138,7 +29174,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29138
29174
|
}, {
|
|
29139
29175
|
default: z(() => [
|
|
29140
29176
|
p(T, {
|
|
29141
|
-
class: "bar-button",
|
|
29177
|
+
class: "umo-status-bar-button",
|
|
29142
29178
|
variant: "text",
|
|
29143
29179
|
size: "small",
|
|
29144
29180
|
disabled: y(r).zoomLevel <= 20,
|
|
@@ -29155,7 +29191,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29155
29191
|
p(P, {
|
|
29156
29192
|
modelValue: y(r).zoomLevel,
|
|
29157
29193
|
"onUpdate:modelValue": S[4] || (S[4] = (I) => y(r).zoomLevel = I),
|
|
29158
|
-
class: "zoom-level-slider",
|
|
29194
|
+
class: "umo-zoom-level-slider",
|
|
29159
29195
|
min: 20,
|
|
29160
29196
|
max: 500,
|
|
29161
29197
|
step: 10,
|
|
@@ -29173,7 +29209,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29173
29209
|
}, {
|
|
29174
29210
|
default: z(() => [
|
|
29175
29211
|
p(T, {
|
|
29176
|
-
class: "bar-button",
|
|
29212
|
+
class: "umo-status-bar-button",
|
|
29177
29213
|
variant: "text",
|
|
29178
29214
|
size: "small",
|
|
29179
29215
|
disabled: y(r).zoomLevel >= 500,
|
|
@@ -29192,7 +29228,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29192
29228
|
}, {
|
|
29193
29229
|
default: z(() => [
|
|
29194
29230
|
p(T, {
|
|
29195
|
-
class: Fe(["bar-button", { active: y(r).autoWidth }]),
|
|
29231
|
+
class: Fe(["umo-status-bar-button", { active: y(r).autoWidth }]),
|
|
29196
29232
|
variant: "text",
|
|
29197
29233
|
size: "small",
|
|
29198
29234
|
onClick: S[5] || (S[5] = (I) => g(!0))
|
|
@@ -29210,7 +29246,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29210
29246
|
}, {
|
|
29211
29247
|
default: z(() => [
|
|
29212
29248
|
p(T, {
|
|
29213
|
-
class: "bar-button auto-width",
|
|
29249
|
+
class: "umo-status-bar-button auto-width",
|
|
29214
29250
|
variant: "text",
|
|
29215
29251
|
size: "small",
|
|
29216
29252
|
onClick: m
|
|
@@ -29233,7 +29269,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29233
29269
|
}, {
|
|
29234
29270
|
default: z(() => [
|
|
29235
29271
|
p(T, {
|
|
29236
|
-
class: "bar-button auto-width lang-button",
|
|
29272
|
+
class: "umo-status-bar-button auto-width umo-lang-button",
|
|
29237
29273
|
variant: "text",
|
|
29238
29274
|
size: "small",
|
|
29239
29275
|
textContent: ie(y(b)),
|
|
@@ -29268,7 +29304,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29268
29304
|
], 64);
|
|
29269
29305
|
};
|
|
29270
29306
|
}
|
|
29271
|
-
}, ace = /* @__PURE__ */ Le(rce, [["__scopeId", "data-v-
|
|
29307
|
+
}, ace = /* @__PURE__ */ Le(rce, [["__scopeId", "data-v-7c4465fe"]]), oce = { class: "umo-source-editor" }, lce = ["textContent"], ice = {
|
|
29272
29308
|
__name: "source",
|
|
29273
29309
|
setup(t) {
|
|
29274
29310
|
var s;
|
|
@@ -29314,7 +29350,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29314
29350
|
}, {
|
|
29315
29351
|
loading: z(() => [
|
|
29316
29352
|
M("span", {
|
|
29317
|
-
class: "loading",
|
|
29353
|
+
class: "umo-source-editor-loading",
|
|
29318
29354
|
textContent: ie(u.t("source.loading"))
|
|
29319
29355
|
}, null, 8, lce)
|
|
29320
29356
|
]),
|
|
@@ -29322,7 +29358,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29322
29358
|
}, 8, ["value"])
|
|
29323
29359
|
]));
|
|
29324
29360
|
}
|
|
29325
|
-
}, sce = /* @__PURE__ */ Le(ice, [["__scopeId", "data-v-
|
|
29361
|
+
}, sce = /* @__PURE__ */ Le(ice, [["__scopeId", "data-v-eba71f83"]]), uce = ["srcdoc"], cce = {
|
|
29326
29362
|
__name: "print",
|
|
29327
29363
|
setup(t) {
|
|
29328
29364
|
const { container: e, options: n, editor: r, page: a, printing: o, exportPDF: l } = le();
|
|
@@ -29336,7 +29372,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29336
29372
|
return ((m = document.querySelector("#sprite-plyr")) == null ? void 0 : m.innerHTML) || "";
|
|
29337
29373
|
}, f = () => {
|
|
29338
29374
|
let m = "";
|
|
29339
|
-
return document.querySelectorAll(`${e} .page-node-view`).forEach((w) => {
|
|
29375
|
+
return document.querySelectorAll(`${e} .umo-page-node-view`).forEach((w) => {
|
|
29340
29376
|
m += w.outerHTML;
|
|
29341
29377
|
}), m;
|
|
29342
29378
|
}, d = A(() => n.value.dicts.lineHeights.find((m) => m.default).value), v = () => {
|
|
@@ -29349,6 +29385,10 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29349
29385
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
29350
29386
|
${u()}
|
|
29351
29387
|
<style>
|
|
29388
|
+
body{
|
|
29389
|
+
overflow: auto;
|
|
29390
|
+
height: auto;
|
|
29391
|
+
}
|
|
29352
29392
|
@page {
|
|
29353
29393
|
size: ${m === "portrait" ? g.width : g.height}cm ${m === "portrait" ? g.height : g.width}cm;
|
|
29354
29394
|
margin:0;
|
|
@@ -29356,11 +29396,11 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29356
29396
|
}
|
|
29357
29397
|
</style>
|
|
29358
29398
|
</head>
|
|
29359
|
-
<body class="
|
|
29399
|
+
<body class="is-print">
|
|
29360
29400
|
<div id="sprite-plyr" style="display: none;">
|
|
29361
29401
|
${c()}
|
|
29362
29402
|
</div>
|
|
29363
|
-
<div class="editor-container" style="line-height: ${d.value};" aria-expanded="false">
|
|
29403
|
+
<div class="umo-editor-container" style="line-height: ${d.value};" aria-expanded="false">
|
|
29364
29404
|
<div class="tiptap umo-editor" translate="no">
|
|
29365
29405
|
${f()}
|
|
29366
29406
|
</div>
|
|
@@ -29396,7 +29436,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29396
29436
|
srcdoc: y(s)
|
|
29397
29437
|
}, null, 8, uce));
|
|
29398
29438
|
}
|
|
29399
|
-
}, dce = /* @__PURE__ */ Le(cce, [["__scopeId", "data-v-
|
|
29439
|
+
}, dce = /* @__PURE__ */ Le(cce, [["__scopeId", "data-v-6acb5e9f"]]), $n = {
|
|
29400
29440
|
__name: "modal",
|
|
29401
29441
|
props: {
|
|
29402
29442
|
visible: {
|
|
@@ -29430,7 +29470,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29430
29470
|
}, 16, ["visible", "attach"]);
|
|
29431
29471
|
};
|
|
29432
29472
|
}
|
|
29433
|
-
}, fce = { class: "search-replace-container" }, vce = { class: "search-text" }, pce = { class: "replace-text" }, mce = { class: "advanced-options" }, hce = { class: "button-actions" }, gce = {
|
|
29473
|
+
}, fce = { class: "umo-search-replace-container" }, vce = { class: "umo-search-text" }, pce = { class: "umo-replace-text" }, mce = { class: "umo-advanced-options" }, hce = { class: "umo-button-actions" }, gce = {
|
|
29434
29474
|
__name: "search-replace",
|
|
29435
29475
|
setup(t) {
|
|
29436
29476
|
const { editor: e, searchReplace: n } = le();
|
|
@@ -29492,7 +29532,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29492
29532
|
icon: "search-replace",
|
|
29493
29533
|
header: h.t("search.title"),
|
|
29494
29534
|
footer: !1,
|
|
29495
|
-
class: "search-replace-dialog",
|
|
29535
|
+
class: "umo-search-replace-dialog",
|
|
29496
29536
|
width: "420px",
|
|
29497
29537
|
mode: "modeless",
|
|
29498
29538
|
"z-index": 200,
|
|
@@ -29593,33 +29633,33 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29593
29633
|
}, 8, ["visible", "header"]);
|
|
29594
29634
|
};
|
|
29595
29635
|
}
|
|
29596
|
-
}, bce = /* @__PURE__ */ Le(gce, [["__scopeId", "data-v-
|
|
29636
|
+
}, bce = /* @__PURE__ */ Le(gce, [["__scopeId", "data-v-063ddf03"]]), yce = { class: "umo-button-content" }, _ce = ["innerHTML"], wce = { class: "umo-button-text" }, Cce = {
|
|
29597
29637
|
key: 1,
|
|
29598
|
-
class: "kbd"
|
|
29599
|
-
}, $ce = ["innerHTML"], kce = { class: "text" }, Sce = {
|
|
29638
|
+
class: "umo-button-kbd"
|
|
29639
|
+
}, $ce = ["innerHTML"], kce = { class: "umo-button-text" }, Sce = {
|
|
29600
29640
|
key: 1,
|
|
29601
|
-
class: "kbd"
|
|
29602
|
-
}, xce = { class: "icon-arrow handle" }, Oce = ["innerHTML"], Ece = { class: "text" }, Ace = {
|
|
29641
|
+
class: "umo-button-kbd"
|
|
29642
|
+
}, xce = { class: "umo-button-icon-arrow umo-button-handle" }, Oce = ["innerHTML"], Ece = { class: "umo-button-text" }, Ace = {
|
|
29603
29643
|
key: 1,
|
|
29604
|
-
class: "kbd"
|
|
29644
|
+
class: "umo-button-kbd"
|
|
29605
29645
|
}, Tce = {
|
|
29606
29646
|
key: 2,
|
|
29607
|
-
class: "icon-arrow"
|
|
29647
|
+
class: "umo-button-icon-arrow"
|
|
29608
29648
|
}, Pce = {
|
|
29609
29649
|
key: 0,
|
|
29610
|
-
class: "icon-arrow"
|
|
29611
|
-
}, Mce = ["innerHTML"], Ice = { class: "text" }, jce = {
|
|
29650
|
+
class: "umo-button-icon-arrow"
|
|
29651
|
+
}, Mce = ["innerHTML"], Ice = { class: "umo-button-text" }, jce = {
|
|
29612
29652
|
key: 1,
|
|
29613
|
-
class: "kbd"
|
|
29614
|
-
}, Nce = { class: "button-content" }, Dce = ["innerHTML"], Bce = { class: "text" }, Fce = {
|
|
29653
|
+
class: "umo-button-kbd"
|
|
29654
|
+
}, Nce = { class: "umo-button-content" }, Dce = ["innerHTML"], Bce = { class: "umo-button-text" }, Fce = {
|
|
29615
29655
|
key: 1,
|
|
29616
|
-
class: "kbd"
|
|
29656
|
+
class: "umo-button-kbd"
|
|
29617
29657
|
}, Lce = {
|
|
29618
29658
|
key: 2,
|
|
29619
|
-
class: "icon-arrow"
|
|
29659
|
+
class: "umo-button-icon-arrow"
|
|
29620
29660
|
}, Rce = {
|
|
29621
29661
|
key: 0,
|
|
29622
|
-
class: "icon-arrow"
|
|
29662
|
+
class: "umo-button-icon-arrow"
|
|
29623
29663
|
}, zce = {
|
|
29624
29664
|
__name: "button",
|
|
29625
29665
|
props: {
|
|
@@ -29695,10 +29735,6 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29695
29735
|
let u = j(!1), c = j(!1);
|
|
29696
29736
|
const f = (g) => {
|
|
29697
29737
|
c.value = g;
|
|
29698
|
-
try {
|
|
29699
|
-
l.value.commands.focus();
|
|
29700
|
-
} catch {
|
|
29701
|
-
}
|
|
29702
29738
|
}, d = () => n.tooltip === !1 ? "" : n.huge && n.tooltip ? `${n.tooltip}${n.shortcut ? ` (${mn(n.shortcut)})` : ""}` : n.text ? `${n.tooltip || n.text}${n.shortcut ? ` (${mn(n.shortcut)})` : ""}` : "";
|
|
29703
29739
|
ce(
|
|
29704
29740
|
() => n.popupVisible,
|
|
@@ -29732,14 +29768,14 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29732
29768
|
var T, O, E, P, G;
|
|
29733
29769
|
return [
|
|
29734
29770
|
M("div", {
|
|
29735
|
-
class: "menu-button-wrap",
|
|
29771
|
+
class: "umo-menu-button-wrap",
|
|
29736
29772
|
onClick: w[3] || (w[3] = (V) => Ie(u) ? u.value = !1 : u = !1),
|
|
29737
29773
|
onMouseover: w[4] || (w[4] = (V) => Ie(u) ? u.value = !0 : u = !0),
|
|
29738
29774
|
onMouseleave: w[5] || (w[5] = (V) => Ie(u) ? u.value = !1 : u = !1)
|
|
29739
29775
|
}, [
|
|
29740
29776
|
t.menuType === "button" ? (x(), X(b, Ee({
|
|
29741
29777
|
key: 0,
|
|
29742
|
-
class: ["menu-button", {
|
|
29778
|
+
class: ["umo-menu-button", {
|
|
29743
29779
|
huge: t.huge && y(i).mode === "ribbon",
|
|
29744
29780
|
"show-text": !t.hideText,
|
|
29745
29781
|
active: t.menuActive && ((T = y(l)) == null ? void 0 : T.isEditable) !== !1
|
|
@@ -29762,7 +29798,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29762
29798
|
innerHTML: t.ico
|
|
29763
29799
|
}, null, 8, _ce)) : (x(), X(_, {
|
|
29764
29800
|
key: 1,
|
|
29765
|
-
class: "icon",
|
|
29801
|
+
class: "umo-button-icon",
|
|
29766
29802
|
name: t.ico
|
|
29767
29803
|
}, null, 8, ["name"]))
|
|
29768
29804
|
], 64)) : se("", !0),
|
|
@@ -29775,7 +29811,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29775
29811
|
}, 16, ["class", "disabled"])) : t.menuType === "dropdown" ? (x(), re(he, { key: 1 }, [
|
|
29776
29812
|
t.popupHandle === "arrow" ? (x(), X(b, Ee({
|
|
29777
29813
|
key: 0,
|
|
29778
|
-
class: ["menu-button has-arrow", {
|
|
29814
|
+
class: ["umo-menu-button has-arrow", {
|
|
29779
29815
|
huge: t.huge && y(i).mode === "ribbon",
|
|
29780
29816
|
"show-text": !t.hideText,
|
|
29781
29817
|
active: y(c)
|
|
@@ -29789,7 +29825,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29789
29825
|
var V;
|
|
29790
29826
|
return [
|
|
29791
29827
|
M("div", {
|
|
29792
|
-
class: "button-content",
|
|
29828
|
+
class: "umo-button-content",
|
|
29793
29829
|
onClick: s
|
|
29794
29830
|
}, [
|
|
29795
29831
|
He(g.$slots, "default", {}, void 0, !0),
|
|
@@ -29800,7 +29836,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29800
29836
|
innerHTML: t.ico
|
|
29801
29837
|
}, null, 8, $ce)) : (x(), X(_, {
|
|
29802
29838
|
key: 1,
|
|
29803
|
-
class: "icon",
|
|
29839
|
+
class: "umo-button-icon",
|
|
29804
29840
|
name: t.ico
|
|
29805
29841
|
}, null, 8, ["name"]))
|
|
29806
29842
|
], 64)) : se("", !0),
|
|
@@ -29851,7 +29887,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29851
29887
|
var V;
|
|
29852
29888
|
return [
|
|
29853
29889
|
p(b, Ee({
|
|
29854
|
-
class: ["menu-button has-arrow", {
|
|
29890
|
+
class: ["umo-menu-button has-arrow", {
|
|
29855
29891
|
huge: t.huge && y(i).mode === "ribbon",
|
|
29856
29892
|
"show-text": !t.hideText,
|
|
29857
29893
|
active: y(c)
|
|
@@ -29865,7 +29901,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29865
29901
|
var K;
|
|
29866
29902
|
return [
|
|
29867
29903
|
M("div", {
|
|
29868
|
-
class: "button-content",
|
|
29904
|
+
class: "umo-button-content",
|
|
29869
29905
|
onClick: s
|
|
29870
29906
|
}, [
|
|
29871
29907
|
He(g.$slots, "default", {}, void 0, !0),
|
|
@@ -29876,7 +29912,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29876
29912
|
innerHTML: t.ico
|
|
29877
29913
|
}, null, 8, Oce)) : (x(), X(_, {
|
|
29878
29914
|
key: 1,
|
|
29879
|
-
class: "icon",
|
|
29915
|
+
class: "umo-button-icon",
|
|
29880
29916
|
name: t.ico
|
|
29881
29917
|
}, null, 8, ["name"]))
|
|
29882
29918
|
], 64)) : se("", !0),
|
|
@@ -29920,7 +29956,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29920
29956
|
}, 16, ["value", "popup-props", "options", "disabled"])) : t.menuType === "popup" ? (x(), re(he, { key: 3 }, [
|
|
29921
29957
|
t.popupHandle === "arrow" ? (x(), X(b, Ee({
|
|
29922
29958
|
key: 0,
|
|
29923
|
-
class: ["menu-button has-arrow", {
|
|
29959
|
+
class: ["umo-menu-button has-arrow", {
|
|
29924
29960
|
"show-text": !t.hideText,
|
|
29925
29961
|
active: t.popupVisible
|
|
29926
29962
|
}],
|
|
@@ -29933,7 +29969,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29933
29969
|
var V;
|
|
29934
29970
|
return [
|
|
29935
29971
|
M("div", {
|
|
29936
|
-
class: "button-content",
|
|
29972
|
+
class: "umo-button-content",
|
|
29937
29973
|
onClick: s
|
|
29938
29974
|
}, [
|
|
29939
29975
|
He(g.$slots, "default", {}, void 0, !0),
|
|
@@ -29944,7 +29980,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29944
29980
|
innerHTML: t.ico
|
|
29945
29981
|
}, null, 8, Mce)) : (x(), X(_, {
|
|
29946
29982
|
key: 1,
|
|
29947
|
-
class: "icon",
|
|
29983
|
+
class: "umo-button-icon",
|
|
29948
29984
|
name: t.ico
|
|
29949
29985
|
}, null, 8, ["name"]))
|
|
29950
29986
|
], 64)) : se("", !0),
|
|
@@ -29975,7 +30011,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29975
30011
|
key: 0,
|
|
29976
30012
|
ref_key: "popupHandleRef",
|
|
29977
30013
|
ref: v,
|
|
29978
|
-
class: "icon-arrow handle",
|
|
30014
|
+
class: "umo-button-icon-arrow umo-button-handle",
|
|
29979
30015
|
onClick: w[0] || (w[0] = (K) => m())
|
|
29980
30016
|
}, [
|
|
29981
30017
|
p(_, { name: "arrow-down" })
|
|
@@ -29984,7 +30020,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
29984
30020
|
key: 1,
|
|
29985
30021
|
ref_key: "popupHandleRef",
|
|
29986
30022
|
ref: v,
|
|
29987
|
-
class: "icon-arrow handle",
|
|
30023
|
+
class: "umo-button-icon-arrow umo-button-handle",
|
|
29988
30024
|
onClick: w[1] || (w[1] = (K) => m())
|
|
29989
30025
|
}, [
|
|
29990
30026
|
p(_, { name: "arrow-down" })
|
|
@@ -30017,7 +30053,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
30017
30053
|
p(b, Ee({
|
|
30018
30054
|
ref_key: "popupHandleRef",
|
|
30019
30055
|
ref: v,
|
|
30020
|
-
class: ["menu-button has-arrow", {
|
|
30056
|
+
class: ["umo-menu-button has-arrow", {
|
|
30021
30057
|
huge: t.huge && y(i).mode === "ribbon",
|
|
30022
30058
|
"show-text": !t.hideText,
|
|
30023
30059
|
active: t.popupVisible
|
|
@@ -30040,7 +30076,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
30040
30076
|
innerHTML: t.ico
|
|
30041
30077
|
}, null, 8, Dce)) : (x(), X(_, {
|
|
30042
30078
|
key: 1,
|
|
30043
|
-
class: "icon",
|
|
30079
|
+
class: "umo-button-icon",
|
|
30044
30080
|
name: t.ico
|
|
30045
30081
|
}, null, 8, ["name"]))
|
|
30046
30082
|
], 64)) : se("", !0),
|
|
@@ -30069,7 +30105,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
30069
30105
|
}, 8, ["visible", "attach"]);
|
|
30070
30106
|
};
|
|
30071
30107
|
}
|
|
30072
|
-
}, fe = /* @__PURE__ */ Le(zce, [["__scopeId", "data-v-
|
|
30108
|
+
}, fe = /* @__PURE__ */ Le(zce, [["__scopeId", "data-v-2048d50b"]]), Vce = {
|
|
30073
30109
|
__name: "common",
|
|
30074
30110
|
setup(t) {
|
|
30075
30111
|
const { container: e, editor: n, blockMenu: r } = le();
|
|
@@ -30102,9 +30138,9 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
30102
30138
|
return (c, f) => {
|
|
30103
30139
|
const d = fe, v = Ir, h = vr, m = El;
|
|
30104
30140
|
return x(), X(m, {
|
|
30105
|
-
attach: `${y(e)} .page-container`,
|
|
30141
|
+
attach: `${y(e)} .umo-page-container`,
|
|
30106
30142
|
placement: "bottom-right",
|
|
30107
|
-
"overlay-class-name": "block-menu-dropdown",
|
|
30143
|
+
"overlay-class-name": "umo-block-menu-dropdown",
|
|
30108
30144
|
trigger: "click",
|
|
30109
30145
|
"destroy-on-close": !1,
|
|
30110
30146
|
"popup-props": {
|
|
@@ -30115,7 +30151,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
30115
30151
|
}, {
|
|
30116
30152
|
default: z(() => [
|
|
30117
30153
|
p(d, {
|
|
30118
|
-
class: "block-menu-button",
|
|
30154
|
+
class: "umo-block-menu-button",
|
|
30119
30155
|
"menu-active": y(a),
|
|
30120
30156
|
ico: "block-menu",
|
|
30121
30157
|
"hide-text": ""
|
|
@@ -30123,7 +30159,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
30123
30159
|
p(h, null, {
|
|
30124
30160
|
default: z(() => [
|
|
30125
30161
|
p(v, {
|
|
30126
|
-
class: "block-menu-group-name",
|
|
30162
|
+
class: "umo-block-menu-group-name",
|
|
30127
30163
|
disabled: ""
|
|
30128
30164
|
}, {
|
|
30129
30165
|
default: z(() => [
|
|
@@ -30175,7 +30211,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
30175
30211
|
]),
|
|
30176
30212
|
_: 1
|
|
30177
30213
|
}),
|
|
30178
|
-
p(v, { class: "delete-node" }, {
|
|
30214
|
+
p(v, { class: "umo-delete-node" }, {
|
|
30179
30215
|
default: z(() => [
|
|
30180
30216
|
p(d, {
|
|
30181
30217
|
ico: "node-delete-2",
|
|
@@ -30194,7 +30230,7 @@ const { container: hv } = le(), Oo = (t) => iu.alert({
|
|
|
30194
30230
|
}, 8, ["attach", "popup-props"]);
|
|
30195
30231
|
};
|
|
30196
30232
|
}
|
|
30197
|
-
}, Hce = { class: "mermaid-container" }, Uce = { class: "mermaid-render" }, Kce = ["textContent"], Wce = ["innerHTML"], Gce = `graph TB
|
|
30233
|
+
}, Hce = { class: "umo-mermaid-container" }, Uce = { class: "umo-mermaid-render" }, Kce = ["textContent"], Wce = ["innerHTML"], Gce = `graph TB
|
|
30198
30234
|
a-->b`, qce = {
|
|
30199
30235
|
__name: "mermaid",
|
|
30200
30236
|
props: {
|
|
@@ -30276,7 +30312,7 @@ a-->b`, qce = {
|
|
|
30276
30312
|
default: z(() => [
|
|
30277
30313
|
M("div", Hce, [
|
|
30278
30314
|
p(v, {
|
|
30279
|
-
class: "mermaid-code",
|
|
30315
|
+
class: "umo-mermaid-code",
|
|
30280
30316
|
modelValue: y(l),
|
|
30281
30317
|
"onUpdate:modelValue": d[0] || (d[0] = (g) => Ie(l) ? l.value = g : l = g),
|
|
30282
30318
|
autofocus: "",
|
|
@@ -30284,11 +30320,11 @@ a-->b`, qce = {
|
|
|
30284
30320
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
30285
30321
|
M("div", Uce, [
|
|
30286
30322
|
M("div", {
|
|
30287
|
-
class: "mermaid-title",
|
|
30323
|
+
class: "umo-mermaid-title",
|
|
30288
30324
|
textContent: ie(f.t("tools.mermaid.preview"))
|
|
30289
30325
|
}, null, 8, Kce),
|
|
30290
30326
|
M("div", {
|
|
30291
|
-
class: "mermaid-svg narrow-scrollbar",
|
|
30327
|
+
class: "umo-mermaid-svg narrow-scrollbar",
|
|
30292
30328
|
ref_key: "mermaidRef",
|
|
30293
30329
|
ref: s,
|
|
30294
30330
|
innerHTML: y(i)
|
|
@@ -30303,7 +30339,7 @@ a-->b`, qce = {
|
|
|
30303
30339
|
}, 8, ["ico", "text"]);
|
|
30304
30340
|
};
|
|
30305
30341
|
}
|
|
30306
|
-
}, su = /* @__PURE__ */ Le(qce, [["__scopeId", "data-v-
|
|
30342
|
+
}, su = /* @__PURE__ */ Le(qce, [["__scopeId", "data-v-687c8459"]]), Yce = {
|
|
30307
30343
|
"zh-CN": "zh",
|
|
30308
30344
|
"en-US": "en"
|
|
30309
30345
|
};
|
|
@@ -30338,7 +30374,7 @@ class Zce {
|
|
|
30338
30374
|
// 创建 iframe
|
|
30339
30375
|
createFrame() {
|
|
30340
30376
|
const e = Object.keys(this.params).map((a) => a + "=" + this.params[a]).join("&"), n = Yce[Bt.global.locale.value], r = document.createElement("iframe");
|
|
30341
|
-
return r.setAttribute("class", "diagrams-iframe"), r.setAttribute("src", `${this.domain}?${e}&lang=${n}`), r;
|
|
30377
|
+
return r.setAttribute("class", "umo-diagrams-iframe"), r.setAttribute("src", `${this.domain}?${e}&lang=${n}`), r;
|
|
30342
30378
|
}
|
|
30343
30379
|
// diagrams页面和当前页面通信
|
|
30344
30380
|
postMessage(e) {
|
|
@@ -30385,8 +30421,8 @@ class Zce {
|
|
|
30385
30421
|
}
|
|
30386
30422
|
const Xce = {
|
|
30387
30423
|
key: 0,
|
|
30388
|
-
class: "diagrams-loading"
|
|
30389
|
-
}, Jce = /* @__PURE__ */ M("div", { class: "diagrams-container" }, null, -1), uu = {
|
|
30424
|
+
class: "umo-diagrams-loading"
|
|
30425
|
+
}, Jce = /* @__PURE__ */ M("div", { class: "umo-diagrams-container" }, null, -1), uu = {
|
|
30390
30426
|
__name: "diagrams",
|
|
30391
30427
|
props: {
|
|
30392
30428
|
content: {
|
|
@@ -30399,7 +30435,7 @@ const Xce = {
|
|
|
30399
30435
|
const i = new Zce({
|
|
30400
30436
|
domain: r.value.diagrams.domain,
|
|
30401
30437
|
params: r.value.diagrams.params,
|
|
30402
|
-
container: `${n} .diagrams-container`
|
|
30438
|
+
container: `${n} .umo-diagrams-container`
|
|
30403
30439
|
}), s = () => {
|
|
30404
30440
|
i.edit(e.content || "");
|
|
30405
30441
|
};
|
|
@@ -30447,7 +30483,7 @@ const Xce = {
|
|
|
30447
30483
|
icon: "diagrams",
|
|
30448
30484
|
header: t.content ? f.t("tools.diagrams.edit") : f.t("tools.diagrams.text"),
|
|
30449
30485
|
footer: !1,
|
|
30450
|
-
class: "diagrams-dialog",
|
|
30486
|
+
class: "umo-diagrams-dialog",
|
|
30451
30487
|
mode: "full-screen",
|
|
30452
30488
|
onOpened: s,
|
|
30453
30489
|
onClose: d[0] || (d[0] = (g) => Ie(o) ? o.value = !1 : o = !1)
|
|
@@ -30468,7 +30504,7 @@ const Xce = {
|
|
|
30468
30504
|
}, 8, ["ico", "text"]);
|
|
30469
30505
|
};
|
|
30470
30506
|
}
|
|
30471
|
-
}, Qce = ["textContent"], ede = { class: "seal-uploader" }, tde = { key: 0 }, nde = ["src"], rde = {
|
|
30507
|
+
}, Qce = ["textContent"], ede = { class: "umo-seal-uploader" }, tde = { key: 0 }, nde = ["src"], rde = {
|
|
30472
30508
|
__name: "seal",
|
|
30473
30509
|
setup(t) {
|
|
30474
30510
|
let e = j(!1);
|
|
@@ -30535,17 +30571,17 @@ const Xce = {
|
|
|
30535
30571
|
}, {
|
|
30536
30572
|
default: z(() => [
|
|
30537
30573
|
M("div", {
|
|
30538
|
-
class: "seal-container",
|
|
30574
|
+
class: "umo-seal-container",
|
|
30539
30575
|
onClick: i
|
|
30540
30576
|
}, [
|
|
30541
30577
|
M("div", {
|
|
30542
|
-
class: "tip",
|
|
30578
|
+
class: "umo-seal-tip",
|
|
30543
30579
|
textContent: ie(u.t("tools.seal.tip"))
|
|
30544
30580
|
}, null, 8, Qce),
|
|
30545
30581
|
M("div", ede, [
|
|
30546
30582
|
y(a) ? (x(), re("img", {
|
|
30547
30583
|
key: 1,
|
|
30548
|
-
class: "seal-img",
|
|
30584
|
+
class: "umo-seal-img",
|
|
30549
30585
|
src: y(a)
|
|
30550
30586
|
}, null, 8, nde)) : (x(), re("span", tde, ie(y(o) ? y(o) : u.t("tools.seal.insertTip")), 1))
|
|
30551
30587
|
])
|
|
@@ -30558,10 +30594,10 @@ const Xce = {
|
|
|
30558
30594
|
}, 8, ["text"])) : se("", !0);
|
|
30559
30595
|
};
|
|
30560
30596
|
}
|
|
30561
|
-
}, bv = /* @__PURE__ */ Le(rde, [["__scopeId", "data-v-
|
|
30597
|
+
}, bv = /* @__PURE__ */ Le(rde, [["__scopeId", "data-v-d996b14a"]]), ade = (t) => (ro("data-v-4b36cad4"), t = t(), ao(), t), ode = { class: "umo-color-picker-container" }, lde = { class: "umo-color-picker-default-button" }, ide = { class: "umo-color-picker-group" }, sde = ["onClick"], ude = ["textContent"], cde = { class: "umo-color-picker-group" }, dde = ["onClick"], fde = ["textContent"], vde = {
|
|
30562
30598
|
key: 1,
|
|
30563
|
-
class: "color-picker-group"
|
|
30564
|
-
}, pde = ["onClick"], mde = /* @__PURE__ */ ade(() => /* @__PURE__ */ M("div", { class: "color-picker-divider" }, null, -1)), hde = { class: "color-picker-more-menu" }, gde = ["textContent"], bde = { class: "color-picker-more-arrow" }, yde = {
|
|
30599
|
+
class: "umo-color-picker-group"
|
|
30600
|
+
}, pde = ["onClick"], mde = /* @__PURE__ */ ade(() => /* @__PURE__ */ M("div", { class: "umo-color-picker-divider" }, null, -1)), hde = { class: "umo-color-picker-more-menu" }, gde = ["textContent"], bde = { class: "umo-color-picker-more-arrow" }, yde = {
|
|
30565
30601
|
__name: "color-picker",
|
|
30566
30602
|
props: {
|
|
30567
30603
|
defaultColor: {
|
|
@@ -30600,19 +30636,19 @@ const Xce = {
|
|
|
30600
30636
|
]),
|
|
30601
30637
|
M("div", ide, [
|
|
30602
30638
|
(x(!0), re(he, null, Ve(y(l).dicts.colors, (b, $) => (x(), re("div", {
|
|
30603
|
-
class: "color-picker-item",
|
|
30639
|
+
class: "umo-color-picker-item",
|
|
30604
30640
|
key: $,
|
|
30605
30641
|
style: Qe({ backgroundColor: b }),
|
|
30606
30642
|
onClick: (C) => d(b)
|
|
30607
30643
|
}, null, 12, sde))), 128))
|
|
30608
30644
|
]),
|
|
30609
30645
|
M("div", {
|
|
30610
|
-
class: "color-picker-group-title",
|
|
30646
|
+
class: "umo-color-picker-group-title",
|
|
30611
30647
|
textContent: ie(v.t("colorPicker.standard"))
|
|
30612
30648
|
}, null, 8, ude),
|
|
30613
30649
|
M("div", cde, [
|
|
30614
30650
|
(x(), re(he, null, Ve(s, (b, $) => M("div", {
|
|
30615
|
-
class: "color-picker-item",
|
|
30651
|
+
class: "umo-color-picker-item",
|
|
30616
30652
|
key: $,
|
|
30617
30653
|
style: Qe({ backgroundColor: b }),
|
|
30618
30654
|
onClick: (C) => d(b)
|
|
@@ -30620,12 +30656,12 @@ const Xce = {
|
|
|
30620
30656
|
]),
|
|
30621
30657
|
y(i).colors.length > 0 ? (x(), re("div", {
|
|
30622
30658
|
key: 0,
|
|
30623
|
-
class: "color-picker-group-title",
|
|
30659
|
+
class: "umo-color-picker-group-title",
|
|
30624
30660
|
textContent: ie(v.t("colorPicker.recent"))
|
|
30625
30661
|
}, null, 8, fde)) : se("", !0),
|
|
30626
30662
|
y(i).colors.length > 0 ? (x(), re("div", vde, [
|
|
30627
30663
|
(x(!0), re(he, null, Ve(y(i).colors, (b, $) => (x(), re("div", {
|
|
30628
|
-
class: "color-picker-item",
|
|
30664
|
+
class: "umo-color-picker-item",
|
|
30629
30665
|
key: $,
|
|
30630
30666
|
style: Qe({ backgroundColor: b }),
|
|
30631
30667
|
onClick: (C) => d(b)
|
|
@@ -30651,7 +30687,7 @@ const Xce = {
|
|
|
30651
30687
|
]),
|
|
30652
30688
|
default: z(() => [
|
|
30653
30689
|
M("div", {
|
|
30654
|
-
class: Fe(["color-picker-more", { active: c.value }])
|
|
30690
|
+
class: Fe(["umo-color-picker-more", { active: c.value }])
|
|
30655
30691
|
}, [
|
|
30656
30692
|
M("div", hde, [
|
|
30657
30693
|
p(g, {
|
|
@@ -30672,7 +30708,7 @@ const Xce = {
|
|
|
30672
30708
|
]);
|
|
30673
30709
|
};
|
|
30674
30710
|
}
|
|
30675
|
-
}, cu = /* @__PURE__ */ Le(yde, [["__scopeId", "data-v-
|
|
30711
|
+
}, cu = /* @__PURE__ */ Le(yde, [["__scopeId", "data-v-4b36cad4"]]);
|
|
30676
30712
|
function qt() {
|
|
30677
30713
|
const t = j(!1);
|
|
30678
30714
|
return { popupVisible: t, togglePopup: (n) => {
|
|
@@ -30731,7 +30767,7 @@ const _de = {
|
|
|
30731
30767
|
var v, h;
|
|
30732
30768
|
return [
|
|
30733
30769
|
M("div", {
|
|
30734
|
-
class: "current-color",
|
|
30770
|
+
class: "umo-current-color",
|
|
30735
30771
|
style: Qe({
|
|
30736
30772
|
background: ((h = (v = y(l)) == null ? void 0 : v.getAttributes("textStyle")) == null ? void 0 : h.color) || y(i)
|
|
30737
30773
|
})
|
|
@@ -30742,7 +30778,7 @@ const _de = {
|
|
|
30742
30778
|
}, 8, ["text", "popup-visible", "onTogglePopup"]);
|
|
30743
30779
|
};
|
|
30744
30780
|
}
|
|
30745
|
-
}, ga = /* @__PURE__ */ Le(_de, [["__scopeId", "data-v-
|
|
30781
|
+
}, ga = /* @__PURE__ */ Le(_de, [["__scopeId", "data-v-dd3a4430"]]), wde = { class: "umo-signature-toolbar" }, Cde = ["data-tip"], $de = {
|
|
30746
30782
|
__name: "signature",
|
|
30747
30783
|
setup(t) {
|
|
30748
30784
|
const { editor: e } = le();
|
|
@@ -30827,7 +30863,7 @@ const _de = {
|
|
|
30827
30863
|
}, 8, ["text", "select-options"])
|
|
30828
30864
|
]),
|
|
30829
30865
|
M("div", {
|
|
30830
|
-
class: "signature-container",
|
|
30866
|
+
class: "umo-signature-container",
|
|
30831
30867
|
"data-tip": f.t("tools.signature.tip")
|
|
30832
30868
|
}, [
|
|
30833
30869
|
p(y(Sk), {
|
|
@@ -30849,7 +30885,7 @@ const _de = {
|
|
|
30849
30885
|
}, 8, ["text"]);
|
|
30850
30886
|
};
|
|
30851
30887
|
}
|
|
30852
|
-
}, yv = /* @__PURE__ */ Le($de, [["__scopeId", "data-v-
|
|
30888
|
+
}, yv = /* @__PURE__ */ Le($de, [["__scopeId", "data-v-a3ccc4e7"]]), du = {
|
|
30853
30889
|
__name: "align-right",
|
|
30854
30890
|
setup(t) {
|
|
30855
30891
|
const { editor: e } = le(), n = () => {
|
|
@@ -31005,7 +31041,7 @@ const _de = {
|
|
|
31005
31041
|
return [
|
|
31006
31042
|
p(f, {
|
|
31007
31043
|
name: "background-color",
|
|
31008
|
-
class: "icon-background-color",
|
|
31044
|
+
class: "umo-icon-background-color",
|
|
31009
31045
|
style: Qe({
|
|
31010
31046
|
background: ((m = (h = y(l)) == null ? void 0 : h.getAttributes("highlight")) == null ? void 0 : m.color) || y(i)
|
|
31011
31047
|
})
|
|
@@ -31016,7 +31052,7 @@ const _de = {
|
|
|
31016
31052
|
}, 8, ["text", "popup-visible", "onTogglePopup"]);
|
|
31017
31053
|
};
|
|
31018
31054
|
}
|
|
31019
|
-
}, Kl = /* @__PURE__ */ Le(kde, [["__scopeId", "data-v-
|
|
31055
|
+
}, Kl = /* @__PURE__ */ Le(kde, [["__scopeId", "data-v-b5df965f"]]), Sde = { class: "umo-barcode-container" }, xde = { class: "umo-barcode-toolbar" }, Ode = { class: "umo-barcode-toolbar-more" }, Ede = { class: "umo-barcode-code" }, Ade = ["textContent"], Tde = { class: "umo-barcode-render" }, Pde = ["textContent"], Mde = { class: "umo-barcode-svg narrow-scrollbar" }, Ide = ["textContent"], jde = {
|
|
31020
31056
|
__name: "barcode",
|
|
31021
31057
|
props: {
|
|
31022
31058
|
content: {
|
|
@@ -31364,19 +31400,19 @@ const _de = {
|
|
|
31364
31400
|
}, 8, ["modelValue", "placeholder", "status"]),
|
|
31365
31401
|
y(h) && y(f).content ? (x(), re("div", {
|
|
31366
31402
|
key: 0,
|
|
31367
|
-
class: "
|
|
31403
|
+
class: "umo-barcode-error",
|
|
31368
31404
|
textContent: ie(_.t("tools.barcode.error"))
|
|
31369
31405
|
}, null, 8, Ade)) : se("", !0)
|
|
31370
31406
|
]),
|
|
31371
31407
|
M("div", Tde, [
|
|
31372
31408
|
M("div", {
|
|
31373
|
-
class: "barcode-title",
|
|
31409
|
+
class: "umo-barcode-title",
|
|
31374
31410
|
textContent: ie(_.t("tools.barcode.preview"))
|
|
31375
31411
|
}, null, 8, Pde),
|
|
31376
31412
|
M("div", Mde, [
|
|
31377
31413
|
y(h) ? (x(), re("div", {
|
|
31378
31414
|
key: 0,
|
|
31379
|
-
class: "barcode-empty",
|
|
31415
|
+
class: "umo-barcode-empty",
|
|
31380
31416
|
textContent: ie(_.t("tools.barcode.renderError"))
|
|
31381
31417
|
}, null, 8, Ide)) : se("", !0),
|
|
31382
31418
|
lr((x(), re("svg", {
|
|
@@ -31397,7 +31433,7 @@ const _de = {
|
|
|
31397
31433
|
}, 8, ["ico", "text"]);
|
|
31398
31434
|
};
|
|
31399
31435
|
}
|
|
31400
|
-
}, mu = /* @__PURE__ */ Le(jde, [["__scopeId", "data-v-
|
|
31436
|
+
}, mu = /* @__PURE__ */ Le(jde, [["__scopeId", "data-v-563e909f"]]), Nde = { class: "umo-qrcode-container" }, Dde = { class: "umo-qrcode-toolbar" }, Bde = ["textContent"], Fde = ["textContent"], Lde = { class: "umo-qrcode-code" }, Rde = ["textContent"], zde = { class: "umo-qrcode-render" }, Vde = ["textContent"], Hde = { class: "umo-qrcode-svg narrow-scrollbar" }, Ude = ["textContent"], Kde = ["innerHTML"], Wde = {
|
|
31401
31437
|
__name: "qrcode",
|
|
31402
31438
|
props: {
|
|
31403
31439
|
content: {
|
|
@@ -31575,23 +31611,23 @@ const _de = {
|
|
|
31575
31611
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
31576
31612
|
y(u) && y(l).content !== "" ? (x(), re("div", {
|
|
31577
31613
|
key: 0,
|
|
31578
|
-
class: "
|
|
31614
|
+
class: "umo-barcode-error",
|
|
31579
31615
|
textContent: ie(d.t("tools.qrcode.renderError"))
|
|
31580
31616
|
}, null, 8, Rde)) : se("", !0)
|
|
31581
31617
|
]),
|
|
31582
31618
|
M("div", zde, [
|
|
31583
31619
|
M("div", {
|
|
31584
|
-
class: "qrcode-title",
|
|
31620
|
+
class: "umo-qrcode-title",
|
|
31585
31621
|
textContent: ie(d.t("tools.qrcode.preview"))
|
|
31586
31622
|
}, null, 8, Vde),
|
|
31587
31623
|
M("div", Hde, [
|
|
31588
31624
|
y(s) ? (x(), re("div", {
|
|
31589
31625
|
key: 1,
|
|
31590
|
-
class: "svg",
|
|
31626
|
+
class: "umo-svg-render",
|
|
31591
31627
|
innerHTML: y(s)
|
|
31592
31628
|
}, null, 8, Kde)) : (x(), re("div", {
|
|
31593
31629
|
key: 0,
|
|
31594
|
-
class: "qrcode-empty",
|
|
31630
|
+
class: "umo-qrcode-empty",
|
|
31595
31631
|
textContent: ie(d.t("tools.qrcode.notEmpty"))
|
|
31596
31632
|
}, null, 8, Ude))
|
|
31597
31633
|
])
|
|
@@ -31605,7 +31641,7 @@ const _de = {
|
|
|
31605
31641
|
}, 8, ["ico", "text"]);
|
|
31606
31642
|
};
|
|
31607
31643
|
}
|
|
31608
|
-
}, hu = /* @__PURE__ */ Le(Wde, [["__scopeId", "data-v-
|
|
31644
|
+
}, hu = /* @__PURE__ */ Le(Wde, [["__scopeId", "data-v-a19299f5"]]), Gde = { class: "umo-web-page-container" }, qde = ["textContent"], Yde = {
|
|
31609
31645
|
__name: "web-page",
|
|
31610
31646
|
setup(t) {
|
|
31611
31647
|
const { editor: e } = le();
|
|
@@ -31648,7 +31684,7 @@ const _de = {
|
|
|
31648
31684
|
default: z(() => [
|
|
31649
31685
|
M("div", Gde, [
|
|
31650
31686
|
M("div", {
|
|
31651
|
-
class: "web-page-tip",
|
|
31687
|
+
class: "umo-web-page-tip",
|
|
31652
31688
|
textContent: ie(l.t("insert.web.tip"))
|
|
31653
31689
|
}, null, 8, qde),
|
|
31654
31690
|
p(s, {
|
|
@@ -31669,7 +31705,7 @@ const _de = {
|
|
|
31669
31705
|
}, 8, ["text"]);
|
|
31670
31706
|
};
|
|
31671
31707
|
}
|
|
31672
|
-
}, _v = /* @__PURE__ */ Le(Yde, [["__scopeId", "data-v-
|
|
31708
|
+
}, _v = /* @__PURE__ */ Le(Yde, [["__scopeId", "data-v-c5b503ed"]]), wv = {
|
|
31673
31709
|
__name: "text-box",
|
|
31674
31710
|
setup(t) {
|
|
31675
31711
|
const { editor: e } = le();
|
|
@@ -31774,7 +31810,7 @@ const _de = {
|
|
|
31774
31810
|
}, null, 8, ["text"]);
|
|
31775
31811
|
};
|
|
31776
31812
|
}
|
|
31777
|
-
}, Zde = { class: "dropdown-item-label" }, Xde = { class: "heading" }, Jde = { class: "icon" }, Qde = {
|
|
31813
|
+
}, Zde = { class: "umo-dropdown-item-label" }, Xde = { class: "umo-heading" }, Jde = { class: "icon-heading" }, Qde = {
|
|
31778
31814
|
__name: "node",
|
|
31779
31815
|
setup(t) {
|
|
31780
31816
|
const { container: e, options: n, editor: r, blockMenu: a, assistant: o } = le();
|
|
@@ -31811,9 +31847,9 @@ const _de = {
|
|
|
31811
31847
|
return (d, v) => {
|
|
31812
31848
|
const h = fe, m = Ir, g = Ov, w = xv, _ = Sv, b = kv, $ = $v, C = Cv, S = wv, k = _v, T = hu, O = mu, E = yv, P = bv, G = uu, V = su, K = vr, I = El;
|
|
31813
31849
|
return x(), X(I, {
|
|
31814
|
-
attach: `${y(e)} .page-container`,
|
|
31850
|
+
attach: `${y(e)} .umo-page-container`,
|
|
31815
31851
|
placement: "bottom-right",
|
|
31816
|
-
"overlay-class-name": "block-menu-dropdown",
|
|
31852
|
+
"overlay-class-name": "umo-block-menu-dropdown",
|
|
31817
31853
|
trigger: "click",
|
|
31818
31854
|
"destroy-on-close": !1,
|
|
31819
31855
|
"popup-props": {
|
|
@@ -31824,7 +31860,7 @@ const _de = {
|
|
|
31824
31860
|
}, {
|
|
31825
31861
|
default: z(() => [
|
|
31826
31862
|
p(h, {
|
|
31827
|
-
class: "block-menu-button",
|
|
31863
|
+
class: "umo-block-menu-button",
|
|
31828
31864
|
"menu-active": y(l),
|
|
31829
31865
|
ico: "block-add",
|
|
31830
31866
|
"hide-text": ""
|
|
@@ -31848,7 +31884,7 @@ const _de = {
|
|
|
31848
31884
|
_: 1
|
|
31849
31885
|
})) : se("", !0),
|
|
31850
31886
|
p(m, {
|
|
31851
|
-
class: "block-menu-group-name",
|
|
31887
|
+
class: "umo-block-menu-group-name",
|
|
31852
31888
|
disabled: ""
|
|
31853
31889
|
}, {
|
|
31854
31890
|
default: z(() => [
|
|
@@ -31865,7 +31901,7 @@ const _de = {
|
|
|
31865
31901
|
text: d.t("blockMenu.select"),
|
|
31866
31902
|
tooltip: !1
|
|
31867
31903
|
}, null, 8, ["text"]),
|
|
31868
|
-
p(K, { "overlay-class-name": "block-menu-dropdown" }, {
|
|
31904
|
+
p(K, { "overlay-class-name": "umo-block-menu-dropdown" }, {
|
|
31869
31905
|
default: z(() => [
|
|
31870
31906
|
p(m, null, {
|
|
31871
31907
|
default: z(() => [
|
|
@@ -32043,7 +32079,7 @@ const _de = {
|
|
|
32043
32079
|
text: d.t("blockMenu.template"),
|
|
32044
32080
|
tooltip: !1
|
|
32045
32081
|
}, null, 8, ["text"]),
|
|
32046
|
-
p(K, { "overlay-class-name": "block-menu-dropdown" }, {
|
|
32082
|
+
p(K, { "overlay-class-name": "umo-block-menu-dropdown" }, {
|
|
32047
32083
|
default: z(() => [
|
|
32048
32084
|
(x(!0), re(he, null, Ve(y(n).templates, (N) => (x(), X(m, {
|
|
32049
32085
|
key: N.value,
|
|
@@ -32063,7 +32099,7 @@ const _de = {
|
|
|
32063
32099
|
_: 1
|
|
32064
32100
|
})) : se("", !0),
|
|
32065
32101
|
p(m, {
|
|
32066
|
-
class: "block-menu-group-name",
|
|
32102
|
+
class: "umo-block-menu-group-name",
|
|
32067
32103
|
disabled: ""
|
|
32068
32104
|
}, {
|
|
32069
32105
|
default: z(() => [
|
|
@@ -32092,7 +32128,7 @@ const _de = {
|
|
|
32092
32128
|
text: d.t("base.heading.text"),
|
|
32093
32129
|
tooltip: !1
|
|
32094
32130
|
}, null, 8, ["text"]),
|
|
32095
|
-
p(K, { "overlay-class-name": "block-menu-dropdown" }, {
|
|
32131
|
+
p(K, { "overlay-class-name": "umo-block-menu-dropdown" }, {
|
|
32096
32132
|
default: z(() => [
|
|
32097
32133
|
(x(!0), re(he, null, Ve(i.value, (N) => {
|
|
32098
32134
|
var D;
|
|
@@ -32204,7 +32240,7 @@ const _de = {
|
|
|
32204
32240
|
let a = j(!1), o = j(0);
|
|
32205
32241
|
const l = () => {
|
|
32206
32242
|
const i = document.querySelector(
|
|
32207
|
-
`${e} .page-node-content .node-focused`
|
|
32243
|
+
`${e} .umo-page-node-content .umo-node-focused`
|
|
32208
32244
|
);
|
|
32209
32245
|
if (i === null)
|
|
32210
32246
|
return;
|
|
@@ -32223,7 +32259,7 @@ const _de = {
|
|
|
32223
32259
|
const u = Qde, c = Vce;
|
|
32224
32260
|
return y(a) ? (x(), re("div", {
|
|
32225
32261
|
key: 0,
|
|
32226
|
-
class: "block-menu-hander",
|
|
32262
|
+
class: "umo-block-menu-hander",
|
|
32227
32263
|
style: Qe(`transform: translate(${y(n).margin.left}cm, ${y(o)}px);`)
|
|
32228
32264
|
}, [
|
|
32229
32265
|
p(u),
|
|
@@ -32231,10 +32267,10 @@ const _de = {
|
|
|
32231
32267
|
], 4)) : se("", !0);
|
|
32232
32268
|
};
|
|
32233
32269
|
}
|
|
32234
|
-
}, tfe = { class: "assistant-container" }, nfe = { class: "assistant-input" }, rfe = { class: "ai-icon" }, afe = {
|
|
32270
|
+
}, tfe = { class: "umo-assistant-container" }, nfe = { class: "umo-assistant-input" }, rfe = { class: "ai-icon" }, afe = {
|
|
32235
32271
|
key: 0,
|
|
32236
32272
|
class: "submit"
|
|
32237
|
-
}, ofe = ["textContent"], lfe = { class: "assistant-result" }, ife = { class: "close" }, sfe = { class: "commands-container" }, ufe = ["textContent"], cfe = { class: "commands" }, dfe = {
|
|
32273
|
+
}, ofe = ["textContent"], lfe = { class: "umo-assistant-result" }, ife = { class: "close" }, sfe = { class: "commands-container" }, ufe = ["textContent"], cfe = { class: "commands" }, dfe = {
|
|
32238
32274
|
key: 0,
|
|
32239
32275
|
class: "result-container"
|
|
32240
32276
|
}, ffe = ["textContent"], vfe = ["innerHTML"], pfe = { class: "actions" }, mfe = {
|
|
@@ -32403,7 +32439,7 @@ const _de = {
|
|
|
32403
32439
|
textContent: ie(w.t("assistant.result"))
|
|
32404
32440
|
}, null, 8, ffe),
|
|
32405
32441
|
M("div", {
|
|
32406
|
-
class: Fe(["result editor-container", { error: y(l).error }]),
|
|
32442
|
+
class: Fe(["result umo-editor-container", { error: y(l).error }]),
|
|
32407
32443
|
innerHTML: y(l).content
|
|
32408
32444
|
}, null, 10, vfe),
|
|
32409
32445
|
M("div", pfe, [
|
|
@@ -32504,7 +32540,7 @@ const _de = {
|
|
|
32504
32540
|
]);
|
|
32505
32541
|
};
|
|
32506
32542
|
}
|
|
32507
|
-
}, bfe = /* @__PURE__ */ Le(gfe, [["__scopeId", "data-v-
|
|
32543
|
+
}, bfe = /* @__PURE__ */ Le(gfe, [["__scopeId", "data-v-0851a7de"]]), yfe = ["textContent"], _fe = {
|
|
32508
32544
|
__name: "highlight",
|
|
32509
32545
|
setup(t) {
|
|
32510
32546
|
const { editor: e } = le(), n = [
|
|
@@ -32541,14 +32577,14 @@ const _de = {
|
|
|
32541
32577
|
"menu-type": "dropdown",
|
|
32542
32578
|
"popup-handle": "arrow",
|
|
32543
32579
|
"hide-text": "",
|
|
32544
|
-
"overlay-class-name": "highlight-dropdown",
|
|
32580
|
+
"overlay-class-name": "umo-highlight-dropdown",
|
|
32545
32581
|
onMenuClick: i[1] || (i[1] = (d) => a(y(r)))
|
|
32546
32582
|
}, {
|
|
32547
32583
|
dropmenu: z(() => [
|
|
32548
32584
|
p(c, null, {
|
|
32549
32585
|
default: z(() => [
|
|
32550
32586
|
(x(), re(he, null, Ve(n, (d) => p(u, {
|
|
32551
|
-
class: "text-highlight-menu",
|
|
32587
|
+
class: "umo-text-highlight-menu",
|
|
32552
32588
|
key: d.value,
|
|
32553
32589
|
value: d.value,
|
|
32554
32590
|
style: Qe({ backgroundColor: d.bgcolor, color: d.color }),
|
|
@@ -32562,7 +32598,7 @@ const _de = {
|
|
|
32562
32598
|
_: 2
|
|
32563
32599
|
}, 1032, ["value", "style", "divider", "onClick"])), 64)),
|
|
32564
32600
|
p(u, {
|
|
32565
|
-
class: "text-highlight-menu clear-format-menu",
|
|
32601
|
+
class: "umo-text-highlight-menu umo-clear-format-menu",
|
|
32566
32602
|
onClick: i[0] || (i[0] = (d) => o())
|
|
32567
32603
|
}, {
|
|
32568
32604
|
default: z(() => [
|
|
@@ -32580,7 +32616,7 @@ const _de = {
|
|
|
32580
32616
|
default: z(() => [
|
|
32581
32617
|
p(s, {
|
|
32582
32618
|
name: "highlight",
|
|
32583
|
-
class: "icon-highlight",
|
|
32619
|
+
class: "umo-icon-highlight",
|
|
32584
32620
|
style: Qe({ backgroundColor: y(r).bgcolor, color: y(r).color })
|
|
32585
32621
|
}, null, 8, ["style"])
|
|
32586
32622
|
]),
|
|
@@ -32588,7 +32624,7 @@ const _de = {
|
|
|
32588
32624
|
}, 8, ["text"]);
|
|
32589
32625
|
};
|
|
32590
32626
|
}
|
|
32591
|
-
}, Ev = /* @__PURE__ */ Le(_fe, [["__scopeId", "data-v-
|
|
32627
|
+
}, Ev = /* @__PURE__ */ Le(_fe, [["__scopeId", "data-v-f78bb77d"]]), v2 = {
|
|
32592
32628
|
__name: "align-distributed",
|
|
32593
32629
|
setup(t) {
|
|
32594
32630
|
const { editor: e } = le();
|
|
@@ -32630,7 +32666,7 @@ const _de = {
|
|
|
32630
32666
|
}, null, 8, ["text", "menu-active", "disabled"]);
|
|
32631
32667
|
};
|
|
32632
32668
|
}
|
|
32633
|
-
}, wfe = { class: "text-align-group" }, Cfe = {
|
|
32669
|
+
}, wfe = { class: "umo-text-align-group" }, Cfe = {
|
|
32634
32670
|
__name: "align-dropdown",
|
|
32635
32671
|
setup(t) {
|
|
32636
32672
|
let { popupVisible: e, togglePopup: n } = qt();
|
|
@@ -32660,7 +32696,7 @@ const _de = {
|
|
|
32660
32696
|
}, 8, ["ico", "text", "disabled", "popup-visible", "onTogglePopup"]);
|
|
32661
32697
|
};
|
|
32662
32698
|
}
|
|
32663
|
-
}, m2 = /* @__PURE__ */ Le(Cfe, [["__scopeId", "data-v-
|
|
32699
|
+
}, m2 = /* @__PURE__ */ Le(Cfe, [["__scopeId", "data-v-c7742986"]]), Av = {
|
|
32664
32700
|
__name: "strike",
|
|
32665
32701
|
setup(t) {
|
|
32666
32702
|
const { editor: e } = le();
|
|
@@ -33365,7 +33401,7 @@ const Efe = {
|
|
|
33365
33401
|
default: z(() => [
|
|
33366
33402
|
y(r) ? (x(), X(i, {
|
|
33367
33403
|
key: 1,
|
|
33368
|
-
class: "loading",
|
|
33404
|
+
class: "umo-image-loading",
|
|
33369
33405
|
name: "loading"
|
|
33370
33406
|
})) : (x(), X(i, {
|
|
33371
33407
|
key: 0,
|
|
@@ -33376,7 +33412,7 @@ const Efe = {
|
|
|
33376
33412
|
}, 8, ["text", "disabled"]);
|
|
33377
33413
|
};
|
|
33378
33414
|
}
|
|
33379
|
-
}, Nfe = /* @__PURE__ */ Le(jfe, [["__scopeId", "data-v-
|
|
33415
|
+
}, Nfe = /* @__PURE__ */ Le(jfe, [["__scopeId", "data-v-774b3d4d"]]), Dfe = {
|
|
33380
33416
|
__name: "reset",
|
|
33381
33417
|
setup(t) {
|
|
33382
33418
|
const { editor: e } = le(), n = () => {
|
|
@@ -33475,7 +33511,7 @@ const Efe = {
|
|
|
33475
33511
|
], 64);
|
|
33476
33512
|
};
|
|
33477
33513
|
}
|
|
33478
|
-
}, rn = (t) => (ro("data-v-
|
|
33514
|
+
}, rn = (t) => (ro("data-v-3d17e473"), t = t(), ao(), t), Rfe = /* @__PURE__ */ rn(() => /* @__PURE__ */ M("div", { class: "umo-bubble-menu-divider" }, null, -1)), zfe = /* @__PURE__ */ rn(() => /* @__PURE__ */ M("div", { class: "umo-bubble-menu-divider" }, null, -1)), Vfe = /* @__PURE__ */ rn(() => /* @__PURE__ */ M("div", { class: "umo-bubble-menu-divider" }, null, -1)), Hfe = /* @__PURE__ */ rn(() => /* @__PURE__ */ M("div", { class: "umo-bubble-menu-divider" }, null, -1)), Ufe = /* @__PURE__ */ rn(() => /* @__PURE__ */ M("div", { class: "umo-bubble-menu-divider" }, null, -1)), Kfe = /* @__PURE__ */ rn(() => /* @__PURE__ */ M("div", { class: "umo-bubble-menu-divider" }, null, -1)), Wfe = /* @__PURE__ */ rn(() => /* @__PURE__ */ M("div", { class: "umo-bubble-menu-divider" }, null, -1)), Gfe = /* @__PURE__ */ rn(() => /* @__PURE__ */ M("div", { class: "umo-bubble-menu-divider" }, null, -1)), qfe = /* @__PURE__ */ rn(() => /* @__PURE__ */ M("div", { class: "umo-bubble-menu-divider" }, null, -1)), Yfe = /* @__PURE__ */ rn(() => /* @__PURE__ */ M("div", { class: "umo-bubble-menu-divider" }, null, -1)), Zfe = /* @__PURE__ */ rn(() => /* @__PURE__ */ M("div", { class: "umo-bubble-menu-divider" }, null, -1)), Xfe = /* @__PURE__ */ rn(() => /* @__PURE__ */ M("div", { class: "umo-bubble-menu-divider" }, null, -1)), Jfe = /* @__PURE__ */ rn(() => /* @__PURE__ */ M("div", { class: "umo-bubble-menu-divider" }, null, -1)), Qfe = /* @__PURE__ */ rn(() => /* @__PURE__ */ M("div", { class: "umo-bubble-menu-divider" }, null, -1)), eve = {
|
|
33479
33515
|
__name: "index",
|
|
33480
33516
|
setup(t) {
|
|
33481
33517
|
const { options: e, editor: n } = le();
|
|
@@ -33554,7 +33590,7 @@ const Efe = {
|
|
|
33554
33590
|
], 64));
|
|
33555
33591
|
};
|
|
33556
33592
|
}
|
|
33557
|
-
}, tve = /* @__PURE__ */ Le(eve, [["__scopeId", "data-v-
|
|
33593
|
+
}, tve = /* @__PURE__ */ Le(eve, [["__scopeId", "data-v-3d17e473"]]), { painter: Mc, setPainter: Ic } = le(), nve = Pn.create({
|
|
33558
33594
|
name: "painter",
|
|
33559
33595
|
addCommands() {
|
|
33560
33596
|
return {
|
|
@@ -34122,14 +34158,14 @@ const pve = (t, e, { state: n, dispatch: r }) => {
|
|
|
34122
34158
|
return x(), X(y(ur), {
|
|
34123
34159
|
ref_key: "containerRef",
|
|
34124
34160
|
ref: l,
|
|
34125
|
-
class: "
|
|
34161
|
+
class: "umo-node-view",
|
|
34126
34162
|
id: b.node.attrs.id,
|
|
34127
34163
|
style: Qe(f.value),
|
|
34128
34164
|
onDblclick: $[1] || ($[1] = (S) => r.value = b.node.attrs.src)
|
|
34129
34165
|
}, {
|
|
34130
34166
|
default: z(() => [
|
|
34131
34167
|
M("div", {
|
|
34132
|
-
class: Fe(["node-container hover-shadow select-outline image", {
|
|
34168
|
+
class: Fe(["umo-node-container umo-hover-shadow umo-select-outline umo-node-image", {
|
|
34133
34169
|
"is-loading": b.node.attrs.src && y(a),
|
|
34134
34170
|
"is-error": b.node.attrs.src && y(o)
|
|
34135
34171
|
}])
|
|
@@ -34186,6 +34222,7 @@ const pve = (t, e, { state: n, dispatch: r }) => {
|
|
|
34186
34222
|
style: Qe({
|
|
34187
34223
|
transform: b.node.attrs.flipX || b.node.attrs.flipY ? `rotateX(${b.node.attrs.flipX ? "180" : "0"}deg) rotateY(${b.node.attrs.flipY ? "180" : "0"}deg)` : "none"
|
|
34188
34224
|
}),
|
|
34225
|
+
loading: "lazy",
|
|
34189
34226
|
onLoad: v
|
|
34190
34227
|
}, null, 44, yve),
|
|
34191
34228
|
!b.node.attrs.uploaded && b.node.attrs.file !== null ? (x(), re("div", _ve, Cve)) : se("", !0)
|
|
@@ -34354,7 +34391,7 @@ const pve = (t, e, { state: n, dispatch: r }) => {
|
|
|
34354
34391
|
tooltips: { controls: !0 },
|
|
34355
34392
|
storage: { key: "umo-editor:player" },
|
|
34356
34393
|
disableContextMenu: !1
|
|
34357
|
-
}), Sve = { class: "node-container hover-shadow video" }, xve = ["src"], Ove = {
|
|
34394
|
+
}), Sve = { class: "umo-node-container umo-hover-shadow umo-node-video" }, xve = ["src"], Ove = {
|
|
34358
34395
|
key: 0,
|
|
34359
34396
|
class: "uploading"
|
|
34360
34397
|
}, Eve = {
|
|
@@ -34402,7 +34439,7 @@ const pve = (t, e, { state: n, dispatch: r }) => {
|
|
|
34402
34439
|
}), pa(r, () => a.value = !1), (h, m) => (x(), X(y(ur), {
|
|
34403
34440
|
ref_key: "containerRef",
|
|
34404
34441
|
ref: r,
|
|
34405
|
-
class: "
|
|
34442
|
+
class: "umo-node-view",
|
|
34406
34443
|
id: h.node.attrs.id,
|
|
34407
34444
|
style: Qe(u.value)
|
|
34408
34445
|
}, {
|
|
@@ -34429,6 +34466,7 @@ const pve = (t, e, { state: n, dispatch: r }) => {
|
|
|
34429
34466
|
ref_key: "videoRef",
|
|
34430
34467
|
ref: o,
|
|
34431
34468
|
src: h.node.attrs.src,
|
|
34469
|
+
preload: "metadata",
|
|
34432
34470
|
controls: "",
|
|
34433
34471
|
crossorigin: "",
|
|
34434
34472
|
onCanplay: c
|
|
@@ -34488,7 +34526,7 @@ const pve = (t, e, { state: n, dispatch: r }) => {
|
|
|
34488
34526
|
})
|
|
34489
34527
|
};
|
|
34490
34528
|
}
|
|
34491
|
-
}), Tve = { class: "node-container hover-shadow select-outline audio" }, Pve = ["src"], Mve = {
|
|
34529
|
+
}), Tve = { class: "umo-node-container umo-hover-shadow umo-select-outline umo-node-audio" }, Pve = ["src"], Mve = {
|
|
34492
34530
|
key: 0,
|
|
34493
34531
|
class: "uploading"
|
|
34494
34532
|
}, Ive = {
|
|
@@ -34519,7 +34557,7 @@ const pve = (t, e, { state: n, dispatch: r }) => {
|
|
|
34519
34557
|
}), pa(n, () => o.value = !1), (i, s) => (x(), X(y(ur), {
|
|
34520
34558
|
ref_key: "containerRef",
|
|
34521
34559
|
ref: n,
|
|
34522
|
-
class: "
|
|
34560
|
+
class: "umo-node-view",
|
|
34523
34561
|
id: i.node.attrs.id,
|
|
34524
34562
|
style: Qe(l.value)
|
|
34525
34563
|
}, {
|
|
@@ -34641,7 +34679,7 @@ const pve = (t, e, { state: n, dispatch: r }) => {
|
|
|
34641
34679
|
if (Q1[n].includes(e))
|
|
34642
34680
|
return n;
|
|
34643
34681
|
return "common";
|
|
34644
|
-
}, Bve = { class: "node-container hover-shadow select-outline file" }, Fve = { class: "file-icon" }, Lve = ["src"], Rve = { class: "file-info" }, zve = ["title"], Vve = { class: "file-meta" }, Hve = { class: "file-action" }, Uve = ["title"], Kve = ["href", "download", "title"], Wve = {
|
|
34682
|
+
}, Bve = { class: "umo-node-container hover-shadow umo-select-outline umo-node-file" }, Fve = { class: "umo-file-icon" }, Lve = ["src"], Rve = { class: "umo-file-info" }, zve = ["title"], Vve = { class: "umo-file-meta" }, Hve = { class: "umo-file-action" }, Uve = ["title"], Kve = ["href", "download", "title"], Wve = {
|
|
34645
34683
|
__name: "node-view",
|
|
34646
34684
|
props: sr,
|
|
34647
34685
|
setup(t) {
|
|
@@ -34669,7 +34707,7 @@ const pve = (t, e, { state: n, dispatch: r }) => {
|
|
|
34669
34707
|
return x(), X(y(ur), {
|
|
34670
34708
|
ref_key: "containerRef",
|
|
34671
34709
|
ref: n,
|
|
34672
|
-
class: "
|
|
34710
|
+
class: "umo-node-view",
|
|
34673
34711
|
id: o.node.attrs.id,
|
|
34674
34712
|
style: Qe(a.value)
|
|
34675
34713
|
}, {
|
|
@@ -34678,12 +34716,12 @@ const pve = (t, e, { state: n, dispatch: r }) => {
|
|
|
34678
34716
|
M("div", Fve, [
|
|
34679
34717
|
M("img", {
|
|
34680
34718
|
src: y(r),
|
|
34681
|
-
class: "icon"
|
|
34719
|
+
class: "icon-file"
|
|
34682
34720
|
}, null, 8, Lve)
|
|
34683
34721
|
]),
|
|
34684
34722
|
M("div", Rve, [
|
|
34685
34723
|
M("div", {
|
|
34686
|
-
class: "file-name",
|
|
34724
|
+
class: "umo-file-name",
|
|
34687
34725
|
title: o.node.attrs.name
|
|
34688
34726
|
}, ie(o.node.attrs.name), 9, zve),
|
|
34689
34727
|
M("div", Vve, ie(y(eS)(o.node.attrs.size)), 1)
|
|
@@ -34691,7 +34729,7 @@ const pve = (t, e, { state: n, dispatch: r }) => {
|
|
|
34691
34729
|
M("div", Hve, [
|
|
34692
34730
|
!o.node.attrs.uploaded && o.node.attrs.file !== null ? (x(), re("div", {
|
|
34693
34731
|
key: 0,
|
|
34694
|
-
class: "action-item",
|
|
34732
|
+
class: "umo-action-item",
|
|
34695
34733
|
title: o.t("file.uploading")
|
|
34696
34734
|
}, [
|
|
34697
34735
|
p(i, {
|
|
@@ -34703,7 +34741,7 @@ const pve = (t, e, { state: n, dispatch: r }) => {
|
|
|
34703
34741
|
href: o.node.attrs.url,
|
|
34704
34742
|
download: o.node.attrs.name,
|
|
34705
34743
|
target: "_blank",
|
|
34706
|
-
class: "action-item",
|
|
34744
|
+
class: "umo-action-item",
|
|
34707
34745
|
title: o.t("file.download")
|
|
34708
34746
|
}, [
|
|
34709
34747
|
p(i, { name: "download" })
|
|
@@ -38027,19 +38065,19 @@ const Dpe = ["id"], Bpe = ["textContent"], Fpe = {
|
|
|
38027
38065
|
a.value.setOptions(t.node.attrs);
|
|
38028
38066
|
}
|
|
38029
38067
|
), (l, i) => (x(), X(y(ur), {
|
|
38030
|
-
class: "
|
|
38068
|
+
class: "umo-node-view",
|
|
38031
38069
|
style: Qe(o.value)
|
|
38032
38070
|
}, {
|
|
38033
38071
|
default: z(() => [
|
|
38034
38072
|
M("div", {
|
|
38035
|
-
class: Fe(["node-container hover-shadow select-outline code-block", l.node.attrs.theme]),
|
|
38073
|
+
class: Fe(["umo-node-container umo-hover-shadow umo-select-outline umo-node-code-block", l.node.attrs.theme]),
|
|
38036
38074
|
id: l.node.attrs.id,
|
|
38037
38075
|
ref_key: "containerRef",
|
|
38038
38076
|
ref: n
|
|
38039
38077
|
}, [
|
|
38040
38078
|
y(e).document.readOnly ? se("", !0) : (x(), re("div", {
|
|
38041
38079
|
key: 0,
|
|
38042
|
-
class: "show-toolbar",
|
|
38080
|
+
class: "umo-show-code-block-toolbar",
|
|
38043
38081
|
textContent: ie(l.t("node.codeBlock.menu"))
|
|
38044
38082
|
}, null, 8, Bpe))
|
|
38045
38083
|
], 10, Dpe)
|
|
@@ -38095,7 +38133,7 @@ const Dpe = ["id"], Bpe = ["textContent"], Fpe = {
|
|
|
38095
38133
|
"Mod-Alt-c": () => this.editor.commands.setCodeBlock()
|
|
38096
38134
|
};
|
|
38097
38135
|
}
|
|
38098
|
-
}), Rpe = { class: "node-container text-box" }, zpe = {
|
|
38136
|
+
}), Rpe = { class: "umo-node-container umo-node-text-box" }, zpe = {
|
|
38099
38137
|
__name: "node-view",
|
|
38100
38138
|
props: sr,
|
|
38101
38139
|
setup(t) {
|
|
@@ -38111,7 +38149,7 @@ const Dpe = ["id"], Bpe = ["textContent"], Fpe = {
|
|
|
38111
38149
|
return pa(n, () => r.value = !1), (s, u) => (x(), X(y(ur), {
|
|
38112
38150
|
ref_key: "containerRef",
|
|
38113
38151
|
ref: n,
|
|
38114
|
-
class: "
|
|
38152
|
+
class: "umo-node-view",
|
|
38115
38153
|
id: s.node.attrs.id,
|
|
38116
38154
|
onDblclickCapture: u[2] || (u[2] = (c) => a.value = !0)
|
|
38117
38155
|
}, {
|
|
@@ -38138,7 +38176,7 @@ const Dpe = ["id"], Bpe = ["textContent"], Fpe = {
|
|
|
38138
38176
|
onClick: u[1] || (u[1] = (c) => Ie(r) ? r.value = !0 : r = !0)
|
|
38139
38177
|
}, {
|
|
38140
38178
|
default: z(() => [
|
|
38141
|
-
p(y(G0), { class: "content" })
|
|
38179
|
+
p(y(G0), { class: "umo-node-text-box-content" })
|
|
38142
38180
|
]),
|
|
38143
38181
|
_: 1
|
|
38144
38182
|
}, 8, ["selected", "disabled", "draggable", "angle", "width", "height", "left", "top", "title"])
|
|
@@ -38200,7 +38238,7 @@ const Dpe = ["id"], Bpe = ["textContent"], Fpe = {
|
|
|
38200
38238
|
addOptions() {
|
|
38201
38239
|
return {
|
|
38202
38240
|
HTMLAttributes: {
|
|
38203
|
-
class: "page-divider",
|
|
38241
|
+
class: "umo-page-divider",
|
|
38204
38242
|
"data-line-number": !1
|
|
38205
38243
|
}
|
|
38206
38244
|
};
|
|
@@ -38266,7 +38304,7 @@ const Dpe = ["id"], Bpe = ["textContent"], Fpe = {
|
|
|
38266
38304
|
})
|
|
38267
38305
|
];
|
|
38268
38306
|
}
|
|
38269
|
-
}), Upe = { class: "node-container hover-shadow select-outline iframe" }, Kpe = ["src"], Wpe = {
|
|
38307
|
+
}), Upe = { class: "umo-node-container umo-hover-shadow umo-select-outline umo-node-iframe" }, Kpe = ["src"], Wpe = {
|
|
38270
38308
|
__name: "node-view",
|
|
38271
38309
|
props: sr,
|
|
38272
38310
|
setup(t) {
|
|
@@ -38294,7 +38332,7 @@ const Dpe = ["id"], Bpe = ["textContent"], Fpe = {
|
|
|
38294
38332
|
return pa(n, () => r.value = !1), (u, c) => (x(), X(y(ur), {
|
|
38295
38333
|
ref_key: "containerRef",
|
|
38296
38334
|
ref: n,
|
|
38297
|
-
class: "
|
|
38335
|
+
class: "umo-node-view",
|
|
38298
38336
|
id: u.node.attrs.id,
|
|
38299
38337
|
style: Qe(o.value)
|
|
38300
38338
|
}, {
|
|
@@ -38443,9 +38481,9 @@ const Dpe = ["id"], Bpe = ["textContent"], Fpe = {
|
|
|
38443
38481
|
}
|
|
38444
38482
|
};
|
|
38445
38483
|
}
|
|
38446
|
-
}), Qpe = { class: "node-container hover-shadow select-outline toc" }, eme = ["textContent"], tme = {
|
|
38484
|
+
}), Qpe = { class: "umo-node-container umo-hover-shadow umo-select-outline umo-node-toc" }, eme = ["textContent"], tme = {
|
|
38447
38485
|
key: 0,
|
|
38448
|
-
class: "toc-body"
|
|
38486
|
+
class: "umo-node-toc-body"
|
|
38449
38487
|
}, nme = ["onClick"], rme = ["textContent"], ame = {
|
|
38450
38488
|
__name: "node-view",
|
|
38451
38489
|
props: sr,
|
|
@@ -38463,19 +38501,19 @@ const Dpe = ["id"], Bpe = ["textContent"], Fpe = {
|
|
|
38463
38501
|
s.setSelection(new bn(s.doc.resolve(i))), e.value.view.dispatch(s), e.value.view.focus();
|
|
38464
38502
|
};
|
|
38465
38503
|
return (o, l) => (x(), X(y(ur), {
|
|
38466
|
-
class: "
|
|
38504
|
+
class: "umo-node-view",
|
|
38467
38505
|
id: o.node.attrs.id,
|
|
38468
38506
|
style: Qe(r.value)
|
|
38469
38507
|
}, {
|
|
38470
38508
|
default: z(() => [
|
|
38471
38509
|
M("div", Qpe, [
|
|
38472
38510
|
M("p", {
|
|
38473
|
-
class: "toc-head",
|
|
38511
|
+
class: "umo-node-toc-head",
|
|
38474
38512
|
textContent: ie(o.t("toc.title"))
|
|
38475
38513
|
}, null, 8, eme),
|
|
38476
38514
|
y(n) && y(n).length > 0 ? (x(), re("ul", tme, [
|
|
38477
38515
|
(x(!0), re(he, null, Ve(y(n), (i) => (x(), re("li", {
|
|
38478
|
-
class: Fe(["toc-item", `level-${i.level}`]),
|
|
38516
|
+
class: Fe(["umo-node-toc-item", `level-${i.level}`]),
|
|
38479
38517
|
key: i.id
|
|
38480
38518
|
}, [
|
|
38481
38519
|
M("a", {
|
|
@@ -38484,7 +38522,7 @@ const Dpe = ["id"], Bpe = ["textContent"], Fpe = {
|
|
|
38484
38522
|
], 2))), 128))
|
|
38485
38523
|
])) : (x(), re("div", {
|
|
38486
38524
|
key: 1,
|
|
38487
|
-
class: "toc-empty",
|
|
38525
|
+
class: "umo-node-toc-empty",
|
|
38488
38526
|
textContent: ie(o.t("toc.empty"))
|
|
38489
38527
|
}, null, 8, rme))
|
|
38490
38528
|
])
|
|
@@ -38716,11 +38754,15 @@ class hme {
|
|
|
38716
38754
|
//核心执行逻辑
|
|
38717
38755
|
run() {
|
|
38718
38756
|
const { selection: e, doc: n } = this.state, { inserting: r, deleting: a, runState: o, initSplit: l, splitPage: i } = this.pageState;
|
|
38719
|
-
return o ? i ? this.forceSplit() : l ? this.initComputed() : !r && a && e.$head.node(1) === n.lastChild ? this.tr : ((r || a) && (performance.now(), this.computed(), this.checkNodeAndFix()), this.tr) : null;
|
|
38757
|
+
return o ? (this.prepare(), i ? this.forceSplit() : l ? this.initComputed() : !r && a && e.$head.node(1) === n.lastChild ? this.tr : ((r || a) && (performance.now(), this.computed(), this.checkNodeAndFix()), this.tr)) : null;
|
|
38758
|
+
}
|
|
38759
|
+
prepare() {
|
|
38760
|
+
const e = this.tr, { selection: n } = this.state;
|
|
38761
|
+
this.startIndex = e.doc.content.findIndex(n.head).index;
|
|
38720
38762
|
}
|
|
38721
38763
|
computed() {
|
|
38722
|
-
const e = this.tr,
|
|
38723
|
-
return e.doc.childCount > 1 && e.doc.content.childCount !=
|
|
38764
|
+
const e = this.tr, n = this.startIndex + 1;
|
|
38765
|
+
return e.doc.childCount > 1 && e.doc.content.childCount != n && this.mergeDocument(), this.splitDocument(), this.tr;
|
|
38724
38766
|
}
|
|
38725
38767
|
/**
|
|
38726
38768
|
* 文档开始加载的时候进行初始化分页
|
|
@@ -38780,17 +38822,16 @@ class hme {
|
|
|
38780
38822
|
* 如果第一个标签不是扩展类型 则深度为1
|
|
38781
38823
|
*/
|
|
38782
38824
|
mergeDocument() {
|
|
38783
|
-
const e = this.tr
|
|
38784
|
-
|
|
38785
|
-
let r =
|
|
38786
|
-
|
|
38787
|
-
|
|
38788
|
-
|
|
38789
|
-
r = o.attrs.id;
|
|
38825
|
+
const e = this.tr;
|
|
38826
|
+
let n = null;
|
|
38827
|
+
for (let r = this.startIndex + 1; r < e.doc.content.childCount; r++) {
|
|
38828
|
+
const a = e.doc.content.child(r);
|
|
38829
|
+
if (a.attrs.force) {
|
|
38830
|
+
n = a.attrs.id;
|
|
38790
38831
|
break;
|
|
38791
38832
|
}
|
|
38792
38833
|
}
|
|
38793
|
-
this.forcePageId =
|
|
38834
|
+
this.forcePageId = n, this.mergeDefaultDocument(this.startIndex + 1);
|
|
38794
38835
|
}
|
|
38795
38836
|
forceSplit() {
|
|
38796
38837
|
const { selection: e, schema: n } = this.state, { $anchor: r } = e, a = { pos: r.pos, depth: r.depth };
|
|
@@ -38910,7 +38951,7 @@ function gme(t) {
|
|
|
38910
38951
|
}
|
|
38911
38952
|
var is, pl, ss;
|
|
38912
38953
|
class bme {
|
|
38913
|
-
constructor(e, n = ".page-node-content") {
|
|
38954
|
+
constructor(e, n = ".umo-page-node-content") {
|
|
38914
38955
|
Zn(this, is);
|
|
38915
38956
|
Zn(this, pl);
|
|
38916
38957
|
Zn(this, ss, [q2, Y2, Z2, X2, J2]);
|
|
@@ -39140,24 +39181,24 @@ const wme = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edi
|
|
|
39140
39181
|
e.ensureMarks(b);
|
|
39141
39182
|
}
|
|
39142
39183
|
return !0;
|
|
39143
|
-
}, $u = (t) => (ro("data-v-
|
|
39144
|
-
class: "page-node-header",
|
|
39184
|
+
}, $u = (t) => (ro("data-v-8c39b1dd"), t = t(), ao(), t), $me = ["title"], kme = {
|
|
39185
|
+
class: "umo-page-node-header",
|
|
39145
39186
|
contenteditable: "false"
|
|
39146
39187
|
}, Sme = /* @__PURE__ */ $u(() => /* @__PURE__ */ M("div", {
|
|
39147
|
-
class: "page-corner corner-tl",
|
|
39148
|
-
style: { width: "var(--page-margin-left)" }
|
|
39149
|
-
}, null, -1)), xme = { class: "page-node-header-content" }, Ome = /* @__PURE__ */ $u(() => /* @__PURE__ */ M("div", {
|
|
39150
|
-
class: "page-corner corner-tr",
|
|
39151
|
-
style: { width: "var(--page-margin-right)" }
|
|
39188
|
+
class: "umo-page-corner corner-tl",
|
|
39189
|
+
style: { width: "var(--umo-page-margin-left)" }
|
|
39190
|
+
}, null, -1)), xme = { class: "umo-page-node-header-content" }, Ome = /* @__PURE__ */ $u(() => /* @__PURE__ */ M("div", {
|
|
39191
|
+
class: "umo-page-corner corner-tr",
|
|
39192
|
+
style: { width: "var(--umo-page-margin-right)" }
|
|
39152
39193
|
}, null, -1)), Eme = {
|
|
39153
|
-
class: "page-node-footer",
|
|
39194
|
+
class: "umo-page-node-footer",
|
|
39154
39195
|
contenteditable: "false"
|
|
39155
39196
|
}, Ame = /* @__PURE__ */ $u(() => /* @__PURE__ */ M("div", {
|
|
39156
|
-
class: "page-corner corner-bl",
|
|
39157
|
-
style: { width: "var(--page-margin-left)" }
|
|
39158
|
-
}, null, -1)), Tme = { class: "page-node-footer-content" }, Pme = /* @__PURE__ */ $u(() => /* @__PURE__ */ M("div", {
|
|
39159
|
-
class: "page-corner corner-br",
|
|
39160
|
-
style: { width: "var(--page-margin-right)" }
|
|
39197
|
+
class: "umo-page-corner corner-bl",
|
|
39198
|
+
style: { width: "var(--umo-page-margin-left)" }
|
|
39199
|
+
}, null, -1)), Tme = { class: "umo-page-node-footer-content" }, Pme = /* @__PURE__ */ $u(() => /* @__PURE__ */ M("div", {
|
|
39200
|
+
class: "umo-page-corner corner-br",
|
|
39201
|
+
style: { width: "var(--umo-page-margin-right)" }
|
|
39161
39202
|
}, null, -1)), Mme = {
|
|
39162
39203
|
__name: "node-view",
|
|
39163
39204
|
props: sr,
|
|
@@ -39183,27 +39224,27 @@ const wme = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edi
|
|
|
39183
39224
|
return x(), X(y(ur), {
|
|
39184
39225
|
ref_key: "containerRef",
|
|
39185
39226
|
ref: r,
|
|
39186
|
-
class: Fe(["page-node-view", { "no-shadow": y(n) }]),
|
|
39227
|
+
class: Fe(["umo-page-node-view", { "no-shadow": y(n) }]),
|
|
39187
39228
|
id: l.node.attrs.id,
|
|
39188
39229
|
style: Qe({
|
|
39189
|
-
"--page-background": y(e).background,
|
|
39190
|
-
"--page-margin-top": y(e).margin.top + "cm",
|
|
39191
|
-
"--page-margin-bottom": y(e).margin.bottom + "cm",
|
|
39192
|
-
"--page-margin-left": y(e).margin.left + "cm",
|
|
39193
|
-
"--page-margin-right": y(e).margin.right + "cm",
|
|
39194
|
-
"--page-width": a.value.width + "cm",
|
|
39195
|
-
"--page-height": a.value.height + "cm"
|
|
39230
|
+
"--umo-page-background": y(e).background,
|
|
39231
|
+
"--umo-page-margin-top": y(e).margin.top + "cm",
|
|
39232
|
+
"--umo-page-margin-bottom": y(e).margin.bottom + "cm",
|
|
39233
|
+
"--umo-page-margin-left": y(e).margin.left + "cm",
|
|
39234
|
+
"--umo-page-margin-right": y(e).margin.right + "cm",
|
|
39235
|
+
"--umo-page-width": a.value.width + "cm",
|
|
39236
|
+
"--umo-page-height": a.value.height + "cm"
|
|
39196
39237
|
})
|
|
39197
39238
|
}, {
|
|
39198
39239
|
default: z(() => [
|
|
39199
39240
|
l.node.attrs.pageNumber > 1 ? (x(), re("div", {
|
|
39200
39241
|
key: 0,
|
|
39201
|
-
class: "page-node-view-handler",
|
|
39242
|
+
class: "umo-page-node-view-handler",
|
|
39202
39243
|
title: l.t("pagination.toggle"),
|
|
39203
39244
|
onDblclick: i[0] || (i[0] = (u) => y(e).pagination = !y(e).pagination)
|
|
39204
39245
|
}, null, 40, $me)) : se("", !0),
|
|
39205
39246
|
p(s, Ee({
|
|
39206
|
-
class: "page-watermark",
|
|
39247
|
+
class: "umo-page-watermark",
|
|
39207
39248
|
alpha: y(e).watermark.alpha
|
|
39208
39249
|
}, o.value, {
|
|
39209
39250
|
"watermark-content": y(e).watermark
|
|
@@ -39221,7 +39262,7 @@ const wme = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edi
|
|
|
39221
39262
|
Ome
|
|
39222
39263
|
]),
|
|
39223
39264
|
p(y(G0), {
|
|
39224
|
-
class: "page-node-content",
|
|
39265
|
+
class: "umo-page-node-content",
|
|
39225
39266
|
style: Qe({
|
|
39226
39267
|
height: a.value.height - y(e).margin.top - y(e).margin.bottom + "cm"
|
|
39227
39268
|
})
|
|
@@ -39245,7 +39286,7 @@ const wme = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edi
|
|
|
39245
39286
|
}, 8, ["id", "class", "style"]);
|
|
39246
39287
|
};
|
|
39247
39288
|
}
|
|
39248
|
-
}, Ime = /* @__PURE__ */ Le(Mme, [["__scopeId", "data-v-
|
|
39289
|
+
}, Ime = /* @__PURE__ */ Le(Mme, [["__scopeId", "data-v-8c39b1dd"]]), I0 = [
|
|
39249
39290
|
U2,
|
|
39250
39291
|
ls,
|
|
39251
39292
|
Jv,
|
|
@@ -39298,10 +39339,26 @@ const wme = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edi
|
|
|
39298
39339
|
default: !1
|
|
39299
39340
|
},
|
|
39300
39341
|
slots: {
|
|
39301
|
-
default: this.options.slots
|
|
39302
|
-
|
|
39303
|
-
|
|
39304
|
-
|
|
39342
|
+
default: this.options.slots,
|
|
39343
|
+
renderHTML: () => ({})
|
|
39344
|
+
}
|
|
39345
|
+
};
|
|
39346
|
+
},
|
|
39347
|
+
// addGlobalAttributes() {
|
|
39348
|
+
// return [
|
|
39349
|
+
// {
|
|
39350
|
+
// attributes: {
|
|
39351
|
+
// slots: {
|
|
39352
|
+
// default: this.options.slots,
|
|
39353
|
+
// parseHTML: (element) => '',
|
|
39354
|
+
// renderHTML: (attributes) => {
|
|
39355
|
+
// return { x: 1 }
|
|
39356
|
+
// },
|
|
39357
|
+
// },
|
|
39358
|
+
// },
|
|
39359
|
+
// },
|
|
39360
|
+
// ]
|
|
39361
|
+
// },
|
|
39305
39362
|
parseHTML() {
|
|
39306
39363
|
return [
|
|
39307
39364
|
{
|
|
@@ -39726,6 +39783,7 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39726
39783
|
}),
|
|
39727
39784
|
iS.extend({ content: "page+" }),
|
|
39728
39785
|
jme.configure({
|
|
39786
|
+
types: e.value.page.nodesComputedOption.types || [],
|
|
39729
39787
|
slots: W0()
|
|
39730
39788
|
}),
|
|
39731
39789
|
/* Placeholder.configure({
|
|
@@ -39733,7 +39791,7 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39733
39791
|
placeholder: l(options.value.document.placeholder),
|
|
39734
39792
|
}),*/
|
|
39735
39793
|
Ik.configure({
|
|
39736
|
-
className: "node-focused",
|
|
39794
|
+
className: "umo-node-focused",
|
|
39737
39795
|
mode: "all"
|
|
39738
39796
|
}),
|
|
39739
39797
|
nve,
|
|
@@ -39758,7 +39816,7 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39758
39816
|
qk.configure({ nested: !0 }),
|
|
39759
39817
|
uve.configure({
|
|
39760
39818
|
HTMLAttributes: {
|
|
39761
|
-
class: "task-list"
|
|
39819
|
+
class: "umo-task-list"
|
|
39762
39820
|
}
|
|
39763
39821
|
}),
|
|
39764
39822
|
cve.configure({
|
|
@@ -39766,7 +39824,9 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39766
39824
|
defaultLineHeight: v.value
|
|
39767
39825
|
}),
|
|
39768
39826
|
dve,
|
|
39769
|
-
bve
|
|
39827
|
+
bve.configure({
|
|
39828
|
+
searchResultClass: "umo-search-result"
|
|
39829
|
+
}),
|
|
39770
39830
|
Zk,
|
|
39771
39831
|
J1,
|
|
39772
39832
|
Ave,
|
|
@@ -39793,7 +39853,7 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39793
39853
|
onUpdate: (w) => {
|
|
39794
39854
|
s.value = w;
|
|
39795
39855
|
},
|
|
39796
|
-
scrollParent: () => document.querySelector(`${n} .zoomable-container`),
|
|
39856
|
+
scrollParent: () => document.querySelector(`${n} .umo-zoomable-container`),
|
|
39797
39857
|
getId: () => ea(6)
|
|
39798
39858
|
}),
|
|
39799
39859
|
sp.configure(e.value.document.typographyRules),
|
|
@@ -39825,12 +39885,17 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39825
39885
|
const _ = document.createElement("link");
|
|
39826
39886
|
_.href = `${e.value.cdnUrl}/libs/katex/katex.min.css`, _.rel = "stylesheet", _.id = "katex-style", document.querySelector("head").append(_);
|
|
39827
39887
|
}
|
|
39828
|
-
}), window.
|
|
39829
|
-
h.registerPlugin(
|
|
39888
|
+
}), window.addEventListener("load", function() {
|
|
39889
|
+
h.registerPlugin(
|
|
39890
|
+
yme(
|
|
39891
|
+
r,
|
|
39892
|
+
e.value.page.nodesComputedOption.nodesComputed || {}
|
|
39893
|
+
)
|
|
39894
|
+
), setTimeout(() => {
|
|
39830
39895
|
const w = h.state.tr.setMeta("initSplit", !0);
|
|
39831
39896
|
h.view.dispatch(w);
|
|
39832
39897
|
}, 500);
|
|
39833
|
-
};
|
|
39898
|
+
});
|
|
39834
39899
|
let m = j(null);
|
|
39835
39900
|
const g = j({
|
|
39836
39901
|
appendTo: "parent",
|
|
@@ -39858,16 +39923,16 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39858
39923
|
const b = tve, $ = bfe, C = efe;
|
|
39859
39924
|
return x(), re(he, null, [
|
|
39860
39925
|
p(y(Tk), {
|
|
39861
|
-
|
|
39862
|
-
class: Fe(["editor-container", {
|
|
39926
|
+
class: Fe(["umo-editor-container", {
|
|
39863
39927
|
"show-line-number": y(a).showLineNumber,
|
|
39864
39928
|
"format-painter": y(o).enabled,
|
|
39865
39929
|
"disable-page-break": !y(a).pagination
|
|
39866
39930
|
}]),
|
|
39931
|
+
editor: y(r),
|
|
39867
39932
|
style: Qe({ lineHeight: v.value }),
|
|
39868
|
-
|
|
39869
|
-
}, null, 8, ["
|
|
39870
|
-
y(r) && !y(c) ? lr((x(), X(y(Pk), {
|
|
39933
|
+
spellcheck: y(e).document.enableSpellcheck && y(f).spellcheck
|
|
39934
|
+
}, null, 8, ["class", "editor", "style", "spellcheck"]),
|
|
39935
|
+
y(r) && !y(a).preview.enabled && !y(c) ? lr((x(), X(y(Pk), {
|
|
39871
39936
|
key: 0,
|
|
39872
39937
|
class: Fe(["umo-editor-bubble-menu", { assistant: y(i) }]),
|
|
39873
39938
|
editor: y(r),
|
|
@@ -39890,7 +39955,7 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39890
39955
|
], 64);
|
|
39891
39956
|
};
|
|
39892
39957
|
}
|
|
39893
|
-
}, Wme = { class: "toc-container" }, Gme = { class: "toc-title" }, qme = { class: "toc-content umo-scrollbar" }, Yme = ["textContent"], Zme = ["data-heading", "onClick"], Xme = { class: "toc-text" }, Jme = {
|
|
39958
|
+
}, Wme = { class: "umo-toc-container" }, Gme = { class: "umo-toc-title" }, qme = { class: "umo-toc-content umo-scrollbar" }, Yme = ["textContent"], Zme = ["data-heading", "onClick"], Xme = { class: "umo-toc-text" }, Jme = {
|
|
39894
39959
|
__name: "toc",
|
|
39895
39960
|
setup(t) {
|
|
39896
39961
|
const { container: e, editor: n, tableOfContents: r } = le(), a = (o) => {
|
|
@@ -39904,7 +39969,7 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39904
39969
|
`[data-toc-id="${o.id}"`
|
|
39905
39970
|
);
|
|
39906
39971
|
document.querySelector(
|
|
39907
|
-
`${e} .zoomable-container`
|
|
39972
|
+
`${e} .umo-zoomable-container`
|
|
39908
39973
|
).scrollTo({
|
|
39909
39974
|
top: i.offsetTop + 10
|
|
39910
39975
|
});
|
|
@@ -39930,10 +39995,10 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39930
39995
|
M("div", qme, [
|
|
39931
39996
|
y(r).length === 0 ? (x(), re("div", {
|
|
39932
39997
|
key: 0,
|
|
39933
|
-
class: "toc-empty",
|
|
39998
|
+
class: "umo-toc-empty",
|
|
39934
39999
|
textContent: ie(o.t("toc.empty"))
|
|
39935
40000
|
}, null, 8, Yme)) : (x(!0), re(he, { key: 1 }, Ve(y(r), (s, u) => (x(), re("div", {
|
|
39936
|
-
class: Fe(["toc-item", {
|
|
40001
|
+
class: Fe(["umo-toc-item", {
|
|
39937
40002
|
active: s.isActive,
|
|
39938
40003
|
["level-" + s.level]: !0
|
|
39939
40004
|
}]),
|
|
@@ -39947,7 +40012,7 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39947
40012
|
]);
|
|
39948
40013
|
};
|
|
39949
40014
|
}
|
|
39950
|
-
}, Qme = /* @__PURE__ */ Le(Jme, [["__scopeId", "data-v-
|
|
40015
|
+
}, Qme = /* @__PURE__ */ Le(Jme, [["__scopeId", "data-v-8b99114d"]]), ehe = { class: "umo-page-container" }, the = { class: "umo-zoomable-container umo-scrollbar" }, nhe = {
|
|
39951
40016
|
__name: "page",
|
|
39952
40017
|
setup(t) {
|
|
39953
40018
|
const e = le(), { container: n, page: r, imagePreview: a } = le(), o = A(() => {
|
|
@@ -39959,9 +40024,9 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39959
40024
|
}), l = A(() => `calc(${o.value.width + "cm"} * ${r.value.zoomLevel / 100})`), i = A(() => `calc(${o.value.height + "cm"} * ${r.value.zoomLevel / 100})`);
|
|
39960
40025
|
let s = j();
|
|
39961
40026
|
const u = () => {
|
|
39962
|
-
const v = document.querySelector(`${n} .page-content`);
|
|
40027
|
+
const v = document.querySelector(`${n} .umo-page-content`);
|
|
39963
40028
|
if (!v) {
|
|
39964
|
-
console.warn("The element <.page-content> does not exist.");
|
|
40029
|
+
console.warn("The element <.umo-page-content> does not exist.");
|
|
39965
40030
|
return;
|
|
39966
40031
|
}
|
|
39967
40032
|
s.value = v.clientHeight * r.value.zoomLevel / 100 + "px";
|
|
@@ -39988,7 +40053,7 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39988
40053
|
return ce(
|
|
39989
40054
|
() => a.value,
|
|
39990
40055
|
(v) => {
|
|
39991
|
-
v ? (document.querySelectorAll(`${n} .page-content img:not(.icon)`).forEach((h) => {
|
|
40056
|
+
v ? (document.querySelectorAll(`${n} .umo-page-content img:not(.icon)`).forEach((h) => {
|
|
39992
40057
|
const m = h.getAttribute("src");
|
|
39993
40058
|
m && c.value.push(m);
|
|
39994
40059
|
}), f.value = images.findIndex((h) => h === v), d.value = !0) : (c.value = [], f.value = 0, d.value = !1);
|
|
@@ -40002,7 +40067,7 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
40002
40067
|
})) : se("", !0),
|
|
40003
40068
|
M("div", the, [
|
|
40004
40069
|
M("div", {
|
|
40005
|
-
class: "zoomable-content",
|
|
40070
|
+
class: "umo-zoomable-content",
|
|
40006
40071
|
style: Qe({
|
|
40007
40072
|
width: l.value,
|
|
40008
40073
|
height: y(s),
|
|
@@ -40010,7 +40075,7 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
40010
40075
|
})
|
|
40011
40076
|
}, [
|
|
40012
40077
|
M("div", {
|
|
40013
|
-
class: "page-content",
|
|
40078
|
+
class: "umo-page-content",
|
|
40014
40079
|
style: Qe({
|
|
40015
40080
|
width: o.value.width + "cm",
|
|
40016
40081
|
transform: `scale(${y(r).zoomLevel / 100})`
|
|
@@ -40039,7 +40104,7 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
40039
40104
|
onClose: h[2] || (h[2] = (C) => a.value = !1)
|
|
40040
40105
|
}, null, 8, ["modelValue", "images", "index"]),
|
|
40041
40106
|
p(_, {
|
|
40042
|
-
container: `${y(n)} .zoomable-container`,
|
|
40107
|
+
container: `${y(n)} .umo-zoomable-container`,
|
|
40043
40108
|
"visible-height": 800,
|
|
40044
40109
|
size: "small",
|
|
40045
40110
|
offset: ["25px", "30px"]
|
|
@@ -40049,20 +40114,20 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
40049
40114
|
]);
|
|
40050
40115
|
};
|
|
40051
40116
|
}
|
|
40052
|
-
}, rhe = /* @__PURE__ */ Le(nhe, [["__scopeId", "data-v-
|
|
40117
|
+
}, rhe = /* @__PURE__ */ Le(nhe, [["__scopeId", "data-v-f5b3b7d5"]]), ahe = {}, ohe = { class: "umo-source-container" }, lhe = { class: "umo-source-title" };
|
|
40053
40118
|
function ihe(t, e) {
|
|
40054
40119
|
const n = at;
|
|
40055
40120
|
return x(), re("div", ohe, [
|
|
40056
40121
|
M("h3", lhe, [
|
|
40057
40122
|
p(n, {
|
|
40058
40123
|
name: "code",
|
|
40059
|
-
class: "icon"
|
|
40124
|
+
class: "icon-source"
|
|
40060
40125
|
}),
|
|
40061
40126
|
We(" " + ie(t.t("toolbar.source")), 1)
|
|
40062
40127
|
])
|
|
40063
40128
|
]);
|
|
40064
40129
|
}
|
|
40065
|
-
const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-
|
|
40130
|
+
const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-4818ae6e"]]), uhe = {
|
|
40066
40131
|
__name: "scrollable",
|
|
40067
40132
|
setup(t, { expose: e }) {
|
|
40068
40133
|
const n = j(null), r = j(null);
|
|
@@ -40084,11 +40149,11 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40084
40149
|
return x(), re("div", {
|
|
40085
40150
|
ref_key: "wraperRef",
|
|
40086
40151
|
ref: n,
|
|
40087
|
-
class: "scrollable-container"
|
|
40152
|
+
class: "umo-scrollable-container"
|
|
40088
40153
|
}, [
|
|
40089
40154
|
y(a) ? se("", !0) : (x(), re("div", {
|
|
40090
40155
|
key: 0,
|
|
40091
|
-
class: "scrollable-control left",
|
|
40156
|
+
class: "umo-scrollable-control scrollable-left",
|
|
40092
40157
|
onClick: i
|
|
40093
40158
|
}, [
|
|
40094
40159
|
p(d, { name: "arrow-down" })
|
|
@@ -40096,13 +40161,13 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40096
40161
|
M("div", {
|
|
40097
40162
|
ref_key: "contentRef",
|
|
40098
40163
|
ref: r,
|
|
40099
|
-
class: "scrollable-content"
|
|
40164
|
+
class: "umo-scrollable-content"
|
|
40100
40165
|
}, [
|
|
40101
40166
|
He(c.$slots, "default", {}, void 0, !0)
|
|
40102
40167
|
], 512),
|
|
40103
40168
|
y(o) ? se("", !0) : (x(), re("div", {
|
|
40104
40169
|
key: 1,
|
|
40105
|
-
class: "scrollable-control right",
|
|
40170
|
+
class: "umo-scrollable-control scrollable-right",
|
|
40106
40171
|
onClick: s
|
|
40107
40172
|
}, [
|
|
40108
40173
|
p(d, { name: "arrow-down" })
|
|
@@ -40110,7 +40175,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40110
40175
|
], 512);
|
|
40111
40176
|
};
|
|
40112
40177
|
}
|
|
40113
|
-
}, t$ = /* @__PURE__ */ Le(uhe, [["__scopeId", "data-v-
|
|
40178
|
+
}, t$ = /* @__PURE__ */ Le(uhe, [["__scopeId", "data-v-f4aaf0d0"]]), che = { class: "umo-embed-container" }, dhe = ["textContent"], fhe = {
|
|
40114
40179
|
__name: "embed",
|
|
40115
40180
|
setup(t) {
|
|
40116
40181
|
const { options: e } = le();
|
|
@@ -40140,11 +40205,11 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40140
40205
|
default: z(() => [
|
|
40141
40206
|
M("div", che, [
|
|
40142
40207
|
M("div", {
|
|
40143
|
-
class: "embed-tip",
|
|
40208
|
+
class: "umo-embed-tip",
|
|
40144
40209
|
textContent: ie(o.t("export.embed.tip"))
|
|
40145
40210
|
}, null, 8, dhe),
|
|
40146
40211
|
p(s, {
|
|
40147
|
-
class: "embed-textarea",
|
|
40212
|
+
class: "umo-embed-textarea",
|
|
40148
40213
|
value: y(r),
|
|
40149
40214
|
readonly: "",
|
|
40150
40215
|
autosize: ""
|
|
@@ -40156,7 +40221,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40156
40221
|
], 64);
|
|
40157
40222
|
};
|
|
40158
40223
|
}
|
|
40159
|
-
}, n$ = /* @__PURE__ */ Le(fhe, [["__scopeId", "data-v-
|
|
40224
|
+
}, n$ = /* @__PURE__ */ Le(fhe, [["__scopeId", "data-v-31ddb518"]]), vhe = { class: "umo-share-container" }, phe = ["textContent"], mhe = {
|
|
40160
40225
|
__name: "share",
|
|
40161
40226
|
setup(t) {
|
|
40162
40227
|
const { options: e } = le();
|
|
@@ -40186,11 +40251,11 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40186
40251
|
default: z(() => [
|
|
40187
40252
|
M("div", vhe, [
|
|
40188
40253
|
M("div", {
|
|
40189
|
-
class: "share-tip",
|
|
40254
|
+
class: "umo-share-tip",
|
|
40190
40255
|
textContent: ie(a.t("export.share.tip"))
|
|
40191
40256
|
}, null, 8, phe),
|
|
40192
40257
|
p(i, {
|
|
40193
|
-
class: "share-textarea",
|
|
40258
|
+
class: "umo-share-textarea",
|
|
40194
40259
|
value: y(e).shareUrl,
|
|
40195
40260
|
readonly: "",
|
|
40196
40261
|
autosize: ""
|
|
@@ -40202,7 +40267,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40202
40267
|
], 64);
|
|
40203
40268
|
};
|
|
40204
40269
|
}
|
|
40205
|
-
}, r$ = /* @__PURE__ */ Le(mhe, [["__scopeId", "data-v-
|
|
40270
|
+
}, r$ = /* @__PURE__ */ Le(mhe, [["__scopeId", "data-v-f2e0e340"]]), a$ = {
|
|
40206
40271
|
__name: "text",
|
|
40207
40272
|
setup(t) {
|
|
40208
40273
|
const { options: e, editor: n } = le(), r = () => {
|
|
@@ -40252,7 +40317,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40252
40317
|
a.value = !0;
|
|
40253
40318
|
try {
|
|
40254
40319
|
r.value.zoomLevel = 100, await Ue();
|
|
40255
|
-
const c = document.querySelector(`${e} .page-content`), f = await Z0(c, { scale: devicePixelRatio }), { title: d } = n.value.document, v = d !== "" ? n.value.document.title : J("document.untitled");
|
|
40320
|
+
const c = document.querySelector(`${e} .umo-page-content`), f = await Z0(c, { scale: devicePixelRatio }), { title: d } = n.value.document, v = d !== "" ? n.value.document.title : J("document.untitled");
|
|
40256
40321
|
Y0(
|
|
40257
40322
|
f,
|
|
40258
40323
|
`${v}${devicePixelRatio > 1 ? "@" + devicePixelRatio + "x" : ""}.${s}`
|
|
@@ -40298,7 +40363,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40298
40363
|
}, null, 8, ["text", "menu-active"]);
|
|
40299
40364
|
};
|
|
40300
40365
|
}
|
|
40301
|
-
}, hhe = { class: "background-container" }, ghe = ["onClick"], bhe = { class: "background-more-menu" }, yhe = ["textContent"], _he = { class: "background-more-arrow" }, whe = {
|
|
40366
|
+
}, hhe = { class: "umo-background-container" }, ghe = ["onClick"], bhe = { class: "umo-background-more-menu" }, yhe = ["textContent"], _he = { class: "umo-background-more-arrow" }, whe = {
|
|
40302
40367
|
__name: "background",
|
|
40303
40368
|
setup(t) {
|
|
40304
40369
|
let { popupVisible: e, togglePopup: n } = qt();
|
|
@@ -40325,7 +40390,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40325
40390
|
content: z(() => [
|
|
40326
40391
|
M("div", hhe, [
|
|
40327
40392
|
(x(), re(he, null, Ve(o, (h, m) => M("div", {
|
|
40328
|
-
class: Fe(["background-item", { active: y(a).background === h.value }]),
|
|
40393
|
+
class: Fe(["umo-background-item", { active: y(a).background === h.value }]),
|
|
40329
40394
|
style: Qe({ backgroundColor: h.value }),
|
|
40330
40395
|
key: m,
|
|
40331
40396
|
onClick: (g) => i(h.value)
|
|
@@ -40348,7 +40413,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40348
40413
|
]),
|
|
40349
40414
|
default: z(() => [
|
|
40350
40415
|
M("div", {
|
|
40351
|
-
class: Fe(["background-more", { active: l.value }])
|
|
40416
|
+
class: Fe(["umo-background-more", { active: l.value }])
|
|
40352
40417
|
}, [
|
|
40353
40418
|
M("div", bhe, [
|
|
40354
40419
|
p(c, { name: "palette-color" }),
|
|
@@ -40368,7 +40433,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40368
40433
|
}, 8, ["text", "popup-visible", "onTogglePopup"]);
|
|
40369
40434
|
};
|
|
40370
40435
|
}
|
|
40371
|
-
}, s$ = /* @__PURE__ */ Le(whe, [["__scopeId", "data-v-
|
|
40436
|
+
}, s$ = /* @__PURE__ */ Le(whe, [["__scopeId", "data-v-afb3f99c"]]), u$ = (t) => (ro("data-v-77bc2856"), t = t(), ao(), t), Che = { class: "umo-watermark-container" }, $he = { class: "umo-watermark-toolbar" }, khe = ["textContent"], She = { class: "umo-watermark-type" }, xhe = /* @__PURE__ */ u$(() => /* @__PURE__ */ M("div", { class: "bg" }, null, -1)), Ohe = ["textContent"], Ehe = /* @__PURE__ */ u$(() => /* @__PURE__ */ M("div", { class: "bg" }, null, -1)), Ahe = ["textContent"], The = {
|
|
40372
40437
|
__name: "watermark",
|
|
40373
40438
|
setup(t) {
|
|
40374
40439
|
let { popupVisible: e, togglePopup: n } = qt();
|
|
@@ -40379,7 +40444,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40379
40444
|
a.value.watermark.text = "", e.value = !1;
|
|
40380
40445
|
};
|
|
40381
40446
|
return (i, s) => {
|
|
40382
|
-
const u = fe, c = pr, f =
|
|
40447
|
+
const u = fe, c = pr, f = ga, d = Ul, v = qn, h = Xt;
|
|
40383
40448
|
return x(), X(u, {
|
|
40384
40449
|
ico: "watermark",
|
|
40385
40450
|
text: i.t("page.watermark.text"),
|
|
@@ -40420,15 +40485,15 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40420
40485
|
_: 1
|
|
40421
40486
|
}, 8, ["tooltip"]),
|
|
40422
40487
|
p(f, {
|
|
40423
|
-
"menu-active": y(a).watermark.fontWeight === "bold",
|
|
40424
|
-
onMenuClickThrough: s[2] || (s[2] = (m) => y(a).watermark.fontWeight === "bold" ? y(a).watermark.fontWeight = "normal" : y(a).watermark.fontWeight = "bold")
|
|
40425
|
-
}, null, 8, ["menu-active"]),
|
|
40426
|
-
p(d, {
|
|
40427
40488
|
text: i.t("page.watermark.fontColor"),
|
|
40428
40489
|
"default-color": y(a).watermark.fontColor,
|
|
40429
40490
|
modeless: "",
|
|
40430
|
-
onChange: s[
|
|
40431
|
-
}, null, 8, ["text", "default-color"])
|
|
40491
|
+
onChange: s[2] || (s[2] = (m) => y(a).watermark.fontColor = m)
|
|
40492
|
+
}, null, 8, ["text", "default-color"]),
|
|
40493
|
+
p(d, {
|
|
40494
|
+
"menu-active": y(a).watermark.fontWeight === "bold",
|
|
40495
|
+
onMenuClickThrough: s[3] || (s[3] = (m) => y(a).watermark.fontWeight === "bold" ? y(a).watermark.fontWeight = "normal" : y(a).watermark.fontWeight = "bold")
|
|
40496
|
+
}, null, 8, ["menu-active"])
|
|
40432
40497
|
]),
|
|
40433
40498
|
p(v, {
|
|
40434
40499
|
modelValue: y(a).watermark.text,
|
|
@@ -40439,7 +40504,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40439
40504
|
placeholder: i.t("page.watermark.content")
|
|
40440
40505
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
40441
40506
|
M("div", {
|
|
40442
|
-
class: "watermark-type-title",
|
|
40507
|
+
class: "umo-watermark-type-title",
|
|
40443
40508
|
textContent: ie(i.t("page.watermark.type"))
|
|
40444
40509
|
}, null, 8, khe),
|
|
40445
40510
|
M("div", She, [
|
|
@@ -40464,7 +40529,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40464
40529
|
]),
|
|
40465
40530
|
y(a).watermark.text !== "" ? (x(), X(h, {
|
|
40466
40531
|
key: 0,
|
|
40467
|
-
class: "clear-button",
|
|
40532
|
+
class: "umo-clear-button",
|
|
40468
40533
|
block: "",
|
|
40469
40534
|
variant: "outline",
|
|
40470
40535
|
textContent: ie(i.t("page.watermark.clear")),
|
|
@@ -40476,7 +40541,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40476
40541
|
}, 8, ["text", "popup-visible", "onTogglePopup"]);
|
|
40477
40542
|
};
|
|
40478
40543
|
}
|
|
40479
|
-
}, c$ = /* @__PURE__ */ Le(The, [["__scopeId", "data-v-
|
|
40544
|
+
}, c$ = /* @__PURE__ */ Le(The, [["__scopeId", "data-v-77bc2856"]]), d$ = {
|
|
40480
40545
|
__name: "line-number",
|
|
40481
40546
|
setup(t) {
|
|
40482
40547
|
const { page: e } = le();
|
|
@@ -40531,7 +40596,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40531
40596
|
const a = fe;
|
|
40532
40597
|
return x(), X(a, {
|
|
40533
40598
|
ico: "page-header",
|
|
40534
|
-
text: y(e).header ? n.t("page.
|
|
40599
|
+
text: y(e).header ? n.t("page.header.hide") : n.t("page.header.show"),
|
|
40535
40600
|
huge: "",
|
|
40536
40601
|
onMenuClick: r[0] || (r[0] = (o) => y(e).header = !y(e).header)
|
|
40537
40602
|
}, null, 8, ["text"]);
|
|
@@ -40550,7 +40615,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40550
40615
|
ico: "page-orientation",
|
|
40551
40616
|
text: r.t("page.orientation.text"),
|
|
40552
40617
|
"menu-type": "dropdown",
|
|
40553
|
-
"overlay-class-name": "page-orientation-dropdown"
|
|
40618
|
+
"overlay-class-name": "umo-page-orientation-dropdown"
|
|
40554
40619
|
}, {
|
|
40555
40620
|
dropmenu: z(() => [
|
|
40556
40621
|
p(i, null, {
|
|
@@ -40563,7 +40628,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40563
40628
|
}, {
|
|
40564
40629
|
default: z(() => [
|
|
40565
40630
|
M("div", {
|
|
40566
|
-
class: Fe(["icon", { rotate: u.value === "
|
|
40631
|
+
class: Fe(["icon-orientation", { rotate: u.value === "landscape" }])
|
|
40567
40632
|
}, [
|
|
40568
40633
|
p(o, { name: "page" })
|
|
40569
40634
|
], 2),
|
|
@@ -40579,7 +40644,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40579
40644
|
}, 8, ["text"]);
|
|
40580
40645
|
};
|
|
40581
40646
|
}
|
|
40582
|
-
}, Mhe = { class: "page-options-container" }, Ihe = ["textContent"], jhe = { class: "desc" }, Nhe = { class: "page-setting" }, Dhe = { class: "item" }, Bhe = { class: "item" }, Fhe = { class: "page-margin-inbuilt" }, Lhe = ["textContent"], Rhe = ["textContent"], zhe = ["textContent"], Vhe = ["textContent"], Hhe = { class: "page-setting" }, Uhe = { class: "item" }, Khe = { class: "item" }, Whe = { class: "item" }, Ghe = { class: "item" }, qhe = {
|
|
40647
|
+
}, Mhe = { class: "umo-page-options-container" }, Ihe = ["textContent"], jhe = { class: "desc" }, Nhe = { class: "umo-page-setting" }, Dhe = { class: "item" }, Bhe = { class: "item" }, Fhe = { class: "umo-page-margin-inbuilt" }, Lhe = ["textContent"], Rhe = ["textContent"], zhe = ["textContent"], Vhe = ["textContent"], Hhe = { class: "umo-page-setting" }, Uhe = { class: "item" }, Khe = { class: "item" }, Whe = { class: "item" }, Ghe = { class: "item" }, qhe = {
|
|
40583
40648
|
__name: "page-options",
|
|
40584
40649
|
props: {
|
|
40585
40650
|
visible: {
|
|
@@ -40644,7 +40709,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40644
40709
|
p(m, { value: "portrait" }, {
|
|
40645
40710
|
default: z(() => [
|
|
40646
40711
|
p(h, {
|
|
40647
|
-
class: "rotate",
|
|
40712
|
+
class: "icon-rotate",
|
|
40648
40713
|
name: "page"
|
|
40649
40714
|
}),
|
|
40650
40715
|
We(" " + ie(d.t("page.orientation.portrait")), 1)
|
|
@@ -40663,7 +40728,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40663
40728
|
default: z(() => [
|
|
40664
40729
|
p(b, {
|
|
40665
40730
|
"popup-props": {
|
|
40666
|
-
overlayClassName: "page-size-select",
|
|
40731
|
+
overlayClassName: "umo-page-size-select",
|
|
40667
40732
|
destroyOnClose: !0,
|
|
40668
40733
|
attach: y(r)
|
|
40669
40734
|
},
|
|
@@ -40700,7 +40765,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40700
40765
|
M("div", Nhe, [
|
|
40701
40766
|
M("div", Dhe, [
|
|
40702
40767
|
p($, {
|
|
40703
|
-
class: "page-setting-number",
|
|
40768
|
+
class: "umo-page-setting-number",
|
|
40704
40769
|
modelValue: y(l).size.width,
|
|
40705
40770
|
"onUpdate:modelValue": v[1] || (v[1] = (k) => y(l).size.width = k),
|
|
40706
40771
|
theme: "normal",
|
|
@@ -40715,7 +40780,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40715
40780
|
]),
|
|
40716
40781
|
M("div", Bhe, [
|
|
40717
40782
|
p($, {
|
|
40718
|
-
class: "page-setting-number",
|
|
40783
|
+
class: "umo-page-setting-number",
|
|
40719
40784
|
modelValue: y(l).size.height,
|
|
40720
40785
|
"onUpdate:modelValue": v[3] || (v[3] = (k) => y(l).size.height = k),
|
|
40721
40786
|
theme: "normal",
|
|
@@ -40781,7 +40846,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40781
40846
|
M("div", Hhe, [
|
|
40782
40847
|
M("div", Uhe, [
|
|
40783
40848
|
p($, {
|
|
40784
|
-
class: "page-setting-number",
|
|
40849
|
+
class: "umo-page-setting-number",
|
|
40785
40850
|
modelValue: y(l).margin.top,
|
|
40786
40851
|
"onUpdate:modelValue": v[9] || (v[9] = (k) => y(l).margin.top = k),
|
|
40787
40852
|
theme: "normal",
|
|
@@ -40797,7 +40862,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40797
40862
|
]),
|
|
40798
40863
|
M("div", Khe, [
|
|
40799
40864
|
p($, {
|
|
40800
|
-
class: "page-setting-number",
|
|
40865
|
+
class: "umo-page-setting-number",
|
|
40801
40866
|
modelValue: y(l).margin.bottom,
|
|
40802
40867
|
"onUpdate:modelValue": v[11] || (v[11] = (k) => y(l).margin.bottom = k),
|
|
40803
40868
|
theme: "normal",
|
|
@@ -40813,7 +40878,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40813
40878
|
]),
|
|
40814
40879
|
M("div", Whe, [
|
|
40815
40880
|
p($, {
|
|
40816
|
-
class: "page-setting-number",
|
|
40881
|
+
class: "umo-page-setting-number",
|
|
40817
40882
|
modelValue: y(l).margin.left,
|
|
40818
40883
|
"onUpdate:modelValue": v[13] || (v[13] = (k) => y(l).margin.left = k),
|
|
40819
40884
|
theme: "normal",
|
|
@@ -40829,7 +40894,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40829
40894
|
]),
|
|
40830
40895
|
M("div", Ghe, [
|
|
40831
40896
|
p($, {
|
|
40832
|
-
class: "page-setting-number",
|
|
40897
|
+
class: "umo-page-setting-number",
|
|
40833
40898
|
modelValue: y(l).margin.right,
|
|
40834
40899
|
"onUpdate:modelValue": v[15] || (v[15] = (k) => y(l).margin.right = k),
|
|
40835
40900
|
theme: "normal",
|
|
@@ -40857,7 +40922,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40857
40922
|
}, 8, ["visible", "header"]);
|
|
40858
40923
|
};
|
|
40859
40924
|
}
|
|
40860
|
-
}, h$ = /* @__PURE__ */ Le(qhe, [["__scopeId", "data-v-
|
|
40925
|
+
}, h$ = /* @__PURE__ */ Le(qhe, [["__scopeId", "data-v-6e789392"]]), Yhe = ["textContent"], Zhe = { class: "desc" }, Xhe = ["textContent"], g$ = {
|
|
40861
40926
|
__name: "size",
|
|
40862
40927
|
setup(t) {
|
|
40863
40928
|
const { options: e, page: n } = le();
|
|
@@ -40868,7 +40933,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40868
40933
|
ico: "page-size",
|
|
40869
40934
|
text: a.t("page.size.text"),
|
|
40870
40935
|
"menu-type": "dropdown",
|
|
40871
|
-
"overlay-class-name": "page-size-dropdown"
|
|
40936
|
+
"overlay-class-name": "umo-page-size-dropdown"
|
|
40872
40937
|
}, {
|
|
40873
40938
|
dropmenu: z(() => [
|
|
40874
40939
|
p(i, null, {
|
|
@@ -41011,7 +41076,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41011
41076
|
tooltip: a.t("tools.chineseCase.tip"),
|
|
41012
41077
|
"menu-type": "dropdown",
|
|
41013
41078
|
huge: "",
|
|
41014
|
-
"overlay-class-name": "chinese-case-dropdown"
|
|
41079
|
+
"overlay-class-name": "umo-chinese-case-dropdown"
|
|
41015
41080
|
}, {
|
|
41016
41081
|
dropmenu: z(() => [
|
|
41017
41082
|
p(i, null, {
|
|
@@ -41183,7 +41248,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41183
41248
|
}, null, 8, ["text", "tooltip", "disabled"]);
|
|
41184
41249
|
};
|
|
41185
41250
|
}
|
|
41186
|
-
}, ege = ["onMouseover"], tge = { class: "table-custom" }, nge = ["textContent"], rge = {
|
|
41251
|
+
}, ege = ["onMouseover"], tge = { class: "umo-table-custom" }, nge = ["textContent"], rge = {
|
|
41187
41252
|
__name: "insert",
|
|
41188
41253
|
setup(t) {
|
|
41189
41254
|
let { popupVisible: e, togglePopup: n } = qt();
|
|
@@ -41214,7 +41279,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41214
41279
|
}, {
|
|
41215
41280
|
content: z(() => [
|
|
41216
41281
|
M("div", {
|
|
41217
|
-
class: "table-grid",
|
|
41282
|
+
class: "umo-table-grid",
|
|
41218
41283
|
onMouseleave: u
|
|
41219
41284
|
}, [
|
|
41220
41285
|
(x(!0), re(he, null, Ve(y(a), (w, _) => (x(), re("div", {
|
|
@@ -41231,7 +41296,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41231
41296
|
], 32),
|
|
41232
41297
|
M("div", tge, [
|
|
41233
41298
|
M("div", {
|
|
41234
|
-
class: "table-custom-title",
|
|
41299
|
+
class: "umo-table-custom-title",
|
|
41235
41300
|
textContent: ie(f.t("table.insert.property"))
|
|
41236
41301
|
}, null, 8, nge),
|
|
41237
41302
|
p(v, {
|
|
@@ -41262,7 +41327,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41262
41327
|
_: 1
|
|
41263
41328
|
}, 8, ["modelValue"]),
|
|
41264
41329
|
p(m, {
|
|
41265
|
-
class: "insert-button",
|
|
41330
|
+
class: "umo-insert-button",
|
|
41266
41331
|
block: "",
|
|
41267
41332
|
theme: "primary",
|
|
41268
41333
|
variant: "base",
|
|
@@ -41275,7 +41340,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41275
41340
|
}, 8, ["text", "tooltip", "popup-visible", "onTogglePopup"]);
|
|
41276
41341
|
};
|
|
41277
41342
|
}
|
|
41278
|
-
}, E$ = /* @__PURE__ */ Le(rge, [["__scopeId", "data-v-
|
|
41343
|
+
}, E$ = /* @__PURE__ */ Le(rge, [["__scopeId", "data-v-378339ef"]]), age = { class: "title" }, oge = {
|
|
41279
41344
|
key: 0,
|
|
41280
41345
|
class: "description"
|
|
41281
41346
|
}, A$ = {
|
|
@@ -41292,7 +41357,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41292
41357
|
text: a.t("insert.template"),
|
|
41293
41358
|
"menu-type": "dropdown",
|
|
41294
41359
|
huge: "",
|
|
41295
|
-
"overlay-class-name": "templates-dropdown"
|
|
41360
|
+
"overlay-class-name": "umo-templates-dropdown"
|
|
41296
41361
|
}, {
|
|
41297
41362
|
dropmenu: z(() => [
|
|
41298
41363
|
p(i, null, {
|
|
@@ -41320,7 +41385,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41320
41385
|
}, 8, ["text"])) : se("", !0);
|
|
41321
41386
|
};
|
|
41322
41387
|
}
|
|
41323
|
-
}, lge = { class: "page-divider-dropdown" }, ige = { class: "page-divider-item-title" }, sge = ["textContent"], uge = ["value", "title", "onClick"], cge = ["data-type"], dge = ["textContent"], fge = { class: "arrow" }, vge = { class: "page-divider-color-picker" }, pge = {
|
|
41388
|
+
}, lge = { class: "umo-page-divider-dropdown" }, ige = { class: "umo-page-divider-item-title" }, sge = ["textContent"], uge = ["value", "title", "onClick"], cge = ["data-type"], dge = ["textContent"], fge = { class: "arrow" }, vge = { class: "umo-page-divider-color-picker" }, pge = {
|
|
41324
41389
|
__name: "hr",
|
|
41325
41390
|
setup(t) {
|
|
41326
41391
|
let { popupVisible: e, togglePopup: n } = qt();
|
|
@@ -41359,7 +41424,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41359
41424
|
}, null, 8, sge)
|
|
41360
41425
|
]),
|
|
41361
41426
|
(x(), re(he, null, Ve(o, (g) => M("div", {
|
|
41362
|
-
class: "page-divider-item",
|
|
41427
|
+
class: "umo-page-divider-item",
|
|
41363
41428
|
key: g.value,
|
|
41364
41429
|
value: g.value,
|
|
41365
41430
|
title: g.label,
|
|
@@ -41388,7 +41453,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41388
41453
|
]),
|
|
41389
41454
|
default: z(() => [
|
|
41390
41455
|
M("div", {
|
|
41391
|
-
class: Fe(["page-divider-item open-color-picker", { active: y(i) }])
|
|
41456
|
+
class: Fe(["umo-page-divider-item umo-open-color-picker", { active: y(i) }])
|
|
41392
41457
|
}, [
|
|
41393
41458
|
M("span", {
|
|
41394
41459
|
textContent: ie(c.t("insert.hr.color"))
|
|
@@ -41406,7 +41471,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41406
41471
|
}, 8, ["text", "popup-visible", "onTogglePopup"]);
|
|
41407
41472
|
};
|
|
41408
41473
|
}
|
|
41409
|
-
}, T$ = /* @__PURE__ */ Le(pge, [["__scopeId", "data-v-
|
|
41474
|
+
}, T$ = /* @__PURE__ */ Le(pge, [["__scopeId", "data-v-6e0c71d1"]]), P$ = {
|
|
41410
41475
|
__name: "hard-break",
|
|
41411
41476
|
setup(t) {
|
|
41412
41477
|
const { editor: e } = le();
|
|
@@ -41438,7 +41503,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41438
41503
|
}, null, 8, ["text"]);
|
|
41439
41504
|
};
|
|
41440
41505
|
}
|
|
41441
|
-
}, mge = { class: "emojis-container narrow-scrollbar" }, hge = ["textContent"], gge = { class: "emojis-group-container" }, bge = ["onClick"], yge = {
|
|
41506
|
+
}, mge = { class: "umo-emojis-container narrow-scrollbar" }, hge = ["textContent"], gge = { class: "umo-emojis-group-container" }, bge = ["onClick"], yge = {
|
|
41442
41507
|
__name: "emoji",
|
|
41443
41508
|
setup(t) {
|
|
41444
41509
|
let { popupVisible: e, togglePopup: n } = qt();
|
|
@@ -41460,12 +41525,12 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41460
41525
|
M("div", mge, [
|
|
41461
41526
|
(x(!0), re(he, null, Ve(y(r).dicts.emojis, (u, c) => (x(), re(he, { key: c }, [
|
|
41462
41527
|
M("div", {
|
|
41463
|
-
class: "emojis-group-title",
|
|
41528
|
+
class: "umo-emojis-group-title",
|
|
41464
41529
|
textContent: ie(l.l(u.label))
|
|
41465
41530
|
}, null, 8, hge),
|
|
41466
41531
|
M("div", gge, [
|
|
41467
41532
|
(x(!0), re(he, null, Ve(u.items.split(" "), (f, d) => (x(), re("div", {
|
|
41468
|
-
class: "emojis-group-item",
|
|
41533
|
+
class: "umo-emojis-group-item",
|
|
41469
41534
|
key: d,
|
|
41470
41535
|
onClick: (v) => o(f)
|
|
41471
41536
|
}, ie(f), 9, bge))), 128))
|
|
@@ -41477,7 +41542,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41477
41542
|
}, 8, ["text", "popup-visible", "onTogglePopup"]);
|
|
41478
41543
|
};
|
|
41479
41544
|
}
|
|
41480
|
-
}, I$ = /* @__PURE__ */ Le(yge, [["__scopeId", "data-v-
|
|
41545
|
+
}, I$ = /* @__PURE__ */ Le(yge, [["__scopeId", "data-v-9855e75b"]]), j$ = {
|
|
41481
41546
|
__name: "chinese-date",
|
|
41482
41547
|
setup(t) {
|
|
41483
41548
|
const e = (l) => bk(yk(), l).value, n = (l) => {
|
|
@@ -41522,7 +41587,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41522
41587
|
}, null, 8, ["text"]);
|
|
41523
41588
|
};
|
|
41524
41589
|
}
|
|
41525
|
-
}, _ge = { class: "symbols-container narrow-scrollbar" }, wge = ["textContent"], Cge = { class: "symbols-group-container" }, $ge = ["onClick"], kge = {
|
|
41590
|
+
}, _ge = { class: "umo-symbols-container narrow-scrollbar" }, wge = ["textContent"], Cge = { class: "umo-symbols-group-container" }, $ge = ["onClick"], kge = {
|
|
41526
41591
|
__name: "symbol",
|
|
41527
41592
|
setup(t) {
|
|
41528
41593
|
let { popupVisible: e, togglePopup: n } = qt();
|
|
@@ -41544,12 +41609,12 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41544
41609
|
M("div", _ge, [
|
|
41545
41610
|
(x(!0), re(he, null, Ve(y(r).dicts.symbols, (u, c) => (x(), re(he, { key: c }, [
|
|
41546
41611
|
M("div", {
|
|
41547
|
-
class: "symbols-group-title",
|
|
41612
|
+
class: "umo-symbols-group-title",
|
|
41548
41613
|
textContent: ie(l.l(u.label))
|
|
41549
41614
|
}, null, 8, wge),
|
|
41550
41615
|
M("div", Cge, [
|
|
41551
41616
|
(x(!0), re(he, null, Ve(u.items.split(""), (f, d) => (x(), re("div", {
|
|
41552
|
-
class: "symbols-group-item",
|
|
41617
|
+
class: "umo-symbols-group-item",
|
|
41553
41618
|
key: d,
|
|
41554
41619
|
onClick: (v) => o(f)
|
|
41555
41620
|
}, ie(f), 9, $ge))), 128))
|
|
@@ -41561,7 +41626,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41561
41626
|
}, 8, ["text", "popup-visible", "onTogglePopup"]);
|
|
41562
41627
|
};
|
|
41563
41628
|
}
|
|
41564
|
-
}, N$ = /* @__PURE__ */ Le(kge, [["__scopeId", "data-v-
|
|
41629
|
+
}, N$ = /* @__PURE__ */ Le(kge, [["__scopeId", "data-v-d839ae45"]]), Sge = { class: "umo-link-container" }, xge = {
|
|
41565
41630
|
__name: "link",
|
|
41566
41631
|
setup(t) {
|
|
41567
41632
|
const { editor: e } = le();
|
|
@@ -41647,7 +41712,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41647
41712
|
], 64);
|
|
41648
41713
|
};
|
|
41649
41714
|
}
|
|
41650
|
-
}, D$ = /* @__PURE__ */ Le(xge, [["__scopeId", "data-v-
|
|
41715
|
+
}, D$ = /* @__PURE__ */ Le(xge, [["__scopeId", "data-v-0426cb1f"]]), B$ = {
|
|
41651
41716
|
__name: "print",
|
|
41652
41717
|
setup(t) {
|
|
41653
41718
|
const { printing: e } = le();
|
|
@@ -41859,7 +41924,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41859
41924
|
}, null, 8, ["text", "menu-active", "disabled"]);
|
|
41860
41925
|
};
|
|
41861
41926
|
}
|
|
41862
|
-
}, Oge = { class: "node-margin-input" }, Ege = {
|
|
41927
|
+
}, Oge = { class: "umo-node-margin-input" }, Ege = {
|
|
41863
41928
|
__name: "margin",
|
|
41864
41929
|
setup(t) {
|
|
41865
41930
|
let { popupVisible: e, togglePopup: n } = qt();
|
|
@@ -41948,7 +42013,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41948
42013
|
}, 8, ["text", "popup-visible", "onTogglePopup"]);
|
|
41949
42014
|
};
|
|
41950
42015
|
}
|
|
41951
|
-
}, U$ = /* @__PURE__ */ Le(Ege, [["__scopeId", "data-v-
|
|
42016
|
+
}, U$ = /* @__PURE__ */ Le(Ege, [["__scopeId", "data-v-c700e333"]]), K$ = {
|
|
41952
42017
|
__name: "line-height",
|
|
41953
42018
|
setup(t) {
|
|
41954
42019
|
const { options: e, editor: n } = le(), r = A(() => e.value.dicts.lineHeights.map((l) => {
|
|
@@ -42080,7 +42145,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42080
42145
|
}, 8, ["text", "menu-active"]);
|
|
42081
42146
|
};
|
|
42082
42147
|
}
|
|
42083
|
-
}, Age = { class: "bullet-list-group" }, Tge = ["onClick"], Pge = {
|
|
42148
|
+
}, Age = { class: "umo-bullet-list-group" }, Tge = ["onClick"], Pge = {
|
|
42084
42149
|
__name: "bullet-list",
|
|
42085
42150
|
setup(t) {
|
|
42086
42151
|
let { popupVisible: e, togglePopup: n } = qt();
|
|
@@ -42127,11 +42192,11 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42127
42192
|
}, {
|
|
42128
42193
|
default: z(() => [
|
|
42129
42194
|
M("div", {
|
|
42130
|
-
class: Fe(["bullet-list-item", { active: y(o) == v.value }]),
|
|
42195
|
+
class: Fe(["umo-bullet-list-item", { active: y(o) == v.value }]),
|
|
42131
42196
|
onClick: (h) => l(v.value)
|
|
42132
42197
|
}, [
|
|
42133
42198
|
p(u, {
|
|
42134
|
-
class: "icon-bullet-list",
|
|
42199
|
+
class: "umo-icon-bullet-list",
|
|
42135
42200
|
name: `bullet-list-${v.value}`
|
|
42136
42201
|
}, null, 8, ["name"])
|
|
42137
42202
|
], 10, Tge)
|
|
@@ -42144,7 +42209,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42144
42209
|
}, 8, ["text", "menu-active", "popup-visible", "onTogglePopup"]);
|
|
42145
42210
|
};
|
|
42146
42211
|
}
|
|
42147
|
-
}, Y$ = /* @__PURE__ */ Le(Pge, [["__scopeId", "data-v-
|
|
42212
|
+
}, Y$ = /* @__PURE__ */ Le(Pge, [["__scopeId", "data-v-55b64b1d"]]), Mge = (t) => (ro("data-v-bb566d99"), t = t(), ao(), t), Ige = { class: "umo-ordered-list-group" }, jge = ["onClick"], Nge = /* @__PURE__ */ Mge(() => /* @__PURE__ */ M("div", { class: "umo-ordered-list-divider" }, null, -1)), Dge = ["textContent"], Bge = { class: "umo-ordered-list-properties" }, Fge = ["textContent"], Lge = {
|
|
42148
42213
|
__name: "ordered-list",
|
|
42149
42214
|
setup(t) {
|
|
42150
42215
|
let { popupVisible: e, togglePopup: n } = qt();
|
|
@@ -42215,11 +42280,11 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42215
42280
|
}, {
|
|
42216
42281
|
default: z(() => [
|
|
42217
42282
|
M("div", {
|
|
42218
|
-
class: Fe(["ordered-list-item", { active: y(o) == g.value }]),
|
|
42283
|
+
class: Fe(["umo-ordered-list-item", { active: y(o) == g.value }]),
|
|
42219
42284
|
onClick: (w) => l(g.value)
|
|
42220
42285
|
}, [
|
|
42221
42286
|
p(f, {
|
|
42222
|
-
class: "icon-ordered-list",
|
|
42287
|
+
class: "umo-icon-ordered-list",
|
|
42223
42288
|
name: `ordered-list-${g.value}`
|
|
42224
42289
|
}, null, 8, ["name"])
|
|
42225
42290
|
], 10, jge)
|
|
@@ -42229,7 +42294,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42229
42294
|
]),
|
|
42230
42295
|
Nge,
|
|
42231
42296
|
M("div", {
|
|
42232
|
-
class: "ordered-list-title",
|
|
42297
|
+
class: "umo-ordered-list-title",
|
|
42233
42298
|
textContent: ie(u.t("list.ordered.property"))
|
|
42234
42299
|
}, null, 8, Dge),
|
|
42235
42300
|
M("div", Bge, [
|
|
@@ -42254,7 +42319,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42254
42319
|
}, 8, ["text", "popup-visible", "menu-active", "onTogglePopup"]);
|
|
42255
42320
|
};
|
|
42256
42321
|
}
|
|
42257
|
-
}, Z$ = /* @__PURE__ */ Le(Lge, [["__scopeId", "data-v-
|
|
42322
|
+
}, Z$ = /* @__PURE__ */ Le(Lge, [["__scopeId", "data-v-bb566d99"]]), X$ = {
|
|
42258
42323
|
__name: "superscript",
|
|
42259
42324
|
setup(t) {
|
|
42260
42325
|
const { editor: e } = le();
|
|
@@ -42369,7 +42434,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42369
42434
|
}, {
|
|
42370
42435
|
default: z(() => [
|
|
42371
42436
|
(x(!0), re(he, null, Ve(g.children, (_) => (x(), X(d, {
|
|
42372
|
-
class: "font-family-item",
|
|
42437
|
+
class: "umo-font-family-item",
|
|
42373
42438
|
value: _.value,
|
|
42374
42439
|
key: _.value,
|
|
42375
42440
|
label: c.l(_.label)
|
|
@@ -42381,7 +42446,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42381
42446
|
}, null, 12, Rge),
|
|
42382
42447
|
l(_.value) ? se("", !0) : (x(), re("span", {
|
|
42383
42448
|
key: 0,
|
|
42384
|
-
class: "unsupport",
|
|
42449
|
+
class: "umo-font-family-unsupport",
|
|
42385
42450
|
title: c.t("base.fontFamily.unsupport")
|
|
42386
42451
|
}, "!", 8, zge))
|
|
42387
42452
|
]),
|
|
@@ -42395,7 +42460,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42395
42460
|
}, 8, ["text", "select-value", "style"]);
|
|
42396
42461
|
};
|
|
42397
42462
|
}
|
|
42398
|
-
}, Vge = ["disabled"], Hge = { class: "heading-container" }, Uge = ["onClick"], Kge = { class: "subtitle" }, Wge = ["onClick"], Gge = { class: "subtitle" }, qge = {
|
|
42463
|
+
}, Vge = ["disabled"], Hge = { class: "umo-heading-container" }, Uge = ["onClick"], Kge = { class: "subtitle" }, Wge = ["onClick"], Gge = { class: "subtitle" }, qge = {
|
|
42399
42464
|
__name: "heading",
|
|
42400
42465
|
setup(t) {
|
|
42401
42466
|
let { popupVisible: e } = qt();
|
|
@@ -42450,7 +42515,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42450
42515
|
const f = at, d = In, v = Pl, h = fe;
|
|
42451
42516
|
return y(a).mode !== "classic" ? (x(), re("div", {
|
|
42452
42517
|
key: 0,
|
|
42453
|
-
class: Fe(["toolbar-headding", { unfold: y(e) }]),
|
|
42518
|
+
class: Fe(["umo-toolbar-headding", { unfold: y(e) }]),
|
|
42454
42519
|
disabled: !((m = y(r)) != null && m.isEditable)
|
|
42455
42520
|
}, [
|
|
42456
42521
|
M("div", Hge, [
|
|
@@ -42475,7 +42540,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42475
42540
|
attach: y(n),
|
|
42476
42541
|
trigger: "click",
|
|
42477
42542
|
placement: "bottom-right",
|
|
42478
|
-
"overlay-class-name": "heading-container-popup",
|
|
42543
|
+
"overlay-class-name": "umo-heading-container-popup",
|
|
42479
42544
|
"destroy-on-close": "",
|
|
42480
42545
|
visible: y(e)
|
|
42481
42546
|
}, {
|
|
@@ -42483,7 +42548,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42483
42548
|
M("div", {
|
|
42484
42549
|
ref_key: "popupContentRef",
|
|
42485
42550
|
ref: o,
|
|
42486
|
-
class: "heading-container"
|
|
42551
|
+
class: "umo-heading-container"
|
|
42487
42552
|
}, [
|
|
42488
42553
|
(x(!0), re(he, null, Ve(l.value, (g, w) => {
|
|
42489
42554
|
var _;
|
|
@@ -42530,7 +42595,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42530
42595
|
}, {
|
|
42531
42596
|
default: z(() => [
|
|
42532
42597
|
(x(!0), re(he, null, Ve(l.value, (g) => (x(), X(v, {
|
|
42533
|
-
class: "
|
|
42598
|
+
class: "umo-heading-select-option",
|
|
42534
42599
|
key: g.value,
|
|
42535
42600
|
value: g.value,
|
|
42536
42601
|
label: g.label
|
|
@@ -42547,7 +42612,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42547
42612
|
}, 8, ["text", "placeholder", "select-value"]));
|
|
42548
42613
|
};
|
|
42549
42614
|
}
|
|
42550
|
-
}, ek = /* @__PURE__ */ Le(qge, [["__scopeId", "data-v-
|
|
42615
|
+
}, ek = /* @__PURE__ */ Le(qge, [["__scopeId", "data-v-7ed2d884"]]), tk = {
|
|
42551
42616
|
__name: "clear-format",
|
|
42552
42617
|
setup(t) {
|
|
42553
42618
|
const { editor: e } = le();
|
|
@@ -42568,7 +42633,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42568
42633
|
__name: "format-painter",
|
|
42569
42634
|
setup(t) {
|
|
42570
42635
|
const { editor: e, painter: n } = le(), r = (a) => {
|
|
42571
|
-
|
|
42636
|
+
n.value.enabled = !n.value.enabled, n.value.enabled && e.value.chain().focus().setFormatPainter(a).run();
|
|
42572
42637
|
};
|
|
42573
42638
|
return (a, o) => {
|
|
42574
42639
|
var i, s, u;
|
|
@@ -42625,13 +42690,13 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42625
42690
|
}, null, 8, ["text", "disabled"]);
|
|
42626
42691
|
};
|
|
42627
42692
|
}
|
|
42628
|
-
}, Yge = { class: "classic-menu" }, Zge = {
|
|
42693
|
+
}, Yge = { class: "umo-classic-menu" }, Zge = {
|
|
42629
42694
|
key: 0,
|
|
42630
|
-
class: "virtual-group"
|
|
42631
|
-
}, Xge = { class: "virtual-group" }, Jge = { class: "virtual-group" }, Qge = { class: "virtual-group" }, ebe = { class: "virtual-group" }, tbe = { class: "virtual-group" }, nbe = { class: "virtual-group is-slot" }, rbe = { class: "virtual-group" }, abe = { class: "virtual-group" }, obe = { class: "virtual-group" }, lbe = { class: "virtual-group is-slot" }, ibe = { class: "virtual-group" }, sbe = { class: "virtual-group" }, ube = { class: "virtual-group" }, cbe = { class: "virtual-group" }, dbe = { class: "virtual-group" }, fbe = { class: "virtual-group" }, vbe = { class: "virtual-group" }, pbe = { class: "virtual-group" }, mbe = { class: "virtual-group is-slot" }, hbe = { class: "virtual-group" }, gbe = { class: "virtual-group" }, bbe = { class: "virtual-group" }, ybe = { class: "virtual-group" }, _be = { class: "virtual-group is-slot" }, wbe = { class: "virtual-group" }, Cbe = { class: "virtual-group" }, $be = { class: "virtual-group-row" }, kbe = {
|
|
42695
|
+
class: "umo-virtual-group"
|
|
42696
|
+
}, Xge = { class: "umo-virtual-group" }, Jge = { class: "umo-virtual-group" }, Qge = { class: "umo-virtual-group" }, ebe = { class: "umo-virtual-group" }, tbe = { class: "umo-virtual-group" }, nbe = { class: "virtual-group is-slot" }, rbe = { class: "umo-virtual-group" }, abe = { class: "umo-virtual-group" }, obe = { class: "umo-virtual-group" }, lbe = { class: "virtual-group is-slot" }, ibe = { class: "umo-virtual-group" }, sbe = { class: "umo-virtual-group" }, ube = { class: "umo-virtual-group" }, cbe = { class: "umo-virtual-group" }, dbe = { class: "umo-virtual-group" }, fbe = { class: "umo-virtual-group" }, vbe = { class: "umo-virtual-group" }, pbe = { class: "umo-virtual-group" }, mbe = { class: "virtual-group is-slot" }, hbe = { class: "umo-virtual-group" }, gbe = { class: "umo-virtual-group" }, bbe = { class: "umo-virtual-group" }, ybe = { class: "umo-virtual-group" }, _be = { class: "virtual-group is-slot" }, wbe = { class: "umo-virtual-group" }, Cbe = { class: "umo-virtual-group" }, $be = { class: "virtual-group-row" }, kbe = {
|
|
42632
42697
|
key: 0,
|
|
42633
|
-
class: "virtual-group"
|
|
42634
|
-
}, Sbe = { class: "virtual-group" }, xbe = { class: "virtual-group" }, Obe = { class: "virtual-group is-slot" }, Ebe = { class: "virtual-group" }, Abe = { class: "virtual-group" }, Tbe = { class: "virtual-group is-slot" }, Pbe = {
|
|
42698
|
+
class: "umo-virtual-group"
|
|
42699
|
+
}, Sbe = { class: "umo-virtual-group" }, xbe = { class: "umo-virtual-group" }, Obe = { class: "virtual-group is-slot" }, Ebe = { class: "umo-virtual-group" }, Abe = { class: "umo-virtual-group" }, Tbe = { class: "virtual-group is-slot" }, Pbe = {
|
|
42635
42700
|
__name: "classic",
|
|
42636
42701
|
props: {
|
|
42637
42702
|
menus: {
|
|
@@ -42666,7 +42731,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42666
42731
|
return x(), X(np, {
|
|
42667
42732
|
ref_key: "scrollableRef",
|
|
42668
42733
|
ref: c,
|
|
42669
|
-
class: "scrollable-container"
|
|
42734
|
+
class: "umo-scrollable-container"
|
|
42670
42735
|
}, {
|
|
42671
42736
|
default: z(() => [
|
|
42672
42737
|
M("div", Yge, [
|
|
@@ -42876,13 +42941,13 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42876
42941
|
}, 512);
|
|
42877
42942
|
};
|
|
42878
42943
|
}
|
|
42879
|
-
}, Mbe = /* @__PURE__ */ Le(Pbe, [["__scopeId", "data-v-
|
|
42944
|
+
}, Mbe = /* @__PURE__ */ Le(Pbe, [["__scopeId", "data-v-420992a6"]]), Ibe = { class: "umo-ribbon-menu" }, jbe = {
|
|
42880
42945
|
key: 0,
|
|
42881
|
-
class: "ribbon-tabs"
|
|
42882
|
-
}, Nbe = ["onClick"], Dbe = { class: "ribbon-container" }, Bbe = { class: "virtual-group" }, Fbe = { class: "virtual-group-row" }, Lbe = { class: "virtual-group-row" }, Rbe = { class: "virtual-group" }, zbe = { class: "virtual-group-row" }, Vbe = { class: "virtual-group-row" }, Hbe = { class: "virtual-group" }, Ube = { class: "virtual-group-row" }, Kbe = { class: "virtual-group-row" }, Wbe = { class: "virtual-group" }, Gbe = { class: "virtual-group" }, qbe = { class: "virtual-group" }, Ybe = { class: "virtual-group is-slot" }, Zbe = { class: "virtual-group" }, Xbe = { class: "virtual-group" }, Jbe = { class: "virtual-group" }, Qbe = { class: "virtual-group is-slot" }, e1e = { class: "virtual-group" }, t1e = { class: "virtual-group" }, n1e = { class: "virtual-group" }, r1e = { class: "virtual-group-row" }, a1e = { class: "virtual-group-row" }, o1e = { class: "virtual-group" }, l1e = { class: "virtual-group-row" }, i1e = { class: "virtual-group-row" }, s1e = { class: "virtual-group" }, u1e = { class: "virtual-group-row" }, c1e = { class: "virtual-group-row" }, d1e = { class: "virtual-group" }, f1e = { class: "virtual-group-row" }, v1e = { class: "virtual-group-row" }, p1e = { class: "virtual-group" }, m1e = { class: "virtual-group is-slot" }, h1e = { class: "virtual-group" }, g1e = { class: "virtual-group" }, b1e = { class: "virtual-group" }, y1e = { class: "virtual-group" }, _1e = { class: "virtual-group" }, w1e = { class: "virtual-group" }, C1e = { class: "virtual-group" }, $1e = { class: "virtual-group-row" }, k1e = { class: "virtual-group-row" }, S1e = { class: "virtual-group-row" }, x1e = {
|
|
42946
|
+
class: "umo-ribbon-tabs"
|
|
42947
|
+
}, Nbe = ["onClick"], Dbe = { class: "umo-ribbon-container" }, Bbe = { class: "umo-virtual-group" }, Fbe = { class: "umo-virtual-group-row" }, Lbe = { class: "umo-virtual-group-row" }, Rbe = { class: "umo-virtual-group" }, zbe = { class: "umo-virtual-group-row" }, Vbe = { class: "umo-virtual-group-row" }, Hbe = { class: "umo-virtual-group" }, Ube = { class: "umo-virtual-group-row" }, Kbe = { class: "umo-virtual-group-row" }, Wbe = { class: "umo-virtual-group" }, Gbe = { class: "umo-virtual-group" }, qbe = { class: "umo-virtual-group" }, Ybe = { class: "virtual-group is-slot" }, Zbe = { class: "umo-virtual-group" }, Xbe = { class: "umo-virtual-group" }, Jbe = { class: "umo-virtual-group" }, Qbe = { class: "virtual-group is-slot" }, e1e = { class: "umo-virtual-group" }, t1e = { class: "umo-virtual-group" }, n1e = { class: "umo-virtual-group" }, r1e = { class: "umo-virtual-group-row" }, a1e = { class: "umo-virtual-group-row" }, o1e = { class: "umo-virtual-group" }, l1e = { class: "umo-virtual-group-row" }, i1e = { class: "umo-virtual-group-row" }, s1e = { class: "umo-virtual-group" }, u1e = { class: "umo-virtual-group-row" }, c1e = { class: "umo-virtual-group-row" }, d1e = { class: "umo-virtual-group" }, f1e = { class: "umo-virtual-group-row" }, v1e = { class: "umo-virtual-group-row" }, p1e = { class: "umo-virtual-group" }, m1e = { class: "virtual-group is-slot" }, h1e = { class: "umo-virtual-group" }, g1e = { class: "umo-virtual-group" }, b1e = { class: "umo-virtual-group" }, y1e = { class: "umo-virtual-group" }, _1e = { class: "umo-virtual-group" }, w1e = { class: "umo-virtual-group" }, C1e = { class: "umo-virtual-group" }, $1e = { class: "umo-virtual-group-row" }, k1e = { class: "umo-virtual-group-row" }, S1e = { class: "umo-virtual-group-row" }, x1e = {
|
|
42883
42948
|
key: 0,
|
|
42884
|
-
class: "virtual-group"
|
|
42885
|
-
}, O1e = { class: "virtual-group" }, E1e = { class: "virtual-group" }, A1e = { class: "virtual-group is-slot" }, T1e = { class: "virtual-group" }, P1e = { class: "virtual-group" }, M1e = { class: "virtual-group is-slot" }, I1e = {
|
|
42949
|
+
class: "umo-virtual-group"
|
|
42950
|
+
}, O1e = { class: "umo-virtual-group" }, E1e = { class: "umo-virtual-group" }, A1e = { class: "virtual-group is-slot" }, T1e = { class: "umo-virtual-group" }, P1e = { class: "umo-virtual-group" }, M1e = { class: "virtual-group is-slot" }, I1e = {
|
|
42886
42951
|
__name: "ribbon",
|
|
42887
42952
|
props: {
|
|
42888
42953
|
menus: {
|
|
@@ -42904,7 +42969,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42904
42969
|
return x(), re("div", Ibe, [
|
|
42905
42970
|
t.menus.length > 1 ? (x(), re("div", jbe, [
|
|
42906
42971
|
(x(!0), re(he, null, Ve(t.menus, (ba) => (x(), re("div", {
|
|
42907
|
-
class: Fe(["tabs-item", { active: t.currentMenu === ba.value }]),
|
|
42972
|
+
class: Fe(["umo-ribbon-tabs-item", { active: t.currentMenu === ba.value }]),
|
|
42908
42973
|
key: ba.value,
|
|
42909
42974
|
onClick: (np) => s(ba.value)
|
|
42910
42975
|
}, ie(ba.label), 11, Nbe))), 128))
|
|
@@ -42912,7 +42977,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42912
42977
|
p(Qu, {
|
|
42913
42978
|
ref_key: "scrollableRef",
|
|
42914
42979
|
ref: i,
|
|
42915
|
-
class: "scrollable-container"
|
|
42980
|
+
class: "umo-scrollable-container"
|
|
42916
42981
|
}, {
|
|
42917
42982
|
default: z(() => [
|
|
42918
42983
|
M("div", Dbe, [
|
|
@@ -43135,7 +43200,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
43135
43200
|
]);
|
|
43136
43201
|
};
|
|
43137
43202
|
}
|
|
43138
|
-
}, j1e = /* @__PURE__ */ Le(I1e, [["__scopeId", "data-v-
|
|
43203
|
+
}, j1e = /* @__PURE__ */ Le(I1e, [["__scopeId", "data-v-e77dfe4a"]]), L0 = (t) => {
|
|
43139
43204
|
const e = {
|
|
43140
43205
|
justNow: J("time.justNow"),
|
|
43141
43206
|
past: (r) => r.match(/\d/) ? J("time.past", { n: r }) : r,
|
|
@@ -43147,8 +43212,8 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
43147
43212
|
return _k(new Date(t), { messages: e }).value.replace(/"/gi, "");
|
|
43148
43213
|
}, N1e = {
|
|
43149
43214
|
key: 0,
|
|
43150
|
-
class: "toolbar-container"
|
|
43151
|
-
}, D1e = { class: "status" }, B1e = { class: "status-saved button-text" }, F1e = ["textContent"], L1e = ["textContent"], R1e = { class: "document-status-container status" }, z1e = ["textContent"], V1e = ["textContent"], H1e = { class: "document-button-container" }, U1e = { class: "button-text" }, K1e = {
|
|
43215
|
+
class: "umo-toolbar-container"
|
|
43216
|
+
}, D1e = { class: "umo-status" }, B1e = { class: "umo-status-saved button-text" }, F1e = ["textContent"], L1e = ["textContent"], R1e = { class: "umo-document-status-container umo-status" }, z1e = ["textContent"], V1e = ["textContent"], H1e = { class: "umo-document-button-container" }, U1e = { class: "umo-button-text" }, K1e = {
|
|
43152
43217
|
__name: "index",
|
|
43153
43218
|
emits: ["menu-change"],
|
|
43154
43219
|
setup(t, { emit: e }) {
|
|
@@ -43256,7 +43321,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
43256
43321
|
]), 1032, ["menus", "current-menu"])) : se("", !0),
|
|
43257
43322
|
y(i).mode === "source" && y(a).toolbar.enableSourceEditor ? (x(), X(k, { key: 2 })) : se("", !0),
|
|
43258
43323
|
M("div", {
|
|
43259
|
-
class: Fe(["toolbar-actions", y(i).mode])
|
|
43324
|
+
class: Fe(["umo-toolbar-actions", y(i).mode])
|
|
43260
43325
|
}, [
|
|
43261
43326
|
y(i).mode !== "source" && ((K = y(o)) != null && K.isEditable) ? (x(), X(O, {
|
|
43262
43327
|
key: 0,
|
|
@@ -43297,14 +43362,14 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
43297
43362
|
]),
|
|
43298
43363
|
default: z(() => [
|
|
43299
43364
|
p(T, {
|
|
43300
|
-
class: Fe(["button", { active: y(s) }]),
|
|
43365
|
+
class: Fe(["umo-toolbar-actions-button", { active: y(s) }]),
|
|
43301
43366
|
variant: "text",
|
|
43302
43367
|
size: "small"
|
|
43303
43368
|
}, {
|
|
43304
43369
|
default: z(() => [
|
|
43305
43370
|
M("span", D1e, [
|
|
43306
43371
|
M("span", {
|
|
43307
|
-
class: Fe(["status-online", { offline: !y(u) }])
|
|
43372
|
+
class: Fe(["umo-status-online", { offline: !y(u) }])
|
|
43308
43373
|
}, null, 2),
|
|
43309
43374
|
M("span", B1e, [
|
|
43310
43375
|
y(l) ? (x(), re("span", {
|
|
@@ -43351,7 +43416,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
43351
43416
|
]),
|
|
43352
43417
|
default: z(() => [
|
|
43353
43418
|
p(T, {
|
|
43354
|
-
class: "button",
|
|
43419
|
+
class: "umo-toolbar-actions-button",
|
|
43355
43420
|
variant: "text",
|
|
43356
43421
|
size: "small"
|
|
43357
43422
|
}, {
|
|
@@ -43372,7 +43437,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
43372
43437
|
}, {
|
|
43373
43438
|
default: z(() => [
|
|
43374
43439
|
M("div", {
|
|
43375
|
-
class: "show-toolbar",
|
|
43440
|
+
class: "umo-show-toolbar",
|
|
43376
43441
|
onClick: $[2] || ($[2] = (I) => y(i).show = !0)
|
|
43377
43442
|
}, [
|
|
43378
43443
|
p(E, { name: "arrow-down" })
|
|
@@ -43382,7 +43447,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
43382
43447
|
}, 8, ["content"]));
|
|
43383
43448
|
};
|
|
43384
43449
|
}
|
|
43385
|
-
}, W1e = /* @__PURE__ */ Le(K1e, [["__scopeId", "data-v-
|
|
43450
|
+
}, W1e = /* @__PURE__ */ Le(K1e, [["__scopeId", "data-v-c9da0fb8"]]);
|
|
43386
43451
|
/**
|
|
43387
43452
|
* tdesign v1.9.8
|
|
43388
43453
|
* (c) 2024 tdesign
|
|
@@ -43844,7 +43909,7 @@ const q1e = ["id"], Y1e = { class: "umo-toolbar" }, Z1e = { class: "umo-main" },
|
|
|
43844
43909
|
const ue = s.value.zoomLevel;
|
|
43845
43910
|
try {
|
|
43846
43911
|
s.value.zoomLevel = 100;
|
|
43847
|
-
const ne = document.querySelector(`${o} .page-content`);
|
|
43912
|
+
const ne = document.querySelector(`${o} .umo-page-content`);
|
|
43848
43913
|
if (R = "blob")
|
|
43849
43914
|
return await Z0(ne);
|
|
43850
43915
|
if (R = "jpeg")
|