officialblock 2.5.8 → 2.5.9

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-CG6OeM1h.js");exports.default=e._;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-DeWnfKn3.js");exports.default=e._;
@@ -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-CG6OeM1h.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-DeWnfKn3.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-BzDhyKII.mjs";
7
+ import { a as X } from "./index-D1iJ8-En.mjs";
8
8
  const Y = { class: "rich-text-editor" }, Z = /* @__PURE__ */ A({
9
9
  __name: "index",
10
10
  props: {
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./index-D1iJ8-En.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -488,7 +488,7 @@ const _b = ["innerHTML"], bb = ["innerHTML"], wb = /* @__PURE__ */ ge({
488
488
  },
489
489
  emits: ["update:show"],
490
490
  setup(t, { emit: e }) {
491
- const n = ze(() => import("vuedraggable")), s = ze(() => import("./index-CuXYQuxj.mjs")), i = U(!1), a = q(() => ({
491
+ const n = ze(() => import("vuedraggable")), s = ze(() => import("./index-CYZx5Lrb.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__ */ ge({
3127
3127
  },
3128
3128
  emits: ["update:show"],
3129
3129
  setup(t, { emit: e }) {
3130
- const n = ze(() => import("vuedraggable")), s = ze(() => import("./index-CuXYQuxj.mjs")), i = U(!1), a = q(() => ({
3130
+ const n = ze(() => import("vuedraggable")), s = ze(() => import("./index-CYZx5Lrb.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 = ze(() => import("vuedraggable")), s = ze(() => import("./index-CuXYQuxj.mjs")), i = U(!1), a = q(() => ({
4715
+ const n = ze(() => import("vuedraggable")), s = ze(() => import("./index-CYZx5Lrb.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 = ze(() => import("vuedraggable")), s = ze(() => import("./index-CuXYQuxj.mjs")), i = U(!1), a = q(() => ({
6068
+ const n = ze(() => import("vuedraggable")), s = ze(() => import("./index-CYZx5Lrb.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 = ze(() => import("vuedraggable")), n = ze(() => import("./index-CuXYQuxj.mjs")), s = U(!1), i = q(() => ({
6836
+ const e = ze(() => import("vuedraggable")), n = ze(() => import("./index-CYZx5Lrb.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 = ze(() => import("./index-CuXYQuxj.mjs")), s = e, i = () => {
8882
+ const n = ze(() => import("./index-CYZx5Lrb.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 = ze(() => import("./index-CuXYQuxj.mjs")), s = e, i = () => {
10299
+ const n = ze(() => import("./index-CYZx5Lrb.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 = ze(() => import("vuedraggable")), s = ze(() => import("./index-CuXYQuxj.mjs")), i = U(!1), a = q(() => ({
10481
+ const n = ze(() => import("vuedraggable")), s = ze(() => import("./index-CYZx5Lrb.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 = ze(() => import("./index-CuXYQuxj.mjs")), s = e, i = () => {
10821
+ const n = ze(() => import("./index-CYZx5Lrb.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 = ze(() => import("vuedraggable")), s = ze(() => import("./index-CuXYQuxj.mjs")), i = U(!1), a = q(() => ({
11302
+ const n = ze(() => import("vuedraggable")), s = ze(() => import("./index-CYZx5Lrb.mjs")), i = U(!1), a = q(() => ({
11303
11303
  animation: 200,
11304
11304
  group: "gallerys",
11305
11305
  // 链接专用分组
@@ -12908,7 +12908,7 @@ const bn = W0(), R9 = W0(), N9 = { class: "list-sort" }, F9 = ["onClick"], H9 =
12908
12908
  },
12909
12909
  emits: ["update:show"],
12910
12910
  setup(t, { emit: e }) {
12911
- const n = ze(() => import("vuedraggable")), s = ze(() => import("./index-CuXYQuxj.mjs")), i = U(!1), a = q(() => ({
12911
+ const n = ze(() => import("vuedraggable")), s = ze(() => import("./index-CYZx5Lrb.mjs")), i = U(!1), a = q(() => ({
12912
12912
  animation: 200,
12913
12913
  group: "gallerys",
12914
12914
  // 链接专用分组
@@ -14089,7 +14089,7 @@ const bn = W0(), R9 = W0(), N9 = { class: "list-sort" }, F9 = ["onClick"], H9 =
14089
14089
  emits: ["update:show"],
14090
14090
  setup(t, { emit: e }) {
14091
14091
  const n = ze(
14092
- () => import("./index-CuXYQuxj.mjs")
14092
+ () => import("./index-CYZx5Lrb.mjs")
14093
14093
  ), s = e, i = () => {
14094
14094
  s("update:show", !1);
14095
14095
  };
@@ -15510,7 +15510,7 @@ const bn = W0(), R9 = W0(), N9 = { class: "list-sort" }, F9 = ["onClick"], H9 =
15510
15510
  setup(t, { emit: e }) {
15511
15511
  var C;
15512
15512
  const n = ze(() => import("vuedraggable")), s = ze(
15513
- () => import("./index-CuXYQuxj.mjs")
15513
+ () => import("./index-CYZx5Lrb.mjs")
15514
15514
  ), i = q(() => ({
15515
15515
  animation: 200,
15516
15516
  group: "links",
@@ -17619,7 +17619,7 @@ const bn = W0(), R9 = W0(), N9 = { class: "list-sort" }, F9 = ["onClick"], H9 =
17619
17619
  emits: ["update:show"],
17620
17620
  setup(t, { emit: e }) {
17621
17621
  const n = ze(
17622
- () => import("./index-CuXYQuxj.mjs")
17622
+ () => import("./index-CYZx5Lrb.mjs")
17623
17623
  ), s = ze(() => import("vuedraggable")), i = t, a = U(!1), l = U(/* @__PURE__ */ new Set()), r = U(/* @__PURE__ */ new Set());
17624
17624
  Be(
17625
17625
  () => {
@@ -20687,7 +20687,7 @@ const bn = W0(), R9 = W0(), N9 = { class: "list-sort" }, F9 = ["onClick"], H9 =
20687
20687
  },
20688
20688
  emits: ["update:show"],
20689
20689
  setup(t, { emit: e }) {
20690
- const n = ze(() => import("vuedraggable")), s = ze(() => import("./index-CuXYQuxj.mjs")), i = U(!1), a = q(() => ({
20690
+ const n = ze(() => import("vuedraggable")), s = ze(() => import("./index-CYZx5Lrb.mjs")), i = U(!1), a = q(() => ({
20691
20691
  animation: 200,
20692
20692
  group: "data",
20693
20693
  // 专用分组
@@ -20976,7 +20976,7 @@ const bn = W0(), R9 = W0(), N9 = { class: "list-sort" }, F9 = ["onClick"], H9 =
20976
20976
  },
20977
20977
  emits: ["update:show"],
20978
20978
  setup(t, { emit: e }) {
20979
- const n = ze(() => import("vuedraggable")), s = ze(() => import("./index-CuXYQuxj.mjs")), i = U(!1), a = q(() => ({
20979
+ const n = ze(() => import("vuedraggable")), s = ze(() => import("./index-CYZx5Lrb.mjs")), i = U(!1), a = q(() => ({
20980
20980
  animation: 200,
20981
20981
  group: "data",
20982
20982
  // 专用分组
@@ -24448,7 +24448,7 @@ const oU = /* @__PURE__ */ La(lU), rU = { class: "setting-content" }, dU = { cla
24448
24448
  emits: ["update:show"],
24449
24449
  setup(t, { emit: e }) {
24450
24450
  const n = ze(
24451
- () => import("./index-CuXYQuxj.mjs")
24451
+ () => import("./index-CYZx5Lrb.mjs")
24452
24452
  ), s = e, i = () => {
24453
24453
  s("update:show", !1);
24454
24454
  };
@@ -24664,7 +24664,7 @@ const oU = /* @__PURE__ */ La(lU), rU = { class: "setting-content" }, dU = { cla
24664
24664
  emits: ["update:show"],
24665
24665
  setup(t, { emit: e }) {
24666
24666
  const n = ze(
24667
- () => import("./index-CuXYQuxj.mjs")
24667
+ () => import("./index-CYZx5Lrb.mjs")
24668
24668
  ), s = e, i = () => {
24669
24669
  s("update:show", !1);
24670
24670
  };
@@ -24880,7 +24880,7 @@ const oU = /* @__PURE__ */ La(lU), rU = { class: "setting-content" }, dU = { cla
24880
24880
  emits: ["update:show"],
24881
24881
  setup(t, { emit: e }) {
24882
24882
  ze(
24883
- () => import("./index-CuXYQuxj.mjs")
24883
+ () => import("./index-CYZx5Lrb.mjs")
24884
24884
  );
24885
24885
  const n = e, s = () => {
24886
24886
  n("update:show", !1);
@@ -28476,7 +28476,7 @@ const qH = { key: 0 }, zH = {
28476
28476
  },
28477
28477
  emits: ["handleDelete", "handleCopy", "handlePaste", "handleClick"],
28478
28478
  setup(t, { emit: e }) {
28479
- const n = /* @__PURE__ */ Object.assign({ "/src/components/AccordionText/index.vue": () => Promise.resolve().then(() => bie), "/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(() => Yte), "/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(() => $ne), "/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(() => Zse), "/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-BTz--VNe.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(() => Dte), "/src/components/TabPage/index.vue": () => Promise.resolve().then(() => ote), "/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(() => Lse) }), s = {};
28479
+ const n = /* @__PURE__ */ Object.assign({ "/src/components/AccordionText/index.vue": () => Promise.resolve().then(() => bie), "/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(() => Yte), "/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(() => $ne), "/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(() => Zse), "/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-Cd2POWPg.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(() => Dte), "/src/components/TabPage/index.vue": () => Promise.resolve().then(() => ote), "/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(() => Lse) }), s = {};
28480
28480
  for (const v in n)
28481
28481
  try {
28482
28482
  const h = v.split("/"), d = h[h.length - 2];
@@ -30239,7 +30239,7 @@ const qH = { key: 0 }, zH = {
30239
30239
  },
30240
30240
  emits: ["update:show"],
30241
30241
  setup(t, { emit: e }) {
30242
- const n = ze(() => import("vuedraggable")), s = ze(() => import("./index-CuXYQuxj.mjs")), i = U(!1), a = q(() => ({
30242
+ const n = ze(() => import("vuedraggable")), s = ze(() => import("./index-CYZx5Lrb.mjs")), i = U(!1), a = q(() => ({
30243
30243
  animation: 200,
30244
30244
  group: "programmes",
30245
30245
  // 链接专用分组
@@ -31259,7 +31259,7 @@ const qH = { key: 0 }, zH = {
31259
31259
  emits: ["update:show"],
31260
31260
  setup(t, { emit: e }) {
31261
31261
  ze(
31262
- () => import("./index-CuXYQuxj.mjs")
31262
+ () => import("./index-CYZx5Lrb.mjs")
31263
31263
  );
31264
31264
  const n = e, s = () => {
31265
31265
  n("update:show", !1);
@@ -31469,7 +31469,7 @@ const qH = { key: 0 }, zH = {
31469
31469
  emits: ["update:show"],
31470
31470
  setup(t, { emit: e }) {
31471
31471
  ze(
31472
- () => import("./index-CuXYQuxj.mjs")
31472
+ () => import("./index-CYZx5Lrb.mjs")
31473
31473
  );
31474
31474
  const n = e, s = () => {
31475
31475
  n("update:show", !1);
@@ -67533,7 +67533,7 @@ const oee = /* @__PURE__ */ me(see, [["render", lee], ["__scopeId", "data-v-c5a2
67533
67533
  emits: ["update:show"],
67534
67534
  setup(t, { emit: e }) {
67535
67535
  ze(
67536
- () => import("./index-CuXYQuxj.mjs")
67536
+ () => import("./index-CYZx5Lrb.mjs")
67537
67537
  );
67538
67538
  const n = e, s = () => {
67539
67539
  n("update:show", !1);
@@ -67753,6 +67753,10 @@ const oee = /* @__PURE__ */ me(see, [["render", lee], ["__scopeId", "data-v-c5a2
67753
67753
  fullWidth: {
67754
67754
  type: Boolean,
67755
67755
  default: () => !1
67756
+ },
67757
+ isPreview: {
67758
+ type: Boolean,
67759
+ default: !0
67756
67760
  }
67757
67761
  },
67758
67762
  emits: ["updateCurrentIdx"],
@@ -67828,8 +67832,8 @@ const oee = /* @__PURE__ */ me(see, [["render", lee], ["__scopeId", "data-v-c5a2
67828
67832
  const _e = Ie.clientWidth / 2, Ee = s.value / 2;
67829
67833
  w.value = Ie.getBoundingClientRect().right - _e, v.value && (v.value.scrollLeft -= Ee - w.value);
67830
67834
  }, $e = (Ie, _e) => {
67831
- Ie || u("updateCurrentIdx", _e);
67832
- }, qe = (Ie) => Ie ? Ie.includes("http") ? "a" : "RouterLink" : "button", fe = (Ie) => Ie && !Ie.includes("http") ? Ie : null, Pe = (Ie) => Ie && Ie.includes("http") ? Ie : null, nt = (Ie) => Ie && Ie.includes("http") ? "_blank" : null;
67835
+ Ie && r.isPreview || u("updateCurrentIdx", _e);
67836
+ }, qe = (Ie) => Ie && r.isPreview ? Ie.includes("http") ? "a" : "RouterLink" : "button", fe = (Ie) => Ie && !Ie.includes("http") ? Ie : null, Pe = (Ie) => Ie && Ie.includes("http") ? Ie : null, nt = (Ie) => Ie && Ie.includes("http") ? "_blank" : null;
67833
67837
  return dt(() => {
67834
67838
  V.value = !0, Re(() => {
67835
67839
  se(0), E.value = setTimeout(X, 300), Y(), Re(() => {
@@ -67904,7 +67908,7 @@ const oee = /* @__PURE__ */ me(see, [["render", lee], ["__scopeId", "data-v-c5a2
67904
67908
  }, null, 4)
67905
67909
  ], 2));
67906
67910
  }
67907
- }, Lee = /* @__PURE__ */ me(Aee, [["__scopeId", "data-v-cb27de25"]]), Iee = { class: "setting-content" }, Oee = { class: "setting-header flex items-center" }, Mee = { class: "setting-body" }, Uee = { class: "setting-toolbar" }, Bee = { class: "tools" }, Ree = { class: "setting-item" }, Nee = { class: "item-header" }, Fee = { class: "btn-group" }, Hee = {
67911
+ }, Lee = /* @__PURE__ */ me(Aee, [["__scopeId", "data-v-5a75190e"]]), Iee = { class: "setting-content" }, Oee = { class: "setting-header flex items-center" }, Mee = { class: "setting-body" }, Uee = { class: "setting-toolbar" }, Bee = { class: "tools" }, Ree = { class: "setting-item" }, Nee = { class: "item-header" }, Fee = { class: "btn-group" }, Hee = {
67908
67912
  key: 0,
67909
67913
  class: "drag-handle"
67910
67914
  }, jee = { class: "components-content" }, qee = { class: "setting-body" }, zee = { class: "setting-toolbar" }, Wee = { class: "tools" }, Gee = { class: "setting-item" }, Xee = { class: "item-header" }, Yee = { class: "btn-group" }, Kee = {
@@ -68527,8 +68531,9 @@ const oee = /* @__PURE__ */ me(see, [["render", lee], ["__scopeId", "data-v-c5a2
68527
68531
  currentIdx: c.value,
68528
68532
  isFixed: v.value && C.value,
68529
68533
  fullWidth: D.value,
68534
+ isPreview: t.isPreview,
68530
68535
  onUpdateCurrentIdx: J[2] || (J[2] = (he) => c.value = he)
68531
- }, null, 8, ["tabList", "currentIdx", "isFixed", "fullWidth"])
68536
+ }, null, 8, ["tabList", "currentIdx", "isFixed", "fullWidth", "isPreview"])
68532
68537
  ], 512)
68533
68538
  ], 2),
68534
68539
  o("div", ste, [
@@ -68574,7 +68579,7 @@ const oee = /* @__PURE__ */ me(see, [["render", lee], ["__scopeId", "data-v-c5a2
68574
68579
  }, null, 8, ["show", "data"]))
68575
68580
  ], 38));
68576
68581
  }
68577
- }, pp = /* @__PURE__ */ me(lte, [["__scopeId", "data-v-b9886d7e"]]), ote = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: pp }, Symbol.toStringTag, { value: "Module" })), rte = { class: "tab-logo__btn__img flex-center" }, dte = ["src", "alt"], ute = {
68582
+ }, pp = /* @__PURE__ */ me(lte, [["__scopeId", "data-v-cfaecc08"]]), ote = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: pp }, Symbol.toStringTag, { value: "Module" })), rte = { class: "tab-logo__btn__img flex-center" }, dte = ["src", "alt"], ute = {
68578
68583
  __name: "TabLogo",
68579
68584
  props: {
68580
68585
  tabList: {
@@ -71302,7 +71307,7 @@ const pne = /* @__PURE__ */ La(mne), fne = { class: "setting-content" }, gne = {
71302
71307
  },
71303
71308
  emits: ["update:show"],
71304
71309
  setup(t, { emit: e }) {
71305
- const n = ze(() => import("vuedraggable")), s = ze(() => import("./index-CuXYQuxj.mjs")), i = U(!1), a = q(() => ({
71310
+ const n = ze(() => import("vuedraggable")), s = ze(() => import("./index-CYZx5Lrb.mjs")), i = U(!1), a = q(() => ({
71306
71311
  animation: 200,
71307
71312
  group: "gallerys",
71308
71313
  disabled: !1,