import{_ as x}from"./ComponentContainerProperty-55c0a7d6.js";import{d as h,r as u,x as j,o as r,j as n,w as o,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-34852970.js";import{u as F}from"./util-ee919792.js";import{a as G}from"./index-7de4d538.js";import"./el-card-73839c3c.js";import"./UploadImg-35f0ce47.js";import"./index-69e629ed.js";import"./el-image-viewer-619778cc.js";import"./useMessage-f6294882.js";import"./_plugin-vue_export-helper-1b428a4d.js";import"./index-3e1f9937.js";import"./color-6e929987.js";import"./Dialog-e0707d40.js";import"./Qrcode-efebe7ff.js";import"./el-text-4f8c93d1.js";import"./IFrame.vue_vue_type_script_setup_true_lang-de956f99.js";import"./vuedraggable.umd-6985d785.js";import"./el-collapse-item-58334586.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),d=async s=>{m.value=!0;const{list:t}=await G({title:s,pageSize:10});p.value=t,m.value=!1};return j(()=>{d()}),(s,t)=>{const v=U,y=k,b=z,g=C,w=x;return r(),n(w,{modelValue:a(l).style,"onUpdate:modelValue":t[1]||(t[1]=e=>a(l).style=e)},{default:o(()=>[i(g,{"label-width":"40px",model:a(l)},{default:o(()=>[i(b,{label:"\u6587\u7AE0",prop:"id"},{default:o(()=>[i(y,{modelValue:a(l).id,"onUpdate:modelValue":t[0]||(t[0]=e=>a(l).id=e),placeholder:"\u8BF7\u9009\u62E9\u6587\u7AE0",class:"w-full",filterable:"",remote:"","remote-method":d,loading:a(m)},{default:o(()=>[(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};