officialblock 3.2.3 → 3.2.5
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/{index-CUyZSNaT.js → index-8c1sSuyR.js} +1 -1
- package/dist/index-BlomgQP5.mjs +4 -0
- package/dist/{index-DLMZJ2XK.mjs → index-CAXsMVjM.mjs} +25 -25
- package/dist/{index-CD2RE5fE.mjs → index-CWYIl98h.mjs} +1 -1
- package/dist/{index-B1o-dADM.js → index-C_3lO9Ek.js} +1 -1
- package/dist/{index-vvBN1kbO.js → index-CdyLXBBQ.js} +6 -6
- package/dist/official-block.cjs.js +1 -1
- package/dist/official-block.es.js +1 -1
- package/dist/official-block.umd.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index-BJGLfhTV.mjs +0 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CdyLXBBQ.js");exports.default=e._;
|
|
@@ -2833,7 +2833,7 @@ const nC = ["innerHTML"], aC = ["innerHTML"], sC = /* @__PURE__ */ ve({
|
|
|
2833
2833
|
},
|
|
2834
2834
|
emits: ["update:show"],
|
|
2835
2835
|
setup(t, { emit: e }) {
|
|
2836
|
-
const n = et(() => import("vuedraggable")), a = et(() => import("./index-
|
|
2836
|
+
const n = et(() => import("vuedraggable")), a = et(() => import("./index-CWYIl98h.mjs")), s = N(!1), i = W(() => ({
|
|
2837
2837
|
animation: 200,
|
|
2838
2838
|
group: "item",
|
|
2839
2839
|
disabled: !1,
|
|
@@ -5689,7 +5689,7 @@ const nC = ["innerHTML"], aC = ["innerHTML"], sC = /* @__PURE__ */ ve({
|
|
|
5689
5689
|
},
|
|
5690
5690
|
emits: ["update:show"],
|
|
5691
5691
|
setup(t, { emit: e }) {
|
|
5692
|
-
const n = et(() => import("vuedraggable")), a = et(() => import("./index-
|
|
5692
|
+
const n = et(() => import("vuedraggable")), a = et(() => import("./index-CWYIl98h.mjs")), s = N(!1), i = W(() => ({
|
|
5693
5693
|
animation: 200,
|
|
5694
5694
|
group: "gallerys",
|
|
5695
5695
|
// 链接专用分组
|
|
@@ -7325,7 +7325,7 @@ const Kx = { class: "gallery-container gallery-timeline container-content" }, Wx
|
|
|
7325
7325
|
},
|
|
7326
7326
|
emits: ["update:show"],
|
|
7327
7327
|
setup(t, { emit: e }) {
|
|
7328
|
-
const n = et(() => import("vuedraggable")), a = et(() => import("./index-
|
|
7328
|
+
const n = et(() => import("vuedraggable")), a = et(() => import("./index-CWYIl98h.mjs")), s = N(!1), i = W(() => ({
|
|
7329
7329
|
animation: 200,
|
|
7330
7330
|
group: "gallerys",
|
|
7331
7331
|
// 链接专用分组
|
|
@@ -7959,7 +7959,7 @@ const Kx = { class: "gallery-container gallery-timeline container-content" }, Wx
|
|
|
7959
7959
|
], 64);
|
|
7960
7960
|
};
|
|
7961
7961
|
}
|
|
7962
|
-
}), wh = /* @__PURE__ */ pe(s6, [["__scopeId", "data-v-
|
|
7962
|
+
}), wh = /* @__PURE__ */ pe(s6, [["__scopeId", "data-v-d095a7ee"]]), u1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: wh }, Symbol.toStringTag, { value: "Module" })), i6 = `<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
7963
7963
|
<path d="M9.99981 19.4999C9.76615 19.5004 9.53972 19.419 9.35981 19.2699C9.25855 19.186 9.17485 19.0829 9.11349 18.9665C9.05214 18.8502 9.01435 18.7229 9.00227 18.5919C8.99019 18.4609 9.00408 18.3289 9.04312 18.2033C9.08217 18.0777 9.1456 17.961 9.22981 17.8599L13.7098 12.4999L9.38981 7.12994C9.30674 7.02765 9.24471 6.90996 9.20728 6.78362C9.16985 6.65728 9.15775 6.52479 9.17169 6.39376C9.18563 6.26273 9.22533 6.13575 9.2885 6.02011C9.35168 5.90447 9.43708 5.80246 9.53981 5.71994C9.64327 5.6289 9.76444 5.56024 9.8957 5.51825C10.027 5.47626 10.1655 5.46185 10.3026 5.47594C10.4397 5.49002 10.5724 5.53229 10.6924 5.6001C10.8123 5.6679 10.917 5.75977 10.9998 5.86994L15.8298 11.8699C15.9769 12.0489 16.0573 12.2733 16.0573 12.5049C16.0573 12.7366 15.9769 12.961 15.8298 13.1399L10.8298 19.1399C10.7295 19.261 10.6021 19.3566 10.4578 19.4192C10.3136 19.4817 10.1567 19.5094 9.99981 19.4999Z" fill="#64788F"/>
|
|
7964
7964
|
</svg>
|
|
7965
7965
|
`, o6 = `<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -8741,7 +8741,7 @@ const Kx = { class: "gallery-container gallery-timeline container-content" }, Wx
|
|
|
8741
8741
|
},
|
|
8742
8742
|
emits: ["update:show"],
|
|
8743
8743
|
setup(t, { emit: e }) {
|
|
8744
|
-
const n = et(() => import("vuedraggable")), a = et(() => import("./index-
|
|
8744
|
+
const n = et(() => import("vuedraggable")), a = et(() => import("./index-CWYIl98h.mjs")), s = N(!1), i = W(() => ({
|
|
8745
8745
|
animation: 200,
|
|
8746
8746
|
group: "btns",
|
|
8747
8747
|
// 链接专用分组
|
|
@@ -9612,7 +9612,7 @@ const Kx = { class: "gallery-container gallery-timeline container-content" }, Wx
|
|
|
9612
9612
|
}
|
|
9613
9613
|
},
|
|
9614
9614
|
setup(t) {
|
|
9615
|
-
const e = et(() => import("vuedraggable")), n = et(() => import("./index-
|
|
9615
|
+
const e = et(() => import("vuedraggable")), n = et(() => import("./index-CWYIl98h.mjs")), a = N(!1), s = W(() => d.locale === "sc" ? `按钮(最多${d.maxNum}个)` : d.locale === "hk" ? `按鈕(最多${d.maxNum}個)` : `Buttons(max ${d.maxNum})`), i = W(() => ({
|
|
9616
9616
|
animation: 200,
|
|
9617
9617
|
group: "buttons",
|
|
9618
9618
|
// 按钮专用分组
|
|
@@ -11734,7 +11734,7 @@ const Kx = { class: "gallery-container gallery-timeline container-content" }, Wx
|
|
|
11734
11734
|
},
|
|
11735
11735
|
emits: ["update:show"],
|
|
11736
11736
|
setup(t, { emit: e }) {
|
|
11737
|
-
const n = et(() => import("./index-
|
|
11737
|
+
const n = et(() => import("./index-CWYIl98h.mjs")), a = t, { t: s } = Ce(() => a.locale), i = e, l = () => {
|
|
11738
11738
|
i("update:show", !1);
|
|
11739
11739
|
};
|
|
11740
11740
|
return (o, d) => {
|
|
@@ -13404,7 +13404,7 @@ const Kx = { class: "gallery-container gallery-timeline container-content" }, Wx
|
|
|
13404
13404
|
},
|
|
13405
13405
|
emits: ["update:show"],
|
|
13406
13406
|
setup(t, { emit: e }) {
|
|
13407
|
-
const n = et(() => import("./index-
|
|
13407
|
+
const n = et(() => import("./index-CWYIl98h.mjs")), a = t, { t: s } = Ce(() => a.locale), i = e, l = () => {
|
|
13408
13408
|
i("update:show", !1);
|
|
13409
13409
|
};
|
|
13410
13410
|
return (o, d) => {
|
|
@@ -13631,7 +13631,7 @@ const Kx = { class: "gallery-container gallery-timeline container-content" }, Wx
|
|
|
13631
13631
|
},
|
|
13632
13632
|
emits: ["update:show"],
|
|
13633
13633
|
setup(t, { emit: e }) {
|
|
13634
|
-
const n = et(() => import("vuedraggable")), a = et(() => import("./index-
|
|
13634
|
+
const n = et(() => import("vuedraggable")), a = et(() => import("./index-CWYIl98h.mjs")), s = N(!1), i = W(() => ({
|
|
13635
13635
|
animation: 200,
|
|
13636
13636
|
group: "links",
|
|
13637
13637
|
// 链接专用分组
|
|
@@ -14043,7 +14043,7 @@ const Kx = { class: "gallery-container gallery-timeline container-content" }, Wx
|
|
|
14043
14043
|
},
|
|
14044
14044
|
emits: ["update:show"],
|
|
14045
14045
|
setup(t, { emit: e }) {
|
|
14046
|
-
const n = et(() => import("./index-
|
|
14046
|
+
const n = et(() => import("./index-CWYIl98h.mjs")), a = t, { t: s } = Ce(() => a.locale), i = e, l = () => {
|
|
14047
14047
|
i("update:show", !1);
|
|
14048
14048
|
};
|
|
14049
14049
|
return (o, d) => {
|
|
@@ -14590,7 +14590,7 @@ const Kx = { class: "gallery-container gallery-timeline container-content" }, Wx
|
|
|
14590
14590
|
},
|
|
14591
14591
|
emits: ["update:show"],
|
|
14592
14592
|
setup(t, { emit: e }) {
|
|
14593
|
-
const n = et(() => import("vuedraggable")), a = et(() => import("./index-
|
|
14593
|
+
const n = et(() => import("vuedraggable")), a = et(() => import("./index-CWYIl98h.mjs")), s = N(!1), i = W(() => ({
|
|
14594
14594
|
animation: 200,
|
|
14595
14595
|
group: "gallerys",
|
|
14596
14596
|
// 链接专用分组
|
|
@@ -15156,7 +15156,7 @@ const Kx = { class: "gallery-container gallery-timeline container-content" }, Wx
|
|
|
15156
15156
|
let Wi = null;
|
|
15157
15157
|
async function Om() {
|
|
15158
15158
|
return Wi || (typeof window < "u" ? (Wi = (await import("axios")).default.create({
|
|
15159
|
-
baseURL: "
|
|
15159
|
+
baseURL: "https://cms-v2.cedim.cn/api/",
|
|
15160
15160
|
timeout: 3e4,
|
|
15161
15161
|
headers: {
|
|
15162
15162
|
"Content-Type": "application/json;charset=utf-8"
|
|
@@ -16369,7 +16369,7 @@ const hn = D1(), yI = D1(), wI = ["onClick"], bI = /* @__PURE__ */ ve({
|
|
|
16369
16369
|
},
|
|
16370
16370
|
emits: ["update:show"],
|
|
16371
16371
|
setup(t, { emit: e }) {
|
|
16372
|
-
const n = et(() => import("vuedraggable")), a = et(() => import("./index-
|
|
16372
|
+
const n = et(() => import("vuedraggable")), a = et(() => import("./index-CWYIl98h.mjs")), s = N(!1), i = W(() => ({
|
|
16373
16373
|
animation: 200,
|
|
16374
16374
|
group: "gallerys",
|
|
16375
16375
|
// 链接专用分组
|
|
@@ -17671,7 +17671,7 @@ const hn = D1(), yI = D1(), wI = ["onClick"], bI = /* @__PURE__ */ ve({
|
|
|
17671
17671
|
emits: ["update:show"],
|
|
17672
17672
|
setup(t, { emit: e }) {
|
|
17673
17673
|
const n = et(
|
|
17674
|
-
() => import("./index-
|
|
17674
|
+
() => import("./index-CWYIl98h.mjs")
|
|
17675
17675
|
), a = t, { t: s } = Ce(() => a.locale), i = e, l = () => {
|
|
17676
17676
|
i("update:show", !1);
|
|
17677
17677
|
};
|
|
@@ -19286,7 +19286,7 @@ const hn = D1(), yI = D1(), wI = ["onClick"], bI = /* @__PURE__ */ ve({
|
|
|
19286
19286
|
setup(t, { emit: e }) {
|
|
19287
19287
|
var V;
|
|
19288
19288
|
const n = et(() => import("vuedraggable")), a = et(
|
|
19289
|
-
() => import("./index-
|
|
19289
|
+
() => import("./index-CWYIl98h.mjs")
|
|
19290
19290
|
), s = W(() => ({
|
|
19291
19291
|
animation: 200,
|
|
19292
19292
|
group: "linkList",
|
|
@@ -21788,7 +21788,7 @@ const FU = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAJYCAYAAAApNz8GAA
|
|
|
21788
21788
|
emits: ["update:show"],
|
|
21789
21789
|
setup(t, { emit: e }) {
|
|
21790
21790
|
const n = et(
|
|
21791
|
-
() => import("./index-
|
|
21791
|
+
() => import("./index-CWYIl98h.mjs")
|
|
21792
21792
|
), a = et(() => import("vuedraggable")), s = t, { t: i } = Ce(() => s.locale), l = N(!1), o = N(/* @__PURE__ */ new Set()), d = N(/* @__PURE__ */ new Set());
|
|
21793
21793
|
je(
|
|
21794
21794
|
() => {
|
|
@@ -25019,7 +25019,7 @@ const FU = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAJYCAYAAAApNz8GAA
|
|
|
25019
25019
|
},
|
|
25020
25020
|
emits: ["update:show"],
|
|
25021
25021
|
setup(t, { emit: e }) {
|
|
25022
|
-
const n = et(() => import("vuedraggable")), a = et(() => import("./index-
|
|
25022
|
+
const n = et(() => import("vuedraggable")), a = et(() => import("./index-CWYIl98h.mjs")), s = N(!1), i = W(() => ({
|
|
25023
25023
|
animation: 200,
|
|
25024
25024
|
group: "data",
|
|
25025
25025
|
// 专用分组
|
|
@@ -25351,7 +25351,7 @@ const FU = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAJYCAYAAAApNz8GAA
|
|
|
25351
25351
|
},
|
|
25352
25352
|
emits: ["update:show"],
|
|
25353
25353
|
setup(t, { emit: e }) {
|
|
25354
|
-
const n = et(() => import("vuedraggable")), a = et(() => import("./index-
|
|
25354
|
+
const n = et(() => import("vuedraggable")), a = et(() => import("./index-CWYIl98h.mjs")), s = N(!1), i = W(() => ({
|
|
25355
25355
|
animation: 200,
|
|
25356
25356
|
group: "data",
|
|
25357
25357
|
// 专用分组
|
|
@@ -27335,7 +27335,7 @@ const Eq = /* @__PURE__ */ Hi(Bq), Tq = { class: "setting-content" }, Pq = { cla
|
|
|
27335
27335
|
], 64);
|
|
27336
27336
|
};
|
|
27337
27337
|
}
|
|
27338
|
-
}), _h = /* @__PURE__ */ pe(UY, [["__scopeId", "data-v-
|
|
27338
|
+
}), _h = /* @__PURE__ */ pe(UY, [["__scopeId", "data-v-c769228b"]]), X1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: _h }, Symbol.toStringTag, { value: "Module" })), HY = { class: "setting-content" }, FY = { class: "setting-header flex items-center mb-10" }, RY = { class: "header-title" }, NY = { class: "setting-header flex items-center" }, zY = { class: "header-title" }, jY = { class: "setting-body" }, qY = { class: "setting-item" }, YY = { class: "btn-group" }, GY = {
|
|
27339
27339
|
key: 0,
|
|
27340
27340
|
class: "drag-handle"
|
|
27341
27341
|
}, KY = { class: "item-title" }, WY = { class: "item-title" }, XY = { class: "item-title" }, JY = { style: { "font-size": "12px", color: "#999" } }, ZY = { class: "item-title" }, _Y = ["src"], $Y = { class: "item-uplaod flex items-center" }, eG = { class: "btn-text" }, tG = /* @__PURE__ */ ve({
|
|
@@ -28803,7 +28803,7 @@ const Eq = /* @__PURE__ */ Hi(Bq), Tq = { class: "setting-content" }, Pq = { cla
|
|
|
28803
28803
|
emits: ["update:show"],
|
|
28804
28804
|
setup(t, { emit: e }) {
|
|
28805
28805
|
const n = et(
|
|
28806
|
-
() => import("./index-
|
|
28806
|
+
() => import("./index-CWYIl98h.mjs")
|
|
28807
28807
|
), a = t, { t: s } = Ce(() => a.locale), i = e, l = () => {
|
|
28808
28808
|
i("update:show", !1);
|
|
28809
28809
|
};
|
|
@@ -29060,7 +29060,7 @@ const Eq = /* @__PURE__ */ Hi(Bq), Tq = { class: "setting-content" }, Pq = { cla
|
|
|
29060
29060
|
emits: ["update:show"],
|
|
29061
29061
|
setup(t, { emit: e }) {
|
|
29062
29062
|
const n = et(
|
|
29063
|
-
() => import("./index-
|
|
29063
|
+
() => import("./index-CWYIl98h.mjs")
|
|
29064
29064
|
), a = t, { t: s } = Ce(() => a.locale), i = e, l = () => {
|
|
29065
29065
|
i("update:show", !1);
|
|
29066
29066
|
};
|
|
@@ -33519,7 +33519,7 @@ const iZ = {
|
|
|
33519
33519
|
},
|
|
33520
33520
|
emits: ["handleDelete", "handleCopy", "handlePaste", "handleClick"],
|
|
33521
33521
|
setup(t, { emit: e }) {
|
|
33522
|
-
const n = /* @__PURE__ */ Object.assign({ "/src/components/AccordionText/index.vue": () => Promise.resolve().then(() => Zy), "/src/components/AlummiCommunityList/index.vue": () => Promise.resolve().then(() => a0), "/src/components/ArticleItem/index.vue": () => Promise.resolve().then(() => b1), "/src/components/ArticleList/index.vue": () => Promise.resolve().then(() => MA), "/src/components/ArticleListPureText/index.vue": () => Promise.resolve().then(() => n0), "/src/components/BackgroundWrapper/index.vue": () => Promise.resolve().then(() => Yy), "/src/components/BannerImage/index.vue": () => Promise.resolve().then(() => LA), "/src/components/BannerImageWithLink/index.vue": () => Promise.resolve().then(() => M1), "/src/components/BannerPage/index.vue": () => Promise.resolve().then(() => OA), "/src/components/BannerQuote/index.vue": () => Promise.resolve().then(() => w1), "/src/components/BasicCollapse/index.vue": () => Promise.resolve().then(() => z1), "/src/components/BlessingMessage/index.vue": () => Promise.resolve().then(() => i0), "/src/components/BlessingSlider/index.vue": () => Promise.resolve().then(() => o0), "/src/components/BtnList/index.vue": () => Promise.resolve().then(() => QA), "/src/components/CardCarousel/index.vue": () => Promise.resolve().then(() => v1), "/src/components/CardCarouselArticles/index.vue": () => Promise.resolve().then(() => Z1), "/src/components/CardCarouselMultiRow/index.vue": () => Promise.resolve().then(() => y1), "/src/components/CardCarouselMultiRowArticles/index.vue": () => Promise.resolve().then(() => _1), "/src/components/CardCarouselMultiRowPublications/index.vue": () => Promise.resolve().then(() => m0), "/src/components/CardListCircle/index.vue": () => Promise.resolve().then(() => v0), "/src/components/CardListProgramme/index.vue": () => Promise.resolve().then(() => y0), "/src/components/CardListSchool/index.vue": () => Promise.resolve().then(() => w0), "/src/components/CardShowcase/index.vue": () => Promise.resolve().then(() => l0), "/src/components/CardShowcaseProfile/index.vue": () => Promise.resolve().then(() => E1), "/src/components/CarouselLogo/index.vue": () => Promise.resolve().then(() => U1), "/src/components/CollapseCustom/index.vue": () => Promise.resolve().then(() => Ky), "/src/components/ContactUsInfo/index.vue": () => Promise.resolve().then(() => L1), "/src/components/ContactUsList/index.vue": () => Promise.resolve().then(() => I1), "/src/components/CountDown/index.vue": () => Promise.resolve().then(() => T1), "/src/components/CustomIframe/index.vue": () => Promise.resolve().then(() => P1), "/src/components/CustomSpace/index.vue": () => Promise.resolve().then(() => h1), "/src/components/CustomText/index.vue": () => Promise.resolve().then(() => $1), "/src/components/DetailLink/index.vue": () => Promise.resolve().then(() => b0), "/src/components/Disc/index.vue": () => Promise.resolve().then(() => R1), "/src/components/DonorLinks/index.vue": () => Promise.resolve().then(() => A1), "/src/components/ExploreLinks/index.vue": () => Promise.resolve().then(() => r0), "/src/components/GalleryBlock/index.vue": () => Promise.resolve().then(() => J1), "/src/components/GalleryCaptionRound/index.vue": () => Promise.resolve().then(() => HA), "/src/components/GalleryDefault/index.vue": () => Promise.resolve().then(() => UA), "/src/components/GalleryList/index.vue": () => Promise.resolve().then(() => g1), "/src/components/GalleryTimeline/index.vue": () => Promise.resolve().then(() => d1), "/src/components/GalleryTimelineCol/index.vue": () => Promise.resolve().then(() => u1), "/src/components/GridLinks/index.vue": () => Promise.resolve().then(() => Jy), "/src/components/HeroSlide/index.vue": () => Promise.resolve().then(() => f1), "/src/components/Html/index.vue": () => Promise.resolve().then(() => _y), "/src/components/InformationLink/index.vue": () => Promise.resolve().then(() => zy), "/src/components/LinkList/index.vue": () => Promise.resolve().then(() => m1), "/src/components/MapStatic/index.vue": () => Promise.resolve().then(() => Q1), "/src/components/MediaImageFull/index.vue": () => Promise.resolve().then(() => e0), "/src/components/MediaImageStatic/index.vue": () => Promise.resolve().then(() => t0), "/src/components/MediaLogo/index.vue": () => Promise.resolve().then(() => q1), "/src/components/MediaVideo/index.vue": () => Promise.resolve().then(() => Ny), "/src/components/NewsList/index.vue": () => Promise.resolve().then(() => k1), "/src/components/Process/index.vue": () => Promise.resolve().then(() => c1), "/src/components/Publications/index.vue": () => Promise.resolve().then(() => O1), "/src/components/QuoteText/index.vue": () => import("./index-
|
|
33522
|
+
const n = /* @__PURE__ */ Object.assign({ "/src/components/AccordionText/index.vue": () => Promise.resolve().then(() => Zy), "/src/components/AlummiCommunityList/index.vue": () => Promise.resolve().then(() => a0), "/src/components/ArticleItem/index.vue": () => Promise.resolve().then(() => b1), "/src/components/ArticleList/index.vue": () => Promise.resolve().then(() => MA), "/src/components/ArticleListPureText/index.vue": () => Promise.resolve().then(() => n0), "/src/components/BackgroundWrapper/index.vue": () => Promise.resolve().then(() => Yy), "/src/components/BannerImage/index.vue": () => Promise.resolve().then(() => LA), "/src/components/BannerImageWithLink/index.vue": () => Promise.resolve().then(() => M1), "/src/components/BannerPage/index.vue": () => Promise.resolve().then(() => OA), "/src/components/BannerQuote/index.vue": () => Promise.resolve().then(() => w1), "/src/components/BasicCollapse/index.vue": () => Promise.resolve().then(() => z1), "/src/components/BlessingMessage/index.vue": () => Promise.resolve().then(() => i0), "/src/components/BlessingSlider/index.vue": () => Promise.resolve().then(() => o0), "/src/components/BtnList/index.vue": () => Promise.resolve().then(() => QA), "/src/components/CardCarousel/index.vue": () => Promise.resolve().then(() => v1), "/src/components/CardCarouselArticles/index.vue": () => Promise.resolve().then(() => Z1), "/src/components/CardCarouselMultiRow/index.vue": () => Promise.resolve().then(() => y1), "/src/components/CardCarouselMultiRowArticles/index.vue": () => Promise.resolve().then(() => _1), "/src/components/CardCarouselMultiRowPublications/index.vue": () => Promise.resolve().then(() => m0), "/src/components/CardListCircle/index.vue": () => Promise.resolve().then(() => v0), "/src/components/CardListProgramme/index.vue": () => Promise.resolve().then(() => y0), "/src/components/CardListSchool/index.vue": () => Promise.resolve().then(() => w0), "/src/components/CardShowcase/index.vue": () => Promise.resolve().then(() => l0), "/src/components/CardShowcaseProfile/index.vue": () => Promise.resolve().then(() => E1), "/src/components/CarouselLogo/index.vue": () => Promise.resolve().then(() => U1), "/src/components/CollapseCustom/index.vue": () => Promise.resolve().then(() => Ky), "/src/components/ContactUsInfo/index.vue": () => Promise.resolve().then(() => L1), "/src/components/ContactUsList/index.vue": () => Promise.resolve().then(() => I1), "/src/components/CountDown/index.vue": () => Promise.resolve().then(() => T1), "/src/components/CustomIframe/index.vue": () => Promise.resolve().then(() => P1), "/src/components/CustomSpace/index.vue": () => Promise.resolve().then(() => h1), "/src/components/CustomText/index.vue": () => Promise.resolve().then(() => $1), "/src/components/DetailLink/index.vue": () => Promise.resolve().then(() => b0), "/src/components/Disc/index.vue": () => Promise.resolve().then(() => R1), "/src/components/DonorLinks/index.vue": () => Promise.resolve().then(() => A1), "/src/components/ExploreLinks/index.vue": () => Promise.resolve().then(() => r0), "/src/components/GalleryBlock/index.vue": () => Promise.resolve().then(() => J1), "/src/components/GalleryCaptionRound/index.vue": () => Promise.resolve().then(() => HA), "/src/components/GalleryDefault/index.vue": () => Promise.resolve().then(() => UA), "/src/components/GalleryList/index.vue": () => Promise.resolve().then(() => g1), "/src/components/GalleryTimeline/index.vue": () => Promise.resolve().then(() => d1), "/src/components/GalleryTimelineCol/index.vue": () => Promise.resolve().then(() => u1), "/src/components/GridLinks/index.vue": () => Promise.resolve().then(() => Jy), "/src/components/HeroSlide/index.vue": () => Promise.resolve().then(() => f1), "/src/components/Html/index.vue": () => Promise.resolve().then(() => _y), "/src/components/InformationLink/index.vue": () => Promise.resolve().then(() => zy), "/src/components/LinkList/index.vue": () => Promise.resolve().then(() => m1), "/src/components/MapStatic/index.vue": () => Promise.resolve().then(() => Q1), "/src/components/MediaImageFull/index.vue": () => Promise.resolve().then(() => e0), "/src/components/MediaImageStatic/index.vue": () => Promise.resolve().then(() => t0), "/src/components/MediaLogo/index.vue": () => Promise.resolve().then(() => q1), "/src/components/MediaVideo/index.vue": () => Promise.resolve().then(() => Ny), "/src/components/NewsList/index.vue": () => Promise.resolve().then(() => k1), "/src/components/Process/index.vue": () => Promise.resolve().then(() => c1), "/src/components/Publications/index.vue": () => Promise.resolve().then(() => O1), "/src/components/QuoteText/index.vue": () => import("./index-BlomgQP5.mjs"), "/src/components/RegisterForm/index.vue": () => Promise.resolve().then(() => X1), "/src/components/Resources/index.vue": () => Promise.resolve().then(() => H1), "/src/components/ResourcesTwo/index.vue": () => Promise.resolve().then(() => F1), "/src/components/RibbonBlock/index.vue": () => Promise.resolve().then(() => C1), "/src/components/SchoolLayout/index.vue": () => Promise.resolve().then(() => f0), "/src/components/ScrollKeyInfo/index.vue": () => Promise.resolve().then(() => V1), "/src/components/TabDefault/index.vue": () => Promise.resolve().then(() => p0), "/src/components/TabLogo/index.vue": () => Promise.resolve().then(() => qy), "/src/components/TabPage/index.vue": () => Promise.resolve().then(() => jy), "/src/components/TabTimeLine/index.vue": () => Promise.resolve().then(() => A0), "/src/components/TableCollapse/index.vue": () => Promise.resolve().then(() => j1), "/src/components/TableTwo/index.vue": () => Promise.resolve().then(() => S1), "/src/components/TheHistoryCarousel/index.vue": () => Promise.resolve().then(() => B1), "/src/components/TimelineStory/index.vue": () => Promise.resolve().then(() => x1), "/src/components/VrTour/index.vue": () => Promise.resolve().then(() => Wy) }), a = {};
|
|
33523
33523
|
for (const f in n)
|
|
33524
33524
|
try {
|
|
33525
33525
|
const w = f.split("/"), b = w[w.length - 2];
|
|
@@ -33671,7 +33671,7 @@ const iZ = {
|
|
|
33671
33671
|
emits: ["update"],
|
|
33672
33672
|
setup(t, { emit: e }) {
|
|
33673
33673
|
et(() => import("vuedraggable")), N(!1);
|
|
33674
|
-
const n = t, a = /* @__PURE__ */ Object.assign({ "/src/components/AccordionText/index.vue": () => Promise.resolve().then(() => Zy), "/src/components/AlummiCommunityList/index.vue": () => Promise.resolve().then(() => a0), "/src/components/ArticleItem/index.vue": () => Promise.resolve().then(() => b1), "/src/components/ArticleList/index.vue": () => Promise.resolve().then(() => MA), "/src/components/ArticleListPureText/index.vue": () => Promise.resolve().then(() => n0), "/src/components/BackgroundWrapper/index.vue": () => Promise.resolve().then(() => Yy), "/src/components/BannerImage/index.vue": () => Promise.resolve().then(() => LA), "/src/components/BannerImageWithLink/index.vue": () => Promise.resolve().then(() => M1), "/src/components/BannerPage/index.vue": () => Promise.resolve().then(() => OA), "/src/components/BannerQuote/index.vue": () => Promise.resolve().then(() => w1), "/src/components/BasicCollapse/index.vue": () => Promise.resolve().then(() => z1), "/src/components/BlessingMessage/index.vue": () => Promise.resolve().then(() => i0), "/src/components/BlessingSlider/index.vue": () => Promise.resolve().then(() => o0), "/src/components/BtnList/index.vue": () => Promise.resolve().then(() => QA), "/src/components/CardCarousel/index.vue": () => Promise.resolve().then(() => v1), "/src/components/CardCarouselArticles/index.vue": () => Promise.resolve().then(() => Z1), "/src/components/CardCarouselMultiRow/index.vue": () => Promise.resolve().then(() => y1), "/src/components/CardCarouselMultiRowArticles/index.vue": () => Promise.resolve().then(() => _1), "/src/components/CardCarouselMultiRowPublications/index.vue": () => Promise.resolve().then(() => m0), "/src/components/CardListCircle/index.vue": () => Promise.resolve().then(() => v0), "/src/components/CardListProgramme/index.vue": () => Promise.resolve().then(() => y0), "/src/components/CardListSchool/index.vue": () => Promise.resolve().then(() => w0), "/src/components/CardShowcase/index.vue": () => Promise.resolve().then(() => l0), "/src/components/CardShowcaseProfile/index.vue": () => Promise.resolve().then(() => E1), "/src/components/CarouselLogo/index.vue": () => Promise.resolve().then(() => U1), "/src/components/CollapseCustom/index.vue": () => Promise.resolve().then(() => Ky), "/src/components/ContactUsInfo/index.vue": () => Promise.resolve().then(() => L1), "/src/components/ContactUsList/index.vue": () => Promise.resolve().then(() => I1), "/src/components/CountDown/index.vue": () => Promise.resolve().then(() => T1), "/src/components/CustomIframe/index.vue": () => Promise.resolve().then(() => P1), "/src/components/CustomSpace/index.vue": () => Promise.resolve().then(() => h1), "/src/components/CustomText/index.vue": () => Promise.resolve().then(() => $1), "/src/components/DetailLink/index.vue": () => Promise.resolve().then(() => b0), "/src/components/Disc/index.vue": () => Promise.resolve().then(() => R1), "/src/components/DonorLinks/index.vue": () => Promise.resolve().then(() => A1), "/src/components/ExploreLinks/index.vue": () => Promise.resolve().then(() => r0), "/src/components/GalleryBlock/index.vue": () => Promise.resolve().then(() => J1), "/src/components/GalleryCaptionRound/index.vue": () => Promise.resolve().then(() => HA), "/src/components/GalleryDefault/index.vue": () => Promise.resolve().then(() => UA), "/src/components/GalleryList/index.vue": () => Promise.resolve().then(() => g1), "/src/components/GalleryTimeline/index.vue": () => Promise.resolve().then(() => d1), "/src/components/GalleryTimelineCol/index.vue": () => Promise.resolve().then(() => u1), "/src/components/GridLinks/index.vue": () => Promise.resolve().then(() => Jy), "/src/components/HeroSlide/index.vue": () => Promise.resolve().then(() => f1), "/src/components/Html/index.vue": () => Promise.resolve().then(() => _y), "/src/components/InformationLink/index.vue": () => Promise.resolve().then(() => zy), "/src/components/LinkList/index.vue": () => Promise.resolve().then(() => m1), "/src/components/MapStatic/index.vue": () => Promise.resolve().then(() => Q1), "/src/components/MediaImageFull/index.vue": () => Promise.resolve().then(() => e0), "/src/components/MediaImageStatic/index.vue": () => Promise.resolve().then(() => t0), "/src/components/MediaLogo/index.vue": () => Promise.resolve().then(() => q1), "/src/components/MediaVideo/index.vue": () => Promise.resolve().then(() => Ny), "/src/components/NewsList/index.vue": () => Promise.resolve().then(() => k1), "/src/components/Process/index.vue": () => Promise.resolve().then(() => c1), "/src/components/Publications/index.vue": () => Promise.resolve().then(() => O1), "/src/components/QuoteText/index.vue": () => import("./index-
|
|
33674
|
+
const n = t, a = /* @__PURE__ */ Object.assign({ "/src/components/AccordionText/index.vue": () => Promise.resolve().then(() => Zy), "/src/components/AlummiCommunityList/index.vue": () => Promise.resolve().then(() => a0), "/src/components/ArticleItem/index.vue": () => Promise.resolve().then(() => b1), "/src/components/ArticleList/index.vue": () => Promise.resolve().then(() => MA), "/src/components/ArticleListPureText/index.vue": () => Promise.resolve().then(() => n0), "/src/components/BackgroundWrapper/index.vue": () => Promise.resolve().then(() => Yy), "/src/components/BannerImage/index.vue": () => Promise.resolve().then(() => LA), "/src/components/BannerImageWithLink/index.vue": () => Promise.resolve().then(() => M1), "/src/components/BannerPage/index.vue": () => Promise.resolve().then(() => OA), "/src/components/BannerQuote/index.vue": () => Promise.resolve().then(() => w1), "/src/components/BasicCollapse/index.vue": () => Promise.resolve().then(() => z1), "/src/components/BlessingMessage/index.vue": () => Promise.resolve().then(() => i0), "/src/components/BlessingSlider/index.vue": () => Promise.resolve().then(() => o0), "/src/components/BtnList/index.vue": () => Promise.resolve().then(() => QA), "/src/components/CardCarousel/index.vue": () => Promise.resolve().then(() => v1), "/src/components/CardCarouselArticles/index.vue": () => Promise.resolve().then(() => Z1), "/src/components/CardCarouselMultiRow/index.vue": () => Promise.resolve().then(() => y1), "/src/components/CardCarouselMultiRowArticles/index.vue": () => Promise.resolve().then(() => _1), "/src/components/CardCarouselMultiRowPublications/index.vue": () => Promise.resolve().then(() => m0), "/src/components/CardListCircle/index.vue": () => Promise.resolve().then(() => v0), "/src/components/CardListProgramme/index.vue": () => Promise.resolve().then(() => y0), "/src/components/CardListSchool/index.vue": () => Promise.resolve().then(() => w0), "/src/components/CardShowcase/index.vue": () => Promise.resolve().then(() => l0), "/src/components/CardShowcaseProfile/index.vue": () => Promise.resolve().then(() => E1), "/src/components/CarouselLogo/index.vue": () => Promise.resolve().then(() => U1), "/src/components/CollapseCustom/index.vue": () => Promise.resolve().then(() => Ky), "/src/components/ContactUsInfo/index.vue": () => Promise.resolve().then(() => L1), "/src/components/ContactUsList/index.vue": () => Promise.resolve().then(() => I1), "/src/components/CountDown/index.vue": () => Promise.resolve().then(() => T1), "/src/components/CustomIframe/index.vue": () => Promise.resolve().then(() => P1), "/src/components/CustomSpace/index.vue": () => Promise.resolve().then(() => h1), "/src/components/CustomText/index.vue": () => Promise.resolve().then(() => $1), "/src/components/DetailLink/index.vue": () => Promise.resolve().then(() => b0), "/src/components/Disc/index.vue": () => Promise.resolve().then(() => R1), "/src/components/DonorLinks/index.vue": () => Promise.resolve().then(() => A1), "/src/components/ExploreLinks/index.vue": () => Promise.resolve().then(() => r0), "/src/components/GalleryBlock/index.vue": () => Promise.resolve().then(() => J1), "/src/components/GalleryCaptionRound/index.vue": () => Promise.resolve().then(() => HA), "/src/components/GalleryDefault/index.vue": () => Promise.resolve().then(() => UA), "/src/components/GalleryList/index.vue": () => Promise.resolve().then(() => g1), "/src/components/GalleryTimeline/index.vue": () => Promise.resolve().then(() => d1), "/src/components/GalleryTimelineCol/index.vue": () => Promise.resolve().then(() => u1), "/src/components/GridLinks/index.vue": () => Promise.resolve().then(() => Jy), "/src/components/HeroSlide/index.vue": () => Promise.resolve().then(() => f1), "/src/components/Html/index.vue": () => Promise.resolve().then(() => _y), "/src/components/InformationLink/index.vue": () => Promise.resolve().then(() => zy), "/src/components/LinkList/index.vue": () => Promise.resolve().then(() => m1), "/src/components/MapStatic/index.vue": () => Promise.resolve().then(() => Q1), "/src/components/MediaImageFull/index.vue": () => Promise.resolve().then(() => e0), "/src/components/MediaImageStatic/index.vue": () => Promise.resolve().then(() => t0), "/src/components/MediaLogo/index.vue": () => Promise.resolve().then(() => q1), "/src/components/MediaVideo/index.vue": () => Promise.resolve().then(() => Ny), "/src/components/NewsList/index.vue": () => Promise.resolve().then(() => k1), "/src/components/Process/index.vue": () => Promise.resolve().then(() => c1), "/src/components/Publications/index.vue": () => Promise.resolve().then(() => O1), "/src/components/QuoteText/index.vue": () => import("./index-BlomgQP5.mjs"), "/src/components/RegisterForm/index.vue": () => Promise.resolve().then(() => X1), "/src/components/Resources/index.vue": () => Promise.resolve().then(() => H1), "/src/components/ResourcesTwo/index.vue": () => Promise.resolve().then(() => F1), "/src/components/RibbonBlock/index.vue": () => Promise.resolve().then(() => C1), "/src/components/SchoolLayout/index.vue": () => Promise.resolve().then(() => f0), "/src/components/ScrollKeyInfo/index.vue": () => Promise.resolve().then(() => V1), "/src/components/TabDefault/index.vue": () => Promise.resolve().then(() => p0), "/src/components/TabLogo/index.vue": () => Promise.resolve().then(() => qy), "/src/components/TabPage/index.vue": () => Promise.resolve().then(() => jy), "/src/components/TabTimeLine/index.vue": () => Promise.resolve().then(() => A0), "/src/components/TableCollapse/index.vue": () => Promise.resolve().then(() => j1), "/src/components/TableTwo/index.vue": () => Promise.resolve().then(() => S1), "/src/components/TheHistoryCarousel/index.vue": () => Promise.resolve().then(() => B1), "/src/components/TimelineStory/index.vue": () => Promise.resolve().then(() => x1), "/src/components/VrTour/index.vue": () => Promise.resolve().then(() => Wy) }), s = {};
|
|
33675
33675
|
for (const E in a)
|
|
33676
33676
|
try {
|
|
33677
33677
|
const V = E.split("/"), T = V[V.length - 2];
|
|
@@ -35800,7 +35800,7 @@ const iZ = {
|
|
|
35800
35800
|
},
|
|
35801
35801
|
emits: ["update:show"],
|
|
35802
35802
|
setup(t, { emit: e }) {
|
|
35803
|
-
const n = et(() => import("vuedraggable")), a = et(() => import("./index-
|
|
35803
|
+
const n = et(() => import("vuedraggable")), a = et(() => import("./index-CWYIl98h.mjs")), s = N(!1), i = W(() => ({
|
|
35804
35804
|
animation: 200,
|
|
35805
35805
|
group: "programmes",
|
|
35806
35806
|
// 链接专用分组
|
|
@@ -77648,7 +77648,7 @@ const Ege = /* @__PURE__ */ Hi(Bge), Tge = { class: "setting-content" }, Pge = {
|
|
|
77648
77648
|
},
|
|
77649
77649
|
emits: ["update:show"],
|
|
77650
77650
|
setup(t, { emit: e }) {
|
|
77651
|
-
const n = et(() => import("vuedraggable")), a = et(() => import("./index-
|
|
77651
|
+
const n = et(() => import("vuedraggable")), a = et(() => import("./index-CWYIl98h.mjs")), s = N(!1), i = W(() => ({
|
|
77652
77652
|
animation: 200,
|
|
77653
77653
|
group: "gallerys",
|
|
77654
77654
|
disabled: !1,
|
|
@@ -4,7 +4,7 @@ var r = (a, u, c) => T(a, typeof u != "symbol" ? u + "" : u, c);
|
|
|
4
4
|
import { defineComponent as $, shallowRef as R, ref as g, computed as q, inject as C, watch as p, nextTick as y, onBeforeUnmount as J, createElementBlock as P, openBlock as G, createVNode as S, unref as _, normalizeStyle as Q } from "vue";
|
|
5
5
|
import { Toolbar as W, Editor as X } from "@wangeditor/editor-for-vue";
|
|
6
6
|
import { Boot as w } from "@wangeditor/editor";
|
|
7
|
-
import { a as Y } from "./index-
|
|
7
|
+
import { a as Y } from "./index-CAXsMVjM.mjs";
|
|
8
8
|
const Z = { class: "rich-text-editor" }, ee = /* @__PURE__ */ $({
|
|
9
9
|
__name: "index",
|
|
10
10
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var K=Object.defineProperty;var N=(u,r,i)=>r in u?K(u,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):u[r]=i;var c=(u,r,i)=>N(u,typeof r!="symbol"?r+"":r,i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),M=require("@wangeditor/editor-for-vue"),A=require("@wangeditor/editor"),O=require("./index-
|
|
1
|
+
"use strict";var K=Object.defineProperty;var N=(u,r,i)=>r in u?K(u,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):u[r]=i;var c=(u,r,i)=>N(u,typeof r!="symbol"?r+"":r,i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),M=require("@wangeditor/editor-for-vue"),A=require("@wangeditor/editor"),O=require("./index-CdyLXBBQ.js"),T={class:"rich-text-editor"},L=t.defineComponent({__name:"index",props:{name:{default:""},modelValue:{default:""},placeholder:{default:"Please input content..."},height:{default:"400px"},mode:{default:"default"},disabled:{type:Boolean,default:!1},maxLength:{default:1e4},excludeKeys:{default:()=>[]},includeKeys:{default:()=>[]}},emits:["update:modelValue","change","focus","blur","created","upload-image","upload-video"],setup(u,{expose:r,emit:i}){const a=u,F=i,o=t.shallowRef(),d=t.ref(""),V=t.computed(()=>typeof a.height=="number"?`${a.height}px`:a.height),C=t.inject("handleUpload",()=>{}),m=t.inject("fileUrl",null),y=t.inject("chooseName",null),f=t.ref(""),h=t.ref(null),p=e=>{if(!C){console.warn("Upload: handleUpload function not provided by ancestor");return}if(f.value=e,o.value)try{const l=o.value.selection;l&&(h.value={anchor:{path:[...l.anchor.path],offset:l.anchor.offset},focus:{path:[...l.focus.path],offset:l.focus.offset}})}catch(l){console.warn("保存光标位置失败:",l)}const n=a.name+"_"+e;C(!0,n)};t.watch(()=>a.name,()=>{m.value=null},{deep:!0,immediate:!0}),t.watch(()=>[m==null?void 0:m.value],([e])=>{const n=a.name+"_"+f.value;!e||!y.value||y.value!==n||o.value&&t.nextTick(()=>{var l,v;if(o.value){try{if(o.value.focus(),h.value)try{o.value.select(h.value)}catch(s){console.warn("恢复光标位置失败,使用默认位置:",s)}}catch(s){console.warn("聚焦编辑器失败:",s)}if(f.value==="img"){const g=`<img src="${e}" alt="图片" style="max-width: 100%;">`;(l=o.value)==null||l.dangerouslyInsertHtml(g)}else{const g=`<video src="${e}" controls style="max-width: 100%;"></video>`;(v=o.value)==null||v.dangerouslyInsertHtml(g)}h.value=null,f.value=""}})},{immediate:!1});function S(e){return class{constructor(){c(this,"title");c(this,"tag");c(this,"iconSvg");this.title="上传图片",this.tag="button",this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>'}isActive(){return!1}getValue(){return""}isDisabled(){return!1}exec(){t.nextTick(()=>{console.log("点击了自定义上传图片菜单"),e("img")})}}}function w(e){return class{constructor(){c(this,"title");c(this,"tag");c(this,"iconSvg");this.title="上传视频",this.tag="button",this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>'}getValue(){return""}isActive(){return!1}isDisabled(){return!1}exec(){t.nextTick(()=>{console.log("点击了自定义上传视频菜单"),e("video")})}}}const D={toolbarKeys:["headerSelect","bold","italic","through","underline","color","fontSize","lineHeight","delIndent","indent","divider","insertTable","justifyCenter","justifyJustify","justifyLeft","justifyRight","bulletedList","numberedList","undo","redo","clearStyle","codeBlock"]},E=["#0032A0","#FF0044","#FF8200","#001E60","#E3E3E6","#000000","#262626","#595959","#8C8C8C","#BFBFBF","#D9D9D9","#E8E8E8","#F5F5F5","#FFFFFF","#F5222D","#FA541C","#FA8C16","#FADB14","#52C41A","#13C2C2","#1890FF","#2F54EB","#722ED1","#EB2F96","#FFE8E6","#FFECE0","#FFEFD1","#FCFCCA","#E4F7D2","#D3F5F0","#D4EEFC","#DEE8FC","#EFE1FA","#FAE1EB","#FFA39E","#FFBB96","#FFD591","#FFFB8F","#B7EB8F","#87E8DE","#91D5FF","#ADC6FF","#D3ADF7","#FFADD2","#FF4D4F","#FF7A45","#FFA940","#FFEC3D","#73D13D","#36CFC9","#40A9FF","#597EF7","#9254DE","#F759AB","#CF1322","#D4380D","#D46B08","#D4B106","#389E0D","#08979C","#096DD9","#1D39C4","#531DAB","#C41D7F","#820014","#871400","#873800","#614700","#135200","#00474F","#003A8C","#061178","#22075E","#780650"],k={placeholder:a.placeholder,readOnly:a.disabled,maxLength:a.maxLength,MENU_CONF:{color:{colors:E},bgColor:{colors:E}},hoverbarKeys:{text:{menuKeys:["headerSelect","insertLink","bold","italic","underline","through","clearStyle"]}}},b=Math.random().toString(36).substring(2,9),B=`CustomImageMenu_${b}`,x=`CustomVideoMenu_${b}`,I=e=>{o.value=e;try{const n=S(p),l=w(p),v={key:B,factory(){return new n}},s={key:x,factory(){return new l}};A.Boot.registerMenu(v),A.Boot.registerMenu(s)}catch(n){console.warn("菜单注册失败:",n)}D.insertKeys={index:0,keys:[B,x]},F("created",e)};t.onBeforeUnmount(()=>{const e=o.value;e!=null&&e.destroy()}),t.watch(()=>a.modelValue,e=>{e!==d.value&&(d.value=e||"")},{immediate:!0});const H=e=>{F("update:modelValue",d.value),F("change",e)},_=()=>{o.value=void 0},j=e=>{F("focus",e)},z=e=>{F("blur",e)};return r({editor:o,getHtml:()=>d.value,getText:()=>{var e;return((e=o.value)==null?void 0:e.getText())||""},isEmpty:()=>{var e;return((e=o.value)==null?void 0:e.isEmpty())||!0},clear:()=>{var e;return(e=o.value)==null?void 0:e.clear()},focus:()=>{var e;return(e=o.value)==null?void 0:e.focus()},blur:()=>{var e;return(e=o.value)==null?void 0:e.blur()},disable:()=>{var e;return(e=o.value)==null?void 0:e.disable()},enable:()=>{var e;return(e=o.value)==null?void 0:e.enable()}}),(e,n)=>(t.openBlock(),t.createElementBlock("div",T,[t.createVNode(t.unref(M.Toolbar),{class:"editor-toolbar",editor:o.value,defaultConfig:D,mode:u.mode},null,8,["editor","mode"]),t.createVNode(t.unref(M.Editor),{class:"editor-content",style:t.normalizeStyle({height:V.value}),modelValue:d.value,"onUpdate:modelValue":n[0]||(n[0]=l=>d.value=l),defaultConfig:k,mode:u.mode,onOnCreated:I,onOnChange:H,onOnDestroyed:_,onOnFocus:j,onOnBlur:z},null,8,["style","modelValue","mode"])]))}}),U=O.a(L,[["__scopeId","data-v-e97d4bf7"]]);exports.default=U;
|