officialblock 2.2.8 → 2.2.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";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-s8heSTAB.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-CvVzOvnB.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 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-s8heSTAB.js");exports.default=e._;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CvVzOvnB.js");exports.default=e._;
@@ -482,7 +482,7 @@ const y_ = { class: "button-text" }, b_ = { class: "link-text" }, __ = /* @__PUR
482
482
  },
483
483
  emits: ["update:show"],
484
484
  setup(t, { emit: e }) {
485
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-xjTh6E3G.mjs")), i = M(!1), a = q(() => ({
485
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-D6Y4p_4W.mjs")), i = M(!1), a = q(() => ({
486
486
  animation: 200,
487
487
  group: "item",
488
488
  disabled: !1,
@@ -2912,7 +2912,7 @@ const y_ = { class: "button-text" }, b_ = { class: "link-text" }, __ = /* @__PUR
2912
2912
  },
2913
2913
  emits: ["update:show"],
2914
2914
  setup(t, { emit: e }) {
2915
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-xjTh6E3G.mjs")), i = M(!1), a = q(() => ({
2915
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-D6Y4p_4W.mjs")), i = M(!1), a = q(() => ({
2916
2916
  animation: 200,
2917
2917
  group: "gallerys",
2918
2918
  // 链接专用分组
@@ -4500,7 +4500,7 @@ const JT = { class: "gallery-container gallery-timeline container-content" }, ZT
4500
4500
  },
4501
4501
  emits: ["update:show"],
4502
4502
  setup(t, { emit: e }) {
4503
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-xjTh6E3G.mjs")), i = M(!1), a = q(() => ({
4503
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-D6Y4p_4W.mjs")), i = M(!1), a = q(() => ({
4504
4504
  animation: 200,
4505
4505
  group: "gallerys",
4506
4506
  // 链接专用分组
@@ -5390,7 +5390,7 @@ const JT = { class: "gallery-container gallery-timeline container-content" }, ZT
5390
5390
  },
5391
5391
  emits: ["update:show"],
5392
5392
  setup(t, { emit: e }) {
5393
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-xjTh6E3G.mjs")), i = M(!1), a = q(() => ({
5393
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-D6Y4p_4W.mjs")), i = M(!1), a = q(() => ({
5394
5394
  animation: 200,
5395
5395
  group: "btns",
5396
5396
  // 链接专用分组
@@ -6158,7 +6158,7 @@ const JT = { class: "gallery-container gallery-timeline container-content" }, ZT
6158
6158
  }
6159
6159
  },
6160
6160
  setup(t) {
6161
- const e = qe(() => import("vuedraggable")), n = qe(() => import("./index-xjTh6E3G.mjs")), s = M(!1), i = q(() => ({
6161
+ const e = qe(() => import("vuedraggable")), n = qe(() => import("./index-D6Y4p_4W.mjs")), s = M(!1), i = q(() => ({
6162
6162
  animation: 200,
6163
6163
  group: "buttons",
6164
6164
  // 按钮专用分组
@@ -8196,7 +8196,7 @@ const JT = { class: "gallery-container gallery-timeline container-content" }, ZT
8196
8196
  },
8197
8197
  emits: ["update:show"],
8198
8198
  setup(t, { emit: e }) {
8199
- const n = qe(() => import("./index-xjTh6E3G.mjs")), s = e, i = () => {
8199
+ const n = qe(() => import("./index-D6Y4p_4W.mjs")), s = e, i = () => {
8200
8200
  s("update:show", !1);
8201
8201
  };
8202
8202
  return (a, l) => {
@@ -9613,7 +9613,7 @@ const JT = { class: "gallery-container gallery-timeline container-content" }, ZT
9613
9613
  },
9614
9614
  emits: ["update:show"],
9615
9615
  setup(t, { emit: e }) {
9616
- const n = qe(() => import("./index-xjTh6E3G.mjs")), s = e, i = () => {
9616
+ const n = qe(() => import("./index-D6Y4p_4W.mjs")), s = e, i = () => {
9617
9617
  s("update:show", !1);
9618
9618
  };
9619
9619
  return (a, l) => {
@@ -9795,7 +9795,7 @@ const JT = { class: "gallery-container gallery-timeline container-content" }, ZT
9795
9795
  },
9796
9796
  emits: ["update:show"],
9797
9797
  setup(t, { emit: e }) {
9798
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-xjTh6E3G.mjs")), i = M(!1), a = q(() => ({
9798
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-D6Y4p_4W.mjs")), i = M(!1), a = q(() => ({
9799
9799
  animation: 200,
9800
9800
  group: "links",
9801
9801
  // 链接专用分组
@@ -10135,7 +10135,7 @@ const JT = { class: "gallery-container gallery-timeline container-content" }, ZT
10135
10135
  },
10136
10136
  emits: ["update:show"],
10137
10137
  setup(t, { emit: e }) {
10138
- const n = qe(() => import("./index-xjTh6E3G.mjs")), s = e, i = () => {
10138
+ const n = qe(() => import("./index-D6Y4p_4W.mjs")), s = e, i = () => {
10139
10139
  s("update:show", !1);
10140
10140
  };
10141
10141
  return (a, l) => {
@@ -10616,7 +10616,7 @@ const JT = { class: "gallery-container gallery-timeline container-content" }, ZT
10616
10616
  },
10617
10617
  emits: ["update:show"],
10618
10618
  setup(t, { emit: e }) {
10619
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-xjTh6E3G.mjs")), i = M(!1), a = q(() => ({
10619
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-D6Y4p_4W.mjs")), i = M(!1), a = q(() => ({
10620
10620
  animation: 200,
10621
10621
  group: "gallerys",
10622
10622
  // 链接专用分组
@@ -12240,7 +12240,7 @@ const Tn = zv(), y4 = zv(), b4 = { class: "list-sort" }, _4 = ["onClick"], w4 =
12240
12240
  },
12241
12241
  emits: ["update:show"],
12242
12242
  setup(t, { emit: e }) {
12243
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-xjTh6E3G.mjs")), i = M(!1), a = q(() => ({
12243
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-D6Y4p_4W.mjs")), i = M(!1), a = q(() => ({
12244
12244
  animation: 200,
12245
12245
  group: "gallerys",
12246
12246
  // 链接专用分组
@@ -13421,7 +13421,7 @@ const Tn = zv(), y4 = zv(), b4 = { class: "list-sort" }, _4 = ["onClick"], w4 =
13421
13421
  emits: ["update:show"],
13422
13422
  setup(t, { emit: e }) {
13423
13423
  const n = qe(
13424
- () => import("./index-xjTh6E3G.mjs")
13424
+ () => import("./index-D6Y4p_4W.mjs")
13425
13425
  ), s = e, i = () => {
13426
13426
  s("update:show", !1);
13427
13427
  };
@@ -14839,7 +14839,7 @@ const Tn = zv(), y4 = zv(), b4 = { class: "list-sort" }, _4 = ["onClick"], w4 =
14839
14839
  setup(t, { emit: e }) {
14840
14840
  var C;
14841
14841
  const n = qe(() => import("vuedraggable")), s = qe(
14842
- () => import("./index-xjTh6E3G.mjs")
14842
+ () => import("./index-D6Y4p_4W.mjs")
14843
14843
  ), i = q(() => ({
14844
14844
  animation: 200,
14845
14845
  group: "links",
@@ -16934,7 +16934,7 @@ const Tn = zv(), y4 = zv(), b4 = { class: "list-sort" }, _4 = ["onClick"], w4 =
16934
16934
  emits: ["update:show"],
16935
16935
  setup(t, { emit: e }) {
16936
16936
  const n = qe(
16937
- () => import("./index-xjTh6E3G.mjs")
16937
+ () => import("./index-D6Y4p_4W.mjs")
16938
16938
  ), s = qe(() => import("vuedraggable")), i = t, a = M(!1), l = M(/* @__PURE__ */ new Set()), r = M(/* @__PURE__ */ new Set());
