officialblock 3.3.0 → 3.3.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.
- package/dist/{index-D5W5s7Hy.mjs → index-A_G9FeVI.mjs} +1 -1
- package/dist/{index-CisrpXuu.js → index-BflAwPb2.js} +1 -1
- package/dist/{index-Bz2g8knv.mjs → index-C3wwPLTv.mjs} +44 -46
- package/dist/{index-CpAh1I47.js → index-CQdAY0jk.js} +6 -6
- package/dist/official-block.cjs.js +1 -1
- package/dist/official-block.es.js +1 -1
- package/dist/official-block.umd.js +25 -25
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ var r = (a, u, c) => T(a, typeof u != "symbol" ? u + "" : u, c);
|
|
|
4
4
|
import { defineComponent as $, shallowRef as R, ref as g, computed as q, inject as C, watch as p, nextTick as y, onBeforeUnmount as J, createElementBlock as P, openBlock as G, normalizeClass as Q, createVNode as S, unref as w, normalizeStyle as W } from "vue";
|
|
5
5
|
import { Toolbar as X, Editor as Y } from "@wangeditor/editor-for-vue";
|
|
6
6
|
import { Boot as I } from "@wangeditor/editor";
|
|
7
|
-
import { _ as Z } from "./index-
|
|
7
|
+
import { _ as Z } from "./index-C3wwPLTv.mjs";
|
|
8
8
|
const ee = /* @__PURE__ */ $({
|
|
9
9
|
__name: "index",
|
|
10
10
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var N=Object.defineProperty;var O=(u,r,i)=>r in u?N(u,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):u[r]=i;var c=(u,r,i)=>O(u,typeof r!="symbol"?r+"":r,i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),M=require("@wangeditor/editor-for-vue"),A=require("@wangeditor/editor"),T=require("./index-
|
|
1
|
+
"use strict";var N=Object.defineProperty;var O=(u,r,i)=>r in u?N(u,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):u[r]=i;var c=(u,r,i)=>O(u,typeof r!="symbol"?r+"":r,i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),M=require("@wangeditor/editor-for-vue"),A=require("@wangeditor/editor"),T=require("./index-CQdAY0jk.js"),L=t.defineComponent({__name:"index",props:{name:{default:""},modelValue:{default:""},placeholder:{default:"Please input content..."},height:{default:"400px"},mode:{default:"default"},disabled:{type:Boolean,default:!1},maxLength:{default:1e4},excludeKeys:{default:()=>[]},includeKeys:{default:()=>[]}},emits:["update:modelValue","change","focus","blur","created","upload-image","upload-video"],setup(u,{expose:r,emit:i}){const a=u,m=i,o=t.shallowRef(),d=t.ref(""),V=t.computed(()=>typeof a.height=="number"?`${a.height}px`:a.height),C=t.inject("handleUpload",()=>{}),F=t.inject("fileUrl",null),y=t.inject("chooseName",null),f=t.ref(""),h=t.ref(null),p=e=>{if(!C){console.warn("Upload: handleUpload function not provided by ancestor");return}if(f.value=e,o.value)try{const l=o.value.selection;l&&(h.value={anchor:{path:[...l.anchor.path],offset:l.anchor.offset},focus:{path:[...l.focus.path],offset:l.focus.offset}})}catch(l){console.warn("保存光标位置失败:",l)}const n=a.name+"_"+e;C(!0,n)};t.watch(()=>a.name,()=>{F.value=null},{deep:!0,immediate:!0}),t.watch(()=>[F==null?void 0:F.value],([e])=>{const n=a.name+"_"+f.value;!e||!y.value||y.value!==n||o.value&&t.nextTick(()=>{var l,v;if(o.value){try{if(o.value.focus(),h.value)try{o.value.select(h.value)}catch(s){console.warn("恢复光标位置失败,使用默认位置:",s)}}catch(s){console.warn("聚焦编辑器失败:",s)}if(f.value==="img"){const g=`<img src="${e}" alt="图片" style="max-width: 100%;">`;(l=o.value)==null||l.dangerouslyInsertHtml(g)}else{const g=`<video src="${e}" controls style="max-width: 100%;"></video>`;(v=o.value)==null||v.dangerouslyInsertHtml(g)}h.value=null,f.value=""}})},{immediate:!1});function S(e){return class{constructor(){c(this,"title");c(this,"tag");c(this,"iconSvg");this.title="上传图片",this.tag="button",this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>'}isActive(){return!1}getValue(){return""}isDisabled(){return!1}exec(){t.nextTick(()=>{console.log("点击了自定义上传图片菜单"),e("img")})}}}function w(e){return class{constructor(){c(this,"title");c(this,"tag");c(this,"iconSvg");this.title="上传视频",this.tag="button",this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>'}getValue(){return""}isActive(){return!1}isDisabled(){return!1}exec(){t.nextTick(()=>{console.log("点击了自定义上传视频菜单"),e("video")})}}}const D={toolbarKeys:["headerSelect","bold","italic","through","underline","color","fontSize","lineHeight","delIndent","indent","divider","insertTable","justifyCenter","justifyJustify","justifyLeft","justifyRight","bulletedList","numberedList","undo","redo","clearStyle","codeBlock"]},E=["#0032A0","#FF0044","#FF8200","#001E60","#E3E3E6","#000000","#262626","#595959","#8C8C8C","#BFBFBF","#D9D9D9","#E8E8E8","#F5F5F5","#FFFFFF","#F5222D","#FA541C","#FA8C16","#FADB14","#52C41A","#13C2C2","#1890FF","#2F54EB","#722ED1","#EB2F96","#FFE8E6","#FFECE0","#FFEFD1","#FCFCCA","#E4F7D2","#D3F5F0","#D4EEFC","#DEE8FC","#EFE1FA","#FAE1EB","#FFA39E","#FFBB96","#FFD591","#FFFB8F","#B7EB8F","#87E8DE","#91D5FF","#ADC6FF","#D3ADF7","#FFADD2","#FF4D4F","#FF7A45","#FFA940","#FFEC3D","#73D13D","#36CFC9","#40A9FF","#597EF7","#9254DE","#F759AB","#CF1322","#D4380D","#D46B08","#D4B106","#389E0D","#08979C","#096DD9","#1D39C4","#531DAB","#C41D7F","#820014","#871400","#873800","#614700","#135200","#00474F","#003A8C","#061178","#22075E","#780650"],k={placeholder:a.placeholder,readOnly:a.disabled,maxLength:a.maxLength,MENU_CONF:{color:{colors:E},bgColor:{colors:E}},hoverbarKeys:{text:{menuKeys:["headerSelect","insertLink","bold","italic","underline","through","clearStyle"]}}},b=Math.random().toString(36).substring(2,9),B=`CustomImageMenu_${b}`,x=`CustomVideoMenu_${b}`,I=e=>{o.value=e;try{const n=S(p),l=w(p),v={key:B,factory(){return new n}},s={key:x,factory(){return new l}};A.Boot.registerMenu(v),A.Boot.registerMenu(s)}catch(n){console.warn("菜单注册失败:",n)}D.insertKeys={index:0,keys:[B,x]},m("created",e)};t.onBeforeUnmount(()=>{const e=o.value;e!=null&&e.destroy()}),t.watch(()=>a.modelValue,e=>{e!==d.value&&(d.value=e||"")},{immediate:!0});const z=e=>{m("update:modelValue",d.value),m("change",e)},H=()=>{o.value=void 0},j=e=>{m("focus",e)},K=e=>{m("blur",e)};return r({editor:o,getHtml:()=>d.value,getText:()=>{var e;return((e=o.value)==null?void 0:e.getText())||""},isEmpty:()=>{var e;return((e=o.value)==null?void 0:e.isEmpty())||!0},clear:()=>{var e;return(e=o.value)==null?void 0:e.clear()},focus:()=>{var e;return(e=o.value)==null?void 0:e.focus()},blur:()=>{var e;return(e=o.value)==null?void 0:e.blur()},disable:()=>{var e;return(e=o.value)==null?void 0:e.disable()},enable:()=>{var e;return(e=o.value)==null?void 0:e.enable()}}),(e,n)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["rich-text-editor",e.class])},[t.createVNode(t.unref(M.Toolbar),{class:"editor-toolbar",editor:o.value,defaultConfig:D,mode:u.mode},null,8,["editor","mode"]),t.createVNode(t.unref(M.Editor),{class:"editor-content",style:t.normalizeStyle({height:V.value}),modelValue:d.value,"onUpdate:modelValue":n[0]||(n[0]=l=>d.value=l),defaultConfig:k,mode:u.mode,onOnCreated:I,onOnChange:z,onOnDestroyed:H,onOnFocus:j,onOnBlur:K},null,8,["style","modelValue","mode"])],2))}}),U=T._(L,[["__scopeId","data-v-c243ccd3"]]);exports.default=U;
|
|
@@ -2574,7 +2574,7 @@ const aC = ["innerHTML"], iC = ["innerHTML"], sC = /* @__PURE__ */ we({
|
|
|
2574
2574
|
]);
|
|
2575
2575
|
};
|
|
2576
2576
|
}
|
|
2577
|
-
}), yC = /* @__PURE__ */ pe(vC, [["__scopeId", "data-v-
|
|
2577
|
+
}), yC = /* @__PURE__ */ pe(vC, [["__scopeId", "data-v-e7222c56"]]), wC = {
|
|
2578
2578
|
key: 0,
|
|
2579
2579
|
class: "image-desc"
|
|
2580
2580
|
}, bC = {
|
|
@@ -2834,7 +2834,7 @@ const aC = ["innerHTML"], iC = ["innerHTML"], sC = /* @__PURE__ */ we({
|
|
|
2834
2834
|
},
|
|
2835
2835
|
emits: ["update:show"],
|
|
2836
2836
|
setup(t, { emit: e }) {
|
|
2837
|
-
const n = et(() => import("vuedraggable")), a = et(() => import("./index-
|
|
2837
|
+
const n = et(() => import("vuedraggable")), a = et(() => import("./index-A_G9FeVI.mjs")), i = N(!1), s = W(() => ({
|
|
2838
2838
|
animation: 200,
|
|
2839
2839
|
group: "item",
|
|
2840
2840
|
disabled: !1,
|
|
@@ -5691,7 +5691,7 @@ const aC = ["innerHTML"], iC = ["innerHTML"], sC = /* @__PURE__ */ we({
|
|
|
5691
5691
|
},
|
|
5692
5692
|
emits: ["update:show"],
|
|
5693
5693
|
setup(t, { emit: e }) {
|
|
5694
|
-
const n = et(() => import("vuedraggable")), a = et(() => import("./index-
|
|
5694
|
+
const n = et(() => import("vuedraggable")), a = et(() => import("./index-A_G9FeVI.mjs")), i = N(!1), s = W(() => ({
|
|
5695
5695
|
animation: 200,
|
|
5696
5696
|
group: "gallerys",
|
|
5697
5697
|
// 链接专用分组
|
|
@@ -7327,7 +7327,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
|
|
|
7327
7327
|
},
|
|
7328
7328
|
emits: ["update:show"],
|
|
7329
7329
|
setup(t, { emit: e }) {
|
|
7330
|
-
const n = et(() => import("vuedraggable")), a = et(() => import("./index-
|
|
7330
|
+
const n = et(() => import("vuedraggable")), a = et(() => import("./index-A_G9FeVI.mjs")), i = N(!1), s = W(() => ({
|
|
7331
7331
|
animation: 200,
|
|
7332
7332
|
group: "gallerys",
|
|
7333
7333
|
// 链接专用分组
|
|
@@ -7961,7 +7961,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
|
|
|
7961
7961
|
], 64);
|
|
7962
7962
|
};
|
|
7963
7963
|
}
|
|
7964
|
-
}), wh = /* @__PURE__ */ pe(o6, [["__scopeId", "data-v-
|
|
7964
|
+
}), wh = /* @__PURE__ */ pe(o6, [["__scopeId", "data-v-8ae2a98c"]]), c1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: wh }, Symbol.toStringTag, { value: "Module" })), l6 = `<svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
7965
7965
|
<path d="M9.99981 19.4999C9.76615 19.5004 9.53972 19.419 9.35981 19.2699C9.25855 19.186 9.17485 19.0829 9.11349 18.9665C9.05214 18.8502 9.01435 18.7229 9.00227 18.5919C8.99019 18.4609 9.00408 18.3289 9.04312 18.2033C9.08217 18.0777 9.1456 17.961 9.22981 17.8599L13.7098 12.4999L9.38981 7.12994C9.30674 7.02765 9.24471 6.90996 9.20728 6.78362C9.16985 6.65728 9.15775 6.52479 9.17169 6.39376C9.18563 6.26273 9.22533 6.13575 9.2885 6.02011C9.35168 5.90447 9.43708 5.80246 9.53981 5.71994C9.64327 5.6289 9.76444 5.56024 9.8957 5.51825C10.027 5.47626 10.1655 5.46185 10.3026 5.47594C10.4397 5.49002 10.5724 5.53229 10.6924 5.6001C10.8123 5.6679 10.917 5.75977 10.9998 5.86994L15.8298 11.8699C15.9769 12.0489 16.0573 12.2733 16.0573 12.5049C16.0573 12.7366 15.9769 12.961 15.8298 13.1399L10.8298 19.1399C10.7295 19.261 10.6021 19.3566 10.4578 19.4192C10.3136 19.4817 10.1567 19.5094 9.99981 19.4999Z" fill="#64788F"/>
|
|
7966
7966
|
</svg>
|
|
7967
7967
|
`, r6 = `<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -8743,7 +8743,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
|
|
|
8743
8743
|
},
|
|
8744
8744
|
emits: ["update:show"],
|
|
8745
8745
|
setup(t, { emit: e }) {
|
|
8746
|
-
const n = et(() => import("vuedraggable")), a = et(() => import("./index-
|
|
8746
|
+
const n = et(() => import("vuedraggable")), a = et(() => import("./index-A_G9FeVI.mjs")), i = N(!1), s = W(() => ({
|
|
8747
8747
|
animation: 200,
|
|
8748
8748
|
group: "btns",
|
|
8749
8749
|
// 链接专用分组
|
|
@@ -9614,7 +9614,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
|
|
|
9614
9614
|
}
|
|
9615
9615
|
},
|
|
9616
9616
|
setup(t) {
|
|
9617
|
-
const e = et(() => import("vuedraggable")), n = et(() => import("./index-
|
|
9617
|
+
const e = et(() => import("vuedraggable")), n = et(() => import("./index-A_G9FeVI.mjs")), a = N(!1), i = W(() => d.locale === "sc" ? `按钮(最多${d.maxNum}个)` : d.locale === "hk" ? `按鈕(最多${d.maxNum}個)` : `Buttons(max ${d.maxNum})`), s = W(() => ({
|
|
9618
9618
|
animation: 200,
|
|
9619
9619
|
group: "buttons",
|
|
9620
9620
|
// 按钮专用分组
|
|
@@ -11724,7 +11724,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
|
|
|
11724
11724
|
},
|
|
11725
11725
|
emits: ["update:show"],
|
|
11726
11726
|
setup(t, { emit: e }) {
|
|
11727
|
-
const n = et(() => import("./index-
|
|
11727
|
+
const n = et(() => import("./index-A_G9FeVI.mjs")), a = t, { t: i } = xe(() => a.locale), s = e, l = () => {
|
|
11728
11728
|
s("update:show", !1);
|
|
11729
11729
|
};
|
|
11730
11730
|
return (o, d) => {
|
|
@@ -11878,7 +11878,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
|
|
|
11878
11878
|
}, 8, ["visible"]);
|
|
11879
11879
|
};
|
|
11880
11880
|
}
|
|
11881
|
-
}), EE = /* @__PURE__ */ pe(BE, [["__scopeId", "data-v-
|
|
11881
|
+
}), EE = /* @__PURE__ */ pe(BE, [["__scopeId", "data-v-2dbb0e72"]]), TE = {
|
|
11882
11882
|
key: 0,
|
|
11883
11883
|
class: "quote-text__line"
|
|
11884
11884
|
}, PE = ["innerHTML"], SE = ["innerHTML"], IE = /* @__PURE__ */ we({
|
|
@@ -11980,7 +11980,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
|
|
|
11980
11980
|
], 64);
|
|
11981
11981
|
};
|
|
11982
11982
|
}
|
|
11983
|
-
}), Eh = /* @__PURE__ */ pe(IE, [["__scopeId", "data-v-
|
|
11983
|
+
}), Eh = /* @__PURE__ */ pe(IE, [["__scopeId", "data-v-a678a49c"]]), A1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: Eh }, Symbol.toStringTag, { value: "Module" })), ME = { class: "setting-content" }, VE = { class: "setting-header flex items-center mb-10" }, LE = { class: "header-title" }, OE = { class: "setting-header flex items-center" }, QE = { class: "header-title" }, UE = { class: "setting-header flex items-center" }, HE = { class: "header-title" }, FE = { class: "setting-body" }, RE = { class: "setting-item" }, NE = { class: "item-name" }, zE = { class: "btn-group" }, jE = {
|
|
11984
11984
|
key: 0,
|
|
11985
11985
|
class: "drag-handle"
|
|
11986
11986
|
}, qE = { class: "item-action flex items-center" }, YE = { style: { "font-size": "12px", color: "#999" } }, GE = { class: "btn-text" }, KE = /* @__PURE__ */ we({
|
|
@@ -13395,7 +13395,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
|
|
|
13395
13395
|
},
|
|
13396
13396
|
emits: ["update:show"],
|
|
13397
13397
|
setup(t, { emit: e }) {
|
|
13398
|
-
const n = et(() => import("./index-
|
|
13398
|
+
const n = et(() => import("./index-A_G9FeVI.mjs")), a = t, { t: i } = xe(() => a.locale), s = e, l = () => {
|
|
13399
13399
|
s("update:show", !1);
|
|
13400
13400
|
};
|
|
13401
13401
|
return (o, d) => {
|
|
@@ -13622,7 +13622,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
|
|
|
13622
13622
|
},
|
|
13623
13623
|
emits: ["update:show"],
|
|
13624
13624
|
setup(t, { emit: e }) {
|
|
13625
|
-
const n = et(() => import("vuedraggable")), a = et(() => import("./index-
|
|
13625
|
+
const n = et(() => import("vuedraggable")), a = et(() => import("./index-A_G9FeVI.mjs")), i = N(!1), s = W(() => ({
|
|
13626
13626
|
animation: 200,
|
|
13627
13627
|
group: "links",
|
|
13628
13628
|
// 链接专用分组
|
|
@@ -13874,7 +13874,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
|
|
|
13874
13874
|
}, 8, ["visible"]);
|
|
13875
13875
|
};
|
|
13876
13876
|
}
|
|
13877
|
-
}), tP = /* @__PURE__ */ pe(eP, [["__scopeId", "data-v-
|
|
13877
|
+
}), tP = /* @__PURE__ */ pe(eP, [["__scopeId", "data-v-5366fabc"]]), nP = ["innerHTML"], aP = { class: "circle-link" }, iP = ["href"], sP = ["onClick"], oP = /* @__PURE__ */ we({
|
|
13878
13878
|
name: "ArticleItem",
|
|
13879
13879
|
__name: "index",
|
|
13880
13880
|
props: {
|
|
@@ -14016,7 +14016,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
|
|
|
14016
14016
|
], 64);
|
|
14017
14017
|
};
|
|
14018
14018
|
}
|
|
14019
|
-
}), Mh = /* @__PURE__ */ pe(oP, [["__scopeId", "data-v-
|
|
14019
|
+
}), Mh = /* @__PURE__ */ pe(oP, [["__scopeId", "data-v-2cf013b3"]]), C1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: Mh }, Symbol.toStringTag, { value: "Module" })), lP = { class: "setting-content" }, rP = { class: "setting-header flex items-center mb-10" }, dP = { class: "header-title" }, uP = { class: "setting-header flex items-center" }, cP = { class: "header-title" }, hP = { class: "setting-body" }, gP = { class: "item-title" }, fP = { class: "item-title" }, mP = { class: "item-title" }, pP = /* @__PURE__ */ we({
|
|
14020
14020
|
__name: "setting",
|
|
14021
14021
|
props: {
|
|
14022
14022
|
show: {
|
|
@@ -14035,7 +14035,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
|
|
|
14035
14035
|
},
|
|
14036
14036
|
emits: ["update:show"],
|
|
14037
14037
|
setup(t, { emit: e }) {
|
|
14038
|
-
const n = et(() => import("./index-
|
|
14038
|
+
const n = et(() => import("./index-A_G9FeVI.mjs")), a = t, { t: i } = xe(() => a.locale), s = e, l = () => {
|
|
14039
14039
|
s("update:show", !1);
|
|
14040
14040
|
};
|
|
14041
14041
|
return (o, d) => {
|
|
@@ -14582,7 +14582,7 @@ const Xx = { class: "gallery-container gallery-timeline container-content" }, Jx
|
|
|
14582
14582
|
},
|
|
14583
14583
|
emits: ["update:show"],
|
|
14584
14584
|
setup(t, { emit: e }) {
|
|
14585
|
-
const n = et(() => import("vuedraggable")), a = et(() => import("./index-
|
|
14585
|
+
const n = et(() => import("vuedraggable")), a = et(() => import("./index-A_G9FeVI.mjs")), i = N(!1), s = W(() => ({
|
|
14586
14586
|
animation: 200,
|
|
14587
14587
|
group: "gallerys",
|
|
14588
14588
|
// 链接专用分组
|
|
@@ -16365,7 +16365,7 @@ const hn = k1(), CS = k1(), xS = ["onClick"], DS = /* @__PURE__ */ we({
|
|
|
16365
16365
|
},
|
|
16366
16366
|
emits: ["update:show"],
|
|
16367
16367
|
setup(t, { emit: e }) {
|
|
16368
|
-
const n = et(() => import("vuedraggable")), a = et(() => import("./index-
|
|
16368
|
+
const n = et(() => import("vuedraggable")), a = et(() => import("./index-A_G9FeVI.mjs")), i = N(!1), s = W(() => ({
|
|
16369
16369
|
animation: 200,
|
|
16370
16370
|
group: "gallerys",
|
|
16371
16371
|
// 链接专用分组
|
|
@@ -17666,7 +17666,7 @@ const hn = k1(), CS = k1(), xS = ["onClick"], DS = /* @__PURE__ */ we({
|
|
|
17666
17666
|
emits: ["update:show"],
|
|
17667
17667
|
setup(t, { emit: e }) {
|
|
17668
17668
|
const n = et(
|
|
17669
|
-
() => import("./index-
|
|
17669
|
+
() => import("./index-A_G9FeVI.mjs")
|
|
17670
17670
|
), a = t, { t: i } = xe(() => a.locale), s = e, l = () => {
|
|
17671
17671
|
s("update:show", !1);
|
|
17672
17672
|
};
|
|
@@ -19281,7 +19281,7 @@ const hn = k1(), CS = k1(), xS = ["onClick"], DS = /* @__PURE__ */ we({
|
|
|
19281
19281
|
setup(t, { emit: e }) {
|
|
19282
19282
|
var V;
|
|
19283
19283
|
const n = et(() => import("vuedraggable")), a = et(
|
|
19284
|
-
() => import("./index-
|
|
19284
|
+
() => import("./index-A_G9FeVI.mjs")
|
|
19285
19285
|
), i = W(() => ({
|
|
19286
19286
|
animation: 200,
|
|
19287
19287
|
group: "linkList",
|
|
@@ -21788,7 +21788,7 @@ const zU = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAJYCAYAAAApNz8GAA
|
|
|
21788
21788
|
emits: ["update:show"],
|
|
21789
21789
|
setup(t, { emit: e }) {
|
|
21790
21790
|
const n = et(
|
|
21791
|
-
() => import("./index-
|
|
21791
|
+
() => import("./index-A_G9FeVI.mjs")
|
|
21792
21792
|
), a = et(() => import("vuedraggable")), i = t, { t: s } = xe(() => i.locale), l = N(!1), o = N(/* @__PURE__ */ new Set()), d = N(/* @__PURE__ */ new Set());
|
|
21793
21793
|
je(
|
|
21794
21794
|
() => {
|
|
@@ -24997,7 +24997,7 @@ const zU = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAJYCAYAAAApNz8GAA
|
|
|
24997
24997
|
t.index < t.maxIndex ? (y(), P("div", Xz, " OR ")) : K("", !0)
|
|
24998
24998
|
]));
|
|
24999
24999
|
}
|
|
25000
|
-
}), z1 = /* @__PURE__ */ pe(Jz, [["__scopeId", "data-v-
|
|
25000
|
+
}), z1 = /* @__PURE__ */ pe(Jz, [["__scopeId", "data-v-3f142130"]]), Zz = { class: "setting-content" }, _z = { class: "setting-header flex items-center mb-10" }, $z = { class: "header-title" }, ej = { class: "setting-header flex items-center" }, tj = { class: "header-title" }, nj = { class: "setting-header flex items-center" }, aj = { class: "header-title" }, ij = { class: "setting-body" }, sj = { class: "setting-item" }, oj = { class: "btn-group" }, lj = {
|
|
25001
25001
|
key: 0,
|
|
25002
25002
|
class: "drag-handle"
|
|
25003
25003
|
}, rj = { class: "item-title" }, dj = { class: "item-title" }, uj = { class: "btn-text" }, cj = /* @__PURE__ */ we({
|
|
@@ -25020,7 +25020,7 @@ const zU = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAJYCAYAAAApNz8GAA
|
|
|
25020
25020
|
},
|
|
25021
25021
|
emits: ["update:show"],
|
|
25022
25022
|
setup(t, { emit: e }) {
|
|
25023
|
-
const n = et(() => import("vuedraggable")), a = et(() => import("./index-
|
|
25023
|
+
const n = et(() => import("vuedraggable")), a = et(() => import("./index-A_G9FeVI.mjs")), i = N(!1), s = W(() => ({
|
|
25024
25024
|
animation: 200,
|
|
25025
25025
|
group: "data",
|
|
25026
25026
|
// 专用分组
|
|
@@ -25213,7 +25213,7 @@ const zU = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAJYCAYAAAApNz8GAA
|
|
|
25213
25213
|
}, 8, ["visible"]);
|
|
25214
25214
|
};
|
|
25215
25215
|
}
|
|
25216
|
-
}), hj = /* @__PURE__ */ pe(cj, [["__scopeId", "data-v-
|
|
25216
|
+
}), hj = /* @__PURE__ */ pe(cj, [["__scopeId", "data-v-fda36c88"]]), gj = /* @__PURE__ */ we({
|
|
25217
25217
|
name: "BasicCollapse",
|
|
25218
25218
|
__name: "index",
|
|
25219
25219
|
props: {
|
|
@@ -25353,7 +25353,7 @@ const zU = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhwAAAJYCAYAAAApNz8GAA
|
|
|
25353
25353
|
},
|
|
25354
25354
|
emits: ["update:show"],
|
|
25355
25355
|
setup(t, { emit: e }) {
|
|
25356
|
-
const n = et(() => import("vuedraggable")), a = et(() => import("./index-
|
|
25356
|
+
const n = et(() => import("vuedraggable")), a = et(() => import("./index-A_G9FeVI.mjs")), i = N(!1), s = W(() => ({
|
|
25357
25357
|
animation: 200,
|
|
25358
25358
|
group: "data",
|
|
25359
25359
|
// 专用分组
|
|
@@ -27558,7 +27558,7 @@ const Sq = /* @__PURE__ */ Hs(Pq), Iq = { class: "setting-content" }, Mq = { cla
|
|
|
27558
27558
|
}, 8, ["visible"]);
|
|
27559
27559
|
};
|
|
27560
27560
|
}
|
|
27561
|
-
}), sG = /* @__PURE__ */ pe(iG, [["__scopeId", "data-v-187ea50f"]]), oG = { class: "gallery-
|
|
27561
|
+
}), sG = /* @__PURE__ */ pe(iG, [["__scopeId", "data-v-187ea50f"]]), oG = { class: "gallery-block__wrapper" }, lG = ["onClick"], rG = { class: "image-block__content" }, dG = ["innerHTML"], uG = ["innerHTML"], cG = { class: "image-block__link" }, hG = { class: "circle-link circle-link--light" }, gG = ["href"], fG = ["onClick"], mG = /* @__PURE__ */ we({
|
|
27562
27562
|
name: "GalleryBlock",
|
|
27563
27563
|
__name: "index",
|
|
27564
27564
|
props: {
|
|
@@ -27644,29 +27644,29 @@ const Sq = /* @__PURE__ */ Hs(Pq), Iq = { class: "setting-content" }, Mq = { cla
|
|
|
27644
27644
|
}, [
|
|
27645
27645
|
r("div", oG, [
|
|
27646
27646
|
r("div", {
|
|
27647
|
-
class: ue(["
|
|
27647
|
+
class: ue(["row g-0", `row-cols-1 row-cols-md-${(k = (S = t.modelValue) == null ? void 0 : S.data) == null ? void 0 : k.length}`])
|
|
27648
27648
|
}, [
|
|
27649
27649
|
(y(!0), P(he, null, Be((B = t.modelValue) == null ? void 0 : B.data, (E) => (y(), P("div", {
|
|
27650
|
-
class: "
|
|
27650
|
+
class: "col",
|
|
27651
27651
|
key: E.id
|
|
27652
27652
|
}, [
|
|
27653
27653
|
r("div", {
|
|
27654
|
-
class: "
|
|
27654
|
+
class: "image-block d-block w-100",
|
|
27655
27655
|
onClick: (V) => p(E)
|
|
27656
27656
|
}, [
|
|
27657
27657
|
r("div", {
|
|
27658
|
-
class: ue(["
|
|
27658
|
+
class: ue(["image-block__bg", { "has-subtitle": E.subtitle }]),
|
|
27659
27659
|
style: Le({ "--bg-image": `url('${E.imgSrc}')` })
|
|
27660
27660
|
}, null, 6),
|
|
27661
27661
|
r("div", rG, [
|
|
27662
|
-
A[7] || (A[7] = r("div", { class: "
|
|
27662
|
+
A[7] || (A[7] = r("div", { class: "image-block__border" }, null, -1)),
|
|
27663
27663
|
r("div", {
|
|
27664
|
-
class: "
|
|
27664
|
+
class: "image-block__title",
|
|
27665
27665
|
innerHTML: E.title
|
|
27666
27666
|
}, null, 8, dG),
|
|
27667
27667
|
Re(r("div", null, [
|
|
27668
27668
|
r("div", {
|
|
27669
|
-
class: "
|
|
27669
|
+
class: "image-block__subtitle",
|
|
27670
27670
|
innerHTML: E.subtitle
|
|
27671
27671
|
}, null, 8, uG)
|
|
27672
27672
|
], 512), [
|
|
@@ -27676,15 +27676,13 @@ const Sq = /* @__PURE__ */ Hs(Pq), Iq = { class: "setting-content" }, Mq = { cla
|
|
|
27676
27676
|
r("div", hG, [
|
|
27677
27677
|
E.url && E.url.includes("http") && t.isPreview ? (y(), P("a", {
|
|
27678
27678
|
key: 0,
|
|
27679
|
-
href: E.url
|
|
27680
|
-
class: "nuxt-link-exact-active nuxt-link-active"
|
|
27679
|
+
href: E.url
|
|
27681
27680
|
}, [
|
|
27682
27681
|
r("div", null, g(c(s)("btn.read_more")), 1),
|
|
27683
27682
|
A[5] || (A[5] = r("span", { class: "circle-link__icon circle-link__icon--light" }, null, -1))
|
|
27684
27683
|
], 8, gG)) : (y(), P("button", {
|
|
27685
27684
|
key: 1,
|
|
27686
|
-
onClick: (V) => p(E)
|
|
27687
|
-
class: "nuxt-link-exact-active nuxt-link-active"
|
|
27685
|
+
onClick: (V) => p(E)
|
|
27688
27686
|
}, [
|
|
27689
27687
|
r("div", null, g(c(s)("btn.read_more")), 1),
|
|
27690
27688
|
A[6] || (A[6] = r("span", { class: "circle-link__icon circle-link__icon--light" }, null, -1))
|
|
@@ -27717,7 +27715,7 @@ const Sq = /* @__PURE__ */ Hs(Pq), Iq = { class: "setting-content" }, Mq = { cla
|
|
|
27717
27715
|
], 64);
|
|
27718
27716
|
};
|
|
27719
27717
|
}
|
|
27720
|
-
}), eg = /* @__PURE__ */ pe(mG, [["__scopeId", "data-v-
|
|
27718
|
+
}), eg = /* @__PURE__ */ pe(mG, [["__scopeId", "data-v-312366f3"]]), Z1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: eg }, Symbol.toStringTag, { value: "Module" })), pG = { class: "seting-box" }, AG = { class: "setting-header flex items-center mb-10" }, vG = { class: "header-title" }, yG = { class: "item-title" }, wG = { class: "item-title" }, bG = /* @__PURE__ */ we({
|
|
27721
27719
|
__name: "setting",
|
|
27722
27720
|
props: {
|
|
27723
27721
|
show: {
|
|
@@ -28816,7 +28814,7 @@ const Sq = /* @__PURE__ */ Hs(Pq), Iq = { class: "setting-content" }, Mq = { cla
|
|
|
28816
28814
|
emits: ["update:show"],
|
|
28817
28815
|
setup(t, { emit: e }) {
|
|
28818
28816
|
const n = et(
|
|
28819
|
-
() => import("./index-
|
|
28817
|
+
() => import("./index-A_G9FeVI.mjs")
|
|
28820
28818
|
), a = t, { t: i } = xe(() => a.locale), s = e, l = () => {
|
|
28821
28819
|
s("update:show", !1);
|
|
28822
28820
|
};
|
|
@@ -28942,7 +28940,7 @@ const Sq = /* @__PURE__ */ Hs(Pq), Iq = { class: "setting-content" }, Mq = { cla
|
|
|
28942
28940
|
}, 8, ["visible"]);
|
|
28943
28941
|
};
|
|
28944
28942
|
}
|
|
28945
|
-
}), uK = /* @__PURE__ */ pe(dK, [["__scopeId", "data-v-
|
|
28943
|
+
}), uK = /* @__PURE__ */ pe(dK, [["__scopeId", "data-v-99f82ede"]]), cK = ["id"], hK = ["innerHTML"], gK = ["innerHTML"], fK = /* @__PURE__ */ we({
|
|
28946
28944
|
name: "CustomText",
|
|
28947
28945
|
__name: "index",
|
|
28948
28946
|
props: {
|
|
@@ -29054,7 +29052,7 @@ const Sq = /* @__PURE__ */ Hs(Pq), Iq = { class: "setting-content" }, Mq = { cla
|
|
|
29054
29052
|
], 64);
|
|
29055
29053
|
};
|
|
29056
29054
|
}
|
|
29057
|
-
}), ag = /* @__PURE__ */ pe(fK, [["__scopeId", "data-v-
|
|
29055
|
+
}), ag = /* @__PURE__ */ pe(fK, [["__scopeId", "data-v-7417282d"]]), e0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: ag }, Symbol.toStringTag, { value: "Module" })), mK = { class: "setting-content" }, pK = { class: "setting-header flex items-center mb-10" }, AK = { class: "header-title" }, vK = { class: "item-title" }, yK = { class: "item-title" }, wK = ["src"], bK = { class: "item-uplaod flex items-center" }, CK = { class: "item-title" }, xK = { class: "item-title" }, DK = /* @__PURE__ */ we({
|
|
29058
29056
|
__name: "setting",
|
|
29059
29057
|
props: {
|
|
29060
29058
|
show: {
|
|
@@ -29074,7 +29072,7 @@ const Sq = /* @__PURE__ */ Hs(Pq), Iq = { class: "setting-content" }, Mq = { cla
|
|
|
29074
29072
|
emits: ["update:show"],
|
|
29075
29073
|
setup(t, { emit: e }) {
|
|
29076
29074
|
const n = et(
|
|
29077
|
-
() => import("./index-
|
|
29075
|
+
() => import("./index-A_G9FeVI.mjs")
|
|
29078
29076
|
), a = t, { t: i } = xe(() => a.locale), s = e, l = () => {
|
|
29079
29077
|
s("update:show", !1);
|
|
29080
29078
|
};
|
|
@@ -35840,7 +35838,7 @@ const rZ = {
|
|
|
35840
35838
|
},
|
|
35841
35839
|
emits: ["update:show"],
|
|
35842
35840
|
setup(t, { emit: e }) {
|
|
35843
|
-
const n = et(() => import("vuedraggable")), a = et(() => import("./index-
|
|
35841
|
+
const n = et(() => import("vuedraggable")), a = et(() => import("./index-A_G9FeVI.mjs")), i = N(!1), s = W(() => ({
|
|
35844
35842
|
animation: 200,
|
|
35845
35843
|
group: "programmes",
|
|
35846
35844
|
// 链接专用分组
|
|
@@ -76446,7 +76444,7 @@ const Sge = /* @__PURE__ */ Hs(Pge), Ige = { class: "setting-content" }, Mge = {
|
|
|
76446
76444
|
[i, b]
|
|
76447
76445
|
]);
|
|
76448
76446
|
}
|
|
76449
|
-
}, TA = /* @__PURE__ */ pe(bfe, [["__scopeId", "data-v-
|
|
76447
|
+
}, TA = /* @__PURE__ */ pe(bfe, [["__scopeId", "data-v-536804a2"]]), Cfe = { class: "setting-content" }, xfe = { class: "setting-header flex items-center mb-10" }, Dfe = { class: "header-title" }, kfe = { class: "setting-header flex items-center" }, Bfe = { class: "header-title" }, Efe = { class: "setting-body" }, Tfe = { class: "setting-item" }, Pfe = { class: "item-header" }, Sfe = { class: "btn-group" }, Ife = {
|
|
76450
76448
|
key: 0,
|
|
76451
76449
|
class: "drag-handle"
|
|
76452
76450
|
}, Mfe = { key: 0 }, Vfe = { class: "item-header" }, Lfe = { class: "btn-group" }, Ofe = {
|
|
@@ -77716,7 +77714,7 @@ const Sge = /* @__PURE__ */ Hs(Pge), Ige = { class: "setting-content" }, Mge = {
|
|
|
77716
77714
|
},
|
|
77717
77715
|
emits: ["update:show"],
|
|
77718
77716
|
setup(t, { emit: e }) {
|
|
77719
|
-
const n = et(() => import("vuedraggable")), a = et(() => import("./index-
|
|
77717
|
+
const n = et(() => import("vuedraggable")), a = et(() => import("./index-A_G9FeVI.mjs")), i = N(!1), s = W(() => ({
|
|
77720
77718
|
animation: 200,
|
|
77721
77719
|
group: "gallerys",
|
|
77722
77720
|
disabled: !1,
|
|
@@ -77917,7 +77915,7 @@ const Sge = /* @__PURE__ */ Hs(Pge), Ige = { class: "setting-content" }, Mge = {
|
|
|
77917
77915
|
}, 8, ["visible"]);
|
|
77918
77916
|
};
|
|
77919
77917
|
}
|
|
77920
|
-
}), Yme = /* @__PURE__ */ pe(qme, [["__scopeId", "data-v-
|
|
77918
|
+
}), Yme = /* @__PURE__ */ pe(qme, [["__scopeId", "data-v-1195c237"]]), Gme = ["id"], Kme = ["id"], Wme = ["onClick"], Xme = { class: "accordion-button__title" }, Jme = ["id", "aria-expanded", "aria-labelledby"], Zme = { class: "accordion-body" }, _me = ["innerHTML"], $me = { class: "flex-center mt-10" }, epe = { class: "btn--udrline" }, tpe = {
|
|
77921
77919
|
__name: "index",
|
|
77922
77920
|
props: {
|
|
77923
77921
|
modelValue: {
|
|
@@ -78122,7 +78120,7 @@ const Sge = /* @__PURE__ */ Hs(Pge), Ige = { class: "setting-content" }, Mge = {
|
|
|
78122
78120
|
], 46, Gme)) : K("", !0);
|
|
78123
78121
|
};
|
|
78124
78122
|
}
|
|
78125
|
-
}, Bf = /* @__PURE__ */ pe(tpe, [["__scopeId", "data-v-
|
|
78123
|
+
}, Bf = /* @__PURE__ */ pe(tpe, [["__scopeId", "data-v-be857df4"]]), _y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, default: Bf }, Symbol.toStringTag, { value: "Module" })), npe = { class: "setting-content" }, ape = { class: "setting-header flex items-center mb-10" }, ipe = { class: "header-title" }, spe = { class: "setting-header flex items-center" }, ope = { class: "header-title" }, lpe = { class: "setting-header flex items-center" }, rpe = { class: "header-title" }, dpe = { class: "setting-body" }, upe = { class: "item-title" }, cpe = /* @__PURE__ */ we({
|
|
78126
78124
|
__name: "setting",
|
|
78127
78125
|
props: {
|
|
78128
78126
|
show: {
|