2 lines
3.6 KiB
JavaScript
2 lines
3.6 KiB
JavaScript
import{E as d}from"./element-plus.9c2fdfa8.js";import{e as _}from"./index.eef3f6ae.js";import{d as f,o as r,c as m,U as b,L as v,T as y,a7 as h,O as s,a as k,H as C,K as x,P as V,u as B}from"./@vue.53f8d7c3.js";import{d as D}from"./index.5be037e5.js";import"./@vueuse.038954e7.js";import"./@element-plus.37f92579.js";import"./lodash-es.29c53eac.js";import"./dayjs.e873ead7.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./attr.vue_vue_type_script_setup_true_lang.b53bfd49.js";import"./index.a870c3ad.js";import"./picker.2bea1a3e.js";import"./index.da6dd366.js";import"./index.vue_vue_type_style_index_0_scoped_187b1ead_lang.33043b78.js";import"./picker.150ddd55.js";import"./index.2baf2542.js";import"./index.vue_vue_type_script_setup_true_lang.261df48b.js";import"./index.77cf5d3d.js";import"./index.vue_vue_type_script_setup_true_lang.aa03e8e3.js";import"./usePaging.c22e2b6f.js";import"./vue3-video-play.65ddc377.js";import"./vuedraggable.56692cd2.js";import"./vue.5c6e0f1f.js";import"./sortablejs.4c4a59a1.js";import"./content.vue_vue_type_script_setup_true_lang.9b4fc230.js";import"./decoration-img.f39d2c03.js";import"./lodash.47b8af7d.js";import"./axios.96be3cef.js";import"./vue-router.e2f4a118.js";import"./pinia.bd103f5d.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.efc99072.js";import"./color.e83714e9.js";import"./clone.fb54e01d.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.b4b577c6.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.9cf3e967.js";import"./attr.vue_vue_type_script_setup_true_lang.f85dc0a9.js";import"./content.34af1843.js";import"./attr.vue_vue_type_script_setup_true_lang.c07cf281.js";import"./add-nav.vue_vue_type_script_setup_true_lang.6d3698c9.js";import"./content.31161b5a.js";import"./attr.vue_vue_type_script_setup_true_lang.57fb24bd.js";import"./content.vue_vue_type_script_setup_true_lang.2c316bae.js";import"./attr.vue_vue_type_script_setup_true_lang.6aa74a67.js";import"./content.7036479f.js";import"./decoration.c6bc7795.js";import"./attr.vue_vue_type_script_setup_true_lang.6e3bb62f.js";import"./content.55700b49.js";import"./attr.vue_vue_type_script_setup_true_lang.fa4187aa.js";import"./content.vue_vue_type_script_setup_true_lang.b4ab1c17.js";import"./attr.vue_vue_type_script_setup_true_lang.6aefd81d.js";import"./content.148be13a.js";const E={class:"shadow mx-[30px] pages-preview"},N=["onClick"],z=f({__name:"preview",props:{pageData:{type:Array,default:()=>[]},modelValue:{type:Number,default:0}},emits:["update:modelValue"],setup(p,{emit:l}){const n=l,c=(t,i)=>{t.disabled||n("update:modelValue",i)};return(t,i)=>{const u=d;return r(),m("div",E,[b(u,null,{default:v(()=>[(r(!0),m(y,null,h(p.pageData,(o,a)=>(r(),m("div",{key:o.id,class:s(["relative",{"cursor-pointer":!(o!=null&&o.disabled)}]),onClick:e=>c(o,a)},[k("div",{class:s(["absolute w-full h-full z-[100] border-dashed",{select:a==p.modelValue,"border-[#dcdfe6] border-2":!(o!=null&&o.disabled)}])},null,2),C(t.$slots,"default",{},()=>{var e;return[(r(),x(V((e=B(_)[o==null?void 0:o.name])==null?void 0:e.content),{content:o.content,styles:o.styles,key:o.id},null,8,["content","styles"]))]},!0)],10,N))),128))]),_:3})])}}});const Jo=D(z,[["__scopeId","data-v-4eb981b5"]]);export{Jo as default};
|