property-f94ff089.js 5.9 KB

1
  1. import{_ as H,__tla as P}from"./ComponentContainerProperty-05f4c99c.js";import{d as q,o as s,x as n,w as l,f as a,a as r,y as u,a0 as F,c as J,F as K,j as O,as as R,at as A,ae as I,C as L,ad as M,cJ as S,cK as X,H as B,_ as G,__tla as N}from"./index-8dc1e40a.js";import{_ as Q,__tla as T}from"./index-1c57977f.js";import{_ as W,__tla as Y}from"./index-0e06ce3c.js";import{_ as Z,__tla as $}from"./UploadFile-8d93ebfd.js";import{_ as aa,__tla as la}from"./UploadImg-c2c75279.js";import{E as ta,__tla as ea}from"./el-card-18df90f0.js";import{E as ra,__tla as oa}from"./el-text-13e93c25.js";import{u as _a,__tla as ma}from"./util-6f9e53a1.js";import{__tla as ua}from"./index-0f4b3d5e.js";import"./color-6e929987.js";import{__tla as da}from"./vuedraggable.umd-3e3e7da3.js";import{__tla as sa}from"./AppLinkSelectDialog-4ba8225c.js";import{__tla as pa}from"./Dialog-41802231.js";import{__tla as na}from"./ProductCategorySelect-94eeee28.js";import{__tla as ia}from"./el-tree-select-d82790d8.js";import"./tree-0af4953a.js";import{__tla as ca}from"./category-e7433506.js";import{__tla as fa}from"./UploadFile.vue_vue_type_style_index_0_scoped_436eca1b_lang-fa07b40d.js";import{__tla as ya}from"./useMessage-7a27dd80.js";import{__tla as ha}from"./index-519182c1.js";import{__tla as Va}from"./el-image-viewer-3b8905e6.js";import{__tla as ba}from"./Qrcode-b0c88a5f.js";import{__tla as Ua}from"./IFrame-e28a12d4.js";import{__tla as xa}from"./el-collapse-item-7e888ef0.js";let V,wa=Promise.all([(()=>{try{return P}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return T}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return la}catch{}})(),(()=>{try{return ea}catch{}})(),(()=>{try{return oa}catch{}})(),(()=>{try{return ma}catch{}})(),(()=>{try{return ua}catch{}})(),(()=>{try{return da}catch{}})(),(()=>{try{return sa}catch{}})(),(()=>{try{return pa}catch{}})(),(()=>{try{return na}catch{}})(),(()=>{try{return ia}catch{}})(),(()=>{try{return ca}catch{}})(),(()=>{try{return fa}catch{}})(),(()=>{try{return ya}catch{}})(),(()=>{try{return ha}catch{}})(),(()=>{try{return Va}catch{}})(),(()=>{try{return ba}catch{}})(),(()=>{try{return Ua}catch{}})(),(()=>{try{return xa}catch{}})()]).then(async()=>{V=G(q({name:"CarouselProperty",__name:"property",props:{modelValue:{type:Object,required:!0}},emits:["update:modelValue"],setup(b,{emit:U}){const x=b,w=U,{formData:e}=_a(x.modelValue,w);return(va,o)=>{const i=O,c=R,f=A,p=I,_=L,d=M,v=S,k=X,D=ra,y=ta,h=aa,g=Z,E=W,z=Q,C=B,j=H;return s(),n(j,{modelValue:r(e).style,"onUpdate:modelValue":o[5]||(o[5]=t=>r(e).style=t)},{default:l(()=>[a(C,{"label-width":"80px",model:r(e)},{default:l(()=>[a(y,{header:"\u6837\u5F0F\u8BBE\u7F6E",class:"property-group",shadow:"never"},{default:l(()=>[a(_,{label:"\u6837\u5F0F",prop:"type"},{default:l(()=>[a(p,{modelValue:r(e).type,"onUpdate:modelValue":o[0]||(o[0]=t=>r(e).type=t)},{default:l(()=>[a(f,{class:"item",content:"\u9ED8\u8BA4",placement:"bottom"},{default:l(()=>[a(c,{label:"default"},{default:l(()=>[a(i,{icon:"system-uicons:carousel"})]),_:1})]),_:1}),a(f,{class:"item",content:"\u5361\u7247",placement:"bottom"},{default:l(()=>[a(c,{label:"card"},{default:l(()=>[a(i,{icon:"ic:round-view-carousel"})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(_,{label:"\u6307\u793A\u5668",prop:"indicator"},{default:l(()=>[a(p,{modelValue:r(e).indicator,"onUpdate:modelValue":o[1]||(o[1]=t=>r(e).indicator=t)},{default:l(()=>[a(d,{label:"dot"},{default:l(()=>[u("\u5C0F\u5706\u70B9")]),_:1}),a(d,{label:"number"},{default:l(()=>[u("\u6570\u5B57")]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(_,{label:"\u662F\u5426\u8F6E\u64AD",prop:"autoplay"},{default:l(()=>[a(v,{modelValue:r(e).autoplay,"onUpdate:modelValue":o[2]||(o[2]=t=>r(e).autoplay=t)},null,8,["modelValue"])]),_:1}),r(e).autoplay?(s(),n(_,{key:0,label:"\u64AD\u653E\u95F4\u9694",prop:"interval"},{default:l(()=>[a(k,{modelValue:r(e).interval,"onUpdate:modelValue":o[3]||(o[3]=t=>r(e).interval=t),max:10,min:.5,step:.5,"show-input":"","input-size":"small","show-input-controls":!1},null,8,["modelValue"]),a(D,{type:"info"},{default:l(()=>[u("\u5355\u4F4D\uFF1A\u79D2")]),_:1})]),_:1})):F("",!0)]),_:1}),a(y,{header:"\u5185\u5BB9\u8BBE\u7F6E",class:"property-group",shadow:"never"},{default:l(()=>[a(z,{modelValue:r(e).items,"onUpdate:modelValue":o[4]||(o[4]=t=>r(e).items=t),"empty-item":{type:"img"}},{default:l(({element:t})=>[a(_,{label:"\u7C7B\u578B",prop:"type",class:"m-b-8px!","label-width":"40px"},{default:l(()=>[a(p,{modelValue:t.type,"onUpdate:modelValue":m=>t.type=m},{default:l(()=>[a(d,{label:"img"},{default:l(()=>[u("\u56FE\u7247")]),_:1}),a(d,{label:"video"},{default:l(()=>[u("\u89C6\u9891")]),_:1})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),t.type==="img"?(s(),n(_,{key:0,label:"\u56FE\u7247",class:"m-b-8px!","label-width":"40px"},{default:l(()=>[a(h,{modelValue:t.imgUrl,"onUpdate:modelValue":m=>t.imgUrl=m,draggable:"false",height:"80px",width:"100%",class:"min-w-80px"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)):(s(),J(K,{key:1},[a(_,{label:"\u5C01\u9762",class:"m-b-8px!","label-width":"40px"},{default:l(()=>[a(h,{modelValue:t.imgUrl,"onUpdate:modelValue":m=>t.imgUrl=m,draggable:"false",height:"80px",width:"100%",class:"min-w-80px"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),a(_,{label:"\u89C6\u9891",class:"m-b-8px!","label-width":"40px"},{default:l(()=>[a(g,{modelValue:t.videoUrl,"onUpdate:modelValue":m=>t.videoUrl=m,"file-type":["mp4"],limit:1,"file-size":100,class:"min-w-80px"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)],64)),a(_,{label:"\u94FE\u63A5",class:"m-b-8px!","label-width":"40px"},{default:l(()=>[a(E,{modelValue:t.url,"onUpdate:modelValue":m=>t.url=m},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/components/DiyEditor/components/mobile/Carousel/property.vue"]])});export{wa as __tla,V as default};