import{_ as x}from"./ComponentContainerProperty-c1184365.js";import{d as h,r as u,x as j,o as r,j as n,w as t,i,a,c as A,F as D,A as P,C as U,D as k,G as z,H as C}from"./index-abad4030.js";import{u as F}from"./util-bca5ebaa.js";import{a as G}from"./index-5efe47e3.js";import"./el-card-ae8ad827.js";import"./UploadImg-4addd383.js";import"./index-b9506fe9.js";import"./el-image-viewer-589d6dbb.js";import"./useMessage-7954cb2f.js";import"./_plugin-vue_export-helper-1b428a4d.js";import"./index-516295df.js";import"./color-6e929987.js";import"./Dialog-59824a83.js";import"./Qrcode-026af33e.js";import"./el-text-a24fb190.js";import"./IFrame.vue_vue_type_script_setup_true_lang-aad19a9d.js";import"./vuedraggable.umd-8bfe8b14.js";import"./el-collapse-item-fdec7875.js";const H=h({name:"PromotionArticleProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(f,{emit:c}){const V=f,_=c,{formData:l}=F(V.modelValue,_),p=u([]),m=u(!1),s=async d=>{m.value=!0;const{list:o}=await G({title:d,pageSize:10});p.value=o,m.value=!1};return j(()=>{s()}),(d,o)=>{const v=U,y=k,b=z,g=C,w=x;return r(),n(w,{modelValue:a(l).style,"onUpdate:modelValue":o[1]||(o[1]=e=>a(l).style=e)},{default:t(()=>[i(g,{"label-width":"40px",model:a(l)},{default:t(()=>[i(b,{label:"\u6587\u7AE0",prop:"id"},{default:t(()=>[i(y,{modelValue:a(l).id,"onUpdate:modelValue":o[0]||(o[0]=e=>a(l).id=e),placeholder:"\u8BF7\u9009\u62E9\u6587\u7AE0",class:"w-full",filterable:"",remote:"","remote-method":s,loading:a(m)},{default:t(()=>[(r(!0),A(D,null,P(a(p),e=>(r(),n(v,{key:e.id,label:e.title,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue","loading"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}});export{H as default};