16939
16939
  Me(
16940
16940
  () => {
@@ -18725,8 +18725,14 @@ const Tn = zv(), y4 = zv(), b4 = { class: "list-sort" }, _4 = ["onClick"], w4 =
18725
18725
  return { component: "button", href: null, target: null, type: "type" };
18726
18726
  }
18727
18727
  }), l = q(() => {
18728
- var h;
18729
- return n.iconType ? (typeof process < "u" ? (h = process.env) == null ? void 0 : h.siteType : void 0) == "campus-yccece" ? n.light ? `'/src/assets/icon-${n.iconType}--light.svg'` : `'/src/assets/icon-${n.iconType}--light-blue.svg'` : n.light ? `'/src/assets/icon-${n.iconType}--light.svg'` : `'/src/assets/icon-${n.iconType}.svg'` : null;
18728
+ var d;
18729
+ if (!n.iconType) return null;
18730
+ if ((typeof process < "u" ? (d = process.env) == null ? void 0 : d.siteType : void 0) == "campus-yccece") {
18731
+ const m = n.light ? `/src/assets/icon-${n.iconType}--light.svg` : `/src/assets/icon-${n.iconType}--light-blue.svg`;
18732
+ return n.light ? `url(${new URL(m, import.meta.url).href})` : `url(${new URL(m, import.meta.url).href})`;
18733
+ }
18734
+ const h = n.light ? `/src/assets/icon-${n.iconType}--light.svg` : `/src/assets/icon-${n.iconType}.svg`;
18735
+ return n.light ? `url(${new URL(h, import.meta.url).href})` : `url(${new URL(h, import.meta.url).href})`;
18730
18736
  }), r = q(() => n.linkType === "nuxt-link"), u = q(() => n.linkType === "text");
