mme-editor 1.1.21 → 1.1.22
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/mme-editor.js +306 -302
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/mme-editor.js
CHANGED
|
@@ -116,7 +116,7 @@ import wi from "nzh/cn";
|
|
|
116
116
|
import "dom-to-image-more";
|
|
117
117
|
import { ObjectSchema as W5 } from "@eslint/object-schema";
|
|
118
118
|
/**
|
|
119
|
-
* mme-editor 1.1.
|
|
119
|
+
* mme-editor 1.1.22
|
|
120
120
|
* @license MIT
|
|
121
121
|
* @author finthing http://www.finething.net
|
|
122
122
|
* @see http://www.finething.net
|
|
@@ -56781,7 +56781,7 @@ function oOe(t, e, n, r, a, o) {
|
|
|
56781
56781
|
], 6);
|
|
56782
56782
|
}
|
|
56783
56783
|
const lOe = /* @__PURE__ */ nt(rOe, [["render", oOe]]);
|
|
56784
|
-
const iOe = ["data-workitem-instid"], uOe = { class: "umo-node-workitem-inner" }, sOe = { class: "workitem-header" }, cOe = { class: "context-menu-popup" },
|
|
56784
|
+
const iOe = ["data-workitem-instid"], uOe = { class: "umo-node-workitem-inner" }, sOe = { class: "workitem-header" }, cOe = ["title"], dOe = { class: "context-menu-popup" }, vOe = { class: "btn-box" }, fOe = { class: "btn-box" }, mOe = { class: "btn-box" }, pOe = { class: "btn-box" }, hOe = { class: "btn-box" }, gOe = { class: "btn-box" }, bOe = { class: "btn-box" }, yOe = { class: "doc-title" }, _Oe = /* @__PURE__ */ ee({
|
|
56785
56785
|
__name: "node-view",
|
|
56786
56786
|
props: br,
|
|
56787
56787
|
setup(t) {
|
|
@@ -56949,18 +56949,22 @@ const iOe = ["data-workitem-instid"], uOe = { class: "umo-node-workitem-inner" }
|
|
|
56949
56949
|
disabled: (($ = k(r).preview) == null ? void 0 : $.enabled) || ((I = k(e).document) == null ? void 0 : I.readOnly) || !((B = T.editor) != null && B.isEditable)
|
|
56950
56950
|
}, {
|
|
56951
56951
|
reference: ne(() => [
|
|
56952
|
-
|
|
56953
|
-
onClick: A[0] || (A[0] = Jv(() => {
|
|
56954
|
-
}, ["stop"])),
|
|
56955
|
-
"icon-class": T.node.attrs.workitemIcon,
|
|
56956
|
-
class: "icon",
|
|
56952
|
+
U("div", {
|
|
56957
56953
|
title: `${T.node.attrs.workitemType || ""} - ${T.node.attrs.workitemId || ""}`,
|
|
56958
|
-
style: {
|
|
56959
|
-
},
|
|
56954
|
+
style: { display: "inline-block" }
|
|
56955
|
+
}, [
|
|
56956
|
+
g(S, {
|
|
56957
|
+
onClick: A[0] || (A[0] = Jv(() => {
|
|
56958
|
+
}, ["stop"])),
|
|
56959
|
+
"icon-class": T.node.attrs.workitemIcon,
|
|
56960
|
+
class: "icon",
|
|
56961
|
+
style: { width: "14px", height: "14px", "min-width": "14px", margin: "3px 10px 0 0" }
|
|
56962
|
+
}, null, 8, ["icon-class"])
|
|
56963
|
+
], 8, cOe)
|
|
56960
56964
|
]),
|
|
56961
56965
|
default: ne(() => [
|
|
56962
|
-
U("div",
|
|
56963
|
-
U("div",
|
|
56966
|
+
U("div", dOe, [
|
|
56967
|
+
U("div", vOe, [
|
|
56964
56968
|
g(k(vo), {
|
|
56965
56969
|
link: "",
|
|
56966
56970
|
class: "btn-item",
|
|
@@ -56972,7 +56976,7 @@ const iOe = ["data-workitem-instid"], uOe = { class: "umo-node-workitem-inner" }
|
|
|
56972
56976
|
_: 1
|
|
56973
56977
|
})
|
|
56974
56978
|
]),
|
|
56975
|
-
U("div",
|
|
56979
|
+
U("div", fOe, [
|
|
56976
56980
|
g(k(vo), {
|
|
56977
56981
|
link: "",
|
|
56978
56982
|
class: "btn-item",
|
|
@@ -56984,7 +56988,7 @@ const iOe = ["data-workitem-instid"], uOe = { class: "umo-node-workitem-inner" }
|
|
|
56984
56988
|
_: 1
|
|
56985
56989
|
})
|
|
56986
56990
|
]),
|
|
56987
|
-
U("div",
|
|
56991
|
+
U("div", mOe, [
|
|
56988
56992
|
g(k(vo), {
|
|
56989
56993
|
link: "",
|
|
56990
56994
|
class: "btn-item",
|
|
@@ -56996,7 +57000,7 @@ const iOe = ["data-workitem-instid"], uOe = { class: "umo-node-workitem-inner" }
|
|
|
56996
57000
|
_: 1
|
|
56997
57001
|
})
|
|
56998
57002
|
]),
|
|
56999
|
-
U("div",
|
|
57003
|
+
U("div", pOe, [
|
|
57000
57004
|
g(k(vo), {
|
|
57001
57005
|
link: "",
|
|
57002
57006
|
class: "btn-item",
|
|
@@ -57008,7 +57012,7 @@ const iOe = ["data-workitem-instid"], uOe = { class: "umo-node-workitem-inner" }
|
|
|
57008
57012
|
_: 1
|
|
57009
57013
|
})
|
|
57010
57014
|
]),
|
|
57011
|
-
U("div",
|
|
57015
|
+
U("div", hOe, [
|
|
57012
57016
|
g(k(vo), {
|
|
57013
57017
|
link: "",
|
|
57014
57018
|
class: "btn-item",
|
|
@@ -57020,7 +57024,7 @@ const iOe = ["data-workitem-instid"], uOe = { class: "umo-node-workitem-inner" }
|
|
|
57020
57024
|
_: 1
|
|
57021
57025
|
})
|
|
57022
57026
|
]),
|
|
57023
|
-
U("div",
|
|
57027
|
+
U("div", gOe, [
|
|
57024
57028
|
g(k(vo), {
|
|
57025
57029
|
link: "",
|
|
57026
57030
|
class: "btn-item",
|
|
@@ -57032,7 +57036,7 @@ const iOe = ["data-workitem-instid"], uOe = { class: "umo-node-workitem-inner" }
|
|
|
57032
57036
|
_: 1
|
|
57033
57037
|
})
|
|
57034
57038
|
]),
|
|
57035
|
-
U("div",
|
|
57039
|
+
U("div", bOe, [
|
|
57036
57040
|
g(k(vo), {
|
|
57037
57041
|
link: "",
|
|
57038
57042
|
class: "btn-item",
|
|
@@ -57052,7 +57056,7 @@ const iOe = ["data-workitem-instid"], uOe = { class: "umo-node-workitem-inner" }
|
|
|
57052
57056
|
class: "workitem-left",
|
|
57053
57057
|
onMousedown: Jv(E, ["stop"])
|
|
57054
57058
|
}, [
|
|
57055
|
-
U("span",
|
|
57059
|
+
U("span", yOe, [
|
|
57056
57060
|
U("span", null, pe(T.node.attrs.outline), 1),
|
|
57057
57061
|
A[13] || (A[13] = qe(" ", -1)),
|
|
57058
57062
|
U("span", {
|
|
@@ -57081,8 +57085,8 @@ const iOe = ["data-workitem-instid"], uOe = { class: "umo-node-workitem-inner" }
|
|
|
57081
57085
|
};
|
|
57082
57086
|
}
|
|
57083
57087
|
});
|
|
57084
|
-
const
|
|
57085
|
-
function
|
|
57088
|
+
const wOe = /* @__PURE__ */ nt(_Oe, [["__scopeId", "data-v-8b9373c6"]]);
|
|
57089
|
+
function COe(t, e) {
|
|
57086
57090
|
if (!t || typeof t != "string")
|
|
57087
57091
|
return e.nodeFromJSON({ type: "paragraph" });
|
|
57088
57092
|
const n = document.createElement("div");
|
|
@@ -57093,7 +57097,7 @@ function wOe(t, e) {
|
|
|
57093
57097
|
content: a.toJSON().content
|
|
57094
57098
|
});
|
|
57095
57099
|
}
|
|
57096
|
-
const
|
|
57100
|
+
const kOe = gr.create({
|
|
57097
57101
|
name: "workitem",
|
|
57098
57102
|
group: "block",
|
|
57099
57103
|
content: "block+",
|
|
@@ -57180,7 +57184,7 @@ const COe = gr.create({
|
|
|
57180
57184
|
return ["workitem", or(t), 0];
|
|
57181
57185
|
},
|
|
57182
57186
|
addNodeView() {
|
|
57183
|
-
return _r(
|
|
57187
|
+
return _r(wOe);
|
|
57184
57188
|
},
|
|
57185
57189
|
addCommands() {
|
|
57186
57190
|
return {
|
|
@@ -57193,7 +57197,7 @@ const COe = gr.create({
|
|
|
57193
57197
|
if (t.content) {
|
|
57194
57198
|
const s = t.content;
|
|
57195
57199
|
if (/<[a-z][\s\S]*>/i.test(s))
|
|
57196
|
-
a =
|
|
57200
|
+
a = COe(s, e.schema).content;
|
|
57197
57201
|
else {
|
|
57198
57202
|
const d = typeof s == "string" ? JSON.parse(s) : s;
|
|
57199
57203
|
a = e.schema.nodeFromJSON({
|
|
@@ -57245,10 +57249,10 @@ const COe = gr.create({
|
|
|
57245
57249
|
})
|
|
57246
57250
|
];
|
|
57247
57251
|
}
|
|
57248
|
-
}),
|
|
57252
|
+
}), xOe = { class: "umo-node-container umo-hover-shadow umo-node-video" }, SOe = ["src"], OOe = {
|
|
57249
57253
|
key: 0,
|
|
57250
57254
|
class: "uploading"
|
|
57251
|
-
},
|
|
57255
|
+
}, $Oe = /* @__PURE__ */ ee({
|
|
57252
57256
|
__name: "node-view",
|
|
57253
57257
|
props: br,
|
|
57254
57258
|
setup(t) {
|
|
@@ -57312,7 +57316,7 @@ const COe = gr.create({
|
|
|
57312
57316
|
style: Et(c.value)
|
|
57313
57317
|
}, {
|
|
57314
57318
|
default: ne(() => [
|
|
57315
|
-
U("div",
|
|
57319
|
+
U("div", xOe, [
|
|
57316
57320
|
g(k(gu), {
|
|
57317
57321
|
selected: k(o),
|
|
57318
57322
|
rotatable: !1,
|
|
@@ -57336,8 +57340,8 @@ const COe = gr.create({
|
|
|
57336
57340
|
controls: "",
|
|
57337
57341
|
crossorigin: "anonymous",
|
|
57338
57342
|
onCanplay: d
|
|
57339
|
-
}, null, 40,
|
|
57340
|
-
!f.node.attrs.uploaded && f.node.attrs.file !== null ? (R(), se("div",
|
|
57343
|
+
}, null, 40, SOe),
|
|
57344
|
+
!f.node.attrs.uploaded && f.node.attrs.file !== null ? (R(), se("div", OOe)) : re("", !0)
|
|
57341
57345
|
]),
|
|
57342
57346
|
_: 1
|
|
57343
57347
|
}, 8, ["selected", "width", "height", "max-width", "max-height"])
|
|
@@ -57347,7 +57351,7 @@ const COe = gr.create({
|
|
|
57347
57351
|
}, 8, ["id", "style"]));
|
|
57348
57352
|
}
|
|
57349
57353
|
});
|
|
57350
|
-
const
|
|
57354
|
+
const POe = gr.create({
|
|
57351
57355
|
name: "video",
|
|
57352
57356
|
group: "block",
|
|
57353
57357
|
atom: !0,
|
|
@@ -57395,7 +57399,7 @@ const $Oe = gr.create({
|
|
|
57395
57399
|
return ["video", or(t)];
|
|
57396
57400
|
},
|
|
57397
57401
|
addNodeView() {
|
|
57398
|
-
return _r(
|
|
57402
|
+
return _r($Oe);
|
|
57399
57403
|
},
|
|
57400
57404
|
addCommands() {
|
|
57401
57405
|
return {
|
|
@@ -57405,7 +57409,7 @@ const $Oe = gr.create({
|
|
|
57405
57409
|
})
|
|
57406
57410
|
};
|
|
57407
57411
|
}
|
|
57408
|
-
}),
|
|
57412
|
+
}), EOe = V5.extend({
|
|
57409
57413
|
content: "heading block*|block+",
|
|
57410
57414
|
addAttributes() {
|
|
57411
57415
|
return {
|
|
@@ -57420,11 +57424,11 @@ const $Oe = gr.create({
|
|
|
57420
57424
|
}
|
|
57421
57425
|
};
|
|
57422
57426
|
}
|
|
57423
|
-
}),
|
|
57427
|
+
}), TOe = EOe.configure({
|
|
57424
57428
|
HTMLAttributes: {
|
|
57425
57429
|
class: "umo-node-page-title"
|
|
57426
57430
|
}
|
|
57427
|
-
}),
|
|
57431
|
+
}), MOe = ({
|
|
57428
57432
|
container: t,
|
|
57429
57433
|
options: e
|
|
57430
57434
|
}) => {
|
|
@@ -57481,7 +57485,7 @@ const $Oe = gr.create({
|
|
|
57481
57485
|
}),
|
|
57482
57486
|
u5,
|
|
57483
57487
|
q4,
|
|
57484
|
-
|
|
57488
|
+
POe,
|
|
57485
57489
|
Sxe,
|
|
57486
57490
|
Bke,
|
|
57487
57491
|
GSe,
|
|
@@ -57504,7 +57508,7 @@ const $Oe = gr.create({
|
|
|
57504
57508
|
// 页面
|
|
57505
57509
|
nOe,
|
|
57506
57510
|
// 工作项
|
|
57507
|
-
|
|
57511
|
+
kOe,
|
|
57508
57512
|
Dxe.configure({
|
|
57509
57513
|
visible: e.value.page.showBreakMarks
|
|
57510
57514
|
}),
|
|
@@ -57547,7 +57551,7 @@ const $Oe = gr.create({
|
|
|
57547
57551
|
color: "var(--umo-primary-color)"
|
|
57548
57552
|
}),
|
|
57549
57553
|
tSe,
|
|
57550
|
-
o.fromType === "" ?
|
|
57554
|
+
o.fromType === "" ? TOe : ""
|
|
57551
57555
|
// 文档编辑用PageTitle,若是用于工作项和评论,则不用
|
|
57552
57556
|
];
|
|
57553
57557
|
}, SC = (t) => {
|
|
@@ -57556,7 +57560,7 @@ const $Oe = gr.create({
|
|
|
57556
57560
|
const n = Nt("document", t);
|
|
57557
57561
|
return (!((r = t.value.document) != null && r.enableMarkdown) || !((a = n.value) != null && a.enableMarkdown)) && (e = [V4, LC, q4]), e;
|
|
57558
57562
|
}, n$ = (t) => t && typeof t == "string" && !t.startsWith("<") ? t.split(`
|
|
57559
|
-
`).map((e) => `<p>${e}</p>`).join("") : t,
|
|
57563
|
+
`).map((e) => `<p>${e}</p>`).join("") : t, AOe = /* @__PURE__ */ ee({
|
|
57560
57564
|
__name: "index",
|
|
57561
57565
|
setup(t) {
|
|
57562
57566
|
var v, f, m, p, h;
|
|
@@ -57565,7 +57569,7 @@ const $Oe = gr.create({
|
|
|
57565
57569
|
var y, b, w;
|
|
57566
57570
|
return (w = (b = (y = r.value.dicts) == null ? void 0 : y.lineHeights) == null ? void 0 : b.find((_) => _.default)) == null ? void 0 : w.value;
|
|
57567
57571
|
}
|
|
57568
|
-
), l = te("container"), i =
|
|
57572
|
+
), l = te("container"), i = MOe({
|
|
57569
57573
|
container: l,
|
|
57570
57574
|
options: r
|
|
57571
57575
|
}), u = new U3({
|
|
@@ -57657,7 +57661,7 @@ const $Oe = gr.create({
|
|
|
57657
57661
|
};
|
|
57658
57662
|
}
|
|
57659
57663
|
});
|
|
57660
|
-
const
|
|
57664
|
+
const DOe = { class: "umo-toc-container" }, jOe = { class: "umo-toc-title" }, IOe = { class: "umo-toc-content umo-scrollbar" }, Gv = 320, FOe = /* @__PURE__ */ ee({
|
|
57661
57665
|
__name: "toc",
|
|
57662
57666
|
emits: ["close"],
|
|
57663
57667
|
setup(t) {
|
|
@@ -57732,8 +57736,8 @@ const AOe = { class: "umo-toc-container" }, DOe = { class: "umo-toc-title" }, jO
|
|
|
57732
57736
|
};
|
|
57733
57737
|
return (m, p) => {
|
|
57734
57738
|
const h = Ft, y = WZ;
|
|
57735
|
-
return R(), se("div",
|
|
57736
|
-
U("div",
|
|
57739
|
+
return R(), se("div", DOe, [
|
|
57740
|
+
U("div", jOe, [
|
|
57737
57741
|
g(h, {
|
|
57738
57742
|
class: "icon-toc",
|
|
57739
57743
|
name: "toc"
|
|
@@ -57746,7 +57750,7 @@ const AOe = { class: "umo-toc-container" }, DOe = { class: "umo-toc-title" }, jO
|
|
|
57746
57750
|
g(h, { name: "close" })
|
|
57747
57751
|
])
|
|
57748
57752
|
]),
|
|
57749
|
-
U("div",
|
|
57753
|
+
U("div", IOe, [
|
|
57750
57754
|
g(y, {
|
|
57751
57755
|
class: "umo-toc-tree",
|
|
57752
57756
|
data: k(r),
|
|
@@ -57770,7 +57774,7 @@ const AOe = { class: "umo-toc-container" }, DOe = { class: "umo-toc-title" }, jO
|
|
|
57770
57774
|
};
|
|
57771
57775
|
}
|
|
57772
57776
|
});
|
|
57773
|
-
const
|
|
57777
|
+
const ROe = /* @__PURE__ */ nt(FOe, [["__scopeId", "data-v-15a6ed2f"]]), BOe = { class: "umo-page-container" }, NOe = { class: "umo-page-node-content" }, LOe = /* @__PURE__ */ ee({
|
|
57774
57778
|
__name: "page",
|
|
57775
57779
|
setup(t) {
|
|
57776
57780
|
const e = te("container"), n = te("imageViewer"), r = te("page"), a = F(() => {
|
|
@@ -57842,8 +57846,8 @@ const FOe = /* @__PURE__ */ nt(IOe, [["__scopeId", "data-v-15a6ed2f"]]), ROe = {
|
|
|
57842
57846
|
}
|
|
57843
57847
|
), (v, f) => {
|
|
57844
57848
|
var C, E, M, D, x, O, P, j, T, A;
|
|
57845
|
-
const m =
|
|
57846
|
-
return R(), se("div",
|
|
57849
|
+
const m = ROe, p = AOe, h = wne, y = pee, b = iq, w = bwe, _ = cwe;
|
|
57850
|
+
return R(), se("div", BOe, [
|
|
57847
57851
|
k(r).showToc ? (R(), Y(m, {
|
|
57848
57852
|
key: 0,
|
|
57849
57853
|
onClose: f[0] || (f[0] = (S) => k(r).showToc = !1)
|
|
@@ -57890,7 +57894,7 @@ const FOe = /* @__PURE__ */ nt(IOe, [["__scopeId", "data-v-15a6ed2f"]]), ROe = {
|
|
|
57890
57894
|
style: { width: "var(--umo-page-margin-right)" }
|
|
57891
57895
|
})
|
|
57892
57896
|
], -1)),
|
|
57893
|
-
U("div",
|
|
57897
|
+
U("div", NOe, [
|
|
57894
57898
|
g(p, null, {
|
|
57895
57899
|
bubble_menu: ne((S) => [
|
|
57896
57900
|
Mt(v.$slots, "bubble_menu", El(Tl(S)), void 0, !0)
|
|
@@ -57937,12 +57941,12 @@ const FOe = /* @__PURE__ */ nt(IOe, [["__scopeId", "data-v-15a6ed2f"]]), ROe = {
|
|
|
57937
57941
|
};
|
|
57938
57942
|
}
|
|
57939
57943
|
});
|
|
57940
|
-
const
|
|
57941
|
-
const
|
|
57942
|
-
function
|
|
57944
|
+
const zOe = /* @__PURE__ */ nt(LOe, [["__scopeId", "data-v-446eee68"]]);
|
|
57945
|
+
const VOe = {}, HOe = { class: "umo-source-container" }, KOe = { class: "umo-source-title" };
|
|
57946
|
+
function WOe(t, e) {
|
|
57943
57947
|
const n = Ft;
|
|
57944
|
-
return R(), se("div",
|
|
57945
|
-
U("h3",
|
|
57948
|
+
return R(), se("div", HOe, [
|
|
57949
|
+
U("h3", KOe, [
|
|
57946
57950
|
g(n, {
|
|
57947
57951
|
name: "code",
|
|
57948
57952
|
class: "icon-source"
|
|
@@ -57951,7 +57955,7 @@ function KOe(t, e) {
|
|
|
57951
57955
|
])
|
|
57952
57956
|
]);
|
|
57953
57957
|
}
|
|
57954
|
-
const
|
|
57958
|
+
const UOe = /* @__PURE__ */ nt(VOe, [["render", WOe], ["__scopeId", "data-v-08a00f8c"]]), YOe = /* @__PURE__ */ ee({
|
|
57955
57959
|
__name: "scrollable",
|
|
57956
57960
|
setup(t, { expose: e }) {
|
|
57957
57961
|
const n = N(null), r = N(null);
|
|
@@ -58011,7 +58015,7 @@ const WOe = /* @__PURE__ */ nt(zOe, [["render", KOe], ["__scopeId", "data-v-08a0
|
|
|
58011
58015
|
};
|
|
58012
58016
|
}
|
|
58013
58017
|
});
|
|
58014
|
-
const r$ = /* @__PURE__ */ nt(
|
|
58018
|
+
const r$ = /* @__PURE__ */ nt(YOe, [["__scopeId", "data-v-27ac3707"]]), qOe = { class: "umo-embed-container" }, GOe = ["textContent"], XOe = /* @__PURE__ */ ee({
|
|
58015
58019
|
__name: "embed",
|
|
58016
58020
|
setup(t) {
|
|
58017
58021
|
const e = te("options"), n = te("container");
|
|
@@ -58042,11 +58046,11 @@ const r$ = /* @__PURE__ */ nt(UOe, [["__scopeId", "data-v-27ac3707"]]), YOe = {
|
|
|
58042
58046
|
onClose: i[1] || (i[1] = (d) => et(r) ? r.value = !1 : r = !1)
|
|
58043
58047
|
}, {
|
|
58044
58048
|
default: ne(() => [
|
|
58045
|
-
U("div",
|
|
58049
|
+
U("div", qOe, [
|
|
58046
58050
|
U("div", {
|
|
58047
58051
|
class: "umo-embed-tip",
|
|
58048
58052
|
textContent: pe(l.t("export.embed.tip"))
|
|
58049
|
-
}, null, 8,
|
|
58053
|
+
}, null, 8, GOe),
|
|
58050
58054
|
g(s, {
|
|
58051
58055
|
class: "umo-embed-textarea",
|
|
58052
58056
|
value: k(a),
|
|
@@ -58061,7 +58065,7 @@ const r$ = /* @__PURE__ */ nt(UOe, [["__scopeId", "data-v-27ac3707"]]), YOe = {
|
|
|
58061
58065
|
};
|
|
58062
58066
|
}
|
|
58063
58067
|
});
|
|
58064
|
-
const a$ = /* @__PURE__ */ nt(
|
|
58068
|
+
const a$ = /* @__PURE__ */ nt(XOe, [["__scopeId", "data-v-a150756b"]]), JOe = { class: "umo-share-container" }, ZOe = ["textContent"], QOe = /* @__PURE__ */ ee({
|
|
58065
58069
|
__name: "share",
|
|
58066
58070
|
setup(t) {
|
|
58067
58071
|
const e = te("options"), n = te("container");
|
|
@@ -58092,11 +58096,11 @@ const a$ = /* @__PURE__ */ nt(GOe, [["__scopeId", "data-v-a150756b"]]), XOe = {
|
|
|
58092
58096
|
onClose: l[1] || (l[1] = (c) => et(r) ? r.value = !1 : r = !1)
|
|
58093
58097
|
}, {
|
|
58094
58098
|
default: ne(() => [
|
|
58095
|
-
U("div",
|
|
58099
|
+
U("div", JOe, [
|
|
58096
58100
|
U("div", {
|
|
58097
58101
|
class: "umo-share-tip",
|
|
58098
58102
|
textContent: pe(o.t("export.share.tip"))
|
|
58099
|
-
}, null, 8,
|
|
58103
|
+
}, null, 8, ZOe),
|
|
58100
58104
|
g(u, {
|
|
58101
58105
|
class: "umo-share-textarea",
|
|
58102
58106
|
value: k(e).shareUrl,
|
|
@@ -58111,7 +58115,7 @@ const a$ = /* @__PURE__ */ nt(GOe, [["__scopeId", "data-v-a150756b"]]), XOe = {
|
|
|
58111
58115
|
};
|
|
58112
58116
|
}
|
|
58113
58117
|
});
|
|
58114
|
-
const o$ = /* @__PURE__ */ nt(
|
|
58118
|
+
const o$ = /* @__PURE__ */ nt(QOe, [["__scopeId", "data-v-b21964a1"]]), l$ = /* @__PURE__ */ ee({
|
|
58115
58119
|
__name: "text",
|
|
58116
58120
|
setup(t) {
|
|
58117
58121
|
const e = te("editor"), n = te("options"), r = () => {
|
|
@@ -58213,7 +58217,7 @@ const o$ = /* @__PURE__ */ nt(ZOe, [["__scopeId", "data-v-b21964a1"]]), l$ = /*
|
|
|
58213
58217
|
}, null, 8, ["text", "menu-active"])) : re("", !0);
|
|
58214
58218
|
};
|
|
58215
58219
|
}
|
|
58216
|
-
}),
|
|
58220
|
+
}), e4e = { class: "umo-background-container" }, t4e = ["onClick"], n4e = { class: "umo-background-more-menu" }, r4e = ["textContent"], a4e = { class: "umo-background-more-arrow" }, o4e = /* @__PURE__ */ ee({
|
|
58217
58221
|
__name: "background",
|
|
58218
58222
|
setup(t) {
|
|
58219
58223
|
const { popupVisible: e, togglePopup: n } = fn(), r = te("container"), a = te("page"), o = te("options"), l = [
|
|
@@ -58237,13 +58241,13 @@ const o$ = /* @__PURE__ */ nt(ZOe, [["__scopeId", "data-v-b21964a1"]]), l$ = /*
|
|
|
58237
58241
|
onTogglePopup: k(n)
|
|
58238
58242
|
}, {
|
|
58239
58243
|
content: ne(() => [
|
|
58240
|
-
U("div",
|
|
58244
|
+
U("div", e4e, [
|
|
58241
58245
|
(R(), se(Te, null, ct(l, (p, h) => U("div", {
|
|
58242
58246
|
key: h,
|
|
58243
58247
|
class: Qe(["umo-background-item", { active: k(a).background === p.value }]),
|
|
58244
58248
|
style: Et({ backgroundColor: p.value }),
|
|
58245
58249
|
onClick: (y) => u(p.value ?? "")
|
|
58246
|
-
}, pe(p.label), 15,
|
|
58250
|
+
}, pe(p.label), 15, t4e)), 64))
|
|
58247
58251
|
]),
|
|
58248
58252
|
g(f, {
|
|
58249
58253
|
attach: k(r),
|
|
@@ -58264,13 +58268,13 @@ const o$ = /* @__PURE__ */ nt(ZOe, [["__scopeId", "data-v-b21964a1"]]), l$ = /*
|
|
|
58264
58268
|
U("div", {
|
|
58265
58269
|
class: Qe(["umo-background-more", { active: i.value }])
|
|
58266
58270
|
}, [
|
|
58267
|
-
U("div",
|
|
58271
|
+
U("div", n4e, [
|
|
58268
58272
|
g(d, { name: "palette-color" }),
|
|
58269
58273
|
U("span", {
|
|
58270
58274
|
textContent: pe(s.t("page.bg.custom"))
|
|
58271
|
-
}, null, 8,
|
|
58275
|
+
}, null, 8, r4e)
|
|
58272
58276
|
]),
|
|
58273
|
-
U("div",
|
|
58277
|
+
U("div", a4e, [
|
|
58274
58278
|
g(d, { name: "arrow-down" })
|
|
58275
58279
|
])
|
|
58276
58280
|
], 2)
|
|
@@ -58283,7 +58287,7 @@ const o$ = /* @__PURE__ */ nt(ZOe, [["__scopeId", "data-v-b21964a1"]]), l$ = /*
|
|
|
58283
58287
|
};
|
|
58284
58288
|
}
|
|
58285
58289
|
});
|
|
58286
|
-
const c$ = /* @__PURE__ */ nt(
|
|
58290
|
+
const c$ = /* @__PURE__ */ nt(o4e, [["__scopeId", "data-v-eaa7767b"]]), l4e = { class: "umo-watermark-container" }, i4e = { class: "umo-watermark-toolbar" }, u4e = ["textContent"], s4e = { class: "umo-watermark-type" }, c4e = ["textContent"], d4e = ["textContent"], v4e = /* @__PURE__ */ ee({
|
|
58287
58291
|
__name: "watermark",
|
|
58288
58292
|
setup(t) {
|
|
58289
58293
|
var i;
|
|
@@ -58306,8 +58310,8 @@ const c$ = /* @__PURE__ */ nt(a4e, [["__scopeId", "data-v-eaa7767b"]]), o4e = {
|
|
|
58306
58310
|
content: ne(() => {
|
|
58307
58311
|
var h, y, b;
|
|
58308
58312
|
return [
|
|
58309
|
-
U("div",
|
|
58310
|
-
U("div",
|
|
58313
|
+
U("div", l4e, [
|
|
58314
|
+
U("div", i4e, [
|
|
58311
58315
|
g(c, {
|
|
58312
58316
|
style: { width: "140px" },
|
|
58313
58317
|
tooltip: u.t("page.watermark.fontFamily"),
|
|
@@ -58365,8 +58369,8 @@ const c$ = /* @__PURE__ */ nt(a4e, [["__scopeId", "data-v-eaa7767b"]]), o4e = {
|
|
|
58365
58369
|
U("div", {
|
|
58366
58370
|
class: "umo-watermark-type-title",
|
|
58367
58371
|
textContent: pe(u.t("page.watermark.type"))
|
|
58368
|
-
}, null, 8,
|
|
58369
|
-
U("div",
|
|
58372
|
+
}, null, 8, u4e),
|
|
58373
|
+
U("div", s4e, [
|
|
58370
58374
|
k(r).watermark ? (R(), se("div", {
|
|
58371
58375
|
key: 0,
|
|
58372
58376
|
class: Qe(["item compact", { active: k(r).watermark.type === "compact" }]),
|
|
@@ -58375,7 +58379,7 @@ const c$ = /* @__PURE__ */ nt(a4e, [["__scopeId", "data-v-eaa7767b"]]), o4e = {
|
|
|
58375
58379
|
s[7] || (s[7] = U("div", { class: "bg" }, null, -1)),
|
|
58376
58380
|
U("span", {
|
|
58377
58381
|
textContent: pe(u.t("page.watermark.compact"))
|
|
58378
|
-
}, null, 8,
|
|
58382
|
+
}, null, 8, c4e)
|
|
58379
58383
|
], 2)) : re("", !0),
|
|
58380
58384
|
k(r).watermark ? (R(), se("div", {
|
|
58381
58385
|
key: 1,
|
|
@@ -58385,7 +58389,7 @@ const c$ = /* @__PURE__ */ nt(a4e, [["__scopeId", "data-v-eaa7767b"]]), o4e = {
|
|
|
58385
58389
|
s[8] || (s[8] = U("div", { class: "bg" }, null, -1)),
|
|
58386
58390
|
U("span", {
|
|
58387
58391
|
textContent: pe(u.t("page.watermark.spacious"))
|
|
58388
|
-
}, null, 8,
|
|
58392
|
+
}, null, 8, d4e)
|
|
58389
58393
|
], 2)) : re("", !0)
|
|
58390
58394
|
]),
|
|
58391
58395
|
(b = k(r).watermark) != null && b.text ? (R(), Y(p, {
|
|
@@ -58404,7 +58408,7 @@ const c$ = /* @__PURE__ */ nt(a4e, [["__scopeId", "data-v-eaa7767b"]]), o4e = {
|
|
|
58404
58408
|
};
|
|
58405
58409
|
}
|
|
58406
58410
|
});
|
|
58407
|
-
const d$ = /* @__PURE__ */ nt(
|
|
58411
|
+
const d$ = /* @__PURE__ */ nt(v4e, [["__scopeId", "data-v-8880acba"]]), v$ = /* @__PURE__ */ ee({
|
|
58408
58412
|
__name: "line-number",
|
|
58409
58413
|
setup(t) {
|
|
58410
58414
|
const e = te("page");
|
|
@@ -58437,7 +58441,7 @@ const d$ = /* @__PURE__ */ nt(d4e, [["__scopeId", "data-v-8880acba"]]), v$ = /*
|
|
|
58437
58441
|
}, null, 8, ["text"]);
|
|
58438
58442
|
};
|
|
58439
58443
|
}
|
|
58440
|
-
}),
|
|
58444
|
+
}), f4e = { class: "label" }, m$ = /* @__PURE__ */ ee({
|
|
58441
58445
|
__name: "orientation",
|
|
58442
58446
|
setup(t) {
|
|
58443
58447
|
const e = te("page"), n = [
|
|
@@ -58467,7 +58471,7 @@ const d$ = /* @__PURE__ */ nt(d4e, [["__scopeId", "data-v-8880acba"]]), v$ = /*
|
|
|
58467
58471
|
}, [
|
|
58468
58472
|
g(o, { name: "page" })
|
|
58469
58473
|
], 2),
|
|
58470
|
-
U("div",
|
|
58474
|
+
U("div", f4e, pe(s.label), 1)
|
|
58471
58475
|
]),
|
|
58472
58476
|
_: 2
|
|
58473
58477
|
}, 1032, ["value", "active", "onClick"])), 64))
|
|
@@ -58480,7 +58484,7 @@ const d$ = /* @__PURE__ */ nt(d4e, [["__scopeId", "data-v-8880acba"]]), v$ = /*
|
|
|
58480
58484
|
};
|
|
58481
58485
|
}
|
|
58482
58486
|
});
|
|
58483
|
-
const
|
|
58487
|
+
const m4e = { class: "umo-page-options-container" }, p4e = ["textContent"], h4e = { class: "desc" }, g4e = { class: "umo-page-setting" }, b4e = { class: "item" }, y4e = { class: "item" }, _4e = { class: "umo-page-margin-inbuilt" }, w4e = ["textContent"], C4e = ["textContent"], k4e = ["textContent"], x4e = ["textContent"], S4e = { class: "umo-page-setting" }, O4e = { class: "item" }, $4e = { class: "item" }, P4e = { class: "item" }, E4e = { class: "item" }, T4e = /* @__PURE__ */ ee({
|
|
58484
58488
|
__name: "page-options",
|
|
58485
58489
|
props: {
|
|
58486
58490
|
visible: {
|
|
@@ -58538,7 +58542,7 @@ const f4e = { class: "umo-page-options-container" }, m4e = ["textContent"], p4e
|
|
|
58538
58542
|
onConfirm: v
|
|
58539
58543
|
}, {
|
|
58540
58544
|
default: ne(() => [
|
|
58541
|
-
U("div",
|
|
58545
|
+
U("div", m4e, [
|
|
58542
58546
|
g(E, { "label-align": "left" }, {
|
|
58543
58547
|
default: ne(() => [
|
|
58544
58548
|
g(b, {
|
|
@@ -58604,8 +58608,8 @@ const f4e = { class: "umo-page-options-container" }, m4e = ["textContent"], p4e
|
|
|
58604
58608
|
U("div", {
|
|
58605
58609
|
class: "label",
|
|
58606
58610
|
textContent: pe(f.l(x.label))
|
|
58607
|
-
}, null, 8,
|
|
58608
|
-
U("div",
|
|
58611
|
+
}, null, 8, p4e),
|
|
58612
|
+
U("div", h4e, pe(x.width) + pe(f.t("page.size.cm")) + " × " + pe(x.height) + pe(f.t("page.size.cm")), 1)
|
|
58609
58613
|
]),
|
|
58610
58614
|
_: 2
|
|
58611
58615
|
}, 1032, ["value", "title"]))), 128))
|
|
@@ -58622,8 +58626,8 @@ const f4e = { class: "umo-page-options-container" }, m4e = ["textContent"], p4e
|
|
|
58622
58626
|
default: ne(() => {
|
|
58623
58627
|
var D, x;
|
|
58624
58628
|
return [
|
|
58625
|
-
U("div",
|
|
58626
|
-
U("div",
|
|
58629
|
+
U("div", g4e, [
|
|
58630
|
+
U("div", b4e, [
|
|
58627
58631
|
(D = k(i)) != null && D.size ? (R(), Y(C, {
|
|
58628
58632
|
key: 0,
|
|
58629
58633
|
modelValue: k(i).size.width,
|
|
@@ -58639,7 +58643,7 @@ const f4e = { class: "umo-page-options-container" }, m4e = ["textContent"], p4e
|
|
|
58639
58643
|
onBlur: m[2] || (m[2] = (O) => s(Number(O), "width"))
|
|
58640
58644
|
}, null, 8, ["modelValue", "label", "suffix"])) : re("", !0)
|
|
58641
58645
|
]),
|
|
58642
|
-
U("div",
|
|
58646
|
+
U("div", y4e, [
|
|
58643
58647
|
(x = k(i)) != null && x.size ? (R(), Y(C, {
|
|
58644
58648
|
key: 0,
|
|
58645
58649
|
modelValue: k(i).size.height,
|
|
@@ -58668,7 +58672,7 @@ const f4e = { class: "umo-page-options-container" }, m4e = ["textContent"], p4e
|
|
|
58668
58672
|
var D, x, O, P, j, T, A, S;
|
|
58669
58673
|
return [
|
|
58670
58674
|
U("div", null, [
|
|
58671
|
-
U("div",
|
|
58675
|
+
U("div", _4e, [
|
|
58672
58676
|
U("div", {
|
|
58673
58677
|
class: Qe(["item", { active: !((D = k(i).margin) != null && D.layout) }]),
|
|
58674
58678
|
onClick: m[5] || (m[5] = ($) => {
|
|
@@ -58676,7 +58680,7 @@ const f4e = { class: "umo-page-options-container" }, m4e = ["textContent"], p4e
|
|
|
58676
58680
|
return c((I = k(l).page) == null ? void 0 : I.defaultMargin);
|
|
58677
58681
|
}),
|
|
58678
58682
|
textContent: pe(f.t("pageOptions.margin.default"))
|
|
58679
|
-
}, null, 10,
|
|
58683
|
+
}, null, 10, w4e),
|
|
58680
58684
|
U("div", {
|
|
58681
58685
|
class: Qe(["item narrow", { active: ((x = k(i).margin) == null ? void 0 : x.layout) === "narrow" }]),
|
|
58682
58686
|
onClick: m[6] || (m[6] = ($) => c({
|
|
@@ -58687,7 +58691,7 @@ const f4e = { class: "umo-page-options-container" }, m4e = ["textContent"], p4e
|
|
|
58687
58691
|
layout: "narrow"
|
|
58688
58692
|
})),
|
|
58689
58693
|
textContent: pe(f.t("pageOptions.margin.narrow"))
|
|
58690
|
-
}, null, 10,
|
|
58694
|
+
}, null, 10, C4e),
|
|
58691
58695
|
U("div", {
|
|
58692
58696
|
class: Qe(["item moderate", { active: ((O = k(i).margin) == null ? void 0 : O.layout) === "moderate" }]),
|
|
58693
58697
|
onClick: m[7] || (m[7] = ($) => c({
|
|
@@ -58698,7 +58702,7 @@ const f4e = { class: "umo-page-options-container" }, m4e = ["textContent"], p4e
|
|
|
58698
58702
|
layout: "moderate"
|
|
58699
58703
|
})),
|
|
58700
58704
|
textContent: pe(f.t("pageOptions.margin.moderate"))
|
|
58701
|
-
}, null, 10,
|
|
58705
|
+
}, null, 10, k4e),
|
|
58702
58706
|
U("div", {
|
|
58703
58707
|
class: Qe(["item wide", { active: ((P = k(i).margin) == null ? void 0 : P.layout) === "wide" }]),
|
|
58704
58708
|
onClick: m[8] || (m[8] = ($) => c({
|
|
@@ -58709,10 +58713,10 @@ const f4e = { class: "umo-page-options-container" }, m4e = ["textContent"], p4e
|
|
|
58709
58713
|
layout: "wide"
|
|
58710
58714
|
})),
|
|
58711
58715
|
textContent: pe(f.t("pageOptions.margin.wide"))
|
|
58712
|
-
}, null, 10,
|
|
58716
|
+
}, null, 10, x4e)
|
|
58713
58717
|
]),
|
|
58714
|
-
U("div",
|
|
58715
|
-
U("div",
|
|
58718
|
+
U("div", S4e, [
|
|
58719
|
+
U("div", O4e, [
|
|
58716
58720
|
(j = k(i)) != null && j.margin ? (R(), Y(C, {
|
|
58717
58721
|
key: 0,
|
|
58718
58722
|
modelValue: k(i).margin.top,
|
|
@@ -58729,7 +58733,7 @@ const f4e = { class: "umo-page-options-container" }, m4e = ["textContent"], p4e
|
|
|
58729
58733
|
onBlur: m[10] || (m[10] = ($) => d(Number($), "top"))
|
|
58730
58734
|
}, null, 8, ["modelValue", "label", "suffix"])) : re("", !0)
|
|
58731
58735
|
]),
|
|
58732
|
-
U("div",
|
|
58736
|
+
U("div", $4e, [
|
|
58733
58737
|
(T = k(i)) != null && T.margin ? (R(), Y(C, {
|
|
58734
58738
|
key: 0,
|
|
58735
58739
|
modelValue: k(i).margin.bottom,
|
|
@@ -58746,7 +58750,7 @@ const f4e = { class: "umo-page-options-container" }, m4e = ["textContent"], p4e
|
|
|
58746
58750
|
onBlur: m[12] || (m[12] = ($) => d(Number($), "bottom"))
|
|
58747
58751
|
}, null, 8, ["modelValue", "label", "suffix"])) : re("", !0)
|
|
58748
58752
|
]),
|
|
58749
|
-
U("div",
|
|
58753
|
+
U("div", P4e, [
|
|
58750
58754
|
(A = k(i)) != null && A.margin ? (R(), Y(C, {
|
|
58751
58755
|
key: 0,
|
|
58752
58756
|
modelValue: k(i).margin.left,
|
|
@@ -58763,7 +58767,7 @@ const f4e = { class: "umo-page-options-container" }, m4e = ["textContent"], p4e
|
|
|
58763
58767
|
onBlur: m[14] || (m[14] = ($) => d(Number($), "left"))
|
|
58764
58768
|
}, null, 8, ["modelValue", "label", "suffix"])) : re("", !0)
|
|
58765
58769
|
]),
|
|
58766
|
-
U("div",
|
|
58770
|
+
U("div", E4e, [
|
|
58767
58771
|
(S = k(i)) != null && S.margin ? (R(), Y(C, {
|
|
58768
58772
|
key: 0,
|
|
58769
58773
|
modelValue: k(i).margin.right,
|
|
@@ -58796,7 +58800,7 @@ const f4e = { class: "umo-page-options-container" }, m4e = ["textContent"], p4e
|
|
|
58796
58800
|
};
|
|
58797
58801
|
}
|
|
58798
58802
|
});
|
|
58799
|
-
const p$ = /* @__PURE__ */ nt(
|
|
58803
|
+
const p$ = /* @__PURE__ */ nt(T4e, [["__scopeId", "data-v-1ff52a99"]]), M4e = ["textContent"], A4e = { class: "desc" }, D4e = ["textContent"], h$ = /* @__PURE__ */ ee({
|
|
58800
58804
|
__name: "size",
|
|
58801
58805
|
setup(t) {
|
|
58802
58806
|
const e = te("page"), n = te("options"), r = N(!1);
|
|
@@ -58827,8 +58831,8 @@ const p$ = /* @__PURE__ */ nt(E4e, [["__scopeId", "data-v-1ff52a99"]]), T4e = ["
|
|
|
58827
58831
|
U("div", {
|
|
58828
58832
|
class: "label",
|
|
58829
58833
|
textContent: pe(a.l(d.label))
|
|
58830
|
-
}, null, 8,
|
|
58831
|
-
U("div",
|
|
58834
|
+
}, null, 8, M4e),
|
|
58835
|
+
U("div", A4e, pe(d.width + a.t("page.size.cm")) + " × " + pe(d.height + a.t("page.size.cm")), 1)
|
|
58832
58836
|
]),
|
|
58833
58837
|
_: 2
|
|
58834
58838
|
}, 1032, ["value", "active", "divider", "onClick"]);
|
|
@@ -58840,7 +58844,7 @@ const p$ = /* @__PURE__ */ nt(E4e, [["__scopeId", "data-v-1ff52a99"]]), T4e = ["
|
|
|
58840
58844
|
U("div", {
|
|
58841
58845
|
class: "label",
|
|
58842
58846
|
textContent: pe(a.t("page.size.custom"))
|
|
58843
|
-
}, null, 8,
|
|
58847
|
+
}, null, 8, D4e)
|
|
58844
58848
|
]),
|
|
58845
58849
|
_: 1
|
|
58846
58850
|
})
|
|
@@ -58897,7 +58901,7 @@ const g$ = /* @__PURE__ */ ee({
|
|
|
58897
58901
|
}, null, 8, ["text", "menu-active"]);
|
|
58898
58902
|
};
|
|
58899
58903
|
}
|
|
58900
|
-
}),
|
|
58904
|
+
}), j4e = { class: "label" }, I4e = { class: "desc" }, y$ = /* @__PURE__ */ ee({
|
|
58901
58905
|
__name: "chinese-case",
|
|
58902
58906
|
setup(t) {
|
|
58903
58907
|
const e = te("editor"), n = te("container"), r = [
|
|
@@ -58978,8 +58982,8 @@ const g$ = /* @__PURE__ */ ee({
|
|
|
58978
58982
|
onClick: (v) => o(d.func)
|
|
58979
58983
|
}, {
|
|
58980
58984
|
default: ne(() => [
|
|
58981
|
-
U("div",
|
|
58982
|
-
U("div",
|
|
58985
|
+
U("div", j4e, pe(d.label), 1),
|
|
58986
|
+
U("div", I4e, pe(d.desc), 1)
|
|
58983
58987
|
]),
|
|
58984
58988
|
_: 2
|
|
58985
58989
|
}, 1032, ["value", "divider", "onClick"])), 64))
|
|
@@ -59143,7 +59147,7 @@ const _$ = /* @__PURE__ */ ee({
|
|
|
59143
59147
|
}, null, 8, ["text", "tooltip", "disabled"]);
|
|
59144
59148
|
};
|
|
59145
59149
|
}
|
|
59146
|
-
}),
|
|
59150
|
+
}), F4e = ["onMouseover"], R4e = { class: "umo-table-custom" }, B4e = ["textContent"], N4e = /* @__PURE__ */ ee({
|
|
59147
59151
|
__name: "insert",
|
|
59148
59152
|
setup(t) {
|
|
59149
59153
|
const { popupVisible: e, togglePopup: n } = fn(), r = te("editor"), a = Array.from(
|
|
@@ -59184,14 +59188,14 @@ const _$ = /* @__PURE__ */ ee({
|
|
|
59184
59188
|
class: Qe(["cell", { selected: i(b, _) }]),
|
|
59185
59189
|
onMouseover: (C) => u(b, _),
|
|
59186
59190
|
onClick: c
|
|
59187
|
-
}, null, 42,
|
|
59191
|
+
}, null, 42, F4e))), 128))
|
|
59188
59192
|
]))), 128))
|
|
59189
59193
|
], 32),
|
|
59190
|
-
U("div",
|
|
59194
|
+
U("div", R4e, [
|
|
59191
59195
|
U("div", {
|
|
59192
59196
|
class: "umo-table-custom-title",
|
|
59193
59197
|
textContent: pe(d.t("table.insert.property"))
|
|
59194
|
-
}, null, 8,
|
|
59198
|
+
}, null, 8, B4e),
|
|
59195
59199
|
g(f, {
|
|
59196
59200
|
modelValue: o.value.rows,
|
|
59197
59201
|
"onUpdate:modelValue": v[0] || (v[0] = (y) => o.value.rows = y),
|
|
@@ -59234,7 +59238,7 @@ const _$ = /* @__PURE__ */ ee({
|
|
|
59234
59238
|
};
|
|
59235
59239
|
}
|
|
59236
59240
|
});
|
|
59237
|
-
const $$ = /* @__PURE__ */ nt(
|
|
59241
|
+
const $$ = /* @__PURE__ */ nt(N4e, [["__scopeId", "data-v-6429ff8c"]]), L4e = { class: "title" }, z4e = {
|
|
59238
59242
|
key: 0,
|
|
59239
59243
|
class: "description"
|
|
59240
59244
|
}, P$ = /* @__PURE__ */ ee({
|
|
@@ -59266,8 +59270,8 @@ const $$ = /* @__PURE__ */ nt(B4e, [["__scopeId", "data-v-6429ff8c"]]), N4e = {
|
|
|
59266
59270
|
onClick: (c) => r(s)
|
|
59267
59271
|
}, {
|
|
59268
59272
|
default: ne(() => [
|
|
59269
|
-
U("div",
|
|
59270
|
-
s.description && s.description !== "" ? (R(), se("div",
|
|
59273
|
+
U("div", L4e, pe(s.title), 1),
|
|
59274
|
+
s.description && s.description !== "" ? (R(), se("div", z4e, pe(s.description), 1)) : re("", !0)
|
|
59271
59275
|
]),
|
|
59272
59276
|
_: 2
|
|
59273
59277
|
}, 1032, ["value", "divider", "class", "onClick"]))), 128))
|
|
@@ -59280,7 +59284,7 @@ const $$ = /* @__PURE__ */ nt(B4e, [["__scopeId", "data-v-6429ff8c"]]), N4e = {
|
|
|
59280
59284
|
};
|
|
59281
59285
|
}
|
|
59282
59286
|
});
|
|
59283
|
-
const
|
|
59287
|
+
const V4e = { class: "umo-page-divider-dropdown" }, H4e = { class: "umo-page-divider-item-title" }, K4e = ["textContent"], W4e = ["value", "title", "onClick"], U4e = ["data-type"], Y4e = ["textContent"], q4e = { class: "arrow" }, G4e = { class: "umo-page-divider-color-picker" }, X4e = /* @__PURE__ */ ee({
|
|
59284
59288
|
__name: "hr",
|
|
59285
59289
|
setup(t) {
|
|
59286
59290
|
const { popupVisible: e, togglePopup: n } = fn(), r = te("container"), a = te("editor"), o = [
|
|
@@ -59312,11 +59316,11 @@ const z4e = { class: "umo-page-divider-dropdown" }, V4e = { class: "umo-page-div
|
|
|
59312
59316
|
onTogglePopup: k(n)
|
|
59313
59317
|
}, {
|
|
59314
59318
|
content: ne(() => [
|
|
59315
|
-
U("div",
|
|
59316
|
-
U("div",
|
|
59319
|
+
U("div", V4e, [
|
|
59320
|
+
U("div", H4e, [
|
|
59317
59321
|
U("span", {
|
|
59318
59322
|
textContent: pe(c.t("insert.hr.title"))
|
|
59319
|
-
}, null, 8,
|
|
59323
|
+
}, null, 8, K4e)
|
|
59320
59324
|
]),
|
|
59321
59325
|
(R(), se(Te, null, ct(o, (h) => U("div", {
|
|
59322
59326
|
key: h.value,
|
|
@@ -59329,8 +59333,8 @@ const z4e = { class: "umo-page-divider-dropdown" }, V4e = { class: "umo-page-div
|
|
|
59329
59333
|
class: "umo-page-divider",
|
|
59330
59334
|
"data-type": h.value,
|
|
59331
59335
|
style: Et({ color: k(l) })
|
|
59332
|
-
}, null, 12,
|
|
59333
|
-
], 8,
|
|
59336
|
+
}, null, 12, U4e)
|
|
59337
|
+
], 8, W4e)), 64)),
|
|
59334
59338
|
g(m, {
|
|
59335
59339
|
modelValue: k(i),
|
|
59336
59340
|
"onUpdate:modelValue": d[0] || (d[0] = (h) => et(i) ? i.value = h : i = h),
|
|
@@ -59339,7 +59343,7 @@ const z4e = { class: "umo-page-divider-dropdown" }, V4e = { class: "umo-page-div
|
|
|
59339
59343
|
trigger: "click"
|
|
59340
59344
|
}, {
|
|
59341
59345
|
content: ne(() => [
|
|
59342
|
-
U("div",
|
|
59346
|
+
U("div", G4e, [
|
|
59343
59347
|
g(f, {
|
|
59344
59348
|
"default-color": "#000",
|
|
59345
59349
|
onChange: u
|
|
@@ -59352,8 +59356,8 @@ const z4e = { class: "umo-page-divider-dropdown" }, V4e = { class: "umo-page-div
|
|
|
59352
59356
|
}, [
|
|
59353
59357
|
U("span", {
|
|
59354
59358
|
textContent: pe(c.t("insert.hr.color"))
|
|
59355
|
-
}, null, 8,
|
|
59356
|
-
U("div",
|
|
59359
|
+
}, null, 8, Y4e),
|
|
59360
|
+
U("div", q4e, [
|
|
59357
59361
|
g(v, { name: "arrow-down" })
|
|
59358
59362
|
])
|
|
59359
59363
|
], 2)
|
|
@@ -59367,7 +59371,7 @@ const z4e = { class: "umo-page-divider-dropdown" }, V4e = { class: "umo-page-div
|
|
|
59367
59371
|
};
|
|
59368
59372
|
}
|
|
59369
59373
|
});
|
|
59370
|
-
const E$ = /* @__PURE__ */ nt(
|
|
59374
|
+
const E$ = /* @__PURE__ */ nt(X4e, [["__scopeId", "data-v-c1eb3b10"]]), T$ = /* @__PURE__ */ ee({
|
|
59371
59375
|
__name: "hard-break",
|
|
59372
59376
|
setup(t) {
|
|
59373
59377
|
const e = te("editor");
|
|
@@ -59385,7 +59389,7 @@ const E$ = /* @__PURE__ */ nt(G4e, [["__scopeId", "data-v-c1eb3b10"]]), T$ = /*
|
|
|
59385
59389
|
}, null, 8, ["text"]);
|
|
59386
59390
|
};
|
|
59387
59391
|
}
|
|
59388
|
-
}),
|
|
59392
|
+
}), J4e = { class: "umo-link-container" }, Z4e = /* @__PURE__ */ ee({
|
|
59389
59393
|
__name: "bookmark",
|
|
59390
59394
|
setup(t) {
|
|
59391
59395
|
const e = te("container"), n = te("editor"), r = te("page");
|
|
@@ -59490,7 +59494,7 @@ const E$ = /* @__PURE__ */ nt(G4e, [["__scopeId", "data-v-c1eb3b10"]]), T$ = /*
|
|
|
59490
59494
|
onClose: f[3] || (f[3] = (D) => et(a) ? a.value = !1 : a = !1)
|
|
59491
59495
|
}, {
|
|
59492
59496
|
default: ne(() => [
|
|
59493
|
-
U("div",
|
|
59497
|
+
U("div", J4e, [
|
|
59494
59498
|
g(E, {
|
|
59495
59499
|
"label-align": "top",
|
|
59496
59500
|
colon: ""
|
|
@@ -59574,7 +59578,7 @@ const E$ = /* @__PURE__ */ nt(G4e, [["__scopeId", "data-v-c1eb3b10"]]), T$ = /*
|
|
|
59574
59578
|
};
|
|
59575
59579
|
}
|
|
59576
59580
|
});
|
|
59577
|
-
const M$ = /* @__PURE__ */ nt(
|
|
59581
|
+
const M$ = /* @__PURE__ */ nt(Z4e, [["__scopeId", "data-v-e9f43672"]]), A$ = /* @__PURE__ */ ee({
|
|
59578
59582
|
__name: "mention",
|
|
59579
59583
|
setup(t) {
|
|
59580
59584
|
const e = te("editor");
|
|
@@ -59608,7 +59612,7 @@ const M$ = /* @__PURE__ */ nt(J4e, [["__scopeId", "data-v-e9f43672"]]), A$ = /*
|
|
|
59608
59612
|
}, null, 8, ["text"]);
|
|
59609
59613
|
};
|
|
59610
59614
|
}
|
|
59611
|
-
}),
|
|
59615
|
+
}), Q4e = { class: "umo-columns-container" }, e$e = ["onMouseenter", "onClick"], t$e = /* @__PURE__ */ ee({
|
|
59612
59616
|
__name: "columns",
|
|
59613
59617
|
setup(t) {
|
|
59614
59618
|
const { popupVisible: e, togglePopup: n } = fn(), r = te("editor");
|
|
@@ -59635,13 +59639,13 @@ const M$ = /* @__PURE__ */ nt(J4e, [["__scopeId", "data-v-e9f43672"]]), A$ = /*
|
|
|
59635
59639
|
onTogglePopup: k(n)
|
|
59636
59640
|
}, {
|
|
59637
59641
|
content: ne(() => [
|
|
59638
|
-
U("div",
|
|
59642
|
+
U("div", Q4e, [
|
|
59639
59643
|
(R(), se(Te, null, ct(o, (d) => U("div", {
|
|
59640
59644
|
key: d,
|
|
59641
59645
|
class: Qe(["umo-columns-item", { "umo-columns-item-selected": k(a) >= d }]),
|
|
59642
59646
|
onMouseenter: (v) => l(d),
|
|
59643
59647
|
onClick: (v) => i(d)
|
|
59644
|
-
}, pe(d), 43,
|
|
59648
|
+
}, pe(d), 43, e$e)), 64))
|
|
59645
59649
|
])
|
|
59646
59650
|
]),
|
|
59647
59651
|
_: 1
|
|
@@ -59649,7 +59653,7 @@ const M$ = /* @__PURE__ */ nt(J4e, [["__scopeId", "data-v-e9f43672"]]), A$ = /*
|
|
|
59649
59653
|
};
|
|
59650
59654
|
}
|
|
59651
59655
|
});
|
|
59652
|
-
const j$ = /* @__PURE__ */ nt(
|
|
59656
|
+
const j$ = /* @__PURE__ */ nt(t$e, [["__scopeId", "data-v-4363cacd"]]), I$ = /* @__PURE__ */ ee({
|
|
59653
59657
|
__name: "math",
|
|
59654
59658
|
setup(t) {
|
|
59655
59659
|
const e = te("editor");
|
|
@@ -59741,7 +59745,7 @@ const j$ = /* @__PURE__ */ nt(e$e, [["__scopeId", "data-v-4363cacd"]]), I$ = /*
|
|
|
59741
59745
|
}, null, 8, ["text"]);
|
|
59742
59746
|
};
|
|
59743
59747
|
}
|
|
59744
|
-
}),
|
|
59748
|
+
}), n$e = { class: "umo-symbols-container narrow-scrollbar" }, r$e = ["textContent"], a$e = { class: "umo-symbols-group-container" }, o$e = ["onClick"], l$e = /* @__PURE__ */ ee({
|
|
59745
59749
|
__name: "symbol",
|
|
59746
59750
|
setup(t) {
|
|
59747
59751
|
const { popupVisible: e, togglePopup: n } = fn(), r = te("editor"), a = te("options"), o = (l) => {
|
|
@@ -59762,18 +59766,18 @@ const j$ = /* @__PURE__ */ nt(e$e, [["__scopeId", "data-v-4363cacd"]]), I$ = /*
|
|
|
59762
59766
|
content: ne(() => {
|
|
59763
59767
|
var s;
|
|
59764
59768
|
return [
|
|
59765
|
-
U("div",
|
|
59769
|
+
U("div", n$e, [
|
|
59766
59770
|
(R(!0), se(Te, null, ct((s = k(a).dicts) == null ? void 0 : s.symbols, (c, d) => (R(), se(Te, { key: d }, [
|
|
59767
59771
|
U("div", {
|
|
59768
59772
|
class: "umo-symbols-group-title",
|
|
59769
59773
|
textContent: pe(l.l(c.label))
|
|
59770
|
-
}, null, 8,
|
|
59771
|
-
U("div",
|
|
59774
|
+
}, null, 8, r$e),
|
|
59775
|
+
U("div", a$e, [
|
|
59772
59776
|
(R(!0), se(Te, null, ct(c.items.split(""), (v, f) => (R(), se("div", {
|
|
59773
59777
|
key: f,
|
|
59774
59778
|
class: "umo-symbols-group-item",
|
|
59775
59779
|
onClick: (m) => o(v)
|
|
59776
|
-
}, pe(v), 9,
|
|
59780
|
+
}, pe(v), 9, o$e))), 128))
|
|
59777
59781
|
])
|
|
59778
59782
|
], 64))), 128))
|
|
59779
59783
|
])
|
|
@@ -59784,7 +59788,7 @@ const j$ = /* @__PURE__ */ nt(e$e, [["__scopeId", "data-v-4363cacd"]]), I$ = /*
|
|
|
59784
59788
|
};
|
|
59785
59789
|
}
|
|
59786
59790
|
});
|
|
59787
|
-
const R$ = /* @__PURE__ */ nt(
|
|
59791
|
+
const R$ = /* @__PURE__ */ nt(l$e, [["__scopeId", "data-v-f017d3a5"]]), B$ = /* @__PURE__ */ ee({
|
|
59788
59792
|
__name: "print",
|
|
59789
59793
|
setup(t) {
|
|
59790
59794
|
const e = te("editor"), n = te("printing");
|
|
@@ -59997,7 +60001,7 @@ const R$ = /* @__PURE__ */ nt(o$e, [["__scopeId", "data-v-f017d3a5"]]), B$ = /*
|
|
|
59997
60001
|
}, null, 8, ["text", "menu-active", "disabled"]);
|
|
59998
60002
|
};
|
|
59999
60003
|
}
|
|
60000
|
-
}),
|
|
60004
|
+
}), i$e = { class: "umo-node-margin-input" }, u$e = /* @__PURE__ */ ee({
|
|
60001
60005
|
__name: "margin",
|
|
60002
60006
|
setup(t) {
|
|
60003
60007
|
const { popupVisible: e, togglePopup: n } = fn(), r = te("editor");
|
|
@@ -60043,7 +60047,7 @@ const R$ = /* @__PURE__ */ nt(o$e, [["__scopeId", "data-v-f017d3a5"]]), B$ = /*
|
|
|
60043
60047
|
onMenuClick: c[2] || (c[2] = (m) => u())
|
|
60044
60048
|
}, {
|
|
60045
60049
|
content: ne(() => [
|
|
60046
|
-
U("div",
|
|
60050
|
+
U("div", i$e, [
|
|
60047
60051
|
g(d, {
|
|
60048
60052
|
modelValue: k(a),
|
|
60049
60053
|
"onUpdate:modelValue": c[0] || (c[0] = (m) => et(a) ? a.value = m : a = m),
|
|
@@ -60087,7 +60091,7 @@ const R$ = /* @__PURE__ */ nt(o$e, [["__scopeId", "data-v-f017d3a5"]]), B$ = /*
|
|
|
60087
60091
|
};
|
|
60088
60092
|
}
|
|
60089
60093
|
});
|
|
60090
|
-
const K$ = /* @__PURE__ */ nt(
|
|
60094
|
+
const K$ = /* @__PURE__ */ nt(u$e, [["__scopeId", "data-v-6948498d"]]), W$ = /* @__PURE__ */ ee({
|
|
60091
60095
|
__name: "line-height",
|
|
60092
60096
|
setup(t) {
|
|
60093
60097
|
const e = te("editor"), n = te("options"), r = F(() => {
|
|
@@ -60267,7 +60271,7 @@ const K$ = /* @__PURE__ */ nt(i$e, [["__scopeId", "data-v-6948498d"]]), W$ = /*
|
|
|
60267
60271
|
}, null, 8, ["text", "menu-active", "disabled"]);
|
|
60268
60272
|
};
|
|
60269
60273
|
}
|
|
60270
|
-
}),
|
|
60274
|
+
}), s$e = ["textContent"], c$e = ["title"], J$ = /* @__PURE__ */ ee({
|
|
60271
60275
|
__name: "font-family",
|
|
60272
60276
|
setup(t) {
|
|
60273
60277
|
const e = te("editor"), n = te("options"), r = Nt("toolbar", n), a = Nt("recent", n), o = N([]), l = (c) => {
|
|
@@ -60359,12 +60363,12 @@ const K$ = /* @__PURE__ */ nt(i$e, [["__scopeId", "data-v-6948498d"]]), W$ = /*
|
|
|
60359
60363
|
U("span", {
|
|
60360
60364
|
style: Et({ fontFamily: b.value ?? void 0 }),
|
|
60361
60365
|
textContent: pe(c.l(b.label))
|
|
60362
|
-
}, null, 12,
|
|
60366
|
+
}, null, 12, s$e),
|
|
60363
60367
|
l(b.value ?? "") ? re("", !0) : (R(), se("span", {
|
|
60364
60368
|
key: 0,
|
|
60365
60369
|
class: "umo-font-family-unsupport",
|
|
60366
60370
|
title: c.t("base.fontFamily.unsupport")
|
|
60367
|
-
}, "!", 8,
|
|
60371
|
+
}, "!", 8, c$e))
|
|
60368
60372
|
]),
|
|
60369
60373
|
_: 2
|
|
60370
60374
|
}, 1032, ["value", "label"]))), 128))
|
|
@@ -60481,7 +60485,7 @@ const Z$ = /* @__PURE__ */ ee({
|
|
|
60481
60485
|
}, null, 8, ["text", "menu-active", "disabled"]);
|
|
60482
60486
|
};
|
|
60483
60487
|
}
|
|
60484
|
-
}),
|
|
60488
|
+
}), d$e = { class: "umo-bullet-list-group" }, v$e = ["onClick"], f$e = /* @__PURE__ */ ee({
|
|
60485
60489
|
__name: "bullet-list",
|
|
60486
60490
|
setup(t) {
|
|
60487
60491
|
const { popupVisible: e, togglePopup: n } = fn(), r = te("editor"), a = [
|
|
@@ -60520,7 +60524,7 @@ const Z$ = /* @__PURE__ */ ee({
|
|
|
60520
60524
|
onMenuClick: u[0] || (u[0] = (f) => l(a[0].value))
|
|
60521
60525
|
}, {
|
|
60522
60526
|
content: ne(() => [
|
|
60523
|
-
U("div",
|
|
60527
|
+
U("div", d$e, [
|
|
60524
60528
|
(R(), se(Te, null, ct(a, (f) => g(c, {
|
|
60525
60529
|
key: f.value,
|
|
60526
60530
|
content: f.label
|
|
@@ -60534,7 +60538,7 @@ const Z$ = /* @__PURE__ */ ee({
|
|
|
60534
60538
|
class: "umo-icon-bullet-list",
|
|
60535
60539
|
name: `bullet-list-${f.value}`
|
|
60536
60540
|
}, null, 8, ["name"])
|
|
60537
|
-
], 10,
|
|
60541
|
+
], 10, v$e)
|
|
60538
60542
|
]),
|
|
60539
60543
|
_: 2
|
|
60540
60544
|
}, 1032, ["content"])), 64))
|
|
@@ -60545,7 +60549,7 @@ const Z$ = /* @__PURE__ */ ee({
|
|
|
60545
60549
|
};
|
|
60546
60550
|
}
|
|
60547
60551
|
});
|
|
60548
|
-
const r3 = /* @__PURE__ */ nt(
|
|
60552
|
+
const r3 = /* @__PURE__ */ nt(f$e, [["__scopeId", "data-v-6ce714c7"]]), m$e = { class: "umo-ordered-list-group" }, p$e = ["onClick"], h$e = ["textContent"], g$e = { class: "umo-ordered-list-properties" }, b$e = ["textContent"], y$e = /* @__PURE__ */ ee({
|
|
60549
60553
|
__name: "ordered-list",
|
|
60550
60554
|
setup(t) {
|
|
60551
60555
|
const { popupVisible: e, togglePopup: n } = fn(), r = te("editor"), a = [
|
|
@@ -60607,7 +60611,7 @@ const r3 = /* @__PURE__ */ nt(v$e, [["__scopeId", "data-v-6ce714c7"]]), f$e = {
|
|
|
60607
60611
|
onMenuClick: c[1] || (c[1] = (h) => l(a[0].value))
|
|
60608
60612
|
}, {
|
|
60609
60613
|
content: ne(() => [
|
|
60610
|
-
U("div",
|
|
60614
|
+
U("div", m$e, [
|
|
60611
60615
|
(R(), se(Te, null, ct(a, (h) => g(v, {
|
|
60612
60616
|
key: h.value,
|
|
60613
60617
|
content: h.label
|
|
@@ -60621,7 +60625,7 @@ const r3 = /* @__PURE__ */ nt(v$e, [["__scopeId", "data-v-6ce714c7"]]), f$e = {
|
|
|
60621
60625
|
class: "umo-icon-ordered-list",
|
|
60622
60626
|
name: `ordered-list-${h.value}`
|
|
60623
60627
|
}, null, 8, ["name"])
|
|
60624
|
-
], 10,
|
|
60628
|
+
], 10, p$e)
|
|
60625
60629
|
]),
|
|
60626
60630
|
_: 2
|
|
60627
60631
|
}, 1032, ["content"])), 64))
|
|
@@ -60630,8 +60634,8 @@ const r3 = /* @__PURE__ */ nt(v$e, [["__scopeId", "data-v-6ce714c7"]]), f$e = {
|
|
|
60630
60634
|
U("div", {
|
|
60631
60635
|
class: "umo-ordered-list-title",
|
|
60632
60636
|
textContent: pe(s.t("list.ordered.property"))
|
|
60633
|
-
}, null, 8,
|
|
60634
|
-
U("div",
|
|
60637
|
+
}, null, 8, h$e),
|
|
60638
|
+
U("div", g$e, [
|
|
60635
60639
|
g(f, {
|
|
60636
60640
|
modelValue: k(i),
|
|
60637
60641
|
"onUpdate:modelValue": c[0] || (c[0] = (h) => et(i) ? i.value = h : i = h),
|
|
@@ -60643,7 +60647,7 @@ const r3 = /* @__PURE__ */ nt(v$e, [["__scopeId", "data-v-6ce714c7"]]), f$e = {
|
|
|
60643
60647
|
label: ne(() => [
|
|
60644
60648
|
U("span", {
|
|
60645
60649
|
textContent: pe(s.t("list.ordered.startAt"))
|
|
60646
|
-
}, null, 8,
|
|
60650
|
+
}, null, 8, b$e)
|
|
60647
60651
|
]),
|
|
60648
60652
|
_: 1
|
|
60649
60653
|
}, 8, ["modelValue"])
|
|
@@ -60654,7 +60658,7 @@ const r3 = /* @__PURE__ */ nt(v$e, [["__scopeId", "data-v-6ce714c7"]]), f$e = {
|
|
|
60654
60658
|
};
|
|
60655
60659
|
}
|
|
60656
60660
|
});
|
|
60657
|
-
const a3 = /* @__PURE__ */ nt(
|
|
60661
|
+
const a3 = /* @__PURE__ */ nt(y$e, [["__scopeId", "data-v-2fc7c396"]]), _$e = ["disabled"], w$e = { class: "umo-heading-container" }, C$e = ["onClick"], k$e = { class: "subtitle" }, x$e = ["onClick"], S$e = { class: "subtitle" }, O$e = /* @__PURE__ */ ee({
|
|
60658
60662
|
__name: "heading",
|
|
60659
60663
|
setup(t) {
|
|
60660
60664
|
const { popupVisible: e } = fn(), n = te("container"), r = te("editor"), a = Nt("toolbar", te("options")), o = N(null), l = N([
|
|
@@ -60711,7 +60715,7 @@ const a3 = /* @__PURE__ */ nt(b$e, [["__scopeId", "data-v-2fc7c396"]]), y$e = ["
|
|
|
60711
60715
|
class: Qe(["umo-toolbar-headding", { unfold: k(e) }]),
|
|
60712
60716
|
disabled: !((p = k(r)) != null && p.isEditable)
|
|
60713
60717
|
}, [
|
|
60714
|
-
U("div",
|
|
60718
|
+
U("div", w$e, [
|
|
60715
60719
|
(R(!0), se(Te, null, ct(l.value, (h, y) => {
|
|
60716
60720
|
var b;
|
|
60717
60721
|
return R(), se(Te, {
|
|
@@ -60725,8 +60729,8 @@ const a3 = /* @__PURE__ */ nt(b$e, [["__scopeId", "data-v-2fc7c396"]]), y$e = ["
|
|
|
60725
60729
|
U("div", {
|
|
60726
60730
|
class: Qe(["title", h.desc])
|
|
60727
60731
|
}, pe(h.label), 3),
|
|
60728
|
-
U("div",
|
|
60729
|
-
], 10,
|
|
60732
|
+
U("div", k$e, pe(h.desc), 1)
|
|
60733
|
+
], 10, C$e)) : re("", !0)
|
|
60730
60734
|
], 64);
|
|
60731
60735
|
}), 128)),
|
|
60732
60736
|
g(v, {
|
|
@@ -60758,8 +60762,8 @@ const a3 = /* @__PURE__ */ nt(b$e, [["__scopeId", "data-v-2fc7c396"]]), y$e = ["
|
|
|
60758
60762
|
U("div", {
|
|
60759
60763
|
class: Qe(["title", h.desc])
|
|
60760
60764
|
}, pe(h.label), 3),
|
|
60761
|
-
U("div",
|
|
60762
|
-
], 10,
|
|
60765
|
+
U("div", S$e, pe(h.desc), 1)
|
|
60766
|
+
], 10, x$e)) : re("", !0)
|
|
60763
60767
|
], 64);
|
|
60764
60768
|
}), 128))
|
|
60765
60769
|
], 512)
|
|
@@ -60775,7 +60779,7 @@ const a3 = /* @__PURE__ */ nt(b$e, [["__scopeId", "data-v-2fc7c396"]]), y$e = ["
|
|
|
60775
60779
|
_: 1
|
|
60776
60780
|
}, 8, ["attach", "visible"])
|
|
60777
60781
|
])
|
|
60778
|
-
], 10,
|
|
60782
|
+
], 10, _$e)) : (R(), Y(m, {
|
|
60779
60783
|
key: 1,
|
|
60780
60784
|
text: s.t("base.heading.tip"),
|
|
60781
60785
|
"hide-text": "",
|
|
@@ -60806,8 +60810,8 @@ const a3 = /* @__PURE__ */ nt(b$e, [["__scopeId", "data-v-2fc7c396"]]), y$e = ["
|
|
|
60806
60810
|
};
|
|
60807
60811
|
}
|
|
60808
60812
|
});
|
|
60809
|
-
const o3 = /* @__PURE__ */ nt(
|
|
60810
|
-
function
|
|
60813
|
+
const o3 = /* @__PURE__ */ nt(O$e, [["__scopeId", "data-v-d1635b72"]]);
|
|
60814
|
+
function $$e(t, e) {
|
|
60811
60815
|
const n = e ? (r) => console.error(r) : null;
|
|
60812
60816
|
return (...r) => {
|
|
60813
60817
|
try {
|
|
@@ -60825,10 +60829,10 @@ ${Reflect.get(a, "stack") ?? a}`
|
|
|
60825
60829
|
}
|
|
60826
60830
|
};
|
|
60827
60831
|
}
|
|
60828
|
-
const
|
|
60832
|
+
const P$e = { class: "umo-classic-menu" }, E$e = {
|
|
60829
60833
|
key: 0,
|
|
60830
60834
|
class: "umo-virtual-group"
|
|
60831
|
-
},
|
|
60835
|
+
}, T$e = { class: "umo-virtual-group" }, M$e = { class: "umo-virtual-group" }, A$e = { class: "umo-virtual-group" }, D$e = { class: "umo-virtual-group" }, j$e = { class: "umo-virtual-group" }, I$e = { class: "virtual-group is-slot" }, F$e = { class: "umo-virtual-group" }, R$e = { class: "umo-virtual-group" }, B$e = { class: "umo-virtual-group" }, N$e = { class: "virtual-group is-slot" }, L$e = { class: "umo-virtual-group" }, z$e = { class: "umo-virtual-group" }, V$e = { class: "umo-virtual-group" }, H$e = { class: "umo-virtual-group" }, K$e = { class: "umo-virtual-group" }, W$e = { class: "umo-virtual-group" }, U$e = { class: "umo-virtual-group" }, Y$e = { class: "umo-virtual-group" }, q$e = { class: "virtual-group is-slot" }, G$e = { class: "umo-virtual-group" }, X$e = { class: "umo-virtual-group" }, J$e = { class: "virtual-group is-slot" }, Z$e = { class: "umo-virtual-group" }, Q$e = { class: "umo-virtual-group" }, e3e = { class: "umo-virtual-group" }, t3e = { class: "umo-virtual-group" }, n3e = { class: "virtual-group is-slot" }, r3e = { class: "umo-virtual-group" }, a3e = { class: "umo-virtual-group" }, o3e = { class: "virtual-group is-slot" }, l3e = /* @__PURE__ */ ee({
|
|
60832
60836
|
__name: "classic",
|
|
60833
60837
|
props: {
|
|
60834
60838
|
menus: null,
|
|
@@ -60843,7 +60847,7 @@ const $$e = { class: "umo-classic-menu" }, P$e = {
|
|
|
60843
60847
|
let u = N("");
|
|
60844
60848
|
oe(
|
|
60845
60849
|
() => r.currentMenu,
|
|
60846
|
-
|
|
60850
|
+
$$e(async (d) => {
|
|
60847
60851
|
var v;
|
|
60848
60852
|
u.value = d, await Ye(), (v = s.value) == null || v.update();
|
|
60849
60853
|
}),
|
|
@@ -60861,8 +60865,8 @@ const $$e = { class: "umo-classic-menu" }, P$e = {
|
|
|
60861
60865
|
class: "umo-scrollable-container"
|
|
60862
60866
|
}, {
|
|
60863
60867
|
default: ne(() => [
|
|
60864
|
-
U("div",
|
|
60865
|
-
t.menus.length > 1 ? (R(), se("div",
|
|
60868
|
+
U("div", P$e, [
|
|
60869
|
+
t.menus.length > 1 ? (R(), se("div", E$e, [
|
|
60866
60870
|
k(n) ? (R(), Y(p, {
|
|
60867
60871
|
key: 0,
|
|
60868
60872
|
modelValue: k(u),
|
|
@@ -60909,13 +60913,13 @@ const $$e = { class: "umo-classic-menu" }, P$e = {
|
|
|
60909
60913
|
i("audio") ? re("", !0) : (R(), Y(S, { key: 15 })),
|
|
60910
60914
|
i("file") ? re("", !0) : (R(), Y($, { key: 16 }))
|
|
60911
60915
|
], 64)) : (R(), se(Te, { key: 1 }, [
|
|
60912
|
-
U("div",
|
|
60916
|
+
U("div", T$e, [
|
|
60913
60917
|
i("undo") ? re("", !0) : (R(), Y(I, { key: 0 })),
|
|
60914
60918
|
i("redo") ? re("", !0) : (R(), Y(B, { key: 1 })),
|
|
60915
60919
|
i("painter") ? re("", !0) : (R(), Y(L, { key: 2 })),
|
|
60916
60920
|
i("format") ? re("", !0) : (R(), Y(z, { key: 3 }))
|
|
60917
60921
|
]),
|
|
60918
|
-
U("div",
|
|
60922
|
+
U("div", M$e, [
|
|
60919
60923
|
i("heading") ? re("", !0) : (R(), Y(h, { key: 0 })),
|
|
60920
60924
|
i("fontFamily") ? re("", !0) : (R(), Y(J, {
|
|
60921
60925
|
key: 1,
|
|
@@ -60935,7 +60939,7 @@ const $$e = { class: "umo-classic-menu" }, P$e = {
|
|
|
60935
60939
|
i("backgroundColor") ? re("", !0) : (R(), Y(C, { key: 10 })),
|
|
60936
60940
|
i("highlight") ? re("", !0) : (R(), Y(E, { key: 11 }))
|
|
60937
60941
|
]),
|
|
60938
|
-
U("div",
|
|
60942
|
+
U("div", A$e, [
|
|
60939
60943
|
i("orderedList") ? re("", !0) : (R(), Y(M, { key: 0 })),
|
|
60940
60944
|
i("bulletList") ? re("", !0) : (R(), Y(D, { key: 1 })),
|
|
60941
60945
|
i("taskList") ? re("", !0) : (R(), Y(q, { key: 2 })),
|
|
@@ -60948,21 +60952,21 @@ const $$e = { class: "umo-classic-menu" }, P$e = {
|
|
|
60948
60952
|
i("code") ? re("", !0) : (R(), Y(x, { key: 9 })),
|
|
60949
60953
|
i("selectAll") ? re("", !0) : (R(), Y(_e, { key: 10 }))
|
|
60950
60954
|
]),
|
|
60951
|
-
U("div",
|
|
60955
|
+
U("div", D$e, [
|
|
60952
60956
|
i("importWord") ? re("", !0) : (R(), Y($e, { key: 0 })),
|
|
60953
60957
|
i("markdown") ? re("", !0) : (R(), Y(ke, { key: 1 })),
|
|
60954
60958
|
i("searchReplace") ? re("", !0) : (R(), Y(we, { key: 2 }))
|
|
60955
60959
|
]),
|
|
60956
|
-
U("div",
|
|
60960
|
+
U("div", j$e, [
|
|
60957
60961
|
i("print") ? re("", !0) : (R(), Y(Pe, { key: 0 }))
|
|
60958
60962
|
]),
|
|
60959
|
-
U("div",
|
|
60963
|
+
U("div", I$e, [
|
|
60960
60964
|
Mt(d.$slots, "toolbar_base", { toolbarMode: "classic" }, void 0, !0)
|
|
60961
60965
|
])
|
|
60962
60966
|
], 64))
|
|
60963
60967
|
], 64)) : re("", !0),
|
|
60964
60968
|
k(u) === "insert" ? (R(), se(Te, { key: 2 }, [
|
|
60965
|
-
U("div",
|
|
60969
|
+
U("div", F$e, [
|
|
60966
60970
|
i("link") ? re("", !0) : (R(), Y(j, { key: 0 })),
|
|
60967
60971
|
i("image") ? re("", !0) : (R(), Y(T, { key: 1 })),
|
|
60968
60972
|
i("video") ? re("", !0) : (R(), Y(A, { key: 2 })),
|
|
@@ -60979,30 +60983,30 @@ const $$e = { class: "umo-classic-menu" }, P$e = {
|
|
|
60979
60983
|
i("mention") ? re("", !0) : (R(), Y(Be, { key: 13 })),
|
|
60980
60984
|
i("bookmark") ? re("", !0) : (R(), Y(Fe, { key: 14 }))
|
|
60981
60985
|
]),
|
|
60982
|
-
U("div",
|
|
60986
|
+
U("div", R$e, [
|
|
60983
60987
|
i("hardBreak") ? re("", !0) : (R(), Y(Oe, { key: 0 })),
|
|
60984
60988
|
i("hr") ? re("", !0) : (R(), Y(ye, { key: 1 })),
|
|
60985
60989
|
i("toc") ? re("", !0) : (R(), Y(me, { key: 2 })),
|
|
60986
60990
|
i("textBox") ? re("", !0) : (R(), Y(he, { key: 3 }))
|
|
60987
60991
|
]),
|
|
60988
|
-
U("div",
|
|
60992
|
+
U("div", B$e, [
|
|
60989
60993
|
i("template") ? re("", !0) : (R(), Y(G, { key: 0 })),
|
|
60990
60994
|
i("webPage") ? re("", !0) : (R(), Y(ce, { key: 1 }))
|
|
60991
60995
|
]),
|
|
60992
|
-
U("div",
|
|
60996
|
+
U("div", N$e, [
|
|
60993
60997
|
Mt(d.$slots, "toolbar_insert", { toolbarMode: "classic" }, void 0, !0)
|
|
60994
60998
|
])
|
|
60995
60999
|
], 64)) : re("", !0),
|
|
60996
61000
|
k(u) === "table" ? (R(), se(Te, { key: 3 }, [
|
|
60997
|
-
U("div",
|
|
61001
|
+
U("div", L$e, [
|
|
60998
61002
|
i("tableInsert") ? re("", !0) : (R(), Y(be, { key: 0 })),
|
|
60999
61003
|
i("tableFix") ? re("", !0) : (R(), Y(Me, { key: 1 }))
|
|
61000
61004
|
]),
|
|
61001
|
-
U("div",
|
|
61005
|
+
U("div", z$e, [
|
|
61002
61006
|
i("cellsAlign") ? re("", !0) : (R(), Y(De, { key: 0 })),
|
|
61003
61007
|
i("cellsBackground") ? re("", !0) : (R(), Y(Ke, { key: 1 }))
|
|
61004
61008
|
]),
|
|
61005
|
-
U("div",
|
|
61009
|
+
U("div", V$e, [
|
|
61006
61010
|
i("rowBefore") ? re("", !0) : (R(), Y(Ge, {
|
|
61007
61011
|
key: 0,
|
|
61008
61012
|
huge: !1
|
|
@@ -61020,7 +61024,7 @@ const $$e = { class: "umo-classic-menu" }, P$e = {
|
|
|
61020
61024
|
huge: !1
|
|
61021
61025
|
}))
|
|
61022
61026
|
]),
|
|
61023
|
-
U("div",
|
|
61027
|
+
U("div", H$e, [
|
|
61024
61028
|
i("deleteRow") ? re("", !0) : (R(), Y(ln, {
|
|
61025
61029
|
key: 0,
|
|
61026
61030
|
huge: !1
|
|
@@ -61030,7 +61034,7 @@ const $$e = { class: "umo-classic-menu" }, P$e = {
|
|
|
61030
61034
|
huge: !1
|
|
61031
61035
|
}))
|
|
61032
61036
|
]),
|
|
61033
|
-
U("div",
|
|
61037
|
+
U("div", K$e, [
|
|
61034
61038
|
i("mergeCells") ? re("", !0) : (R(), Y(pn, {
|
|
61035
61039
|
key: 0,
|
|
61036
61040
|
huge: !1
|
|
@@ -61040,7 +61044,7 @@ const $$e = { class: "umo-classic-menu" }, P$e = {
|
|
|
61040
61044
|
huge: !1
|
|
61041
61045
|
}))
|
|
61042
61046
|
]),
|
|
61043
|
-
U("div",
|
|
61047
|
+
U("div", W$e, [
|
|
61044
61048
|
i("headerRow") ? re("", !0) : (R(), Y(sr, {
|
|
61045
61049
|
key: 0,
|
|
61046
61050
|
huge: !1
|
|
@@ -61054,7 +61058,7 @@ const $$e = { class: "umo-classic-menu" }, P$e = {
|
|
|
61054
61058
|
huge: !1
|
|
61055
61059
|
}))
|
|
61056
61060
|
]),
|
|
61057
|
-
U("div",
|
|
61061
|
+
U("div", U$e, [
|
|
61058
61062
|
i("nextCell") ? re("", !0) : (R(), Y(vt, {
|
|
61059
61063
|
key: 0,
|
|
61060
61064
|
huge: !1
|
|
@@ -61064,15 +61068,15 @@ const $$e = { class: "umo-classic-menu" }, P$e = {
|
|
|
61064
61068
|
huge: !1
|
|
61065
61069
|
}))
|
|
61066
61070
|
]),
|
|
61067
|
-
U("div",
|
|
61071
|
+
U("div", Y$e, [
|
|
61068
61072
|
i("tableDelete") ? re("", !0) : (R(), Y(At, { key: 0 }))
|
|
61069
61073
|
]),
|
|
61070
|
-
U("div",
|
|
61074
|
+
U("div", q$e, [
|
|
61071
61075
|
Mt(d.$slots, "toolbar_table", { toolbarMode: "classic" }, void 0, !0)
|
|
61072
61076
|
])
|
|
61073
61077
|
], 64)) : re("", !0),
|
|
61074
61078
|
k(u) === "tools" ? (R(), se(Te, { key: 4 }, [
|
|
61075
|
-
U("div",
|
|
61079
|
+
U("div", G$e, [
|
|
61076
61080
|
i("diagrams") ? re("", !0) : (R(), Y(en, { key: 0 })),
|
|
61077
61081
|
i("echarts") ? re("", !0) : (R(), Y(Wt, { key: 1 })),
|
|
61078
61082
|
i("mind-map") ? re("", !0) : (R(), Y(xn, { key: 2 })),
|
|
@@ -61080,46 +61084,46 @@ const $$e = { class: "umo-classic-menu" }, P$e = {
|
|
|
61080
61084
|
i("plantuml") ? re("", !0) : (R(), Y(Nr, { key: 4 })),
|
|
61081
61085
|
i("flowchart") ? re("", !0) : (R(), Y(Un, { key: 5 }))
|
|
61082
61086
|
]),
|
|
61083
|
-
U("div",
|
|
61087
|
+
U("div", X$e, [
|
|
61084
61088
|
i("chineseCase") ? re("", !0) : (R(), Y(Yn, { key: 0 }))
|
|
61085
61089
|
]),
|
|
61086
|
-
U("div",
|
|
61090
|
+
U("div", J$e, [
|
|
61087
61091
|
Mt(d.$slots, "toolbar_tools", { toolbarMode: "classic" }, void 0, !0)
|
|
61088
61092
|
])
|
|
61089
61093
|
], 64)) : re("", !0),
|
|
61090
61094
|
k(u) === "page" && !i("allPage") ? (R(), se(Te, { key: 5 }, [
|
|
61091
|
-
U("div",
|
|
61095
|
+
U("div", Z$e, [
|
|
61092
61096
|
i("toggleToc") ? re("", !0) : (R(), Y(qn, { key: 0 }))
|
|
61093
61097
|
]),
|
|
61094
|
-
U("div",
|
|
61098
|
+
U("div", Q$e, [
|
|
61095
61099
|
i("pageMargin") ? re("", !0) : (R(), Y(kr, { key: 0 })),
|
|
61096
61100
|
i("pageSize") ? re("", !0) : (R(), Y(xr, { key: 1 })),
|
|
61097
61101
|
i("pageOrientation") ? re("", !0) : (R(), Y(bt, { key: 2 }))
|
|
61098
61102
|
]),
|
|
61099
|
-
U("div",
|
|
61103
|
+
U("div", e3e, [
|
|
61100
61104
|
i("pageBreak") ? re("", !0) : (R(), Y(Sr, { key: 0 })),
|
|
61101
61105
|
i("lineNumber") ? re("", !0) : (R(), Y(Lr, { key: 1 })),
|
|
61102
61106
|
i("watermark") ? re("", !0) : (R(), Y(oa, { key: 2 })),
|
|
61103
61107
|
i("pageBackground") ? re("", !0) : (R(), Y(zr, { key: 3 }))
|
|
61104
61108
|
]),
|
|
61105
|
-
U("div",
|
|
61109
|
+
U("div", t3e, [
|
|
61106
61110
|
i("pagePreview") ? re("", !0) : (R(), Y(Gn, { key: 0 }))
|
|
61107
61111
|
]),
|
|
61108
|
-
U("div",
|
|
61112
|
+
U("div", n3e, [
|
|
61109
61113
|
Mt(d.$slots, "toolbar_page", { toolbarMode: "classic" }, void 0, !0)
|
|
61110
61114
|
])
|
|
61111
61115
|
], 64)) : re("", !0),
|
|
61112
61116
|
k(u) === "export" ? (R(), se(Te, { key: 6 }, [
|
|
61113
|
-
U("div",
|
|
61117
|
+
U("div", r3e, [
|
|
61114
61118
|
i("exportImage") ? re("", !0) : (R(), Y(Xn, { key: 0 })),
|
|
61115
61119
|
i("exportPDF") ? re("", !0) : (R(), Y(io, { key: 1 })),
|
|
61116
61120
|
i("exportText") ? re("", !0) : (R(), Y(uo, { key: 2 }))
|
|
61117
61121
|
]),
|
|
61118
|
-
U("div",
|
|
61122
|
+
U("div", a3e, [
|
|
61119
61123
|
i("share") ? re("", !0) : (R(), Y(Or, { key: 0 })),
|
|
61120
61124
|
i("embed") ? re("", !0) : (R(), Y(yt, { key: 1 }))
|
|
61121
61125
|
]),
|
|
61122
|
-
U("div",
|
|
61126
|
+
U("div", o3e, [
|
|
61123
61127
|
Mt(d.$slots, "toolbar_export", { toolbarMode: "classic" }, void 0, !0)
|
|
61124
61128
|
])
|
|
61125
61129
|
], 64)) : re("", !0)
|
|
@@ -61130,10 +61134,10 @@ const $$e = { class: "umo-classic-menu" }, P$e = {
|
|
|
61130
61134
|
};
|
|
61131
61135
|
}
|
|
61132
61136
|
});
|
|
61133
|
-
const
|
|
61137
|
+
const i3e = /* @__PURE__ */ nt(l3e, [["__scopeId", "data-v-13ca5ea3"]]), u3e = { class: "umo-ribbon-menu" }, s3e = {
|
|
61134
61138
|
key: 0,
|
|
61135
61139
|
class: "umo-ribbon-tabs"
|
|
61136
|
-
},
|
|
61140
|
+
}, c3e = ["onClick"], d3e = { class: "umo-ribbon-container" }, v3e = { class: "umo-virtual-group" }, f3e = { class: "umo-virtual-group-row" }, m3e = { class: "umo-virtual-group-row" }, p3e = { class: "umo-virtual-group" }, h3e = { class: "umo-virtual-group-row" }, g3e = { class: "umo-virtual-group-row" }, b3e = { class: "umo-virtual-group" }, y3e = { class: "umo-virtual-group-row" }, _3e = { class: "umo-virtual-group-row" }, w3e = { class: "umo-virtual-group" }, C3e = { class: "umo-virtual-group" }, k3e = { class: "umo-virtual-group" }, x3e = { class: "virtual-group is-slot" }, S3e = { class: "umo-virtual-group" }, O3e = { class: "umo-virtual-group" }, $3e = { class: "umo-virtual-group" }, P3e = { class: "virtual-group is-slot" }, E3e = { class: "umo-virtual-group" }, T3e = { class: "umo-virtual-group" }, M3e = { class: "umo-virtual-group" }, A3e = { class: "umo-virtual-group-row" }, D3e = { class: "umo-virtual-group-row" }, j3e = { class: "umo-virtual-group" }, I3e = { class: "umo-virtual-group-row" }, F3e = { class: "umo-virtual-group-row" }, R3e = { class: "umo-virtual-group" }, B3e = { class: "umo-virtual-group-row" }, N3e = { class: "umo-virtual-group-row" }, L3e = { class: "umo-virtual-group" }, z3e = { class: "umo-virtual-group-row" }, V3e = { class: "umo-virtual-group-row" }, H3e = { class: "umo-virtual-group" }, K3e = { class: "virtual-group is-slot" }, W3e = { class: "umo-virtual-group" }, U3e = { class: "umo-virtual-group" }, Y3e = { class: "umo-virtual-group" }, q3e = { class: "umo-virtual-group" }, G3e = { class: "umo-virtual-group" }, X3e = { class: "umo-virtual-group-row" }, J3e = { class: "umo-virtual-group-row" }, Z3e = { class: "umo-virtual-group-row" }, Q3e = { class: "umo-virtual-group" }, e5e = { class: "umo-virtual-group" }, t5e = { class: "virtual-group is-slot" }, n5e = { class: "umo-virtual-group" }, r5e = { class: "umo-virtual-group" }, a5e = { class: "virtual-group is-slot" }, o5e = /* @__PURE__ */ ee({
|
|
61137
61141
|
__name: "ribbon",
|
|
61138
61142
|
props: {
|
|
61139
61143
|
menus: null,
|
|
@@ -61150,13 +61154,13 @@ const l3e = /* @__PURE__ */ nt(o3e, [["__scopeId", "data-v-13ca5ea3"]]), i3e = {
|
|
|
61150
61154
|
};
|
|
61151
61155
|
return (i, u) => {
|
|
61152
61156
|
const s = t3, c = e3, d = Q$, v = Z$, f = J$, m = Kp, p = Gu, h = Fd, y = Hp, b = Vp, w = X$, _ = G$, C = _i, E = qu, M = Lp, D = a3, x = r3, O = q$, P = Y$, j = U$, T = W$, A = K$, S = Id, $ = jd, I = Dd, B = D4, L = A4, z = H$, J = n3, Q = V$, W = o3, V = z$, K = L$, q = N$, X = B$, Z = zp, le = uh, ie = ih, ue = lh, ge = oh, _e = ah, $e = R$, ke = F$, we = ch, Pe = I$, de = j$, ve = D$, fe = rh, je = A$, Ie = M$, We = T$, Be = E$, Fe = nh, Oe = th, ye = P$, me = Bd, he = $$, G = O$, ce = eh, be = Qp, Me = Zp, De = Jp, Ke = qp, Ge = Xp, Je = Gp, ut = Yp, zt = Up, ln = Wp, Dt = S$, pn = x$, $n = k$, sr = C$, Pn = w$, En = _$, vt = Hd, rt = Rd, At = Nd, en = Vd, Wt = zd, xn = Ld, Wn = y$, Nr = b$, Un = g$, Yn = h$, qn = m$, kr = f$, xr = v$, bt = d$, Sr = c$, Lr = s$, oa = u$, zr = i$, Gn = l$, Xn = o$, io = a$, uo = r$;
|
|
61153
|
-
return R(), se("div",
|
|
61154
|
-
t.menus.length > 1 ? (R(), se("div",
|
|
61157
|
+
return R(), se("div", u3e, [
|
|
61158
|
+
t.menus.length > 1 ? (R(), se("div", s3e, [
|
|
61155
61159
|
(R(!0), se(Te, null, ct(t.menus, (Or) => (R(), se("div", {
|
|
61156
61160
|
key: Or.value,
|
|
61157
61161
|
class: Qe(["umo-ribbon-tabs-item", { active: t.currentMenu === Or.value }]),
|
|
61158
61162
|
onClick: (yt) => l(Or.value)
|
|
61159
|
-
}, pe(Or.label), 11,
|
|
61163
|
+
}, pe(Or.label), 11, c3e))), 128))
|
|
61160
61164
|
])) : re("", !0),
|
|
61161
61165
|
g(uo, {
|
|
61162
61166
|
ref_key: "scrollableRef",
|
|
@@ -61164,24 +61168,24 @@ const l3e = /* @__PURE__ */ nt(o3e, [["__scopeId", "data-v-13ca5ea3"]]), i3e = {
|
|
|
61164
61168
|
class: "umo-scrollable-container"
|
|
61165
61169
|
}, {
|
|
61166
61170
|
default: ne(() => [
|
|
61167
|
-
U("div",
|
|
61171
|
+
U("div", d3e, [
|
|
61168
61172
|
t.currentMenu === "base" ? (R(), se(Te, { key: 0 }, [
|
|
61169
|
-
U("div",
|
|
61170
|
-
U("div",
|
|
61173
|
+
U("div", v3e, [
|
|
61174
|
+
U("div", f3e, [
|
|
61171
61175
|
g(s),
|
|
61172
61176
|
g(c)
|
|
61173
61177
|
]),
|
|
61174
|
-
U("div",
|
|
61178
|
+
U("div", m3e, [
|
|
61175
61179
|
g(d),
|
|
61176
61180
|
g(v)
|
|
61177
61181
|
])
|
|
61178
61182
|
]),
|
|
61179
|
-
U("div",
|
|
61180
|
-
U("div",
|
|
61183
|
+
U("div", p3e, [
|
|
61184
|
+
U("div", h3e, [
|
|
61181
61185
|
g(f),
|
|
61182
61186
|
g(m)
|
|
61183
61187
|
]),
|
|
61184
|
-
U("div",
|
|
61188
|
+
U("div", g3e, [
|
|
61185
61189
|
g(p),
|
|
61186
61190
|
g(h),
|
|
61187
61191
|
g(y),
|
|
@@ -61193,8 +61197,8 @@ const l3e = /* @__PURE__ */ nt(o3e, [["__scopeId", "data-v-13ca5ea3"]]), i3e = {
|
|
|
61193
61197
|
g(M)
|
|
61194
61198
|
])
|
|
61195
61199
|
]),
|
|
61196
|
-
U("div",
|
|
61197
|
-
U("div",
|
|
61200
|
+
U("div", b3e, [
|
|
61201
|
+
U("div", y3e, [
|
|
61198
61202
|
g(D),
|
|
61199
61203
|
g(x),
|
|
61200
61204
|
g(O),
|
|
@@ -61203,7 +61207,7 @@ const l3e = /* @__PURE__ */ nt(o3e, [["__scopeId", "data-v-13ca5ea3"]]), i3e = {
|
|
|
61203
61207
|
g(T),
|
|
61204
61208
|
g(A)
|
|
61205
61209
|
]),
|
|
61206
|
-
U("div",
|
|
61210
|
+
U("div", _3e, [
|
|
61207
61211
|
g(S),
|
|
61208
61212
|
g($),
|
|
61209
61213
|
g(I),
|
|
@@ -61214,23 +61218,23 @@ const l3e = /* @__PURE__ */ nt(o3e, [["__scopeId", "data-v-13ca5ea3"]]), i3e = {
|
|
|
61214
61218
|
g(Q)
|
|
61215
61219
|
])
|
|
61216
61220
|
]),
|
|
61217
|
-
U("div",
|
|
61221
|
+
U("div", w3e, [
|
|
61218
61222
|
g(W)
|
|
61219
61223
|
]),
|
|
61220
|
-
U("div",
|
|
61224
|
+
U("div", C3e, [
|
|
61221
61225
|
g(V),
|
|
61222
61226
|
g(K),
|
|
61223
61227
|
g(q)
|
|
61224
61228
|
]),
|
|
61225
|
-
U("div",
|
|
61229
|
+
U("div", k3e, [
|
|
61226
61230
|
a("print") ? re("", !0) : (R(), Y(X, { key: 0 }))
|
|
61227
61231
|
]),
|
|
61228
|
-
U("div",
|
|
61232
|
+
U("div", x3e, [
|
|
61229
61233
|
Mt(i.$slots, "toolbar_base", { toolbarMode: "ribbon" }, void 0, !0)
|
|
61230
61234
|
])
|
|
61231
61235
|
], 64)) : re("", !0),
|
|
61232
61236
|
t.currentMenu === "insert" ? (R(), se(Te, { key: 1 }, [
|
|
61233
|
-
U("div",
|
|
61237
|
+
U("div", S3e, [
|
|
61234
61238
|
g(Z),
|
|
61235
61239
|
g(le),
|
|
61236
61240
|
a("video") ? re("", !0) : (R(), Y(ie, { key: 0 })),
|
|
@@ -61247,75 +61251,75 @@ const l3e = /* @__PURE__ */ nt(o3e, [["__scopeId", "data-v-13ca5ea3"]]), i3e = {
|
|
|
61247
61251
|
a("mention") ? re("", !0) : (R(), Y(je, { key: 11 })),
|
|
61248
61252
|
a("bookmark") ? re("", !0) : (R(), Y(Ie, { key: 12 }))
|
|
61249
61253
|
]),
|
|
61250
|
-
U("div",
|
|
61254
|
+
U("div", O3e, [
|
|
61251
61255
|
g(We),
|
|
61252
61256
|
g(Be),
|
|
61253
61257
|
g(Fe),
|
|
61254
61258
|
a("textBox") ? re("", !0) : (R(), Y(Oe, { key: 0 }))
|
|
61255
61259
|
]),
|
|
61256
|
-
U("div",
|
|
61260
|
+
U("div", $3e, [
|
|
61257
61261
|
g(ye),
|
|
61258
61262
|
a("webPage") ? re("", !0) : (R(), Y(me, { key: 0 }))
|
|
61259
61263
|
]),
|
|
61260
|
-
U("div",
|
|
61264
|
+
U("div", P3e, [
|
|
61261
61265
|
Mt(i.$slots, "toolbar_insert", { toolbarMode: "ribbon" }, void 0, !0)
|
|
61262
61266
|
])
|
|
61263
61267
|
], 64)) : re("", !0),
|
|
61264
61268
|
t.currentMenu === "table" ? (R(), se(Te, { key: 2 }, [
|
|
61265
|
-
U("div",
|
|
61269
|
+
U("div", E3e, [
|
|
61266
61270
|
g(he),
|
|
61267
61271
|
g(G)
|
|
61268
61272
|
]),
|
|
61269
|
-
U("div",
|
|
61273
|
+
U("div", T3e, [
|
|
61270
61274
|
g(ce),
|
|
61271
61275
|
g(be)
|
|
61272
61276
|
]),
|
|
61273
|
-
U("div",
|
|
61274
|
-
U("div",
|
|
61277
|
+
U("div", M3e, [
|
|
61278
|
+
U("div", A3e, [
|
|
61275
61279
|
g(Me),
|
|
61276
61280
|
g(De),
|
|
61277
61281
|
g(Ke)
|
|
61278
61282
|
]),
|
|
61279
|
-
U("div",
|
|
61283
|
+
U("div", D3e, [
|
|
61280
61284
|
g(Ge),
|
|
61281
61285
|
g(Je),
|
|
61282
61286
|
g(ut)
|
|
61283
61287
|
])
|
|
61284
61288
|
]),
|
|
61285
|
-
U("div",
|
|
61286
|
-
U("div",
|
|
61289
|
+
U("div", j3e, [
|
|
61290
|
+
U("div", I3e, [
|
|
61287
61291
|
g(zt)
|
|
61288
61292
|
]),
|
|
61289
|
-
U("div",
|
|
61293
|
+
U("div", F3e, [
|
|
61290
61294
|
g(ln)
|
|
61291
61295
|
])
|
|
61292
61296
|
]),
|
|
61293
|
-
U("div",
|
|
61294
|
-
U("div",
|
|
61297
|
+
U("div", R3e, [
|
|
61298
|
+
U("div", B3e, [
|
|
61295
61299
|
g(Dt),
|
|
61296
61300
|
g(pn)
|
|
61297
61301
|
]),
|
|
61298
|
-
U("div",
|
|
61302
|
+
U("div", N3e, [
|
|
61299
61303
|
g($n)
|
|
61300
61304
|
])
|
|
61301
61305
|
]),
|
|
61302
|
-
U("div",
|
|
61303
|
-
U("div",
|
|
61306
|
+
U("div", L3e, [
|
|
61307
|
+
U("div", z3e, [
|
|
61304
61308
|
g(sr)
|
|
61305
61309
|
]),
|
|
61306
|
-
U("div",
|
|
61310
|
+
U("div", V3e, [
|
|
61307
61311
|
g(Pn)
|
|
61308
61312
|
])
|
|
61309
61313
|
]),
|
|
61310
|
-
U("div",
|
|
61314
|
+
U("div", H3e, [
|
|
61311
61315
|
g(En)
|
|
61312
61316
|
]),
|
|
61313
|
-
U("div",
|
|
61317
|
+
U("div", K3e, [
|
|
61314
61318
|
Mt(i.$slots, "toolbar_table", { toolbarMode: "ribbon" }, void 0, !0)
|
|
61315
61319
|
])
|
|
61316
61320
|
], 64)) : re("", !0),
|
|
61317
61321
|
t.currentMenu === "tools" ? (R(), se(Te, { key: 3 }, [
|
|
61318
|
-
U("div",
|
|
61322
|
+
U("div", W3e, [
|
|
61319
61323
|
a("diagrams") ? re("", !0) : (R(), Y(vt, { key: 0 })),
|
|
61320
61324
|
a("echarts") ? re("", !0) : (R(), Y(rt, { key: 1 })),
|
|
61321
61325
|
a("mind-map") ? re("", !0) : (R(), Y(At, { key: 2 })),
|
|
@@ -61323,54 +61327,54 @@ const l3e = /* @__PURE__ */ nt(o3e, [["__scopeId", "data-v-13ca5ea3"]]), i3e = {
|
|
|
61323
61327
|
a("plantuml") ? re("", !0) : (R(), Y(Wt, { key: 4 })),
|
|
61324
61328
|
a("flowchart") ? re("", !0) : (R(), Y(xn, { key: 5 }))
|
|
61325
61329
|
]),
|
|
61326
|
-
U("div",
|
|
61330
|
+
U("div", U3e, [
|
|
61327
61331
|
a("chineseCase") ? re("", !0) : (R(), Y(Wn, { key: 0 }))
|
|
61328
61332
|
]),
|
|
61329
|
-
U("div",
|
|
61333
|
+
U("div", Y3e, [
|
|
61330
61334
|
Mt(i.$slots, "toolbar_tools", { toolbarMode: "ribbon" }, void 0, !0)
|
|
61331
61335
|
])
|
|
61332
61336
|
], 64)) : re("", !0),
|
|
61333
61337
|
t.currentMenu === "page" ? (R(), se(Te, { key: 4 }, [
|
|
61334
|
-
U("div",
|
|
61338
|
+
U("div", q3e, [
|
|
61335
61339
|
g(Nr)
|
|
61336
61340
|
]),
|
|
61337
|
-
U("div",
|
|
61338
|
-
U("div",
|
|
61341
|
+
U("div", G3e, [
|
|
61342
|
+
U("div", X3e, [
|
|
61339
61343
|
g(Un),
|
|
61340
61344
|
U("div", null, [
|
|
61341
|
-
U("div",
|
|
61345
|
+
U("div", J3e, [
|
|
61342
61346
|
g(Yn)
|
|
61343
61347
|
]),
|
|
61344
|
-
U("div",
|
|
61348
|
+
U("div", Z3e, [
|
|
61345
61349
|
g(qn)
|
|
61346
61350
|
])
|
|
61347
61351
|
])
|
|
61348
61352
|
])
|
|
61349
61353
|
]),
|
|
61350
|
-
U("div",
|
|
61354
|
+
U("div", Q3e, [
|
|
61351
61355
|
g(kr),
|
|
61352
61356
|
g(xr),
|
|
61353
61357
|
g(bt),
|
|
61354
61358
|
g(Sr)
|
|
61355
61359
|
]),
|
|
61356
|
-
U("div",
|
|
61360
|
+
U("div", e5e, [
|
|
61357
61361
|
g(Lr)
|
|
61358
61362
|
]),
|
|
61359
|
-
U("div",
|
|
61363
|
+
U("div", t5e, [
|
|
61360
61364
|
Mt(i.$slots, "toolbar_page", { toolbarMode: "ribbon" }, void 0, !0)
|
|
61361
61365
|
])
|
|
61362
61366
|
], 64)) : re("", !0),
|
|
61363
61367
|
t.currentMenu === "export" ? (R(), se(Te, { key: 5 }, [
|
|
61364
|
-
U("div",
|
|
61368
|
+
U("div", n5e, [
|
|
61365
61369
|
g(oa),
|
|
61366
61370
|
a("exportPDF") ? re("", !0) : (R(), Y(zr, { key: 0 })),
|
|
61367
61371
|
g(Gn)
|
|
61368
61372
|
]),
|
|
61369
|
-
U("div",
|
|
61373
|
+
U("div", r5e, [
|
|
61370
61374
|
a("share") ? re("", !0) : (R(), Y(Xn, { key: 0 })),
|
|
61371
61375
|
a("embed") ? re("", !0) : (R(), Y(io, { key: 1 }))
|
|
61372
61376
|
]),
|
|
61373
|
-
U("div",
|
|
61377
|
+
U("div", a5e, [
|
|
61374
61378
|
Mt(i.$slots, "toolbar_export", { toolbarMode: "ribbon" }, void 0, !0)
|
|
61375
61379
|
])
|
|
61376
61380
|
], 64)) : re("", !0)
|
|
@@ -61382,7 +61386,7 @@ const l3e = /* @__PURE__ */ nt(o3e, [["__scopeId", "data-v-13ca5ea3"]]), i3e = {
|
|
|
61382
61386
|
};
|
|
61383
61387
|
}
|
|
61384
61388
|
});
|
|
61385
|
-
const
|
|
61389
|
+
const l5e = /* @__PURE__ */ nt(o5e, [["__scopeId", "data-v-2bf796a2"]]), OC = (t) => {
|
|
61386
61390
|
const e = {
|
|
61387
61391
|
justNow: ae("time.justNow"),
|
|
61388
61392
|
past: (r) => r.toString().match(/\d/) ? ae("time.past", { n: r }) : r,
|
|
@@ -61394,10 +61398,10 @@ const o5e = /* @__PURE__ */ nt(a5e, [["__scopeId", "data-v-2bf796a2"]]), OC = (t
|
|
|
61394
61398
|
return x3(new Date(t), {
|
|
61395
61399
|
messages: e
|
|
61396
61400
|
}).value.replace(/"/gi, "");
|
|
61397
|
-
},
|
|
61401
|
+
}, i5e = {
|
|
61398
61402
|
key: 0,
|
|
61399
61403
|
class: "umo-toolbar-container"
|
|
61400
|
-
},
|
|
61404
|
+
}, u5e = { class: "umo-status" }, s5e = { class: "umo-status-saved button-text" }, c5e = ["textContent"], d5e = ["textContent"], v5e = { class: "umo-document-status-container umo-status" }, f5e = ["textContent"], m5e = ["textContent"], p5e = { class: "umo-document-button-container" }, h5e = /* @__PURE__ */ ee({
|
|
61401
61405
|
__name: "index",
|
|
61402
61406
|
emits: ["menu-change"],
|
|
61403
61407
|
setup(t, { emit: e }) {
|
|
@@ -61475,8 +61479,8 @@ const o5e = /* @__PURE__ */ nt(a5e, [["__scopeId", "data-v-2bf796a2"]]), OC = (t
|
|
|
61475
61479
|
};
|
|
61476
61480
|
return (w, _) => {
|
|
61477
61481
|
var O, P, j;
|
|
61478
|
-
const C =
|
|
61479
|
-
return k(i).show ? (R(), se("div",
|
|
61482
|
+
const C = l5e, E = i3e, M = UOe, D = Ht, x = kn;
|
|
61483
|
+
return k(i).show ? (R(), se("div", i5e, [
|
|
61480
61484
|
k(i).mode === "ribbon" ? (R(), Y(C, {
|
|
61481
61485
|
key: 0,
|
|
61482
61486
|
menus: k(d),
|
|
@@ -61518,19 +61522,19 @@ const o5e = /* @__PURE__ */ nt(a5e, [["__scopeId", "data-v-2bf796a2"]]), OC = (t
|
|
|
61518
61522
|
onVisibleChange: _[1] || (_[1] = (T) => et(u) ? u.value = T : u = T)
|
|
61519
61523
|
}, {
|
|
61520
61524
|
content: ne(() => [
|
|
61521
|
-
U("div",
|
|
61525
|
+
U("div", v5e, [
|
|
61522
61526
|
U("div", null, pe(w.t("save.network")) + " " + pe(k(s) ? w.t("save.online") : w.t("save.offline")), 1),
|
|
61523
61527
|
U("div", null, [
|
|
61524
61528
|
qe(pe(w.t("save.savedAt")) + " ", 1),
|
|
61525
61529
|
k(o) ? (R(), se("span", {
|
|
61526
61530
|
key: 0,
|
|
61527
61531
|
textContent: pe(w.t("save.savedAtText", { time: k(OC)(k(o)) }))
|
|
61528
|
-
}, null, 8,
|
|
61532
|
+
}, null, 8, f5e)) : (R(), se("span", {
|
|
61529
61533
|
key: 1,
|
|
61530
61534
|
textContent: pe(w.t("save.unsaved"))
|
|
61531
|
-
}, null, 8,
|
|
61535
|
+
}, null, 8, m5e))
|
|
61532
61536
|
]),
|
|
61533
|
-
U("div",
|
|
61537
|
+
U("div", p5e, [
|
|
61534
61538
|
g(D, {
|
|
61535
61539
|
size: "small",
|
|
61536
61540
|
onClick: p,
|
|
@@ -61552,19 +61556,19 @@ const o5e = /* @__PURE__ */ nt(a5e, [["__scopeId", "data-v-2bf796a2"]]), OC = (t
|
|
|
61552
61556
|
size: "small"
|
|
61553
61557
|
}, {
|
|
61554
61558
|
default: ne(() => [
|
|
61555
|
-
U("span",
|
|
61559
|
+
U("span", u5e, [
|
|
61556
61560
|
U("span", {
|
|
61557
61561
|
class: Qe(["umo-status-online", { offline: !k(s) }])
|
|
61558
61562
|
}, null, 2),
|
|
61559
|
-
U("span",
|
|
61563
|
+
U("span", s5e, [
|
|
61560
61564
|
k(o) ? (R(), se("span", {
|
|
61561
61565
|
key: 0,
|
|
61562
61566
|
textContent: pe(w.t("save.savedAtText", { time: k(OC)(k(o)) }))
|
|
61563
|
-
}, null, 8,
|
|
61567
|
+
}, null, 8, c5e)) : (R(), se("span", {
|
|
61564
61568
|
key: 1,
|
|
61565
61569
|
class: "unsaved",
|
|
61566
61570
|
textContent: pe(w.t("save.unsaved"))
|
|
61567
|
-
}, null, 8,
|
|
61571
|
+
}, null, 8, d5e))
|
|
61568
61572
|
])
|
|
61569
61573
|
])
|
|
61570
61574
|
]),
|
|
@@ -61578,13 +61582,13 @@ const o5e = /* @__PURE__ */ nt(a5e, [["__scopeId", "data-v-2bf796a2"]]), OC = (t
|
|
|
61578
61582
|
};
|
|
61579
61583
|
}
|
|
61580
61584
|
});
|
|
61581
|
-
const
|
|
61585
|
+
const g5e = /* @__PURE__ */ nt(h5e, [["__scopeId", "data-v-eb54d532"]]);
|
|
61582
61586
|
/**
|
|
61583
61587
|
* tdesign v1.9.8
|
|
61584
61588
|
* (c) 2024 tdesign
|
|
61585
61589
|
* @license MIT
|
|
61586
61590
|
*/
|
|
61587
|
-
var
|
|
61591
|
+
var b5e = {
|
|
61588
61592
|
pagination: {
|
|
61589
61593
|
itemsPerPage: "{size} / page",
|
|
61590
61594
|
jumpTo: "Jump to",
|
|
@@ -61800,7 +61804,7 @@ var g5e = {
|
|
|
61800
61804
|
copiedText: "copied"
|
|
61801
61805
|
}
|
|
61802
61806
|
};
|
|
61803
|
-
const
|
|
61807
|
+
const y5e = {
|
|
61804
61808
|
fonts: [
|
|
61805
61809
|
{
|
|
61806
61810
|
label: { en_US: "Default Font", zh_CN: "默认字体", ru_RU: "default" },
|
|
@@ -62123,7 +62127,7 @@ const b5e = {
|
|
|
62123
62127
|
height: 27.9
|
|
62124
62128
|
}
|
|
62125
62129
|
]
|
|
62126
|
-
},
|
|
62130
|
+
}, _5e = [
|
|
62127
62131
|
{
|
|
62128
62132
|
label: {
|
|
62129
62133
|
zh_CN: "哔哩哔哩(以https://www.bilibili.com/video/开头)",
|
|
@@ -62213,7 +62217,7 @@ const b5e = {
|
|
|
62213
62217
|
theme: "light",
|
|
62214
62218
|
fullscreenZIndex: 10,
|
|
62215
62219
|
height: "100%",
|
|
62216
|
-
dicts:
|
|
62220
|
+
dicts: y5e,
|
|
62217
62221
|
toolbar: {
|
|
62218
62222
|
defaultMode: "classic",
|
|
62219
62223
|
fromType: "",
|
|
@@ -62327,7 +62331,7 @@ const b5e = {
|
|
|
62327
62331
|
haveImage: !1
|
|
62328
62332
|
//是否生成图片 如果是则在图片展示的同时保存一张echart图片,主要用于复杂图形模式word无法生成但又要有类似效果场景
|
|
62329
62333
|
},
|
|
62330
|
-
webPages:
|
|
62334
|
+
webPages: _5e,
|
|
62331
62335
|
templates: [],
|
|
62332
62336
|
cdnUrl: "https://unpkg.com/@umoteam/editor-external@latest",
|
|
62333
62337
|
baseUrl: "",
|
|
@@ -62413,7 +62417,7 @@ const b5e = {
|
|
|
62413
62417
|
);
|
|
62414
62418
|
});
|
|
62415
62419
|
}
|
|
62416
|
-
},
|
|
62420
|
+
}, w5e = Object.keys(nu), _o = (t) => {
|
|
62417
62421
|
if (Vn(t) && t.length > 0)
|
|
62418
62422
|
return !0;
|
|
62419
62423
|
if (Ar(t)) {
|
|
@@ -62423,7 +62427,7 @@ const b5e = {
|
|
|
62423
62427
|
return !0;
|
|
62424
62428
|
}
|
|
62425
62429
|
return !1;
|
|
62426
|
-
},
|
|
62430
|
+
}, C5e = new W5({
|
|
62427
62431
|
editorKey: {
|
|
62428
62432
|
merge: "replace",
|
|
62429
62433
|
validate: "string!",
|
|
@@ -63179,7 +63183,7 @@ const b5e = {
|
|
|
63179
63183
|
},
|
|
63180
63184
|
required: !1
|
|
63181
63185
|
}
|
|
63182
|
-
}),
|
|
63186
|
+
}), k5e = "mme-editor", x5e = "1.1.22", S5e = "module", O5e = "MME Editor is open-source document editor based on Vue3 and Tiptap. MME Editor provides comprehensive document editing capabilities and AI creation features, supports pagination, supports Markdown syntax, offers basic rich text editing functions, allows for the insertion of various node types in multiple formats, provides a variety of practical tools, and supports setting page styles. It also supports exporting in various formats, printing and print preview, block-level document editing, adding custom extensions, multi-language settings, and a dark theme.", $5e = [
|
|
63183
63187
|
"mme editor",
|
|
63184
63188
|
"document editor",
|
|
63185
63189
|
"docs editor",
|
|
@@ -63195,24 +63199,24 @@ const b5e = {
|
|
|
63195
63199
|
"web office",
|
|
63196
63200
|
"online office",
|
|
63197
63201
|
"tiptap"
|
|
63198
|
-
],
|
|
63202
|
+
], P5e = {
|
|
63199
63203
|
name: "finthing",
|
|
63200
63204
|
email: "fsdw@finething.net",
|
|
63201
63205
|
url: "http://www.finething.net"
|
|
63202
|
-
},
|
|
63206
|
+
}, E5e = "MIT", T5e = "http://www.finething.net", M5e = {
|
|
63203
63207
|
url: "http://www.finething.net",
|
|
63204
63208
|
email: "fsdw@finething.net"
|
|
63205
|
-
},
|
|
63209
|
+
}, A5e = [
|
|
63206
63210
|
"dist",
|
|
63207
63211
|
"types/index.d.ts"
|
|
63208
|
-
],
|
|
63212
|
+
], D5e = {
|
|
63209
63213
|
".": {
|
|
63210
63214
|
import: "./dist/mme-editor.js"
|
|
63211
63215
|
},
|
|
63212
63216
|
"./style": {
|
|
63213
63217
|
import: "./dist/style.css"
|
|
63214
63218
|
}
|
|
63215
|
-
},
|
|
63219
|
+
}, j5e = "./types/index.d.ts", I5e = {
|
|
63216
63220
|
build: "vue-tsc --noEmit && vite build",
|
|
63217
63221
|
dev: "vite --port 9000 --open --force",
|
|
63218
63222
|
format: "prettier --write .",
|
|
@@ -63226,7 +63230,7 @@ const b5e = {
|
|
|
63226
63230
|
"test:watch": "npm run test --watch --coverage",
|
|
63227
63231
|
prepare: "husky",
|
|
63228
63232
|
prepublishOnly: "npm run build"
|
|
63229
|
-
},
|
|
63233
|
+
}, F5e = {
|
|
63230
63234
|
"@eslint/object-schema": "^2.1.4",
|
|
63231
63235
|
"@imgly/background-removal": "1.5.5",
|
|
63232
63236
|
"@tiptap-extend/columns": "^2.1.6",
|
|
@@ -63299,7 +63303,7 @@ const b5e = {
|
|
|
63299
63303
|
"y-prosemirror": "^1.2.15",
|
|
63300
63304
|
"y-protocols": "^1.0.6",
|
|
63301
63305
|
yjs: "^13.6.23"
|
|
63302
|
-
},
|
|
63306
|
+
}, R5e = {
|
|
63303
63307
|
"@eslint/eslintrc": "^3.1.0",
|
|
63304
63308
|
"@eslint/js": "^9.10.0",
|
|
63305
63309
|
"@intlify/unplugin-vue-i18n": "^5.0.0",
|
|
@@ -63357,25 +63361,25 @@ const b5e = {
|
|
|
63357
63361
|
vitest: "^2.0.5",
|
|
63358
63362
|
vue: "^3.0.11",
|
|
63359
63363
|
"vue-tsc": "^2.1.6"
|
|
63360
|
-
},
|
|
63364
|
+
}, B5e = {
|
|
63361
63365
|
node: ">=18.0.0"
|
|
63362
63366
|
}, $C = {
|
|
63363
|
-
name:
|
|
63364
|
-
version:
|
|
63365
|
-
type:
|
|
63366
|
-
description:
|
|
63367
|
-
keywords:
|
|
63368
|
-
author:
|
|
63369
|
-
license:
|
|
63370
|
-
homepage:
|
|
63371
|
-
bugs:
|
|
63372
|
-
files:
|
|
63373
|
-
exports:
|
|
63374
|
-
types:
|
|
63375
|
-
scripts:
|
|
63376
|
-
dependencies:
|
|
63377
|
-
devDependencies:
|
|
63378
|
-
engines:
|
|
63367
|
+
name: k5e,
|
|
63368
|
+
version: x5e,
|
|
63369
|
+
type: S5e,
|
|
63370
|
+
description: O5e,
|
|
63371
|
+
keywords: $5e,
|
|
63372
|
+
author: P5e,
|
|
63373
|
+
license: E5e,
|
|
63374
|
+
homepage: T5e,
|
|
63375
|
+
bugs: M5e,
|
|
63376
|
+
files: A5e,
|
|
63377
|
+
exports: D5e,
|
|
63378
|
+
types: j5e,
|
|
63379
|
+
scripts: I5e,
|
|
63380
|
+
dependencies: F5e,
|
|
63381
|
+
devDependencies: R5e,
|
|
63382
|
+
engines: B5e,
|
|
63379
63383
|
"lint-staged": {
|
|
63380
63384
|
"*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue,less,css,yml,yaml,json,md,html}": [
|
|
63381
63385
|
"prettier --write src"
|
|
@@ -63387,7 +63391,7 @@ const b5e = {
|
|
|
63387
63391
|
"eslint --fix src"
|
|
63388
63392
|
]
|
|
63389
63393
|
}
|
|
63390
|
-
},
|
|
63394
|
+
}, N5e = () => {
|
|
63391
63395
|
console.info(
|
|
63392
63396
|
ae("welcome", { version: $C.version, homepage: $C.homepage }),
|
|
63393
63397
|
"background:#3480f9;color:#fff;border-top-left-radius:3px;border-bottom-left-radius:3px;padding:4px 8px 3px;",
|
|
@@ -63395,12 +63399,12 @@ const b5e = {
|
|
|
63395
63399
|
);
|
|
63396
63400
|
}, PC = (t, e) => {
|
|
63397
63401
|
const n = Ar(t) && Object.keys(t).includes("value") ? t.value : t, r = Ar(n) ? Object.keys(n).reduce((o, l) => (n[l] !== void 0 && (o[l] = n[l]), o), {}) : {};
|
|
63398
|
-
return
|
|
63402
|
+
return C5e.merge(
|
|
63399
63403
|
nu,
|
|
63400
63404
|
e || {},
|
|
63401
63405
|
r
|
|
63402
63406
|
);
|
|
63403
|
-
},
|
|
63407
|
+
}, L5e = {
|
|
63404
63408
|
pagination: {
|
|
63405
63409
|
itemsPerPage: "{size} / страница",
|
|
63406
63410
|
jumpTo: "Перейти к",
|
|
@@ -63645,13 +63649,13 @@ const b5e = {
|
|
|
63645
63649
|
descriptions: {
|
|
63646
63650
|
colonText: ":"
|
|
63647
63651
|
}
|
|
63648
|
-
},
|
|
63652
|
+
}, z5e = ["id"], V5e = { class: "umo-toolbar" }, H5e = { class: "umo-main" }, K5e = {
|
|
63649
63653
|
key: 0,
|
|
63650
63654
|
class: "umo-footer"
|
|
63651
63655
|
}, EC = /* @__PURE__ */ ee({
|
|
63652
63656
|
name: "UmoEditor",
|
|
63653
63657
|
__name: "index",
|
|
63654
|
-
props:
|
|
63658
|
+
props: w5e,
|
|
63655
63659
|
emits: [
|
|
63656
63660
|
"beforeCreate",
|
|
63657
63661
|
"created",
|
|
@@ -63738,7 +63742,7 @@ const b5e = {
|
|
|
63738
63742
|
C.value = qt();
|
|
63739
63743
|
}
|
|
63740
63744
|
), Ve(() => {
|
|
63741
|
-
L(i.value.theme), setTimeout(
|
|
63745
|
+
L(i.value.theme), setTimeout(N5e);
|
|
63742
63746
|
}), It(() => {
|
|
63743
63747
|
x(), We();
|
|
63744
63748
|
}), oe(
|
|
@@ -63886,8 +63890,8 @@ const b5e = {
|
|
|
63886
63890
|
);
|
|
63887
63891
|
const $ = N({
|
|
63888
63892
|
"zh-CN": L2,
|
|
63889
|
-
"en-US":
|
|
63890
|
-
"ru-RU":
|
|
63893
|
+
"en-US": b5e,
|
|
63894
|
+
"ru-RU": L5e
|
|
63891
63895
|
});
|
|
63892
63896
|
jt("menu-click", (G) => {
|
|
63893
63897
|
a("menuClick", G);
|
|
@@ -64321,7 +64325,7 @@ const b5e = {
|
|
|
64321
64325
|
getWorkitemContentById: W,
|
|
64322
64326
|
printPage: V
|
|
64323
64327
|
}), (G, ce) => {
|
|
64324
|
-
const be =
|
|
64328
|
+
const be = g5e, Me = zOe, De = iwe, Ke = rwe, Ge = Mne;
|
|
64325
64329
|
return R(), Y(Ge, {
|
|
64326
64330
|
key: k(i).editorKey,
|
|
64327
64331
|
"global-config": {
|
|
@@ -64347,7 +64351,7 @@ const b5e = {
|
|
|
64347
64351
|
zIndex: k(h) ? k(i).fullscreenZIndex : "unset"
|
|
64348
64352
|
})
|
|
64349
64353
|
}, [
|
|
64350
|
-
U("header",
|
|
64354
|
+
U("header", V5e, [
|
|
64351
64355
|
(R(), Y(be, {
|
|
64352
64356
|
key: k(C),
|
|
64353
64357
|
onMenuChange: ce[0] || (ce[0] = (Dt) => a("menuChange", Dt))
|
|
@@ -64360,7 +64364,7 @@ const b5e = {
|
|
|
64360
64364
|
}))
|
|
64361
64365
|
]), 1024))
|
|
64362
64366
|
]),
|
|
64363
|
-
U("main",
|
|
64367
|
+
U("main", H5e, [
|
|
64364
64368
|
k(w).mode !== "source" ? (R(), Y(Me, { key: 0 }, {
|
|
64365
64369
|
bubble_menu: ne((Dt) => [
|
|
64366
64370
|
Mt(G.$slots, "bubble_menu", El(Tl(Dt)))
|
|
@@ -64368,10 +64372,10 @@ const b5e = {
|
|
|
64368
64372
|
_: 3
|
|
64369
64373
|
})) : (R(), Y(De, { key: 1 }))
|
|
64370
64374
|
]),
|
|
64371
|
-
k(w).mode !== "source" ? (R(), se("footer",
|
|
64375
|
+
k(w).mode !== "source" ? (R(), se("footer", K5e, [
|
|
64372
64376
|
g(Ke)
|
|
64373
64377
|
])) : re("", !0)
|
|
64374
|
-
], 14,
|
|
64378
|
+
], 14, z5e)
|
|
64375
64379
|
];
|
|
64376
64380
|
}),
|
|
64377
64381
|
_: 3
|
|
@@ -64379,7 +64383,7 @@ const b5e = {
|
|
|
64379
64383
|
};
|
|
64380
64384
|
}
|
|
64381
64385
|
});
|
|
64382
|
-
const
|
|
64386
|
+
const J8e = {
|
|
64383
64387
|
install: (t, e) => {
|
|
64384
64388
|
t.provide("defaultOptions", e), t.component(EC.name ?? "UmoEditor", EC);
|
|
64385
64389
|
}
|
|
@@ -64390,5 +64394,5 @@ export {
|
|
|
64390
64394
|
Ce as UmoMenuButton,
|
|
64391
64395
|
Uu as UmoTooltip,
|
|
64392
64396
|
EC as default,
|
|
64393
|
-
|
|
64397
|
+
J8e as useUmoEditor
|
|
64394
64398
|
};
|