2 lines
3.6 KiB
JavaScript
2 lines
3.6 KiB
JavaScript
import{w as c}from"./index.58e7a1b0.js";import{d as u,o as r,c as m,F as d,a9 as _,K as s,a as f,L as y,J as v,P as b,S as k,u as h}from"./@vue.f8dfc830.js";import{d as C}from"./index.2c97e227.js";import"./attr.vue_vue_type_script_setup_true_lang.cd27be7f.js";import"./element-plus.ff90c99c.js";import"./lodash-es.a73406b7.js";import"./@vueuse.a2e59ee9.js";import"./@element-plus.0374639c.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.7f1be2bc.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.34a21088.js";import"./index.78eedf62.js";import"./picker.f2288f39.js";import"./index.9321816e.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.af59f801.js";import"./picker.6a74a7fe.js";import"./index.1419fcf4.js";import"./index.vue_vue_type_script_setup_true_lang.44dbc460.js";import"./index.07d244c2.js";import"./index.vue_vue_type_script_setup_true_lang.ec118b31.js";import"./usePaging.bd7a7dec.js";import"./vue3-video-play.5592bdaa.js";import"./vuedraggable.27808ccd.js";import"./vue.acb25ca3.js";import"./sortablejs.da9c64f1.js";import"./content.vue_vue_type_script_setup_true_lang.fba37648.js";import"./decoration-img.e32cffcf.js";import"./lodash.2e6f447e.js";import"./axios.075403c9.js";import"./vue-router.6d4cf914.js";import"./pinia.4b196199.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.b6f240ee.js";import"./color.35874cfa.js";import"./clone.d8e67888.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.e6aad81b.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.79024f1a.js";import"./attr.vue_vue_type_script_setup_true_lang.ff0420fa.js";import"./content.c67f9c76.js";import"./attr.vue_vue_type_script_setup_true_lang.a0d8bdf5.js";import"./add-nav.vue_vue_type_script_setup_true_lang.75d8ce68.js";import"./content.a303f659.js";import"./attr.vue_vue_type_script_setup_true_lang.460c1636.js";import"./content.vue_vue_type_script_setup_true_lang.763467b1.js";import"./attr.vue_vue_type_script_setup_true_lang.b806e4c7.js";import"./content.6897ddd3.js";import"./decoration.a873a510.js";import"./attr.vue_vue_type_script_setup_true_lang.153369b3.js";import"./content.e41620ca.js";import"./attr.vue_vue_type_script_setup_true_lang.5436bfd0.js";import"./content.vue_vue_type_script_setup_true_lang.14f9c18b.js";import"./attr.vue_vue_type_script_setup_true_lang.645b3e63.js";import"./content.59e98f27.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(e,{emit:l}){const n=(t,i)=>{t.disabled||l("update:modelValue",i)};return(t,i)=>(r(),m("div",V,[(r(!0),m(d,null,_(e.pageData,(o,a)=>(r(),m("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==e.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 Oo=C(P,[["__scopeId","data-v-7e9e2ca0"]]);export{Oo as default};
|