18731
18737
  function c() {
18732
18738
  !n.url || !n.isPreview || (n.url.includes("http") ? window.open(n.url, "_blank") : s("handleClick", n.url));
@@ -18745,7 +18751,7 @@ const Tn = zv(), y4 = zv(), b4 = { class: "list-sort" }, _4 = ["onClick"], w4 =
18745
18751
  l.value ? (b(), S("span", {
18746
18752
  key: 0,
18747
18753
  class: re(["icon-link__icon", { "icon-link__icon--jump": !t.text }]),
18748
- style: je(`--icon-url: url(${l.value})`)
18754
+ style: je({ backgroundImage: l.value })
18749
18755
  }, null, 6)) : j("", !0),
18750
18756
  t.text ? (b(), S("div", {
18751
18757
  key: 1,
@@ -18761,7 +18767,7 @@ const Tn = zv(), y4 = zv(), b4 = { class: "list-sort" }, _4 = ["onClick"], w4 =
18761
18767
  }, 16))
18762
18768
  ], 2));
18763
18769
  }
18764
- }), qi = /* @__PURE__ */ he(W6, [["__scopeId", "data-v-9d852ed4"]]), G6 = { class: "btn-secondary-text" }, X6 = /* @__PURE__ */ pe({
18770
+ }), qi = /* @__PURE__ */ he(W6, [["__scopeId", "data-v-91227b56"]]), G6 = { class: "btn-secondary-text" }, X6 = /* @__PURE__ */ pe({
18765
18771
  name: "BtnSecondary",
18766
18772
  __name: "BtnSecondary",
18767
18773
  props: {
@@ -20181,7 +20187,7 @@ const Tn = zv(), y4 = zv(), b4 = { class: "list-sort" }, _4 = ["onClick"], w4 =
20181
20187
  },
20182
20188
  emits: ["update:show"],
20183
20189
  setup(t, { emit: e }) {
20184
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-xjTh6E3G.mjs")), i = M(!1), a = q(() => ({
20190
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-D6Y4p_4W.mjs")), i = M(!1), a = q(() => ({
20185
20191
  animation: 200,
20186
20192
  group: "data",
20187
20193
  // 专用分组
@@ -20470,7 +20476,7 @@ const Tn = zv(), y4 = zv(), b4 = { class: "list-sort" }, _4 = ["onClick"], w4 =
20470
20476
  },
20471
20477
  emits: ["update:show"],
20472
20478
  setup(t, { emit: e }) {
20473
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-xjTh6E3G.mjs")), i = M(!1), a = q(() => ({
20479
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-D6Y4p_4W.mjs")), i = M(!1), a = q(() => ({
20474
20480
  animation: 200,
20475
20481
  group: "data",
20476
20482
  // 专用分组
@@ -23900,7 +23906,7 @@ const R7 = /* @__PURE__ */ Ia(B7), N7 = { class: "setting-content" }, F7 = { cla
23900
23906
  emits: ["update:show"],
23901
23907
  setup(t, { emit: e }) {
23902
23908
  const n = qe(
23903
- () => import("./index-xjTh6E3G.mjs")
23909
+ () => import("./index-D6Y4p_4W.mjs")
23904
23910
  ), s = e, i = () => {
23905
23911
  s("update:show", !1);
23906
23912
  };
@@ -24116,7 +24122,7 @@ const R7 = /* @__PURE__ */ Ia(B7), N7 = { class: "setting-content" }, F7 = { cla
24116
24122
  emits: ["update:show"],
24117
24123
  setup(t, { emit: e }) {
24118
24124
  const n = qe(
24119
- () => import("./index-xjTh6E3G.mjs")
24125
+ () => import("./index-D6Y4p_4W.mjs")
24120
24126
  ), s = e, i = () => {
24121
24127
  s("update:show", !1);
24122
24128
  };
@@ -24332,7 +24338,7 @@ const R7 = /* @__PURE__ */ Ia(B7), N7 = { class: "setting-content" }, F7 = { cla
24332
24338
  emits: ["update:show"],
24333
24339
  setup(t, { emit: e }) {
24334
24340
  qe(
24335
- () => import("./index-xjTh6E3G.mjs")
24341
+ () => import("./index-D6Y4p_4W.mjs")
24336
24342
  );
24337
24343
  const n = e, s = () => {
24338
24344
  n("update:show", !1);
@@ -27973,7 +27979,7 @@ const CF = {
27973
27979
  },
27974
27980
  emits: ["handleDelete", "handleCopy", "handlePaste", "handleClick"],
27975
27981
  setup(t, { emit: e }) {
27976
- const n = /* @__PURE__ */ Object.assign({ "/src/components/AccordionText/index.vue": () => Promise.resolve().then(() => Wne), "/src/components/AlummiCommunityList/index.vue": () => Promise.resolve().then(() => qB), "/src/components/ArticleItem/index.vue": () => Promise.resolve().then(() => g3), "/src/components/ArticleList/index.vue": () => Promise.resolve().then(() => Rw), "/src/components/ArticleListPureText/index.vue": () => Promise.resolve().then(() => UB), "/src/components/BackgroundWrapper/index.vue": () => Promise.resolve().then(() => wee), "/src/components/BannerImage/index.vue": () => Promise.resolve().then(() => Xw), "/src/components/BannerImageWithLink/index.vue": () => Promise.resolve().then(() => D5), "/src/components/BannerPage/index.vue": () => Promise.resolve().then(() => lx), "/src/components/BannerQuote/index.vue": () => Promise.resolve().then(() => ZE), "/src/components/BasicCollapse/index.vue": () => Promise.resolve().then(() => BU), "/src/components/BlessingMessage/index.vue": () => Promise.resolve().then(() => IR), "/src/components/BlessingSlider/index.vue": () => Promise.resolve().then(() => KR), "/src/components/BtnList/index.vue": () => Promise.resolve().then(() => kx), "/src/components/CardCarousel/index.vue": () => Promise.resolve().then(() => gE), "/src/components/CardCarouselArticles/index.vue": () => Promise.resolve().then(() => $9), "/src/components/CardCarouselMultiRow/index.vue": () => Promise.resolve().then(() => BE), "/src/components/CardCarouselMultiRowArticles/index.vue": () => Promise.resolve().then(() => j9), "/src/components/CardCarouselMultiRowPublications/index.vue": () => Promise.resolve().then(() => BF), "/src/components/CardListCircle/index.vue": () => Promise.resolve().then(() => Pj), "/src/components/CardListProgramme/index.vue": () => Promise.resolve().then(() => iq), "/src/components/CardListSchool/index.vue": () => Promise.resolve().then(() => Oq), "/src/components/CardShowcase/index.vue": () => Promise.resolve().then(() => VN), "/src/components/CardShowcaseProfile/index.vue": () => Promise.resolve().then(() => K$), "/src/components/CarouselLogo/index.vue": () => Promise.resolve().then(() => D6), "/src/components/CollapseCustom/index.vue": () => Promise.resolve().then(() => nte), "/src/components/ContactUsInfo/index.vue": () => Promise.resolve().then(() => vI), "/src/components/ContactUsList/index.vue": () => Promise.resolve().then(() => WD), "/src/components/CountDown/index.vue": () => Promise.resolve().then(() => pD), "/src/components/CustomIframe/index.vue": () => Promise.resolve().then(() => kD), "/src/components/CustomSpace/index.vue": () => Promise.resolve().then(() => uS), "/src/components/CustomText/index.vue": () => Promise.resolve().then(() => J9), "/src/components/DetailLink/index.vue": () => Promise.resolve().then(() => qq), "/src/components/Disc/index.vue": () => Promise.resolve().then(() => TU), "/src/components/DonorLinks/index.vue": () => Promise.resolve().then(() => MV), "/src/components/ExploreLinks/index.vue": () => Promise.resolve().then(() => MN), "/src/components/GalleryBlock/index.vue": () => Promise.resolve().then(() => c9), "/src/components/GalleryCaptionRound/index.vue": () => Promise.resolve().then(() => bT), "/src/components/GalleryDefault/index.vue": () => Promise.resolve().then(() => Gx), "/src/components/GalleryList/index.vue": () => Promise.resolve().then(() => m8), "/src/components/GalleryTimeline/index.vue": () => Promise.resolve().then(() => pC), "/src/components/GalleryTimelineCol/index.vue": () => Promise.resolve().then(() => QC), "/src/components/GridLinks/index.vue": () => Promise.resolve().then(() => Cne), "/src/components/HeroSlide/index.vue": () => Promise.resolve().then(() => Q8), "/src/components/InformationLink/index.vue": () => Promise.resolve().then(() => nZ), "/src/components/LinkLIst/index.vue": () => Promise.resolve().then(() => uV), "/src/components/MapStatic/index.vue": () => Promise.resolve().then(() => s6), "/src/components/MediaImageFull/index.vue": () => Promise.resolve().then(() => cB), "/src/components/MediaImageStatic/index.vue": () => Promise.resolve().then(() => TB), "/src/components/MediaLogo/index.vue": () => Promise.resolve().then(() => L7), "/src/components/MediaVideo/index.vue": () => Promise.resolve().then(() => zJ), "/src/components/NewsList/index.vue": () => Promise.resolve().then(() => vP), "/src/components/Process/index.vue": () => Promise.resolve().then(() => sS), "/src/components/Publications/index.vue": () => Promise.resolve().then(() => mL), "/src/components/QuoteText/index.vue": () => import("./index-Bal-eOOC.mjs"), "/src/components/RegisterForm/index.vue": () => Promise.resolve().then(() => qM), "/src/components/Resources/index.vue": () => Promise.resolve().then(() => EO), "/src/components/ResourcesTwo/index.vue": () => Promise.resolve().then(() => WO), "/src/components/RibbonBlock/index.vue": () => Promise.resolve().then(() => V3), "/src/components/SchoolLayout/index.vue": () => Promise.resolve().then(() => VF), "/src/components/ScrollKeyInfo/index.vue": () => Promise.resolve().then(() => SA), "/src/components/TabDefault/index.vue": () => Promise.resolve().then(() => kH), "/src/components/TabLogo/index.vue": () => Promise.resolve().then(() => see), "/src/components/TabPage/index.vue": () => Promise.resolve().then(() => LZ), "/src/components/TabTimeLine/index.vue": () => Promise.resolve().then(() => ij), "/src/components/TableCollapse/index.vue": () => Promise.resolve().then(() => p7), "/src/components/TableTwo/index.vue": () => Promise.resolve().then(() => f5), "/src/components/TheHistoryCarousel/index.vue": () => Promise.resolve().then(() => v$), "/src/components/TimelineStory/index.vue": () => Promise.resolve().then(() => v4), "/src/components/VrTour/index.vue": () => Promise.resolve().then(() => ane) }), s = {};
27982
+ const n = /* @__PURE__ */ Object.assign({ "/src/components/AccordionText/index.vue": () => Promise.resolve().then(() => Wne), "/src/components/AlummiCommunityList/index.vue": () => Promise.resolve().then(() => qB), "/src/components/ArticleItem/index.vue": () => Promise.resolve().then(() => g3), "/src/components/ArticleList/index.vue": () => Promise.resolve().then(() => Rw), "/src/components/ArticleListPureText/index.vue": () => Promise.resolve().then(() => UB), "/src/components/BackgroundWrapper/index.vue": () => Promise.resolve().then(() => wee), "/src/components/BannerImage/index.vue": () => Promise.resolve().then(() => Xw), "/src/components/BannerImageWithLink/index.vue": () => Promise.resolve().then(() => D5), "/src/components/BannerPage/index.vue": () => Promise.resolve().then(() => lx), "/src/components/BannerQuote/index.vue": () => Promise.resolve().then(() => ZE), "/src/components/BasicCollapse/index.vue": () => Promise.resolve().then(() => BU), "/src/components/BlessingMessage/index.vue": () => Promise.resolve().then(() => IR), "/src/components/BlessingSlider/index.vue": () => Promise.resolve().then(() => KR), "/src/components/BtnList/index.vue": () => Promise.resolve().then(() => kx), "/src/components/CardCarousel/index.vue": () => Promise.resolve().then(() => gE), "/src/components/CardCarouselArticles/index.vue": () => Promise.resolve().then(() => $9), "/src/components/CardCarouselMultiRow/index.vue": () => Promise.resolve().then(() => BE), "/src/components/CardCarouselMultiRowArticles/index.vue": () => Promise.resolve().then(() => j9), "/src/components/CardCarouselMultiRowPublications/index.vue": () => Promise.resolve().then(() => BF), "/src/components/CardListCircle/index.vue": () => Promise.resolve().then(() => Pj), "/src/components/CardListProgramme/index.vue": () => Promise.resolve().then(() => iq), "/src/components/CardListSchool/index.vue": () => Promise.resolve().then(() => Oq), "/src/components/CardShowcase/index.vue": () => Promise.resolve().then(() => VN), "/src/components/CardShowcaseProfile/index.vue": () => Promise.resolve().then(() => K$), "/src/components/CarouselLogo/index.vue": () => Promise.resolve().then(() => D6), "/src/components/CollapseCustom/index.vue": () => Promise.resolve().then(() => nte), "/src/components/ContactUsInfo/index.vue": () => Promise.resolve().then(() => vI), "/src/components/ContactUsList/index.vue": () => Promise.resolve().then(() => WD), "/src/components/CountDown/index.vue": () => Promise.resolve().then(() => pD), "/src/components/CustomIframe/index.vue": () => Promise.resolve().then(() => kD), "/src/components/CustomSpace/index.vue": () => Promise.resolve().then(() => uS), "/src/components/CustomText/index.vue": () => Promise.resolve().then(() => J9), "/src/components/DetailLink/index.vue": () => Promise.resolve().then(() => qq), "/src/components/Disc/index.vue": () => Promise.resolve().then(() => TU), "/src/components/DonorLinks/index.vue": () => Promise.resolve().then(() => MV), "/src/components/ExploreLinks/index.vue": () => Promise.resolve().then(() => MN), "/src/components/GalleryBlock/index.vue": () => Promise.resolve().then(() => c9), "/src/components/GalleryCaptionRound/index.vue": () => Promise.resolve().then(() => bT), "/src/components/GalleryDefault/index.vue": () => Promise.resolve().then(() => Gx), "/src/components/GalleryList/index.vue": () => Promise.resolve().then(() => m8), "/src/components/GalleryTimeline/index.vue": () => Promise.resolve().then(() => pC), "/src/components/GalleryTimelineCol/index.vue": () => Promise.resolve().then(() => QC), "/src/components/GridLinks/index.vue": () => Promise.resolve().then(() => Cne), "/src/components/HeroSlide/index.vue": () => Promise.resolve().then(() => Q8), "/src/components/InformationLink/index.vue": () => Promise.resolve().then(() => nZ), "/src/components/LinkLIst/index.vue": () => Promise.resolve().then(() => uV), "/src/components/MapStatic/index.vue": () => Promise.resolve().then(() => s6), "/src/components/MediaImageFull/index.vue": () => Promise.resolve().then(() => cB), "/src/components/MediaImageStatic/index.vue": () => Promise.resolve().then(() => TB), "/src/components/MediaLogo/index.vue": () => Promise.resolve().then(() => L7), "/src/components/MediaVideo/index.vue": () => Promise.resolve().then(() => zJ), "/src/components/NewsList/index.vue": () => Promise.resolve().then(() => vP), "/src/components/Process/index.vue": () => Promise.resolve().then(() => sS), "/src/components/Publications/index.vue": () => Promise.resolve().then(() => mL), "/src/components/QuoteText/index.vue": () => import("./index-QREB2qU1.mjs"), "/src/components/RegisterForm/index.vue": () => Promise.resolve().then(() => qM), "/src/components/Resources/index.vue": () => Promise.resolve().then(() => EO), "/src/components/ResourcesTwo/index.vue": () => Promise.resolve().then(() => WO), "/src/components/RibbonBlock/index.vue": () => Promise.resolve().then(() => V3), "/src/components/SchoolLayout/index.vue": () => Promise.resolve().then(() => VF), "/src/components/ScrollKeyInfo/index.vue": () => Promise.resolve().then(() => SA), "/src/components/TabDefault/index.vue": () => Promise.resolve().then(() => kH), "/src/components/TabLogo/index.vue": () => Promise.resolve().then(() => see), "/src/components/TabPage/index.vue": () => Promise.resolve().then(() => LZ), "/src/components/TabTimeLine/index.vue": () => Promise.resolve().then(() => ij), "/src/components/TableCollapse/index.vue": () => Promise.resolve().then(() => p7), "/src/components/TableTwo/index.vue": () => Promise.resolve().then(() => f5), "/src/components/TheHistoryCarousel/index.vue": () => Promise.resolve().then(() => v$), "/src/components/TimelineStory/index.vue": () => Promise.resolve().then(() => v4), "/src/components/VrTour/index.vue": () => Promise.resolve().then(() => ane) }), s = {};
27977
27983
  for (const v in n)
27978
27984
  try {
27979
27985
  const h = v.split("/"), d = h[h.length - 2];
@@ -29674,7 +29680,7 @@ const CF = {
29674
29680
  },
29675
29681
  emits: ["update:show"],
29676
29682
  setup(t, { emit: e }) {
29677
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-xjTh6E3G.mjs")), i = M(!1), a = q(() => ({
29683
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-D6Y4p_4W.mjs")), i = M(!1), a = q(() => ({
29678
29684
  animation: 200,
29679
29685
  group: "programmes",
29680
29686
  // 链接专用分组
@@ -30694,7 +30700,7 @@ const CF = {
30694
30700
  emits: ["update:show"],
30695
30701
  setup(t, { emit: e }) {
30696
30702
  qe(
30697
- () => import("./index-xjTh6E3G.mjs")
30703
+ () => import("./index-D6Y4p_4W.mjs")
30698
30704
  );
30699
30705
  const n = e, s = () => {
30700
30706
  n("update:show", !1);
@@ -30904,7 +30910,7 @@ const CF = {
30904
30910
  emits: ["update:show"],
30905
30911
  setup(t, { emit: e }) {
30906
30912
  qe(
30907
- () => import("./index-xjTh6E3G.mjs")
30913
+ () => import("./index-D6Y4p_4W.mjs")
30908
30914
  );
30909
30915
  const n = e, s = () => {
30910
30916
  n("update:show", !1);
@@ -67009,7 +67015,7 @@ const FJ = /* @__PURE__ */ he(MJ, [["render", NJ], ["__scopeId", "data-v-c5a2a3e
67009
67015
  emits: ["update:show"],
67010
67016
  setup(t, { emit: e }) {
67011
67017
  qe(
67012
- () => import("./index-xjTh6E3G.mjs")
67018
+ () => import("./index-D6Y4p_4W.mjs")
67013
67019
  );
67014
67020
  const n = e, s = () => {
67015
67021
  n("update:show", !1);
@@ -70676,7 +70682,7 @@ const Nee = /* @__PURE__ */ Ia(Ree), Fee = { class: "setting-content" }, Hee = {
70676
70682
  },
70677
70683
  emits: ["update:show"],
70678
70684
  setup(t, { emit: e }) {
70679
- const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-xjTh6E3G.mjs")), i = M(!1), a = q(() => ({
70685
+ const n = qe(() => import("vuedraggable")), s = qe(() => import("./index-D6Y4p_4W.mjs")), i = M(!1), a = q(() => ({
70680
70686
  animation: 200,
70681
70687
  group: "gallerys",
70682
70688
  disabled: !1,