officialblock 3.3.0 → 3.3.1

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.
@@ -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, normalizeClass as Q, createVNode as S, unref as w, normalizeStyle as W } from "vue";
5
5
  import { Toolbar as X, Editor as Y } from "@wangeditor/editor-for-vue";
6
6
  import { Boot as I } from "@wangeditor/editor";
7
- import { _ as Z } from "./index-Bz2g8knv.mjs";
7
+ import { _ as Z } from "./index-Dgv25y5f.mjs";
8
8
  const ee = /* @__PURE__ */ $({
9
9
  __name: "index",
10
10
  props: {
@@ -2574,7 +2574,7 @@ const aC = ["innerHTML"], iC = ["innerHTML"], sC = /* @__PURE__ */ we({
2574
2574
  ]);
2575
2575
  };
2576
2576
  }
2577
- }), yC = /* @__PURE__ */ pe(vC, [["__scopeId", "data-v-999c0e74"]]), wC = {
2577
+ }), yC = /* @__PURE__ */ pe(vC, [["__scopeId", "data-v-e7222c56"]]), wC = {
2578
2578
  key: 0,
2579
2579
  class: "image-desc"
2580
2580
  }, bC = {
@@ -2834,7 +2834,7 @@ const aC = ["innerHTML"], iC = ["innerHTML"], sC = /* @__PURE__ */ we({
2834
2834
  },
2835
2835
  emits: ["update:show"],
2836
2836
  setup(t, { emit: e }) {
2837
- const n = et(() => import("vuedraggable")), a = et(() => import("./index-D5W5s7Hy.mjs")), i = N(!1), s = W(() => ({
2837
+ const n = et(() => import("vuedraggable")), a = et(() => import("./index-CdQMr7F9.mjs")), i = N(!1), s = W(() => ({
2838
2838
  animation: 200,
2839
2839
  group: "item",
2840
2840
  disabled: !1,
@@ -5691,7 +5691,7 @@ const aC = ["innerHTML"], iC = ["innerHTML"], sC = /* @__PURE__ */ we({
5691
5691
  },
5692
5692
  emits: ["update:show"],
5693
5693
  setup(t, { emit: e }) {
5694
- const n = et(() => import("vuedraggable")), a = et(() => import("./index-D5W5s7Hy.mjs")), i = N(!1), s = W(() => ({
5694
+ const n = et(() => import("vuedraggable")), a = et(() => import("./index-CdQMr7F9.mjs")), i = N(!1), s = W(() => ({
5695
5695
  animation: 200,
5696
5696
  group: "gallerys",
5697
5697
  // 链接专用分组
@@ -7327,7 +7327,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
7327
7327
  },
7328
7328
  emits: ["update:show"],
7329
7329
  setup(t, { emit: e }) {
7330
- const n = et(() => import("vuedraggable")), a = et(() => import("./index-D5W5s7Hy.mjs")), i = N(!1), s = W(() => ({
7330
+ const n = et(() => import("vuedraggable")), a = et(() => import("./index-CdQMr7F9.mjs")), i = N(!1), s = W(() => ({
7331
7331
  animation: 200,
7332
7332
  group: "gallerys",
7333
7333
  // 链接专用分组
@@ -7961,7 +7961,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
7961
7961
  ], 64);
7962
7962
  };
7963
7963
  }
7964
- }), wh = /* @__PURE__ */ pe(o6, [["__scopeId", "data-v-09d046d1"]]), c1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: wh }, Symbol.toStringTag, { value: "Module" })), l6 = `<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
7964
+ }), wh = /* @__PURE__ */ pe(o6, [["__scopeId", "data-v-8ae2a98c"]]), c1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: wh }, Symbol.toStringTag, { value: "Module" })), l6 = `<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
7965
7965
  <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"/>
7966
7966
  </svg>
7967
7967
  `, r6 = `<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -8743,7 +8743,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
8743
8743
  },
8744
8744
  emits: ["update:show"],
8745
8745
  setup(t, { emit: e }) {
8746
- const n = et(() => import("vuedraggable")), a = et(() => import("./index-D5W5s7Hy.mjs")), i = N(!1), s = W(() => ({
8746
+ const n = et(() => import("vuedraggable")), a = et(() => import("./index-CdQMr7F9.mjs")), i = N(!1), s = W(() => ({
8747
8747
  animation: 200,
8748
8748
  group: "btns",
8749
8749
  // 链接专用分组
@@ -9614,7 +9614,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
9614
9614
  }
9615
9615
  },
9616
9616
  setup(t) {
9617
- const e = et(() => import("vuedraggable")), n = et(() => import("./index-D5W5s7Hy.mjs")), a = N(!1), i = W(() => d.locale === "sc" ? `按钮(最多${d.maxNum}个)` : d.locale === "hk" ? `按鈕(最多${d.maxNum}個)` : `Buttons(max ${d.maxNum})`), s = W(() => ({
9617
+ const e = et(() => import("vuedraggable")), n = et(() => import("./index-CdQMr7F9.mjs")), a = N(!1), i = W(() => d.locale === "sc" ? `按钮(最多${d.maxNum}个)` : d.locale === "hk" ? `按鈕(最多${d.maxNum}個)` : `Buttons(max ${d.maxNum})`), s = W(() => ({
9618
9618
  animation: 200,
9619
9619
  group: "buttons",
9620
9620
  // 按钮专用分组
@@ -11724,7 +11724,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
11724
11724
  },
11725
11725
  emits: ["update:show"],
11726
11726
  setup(t, { emit: e }) {
11727
- const n = et(() => import("./index-D5W5s7Hy.mjs")), a = t, { t: i } = xe(() => a.locale), s = e, l = () => {
11727
+ const n = et(() => import("./index-CdQMr7F9.mjs")), a = t, { t: i } = xe(() => a.locale), s = e, l = () => {
11728
11728
  s("update:show", !1);
11729
11729
  };
11730
11730
  return (o, d) => {
@@ -11878,7 +11878,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
11878
11878
  }, 8, ["visible"]);
11879
11879
  };
11880
11880
  }
11881
- }), EE = /* @__PURE__ */ pe(BE, [["__scopeId", "data-v-aa0766af"]]), TE = {
11881
+ }), EE = /* @__PURE__ */ pe(BE, [["__scopeId", "data-v-2dbb0e72"]]), TE = {
11882
11882
  key: 0,
11883
11883
  class: "quote-text__line"
11884
11884
  }, PE = ["innerHTML"], SE = ["innerHTML"], IE = /* @__PURE__ */ we({
@@ -11980,7 +11980,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
11980
11980
  ], 64);
11981
11981
  };
11982
11982
  }
11983
- }), Eh = /* @__PURE__ */ pe(IE, [["__scopeId", "data-v-cc6b5074"]]), A1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: Eh }, Symbol.toStringTag, { value: "Module" })), ME = { class: "setting-content" }, VE = { class: "setting-header flex items-center mb-10" }, LE = { class: "header-title" }, OE = { class: "setting-header flex items-center" }, QE = { class: "header-title" }, UE = { class: "setting-header flex items-center" }, HE = { class: "header-title" }, FE = { class: "setting-body" }, RE = { class: "setting-item" }, NE = { class: "item-name" }, zE = { class: "btn-group" }, jE = {
11983
+ }), Eh = /* @__PURE__ */ pe(IE, [["__scopeId", "data-v-a678a49c"]]), A1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: Eh }, Symbol.toStringTag, { value: "Module" })), ME = { class: "setting-content" }, VE = { class: "setting-header flex items-center mb-10" }, LE = { class: "header-title" }, OE = { class: "setting-header flex items-center" }, QE = { class: "header-title" }, UE = { class: "setting-header flex items-center" }, HE = { class: "header-title" }, FE = { class: "setting-body" }, RE = { class: "setting-item" }, NE = { class: "item-name" }, zE = { class: "btn-group" }, jE = {
11984
11984
  key: 0,
11985
11985
  class: "drag-handle"
11986
11986
  }, qE = { class: "item-action flex items-center" }, YE = { style: { "font-size": "12px", color: "#999" } }, GE = { class: "btn-text" }, KE = /* @__PURE__ */ we({
@@ -13395,7 +13395,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
13395
13395
  },
13396
13396
  emits: ["update:show"],
13397
13397
  setup(t, { emit: e }) {
13398
- const n = et(() => import("./index-D5W5s7Hy.mjs")), a = t, { t: i } = xe(() => a.locale), s = e, l = () => {
13398
+ const n = et(() => import("./index-CdQMr7F9.mjs")), a = t, { t: i } = xe(() => a.locale), s = e, l = () => {
13399
13399
  s("update:show", !1);
13400
13400
  };
13401
13401
  return (o, d) => {
@@ -13622,7 +13622,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
13622
13622
  },
13623
13623
  emits: ["update:show"],
13624
13624
  setup(t, { emit: e }) {
13625
- const n = et(() => import("vuedraggable")), a = et(() => import("./index-D5W5s7Hy.mjs")), i = N(!1), s = W(() => ({
13625
+ const n = et(() => import("vuedraggable")), a = et(() => import("./index-CdQMr7F9.mjs")), i = N(!1), s = W(() => ({
13626
13626
  animation: 200,
13627
13627
  group: "links",
13628
13628
  // 链接专用分组
@@ -13874,7 +13874,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
13874
13874
  }, 8, ["visible"]);
13875
13875
  };
13876
13876
  }
13877
- }), tP = /* @__PURE__ */ pe(eP, [["__scopeId", "data-v-e0b03915"]]), nP = ["innerHTML"], aP = { class: "circle-link" }, iP = ["href"], sP = ["onClick"], oP = /* @__PURE__ */ we({
13877
+ }), tP = /* @__PURE__ */ pe(eP, [["__scopeId", "data-v-5366fabc"]]), nP = ["innerHTML"], aP = { class: "circle-link" }, iP = ["href"], sP = ["onClick"], oP = /* @__PURE__ */ we({
13878
13878
  name: "ArticleItem",
13879
13879
  __name: "index",
13880
13880
  props: {
@@ -14016,7 +14016,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
14016
14016
  ], 64);
14017
14017
  };
14018
14018
  }
14019
- }), Mh = /* @__PURE__ */ pe(oP, [["__scopeId", "data-v-17a4c787"]]), C1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: Mh }, Symbol.toStringTag, { value: "Module" })), lP = { class: "setting-content" }, rP = { class: "setting-header flex items-center mb-10" }, dP = { class: "header-title" }, uP = { class: "setting-header flex items-center" }, cP = { class: "header-title" }, hP = { class: "setting-body" }, gP = { class: "item-title" }, fP = { class: "item-title" }, mP = { class: "item-title" }, pP = /* @__PURE__ */ we({
14019
+ }), Mh = /* @__PURE__ */ pe(oP, [["__scopeId", "data-v-2cf013b3"]]), C1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: Mh }, Symbol.toStringTag, { value: "Module" })), lP = { class: "setting-content" }, rP = { class: "setting-header flex items-center mb-10" }, dP = { class: "header-title" }, uP = { class: "setting-header flex items-center" }, cP = { class: "header-title" }, hP = { class: "setting-body" }, gP = { class: "item-title" }, fP = { class: "item-title" }, mP = { class: "item-title" }, pP = /* @__PURE__ */ we({
14020
14020
  __name: "setting",
14021
14021
  props: {
14022
14022
  show: {
@@ -14035,7 +14035,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
14035
14035
  },
14036
14036
  emits: ["update:show"],
14037
14037
  setup(t, { emit: e }) {
14038
- const n = et(() => import("./index-D5W5s7Hy.mjs")), a = t, { t: i } = xe(() => a.locale), s = e, l = () => {
14038
+ const n = et(() => import("./index-CdQMr7F9.mjs")), a = t, { t: i } = xe(() => a.locale), s = e, l = () => {
14039
14039
  s("update:show", !1);
14040
14040
  };
14041
14041
  return (o, d) => {
@@ -14582,7 +14582,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
14582
14582
  },
14583
14583
  emits: ["update:show"],
14584
14584
  setup(t, { emit: e }) {
14585
- const n = et(() => import("vuedraggable")), a = et(() => import("./index-D5W5s7Hy.mjs")), i = N(!1), s = W(() => ({
14585
+ const n = et(() => import("vuedraggable")), a = et(() => import("./index-CdQMr7F9.mjs")), i = N(!1), s = W(() => ({
14586
14586
  animation: 200,
14587
14587
  group: "gallerys",
14588
14588
  // 链接专用分组
@@ -16365,7 +16365,7 @@ const hn = k1(), CS = k1(), xS = ["onClick"], DS = /* @__PURE__ */ we({
16365
16365
  },
16366
16366
  emits: ["update:show"],
16367
16367
  setup(t, { emit: e }) {
16368
- const n = et(() => import("vuedraggable")), a = et(() => import("./index-D5W5s7Hy.mjs")), i = N(!1), s = W(() => ({
16368
+ const n = et(() => import("vuedraggable")), a = et(() => import("./index-CdQMr7F9.mjs")), i = N(!1), s = W(() => ({
16369
16369
  animation: 200,
16370
16370
  group: "gallerys",
16371
16371
  // 链接专用分组
@@ -17666,7 +17666,7 @@ const hn = k1(), CS = k1(), xS = ["onClick"], DS = /* @__PURE__ */ we({
17666
17666
  emits: ["update:show"],
17667
17667
  setup(t, { emit: e }) {
17668
17668
  const n = et(
17669
- () => import("./index-D5W5s7Hy.mjs")
17669
+ () => import("./index-CdQMr7F9.mjs")
17670
17670
  ), a = t, { t: i } = xe(() => a.locale), s = e, l = () => {
17671
17671
  s("update:show", !1);
17672
17672
  };
@@ -19281,7 +19281,7 @@ const hn = k1(), CS = k1(), xS = ["onClick"], DS = /* @__PURE__ */ we({
19281
19281
  setup(t, { emit: e }) {
19282
19282
  var V;
19283
19283
  const n = et(() => import("vuedraggable")), a = et(
19284
- () => import("./index-D5W5s7Hy.mjs")
19284
+ () => import("./index-CdQMr7F9.mjs")
19285
19285
  ), i = W(() => ({
19286
19286
  animation: 200,
19287
19287
  group: "linkList",
@@ -21788,7 +21788,7 @@ const zU = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAJYCAYAAAApNz8GAA
21788
21788
  emits: ["update:show"],
21789
21789
  setup(t, { emit: e }) {
21790
21790
  const n = et(
21791
- () => import("./index-D5W5s7Hy.mjs")
21791
+ () => import("./index-CdQMr7F9.mjs")
21792
21792
  ), a = et(() => import("vuedraggable")), i = t, { t: s } = xe(() => i.locale), l = N(!1), o = N(/* @__PURE__ */ new Set()), d = N(/* @__PURE__ */ new Set());
21793
21793
  je(
21794
21794
  () => {
@@ -24997,7 +24997,7 @@ const zU = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAJYCAYAAAApNz8GAA
24997
24997
  t.index < t.maxIndex ? (y(), P("div", Xz, " OR ")) : K("", !0)
24998
24998
  ]));
24999
24999
  }
25000
- }), z1 = /* @__PURE__ */ pe(Jz, [["__scopeId", "data-v-af018efe"]]), Zz = { class: "setting-content" }, _z = { class: "setting-header flex items-center mb-10" }, $z = { class: "header-title" }, ej = { class: "setting-header flex items-center" }, tj = { class: "header-title" }, nj = { class: "setting-header flex items-center" }, aj = { class: "header-title" }, ij = { class: "setting-body" }, sj = { class: "setting-item" }, oj = { class: "btn-group" }, lj = {
25000
+ }), z1 = /* @__PURE__ */ pe(Jz, [["__scopeId", "data-v-3f142130"]]), Zz = { class: "setting-content" }, _z = { class: "setting-header flex items-center mb-10" }, $z = { class: "header-title" }, ej = { class: "setting-header flex items-center" }, tj = { class: "header-title" }, nj = { class: "setting-header flex items-center" }, aj = { class: "header-title" }, ij = { class: "setting-body" }, sj = { class: "setting-item" }, oj = { class: "btn-group" }, lj = {
25001
25001
  key: 0,
25002
25002
  class: "drag-handle"
25003
25003
  }, rj = { class: "item-title" }, dj = { class: "item-title" }, uj = { class: "btn-text" }, cj = /* @__PURE__ */ we({
@@ -25020,7 +25020,7 @@ const zU = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAJYCAYAAAApNz8GAA
25020
25020
  },
25021
25021
  emits: ["update:show"],
25022
25022
  setup(t, { emit: e }) {
25023
- const n = et(() => import("vuedraggable")), a = et(() => import("./index-D5W5s7Hy.mjs")), i = N(!1), s = W(() => ({
25023
+ const n = et(() => import("vuedraggable")), a = et(() => import("./index-CdQMr7F9.mjs")), i = N(!1), s = W(() => ({
25024
25024
  animation: 200,
25025
25025
  group: "data",
25026
25026
  // 专用分组
@@ -25213,7 +25213,7 @@ const zU = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAJYCAYAAAApNz8GAA
25213
25213
  }, 8, ["visible"]);
25214
25214
  };
25215
25215
  }
25216
- }), hj = /* @__PURE__ */ pe(cj, [["__scopeId", "data-v-7dbf08f4"]]), gj = /* @__PURE__ */ we({
25216
+ }), hj = /* @__PURE__ */ pe(cj, [["__scopeId", "data-v-fda36c88"]]), gj = /* @__PURE__ */ we({
25217
25217
  name: "BasicCollapse",
25218
25218
  __name: "index",
25219
25219
  props: {
@@ -25353,7 +25353,7 @@ const zU = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAJYCAYAAAApNz8GAA
25353
25353
  },
25354
25354
  emits: ["update:show"],
25355
25355
  setup(t, { emit: e }) {
25356
- const n = et(() => import("vuedraggable")), a = et(() => import("./index-D5W5s7Hy.mjs")), i = N(!1), s = W(() => ({
25356
+ const n = et(() => import("vuedraggable")), a = et(() => import("./index-CdQMr7F9.mjs")), i = N(!1), s = W(() => ({
25357
25357
  animation: 200,
25358
25358
  group: "data",
25359
25359
  // 专用分组
@@ -28816,7 +28816,7 @@ const Sq = /* @__PURE__ */ Hs(Pq), Iq = { class: "setting-content" }, Mq = { cla
28816
28816
  emits: ["update:show"],
28817
28817
  setup(t, { emit: e }) {
28818
28818
  const n = et(
28819
- () => import("./index-D5W5s7Hy.mjs")
28819
+ () => import("./index-CdQMr7F9.mjs")
28820
28820
  ), a = t, { t: i } = xe(() => a.locale), s = e, l = () => {
28821
28821
  s("update:show", !1);
28822
28822
  };
@@ -28942,7 +28942,7 @@ const Sq = /* @__PURE__ */ Hs(Pq), Iq = { class: "setting-content" }, Mq = { cla
28942
28942
  }, 8, ["visible"]);
28943
28943
  };
28944
28944
  }
28945
- }), uK = /* @__PURE__ */ pe(dK, [["__scopeId", "data-v-b3be3cfb"]]), cK = ["id"], hK = ["innerHTML"], gK = ["innerHTML"], fK = /* @__PURE__ */ we({
28945
+ }), uK = /* @__PURE__ */ pe(dK, [["__scopeId", "data-v-99f82ede"]]), cK = ["id"], hK = ["innerHTML"], gK = ["innerHTML"], fK = /* @__PURE__ */ we({
28946
28946
  name: "CustomText",
28947
28947
  __name: "index",
28948
28948
  props: {
@@ -29054,7 +29054,7 @@ const Sq = /* @__PURE__ */ Hs(Pq), Iq = { class: "setting-content" }, Mq = { cla
29054
29054
  ], 64);
29055
29055
  };
29056
29056
  }
29057
- }), ag = /* @__PURE__ */ pe(fK, [["__scopeId", "data-v-aeef2f90"]]), e0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: ag }, Symbol.toStringTag, { value: "Module" })), mK = { class: "setting-content" }, pK = { class: "setting-header flex items-center mb-10" }, AK = { class: "header-title" }, vK = { class: "item-title" }, yK = { class: "item-title" }, wK = ["src"], bK = { class: "item-uplaod flex items-center" }, CK = { class: "item-title" }, xK = { class: "item-title" }, DK = /* @__PURE__ */ we({
29057
+ }), ag = /* @__PURE__ */ pe(fK, [["__scopeId", "data-v-7417282d"]]), e0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: ag }, Symbol.toStringTag, { value: "Module" })), mK = { class: "setting-content" }, pK = { class: "setting-header flex items-center mb-10" }, AK = { class: "header-title" }, vK = { class: "item-title" }, yK = { class: "item-title" }, wK = ["src"], bK = { class: "item-uplaod flex items-center" }, CK = { class: "item-title" }, xK = { class: "item-title" }, DK = /* @__PURE__ */ we({
29058
29058
  __name: "setting",
29059
29059
  props: {
29060
29060
  show: {
@@ -29074,7 +29074,7 @@ const Sq = /* @__PURE__ */ Hs(Pq), Iq = { class: "setting-content" }, Mq = { cla
29074
29074
  emits: ["update:show"],
29075
29075
  setup(t, { emit: e }) {
29076
29076
  const n = et(
29077
- () => import("./index-D5W5s7Hy.mjs")
29077
+ () => import("./index-CdQMr7F9.mjs")
29078
29078
  ), a = t, { t: i } = xe(() => a.locale), s = e, l = () => {
29079
29079
  s("update:show", !1);
29080
29080
  };
@@ -35840,7 +35840,7 @@ const rZ = {
35840
35840
  },
35841
35841
  emits: ["update:show"],
35842
35842
  setup(t, { emit: e }) {
35843
- const n = et(() => import("vuedraggable")), a = et(() => import("./index-D5W5s7Hy.mjs")), i = N(!1), s = W(() => ({
35843
+ const n = et(() => import("vuedraggable")), a = et(() => import("./index-CdQMr7F9.mjs")), i = N(!1), s = W(() => ({
35844
35844
  animation: 200,
35845
35845
  group: "programmes",
35846
35846
  // 链接专用分组
@@ -76446,7 +76446,7 @@ const Sge = /* @__PURE__ */ Hs(Pge), Ige = { class: "setting-content" }, Mge = {
76446
76446
  [i, b]
76447
76447
  ]);
76448
76448
  }
76449
- }, TA = /* @__PURE__ */ pe(bfe, [["__scopeId", "data-v-c3274f32"]]), Cfe = { class: "setting-content" }, xfe = { class: "setting-header flex items-center mb-10" }, Dfe = { class: "header-title" }, kfe = { class: "setting-header flex items-center" }, Bfe = { class: "header-title" }, Efe = { class: "setting-body" }, Tfe = { class: "setting-item" }, Pfe = { class: "item-header" }, Sfe = { class: "btn-group" }, Ife = {
76449
+ }, TA = /* @__PURE__ */ pe(bfe, [["__scopeId", "data-v-536804a2"]]), Cfe = { class: "setting-content" }, xfe = { class: "setting-header flex items-center mb-10" }, Dfe = { class: "header-title" }, kfe = { class: "setting-header flex items-center" }, Bfe = { class: "header-title" }, Efe = { class: "setting-body" }, Tfe = { class: "setting-item" }, Pfe = { class: "item-header" }, Sfe = { class: "btn-group" }, Ife = {
76450
76450
  key: 0,
76451
76451
  class: "drag-handle"
76452
76452
  }, Mfe = { key: 0 }, Vfe = { class: "item-header" }, Lfe = { class: "btn-group" }, Ofe = {
@@ -77716,7 +77716,7 @@ const Sge = /* @__PURE__ */ Hs(Pge), Ige = { class: "setting-content" }, Mge = {
77716
77716
  },
77717
77717
  emits: ["update:show"],
77718
77718
  setup(t, { emit: e }) {
77719
- const n = et(() => import("vuedraggable")), a = et(() => import("./index-D5W5s7Hy.mjs")), i = N(!1), s = W(() => ({
77719
+ const n = et(() => import("vuedraggable")), a = et(() => import("./index-CdQMr7F9.mjs")), i = N(!1), s = W(() => ({
77720
77720
  animation: 200,
77721
77721
  group: "gallerys",
77722
77722
  disabled: !1,
@@ -77917,7 +77917,7 @@ const Sge = /* @__PURE__ */ Hs(Pge), Ige = { class: "setting-content" }, Mge = {
77917
77917
  }, 8, ["visible"]);
77918
77918
  };
77919
77919
  }
77920
- }), Yme = /* @__PURE__ */ pe(qme, [["__scopeId", "data-v-e0d1e189"]]), Gme = ["id"], Kme = ["id"], Wme = ["onClick"], Xme = { class: "accordion-button__title" }, Jme = ["id", "aria-expanded", "aria-labelledby"], Zme = { class: "accordion-body" }, _me = ["innerHTML"], $me = { class: "flex-center mt-10" }, epe = { class: "btn--udrline" }, tpe = {
77920
+ }), Yme = /* @__PURE__ */ pe(qme, [["__scopeId", "data-v-1195c237"]]), Gme = ["id"], Kme = ["id"], Wme = ["onClick"], Xme = { class: "accordion-button__title" }, Jme = ["id", "aria-expanded", "aria-labelledby"], Zme = { class: "accordion-body" }, _me = ["innerHTML"], $me = { class: "flex-center mt-10" }, epe = { class: "btn--udrline" }, tpe = {
77921
77921
  __name: "index",
77922
77922
  props: {
77923
77923
  modelValue: {
@@ -78122,7 +78122,7 @@ const Sge = /* @__PURE__ */ Hs(Pge), Ige = { class: "setting-content" }, Mge = {
78122
78122
  ], 46, Gme)) : K("", !0);
78123
78123
  };
78124
78124
  }
78125
- }, Bf = /* @__PURE__ */ pe(tpe, [["__scopeId", "data-v-c477e9eb"]]), _y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: Bf }, Symbol.toStringTag, { value: "Module" })), npe = { class: "setting-content" }, ape = { class: "setting-header flex items-center mb-10" }, ipe = { class: "header-title" }, spe = { class: "setting-header flex items-center" }, ope = { class: "header-title" }, lpe = { class: "setting-header flex items-center" }, rpe = { class: "header-title" }, dpe = { class: "setting-body" }, upe = { class: "item-title" }, cpe = /* @__PURE__ */ we({
78125
+ }, Bf = /* @__PURE__ */ pe(tpe, [["__scopeId", "data-v-be857df4"]]), _y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: Bf }, Symbol.toStringTag, { value: "Module" })), npe = { class: "setting-content" }, ape = { class: "setting-header flex items-center mb-10" }, ipe = { class: "header-title" }, spe = { class: "setting-header flex items-center" }, ope = { class: "header-title" }, lpe = { class: "setting-header flex items-center" }, rpe = { class: "header-title" }, dpe = { class: "setting-body" }, upe = { class: "item-title" }, cpe = /* @__PURE__ */ we({
78126
78126
  __name: "setting",
78127
78127
  props: {
78128
78128
  show: {
@@ -1 +1 @@
1
- "use strict";var N=Object.defineProperty;var O=(u,r,i)=>r in u?N(u,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):u[r]=i;var c=(u,r,i)=>O(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"),T=require("./index-CpAh1I47.js"),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,m=i,o=t.shallowRef(),d=t.ref(""),V=t.computed(()=>typeof a.height=="number"?`${a.height}px`:a.height),C=t.inject("handleUpload",()=>{}),F=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,()=>{F.value=null},{deep:!0,immediate:!0}),t.watch(()=>[F==null?void 0:F.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]},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)},H=()=>{o.value=void 0},j=e=>{m("focus",e)},K=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",{class:t.normalizeClass(["rich-text-editor",e.class])},[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:z,onOnDestroyed:H,onOnFocus:j,onOnBlur:K},null,8,["style","modelValue","mode"])],2))}}),U=T._(L,[["__scopeId","data-v-c243ccd3"]]);exports.default=U;
1
+ "use strict";var N=Object.defineProperty;var O=(u,r,i)=>r in u?N(u,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):u[r]=i;var c=(u,r,i)=>O(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"),T=require("./index-mMtL1Xoq.js"),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,m=i,o=t.shallowRef(),d=t.ref(""),V=t.computed(()=>typeof a.height=="number"?`${a.height}px`:a.height),C=t.inject("handleUpload",()=>{}),F=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,()=>{F.value=null},{deep:!0,immediate:!0}),t.watch(()=>[F==null?void 0:F.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]},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)},H=()=>{o.value=void 0},j=e=>{m("focus",e)},K=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",{class:t.normalizeClass(["rich-text-editor",e.class])},[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:z,onOnDestroyed:H,onOnFocus:j,onOnBlur:K},null,8,["style","modelValue","mode"])],2))}}),U=T._(L,[["__scopeId","data-v-c243ccd3"]]);exports.default=U;