mme-editor 1.1.11 → 1.1.12
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 +288 -287
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/mme-editor.js
CHANGED
|
@@ -116,7 +116,7 @@ import _i 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.12
|
|
120
120
|
* @license MIT
|
|
121
121
|
* @author finthing http://www.finething.net
|
|
122
122
|
* @see http://www.finething.net
|
|
@@ -56766,7 +56766,7 @@ const lOe = { class: "umo-node-workitem-inner umo-select-outline" }, iOe = { cla
|
|
|
56766
56766
|
}, sOe = {
|
|
56767
56767
|
class: "context-menu-popup",
|
|
56768
56768
|
style: { display: "flex", "flex-direction": "column", "align-items": "flex-start" }
|
|
56769
|
-
}, cOe = { class: "workitem-left" }, dOe = /* @__PURE__ */ ee({
|
|
56769
|
+
}, cOe = { class: "workitem-left" }, dOe = ["workitemInstId"], vOe = /* @__PURE__ */ ee({
|
|
56770
56770
|
__name: "node-view",
|
|
56771
56771
|
props: br,
|
|
56772
56772
|
setup(t) {
|
|
@@ -56930,8 +56930,9 @@ const lOe = { class: "umo-node-workitem-inner umo-select-outline" }, iOe = { cla
|
|
|
56930
56930
|
ref: l
|
|
56931
56931
|
}, null, 8, ["modelValue"])) : (R(), ce("div", {
|
|
56932
56932
|
key: 1,
|
|
56933
|
-
onClick: c[8] || (c[8] = (v) => i(!0))
|
|
56934
|
-
|
|
56933
|
+
onClick: c[8] || (c[8] = (v) => i(!0)),
|
|
56934
|
+
workitemInstId: s.node.attrs.workitemInstId
|
|
56935
|
+
}, pe(x(a).title), 9, dOe))
|
|
56935
56936
|
])
|
|
56936
56937
|
]),
|
|
56937
56938
|
x(r) ? (R(), Y(x(V5), {
|
|
@@ -56954,7 +56955,7 @@ const lOe = { class: "umo-node-workitem-inner umo-select-outline" }, iOe = { cla
|
|
|
56954
56955
|
};
|
|
56955
56956
|
}
|
|
56956
56957
|
});
|
|
56957
|
-
const
|
|
56958
|
+
const fOe = /* @__PURE__ */ nt(vOe, [["__scopeId", "data-v-7ea90f5a"]]), mOe = gr.create({
|
|
56958
56959
|
name: "workitem",
|
|
56959
56960
|
group: "block",
|
|
56960
56961
|
content: "block+",
|
|
@@ -56992,7 +56993,7 @@ const vOe = /* @__PURE__ */ nt(dOe, [["__scopeId", "data-v-895b1c9a"]]), fOe = g
|
|
|
56992
56993
|
return ["workitem", or(t), 0];
|
|
56993
56994
|
},
|
|
56994
56995
|
addNodeView() {
|
|
56995
|
-
return _r(
|
|
56996
|
+
return _r(fOe);
|
|
56996
56997
|
},
|
|
56997
56998
|
addCommands() {
|
|
56998
56999
|
return {
|
|
@@ -57005,7 +57006,7 @@ const vOe = /* @__PURE__ */ nt(dOe, [["__scopeId", "data-v-895b1c9a"]]), fOe = g
|
|
|
57005
57006
|
return r === "start" ? (i = 0, l.nodeSize) : (i = o, o + l.nodeSize), e().insertContentAt(i, l).run();
|
|
57006
57007
|
},
|
|
57007
57008
|
getWorkitemContent: (t) => ({ editor: e }) => {
|
|
57008
|
-
const r =
|
|
57009
|
+
const r = pOe(e).find((u) => u.node.type.name === this.name && u.node.attrs.workitemInstId === t.workitemInstId);
|
|
57009
57010
|
if (!r)
|
|
57010
57011
|
return !1;
|
|
57011
57012
|
const o = sh.fromSchema(e.schema).serializeNode(r.node), l = document.createElement("div");
|
|
@@ -57013,15 +57014,15 @@ const vOe = /* @__PURE__ */ nt(dOe, [["__scopeId", "data-v-895b1c9a"]]), fOe = g
|
|
|
57013
57014
|
}
|
|
57014
57015
|
};
|
|
57015
57016
|
}
|
|
57016
|
-
}),
|
|
57017
|
+
}), pOe = (t) => {
|
|
57017
57018
|
const e = [];
|
|
57018
57019
|
return t.state.doc.descendants((n, r) => {
|
|
57019
57020
|
e.push({ node: n, pos: r });
|
|
57020
57021
|
}), e;
|
|
57021
|
-
},
|
|
57022
|
+
}, hOe = { class: "umo-node-container umo-hover-shadow umo-node-video" }, gOe = ["src"], bOe = {
|
|
57022
57023
|
key: 0,
|
|
57023
57024
|
class: "uploading"
|
|
57024
|
-
},
|
|
57025
|
+
}, yOe = /* @__PURE__ */ ee({
|
|
57025
57026
|
__name: "node-view",
|
|
57026
57027
|
props: br,
|
|
57027
57028
|
setup(t) {
|
|
@@ -57085,7 +57086,7 @@ const vOe = /* @__PURE__ */ nt(dOe, [["__scopeId", "data-v-895b1c9a"]]), fOe = g
|
|
|
57085
57086
|
style: Et(c.value)
|
|
57086
57087
|
}, {
|
|
57087
57088
|
default: te(() => [
|
|
57088
|
-
W("div",
|
|
57089
|
+
W("div", hOe, [
|
|
57089
57090
|
g(x(hu), {
|
|
57090
57091
|
selected: x(o),
|
|
57091
57092
|
rotatable: !1,
|
|
@@ -57109,8 +57110,8 @@ const vOe = /* @__PURE__ */ nt(dOe, [["__scopeId", "data-v-895b1c9a"]]), fOe = g
|
|
|
57109
57110
|
controls: "",
|
|
57110
57111
|
crossorigin: "anonymous",
|
|
57111
57112
|
onCanplay: d
|
|
57112
|
-
}, null, 40,
|
|
57113
|
-
!f.node.attrs.uploaded && f.node.attrs.file !== null ? (R(), ce("div",
|
|
57113
|
+
}, null, 40, gOe),
|
|
57114
|
+
!f.node.attrs.uploaded && f.node.attrs.file !== null ? (R(), ce("div", bOe)) : re("", !0)
|
|
57114
57115
|
]),
|
|
57115
57116
|
_: 1
|
|
57116
57117
|
}, 8, ["selected", "width", "height", "max-width", "max-height"])
|
|
@@ -57120,7 +57121,7 @@ const vOe = /* @__PURE__ */ nt(dOe, [["__scopeId", "data-v-895b1c9a"]]), fOe = g
|
|
|
57120
57121
|
}, 8, ["id", "style"]));
|
|
57121
57122
|
}
|
|
57122
57123
|
});
|
|
57123
|
-
const
|
|
57124
|
+
const _Oe = gr.create({
|
|
57124
57125
|
name: "video",
|
|
57125
57126
|
group: "block",
|
|
57126
57127
|
atom: !0,
|
|
@@ -57168,7 +57169,7 @@ const yOe = gr.create({
|
|
|
57168
57169
|
return ["video", or(t)];
|
|
57169
57170
|
},
|
|
57170
57171
|
addNodeView() {
|
|
57171
|
-
return _r(
|
|
57172
|
+
return _r(yOe);
|
|
57172
57173
|
},
|
|
57173
57174
|
addCommands() {
|
|
57174
57175
|
return {
|
|
@@ -57178,7 +57179,7 @@ const yOe = gr.create({
|
|
|
57178
57179
|
})
|
|
57179
57180
|
};
|
|
57180
57181
|
}
|
|
57181
|
-
}),
|
|
57182
|
+
}), wOe = H5.extend({
|
|
57182
57183
|
content: "heading block*|block+",
|
|
57183
57184
|
addAttributes() {
|
|
57184
57185
|
return {
|
|
@@ -57193,11 +57194,11 @@ const yOe = gr.create({
|
|
|
57193
57194
|
}
|
|
57194
57195
|
};
|
|
57195
57196
|
}
|
|
57196
|
-
}),
|
|
57197
|
+
}), COe = wOe.configure({
|
|
57197
57198
|
HTMLAttributes: {
|
|
57198
57199
|
class: "umo-node-page-title"
|
|
57199
57200
|
}
|
|
57200
|
-
}),
|
|
57201
|
+
}), xOe = ({
|
|
57201
57202
|
container: t,
|
|
57202
57203
|
options: e
|
|
57203
57204
|
}) => {
|
|
@@ -57254,7 +57255,7 @@ const yOe = gr.create({
|
|
|
57254
57255
|
}),
|
|
57255
57256
|
u5,
|
|
57256
57257
|
q4,
|
|
57257
|
-
|
|
57258
|
+
_Oe,
|
|
57258
57259
|
kke,
|
|
57259
57260
|
Rxe,
|
|
57260
57261
|
qSe,
|
|
@@ -57277,7 +57278,7 @@ const yOe = gr.create({
|
|
|
57277
57278
|
// 页面
|
|
57278
57279
|
tOe,
|
|
57279
57280
|
// 工作项
|
|
57280
|
-
|
|
57281
|
+
mOe,
|
|
57281
57282
|
Ake.configure({
|
|
57282
57283
|
visible: e.value.page.showBreakMarks
|
|
57283
57284
|
}),
|
|
@@ -57320,7 +57321,7 @@ const yOe = gr.create({
|
|
|
57320
57321
|
color: "var(--umo-primary-color)"
|
|
57321
57322
|
}),
|
|
57322
57323
|
eSe,
|
|
57323
|
-
o.fromType === "" ?
|
|
57324
|
+
o.fromType === "" ? COe : ""
|
|
57324
57325
|
// 文档编辑用PageTitle,若是用于工作项和评论,则不用
|
|
57325
57326
|
];
|
|
57326
57327
|
}, kC = (t) => {
|
|
@@ -57329,7 +57330,7 @@ const yOe = gr.create({
|
|
|
57329
57330
|
const n = Bt("document", t);
|
|
57330
57331
|
return (!((r = t.value.document) != null && r.enableMarkdown) || !((a = n.value) != null && a.enableMarkdown)) && (e = [V4, LC, q4]), e;
|
|
57331
57332
|
}, n$ = (t) => t && typeof t == "string" && !t.startsWith("<") ? t.split(`
|
|
57332
|
-
`).map((e) => `<p>${e}</p>`).join("") : t,
|
|
57333
|
+
`).map((e) => `<p>${e}</p>`).join("") : t, kOe = /* @__PURE__ */ ee({
|
|
57333
57334
|
__name: "index",
|
|
57334
57335
|
setup(t) {
|
|
57335
57336
|
var v, f, m, p, h;
|
|
@@ -57338,7 +57339,7 @@ const yOe = gr.create({
|
|
|
57338
57339
|
var y, b, w;
|
|
57339
57340
|
return (w = (b = (y = r.value.dicts) == null ? void 0 : y.lineHeights) == null ? void 0 : b.find((_) => _.default)) == null ? void 0 : w.value;
|
|
57340
57341
|
}
|
|
57341
|
-
), l = ne("container"), i =
|
|
57342
|
+
), l = ne("container"), i = xOe({
|
|
57342
57343
|
container: l,
|
|
57343
57344
|
options: r
|
|
57344
57345
|
}), u = new Y3({
|
|
@@ -57430,7 +57431,7 @@ const yOe = gr.create({
|
|
|
57430
57431
|
};
|
|
57431
57432
|
}
|
|
57432
57433
|
});
|
|
57433
|
-
const
|
|
57434
|
+
const SOe = { class: "umo-toc-container" }, OOe = { class: "umo-toc-title" }, $Oe = { class: "umo-toc-content umo-scrollbar" }, Gv = 320, POe = /* @__PURE__ */ ee({
|
|
57434
57435
|
__name: "toc",
|
|
57435
57436
|
emits: ["close"],
|
|
57436
57437
|
setup(t) {
|
|
@@ -57505,8 +57506,8 @@ const kOe = { class: "umo-toc-container" }, SOe = { class: "umo-toc-title" }, OO
|
|
|
57505
57506
|
};
|
|
57506
57507
|
return (m, p) => {
|
|
57507
57508
|
const h = It, y = KZ;
|
|
57508
|
-
return R(), ce("div",
|
|
57509
|
-
W("div",
|
|
57509
|
+
return R(), ce("div", SOe, [
|
|
57510
|
+
W("div", OOe, [
|
|
57510
57511
|
g(h, {
|
|
57511
57512
|
class: "icon-toc",
|
|
57512
57513
|
name: "toc"
|
|
@@ -57519,7 +57520,7 @@ const kOe = { class: "umo-toc-container" }, SOe = { class: "umo-toc-title" }, OO
|
|
|
57519
57520
|
g(h, { name: "close" })
|
|
57520
57521
|
])
|
|
57521
57522
|
]),
|
|
57522
|
-
W("div",
|
|
57523
|
+
W("div", $Oe, [
|
|
57523
57524
|
g(y, {
|
|
57524
57525
|
class: "umo-toc-tree",
|
|
57525
57526
|
data: x(r),
|
|
@@ -57543,7 +57544,7 @@ const kOe = { class: "umo-toc-container" }, SOe = { class: "umo-toc-title" }, OO
|
|
|
57543
57544
|
};
|
|
57544
57545
|
}
|
|
57545
57546
|
});
|
|
57546
|
-
const
|
|
57547
|
+
const EOe = /* @__PURE__ */ nt(POe, [["__scopeId", "data-v-1934cfd4"]]), TOe = { class: "umo-page-container" }, MOe = { class: "umo-page-node-content" }, AOe = /* @__PURE__ */ ee({
|
|
57547
57548
|
__name: "page",
|
|
57548
57549
|
setup(t) {
|
|
57549
57550
|
const e = ne("container"), n = ne("imageViewer"), r = ne("page"), a = F(() => {
|
|
@@ -57615,8 +57616,8 @@ const POe = /* @__PURE__ */ nt($Oe, [["__scopeId", "data-v-1934cfd4"]]), EOe = {
|
|
|
57615
57616
|
}
|
|
57616
57617
|
), (v, f) => {
|
|
57617
57618
|
var C, E, T, M, k, S, P, D, A, I;
|
|
57618
|
-
const m =
|
|
57619
|
-
return R(), ce("div",
|
|
57619
|
+
const m = EOe, p = kOe, h = _ne, y = mee, b = lq, w = gwe, _ = swe;
|
|
57620
|
+
return R(), ce("div", TOe, [
|
|
57620
57621
|
x(r).showToc ? (R(), Y(m, {
|
|
57621
57622
|
key: 0,
|
|
57622
57623
|
onClose: f[0] || (f[0] = (O) => x(r).showToc = !1)
|
|
@@ -57663,7 +57664,7 @@ const POe = /* @__PURE__ */ nt($Oe, [["__scopeId", "data-v-1934cfd4"]]), EOe = {
|
|
|
57663
57664
|
style: { width: "var(--umo-page-margin-right)" }
|
|
57664
57665
|
})
|
|
57665
57666
|
], -1)),
|
|
57666
|
-
W("div",
|
|
57667
|
+
W("div", MOe, [
|
|
57667
57668
|
g(p, null, {
|
|
57668
57669
|
bubble_menu: te((O) => [
|
|
57669
57670
|
Mt(v.$slots, "bubble_menu", El(Tl(O)), void 0, !0)
|
|
@@ -57711,12 +57712,12 @@ const POe = /* @__PURE__ */ nt($Oe, [["__scopeId", "data-v-1934cfd4"]]), EOe = {
|
|
|
57711
57712
|
};
|
|
57712
57713
|
}
|
|
57713
57714
|
});
|
|
57714
|
-
const
|
|
57715
|
-
const
|
|
57716
|
-
function
|
|
57715
|
+
const DOe = /* @__PURE__ */ nt(AOe, [["__scopeId", "data-v-f000912a"]]);
|
|
57716
|
+
const jOe = {}, IOe = { class: "umo-source-container" }, FOe = { class: "umo-source-title" };
|
|
57717
|
+
function ROe(t, e) {
|
|
57717
57718
|
const n = It;
|
|
57718
|
-
return R(), ce("div",
|
|
57719
|
-
W("h3",
|
|
57719
|
+
return R(), ce("div", IOe, [
|
|
57720
|
+
W("h3", FOe, [
|
|
57720
57721
|
g(n, {
|
|
57721
57722
|
name: "code",
|
|
57722
57723
|
class: "icon-source"
|
|
@@ -57725,7 +57726,7 @@ function FOe(t, e) {
|
|
|
57725
57726
|
])
|
|
57726
57727
|
]);
|
|
57727
57728
|
}
|
|
57728
|
-
const
|
|
57729
|
+
const BOe = /* @__PURE__ */ nt(jOe, [["render", ROe], ["__scopeId", "data-v-b506e29f"]]), NOe = /* @__PURE__ */ ee({
|
|
57729
57730
|
__name: "scrollable",
|
|
57730
57731
|
setup(t, { expose: e }) {
|
|
57731
57732
|
const n = N(null), r = N(null);
|
|
@@ -57785,7 +57786,7 @@ const ROe = /* @__PURE__ */ nt(DOe, [["render", FOe], ["__scopeId", "data-v-b506
|
|
|
57785
57786
|
};
|
|
57786
57787
|
}
|
|
57787
57788
|
});
|
|
57788
|
-
const r$ = /* @__PURE__ */ nt(
|
|
57789
|
+
const r$ = /* @__PURE__ */ nt(NOe, [["__scopeId", "data-v-41b75417"]]), LOe = { class: "umo-embed-container" }, zOe = ["textContent"], VOe = /* @__PURE__ */ ee({
|
|
57789
57790
|
__name: "embed",
|
|
57790
57791
|
setup(t) {
|
|
57791
57792
|
const e = ne("options"), n = ne("container");
|
|
@@ -57816,11 +57817,11 @@ const r$ = /* @__PURE__ */ nt(BOe, [["__scopeId", "data-v-41b75417"]]), NOe = {
|
|
|
57816
57817
|
onClose: i[1] || (i[1] = (d) => et(r) ? r.value = !1 : r = !1)
|
|
57817
57818
|
}, {
|
|
57818
57819
|
default: te(() => [
|
|
57819
|
-
W("div",
|
|
57820
|
+
W("div", LOe, [
|
|
57820
57821
|
W("div", {
|
|
57821
57822
|
class: "umo-embed-tip",
|
|
57822
57823
|
textContent: pe(l.t("export.embed.tip"))
|
|
57823
|
-
}, null, 8,
|
|
57824
|
+
}, null, 8, zOe),
|
|
57824
57825
|
g(s, {
|
|
57825
57826
|
class: "umo-embed-textarea",
|
|
57826
57827
|
value: x(a),
|
|
@@ -57835,7 +57836,7 @@ const r$ = /* @__PURE__ */ nt(BOe, [["__scopeId", "data-v-41b75417"]]), NOe = {
|
|
|
57835
57836
|
};
|
|
57836
57837
|
}
|
|
57837
57838
|
});
|
|
57838
|
-
const a$ = /* @__PURE__ */ nt(
|
|
57839
|
+
const a$ = /* @__PURE__ */ nt(VOe, [["__scopeId", "data-v-68974d8a"]]), HOe = { class: "umo-share-container" }, KOe = ["textContent"], UOe = /* @__PURE__ */ ee({
|
|
57839
57840
|
__name: "share",
|
|
57840
57841
|
setup(t) {
|
|
57841
57842
|
const e = ne("options"), n = ne("container");
|
|
@@ -57866,11 +57867,11 @@ const a$ = /* @__PURE__ */ nt(zOe, [["__scopeId", "data-v-68974d8a"]]), VOe = {
|
|
|
57866
57867
|
onClose: l[1] || (l[1] = (c) => et(r) ? r.value = !1 : r = !1)
|
|
57867
57868
|
}, {
|
|
57868
57869
|
default: te(() => [
|
|
57869
|
-
W("div",
|
|
57870
|
+
W("div", HOe, [
|
|
57870
57871
|
W("div", {
|
|
57871
57872
|
class: "umo-share-tip",
|
|
57872
57873
|
textContent: pe(o.t("export.share.tip"))
|
|
57873
|
-
}, null, 8,
|
|
57874
|
+
}, null, 8, KOe),
|
|
57874
57875
|
g(u, {
|
|
57875
57876
|
class: "umo-share-textarea",
|
|
57876
57877
|
value: x(e).shareUrl,
|
|
@@ -57885,7 +57886,7 @@ const a$ = /* @__PURE__ */ nt(zOe, [["__scopeId", "data-v-68974d8a"]]), VOe = {
|
|
|
57885
57886
|
};
|
|
57886
57887
|
}
|
|
57887
57888
|
});
|
|
57888
|
-
const o$ = /* @__PURE__ */ nt(
|
|
57889
|
+
const o$ = /* @__PURE__ */ nt(UOe, [["__scopeId", "data-v-65b28de5"]]), l$ = /* @__PURE__ */ ee({
|
|
57889
57890
|
__name: "text",
|
|
57890
57891
|
setup(t) {
|
|
57891
57892
|
const e = ne("editor"), n = ne("options"), r = () => {
|
|
@@ -57987,7 +57988,7 @@ const o$ = /* @__PURE__ */ nt(KOe, [["__scopeId", "data-v-65b28de5"]]), l$ = /*
|
|
|
57987
57988
|
}, null, 8, ["text", "menu-active"])) : re("", !0);
|
|
57988
57989
|
};
|
|
57989
57990
|
}
|
|
57990
|
-
}),
|
|
57991
|
+
}), WOe = { class: "umo-background-container" }, YOe = ["onClick"], qOe = { class: "umo-background-more-menu" }, GOe = ["textContent"], XOe = { class: "umo-background-more-arrow" }, JOe = /* @__PURE__ */ ee({
|
|
57991
57992
|
__name: "background",
|
|
57992
57993
|
setup(t) {
|
|
57993
57994
|
const { popupVisible: e, togglePopup: n } = fn(), r = ne("container"), a = ne("page"), o = ne("options"), l = [
|
|
@@ -58011,13 +58012,13 @@ const o$ = /* @__PURE__ */ nt(KOe, [["__scopeId", "data-v-65b28de5"]]), l$ = /*
|
|
|
58011
58012
|
onTogglePopup: x(n)
|
|
58012
58013
|
}, {
|
|
58013
58014
|
content: te(() => [
|
|
58014
|
-
W("div",
|
|
58015
|
+
W("div", WOe, [
|
|
58015
58016
|
(R(), ce(Te, null, st(l, (p, h) => W("div", {
|
|
58016
58017
|
key: h,
|
|
58017
58018
|
class: Qe(["umo-background-item", { active: x(a).background === p.value }]),
|
|
58018
58019
|
style: Et({ backgroundColor: p.value }),
|
|
58019
58020
|
onClick: (y) => u(p.value ?? "")
|
|
58020
|
-
}, pe(p.label), 15,
|
|
58021
|
+
}, pe(p.label), 15, YOe)), 64))
|
|
58021
58022
|
]),
|
|
58022
58023
|
g(f, {
|
|
58023
58024
|
attach: x(r),
|
|
@@ -58038,13 +58039,13 @@ const o$ = /* @__PURE__ */ nt(KOe, [["__scopeId", "data-v-65b28de5"]]), l$ = /*
|
|
|
58038
58039
|
W("div", {
|
|
58039
58040
|
class: Qe(["umo-background-more", { active: i.value }])
|
|
58040
58041
|
}, [
|
|
58041
|
-
W("div",
|
|
58042
|
+
W("div", qOe, [
|
|
58042
58043
|
g(d, { name: "palette-color" }),
|
|
58043
58044
|
W("span", {
|
|
58044
58045
|
textContent: pe(s.t("page.bg.custom"))
|
|
58045
|
-
}, null, 8,
|
|
58046
|
+
}, null, 8, GOe)
|
|
58046
58047
|
]),
|
|
58047
|
-
W("div",
|
|
58048
|
+
W("div", XOe, [
|
|
58048
58049
|
g(d, { name: "arrow-down" })
|
|
58049
58050
|
])
|
|
58050
58051
|
], 2)
|
|
@@ -58057,7 +58058,7 @@ const o$ = /* @__PURE__ */ nt(KOe, [["__scopeId", "data-v-65b28de5"]]), l$ = /*
|
|
|
58057
58058
|
};
|
|
58058
58059
|
}
|
|
58059
58060
|
});
|
|
58060
|
-
const c$ = /* @__PURE__ */ nt(
|
|
58061
|
+
const c$ = /* @__PURE__ */ nt(JOe, [["__scopeId", "data-v-7d0c674b"]]), ZOe = { class: "umo-watermark-container" }, QOe = { class: "umo-watermark-toolbar" }, e4e = ["textContent"], t4e = { class: "umo-watermark-type" }, n4e = ["textContent"], r4e = ["textContent"], a4e = /* @__PURE__ */ ee({
|
|
58061
58062
|
__name: "watermark",
|
|
58062
58063
|
setup(t) {
|
|
58063
58064
|
var i;
|
|
@@ -58080,8 +58081,8 @@ const c$ = /* @__PURE__ */ nt(XOe, [["__scopeId", "data-v-7d0c674b"]]), JOe = {
|
|
|
58080
58081
|
content: te(() => {
|
|
58081
58082
|
var h, y, b;
|
|
58082
58083
|
return [
|
|
58083
|
-
W("div",
|
|
58084
|
-
W("div",
|
|
58084
|
+
W("div", ZOe, [
|
|
58085
|
+
W("div", QOe, [
|
|
58085
58086
|
g(c, {
|
|
58086
58087
|
style: { width: "140px" },
|
|
58087
58088
|
tooltip: u.t("page.watermark.fontFamily"),
|
|
@@ -58139,8 +58140,8 @@ const c$ = /* @__PURE__ */ nt(XOe, [["__scopeId", "data-v-7d0c674b"]]), JOe = {
|
|
|
58139
58140
|
W("div", {
|
|
58140
58141
|
class: "umo-watermark-type-title",
|
|
58141
58142
|
textContent: pe(u.t("page.watermark.type"))
|
|
58142
|
-
}, null, 8,
|
|
58143
|
-
W("div",
|
|
58143
|
+
}, null, 8, e4e),
|
|
58144
|
+
W("div", t4e, [
|
|
58144
58145
|
x(r).watermark ? (R(), ce("div", {
|
|
58145
58146
|
key: 0,
|
|
58146
58147
|
class: Qe(["item compact", { active: x(r).watermark.type === "compact" }]),
|
|
@@ -58149,7 +58150,7 @@ const c$ = /* @__PURE__ */ nt(XOe, [["__scopeId", "data-v-7d0c674b"]]), JOe = {
|
|
|
58149
58150
|
s[7] || (s[7] = W("div", { class: "bg" }, null, -1)),
|
|
58150
58151
|
W("span", {
|
|
58151
58152
|
textContent: pe(u.t("page.watermark.compact"))
|
|
58152
|
-
}, null, 8,
|
|
58153
|
+
}, null, 8, n4e)
|
|
58153
58154
|
], 2)) : re("", !0),
|
|
58154
58155
|
x(r).watermark ? (R(), ce("div", {
|
|
58155
58156
|
key: 1,
|
|
@@ -58159,7 +58160,7 @@ const c$ = /* @__PURE__ */ nt(XOe, [["__scopeId", "data-v-7d0c674b"]]), JOe = {
|
|
|
58159
58160
|
s[8] || (s[8] = W("div", { class: "bg" }, null, -1)),
|
|
58160
58161
|
W("span", {
|
|
58161
58162
|
textContent: pe(u.t("page.watermark.spacious"))
|
|
58162
|
-
}, null, 8,
|
|
58163
|
+
}, null, 8, r4e)
|
|
58163
58164
|
], 2)) : re("", !0)
|
|
58164
58165
|
]),
|
|
58165
58166
|
(b = x(r).watermark) != null && b.text ? (R(), Y(p, {
|
|
@@ -58178,7 +58179,7 @@ const c$ = /* @__PURE__ */ nt(XOe, [["__scopeId", "data-v-7d0c674b"]]), JOe = {
|
|
|
58178
58179
|
};
|
|
58179
58180
|
}
|
|
58180
58181
|
});
|
|
58181
|
-
const d$ = /* @__PURE__ */ nt(
|
|
58182
|
+
const d$ = /* @__PURE__ */ nt(a4e, [["__scopeId", "data-v-c5ef299f"]]), v$ = /* @__PURE__ */ ee({
|
|
58182
58183
|
__name: "line-number",
|
|
58183
58184
|
setup(t) {
|
|
58184
58185
|
const e = ne("page");
|
|
@@ -58211,7 +58212,7 @@ const d$ = /* @__PURE__ */ nt(r4e, [["__scopeId", "data-v-c5ef299f"]]), v$ = /*
|
|
|
58211
58212
|
}, null, 8, ["text"]);
|
|
58212
58213
|
};
|
|
58213
58214
|
}
|
|
58214
|
-
}),
|
|
58215
|
+
}), o4e = { class: "label" }, m$ = /* @__PURE__ */ ee({
|
|
58215
58216
|
__name: "orientation",
|
|
58216
58217
|
setup(t) {
|
|
58217
58218
|
const e = ne("page"), n = [
|
|
@@ -58241,7 +58242,7 @@ const d$ = /* @__PURE__ */ nt(r4e, [["__scopeId", "data-v-c5ef299f"]]), v$ = /*
|
|
|
58241
58242
|
}, [
|
|
58242
58243
|
g(o, { name: "page" })
|
|
58243
58244
|
], 2),
|
|
58244
|
-
W("div",
|
|
58245
|
+
W("div", o4e, pe(s.label), 1)
|
|
58245
58246
|
]),
|
|
58246
58247
|
_: 2
|
|
58247
58248
|
}, 1032, ["value", "active", "onClick"])), 64))
|
|
@@ -58254,7 +58255,7 @@ const d$ = /* @__PURE__ */ nt(r4e, [["__scopeId", "data-v-c5ef299f"]]), v$ = /*
|
|
|
58254
58255
|
};
|
|
58255
58256
|
}
|
|
58256
58257
|
});
|
|
58257
|
-
const
|
|
58258
|
+
const l4e = { class: "umo-page-options-container" }, i4e = ["textContent"], u4e = { class: "desc" }, s4e = { class: "umo-page-setting" }, c4e = { class: "item" }, d4e = { class: "item" }, v4e = { class: "umo-page-margin-inbuilt" }, f4e = ["textContent"], m4e = ["textContent"], p4e = ["textContent"], h4e = ["textContent"], g4e = { class: "umo-page-setting" }, b4e = { class: "item" }, y4e = { class: "item" }, _4e = { class: "item" }, w4e = { class: "item" }, C4e = /* @__PURE__ */ ee({
|
|
58258
58259
|
__name: "page-options",
|
|
58259
58260
|
props: {
|
|
58260
58261
|
visible: {
|
|
@@ -58312,7 +58313,7 @@ const o4e = { class: "umo-page-options-container" }, l4e = ["textContent"], i4e
|
|
|
58312
58313
|
onConfirm: v
|
|
58313
58314
|
}, {
|
|
58314
58315
|
default: te(() => [
|
|
58315
|
-
W("div",
|
|
58316
|
+
W("div", l4e, [
|
|
58316
58317
|
g(E, { "label-align": "left" }, {
|
|
58317
58318
|
default: te(() => [
|
|
58318
58319
|
g(b, {
|
|
@@ -58378,8 +58379,8 @@ const o4e = { class: "umo-page-options-container" }, l4e = ["textContent"], i4e
|
|
|
58378
58379
|
W("div", {
|
|
58379
58380
|
class: "label",
|
|
58380
58381
|
textContent: pe(f.l(k.label))
|
|
58381
|
-
}, null, 8,
|
|
58382
|
-
W("div",
|
|
58382
|
+
}, null, 8, i4e),
|
|
58383
|
+
W("div", u4e, pe(k.width) + pe(f.t("page.size.cm")) + " × " + pe(k.height) + pe(f.t("page.size.cm")), 1)
|
|
58383
58384
|
]),
|
|
58384
58385
|
_: 2
|
|
58385
58386
|
}, 1032, ["value", "title"]))), 128))
|
|
@@ -58396,8 +58397,8 @@ const o4e = { class: "umo-page-options-container" }, l4e = ["textContent"], i4e
|
|
|
58396
58397
|
default: te(() => {
|
|
58397
58398
|
var M, k;
|
|
58398
58399
|
return [
|
|
58399
|
-
W("div",
|
|
58400
|
-
W("div",
|
|
58400
|
+
W("div", s4e, [
|
|
58401
|
+
W("div", c4e, [
|
|
58401
58402
|
(M = x(i)) != null && M.size ? (R(), Y(C, {
|
|
58402
58403
|
key: 0,
|
|
58403
58404
|
modelValue: x(i).size.width,
|
|
@@ -58413,7 +58414,7 @@ const o4e = { class: "umo-page-options-container" }, l4e = ["textContent"], i4e
|
|
|
58413
58414
|
onBlur: m[2] || (m[2] = (S) => s(Number(S), "width"))
|
|
58414
58415
|
}, null, 8, ["modelValue", "label", "suffix"])) : re("", !0)
|
|
58415
58416
|
]),
|
|
58416
|
-
W("div",
|
|
58417
|
+
W("div", d4e, [
|
|
58417
58418
|
(k = x(i)) != null && k.size ? (R(), Y(C, {
|
|
58418
58419
|
key: 0,
|
|
58419
58420
|
modelValue: x(i).size.height,
|
|
@@ -58442,7 +58443,7 @@ const o4e = { class: "umo-page-options-container" }, l4e = ["textContent"], i4e
|
|
|
58442
58443
|
var M, k, S, P, D, A, I, O;
|
|
58443
58444
|
return [
|
|
58444
58445
|
W("div", null, [
|
|
58445
|
-
W("div",
|
|
58446
|
+
W("div", v4e, [
|
|
58446
58447
|
W("div", {
|
|
58447
58448
|
class: Qe(["item", { active: !((M = x(i).margin) != null && M.layout) }]),
|
|
58448
58449
|
onClick: m[5] || (m[5] = ($) => {
|
|
@@ -58450,7 +58451,7 @@ const o4e = { class: "umo-page-options-container" }, l4e = ["textContent"], i4e
|
|
|
58450
58451
|
return c((j = x(l).page) == null ? void 0 : j.defaultMargin);
|
|
58451
58452
|
}),
|
|
58452
58453
|
textContent: pe(f.t("pageOptions.margin.default"))
|
|
58453
|
-
}, null, 10,
|
|
58454
|
+
}, null, 10, f4e),
|
|
58454
58455
|
W("div", {
|
|
58455
58456
|
class: Qe(["item narrow", { active: ((k = x(i).margin) == null ? void 0 : k.layout) === "narrow" }]),
|
|
58456
58457
|
onClick: m[6] || (m[6] = ($) => c({
|
|
@@ -58461,7 +58462,7 @@ const o4e = { class: "umo-page-options-container" }, l4e = ["textContent"], i4e
|
|
|
58461
58462
|
layout: "narrow"
|
|
58462
58463
|
})),
|
|
58463
58464
|
textContent: pe(f.t("pageOptions.margin.narrow"))
|
|
58464
|
-
}, null, 10,
|
|
58465
|
+
}, null, 10, m4e),
|
|
58465
58466
|
W("div", {
|
|
58466
58467
|
class: Qe(["item moderate", { active: ((S = x(i).margin) == null ? void 0 : S.layout) === "moderate" }]),
|
|
58467
58468
|
onClick: m[7] || (m[7] = ($) => c({
|
|
@@ -58472,7 +58473,7 @@ const o4e = { class: "umo-page-options-container" }, l4e = ["textContent"], i4e
|
|
|
58472
58473
|
layout: "moderate"
|
|
58473
58474
|
})),
|
|
58474
58475
|
textContent: pe(f.t("pageOptions.margin.moderate"))
|
|
58475
|
-
}, null, 10,
|
|
58476
|
+
}, null, 10, p4e),
|
|
58476
58477
|
W("div", {
|
|
58477
58478
|
class: Qe(["item wide", { active: ((P = x(i).margin) == null ? void 0 : P.layout) === "wide" }]),
|
|
58478
58479
|
onClick: m[8] || (m[8] = ($) => c({
|
|
@@ -58483,10 +58484,10 @@ const o4e = { class: "umo-page-options-container" }, l4e = ["textContent"], i4e
|
|
|
58483
58484
|
layout: "wide"
|
|
58484
58485
|
})),
|
|
58485
58486
|
textContent: pe(f.t("pageOptions.margin.wide"))
|
|
58486
|
-
}, null, 10,
|
|
58487
|
+
}, null, 10, h4e)
|
|
58487
58488
|
]),
|
|
58488
|
-
W("div",
|
|
58489
|
-
W("div",
|
|
58489
|
+
W("div", g4e, [
|
|
58490
|
+
W("div", b4e, [
|
|
58490
58491
|
(D = x(i)) != null && D.margin ? (R(), Y(C, {
|
|
58491
58492
|
key: 0,
|
|
58492
58493
|
modelValue: x(i).margin.top,
|
|
@@ -58503,7 +58504,7 @@ const o4e = { class: "umo-page-options-container" }, l4e = ["textContent"], i4e
|
|
|
58503
58504
|
onBlur: m[10] || (m[10] = ($) => d(Number($), "top"))
|
|
58504
58505
|
}, null, 8, ["modelValue", "label", "suffix"])) : re("", !0)
|
|
58505
58506
|
]),
|
|
58506
|
-
W("div",
|
|
58507
|
+
W("div", y4e, [
|
|
58507
58508
|
(A = x(i)) != null && A.margin ? (R(), Y(C, {
|
|
58508
58509
|
key: 0,
|
|
58509
58510
|
modelValue: x(i).margin.bottom,
|
|
@@ -58520,7 +58521,7 @@ const o4e = { class: "umo-page-options-container" }, l4e = ["textContent"], i4e
|
|
|
58520
58521
|
onBlur: m[12] || (m[12] = ($) => d(Number($), "bottom"))
|
|
58521
58522
|
}, null, 8, ["modelValue", "label", "suffix"])) : re("", !0)
|
|
58522
58523
|
]),
|
|
58523
|
-
W("div",
|
|
58524
|
+
W("div", _4e, [
|
|
58524
58525
|
(I = x(i)) != null && I.margin ? (R(), Y(C, {
|
|
58525
58526
|
key: 0,
|
|
58526
58527
|
modelValue: x(i).margin.left,
|
|
@@ -58537,7 +58538,7 @@ const o4e = { class: "umo-page-options-container" }, l4e = ["textContent"], i4e
|
|
|
58537
58538
|
onBlur: m[14] || (m[14] = ($) => d(Number($), "left"))
|
|
58538
58539
|
}, null, 8, ["modelValue", "label", "suffix"])) : re("", !0)
|
|
58539
58540
|
]),
|
|
58540
|
-
W("div",
|
|
58541
|
+
W("div", w4e, [
|
|
58541
58542
|
(O = x(i)) != null && O.margin ? (R(), Y(C, {
|
|
58542
58543
|
key: 0,
|
|
58543
58544
|
modelValue: x(i).margin.right,
|
|
@@ -58570,7 +58571,7 @@ const o4e = { class: "umo-page-options-container" }, l4e = ["textContent"], i4e
|
|
|
58570
58571
|
};
|
|
58571
58572
|
}
|
|
58572
58573
|
});
|
|
58573
|
-
const p$ = /* @__PURE__ */ nt(
|
|
58574
|
+
const p$ = /* @__PURE__ */ nt(C4e, [["__scopeId", "data-v-0578b21b"]]), x4e = ["textContent"], k4e = { class: "desc" }, S4e = ["textContent"], h$ = /* @__PURE__ */ ee({
|
|
58574
58575
|
__name: "size",
|
|
58575
58576
|
setup(t) {
|
|
58576
58577
|
const e = ne("page"), n = ne("options"), r = N(!1);
|
|
@@ -58601,8 +58602,8 @@ const p$ = /* @__PURE__ */ nt(w4e, [["__scopeId", "data-v-0578b21b"]]), C4e = ["
|
|
|
58601
58602
|
W("div", {
|
|
58602
58603
|
class: "label",
|
|
58603
58604
|
textContent: pe(a.l(d.label))
|
|
58604
|
-
}, null, 8,
|
|
58605
|
-
W("div",
|
|
58605
|
+
}, null, 8, x4e),
|
|
58606
|
+
W("div", k4e, pe(d.width + a.t("page.size.cm")) + " × " + pe(d.height + a.t("page.size.cm")), 1)
|
|
58606
58607
|
]),
|
|
58607
58608
|
_: 2
|
|
58608
58609
|
}, 1032, ["value", "active", "divider", "onClick"]);
|
|
@@ -58614,7 +58615,7 @@ const p$ = /* @__PURE__ */ nt(w4e, [["__scopeId", "data-v-0578b21b"]]), C4e = ["
|
|
|
58614
58615
|
W("div", {
|
|
58615
58616
|
class: "label",
|
|
58616
58617
|
textContent: pe(a.t("page.size.custom"))
|
|
58617
|
-
}, null, 8,
|
|
58618
|
+
}, null, 8, S4e)
|
|
58618
58619
|
]),
|
|
58619
58620
|
_: 1
|
|
58620
58621
|
})
|
|
@@ -58671,7 +58672,7 @@ const g$ = /* @__PURE__ */ ee({
|
|
|
58671
58672
|
}, null, 8, ["text", "menu-active"]);
|
|
58672
58673
|
};
|
|
58673
58674
|
}
|
|
58674
|
-
}),
|
|
58675
|
+
}), O4e = { class: "label" }, $4e = { class: "desc" }, y$ = /* @__PURE__ */ ee({
|
|
58675
58676
|
__name: "chinese-case",
|
|
58676
58677
|
setup(t) {
|
|
58677
58678
|
const e = ne("editor"), n = ne("container"), r = [
|
|
@@ -58752,8 +58753,8 @@ const g$ = /* @__PURE__ */ ee({
|
|
|
58752
58753
|
onClick: (v) => o(d.func)
|
|
58753
58754
|
}, {
|
|
58754
58755
|
default: te(() => [
|
|
58755
|
-
W("div",
|
|
58756
|
-
W("div",
|
|
58756
|
+
W("div", O4e, pe(d.label), 1),
|
|
58757
|
+
W("div", $4e, pe(d.desc), 1)
|
|
58757
58758
|
]),
|
|
58758
58759
|
_: 2
|
|
58759
58760
|
}, 1032, ["value", "divider", "onClick"])), 64))
|
|
@@ -58917,7 +58918,7 @@ const _$ = /* @__PURE__ */ ee({
|
|
|
58917
58918
|
}, null, 8, ["text", "tooltip", "disabled"]);
|
|
58918
58919
|
};
|
|
58919
58920
|
}
|
|
58920
|
-
}),
|
|
58921
|
+
}), P4e = ["onMouseover"], E4e = { class: "umo-table-custom" }, T4e = ["textContent"], M4e = /* @__PURE__ */ ee({
|
|
58921
58922
|
__name: "insert",
|
|
58922
58923
|
setup(t) {
|
|
58923
58924
|
const { popupVisible: e, togglePopup: n } = fn(), r = ne("editor"), a = Array.from(
|
|
@@ -58958,14 +58959,14 @@ const _$ = /* @__PURE__ */ ee({
|
|
|
58958
58959
|
class: Qe(["cell", { selected: i(b, _) }]),
|
|
58959
58960
|
onMouseover: (C) => u(b, _),
|
|
58960
58961
|
onClick: c
|
|
58961
|
-
}, null, 42,
|
|
58962
|
+
}, null, 42, P4e))), 128))
|
|
58962
58963
|
]))), 128))
|
|
58963
58964
|
], 32),
|
|
58964
|
-
W("div",
|
|
58965
|
+
W("div", E4e, [
|
|
58965
58966
|
W("div", {
|
|
58966
58967
|
class: "umo-table-custom-title",
|
|
58967
58968
|
textContent: pe(d.t("table.insert.property"))
|
|
58968
|
-
}, null, 8,
|
|
58969
|
+
}, null, 8, T4e),
|
|
58969
58970
|
g(f, {
|
|
58970
58971
|
modelValue: o.value.rows,
|
|
58971
58972
|
"onUpdate:modelValue": v[0] || (v[0] = (y) => o.value.rows = y),
|
|
@@ -59008,7 +59009,7 @@ const _$ = /* @__PURE__ */ ee({
|
|
|
59008
59009
|
};
|
|
59009
59010
|
}
|
|
59010
59011
|
});
|
|
59011
|
-
const $$ = /* @__PURE__ */ nt(
|
|
59012
|
+
const $$ = /* @__PURE__ */ nt(M4e, [["__scopeId", "data-v-1f564ea0"]]), A4e = { class: "title" }, D4e = {
|
|
59012
59013
|
key: 0,
|
|
59013
59014
|
class: "description"
|
|
59014
59015
|
}, P$ = /* @__PURE__ */ ee({
|
|
@@ -59040,8 +59041,8 @@ const $$ = /* @__PURE__ */ nt(T4e, [["__scopeId", "data-v-1f564ea0"]]), M4e = {
|
|
|
59040
59041
|
onClick: (c) => r(s)
|
|
59041
59042
|
}, {
|
|
59042
59043
|
default: te(() => [
|
|
59043
|
-
W("div",
|
|
59044
|
-
s.description && s.description !== "" ? (R(), ce("div",
|
|
59044
|
+
W("div", A4e, pe(s.title), 1),
|
|
59045
|
+
s.description && s.description !== "" ? (R(), ce("div", D4e, pe(s.description), 1)) : re("", !0)
|
|
59045
59046
|
]),
|
|
59046
59047
|
_: 2
|
|
59047
59048
|
}, 1032, ["value", "divider", "class", "onClick"]))), 128))
|
|
@@ -59054,7 +59055,7 @@ const $$ = /* @__PURE__ */ nt(T4e, [["__scopeId", "data-v-1f564ea0"]]), M4e = {
|
|
|
59054
59055
|
};
|
|
59055
59056
|
}
|
|
59056
59057
|
});
|
|
59057
|
-
const
|
|
59058
|
+
const j4e = { class: "umo-page-divider-dropdown" }, I4e = { class: "umo-page-divider-item-title" }, F4e = ["textContent"], R4e = ["value", "title", "onClick"], B4e = ["data-type"], N4e = ["textContent"], L4e = { class: "arrow" }, z4e = { class: "umo-page-divider-color-picker" }, V4e = /* @__PURE__ */ ee({
|
|
59058
59059
|
__name: "hr",
|
|
59059
59060
|
setup(t) {
|
|
59060
59061
|
const { popupVisible: e, togglePopup: n } = fn(), r = ne("container"), a = ne("editor"), o = [
|
|
@@ -59086,11 +59087,11 @@ const D4e = { class: "umo-page-divider-dropdown" }, j4e = { class: "umo-page-div
|
|
|
59086
59087
|
onTogglePopup: x(n)
|
|
59087
59088
|
}, {
|
|
59088
59089
|
content: te(() => [
|
|
59089
|
-
W("div",
|
|
59090
|
-
W("div",
|
|
59090
|
+
W("div", j4e, [
|
|
59091
|
+
W("div", I4e, [
|
|
59091
59092
|
W("span", {
|
|
59092
59093
|
textContent: pe(c.t("insert.hr.title"))
|
|
59093
|
-
}, null, 8,
|
|
59094
|
+
}, null, 8, F4e)
|
|
59094
59095
|
]),
|
|
59095
59096
|
(R(), ce(Te, null, st(o, (h) => W("div", {
|
|
59096
59097
|
key: h.value,
|
|
@@ -59103,8 +59104,8 @@ const D4e = { class: "umo-page-divider-dropdown" }, j4e = { class: "umo-page-div
|
|
|
59103
59104
|
class: "umo-page-divider",
|
|
59104
59105
|
"data-type": h.value,
|
|
59105
59106
|
style: Et({ color: x(l) })
|
|
59106
|
-
}, null, 12,
|
|
59107
|
-
], 8,
|
|
59107
|
+
}, null, 12, B4e)
|
|
59108
|
+
], 8, R4e)), 64)),
|
|
59108
59109
|
g(m, {
|
|
59109
59110
|
modelValue: x(i),
|
|
59110
59111
|
"onUpdate:modelValue": d[0] || (d[0] = (h) => et(i) ? i.value = h : i = h),
|
|
@@ -59113,7 +59114,7 @@ const D4e = { class: "umo-page-divider-dropdown" }, j4e = { class: "umo-page-div
|
|
|
59113
59114
|
trigger: "click"
|
|
59114
59115
|
}, {
|
|
59115
59116
|
content: te(() => [
|
|
59116
|
-
W("div",
|
|
59117
|
+
W("div", z4e, [
|
|
59117
59118
|
g(f, {
|
|
59118
59119
|
"default-color": "#000",
|
|
59119
59120
|
onChange: u
|
|
@@ -59126,8 +59127,8 @@ const D4e = { class: "umo-page-divider-dropdown" }, j4e = { class: "umo-page-div
|
|
|
59126
59127
|
}, [
|
|
59127
59128
|
W("span", {
|
|
59128
59129
|
textContent: pe(c.t("insert.hr.color"))
|
|
59129
|
-
}, null, 8,
|
|
59130
|
-
W("div",
|
|
59130
|
+
}, null, 8, N4e),
|
|
59131
|
+
W("div", L4e, [
|
|
59131
59132
|
g(v, { name: "arrow-down" })
|
|
59132
59133
|
])
|
|
59133
59134
|
], 2)
|
|
@@ -59141,7 +59142,7 @@ const D4e = { class: "umo-page-divider-dropdown" }, j4e = { class: "umo-page-div
|
|
|
59141
59142
|
};
|
|
59142
59143
|
}
|
|
59143
59144
|
});
|
|
59144
|
-
const E$ = /* @__PURE__ */ nt(
|
|
59145
|
+
const E$ = /* @__PURE__ */ nt(V4e, [["__scopeId", "data-v-d4e45f63"]]), T$ = /* @__PURE__ */ ee({
|
|
59145
59146
|
__name: "hard-break",
|
|
59146
59147
|
setup(t) {
|
|
59147
59148
|
const e = ne("editor");
|
|
@@ -59159,7 +59160,7 @@ const E$ = /* @__PURE__ */ nt(z4e, [["__scopeId", "data-v-d4e45f63"]]), T$ = /*
|
|
|
59159
59160
|
}, null, 8, ["text"]);
|
|
59160
59161
|
};
|
|
59161
59162
|
}
|
|
59162
|
-
}),
|
|
59163
|
+
}), H4e = { class: "umo-link-container" }, K4e = /* @__PURE__ */ ee({
|
|
59163
59164
|
__name: "bookmark",
|
|
59164
59165
|
setup(t) {
|
|
59165
59166
|
const e = ne("container"), n = ne("editor"), r = ne("page");
|
|
@@ -59264,7 +59265,7 @@ const E$ = /* @__PURE__ */ nt(z4e, [["__scopeId", "data-v-d4e45f63"]]), T$ = /*
|
|
|
59264
59265
|
onClose: f[3] || (f[3] = (M) => et(a) ? a.value = !1 : a = !1)
|
|
59265
59266
|
}, {
|
|
59266
59267
|
default: te(() => [
|
|
59267
|
-
W("div",
|
|
59268
|
+
W("div", H4e, [
|
|
59268
59269
|
g(E, {
|
|
59269
59270
|
"label-align": "top",
|
|
59270
59271
|
colon: ""
|
|
@@ -59348,7 +59349,7 @@ const E$ = /* @__PURE__ */ nt(z4e, [["__scopeId", "data-v-d4e45f63"]]), T$ = /*
|
|
|
59348
59349
|
};
|
|
59349
59350
|
}
|
|
59350
59351
|
});
|
|
59351
|
-
const M$ = /* @__PURE__ */ nt(
|
|
59352
|
+
const M$ = /* @__PURE__ */ nt(K4e, [["__scopeId", "data-v-e45d5aa7"]]), A$ = /* @__PURE__ */ ee({
|
|
59352
59353
|
__name: "mention",
|
|
59353
59354
|
setup(t) {
|
|
59354
59355
|
const e = ne("editor");
|
|
@@ -59382,7 +59383,7 @@ const M$ = /* @__PURE__ */ nt(H4e, [["__scopeId", "data-v-e45d5aa7"]]), A$ = /*
|
|
|
59382
59383
|
}, null, 8, ["text"]);
|
|
59383
59384
|
};
|
|
59384
59385
|
}
|
|
59385
|
-
}),
|
|
59386
|
+
}), U4e = { class: "umo-columns-container" }, W4e = ["onMouseenter", "onClick"], Y4e = /* @__PURE__ */ ee({
|
|
59386
59387
|
__name: "columns",
|
|
59387
59388
|
setup(t) {
|
|
59388
59389
|
const { popupVisible: e, togglePopup: n } = fn(), r = ne("editor");
|
|
@@ -59409,13 +59410,13 @@ const M$ = /* @__PURE__ */ nt(H4e, [["__scopeId", "data-v-e45d5aa7"]]), A$ = /*
|
|
|
59409
59410
|
onTogglePopup: x(n)
|
|
59410
59411
|
}, {
|
|
59411
59412
|
content: te(() => [
|
|
59412
|
-
W("div",
|
|
59413
|
+
W("div", U4e, [
|
|
59413
59414
|
(R(), ce(Te, null, st(o, (d) => W("div", {
|
|
59414
59415
|
key: d,
|
|
59415
59416
|
class: Qe(["umo-columns-item", { "umo-columns-item-selected": x(a) >= d }]),
|
|
59416
59417
|
onMouseenter: (v) => l(d),
|
|
59417
59418
|
onClick: (v) => i(d)
|
|
59418
|
-
}, pe(d), 43,
|
|
59419
|
+
}, pe(d), 43, W4e)), 64))
|
|
59419
59420
|
])
|
|
59420
59421
|
]),
|
|
59421
59422
|
_: 1
|
|
@@ -59423,7 +59424,7 @@ const M$ = /* @__PURE__ */ nt(H4e, [["__scopeId", "data-v-e45d5aa7"]]), A$ = /*
|
|
|
59423
59424
|
};
|
|
59424
59425
|
}
|
|
59425
59426
|
});
|
|
59426
|
-
const j$ = /* @__PURE__ */ nt(
|
|
59427
|
+
const j$ = /* @__PURE__ */ nt(Y4e, [["__scopeId", "data-v-c8befd08"]]), I$ = /* @__PURE__ */ ee({
|
|
59427
59428
|
__name: "math",
|
|
59428
59429
|
setup(t) {
|
|
59429
59430
|
const e = ne("editor");
|
|
@@ -59515,7 +59516,7 @@ const j$ = /* @__PURE__ */ nt(W4e, [["__scopeId", "data-v-c8befd08"]]), I$ = /*
|
|
|
59515
59516
|
}, null, 8, ["text"]);
|
|
59516
59517
|
};
|
|
59517
59518
|
}
|
|
59518
|
-
}),
|
|
59519
|
+
}), q4e = { class: "umo-symbols-container narrow-scrollbar" }, G4e = ["textContent"], X4e = { class: "umo-symbols-group-container" }, J4e = ["onClick"], Z4e = /* @__PURE__ */ ee({
|
|
59519
59520
|
__name: "symbol",
|
|
59520
59521
|
setup(t) {
|
|
59521
59522
|
const { popupVisible: e, togglePopup: n } = fn(), r = ne("editor"), a = ne("options"), o = (l) => {
|
|
@@ -59536,18 +59537,18 @@ const j$ = /* @__PURE__ */ nt(W4e, [["__scopeId", "data-v-c8befd08"]]), I$ = /*
|
|
|
59536
59537
|
content: te(() => {
|
|
59537
59538
|
var s;
|
|
59538
59539
|
return [
|
|
59539
|
-
W("div",
|
|
59540
|
+
W("div", q4e, [
|
|
59540
59541
|
(R(!0), ce(Te, null, st((s = x(a).dicts) == null ? void 0 : s.symbols, (c, d) => (R(), ce(Te, { key: d }, [
|
|
59541
59542
|
W("div", {
|
|
59542
59543
|
class: "umo-symbols-group-title",
|
|
59543
59544
|
textContent: pe(l.l(c.label))
|
|
59544
|
-
}, null, 8,
|
|
59545
|
-
W("div",
|
|
59545
|
+
}, null, 8, G4e),
|
|
59546
|
+
W("div", X4e, [
|
|
59546
59547
|
(R(!0), ce(Te, null, st(c.items.split(""), (v, f) => (R(), ce("div", {
|
|
59547
59548
|
key: f,
|
|
59548
59549
|
class: "umo-symbols-group-item",
|
|
59549
59550
|
onClick: (m) => o(v)
|
|
59550
|
-
}, pe(v), 9,
|
|
59551
|
+
}, pe(v), 9, J4e))), 128))
|
|
59551
59552
|
])
|
|
59552
59553
|
], 64))), 128))
|
|
59553
59554
|
])
|
|
@@ -59558,7 +59559,7 @@ const j$ = /* @__PURE__ */ nt(W4e, [["__scopeId", "data-v-c8befd08"]]), I$ = /*
|
|
|
59558
59559
|
};
|
|
59559
59560
|
}
|
|
59560
59561
|
});
|
|
59561
|
-
const R$ = /* @__PURE__ */ nt(
|
|
59562
|
+
const R$ = /* @__PURE__ */ nt(Z4e, [["__scopeId", "data-v-4c783f02"]]), B$ = /* @__PURE__ */ ee({
|
|
59562
59563
|
__name: "print",
|
|
59563
59564
|
setup(t) {
|
|
59564
59565
|
const e = ne("editor"), n = ne("printing");
|
|
@@ -59771,7 +59772,7 @@ const R$ = /* @__PURE__ */ nt(J4e, [["__scopeId", "data-v-4c783f02"]]), B$ = /*
|
|
|
59771
59772
|
}, null, 8, ["text", "menu-active", "disabled"]);
|
|
59772
59773
|
};
|
|
59773
59774
|
}
|
|
59774
|
-
}),
|
|
59775
|
+
}), Q4e = { class: "umo-node-margin-input" }, e$e = /* @__PURE__ */ ee({
|
|
59775
59776
|
__name: "margin",
|
|
59776
59777
|
setup(t) {
|
|
59777
59778
|
const { popupVisible: e, togglePopup: n } = fn(), r = ne("editor");
|
|
@@ -59817,7 +59818,7 @@ const R$ = /* @__PURE__ */ nt(J4e, [["__scopeId", "data-v-4c783f02"]]), B$ = /*
|
|
|
59817
59818
|
onMenuClick: c[2] || (c[2] = (m) => u())
|
|
59818
59819
|
}, {
|
|
59819
59820
|
content: te(() => [
|
|
59820
|
-
W("div",
|
|
59821
|
+
W("div", Q4e, [
|
|
59821
59822
|
g(d, {
|
|
59822
59823
|
modelValue: x(a),
|
|
59823
59824
|
"onUpdate:modelValue": c[0] || (c[0] = (m) => et(a) ? a.value = m : a = m),
|
|
@@ -59861,7 +59862,7 @@ const R$ = /* @__PURE__ */ nt(J4e, [["__scopeId", "data-v-4c783f02"]]), B$ = /*
|
|
|
59861
59862
|
};
|
|
59862
59863
|
}
|
|
59863
59864
|
});
|
|
59864
|
-
const K$ = /* @__PURE__ */ nt(
|
|
59865
|
+
const K$ = /* @__PURE__ */ nt(e$e, [["__scopeId", "data-v-ce2a143c"]]), U$ = /* @__PURE__ */ ee({
|
|
59865
59866
|
__name: "line-height",
|
|
59866
59867
|
setup(t) {
|
|
59867
59868
|
const e = ne("editor"), n = ne("options"), r = F(() => {
|
|
@@ -60041,7 +60042,7 @@ const K$ = /* @__PURE__ */ nt(Q4e, [["__scopeId", "data-v-ce2a143c"]]), U$ = /*
|
|
|
60041
60042
|
}, null, 8, ["text", "menu-active", "disabled"]);
|
|
60042
60043
|
};
|
|
60043
60044
|
}
|
|
60044
|
-
}),
|
|
60045
|
+
}), t$e = ["textContent"], n$e = ["title"], J$ = /* @__PURE__ */ ee({
|
|
60045
60046
|
__name: "font-family",
|
|
60046
60047
|
setup(t) {
|
|
60047
60048
|
const e = ne("editor"), n = ne("options"), r = Bt("toolbar", n), a = Bt("recent", n), o = N([]), l = (c) => {
|
|
@@ -60133,12 +60134,12 @@ const K$ = /* @__PURE__ */ nt(Q4e, [["__scopeId", "data-v-ce2a143c"]]), U$ = /*
|
|
|
60133
60134
|
W("span", {
|
|
60134
60135
|
style: Et({ fontFamily: b.value ?? void 0 }),
|
|
60135
60136
|
textContent: pe(c.l(b.label))
|
|
60136
|
-
}, null, 12,
|
|
60137
|
+
}, null, 12, t$e),
|
|
60137
60138
|
l(b.value ?? "") ? re("", !0) : (R(), ce("span", {
|
|
60138
60139
|
key: 0,
|
|
60139
60140
|
class: "umo-font-family-unsupport",
|
|
60140
60141
|
title: c.t("base.fontFamily.unsupport")
|
|
60141
|
-
}, "!", 8,
|
|
60142
|
+
}, "!", 8, n$e))
|
|
60142
60143
|
]),
|
|
60143
60144
|
_: 2
|
|
60144
60145
|
}, 1032, ["value", "label"]))), 128))
|
|
@@ -60255,7 +60256,7 @@ const Z$ = /* @__PURE__ */ ee({
|
|
|
60255
60256
|
}, null, 8, ["text", "menu-active", "disabled"]);
|
|
60256
60257
|
};
|
|
60257
60258
|
}
|
|
60258
|
-
}),
|
|
60259
|
+
}), r$e = { class: "umo-bullet-list-group" }, a$e = ["onClick"], o$e = /* @__PURE__ */ ee({
|
|
60259
60260
|
__name: "bullet-list",
|
|
60260
60261
|
setup(t) {
|
|
60261
60262
|
const { popupVisible: e, togglePopup: n } = fn(), r = ne("editor"), a = [
|
|
@@ -60294,7 +60295,7 @@ const Z$ = /* @__PURE__ */ ee({
|
|
|
60294
60295
|
onMenuClick: u[0] || (u[0] = (f) => l(a[0].value))
|
|
60295
60296
|
}, {
|
|
60296
60297
|
content: te(() => [
|
|
60297
|
-
W("div",
|
|
60298
|
+
W("div", r$e, [
|
|
60298
60299
|
(R(), ce(Te, null, st(a, (f) => g(c, {
|
|
60299
60300
|
key: f.value,
|
|
60300
60301
|
content: f.label
|
|
@@ -60308,7 +60309,7 @@ const Z$ = /* @__PURE__ */ ee({
|
|
|
60308
60309
|
class: "umo-icon-bullet-list",
|
|
60309
60310
|
name: `bullet-list-${f.value}`
|
|
60310
60311
|
}, null, 8, ["name"])
|
|
60311
|
-
], 10,
|
|
60312
|
+
], 10, a$e)
|
|
60312
60313
|
]),
|
|
60313
60314
|
_: 2
|
|
60314
60315
|
}, 1032, ["content"])), 64))
|
|
@@ -60319,7 +60320,7 @@ const Z$ = /* @__PURE__ */ ee({
|
|
|
60319
60320
|
};
|
|
60320
60321
|
}
|
|
60321
60322
|
});
|
|
60322
|
-
const r3 = /* @__PURE__ */ nt(
|
|
60323
|
+
const r3 = /* @__PURE__ */ nt(o$e, [["__scopeId", "data-v-41b9cc8b"]]), l$e = { class: "umo-ordered-list-group" }, i$e = ["onClick"], u$e = ["textContent"], s$e = { class: "umo-ordered-list-properties" }, c$e = ["textContent"], d$e = /* @__PURE__ */ ee({
|
|
60323
60324
|
__name: "ordered-list",
|
|
60324
60325
|
setup(t) {
|
|
60325
60326
|
const { popupVisible: e, togglePopup: n } = fn(), r = ne("editor"), a = [
|
|
@@ -60381,7 +60382,7 @@ const r3 = /* @__PURE__ */ nt(a$e, [["__scopeId", "data-v-41b9cc8b"]]), o$e = {
|
|
|
60381
60382
|
onMenuClick: c[1] || (c[1] = (h) => l(a[0].value))
|
|
60382
60383
|
}, {
|
|
60383
60384
|
content: te(() => [
|
|
60384
|
-
W("div",
|
|
60385
|
+
W("div", l$e, [
|
|
60385
60386
|
(R(), ce(Te, null, st(a, (h) => g(v, {
|
|
60386
60387
|
key: h.value,
|
|
60387
60388
|
content: h.label
|
|
@@ -60395,7 +60396,7 @@ const r3 = /* @__PURE__ */ nt(a$e, [["__scopeId", "data-v-41b9cc8b"]]), o$e = {
|
|
|
60395
60396
|
class: "umo-icon-ordered-list",
|
|
60396
60397
|
name: `ordered-list-${h.value}`
|
|
60397
60398
|
}, null, 8, ["name"])
|
|
60398
|
-
], 10,
|
|
60399
|
+
], 10, i$e)
|
|
60399
60400
|
]),
|
|
60400
60401
|
_: 2
|
|
60401
60402
|
}, 1032, ["content"])), 64))
|
|
@@ -60404,8 +60405,8 @@ const r3 = /* @__PURE__ */ nt(a$e, [["__scopeId", "data-v-41b9cc8b"]]), o$e = {
|
|
|
60404
60405
|
W("div", {
|
|
60405
60406
|
class: "umo-ordered-list-title",
|
|
60406
60407
|
textContent: pe(s.t("list.ordered.property"))
|
|
60407
|
-
}, null, 8,
|
|
60408
|
-
W("div",
|
|
60408
|
+
}, null, 8, u$e),
|
|
60409
|
+
W("div", s$e, [
|
|
60409
60410
|
g(f, {
|
|
60410
60411
|
modelValue: x(i),
|
|
60411
60412
|
"onUpdate:modelValue": c[0] || (c[0] = (h) => et(i) ? i.value = h : i = h),
|
|
@@ -60417,7 +60418,7 @@ const r3 = /* @__PURE__ */ nt(a$e, [["__scopeId", "data-v-41b9cc8b"]]), o$e = {
|
|
|
60417
60418
|
label: te(() => [
|
|
60418
60419
|
W("span", {
|
|
60419
60420
|
textContent: pe(s.t("list.ordered.startAt"))
|
|
60420
|
-
}, null, 8,
|
|
60421
|
+
}, null, 8, c$e)
|
|
60421
60422
|
]),
|
|
60422
60423
|
_: 1
|
|
60423
60424
|
}, 8, ["modelValue"])
|
|
@@ -60428,7 +60429,7 @@ const r3 = /* @__PURE__ */ nt(a$e, [["__scopeId", "data-v-41b9cc8b"]]), o$e = {
|
|
|
60428
60429
|
};
|
|
60429
60430
|
}
|
|
60430
60431
|
});
|
|
60431
|
-
const a3 = /* @__PURE__ */ nt(
|
|
60432
|
+
const a3 = /* @__PURE__ */ nt(d$e, [["__scopeId", "data-v-42d9cde4"]]), v$e = ["disabled"], f$e = { class: "umo-heading-container" }, m$e = ["onClick"], p$e = { class: "subtitle" }, h$e = ["onClick"], g$e = { class: "subtitle" }, b$e = /* @__PURE__ */ ee({
|
|
60432
60433
|
__name: "heading",
|
|
60433
60434
|
setup(t) {
|
|
60434
60435
|
const { popupVisible: e } = fn(), n = ne("container"), r = ne("editor"), a = Bt("toolbar", ne("options")), o = N(null), l = N([
|
|
@@ -60485,7 +60486,7 @@ const a3 = /* @__PURE__ */ nt(c$e, [["__scopeId", "data-v-42d9cde4"]]), d$e = ["
|
|
|
60485
60486
|
class: Qe(["umo-toolbar-headding", { unfold: x(e) }]),
|
|
60486
60487
|
disabled: !((p = x(r)) != null && p.isEditable)
|
|
60487
60488
|
}, [
|
|
60488
|
-
W("div",
|
|
60489
|
+
W("div", f$e, [
|
|
60489
60490
|
(R(!0), ce(Te, null, st(l.value, (h, y) => {
|
|
60490
60491
|
var b;
|
|
60491
60492
|
return R(), ce(Te, {
|
|
@@ -60499,8 +60500,8 @@ const a3 = /* @__PURE__ */ nt(c$e, [["__scopeId", "data-v-42d9cde4"]]), d$e = ["
|
|
|
60499
60500
|
W("div", {
|
|
60500
60501
|
class: Qe(["title", h.desc])
|
|
60501
60502
|
}, pe(h.label), 3),
|
|
60502
|
-
W("div",
|
|
60503
|
-
], 10,
|
|
60503
|
+
W("div", p$e, pe(h.desc), 1)
|
|
60504
|
+
], 10, m$e)) : re("", !0)
|
|
60504
60505
|
], 64);
|
|
60505
60506
|
}), 128)),
|
|
60506
60507
|
g(v, {
|
|
@@ -60532,8 +60533,8 @@ const a3 = /* @__PURE__ */ nt(c$e, [["__scopeId", "data-v-42d9cde4"]]), d$e = ["
|
|
|
60532
60533
|
W("div", {
|
|
60533
60534
|
class: Qe(["title", h.desc])
|
|
60534
60535
|
}, pe(h.label), 3),
|
|
60535
|
-
W("div",
|
|
60536
|
-
], 10,
|
|
60536
|
+
W("div", g$e, pe(h.desc), 1)
|
|
60537
|
+
], 10, h$e)) : re("", !0)
|
|
60537
60538
|
], 64);
|
|
60538
60539
|
}), 128))
|
|
60539
60540
|
], 512)
|
|
@@ -60549,7 +60550,7 @@ const a3 = /* @__PURE__ */ nt(c$e, [["__scopeId", "data-v-42d9cde4"]]), d$e = ["
|
|
|
60549
60550
|
_: 1
|
|
60550
60551
|
}, 8, ["attach", "visible"])
|
|
60551
60552
|
])
|
|
60552
|
-
], 10,
|
|
60553
|
+
], 10, v$e)) : (R(), Y(m, {
|
|
60553
60554
|
key: 1,
|
|
60554
60555
|
text: s.t("base.heading.tip"),
|
|
60555
60556
|
"hide-text": "",
|
|
@@ -60580,8 +60581,8 @@ const a3 = /* @__PURE__ */ nt(c$e, [["__scopeId", "data-v-42d9cde4"]]), d$e = ["
|
|
|
60580
60581
|
};
|
|
60581
60582
|
}
|
|
60582
60583
|
});
|
|
60583
|
-
const o3 = /* @__PURE__ */ nt(
|
|
60584
|
-
function
|
|
60584
|
+
const o3 = /* @__PURE__ */ nt(b$e, [["__scopeId", "data-v-13b5ac2a"]]);
|
|
60585
|
+
function y$e(t, e) {
|
|
60585
60586
|
const n = e ? (r) => console.error(r) : null;
|
|
60586
60587
|
return (...r) => {
|
|
60587
60588
|
try {
|
|
@@ -60599,10 +60600,10 @@ ${Reflect.get(a, "stack") ?? a}`
|
|
|
60599
60600
|
}
|
|
60600
60601
|
};
|
|
60601
60602
|
}
|
|
60602
|
-
const
|
|
60603
|
+
const _$e = { class: "umo-classic-menu" }, w$e = {
|
|
60603
60604
|
key: 0,
|
|
60604
60605
|
class: "umo-virtual-group"
|
|
60605
|
-
},
|
|
60606
|
+
}, C$e = { class: "umo-virtual-group" }, x$e = { class: "umo-virtual-group" }, k$e = { class: "umo-virtual-group" }, S$e = { class: "umo-virtual-group" }, O$e = { class: "umo-virtual-group" }, $$e = { class: "virtual-group is-slot" }, P$e = { class: "umo-virtual-group" }, E$e = { class: "umo-virtual-group" }, T$e = { class: "umo-virtual-group" }, M$e = { class: "virtual-group is-slot" }, A$e = { class: "umo-virtual-group" }, D$e = { class: "umo-virtual-group" }, j$e = { class: "umo-virtual-group" }, I$e = { class: "umo-virtual-group" }, F$e = { class: "umo-virtual-group" }, R$e = { class: "umo-virtual-group" }, B$e = { class: "umo-virtual-group" }, N$e = { class: "umo-virtual-group" }, L$e = { class: "virtual-group is-slot" }, z$e = { class: "umo-virtual-group" }, V$e = { class: "umo-virtual-group" }, H$e = { class: "virtual-group is-slot" }, K$e = { class: "umo-virtual-group" }, U$e = { class: "umo-virtual-group" }, W$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 = /* @__PURE__ */ ee({
|
|
60606
60607
|
__name: "classic",
|
|
60607
60608
|
props: {
|
|
60608
60609
|
menus: null,
|
|
@@ -60617,7 +60618,7 @@ const y$e = { class: "umo-classic-menu" }, _$e = {
|
|
|
60617
60618
|
let u = N("");
|
|
60618
60619
|
ue(
|
|
60619
60620
|
() => r.currentMenu,
|
|
60620
|
-
|
|
60621
|
+
y$e(async (d) => {
|
|
60621
60622
|
var v;
|
|
60622
60623
|
u.value = d, await Ye(), (v = s.value) == null || v.update();
|
|
60623
60624
|
}),
|
|
@@ -60635,8 +60636,8 @@ const y$e = { class: "umo-classic-menu" }, _$e = {
|
|
|
60635
60636
|
class: "umo-scrollable-container"
|
|
60636
60637
|
}, {
|
|
60637
60638
|
default: te(() => [
|
|
60638
|
-
W("div",
|
|
60639
|
-
t.menus.length > 1 ? (R(), ce("div",
|
|
60639
|
+
W("div", _$e, [
|
|
60640
|
+
t.menus.length > 1 ? (R(), ce("div", w$e, [
|
|
60640
60641
|
x(n) ? (R(), Y(p, {
|
|
60641
60642
|
key: 0,
|
|
60642
60643
|
modelValue: x(u),
|
|
@@ -60683,13 +60684,13 @@ const y$e = { class: "umo-classic-menu" }, _$e = {
|
|
|
60683
60684
|
i("audio") ? re("", !0) : (R(), Y(O, { key: 15 })),
|
|
60684
60685
|
i("file") ? re("", !0) : (R(), Y($, { key: 16 }))
|
|
60685
60686
|
], 64)) : (R(), ce(Te, { key: 1 }, [
|
|
60686
|
-
W("div",
|
|
60687
|
+
W("div", C$e, [
|
|
60687
60688
|
i("undo") ? re("", !0) : (R(), Y(j, { key: 0 })),
|
|
60688
60689
|
i("redo") ? re("", !0) : (R(), Y(B, { key: 1 })),
|
|
60689
60690
|
i("painter") ? re("", !0) : (R(), Y(L, { key: 2 })),
|
|
60690
60691
|
i("format") ? re("", !0) : (R(), Y(z, { key: 3 }))
|
|
60691
60692
|
]),
|
|
60692
|
-
W("div",
|
|
60693
|
+
W("div", x$e, [
|
|
60693
60694
|
i("heading") ? re("", !0) : (R(), Y(h, { key: 0 })),
|
|
60694
60695
|
i("fontFamily") ? re("", !0) : (R(), Y(J, {
|
|
60695
60696
|
key: 1,
|
|
@@ -60709,7 +60710,7 @@ const y$e = { class: "umo-classic-menu" }, _$e = {
|
|
|
60709
60710
|
i("backgroundColor") ? re("", !0) : (R(), Y(C, { key: 10 })),
|
|
60710
60711
|
i("highlight") ? re("", !0) : (R(), Y(E, { key: 11 }))
|
|
60711
60712
|
]),
|
|
60712
|
-
W("div",
|
|
60713
|
+
W("div", k$e, [
|
|
60713
60714
|
i("orderedList") ? re("", !0) : (R(), Y(T, { key: 0 })),
|
|
60714
60715
|
i("bulletList") ? re("", !0) : (R(), Y(M, { key: 1 })),
|
|
60715
60716
|
i("taskList") ? re("", !0) : (R(), Y(q, { key: 2 })),
|
|
@@ -60722,21 +60723,21 @@ const y$e = { class: "umo-classic-menu" }, _$e = {
|
|
|
60722
60723
|
i("code") ? re("", !0) : (R(), Y(k, { key: 9 })),
|
|
60723
60724
|
i("selectAll") ? re("", !0) : (R(), Y(ye, { key: 10 }))
|
|
60724
60725
|
]),
|
|
60725
|
-
W("div",
|
|
60726
|
+
W("div", S$e, [
|
|
60726
60727
|
i("importWord") ? re("", !0) : (R(), Y($e, { key: 0 })),
|
|
60727
60728
|
i("markdown") ? re("", !0) : (R(), Y(Ce, { key: 1 })),
|
|
60728
60729
|
i("searchReplace") ? re("", !0) : (R(), Y(_e, { key: 2 }))
|
|
60729
60730
|
]),
|
|
60730
|
-
W("div",
|
|
60731
|
+
W("div", O$e, [
|
|
60731
60732
|
i("print") ? re("", !0) : (R(), Y(Pe, { key: 0 }))
|
|
60732
60733
|
]),
|
|
60733
|
-
W("div",
|
|
60734
|
+
W("div", $$e, [
|
|
60734
60735
|
Mt(d.$slots, "toolbar_base", { toolbarMode: "classic" }, void 0, !0)
|
|
60735
60736
|
])
|
|
60736
60737
|
], 64))
|
|
60737
60738
|
], 64)) : re("", !0),
|
|
60738
60739
|
x(u) === "insert" ? (R(), ce(Te, { key: 2 }, [
|
|
60739
|
-
W("div",
|
|
60740
|
+
W("div", P$e, [
|
|
60740
60741
|
i("link") ? re("", !0) : (R(), Y(D, { key: 0 })),
|
|
60741
60742
|
i("image") ? re("", !0) : (R(), Y(A, { key: 1 })),
|
|
60742
60743
|
i("video") ? re("", !0) : (R(), Y(I, { key: 2 })),
|
|
@@ -60753,30 +60754,30 @@ const y$e = { class: "umo-classic-menu" }, _$e = {
|
|
|
60753
60754
|
i("mention") ? re("", !0) : (R(), Y(Ne, { key: 13 })),
|
|
60754
60755
|
i("bookmark") ? re("", !0) : (R(), Y(Ie, { key: 14 }))
|
|
60755
60756
|
]),
|
|
60756
|
-
W("div",
|
|
60757
|
+
W("div", E$e, [
|
|
60757
60758
|
i("hardBreak") ? re("", !0) : (R(), Y(Se, { key: 0 })),
|
|
60758
60759
|
i("hr") ? re("", !0) : (R(), Y(be, { key: 1 })),
|
|
60759
60760
|
i("toc") ? re("", !0) : (R(), Y(me, { key: 2 })),
|
|
60760
60761
|
i("textBox") ? re("", !0) : (R(), Y(G, { key: 3 }))
|
|
60761
60762
|
]),
|
|
60762
|
-
W("div",
|
|
60763
|
+
W("div", T$e, [
|
|
60763
60764
|
i("template") ? re("", !0) : (R(), Y(oe, { key: 0 })),
|
|
60764
60765
|
i("webPage") ? re("", !0) : (R(), Y(he, { key: 1 }))
|
|
60765
60766
|
]),
|
|
60766
|
-
W("div",
|
|
60767
|
+
W("div", M$e, [
|
|
60767
60768
|
Mt(d.$slots, "toolbar_insert", { toolbarMode: "classic" }, void 0, !0)
|
|
60768
60769
|
])
|
|
60769
60770
|
], 64)) : re("", !0),
|
|
60770
60771
|
x(u) === "table" ? (R(), ce(Te, { key: 3 }, [
|
|
60771
|
-
W("div",
|
|
60772
|
+
W("div", A$e, [
|
|
60772
60773
|
i("tableInsert") ? re("", !0) : (R(), Y(Oe, { key: 0 })),
|
|
60773
60774
|
i("tableFix") ? re("", !0) : (R(), Y(je, { key: 1 }))
|
|
60774
60775
|
]),
|
|
60775
|
-
W("div",
|
|
60776
|
+
W("div", D$e, [
|
|
60776
60777
|
i("cellsAlign") ? re("", !0) : (R(), Y(Re, { key: 0 })),
|
|
60777
60778
|
i("cellsBackground") ? re("", !0) : (R(), Y(Ke, { key: 1 }))
|
|
60778
60779
|
]),
|
|
60779
|
-
W("div",
|
|
60780
|
+
W("div", j$e, [
|
|
60780
60781
|
i("rowBefore") ? re("", !0) : (R(), Y(qe, {
|
|
60781
60782
|
key: 0,
|
|
60782
60783
|
huge: !1
|
|
@@ -60794,7 +60795,7 @@ const y$e = { class: "umo-classic-menu" }, _$e = {
|
|
|
60794
60795
|
huge: !1
|
|
60795
60796
|
}))
|
|
60796
60797
|
]),
|
|
60797
|
-
W("div",
|
|
60798
|
+
W("div", I$e, [
|
|
60798
60799
|
i("deleteRow") ? re("", !0) : (R(), Y(qt, {
|
|
60799
60800
|
key: 0,
|
|
60800
60801
|
huge: !1
|
|
@@ -60804,7 +60805,7 @@ const y$e = { class: "umo-classic-menu" }, _$e = {
|
|
|
60804
60805
|
huge: !1
|
|
60805
60806
|
}))
|
|
60806
60807
|
]),
|
|
60807
|
-
W("div",
|
|
60808
|
+
W("div", F$e, [
|
|
60808
60809
|
i("mergeCells") ? re("", !0) : (R(), Y(Bn, {
|
|
60809
60810
|
key: 0,
|
|
60810
60811
|
huge: !1
|
|
@@ -60814,7 +60815,7 @@ const y$e = { class: "umo-classic-menu" }, _$e = {
|
|
|
60814
60815
|
huge: !1
|
|
60815
60816
|
}))
|
|
60816
60817
|
]),
|
|
60817
|
-
W("div",
|
|
60818
|
+
W("div", R$e, [
|
|
60818
60819
|
i("headerRow") ? re("", !0) : (R(), Y(sr, {
|
|
60819
60820
|
key: 0,
|
|
60820
60821
|
huge: !1
|
|
@@ -60828,7 +60829,7 @@ const y$e = { class: "umo-classic-menu" }, _$e = {
|
|
|
60828
60829
|
huge: !1
|
|
60829
60830
|
}))
|
|
60830
60831
|
]),
|
|
60831
|
-
W("div",
|
|
60832
|
+
W("div", B$e, [
|
|
60832
60833
|
i("nextCell") ? re("", !0) : (R(), Y(dt, {
|
|
60833
60834
|
key: 0,
|
|
60834
60835
|
huge: !1
|
|
@@ -60838,15 +60839,15 @@ const y$e = { class: "umo-classic-menu" }, _$e = {
|
|
|
60838
60839
|
huge: !1
|
|
60839
60840
|
}))
|
|
60840
60841
|
]),
|
|
60841
|
-
W("div",
|
|
60842
|
+
W("div", N$e, [
|
|
60842
60843
|
i("tableDelete") ? re("", !0) : (R(), Y(At, { key: 0 }))
|
|
60843
60844
|
]),
|
|
60844
|
-
W("div",
|
|
60845
|
+
W("div", L$e, [
|
|
60845
60846
|
Mt(d.$slots, "toolbar_table", { toolbarMode: "classic" }, void 0, !0)
|
|
60846
60847
|
])
|
|
60847
60848
|
], 64)) : re("", !0),
|
|
60848
60849
|
x(u) === "tools" ? (R(), ce(Te, { key: 4 }, [
|
|
60849
|
-
W("div",
|
|
60850
|
+
W("div", z$e, [
|
|
60850
60851
|
i("diagrams") ? re("", !0) : (R(), Y(nn, { key: 0 })),
|
|
60851
60852
|
i("echarts") ? re("", !0) : (R(), Y(Kt, { key: 1 })),
|
|
60852
60853
|
i("mind-map") ? re("", !0) : (R(), Y(xn, { key: 2 })),
|
|
@@ -60854,46 +60855,46 @@ const y$e = { class: "umo-classic-menu" }, _$e = {
|
|
|
60854
60855
|
i("plantuml") ? re("", !0) : (R(), Y(Nr, { key: 4 })),
|
|
60855
60856
|
i("flowchart") ? re("", !0) : (R(), Y(Wn, { key: 5 }))
|
|
60856
60857
|
]),
|
|
60857
|
-
W("div",
|
|
60858
|
+
W("div", V$e, [
|
|
60858
60859
|
i("chineseCase") ? re("", !0) : (R(), Y(Yn, { key: 0 }))
|
|
60859
60860
|
]),
|
|
60860
|
-
W("div",
|
|
60861
|
+
W("div", H$e, [
|
|
60861
60862
|
Mt(d.$slots, "toolbar_tools", { toolbarMode: "classic" }, void 0, !0)
|
|
60862
60863
|
])
|
|
60863
60864
|
], 64)) : re("", !0),
|
|
60864
60865
|
x(u) === "page" && !i("allPage") ? (R(), ce(Te, { key: 5 }, [
|
|
60865
|
-
W("div",
|
|
60866
|
+
W("div", K$e, [
|
|
60866
60867
|
i("toggleToc") ? re("", !0) : (R(), Y(qn, { key: 0 }))
|
|
60867
60868
|
]),
|
|
60868
|
-
W("div",
|
|
60869
|
+
W("div", U$e, [
|
|
60869
60870
|
i("pageMargin") ? re("", !0) : (R(), Y(xr, { key: 0 })),
|
|
60870
60871
|
i("pageSize") ? re("", !0) : (R(), Y(kr, { key: 1 })),
|
|
60871
60872
|
i("pageOrientation") ? re("", !0) : (R(), Y(gt, { key: 2 }))
|
|
60872
60873
|
]),
|
|
60873
|
-
W("div",
|
|
60874
|
+
W("div", W$e, [
|
|
60874
60875
|
i("pageBreak") ? re("", !0) : (R(), Y(Sr, { key: 0 })),
|
|
60875
60876
|
i("lineNumber") ? re("", !0) : (R(), Y(Lr, { key: 1 })),
|
|
60876
60877
|
i("watermark") ? re("", !0) : (R(), Y(la, { key: 2 })),
|
|
60877
60878
|
i("pageBackground") ? re("", !0) : (R(), Y(zr, { key: 3 }))
|
|
60878
60879
|
]),
|
|
60879
|
-
W("div",
|
|
60880
|
+
W("div", Y$e, [
|
|
60880
60881
|
i("pagePreview") ? re("", !0) : (R(), Y(Gn, { key: 0 }))
|
|
60881
60882
|
]),
|
|
60882
|
-
W("div",
|
|
60883
|
+
W("div", q$e, [
|
|
60883
60884
|
Mt(d.$slots, "toolbar_page", { toolbarMode: "classic" }, void 0, !0)
|
|
60884
60885
|
])
|
|
60885
60886
|
], 64)) : re("", !0),
|
|
60886
60887
|
x(u) === "export" ? (R(), ce(Te, { key: 6 }, [
|
|
60887
|
-
W("div",
|
|
60888
|
+
W("div", G$e, [
|
|
60888
60889
|
i("exportImage") ? re("", !0) : (R(), Y(Xn, { key: 0 })),
|
|
60889
60890
|
i("exportPDF") ? re("", !0) : (R(), Y(io, { key: 1 })),
|
|
60890
60891
|
i("exportText") ? re("", !0) : (R(), Y(uo, { key: 2 }))
|
|
60891
60892
|
]),
|
|
60892
|
-
W("div",
|
|
60893
|
+
W("div", X$e, [
|
|
60893
60894
|
i("share") ? re("", !0) : (R(), Y(Or, { key: 0 })),
|
|
60894
60895
|
i("embed") ? re("", !0) : (R(), Y(bt, { key: 1 }))
|
|
60895
60896
|
]),
|
|
60896
|
-
W("div",
|
|
60897
|
+
W("div", J$e, [
|
|
60897
60898
|
Mt(d.$slots, "toolbar_export", { toolbarMode: "classic" }, void 0, !0)
|
|
60898
60899
|
])
|
|
60899
60900
|
], 64)) : re("", !0)
|
|
@@ -60904,10 +60905,10 @@ const y$e = { class: "umo-classic-menu" }, _$e = {
|
|
|
60904
60905
|
};
|
|
60905
60906
|
}
|
|
60906
60907
|
});
|
|
60907
|
-
const
|
|
60908
|
+
const Q$e = /* @__PURE__ */ nt(Z$e, [["__scopeId", "data-v-7d2c5986"]]), e3e = { class: "umo-ribbon-menu" }, t3e = {
|
|
60908
60909
|
key: 0,
|
|
60909
60910
|
class: "umo-ribbon-tabs"
|
|
60910
|
-
},
|
|
60911
|
+
}, n3e = ["onClick"], r3e = { class: "umo-ribbon-container" }, a3e = { class: "umo-virtual-group" }, o3e = { class: "umo-virtual-group-row" }, l3e = { class: "umo-virtual-group-row" }, i3e = { class: "umo-virtual-group" }, u3e = { class: "umo-virtual-group-row" }, s3e = { class: "umo-virtual-group-row" }, c3e = { class: "umo-virtual-group" }, d3e = { class: "umo-virtual-group-row" }, v3e = { class: "umo-virtual-group-row" }, f3e = { class: "umo-virtual-group" }, m3e = { class: "umo-virtual-group" }, p3e = { class: "umo-virtual-group" }, h3e = { class: "virtual-group is-slot" }, g3e = { class: "umo-virtual-group" }, b3e = { class: "umo-virtual-group" }, y3e = { class: "umo-virtual-group" }, _3e = { class: "virtual-group is-slot" }, w3e = { class: "umo-virtual-group" }, C3e = { class: "umo-virtual-group" }, x3e = { class: "umo-virtual-group" }, k3e = { class: "umo-virtual-group-row" }, S3e = { class: "umo-virtual-group-row" }, O3e = { class: "umo-virtual-group" }, $3e = { class: "umo-virtual-group-row" }, P3e = { class: "umo-virtual-group-row" }, E3e = { class: "umo-virtual-group" }, T3e = { class: "umo-virtual-group-row" }, M3e = { class: "umo-virtual-group-row" }, A3e = { class: "umo-virtual-group" }, D3e = { class: "umo-virtual-group-row" }, j3e = { class: "umo-virtual-group-row" }, I3e = { class: "umo-virtual-group" }, F3e = { class: "virtual-group is-slot" }, R3e = { class: "umo-virtual-group" }, B3e = { class: "umo-virtual-group" }, N3e = { class: "umo-virtual-group" }, L3e = { class: "umo-virtual-group" }, z3e = { class: "umo-virtual-group" }, V3e = { class: "umo-virtual-group-row" }, H3e = { class: "umo-virtual-group-row" }, K3e = { class: "umo-virtual-group-row" }, U3e = { class: "umo-virtual-group" }, W3e = { class: "umo-virtual-group" }, Y3e = { class: "virtual-group is-slot" }, q3e = { class: "umo-virtual-group" }, G3e = { class: "umo-virtual-group" }, X3e = { class: "virtual-group is-slot" }, J3e = /* @__PURE__ */ ee({
|
|
60911
60912
|
__name: "ribbon",
|
|
60912
60913
|
props: {
|
|
60913
60914
|
menus: null,
|
|
@@ -60924,13 +60925,13 @@ const Z$e = /* @__PURE__ */ nt(J$e, [["__scopeId", "data-v-7d2c5986"]]), Q$e = {
|
|
|
60924
60925
|
};
|
|
60925
60926
|
return (i, u) => {
|
|
60926
60927
|
const s = t3, c = e3, d = Q$, v = Z$, f = J$, m = Vp, p = qu, h = Fd, y = zp, b = Lp, w = X$, _ = G$, C = yi, E = Yu, T = Bp, M = a3, k = r3, S = q$, P = Y$, D = W$, A = U$, I = K$, O = Id, $ = jd, j = Dd, B = D4, L = A4, z = H$, J = n3, Q = V$, U = o3, V = z$, K = L$, q = N$, X = B$, Z = Np, le = lh, ie = oh, se = ah, ge = rh, ye = nh, $e = R$, Ce = F$, _e = uh, Pe = I$, de = j$, ve = D$, fe = th, Me = A$, De = M$, Ue = T$, Ne = E$, Ie = eh, Se = Qp, be = P$, me = Bd, G = $$, oe = O$, he = Zp, Oe = Jp, je = Xp, Re = Gp, Ke = Wp, qe = qp, Je = Yp, mt = Up, tn = Kp, qt = Hp, Ht = S$, Bn = k$, On = x$, sr = C$, $n = w$, Pn = _$, dt = Hd, rt = Rd, At = Nd, nn = Vd, Kt = zd, xn = Ld, Un = y$, Nr = b$, Wn = g$, Yn = h$, qn = m$, xr = f$, kr = v$, gt = d$, Sr = c$, Lr = s$, la = u$, zr = i$, Gn = l$, Xn = o$, io = a$, uo = r$;
|
|
60927
|
-
return R(), ce("div",
|
|
60928
|
-
t.menus.length > 1 ? (R(), ce("div",
|
|
60928
|
+
return R(), ce("div", e3e, [
|
|
60929
|
+
t.menus.length > 1 ? (R(), ce("div", t3e, [
|
|
60929
60930
|
(R(!0), ce(Te, null, st(t.menus, (Or) => (R(), ce("div", {
|
|
60930
60931
|
key: Or.value,
|
|
60931
60932
|
class: Qe(["umo-ribbon-tabs-item", { active: t.currentMenu === Or.value }]),
|
|
60932
60933
|
onClick: (bt) => l(Or.value)
|
|
60933
|
-
}, pe(Or.label), 11,
|
|
60934
|
+
}, pe(Or.label), 11, n3e))), 128))
|
|
60934
60935
|
])) : re("", !0),
|
|
60935
60936
|
g(uo, {
|
|
60936
60937
|
ref_key: "scrollableRef",
|
|
@@ -60938,24 +60939,24 @@ const Z$e = /* @__PURE__ */ nt(J$e, [["__scopeId", "data-v-7d2c5986"]]), Q$e = {
|
|
|
60938
60939
|
class: "umo-scrollable-container"
|
|
60939
60940
|
}, {
|
|
60940
60941
|
default: te(() => [
|
|
60941
|
-
W("div",
|
|
60942
|
+
W("div", r3e, [
|
|
60942
60943
|
t.currentMenu === "base" ? (R(), ce(Te, { key: 0 }, [
|
|
60943
|
-
W("div",
|
|
60944
|
-
W("div",
|
|
60944
|
+
W("div", a3e, [
|
|
60945
|
+
W("div", o3e, [
|
|
60945
60946
|
g(s),
|
|
60946
60947
|
g(c)
|
|
60947
60948
|
]),
|
|
60948
|
-
W("div",
|
|
60949
|
+
W("div", l3e, [
|
|
60949
60950
|
g(d),
|
|
60950
60951
|
g(v)
|
|
60951
60952
|
])
|
|
60952
60953
|
]),
|
|
60953
|
-
W("div",
|
|
60954
|
-
W("div",
|
|
60954
|
+
W("div", i3e, [
|
|
60955
|
+
W("div", u3e, [
|
|
60955
60956
|
g(f),
|
|
60956
60957
|
g(m)
|
|
60957
60958
|
]),
|
|
60958
|
-
W("div",
|
|
60959
|
+
W("div", s3e, [
|
|
60959
60960
|
g(p),
|
|
60960
60961
|
g(h),
|
|
60961
60962
|
g(y),
|
|
@@ -60967,8 +60968,8 @@ const Z$e = /* @__PURE__ */ nt(J$e, [["__scopeId", "data-v-7d2c5986"]]), Q$e = {
|
|
|
60967
60968
|
g(T)
|
|
60968
60969
|
])
|
|
60969
60970
|
]),
|
|
60970
|
-
W("div",
|
|
60971
|
-
W("div",
|
|
60971
|
+
W("div", c3e, [
|
|
60972
|
+
W("div", d3e, [
|
|
60972
60973
|
g(M),
|
|
60973
60974
|
g(k),
|
|
60974
60975
|
g(S),
|
|
@@ -60977,7 +60978,7 @@ const Z$e = /* @__PURE__ */ nt(J$e, [["__scopeId", "data-v-7d2c5986"]]), Q$e = {
|
|
|
60977
60978
|
g(A),
|
|
60978
60979
|
g(I)
|
|
60979
60980
|
]),
|
|
60980
|
-
W("div",
|
|
60981
|
+
W("div", v3e, [
|
|
60981
60982
|
g(O),
|
|
60982
60983
|
g($),
|
|
60983
60984
|
g(j),
|
|
@@ -60988,23 +60989,23 @@ const Z$e = /* @__PURE__ */ nt(J$e, [["__scopeId", "data-v-7d2c5986"]]), Q$e = {
|
|
|
60988
60989
|
g(Q)
|
|
60989
60990
|
])
|
|
60990
60991
|
]),
|
|
60991
|
-
W("div",
|
|
60992
|
+
W("div", f3e, [
|
|
60992
60993
|
g(U)
|
|
60993
60994
|
]),
|
|
60994
|
-
W("div",
|
|
60995
|
+
W("div", m3e, [
|
|
60995
60996
|
g(V),
|
|
60996
60997
|
g(K),
|
|
60997
60998
|
g(q)
|
|
60998
60999
|
]),
|
|
60999
|
-
W("div",
|
|
61000
|
+
W("div", p3e, [
|
|
61000
61001
|
a("print") ? re("", !0) : (R(), Y(X, { key: 0 }))
|
|
61001
61002
|
]),
|
|
61002
|
-
W("div",
|
|
61003
|
+
W("div", h3e, [
|
|
61003
61004
|
Mt(i.$slots, "toolbar_base", { toolbarMode: "ribbon" }, void 0, !0)
|
|
61004
61005
|
])
|
|
61005
61006
|
], 64)) : re("", !0),
|
|
61006
61007
|
t.currentMenu === "insert" ? (R(), ce(Te, { key: 1 }, [
|
|
61007
|
-
W("div",
|
|
61008
|
+
W("div", g3e, [
|
|
61008
61009
|
g(Z),
|
|
61009
61010
|
g(le),
|
|
61010
61011
|
a("video") ? re("", !0) : (R(), Y(ie, { key: 0 })),
|
|
@@ -61021,75 +61022,75 @@ const Z$e = /* @__PURE__ */ nt(J$e, [["__scopeId", "data-v-7d2c5986"]]), Q$e = {
|
|
|
61021
61022
|
a("mention") ? re("", !0) : (R(), Y(Me, { key: 11 })),
|
|
61022
61023
|
a("bookmark") ? re("", !0) : (R(), Y(De, { key: 12 }))
|
|
61023
61024
|
]),
|
|
61024
|
-
W("div",
|
|
61025
|
+
W("div", b3e, [
|
|
61025
61026
|
g(Ue),
|
|
61026
61027
|
g(Ne),
|
|
61027
61028
|
g(Ie),
|
|
61028
61029
|
a("textBox") ? re("", !0) : (R(), Y(Se, { key: 0 }))
|
|
61029
61030
|
]),
|
|
61030
|
-
W("div",
|
|
61031
|
+
W("div", y3e, [
|
|
61031
61032
|
g(be),
|
|
61032
61033
|
a("webPage") ? re("", !0) : (R(), Y(me, { key: 0 }))
|
|
61033
61034
|
]),
|
|
61034
|
-
W("div",
|
|
61035
|
+
W("div", _3e, [
|
|
61035
61036
|
Mt(i.$slots, "toolbar_insert", { toolbarMode: "ribbon" }, void 0, !0)
|
|
61036
61037
|
])
|
|
61037
61038
|
], 64)) : re("", !0),
|
|
61038
61039
|
t.currentMenu === "table" ? (R(), ce(Te, { key: 2 }, [
|
|
61039
|
-
W("div",
|
|
61040
|
+
W("div", w3e, [
|
|
61040
61041
|
g(G),
|
|
61041
61042
|
g(oe)
|
|
61042
61043
|
]),
|
|
61043
|
-
W("div",
|
|
61044
|
+
W("div", C3e, [
|
|
61044
61045
|
g(he),
|
|
61045
61046
|
g(Oe)
|
|
61046
61047
|
]),
|
|
61047
|
-
W("div",
|
|
61048
|
-
W("div",
|
|
61048
|
+
W("div", x3e, [
|
|
61049
|
+
W("div", k3e, [
|
|
61049
61050
|
g(je),
|
|
61050
61051
|
g(Re),
|
|
61051
61052
|
g(Ke)
|
|
61052
61053
|
]),
|
|
61053
|
-
W("div",
|
|
61054
|
+
W("div", S3e, [
|
|
61054
61055
|
g(qe),
|
|
61055
61056
|
g(Je),
|
|
61056
61057
|
g(mt)
|
|
61057
61058
|
])
|
|
61058
61059
|
]),
|
|
61059
|
-
W("div",
|
|
61060
|
-
W("div",
|
|
61060
|
+
W("div", O3e, [
|
|
61061
|
+
W("div", $3e, [
|
|
61061
61062
|
g(tn)
|
|
61062
61063
|
]),
|
|
61063
|
-
W("div",
|
|
61064
|
+
W("div", P3e, [
|
|
61064
61065
|
g(qt)
|
|
61065
61066
|
])
|
|
61066
61067
|
]),
|
|
61067
|
-
W("div",
|
|
61068
|
-
W("div",
|
|
61068
|
+
W("div", E3e, [
|
|
61069
|
+
W("div", T3e, [
|
|
61069
61070
|
g(Ht),
|
|
61070
61071
|
g(Bn)
|
|
61071
61072
|
]),
|
|
61072
|
-
W("div",
|
|
61073
|
+
W("div", M3e, [
|
|
61073
61074
|
g(On)
|
|
61074
61075
|
])
|
|
61075
61076
|
]),
|
|
61076
|
-
W("div",
|
|
61077
|
-
W("div",
|
|
61077
|
+
W("div", A3e, [
|
|
61078
|
+
W("div", D3e, [
|
|
61078
61079
|
g(sr)
|
|
61079
61080
|
]),
|
|
61080
|
-
W("div",
|
|
61081
|
+
W("div", j3e, [
|
|
61081
61082
|
g($n)
|
|
61082
61083
|
])
|
|
61083
61084
|
]),
|
|
61084
|
-
W("div",
|
|
61085
|
+
W("div", I3e, [
|
|
61085
61086
|
g(Pn)
|
|
61086
61087
|
]),
|
|
61087
|
-
W("div",
|
|
61088
|
+
W("div", F3e, [
|
|
61088
61089
|
Mt(i.$slots, "toolbar_table", { toolbarMode: "ribbon" }, void 0, !0)
|
|
61089
61090
|
])
|
|
61090
61091
|
], 64)) : re("", !0),
|
|
61091
61092
|
t.currentMenu === "tools" ? (R(), ce(Te, { key: 3 }, [
|
|
61092
|
-
W("div",
|
|
61093
|
+
W("div", R3e, [
|
|
61093
61094
|
a("diagrams") ? re("", !0) : (R(), Y(dt, { key: 0 })),
|
|
61094
61095
|
a("echarts") ? re("", !0) : (R(), Y(rt, { key: 1 })),
|
|
61095
61096
|
a("mind-map") ? re("", !0) : (R(), Y(At, { key: 2 })),
|
|
@@ -61097,54 +61098,54 @@ const Z$e = /* @__PURE__ */ nt(J$e, [["__scopeId", "data-v-7d2c5986"]]), Q$e = {
|
|
|
61097
61098
|
a("plantuml") ? re("", !0) : (R(), Y(Kt, { key: 4 })),
|
|
61098
61099
|
a("flowchart") ? re("", !0) : (R(), Y(xn, { key: 5 }))
|
|
61099
61100
|
]),
|
|
61100
|
-
W("div",
|
|
61101
|
+
W("div", B3e, [
|
|
61101
61102
|
a("chineseCase") ? re("", !0) : (R(), Y(Un, { key: 0 }))
|
|
61102
61103
|
]),
|
|
61103
|
-
W("div",
|
|
61104
|
+
W("div", N3e, [
|
|
61104
61105
|
Mt(i.$slots, "toolbar_tools", { toolbarMode: "ribbon" }, void 0, !0)
|
|
61105
61106
|
])
|
|
61106
61107
|
], 64)) : re("", !0),
|
|
61107
61108
|
t.currentMenu === "page" ? (R(), ce(Te, { key: 4 }, [
|
|
61108
|
-
W("div",
|
|
61109
|
+
W("div", L3e, [
|
|
61109
61110
|
g(Nr)
|
|
61110
61111
|
]),
|
|
61111
|
-
W("div",
|
|
61112
|
-
W("div",
|
|
61112
|
+
W("div", z3e, [
|
|
61113
|
+
W("div", V3e, [
|
|
61113
61114
|
g(Wn),
|
|
61114
61115
|
W("div", null, [
|
|
61115
|
-
W("div",
|
|
61116
|
+
W("div", H3e, [
|
|
61116
61117
|
g(Yn)
|
|
61117
61118
|
]),
|
|
61118
|
-
W("div",
|
|
61119
|
+
W("div", K3e, [
|
|
61119
61120
|
g(qn)
|
|
61120
61121
|
])
|
|
61121
61122
|
])
|
|
61122
61123
|
])
|
|
61123
61124
|
]),
|
|
61124
|
-
W("div",
|
|
61125
|
+
W("div", U3e, [
|
|
61125
61126
|
g(xr),
|
|
61126
61127
|
g(kr),
|
|
61127
61128
|
g(gt),
|
|
61128
61129
|
g(Sr)
|
|
61129
61130
|
]),
|
|
61130
|
-
W("div",
|
|
61131
|
+
W("div", W3e, [
|
|
61131
61132
|
g(Lr)
|
|
61132
61133
|
]),
|
|
61133
|
-
W("div",
|
|
61134
|
+
W("div", Y3e, [
|
|
61134
61135
|
Mt(i.$slots, "toolbar_page", { toolbarMode: "ribbon" }, void 0, !0)
|
|
61135
61136
|
])
|
|
61136
61137
|
], 64)) : re("", !0),
|
|
61137
61138
|
t.currentMenu === "export" ? (R(), ce(Te, { key: 5 }, [
|
|
61138
|
-
W("div",
|
|
61139
|
+
W("div", q3e, [
|
|
61139
61140
|
g(la),
|
|
61140
61141
|
a("exportPDF") ? re("", !0) : (R(), Y(zr, { key: 0 })),
|
|
61141
61142
|
g(Gn)
|
|
61142
61143
|
]),
|
|
61143
|
-
W("div",
|
|
61144
|
+
W("div", G3e, [
|
|
61144
61145
|
a("share") ? re("", !0) : (R(), Y(Xn, { key: 0 })),
|
|
61145
61146
|
a("embed") ? re("", !0) : (R(), Y(io, { key: 1 }))
|
|
61146
61147
|
]),
|
|
61147
|
-
W("div",
|
|
61148
|
+
W("div", X3e, [
|
|
61148
61149
|
Mt(i.$slots, "toolbar_export", { toolbarMode: "ribbon" }, void 0, !0)
|
|
61149
61150
|
])
|
|
61150
61151
|
], 64)) : re("", !0)
|
|
@@ -61156,7 +61157,7 @@ const Z$e = /* @__PURE__ */ nt(J$e, [["__scopeId", "data-v-7d2c5986"]]), Q$e = {
|
|
|
61156
61157
|
};
|
|
61157
61158
|
}
|
|
61158
61159
|
});
|
|
61159
|
-
const
|
|
61160
|
+
const Z3e = /* @__PURE__ */ nt(J3e, [["__scopeId", "data-v-b45a989f"]]), SC = (t) => {
|
|
61160
61161
|
const e = {
|
|
61161
61162
|
justNow: ae("time.justNow"),
|
|
61162
61163
|
past: (r) => r.toString().match(/\d/) ? ae("time.past", { n: r }) : r,
|
|
@@ -61168,10 +61169,10 @@ const J3e = /* @__PURE__ */ nt(X3e, [["__scopeId", "data-v-b45a989f"]]), SC = (t
|
|
|
61168
61169
|
return k3(new Date(t), {
|
|
61169
61170
|
messages: e
|
|
61170
61171
|
}).value.replace(/"/gi, "");
|
|
61171
|
-
},
|
|
61172
|
+
}, Q3e = {
|
|
61172
61173
|
key: 0,
|
|
61173
61174
|
class: "umo-toolbar-container"
|
|
61174
|
-
},
|
|
61175
|
+
}, e5e = { class: "umo-status" }, t5e = { class: "umo-status-saved button-text" }, n5e = ["textContent"], r5e = ["textContent"], a5e = { class: "umo-document-status-container umo-status" }, o5e = ["textContent"], l5e = ["textContent"], i5e = { class: "umo-document-button-container" }, u5e = /* @__PURE__ */ ee({
|
|
61175
61176
|
__name: "index",
|
|
61176
61177
|
emits: ["menu-change"],
|
|
61177
61178
|
setup(t, { emit: e }) {
|
|
@@ -61249,8 +61250,8 @@ const J3e = /* @__PURE__ */ nt(X3e, [["__scopeId", "data-v-b45a989f"]]), SC = (t
|
|
|
61249
61250
|
};
|
|
61250
61251
|
return (w, _) => {
|
|
61251
61252
|
var S, P, D;
|
|
61252
|
-
const C =
|
|
61253
|
-
return x(i).show ? (R(), ce("div",
|
|
61253
|
+
const C = Z3e, E = Q$e, T = BOe, M = zt, k = Cn;
|
|
61254
|
+
return x(i).show ? (R(), ce("div", Q3e, [
|
|
61254
61255
|
x(i).mode === "ribbon" ? (R(), Y(C, {
|
|
61255
61256
|
key: 0,
|
|
61256
61257
|
menus: x(d),
|
|
@@ -61292,19 +61293,19 @@ const J3e = /* @__PURE__ */ nt(X3e, [["__scopeId", "data-v-b45a989f"]]), SC = (t
|
|
|
61292
61293
|
onVisibleChange: _[1] || (_[1] = (A) => et(u) ? u.value = A : u = A)
|
|
61293
61294
|
}, {
|
|
61294
61295
|
content: te(() => [
|
|
61295
|
-
W("div",
|
|
61296
|
+
W("div", a5e, [
|
|
61296
61297
|
W("div", null, pe(w.t("save.network")) + " " + pe(x(s) ? w.t("save.online") : w.t("save.offline")), 1),
|
|
61297
61298
|
W("div", null, [
|
|
61298
61299
|
Ge(pe(w.t("save.savedAt")) + " ", 1),
|
|
61299
61300
|
x(o) ? (R(), ce("span", {
|
|
61300
61301
|
key: 0,
|
|
61301
61302
|
textContent: pe(w.t("save.savedAtText", { time: x(SC)(x(o)) }))
|
|
61302
|
-
}, null, 8,
|
|
61303
|
+
}, null, 8, o5e)) : (R(), ce("span", {
|
|
61303
61304
|
key: 1,
|
|
61304
61305
|
textContent: pe(w.t("save.unsaved"))
|
|
61305
|
-
}, null, 8,
|
|
61306
|
+
}, null, 8, l5e))
|
|
61306
61307
|
]),
|
|
61307
|
-
W("div",
|
|
61308
|
+
W("div", i5e, [
|
|
61308
61309
|
g(M, {
|
|
61309
61310
|
size: "small",
|
|
61310
61311
|
onClick: p,
|
|
@@ -61326,19 +61327,19 @@ const J3e = /* @__PURE__ */ nt(X3e, [["__scopeId", "data-v-b45a989f"]]), SC = (t
|
|
|
61326
61327
|
size: "small"
|
|
61327
61328
|
}, {
|
|
61328
61329
|
default: te(() => [
|
|
61329
|
-
W("span",
|
|
61330
|
+
W("span", e5e, [
|
|
61330
61331
|
W("span", {
|
|
61331
61332
|
class: Qe(["umo-status-online", { offline: !x(s) }])
|
|
61332
61333
|
}, null, 2),
|
|
61333
|
-
W("span",
|
|
61334
|
+
W("span", t5e, [
|
|
61334
61335
|
x(o) ? (R(), ce("span", {
|
|
61335
61336
|
key: 0,
|
|
61336
61337
|
textContent: pe(w.t("save.savedAtText", { time: x(SC)(x(o)) }))
|
|
61337
|
-
}, null, 8,
|
|
61338
|
+
}, null, 8, n5e)) : (R(), ce("span", {
|
|
61338
61339
|
key: 1,
|
|
61339
61340
|
class: "unsaved",
|
|
61340
61341
|
textContent: pe(w.t("save.unsaved"))
|
|
61341
|
-
}, null, 8,
|
|
61342
|
+
}, null, 8, r5e))
|
|
61342
61343
|
])
|
|
61343
61344
|
])
|
|
61344
61345
|
]),
|
|
@@ -61352,13 +61353,13 @@ const J3e = /* @__PURE__ */ nt(X3e, [["__scopeId", "data-v-b45a989f"]]), SC = (t
|
|
|
61352
61353
|
};
|
|
61353
61354
|
}
|
|
61354
61355
|
});
|
|
61355
|
-
const
|
|
61356
|
+
const s5e = /* @__PURE__ */ nt(u5e, [["__scopeId", "data-v-9f111005"]]);
|
|
61356
61357
|
/**
|
|
61357
61358
|
* tdesign v1.9.8
|
|
61358
61359
|
* (c) 2024 tdesign
|
|
61359
61360
|
* @license MIT
|
|
61360
61361
|
*/
|
|
61361
|
-
var
|
|
61362
|
+
var c5e = {
|
|
61362
61363
|
pagination: {
|
|
61363
61364
|
itemsPerPage: "{size} / page",
|
|
61364
61365
|
jumpTo: "Jump to",
|
|
@@ -61574,7 +61575,7 @@ var s5e = {
|
|
|
61574
61575
|
copiedText: "copied"
|
|
61575
61576
|
}
|
|
61576
61577
|
};
|
|
61577
|
-
const
|
|
61578
|
+
const d5e = {
|
|
61578
61579
|
fonts: [
|
|
61579
61580
|
{
|
|
61580
61581
|
label: { en_US: "Default Font", zh_CN: "默认字体", ru_RU: "default" },
|
|
@@ -61897,7 +61898,7 @@ const c5e = {
|
|
|
61897
61898
|
height: 27.9
|
|
61898
61899
|
}
|
|
61899
61900
|
]
|
|
61900
|
-
},
|
|
61901
|
+
}, v5e = [
|
|
61901
61902
|
{
|
|
61902
61903
|
label: {
|
|
61903
61904
|
zh_CN: "哔哩哔哩(以https://www.bilibili.com/video/开头)",
|
|
@@ -61987,7 +61988,7 @@ const c5e = {
|
|
|
61987
61988
|
theme: "light",
|
|
61988
61989
|
fullscreenZIndex: 10,
|
|
61989
61990
|
height: "100%",
|
|
61990
|
-
dicts:
|
|
61991
|
+
dicts: d5e,
|
|
61991
61992
|
toolbar: {
|
|
61992
61993
|
defaultMode: "classic",
|
|
61993
61994
|
fromType: "",
|
|
@@ -62101,7 +62102,7 @@ const c5e = {
|
|
|
62101
62102
|
haveImage: !1
|
|
62102
62103
|
//是否生成图片 如果是则在图片展示的同时保存一张echart图片,主要用于复杂图形模式word无法生成但又要有类似效果场景
|
|
62103
62104
|
},
|
|
62104
|
-
webPages:
|
|
62105
|
+
webPages: v5e,
|
|
62105
62106
|
templates: [],
|
|
62106
62107
|
cdnUrl: "https://unpkg.com/@umoteam/editor-external@latest",
|
|
62107
62108
|
baseUrl: "",
|
|
@@ -62187,7 +62188,7 @@ const c5e = {
|
|
|
62187
62188
|
);
|
|
62188
62189
|
});
|
|
62189
62190
|
}
|
|
62190
|
-
},
|
|
62191
|
+
}, f5e = Object.keys(tu), yo = (t) => {
|
|
62191
62192
|
if (Vn(t) && t.length > 0)
|
|
62192
62193
|
return !0;
|
|
62193
62194
|
if (Ar(t)) {
|
|
@@ -62197,7 +62198,7 @@ const c5e = {
|
|
|
62197
62198
|
return !0;
|
|
62198
62199
|
}
|
|
62199
62200
|
return !1;
|
|
62200
|
-
},
|
|
62201
|
+
}, m5e = new W5({
|
|
62201
62202
|
editorKey: {
|
|
62202
62203
|
merge: "replace",
|
|
62203
62204
|
validate: "string!",
|
|
@@ -62953,7 +62954,7 @@ const c5e = {
|
|
|
62953
62954
|
},
|
|
62954
62955
|
required: !1
|
|
62955
62956
|
}
|
|
62956
|
-
}),
|
|
62957
|
+
}), p5e = "mme-editor", h5e = "1.1.12", g5e = "module", b5e = "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.", y5e = [
|
|
62957
62958
|
"mme editor",
|
|
62958
62959
|
"document editor",
|
|
62959
62960
|
"docs editor",
|
|
@@ -62969,24 +62970,24 @@ const c5e = {
|
|
|
62969
62970
|
"web office",
|
|
62970
62971
|
"online office",
|
|
62971
62972
|
"tiptap"
|
|
62972
|
-
],
|
|
62973
|
+
], _5e = {
|
|
62973
62974
|
name: "finthing",
|
|
62974
62975
|
email: "fsdw@finething.net",
|
|
62975
62976
|
url: "http://www.finething.net"
|
|
62976
|
-
},
|
|
62977
|
+
}, w5e = "MIT", C5e = "http://www.finething.net", x5e = {
|
|
62977
62978
|
url: "http://www.finething.net",
|
|
62978
62979
|
email: "fsdw@finething.net"
|
|
62979
|
-
},
|
|
62980
|
+
}, k5e = [
|
|
62980
62981
|
"dist",
|
|
62981
62982
|
"types/index.d.ts"
|
|
62982
|
-
],
|
|
62983
|
+
], S5e = {
|
|
62983
62984
|
".": {
|
|
62984
62985
|
import: "./dist/mme-editor.js"
|
|
62985
62986
|
},
|
|
62986
62987
|
"./style": {
|
|
62987
62988
|
import: "./dist/style.css"
|
|
62988
62989
|
}
|
|
62989
|
-
},
|
|
62990
|
+
}, O5e = "./types/index.d.ts", $5e = {
|
|
62990
62991
|
build: "vue-tsc --noEmit && vite build",
|
|
62991
62992
|
dev: "vite --port 9000 --open --force",
|
|
62992
62993
|
format: "prettier --write .",
|
|
@@ -63000,7 +63001,7 @@ const c5e = {
|
|
|
63000
63001
|
"test:watch": "npm run test --watch --coverage",
|
|
63001
63002
|
prepare: "husky",
|
|
63002
63003
|
prepublishOnly: "npm run build"
|
|
63003
|
-
},
|
|
63004
|
+
}, P5e = {
|
|
63004
63005
|
"@eslint/object-schema": "^2.1.4",
|
|
63005
63006
|
"@imgly/background-removal": "1.5.5",
|
|
63006
63007
|
"@tiptap-extend/columns": "^2.1.6",
|
|
@@ -63073,7 +63074,7 @@ const c5e = {
|
|
|
63073
63074
|
"y-prosemirror": "^1.2.15",
|
|
63074
63075
|
"y-protocols": "^1.0.6",
|
|
63075
63076
|
yjs: "^13.6.23"
|
|
63076
|
-
},
|
|
63077
|
+
}, E5e = {
|
|
63077
63078
|
"@eslint/eslintrc": "^3.1.0",
|
|
63078
63079
|
"@eslint/js": "^9.10.0",
|
|
63079
63080
|
"@intlify/unplugin-vue-i18n": "^5.0.0",
|
|
@@ -63131,25 +63132,25 @@ const c5e = {
|
|
|
63131
63132
|
vitest: "^2.0.5",
|
|
63132
63133
|
vue: "^3.0.11",
|
|
63133
63134
|
"vue-tsc": "^2.1.6"
|
|
63134
|
-
},
|
|
63135
|
+
}, T5e = {
|
|
63135
63136
|
node: ">=18.0.0"
|
|
63136
63137
|
}, OC = {
|
|
63137
|
-
name:
|
|
63138
|
-
version:
|
|
63139
|
-
type:
|
|
63140
|
-
description:
|
|
63141
|
-
keywords:
|
|
63142
|
-
author:
|
|
63143
|
-
license:
|
|
63144
|
-
homepage:
|
|
63145
|
-
bugs:
|
|
63146
|
-
files:
|
|
63147
|
-
exports:
|
|
63148
|
-
types:
|
|
63149
|
-
scripts:
|
|
63150
|
-
dependencies:
|
|
63151
|
-
devDependencies:
|
|
63152
|
-
engines:
|
|
63138
|
+
name: p5e,
|
|
63139
|
+
version: h5e,
|
|
63140
|
+
type: g5e,
|
|
63141
|
+
description: b5e,
|
|
63142
|
+
keywords: y5e,
|
|
63143
|
+
author: _5e,
|
|
63144
|
+
license: w5e,
|
|
63145
|
+
homepage: C5e,
|
|
63146
|
+
bugs: x5e,
|
|
63147
|
+
files: k5e,
|
|
63148
|
+
exports: S5e,
|
|
63149
|
+
types: O5e,
|
|
63150
|
+
scripts: $5e,
|
|
63151
|
+
dependencies: P5e,
|
|
63152
|
+
devDependencies: E5e,
|
|
63153
|
+
engines: T5e,
|
|
63153
63154
|
"lint-staged": {
|
|
63154
63155
|
"*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue,less,css,yml,yaml,json,md,html}": [
|
|
63155
63156
|
"prettier --write src"
|
|
@@ -63161,7 +63162,7 @@ const c5e = {
|
|
|
63161
63162
|
"eslint --fix src"
|
|
63162
63163
|
]
|
|
63163
63164
|
}
|
|
63164
|
-
},
|
|
63165
|
+
}, M5e = () => {
|
|
63165
63166
|
console.info(
|
|
63166
63167
|
ae("welcome", { version: OC.version, homepage: OC.homepage }),
|
|
63167
63168
|
"background:#3480f9;color:#fff;border-top-left-radius:3px;border-bottom-left-radius:3px;padding:4px 8px 3px;",
|
|
@@ -63169,12 +63170,12 @@ const c5e = {
|
|
|
63169
63170
|
);
|
|
63170
63171
|
}, $C = (t, e) => {
|
|
63171
63172
|
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), {}) : {};
|
|
63172
|
-
return
|
|
63173
|
+
return m5e.merge(
|
|
63173
63174
|
tu,
|
|
63174
63175
|
e || {},
|
|
63175
63176
|
r
|
|
63176
63177
|
);
|
|
63177
|
-
},
|
|
63178
|
+
}, A5e = {
|
|
63178
63179
|
pagination: {
|
|
63179
63180
|
itemsPerPage: "{size} / страница",
|
|
63180
63181
|
jumpTo: "Перейти к",
|
|
@@ -63419,13 +63420,13 @@ const c5e = {
|
|
|
63419
63420
|
descriptions: {
|
|
63420
63421
|
colonText: ":"
|
|
63421
63422
|
}
|
|
63422
|
-
},
|
|
63423
|
+
}, D5e = ["id"], j5e = { class: "umo-toolbar" }, I5e = { class: "umo-main" }, F5e = {
|
|
63423
63424
|
key: 0,
|
|
63424
63425
|
class: "umo-footer"
|
|
63425
63426
|
}, PC = /* @__PURE__ */ ee({
|
|
63426
63427
|
name: "UmoEditor",
|
|
63427
63428
|
__name: "index",
|
|
63428
|
-
props:
|
|
63429
|
+
props: f5e,
|
|
63429
63430
|
emits: [
|
|
63430
63431
|
"beforeCreate",
|
|
63431
63432
|
"created",
|
|
@@ -63512,7 +63513,7 @@ const c5e = {
|
|
|
63512
63513
|
C.value = Zt();
|
|
63513
63514
|
}
|
|
63514
63515
|
), Ve(() => {
|
|
63515
|
-
L(i.value.theme), setTimeout(
|
|
63516
|
+
L(i.value.theme), setTimeout(M5e);
|
|
63516
63517
|
}), jt(() => {
|
|
63517
63518
|
k(), De();
|
|
63518
63519
|
}), ue(
|
|
@@ -63660,8 +63661,8 @@ const c5e = {
|
|
|
63660
63661
|
);
|
|
63661
63662
|
const $ = N({
|
|
63662
63663
|
"zh-CN": L2,
|
|
63663
|
-
"en-US":
|
|
63664
|
-
"ru-RU":
|
|
63664
|
+
"en-US": c5e,
|
|
63665
|
+
"ru-RU": A5e
|
|
63665
63666
|
});
|
|
63666
63667
|
Dt("menu-click", (G) => {
|
|
63667
63668
|
a("menuClick", G);
|
|
@@ -64091,7 +64092,7 @@ const c5e = {
|
|
|
64091
64092
|
getWorkitemContentById: Q,
|
|
64092
64093
|
printPage: U
|
|
64093
64094
|
}), (G, oe) => {
|
|
64094
|
-
const he =
|
|
64095
|
+
const he = s5e, Oe = DOe, je = lwe, Re = nwe, Ke = Tne;
|
|
64095
64096
|
return R(), Y(Ke, {
|
|
64096
64097
|
key: x(i).editorKey,
|
|
64097
64098
|
"global-config": {
|
|
@@ -64117,7 +64118,7 @@ const c5e = {
|
|
|
64117
64118
|
zIndex: x(h) ? x(i).fullscreenZIndex : "unset"
|
|
64118
64119
|
})
|
|
64119
64120
|
}, [
|
|
64120
|
-
W("header",
|
|
64121
|
+
W("header", j5e, [
|
|
64121
64122
|
(R(), Y(he, {
|
|
64122
64123
|
key: x(C),
|
|
64123
64124
|
onMenuChange: oe[0] || (oe[0] = (qt) => a("menuChange", qt))
|
|
@@ -64130,7 +64131,7 @@ const c5e = {
|
|
|
64130
64131
|
}))
|
|
64131
64132
|
]), 1024))
|
|
64132
64133
|
]),
|
|
64133
|
-
W("main",
|
|
64134
|
+
W("main", I5e, [
|
|
64134
64135
|
x(w).mode !== "source" ? (R(), Y(Oe, { key: 0 }, {
|
|
64135
64136
|
bubble_menu: te((qt) => [
|
|
64136
64137
|
Mt(G.$slots, "bubble_menu", El(Tl(qt)))
|
|
@@ -64138,10 +64139,10 @@ const c5e = {
|
|
|
64138
64139
|
_: 3
|
|
64139
64140
|
})) : (R(), Y(je, { key: 1 }))
|
|
64140
64141
|
]),
|
|
64141
|
-
x(w).mode !== "source" ? (R(), ce("footer",
|
|
64142
|
+
x(w).mode !== "source" ? (R(), ce("footer", F5e, [
|
|
64142
64143
|
g(Re)
|
|
64143
64144
|
])) : re("", !0)
|
|
64144
|
-
], 14,
|
|
64145
|
+
], 14, D5e)
|
|
64145
64146
|
];
|
|
64146
64147
|
}),
|
|
64147
64148
|
_: 3
|
|
@@ -64149,7 +64150,7 @@ const c5e = {
|
|
|
64149
64150
|
};
|
|
64150
64151
|
}
|
|
64151
64152
|
});
|
|
64152
|
-
const
|
|
64153
|
+
const H8e = {
|
|
64153
64154
|
install: (t, e) => {
|
|
64154
64155
|
t.provide("defaultOptions", e), t.component(PC.name ?? "UmoEditor", PC);
|
|
64155
64156
|
}
|
|
@@ -64160,5 +64161,5 @@ export {
|
|
|
64160
64161
|
we as UmoMenuButton,
|
|
64161
64162
|
Uu as UmoTooltip,
|
|
64162
64163
|
PC as default,
|
|
64163
|
-
|
|
64164
|
+
H8e as useUmoEditor
|
|
64164
64165
|
};
|