import{u as b}from"./index-M_JNBppB.js";/* empty css                     *//* empty css                    *//* empty css                              *//* empty css                 *//* empty css                  *//* empty css                        */import{_ as x}from"./CommonAttr-DJ3ylPmc.js";import{_ as k}from"./ImgGroup-CYI3XoVc.js";import{ax as C,r as h,c as z,B as w,z as E,O as t,F as r,D as p,u,K as c}from"./vue-BJk78QHK.js";import{b as I,t as y,s as U,z as B,a as F}from"./element-3_pOinej.js";import"./threejs-BafxXW5-.js";import"./utils-YI6ye1sf.js";import"./vxe-Dx3zSILm.js";/* empty css                    */import"./el-tooltip-l0sNRNKZ.js";/* empty css                  */import"./el-collapse-item-l0sNRNKZ.js";/* empty css                        *//* empty css                  *//* empty css               *//* empty css                  *//* 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 N={class:"attr-list"},P={class:"center-boder-color",style:{width:"150px",height:"90px",position:"relative",border:"1px solid",padding:"5px"}},A={style:{clear:"both"}},Io=Object.assign({name:"PictureAttr"},{__name:"PictureAttr",setup(G){const{getImgUrl:d}=b(),_=C(),m=h(null),e=z(()=>_.state.curComponent);function a(){m.value.opened()}function f(s){e.value.propValue.url=s}return(s,o)=>{const V=y,i=I,v=U,n=B,g=F;return E(),w("div",N,[t(x),t(g,{class:"more-form"},{default:r(()=>[t(i,{label:"图片:"},{default:r(()=>[p("div",P,[t(V,{style:{width:"100%",height:"100%"},src:u(d)(e.value.propValue.url),onClick:a},null,8,["src"]),p("div",{class:"tipImg",onClick:a},o[3]||(o[3]=[p("span",{style:{color:"white","font-size":"16px"}},"点击切换",-1)]))])]),_:1}),t(i,{label:"改变颜色:"},{default:r(()=>[t(v,{size:"small",modelValue:e.value.propValue.newColor,"onUpdate:modelValue":o[0]||(o[0]=l=>e.value.propValue.newColor=l)},null,8,["modelValue"])]),_:1}),t(i,{label:"镜像翻转"},{default:r(()=>[p("div",A,[t(n,{size:"small",modelValue:e.value.propValue.flip.horizontal,"onUpdate:modelValue":o[1]||(o[1]=l=>e.value.propValue.flip.horizontal=l),label:"horizontal"},{default:r(()=>o[4]||(o[4]=[c(" 水平翻转 ")])),_:1},8,["modelValue"]),t(n,{modelValue:e.value.propValue.flip.vertical,"onUpdate:modelValue":o[2]||(o[2]=l=>e.value.propValue.flip.vertical=l),label:"vertical"},{default:r(()=>o[5]||(o[5]=[c(" 垂直翻转 ")])),_:1},8,["modelValue"])])]),_:1})]),_:1}),t(u(k),{ref_key:"imgGroupRef",ref:m,onImgCheck:f},null,512)])}}});export{Io as default};
