import{d as w,o as g,j as x,w as o,i as e,a as d,m as s,G as T,ag as v,aR as $,ah as P,H as D}from"./index-6d906b8a.js";import{_ as G}from"./index.vue_vue_type_script_setup_true_lang-94288b32.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang-c821f3f8.js";import{_ as R}from"./UploadImg-6255f1e4.js";import{u as k}from"./util-82232e37.js";import"./el-text-7d7615f3.js";import"./vuedraggable.umd-f8121945.js";import"./Dialog-7d76582a.js";import"./_plugin-vue_export-helper-1b428a4d.js";import"./AppLinkSelectDialog.vue_vue_type_script_setup_true_lang-99c250c3.js";import"./ProductCategorySelect.vue_vue_type_script_setup_true_lang-356733e8.js";import"./el-tree-select-73d9f90b.js";import"./tree-fd3a041e.js";import"./category-f41ddfc2.js";import"./SpuTableSelectOne.vue_vue_type_script_setup_true_lang-582c1ffc.js";import"./ContentWrap.vue_vue_type_script_setup_true_lang-3e2a4d47.js";import"./el-card-dcb0121c.js";import"./index.vue_vue_type_script_setup_true_lang-7766ce4b.js";import"./index-06db4b5a.js";import"./el-image-9aeecfea.js";import"./el-image-viewer-3eb20b9c.js";import"./spu-8c99daaf.js";import"./index-6b24d3ee.js";import"./useMessage-cb0d0c75.js";import"./Qrcode-3c3f024c.js";import"./IFrame.vue_vue_type_script_setup_true_lang-d0abbb76.js";import"./el-collapse-item-ee2828c3.js";const q=w({name:"PopoverProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(n,{emit:V}){const f=n,_=V,{formData:m}=k(f.modelValue,_);return(z,t)=>{const U=R,p=T,c=H,i=v,u=$,h=P,y=G,b=D;return g(),x(b,{"label-width":"80px",model:d(m)},{default:o(()=>[e(y,{modelValue:d(m).list,"onUpdate:modelValue":t[0]||(t[0]=l=>d(m).list=l),"empty-item":{showType:"once"}},{default:o(({element:l,index:r})=>[e(p,{label:"\u56FE\u7247",prop:`list[${r}].imgUrl`},{default:o(()=>[e(U,{modelValue:l.imgUrl,"onUpdate:modelValue":a=>l.imgUrl=a,height:"56px",width:"56px"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"]),e(p,{label:"\u8DF3\u8F6C\u94FE\u63A5",prop:`list[${r}].url`},{default:o(()=>[e(c,{modelValue:l.url,"onUpdate:modelValue":a=>l.url=a},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"]),e(p,{label:"\u663E\u793A\u6B21\u6570",prop:`list[${r}].showType`},{default:o(()=>[e(h,{modelValue:l.showType,"onUpdate:modelValue":a=>l.showType=a},{default:o(()=>[e(u,{content:"\u53EA\u663E\u793A\u4E00\u6B21\uFF0C\u4E0B\u6B21\u6253\u5F00\u65F6\u4E0D\u663E\u793A",placement:"bottom"},{default:o(()=>[e(i,{label:"once"},{default:o(()=>t[1]||(t[1]=[s("\u4E00\u6B21")])),_:1})]),_:1}),e(u,{content:"\u6BCF\u6B21\u6253\u5F00\u65F6\u90FD\u4F1A\u663E\u793A",placement:"bottom"},{default:o(()=>[e(i,{label:"always"},{default:o(()=>t[2]||(t[2]=[s("\u4E0D\u9650")])),_:1})]),_:1})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:1},8,["modelValue"])]),_:1},8,["model"])}}});export{q as default};