2 lines
3.5 KiB
JavaScript
2 lines
3.5 KiB
JavaScript
import{w as c}from"./index.aa1f7bf3.js";import{d as u,o as r,c as e,T as d,a7 as _,O as s,a as f,_ as y,H as v,K as b,P as k,u as h}from"./@vue.51d7f2d8.js";import{d as C}from"./index.d710a8b7.js";import"./attr.vue_vue_type_script_setup_true_lang.687bc2bf.js";import"./element-plus.b64c0a90.js";import"./@vueuse.ec90c285.js";import"./@element-plus.a074d1f6.js";import"./lodash-es.29c53eac.js";import"./dayjs.e873ead7.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.f6ec68b3.js";import"./picker.3151f430.js";import"./index.a975a0b7.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.0fc4c9f8.js";import"./picker.03975c4f.js";import"./index.36a4598c.js";import"./index.vue_vue_type_script_setup_true_lang.a080b28e.js";import"./index.4638cea9.js";import"./index.vue_vue_type_script_setup_true_lang.c4fa43c7.js";import"./usePaging.2ad8e1e6.js";import"./vue3-video-play.b911321b.js";import"./vuedraggable.0cb40d3a.js";import"./vue.5de34049.js";import"./sortablejs.ef73fc5c.js";import"./content.vue_vue_type_script_setup_true_lang.a6d6afc0.js";import"./decoration-img.602090e4.js";import"./lodash.08438971.js";import"./axios.105476b3.js";import"./vue-router.9f65afb1.js";import"./pinia.56356cb7.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.7ac6f233.js";import"./color.44a05936.js";import"./clone.0afcbf90.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.86067895.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.40d5feba.js";import"./attr.vue_vue_type_script_setup_true_lang.c971649d.js";import"./content.03e65212.js";import"./attr.vue_vue_type_script_setup_true_lang.28fa3cf0.js";import"./add-nav.vue_vue_type_script_setup_true_lang.87dc1a74.js";import"./content.bb8352cf.js";import"./attr.vue_vue_type_script_setup_true_lang.66fc1ef0.js";import"./content.vue_vue_type_script_setup_true_lang.5db6e685.js";import"./attr.vue_vue_type_script_setup_true_lang.d01577b5.js";import"./content.3511a0a9.js";import"./decoration.ff2c4515.js";import"./attr.vue_vue_type_script_setup_true_lang.0fc534ba.js";import"./content.dedef8d6.js";import"./attr.vue_vue_type_script_setup_true_lang.5b783121.js";import"./content.vue_vue_type_script_setup_true_lang.9f6c2933.js";import"./attr.vue_vue_type_script_setup_true_lang.00e826d0.js";import"./content.fc58982c.js";const V={class:"pages-preview"},B=["onClick"],P=u({__name:"preview-pc",props:{pageData:{type:Array,default:()=>[]},modelValue:{type:Number,default:0}},emits:["update:modelValue"],setup(m,{emit:l}){const n=(t,i)=>{t.disabled||l("update:modelValue",i)};return(t,i)=>(r(),e("div",V,[(r(!0),e(d,null,_(m.pageData,(o,a)=>(r(),e("div",{key:o.id,class:s(["relative",{"cursor-pointer":!(o!=null&&o.disabled)}]),onClick:p=>n(o,a)},[f("div",{class:s(["absolute w-full h-full z-[100] border-dashed",{select:a==m.modelValue,"border-[#dcdfe6] border-2":!(o!=null&&o.disabled)}]),style:y(o.styles)},null,6),v(t.$slots,"default",{},()=>{var p;return[(r(),b(k((p=h(c)[o==null?void 0:o.name])==null?void 0:p.content),{content:o.content,styles:o.styles,key:o.id},null,8,["content","styles"]))]},!0)],10,B))),128))]))}});const jo=C(P,[["__scopeId","data-v-7e9e2ca0"]]);export{jo as default};
|