@umoteam/editor 4.1.1 → 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 +393 -346
- 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,31 +39181,29 @@ 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,
|
|
39164
39205
|
setup(t) {
|
|
39165
|
-
const { page: e, exportImage: n } = le(), r = j(null)
|
|
39166
|
-
console.log(t.node.attrs.slots);
|
|
39167
|
-
const a = A(() => {
|
|
39206
|
+
const { page: e, exportImage: n } = le(), r = j(null), a = A(() => {
|
|
39168
39207
|
const { width: l, height: i } = e.value.size;
|
|
39169
39208
|
return {
|
|
39170
39209
|
width: e.value.orientation === "portrait" ? l : i,
|
|
@@ -39185,27 +39224,27 @@ const wme = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edi
|
|
|
39185
39224
|
return x(), X(y(ur), {
|
|
39186
39225
|
ref_key: "containerRef",
|
|
39187
39226
|
ref: r,
|
|
39188
|
-
class: Fe(["page-node-view", { "no-shadow": y(n) }]),
|
|
39227
|
+
class: Fe(["umo-page-node-view", { "no-shadow": y(n) }]),
|
|
39189
39228
|
id: l.node.attrs.id,
|
|
39190
39229
|
style: Qe({
|
|
39191
|
-
"--page-background": y(e).background,
|
|
39192
|
-
"--page-margin-top": y(e).margin.top + "cm",
|
|
39193
|
-
"--page-margin-bottom": y(e).margin.bottom + "cm",
|
|
39194
|
-
"--page-margin-left": y(e).margin.left + "cm",
|
|
39195
|
-
"--page-margin-right": y(e).margin.right + "cm",
|
|
39196
|
-
"--page-width": a.value.width + "cm",
|
|
39197
|
-
"--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"
|
|
39198
39237
|
})
|
|
39199
39238
|
}, {
|
|
39200
39239
|
default: z(() => [
|
|
39201
39240
|
l.node.attrs.pageNumber > 1 ? (x(), re("div", {
|
|
39202
39241
|
key: 0,
|
|
39203
|
-
class: "page-node-view-handler",
|
|
39242
|
+
class: "umo-page-node-view-handler",
|
|
39204
39243
|
title: l.t("pagination.toggle"),
|
|
39205
39244
|
onDblclick: i[0] || (i[0] = (u) => y(e).pagination = !y(e).pagination)
|
|
39206
39245
|
}, null, 40, $me)) : se("", !0),
|
|
39207
39246
|
p(s, Ee({
|
|
39208
|
-
class: "page-watermark",
|
|
39247
|
+
class: "umo-page-watermark",
|
|
39209
39248
|
alpha: y(e).watermark.alpha
|
|
39210
39249
|
}, o.value, {
|
|
39211
39250
|
"watermark-content": y(e).watermark
|
|
@@ -39223,7 +39262,7 @@ const wme = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edi
|
|
|
39223
39262
|
Ome
|
|
39224
39263
|
]),
|
|
39225
39264
|
p(y(G0), {
|
|
39226
|
-
class: "page-node-content",
|
|
39265
|
+
class: "umo-page-node-content",
|
|
39227
39266
|
style: Qe({
|
|
39228
39267
|
height: a.value.height - y(e).margin.top - y(e).margin.bottom + "cm"
|
|
39229
39268
|
})
|
|
@@ -39247,7 +39286,7 @@ const wme = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edi
|
|
|
39247
39286
|
}, 8, ["id", "class", "style"]);
|
|
39248
39287
|
};
|
|
39249
39288
|
}
|
|
39250
|
-
}, Ime = /* @__PURE__ */ Le(Mme, [["__scopeId", "data-v-
|
|
39289
|
+
}, Ime = /* @__PURE__ */ Le(Mme, [["__scopeId", "data-v-8c39b1dd"]]), I0 = [
|
|
39251
39290
|
U2,
|
|
39252
39291
|
ls,
|
|
39253
39292
|
Jv,
|
|
@@ -39744,6 +39783,7 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39744
39783
|
}),
|
|
39745
39784
|
iS.extend({ content: "page+" }),
|
|
39746
39785
|
jme.configure({
|
|
39786
|
+
types: e.value.page.nodesComputedOption.types || [],
|
|
39747
39787
|
slots: W0()
|
|
39748
39788
|
}),
|
|
39749
39789
|
/* Placeholder.configure({
|
|
@@ -39751,7 +39791,7 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39751
39791
|
placeholder: l(options.value.document.placeholder),
|
|
39752
39792
|
}),*/
|
|
39753
39793
|
Ik.configure({
|
|
39754
|
-
className: "node-focused",
|
|
39794
|
+
className: "umo-node-focused",
|
|
39755
39795
|
mode: "all"
|
|
39756
39796
|
}),
|
|
39757
39797
|
nve,
|
|
@@ -39776,7 +39816,7 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39776
39816
|
qk.configure({ nested: !0 }),
|
|
39777
39817
|
uve.configure({
|
|
39778
39818
|
HTMLAttributes: {
|
|
39779
|
-
class: "task-list"
|
|
39819
|
+
class: "umo-task-list"
|
|
39780
39820
|
}
|
|
39781
39821
|
}),
|
|
39782
39822
|
cve.configure({
|
|
@@ -39784,7 +39824,9 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39784
39824
|
defaultLineHeight: v.value
|
|
39785
39825
|
}),
|
|
39786
39826
|
dve,
|
|
39787
|
-
bve
|
|
39827
|
+
bve.configure({
|
|
39828
|
+
searchResultClass: "umo-search-result"
|
|
39829
|
+
}),
|
|
39788
39830
|
Zk,
|
|
39789
39831
|
J1,
|
|
39790
39832
|
Ave,
|
|
@@ -39811,7 +39853,7 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39811
39853
|
onUpdate: (w) => {
|
|
39812
39854
|
s.value = w;
|
|
39813
39855
|
},
|
|
39814
|
-
scrollParent: () => document.querySelector(`${n} .zoomable-container`),
|
|
39856
|
+
scrollParent: () => document.querySelector(`${n} .umo-zoomable-container`),
|
|
39815
39857
|
getId: () => ea(6)
|
|
39816
39858
|
}),
|
|
39817
39859
|
sp.configure(e.value.document.typographyRules),
|
|
@@ -39843,12 +39885,17 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39843
39885
|
const _ = document.createElement("link");
|
|
39844
39886
|
_.href = `${e.value.cdnUrl}/libs/katex/katex.min.css`, _.rel = "stylesheet", _.id = "katex-style", document.querySelector("head").append(_);
|
|
39845
39887
|
}
|
|
39846
|
-
}), window.
|
|
39847
|
-
h.registerPlugin(
|
|
39888
|
+
}), window.addEventListener("load", function() {
|
|
39889
|
+
h.registerPlugin(
|
|
39890
|
+
yme(
|
|
39891
|
+
r,
|
|
39892
|
+
e.value.page.nodesComputedOption.nodesComputed || {}
|
|
39893
|
+
)
|
|
39894
|
+
), setTimeout(() => {
|
|
39848
39895
|
const w = h.state.tr.setMeta("initSplit", !0);
|
|
39849
39896
|
h.view.dispatch(w);
|
|
39850
39897
|
}, 500);
|
|
39851
|
-
};
|
|
39898
|
+
});
|
|
39852
39899
|
let m = j(null);
|
|
39853
39900
|
const g = j({
|
|
39854
39901
|
appendTo: "parent",
|
|
@@ -39876,16 +39923,16 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39876
39923
|
const b = tve, $ = bfe, C = efe;
|
|
39877
39924
|
return x(), re(he, null, [
|
|
39878
39925
|
p(y(Tk), {
|
|
39879
|
-
|
|
39880
|
-
class: Fe(["editor-container", {
|
|
39926
|
+
class: Fe(["umo-editor-container", {
|
|
39881
39927
|
"show-line-number": y(a).showLineNumber,
|
|
39882
39928
|
"format-painter": y(o).enabled,
|
|
39883
39929
|
"disable-page-break": !y(a).pagination
|
|
39884
39930
|
}]),
|
|
39931
|
+
editor: y(r),
|
|
39885
39932
|
style: Qe({ lineHeight: v.value }),
|
|
39886
|
-
|
|
39887
|
-
}, null, 8, ["
|
|
39888
|
-
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), {
|
|
39889
39936
|
key: 0,
|
|
39890
39937
|
class: Fe(["umo-editor-bubble-menu", { assistant: y(i) }]),
|
|
39891
39938
|
editor: y(r),
|
|
@@ -39908,7 +39955,7 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39908
39955
|
], 64);
|
|
39909
39956
|
};
|
|
39910
39957
|
}
|
|
39911
|
-
}, 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 = {
|
|
39912
39959
|
__name: "toc",
|
|
39913
39960
|
setup(t) {
|
|
39914
39961
|
const { container: e, editor: n, tableOfContents: r } = le(), a = (o) => {
|
|
@@ -39922,7 +39969,7 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39922
39969
|
`[data-toc-id="${o.id}"`
|
|
39923
39970
|
);
|
|
39924
39971
|
document.querySelector(
|
|
39925
|
-
`${e} .zoomable-container`
|
|
39972
|
+
`${e} .umo-zoomable-container`
|
|
39926
39973
|
).scrollTo({
|
|
39927
39974
|
top: i.offsetTop + 10
|
|
39928
39975
|
});
|
|
@@ -39948,10 +39995,10 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39948
39995
|
M("div", qme, [
|
|
39949
39996
|
y(r).length === 0 ? (x(), re("div", {
|
|
39950
39997
|
key: 0,
|
|
39951
|
-
class: "toc-empty",
|
|
39998
|
+
class: "umo-toc-empty",
|
|
39952
39999
|
textContent: ie(o.t("toc.empty"))
|
|
39953
40000
|
}, null, 8, Yme)) : (x(!0), re(he, { key: 1 }, Ve(y(r), (s, u) => (x(), re("div", {
|
|
39954
|
-
class: Fe(["toc-item", {
|
|
40001
|
+
class: Fe(["umo-toc-item", {
|
|
39955
40002
|
active: s.isActive,
|
|
39956
40003
|
["level-" + s.level]: !0
|
|
39957
40004
|
}]),
|
|
@@ -39965,7 +40012,7 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39965
40012
|
]);
|
|
39966
40013
|
};
|
|
39967
40014
|
}
|
|
39968
|
-
}, 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 = {
|
|
39969
40016
|
__name: "page",
|
|
39970
40017
|
setup(t) {
|
|
39971
40018
|
const e = le(), { container: n, page: r, imagePreview: a } = le(), o = A(() => {
|
|
@@ -39977,9 +40024,9 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
39977
40024
|
}), l = A(() => `calc(${o.value.width + "cm"} * ${r.value.zoomLevel / 100})`), i = A(() => `calc(${o.value.height + "cm"} * ${r.value.zoomLevel / 100})`);
|
|
39978
40025
|
let s = j();
|
|
39979
40026
|
const u = () => {
|
|
39980
|
-
const v = document.querySelector(`${n} .page-content`);
|
|
40027
|
+
const v = document.querySelector(`${n} .umo-page-content`);
|
|
39981
40028
|
if (!v) {
|
|
39982
|
-
console.warn("The element <.page-content> does not exist.");
|
|
40029
|
+
console.warn("The element <.umo-page-content> does not exist.");
|
|
39983
40030
|
return;
|
|
39984
40031
|
}
|
|
39985
40032
|
s.value = v.clientHeight * r.value.zoomLevel / 100 + "px";
|
|
@@ -40006,7 +40053,7 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
40006
40053
|
return ce(
|
|
40007
40054
|
() => a.value,
|
|
40008
40055
|
(v) => {
|
|
40009
|
-
v ? (document.querySelectorAll(`${n} .page-content img:not(.icon)`).forEach((h) => {
|
|
40056
|
+
v ? (document.querySelectorAll(`${n} .umo-page-content img:not(.icon)`).forEach((h) => {
|
|
40010
40057
|
const m = h.getAttribute("src");
|
|
40011
40058
|
m && c.value.push(m);
|
|
40012
40059
|
}), f.value = images.findIndex((h) => h === v), d.value = !0) : (c.value = [], f.value = 0, d.value = !1);
|
|
@@ -40020,7 +40067,7 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
40020
40067
|
})) : se("", !0),
|
|
40021
40068
|
M("div", the, [
|
|
40022
40069
|
M("div", {
|
|
40023
|
-
class: "zoomable-content",
|
|
40070
|
+
class: "umo-zoomable-content",
|
|
40024
40071
|
style: Qe({
|
|
40025
40072
|
width: l.value,
|
|
40026
40073
|
height: y(s),
|
|
@@ -40028,7 +40075,7 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
40028
40075
|
})
|
|
40029
40076
|
}, [
|
|
40030
40077
|
M("div", {
|
|
40031
|
-
class: "page-content",
|
|
40078
|
+
class: "umo-page-content",
|
|
40032
40079
|
style: Qe({
|
|
40033
40080
|
width: o.value.width + "cm",
|
|
40034
40081
|
transform: `scale(${y(r).zoomLevel / 100})`
|
|
@@ -40057,7 +40104,7 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
40057
40104
|
onClose: h[2] || (h[2] = (C) => a.value = !1)
|
|
40058
40105
|
}, null, 8, ["modelValue", "images", "index"]),
|
|
40059
40106
|
p(_, {
|
|
40060
|
-
container: `${y(n)} .zoomable-container`,
|
|
40107
|
+
container: `${y(n)} .umo-zoomable-container`,
|
|
40061
40108
|
"visible-height": 800,
|
|
40062
40109
|
size: "small",
|
|
40063
40110
|
offset: ["25px", "30px"]
|
|
@@ -40067,20 +40114,20 @@ const Rme = ({ getId: t, anchorTypes: e = ["heading"] }) => new Pr({ key: new dr
|
|
|
40067
40114
|
]);
|
|
40068
40115
|
};
|
|
40069
40116
|
}
|
|
40070
|
-
}, 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" };
|
|
40071
40118
|
function ihe(t, e) {
|
|
40072
40119
|
const n = at;
|
|
40073
40120
|
return x(), re("div", ohe, [
|
|
40074
40121
|
M("h3", lhe, [
|
|
40075
40122
|
p(n, {
|
|
40076
40123
|
name: "code",
|
|
40077
|
-
class: "icon"
|
|
40124
|
+
class: "icon-source"
|
|
40078
40125
|
}),
|
|
40079
40126
|
We(" " + ie(t.t("toolbar.source")), 1)
|
|
40080
40127
|
])
|
|
40081
40128
|
]);
|
|
40082
40129
|
}
|
|
40083
|
-
const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-
|
|
40130
|
+
const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-4818ae6e"]]), uhe = {
|
|
40084
40131
|
__name: "scrollable",
|
|
40085
40132
|
setup(t, { expose: e }) {
|
|
40086
40133
|
const n = j(null), r = j(null);
|
|
@@ -40102,11 +40149,11 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40102
40149
|
return x(), re("div", {
|
|
40103
40150
|
ref_key: "wraperRef",
|
|
40104
40151
|
ref: n,
|
|
40105
|
-
class: "scrollable-container"
|
|
40152
|
+
class: "umo-scrollable-container"
|
|
40106
40153
|
}, [
|
|
40107
40154
|
y(a) ? se("", !0) : (x(), re("div", {
|
|
40108
40155
|
key: 0,
|
|
40109
|
-
class: "scrollable-control left",
|
|
40156
|
+
class: "umo-scrollable-control scrollable-left",
|
|
40110
40157
|
onClick: i
|
|
40111
40158
|
}, [
|
|
40112
40159
|
p(d, { name: "arrow-down" })
|
|
@@ -40114,13 +40161,13 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40114
40161
|
M("div", {
|
|
40115
40162
|
ref_key: "contentRef",
|
|
40116
40163
|
ref: r,
|
|
40117
|
-
class: "scrollable-content"
|
|
40164
|
+
class: "umo-scrollable-content"
|
|
40118
40165
|
}, [
|
|
40119
40166
|
He(c.$slots, "default", {}, void 0, !0)
|
|
40120
40167
|
], 512),
|
|
40121
40168
|
y(o) ? se("", !0) : (x(), re("div", {
|
|
40122
40169
|
key: 1,
|
|
40123
|
-
class: "scrollable-control right",
|
|
40170
|
+
class: "umo-scrollable-control scrollable-right",
|
|
40124
40171
|
onClick: s
|
|
40125
40172
|
}, [
|
|
40126
40173
|
p(d, { name: "arrow-down" })
|
|
@@ -40128,7 +40175,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40128
40175
|
], 512);
|
|
40129
40176
|
};
|
|
40130
40177
|
}
|
|
40131
|
-
}, t$ = /* @__PURE__ */ Le(uhe, [["__scopeId", "data-v-
|
|
40178
|
+
}, t$ = /* @__PURE__ */ Le(uhe, [["__scopeId", "data-v-f4aaf0d0"]]), che = { class: "umo-embed-container" }, dhe = ["textContent"], fhe = {
|
|
40132
40179
|
__name: "embed",
|
|
40133
40180
|
setup(t) {
|
|
40134
40181
|
const { options: e } = le();
|
|
@@ -40158,11 +40205,11 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40158
40205
|
default: z(() => [
|
|
40159
40206
|
M("div", che, [
|
|
40160
40207
|
M("div", {
|
|
40161
|
-
class: "embed-tip",
|
|
40208
|
+
class: "umo-embed-tip",
|
|
40162
40209
|
textContent: ie(o.t("export.embed.tip"))
|
|
40163
40210
|
}, null, 8, dhe),
|
|
40164
40211
|
p(s, {
|
|
40165
|
-
class: "embed-textarea",
|
|
40212
|
+
class: "umo-embed-textarea",
|
|
40166
40213
|
value: y(r),
|
|
40167
40214
|
readonly: "",
|
|
40168
40215
|
autosize: ""
|
|
@@ -40174,7 +40221,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40174
40221
|
], 64);
|
|
40175
40222
|
};
|
|
40176
40223
|
}
|
|
40177
|
-
}, n$ = /* @__PURE__ */ Le(fhe, [["__scopeId", "data-v-
|
|
40224
|
+
}, n$ = /* @__PURE__ */ Le(fhe, [["__scopeId", "data-v-31ddb518"]]), vhe = { class: "umo-share-container" }, phe = ["textContent"], mhe = {
|
|
40178
40225
|
__name: "share",
|
|
40179
40226
|
setup(t) {
|
|
40180
40227
|
const { options: e } = le();
|
|
@@ -40204,11 +40251,11 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40204
40251
|
default: z(() => [
|
|
40205
40252
|
M("div", vhe, [
|
|
40206
40253
|
M("div", {
|
|
40207
|
-
class: "share-tip",
|
|
40254
|
+
class: "umo-share-tip",
|
|
40208
40255
|
textContent: ie(a.t("export.share.tip"))
|
|
40209
40256
|
}, null, 8, phe),
|
|
40210
40257
|
p(i, {
|
|
40211
|
-
class: "share-textarea",
|
|
40258
|
+
class: "umo-share-textarea",
|
|
40212
40259
|
value: y(e).shareUrl,
|
|
40213
40260
|
readonly: "",
|
|
40214
40261
|
autosize: ""
|
|
@@ -40220,7 +40267,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40220
40267
|
], 64);
|
|
40221
40268
|
};
|
|
40222
40269
|
}
|
|
40223
|
-
}, r$ = /* @__PURE__ */ Le(mhe, [["__scopeId", "data-v-
|
|
40270
|
+
}, r$ = /* @__PURE__ */ Le(mhe, [["__scopeId", "data-v-f2e0e340"]]), a$ = {
|
|
40224
40271
|
__name: "text",
|
|
40225
40272
|
setup(t) {
|
|
40226
40273
|
const { options: e, editor: n } = le(), r = () => {
|
|
@@ -40270,7 +40317,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40270
40317
|
a.value = !0;
|
|
40271
40318
|
try {
|
|
40272
40319
|
r.value.zoomLevel = 100, await Ue();
|
|
40273
|
-
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");
|
|
40274
40321
|
Y0(
|
|
40275
40322
|
f,
|
|
40276
40323
|
`${v}${devicePixelRatio > 1 ? "@" + devicePixelRatio + "x" : ""}.${s}`
|
|
@@ -40316,7 +40363,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40316
40363
|
}, null, 8, ["text", "menu-active"]);
|
|
40317
40364
|
};
|
|
40318
40365
|
}
|
|
40319
|
-
}, 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 = {
|
|
40320
40367
|
__name: "background",
|
|
40321
40368
|
setup(t) {
|
|
40322
40369
|
let { popupVisible: e, togglePopup: n } = qt();
|
|
@@ -40343,7 +40390,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40343
40390
|
content: z(() => [
|
|
40344
40391
|
M("div", hhe, [
|
|
40345
40392
|
(x(), re(he, null, Ve(o, (h, m) => M("div", {
|
|
40346
|
-
class: Fe(["background-item", { active: y(a).background === h.value }]),
|
|
40393
|
+
class: Fe(["umo-background-item", { active: y(a).background === h.value }]),
|
|
40347
40394
|
style: Qe({ backgroundColor: h.value }),
|
|
40348
40395
|
key: m,
|
|
40349
40396
|
onClick: (g) => i(h.value)
|
|
@@ -40366,7 +40413,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40366
40413
|
]),
|
|
40367
40414
|
default: z(() => [
|
|
40368
40415
|
M("div", {
|
|
40369
|
-
class: Fe(["background-more", { active: l.value }])
|
|
40416
|
+
class: Fe(["umo-background-more", { active: l.value }])
|
|
40370
40417
|
}, [
|
|
40371
40418
|
M("div", bhe, [
|
|
40372
40419
|
p(c, { name: "palette-color" }),
|
|
@@ -40386,7 +40433,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40386
40433
|
}, 8, ["text", "popup-visible", "onTogglePopup"]);
|
|
40387
40434
|
};
|
|
40388
40435
|
}
|
|
40389
|
-
}, 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 = {
|
|
40390
40437
|
__name: "watermark",
|
|
40391
40438
|
setup(t) {
|
|
40392
40439
|
let { popupVisible: e, togglePopup: n } = qt();
|
|
@@ -40397,7 +40444,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40397
40444
|
a.value.watermark.text = "", e.value = !1;
|
|
40398
40445
|
};
|
|
40399
40446
|
return (i, s) => {
|
|
40400
|
-
const u = fe, c = pr, f =
|
|
40447
|
+
const u = fe, c = pr, f = ga, d = Ul, v = qn, h = Xt;
|
|
40401
40448
|
return x(), X(u, {
|
|
40402
40449
|
ico: "watermark",
|
|
40403
40450
|
text: i.t("page.watermark.text"),
|
|
@@ -40438,15 +40485,15 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40438
40485
|
_: 1
|
|
40439
40486
|
}, 8, ["tooltip"]),
|
|
40440
40487
|
p(f, {
|
|
40441
|
-
"menu-active": y(a).watermark.fontWeight === "bold",
|
|
40442
|
-
onMenuClickThrough: s[2] || (s[2] = (m) => y(a).watermark.fontWeight === "bold" ? y(a).watermark.fontWeight = "normal" : y(a).watermark.fontWeight = "bold")
|
|
40443
|
-
}, null, 8, ["menu-active"]),
|
|
40444
|
-
p(d, {
|
|
40445
40488
|
text: i.t("page.watermark.fontColor"),
|
|
40446
40489
|
"default-color": y(a).watermark.fontColor,
|
|
40447
40490
|
modeless: "",
|
|
40448
|
-
onChange: s[
|
|
40449
|
-
}, 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"])
|
|
40450
40497
|
]),
|
|
40451
40498
|
p(v, {
|
|
40452
40499
|
modelValue: y(a).watermark.text,
|
|
@@ -40457,7 +40504,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40457
40504
|
placeholder: i.t("page.watermark.content")
|
|
40458
40505
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
40459
40506
|
M("div", {
|
|
40460
|
-
class: "watermark-type-title",
|
|
40507
|
+
class: "umo-watermark-type-title",
|
|
40461
40508
|
textContent: ie(i.t("page.watermark.type"))
|
|
40462
40509
|
}, null, 8, khe),
|
|
40463
40510
|
M("div", She, [
|
|
@@ -40482,7 +40529,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40482
40529
|
]),
|
|
40483
40530
|
y(a).watermark.text !== "" ? (x(), X(h, {
|
|
40484
40531
|
key: 0,
|
|
40485
|
-
class: "clear-button",
|
|
40532
|
+
class: "umo-clear-button",
|
|
40486
40533
|
block: "",
|
|
40487
40534
|
variant: "outline",
|
|
40488
40535
|
textContent: ie(i.t("page.watermark.clear")),
|
|
@@ -40494,7 +40541,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40494
40541
|
}, 8, ["text", "popup-visible", "onTogglePopup"]);
|
|
40495
40542
|
};
|
|
40496
40543
|
}
|
|
40497
|
-
}, c$ = /* @__PURE__ */ Le(The, [["__scopeId", "data-v-
|
|
40544
|
+
}, c$ = /* @__PURE__ */ Le(The, [["__scopeId", "data-v-77bc2856"]]), d$ = {
|
|
40498
40545
|
__name: "line-number",
|
|
40499
40546
|
setup(t) {
|
|
40500
40547
|
const { page: e } = le();
|
|
@@ -40568,7 +40615,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40568
40615
|
ico: "page-orientation",
|
|
40569
40616
|
text: r.t("page.orientation.text"),
|
|
40570
40617
|
"menu-type": "dropdown",
|
|
40571
|
-
"overlay-class-name": "page-orientation-dropdown"
|
|
40618
|
+
"overlay-class-name": "umo-page-orientation-dropdown"
|
|
40572
40619
|
}, {
|
|
40573
40620
|
dropmenu: z(() => [
|
|
40574
40621
|
p(i, null, {
|
|
@@ -40581,7 +40628,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40581
40628
|
}, {
|
|
40582
40629
|
default: z(() => [
|
|
40583
40630
|
M("div", {
|
|
40584
|
-
class: Fe(["icon", { rotate: u.value === "
|
|
40631
|
+
class: Fe(["icon-orientation", { rotate: u.value === "landscape" }])
|
|
40585
40632
|
}, [
|
|
40586
40633
|
p(o, { name: "page" })
|
|
40587
40634
|
], 2),
|
|
@@ -40597,7 +40644,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40597
40644
|
}, 8, ["text"]);
|
|
40598
40645
|
};
|
|
40599
40646
|
}
|
|
40600
|
-
}, 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 = {
|
|
40601
40648
|
__name: "page-options",
|
|
40602
40649
|
props: {
|
|
40603
40650
|
visible: {
|
|
@@ -40662,7 +40709,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40662
40709
|
p(m, { value: "portrait" }, {
|
|
40663
40710
|
default: z(() => [
|
|
40664
40711
|
p(h, {
|
|
40665
|
-
class: "rotate",
|
|
40712
|
+
class: "icon-rotate",
|
|
40666
40713
|
name: "page"
|
|
40667
40714
|
}),
|
|
40668
40715
|
We(" " + ie(d.t("page.orientation.portrait")), 1)
|
|
@@ -40681,7 +40728,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40681
40728
|
default: z(() => [
|
|
40682
40729
|
p(b, {
|
|
40683
40730
|
"popup-props": {
|
|
40684
|
-
overlayClassName: "page-size-select",
|
|
40731
|
+
overlayClassName: "umo-page-size-select",
|
|
40685
40732
|
destroyOnClose: !0,
|
|
40686
40733
|
attach: y(r)
|
|
40687
40734
|
},
|
|
@@ -40718,7 +40765,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40718
40765
|
M("div", Nhe, [
|
|
40719
40766
|
M("div", Dhe, [
|
|
40720
40767
|
p($, {
|
|
40721
|
-
class: "page-setting-number",
|
|
40768
|
+
class: "umo-page-setting-number",
|
|
40722
40769
|
modelValue: y(l).size.width,
|
|
40723
40770
|
"onUpdate:modelValue": v[1] || (v[1] = (k) => y(l).size.width = k),
|
|
40724
40771
|
theme: "normal",
|
|
@@ -40733,7 +40780,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40733
40780
|
]),
|
|
40734
40781
|
M("div", Bhe, [
|
|
40735
40782
|
p($, {
|
|
40736
|
-
class: "page-setting-number",
|
|
40783
|
+
class: "umo-page-setting-number",
|
|
40737
40784
|
modelValue: y(l).size.height,
|
|
40738
40785
|
"onUpdate:modelValue": v[3] || (v[3] = (k) => y(l).size.height = k),
|
|
40739
40786
|
theme: "normal",
|
|
@@ -40799,7 +40846,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40799
40846
|
M("div", Hhe, [
|
|
40800
40847
|
M("div", Uhe, [
|
|
40801
40848
|
p($, {
|
|
40802
|
-
class: "page-setting-number",
|
|
40849
|
+
class: "umo-page-setting-number",
|
|
40803
40850
|
modelValue: y(l).margin.top,
|
|
40804
40851
|
"onUpdate:modelValue": v[9] || (v[9] = (k) => y(l).margin.top = k),
|
|
40805
40852
|
theme: "normal",
|
|
@@ -40815,7 +40862,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40815
40862
|
]),
|
|
40816
40863
|
M("div", Khe, [
|
|
40817
40864
|
p($, {
|
|
40818
|
-
class: "page-setting-number",
|
|
40865
|
+
class: "umo-page-setting-number",
|
|
40819
40866
|
modelValue: y(l).margin.bottom,
|
|
40820
40867
|
"onUpdate:modelValue": v[11] || (v[11] = (k) => y(l).margin.bottom = k),
|
|
40821
40868
|
theme: "normal",
|
|
@@ -40831,7 +40878,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40831
40878
|
]),
|
|
40832
40879
|
M("div", Whe, [
|
|
40833
40880
|
p($, {
|
|
40834
|
-
class: "page-setting-number",
|
|
40881
|
+
class: "umo-page-setting-number",
|
|
40835
40882
|
modelValue: y(l).margin.left,
|
|
40836
40883
|
"onUpdate:modelValue": v[13] || (v[13] = (k) => y(l).margin.left = k),
|
|
40837
40884
|
theme: "normal",
|
|
@@ -40847,7 +40894,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40847
40894
|
]),
|
|
40848
40895
|
M("div", Ghe, [
|
|
40849
40896
|
p($, {
|
|
40850
|
-
class: "page-setting-number",
|
|
40897
|
+
class: "umo-page-setting-number",
|
|
40851
40898
|
modelValue: y(l).margin.right,
|
|
40852
40899
|
"onUpdate:modelValue": v[15] || (v[15] = (k) => y(l).margin.right = k),
|
|
40853
40900
|
theme: "normal",
|
|
@@ -40875,7 +40922,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40875
40922
|
}, 8, ["visible", "header"]);
|
|
40876
40923
|
};
|
|
40877
40924
|
}
|
|
40878
|
-
}, h$ = /* @__PURE__ */ Le(qhe, [["__scopeId", "data-v-
|
|
40925
|
+
}, h$ = /* @__PURE__ */ Le(qhe, [["__scopeId", "data-v-6e789392"]]), Yhe = ["textContent"], Zhe = { class: "desc" }, Xhe = ["textContent"], g$ = {
|
|
40879
40926
|
__name: "size",
|
|
40880
40927
|
setup(t) {
|
|
40881
40928
|
const { options: e, page: n } = le();
|
|
@@ -40886,7 +40933,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
40886
40933
|
ico: "page-size",
|
|
40887
40934
|
text: a.t("page.size.text"),
|
|
40888
40935
|
"menu-type": "dropdown",
|
|
40889
|
-
"overlay-class-name": "page-size-dropdown"
|
|
40936
|
+
"overlay-class-name": "umo-page-size-dropdown"
|
|
40890
40937
|
}, {
|
|
40891
40938
|
dropmenu: z(() => [
|
|
40892
40939
|
p(i, null, {
|
|
@@ -41029,7 +41076,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41029
41076
|
tooltip: a.t("tools.chineseCase.tip"),
|
|
41030
41077
|
"menu-type": "dropdown",
|
|
41031
41078
|
huge: "",
|
|
41032
|
-
"overlay-class-name": "chinese-case-dropdown"
|
|
41079
|
+
"overlay-class-name": "umo-chinese-case-dropdown"
|
|
41033
41080
|
}, {
|
|
41034
41081
|
dropmenu: z(() => [
|
|
41035
41082
|
p(i, null, {
|
|
@@ -41201,7 +41248,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41201
41248
|
}, null, 8, ["text", "tooltip", "disabled"]);
|
|
41202
41249
|
};
|
|
41203
41250
|
}
|
|
41204
|
-
}, ege = ["onMouseover"], tge = { class: "table-custom" }, nge = ["textContent"], rge = {
|
|
41251
|
+
}, ege = ["onMouseover"], tge = { class: "umo-table-custom" }, nge = ["textContent"], rge = {
|
|
41205
41252
|
__name: "insert",
|
|
41206
41253
|
setup(t) {
|
|
41207
41254
|
let { popupVisible: e, togglePopup: n } = qt();
|
|
@@ -41232,7 +41279,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41232
41279
|
}, {
|
|
41233
41280
|
content: z(() => [
|
|
41234
41281
|
M("div", {
|
|
41235
|
-
class: "table-grid",
|
|
41282
|
+
class: "umo-table-grid",
|
|
41236
41283
|
onMouseleave: u
|
|
41237
41284
|
}, [
|
|
41238
41285
|
(x(!0), re(he, null, Ve(y(a), (w, _) => (x(), re("div", {
|
|
@@ -41249,7 +41296,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41249
41296
|
], 32),
|
|
41250
41297
|
M("div", tge, [
|
|
41251
41298
|
M("div", {
|
|
41252
|
-
class: "table-custom-title",
|
|
41299
|
+
class: "umo-table-custom-title",
|
|
41253
41300
|
textContent: ie(f.t("table.insert.property"))
|
|
41254
41301
|
}, null, 8, nge),
|
|
41255
41302
|
p(v, {
|
|
@@ -41280,7 +41327,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41280
41327
|
_: 1
|
|
41281
41328
|
}, 8, ["modelValue"]),
|
|
41282
41329
|
p(m, {
|
|
41283
|
-
class: "insert-button",
|
|
41330
|
+
class: "umo-insert-button",
|
|
41284
41331
|
block: "",
|
|
41285
41332
|
theme: "primary",
|
|
41286
41333
|
variant: "base",
|
|
@@ -41293,7 +41340,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41293
41340
|
}, 8, ["text", "tooltip", "popup-visible", "onTogglePopup"]);
|
|
41294
41341
|
};
|
|
41295
41342
|
}
|
|
41296
|
-
}, E$ = /* @__PURE__ */ Le(rge, [["__scopeId", "data-v-
|
|
41343
|
+
}, E$ = /* @__PURE__ */ Le(rge, [["__scopeId", "data-v-378339ef"]]), age = { class: "title" }, oge = {
|
|
41297
41344
|
key: 0,
|
|
41298
41345
|
class: "description"
|
|
41299
41346
|
}, A$ = {
|
|
@@ -41310,7 +41357,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41310
41357
|
text: a.t("insert.template"),
|
|
41311
41358
|
"menu-type": "dropdown",
|
|
41312
41359
|
huge: "",
|
|
41313
|
-
"overlay-class-name": "templates-dropdown"
|
|
41360
|
+
"overlay-class-name": "umo-templates-dropdown"
|
|
41314
41361
|
}, {
|
|
41315
41362
|
dropmenu: z(() => [
|
|
41316
41363
|
p(i, null, {
|
|
@@ -41338,7 +41385,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41338
41385
|
}, 8, ["text"])) : se("", !0);
|
|
41339
41386
|
};
|
|
41340
41387
|
}
|
|
41341
|
-
}, 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 = {
|
|
41342
41389
|
__name: "hr",
|
|
41343
41390
|
setup(t) {
|
|
41344
41391
|
let { popupVisible: e, togglePopup: n } = qt();
|
|
@@ -41377,7 +41424,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41377
41424
|
}, null, 8, sge)
|
|
41378
41425
|
]),
|
|
41379
41426
|
(x(), re(he, null, Ve(o, (g) => M("div", {
|
|
41380
|
-
class: "page-divider-item",
|
|
41427
|
+
class: "umo-page-divider-item",
|
|
41381
41428
|
key: g.value,
|
|
41382
41429
|
value: g.value,
|
|
41383
41430
|
title: g.label,
|
|
@@ -41406,7 +41453,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41406
41453
|
]),
|
|
41407
41454
|
default: z(() => [
|
|
41408
41455
|
M("div", {
|
|
41409
|
-
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) }])
|
|
41410
41457
|
}, [
|
|
41411
41458
|
M("span", {
|
|
41412
41459
|
textContent: ie(c.t("insert.hr.color"))
|
|
@@ -41424,7 +41471,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41424
41471
|
}, 8, ["text", "popup-visible", "onTogglePopup"]);
|
|
41425
41472
|
};
|
|
41426
41473
|
}
|
|
41427
|
-
}, T$ = /* @__PURE__ */ Le(pge, [["__scopeId", "data-v-
|
|
41474
|
+
}, T$ = /* @__PURE__ */ Le(pge, [["__scopeId", "data-v-6e0c71d1"]]), P$ = {
|
|
41428
41475
|
__name: "hard-break",
|
|
41429
41476
|
setup(t) {
|
|
41430
41477
|
const { editor: e } = le();
|
|
@@ -41456,7 +41503,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41456
41503
|
}, null, 8, ["text"]);
|
|
41457
41504
|
};
|
|
41458
41505
|
}
|
|
41459
|
-
}, 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 = {
|
|
41460
41507
|
__name: "emoji",
|
|
41461
41508
|
setup(t) {
|
|
41462
41509
|
let { popupVisible: e, togglePopup: n } = qt();
|
|
@@ -41478,12 +41525,12 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41478
41525
|
M("div", mge, [
|
|
41479
41526
|
(x(!0), re(he, null, Ve(y(r).dicts.emojis, (u, c) => (x(), re(he, { key: c }, [
|
|
41480
41527
|
M("div", {
|
|
41481
|
-
class: "emojis-group-title",
|
|
41528
|
+
class: "umo-emojis-group-title",
|
|
41482
41529
|
textContent: ie(l.l(u.label))
|
|
41483
41530
|
}, null, 8, hge),
|
|
41484
41531
|
M("div", gge, [
|
|
41485
41532
|
(x(!0), re(he, null, Ve(u.items.split(" "), (f, d) => (x(), re("div", {
|
|
41486
|
-
class: "emojis-group-item",
|
|
41533
|
+
class: "umo-emojis-group-item",
|
|
41487
41534
|
key: d,
|
|
41488
41535
|
onClick: (v) => o(f)
|
|
41489
41536
|
}, ie(f), 9, bge))), 128))
|
|
@@ -41495,7 +41542,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41495
41542
|
}, 8, ["text", "popup-visible", "onTogglePopup"]);
|
|
41496
41543
|
};
|
|
41497
41544
|
}
|
|
41498
|
-
}, I$ = /* @__PURE__ */ Le(yge, [["__scopeId", "data-v-
|
|
41545
|
+
}, I$ = /* @__PURE__ */ Le(yge, [["__scopeId", "data-v-9855e75b"]]), j$ = {
|
|
41499
41546
|
__name: "chinese-date",
|
|
41500
41547
|
setup(t) {
|
|
41501
41548
|
const e = (l) => bk(yk(), l).value, n = (l) => {
|
|
@@ -41540,7 +41587,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41540
41587
|
}, null, 8, ["text"]);
|
|
41541
41588
|
};
|
|
41542
41589
|
}
|
|
41543
|
-
}, _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 = {
|
|
41544
41591
|
__name: "symbol",
|
|
41545
41592
|
setup(t) {
|
|
41546
41593
|
let { popupVisible: e, togglePopup: n } = qt();
|
|
@@ -41562,12 +41609,12 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41562
41609
|
M("div", _ge, [
|
|
41563
41610
|
(x(!0), re(he, null, Ve(y(r).dicts.symbols, (u, c) => (x(), re(he, { key: c }, [
|
|
41564
41611
|
M("div", {
|
|
41565
|
-
class: "symbols-group-title",
|
|
41612
|
+
class: "umo-symbols-group-title",
|
|
41566
41613
|
textContent: ie(l.l(u.label))
|
|
41567
41614
|
}, null, 8, wge),
|
|
41568
41615
|
M("div", Cge, [
|
|
41569
41616
|
(x(!0), re(he, null, Ve(u.items.split(""), (f, d) => (x(), re("div", {
|
|
41570
|
-
class: "symbols-group-item",
|
|
41617
|
+
class: "umo-symbols-group-item",
|
|
41571
41618
|
key: d,
|
|
41572
41619
|
onClick: (v) => o(f)
|
|
41573
41620
|
}, ie(f), 9, $ge))), 128))
|
|
@@ -41579,7 +41626,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41579
41626
|
}, 8, ["text", "popup-visible", "onTogglePopup"]);
|
|
41580
41627
|
};
|
|
41581
41628
|
}
|
|
41582
|
-
}, N$ = /* @__PURE__ */ Le(kge, [["__scopeId", "data-v-
|
|
41629
|
+
}, N$ = /* @__PURE__ */ Le(kge, [["__scopeId", "data-v-d839ae45"]]), Sge = { class: "umo-link-container" }, xge = {
|
|
41583
41630
|
__name: "link",
|
|
41584
41631
|
setup(t) {
|
|
41585
41632
|
const { editor: e } = le();
|
|
@@ -41665,7 +41712,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41665
41712
|
], 64);
|
|
41666
41713
|
};
|
|
41667
41714
|
}
|
|
41668
|
-
}, D$ = /* @__PURE__ */ Le(xge, [["__scopeId", "data-v-
|
|
41715
|
+
}, D$ = /* @__PURE__ */ Le(xge, [["__scopeId", "data-v-0426cb1f"]]), B$ = {
|
|
41669
41716
|
__name: "print",
|
|
41670
41717
|
setup(t) {
|
|
41671
41718
|
const { printing: e } = le();
|
|
@@ -41877,7 +41924,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41877
41924
|
}, null, 8, ["text", "menu-active", "disabled"]);
|
|
41878
41925
|
};
|
|
41879
41926
|
}
|
|
41880
|
-
}, Oge = { class: "node-margin-input" }, Ege = {
|
|
41927
|
+
}, Oge = { class: "umo-node-margin-input" }, Ege = {
|
|
41881
41928
|
__name: "margin",
|
|
41882
41929
|
setup(t) {
|
|
41883
41930
|
let { popupVisible: e, togglePopup: n } = qt();
|
|
@@ -41966,7 +42013,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
41966
42013
|
}, 8, ["text", "popup-visible", "onTogglePopup"]);
|
|
41967
42014
|
};
|
|
41968
42015
|
}
|
|
41969
|
-
}, U$ = /* @__PURE__ */ Le(Ege, [["__scopeId", "data-v-
|
|
42016
|
+
}, U$ = /* @__PURE__ */ Le(Ege, [["__scopeId", "data-v-c700e333"]]), K$ = {
|
|
41970
42017
|
__name: "line-height",
|
|
41971
42018
|
setup(t) {
|
|
41972
42019
|
const { options: e, editor: n } = le(), r = A(() => e.value.dicts.lineHeights.map((l) => {
|
|
@@ -42098,7 +42145,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42098
42145
|
}, 8, ["text", "menu-active"]);
|
|
42099
42146
|
};
|
|
42100
42147
|
}
|
|
42101
|
-
}, Age = { class: "bullet-list-group" }, Tge = ["onClick"], Pge = {
|
|
42148
|
+
}, Age = { class: "umo-bullet-list-group" }, Tge = ["onClick"], Pge = {
|
|
42102
42149
|
__name: "bullet-list",
|
|
42103
42150
|
setup(t) {
|
|
42104
42151
|
let { popupVisible: e, togglePopup: n } = qt();
|
|
@@ -42145,11 +42192,11 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42145
42192
|
}, {
|
|
42146
42193
|
default: z(() => [
|
|
42147
42194
|
M("div", {
|
|
42148
|
-
class: Fe(["bullet-list-item", { active: y(o) == v.value }]),
|
|
42195
|
+
class: Fe(["umo-bullet-list-item", { active: y(o) == v.value }]),
|
|
42149
42196
|
onClick: (h) => l(v.value)
|
|
42150
42197
|
}, [
|
|
42151
42198
|
p(u, {
|
|
42152
|
-
class: "icon-bullet-list",
|
|
42199
|
+
class: "umo-icon-bullet-list",
|
|
42153
42200
|
name: `bullet-list-${v.value}`
|
|
42154
42201
|
}, null, 8, ["name"])
|
|
42155
42202
|
], 10, Tge)
|
|
@@ -42162,7 +42209,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42162
42209
|
}, 8, ["text", "menu-active", "popup-visible", "onTogglePopup"]);
|
|
42163
42210
|
};
|
|
42164
42211
|
}
|
|
42165
|
-
}, 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 = {
|
|
42166
42213
|
__name: "ordered-list",
|
|
42167
42214
|
setup(t) {
|
|
42168
42215
|
let { popupVisible: e, togglePopup: n } = qt();
|
|
@@ -42233,11 +42280,11 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42233
42280
|
}, {
|
|
42234
42281
|
default: z(() => [
|
|
42235
42282
|
M("div", {
|
|
42236
|
-
class: Fe(["ordered-list-item", { active: y(o) == g.value }]),
|
|
42283
|
+
class: Fe(["umo-ordered-list-item", { active: y(o) == g.value }]),
|
|
42237
42284
|
onClick: (w) => l(g.value)
|
|
42238
42285
|
}, [
|
|
42239
42286
|
p(f, {
|
|
42240
|
-
class: "icon-ordered-list",
|
|
42287
|
+
class: "umo-icon-ordered-list",
|
|
42241
42288
|
name: `ordered-list-${g.value}`
|
|
42242
42289
|
}, null, 8, ["name"])
|
|
42243
42290
|
], 10, jge)
|
|
@@ -42247,7 +42294,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42247
42294
|
]),
|
|
42248
42295
|
Nge,
|
|
42249
42296
|
M("div", {
|
|
42250
|
-
class: "ordered-list-title",
|
|
42297
|
+
class: "umo-ordered-list-title",
|
|
42251
42298
|
textContent: ie(u.t("list.ordered.property"))
|
|
42252
42299
|
}, null, 8, Dge),
|
|
42253
42300
|
M("div", Bge, [
|
|
@@ -42272,7 +42319,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42272
42319
|
}, 8, ["text", "popup-visible", "menu-active", "onTogglePopup"]);
|
|
42273
42320
|
};
|
|
42274
42321
|
}
|
|
42275
|
-
}, Z$ = /* @__PURE__ */ Le(Lge, [["__scopeId", "data-v-
|
|
42322
|
+
}, Z$ = /* @__PURE__ */ Le(Lge, [["__scopeId", "data-v-bb566d99"]]), X$ = {
|
|
42276
42323
|
__name: "superscript",
|
|
42277
42324
|
setup(t) {
|
|
42278
42325
|
const { editor: e } = le();
|
|
@@ -42387,7 +42434,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42387
42434
|
}, {
|
|
42388
42435
|
default: z(() => [
|
|
42389
42436
|
(x(!0), re(he, null, Ve(g.children, (_) => (x(), X(d, {
|
|
42390
|
-
class: "font-family-item",
|
|
42437
|
+
class: "umo-font-family-item",
|
|
42391
42438
|
value: _.value,
|
|
42392
42439
|
key: _.value,
|
|
42393
42440
|
label: c.l(_.label)
|
|
@@ -42399,7 +42446,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42399
42446
|
}, null, 12, Rge),
|
|
42400
42447
|
l(_.value) ? se("", !0) : (x(), re("span", {
|
|
42401
42448
|
key: 0,
|
|
42402
|
-
class: "unsupport",
|
|
42449
|
+
class: "umo-font-family-unsupport",
|
|
42403
42450
|
title: c.t("base.fontFamily.unsupport")
|
|
42404
42451
|
}, "!", 8, zge))
|
|
42405
42452
|
]),
|
|
@@ -42413,7 +42460,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42413
42460
|
}, 8, ["text", "select-value", "style"]);
|
|
42414
42461
|
};
|
|
42415
42462
|
}
|
|
42416
|
-
}, 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 = {
|
|
42417
42464
|
__name: "heading",
|
|
42418
42465
|
setup(t) {
|
|
42419
42466
|
let { popupVisible: e } = qt();
|
|
@@ -42468,7 +42515,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42468
42515
|
const f = at, d = In, v = Pl, h = fe;
|
|
42469
42516
|
return y(a).mode !== "classic" ? (x(), re("div", {
|
|
42470
42517
|
key: 0,
|
|
42471
|
-
class: Fe(["toolbar-headding", { unfold: y(e) }]),
|
|
42518
|
+
class: Fe(["umo-toolbar-headding", { unfold: y(e) }]),
|
|
42472
42519
|
disabled: !((m = y(r)) != null && m.isEditable)
|
|
42473
42520
|
}, [
|
|
42474
42521
|
M("div", Hge, [
|
|
@@ -42493,7 +42540,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42493
42540
|
attach: y(n),
|
|
42494
42541
|
trigger: "click",
|
|
42495
42542
|
placement: "bottom-right",
|
|
42496
|
-
"overlay-class-name": "heading-container-popup",
|
|
42543
|
+
"overlay-class-name": "umo-heading-container-popup",
|
|
42497
42544
|
"destroy-on-close": "",
|
|
42498
42545
|
visible: y(e)
|
|
42499
42546
|
}, {
|
|
@@ -42501,7 +42548,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42501
42548
|
M("div", {
|
|
42502
42549
|
ref_key: "popupContentRef",
|
|
42503
42550
|
ref: o,
|
|
42504
|
-
class: "heading-container"
|
|
42551
|
+
class: "umo-heading-container"
|
|
42505
42552
|
}, [
|
|
42506
42553
|
(x(!0), re(he, null, Ve(l.value, (g, w) => {
|
|
42507
42554
|
var _;
|
|
@@ -42548,7 +42595,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42548
42595
|
}, {
|
|
42549
42596
|
default: z(() => [
|
|
42550
42597
|
(x(!0), re(he, null, Ve(l.value, (g) => (x(), X(v, {
|
|
42551
|
-
class: "
|
|
42598
|
+
class: "umo-heading-select-option",
|
|
42552
42599
|
key: g.value,
|
|
42553
42600
|
value: g.value,
|
|
42554
42601
|
label: g.label
|
|
@@ -42565,7 +42612,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42565
42612
|
}, 8, ["text", "placeholder", "select-value"]));
|
|
42566
42613
|
};
|
|
42567
42614
|
}
|
|
42568
|
-
}, ek = /* @__PURE__ */ Le(qge, [["__scopeId", "data-v-
|
|
42615
|
+
}, ek = /* @__PURE__ */ Le(qge, [["__scopeId", "data-v-7ed2d884"]]), tk = {
|
|
42569
42616
|
__name: "clear-format",
|
|
42570
42617
|
setup(t) {
|
|
42571
42618
|
const { editor: e } = le();
|
|
@@ -42586,7 +42633,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42586
42633
|
__name: "format-painter",
|
|
42587
42634
|
setup(t) {
|
|
42588
42635
|
const { editor: e, painter: n } = le(), r = (a) => {
|
|
42589
|
-
|
|
42636
|
+
n.value.enabled = !n.value.enabled, n.value.enabled && e.value.chain().focus().setFormatPainter(a).run();
|
|
42590
42637
|
};
|
|
42591
42638
|
return (a, o) => {
|
|
42592
42639
|
var i, s, u;
|
|
@@ -42643,13 +42690,13 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42643
42690
|
}, null, 8, ["text", "disabled"]);
|
|
42644
42691
|
};
|
|
42645
42692
|
}
|
|
42646
|
-
}, Yge = { class: "classic-menu" }, Zge = {
|
|
42693
|
+
}, Yge = { class: "umo-classic-menu" }, Zge = {
|
|
42647
42694
|
key: 0,
|
|
42648
|
-
class: "virtual-group"
|
|
42649
|
-
}, 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 = {
|
|
42650
42697
|
key: 0,
|
|
42651
|
-
class: "virtual-group"
|
|
42652
|
-
}, 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 = {
|
|
42653
42700
|
__name: "classic",
|
|
42654
42701
|
props: {
|
|
42655
42702
|
menus: {
|
|
@@ -42684,7 +42731,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42684
42731
|
return x(), X(np, {
|
|
42685
42732
|
ref_key: "scrollableRef",
|
|
42686
42733
|
ref: c,
|
|
42687
|
-
class: "scrollable-container"
|
|
42734
|
+
class: "umo-scrollable-container"
|
|
42688
42735
|
}, {
|
|
42689
42736
|
default: z(() => [
|
|
42690
42737
|
M("div", Yge, [
|
|
@@ -42894,13 +42941,13 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42894
42941
|
}, 512);
|
|
42895
42942
|
};
|
|
42896
42943
|
}
|
|
42897
|
-
}, Mbe = /* @__PURE__ */ Le(Pbe, [["__scopeId", "data-v-
|
|
42944
|
+
}, Mbe = /* @__PURE__ */ Le(Pbe, [["__scopeId", "data-v-420992a6"]]), Ibe = { class: "umo-ribbon-menu" }, jbe = {
|
|
42898
42945
|
key: 0,
|
|
42899
|
-
class: "ribbon-tabs"
|
|
42900
|
-
}, 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 = {
|
|
42901
42948
|
key: 0,
|
|
42902
|
-
class: "virtual-group"
|
|
42903
|
-
}, 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 = {
|
|
42904
42951
|
__name: "ribbon",
|
|
42905
42952
|
props: {
|
|
42906
42953
|
menus: {
|
|
@@ -42922,7 +42969,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42922
42969
|
return x(), re("div", Ibe, [
|
|
42923
42970
|
t.menus.length > 1 ? (x(), re("div", jbe, [
|
|
42924
42971
|
(x(!0), re(he, null, Ve(t.menus, (ba) => (x(), re("div", {
|
|
42925
|
-
class: Fe(["tabs-item", { active: t.currentMenu === ba.value }]),
|
|
42972
|
+
class: Fe(["umo-ribbon-tabs-item", { active: t.currentMenu === ba.value }]),
|
|
42926
42973
|
key: ba.value,
|
|
42927
42974
|
onClick: (np) => s(ba.value)
|
|
42928
42975
|
}, ie(ba.label), 11, Nbe))), 128))
|
|
@@ -42930,7 +42977,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
42930
42977
|
p(Qu, {
|
|
42931
42978
|
ref_key: "scrollableRef",
|
|
42932
42979
|
ref: i,
|
|
42933
|
-
class: "scrollable-container"
|
|
42980
|
+
class: "umo-scrollable-container"
|
|
42934
42981
|
}, {
|
|
42935
42982
|
default: z(() => [
|
|
42936
42983
|
M("div", Dbe, [
|
|
@@ -43153,7 +43200,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
43153
43200
|
]);
|
|
43154
43201
|
};
|
|
43155
43202
|
}
|
|
43156
|
-
}, j1e = /* @__PURE__ */ Le(I1e, [["__scopeId", "data-v-
|
|
43203
|
+
}, j1e = /* @__PURE__ */ Le(I1e, [["__scopeId", "data-v-e77dfe4a"]]), L0 = (t) => {
|
|
43157
43204
|
const e = {
|
|
43158
43205
|
justNow: J("time.justNow"),
|
|
43159
43206
|
past: (r) => r.match(/\d/) ? J("time.past", { n: r }) : r,
|
|
@@ -43165,8 +43212,8 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
43165
43212
|
return _k(new Date(t), { messages: e }).value.replace(/"/gi, "");
|
|
43166
43213
|
}, N1e = {
|
|
43167
43214
|
key: 0,
|
|
43168
|
-
class: "toolbar-container"
|
|
43169
|
-
}, 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 = {
|
|
43170
43217
|
__name: "index",
|
|
43171
43218
|
emits: ["menu-change"],
|
|
43172
43219
|
setup(t, { emit: e }) {
|
|
@@ -43274,7 +43321,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
43274
43321
|
]), 1032, ["menus", "current-menu"])) : se("", !0),
|
|
43275
43322
|
y(i).mode === "source" && y(a).toolbar.enableSourceEditor ? (x(), X(k, { key: 2 })) : se("", !0),
|
|
43276
43323
|
M("div", {
|
|
43277
|
-
class: Fe(["toolbar-actions", y(i).mode])
|
|
43324
|
+
class: Fe(["umo-toolbar-actions", y(i).mode])
|
|
43278
43325
|
}, [
|
|
43279
43326
|
y(i).mode !== "source" && ((K = y(o)) != null && K.isEditable) ? (x(), X(O, {
|
|
43280
43327
|
key: 0,
|
|
@@ -43315,14 +43362,14 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
43315
43362
|
]),
|
|
43316
43363
|
default: z(() => [
|
|
43317
43364
|
p(T, {
|
|
43318
|
-
class: Fe(["button", { active: y(s) }]),
|
|
43365
|
+
class: Fe(["umo-toolbar-actions-button", { active: y(s) }]),
|
|
43319
43366
|
variant: "text",
|
|
43320
43367
|
size: "small"
|
|
43321
43368
|
}, {
|
|
43322
43369
|
default: z(() => [
|
|
43323
43370
|
M("span", D1e, [
|
|
43324
43371
|
M("span", {
|
|
43325
|
-
class: Fe(["status-online", { offline: !y(u) }])
|
|
43372
|
+
class: Fe(["umo-status-online", { offline: !y(u) }])
|
|
43326
43373
|
}, null, 2),
|
|
43327
43374
|
M("span", B1e, [
|
|
43328
43375
|
y(l) ? (x(), re("span", {
|
|
@@ -43369,7 +43416,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
43369
43416
|
]),
|
|
43370
43417
|
default: z(() => [
|
|
43371
43418
|
p(T, {
|
|
43372
|
-
class: "button",
|
|
43419
|
+
class: "umo-toolbar-actions-button",
|
|
43373
43420
|
variant: "text",
|
|
43374
43421
|
size: "small"
|
|
43375
43422
|
}, {
|
|
@@ -43390,7 +43437,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
43390
43437
|
}, {
|
|
43391
43438
|
default: z(() => [
|
|
43392
43439
|
M("div", {
|
|
43393
|
-
class: "show-toolbar",
|
|
43440
|
+
class: "umo-show-toolbar",
|
|
43394
43441
|
onClick: $[2] || ($[2] = (I) => y(i).show = !0)
|
|
43395
43442
|
}, [
|
|
43396
43443
|
p(E, { name: "arrow-down" })
|
|
@@ -43400,7 +43447,7 @@ const she = /* @__PURE__ */ Le(ahe, [["render", ihe], ["__scopeId", "data-v-191e
|
|
|
43400
43447
|
}, 8, ["content"]));
|
|
43401
43448
|
};
|
|
43402
43449
|
}
|
|
43403
|
-
}, W1e = /* @__PURE__ */ Le(K1e, [["__scopeId", "data-v-
|
|
43450
|
+
}, W1e = /* @__PURE__ */ Le(K1e, [["__scopeId", "data-v-c9da0fb8"]]);
|
|
43404
43451
|
/**
|
|
43405
43452
|
* tdesign v1.9.8
|
|
43406
43453
|
* (c) 2024 tdesign
|
|
@@ -43862,7 +43909,7 @@ const q1e = ["id"], Y1e = { class: "umo-toolbar" }, Z1e = { class: "umo-main" },
|
|
|
43862
43909
|
const ue = s.value.zoomLevel;
|
|
43863
43910
|
try {
|
|
43864
43911
|
s.value.zoomLevel = 100;
|
|
43865
|
-
const ne = document.querySelector(`${o} .page-content`);
|
|
43912
|
+
const ne = document.querySelector(`${o} .umo-page-content`);
|
|
43866
43913
|
if (R = "blob")
|
|
43867
43914
|
return await Z0(ne);
|
|
43868
43915
|
if (R = "jpeg")
|