officialblock 3.3.1 → 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-CdQMr7F9.mjs → index-A_G9FeVI.mjs} +1 -1
- package/dist/{index-jxkwGmDy.js → index-BflAwPb2.js} +1 -1
- package/dist/{index-Dgv25y5f.mjs → index-C3wwPLTv.mjs} +31 -33
- package/dist/{index-mMtL1Xoq.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;
|
|
@@ -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
|
// 链接专用分组
|
|
@@ -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) => {
|
|
@@ -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
|
// 链接专用分组
|
|
@@ -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
|
() => {
|
|
@@ -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
|
// 专用分组
|
|
@@ -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
|
};
|
|
@@ -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
|
// 链接专用分组
|
|
@@ -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,
|