officialblock 2.3.5 → 2.3.6

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CiiujX2G.js");exports.default=e._;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-yEsEupGn.js");exports.default=e._;
@@ -4,7 +4,7 @@ var r = (a, u, i) => D(a, typeof u != "symbol" ? u + "" : u, i);
4
4
  import { defineComponent as A, shallowRef as R, ref as p, computed as F, inject as y, watch as C, nextTick as b, onBeforeUnmount as q, createElementBlock as J, openBlock as G, createVNode as I, unref as H, normalizeStyle as P } from "vue";
5
5
  import { Toolbar as Q, Editor as W } from "@wangeditor/editor-for-vue";
6
6
  import { Boot as k } from "@wangeditor/editor";
7
- import { a as X } from "./index-4ifr8DKz.mjs";
7
+ import { a as X } from "./index-BtbFXFbT.mjs";
8
8
  const Y = { class: "rich-text-editor" }, Z = /* @__PURE__ */ A({
9
9
  __name: "index",
10
10
  props: {
@@ -482,7 +482,7 @@ const yb = { class: "button-text" }, _b = { class: "link-text" }, bb = /* @__PUR
482
482
  },
483
483
  emits: ["update:show"],
484
484
  setup(t, { emit: e }) {
485
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-BER7Sd3i.mjs")), i = U(!1), a = q(() => ({
485
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-BsLnct7t.mjs")), i = U(!1), a = q(() => ({
486
486
  animation: 200,
487
487
  group: "item",
488
488
  disabled: !1,
@@ -2912,7 +2912,7 @@ const yb = { class: "button-text" }, _b = { class: "link-text" }, bb = /* @__PUR
2912
2912
  },
2913
2913
  emits: ["update:show"],
2914
2914
  setup(t, { emit: e }) {
2915
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-BER7Sd3i.mjs")), i = U(!1), a = q(() => ({
2915
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-BsLnct7t.mjs")), i = U(!1), a = q(() => ({
2916
2916
  animation: 200,
2917
2917
  group: "gallerys",
2918
2918
  // 链接专用分组
@@ -4500,7 +4500,7 @@ const Q3 = { class: "gallery-container gallery-timeline container-content" }, Z3
4500
4500
  },
4501
4501
  emits: ["update:show"],
4502
4502
  setup(t, { emit: e }) {
4503
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-BER7Sd3i.mjs")), i = U(!1), a = q(() => ({
4503
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-BsLnct7t.mjs")), i = U(!1), a = q(() => ({
4504
4504
  animation: 200,
4505
4505
  group: "gallerys",
4506
4506
  // 链接专用分组
@@ -5390,7 +5390,7 @@ const Q3 = { class: "gallery-container gallery-timeline container-content" }, Z3
5390
5390
  },
5391
5391
  emits: ["update:show"],
5392
5392
  setup(t, { emit: e }) {
5393
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-BER7Sd3i.mjs")), i = U(!1), a = q(() => ({
5393
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-BsLnct7t.mjs")), i = U(!1), a = q(() => ({
5394
5394
  animation: 200,
5395
5395
  group: "btns",
5396
5396
  // 链接专用分组
@@ -6158,7 +6158,7 @@ const Q3 = { class: "gallery-container gallery-timeline container-content" }, Z3
6158
6158
  }
6159
6159
  },
6160
6160
  setup(t) {
6161
- const e = qe(() => import("vuedraggable")), n = qe(() => import("./index-BER7Sd3i.mjs")), s = U(!1), i = q(() => ({
6161
+ const e = qe(() => import("vuedraggable")), n = qe(() => import("./index-BsLnct7t.mjs")), s = U(!1), i = q(() => ({
6162
6162
  animation: 200,
6163
6163
  group: "buttons",
6164
6164
  // 按钮专用分组
@@ -8196,7 +8196,7 @@ const Q3 = { class: "gallery-container gallery-timeline container-content" }, Z3
8196
8196
  },
8197
8197
  emits: ["update:show"],
8198
8198
  setup(t, { emit: e }) {
8199
- const n = qe(() => import("./index-BER7Sd3i.mjs")), s = e, i = () => {
8199
+ const n = qe(() => import("./index-BsLnct7t.mjs")), s = e, i = () => {
8200
8200
  s("update:show", !1);
8201
8201
  };
8202
8202
  return (a, l) => {
@@ -9613,7 +9613,7 @@ const Q3 = { class: "gallery-container gallery-timeline container-content" }, Z3
9613
9613
  },
9614
9614
  emits: ["update:show"],
9615
9615
  setup(t, { emit: e }) {
9616
- const n = qe(() => import("./index-BER7Sd3i.mjs")), s = e, i = () => {
9616
+ const n = qe(() => import("./index-BsLnct7t.mjs")), s = e, i = () => {
9617
9617
  s("update:show", !1);
9618
9618
  };
9619
9619
  return (a, l) => {
@@ -9795,7 +9795,7 @@ const Q3 = { class: "gallery-container gallery-timeline container-content" }, Z3
9795
9795
  },
9796
9796
  emits: ["update:show"],
9797
9797
  setup(t, { emit: e }) {
9798
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-BER7Sd3i.mjs")), i = U(!1), a = q(() => ({
9798
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-BsLnct7t.mjs")), i = U(!1), a = q(() => ({
9799
9799
  animation: 200,
9800
9800
  group: "links",
9801
9801
  // 链接专用分组
@@ -10135,7 +10135,7 @@ const Q3 = { class: "gallery-container gallery-timeline container-content" }, Z3
10135
10135
  },
10136
10136
  emits: ["update:show"],
10137
10137
  setup(t, { emit: e }) {
10138
- const n = qe(() => import("./index-BER7Sd3i.mjs")), s = e, i = () => {
10138
+ const n = qe(() => import("./index-BsLnct7t.mjs")), s = e, i = () => {
10139
10139
  s("update:show", !1);
10140
10140
  };
10141
10141
  return (a, l) => {
@@ -10616,7 +10616,7 @@ const Q3 = { class: "gallery-container gallery-timeline container-content" }, Z3
10616
10616
  },
10617
10617
  emits: ["update:show"],
10618
10618
  setup(t, { emit: e }) {
10619
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-BER7Sd3i.mjs")), i = U(!1), a = q(() => ({
10619
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-BsLnct7t.mjs")), i = U(!1), a = q(() => ({
10620
10620
  animation: 200,
10621
10621
  group: "gallerys",
10622
10622
  // 链接专用分组
@@ -12218,7 +12218,7 @@ const Cn = z0(), yS = z0(), _S = { class: "list-sort" }, bS = ["onClick"], wS =
12218
12218
  },
12219
12219
  emits: ["update:show"],
12220
12220
  setup(t, { emit: e }) {
12221
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-BER7Sd3i.mjs")), i = U(!1), a = q(() => ({
12221
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-BsLnct7t.mjs")), i = U(!1), a = q(() => ({
12222
12222
  animation: 200,
12223
12223
  group: "gallerys",
12224
12224
  // 链接专用分组
@@ -13399,7 +13399,7 @@ const Cn = z0(), yS = z0(), _S = { class: "list-sort" }, bS = ["onClick"], wS =
13399
13399
  emits: ["update:show"],
13400
13400
  setup(t, { emit: e }) {
13401
13401
  const n = qe(
13402
- () => import("./index-BER7Sd3i.mjs")
13402
+ () => import("./index-BsLnct7t.mjs")
13403
13403
  ), s = e, i = () => {
13404
13404
  s("update:show", !1);
13405
13405
  };
@@ -14817,7 +14817,7 @@ const Cn = z0(), yS = z0(), _S = { class: "list-sort" }, bS = ["onClick"], wS =
14817
14817
  setup(t, { emit: e }) {
14818
14818
  var T;
14819
14819
  const n = qe(() => import("vuedraggable")), s = qe(
14820
- () => import("./index-BER7Sd3i.mjs")
14820
+ () => import("./index-BsLnct7t.mjs")
14821
14821
  ), i = q(() => ({
14822
14822
  animation: 200,
14823
14823
  group: "links",
@@ -16912,7 +16912,7 @@ const Cn = z0(), yS = z0(), _S = { class: "list-sort" }, bS = ["onClick"], wS =
16912
16912
  emits: ["update:show"],
16913
16913
  setup(t, { emit: e }) {
16914
16914
  const n = qe(
16915
- () => import("./index-BER7Sd3i.mjs")
16915
+ () => import("./index-BsLnct7t.mjs")
16916
16916
  ), s = qe(() => import("vuedraggable")), i = t, a = U(!1), l = U(/* @__PURE__ */ new Set()), r = U(/* @__PURE__ */ new Set());
16917
16917
  Ue(
16918
16918
  () => {
@@ -20519,7 +20519,7 @@ const Cn = z0(), yS = z0(), _S = { class: "list-sort" }, bS = ["onClick"], wS =
20519
20519
  },
20520
20520
  emits: ["update:show"],
20521
20521
  setup(t, { emit: e }) {
20522
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-BER7Sd3i.mjs")), i = U(!1), a = q(() => ({
20522
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-BsLnct7t.mjs")), i = U(!1), a = q(() => ({
20523
20523
  animation: 200,
20524
20524
  group: "data",
20525
20525
  // 专用分组
@@ -20808,7 +20808,7 @@ const Cn = z0(), yS = z0(), _S = { class: "list-sort" }, bS = ["onClick"], wS =
20808
20808
  },
20809
20809
  emits: ["update:show"],
20810
20810
  setup(t, { emit: e }) {
20811
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-BER7Sd3i.mjs")), i = U(!1), a = q(() => ({
20811
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-BsLnct7t.mjs")), i = U(!1), a = q(() => ({
20812
20812
  animation: 200,
20813
20813
  group: "data",
20814
20814
  // 专用分组
@@ -24243,7 +24243,7 @@ const zM = /* @__PURE__ */ Aa(qM), WM = { class: "setting-content" }, GM = { cla
24243
24243
  emits: ["update:show"],
24244
24244
  setup(t, { emit: e }) {
24245
24245
  const n = qe(
24246
- () => import("./index-BER7Sd3i.mjs")
24246
+ () => import("./index-BsLnct7t.mjs")
24247
24247
  ), s = e, i = () => {
24248
24248
  s("update:show", !1);
24249
24249
  };
@@ -24459,7 +24459,7 @@ const zM = /* @__PURE__ */ Aa(qM), WM = { class: "setting-content" }, GM = { cla
24459
24459
  emits: ["update:show"],
24460
24460
  setup(t, { emit: e }) {
24461
24461
  const n = qe(
24462
- () => import("./index-BER7Sd3i.mjs")
24462
+ () => import("./index-BsLnct7t.mjs")
24463
24463
  ), s = e, i = () => {
24464
24464
  s("update:show", !1);
24465
24465
  };
@@ -24675,7 +24675,7 @@ const zM = /* @__PURE__ */ Aa(qM), WM = { class: "setting-content" }, GM = { cla
24675
24675
  emits: ["update:show"],
24676
24676
  setup(t, { emit: e }) {
24677
24677
  qe(
24678
- () => import("./index-BER7Sd3i.mjs")
24678
+ () => import("./index-BsLnct7t.mjs")
24679
24679
  );
24680
24680
  const n = e, s = () => {
24681
24681
  n("update:show", !1);
@@ -28271,7 +28271,7 @@ const EH = { key: 0 }, PH = {
28271
28271
  },
28272
28272
  emits: ["handleDelete", "handleCopy", "handlePaste", "handleClick"],
28273
28273
  setup(t, { emit: e }) {
28274
- const n = /* @__PURE__ */ Object.assign({ "/src/components/AccordionText/index.vue": () => Promise.resolve().then(() => Qse), "/src/components/AlummiCommunityList/index.vue": () => Promise.resolve().then(() => QR), "/src/components/ArticleItem/index.vue": () => Promise.resolve().then(() => gk), "/src/components/ArticleList/index.vue": () => Promise.resolve().then(() => Rw), "/src/components/ArticleListPureText/index.vue": () => Promise.resolve().then(() => jR), "/src/components/BackgroundWrapper/index.vue": () => Promise.resolve().then(() => Ste), "/src/components/BannerImage/index.vue": () => Promise.resolve().then(() => Xw), "/src/components/BannerImageWithLink/index.vue": () => Promise.resolve().then(() => DE), "/src/components/BannerPage/index.vue": () => Promise.resolve().then(() => l8), "/src/components/BannerQuote/index.vue": () => Promise.resolve().then(() => JT), "/src/components/BasicCollapse/index.vue": () => Promise.resolve().then(() => qO), "/src/components/BlessingMessage/index.vue": () => Promise.resolve().then(() => RN), "/src/components/BlessingSlider/index.vue": () => Promise.resolve().then(() => tF), "/src/components/BtnList/index.vue": () => Promise.resolve().then(() => k8), "/src/components/CardCarousel/index.vue": () => Promise.resolve().then(() => fT), "/src/components/CardCarouselArticles/index.vue": () => Promise.resolve().then(() => UB), "/src/components/CardCarouselMultiRow/index.vue": () => Promise.resolve().then(() => UT), "/src/components/CardCarouselMultiRowArticles/index.vue": () => Promise.resolve().then(() => KB), "/src/components/CardCarouselMultiRowPublications/index.vue": () => Promise.resolve().then(() => jH), "/src/components/CardListCircle/index.vue": () => Promise.resolve().then(() => Iq), "/src/components/CardListProgramme/index.vue": () => Promise.resolve().then(() => dz), "/src/components/CardListSchool/index.vue": () => Promise.resolve().then(() => Nz), "/src/components/CardShowcase/index.vue": () => Promise.resolve().then(() => LF), "/src/components/CardShowcaseProfile/index.vue": () => Promise.resolve().then(() => K7), "/src/components/CarouselLogo/index.vue": () => Promise.resolve().then(() => DL), "/src/components/CollapseCustom/index.vue": () => Promise.resolve().then(() => one), "/src/components/ContactUsInfo/index.vue": () => Promise.resolve().then(() => v$), "/src/components/ContactUsList/index.vue": () => Promise.resolve().then(() => WV), "/src/components/CountDown/index.vue": () => Promise.resolve().then(() => pV), "/src/components/CustomIframe/index.vue": () => Promise.resolve().then(() => kV), "/src/components/CustomSpace/index.vue": () => Promise.resolve().then(() => dC), "/src/components/CustomText/index.vue": () => Promise.resolve().then(() => aR), "/src/components/DetailLink/index.vue": () => Promise.resolve().then(() => Yz), "/src/components/Disc/index.vue": () => Promise.resolve().then(() => PO), "/src/components/DonorLinks/index.vue": () => Promise.resolve().then(() => M6), "/src/components/ExploreLinks/index.vue": () => Promise.resolve().then(() => HF), "/src/components/GalleryBlock/index.vue": () => Promise.resolve().then(() => yB), "/src/components/GalleryCaptionRound/index.vue": () => Promise.resolve().then(() => _3), "/src/components/GalleryDefault/index.vue": () => Promise.resolve().then(() => G8), "/src/components/GalleryList/index.vue": () => Promise.resolve().then(() => h5), "/src/components/GalleryTimeline/index.vue": () => Promise.resolve().then(() => mx), "/src/components/GalleryTimelineCol/index.vue": () => Promise.resolve().then(() => Kx), "/src/components/GridLinks/index.vue": () => Promise.resolve().then(() => Pse), "/src/components/HeroSlide/index.vue": () => Promise.resolve().then(() => K5), "/src/components/InformationLink/index.vue": () => Promise.resolve().then(() => oee), "/src/components/LinkLIst/index.vue": () => Promise.resolve().then(() => d6), "/src/components/MapStatic/index.vue": () => Promise.resolve().then(() => sL), "/src/components/MediaImageFull/index.vue": () => Promise.resolve().then(() => yR), "/src/components/MediaImageStatic/index.vue": () => Promise.resolve().then(() => $R), "/src/components/MediaLogo/index.vue": () => Promise.resolve().then(() => NM), "/src/components/MediaVideo/index.vue": () => Promise.resolve().then(() => KJ), "/src/components/NewsList/index.vue": () => Promise.resolve().then(() => v9), "/src/components/Process/index.vue": () => Promise.resolve().then(() => nC), "/src/components/Publications/index.vue": () => Promise.resolve().then(() => mD), "/src/components/QuoteText/index.vue": () => import("./index-7s_qWjAb.mjs"), "/src/components/RegisterForm/index.vue": () => Promise.resolve().then(() => QU), "/src/components/Resources/index.vue": () => Promise.resolve().then(() => II), "/src/components/ResourcesTwo/index.vue": () => Promise.resolve().then(() => ZI), "/src/components/RibbonBlock/index.vue": () => Promise.resolve().then(() => Vk), "/src/components/SchoolLayout/index.vue": () => Promise.resolve().then(() => LH), "/src/components/ScrollKeyInfo/index.vue": () => Promise.resolve().then(() => SP), "/src/components/TabDefault/index.vue": () => Promise.resolve().then(() => $j), "/src/components/TabLogo/index.vue": () => Promise.resolve().then(() => rte), "/src/components/TabPage/index.vue": () => Promise.resolve().then(() => Ree), "/src/components/TabTimeLine/index.vue": () => Promise.resolve().then(() => dq), "/src/components/TableCollapse/index.vue": () => Promise.resolve().then(() => bM), "/src/components/TableTwo/index.vue": () => Promise.resolve().then(() => fE), "/src/components/TheHistoryCarousel/index.vue": () => Promise.resolve().then(() => v7), "/src/components/TimelineStory/index.vue": () => Promise.resolve().then(() => vS), "/src/components/VrTour/index.vue": () => Promise.resolve().then(() => use) }), s = {};
28274
+ const n = /* @__PURE__ */ Object.assign({ "/src/components/AccordionText/index.vue": () => Promise.resolve().then(() => Qse), "/src/components/AlummiCommunityList/index.vue": () => Promise.resolve().then(() => QR), "/src/components/ArticleItem/index.vue": () => Promise.resolve().then(() => gk), "/src/components/ArticleList/index.vue": () => Promise.resolve().then(() => Rw), "/src/components/ArticleListPureText/index.vue": () => Promise.resolve().then(() => jR), "/src/components/BackgroundWrapper/index.vue": () => Promise.resolve().then(() => Ste), "/src/components/BannerImage/index.vue": () => Promise.resolve().then(() => Xw), "/src/components/BannerImageWithLink/index.vue": () => Promise.resolve().then(() => DE), "/src/components/BannerPage/index.vue": () => Promise.resolve().then(() => l8), "/src/components/BannerQuote/index.vue": () => Promise.resolve().then(() => JT), "/src/components/BasicCollapse/index.vue": () => Promise.resolve().then(() => qO), "/src/components/BlessingMessage/index.vue": () => Promise.resolve().then(() => RN), "/src/components/BlessingSlider/index.vue": () => Promise.resolve().then(() => tF), "/src/components/BtnList/index.vue": () => Promise.resolve().then(() => k8), "/src/components/CardCarousel/index.vue": () => Promise.resolve().then(() => fT), "/src/components/CardCarouselArticles/index.vue": () => Promise.resolve().then(() => UB), "/src/components/CardCarouselMultiRow/index.vue": () => Promise.resolve().then(() => UT), "/src/components/CardCarouselMultiRowArticles/index.vue": () => Promise.resolve().then(() => KB), "/src/components/CardCarouselMultiRowPublications/index.vue": () => Promise.resolve().then(() => jH), "/src/components/CardListCircle/index.vue": () => Promise.resolve().then(() => Iq), "/src/components/CardListProgramme/index.vue": () => Promise.resolve().then(() => dz), "/src/components/CardListSchool/index.vue": () => Promise.resolve().then(() => Nz), "/src/components/CardShowcase/index.vue": () => Promise.resolve().then(() => LF), "/src/components/CardShowcaseProfile/index.vue": () => Promise.resolve().then(() => K7), "/src/components/CarouselLogo/index.vue": () => Promise.resolve().then(() => DL), "/src/components/CollapseCustom/index.vue": () => Promise.resolve().then(() => one), "/src/components/ContactUsInfo/index.vue": () => Promise.resolve().then(() => v$), "/src/components/ContactUsList/index.vue": () => Promise.resolve().then(() => WV), "/src/components/CountDown/index.vue": () => Promise.resolve().then(() => pV), "/src/components/CustomIframe/index.vue": () => Promise.resolve().then(() => kV), "/src/components/CustomSpace/index.vue": () => Promise.resolve().then(() => dC), "/src/components/CustomText/index.vue": () => Promise.resolve().then(() => aR), "/src/components/DetailLink/index.vue": () => Promise.resolve().then(() => Yz), "/src/components/Disc/index.vue": () => Promise.resolve().then(() => PO), "/src/components/DonorLinks/index.vue": () => Promise.resolve().then(() => M6), "/src/components/ExploreLinks/index.vue": () => Promise.resolve().then(() => HF), "/src/components/GalleryBlock/index.vue": () => Promise.resolve().then(() => yB), "/src/components/GalleryCaptionRound/index.vue": () => Promise.resolve().then(() => _3), "/src/components/GalleryDefault/index.vue": () => Promise.resolve().then(() => G8), "/src/components/GalleryList/index.vue": () => Promise.resolve().then(() => h5), "/src/components/GalleryTimeline/index.vue": () => Promise.resolve().then(() => mx), "/src/components/GalleryTimelineCol/index.vue": () => Promise.resolve().then(() => Kx), "/src/components/GridLinks/index.vue": () => Promise.resolve().then(() => Pse), "/src/components/HeroSlide/index.vue": () => Promise.resolve().then(() => K5), "/src/components/InformationLink/index.vue": () => Promise.resolve().then(() => oee), "/src/components/LinkLIst/index.vue": () => Promise.resolve().then(() => d6), "/src/components/MapStatic/index.vue": () => Promise.resolve().then(() => sL), "/src/components/MediaImageFull/index.vue": () => Promise.resolve().then(() => yR), "/src/components/MediaImageStatic/index.vue": () => Promise.resolve().then(() => $R), "/src/components/MediaLogo/index.vue": () => Promise.resolve().then(() => NM), "/src/components/MediaVideo/index.vue": () => Promise.resolve().then(() => KJ), "/src/components/NewsList/index.vue": () => Promise.resolve().then(() => v9), "/src/components/Process/index.vue": () => Promise.resolve().then(() => nC), "/src/components/Publications/index.vue": () => Promise.resolve().then(() => mD), "/src/components/QuoteText/index.vue": () => import("./index-D7F9OKez.mjs"), "/src/components/RegisterForm/index.vue": () => Promise.resolve().then(() => QU), "/src/components/Resources/index.vue": () => Promise.resolve().then(() => II), "/src/components/ResourcesTwo/index.vue": () => Promise.resolve().then(() => ZI), "/src/components/RibbonBlock/index.vue": () => Promise.resolve().then(() => Vk), "/src/components/SchoolLayout/index.vue": () => Promise.resolve().then(() => LH), "/src/components/ScrollKeyInfo/index.vue": () => Promise.resolve().then(() => SP), "/src/components/TabDefault/index.vue": () => Promise.resolve().then(() => $j), "/src/components/TabLogo/index.vue": () => Promise.resolve().then(() => rte), "/src/components/TabPage/index.vue": () => Promise.resolve().then(() => Ree), "/src/components/TabTimeLine/index.vue": () => Promise.resolve().then(() => dq), "/src/components/TableCollapse/index.vue": () => Promise.resolve().then(() => bM), "/src/components/TableTwo/index.vue": () => Promise.resolve().then(() => fE), "/src/components/TheHistoryCarousel/index.vue": () => Promise.resolve().then(() => v7), "/src/components/TimelineStory/index.vue": () => Promise.resolve().then(() => vS), "/src/components/VrTour/index.vue": () => Promise.resolve().then(() => use) }), s = {};
28275
28275
  for (const v in n)
28276
28276
  try {
28277
28277
  const h = v.split("/"), d = h[h.length - 2];
@@ -28867,7 +28867,7 @@ const EH = { key: 0 }, PH = {
28867
28867
  o("div", Ej, [
28868
28868
  f(ii, {
28869
28869
  type: ie.type,
28870
- "props-data": { modelValue: ie, isPreview: !1 },
28870
+ "props-data": { modelValue: ie, isPreview: t.isPreview },
28871
28871
  onHandleDelete: R[0] || (R[0] = (G) => T(G, w.value)),
28872
28872
  onHandleCopy: R[1] || (R[1] = (G) => P(G)),
28873
28873
  onHandlePaste: (G) => V(G, w.value, ne)
@@ -28895,7 +28895,7 @@ const EH = { key: 0 }, PH = {
28895
28895
  ], 36)) : j("", !0);
28896
28896
  };
28897
28897
  }
28898
- }), rm = /* @__PURE__ */ he(Pj, [["__scopeId", "data-v-6e9ec8ff"]]), $j = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: rm }, Symbol.toStringTag, { value: "Module" })), Dj = { class: "tab__wrapper" }, Lj = ["onClick"], Aj = ["id", "onClick"], Ij = {
28898
+ }), rm = /* @__PURE__ */ he(Pj, [["__scopeId", "data-v-32b1fd78"]]), $j = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: rm }, Symbol.toStringTag, { value: "Module" })), Dj = { class: "tab__wrapper" }, Lj = ["onClick"], Aj = ["id", "onClick"], Ij = {
28899
28899
  __name: "TabTimeLineTab",
28900
28900
  props: {
28901
28901
  list: {
@@ -29539,7 +29539,7 @@ const EH = { key: 0 }, PH = {
29539
29539
  o("div", lq, [
29540
29540
  f(ii, {
29541
29541
  type: Q.type,
29542
- "props-data": { modelValue: Q, isPreview: !1 },
29542
+ "props-data": { modelValue: Q, isPreview: t.isPreview },
29543
29543
  onHandleDelete: ie[0] || (ie[0] = (W) => V(W, x.value)),
29544
29544
  onHandleCopy: ie[1] || (ie[1] = (W) => D(W)),
29545
29545
  onHandlePaste: ie[2] || (ie[2] = (W) => O(W, x.value))
@@ -29578,7 +29578,7 @@ const EH = { key: 0 }, PH = {
29578
29578
  ], 38)) : j("", !0);
29579
29579
  };
29580
29580
  }
29581
- }, dm = /* @__PURE__ */ he(rq, [["__scopeId", "data-v-bb2dfe13"]]), dq = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: dm }, Symbol.toStringTag, { value: "Module" })), uq = { class: "setting-content" }, cq = { class: "setting-header flex items-center" }, hq = { class: "setting-header flex items-center" }, mq = { class: "setting-header flex items-center" }, pq = { class: "setting-header flex items-center" }, fq = { class: "setting-body" }, gq = { class: "setting-item" }, vq = { class: "btn-group" }, yq = {
29581
+ }, dm = /* @__PURE__ */ he(rq, [["__scopeId", "data-v-09323fe0"]]), dq = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: dm }, Symbol.toStringTag, { value: "Module" })), uq = { class: "setting-content" }, cq = { class: "setting-header flex items-center" }, hq = { class: "setting-header flex items-center" }, mq = { class: "setting-header flex items-center" }, pq = { class: "setting-header flex items-center" }, fq = { class: "setting-body" }, gq = { class: "setting-item" }, vq = { class: "btn-group" }, yq = {
29582
29582
  key: 0,
29583
29583
  class: "drag-handle"
29584
29584
  }, _q = ["src"], bq = { class: "item-uplaod flex items-center" }, wq = /* @__PURE__ */ pe({
@@ -29972,7 +29972,7 @@ const EH = { key: 0 }, PH = {
29972
29972
  },
29973
29973
  emits: ["update:show"],
29974
29974
  setup(t, { emit: e }) {
29975
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-BER7Sd3i.mjs")), i = U(!1), a = q(() => ({
29975
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-BsLnct7t.mjs")), i = U(!1), a = q(() => ({
29976
29976
  animation: 200,
29977
29977
  group: "programmes",
29978
29978
  // 链接专用分组
@@ -30992,7 +30992,7 @@ const EH = { key: 0 }, PH = {
30992
30992
  emits: ["update:show"],
30993
30993
  setup(t, { emit: e }) {
30994
30994
  qe(
30995
- () => import("./index-BER7Sd3i.mjs")
30995
+ () => import("./index-BsLnct7t.mjs")
30996
30996
  );
30997
30997
  const n = e, s = () => {
30998
30998
  n("update:show", !1);
@@ -31202,7 +31202,7 @@ const EH = { key: 0 }, PH = {
31202
31202
  emits: ["update:show"],
31203
31203
  setup(t, { emit: e }) {
31204
31204
  qe(
31205
- () => import("./index-BER7Sd3i.mjs")
31205
+ () => import("./index-BsLnct7t.mjs")
31206
31206
  );
31207
31207
  const n = e, s = () => {
31208
31208
  n("update:show", !1);
@@ -67307,7 +67307,7 @@ const WJ = /* @__PURE__ */ he(HJ, [["render", zJ], ["__scopeId", "data-v-c5a2a3e
67307
67307
  emits: ["update:show"],
67308
67308
  setup(t, { emit: e }) {
67309
67309
  qe(
67310
- () => import("./index-BER7Sd3i.mjs")
67310
+ () => import("./index-BsLnct7t.mjs")
67311
67311
  );
67312
67312
  const n = e, s = () => {
67313
67313
  n("update:show", !1);
@@ -68242,7 +68242,7 @@ const WJ = /* @__PURE__ */ he(HJ, [["render", zJ], ["__scopeId", "data-v-c5a2a3e
68242
68242
  (_(!0), S(ue, null, we(W.componentsDataJson, (se, ce) => (_(), ee(ii, {
68243
68243
  key: se.id,
68244
68244
  type: se.type,
68245
- "props-data": { modelValue: se, isPreview: !1 },
68245
+ "props-data": { modelValue: se, isPreview: t.isPreview },
68246
68246
  onHandleDelete: X[0] || (X[0] = (ye) => ie(ye, R.value)),
68247
68247
  onHandleCopy: X[1] || (X[1] = (ye) => ne(ye)),
68248
68248
  onHandlePaste: (ye) => G(ye, R.value, ce)
@@ -68285,7 +68285,7 @@ const WJ = /* @__PURE__ */ he(HJ, [["render", zJ], ["__scopeId", "data-v-c5a2a3e
68285
68285
  (_(!0), S(ue, null, we(W.componentsDataJson, (se, ce) => (_(), ee(ii, {
68286
68286
  key: se.id,
68287
68287
  type: se.type,
68288
- "props-data": { modelValue: se, isPreview: !1 },
68288
+ "props-data": { modelValue: se, isPreview: t.isPreview },
68289
68289
  onHandleDelete: X[3] || (X[3] = (ye) => ie(ye, R.value)),
68290
68290
  onHandleCopy: X[4] || (X[4] = (ye) => ne(ye)),
68291
68291
  onHandlePaste: (ye) => G(ye, R.value, ce)
@@ -68315,7 +68315,7 @@ const WJ = /* @__PURE__ */ he(HJ, [["render", zJ], ["__scopeId", "data-v-c5a2a3e
68315
68315
  }, null, 8, ["show", "data"]))
68316
68316
  ], 38));
68317
68317
  }
68318
- }, pp = /* @__PURE__ */ he(Bee, [["__scopeId", "data-v-e4479cfa"]]), Ree = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: pp }, Symbol.toStringTag, { value: "Module" })), Nee = { class: "tab-logo__btn__img flex-center" }, Fee = ["src", "alt"], Hee = {
68318
+ }, pp = /* @__PURE__ */ he(Bee, [["__scopeId", "data-v-48305b22"]]), Ree = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: pp }, Symbol.toStringTag, { value: "Module" })), Nee = { class: "tab-logo__btn__img flex-center" }, Fee = ["src", "alt"], Hee = {
68319
68319
  __name: "TabLogo",
68320
68320
  props: {
68321
68321
  tabList: {
@@ -68841,7 +68841,7 @@ const WJ = /* @__PURE__ */ he(HJ, [["render", zJ], ["__scopeId", "data-v-c5a2a3e
68841
68841
  (_(!0), S(ue, null, we(X.componentsDataJson, (W, se) => (_(), ee(ii, {
68842
68842
  key: W.id,
68843
68843
  type: W.type,
68844
- "props-data": { modelValue: W, isPreview: !1 },
68844
+ "props-data": { modelValue: W, isPreview: t.isPreview },
68845
68845
  onHandleDelete: Q[1] || (Q[1] = (ce) => oe(ce, I.value)),
68846
68846
  onHandleCopy: Q[2] || (Q[2] = (ce) => ie(ce)),
68847
68847
  onHandlePaste: (ce) => ne(ce, I.value, se)
@@ -68871,7 +68871,7 @@ const WJ = /* @__PURE__ */ he(HJ, [["render", zJ], ["__scopeId", "data-v-c5a2a3e
68871
68871
  }, null, 8, ["show", "data"]))
68872
68872
  ], 38));
68873
68873
  }
68874
- }, fp = /* @__PURE__ */ he(ote, [["__scopeId", "data-v-72434efb"]]), rte = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: fp }, Symbol.toStringTag, { value: "Module" })), dte = { class: "setting-content" }, ute = { class: "setting-header flex items-center" }, cte = { class: "setting-header flex items-center" }, hte = { class: "setting-header flex items-center" }, mte = { class: "setting-header flex items-center" }, pte = { class: "setting-header flex items-center" }, fte = { class: "setting-header flex items-center" }, gte = { class: "preview-container" }, vte = ["src"], yte = {
68874
+ }, fp = /* @__PURE__ */ he(ote, [["__scopeId", "data-v-1a934b09"]]), rte = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: fp }, Symbol.toStringTag, { value: "Module" })), dte = { class: "setting-content" }, ute = { class: "setting-header flex items-center" }, cte = { class: "setting-header flex items-center" }, hte = { class: "setting-header flex items-center" }, mte = { class: "setting-header flex items-center" }, pte = { class: "setting-header flex items-center" }, fte = { class: "setting-header flex items-center" }, gte = { class: "preview-container" }, vte = ["src"], yte = {
68875
68875
  key: 1,
68876
68876
  class: "no-preview"
68877
68877
  }, _te = { class: "setting-body" }, bte = { class: "setting-item" }, wte = { class: "components-content" }, xte = /* @__PURE__ */ pe({
@@ -69155,7 +69155,7 @@ const WJ = /* @__PURE__ */ he(HJ, [["render", zJ], ["__scopeId", "data-v-c5a2a3e
69155
69155
  o("div", Tte, [
69156
69156
  f(ii, {
69157
69157
  type: P.type,
69158
- "props-data": { modelValue: P, isPreview: !1 },
69158
+ "props-data": { modelValue: P, isPreview: t.isPreview },
69159
69159
  onHandleDelete: T[0] || (T[0] = (D) => a(D, i.value)),
69160
69160
  onHandleCopy: T[1] || (T[1] = (D) => l(D)),
69161
69161
  onHandlePaste: (D) => r(D, i.value, V)
@@ -69181,7 +69181,7 @@ const WJ = /* @__PURE__ */ he(HJ, [["render", zJ], ["__scopeId", "data-v-c5a2a3e
69181
69181
  }, null, 8, ["show", "data"]))
69182
69182
  ], 6)) : j("", !0);
69183
69183
  }
69184
- }, gp = /* @__PURE__ */ he(kte, [["__scopeId", "data-v-633c372c"]]), Ste = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: gp }, Symbol.toStringTag, { value: "Module" }));
69184
+ }, gp = /* @__PURE__ */ he(kte, [["__scopeId", "data-v-9a67cbbf"]]), Ste = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: gp }, Symbol.toStringTag, { value: "Module" }));
69185
69185
  var xy = "Expected a function", m0 = NaN, Vte = "[object Symbol]", Ete = /^\s+|\s+$/g, Pte = /^[-+]0x[0-9a-f]+$/i, $te = /^0b[01]+$/i, Dte = /^0o[0-7]+$/i, Lte = parseInt, Ate = typeof Yi == "object" && Yi && Yi.Object === Object && Yi, Ite = typeof self == "object" && self && self.Object === Object && self, Ote = Ate || Ite || Function("return this")(), Mte = Object.prototype, Ute = Mte.toString, Bte = Math.max, Rte = Math.min, lc = function() {
69186
69186
  return Ote.Date.now();
69187
69187
  };
@@ -69515,7 +69515,7 @@ const zte = /* @__PURE__ */ Aa(qte), Wte = { class: "setting-content" }, Gte = {
69515
69515
  o("div", ane, [
69516
69516
  f(ii, {
69517
69517
  type: O.type,
69518
- "props-data": { modelValue: O, isPreview: !1 },
69518
+ "props-data": { modelValue: O, isPreview: t.isPreview },
69519
69519
  onHandleDelete: P[1] || (P[1] = (R) => k(R, g.value)),
69520
69520
  onHandleCopy: P[2] || (P[2] = (R) => y(R)),
69521
69521
  onHandlePaste: (R) => x(R, g.value, I)
@@ -69545,7 +69545,7 @@ const zte = /* @__PURE__ */ Aa(qte), Wte = { class: "setting-content" }, Gte = {
69545
69545
  ], 38)) : j("", !0);
69546
69546
  };
69547
69547
  }
69548
- }, vp = /* @__PURE__ */ he(lne, [["__scopeId", "data-v-283d3413"]]), one = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: vp }, Symbol.toStringTag, { value: "Module" })), rne = ["onClick"], dne = {
69548
+ }, vp = /* @__PURE__ */ he(lne, [["__scopeId", "data-v-bf06e617"]]), one = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: vp }, Symbol.toStringTag, { value: "Module" })), rne = ["onClick"], dne = {
69549
69549
  __name: "VrTourTab",
69550
69550
  props: {
69551
69551
  list: {
@@ -70974,7 +70974,7 @@ const zte = /* @__PURE__ */ Aa(qte), Wte = { class: "setting-content" }, Gte = {
70974
70974
  },
70975
70975
  emits: ["update:show"],
70976
70976
  setup(t, { emit: e }) {
70977
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-BER7Sd3i.mjs")), i = U(!1), a = q(() => ({
70977
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-BsLnct7t.mjs")), i = U(!1), a = q(() => ({
70978
70978
  animation: 200,
70979
70979
  group: "gallerys",
70980
70980
  disabled: !1,
@@ -1 +1 @@
1
- "use strict";var T=Object.defineProperty;var L=(u,r,c)=>r in u?T(u,r,{enumerable:!0,configurable:!0,writable:!0,value:c}):u[r]=c;var i=(u,r,c)=>L(u,typeof r!="symbol"?r+"":r,c);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),B=require("@wangeditor/editor-for-vue"),w=require("@wangeditor/editor"),U=require("./index-CiiujX2G.js"),q={class:"rich-text-editor"},E=t.defineComponent({__name:"index",props:{name:{default:""},modelValue:{default:""},placeholder:{default:"请输入内容..."},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:c}){const a=u,m=c,o=t.shallowRef(),d=t.ref(""),k=t.computed(()=>typeof a.height=="number"?`${a.height}px`:a.height),p=t.inject("handleUpload",()=>{}),h=t.inject("fileUrl",null),b=t.inject("chooseName",null),f=t.ref(""),v=t.ref(null),C=e=>{if(!p){console.warn("Upload: handleUpload function not provided by ancestor");return}if(f.value=e,o.value)try{const l=o.value.selection;l&&(v.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;p(!0,n)};t.watch(()=>a.name,()=>{h.value=null},{deep:!0,immediate:!0}),t.watch(()=>[h==null?void 0:h.value],([e])=>{const n=a.name+"_"+f.value;!e||!b.value||b.value!==n||o.value&&t.nextTick(()=>{var l,g;if(o.value){try{if(o.value.focus(),v.value)try{o.value.select(v.value)}catch(s){console.warn("恢复光标位置失败,使用默认位置:",s)}}catch(s){console.warn("聚焦编辑器失败:",s)}if(f.value==="img"){const y=`<img src="${e}" alt="图片" style="max-width: 100%;">`;(l=o.value)==null||l.dangerouslyInsertHtml(y)}else{const y=`<video src="${e}" controls style="max-width: 100%;"></video>`;(g=o.value)==null||g.dangerouslyInsertHtml(y)}v.value=null,f.value=""}})},{immediate:!1});function I(e){return class{constructor(){i(this,"title");i(this,"tag");i(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 H(e){return class{constructor(){i(this,"title");i(this,"tag");i(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 x={toolbarKeys:["headerSelect","bold","italic","through","underline","color","fontSize","lineHeight","delIndent","indent","divider","insertTable","justifyCenter","justifyJustify","justifyLeft","justifyRight","bulletedList","numberedList","undo","redo","clearStyle","codeBlock"]},_={placeholder:a.placeholder,readOnly:a.disabled,maxLength:a.maxLength,MENU_CONF:{},hoverbarKeys:{text:{menuKeys:["headerSelect","insertLink","bold","italic","underline","through","clearStyle"]}}},M=Math.random().toString(36).substring(2,9),V=`CustomImageMenu_${M}`,S=`CustomVideoMenu_${M}`,j=e=>{o.value=e;try{const n=I(C),l=H(C),g={key:V,factory(){return new n}},s={key:S,factory(){return new l}};w.Boot.registerMenu(g),w.Boot.registerMenu(s)}catch(n){console.warn("菜单注册失败:",n)}x.insertKeys={index:0,keys:[V,S]},m("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 z=e=>{m("update:modelValue",d.value),m("change",e)},K=()=>{o.value=void 0},N=e=>{m("focus",e)},O=e=>{m("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",q,[t.createVNode(t.unref(B.Toolbar),{class:"editor-toolbar",editor:o.value,defaultConfig:x,mode:u.mode},null,8,["editor","mode"]),t.createVNode(t.unref(B.Editor),{class:"editor-content",style:t.normalizeStyle({height:k.value}),modelValue:d.value,"onUpdate:modelValue":n[0]||(n[0]=l=>d.value=l),defaultConfig:_,mode:u.mode,onOnCreated:j,onOnChange:z,onOnDestroyed:K,onOnFocus:N,onOnBlur:O},null,8,["style","modelValue","mode"])]))}}),$=U.a(E,[["__scopeId","data-v-55807020"]]);exports.default=$;
1
+ "use strict";var T=Object.defineProperty;var L=(u,r,c)=>r in u?T(u,r,{enumerable:!0,configurable:!0,writable:!0,value:c}):u[r]=c;var i=(u,r,c)=>L(u,typeof r!="symbol"?r+"":r,c);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),B=require("@wangeditor/editor-for-vue"),w=require("@wangeditor/editor"),U=require("./index-yEsEupGn.js"),q={class:"rich-text-editor"},E=t.defineComponent({__name:"index",props:{name:{default:""},modelValue:{default:""},placeholder:{default:"请输入内容..."},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:c}){const a=u,m=c,o=t.shallowRef(),d=t.ref(""),k=t.computed(()=>typeof a.height=="number"?`${a.height}px`:a.height),p=t.inject("handleUpload",()=>{}),h=t.inject("fileUrl",null),b=t.inject("chooseName",null),f=t.ref(""),v=t.ref(null),C=e=>{if(!p){console.warn("Upload: handleUpload function not provided by ancestor");return}if(f.value=e,o.value)try{const l=o.value.selection;l&&(v.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;p(!0,n)};t.watch(()=>a.name,()=>{h.value=null},{deep:!0,immediate:!0}),t.watch(()=>[h==null?void 0:h.value],([e])=>{const n=a.name+"_"+f.value;!e||!b.value||b.value!==n||o.value&&t.nextTick(()=>{var l,g;if(o.value){try{if(o.value.focus(),v.value)try{o.value.select(v.value)}catch(s){console.warn("恢复光标位置失败,使用默认位置:",s)}}catch(s){console.warn("聚焦编辑器失败:",s)}if(f.value==="img"){const y=`<img src="${e}" alt="图片" style="max-width: 100%;">`;(l=o.value)==null||l.dangerouslyInsertHtml(y)}else{const y=`<video src="${e}" controls style="max-width: 100%;"></video>`;(g=o.value)==null||g.dangerouslyInsertHtml(y)}v.value=null,f.value=""}})},{immediate:!1});function I(e){return class{constructor(){i(this,"title");i(this,"tag");i(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 H(e){return class{constructor(){i(this,"title");i(this,"tag");i(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 x={toolbarKeys:["headerSelect","bold","italic","through","underline","color","fontSize","lineHeight","delIndent","indent","divider","insertTable","justifyCenter","justifyJustify","justifyLeft","justifyRight","bulletedList","numberedList","undo","redo","clearStyle","codeBlock"]},_={placeholder:a.placeholder,readOnly:a.disabled,maxLength:a.maxLength,MENU_CONF:{},hoverbarKeys:{text:{menuKeys:["headerSelect","insertLink","bold","italic","underline","through","clearStyle"]}}},M=Math.random().toString(36).substring(2,9),V=`CustomImageMenu_${M}`,S=`CustomVideoMenu_${M}`,j=e=>{o.value=e;try{const n=I(C),l=H(C),g={key:V,factory(){return new n}},s={key:S,factory(){return new l}};w.Boot.registerMenu(g),w.Boot.registerMenu(s)}catch(n){console.warn("菜单注册失败:",n)}x.insertKeys={index:0,keys:[V,S]},m("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 z=e=>{m("update:modelValue",d.value),m("change",e)},K=()=>{o.value=void 0},N=e=>{m("focus",e)},O=e=>{m("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",q,[t.createVNode(t.unref(B.Toolbar),{class:"editor-toolbar",editor:o.value,defaultConfig:x,mode:u.mode},null,8,["editor","mode"]),t.createVNode(t.unref(B.Editor),{class:"editor-content",style:t.normalizeStyle({height:k.value}),modelValue:d.value,"onUpdate:modelValue":n[0]||(n[0]=l=>d.value=l),defaultConfig:_,mode:u.mode,onOnCreated:j,onOnChange:z,onOnDestroyed:K,onOnFocus:N,onOnBlur:O},null,8,["style","modelValue","mode"])]))}}),$=U.a(E,[["__scopeId","data-v-55807020"]]);exports.default=$;
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./index-BtbFXFbT.mjs";
2
+ export {
3
+ f as default
4
+ };