officialblock 2.5.1 → 2.5.2

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";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-CiSutNYg.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-Cag1sBFX.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=$;
@@ -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-B0LYPzRH.mjs";
7
+ import { a as X } from "./index-CBwLtk5z.mjs";
8
8
  const Y = { class: "rich-text-editor" }, Z = /* @__PURE__ */ A({
9
9
  __name: "index",
10
10
  props: {
@@ -488,7 +488,7 @@ const _b = ["innerHTML"], bb = ["innerHTML"], wb = /* @__PURE__ */ fe({
488
488
  },
489
489
  emits: ["update:show"],
490
490
  setup(t, { emit: e }) {
491
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-D4L9cMVv.mjs")), i = U(!1), a = q(() => ({
491
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C0dqzPsQ.mjs")), i = U(!1), a = q(() => ({
492
492
  animation: 200,
493
493
  group: "item",
494
494
  disabled: !1,
@@ -3127,7 +3127,7 @@ const _b = ["innerHTML"], bb = ["innerHTML"], wb = /* @__PURE__ */ fe({
3127
3127
  },
3128
3128
  emits: ["update:show"],
3129
3129
  setup(t, { emit: e }) {
3130
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-D4L9cMVv.mjs")), i = U(!1), a = q(() => ({
3130
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C0dqzPsQ.mjs")), i = U(!1), a = q(() => ({
3131
3131
  animation: 200,
3132
3132
  group: "gallerys",
3133
3133
  // 链接专用分组
@@ -4712,7 +4712,7 @@ const ox = { class: "gallery-container gallery-timeline container-content" }, rx
4712
4712
  },
4713
4713
  emits: ["update:show"],
4714
4714
  setup(t, { emit: e }) {
4715
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-D4L9cMVv.mjs")), i = U(!1), a = q(() => ({
4715
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C0dqzPsQ.mjs")), i = U(!1), a = q(() => ({
4716
4716
  animation: 200,
4717
4717
  group: "gallerys",
4718
4718
  // 链接专用分组
@@ -6065,7 +6065,7 @@ const ox = { class: "gallery-container gallery-timeline container-content" }, rx
6065
6065
  },
6066
6066
  emits: ["update:show"],
6067
6067
  setup(t, { emit: e }) {
6068
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-D4L9cMVv.mjs")), i = U(!1), a = q(() => ({
6068
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C0dqzPsQ.mjs")), i = U(!1), a = q(() => ({
6069
6069
  animation: 200,
6070
6070
  group: "btns",
6071
6071
  // 链接专用分组
@@ -6833,7 +6833,7 @@ const ox = { class: "gallery-container gallery-timeline container-content" }, rx
6833
6833
  }
6834
6834
  },
6835
6835
  setup(t) {
6836
- const e = qe(() => import("vuedraggable")), n = qe(() => import("./index-D4L9cMVv.mjs")), s = U(!1), i = q(() => ({
6836
+ const e = qe(() => import("vuedraggable")), n = qe(() => import("./index-C0dqzPsQ.mjs")), s = U(!1), i = q(() => ({
6837
6837
  animation: 200,
6838
6838
  group: "buttons",
6839
6839
  // 按钮专用分组
@@ -8879,7 +8879,7 @@ const ox = { class: "gallery-container gallery-timeline container-content" }, rx
8879
8879
  },
8880
8880
  emits: ["update:show"],
8881
8881
  setup(t, { emit: e }) {
8882
- const n = qe(() => import("./index-D4L9cMVv.mjs")), s = e, i = () => {
8882
+ const n = qe(() => import("./index-C0dqzPsQ.mjs")), s = e, i = () => {
8883
8883
  s("update:show", !1);
8884
8884
  };
8885
8885
  return (a, l) => {
@@ -10296,7 +10296,7 @@ const ox = { class: "gallery-container gallery-timeline container-content" }, rx
10296
10296
  },
10297
10297
  emits: ["update:show"],
10298
10298
  setup(t, { emit: e }) {
10299
- const n = qe(() => import("./index-D4L9cMVv.mjs")), s = e, i = () => {
10299
+ const n = qe(() => import("./index-C0dqzPsQ.mjs")), s = e, i = () => {
10300
10300
  s("update:show", !1);
10301
10301
  };
10302
10302
  return (a, l) => {
@@ -10478,7 +10478,7 @@ const ox = { class: "gallery-container gallery-timeline container-content" }, rx
10478
10478
  },
10479
10479
  emits: ["update:show"],
10480
10480
  setup(t, { emit: e }) {
10481
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-D4L9cMVv.mjs")), i = U(!1), a = q(() => ({
10481
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C0dqzPsQ.mjs")), i = U(!1), a = q(() => ({
10482
10482
  animation: 200,
10483
10483
  group: "links",
10484
10484
  // 链接专用分组
@@ -10818,7 +10818,7 @@ const ox = { class: "gallery-container gallery-timeline container-content" }, rx
10818
10818
  },
10819
10819
  emits: ["update:show"],
10820
10820
  setup(t, { emit: e }) {
10821
- const n = qe(() => import("./index-D4L9cMVv.mjs")), s = e, i = () => {
10821
+ const n = qe(() => import("./index-C0dqzPsQ.mjs")), s = e, i = () => {
10822
10822
  s("update:show", !1);
10823
10823
  };
10824
10824
  return (a, l) => {
@@ -11299,7 +11299,7 @@ const ox = { class: "gallery-container gallery-timeline container-content" }, rx
11299
11299
  },
11300
11300
  emits: ["update:show"],
11301
11301
  setup(t, { emit: e }) {
11302
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-D4L9cMVv.mjs")), i = U(!1), a = q(() => ({
11302
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C0dqzPsQ.mjs")), i = U(!1), a = q(() => ({
11303
11303
  animation: 200,
11304
11304
  group: "gallerys",
11305
11305
  // 链接专用分组
@@ -12906,7 +12906,7 @@ const bn = W0(), R9 = W0(), N9 = { class: "list-sort" }, F9 = ["onClick"], H9 =
12906
12906
  },
12907
12907
  emits: ["update:show"],
12908
12908
  setup(t, { emit: e }) {
12909
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-D4L9cMVv.mjs")), i = U(!1), a = q(() => ({
12909
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C0dqzPsQ.mjs")), i = U(!1), a = q(() => ({
12910
12910
  animation: 200,
12911
12911
  group: "gallerys",
12912
12912
  // 链接专用分组
@@ -14087,7 +14087,7 @@ const bn = W0(), R9 = W0(), N9 = { class: "list-sort" }, F9 = ["onClick"], H9 =
14087
14087
  emits: ["update:show"],
14088
14088
  setup(t, { emit: e }) {
14089
14089
  const n = qe(
14090
- () => import("./index-D4L9cMVv.mjs")
14090
+ () => import("./index-C0dqzPsQ.mjs")
14091
14091
  ), s = e, i = () => {
14092
14092
  s("update:show", !1);
14093
14093
  };
@@ -15508,7 +15508,7 @@ const bn = W0(), R9 = W0(), N9 = { class: "list-sort" }, F9 = ["onClick"], H9 =
15508
15508
  setup(t, { emit: e }) {
15509
15509
  var C;
15510
15510
  const n = qe(() => import("vuedraggable")), s = qe(
15511
- () => import("./index-D4L9cMVv.mjs")
15511
+ () => import("./index-C0dqzPsQ.mjs")
15512
15512
  ), i = q(() => ({
15513
15513
  animation: 200,
15514
15514
  group: "links",
@@ -17617,7 +17617,7 @@ const bn = W0(), R9 = W0(), N9 = { class: "list-sort" }, F9 = ["onClick"], H9 =
17617
17617
  emits: ["update:show"],
17618
17618
  setup(t, { emit: e }) {
17619
17619
  const n = qe(
17620
- () => import("./index-D4L9cMVv.mjs")
17620
+ () => import("./index-C0dqzPsQ.mjs")
17621
17621
  ), s = qe(() => import("vuedraggable")), i = t, a = U(!1), l = U(/* @__PURE__ */ new Set()), r = U(/* @__PURE__ */ new Set());
17622
17622
  Ue(
17623
17623
  () => {
@@ -20779,7 +20779,7 @@ const bn = W0(), R9 = W0(), N9 = { class: "list-sort" }, F9 = ["onClick"], H9 =
20779
20779
  },
20780
20780
  emits: ["update:show"],
20781
20781
  setup(t, { emit: e }) {
20782
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-D4L9cMVv.mjs")), i = U(!1), a = q(() => ({
20782
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C0dqzPsQ.mjs")), i = U(!1), a = q(() => ({
20783
20783
  animation: 200,
20784
20784
  group: "data",
20785
20785
  // 专用分组
@@ -21068,7 +21068,7 @@ const bn = W0(), R9 = W0(), N9 = { class: "list-sort" }, F9 = ["onClick"], H9 =
21068
21068
  },
21069
21069
  emits: ["update:show"],
21070
21070
  setup(t, { emit: e }) {
21071
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-D4L9cMVv.mjs")), i = U(!1), a = q(() => ({
21071
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C0dqzPsQ.mjs")), i = U(!1), a = q(() => ({
21072
21072
  animation: 200,
21073
21073
  group: "data",
21074
21074
  // 专用分组
@@ -24540,7 +24540,7 @@ const oU = /* @__PURE__ */ La(lU), rU = { class: "setting-content" }, dU = { cla
24540
24540
  emits: ["update:show"],
24541
24541
  setup(t, { emit: e }) {
24542
24542
  const n = qe(
24543
- () => import("./index-D4L9cMVv.mjs")
24543
+ () => import("./index-C0dqzPsQ.mjs")
24544
24544
  ), s = e, i = () => {
24545
24545
  s("update:show", !1);
24546
24546
  };
@@ -24756,7 +24756,7 @@ const oU = /* @__PURE__ */ La(lU), rU = { class: "setting-content" }, dU = { cla
24756
24756
  emits: ["update:show"],
24757
24757
  setup(t, { emit: e }) {
24758
24758
  const n = qe(
24759
- () => import("./index-D4L9cMVv.mjs")
24759
+ () => import("./index-C0dqzPsQ.mjs")
24760
24760
  ), s = e, i = () => {
24761
24761
  s("update:show", !1);
24762
24762
  };
@@ -24972,7 +24972,7 @@ const oU = /* @__PURE__ */ La(lU), rU = { class: "setting-content" }, dU = { cla
24972
24972
  emits: ["update:show"],
24973
24973
  setup(t, { emit: e }) {
24974
24974
  qe(
24975
- () => import("./index-D4L9cMVv.mjs")
24975
+ () => import("./index-C0dqzPsQ.mjs")
24976
24976
  );
24977
24977
  const n = e, s = () => {
24978
24978
  n("update:show", !1);
@@ -28567,7 +28567,7 @@ const qH = { key: 0 }, zH = {
28567
28567
  },
28568
28568
  emits: ["handleDelete", "handleCopy", "handlePaste", "handleClick"],
28569
28569
  setup(t, { emit: e }) {
28570
- const n = /* @__PURE__ */ Object.assign({ "/src/components/AccordionText/index.vue": () => Promise.resolve().then(() => _ie), "/src/components/AlummiCommunityList/index.vue": () => Promise.resolve().then(() => mN), "/src/components/ArticleItem/index.vue": () => Promise.resolve().then(() => US), "/src/components/ArticleList/index.vue": () => Promise.resolve().then(() => Nw), "/src/components/ArticleListPureText/index.vue": () => Promise.resolve().then(() => aN), "/src/components/BackgroundWrapper/index.vue": () => Promise.resolve().then(() => Xte), "/src/components/BannerImage/index.vue": () => Promise.resolve().then(() => s8), "/src/components/BannerImageWithLink/index.vue": () => Promise.resolve().then(() => ZP), "/src/components/BannerPage/index.vue": () => Promise.resolve().then(() => f8), "/src/components/BannerQuote/index.vue": () => Promise.resolve().then(() => bS), "/src/components/BasicCollapse/index.vue": () => Promise.resolve().then(() => lM), "/src/components/BlessingMessage/index.vue": () => Promise.resolve().then(() => tF), "/src/components/BlessingSlider/index.vue": () => Promise.resolve().then(() => vF), "/src/components/BtnList/index.vue": () => Promise.resolve().then(() => O8), "/src/components/CardCarousel/index.vue": () => Promise.resolve().then(() => Uk), "/src/components/CardCarouselArticles/index.vue": () => Promise.resolve().then(() => JB), "/src/components/CardCarouselMultiRow/index.vue": () => Promise.resolve().then(() => aS), "/src/components/CardCarouselMultiRowArticles/index.vue": () => Promise.resolve().then(() => hR), "/src/components/CardCarouselMultiRowPublications/index.vue": () => Promise.resolve().then(() => aj), "/src/components/CardListCircle/index.vue": () => Promise.resolve().then(() => Yq), "/src/components/CardListProgramme/index.vue": () => Promise.resolve().then(() => Tz), "/src/components/CardListSchool/index.vue": () => Promise.resolve().then(() => tW), "/src/components/CardShowcase/index.vue": () => Promise.resolve().then(() => XF), "/src/components/CardShowcaseProfile/index.vue": () => Promise.resolve().then(() => vE), "/src/components/CarouselLogo/index.vue": () => Promise.resolve().then(() => eI), "/src/components/CollapseCustom/index.vue": () => Promise.resolve().then(() => Pne), "/src/components/ContactUsInfo/index.vue": () => Promise.resolve().then(() => BD), "/src/components/ContactUsList/index.vue": () => Promise.resolve().then(() => mP), "/src/components/CountDown/index.vue": () => Promise.resolve().then(() => OE), "/src/components/CustomIframe/index.vue": () => Promise.resolve().then(() => WE), "/src/components/CustomSpace/index.vue": () => Promise.resolve().then(() => E5), "/src/components/CustomText/index.vue": () => Promise.resolve().then(() => wR), "/src/components/DetailLink/index.vue": () => Promise.resolve().then(() => uW), "/src/components/Disc/index.vue": () => Promise.resolve().then(() => zO), "/src/components/DonorLinks/index.vue": () => Promise.resolve().then(() => ik), "/src/components/ExploreLinks/index.vue": () => Promise.resolve().then(() => iH), "/src/components/GalleryBlock/index.vue": () => Promise.resolve().then(() => IB), "/src/components/GalleryCaptionRound/index.vue": () => Promise.resolve().then(() => P3), "/src/components/GalleryDefault/index.vue": () => Promise.resolve().then(() => s3), "/src/components/GalleryList/index.vue": () => Promise.resolve().then(() => M6), "/src/components/GalleryTimeline/index.vue": () => Promise.resolve().then(() => Cx), "/src/components/GalleryTimelineCol/index.vue": () => Promise.resolve().then(() => r4), "/src/components/GridLinks/index.vue": () => Promise.resolve().then(() => Qse), "/src/components/HeroSlide/index.vue": () => Promise.resolve().then(() => gT), "/src/components/InformationLink/index.vue": () => Promise.resolve().then(() => Eee), "/src/components/LinkList/index.vue": () => Promise.resolve().then(() => $T), "/src/components/MapStatic/index.vue": () => Promise.resolve().then(() => SL), "/src/components/MediaImageFull/index.vue": () => Promise.resolve().then(() => IR), "/src/components/MediaImageStatic/index.vue": () => Promise.resolve().then(() => WR), "/src/components/MediaLogo/index.vue": () => Promise.resolve().then(() => nU), "/src/components/MediaVideo/index.vue": () => Promise.resolve().then(() => vee), "/src/components/NewsList/index.vue": () => Promise.resolve().then(() => B7), "/src/components/Process/index.vue": () => Promise.resolve().then(() => w5), "/src/components/Publications/index.vue": () => Promise.resolve().then(() => MA), "/src/components/QuoteText/index.vue": () => import("./index-DntuPbti.mjs"), "/src/components/RegisterForm/index.vue": () => Promise.resolve().then(() => mB), "/src/components/Resources/index.vue": () => Promise.resolve().then(() => KI), "/src/components/ResourcesTwo/index.vue": () => Promise.resolve().then(() => pO), "/src/components/RibbonBlock/index.vue": () => Promise.resolve().then(() => XS), "/src/components/SchoolLayout/index.vue": () => Promise.resolve().then(() => XH), "/src/components/ScrollKeyInfo/index.vue": () => Promise.resolve().then(() => G$), "/src/components/TabDefault/index.vue": () => Promise.resolve().then(() => zj), "/src/components/TabLogo/index.vue": () => Promise.resolve().then(() => $te), "/src/components/TabPage/index.vue": () => Promise.resolve().then(() => lte), "/src/components/TabTimeLine/index.vue": () => Promise.resolve().then(() => Tq), "/src/components/TableCollapse/index.vue": () => Promise.resolve().then(() => MM), "/src/components/TableTwo/index.vue": () => Promise.resolve().then(() => MP), "/src/components/TheHistoryCarousel/index.vue": () => Promise.resolve().then(() => BV), "/src/components/TimelineStory/index.vue": () => Promise.resolve().then(() => B9), "/src/components/VrTour/index.vue": () => Promise.resolve().then(() => Ase) }), s = {};
28570
+ const n = /* @__PURE__ */ Object.assign({ "/src/components/AccordionText/index.vue": () => Promise.resolve().then(() => _ie), "/src/components/AlummiCommunityList/index.vue": () => Promise.resolve().then(() => mN), "/src/components/ArticleItem/index.vue": () => Promise.resolve().then(() => US), "/src/components/ArticleList/index.vue": () => Promise.resolve().then(() => Nw), "/src/components/ArticleListPureText/index.vue": () => Promise.resolve().then(() => aN), "/src/components/BackgroundWrapper/index.vue": () => Promise.resolve().then(() => Xte), "/src/components/BannerImage/index.vue": () => Promise.resolve().then(() => s8), "/src/components/BannerImageWithLink/index.vue": () => Promise.resolve().then(() => ZP), "/src/components/BannerPage/index.vue": () => Promise.resolve().then(() => f8), "/src/components/BannerQuote/index.vue": () => Promise.resolve().then(() => bS), "/src/components/BasicCollapse/index.vue": () => Promise.resolve().then(() => lM), "/src/components/BlessingMessage/index.vue": () => Promise.resolve().then(() => tF), "/src/components/BlessingSlider/index.vue": () => Promise.resolve().then(() => vF), "/src/components/BtnList/index.vue": () => Promise.resolve().then(() => O8), "/src/components/CardCarousel/index.vue": () => Promise.resolve().then(() => Uk), "/src/components/CardCarouselArticles/index.vue": () => Promise.resolve().then(() => JB), "/src/components/CardCarouselMultiRow/index.vue": () => Promise.resolve().then(() => aS), "/src/components/CardCarouselMultiRowArticles/index.vue": () => Promise.resolve().then(() => hR), "/src/components/CardCarouselMultiRowPublications/index.vue": () => Promise.resolve().then(() => aj), "/src/components/CardListCircle/index.vue": () => Promise.resolve().then(() => Yq), "/src/components/CardListProgramme/index.vue": () => Promise.resolve().then(() => Tz), "/src/components/CardListSchool/index.vue": () => Promise.resolve().then(() => tW), "/src/components/CardShowcase/index.vue": () => Promise.resolve().then(() => XF), "/src/components/CardShowcaseProfile/index.vue": () => Promise.resolve().then(() => vE), "/src/components/CarouselLogo/index.vue": () => Promise.resolve().then(() => eI), "/src/components/CollapseCustom/index.vue": () => Promise.resolve().then(() => Pne), "/src/components/ContactUsInfo/index.vue": () => Promise.resolve().then(() => BD), "/src/components/ContactUsList/index.vue": () => Promise.resolve().then(() => mP), "/src/components/CountDown/index.vue": () => Promise.resolve().then(() => OE), "/src/components/CustomIframe/index.vue": () => Promise.resolve().then(() => WE), "/src/components/CustomSpace/index.vue": () => Promise.resolve().then(() => E5), "/src/components/CustomText/index.vue": () => Promise.resolve().then(() => wR), "/src/components/DetailLink/index.vue": () => Promise.resolve().then(() => uW), "/src/components/Disc/index.vue": () => Promise.resolve().then(() => zO), "/src/components/DonorLinks/index.vue": () => Promise.resolve().then(() => ik), "/src/components/ExploreLinks/index.vue": () => Promise.resolve().then(() => iH), "/src/components/GalleryBlock/index.vue": () => Promise.resolve().then(() => IB), "/src/components/GalleryCaptionRound/index.vue": () => Promise.resolve().then(() => P3), "/src/components/GalleryDefault/index.vue": () => Promise.resolve().then(() => s3), "/src/components/GalleryList/index.vue": () => Promise.resolve().then(() => M6), "/src/components/GalleryTimeline/index.vue": () => Promise.resolve().then(() => Cx), "/src/components/GalleryTimelineCol/index.vue": () => Promise.resolve().then(() => r4), "/src/components/GridLinks/index.vue": () => Promise.resolve().then(() => Qse), "/src/components/HeroSlide/index.vue": () => Promise.resolve().then(() => gT), "/src/components/InformationLink/index.vue": () => Promise.resolve().then(() => Eee), "/src/components/LinkList/index.vue": () => Promise.resolve().then(() => $T), "/src/components/MapStatic/index.vue": () => Promise.resolve().then(() => SL), "/src/components/MediaImageFull/index.vue": () => Promise.resolve().then(() => IR), "/src/components/MediaImageStatic/index.vue": () => Promise.resolve().then(() => WR), "/src/components/MediaLogo/index.vue": () => Promise.resolve().then(() => nU), "/src/components/MediaVideo/index.vue": () => Promise.resolve().then(() => vee), "/src/components/NewsList/index.vue": () => Promise.resolve().then(() => B7), "/src/components/Process/index.vue": () => Promise.resolve().then(() => w5), "/src/components/Publications/index.vue": () => Promise.resolve().then(() => MA), "/src/components/QuoteText/index.vue": () => import("./index-D_9zoYIu.mjs"), "/src/components/RegisterForm/index.vue": () => Promise.resolve().then(() => mB), "/src/components/Resources/index.vue": () => Promise.resolve().then(() => KI), "/src/components/ResourcesTwo/index.vue": () => Promise.resolve().then(() => pO), "/src/components/RibbonBlock/index.vue": () => Promise.resolve().then(() => XS), "/src/components/SchoolLayout/index.vue": () => Promise.resolve().then(() => XH), "/src/components/ScrollKeyInfo/index.vue": () => Promise.resolve().then(() => G$), "/src/components/TabDefault/index.vue": () => Promise.resolve().then(() => zj), "/src/components/TabLogo/index.vue": () => Promise.resolve().then(() => $te), "/src/components/TabPage/index.vue": () => Promise.resolve().then(() => lte), "/src/components/TabTimeLine/index.vue": () => Promise.resolve().then(() => Tq), "/src/components/TableCollapse/index.vue": () => Promise.resolve().then(() => MM), "/src/components/TableTwo/index.vue": () => Promise.resolve().then(() => MP), "/src/components/TheHistoryCarousel/index.vue": () => Promise.resolve().then(() => BV), "/src/components/TimelineStory/index.vue": () => Promise.resolve().then(() => B9), "/src/components/VrTour/index.vue": () => Promise.resolve().then(() => Ase) }), s = {};
28571
28571
  for (const v in n)
28572
28572
  try {
28573
28573
  const h = v.split("/"), d = h[h.length - 2];
@@ -28986,19 +28986,25 @@ const qH = { key: 0 }, zH = {
28986
28986
  default: ""
28987
28987
  }
28988
28988
  },
28989
- emits: ["update:modelValue", "handleDelete", "handleCopy", "handlePaste", "handleClick"],
28989
+ emits: [
28990
+ "update:modelValue",
28991
+ "handleDelete",
28992
+ "handleCopy",
28993
+ "handlePaste",
28994
+ "handleClick"
28995
+ ],
28990
28996
  setup(t, { emit: e }) {
28991
28997
  const n = (F, M) => {
28992
28998
  F && (m.value[M] = F);
28993
28999
  }, s = t, i = e, a = U(!1), l = U(0), r = U(0), u = U(0), c = U(0), v = U(K()), h = U(""), d = U(0), m = U([]);
28994
29000
  function g(F) {
28995
- var R;
28996
- const M = (R = m.value) == null ? void 0 : R.findIndex((Y) => Y.id === F);
28997
- h.value = F, r.value = d.value, u.value = M, a.value = !0, l.value = 1, setTimeout(() => {
29001
+ var R, Y;
29002
+ const M = (Y = (R = s.modelValue) == null ? void 0 : R.data) == null ? void 0 : Y.findIndex((de) => de.id === F);
29003
+ M === -1 || M === void 0 || (h.value = F, r.value = d.value, u.value = M, a.value = !0, l.value = 1, setTimeout(() => {
28998
29004
  l.value = 2, d.value = M, setTimeout(() => {
28999
29005
  a.value = !1, l.value = 0;
29000
29006
  }, 300);
29001
- }, 300);
29007
+ }, 300));
29002
29008
  }
29003
29009
  const p = U(!1), T = U(!1), w = q(() => {
29004
29010
  var M;
@@ -29134,7 +29140,9 @@ const qH = { key: 0 }, zH = {
29134
29140
  onMouseout: M[6] || (M[6] = (X) => T.value = !1)
29135
29141
  }, [
29136
29142
  o("div", {
29137
- class: re(["container-content-small", [(Y = t.modelValue) != null && Y.width ? `container-content-${(de = t.modelValue) == null ? void 0 : de.width}` : "container-content"]])
29143
+ class: re(["container-content-small", [
29144
+ (Y = t.modelValue) != null && Y.width ? `container-content-${(de = t.modelValue) == null ? void 0 : de.width}` : "container-content"
29145
+ ]])
29138
29146
  }, [
29139
29147
  o("div", Uj, [
29140
29148
  o("div", {
@@ -29163,7 +29171,9 @@ const qH = { key: 0 }, zH = {
29163
29171
  }, [
29164
29172
  o("button", {
29165
29173
  type: "button",
29166
- class: re(["tab-blue__btn", { "tab-blue__btn--active": h.value === X.id }])
29174
+ class: re(["tab-blue__btn", {
29175
+ "tab-blue__btn--active": h.value === X.id
29176
+ }])
29167
29177
  }, Q(X.name), 3)
29168
29178
  ], 8, Nj))), 128)),
29169
29179
  o("span", {
@@ -29192,7 +29202,12 @@ const qH = { key: 0 }, zH = {
29192
29202
  o("div", jj, [
29193
29203
  f(ii, {
29194
29204
  type: X.type,
29195
- "props-data": { modelValue: X, isPreview: t.isPreview, host: t.host, locale: t.locale },
29205
+ "props-data": {
29206
+ modelValue: X,
29207
+ isPreview: t.isPreview,
29208
+ host: t.host,
29209
+ locale: t.locale
29210
+ },
29196
29211
  onHandleDelete: M[0] || (M[0] = (W) => C(W, w.value)),
29197
29212
  onHandleCopy: M[1] || (M[1] = (W) => E(W)),
29198
29213
  onHandlePaste: (W) => k(W, w.value, J),
@@ -29221,7 +29236,7 @@ const qH = { key: 0 }, zH = {
29221
29236
  ], 36)) : j("", !0);
29222
29237
  };
29223
29238
  }
29224
- }), rm = /* @__PURE__ */ he(qj, [["__scopeId", "data-v-845215bd"]]), zj = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: rm }, Symbol.toStringTag, { value: "Module" })), Wj = { class: "tab__wrapper" }, Gj = ["onClick"], Xj = ["id", "onClick"], Yj = {
29239
+ }), rm = /* @__PURE__ */ he(qj, [["__scopeId", "data-v-bc4a8166"]]), zj = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: rm }, Symbol.toStringTag, { value: "Module" })), Wj = { class: "tab__wrapper" }, Gj = ["onClick"], Xj = ["id", "onClick"], Yj = {
29225
29240
  __name: "TabTimeLineTab",
29226
29241
  props: {
29227
29242
  list: {
@@ -30330,7 +30345,7 @@ const qH = { key: 0 }, zH = {
30330
30345
  },
30331
30346
  emits: ["update:show"],
30332
30347
  setup(t, { emit: e }) {
30333
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-D4L9cMVv.mjs")), i = U(!1), a = q(() => ({
30348
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C0dqzPsQ.mjs")), i = U(!1), a = q(() => ({
30334
30349
  animation: 200,
30335
30350
  group: "programmes",
30336
30351
  // 链接专用分组
@@ -31350,7 +31365,7 @@ const qH = { key: 0 }, zH = {
31350
31365
  emits: ["update:show"],
31351
31366
  setup(t, { emit: e }) {
31352
31367
  qe(
31353
- () => import("./index-D4L9cMVv.mjs")
31368
+ () => import("./index-C0dqzPsQ.mjs")
31354
31369
  );
31355
31370
  const n = e, s = () => {
31356
31371
  n("update:show", !1);
@@ -31560,7 +31575,7 @@ const qH = { key: 0 }, zH = {
31560
31575
  emits: ["update:show"],
31561
31576
  setup(t, { emit: e }) {
31562
31577
  qe(
31563
- () => import("./index-D4L9cMVv.mjs")
31578
+ () => import("./index-C0dqzPsQ.mjs")
31564
31579
  );
31565
31580
  const n = e, s = () => {
31566
31581
  n("update:show", !1);
@@ -67624,7 +67639,7 @@ const oee = /* @__PURE__ */ he(see, [["render", lee], ["__scopeId", "data-v-c5a2
67624
67639
  emits: ["update:show"],
67625
67640
  setup(t, { emit: e }) {
67626
67641
  qe(
67627
- () => import("./index-D4L9cMVv.mjs")
67642
+ () => import("./index-C0dqzPsQ.mjs")
67628
67643
  );
67629
67644
  const n = e, s = () => {
67630
67645
  n("update:show", !1);
@@ -71373,7 +71388,7 @@ const mne = /* @__PURE__ */ La(hne), pne = { class: "setting-content" }, fne = {
71373
71388
  },
71374
71389
  emits: ["update:show"],
71375
71390
  setup(t, { emit: e }) {
71376
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-D4L9cMVv.mjs")), i = U(!1), a = q(() => ({
71391
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-C0dqzPsQ.mjs")), i = U(!1), a = q(() => ({
71377
71392
  animation: 200,
71378
71393
  group: "gallerys",
71379
71394
  disabled: !1,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CiSutNYg.js");exports.default=e._;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-Cag1sBFX.js");exports.default=e._;