engineering/public/admin/assets/preview-pc.d73151d1.js
2024-02-20 17:15:05 +08:00

2 lines
3.4 KiB
JavaScript

import{e as c}from"./index.1b08477d.js";import{d as u,o as r,c as p,W as _,a8 as d,Q as s,a as f,$ as y,I as v,L as b,R as k,u as h}from"./@vue.ab566ce7.js";import{_ as C}from"./index.892155dd.js";import"./attr.vue_vue_type_script_setup_true_lang.c894ba9e.js";import"./element-plus.b3353ca6.js";import"./@vueuse.8fcae4c2.js";import"./@element-plus.b89f1627.js";import"./lodash-es.49f4af13.js";import"./dayjs.4afe12d3.js";import"./axios.37fc980d.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.a32217c7.js";import"./picker.bdae437d.js";import"./index.771e5a41.js";import"./picker.c87c33d0.js";import"./index.c9c3d029.js";import"./index.vue_vue_type_script_setup_true_lang.f8e9523f.js";import"./index.vue_vue_type_script_setup_true_lang.a5118056.js";import"./usePaging.f6660143.js";import"./vue3-video-play.b66b1487.js";import"./vuedraggable.05ef589e.js";import"./vue.6436c619.js";import"./sortablejs.81b741d7.js";import"./content.vue_vue_type_script_setup_true_lang.723079c9.js";import"./decoration-img.aaa79b68.js";import"./lodash.1d82ee7c.js";import"./vue-router.87ebc608.js";import"./pinia.b6700c26.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.d0bec2c9.js";import"./color.ea90db3f.js";import"./clone.cbd692e6.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.ad6bc3c0.js";import"./ms.a9ae1d6d.js";import"./nprogress.bcdf1f46.js";import"./vue-clipboard3.c45111bf.js";import"./clipboard.1cb79a0d.js";import"./echarts.b30ab882.js";import"./tslib.60310f1a.js";import"./zrender.3760070d.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.62ff6725.js";import"./attr.vue_vue_type_script_setup_true_lang.0cc496e7.js";import"./content.4179b558.js";import"./attr.vue_vue_type_script_setup_true_lang.d6f9cb18.js";import"./add-nav.vue_vue_type_script_setup_true_lang.d0982be7.js";import"./content.f3cb6f82.js";import"./attr.vue_vue_type_script_setup_true_lang.5a24334b.js";import"./content.vue_vue_type_script_setup_true_lang.81afa6e3.js";import"./attr.vue_vue_type_script_setup_true_lang.d4a01b37.js";import"./content.6bb18b92.js";import"./decoration.f68a613b.js";import"./attr.vue_vue_type_script_setup_true_lang.d755c81f.js";import"./content.b61ca333.js";import"./attr.vue_vue_type_script_setup_true_lang.ebad76b3.js";import"./content.vue_vue_type_script_setup_true_lang.78f5fa07.js";import"./attr.vue_vue_type_script_setup_true_lang.8af8a080.js";import"./content.932245e4.js";const V={class:"pages-preview"},B=["onClick"],x=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(),p("div",V,[(r(!0),p(_,null,d(m.pageData,(o,a)=>(r(),p("div",{key:o.id,class:s(["relative",{"cursor-pointer":!(o!=null&&o.disabled)}]),onClick:e=>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 e;return[(r(),b(k((e=h(c)[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,B))),128))]))}});const Qo=C(x,[["__scopeId","data-v-7e9e2ca0"]]);export{Qo as default};