import{_ as h}from"./index-M_JNBppB.js";/* empty css                        *//* empty css                     *//* empty css                  *//* empty css               *//* empty css                  *//* empty css                     *//* empty css                  *//* empty css                 *//* empty css                        *//* empty css                  */import{_ as z}from"./CommonAttr-DJ3ylPmc.js";import{_ as E}from"./ImgGroup-CYI3XoVc.js";import{ax as I,r as x,c as w,B as i,z as n,O as e,D as s,F as a,K as B,M as F,a7 as N,u as U}from"./vue-BJk78QHK.js";import{b as A,r as O,n as S,d as D,e as G,f as L,a as T,t as $}from"./element-3_pOinej.js";import"./threejs-BafxXW5-.js";import"./utils-YI6ye1sf.js";import"./vxe-Dx3zSILm.js";/* empty css                    */import"./el-tooltip-l0sNRNKZ.js";import"./el-collapse-item-l0sNRNKZ.js";/* empty css                              */import"./attr-DzN5Wxes.js";/* empty css                   *//* empty css                  *//* empty css                   *//* empty css                    *//* empty css                 *//* empty css                *//* empty css                   *//* empty css                 *//* empty css                */import"./request-CEvu378m.js";/* empty css                      *//* empty css               *//* empty css               *//* empty css                       *//* empty css                        */import"./images-bddkrumH.js";import"./typesList-laraQC3c.js";import"./useUploadConfig-CB7Vo708.js";import"./env-Ba1thpgP.js";import"./resource-Dz96LlGH.js";const j={class:"attr-list"},K={class:"imgList"},M=["onClick"],q=Object.assign({name:"CarouselAttr"},{__name:"CarouselAttr",setup(H){const _=I(),u=x(null),l=w(()=>_.state.curComponent);function f(){u.value.opened()}function v(r){l.value.propValue.url.push(r)}function V(r){l.value.propValue.url.splice(r,1)}return(r,o)=>{const b=O,p=A,g=S,m=G,c=D,C=L,k=T,y=$;return n(),i("div",j,[e(z),e(k,{class:"more-form","label-position":"left","label-width":"100px"},{default:a(()=>[e(p,{label:"自动切换:"},{default:a(()=>[e(b,{size:"small",modelValue:l.value.propValue.autoplay,"onUpdate:modelValue":o[0]||(o[0]=t=>l.value.propValue.autoplay=t)},null,8,["modelValue"])]),_:1}),e(p,{label:"时间间隔:"},{default:a(()=>[e(g,{size:"small",modelValue:l.value.propValue.interval,"onUpdate:modelValue":o[1]||(o[1]=t=>l.value.propValue.interval=t),step:1e3,min:1e3},null,8,["modelValue"])]),_:1}),e(p,{label:"类型:"},{default:a(()=>[e(c,{size:"small",modelValue:l.value.propValue.type,"onUpdate:modelValue":o[2]||(o[2]=t=>l.value.propValue.type=t),placeholder:"请选择"},{default:a(()=>[e(m,{label:"卡片",value:"card"}),e(m,{label:"正常",value:""})]),_:1},8,["modelValue"])]),_:1}),e(p,{label:"方向:"},{default:a(()=>[e(c,{size:"small",modelValue:l.value.propValue.direction,"onUpdate:modelValue":o[3]||(o[3]=t=>l.value.propValue.direction=t),placeholder:"请选择"},{default:a(()=>[e(m,{label:"horizontal",value:"horizontal"}),e(m,{label:"vertical",value:"vertical"})]),_:1},8,["modelValue"])]),_:1}),e(p,{label:"图片:"},{default:a(()=>[e(C,{type:"primary",size:"small",icon:"el-icon-plus",onClick:f},{default:a(()=>o[4]||(o[4]=[B(" 添加 ")])),_:1})]),_:1})]),_:1}),s("div",K,[(n(!0),i(F,null,N(l.value.propValue.url,(t,d)=>(n(),i("div",{key:d,class:"img-item center-boder-color"},[e(y,{style:{width:"100%",height:"100%"},src:t,onClick:r.change3Dmodel},null,8,["src","onClick"]),s("div",{class:"tip-Img",onClick:J=>V(d)},o[5]||(o[5]=[s("span",{style:{color:"red","font-size":"16px"}},"删除",-1)]),8,M)]))),128))]),e(U(E),{ref_key:"imgGroup",ref:u,onImgCheck:v},null,512)])}}}),De=h(q,[["__scopeId","data-v-fb1b42ae"]]);export{De as default};
